Decompile func0f1097d0

This commit is contained in:
Ryan Dwyer
2020-11-05 17:08:02 +10:00
parent 425c4468da
commit 0a44fbbd32
10 changed files with 222 additions and 319 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ extern struct menudialog g_4MbMainMenu;
extern struct menudialog menudialog_mpdropout;
extern struct menudialog g_MpEditSimulant4MbMenuDialog;
extern struct menudialog g_4MbAdvancedSetupMenuDialog;
extern struct savelocation *g_SaveLocations[];
extern struct var80075bc0 g_SaveLocations;
extern u32 var80075bd0;
extern u32 var80075be0;
extern struct var80075c00 var80075c00[];
+2 -2
View File
@@ -22,9 +22,9 @@ u32 func0f108d8c(void);
char *pakMenuTextPleaseInsertOriginalPak(struct menuitem *item);
void func0f109038(s32 arg0);
u32 func0f1091e0(void);
bool func0f1094e4(bool *saved, s32 arg1, u32 arg2);
bool func0f1094e4(bool *saved, s32 arg1, void *arg2);
u32 pakDeleteFile(void);
u32 func0f1097d0(void);
void func0f1097d0(s32 device);
u32 func0f109954(void);
u32 func0f1099a8(void);
void func0f109a68(char *name);
+1 -1
View File
@@ -660,7 +660,7 @@ extern u32 g_CheatsActiveBank1;
extern u32 g_CheatsEnabledBank0;
extern u32 g_CheatsEnabledBank1;
extern u32 var800a21e0;
extern u32 var800a21e8;
extern struct savelocation_2d8 var800a21e8;
extern u32 var800a21f0;
extern struct savefile_solo g_SoloSaveFile;
extern u32 var800a22c0;
+12 -12
View File
@@ -4699,14 +4699,16 @@ struct mparena {
u16 name;
};
struct savelocation_2d8 {
u32 unk00;
u16 unk04;
};
struct savelocation {
/*0x000*/ struct savelocation00 *unk000;
/*0x004*/ u32 unk004;
/*0x008*/ u32 unk008;
/*0x00c*/ u32 unk00c;
/*0x010*/ u32 unk010;
/*0x014*/ u32 unk014;
/*0x018*/ u32 unk018;
/*0x00c*/ u32 unk00c[4];
/*0x01c*/ u32 unk01c;
/*0x020*/ u32 unk020;
/*0x024*/ u32 unk024;
@@ -4882,14 +4884,7 @@ struct savelocation {
/*0x2cc*/ u32 unk2cc;
/*0x2d0*/ u16 unk2d0;
/*0x2d2*/ s8 spacesfree[4];
/*0x2d8*/ u32 unk2d8;
/*0x2dc*/ u32 unk2dc;
/*0x2e0*/ u32 unk2e0;
/*0x2e4*/ u32 unk2e4;
/*0x2e8*/ u32 unk2e8;
/*0x2ec*/ u32 unk2ec;
/*0x2f0*/ u32 unk2f0;
/*0x2f4*/ u32 unk2f4;
/*0x2d8*/ struct savelocation_2d8 unk2d8[4];
/*0x2f8*/ u32 unk2f8;
/*0x2fc*/ u32 unk2fc;
/*0x300*/ u32 unk300;
@@ -4901,6 +4896,11 @@ struct savelocation {
/*0x30c*/ u8 unk30c; // inuse?
};
struct var80075bc0 {
struct savelocation *locations[4];
bool unk10[4];
};
struct challenge {
/*0x00*/ u16 name;
/*0x02*/ s16 confignum;