Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_sword.cpp File Reference

Functions

void initBaseMtx__12daObjSword_cFv ()
 
void setBaseMtx__12daObjSword_cFv ()
 
void Create__12daObjSword_cFv ()
 
void create__12daObjSword_cFv ()
 
void __dt__8cM3dGCylFv ()
 
void __dt__8cM3dGAabFv ()
 
void __dt__10dCcD_GSttsFv ()
 
void __dt__12dBgS_AcchCirFv ()
 
void __dt__12dBgS_ObjAcchFv ()
 
void actionWait__12daObjSword_cFv ()
 
void initActionOrderGetDemo__12daObjSword_cFv ()
 
void actionOrderGetDemo__12daObjSword_cFv ()
 
void actionGetDemo__12daObjSword_cFv ()
 
void execute__12daObjSword_cFv ()
 
void draw__12daObjSword_cFv ()
 
void _delete__12daObjSword_cFv ()
 
static void daObjSword_Draw__FP12daObjSword_c ()
 
static void daObjSword_Execute__FP12daObjSword_c ()
 
static void daObjSword_Delete__FP12daObjSword_c ()
 
static void daObjSword_Create__FP12daObjSword_c ()
 
void __dt__10cCcD_GSttsFv ()
 
static void func_80CFDE6C ()
 
static void func_80CFDE74 ()
 
void mDoMtx_ZXYrotM__FPA4_fsss ()
 
void __ct__10fopAc_ac_cFv ()
 
void fopAcM_delete__FP10fopAc_ac_c ()
 
void fopAcM_entrySolidHeap__FP10fopAc_ac_cPFP10fopAc_ac_c_iUl ()
 
void fopAcM_setCullSizeBox__FP10fopAc_ac_cffffff ()
 
void fopAcM_orderItemEvent__FP10fopAc_ac_cUsUs ()
 
void fopAcM_createItemForTrBoxDemo__FPC4cXyziiiPC5csXyzPC4cXyz ()
 
void fopAcM_cancelCarryNow__FP10fopAc_ac_c ()
 
void dComIfG_resLoad__FP30request_of_phase_process_classPCc ()
 
void onSwitch__10dSv_info_cFii ()
 
void onItem__10dSv_info_cFii ()
 
void isItem__10dSv_info_cCFii ()
 
void hide__12daItemBase_cFv ()
 
void show__12daItemBase_cFv ()
 
void chkDraw__12daItemBase_cFv ()
 
void CheckFieldItemCreateHeap__FP10fopAc_ac_c ()
 
void reset__14dEvt_control_cFv ()
 
void setPtI_Id__14dEvt_control_cFUi ()
 
void endCheckOld__16dEvent_manager_cFPCc ()
 
void __ct__12dBgS_AcchCirFv ()
 
void __dt__9dBgS_AcchFv ()
 
void __ct__9dBgS_AcchFv ()
 
void SetObj__16dBgS_PolyPassChkFv ()
 
void __ct__10dCcD_GSttsFv ()
 
void __ct__12dCcD_GObjInfFv ()
 
void DeleteBase__12daItemBase_cFPCc ()
 
bool clothCreate__12daItemBase_cFv ()
 
bool __CreateHeap__12daItemBase_cFv ()
 
void DrawBase__12daItemBase_cFv ()
 
void RotateYBase__12daItemBase_cFv ()
 
void setListStart__12daItemBase_cFv ()
 
void settingBeforeDraw__12daItemBase_cFv ()
 
void setTevStr__12daItemBase_cFv ()
 
void setShadow__12daItemBase_cFv ()
 
void animEntry__12daItemBase_cFv ()
 
void chkFlag__12daItemBase_cFi ()
 
void getTevFrm__12daItemBase_cFv ()
 
void getBtpFrm__12daItemBase_cFv ()
 
void getShadowSize__12daItemBase_cFv ()
 
void getCollisionH__12daItemBase_cFv ()
 
void getCollisionR__12daItemBase_cFv ()
 
void __dt__13cBgS_PolyInfoFv ()
 
void __dt__8cM3dGCirFv ()
 
void __dl__FPv ()
 
void __ptmf_scall ()
 
void _savegpr_29 ()
 
void _restgpr_29 ()
 
static void daObjSword_Draw (daObjSword_c *param_0)
 
static void daObjSword_Execute (daObjSword_c *param_0)
 
static void daObjSword_Delete (daObjSword_c *param_0)
 
