diff options
| author | Julgodis <> | 2021-04-10 07:02:38 +0200 |
|---|---|---|
| committer | Julgodis <> | 2021-04-10 07:02:38 +0200 |
| commit | 0ad6ebe7b499ad3efffad93e2e7eb1033bcb6598 (patch) | |
| tree | a40631b0654c4d310ebff2360e2a4ef32437a2b5 /src/d/d_attention.cpp | |
| parent | 2661db6aaa98a5bbd17691cb438ef64752dbcdf4 (diff) | |
moved strings + decompile simple store functions
Diffstat (limited to 'src/d/d_attention.cpp')
| -rw-r--r-- | src/d/d_attention.cpp | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/src/d/d_attention.cpp b/src/d/d_attention.cpp index 481e30e720..8da86e4662 100644 --- a/src/d/d_attention.cpp +++ b/src/d/d_attention.cpp @@ -38,10 +38,10 @@ struct mDoExt_bpkAnm { /* 8000D518 */ void entry(J3DMaterialTable*, f32); }; -struct J3DAnmTransform {}; - struct J3DModelData {}; +struct J3DAnmTransform {}; + struct mDoExt_bckAnm { /* 8000D7DC */ void init(J3DAnmTransform*, int, int, f32, s16, s16, bool); /* 8000D9CC */ void entry(J3DModelData*, f32); @@ -71,12 +71,6 @@ struct dRes_control_c { /* 8003C2EC */ void getRes(char const*, s32, dRes_info_c*, int); }; -struct Vec {}; - -struct cXyz { - /* 80266B34 */ void operator-(Vec const&) const; -}; - struct cSAngle { /* 80270F68 */ cSAngle(cSAngle const&); /* 80270F98 */ cSAngle(s16); @@ -84,6 +78,12 @@ struct cSAngle { /* 80271228 */ void operator-(s16) const; }; +struct Vec {}; + +struct cXyz { + /* 80266B34 */ void operator-(Vec const&) const; +}; + struct dAttention_c { /* 80070198 */ dAttention_c(fopAc_ac_c*, u32); /* 80070774 */ ~dAttention_c(); @@ -393,6 +393,12 @@ static asm void func_80070018() { #pragma pop /* ############################################################################################## */ +/* 8037A770-8037A770 006DD0 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */ +#pragma push +#pragma force_active on +SECTION_DEAD static char const* const stringBase_8037A770 = "D_MN09B"; +#pragma pop + /* 803A9BF8-803A9C04 006D18 000C+00 2/2 0/0 0/0 .data loc_type_tbl__12dAttention_c */ SECTION_DATA u8 dAttention_c::loc_type_tbl[12] = { 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x02, 0x00, 0x02, 0x00, 0x04, @@ -536,6 +542,14 @@ asm void dAttDraw_CallBack_c::execute(u16 param_0, J3DTransformInfo* param_1) { #pragma pop /* ############################################################################################## */ +/* 8037A770-8037A770 006DD0 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */ +#pragma push +#pragma force_active on +SECTION_DEAD static char const* const stringBase_8037A778 = "Always"; +/* @stringBase0 padding */ +SECTION_DEAD static char const* const pad_8037A77F = ""; +#pragma pop + /* 80424B00-80424B0C 051820 000C+00 1/1 0/0 0/0 .bss @4093 */ static u8 lit_4093[12]; @@ -1300,7 +1314,7 @@ asm void __sinit_d_attention_cpp() { #pragma push #pragma force_active on -SECTION_CTORS void* const _ctors_8007400C = (void*)__sinit_d_attention_cpp; +REGISTER_CTORS(0x8007400C, __sinit_d_attention_cpp); #pragma pop /* ############################################################################################## */ @@ -1325,12 +1339,4 @@ SECTION_SDATA extern u8 data_80450688[8] = { 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; -/* 8037A770-8037A780 006DD0 000F+01 2/2 0/0 0/0 .rodata @stringBase0 */ -#pragma push -#pragma force_active on -#pragma section ".dead" -SECTION_DEAD static char const* const stringBase_8037A770 = "D_MN09B"; -SECTION_DEAD static char const* const stringBase_8037A778 = "Always"; -/* @stringBase0 padding */ -SECTION_DEAD static char const* const pad_8037A77F = ""; -#pragma pop +/* 8037A770-8037A770 006DD0 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */ |
