some f_op

This commit is contained in:
lepelog
2021-04-09 01:22:16 +02:00
parent 922aa90df7
commit 442764cf68
104 changed files with 1182 additions and 1895 deletions
+14 -43
View File
@@ -7,16 +7,6 @@
#include "dol2asm.h"
#include "dolphin/types.h"
//
// Types:
//
struct view_class {};
struct process_method_class {};
struct leafdraw_method_class {};
//
// Forward References:
//
@@ -43,44 +33,25 @@ extern "C" void fpcMtd_Create__FP20process_method_classPv();
//
/* 8001F1A8-8001F1D0 019AE8 0028+00 1/0 0/0 0/0 .text fopVw_Draw__FP10view_class */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
static asm void fopVw_Draw(view_class* param_0) {
nofralloc
#include "asm/f_op/f_op_view/fopVw_Draw__FP10view_class.s"
void fopVw_Draw(view_class* pView) {
fpcLf_DrawMethod((leafdraw_method_class*)pView->pmProcessMtd, pView);
}
#pragma pop
/* 8001F1D0-8001F1F8 019B10 0028+00 1/0 0/0 0/0 .text fopVw_Execute__FP10view_class */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
static asm void fopVw_Execute(view_class* param_0) {
nofralloc
#include "asm/f_op/f_op_view/fopVw_Execute__FP10view_class.s"
void fopVw_Execute(view_class* pView) {
fpcMtd_Execute(pView->pmProcessMtd, pView);
}
#pragma pop
/* 8001F1F8-8001F220 019B38 0028+00 1/0 0/0 0/0 .text fopVw_IsDelete__FPv */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
static asm void fopVw_IsDelete(void* param_0) {
nofralloc
#include "asm/f_op/f_op_view/fopVw_IsDelete__FPv.s"
s32 fopVw_IsDelete(void* param_1) {
view_class* pView = (view_class*)param_1;
return fpcMtd_IsDelete(pView->pmProcessMtd, pView);
}
#pragma pop
/* 8001F220-8001F248 019B60 0028+00 1/0 0/0 0/0 .text fopVw_Delete__FP10view_class */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
static asm void fopVw_Delete(view_class* param_0) {
nofralloc
#include "asm/f_op/f_op_view/fopVw_Delete__FP10view_class.s"
s32 fopVw_Delete(view_class* pView) {
return fpcMtd_Delete(pView->pmProcessMtd, pView);
}
#pragma pop
/* 8001F248-8001F284 019B88 003C+00 1/0 0/0 0/0 .text fopVw_Create__FPv */
#pragma push
@@ -95,11 +66,11 @@ static asm void fopVw_Create(void* param_0) {
/* ############################################################################################## */
/* 803A3928-803A3940 -00001 0014+04 0/0 2/0 0/0 .data g_fopVw_Method */
SECTION_DATA extern void* g_fopVw_Method[5 + 1 /* padding */] = {
(void*)fopVw_Create__FPv,
(void*)fopVw_Delete__FP10view_class,
(void*)fopVw_Execute__FP10view_class,
(void*)fopVw_IsDelete__FPv,
(void*)fopVw_Draw__FP10view_class,
(void*)fopVw_Create,
(void*)fopVw_Delete,
(void*)fopVw_Execute,
(void*)fopVw_IsDelete,
(void*)fopVw_Draw,
/* padding */
NULL,
};