Decompile mpsetupfileLoad

This commit is contained in:
Ryan Dwyer
2021-09-13 23:58:01 +10:00
parent fcecbb557b
commit b2278c2850
16 changed files with 142 additions and 208 deletions
+1 -1
View File
@@ -302,7 +302,7 @@ extern u8 g_MpSimulantDifficultiesPerNumPlayers[32];
extern struct mpplayer g_MpPlayers[6];
extern u8 g_AmBotCommands[16];
extern struct mpsetup g_MpSetup;
extern struct savefile_setup g_MpSetupSaveFile;
extern struct mpsetupfile g_MpSetupFile;
extern struct chrdata *g_MpSimulantChrs[MAX_SIMULANTS];
#endif
+1 -1
View File
@@ -22,7 +22,7 @@ void func0f0d55a4(struct savebuffer *buffer, char *src);
void func0f0d564c(u8 *data, char *dst, bool addlinebreak);
void func0f0d5690(u8 *dst, char *buffer);
void func0f0d575c(struct savebuffer *buffer, u32 *arg1);
void func0f0d579c(struct savebuffer *buffer, u32 *arg1);
void func0f0d579c(struct savebuffer *buffer, struct maybesavelocation_2d8 *arg1);
void formatTime(char *dst, s32 time, u32 arg2);
void func0f0d5a7c(void);
+1 -1
View File
@@ -6,7 +6,7 @@
bool func0f1106c8(void);
u32 func0f110720(void);
u32 func0f11080c(void);
void mpsetupfileLoad(void);
void func0f1109c0(void);
void func0f110b68(void);
void func0f110bf0(void);
-13
View File
@@ -13,18 +13,5 @@ void gamefileLoadDefaults(struct gamefile *file);
s32 gamefileLoad(s32 arg0);
s32 gamefileSave(s32 arg0, s32 arg1, u16 arg2);
void gamefileGetOverview(char *arg0, char *name, u8 *stage, u8 *difficulty, u32 *time);
bool func0f1106c8(void);
u32 func0f110720(void);
u32 func0f11080c(void);
void func0f1109c0(void);
void func0f110b68(void);
void func0f110bf0(void);
void func0f110bf8(void);
void func0f110c5c(s32 listnum, u8 filetype);
u8 func0f110cf8(u8 arg0);
u32 func0f110d90(void);
void func0f110da8(void);
u32 func0f110f4c(void);
struct textureconfig *func0f111460(s32 playernum, s32 arg1, s32 arg2);
#endif
+7 -2
View File
@@ -4539,6 +4539,11 @@ struct savelocation_2d8 {
u16 unk04;
};
struct maybesavelocation_2d8 {
u32 unk00;
u16 unk04;
};
struct mpplayer {
/*0x00*/ struct mpchr base;
/*0x48*/ u16 options;
@@ -4614,14 +4619,14 @@ struct mpsetup {
/*0x800acba8*/ struct savelocation_2d8 unk20;
};
struct savefile_setup {
struct mpsetupfile {
/*0x00*/ char teamnames[8][12];
/*0x60*/ u8 locktype;
/*0x61*/ u8 unk89;
/*0x62*/ u8 usingmultipletunes;
/*0x63*/ u8 unk8b;
/*0x64*/ s8 tracknum; // -1 = random
/*0x8d*/ u8 multipletracknums[5];
/*0x8d*/ u8 multipletracknums[6];
};
struct savebuffer {