sub_0807CA18.c: ok

This commit is contained in:
Ibot02
2021-09-27 01:24:47 +02:00
parent f97701bd69
commit 47397297d3
5 changed files with 69 additions and 183 deletions
+23 -4
View File
@@ -22,7 +22,8 @@ typedef enum {
extern SaveResult HandleSave(u32 arg0);
typedef struct {
/*0x000*/ u8 filler0[0x2];
/*0x000*/ u8 unk_00;
/*0x000*/ u8 unk_01;
/*0x002*/ u8 messageSpeed;
/*0x003*/ u8 brightnessPref;
/*0x004*/ u8 filler4[0x2];
@@ -35,13 +36,23 @@ typedef struct {
/*0x050*/ u32 unk50;
/*0x054*/ u8 filler54[0x2C];
/*0x080*/ u8 playerName[FILENAME_LENGTH];
/*0x086*/ u8 filler86[0x22];
/*0x086*/ u8 filler86[0x2];
/*0x088*/ u8 unk_88;
/*0x089*/ u8 unk_89;
/*0x08A*/ u8 unk_8A;
/*0x08B*/ u8 unk_8B;
/*0x08C*/ u16 unk_8C;
/*0x08E*/ u16 unk_8E;
/*0x08F*/ u8 unk_8F;
/*0x090*/ u8 filler91[0x15];
/*0x0A8*/ Stats stats;
/*0x0D0*/ u8 fillerD0[0x71];
/*0x141*/ u8 unk141[0x34f];
/*0x490*/ u32 unk490;
/*0x494*/ u32 unk494;
/*0x498*/ u8 filler498[0x1C];
/*0x498*/ u8 filler498[0x10];
/*0x4a8*/ u32 unk_4a8;
/*0x4ac*/ u8 filler4ac[0x8];
} SaveFile;
extern SaveFile gSave;
@@ -53,4 +64,12 @@ s32 ReadSaveFile(u32, SaveFile*);
u32 Read_02000000(struct_02000000*);
void SetFileStatusDeleted(u32 index);
#endif
extern const char gUnk_0811E470[];
#ifdef DEMO
extern const u8* const demoPointers[];
extern const u8 demoUnknown1[];
#endif
#endif