Attempt to decompile pakRepairAsBlank

This commit is contained in:
Ryan Dwyer
2021-09-19 19:40:39 +10:00
parent ebddc3c937
commit b602a01091
3 changed files with 336 additions and 437 deletions
+1 -1
View File
@@ -3073,7 +3073,7 @@
#define PAKERROR_EEPROM_INVALIDARG 0x84
#define PAKFILETYPE_001 0x001
#define PAKFILETYPE_002 0x002
#define PAKFILETYPE_BLANK 0x002
#define PAKFILETYPE_TERMINATOR 0x004
#define PAKFILETYPE_008 0x008 // suspected to be PerfectHead
#define PAKFILETYPE_BOSS 0x010
+2 -2
View File
@@ -7,7 +7,7 @@
u32 pakGetAlignment(s8 device);
u32 pakAlign(s8 device, u32 size);
s32 pakGetAlignedFileLenByBodyLen(s8 device, s32 bodylen);
u32 pak0f116684(u32 arg0);
u32 pak0f116684(u32 filelen);
u32 pakGenerateSerial(s8 device);
bool pakIsConnected(s8 device);
s32 pak0f1167b0(s8 device, u32 filetype, u32 *buffer1024);
@@ -77,7 +77,7 @@ s32 pakFindFile(s8 device, u32 fileid, struct pakfileheader *header);
#if VERSION >= VERSION_NTSC_FINAL
bool pak0f119478(u32 arg0, u32 arg1, u32 *arg2);
#endif
u32 pak0f1194e0(s8 arg0, u32 *arg1, u32 arg2);
bool pakRepairAsBlank(s8 device, u32 *arg1, struct pakfileheader *header);
u32 pak0f11970c(void);
void pakCorrupt(void);
u32 pak0f119e8c(void);