some cleanup of f_pc/f_op files (#2254)

* cleanup f_pc files

* cleanup f_op files

* fix a couple f_op_actor_mng functions

* minor JSystem work
This commit is contained in:
TakaRikka
2024-11-29 08:24:26 -08:00
committed by GitHub
parent 6482fe7535
commit 073992df8d
903 changed files with 6835 additions and 6587 deletions
+14 -12
View File
@@ -12,29 +12,31 @@
/* 80023954-800239F4 00A0+00 s=0 e=1 z=0 None .text fpcDw_Execute__FP18base_process_class */
s32 fpcDw_Execute(base_process_class* i_proc) {
if (!fpcPause_IsEnable(i_proc, 2)) {
layer_class* curLay;
layer_class* save_layer;
s32 ret;
process_method_func draw_func;
curLay = fpcLy_CurrentLayer();
if (fpcBs_Is_JustOfType(g_fpcLf_type, i_proc->mSubType)) {
draw_func = ((leafdraw_method_class*)i_proc->mpPcMtd)->mpDrawFunc;
save_layer = fpcLy_CurrentLayer();
if (fpcBs_Is_JustOfType(g_fpcLf_type, i_proc->subtype)) {
draw_func = ((leafdraw_method_class*)i_proc->methods)->draw_method;
} else {
draw_func = ((nodedraw_method_class*)i_proc->mpPcMtd)->mpDrawFunc;
draw_func = ((nodedraw_method_class*)i_proc->methods)->draw_method;
}
fpcLy_SetCurrentLayer(i_proc->mLyTg.mpLayer);
fpcLy_SetCurrentLayer(i_proc->layer_tag.layer);
ret = draw_func(i_proc);
fpcLy_SetCurrentLayer(curLay);
fpcLy_SetCurrentLayer(save_layer);
return ret;
} else {
return 0;
}
return 0;
}
/* 800239F4-80023A48 0054+00 s=0 e=2 z=10 None .text fpcDw_Handler__FPFPFPvPv_i_iPFPvPv_i */
s32 fpcDw_Handler(fpcDw_HandlerFuncFunc param_1, fpcDw_HandlerFunc param_2) {
s32 fpcDw_Handler(fpcDw_HandlerFuncFunc i_iterHandler, fpcDw_HandlerFunc i_func) {
s32 ret;
cAPIGph_BeforeOfDraw();
ret = param_1(param_2);
ret = i_iterHandler(i_func);
cAPIGph_AfterOfDraw();
return ret;
}
}