static void daObjSword_Create (daObjSword_c *param_0)
 

Variables

char const *const d_a_obj_sword__stringBase0
 
void__vt__8dCcD_Cyl [36]
 
void__vt__9dCcD_Stts [11]
 
voidfield_item_res__10dItem_data [1020]
 
void__vt__12daItemBase_c [17+1]
 
void__vt__12cCcD_CylAttr [25]
 
void__vt__14cCcD_ShapeAttr [22]
 
void__vt__9cCcD_Stts [8]
 
u8 now__14mDoMtx_stack_c [48]
 
u8 g_dComIfG_gameInfo [122384]
 
u8 data_80CFE008 [4]
 
static SECTION_DATA u8 cNullVec__6Z2Calc [12]
 
static SECTION_DATA u32 lit_1787 [1+4]
 
static SECTION_DATA u8 l_cull_box [24]
 
static SECTION_DATA voidlit_3900 [3]
 
static SECTION_DATA voidlit_3901 [3]
 
static SECTION_DATA voidlit_3902 [3]
 
static SECTION_DATA u8 l_demoFunc [36]
 
static actor_method_class l_daObjSword_Method
 
actor_process_profile_definition g_profile_Obj_Sword
 
SECTION_DATA void__vt__12dBgS_AcchCir [3]
 
SECTION_DATA void__vt__10cCcD_GStts [3]
 
SECTION_DATA void__vt__10dCcD_GStts [3]
 
SECTION_DATA void__vt__12daObjSword_c [17]
 
SECTION_DATA void__vt__8cM3dGCyl [3]
 
SECTION_DATA void__vt__8cM3dGAab [3]
 
SECTION_DATA void__vt__12dBgS_ObjAcch [9]
 
static SECTION_DEAD char const *const stringBase_80CFDE84 = "DEFAULT_GETITEM"
 

Function Documentation

◆ __CreateHeap__12daItemBase_cFv()

bool __CreateHeap__12daItemBase_cFv ( )

◆ __ct__10dCcD_GSttsFv()

void __ct__10dCcD_GSttsFv ( )

◆ __ct__10fopAc_ac_cFv()

void __ct__10fopAc_ac_cFv ( )

◆ __ct__12dBgS_AcchCirFv()

void __ct__12dBgS_AcchCirFv ( )

◆ __ct__12dCcD_GObjInfFv()

void __ct__12dCcD_GObjInfFv ( )

◆ __ct__9dBgS_AcchFv()

void __ct__9dBgS_AcchFv ( )

◆ __dl__FPv()

void __dl__FPv ( )

◆ __dt__10cCcD_GSttsFv()

void __dt__10cCcD_GSttsFv ( )

Vtables for daObjHBombkoya_c mostly match, but __dt__17dEvLib_callback_cFv keeps getting generated above after daObjHBombkoya_create1st instead of down here. If that can be fixed, it should fix all vtable issues for this TU

◆ __dt__10dCcD_GSttsFv()

void __dt__10dCcD_GSttsFv ( )

◆ __dt__12dBgS_AcchCirFv()

void __dt__12dBgS_AcchCirFv ( )

◆ __dt__12dBgS_ObjAcchFv()

void __dt__12dBgS_ObjAcchFv ( )

◆ __dt__13cBgS_PolyInfoFv()

void __dt__13cBgS_PolyInfoFv ( )

◆ __dt__8cM3dGAabFv()

void __dt__8cM3dGAabFv ( )

◆ __dt__8cM3dGCirFv()

void __dt__8cM3dGCirFv ( )

◆ __dt__8cM3dGCylFv()

void __dt__8cM3dGCylFv ( )

◆ __dt__9dBgS_AcchFv()

void __dt__9dBgS_AcchFv ( )

◆ __ptmf_scall()

void __ptmf_scall ( )

◆ _delete__12daObjSword_cFv()

void _delete__12daObjSword_cFv ( )

◆ _restgpr_29()

void _restgpr_29 ( )

◆ _savegpr_29()

void _savegpr_29 ( )

◆ actionGetDemo__12daObjSword_cFv()

void actionGetDemo__12daObjSword_cFv ( )

◆ actionOrderGetDemo__12daObjSword_cFv()

void actionOrderGetDemo__12daObjSword_cFv ( )

◆ actionWait__12daObjSword_cFv()

void actionWait__12daObjSword_cFv ( )

