mirror of https://github.com/PrimeDecomp/prime.git
2089 lines
99 KiB
ArmAsm
2089 lines
99 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .ctors, "wa"
|
|
lbl_ctor:
|
|
.4byte __sinit_DolphinCMemoryCardSys_cpp
|
|
|
|
.section .sdata
|
|
.balign 8
|
|
|
|
.global lbl_805A89A8
|
|
lbl_805A89A8:
|
|
# ROM: 0x3F6348
|
|
.byte 0x00
|
|
|
|
.global lbl_805A89A9
|
|
lbl_805A89A9:
|
|
# ROM: 0x3F6349
|
|
.byte 0x00
|
|
|
|
.global lbl_805A89AA
|
|
lbl_805A89AA:
|
|
# ROM: 0x3F634A
|
|
.byte 0x00
|
|
|
|
.global lbl_805A89AB
|
|
lbl_805A89AB:
|
|
# ROM: 0x3F634B
|
|
.balign 4
|
|
.4byte 0
|
|
|
|
.section .bss
|
|
.balign 8
|
|
|
|
.comm lbl_805A67DC, 0x10, 4
|
|
.comm lbl_805A67EC, 0x10, 4 # MWCC .comm bug
|
|
.comm lbl_805A67FC, 0x10, 4
|
|
.lcomm lbl_804BFFA0, 0xC, 4
|
|
.lcomm lbl_804BFFAC, 0x14, 4
|
|
|
|
.section .sbss, "wa"
|
|
.balign 8
|
|
|
|
.global lbl_805A95C0
|
|
lbl_805A95C0:
|
|
.skip 0x1
|
|
.global lbl_805A95C1
|
|
lbl_805A95C1:
|
|
.skip 0x7
|
|
|
|
.section .text, "ax"
|
|
|
|
.global FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort
|
|
FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort:
|
|
/* 8034D4DC 0034A43C 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8034D4E0 0034A440 7C 08 02 A6 */ mflr r0
|
|
/* 8034D4E4 0034A444 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8034D4E8 0034A448 48 00 02 E9 */ bl WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort
|
|
/* 8034D4EC 0034A44C 38 00 00 00 */ li r0, 0
|
|
/* 8034D4F0 0034A450 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 8034D4F4 0034A454 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 8034D4F8 0034A458 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 8034D4FC 0034A45C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8034D500 0034A460 48 00 00 49 */ bl "__dt__Q24rstl36vector<c,Q24rstl17aligned_allocator>Fv"
|
|
/* 8034D504 0034A464 80 61 00 24 */ lwz r3, 0x24(r1)
|
|
/* 8034D508 0034A468 80 01 00 1C */ lwz r0, 0x1c(r1)
|
|
/* 8034D50C 0034A46C 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 8034D510 0034A470 7C 83 02 14 */ add r4, r3, r0
|
|
/* 8034D514 0034A474 7C 03 20 50 */ subf r0, r3, r4
|
|
/* 8034D518 0034A478 90 81 00 14 */ stw r4, 0x14(r1)
|
|
/* 8034D51C 0034A47C 90 81 00 10 */ stw r4, 0x10(r1)
|
|
/* 8034D520 0034A480 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 8034D524 0034A484 7C 09 03 A6 */ mtctr r0
|
|
/* 8034D528 0034A488 7C 03 20 40 */ cmplw r3, r4
|
|
/* 8034D52C 0034A48C 41 82 00 08 */ beq lbl_8034D534
|
|
lbl_8034D530:
|
|
/* 8034D530 0034A490 42 00 00 00 */ bdnz lbl_8034D530
|
|
lbl_8034D534:
|
|
/* 8034D534 0034A494 4B FC 83 FD */ bl Free__7CMemoryFPCv
|
|
/* 8034D538 0034A498 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8034D53C 0034A49C 7C 08 03 A6 */ mtlr r0
|
|
/* 8034D540 0034A4A0 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8034D544 0034A4A4 4E 80 00 20 */ blr
|
|
|
|
.global "__dt__Q24rstl36vector<c,Q24rstl17aligned_allocator>Fv"
|
|
"__dt__Q24rstl36vector<c,Q24rstl17aligned_allocator>Fv":
|
|
/* 8034D548 0034A4A8 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8034D54C 0034A4AC 7C 08 02 A6 */ mflr r0
|
|
/* 8034D550 0034A4B0 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8034D554 0034A4B4 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8034D558 0034A4B8 7C 9F 23 78 */ mr r31, r4
|
|
/* 8034D55C 0034A4BC 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8034D560 0034A4C0 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8034D564 0034A4C4 7C 1E F8 40 */ cmplw r30, r31
|
|
/* 8034D568 0034A4C8 40 82 00 08 */ bne lbl_8034D570
|
|
/* 8034D56C 0034A4CC 48 00 00 B4 */ b lbl_8034D620
|
|
lbl_8034D570:
|
|
/* 8034D570 0034A4D0 80 9E 00 0C */ lwz r4, 0xc(r30)
|
|
/* 8034D574 0034A4D4 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 8034D578 0034A4D8 90 81 00 0C */ stw r4, 0xc(r1)
|
|
/* 8034D57C 0034A4DC 7C 64 02 14 */ add r3, r4, r0
|
|
/* 8034D580 0034A4E0 7C 04 18 50 */ subf r0, r4, r3
|
|
/* 8034D584 0034A4E4 90 61 00 14 */ stw r3, 0x14(r1)
|
|
/* 8034D588 0034A4E8 90 61 00 10 */ stw r3, 0x10(r1)
|
|
/* 8034D58C 0034A4EC 90 81 00 08 */ stw r4, 8(r1)
|
|
/* 8034D590 0034A4F0 7C 09 03 A6 */ mtctr r0
|
|
/* 8034D594 0034A4F4 7C 04 18 40 */ cmplw r4, r3
|
|
/* 8034D598 0034A4F8 41 82 00 08 */ beq lbl_8034D5A0
|
|
lbl_8034D59C:
|
|
/* 8034D59C 0034A4FC 42 00 00 00 */ bdnz lbl_8034D59C
|
|
lbl_8034D5A0:
|
|
/* 8034D5A0 0034A500 38 00 00 00 */ li r0, 0
|
|
/* 8034D5A4 0034A504 90 1E 00 04 */ stw r0, 4(r30)
|
|
/* 8034D5A8 0034A508 80 9F 00 04 */ lwz r4, 4(r31)
|
|
/* 8034D5AC 0034A50C 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 8034D5B0 0034A510 40 82 00 20 */ bne lbl_8034D5D0
|
|
/* 8034D5B4 0034A514 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
/* 8034D5B8 0034A518 4B FC 83 79 */ bl Free__7CMemoryFPCv
|
|
/* 8034D5BC 0034A51C 38 00 00 00 */ li r0, 0
|
|
/* 8034D5C0 0034A520 90 1E 00 04 */ stw r0, 4(r30)
|
|
/* 8034D5C4 0034A524 90 1E 00 08 */ stw r0, 8(r30)
|
|
/* 8034D5C8 0034A528 90 1E 00 0C */ stw r0, 0xc(r30)
|
|
/* 8034D5CC 0034A52C 48 00 00 50 */ b lbl_8034D61C
|
|
lbl_8034D5D0:
|
|
/* 8034D5D0 0034A530 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034D5D4 0034A534 48 00 18 65 */ bl "reserve__Q24rstl36vector<c,Q24rstl17aligned_allocator>Fi"
|
|
/* 8034D5D8 0034A538 80 BF 00 0C */ lwz r5, 0xc(r31)
|
|
/* 8034D5DC 0034A53C 80 1F 00 04 */ lwz r0, 4(r31)
|
|
/* 8034D5E0 0034A540 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
/* 8034D5E4 0034A544 7C 85 02 14 */ add r4, r5, r0
|
|
/* 8034D5E8 0034A548 7C 05 20 50 */ subf r0, r5, r4
|
|
/* 8034D5EC 0034A54C 7C 09 03 A6 */ mtctr r0
|
|
/* 8034D5F0 0034A550 7C 05 20 40 */ cmplw r5, r4
|
|
/* 8034D5F4 0034A554 41 82 00 20 */ beq lbl_8034D614
|
|
lbl_8034D5F8:
|
|
/* 8034D5F8 0034A558 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8034D5FC 0034A55C 41 82 00 0C */ beq lbl_8034D608
|
|
/* 8034D600 0034A560 88 05 00 00 */ lbz r0, 0(r5)
|
|
/* 8034D604 0034A564 98 03 00 00 */ stb r0, 0(r3)
|
|
lbl_8034D608:
|
|
/* 8034D608 0034A568 38 63 00 01 */ addi r3, r3, 1
|
|
/* 8034D60C 0034A56C 38 A5 00 01 */ addi r5, r5, 1
|
|
/* 8034D610 0034A570 42 00 FF E8 */ bdnz lbl_8034D5F8
|
|
lbl_8034D614:
|
|
/* 8034D614 0034A574 80 1F 00 04 */ lwz r0, 4(r31)
|
|
/* 8034D618 0034A578 90 1E 00 04 */ stw r0, 4(r30)
|
|
lbl_8034D61C:
|
|
/* 8034D61C 0034A57C 7F C3 F3 78 */ mr r3, r30
|
|
lbl_8034D620:
|
|
/* 8034D620 0034A580 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8034D624 0034A584 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8034D628 0034A588 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8034D62C 0034A58C 7C 08 03 A6 */ mtlr r0
|
|
/* 8034D630 0034A590 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8034D634 0034A594 4E 80 00 20 */ blr
|
|
|
|
.global sub_8034d638
|
|
sub_8034d638:
|
|
/* 8034D638 0034A598 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8034D63C 0034A59C 7C 08 02 A6 */ mflr r0
|
|
/* 8034D640 0034A5A0 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8034D644 0034A5A4 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8034D648 0034A5A8 7C 9F 23 78 */ mr r31, r4
|
|
/* 8034D64C 0034A5AC 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8034D650 0034A5B0 7C 7E 1B 79 */ or. r30, r3, r3
|
|
/* 8034D654 0034A5B4 41 82 00 48 */ beq lbl_8034D69C
|
|
/* 8034D658 0034A5B8 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
/* 8034D65C 0034A5BC 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 8034D660 0034A5C0 90 61 00 10 */ stw r3, 0x10(r1)
|
|
/* 8034D664 0034A5C4 7C 83 02 14 */ add r4, r3, r0
|
|
/* 8034D668 0034A5C8 7C 03 20 50 */ subf r0, r3, r4
|
|
/* 8034D66C 0034A5CC 90 81 00 08 */ stw r4, 8(r1)
|
|
/* 8034D670 0034A5D0 90 81 00 0C */ stw r4, 0xc(r1)
|
|
/* 8034D674 0034A5D4 90 61 00 14 */ stw r3, 0x14(r1)
|
|
/* 8034D678 0034A5D8 7C 09 03 A6 */ mtctr r0
|
|
/* 8034D67C 0034A5DC 7C 03 20 40 */ cmplw r3, r4
|
|
/* 8034D680 0034A5E0 41 82 00 08 */ beq lbl_8034D688
|
|
lbl_8034D684:
|
|
/* 8034D684 0034A5E4 42 00 00 00 */ bdnz lbl_8034D684
|
|
lbl_8034D688:
|
|
/* 8034D688 0034A5E8 4B FC 82 A9 */ bl Free__7CMemoryFPCv
|
|
/* 8034D68C 0034A5EC 7F E0 07 35 */ extsh. r0, r31
|
|
/* 8034D690 0034A5F0 40 81 00 0C */ ble lbl_8034D69C
|
|
/* 8034D694 0034A5F4 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034D698 0034A5F8 4B FC 82 99 */ bl Free__7CMemoryFPCv
|
|
lbl_8034D69C:
|
|
/* 8034D69C 0034A5FC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8034D6A0 0034A600 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034D6A4 0034A604 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8034D6A8 0034A608 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8034D6AC 0034A60C 7C 08 03 A6 */ mtlr r0
|
|
/* 8034D6B0 0034A610 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8034D6B4 0034A614 4E 80 00 20 */ blr
|
|
|
|
.global AllocCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort
|
|
AllocCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort:
|
|
/* 8034D6B8 0034A618 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034D6BC 0034A61C 7C 08 02 A6 */ mflr r0
|
|
/* 8034D6C0 0034A620 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034D6C4 0034A624 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8034D6C8 0034A628 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8034D6CC 0034A62C 48 00 01 05 */ bl WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort
|
|
/* 8034D6D0 0034A630 3C 80 00 01 */ lis r4, 0x0000A000@ha
|
|
/* 8034D6D4 0034A634 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034D6D8 0034A638 38 84 A0 00 */ addi r4, r4, 0x0000A000@l
|
|
/* 8034D6DC 0034A63C 38 AD 9D EB */ addi r5, r13, lbl_805A89AB@sda21
|
|
/* 8034D6E0 0034A640 48 00 00 31 */ bl "resize__Q24rstl36vector<c,Q24rstl17aligned_allocator>FiRCc"
|
|
/* 8034D6E4 0034A644 83 DF 00 0C */ lwz r30, 0xc(r31)
|
|
/* 8034D6E8 0034A648 80 9F 00 04 */ lwz r4, 4(r31)
|
|
/* 8034D6EC 0034A64C 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034D6F0 0034A650 48 03 13 95 */ bl DCInvalidateRange
|
|
/* 8034D6F4 0034A654 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034D6F8 0034A658 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034D6FC 0034A65C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8034D700 0034A660 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8034D704 0034A664 7C 08 03 A6 */ mtlr r0
|
|
/* 8034D708 0034A668 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034D70C 0034A66C 4E 80 00 20 */ blr
|
|
|
|
.global "resize__Q24rstl36vector<c,Q24rstl17aligned_allocator>FiRCc"
|
|
"resize__Q24rstl36vector<c,Q24rstl17aligned_allocator>FiRCc":
|
|
/* 8034D710 0034A670 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8034D714 0034A674 7C 08 02 A6 */ mflr r0
|
|
/* 8034D718 0034A678 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8034D71C 0034A67C 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 8034D720 0034A680 7C BF 2B 78 */ mr r31, r5
|
|
/* 8034D724 0034A684 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
/* 8034D728 0034A688 7C 9E 23 78 */ mr r30, r4
|
|
/* 8034D72C 0034A68C 93 A1 00 24 */ stw r29, 0x24(r1)
|
|
/* 8034D730 0034A690 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8034D734 0034A694 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 8034D738 0034A698 7C 00 F0 00 */ cmpw r0, r30
|
|
/* 8034D73C 0034A69C 41 82 00 78 */ beq lbl_8034D7B4
|
|
/* 8034D740 0034A6A0 7C 1E 00 00 */ cmpw r30, r0
|
|
/* 8034D744 0034A6A4 40 81 00 3C */ ble lbl_8034D780
|
|
/* 8034D748 0034A6A8 48 00 16 F1 */ bl "reserve__Q24rstl36vector<c,Q24rstl17aligned_allocator>Fi"
|
|
/* 8034D74C 0034A6AC 80 7D 00 04 */ lwz r3, 4(r29)
|
|
/* 8034D750 0034A6B0 80 1D 00 0C */ lwz r0, 0xc(r29)
|
|
/* 8034D754 0034A6B4 7C 83 F0 51 */ subf. r4, r3, r30
|
|
/* 8034D758 0034A6B8 7C 60 1A 14 */ add r3, r0, r3
|
|
/* 8034D75C 0034A6BC 7C 89 03 A6 */ mtctr r4
|
|
/* 8034D760 0034A6C0 40 81 00 50 */ ble lbl_8034D7B0
|
|
lbl_8034D764:
|
|
/* 8034D764 0034A6C4 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8034D768 0034A6C8 41 82 00 0C */ beq lbl_8034D774
|
|
/* 8034D76C 0034A6CC 88 1F 00 00 */ lbz r0, 0(r31)
|
|
/* 8034D770 0034A6D0 98 03 00 00 */ stb r0, 0(r3)
|
|
lbl_8034D774:
|
|
/* 8034D774 0034A6D4 38 63 00 01 */ addi r3, r3, 1
|
|
/* 8034D778 0034A6D8 42 00 FF EC */ bdnz lbl_8034D764
|
|
/* 8034D77C 0034A6DC 48 00 00 34 */ b lbl_8034D7B0
|
|
lbl_8034D780:
|
|
/* 8034D780 0034A6E0 80 9D 00 0C */ lwz r4, 0xc(r29)
|
|
/* 8034D784 0034A6E4 7C 64 02 14 */ add r3, r4, r0
|
|
/* 8034D788 0034A6E8 7C 84 F2 14 */ add r4, r4, r30
|
|
/* 8034D78C 0034A6EC 7C 04 18 50 */ subf r0, r4, r3
|
|
/* 8034D790 0034A6F0 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 8034D794 0034A6F4 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 8034D798 0034A6F8 90 81 00 10 */ stw r4, 0x10(r1)
|
|
/* 8034D79C 0034A6FC 90 81 00 14 */ stw r4, 0x14(r1)
|
|
/* 8034D7A0 0034A700 7C 09 03 A6 */ mtctr r0
|
|
/* 8034D7A4 0034A704 7C 04 18 40 */ cmplw r4, r3
|
|
/* 8034D7A8 0034A708 41 82 00 08 */ beq lbl_8034D7B0
|
|
lbl_8034D7AC:
|
|
/* 8034D7AC 0034A70C 42 00 00 00 */ bdnz lbl_8034D7AC
|
|
lbl_8034D7B0:
|
|
/* 8034D7B0 0034A710 93 DD 00 04 */ stw r30, 4(r29)
|
|
lbl_8034D7B4:
|
|
/* 8034D7B4 0034A714 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8034D7B8 0034A718 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
/* 8034D7BC 0034A71C 83 C1 00 28 */ lwz r30, 0x28(r1)
|
|
/* 8034D7C0 0034A720 83 A1 00 24 */ lwz r29, 0x24(r1)
|
|
/* 8034D7C4 0034A724 7C 08 03 A6 */ mtlr r0
|
|
/* 8034D7C8 0034A728 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8034D7CC 0034A72C 4E 80 00 20 */ blr
|
|
|
|
.global WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort
|
|
WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort:
|
|
/* 8034D7D0 0034A730 2C 03 00 01 */ cmpwi r3, 1
|
|
/* 8034D7D4 0034A734 41 82 00 20 */ beq lbl_8034D7F4
|
|
/* 8034D7D8 0034A738 40 80 00 28 */ bge lbl_8034D800
|
|
/* 8034D7DC 0034A73C 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 8034D7E0 0034A740 40 80 00 08 */ bge lbl_8034D7E8
|
|
/* 8034D7E4 0034A744 48 00 00 1C */ b lbl_8034D800
|
|
lbl_8034D7E8:
|
|
/* 8034D7E8 0034A748 3C 60 80 5A */ lis r3, lbl_805A67DC@ha
|
|
/* 8034D7EC 0034A74C 38 63 67 DC */ addi r3, r3, lbl_805A67DC@l
|
|
/* 8034D7F0 0034A750 4E 80 00 20 */ blr
|
|
lbl_8034D7F4:
|
|
/* 8034D7F4 0034A754 3C 60 80 5A */ lis r3, lbl_805A67FC@ha
|
|
/* 8034D7F8 0034A758 38 63 67 FC */ addi r3, r3, lbl_805A67FC@l
|
|
/* 8034D7FC 0034A75C 4E 80 00 20 */ blr
|
|
lbl_8034D800:
|
|
/* 8034D800 0034A760 3C 60 80 5A */ lis r3, lbl_805A67DC@ha
|
|
/* 8034D804 0034A764 38 63 67 DC */ addi r3, r3, lbl_805A67DC@l
|
|
/* 8034D808 0034A768 4E 80 00 20 */ blr
|
|
|
|
.global SetStatus__14CMemoryCardSysFiiPC8CARDStat
|
|
SetStatus__14CMemoryCardSysFiiPC8CARDStat:
|
|
/* 8034D80C 0034A76C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034D810 0034A770 7C 08 02 A6 */ mflr r0
|
|
/* 8034D814 0034A774 38 C0 00 00 */ li r6, 0
|
|
/* 8034D818 0034A778 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034D81C 0034A77C 48 07 0A 5D */ bl CARDSetStatusAsync
|
|
/* 8034D820 0034A780 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034D824 0034A784 7C 08 03 A6 */ mtlr r0
|
|
/* 8034D828 0034A788 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034D82C 0034A78C 4E 80 00 20 */ blr
|
|
|
|
.global GetStatus__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortiR8CardStat
|
|
GetStatus__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortiR8CardStat:
|
|
/* 8034D830 0034A790 94 21 FF 80 */ stwu r1, -0x80(r1)
|
|
/* 8034D834 0034A794 7C 08 02 A6 */ mflr r0
|
|
/* 8034D838 0034A798 90 01 00 84 */ stw r0, 0x84(r1)
|
|
/* 8034D83C 0034A79C 93 E1 00 7C */ stw r31, 0x7c(r1)
|
|
/* 8034D840 0034A7A0 7C BF 2B 78 */ mr r31, r5
|
|
/* 8034D844 0034A7A4 38 A1 00 08 */ addi r5, r1, 8
|
|
/* 8034D848 0034A7A8 48 07 09 05 */ bl CARDGetStatus
|
|
/* 8034D84C 0034A7AC 38 00 00 0D */ li r0, 0xd
|
|
/* 8034D850 0034A7B0 38 DF FF FC */ addi r6, r31, -4
|
|
/* 8034D854 0034A7B4 38 A1 00 04 */ addi r5, r1, 4
|
|
/* 8034D858 0034A7B8 7C 09 03 A6 */ mtctr r0
|
|
lbl_8034D85C:
|
|
/* 8034D85C 0034A7BC 80 85 00 04 */ lwz r4, 4(r5)
|
|
/* 8034D860 0034A7C0 84 05 00 08 */ lwzu r0, 8(r5)
|
|
/* 8034D864 0034A7C4 90 86 00 04 */ stw r4, 4(r6)
|
|
/* 8034D868 0034A7C8 94 06 00 08 */ stwu r0, 8(r6)
|
|
/* 8034D86C 0034A7CC 42 00 FF F0 */ bdnz lbl_8034D85C
|
|
/* 8034D870 0034A7D0 80 05 00 04 */ lwz r0, 4(r5)
|
|
/* 8034D874 0034A7D4 90 06 00 04 */ stw r0, 4(r6)
|
|
/* 8034D878 0034A7D8 80 01 00 84 */ lwz r0, 0x84(r1)
|
|
/* 8034D87C 0034A7DC 83 E1 00 7C */ lwz r31, 0x7c(r1)
|
|
/* 8034D880 0034A7E0 7C 08 03 A6 */ mtlr r0
|
|
/* 8034D884 0034A7E4 38 21 00 80 */ addi r1, r1, 0x80
|
|
/* 8034D888 0034A7E8 4E 80 00 20 */ blr
|
|
|
|
.global GetSerialNo__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRx
|
|
GetSerialNo__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRx:
|
|
/* 8034D88C 0034A7EC 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034D890 0034A7F0 7C 08 02 A6 */ mflr r0
|
|
/* 8034D894 0034A7F4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034D898 0034A7F8 48 07 0D 51 */ bl CARDGetSerialNo
|
|
/* 8034D89C 0034A7FC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034D8A0 0034A800 7C 08 03 A6 */ mtlr r0
|
|
/* 8034D8A4 0034A804 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034D8A8 0034A808 4E 80 00 20 */ blr
|
|
|
|
.global TryFileRead__19SMemoryCardFileInfoFv
|
|
TryFileRead__19SMemoryCardFileInfoFv:
|
|
/* 8034D8AC 0034A80C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034D8B0 0034A810 7C 08 02 A6 */ mflr r0
|
|
/* 8034D8B4 0034A814 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034D8B8 0034A818 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8034D8BC 0034A81C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034D8C0 0034A820 48 00 11 ED */ bl GetFileCardPort__19SMemoryCardFileInfoFv
|
|
/* 8034D8C4 0034A824 48 00 0B 29 */ bl GetResultCode__14CMemoryCardSysFi
|
|
/* 8034D8C8 0034A828 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 8034D8CC 0034A82C 41 82 00 08 */ beq lbl_8034D8D4
|
|
/* 8034D8D0 0034A830 48 00 00 0C */ b lbl_8034D8DC
|
|
lbl_8034D8D4:
|
|
/* 8034D8D4 0034A834 7F E3 FB 78 */ mr r3, r31
|
|
/* 8034D8D8 0034A838 48 00 12 71 */ bl FileRead__19SMemoryCardFileInfoFv
|
|
lbl_8034D8DC:
|
|
/* 8034D8DC 0034A83C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034D8E0 0034A840 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8034D8E4 0034A844 7C 08 03 A6 */ mtlr r0
|
|
/* 8034D8E8 0034A848 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034D8EC 0034A84C 4E 80 00 20 */ blr
|
|
|
|
.global StartRead__19SMemoryCardFileInfoFv
|
|
StartRead__19SMemoryCardFileInfoFv:
|
|
/* 8034D8F0 0034A850 94 21 FF 60 */ stwu r1, -0xa0(r1)
|
|
/* 8034D8F4 0034A854 7C 08 02 A6 */ mflr r0
|
|
/* 8034D8F8 0034A858 38 80 00 00 */ li r4, 0
|
|
/* 8034D8FC 0034A85C 38 A0 00 6C */ li r5, 0x6c
|
|
/* 8034D900 0034A860 90 01 00 A4 */ stw r0, 0xa4(r1)
|
|
/* 8034D904 0034A864 93 E1 00 9C */ stw r31, 0x9c(r1)
|
|
/* 8034D908 0034A868 93 C1 00 98 */ stw r30, 0x98(r1)
|
|
/* 8034D90C 0034A86C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8034D910 0034A870 38 61 00 28 */ addi r3, r1, 0x28
|
|
/* 8034D914 0034A874 4B CB 5A 95 */ bl memset
|
|
/* 8034D918 0034A878 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034D91C 0034A87C 48 00 11 89 */ bl GetFileNo__19SMemoryCardFileInfoCFv
|
|
/* 8034D920 0034A880 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034D924 0034A884 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034D928 0034A888 48 00 11 85 */ bl GetFileCardPort__19SMemoryCardFileInfoFv
|
|
/* 8034D92C 0034A88C 7F E4 FB 78 */ mr r4, r31
|
|
/* 8034D930 0034A890 38 A1 00 28 */ addi r5, r1, 0x28
|
|
/* 8034D934 0034A894 4B FF FE FD */ bl GetStatus__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortiR8CardStat
|
|
/* 8034D938 0034A898 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 8034D93C 0034A89C 41 82 00 08 */ beq lbl_8034D944
|
|
/* 8034D940 0034A8A0 48 00 00 90 */ b lbl_8034D9D0
|
|
lbl_8034D944:
|
|
/* 8034D944 0034A8A4 38 61 00 28 */ addi r3, r1, 0x28
|
|
/* 8034D948 0034A8A8 48 00 0C 85 */ bl GetFileLength__8CARDStatFv
|
|
/* 8034D94C 0034A8AC 38 00 00 00 */ li r0, 0
|
|
/* 8034D950 0034A8B0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034D954 0034A8B4 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 8034D958 0034A8B8 38 7E 00 34 */ addi r3, r30, 0x34
|
|
/* 8034D95C 0034A8BC 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 8034D960 0034A8C0 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 8034D964 0034A8C4 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8034D968 0034A8C8 4B F5 AD 4D */ bl sub_802a86b4
|
|
/* 8034D96C 0034A8CC 80 61 00 24 */ lwz r3, 0x24(r1)
|
|
/* 8034D970 0034A8D0 80 01 00 1C */ lwz r0, 0x1c(r1)
|
|
/* 8034D974 0034A8D4 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 8034D978 0034A8D8 7C 83 02 14 */ add r4, r3, r0
|
|
/* 8034D97C 0034A8DC 7C 03 20 50 */ subf r0, r3, r4
|
|
/* 8034D980 0034A8E0 90 81 00 14 */ stw r4, 0x14(r1)
|
|
/* 8034D984 0034A8E4 90 81 00 10 */ stw r4, 0x10(r1)
|
|
/* 8034D988 0034A8E8 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 8034D98C 0034A8EC 7C 09 03 A6 */ mtctr r0
|
|
/* 8034D990 0034A8F0 7C 03 20 40 */ cmplw r3, r4
|
|
/* 8034D994 0034A8F4 41 82 00 08 */ beq lbl_8034D99C
|
|
lbl_8034D998:
|
|
/* 8034D998 0034A8F8 42 00 00 00 */ bdnz lbl_8034D998
|
|
lbl_8034D99C:
|
|
/* 8034D99C 0034A8FC 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8034D9A0 0034A900 41 82 00 08 */ beq lbl_8034D9A8
|
|
/* 8034D9A4 0034A904 4B FC 7F 8D */ bl Free__7CMemoryFPCv
|
|
lbl_8034D9A8:
|
|
/* 8034D9A8 0034A908 7F E4 FB 78 */ mr r4, r31
|
|
/* 8034D9AC 0034A90C 38 7E 00 24 */ addi r3, r30, 0x24
|
|
/* 8034D9B0 0034A910 38 AD 9D EA */ addi r5, r13, lbl_805A89AA@sda21
|
|
/* 8034D9B4 0034A914 48 00 00 35 */ bl sub_8034d9e8
|
|
/* 8034D9B8 0034A918 80 9E 00 30 */ lwz r4, 0x30(r30)
|
|
/* 8034D9BC 0034A91C 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034D9C0 0034A920 7F E5 FB 78 */ mr r5, r31
|
|
/* 8034D9C4 0034A924 38 C0 00 00 */ li r6, 0
|
|
/* 8034D9C8 0034A928 38 E0 00 00 */ li r7, 0
|
|
/* 8034D9CC 0034A92C 48 06 FE 2D */ bl CARDReadAsync
|
|
lbl_8034D9D0:
|
|
/* 8034D9D0 0034A930 80 01 00 A4 */ lwz r0, 0xa4(r1)
|
|
/* 8034D9D4 0034A934 83 E1 00 9C */ lwz r31, 0x9c(r1)
|
|
/* 8034D9D8 0034A938 83 C1 00 98 */ lwz r30, 0x98(r1)
|
|
/* 8034D9DC 0034A93C 7C 08 03 A6 */ mtlr r0
|
|
/* 8034D9E0 0034A940 38 21 00 A0 */ addi r1, r1, 0xa0
|
|
/* 8034D9E4 0034A944 4E 80 00 20 */ blr
|
|
|
|
.global sub_8034d9e8
|
|
sub_8034d9e8:
|
|
/* 8034D9E8 0034A948 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8034D9EC 0034A94C 7C 08 02 A6 */ mflr r0
|
|
/* 8034D9F0 0034A950 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8034D9F4 0034A954 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 8034D9F8 0034A958 7C BF 2B 78 */ mr r31, r5
|
|
/* 8034D9FC 0034A95C 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
/* 8034DA00 0034A960 7C 9E 23 78 */ mr r30, r4
|
|
/* 8034DA04 0034A964 93 A1 00 24 */ stw r29, 0x24(r1)
|
|
/* 8034DA08 0034A968 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8034DA0C 0034A96C 93 81 00 20 */ stw r28, 0x20(r1)
|
|
/* 8034DA10 0034A970 80 83 00 0C */ lwz r4, 0xc(r3)
|
|
/* 8034DA14 0034A974 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 8034DA18 0034A978 90 81 00 0C */ stw r4, 0xc(r1)
|
|
/* 8034DA1C 0034A97C 7C 64 02 14 */ add r3, r4, r0
|
|
/* 8034DA20 0034A980 7C 04 18 50 */ subf r0, r4, r3
|
|
/* 8034DA24 0034A984 90 61 00 14 */ stw r3, 0x14(r1)
|
|
/* 8034DA28 0034A988 90 61 00 10 */ stw r3, 0x10(r1)
|
|
/* 8034DA2C 0034A98C 90 81 00 08 */ stw r4, 8(r1)
|
|
/* 8034DA30 0034A990 7C 09 03 A6 */ mtctr r0
|
|
/* 8034DA34 0034A994 7C 04 18 40 */ cmplw r4, r3
|
|
/* 8034DA38 0034A998 41 82 00 08 */ beq lbl_8034DA40
|
|
lbl_8034DA3C:
|
|
/* 8034DA3C 0034A99C 42 00 00 00 */ bdnz lbl_8034DA3C
|
|
lbl_8034DA40:
|
|
/* 8034DA40 0034A9A0 38 00 00 00 */ li r0, 0
|
|
/* 8034DA44 0034A9A4 7F A3 EB 78 */ mr r3, r29
|
|
/* 8034DA48 0034A9A8 90 1D 00 04 */ stw r0, 4(r29)
|
|
/* 8034DA4C 0034A9AC 7F C4 F3 78 */ mr r4, r30
|
|
/* 8034DA50 0034A9B0 48 00 12 E1 */ bl sub_8034ed30
|
|
/* 8034DA54 0034A9B4 3B 80 00 00 */ li r28, 0
|
|
/* 8034DA58 0034A9B8 48 00 00 54 */ b lbl_8034DAAC
|
|
lbl_8034DA5C:
|
|
/* 8034DA5C 0034A9BC 80 1D 00 04 */ lwz r0, 4(r29)
|
|
/* 8034DA60 0034A9C0 80 BD 00 08 */ lwz r5, 8(r29)
|
|
/* 8034DA64 0034A9C4 7C 00 28 00 */ cmpw r0, r5
|
|
/* 8034DA68 0034A9C8 41 80 00 1C */ blt lbl_8034DA84
|
|
/* 8034DA6C 0034A9CC 2C 05 00 00 */ cmpwi r5, 0
|
|
/* 8034DA70 0034A9D0 7F A3 EB 78 */ mr r3, r29
|
|
/* 8034DA74 0034A9D4 38 80 00 04 */ li r4, 4
|
|
/* 8034DA78 0034A9D8 41 82 00 08 */ beq lbl_8034DA80
|
|
/* 8034DA7C 0034A9DC 54 A4 08 3C */ slwi r4, r5, 1
|
|
lbl_8034DA80:
|
|
/* 8034DA80 0034A9E0 48 00 12 B1 */ bl sub_8034ed30
|
|
lbl_8034DA84:
|
|
/* 8034DA84 0034A9E4 80 7D 00 0C */ lwz r3, 0xc(r29)
|
|
/* 8034DA88 0034A9E8 80 1D 00 04 */ lwz r0, 4(r29)
|
|
/* 8034DA8C 0034A9EC 7C 63 02 15 */ add. r3, r3, r0
|
|
/* 8034DA90 0034A9F0 41 82 00 0C */ beq lbl_8034DA9C
|
|
/* 8034DA94 0034A9F4 88 1F 00 00 */ lbz r0, 0(r31)
|
|
/* 8034DA98 0034A9F8 98 03 00 00 */ stb r0, 0(r3)
|
|
lbl_8034DA9C:
|
|
/* 8034DA9C 0034A9FC 80 7D 00 04 */ lwz r3, 4(r29)
|
|
/* 8034DAA0 0034AA00 3B 9C 00 01 */ addi r28, r28, 1
|
|
/* 8034DAA4 0034AA04 38 03 00 01 */ addi r0, r3, 1
|
|
/* 8034DAA8 0034AA08 90 1D 00 04 */ stw r0, 4(r29)
|
|
lbl_8034DAAC:
|
|
/* 8034DAAC 0034AA0C 7C 1C F0 00 */ cmpw r28, r30
|
|
/* 8034DAB0 0034AA10 41 80 FF AC */ blt lbl_8034DA5C
|
|
/* 8034DAB4 0034AA14 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8034DAB8 0034AA18 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
/* 8034DABC 0034AA1C 83 C1 00 28 */ lwz r30, 0x28(r1)
|
|
/* 8034DAC0 0034AA20 83 A1 00 24 */ lwz r29, 0x24(r1)
|
|
/* 8034DAC4 0034AA24 83 81 00 20 */ lwz r28, 0x20(r1)
|
|
/* 8034DAC8 0034AA28 7C 08 03 A6 */ mtlr r0
|
|
/* 8034DACC 0034AA2C 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8034DAD0 0034AA30 4E 80 00 20 */ blr
|
|
|
|
.global GetStatus__13CCardFileInfoFP8CARDStat
|
|
GetStatus__13CCardFileInfoFP8CARDStat:
|
|
/* 8034DAD4 0034AA34 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8034DAD8 0034AA38 7C 08 02 A6 */ mflr r0
|
|
/* 8034DADC 0034AA3C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8034DAE0 0034AA40 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8034DAE4 0034AA44 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8034DAE8 0034AA48 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 8034DAEC 0034AA4C 7C 9D 23 78 */ mr r29, r4
|
|
/* 8034DAF0 0034AA50 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 8034DAF4 0034AA54 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8034DAF8 0034AA58 48 00 0F 9D */ bl GetFileNo__13CCardFileInfoFv
|
|
/* 8034DAFC 0034AA5C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034DB00 0034AA60 7F 83 E3 78 */ mr r3, r28
|
|
/* 8034DB04 0034AA64 48 00 0F 99 */ bl GetCardPort__13CCardFileInfoFv
|
|
/* 8034DB08 0034AA68 7F E4 FB 78 */ mr r4, r31
|
|
/* 8034DB0C 0034AA6C 7F A5 EB 78 */ mr r5, r29
|
|
/* 8034DB10 0034AA70 4B FF FD 21 */ bl GetStatus__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortiR8CardStat
|
|
/* 8034DB14 0034AA74 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 8034DB18 0034AA78 41 82 00 08 */ beq lbl_8034DB20
|
|
/* 8034DB1C 0034AA7C 48 00 00 D8 */ b lbl_8034DBF4
|
|
lbl_8034DB20:
|
|
/* 8034DB20 0034AA80 7F A3 EB 78 */ mr r3, r29
|
|
/* 8034DB24 0034AA84 38 80 00 04 */ li r4, 4
|
|
/* 8034DB28 0034AA88 48 00 0A 09 */ bl SetCommentAddr__8CARDStatFi
|
|
/* 8034DB2C 0034AA8C 7F A3 EB 78 */ mr r3, r29
|
|
/* 8034DB30 0034AA90 38 80 00 44 */ li r4, 0x44
|
|
/* 8034DB34 0034AA94 48 00 0A 05 */ bl SetIconAddr__8CARDStatFi
|
|
/* 8034DB38 0034AA98 80 7C 00 3C */ lwz r3, 0x3c(r28)
|
|
/* 8034DB3C 0034AA9C 3C 03 00 01 */ addis r0, r3, 1
|
|
/* 8034DB40 0034AAA0 28 00 FF FF */ cmplwi r0, 0xffff
|
|
/* 8034DB44 0034AAA4 40 82 00 0C */ bne lbl_8034DB50
|
|
/* 8034DB48 0034AAA8 38 80 00 00 */ li r4, 0
|
|
/* 8034DB4C 0034AAAC 48 00 00 20 */ b lbl_8034DB6C
|
|
lbl_8034DB50:
|
|
/* 8034DB50 0034AAB0 80 7C 00 48 */ lwz r3, 0x48(r28)
|
|
/* 8034DB54 0034AAB4 80 03 00 00 */ lwz r0, 0(r3)
|
|
/* 8034DB58 0034AAB8 2C 00 00 08 */ cmpwi r0, 8
|
|
/* 8034DB5C 0034AABC 40 82 00 0C */ bne lbl_8034DB68
|
|
/* 8034DB60 0034AAC0 38 80 00 02 */ li r4, 2
|
|
/* 8034DB64 0034AAC4 48 00 00 08 */ b lbl_8034DB6C
|
|
lbl_8034DB68:
|
|
/* 8034DB68 0034AAC8 38 80 00 01 */ li r4, 1
|
|
lbl_8034DB6C:
|
|
/* 8034DB6C 0034AACC 7F A3 EB 78 */ mr r3, r29
|
|
/* 8034DB70 0034AAD0 48 00 0A 19 */ bl SetBannerFormat__8CARDStatFi
|
|
/* 8034DB74 0034AAD4 3B FC 00 54 */ addi r31, r28, 0x54
|
|
/* 8034DB78 0034AAD8 3B C0 00 00 */ li r30, 0
|
|
/* 8034DB7C 0034AADC 48 00 00 40 */ b lbl_8034DBBC
|
|
lbl_8034DB80:
|
|
/* 8034DB80 0034AAE0 80 7F 00 10 */ lwz r3, 0x10(r31)
|
|
/* 8034DB84 0034AAE4 38 80 00 01 */ li r4, 1
|
|
/* 8034DB88 0034AAE8 80 03 00 00 */ lwz r0, 0(r3)
|
|
/* 8034DB8C 0034AAEC 2C 00 00 08 */ cmpwi r0, 8
|
|
/* 8034DB90 0034AAF0 40 82 00 08 */ bne lbl_8034DB98
|
|
/* 8034DB94 0034AAF4 38 80 00 02 */ li r4, 2
|
|
lbl_8034DB98:
|
|
/* 8034DB98 0034AAF8 7F A3 EB 78 */ mr r3, r29
|
|
/* 8034DB9C 0034AAFC 7F C5 F3 78 */ mr r5, r30
|
|
/* 8034DBA0 0034AB00 48 00 09 C5 */ bl SetIconFormat__8CARDStatFii
|
|
/* 8034DBA4 0034AB04 80 9F 00 04 */ lwz r4, 4(r31)
|
|
/* 8034DBA8 0034AB08 7F A3 EB 78 */ mr r3, r29
|
|
/* 8034DBAC 0034AB0C 7F C5 F3 78 */ mr r5, r30
|
|
/* 8034DBB0 0034AB10 48 00 09 91 */ bl SetIconSpeed__8CARDStatFii
|
|
/* 8034DBB4 0034AB14 3B FF 00 14 */ addi r31, r31, 0x14
|
|
/* 8034DBB8 0034AB18 3B DE 00 01 */ addi r30, r30, 1
|
|
lbl_8034DBBC:
|
|
/* 8034DBBC 0034AB1C 80 1C 00 50 */ lwz r0, 0x50(r28)
|
|
/* 8034DBC0 0034AB20 7C 1E 00 00 */ cmpw r30, r0
|
|
/* 8034DBC4 0034AB24 41 80 FF BC */ blt lbl_8034DB80
|
|
/* 8034DBC8 0034AB28 2C 1E 00 08 */ cmpwi r30, 8
|
|
/* 8034DBCC 0034AB2C 40 80 00 24 */ bge lbl_8034DBF0
|
|
/* 8034DBD0 0034AB30 7F A3 EB 78 */ mr r3, r29
|
|
/* 8034DBD4 0034AB34 7F C5 F3 78 */ mr r5, r30
|
|
/* 8034DBD8 0034AB38 38 80 00 00 */ li r4, 0
|
|
/* 8034DBDC 0034AB3C 48 00 09 89 */ bl SetIconFormat__8CARDStatFii
|
|
/* 8034DBE0 0034AB40 7F A3 EB 78 */ mr r3, r29
|
|
/* 8034DBE4 0034AB44 7F C5 F3 78 */ mr r5, r30
|
|
/* 8034DBE8 0034AB48 38 80 00 00 */ li r4, 0
|
|
/* 8034DBEC 0034AB4C 48 00 09 55 */ bl SetIconSpeed__8CARDStatFii
|
|
lbl_8034DBF0:
|
|
/* 8034DBF0 0034AB50 38 60 00 00 */ li r3, 0
|
|
lbl_8034DBF4:
|
|
/* 8034DBF4 0034AB54 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8034DBF8 0034AB58 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8034DBFC 0034AB5C 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8034DC00 0034AB60 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8034DC04 0034AB64 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 8034DC08 0034AB68 7C 08 03 A6 */ mtlr r0
|
|
/* 8034DC0C 0034AB6C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8034DC10 0034AB70 4E 80 00 20 */ blr
|
|
|
|
.global PumpCardTransfer__Q214CMemoryCardSys13CCardFileInfoFv
|
|
PumpCardTransfer__Q214CMemoryCardSys13CCardFileInfoFv:
|
|
/* 8034DC14 0034AB74 94 21 FF 60 */ stwu r1, -0xa0(r1)
|
|
/* 8034DC18 0034AB78 7C 08 02 A6 */ mflr r0
|
|
/* 8034DC1C 0034AB7C 90 01 00 A4 */ stw r0, 0xa4(r1)
|
|
/* 8034DC20 0034AB80 93 E1 00 9C */ stw r31, 0x9c(r1)
|
|
/* 8034DC24 0034AB84 93 C1 00 98 */ stw r30, 0x98(r1)
|
|
/* 8034DC28 0034AB88 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8034DC2C 0034AB8C 80 03 00 00 */ lwz r0, 0(r3)
|
|
/* 8034DC30 0034AB90 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 8034DC34 0034AB94 40 82 00 0C */ bne lbl_8034DC40
|
|
/* 8034DC38 0034AB98 38 60 00 00 */ li r3, 0
|
|
/* 8034DC3C 0034AB9C 48 00 01 00 */ b lbl_8034DD3C
|
|
lbl_8034DC40:
|
|
/* 8034DC40 0034ABA0 2C 00 00 01 */ cmpwi r0, 1
|
|
/* 8034DC44 0034ABA4 40 82 00 D8 */ bne lbl_8034DD1C
|
|
/* 8034DC48 0034ABA8 48 00 0E 55 */ bl GetCardPort__13CCardFileInfoFv
|
|
/* 8034DC4C 0034ABAC 48 00 07 A1 */ bl GetResultCode__14CMemoryCardSysFi
|
|
/* 8034DC50 0034ABB0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034DC54 0034ABB4 2C 1F FF FF */ cmpwi r31, -1
|
|
/* 8034DC58 0034ABB8 41 82 00 54 */ beq lbl_8034DCAC
|
|
/* 8034DC5C 0034ABBC 38 00 00 00 */ li r0, 0
|
|
/* 8034DC60 0034ABC0 38 7E 01 04 */ addi r3, r30, 0x104
|
|
/* 8034DC64 0034ABC4 90 01 00 1C */ stw r0, 0x1c(r1)
|
|
/* 8034DC68 0034ABC8 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 8034DC6C 0034ABCC 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 8034DC70 0034ABD0 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8034DC74 0034ABD4 48 00 00 E1 */ bl sub_8034dd54
|
|
/* 8034DC78 0034ABD8 80 61 00 24 */ lwz r3, 0x24(r1)
|
|
/* 8034DC7C 0034ABDC 80 01 00 1C */ lwz r0, 0x1c(r1)
|
|
/* 8034DC80 0034ABE0 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 8034DC84 0034ABE4 7C 83 02 14 */ add r4, r3, r0
|
|
/* 8034DC88 0034ABE8 7C 03 20 50 */ subf r0, r3, r4
|
|
/* 8034DC8C 0034ABEC 90 81 00 14 */ stw r4, 0x14(r1)
|
|
/* 8034DC90 0034ABF0 90 81 00 10 */ stw r4, 0x10(r1)
|
|
/* 8034DC94 0034ABF4 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 8034DC98 0034ABF8 7C 09 03 A6 */ mtctr r0
|
|
/* 8034DC9C 0034ABFC 7C 03 20 40 */ cmplw r3, r4
|
|
/* 8034DCA0 0034AC00 41 82 00 08 */ beq lbl_8034DCA8
|
|
lbl_8034DCA4:
|
|
/* 8034DCA4 0034AC04 42 00 00 00 */ bdnz lbl_8034DCA4
|
|
lbl_8034DCA8:
|
|
/* 8034DCA8 0034AC08 4B FC 7C 89 */ bl Free__7CMemoryFPCv
|
|
lbl_8034DCAC:
|
|
/* 8034DCAC 0034AC0C 2C 1F 00 00 */ cmpwi r31, 0
|
|
/* 8034DCB0 0034AC10 41 82 00 0C */ beq lbl_8034DCBC
|
|
/* 8034DCB4 0034AC14 7F E3 FB 78 */ mr r3, r31
|
|
/* 8034DCB8 0034AC18 48 00 00 84 */ b lbl_8034DD3C
|
|
lbl_8034DCBC:
|
|
/* 8034DCBC 0034AC1C 38 00 00 02 */ li r0, 2
|
|
/* 8034DCC0 0034AC20 38 61 00 28 */ addi r3, r1, 0x28
|
|
/* 8034DCC4 0034AC24 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 8034DCC8 0034AC28 38 80 00 00 */ li r4, 0
|
|
/* 8034DCCC 0034AC2C 38 A0 00 6C */ li r5, 0x6c
|
|
/* 8034DCD0 0034AC30 4B CB 56 D9 */ bl memset
|
|
/* 8034DCD4 0034AC34 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034DCD8 0034AC38 38 81 00 28 */ addi r4, r1, 0x28
|
|
/* 8034DCDC 0034AC3C 4B FF FD F9 */ bl GetStatus__13CCardFileInfoFP8CARDStat
|
|
/* 8034DCE0 0034AC40 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 8034DCE4 0034AC44 41 82 00 08 */ beq lbl_8034DCEC
|
|
/* 8034DCE8 0034AC48 48 00 00 54 */ b lbl_8034DD3C
|
|
lbl_8034DCEC:
|
|
/* 8034DCEC 0034AC4C 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034DCF0 0034AC50 48 00 0D A5 */ bl GetFileNo__13CCardFileInfoFv
|
|
/* 8034DCF4 0034AC54 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034DCF8 0034AC58 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034DCFC 0034AC5C 48 00 0D A1 */ bl GetCardPort__13CCardFileInfoFv
|
|
/* 8034DD00 0034AC60 7F E4 FB 78 */ mr r4, r31
|
|
/* 8034DD04 0034AC64 38 A1 00 28 */ addi r5, r1, 0x28
|
|
/* 8034DD08 0034AC68 4B FF FB 05 */ bl SetStatus__14CMemoryCardSysFiiPC8CARDStat
|
|
/* 8034DD0C 0034AC6C 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 8034DD10 0034AC70 40 82 00 2C */ bne lbl_8034DD3C
|
|
/* 8034DD14 0034AC74 38 60 FF FF */ li r3, -1
|
|
/* 8034DD18 0034AC78 48 00 00 24 */ b lbl_8034DD3C
|
|
lbl_8034DD1C:
|
|
/* 8034DD1C 0034AC7C 48 00 0D 81 */ bl GetCardPort__13CCardFileInfoFv
|
|
/* 8034DD20 0034AC80 48 00 06 CD */ bl GetResultCode__14CMemoryCardSysFi
|
|
/* 8034DD24 0034AC84 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 8034DD28 0034AC88 41 82 00 08 */ beq lbl_8034DD30
|
|
/* 8034DD2C 0034AC8C 48 00 00 10 */ b lbl_8034DD3C
|
|
lbl_8034DD30:
|
|
/* 8034DD30 0034AC90 38 00 00 00 */ li r0, 0
|
|
/* 8034DD34 0034AC94 38 60 00 00 */ li r3, 0
|
|
/* 8034DD38 0034AC98 90 1E 00 00 */ stw r0, 0(r30)
|
|
lbl_8034DD3C:
|
|
/* 8034DD3C 0034AC9C 80 01 00 A4 */ lwz r0, 0xa4(r1)
|
|
/* 8034DD40 0034ACA0 83 E1 00 9C */ lwz r31, 0x9c(r1)
|
|
/* 8034DD44 0034ACA4 83 C1 00 98 */ lwz r30, 0x98(r1)
|
|
/* 8034DD48 0034ACA8 7C 08 03 A6 */ mtlr r0
|
|
/* 8034DD4C 0034ACAC 38 21 00 A0 */ addi r1, r1, 0xa0
|
|
/* 8034DD50 0034ACB0 4E 80 00 20 */ blr
|
|
|
|
.global sub_8034dd54
|
|
sub_8034dd54:
|
|
/* 8034DD54 0034ACB4 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8034DD58 0034ACB8 7C 08 02 A6 */ mflr r0
|
|
/* 8034DD5C 0034ACBC 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8034DD60 0034ACC0 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8034DD64 0034ACC4 7C 9F 23 78 */ mr r31, r4
|
|
/* 8034DD68 0034ACC8 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8034DD6C 0034ACCC 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8034DD70 0034ACD0 7C 1E F8 40 */ cmplw r30, r31
|
|
/* 8034DD74 0034ACD4 40 82 00 08 */ bne lbl_8034DD7C
|
|
/* 8034DD78 0034ACD8 48 00 00 B4 */ b lbl_8034DE2C
|
|
lbl_8034DD7C:
|
|
/* 8034DD7C 0034ACDC 80 9E 00 0C */ lwz r4, 0xc(r30)
|
|
/* 8034DD80 0034ACE0 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 8034DD84 0034ACE4 90 81 00 0C */ stw r4, 0xc(r1)
|
|
/* 8034DD88 0034ACE8 7C 64 02 14 */ add r3, r4, r0
|
|
/* 8034DD8C 0034ACEC 7C 04 18 50 */ subf r0, r4, r3
|
|
/* 8034DD90 0034ACF0 90 61 00 14 */ stw r3, 0x14(r1)
|
|
/* 8034DD94 0034ACF4 90 61 00 10 */ stw r3, 0x10(r1)
|
|
/* 8034DD98 0034ACF8 90 81 00 08 */ stw r4, 8(r1)
|
|
/* 8034DD9C 0034ACFC 7C 09 03 A6 */ mtctr r0
|
|
/* 8034DDA0 0034AD00 7C 04 18 40 */ cmplw r4, r3
|
|
/* 8034DDA4 0034AD04 41 82 00 08 */ beq lbl_8034DDAC
|
|
lbl_8034DDA8:
|
|
/* 8034DDA8 0034AD08 42 00 00 00 */ bdnz lbl_8034DDA8
|
|
lbl_8034DDAC:
|
|
/* 8034DDAC 0034AD0C 38 00 00 00 */ li r0, 0
|
|
/* 8034DDB0 0034AD10 90 1E 00 04 */ stw r0, 4(r30)
|
|
/* 8034DDB4 0034AD14 80 9F 00 04 */ lwz r4, 4(r31)
|
|
/* 8034DDB8 0034AD18 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 8034DDBC 0034AD1C 40 82 00 20 */ bne lbl_8034DDDC
|
|
/* 8034DDC0 0034AD20 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
/* 8034DDC4 0034AD24 4B FC 7B 6D */ bl Free__7CMemoryFPCv
|
|
/* 8034DDC8 0034AD28 38 00 00 00 */ li r0, 0
|
|
/* 8034DDCC 0034AD2C 90 1E 00 04 */ stw r0, 4(r30)
|
|
/* 8034DDD0 0034AD30 90 1E 00 08 */ stw r0, 8(r30)
|
|
/* 8034DDD4 0034AD34 90 1E 00 0C */ stw r0, 0xc(r30)
|
|
/* 8034DDD8 0034AD38 48 00 00 50 */ b lbl_8034DE28
|
|
lbl_8034DDDC:
|
|
/* 8034DDDC 0034AD3C 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034DDE0 0034AD40 48 00 0F 51 */ bl sub_8034ed30
|
|
/* 8034DDE4 0034AD44 80 BF 00 0C */ lwz r5, 0xc(r31)
|
|
/* 8034DDE8 0034AD48 80 1F 00 04 */ lwz r0, 4(r31)
|
|
/* 8034DDEC 0034AD4C 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
/* 8034DDF0 0034AD50 7C 85 02 14 */ add r4, r5, r0
|
|
/* 8034DDF4 0034AD54 7C 05 20 50 */ subf r0, r5, r4
|
|
/* 8034DDF8 0034AD58 7C 09 03 A6 */ mtctr r0
|
|
/* 8034DDFC 0034AD5C 7C 05 20 40 */ cmplw r5, r4
|
|
/* 8034DE00 0034AD60 41 82 00 20 */ beq lbl_8034DE20
|
|
lbl_8034DE04:
|
|
/* 8034DE04 0034AD64 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8034DE08 0034AD68 41 82 00 0C */ beq lbl_8034DE14
|
|
/* 8034DE0C 0034AD6C 88 05 00 00 */ lbz r0, 0(r5)
|
|
/* 8034DE10 0034AD70 98 03 00 00 */ stb r0, 0(r3)
|
|
lbl_8034DE14:
|
|
/* 8034DE14 0034AD74 38 63 00 01 */ addi r3, r3, 1
|
|
/* 8034DE18 0034AD78 38 A5 00 01 */ addi r5, r5, 1
|
|
/* 8034DE1C 0034AD7C 42 00 FF E8 */ bdnz lbl_8034DE04
|
|
lbl_8034DE20:
|
|
/* 8034DE20 0034AD80 80 1F 00 04 */ lwz r0, 4(r31)
|
|
/* 8034DE24 0034AD84 90 1E 00 04 */ stw r0, 4(r30)
|
|
lbl_8034DE28:
|
|
/* 8034DE28 0034AD88 7F C3 F3 78 */ mr r3, r30
|
|
lbl_8034DE2C:
|
|
/* 8034DE2C 0034AD8C 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8034DE30 0034AD90 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8034DE34 0034AD94 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8034DE38 0034AD98 7C 08 03 A6 */ mtlr r0
|
|
/* 8034DE3C 0034AD9C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8034DE40 0034ADA0 4E 80 00 20 */ blr
|
|
|
|
.global WriteFile__Q214CMemoryCardSys13CCardFileInfoFv
|
|
WriteFile__Q214CMemoryCardSys13CCardFileInfoFv:
|
|
/* 8034DE44 0034ADA4 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8034DE48 0034ADA8 7C 08 02 A6 */ mflr r0
|
|
/* 8034DE4C 0034ADAC 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8034DE50 0034ADB0 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8034DE54 0034ADB4 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8034DE58 0034ADB8 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 8034DE5C 0034ADBC 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8034DE60 0034ADC0 48 00 08 31 */ bl BuildCardBuffer__13CCardFileInfoFv
|
|
/* 8034DE64 0034ADC4 83 DD 01 10 */ lwz r30, 0x110(r29)
|
|
/* 8034DE68 0034ADC8 83 FD 01 08 */ lwz r31, 0x108(r29)
|
|
/* 8034DE6C 0034ADCC 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034DE70 0034ADD0 7F E4 FB 78 */ mr r4, r31
|
|
/* 8034DE74 0034ADD4 48 03 0C 6D */ bl DCStoreRange
|
|
/* 8034DE78 0034ADD8 7F C4 F3 78 */ mr r4, r30
|
|
/* 8034DE7C 0034ADDC 7F E5 FB 78 */ mr r5, r31
|
|
/* 8034DE80 0034ADE0 38 7D 00 04 */ addi r3, r29, 4
|
|
/* 8034DE84 0034ADE4 38 C0 00 00 */ li r6, 0
|
|
/* 8034DE88 0034ADE8 38 E0 00 00 */ li r7, 0
|
|
/* 8034DE8C 0034ADEC 48 06 FC D5 */ bl CARDWriteAsync
|
|
/* 8034DE90 0034ADF0 38 00 00 01 */ li r0, 1
|
|
/* 8034DE94 0034ADF4 90 1D 00 00 */ stw r0, 0(r29)
|
|
/* 8034DE98 0034ADF8 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8034DE9C 0034ADFC 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8034DEA0 0034AE00 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8034DEA4 0034AE04 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8034DEA8 0034AE08 7C 08 03 A6 */ mtlr r0
|
|
/* 8034DEAC 0034AE0C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8034DEB0 0034AE10 4E 80 00 20 */ blr
|
|
|
|
.global CheckCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort
|
|
CheckCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort:
|
|
/* 8034DEB4 0034AE14 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034DEB8 0034AE18 7C 08 02 A6 */ mflr r0
|
|
/* 8034DEBC 0034AE1C 38 80 00 00 */ li r4, 0
|
|
/* 8034DEC0 0034AE20 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034DEC4 0034AE24 48 06 DC 25 */ bl CARDCheckAsync
|
|
/* 8034DEC8 0034AE28 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034DECC 0034AE2C 7C 08 03 A6 */ mtlr r0
|
|
/* 8034DED0 0034AE30 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034DED4 0034AE34 4E 80 00 20 */ blr
|
|
|
|
.global "Rename__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
|
|
"Rename__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
|
|
/* 8034DED8 0034AE38 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034DEDC 0034AE3C 7C 08 02 A6 */ mflr r0
|
|
/* 8034DEE0 0034AE40 38 C0 00 00 */ li r6, 0
|
|
/* 8034DEE4 0034AE44 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034DEE8 0034AE48 80 84 00 00 */ lwz r4, 0(r4)
|
|
/* 8034DEEC 0034AE4C 80 A5 00 00 */ lwz r5, 0(r5)
|
|
/* 8034DEF0 0034AE50 48 07 04 FD */ bl CARDRenameAsync
|
|
/* 8034DEF4 0034AE54 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034DEF8 0034AE58 7C 08 03 A6 */ mtlr r0
|
|
/* 8034DEFC 0034AE5C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034DF00 0034AE60 4E 80 00 20 */ blr
|
|
|
|
.global CloseFile__Q214CMemoryCardSys13CCardFileInfoFv
|
|
CloseFile__Q214CMemoryCardSys13CCardFileInfoFv:
|
|
/* 8034DF04 0034AE64 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034DF08 0034AE68 7C 08 02 A6 */ mflr r0
|
|
/* 8034DF0C 0034AE6C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034DF10 0034AE70 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8034DF14 0034AE74 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8034DF18 0034AE78 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8034DF1C 0034AE7C 48 00 0B 81 */ bl GetCardPort__13CCardFileInfoFv
|
|
/* 8034DF20 0034AE80 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034DF24 0034AE84 38 7E 00 04 */ addi r3, r30, 4
|
|
/* 8034DF28 0034AE88 48 06 F2 3D */ bl CARDClose
|
|
/* 8034DF2C 0034AE8C 93 FE 00 04 */ stw r31, 4(r30)
|
|
/* 8034DF30 0034AE90 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034DF34 0034AE94 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8034DF38 0034AE98 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8034DF3C 0034AE9C 7C 08 03 A6 */ mtlr r0
|
|
/* 8034DF40 0034AEA0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034DF44 0034AEA4 4E 80 00 20 */ blr
|
|
|
|
.global Close__19SMemoryCardFileInfoFv
|
|
Close__19SMemoryCardFileInfoFv:
|
|
/* 8034DF48 0034AEA8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034DF4C 0034AEAC 7C 08 02 A6 */ mflr r0
|
|
/* 8034DF50 0034AEB0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034DF54 0034AEB4 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8034DF58 0034AEB8 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8034DF5C 0034AEBC 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8034DF60 0034AEC0 48 00 0B 4D */ bl GetFileCardPort__19SMemoryCardFileInfoFv
|
|
/* 8034DF64 0034AEC4 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034DF68 0034AEC8 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034DF6C 0034AECC 48 06 F1 F9 */ bl CARDClose
|
|
/* 8034DF70 0034AED0 93 FE 00 00 */ stw r31, 0(r30)
|
|
/* 8034DF74 0034AED4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034DF78 0034AED8 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8034DF7C 0034AEDC 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8034DF80 0034AEE0 7C 08 03 A6 */ mtlr r0
|
|
/* 8034DF84 0034AEE4 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034DF88 0034AEE8 4E 80 00 20 */ blr
|
|
|
|
.global FastDeleteFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPorti
|
|
FastDeleteFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPorti:
|
|
/* 8034DF8C 0034AEEC 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034DF90 0034AEF0 7C 08 02 A6 */ mflr r0
|
|
/* 8034DF94 0034AEF4 38 A0 00 00 */ li r5, 0
|
|
/* 8034DF98 0034AEF8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034DF9C 0034AEFC 48 06 FD 7D */ bl CARDFastDeleteAsync
|
|
/* 8034DFA0 0034AF00 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034DFA4 0034AF04 7C 08 03 A6 */ mtlr r0
|
|
/* 8034DFA8 0034AF08 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034DFAC 0034AF0C 4E 80 00 20 */ blr
|
|
|
|
.global "DeleteFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
|
|
"DeleteFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
|
|
/* 8034DFB0 0034AF10 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034DFB4 0034AF14 7C 08 02 A6 */ mflr r0
|
|
/* 8034DFB8 0034AF18 38 A0 00 00 */ li r5, 0
|
|
/* 8034DFBC 0034AF1C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034DFC0 0034AF20 80 84 00 00 */ lwz r4, 0(r4)
|
|
/* 8034DFC4 0034AF24 48 06 FE 81 */ bl CARDDeleteAsync
|
|
/* 8034DFC8 0034AF28 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034DFCC 0034AF2C 7C 08 03 A6 */ mtlr r0
|
|
/* 8034DFD0 0034AF30 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034DFD4 0034AF34 4E 80 00 20 */ blr
|
|
|
|
.global CreateFile__Q214CMemoryCardSys13CCardFileInfoFv
|
|
CreateFile__Q214CMemoryCardSys13CCardFileInfoFv:
|
|
/* 8034DFD8 0034AF38 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034DFDC 0034AF3C 7C 08 02 A6 */ mflr r0
|
|
/* 8034DFE0 0034AF40 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034DFE4 0034AF44 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8034DFE8 0034AF48 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8034DFEC 0034AF4C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8034DFF0 0034AF50 48 00 06 69 */ bl CalculateTotalDataSize__13CCardFileInfoFv
|
|
/* 8034DFF4 0034AF54 7C 60 1B 78 */ mr r0, r3
|
|
/* 8034DFF8 0034AF58 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034DFFC 0034AF5C 7C 1F 03 78 */ mr r31, r0
|
|
/* 8034E000 0034AF60 48 00 0A 9D */ bl GetCardPort__13CCardFileInfoFv
|
|
/* 8034E004 0034AF64 80 9E 00 18 */ lwz r4, 0x18(r30)
|
|
/* 8034E008 0034AF68 7F E5 FB 78 */ mr r5, r31
|
|
/* 8034E00C 0034AF6C 38 DE 00 04 */ addi r6, r30, 4
|
|
/* 8034E010 0034AF70 38 E0 00 00 */ li r7, 0
|
|
/* 8034E014 0034AF74 48 06 F2 DD */ bl CARDCreateAsync
|
|
/* 8034E018 0034AF78 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034E01C 0034AF7C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8034E020 0034AF80 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8034E024 0034AF84 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E028 0034AF88 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034E02C 0034AF8C 4E 80 00 20 */ blr
|
|
|
|
.global "Open__19SMemoryCardFileInfoFv"
|
|
"Open__19SMemoryCardFileInfoFv":
|
|
/* 8034E030 0034AF90 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034E034 0034AF94 7C 08 02 A6 */ mflr r0
|
|
/* 8034E038 0034AF98 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034E03C 0034AF9C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8034E040 0034AFA0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034E044 0034AFA4 48 00 0A 69 */ bl GetFileCardPort__19SMemoryCardFileInfoFv
|
|
/* 8034E048 0034AFA8 80 9F 00 14 */ lwz r4, 0x14(r31)
|
|
/* 8034E04C 0034AFAC 7F E5 FB 78 */ mr r5, r31
|
|
/* 8034E050 0034AFB0 48 06 EF 9D */ bl CARDOpen
|
|
/* 8034E054 0034AFB4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034E058 0034AFB8 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8034E05C 0034AFBC 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E060 0034AFC0 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034E064 0034AFC4 4E 80 00 20 */ blr
|
|
|
|
.global LockIconToken__Q214CMemoryCardSys13CCardFileInfoFUiiR11CSimplePool
|
|
LockIconToken__Q214CMemoryCardSys13CCardFileInfoFUiiR11CSimplePool:
|
|
/* 8034E068 0034AFC8 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8034E06C 0034AFCC 7C 08 02 A6 */ mflr r0
|
|
/* 8034E070 0034AFD0 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8034E074 0034AFD4 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 8034E078 0034AFD8 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034E07C 0034AFDC 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8034E080 0034AFE0 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
/* 8034E084 0034AFE4 48 00 0A 31 */ bl sub_8034eab4
|
|
/* 8034E088 0034AFE8 80 1F 00 50 */ lwz r0, 0x50(r31)
|
|
/* 8034E08C 0034AFEC 1C 00 00 14 */ mulli r0, r0, 0x14
|
|
/* 8034E090 0034AFF0 7C BF 02 14 */ add r5, r31, r0
|
|
/* 8034E094 0034AFF4 34 A5 00 54 */ addic. r5, r5, 0x54
|
|
/* 8034E098 0034AFF8 41 82 00 34 */ beq lbl_8034E0CC
|
|
/* 8034E09C 0034AFFC 80 01 00 08 */ lwz r0, 8(r1)
|
|
/* 8034E0A0 0034B000 3B C5 00 08 */ addi r30, r5, 8
|
|
/* 8034E0A4 0034B004 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034E0A8 0034B008 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 8034E0AC 0034B00C 90 05 00 00 */ stw r0, 0(r5)
|
|
/* 8034E0B0 0034B010 80 01 00 0C */ lwz r0, 0xc(r1)
|
|
/* 8034E0B4 0034B014 90 05 00 04 */ stw r0, 4(r5)
|
|
/* 8034E0B8 0034B018 4B FF 2D F1 */ bl __ct__6CTokenFRC6CToken
|
|
/* 8034E0BC 0034B01C 80 01 00 18 */ lwz r0, 0x18(r1)
|
|
/* 8034E0C0 0034B020 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034E0C4 0034B024 90 1E 00 08 */ stw r0, 8(r30)
|
|
/* 8034E0C8 0034B028 4B FF 2C BD */ bl Lock__6CTokenFv
|
|
lbl_8034E0CC:
|
|
/* 8034E0CC 0034B02C 80 9F 00 50 */ lwz r4, 0x50(r31)
|
|
/* 8034E0D0 0034B030 34 61 00 10 */ addic. r3, r1, 0x10
|
|
/* 8034E0D4 0034B034 38 04 00 01 */ addi r0, r4, 1
|
|
/* 8034E0D8 0034B038 90 1F 00 50 */ stw r0, 0x50(r31)
|
|
/* 8034E0DC 0034B03C 41 82 00 14 */ beq lbl_8034E0F0
|
|
/* 8034E0E0 0034B040 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8034E0E4 0034B044 41 82 00 0C */ beq lbl_8034E0F0
|
|
/* 8034E0E8 0034B048 38 80 00 00 */ li r4, 0
|
|
/* 8034E0EC 0034B04C 4B FF 2D 55 */ bl __dt__6CTokenFv
|
|
lbl_8034E0F0:
|
|
/* 8034E0F0 0034B050 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8034E0F4 0034B054 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
/* 8034E0F8 0034B058 83 C1 00 28 */ lwz r30, 0x28(r1)
|
|
/* 8034E0FC 0034B05C 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E100 0034B060 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8034E104 0034B064 4E 80 00 20 */ blr
|
|
|
|
.global LockBannerToken__Q214CMemoryCardSys13CCardFileInfoFUiR11CSimplePool
|
|
LockBannerToken__Q214CMemoryCardSys13CCardFileInfoFUiR11CSimplePool:
|
|
/* 8034E108 0034B068 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8034E10C 0034B06C 7C 08 02 A6 */ mflr r0
|
|
/* 8034E110 0034B070 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8034E114 0034B074 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 8034E118 0034B078 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
/* 8034E11C 0034B07C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8034E120 0034B080 3C 60 54 58 */ lis r3, 0x54585452@ha
|
|
/* 8034E124 0034B084 90 9E 00 3C */ stw r4, 0x3c(r30)
|
|
/* 8034E128 0034B088 38 03 54 52 */ addi r0, r3, 0x54585452@l
|
|
/* 8034E12C 0034B08C 7C A4 2B 78 */ mr r4, r5
|
|
/* 8034E130 0034B090 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8034E134 0034B094 80 DE 00 3C */ lwz r6, 0x3c(r30)
|
|
/* 8034E138 0034B098 38 A1 00 10 */ addi r5, r1, 0x10
|
|
/* 8034E13C 0034B09C 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 8034E140 0034B0A0 90 C1 00 14 */ stw r6, 0x14(r1)
|
|
/* 8034E144 0034B0A4 81 84 00 00 */ lwz r12, 0(r4)
|
|
/* 8034E148 0034B0A8 81 8C 00 0C */ lwz r12, 0xc(r12)
|
|
/* 8034E14C 0034B0AC 7D 89 03 A6 */ mtctr r12
|
|
/* 8034E150 0034B0B0 4E 80 04 21 */ bctrl
|
|
/* 8034E154 0034B0B4 3B E1 00 18 */ addi r31, r1, 0x18
|
|
/* 8034E158 0034B0B8 38 81 00 08 */ addi r4, r1, 8
|
|
/* 8034E15C 0034B0BC 7F E3 FB 78 */ mr r3, r31
|
|
/* 8034E160 0034B0C0 4B FF 2D 49 */ bl __ct__6CTokenFRC6CToken
|
|
/* 8034E164 0034B0C4 7F E3 FB 78 */ mr r3, r31
|
|
/* 8034E168 0034B0C8 4B FF 2C A5 */ bl GetObj__6CTokenFv
|
|
/* 8034E16C 0034B0CC 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 8034E170 0034B0D0 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 8034E174 0034B0D4 88 1E 00 4C */ lbz r0, 0x4c(r30)
|
|
/* 8034E178 0034B0D8 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8034E17C 0034B0DC 40 82 00 34 */ bne lbl_8034E1B0
|
|
/* 8034E180 0034B0E0 37 FE 00 40 */ addic. r31, r30, 0x40
|
|
/* 8034E184 0034B0E4 41 82 00 20 */ beq lbl_8034E1A4
|
|
/* 8034E188 0034B0E8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8034E18C 0034B0EC 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 8034E190 0034B0F0 4B FF 2D 19 */ bl __ct__6CTokenFRC6CToken
|
|
/* 8034E194 0034B0F4 80 01 00 20 */ lwz r0, 0x20(r1)
|
|
/* 8034E198 0034B0F8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8034E19C 0034B0FC 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 8034E1A0 0034B100 4B FF 2B E5 */ bl Lock__6CTokenFv
|
|
lbl_8034E1A4:
|
|
/* 8034E1A4 0034B104 38 00 00 01 */ li r0, 1
|
|
/* 8034E1A8 0034B108 98 1E 00 4C */ stb r0, 0x4c(r30)
|
|
/* 8034E1AC 0034B10C 48 00 00 1C */ b lbl_8034E1C8
|
|
lbl_8034E1B0:
|
|
/* 8034E1B0 0034B110 3B FE 00 40 */ addi r31, r30, 0x40
|
|
/* 8034E1B4 0034B114 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 8034E1B8 0034B118 7F E3 FB 78 */ mr r3, r31
|
|
/* 8034E1BC 0034B11C 4B FF 2B 09 */ bl __as__6CTokenFRC6CToken
|
|
/* 8034E1C0 0034B120 80 01 00 20 */ lwz r0, 0x20(r1)
|
|
/* 8034E1C4 0034B124 90 1F 00 08 */ stw r0, 8(r31)
|
|
lbl_8034E1C8:
|
|
/* 8034E1C8 0034B128 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 8034E1CC 0034B12C 38 80 00 00 */ li r4, 0
|
|
/* 8034E1D0 0034B130 4B FF 2C 71 */ bl __dt__6CTokenFv
|
|
/* 8034E1D4 0034B134 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8034E1D8 0034B138 38 80 FF FF */ li r4, -1
|
|
/* 8034E1DC 0034B13C 4B FF 2C 65 */ bl __dt__6CTokenFv
|
|
/* 8034E1E0 0034B140 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8034E1E4 0034B144 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
/* 8034E1E8 0034B148 83 C1 00 28 */ lwz r30, 0x28(r1)
|
|
/* 8034E1EC 0034B14C 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E1F0 0034B150 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8034E1F4 0034B154 4E 80 00 20 */ blr
|
|
|
|
.global "__ct__Q214CMemoryCardSys13CCardFileInfoFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
|
|
"__ct__Q214CMemoryCardSys13CCardFileInfoFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
|
|
/* 8034E1F8 0034B158 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034E1FC 0034B15C 7C 08 02 A6 */ mflr r0
|
|
/* 8034E200 0034B160 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034E204 0034B164 38 00 00 00 */ li r0, 0
|
|
/* 8034E208 0034B168 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8034E20C 0034B16C 7C 9F 23 78 */ mr r31, r4
|
|
/* 8034E210 0034B170 7C A4 2B 78 */ mr r4, r5
|
|
/* 8034E214 0034B174 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8034E218 0034B178 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8034E21C 0034B17C 90 03 00 00 */ stw r0, 0(r3)
|
|
/* 8034E220 0034B180 38 7E 00 18 */ addi r3, r30, 0x18
|
|
/* 8034E224 0034B184 4B FE FF 3D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
|
|
/* 8034E228 0034B188 38 0D A9 18 */ addi r0, r13, "mNull__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"@sda21
|
|
/* 8034E22C 0034B18C 38 80 00 00 */ li r4, 0
|
|
/* 8034E230 0034B190 90 1E 00 28 */ stw r0, 0x28(r30)
|
|
/* 8034E234 0034B194 38 00 FF FF */ li r0, -1
|
|
/* 8034E238 0034B198 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034E23C 0034B19C 90 9E 00 2C */ stw r4, 0x2c(r30)
|
|
/* 8034E240 0034B1A0 90 9E 00 30 */ stw r4, 0x30(r30)
|
|
/* 8034E244 0034B1A4 90 9E 00 38 */ stw r4, 0x38(r30)
|
|
/* 8034E248 0034B1A8 90 1E 00 3C */ stw r0, 0x3c(r30)
|
|
/* 8034E24C 0034B1AC 98 9E 00 4C */ stb r4, 0x4c(r30)
|
|
/* 8034E250 0034B1B0 90 9E 00 50 */ stw r4, 0x50(r30)
|
|
/* 8034E254 0034B1B4 90 9E 00 F8 */ stw r4, 0xf8(r30)
|
|
/* 8034E258 0034B1B8 90 9E 00 FC */ stw r4, 0xfc(r30)
|
|
/* 8034E25C 0034B1BC 90 9E 01 00 */ stw r4, 0x100(r30)
|
|
/* 8034E260 0034B1C0 90 9E 01 08 */ stw r4, 0x108(r30)
|
|
/* 8034E264 0034B1C4 90 9E 01 0C */ stw r4, 0x10c(r30)
|
|
/* 8034E268 0034B1C8 90 9E 01 10 */ stw r4, 0x110(r30)
|
|
/* 8034E26C 0034B1CC 93 FE 00 04 */ stw r31, 4(r30)
|
|
/* 8034E270 0034B1D0 90 1E 00 08 */ stw r0, 8(r30)
|
|
/* 8034E274 0034B1D4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8034E278 0034B1D8 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8034E27C 0034B1DC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034E280 0034B1E0 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E284 0034B1E4 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034E288 0034B1E8 4E 80 00 20 */ blr
|
|
|
|
.global "__ct__19SMemoryCardFileInfoFiRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
|
|
"__ct__19SMemoryCardFileInfoFiRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
|
|
/* 8034E28C 0034B1EC 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034E290 0034B1F0 7C 08 02 A6 */ mflr r0
|
|
/* 8034E294 0034B1F4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034E298 0034B1F8 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8034E29C 0034B1FC 7C 9F 23 78 */ mr r31, r4
|
|
/* 8034E2A0 0034B200 7C A4 2B 78 */ mr r4, r5
|
|
/* 8034E2A4 0034B204 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8034E2A8 0034B208 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8034E2AC 0034B20C 38 7E 00 14 */ addi r3, r30, 0x14
|
|
/* 8034E2B0 0034B210 4B FE FE B1 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
|
|
/* 8034E2B4 0034B214 38 80 00 00 */ li r4, 0
|
|
/* 8034E2B8 0034B218 38 00 FF FF */ li r0, -1
|
|
/* 8034E2BC 0034B21C 90 9E 00 28 */ stw r4, 0x28(r30)
|
|
/* 8034E2C0 0034B220 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034E2C4 0034B224 90 9E 00 2C */ stw r4, 0x2c(r30)
|
|
/* 8034E2C8 0034B228 90 9E 00 30 */ stw r4, 0x30(r30)
|
|
/* 8034E2CC 0034B22C 90 9E 00 38 */ stw r4, 0x38(r30)
|
|
/* 8034E2D0 0034B230 90 9E 00 3C */ stw r4, 0x3c(r30)
|
|
/* 8034E2D4 0034B234 90 9E 00 40 */ stw r4, 0x40(r30)
|
|
/* 8034E2D8 0034B238 93 FE 00 00 */ stw r31, 0(r30)
|
|
/* 8034E2DC 0034B23C 90 1E 00 04 */ stw r0, 4(r30)
|
|
/* 8034E2E0 0034B240 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8034E2E4 0034B244 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8034E2E8 0034B248 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034E2EC 0034B24C 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E2F0 0034B250 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034E2F4 0034B254 4E 80 00 20 */ blr
|
|
|
|
.global GetNumFreeBytes__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRUiRUi
|
|
GetNumFreeBytes__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRUiRUi:
|
|
/* 8034E2F8 0034B258 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8034E2FC 0034B25C 7C 08 02 A6 */ mflr r0
|
|
/* 8034E300 0034B260 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8034E304 0034B264 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8034E308 0034B268 7C BF 2B 78 */ mr r31, r5
|
|
/* 8034E30C 0034B26C 38 A1 00 08 */ addi r5, r1, 8
|
|
/* 8034E310 0034B270 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8034E314 0034B274 7C 9E 23 78 */ mr r30, r4
|
|
/* 8034E318 0034B278 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 8034E31C 0034B27C 48 06 AB D1 */ bl CARDFreeBlocks
|
|
/* 8034E320 0034B280 80 01 00 0C */ lwz r0, 0xc(r1)
|
|
/* 8034E324 0034B284 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 8034E328 0034B288 80 01 00 08 */ lwz r0, 8(r1)
|
|
/* 8034E32C 0034B28C 90 1F 00 00 */ stw r0, 0(r31)
|
|
/* 8034E330 0034B290 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8034E334 0034B294 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8034E338 0034B298 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8034E33C 0034B29C 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E340 0034B2A0 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8034E344 0034B2A4 4E 80 00 20 */ blr
|
|
|
|
.global FormatCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort
|
|
FormatCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort:
|
|
/* 8034E348 0034B2A8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034E34C 0034B2AC 7C 08 02 A6 */ mflr r0
|
|
/* 8034E350 0034B2B0 38 80 00 00 */ li r4, 0
|
|
/* 8034E354 0034B2B4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034E358 0034B2B8 48 06 E9 CD */ bl CARDFormatAsync
|
|
/* 8034E35C 0034B2BC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034E360 0034B2C0 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E364 0034B2C4 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034E368 0034B2C8 4E 80 00 20 */ blr
|
|
|
|
.global UnmountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort
|
|
UnmountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort:
|
|
/* 8034E36C 0034B2CC 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034E370 0034B2D0 7C 08 02 A6 */ mflr r0
|
|
/* 8034E374 0034B2D4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034E378 0034B2D8 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8034E37C 0034B2DC 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034E380 0034B2E0 48 06 E1 5D */ bl CARDUnmount
|
|
/* 8034E384 0034B2E4 7C 60 1B 78 */ mr r0, r3
|
|
/* 8034E388 0034B2E8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8034E38C 0034B2EC 7C 1F 03 78 */ mr r31, r0
|
|
/* 8034E390 0034B2F0 4B FF F1 4D */ bl FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort
|
|
/* 8034E394 0034B2F4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034E398 0034B2F8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8034E39C 0034B2FC 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8034E3A0 0034B300 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E3A4 0034B304 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034E3A8 0034B308 4E 80 00 20 */ blr
|
|
|
|
.global MountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort
|
|
MountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort:
|
|
/* 8034E3AC 0034B30C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034E3B0 0034B310 7C 08 02 A6 */ mflr r0
|
|
/* 8034E3B4 0034B314 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034E3B8 0034B318 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8034E3BC 0034B31C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034E3C0 0034B320 4B FF F2 F9 */ bl AllocCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort
|
|
/* 8034E3C4 0034B324 7C 64 1B 78 */ mr r4, r3
|
|
/* 8034E3C8 0034B328 7F E3 FB 78 */ mr r3, r31
|
|
/* 8034E3CC 0034B32C 38 A0 00 00 */ li r5, 0
|
|
/* 8034E3D0 0034B330 38 C0 00 00 */ li r6, 0
|
|
/* 8034E3D4 0034B334 48 06 DE CD */ bl CARDMountAsync
|
|
/* 8034E3D8 0034B338 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034E3DC 0034B33C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8034E3E0 0034B340 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E3E4 0034B344 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034E3E8 0034B348 4E 80 00 20 */ blr
|
|
|
|
.global GetResultCode__14CMemoryCardSysFi
|
|
GetResultCode__14CMemoryCardSysFi:
|
|
/* 8034E3EC 0034B34C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034E3F0 0034B350 7C 08 02 A6 */ mflr r0
|
|
/* 8034E3F4 0034B354 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034E3F8 0034B358 48 06 AA C5 */ bl CARDGetResultCode
|
|
/* 8034E3FC 0034B35C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034E400 0034B360 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E404 0034B364 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034E408 0034B368 4E 80 00 20 */ blr
|
|
|
|
.global IsMemoryCardInserted__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort
|
|
IsMemoryCardInserted__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort:
|
|
/* 8034E40C 0034B36C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8034E410 0034B370 7C 08 02 A6 */ mflr r0
|
|
/* 8034E414 0034B374 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8034E418 0034B378 38 A1 00 10 */ addi r5, r1, 0x10
|
|
/* 8034E41C 0034B37C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8034E420 0034B380 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034E424 0034B384 7C 83 23 78 */ mr r3, r4
|
|
/* 8034E428 0034B388 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 8034E42C 0034B38C 48 06 D7 B1 */ bl CARDProbeEx
|
|
/* 8034E430 0034B390 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 8034E434 0034B394 80 01 00 0C */ lwz r0, 0xc(r1)
|
|
/* 8034E438 0034B398 90 7F 00 00 */ stw r3, 0(r31)
|
|
/* 8034E43C 0034B39C 90 1F 00 04 */ stw r0, 4(r31)
|
|
/* 8034E440 0034B3A0 80 01 00 10 */ lwz r0, 0x10(r1)
|
|
/* 8034E444 0034B3A4 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 8034E448 0034B3A8 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8034E44C 0034B3AC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8034E450 0034B3B0 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E454 0034B3B4 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8034E458 0034B3B8 4E 80 00 20 */ blr
|
|
|
|
.global __dt__14CMemoryCardSysFv
|
|
__dt__14CMemoryCardSysFv:
|
|
/* 8034E45C 0034B3BC 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034E460 0034B3C0 7C 08 02 A6 */ mflr r0
|
|
/* 8034E464 0034B3C4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034E468 0034B3C8 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8034E46C 0034B3CC 7C 9F 23 78 */ mr r31, r4
|
|
/* 8034E470 0034B3D0 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8034E474 0034B3D4 7C 7E 1B 79 */ or. r30, r3, r3
|
|
/* 8034E478 0034B3D8 41 82 00 2C */ beq lbl_8034E4A4
|
|
/* 8034E47C 0034B3DC 38 00 00 00 */ li r0, 0
|
|
/* 8034E480 0034B3E0 38 60 00 00 */ li r3, 0
|
|
/* 8034E484 0034B3E4 98 0D AA 01 */ stb r0, lbl_805A95C1@sda21(r13)
|
|
/* 8034E488 0034B3E8 4B FF F0 55 */ bl FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort
|
|
/* 8034E48C 0034B3EC 38 60 00 01 */ li r3, 1
|
|
/* 8034E490 0034B3F0 4B FF F0 4D */ bl FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort
|
|
/* 8034E494 0034B3F4 7F E0 07 35 */ extsh. r0, r31
|
|
/* 8034E498 0034B3F8 40 81 00 0C */ ble lbl_8034E4A4
|
|
/* 8034E49C 0034B3FC 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034E4A0 0034B400 4B FC 74 91 */ bl Free__7CMemoryFPCv
|
|
lbl_8034E4A4:
|
|
/* 8034E4A4 0034B404 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034E4A8 0034B408 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034E4AC 0034B40C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8034E4B0 0034B410 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8034E4B4 0034B414 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E4B8 0034B418 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034E4BC 0034B41C 4E 80 00 20 */ blr
|
|
|
|
.global __ct__14CMemoryCardSysFv
|
|
__ct__14CMemoryCardSysFv:
|
|
/* 8034E4C0 0034B420 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034E4C4 0034B424 7C 08 02 A6 */ mflr r0
|
|
/* 8034E4C8 0034B428 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034E4CC 0034B42C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8034E4D0 0034B430 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034E4D4 0034B434 88 0D AA 00 */ lbz r0, lbl_805A95C0@sda21(r13)
|
|
/* 8034E4D8 0034B438 28 00 00 00 */ cmplwi r0, 0
|
|
/* 8034E4DC 0034B43C 40 82 00 10 */ bne lbl_8034E4EC
|
|
/* 8034E4E0 0034B440 48 06 A7 D5 */ bl CARDInit
|
|
/* 8034E4E4 0034B444 38 00 00 01 */ li r0, 1
|
|
/* 8034E4E8 0034B448 98 0D AA 00 */ stb r0, lbl_805A95C0@sda21(r13)
|
|
lbl_8034E4EC:
|
|
/* 8034E4EC 0034B44C 38 00 00 01 */ li r0, 1
|
|
/* 8034E4F0 0034B450 7F E3 FB 78 */ mr r3, r31
|
|
/* 8034E4F4 0034B454 98 0D AA 01 */ stb r0, lbl_805A95C1@sda21(r13)
|
|
/* 8034E4F8 0034B458 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8034E4FC 0034B45C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034E500 0034B460 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E504 0034B464 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034E508 0034B468 4E 80 00 20 */ blr
|
|
|
|
.global "SetComment__Q214CMemoryCardSys13CCardFileInfoFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
|
|
"SetComment__Q214CMemoryCardSys13CCardFileInfoFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
|
|
/* 8034E50C 0034B46C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034E510 0034B470 7C 08 02 A6 */ mflr r0
|
|
/* 8034E514 0034B474 38 63 00 28 */ addi r3, r3, 0x28
|
|
/* 8034E518 0034B478 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034E51C 0034B47C 4B FE F8 41 */ bl "assign__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
|
|
/* 8034E520 0034B480 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034E524 0034B484 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E528 0034B488 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034E52C 0034B48C 4E 80 00 20 */ blr
|
|
|
|
.global SetCommentAddr__8CARDStatFi
|
|
SetCommentAddr__8CARDStatFi:
|
|
/* 8034E530 0034B490 90 83 00 38 */ stw r4, 0x38(r3)
|
|
/* 8034E534 0034B494 4E 80 00 20 */ blr
|
|
|
|
.global SetIconAddr__8CARDStatFi
|
|
SetIconAddr__8CARDStatFi:
|
|
/* 8034E538 0034B498 90 83 00 30 */ stw r4, 0x30(r3)
|
|
/* 8034E53C 0034B49C 4E 80 00 20 */ blr
|
|
|
|
.global SetIconSpeed__8CARDStatFii
|
|
SetIconSpeed__8CARDStatFii:
|
|
/* 8034E540 0034B4A0 54 A7 08 3C */ slwi r7, r5, 1
|
|
/* 8034E544 0034B4A4 38 00 00 03 */ li r0, 3
|
|
/* 8034E548 0034B4A8 7C 05 38 30 */ slw r5, r0, r7
|
|
/* 8034E54C 0034B4AC A0 C3 00 36 */ lhz r6, 0x36(r3)
|
|
/* 8034E550 0034B4B0 7C 80 38 30 */ slw r0, r4, r7
|
|
/* 8034E554 0034B4B4 7C C4 28 78 */ andc r4, r6, r5
|
|
/* 8034E558 0034B4B8 7C 80 03 78 */ or r0, r4, r0
|
|
/* 8034E55C 0034B4BC B0 03 00 36 */ sth r0, 0x36(r3)
|
|
/* 8034E560 0034B4C0 4E 80 00 20 */ blr
|
|
|
|
.global SetIconFormat__8CARDStatFii
|
|
SetIconFormat__8CARDStatFii:
|
|
/* 8034E564 0034B4C4 54 A7 08 3C */ slwi r7, r5, 1
|
|
/* 8034E568 0034B4C8 38 00 00 03 */ li r0, 3
|
|
/* 8034E56C 0034B4CC 7C 05 38 30 */ slw r5, r0, r7
|
|
/* 8034E570 0034B4D0 A0 C3 00 34 */ lhz r6, 0x34(r3)
|
|
/* 8034E574 0034B4D4 7C 80 38 30 */ slw r0, r4, r7
|
|
/* 8034E578 0034B4D8 7C C4 28 78 */ andc r4, r6, r5
|
|
/* 8034E57C 0034B4DC 7C 80 03 78 */ or r0, r4, r0
|
|
/* 8034E580 0034B4E0 B0 03 00 34 */ sth r0, 0x34(r3)
|
|
/* 8034E584 0034B4E4 4E 80 00 20 */ blr
|
|
|
|
.global SetBannerFormat__8CARDStatFi
|
|
SetBannerFormat__8CARDStatFi:
|
|
/* 8034E588 0034B4E8 88 03 00 2E */ lbz r0, 0x2e(r3)
|
|
/* 8034E58C 0034B4EC 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
|
|
/* 8034E590 0034B4F0 7C 00 23 78 */ or r0, r0, r4
|
|
/* 8034E594 0034B4F4 98 03 00 2E */ stb r0, 0x2e(r3)
|
|
/* 8034E598 0034B4F8 4E 80 00 20 */ blr
|
|
|
|
.global GetCommentAddr__8CardStatCFv
|
|
GetCommentAddr__8CardStatCFv:
|
|
/* 8034E59C 0034B4FC 80 63 00 38 */ lwz r3, 0x38(r3)
|
|
/* 8034E5A0 0034B500 4E 80 00 20 */ blr
|
|
|
|
.global GetIconFormat__8CARDStatFi
|
|
GetIconFormat__8CARDStatFi:
|
|
/* 8034E5A4 0034B504 A0 63 00 34 */ lhz r3, 0x34(r3)
|
|
/* 8034E5A8 0034B508 54 80 08 3C */ slwi r0, r4, 1
|
|
/* 8034E5AC 0034B50C 7C 60 06 30 */ sraw r0, r3, r0
|
|
/* 8034E5B0 0034B510 54 03 07 BE */ clrlwi r3, r0, 0x1e
|
|
/* 8034E5B4 0034B514 4E 80 00 20 */ blr
|
|
|
|
.global GetBannerFormat__8CARDStatFv
|
|
GetBannerFormat__8CARDStatFv:
|
|
/* 8034E5B8 0034B518 88 03 00 2E */ lbz r0, 0x2e(r3)
|
|
/* 8034E5BC 0034B51C 54 03 07 BE */ clrlwi r3, r0, 0x1e
|
|
/* 8034E5C0 0034B520 4E 80 00 20 */ blr
|
|
|
|
.global GetTime__8CardStatCFv
|
|
GetTime__8CardStatCFv:
|
|
/* 8034E5C4 0034B524 80 63 00 24 */ lwz r3, 0x24(r3)
|
|
/* 8034E5C8 0034B528 4E 80 00 20 */ blr
|
|
|
|
.global GetFileLength__8CARDStatFv
|
|
GetFileLength__8CARDStatFv:
|
|
/* 8034E5CC 0034B52C 80 63 00 20 */ lwz r3, 0x20(r3)
|
|
/* 8034E5D0 0034B530 4E 80 00 20 */ blr
|
|
|
|
.global CalculateBannerDataSize__13CCardFileInfoFv
|
|
CalculateBannerDataSize__13CCardFileInfoFv:
|
|
/* 8034E5D4 0034B534 80 83 00 3C */ lwz r4, 0x3c(r3)
|
|
/* 8034E5D8 0034B538 38 A0 00 44 */ li r5, 0x44
|
|
/* 8034E5DC 0034B53C 3C 04 00 01 */ addis r0, r4, 1
|
|
/* 8034E5E0 0034B540 28 00 FF FF */ cmplwi r0, 0xffff
|
|
/* 8034E5E4 0034B544 41 82 00 20 */ beq lbl_8034E604
|
|
/* 8034E5E8 0034B548 80 83 00 48 */ lwz r4, 0x48(r3)
|
|
/* 8034E5EC 0034B54C 80 04 00 00 */ lwz r0, 0(r4)
|
|
/* 8034E5F0 0034B550 2C 00 00 08 */ cmpwi r0, 8
|
|
/* 8034E5F4 0034B554 40 82 00 0C */ bne lbl_8034E600
|
|
/* 8034E5F8 0034B558 38 A0 18 44 */ li r5, 0x1844
|
|
/* 8034E5FC 0034B55C 48 00 00 08 */ b lbl_8034E604
|
|
lbl_8034E600:
|
|
/* 8034E600 0034B560 38 A0 0E 44 */ li r5, 0xe44
|
|
lbl_8034E604:
|
|
/* 8034E604 0034B564 80 03 00 50 */ lwz r0, 0x50(r3)
|
|
/* 8034E608 0034B568 38 83 00 54 */ addi r4, r3, 0x54
|
|
/* 8034E60C 0034B56C 38 C0 00 00 */ li r6, 0
|
|
/* 8034E610 0034B570 7C 09 03 A6 */ mtctr r0
|
|
/* 8034E614 0034B574 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 8034E618 0034B578 40 81 00 2C */ ble lbl_8034E644
|
|
lbl_8034E61C:
|
|
/* 8034E61C 0034B57C 80 64 00 10 */ lwz r3, 0x10(r4)
|
|
/* 8034E620 0034B580 80 03 00 00 */ lwz r0, 0(r3)
|
|
/* 8034E624 0034B584 2C 00 00 08 */ cmpwi r0, 8
|
|
/* 8034E628 0034B588 40 82 00 0C */ bne lbl_8034E634
|
|
/* 8034E62C 0034B58C 38 A5 08 00 */ addi r5, r5, 0x800
|
|
/* 8034E630 0034B590 48 00 00 0C */ b lbl_8034E63C
|
|
lbl_8034E634:
|
|
/* 8034E634 0034B594 38 C0 00 01 */ li r6, 1
|
|
/* 8034E638 0034B598 38 A5 04 00 */ addi r5, r5, 0x400
|
|
lbl_8034E63C:
|
|
/* 8034E63C 0034B59C 38 84 00 14 */ addi r4, r4, 0x14
|
|
/* 8034E640 0034B5A0 42 00 FF DC */ bdnz lbl_8034E61C
|
|
lbl_8034E644:
|
|
/* 8034E644 0034B5A4 54 C0 06 3F */ clrlwi. r0, r6, 0x18
|
|
/* 8034E648 0034B5A8 41 82 00 08 */ beq lbl_8034E650
|
|
/* 8034E64C 0034B5AC 38 A5 02 00 */ addi r5, r5, 0x200
|
|
lbl_8034E650:
|
|
/* 8034E650 0034B5B0 7C A3 2B 78 */ mr r3, r5
|
|
/* 8034E654 0034B5B4 4E 80 00 20 */ blr
|
|
|
|
.global CalculateTotalDataSize__13CCardFileInfoFv
|
|
CalculateTotalDataSize__13CCardFileInfoFv:
|
|
/* 8034E658 0034B5B8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034E65C 0034B5BC 7C 08 02 A6 */ mflr r0
|
|
/* 8034E660 0034B5C0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034E664 0034B5C4 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8034E668 0034B5C8 83 E3 00 F8 */ lwz r31, 0xf8(r3)
|
|
/* 8034E66C 0034B5CC 4B FF FF 69 */ bl CalculateBannerDataSize__13CCardFileInfoFv
|
|
/* 8034E670 0034B5D0 7C 63 FA 14 */ add r3, r3, r31
|
|
/* 8034E674 0034B5D4 38 03 1F FF */ addi r0, r3, 0x1fff
|
|
/* 8034E678 0034B5D8 54 03 00 24 */ rlwinm r3, r0, 0, 0, 0x12
|
|
/* 8034E67C 0034B5DC 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8034E680 0034B5E0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034E684 0034B5E4 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E688 0034B5E8 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034E68C 0034B5EC 4E 80 00 20 */ blr
|
|
|
|
.global BuildCardBuffer__13CCardFileInfoFv
|
|
BuildCardBuffer__13CCardFileInfoFv:
|
|
/* 8034E690 0034B5F0 94 21 FE F0 */ stwu r1, -0x110(r1)
|
|
/* 8034E694 0034B5F4 7C 08 02 A6 */ mflr r0
|
|
/* 8034E698 0034B5F8 90 01 01 14 */ stw r0, 0x114(r1)
|
|
/* 8034E69C 0034B5FC 93 E1 01 0C */ stw r31, 0x10c(r1)
|
|
/* 8034E6A0 0034B600 93 C1 01 08 */ stw r30, 0x108(r1)
|
|
/* 8034E6A4 0034B604 93 A1 01 04 */ stw r29, 0x104(r1)
|
|
/* 8034E6A8 0034B608 93 81 01 00 */ stw r28, 0x100(r1)
|
|
/* 8034E6AC 0034B60C 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8034E6B0 0034B610 4B FF FF 25 */ bl CalculateBannerDataSize__13CCardFileInfoFv
|
|
/* 8034E6B4 0034B614 80 9C 00 F8 */ lwz r4, 0xf8(r28)
|
|
/* 8034E6B8 0034B618 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034E6BC 0034B61C 38 7C 01 04 */ addi r3, r28, 0x104
|
|
/* 8034E6C0 0034B620 38 AD 9D E9 */ addi r5, r13, lbl_805A89A9@sda21
|
|
/* 8034E6C4 0034B624 38 04 1F FF */ addi r0, r4, 0x1fff
|
|
/* 8034E6C8 0034B628 7C 1F 02 14 */ add r0, r31, r0
|
|
/* 8034E6CC 0034B62C 54 1E 00 24 */ rlwinm r30, r0, 0, 0, 0x12
|
|
/* 8034E6D0 0034B630 7F C4 F3 78 */ mr r4, r30
|
|
/* 8034E6D4 0034B634 4B FF F3 15 */ bl sub_8034d9e8
|
|
/* 8034E6D8 0034B638 83 BC 01 10 */ lwz r29, 0x110(r28)
|
|
/* 8034E6DC 0034B63C 7F C5 F3 78 */ mr r5, r30
|
|
/* 8034E6E0 0034B640 38 61 00 6C */ addi r3, r1, 0x6c
|
|
/* 8034E6E4 0034B644 38 C0 00 01 */ li r6, 1
|
|
/* 8034E6E8 0034B648 7F A4 EB 78 */ mr r4, r29
|
|
/* 8034E6EC 0034B64C 38 E0 10 00 */ li r7, 0x1000
|
|
/* 8034E6F0 0034B650 4B FF 0C 4D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi
|
|
/* 8034E6F4 0034B654 38 00 00 00 */ li r0, 0
|
|
/* 8034E6F8 0034B658 38 61 00 6C */ addi r3, r1, 0x6c
|
|
/* 8034E6FC 0034B65C 90 01 00 08 */ stw r0, 8(r1)
|
|
/* 8034E700 0034B660 4B FF 0D B9 */ bl FlushShiftRegister__13COutputStreamFv
|
|
/* 8034E704 0034B664 38 61 00 6C */ addi r3, r1, 0x6c
|
|
/* 8034E708 0034B668 38 81 00 08 */ addi r4, r1, 8
|
|
/* 8034E70C 0034B66C 38 A0 00 04 */ li r5, 4
|
|
/* 8034E710 0034B670 4B FF 0E 99 */ bl DoPut__13COutputStreamFPCvUl
|
|
/* 8034E714 0034B674 80 9C 00 28 */ lwz r4, 0x28(r28)
|
|
/* 8034E718 0034B678 38 61 00 2C */ addi r3, r1, 0x2c
|
|
/* 8034E71C 0034B67C 38 A0 00 40 */ li r5, 0x40
|
|
/* 8034E720 0034B680 48 04 19 A5 */ bl strncpy
|
|
/* 8034E724 0034B684 38 61 00 6C */ addi r3, r1, 0x6c
|
|
/* 8034E728 0034B688 4B FF 0D 91 */ bl FlushShiftRegister__13COutputStreamFv
|
|
/* 8034E72C 0034B68C 38 61 00 6C */ addi r3, r1, 0x6c
|
|
/* 8034E730 0034B690 38 81 00 2C */ addi r4, r1, 0x2c
|
|
/* 8034E734 0034B694 38 A0 00 40 */ li r5, 0x40
|
|
/* 8034E738 0034B698 4B FF 0E 71 */ bl DoPut__13COutputStreamFPCvUl
|
|
/* 8034E73C 0034B69C 7F 83 E3 78 */ mr r3, r28
|
|
/* 8034E740 0034B6A0 38 81 00 6C */ addi r4, r1, 0x6c
|
|
/* 8034E744 0034B6A4 48 00 01 79 */ bl WriteBannerData__13CCardFileInfoFv
|
|
/* 8034E748 0034B6A8 7F 83 E3 78 */ mr r3, r28
|
|
/* 8034E74C 0034B6AC 38 81 00 6C */ addi r4, r1, 0x6c
|
|
/* 8034E750 0034B6B0 48 00 00 AD */ bl WriteIconData__13CCardFileInfoFv
|
|
/* 8034E754 0034B6B4 38 61 00 6C */ addi r3, r1, 0x6c
|
|
/* 8034E758 0034B6B8 38 80 FF FF */ li r4, -1
|
|
/* 8034E75C 0034B6BC 4B FF 0B 65 */ bl __dt__16CMemoryStreamOutFv
|
|
/* 8034E760 0034B6C0 80 1C 01 10 */ lwz r0, 0x110(r28)
|
|
/* 8034E764 0034B6C4 80 9C 01 00 */ lwz r4, 0x100(r28)
|
|
/* 8034E768 0034B6C8 80 BC 00 F8 */ lwz r5, 0xf8(r28)
|
|
/* 8034E76C 0034B6CC 7C 60 FA 14 */ add r3, r0, r31
|
|
/* 8034E770 0034B6D0 4B CB 4D 21 */ bl memcpy
|
|
/* 8034E774 0034B6D4 38 7D 00 04 */ addi r3, r29, 4
|
|
/* 8034E778 0034B6D8 38 9E FF FC */ addi r4, r30, -4
|
|
/* 8034E77C 0034B6DC 4B FC 6E 15 */ bl Calculate__6CCRC32FPCvUi
|
|
/* 8034E780 0034B6E0 90 7D 00 00 */ stw r3, 0(r29)
|
|
/* 8034E784 0034B6E4 38 00 00 00 */ li r0, 0
|
|
/* 8034E788 0034B6E8 38 7C 00 F4 */ addi r3, r28, 0xf4
|
|
/* 8034E78C 0034B6EC 38 81 00 1C */ addi r4, r1, 0x1c
|
|
/* 8034E790 0034B6F0 90 01 00 20 */ stw r0, 0x20(r1)
|
|
/* 8034E794 0034B6F4 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8034E798 0034B6F8 90 01 00 28 */ stw r0, 0x28(r1)
|
|
/* 8034E79C 0034B6FC 4B F5 9F 19 */ bl sub_802a86b4
|
|
/* 8034E7A0 0034B700 80 61 00 28 */ lwz r3, 0x28(r1)
|
|
/* 8034E7A4 0034B704 80 01 00 20 */ lwz r0, 0x20(r1)
|
|
/* 8034E7A8 0034B708 90 61 00 10 */ stw r3, 0x10(r1)
|
|
/* 8034E7AC 0034B70C 7C 83 02 14 */ add r4, r3, r0
|
|
/* 8034E7B0 0034B710 7C 03 20 50 */ subf r0, r3, r4
|
|
/* 8034E7B4 0034B714 90 81 00 18 */ stw r4, 0x18(r1)
|
|
/* 8034E7B8 0034B718 90 81 00 14 */ stw r4, 0x14(r1)
|
|
/* 8034E7BC 0034B71C 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 8034E7C0 0034B720 7C 09 03 A6 */ mtctr r0
|
|
/* 8034E7C4 0034B724 7C 03 20 40 */ cmplw r3, r4
|
|
/* 8034E7C8 0034B728 41 82 00 08 */ beq lbl_8034E7D0
|
|
lbl_8034E7CC:
|
|
/* 8034E7CC 0034B72C 42 00 00 00 */ bdnz lbl_8034E7CC
|
|
lbl_8034E7D0:
|
|
/* 8034E7D0 0034B730 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8034E7D4 0034B734 41 82 00 08 */ beq lbl_8034E7DC
|
|
/* 8034E7D8 0034B738 4B FC 71 59 */ bl Free__7CMemoryFPCv
|
|
lbl_8034E7DC:
|
|
/* 8034E7DC 0034B73C 80 01 01 14 */ lwz r0, 0x114(r1)
|
|
/* 8034E7E0 0034B740 83 E1 01 0C */ lwz r31, 0x10c(r1)
|
|
/* 8034E7E4 0034B744 83 C1 01 08 */ lwz r30, 0x108(r1)
|
|
/* 8034E7E8 0034B748 83 A1 01 04 */ lwz r29, 0x104(r1)
|
|
/* 8034E7EC 0034B74C 83 81 01 00 */ lwz r28, 0x100(r1)
|
|
/* 8034E7F0 0034B750 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E7F4 0034B754 38 21 01 10 */ addi r1, r1, 0x110
|
|
/* 8034E7F8 0034B758 4E 80 00 20 */ blr
|
|
|
|
.global WriteIconData__13CCardFileInfoFv
|
|
WriteIconData__13CCardFileInfoFv:
|
|
/* 8034E7FC 0034B75C 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8034E800 0034B760 7C 08 02 A6 */ mflr r0
|
|
/* 8034E804 0034B764 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8034E808 0034B768 BE E1 00 0C */ stmw r23, 0xc(r1)
|
|
/* 8034E80C 0034B76C 7C 77 1B 78 */ mr r23, r3
|
|
/* 8034E810 0034B770 7C 98 23 78 */ mr r24, r4
|
|
/* 8034E814 0034B774 3B 80 00 00 */ li r28, 0
|
|
/* 8034E818 0034B778 3B B7 00 54 */ addi r29, r23, 0x54
|
|
/* 8034E81C 0034B77C 3B 60 00 00 */ li r27, 0
|
|
/* 8034E820 0034B780 48 00 00 5C */ b lbl_8034E87C
|
|
lbl_8034E824:
|
|
/* 8034E824 0034B784 83 DD 00 10 */ lwz r30, 0x10(r29)
|
|
/* 8034E828 0034B788 38 80 00 00 */ li r4, 0
|
|
/* 8034E82C 0034B78C 83 5E 00 00 */ lwz r26, 0(r30)
|
|
/* 8034E830 0034B790 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034E834 0034B794 4B FB FD C1 */ bl GetConstBitMapData__8CTextureCFi
|
|
/* 8034E838 0034B798 2C 1A 00 08 */ cmpwi r26, 8
|
|
/* 8034E83C 0034B79C 7C 79 1B 78 */ mr r25, r3
|
|
/* 8034E840 0034B7A0 3B E0 04 00 */ li r31, 0x400
|
|
/* 8034E844 0034B7A4 40 82 00 08 */ bne lbl_8034E84C
|
|
/* 8034E848 0034B7A8 3B E0 08 00 */ li r31, 0x800
|
|
lbl_8034E84C:
|
|
/* 8034E84C 0034B7AC 7F 03 C3 78 */ mr r3, r24
|
|
/* 8034E850 0034B7B0 4B FF 0C 69 */ bl FlushShiftRegister__13COutputStreamFv
|
|
/* 8034E854 0034B7B4 7F 03 C3 78 */ mr r3, r24
|
|
/* 8034E858 0034B7B8 7F 24 CB 78 */ mr r4, r25
|
|
/* 8034E85C 0034B7BC 7F E5 FB 78 */ mr r5, r31
|
|
/* 8034E860 0034B7C0 4B FF 0D 49 */ bl DoPut__13COutputStreamFPCvUl
|
|
/* 8034E864 0034B7C4 2C 1A 00 05 */ cmpwi r26, 5
|
|
/* 8034E868 0034B7C8 40 82 00 0C */ bne lbl_8034E874
|
|
/* 8034E86C 0034B7CC 80 7E 00 10 */ lwz r3, 0x10(r30)
|
|
/* 8034E870 0034B7D0 83 83 00 0C */ lwz r28, 0xc(r3)
|
|
lbl_8034E874:
|
|
/* 8034E874 0034B7D4 3B BD 00 14 */ addi r29, r29, 0x14
|
|
/* 8034E878 0034B7D8 3B 7B 00 01 */ addi r27, r27, 1
|
|
lbl_8034E87C:
|
|
/* 8034E87C 0034B7DC 80 17 00 50 */ lwz r0, 0x50(r23)
|
|
/* 8034E880 0034B7E0 7C 1B 00 00 */ cmpw r27, r0
|
|
/* 8034E884 0034B7E4 41 80 FF A0 */ blt lbl_8034E824
|
|
/* 8034E888 0034B7E8 28 1C 00 00 */ cmplwi r28, 0
|
|
/* 8034E88C 0034B7EC 41 82 00 1C */ beq lbl_8034E8A8
|
|
/* 8034E890 0034B7F0 7F 03 C3 78 */ mr r3, r24
|
|
/* 8034E894 0034B7F4 4B FF 0C 25 */ bl FlushShiftRegister__13COutputStreamFv
|
|
/* 8034E898 0034B7F8 7F 03 C3 78 */ mr r3, r24
|
|
/* 8034E89C 0034B7FC 7F 84 E3 78 */ mr r4, r28
|
|
/* 8034E8A0 0034B800 38 A0 02 00 */ li r5, 0x200
|
|
/* 8034E8A4 0034B804 4B FF 0D 05 */ bl DoPut__13COutputStreamFPCvUl
|
|
lbl_8034E8A8:
|
|
/* 8034E8A8 0034B808 BA E1 00 0C */ lmw r23, 0xc(r1)
|
|
/* 8034E8AC 0034B80C 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8034E8B0 0034B810 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E8B4 0034B814 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8034E8B8 0034B818 4E 80 00 20 */ blr
|
|
|
|
.global WriteBannerData__13CCardFileInfoFv
|
|
WriteBannerData__13CCardFileInfoFv:
|
|
/* 8034E8BC 0034B81C 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8034E8C0 0034B820 7C 08 02 A6 */ mflr r0
|
|
/* 8034E8C4 0034B824 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8034E8C8 0034B828 BF 61 00 0C */ stmw r27, 0xc(r1)
|
|
/* 8034E8CC 0034B82C 7C 9B 23 78 */ mr r27, r4
|
|
/* 8034E8D0 0034B830 80 A3 00 3C */ lwz r5, 0x3c(r3)
|
|
/* 8034E8D4 0034B834 3C 05 00 01 */ addis r0, r5, 1
|
|
/* 8034E8D8 0034B838 28 00 FF FF */ cmplwi r0, 0xffff
|
|
/* 8034E8DC 0034B83C 41 82 00 6C */ beq lbl_8034E948
|
|
/* 8034E8E0 0034B840 83 C3 00 48 */ lwz r30, 0x48(r3)
|
|
/* 8034E8E4 0034B844 38 80 00 00 */ li r4, 0
|
|
/* 8034E8E8 0034B848 83 BE 00 00 */ lwz r29, 0(r30)
|
|
/* 8034E8EC 0034B84C 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034E8F0 0034B850 4B FB FD 05 */ bl GetConstBitMapData__8CTextureCFi
|
|
/* 8034E8F4 0034B854 2C 1D 00 08 */ cmpwi r29, 8
|
|
/* 8034E8F8 0034B858 7C 7C 1B 78 */ mr r28, r3
|
|
/* 8034E8FC 0034B85C 3B E0 0C 00 */ li r31, 0xc00
|
|
/* 8034E900 0034B860 40 82 00 08 */ bne lbl_8034E908
|
|
/* 8034E904 0034B864 3B E0 18 00 */ li r31, 0x1800
|
|
lbl_8034E908:
|
|
/* 8034E908 0034B868 7F 63 DB 78 */ mr r3, r27
|
|
/* 8034E90C 0034B86C 4B FF 0B AD */ bl FlushShiftRegister__13COutputStreamFv
|
|
/* 8034E910 0034B870 7F 63 DB 78 */ mr r3, r27
|
|
/* 8034E914 0034B874 7F 84 E3 78 */ mr r4, r28
|
|
/* 8034E918 0034B878 7F E5 FB 78 */ mr r5, r31
|
|
/* 8034E91C 0034B87C 4B FF 0C 8D */ bl DoPut__13COutputStreamFPCvUl
|
|
/* 8034E920 0034B880 2C 1D 00 05 */ cmpwi r29, 5
|
|
/* 8034E924 0034B884 40 82 00 24 */ bne lbl_8034E948
|
|
/* 8034E928 0034B888 80 9E 00 10 */ lwz r4, 0x10(r30)
|
|
/* 8034E92C 0034B88C 7F 63 DB 78 */ mr r3, r27
|
|
/* 8034E930 0034B890 83 C4 00 0C */ lwz r30, 0xc(r4)
|
|
/* 8034E934 0034B894 4B FF 0B 85 */ bl FlushShiftRegister__13COutputStreamFv
|
|
/* 8034E938 0034B898 7F 63 DB 78 */ mr r3, r27
|
|
/* 8034E93C 0034B89C 7F C4 F3 78 */ mr r4, r30
|
|
/* 8034E940 0034B8A0 38 A0 02 00 */ li r5, 0x200
|
|
/* 8034E944 0034B8A4 4B FF 0C 65 */ bl DoPut__13COutputStreamFPCvUl
|
|
lbl_8034E948:
|
|
/* 8034E948 0034B8A8 BB 61 00 0C */ lmw r27, 0xc(r1)
|
|
/* 8034E94C 0034B8AC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8034E950 0034B8B0 7C 08 03 A6 */ mtlr r0
|
|
/* 8034E954 0034B8B4 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8034E958 0034B8B8 4E 80 00 20 */ blr
|
|
|
|
.global GetSaveDataOffset__19SMemoryCardFileInfoFRPv
|
|
GetSaveDataOffset__19SMemoryCardFileInfoFRPv:
|
|
/* 8034E95C 0034B8BC 94 21 FF 70 */ stwu r1, -0x90(r1)
|
|
/* 8034E960 0034B8C0 7C 08 02 A6 */ mflr r0
|
|
/* 8034E964 0034B8C4 38 A0 00 6C */ li r5, 0x6c
|
|
/* 8034E968 0034B8C8 90 01 00 94 */ stw r0, 0x94(r1)
|
|
/* 8034E96C 0034B8CC 93 E1 00 8C */ stw r31, 0x8c(r1)
|
|
/* 8034E970 0034B8D0 7C 9F 23 78 */ mr r31, r4
|
|
/* 8034E974 0034B8D4 38 80 00 00 */ li r4, 0
|
|
/* 8034E978 0034B8D8 93 C1 00 88 */ stw r30, 0x88(r1)
|
|
/* 8034E97C 0034B8DC 93 A1 00 84 */ stw r29, 0x84(r1)
|
|
/* 8034E980 0034B8E0 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8034E984 0034B8E4 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8034E988 0034B8E8 4B CB 4A 21 */ bl memset
|
|
/* 8034E98C 0034B8EC 7F A3 EB 78 */ mr r3, r29
|
|
/* 8034E990 0034B8F0 48 00 01 15 */ bl GetFileNo__19SMemoryCardFileInfoCFv
|
|
/* 8034E994 0034B8F4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8034E998 0034B8F8 7F A3 EB 78 */ mr r3, r29
|
|
/* 8034E99C 0034B8FC 48 00 01 11 */ bl GetFileCardPort__19SMemoryCardFileInfoFv
|
|
/* 8034E9A0 0034B900 7F C4 F3 78 */ mr r4, r30
|
|
/* 8034E9A4 0034B904 38 A1 00 08 */ addi r5, r1, 8
|
|
/* 8034E9A8 0034B908 4B FF EE 89 */ bl GetStatus__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortiR8CardStat
|
|
/* 8034E9AC 0034B90C 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 8034E9B0 0034B910 41 82 00 10 */ beq lbl_8034E9C0
|
|
/* 8034E9B4 0034B914 38 00 FF FF */ li r0, -1
|
|
/* 8034E9B8 0034B918 90 1F 00 00 */ stw r0, 0(r31)
|
|
/* 8034E9BC 0034B91C 48 00 00 BC */ b lbl_8034EA78
|
|
lbl_8034E9C0:
|
|
/* 8034E9C0 0034B920 38 00 00 04 */ li r0, 4
|
|
/* 8034E9C4 0034B924 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8034E9C8 0034B928 90 1F 00 00 */ stw r0, 0(r31)
|
|
/* 8034E9CC 0034B92C 80 9F 00 00 */ lwz r4, 0(r31)
|
|
/* 8034E9D0 0034B930 38 04 00 40 */ addi r0, r4, 0x40
|
|
/* 8034E9D4 0034B934 90 1F 00 00 */ stw r0, 0(r31)
|
|
/* 8034E9D8 0034B938 4B FF FB E1 */ bl GetBannerFormat__8CARDStatFv
|
|
/* 8034E9DC 0034B93C 2C 03 00 01 */ cmpwi r3, 1
|
|
/* 8034E9E0 0034B940 40 82 00 14 */ bne lbl_8034E9F4
|
|
/* 8034E9E4 0034B944 80 7F 00 00 */ lwz r3, 0(r31)
|
|
/* 8034E9E8 0034B948 38 03 0E 00 */ addi r0, r3, 0xe00
|
|
/* 8034E9EC 0034B94C 90 1F 00 00 */ stw r0, 0(r31)
|
|
/* 8034E9F0 0034B950 48 00 00 18 */ b lbl_8034EA08
|
|
lbl_8034E9F4:
|
|
/* 8034E9F4 0034B954 2C 03 00 02 */ cmpwi r3, 2
|
|
/* 8034E9F8 0034B958 40 82 00 10 */ bne lbl_8034EA08
|
|
/* 8034E9FC 0034B95C 80 7F 00 00 */ lwz r3, 0(r31)
|
|
/* 8034EA00 0034B960 38 03 18 00 */ addi r0, r3, 0x1800
|
|
/* 8034EA04 0034B964 90 1F 00 00 */ stw r0, 0(r31)
|
|
lbl_8034EA08:
|
|
/* 8034EA08 0034B968 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8034EA0C 0034B96C 3B C0 00 00 */ li r30, 0
|
|
/* 8034EA10 0034B970 3B A0 00 00 */ li r29, 0
|
|
/* 8034EA14 0034B974 38 80 00 00 */ li r4, 0
|
|
/* 8034EA18 0034B978 4B FF FB 8D */ bl GetIconFormat__8CARDStatFi
|
|
/* 8034EA1C 0034B97C 48 00 00 3C */ b lbl_8034EA58
|
|
lbl_8034EA20:
|
|
/* 8034EA20 0034B980 2C 03 00 01 */ cmpwi r3, 1
|
|
/* 8034EA24 0034B984 40 82 00 18 */ bne lbl_8034EA3C
|
|
/* 8034EA28 0034B988 80 7F 00 00 */ lwz r3, 0(r31)
|
|
/* 8034EA2C 0034B98C 3B C0 00 01 */ li r30, 1
|
|
/* 8034EA30 0034B990 38 03 04 00 */ addi r0, r3, 0x400
|
|
/* 8034EA34 0034B994 90 1F 00 00 */ stw r0, 0(r31)
|
|
/* 8034EA38 0034B998 48 00 00 10 */ b lbl_8034EA48
|
|
lbl_8034EA3C:
|
|
/* 8034EA3C 0034B99C 80 7F 00 00 */ lwz r3, 0(r31)
|
|
/* 8034EA40 0034B9A0 38 03 08 00 */ addi r0, r3, 0x800
|
|
/* 8034EA44 0034B9A4 90 1F 00 00 */ stw r0, 0(r31)
|
|
lbl_8034EA48:
|
|
/* 8034EA48 0034B9A8 3B BD 00 01 */ addi r29, r29, 1
|
|
/* 8034EA4C 0034B9AC 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8034EA50 0034B9B0 7F A4 EB 78 */ mr r4, r29
|
|
/* 8034EA54 0034B9B4 4B FF FB 51 */ bl GetIconFormat__8CARDStatFi
|
|
lbl_8034EA58:
|
|
/* 8034EA58 0034B9B8 2C 03 00 00 */ cmpwi r3, 0
|
|
/* 8034EA5C 0034B9BC 40 82 FF C4 */ bne lbl_8034EA20
|
|
/* 8034EA60 0034B9C0 57 C0 06 3F */ clrlwi. r0, r30, 0x18
|
|
/* 8034EA64 0034B9C4 41 82 00 10 */ beq lbl_8034EA74
|
|
/* 8034EA68 0034B9C8 80 7F 00 00 */ lwz r3, 0(r31)
|
|
/* 8034EA6C 0034B9CC 38 03 02 00 */ addi r0, r3, 0x200
|
|
/* 8034EA70 0034B9D0 90 1F 00 00 */ stw r0, 0(r31)
|
|
lbl_8034EA74:
|
|
/* 8034EA74 0034B9D4 38 60 00 00 */ li r3, 0
|
|
lbl_8034EA78:
|
|
/* 8034EA78 0034B9D8 80 01 00 94 */ lwz r0, 0x94(r1)
|
|
/* 8034EA7C 0034B9DC 83 E1 00 8C */ lwz r31, 0x8c(r1)
|
|
/* 8034EA80 0034B9E0 83 C1 00 88 */ lwz r30, 0x88(r1)
|
|
/* 8034EA84 0034B9E4 83 A1 00 84 */ lwz r29, 0x84(r1)
|
|
/* 8034EA88 0034B9E8 7C 08 03 A6 */ mtlr r0
|
|
/* 8034EA8C 0034B9EC 38 21 00 90 */ addi r1, r1, 0x90
|
|
/* 8034EA90 0034B9F0 4E 80 00 20 */ blr
|
|
|
|
.global GetFileNo__13CCardFileInfoFv
|
|
GetFileNo__13CCardFileInfoFv:
|
|
/* 8034EA94 0034B9F4 80 63 00 08 */ lwz r3, 8(r3)
|
|
/* 8034EA98 0034B9F8 4E 80 00 20 */ blr
|
|
|
|
.global GetCardPort__13CCardFileInfoFv
|
|
GetCardPort__13CCardFileInfoFv:
|
|
/* 8034EA9C 0034B9FC 80 63 00 04 */ lwz r3, 4(r3)
|
|
/* 8034EAA0 0034BA00 4E 80 00 20 */ blr
|
|
|
|
.global GetFileNo__19SMemoryCardFileInfoCFv
|
|
GetFileNo__19SMemoryCardFileInfoCFv:
|
|
/* 8034EAA4 0034BA04 80 63 00 04 */ lwz r3, 4(r3)
|
|
/* 8034EAA8 0034BA08 4E 80 00 20 */ blr
|
|
|
|
.global GetFileCardPort__19SMemoryCardFileInfoFv
|
|
GetFileCardPort__19SMemoryCardFileInfoFv:
|
|
/* 8034EAAC 0034BA0C 80 63 00 00 */ lwz r3, 0(r3)
|
|
/* 8034EAB0 0034BA10 4E 80 00 20 */ blr
|
|
|
|
.global sub_8034eab4
|
|
sub_8034eab4:
|
|
/* 8034EAB4 0034BA14 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8034EAB8 0034BA18 7C 08 02 A6 */ mflr r0
|
|
/* 8034EABC 0034BA1C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8034EAC0 0034BA20 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 8034EAC4 0034BA24 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 8034EAC8 0034BA28 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8034EACC 0034BA2C 3C 60 54 58 */ lis r3, 0x54585452@ha
|
|
/* 8034EAD0 0034BA30 90 9E 00 00 */ stw r4, 0(r30)
|
|
/* 8034EAD4 0034BA34 38 03 54 52 */ addi r0, r3, 0x54585452@l
|
|
/* 8034EAD8 0034BA38 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8034EADC 0034BA3C 90 BE 00 04 */ stw r5, 4(r30)
|
|
/* 8034EAE0 0034BA40 38 A1 00 10 */ addi r5, r1, 0x10
|
|
/* 8034EAE4 0034BA44 90 81 00 14 */ stw r4, 0x14(r1)
|
|
/* 8034EAE8 0034BA48 7C C4 33 78 */ mr r4, r6
|
|
/* 8034EAEC 0034BA4C 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 8034EAF0 0034BA50 81 86 00 00 */ lwz r12, 0(r6)
|
|
/* 8034EAF4 0034BA54 81 8C 00 0C */ lwz r12, 0xc(r12)
|
|
/* 8034EAF8 0034BA58 7D 89 03 A6 */ mtctr r12
|
|
/* 8034EAFC 0034BA5C 4E 80 04 21 */ bctrl
|
|
/* 8034EB00 0034BA60 3B FE 00 08 */ addi r31, r30, 8
|
|
/* 8034EB04 0034BA64 38 81 00 08 */ addi r4, r1, 8
|
|
/* 8034EB08 0034BA68 7F E3 FB 78 */ mr r3, r31
|
|
/* 8034EB0C 0034BA6C 4B FF 23 9D */ bl __ct__6CTokenFRC6CToken
|
|
/* 8034EB10 0034BA70 7F E3 FB 78 */ mr r3, r31
|
|
/* 8034EB14 0034BA74 4B FF 22 F9 */ bl GetObj__6CTokenFv
|
|
/* 8034EB18 0034BA78 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 8034EB1C 0034BA7C 38 61 00 08 */ addi r3, r1, 8
|
|
/* 8034EB20 0034BA80 38 80 FF FF */ li r4, -1
|
|
/* 8034EB24 0034BA84 90 1F 00 08 */ stw r0, 8(r31)
|
|
/* 8034EB28 0034BA88 4B FF 23 19 */ bl __dt__6CTokenFv
|
|
/* 8034EB2C 0034BA8C 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8034EB30 0034BA90 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034EB34 0034BA94 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8034EB38 0034BA98 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 8034EB3C 0034BA9C 7C 08 03 A6 */ mtlr r0
|
|
/* 8034EB40 0034BAA0 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8034EB44 0034BAA4 4E 80 00 20 */ blr
|
|
|
|
.global FileRead__19SMemoryCardFileInfoFv
|
|
FileRead__19SMemoryCardFileInfoFv:
|
|
/* 8034EB48 0034BAA8 94 21 FF 50 */ stwu r1, -0xb0(r1)
|
|
/* 8034EB4C 0034BAAC 7C 08 02 A6 */ mflr r0
|
|
/* 8034EB50 0034BAB0 90 01 00 B4 */ stw r0, 0xb4(r1)
|
|
/* 8034EB54 0034BAB4 38 00 00 00 */ li r0, 0
|
|
/* 8034EB58 0034BAB8 38 81 00 7C */ addi r4, r1, 0x7c
|
|
/* 8034EB5C 0034BABC BF 61 00 9C */ stmw r27, 0x9c(r1)
|
|
/* 8034EB60 0034BAC0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8034EB64 0034BAC4 3B DF 00 34 */ addi r30, r31, 0x34
|
|
/* 8034EB68 0034BAC8 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034EB6C 0034BACC 90 01 00 80 */ stw r0, 0x80(r1)
|
|
/* 8034EB70 0034BAD0 90 01 00 84 */ stw r0, 0x84(r1)
|
|
/* 8034EB74 0034BAD4 90 01 00 88 */ stw r0, 0x88(r1)
|
|
/* 8034EB78 0034BAD8 4B F5 9B 3D */ bl sub_802a86b4
|
|
/* 8034EB7C 0034BADC 80 61 00 88 */ lwz r3, 0x88(r1)
|
|
/* 8034EB80 0034BAE0 80 01 00 80 */ lwz r0, 0x80(r1)
|
|
/* 8034EB84 0034BAE4 90 61 00 3C */ stw r3, 0x3c(r1)
|
|
/* 8034EB88 0034BAE8 7C 83 02 14 */ add r4, r3, r0
|
|
/* 8034EB8C 0034BAEC 7C 03 20 50 */ subf r0, r3, r4
|
|
/* 8034EB90 0034BAF0 90 81 00 44 */ stw r4, 0x44(r1)
|
|
/* 8034EB94 0034BAF4 90 81 00 40 */ stw r4, 0x40(r1)
|
|
/* 8034EB98 0034BAF8 90 61 00 38 */ stw r3, 0x38(r1)
|
|
/* 8034EB9C 0034BAFC 7C 09 03 A6 */ mtctr r0
|
|
/* 8034EBA0 0034BB00 7C 03 20 40 */ cmplw r3, r4
|
|
/* 8034EBA4 0034BB04 41 82 00 08 */ beq lbl_8034EBAC
|
|
lbl_8034EBA8:
|
|
/* 8034EBA8 0034BB08 42 00 00 00 */ bdnz lbl_8034EBA8
|
|
lbl_8034EBAC:
|
|
/* 8034EBAC 0034BB0C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8034EBB0 0034BB10 41 82 00 08 */ beq lbl_8034EBB8
|
|
/* 8034EBB4 0034BB14 4B FC 6D 7D */ bl Free__7CMemoryFPCv
|
|
lbl_8034EBB8:
|
|
/* 8034EBB8 0034BB18 83 9F 00 30 */ lwz r28, 0x30(r31)
|
|
/* 8034EBBC 0034BB1C 83 BF 00 28 */ lwz r29, 0x28(r31)
|
|
/* 8034EBC0 0034BB20 83 7C 00 00 */ lwz r27, 0(r28)
|
|
/* 8034EBC4 0034BB24 38 7C 00 04 */ addi r3, r28, 4
|
|
/* 8034EBC8 0034BB28 38 9D FF FC */ addi r4, r29, -4
|
|
/* 8034EBCC 0034BB2C 4B FC 69 C5 */ bl Calculate__6CCRC32FPCvUi
|
|
/* 8034EBD0 0034BB30 7C 1B 18 40 */ cmplw r27, r3
|
|
/* 8034EBD4 0034BB34 40 82 00 F4 */ bne lbl_8034ECC8
|
|
/* 8034EBD8 0034BB38 7F E3 FB 78 */ mr r3, r31
|
|
/* 8034EBDC 0034BB3C 38 81 00 48 */ addi r4, r1, 0x48
|
|
/* 8034EBE0 0034BB40 4B FF FD 7D */ bl GetSaveDataOffset__19SMemoryCardFileInfoFRPv
|
|
/* 8034EBE4 0034BB44 7C 7B 1B 79 */ or. r27, r3, r3
|
|
/* 8034EBE8 0034BB48 41 82 00 5C */ beq lbl_8034EC44
|
|
/* 8034EBEC 0034BB4C 38 00 00 00 */ li r0, 0
|
|
/* 8034EBF0 0034BB50 38 7F 00 24 */ addi r3, r31, 0x24
|
|
/* 8034EBF4 0034BB54 90 01 00 70 */ stw r0, 0x70(r1)
|
|
/* 8034EBF8 0034BB58 38 81 00 6C */ addi r4, r1, 0x6c
|
|
/* 8034EBFC 0034BB5C 90 01 00 74 */ stw r0, 0x74(r1)
|
|
/* 8034EC00 0034BB60 90 01 00 78 */ stw r0, 0x78(r1)
|
|
/* 8034EC04 0034BB64 4B FF F1 51 */ bl sub_8034dd54
|
|
/* 8034EC08 0034BB68 80 61 00 78 */ lwz r3, 0x78(r1)
|
|
/* 8034EC0C 0034BB6C 80 01 00 70 */ lwz r0, 0x70(r1)
|
|
/* 8034EC10 0034BB70 90 61 00 2C */ stw r3, 0x2c(r1)
|
|
/* 8034EC14 0034BB74 7C 83 02 14 */ add r4, r3, r0
|
|
/* 8034EC18 0034BB78 7C 03 20 50 */ subf r0, r3, r4
|
|
/* 8034EC1C 0034BB7C 90 81 00 34 */ stw r4, 0x34(r1)
|
|
/* 8034EC20 0034BB80 90 81 00 30 */ stw r4, 0x30(r1)
|
|
/* 8034EC24 0034BB84 90 61 00 28 */ stw r3, 0x28(r1)
|
|
/* 8034EC28 0034BB88 7C 09 03 A6 */ mtctr r0
|
|
/* 8034EC2C 0034BB8C 7C 03 20 40 */ cmplw r3, r4
|
|
/* 8034EC30 0034BB90 41 82 00 08 */ beq lbl_8034EC38
|
|
lbl_8034EC34:
|
|
/* 8034EC34 0034BB94 42 00 00 00 */ bdnz lbl_8034EC34
|
|
lbl_8034EC38:
|
|
/* 8034EC38 0034BB98 4B FC 6C F9 */ bl Free__7CMemoryFPCv
|
|
/* 8034EC3C 0034BB9C 7F 63 DB 78 */ mr r3, r27
|
|
/* 8034EC40 0034BBA0 48 00 00 DC */ b lbl_8034ED1C
|
|
lbl_8034EC44:
|
|
/* 8034EC44 0034BBA4 80 01 00 48 */ lwz r0, 0x48(r1)
|
|
/* 8034EC48 0034BBA8 7F C3 F3 78 */ mr r3, r30
|
|
/* 8034EC4C 0034BBAC 38 AD 9D E8 */ addi r5, r13, lbl_805A89A8@sda21
|
|
/* 8034EC50 0034BBB0 7F 60 E8 50 */ subf r27, r0, r29
|
|
/* 8034EC54 0034BBB4 7F 64 DB 78 */ mr r4, r27
|
|
/* 8034EC58 0034BBB8 4B E8 4F C5 */ bl "resize__Q24rstl37vector<Uc,Q24rstl17rmemory_allocator>FiRCUc"
|
|
/* 8034EC5C 0034BBBC 80 01 00 48 */ lwz r0, 0x48(r1)
|
|
/* 8034EC60 0034BBC0 7F 65 DB 78 */ mr r5, r27
|
|
/* 8034EC64 0034BBC4 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
/* 8034EC68 0034BBC8 7C 9C 02 14 */ add r4, r28, r0
|
|
/* 8034EC6C 0034BBCC 4B CB 48 25 */ bl memcpy
|
|
/* 8034EC70 0034BBD0 38 00 00 00 */ li r0, 0
|
|
/* 8034EC74 0034BBD4 38 7F 00 24 */ addi r3, r31, 0x24
|
|
/* 8034EC78 0034BBD8 90 01 00 60 */ stw r0, 0x60(r1)
|
|
/* 8034EC7C 0034BBDC 38 81 00 5C */ addi r4, r1, 0x5c
|
|
/* 8034EC80 0034BBE0 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 8034EC84 0034BBE4 90 01 00 68 */ stw r0, 0x68(r1)
|
|
/* 8034EC88 0034BBE8 4B FF F0 CD */ bl sub_8034dd54
|
|
/* 8034EC8C 0034BBEC 80 61 00 68 */ lwz r3, 0x68(r1)
|
|
/* 8034EC90 0034BBF0 80 01 00 60 */ lwz r0, 0x60(r1)
|
|
/* 8034EC94 0034BBF4 90 61 00 1C */ stw r3, 0x1c(r1)
|
|
/* 8034EC98 0034BBF8 7C 83 02 14 */ add r4, r3, r0
|
|
/* 8034EC9C 0034BBFC 7C 03 20 50 */ subf r0, r3, r4
|
|
/* 8034ECA0 0034BC00 90 81 00 24 */ stw r4, 0x24(r1)
|
|
/* 8034ECA4 0034BC04 90 81 00 20 */ stw r4, 0x20(r1)
|
|
/* 8034ECA8 0034BC08 90 61 00 18 */ stw r3, 0x18(r1)
|
|
/* 8034ECAC 0034BC0C 7C 09 03 A6 */ mtctr r0
|
|
/* 8034ECB0 0034BC10 7C 03 20 40 */ cmplw r3, r4
|
|
/* 8034ECB4 0034BC14 41 82 00 08 */ beq lbl_8034ECBC
|
|
lbl_8034ECB8:
|
|
/* 8034ECB8 0034BC18 42 00 00 00 */ bdnz lbl_8034ECB8
|
|
lbl_8034ECBC:
|
|
/* 8034ECBC 0034BC1C 4B FC 6C 75 */ bl Free__7CMemoryFPCv
|
|
/* 8034ECC0 0034BC20 38 60 00 00 */ li r3, 0
|
|
/* 8034ECC4 0034BC24 48 00 00 58 */ b lbl_8034ED1C
|
|
lbl_8034ECC8:
|
|
/* 8034ECC8 0034BC28 38 00 00 00 */ li r0, 0
|
|
/* 8034ECCC 0034BC2C 38 7F 00 24 */ addi r3, r31, 0x24
|
|
/* 8034ECD0 0034BC30 90 01 00 50 */ stw r0, 0x50(r1)
|
|
/* 8034ECD4 0034BC34 38 81 00 4C */ addi r4, r1, 0x4c
|
|
/* 8034ECD8 0034BC38 90 01 00 54 */ stw r0, 0x54(r1)
|
|
/* 8034ECDC 0034BC3C 90 01 00 58 */ stw r0, 0x58(r1)
|
|
/* 8034ECE0 0034BC40 4B FF F0 75 */ bl sub_8034dd54
|
|
/* 8034ECE4 0034BC44 80 61 00 58 */ lwz r3, 0x58(r1)
|
|
/* 8034ECE8 0034BC48 80 01 00 50 */ lwz r0, 0x50(r1)
|
|
/* 8034ECEC 0034BC4C 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 8034ECF0 0034BC50 7C 83 02 14 */ add r4, r3, r0
|
|
/* 8034ECF4 0034BC54 7C 03 20 50 */ subf r0, r3, r4
|
|
/* 8034ECF8 0034BC58 90 81 00 14 */ stw r4, 0x14(r1)
|
|
/* 8034ECFC 0034BC5C 90 81 00 10 */ stw r4, 0x10(r1)
|
|
/* 8034ED00 0034BC60 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 8034ED04 0034BC64 7C 09 03 A6 */ mtctr r0
|
|
/* 8034ED08 0034BC68 7C 03 20 40 */ cmplw r3, r4
|
|
/* 8034ED0C 0034BC6C 41 82 00 08 */ beq lbl_8034ED14
|
|
lbl_8034ED10:
|
|
/* 8034ED10 0034BC70 42 00 00 00 */ bdnz lbl_8034ED10
|
|
lbl_8034ED14:
|
|
/* 8034ED14 0034BC74 4B FC 6C 1D */ bl Free__7CMemoryFPCv
|
|
/* 8034ED18 0034BC78 38 60 FC 15 */ li r3, -1003
|
|
lbl_8034ED1C:
|
|
/* 8034ED1C 0034BC7C BB 61 00 9C */ lmw r27, 0x9c(r1)
|
|
/* 8034ED20 0034BC80 80 01 00 B4 */ lwz r0, 0xb4(r1)
|
|
/* 8034ED24 0034BC84 7C 08 03 A6 */ mtlr r0
|
|
/* 8034ED28 0034BC88 38 21 00 B0 */ addi r1, r1, 0xb0
|
|
/* 8034ED2C 0034BC8C 4E 80 00 20 */ blr
|
|
|
|
.global sub_8034ed30
|
|
sub_8034ed30:
|
|
/* 8034ED30 0034BC90 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8034ED34 0034BC94 7C 08 02 A6 */ mflr r0
|
|
/* 8034ED38 0034BC98 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8034ED3C 0034BC9C 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 8034ED40 0034BCA0 7C 9F 23 78 */ mr r31, r4
|
|
/* 8034ED44 0034BCA4 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
/* 8034ED48 0034BCA8 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8034ED4C 0034BCAC 93 A1 00 24 */ stw r29, 0x24(r1)
|
|
/* 8034ED50 0034BCB0 80 03 00 08 */ lwz r0, 8(r3)
|
|
/* 8034ED54 0034BCB4 7C 1F 00 00 */ cmpw r31, r0
|
|
/* 8034ED58 0034BCB8 40 81 00 C4 */ ble lbl_8034EE1C
|
|
/* 8034ED5C 0034BCBC 7F FD FB 79 */ or. r29, r31, r31
|
|
/* 8034ED60 0034BCC0 40 82 00 0C */ bne lbl_8034ED6C
|
|
/* 8034ED64 0034BCC4 3B A0 00 00 */ li r29, 0
|
|
/* 8034ED68 0034BCC8 48 00 00 3C */ b lbl_8034EDA4
|
|
lbl_8034ED6C:
|
|
/* 8034ED6C 0034BCCC 3C 60 80 3E */ lis r3, lbl_803D8220@ha
|
|
/* 8034ED70 0034BCD0 3C 80 80 3D */ lis r4, kUnknownType__10CCallStack@ha
|
|
/* 8034ED74 0034BCD4 38 A3 82 20 */ addi r5, r3, lbl_803D8220@l
|
|
/* 8034ED78 0034BCD8 38 C4 6A A8 */ addi r6, r4, kUnknownType__10CCallStack@l
|
|
/* 8034ED7C 0034BCDC 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 8034ED80 0034BCE0 38 80 FF FF */ li r4, -1
|
|
/* 8034ED84 0034BCE4 4B F8 76 51 */ bl __ct__10CCallStackFUiPCcPCc
|
|
/* 8034ED88 0034BCE8 7C 67 1B 78 */ mr r7, r3
|
|
/* 8034ED8C 0034BCEC 7F A3 EB 78 */ mr r3, r29
|
|
/* 8034ED90 0034BCF0 38 80 00 02 */ li r4, 2
|
|
/* 8034ED94 0034BCF4 38 A0 00 01 */ li r5, 1
|
|
/* 8034ED98 0034BCF8 38 C0 00 00 */ li r6, 0
|
|
/* 8034ED9C 0034BCFC 4B FC 6B F9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack
|
|
/* 8034EDA0 0034BD00 7C 7D 1B 78 */ mr r29, r3
|
|
lbl_8034EDA4:
|
|
/* 8034EDA4 0034BD04 80 BE 00 0C */ lwz r5, 0xc(r30)
|
|
/* 8034EDA8 0034BD08 7F A4 EB 78 */ mr r4, r29
|
|
/* 8034EDAC 0034BD0C 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 8034EDB0 0034BD10 90 A1 00 10 */ stw r5, 0x10(r1)
|
|
/* 8034EDB4 0034BD14 7C 65 02 14 */ add r3, r5, r0
|
|
/* 8034EDB8 0034BD18 7C 05 18 50 */ subf r0, r5, r3
|
|
/* 8034EDBC 0034BD1C 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 8034EDC0 0034BD20 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 8034EDC4 0034BD24 90 A1 00 14 */ stw r5, 0x14(r1)
|
|
/* 8034EDC8 0034BD28 7C 09 03 A6 */ mtctr r0
|
|
/* 8034EDCC 0034BD2C 7C 05 18 40 */ cmplw r5, r3
|
|
/* 8034EDD0 0034BD30 41 82 00 20 */ beq lbl_8034EDF0
|
|
lbl_8034EDD4:
|
|
/* 8034EDD4 0034BD34 28 04 00 00 */ cmplwi r4, 0
|
|
/* 8034EDD8 0034BD38 41 82 00 0C */ beq lbl_8034EDE4
|
|
/* 8034EDDC 0034BD3C 88 05 00 00 */ lbz r0, 0(r5)
|
|
/* 8034EDE0 0034BD40 98 04 00 00 */ stb r0, 0(r4)
|
|
lbl_8034EDE4:
|
|
/* 8034EDE4 0034BD44 38 84 00 01 */ addi r4, r4, 1
|
|
/* 8034EDE8 0034BD48 38 A5 00 01 */ addi r5, r5, 1
|
|
/* 8034EDEC 0034BD4C 42 00 FF E8 */ bdnz lbl_8034EDD4
|
|
lbl_8034EDF0:
|
|
/* 8034EDF0 0034BD50 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
/* 8034EDF4 0034BD54 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 8034EDF8 0034BD58 7C 83 02 14 */ add r4, r3, r0
|
|
/* 8034EDFC 0034BD5C 7C 03 20 50 */ subf r0, r3, r4
|
|
/* 8034EE00 0034BD60 7C 09 03 A6 */ mtctr r0
|
|
/* 8034EE04 0034BD64 7C 03 20 40 */ cmplw r3, r4
|
|
/* 8034EE08 0034BD68 41 82 00 08 */ beq lbl_8034EE10
|
|
lbl_8034EE0C:
|
|
/* 8034EE0C 0034BD6C 42 00 00 00 */ bdnz lbl_8034EE0C
|
|
lbl_8034EE10:
|
|
/* 8034EE10 0034BD70 4B FC 6B 21 */ bl Free__7CMemoryFPCv
|
|
/* 8034EE14 0034BD74 93 BE 00 0C */ stw r29, 0xc(r30)
|
|
/* 8034EE18 0034BD78 93 FE 00 08 */ stw r31, 8(r30)
|
|
lbl_8034EE1C:
|
|
/* 8034EE1C 0034BD7C 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8034EE20 0034BD80 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
/* 8034EE24 0034BD84 83 C1 00 28 */ lwz r30, 0x28(r1)
|
|
/* 8034EE28 0034BD88 83 A1 00 24 */ lwz r29, 0x24(r1)
|
|
/* 8034EE2C 0034BD8C 7C 08 03 A6 */ mtlr r0
|
|
/* 8034EE30 0034BD90 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8034EE34 0034BD94 4E 80 00 20 */ blr
|
|
|
|
.global "reserve__Q24rstl36vector<c,Q24rstl17aligned_allocator>Fi"
|
|
"reserve__Q24rstl36vector<c,Q24rstl17aligned_allocator>Fi":
|
|
/* 8034EE38 0034BD98 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 8034EE3C 0034BD9C 7C 08 02 A6 */ mflr r0
|
|
/* 8034EE40 0034BDA0 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8034EE44 0034BDA4 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 8034EE48 0034BDA8 7C 9F 23 78 */ mr r31, r4
|
|
/* 8034EE4C 0034BDAC 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
/* 8034EE50 0034BDB0 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8034EE54 0034BDB4 93 A1 00 24 */ stw r29, 0x24(r1)
|
|
/* 8034EE58 0034BDB8 80 03 00 08 */ lwz r0, 8(r3)
|
|
/* 8034EE5C 0034BDBC 7C 1F 00 00 */ cmpw r31, r0
|
|
/* 8034EE60 0034BDC0 40 81 00 C4 */ ble lbl_8034EF24
|
|
/* 8034EE64 0034BDC4 7F FD FB 79 */ or. r29, r31, r31
|
|
/* 8034EE68 0034BDC8 40 82 00 0C */ bne lbl_8034EE74
|
|
/* 8034EE6C 0034BDCC 3B A0 00 00 */ li r29, 0
|
|
/* 8034EE70 0034BDD0 48 00 00 3C */ b lbl_8034EEAC
|
|
lbl_8034EE74:
|
|
/* 8034EE74 0034BDD4 3C 60 80 3E */ lis r3, lbl_803D8220@ha
|
|
/* 8034EE78 0034BDD8 3C 80 80 3D */ lis r4, kUnknownType__10CCallStack@ha
|
|
/* 8034EE7C 0034BDDC 38 A3 82 20 */ addi r5, r3, lbl_803D8220@l
|
|
/* 8034EE80 0034BDE0 38 C4 6A A8 */ addi r6, r4, kUnknownType__10CCallStack@l
|
|
/* 8034EE84 0034BDE4 38 61 00 18 */ addi r3, r1, 0x18
|
|
/* 8034EE88 0034BDE8 38 80 FF FF */ li r4, -1
|
|
/* 8034EE8C 0034BDEC 4B F8 75 49 */ bl __ct__10CCallStackFUiPCcPCc
|
|
/* 8034EE90 0034BDF0 7C 67 1B 78 */ mr r7, r3
|
|
/* 8034EE94 0034BDF4 7F A3 EB 78 */ mr r3, r29
|
|
/* 8034EE98 0034BDF8 38 80 00 02 */ li r4, 2
|
|
/* 8034EE9C 0034BDFC 38 A0 00 01 */ li r5, 1
|
|
/* 8034EEA0 0034BE00 38 C0 00 00 */ li r6, 0
|
|
/* 8034EEA4 0034BE04 4B FC 6A F1 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack
|
|
/* 8034EEA8 0034BE08 7C 7D 1B 78 */ mr r29, r3
|
|
lbl_8034EEAC:
|
|
/* 8034EEAC 0034BE0C 80 BE 00 0C */ lwz r5, 0xc(r30)
|
|
/* 8034EEB0 0034BE10 7F A4 EB 78 */ mr r4, r29
|
|
/* 8034EEB4 0034BE14 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 8034EEB8 0034BE18 90 A1 00 10 */ stw r5, 0x10(r1)
|
|
/* 8034EEBC 0034BE1C 7C 65 02 14 */ add r3, r5, r0
|
|
/* 8034EEC0 0034BE20 7C 05 18 50 */ subf r0, r5, r3
|
|
/* 8034EEC4 0034BE24 90 61 00 08 */ stw r3, 8(r1)
|
|
/* 8034EEC8 0034BE28 90 61 00 0C */ stw r3, 0xc(r1)
|
|
/* 8034EECC 0034BE2C 90 A1 00 14 */ stw r5, 0x14(r1)
|
|
/* 8034EED0 0034BE30 7C 09 03 A6 */ mtctr r0
|
|
/* 8034EED4 0034BE34 7C 05 18 40 */ cmplw r5, r3
|
|
/* 8034EED8 0034BE38 41 82 00 20 */ beq lbl_8034EEF8
|
|
lbl_8034EEDC:
|
|
/* 8034EEDC 0034BE3C 28 04 00 00 */ cmplwi r4, 0
|
|
/* 8034EEE0 0034BE40 41 82 00 0C */ beq lbl_8034EEEC
|
|
/* 8034EEE4 0034BE44 88 05 00 00 */ lbz r0, 0(r5)
|
|
/* 8034EEE8 0034BE48 98 04 00 00 */ stb r0, 0(r4)
|
|
lbl_8034EEEC:
|
|
/* 8034EEEC 0034BE4C 38 84 00 01 */ addi r4, r4, 1
|
|
/* 8034EEF0 0034BE50 38 A5 00 01 */ addi r5, r5, 1
|
|
/* 8034EEF4 0034BE54 42 00 FF E8 */ bdnz lbl_8034EEDC
|
|
lbl_8034EEF8:
|
|
/* 8034EEF8 0034BE58 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
/* 8034EEFC 0034BE5C 80 1E 00 04 */ lwz r0, 4(r30)
|
|
/* 8034EF00 0034BE60 7C 83 02 14 */ add r4, r3, r0
|
|
/* 8034EF04 0034BE64 7C 03 20 50 */ subf r0, r3, r4
|
|
/* 8034EF08 0034BE68 7C 09 03 A6 */ mtctr r0
|
|
/* 8034EF0C 0034BE6C 7C 03 20 40 */ cmplw r3, r4
|
|
/* 8034EF10 0034BE70 41 82 00 08 */ beq lbl_8034EF18
|
|
lbl_8034EF14:
|
|
/* 8034EF14 0034BE74 42 00 00 00 */ bdnz lbl_8034EF14
|
|
lbl_8034EF18:
|
|
/* 8034EF18 0034BE78 4B FC 6A 19 */ bl Free__7CMemoryFPCv
|
|
/* 8034EF1C 0034BE7C 93 BE 00 0C */ stw r29, 0xc(r30)
|
|
/* 8034EF20 0034BE80 93 FE 00 08 */ stw r31, 8(r30)
|
|
lbl_8034EF24:
|
|
/* 8034EF24 0034BE84 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 8034EF28 0034BE88 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
/* 8034EF2C 0034BE8C 83 C1 00 28 */ lwz r30, 0x28(r1)
|
|
/* 8034EF30 0034BE90 83 A1 00 24 */ lwz r29, 0x24(r1)
|
|
/* 8034EF34 0034BE94 7C 08 03 A6 */ mtlr r0
|
|
/* 8034EF38 0034BE98 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 8034EF3C 0034BE9C 4E 80 00 20 */ blr
|
|
|
|
.global __sinit_DolphinCMemoryCardSys_cpp
|
|
__sinit_DolphinCMemoryCardSys_cpp:
|
|
/* 8034EF40 0034BEA0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8034EF44 0034BEA4 7C 08 02 A6 */ mflr r0
|
|
/* 8034EF48 0034BEA8 3C 60 80 5A */ lis r3, lbl_805A67DC@ha
|
|
/* 8034EF4C 0034BEAC 3C 80 80 35 */ lis r4, sub_8034d638@ha
|
|
/* 8034EF50 0034BEB0 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8034EF54 0034BEB4 3C A0 80 4C */ lis r5, lbl_804BFFA0@ha
|
|
/* 8034EF58 0034BEB8 38 63 67 DC */ addi r3, r3, lbl_805A67DC@l
|
|
/* 8034EF5C 0034BEBC 38 00 00 00 */ li r0, 0
|
|
/* 8034EF60 0034BEC0 90 03 00 04 */ stw r0, 4(r3)
|
|
/* 8034EF64 0034BEC4 38 84 D6 38 */ addi r4, r4, sub_8034d638@l
|
|
/* 8034EF68 0034BEC8 38 A5 FF A0 */ addi r5, r5, lbl_804BFFA0@l
|
|
/* 8034EF6C 0034BECC 90 03 00 08 */ stw r0, 8(r3)
|
|
/* 8034EF70 0034BED0 90 03 00 0C */ stw r0, 0xc(r3)
|
|
/* 8034EF74 0034BED4 48 03 A7 19 */ bl __register_global_object
|
|
/* 8034EF78 0034BED8 3C 60 80 5A */ lis r3, lbl_805A67FC@ha
|
|
/* 8034EF7C 0034BEDC 3C 80 80 35 */ lis r4, sub_8034d638@ha
|
|
/* 8034EF80 0034BEE0 38 63 67 FC */ addi r3, r3, lbl_805A67FC@l
|
|
/* 8034EF84 0034BEE4 38 00 00 00 */ li r0, 0
|
|
/* 8034EF88 0034BEE8 3C A0 80 4C */ lis r5, lbl_804BFFAC@ha
|
|
/* 8034EF8C 0034BEEC 90 03 00 04 */ stw r0, 4(r3)
|
|
/* 8034EF90 0034BEF0 38 84 D6 38 */ addi r4, r4, sub_8034d638@l
|
|
/* 8034EF94 0034BEF4 90 03 00 08 */ stw r0, 8(r3)
|
|
/* 8034EF98 0034BEF8 38 A5 FF AC */ addi r5, r5, lbl_804BFFAC@l
|
|
/* 8034EF9C 0034BEFC 90 03 00 0C */ stw r0, 0xc(r3)
|
|
/* 8034EFA0 0034BF00 48 03 A6 ED */ bl __register_global_object
|
|
/* 8034EFA4 0034BF04 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8034EFA8 0034BF08 7C 08 03 A6 */ mtlr r0
|
|
/* 8034EFAC 0034BF0C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8034EFB0 0034BF10 4E 80 00 20 */ blr
|
|
|
|
.section .rodata
|
|
.balign 8
|
|
.global lbl_803D8220
|
|
lbl_803D8220:
|
|
# ROM: 0x3D5220
|
|
.asciz "??(??)"
|
|
.balign 4
|