// // Generated By: dol2asm // Translation Unit: J3DAnimation // #include "JSystem/J3DGraphAnimator/J3DAnimation.h" #include "dol2asm.h" #include "global.h" // // Forward References: // extern "C" void init__12J3DFrameCtrlFs(); extern "C" void checkPass__12J3DFrameCtrlFf(); extern "C" void update__12J3DFrameCtrlFv(); extern "C" void __ct__15J3DAnmTransformFsPfPsPf(); extern "C" void getTransform__19J3DAnmTransformFullCFUsP16J3DTransformInfo(); extern "C" void getTransform__27J3DAnmTransformFullWithLerpCFUsP16J3DTransformInfo(); extern "C" void calcTransform__18J3DAnmTransformKeyCFfUsP16J3DTransformInfo(); extern "C" void __ct__19J3DAnmTextureSRTKeyFv(); extern "C" void calcTransform__19J3DAnmTextureSRTKeyCFfUsP17J3DTextureSRTInfo(); extern "C" void getWeight__17J3DAnmClusterFullCFUs(); extern "C" void getWeight__16J3DAnmClusterKeyCFUs(); extern "C" void __ct__14J3DAnmVtxColorFv(); extern "C" void __ct__18J3DAnmVtxColorFullFv(); extern "C" void getColor__18J3DAnmVtxColorFullCFUcUsP8_GXColor(); extern "C" void __ct__17J3DAnmVtxColorKeyFv(); extern "C" void getColor__17J3DAnmVtxColorKeyCFUcUsP8_GXColor(); extern "C" void __ct__11J3DAnmColorFv(); extern "C" void searchUpdateMaterialID__11J3DAnmColorFP16J3DMaterialTable(); extern "C" void __ct__15J3DAnmColorFullFv(); extern "C" void getColor__15J3DAnmColorFullCFUsP8_GXColor(); extern "C" void __ct__14J3DAnmColorKeyFv(); extern "C" void getColor__14J3DAnmColorKeyCFUsP8_GXColor(); extern "C" void __ct__15J3DAnmTevRegKeyFv(); extern "C" void __ct__16J3DAnmTexPatternFv(); extern "C" void getTexNo__16J3DAnmTexPatternCFUsPUs(); extern "C" void searchUpdateMaterialID__16J3DAnmTexPatternFP16J3DMaterialTable(); extern "C" void searchUpdateMaterialID__16J3DAnmTexPatternFP12J3DModelData(); extern "C" void searchUpdateMaterialID__19J3DAnmTextureSRTKeyFP16J3DMaterialTable(); extern "C" void searchUpdateMaterialID__19J3DAnmTextureSRTKeyFP12J3DModelData(); 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(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(); extern "C" s32 getKind__16J3DAnmTexPatternCFv(); extern "C" void __dt__15J3DAnmTevRegKeyFv(); extern "C" s32 getKind__15J3DAnmTevRegKeyCFv(); extern "C" void __dt__14J3DAnmColorKeyFv(); extern "C" s32 getKind__14J3DAnmColorKeyCFv(); extern "C" void __dt__15J3DAnmColorFullFv(); extern "C" s32 getKind__15J3DAnmColorFullCFv(); extern "C" bool getKind__11J3DAnmColorCFv(); extern "C" void getColor__11J3DAnmColorCFUsP8_GXColor(); extern "C" void __dt__17J3DAnmVtxColorKeyFv(); extern "C" s32 getKind__17J3DAnmVtxColorKeyCFv(); extern "C" void __dt__18J3DAnmVtxColorFullFv(); extern "C" s32 getKind__18J3DAnmVtxColorFullCFv(); extern "C" s32 getKind__14J3DAnmVtxColorCFv(); extern "C" void getColor__14J3DAnmVtxColorCFUcUsP8_GXColor(); extern "C" void __dt__16J3DAnmClusterKeyFv(); extern "C" s32 getKind__16J3DAnmClusterKeyCFv(); extern "C" void __dt__13J3DAnmClusterFv(); extern "C" s32 getKind__13J3DAnmClusterCFv(); extern "C" void getWeight__13J3DAnmClusterCFUs(); extern "C" void __dt__17J3DAnmClusterFullFv(); extern "C" s32 getKind__17J3DAnmClusterFullCFv(); extern "C" void __dt__19J3DAnmTextureSRTKeyFv(); extern "C" s32 getKind__19J3DAnmTextureSRTKeyCFv(); extern "C" void __dt__27J3DAnmTransformFullWithLerpFv(); extern "C" s32 getKind__27J3DAnmTransformFullWithLerpCFv(); extern "C" void __dt__19J3DAnmTransformFullFv(); extern "C" s32 getKind__19J3DAnmTransformFullCFv(); // // External References: // extern "C" void __dl__FPv(); extern "C" void __ct__10JUTNameTabFv(); extern "C" void getIndex__10JUTNameTabCFPCc(); extern "C" void getName__10JUTNameTabCFUs(); extern "C" void __cvt_fp2unsigned(); extern "C" void _savegpr_25(); extern "C" void _savegpr_27(); extern "C" void _savegpr_28(); extern "C" void _savegpr_29(); extern "C" void _restgpr_25(); extern "C" void _restgpr_27(); extern "C" void _restgpr_28(); extern "C" void _restgpr_29(); extern "C" extern void* __vt__10J3DAnmBase[4]; extern "C" extern void* __vt__15J3DAnmTransform[5]; extern "C" extern void* __vt__10JUTNameTab[3]; // // Declarations: // /* ############################################################################################## */ /* 80456430-80456434 004A30 0004+00 6/6 0/0 0/0 .sdata2 @852 */ SECTION_SDATA2 static f32 lit_852 = 1.0f; /* 80456434-80456438 004A34 0004+00 20/20 0/0 0/0 .sdata2 @853 */ SECTION_SDATA2 static u8 lit_853[4] = { 0x00, 0x00, 0x00, 0x00, }; /* 803283FC-8032842C 322D3C 0030+00 0/0 25/25 285/285 .text init__12J3DFrameCtrlFs */ void J3DFrameCtrl::init(s16 i_end) { mAttribute = 2; mState = 0; mStart = 0; mEnd = i_end; mLoop = 0; mRate = lit_852; mFrame = FLOAT_LABEL(lit_853); } /* ############################################################################################## */ /* 80456438-80456440 004A38 0004+04 2/2 0/0 0/0 .sdata2 @973 */ SECTION_SDATA2 static f32 lit_973[1 + 1 /* padding */] = { 0.0010000000474974513f, /* padding */ 0.0f, }; /* 80456440-80456448 004A40 0008+00 4/4 0/0 0/0 .sdata2 @975 */ SECTION_SDATA2 static f64 lit_975 = 4503601774854144.0 /* cast s32 to float */; /* 8032842C-803289CC 322D6C 05A0+00 0/0 92/92 382/382 .text checkPass__12J3DFrameCtrlFf */ // matches with literals #ifdef NONMATCHING int J3DFrameCtrl::checkPass(f32 pass_frame) { f32 cur_frame = mFrame; f32 next_frame = cur_frame + mRate; switch (mAttribute) { case 0: case 1: if (next_frame < mStart) { next_frame = mStart; } if (next_frame >= mEnd) { next_frame = mEnd - 0.001f; } if (cur_frame <= next_frame) { if (cur_frame <= pass_frame && pass_frame < next_frame) { return true; } else { return false; } } if (next_frame <= pass_frame && pass_frame < cur_frame) { return true; } return false; case 2: if (cur_frame < mStart) { while (next_frame < mStart) { if (mLoop - mStart <= 0.0f) { break; } next_frame += mLoop - mStart; } if (next_frame <= pass_frame && pass_frame < mLoop) { return true; } else { return false; } } else if (mEnd <= cur_frame) { while (next_frame >= mEnd) { if (mEnd - mLoop <= 0.0f) { break; } next_frame -= mEnd - mLoop; } if (mLoop <= pass_frame && pass_frame < next_frame) { return true; } else { return false; } } else if (next_frame < mStart) { while (next_frame < mStart) { if (mLoop - mStart <= 0.0f) { break; } next_frame += mLoop - mStart; } if ((mStart <= pass_frame && pass_frame < cur_frame) || (next_frame <= pass_frame && pass_frame < mLoop)) { return true; } else { return false; } } else if (mEnd <= next_frame) { while (next_frame >= mEnd) { if (mEnd - mLoop <= 0.0f) { break; } next_frame -= mEnd - mLoop; } if ((cur_frame <= pass_frame && pass_frame < mEnd) || (mLoop <= pass_frame && pass_frame < next_frame)) { return true; } else { return false; } } else if (cur_frame <= next_frame) { if (cur_frame <= pass_frame && pass_frame < next_frame) { return true; } else { return false; } } else if (next_frame <= pass_frame && pass_frame < cur_frame) { return true; } return false; case 3: case 4: if (next_frame >= mEnd) { next_frame = mEnd - 0.001f; } if (next_frame < mStart) { next_frame = mStart; } if (cur_frame <= next_frame) { if (cur_frame <= pass_frame && pass_frame < next_frame) { return true; } else { return false; } } if (next_frame <= pass_frame && pass_frame < cur_frame) { return true; } return false; default: return false; } } #else #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm int J3DFrameCtrl::checkPass(f32 pass_frame) { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/checkPass__12J3DFrameCtrlFf.s" } #pragma pop #endif /* 803289CC-80328E40 32330C 0474+00 0/0 3/3 0/0 .text update__12J3DFrameCtrlFv */ // matches with literals #ifdef NONMATCHING void J3DFrameCtrl::update() { mState = 0; mFrame += mRate; switch (mAttribute) { case 0: if (mFrame < mStart) { mFrame = mStart; mRate = 0.0f; mState |= 1; } if (mFrame >= mEnd) { mFrame = mEnd - 0.001f; mRate = 0.0f; mState |= 1; } break; case 1: if (mFrame < mStart) { mFrame = mStart; mRate = 0.0f; mState |= 1; } if (mFrame >= mEnd) { mFrame = mStart; mRate = 0.0f; mState |= 1; } break; case 2: while (mFrame < mStart) { mState |= 2; if (mLoop - mStart <= 0.0f) { break; } mFrame += mLoop - mStart; } while (mFrame >= mEnd) { mState |= 2; if (mEnd - mLoop <= 0.0f) { break; } mFrame -= mEnd - mLoop; } break; case 3: if (mFrame >= mEnd) { mFrame = mEnd - (mFrame - mEnd); mRate = -mRate; } if (mFrame < mStart) { mFrame = mStart - (mFrame - mStart); mRate = 0.0f; mState |= 1; } break; case 4: if (mFrame >= mEnd - 1.0f) { mFrame = (mEnd - 1.0f) - (mFrame - (mEnd - 1.0f)); mRate = -mRate; } if (mFrame < mStart) { mFrame = mStart - (mFrame - mStart); mRate = -mRate; mState |= 2; } break; } } #else #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void J3DFrameCtrl::update() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/update__12J3DFrameCtrlFv.s" } #pragma pop #endif /* 80328E40-80328E90 323780 0050+00 0/0 3/3 0/0 .text __ct__15J3DAnmTransformFsPfPsPf */ // matches with literals #ifdef NONMATCHING J3DAnmTransform::J3DAnmTransform(s16 param_0, f32* param_1, s16* param_2, f32* param_3) : J3DAnmBase(param_0) { field_0xc = param_1; field_0x10 = param_2; field_0x14 = param_3; field_0x18 = 0; field_0x1a = 0; field_0x1c = 0; field_0x1e = 0; } #else #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm J3DAnmTransform::J3DAnmTransform(s16 param_0, f32* param_1, s16* param_2, f32* param_3) { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__ct__15J3DAnmTransformFsPfPsPf.s" } #pragma pop #endif /* ############################################################################################## */ /* 80456448-80456450 004A48 0004+04 4/4 0/0 0/0 .sdata2 @1092 */ SECTION_SDATA2 static f32 lit_1092[1 + 1 /* padding */] = { 0.5f, /* padding */ 0.0f, }; /* 80328E90-803291F0 3237D0 0360+00 1/0 0/0 0/0 .text * getTransform__19J3DAnmTransformFullCFUsP16J3DTransformInfo */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void J3DAnmTransformFull::getTransform(u16 param_0, J3DTransformInfo* param_1) const { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/getTransform__19J3DAnmTransformFullCFUsP16J3DTransformInfo.s" } #pragma pop /* ############################################################################################## */ /* 80456450-80456458 004A50 0008+00 2/2 0/0 0/0 .sdata2 @1223 */ SECTION_SDATA2 static f64 lit_1223 = 4503599627370496.0 /* cast u32 to float */; /* 803291F0-80329A34 323B30 0844+00 1/0 0/0 0/0 .text * getTransform__27J3DAnmTransformFullWithLerpCFUsP16J3DTransformInfo */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void J3DAnmTransformFullWithLerp::getTransform(u16 param_0, J3DTransformInfo* param_1) const { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/getTransform__27J3DAnmTransformFullWithLerpCFUsP16J3DTransformInfo.s" } #pragma pop /* 80329A34-80329E5C 324374 0428+00 0/0 1/1 0/0 .text * calcTransform__18J3DAnmTransformKeyCFfUsP16J3DTransformInfo */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void J3DAnmTransformKey::calcTransform(f32 param_0, u16 param_1, J3DTransformInfo* param_2) const { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/calcTransform__18J3DAnmTransformKeyCFfUsP16J3DTransformInfo.s" } #pragma pop /* ############################################################################################## */ /* 803CED50-803CED60 02BE70 0010+00 2/2 0/0 0/0 .data __vt__16J3DAnmTexPattern */ SECTION_DATA extern void* __vt__16J3DAnmTexPattern[4] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__16J3DAnmTexPatternFv, (void*)getKind__16J3DAnmTexPatternCFv, }; /* 803CED60-803CED70 02BE80 0010+00 2/2 0/0 0/0 .data __vt__15J3DAnmTevRegKey */ SECTION_DATA extern void* __vt__15J3DAnmTevRegKey[4] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__15J3DAnmTevRegKeyFv, (void*)getKind__15J3DAnmTevRegKeyCFv, }; /* 803CED70-803CED84 02BE90 0014+00 2/2 0/0 0/0 .data __vt__14J3DAnmColorKey */ SECTION_DATA extern void* __vt__14J3DAnmColorKey[5] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__14J3DAnmColorKeyFv, (void*)getKind__14J3DAnmColorKeyCFv, (void*)getColor__14J3DAnmColorKeyCFUsP8_GXColor, }; /* 803CED84-803CED98 02BEA4 0014+00 2/2 0/0 0/0 .data __vt__15J3DAnmColorFull */ SECTION_DATA extern void* __vt__15J3DAnmColorFull[5] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__15J3DAnmColorFullFv, (void*)getKind__15J3DAnmColorFullCFv, (void*)getColor__15J3DAnmColorFullCFUsP8_GXColor, }; /* 803CED98-803CEDAC 02BEB8 0014+00 4/4 0/0 0/0 .data __vt__11J3DAnmColor */ SECTION_DATA extern void* __vt__11J3DAnmColor[5] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__11J3DAnmColorFv, (void*)getKind__11J3DAnmColorCFv, (void*)getColor__11J3DAnmColorCFUsP8_GXColor, }; /* 803CEDAC-803CEDC0 02BECC 0014+00 2/2 0/0 0/0 .data __vt__17J3DAnmVtxColorKey */ SECTION_DATA extern void* __vt__17J3DAnmVtxColorKey[5] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__17J3DAnmVtxColorKeyFv, (void*)getKind__17J3DAnmVtxColorKeyCFv, (void*)getColor__17J3DAnmVtxColorKeyCFUcUsP8_GXColor, }; /* 803CEDC0-803CEDD4 02BEE0 0014+00 2/2 0/0 0/0 .data __vt__18J3DAnmVtxColorFull */ SECTION_DATA extern void* __vt__18J3DAnmVtxColorFull[5] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__18J3DAnmVtxColorFullFv, (void*)getKind__18J3DAnmVtxColorFullCFv, (void*)getColor__18J3DAnmVtxColorFullCFUcUsP8_GXColor, }; /* 803CEDD4-803CEDE8 02BEF4 0014+00 4/4 0/0 0/0 .data __vt__14J3DAnmVtxColor */ SECTION_DATA extern void* __vt__14J3DAnmVtxColor[5] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__14J3DAnmVtxColorFv, (void*)getKind__14J3DAnmVtxColorCFv, (void*)getColor__14J3DAnmVtxColorCFUcUsP8_GXColor, }; /* 803CEDE8-803CEDFC 02BF08 0014+00 1/1 1/1 0/0 .data __vt__16J3DAnmClusterKey */ SECTION_DATA extern void* __vt__16J3DAnmClusterKey[5] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__16J3DAnmClusterKeyFv, (void*)getKind__16J3DAnmClusterKeyCFv, (void*)getWeight__16J3DAnmClusterKeyCFUs, }; /* 803CEDFC-803CEE10 02BF1C 0014+00 3/3 1/1 0/0 .data __vt__13J3DAnmCluster */ SECTION_DATA extern void* __vt__13J3DAnmCluster[5] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__13J3DAnmClusterFv, (void*)getKind__13J3DAnmClusterCFv, (void*)getWeight__13J3DAnmClusterCFUs, }; /* 803CEE10-803CEE24 02BF30 0014+00 1/1 1/1 0/0 .data __vt__17J3DAnmClusterFull */ SECTION_DATA extern void* __vt__17J3DAnmClusterFull[5] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__17J3DAnmClusterFullFv, (void*)getKind__17J3DAnmClusterFullCFv, (void*)getWeight__17J3DAnmClusterFullCFUs, }; /* 803CEE24-803CEE34 02BF44 0010+00 2/2 0/0 0/0 .data __vt__19J3DAnmTextureSRTKey */ SECTION_DATA extern void* __vt__19J3DAnmTextureSRTKey[4] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__19J3DAnmTextureSRTKeyFv, (void*)getKind__19J3DAnmTextureSRTKeyCFv, }; /* 80329E5C-80329F14 32479C 00B8+00 0/0 2/2 0/0 .text __ct__19J3DAnmTextureSRTKeyFv */ // matches with literals #ifdef NONMATCHING J3DAnmTextureSRTKey::J3DAnmTextureSRTKey() : J3DAnmBase(0) { field_0xc = 0; field_0x1a = 0; field_0x18 = 0; field_0x16 = 0; field_0x14 = 0; field_0x10 = 0; field_0x24 = 0; field_0x1c = 0; field_0x20 = 0; field_0x48 = 0; field_0x46 = 0; field_0x44 = 0; field_0x4a = 0; field_0x58 = 0; field_0x54 = 0; field_0x4c = 0; field_0x50 = 0; mTexMtxCalcType = 0; } #else #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm J3DAnmTextureSRTKey::J3DAnmTextureSRTKey() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__ct__19J3DAnmTextureSRTKeyFv.s" } #pragma pop #endif /* 80329F14-8032A184 324854 0270+00 0/0 1/1 0/0 .text * calcTransform__19J3DAnmTextureSRTKeyCFfUsP17J3DTextureSRTInfo */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void J3DAnmTextureSRTKey::calcTransform(f32 param_0, u16 param_1, J3DTextureSRTInfo* param_2) const { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/calcTransform__19J3DAnmTextureSRTKeyCFfUsP17J3DTextureSRTInfo.s" } #pragma pop /* 8032A184-8032A218 324AC4 0094+00 1/0 0/0 0/0 .text getWeight__17J3DAnmClusterFullCFUs */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm f32 J3DAnmClusterFull::getWeight(u16 param_0) const { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/getWeight__17J3DAnmClusterFullCFUs.s" } #pragma pop /* 8032A218-8032A29C 324B58 0084+00 1/0 0/0 0/0 .text getWeight__16J3DAnmClusterKeyCFUs */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm f32 J3DAnmClusterKey::getWeight(u16 param_0) const { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/getWeight__16J3DAnmClusterKeyCFUs.s" } #pragma pop /* 8032A29C-8032A30C 324BDC 0070+00 2/2 0/0 0/0 .text __ct__14J3DAnmVtxColorFv */ // matches with literals #ifdef NONMATCHING J3DAnmVtxColor::J3DAnmVtxColor() : J3DAnmBase(0) { for (int i = 0; i < 2; i++) { mAnmTableNum[i] = 0; } for (int i = 0; i < 2; i++) { mAnmVtxColorIndexData[i] = 0; } } #else #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm J3DAnmVtxColor::J3DAnmVtxColor() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__ct__14J3DAnmVtxColorFv.s" } #pragma pop #endif /* 8032A30C-8032A368 324C4C 005C+00 0/0 1/1 0/0 .text __ct__18J3DAnmVtxColorFullFv */ J3DAnmVtxColorFull::J3DAnmVtxColorFull() { for (int i = 0; i < 2; i++) { mpTable[i] = 0; } } /* 8032A368-8032A4E0 324CA8 0178+00 1/0 0/0 0/0 .text * getColor__18J3DAnmVtxColorFullCFUcUsP8_GXColor */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void J3DAnmVtxColorFull::getColor(u8 param_0, u16 param_1, _GXColor* param_2) const { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/getColor__18J3DAnmVtxColorFullCFUcUsP8_GXColor.s" } #pragma pop /* 8032A4E0-8032A53C 324E20 005C+00 0/0 1/1 0/0 .text __ct__17J3DAnmVtxColorKeyFv */ J3DAnmVtxColorKey::J3DAnmVtxColorKey() { for (int i = 0; i < 2; i++) { mpTable[i] = 0; } } /* ############################################################################################## */ /* 80456458-8045645C 004A58 0004+00 3/3 0/0 0/0 .sdata2 @1499 */ SECTION_SDATA2 static f32 lit_1499 = 255.0f; /* 8032A53C-8032A828 324E7C 02EC+00 1/0 0/0 0/0 .text * getColor__17J3DAnmVtxColorKeyCFUcUsP8_GXColor */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void J3DAnmVtxColorKey::getColor(u8 param_0, u16 param_1, _GXColor* param_2) const { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/getColor__17J3DAnmVtxColorKeyCFUcUsP8_GXColor.s" } #pragma pop /* 8032A828-8032A8A4 325168 007C+00 2/2 0/0 0/0 .text __ct__11J3DAnmColorFv */ // matches with literals #ifdef NONMATCHING J3DAnmColor::J3DAnmColor() : J3DAnmBase(0), field_0xc(0), field_0xe(0), field_0x10(0), field_0x12(0), mUpdateMaterialNum(0), mUpdateMaterialID(NULL) {} #else #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm J3DAnmColor::J3DAnmColor() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__ct__11J3DAnmColorFv.s" } #pragma pop #endif /* 8032A8A4-8032A93C 3251E4 0098+00 0/0 1/1 0/0 .text * searchUpdateMaterialID__11J3DAnmColorFP16J3DMaterialTable */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void J3DAnmColor::searchUpdateMaterialID(J3DMaterialTable* param_0) { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/searchUpdateMaterialID__11J3DAnmColorFP16J3DMaterialTable.s" } #pragma pop /* 8032A93C-8032A990 32527C 0054+00 0/0 1/1 0/0 .text __ct__15J3DAnmColorFullFv */ J3DAnmColorFull::J3DAnmColorFull() { mColorR = 0; mColorG = 0; mColorB = 0; mColorA = 0; mAnmTable = 0; } /* 8032A990-8032AB00 3252D0 0170+00 1/0 0/0 0/0 .text getColor__15J3DAnmColorFullCFUsP8_GXColor */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void J3DAnmColorFull::getColor(u16 param_0, _GXColor* param_1) const { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/getColor__15J3DAnmColorFullCFUsP8_GXColor.s" } #pragma pop /* 8032AB00-8032AB54 325440 0054+00 0/0 1/1 0/0 .text __ct__14J3DAnmColorKeyFv */ J3DAnmColorKey::J3DAnmColorKey() { field_0x2c = 0; field_0x30 = 0; field_0x34 = 0; field_0x38 = 0; field_0x3c = 0; } /* 8032AB54-8032AE18 325494 02C4+00 1/0 0/0 0/0 .text getColor__14J3DAnmColorKeyCFUsP8_GXColor */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void J3DAnmColorKey::getColor(u16 param_0, _GXColor* param_1) const { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/getColor__14J3DAnmColorKeyCFUsP8_GXColor.s" } #pragma pop /* 8032AE18-8032AED8 325758 00C0+00 0/0 1/1 0/0 .text __ct__15J3DAnmTevRegKeyFv */ // matches with literals #ifdef NONMATCHING J3DAnmTevRegKey::J3DAnmTevRegKey() : J3DAnmBase(0) { mKRegUpdateMaterialNum = 0; mCRegUpdateMaterialNum = 0; field_0x16 = 0; field_0x14 = 0; field_0x12 = 0; field_0x10 = 0; field_0x1e = 0; field_0x1c = 0; field_0x1a = 0; field_0x18 = 0; mKRegUpdateMaterialID = 0; mCRegUpdateMaterialID = 0; field_0x5c = 0; field_0x58 = 0; field_0x54 = 0; field_0x50 = 0; field_0x6c = 0; field_0x68 = 0; field_0x64 = 0; field_0x60 = 0; } #else #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm J3DAnmTevRegKey::J3DAnmTevRegKey() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__ct__15J3DAnmTevRegKeyFv.s" } #pragma pop #endif /* 8032AED8-8032AF50 325818 0078+00 0/0 2/2 0/0 .text __ct__16J3DAnmTexPatternFv */ // matches with literals #if NONMATCHING J3DAnmTexPattern::J3DAnmTexPattern() : J3DAnmBase(0), field_0xc(NULL), mAnmTable(NULL), field_0x14(0), mUpdateMaterialNum(0), field_0x18(NULL) {} #else #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm J3DAnmTexPattern::J3DAnmTexPattern() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__ct__16J3DAnmTexPatternFv.s" } #pragma pop #endif /* 8032AF50-8032B004 325890 00B4+00 0/0 1/1 72/72 .text getTexNo__16J3DAnmTexPatternCFUsPUs */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void J3DAnmTexPattern::getTexNo(u16 param_0, u16* param_1) const { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/getTexNo__16J3DAnmTexPatternCFUsPUs.s" } #pragma pop /* 8032B004-8032B09C 325944 0098+00 1/1 1/1 0/0 .text * searchUpdateMaterialID__16J3DAnmTexPatternFP16J3DMaterialTable */ void J3DAnmTexPattern::searchUpdateMaterialID(J3DMaterialTable* param_0) { for (u16 i = 0; i < mUpdateMaterialNum; i++) { s32 r3 = param_0->getMaterialName()->getIndex(mUpdateMaterialName.getName(i)); if (r3 != -1) { mUpdateMaterialID[i] = r3; } else { mUpdateMaterialID[i] = -1; } } } /* 8032B09C-8032B0C0 3259DC 0024+00 0/0 4/4 1/1 .text * searchUpdateMaterialID__16J3DAnmTexPatternFP12J3DModelData */ void J3DAnmTexPattern::searchUpdateMaterialID(J3DModelData* param_0) { searchUpdateMaterialID(¶m_0->getMaterialTable()); } /* 8032B0C0-8032B1D4 325A00 0114+00 1/1 1/1 0/0 .text * searchUpdateMaterialID__19J3DAnmTextureSRTKeyFP16J3DMaterialTable */ void J3DAnmTextureSRTKey::searchUpdateMaterialID(J3DMaterialTable* param_0) { for (u16 i = 0; i < u16(mTrackNum / 3); i++) { s32 r3 = param_0->getMaterialName()->getIndex(mUpdateMaterialName.getName(i)); if (r3 != -1) { mUpdateMaterialID[i] = r3; } else { mUpdateMaterialID[i] = -1; } } for (u16 i = 0; i < u16(field_0x4a / 3); i++) { s32 r3 = param_0->getMaterialName()->getIndex(mPostUpdateMaterialName.getName(i)); if (r3 != -1) { mPostUpdateMaterialID[i] = r3; } else { mPostUpdateMaterialID[i] = -1; } } } /* 8032B1D4-8032B1F8 325B14 0024+00 0/0 8/8 6/6 .text * searchUpdateMaterialID__19J3DAnmTextureSRTKeyFP12J3DModelData */ void J3DAnmTextureSRTKey::searchUpdateMaterialID(J3DModelData* param_0) { searchUpdateMaterialID(¶m_0->getMaterialTable()); } /* ############################################################################################## */ /* 8045645C-80456460 004A5C 0004+00 1/1 0/0 0/0 .sdata2 @1817 */ SECTION_SDATA2 static f32 lit_1817 = -1024.0f; /* 80456460-80456468 004A60 0004+04 1/1 0/0 0/0 .sdata2 @1818 */ SECTION_SDATA2 static f32 lit_1818[1 + 1 /* padding */] = { 1023.0f, /* padding */ 0.0f, }; /* 8032B1F8-8032B4BC 325B38 02C4+00 0/0 2/2 1/1 .text * getTevColorReg__15J3DAnmTevRegKeyCFUsP11_GXColorS10 */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void J3DAnmTevRegKey::getTevColorReg(u16 param_0, _GXColorS10* param_1) const { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/getTevColorReg__15J3DAnmTevRegKeyCFUsP11_GXColorS10.s" } #pragma pop /* 8032B4BC-8032B780 325DFC 02C4+00 0/0 1/1 1/1 .text * getTevKonstReg__15J3DAnmTevRegKeyCFUsP8_GXColor */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void J3DAnmTevRegKey::getTevKonstReg(u16 param_0, _GXColor* param_1) const { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/getTevKonstReg__15J3DAnmTevRegKeyCFUsP8_GXColor.s" } #pragma pop /* 8032B780-8032B87C 3260C0 00FC+00 1/1 1/1 0/0 .text * searchUpdateMaterialID__15J3DAnmTevRegKeyFP16J3DMaterialTable */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off asm void J3DAnmTevRegKey::searchUpdateMaterialID(J3DMaterialTable* param_0) { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/searchUpdateMaterialID__15J3DAnmTevRegKeyFP16J3DMaterialTable.s" } #pragma pop /* 8032B87C-8032B8A0 3261BC 0024+00 0/0 9/9 4/4 .text * searchUpdateMaterialID__15J3DAnmTevRegKeyFP12J3DModelData */ void J3DAnmTevRegKey::searchUpdateMaterialID(J3DModelData* param_0) { searchUpdateMaterialID(¶m_0->getMaterialTable()); } /* 8032B8A0-8032BAD4 3261E0 0234+00 6/6 0/0 0/0 .text * J3DGetKeyFrameInterpolation__FfP18J3DAnmKeyTableBasePs */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off 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" } #pragma pop /* 8032BAD4-8032BC50 326414 017C+00 3/3 0/0 0/0 .text * J3DGetKeyFrameInterpolation__FfP18J3DAnmKeyTableBasePf */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off 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" } #pragma pop /* 8032BC50-8032BCAC 326590 005C+00 1/0 0/0 0/0 .text __dt__14J3DAnmVtxColorFv */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off extern "C" asm void __dt__14J3DAnmVtxColorFv() { // asm J3DAnmVtxColor::~J3DAnmVtxColor() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__dt__14J3DAnmVtxColorFv.s" } #pragma pop /* 8032BCAC-8032BD20 3265EC 0074+00 1/0 0/0 0/0 .text __dt__11J3DAnmColorFv */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off extern "C" asm void __dt__11J3DAnmColorFv() { // asm J3DAnmColor::~J3DAnmColor() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__dt__11J3DAnmColorFv.s" } #pragma pop /* 8032BD20-8032BD94 326660 0074+00 1/0 0/0 0/0 .text __dt__16J3DAnmTexPatternFv */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off extern "C" asm void __dt__16J3DAnmTexPatternFv() { // asm J3DAnmTexPattern::~J3DAnmTexPattern() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__dt__16J3DAnmTexPatternFv.s" } #pragma pop /* 8032BD94-8032BD9C 3266D4 0008+00 1/0 0/0 0/0 .text getKind__16J3DAnmTexPatternCFv */ s32 J3DAnmTexPattern::getKind() const { return 2; } /* 8032BD9C-8032BE24 3266DC 0088+00 1/0 0/0 0/0 .text __dt__15J3DAnmTevRegKeyFv */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off extern "C" asm void __dt__15J3DAnmTevRegKeyFv() { // asm J3DAnmTevRegKey::~J3DAnmTevRegKey() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__dt__15J3DAnmTevRegKeyFv.s" } #pragma pop /* 8032BE24-8032BE2C 326764 0008+00 1/0 0/0 0/0 .text getKind__15J3DAnmTevRegKeyCFv */ s32 J3DAnmTevRegKey::getKind() const { return 5; } /* 8032BE2C-8032BEB0 32676C 0084+00 1/0 0/0 0/0 .text __dt__14J3DAnmColorKeyFv */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off extern "C" asm void __dt__14J3DAnmColorKeyFv() { // asm J3DAnmColorKey::~J3DAnmColorKey() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__dt__14J3DAnmColorKeyFv.s" } #pragma pop /* 8032BEB0-8032BEB8 3267F0 0008+00 1/0 0/0 0/0 .text getKind__14J3DAnmColorKeyCFv */ s32 J3DAnmColorKey::getKind() const { return 11; } /* 8032BEB8-8032BF3C 3267F8 0084+00 1/0 0/0 0/0 .text __dt__15J3DAnmColorFullFv */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off extern "C" asm void __dt__15J3DAnmColorFullFv() { // asm J3DAnmColorFull::~J3DAnmColorFull() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__dt__15J3DAnmColorFullFv.s" } #pragma pop /* 8032BF3C-8032BF44 32687C 0008+00 1/0 0/0 0/0 .text getKind__15J3DAnmColorFullCFv */ s32 J3DAnmColorFull::getKind() const { return 10; } /* 8032BF44-8032BF4C 326884 0008+00 1/0 0/0 0/0 .text getKind__11J3DAnmColorCFv */ s32 J3DAnmColor::getKind() const { return 1; } /* 8032BF4C-8032BF50 32688C 0004+00 1/0 0/0 0/0 .text getColor__11J3DAnmColorCFUsP8_GXColor */ void J3DAnmColor::getColor(u16 param_0, _GXColor* param_1) const { /* empty function */ } /* 8032BF50-8032BFBC 326890 006C+00 1/0 0/0 0/0 .text __dt__17J3DAnmVtxColorKeyFv */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off extern "C" asm void __dt__17J3DAnmVtxColorKeyFv() { // asm J3DAnmVtxColorKey::~J3DAnmVtxColorKey() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__dt__17J3DAnmVtxColorKeyFv.s" } #pragma pop /* 8032BFBC-8032BFC4 3268FC 0008+00 1/0 0/0 0/0 .text getKind__17J3DAnmVtxColorKeyCFv */ s32 J3DAnmVtxColorKey::getKind() const { return 15; } /* 8032BFC4-8032C030 326904 006C+00 1/0 0/0 0/0 .text __dt__18J3DAnmVtxColorFullFv */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off extern "C" asm void __dt__18J3DAnmVtxColorFullFv() { // asm J3DAnmVtxColorFull::~J3DAnmVtxColorFull() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__dt__18J3DAnmVtxColorFullFv.s" } #pragma pop /* 8032C030-8032C038 326970 0008+00 1/0 0/0 0/0 .text getKind__18J3DAnmVtxColorFullCFv */ s32 J3DAnmVtxColorFull::getKind() const { return 14; } /* 8032C038-8032C040 326978 0008+00 1/0 0/0 0/0 .text getKind__14J3DAnmVtxColorCFv */ s32 J3DAnmVtxColor::getKind() const { return 7; } /* 8032C040-8032C044 326980 0004+00 1/0 0/0 0/0 .text getColor__14J3DAnmVtxColorCFUcUsP8_GXColor */ void J3DAnmVtxColor::getColor(u8 param_0, u16 param_1, _GXColor* param_2) const { /* empty function */ } /* 8032C044-8032C0B0 326984 006C+00 1/0 0/0 0/0 .text __dt__16J3DAnmClusterKeyFv */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off extern "C" asm void __dt__16J3DAnmClusterKeyFv() { // asm J3DAnmClusterKey::~J3DAnmClusterKey() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__dt__16J3DAnmClusterKeyFv.s" } #pragma pop /* 8032C0B0-8032C0B8 3269F0 0008+00 1/0 0/0 0/0 .text getKind__16J3DAnmClusterKeyCFv */ s32 J3DAnmClusterKey::getKind() const { return 13; } /* 8032C0B8-8032C114 3269F8 005C+00 1/0 0/0 0/0 .text __dt__13J3DAnmClusterFv */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off extern "C" asm void __dt__13J3DAnmClusterFv() { // asm J3DAnmCluster::~J3DAnmCluster() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__dt__13J3DAnmClusterFv.s" } #pragma pop /* 8032C114-8032C11C 326A54 0008+00 1/0 0/0 0/0 .text getKind__13J3DAnmClusterCFv */ s32 J3DAnmCluster::getKind() const { return 3; } /* 8032C11C-8032C124 326A5C 0008+00 1/0 0/0 0/0 .text getWeight__13J3DAnmClusterCFUs */ f32 J3DAnmCluster::getWeight(u16 param_0) const { return lit_852; } /* 8032C124-8032C190 326A64 006C+00 1/0 0/0 0/0 .text __dt__17J3DAnmClusterFullFv */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off extern "C" asm void __dt__17J3DAnmClusterFullFv() { // asm J3DAnmClusterFull::~J3DAnmClusterFull() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__dt__17J3DAnmClusterFullFv.s" } #pragma pop /* 8032C190-8032C198 326AD0 0008+00 1/0 0/0 0/0 .text getKind__17J3DAnmClusterFullCFv */ s32 J3DAnmClusterFull::getKind() const { return 12; } /* 8032C198-8032C220 326AD8 0088+00 1/0 0/0 0/0 .text __dt__19J3DAnmTextureSRTKeyFv */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off extern "C" asm void __dt__19J3DAnmTextureSRTKeyFv() { // asm J3DAnmTextureSRTKey::~J3DAnmTextureSRTKey() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__dt__19J3DAnmTextureSRTKeyFv.s" } #pragma pop /* 8032C220-8032C228 326B60 0008+00 1/0 0/0 0/0 .text getKind__19J3DAnmTextureSRTKeyCFv */ s32 J3DAnmTextureSRTKey::getKind() const { return 4; } /* ############################################################################################## */ /* 803CEE34-803CEE48 02BF54 0014+00 1/1 1/1 0/0 .data __vt__27J3DAnmTransformFullWithLerp */ SECTION_DATA extern void* __vt__27J3DAnmTransformFullWithLerp[5] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__27J3DAnmTransformFullWithLerpFv, (void*)getKind__27J3DAnmTransformFullWithLerpCFv, (void*)getTransform__27J3DAnmTransformFullWithLerpCFUsP16J3DTransformInfo, }; /* 803CEE48-803CEE60 02BF68 0014+04 2/2 1/1 0/0 .data __vt__19J3DAnmTransformFull */ SECTION_DATA extern void* __vt__19J3DAnmTransformFull[5 + 1 /* padding */] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__19J3DAnmTransformFullFv, (void*)getKind__19J3DAnmTransformFullCFv, (void*)getTransform__19J3DAnmTransformFullCFUsP16J3DTransformInfo, /* padding */ NULL, }; /* 8032C228-8032C2A4 326B68 007C+00 1/0 0/0 0/0 .text __dt__27J3DAnmTransformFullWithLerpFv */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off extern "C" asm void __dt__27J3DAnmTransformFullWithLerpFv() { // asm J3DAnmTransformFullWithLerp::~J3DAnmTransformFullWithLerp() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__dt__27J3DAnmTransformFullWithLerpFv.s" } #pragma pop /* 8032C2A4-8032C2AC 326BE4 0008+00 1/0 0/0 0/0 .text getKind__27J3DAnmTransformFullWithLerpCFv */ s32 J3DAnmTransformFullWithLerp::getKind() const { return 16; } /* 8032C2AC-8032C318 326BEC 006C+00 1/0 0/0 0/0 .text __dt__19J3DAnmTransformFullFv */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off extern "C" asm void __dt__19J3DAnmTransformFullFv() { // asm J3DAnmTransformFull::~J3DAnmTransformFull() { nofralloc #include "asm/JSystem/J3DGraphAnimator/J3DAnimation/__dt__19J3DAnmTransformFullFv.s" } #pragma pop /* 8032C318-8032C320 326C58 0008+00 1/0 0/0 0/0 .text getKind__19J3DAnmTransformFullCFv */ s32 J3DAnmTransformFull::getKind() const { return 9; }