mirror of https://github.com/zeldaret/tp.git
170 lines
4.7 KiB
C++
170 lines
4.7 KiB
C++
//
|
|
// Generated By: dol2asm
|
|
// Translation Unit: d/d_insect
|
|
//
|
|
|
|
#include "d/d_insect.h"
|
|
#include "dol2asm.h"
|
|
#include "dolphin/types.h"
|
|
|
|
//
|
|
// Types:
|
|
//
|
|
|
|
struct fopAc_ac_c {
|
|
/* 80018B64 */ fopAc_ac_c();
|
|
};
|
|
|
|
struct dSv_event_flag_c {
|
|
static u8 saveBitLabels[1644 + 4 /* padding */];
|
|
};
|
|
|
|
struct dSv_event_c {
|
|
/* 800349BC */ void isEventBit(u16) const;
|
|
};
|
|
|
|
struct dMenu_Insect_c {
|
|
/* 801D9F3C */ void isCatchNotGiveInsect(u8);
|
|
};
|
|
|
|
struct dInsect_c {
|
|
/* 80110648 */ void Insect_Release();
|
|
/* 8015E010 */ dInsect_c();
|
|
/* 8015E078 */ void Insect_GetDemoMain();
|
|
/* 8015E26C */ void CalcZBuffer(f32);
|
|
};
|
|
|
|
struct dEvt_control_c {
|
|
/* 80042468 */ void reset();
|
|
};
|
|
|
|
struct dEvent_manager_c {
|
|
/* 80047ADC */ void endCheckOld(char const*);
|
|
};
|
|
|
|
struct dDlst_peekZ_c {
|
|
/* 80056018 */ void newData(s16, s16, u32*);
|
|
};
|
|
|
|
struct csXyz {};
|
|
|
|
struct cXyz {};
|
|
|
|
struct Vec {};
|
|
|
|
//
|
|
// Forward References:
|
|
//
|
|
|
|
extern "C" void __ct__9dInsect_cFv();
|
|
extern "C" void Insect_GetDemoMain__9dInsect_cFv();
|
|
extern "C" void CalcZBuffer__9dInsect_cFf();
|
|
extern "C" extern char const* const d_d_insect__stringBase0;
|
|
|
|
//
|
|
// External References:
|
|
//
|
|
|
|
extern "C" void mDoLib_project__FP3VecP3Vec();
|
|
extern "C" void mDoLib_pos2camera__FP3VecP3Vec();
|
|
extern "C" void __ct__10fopAc_ac_cFv();
|
|
extern "C" void fopAcM_delete__FP10fopAc_ac_c();
|
|
extern "C" void fopAcM_orderItemEvent__FP10fopAc_ac_cUsUs();
|
|
extern "C" void fopAcM_createItemForTrBoxDemo__FPC4cXyziiiPC5csXyzPC4cXyz();
|
|
extern "C" void fopAcM_createItem__FPC4cXyziiiPC5csXyzPC4cXyzi();
|
|
extern "C" void fopAcM_cancelCarryNow__FP10fopAc_ac_c();
|
|
extern "C" void isEventBit__11dSv_event_cCFUs();
|
|
extern "C" void reset__14dEvt_control_cFv();
|
|
extern "C" void setPtI_Id__14dEvt_control_cFUi();
|
|
extern "C" void endCheckOld__16dEvent_manager_cFPCc();
|
|
extern "C" void newData__13dDlst_peekZ_cFssPUl();
|
|
extern "C" void Insect_Release__9dInsect_cFv();
|
|
extern "C" void isCatchNotGiveInsect__14dMenu_Insect_cFUc();
|
|
extern "C" u8 saveBitLabels__16dSv_event_flag_c[1644 + 4 /* padding */];
|
|
extern "C" extern u8 g_dComIfG_gameInfo[122384];
|
|
|
|
//
|
|
// Declarations:
|
|
//
|
|
|
|
/* ############################################################################################## */
|
|
/* 803BA078-803BA088 017198 000C+04 1/1 0/0 0/0 .data __vt__9dInsect_c */
|
|
SECTION_DATA extern void* __vt__9dInsect_c[3 + 1 /* padding */] = {
|
|
(void*)NULL /* RTTI */,
|
|
(void*)NULL,
|
|
(void*)Insect_Release__9dInsect_cFv,
|
|
/* padding */
|
|
NULL,
|
|
};
|
|
|
|
/* 8015E010-8015E078 158950 0068+00 0/0 0/0 13/13 .text __ct__9dInsect_cFv */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm dInsect_c::dInsect_c() {
|
|
nofralloc
|
|
#include "asm/d/d_insect/__ct__9dInsect_cFv.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* ############################################################################################## */
|
|
/* 80393D98-80393D98 0203F8 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */
|
|
#pragma push
|
|
#pragma force_active on
|
|
SECTION_DEAD static char const* const stringBase_80393D98 = "DEFAULT_GETITEM";
|
|
#pragma pop
|
|
|
|
/* 8015E078-8015E26C 1589B8 01F4+00 0/0 0/0 24/24 .text Insect_GetDemoMain__9dInsect_cFv
|
|
*/
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void dInsect_c::Insect_GetDemoMain() {
|
|
nofralloc
|
|
#include "asm/d/d_insect/Insect_GetDemoMain__9dInsect_cFv.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* ############################################################################################## */
|
|
/* 804535E0-804535E4 001BE0 0004+00 1/1 0/0 0/0 .sdata2 @3871 */
|
|
SECTION_SDATA2 static f32 lit_3871 = 20.0f;
|
|
|
|
/* 804535E4-804535E8 001BE4 0004+00 1/1 0/0 0/0 .sdata2 @3872 */
|
|
SECTION_SDATA2 static u8 lit_3872[4] = {
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
0x00,
|
|
};
|
|
|
|
/* 804535E8-804535EC 001BE8 0004+00 1/1 0/0 0/0 .sdata2 @3873 */
|
|
SECTION_SDATA2 static f32 lit_3873 = 608.0f;
|
|
|
|
/* 804535EC-804535F0 001BEC 0004+00 1/1 0/0 0/0 .sdata2 @3874 */
|
|
SECTION_SDATA2 static f32 lit_3874 = 448.0f;
|
|
|
|
/* 804535F0-804535F4 001BF0 0004+00 1/1 0/0 0/0 .sdata2 @3875 */
|
|
SECTION_SDATA2 static f32 lit_3875 = -10.0f;
|
|
|
|
/* 804535F4-804535F8 001BF4 0004+00 1/1 0/0 0/0 .sdata2 @3876 */
|
|
SECTION_SDATA2 static f32 lit_3876 = 16777215.0f;
|
|
|
|
/* 804535F8-80453600 001BF8 0004+04 1/1 0/0 0/0 .sdata2 @3877 */
|
|
SECTION_SDATA2 static f32 lit_3877[1 + 1 /* padding */] = {
|
|
1.0f,
|
|
/* padding */
|
|
0.0f,
|
|
};
|
|
|
|
/* 8015E26C-8015E3F8 158BAC 018C+00 0/0 0/0 3/3 .text CalcZBuffer__9dInsect_cFf */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void dInsect_c::CalcZBuffer(f32 param_0) {
|
|
nofralloc
|
|
#include "asm/d/d_insect/CalcZBuffer__9dInsect_cFf.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 80393D98-80393D98 0203F8 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */
|