mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-19 14:30:29 -04:00
fopMsg_IsDelete OK
This commit is contained in:
+16
-9
@@ -9,7 +9,7 @@
|
||||
// autogenerated by split.py v0.4 at 2021-02-15 21:05:32.071227
|
||||
extern "C" {
|
||||
void fopDwTg_DrawQTo__FP16create_tag_class(void);
|
||||
void fopDwTg_DrawQTo(void);
|
||||
// void fopDwTg_DrawQTo(void);
|
||||
void fopDwTg_Init__FP16create_tag_classPv(void);
|
||||
void fopDwTg_ToDrawQ__FP16create_tag_classi(void);
|
||||
void fopMsgM_GetAppend__FPv(void);
|
||||
@@ -37,8 +37,9 @@ struct unk {
|
||||
};
|
||||
|
||||
struct unk2 {
|
||||
u8 field_0x00[0xd8];
|
||||
process_method_class* mpDrawMtd;
|
||||
u8 field_0x00[0xc4];
|
||||
create_tag_class mTag;
|
||||
process_method_class* mpPcMtd;
|
||||
};
|
||||
|
||||
void fopMsg_Draw(void* pUserData) {
|
||||
@@ -51,17 +52,23 @@ s32 fopMsg_Execute(void* pUserData) {
|
||||
unk2* pUnk2 = (unk2*)pUserData;
|
||||
|
||||
if (!lbl_80451124) {
|
||||
ret = fpcMtd_Execute(pUnk2->mpDrawMtd,pUserData);
|
||||
ret = fpcMtd_Execute(pUnk2->mpPcMtd,pUserData);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
// fopMsg_IsDelete__FPv
|
||||
// fopMsg_IsDelete(void*)
|
||||
asm void fopMsg_IsDelete(void*) {
|
||||
nofralloc
|
||||
#include "f/f_op/f_op_msg/asm/func_8001F4E8.s"
|
||||
int fopMsg_IsDelete(void* pUserData) {
|
||||
s32 ret = 1;
|
||||
unk2* pUnk2 = (unk2*)pUserData;
|
||||
int tmp = fpcMtd_IsDelete(pUnk2->mpPcMtd,pUserData);
|
||||
|
||||
if (tmp == 1) {
|
||||
fopDwTg_DrawQTo(&pUnk2->mTag);
|
||||
}
|
||||
|
||||
return tmp;
|
||||
|
||||
}
|
||||
|
||||
// fopMsg_Delete__FPv
|
||||
|
||||
Reference in New Issue
Block a user