◆ animEntry__12daItemBase_cFv()

void animEntry__12daItemBase_cFv ( )

◆ CheckFieldItemCreateHeap__FP10fopAc_ac_c()

void CheckFieldItemCreateHeap__FP10fopAc_ac_c ( )

◆ chkDraw__12daItemBase_cFv()

void chkDraw__12daItemBase_cFv ( )

◆ chkFlag__12daItemBase_cFi()

void chkFlag__12daItemBase_cFi ( )

◆ clothCreate__12daItemBase_cFv()

bool clothCreate__12daItemBase_cFv ( )

◆ Create__12daObjSword_cFv()

void Create__12daObjSword_cFv ( )

◆ create__12daObjSword_cFv()

void create__12daObjSword_cFv ( )

◆ daObjSword_Create()

static void daObjSword_Create ( daObjSword_c param_0)
static

◆ daObjSword_Create__FP12daObjSword_c()

static void daObjSword_Create__FP12daObjSword_c ( )
static

◆ daObjSword_Delete()

static void daObjSword_Delete ( daObjSword_c param_0)
static

◆ daObjSword_Delete__FP12daObjSword_c()

static void daObjSword_Delete__FP12daObjSword_c ( )
static

◆ daObjSword_Draw()

static void daObjSword_Draw ( daObjSword_c param_0)
static

◆ daObjSword_Draw__FP12daObjSword_c()

static void daObjSword_Draw__FP12daObjSword_c ( )
static

◆ daObjSword_Execute()

static void daObjSword_Execute ( daObjSword_c param_0)
static

◆ daObjSword_Execute__FP12daObjSword_c()

static void daObjSword_Execute__FP12daObjSword_c ( )
static

◆ dComIfG_resLoad__FP30request_of_phase_process_classPCc()

void dComIfG_resLoad__FP30request_of_phase_process_classPCc ( )

◆ DeleteBase__12daItemBase_cFPCc()

void DeleteBase__12daItemBase_cFPCc ( )

◆ draw__12daObjSword_cFv()

void draw__12daObjSword_cFv ( )

◆ DrawBase__12daItemBase_cFv()

void DrawBase__12daItemBase_cFv ( )

◆ endCheckOld__16dEvent_manager_cFPCc()

void endCheckOld__16dEvent_manager_cFPCc ( )

◆ execute__12daObjSword_cFv()

void execute__12daObjSword_cFv ( )

◆ fopAcM_cancelCarryNow__FP10fopAc_ac_c()

void fopAcM_cancelCarryNow__FP10fopAc_ac_c ( )

◆ fopAcM_createItemForTrBoxDemo__FPC4cXyziiiPC5csXyzPC4cXyz()

void fopAcM_createItemForTrBoxDemo__FPC4cXyziiiPC5csXyzPC4cXyz ( )

◆ fopAcM_delete__FP10fopAc_ac_c()

void fopAcM_delete__FP10fopAc_ac_c ( )

◆ fopAcM_entrySolidHeap__FP10fopAc_ac_cPFP10fopAc_ac_c_iUl()

void fopAcM_entrySolidHeap__FP10fopAc_ac_cPFP10fopAc_ac_c_iUl ( )

◆ fopAcM_orderItemEvent__FP10fopAc_ac_cUsUs()

void fopAcM_orderItemEvent__FP10fopAc_ac_cUsUs ( )

◆ fopAcM_setCullSizeBox__FP10fopAc_ac_cffffff()

void fopAcM_setCullSizeBox__FP10fopAc_ac_cffffff ( )

◆ func_80CFDE6C()

static void func_80CFDE6C ( )
static

◆ func_80CFDE74()

static void func_80CFDE74 ( )
static

◆ getBtpFrm__12daItemBase_cFv()

void getBtpFrm__12daItemBase_cFv ( )

◆ getCollisionH__12daItemBase_cFv()

void getCollisionH__12daItemBase_cFv ( )

◆ getCollisionR__12daItemBase_cFv()

void getCollisionR__12daItemBase_cFv ( )

◆ getShadowSize__12daItemBase_cFv()

void getShadowSize__12daItemBase_cFv ( )

◆ getTevFrm__12daItemBase_cFv()

void getTevFrm__12daItemBase_cFv ( )

◆ hide__12daItemBase_cFv()

void hide__12daItemBase_cFv ( )

◆ initActionOrderGetDemo__12daObjSword_cFv()

