mirror of https://github.com/PrimeDecomp/prime.git
236 lines
11 KiB
ArmAsm
236 lines
11 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax"
|
|
|
|
.global __dt__18CSwooshDescriptionFv
|
|
__dt__18CSwooshDescriptionFv:
|
|
/* 80366AF8 00363A58 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80366AFC 00363A5C 7C 08 02 A6 */ mflr r0
|
|
/* 80366B00 00363A60 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80366B04 00363A64 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80366B08 00363A68 7C 7F 1B 79 */ or. r31, r3, r3
|
|
/* 80366B0C 00363A6C 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80366B10 00363A70 7C 9E 23 78 */ mr r30, r4
|
|
/* 80366B14 00363A74 41 82 02 34 */ beq lbl_80366D48
|
|
/* 80366B18 00363A78 80 7F 00 00 */ lwz r3, 0(r31)
|
|
/* 80366B1C 00363A7C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366B20 00363A80 41 82 00 18 */ beq lbl_80366B38
|
|
/* 80366B24 00363A84 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366B28 00363A88 38 80 00 01 */ li r4, 1
|
|
/* 80366B2C 00363A8C 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366B30 00363A90 7D 89 03 A6 */ mtctr r12
|
|
/* 80366B34 00363A94 4E 80 04 21 */ bctrl
|
|
lbl_80366B38:
|
|
/* 80366B38 00363A98 80 7F 00 04 */ lwz r3, 4(r31)
|
|
/* 80366B3C 00363A9C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366B40 00363AA0 41 82 00 18 */ beq lbl_80366B58
|
|
/* 80366B44 00363AA4 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366B48 00363AA8 38 80 00 01 */ li r4, 1
|
|
/* 80366B4C 00363AAC 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366B50 00363AB0 7D 89 03 A6 */ mtctr r12
|
|
/* 80366B54 00363AB4 4E 80 04 21 */ bctrl
|
|
lbl_80366B58:
|
|
/* 80366B58 00363AB8 80 7F 00 08 */ lwz r3, 8(r31)
|
|
/* 80366B5C 00363ABC 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366B60 00363AC0 41 82 00 18 */ beq lbl_80366B78
|
|
/* 80366B64 00363AC4 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366B68 00363AC8 38 80 00 01 */ li r4, 1
|
|
/* 80366B6C 00363ACC 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366B70 00363AD0 7D 89 03 A6 */ mtctr r12
|
|
/* 80366B74 00363AD4 4E 80 04 21 */ bctrl
|
|
lbl_80366B78:
|
|
/* 80366B78 00363AD8 80 7F 00 0C */ lwz r3, 0xc(r31)
|
|
/* 80366B7C 00363ADC 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366B80 00363AE0 41 82 00 18 */ beq lbl_80366B98
|
|
/* 80366B84 00363AE4 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366B88 00363AE8 38 80 00 01 */ li r4, 1
|
|
/* 80366B8C 00363AEC 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366B90 00363AF0 7D 89 03 A6 */ mtctr r12
|
|
/* 80366B94 00363AF4 4E 80 04 21 */ bctrl
|
|
lbl_80366B98:
|
|
/* 80366B98 00363AF8 80 7F 00 10 */ lwz r3, 0x10(r31)
|
|
/* 80366B9C 00363AFC 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366BA0 00363B00 41 82 00 18 */ beq lbl_80366BB8
|
|
/* 80366BA4 00363B04 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366BA8 00363B08 38 80 00 01 */ li r4, 1
|
|
/* 80366BAC 00363B0C 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366BB0 00363B10 7D 89 03 A6 */ mtctr r12
|
|
/* 80366BB4 00363B14 4E 80 04 21 */ bctrl
|
|
lbl_80366BB8:
|
|
/* 80366BB8 00363B18 80 7F 00 14 */ lwz r3, 0x14(r31)
|
|
/* 80366BBC 00363B1C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366BC0 00363B20 41 82 00 18 */ beq lbl_80366BD8
|
|
/* 80366BC4 00363B24 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366BC8 00363B28 38 80 00 01 */ li r4, 1
|
|
/* 80366BCC 00363B2C 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366BD0 00363B30 7D 89 03 A6 */ mtctr r12
|
|
/* 80366BD4 00363B34 4E 80 04 21 */ bctrl
|
|
lbl_80366BD8:
|
|
/* 80366BD8 00363B38 80 7F 00 18 */ lwz r3, 0x18(r31)
|
|
/* 80366BDC 00363B3C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366BE0 00363B40 41 82 00 18 */ beq lbl_80366BF8
|
|
/* 80366BE4 00363B44 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366BE8 00363B48 38 80 00 01 */ li r4, 1
|
|
/* 80366BEC 00363B4C 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366BF0 00363B50 7D 89 03 A6 */ mtctr r12
|
|
/* 80366BF4 00363B54 4E 80 04 21 */ bctrl
|
|
lbl_80366BF8:
|
|
/* 80366BF8 00363B58 80 7F 00 1C */ lwz r3, 0x1c(r31)
|
|
/* 80366BFC 00363B5C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366C00 00363B60 41 82 00 18 */ beq lbl_80366C18
|
|
/* 80366C04 00363B64 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366C08 00363B68 38 80 00 01 */ li r4, 1
|
|
/* 80366C0C 00363B6C 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366C10 00363B70 7D 89 03 A6 */ mtctr r12
|
|
/* 80366C14 00363B74 4E 80 04 21 */ bctrl
|
|
lbl_80366C18:
|
|
/* 80366C18 00363B78 80 7F 00 20 */ lwz r3, 0x20(r31)
|
|
/* 80366C1C 00363B7C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366C20 00363B80 41 82 00 18 */ beq lbl_80366C38
|
|
/* 80366C24 00363B84 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366C28 00363B88 38 80 00 01 */ li r4, 1
|
|
/* 80366C2C 00363B8C 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366C30 00363B90 7D 89 03 A6 */ mtctr r12
|
|
/* 80366C34 00363B94 4E 80 04 21 */ bctrl
|
|
lbl_80366C38:
|
|
/* 80366C38 00363B98 80 7F 00 24 */ lwz r3, 0x24(r31)
|
|
/* 80366C3C 00363B9C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366C40 00363BA0 41 82 00 18 */ beq lbl_80366C58
|
|
/* 80366C44 00363BA4 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366C48 00363BA8 38 80 00 01 */ li r4, 1
|
|
/* 80366C4C 00363BAC 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366C50 00363BB0 7D 89 03 A6 */ mtctr r12
|
|
/* 80366C54 00363BB4 4E 80 04 21 */ bctrl
|
|
lbl_80366C58:
|
|
/* 80366C58 00363BB8 80 7F 00 28 */ lwz r3, 0x28(r31)
|
|
/* 80366C5C 00363BBC 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366C60 00363BC0 41 82 00 18 */ beq lbl_80366C78
|
|
/* 80366C64 00363BC4 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366C68 00363BC8 38 80 00 01 */ li r4, 1
|
|
/* 80366C6C 00363BCC 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366C70 00363BD0 7D 89 03 A6 */ mtctr r12
|
|
/* 80366C74 00363BD4 4E 80 04 21 */ bctrl
|
|
lbl_80366C78:
|
|
/* 80366C78 00363BD8 80 7F 00 2C */ lwz r3, 0x2c(r31)
|
|
/* 80366C7C 00363BDC 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366C80 00363BE0 41 82 00 18 */ beq lbl_80366C98
|
|
/* 80366C84 00363BE4 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366C88 00363BE8 38 80 00 01 */ li r4, 1
|
|
/* 80366C8C 00363BEC 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366C90 00363BF0 7D 89 03 A6 */ mtctr r12
|
|
/* 80366C94 00363BF4 4E 80 04 21 */ bctrl
|
|
lbl_80366C98:
|
|
/* 80366C98 00363BF8 80 7F 00 30 */ lwz r3, 0x30(r31)
|
|
/* 80366C9C 00363BFC 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366CA0 00363C00 41 82 00 18 */ beq lbl_80366CB8
|
|
/* 80366CA4 00363C04 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366CA8 00363C08 38 80 00 01 */ li r4, 1
|
|
/* 80366CAC 00363C0C 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366CB0 00363C10 7D 89 03 A6 */ mtctr r12
|
|
/* 80366CB4 00363C14 4E 80 04 21 */ bctrl
|
|
lbl_80366CB8:
|
|
/* 80366CB8 00363C18 80 7F 00 34 */ lwz r3, 0x34(r31)
|
|
/* 80366CBC 00363C1C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366CC0 00363C20 41 82 00 18 */ beq lbl_80366CD8
|
|
/* 80366CC4 00363C24 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366CC8 00363C28 38 80 00 01 */ li r4, 1
|
|
/* 80366CCC 00363C2C 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366CD0 00363C30 7D 89 03 A6 */ mtctr r12
|
|
/* 80366CD4 00363C34 4E 80 04 21 */ bctrl
|
|
lbl_80366CD8:
|
|
/* 80366CD8 00363C38 80 7F 00 38 */ lwz r3, 0x38(r31)
|
|
/* 80366CDC 00363C3C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366CE0 00363C40 41 82 00 18 */ beq lbl_80366CF8
|
|
/* 80366CE4 00363C44 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366CE8 00363C48 38 80 00 01 */ li r4, 1
|
|
/* 80366CEC 00363C4C 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366CF0 00363C50 7D 89 03 A6 */ mtctr r12
|
|
/* 80366CF4 00363C54 4E 80 04 21 */ bctrl
|
|
lbl_80366CF8:
|
|
/* 80366CF8 00363C58 80 7F 00 3C */ lwz r3, 0x3c(r31)
|
|
/* 80366CFC 00363C5C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366D00 00363C60 41 82 00 18 */ beq lbl_80366D18
|
|
/* 80366D04 00363C64 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366D08 00363C68 38 80 00 01 */ li r4, 1
|
|
/* 80366D0C 00363C6C 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366D10 00363C70 7D 89 03 A6 */ mtctr r12
|
|
/* 80366D14 00363C74 4E 80 04 21 */ bctrl
|
|
lbl_80366D18:
|
|
/* 80366D18 00363C78 80 7F 00 40 */ lwz r3, 0x40(r31)
|
|
/* 80366D1C 00363C7C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80366D20 00363C80 41 82 00 18 */ beq lbl_80366D38
|
|
/* 80366D24 00363C84 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 80366D28 00363C88 38 80 00 01 */ li r4, 1
|
|
/* 80366D2C 00363C8C 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 80366D30 00363C90 7D 89 03 A6 */ mtctr r12
|
|
/* 80366D34 00363C94 4E 80 04 21 */ bctrl
|
|
lbl_80366D38:
|
|
/* 80366D38 00363C98 7F C0 07 35 */ extsh. r0, r30
|
|
/* 80366D3C 00363C9C 40 81 00 0C */ ble lbl_80366D48
|
|
/* 80366D40 00363CA0 7F E3 FB 78 */ mr r3, r31
|
|
/* 80366D44 00363CA4 4B FA EB ED */ bl Free__7CMemoryFPCv
|
|
lbl_80366D48:
|
|
/* 80366D48 00363CA8 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80366D4C 00363CAC 7F E3 FB 78 */ mr r3, r31
|
|
/* 80366D50 00363CB0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80366D54 00363CB4 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80366D58 00363CB8 7C 08 03 A6 */ mtlr r0
|
|
/* 80366D5C 00363CBC 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80366D60 00363CC0 4E 80 00 20 */ blr
|
|
|
|
.global __ct__18CSwooshDescriptionFv
|
|
__ct__18CSwooshDescriptionFv:
|
|
/* 80366D64 00363CC4 38 A0 00 00 */ li r5, 0
|
|
/* 80366D68 00363CC8 38 80 00 01 */ li r4, 1
|
|
/* 80366D6C 00363CCC 90 A3 00 00 */ stw r5, 0(r3)
|
|
/* 80366D70 00363CD0 90 A3 00 04 */ stw r5, 4(r3)
|
|
/* 80366D74 00363CD4 90 A3 00 08 */ stw r5, 8(r3)
|
|
/* 80366D78 00363CD8 90 A3 00 0C */ stw r5, 0xc(r3)
|
|
/* 80366D7C 00363CDC 90 A3 00 10 */ stw r5, 0x10(r3)
|
|
/* 80366D80 00363CE0 90 A3 00 14 */ stw r5, 0x14(r3)
|
|
/* 80366D84 00363CE4 90 A3 00 18 */ stw r5, 0x18(r3)
|
|
/* 80366D88 00363CE8 90 A3 00 1C */ stw r5, 0x1c(r3)
|
|
/* 80366D8C 00363CEC 90 A3 00 20 */ stw r5, 0x20(r3)
|
|
/* 80366D90 00363CF0 90 A3 00 24 */ stw r5, 0x24(r3)
|
|
/* 80366D94 00363CF4 90 A3 00 28 */ stw r5, 0x28(r3)
|
|
/* 80366D98 00363CF8 90 A3 00 2C */ stw r5, 0x2c(r3)
|
|
/* 80366D9C 00363CFC 90 A3 00 30 */ stw r5, 0x30(r3)
|
|
/* 80366DA0 00363D00 90 A3 00 34 */ stw r5, 0x34(r3)
|
|
/* 80366DA4 00363D04 90 A3 00 38 */ stw r5, 0x38(r3)
|
|
/* 80366DA8 00363D08 90 A3 00 3C */ stw r5, 0x3c(r3)
|
|
/* 80366DAC 00363D0C 90 A3 00 40 */ stw r5, 0x40(r3)
|
|
/* 80366DB0 00363D10 88 03 00 44 */ lbz r0, 0x44(r3)
|
|
/* 80366DB4 00363D14 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
|
|
/* 80366DB8 00363D18 98 03 00 44 */ stb r0, 0x44(r3)
|
|
/* 80366DBC 00363D1C 88 03 00 44 */ lbz r0, 0x44(r3)
|
|
/* 80366DC0 00363D20 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
|
|
/* 80366DC4 00363D24 98 03 00 44 */ stb r0, 0x44(r3)
|
|
/* 80366DC8 00363D28 88 03 00 44 */ lbz r0, 0x44(r3)
|
|
/* 80366DCC 00363D2C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a
|
|
/* 80366DD0 00363D30 98 03 00 44 */ stb r0, 0x44(r3)
|
|
/* 80366DD4 00363D34 88 03 00 44 */ lbz r0, 0x44(r3)
|
|
/* 80366DD8 00363D38 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b
|
|
/* 80366DDC 00363D3C 98 03 00 44 */ stb r0, 0x44(r3)
|
|
/* 80366DE0 00363D40 88 03 00 44 */ lbz r0, 0x44(r3)
|
|
/* 80366DE4 00363D44 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c
|
|
/* 80366DE8 00363D48 98 03 00 44 */ stb r0, 0x44(r3)
|
|
/* 80366DEC 00363D4C 88 03 00 44 */ lbz r0, 0x44(r3)
|
|
/* 80366DF0 00363D50 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d
|
|
/* 80366DF4 00363D54 98 03 00 44 */ stb r0, 0x44(r3)
|
|
/* 80366DF8 00363D58 88 03 00 44 */ lbz r0, 0x44(r3)
|
|
/* 80366DFC 00363D5C 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e
|
|
/* 80366E00 00363D60 98 03 00 44 */ stb r0, 0x44(r3)
|
|
/* 80366E04 00363D64 88 03 00 44 */ lbz r0, 0x44(r3)
|
|
/* 80366E08 00363D68 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f
|
|
/* 80366E0C 00363D6C 98 03 00 44 */ stb r0, 0x44(r3)
|
|
/* 80366E10 00363D70 88 03 00 45 */ lbz r0, 0x45(r3)
|
|
/* 80366E14 00363D74 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
|
|
/* 80366E18 00363D78 98 03 00 45 */ stb r0, 0x45(r3)
|
|
/* 80366E1C 00363D7C 88 03 00 45 */ lbz r0, 0x45(r3)
|
|
/* 80366E20 00363D80 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19
|
|
/* 80366E24 00363D84 98 03 00 45 */ stb r0, 0x45(r3)
|
|
/* 80366E28 00363D88 88 03 00 45 */ lbz r0, 0x45(r3)
|
|
/* 80366E2C 00363D8C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a
|
|
/* 80366E30 00363D90 98 03 00 45 */ stb r0, 0x45(r3)
|
|
/* 80366E34 00363D94 4E 80 00 20 */ blr
|