mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-29 02:30:44 -04:00
Decompile pakRetrieveHeaderFromCache
This commit is contained in:
@@ -93,7 +93,7 @@ u32 pak0f11a8f4(void);
|
||||
u32 pak0f11ac7c(void);
|
||||
void pakWipe(s8 device, u32 start, u32 end);
|
||||
void pak0f11b178(s8 device, u32 arg1, u8 *arg2);
|
||||
u32 pak0f11b488(s8 device, u32 arg1, struct pakfileheader *header);
|
||||
bool pakRetrieveHeaderFromCache(s8 device, s32 alignmult, struct pakfileheader *header);
|
||||
s32 pakScrub(s8 device);
|
||||
bool pak0f11b75c(s8 device, u32 *arg1);
|
||||
s32 pak0f11b86c(s32 device, u32 uVar2, u8 *data, struct pakfileheader *header, s32 arg3);
|
||||
|
||||
+7
-2
@@ -5020,6 +5020,11 @@ struct pakdata {
|
||||
/*0x242*/ u16 pagesfree;
|
||||
};
|
||||
|
||||
struct pakheadercache {
|
||||
u32 alignmult;
|
||||
u8 payload[0x20];
|
||||
};
|
||||
|
||||
struct pak {
|
||||
/*0x000*/ s32 unk000;
|
||||
/*0x004*/ u32 unk004;
|
||||
@@ -5063,8 +5068,8 @@ struct pak {
|
||||
/*0x2bb*/ u8 unk2bb;
|
||||
/*0x2bc*/ u8 unk2bc;
|
||||
/*0x2bd*/ u8 unk2bd;
|
||||
/*0x2be*/ u8 unk2be;
|
||||
/*0x2c0*/ void *unk2c0; // pointer to something with len 0x708
|
||||
/*0x2be*/ u8 headercachecount;
|
||||
/*0x2c0*/ struct pakheadercache *headercache;
|
||||
/*0x2c4*/ u8 *unk2c4; // len 4096
|
||||
#if VERSION >= VERSION_NTSC_1_0
|
||||
/*0x2c8*/ u32 unk2c8;
|
||||
|
||||
Reference in New Issue
Block a user