Decompile osPfsInitPak

This commit is contained in:
Ryan Dwyer
2021-03-24 21:51:52 +10:00
parent 040b13e4aa
commit f423db1753
20 changed files with 253 additions and 442 deletions
+1 -1
View File
@@ -4,6 +4,6 @@
#include "data.h"
#include "types.h"
s32 func00006330(struct var800a3180 *arg0, u32 arg1);
s32 func00006330(OSPfs *pfs, u32 arg1);
#endif
+10 -4
View File
@@ -4,9 +4,15 @@
#include "data.h"
#include "types.h"
s32 func00006550(struct var800a3180 *arg0, u16 company_code, u32 game_code, u8 *game_name, u8 *ext_name, u32 numbytes);
s32 func00006d60(OSMesgQueue *mq, struct var800a3180 *arg1, s32 channel, s32 arg3);
u32 func00006f98(void);
u32 func00007084(void);
s32 func00006550(OSPfs *pfs, u16 company_code, u32 game_code, u8 *game_name, u8 *ext_name, u32 numbytes);
#if VERSION >= VERSION_NTSC_1_0
s32 osPfsInitPak(OSMesgQueue *mq, OSPfs *pfs, s32 channel, s32 *arg3);
#else
s32 osPfsInitPak(OSMesgQueue *mq, OSPfs *pfs, s32 channel);
#endif
s32 func00006f98(OSPfs *pfs);
s32 func00007084(OSPfs *pfs);
#endif
+3 -3
View File
@@ -5,9 +5,9 @@
#include "types.h"
u32 func0004c090(void);
u32 func0004c104(void);
u32 func0004c200(void);
u32 func0004c550(void);
s32 __osIdCheckSum(u16 *ptr, u16 *csum, u16 *icsum);
s32 __osRepairPackId(OSPfs *pfs, __OSPackId *badid, __OSPackId *newid);
s32 __osCheckPackId(OSPfs *pfs, __OSPackId *temp);
u32 func0004c6b4(void);
u32 func0004c860(void);
u32 func0004c934(void);
+1 -1
View File
@@ -4,6 +4,6 @@
#include "data.h"
#include "types.h"
s32 func0004ce60(struct var800a3180 *arg0, s32 *arg1);
s32 func0004ce60(OSPfs *pfs, s32 *arg1);
#endif
+1 -1
View File
@@ -4,7 +4,7 @@
#include "data.h"
#include "types.h"
u32 func0004d480(struct var800a3180 *arg0, u16 company_code, u32 game_code, char *game_name, char *ext_name);
u32 func0004d480(OSPfs *pfs, u16 company_code, u32 game_code, char *game_name, char *ext_name);
u32 func0004d658(void);
#endif
+1 -1
View File
@@ -4,7 +4,7 @@
#include "data.h"
#include "types.h"
u32 func0004d6f0(void);
s32 osPfsChecker(OSPfs *pfs);
u32 func0004dc28(void);
u32 func0004def4(void);
u32 func0004e090(void);
+2 -2
View File
@@ -4,9 +4,9 @@
#include "data.h"
#include "types.h"
void func0004f5e0(struct var800a3180 *arg0, u32 arg1);
void func0004f5e0(OSPfs *pfs, u32 arg1);
u32 func0004f748(void);
bool func0004f854(OSMesgQueue *mq, struct var800a3180 *arg1, s32 arg2);
bool func0004f854(OSMesgQueue *mq, OSPfs *pfs, s32 arg2);
u32 func0004f9b0(void);
u32 func0004fbc0(void);
u32 func0004fbf0(void);
+1 -1
View File
@@ -4,6 +4,6 @@
#include "data.h"
#include "types.h"
s32 func00050d60(struct var800a3180 *arg0, char *arg1, u8 *arg2);
s32 func00050d60(OSPfs *pfs, char *arg1, u8 *arg2);
#endif
+1 -1
View File
@@ -4,6 +4,6 @@
#include "data.h"
#include "types.h"
s32 func000513b0(struct var800a3180 *arg0, bool arg1, u16 arg2, char *arg3, u16 arg4);
s32 func000513b0(OSPfs *pfs, bool arg1, u16 arg2, char *arg3, u16 arg4);
#endif