Decompile pakListFileToCopyMenuHandler

This commit is contained in:
Ryan Dwyer
2020-11-06 17:15:59 +10:00
parent 0ca1dbbc91
commit e6689d1a79
5 changed files with 49 additions and 92 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ u32 func0f0d5484(void);
u32 func0f0d54c4(void);
u32 func0f0d54e4(void);
u32 func0f0d55a4(void);
void func0f0d564c(s32 arg0, char *buffer, s32 arg2);
void func0f0d564c(char *arg0, char *buffer, s32 arg2);
u32 func0f0d5690(void);
u32 func0f0d575c(void);
u32 func0f0d579c(void);
+5 -5
View File
@@ -5,11 +5,11 @@
char *getSaveLocationName(s32 index);
char *pakMenuTextLocationName(struct menuitem *item);
void func0f1080d0(char *buffer, u32 ar1, u32 arg2);
void func0f1080d0(char *buffer, struct savelocation000 *arg1, u32 arg2);
char *func0f1082b0(struct menuitem *item);
void func0f108324(s32 arg0);
u32 func0f1083b0(void);
void func0f1083d0(s32 arg0, s32 arg1);
void func0f1083d0(struct savelocation000 *arg0, s32 arg1);
char *pakMenuTextFailReason(struct menuitem *item);
u32 func0f108550(void);
void func0f10865c(u16 arg0);
@@ -26,7 +26,7 @@ bool func0f1094e4(struct savelocation_2d8 *arg0, s32 arg1, void *arg2);
u32 pakDeleteFile(void);
void func0f1097d0(s32 device);
void func0f109954(s32 arg0);
void func0f1099a8(char *buffer, s32 arg1);
void func0f1099a8(char *buffer, struct savelocation000 *arg1);
void func0f109a68(char *buffer);
void func0f109bb4(char *name);
u32 func0f109c8c(void);
@@ -39,7 +39,7 @@ void func0f10a51c(s32 arg0, u32 arg1);
char *pakMenuTextDeleteErrorDescription(struct menuitem *item);
u32 func0f10a630(void);
u32 func0f10a97c(void);
u32 func0f10aad8(void);
s32 func0f10aad8(u32 operation, struct menuitem *item, union handlerdata *data, u32 arg3);
void func0f10b0c4(u32 arg0);
char *pakMenuTextPagesFree(struct menuitem *item);
char *pakMenuTextPagesUsed(struct menuitem *item);
@@ -49,7 +49,7 @@ bool pakConsiderPushingFileSelectMenuDialog(void);
void pakPushPakMenuDialog(void);
s32 menucustomChooseAgent(u32 operation, struct menuitem *item, union handlerdata *data);
s32 menucustomDeleteGameNote(u32 operation, struct menuitem *item, union handlerdata *data);
s32 menucustomFileToCopy(u32 operation, struct menuitem *item, union handlerdata *data);
s32 pakListFileToCopyMenuHandler(u32 operation, struct menuitem *item, union handlerdata *data);
s32 menucustomFileToDelete(u32 operation, struct menuitem *item, union handlerdata *data);
s32 menudialog00108e58(u32 operation, struct menudialog *dialog, union handlerdata *data);
s32 menudialog0010b014(u32 operation, struct menudialog *dialog, union handlerdata *data);
+1 -1
View File
@@ -100,7 +100,7 @@ u32 func0f18d1b8(void);
u32 func0f18d238(void);
u32 func0f18d2b8(void);
u32 func0f18d5c4(void);
void func0f18d9a4(s32 arg0, char *buffer, u32 *arg2);
void func0f18d9a4(char *arg0, char *buffer, u32 *arg2);
u32 func0f18d9fc(void);
u32 func0f18dac0(void);
u32 mpGetNumPresets(void);
+12 -5
View File
@@ -4500,7 +4500,7 @@ struct menu {
/*0xe30*/ u32 unke30;
/*0xe34*/ u16 unke34; // I/O error code
/*0xe38*/ u32 unke38;
/*0xe38*/ struct savelocation000 *unke38;
/*0xe3c*/ u8 unke3c;
/*0xe3d*/ u8 unke3d;
/*0xe3e*/ u8 unke3e;
@@ -4701,11 +4701,18 @@ struct mparena {
u16 name;
};
struct savelocation000 {
u32 unk00;
u16 unk04;
char unk06[6]; // length unknown
u32 unk0c;
u32 unk10;
u32 unk14;
};
struct savelocation {
/*0x000*/ struct savelocation00 *unk000;
/*0x004*/ u32 unk004;
/*0x008*/ u32 unk008;
/*0x00c*/ u32 unk00c[4];
/*0x000*/ struct savelocation000 unk000[1];
/*0x018*/ u32 unk018;
/*0x01c*/ u32 unk01c;
/*0x020*/ u32 unk020;
/*0x024*/ u32 unk024;