mirror of https://github.com/zeldaret/tp.git
142 lines
7.1 KiB
ArmAsm
142 lines
7.1 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 8028d550
|
|
|
|
|
|
/* 8028D550 0028A490 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8028D554 0028A494 7C 08 02 A6 */ mflr r0
|
|
/* 8028D558 0028A498 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8028D55C 0028A49C 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8028D560 0028A4A0 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8028D564 0028A4A4 7C 7E 1B 79 */ or. r30, r3, r3
|
|
/* 8028D568 0028A4A8 7C 9F 23 78 */ mr r31, r4
|
|
/* 8028D56C 0028A4AC 41 82 00 28 */ beq lbl_8028D594
|
|
/* 8028D570 0028A4B0 3C 80 80 3C */ lis r4, lbl_803C5A68@ha
|
|
/* 8028D574 0028A4B4 38 04 5A 68 */ addi r0, r4, lbl_803C5A68@l
|
|
/* 8028D578 0028A4B8 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 8028D57C 0028A4BC 38 80 00 00 */ li r4, 0
|
|
/* 8028D580 0028A4C0 4B FF 7F 09 */ bl __dt__Q27JStudio13TCreateObjectFv
|
|
/* 8028D584 0028A4C4 7F E0 07 35 */ extsh. r0, r31
|
|
/* 8028D588 0028A4C8 40 81 00 0C */ ble lbl_8028D594
|
|
/* 8028D58C 0028A4CC 7F C3 F3 78 */ mr r3, r30
|
|
/* 8028D590 0028A4D0 48 04 17 AD */ bl __dl__FPv
|
|
lbl_8028D594:
|
|
/* 8028D594 0028A4D4 7F C3 F3 78 */ mr r3, r30
|
|
/* 8028D598 0028A4D8 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8028D59C 0028A4DC 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 8028D5A0 0028A4E0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8028D5A4 0028A4E4 7C 08 03 A6 */ mtlr r0
|
|
/* 8028D5A8 0028A4E8 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8028D5AC 0028A4EC 4E 80 00 20 */ blr
|
|
/* 8028D5B0 0028A4F0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8028D5B4 0028A4F4 7C 08 02 A6 */ mflr r0
|
|
/* 8028D5B8 0028A4F8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8028D5BC 0028A4FC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8028D5C0 0028A500 7C 66 1B 78 */ mr r6, r3
|
|
/* 8028D5C4 0028A504 7C 9F 23 78 */ mr r31, r4
|
|
/* 8028D5C8 0028A508 80 65 00 00 */ lwz r3, 0(r5)
|
|
/* 8028D5CC 0028A50C 80 83 00 04 */ lwz r4, 4(r3)
|
|
/* 8028D5D0 0028A510 3C 60 4A 53 */ lis r3, 0x4A534E44@ha
|
|
/* 8028D5D4 0028A514 38 03 4E 44 */ addi r0, r3, 0x4A534E44@l
|
|
/* 8028D5D8 0028A518 7C 04 00 00 */ cmpw r4, r0
|
|
/* 8028D5DC 0028A51C 41 82 00 08 */ beq lbl_8028D5E4
|
|
/* 8028D5E0 0028A520 48 00 00 10 */ b lbl_8028D5F0
|
|
lbl_8028D5E4:
|
|
.global createObject_JAI_SOUND___Q215JStudio_JAudio213TCreateObjectFRCQ47JStudio3stb4data20TParse_TBlock_objectPQ215JStudio_JAudio213TCreateObject
|
|
/* 8028D5E4 0028A524 3C 60 80 29 */ lis r3, createObject_JAI_SOUND___Q215JStudio_JAudio213TCreateObjectFRCQ47JStudio3stb4data20TParse_TBlock_objectPQ215JStudio_JAudio213TCreateObject@ha
|
|
.global createObject_JAI_SOUND___Q215JStudio_JAudio213TCreateObjectFRCQ47JStudio3stb4data20TParse_TBlock_objectPQ215JStudio_JAudio213TCreateObject
|
|
/* 8028D5E8 0028A528 39 83 D6 24 */ addi r12, r3, createObject_JAI_SOUND___Q215JStudio_JAudio213TCreateObjectFRCQ47JStudio3stb4data20TParse_TBlock_objectPQ215JStudio_JAudio213TCreateObject@l
|
|
/* 8028D5EC 0028A52C 48 00 00 0C */ b lbl_8028D5F8
|
|
lbl_8028D5F0:
|
|
/* 8028D5F0 0028A530 38 60 00 00 */ li r3, 0
|
|
/* 8028D5F4 0028A534 48 00 00 1C */ b lbl_8028D610
|
|
lbl_8028D5F8:
|
|
/* 8028D5F8 0028A538 7C A3 2B 78 */ mr r3, r5
|
|
/* 8028D5FC 0028A53C 7C C4 33 78 */ mr r4, r6
|
|
/* 8028D600 0028A540 7D 89 03 A6 */ mtctr r12
|
|
/* 8028D604 0028A544 4E 80 04 21 */ bctrl
|
|
/* 8028D608 0028A548 90 7F 00 00 */ stw r3, 0(r31)
|
|
/* 8028D60C 0028A54C 38 60 00 01 */ li r3, 1
|
|
lbl_8028D610:
|
|
/* 8028D610 0028A550 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8028D614 0028A554 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8028D618 0028A558 7C 08 03 A6 */ mtlr r0
|
|
/* 8028D61C 0028A55C 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8028D620 0028A560 4E 80 00 20 */ blr
|
|
.global createObject_JAI_SOUND___Q215JStudio_JAudio213TCreateObjectFRCQ47JStudio3stb4data20TParse_TBlock_objectPQ215JStudio_JAudio213TCreateObject
|
|
createObject_JAI_SOUND___Q215JStudio_JAudio213TCreateObjectFRCQ47JStudio3stb4data20TParse_TBlock_objectPQ215JStudio_JAudio213TCreateObject:
|
|
/* 8028D624 0028A564 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 8028D628 0028A568 7C 08 02 A6 */ mflr r0
|
|
/* 8028D62C 0028A56C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8028D630 0028A570 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 8028D634 0028A574 48 0D 4B A9 */ bl _savegpr_29
|
|
/* 8028D638 0028A578 7C 7D 1B 78 */ mr r29, r3
|
|
/* 8028D63C 0028A57C 7C 9E 23 78 */ mr r30, r4
|
|
/* 8028D640 0028A580 38 60 01 48 */ li r3, 0x148
|
|
/* 8028D644 0028A584 48 04 16 09 */ bl __nw__FUl
|
|
/* 8028D648 0028A588 7C 7F 1B 79 */ or. r31, r3, r3
|
|
/* 8028D64C 0028A58C 41 82 00 10 */ beq lbl_8028D65C
|
|
/* 8028D650 0028A590 7F C4 F3 78 */ mr r4, r30
|
|
/* 8028D654 0028A594 48 00 01 D5 */ bl __ct__Q215JStudio_JAudio214TAdaptor_soundFPQ215JStudio_JAudio213TCreateObject
|
|
/* 8028D658 0028A598 7C 7F 1B 78 */ mr r31, r3
|
|
lbl_8028D65C:
|
|
/* 8028D65C 0028A59C 28 1F 00 00 */ cmplwi r31, 0
|
|
/* 8028D660 0028A5A0 40 82 00 0C */ bne lbl_8028D66C
|
|
/* 8028D664 0028A5A4 38 60 00 00 */ li r3, 0
|
|
/* 8028D668 0028A5A8 48 00 00 A8 */ b lbl_8028D710
|
|
lbl_8028D66C:
|
|
/* 8028D66C 0028A5AC 93 E1 00 08 */ stw r31, 8(r1)
|
|
/* 8028D670 0028A5B0 88 1E 00 14 */ lbz r0, 0x14(r30)
|
|
/* 8028D674 0028A5B4 98 1F 01 1C */ stb r0, 0x11c(r31)
|
|
/* 8028D678 0028A5B8 38 60 00 38 */ li r3, 0x38
|
|
/* 8028D67C 0028A5BC 48 04 15 D1 */ bl __nw__FUl
|
|
/* 8028D680 0028A5C0 7C 7E 1B 79 */ or. r30, r3, r3
|
|
/* 8028D684 0028A5C4 41 82 00 14 */ beq lbl_8028D698
|
|
/* 8028D688 0028A5C8 7F A4 EB 78 */ mr r4, r29
|
|
/* 8028D68C 0028A5CC 7F E5 FB 78 */ mr r5, r31
|
|
/* 8028D690 0028A5D0 4B FF A5 0D */ bl __ct__Q27JStudio13TObject_soundFRCQ47JStudio3stb4data20TParse_TBlock_objectPQ27JStudio14TAdaptor_sound
|
|
/* 8028D694 0028A5D4 7C 7E 1B 78 */ mr r30, r3
|
|
lbl_8028D698:
|
|
/* 8028D698 0028A5D8 28 1E 00 00 */ cmplwi r30, 0
|
|
/* 8028D69C 0028A5DC 40 82 00 0C */ bne lbl_8028D6A8
|
|
/* 8028D6A0 0028A5E0 3B C0 00 00 */ li r30, 0
|
|
/* 8028D6A4 0028A5E4 48 00 00 28 */ b lbl_8028D6CC
|
|
lbl_8028D6A8:
|
|
/* 8028D6A8 0028A5E8 80 7E 00 34 */ lwz r3, 0x34(r30)
|
|
/* 8028D6AC 0028A5EC 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8028D6B0 0028A5F0 41 82 00 1C */ beq lbl_8028D6CC
|
|
/* 8028D6B4 0028A5F4 93 C3 00 04 */ stw r30, 4(r3)
|
|
/* 8028D6B8 0028A5F8 80 7E 00 34 */ lwz r3, 0x34(r30)
|
|
/* 8028D6BC 0028A5FC 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8028D6C0 0028A600 81 8C 00 0C */ lwz r12, 0xc(r12)
|
|
/* 8028D6C4 0028A604 7D 89 03 A6 */ mtctr r12
|
|
/* 8028D6C8 0028A608 4E 80 04 21 */ bctrl
|
|
lbl_8028D6CC:
|
|
/* 8028D6CC 0028A60C 28 1E 00 00 */ cmplwi r30, 0
|
|
/* 8028D6D0 0028A610 40 82 00 2C */ bne lbl_8028D6FC
|
|
/* 8028D6D4 0028A614 80 61 00 08 */ lwz r3, 8(r1)
|
|
/* 8028D6D8 0028A618 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8028D6DC 0028A61C 41 82 00 18 */ beq lbl_8028D6F4
|
|
/* 8028D6E0 0028A620 38 80 00 01 */ li r4, 1
|
|
/* 8028D6E4 0028A624 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8028D6E8 0028A628 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8028D6EC 0028A62C 7D 89 03 A6 */ mtctr r12
|
|
/* 8028D6F0 0028A630 4E 80 04 21 */ bctrl
|
|
lbl_8028D6F4:
|
|
/* 8028D6F4 0028A634 38 60 00 00 */ li r3, 0
|
|
/* 8028D6F8 0028A638 48 00 00 18 */ b lbl_8028D710
|
|
lbl_8028D6FC:
|
|
/* 8028D6FC 0028A63C 38 00 00 00 */ li r0, 0
|
|
/* 8028D700 0028A640 90 01 00 08 */ stw r0, 8(r1)
|
|
/* 8028D704 0028A644 48 00 00 08 */ b lbl_8028D70C
|
|
/* 8028D708 0028A648 4E 80 04 21 */ bctrl
|
|
lbl_8028D70C:
|
|
/* 8028D70C 0028A64C 7F C3 F3 78 */ mr r3, r30
|
|
lbl_8028D710:
|
|
/* 8028D710 0028A650 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 8028D714 0028A654 48 0D 4B 15 */ bl _restgpr_29
|
|
/* 8028D718 0028A658 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8028D71C 0028A65C 7C 08 03 A6 */ mtlr r0
|
|
/* 8028D720 0028A660 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 8028D724 0028A664 4E 80 00 20 */ blr
|