Decompile func0f0fa574

This commit is contained in:
Ryan Dwyer
2022-01-22 21:45:51 +10:00
parent f75d662f50
commit 0482ccf7ae
3 changed files with 43 additions and 383 deletions
+18 -205
View File
@@ -3922,218 +3922,31 @@ struct perfectheadtexturelist {
struct textureconfig selectedtexture;
};
struct menu4fc {
s16 unk00;
u8 unk02;
s8 handlerdataindex;
};
struct menu660 {
u16 unk00;
u16 unk02;
u16 unk04;
u16 unk06;
u8 unk08;
};
struct menu {
#if VERSION >= VERSION_NTSC_1_0
struct menuframe frames[10];
#else
struct menuframe frames[9];
#endif
struct menuframe frames[VERSION >= VERSION_NTSC_1_0 ? 10 : 9];
/*0x460*/ s16 numframes;
/*0x464*/ struct menulayer layers[6];
/*0x4f4*/ s16 depth; // index into layers. 1-indexed?
/*0x4f8*/ struct menuframe *curframe;
/*0x4fc*/ s16 unk4fc[1][2];
/*0x500*/ u32 unk500;
/*0x504*/ u32 unk504;
/*0x508*/ u32 unk508;
/*0x50c*/ u32 unk50c;
/*0x510*/ u32 unk510;
/*0x514*/ u32 unk514;
/*0x518*/ u32 unk518;
/*0x51c*/ u32 unk51c;
/*0x520*/ u32 unk520;
/*0x524*/ u32 unk524;
/*0x528*/ u32 unk528;
/*0x52c*/ u32 unk52c;
/*0x530*/ u32 unk530;
/*0x534*/ u32 unk534;
/*0x538*/ u32 unk538;
/*0x53c*/ u32 unk53c;
/*0x540*/ u32 unk540;
/*0x544*/ u32 unk544;
/*0x548*/ u32 unk548;
/*0x54c*/ u32 unk54c;
/*0x550*/ u32 unk550;
/*0x554*/ u32 unk554;
/*0x558*/ u32 unk558;
/*0x55c*/ u32 unk55c;
/*0x560*/ u32 unk560;
/*0x564*/ u32 unk564;
/*0x568*/ u32 unk568;
/*0x56c*/ u32 unk56c;
/*0x570*/ u32 unk570;
/*0x574*/ u32 unk574;
/*0x578*/ u32 unk578;
/*0x57c*/ u32 unk57c;
/*0x580*/ u32 unk580;
/*0x584*/ u32 unk584;
/*0x588*/ u32 unk588;
/*0x58c*/ u32 unk58c;
/*0x590*/ u32 unk590;
/*0x594*/ u32 unk594;
/*0x598*/ u32 unk598;
/*0x59c*/ u32 unk59c;
/*0x5a0*/ u32 unk5a0;
/*0x5a4*/ u32 unk5a4;
/*0x5a8*/ u32 unk5a8;
/*0x5ac*/ u32 unk5ac;
/*0x5b0*/ u32 unk5b0;
/*0x5b4*/ u32 unk5b4;
/*0x5b8*/ u32 unk5b8;
/*0x5bc*/ u32 unk5bc;
/*0x5c0*/ u32 unk5c0;
/*0x5c4*/ u32 unk5c4;
/*0x5c8*/ u32 unk5c8;
/*0x5cc*/ u32 unk5cc;
/*0x5d0*/ u32 unk5d0;
/*0x5d4*/ u32 unk5d4;
/*0x5d8*/ u32 unk5d8;
/*0x5dc*/ u32 unk5dc;
/*0x5e0*/ u32 unk5e0;
/*0x5e4*/ u32 unk5e4;
/*0x5e8*/ u32 unk5e8;
/*0x5ec*/ u32 unk5ec;
/*0x5f0*/ u32 unk5f0;
/*0x5f4*/ u32 unk5f4;
/*0x5f8*/ u32 unk5f8;
/*0x5fc*/ u32 unk5fc;
/*0x600*/ u32 unk600;
/*0x604*/ u32 unk604;
/*0x608*/ u32 unk608;
/*0x60c*/ u32 unk60c;
/*0x610*/ u32 unk610;
/*0x614*/ u32 unk614;
/*0x618*/ u32 unk618;
/*0x61c*/ u32 unk61c;
/*0x620*/ u32 unk620;
/*0x624*/ u32 unk624;
/*0x628*/ u32 unk628;
/*0x62c*/ u32 unk62c;
/*0x630*/ u32 unk630;
/*0x634*/ u32 unk634;
/*0x638*/ u32 unk638;
#if VERSION >= VERSION_NTSC_1_0
/*0x63c*/ u32 unk63c;
/*0x640*/ u32 unk640;
/*0x644*/ u32 unk644;
/*0x648*/ u32 unk648;
/*0x64c*/ u32 unk64c;
/*0x650*/ u32 unk650;
/*0x654*/ u32 unk654;
/*0x658*/ u32 unk658;
#endif
/*0x4fc*/ struct menu4fc unk4fc[VERSION >= VERSION_NTSC_1_0 ? 88 : 80];
/*0x65c*/ s32 unk65c;
/*0x660*/ u16 unk660[1][5]; // length unknown
/*0x66c*/ u32 unk66c;
/*0x670*/ u32 unk670;
/*0x674*/ u32 unk674;
/*0x678*/ u32 unk678;
/*0x67c*/ u32 unk67c;
/*0x680*/ u32 unk680;
/*0x684*/ u32 unk684;
/*0x688*/ u32 unk688;
/*0x68c*/ u32 unk68c;
/*0x690*/ u32 unk690;
/*0x694*/ u32 unk694;
/*0x698*/ u32 unk698;
/*0x69c*/ u32 unk69c;
/*0x6a0*/ u32 unk6a0;
/*0x6a4*/ u32 unk6a4;
/*0x6a8*/ u32 unk6a8;
/*0x6ac*/ u32 unk6ac;
/*0x6b0*/ u32 unk6b0;
/*0x6b4*/ u32 unk6b4;
/*0x6b8*/ u32 unk6b8;
/*0x6bc*/ u32 unk6bc;
/*0x6c0*/ u32 unk6c0;
#if VERSION >= VERSION_NTSC_1_0
/*0x6c4*/ u32 unk6c4;
/*0x6c8*/ u32 unk6c8;
/*0x6cc*/ u32 unk6cc;
/*0x6d0*/ u32 unk6d0;
/*0x6d4*/ u32 unk6d4;
#endif
/*0x660*/ struct menu660 unk660[VERSION >= VERSION_NTSC_1_0 ? 12 : 10];
/*0x6d8*/ s32 unk6d8;
/*0x6dc*/ u32 unk6dc;
/*0x6e0*/ u32 unk6e0;
/*0x6e4*/ u32 unk6e4;
/*0x6e8*/ u32 unk6e8;
/*0x6ec*/ u32 unk6ec;
/*0x6f0*/ u32 unk6f0;
/*0x6f4*/ u32 unk6f4;
/*0x6f8*/ u32 unk6f8;
/*0x6fc*/ u32 unk6fc;
/*0x700*/ u32 unk700;
/*0x704*/ u32 unk704;
/*0x708*/ u32 unk708;
/*0x70c*/ u32 unk70c;
/*0x710*/ u32 unk710;
/*0x714*/ u32 unk714;
/*0x718*/ u32 unk718;
/*0x71c*/ u32 unk71c;
/*0x720*/ u32 unk720;
/*0x724*/ u32 unk724;
/*0x728*/ u32 unk728;
/*0x72c*/ u32 unk72c;
/*0x730*/ u32 unk730;
/*0x734*/ u32 unk734;
/*0x738*/ u32 unk738;
/*0x73c*/ u32 unk73c;
/*0x740*/ u32 unk740;
/*0x744*/ u32 unk744;
/*0x748*/ u32 unk748;
/*0x74c*/ u32 unk74c;
/*0x750*/ u32 unk750;
/*0x754*/ u32 unk754;
/*0x758*/ u32 unk758;
/*0x75c*/ u32 unk75c;
/*0x760*/ u32 unk760;
/*0x764*/ u32 unk764;
/*0x768*/ u32 unk768;
/*0x76c*/ u32 unk76c;
/*0x770*/ u32 unk770;
/*0x774*/ u32 unk774;
/*0x778*/ u32 unk778;
/*0x77c*/ u32 unk77c;
/*0x780*/ u32 unk780;
/*0x784*/ u32 unk784;
/*0x788*/ u32 unk788;
/*0x78c*/ u32 unk78c;
/*0x790*/ u32 unk790;
/*0x794*/ u32 unk794;
/*0x798*/ u32 unk798;
/*0x79c*/ u32 unk79c;
/*0x7a0*/ u32 unk7a0;
/*0x7a4*/ u32 unk7a4;
/*0x7a8*/ u32 unk7a8;
/*0x7ac*/ u32 unk7ac;
/*0x7b0*/ u32 unk7b0;
/*0x7b4*/ u32 unk7b4;
/*0x7b8*/ u32 unk7b8;
/*0x7bc*/ u32 unk7bc;
/*0x7c0*/ u32 unk7c0;
/*0x7c4*/ u32 unk7c4;
/*0x7c8*/ u32 unk7c8;
/*0x7cc*/ u32 unk7cc;
/*0x7d0*/ u32 unk7d0;
/*0x7d4*/ u32 unk7d4;
/*0x7d8*/ u32 unk7d8;
/*0x7dc*/ u32 unk7dc;
/*0x7e0*/ u32 unk7e0;
/*0x7e4*/ u32 unk7e4;
/*0x7e8*/ u32 unk7e8;
/*0x7ec*/ u32 unk7ec;
/*0x7f0*/ u32 unk7f0;
/*0x7f4*/ u32 unk7f4;
/*0x7f8*/ u32 unk7f8;
/*0x7fc*/ u32 unk7fc;
/*0x800*/ u32 unk800;
/*0x804*/ u32 unk804;
/*0x808*/ u32 unk808;
/*0x80c*/ u32 unk80c;
/*0x810*/ u32 unk810;
/*0x814*/ u32 unk814;
/*0x818*/ u32 unk818;
/*0x6dc*/ u32 handlerdatabuffer[80];
/*0x81c*/ s32 unk81c;
/*0x820*/ u32 unk820;
/*0x824*/ u32 unk824;