f_op debug work (#2991)

* f_op debug 1

* f_op debug 2

* f_op debug 3

* f_op debug 4

* f_op debug 5

* f_op_debug fix build

* f_op linking

* remove goto in fopac_create

* fix regressions

* fix regressions

* pr comments
This commit is contained in:
Niklas Bauer
2025-12-26 22:17:51 +01:00
committed by GitHub
parent 229527daf7
commit 67b576ad9a
50 changed files with 690 additions and 407 deletions
+14 -9
View File
@@ -6,31 +6,36 @@
#include "f_op/f_op_view.h"
#include "f_pc/f_pc_manager.h"
void fopVw_Draw(view_class* i_this) {
fpcLf_DrawMethod(i_this->sub_method, i_this);
s32 fopVw_Draw(view_class* i_this) {
int ret = fpcLf_DrawMethod(i_this->sub_method, i_this);
return ret;
}
void fopVw_Execute(view_class* i_this) {
fpcMtd_Execute(&i_this->sub_method->base, i_this);
s32 fopVw_Execute(view_class* i_this) {
int ret = fpcMtd_Execute(&i_this->sub_method->base, i_this);
return ret;
}
s32 fopVw_IsDelete(void* i_this) {
view_class* a_this = (view_class*)i_this;
return fpcMtd_IsDelete(&a_this->sub_method->base, a_this);
int ret = fpcMtd_IsDelete(&((view_class*)i_this)->sub_method->base, i_this);
return ret;
}
s32 fopVw_Delete(view_class* i_this) {
return fpcMtd_Delete(&i_this->sub_method->base, i_this);
int ret = fpcMtd_Delete(&i_this->sub_method->base, i_this);
return ret;
}
s32 fopVw_Create(void* i_this) {
view_class* a_this = (view_class*)i_this;
int ret;
view_process_profile_definition* profile = (view_process_profile_definition*)fpcM_GetProfile(a_this);
view_process_profile_definition* profile = (view_process_profile_definition*)fpcM_GetProfile(i_this);
a_this->sub_method = profile->sub_method;
a_this->field_0xc4 = profile->unk_0x28;
return fpcMtd_Create(&a_this->sub_method->base, a_this);
ret = fpcMtd_Create(&a_this->sub_method->base, a_this);
return ret;
}
leafdraw_method_class g_fopVw_Method = {