Attempt to decompile menuRenderModels

This commit is contained in:
Ryan Dwyer
2022-01-29 18:52:46 +10:00
parent b7550f19d9
commit 019c972924
20 changed files with 1172 additions and 1415 deletions
+2 -368
View File
@@ -23,7 +23,7 @@ void creditsInitSlides(void);
struct credit *creditGetByRow(s32 row);
void creditsTickSlide(void);
Gfx *func0f13a3ec(Gfx *gdl);
u32 func0f13ae04(void);
void func0f13ae04(Mtxf *mtx);
void creditsTick(void);
Gfx *creditsRender(Gfx *gdl);
void creditsInit(void);
@@ -66,373 +66,7 @@ struct creditsdata {
/*0x2eed*/ u8 unk2eed;
/*0x2eee*/ u8 unk2eee;
/*0x2eef*/ u8 unk2eef;
/*0x2ef0*/ u8 unk2ef0;
/*0x2ef4*/ u32 unk2ef4;
/*0x2ef8*/ u32 unk2ef8;
/*0x2efc*/ u32 unk2efc;
/*0x2f00*/ u32 unk2f00;
/*0x2f04*/ u32 unk2f04;
/*0x2f08*/ u32 unk2f08;
/*0x2f0c*/ u32 unk2f0c;
/*0x2f10*/ u32 unk2f10;
/*0x2f14*/ u32 unk2f14;
/*0x2f18*/ u32 unk2f18;
/*0x2f1c*/ u32 unk2f1c;
/*0x2f20*/ u32 unk2f20;
/*0x2f24*/ u32 unk2f24;
/*0x2f28*/ u32 unk2f28;
/*0x2f2c*/ u32 unk2f2c;
/*0x2f30*/ u32 unk2f30;
/*0x2f34*/ u32 unk2f34;
/*0x2f38*/ u32 unk2f38;
/*0x2f3c*/ u32 unk2f3c;
/*0x2f40*/ u32 unk2f40;
/*0x2f44*/ u32 unk2f44;
/*0x2f48*/ u32 unk2f48;
/*0x2f4c*/ u32 unk2f4c;
/*0x2f50*/ u32 unk2f50;
/*0x2f54*/ u32 unk2f54;
/*0x2f58*/ u32 unk2f58;
/*0x2f5c*/ u32 unk2f5c;
/*0x2f60*/ u32 unk2f60;
/*0x2f64*/ u32 unk2f64;
/*0x2f68*/ u32 unk2f68;
/*0x2f6c*/ u32 unk2f6c;
/*0x2f70*/ u32 unk2f70;
/*0x2f74*/ u32 unk2f74;
/*0x2f78*/ u32 unk2f78;
/*0x2f7c*/ u32 unk2f7c;
/*0x2f80*/ u32 unk2f80;
/*0x2f84*/ u32 unk2f84;
/*0x2f88*/ u32 unk2f88;
/*0x2f8c*/ u32 unk2f8c;
/*0x2f90*/ u32 unk2f90;
/*0x2f94*/ u32 unk2f94;
/*0x2f98*/ u32 unk2f98;
/*0x2f9c*/ u32 unk2f9c;
/*0x2fa0*/ u32 unk2fa0;
/*0x2fa4*/ u32 unk2fa4;
/*0x2fa8*/ u32 unk2fa8;
/*0x2fac*/ u32 unk2fac;
/*0x2fb0*/ u32 unk2fb0;
/*0x2fb4*/ u32 unk2fb4;
/*0x2fb8*/ u32 unk2fb8;
/*0x2fbc*/ u32 unk2fbc;
/*0x2fc0*/ u32 unk2fc0;
/*0x2fc4*/ u32 unk2fc4;
/*0x2fc8*/ u32 unk2fc8;
/*0x2fcc*/ u32 unk2fcc;
/*0x2fd0*/ u32 unk2fd0;
/*0x2fd4*/ u32 unk2fd4;
/*0x2fd8*/ u32 unk2fd8;
/*0x2fdc*/ u32 unk2fdc;
/*0x2fe0*/ u32 unk2fe0;
/*0x2fe4*/ u32 unk2fe4;
/*0x2fe8*/ u32 unk2fe8;
/*0x2fec*/ u32 unk2fec;
/*0x2ff0*/ u32 unk2ff0;
/*0x2ff4*/ u32 unk2ff4;
/*0x2ff8*/ u32 unk2ff8;
/*0x2ffc*/ u32 unk2ffc;
/*0x3000*/ u32 unk3000;
/*0x3004*/ u32 unk3004;
/*0x3008*/ u32 unk3008;
/*0x300c*/ u32 unk300c;
/*0x3010*/ u32 unk3010;
/*0x3014*/ u32 unk3014;
/*0x3018*/ u32 unk3018;
/*0x301c*/ u32 unk301c;
/*0x3020*/ u32 unk3020;
/*0x3024*/ u32 unk3024;
/*0x3028*/ u32 unk3028;
/*0x302c*/ u32 unk302c;
/*0x3030*/ u32 unk3030;
/*0x3034*/ u32 unk3034;
/*0x3038*/ u32 unk3038;
/*0x303c*/ u32 unk303c;
/*0x3040*/ u32 unk3040;
/*0x3044*/ u32 unk3044;
/*0x3048*/ u32 unk3048;
/*0x304c*/ u32 unk304c;
/*0x3050*/ u32 unk3050;
/*0x3054*/ u32 unk3054;
/*0x3058*/ u32 unk3058;
/*0x305c*/ u32 unk305c;
/*0x3060*/ u32 unk3060;
/*0x3064*/ u32 unk3064;
/*0x3068*/ u32 unk3068;
/*0x306c*/ u32 unk306c;
/*0x3070*/ u32 unk3070;
/*0x3074*/ u32 unk3074;
/*0x3078*/ u32 unk3078;
/*0x307c*/ u32 unk307c;
/*0x3080*/ u32 unk3080;
/*0x3084*/ u32 unk3084;
/*0x3088*/ u32 unk3088;
/*0x308c*/ u32 unk308c;
/*0x3090*/ u32 unk3090;
/*0x3094*/ u32 unk3094;
/*0x3098*/ u32 unk3098;
/*0x309c*/ u32 unk309c;
/*0x30a0*/ u32 unk30a0;
/*0x30a4*/ u32 unk30a4;
/*0x30a8*/ u32 unk30a8;
/*0x30ac*/ u32 unk30ac;
/*0x30b0*/ u32 unk30b0;
/*0x30b4*/ u32 unk30b4;
/*0x30b8*/ u32 unk30b8;
/*0x30bc*/ u32 unk30bc;
/*0x30c0*/ u32 unk30c0;
/*0x30c4*/ u32 unk30c4;
/*0x30c8*/ u32 unk30c8;
/*0x30cc*/ u32 unk30cc;
/*0x30d0*/ u32 unk30d0;
/*0x30d4*/ u32 unk30d4;
/*0x30d8*/ u32 unk30d8;
/*0x30dc*/ u32 unk30dc;
/*0x30e0*/ u32 unk30e0;
/*0x30e4*/ u32 unk30e4;
/*0x30e8*/ u32 unk30e8;
/*0x30ec*/ u32 unk30ec;
/*0x30f0*/ u32 unk30f0;
/*0x30f4*/ u32 unk30f4;
/*0x30f8*/ u32 unk30f8;
/*0x30fc*/ u32 unk30fc;
/*0x3100*/ u32 unk3100;
/*0x3104*/ u32 unk3104;
/*0x3108*/ u32 unk3108;
/*0x310c*/ u32 unk310c;
/*0x3110*/ u32 unk3110;
/*0x3114*/ u32 unk3114;
/*0x3118*/ u32 unk3118;
/*0x311c*/ u32 unk311c;
/*0x3120*/ u32 unk3120;
/*0x3124*/ u32 unk3124;
/*0x3128*/ u32 unk3128;
/*0x312c*/ u32 unk312c;
/*0x3130*/ u32 unk3130;
/*0x3134*/ u32 unk3134;
/*0x3138*/ u32 unk3138;
/*0x313c*/ u32 unk313c;
/*0x3140*/ u32 unk3140;
/*0x3144*/ u32 unk3144;
/*0x3148*/ u32 unk3148;
/*0x314c*/ u32 unk314c;
/*0x3150*/ u32 unk3150;
/*0x3154*/ u32 unk3154;
/*0x3158*/ u32 unk3158;
/*0x315c*/ u32 unk315c;
/*0x3160*/ u32 unk3160;
/*0x3164*/ u32 unk3164;
/*0x3168*/ u32 unk3168;
/*0x316c*/ u32 unk316c;
/*0x3170*/ u32 unk3170;
/*0x3174*/ u32 unk3174;
/*0x3178*/ u32 unk3178;
/*0x317c*/ u32 unk317c;
/*0x3180*/ u32 unk3180;
/*0x3184*/ u32 unk3184;
/*0x3188*/ u32 unk3188;
/*0x318c*/ u32 unk318c;
/*0x3190*/ u32 unk3190;
/*0x3194*/ u32 unk3194;
/*0x3198*/ u32 unk3198;
/*0x319c*/ u32 unk319c;
/*0x31a0*/ u32 unk31a0;
/*0x31a4*/ u32 unk31a4;
/*0x31a8*/ u32 unk31a8;
/*0x31ac*/ u32 unk31ac;
/*0x31b0*/ u32 unk31b0;
/*0x31b4*/ u32 unk31b4;
/*0x31b8*/ u32 unk31b8;
/*0x31bc*/ u32 unk31bc;
/*0x31c0*/ u32 unk31c0;
/*0x31c4*/ u32 unk31c4;
/*0x31c8*/ u32 unk31c8;
/*0x31cc*/ u32 unk31cc;
/*0x31d0*/ u32 unk31d0;
/*0x31d4*/ u32 unk31d4;
/*0x31d8*/ u32 unk31d8;
/*0x31dc*/ u32 unk31dc;
/*0x31e0*/ u32 unk31e0;
/*0x31e4*/ u32 unk31e4;
/*0x31e8*/ u32 unk31e8;
/*0x31ec*/ u32 unk31ec;
/*0x31f0*/ u32 unk31f0;
/*0x31f4*/ u32 unk31f4;
/*0x31f8*/ u32 unk31f8;
/*0x31fc*/ u32 unk31fc;
/*0x3200*/ u32 unk3200;
/*0x3204*/ u32 unk3204;
/*0x3208*/ u32 unk3208;
/*0x320c*/ u32 unk320c;
/*0x3210*/ u32 unk3210;
/*0x3214*/ u32 unk3214;
/*0x3218*/ u32 unk3218;
/*0x321c*/ u32 unk321c;
/*0x3220*/ u32 unk3220;
/*0x3224*/ u32 unk3224;
/*0x3228*/ u32 unk3228;
/*0x322c*/ u32 unk322c;
/*0x3230*/ u32 unk3230;
/*0x3234*/ u32 unk3234;
/*0x3238*/ u32 unk3238;
/*0x323c*/ u32 unk323c;
/*0x3240*/ u32 unk3240;
/*0x3244*/ u32 unk3244;
/*0x3248*/ u32 unk3248;
/*0x324c*/ u32 unk324c;
/*0x3250*/ u32 unk3250;
/*0x3254*/ u32 unk3254;
/*0x3258*/ u32 unk3258;
/*0x325c*/ u32 unk325c;
/*0x3260*/ u32 unk3260;
/*0x3264*/ u32 unk3264;
/*0x3268*/ u32 unk3268;
/*0x326c*/ u32 unk326c;
/*0x3270*/ u32 unk3270;
/*0x3274*/ u32 unk3274;
/*0x3278*/ u32 unk3278;
/*0x327c*/ u32 unk327c;
/*0x3280*/ u32 unk3280;
/*0x3284*/ u32 unk3284;
/*0x3288*/ u32 unk3288;
/*0x328c*/ u32 unk328c;
/*0x3290*/ u32 unk3290;
/*0x3294*/ u32 unk3294;
/*0x3298*/ u32 unk3298;
/*0x329c*/ u32 unk329c;
/*0x32a0*/ u32 unk32a0;
/*0x32a4*/ u32 unk32a4;
/*0x32a8*/ u32 unk32a8;
/*0x32ac*/ u32 unk32ac;
/*0x32b0*/ u32 unk32b0;
/*0x32b4*/ u32 unk32b4;
/*0x32b8*/ u32 unk32b8;
/*0x32bc*/ u32 unk32bc;
/*0x32c0*/ u32 unk32c0;
/*0x32c4*/ u32 unk32c4;
/*0x32c8*/ u32 unk32c8;
/*0x32cc*/ u32 unk32cc;
/*0x32d0*/ u32 unk32d0;
/*0x32d4*/ u32 unk32d4;
/*0x32d8*/ u32 unk32d8;
/*0x32dc*/ u32 unk32dc;
/*0x32e0*/ u32 unk32e0;
/*0x32e4*/ u32 unk32e4;
/*0x32e8*/ u32 unk32e8;
/*0x32ec*/ u32 unk32ec;
/*0x32f0*/ u32 unk32f0;
/*0x32f4*/ u32 unk32f4;
/*0x32f8*/ u32 unk32f8;
/*0x32fc*/ u32 unk32fc;
/*0x3300*/ u32 unk3300;
/*0x3304*/ u32 unk3304;
/*0x3308*/ u32 unk3308;
/*0x330c*/ u32 unk330c;
/*0x3310*/ u32 unk3310;
/*0x3314*/ u32 unk3314;
/*0x3318*/ u32 unk3318;
/*0x331c*/ u32 unk331c;
/*0x3320*/ u32 unk3320;
/*0x3324*/ u32 unk3324;
/*0x3328*/ u32 unk3328;
/*0x332c*/ u32 unk332c;
/*0x3330*/ u32 unk3330;
/*0x3334*/ u32 unk3334;
/*0x3338*/ u32 unk3338;
/*0x333c*/ u32 unk333c;
/*0x3340*/ u32 unk3340;
/*0x3344*/ u32 unk3344;
/*0x3348*/ u32 unk3348;
/*0x334c*/ u32 unk334c;
/*0x3350*/ u32 unk3350;
/*0x3354*/ u32 unk3354;
/*0x3358*/ u32 unk3358;
/*0x335c*/ u32 unk335c;
/*0x3360*/ u32 unk3360;
/*0x3364*/ u32 unk3364;
/*0x3368*/ u32 unk3368;
/*0x336c*/ u32 unk336c;
/*0x3370*/ u32 unk3370;
/*0x3374*/ u32 unk3374;
/*0x3378*/ u32 unk3378;
/*0x337c*/ u32 unk337c;
/*0x3380*/ u32 unk3380;
/*0x3384*/ u32 unk3384;
/*0x3388*/ u32 unk3388;
/*0x338c*/ u32 unk338c;
/*0x3390*/ u32 unk3390;
/*0x3394*/ u32 unk3394;
/*0x3398*/ u32 unk3398;
/*0x339c*/ u32 unk339c;
/*0x33a0*/ u32 unk33a0;
/*0x33a4*/ u32 unk33a4;
/*0x33a8*/ u32 unk33a8;
/*0x33ac*/ u32 unk33ac;
/*0x33b0*/ u32 unk33b0;
/*0x33b4*/ u32 unk33b4;
/*0x33b8*/ u32 unk33b8;
/*0x33bc*/ u32 unk33bc;
/*0x33c0*/ u32 unk33c0;
/*0x33c4*/ u32 unk33c4;
/*0x33c8*/ u32 unk33c8;
/*0x33cc*/ u32 unk33cc;
/*0x33d0*/ u32 unk33d0;
/*0x33d4*/ u32 unk33d4;
/*0x33d8*/ u32 unk33d8;
/*0x33dc*/ u32 unk33dc;
/*0x33e0*/ u32 unk33e0;
/*0x33e4*/ u32 unk33e4;
/*0x33e8*/ u32 unk33e8;
/*0x33ec*/ u32 unk33ec;
/*0x33f0*/ u32 unk33f0;
/*0x33f4*/ u32 unk33f4;
/*0x33f8*/ u32 unk33f8;
/*0x33fc*/ u32 unk33fc;
/*0x3400*/ f32 unk3400;
/*0x3404*/ f32 unk3404;
/*0x3408*/ u32 unk3408;
/*0x340c*/ f32 unk340c;
/*0x3410*/ f32 unk3410;
/*0x3414*/ f32 unk3414;
/*0x3418*/ f32 unk3418;
/*0x341c*/ u32 unk341c;
/*0x3420*/ u32 unk3420;
/*0x3424*/ u32 unk3424;
/*0x3428*/ f32 unk3428;
/*0x342c*/ f32 unk342c;
/*0x3430*/ f32 unk3430;
/*0x3434*/ f32 unk3434;
/*0x3438*/ f32 unk3438;
/*0x343c*/ f32 unk343c;
/*0x3440*/ f32 unk3440;
/*0x3444*/ u32 unk3444;
/*0x3448*/ u32 unk3448;
/*0x344c*/ u32 unk344c;
/*0x3450*/ u32 unk3450;
/*0x3454*/ u32 unk3454;
/*0x3458*/ u32 unk3458;
/*0x345c*/ u32 unk345c;
/*0x3460*/ u32 unk3460;
/*0x3464*/ u32 unk3464;
/*0x3468*/ u32 unk3468;
/*0x346c*/ u32 unk346c;
/*0x3470*/ u32 unk3470;
/*0x3474*/ u32 unk3474;
/*0x3478*/ u32 unk3478;
/*0x347c*/ u32 unk347c;
/*0x3480*/ u32 unk3480;
/*0x3484*/ u32 unk3484;
/*0x3488*/ u32 unk3488;
/*0x348c*/ u32 unk348c;
/*0x3490*/ u32 unk3490;
/*0x3494*/ u32 unk3494;
/*0x3498*/ u32 unk3498;
/*0x349c*/ u32 unk349c;
/*0x34a0*/ u8 unk34a0;
/*0x34a1*/ u8 unk34a1; // flags?
/*0x34a4*/ u32 unk34a4;
/*0x2ef0*/ struct menu840 unk2ef0;
/*0x34a8*/ u32 unk34a8;
/*0x34ac*/ u32 unk34ac;
/*0x34b0*/ u32 unk34b0;
+1 -1
View File
@@ -27,7 +27,7 @@ s32 func0f00e1f8(s32 padnum);
s32 func0f00e2b0(s32 padnum);
void setupDoor(struct doorobj *door, s32 cmdindex);
void setupHov(struct defaultobj *obj, struct hov *hov);
void func0f00e980(s32 stagenum, s32 arg0, s32 arg1, struct briefing *briefing);
void func0f00e980(s32 stagenum, u8 *arg0, s32 arg1, struct briefing *briefing);
void setupLoadFiles(s32 stagenum);
void setupParseObjects(s32 stagenum);
+2 -2
View File
@@ -32,8 +32,8 @@ void currentPlayerSetUnk1754(Mtxf *matrix);
Mtxf *currentPlayerGetUnk1754(void);
void currentPlayerSetUnk174c(Mtxf *matrix);
Mtxf *currentPlayerGetUnk174c(void);
void currentPlayerSetUnk175c(void *value);
void *currentPlayerGetUnk175c(void);
void currentPlayerSetUnk175c(Mtxf *matrix);
Mtxf *currentPlayerGetUnk175c(void);
f32 currentPlayerGetLodScaleZ(void);
f32 currentPlayerGetScreenWidth(void);
f32 currentPlayerGetScreenHeight(void);
+4 -4
View File
@@ -56,9 +56,9 @@ void menuCloseDialog(void);
void menuUpdateCurFrame(void);
void menuPopDialog(void);
void func0f0f3704(struct menudialogdef *dialogdef);
void func0f0f372c(u8 *arg0, f32 x, f32 y, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, s32 arg8);
void func0f0f37a4(u8 *arg0);
Gfx *menuRenderHudPiece(Gfx *gdl, u8 *arg1, u32 arg2);
void func0f0f372c(struct menu840 *arg0, f32 x, f32 y, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, s32 arg8);
void func0f0f37a4(struct menu840 *arg0);
Gfx *menuRenderModels(Gfx *gdl, struct menu840 *arg1, s32 arg2);
u32 func0f0f5004(void);
Gfx *menuApplyScissor(Gfx *gdl);
Gfx *dialogRender(Gfx *gdl, struct menudialog *dialog, struct menu *menu, s32 arg3);
@@ -75,7 +75,7 @@ void menuPushRootDialog(struct menudialogdef *dialogdef, s32 arg1);
void func0f0f85e0(struct menudialogdef *dialogdef, s32 root);
Gfx *menuRenderDialog(Gfx *gdl, struct menudialog *dialog, struct menu *menu, s32 arg3);
Gfx *menuRenderDialogs(Gfx *gdl);
void func0f0f8bb4(u8 *arg0, u32 arg1, u32 arg2);
void func0f0f8bb4(struct menu840 *arg0, u32 arg1, u32 arg2);
void menuInit(void);
void menuSwipe(s32 direction);
void dialogTick(struct menudialog *dialog, struct menuinputs *inputs, u32 tickflags);
+6 -6
View File
@@ -34,11 +34,11 @@ f32 model0001afe8(f32 arg0, f32 angle, f32 frac);
void model0001b07c(struct coord *arg0, struct coord *arg1, f32 mult);
void model0001b0e8(struct model *model, struct modelnode *node);
void model0001b3bc(struct model *model);
void model0001b400(struct objticksp476 *arg0, struct model *model, struct modelnode *node);
void model0001b400(struct modelrenderdata *arg0, struct model *model, struct modelnode *node);
u32 model0001b80c(void);
u32 model0001bc14(void);
void model0001bfa8(struct objticksp476 *arg0, struct model *model, struct modelnode *node);
void model0001c5b4(struct objticksp476 *arg0, struct model *model, struct modelnode *node);
void model0001bfa8(struct modelrenderdata *arg0, struct model *model, struct modelnode *node);
void model0001c5b4(struct modelrenderdata *arg0, struct model *model, struct modelnode *node);
void model0001c664(struct model *model, struct modelnode *node);
void model0001c784(struct model *model, struct modelnode *node);
void model0001c7d0(struct model *model, struct modelnode *node);
@@ -48,9 +48,9 @@ void modelRenderNodeReorder(struct model *model, struct modelnode *node);
void model0001c950(struct model *model, struct modelnode *node);
void model0001cb0c(struct model *model, struct modelnode *node);
void model0001cc20(struct model *model);
void model0001cd18(struct objticksp476 *arg0, struct model *model);
void model0001ce64(struct objticksp476 *arg0, struct model *model);
void model0001cebc(struct objticksp476 *arg0, struct model *model);
void model0001cd18(struct modelrenderdata *arg0, struct model *model);
void model0001ce64(struct modelrenderdata *arg0, struct model *model);
void model0001cebc(struct modelrenderdata *renderdata, struct model *model);
s16 modelGetAnimNum(struct model *model);
bool modelIsFlipped(struct model *model);
f32 modelGetCurAnimFrame(struct model *model);
+332 -771
View File
File diff suppressed because it is too large Load Diff