Decompile menuhandlerMpNumberOfSimulants, menuhandlerMpSimulantsPerTeam and attempt to decompile menuhandlerPlayerNTeam

This commit is contained in:
Ryan Dwyer
2020-03-08 17:52:20 +10:00
parent 6d9f0e686a
commit 4069e45e15
6 changed files with 518 additions and 408 deletions
+3 -3
View File
@@ -65,9 +65,9 @@ u32 func0f17f088(void);
u32 func0f17f100(void);
u32 func0f17f260(void);
u32 func0f17f428(void);
s32 menuhandler0017f4fc(u32, u32, u32 *);
s32 menuhandlerMpNumberOfSimulants(u32, u32, u32 *);
s32 menuhandlerMpSimulantsPerTeam(u32, u32, u32 *);
s32 menuhandlerPlayerTeam(u32 operation, struct menu_item *item, s32 *value);
u32 menuhandlerMpNumberOfSimulants(u32 operation, struct menu_item *item, s32 *value);
u32 menuhandlerMpSimulantsPerTeam(u32 operation, struct menu_item *item, s32 *value);
s32 menuhandler0017f74c(u32, u32, u32 *);
u32 func0f17fa28(void);
u32 func0f17fcb0(void);
+2 -5
View File
@@ -174,12 +174,9 @@ struct g_vars {
/*000498*/ u32 unk000498;
/*00049c*/ u32 unk00049c;
/*0004a0*/ s32 unk0004a0;
/*0004a4*/ s32 unk0004a4;
/*0004a4*/ s32 mpquickteamnumsims;
/*0004a8*/ s32 unk0004a8;
/*0004ac*/ s8 unk0004ac;
/*0004ad*/ s8 unk0004ad; // initialised to 1
/*0004ae*/ s8 unk0004ae; // initialised to 2
/*0004af*/ s8 unk0004af; // initialised to 3
/*0004ac*/ s8 mpplayerteams[4];
/*0004b0*/ u32 mpquickteam;
/*0004b4*/ s32 stagenum;
/*0004b8*/ struct prop *aibuddies[4];
+2 -24
View File
@@ -4432,30 +4432,8 @@ struct mpsetup {
/*0x8009cba6*/ u8 paused;
/*0x8009cba8*/ bool saved;
/*0x8009cbac*/ u16 unk24;
/*0x800acbb0*/ u32 unk28;
/*0x800acbb4*/ u32 unk2c;
/*0x800acbb8*/ u32 unk30;
/*0x800acbbc*/ u32 unk34;
/*0x800acbc0*/ u32 unk38;
/*0x800acbc4*/ u32 unk3c;
/*0x800acbc8*/ u32 unk40;
/*0x800acbcc*/ u32 unk44;
/*0x800acbd0*/ u32 unk48;
/*0x800acbd4*/ u32 unk4c;
/*0x800acbd8*/ u32 unk50;
/*0x800acbdc*/ u32 unk54;
/*0x800acbe0*/ u32 unk58;
/*0x800acbe4*/ u32 unk5c;
/*0x800acbe8*/ u32 unk60;
/*0x800acbec*/ u32 unk64;
/*0x800acbf0*/ u32 unk68;
/*0x800acbf4*/ u32 unk6c;
/*0x800acbf8*/ u32 unk70;
/*0x800acbfc*/ u32 unk74;
/*0x800acc00*/ u32 unk78;
/*0x800acc04*/ u32 unk7c;
/*0x800acc08*/ u32 unk80;
/*0x800acc0c*/ u32 unk84;
/*0x8009cbae*/ u16 unk26;
/*0x800acbb0*/ char teamnames[8][12];
/*0x800acc10*/ u8 locktype;
/*0x800acc11*/ u8 unk89;
/*0x800acc12*/ u8 usingmultipletunes;