mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-20 13:24:40 -04:00
Split SComponent (#45)
* split c_math * split c_angle * split c_API_controller_pad * split c_API_graphic * split c_bg_s_chk * c_bg_s_gnd_chk split * more c_bg split * split c_cc_d * delete asm * split c_cc_s * split c_lib * split c_m2d and c_m3d_g_aab * split c_m3d_g_cir * split c_m3d_g_cps * split rest of c_m3d_g * split c_m3d * split c_malloc * split c_request * split c_sxyz * split and partly decompile c_xyz * format * c_angle.h * begin c_angle decomp * c_angle * progress adding stub classes for SComponent * more c_m3d * remove some asm and format * more m3d headers * more c_angle decomp * c_lib headers * add public to classes * fix csXyz member names * c_sxyz partly OK * move Zero csXyz to c_sxyz header * c_API_graphic * delete some unused asm * move math extern data, decompile some functions * delete unused asm * fix duplicated c_angle.h * fix an inlined function name, add more inlined functions for c_angle.h (currently unused) * format Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
@@ -23,10 +23,8 @@ extern s8 lbl_80450D4C;
|
||||
|
||||
extern "C" {
|
||||
|
||||
extern void cMl_NS_free(void*);
|
||||
extern s32 fpcSCtRq_Request(layer_class*, s16, process_method_func, void*, void*);
|
||||
extern void sBs_ClearArea(void* pPtr, s32 pSize);
|
||||
extern void* cMl_NS_memalignB(s32 pAlign, s32 pSize);
|
||||
|
||||
void fpcNdRq_RequestQTo(node_create_request* pNodeCreateReq) {
|
||||
fpcLy_CreatedMesg(pNodeCreateReq->mpLayerClass);
|
||||
@@ -106,7 +104,7 @@ s32 fpcNdRq_Delete(node_create_request* pNodeCreateReq) {
|
||||
fpcMtd_Method(pNodeCreateReq->mpNodeCrReqMthCls->mpUnkFunc, pNodeCreateReq) == 0) {
|
||||
return 0;
|
||||
}
|
||||
cMl_NS_free(pNodeCreateReq);
|
||||
free__3cMlFPv(pNodeCreateReq);
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -178,7 +176,7 @@ s32 fpcNdRq_IsIng(process_node_class* pProcNode) {
|
||||
}
|
||||
|
||||
node_create_request* fpcNdRq_Create(s32 pRequestSize) {
|
||||
node_create_request* req = (node_create_request*)cMl_NS_memalignB(-4, pRequestSize);
|
||||
node_create_request* req = (node_create_request*)memalignB__3cMlFiUl(-4, pRequestSize);
|
||||
if (req != NULL) {
|
||||
if (lbl_80450D4C == 0) {
|
||||
lbl_80450D48 = 0;
|
||||
|
||||
Reference in New Issue
Block a user