1619 lines
73 KiB
ArmAsm
1619 lines
73 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
|
.global nandCreate
|
|
nandCreate:
|
|
/* 80047E40 00043C80 94 21 FF 90 */ stwu r1, -0x70(r1)
|
|
/* 80047E44 00043C84 7C 08 02 A6 */ mflr r0
|
|
/* 80047E48 00043C88 90 01 00 74 */ stw r0, 0x74(r1)
|
|
/* 80047E4C 00043C8C 39 61 00 70 */ addi r11, r1, 0x70
|
|
/* 80047E50 00043C90 4B FB F4 E9 */ bl lbl_80007338
|
|
/* 80047E54 00043C94 38 00 00 00 */ li r0, 0x0
|
|
/* 80047E58 00043C98 90 01 00 18 */ stw r0, 0x18(r1)
|
|
/* 80047E5C 00043C9C 7C 7A 1B 78 */ mr r26, r3
|
|
/* 80047E60 00043CA0 7C 9B 23 78 */ mr r27, r4
|
|
/* 80047E64 00043CA4 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 80047E68 00043CA8 7C BC 2B 78 */ mr r28, r5
|
|
/* 80047E6C 00043CAC 7C DD 33 78 */ mr r29, r6
|
|
/* 80047E70 00043CB0 7C FE 3B 78 */ mr r30, r7
|
|
/* 80047E74 00043CB4 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 80047E78 00043CB8 7D 1F 43 78 */ mr r31, r8
|
|
/* 80047E7C 00043CBC 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80047E80 00043CC0 90 01 00 28 */ stw r0, 0x28(r1)
|
|
/* 80047E84 00043CC4 90 01 00 2C */ stw r0, 0x2c(r1)
|
|
/* 80047E88 00043CC8 90 01 00 30 */ stw r0, 0x30(r1)
|
|
/* 80047E8C 00043CCC 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80047E90 00043CD0 90 01 00 38 */ stw r0, 0x38(r1)
|
|
/* 80047E94 00043CD4 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
/* 80047E98 00043CD8 90 01 00 40 */ stw r0, 0x40(r1)
|
|
/* 80047E9C 00043CDC 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 80047EA0 00043CE0 90 01 00 48 */ stw r0, 0x48(r1)
|
|
/* 80047EA4 00043CE4 90 01 00 4C */ stw r0, 0x4c(r1)
|
|
/* 80047EA8 00043CE8 90 01 00 50 */ stw r0, 0x50(r1)
|
|
/* 80047EAC 00043CEC 90 01 00 54 */ stw r0, 0x54(r1)
|
|
/* 80047EB0 00043CF0 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 80047EB4 00043CF4 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 80047EB8 00043CF8 90 01 00 08 */ stw r0, 0x8(r1)
|
|
/* 80047EBC 00043CFC 48 00 10 A5 */ bl nandCheckPathName
|
|
/* 80047EC0 00043D00 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80047EC4 00043D04 40 82 00 0C */ bne lbl_80047ED0
|
|
/* 80047EC8 00043D08 38 60 FF 9B */ li r3, -0x65
|
|
/* 80047ECC 00043D0C 48 00 00 9C */ b lbl_80047F68
|
|
.global lbl_80047ED0
|
|
lbl_80047ED0:
|
|
/* 80047ED0 00043D10 7F 44 D3 78 */ mr r4, r26
|
|
/* 80047ED4 00043D14 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 80047ED8 00043D18 48 00 1F 29 */ bl nandGenerateAbsPath
|
|
/* 80047EDC 00043D1C 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 80047EE0 00043D20 40 82 00 1C */ bne lbl_80047EFC
|
|
/* 80047EE4 00043D24 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 80047EE8 00043D28 48 00 1C 89 */ bl nandIsPrivatePath
|
|
/* 80047EEC 00043D2C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80047EF0 00043D30 41 82 00 0C */ beq lbl_80047EFC
|
|
/* 80047EF4 00043D34 38 60 FF 9A */ li r3, -0x66
|
|
/* 80047EF8 00043D38 48 00 00 70 */ b lbl_80047F68
|
|
.global lbl_80047EFC
|
|
lbl_80047EFC:
|
|
/* 80047EFC 00043D3C 57 60 06 F7 */ rlwinm. r0, r27, 0, 27, 27
|
|
/* 80047F00 00043D40 40 82 00 0C */ bne lbl_80047F0C
|
|
/* 80047F04 00043D44 38 60 FF 9B */ li r3, -0x65
|
|
/* 80047F08 00043D48 48 00 00 60 */ b lbl_80047F68
|
|
.global lbl_80047F0C
|
|
lbl_80047F0C:
|
|
/* 80047F0C 00043D4C 7F 63 DB 78 */ mr r3, r27
|
|
/* 80047F10 00043D50 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 80047F14 00043D54 38 A1 00 0C */ addi r5, r1, 0xc
|
|
/* 80047F18 00043D58 38 C1 00 08 */ addi r6, r1, 0x8
|
|
/* 80047F1C 00043D5C 48 00 0C D5 */ bl nandSplitPerm
|
|
/* 80047F20 00043D60 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 80047F24 00043D64 41 82 00 2C */ beq lbl_80047F50
|
|
/* 80047F28 00043D68 3D 00 80 05 */ lis r8, nandCallback@ha
|
|
/* 80047F2C 00043D6C 80 A1 00 10 */ lwz r5, 0x10(r1)
|
|
/* 80047F30 00043D70 80 C1 00 0C */ lwz r6, 0xc(r1)
|
|
/* 80047F34 00043D74 7F 84 E3 78 */ mr r4, r28
|
|
/* 80047F38 00043D78 80 E1 00 08 */ lwz r7, 0x8(r1)
|
|
/* 80047F3C 00043D7C 7F A9 EB 78 */ mr r9, r29
|
|
/* 80047F40 00043D80 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 80047F44 00043D84 39 08 A4 C0 */ addi r8, r8, nandCallback@l
|
|
/* 80047F48 00043D88 48 00 9C 89 */ bl ISFS_CreateFileAsync
|
|
/* 80047F4C 00043D8C 48 00 00 1C */ b lbl_80047F68
|
|
.global lbl_80047F50
|
|
lbl_80047F50:
|
|
/* 80047F50 00043D90 80 A1 00 10 */ lwz r5, 0x10(r1)
|
|
/* 80047F54 00043D94 7F 84 E3 78 */ mr r4, r28
|
|
/* 80047F58 00043D98 80 C1 00 0C */ lwz r6, 0xc(r1)
|
|
/* 80047F5C 00043D9C 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 80047F60 00043DA0 80 E1 00 08 */ lwz r7, 0x8(r1)
|
|
/* 80047F64 00043DA4 48 00 9B 6D */ bl ISFS_CreateFile
|
|
.global lbl_80047F68
|
|
lbl_80047F68:
|
|
/* 80047F68 00043DA8 39 61 00 70 */ addi r11, r1, 0x70
|
|
/* 80047F6C 00043DAC 4B FB F4 19 */ bl lbl_80007384
|
|
/* 80047F70 00043DB0 80 01 00 74 */ lwz r0, 0x74(r1)
|
|
/* 80047F74 00043DB4 7C 08 03 A6 */ mtlr r0
|
|
/* 80047F78 00043DB8 38 21 00 70 */ addi r1, r1, 0x70
|
|
/* 80047F7C 00043DBC 4E 80 00 20 */ blr
|
|
.global NANDCreate
|
|
NANDCreate:
|
|
/* 80047F80 00043DC0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80047F84 00043DC4 7C 08 02 A6 */ mflr r0
|
|
/* 80047F88 00043DC8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80047F8C 00043DCC 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80047F90 00043DD0 7C BF 2B 78 */ mr r31, r5
|
|
/* 80047F94 00043DD4 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80047F98 00043DD8 7C 9E 23 78 */ mr r30, r4
|
|
/* 80047F9C 00043DDC 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80047FA0 00043DE0 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80047FA4 00043DE4 48 00 1C 6D */ bl nandIsInitialized
|
|
/* 80047FA8 00043DE8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80047FAC 00043DEC 41 82 00 28 */ beq lbl_80047FD4
|
|
/* 80047FB0 00043DF0 7F A3 EB 78 */ mr r3, r29
|
|
/* 80047FB4 00043DF4 7F C4 F3 78 */ mr r4, r30
|
|
/* 80047FB8 00043DF8 7F E5 FB 78 */ mr r5, r31
|
|
/* 80047FBC 00043DFC 38 C0 00 00 */ li r6, 0x0
|
|
/* 80047FC0 00043E00 38 E0 00 00 */ li r7, 0x0
|
|
/* 80047FC4 00043E04 39 00 00 00 */ li r8, 0x0
|
|
/* 80047FC8 00043E08 4B FF FE 79 */ bl nandCreate
|
|
/* 80047FCC 00043E0C 48 00 1C 85 */ bl nandConvertErrorCode
|
|
/* 80047FD0 00043E10 48 00 00 08 */ b lbl_80047FD8
|
|
.global lbl_80047FD4
|
|
lbl_80047FD4:
|
|
/* 80047FD4 00043E14 38 60 FF 80 */ li r3, -0x80
|
|
.global lbl_80047FD8
|
|
lbl_80047FD8:
|
|
/* 80047FD8 00043E18 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80047FDC 00043E1C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80047FE0 00043E20 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80047FE4 00043E24 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80047FE8 00043E28 7C 08 03 A6 */ mtlr r0
|
|
/* 80047FEC 00043E2C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80047FF0 00043E30 4E 80 00 20 */ blr
|
|
/* 80047FF4 00043E34 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80047FF8 00043E38 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80047FFC 00043E3C 00 00 00 00 */ .4byte 0x00000000
|
|
.global NANDPrivateCreate
|
|
NANDPrivateCreate:
|
|
/* 80048000 00043E40 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80048004 00043E44 7C 08 02 A6 */ mflr r0
|
|
/* 80048008 00043E48 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8004800C 00043E4C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80048010 00043E50 7C BF 2B 78 */ mr r31, r5
|
|
/* 80048014 00043E54 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80048018 00043E58 7C 9E 23 78 */ mr r30, r4
|
|
/* 8004801C 00043E5C 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80048020 00043E60 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80048024 00043E64 48 00 1B ED */ bl nandIsInitialized
|
|
/* 80048028 00043E68 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8004802C 00043E6C 41 82 00 28 */ beq lbl_80048054
|
|
/* 80048030 00043E70 7F A3 EB 78 */ mr r3, r29
|
|
/* 80048034 00043E74 7F C4 F3 78 */ mr r4, r30
|
|
/* 80048038 00043E78 7F E5 FB 78 */ mr r5, r31
|
|
/* 8004803C 00043E7C 38 C0 00 00 */ li r6, 0x0
|
|
/* 80048040 00043E80 38 E0 00 00 */ li r7, 0x0
|
|
/* 80048044 00043E84 39 00 00 01 */ li r8, 0x1
|
|
/* 80048048 00043E88 4B FF FD F9 */ bl nandCreate
|
|
/* 8004804C 00043E8C 48 00 1C 05 */ bl nandConvertErrorCode
|
|
/* 80048050 00043E90 48 00 00 08 */ b lbl_80048058
|
|
.global lbl_80048054
|
|
lbl_80048054:
|
|
/* 80048054 00043E94 38 60 FF 80 */ li r3, -0x80
|
|
.global lbl_80048058
|
|
lbl_80048058:
|
|
/* 80048058 00043E98 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8004805C 00043E9C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80048060 00043EA0 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80048064 00043EA4 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80048068 00043EA8 7C 08 03 A6 */ mtlr r0
|
|
/* 8004806C 00043EAC 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80048070 00043EB0 4E 80 00 20 */ blr
|
|
/* 80048074 00043EB4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048078 00043EB8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8004807C 00043EBC 00 00 00 00 */ .4byte 0x00000000
|
|
.global NANDPrivateCreateAsync
|
|
NANDPrivateCreateAsync:
|
|
/* 80048080 00043EC0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80048084 00043EC4 7C 08 02 A6 */ mflr r0
|
|
/* 80048088 00043EC8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8004808C 00043ECC 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80048090 00043ED0 4B FB F2 AD */ bl lbl_8000733C
|
|
/* 80048094 00043ED4 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80048098 00043ED8 7C 9C 23 78 */ mr r28, r4
|
|
/* 8004809C 00043EDC 7C BD 2B 78 */ mr r29, r5
|
|
/* 800480A0 00043EE0 7C DE 33 78 */ mr r30, r6
|
|
/* 800480A4 00043EE4 7C FF 3B 78 */ mr r31, r7
|
|
/* 800480A8 00043EE8 48 00 1B 69 */ bl nandIsInitialized
|
|
/* 800480AC 00043EEC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800480B0 00043EF0 40 82 00 0C */ bne lbl_800480BC
|
|
/* 800480B4 00043EF4 38 60 FF 80 */ li r3, -0x80
|
|
/* 800480B8 00043EF8 48 00 00 28 */ b lbl_800480E0
|
|
.global lbl_800480BC
|
|
lbl_800480BC:
|
|
/* 800480BC 00043EFC 93 DF 00 04 */ stw r30, 0x4(r31)
|
|
/* 800480C0 00043F00 7F 63 DB 78 */ mr r3, r27
|
|
/* 800480C4 00043F04 7F 84 E3 78 */ mr r4, r28
|
|
/* 800480C8 00043F08 7F A5 EB 78 */ mr r5, r29
|
|
/* 800480CC 00043F0C 7F E6 FB 78 */ mr r6, r31
|
|
/* 800480D0 00043F10 38 E0 00 01 */ li r7, 0x1
|
|
/* 800480D4 00043F14 39 00 00 01 */ li r8, 0x1
|
|
/* 800480D8 00043F18 4B FF FD 69 */ bl nandCreate
|
|
/* 800480DC 00043F1C 48 00 1B 75 */ bl nandConvertErrorCode
|
|
.global lbl_800480E0
|
|
lbl_800480E0:
|
|
/* 800480E0 00043F20 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 800480E4 00043F24 4B FB F2 A5 */ bl lbl_80007388
|
|
/* 800480E8 00043F28 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800480EC 00043F2C 7C 08 03 A6 */ mtlr r0
|
|
/* 800480F0 00043F30 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 800480F4 00043F34 4E 80 00 20 */ blr
|
|
/* 800480F8 00043F38 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800480FC 00043F3C 00 00 00 00 */ .4byte 0x00000000
|
|
.global NANDDelete
|
|
NANDDelete:
|
|
/* 80048100 00043F40 94 21 FF B0 */ stwu r1, -0x50(r1)
|
|
/* 80048104 00043F44 7C 08 02 A6 */ mflr r0
|
|
/* 80048108 00043F48 90 01 00 54 */ stw r0, 0x54(r1)
|
|
/* 8004810C 00043F4C 93 E1 00 4C */ stw r31, 0x4c(r1)
|
|
/* 80048110 00043F50 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80048114 00043F54 48 00 1A FD */ bl nandIsInitialized
|
|
/* 80048118 00043F58 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8004811C 00043F5C 40 82 00 0C */ bne lbl_80048128
|
|
/* 80048120 00043F60 38 60 FF 80 */ li r3, -0x80
|
|
/* 80048124 00043F64 48 00 00 78 */ b lbl_8004819C
|
|
.global lbl_80048128
|
|
lbl_80048128:
|
|
/* 80048128 00043F68 38 00 00 00 */ li r0, 0x0
|
|
/* 8004812C 00043F6C 90 01 00 08 */ stw r0, 0x8(r1)
|
|
/* 80048130 00043F70 7F E4 FB 78 */ mr r4, r31
|
|
/* 80048134 00043F74 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 80048138 00043F78 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 8004813C 00043F7C 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 80048140 00043F80 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80048144 00043F84 90 01 00 18 */ stw r0, 0x18(r1)
|
|
/* 80048148 00043F88 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 8004814C 00043F8C 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 80048150 00043F90 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80048154 00043F94 90 01 00 28 */ stw r0, 0x28(r1)
|
|
/* 80048158 00043F98 90 01 00 2C */ stw r0, 0x2c(r1)
|
|
/* 8004815C 00043F9C 90 01 00 30 */ stw r0, 0x30(r1)
|
|
/* 80048160 00043FA0 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80048164 00043FA4 90 01 00 38 */ stw r0, 0x38(r1)
|
|
/* 80048168 00043FA8 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
/* 8004816C 00043FAC 90 01 00 40 */ stw r0, 0x40(r1)
|
|
/* 80048170 00043FB0 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 80048174 00043FB4 48 00 1C 8D */ bl nandGenerateAbsPath
|
|
/* 80048178 00043FB8 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 8004817C 00043FBC 48 00 19 F5 */ bl nandIsPrivatePath
|
|
/* 80048180 00043FC0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80048184 00043FC4 41 82 00 0C */ beq lbl_80048190
|
|
/* 80048188 00043FC8 38 60 FF 9A */ li r3, -0x66
|
|
/* 8004818C 00043FCC 48 00 00 0C */ b lbl_80048198
|
|
.global lbl_80048190
|
|
lbl_80048190:
|
|
/* 80048190 00043FD0 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 80048194 00043FD4 48 00 94 2D */ bl ISFS_Delete
|
|
.global lbl_80048198
|
|
lbl_80048198:
|
|
/* 80048198 00043FD8 48 00 1A B9 */ bl nandConvertErrorCode
|
|
.global lbl_8004819C
|
|
lbl_8004819C:
|
|
/* 8004819C 00043FDC 80 01 00 54 */ lwz r0, 0x54(r1)
|
|
/* 800481A0 00043FE0 83 E1 00 4C */ lwz r31, 0x4c(r1)
|
|
/* 800481A4 00043FE4 7C 08 03 A6 */ mtlr r0
|
|
/* 800481A8 00043FE8 38 21 00 50 */ addi r1, r1, 0x50
|
|
/* 800481AC 00043FEC 4E 80 00 20 */ blr
|
|
.global NANDPrivateDelete
|
|
NANDPrivateDelete:
|
|
/* 800481B0 00043FF0 94 21 FF B0 */ stwu r1, -0x50(r1)
|
|
/* 800481B4 00043FF4 7C 08 02 A6 */ mflr r0
|
|
/* 800481B8 00043FF8 90 01 00 54 */ stw r0, 0x54(r1)
|
|
/* 800481BC 00043FFC 93 E1 00 4C */ stw r31, 0x4c(r1)
|
|
/* 800481C0 00044000 7C 7F 1B 78 */ mr r31, r3
|
|
/* 800481C4 00044004 48 00 1A 4D */ bl nandIsInitialized
|
|
/* 800481C8 00044008 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800481CC 0004400C 40 82 00 0C */ bne lbl_800481D8
|
|
/* 800481D0 00044010 38 60 FF 80 */ li r3, -0x80
|
|
/* 800481D4 00044014 48 00 00 60 */ b lbl_80048234
|
|
.global lbl_800481D8
|
|
lbl_800481D8:
|
|
/* 800481D8 00044018 38 00 00 00 */ li r0, 0x0
|
|
/* 800481DC 0004401C 90 01 00 08 */ stw r0, 0x8(r1)
|
|
/* 800481E0 00044020 7F E4 FB 78 */ mr r4, r31
|
|
/* 800481E4 00044024 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 800481E8 00044028 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 800481EC 0004402C 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 800481F0 00044030 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 800481F4 00044034 90 01 00 18 */ stw r0, 0x18(r1)
|
|
/* 800481F8 00044038 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 800481FC 0004403C 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 80048200 00044040 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80048204 00044044 90 01 00 28 */ stw r0, 0x28(r1)
|
|
/* 80048208 00044048 90 01 00 2C */ stw r0, 0x2c(r1)
|
|
/* 8004820C 0004404C 90 01 00 30 */ stw r0, 0x30(r1)
|
|
/* 80048210 00044050 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80048214 00044054 90 01 00 38 */ stw r0, 0x38(r1)
|
|
/* 80048218 00044058 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
/* 8004821C 0004405C 90 01 00 40 */ stw r0, 0x40(r1)
|
|
/* 80048220 00044060 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 80048224 00044064 48 00 1B DD */ bl nandGenerateAbsPath
|
|
/* 80048228 00044068 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 8004822C 0004406C 48 00 93 95 */ bl ISFS_Delete
|
|
/* 80048230 00044070 48 00 1A 21 */ bl nandConvertErrorCode
|
|
.global lbl_80048234
|
|
lbl_80048234:
|
|
/* 80048234 00044074 80 01 00 54 */ lwz r0, 0x54(r1)
|
|
/* 80048238 00044078 83 E1 00 4C */ lwz r31, 0x4c(r1)
|
|
/* 8004823C 0004407C 7C 08 03 A6 */ mtlr r0
|
|
/* 80048240 00044080 38 21 00 50 */ addi r1, r1, 0x50
|
|
/* 80048244 00044084 4E 80 00 20 */ blr
|
|
/* 80048248 00044088 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8004824C 0004408C 00 00 00 00 */ .4byte 0x00000000
|
|
.global NANDPrivateDeleteAsync
|
|
NANDPrivateDeleteAsync:
|
|
/* 80048250 00044090 94 21 FF A0 */ stwu r1, -0x60(r1)
|
|
/* 80048254 00044094 7C 08 02 A6 */ mflr r0
|
|
/* 80048258 00044098 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 8004825C 0004409C 93 E1 00 5C */ stw r31, 0x5c(r1)
|
|
/* 80048260 000440A0 7C BF 2B 78 */ mr r31, r5
|
|
/* 80048264 000440A4 93 C1 00 58 */ stw r30, 0x58(r1)
|
|
/* 80048268 000440A8 7C 9E 23 78 */ mr r30, r4
|
|
/* 8004826C 000440AC 93 A1 00 54 */ stw r29, 0x54(r1)
|
|
/* 80048270 000440B0 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80048274 000440B4 48 00 19 9D */ bl nandIsInitialized
|
|
/* 80048278 000440B8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8004827C 000440BC 40 82 00 0C */ bne lbl_80048288
|
|
/* 80048280 000440C0 38 60 FF 80 */ li r3, -0x80
|
|
/* 80048284 000440C4 48 00 00 70 */ b lbl_800482F4
|
|
.global lbl_80048288
|
|
lbl_80048288:
|
|
/* 80048288 000440C8 93 DF 00 04 */ stw r30, 0x4(r31)
|
|
/* 8004828C 000440CC 38 00 00 00 */ li r0, 0x0
|
|
/* 80048290 000440D0 7F A4 EB 78 */ mr r4, r29
|
|
/* 80048294 000440D4 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 80048298 000440D8 90 01 00 08 */ stw r0, 0x8(r1)
|
|
/* 8004829C 000440DC 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 800482A0 000440E0 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 800482A4 000440E4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 800482A8 000440E8 90 01 00 18 */ stw r0, 0x18(r1)
|
|
/* 800482AC 000440EC 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 800482B0 000440F0 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 800482B4 000440F4 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 800482B8 000440F8 90 01 00 28 */ stw r0, 0x28(r1)
|
|
/* 800482BC 000440FC 90 01 00 2C */ stw r0, 0x2c(r1)
|
|
/* 800482C0 00044100 90 01 00 30 */ stw r0, 0x30(r1)
|
|
/* 800482C4 00044104 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 800482C8 00044108 90 01 00 38 */ stw r0, 0x38(r1)
|
|
/* 800482CC 0004410C 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
/* 800482D0 00044110 90 01 00 40 */ stw r0, 0x40(r1)
|
|
/* 800482D4 00044114 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 800482D8 00044118 48 00 1B 29 */ bl nandGenerateAbsPath
|
|
/* 800482DC 0004411C 3C 80 80 05 */ lis r4, nandCallback@ha
|
|
/* 800482E0 00044120 7F E5 FB 78 */ mr r5, r31
|
|
/* 800482E4 00044124 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 800482E8 00044128 38 84 A4 C0 */ addi r4, r4, nandCallback@l
|
|
/* 800482EC 0004412C 48 00 93 B5 */ bl ISFS_DeleteAsync
|
|
/* 800482F0 00044130 48 00 19 61 */ bl nandConvertErrorCode
|
|
.global lbl_800482F4
|
|
lbl_800482F4:
|
|
/* 800482F4 00044134 80 01 00 64 */ lwz r0, 0x64(r1)
|
|
/* 800482F8 00044138 83 E1 00 5C */ lwz r31, 0x5c(r1)
|
|
/* 800482FC 0004413C 83 C1 00 58 */ lwz r30, 0x58(r1)
|
|
/* 80048300 00044140 83 A1 00 54 */ lwz r29, 0x54(r1)
|
|
/* 80048304 00044144 7C 08 03 A6 */ mtlr r0
|
|
/* 80048308 00044148 38 21 00 60 */ addi r1, r1, 0x60
|
|
/* 8004830C 0004414C 4E 80 00 20 */ blr
|
|
.global NANDRead
|
|
NANDRead:
|
|
/* 80048310 00044150 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80048314 00044154 7C 08 02 A6 */ mflr r0
|
|
/* 80048318 00044158 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8004831C 0004415C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80048320 00044160 7C BF 2B 78 */ mr r31, r5
|
|
/* 80048324 00044164 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80048328 00044168 7C 9E 23 78 */ mr r30, r4
|
|
/* 8004832C 0004416C 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80048330 00044170 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80048334 00044174 48 00 18 DD */ bl nandIsInitialized
|
|
/* 80048338 00044178 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8004833C 0004417C 41 82 00 1C */ beq lbl_80048358
|
|
/* 80048340 00044180 80 7D 00 00 */ lwz r3, 0x0(r29)
|
|
/* 80048344 00044184 7F C4 F3 78 */ mr r4, r30
|
|
/* 80048348 00044188 7F E5 FB 78 */ mr r5, r31
|
|
/* 8004834C 0004418C 48 00 9C 85 */ bl ISFS_Read
|
|
/* 80048350 00044190 48 00 19 01 */ bl nandConvertErrorCode
|
|
/* 80048354 00044194 48 00 00 08 */ b lbl_8004835C
|
|
.global lbl_80048358
|
|
lbl_80048358:
|
|
/* 80048358 00044198 38 60 FF 80 */ li r3, -0x80
|
|
.global lbl_8004835C
|
|
lbl_8004835C:
|
|
/* 8004835C 0004419C 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80048360 000441A0 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80048364 000441A4 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80048368 000441A8 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8004836C 000441AC 7C 08 03 A6 */ mtlr r0
|
|
/* 80048370 000441B0 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80048374 000441B4 4E 80 00 20 */ blr
|
|
/* 80048378 000441B8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8004837C 000441BC 00 00 00 00 */ .4byte 0x00000000
|
|
.global NANDReadAsync
|
|
NANDReadAsync:
|
|
/* 80048380 000441C0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80048384 000441C4 7C 08 02 A6 */ mflr r0
|
|
/* 80048388 000441C8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8004838C 000441CC 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80048390 000441D0 4B FB EF AD */ bl lbl_8000733C
|
|
/* 80048394 000441D4 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80048398 000441D8 7C 9C 23 78 */ mr r28, r4
|
|
/* 8004839C 000441DC 7C BD 2B 78 */ mr r29, r5
|
|
/* 800483A0 000441E0 7C DE 33 78 */ mr r30, r6
|
|
/* 800483A4 000441E4 7C FF 3B 78 */ mr r31, r7
|
|
/* 800483A8 000441E8 48 00 18 69 */ bl nandIsInitialized
|
|
/* 800483AC 000441EC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800483B0 000441F0 40 82 00 0C */ bne lbl_800483BC
|
|
/* 800483B4 000441F4 38 60 FF 80 */ li r3, -0x80
|
|
/* 800483B8 000441F8 48 00 00 28 */ b lbl_800483E0
|
|
.global lbl_800483BC
|
|
lbl_800483BC:
|
|
/* 800483BC 000441FC 93 DF 00 04 */ stw r30, 0x4(r31)
|
|
/* 800483C0 00044200 3C C0 80 05 */ lis r6, nandCallback@ha
|
|
/* 800483C4 00044204 7F 84 E3 78 */ mr r4, r28
|
|
/* 800483C8 00044208 7F A5 EB 78 */ mr r5, r29
|
|
/* 800483CC 0004420C 80 7B 00 00 */ lwz r3, 0x0(r27)
|
|
/* 800483D0 00044210 7F E7 FB 78 */ mr r7, r31
|
|
/* 800483D4 00044214 38 C6 A4 C0 */ addi r6, r6, nandCallback@l
|
|
/* 800483D8 00044218 48 00 9C 19 */ bl ISFS_ReadAsync
|
|
/* 800483DC 0004421C 48 00 18 75 */ bl nandConvertErrorCode
|
|
.global lbl_800483E0
|
|
lbl_800483E0:
|
|
/* 800483E0 00044220 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 800483E4 00044224 4B FB EF A5 */ bl lbl_80007388
|
|
/* 800483E8 00044228 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800483EC 0004422C 7C 08 03 A6 */ mtlr r0
|
|
/* 800483F0 00044230 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 800483F4 00044234 4E 80 00 20 */ blr
|
|
/* 800483F8 00044238 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800483FC 0004423C 00 00 00 00 */ .4byte 0x00000000
|
|
.global NANDWrite
|
|
NANDWrite:
|
|
/* 80048400 00044240 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80048404 00044244 7C 08 02 A6 */ mflr r0
|
|
/* 80048408 00044248 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8004840C 0004424C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80048410 00044250 7C BF 2B 78 */ mr r31, r5
|
|
/* 80048414 00044254 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80048418 00044258 7C 9E 23 78 */ mr r30, r4
|
|
/* 8004841C 0004425C 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80048420 00044260 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80048424 00044264 48 00 17 ED */ bl nandIsInitialized
|
|
/* 80048428 00044268 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8004842C 0004426C 41 82 00 1C */ beq lbl_80048448
|
|
/* 80048430 00044270 80 7D 00 00 */ lwz r3, 0x0(r29)
|
|
/* 80048434 00044274 7F C4 F3 78 */ mr r4, r30
|
|
/* 80048438 00044278 7F E5 FB 78 */ mr r5, r31
|
|
/* 8004843C 0004427C 48 00 9C 65 */ bl ISFS_Write
|
|
/* 80048440 00044280 48 00 18 11 */ bl nandConvertErrorCode
|
|
/* 80048444 00044284 48 00 00 08 */ b lbl_8004844C
|
|
.global lbl_80048448
|
|
lbl_80048448:
|
|
/* 80048448 00044288 38 60 FF 80 */ li r3, -0x80
|
|
.global lbl_8004844C
|
|
lbl_8004844C:
|
|
/* 8004844C 0004428C 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80048450 00044290 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80048454 00044294 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80048458 00044298 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8004845C 0004429C 7C 08 03 A6 */ mtlr r0
|
|
/* 80048460 000442A0 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80048464 000442A4 4E 80 00 20 */ blr
|
|
/* 80048468 000442A8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8004846C 000442AC 00 00 00 00 */ .4byte 0x00000000
|
|
.global NANDWriteAsync
|
|
NANDWriteAsync:
|
|
/* 80048470 000442B0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80048474 000442B4 7C 08 02 A6 */ mflr r0
|
|
/* 80048478 000442B8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8004847C 000442BC 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80048480 000442C0 4B FB EE BD */ bl lbl_8000733C
|
|
/* 80048484 000442C4 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80048488 000442C8 7C 9C 23 78 */ mr r28, r4
|
|
/* 8004848C 000442CC 7C BD 2B 78 */ mr r29, r5
|
|
/* 80048490 000442D0 7C DE 33 78 */ mr r30, r6
|
|
/* 80048494 000442D4 7C FF 3B 78 */ mr r31, r7
|
|
/* 80048498 000442D8 48 00 17 79 */ bl nandIsInitialized
|
|
/* 8004849C 000442DC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800484A0 000442E0 40 82 00 0C */ bne lbl_800484AC
|
|
/* 800484A4 000442E4 38 60 FF 80 */ li r3, -0x80
|
|
/* 800484A8 000442E8 48 00 00 28 */ b lbl_800484D0
|
|
.global lbl_800484AC
|
|
lbl_800484AC:
|
|
/* 800484AC 000442EC 93 DF 00 04 */ stw r30, 0x4(r31)
|
|
/* 800484B0 000442F0 3C C0 80 05 */ lis r6, nandCallback@ha
|
|
/* 800484B4 000442F4 7F 84 E3 78 */ mr r4, r28
|
|
/* 800484B8 000442F8 7F A5 EB 78 */ mr r5, r29
|
|
/* 800484BC 000442FC 80 7B 00 00 */ lwz r3, 0x0(r27)
|
|
/* 800484C0 00044300 7F E7 FB 78 */ mr r7, r31
|
|
/* 800484C4 00044304 38 C6 A4 C0 */ addi r6, r6, nandCallback@l
|
|
/* 800484C8 00044308 48 00 9B F9 */ bl ISFS_WriteAsync
|
|
/* 800484CC 0004430C 48 00 17 85 */ bl nandConvertErrorCode
|
|
.global lbl_800484D0
|
|
lbl_800484D0:
|
|
/* 800484D0 00044310 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 800484D4 00044314 4B FB EE B5 */ bl lbl_80007388
|
|
/* 800484D8 00044318 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800484DC 0004431C 7C 08 03 A6 */ mtlr r0
|
|
/* 800484E0 00044320 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 800484E4 00044324 4E 80 00 20 */ blr
|
|
/* 800484E8 00044328 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800484EC 0004432C 00 00 00 00 */ .4byte 0x00000000
|
|
.global NANDSeek
|
|
NANDSeek:
|
|
/* 800484F0 00044330 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 800484F4 00044334 7C 08 02 A6 */ mflr r0
|
|
/* 800484F8 00044338 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 800484FC 0004433C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80048500 00044340 7C BF 2B 78 */ mr r31, r5
|
|
/* 80048504 00044344 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80048508 00044348 7C 9E 23 78 */ mr r30, r4
|
|
/* 8004850C 0004434C 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80048510 00044350 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80048514 00044354 48 00 16 FD */ bl nandIsInitialized
|
|
/* 80048518 00044358 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8004851C 0004435C 40 82 00 0C */ bne lbl_80048528
|
|
/* 80048520 00044360 38 60 FF 80 */ li r3, -0x80
|
|
/* 80048524 00044364 48 00 00 48 */ b lbl_8004856C
|
|
.global lbl_80048528
|
|
lbl_80048528:
|
|
/* 80048528 00044368 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 8004852C 0004436C 80 7D 00 00 */ lwz r3, 0x0(r29)
|
|
/* 80048530 00044370 38 A0 FF FF */ li r5, -0x1
|
|
/* 80048534 00044374 41 82 00 18 */ beq lbl_8004854C
|
|
/* 80048538 00044378 2C 1F 00 01 */ cmpwi r31, 0x1
|
|
/* 8004853C 0004437C 41 82 00 18 */ beq lbl_80048554
|
|
/* 80048540 00044380 2C 1F 00 02 */ cmpwi r31, 0x2
|
|
/* 80048544 00044384 41 82 00 18 */ beq lbl_8004855C
|
|
/* 80048548 00044388 48 00 00 18 */ b lbl_80048560
|
|
.global lbl_8004854C
|
|
lbl_8004854C:
|
|
/* 8004854C 0004438C 38 A0 00 00 */ li r5, 0x0
|
|
/* 80048550 00044390 48 00 00 10 */ b lbl_80048560
|
|
.global lbl_80048554
|
|
lbl_80048554:
|
|
/* 80048554 00044394 38 A0 00 01 */ li r5, 0x1
|
|
/* 80048558 00044398 48 00 00 08 */ b lbl_80048560
|
|
.global lbl_8004855C
|
|
lbl_8004855C:
|
|
/* 8004855C 0004439C 38 A0 00 02 */ li r5, 0x2
|
|
.global lbl_80048560
|
|
lbl_80048560:
|
|
/* 80048560 000443A0 7F C4 F3 78 */ mr r4, r30
|
|
/* 80048564 000443A4 48 00 99 CD */ bl ISFS_Seek
|
|
/* 80048568 000443A8 48 00 16 E9 */ bl nandConvertErrorCode
|
|
.global lbl_8004856C
|
|
lbl_8004856C:
|
|
/* 8004856C 000443AC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80048570 000443B0 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80048574 000443B4 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80048578 000443B8 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8004857C 000443BC 7C 08 03 A6 */ mtlr r0
|
|
/* 80048580 000443C0 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80048584 000443C4 4E 80 00 20 */ blr
|
|
/* 80048588 000443C8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8004858C 000443CC 00 00 00 00 */ .4byte 0x00000000
|
|
.global NANDSeekAsync
|
|
NANDSeekAsync:
|
|
/* 80048590 000443D0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80048594 000443D4 7C 08 02 A6 */ mflr r0
|
|
/* 80048598 000443D8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8004859C 000443DC 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 800485A0 000443E0 4B FB ED 9D */ bl lbl_8000733C
|
|
/* 800485A4 000443E4 7C 7B 1B 78 */ mr r27, r3
|
|
/* 800485A8 000443E8 7C 9C 23 78 */ mr r28, r4
|
|
/* 800485AC 000443EC 7C BD 2B 78 */ mr r29, r5
|
|
/* 800485B0 000443F0 7C DE 33 78 */ mr r30, r6
|
|
/* 800485B4 000443F4 7C FF 3B 78 */ mr r31, r7
|
|
/* 800485B8 000443F8 48 00 16 59 */ bl nandIsInitialized
|
|
/* 800485BC 000443FC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800485C0 00044400 40 82 00 0C */ bne lbl_800485CC
|
|
/* 800485C4 00044404 38 60 FF 80 */ li r3, -0x80
|
|
/* 800485C8 00044408 48 00 00 58 */ b lbl_80048620
|
|
.global lbl_800485CC
|
|
lbl_800485CC:
|
|
/* 800485CC 0004440C 93 DF 00 04 */ stw r30, 0x4(r31)
|
|
/* 800485D0 00044410 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
/* 800485D4 00044414 38 A0 FF FF */ li r5, -0x1
|
|
/* 800485D8 00044418 80 7B 00 00 */ lwz r3, 0x0(r27)
|
|
/* 800485DC 0004441C 41 82 00 18 */ beq lbl_800485F4
|
|
/* 800485E0 00044420 2C 1D 00 01 */ cmpwi r29, 0x1
|
|
/* 800485E4 00044424 41 82 00 18 */ beq lbl_800485FC
|
|
/* 800485E8 00044428 2C 1D 00 02 */ cmpwi r29, 0x2
|
|
/* 800485EC 0004442C 41 82 00 18 */ beq lbl_80048604
|
|
/* 800485F0 00044430 48 00 00 18 */ b lbl_80048608
|
|
.global lbl_800485F4
|
|
lbl_800485F4:
|
|
/* 800485F4 00044434 38 A0 00 00 */ li r5, 0x0
|
|
/* 800485F8 00044438 48 00 00 10 */ b lbl_80048608
|
|
.global lbl_800485FC
|
|
lbl_800485FC:
|
|
/* 800485FC 0004443C 38 A0 00 01 */ li r5, 0x1
|
|
/* 80048600 00044440 48 00 00 08 */ b lbl_80048608
|
|
.global lbl_80048604
|
|
lbl_80048604:
|
|
/* 80048604 00044444 38 A0 00 02 */ li r5, 0x2
|
|
.global lbl_80048608
|
|
lbl_80048608:
|
|
/* 80048608 00044448 3C C0 80 05 */ lis r6, nandCallback@ha
|
|
/* 8004860C 0004444C 7F 84 E3 78 */ mr r4, r28
|
|
/* 80048610 00044450 7F E7 FB 78 */ mr r7, r31
|
|
/* 80048614 00044454 38 C6 A4 C0 */ addi r6, r6, nandCallback@l
|
|
/* 80048618 00044458 48 00 99 29 */ bl ISFS_SeekAsync
|
|
/* 8004861C 0004445C 48 00 16 35 */ bl nandConvertErrorCode
|
|
.global lbl_80048620
|
|
lbl_80048620:
|
|
/* 80048620 00044460 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80048624 00044464 4B FB ED 65 */ bl lbl_80007388
|
|
/* 80048628 00044468 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8004862C 0004446C 7C 08 03 A6 */ mtlr r0
|
|
/* 80048630 00044470 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80048634 00044474 4E 80 00 20 */ blr
|
|
/* 80048638 00044478 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8004863C 0004447C 00 00 00 00 */ .4byte 0x00000000
|
|
.global NANDReadDir
|
|
NANDReadDir:
|
|
/* 80048640 00044480 94 21 FF A0 */ stwu r1, -0x60(r1)
|
|
/* 80048644 00044484 7C 08 02 A6 */ mflr r0
|
|
/* 80048648 00044488 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 8004864C 0004448C 93 E1 00 5C */ stw r31, 0x5c(r1)
|
|
/* 80048650 00044490 7C BF 2B 78 */ mr r31, r5
|
|
/* 80048654 00044494 93 C1 00 58 */ stw r30, 0x58(r1)
|
|
/* 80048658 00044498 7C 9E 23 78 */ mr r30, r4
|
|
/* 8004865C 0004449C 93 A1 00 54 */ stw r29, 0x54(r1)
|
|
/* 80048660 000444A0 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80048664 000444A4 48 00 15 AD */ bl nandIsInitialized
|
|
/* 80048668 000444A8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8004866C 000444AC 40 82 00 0C */ bne lbl_80048678
|
|
/* 80048670 000444B0 38 60 FF 80 */ li r3, -0x80
|
|
/* 80048674 000444B4 48 00 00 80 */ b lbl_800486F4
|
|
.global lbl_80048678
|
|
lbl_80048678:
|
|
/* 80048678 000444B8 38 00 00 00 */ li r0, 0x0
|
|
/* 8004867C 000444BC 90 01 00 08 */ stw r0, 0x8(r1)
|
|
/* 80048680 000444C0 7F A4 EB 78 */ mr r4, r29
|
|
/* 80048684 000444C4 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 80048688 000444C8 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 8004868C 000444CC 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 80048690 000444D0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80048694 000444D4 90 01 00 18 */ stw r0, 0x18(r1)
|
|
/* 80048698 000444D8 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 8004869C 000444DC 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 800486A0 000444E0 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 800486A4 000444E4 90 01 00 28 */ stw r0, 0x28(r1)
|
|
/* 800486A8 000444E8 90 01 00 2C */ stw r0, 0x2c(r1)
|
|
/* 800486AC 000444EC 90 01 00 30 */ stw r0, 0x30(r1)
|
|
/* 800486B0 000444F0 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 800486B4 000444F4 90 01 00 38 */ stw r0, 0x38(r1)
|
|
/* 800486B8 000444F8 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
/* 800486BC 000444FC 90 01 00 40 */ stw r0, 0x40(r1)
|
|
/* 800486C0 00044500 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 800486C4 00044504 48 00 17 3D */ bl nandGenerateAbsPath
|
|
/* 800486C8 00044508 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 800486CC 0004450C 48 00 14 A5 */ bl nandIsPrivatePath
|
|
/* 800486D0 00044510 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800486D4 00044514 41 82 00 0C */ beq lbl_800486E0
|
|
/* 800486D8 00044518 38 60 FF 9A */ li r3, -0x66
|
|
/* 800486DC 0004451C 48 00 00 14 */ b lbl_800486F0
|
|
.global lbl_800486E0
|
|
lbl_800486E0:
|
|
/* 800486E0 00044520 7F C4 F3 78 */ mr r4, r30
|
|
/* 800486E4 00044524 7F E5 FB 78 */ mr r5, r31
|
|
/* 800486E8 00044528 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 800486EC 0004452C 48 00 89 85 */ bl ISFS_ReadDir
|
|
.global lbl_800486F0
|
|
lbl_800486F0:
|
|
/* 800486F0 00044530 48 00 15 61 */ bl nandConvertErrorCode
|
|
.global lbl_800486F4
|
|
lbl_800486F4:
|
|
/* 800486F4 00044534 80 01 00 64 */ lwz r0, 0x64(r1)
|
|
/* 800486F8 00044538 83 E1 00 5C */ lwz r31, 0x5c(r1)
|
|
/* 800486FC 0004453C 83 C1 00 58 */ lwz r30, 0x58(r1)
|
|
/* 80048700 00044540 83 A1 00 54 */ lwz r29, 0x54(r1)
|
|
/* 80048704 00044544 7C 08 03 A6 */ mtlr r0
|
|
/* 80048708 00044548 38 21 00 60 */ addi r1, r1, 0x60
|
|
/* 8004870C 0004454C 4E 80 00 20 */ blr
|
|
.global nandCreateDir
|
|
nandCreateDir:
|
|
/* 80048710 00044550 94 21 FF 90 */ stwu r1, -0x70(r1)
|
|
/* 80048714 00044554 7C 08 02 A6 */ mflr r0
|
|
/* 80048718 00044558 90 01 00 74 */ stw r0, 0x74(r1)
|
|
/* 8004871C 0004455C 39 61 00 70 */ addi r11, r1, 0x70
|
|
/* 80048720 00044560 4B FB EC 19 */ bl lbl_80007338
|
|
/* 80048724 00044564 38 00 00 00 */ li r0, 0x0
|
|
/* 80048728 00044568 90 01 00 18 */ stw r0, 0x18(r1)
|
|
/* 8004872C 0004456C 7C 7A 1B 78 */ mr r26, r3
|
|
/* 80048730 00044570 7C 9B 23 78 */ mr r27, r4
|
|
/* 80048734 00044574 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 80048738 00044578 7C BC 2B 78 */ mr r28, r5
|
|
/* 8004873C 0004457C 7C DD 33 78 */ mr r29, r6
|
|
/* 80048740 00044580 7C FE 3B 78 */ mr r30, r7
|
|
/* 80048744 00044584 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 80048748 00044588 7D 1F 43 78 */ mr r31, r8
|
|
/* 8004874C 0004458C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80048750 00044590 90 01 00 28 */ stw r0, 0x28(r1)
|
|
/* 80048754 00044594 90 01 00 2C */ stw r0, 0x2c(r1)
|
|
/* 80048758 00044598 90 01 00 30 */ stw r0, 0x30(r1)
|
|
/* 8004875C 0004459C 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80048760 000445A0 90 01 00 38 */ stw r0, 0x38(r1)
|
|
/* 80048764 000445A4 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
/* 80048768 000445A8 90 01 00 40 */ stw r0, 0x40(r1)
|
|
/* 8004876C 000445AC 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 80048770 000445B0 90 01 00 48 */ stw r0, 0x48(r1)
|
|
/* 80048774 000445B4 90 01 00 4C */ stw r0, 0x4c(r1)
|
|
/* 80048778 000445B8 90 01 00 50 */ stw r0, 0x50(r1)
|
|
/* 8004877C 000445BC 90 01 00 54 */ stw r0, 0x54(r1)
|
|
/* 80048780 000445C0 48 00 07 E1 */ bl nandCheckPathName
|
|
/* 80048784 000445C4 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80048788 000445C8 40 82 00 0C */ bne lbl_80048794
|
|
/* 8004878C 000445CC 38 60 FF 9B */ li r3, -0x65
|
|
/* 80048790 000445D0 48 00 00 AC */ b lbl_8004883C
|
|
.global lbl_80048794
|
|
lbl_80048794:
|
|
/* 80048794 000445D4 7F 44 D3 78 */ mr r4, r26
|
|
/* 80048798 000445D8 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 8004879C 000445DC 48 00 16 65 */ bl nandGenerateAbsPath
|
|
/* 800487A0 000445E0 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 800487A4 000445E4 40 82 00 1C */ bne lbl_800487C0
|
|
/* 800487A8 000445E8 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 800487AC 000445EC 48 00 13 C5 */ bl nandIsPrivatePath
|
|
/* 800487B0 000445F0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800487B4 000445F4 41 82 00 0C */ beq lbl_800487C0
|
|
/* 800487B8 000445F8 38 60 FF 9A */ li r3, -0x66
|
|
/* 800487BC 000445FC 48 00 00 80 */ b lbl_8004883C
|
|
.global lbl_800487C0
|
|
lbl_800487C0:
|
|
/* 800487C0 00044600 57 60 06 F7 */ rlwinm. r0, r27, 0, 27, 27
|
|
/* 800487C4 00044604 40 82 00 0C */ bne lbl_800487D0
|
|
/* 800487C8 00044608 38 60 FF 9B */ li r3, -0x65
|
|
/* 800487CC 0004460C 48 00 00 70 */ b lbl_8004883C
|
|
.global lbl_800487D0
|
|
lbl_800487D0:
|
|
/* 800487D0 00044610 38 00 00 00 */ li r0, 0x0
|
|
/* 800487D4 00044614 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 800487D8 00044618 7F 63 DB 78 */ mr r3, r27
|
|
/* 800487DC 0004461C 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 800487E0 00044620 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 800487E4 00044624 38 A1 00 0C */ addi r5, r1, 0xc
|
|
/* 800487E8 00044628 38 C1 00 08 */ addi r6, r1, 0x8
|
|
/* 800487EC 0004462C 90 01 00 08 */ stw r0, 0x8(r1)
|
|
/* 800487F0 00044630 48 00 04 01 */ bl nandSplitPerm
|
|
/* 800487F4 00044634 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 800487F8 00044638 41 82 00 2C */ beq lbl_80048824
|
|
/* 800487FC 0004463C 3D 00 80 05 */ lis r8, nandCallback@ha
|
|
/* 80048800 00044640 80 A1 00 10 */ lwz r5, 0x10(r1)
|
|
/* 80048804 00044644 80 C1 00 0C */ lwz r6, 0xc(r1)
|
|
/* 80048808 00044648 7F 84 E3 78 */ mr r4, r28
|
|
/* 8004880C 0004464C 80 E1 00 08 */ lwz r7, 0x8(r1)
|
|
/* 80048810 00044650 7F A9 EB 78 */ mr r9, r29
|
|
/* 80048814 00044654 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 80048818 00044658 39 08 A4 C0 */ addi r8, r8, nandCallback@l
|
|
/* 8004881C 0004465C 48 00 87 55 */ bl ISFS_CreateDirAsync
|
|
/* 80048820 00044660 48 00 00 1C */ b lbl_8004883C
|
|
.global lbl_80048824
|
|
lbl_80048824:
|
|
/* 80048824 00044664 80 A1 00 10 */ lwz r5, 0x10(r1)
|
|
/* 80048828 00044668 7F 84 E3 78 */ mr r4, r28
|
|
/* 8004882C 0004466C 80 C1 00 0C */ lwz r6, 0xc(r1)
|
|
/* 80048830 00044670 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 80048834 00044674 80 E1 00 08 */ lwz r7, 0x8(r1)
|
|
/* 80048838 00044678 48 00 86 39 */ bl ISFS_CreateDir
|
|
.global lbl_8004883C
|
|
lbl_8004883C:
|
|
/* 8004883C 0004467C 39 61 00 70 */ addi r11, r1, 0x70
|
|
/* 80048840 00044680 4B FB EB 45 */ bl lbl_80007384
|
|
/* 80048844 00044684 80 01 00 74 */ lwz r0, 0x74(r1)
|
|
/* 80048848 00044688 7C 08 03 A6 */ mtlr r0
|
|
/* 8004884C 0004468C 38 21 00 70 */ addi r1, r1, 0x70
|
|
/* 80048850 00044690 4E 80 00 20 */ blr
|
|
/* 80048854 00044694 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048858 00044698 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8004885C 0004469C 00 00 00 00 */ .4byte 0x00000000
|
|
.global NANDPrivateCreateDirAsync
|
|
NANDPrivateCreateDirAsync:
|
|
/* 80048860 000446A0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80048864 000446A4 7C 08 02 A6 */ mflr r0
|
|
/* 80048868 000446A8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8004886C 000446AC 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 80048870 000446B0 4B FB EA CD */ bl lbl_8000733C
|
|
/* 80048874 000446B4 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80048878 000446B8 7C 9C 23 78 */ mr r28, r4
|
|
/* 8004887C 000446BC 7C BD 2B 78 */ mr r29, r5
|
|
/* 80048880 000446C0 7C DE 33 78 */ mr r30, r6
|
|
/* 80048884 000446C4 7C FF 3B 78 */ mr r31, r7
|
|
/* 80048888 000446C8 48 00 13 89 */ bl nandIsInitialized
|
|
/* 8004888C 000446CC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80048890 000446D0 40 82 00 0C */ bne lbl_8004889C
|
|
/* 80048894 000446D4 38 60 FF 80 */ li r3, -0x80
|
|
/* 80048898 000446D8 48 00 00 28 */ b lbl_800488C0
|
|
.global lbl_8004889C
|
|
lbl_8004889C:
|
|
/* 8004889C 000446DC 93 DF 00 04 */ stw r30, 0x4(r31)
|
|
/* 800488A0 000446E0 7F 63 DB 78 */ mr r3, r27
|
|
/* 800488A4 000446E4 7F 84 E3 78 */ mr r4, r28
|
|
/* 800488A8 000446E8 7F A5 EB 78 */ mr r5, r29
|
|
/* 800488AC 000446EC 7F E6 FB 78 */ mr r6, r31
|
|
/* 800488B0 000446F0 38 E0 00 01 */ li r7, 0x1
|
|
/* 800488B4 000446F4 39 00 00 01 */ li r8, 0x1
|
|
/* 800488B8 000446F8 4B FF FE 59 */ bl nandCreateDir
|
|
/* 800488BC 000446FC 48 00 13 95 */ bl nandConvertErrorCode
|
|
.global lbl_800488C0
|
|
lbl_800488C0:
|
|
/* 800488C0 00044700 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 800488C4 00044704 4B FB EA C5 */ bl lbl_80007388
|
|
/* 800488C8 00044708 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 800488CC 0004470C 7C 08 03 A6 */ mtlr r0
|
|
/* 800488D0 00044710 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 800488D4 00044714 4E 80 00 20 */ blr
|
|
/* 800488D8 00044718 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800488DC 0004471C 00 00 00 00 */ .4byte 0x00000000
|
|
.global nandMove
|
|
nandMove:
|
|
/* 800488E0 00044720 94 21 FF 50 */ stwu r1, -0xb0(r1)
|
|
/* 800488E4 00044724 7C 08 02 A6 */ mflr r0
|
|
/* 800488E8 00044728 90 01 00 B4 */ stw r0, 0xb4(r1)
|
|
/* 800488EC 0004472C 38 00 00 00 */ li r0, 0x0
|
|
/* 800488F0 00044730 93 E1 00 AC */ stw r31, 0xac(r1)
|
|
/* 800488F4 00044734 7C FF 3B 78 */ mr r31, r7
|
|
/* 800488F8 00044738 93 C1 00 A8 */ stw r30, 0xa8(r1)
|
|
/* 800488FC 0004473C 7C DE 33 78 */ mr r30, r6
|
|
/* 80048900 00044740 93 A1 00 A4 */ stw r29, 0xa4(r1)
|
|
/* 80048904 00044744 7C BD 2B 78 */ mr r29, r5
|
|
/* 80048908 00044748 93 81 00 A0 */ stw r28, 0xa0(r1)
|
|
/* 8004890C 0004474C 7C 9C 23 78 */ mr r28, r4
|
|
/* 80048910 00044750 7C 64 1B 78 */ mr r4, r3
|
|
/* 80048914 00044754 38 61 00 58 */ addi r3, r1, 0x58
|
|
/* 80048918 00044758 90 01 00 58 */ stw r0, 0x58(r1)
|
|
/* 8004891C 0004475C 90 01 00 5C */ stw r0, 0x5c(r1)
|
|
/* 80048920 00044760 90 01 00 60 */ stw r0, 0x60(r1)
|
|
/* 80048924 00044764 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 80048928 00044768 90 01 00 68 */ stw r0, 0x68(r1)
|
|
/* 8004892C 0004476C 90 01 00 6C */ stw r0, 0x6c(r1)
|
|
/* 80048930 00044770 90 01 00 70 */ stw r0, 0x70(r1)
|
|
/* 80048934 00044774 90 01 00 74 */ stw r0, 0x74(r1)
|
|
/* 80048938 00044778 90 01 00 78 */ stw r0, 0x78(r1)
|
|
/* 8004893C 0004477C 90 01 00 7C */ stw r0, 0x7c(r1)
|
|
/* 80048940 00044780 90 01 00 80 */ stw r0, 0x80(r1)
|
|
/* 80048944 00044784 90 01 00 84 */ stw r0, 0x84(r1)
|
|
/* 80048948 00044788 90 01 00 88 */ stw r0, 0x88(r1)
|
|
/* 8004894C 0004478C 90 01 00 8C */ stw r0, 0x8c(r1)
|
|
/* 80048950 00044790 90 01 00 90 */ stw r0, 0x90(r1)
|
|
/* 80048954 00044794 90 01 00 94 */ stw r0, 0x94(r1)
|
|
/* 80048958 00044798 90 01 00 18 */ stw r0, 0x18(r1)
|
|
/* 8004895C 0004479C 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 80048960 000447A0 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 80048964 000447A4 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80048968 000447A8 90 01 00 28 */ stw r0, 0x28(r1)
|
|
/* 8004896C 000447AC 90 01 00 2C */ stw r0, 0x2c(r1)
|
|
/* 80048970 000447B0 90 01 00 30 */ stw r0, 0x30(r1)
|
|
/* 80048974 000447B4 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80048978 000447B8 90 01 00 38 */ stw r0, 0x38(r1)
|
|
/* 8004897C 000447BC 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
/* 80048980 000447C0 90 01 00 40 */ stw r0, 0x40(r1)
|
|
/* 80048984 000447C4 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 80048988 000447C8 90 01 00 48 */ stw r0, 0x48(r1)
|
|
/* 8004898C 000447CC 90 01 00 4C */ stw r0, 0x4c(r1)
|
|
/* 80048990 000447D0 90 01 00 50 */ stw r0, 0x50(r1)
|
|
/* 80048994 000447D4 90 01 00 54 */ stw r0, 0x54(r1)
|
|
/* 80048998 000447D8 90 01 00 08 */ stw r0, 0x8(r1)
|
|
/* 8004899C 000447DC 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 800489A0 000447E0 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 800489A4 000447E4 98 01 00 14 */ stb r0, 0x14(r1)
|
|
/* 800489A8 000447E8 48 00 14 59 */ bl nandGenerateAbsPath
|
|
/* 800489AC 000447EC 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 800489B0 000447F0 38 81 00 58 */ addi r4, r1, 0x58
|
|
/* 800489B4 000447F4 48 00 0F BD */ bl nandGetRelativeName
|
|
/* 800489B8 000447F8 7F 84 E3 78 */ mr r4, r28
|
|
/* 800489BC 000447FC 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 800489C0 00044800 48 00 14 41 */ bl nandGenerateAbsPath
|
|
/* 800489C4 00044804 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 800489C8 00044808 38 8D 82 18 */ addi r4, r13, "@3665"@sda21
|
|
/* 800489CC 0004480C 4B FC 51 71 */ bl strcmp
|
|
/* 800489D0 00044810 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800489D4 00044814 40 82 00 1C */ bne lbl_800489F0
|
|
/* 800489D8 00044818 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 800489DC 0004481C 38 A1 00 08 */ addi r5, r1, 0x8
|
|
/* 800489E0 00044820 38 8D 82 1C */ addi r4, r13, "@3666"@sda21
|
|
/* 800489E4 00044824 4C C6 31 82 */ crclr 4*cr1+eq
|
|
/* 800489E8 00044828 4B FC 4D D5 */ bl sprintf
|
|
/* 800489EC 0004482C 48 00 00 1C */ b lbl_80048A08
|
|
.global lbl_800489F0
|
|
lbl_800489F0:
|
|
/* 800489F0 00044830 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 800489F4 00044834 38 8D 82 18 */ addi r4, r13, "@3665"@sda21
|
|
/* 800489F8 00044838 4B FC 50 CD */ bl strcat
|
|
/* 800489FC 0004483C 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 80048A00 00044840 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 80048A04 00044844 4B FC 50 C1 */ bl strcat
|
|
.global lbl_80048A08
|
|
lbl_80048A08:
|
|
/* 80048A08 00044848 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 80048A0C 0004484C 40 82 00 2C */ bne lbl_80048A38
|
|
/* 80048A10 00044850 38 61 00 58 */ addi r3, r1, 0x58
|
|
/* 80048A14 00044854 48 00 11 5D */ bl nandIsPrivatePath
|
|
/* 80048A18 00044858 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80048A1C 0004485C 40 82 00 14 */ bne lbl_80048A30
|
|
/* 80048A20 00044860 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 80048A24 00044864 48 00 11 4D */ bl nandIsPrivatePath
|
|
/* 80048A28 00044868 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80048A2C 0004486C 41 82 00 0C */ beq lbl_80048A38
|
|
.global lbl_80048A30
|
|
lbl_80048A30:
|
|
/* 80048A30 00044870 38 60 FF 9A */ li r3, -0x66
|
|
/* 80048A34 00044874 48 00 00 34 */ b lbl_80048A68
|
|
.global lbl_80048A38
|
|
lbl_80048A38:
|
|
/* 80048A38 00044878 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 80048A3C 0004487C 41 82 00 20 */ beq lbl_80048A5C
|
|
/* 80048A40 00044880 3C A0 80 05 */ lis r5, nandCallback@ha
|
|
/* 80048A44 00044884 7F A6 EB 78 */ mr r6, r29
|
|
/* 80048A48 00044888 38 61 00 58 */ addi r3, r1, 0x58
|
|
/* 80048A4C 0004488C 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 80048A50 00044890 38 A5 A4 C0 */ addi r5, r5, nandCallback@l
|
|
/* 80048A54 00044894 48 00 8E 2D */ bl ISFS_RenameAsync
|
|
/* 80048A58 00044898 48 00 00 10 */ b lbl_80048A68
|
|
.global lbl_80048A5C
|
|
lbl_80048A5C:
|
|
/* 80048A5C 0004489C 38 61 00 58 */ addi r3, r1, 0x58
|
|
/* 80048A60 000448A0 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 80048A64 000448A4 48 00 8D 0D */ bl ISFS_Rename
|
|
.global lbl_80048A68
|
|
lbl_80048A68:
|
|
/* 80048A68 000448A8 80 01 00 B4 */ lwz r0, 0xb4(r1)
|
|
/* 80048A6C 000448AC 83 E1 00 AC */ lwz r31, 0xac(r1)
|
|
/* 80048A70 000448B0 83 C1 00 A8 */ lwz r30, 0xa8(r1)
|
|
/* 80048A74 000448B4 83 A1 00 A4 */ lwz r29, 0xa4(r1)
|
|
/* 80048A78 000448B8 83 81 00 A0 */ lwz r28, 0xa0(r1)
|
|
/* 80048A7C 000448BC 7C 08 03 A6 */ mtlr r0
|
|
/* 80048A80 000448C0 38 21 00 B0 */ addi r1, r1, 0xb0
|
|
/* 80048A84 000448C4 4E 80 00 20 */ blr
|
|
/* 80048A88 000448C8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048A8C 000448CC 00 00 00 00 */ .4byte 0x00000000
|
|
.global NANDMove
|
|
NANDMove:
|
|
/* 80048A90 000448D0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80048A94 000448D4 7C 08 02 A6 */ mflr r0
|
|
/* 80048A98 000448D8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80048A9C 000448DC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80048AA0 000448E0 7C 9F 23 78 */ mr r31, r4
|
|
/* 80048AA4 000448E4 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80048AA8 000448E8 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80048AAC 000448EC 48 00 11 65 */ bl nandIsInitialized
|
|
/* 80048AB0 000448F0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80048AB4 000448F4 41 82 00 24 */ beq lbl_80048AD8
|
|
/* 80048AB8 000448F8 7F C3 F3 78 */ mr r3, r30
|
|
/* 80048ABC 000448FC 7F E4 FB 78 */ mr r4, r31
|
|
/* 80048AC0 00044900 38 A0 00 00 */ li r5, 0x0
|
|
/* 80048AC4 00044904 38 C0 00 00 */ li r6, 0x0
|
|
/* 80048AC8 00044908 38 E0 00 00 */ li r7, 0x0
|
|
/* 80048ACC 0004490C 4B FF FE 15 */ bl nandMove
|
|
/* 80048AD0 00044910 48 00 11 81 */ bl nandConvertErrorCode
|
|
/* 80048AD4 00044914 48 00 00 08 */ b lbl_80048ADC
|
|
.global lbl_80048AD8
|
|
lbl_80048AD8:
|
|
/* 80048AD8 00044918 38 60 FF 80 */ li r3, -0x80
|
|
.global lbl_80048ADC
|
|
lbl_80048ADC:
|
|
/* 80048ADC 0004491C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80048AE0 00044920 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80048AE4 00044924 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80048AE8 00044928 7C 08 03 A6 */ mtlr r0
|
|
/* 80048AEC 0004492C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80048AF0 00044930 4E 80 00 20 */ blr
|
|
/* 80048AF4 00044934 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048AF8 00044938 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048AFC 0004493C 00 00 00 00 */ .4byte 0x00000000
|
|
.global NANDGetLength
|
|
NANDGetLength:
|
|
/* 80048B00 00044940 54 2B 06 FE */ clrlwi r11, r1, 27
|
|
/* 80048B04 00044944 7C 2C 0B 78 */ mr r12, r1
|
|
/* 80048B08 00044948 21 6B FF A0 */ subfic r11, r11, -0x60
|
|
/* 80048B0C 0004494C 7C 21 59 6E */ stwux r1, r1, r11
|
|
/* 80048B10 00044950 7C 08 02 A6 */ mflr r0
|
|
/* 80048B14 00044954 90 0C 00 04 */ stw r0, 0x4(r12)
|
|
/* 80048B18 00044958 93 EC FF FC */ stw r31, -0x4(r12)
|
|
/* 80048B1C 0004495C 7C 9F 23 78 */ mr r31, r4
|
|
/* 80048B20 00044960 93 CC FF F8 */ stw r30, -0x8(r12)
|
|
/* 80048B24 00044964 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80048B28 00044968 48 00 10 E9 */ bl nandIsInitialized
|
|
/* 80048B2C 0004496C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80048B30 00044970 40 82 00 0C */ bne lbl_80048B3C
|
|
/* 80048B34 00044974 38 60 FF 80 */ li r3, -0x80
|
|
/* 80048B38 00044978 48 00 00 34 */ b lbl_80048B6C
|
|
.global lbl_80048B3C
|
|
lbl_80048B3C:
|
|
/* 80048B3C 0004497C 80 7E 00 00 */ lwz r3, 0x0(r30)
|
|
/* 80048B40 00044980 38 81 00 20 */ addi r4, r1, 0x20
|
|
/* 80048B44 00044984 48 00 93 1D */ bl ISFS_GetFileStats
|
|
/* 80048B48 00044988 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80048B4C 0004498C 40 82 00 1C */ bne lbl_80048B68
|
|
/* 80048B50 00044990 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 80048B54 00044994 41 82 00 14 */ beq lbl_80048B68
|
|
/* 80048B58 00044998 80 01 00 20 */ lwz r0, 0x20(r1)
|
|
/* 80048B5C 0004499C 90 1F 00 00 */ stw r0, 0x0(r31)
|
|
/* 80048B60 000449A0 48 00 00 08 */ b lbl_80048B68
|
|
/* 80048B64 000449A4 90 00 00 00 */ stw r0, 0x0(r0)
|
|
.global lbl_80048B68
|
|
lbl_80048B68:
|
|
/* 80048B68 000449A8 48 00 10 E9 */ bl nandConvertErrorCode
|
|
.global lbl_80048B6C
|
|
lbl_80048B6C:
|
|
/* 80048B6C 000449AC 81 41 00 00 */ lwz r10, 0x0(r1)
|
|
/* 80048B70 000449B0 80 0A 00 04 */ lwz r0, 0x4(r10)
|
|
/* 80048B74 000449B4 83 EA FF FC */ lwz r31, -0x4(r10)
|
|
/* 80048B78 000449B8 83 CA FF F8 */ lwz r30, -0x8(r10)
|
|
/* 80048B7C 000449BC 7C 08 03 A6 */ mtlr r0
|
|
/* 80048B80 000449C0 7D 41 53 78 */ mr r1, r10
|
|
/* 80048B84 000449C4 4E 80 00 20 */ blr
|
|
/* 80048B88 000449C8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048B8C 000449CC 00 00 00 00 */ .4byte 0x00000000
|
|
.global nandComposePerm
|
|
nandComposePerm:
|
|
/* 80048B90 000449D0 54 80 07 FF */ clrlwi. r0, r4, 31
|
|
/* 80048B94 000449D4 38 E0 00 00 */ li r7, 0x0
|
|
/* 80048B98 000449D8 41 82 00 08 */ beq lbl_80048BA0
|
|
/* 80048B9C 000449DC 60 E7 00 10 */ ori r7, r7, 0x10
|
|
.global lbl_80048BA0
|
|
lbl_80048BA0:
|
|
/* 80048BA0 000449E0 54 80 07 BD */ rlwinm. r0, r4, 0, 30, 30
|
|
/* 80048BA4 000449E4 41 82 00 08 */ beq lbl_80048BAC
|
|
/* 80048BA8 000449E8 60 E7 00 20 */ ori r7, r7, 0x20
|
|
.global lbl_80048BAC
|
|
lbl_80048BAC:
|
|
/* 80048BAC 000449EC 54 A0 07 FF */ clrlwi. r0, r5, 31
|
|
/* 80048BB0 000449F0 41 82 00 08 */ beq lbl_80048BB8
|
|
/* 80048BB4 000449F4 60 E7 00 04 */ ori r7, r7, 0x4
|
|
.global lbl_80048BB8
|
|
lbl_80048BB8:
|
|
/* 80048BB8 000449F8 54 A0 07 BD */ rlwinm. r0, r5, 0, 30, 30
|
|
/* 80048BBC 000449FC 41 82 00 08 */ beq lbl_80048BC4
|
|
/* 80048BC0 00044A00 60 E7 00 08 */ ori r7, r7, 0x8
|
|
.global lbl_80048BC4
|
|
lbl_80048BC4:
|
|
/* 80048BC4 00044A04 54 C0 07 FF */ clrlwi. r0, r6, 31
|
|
/* 80048BC8 00044A08 41 82 00 08 */ beq lbl_80048BD0
|
|
/* 80048BCC 00044A0C 60 E7 00 01 */ ori r7, r7, 0x1
|
|
.global lbl_80048BD0
|
|
lbl_80048BD0:
|
|
/* 80048BD0 00044A10 54 C0 07 BD */ rlwinm. r0, r6, 0, 30, 30
|
|
/* 80048BD4 00044A14 41 82 00 08 */ beq lbl_80048BDC
|
|
/* 80048BD8 00044A18 60 E7 00 02 */ ori r7, r7, 0x2
|
|
.global lbl_80048BDC
|
|
lbl_80048BDC:
|
|
/* 80048BDC 00044A1C 98 E3 00 00 */ stb r7, 0x0(r3)
|
|
/* 80048BE0 00044A20 4E 80 00 20 */ blr
|
|
/* 80048BE4 00044A24 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048BE8 00044A28 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048BEC 00044A2C 00 00 00 00 */ .4byte 0x00000000
|
|
.global nandSplitPerm
|
|
nandSplitPerm:
|
|
/* 80048BF0 00044A30 54 60 06 F7 */ rlwinm. r0, r3, 0, 27, 27
|
|
/* 80048BF4 00044A34 38 00 00 00 */ li r0, 0x0
|
|
/* 80048BF8 00044A38 90 04 00 00 */ stw r0, 0x0(r4)
|
|
/* 80048BFC 00044A3C 90 05 00 00 */ stw r0, 0x0(r5)
|
|
/* 80048C00 00044A40 90 06 00 00 */ stw r0, 0x0(r6)
|
|
/* 80048C04 00044A44 41 82 00 10 */ beq lbl_80048C14
|
|
/* 80048C08 00044A48 80 04 00 00 */ lwz r0, 0x0(r4)
|
|
/* 80048C0C 00044A4C 60 00 00 01 */ ori r0, r0, 0x1
|
|
/* 80048C10 00044A50 90 04 00 00 */ stw r0, 0x0(r4)
|
|
.global lbl_80048C14
|
|
lbl_80048C14:
|
|
/* 80048C14 00044A54 54 60 06 B5 */ rlwinm. r0, r3, 0, 26, 26
|
|
/* 80048C18 00044A58 41 82 00 10 */ beq lbl_80048C28
|
|
/* 80048C1C 00044A5C 80 04 00 00 */ lwz r0, 0x0(r4)
|
|
/* 80048C20 00044A60 60 00 00 02 */ ori r0, r0, 0x2
|
|
/* 80048C24 00044A64 90 04 00 00 */ stw r0, 0x0(r4)
|
|
.global lbl_80048C28
|
|
lbl_80048C28:
|
|
/* 80048C28 00044A68 54 60 07 7B */ rlwinm. r0, r3, 0, 29, 29
|
|
/* 80048C2C 00044A6C 41 82 00 10 */ beq lbl_80048C3C
|
|
/* 80048C30 00044A70 80 05 00 00 */ lwz r0, 0x0(r5)
|
|
/* 80048C34 00044A74 60 00 00 01 */ ori r0, r0, 0x1
|
|
/* 80048C38 00044A78 90 05 00 00 */ stw r0, 0x0(r5)
|
|
.global lbl_80048C3C
|
|
lbl_80048C3C:
|
|
/* 80048C3C 00044A7C 54 60 07 39 */ rlwinm. r0, r3, 0, 28, 28
|
|
/* 80048C40 00044A80 41 82 00 10 */ beq lbl_80048C50
|
|
/* 80048C44 00044A84 80 05 00 00 */ lwz r0, 0x0(r5)
|
|
/* 80048C48 00044A88 60 00 00 02 */ ori r0, r0, 0x2
|
|
/* 80048C4C 00044A8C 90 05 00 00 */ stw r0, 0x0(r5)
|
|
.global lbl_80048C50
|
|
lbl_80048C50:
|
|
/* 80048C50 00044A90 54 60 07 FF */ clrlwi. r0, r3, 31
|
|
/* 80048C54 00044A94 41 82 00 10 */ beq lbl_80048C64
|
|
/* 80048C58 00044A98 80 06 00 00 */ lwz r0, 0x0(r6)
|
|
/* 80048C5C 00044A9C 60 00 00 01 */ ori r0, r0, 0x1
|
|
/* 80048C60 00044AA0 90 06 00 00 */ stw r0, 0x0(r6)
|
|
.global lbl_80048C64
|
|
lbl_80048C64:
|
|
/* 80048C64 00044AA4 54 60 07 BD */ rlwinm. r0, r3, 0, 30, 30
|
|
/* 80048C68 00044AA8 4D 82 00 20 */ beqlr
|
|
/* 80048C6C 00044AAC 80 06 00 00 */ lwz r0, 0x0(r6)
|
|
/* 80048C70 00044AB0 60 00 00 02 */ ori r0, r0, 0x2
|
|
/* 80048C74 00044AB4 90 06 00 00 */ stw r0, 0x0(r6)
|
|
/* 80048C78 00044AB8 4E 80 00 20 */ blr
|
|
/* 80048C7C 00044ABC 00 00 00 00 */ .4byte 0x00000000
|
|
.global nandGetStatus
|
|
nandGetStatus:
|
|
/* 80048C80 00044AC0 94 21 FF 90 */ stwu r1, -0x70(r1)
|
|
/* 80048C84 00044AC4 7C 08 02 A6 */ mflr r0
|
|
/* 80048C88 00044AC8 90 01 00 74 */ stw r0, 0x74(r1)
|
|
/* 80048C8C 00044ACC 38 00 00 00 */ li r0, 0x0
|
|
/* 80048C90 00044AD0 93 E1 00 6C */ stw r31, 0x6c(r1)
|
|
/* 80048C94 00044AD4 7C FF 3B 78 */ mr r31, r7
|
|
/* 80048C98 00044AD8 93 C1 00 68 */ stw r30, 0x68(r1)
|
|
/* 80048C9C 00044ADC 7C DE 33 78 */ mr r30, r6
|
|
/* 80048CA0 00044AE0 93 A1 00 64 */ stw r29, 0x64(r1)
|
|
/* 80048CA4 00044AE4 7C BD 2B 78 */ mr r29, r5
|
|
/* 80048CA8 00044AE8 93 81 00 60 */ stw r28, 0x60(r1)
|
|
/* 80048CAC 00044AEC 7C 9C 23 78 */ mr r28, r4
|
|
/* 80048CB0 00044AF0 7C 64 1B 78 */ mr r4, r3
|
|
/* 80048CB4 00044AF4 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 80048CB8 00044AF8 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 80048CBC 00044AFC 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80048CC0 00044B00 90 01 00 28 */ stw r0, 0x28(r1)
|
|
/* 80048CC4 00044B04 90 01 00 2C */ stw r0, 0x2c(r1)
|
|
/* 80048CC8 00044B08 90 01 00 30 */ stw r0, 0x30(r1)
|
|
/* 80048CCC 00044B0C 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 80048CD0 00044B10 90 01 00 38 */ stw r0, 0x38(r1)
|
|
/* 80048CD4 00044B14 90 01 00 3C */ stw r0, 0x3c(r1)
|
|
/* 80048CD8 00044B18 90 01 00 40 */ stw r0, 0x40(r1)
|
|
/* 80048CDC 00044B1C 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 80048CE0 00044B20 90 01 00 48 */ stw r0, 0x48(r1)
|
|
/* 80048CE4 00044B24 90 01 00 4C */ stw r0, 0x4c(r1)
|
|
/* 80048CE8 00044B28 90 01 00 50 */ stw r0, 0x50(r1)
|
|
/* 80048CEC 00044B2C 90 01 00 54 */ stw r0, 0x54(r1)
|
|
/* 80048CF0 00044B30 90 01 00 58 */ stw r0, 0x58(r1)
|
|
/* 80048CF4 00044B34 90 01 00 5C */ stw r0, 0x5c(r1)
|
|
/* 80048CF8 00044B38 48 00 11 09 */ bl nandGenerateAbsPath
|
|
/* 80048CFC 00044B3C 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 80048D00 00044B40 40 82 00 1C */ bne lbl_80048D1C
|
|
/* 80048D04 00044B44 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 80048D08 00044B48 48 00 0E A9 */ bl nandIsUnderPrivatePath
|
|
/* 80048D0C 00044B4C 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80048D10 00044B50 41 82 00 0C */ beq lbl_80048D1C
|
|
/* 80048D14 00044B54 38 60 FF 9A */ li r3, -0x66
|
|
/* 80048D18 00044B58 48 00 00 9C */ b lbl_80048DB4
|
|
.global lbl_80048D1C
|
|
lbl_80048D1C:
|
|
/* 80048D1C 00044B5C 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 80048D20 00044B60 41 82 00 34 */ beq lbl_80048D54
|
|
/* 80048D24 00044B64 3D 40 80 05 */ lis r10, nandGetStatusCallback@ha
|
|
/* 80048D28 00044B68 93 A1 00 08 */ stw r29, 0x8(r1)
|
|
/* 80048D2C 00044B6C 7F 84 E3 78 */ mr r4, r28
|
|
/* 80048D30 00044B70 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 80048D34 00044B74 38 BC 00 04 */ addi r5, r28, 0x4
|
|
/* 80048D38 00044B78 38 DD 00 20 */ addi r6, r29, 0x20
|
|
/* 80048D3C 00044B7C 38 FD 00 24 */ addi r7, r29, 0x24
|
|
/* 80048D40 00044B80 39 1D 00 28 */ addi r8, r29, 0x28
|
|
/* 80048D44 00044B84 39 3D 00 2C */ addi r9, r29, 0x2c
|
|
/* 80048D48 00044B88 39 4A 8D E0 */ addi r10, r10, nandGetStatusCallback@l
|
|
/* 80048D4C 00044B8C 48 00 87 35 */ bl ISFS_GetAttrAsync
|
|
/* 80048D50 00044B90 48 00 00 64 */ b lbl_80048DB4
|
|
.global lbl_80048D54
|
|
lbl_80048D54:
|
|
/* 80048D54 00044B94 38 00 00 00 */ li r0, 0x0
|
|
/* 80048D58 00044B98 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 80048D5C 00044B9C 7F 84 E3 78 */ mr r4, r28
|
|
/* 80048D60 00044BA0 38 61 00 20 */ addi r3, r1, 0x20
|
|
/* 80048D64 00044BA4 90 01 00 18 */ stw r0, 0x18(r1)
|
|
/* 80048D68 00044BA8 38 BC 00 04 */ addi r5, r28, 0x4
|
|
/* 80048D6C 00044BAC 38 C1 00 1C */ addi r6, r1, 0x1c
|
|
/* 80048D70 00044BB0 38 E1 00 18 */ addi r7, r1, 0x18
|
|
/* 80048D74 00044BB4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80048D78 00044BB8 39 01 00 14 */ addi r8, r1, 0x14
|
|
/* 80048D7C 00044BBC 39 21 00 10 */ addi r9, r1, 0x10
|
|
/* 80048D80 00044BC0 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 80048D84 00044BC4 48 00 85 9D */ bl ISFS_GetAttr
|
|
/* 80048D88 00044BC8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80048D8C 00044BCC 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80048D90 00044BD0 40 82 00 20 */ bne lbl_80048DB0
|
|
/* 80048D94 00044BD4 80 81 00 18 */ lwz r4, 0x18(r1)
|
|
/* 80048D98 00044BD8 38 7C 00 07 */ addi r3, r28, 0x7
|
|
/* 80048D9C 00044BDC 80 A1 00 14 */ lwz r5, 0x14(r1)
|
|
/* 80048DA0 00044BE0 80 C1 00 10 */ lwz r6, 0x10(r1)
|
|
/* 80048DA4 00044BE4 4B FF FD ED */ bl nandComposePerm
|
|
/* 80048DA8 00044BE8 80 01 00 1C */ lwz r0, 0x1c(r1)
|
|
/* 80048DAC 00044BEC 98 1C 00 06 */ stb r0, 0x6(r28)
|
|
.global lbl_80048DB0
|
|
lbl_80048DB0:
|
|
/* 80048DB0 00044BF0 7F E3 FB 78 */ mr r3, r31
|
|
.global lbl_80048DB4
|
|
lbl_80048DB4:
|
|
/* 80048DB4 00044BF4 80 01 00 74 */ lwz r0, 0x74(r1)
|
|
/* 80048DB8 00044BF8 83 E1 00 6C */ lwz r31, 0x6c(r1)
|
|
/* 80048DBC 00044BFC 83 C1 00 68 */ lwz r30, 0x68(r1)
|
|
/* 80048DC0 00044C00 83 A1 00 64 */ lwz r29, 0x64(r1)
|
|
/* 80048DC4 00044C04 83 81 00 60 */ lwz r28, 0x60(r1)
|
|
/* 80048DC8 00044C08 7C 08 03 A6 */ mtlr r0
|
|
/* 80048DCC 00044C0C 38 21 00 70 */ addi r1, r1, 0x70
|
|
/* 80048DD0 00044C10 4E 80 00 20 */ blr
|
|
/* 80048DD4 00044C14 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048DD8 00044C18 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048DDC 00044C1C 00 00 00 00 */ .4byte 0x00000000
|
|
.global nandGetStatusCallback
|
|
nandGetStatusCallback:
|
|
/* 80048DE0 00044C20 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80048DE4 00044C24 7C 08 02 A6 */ mflr r0
|
|
/* 80048DE8 00044C28 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80048DEC 00044C2C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80048DF0 00044C30 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80048DF4 00044C34 7C 9F 23 78 */ mr r31, r4
|
|
/* 80048DF8 00044C38 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80048DFC 00044C3C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80048E00 00044C40 40 82 00 24 */ bne lbl_80048E24
|
|
/* 80048E04 00044C44 80 64 00 14 */ lwz r3, 0x14(r4)
|
|
/* 80048E08 00044C48 80 04 00 20 */ lwz r0, 0x20(r4)
|
|
/* 80048E0C 00044C4C 98 03 00 06 */ stb r0, 0x6(r3)
|
|
/* 80048E10 00044C50 38 63 00 07 */ addi r3, r3, 0x7
|
|
/* 80048E14 00044C54 80 84 00 24 */ lwz r4, 0x24(r4)
|
|
/* 80048E18 00044C58 80 BF 00 28 */ lwz r5, 0x28(r31)
|
|
/* 80048E1C 00044C5C 80 DF 00 2C */ lwz r6, 0x2c(r31)
|
|
/* 80048E20 00044C60 4B FF FD 71 */ bl nandComposePerm
|
|
.global lbl_80048E24
|
|
lbl_80048E24:
|
|
/* 80048E24 00044C64 7F C3 F3 78 */ mr r3, r30
|
|
/* 80048E28 00044C68 48 00 0E 29 */ bl nandConvertErrorCode
|
|
/* 80048E2C 00044C6C 81 9F 00 04 */ lwz r12, 0x4(r31)
|
|
/* 80048E30 00044C70 7F E4 FB 78 */ mr r4, r31
|
|
/* 80048E34 00044C74 7D 89 03 A6 */ mtctr r12
|
|
/* 80048E38 00044C78 4E 80 04 21 */ bctrl
|
|
/* 80048E3C 00044C7C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80048E40 00044C80 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80048E44 00044C84 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80048E48 00044C88 7C 08 03 A6 */ mtlr r0
|
|
/* 80048E4C 00044C8C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80048E50 00044C90 4E 80 00 20 */ blr
|
|
/* 80048E54 00044C94 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048E58 00044C98 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048E5C 00044C9C 00 00 00 00 */ .4byte 0x00000000
|
|
.global NANDPrivateGetStatus
|
|
NANDPrivateGetStatus:
|
|
/* 80048E60 00044CA0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80048E64 00044CA4 7C 08 02 A6 */ mflr r0
|
|
/* 80048E68 00044CA8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80048E6C 00044CAC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80048E70 00044CB0 7C 9F 23 78 */ mr r31, r4
|
|
/* 80048E74 00044CB4 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80048E78 00044CB8 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80048E7C 00044CBC 48 00 0D 95 */ bl nandIsInitialized
|
|
/* 80048E80 00044CC0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80048E84 00044CC4 41 82 00 24 */ beq lbl_80048EA8
|
|
/* 80048E88 00044CC8 7F C3 F3 78 */ mr r3, r30
|
|
/* 80048E8C 00044CCC 7F E4 FB 78 */ mr r4, r31
|
|
/* 80048E90 00044CD0 38 A0 00 00 */ li r5, 0x0
|
|
/* 80048E94 00044CD4 38 C0 00 00 */ li r6, 0x0
|
|
/* 80048E98 00044CD8 38 E0 00 01 */ li r7, 0x1
|
|
/* 80048E9C 00044CDC 4B FF FD E5 */ bl nandGetStatus
|
|
/* 80048EA0 00044CE0 48 00 0D B1 */ bl nandConvertErrorCode
|
|
/* 80048EA4 00044CE4 48 00 00 08 */ b lbl_80048EAC
|
|
.global lbl_80048EA8
|
|
lbl_80048EA8:
|
|
/* 80048EA8 00044CE8 38 60 FF 80 */ li r3, -0x80
|
|
.global lbl_80048EAC
|
|
lbl_80048EAC:
|
|
/* 80048EAC 00044CEC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80048EB0 00044CF0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80048EB4 00044CF4 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80048EB8 00044CF8 7C 08 03 A6 */ mtlr r0
|
|
/* 80048EBC 00044CFC 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80048EC0 00044D00 4E 80 00 20 */ blr
|
|
/* 80048EC4 00044D04 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048EC8 00044D08 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048ECC 00044D0C 00 00 00 00 */ .4byte 0x00000000
|
|
.global NANDPrivateGetStatusAsync
|
|
NANDPrivateGetStatusAsync:
|
|
/* 80048ED0 00044D10 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80048ED4 00044D14 7C 08 02 A6 */ mflr r0
|
|
/* 80048ED8 00044D18 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 80048EDC 00044D1C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 80048EE0 00044D20 7C DF 33 78 */ mr r31, r6
|
|
/* 80048EE4 00044D24 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 80048EE8 00044D28 7C BE 2B 78 */ mr r30, r5
|
|
/* 80048EEC 00044D2C 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 80048EF0 00044D30 7C 9D 23 78 */ mr r29, r4
|
|
/* 80048EF4 00044D34 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 80048EF8 00044D38 7C 7C 1B 78 */ mr r28, r3
|
|
/* 80048EFC 00044D3C 48 00 0D 15 */ bl nandIsInitialized
|
|
/* 80048F00 00044D40 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80048F04 00044D44 40 82 00 0C */ bne lbl_80048F10
|
|
/* 80048F08 00044D48 38 60 FF 80 */ li r3, -0x80
|
|
/* 80048F0C 00044D4C 48 00 00 28 */ b lbl_80048F34
|
|
.global lbl_80048F10
|
|
lbl_80048F10:
|
|
/* 80048F10 00044D50 93 DF 00 04 */ stw r30, 0x4(r31)
|
|
/* 80048F14 00044D54 7F 83 E3 78 */ mr r3, r28
|
|
/* 80048F18 00044D58 7F A4 EB 78 */ mr r4, r29
|
|
/* 80048F1C 00044D5C 7F E5 FB 78 */ mr r5, r31
|
|
/* 80048F20 00044D60 93 BF 00 14 */ stw r29, 0x14(r31)
|
|
/* 80048F24 00044D64 38 C0 00 01 */ li r6, 0x1
|
|
/* 80048F28 00044D68 38 E0 00 01 */ li r7, 0x1
|
|
/* 80048F2C 00044D6C 4B FF FD 55 */ bl nandGetStatus
|
|
/* 80048F30 00044D70 48 00 0D 21 */ bl nandConvertErrorCode
|
|
.global lbl_80048F34
|
|
lbl_80048F34:
|
|
/* 80048F34 00044D74 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80048F38 00044D78 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80048F3C 00044D7C 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80048F40 00044D80 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80048F44 00044D84 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80048F48 00044D88 7C 08 03 A6 */ mtlr r0
|
|
/* 80048F4C 00044D8C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80048F50 00044D90 4E 80 00 20 */ blr
|
|
/* 80048F54 00044D94 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048F58 00044D98 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80048F5C 00044D9C 00 00 00 00 */ .4byte 0x00000000
|
|
.global nandCheckPathName
|
|
nandCheckPathName:
|
|
/* 80048F60 00044DA0 94 21 FE 90 */ stwu r1, -0x170(r1)
|
|
/* 80048F64 00044DA4 7C 08 02 A6 */ mflr r0
|
|
/* 80048F68 00044DA8 90 01 01 74 */ stw r0, 0x174(r1)
|
|
/* 80048F6C 00044DAC 93 E1 01 6C */ stw r31, 0x16c(r1)
|
|
/* 80048F70 00044DB0 93 C1 01 68 */ stw r30, 0x168(r1)
|
|
/* 80048F74 00044DB4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80048F78 00044DB8 4B FB DB 15 */ bl strlen
|
|
/* 80048F7C 00044DBC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80048F80 00044DC0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80048F84 00044DC4 40 82 00 0C */ bne lbl_80048F90
|
|
/* 80048F88 00044DC8 38 60 00 00 */ li r3, 0x0
|
|
/* 80048F8C 00044DCC 48 00 02 F0 */ b lbl_8004927C
|
|
.global lbl_80048F90
|
|
lbl_80048F90:
|
|
/* 80048F90 00044DD0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80048F94 00044DD4 48 00 0B BD */ bl nandIsRelativePath
|
|
/* 80048F98 00044DD8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80048F9C 00044DDC 41 82 01 50 */ beq lbl_800490EC
|
|
/* 80048FA0 00044DE0 3C 60 80 40 */ lis r3, "@3188_804078A8"@ha
|
|
/* 80048FA4 00044DE4 38 00 00 08 */ li r0, 0x8
|
|
/* 80048FA8 00044DE8 38 63 78 A8 */ addi r3, r3, "@3188_804078A8"@l
|
|
/* 80048FAC 00044DEC 38 A1 00 54 */ addi r5, r1, 0x54
|
|
/* 80048FB0 00044DF0 38 83 FF FC */ addi r4, r3, -0x4
|
|
/* 80048FB4 00044DF4 39 40 00 00 */ li r10, 0x0
|
|
/* 80048FB8 00044DF8 7C 09 03 A6 */ mtctr r0
|
|
/* 80048FBC 00044DFC 60 00 00 00 */ nop
|
|
.global lbl_80048FC0
|
|
lbl_80048FC0:
|
|
/* 80048FC0 00044E00 80 64 00 04 */ lwz r3, 0x4(r4)
|
|
/* 80048FC4 00044E04 84 04 00 08 */ lwzu r0, 0x8(r4)
|
|
/* 80048FC8 00044E08 90 65 00 04 */ stw r3, 0x4(r5)
|
|
/* 80048FCC 00044E0C 94 05 00 08 */ stwu r0, 0x8(r5)
|
|
/* 80048FD0 00044E10 42 00 FF F0 */ bdnz lbl_80048FC0
|
|
/* 80048FD4 00044E14 A0 04 00 04 */ lhz r0, 0x4(r4)
|
|
/* 80048FD8 00044E18 B0 05 00 04 */ sth r0, 0x4(r5)
|
|
/* 80048FDC 00044E1C 38 A0 00 08 */ li r5, 0x8
|
|
/* 80048FE0 00044E20 38 00 00 0B */ li r0, 0xb
|
|
/* 80048FE4 00044E24 48 00 00 FC */ b lbl_800490E0
|
|
.global lbl_80048FE8
|
|
lbl_80048FE8:
|
|
/* 80048FE8 00044E28 38 E1 01 20 */ addi r7, r1, 0x120
|
|
/* 80048FEC 00044E2C 38 C1 00 54 */ addi r6, r1, 0x54
|
|
/* 80048FF0 00044E30 89 1E 00 00 */ lbz r8, 0x0(r30)
|
|
/* 80048FF4 00044E34 7C A9 03 A6 */ mtctr r5
|
|
.global lbl_80048FF8
|
|
lbl_80048FF8:
|
|
/* 80048FF8 00044E38 80 86 00 04 */ lwz r4, 0x4(r6)
|
|
/* 80048FFC 00044E3C 84 66 00 08 */ lwzu r3, 0x8(r6)
|
|
/* 80049000 00044E40 90 87 00 04 */ stw r4, 0x4(r7)
|
|
/* 80049004 00044E44 94 67 00 08 */ stwu r3, 0x8(r7)
|
|
/* 80049008 00044E48 42 00 FF F0 */ bdnz lbl_80048FF8
|
|
/* 8004900C 00044E4C A0 66 00 04 */ lhz r3, 0x4(r6)
|
|
/* 80049010 00044E50 39 21 01 24 */ addi r9, r1, 0x124
|
|
/* 80049014 00044E54 B0 67 00 04 */ sth r3, 0x4(r7)
|
|
/* 80049018 00044E58 7D 04 07 74 */ extsb r4, r8
|
|
/* 8004901C 00044E5C 38 C0 00 00 */ li r6, 0x0
|
|
/* 80049020 00044E60 7C 09 03 A6 */ mtctr r0
|
|
/* 80049024 00044E64 60 00 00 00 */ nop
|
|
.global lbl_80049028
|
|
lbl_80049028:
|
|
/* 80049028 00044E68 88 69 00 00 */ lbz r3, 0x0(r9)
|
|
/* 8004902C 00044E6C 7C 63 07 74 */ extsb r3, r3
|
|
/* 80049030 00044E70 7C 04 18 00 */ cmpw r4, r3
|
|
/* 80049034 00044E74 40 82 00 0C */ bne lbl_80049040
|
|
/* 80049038 00044E78 38 60 00 01 */ li r3, 0x1
|
|
/* 8004903C 00044E7C 48 00 00 8C */ b lbl_800490C8
|
|
.global lbl_80049040
|
|
lbl_80049040:
|
|
/* 80049040 00044E80 88 69 00 01 */ lbz r3, 0x1(r9)
|
|
/* 80049044 00044E84 7C 63 07 74 */ extsb r3, r3
|
|
/* 80049048 00044E88 7C 04 18 00 */ cmpw r4, r3
|
|
/* 8004904C 00044E8C 40 82 00 0C */ bne lbl_80049058
|
|
/* 80049050 00044E90 38 60 00 01 */ li r3, 0x1
|
|
/* 80049054 00044E94 48 00 00 74 */ b lbl_800490C8
|
|
.global lbl_80049058
|
|
lbl_80049058:
|
|
/* 80049058 00044E98 88 69 00 02 */ lbz r3, 0x2(r9)
|
|
/* 8004905C 00044E9C 7C 63 07 74 */ extsb r3, r3
|
|
/* 80049060 00044EA0 7C 04 18 00 */ cmpw r4, r3
|
|
/* 80049064 00044EA4 40 82 00 0C */ bne lbl_80049070
|
|
/* 80049068 00044EA8 38 60 00 01 */ li r3, 0x1
|
|
/* 8004906C 00044EAC 48 00 00 5C */ b lbl_800490C8
|
|
.global lbl_80049070
|
|
lbl_80049070:
|
|
/* 80049070 00044EB0 88 69 00 03 */ lbz r3, 0x3(r9)
|
|
/* 80049074 00044EB4 7C 63 07 74 */ extsb r3, r3
|
|
/* 80049078 00044EB8 7C 04 18 00 */ cmpw r4, r3
|
|
/* 8004907C 00044EBC 40 82 00 0C */ bne lbl_80049088
|
|
/* 80049080 00044EC0 38 60 00 01 */ li r3, 0x1
|
|
/* 80049084 00044EC4 48 00 00 44 */ b lbl_800490C8
|
|
.global lbl_80049088
|
|
lbl_80049088:
|
|
/* 80049088 00044EC8 88 69 00 04 */ lbz r3, 0x4(r9)
|
|
/* 8004908C 00044ECC 7C 63 07 74 */ extsb r3, r3
|
|
/* 80049090 00044ED0 7C 04 18 00 */ cmpw r4, r3
|
|
/* 80049094 00044ED4 40 82 00 0C */ bne lbl_800490A0
|
|
/* 80049098 00044ED8 38 60 00 01 */ li r3, 0x1
|
|
/* 8004909C 00044EDC 48 00 00 2C */ b lbl_800490C8
|
|
.global lbl_800490A0
|
|
lbl_800490A0:
|
|
/* 800490A0 00044EE0 88 69 00 05 */ lbz r3, 0x5(r9)
|
|
/* 800490A4 00044EE4 7C 63 07 74 */ extsb r3, r3
|
|
/* 800490A8 00044EE8 7C 04 18 00 */ cmpw r4, r3
|
|
/* 800490AC 00044EEC 40 82 00 0C */ bne lbl_800490B8
|
|
/* 800490B0 00044EF0 38 60 00 01 */ li r3, 0x1
|
|
/* 800490B4 00044EF4 48 00 00 14 */ b lbl_800490C8
|
|
.global lbl_800490B8
|
|
lbl_800490B8:
|
|
/* 800490B8 00044EF8 39 29 00 06 */ addi r9, r9, 0x6
|
|
/* 800490BC 00044EFC 38 C6 00 05 */ addi r6, r6, 0x5
|
|
/* 800490C0 00044F00 42 00 FF 68 */ bdnz lbl_80049028
|
|
/* 800490C4 00044F04 38 60 00 00 */ li r3, 0x0
|
|
.global lbl_800490C8
|
|
lbl_800490C8:
|
|
/* 800490C8 00044F08 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800490CC 00044F0C 40 82 00 0C */ bne lbl_800490D8
|
|
/* 800490D0 00044F10 38 60 00 00 */ li r3, 0x0
|
|
/* 800490D4 00044F14 48 00 01 A8 */ b lbl_8004927C
|
|
.global lbl_800490D8
|
|
lbl_800490D8:
|
|
/* 800490D8 00044F18 39 4A 00 01 */ addi r10, r10, 0x1
|
|
/* 800490DC 00044F1C 3B DE 00 01 */ addi r30, r30, 0x1
|
|
.global lbl_800490E0
|
|
lbl_800490E0:
|
|
/* 800490E0 00044F20 7C 0A F8 40 */ cmplw r10, r31
|
|
/* 800490E4 00044F24 41 80 FF 04 */ blt lbl_80048FE8
|
|
/* 800490E8 00044F28 48 00 01 90 */ b lbl_80049278
|
|
.global lbl_800490EC
|
|
lbl_800490EC:
|
|
/* 800490EC 00044F2C 7F C4 F3 78 */ mr r4, r30
|
|
/* 800490F0 00044F30 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 800490F4 00044F34 4B FC 48 CD */ bl strcpy
|
|
/* 800490F8 00044F38 38 61 00 17 */ addi r3, r1, 0x17
|
|
/* 800490FC 00044F3C 7C 03 F8 AE */ lbzx r0, r3, r31
|
|
/* 80049100 00044F40 7C 00 07 74 */ extsb r0, r0
|
|
/* 80049104 00044F44 2C 00 00 2F */ cmpwi r0, 0x2f
|
|
/* 80049108 00044F48 40 82 00 14 */ bne lbl_8004911C
|
|
/* 8004910C 00044F4C 34 1F FF FF */ addic. r0, r31, -0x1
|
|
/* 80049110 00044F50 41 82 00 0C */ beq lbl_8004911C
|
|
/* 80049114 00044F54 38 00 00 00 */ li r0, 0x0
|
|
/* 80049118 00044F58 7C 03 F9 AE */ stbx r0, r3, r31
|
|
.global lbl_8004911C
|
|
lbl_8004911C:
|
|
/* 8004911C 00044F5C 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 80049120 00044F60 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 80049124 00044F64 48 00 08 4D */ bl nandGetRelativeName
|
|
/* 80049128 00044F68 38 61 00 08 */ addi r3, r1, 0x8
|
|
/* 8004912C 00044F6C 4B FB D9 61 */ bl strlen
|
|
/* 80049130 00044F70 3C 80 80 40 */ lis r4, "@3188_804078A8"@ha
|
|
/* 80049134 00044F74 38 00 00 08 */ li r0, 0x8
|
|
/* 80049138 00044F78 38 84 78 A8 */ addi r4, r4, "@3188_804078A8"@l
|
|
/* 8004913C 00044F7C 39 41 00 08 */ addi r10, r1, 0x8
|
|
/* 80049140 00044F80 38 E1 00 98 */ addi r7, r1, 0x98
|
|
/* 80049144 00044F84 39 60 00 00 */ li r11, 0x0
|
|
/* 80049148 00044F88 38 A4 FF FC */ addi r5, r4, -0x4
|
|
/* 8004914C 00044F8C 7C 09 03 A6 */ mtctr r0
|
|
.global lbl_80049150
|
|
lbl_80049150:
|
|
/* 80049150 00044F90 80 85 00 04 */ lwz r4, 0x4(r5)
|
|
/* 80049154 00044F94 84 05 00 08 */ lwzu r0, 0x8(r5)
|
|
/* 80049158 00044F98 90 87 00 04 */ stw r4, 0x4(r7)
|
|
/* 8004915C 00044F9C 94 07 00 08 */ stwu r0, 0x8(r7)
|
|
/* 80049160 00044FA0 42 00 FF F0 */ bdnz lbl_80049150
|
|
/* 80049164 00044FA4 A0 05 00 04 */ lhz r0, 0x4(r5)
|
|
/* 80049168 00044FA8 38 C0 00 08 */ li r6, 0x8
|
|
/* 8004916C 00044FAC B0 07 00 04 */ sth r0, 0x4(r7)
|
|
/* 80049170 00044FB0 38 00 00 0B */ li r0, 0xb
|
|
/* 80049174 00044FB4 48 00 00 FC */ b lbl_80049270
|
|
.global lbl_80049178
|
|
lbl_80049178:
|
|
/* 80049178 00044FB8 88 8A 00 00 */ lbz r4, 0x0(r10)
|
|
/* 8004917C 00044FBC 39 01 00 DC */ addi r8, r1, 0xdc
|
|
/* 80049180 00044FC0 38 E1 00 98 */ addi r7, r1, 0x98
|
|
/* 80049184 00044FC4 7C 89 07 74 */ extsb r9, r4
|
|
/* 80049188 00044FC8 7C C9 03 A6 */ mtctr r6
|
|
/* 8004918C 00044FCC 60 00 00 00 */ nop
|
|
.global lbl_80049190
|
|
lbl_80049190:
|
|
/* 80049190 00044FD0 80 A7 00 04 */ lwz r5, 0x4(r7)
|
|
/* 80049194 00044FD4 84 87 00 08 */ lwzu r4, 0x8(r7)
|
|
/* 80049198 00044FD8 90 A8 00 04 */ stw r5, 0x4(r8)
|
|
/* 8004919C 00044FDC 94 88 00 08 */ stwu r4, 0x8(r8)
|
|
/* 800491A0 00044FE0 42 00 FF F0 */ bdnz lbl_80049190
|
|
/* 800491A4 00044FE4 A0 87 00 04 */ lhz r4, 0x4(r7)
|
|
/* 800491A8 00044FE8 38 E1 00 E0 */ addi r7, r1, 0xe0
|
|
/* 800491AC 00044FEC B0 88 00 04 */ sth r4, 0x4(r8)
|
|
/* 800491B0 00044FF0 38 A0 00 00 */ li r5, 0x0
|
|
/* 800491B4 00044FF4 7C 09 03 A6 */ mtctr r0
|
|
.global lbl_800491B8
|
|
lbl_800491B8:
|
|
/* 800491B8 00044FF8 88 87 00 00 */ lbz r4, 0x0(r7)
|
|
/* 800491BC 00044FFC 7C 84 07 74 */ extsb r4, r4
|
|
/* 800491C0 00045000 7C 09 20 00 */ cmpw r9, r4
|
|
/* 800491C4 00045004 40 82 00 0C */ bne lbl_800491D0
|
|
/* 800491C8 00045008 38 80 00 01 */ li r4, 0x1
|
|
/* 800491CC 0004500C 48 00 00 8C */ b lbl_80049258
|
|
.global lbl_800491D0
|
|
lbl_800491D0:
|
|
/* 800491D0 00045010 88 87 00 01 */ lbz r4, 0x1(r7)
|
|
/* 800491D4 00045014 7C 84 07 74 */ extsb r4, r4
|
|
/* 800491D8 00045018 7C 09 20 00 */ cmpw r9, r4
|
|
/* 800491DC 0004501C 40 82 00 0C */ bne lbl_800491E8
|
|
/* 800491E0 00045020 38 80 00 01 */ li r4, 0x1
|
|
/* 800491E4 00045024 48 00 00 74 */ b lbl_80049258
|
|
.global lbl_800491E8
|
|
lbl_800491E8:
|
|
/* 800491E8 00045028 88 87 00 02 */ lbz r4, 0x2(r7)
|
|
/* 800491EC 0004502C 7C 84 07 74 */ extsb r4, r4
|
|
/* 800491F0 00045030 7C 09 20 00 */ cmpw r9, r4
|
|
/* 800491F4 00045034 40 82 00 0C */ bne lbl_80049200
|
|
/* 800491F8 00045038 38 80 00 01 */ li r4, 0x1
|
|
/* 800491FC 0004503C 48 00 00 5C */ b lbl_80049258
|
|
.global lbl_80049200
|
|
lbl_80049200:
|
|
/* 80049200 00045040 88 87 00 03 */ lbz r4, 0x3(r7)
|
|
/* 80049204 00045044 7C 84 07 74 */ extsb r4, r4
|
|
/* 80049208 00045048 7C 09 20 00 */ cmpw r9, r4
|
|
/* 8004920C 0004504C 40 82 00 0C */ bne lbl_80049218
|
|
/* 80049210 00045050 38 80 00 01 */ li r4, 0x1
|
|
/* 80049214 00045054 48 00 00 44 */ b lbl_80049258
|
|
.global lbl_80049218
|
|
lbl_80049218:
|
|
/* 80049218 00045058 88 87 00 04 */ lbz r4, 0x4(r7)
|
|
/* 8004921C 0004505C 7C 84 07 74 */ extsb r4, r4
|
|
/* 80049220 00045060 7C 09 20 00 */ cmpw r9, r4
|
|
/* 80049224 00045064 40 82 00 0C */ bne lbl_80049230
|
|
/* 80049228 00045068 38 80 00 01 */ li r4, 0x1
|
|
/* 8004922C 0004506C 48 00 00 2C */ b lbl_80049258
|
|
.global lbl_80049230
|
|
lbl_80049230:
|
|
/* 80049230 00045070 88 87 00 05 */ lbz r4, 0x5(r7)
|
|
/* 80049234 00045074 7C 84 07 74 */ extsb r4, r4
|
|
/* 80049238 00045078 7C 09 20 00 */ cmpw r9, r4
|
|
/* 8004923C 0004507C 40 82 00 0C */ bne lbl_80049248
|
|
/* 80049240 00045080 38 80 00 01 */ li r4, 0x1
|
|
/* 80049244 00045084 48 00 00 14 */ b lbl_80049258
|
|
.global lbl_80049248
|
|
lbl_80049248:
|
|
/* 80049248 00045088 38 E7 00 06 */ addi r7, r7, 0x6
|
|
/* 8004924C 0004508C 38 A5 00 05 */ addi r5, r5, 0x5
|
|
/* 80049250 00045090 42 00 FF 68 */ bdnz lbl_800491B8
|
|
/* 80049254 00045094 38 80 00 00 */ li r4, 0x0
|
|
.global lbl_80049258
|
|
lbl_80049258:
|
|
/* 80049258 00045098 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8004925C 0004509C 40 82 00 0C */ bne lbl_80049268
|
|
/* 80049260 000450A0 38 60 00 00 */ li r3, 0x0
|
|
/* 80049264 000450A4 48 00 00 18 */ b lbl_8004927C
|
|
.global lbl_80049268
|
|
lbl_80049268:
|
|
/* 80049268 000450A8 39 4A 00 01 */ addi r10, r10, 0x1
|
|
/* 8004926C 000450AC 39 6B 00 01 */ addi r11, r11, 0x1
|
|
.global lbl_80049270
|
|
lbl_80049270:
|
|
/* 80049270 000450B0 7C 0B 18 40 */ cmplw r11, r3
|
|
/* 80049274 000450B4 41 80 FF 04 */ blt lbl_80049178
|
|
.global lbl_80049278
|
|
lbl_80049278:
|
|
/* 80049278 000450B8 38 60 00 01 */ li r3, 0x1
|
|
.global lbl_8004927C
|
|
lbl_8004927C:
|
|
/* 8004927C 000450BC 80 01 01 74 */ lwz r0, 0x174(r1)
|
|
/* 80049280 000450C0 83 E1 01 6C */ lwz r31, 0x16c(r1)
|
|
/* 80049284 000450C4 83 C1 01 68 */ lwz r30, 0x168(r1)
|
|
/* 80049288 000450C8 7C 08 03 A6 */ mtlr r0
|
|
/* 8004928C 000450CC 38 21 01 70 */ addi r1, r1, 0x170
|
|
/* 80049290 000450D0 4E 80 00 20 */ blr
|
|
/* 80049294 000450D4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80049298 000450D8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8004929C 000450DC 00 00 00 00 */ .4byte 0x00000000
|
|
.include "macros.inc"
|
|
|
|
.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0
|
|
.global "@3188_804078A8"
|
|
"@3188_804078A8":
|
|
|
|
.4byte 0x30313233
|
|
.4byte 0x34353637
|
|
.4byte 0x38396162
|
|
.4byte 0x63646566
|
|
.4byte 0x6768696A
|
|
.4byte 0x6B6C6D6E
|
|
.4byte 0x6F707172
|
|
.4byte 0x73747576
|
|
.4byte 0x7778797A
|
|
.4byte 0x41424344
|
|
.4byte 0x45464748
|
|
.4byte 0x494A4B4C
|
|
.4byte 0x4D4E4F50
|
|
.4byte 0x51525354
|
|
.4byte 0x55565758
|
|
.4byte 0x595A2D5F
|
|
.4byte 0x2E2F0000
|
|
.4byte 0
|
|
.include "macros.inc"
|
|
|
|
.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0
|
|
.global "@3665"
|
|
"@3665":
|
|
|
|
.4byte 0x2F000000
|
|
|
|
.global "@3666"
|
|
"@3666":
|
|
|
|
.4byte 0x2F257300
|