moved strings + decompile simple store functions

This commit is contained in:
Julgodis
2021-04-10 07:02:38 +02:00
parent 2661db6aaa
commit 0ad6ebe7b4
1299 changed files with 51830 additions and 43634 deletions
@@ -183,8 +183,8 @@ extern "C" void getTevColorReg__15J3DAnmTevRegKeyCFUsP11_GXColorS10();
extern "C" void getTevKonstReg__15J3DAnmTevRegKeyCFUsP8_GXColor();
extern "C" void searchUpdateMaterialID__15J3DAnmTevRegKeyFP16J3DMaterialTable();
extern "C" void searchUpdateMaterialID__15J3DAnmTevRegKeyFP12J3DModelData();
extern "C" void func_8032B8A0(f32, J3DAnmKeyTableBase*, s16*);
extern "C" void func_8032BAD4(f32, J3DAnmKeyTableBase*, f32*);
extern "C" void func_8032B8A0(void* _this, f32, J3DAnmKeyTableBase*, s16*);
extern "C" void func_8032BAD4(void* _this, f32, J3DAnmKeyTableBase*, f32*);
extern "C" void __dt__14J3DAnmVtxColorFv();
extern "C" void __dt__11J3DAnmColorFv();
extern "C" void __dt__16J3DAnmTexPatternFv();
@@ -753,7 +753,8 @@ asm void J3DAnmTevRegKey::searchUpdateMaterialID(J3DModelData* param_0) {
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
extern "C" asm void func_8032B8A0(f32 param_0, J3DAnmKeyTableBase* param_1, s16* param_2) {
extern "C" asm void func_8032B8A0(void* _this, f32 param_0, J3DAnmKeyTableBase* param_1,
s16* param_2) {
nofralloc
#include "asm/JSystem/J3DGraphAnimator/J3DAnimation/func_8032B8A0.s"
}
@@ -764,7 +765,8 @@ extern "C" asm void func_8032B8A0(f32 param_0, J3DAnmKeyTableBase* param_1, s16*
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
extern "C" asm void func_8032BAD4(f32 param_0, J3DAnmKeyTableBase* param_1, f32* param_2) {
extern "C" asm void func_8032BAD4(void* _this, f32 param_0, J3DAnmKeyTableBase* param_1,
f32* param_2) {
nofralloc
#include "asm/JSystem/J3DGraphAnimator/J3DAnimation/func_8032BAD4.s"
}
+4 -4
View File
@@ -19,6 +19,10 @@ struct J3DVertexBuffer {};
struct J3DModel {};
struct J3DCluster {};
struct J3DClusterKey {};
struct J3DAnmCluster {};
struct J3DDeformData {
@@ -29,10 +33,6 @@ struct J3DDeformData {
/* 8032E364 */ void setAnm(J3DAnmCluster*);
};
struct J3DCluster {};
struct J3DClusterKey {};
struct J3DDeformer {
/* 8032E39C */ J3DDeformer(J3DDeformData*);
/* 8032EAB4 */ void deform(J3DVertexBuffer*, u16, f32*);
+4 -4
View File
@@ -108,7 +108,7 @@ extern "C" u8 entryNum__13J3DDrawBuffer[4 + 4 /* padding */];
SECTION_RODATA static u8 const lit_882[12] = {
0x3F, 0x80, 0x00, 0x00, 0x3F, 0x80, 0x00, 0x00, 0x3F, 0x80, 0x00, 0x00,
};
COMPILER_STRIP_GATE(803A2068, &lit_882);
COMPILER_STRIP_GATE(0x803A2068, &lit_882);
/* 8032EC28-8032ECAC 329568 0084+00 0/0 1/1 0/0 .text
* init__25J3DMtxCalcJ3DSysInitBasicFRC3VecRA3_A4_Cf */
@@ -126,7 +126,7 @@ asm void J3DMtxCalcJ3DSysInitBasic::init(Vec const& param_0, f32 const (&param_1
SECTION_RODATA static u8 const lit_893[12] = {
0x3F, 0x80, 0x00, 0x00, 0x3F, 0x80, 0x00, 0x00, 0x3F, 0x80, 0x00, 0x00,
};
COMPILER_STRIP_GATE(803A2074, &lit_893);
COMPILER_STRIP_GATE(0x803A2074, &lit_893);
/* 8032ECAC-8032ED30 3295EC 0084+00 0/0 2/2 2/2 .text
* init__24J3DMtxCalcJ3DSysInitMayaFRC3VecRA3_A4_Cf */
@@ -198,13 +198,13 @@ asm void J3DJoint::appendChild(J3DJoint* param_0) {
SECTION_RODATA static u8 const lit_1257[12] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
COMPILER_STRIP_GATE(803A2080, &lit_1257);
COMPILER_STRIP_GATE(0x803A2080, &lit_1257);
/* 803A208C-803A2098 02E6EC 000C+00 1/1 0/0 0/0 .rodata @1259 */
SECTION_RODATA static u8 const lit_1259[12] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
COMPILER_STRIP_GATE(803A208C, &lit_1259);
COMPILER_STRIP_GATE(0x803A208C, &lit_1259);
/* 804564A4-804564A8 004AA4 0004+00 1/1 0/0 0/0 .sdata2 @1220 */
SECTION_SDATA2 static u8 lit_1220[4] = {
@@ -25,10 +25,10 @@ struct J3DTevKColorAnm {};
struct J3DTevColorAnm {};
struct J3DMatColorAnm {};
struct J3DMaterial {};
struct J3DMatColorAnm {};
struct J3DMaterialAnm {
/* 800A4820 */ ~J3DMaterialAnm();
/* 8032C320 */ void initialize();
@@ -25,12 +25,12 @@ struct J3DTevColorAnm {};
struct J3DAnmTextureSRTKey {};
struct J3DAnmTexPattern {};
struct J3DAnmTevRegKey {};
struct J3DAnmColor {};
struct J3DAnmTexPattern {};
struct J3DMaterialTable {
/* 8032F5A8 */ void clear();
/* 8032F5D0 */ J3DMaterialTable();
+13 -12
View File
@@ -228,7 +228,17 @@ asm void J3DSkinDeform::initSkinInfo(J3DModelData* param_0) {
SECTION_RODATA static u8 const lit_1142[16] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02,
};
COMPILER_STRIP_GATE(803A2008, &lit_1142);
COMPILER_STRIP_GATE(0x803A2008, &lit_1142);
/* 803A2028-803A2028 02E688 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */
#pragma push
#pragma force_active on
SECTION_DEAD static char const* const stringBase_803A2028 =
" Invlid Data : CPU Pipeline process GX_INDEX16 D"
"ata Only\n";
/* @stringBase0 padding */
SECTION_DEAD static char const* const pad_803A2062 = "\0\0\0\0\0";
#pragma pop
/* 80439218-80439A20 065F38 0800+08 1/1 0/0 0/0 .bss sWorkArea_MtxReg__13J3DSkinDeform
*/
@@ -250,7 +260,7 @@ asm void J3DSkinDeform::initMtxIndexArray(J3DModelData* param_0) {
SECTION_RODATA static u8 const lit_1270[16] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02,
};
COMPILER_STRIP_GATE(803A2018, &lit_1270);
COMPILER_STRIP_GATE(0x803A2018, &lit_1270);
/* 8032D378-8032D5C4 327CB8 024C+00 0/0 1/1 0/0 .text
* changeFastSkinDL__13J3DSkinDeformFP12J3DModelData */
@@ -416,13 +426,4 @@ asm J3DSkinDeform::~J3DSkinDeform() {
}
#pragma pop
/* 803A2028-803A2068 02E688 003A+06 1/1 0/0 0/0 .rodata @stringBase0 */
#pragma push
#pragma force_active on
#pragma section ".dead"
SECTION_DEAD static char const* const stringBase_803A2028 =
" Invlid Data : CPU Pipeline process GX_INDEX16 D"
"ata Only\n";
/* @stringBase0 padding */
SECTION_DEAD static char const* const pad_803A2062 = "\0\0\0\0\0";
#pragma pop
/* 803A2028-803A2028 02E688 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */