Decompile savebufferWriteBits

This commit is contained in:
Ryan Dwyer
2021-09-07 21:46:38 +10:00
parent e772542a76
commit 34c01d739e
8 changed files with 151 additions and 159 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ Gfx *func0f0d49c8(Gfx *gdl);
u32 func0f0d4a3c(void);
u32 func0f0d4c80(void);
u32 func0f0d4d0c(void);
void savefileGetSomething(s32 *arg0, s32 arg1, s32 arg2);
void savebufferWriteBits(struct savebuffer *buffer, u32 arg1, s32 arg2);
u32 func0f0d5360(void);
u32 savebufferReadBits(struct savebuffer *buffer, s32 offset);
void savebufferClear(struct savebuffer *buffer);
+4 -4
View File
@@ -27,8 +27,8 @@ 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(struct savebuffer *buffer);
void scenarioKohCallback44(s32 *arg0);
void scenarioKohReadSave(struct savebuffer *buffer);
void scenarioKohWriteSave(struct savebuffer *buffer);
void scenarioKohInit(void);
void scenarioKohReset(void);
void scenarioKohKill(struct mpchr *mpchr, s32 mpchrnum, s32 *score, s32 *arg3);
@@ -45,8 +45,8 @@ 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(struct savebuffer *buffer);
void scenarioCallback44(s32 *arg0);
void scenarioReadSave(struct savebuffer *buffer);
void scenarioWriteSave(struct savebuffer *buffer);
void scenarioInit(void);
s32 scenarioCallback08(void);
void scenarioReset(void);
+2 -2
View File
@@ -4633,8 +4633,8 @@ struct mpscenario {
bool (*isroomhighlightedfunc)(s16 room);
void (*unk38)(s16 arg0, s32 *arg1, s32 *arg2, s32 *arg3);
void *unk3c;
void (*unk40)(struct savebuffer *buffer);
void (*unk44)(s32 *arg0);
void (*readsavefunc)(struct savebuffer *buffer);
void (*writesavefunc)(struct savebuffer *buffer);
};
struct mpscenariooverview {