detect more floats/doubles, including from relocations

This commit is contained in:
Julgodis
2021-04-07 09:16:47 +02:00
parent ed1ee30dd2
commit dca1d2a1c0
1645 changed files with 69992 additions and 69984 deletions
+3 -3
View File
@@ -70,7 +70,7 @@ extern "C" void _restgpr_21();
extern "C" void _restgpr_26();
extern "C" void _restgpr_27();
extern "C" void _restgpr_29();
extern "C" extern u8 asinAcosTable___5JMath[4128];
extern "C" extern f32 asinAcosTable___5JMath[1032];
//
// Declarations:
@@ -154,10 +154,10 @@ asm void J3DDeformer::deform(J3DVertexBuffer* param_0, u16 param_1) {
SECTION_SDATA2 static f32 lit_830 = 1.0f;
/* 80456474-80456478 004A74 0004+00 1/1 0/0 0/0 .sdata2 @840 */
SECTION_SDATA2 static u32 lit_840 = 0x3F800000;
SECTION_SDATA2 static f32 lit_840 = 1.0f;
/* 80456478-8045647C 004A78 0004+00 1/1 0/0 0/0 .sdata2 None */
SECTION_SDATA2 static u32 data_80456478 = 0xBF800000;
SECTION_SDATA2 static f32 data_80456478 = -1.0f;
/* 8045647C-80456480 004A7C 0004+00 3/3 0/0 0/0 .sdata2 @866 */
SECTION_SDATA2 static u8 lit_866[4] = {
+6 -6
View File
@@ -75,8 +75,8 @@ extern "C" void _restgpr_27();
extern "C" extern u8 const j3dDefaultTransformInfo[32];
extern "C" extern u8 j3dSys[284];
extern "C" extern u8 mCurrentMtx__6J3DSys[48];
extern "C" extern u8 mCurrentS__6J3DSys[12];
extern "C" extern u8 mParentS__6J3DSys[12];
extern "C" extern f32 mCurrentS__6J3DSys[3];
extern "C" extern f32 mParentS__6J3DSys[3];
extern "C" extern u8 entryNum__13J3DDrawBuffer[4 + 4 /* padding */];
//
@@ -88,7 +88,7 @@ extern "C" extern 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,
};
SECTION_DEAD void* const cg_803A2068 = (void*)(&lit_882);
COMPILER_STRIP_GATE(803A2068, &lit_882);
/* 8032EC28-8032ECAC 329568 0084+00 0/0 1/1 0/0 .text
* init__25J3DMtxCalcJ3DSysInitBasicFRC3VecRA3_A4_Cf */
@@ -106,7 +106,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,
};
SECTION_DEAD void* const cg_803A2074 = (void*)(&lit_893);
COMPILER_STRIP_GATE(803A2074, &lit_893);
/* 8032ECAC-8032ED30 3295EC 0084+00 0/0 2/2 2/2 .text
* init__24J3DMtxCalcJ3DSysInitMayaFRC3VecRA3_A4_Cf */
@@ -180,13 +180,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,
};
SECTION_DEAD void* const cg_803A2080 = (void*)(&lit_1257);
COMPILER_STRIP_GATE(803A2080, &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,
};
SECTION_DEAD void* const cg_803A208C = (void*)(&lit_1259);
COMPILER_STRIP_GATE(803A208C, &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();
@@ -23,14 +23,14 @@ struct J3DTevKColorAnm {};
struct J3DTevColorAnm {};
struct J3DAnmColor {};
struct J3DAnmTextureSRTKey {};
struct J3DAnmTevRegKey {};
struct J3DAnmColor {};
struct J3DAnmTexPattern {};
struct J3DAnmTextureSRTKey {};
struct J3DMaterialTable {
/* 8032F5A8 */ void clear();
/* 8032F5D0 */ J3DMaterialTable();
+6 -6
View File
@@ -13,16 +13,11 @@
struct Vec {};
struct J3DModel;
struct J3DDeformData {
/* 8032E230 */ void offAllFlag(u32);
/* 8032E274 */ void deform(J3DModel*);
};
struct J3DModelData {
/* 803260F8 */ void syncJ3DSysFlags() const;
};
struct J3DModel;
struct J3DSkinDeform {
/* 8032C9B0 */ void initSkinInfo(J3DModelData*);
/* 8032CF44 */ void initMtxIndexArray(J3DModelData*);
@@ -31,6 +26,11 @@ struct J3DSkinDeform {
/* 8032DFDC */ void deform(J3DModel*);
};
struct J3DDeformData {
/* 8032E230 */ void offAllFlag(u32);
/* 8032E274 */ void deform(J3DModel*);
};
struct J3DModel {
/* 80327100 */ void initialize();
/* 80327184 */ void entryModelData(J3DModelData*, u32, u32);
@@ -221,7 +221,7 @@ 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,
};
SECTION_DEAD void* const cg_803A2008 = (void*)(&lit_1142);
COMPILER_STRIP_GATE(803A2008, &lit_1142);
/* 80439218-80439A20 065F38 0800+08 1/1 0/0 0/0 .bss sWorkArea_MtxReg__13J3DSkinDeform
*/
@@ -243,7 +243,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,
};
SECTION_DEAD void* const cg_803A2018 = (void*)(&lit_1270);
COMPILER_STRIP_GATE(803A2018, &lit_1270);
/* 8032D378-8032D5C4 327CB8 024C+00 0/0 1/1 0/0 .text
* changeFastSkinDL__13J3DSkinDeformFP12J3DModelData */