mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-08 03:37:02 -04:00
171 lines
5.1 KiB
C++
171 lines
5.1 KiB
C++
//
|
|
// Generated By: dol2asm
|
|
// Translation Unit: d/d_kyeff
|
|
//
|
|
|
|
#include "d/d_kyeff.h"
|
|
#include "dol2asm.h"
|
|
#include "dolphin/types.h"
|
|
|
|
//
|
|
// Types:
|
|
//
|
|
|
|
struct kankyo_class {};
|
|
|
|
struct dKyeff_c {
|
|
/* 801ADD5C */ void execute();
|
|
};
|
|
|
|
struct Z2EnvSeMgr {
|
|
/* 802C66B0 */ void framework();
|
|
};
|
|
|
|
//
|
|
// Forward References:
|
|
//
|
|
|
|
extern "C" static void dKyeff_Draw__FP8dKyeff_c();
|
|
extern "C" void execute__8dKyeff_cFv();
|
|
extern "C" static void dKyeff_Execute__FP8dKyeff_c();
|
|
extern "C" static bool dKyeff_IsDelete__FP8dKyeff_c();
|
|
extern "C" static void dKyeff_Delete__FP8dKyeff_c();
|
|
extern "C" static void dKyeff_Create__FP12kankyo_class();
|
|
extern "C" extern char const* const d_d_kyeff__stringBase0;
|
|
extern "C" extern void* g_profile_KYEFF[10 + 1 /* padding */];
|
|
|
|
//
|
|
// External References:
|
|
//
|
|
|
|
extern "C" void dKyw_wether_init__Fv();
|
|
extern "C" void dKyw_wether_delete__Fv();
|
|
extern "C" void dKyw_wether_move__Fv();
|
|
extern "C" void dKyw_wether_move_draw__Fv();
|
|
extern "C" void dKyw_wether_draw__Fv();
|
|
extern "C" void dKy_FiveSenses_fullthrottle_dark__Fv();
|
|
extern "C" void framework__10Z2EnvSeMgrFv();
|
|
extern "C" void OSGetTime();
|
|
extern "C" void OSTicksToCalendarTime();
|
|
extern "C" void strcmp();
|
|
extern "C" extern void* g_fopKy_Method[5 + 1 /* padding */];
|
|
extern "C" extern void* g_fpcLf_Method[5 + 1 /* padding */];
|
|
extern "C" extern u8 g_dComIfG_gameInfo[122384];
|
|
extern "C" extern u8 g_env_light[4880];
|
|
extern "C" extern u8 g_mEnvSeMgr[780];
|
|
|
|
//
|
|
// Declarations:
|
|
//
|
|
|
|
/* 801ADD38-801ADD5C 1A8678 0024+00 1/0 0/0 0/0 .text dKyeff_Draw__FP8dKyeff_c */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
static asm void dKyeff_Draw(dKyeff_c* param_0) {
|
|
nofralloc
|
|
#include "asm/d/d_kyeff/dKyeff_Draw__FP8dKyeff_c.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* ############################################################################################## */
|
|
/* 80394F38-80394F38 021598 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */
|
|
#pragma push
|
|
#pragma force_active on
|
|
SECTION_DEAD static char const* const stringBase_80394F38 = "Name";
|
|
/* @stringBase0 padding */
|
|
SECTION_DEAD static char const* const pad_80394F3D = "\0\0";
|
|
#pragma pop
|
|
|
|
/* 801ADD5C-801ADDB4 1A869C 0058+00 1/1 0/0 0/0 .text execute__8dKyeff_cFv */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void dKyeff_c::execute() {
|
|
nofralloc
|
|
#include "asm/d/d_kyeff/execute__8dKyeff_cFv.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 801ADDB4-801ADDD4 1A86F4 0020+00 1/0 0/0 0/0 .text dKyeff_Execute__FP8dKyeff_c */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
static asm void dKyeff_Execute(dKyeff_c* param_0) {
|
|
nofralloc
|
|
#include "asm/d/d_kyeff/dKyeff_Execute__FP8dKyeff_c.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 801ADDD4-801ADDDC 1A8714 0008+00 1/0 0/0 0/0 .text dKyeff_IsDelete__FP8dKyeff_c */
|
|
static bool dKyeff_IsDelete(dKyeff_c* param_0) {
|
|
return true;
|
|
}
|
|
|
|
/* 801ADDDC-801ADE00 1A871C 0024+00 1/0 0/0 0/0 .text dKyeff_Delete__FP8dKyeff_c */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
static asm void dKyeff_Delete(dKyeff_c* param_0) {
|
|
nofralloc
|
|
#include "asm/d/d_kyeff/dKyeff_Delete__FP8dKyeff_c.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* ############################################################################################## */
|
|
/* 80453E58-80453E5C 002458 0004+00 1/1 0/0 0/0 .sdata2 @3804 */
|
|
SECTION_SDATA2 static u8 lit_3804[4] = {
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
};
|
|
|
|
/* 80453E5C-80453E60 00245C 0004+00 1/1 0/0 0/0 .sdata2 @3805 */
|
|
SECTION_SDATA2 static f32 lit_3805 = 1.0f;
|
|
|
|
/* 80453E60-80453E68 002460 0008+00 1/1 0/0 0/0 .sdata2 @3812 */
|
|
SECTION_SDATA2 static f64 lit_3812 = 4503601774854144.0 /* cast s32 to float */;
|
|
|
|
/* 80453E68-80453E6C 002468 0004+00 1/1 0/0 0/0 .sdata2 @3843 */
|
|
SECTION_SDATA2 static f32 lit_3843 = 7.0f / 10.0f;
|
|
|
|
/* 80453E6C-80453E70 00246C 0004+00 1/1 0/0 0/0 .sdata2 @3844 */
|
|
SECTION_SDATA2 static f32 lit_3844 = 15.0f;
|
|
|
|
/* 801ADE00-801ADEA0 1A8740 00A0+00 1/0 0/0 0/0 .text dKyeff_Create__FP12kankyo_class */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
static asm void dKyeff_Create(kankyo_class* param_0) {
|
|
nofralloc
|
|
#include "asm/d/d_kyeff/dKyeff_Create__FP12kankyo_class.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* ############################################################################################## */
|
|
/* 803BC158-803BC16C -00001 0014+00 1/0 0/0 0/0 .data l_dKyeff_Method */
|
|
SECTION_DATA static void* l_dKyeff_Method[5] = {
|
|
(void*)dKyeff_Create__FP12kankyo_class, (void*)dKyeff_Delete__FP8dKyeff_c,
|
|
(void*)dKyeff_Execute__FP8dKyeff_c, (void*)dKyeff_IsDelete__FP8dKyeff_c,
|
|
(void*)dKyeff_Draw__FP8dKyeff_c,
|
|
};
|
|
|
|
/* 803BC16C-803BC198 -00001 0028+04 0/0 0/0 1/0 .data g_profile_KYEFF */
|
|
SECTION_DATA extern void* g_profile_KYEFF[10 + 1 /* padding */] = {
|
|
(void*)0xFFFFFFFD,
|
|
(void*)0x000CFFFD,
|
|
(void*)0x03110000,
|
|
(void*)&g_fpcLf_Method,
|
|
(void*)0x000000F8,
|
|
(void*)NULL,
|
|
(void*)NULL,
|
|
(void*)&g_fopKy_Method,
|
|
(void*)0x00050000,
|
|
(void*)&l_dKyeff_Method,
|
|
/* padding */
|
|
NULL,
|
|
};
|
|
|
|
/* 80394F38-80394F38 021598 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */
|