Decompile pak0f11df94

This commit is contained in:
Ryan Dwyer
2021-09-24 22:06:13 +10:00
parent efedc63e9d
commit 4a243d88da
9 changed files with 239 additions and 408 deletions
+28
View File
@@ -3068,6 +3068,34 @@
#define PADFLAG_8000 0x8000
#define PADFLAG_10000 0x10000
#define PAK010_00 0
#define PAK010_01 1
#define PAK010_02 2
#define PAK010_03 3
#define PAK010_04 4
#define PAK010_05 5
#define PAK010_06 6
#define PAK010_07 7
#define PAK010_08 8
#define PAK010_09 9
#define PAK010_10 10
#define PAK010_11 11
#define PAK010_12 12
#define PAK010_13 13
#define PAK010_14 14
#define PAK010_15 15
#define PAK010_16 16
#define PAK010_17 17
#define PAK010_18 18
#define PAK010_19 19
#define PAK010_20 20
#define PAK010_21 21
#define PAK010_22 22
#define PAK010_24 24
#define PAK010_25 25
#define PAK010_26 26
#define PAK010_27 27
#define PAKERROR_OK 0
#define PAKERROR_EEPROM_MISSING 0x80
#define PAKERROR_EEPROM_READFAILED 0x81
+1 -1
View File
@@ -46,7 +46,7 @@ extern s32 g_SoundMode;
extern s32 var8005ddd4;
extern struct audiorussmapping g_AudioRussMappings[];
extern struct audioconfig g_AudioConfigs[];
extern u32 var8005eedc;
extern bool var8005eedc;
extern f32 var8005ef10[2];
extern u32 var8005ef20;
extern s32 g_NumGlobalAilists;
+2 -2
View File
@@ -33,8 +33,8 @@ u32 func0f14ab3c(void);
u32 func0f14ad14(s8 device);
u8 func0f14ad38(s8 device);
u32 func0f14ad58(void);
u32 func0f14aea0(void);
u32 func0f14aed0(void);
bool func0f14aea0(s8 device);
void func0f14aed0(s32 device);
u32 func0f14b178(void);
u32 func0f14b228(void);
u32 func0f14b394(void);
+3 -3
View File
@@ -12,7 +12,7 @@ void menuPlaySound(s32 menusound);
bool menuIsSoloMissionOrMp(void);
bool currentPlayerIsMenuOpenInSoloOrMp(void);
bool func0f0f0c68(void);
void func0f0f0ca0(s32 value, ubool allplayers);
void func0f0f0ca0(s32 value, bool allplayers);
u32 func0f0f0ce8(void);
struct menudfc *func0f0f1338(struct menuitem *item);
void func0f0f139c(struct menuitem *item, f32 arg1);
@@ -78,8 +78,8 @@ u32 menuGetRoot(void);
u32 func0f0fce8c(void);
char *menuTextSaveDeviceName(struct menuitem *item);
u32 func0f0fd118(u32 arg0);
bool func0f0fd1f4(u32 arg0, u32 arg1);
u32 func0f0fd320(void);
bool func0f0fd1f4(s32 device, s32 arg1);
void func0f0fd320(s8 device, s32 arg1);
void func0f0fd494(struct coord *pos);
void func0f0fd548(s32 arg0);
bool menuIsDialogOpen(struct menudialog *dialog);
+2 -2
View File
@@ -89,8 +89,8 @@ void pakInit(s8 arg0);
s32 pakReadWriteBlock(s8 device, OSPfs *pfs, s32 file_no, u8 flag, u32 address, u32 len, u8 *buffer);
s32 pak0f11a574(s8 device);
void pakUpdateSize(s8 device);
u32 pak0f11a8f4(void);
u32 pak0f11ac7c(void);
void pak0f11a8f4(s8 device);
void pak0f11ac7c(s8 device);
void pakWipe(s8 device, u32 start, u32 end);
void pakSaveHeaderToCache(s8 device, s32 blocknum, struct pakfileheader *header);
bool pakRetrieveHeaderFromCache(s8 device, s32 blocknum, struct pakfileheader *header);
+1 -1
View File
@@ -5035,7 +5035,7 @@ struct pak {
/*0x004*/ u32 rumblestate;
/*0x008*/ u32 unk008;
/*0x00c*/ u32 unk00c;
/*0x010*/ u32 unk010;
/*0x010*/ s32 unk010;
/*0x014*/ u8 unk014;
/*0x018*/ struct pakdata pakdata;
/*0x25c*/ u32 nextfileid;