void initActionOrderGetDemo__12daObjSword_cFv ( )

◆ initBaseMtx__12daObjSword_cFv()

void initBaseMtx__12daObjSword_cFv ( )

◆ isItem__10dSv_info_cCFii()

void isItem__10dSv_info_cCFii ( )

◆ mDoMtx_ZXYrotM__FPA4_fsss()

void mDoMtx_ZXYrotM__FPA4_fsss ( )

◆ onItem__10dSv_info_cFii()

void onItem__10dSv_info_cFii ( )

◆ onSwitch__10dSv_info_cFii()

void onSwitch__10dSv_info_cFii ( )

◆ reset__14dEvt_control_cFv()

void reset__14dEvt_control_cFv ( )

◆ RotateYBase__12daItemBase_cFv()

void RotateYBase__12daItemBase_cFv ( )

◆ setBaseMtx__12daObjSword_cFv()

void setBaseMtx__12daObjSword_cFv ( )

◆ setListStart__12daItemBase_cFv()

void setListStart__12daItemBase_cFv ( )

◆ SetObj__16dBgS_PolyPassChkFv()

void SetObj__16dBgS_PolyPassChkFv ( )

◆ setPtI_Id__14dEvt_control_cFUi()

void setPtI_Id__14dEvt_control_cFUi ( )

◆ setShadow__12daItemBase_cFv()

void setShadow__12daItemBase_cFv ( )

◆ setTevStr__12daItemBase_cFv()

void setTevStr__12daItemBase_cFv ( )

◆ settingBeforeDraw__12daItemBase_cFv()

void settingBeforeDraw__12daItemBase_cFv ( )

◆ show__12daItemBase_cFv()

void show__12daItemBase_cFv ( )

Variable Documentation

◆ __vt__10cCcD_GStts

SECTION_DATA void* __vt__10cCcD_GStts[3]
extern
Initial value:
= {
(void*)NULL ,
(void*)NULL,
}
T cLib_calcTimer(T *value)
Definition c_lib.h:74
void __dt__10cCcD_GSttsFv()
Definition d_a_obj_sword.cpp:384

◆ __vt__10dCcD_GStts

SECTION_DATA void* __vt__10dCcD_GStts[3]
extern
Initial value:
= {
(void*)NULL ,
(void*)NULL,
}
void __dt__10dCcD_GSttsFv()
Definition d_a_obj_sword.cpp:301

◆ __vt__12cCcD_CylAttr

void* __vt__12cCcD_CylAttr[25]
extern

◆ __vt__12daItemBase_c

void* __vt__12daItemBase_c[17+1]
extern

◆ __vt__12daObjSword_c

SECTION_DATA void* __vt__12daObjSword_c[17]
extern
Initial value:
= {
(void*)NULL ,
(void*)NULL,
}
void DrawBase__12daItemBase_cFv()
void setShadow__12daItemBase_cFv()
void setTevStr__12daItemBase_cFv()
bool __CreateHeap__12daItemBase_cFv()
void setListStart__12daItemBase_cFv()
void getTevFrm__12daItemBase_cFv()
void getBtpFrm__12daItemBase_cFv()
void chkFlag__12daItemBase_cFi()
void RotateYBase__12daItemBase_cFv()
bool clothCreate__12daItemBase_cFv()
void getCollisionR__12daItemBase_cFv()
void animEntry__12daItemBase_cFv()
void getCollisionH__12daItemBase_cFv()
void getShadowSize__12daItemBase_cFv()
void settingBeforeDraw__12daItemBase_cFv()

◆ __vt__12dBgS_AcchCir

SECTION_DATA void* __vt__12dBgS_AcchCir[3]
extern
Initial value:
= {
(void*)NULL ,
(void*)NULL,
}
void __dt__12dBgS_AcchCirFv()
Definition d_a_obj_sword.cpp:307

◆ __vt__12dBgS_ObjAcch

SECTION_DATA void* __vt__12dBgS_ObjAcch[9]
extern
Initial value:
= {
(void*)NULL ,
(void*)NULL,
(void*)NULL,
(void*)NULL,
(void*)func_80CFDE74,
(void*)NULL,
(void*)NULL,
(void*)func_80CFDE6C,
}
static void func_80CFDE74()
Definition d_a_obj_sword.cpp:394
void __dt__12dBgS_ObjAcchFv()
Definition d_a_obj_sword.cpp:313
static void func_80CFDE6C()
Definition d_a_obj_sword.cpp:389

