dol2asm OK

This commit is contained in:
Julgodis
2021-03-28 22:49:05 +02:00
parent 88eb837a9c
commit d244b7cb0d
60106 changed files with 4755966 additions and 1107376 deletions
+180 -1
View File
@@ -1 +1,180 @@
// ok
//
// Generated By: dol2asm
// Translation Unit: d/d_insect
//
#include "dol2asm.h"
#include "dolphin/types.h"
#include "d/d_insect.h"
//
// Types:
//
struct fopAc_ac_c {
/* 80018B64 */ fopAc_ac_c();
};
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();
/* 800436EC */ void setPtI_Id(unsigned int);
};
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" extern char const* const d_d_insect__stringBase0;
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:
//
void mDoLib_project(Vec*, Vec*);
void mDoLib_pos2camera(Vec*, Vec*);
void fopAcM_delete(fopAc_ac_c*);
void fopAcM_orderItemEvent(fopAc_ac_c*, u16, u16);
void fopAcM_createItemForTrBoxDemo(cXyz const*, int, int, int, csXyz const*, cXyz const*);
void fopAcM_createItem(cXyz const*, int, int, int, csXyz const*, cXyz const*, int);
void fopAcM_cancelCarryNow(fopAc_ac_c*);
extern "C" extern u8 saveBitLabels__16dSv_event_flag_c[1644 + 4 /* padding */];
extern "C" extern u8 g_dComIfG_gameInfo[122384];
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" extern u8 saveBitLabels__16dSv_event_flag_c[1644 + 4 /* padding */];
extern "C" extern u8 g_dComIfG_gameInfo[122384];
//
// Declarations:
//
/* ############################################################################################## */
/* 803BA078-803BA088 000C+04 s=1 e=0 z=0 None .data __vt__9dInsect_c */
SECTION_DATA static void* __vt__9dInsect_c[3 + 1 /* padding */] = {
(void*)NULL,
(void*)NULL,
(void*)Insect_Release__9dInsect_cFv,
/* padding */
NULL,
};
/* 8015E010-8015E078 0068+00 s=0 e=0 z=13 None .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-80393DA8 0010+00 s=1 e=0 z=0 None .rodata @stringBase0 */
#pragma push
#pragma force_active on
#pragma section ".dead"
SECTION_DEAD char const* const stringBase_80393D98 = "DEFAULT_GETITEM";
#pragma pop
/* 8015E078-8015E26C 01F4+00 s=0 e=0 z=24 None .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 0004+00 s=1 e=0 z=0 None .sdata2 @3871 */
SECTION_SDATA2 static u32 lit_3871 = 0x41A00000;
/* 804535E4-804535E8 0004+00 s=1 e=0 z=0 None .sdata2 @3872 */
SECTION_SDATA2 static u8 lit_3872[4] = {
0x00, 0x00, 0x00, 0x00,
};
/* 804535E8-804535EC 0004+00 s=1 e=0 z=0 None .sdata2 @3873 */
SECTION_SDATA2 static u32 lit_3873 = 0x44180000;
/* 804535EC-804535F0 0004+00 s=1 e=0 z=0 None .sdata2 @3874 */
SECTION_SDATA2 static u32 lit_3874 = 0x43E00000;
/* 804535F0-804535F4 0004+00 s=1 e=0 z=0 None .sdata2 @3875 */
SECTION_SDATA2 static u32 lit_3875 = 0xC1200000;
/* 804535F4-804535F8 0004+00 s=1 e=0 z=0 None .sdata2 @3876 */
SECTION_SDATA2 static u32 lit_3876 = 0x4B7FFFFF;
/* 804535F8-80453600 0004+04 s=1 e=0 z=0 None .sdata2 @3877 */
SECTION_SDATA2 static f32 lit_3877[1 + 1 /* padding */] = {
1.0f,
/* padding */
0.0f,
};
/* 8015E26C-8015E3F8 018C+00 s=0 e=0 z=3 None .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