pr cleanup

This commit is contained in:
Pheenoh
2023-02-14 17:03:42 -07:00
parent d5468665b6
commit 8dc421ecd4
5 changed files with 35 additions and 106 deletions
@@ -1,38 +1,13 @@
//
// Generated By: dol2asm
// Translation Unit: d_a_tag_assistance
//
/**
* d_a_tag_assistance.cpp
*
*/
#include "rel/d/a/tag/d_a_tag_assistance/d_a_tag_assistance.h"
#include "dol2asm.h"
#include "dolphin/types.h"
#include "d/d_procname.h"
//
// Forward References:
//
extern "C" static void daTagAssist_Create__FP10fopAc_ac_c();
extern "C" static void daTagAssist_Execute__FP13daTagAssist_c();
extern "C" static bool daTagAssist_IsDelete__FP13daTagAssist_c();
extern "C" static void daTagAssist_Delete__FP13daTagAssist_c();
extern "C" extern void* g_profile_Tag_Assist[12];
//
// External References:
//
extern "C" void __ct__10fopAc_ac_cFv();
extern "C" void __dt__10fopAc_ac_cFv();
extern "C" void fopAcM_searchActorDistanceXZ__FPC10fopAc_ac_cPC10fopAc_ac_c();
// extern "C" extern void* g_fopAc_Method[8];
// extern "C" extern void* g_fpcLf_Method[5 + 1 /* padding */];
// extern "C" extern u8 g_dComIfG_gameInfo[122384];
//
// Declarations:
//
/* 80D55E38-80D55E98 000078 0060+00 1/0 0/0 0/0 .text daTagAssist_Create__FP10fopAc_ac_c
*/
static int daTagAssist_Create(fopAc_ac_c* i_this) {
@@ -46,36 +21,44 @@ static int daTagAssist_Execute(daTagAssist_c* i_this) {
}
/* 80D55EC8-80D55ED0 000108 0008+00 1/0 0/0 0/0 .text daTagAssist_IsDelete__FP13daTagAssist_c */
static bool daTagAssist_IsDelete(daTagAssist_c* i_this) {
return true;
static int daTagAssist_IsDelete(daTagAssist_c* i_this) {
return 1;
}
/* 80D55ED0-80D55F00 000110 0030+00 1/0 0/0 0/0 .text daTagAssist_Delete__FP13daTagAssist_c */
static int daTagAssist_Delete(daTagAssist_c* i_this) {
i_this->~daTagAssist_c();
return 1;
}
/* ############################################################################################## */
/* 80D55F08-80D55F28 -00001 0020+00 1/0 0/0 0/0 .data l_daTagAssist_Method */
SECTION_DATA static void* l_daTagAssist_Method[8] = {
(void*)daTagAssist_Create__FP10fopAc_ac_c,
(void*)daTagAssist_Delete__FP13daTagAssist_c,
(void*)daTagAssist_Execute__FP13daTagAssist_c,
(void*)daTagAssist_IsDelete__FP13daTagAssist_c,
(void*)NULL,
(void*)NULL,
(void*)NULL,
(void*)NULL,
static actor_method_class l_daTagAssist_Method = {
(process_method_func)daTagAssist_Create,
(process_method_func)daTagAssist_Delete,
(process_method_func)daTagAssist_Execute,
(process_method_func)daTagAssist_IsDelete
};
/* 80D55F28-80D55F58 -00001 0030+00 0/0 0/0 1/0 .data g_profile_Tag_Assist */
SECTION_DATA extern void* g_profile_Tag_Assist[12] = {
(void*)0xFFFFFFFD, (void*)0x0007FFFD,
(void*)0x02CD0000, (void*)&g_fpcLf_Method,
(void*)0x00000574, (void*)NULL,
(void*)NULL, (void*)&g_fopAc_Method,
(void*)0x010A0000, (void*)&l_daTagAssist_Method,
(void*)0x00040000, (void*)0x000E0000,
extern actor_process_profile_definition g_profile_Tag_Assist = {
-3, // mLayerID
7, // mListID
-3, // mListPrio
PROC_Tag_Assist, // mProcName
0, // padding
&g_fpcLf_Method.mBase, // mSubMtd
sizeof(daTagAssist_c), // mSize
0, // mSizeOther
0, // mParameters
&g_fopAc_Method.base, // mSubMtd
0x010A, // mPriority
0, // padding
0, // padding
&l_daTagAssist_Method, // mSubMtd
0x00040000, // mStatus
0x00, // mActorType
0x0E, // mCullType
0, // padding
0, // padding
};