◆ __vt__14cCcD_ShapeAttr

void* __vt__14cCcD_ShapeAttr[22]
extern

◆ __vt__8cM3dGAab

SECTION_DATA void* __vt__8cM3dGAab[3]
extern
Initial value:
= {
(void*)NULL ,
(void*)NULL,
}
void __dt__8cM3dGAabFv()
Definition d_a_obj_sword.cpp:295

◆ __vt__8cM3dGCyl

SECTION_DATA void* __vt__8cM3dGCyl[3]
extern
Initial value:
= {
(void*)NULL ,
(void*)NULL,
}
void __dt__8cM3dGCylFv()
Definition d_a_obj_sword.cpp:289

◆ __vt__8dCcD_Cyl

void* __vt__8dCcD_Cyl[36]
extern

◆ __vt__9cCcD_Stts

void* __vt__9cCcD_Stts[8]
extern

◆ __vt__9dCcD_Stts

void* __vt__9dCcD_Stts[11]
extern

◆ cNullVec__6Z2Calc

SECTION_DATA u8 cNullVec__6Z2Calc[12]
static
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
}

◆ d_a_obj_sword__stringBase0

char const* const d_a_obj_sword__stringBase0
extern

◆ data_80CFE008

u8 data_80CFE008[4]
extern

◆ field_item_res__10dItem_data

void* field_item_res__10dItem_data[1020]

◆ g_dComIfG_gameInfo

u8 g_dComIfG_gameInfo[122384]
extern

◆ g_profile_Obj_Sword

actor_process_profile_definition g_profile_Obj_Sword
extern
Initial value:
= {
7,
&g_fpcLf_Method.mBase,
sizeof(daObjSword_c),
0,
0,
586,
0x00040100,
}
Ordon Sword.
Definition d_a_obj_sword.h:14
void * g_fopAc_Method[8]
void * g_fpcLf_Method[5+1]
Definition f_pc_leaf.cpp:65
static actor_method_class l_daObjSword_Method
Definition d_a_obj_sword.cpp:187
@ PROC_Obj_Sword
Definition d_procname.h:433
@ fopAc_CULLBOX_CUSTOM_e
Definition f_op_actor.h:67
@ fopAc_ACTOR_e
Definition f_op_actor.h:38
@ fpcLy_CURRENT_e
Definition f_pc_layer_tag.h:9
@ fpcPi_CURRENT_e
Definition f_pc_priority.h:8

◆ l_cull_box

SECTION_DATA u8 l_cull_box[24]
static
Initial value:
= {
0xC3, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC3, 0x48, 0x00, 0x00,
0x43, 0x48, 0x00, 0x00, 0x42, 0xC8, 0x00, 0x00, 0x43, 0x48, 0x00, 0x00,
}

◆ l_daObjSword_Method

actor_method_class l_daObjSword_Method
static
Initial value:
= {
0,
}
static void daObjSword_Execute__FP12daObjSword_c()
static void daObjSword_Create__FP12daObjSword_c()
static void daObjSword_Draw__FP12daObjSword_c()
static void daObjSword_Delete__FP12daObjSword_c()
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ l_demoFunc

SECTION_DATA u8 l_demoFunc[36]
static
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
}

◆ lit_1787

SECTION_DATA u32 lit_1787[1+4]
static
Initial value:
= {
0x02000201,
0x40080000,
0x00000000,
0x3FE00000,
0x00000000,
}

◆ lit_3900

SECTION_DATA void* lit_3900[3]
static
Initial value:
= {
(void*)NULL,
(void*)0xFFFFFFFF,
}
void actionWait__12daObjSword_cFv()

◆ lit_3901

SECTION_DATA void* lit_3901[3]
static
Initial value:
= {
(void*)NULL,
(void*)0xFFFFFFFF,
}
void actionOrderGetDemo__12daObjSword_cFv()

◆ lit_3902

SECTION_DATA void* lit_3902[3]
static
Initial value:
= {
(void*)NULL,
(void*)0xFFFFFFFF,
}
void actionGetDemo__12daObjSword_cFv()

◆ now__14mDoMtx_stack_c

u8 now__14mDoMtx_stack_c[48]

◆ stringBase_80CFDE84

SECTION_DEAD char const* const stringBase_80CFDE84 = "DEFAULT_GETITEM"
static