Decompile func0f0d5484

This commit is contained in:
Ryan Dwyer
2021-09-07 18:02:09 +10:00
parent ee092c838d
commit 10940a285b
8 changed files with 119 additions and 138 deletions
+3 -3
View File
@@ -13,11 +13,11 @@ u32 func0f0d4c80(void);
u32 func0f0d4d0c(void);
void savefileGetSomething(s32 *arg0, s32 arg1, s32 arg2);
u32 func0f0d5360(void);
s32 savefileGetInteger(s32 *arg0, s32 arg1);
s32 savebufferGetInteger(struct savebuffer *buffer, s32 offset);
u32 func0f0d545c(void);
void func0f0d5484(s32 *arg0, char *arg1, s32 arg2);
void func0f0d5484(struct savebuffer *buffer, u8 *data, u8 len);
u32 func0f0d54c4(void);
void func0f0d54e4(s32 *arg0, char *arg1, s32 arg2);
void func0f0d54e4(struct savebuffer *buffer, char *arg1, s32 arg2);
u32 func0f0d55a4(void);
void func0f0d564c(char *arg0, char *buffer, s32 arg2);
void func0f0d5690(void *arg0, char *buffer);
+2 -15
View File
@@ -27,7 +27,7 @@ bool scenarioCtcChooseSpawnLocation(f32 arg0, struct coord *pos, s16 *rooms, str
s32 scenarioCtcGetMaxTeams(void);
bool scenarioCtcIsRoomHighlighted(s16 room);
s32 menuhandlerMpHillTime(s32 operation, struct menuitem *item, union handlerdata *data);
void scenarioKohCallback40(s32 *arg0);
void scenarioKohCallback40(struct savebuffer *buffer);
void scenarioKohCallback44(s32 *arg0);
void scenarioKohInit(void);
void scenarioKohReset(void);
@@ -45,20 +45,7 @@ void scenarioPacReset(void);
void scenarioPacKill(struct mpchr *mpchr, s32 mpchrnum, s32 *score, s32 *arg3);
Gfx *scenarioPacRadar(Gfx *gdl);
s32 menuhandlerMpOpenOptions(s32 operation, struct menuitem *item, union handlerdata *data);
void scenarioCallback40(s32 *arg0);
void scenarioCallback44(s32 *arg0);
void scenarioInit(void);
s32 scenarioCallback08(void);
void scenarioReset(void);
void scenarioTick(void);
void scenarioCallback14(struct chrdata *chr);
Gfx *scenarioRadar(Gfx *gdl);
bool scenarioRadar2(Gfx **gdl, struct prop *prop);
f32 scenarioChooseSpawnLocation(f32 arg0, struct coord *pos, s16 *rooms, struct prop *prop);
s32 scenarioGetMaxTeams(void);
void scenarioCallback38(s16 arg0, s32 *arg1, s32 *arg2, s32 *arg3);
s32 menuhandlerMpOpenOptions(s32 operation, struct menuitem *item, union handlerdata *data);
void scenarioCallback40(s32 *arg0);
void scenarioCallback40(struct savebuffer *buffer);
void scenarioCallback44(s32 *arg0);
void scenarioInit(void);
s32 scenarioCallback08(void);
+6 -1
View File
@@ -4611,6 +4611,11 @@ struct savefile_setup {
/*0x8d*/ u8 multipletracknums[5];
};
struct savebuffer {
s32 word; // checksum?
u8 bytes[220];
};
struct mpscenario {
struct menudialog *optionsdialog;
void (*initfunc)(void);
@@ -4628,7 +4633,7 @@ struct mpscenario {
bool (*isroomhighlightedfunc)(s16 room);
void (*unk38)(s16 arg0, s32 *arg1, s32 *arg2, s32 *arg3);
void *unk3c;
void (*unk40)(s32 *arg0);
void (*unk40)(struct savebuffer *buffer);
void (*unk44)(s32 *arg0);
};