Nearly half way done spliting text.s

This commit is contained in:
Phillip Stephens 2022-04-13 01:02:06 -07:00
parent 1d44f50d7b
commit 81b791ab6a
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
43 changed files with 76087 additions and 75926 deletions

View File

@ -0,0 +1,579 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__8CBSCoverFv
__dt__8CBSCoverFv:
/* 80175CD8 00172C38 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80175CDC 00172C3C 7C 08 02 A6 */ mflr r0
/* 80175CE0 00172C40 90 01 00 14 */ stw r0, 0x14(r1)
/* 80175CE4 00172C44 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80175CE8 00172C48 7C 7F 1B 79 */ or. r31, r3, r3
/* 80175CEC 00172C4C 41 82 00 30 */ beq lbl_80175D1C
/* 80175CF0 00172C50 3C 60 80 3E */ lis r3, lbl_803E3E48@ha
/* 80175CF4 00172C54 38 03 3E 48 */ addi r0, r3, lbl_803E3E48@l
/* 80175CF8 00172C58 90 1F 00 00 */ stw r0, 0(r31)
/* 80175CFC 00172C5C 41 82 00 10 */ beq lbl_80175D0C
/* 80175D00 00172C60 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 80175D04 00172C64 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 80175D08 00172C68 90 1F 00 00 */ stw r0, 0(r31)
lbl_80175D0C:
/* 80175D0C 00172C6C 7C 80 07 35 */ extsh. r0, r4
/* 80175D10 00172C70 40 81 00 0C */ ble lbl_80175D1C
/* 80175D14 00172C74 7F E3 FB 78 */ mr r3, r31
/* 80175D18 00172C78 48 19 FC 19 */ bl Free__7CMemoryFPCv
lbl_80175D1C:
/* 80175D1C 00172C7C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80175D20 00172C80 7F E3 FB 78 */ mr r3, r31
/* 80175D24 00172C84 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80175D28 00172C88 7C 08 03 A6 */ mtlr r0
/* 80175D2C 00172C8C 38 21 00 10 */ addi r1, r1, 0x10
/* 80175D30 00172C90 4E 80 00 20 */ blr
.global IsMoving__8CBSCoverCFv
IsMoving__8CBSCoverCFv:
/* 80175D34 00172C94 38 60 00 01 */ li r3, 1
/* 80175D38 00172C98 4E 80 00 20 */ blr
.global ApplyHeadTracking__8CBSCoverCFv
ApplyHeadTracking__8CBSCoverCFv:
/* 80175D3C 00172C9C 38 60 00 00 */ li r3, 0
/* 80175D40 00172CA0 4E 80 00 20 */ blr
.global GetBodyStateTransition__8CBSCoverFfR15CBodyController
GetBodyStateTransition__8CBSCoverFfR15CBodyController:
/* 80175D44 00172CA4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80175D48 00172CA8 7C 08 02 A6 */ mflr r0
/* 80175D4C 00172CAC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80175D50 00172CB0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80175D54 00172CB4 3B E4 00 04 */ addi r31, r4, 4
/* 80175D58 00172CB8 38 80 00 0F */ li r4, 0xf
/* 80175D5C 00172CBC 7F E3 FB 78 */ mr r3, r31
/* 80175D60 00172CC0 4B FB B6 F1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80175D64 00172CC4 28 03 00 00 */ cmplwi r3, 0
/* 80175D68 00172CC8 41 82 00 0C */ beq lbl_80175D74
/* 80175D6C 00172CCC 38 60 00 0E */ li r3, 0xe
/* 80175D70 00172CD0 48 00 00 74 */ b lbl_80175DE4
lbl_80175D74:
/* 80175D74 00172CD4 7F E3 FB 78 */ mr r3, r31
/* 80175D78 00172CD8 38 80 00 03 */ li r4, 3
/* 80175D7C 00172CDC 4B FB B6 D5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80175D80 00172CE0 28 03 00 00 */ cmplwi r3, 0
/* 80175D84 00172CE4 41 82 00 0C */ beq lbl_80175D90
/* 80175D88 00172CE8 38 60 00 00 */ li r3, 0
/* 80175D8C 00172CEC 48 00 00 58 */ b lbl_80175DE4
lbl_80175D90:
/* 80175D90 00172CF0 7F E3 FB 78 */ mr r3, r31
/* 80175D94 00172CF4 38 80 00 09 */ li r4, 9
/* 80175D98 00172CF8 4B FB B6 B9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80175D9C 00172CFC 28 03 00 00 */ cmplwi r3, 0
/* 80175DA0 00172D00 41 82 00 0C */ beq lbl_80175DAC
/* 80175DA4 00172D04 38 60 00 0A */ li r3, 0xa
/* 80175DA8 00172D08 48 00 00 3C */ b lbl_80175DE4
lbl_80175DAC:
/* 80175DAC 00172D0C 7F E3 FB 78 */ mr r3, r31
/* 80175DB0 00172D10 38 80 00 04 */ li r4, 4
/* 80175DB4 00172D14 4B FB B6 9D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80175DB8 00172D18 28 03 00 00 */ cmplwi r3, 0
/* 80175DBC 00172D1C 41 82 00 0C */ beq lbl_80175DC8
/* 80175DC0 00172D20 38 60 00 06 */ li r3, 6
/* 80175DC4 00172D24 48 00 00 20 */ b lbl_80175DE4
lbl_80175DC8:
/* 80175DC8 00172D28 7F E3 FB 78 */ mr r3, r31
/* 80175DCC 00172D2C 38 80 00 16 */ li r4, 0x16
/* 80175DD0 00172D30 4B FB B6 81 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80175DD4 00172D34 28 03 00 00 */ cmplwi r3, 0
/* 80175DD8 00172D38 38 60 FF FF */ li r3, -1
/* 80175DDC 00172D3C 41 82 00 08 */ beq lbl_80175DE4
/* 80175DE0 00172D40 38 60 00 05 */ li r3, 5
lbl_80175DE4:
/* 80175DE4 00172D44 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80175DE8 00172D48 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80175DEC 00172D4C 7C 08 03 A6 */ mtlr r0
/* 80175DF0 00172D50 38 21 00 10 */ addi r1, r1, 0x10
/* 80175DF4 00172D54 4E 80 00 20 */ blr
.global Shutdown__8CBSCoverFR15CBodyController
Shutdown__8CBSCoverFR15CBodyController:
/* 80175DF8 00172D58 4E 80 00 20 */ blr
.global UpdateBody__8CBSCoverFfR15CBodyControllerR13CStateManager
UpdateBody__8CBSCoverFfR15CBodyControllerR13CStateManager:
/* 80175DFC 00172D5C 94 21 FE 30 */ stwu r1, -0x1d0(r1)
/* 80175E00 00172D60 7C 08 02 A6 */ mflr r0
/* 80175E04 00172D64 90 01 01 D4 */ stw r0, 0x1d4(r1)
/* 80175E08 00172D68 DB E1 01 C0 */ stfd f31, 0x1c0(r1)
/* 80175E0C 00172D6C F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0
/* 80175E10 00172D70 BF 61 01 AC */ stmw r27, 0x1ac(r1)
/* 80175E14 00172D74 FF E0 08 90 */ fmr f31, f1
/* 80175E18 00172D78 7C 7C 1B 78 */ mr r28, r3
/* 80175E1C 00172D7C 7C 9D 23 78 */ mr r29, r4
/* 80175E20 00172D80 7C BE 2B 78 */ mr r30, r5
/* 80175E24 00172D84 4B FF FF 21 */ bl GetBodyStateTransition__8CBSCoverFfR15CBodyController
/* 80175E28 00172D88 7C 7F 1B 78 */ mr r31, r3
/* 80175E2C 00172D8C 2C 1F FF FF */ cmpwi r31, -1
/* 80175E30 00172D90 40 82 03 E0 */ bne lbl_80176210
/* 80175E34 00172D94 80 1C 00 04 */ lwz r0, 4(r28)
/* 80175E38 00172D98 2C 00 00 02 */ cmpwi r0, 2
/* 80175E3C 00172D9C 41 82 00 24 */ beq lbl_80175E60
/* 80175E40 00172DA0 40 80 00 14 */ bge lbl_80175E54
/* 80175E44 00172DA4 2C 00 00 00 */ cmpwi r0, 0
/* 80175E48 00172DA8 41 82 00 18 */ beq lbl_80175E60
/* 80175E4C 00172DAC 40 80 01 34 */ bge lbl_80175F80
/* 80175E50 00172DB0 48 00 03 C0 */ b lbl_80176210
lbl_80175E54:
/* 80175E54 00172DB4 2C 00 00 04 */ cmpwi r0, 4
/* 80175E58 00172DB8 40 80 03 B8 */ bge lbl_80176210
/* 80175E5C 00172DBC 48 00 03 9C */ b lbl_801761F8
lbl_80175E60:
/* 80175E60 00172DC0 88 1D 03 00 */ lbz r0, 0x300(r29)
/* 80175E64 00172DC4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80175E68 00172DC8 41 82 00 F8 */ beq lbl_80175F60
/* 80175E6C 00172DCC 38 00 00 01 */ li r0, 1
/* 80175E70 00172DD0 38 61 00 90 */ addi r3, r1, 0x90
/* 80175E74 00172DD4 90 1C 00 04 */ stw r0, 4(r28)
/* 80175E78 00172DD8 83 7C 00 08 */ lwz r27, 8(r28)
/* 80175E7C 00172DDC 48 16 D2 01 */ bl NoParameter__12CPASAnimParmFv
/* 80175E80 00172DE0 38 61 00 98 */ addi r3, r1, 0x98
/* 80175E84 00172DE4 48 16 D1 F9 */ bl NoParameter__12CPASAnimParmFv
/* 80175E88 00172DE8 38 61 00 A0 */ addi r3, r1, 0xa0
/* 80175E8C 00172DEC 48 16 D1 F1 */ bl NoParameter__12CPASAnimParmFv
/* 80175E90 00172DF0 38 61 00 A8 */ addi r3, r1, 0xa8
/* 80175E94 00172DF4 48 16 D1 E9 */ bl NoParameter__12CPASAnimParmFv
/* 80175E98 00172DF8 38 61 00 B0 */ addi r3, r1, 0xb0
/* 80175E9C 00172DFC 48 16 D1 E1 */ bl NoParameter__12CPASAnimParmFv
/* 80175EA0 00172E00 38 61 00 B8 */ addi r3, r1, 0xb8
/* 80175EA4 00172E04 48 16 D1 D9 */ bl NoParameter__12CPASAnimParmFv
/* 80175EA8 00172E08 7F 64 DB 78 */ mr r4, r27
/* 80175EAC 00172E0C 38 61 00 C0 */ addi r3, r1, 0xc0
/* 80175EB0 00172E10 48 16 D0 D5 */ bl FromEnum__12CPASAnimParmFi
/* 80175EB4 00172E14 80 9C 00 04 */ lwz r4, 4(r28)
/* 80175EB8 00172E18 38 61 00 C8 */ addi r3, r1, 0xc8
/* 80175EBC 00172E1C 48 16 D0 C9 */ bl FromEnum__12CPASAnimParmFi
/* 80175EC0 00172E20 38 61 00 98 */ addi r3, r1, 0x98
/* 80175EC4 00172E24 38 01 00 90 */ addi r0, r1, 0x90
/* 80175EC8 00172E28 90 61 00 08 */ stw r3, 8(r1)
/* 80175ECC 00172E2C 38 61 01 60 */ addi r3, r1, 0x160
/* 80175ED0 00172E30 38 A1 00 C8 */ addi r5, r1, 0xc8
/* 80175ED4 00172E34 38 C1 00 C0 */ addi r6, r1, 0xc0
/* 80175ED8 00172E38 90 01 00 0C */ stw r0, 0xc(r1)
/* 80175EDC 00172E3C 38 E1 00 B8 */ addi r7, r1, 0xb8
/* 80175EE0 00172E40 39 01 00 B0 */ addi r8, r1, 0xb0
/* 80175EE4 00172E44 39 21 00 A8 */ addi r9, r1, 0xa8
/* 80175EE8 00172E48 39 41 00 A0 */ addi r10, r1, 0xa0
/* 80175EEC 00172E4C 38 80 00 13 */ li r4, 0x13
/* 80175EF0 00172E50 4B F0 73 D5 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 80175EF4 00172E54 80 BE 09 00 */ lwz r5, 0x900(r30)
/* 80175EF8 00172E58 7F A3 EB 78 */ mr r3, r29
/* 80175EFC 00172E5C 38 81 01 60 */ addi r4, r1, 0x160
/* 80175F00 00172E60 4B FC 43 FD */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
/* 80175F04 00172E64 34 A1 01 64 */ addic. r5, r1, 0x164
/* 80175F08 00172E68 41 82 00 58 */ beq lbl_80175F60
/* 80175F0C 00172E6C 80 C5 00 00 */ lwz r6, 0(r5)
/* 80175F10 00172E70 38 60 00 00 */ li r3, 0
/* 80175F14 00172E74 2C 06 00 00 */ cmpwi r6, 0
/* 80175F18 00172E78 40 81 00 40 */ ble lbl_80175F58
/* 80175F1C 00172E7C 2C 06 00 08 */ cmpwi r6, 8
/* 80175F20 00172E80 38 86 FF F8 */ addi r4, r6, -8
/* 80175F24 00172E84 40 81 00 20 */ ble lbl_80175F44
/* 80175F28 00172E88 38 04 00 07 */ addi r0, r4, 7
/* 80175F2C 00172E8C 54 00 E8 FE */ srwi r0, r0, 3
/* 80175F30 00172E90 7C 09 03 A6 */ mtctr r0
/* 80175F34 00172E94 2C 04 00 00 */ cmpwi r4, 0
/* 80175F38 00172E98 40 81 00 0C */ ble lbl_80175F44
lbl_80175F3C:
/* 80175F3C 00172E9C 38 63 00 08 */ addi r3, r3, 8
/* 80175F40 00172EA0 42 00 FF FC */ bdnz lbl_80175F3C
lbl_80175F44:
/* 80175F44 00172EA4 7C 03 30 50 */ subf r0, r3, r6
/* 80175F48 00172EA8 7C 09 03 A6 */ mtctr r0
/* 80175F4C 00172EAC 7C 03 30 00 */ cmpw r3, r6
/* 80175F50 00172EB0 40 80 00 08 */ bge lbl_80175F58
lbl_80175F54:
/* 80175F54 00172EB4 42 00 00 00 */ bdnz lbl_80175F54
lbl_80175F58:
/* 80175F58 00172EB8 38 00 00 00 */ li r0, 0
/* 80175F5C 00172EBC 90 05 00 00 */ stw r0, 0(r5)
lbl_80175F60:
/* 80175F60 00172EC0 38 7D 00 04 */ addi r3, r29, 4
/* 80175F64 00172EC4 38 80 00 0A */ li r4, 0xa
/* 80175F68 00172EC8 4B FB B4 E9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80175F6C 00172ECC 28 03 00 00 */ cmplwi r3, 0
/* 80175F70 00172ED0 41 82 02 A0 */ beq lbl_80176210
/* 80175F74 00172ED4 38 00 00 01 */ li r0, 1
/* 80175F78 00172ED8 98 1C 00 0C */ stb r0, 0xc(r28)
/* 80175F7C 00172EDC 48 00 02 94 */ b lbl_80176210
lbl_80175F80:
/* 80175F80 00172EE0 3B 7D 00 04 */ addi r27, r29, 4
/* 80175F84 00172EE4 C0 22 A1 A0 */ lfs f1, lbl_805ABEC0@sda21(r2)
/* 80175F88 00172EE8 C0 1D 00 1C */ lfs f0, 0x1c(r29)
/* 80175F8C 00172EEC 38 00 00 00 */ li r0, 0
/* 80175F90 00172EF0 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80175F94 00172EF4 40 82 00 1C */ bne lbl_80175FB0
/* 80175F98 00172EF8 C0 1B 00 1C */ lfs f0, 0x1c(r27)
/* 80175F9C 00172EFC FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80175FA0 00172F00 40 82 00 10 */ bne lbl_80175FB0
/* 80175FA4 00172F04 C0 1B 00 20 */ lfs f0, 0x20(r27)
/* 80175FA8 00172F08 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80175FAC 00172F0C 41 82 00 08 */ beq lbl_80175FB4
lbl_80175FB0:
/* 80175FB0 00172F10 38 00 00 01 */ li r0, 1
lbl_80175FB4:
/* 80175FB4 00172F14 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80175FB8 00172F18 41 82 00 14 */ beq lbl_80175FCC
/* 80175FBC 00172F1C FC 20 F8 90 */ fmr f1, f31
/* 80175FC0 00172F20 7F A3 EB 78 */ mr r3, r29
/* 80175FC4 00172F24 38 9B 00 18 */ addi r4, r27, 0x18
/* 80175FC8 00172F28 4B FC 46 DD */ bl FaceDirection__15CBodyControllerFRC9CVector3ff
lbl_80175FCC:
/* 80175FCC 00172F2C 7F 63 DB 78 */ mr r3, r27
/* 80175FD0 00172F30 38 80 00 0A */ li r4, 0xa
/* 80175FD4 00172F34 4B FB B4 7D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80175FD8 00172F38 28 03 00 00 */ cmplwi r3, 0
/* 80175FDC 00172F3C 40 82 00 10 */ bne lbl_80175FEC
/* 80175FE0 00172F40 88 1C 00 0C */ lbz r0, 0xc(r28)
/* 80175FE4 00172F44 28 00 00 00 */ cmplwi r0, 0
/* 80175FE8 00172F48 41 82 01 04 */ beq lbl_801760EC
lbl_80175FEC:
/* 80175FEC 00172F4C 38 60 00 00 */ li r3, 0
/* 80175FF0 00172F50 38 00 00 03 */ li r0, 3
/* 80175FF4 00172F54 98 7C 00 0C */ stb r3, 0xc(r28)
/* 80175FF8 00172F58 38 61 00 50 */ addi r3, r1, 0x50
/* 80175FFC 00172F5C 90 1C 00 04 */ stw r0, 4(r28)
/* 80176000 00172F60 83 7C 00 08 */ lwz r27, 8(r28)
/* 80176004 00172F64 48 16 D0 79 */ bl NoParameter__12CPASAnimParmFv
/* 80176008 00172F68 38 61 00 58 */ addi r3, r1, 0x58
/* 8017600C 00172F6C 48 16 D0 71 */ bl NoParameter__12CPASAnimParmFv
/* 80176010 00172F70 38 61 00 60 */ addi r3, r1, 0x60
/* 80176014 00172F74 48 16 D0 69 */ bl NoParameter__12CPASAnimParmFv
/* 80176018 00172F78 38 61 00 68 */ addi r3, r1, 0x68
/* 8017601C 00172F7C 48 16 D0 61 */ bl NoParameter__12CPASAnimParmFv
/* 80176020 00172F80 38 61 00 70 */ addi r3, r1, 0x70
/* 80176024 00172F84 48 16 D0 59 */ bl NoParameter__12CPASAnimParmFv
/* 80176028 00172F88 38 61 00 78 */ addi r3, r1, 0x78
/* 8017602C 00172F8C 48 16 D0 51 */ bl NoParameter__12CPASAnimParmFv
/* 80176030 00172F90 7F 64 DB 78 */ mr r4, r27
/* 80176034 00172F94 38 61 00 80 */ addi r3, r1, 0x80
/* 80176038 00172F98 48 16 CF 4D */ bl FromEnum__12CPASAnimParmFi
/* 8017603C 00172F9C 80 9C 00 04 */ lwz r4, 4(r28)
/* 80176040 00172FA0 38 61 00 88 */ addi r3, r1, 0x88
/* 80176044 00172FA4 48 16 CF 41 */ bl FromEnum__12CPASAnimParmFi
/* 80176048 00172FA8 38 61 00 58 */ addi r3, r1, 0x58
/* 8017604C 00172FAC 38 01 00 50 */ addi r0, r1, 0x50
/* 80176050 00172FB0 90 61 00 08 */ stw r3, 8(r1)
/* 80176054 00172FB4 38 61 01 18 */ addi r3, r1, 0x118
/* 80176058 00172FB8 38 A1 00 88 */ addi r5, r1, 0x88
/* 8017605C 00172FBC 38 C1 00 80 */ addi r6, r1, 0x80
/* 80176060 00172FC0 90 01 00 0C */ stw r0, 0xc(r1)
/* 80176064 00172FC4 38 E1 00 78 */ addi r7, r1, 0x78
/* 80176068 00172FC8 39 01 00 70 */ addi r8, r1, 0x70
/* 8017606C 00172FCC 39 21 00 68 */ addi r9, r1, 0x68
/* 80176070 00172FD0 39 41 00 60 */ addi r10, r1, 0x60
/* 80176074 00172FD4 38 80 00 13 */ li r4, 0x13
/* 80176078 00172FD8 4B F0 72 4D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 8017607C 00172FDC 80 BE 09 00 */ lwz r5, 0x900(r30)
/* 80176080 00172FE0 7F A3 EB 78 */ mr r3, r29
/* 80176084 00172FE4 38 81 01 18 */ addi r4, r1, 0x118
/* 80176088 00172FE8 4B FC 43 21 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
/* 8017608C 00172FEC 34 A1 01 1C */ addic. r5, r1, 0x11c
/* 80176090 00172FF0 41 82 01 80 */ beq lbl_80176210
/* 80176094 00172FF4 80 C5 00 00 */ lwz r6, 0(r5)
/* 80176098 00172FF8 38 60 00 00 */ li r3, 0
/* 8017609C 00172FFC 2C 06 00 00 */ cmpwi r6, 0
/* 801760A0 00173000 40 81 00 40 */ ble lbl_801760E0
/* 801760A4 00173004 2C 06 00 08 */ cmpwi r6, 8
/* 801760A8 00173008 38 86 FF F8 */ addi r4, r6, -8
/* 801760AC 0017300C 40 81 00 20 */ ble lbl_801760CC
/* 801760B0 00173010 38 04 00 07 */ addi r0, r4, 7
/* 801760B4 00173014 54 00 E8 FE */ srwi r0, r0, 3
/* 801760B8 00173018 7C 09 03 A6 */ mtctr r0
/* 801760BC 0017301C 2C 04 00 00 */ cmpwi r4, 0
/* 801760C0 00173020 40 81 00 0C */ ble lbl_801760CC
lbl_801760C4:
/* 801760C4 00173024 38 63 00 08 */ addi r3, r3, 8
/* 801760C8 00173028 42 00 FF FC */ bdnz lbl_801760C4
lbl_801760CC:
/* 801760CC 0017302C 7C 03 30 50 */ subf r0, r3, r6
/* 801760D0 00173030 7C 09 03 A6 */ mtctr r0
/* 801760D4 00173034 7C 03 30 00 */ cmpw r3, r6
/* 801760D8 00173038 40 80 00 08 */ bge lbl_801760E0
lbl_801760DC:
/* 801760DC 0017303C 42 00 00 00 */ bdnz lbl_801760DC
lbl_801760E0:
/* 801760E0 00173040 38 00 00 00 */ li r0, 0
/* 801760E4 00173044 90 05 00 00 */ stw r0, 0(r5)
/* 801760E8 00173048 48 00 01 28 */ b lbl_80176210
lbl_801760EC:
/* 801760EC 0017304C 7F 63 DB 78 */ mr r3, r27
/* 801760F0 00173050 38 80 00 0B */ li r4, 0xb
/* 801760F4 00173054 4B FB B3 5D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 801760F8 00173058 28 03 00 00 */ cmplwi r3, 0
/* 801760FC 0017305C 41 82 01 14 */ beq lbl_80176210
/* 80176100 00173060 38 00 00 02 */ li r0, 2
/* 80176104 00173064 38 61 00 10 */ addi r3, r1, 0x10
/* 80176108 00173068 90 1C 00 04 */ stw r0, 4(r28)
/* 8017610C 0017306C 83 7C 00 08 */ lwz r27, 8(r28)
/* 80176110 00173070 48 16 CF 6D */ bl NoParameter__12CPASAnimParmFv
/* 80176114 00173074 38 61 00 18 */ addi r3, r1, 0x18
/* 80176118 00173078 48 16 CF 65 */ bl NoParameter__12CPASAnimParmFv
/* 8017611C 0017307C 38 61 00 20 */ addi r3, r1, 0x20
/* 80176120 00173080 48 16 CF 5D */ bl NoParameter__12CPASAnimParmFv
/* 80176124 00173084 38 61 00 28 */ addi r3, r1, 0x28
/* 80176128 00173088 48 16 CF 55 */ bl NoParameter__12CPASAnimParmFv
/* 8017612C 0017308C 38 61 00 30 */ addi r3, r1, 0x30
/* 80176130 00173090 48 16 CF 4D */ bl NoParameter__12CPASAnimParmFv
/* 80176134 00173094 38 61 00 38 */ addi r3, r1, 0x38
/* 80176138 00173098 48 16 CF 45 */ bl NoParameter__12CPASAnimParmFv
/* 8017613C 0017309C 7F 64 DB 78 */ mr r4, r27
/* 80176140 001730A0 38 61 00 40 */ addi r3, r1, 0x40
/* 80176144 001730A4 48 16 CE 41 */ bl FromEnum__12CPASAnimParmFi
/* 80176148 001730A8 80 9C 00 04 */ lwz r4, 4(r28)
/* 8017614C 001730AC 38 61 00 48 */ addi r3, r1, 0x48
/* 80176150 001730B0 48 16 CE 35 */ bl FromEnum__12CPASAnimParmFi
/* 80176154 001730B4 38 61 00 18 */ addi r3, r1, 0x18
/* 80176158 001730B8 38 01 00 10 */ addi r0, r1, 0x10
/* 8017615C 001730BC 90 61 00 08 */ stw r3, 8(r1)
/* 80176160 001730C0 38 61 00 D0 */ addi r3, r1, 0xd0
/* 80176164 001730C4 38 A1 00 48 */ addi r5, r1, 0x48
/* 80176168 001730C8 38 C1 00 40 */ addi r6, r1, 0x40
/* 8017616C 001730CC 90 01 00 0C */ stw r0, 0xc(r1)
/* 80176170 001730D0 38 E1 00 38 */ addi r7, r1, 0x38
/* 80176174 001730D4 39 01 00 30 */ addi r8, r1, 0x30
/* 80176178 001730D8 39 21 00 28 */ addi r9, r1, 0x28
/* 8017617C 001730DC 39 41 00 20 */ addi r10, r1, 0x20
/* 80176180 001730E0 38 80 00 13 */ li r4, 0x13
/* 80176184 001730E4 4B F0 71 41 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 80176188 001730E8 80 BE 09 00 */ lwz r5, 0x900(r30)
/* 8017618C 001730EC 7F A3 EB 78 */ mr r3, r29
/* 80176190 001730F0 38 81 00 D0 */ addi r4, r1, 0xd0
/* 80176194 001730F4 4B FC 42 15 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16
/* 80176198 001730F8 34 A1 00 D4 */ addic. r5, r1, 0xd4
/* 8017619C 001730FC 41 82 00 74 */ beq lbl_80176210
/* 801761A0 00173100 80 C5 00 00 */ lwz r6, 0(r5)
/* 801761A4 00173104 38 60 00 00 */ li r3, 0
/* 801761A8 00173108 2C 06 00 00 */ cmpwi r6, 0
/* 801761AC 0017310C 40 81 00 40 */ ble lbl_801761EC
/* 801761B0 00173110 2C 06 00 08 */ cmpwi r6, 8
/* 801761B4 00173114 38 86 FF F8 */ addi r4, r6, -8
/* 801761B8 00173118 40 81 00 20 */ ble lbl_801761D8
/* 801761BC 0017311C 38 04 00 07 */ addi r0, r4, 7
/* 801761C0 00173120 54 00 E8 FE */ srwi r0, r0, 3
/* 801761C4 00173124 7C 09 03 A6 */ mtctr r0
/* 801761C8 00173128 2C 04 00 00 */ cmpwi r4, 0
/* 801761CC 0017312C 40 81 00 0C */ ble lbl_801761D8
lbl_801761D0:
/* 801761D0 00173130 38 63 00 08 */ addi r3, r3, 8
/* 801761D4 00173134 42 00 FF FC */ bdnz lbl_801761D0
lbl_801761D8:
/* 801761D8 00173138 7C 03 30 50 */ subf r0, r3, r6
/* 801761DC 0017313C 7C 09 03 A6 */ mtctr r0
/* 801761E0 00173140 7C 03 30 00 */ cmpw r3, r6
/* 801761E4 00173144 40 80 00 08 */ bge lbl_801761EC
lbl_801761E8:
/* 801761E8 00173148 42 00 00 00 */ bdnz lbl_801761E8
lbl_801761EC:
/* 801761EC 0017314C 38 00 00 00 */ li r0, 0
/* 801761F0 00173150 90 05 00 00 */ stw r0, 0(r5)
/* 801761F4 00173154 48 00 00 1C */ b lbl_80176210
lbl_801761F8:
/* 801761F8 00173158 88 1D 03 00 */ lbz r0, 0x300(r29)
/* 801761FC 0017315C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80176200 00173160 41 82 00 10 */ beq lbl_80176210
/* 80176204 00173164 38 00 FF FF */ li r0, -1
/* 80176208 00173168 3B E0 00 05 */ li r31, 5
/* 8017620C 0017316C 90 1C 00 04 */ stw r0, 4(r28)
lbl_80176210:
/* 80176210 00173170 7F E3 FB 78 */ mr r3, r31
/* 80176214 00173174 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0
/* 80176218 00173178 CB E1 01 C0 */ lfd f31, 0x1c0(r1)
/* 8017621C 0017317C BB 61 01 AC */ lmw r27, 0x1ac(r1)
/* 80176220 00173180 80 01 01 D4 */ lwz r0, 0x1d4(r1)
/* 80176224 00173184 7C 08 03 A6 */ mtlr r0
/* 80176228 00173188 38 21 01 D0 */ addi r1, r1, 0x1d0
/* 8017622C 0017318C 4E 80 00 20 */ blr
.global Start__8CBSCoverFR15CBodyControllerR13CStateManager
Start__8CBSCoverFR15CBodyControllerR13CStateManager:
/* 80176230 00173190 94 21 FE D0 */ stwu r1, -0x130(r1)
/* 80176234 00173194 7C 08 02 A6 */ mflr r0
/* 80176238 00173198 90 01 01 34 */ stw r0, 0x134(r1)
/* 8017623C 0017319C BF 61 01 1C */ stmw r27, 0x11c(r1)
/* 80176240 001731A0 7C 9F 23 78 */ mr r31, r4
/* 80176244 001731A4 7C 7E 1B 78 */ mr r30, r3
/* 80176248 001731A8 7C BB 2B 78 */ mr r27, r5
/* 8017624C 001731AC 38 80 00 14 */ li r4, 0x14
/* 80176250 001731B0 38 7F 00 04 */ addi r3, r31, 4
/* 80176254 001731B4 4B FB B1 FD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80176258 001731B8 7C 7D 1B 78 */ mr r29, r3
/* 8017625C 001731BC 38 00 00 00 */ li r0, 0
/* 80176260 001731C0 80 83 00 08 */ lwz r4, 8(r3)
/* 80176264 001731C4 38 61 00 1C */ addi r3, r1, 0x1c
/* 80176268 001731C8 90 9E 00 08 */ stw r4, 8(r30)
/* 8017626C 001731CC 90 1E 00 04 */ stw r0, 4(r30)
/* 80176270 001731D0 83 9E 00 08 */ lwz r28, 8(r30)
/* 80176274 001731D4 48 16 CE 09 */ bl NoParameter__12CPASAnimParmFv
/* 80176278 001731D8 38 61 00 24 */ addi r3, r1, 0x24
/* 8017627C 001731DC 48 16 CE 01 */ bl NoParameter__12CPASAnimParmFv
/* 80176280 001731E0 38 61 00 2C */ addi r3, r1, 0x2c
/* 80176284 001731E4 48 16 CD F9 */ bl NoParameter__12CPASAnimParmFv
/* 80176288 001731E8 38 61 00 34 */ addi r3, r1, 0x34
/* 8017628C 001731EC 48 16 CD F1 */ bl NoParameter__12CPASAnimParmFv
/* 80176290 001731F0 38 61 00 3C */ addi r3, r1, 0x3c
/* 80176294 001731F4 48 16 CD E9 */ bl NoParameter__12CPASAnimParmFv
/* 80176298 001731F8 38 61 00 44 */ addi r3, r1, 0x44
/* 8017629C 001731FC 48 16 CD E1 */ bl NoParameter__12CPASAnimParmFv
/* 801762A0 00173200 7F 84 E3 78 */ mr r4, r28
/* 801762A4 00173204 38 61 00 4C */ addi r3, r1, 0x4c
/* 801762A8 00173208 48 16 CC DD */ bl FromEnum__12CPASAnimParmFi
/* 801762AC 0017320C 80 9E 00 04 */ lwz r4, 4(r30)
/* 801762B0 00173210 38 61 00 54 */ addi r3, r1, 0x54
/* 801762B4 00173214 48 16 CC D1 */ bl FromEnum__12CPASAnimParmFi
/* 801762B8 00173218 38 61 00 24 */ addi r3, r1, 0x24
/* 801762BC 0017321C 38 01 00 1C */ addi r0, r1, 0x1c
/* 801762C0 00173220 90 61 00 08 */ stw r3, 8(r1)
/* 801762C4 00173224 38 61 00 C8 */ addi r3, r1, 0xc8
/* 801762C8 00173228 38 A1 00 54 */ addi r5, r1, 0x54
/* 801762CC 0017322C 38 C1 00 4C */ addi r6, r1, 0x4c
/* 801762D0 00173230 90 01 00 0C */ stw r0, 0xc(r1)
/* 801762D4 00173234 38 E1 00 44 */ addi r7, r1, 0x44
/* 801762D8 00173238 39 01 00 3C */ addi r8, r1, 0x3c
/* 801762DC 0017323C 39 21 00 34 */ addi r9, r1, 0x34
/* 801762E0 00173240 39 41 00 2C */ addi r10, r1, 0x2c
/* 801762E4 00173244 38 80 00 13 */ li r4, 0x13
/* 801762E8 00173248 4B F0 6F DD */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 801762EC 0017324C 7F E3 FB 78 */ mr r3, r31
/* 801762F0 00173250 4B FC 41 65 */ bl GetPASDatabase__15CBodyControllerCFv
/* 801762F4 00173254 80 DB 09 00 */ lwz r6, 0x900(r27)
/* 801762F8 00173258 7C 64 1B 78 */ mr r4, r3
/* 801762FC 0017325C 38 61 00 14 */ addi r3, r1, 0x14
/* 80176300 00173260 38 A1 00 C8 */ addi r5, r1, 0xc8
/* 80176304 00173264 38 E0 FF FF */ li r7, -1
/* 80176308 00173268 48 16 ED 59 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 8017630C 0017326C 80 9F 00 00 */ lwz r4, 0(r31)
/* 80176310 00173270 3C 60 80 5A */ lis r3, lbl_805A6724@ha
/* 80176314 00173274 38 E3 67 24 */ addi r7, r3, lbl_805A6724@l
/* 80176318 00173278 C0 62 A1 A4 */ lfs f3, lbl_805ABEC4@sda21(r2)
/* 8017631C 0017327C 81 04 00 64 */ lwz r8, 0x64(r4)
/* 80176320 00173280 38 61 00 74 */ addi r3, r1, 0x74
/* 80176324 00173284 C0 47 00 00 */ lfs f2, 0(r7)
/* 80176328 00173288 38 81 00 68 */ addi r4, r1, 0x68
/* 8017632C 0017328C C0 88 00 04 */ lfs f4, 4(r8)
/* 80176330 00173290 38 A1 00 5C */ addi r5, r1, 0x5c
/* 80176334 00173294 C0 A8 00 08 */ lfs f5, 8(r8)
/* 80176338 00173298 38 C1 00 10 */ addi r6, r1, 0x10
/* 8017633C 0017329C C0 08 00 00 */ lfs f0, 0(r8)
/* 80176340 001732A0 C0 27 00 04 */ lfs f1, 4(r7)
/* 80176344 001732A4 D0 01 00 94 */ stfs f0, 0x94(r1)
/* 80176348 001732A8 C0 07 00 08 */ lfs f0, 8(r7)
/* 8017634C 001732AC D0 81 00 98 */ stfs f4, 0x98(r1)
/* 80176350 001732B0 83 81 00 18 */ lwz r28, 0x18(r1)
/* 80176354 001732B4 D0 A1 00 9C */ stfs f5, 0x9c(r1)
/* 80176358 001732B8 D0 61 00 10 */ stfs f3, 0x10(r1)
/* 8017635C 001732BC C0 7D 00 18 */ lfs f3, 0x18(r29)
/* 80176360 001732C0 D0 61 00 5C */ stfs f3, 0x5c(r1)
/* 80176364 001732C4 C0 7D 00 1C */ lfs f3, 0x1c(r29)
/* 80176368 001732C8 D0 61 00 60 */ stfs f3, 0x60(r1)
/* 8017636C 001732CC C0 7D 00 20 */ lfs f3, 0x20(r29)
/* 80176370 001732D0 D0 61 00 64 */ stfs f3, 0x64(r1)
/* 80176374 001732D4 D0 41 00 68 */ stfs f2, 0x68(r1)
/* 80176378 001732D8 D0 21 00 6C */ stfs f1, 0x6c(r1)
/* 8017637C 001732DC D0 01 00 70 */ stfs f0, 0x70(r1)
/* 80176380 001732E0 48 19 B3 15 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle
/* 80176384 001732E4 C0 01 00 74 */ lfs f0, 0x74(r1)
/* 80176388 001732E8 39 1D 00 0C */ addi r8, r29, 0xc
/* 8017638C 001732EC C0 61 00 78 */ lfs f3, 0x78(r1)
/* 80176390 001732F0 38 E1 00 84 */ addi r7, r1, 0x84
/* 80176394 001732F4 C0 41 00 7C */ lfs f2, 0x7c(r1)
/* 80176398 001732F8 38 01 00 94 */ addi r0, r1, 0x94
/* 8017639C 001732FC C0 21 00 80 */ lfs f1, 0x80(r1)
/* 801763A0 00173300 39 60 FF FF */ li r11, -1
/* 801763A4 00173304 D0 01 00 84 */ stfs f0, 0x84(r1)
/* 801763A8 00173308 39 40 00 01 */ li r10, 1
/* 801763AC 0017330C C0 02 A1 A8 */ lfs f0, lbl_805ABEC8@sda21(r2)
/* 801763B0 00173310 39 20 00 00 */ li r9, 0
/* 801763B4 00173314 D0 61 00 88 */ stfs f3, 0x88(r1)
/* 801763B8 00173318 7F E3 FB 78 */ mr r3, r31
/* 801763BC 0017331C 38 81 00 A0 */ addi r4, r1, 0xa0
/* 801763C0 00173320 38 A0 00 00 */ li r5, 0
/* 801763C4 00173324 D0 41 00 8C */ stfs f2, 0x8c(r1)
/* 801763C8 00173328 38 C0 00 00 */ li r6, 0
/* 801763CC 0017332C D0 21 00 90 */ stfs f1, 0x90(r1)
/* 801763D0 00173330 81 9F 00 00 */ lwz r12, 0(r31)
/* 801763D4 00173334 39 8C 00 34 */ addi r12, r12, 0x34
/* 801763D8 00173338 93 81 00 A0 */ stw r28, 0xa0(r1)
/* 801763DC 0017333C 91 61 00 A4 */ stw r11, 0xa4(r1)
/* 801763E0 00173340 D0 01 00 A8 */ stfs f0, 0xa8(r1)
/* 801763E4 00173344 99 41 00 AC */ stb r10, 0xac(r1)
/* 801763E8 00173348 91 21 00 B0 */ stw r9, 0xb0(r1)
/* 801763EC 0017334C 91 01 00 B4 */ stw r8, 0xb4(r1)
/* 801763F0 00173350 99 21 00 B8 */ stb r9, 0xb8(r1)
/* 801763F4 00173354 90 E1 00 BC */ stw r7, 0xbc(r1)
/* 801763F8 00173358 91 81 00 C0 */ stw r12, 0xc0(r1)
/* 801763FC 0017335C 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 80176400 00173360 4B FC 45 1D */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 80176404 00173364 38 00 00 00 */ li r0, 0
/* 80176408 00173368 38 7F 00 04 */ addi r3, r31, 4
/* 8017640C 0017336C 98 1E 00 0C */ stb r0, 0xc(r30)
/* 80176410 00173370 38 80 00 0A */ li r4, 0xa
/* 80176414 00173374 4B FB B0 3D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 80176418 00173378 28 03 00 00 */ cmplwi r3, 0
/* 8017641C 0017337C 41 82 00 0C */ beq lbl_80176428
/* 80176420 00173380 38 00 00 01 */ li r0, 1
/* 80176424 00173384 98 1E 00 0C */ stb r0, 0xc(r30)
lbl_80176428:
/* 80176428 00173388 34 A1 00 CC */ addic. r5, r1, 0xcc
/* 8017642C 0017338C 41 82 00 58 */ beq lbl_80176484
/* 80176430 00173390 80 C5 00 00 */ lwz r6, 0(r5)
/* 80176434 00173394 38 60 00 00 */ li r3, 0
/* 80176438 00173398 2C 06 00 00 */ cmpwi r6, 0
/* 8017643C 0017339C 40 81 00 40 */ ble lbl_8017647C
/* 80176440 001733A0 2C 06 00 08 */ cmpwi r6, 8
/* 80176444 001733A4 38 86 FF F8 */ addi r4, r6, -8
/* 80176448 001733A8 40 81 00 20 */ ble lbl_80176468
/* 8017644C 001733AC 38 04 00 07 */ addi r0, r4, 7
/* 80176450 001733B0 54 00 E8 FE */ srwi r0, r0, 3
/* 80176454 001733B4 7C 09 03 A6 */ mtctr r0
/* 80176458 001733B8 2C 04 00 00 */ cmpwi r4, 0
/* 8017645C 001733BC 40 81 00 0C */ ble lbl_80176468
lbl_80176460:
/* 80176460 001733C0 38 63 00 08 */ addi r3, r3, 8
/* 80176464 001733C4 42 00 FF FC */ bdnz lbl_80176460
lbl_80176468:
/* 80176468 001733C8 7C 03 30 50 */ subf r0, r3, r6
/* 8017646C 001733CC 7C 09 03 A6 */ mtctr r0
/* 80176470 001733D0 7C 03 30 00 */ cmpw r3, r6
/* 80176474 001733D4 40 80 00 08 */ bge lbl_8017647C
lbl_80176478:
/* 80176478 001733D8 42 00 00 00 */ bdnz lbl_80176478
lbl_8017647C:
/* 8017647C 001733DC 38 00 00 00 */ li r0, 0
/* 80176480 001733E0 90 05 00 00 */ stw r0, 0(r5)
lbl_80176484:
/* 80176484 001733E4 BB 61 01 1C */ lmw r27, 0x11c(r1)
/* 80176488 001733E8 80 01 01 34 */ lwz r0, 0x134(r1)
/* 8017648C 001733EC 7C 08 03 A6 */ mtlr r0
/* 80176490 001733F0 38 21 01 30 */ addi r1, r1, 0x130
/* 80176494 001733F4 4E 80 00 20 */ blr
.global __ct__8CBSCoverFv
__ct__8CBSCoverFv:
/* 80176498 001733F8 3C C0 80 3E */ lis r6, lbl_803E1318@ha
/* 8017649C 001733FC 3C A0 80 3E */ lis r5, lbl_803E3E48@ha
/* 801764A0 00173400 38 06 13 18 */ addi r0, r6, lbl_803E1318@l
/* 801764A4 00173404 38 80 FF FF */ li r4, -1
/* 801764A8 00173408 90 03 00 00 */ stw r0, 0(r3)
/* 801764AC 0017340C 38 A5 3E 48 */ addi r5, r5, lbl_803E3E48@l
/* 801764B0 00173410 38 00 00 00 */ li r0, 0
/* 801764B4 00173414 90 A3 00 00 */ stw r5, 0(r3)
/* 801764B8 00173418 90 83 00 04 */ stw r4, 4(r3)
/* 801764BC 0017341C 90 83 00 08 */ stw r4, 8(r3)
/* 801764C0 00173420 98 03 00 0C */ stb r0, 0xc(r3)
/* 801764C4 00173424 4E 80 00 20 */ blr
.global CanShoot__8CBSCoverCFv
CanShoot__8CBSCoverCFv:
/* 801764C8 00173428 80 03 00 04 */ lwz r0, 4(r3)
/* 801764CC 0017342C 20 00 00 02 */ subfic r0, r0, 2
/* 801764D0 00173430 7C 00 00 34 */ cntlzw r0, r0
/* 801764D4 00173434 54 03 D9 7E */ srwi r3, r0, 5
/* 801764D8 00173438 4E 80 00 20 */ blr

View File

@ -0,0 +1,400 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__19CBSProjectileAttackFv
__dt__19CBSProjectileAttackFv:
/* 8014D3C4 0014A324 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014D3C8 0014A328 7C 08 02 A6 */ mflr r0
/* 8014D3CC 0014A32C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014D3D0 0014A330 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014D3D4 0014A334 7C 7F 1B 79 */ or. r31, r3, r3
/* 8014D3D8 0014A338 41 82 00 30 */ beq lbl_8014D408
/* 8014D3DC 0014A33C 3C 60 80 3E */ lis r3, lbl_803E27D0@ha
/* 8014D3E0 0014A340 38 03 27 D0 */ addi r0, r3, lbl_803E27D0@l
/* 8014D3E4 0014A344 90 1F 00 00 */ stw r0, 0(r31)
/* 8014D3E8 0014A348 41 82 00 10 */ beq lbl_8014D3F8
/* 8014D3EC 0014A34C 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 8014D3F0 0014A350 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 8014D3F4 0014A354 90 1F 00 00 */ stw r0, 0(r31)
lbl_8014D3F8:
/* 8014D3F8 0014A358 7C 80 07 35 */ extsh. r0, r4
/* 8014D3FC 0014A35C 40 81 00 0C */ ble lbl_8014D408
/* 8014D400 0014A360 7F E3 FB 78 */ mr r3, r31
/* 8014D404 0014A364 48 1C 85 2D */ bl Free__7CMemoryFPCv
lbl_8014D408:
/* 8014D408 0014A368 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014D40C 0014A36C 7F E3 FB 78 */ mr r3, r31
/* 8014D410 0014A370 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014D414 0014A374 7C 08 03 A6 */ mtlr r0
/* 8014D418 0014A378 38 21 00 10 */ addi r1, r1, 0x10
/* 8014D41C 0014A37C 4E 80 00 20 */ blr
.global CanShoot__19CBSProjectileAttackCFv
CanShoot__19CBSProjectileAttackCFv:
/* 8014D420 0014A380 38 60 00 01 */ li r3, 1
/* 8014D424 0014A384 4E 80 00 20 */ blr
.global GetBodyStateTransition__19CBSProjectileAttackFfR15CBodyController
GetBodyStateTransition__19CBSProjectileAttackFfR15CBodyController:
/* 8014D428 0014A388 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014D42C 0014A38C 7C 08 02 A6 */ mflr r0
/* 8014D430 0014A390 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014D434 0014A394 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014D438 0014A398 93 C1 00 08 */ stw r30, 8(r1)
/* 8014D43C 0014A39C 7C 9E 23 78 */ mr r30, r4
/* 8014D440 0014A3A0 3B FE 00 04 */ addi r31, r30, 4
/* 8014D444 0014A3A4 38 80 00 0F */ li r4, 0xf
/* 8014D448 0014A3A8 7F E3 FB 78 */ mr r3, r31
/* 8014D44C 0014A3AC 4B FE 40 05 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014D450 0014A3B0 28 03 00 00 */ cmplwi r3, 0
/* 8014D454 0014A3B4 41 82 00 0C */ beq lbl_8014D460
/* 8014D458 0014A3B8 38 60 00 0E */ li r3, 0xe
/* 8014D45C 0014A3BC 48 00 00 A0 */ b lbl_8014D4FC
lbl_8014D460:
/* 8014D460 0014A3C0 7F E3 FB 78 */ mr r3, r31
/* 8014D464 0014A3C4 38 80 00 03 */ li r4, 3
/* 8014D468 0014A3C8 4B FE 3F E9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014D46C 0014A3CC 28 03 00 00 */ cmplwi r3, 0
/* 8014D470 0014A3D0 41 82 00 0C */ beq lbl_8014D47C
/* 8014D474 0014A3D4 38 60 00 00 */ li r3, 0
/* 8014D478 0014A3D8 48 00 00 84 */ b lbl_8014D4FC
lbl_8014D47C:
/* 8014D47C 0014A3DC 7F E3 FB 78 */ mr r3, r31
/* 8014D480 0014A3E0 38 80 00 09 */ li r4, 9
/* 8014D484 0014A3E4 4B FE 3F CD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014D488 0014A3E8 28 03 00 00 */ cmplwi r3, 0
/* 8014D48C 0014A3EC 41 82 00 0C */ beq lbl_8014D498
/* 8014D490 0014A3F0 38 60 00 0A */ li r3, 0xa
/* 8014D494 0014A3F4 48 00 00 68 */ b lbl_8014D4FC
lbl_8014D498:
/* 8014D498 0014A3F8 7F E3 FB 78 */ mr r3, r31
/* 8014D49C 0014A3FC 38 80 00 04 */ li r4, 4
/* 8014D4A0 0014A400 4B FE 3F B1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014D4A4 0014A404 28 03 00 00 */ cmplwi r3, 0
/* 8014D4A8 0014A408 41 82 00 0C */ beq lbl_8014D4B4
/* 8014D4AC 0014A40C 38 60 00 06 */ li r3, 6
/* 8014D4B0 0014A410 48 00 00 4C */ b lbl_8014D4FC
lbl_8014D4B4:
/* 8014D4B4 0014A414 7F E3 FB 78 */ mr r3, r31
/* 8014D4B8 0014A418 38 80 00 16 */ li r4, 0x16
/* 8014D4BC 0014A41C 4B FE 3F 95 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014D4C0 0014A420 28 03 00 00 */ cmplwi r3, 0
/* 8014D4C4 0014A424 41 82 00 0C */ beq lbl_8014D4D0
/* 8014D4C8 0014A428 38 60 00 05 */ li r3, 5
/* 8014D4CC 0014A42C 48 00 00 30 */ b lbl_8014D4FC
lbl_8014D4D0:
/* 8014D4D0 0014A430 88 1E 03 00 */ lbz r0, 0x300(r30)
/* 8014D4D4 0014A434 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8014D4D8 0014A438 40 82 00 18 */ bne lbl_8014D4F0
/* 8014D4DC 0014A43C 7F E3 FB 78 */ mr r3, r31
/* 8014D4E0 0014A440 38 80 00 0C */ li r4, 0xc
/* 8014D4E4 0014A444 4B FE 3F 6D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014D4E8 0014A448 28 03 00 00 */ cmplwi r3, 0
/* 8014D4EC 0014A44C 41 82 00 0C */ beq lbl_8014D4F8
lbl_8014D4F0:
/* 8014D4F0 0014A450 38 60 00 05 */ li r3, 5
/* 8014D4F4 0014A454 48 00 00 08 */ b lbl_8014D4FC
lbl_8014D4F8:
/* 8014D4F8 0014A458 38 60 FF FF */ li r3, -1
lbl_8014D4FC:
/* 8014D4FC 0014A45C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014D500 0014A460 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014D504 0014A464 83 C1 00 08 */ lwz r30, 8(r1)
/* 8014D508 0014A468 7C 08 03 A6 */ mtlr r0
/* 8014D50C 0014A46C 38 21 00 10 */ addi r1, r1, 0x10
/* 8014D510 0014A470 4E 80 00 20 */ blr
.global Shutdown__19CBSProjectileAttackFR15CBodyController
Shutdown__19CBSProjectileAttackFR15CBodyController:
/* 8014D514 0014A474 4E 80 00 20 */ blr
.global UpdateBody__19CBSProjectileAttackFfR15CBodyControllerR13CStateManager
UpdateBody__19CBSProjectileAttackFfR15CBodyControllerR13CStateManager:
/* 8014D518 0014A478 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8014D51C 0014A47C 7C 08 02 A6 */ mflr r0
/* 8014D520 0014A480 90 01 00 24 */ stw r0, 0x24(r1)
/* 8014D524 0014A484 DB E1 00 10 */ stfd f31, 0x10(r1)
/* 8014D528 0014A488 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
/* 8014D52C 0014A48C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014D530 0014A490 93 C1 00 08 */ stw r30, 8(r1)
/* 8014D534 0014A494 FF E0 08 90 */ fmr f31, f1
/* 8014D538 0014A498 7C 9E 23 78 */ mr r30, r4
/* 8014D53C 0014A49C 4B FF FE ED */ bl GetBodyStateTransition__19CBSProjectileAttackFfR15CBodyController
/* 8014D540 0014A4A0 7C 7F 1B 78 */ mr r31, r3
/* 8014D544 0014A4A4 2C 1F FF FF */ cmpwi r31, -1
/* 8014D548 0014A4A8 40 82 00 50 */ bne lbl_8014D598
/* 8014D54C 0014A4AC 38 7E 00 1C */ addi r3, r30, 0x1c
/* 8014D550 0014A4B0 C0 22 9D 38 */ lfs f1, lbl_805ABA58@sda21(r2)
/* 8014D554 0014A4B4 C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 8014D558 0014A4B8 38 00 00 00 */ li r0, 0
/* 8014D55C 0014A4BC FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8014D560 0014A4C0 40 82 00 1C */ bne lbl_8014D57C
/* 8014D564 0014A4C4 C0 03 00 04 */ lfs f0, 4(r3)
/* 8014D568 0014A4C8 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8014D56C 0014A4CC 40 82 00 10 */ bne lbl_8014D57C
/* 8014D570 0014A4D0 C0 03 00 08 */ lfs f0, 8(r3)
/* 8014D574 0014A4D4 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8014D578 0014A4D8 41 82 00 08 */ beq lbl_8014D580
lbl_8014D57C:
/* 8014D57C 0014A4DC 38 00 00 01 */ li r0, 1
lbl_8014D580:
/* 8014D580 0014A4E0 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8014D584 0014A4E4 41 82 00 14 */ beq lbl_8014D598
/* 8014D588 0014A4E8 FC 20 F8 90 */ fmr f1, f31
/* 8014D58C 0014A4EC 7F C3 F3 78 */ mr r3, r30
/* 8014D590 0014A4F0 38 9E 00 1C */ addi r4, r30, 0x1c
/* 8014D594 0014A4F4 4B FE D1 11 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff
lbl_8014D598:
/* 8014D598 0014A4F8 7F E3 FB 78 */ mr r3, r31
/* 8014D59C 0014A4FC E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
/* 8014D5A0 0014A500 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8014D5A4 0014A504 CB E1 00 10 */ lfd f31, 0x10(r1)
/* 8014D5A8 0014A508 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014D5AC 0014A50C 83 C1 00 08 */ lwz r30, 8(r1)
/* 8014D5B0 0014A510 7C 08 03 A6 */ mtlr r0
/* 8014D5B4 0014A514 38 21 00 20 */ addi r1, r1, 0x20
/* 8014D5B8 0014A518 4E 80 00 20 */ blr
.global Start__19CBSProjectileAttackFR15CBodyControllerR13CStateManager
Start__19CBSProjectileAttackFR15CBodyControllerR13CStateManager:
/* 8014D5BC 0014A51C 94 21 FE 80 */ stwu r1, -0x180(r1)
/* 8014D5C0 0014A520 7C 08 02 A6 */ mflr r0
/* 8014D5C4 0014A524 90 01 01 84 */ stw r0, 0x184(r1)
/* 8014D5C8 0014A528 DB E1 01 70 */ stfd f31, 0x170(r1)
/* 8014D5CC 0014A52C F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0
/* 8014D5D0 0014A530 DB C1 01 60 */ stfd f30, 0x160(r1)
/* 8014D5D4 0014A534 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0
/* 8014D5D8 0014A538 BF 41 01 48 */ stmw r26, 0x148(r1)
/* 8014D5DC 0014A53C 7C 9F 23 78 */ mr r31, r4
/* 8014D5E0 0014A540 7C BA 2B 78 */ mr r26, r5
/* 8014D5E4 0014A544 38 7F 00 04 */ addi r3, r31, 4
/* 8014D5E8 0014A548 38 80 00 06 */ li r4, 6
/* 8014D5EC 0014A54C 4B FE 3E 65 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014D5F0 0014A550 80 DF 00 00 */ lwz r6, 0(r31)
/* 8014D5F4 0014A554 7C 7E 1B 78 */ mr r30, r3
/* 8014D5F8 0014A558 C0 23 00 10 */ lfs f1, 0x10(r3)
/* 8014D5FC 0014A55C 38 61 00 80 */ addi r3, r1, 0x80
/* 8014D600 0014A560 C0 06 00 50 */ lfs f0, 0x50(r6)
/* 8014D604 0014A564 38 86 00 34 */ addi r4, r6, 0x34
/* 8014D608 0014A568 C0 7E 00 14 */ lfs f3, 0x14(r30)
/* 8014D60C 0014A56C 38 A1 00 8C */ addi r5, r1, 0x8c
/* 8014D610 0014A570 C0 46 00 60 */ lfs f2, 0x60(r6)
/* 8014D614 0014A574 EC 81 00 28 */ fsubs f4, f1, f0
/* 8014D618 0014A578 C0 3E 00 0C */ lfs f1, 0xc(r30)
/* 8014D61C 0014A57C C0 06 00 40 */ lfs f0, 0x40(r6)
/* 8014D620 0014A580 EC 43 10 28 */ fsubs f2, f3, f2
/* 8014D624 0014A584 EC 01 00 28 */ fsubs f0, f1, f0
/* 8014D628 0014A588 D0 81 00 90 */ stfs f4, 0x90(r1)
/* 8014D62C 0014A58C D0 41 00 94 */ stfs f2, 0x94(r1)
/* 8014D630 0014A590 D0 01 00 8C */ stfs f0, 0x8c(r1)
/* 8014D634 0014A594 48 1C 53 F1 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f
/* 8014D638 0014A598 C0 21 00 84 */ lfs f1, 0x84(r1)
/* 8014D63C 0014A59C C0 41 00 80 */ lfs f2, 0x80(r1)
/* 8014D640 0014A5A0 48 24 76 2D */ bl atan2
/* 8014D644 0014A5A4 FC 80 08 18 */ frsp f4, f1
/* 8014D648 0014A5A8 C0 02 9D 3C */ lfs f0, lbl_805ABA5C@sda21(r2)
/* 8014D64C 0014A5AC 3C 00 43 30 */ lis r0, 0x4330
/* 8014D650 0014A5B0 C8 62 9D 58 */ lfd f3, lbl_805ABA78@sda21(r2)
/* 8014D654 0014A5B4 90 01 01 38 */ stw r0, 0x138(r1)
/* 8014D658 0014A5B8 EC 44 00 32 */ fmuls f2, f4, f0
/* 8014D65C 0014A5BC C0 22 9D 40 */ lfs f1, lbl_805ABA60@sda21(r2)
/* 8014D660 0014A5C0 C0 02 9D 38 */ lfs f0, lbl_805ABA58@sda21(r2)
/* 8014D664 0014A5C4 FC 40 10 1E */ fctiwz f2, f2
/* 8014D668 0014A5C8 D8 41 01 30 */ stfd f2, 0x130(r1)
/* 8014D66C 0014A5CC 80 01 01 34 */ lwz r0, 0x134(r1)
/* 8014D670 0014A5D0 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8014D674 0014A5D4 90 01 01 3C */ stw r0, 0x13c(r1)
/* 8014D678 0014A5D8 C8 41 01 38 */ lfd f2, 0x138(r1)
/* 8014D67C 0014A5DC EC 42 18 28 */ fsubs f2, f2, f3
/* 8014D680 0014A5E0 EC 42 20 7C */ fnmsubs f2, f2, f1, f4
/* 8014D684 0014A5E4 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8014D688 0014A5E8 40 80 00 08 */ bge lbl_8014D690
/* 8014D68C 0014A5EC EC 42 08 2A */ fadds f2, f2, f1
lbl_8014D690:
/* 8014D690 0014A5F0 C0 02 9D 44 */ lfs f0, lbl_805ABA64@sda21(r2)
/* 8014D694 0014A5F4 7F E3 FB 78 */ mr r3, r31
/* 8014D698 0014A5F8 EF E0 00 B2 */ fmuls f31, f0, f2
/* 8014D69C 0014A5FC 4B FE CD B9 */ bl GetPASDatabase__15CBodyControllerCFv
/* 8014D6A0 0014A600 83 BF 02 EC */ lwz r29, 0x2ec(r31)
/* 8014D6A4 0014A604 7C 7B 1B 78 */ mr r27, r3
/* 8014D6A8 0014A608 83 9E 00 08 */ lwz r28, 8(r30)
/* 8014D6AC 0014A60C 38 61 00 30 */ addi r3, r1, 0x30
/* 8014D6B0 0014A610 48 19 59 CD */ bl NoParameter__12CPASAnimParmFv
/* 8014D6B4 0014A614 38 61 00 38 */ addi r3, r1, 0x38
/* 8014D6B8 0014A618 48 19 59 C5 */ bl NoParameter__12CPASAnimParmFv
/* 8014D6BC 0014A61C 38 61 00 40 */ addi r3, r1, 0x40
/* 8014D6C0 0014A620 48 19 59 BD */ bl NoParameter__12CPASAnimParmFv
/* 8014D6C4 0014A624 38 61 00 48 */ addi r3, r1, 0x48
/* 8014D6C8 0014A628 48 19 59 B5 */ bl NoParameter__12CPASAnimParmFv
/* 8014D6CC 0014A62C 38 61 00 50 */ addi r3, r1, 0x50
/* 8014D6D0 0014A630 48 19 59 AD */ bl NoParameter__12CPASAnimParmFv
/* 8014D6D4 0014A634 7F A4 EB 78 */ mr r4, r29
/* 8014D6D8 0014A638 38 61 00 58 */ addi r3, r1, 0x58
/* 8014D6DC 0014A63C 48 19 58 A9 */ bl FromEnum__12CPASAnimParmFi
/* 8014D6E0 0014A640 FC 20 F8 90 */ fmr f1, f31
/* 8014D6E4 0014A644 38 61 00 60 */ addi r3, r1, 0x60
/* 8014D6E8 0014A648 48 19 59 01 */ bl FromReal32__12CPASAnimParmFf
/* 8014D6EC 0014A64C 7F 84 E3 78 */ mr r4, r28
/* 8014D6F0 0014A650 38 61 00 68 */ addi r3, r1, 0x68
/* 8014D6F4 0014A654 48 19 58 91 */ bl FromEnum__12CPASAnimParmFi
/* 8014D6F8 0014A658 38 61 00 38 */ addi r3, r1, 0x38
/* 8014D6FC 0014A65C 38 01 00 30 */ addi r0, r1, 0x30
/* 8014D700 0014A660 90 61 00 08 */ stw r3, 8(r1)
/* 8014D704 0014A664 38 61 00 E8 */ addi r3, r1, 0xe8
/* 8014D708 0014A668 38 A1 00 68 */ addi r5, r1, 0x68
/* 8014D70C 0014A66C 38 C1 00 60 */ addi r6, r1, 0x60
/* 8014D710 0014A670 90 01 00 0C */ stw r0, 0xc(r1)
/* 8014D714 0014A674 38 E1 00 58 */ addi r7, r1, 0x58
/* 8014D718 0014A678 39 01 00 50 */ addi r8, r1, 0x50
/* 8014D71C 0014A67C 39 21 00 48 */ addi r9, r1, 0x48
/* 8014D720 0014A680 39 41 00 40 */ addi r10, r1, 0x40
/* 8014D724 0014A684 38 80 00 12 */ li r4, 0x12
/* 8014D728 0014A688 4B F2 FB 9D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm
/* 8014D72C 0014A68C 80 DA 09 00 */ lwz r6, 0x900(r26)
/* 8014D730 0014A690 7F 64 DB 78 */ mr r4, r27
/* 8014D734 0014A694 38 61 00 28 */ addi r3, r1, 0x28
/* 8014D738 0014A698 38 A1 00 E8 */ addi r5, r1, 0xe8
/* 8014D73C 0014A69C 38 E0 FF FF */ li r7, -1
/* 8014D740 0014A6A0 48 19 79 21 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 8014D744 0014A6A4 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 8014D748 0014A6A8 83 81 00 2C */ lwz r28, 0x2c(r1)
/* 8014D74C 0014A6AC 28 00 00 00 */ cmplwi r0, 0
/* 8014D750 0014A6B0 41 82 01 10 */ beq lbl_8014D860
/* 8014D754 0014A6B4 80 DA 09 00 */ lwz r6, 0x900(r26)
/* 8014D758 0014A6B8 7F 64 DB 78 */ mr r4, r27
/* 8014D75C 0014A6BC 7F 87 E3 78 */ mr r7, r28
/* 8014D760 0014A6C0 38 61 00 20 */ addi r3, r1, 0x20
/* 8014D764 0014A6C4 38 A1 00 E8 */ addi r5, r1, 0xe8
/* 8014D768 0014A6C8 48 19 78 F9 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i
/* 8014D76C 0014A6CC 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8014D770 0014A6D0 7F 63 DB 78 */ mr r3, r27
/* 8014D774 0014A6D4 38 80 00 12 */ li r4, 0x12
/* 8014D778 0014A6D8 48 19 77 4D */ bl GetAnimState__12CPASDatabaseCFi
/* 8014D77C 0014A6DC 7C 7B 1B 78 */ mr r27, r3
/* 8014D780 0014A6E0 7F 85 E3 78 */ mr r5, r28
/* 8014D784 0014A6E4 38 61 00 18 */ addi r3, r1, 0x18
/* 8014D788 0014A6E8 38 C0 00 01 */ li r6, 1
/* 8014D78C 0014A6EC 7F 64 DB 78 */ mr r4, r27
/* 8014D790 0014A6F0 48 19 68 65 */ bl GetAnimParmData__13CPASAnimStateCFiUi
/* 8014D794 0014A6F4 80 61 00 18 */ lwz r3, 0x18(r1)
/* 8014D798 0014A6F8 7F 64 DB 78 */ mr r4, r27
/* 8014D79C 0014A6FC 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8014D7A0 0014A700 7F A5 EB 78 */ mr r5, r29
/* 8014D7A4 0014A704 90 61 00 78 */ stw r3, 0x78(r1)
/* 8014D7A8 0014A708 38 61 00 10 */ addi r3, r1, 0x10
/* 8014D7AC 0014A70C 38 C0 00 01 */ li r6, 1
/* 8014D7B0 0014A710 90 01 00 7C */ stw r0, 0x7c(r1)
/* 8014D7B4 0014A714 48 19 68 41 */ bl GetAnimParmData__13CPASAnimStateCFiUi
/* 8014D7B8 0014A718 80 81 00 10 */ lwz r4, 0x10(r1)
/* 8014D7BC 0014A71C 38 61 00 78 */ addi r3, r1, 0x78
/* 8014D7C0 0014A720 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014D7C4 0014A724 90 81 00 70 */ stw r4, 0x70(r1)
/* 8014D7C8 0014A728 90 01 00 74 */ stw r0, 0x74(r1)
/* 8014D7CC 0014A72C 48 19 57 A1 */ bl GetReal32Value__12CPASAnimParmCFv
/* 8014D7D0 0014A730 FF C0 08 90 */ fmr f30, f1
/* 8014D7D4 0014A734 38 61 00 70 */ addi r3, r1, 0x70
/* 8014D7D8 0014A738 48 19 57 95 */ bl GetReal32Value__12CPASAnimParmCFv
/* 8014D7DC 0014A73C EC 1E 08 28 */ fsubs f0, f30, f1
/* 8014D7E0 0014A740 C0 42 9D 48 */ lfs f2, lbl_805ABA68@sda21(r2)
/* 8014D7E4 0014A744 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 8014D7E8 0014A748 40 81 00 10 */ ble lbl_8014D7F8
/* 8014D7EC 0014A74C C0 02 9D 4C */ lfs f0, lbl_805ABA6C@sda21(r2)
/* 8014D7F0 0014A750 EC 20 08 2A */ fadds f1, f0, f1
/* 8014D7F4 0014A754 48 00 00 18 */ b lbl_8014D80C
lbl_8014D7F8:
/* 8014D7F8 0014A758 EC 01 F0 28 */ fsubs f0, f1, f30
/* 8014D7FC 0014A75C FC 00 10 40 */ fcmpo cr0, f0, f2
/* 8014D800 0014A760 40 81 00 0C */ ble lbl_8014D80C
/* 8014D804 0014A764 C0 02 9D 4C */ lfs f0, lbl_805ABA6C@sda21(r2)
/* 8014D808 0014A768 EF C0 F0 2A */ fadds f30, f0, f30
lbl_8014D80C:
/* 8014D80C 0014A76C EC 5E F8 28 */ fsubs f2, f30, f31
/* 8014D810 0014A770 38 00 00 00 */ li r0, 0
/* 8014D814 0014A774 EC 1E 08 28 */ fsubs f0, f30, f1
/* 8014D818 0014A778 38 C0 00 01 */ li r6, 1
/* 8014D81C 0014A77C 93 81 00 C0 */ stw r28, 0xc0(r1)
/* 8014D820 0014A780 7F E3 FB 78 */ mr r3, r31
/* 8014D824 0014A784 EC 02 00 24 */ fdivs f0, f2, f0
/* 8014D828 0014A788 93 A1 00 C4 */ stw r29, 0xc4(r1)
/* 8014D82C 0014A78C 38 81 00 C0 */ addi r4, r1, 0xc0
/* 8014D830 0014A790 38 A0 00 00 */ li r5, 0
/* 8014D834 0014A794 98 C1 00 CC */ stb r6, 0xcc(r1)
/* 8014D838 0014A798 38 C0 00 00 */ li r6, 0
/* 8014D83C 0014A79C D0 01 00 C8 */ stfs f0, 0xc8(r1)
/* 8014D840 0014A7A0 90 01 00 D0 */ stw r0, 0xd0(r1)
/* 8014D844 0014A7A4 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 8014D848 0014A7A8 98 01 00 D8 */ stb r0, 0xd8(r1)
/* 8014D84C 0014A7AC 90 01 00 DC */ stw r0, 0xdc(r1)
/* 8014D850 0014A7B0 90 01 00 E0 */ stw r0, 0xe0(r1)
/* 8014D854 0014A7B4 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 8014D858 0014A7B8 4B FE D0 C5 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 8014D85C 0014A7BC 48 00 00 50 */ b lbl_8014D8AC
lbl_8014D860:
/* 8014D860 0014A7C0 C0 02 9D 50 */ lfs f0, lbl_805ABA70@sda21(r2)
/* 8014D864 0014A7C4 38 00 00 00 */ li r0, 0
/* 8014D868 0014A7C8 38 C0 FF FF */ li r6, -1
/* 8014D86C 0014A7CC 38 E0 00 01 */ li r7, 1
/* 8014D870 0014A7D0 93 81 00 98 */ stw r28, 0x98(r1)
/* 8014D874 0014A7D4 7F E3 FB 78 */ mr r3, r31
/* 8014D878 0014A7D8 38 81 00 98 */ addi r4, r1, 0x98
/* 8014D87C 0014A7DC 38 A0 00 00 */ li r5, 0
/* 8014D880 0014A7E0 90 C1 00 9C */ stw r6, 0x9c(r1)
/* 8014D884 0014A7E4 38 C0 00 00 */ li r6, 0
/* 8014D888 0014A7E8 D0 01 00 A0 */ stfs f0, 0xa0(r1)
/* 8014D88C 0014A7EC 98 E1 00 A4 */ stb r7, 0xa4(r1)
/* 8014D890 0014A7F0 90 01 00 A8 */ stw r0, 0xa8(r1)
/* 8014D894 0014A7F4 90 01 00 AC */ stw r0, 0xac(r1)
/* 8014D898 0014A7F8 98 01 00 B0 */ stb r0, 0xb0(r1)
/* 8014D89C 0014A7FC 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 8014D8A0 0014A800 90 01 00 B8 */ stw r0, 0xb8(r1)
/* 8014D8A4 0014A804 90 01 00 BC */ stw r0, 0xbc(r1)
/* 8014D8A8 0014A808 4B FE D0 75 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
lbl_8014D8AC:
/* 8014D8AC 0014A80C 34 A1 00 EC */ addic. r5, r1, 0xec
/* 8014D8B0 0014A810 41 82 00 58 */ beq lbl_8014D908
/* 8014D8B4 0014A814 80 C5 00 00 */ lwz r6, 0(r5)
/* 8014D8B8 0014A818 38 60 00 00 */ li r3, 0
/* 8014D8BC 0014A81C 2C 06 00 00 */ cmpwi r6, 0
/* 8014D8C0 0014A820 40 81 00 40 */ ble lbl_8014D900
/* 8014D8C4 0014A824 2C 06 00 08 */ cmpwi r6, 8
/* 8014D8C8 0014A828 38 86 FF F8 */ addi r4, r6, -8
/* 8014D8CC 0014A82C 40 81 00 20 */ ble lbl_8014D8EC
/* 8014D8D0 0014A830 38 04 00 07 */ addi r0, r4, 7
/* 8014D8D4 0014A834 54 00 E8 FE */ srwi r0, r0, 3
/* 8014D8D8 0014A838 7C 09 03 A6 */ mtctr r0
/* 8014D8DC 0014A83C 2C 04 00 00 */ cmpwi r4, 0
/* 8014D8E0 0014A840 40 81 00 0C */ ble lbl_8014D8EC
lbl_8014D8E4:
/* 8014D8E4 0014A844 38 63 00 08 */ addi r3, r3, 8
/* 8014D8E8 0014A848 42 00 FF FC */ bdnz lbl_8014D8E4
lbl_8014D8EC:
/* 8014D8EC 0014A84C 7C 03 30 50 */ subf r0, r3, r6
/* 8014D8F0 0014A850 7C 09 03 A6 */ mtctr r0
/* 8014D8F4 0014A854 7C 03 30 00 */ cmpw r3, r6
/* 8014D8F8 0014A858 40 80 00 08 */ bge lbl_8014D900
lbl_8014D8FC:
/* 8014D8FC 0014A85C 42 00 00 00 */ bdnz lbl_8014D8FC
lbl_8014D900:
/* 8014D900 0014A860 38 00 00 00 */ li r0, 0
/* 8014D904 0014A864 90 05 00 00 */ stw r0, 0(r5)
lbl_8014D908:
/* 8014D908 0014A868 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0
/* 8014D90C 0014A86C CB E1 01 70 */ lfd f31, 0x170(r1)
/* 8014D910 0014A870 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0
/* 8014D914 0014A874 CB C1 01 60 */ lfd f30, 0x160(r1)
/* 8014D918 0014A878 BB 41 01 48 */ lmw r26, 0x148(r1)
/* 8014D91C 0014A87C 80 01 01 84 */ lwz r0, 0x184(r1)
/* 8014D920 0014A880 7C 08 03 A6 */ mtlr r0
/* 8014D924 0014A884 38 21 01 80 */ addi r1, r1, 0x180
/* 8014D928 0014A888 4E 80 00 20 */ blr
.global __ct__19CBSProjectileAttackFv
__ct__19CBSProjectileAttackFv:
/* 8014D92C 0014A88C 3C A0 80 3E */ lis r5, lbl_803E1318@ha
/* 8014D930 0014A890 3C 80 80 3E */ lis r4, lbl_803E27D0@ha
/* 8014D934 0014A894 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l
/* 8014D938 0014A898 90 A3 00 00 */ stw r5, 0(r3)
/* 8014D93C 0014A89C 38 04 27 D0 */ addi r0, r4, lbl_803E27D0@l
/* 8014D940 0014A8A0 90 03 00 00 */ stw r0, 0(r3)
/* 8014D944 0014A8A4 4E 80 00 20 */ blr

View File

@ -0,0 +1,254 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__11CBSScriptedFv
__dt__11CBSScriptedFv:
/* 8014B0C0 00148020 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014B0C4 00148024 7C 08 02 A6 */ mflr r0
/* 8014B0C8 00148028 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014B0CC 0014802C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014B0D0 00148030 7C 7F 1B 79 */ or. r31, r3, r3
/* 8014B0D4 00148034 41 82 00 30 */ beq lbl_8014B104
/* 8014B0D8 00148038 3C 60 80 3E */ lis r3, lbl_803E24A8@ha
/* 8014B0DC 0014803C 38 03 24 A8 */ addi r0, r3, lbl_803E24A8@l
/* 8014B0E0 00148040 90 1F 00 00 */ stw r0, 0(r31)
/* 8014B0E4 00148044 41 82 00 10 */ beq lbl_8014B0F4
/* 8014B0E8 00148048 3C 60 80 3E */ lis r3, lbl_803E1318@ha
/* 8014B0EC 0014804C 38 03 13 18 */ addi r0, r3, lbl_803E1318@l
/* 8014B0F0 00148050 90 1F 00 00 */ stw r0, 0(r31)
lbl_8014B0F4:
/* 8014B0F4 00148054 7C 80 07 35 */ extsh. r0, r4
/* 8014B0F8 00148058 40 81 00 0C */ ble lbl_8014B104
/* 8014B0FC 0014805C 7F E3 FB 78 */ mr r3, r31
/* 8014B100 00148060 48 1C A8 31 */ bl Free__7CMemoryFPCv
lbl_8014B104:
/* 8014B104 00148064 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014B108 00148068 7F E3 FB 78 */ mr r3, r31
/* 8014B10C 0014806C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014B110 00148070 7C 08 03 A6 */ mtlr r0
/* 8014B114 00148074 38 21 00 10 */ addi r1, r1, 0x10
/* 8014B118 00148078 4E 80 00 20 */ blr
.global ApplyHeadTracking__11CBSScriptedCFv
ApplyHeadTracking__11CBSScriptedCFv:
/* 8014B11C 0014807C 38 60 00 00 */ li r3, 0
/* 8014B120 00148080 4E 80 00 20 */ blr
.global GetBodyStateTransition__11CBSScriptedFfR15CBodyController
GetBodyStateTransition__11CBSScriptedFfR15CBodyController:
/* 8014B124 00148084 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8014B128 00148088 7C 08 02 A6 */ mflr r0
/* 8014B12C 0014808C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8014B130 00148090 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8014B134 00148094 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8014B138 00148098 7C 9E 23 78 */ mr r30, r4
/* 8014B13C 0014809C 3B FE 00 04 */ addi r31, r30, 4
/* 8014B140 001480A0 38 80 00 0F */ li r4, 0xf
/* 8014B144 001480A4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8014B148 001480A8 7C 7D 1B 78 */ mr r29, r3
/* 8014B14C 001480AC 7F E3 FB 78 */ mr r3, r31
/* 8014B150 001480B0 4B FE 63 01 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014B154 001480B4 28 03 00 00 */ cmplwi r3, 0
/* 8014B158 001480B8 41 82 00 0C */ beq lbl_8014B164
/* 8014B15C 001480BC 38 60 00 0E */ li r3, 0xe
/* 8014B160 001480C0 48 00 00 B4 */ b lbl_8014B214
lbl_8014B164:
/* 8014B164 001480C4 7F E3 FB 78 */ mr r3, r31
/* 8014B168 001480C8 38 80 00 03 */ li r4, 3
/* 8014B16C 001480CC 4B FE 62 E5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014B170 001480D0 28 03 00 00 */ cmplwi r3, 0
/* 8014B174 001480D4 41 82 00 0C */ beq lbl_8014B180
/* 8014B178 001480D8 38 60 00 00 */ li r3, 0
/* 8014B17C 001480DC 48 00 00 98 */ b lbl_8014B214
lbl_8014B180:
/* 8014B180 001480E0 7F E3 FB 78 */ mr r3, r31
/* 8014B184 001480E4 38 80 00 09 */ li r4, 9
/* 8014B188 001480E8 4B FE 62 C9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014B18C 001480EC 28 03 00 00 */ cmplwi r3, 0
/* 8014B190 001480F0 41 82 00 0C */ beq lbl_8014B19C
/* 8014B194 001480F4 38 60 00 0A */ li r3, 0xa
/* 8014B198 001480F8 48 00 00 7C */ b lbl_8014B214
lbl_8014B19C:
/* 8014B19C 001480FC 7F E3 FB 78 */ mr r3, r31
/* 8014B1A0 00148100 38 80 00 04 */ li r4, 4
/* 8014B1A4 00148104 4B FE 62 AD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014B1A8 00148108 28 03 00 00 */ cmplwi r3, 0
/* 8014B1AC 0014810C 41 82 00 0C */ beq lbl_8014B1B8
/* 8014B1B0 00148110 38 60 00 06 */ li r3, 6
/* 8014B1B4 00148114 48 00 00 60 */ b lbl_8014B214
lbl_8014B1B8:
/* 8014B1B8 00148118 7F E3 FB 78 */ mr r3, r31
/* 8014B1BC 0014811C 38 80 00 13 */ li r4, 0x13
/* 8014B1C0 00148120 4B FE 62 91 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014B1C4 00148124 28 03 00 00 */ cmplwi r3, 0
/* 8014B1C8 00148128 41 82 00 0C */ beq lbl_8014B1D4
/* 8014B1CC 0014812C 38 60 00 11 */ li r3, 0x11
/* 8014B1D0 00148130 48 00 00 44 */ b lbl_8014B214
lbl_8014B1D4:
/* 8014B1D4 00148134 88 1D 00 04 */ lbz r0, 4(r29)
/* 8014B1D8 00148138 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8014B1DC 0014813C 41 82 00 20 */ beq lbl_8014B1FC
/* 8014B1E0 00148140 7F E3 FB 78 */ mr r3, r31
/* 8014B1E4 00148144 38 80 00 0A */ li r4, 0xa
/* 8014B1E8 00148148 4B FE 62 69 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014B1EC 0014814C 28 03 00 00 */ cmplwi r3, 0
/* 8014B1F0 00148150 41 82 00 20 */ beq lbl_8014B210
/* 8014B1F4 00148154 38 60 00 05 */ li r3, 5
/* 8014B1F8 00148158 48 00 00 1C */ b lbl_8014B214
lbl_8014B1FC:
/* 8014B1FC 0014815C 88 1E 03 00 */ lbz r0, 0x300(r30)
/* 8014B200 00148160 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8014B204 00148164 41 82 00 0C */ beq lbl_8014B210
/* 8014B208 00148168 38 60 00 05 */ li r3, 5
/* 8014B20C 0014816C 48 00 00 08 */ b lbl_8014B214
lbl_8014B210:
/* 8014B210 00148170 38 60 FF FF */ li r3, -1
lbl_8014B214:
/* 8014B214 00148174 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8014B218 00148178 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8014B21C 0014817C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8014B220 00148180 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8014B224 00148184 7C 08 03 A6 */ mtlr r0
/* 8014B228 00148188 38 21 00 20 */ addi r1, r1, 0x20
/* 8014B22C 0014818C 4E 80 00 20 */ blr
.global Shutdown__11CBSScriptedFR15CBodyController
Shutdown__11CBSScriptedFR15CBodyController:
/* 8014B230 00148190 4E 80 00 20 */ blr
.global UpdateBody__11CBSScriptedFfR15CBodyControllerR13CStateManager
UpdateBody__11CBSScriptedFfR15CBodyControllerR13CStateManager:
/* 8014B234 00148194 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8014B238 00148198 7C 08 02 A6 */ mflr r0
/* 8014B23C 0014819C 90 01 00 34 */ stw r0, 0x34(r1)
/* 8014B240 001481A0 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 8014B244 001481A4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 8014B248 001481A8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8014B24C 001481AC 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8014B250 001481B0 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8014B254 001481B4 FF E0 08 90 */ fmr f31, f1
/* 8014B258 001481B8 7C 7D 1B 78 */ mr r29, r3
/* 8014B25C 001481BC 7C 9E 23 78 */ mr r30, r4
/* 8014B260 001481C0 4B FF FE C5 */ bl GetBodyStateTransition__11CBSScriptedFfR15CBodyController
/* 8014B264 001481C4 7C 7F 1B 78 */ mr r31, r3
/* 8014B268 001481C8 2C 1F FF FF */ cmpwi r31, -1
/* 8014B26C 001481CC 40 82 00 88 */ bne lbl_8014B2F4
/* 8014B270 001481D0 38 7E 00 1C */ addi r3, r30, 0x1c
/* 8014B274 001481D4 C0 22 9C E8 */ lfs f1, lbl_805ABA08@sda21(r2)
/* 8014B278 001481D8 C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 8014B27C 001481DC 38 00 00 00 */ li r0, 0
/* 8014B280 001481E0 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8014B284 001481E4 40 82 00 1C */ bne lbl_8014B2A0
/* 8014B288 001481E8 C0 03 00 04 */ lfs f0, 4(r3)
/* 8014B28C 001481EC FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8014B290 001481F0 40 82 00 10 */ bne lbl_8014B2A0
/* 8014B294 001481F4 C0 03 00 08 */ lfs f0, 8(r3)
/* 8014B298 001481F8 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8014B29C 001481FC 41 82 00 08 */ beq lbl_8014B2A4
lbl_8014B2A0:
/* 8014B2A0 00148200 38 00 00 01 */ li r0, 1
lbl_8014B2A4:
/* 8014B2A4 00148204 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8014B2A8 00148208 41 82 00 14 */ beq lbl_8014B2BC
/* 8014B2AC 0014820C FC 20 F8 90 */ fmr f1, f31
/* 8014B2B0 00148210 7F C3 F3 78 */ mr r3, r30
/* 8014B2B4 00148214 38 9E 00 1C */ addi r4, r30, 0x1c
/* 8014B2B8 00148218 4B FE F3 ED */ bl FaceDirection__15CBodyControllerFRC9CVector3ff
lbl_8014B2BC:
/* 8014B2BC 0014821C 88 7D 00 04 */ lbz r3, 4(r29)
/* 8014B2C0 00148220 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f
/* 8014B2C4 00148224 41 82 00 30 */ beq lbl_8014B2F4
/* 8014B2C8 00148228 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f
/* 8014B2CC 0014822C 41 82 00 28 */ beq lbl_8014B2F4
/* 8014B2D0 00148230 C0 3D 00 08 */ lfs f1, 8(r29)
/* 8014B2D4 00148234 C0 02 9C E8 */ lfs f0, lbl_805ABA08@sda21(r2)
/* 8014B2D8 00148238 EC 21 F8 28 */ fsubs f1, f1, f31
/* 8014B2DC 0014823C D0 3D 00 08 */ stfs f1, 8(r29)
/* 8014B2E0 00148240 C0 3D 00 08 */ lfs f1, 8(r29)
/* 8014B2E4 00148244 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8014B2E8 00148248 4C 40 13 82 */ cror 2, 0, 2
/* 8014B2EC 0014824C 40 82 00 08 */ bne lbl_8014B2F4
/* 8014B2F0 00148250 3B E0 00 05 */ li r31, 5
lbl_8014B2F4:
/* 8014B2F4 00148254 7F E3 FB 78 */ mr r3, r31
/* 8014B2F8 00148258 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8014B2FC 0014825C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8014B300 00148260 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 8014B304 00148264 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8014B308 00148268 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8014B30C 0014826C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8014B310 00148270 7C 08 03 A6 */ mtlr r0
/* 8014B314 00148274 38 21 00 30 */ addi r1, r1, 0x30
/* 8014B318 00148278 4E 80 00 20 */ blr
.global Start__11CBSScriptedFR15CBodyControllerR13CStateManager
Start__11CBSScriptedFR15CBodyControllerR13CStateManager:
/* 8014B31C 0014827C 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8014B320 00148280 7C 08 02 A6 */ mflr r0
/* 8014B324 00148284 90 01 00 44 */ stw r0, 0x44(r1)
/* 8014B328 00148288 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8014B32C 0014828C 7C 9F 23 78 */ mr r31, r4
/* 8014B330 00148290 38 80 00 13 */ li r4, 0x13
/* 8014B334 00148294 93 C1 00 38 */ stw r30, 0x38(r1)
/* 8014B338 00148298 7C 7E 1B 78 */ mr r30, r3
/* 8014B33C 0014829C 38 7F 00 04 */ addi r3, r31, 4
/* 8014B340 001482A0 4B FE 61 11 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8014B344 001482A4 88 03 00 0C */ lbz r0, 0xc(r3)
/* 8014B348 001482A8 7C 6A 1B 78 */ mr r10, r3
/* 8014B34C 001482AC 88 9E 00 04 */ lbz r4, 4(r30)
/* 8014B350 001482B0 38 E0 FF FF */ li r7, -1
/* 8014B354 001482B4 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f
/* 8014B358 001482B8 C0 02 9C EC */ lfs f0, lbl_805ABA0C@sda21(r2)
/* 8014B35C 001482BC 50 64 3E 30 */ rlwimi r4, r3, 7, 0x18, 0x18
/* 8014B360 001482C0 38 A0 00 01 */ li r5, 1
/* 8014B364 001482C4 98 9E 00 04 */ stb r4, 4(r30)
/* 8014B368 001482C8 38 00 00 00 */ li r0, 0
/* 8014B36C 001482CC 7F E3 FB 78 */ mr r3, r31
/* 8014B370 001482D0 38 81 00 08 */ addi r4, r1, 8
/* 8014B374 001482D4 89 2A 00 0C */ lbz r9, 0xc(r10)
/* 8014B378 001482D8 38 C0 00 00 */ li r6, 0
/* 8014B37C 001482DC 89 1E 00 04 */ lbz r8, 4(r30)
/* 8014B380 001482E0 51 28 06 72 */ rlwimi r8, r9, 0, 0x19, 0x19
/* 8014B384 001482E4 99 1E 00 04 */ stb r8, 4(r30)
/* 8014B388 001482E8 C0 2A 00 10 */ lfs f1, 0x10(r10)
/* 8014B38C 001482EC D0 3E 00 08 */ stfs f1, 8(r30)
/* 8014B390 001482F0 81 0A 00 08 */ lwz r8, 8(r10)
/* 8014B394 001482F4 91 01 00 08 */ stw r8, 8(r1)
/* 8014B398 001482F8 90 E1 00 0C */ stw r7, 0xc(r1)
/* 8014B39C 001482FC D0 01 00 10 */ stfs f0, 0x10(r1)
/* 8014B3A0 00148300 98 A1 00 14 */ stb r5, 0x14(r1)
/* 8014B3A4 00148304 90 01 00 18 */ stw r0, 0x18(r1)
/* 8014B3A8 00148308 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8014B3AC 0014830C 98 01 00 20 */ stb r0, 0x20(r1)
/* 8014B3B0 00148310 90 01 00 24 */ stw r0, 0x24(r1)
/* 8014B3B4 00148314 90 01 00 28 */ stw r0, 0x28(r1)
/* 8014B3B8 00148318 90 01 00 2C */ stw r0, 0x2c(r1)
/* 8014B3BC 0014831C 88 0A 00 0C */ lbz r0, 0xc(r10)
/* 8014B3C0 00148320 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f
/* 8014B3C4 00148324 4B FE F5 59 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb
/* 8014B3C8 00148328 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8014B3CC 0014832C 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8014B3D0 00148330 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8014B3D4 00148334 7C 08 03 A6 */ mtlr r0
/* 8014B3D8 00148338 38 21 00 40 */ addi r1, r1, 0x40
/* 8014B3DC 0014833C 4E 80 00 20 */ blr
.global __ct__11CBSScriptedFv
__ct__11CBSScriptedFv:
/* 8014B3E0 00148340 3C C0 80 3E */ lis r6, lbl_803E1318@ha
/* 8014B3E4 00148344 3C A0 80 3E */ lis r5, lbl_803E24A8@ha
/* 8014B3E8 00148348 38 C6 13 18 */ addi r6, r6, lbl_803E1318@l
/* 8014B3EC 0014834C 38 80 00 00 */ li r4, 0
/* 8014B3F0 00148350 90 C3 00 00 */ stw r6, 0(r3)
/* 8014B3F4 00148354 38 05 24 A8 */ addi r0, r5, lbl_803E24A8@l
/* 8014B3F8 00148358 C0 02 9C E8 */ lfs f0, lbl_805ABA08@sda21(r2)
/* 8014B3FC 0014835C 90 03 00 00 */ stw r0, 0(r3)
/* 8014B400 00148360 88 03 00 04 */ lbz r0, 4(r3)
/* 8014B404 00148364 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 8014B408 00148368 98 03 00 04 */ stb r0, 4(r3)
/* 8014B40C 0014836C 88 03 00 04 */ lbz r0, 4(r3)
/* 8014B410 00148370 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 8014B414 00148374 98 03 00 04 */ stb r0, 4(r3)
/* 8014B418 00148378 D0 03 00 08 */ stfs f0, 8(r3)
/* 8014B41C 0014837C 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,132 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Filter__12CAABoxFilterCFRC18CCollisionInfoListR18CCollisionInfoList
Filter__12CAABoxFilterCFRC18CCollisionInfoListR18CCollisionInfoList:
/* 80185850 001827B0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80185854 001827B4 7C 08 02 A6 */ mflr r0
/* 80185858 001827B8 7C 83 23 78 */ mr r3, r4
/* 8018585C 001827BC 7C A4 2B 78 */ mr r4, r5
/* 80185860 001827C0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80185864 001827C4 48 00 00 15 */ bl FilterBoxFloorCollisions__12CAABoxFilterFRC18CCollisionInfoListR18CCollisionInfoList
/* 80185868 001827C8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8018586C 001827CC 7C 08 03 A6 */ mtlr r0
/* 80185870 001827D0 38 21 00 10 */ addi r1, r1, 0x10
/* 80185874 001827D4 4E 80 00 20 */ blr
.global FilterBoxFloorCollisions__12CAABoxFilterFRC18CCollisionInfoListR18CCollisionInfoList
FilterBoxFloorCollisions__12CAABoxFilterFRC18CCollisionInfoListR18CCollisionInfoList:
/* 80185878 001827D8 94 21 F3 D0 */ stwu r1, -0xc30(r1)
/* 8018587C 001827DC 7C 08 02 A6 */ mflr r0
/* 80185880 001827E0 90 01 0C 34 */ stw r0, 0xc34(r1)
/* 80185884 001827E4 DB E1 0C 20 */ stfd f31, 0xc20(r1)
/* 80185888 001827E8 F3 E1 0C 28 */ psq_st f31, -984(r1), 0, qr0
/* 8018588C 001827EC 93 E1 0C 1C */ stw r31, 0xc1c(r1)
/* 80185890 001827F0 93 C1 0C 18 */ stw r30, 0xc18(r1)
/* 80185894 001827F4 93 A1 0C 14 */ stw r29, 0xc14(r1)
/* 80185898 001827F8 93 81 0C 10 */ stw r28, 0xc10(r1)
/* 8018589C 001827FC 7C 7E 1B 78 */ mr r30, r3
/* 801858A0 00182800 C3 E2 A3 08 */ lfs f31, lbl_805AC028@sda21(r2)
/* 801858A4 00182804 80 03 00 00 */ lwz r0, 0(r3)
/* 801858A8 00182808 7C 9F 23 78 */ mr r31, r4
/* 801858AC 0018280C 38 FE 00 04 */ addi r7, r30, 4
/* 801858B0 00182810 3C A0 40 00 */ lis r5, 0x4000
/* 801858B4 00182814 1C 00 00 60 */ mulli r0, r0, 0x60
/* 801858B8 00182818 38 80 00 00 */ li r4, 0
/* 801858BC 0018281C 7C DE 02 14 */ add r6, r30, r0
/* 801858C0 00182820 38 C6 00 04 */ addi r6, r6, 4
/* 801858C4 00182824 48 00 00 38 */ b lbl_801858FC
lbl_801858C8:
/* 801858C8 00182828 80 07 00 38 */ lwz r0, 0x38(r7)
/* 801858CC 0018282C 80 67 00 3C */ lwz r3, 0x3c(r7)
/* 801858D0 00182830 7C 00 20 38 */ and r0, r0, r4
/* 801858D4 00182834 7C 63 28 38 */ and r3, r3, r5
/* 801858D8 00182838 7C 63 22 78 */ xor r3, r3, r4
/* 801858DC 0018283C 7C 00 22 78 */ xor r0, r0, r4
/* 801858E0 00182840 7C 60 03 79 */ or. r0, r3, r0
/* 801858E4 00182844 41 82 00 14 */ beq lbl_801858F8
/* 801858E8 00182848 C0 07 00 08 */ lfs f0, 8(r7)
/* 801858EC 0018284C FC 00 F8 40 */ fcmpo cr0, f0, f31
/* 801858F0 00182850 40 80 00 08 */ bge lbl_801858F8
/* 801858F4 00182854 FF E0 00 90 */ fmr f31, f0
lbl_801858F8:
/* 801858F8 00182858 38 E7 00 60 */ addi r7, r7, 0x60
lbl_801858FC:
/* 801858FC 0018285C 7C 07 30 40 */ cmplw r7, r6
/* 80185900 00182860 40 82 FF C8 */ bne lbl_801858C8
/* 80185904 00182864 38 00 00 00 */ li r0, 0
/* 80185908 00182868 3B 9E 00 04 */ addi r28, r30, 4
/* 8018590C 0018286C 90 01 00 08 */ stw r0, 8(r1)
/* 80185910 00182870 3F A0 80 00 */ lis r29, 0x8000
/* 80185914 00182874 48 00 00 5C */ b lbl_80185970
lbl_80185918:
/* 80185918 00182878 80 7C 00 3C */ lwz r3, 0x3c(r28)
/* 8018591C 0018287C 38 80 00 00 */ li r4, 0
/* 80185920 00182880 80 1C 00 38 */ lwz r0, 0x38(r28)
/* 80185924 00182884 7C 63 E8 38 */ and r3, r3, r29
/* 80185928 00182888 7C 00 20 38 */ and r0, r0, r4
/* 8018592C 0018288C 7C 63 22 78 */ xor r3, r3, r4
/* 80185930 00182890 7C 00 22 78 */ xor r0, r0, r4
/* 80185934 00182894 7C 60 03 79 */ or. r0, r3, r0
/* 80185938 00182898 41 82 00 24 */ beq lbl_8018595C
/* 8018593C 0018289C C0 1C 00 08 */ lfs f0, 8(r28)
/* 80185940 001828A0 FC 00 F8 40 */ fcmpo cr0, f0, f31
/* 80185944 001828A4 40 80 00 28 */ bge lbl_8018596C
/* 80185948 001828A8 7F 84 E3 78 */ mr r4, r28
/* 8018594C 001828AC 38 61 00 08 */ addi r3, r1, 8
/* 80185950 001828B0 38 A0 00 00 */ li r5, 0
/* 80185954 001828B4 4B FF FC CD */ bl Add__18CCollisionInfoListFRC14CCollisionInfob
/* 80185958 001828B8 48 00 00 14 */ b lbl_8018596C
lbl_8018595C:
/* 8018595C 001828BC 7F 84 E3 78 */ mr r4, r28
/* 80185960 001828C0 38 61 00 08 */ addi r3, r1, 8
/* 80185964 001828C4 38 A0 00 00 */ li r5, 0
/* 80185968 001828C8 4B FF FC B9 */ bl Add__18CCollisionInfoListFRC14CCollisionInfob
lbl_8018596C:
/* 8018596C 001828CC 3B 9C 00 60 */ addi r28, r28, 0x60
lbl_80185970:
/* 80185970 001828D0 80 1E 00 00 */ lwz r0, 0(r30)
/* 80185974 001828D4 1C 00 00 60 */ mulli r0, r0, 0x60
/* 80185978 001828D8 7C 7E 02 14 */ add r3, r30, r0
/* 8018597C 001828DC 38 03 00 04 */ addi r0, r3, 4
/* 80185980 001828E0 7C 1C 00 40 */ cmplw r28, r0
/* 80185984 001828E4 40 82 FF 94 */ bne lbl_80185918
/* 80185988 001828E8 7F E4 FB 78 */ mr r4, r31
/* 8018598C 001828EC 38 61 00 08 */ addi r3, r1, 8
/* 80185990 001828F0 48 14 C7 25 */ bl AddAverageToFront__13CollisionUtilFRC18CCollisionInfoListR18CCollisionInfoList
/* 80185994 001828F4 80 A1 00 08 */ lwz r5, 8(r1)
/* 80185998 001828F8 38 60 00 00 */ li r3, 0
/* 8018599C 001828FC 2C 05 00 00 */ cmpwi r5, 0
/* 801859A0 00182900 40 81 00 40 */ ble lbl_801859E0
/* 801859A4 00182904 2C 05 00 08 */ cmpwi r5, 8
/* 801859A8 00182908 38 85 FF F8 */ addi r4, r5, -8
/* 801859AC 0018290C 40 81 00 20 */ ble lbl_801859CC
/* 801859B0 00182910 38 04 00 07 */ addi r0, r4, 7
/* 801859B4 00182914 54 00 E8 FE */ srwi r0, r0, 3
/* 801859B8 00182918 7C 09 03 A6 */ mtctr r0
/* 801859BC 0018291C 2C 04 00 00 */ cmpwi r4, 0
/* 801859C0 00182920 40 81 00 0C */ ble lbl_801859CC
lbl_801859C4:
/* 801859C4 00182924 38 63 00 08 */ addi r3, r3, 8
/* 801859C8 00182928 42 00 FF FC */ bdnz lbl_801859C4
lbl_801859CC:
/* 801859CC 0018292C 7C 03 28 50 */ subf r0, r3, r5
/* 801859D0 00182930 7C 09 03 A6 */ mtctr r0
/* 801859D4 00182934 7C 03 28 00 */ cmpw r3, r5
/* 801859D8 00182938 40 80 00 08 */ bge lbl_801859E0
lbl_801859DC:
/* 801859DC 0018293C 42 00 00 00 */ bdnz lbl_801859DC
lbl_801859E0:
/* 801859E0 00182940 38 00 00 00 */ li r0, 0
/* 801859E4 00182944 90 01 00 08 */ stw r0, 8(r1)
/* 801859E8 00182948 E3 E1 0C 28 */ psq_l f31, -984(r1), 0, qr0
/* 801859EC 0018294C 80 01 0C 34 */ lwz r0, 0xc34(r1)
/* 801859F0 00182950 CB E1 0C 20 */ lfd f31, 0xc20(r1)
/* 801859F4 00182954 83 E1 0C 1C */ lwz r31, 0xc1c(r1)
/* 801859F8 00182958 83 C1 0C 18 */ lwz r30, 0xc18(r1)
/* 801859FC 0018295C 83 A1 0C 14 */ lwz r29, 0xc14(r1)
/* 80185A00 00182960 83 81 0C 10 */ lwz r28, 0xc10(r1)
/* 80185A04 00182964 7C 08 03 A6 */ mtlr r0
/* 80185A08 00182968 38 21 0C 30 */ addi r1, r1, 0xc30
/* 80185A0C 0018296C 4E 80 00 20 */ blr

View File

@ -0,0 +1,16 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Filter__11CBallFilterCFRC18CCollisionInfoListR18CCollisionInfoList
Filter__11CBallFilterCFRC18CCollisionInfoListR18CCollisionInfoList:
/* 80185828 00182788 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8018582C 0018278C 7C 08 02 A6 */ mflr r0
/* 80185830 00182790 7C 83 23 78 */ mr r3, r4
/* 80185834 00182794 7C A4 2B 78 */ mr r4, r5
/* 80185838 00182798 90 01 00 14 */ stw r0, 0x14(r1)
/* 8018583C 0018279C 48 14 C8 79 */ bl AddAverageToFront__13CollisionUtilFRC18CCollisionInfoListR18CCollisionInfoList
/* 80185840 001827A0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80185844 001827A4 7C 08 03 A6 */ mtlr r0
/* 80185848 001827A8 38 21 00 10 */ addi r1, r1, 0x10
/* 8018584C 001827AC 4E 80 00 20 */ blr

View File

@ -0,0 +1,632 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global SetNoHorizontalAim__13CBoneTrackingFb
SetNoHorizontalAim__13CBoneTrackingFb:
/* 801751A8 00172108 88 03 00 36 */ lbz r0, 0x36(r3)
/* 801751AC 0017210C 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 801751B0 00172110 98 03 00 36 */ stb r0, 0x36(r3)
/* 801751B4 00172114 4E 80 00 20 */ blr
.global SetTargetPosition__13CBoneTrackingFRC9CVector3f
SetTargetPosition__13CBoneTrackingFRC9CVector3f:
/* 801751B8 00172118 88 03 00 30 */ lbz r0, 0x30(r3)
/* 801751BC 0017211C 28 00 00 00 */ cmplwi r0, 0
/* 801751C0 00172120 40 82 00 30 */ bne lbl_801751F0
/* 801751C4 00172124 34 A3 00 24 */ addic. r5, r3, 0x24
/* 801751C8 00172128 41 82 00 1C */ beq lbl_801751E4
/* 801751CC 0017212C C0 04 00 00 */ lfs f0, 0(r4)
/* 801751D0 00172130 D0 05 00 00 */ stfs f0, 0(r5)
/* 801751D4 00172134 C0 04 00 04 */ lfs f0, 4(r4)
/* 801751D8 00172138 D0 05 00 04 */ stfs f0, 4(r5)
/* 801751DC 0017213C C0 04 00 08 */ lfs f0, 8(r4)
/* 801751E0 00172140 D0 05 00 08 */ stfs f0, 8(r5)
lbl_801751E4:
/* 801751E4 00172144 38 00 00 01 */ li r0, 1
/* 801751E8 00172148 98 03 00 30 */ stb r0, 0x30(r3)
/* 801751EC 0017214C 4E 80 00 20 */ blr
lbl_801751F0:
/* 801751F0 00172150 C0 04 00 00 */ lfs f0, 0(r4)
/* 801751F4 00172154 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 801751F8 00172158 C0 04 00 04 */ lfs f0, 4(r4)
/* 801751FC 0017215C D0 03 00 28 */ stfs f0, 0x28(r3)
/* 80175200 00172160 C0 04 00 08 */ lfs f0, 8(r4)
/* 80175204 00172164 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 80175208 00172168 4E 80 00 20 */ blr
.global UnsetTarget__13CBoneTrackingFv
UnsetTarget__13CBoneTrackingFv:
/* 8017520C 0017216C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 80175210 00172170 B0 03 00 34 */ sth r0, 0x34(r3)
/* 80175214 00172174 4E 80 00 20 */ blr
.global SetTarget__13CBoneTrackingF9TUniqueId
SetTarget__13CBoneTrackingF9TUniqueId:
/* 80175218 00172178 A0 04 00 00 */ lhz r0, 0(r4)
/* 8017521C 0017217C B0 03 00 34 */ sth r0, 0x34(r3)
/* 80175220 00172180 4E 80 00 20 */ blr
.global SetActive__13CBoneTrackingFb
SetActive__13CBoneTrackingFb:
/* 80175224 00172184 88 03 00 36 */ lbz r0, 0x36(r3)
/* 80175228 00172188 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 8017522C 0017218C 98 03 00 36 */ stb r0, 0x36(r3)
/* 80175230 00172190 4E 80 00 20 */ blr
.global PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fb
PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fb:
/* 80175234 00172194 94 21 FD A0 */ stwu r1, -0x260(r1)
/* 80175238 00172198 7C 08 02 A6 */ mflr r0
/* 8017523C 0017219C 90 01 02 64 */ stw r0, 0x264(r1)
/* 80175240 001721A0 DB E1 02 50 */ stfd f31, 0x250(r1)
/* 80175244 001721A4 F3 E1 02 58 */ psq_st f31, 600(r1), 0, qr0
/* 80175248 001721A8 BF 01 02 30 */ stmw r24, 0x230(r1)
/* 8017524C 001721AC 7C 7E 1B 78 */ mr r30, r3
/* 80175250 001721B0 7C 99 23 78 */ mr r25, r4
/* 80175254 001721B4 88 03 00 14 */ lbz r0, 0x14(r3)
/* 80175258 001721B8 7C BF 2B 78 */ mr r31, r5
/* 8017525C 001721BC 7C DA 33 78 */ mr r26, r6
/* 80175260 001721C0 7C FB 3B 78 */ mr r27, r7
/* 80175264 001721C4 28 00 00 00 */ cmplwi r0, 0
/* 80175268 001721C8 7D 18 43 78 */ mr r24, r8
/* 8017526C 001721CC 41 82 06 80 */ beq lbl_801758EC
/* 80175270 001721D0 A0 1E 00 34 */ lhz r0, 0x34(r30)
/* 80175274 001721D4 7F 23 CB 78 */ mr r3, r25
/* 80175278 001721D8 3B BF 02 FC */ addi r29, r31, 0x2fc
/* 8017527C 001721DC 38 81 00 10 */ addi r4, r1, 0x10
/* 80175280 001721E0 B0 01 00 10 */ sth r0, 0x10(r1)
/* 80175284 001721E4 4B ED 73 21 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 80175288 001721E8 7C 64 1B 78 */ mr r4, r3
/* 8017528C 001721EC 38 61 00 38 */ addi r3, r1, 0x38
/* 80175290 001721F0 4B F3 AA 01 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 80175294 001721F4 88 1E 00 36 */ lbz r0, 0x36(r30)
/* 80175298 001721F8 83 83 00 04 */ lwz r28, 4(r3)
/* 8017529C 001721FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 801752A0 00172200 41 82 04 48 */ beq lbl_801756E8
/* 801752A4 00172204 57 00 06 3F */ clrlwi. r0, r24, 0x18
/* 801752A8 00172208 41 82 04 40 */ beq lbl_801756E8
/* 801752AC 0017220C 28 1C 00 00 */ cmplwi r28, 0
/* 801752B0 00172210 40 82 00 10 */ bne lbl_801752C0
/* 801752B4 00172214 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 801752B8 00172218 28 00 00 00 */ cmplwi r0, 0
/* 801752BC 0017221C 41 82 04 2C */ beq lbl_801756E8
lbl_801752C0:
/* 801752C0 00172220 88 1E 00 36 */ lbz r0, 0x36(r30)
/* 801752C4 00172224 38 60 00 01 */ li r3, 1
/* 801752C8 00172228 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 801752CC 0017222C 98 1E 00 36 */ stb r0, 0x36(r30)
/* 801752D0 00172230 88 1D 00 2C */ lbz r0, 0x2c(r29)
/* 801752D4 00172234 28 00 00 00 */ cmplwi r0, 0
/* 801752D8 00172238 41 82 00 0C */ beq lbl_801752E4
/* 801752DC 0017223C 38 7D 00 0C */ addi r3, r29, 0xc
/* 801752E0 00172240 48 00 00 08 */ b lbl_801752E8
lbl_801752E4:
/* 801752E4 00172244 7F A3 EB 78 */ mr r3, r29
lbl_801752E8:
/* 801752E8 00172248 88 1E 00 36 */ lbz r0, 0x36(r30)
/* 801752EC 0017224C 80 63 00 08 */ lwz r3, 8(r3)
/* 801752F0 00172250 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 801752F4 00172254 41 82 00 0C */ beq lbl_80175300
/* 801752F8 00172258 38 BE 00 14 */ addi r5, r30, 0x14
/* 801752FC 0017225C 48 00 00 2C */ b lbl_80175328
lbl_80175300:
/* 80175300 00172260 88 1E 00 14 */ lbz r0, 0x14(r30)
/* 80175304 00172264 38 A1 00 08 */ addi r5, r1, 8
/* 80175308 00172268 80 83 00 00 */ lwz r4, 0(r3)
/* 8017530C 0017226C 54 00 08 3C */ slwi r0, r0, 1
/* 80175310 00172270 7C 64 02 14 */ add r3, r4, r0
/* 80175314 00172274 80 84 00 D0 */ lwz r4, 0xd0(r4)
/* 80175318 00172278 88 03 00 09 */ lbz r0, 9(r3)
/* 8017531C 0017227C 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a
/* 80175320 00172280 7C 04 00 AE */ lbzx r0, r4, r0
/* 80175324 00172284 98 01 00 08 */ stb r0, 8(r1)
lbl_80175328:
/* 80175328 00172288 88 05 00 00 */ lbz r0, 0(r5)
/* 8017532C 0017228C 3C 60 80 5A */ lis r3, skIdentity4f@ha
/* 80175330 00172290 38 83 66 70 */ addi r4, r3, skIdentity4f@l
/* 80175334 00172294 98 01 00 0C */ stb r0, 0xc(r1)
/* 80175338 00172298 38 61 01 FC */ addi r3, r1, 0x1fc
/* 8017533C 0017229C 48 19 D8 39 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80175340 001722A0 7F A3 EB 78 */ mr r3, r29
/* 80175344 001722A4 38 81 00 0C */ addi r4, r1, 0xc
/* 80175348 001722A8 38 A1 01 FC */ addi r5, r1, 0x1fc
/* 8017534C 001722AC 48 18 70 1D */ bl BuildTransform__21CHierarchyPoseBuilderCFRC6CSegIdR12CTransform4f
/* 80175350 001722B0 88 7E 00 36 */ lbz r3, 0x36(r30)
/* 80175354 001722B4 C0 A1 02 28 */ lfs f5, 0x228(r1)
/* 80175358 001722B8 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f
/* 8017535C 001722BC C0 81 02 18 */ lfs f4, 0x218(r1)
/* 80175360 001722C0 C0 61 02 08 */ lfs f3, 0x208(r1)
/* 80175364 001722C4 41 82 00 38 */ beq lbl_8017539C
/* 80175368 001722C8 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f
/* 8017536C 001722CC 40 82 00 30 */ bne lbl_8017539C
/* 80175370 001722D0 3C 80 80 5A */ lis r4, skIdentity4f@ha
/* 80175374 001722D4 38 61 01 CC */ addi r3, r1, 0x1cc
/* 80175378 001722D8 38 84 66 70 */ addi r4, r4, skIdentity4f@l
/* 8017537C 001722DC 48 19 D7 F9 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80175380 001722E0 7F A3 EB 78 */ mr r3, r29
/* 80175384 001722E4 38 9E 00 14 */ addi r4, r30, 0x14
/* 80175388 001722E8 38 A1 01 CC */ addi r5, r1, 0x1cc
/* 8017538C 001722EC 48 18 6F DD */ bl BuildTransform__21CHierarchyPoseBuilderCFRC6CSegIdR12CTransform4f
/* 80175390 001722F0 C0 61 01 D8 */ lfs f3, 0x1d8(r1)
/* 80175394 001722F4 C0 81 01 E8 */ lfs f4, 0x1e8(r1)
/* 80175398 001722F8 C0 A1 01 F8 */ lfs f5, 0x1f8(r1)
lbl_8017539C:
/* 8017539C 001722FC C0 5B 00 08 */ lfs f2, 8(r27)
/* 801753A0 00172300 7F 44 D3 78 */ mr r4, r26
/* 801753A4 00172304 C0 3B 00 04 */ lfs f1, 4(r27)
/* 801753A8 00172308 38 61 01 6C */ addi r3, r1, 0x16c
/* 801753AC 0017230C C0 1B 00 00 */ lfs f0, 0(r27)
/* 801753B0 00172310 EC 42 01 72 */ fmuls f2, f2, f5
/* 801753B4 00172314 EC 21 01 32 */ fmuls f1, f1, f4
/* 801753B8 00172318 38 A1 01 FC */ addi r5, r1, 0x1fc
/* 801753BC 0017231C EC 00 00 F2 */ fmuls f0, f0, f3
/* 801753C0 00172320 D0 41 02 28 */ stfs f2, 0x228(r1)
/* 801753C4 00172324 D0 01 02 08 */ stfs f0, 0x208(r1)
/* 801753C8 00172328 D0 21 02 18 */ stfs f1, 0x218(r1)
/* 801753CC 0017232C 48 19 D5 85 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 801753D0 00172330 38 61 01 9C */ addi r3, r1, 0x19c
/* 801753D4 00172334 38 81 01 6C */ addi r4, r1, 0x16c
/* 801753D8 00172338 48 19 D7 9D */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801753DC 0017233C 28 1C 00 00 */ cmplwi r28, 0
/* 801753E0 00172340 41 82 00 2C */ beq lbl_8017540C
/* 801753E4 00172344 7F 84 E3 78 */ mr r4, r28
/* 801753E8 00172348 7F 25 CB 78 */ mr r5, r25
/* 801753EC 0017234C 81 9C 00 00 */ lwz r12, 0(r28)
/* 801753F0 00172350 38 61 01 04 */ addi r3, r1, 0x104
/* 801753F4 00172354 C0 22 A1 78 */ lfs f1, lbl_805ABE98@sda21(r2)
/* 801753F8 00172358 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 801753FC 0017235C 7D 89 03 A6 */ mtctr r12
/* 80175400 00172360 4E 80 04 21 */ bctrl
/* 80175404 00172364 38 C1 01 04 */ addi r6, r1, 0x104
/* 80175408 00172368 48 00 00 08 */ b lbl_80175410
lbl_8017540C:
/* 8017540C 0017236C 38 DE 00 24 */ addi r6, r30, 0x24
lbl_80175410:
/* 80175410 00172370 C0 46 00 04 */ lfs f2, 4(r6)
/* 80175414 00172374 38 61 00 EC */ addi r3, r1, 0xec
/* 80175418 00172378 C0 21 01 B8 */ lfs f1, 0x1b8(r1)
/* 8017541C 0017237C 38 81 01 9C */ addi r4, r1, 0x19c
/* 80175420 00172380 C0 86 00 08 */ lfs f4, 8(r6)
/* 80175424 00172384 38 A1 00 40 */ addi r5, r1, 0x40
/* 80175428 00172388 C0 01 01 C8 */ lfs f0, 0x1c8(r1)
/* 8017542C 0017238C EC 22 08 28 */ fsubs f1, f2, f1
/* 80175430 00172390 C0 66 00 00 */ lfs f3, 0(r6)
/* 80175434 00172394 C0 41 01 A8 */ lfs f2, 0x1a8(r1)
/* 80175438 00172398 EC 04 00 28 */ fsubs f0, f4, f0
/* 8017543C 0017239C D0 21 00 44 */ stfs f1, 0x44(r1)
/* 80175440 001723A0 EC 23 10 28 */ fsubs f1, f3, f2
/* 80175444 001723A4 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 80175448 001723A8 D0 21 00 40 */ stfs f1, 0x40(r1)
/* 8017544C 001723AC 48 19 D5 D9 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f
/* 80175450 001723B0 38 61 00 F8 */ addi r3, r1, 0xf8
/* 80175454 001723B4 38 81 00 EC */ addi r4, r1, 0xec
/* 80175458 001723B8 48 19 F3 F9 */ bl AsNormalized__9CVector3fCFv
/* 8017545C 001723BC C0 21 00 F8 */ lfs f1, 0xf8(r1)
/* 80175460 001723C0 C0 41 00 FC */ lfs f2, 0xfc(r1)
/* 80175464 001723C4 C0 01 01 00 */ lfs f0, 0x100(r1)
/* 80175468 001723C8 D0 21 01 60 */ stfs f1, 0x160(r1)
/* 8017546C 001723CC D0 41 01 64 */ stfs f2, 0x164(r1)
/* 80175470 001723D0 D0 01 01 68 */ stfs f0, 0x168(r1)
/* 80175474 001723D4 88 1E 00 36 */ lbz r0, 0x36(r30)
/* 80175478 001723D8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 8017547C 001723DC 41 82 00 28 */ beq lbl_801754A4
/* 80175480 001723E0 EC 21 00 72 */ fmuls f1, f1, f1
/* 80175484 001723E4 EC 02 00 B2 */ fmuls f0, f2, f2
/* 80175488 001723E8 EC 21 00 2A */ fadds f1, f1, f0
/* 8017548C 001723EC 48 1A 00 75 */ bl SqrtF__5CMathFf
/* 80175490 001723F0 C0 41 01 68 */ lfs f2, 0x168(r1)
/* 80175494 001723F4 C0 02 A1 78 */ lfs f0, lbl_805ABE98@sda21(r2)
/* 80175498 001723F8 D0 21 01 64 */ stfs f1, 0x164(r1)
/* 8017549C 001723FC D0 01 01 60 */ stfs f0, 0x160(r1)
/* 801754A0 00172400 D0 41 01 68 */ stfs f2, 0x168(r1)
lbl_801754A4:
/* 801754A4 00172404 88 1E 00 36 */ lbz r0, 0x36(r30)
/* 801754A8 00172408 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f
/* 801754AC 0017240C 41 82 00 94 */ beq lbl_80175540
/* 801754B0 00172410 C0 41 02 20 */ lfs f2, 0x220(r1)
/* 801754B4 00172414 C0 21 02 00 */ lfs f1, 0x200(r1)
/* 801754B8 00172418 FF E0 10 50 */ fneg f31, f2
/* 801754BC 0017241C C0 02 A1 7C */ lfs f0, lbl_805ABE9C@sda21(r2)
/* 801754C0 00172420 C0 61 02 10 */ lfs f3, 0x210(r1)
/* 801754C4 00172424 D0 21 00 E0 */ stfs f1, 0xe0(r1)
/* 801754C8 00172428 EC 3F 07 FC */ fnmsubs f1, f31, f31, f0
/* 801754CC 0017242C D0 61 00 E4 */ stfs f3, 0xe4(r1)
/* 801754D0 00172430 D0 41 00 E8 */ stfs f2, 0xe8(r1)
/* 801754D4 00172434 48 1A 00 2D */ bl SqrtF__5CMathFf
/* 801754D8 00172438 C0 02 A1 78 */ lfs f0, lbl_805ABE98@sda21(r2)
/* 801754DC 0017243C 38 61 01 54 */ addi r3, r1, 0x154
/* 801754E0 00172440 D0 21 01 58 */ stfs f1, 0x158(r1)
/* 801754E4 00172444 38 81 01 60 */ addi r4, r1, 0x160
/* 801754E8 00172448 D0 01 01 54 */ stfs f0, 0x154(r1)
/* 801754EC 0017244C D3 E1 01 5C */ stfs f31, 0x15c(r1)
/* 801754F0 00172450 48 19 F1 41 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f
/* 801754F4 00172454 D0 21 00 34 */ stfs f1, 0x34(r1)
/* 801754F8 00172458 38 61 00 34 */ addi r3, r1, 0x34
/* 801754FC 0017245C 38 9E 00 1C */ addi r4, r30, 0x1c
/* 80175500 00172460 4B F0 88 E1 */ bl "Min<f>__5CMathFRCfRCf"
/* 80175504 00172464 C0 03 00 00 */ lfs f0, 0(r3)
/* 80175508 00172468 38 61 00 D4 */ addi r3, r1, 0xd4
/* 8017550C 0017246C 38 81 01 54 */ addi r4, r1, 0x154
/* 80175510 00172470 38 A1 01 60 */ addi r5, r1, 0x160
/* 80175514 00172474 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 80175518 00172478 38 C1 00 1C */ addi r6, r1, 0x1c
/* 8017551C 0017247C D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 80175520 00172480 48 19 F4 35 */ bl Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle
/* 80175524 00172484 C0 41 00 D4 */ lfs f2, 0xd4(r1)
/* 80175528 00172488 C0 21 00 D8 */ lfs f1, 0xd8(r1)
/* 8017552C 0017248C C0 01 00 DC */ lfs f0, 0xdc(r1)
/* 80175530 00172490 D0 41 01 60 */ stfs f2, 0x160(r1)
/* 80175534 00172494 D0 21 01 64 */ stfs f1, 0x164(r1)
/* 80175538 00172498 D0 01 01 68 */ stfs f0, 0x168(r1)
/* 8017553C 0017249C 48 00 00 60 */ b lbl_8017559C
lbl_80175540:
/* 80175540 001724A0 3C 60 80 5A */ lis r3, lbl_805A6724@ha
/* 80175544 001724A4 38 81 01 60 */ addi r4, r1, 0x160
/* 80175548 001724A8 38 63 67 24 */ addi r3, r3, lbl_805A6724@l
/* 8017554C 001724AC 48 19 F0 E5 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f
/* 80175550 001724B0 D0 21 00 30 */ stfs f1, 0x30(r1)
/* 80175554 001724B4 38 61 00 30 */ addi r3, r1, 0x30
/* 80175558 001724B8 38 9E 00 1C */ addi r4, r30, 0x1c
/* 8017555C 001724BC 4B F0 88 85 */ bl "Min<f>__5CMathFRCfRCf"
/* 80175560 001724C0 C0 03 00 00 */ lfs f0, 0(r3)
/* 80175564 001724C4 3C 60 80 5A */ lis r3, lbl_805A6724@ha
/* 80175568 001724C8 38 83 67 24 */ addi r4, r3, lbl_805A6724@l
/* 8017556C 001724CC 38 A1 01 60 */ addi r5, r1, 0x160
/* 80175570 001724D0 D0 01 00 30 */ stfs f0, 0x30(r1)
/* 80175574 001724D4 38 61 00 C8 */ addi r3, r1, 0xc8
/* 80175578 001724D8 38 C1 00 18 */ addi r6, r1, 0x18
/* 8017557C 001724DC D0 01 00 18 */ stfs f0, 0x18(r1)
/* 80175580 001724E0 48 19 F3 D5 */ bl Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle
/* 80175584 001724E4 C0 41 00 C8 */ lfs f2, 0xc8(r1)
/* 80175588 001724E8 C0 21 00 CC */ lfs f1, 0xcc(r1)
/* 8017558C 001724EC C0 01 00 D0 */ lfs f0, 0xd0(r1)
/* 80175590 001724F0 D0 41 01 60 */ stfs f2, 0x160(r1)
/* 80175594 001724F4 D0 21 01 64 */ stfs f1, 0x164(r1)
/* 80175598 001724F8 D0 01 01 68 */ stfs f0, 0x168(r1)
lbl_8017559C:
/* 8017559C 001724FC 3C 60 80 5A */ lis r3, lbl_805A6724@ha
/* 801755A0 00172500 7F C4 F3 78 */ mr r4, r30
/* 801755A4 00172504 38 A3 67 24 */ addi r5, r3, lbl_805A6724@l
/* 801755A8 00172508 38 61 00 BC */ addi r3, r1, 0xbc
/* 801755AC 0017250C 48 19 BC B9 */ bl Transform__11CQuaternionCFRC9CVector3f
/* 801755B0 00172510 C0 41 00 BC */ lfs f2, 0xbc(r1)
/* 801755B4 00172514 38 61 01 48 */ addi r3, r1, 0x148
/* 801755B8 00172518 C0 21 00 C0 */ lfs f1, 0xc0(r1)
/* 801755BC 0017251C 38 81 01 60 */ addi r4, r1, 0x160
/* 801755C0 00172520 C0 01 00 C4 */ lfs f0, 0xc4(r1)
/* 801755C4 00172524 D0 41 01 48 */ stfs f2, 0x148(r1)
/* 801755C8 00172528 D0 21 01 4C */ stfs f1, 0x14c(r1)
/* 801755CC 0017252C D0 01 01 50 */ stfs f0, 0x150(r1)
/* 801755D0 00172530 48 19 F0 61 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f
/* 801755D4 00172534 C0 5E 00 18 */ lfs f2, 0x18(r30)
/* 801755D8 00172538 38 61 00 2C */ addi r3, r1, 0x2c
/* 801755DC 0017253C C0 1E 00 20 */ lfs f0, 0x20(r30)
/* 801755E0 00172540 38 81 00 28 */ addi r4, r1, 0x28
/* 801755E4 00172544 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 801755E8 00172548 EC 02 00 32 */ fmuls f0, f2, f0
/* 801755EC 0017254C D0 01 00 28 */ stfs f0, 0x28(r1)
/* 801755F0 00172550 4B F0 87 F1 */ bl "Min<f>__5CMathFRCfRCf"
/* 801755F4 00172554 C3 E3 00 00 */ lfs f31, 0(r3)
/* 801755F8 00172558 C0 02 A1 80 */ lfs f0, lbl_805ABEA0@sda21(r2)
/* 801755FC 0017255C FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 80175600 00172560 40 81 00 98 */ ble lbl_80175698
/* 80175604 00172564 C0 02 A1 84 */ lfs f0, lbl_805ABEA4@sda21(r2)
/* 80175608 00172568 38 61 00 94 */ addi r3, r1, 0x94
/* 8017560C 0017256C 38 81 01 60 */ addi r4, r1, 0x160
/* 80175610 00172570 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80175614 00172574 48 19 E7 BD */ bl __ct__11CUnitVectorFRC9CVector3f
/* 80175618 00172578 3C 80 80 5A */ lis r4, lbl_805A6724@ha
/* 8017561C 0017257C 7C 79 1B 78 */ mr r25, r3
/* 80175620 00172580 38 84 67 24 */ addi r4, r4, lbl_805A6724@l
/* 80175624 00172584 38 61 00 A0 */ addi r3, r1, 0xa0
/* 80175628 00172588 48 19 E7 A9 */ bl __ct__11CUnitVectorFRC9CVector3f
/* 8017562C 0017258C 7C 64 1B 78 */ mr r4, r3
/* 80175630 00172590 7F 25 CB 78 */ mr r5, r25
/* 80175634 00172594 38 61 00 AC */ addi r3, r1, 0xac
/* 80175638 00172598 38 C1 00 14 */ addi r6, r1, 0x14
/* 8017563C 0017259C 48 19 C0 59 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle
/* 80175640 001725A0 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 80175644 001725A4 7F C4 F3 78 */ mr r4, r30
/* 80175648 001725A8 C0 81 00 AC */ lfs f4, 0xac(r1)
/* 8017564C 001725AC 38 61 00 84 */ addi r3, r1, 0x84
/* 80175650 001725B0 EC 3F 00 24 */ fdivs f1, f31, f0
/* 80175654 001725B4 C0 61 00 B0 */ lfs f3, 0xb0(r1)
/* 80175658 001725B8 C0 41 00 B4 */ lfs f2, 0xb4(r1)
/* 8017565C 001725BC 38 A1 01 38 */ addi r5, r1, 0x138
/* 80175660 001725C0 C0 01 00 B8 */ lfs f0, 0xb8(r1)
/* 80175664 001725C4 D0 81 01 38 */ stfs f4, 0x138(r1)
/* 80175668 001725C8 D0 61 01 3C */ stfs f3, 0x13c(r1)
/* 8017566C 001725CC D0 41 01 40 */ stfs f2, 0x140(r1)
/* 80175670 001725D0 D0 01 01 44 */ stfs f0, 0x144(r1)
/* 80175674 001725D4 48 19 BF 45 */ bl SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf
/* 80175678 001725D8 C0 01 00 84 */ lfs f0, 0x84(r1)
/* 8017567C 001725DC D0 1E 00 00 */ stfs f0, 0(r30)
/* 80175680 001725E0 80 61 00 88 */ lwz r3, 0x88(r1)
/* 80175684 001725E4 80 01 00 8C */ lwz r0, 0x8c(r1)
/* 80175688 001725E8 90 7E 00 04 */ stw r3, 4(r30)
/* 8017568C 001725EC 90 1E 00 08 */ stw r0, 8(r30)
/* 80175690 001725F0 80 01 00 90 */ lwz r0, 0x90(r1)
/* 80175694 001725F4 90 1E 00 0C */ stw r0, 0xc(r30)
lbl_80175698:
/* 80175698 001725F8 88 1E 00 14 */ lbz r0, 0x14(r30)
/* 8017569C 001725FC 38 60 00 00 */ li r3, 0
/* 801756A0 00172600 80 BD 01 08 */ lwz r5, 0x108(r29)
/* 801756A4 00172604 54 00 08 3C */ slwi r0, r0, 1
/* 801756A8 00172608 C0 1E 00 00 */ lfs f0, 0(r30)
/* 801756AC 0017260C 7C 9D 02 14 */ add r4, r29, r0
/* 801756B0 00172610 88 04 00 41 */ lbz r0, 0x41(r4)
/* 801756B4 00172614 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a
/* 801756B8 00172618 7C A5 02 14 */ add r5, r5, r0
/* 801756BC 0017261C D0 05 00 04 */ stfs f0, 4(r5)
/* 801756C0 00172620 80 9E 00 04 */ lwz r4, 4(r30)
/* 801756C4 00172624 80 1E 00 08 */ lwz r0, 8(r30)
/* 801756C8 00172628 90 85 00 08 */ stw r4, 8(r5)
/* 801756CC 0017262C 90 05 00 0C */ stw r0, 0xc(r5)
/* 801756D0 00172630 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 801756D4 00172634 90 05 00 10 */ stw r0, 0x10(r5)
/* 801756D8 00172638 88 1F 02 20 */ lbz r0, 0x220(r31)
/* 801756DC 0017263C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e
/* 801756E0 00172640 98 1F 02 20 */ stb r0, 0x220(r31)
/* 801756E4 00172644 48 00 02 08 */ b lbl_801758EC
lbl_801756E8:
/* 801756E8 00172648 88 1E 00 36 */ lbz r0, 0x36(r30)
/* 801756EC 0017264C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 801756F0 00172650 41 82 01 A0 */ beq lbl_80175890
/* 801756F4 00172654 3C 60 80 5A */ lis r3, lbl_805A6724@ha
/* 801756F8 00172658 7F C4 F3 78 */ mr r4, r30
/* 801756FC 0017265C 38 A3 67 24 */ addi r5, r3, lbl_805A6724@l
/* 80175700 00172660 38 61 00 78 */ addi r3, r1, 0x78
/* 80175704 00172664 48 19 BB 61 */ bl Transform__11CQuaternionCFRC9CVector3f
/* 80175708 00172668 C0 41 00 78 */ lfs f2, 0x78(r1)
/* 8017570C 0017266C 3C 60 80 5A */ lis r3, lbl_805A6724@ha
/* 80175710 00172670 C0 21 00 7C */ lfs f1, 0x7c(r1)
/* 80175714 00172674 38 A3 67 24 */ addi r5, r3, lbl_805A6724@l
/* 80175718 00172678 C0 01 00 80 */ lfs f0, 0x80(r1)
/* 8017571C 0017267C 3B 9D 00 40 */ addi r28, r29, 0x40
/* 80175720 00172680 D0 41 01 2C */ stfs f2, 0x12c(r1)
/* 80175724 00172684 38 61 00 6C */ addi r3, r1, 0x6c
/* 80175728 00172688 38 81 01 1C */ addi r4, r1, 0x11c
/* 8017572C 0017268C D0 21 01 30 */ stfs f1, 0x130(r1)
/* 80175730 00172690 D0 01 01 34 */ stfs f0, 0x134(r1)
/* 80175734 00172694 88 1E 00 14 */ lbz r0, 0x14(r30)
/* 80175738 00172698 80 FD 01 08 */ lwz r7, 0x108(r29)
/* 8017573C 0017269C 54 00 08 3C */ slwi r0, r0, 1
/* 80175740 001726A0 7C DC 02 14 */ add r6, r28, r0
/* 80175744 001726A4 88 06 00 01 */ lbz r0, 1(r6)
/* 80175748 001726A8 54 06 2C F4 */ rlwinm r6, r0, 5, 0x13, 0x1a
/* 8017574C 001726AC 38 C6 00 04 */ addi r6, r6, 4
/* 80175750 001726B0 7C C7 32 14 */ add r6, r7, r6
/* 80175754 001726B4 C0 26 00 04 */ lfs f1, 4(r6)
/* 80175758 001726B8 C0 46 00 08 */ lfs f2, 8(r6)
/* 8017575C 001726BC C0 66 00 0C */ lfs f3, 0xc(r6)
/* 80175760 001726C0 C0 06 00 00 */ lfs f0, 0(r6)
/* 80175764 001726C4 D0 01 01 1C */ stfs f0, 0x11c(r1)
/* 80175768 001726C8 D0 21 01 20 */ stfs f1, 0x120(r1)
/* 8017576C 001726CC D0 41 01 24 */ stfs f2, 0x124(r1)
/* 80175770 001726D0 D0 61 01 28 */ stfs f3, 0x128(r1)
/* 80175774 001726D4 48 19 BA F1 */ bl Transform__11CQuaternionCFRC9CVector3f
/* 80175778 001726D8 C0 41 00 6C */ lfs f2, 0x6c(r1)
/* 8017577C 001726DC 38 61 01 2C */ addi r3, r1, 0x12c
/* 80175780 001726E0 C0 21 00 70 */ lfs f1, 0x70(r1)
/* 80175784 001726E4 38 81 01 10 */ addi r4, r1, 0x110
/* 80175788 001726E8 C0 01 00 74 */ lfs f0, 0x74(r1)
/* 8017578C 001726EC D0 41 01 10 */ stfs f2, 0x110(r1)
/* 80175790 001726F0 D0 21 01 14 */ stfs f1, 0x114(r1)
/* 80175794 001726F4 D0 01 01 18 */ stfs f0, 0x118(r1)
/* 80175798 001726F8 48 19 EE 99 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f
/* 8017579C 001726FC C0 5E 00 18 */ lfs f2, 0x18(r30)
/* 801757A0 00172700 38 61 00 24 */ addi r3, r1, 0x24
/* 801757A4 00172704 C0 1E 00 20 */ lfs f0, 0x20(r30)
/* 801757A8 00172708 38 81 00 20 */ addi r4, r1, 0x20
/* 801757AC 0017270C D0 21 00 24 */ stfs f1, 0x24(r1)
/* 801757B0 00172710 EC 02 00 32 */ fmuls f0, f2, f0
/* 801757B4 00172714 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 801757B8 00172718 4B F0 86 29 */ bl "Min<f>__5CMathFRCfRCf"
/* 801757BC 0017271C C0 22 A1 88 */ lfs f1, lbl_805ABEA8@sda21(r2)
/* 801757C0 00172720 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 801757C4 00172724 C0 43 00 00 */ lfs f2, 0(r3)
/* 801757C8 00172728 EC 01 00 32 */ fmuls f0, f1, f0
/* 801757CC 0017272C FC 02 00 40 */ fcmpo cr0, f2, f0
/* 801757D0 00172730 40 81 00 8C */ ble lbl_8017585C
/* 801757D4 00172734 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 801757D8 00172738 7F C4 F3 78 */ mr r4, r30
/* 801757DC 0017273C 38 61 00 5C */ addi r3, r1, 0x5c
/* 801757E0 00172740 38 A1 01 1C */ addi r5, r1, 0x11c
/* 801757E4 00172744 EC 22 00 24 */ fdivs f1, f2, f0
/* 801757E8 00172748 48 19 BD D1 */ bl SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf
/* 801757EC 0017274C C0 01 00 5C */ lfs f0, 0x5c(r1)
/* 801757F0 00172750 38 60 00 00 */ li r3, 0
/* 801757F4 00172754 D0 1E 00 00 */ stfs f0, 0(r30)
/* 801757F8 00172758 80 81 00 60 */ lwz r4, 0x60(r1)
/* 801757FC 0017275C 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80175800 00172760 90 9E 00 04 */ stw r4, 4(r30)
/* 80175804 00172764 90 1E 00 08 */ stw r0, 8(r30)
/* 80175808 00172768 80 01 00 68 */ lwz r0, 0x68(r1)
/* 8017580C 0017276C 90 1E 00 0C */ stw r0, 0xc(r30)
/* 80175810 00172770 88 1E 00 14 */ lbz r0, 0x14(r30)
/* 80175814 00172774 80 BD 01 08 */ lwz r5, 0x108(r29)
/* 80175818 00172778 54 04 08 3C */ slwi r4, r0, 1
/* 8017581C 0017277C C0 1E 00 00 */ lfs f0, 0(r30)
/* 80175820 00172780 38 04 00 01 */ addi r0, r4, 1
/* 80175824 00172784 7C 1C 00 AE */ lbzx r0, r28, r0
/* 80175828 00172788 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a
/* 8017582C 0017278C 7C A5 02 14 */ add r5, r5, r0
/* 80175830 00172790 D0 05 00 04 */ stfs f0, 4(r5)
/* 80175834 00172794 80 9E 00 04 */ lwz r4, 4(r30)
/* 80175838 00172798 80 1E 00 08 */ lwz r0, 8(r30)
/* 8017583C 0017279C 90 85 00 08 */ stw r4, 8(r5)
/* 80175840 001727A0 90 05 00 0C */ stw r0, 0xc(r5)
/* 80175844 001727A4 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 80175848 001727A8 90 05 00 10 */ stw r0, 0x10(r5)
/* 8017584C 001727AC 88 1F 02 20 */ lbz r0, 0x220(r31)
/* 80175850 001727B0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e
/* 80175854 001727B4 98 1F 02 20 */ stb r0, 0x220(r31)
/* 80175858 001727B8 48 00 00 94 */ b lbl_801758EC
lbl_8017585C:
/* 8017585C 001727BC 88 1E 00 36 */ lbz r0, 0x36(r30)
/* 80175860 001727C0 38 60 00 00 */ li r3, 0
/* 80175864 001727C4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 80175868 001727C8 98 1E 00 36 */ stb r0, 0x36(r30)
/* 8017586C 001727CC C0 01 01 1C */ lfs f0, 0x11c(r1)
/* 80175870 001727D0 D0 1E 00 00 */ stfs f0, 0(r30)
/* 80175874 001727D4 80 61 01 20 */ lwz r3, 0x120(r1)
/* 80175878 001727D8 80 01 01 24 */ lwz r0, 0x124(r1)
/* 8017587C 001727DC 90 7E 00 04 */ stw r3, 4(r30)
/* 80175880 001727E0 90 1E 00 08 */ stw r0, 8(r30)
/* 80175884 001727E4 80 01 01 28 */ lwz r0, 0x128(r1)
/* 80175888 001727E8 90 1E 00 0C */ stw r0, 0xc(r30)
/* 8017588C 001727EC 48 00 00 60 */ b lbl_801758EC
lbl_80175890:
/* 80175890 001727F0 88 1E 00 14 */ lbz r0, 0x14(r30)
/* 80175894 001727F4 80 9D 01 08 */ lwz r4, 0x108(r29)
/* 80175898 001727F8 54 00 08 3C */ slwi r0, r0, 1
/* 8017589C 001727FC 7C 7D 02 14 */ add r3, r29, r0
/* 801758A0 00172800 88 03 00 41 */ lbz r0, 0x41(r3)
/* 801758A4 00172804 54 03 2C F4 */ rlwinm r3, r0, 5, 0x13, 0x1a
/* 801758A8 00172808 38 63 00 04 */ addi r3, r3, 4
/* 801758AC 0017280C 7C 64 1A 14 */ add r3, r4, r3
/* 801758B0 00172810 C0 03 00 04 */ lfs f0, 4(r3)
/* 801758B4 00172814 C0 43 00 00 */ lfs f2, 0(r3)
/* 801758B8 00172818 D0 01 00 50 */ stfs f0, 0x50(r1)
/* 801758BC 0017281C C0 23 00 08 */ lfs f1, 8(r3)
/* 801758C0 00172820 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 801758C4 00172824 D0 21 00 54 */ stfs f1, 0x54(r1)
/* 801758C8 00172828 80 01 00 50 */ lwz r0, 0x50(r1)
/* 801758CC 0017282C D0 5E 00 00 */ stfs f2, 0(r30)
/* 801758D0 00172830 80 61 00 54 */ lwz r3, 0x54(r1)
/* 801758D4 00172834 D0 01 00 58 */ stfs f0, 0x58(r1)
/* 801758D8 00172838 90 1E 00 04 */ stw r0, 4(r30)
/* 801758DC 0017283C 80 01 00 58 */ lwz r0, 0x58(r1)
/* 801758E0 00172840 90 7E 00 08 */ stw r3, 8(r30)
/* 801758E4 00172844 D0 41 00 4C */ stfs f2, 0x4c(r1)
/* 801758E8 00172848 90 1E 00 0C */ stw r0, 0xc(r30)
lbl_801758EC:
/* 801758EC 0017284C C0 02 A1 78 */ lfs f0, lbl_805ABE98@sda21(r2)
/* 801758F0 00172850 D0 1E 00 18 */ stfs f0, 0x18(r30)
/* 801758F4 00172854 E3 E1 02 58 */ psq_l f31, 600(r1), 0, qr0
/* 801758F8 00172858 CB E1 02 50 */ lfd f31, 0x250(r1)
/* 801758FC 0017285C BB 01 02 30 */ lmw r24, 0x230(r1)
/* 80175900 00172860 80 01 02 64 */ lwz r0, 0x264(r1)
/* 80175904 00172864 7C 08 03 A6 */ mtlr r0
/* 80175908 00172868 38 21 02 60 */ addi r1, r1, 0x260
/* 8017590C 0017286C 4E 80 00 20 */ blr
.global PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController
PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController:
/* 80175910 00172870 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80175914 00172874 7C 08 02 A6 */ mflr r0
/* 80175918 00172878 90 01 00 34 */ stw r0, 0x34(r1)
/* 8017591C 0017287C BF 21 00 14 */ stmw r25, 0x14(r1)
/* 80175920 00172880 7C 9A 23 78 */ mr r26, r4
/* 80175924 00172884 7C 79 1B 78 */ mr r25, r3
/* 80175928 00172888 7D 1F 43 78 */ mr r31, r8
/* 8017592C 0017288C 7C BB 2B 78 */ mr r27, r5
/* 80175930 00172890 7C DC 33 78 */ mr r28, r6
/* 80175934 00172894 7C FD 3B 78 */ mr r29, r7
/* 80175938 00172898 38 61 00 08 */ addi r3, r1, 8
/* 8017593C 0017289C 80 88 00 00 */ lwz r4, 0(r8)
/* 80175940 001728A0 4B F3 71 89 */ bl "__ct__16TCastToPtr<10CPatterned>FR7CEntity"
/* 80175944 001728A4 83 C3 00 04 */ lwz r30, 4(r3)
/* 80175948 001728A8 38 7F 02 A4 */ addi r3, r31, 0x2a4
/* 8017594C 001728AC 3B E0 00 00 */ li r31, 0
/* 80175950 001728B0 4B FB E6 79 */ bl ApplyHeadTracking__14CBodyStateInfoCFv
/* 80175954 001728B4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80175958 001728B8 41 82 00 20 */ beq lbl_80175978
/* 8017595C 001728BC 28 1E 00 00 */ cmplwi r30, 0
/* 80175960 001728C0 41 82 00 14 */ beq lbl_80175974
/* 80175964 001728C4 7F C3 F3 78 */ mr r3, r30
/* 80175968 001728C8 4B F0 71 39 */ bl ApplyBoneTracking__10CPatternedCFv
/* 8017596C 001728CC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80175970 001728D0 41 82 00 08 */ beq lbl_80175978
lbl_80175974:
/* 80175974 001728D4 3B E0 00 01 */ li r31, 1
lbl_80175978:
/* 80175978 001728D8 7F 23 CB 78 */ mr r3, r25
/* 8017597C 001728DC 7F 44 D3 78 */ mr r4, r26
/* 80175980 001728E0 7F 65 DB 78 */ mr r5, r27
/* 80175984 001728E4 7F 86 E3 78 */ mr r6, r28
/* 80175988 001728E8 7F A7 EB 78 */ mr r7, r29
/* 8017598C 001728EC 7F E8 FB 78 */ mr r8, r31
/* 80175990 001728F0 4B FF F8 A5 */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fb
/* 80175994 001728F4 BB 21 00 14 */ lmw r25, 0x14(r1)
/* 80175998 001728F8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8017599C 001728FC 7C 08 03 A6 */ mtlr r0
/* 801759A0 00172900 38 21 00 30 */ addi r1, r1, 0x30
/* 801759A4 00172904 4E 80 00 20 */ blr
.global Update__13CBoneTrackingFf
Update__13CBoneTrackingFf:
/* 801759A8 00172908 C0 03 00 18 */ lfs f0, 0x18(r3)
/* 801759AC 0017290C EC 00 08 2A */ fadds f0, f0, f1
/* 801759B0 00172910 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 801759B4 00172914 4E 80 00 20 */ blr
.global "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>ffb"
"__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>ffb":
/* 801759B8 00172918 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 801759BC 0017291C 7C 08 02 A6 */ mflr r0
/* 801759C0 00172920 90 01 00 44 */ stw r0, 0x44(r1)
/* 801759C4 00172924 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 801759C8 00172928 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 801759CC 0017292C DB C1 00 20 */ stfd f30, 0x20(r1)
/* 801759D0 00172930 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0
/* 801759D4 00172934 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801759D8 00172938 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801759DC 0017293C 3C E0 80 5A */ lis r7, lbl_805A6660@ha
/* 801759E0 00172940 C4 67 66 60 */ lfsu f3, lbl_805A6660@l(r7)
/* 801759E4 00172944 FF C0 08 90 */ fmr f30, f1
/* 801759E8 00172948 7C 7F 1B 78 */ mr r31, r3
/* 801759EC 0017294C D0 63 00 00 */ stfs f3, 0(r3)
/* 801759F0 00172950 FF E0 10 90 */ fmr f31, f2
/* 801759F4 00172954 C0 02 A1 78 */ lfs f0, lbl_805ABE98@sda21(r2)
/* 801759F8 00172958 7C DE 33 78 */ mr r30, r6
/* 801759FC 0017295C C0 27 00 04 */ lfs f1, 4(r7)
/* 80175A00 00172960 38 61 00 08 */ addi r3, r1, 8
/* 80175A04 00172964 D0 3F 00 04 */ stfs f1, 4(r31)
/* 80175A08 00172968 C0 27 00 08 */ lfs f1, 8(r7)
/* 80175A0C 0017296C D0 3F 00 08 */ stfs f1, 8(r31)
/* 80175A10 00172970 C0 27 00 0C */ lfs f1, 0xc(r7)
/* 80175A14 00172974 D0 3F 00 0C */ stfs f1, 0xc(r31)
/* 80175A18 00172978 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 80175A1C 0017297C 80 84 00 D4 */ lwz r4, 0xd4(r4)
/* 80175A20 00172980 48 18 22 45 */ bl "GetSegIdFromString__15CCharLayoutInfoCFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80175A24 00172984 88 01 00 08 */ lbz r0, 8(r1)
/* 80175A28 00172988 39 00 00 00 */ li r8, 0
/* 80175A2C 0017298C C0 02 A1 78 */ lfs f0, lbl_805ABE98@sda21(r2)
/* 80175A30 00172990 7F E3 FB 78 */ mr r3, r31
/* 80175A34 00172994 98 1F 00 14 */ stb r0, 0x14(r31)
/* 80175A38 00172998 D0 1F 00 18 */ stfs f0, 0x18(r31)
/* 80175A3C 0017299C D3 DF 00 1C */ stfs f30, 0x1c(r31)
/* 80175A40 001729A0 D3 FF 00 20 */ stfs f31, 0x20(r31)
/* 80175A44 001729A4 99 1F 00 30 */ stb r8, 0x30(r31)
/* 80175A48 001729A8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 80175A4C 001729AC B0 1F 00 34 */ sth r0, 0x34(r31)
/* 80175A50 001729B0 88 1F 00 36 */ lbz r0, 0x36(r31)
/* 80175A54 001729B4 51 00 3E 30 */ rlwimi r0, r8, 7, 0x18, 0x18
/* 80175A58 001729B8 98 1F 00 36 */ stb r0, 0x36(r31)
/* 80175A5C 001729BC 88 1F 00 36 */ lbz r0, 0x36(r31)
/* 80175A60 001729C0 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19
/* 80175A64 001729C4 98 1F 00 36 */ stb r0, 0x36(r31)
/* 80175A68 001729C8 88 1F 00 36 */ lbz r0, 0x36(r31)
/* 80175A6C 001729CC 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a
/* 80175A70 001729D0 98 1F 00 36 */ stb r0, 0x36(r31)
/* 80175A74 001729D4 88 1F 00 36 */ lbz r0, 0x36(r31)
/* 80175A78 001729D8 53 C0 1E F6 */ rlwimi r0, r30, 3, 0x1b, 0x1b
/* 80175A7C 001729DC 98 1F 00 36 */ stb r0, 0x36(r31)
/* 80175A80 001729E0 88 1F 00 36 */ lbz r0, 0x36(r31)
/* 80175A84 001729E4 53 C0 0F 38 */ rlwimi r0, r30, 1, 0x1c, 0x1c
/* 80175A88 001729E8 98 1F 00 36 */ stb r0, 0x36(r31)
/* 80175A8C 001729EC 88 1F 00 36 */ lbz r0, 0x36(r31)
/* 80175A90 001729F0 53 C0 FF 7A */ rlwimi r0, r30, 0x1f, 0x1d, 0x1d
/* 80175A94 001729F4 98 1F 00 36 */ stb r0, 0x36(r31)
/* 80175A98 001729F8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 80175A9C 001729FC CB E1 00 30 */ lfd f31, 0x30(r1)
/* 80175AA0 00172A00 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0
/* 80175AA4 00172A04 CB C1 00 20 */ lfd f30, 0x20(r1)
/* 80175AA8 00172A08 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80175AAC 00172A0C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80175AB0 00172A10 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80175AB4 00172A14 7C 08 03 A6 */ mtlr r0
/* 80175AB8 00172A18 38 21 00 40 */ addi r1, r1, 0x40
/* 80175ABC 00172A1C 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,784 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global RemovePlatform__7CRipperFR13CStateManager
RemovePlatform__7CRipperFR13CStateManager:
/* 8015BDCC 00158D2C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8015BDD0 00158D30 7C 08 02 A6 */ mflr r0
/* 8015BDD4 00158D34 90 01 00 24 */ stw r0, 0x24(r1)
/* 8015BDD8 00158D38 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8015BDDC 00158D3C 7C 7F 1B 78 */ mr r31, r3
/* 8015BDE0 00158D40 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8015BDE4 00158D44 A0 63 05 9A */ lhz r3, 0x59a(r3)
/* 8015BDE8 00158D48 7C 03 00 40 */ cmplw r3, r0
/* 8015BDEC 00158D4C 41 82 00 20 */ beq lbl_8015BE0C
/* 8015BDF0 00158D50 A0 1F 05 9A */ lhz r0, 0x59a(r31)
/* 8015BDF4 00158D54 7C 83 23 78 */ mr r3, r4
/* 8015BDF8 00158D58 38 81 00 08 */ addi r4, r1, 8
/* 8015BDFC 00158D5C B0 01 00 08 */ sth r0, 8(r1)
/* 8015BE00 00158D60 4B EF 04 6D */ bl FreeScriptObject__13CStateManagerF9TUniqueId
/* 8015BE04 00158D64 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8015BE08 00158D68 B0 1F 05 9A */ sth r0, 0x59a(r31)
lbl_8015BE0C:
/* 8015BE0C 00158D6C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8015BE10 00158D70 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8015BE14 00158D74 7C 08 03 A6 */ mtlr r0
/* 8015BE18 00158D78 38 21 00 20 */ addi r1, r1, 0x20
/* 8015BE1C 00158D7C 4E 80 00 20 */ blr
.global AddPlatform__7CRipperFR13CStateManager
AddPlatform__7CRipperFR13CStateManager:
/* 8015BE20 00158D80 94 21 FF 10 */ stwu r1, -0xf0(r1)
/* 8015BE24 00158D84 7C 08 02 A6 */ mflr r0
/* 8015BE28 00158D88 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 8015BE2C 00158D8C BF 41 00 D8 */ stmw r26, 0xd8(r1)
/* 8015BE30 00158D90 7C 7D 1B 78 */ mr r29, r3
/* 8015BE34 00158D94 7C 9E 23 78 */ mr r30, r4
/* 8015BE38 00158D98 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8015BE3C 00158D9C A0 63 05 9A */ lhz r3, 0x59a(r3)
/* 8015BE40 00158DA0 7C 03 00 40 */ cmplw r3, r0
/* 8015BE44 00158DA4 40 82 01 DC */ bne lbl_8015C020
/* 8015BE48 00158DA8 38 61 00 1C */ addi r3, r1, 0x1c
/* 8015BE4C 00158DAC 4B EF 12 91 */ bl AllocateUniqueId__13CStateManagerFv
/* 8015BE50 00158DB0 A0 01 00 1C */ lhz r0, 0x1c(r1)
/* 8015BE54 00158DB4 38 61 00 A4 */ addi r3, r1, 0xa4
/* 8015BE58 00158DB8 38 9D 00 34 */ addi r4, r29, 0x34
/* 8015BE5C 00158DBC B0 1D 05 9A */ sth r0, 0x59a(r29)
/* 8015BE60 00158DC0 83 9D 00 64 */ lwz r28, 0x64(r29)
/* 8015BE64 00158DC4 48 1B 6D DD */ bl GetRotation__12CTransform4fCFv
/* 8015BE68 00158DC8 7F 84 E3 78 */ mr r4, r28
/* 8015BE6C 00158DCC 38 61 00 74 */ addi r3, r1, 0x74
/* 8015BE70 00158DD0 38 A1 00 A4 */ addi r5, r1, 0xa4
/* 8015BE74 00158DD4 4B FB 99 41 */ bl GetBounds__10CModelDataCFRC12CTransform4f
/* 8015BE78 00158DD8 C0 A1 00 74 */ lfs f5, 0x74(r1)
/* 8015BE7C 00158DDC 3C 60 80 3D */ lis r3, lbl_803D0358@ha
/* 8015BE80 00158DE0 C0 81 00 78 */ lfs f4, 0x78(r1)
/* 8015BE84 00158DE4 38 83 03 58 */ addi r4, r3, lbl_803D0358@l
/* 8015BE88 00158DE8 C0 61 00 7C */ lfs f3, 0x7c(r1)
/* 8015BE8C 00158DEC 3B 80 00 00 */ li r28, 0
/* 8015BE90 00158DF0 C0 41 00 80 */ lfs f2, 0x80(r1)
/* 8015BE94 00158DF4 3B 40 00 00 */ li r26, 0
/* 8015BE98 00158DF8 C0 21 00 84 */ lfs f1, 0x84(r1)
/* 8015BE9C 00158DFC 3B 60 00 00 */ li r27, 0
/* 8015BEA0 00158E00 C0 01 00 88 */ lfs f0, 0x88(r1)
/* 8015BEA4 00158E04 38 60 03 60 */ li r3, 0x360
/* 8015BEA8 00158E08 D0 A1 00 8C */ stfs f5, 0x8c(r1)
/* 8015BEAC 00158E0C 38 A0 00 00 */ li r5, 0
/* 8015BEB0 00158E10 D0 81 00 90 */ stfs f4, 0x90(r1)
/* 8015BEB4 00158E14 D0 61 00 94 */ stfs f3, 0x94(r1)
/* 8015BEB8 00158E18 D0 41 00 98 */ stfs f2, 0x98(r1)
/* 8015BEBC 00158E1C D0 21 00 9C */ stfs f1, 0x9c(r1)
/* 8015BEC0 00158E20 D0 01 00 A0 */ stfs f0, 0xa0(r1)
/* 8015BEC4 00158E24 48 1B 99 A9 */ bl __nw__FUlPCcPCc
/* 8015BEC8 00158E28 7C 7F 1B 79 */ or. r31, r3, r3
/* 8015BECC 00158E2C 41 82 00 A4 */ beq lbl_8015BF70
/* 8015BED0 00158E30 38 00 00 00 */ li r0, 0
/* 8015BED4 00158E34 3C 60 80 57 */ lis r3, lbl_8056D410@ha
/* 8015BED8 00158E38 98 01 00 58 */ stb r0, 0x58(r1)
/* 8015BEDC 00158E3C 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l
/* 8015BEE0 00158E40 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13)
/* 8015BEE4 00158E44 38 61 00 5C */ addi r3, r1, 0x5c
/* 8015BEE8 00158E48 88 FD 00 30 */ lbz r7, 0x30(r29)
/* 8015BEEC 00158E4C 38 81 00 34 */ addi r4, r1, 0x34
/* 8015BEF0 00158E50 38 C1 00 38 */ addi r6, r1, 0x38
/* 8015BEF4 00158E54 3B 80 00 01 */ li r28, 1
/* 8015BEF8 00158E58 90 01 00 38 */ stw r0, 0x38(r1)
/* 8015BEFC 00158E5C 54 FB CF FE */ rlwinm r27, r7, 0x19, 0x1f, 0x1f
/* 8015BF00 00158E60 80 1D 00 04 */ lwz r0, 4(r29)
/* 8015BF04 00158E64 90 01 00 30 */ stw r0, 0x30(r1)
/* 8015BF08 00158E68 90 01 00 34 */ stw r0, 0x34(r1)
/* 8015BF0C 00158E6C 4B EF 55 79 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId"
/* 8015BF10 00158E70 3C 80 80 3D */ lis r4, lbl_803D0358@ha
/* 8015BF14 00158E74 38 61 00 3C */ addi r3, r1, 0x3c
/* 8015BF18 00158E78 38 84 03 58 */ addi r4, r4, lbl_803D0358@l
/* 8015BF1C 00158E7C 3B 40 00 01 */ li r26, 1
/* 8015BF20 00158E80 38 84 00 07 */ addi r4, r4, 7
/* 8015BF24 00158E84 4B EA 8D 95 */ bl string_l__4rstlFPCc
/* 8015BF28 00158E88 A1 1D 00 08 */ lhz r8, 8(r29)
/* 8015BF2C 00158E8C 38 01 00 4C */ addi r0, r1, 0x4c
/* 8015BF30 00158E90 7F E3 FB 78 */ mr r3, r31
/* 8015BF34 00158E94 7F 6A DB 78 */ mr r10, r27
/* 8015BF38 00158E98 B1 01 00 18 */ sth r8, 0x18(r1)
/* 8015BF3C 00158E9C 38 81 00 10 */ addi r4, r1, 0x10
/* 8015BF40 00158EA0 38 A1 00 18 */ addi r5, r1, 0x18
/* 8015BF44 00158EA4 38 C1 00 3C */ addi r6, r1, 0x3c
/* 8015BF48 00158EA8 A1 7D 05 9A */ lhz r11, 0x59a(r29)
/* 8015BF4C 00158EAC 38 E1 00 5C */ addi r7, r1, 0x5c
/* 8015BF50 00158EB0 B1 01 00 14 */ sth r8, 0x14(r1)
/* 8015BF54 00158EB4 39 1D 00 34 */ addi r8, r29, 0x34
/* 8015BF58 00158EB8 39 21 00 8C */ addi r9, r1, 0x8c
/* 8015BF5C 00158EBC 3B 60 00 01 */ li r27, 1
/* 8015BF60 00158EC0 B1 61 00 10 */ sth r11, 0x10(r1)
/* 8015BF64 00158EC4 90 01 00 08 */ stw r0, 8(r1)
/* 8015BF68 00158EC8 48 0D 6C 31 */ bl "__ct__25CRipperControlledPlatformF9TUniqueId9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC6CAABoxbRCQ24rstl58optional_object<39TLockedToken<23CCollidableOBBTreeGroup>>"
/* 8015BF6C 00158ECC 7C 7F 1B 78 */ mr r31, r3
lbl_8015BF70:
/* 8015BF70 00158ED0 7F 60 07 75 */ extsb. r0, r27
/* 8015BF74 00158ED4 41 82 00 0C */ beq lbl_8015BF80
/* 8015BF78 00158ED8 38 61 00 3C */ addi r3, r1, 0x3c
/* 8015BF7C 00158EDC 48 1E 1B 65 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8015BF80:
/* 8015BF80 00158EE0 7F 40 07 75 */ extsb. r0, r26
/* 8015BF84 00158EE4 41 82 00 44 */ beq lbl_8015BFC8
/* 8015BF88 00158EE8 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8015BF8C 00158EEC 80 61 00 6C */ lwz r3, 0x6c(r1)
/* 8015BF90 00158EF0 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8015BF94 00158EF4 90 61 00 24 */ stw r3, 0x24(r1)
/* 8015BF98 00158EF8 7C 64 1B 78 */ mr r4, r3
/* 8015BF9C 00158EFC 7C 03 02 14 */ add r0, r3, r0
/* 8015BFA0 00158F00 90 61 00 20 */ stw r3, 0x20(r1)
/* 8015BFA4 00158F04 90 01 00 2C */ stw r0, 0x2c(r1)
/* 8015BFA8 00158F08 90 01 00 28 */ stw r0, 0x28(r1)
/* 8015BFAC 00158F0C 48 00 00 08 */ b lbl_8015BFB4
lbl_8015BFB0:
/* 8015BFB0 00158F10 38 84 00 0C */ addi r4, r4, 0xc
lbl_8015BFB4:
/* 8015BFB4 00158F14 7C 04 00 40 */ cmplw r4, r0
/* 8015BFB8 00158F18 40 82 FF F8 */ bne lbl_8015BFB0
/* 8015BFBC 00158F1C 28 03 00 00 */ cmplwi r3, 0
/* 8015BFC0 00158F20 41 82 00 08 */ beq lbl_8015BFC8
/* 8015BFC4 00158F24 48 1B 99 6D */ bl Free__7CMemoryFPCv
lbl_8015BFC8:
/* 8015BFC8 00158F28 7F 80 07 75 */ extsb. r0, r28
/* 8015BFCC 00158F2C 41 82 00 30 */ beq lbl_8015BFFC
/* 8015BFD0 00158F30 88 01 00 58 */ lbz r0, 0x58(r1)
/* 8015BFD4 00158F34 28 00 00 00 */ cmplwi r0, 0
/* 8015BFD8 00158F38 41 82 00 1C */ beq lbl_8015BFF4
/* 8015BFDC 00158F3C 34 61 00 4C */ addic. r3, r1, 0x4c
/* 8015BFE0 00158F40 41 82 00 14 */ beq lbl_8015BFF4
/* 8015BFE4 00158F44 28 03 00 00 */ cmplwi r3, 0
/* 8015BFE8 00158F48 41 82 00 0C */ beq lbl_8015BFF4
/* 8015BFEC 00158F4C 38 80 00 00 */ li r4, 0
/* 8015BFF0 00158F50 48 1E 4E 51 */ bl __dt__6CTokenFv
lbl_8015BFF4:
/* 8015BFF4 00158F54 38 00 00 00 */ li r0, 0
/* 8015BFF8 00158F58 98 01 00 58 */ stb r0, 0x58(r1)
lbl_8015BFFC:
/* 8015BFFC 00158F5C 28 1F 00 00 */ cmplwi r31, 0
/* 8015C000 00158F60 41 82 00 20 */ beq lbl_8015C020
/* 8015C004 00158F64 7F C3 F3 78 */ mr r3, r30
/* 8015C008 00158F68 7F E4 FB 78 */ mr r4, r31
/* 8015C00C 00158F6C 4B EF 0C E9 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence
/* 8015C010 00158F70 7F E3 FB 78 */ mr r3, r31
/* 8015C014 00158F74 7F C5 F3 78 */ mr r5, r30
/* 8015C018 00158F78 38 80 00 12 */ li r4, 0x12
/* 8015C01C 00158F7C 4B EF 83 35 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager
lbl_8015C020:
/* 8015C020 00158F80 BB 41 00 D8 */ lmw r26, 0xd8(r1)
/* 8015C024 00158F84 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 8015C028 00158F88 7C 08 03 A6 */ mtlr r0
/* 8015C02C 00158F8C 38 21 00 F0 */ addi r1, r1, 0xf0
/* 8015C030 00158F90 4E 80 00 20 */ blr
.global sub_8015c034
sub_8015c034:
/* 8015C034 00158F94 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8015C038 00158F98 7C 08 02 A6 */ mflr r0
/* 8015C03C 00158F9C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8015C040 00158FA0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8015C044 00158FA4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8015C048 00158FA8 7C 7E 1B 78 */ mr r30, r3
/* 8015C04C 00158FAC 80 03 03 FC */ lwz r0, 0x3fc(r3)
/* 8015C050 00158FB0 2C 00 00 01 */ cmpwi r0, 1
/* 8015C054 00158FB4 40 82 00 74 */ bne lbl_8015C0C8
/* 8015C058 00158FB8 A0 7E 05 98 */ lhz r3, 0x598(r30)
/* 8015C05C 00158FBC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8015C060 00158FC0 7C 03 00 40 */ cmplw r3, r0
/* 8015C064 00158FC4 41 82 00 64 */ beq lbl_8015C0C8
/* 8015C068 00158FC8 A0 1E 05 98 */ lhz r0, 0x598(r30)
/* 8015C06C 00158FCC 7C 83 23 78 */ mr r3, r4
/* 8015C070 00158FD0 38 81 00 08 */ addi r4, r1, 8
/* 8015C074 00158FD4 B0 01 00 08 */ sth r0, 8(r1)
/* 8015C078 00158FD8 4B EF 04 FD */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8015C07C 00158FDC 7C 64 1B 78 */ mr r4, r3
/* 8015C080 00158FE0 38 61 00 0C */ addi r3, r1, 0xc
/* 8015C084 00158FE4 4B F4 DA 45 */ bl "__ct__33TCastToPtr<19CScriptGrapplePoint>FP7CEntity"
/* 8015C088 00158FE8 83 E3 00 04 */ lwz r31, 4(r3)
/* 8015C08C 00158FEC 28 1F 00 00 */ cmplwi r31, 0
/* 8015C090 00158FF0 41 82 00 38 */ beq lbl_8015C0C8
/* 8015C094 00158FF4 38 7F 00 34 */ addi r3, r31, 0x34
/* 8015C098 00158FF8 38 9E 00 34 */ addi r4, r30, 0x34
/* 8015C09C 00158FFC 48 1B 6A A5 */ bl __as__12CTransform4fFRC12CTransform4f
/* 8015C0A0 00159000 88 1F 00 E4 */ lbz r0, 0xe4(r31)
/* 8015C0A4 00159004 38 60 00 01 */ li r3, 1
/* 8015C0A8 00159008 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 8015C0AC 0015900C 98 1F 00 E4 */ stb r0, 0xe4(r31)
/* 8015C0B0 00159010 88 1F 00 E4 */ lbz r0, 0xe4(r31)
/* 8015C0B4 00159014 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 8015C0B8 00159018 98 1F 00 E4 */ stb r0, 0xe4(r31)
/* 8015C0BC 0015901C 88 1F 00 E4 */ lbz r0, 0xe4(r31)
/* 8015C0C0 00159020 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 8015C0C4 00159024 98 1F 00 E4 */ stb r0, 0xe4(r31)
lbl_8015C0C8:
/* 8015C0C8 00159028 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8015C0CC 0015902C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8015C0D0 00159030 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8015C0D4 00159034 7C 08 03 A6 */ mtlr r0
/* 8015C0D8 00159038 38 21 00 20 */ addi r1, r1, 0x20
/* 8015C0DC 0015903C 4E 80 00 20 */ blr
.global sub_8015c0e0
sub_8015c0e0:
/* 8015C0E0 00159040 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8015C0E4 00159044 7C 08 02 A6 */ mflr r0
/* 8015C0E8 00159048 90 01 00 24 */ stw r0, 0x24(r1)
/* 8015C0EC 0015904C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8015C0F0 00159050 7C 7F 1B 78 */ mr r31, r3
/* 8015C0F4 00159054 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8015C0F8 00159058 A0 63 05 98 */ lhz r3, 0x598(r3)
/* 8015C0FC 0015905C 7C 03 00 40 */ cmplw r3, r0
/* 8015C100 00159060 41 82 00 20 */ beq lbl_8015C120
/* 8015C104 00159064 A0 1F 05 98 */ lhz r0, 0x598(r31)
/* 8015C108 00159068 7C 83 23 78 */ mr r3, r4
/* 8015C10C 0015906C 38 81 00 08 */ addi r4, r1, 8
/* 8015C110 00159070 B0 01 00 08 */ sth r0, 8(r1)
/* 8015C114 00159074 4B EF 01 59 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
/* 8015C118 00159078 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8015C11C 0015907C B0 1F 05 98 */ sth r0, 0x598(r31)
lbl_8015C120:
/* 8015C120 00159080 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8015C124 00159084 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8015C128 00159088 7C 08 03 A6 */ mtlr r0
/* 8015C12C 0015908C 38 21 00 20 */ addi r1, r1, 0x20
/* 8015C130 00159090 4E 80 00 20 */ blr
.global AddGrapplePoint__7CRipperFR13CStateManager
AddGrapplePoint__7CRipperFR13CStateManager:
/* 8015C134 00159094 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8015C138 00159098 7C 08 02 A6 */ mflr r0
/* 8015C13C 0015909C 90 01 00 74 */ stw r0, 0x74(r1)
/* 8015C140 001590A0 BF 61 00 5C */ stmw r27, 0x5c(r1)
/* 8015C144 001590A4 7C 7D 1B 78 */ mr r29, r3
/* 8015C148 001590A8 7C 9E 23 78 */ mr r30, r4
/* 8015C14C 001590AC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8015C150 001590B0 A0 63 05 98 */ lhz r3, 0x598(r3)
/* 8015C154 001590B4 7C 03 00 40 */ cmplw r3, r0
/* 8015C158 001590B8 40 82 01 10 */ bne lbl_8015C268
/* 8015C15C 001590BC 38 61 00 0C */ addi r3, r1, 0xc
/* 8015C160 001590C0 4B EF 0F 7D */ bl AllocateUniqueId__13CStateManagerFv
/* 8015C164 001590C4 A0 01 00 0C */ lhz r0, 0xc(r1)
/* 8015C168 001590C8 3C 60 80 3D */ lis r3, lbl_803D0358@ha
/* 8015C16C 001590CC 38 83 03 58 */ addi r4, r3, lbl_803D0358@l
/* 8015C170 001590D0 3B 80 00 00 */ li r28, 0
/* 8015C174 001590D4 B0 1D 05 98 */ sth r0, 0x598(r29)
/* 8015C178 001590D8 3B 60 00 00 */ li r27, 0
/* 8015C17C 001590DC 38 60 01 30 */ li r3, 0x130
/* 8015C180 001590E0 38 A0 00 00 */ li r5, 0
/* 8015C184 001590E4 48 1B 96 E9 */ bl __nw__FUlPCcPCc
/* 8015C188 001590E8 7C 7F 1B 79 */ or. r31, r3, r3
/* 8015C18C 001590EC 41 82 00 78 */ beq lbl_8015C204
/* 8015C190 001590F0 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13)
/* 8015C194 001590F4 3C 60 80 57 */ lis r3, lbl_8056D410@ha
/* 8015C198 001590F8 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l
/* 8015C19C 001590FC 38 81 00 24 */ addi r4, r1, 0x24
/* 8015C1A0 00159100 90 01 00 28 */ stw r0, 0x28(r1)
/* 8015C1A4 00159104 38 61 00 3C */ addi r3, r1, 0x3c
/* 8015C1A8 00159108 38 C1 00 28 */ addi r6, r1, 0x28
/* 8015C1AC 0015910C 80 1D 00 04 */ lwz r0, 4(r29)
/* 8015C1B0 00159110 90 01 00 20 */ stw r0, 0x20(r1)
/* 8015C1B4 00159114 90 01 00 24 */ stw r0, 0x24(r1)
/* 8015C1B8 00159118 4B EF 52 CD */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId"
/* 8015C1BC 0015911C 3C 80 80 3D */ lis r4, lbl_803D0358@ha
/* 8015C1C0 00159120 38 61 00 2C */ addi r3, r1, 0x2c
/* 8015C1C4 00159124 38 84 03 58 */ addi r4, r4, lbl_803D0358@l
/* 8015C1C8 00159128 3B 80 00 01 */ li r28, 1
/* 8015C1CC 0015912C 38 84 00 22 */ addi r4, r4, 0x22
/* 8015C1D0 00159130 4B EA 8A E9 */ bl string_l__4rstlFPCc
/* 8015C1D4 00159134 A0 1D 05 98 */ lhz r0, 0x598(r29)
/* 8015C1D8 00159138 7F E3 FB 78 */ mr r3, r31
/* 8015C1DC 0015913C 38 81 00 08 */ addi r4, r1, 8
/* 8015C1E0 00159140 38 A1 00 2C */ addi r5, r1, 0x2c
/* 8015C1E4 00159144 B0 01 00 08 */ sth r0, 8(r1)
/* 8015C1E8 00159148 38 C1 00 3C */ addi r6, r1, 0x3c
/* 8015C1EC 0015914C 38 FD 00 34 */ addi r7, r29, 0x34
/* 8015C1F0 00159150 39 3D 05 68 */ addi r9, r29, 0x568
/* 8015C1F4 00159154 3B 60 00 01 */ li r27, 1
/* 8015C1F8 00159158 39 00 00 01 */ li r8, 1
/* 8015C1FC 0015915C 4B FD 37 25 */ bl "__ct__19CScriptGrapplePointF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC18CGrappleParameters"
/* 8015C200 00159160 7C 7F 1B 78 */ mr r31, r3
lbl_8015C204:
/* 8015C204 00159164 7F C3 F3 78 */ mr r3, r30
/* 8015C208 00159168 7F E4 FB 78 */ mr r4, r31
/* 8015C20C 0015916C 4B EF 0A E9 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence
/* 8015C210 00159170 7F 60 07 75 */ extsb. r0, r27
/* 8015C214 00159174 41 82 00 0C */ beq lbl_8015C220
/* 8015C218 00159178 38 61 00 2C */ addi r3, r1, 0x2c
/* 8015C21C 0015917C 48 1E 18 C5 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8015C220:
/* 8015C220 00159180 7F 80 07 75 */ extsb. r0, r28
/* 8015C224 00159184 41 82 00 44 */ beq lbl_8015C268
/* 8015C228 00159188 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8015C22C 0015918C 80 61 00 4C */ lwz r3, 0x4c(r1)
/* 8015C230 00159190 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8015C234 00159194 90 61 00 14 */ stw r3, 0x14(r1)
/* 8015C238 00159198 7C 64 1B 78 */ mr r4, r3
/* 8015C23C 0015919C 7C 03 02 14 */ add r0, r3, r0
/* 8015C240 001591A0 90 61 00 10 */ stw r3, 0x10(r1)
/* 8015C244 001591A4 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8015C248 001591A8 90 01 00 18 */ stw r0, 0x18(r1)
/* 8015C24C 001591AC 48 00 00 08 */ b lbl_8015C254
lbl_8015C250:
/* 8015C250 001591B0 38 84 00 0C */ addi r4, r4, 0xc
lbl_8015C254:
/* 8015C254 001591B4 7C 04 00 40 */ cmplw r4, r0
/* 8015C258 001591B8 40 82 FF F8 */ bne lbl_8015C250
/* 8015C25C 001591BC 28 03 00 00 */ cmplwi r3, 0
/* 8015C260 001591C0 41 82 00 08 */ beq lbl_8015C268
/* 8015C264 001591C4 48 1B 96 CD */ bl Free__7CMemoryFPCv
lbl_8015C268:
/* 8015C268 001591C8 BB 61 00 5C */ lmw r27, 0x5c(r1)
/* 8015C26C 001591CC 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8015C270 001591D0 7C 08 03 A6 */ mtlr r0
/* 8015C274 001591D4 38 21 00 70 */ addi r1, r1, 0x70
/* 8015C278 001591D8 4E 80 00 20 */ blr
.global Patrol__7CRipperFR13CStateManager9EStateMsgf
Patrol__7CRipperFR13CStateManager9EStateMsgf:
/* 8015C27C 001591DC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8015C280 001591E0 7C 08 02 A6 */ mflr r0
/* 8015C284 001591E4 90 01 00 34 */ stw r0, 0x34(r1)
/* 8015C288 001591E8 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 8015C28C 001591EC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 8015C290 001591F0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8015C294 001591F4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8015C298 001591F8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8015C29C 001591FC 7C 7D 1B 78 */ mr r29, r3
/* 8015C2A0 00159200 FF E0 08 90 */ fmr f31, f1
/* 8015C2A4 00159204 80 63 04 50 */ lwz r3, 0x450(r3)
/* 8015C2A8 00159208 38 00 00 01 */ li r0, 1
/* 8015C2AC 0015920C C0 22 9E DC */ lfs f1, lbl_805ABBFC@sda21(r2)
/* 8015C2B0 00159210 7C 9E 23 78 */ mr r30, r4
/* 8015C2B4 00159214 90 03 00 34 */ stw r0, 0x34(r3)
/* 8015C2B8 00159218 FC 40 08 90 */ fmr f2, f1
/* 8015C2BC 0015921C 7C BF 2B 78 */ mr r31, r5
/* 8015C2C0 00159220 80 7D 04 50 */ lwz r3, 0x450(r29)
/* 8015C2C4 00159224 38 63 00 04 */ addi r3, r3, 4
/* 8015C2C8 00159228 4B FD 55 21 */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff
/* 8015C2CC 0015922C FC 20 F8 90 */ fmr f1, f31
/* 8015C2D0 00159230 7F A3 EB 78 */ mr r3, r29
/* 8015C2D4 00159234 7F C4 F3 78 */ mr r4, r30
/* 8015C2D8 00159238 7F E5 FB 78 */ mr r5, r31
/* 8015C2DC 0015923C 48 09 AB 99 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf
/* 8015C2E0 00159240 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8015C2E4 00159244 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8015C2E8 00159248 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 8015C2EC 0015924C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8015C2F0 00159250 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8015C2F4 00159254 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8015C2F8 00159258 7C 08 03 A6 */ mtlr r0
/* 8015C2FC 0015925C 38 21 00 30 */ addi r1, r1, 0x30
/* 8015C300 00159260 4E 80 00 20 */ blr
.global PathOver__7CRipperFR13CStateManagerf
PathOver__7CRipperFR13CStateManagerf:
/* 8015C304 00159264 38 60 00 00 */ li r3, 0
/* 8015C308 00159268 4E 80 00 20 */ blr
.global KnockBack__7CRipperFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef
KnockBack__7CRipperFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef:
/* 8015C30C 0015926C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8015C310 00159270 7C 08 02 A6 */ mflr r0
/* 8015C314 00159274 90 01 00 34 */ stw r0, 0x34(r1)
/* 8015C318 00159278 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8015C31C 0015927C 7C 9F 23 78 */ mr r31, r4
/* 8015C320 00159280 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8015C324 00159284 7C 7E 1B 78 */ mr r30, r3
/* 8015C328 00159288 4B F1 E4 55 */ bl KnockBack__10CPatternedFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef
/* 8015C32C 0015928C C0 5F 00 08 */ lfs f2, 8(r31)
/* 8015C330 00159290 3C 60 80 3E */ lis r3, lbl_803DAA68@ha
/* 8015C334 00159294 C0 3F 00 04 */ lfs f1, 4(r31)
/* 8015C338 00159298 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l
/* 8015C33C 0015929C C0 1F 00 00 */ lfs f0, 0(r31)
/* 8015C340 001592A0 FC 40 10 50 */ fneg f2, f2
/* 8015C344 001592A4 FC 20 08 50 */ fneg f1, f1
/* 8015C348 001592A8 80 7E 04 50 */ lwz r3, 0x450(r30)
/* 8015C34C 001592AC FC 00 00 50 */ fneg f0, f0
/* 8015C350 001592B0 3C 80 80 3E */ lis r4, lbl_803DAA44@ha
/* 8015C354 001592B4 38 C0 00 04 */ li r6, 4
/* 8015C358 001592B8 38 00 00 01 */ li r0, 1
/* 8015C35C 001592BC 3B E3 00 04 */ addi r31, r3, 4
/* 8015C360 001592C0 90 A1 00 08 */ stw r5, 8(r1)
/* 8015C364 001592C4 38 A4 AA 44 */ addi r5, r4, lbl_803DAA44@l
/* 8015C368 001592C8 38 80 00 04 */ li r4, 4
/* 8015C36C 001592CC 90 C1 00 0C */ stw r6, 0xc(r1)
/* 8015C370 001592D0 7F E3 FB 78 */ mr r3, r31
/* 8015C374 001592D4 90 A1 00 08 */ stw r5, 8(r1)
/* 8015C378 001592D8 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 8015C37C 001592DC D0 21 00 14 */ stfs f1, 0x14(r1)
/* 8015C380 001592E0 D0 41 00 18 */ stfs f2, 0x18(r1)
/* 8015C384 001592E4 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8015C388 001592E8 4B FD 50 B1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd
/* 8015C38C 001592EC 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8015C390 001592F0 3C 60 80 3E */ lis r3, lbl_803DAA44@ha
/* 8015C394 001592F4 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l
/* 8015C398 001592F8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha
/* 8015C39C 001592FC 90 1F 00 F8 */ stw r0, 0xf8(r31)
/* 8015C3A0 00159300 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l
/* 8015C3A4 00159304 80 A1 00 10 */ lwz r5, 0x10(r1)
/* 8015C3A8 00159308 80 61 00 14 */ lwz r3, 0x14(r1)
/* 8015C3AC 0015930C 90 BF 00 FC */ stw r5, 0xfc(r31)
/* 8015C3B0 00159310 80 A1 00 18 */ lwz r5, 0x18(r1)
/* 8015C3B4 00159314 90 7F 01 00 */ stw r3, 0x100(r31)
/* 8015C3B8 00159318 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 8015C3BC 0015931C 90 BF 01 04 */ stw r5, 0x104(r31)
/* 8015C3C0 00159320 90 81 00 08 */ stw r4, 8(r1)
/* 8015C3C4 00159324 90 7F 01 08 */ stw r3, 0x108(r31)
/* 8015C3C8 00159328 90 01 00 08 */ stw r0, 8(r1)
/* 8015C3CC 0015932C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8015C3D0 00159330 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8015C3D4 00159334 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8015C3D8 00159338 7C 08 03 A6 */ mtlr r0
/* 8015C3DC 0015933C 38 21 00 30 */ addi r1, r1, 0x30
/* 8015C3E0 00159340 4E 80 00 20 */ blr
.global GetCollisionResponseType__7CRipperFRC9CVector3fRC9CVector3fRC11CWeaponModei
GetCollisionResponseType__7CRipperFRC9CVector3fRC9CVector3fRC11CWeaponModei:
/* 8015C3E4 00159344 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8015C3E8 00159348 7C 08 02 A6 */ mflr r0
/* 8015C3EC 0015934C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015C3F0 00159350 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8015C3F4 00159354 3B E0 00 20 */ li r31, 0x20
/* 8015C3F8 00159358 93 C1 00 08 */ stw r30, 8(r1)
/* 8015C3FC 0015935C 7C DE 33 78 */ mr r30, r6
/* 8015C400 00159360 81 83 00 00 */ lwz r12, 0(r3)
/* 8015C404 00159364 81 8C 00 38 */ lwz r12, 0x38(r12)
/* 8015C408 00159368 7D 89 03 A6 */ mtctr r12
/* 8015C40C 0015936C 4E 80 04 21 */ bctrl
/* 8015C410 00159370 7F C4 F3 78 */ mr r4, r30
/* 8015C414 00159374 38 A0 00 00 */ li r5, 0
/* 8015C418 00159378 4B FA 61 6D */ bl WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei
/* 8015C41C 0015937C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8015C420 00159380 40 82 00 08 */ bne lbl_8015C428
/* 8015C424 00159384 3B E0 00 52 */ li r31, 0x52
lbl_8015C428:
/* 8015C428 00159388 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8015C42C 0015938C 7F E3 FB 78 */ mr r3, r31
/* 8015C430 00159390 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8015C434 00159394 83 C1 00 08 */ lwz r30, 8(r1)
/* 8015C438 00159398 7C 08 03 A6 */ mtlr r0
/* 8015C43C 0015939C 38 21 00 10 */ addi r1, r1, 0x10
/* 8015C440 001593A0 4E 80 00 20 */ blr
.global AcceptScriptMsg__7CRipperF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__7CRipperF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8015C444 001593A4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8015C448 001593A8 7C 08 02 A6 */ mflr r0
/* 8015C44C 001593AC 90 01 00 24 */ stw r0, 0x24(r1)
/* 8015C450 001593B0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8015C454 001593B4 7C DF 33 78 */ mr r31, r6
/* 8015C458 001593B8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8015C45C 001593BC 7C 9E 23 78 */ mr r30, r4
/* 8015C460 001593C0 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8015C464 001593C4 7C 7D 1B 78 */ mr r29, r3
/* 8015C468 001593C8 A0 05 00 00 */ lhz r0, 0(r5)
/* 8015C46C 001593CC 38 A1 00 08 */ addi r5, r1, 8
/* 8015C470 001593D0 B0 01 00 08 */ sth r0, 8(r1)
/* 8015C474 001593D4 4B F2 07 05 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8015C478 001593D8 2C 1E 00 04 */ cmpwi r30, 4
/* 8015C47C 001593DC 41 82 00 C8 */ beq lbl_8015C544
/* 8015C480 001593E0 40 80 00 10 */ bge lbl_8015C490
/* 8015C484 001593E4 2C 1E 00 01 */ cmpwi r30, 1
/* 8015C488 001593E8 41 82 00 A0 */ beq lbl_8015C528
/* 8015C48C 001593EC 48 00 00 D0 */ b lbl_8015C55C
lbl_8015C490:
/* 8015C490 001593F0 2C 1E 00 22 */ cmpwi r30, 0x22
/* 8015C494 001593F4 41 82 00 78 */ beq lbl_8015C50C
/* 8015C498 001593F8 40 80 00 C4 */ bge lbl_8015C55C
/* 8015C49C 001593FC 2C 1E 00 21 */ cmpwi r30, 0x21
/* 8015C4A0 00159400 40 80 00 08 */ bge lbl_8015C4A8
/* 8015C4A4 00159404 48 00 00 B8 */ b lbl_8015C55C
lbl_8015C4A8:
/* 8015C4A8 00159408 80 7D 04 50 */ lwz r3, 0x450(r29)
/* 8015C4AC 0015940C 7F E4 FB 78 */ mr r4, r31
/* 8015C4B0 00159410 4B FD E8 41 */ bl Activate__15CBodyControllerFR13CStateManager
/* 8015C4B4 00159414 7F A3 EB 78 */ mr r3, r29
/* 8015C4B8 00159418 7F E5 FB 78 */ mr r5, r31
/* 8015C4BC 0015941C 38 80 00 2B */ li r4, 0x2b
/* 8015C4C0 00159420 4B EF 7E 91 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager
/* 8015C4C4 00159424 7F A3 EB 78 */ mr r3, r29
/* 8015C4C8 00159428 7F E5 FB 78 */ mr r5, r31
/* 8015C4CC 0015942C 38 80 00 13 */ li r4, 0x13
/* 8015C4D0 00159430 4B EF 7A B1 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager
/* 8015C4D4 00159434 80 1D 03 FC */ lwz r0, 0x3fc(r29)
/* 8015C4D8 00159438 2C 00 00 01 */ cmpwi r0, 1
/* 8015C4DC 0015943C 40 82 00 20 */ bne lbl_8015C4FC
/* 8015C4E0 00159440 7F A3 EB 78 */ mr r3, r29
/* 8015C4E4 00159444 7F E4 FB 78 */ mr r4, r31
/* 8015C4E8 00159448 4B FF FC 4D */ bl AddGrapplePoint__7CRipperFR13CStateManager
/* 8015C4EC 0015944C 7F A3 EB 78 */ mr r3, r29
/* 8015C4F0 00159450 7F E5 FB 78 */ mr r5, r31
/* 8015C4F4 00159454 38 80 00 29 */ li r4, 0x29
/* 8015C4F8 00159458 4B EF 7A 89 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager
lbl_8015C4FC:
/* 8015C4FC 0015945C 7F A3 EB 78 */ mr r3, r29
/* 8015C500 00159460 7F E4 FB 78 */ mr r4, r31
/* 8015C504 00159464 4B FF F9 1D */ bl AddPlatform__7CRipperFR13CStateManager
/* 8015C508 00159468 48 00 00 54 */ b lbl_8015C55C
lbl_8015C50C:
/* 8015C50C 0015946C 7F A3 EB 78 */ mr r3, r29
/* 8015C510 00159470 7F E4 FB 78 */ mr r4, r31
/* 8015C514 00159474 4B FF FB CD */ bl sub_8015c0e0
/* 8015C518 00159478 7F A3 EB 78 */ mr r3, r29
/* 8015C51C 0015947C 7F E4 FB 78 */ mr r4, r31
/* 8015C520 00159480 4B FF F8 AD */ bl RemovePlatform__7CRipperFR13CStateManager
/* 8015C524 00159484 48 00 00 38 */ b lbl_8015C55C
lbl_8015C528:
/* 8015C528 00159488 7F A3 EB 78 */ mr r3, r29
/* 8015C52C 0015948C 7F E4 FB 78 */ mr r4, r31
/* 8015C530 00159490 4B FF FC 05 */ bl AddGrapplePoint__7CRipperFR13CStateManager
/* 8015C534 00159494 7F A3 EB 78 */ mr r3, r29
/* 8015C538 00159498 7F E4 FB 78 */ mr r4, r31
/* 8015C53C 0015949C 4B FF F8 E5 */ bl AddPlatform__7CRipperFR13CStateManager
/* 8015C540 001594A0 48 00 00 1C */ b lbl_8015C55C
lbl_8015C544:
/* 8015C544 001594A4 7F A3 EB 78 */ mr r3, r29
/* 8015C548 001594A8 7F E4 FB 78 */ mr r4, r31
/* 8015C54C 001594AC 4B FF FB 95 */ bl sub_8015c0e0
/* 8015C550 001594B0 7F A3 EB 78 */ mr r3, r29
/* 8015C554 001594B4 7F E4 FB 78 */ mr r4, r31
/* 8015C558 001594B8 4B FF F8 75 */ bl RemovePlatform__7CRipperFR13CStateManager
lbl_8015C55C:
/* 8015C55C 001594BC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8015C560 001594C0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8015C564 001594C4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8015C568 001594C8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8015C56C 001594CC 7C 08 03 A6 */ mtlr r0
/* 8015C570 001594D0 38 21 00 20 */ addi r1, r1, 0x20
/* 8015C574 001594D4 4E 80 00 20 */ blr
.global Think__7CRipperFfR13CStateManager
Think__7CRipperFfR13CStateManager:
/* 8015C578 001594D8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8015C57C 001594DC 7C 08 02 A6 */ mflr r0
/* 8015C580 001594E0 90 01 00 24 */ stw r0, 0x24(r1)
/* 8015C584 001594E4 DB E1 00 18 */ stfd f31, 0x18(r1)
/* 8015C588 001594E8 FF E0 08 90 */ fmr f31, f1
/* 8015C58C 001594EC 93 E1 00 14 */ stw r31, 0x14(r1)
/* 8015C590 001594F0 7C 7F 1B 78 */ mr r31, r3
/* 8015C594 001594F4 93 C1 00 10 */ stw r30, 0x10(r1)
/* 8015C598 001594F8 7C 9E 23 78 */ mr r30, r4
/* 8015C59C 001594FC 88 03 00 30 */ lbz r0, 0x30(r3)
/* 8015C5A0 00159500 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8015C5A4 00159504 41 82 00 D8 */ beq lbl_8015C67C
/* 8015C5A8 00159508 4B FF FA 8D */ bl sub_8015c034
/* 8015C5AC 0015950C 80 9E 08 4C */ lwz r4, 0x84c(r30)
/* 8015C5B0 00159510 A0 BF 05 98 */ lhz r5, 0x598(r31)
/* 8015C5B4 00159514 80 64 04 90 */ lwz r3, 0x490(r4)
/* 8015C5B8 00159518 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8015C5BC 0015951C 80 63 07 40 */ lwz r3, 0x740(r3)
/* 8015C5C0 00159520 7C 05 00 40 */ cmplw r5, r0
/* 8015C5C4 00159524 80 63 03 34 */ lwz r3, 0x334(r3)
/* 8015C5C8 00159528 41 82 00 1C */ beq lbl_8015C5E4
/* 8015C5CC 0015952C A0 04 03 10 */ lhz r0, 0x310(r4)
/* 8015C5D0 00159530 7C 00 28 40 */ cmplw r0, r5
/* 8015C5D4 00159534 40 82 00 10 */ bne lbl_8015C5E4
/* 8015C5D8 00159538 80 04 03 B8 */ lwz r0, 0x3b8(r4)
/* 8015C5DC 0015953C 2C 00 00 00 */ cmpwi r0, 0
/* 8015C5E0 00159540 40 82 00 40 */ bne lbl_8015C620
lbl_8015C5E4:
/* 8015C5E4 00159544 FC 20 F8 90 */ fmr f1, f31
/* 8015C5E8 00159548 7F E3 FB 78 */ mr r3, r31
/* 8015C5EC 0015954C 7F C4 F3 78 */ mr r4, r30
/* 8015C5F0 00159550 4B F1 D5 29 */ bl Think__10CPatternedFfR13CStateManager
/* 8015C5F4 00159554 88 1F 05 9C */ lbz r0, 0x59c(r31)
/* 8015C5F8 00159558 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8015C5FC 0015955C 41 82 00 80 */ beq lbl_8015C67C
/* 8015C600 00159560 7F E3 FB 78 */ mr r3, r31
/* 8015C604 00159564 38 80 00 00 */ li r4, 0
/* 8015C608 00159568 4B EF 6D E5 */ bl SetMuted__6CActorFb
/* 8015C60C 0015956C 88 1F 05 9C */ lbz r0, 0x59c(r31)
/* 8015C610 00159570 38 60 00 00 */ li r3, 0
/* 8015C614 00159574 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8015C618 00159578 98 1F 05 9C */ stb r0, 0x59c(r31)
/* 8015C61C 0015957C 48 00 00 60 */ b lbl_8015C67C
lbl_8015C620:
/* 8015C620 00159580 2C 00 00 01 */ cmpwi r0, 1
/* 8015C624 00159584 40 82 00 28 */ bne lbl_8015C64C
/* 8015C628 00159588 28 03 00 02 */ cmplwi r3, 2
/* 8015C62C 0015958C 40 81 00 0C */ ble lbl_8015C638
/* 8015C630 00159590 2C 03 00 03 */ cmpwi r3, 3
/* 8015C634 00159594 40 82 00 18 */ bne lbl_8015C64C
lbl_8015C638:
/* 8015C638 00159598 FC 20 F8 90 */ fmr f1, f31
/* 8015C63C 0015959C 7F E3 FB 78 */ mr r3, r31
/* 8015C640 001595A0 7F C4 F3 78 */ mr r4, r30
/* 8015C644 001595A4 4B F1 D4 D5 */ bl Think__10CPatternedFfR13CStateManager
/* 8015C648 001595A8 48 00 00 34 */ b lbl_8015C67C
lbl_8015C64C:
/* 8015C64C 001595AC 7F E3 FB 78 */ mr r3, r31
/* 8015C650 001595B0 4B FB ED 29 */ bl Stop__13CPhysicsActorFv
/* 8015C654 001595B4 88 1F 05 9C */ lbz r0, 0x59c(r31)
/* 8015C658 001595B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8015C65C 001595BC 40 82 00 20 */ bne lbl_8015C67C
/* 8015C660 001595C0 7F E3 FB 78 */ mr r3, r31
/* 8015C664 001595C4 38 80 00 01 */ li r4, 1
/* 8015C668 001595C8 4B EF 6D 85 */ bl SetMuted__6CActorFb
/* 8015C66C 001595CC 88 1F 05 9C */ lbz r0, 0x59c(r31)
/* 8015C670 001595D0 38 60 00 01 */ li r3, 1
/* 8015C674 001595D4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8015C678 001595D8 98 1F 05 9C */ stb r0, 0x59c(r31)
lbl_8015C67C:
/* 8015C67C 001595DC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8015C680 001595E0 CB E1 00 18 */ lfd f31, 0x18(r1)
/* 8015C684 001595E4 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 8015C688 001595E8 83 C1 00 10 */ lwz r30, 0x10(r1)
/* 8015C68C 001595EC 7C 08 03 A6 */ mtlr r0
/* 8015C690 001595F0 38 21 00 20 */ addi r1, r1, 0x20
/* 8015C694 001595F4 4E 80 00 20 */ blr
.global Accept__7CRipperFR8IVisitor
Accept__7CRipperFR8IVisitor:
/* 8015C698 001595F8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8015C69C 001595FC 7C 08 02 A6 */ mflr r0
/* 8015C6A0 00159600 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015C6A4 00159604 7C 60 1B 78 */ mr r0, r3
/* 8015C6A8 00159608 7C 83 23 78 */ mr r3, r4
/* 8015C6AC 0015960C 81 84 00 00 */ lwz r12, 0(r4)
/* 8015C6B0 00159610 7C 04 03 78 */ mr r4, r0
/* 8015C6B4 00159614 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 8015C6B8 00159618 7D 89 03 A6 */ mtctr r12
/* 8015C6BC 0015961C 4E 80 04 21 */ bctrl
/* 8015C6C0 00159620 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8015C6C4 00159624 7C 08 03 A6 */ mtlr r0
/* 8015C6C8 00159628 38 21 00 10 */ addi r1, r1, 0x10
/* 8015C6CC 0015962C 4E 80 00 20 */ blr
.global __dt__7CRipperFv
__dt__7CRipperFv:
/* 8015C6D0 00159630 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8015C6D4 00159634 7C 08 02 A6 */ mflr r0
/* 8015C6D8 00159638 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015C6DC 0015963C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8015C6E0 00159640 7C 9F 23 78 */ mr r31, r4
/* 8015C6E4 00159644 93 C1 00 08 */ stw r30, 8(r1)
/* 8015C6E8 00159648 7C 7E 1B 79 */ or. r30, r3, r3
/* 8015C6EC 0015964C 41 82 00 28 */ beq lbl_8015C714
/* 8015C6F0 00159650 3C A0 80 3E */ lis r5, lbl_803E3348@ha
/* 8015C6F4 00159654 38 80 00 00 */ li r4, 0
/* 8015C6F8 00159658 38 05 33 48 */ addi r0, r5, lbl_803E3348@l
/* 8015C6FC 0015965C 90 1E 00 00 */ stw r0, 0(r30)
/* 8015C700 00159660 4B F1 AE 71 */ bl __dt__10CPatternedFv
/* 8015C704 00159664 7F E0 07 35 */ extsh. r0, r31
/* 8015C708 00159668 40 81 00 0C */ ble lbl_8015C714
/* 8015C70C 0015966C 7F C3 F3 78 */ mr r3, r30
/* 8015C710 00159670 48 1B 92 21 */ bl Free__7CMemoryFPCv
lbl_8015C714:
/* 8015C714 00159674 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8015C718 00159678 7F C3 F3 78 */ mr r3, r30
/* 8015C71C 0015967C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8015C720 00159680 83 C1 00 08 */ lwz r30, 8(r1)
/* 8015C724 00159684 7C 08 03 A6 */ mtlr r0
/* 8015C728 00159688 38 21 00 10 */ addi r1, r1, 0x10
/* 8015C72C 0015968C 4E 80 00 20 */ blr
.global "__ct__7CRipperF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC18CGrappleParameters"
"__ct__7CRipperF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC18CGrappleParameters":
/* 8015C730 00159690 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 8015C734 00159694 7C 08 02 A6 */ mflr r0
/* 8015C738 00159698 39 60 00 01 */ li r11, 1
/* 8015C73C 0015969C 90 01 00 64 */ stw r0, 0x64(r1)
/* 8015C740 001596A0 81 81 00 68 */ lwz r12, 0x68(r1)
/* 8015C744 001596A4 BF 61 00 4C */ stmw r27, 0x4c(r1)
/* 8015C748 001596A8 7C DB 33 78 */ mr r27, r6
/* 8015C74C 001596AC 7C FC 3B 78 */ mr r28, r7
/* 8015C750 001596B0 7D 1E 43 78 */ mr r30, r8
/* 8015C754 001596B4 7C A6 2B 78 */ mr r6, r5
/* 8015C758 001596B8 83 A1 00 6C */ lwz r29, 0x6c(r1)
/* 8015C75C 001596BC 7C 7F 1B 78 */ mr r31, r3
/* 8015C760 001596C0 7F 67 DB 78 */ mr r7, r27
/* 8015C764 001596C4 7F 88 E3 78 */ mr r8, r28
/* 8015C768 001596C8 38 A1 00 20 */ addi r5, r1, 0x20
/* 8015C76C 001596CC A0 04 00 00 */ lhz r0, 0(r4)
/* 8015C770 001596D0 7D 24 4B 78 */ mr r4, r9
/* 8015C774 001596D4 7F C9 F3 78 */ mr r9, r30
/* 8015C778 001596D8 B0 01 00 20 */ sth r0, 0x20(r1)
/* 8015C77C 001596DC 38 00 00 03 */ li r0, 3
/* 8015C780 001596E0 91 41 00 08 */ stw r10, 8(r1)
/* 8015C784 001596E4 7C 8A 23 78 */ mr r10, r4
/* 8015C788 001596E8 38 80 00 1F */ li r4, 0x1f
/* 8015C78C 001596EC 91 61 00 0C */ stw r11, 0xc(r1)
/* 8015C790 001596F0 91 61 00 10 */ stw r11, 0x10(r1)
/* 8015C794 001596F4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015C798 001596F8 91 81 00 18 */ stw r12, 0x18(r1)
/* 8015C79C 001596FC 91 61 00 1C */ stw r11, 0x1c(r1)
/* 8015C7A0 00159700 4B F2 0C B1 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi"
/* 8015C7A4 00159704 3C 60 80 3E */ lis r3, lbl_803E3348@ha
/* 8015C7A8 00159708 38 A0 00 00 */ li r5, 0
/* 8015C7AC 0015970C 38 03 33 48 */ addi r0, r3, lbl_803E3348@l
/* 8015C7B0 00159710 38 80 00 01 */ li r4, 1
/* 8015C7B4 00159714 90 1F 00 00 */ stw r0, 0(r31)
/* 8015C7B8 00159718 38 60 00 00 */ li r3, 0
/* 8015C7BC 0015971C C0 1D 00 00 */ lfs f0, 0(r29)
/* 8015C7C0 00159720 D0 1F 05 68 */ stfs f0, 0x568(r31)
/* 8015C7C4 00159724 C0 1D 00 04 */ lfs f0, 4(r29)
/* 8015C7C8 00159728 D0 1F 05 6C */ stfs f0, 0x56c(r31)
/* 8015C7CC 0015972C C0 1D 00 08 */ lfs f0, 8(r29)
/* 8015C7D0 00159730 D0 1F 05 70 */ stfs f0, 0x570(r31)
/* 8015C7D4 00159734 C0 1D 00 0C */ lfs f0, 0xc(r29)
/* 8015C7D8 00159738 D0 1F 05 74 */ stfs f0, 0x574(r31)
/* 8015C7DC 0015973C C0 1D 00 10 */ lfs f0, 0x10(r29)
/* 8015C7E0 00159740 D0 1F 05 78 */ stfs f0, 0x578(r31)
/* 8015C7E4 00159744 C0 1D 00 14 */ lfs f0, 0x14(r29)
/* 8015C7E8 00159748 D0 1F 05 7C */ stfs f0, 0x57c(r31)
/* 8015C7EC 0015974C C0 1D 00 18 */ lfs f0, 0x18(r29)
/* 8015C7F0 00159750 D0 1F 05 80 */ stfs f0, 0x580(r31)
/* 8015C7F4 00159754 C0 1D 00 1C */ lfs f0, 0x1c(r29)
/* 8015C7F8 00159758 D0 1F 05 84 */ stfs f0, 0x584(r31)
/* 8015C7FC 0015975C C0 1D 00 20 */ lfs f0, 0x20(r29)
/* 8015C800 00159760 D0 1F 05 88 */ stfs f0, 0x588(r31)
/* 8015C804 00159764 C0 1D 00 24 */ lfs f0, 0x24(r29)
/* 8015C808 00159768 D0 1F 05 8C */ stfs f0, 0x58c(r31)
/* 8015C80C 0015976C C0 1D 00 28 */ lfs f0, 0x28(r29)
/* 8015C810 00159770 D0 1F 05 90 */ stfs f0, 0x590(r31)
/* 8015C814 00159774 88 1D 00 2C */ lbz r0, 0x2c(r29)
/* 8015C818 00159778 98 1F 05 94 */ stb r0, 0x594(r31)
/* 8015C81C 0015977C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8015C820 00159780 B0 1F 05 98 */ sth r0, 0x598(r31)
/* 8015C824 00159784 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8015C828 00159788 B0 1F 05 9A */ sth r0, 0x59a(r31)
/* 8015C82C 0015978C 88 1F 05 9C */ lbz r0, 0x59c(r31)
/* 8015C830 00159790 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
/* 8015C834 00159794 98 1F 05 9C */ stb r0, 0x59c(r31)
/* 8015C838 00159798 80 AD 8C BC */ lwz r5, lbl_805A787C@sda21(r13)
/* 8015C83C 0015979C 48 22 D6 B9 */ bl __shl2i
/* 8015C840 001597A0 80 AD 8C C0 */ lwz r5, lbl_805A7880@sda21(r13)
/* 8015C844 001597A4 7C 9D 23 78 */ mr r29, r4
/* 8015C848 001597A8 7C 7E 1B 78 */ mr r30, r3
/* 8015C84C 001597AC 38 60 00 00 */ li r3, 0
/* 8015C850 001597B0 38 80 00 01 */ li r4, 1
/* 8015C854 001597B4 48 22 D6 A1 */ bl __shl2i
/* 8015C858 001597B8 80 AD 8C C4 */ lwz r5, lbl_805A7884@sda21(r13)
/* 8015C85C 001597BC 7F BD 23 78 */ or r29, r29, r4
/* 8015C860 001597C0 7F DE 1B 78 */ or r30, r30, r3
/* 8015C864 001597C4 38 60 00 00 */ li r3, 0
/* 8015C868 001597C8 38 80 00 01 */ li r4, 1
/* 8015C86C 001597CC 48 22 D6 89 */ bl __shl2i
/* 8015C870 001597D0 80 AD 8C B8 */ lwz r5, lbl_805A7878@sda21(r13)
/* 8015C874 001597D4 7F BD 23 78 */ or r29, r29, r4
/* 8015C878 001597D8 7F DE 1B 78 */ or r30, r30, r3
/* 8015C87C 001597DC 38 60 00 00 */ li r3, 0
/* 8015C880 001597E0 38 80 00 01 */ li r4, 1
/* 8015C884 001597E4 48 22 D6 71 */ bl __shl2i
/* 8015C888 001597E8 38 00 00 03 */ li r0, 3
/* 8015C88C 001597EC 90 81 00 2C */ stw r4, 0x2c(r1)
/* 8015C890 001597F0 38 81 00 28 */ addi r4, r1, 0x28
/* 8015C894 001597F4 90 61 00 28 */ stw r3, 0x28(r1)
/* 8015C898 001597F8 7F E3 FB 78 */ mr r3, r31
/* 8015C89C 001597FC 93 A1 00 34 */ stw r29, 0x34(r1)
/* 8015C8A0 00159800 93 C1 00 30 */ stw r30, 0x30(r1)
/* 8015C8A4 00159804 90 01 00 38 */ stw r0, 0x38(r1)
/* 8015C8A8 00159808 4B EF 6F F9 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter
/* 8015C8AC 0015980C 38 7F 04 60 */ addi r3, r31, 0x460
/* 8015C8B0 00159810 38 80 00 00 */ li r4, 0
/* 8015C8B4 00159814 48 0D 74 B1 */ bl SetAutoResetImpulse__20CKnockBackControllerFb
/* 8015C8B8 00159818 38 7F 04 60 */ addi r3, r31, 0x460
/* 8015C8BC 0015981C 38 80 00 01 */ li r4, 1
/* 8015C8C0 00159820 38 A0 00 02 */ li r5, 2
/* 8015C8C4 00159824 48 0D 74 D1 */ bl SetAnimationStateRange__20CKnockBackControllerF24EKnockBackAnimationState24EKnockBackAnimationState
/* 8015C8C8 00159828 7F E3 FB 78 */ mr r3, r31
/* 8015C8CC 0015982C BB 61 00 4C */ lmw r27, 0x4c(r1)
/* 8015C8D0 00159830 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8015C8D4 00159834 7C 08 03 A6 */ mtlr r0
/* 8015C8D8 00159838 38 21 00 60 */ addi r1, r1, 0x60
/* 8015C8DC 0015983C 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,487 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global FScannableObjectInfoFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer
FScannableObjectInfoFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer:
/* 8016991C 0016687C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80169920 00166880 7C 08 02 A6 */ mflr r0
/* 80169924 00166884 3C C0 80 3D */ lis r6, lbl_803D0490@ha
/* 80169928 00166888 90 01 00 34 */ stw r0, 0x34(r1)
/* 8016992C 0016688C 38 C6 04 90 */ addi r6, r6, lbl_803D0490@l
/* 80169930 00166890 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80169934 00166894 7C BF 2B 78 */ mr r31, r5
/* 80169938 00166898 38 A0 00 00 */ li r5, 0
/* 8016993C 0016689C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80169940 001668A0 7C 9E 23 78 */ mr r30, r4
/* 80169944 001668A4 38 86 00 3C */ addi r4, r6, 0x3c
/* 80169948 001668A8 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8016994C 001668AC 7C 7D 1B 78 */ mr r29, r3
/* 80169950 001668B0 38 60 00 88 */ li r3, 0x88
/* 80169954 001668B4 48 1A BF 19 */ bl __nw__FUlPCcPCc
/* 80169958 001668B8 7C 64 1B 79 */ or. r4, r3, r3
/* 8016995C 001668BC 41 82 00 14 */ beq lbl_80169970
/* 80169960 001668C0 80 BE 00 04 */ lwz r5, 4(r30)
/* 80169964 001668C4 7F E4 FB 78 */ mr r4, r31
/* 80169968 001668C8 48 00 04 71 */ bl __ct__20CScannableObjectInfoFR12CInputStreamUi
/* 8016996C 001668CC 7C 64 1B 78 */ mr r4, r3
lbl_80169970:
/* 80169970 001668D0 7C 04 00 D0 */ neg r0, r4
/* 80169974 001668D4 90 81 00 0C */ stw r4, 0xc(r1)
/* 80169978 001668D8 7C 00 23 78 */ or r0, r0, r4
/* 8016997C 001668DC 38 61 00 10 */ addi r3, r1, 0x10
/* 80169980 001668E0 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80169984 001668E4 38 81 00 08 */ addi r4, r1, 8
/* 80169988 001668E8 98 01 00 08 */ stb r0, 8(r1)
/* 8016998C 001668EC 48 00 01 D1 */ bl "GetIObjObjectFor__30TToken<20CScannableObjectInfo>FRCQ24rstl32auto_ptr<20CScannableObjectInfo>"
/* 80169990 001668F0 80 61 00 14 */ lwz r3, 0x14(r1)
/* 80169994 001668F4 38 00 00 00 */ li r0, 0
/* 80169998 001668F8 98 01 00 10 */ stb r0, 0x10(r1)
/* 8016999C 001668FC 7C 03 00 D0 */ neg r0, r3
/* 801699A0 00166900 7C 00 1B 78 */ or r0, r0, r3
/* 801699A4 00166904 54 00 0F FE */ srwi r0, r0, 0x1f
/* 801699A8 00166908 98 1D 00 00 */ stb r0, 0(r29)
/* 801699AC 0016690C 90 7D 00 04 */ stw r3, 4(r29)
/* 801699B0 00166910 88 01 00 10 */ lbz r0, 0x10(r1)
/* 801699B4 00166914 28 00 00 00 */ cmplwi r0, 0
/* 801699B8 00166918 41 82 00 24 */ beq lbl_801699DC
/* 801699BC 0016691C 80 61 00 14 */ lwz r3, 0x14(r1)
/* 801699C0 00166920 28 03 00 00 */ cmplwi r3, 0
/* 801699C4 00166924 41 82 00 18 */ beq lbl_801699DC
/* 801699C8 00166928 81 83 00 00 */ lwz r12, 0(r3)
/* 801699CC 0016692C 38 80 00 01 */ li r4, 1
/* 801699D0 00166930 81 8C 00 08 */ lwz r12, 8(r12)
/* 801699D4 00166934 7D 89 03 A6 */ mtctr r12
/* 801699D8 00166938 4E 80 04 21 */ bctrl
lbl_801699DC:
/* 801699DC 0016693C 88 01 00 08 */ lbz r0, 8(r1)
/* 801699E0 00166940 28 00 00 00 */ cmplwi r0, 0
/* 801699E4 00166944 41 82 00 70 */ beq lbl_80169A54
/* 801699E8 00166948 80 61 00 0C */ lwz r3, 0xc(r1)
/* 801699EC 0016694C 28 03 00 00 */ cmplwi r3, 0
/* 801699F0 00166950 41 82 00 64 */ beq lbl_80169A54
/* 801699F4 00166954 34 03 00 14 */ addic. r0, r3, 0x14
/* 801699F8 00166958 41 82 00 58 */ beq lbl_80169A50
/* 801699FC 0016695C 80 C3 00 14 */ lwz r6, 0x14(r3)
/* 80169A00 00166960 38 80 00 00 */ li r4, 0
/* 80169A04 00166964 2C 06 00 00 */ cmpwi r6, 0
/* 80169A08 00166968 40 81 00 40 */ ble lbl_80169A48
/* 80169A0C 0016696C 2C 06 00 08 */ cmpwi r6, 8
/* 80169A10 00166970 38 A6 FF F8 */ addi r5, r6, -8
/* 80169A14 00166974 40 81 00 20 */ ble lbl_80169A34
/* 80169A18 00166978 38 05 00 07 */ addi r0, r5, 7
/* 80169A1C 0016697C 54 00 E8 FE */ srwi r0, r0, 3
/* 80169A20 00166980 7C 09 03 A6 */ mtctr r0
/* 80169A24 00166984 2C 05 00 00 */ cmpwi r5, 0
/* 80169A28 00166988 40 81 00 0C */ ble lbl_80169A34
lbl_80169A2C:
/* 80169A2C 0016698C 38 84 00 08 */ addi r4, r4, 8
/* 80169A30 00166990 42 00 FF FC */ bdnz lbl_80169A2C
lbl_80169A34:
/* 80169A34 00166994 7C 04 30 50 */ subf r0, r4, r6
/* 80169A38 00166998 7C 09 03 A6 */ mtctr r0
/* 80169A3C 0016699C 7C 04 30 00 */ cmpw r4, r6
/* 80169A40 001669A0 40 80 00 08 */ bge lbl_80169A48
lbl_80169A44:
/* 80169A44 001669A4 42 00 00 00 */ bdnz lbl_80169A44
lbl_80169A48:
/* 80169A48 001669A8 38 00 00 00 */ li r0, 0
/* 80169A4C 001669AC 90 03 00 14 */ stw r0, 0x14(r3)
lbl_80169A50:
/* 80169A50 001669B0 48 1A BE E1 */ bl Free__7CMemoryFPCv
lbl_80169A54:
/* 80169A54 001669B4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80169A58 001669B8 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80169A5C 001669BC 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80169A60 001669C0 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80169A64 001669C4 7C 08 03 A6 */ mtlr r0
/* 80169A68 001669C8 38 21 00 30 */ addi r1, r1, 0x30
/* 80169A6C 001669CC 4E 80 00 20 */ blr
.global sub_80169a70
sub_80169a70:
/* 80169A70 001669D0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80169A74 001669D4 7C 08 02 A6 */ mflr r0
/* 80169A78 001669D8 90 01 00 14 */ stw r0, 0x14(r1)
/* 80169A7C 001669DC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80169A80 001669E0 7C 9F 23 78 */ mr r31, r4
/* 80169A84 001669E4 93 C1 00 08 */ stw r30, 8(r1)
/* 80169A88 001669E8 7C 7E 1B 79 */ or. r30, r3, r3
/* 80169A8C 001669EC 41 82 00 B4 */ beq lbl_80169B40
/* 80169A90 001669F0 3C 60 80 3E */ lis r3, lbl_803E3AC8@ha
/* 80169A94 001669F4 38 03 3A C8 */ addi r0, r3, lbl_803E3AC8@l
/* 80169A98 001669F8 90 1E 00 00 */ stw r0, 0(r30)
/* 80169A9C 001669FC 80 7E 00 04 */ lwz r3, 4(r30)
/* 80169AA0 00166A00 28 03 00 00 */ cmplwi r3, 0
/* 80169AA4 00166A04 41 82 00 68 */ beq lbl_80169B0C
/* 80169AA8 00166A08 41 82 00 64 */ beq lbl_80169B0C
/* 80169AAC 00166A0C 34 03 00 14 */ addic. r0, r3, 0x14
/* 80169AB0 00166A10 41 82 00 58 */ beq lbl_80169B08
/* 80169AB4 00166A14 80 C3 00 14 */ lwz r6, 0x14(r3)
/* 80169AB8 00166A18 38 80 00 00 */ li r4, 0
/* 80169ABC 00166A1C 2C 06 00 00 */ cmpwi r6, 0
/* 80169AC0 00166A20 40 81 00 40 */ ble lbl_80169B00
/* 80169AC4 00166A24 2C 06 00 08 */ cmpwi r6, 8
/* 80169AC8 00166A28 38 A6 FF F8 */ addi r5, r6, -8
/* 80169ACC 00166A2C 40 81 00 20 */ ble lbl_80169AEC
/* 80169AD0 00166A30 38 05 00 07 */ addi r0, r5, 7
/* 80169AD4 00166A34 54 00 E8 FE */ srwi r0, r0, 3
/* 80169AD8 00166A38 7C 09 03 A6 */ mtctr r0
/* 80169ADC 00166A3C 2C 05 00 00 */ cmpwi r5, 0
/* 80169AE0 00166A40 40 81 00 0C */ ble lbl_80169AEC
lbl_80169AE4:
/* 80169AE4 00166A44 38 84 00 08 */ addi r4, r4, 8
/* 80169AE8 00166A48 42 00 FF FC */ bdnz lbl_80169AE4
lbl_80169AEC:
/* 80169AEC 00166A4C 7C 04 30 50 */ subf r0, r4, r6
/* 80169AF0 00166A50 7C 09 03 A6 */ mtctr r0
/* 80169AF4 00166A54 7C 04 30 00 */ cmpw r4, r6
/* 80169AF8 00166A58 40 80 00 08 */ bge lbl_80169B00
lbl_80169AFC:
/* 80169AFC 00166A5C 42 00 00 00 */ bdnz lbl_80169AFC
lbl_80169B00:
/* 80169B00 00166A60 38 00 00 00 */ li r0, 0
/* 80169B04 00166A64 90 03 00 14 */ stw r0, 0x14(r3)
lbl_80169B08:
/* 80169B08 00166A68 48 1A BE 29 */ bl Free__7CMemoryFPCv
lbl_80169B0C:
/* 80169B0C 00166A6C 28 1E 00 00 */ cmplwi r30, 0
/* 80169B10 00166A70 41 82 00 20 */ beq lbl_80169B30
/* 80169B14 00166A74 3C 60 80 3E */ lis r3, lbl_803D8D78@ha
/* 80169B18 00166A78 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l
/* 80169B1C 00166A7C 90 1E 00 00 */ stw r0, 0(r30)
/* 80169B20 00166A80 41 82 00 10 */ beq lbl_80169B30
/* 80169B24 00166A84 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha
/* 80169B28 00166A88 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l
/* 80169B2C 00166A8C 90 1E 00 00 */ stw r0, 0(r30)
lbl_80169B30:
/* 80169B30 00166A90 7F E0 07 35 */ extsh. r0, r31
/* 80169B34 00166A94 40 81 00 0C */ ble lbl_80169B40
/* 80169B38 00166A98 7F C3 F3 78 */ mr r3, r30
/* 80169B3C 00166A9C 48 1A BD F5 */ bl Free__7CMemoryFPCv
lbl_80169B40:
/* 80169B40 00166AA0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80169B44 00166AA4 7F C3 F3 78 */ mr r3, r30
/* 80169B48 00166AA8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80169B4C 00166AAC 83 C1 00 08 */ lwz r30, 8(r1)
/* 80169B50 00166AB0 7C 08 03 A6 */ mtlr r0
/* 80169B54 00166AB4 38 21 00 10 */ addi r1, r1, 0x10
/* 80169B58 00166AB8 4E 80 00 20 */ blr
.global "GetIObjObjectFor__30TToken<20CScannableObjectInfo>FRCQ24rstl32auto_ptr<20CScannableObjectInfo>"
"GetIObjObjectFor__30TToken<20CScannableObjectInfo>FRCQ24rstl32auto_ptr<20CScannableObjectInfo>":
/* 80169B5C 00166ABC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80169B60 00166AC0 7C 08 02 A6 */ mflr r0
/* 80169B64 00166AC4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80169B68 00166AC8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80169B6C 00166ACC 7C 7F 1B 78 */ mr r31, r3
/* 80169B70 00166AD0 48 00 00 19 */ bl sub_80169b88
/* 80169B74 00166AD4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80169B78 00166AD8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80169B7C 00166ADC 7C 08 03 A6 */ mtlr r0
/* 80169B80 00166AE0 38 21 00 10 */ addi r1, r1, 0x10
/* 80169B84 00166AE4 4E 80 00 20 */ blr
.global sub_80169b88
sub_80169b88:
/* 80169B88 00166AE8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80169B8C 00166AEC 7C 08 02 A6 */ mflr r0
/* 80169B90 00166AF0 3C A0 80 3D */ lis r5, lbl_803D0490@ha
/* 80169B94 00166AF4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80169B98 00166AF8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80169B9C 00166AFC 7C 9F 23 78 */ mr r31, r4
/* 80169BA0 00166B00 93 C1 00 08 */ stw r30, 8(r1)
/* 80169BA4 00166B04 7C 7E 1B 78 */ mr r30, r3
/* 80169BA8 00166B08 38 65 04 90 */ addi r3, r5, lbl_803D0490@l
/* 80169BAC 00166B0C 38 A0 00 00 */ li r5, 0
/* 80169BB0 00166B10 38 83 00 3C */ addi r4, r3, 0x3c
/* 80169BB4 00166B14 38 60 00 08 */ li r3, 8
/* 80169BB8 00166B18 48 1A BC B5 */ bl __nw__FUlPCcPCc
/* 80169BBC 00166B1C 28 03 00 00 */ cmplwi r3, 0
/* 80169BC0 00166B20 41 82 00 38 */ beq lbl_80169BF8
/* 80169BC4 00166B24 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha
/* 80169BC8 00166B28 3C A0 80 3E */ lis r5, lbl_803D8D78@ha
/* 80169BCC 00166B2C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l
/* 80169BD0 00166B30 3C 80 80 3E */ lis r4, lbl_803E3AC8@ha
/* 80169BD4 00166B34 90 03 00 00 */ stw r0, 0(r3)
/* 80169BD8 00166B38 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l
/* 80169BDC 00166B3C 38 A0 00 00 */ li r5, 0
/* 80169BE0 00166B40 38 04 3A C8 */ addi r0, r4, lbl_803E3AC8@l
/* 80169BE4 00166B44 90 C3 00 00 */ stw r6, 0(r3)
/* 80169BE8 00166B48 98 BF 00 00 */ stb r5, 0(r31)
/* 80169BEC 00166B4C 80 9F 00 04 */ lwz r4, 4(r31)
/* 80169BF0 00166B50 90 83 00 04 */ stw r4, 4(r3)
/* 80169BF4 00166B54 90 03 00 00 */ stw r0, 0(r3)
lbl_80169BF8:
/* 80169BF8 00166B58 7C 03 00 D0 */ neg r0, r3
/* 80169BFC 00166B5C 7C 00 1B 78 */ or r0, r0, r3
/* 80169C00 00166B60 54 00 0F FE */ srwi r0, r0, 0x1f
/* 80169C04 00166B64 98 1E 00 00 */ stb r0, 0(r30)
/* 80169C08 00166B68 90 7E 00 04 */ stw r3, 4(r30)
/* 80169C0C 00166B6C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80169C10 00166B70 83 C1 00 08 */ lwz r30, 8(r1)
/* 80169C14 00166B74 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80169C18 00166B78 7C 08 03 A6 */ mtlr r0
/* 80169C1C 00166B7C 38 21 00 10 */ addi r1, r1, 0x10
/* 80169C20 00166B80 4E 80 00 20 */ blr
.global LoadVersion4or5__20CScannableObjectInfoFR12CInputStreamUi
LoadVersion4or5__20CScannableObjectInfoFR12CInputStreamUi:
/* 80169C24 00166B84 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80169C28 00166B88 7C 08 02 A6 */ mflr r0
/* 80169C2C 00166B8C 90 01 00 64 */ stw r0, 0x64(r1)
/* 80169C30 00166B90 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 80169C34 00166B94 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0
/* 80169C38 00166B98 BF 41 00 38 */ stmw r26, 0x38(r1)
/* 80169C3C 00166B9C 7C 9C 23 78 */ mr r28, r4
/* 80169C40 00166BA0 7C 7B 1B 78 */ mr r27, r3
/* 80169C44 00166BA4 7C BD 2B 78 */ mr r29, r5
/* 80169C48 00166BA8 7F 83 E3 78 */ mr r3, r28
/* 80169C4C 00166BAC 48 1D 50 39 */ bl ReadLong__12CInputStreamFv
/* 80169C50 00166BB0 7F 83 E3 78 */ mr r3, r28
/* 80169C54 00166BB4 48 1D 50 31 */ bl ReadLong__12CInputStreamFv
/* 80169C58 00166BB8 7F 83 E3 78 */ mr r3, r28
/* 80169C5C 00166BBC 48 1D 50 29 */ bl ReadLong__12CInputStreamFv
/* 80169C60 00166BC0 28 1D 00 04 */ cmplwi r29, 4
/* 80169C64 00166BC4 90 7B 00 04 */ stw r3, 4(r27)
/* 80169C68 00166BC8 40 80 00 14 */ bge lbl_80169C7C
/* 80169C6C 00166BCC 7F 83 E3 78 */ mr r3, r28
/* 80169C70 00166BD0 48 1D 4F B9 */ bl ReadFloat__12CInputStreamFv
/* 80169C74 00166BD4 D0 3B 00 08 */ stfs f1, 8(r27)
/* 80169C78 00166BD8 48 00 00 20 */ b lbl_80169C98
lbl_80169C7C:
/* 80169C7C 00166BDC 7F 83 E3 78 */ mr r3, r28
/* 80169C80 00166BE0 48 1D 50 05 */ bl ReadLong__12CInputStreamFv
/* 80169C84 00166BE4 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13)
/* 80169C88 00166BE8 54 60 10 3A */ slwi r0, r3, 2
/* 80169C8C 00166BEC 7C 64 02 14 */ add r3, r4, r0
/* 80169C90 00166BF0 C0 03 02 C8 */ lfs f0, 0x2c8(r3)
/* 80169C94 00166BF4 D0 1B 00 08 */ stfs f0, 8(r27)
lbl_80169C98:
/* 80169C98 00166BF8 7F 83 E3 78 */ mr r3, r28
/* 80169C9C 00166BFC 48 1D 4F E9 */ bl ReadLong__12CInputStreamFv
/* 80169CA0 00166C00 28 1D 00 04 */ cmplwi r29, 4
/* 80169CA4 00166C04 90 7B 00 0C */ stw r3, 0xc(r27)
/* 80169CA8 00166C08 40 81 00 10 */ ble lbl_80169CB8
/* 80169CAC 00166C0C 7F 83 E3 78 */ mr r3, r28
/* 80169CB0 00166C10 48 1D 50 2D */ bl ReadBool__12CInputStreamFv
/* 80169CB4 00166C14 98 7B 00 10 */ stb r3, 0x10(r27)
lbl_80169CB8:
/* 80169CB8 00166C18 3B C0 00 00 */ li r30, 0
/* 80169CBC 00166C1C 3B FB 00 18 */ addi r31, r27, 0x18
lbl_80169CC0:
/* 80169CC0 00166C20 7F 83 E3 78 */ mr r3, r28
/* 80169CC4 00166C24 48 1D 4F C1 */ bl ReadLong__12CInputStreamFv
/* 80169CC8 00166C28 7C 7A 1B 78 */ mr r26, r3
/* 80169CCC 00166C2C 7F 83 E3 78 */ mr r3, r28
/* 80169CD0 00166C30 48 1D 4F 59 */ bl ReadFloat__12CInputStreamFv
/* 80169CD4 00166C34 FF E0 08 90 */ fmr f31, f1
/* 80169CD8 00166C38 7F 83 E3 78 */ mr r3, r28
/* 80169CDC 00166C3C 48 1D 4F A9 */ bl ReadLong__12CInputStreamFv
/* 80169CE0 00166C40 28 1D 00 01 */ cmplwi r29, 1
/* 80169CE4 00166C44 90 61 00 20 */ stw r3, 0x20(r1)
/* 80169CE8 00166C48 40 82 00 18 */ bne lbl_80169D00
/* 80169CEC 00166C4C 38 61 00 08 */ addi r3, r1, 8
/* 80169CF0 00166C50 38 80 00 00 */ li r4, 0
/* 80169CF4 00166C54 38 A0 00 00 */ li r5, 0
/* 80169CF8 00166C58 48 1A A6 55 */ bl __ct__9CVector2iFii
/* 80169CFC 00166C5C 48 00 00 20 */ b lbl_80169D1C
lbl_80169D00:
/* 80169D00 00166C60 7F 83 E3 78 */ mr r3, r28
/* 80169D04 00166C64 48 1D 4F 81 */ bl ReadLong__12CInputStreamFv
/* 80169D08 00166C68 90 61 00 10 */ stw r3, 0x10(r1)
/* 80169D0C 00166C6C 7F 83 E3 78 */ mr r3, r28
/* 80169D10 00166C70 48 1D 4F 75 */ bl ReadLong__12CInputStreamFv
/* 80169D14 00166C74 90 61 00 14 */ stw r3, 0x14(r1)
/* 80169D18 00166C78 38 61 00 10 */ addi r3, r1, 0x10
lbl_80169D1C:
/* 80169D1C 00166C7C 80 83 00 00 */ lwz r4, 0(r3)
/* 80169D20 00166C80 28 1D 00 01 */ cmplwi r29, 1
/* 80169D24 00166C84 80 03 00 04 */ lwz r0, 4(r3)
/* 80169D28 00166C88 90 81 00 24 */ stw r4, 0x24(r1)
/* 80169D2C 00166C8C 90 01 00 28 */ stw r0, 0x28(r1)
/* 80169D30 00166C90 40 82 00 0C */ bne lbl_80169D3C
/* 80169D34 00166C94 C0 22 A0 68 */ lfs f1, lbl_805ABD88@sda21(r2)
/* 80169D38 00166C98 48 00 00 0C */ b lbl_80169D44
lbl_80169D3C:
/* 80169D3C 00166C9C 7F 83 E3 78 */ mr r3, r28
/* 80169D40 00166CA0 48 1D 4E E9 */ bl ReadFloat__12CInputStreamFv
lbl_80169D44:
/* 80169D44 00166CA4 28 1D 00 03 */ cmplwi r29, 3
/* 80169D48 00166CA8 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 80169D4C 00166CAC 40 80 00 0C */ bge lbl_80169D58
/* 80169D50 00166CB0 C0 22 A0 68 */ lfs f1, lbl_805ABD88@sda21(r2)
/* 80169D54 00166CB4 48 00 00 0C */ b lbl_80169D60
lbl_80169D58:
/* 80169D58 00166CB8 7F 83 E3 78 */ mr r3, r28
/* 80169D5C 00166CBC 48 1D 4E CD */ bl ReadFloat__12CInputStreamFv
lbl_80169D60:
/* 80169D60 00166CC0 80 1B 00 14 */ lwz r0, 0x14(r27)
/* 80169D64 00166CC4 D0 21 00 30 */ stfs f1, 0x30(r1)
/* 80169D68 00166CC8 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 80169D6C 00166CCC 7C 9F 02 15 */ add. r4, r31, r0
/* 80169D70 00166CD0 41 82 00 34 */ beq lbl_80169DA4
/* 80169D74 00166CD4 93 44 00 00 */ stw r26, 0(r4)
/* 80169D78 00166CD8 FC 00 08 18 */ frsp f0, f1
/* 80169D7C 00166CDC 80 01 00 20 */ lwz r0, 0x20(r1)
/* 80169D80 00166CE0 D3 E4 00 04 */ stfs f31, 4(r4)
/* 80169D84 00166CE4 80 61 00 24 */ lwz r3, 0x24(r1)
/* 80169D88 00166CE8 90 04 00 08 */ stw r0, 8(r4)
/* 80169D8C 00166CEC 80 01 00 28 */ lwz r0, 0x28(r1)
/* 80169D90 00166CF0 90 64 00 0C */ stw r3, 0xc(r4)
/* 80169D94 00166CF4 C0 21 00 2C */ lfs f1, 0x2c(r1)
/* 80169D98 00166CF8 90 04 00 10 */ stw r0, 0x10(r4)
/* 80169D9C 00166CFC D0 24 00 14 */ stfs f1, 0x14(r4)
/* 80169DA0 00166D00 D0 04 00 18 */ stfs f0, 0x18(r4)
lbl_80169DA4:
/* 80169DA4 00166D04 80 7B 00 14 */ lwz r3, 0x14(r27)
/* 80169DA8 00166D08 3B DE 00 01 */ addi r30, r30, 1
/* 80169DAC 00166D0C 2C 1E 00 04 */ cmpwi r30, 4
/* 80169DB0 00166D10 38 03 00 01 */ addi r0, r3, 1
/* 80169DB4 00166D14 90 1B 00 14 */ stw r0, 0x14(r27)
/* 80169DB8 00166D18 41 80 FF 08 */ blt lbl_80169CC0
/* 80169DBC 00166D1C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0
/* 80169DC0 00166D20 CB E1 00 50 */ lfd f31, 0x50(r1)
/* 80169DC4 00166D24 BB 41 00 38 */ lmw r26, 0x38(r1)
/* 80169DC8 00166D28 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80169DCC 00166D2C 7C 08 03 A6 */ mtlr r0
/* 80169DD0 00166D30 38 21 00 60 */ addi r1, r1, 0x60
/* 80169DD4 00166D34 4E 80 00 20 */ blr
.global __ct__20CScannableObjectInfoFR12CInputStreamUi
__ct__20CScannableObjectInfoFR12CInputStreamUi:
/* 80169DD8 00166D38 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80169DDC 00166D3C 7C 08 02 A6 */ mflr r0
/* 80169DE0 00166D40 C0 02 A0 68 */ lfs f0, lbl_805ABD88@sda21(r2)
/* 80169DE4 00166D44 90 01 00 14 */ stw r0, 0x14(r1)
/* 80169DE8 00166D48 38 00 00 00 */ li r0, 0
/* 80169DEC 00166D4C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80169DF0 00166D50 7C 7F 1B 78 */ mr r31, r3
/* 80169DF4 00166D54 93 C1 00 08 */ stw r30, 8(r1)
/* 80169DF8 00166D58 7C 9E 23 78 */ mr r30, r4
/* 80169DFC 00166D5C 90 A3 00 00 */ stw r5, 0(r3)
/* 80169E00 00166D60 38 60 FF FF */ li r3, -1
/* 80169E04 00166D64 90 7F 00 04 */ stw r3, 4(r31)
/* 80169E08 00166D68 7F C3 F3 78 */ mr r3, r30
/* 80169E0C 00166D6C D0 1F 00 08 */ stfs f0, 8(r31)
/* 80169E10 00166D70 90 1F 00 0C */ stw r0, 0xc(r31)
/* 80169E14 00166D74 98 1F 00 10 */ stb r0, 0x10(r31)
/* 80169E18 00166D78 90 1F 00 14 */ stw r0, 0x14(r31)
/* 80169E1C 00166D7C 48 1D 4E 69 */ bl ReadLong__12CInputStreamFv
/* 80169E20 00166D80 7C 65 1B 78 */ mr r5, r3
/* 80169E24 00166D84 7F E3 FB 78 */ mr r3, r31
/* 80169E28 00166D88 7F C4 F3 78 */ mr r4, r30
/* 80169E2C 00166D8C 4B FF FD F9 */ bl LoadVersion4or5__20CScannableObjectInfoFR12CInputStreamUi
/* 80169E30 00166D90 38 BF 00 14 */ addi r5, r31, 0x14
/* 80169E34 00166D94 38 C0 00 00 */ li r6, 0
/* 80169E38 00166D98 38 80 00 00 */ li r4, 0
/* 80169E3C 00166D9C 48 00 00 20 */ b lbl_80169E5C
lbl_80169E40:
/* 80169E40 00166DA0 7C 65 22 14 */ add r3, r5, r4
/* 80169E44 00166DA4 C0 1F 00 08 */ lfs f0, 8(r31)
/* 80169E48 00166DA8 C0 23 00 08 */ lfs f1, 8(r3)
/* 80169E4C 00166DAC 38 84 00 1C */ addi r4, r4, 0x1c
/* 80169E50 00166DB0 38 C6 00 01 */ addi r6, r6, 1
/* 80169E54 00166DB4 EC 01 00 32 */ fmuls f0, f1, f0
/* 80169E58 00166DB8 D0 03 00 08 */ stfs f0, 8(r3)
lbl_80169E5C:
/* 80169E5C 00166DBC 80 05 00 00 */ lwz r0, 0(r5)
/* 80169E60 00166DC0 7C 06 00 00 */ cmpw r6, r0
/* 80169E64 00166DC4 41 80 FF DC */ blt lbl_80169E40
/* 80169E68 00166DC8 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13)
/* 80169E6C 00166DCC 38 DF 00 14 */ addi r6, r31, 0x14
/* 80169E70 00166DD0 39 00 00 00 */ li r8, 0
/* 80169E74 00166DD4 38 A0 00 00 */ li r5, 0
/* 80169E78 00166DD8 C0 23 02 44 */ lfs f1, 0x244(r3)
/* 80169E7C 00166DDC 48 00 00 5C */ b lbl_80169ED8
lbl_80169E80:
/* 80169E80 00166DE0 7C 66 2A 14 */ add r3, r6, r5
/* 80169E84 00166DE4 80 03 00 0C */ lwz r0, 0xc(r3)
/* 80169E88 00166DE8 2C 00 FF FF */ cmpwi r0, -1
/* 80169E8C 00166DEC 41 82 00 44 */ beq lbl_80169ED0
/* 80169E90 00166DF0 C0 1F 00 08 */ lfs f0, 8(r31)
/* 80169E94 00166DF4 1C 88 00 1C */ mulli r4, r8, 0x1c
/* 80169E98 00166DF8 7D 09 43 78 */ mr r9, r8
/* 80169E9C 00166DFC EC 00 08 2A */ fadds f0, f0, f1
/* 80169EA0 00166E00 38 FF 00 14 */ addi r7, r31, 0x14
/* 80169EA4 00166E04 D0 1F 00 08 */ stfs f0, 8(r31)
/* 80169EA8 00166E08 48 00 00 1C */ b lbl_80169EC4
lbl_80169EAC:
/* 80169EAC 00166E0C 7C 67 22 14 */ add r3, r7, r4
/* 80169EB0 00166E10 38 84 00 1C */ addi r4, r4, 0x1c
/* 80169EB4 00166E14 C0 03 00 08 */ lfs f0, 8(r3)
/* 80169EB8 00166E18 39 29 00 01 */ addi r9, r9, 1
/* 80169EBC 00166E1C EC 00 08 2A */ fadds f0, f0, f1
/* 80169EC0 00166E20 D0 03 00 08 */ stfs f0, 8(r3)
lbl_80169EC4:
/* 80169EC4 00166E24 80 07 00 00 */ lwz r0, 0(r7)
/* 80169EC8 00166E28 7C 09 00 00 */ cmpw r9, r0
/* 80169ECC 00166E2C 41 80 FF E0 */ blt lbl_80169EAC
lbl_80169ED0:
/* 80169ED0 00166E30 38 A5 00 1C */ addi r5, r5, 0x1c
/* 80169ED4 00166E34 39 08 00 01 */ addi r8, r8, 1
lbl_80169ED8:
/* 80169ED8 00166E38 80 06 00 00 */ lwz r0, 0(r6)
/* 80169EDC 00166E3C 7C 08 00 00 */ cmpw r8, r0
/* 80169EE0 00166E40 41 80 FF A0 */ blt lbl_80169E80
/* 80169EE4 00166E44 39 1F 00 14 */ addi r8, r31, 0x14
/* 80169EE8 00166E48 39 40 00 00 */ li r10, 0
/* 80169EEC 00166E4C 38 E0 00 00 */ li r7, 0
/* 80169EF0 00166E50 38 80 FF FF */ li r4, -1
/* 80169EF4 00166E54 48 00 00 50 */ b lbl_80169F44
lbl_80169EF8:
/* 80169EF8 00166E58 39 6A 00 01 */ addi r11, r10, 1
/* 80169EFC 00166E5C 7C 68 3A 14 */ add r3, r8, r7
/* 80169F00 00166E60 1C CB 00 1C */ mulli r6, r11, 0x1c
/* 80169F04 00166E64 48 00 00 2C */ b lbl_80169F30
lbl_80169F08:
/* 80169F08 00166E68 7C A8 32 14 */ add r5, r8, r6
/* 80169F0C 00166E6C 81 23 00 0C */ lwz r9, 0xc(r3)
/* 80169F10 00166E70 80 05 00 0C */ lwz r0, 0xc(r5)
/* 80169F14 00166E74 7C 09 00 00 */ cmpw r9, r0
/* 80169F18 00166E78 40 82 00 10 */ bne lbl_80169F28
/* 80169F1C 00166E7C 2C 09 FF FF */ cmpwi r9, -1
/* 80169F20 00166E80 41 82 00 08 */ beq lbl_80169F28
/* 80169F24 00166E84 90 85 00 0C */ stw r4, 0xc(r5)
lbl_80169F28:
/* 80169F28 00166E88 38 C6 00 1C */ addi r6, r6, 0x1c
/* 80169F2C 00166E8C 39 6B 00 01 */ addi r11, r11, 1
lbl_80169F30:
/* 80169F30 00166E90 80 08 00 00 */ lwz r0, 0(r8)
/* 80169F34 00166E94 7C 0B 00 00 */ cmpw r11, r0
/* 80169F38 00166E98 41 80 FF D0 */ blt lbl_80169F08
/* 80169F3C 00166E9C 38 E7 00 1C */ addi r7, r7, 0x1c
/* 80169F40 00166EA0 39 4A 00 01 */ addi r10, r10, 1
lbl_80169F44:
/* 80169F44 00166EA4 80 68 00 00 */ lwz r3, 0(r8)
/* 80169F48 00166EA8 38 03 FF FF */ addi r0, r3, -1
/* 80169F4C 00166EAC 7C 0A 00 00 */ cmpw r10, r0
/* 80169F50 00166EB0 41 80 FF A8 */ blt lbl_80169EF8
/* 80169F54 00166EB4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80169F58 00166EB8 7F E3 FB 78 */ mr r3, r31
/* 80169F5C 00166EBC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80169F60 00166EC0 83 C1 00 08 */ lwz r30, 8(r1)
/* 80169F64 00166EC4 7C 08 03 A6 */ mtlr r0
/* 80169F68 00166EC8 38 21 00 10 */ addi r1, r1, 0x10
/* 80169F6C 00166ECC 4E 80 00 20 */ blr
.global GetImagePaneName__16CPauseScreenBaseFUi
GetImagePaneName__16CPauseScreenBaseFUi:
/* 80169F70 00166ED0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80169F74 00166ED4 7C 08 02 A6 */ mflr r0
/* 80169F78 00166ED8 3C 80 80 3D */ lis r4, lbl_803D0440@ha
/* 80169F7C 00166EDC 3C C0 80 3D */ lis r6, lbl_803D0490@ha
/* 80169F80 00166EE0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80169F84 00166EE4 54 60 10 3A */ slwi r0, r3, 2
/* 80169F88 00166EE8 3C A0 80 3D */ lis r5, lbl_803D0430@ha
/* 80169F8C 00166EEC 38 64 04 40 */ addi r3, r4, lbl_803D0440@l
/* 80169F90 00166EF0 38 85 04 30 */ addi r4, r5, lbl_803D0430@l
/* 80169F94 00166EF4 38 C6 04 90 */ addi r6, r6, lbl_803D0490@l
/* 80169F98 00166EF8 7C A3 00 2E */ lwzx r5, r3, r0
/* 80169F9C 00166EFC 38 66 00 43 */ addi r3, r6, 0x43
/* 80169FA0 00166F00 4C C6 31 82 */ crclr 6
/* 80169FA4 00166F04 48 16 C2 0D */ bl Stringize__7CBasicsFPCce
/* 80169FA8 00166F08 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80169FAC 00166F0C 7C 08 03 A6 */ mtlr r0
/* 80169FB0 00166F10 38 21 00 10 */ addi r1, r1, 0x10
/* 80169FB4 00166F14 4E 80 00 20 */ blr

View File

@ -0,0 +1,152 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Draw__20CFaceplateDecorationCFRC13CStateManager
Draw__20CFaceplateDecorationCFRC13CStateManager:
/* 80175AC0 00172A20 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80175AC4 00172A24 7C 08 02 A6 */ mflr r0
/* 80175AC8 00172A28 90 01 00 54 */ stw r0, 0x54(r1)
/* 80175ACC 00172A2C DB E1 00 40 */ stfd f31, 0x40(r1)
/* 80175AD0 00172A30 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
/* 80175AD4 00172A34 DB C1 00 30 */ stfd f30, 0x30(r1)
/* 80175AD8 00172A38 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0
/* 80175ADC 00172A3C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80175AE0 00172A40 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80175AE4 00172A44 88 03 00 0C */ lbz r0, 0xc(r3)
/* 80175AE8 00172A48 7C 9E 23 78 */ mr r30, r4
/* 80175AEC 00172A4C 28 00 00 00 */ cmplwi r0, 0
/* 80175AF0 00172A50 41 82 00 98 */ beq lbl_80175B88
/* 80175AF4 00172A54 80 83 00 04 */ lwz r4, 4(r3)
/* 80175AF8 00172A58 80 04 00 10 */ lwz r0, 0x10(r4)
/* 80175AFC 00172A5C 28 00 00 00 */ cmplwi r0, 0
/* 80175B00 00172A60 41 82 00 88 */ beq lbl_80175B88
/* 80175B04 00172A64 3B E1 00 10 */ addi r31, r1, 0x10
/* 80175B08 00172A68 38 83 00 04 */ addi r4, r3, 4
/* 80175B0C 00172A6C 7F E3 FB 78 */ mr r3, r31
/* 80175B10 00172A70 48 1C B3 99 */ bl __ct__6CTokenFRC6CToken
/* 80175B14 00172A74 7F E3 FB 78 */ mr r3, r31
/* 80175B18 00172A78 48 1C B2 F5 */ bl GetObj__6CTokenFv
/* 80175B1C 00172A7C 83 E3 00 04 */ lwz r31, 4(r3)
/* 80175B20 00172A80 38 61 00 10 */ addi r3, r1, 0x10
/* 80175B24 00172A84 38 80 00 00 */ li r4, 0
/* 80175B28 00172A88 93 E1 00 18 */ stw r31, 0x18(r1)
/* 80175B2C 00172A8C 48 1C B3 15 */ bl __dt__6CTokenFv
/* 80175B30 00172A90 80 7E 08 4C */ lwz r3, 0x84c(r30)
/* 80175B34 00172A94 C0 22 A1 90 */ lfs f1, lbl_805ABEB0@sda21(r2)
/* 80175B38 00172A98 C3 C3 07 C0 */ lfs f30, 0x7c0(r3)
/* 80175B3C 00172A9C C0 02 A1 94 */ lfs f0, lbl_805ABEB4@sda21(r2)
/* 80175B40 00172AA0 EC 3E 08 28 */ fsubs f1, f30, f1
/* 80175B44 00172AA4 FC 20 0A 10 */ fabs f1, f1
/* 80175B48 00172AA8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80175B4C 00172AAC 41 80 00 3C */ blt lbl_80175B88
/* 80175B50 00172AB0 48 1D 44 5D */ bl White__6CColorFv
/* 80175B54 00172AB4 C0 02 A1 98 */ lfs f0, lbl_805ABEB8@sda21(r2)
/* 80175B58 00172AB8 EF E0 07 B2 */ fmuls f31, f0, f30
/* 80175B5C 00172ABC F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 80175B60 00172AC0 7F E6 FB 78 */ mr r6, r31
/* 80175B64 00172AC4 80 E3 00 00 */ lwz r7, 0(r3)
/* 80175B68 00172AC8 38 A1 00 0C */ addi r5, r1, 0xc
/* 80175B6C 00172ACC 88 01 00 08 */ lbz r0, 8(r1)
/* 80175B70 00172AD0 38 60 00 05 */ li r3, 5
/* 80175B74 00172AD4 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17
/* 80175B78 00172AD8 C0 22 A1 9C */ lfs f1, lbl_805ABEBC@sda21(r2)
/* 80175B7C 00172ADC 90 01 00 0C */ stw r0, 0xc(r1)
/* 80175B80 00172AE0 38 80 00 03 */ li r4, 3
/* 80175B84 00172AE4 4B F7 65 C5 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef
lbl_80175B88:
/* 80175B88 00172AE8 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
/* 80175B8C 00172AEC CB E1 00 40 */ lfd f31, 0x40(r1)
/* 80175B90 00172AF0 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0
/* 80175B94 00172AF4 CB C1 00 30 */ lfd f30, 0x30(r1)
/* 80175B98 00172AF8 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80175B9C 00172AFC 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80175BA0 00172B00 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80175BA4 00172B04 7C 08 03 A6 */ mtlr r0
/* 80175BA8 00172B08 38 21 00 50 */ addi r1, r1, 0x50
/* 80175BAC 00172B0C 4E 80 00 20 */ blr
.global Update__20CFaceplateDecorationFfRC13CStateManager
Update__20CFaceplateDecorationFfRC13CStateManager:
/* 80175BB0 00172B10 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80175BB4 00172B14 7C 08 02 A6 */ mflr r0
/* 80175BB8 00172B18 90 01 00 34 */ stw r0, 0x34(r1)
/* 80175BBC 00172B1C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80175BC0 00172B20 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80175BC4 00172B24 7C 7E 1B 78 */ mr r30, r3
/* 80175BC8 00172B28 80 84 08 4C */ lwz r4, 0x84c(r4)
/* 80175BCC 00172B2C 83 E4 07 AC */ lwz r31, 0x7ac(r4)
/* 80175BD0 00172B30 3C 1F 00 01 */ addis r0, r31, 1
/* 80175BD4 00172B34 28 00 FF FF */ cmplwi r0, 0xffff
/* 80175BD8 00172B38 40 82 00 1C */ bne lbl_80175BF4
/* 80175BDC 00172B3C 88 1E 00 0C */ lbz r0, 0xc(r30)
/* 80175BE0 00172B40 28 00 00 00 */ cmplwi r0, 0
/* 80175BE4 00172B44 41 82 00 10 */ beq lbl_80175BF4
/* 80175BE8 00172B48 38 7E 00 04 */ addi r3, r30, 4
/* 80175BEC 00172B4C 48 1C B1 55 */ bl Unlock__6CTokenFv
/* 80175BF0 00172B50 93 FE 00 00 */ stw r31, 0(r30)
lbl_80175BF4:
/* 80175BF4 00172B54 80 1E 00 00 */ lwz r0, 0(r30)
/* 80175BF8 00172B58 7C 1F 00 40 */ cmplw r31, r0
/* 80175BFC 00172B5C 41 82 00 B0 */ beq lbl_80175CAC
/* 80175C00 00172B60 3C 1F 00 01 */ addis r0, r31, 1
/* 80175C04 00172B64 28 00 FF FF */ cmplwi r0, 0xffff
/* 80175C08 00172B68 41 82 00 A4 */ beq lbl_80175CAC
/* 80175C0C 00172B6C 93 FE 00 00 */ stw r31, 0(r30)
/* 80175C10 00172B70 3C 60 54 58 */ lis r3, 0x54585452@ha
/* 80175C14 00172B74 38 03 54 52 */ addi r0, r3, 0x54585452@l
/* 80175C18 00172B78 38 61 00 10 */ addi r3, r1, 0x10
/* 80175C1C 00172B7C 80 DE 00 00 */ lwz r6, 0(r30)
/* 80175C20 00172B80 38 A1 00 18 */ addi r5, r1, 0x18
/* 80175C24 00172B84 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80175C28 00172B88 90 01 00 18 */ stw r0, 0x18(r1)
/* 80175C2C 00172B8C 90 C1 00 1C */ stw r6, 0x1c(r1)
/* 80175C30 00172B90 81 84 00 00 */ lwz r12, 0(r4)
/* 80175C34 00172B94 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80175C38 00172B98 7D 89 03 A6 */ mtctr r12
/* 80175C3C 00172B9C 4E 80 04 21 */ bctrl
/* 80175C40 00172BA0 38 61 00 08 */ addi r3, r1, 8
/* 80175C44 00172BA4 38 81 00 10 */ addi r4, r1, 0x10
/* 80175C48 00172BA8 48 1C B2 61 */ bl __ct__6CTokenFRC6CToken
/* 80175C4C 00172BAC 88 1E 00 0C */ lbz r0, 0xc(r30)
/* 80175C50 00172BB0 28 00 00 00 */ cmplwi r0, 0
/* 80175C54 00172BB4 40 82 00 20 */ bne lbl_80175C74
/* 80175C58 00172BB8 34 7E 00 04 */ addic. r3, r30, 4
/* 80175C5C 00172BBC 41 82 00 0C */ beq lbl_80175C68
/* 80175C60 00172BC0 38 81 00 08 */ addi r4, r1, 8
/* 80175C64 00172BC4 48 1C B2 45 */ bl __ct__6CTokenFRC6CToken
lbl_80175C68:
/* 80175C68 00172BC8 38 00 00 01 */ li r0, 1
/* 80175C6C 00172BCC 98 1E 00 0C */ stb r0, 0xc(r30)
/* 80175C70 00172BD0 48 00 00 10 */ b lbl_80175C80
lbl_80175C74:
/* 80175C74 00172BD4 38 7E 00 04 */ addi r3, r30, 4
/* 80175C78 00172BD8 38 81 00 08 */ addi r4, r1, 8
/* 80175C7C 00172BDC 48 1C B0 49 */ bl __as__6CTokenFRC6CToken
lbl_80175C80:
/* 80175C80 00172BE0 38 61 00 08 */ addi r3, r1, 8
/* 80175C84 00172BE4 38 80 00 00 */ li r4, 0
/* 80175C88 00172BE8 48 1C B1 B9 */ bl __dt__6CTokenFv
/* 80175C8C 00172BEC 38 61 00 10 */ addi r3, r1, 0x10
/* 80175C90 00172BF0 38 80 FF FF */ li r4, -1
/* 80175C94 00172BF4 48 1C B1 AD */ bl __dt__6CTokenFv
/* 80175C98 00172BF8 88 1E 00 0C */ lbz r0, 0xc(r30)
/* 80175C9C 00172BFC 28 00 00 00 */ cmplwi r0, 0
/* 80175CA0 00172C00 41 82 00 0C */ beq lbl_80175CAC
/* 80175CA4 00172C04 38 7E 00 04 */ addi r3, r30, 4
/* 80175CA8 00172C08 48 1C B0 DD */ bl Lock__6CTokenFv
lbl_80175CAC:
/* 80175CAC 00172C0C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80175CB0 00172C10 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80175CB4 00172C14 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80175CB8 00172C18 7C 08 03 A6 */ mtlr r0
/* 80175CBC 00172C1C 38 21 00 30 */ addi r1, r1, 0x30
/* 80175CC0 00172C20 4E 80 00 20 */ blr
.global __ct__20CFaceplateDecorationFR13CStateManager
__ct__20CFaceplateDecorationFR13CStateManager:
/* 80175CC4 00172C24 38 00 FF FF */ li r0, -1
/* 80175CC8 00172C28 90 03 00 00 */ stw r0, 0(r3)
/* 80175CCC 00172C2C 38 00 00 00 */ li r0, 0
/* 80175CD0 00172C30 98 03 00 0C */ stb r0, 0xc(r3)
/* 80175CD4 00172C34 4E 80 00 20 */ blr

View File

@ -0,0 +1,342 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Update__7CFidgetFibbfR13CStateManager
Update__7CFidgetFibbfR13CStateManager:
/* 80154768 001516C8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8015476C 001516CC 7C 08 02 A6 */ mflr r0
/* 80154770 001516D0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80154774 001516D4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80154778 001516D8 7C FF 3B 78 */ mr r31, r7
/* 8015477C 001516DC 93 C1 00 08 */ stw r30, 8(r1)
/* 80154780 001516E0 7C 7E 1B 78 */ mr r30, r3
/* 80154784 001516E4 80 03 00 00 */ lwz r0, 0(r3)
/* 80154788 001516E8 2C 00 00 00 */ cmpwi r0, 0
/* 8015478C 001516EC 41 82 00 78 */ beq lbl_80154804
/* 80154790 001516F0 2C 00 00 02 */ cmpwi r0, 2
/* 80154794 001516F4 41 82 00 38 */ beq lbl_801547CC
/* 80154798 001516F8 40 80 00 10 */ bge lbl_801547A8
/* 8015479C 001516FC 2C 00 00 01 */ cmpwi r0, 1
/* 801547A0 00151700 40 80 00 14 */ bge lbl_801547B4
/* 801547A4 00151704 48 00 00 58 */ b lbl_801547FC
lbl_801547A8:
/* 801547A8 00151708 2C 00 00 04 */ cmpwi r0, 4
/* 801547AC 0015170C 40 80 00 50 */ bge lbl_801547FC
/* 801547B0 00151710 48 00 00 34 */ b lbl_801547E4
lbl_801547B4:
/* 801547B4 00151714 88 1E 00 34 */ lbz r0, 0x34(r30)
/* 801547B8 00151718 38 60 00 04 */ li r3, 4
/* 801547BC 0015171C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 801547C0 00151720 41 82 03 80 */ beq lbl_80154B40
/* 801547C4 00151724 38 60 00 07 */ li r3, 7
/* 801547C8 00151728 48 00 03 78 */ b lbl_80154B40
lbl_801547CC:
/* 801547CC 0015172C 88 1E 00 34 */ lbz r0, 0x34(r30)
/* 801547D0 00151730 38 60 00 05 */ li r3, 5
/* 801547D4 00151734 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 801547D8 00151738 41 82 03 68 */ beq lbl_80154B40
/* 801547DC 0015173C 38 60 00 07 */ li r3, 7
/* 801547E0 00151740 48 00 03 60 */ b lbl_80154B40
lbl_801547E4:
/* 801547E4 00151744 88 1E 00 34 */ lbz r0, 0x34(r30)
/* 801547E8 00151748 38 60 00 06 */ li r3, 6
/* 801547EC 0015174C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 801547F0 00151750 41 82 03 50 */ beq lbl_80154B40
/* 801547F4 00151754 38 60 00 07 */ li r3, 7
/* 801547F8 00151758 48 00 03 48 */ b lbl_80154B40
lbl_801547FC:
/* 801547FC 0015175C 38 00 00 00 */ li r0, 0
/* 80154800 00151760 90 1E 00 00 */ stw r0, 0(r30)
lbl_80154804:
/* 80154804 00151764 2C 04 00 00 */ cmpwi r4, 0
/* 80154808 00151768 41 82 00 14 */ beq lbl_8015481C
/* 8015480C 0015176C C0 02 9E 00 */ lfs f0, lbl_805ABB20@sda21(r2)
/* 80154810 00151770 D0 1E 00 14 */ stfs f0, 0x14(r30)
/* 80154814 00151774 D0 1E 00 2C */ stfs f0, 0x2c(r30)
/* 80154818 00151778 48 00 00 3C */ b lbl_80154854
lbl_8015481C:
/* 8015481C 0015177C C0 5E 00 14 */ lfs f2, 0x14(r30)
/* 80154820 00151780 C0 02 9E 04 */ lfs f0, lbl_805ABB24@sda21(r2)
/* 80154824 00151784 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80154828 00151788 40 80 00 0C */ bge lbl_80154834
/* 8015482C 0015178C EC 02 08 2A */ fadds f0, f2, f1
/* 80154830 00151790 D0 1E 00 14 */ stfs f0, 0x14(r30)
lbl_80154834:
/* 80154834 00151794 C0 42 9E 08 */ lfs f2, lbl_805ABB28@sda21(r2)
/* 80154838 00151798 C0 1E 00 30 */ lfs f0, 0x30(r30)
/* 8015483C 0015179C C0 7E 00 2C */ lfs f3, 0x2c(r30)
/* 80154840 001517A0 EC 02 00 2A */ fadds f0, f2, f0
/* 80154844 001517A4 FC 03 00 40 */ fcmpo cr0, f3, f0
/* 80154848 001517A8 40 80 00 0C */ bge lbl_80154854
/* 8015484C 001517AC EC 03 08 2A */ fadds f0, f3, f1
/* 80154850 001517B0 D0 1E 00 2C */ stfs f0, 0x2c(r30)
lbl_80154854:
/* 80154854 001517B4 54 C0 06 3F */ clrlwi. r0, r6, 0x18
/* 80154858 001517B8 41 82 00 10 */ beq lbl_80154868
/* 8015485C 001517BC C0 02 9E 00 */ lfs f0, lbl_805ABB20@sda21(r2)
/* 80154860 001517C0 D0 1E 00 18 */ stfs f0, 0x18(r30)
/* 80154864 001517C4 48 00 00 1C */ b lbl_80154880
lbl_80154868:
/* 80154868 001517C8 C0 5E 00 18 */ lfs f2, 0x18(r30)
/* 8015486C 001517CC C0 02 9E 0C */ lfs f0, lbl_805ABB2C@sda21(r2)
/* 80154870 001517D0 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80154874 001517D4 40 80 00 0C */ bge lbl_80154880
/* 80154878 001517D8 EC 02 08 2A */ fadds f0, f2, f1
/* 8015487C 001517DC D0 1E 00 18 */ stfs f0, 0x18(r30)
lbl_80154880:
/* 80154880 001517E0 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 80154884 001517E4 80 03 02 F8 */ lwz r0, 0x2f8(r3)
/* 80154888 001517E8 2C 00 00 00 */ cmpwi r0, 0
/* 8015488C 001517EC 40 82 00 20 */ bne lbl_801548AC
/* 80154890 001517F0 C0 5E 00 1C */ lfs f2, 0x1c(r30)
/* 80154894 001517F4 C0 02 9E 10 */ lfs f0, lbl_805ABB30@sda21(r2)
/* 80154898 001517F8 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8015489C 001517FC 40 80 00 18 */ bge lbl_801548B4
/* 801548A0 00151800 EC 02 08 2A */ fadds f0, f2, f1
/* 801548A4 00151804 D0 1E 00 1C */ stfs f0, 0x1c(r30)
/* 801548A8 00151808 48 00 00 0C */ b lbl_801548B4
lbl_801548AC:
/* 801548AC 0015180C C0 02 9E 00 */ lfs f0, lbl_805ABB20@sda21(r2)
/* 801548B0 00151810 D0 1E 00 1C */ stfs f0, 0x1c(r30)
lbl_801548B4:
/* 801548B4 00151814 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 801548B8 00151818 41 82 00 10 */ beq lbl_801548C8
/* 801548BC 0015181C C0 02 9E 00 */ lfs f0, lbl_805ABB20@sda21(r2)
/* 801548C0 00151820 D0 1E 00 20 */ stfs f0, 0x20(r30)
/* 801548C4 00151824 48 00 00 1C */ b lbl_801548E0
lbl_801548C8:
/* 801548C8 00151828 C0 5E 00 20 */ lfs f2, 0x20(r30)
/* 801548CC 0015182C C0 02 9E 10 */ lfs f0, lbl_805ABB30@sda21(r2)
/* 801548D0 00151830 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 801548D4 00151834 40 80 00 0C */ bge lbl_801548E0
/* 801548D8 00151838 EC 02 08 2A */ fadds f0, f2, f1
/* 801548DC 0015183C D0 1E 00 20 */ stfs f0, 0x20(r30)
lbl_801548E0:
/* 801548E0 00151840 80 1E 00 00 */ lwz r0, 0(r30)
/* 801548E4 00151844 38 60 00 00 */ li r3, 0
/* 801548E8 00151848 2C 00 00 00 */ cmpwi r0, 0
/* 801548EC 0015184C 40 82 00 6C */ bne lbl_80154958
/* 801548F0 00151850 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 801548F4 00151854 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 801548F8 00151858 41 82 00 2C */ beq lbl_80154924
/* 801548FC 0015185C C0 1E 00 24 */ lfs f0, 0x24(r30)
/* 80154900 00151860 EC 00 08 2A */ fadds f0, f0, f1
/* 80154904 00151864 D0 1E 00 24 */ stfs f0, 0x24(r30)
/* 80154908 00151868 C0 5E 00 24 */ lfs f2, 0x24(r30)
/* 8015490C 0015186C C0 0D 8C 70 */ lfs f0, lbl_805A7830@sda21(r13)
/* 80154910 00151870 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80154914 00151874 40 81 00 10 */ ble lbl_80154924
/* 80154918 00151878 C0 02 9E 00 */ lfs f0, lbl_805ABB20@sda21(r2)
/* 8015491C 0015187C 60 63 00 01 */ ori r3, r3, 1
/* 80154920 00151880 D0 1E 00 24 */ stfs f0, 0x24(r30)
lbl_80154924:
/* 80154924 00151884 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 80154928 00151888 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e
/* 8015492C 0015188C 41 82 00 2C */ beq lbl_80154958
/* 80154930 00151890 C0 1E 00 28 */ lfs f0, 0x28(r30)
/* 80154934 00151894 EC 00 08 2A */ fadds f0, f0, f1
/* 80154938 00151898 D0 1E 00 28 */ stfs f0, 0x28(r30)
/* 8015493C 0015189C C0 3E 00 28 */ lfs f1, 0x28(r30)
/* 80154940 001518A0 C0 0D 8C 74 */ lfs f0, lbl_805A7834@sda21(r13)
/* 80154944 001518A4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80154948 001518A8 40 81 00 10 */ ble lbl_80154958
/* 8015494C 001518AC C0 02 9E 00 */ lfs f0, lbl_805ABB20@sda21(r2)
/* 80154950 001518B0 60 63 00 02 */ ori r3, r3, 2
/* 80154954 001518B4 D0 1E 00 28 */ stfs f0, 0x28(r30)
lbl_80154958:
/* 80154958 001518B8 C0 3E 00 2C */ lfs f1, 0x2c(r30)
/* 8015495C 001518BC C0 1E 00 30 */ lfs f0, 0x30(r30)
/* 80154960 001518C0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80154964 001518C4 40 81 00 10 */ ble lbl_80154974
/* 80154968 001518C8 38 00 00 03 */ li r0, 3
/* 8015496C 001518CC 90 1E 00 00 */ stw r0, 0(r30)
/* 80154970 001518D0 48 00 00 DC */ b lbl_80154A4C
lbl_80154974:
/* 80154974 001518D4 C0 3E 00 18 */ lfs f1, 0x18(r30)
/* 80154978 001518D8 C0 02 9E 14 */ lfs f0, lbl_805ABB34@sda21(r2)
/* 8015497C 001518DC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80154980 001518E0 40 81 00 4C */ ble lbl_801549CC
/* 80154984 001518E4 C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 80154988 001518E8 C0 22 9E 18 */ lfs f1, lbl_805ABB38@sda21(r2)
/* 8015498C 001518EC FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80154990 001518F0 40 81 00 3C */ ble lbl_801549CC
/* 80154994 001518F4 C0 1E 00 20 */ lfs f0, 0x20(r30)
/* 80154998 001518F8 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8015499C 001518FC 40 81 00 30 */ ble lbl_801549CC
/* 801549A0 00151900 54 60 07 FF */ clrlwi. r0, r3, 0x1f
/* 801549A4 00151904 41 82 00 14 */ beq lbl_801549B8
/* 801549A8 00151908 80 1E 00 08 */ lwz r0, 8(r30)
/* 801549AC 0015190C 60 00 00 01 */ ori r0, r0, 1
/* 801549B0 00151910 90 1E 00 08 */ stw r0, 8(r30)
/* 801549B4 00151914 48 00 00 18 */ b lbl_801549CC
lbl_801549B8:
/* 801549B8 00151918 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e
/* 801549BC 0015191C 41 82 00 10 */ beq lbl_801549CC
/* 801549C0 00151920 80 1E 00 08 */ lwz r0, 8(r30)
/* 801549C4 00151924 60 00 00 02 */ ori r0, r0, 2
/* 801549C8 00151928 90 1E 00 08 */ stw r0, 8(r30)
lbl_801549CC:
/* 801549CC 0015192C 80 7E 00 08 */ lwz r3, 8(r30)
/* 801549D0 00151930 54 60 07 BE */ clrlwi r0, r3, 0x1e
/* 801549D4 00151934 2C 00 00 03 */ cmpwi r0, 3
/* 801549D8 00151938 40 82 00 44 */ bne lbl_80154A1C
/* 801549DC 0015193C 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 801549E0 00151940 48 1B DB 41 */ bl Next__9CRandom16Fv
/* 801549E4 00151944 3C 80 51 EC */ lis r4, 0x51EB851F@ha
/* 801549E8 00151948 38 A0 00 01 */ li r5, 1
/* 801549EC 0015194C 38 04 85 1F */ addi r0, r4, 0x51EB851F@l
/* 801549F0 00151950 7C 00 18 96 */ mulhw r0, r0, r3
/* 801549F4 00151954 7C 00 2E 70 */ srawi r0, r0, 5
/* 801549F8 00151958 54 04 0F FE */ srwi r4, r0, 0x1f
/* 801549FC 0015195C 7C 00 22 14 */ add r0, r0, r4
/* 80154A00 00151960 1C 00 00 64 */ mulli r0, r0, 0x64
/* 80154A04 00151964 7C 00 18 50 */ subf r0, r0, r3
/* 80154A08 00151968 2C 00 00 32 */ cmpwi r0, 0x32
/* 80154A0C 0015196C 40 81 00 08 */ ble lbl_80154A14
/* 80154A10 00151970 38 A0 00 02 */ li r5, 2
lbl_80154A14:
/* 80154A14 00151974 90 BE 00 00 */ stw r5, 0(r30)
/* 80154A18 00151978 48 00 00 34 */ b lbl_80154A4C
lbl_80154A1C:
/* 80154A1C 0015197C 54 60 07 FF */ clrlwi. r0, r3, 0x1f
/* 80154A20 00151980 41 82 00 10 */ beq lbl_80154A30
/* 80154A24 00151984 38 00 00 01 */ li r0, 1
/* 80154A28 00151988 90 1E 00 00 */ stw r0, 0(r30)
/* 80154A2C 0015198C 48 00 00 20 */ b lbl_80154A4C
lbl_80154A30:
/* 80154A30 00151990 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e
/* 80154A34 00151994 41 82 00 10 */ beq lbl_80154A44
/* 80154A38 00151998 38 00 00 02 */ li r0, 2
/* 80154A3C 0015199C 90 1E 00 00 */ stw r0, 0(r30)
/* 80154A40 001519A0 48 00 00 0C */ b lbl_80154A4C
lbl_80154A44:
/* 80154A44 001519A4 38 00 00 00 */ li r0, 0
/* 80154A48 001519A8 90 1E 00 00 */ stw r0, 0(r30)
lbl_80154A4C:
/* 80154A4C 001519AC 80 1E 00 00 */ lwz r0, 0(r30)
/* 80154A50 001519B0 2C 00 00 02 */ cmpwi r0, 2
/* 80154A54 001519B4 41 82 00 78 */ beq lbl_80154ACC
/* 80154A58 001519B8 40 80 00 10 */ bge lbl_80154A68
/* 80154A5C 001519BC 2C 00 00 01 */ cmpwi r0, 1
/* 80154A60 001519C0 40 80 00 14 */ bge lbl_80154A74
/* 80154A64 001519C4 48 00 00 D8 */ b lbl_80154B3C
lbl_80154A68:
/* 80154A68 001519C8 2C 00 00 04 */ cmpwi r0, 4
/* 80154A6C 001519CC 40 80 00 D0 */ bge lbl_80154B3C
/* 80154A70 001519D0 48 00 00 B0 */ b lbl_80154B20
lbl_80154A74:
/* 80154A74 001519D4 88 7E 00 34 */ lbz r3, 0x34(r30)
/* 80154A78 001519D8 38 00 00 01 */ li r0, 1
/* 80154A7C 001519DC 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18
/* 80154A80 001519E0 38 00 00 02 */ li r0, 2
/* 80154A84 001519E4 98 7E 00 34 */ stb r3, 0x34(r30)
/* 80154A88 001519E8 C0 22 9E 18 */ lfs f1, lbl_805ABB38@sda21(r2)
/* 80154A8C 001519EC 90 1E 00 10 */ stw r0, 0x10(r30)
/* 80154A90 001519F0 C0 42 9E 1C */ lfs f2, lbl_805ABB3C@sda21(r2)
/* 80154A94 001519F4 80 1E 00 08 */ lwz r0, 8(r30)
/* 80154A98 001519F8 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e
/* 80154A9C 001519FC 90 1E 00 08 */ stw r0, 8(r30)
/* 80154AA0 00151A00 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 80154AA4 00151A04 48 1B DA A1 */ bl Range__9CRandom16Fff
/* 80154AA8 00151A08 D0 2D 8C 70 */ stfs f1, lbl_805A7830@sda21(r13)
/* 80154AAC 00151A0C 38 00 00 00 */ li r0, 0
/* 80154AB0 00151A10 38 80 00 00 */ li r4, 0
/* 80154AB4 00151A14 38 A0 00 04 */ li r5, 4
/* 80154AB8 00151A18 90 1E 00 04 */ stw r0, 4(r30)
/* 80154ABC 00151A1C 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 80154AC0 00151A20 48 1B DA D5 */ bl Range__9CRandom16Fii
/* 80154AC4 00151A24 90 7E 00 0C */ stw r3, 0xc(r30)
/* 80154AC8 00151A28 48 00 00 74 */ b lbl_80154B3C
lbl_80154ACC:
/* 80154ACC 00151A2C 88 1E 00 34 */ lbz r0, 0x34(r30)
/* 80154AD0 00151A30 38 60 00 01 */ li r3, 1
/* 80154AD4 00151A34 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80154AD8 00151A38 C0 22 9E 18 */ lfs f1, lbl_805ABB38@sda21(r2)
/* 80154ADC 00151A3C 98 1E 00 34 */ stb r0, 0x34(r30)
/* 80154AE0 00151A40 C0 42 9E 20 */ lfs f2, lbl_805ABB40@sda21(r2)
/* 80154AE4 00151A44 90 7E 00 10 */ stw r3, 0x10(r30)
/* 80154AE8 00151A48 80 1E 00 08 */ lwz r0, 8(r30)
/* 80154AEC 00151A4C 54 00 07 FA */ rlwinm r0, r0, 0, 0x1f, 0x1d
/* 80154AF0 00151A50 90 1E 00 08 */ stw r0, 8(r30)
/* 80154AF4 00151A54 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 80154AF8 00151A58 48 1B DA 4D */ bl Range__9CRandom16Fff
/* 80154AFC 00151A5C D0 2D 8C 74 */ stfs f1, lbl_805A7834@sda21(r13)
/* 80154B00 00151A60 38 00 00 01 */ li r0, 1
/* 80154B04 00151A64 38 80 00 00 */ li r4, 0
/* 80154B08 00151A68 38 A0 00 05 */ li r5, 5
/* 80154B0C 00151A6C 90 1E 00 04 */ stw r0, 4(r30)
/* 80154B10 00151A70 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 80154B14 00151A74 48 1B DA 81 */ bl Range__9CRandom16Fii
/* 80154B18 00151A78 90 7E 00 0C */ stw r3, 0xc(r30)
/* 80154B1C 00151A7C 48 00 00 20 */ b lbl_80154B3C
lbl_80154B20:
/* 80154B20 00151A80 38 80 00 00 */ li r4, 0
/* 80154B24 00151A84 38 60 00 01 */ li r3, 1
/* 80154B28 00151A88 90 9E 00 04 */ stw r4, 4(r30)
/* 80154B2C 00151A8C 88 1E 00 34 */ lbz r0, 0x34(r30)
/* 80154B30 00151A90 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80154B34 00151A94 98 1E 00 34 */ stb r0, 0x34(r30)
/* 80154B38 00151A98 90 9E 00 0C */ stw r4, 0xc(r30)
lbl_80154B3C:
/* 80154B3C 00151A9C 80 7E 00 00 */ lwz r3, 0(r30)
lbl_80154B40:
/* 80154B40 00151AA0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80154B44 00151AA4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80154B48 00151AA8 83 C1 00 08 */ lwz r30, 8(r1)
/* 80154B4C 00151AAC 7C 08 03 A6 */ mtlr r0
/* 80154B50 00151AB0 38 21 00 10 */ addi r1, r1, 0x10
/* 80154B54 00151AB4 4E 80 00 20 */ blr
.global ResetMinor__7CFidgetFv
ResetMinor__7CFidgetFv:
/* 80154B58 00151AB8 38 00 00 00 */ li r0, 0
/* 80154B5C 00151ABC 90 03 00 00 */ stw r0, 0(r3)
/* 80154B60 00151AC0 4E 80 00 20 */ blr
.global ResetAll__7CFidgetFv
ResetAll__7CFidgetFv:
/* 80154B64 00151AC4 38 A0 00 00 */ li r5, 0
/* 80154B68 00151AC8 38 80 FF FF */ li r4, -1
/* 80154B6C 00151ACC 90 A3 00 00 */ stw r5, 0(r3)
/* 80154B70 00151AD0 38 00 00 03 */ li r0, 3
/* 80154B74 00151AD4 C0 02 9E 00 */ lfs f0, lbl_805ABB20@sda21(r2)
/* 80154B78 00151AD8 90 83 00 04 */ stw r4, 4(r3)
/* 80154B7C 00151ADC D0 03 00 18 */ stfs f0, 0x18(r3)
/* 80154B80 00151AE0 D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 80154B84 00151AE4 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 80154B88 00151AE8 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 80154B8C 00151AEC D0 03 00 28 */ stfs f0, 0x28(r3)
/* 80154B90 00151AF0 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 80154B94 00151AF4 90 A3 00 08 */ stw r5, 8(r3)
/* 80154B98 00151AF8 90 83 00 0C */ stw r4, 0xc(r3)
/* 80154B9C 00151AFC 90 03 00 10 */ stw r0, 0x10(r3)
/* 80154BA0 00151B00 88 03 00 34 */ lbz r0, 0x34(r3)
/* 80154BA4 00151B04 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
/* 80154BA8 00151B08 98 03 00 34 */ stb r0, 0x34(r3)
/* 80154BAC 00151B0C 4E 80 00 20 */ blr
.global __ct__7CFidgetFv
__ct__7CFidgetFv:
/* 80154BB0 00151B10 38 A0 00 00 */ li r5, 0
/* 80154BB4 00151B14 38 80 FF FF */ li r4, -1
/* 80154BB8 00151B18 90 A3 00 00 */ stw r5, 0(r3)
/* 80154BBC 00151B1C 38 00 00 03 */ li r0, 3
/* 80154BC0 00151B20 C0 22 9E 00 */ lfs f1, lbl_805ABB20@sda21(r2)
/* 80154BC4 00151B24 90 83 00 04 */ stw r4, 4(r3)
/* 80154BC8 00151B28 C0 02 9E 24 */ lfs f0, lbl_805ABB44@sda21(r2)
/* 80154BCC 00151B2C 90 A3 00 08 */ stw r5, 8(r3)
/* 80154BD0 00151B30 90 83 00 0C */ stw r4, 0xc(r3)
/* 80154BD4 00151B34 90 03 00 10 */ stw r0, 0x10(r3)
/* 80154BD8 00151B38 D0 23 00 14 */ stfs f1, 0x14(r3)
/* 80154BDC 00151B3C D0 23 00 18 */ stfs f1, 0x18(r3)
/* 80154BE0 00151B40 D0 23 00 1C */ stfs f1, 0x1c(r3)
/* 80154BE4 00151B44 D0 23 00 20 */ stfs f1, 0x20(r3)
/* 80154BE8 00151B48 D0 23 00 24 */ stfs f1, 0x24(r3)
/* 80154BEC 00151B4C D0 23 00 28 */ stfs f1, 0x28(r3)
/* 80154BF0 00151B50 D0 23 00 2C */ stfs f1, 0x2c(r3)
/* 80154BF4 00151B54 D0 03 00 30 */ stfs f0, 0x30(r3)
/* 80154BF8 00151B58 88 03 00 34 */ lbz r0, 0x34(r3)
/* 80154BFC 00151B5C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
/* 80154C00 00151B60 98 03 00 34 */ stb r0, 0x34(r3)
/* 80154C04 00151B64 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,708 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Draw__20CSamusFaceReflectionCFRC13CStateManager
Draw__20CSamusFaceReflectionCFRC13CStateManager:
/* 8015ADC4 00157D24 94 21 FD D0 */ stwu r1, -0x230(r1)
/* 8015ADC8 00157D28 7C 08 02 A6 */ mflr r0
/* 8015ADCC 00157D2C 90 01 02 34 */ stw r0, 0x234(r1)
/* 8015ADD0 00157D30 DB E1 02 20 */ stfd f31, 0x220(r1)
/* 8015ADD4 00157D34 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0
/* 8015ADD8 00157D38 DB C1 02 10 */ stfd f30, 0x210(r1)
/* 8015ADDC 00157D3C F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0
/* 8015ADE0 00157D40 DB A1 02 00 */ stfd f29, 0x200(r1)
/* 8015ADE4 00157D44 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0
/* 8015ADE8 00157D48 DB 81 01 F0 */ stfd f28, 0x1f0(r1)
/* 8015ADEC 00157D4C F3 81 01 F8 */ psq_st f28, 504(r1), 0, qr0
/* 8015ADF0 00157D50 DB 61 01 E0 */ stfd f27, 0x1e0(r1)
/* 8015ADF4 00157D54 F3 61 01 E8 */ psq_st f27, 488(r1), 0, qr0
/* 8015ADF8 00157D58 DB 41 01 D0 */ stfd f26, 0x1d0(r1)
/* 8015ADFC 00157D5C F3 41 01 D8 */ psq_st f26, 472(r1), 0, qr0
/* 8015AE00 00157D60 DB 21 01 C0 */ stfd f25, 0x1c0(r1)
/* 8015AE04 00157D64 F3 21 01 C8 */ psq_st f25, 456(r1), 0, qr0
/* 8015AE08 00157D68 DB 01 01 B0 */ stfd f24, 0x1b0(r1)
/* 8015AE0C 00157D6C F3 01 01 B8 */ psq_st f24, 440(r1), 0, qr0
/* 8015AE10 00157D70 DA E1 01 A0 */ stfd f23, 0x1a0(r1)
/* 8015AE14 00157D74 F2 E1 01 A8 */ psq_st f23, 424(r1), 0, qr0
/* 8015AE18 00157D78 DA C1 01 90 */ stfd f22, 0x190(r1)
/* 8015AE1C 00157D7C F2 C1 01 98 */ psq_st f22, 408(r1), 0, qr0
/* 8015AE20 00157D80 DA A1 01 80 */ stfd f21, 0x180(r1)
/* 8015AE24 00157D84 F2 A1 01 88 */ psq_st f21, 392(r1), 0, qr0
/* 8015AE28 00157D88 DA 81 01 70 */ stfd f20, 0x170(r1)
/* 8015AE2C 00157D8C F2 81 01 78 */ psq_st f20, 376(r1), 0, qr0
/* 8015AE30 00157D90 DA 61 01 60 */ stfd f19, 0x160(r1)
/* 8015AE34 00157D94 F2 61 01 68 */ psq_st f19, 360(r1), 0, qr0
/* 8015AE38 00157D98 93 E1 01 5C */ stw r31, 0x15c(r1)
/* 8015AE3C 00157D9C 93 C1 01 58 */ stw r30, 0x158(r1)
/* 8015AE40 00157DA0 93 A1 01 54 */ stw r29, 0x154(r1)
/* 8015AE44 00157DA4 7C 7D 1B 78 */ mr r29, r3
/* 8015AE48 00157DA8 7C 9E 23 78 */ mr r30, r4
/* 8015AE4C 00157DAC 88 03 00 70 */ lbz r0, 0x70(r3)
/* 8015AE50 00157DB0 28 00 00 00 */ cmplwi r0, 0
/* 8015AE54 00157DB4 40 82 03 00 */ bne lbl_8015B154
/* 8015AE58 00157DB8 80 7E 08 70 */ lwz r3, 0x870(r30)
/* 8015AE5C 00157DBC 4B EB 0C BD */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager
/* 8015AE60 00157DC0 7C 64 1B 78 */ mr r4, r3
/* 8015AE64 00157DC4 38 61 00 08 */ addi r3, r1, 8
/* 8015AE68 00157DC8 4B F5 36 0D */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity"
/* 8015AE6C 00157DCC 83 E3 00 04 */ lwz r31, 4(r3)
/* 8015AE70 00157DD0 28 1F 00 00 */ cmplwi r31, 0
/* 8015AE74 00157DD4 41 82 02 E0 */ beq lbl_8015B154
/* 8015AE78 00157DD8 C2 FF 00 60 */ lfs f23, 0x60(r31)
/* 8015AE7C 00157DDC 38 9F 00 34 */ addi r4, r31, 0x34
/* 8015AE80 00157DE0 C3 1F 00 50 */ lfs f24, 0x50(r31)
/* 8015AE84 00157DE4 38 61 00 78 */ addi r3, r1, 0x78
/* 8015AE88 00157DE8 C3 3F 00 40 */ lfs f25, 0x40(r31)
/* 8015AE8C 00157DEC C3 BF 00 58 */ lfs f29, 0x58(r31)
/* 8015AE90 00157DF0 C2 7F 00 48 */ lfs f19, 0x48(r31)
/* 8015AE94 00157DF4 C2 9F 00 38 */ lfs f20, 0x38(r31)
/* 8015AE98 00157DF8 C3 5F 00 5C */ lfs f26, 0x5c(r31)
/* 8015AE9C 00157DFC C3 7F 00 4C */ lfs f27, 0x4c(r31)
/* 8015AEA0 00157E00 C3 9F 00 3C */ lfs f28, 0x3c(r31)
/* 8015AEA4 00157E04 48 1B 72 85 */ bl FromMatrix__11CQuaternionFRC12CTransform4f
/* 8015AEA8 00157E08 C0 61 00 78 */ lfs f3, 0x78(r1)
/* 8015AEAC 00157E0C C0 41 00 7C */ lfs f2, 0x7c(r1)
/* 8015AEB0 00157E10 C0 21 00 80 */ lfs f1, 0x80(r1)
/* 8015AEB4 00157E14 C0 01 00 84 */ lfs f0, 0x84(r1)
/* 8015AEB8 00157E18 D0 61 00 88 */ stfs f3, 0x88(r1)
/* 8015AEBC 00157E1C 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13)
/* 8015AEC0 00157E20 D0 41 00 8C */ stfs f2, 0x8c(r1)
/* 8015AEC4 00157E24 D0 21 00 90 */ stfs f1, 0x90(r1)
/* 8015AEC8 00157E28 D0 01 00 94 */ stfs f0, 0x94(r1)
/* 8015AECC 00157E2C C0 23 01 44 */ lfs f1, 0x144(r3)
/* 8015AED0 00157E30 4B F1 94 81 */ bl FaceReflectionDistanceDebugValueToActualValue__9CTweakGuiFf
/* 8015AED4 00157E34 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13)
/* 8015AED8 00157E38 FE A0 08 90 */ fmr f21, f1
/* 8015AEDC 00157E3C C0 23 01 48 */ lfs f1, 0x148(r3)
/* 8015AEE0 00157E40 4B F1 94 61 */ bl FaceReflectionHeightDebugValueToActualValue__9CTweakGuiFf
/* 8015AEE4 00157E44 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13)
/* 8015AEE8 00157E48 FE C0 08 90 */ fmr f22, f1
/* 8015AEEC 00157E4C C0 23 01 4C */ lfs f1, 0x14c(r3)
/* 8015AEF0 00157E50 4B F1 94 41 */ bl FaceReflectionAspectDebugValueToActualValue__9CTweakGuiFf
/* 8015AEF4 00157E54 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13)
/* 8015AEF8 00157E58 FF C0 08 90 */ fmr f30, f1
/* 8015AEFC 00157E5C C0 23 01 3C */ lfs f1, 0x13c(r3)
/* 8015AF00 00157E60 4B F1 94 21 */ bl FaceReflectionOrthoWidthDebugValueToActualValue__9CTweakGuiFf
/* 8015AF04 00157E64 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13)
/* 8015AF08 00157E68 FF E0 08 90 */ fmr f31, f1
/* 8015AF0C 00157E6C C0 23 01 40 */ lfs f1, 0x140(r3)
/* 8015AF10 00157E70 4B F1 94 01 */ bl FaceReflectionOrthoHeightDebugValueToActualValue__9CTweakGuiFf
/* 8015AF14 00157E74 EC 15 04 F2 */ fmuls f0, f21, f19
/* 8015AF18 00157E78 38 61 00 68 */ addi r3, r1, 0x68
/* 8015AF1C 00157E7C EC 75 07 72 */ fmuls f3, f21, f29
/* 8015AF20 00157E80 38 81 00 88 */ addi r4, r1, 0x88
/* 8015AF24 00157E84 EC 55 05 32 */ fmuls f2, f21, f20
/* 8015AF28 00157E88 38 BD 00 50 */ addi r5, r29, 0x50
/* 8015AF2C 00157E8C EC B6 07 32 */ fmuls f5, f22, f28
/* 8015AF30 00157E90 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 8015AF34 00157E94 EC F8 00 2A */ fadds f7, f24, f0
/* 8015AF38 00157E98 EC 96 06 F2 */ fmuls f4, f22, f27
/* 8015AF3C 00157E9C D0 41 00 44 */ stfs f2, 0x44(r1)
/* 8015AF40 00157EA0 EC 59 10 2A */ fadds f2, f25, f2
/* 8015AF44 00157EA4 EC 16 06 B2 */ fmuls f0, f22, f26
/* 8015AF48 00157EA8 D0 A1 00 38 */ stfs f5, 0x38(r1)
/* 8015AF4C 00157EAC EC D7 18 2A */ fadds f6, f23, f3
/* 8015AF50 00157EB0 ED 07 20 2A */ fadds f8, f7, f4
/* 8015AF54 00157EB4 D0 81 00 3C */ stfs f4, 0x3c(r1)
/* 8015AF58 00157EB8 FE 60 08 90 */ fmr f19, f1
/* 8015AF5C 00157EBC EC 86 00 2A */ fadds f4, f6, f0
/* 8015AF60 00157EC0 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 8015AF64 00157EC4 EC 02 28 2A */ fadds f0, f2, f5
/* 8015AF68 00157EC8 D0 61 00 4C */ stfs f3, 0x4c(r1)
/* 8015AF6C 00157ECC D0 41 00 50 */ stfs f2, 0x50(r1)
/* 8015AF70 00157ED0 D0 E1 00 54 */ stfs f7, 0x54(r1)
/* 8015AF74 00157ED4 D0 C1 00 58 */ stfs f6, 0x58(r1)
/* 8015AF78 00157ED8 D0 01 00 5C */ stfs f0, 0x5c(r1)
/* 8015AF7C 00157EDC D1 01 00 60 */ stfs f8, 0x60(r1)
/* 8015AF80 00157EE0 D0 81 00 64 */ stfs f4, 0x64(r1)
/* 8015AF84 00157EE4 48 1B 62 1D */ bl __ml__11CQuaternionCFRC11CQuaternion
/* 8015AF88 00157EE8 38 61 00 98 */ addi r3, r1, 0x98
/* 8015AF8C 00157EEC 38 81 00 68 */ addi r4, r1, 0x68
/* 8015AF90 00157EF0 48 1B 70 FD */ bl BuildTransform__11CQuaternionCFv
/* 8015AF94 00157EF4 38 61 00 BC */ addi r3, r1, 0xbc
/* 8015AF98 00157EF8 38 81 00 98 */ addi r4, r1, 0x98
/* 8015AF9C 00157EFC 38 A1 00 5C */ addi r5, r1, 0x5c
/* 8015AFA0 00157F00 48 1B 82 D9 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 8015AFA4 00157F04 3C A0 80 47 */ lis r5, lbl_8046C7A0@ha
/* 8015AFA8 00157F08 7C 64 1B 78 */ mr r4, r3
/* 8015AFAC 00157F0C 38 A5 C7 A0 */ addi r5, r5, lbl_8046C7A0@l
/* 8015AFB0 00157F10 38 61 00 EC */ addi r3, r1, 0xec
/* 8015AFB4 00157F14 48 1B 79 9D */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 8015AFB8 00157F18 38 61 01 1C */ addi r3, r1, 0x11c
/* 8015AFBC 00157F1C 38 81 00 EC */ addi r4, r1, 0xec
/* 8015AFC0 00157F20 48 1B 7B B5 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8015AFC4 00157F24 38 7F 00 34 */ addi r3, r31, 0x34
/* 8015AFC8 00157F28 48 1B 17 85 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 8015AFCC 00157F2C FC 00 F8 50 */ fneg f0, f31
/* 8015AFD0 00157F30 C0 A2 9E A4 */ lfs f5, lbl_805ABBC4@sda21(r2)
/* 8015AFD4 00157F34 FC 60 98 90 */ fmr f3, f19
/* 8015AFD8 00157F38 C0 C2 9E A8 */ lfs f6, lbl_805ABBC8@sda21(r2)
/* 8015AFDC 00157F3C EC 5E 07 F2 */ fmuls f2, f30, f31
/* 8015AFE0 00157F40 EC 3E 00 32 */ fmuls f1, f30, f0
/* 8015AFE4 00157F44 FC 80 98 50 */ fneg f4, f19
/* 8015AFE8 00157F48 48 1B 15 6D */ bl SetOrtho__9CGraphicsFffffff
/* 8015AFEC 00157F4C 80 1D 00 6C */ lwz r0, 0x6c(r29)
/* 8015AFF0 00157F50 2C 00 00 01 */ cmpwi r0, 1
/* 8015AFF4 00157F54 40 82 00 0C */ bne lbl_8015B000
/* 8015AFF8 00157F58 3B E0 00 00 */ li r31, 0
/* 8015AFFC 00157F5C 48 00 00 08 */ b lbl_8015B004
lbl_8015B000:
/* 8015B000 00157F60 83 FD 00 4C */ lwz r31, 0x4c(r29)
lbl_8015B004:
/* 8015B004 00157F64 2C 00 00 03 */ cmpwi r0, 3
/* 8015B008 00157F68 40 82 00 4C */ bne lbl_8015B054
/* 8015B00C 00157F6C C0 22 9E AC */ lfs f1, lbl_805ABBCC@sda21(r2)
/* 8015B010 00157F70 38 80 00 00 */ li r4, 0
/* 8015B014 00157F74 38 00 00 03 */ li r0, 3
/* 8015B018 00157F78 98 81 00 30 */ stb r4, 0x30(r1)
/* 8015B01C 00157F7C FC 40 08 90 */ fmr f2, f1
/* 8015B020 00157F80 38 61 00 34 */ addi r3, r1, 0x34
/* 8015B024 00157F84 FC 60 08 90 */ fmr f3, f1
/* 8015B028 00157F88 98 81 00 31 */ stb r4, 0x31(r1)
/* 8015B02C 00157F8C FC 80 08 90 */ fmr f4, f1
/* 8015B030 00157F90 B0 01 00 32 */ sth r0, 0x32(r1)
/* 8015B034 00157F94 48 20 83 B9 */ bl __ct__6CColorFffff
/* 8015B038 00157F98 7F A3 EB 78 */ mr r3, r29
/* 8015B03C 00157F9C 7F C4 F3 78 */ mr r4, r30
/* 8015B040 00157FA0 7F E6 FB 78 */ mr r6, r31
/* 8015B044 00157FA4 38 A1 01 1C */ addi r5, r1, 0x11c
/* 8015B048 00157FA8 38 E1 00 30 */ addi r7, r1, 0x30
/* 8015B04C 00157FAC 4B FB 9D 71 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags
/* 8015B050 00157FB0 48 00 01 04 */ b lbl_8015B154
lbl_8015B054:
/* 8015B054 00157FB4 80 7E 08 B8 */ lwz r3, 0x8b8(r30)
/* 8015B058 00157FB8 7F C4 F3 78 */ mr r4, r30
/* 8015B05C 00157FBC 80 63 00 00 */ lwz r3, 0(r3)
/* 8015B060 00157FC0 4B F3 64 F9 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager
/* 8015B064 00157FC4 2C 03 00 00 */ cmpwi r3, 0
/* 8015B068 00157FC8 40 82 00 18 */ bne lbl_8015B080
/* 8015B06C 00157FCC 80 7E 08 B8 */ lwz r3, 0x8b8(r30)
/* 8015B070 00157FD0 80 63 00 00 */ lwz r3, 0(r3)
/* 8015B074 00157FD4 4B F3 67 F1 */ bl GetVisorTransitionFactor__12CPlayerStateCFv
/* 8015B078 00157FD8 FE E0 08 90 */ fmr f23, f1
/* 8015B07C 00157FDC 48 00 00 08 */ b lbl_8015B084
lbl_8015B080:
/* 8015B080 00157FE0 C2 E2 9E B0 */ lfs f23, lbl_805ABBD0@sda21(r2)
lbl_8015B084:
/* 8015B084 00157FE4 C0 02 9E B0 */ lfs f0, lbl_805ABBD0@sda21(r2)
/* 8015B088 00157FE8 FC 17 00 40 */ fcmpo cr0, f23, f0
/* 8015B08C 00157FEC 40 81 00 C8 */ ble lbl_8015B154
/* 8015B090 00157FF0 48 1E EF 25 */ bl Black__6CColorFv
/* 8015B094 00157FF4 39 20 00 03 */ li r9, 3
/* 8015B098 00157FF8 81 03 00 00 */ lwz r8, 0(r3)
/* 8015B09C 00157FFC 55 20 00 3A */ rlwinm r0, r9, 0, 0, 0x1d
/* 8015B0A0 00158000 39 60 00 07 */ li r11, 7
/* 8015B0A4 00158004 39 40 00 00 */ li r10, 0
/* 8015B0A8 00158008 99 61 00 20 */ stb r11, 0x20(r1)
/* 8015B0AC 0015800C 60 00 00 03 */ ori r0, r0, 3
/* 8015B0B0 00158010 7F A3 EB 78 */ mr r3, r29
/* 8015B0B4 00158014 99 41 00 21 */ stb r10, 0x21(r1)
/* 8015B0B8 00158018 7F C4 F3 78 */ mr r4, r30
/* 8015B0BC 0015801C 38 A1 01 1C */ addi r5, r1, 0x11c
/* 8015B0C0 00158020 38 E1 00 28 */ addi r7, r1, 0x28
/* 8015B0C4 00158024 B1 21 00 22 */ sth r9, 0x22(r1)
/* 8015B0C8 00158028 38 C0 00 00 */ li r6, 0
/* 8015B0CC 0015802C 91 01 00 24 */ stw r8, 0x24(r1)
/* 8015B0D0 00158030 99 61 00 28 */ stb r11, 0x28(r1)
/* 8015B0D4 00158034 99 41 00 29 */ stb r10, 0x29(r1)
/* 8015B0D8 00158038 B0 01 00 2A */ sth r0, 0x2a(r1)
/* 8015B0DC 0015803C 91 01 00 2C */ stw r8, 0x2c(r1)
/* 8015B0E0 00158040 4B FB 9C DD */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags
/* 8015B0E4 00158044 C0 22 9E AC */ lfs f1, lbl_805ABBCC@sda21(r2)
/* 8015B0E8 00158048 38 A0 00 07 */ li r5, 7
/* 8015B0EC 0015804C 38 80 00 00 */ li r4, 0
/* 8015B0F0 00158050 38 00 00 03 */ li r0, 3
/* 8015B0F4 00158054 FC 40 08 90 */ fmr f2, f1
/* 8015B0F8 00158058 98 A1 00 10 */ stb r5, 0x10(r1)
/* 8015B0FC 0015805C FC 60 08 90 */ fmr f3, f1
/* 8015B100 00158060 38 61 00 14 */ addi r3, r1, 0x14
/* 8015B104 00158064 FC 80 B8 90 */ fmr f4, f23
/* 8015B108 00158068 98 81 00 11 */ stb r4, 0x11(r1)
/* 8015B10C 0015806C B0 01 00 12 */ sth r0, 0x12(r1)
/* 8015B110 00158070 48 20 82 DD */ bl __ct__6CColorFffff
/* 8015B114 00158074 A0 01 00 12 */ lhz r0, 0x12(r1)
/* 8015B118 00158078 7F A3 EB 78 */ mr r3, r29
/* 8015B11C 0015807C 88 A1 00 10 */ lbz r5, 0x10(r1)
/* 8015B120 00158080 7F C4 F3 78 */ mr r4, r30
/* 8015B124 00158084 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
/* 8015B128 00158088 88 E1 00 11 */ lbz r7, 0x11(r1)
/* 8015B12C 0015808C 60 08 00 01 */ ori r8, r0, 1
/* 8015B130 00158090 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8015B134 00158094 98 A1 00 18 */ stb r5, 0x18(r1)
/* 8015B138 00158098 7F E6 FB 78 */ mr r6, r31
/* 8015B13C 0015809C 38 A1 01 1C */ addi r5, r1, 0x11c
/* 8015B140 001580A0 98 E1 00 19 */ stb r7, 0x19(r1)
/* 8015B144 001580A4 38 E1 00 18 */ addi r7, r1, 0x18
/* 8015B148 001580A8 B1 01 00 1A */ sth r8, 0x1a(r1)
/* 8015B14C 001580AC 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8015B150 001580B0 4B FB 9C 6D */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags
lbl_8015B154:
/* 8015B154 001580B4 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0
/* 8015B158 001580B8 CB E1 02 20 */ lfd f31, 0x220(r1)
/* 8015B15C 001580BC E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0
/* 8015B160 001580C0 CB C1 02 10 */ lfd f30, 0x210(r1)
/* 8015B164 001580C4 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0
/* 8015B168 001580C8 CB A1 02 00 */ lfd f29, 0x200(r1)
/* 8015B16C 001580CC E3 81 01 F8 */ psq_l f28, 504(r1), 0, qr0
/* 8015B170 001580D0 CB 81 01 F0 */ lfd f28, 0x1f0(r1)
/* 8015B174 001580D4 E3 61 01 E8 */ psq_l f27, 488(r1), 0, qr0
/* 8015B178 001580D8 CB 61 01 E0 */ lfd f27, 0x1e0(r1)
/* 8015B17C 001580DC E3 41 01 D8 */ psq_l f26, 472(r1), 0, qr0
/* 8015B180 001580E0 CB 41 01 D0 */ lfd f26, 0x1d0(r1)
/* 8015B184 001580E4 E3 21 01 C8 */ psq_l f25, 456(r1), 0, qr0
/* 8015B188 001580E8 CB 21 01 C0 */ lfd f25, 0x1c0(r1)
/* 8015B18C 001580EC E3 01 01 B8 */ psq_l f24, 440(r1), 0, qr0
/* 8015B190 001580F0 CB 01 01 B0 */ lfd f24, 0x1b0(r1)
/* 8015B194 001580F4 E2 E1 01 A8 */ psq_l f23, 424(r1), 0, qr0
/* 8015B198 001580F8 CA E1 01 A0 */ lfd f23, 0x1a0(r1)
/* 8015B19C 001580FC E2 C1 01 98 */ psq_l f22, 408(r1), 0, qr0
/* 8015B1A0 00158100 CA C1 01 90 */ lfd f22, 0x190(r1)
/* 8015B1A4 00158104 E2 A1 01 88 */ psq_l f21, 392(r1), 0, qr0
/* 8015B1A8 00158108 CA A1 01 80 */ lfd f21, 0x180(r1)
/* 8015B1AC 0015810C E2 81 01 78 */ psq_l f20, 376(r1), 0, qr0
/* 8015B1B0 00158110 CA 81 01 70 */ lfd f20, 0x170(r1)
/* 8015B1B4 00158114 E2 61 01 68 */ psq_l f19, 360(r1), 0, qr0
/* 8015B1B8 00158118 CA 61 01 60 */ lfd f19, 0x160(r1)
/* 8015B1BC 0015811C 83 E1 01 5C */ lwz r31, 0x15c(r1)
/* 8015B1C0 00158120 83 C1 01 58 */ lwz r30, 0x158(r1)
/* 8015B1C4 00158124 80 01 02 34 */ lwz r0, 0x234(r1)
/* 8015B1C8 00158128 83 A1 01 54 */ lwz r29, 0x154(r1)
/* 8015B1CC 0015812C 7C 08 03 A6 */ mtlr r0
/* 8015B1D0 00158130 38 21 02 30 */ addi r1, r1, 0x230
/* 8015B1D4 00158134 4E 80 00 20 */ blr
.global PreDraw__20CSamusFaceReflectionFRC13CStateManager
PreDraw__20CSamusFaceReflectionFRC13CStateManager:
/* 8015B1D8 00158138 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8015B1DC 0015813C 7C 08 02 A6 */ mflr r0
/* 8015B1E0 00158140 90 01 00 24 */ stw r0, 0x24(r1)
/* 8015B1E4 00158144 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8015B1E8 00158148 7C 9F 23 78 */ mr r31, r4
/* 8015B1EC 0015814C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8015B1F0 00158150 7C 7E 1B 78 */ mr r30, r3
/* 8015B1F4 00158154 80 03 00 6C */ lwz r0, 0x6c(r3)
/* 8015B1F8 00158158 2C 00 00 02 */ cmpwi r0, 2
/* 8015B1FC 0015815C 41 82 00 4C */ beq lbl_8015B248
/* 8015B200 00158160 80 7E 00 4C */ lwz r3, 0x4c(r30)
/* 8015B204 00158164 4B FA 9E AD */ bl GetActiveLightCount__12CActorLightsCFv
/* 8015B208 00158168 28 03 00 01 */ cmplwi r3, 1
/* 8015B20C 0015816C 40 80 00 18 */ bge lbl_8015B224
/* 8015B210 00158170 80 1E 00 6C */ lwz r0, 0x6c(r30)
/* 8015B214 00158174 2C 00 00 00 */ cmpwi r0, 0
/* 8015B218 00158178 41 82 00 30 */ beq lbl_8015B248
/* 8015B21C 0015817C 2C 00 00 03 */ cmpwi r0, 3
/* 8015B220 00158180 41 82 00 28 */ beq lbl_8015B248
lbl_8015B224:
/* 8015B224 00158184 80 7F 08 70 */ lwz r3, 0x870(r31)
/* 8015B228 00158188 7F E4 FB 78 */ mr r4, r31
/* 8015B22C 0015818C 4B EB 08 ED */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager
/* 8015B230 00158190 7C 64 1B 78 */ mr r4, r3
/* 8015B234 00158194 38 61 00 08 */ addi r3, r1, 8
/* 8015B238 00158198 4B F5 32 3D */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity"
/* 8015B23C 0015819C 80 03 00 04 */ lwz r0, 4(r3)
/* 8015B240 001581A0 28 00 00 00 */ cmplwi r0, 0
/* 8015B244 001581A4 40 82 00 10 */ bne lbl_8015B254
lbl_8015B248:
/* 8015B248 001581A8 38 00 00 01 */ li r0, 1
/* 8015B24C 001581AC 98 1E 00 70 */ stb r0, 0x70(r30)
/* 8015B250 001581B0 48 00 00 14 */ b lbl_8015B264
lbl_8015B254:
/* 8015B254 001581B4 38 00 00 00 */ li r0, 0
/* 8015B258 001581B8 98 1E 00 70 */ stb r0, 0x70(r30)
/* 8015B25C 001581BC 80 7E 00 10 */ lwz r3, 0x10(r30)
/* 8015B260 001581C0 4B ED 17 A5 */ bl PreRender__9CAnimDataFv
lbl_8015B264:
/* 8015B264 001581C4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8015B268 001581C8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8015B26C 001581CC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8015B270 001581D0 7C 08 03 A6 */ mtlr r0
/* 8015B274 001581D4 38 21 00 20 */ addi r1, r1, 0x20
/* 8015B278 001581D8 4E 80 00 20 */ blr
.global Update__20CSamusFaceReflectionFfRC13CStateManagerR9CRandom16
Update__20CSamusFaceReflectionFfRC13CStateManagerR9CRandom16:
/* 8015B27C 001581DC 94 21 FD F0 */ stwu r1, -0x210(r1)
/* 8015B280 001581E0 7C 08 02 A6 */ mflr r0
/* 8015B284 001581E4 90 01 02 14 */ stw r0, 0x214(r1)
/* 8015B288 001581E8 DB E1 02 00 */ stfd f31, 0x200(r1)
/* 8015B28C 001581EC F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0
/* 8015B290 001581F0 DB C1 01 F0 */ stfd f30, 0x1f0(r1)
/* 8015B294 001581F4 F3 C1 01 F8 */ psq_st f30, 504(r1), 0, qr0
/* 8015B298 001581F8 DB A1 01 E0 */ stfd f29, 0x1e0(r1)
/* 8015B29C 001581FC F3 A1 01 E8 */ psq_st f29, 488(r1), 0, qr0
/* 8015B2A0 00158200 DB 81 01 D0 */ stfd f28, 0x1d0(r1)
/* 8015B2A4 00158204 F3 81 01 D8 */ psq_st f28, 472(r1), 0, qr0
/* 8015B2A8 00158208 93 E1 01 CC */ stw r31, 0x1cc(r1)
/* 8015B2AC 0015820C 93 C1 01 C8 */ stw r30, 0x1c8(r1)
/* 8015B2B0 00158210 93 A1 01 C4 */ stw r29, 0x1c4(r1)
/* 8015B2B4 00158214 93 81 01 C0 */ stw r28, 0x1c0(r1)
/* 8015B2B8 00158218 FF E0 08 90 */ fmr f31, f1
/* 8015B2BC 0015821C 7C 9C 23 78 */ mr r28, r4
/* 8015B2C0 00158220 7C 7F 1B 78 */ mr r31, r3
/* 8015B2C4 00158224 80 64 08 70 */ lwz r3, 0x870(r4)
/* 8015B2C8 00158228 7C BE 2B 78 */ mr r30, r5
/* 8015B2CC 0015822C 4B EB 08 4D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager
/* 8015B2D0 00158230 7C 64 1B 78 */ mr r4, r3
/* 8015B2D4 00158234 38 61 00 1C */ addi r3, r1, 0x1c
/* 8015B2D8 00158238 4B F5 31 9D */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity"
/* 8015B2DC 0015823C 83 A3 00 04 */ lwz r29, 4(r3)
/* 8015B2E0 00158240 28 1D 00 00 */ cmplwi r29, 0
/* 8015B2E4 00158244 41 82 03 2C */ beq lbl_8015B610
/* 8015B2E8 00158248 FC 20 F8 90 */ fmr f1, f31
/* 8015B2EC 0015824C C3 DD 00 60 */ lfs f30, 0x60(r29)
/* 8015B2F0 00158250 C3 BD 00 50 */ lfs f29, 0x50(r29)
/* 8015B2F4 00158254 7F E4 FB 78 */ mr r4, r31
/* 8015B2F8 00158258 C3 9D 00 40 */ lfs f28, 0x40(r29)
/* 8015B2FC 0015825C 7F C5 F3 78 */ mr r5, r30
/* 8015B300 00158260 38 61 00 F0 */ addi r3, r1, 0xf0
/* 8015B304 00158264 38 C0 00 01 */ li r6, 1
/* 8015B308 00158268 4B FB A7 B1 */ bl AdvanceAnimationIgnoreParticles__10CModelDataFfR9CRandom16b
/* 8015B30C 0015826C 83 DF 00 4C */ lwz r30, 0x4c(r31)
/* 8015B310 00158270 38 60 00 00 */ li r3, 0
/* 8015B314 00158274 88 1E 02 98 */ lbz r0, 0x298(r30)
/* 8015B318 00158278 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 8015B31C 0015827C 98 1E 02 98 */ stb r0, 0x298(r30)
/* 8015B320 00158280 80 7C 08 4C */ lwz r3, 0x84c(r28)
/* 8015B324 00158284 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13)
/* 8015B328 00158288 80 63 00 04 */ lwz r3, 4(r3)
/* 8015B32C 0015828C 7C 03 00 00 */ cmpw r3, r0
/* 8015B330 00158290 90 61 00 18 */ stw r3, 0x18(r1)
/* 8015B334 00158294 41 82 02 DC */ beq lbl_8015B610
/* 8015B338 00158298 C0 A2 9E B4 */ lfs f5, lbl_805ABBD4@sda21(r2)
/* 8015B33C 0015829C 38 61 01 0C */ addi r3, r1, 0x10c
/* 8015B340 001582A0 38 81 00 B8 */ addi r4, r1, 0xb8
/* 8015B344 001582A4 38 A1 00 AC */ addi r5, r1, 0xac
/* 8015B348 001582A8 EC 1C 28 2A */ fadds f0, f28, f5
/* 8015B34C 001582AC EC 9D 28 2A */ fadds f4, f29, f5
/* 8015B350 001582B0 EC 7E 28 2A */ fadds f3, f30, f5
/* 8015B354 001582B4 EC 5C 28 28 */ fsubs f2, f28, f5
/* 8015B358 001582B8 D0 01 00 AC */ stfs f0, 0xac(r1)
/* 8015B35C 001582BC EC 3D 28 28 */ fsubs f1, f29, f5
/* 8015B360 001582C0 EC 1E 28 28 */ fsubs f0, f30, f5
/* 8015B364 001582C4 D0 81 00 B0 */ stfs f4, 0xb0(r1)
/* 8015B368 001582C8 D0 61 00 B4 */ stfs f3, 0xb4(r1)
/* 8015B36C 001582CC D0 41 00 B8 */ stfs f2, 0xb8(r1)
/* 8015B370 001582D0 D0 21 00 BC */ stfs f1, 0xbc(r1)
/* 8015B374 001582D4 D0 01 00 C0 */ stfs f0, 0xc0(r1)
/* 8015B378 001582D8 48 1D D1 91 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8015B37C 001582DC 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8015B380 001582E0 7F C3 F3 78 */ mr r3, r30
/* 8015B384 001582E4 80 DC 08 50 */ lwz r6, 0x850(r28)
/* 8015B388 001582E8 7F 84 E3 78 */ mr r4, r28
/* 8015B38C 001582EC 54 05 18 38 */ slwi r5, r0, 3
/* 8015B390 001582F0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015B394 001582F4 80 E6 00 20 */ lwz r7, 0x20(r6)
/* 8015B398 001582F8 38 05 00 04 */ addi r0, r5, 4
/* 8015B39C 001582FC 38 C1 01 0C */ addi r6, r1, 0x10c
/* 8015B3A0 00158300 7C A7 00 2E */ lwzx r5, r7, r0
/* 8015B3A4 00158304 4B FA 7F 19 */ bl BuildFaceLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox
/* 8015B3A8 00158308 38 61 01 6C */ addi r3, r1, 0x16c
/* 8015B3AC 0015830C 38 9D 00 34 */ addi r4, r29, 0x34
/* 8015B3B0 00158310 48 1B 7D 45 */ bl BuildMatrix3f__12CTransform4fCFv
/* 8015B3B4 00158314 38 61 01 90 */ addi r3, r1, 0x190
/* 8015B3B8 00158318 38 81 01 6C */ addi r4, r1, 0x16c
/* 8015B3BC 0015831C 48 1B 4C 69 */ bl __ct__9CMatrix3fFRC9CMatrix3f
/* 8015B3C0 00158320 C0 41 01 AC */ lfs f2, 0x1ac(r1)
/* 8015B3C4 00158324 38 61 00 E4 */ addi r3, r1, 0xe4
/* 8015B3C8 00158328 C0 21 01 A0 */ lfs f1, 0x1a0(r1)
/* 8015B3CC 0015832C 38 81 00 A0 */ addi r4, r1, 0xa0
/* 8015B3D0 00158330 C0 01 01 94 */ lfs f0, 0x194(r1)
/* 8015B3D4 00158334 D0 21 00 A4 */ stfs f1, 0xa4(r1)
/* 8015B3D8 00158338 D0 01 00 A0 */ stfs f0, 0xa0(r1)
/* 8015B3DC 0015833C D0 41 00 A8 */ stfs f2, 0xa8(r1)
/* 8015B3E0 00158340 48 1B 89 F1 */ bl __ct__11CUnitVectorFRC9CVector3f
/* 8015B3E4 00158344 3C 60 80 5A */ lis r3, lbl_805A6724@ha
/* 8015B3E8 00158348 C0 C2 9E B8 */ lfs f6, lbl_805ABBD8@sda21(r2)
/* 8015B3EC 0015834C 3B C3 67 24 */ addi r30, r3, lbl_805A6724@l
/* 8015B3F0 00158350 C0 41 00 E4 */ lfs f2, 0xe4(r1)
/* 8015B3F4 00158354 C0 BE 00 00 */ lfs f5, 0(r30)
/* 8015B3F8 00158358 38 61 00 90 */ addi r3, r1, 0x90
/* 8015B3FC 0015835C C0 9E 00 04 */ lfs f4, 4(r30)
/* 8015B400 00158360 38 81 00 84 */ addi r4, r1, 0x84
/* 8015B404 00158364 C0 7E 00 08 */ lfs f3, 8(r30)
/* 8015B408 00158368 38 A1 00 78 */ addi r5, r1, 0x78
/* 8015B40C 0015836C C0 21 00 E8 */ lfs f1, 0xe8(r1)
/* 8015B410 00158370 38 C1 00 10 */ addi r6, r1, 0x10
/* 8015B414 00158374 C0 01 00 EC */ lfs f0, 0xec(r1)
/* 8015B418 00158378 D0 C1 00 10 */ stfs f6, 0x10(r1)
/* 8015B41C 0015837C D0 A1 00 78 */ stfs f5, 0x78(r1)
/* 8015B420 00158380 D0 81 00 7C */ stfs f4, 0x7c(r1)
/* 8015B424 00158384 D0 61 00 80 */ stfs f3, 0x80(r1)
/* 8015B428 00158388 D0 41 00 84 */ stfs f2, 0x84(r1)
/* 8015B42C 0015838C D0 21 00 88 */ stfs f1, 0x88(r1)
/* 8015B430 00158390 D0 01 00 8C */ stfs f0, 0x8c(r1)
/* 8015B434 00158394 48 1B 62 61 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle
/* 8015B438 00158398 3C 60 80 5A */ lis r3, lbl_805A6724@ha
/* 8015B43C 0015839C C0 E1 00 90 */ lfs f7, 0x90(r1)
/* 8015B440 001583A0 38 C3 67 24 */ addi r6, r3, lbl_805A6724@l
/* 8015B444 001583A4 C0 C1 00 94 */ lfs f6, 0x94(r1)
/* 8015B448 001583A8 C0 A1 00 98 */ lfs f5, 0x98(r1)
/* 8015B44C 001583AC 38 61 00 44 */ addi r3, r1, 0x44
/* 8015B450 001583B0 C0 81 00 9C */ lfs f4, 0x9c(r1)
/* 8015B454 001583B4 38 81 00 D4 */ addi r4, r1, 0xd4
/* 8015B458 001583B8 C0 62 9E B8 */ lfs f3, lbl_805ABBD8@sda21(r2)
/* 8015B45C 001583BC 38 BF 00 60 */ addi r5, r31, 0x60
/* 8015B460 001583C0 C0 46 00 00 */ lfs f2, 0(r6)
/* 8015B464 001583C4 C0 3E 00 04 */ lfs f1, 4(r30)
/* 8015B468 001583C8 C0 1E 00 08 */ lfs f0, 8(r30)
/* 8015B46C 001583CC D0 E1 00 D4 */ stfs f7, 0xd4(r1)
/* 8015B470 001583D0 D0 C1 00 D8 */ stfs f6, 0xd8(r1)
/* 8015B474 001583D4 D0 A1 00 DC */ stfs f5, 0xdc(r1)
/* 8015B478 001583D8 D0 81 00 E0 */ stfs f4, 0xe0(r1)
/* 8015B47C 001583DC D0 61 00 0C */ stfs f3, 0xc(r1)
/* 8015B480 001583E0 D0 41 00 5C */ stfs f2, 0x5c(r1)
/* 8015B484 001583E4 D0 21 00 60 */ stfs f1, 0x60(r1)
/* 8015B488 001583E8 D0 01 00 64 */ stfs f0, 0x64(r1)
/* 8015B48C 001583EC 48 1B 5D D9 */ bl Transform__11CQuaternionCFRC9CVector3f
/* 8015B490 001583F0 38 61 00 50 */ addi r3, r1, 0x50
/* 8015B494 001583F4 38 81 00 44 */ addi r4, r1, 0x44
/* 8015B498 001583F8 48 1B 89 39 */ bl __ct__11CUnitVectorFRC9CVector3f
/* 8015B49C 001583FC 7C 65 1B 78 */ mr r5, r3
/* 8015B4A0 00158400 38 61 00 68 */ addi r3, r1, 0x68
/* 8015B4A4 00158404 38 81 00 5C */ addi r4, r1, 0x5c
/* 8015B4A8 00158408 38 C1 00 0C */ addi r6, r1, 0xc
/* 8015B4AC 0015840C 48 1B 61 E9 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle
/* 8015B4B0 00158410 C0 61 00 68 */ lfs f3, 0x68(r1)
/* 8015B4B4 00158414 38 81 00 C4 */ addi r4, r1, 0xc4
/* 8015B4B8 00158418 C0 41 00 6C */ lfs f2, 0x6c(r1)
/* 8015B4BC 0015841C 7C 85 23 78 */ mr r5, r4
/* 8015B4C0 00158420 C0 21 00 70 */ lfs f1, 0x70(r1)
/* 8015B4C4 00158424 38 61 00 24 */ addi r3, r1, 0x24
/* 8015B4C8 00158428 C0 01 00 74 */ lfs f0, 0x74(r1)
/* 8015B4CC 0015842C D0 61 00 C4 */ stfs f3, 0xc4(r1)
/* 8015B4D0 00158430 D0 41 00 C8 */ stfs f2, 0xc8(r1)
/* 8015B4D4 00158434 D0 21 00 CC */ stfs f1, 0xcc(r1)
/* 8015B4D8 00158438 D0 01 00 D0 */ stfs f0, 0xd0(r1)
/* 8015B4DC 0015843C 48 1B 5C C5 */ bl __ml__11CQuaternionCFRC11CQuaternion
/* 8015B4E0 00158440 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 8015B4E4 00158444 38 61 01 48 */ addi r3, r1, 0x148
/* 8015B4E8 00158448 80 C1 00 28 */ lwz r6, 0x28(r1)
/* 8015B4EC 0015844C 38 81 00 C4 */ addi r4, r1, 0xc4
/* 8015B4F0 00158450 80 A1 00 2C */ lwz r5, 0x2c(r1)
/* 8015B4F4 00158454 80 01 00 30 */ lwz r0, 0x30(r1)
/* 8015B4F8 00158458 D0 01 00 C4 */ stfs f0, 0xc4(r1)
/* 8015B4FC 0015845C 90 C1 00 C8 */ stw r6, 0xc8(r1)
/* 8015B500 00158460 90 A1 00 CC */ stw r5, 0xcc(r1)
/* 8015B504 00158464 90 01 00 D0 */ stw r0, 0xd0(r1)
/* 8015B508 00158468 48 1B 6B 85 */ bl BuildTransform__11CQuaternionCFv
/* 8015B50C 0015846C C3 81 01 64 */ lfs f28, 0x164(r1)
/* 8015B510 00158470 38 61 01 24 */ addi r3, r1, 0x124
/* 8015B514 00158474 C3 A1 01 58 */ lfs f29, 0x158(r1)
/* 8015B518 00158478 38 9F 00 50 */ addi r4, r31, 0x50
/* 8015B51C 0015847C C3 C1 01 4C */ lfs f30, 0x14c(r1)
/* 8015B520 00158480 48 1B 6B 6D */ bl BuildTransform__11CQuaternionCFv
/* 8015B524 00158484 C0 01 01 34 */ lfs f0, 0x134(r1)
/* 8015B528 00158488 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13)
/* 8015B52C 0015848C EC 00 07 72 */ fmuls f0, f0, f29
/* 8015B530 00158490 C0 21 01 28 */ lfs f1, 0x128(r1)
/* 8015B534 00158494 C0 63 01 38 */ lfs f3, 0x138(r3)
/* 8015B538 00158498 C0 41 01 40 */ lfs f2, 0x140(r1)
/* 8015B53C 0015849C EC 21 07 BA */ fmadds f1, f1, f30, f0
/* 8015B540 001584A0 C0 82 9E BC */ lfs f4, lbl_805ABBDC@sda21(r2)
/* 8015B544 001584A4 EC 7F 00 F2 */ fmuls f3, f31, f3
/* 8015B548 001584A8 C8 02 9E C0 */ lfd f0, lbl_805ABBE0@sda21(r2)
/* 8015B54C 001584AC EC 22 0F 3A */ fmadds f1, f2, f28, f1
/* 8015B550 001584B0 EF C4 00 F2 */ fmuls f30, f4, f3
/* 8015B554 001584B4 FC 40 0A 10 */ fabs f2, f1
/* 8015B558 001584B8 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8015B55C 001584BC 40 81 00 14 */ ble lbl_8015B570
/* 8015B560 001584C0 C0 02 9E C8 */ lfs f0, lbl_805ABBE8@sda21(r2)
/* 8015B564 001584C4 C0 42 9E AC */ lfs f2, lbl_805ABBCC@sda21(r2)
/* 8015B568 001584C8 FC 01 00 AE */ fsel f0, f1, f2, f0
/* 8015B56C 001584CC EC 22 00 32 */ fmuls f1, f2, f0
lbl_8015B570:
/* 8015B570 001584D0 48 23 96 BD */ bl acos
/* 8015B574 001584D4 FC 40 08 18 */ frsp f2, f1
/* 8015B578 001584D8 C0 22 9E CC */ lfs f1, lbl_805ABBEC@sda21(r2)
/* 8015B57C 001584DC C0 02 9E B0 */ lfs f0, lbl_805ABBD0@sda21(r2)
/* 8015B580 001584E0 EC 21 07 F2 */ fmuls f1, f1, f31
/* 8015B584 001584E4 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8015B588 001584E8 40 81 00 08 */ ble lbl_8015B590
/* 8015B58C 001584EC EC 1E 10 24 */ fdivs f0, f30, f2
lbl_8015B590:
/* 8015B590 001584F0 EC 01 00 32 */ fmuls f0, f1, f0
/* 8015B594 001584F4 38 81 00 08 */ addi r4, r1, 8
/* 8015B598 001584F8 38 6D 8C A8 */ addi r3, r13, lbl_805A7868@sda21
/* 8015B59C 001584FC 38 AD 8C AC */ addi r5, r13, lbl_805A786C@sda21
/* 8015B5A0 00158500 D0 01 00 08 */ stfs f0, 8(r1)
/* 8015B5A4 00158504 4B EB 0D 11 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 8015B5A8 00158508 C0 23 00 00 */ lfs f1, 0(r3)
/* 8015B5AC 0015850C 38 61 00 34 */ addi r3, r1, 0x34
/* 8015B5B0 00158510 38 9F 00 50 */ addi r4, r31, 0x50
/* 8015B5B4 00158514 38 A1 00 C4 */ addi r5, r1, 0xc4
/* 8015B5B8 00158518 48 1B 60 01 */ bl SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf
/* 8015B5BC 0015851C C0 01 00 34 */ lfs f0, 0x34(r1)
/* 8015B5C0 00158520 80 81 00 38 */ lwz r4, 0x38(r1)
/* 8015B5C4 00158524 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 8015B5C8 00158528 80 01 00 40 */ lwz r0, 0x40(r1)
/* 8015B5CC 0015852C D0 01 00 C4 */ stfs f0, 0xc4(r1)
/* 8015B5D0 00158530 90 81 00 C8 */ stw r4, 0xc8(r1)
/* 8015B5D4 00158534 90 61 00 CC */ stw r3, 0xcc(r1)
/* 8015B5D8 00158538 90 01 00 D0 */ stw r0, 0xd0(r1)
/* 8015B5DC 0015853C D0 1F 00 50 */ stfs f0, 0x50(r31)
/* 8015B5E0 00158540 80 61 00 C8 */ lwz r3, 0xc8(r1)
/* 8015B5E4 00158544 80 01 00 CC */ lwz r0, 0xcc(r1)
/* 8015B5E8 00158548 90 7F 00 54 */ stw r3, 0x54(r31)
/* 8015B5EC 0015854C 90 1F 00 58 */ stw r0, 0x58(r31)
/* 8015B5F0 00158550 80 01 00 D0 */ lwz r0, 0xd0(r1)
/* 8015B5F4 00158554 90 1F 00 5C */ stw r0, 0x5c(r31)
/* 8015B5F8 00158558 C0 01 00 E4 */ lfs f0, 0xe4(r1)
/* 8015B5FC 0015855C D0 1F 00 60 */ stfs f0, 0x60(r31)
/* 8015B600 00158560 C0 01 00 E8 */ lfs f0, 0xe8(r1)
/* 8015B604 00158564 D0 1F 00 64 */ stfs f0, 0x64(r31)
/* 8015B608 00158568 C0 01 00 EC */ lfs f0, 0xec(r1)
/* 8015B60C 0015856C D0 1F 00 68 */ stfs f0, 0x68(r31)
lbl_8015B610:
/* 8015B610 00158570 E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0
/* 8015B614 00158574 CB E1 02 00 */ lfd f31, 0x200(r1)
/* 8015B618 00158578 E3 C1 01 F8 */ psq_l f30, 504(r1), 0, qr0
/* 8015B61C 0015857C CB C1 01 F0 */ lfd f30, 0x1f0(r1)
/* 8015B620 00158580 E3 A1 01 E8 */ psq_l f29, 488(r1), 0, qr0
/* 8015B624 00158584 CB A1 01 E0 */ lfd f29, 0x1e0(r1)
/* 8015B628 00158588 E3 81 01 D8 */ psq_l f28, 472(r1), 0, qr0
/* 8015B62C 0015858C CB 81 01 D0 */ lfd f28, 0x1d0(r1)
/* 8015B630 00158590 83 E1 01 CC */ lwz r31, 0x1cc(r1)
/* 8015B634 00158594 83 C1 01 C8 */ lwz r30, 0x1c8(r1)
/* 8015B638 00158598 83 A1 01 C4 */ lwz r29, 0x1c4(r1)
/* 8015B63C 0015859C 80 01 02 14 */ lwz r0, 0x214(r1)
/* 8015B640 001585A0 83 81 01 C0 */ lwz r28, 0x1c0(r1)
/* 8015B644 001585A4 7C 08 03 A6 */ mtlr r0
/* 8015B648 001585A8 38 21 02 10 */ addi r1, r1, 0x210
/* 8015B64C 001585AC 4E 80 00 20 */ blr
.global __ct__20CSamusFaceReflectionFRC13CStateManager
__ct__20CSamusFaceReflectionFRC13CStateManager:
/* 8015B650 001585B0 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 8015B654 001585B4 7C 08 02 A6 */ mflr r0
/* 8015B658 001585B8 80 82 9E A0 */ lwz r4, lbl_805ABBC0@sda21(r2)
/* 8015B65C 001585BC 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 8015B660 001585C0 93 E1 00 AC */ stw r31, 0xac(r1)
/* 8015B664 001585C4 7C 7F 1B 78 */ mr r31, r3
/* 8015B668 001585C8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13)
/* 8015B66C 001585CC 81 83 00 00 */ lwz r12, 0(r3)
/* 8015B670 001585D0 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8015B674 001585D4 7D 89 03 A6 */ mtctr r12
/* 8015B678 001585D8 4E 80 04 21 */ bctrl
/* 8015B67C 001585DC 80 83 00 04 */ lwz r4, 4(r3)
/* 8015B680 001585E0 38 A0 00 01 */ li r5, 1
/* 8015B684 001585E4 C0 02 9E AC */ lfs f0, lbl_805ABBCC@sda21(r2)
/* 8015B688 001585E8 38 00 00 00 */ li r0, 0
/* 8015B68C 001585EC 80 C2 83 F0 */ lwz r6, lbl_805AA110@sda21(r2)
/* 8015B690 001585F0 38 61 00 58 */ addi r3, r1, 0x58
/* 8015B694 001585F4 90 81 00 14 */ stw r4, 0x14(r1)
/* 8015B698 001585F8 38 81 00 14 */ addi r4, r1, 0x14
/* 8015B69C 001585FC 90 C1 00 18 */ stw r6, 0x18(r1)
/* 8015B6A0 00158600 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8015B6A4 00158604 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 8015B6A8 00158608 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 8015B6AC 0015860C 98 A1 00 28 */ stb r5, 0x28(r1)
/* 8015B6B0 00158610 90 01 00 2C */ stw r0, 0x2c(r1)
/* 8015B6B4 00158614 4B FB B4 A1 */ bl __ct__10CModelDataFRC8CAnimRes
/* 8015B6B8 00158618 7F E3 FB 78 */ mr r3, r31
/* 8015B6BC 0015861C 38 81 00 58 */ addi r4, r1, 0x58
/* 8015B6C0 00158620 4B EB D6 CD */ bl __ct__10CModelDataFRC10CModelData
/* 8015B6C4 00158624 38 61 00 58 */ addi r3, r1, 0x58
/* 8015B6C8 00158628 38 80 FF FF */ li r4, -1
/* 8015B6CC 0015862C 4B FB B3 81 */ bl __dt__10CModelDataFv
/* 8015B6D0 00158630 3C 80 80 3D */ lis r4, lbl_803D0340@ha
/* 8015B6D4 00158634 38 60 02 E0 */ li r3, 0x2e0
/* 8015B6D8 00158638 38 84 03 40 */ addi r4, r4, lbl_803D0340@l
/* 8015B6DC 0015863C 38 A0 00 00 */ li r5, 0
/* 8015B6E0 00158640 38 84 00 0E */ addi r4, r4, 0xe
/* 8015B6E4 00158644 48 1B A1 89 */ bl __nw__FUlPCcPCc
/* 8015B6E8 00158648 7C 60 1B 79 */ or. r0, r3, r3
/* 8015B6EC 0015864C 41 82 00 4C */ beq lbl_8015B738
/* 8015B6F0 00158650 3C 80 80 5A */ lis r4, skZero3f@ha
/* 8015B6F4 00158654 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2)
/* 8015B6F8 00158658 38 E4 66 A0 */ addi r7, r4, skZero3f@l
/* 8015B6FC 0015865C 38 A1 00 08 */ addi r5, r1, 8
/* 8015B700 00158660 81 07 00 00 */ lwz r8, 0(r7)
/* 8015B704 00158664 38 80 00 08 */ li r4, 8
/* 8015B708 00158668 81 67 00 04 */ lwz r11, 4(r7)
/* 8015B70C 0015866C 38 C0 00 04 */ li r6, 4
/* 8015B710 00158670 80 07 00 08 */ lwz r0, 8(r7)
/* 8015B714 00158674 38 E0 00 04 */ li r7, 4
/* 8015B718 00158678 91 01 00 08 */ stw r8, 8(r1)
/* 8015B71C 0015867C 39 00 00 00 */ li r8, 0
/* 8015B720 00158680 39 20 00 00 */ li r9, 0
/* 8015B724 00158684 39 40 00 00 */ li r10, 0
/* 8015B728 00158688 91 61 00 0C */ stw r11, 0xc(r1)
/* 8015B72C 0015868C 90 01 00 10 */ stw r0, 0x10(r1)
/* 8015B730 00158690 4B FA 9A 9D */ bl __ct__12CActorLightsFUi9CVector3fiif
/* 8015B734 00158694 7C 60 1B 78 */ mr r0, r3
lbl_8015B738:
/* 8015B738 00158698 3C 60 80 5A */ lis r3, lbl_805A6660@ha
/* 8015B73C 0015869C 90 1F 00 4C */ stw r0, 0x4c(r31)
/* 8015B740 001586A0 39 03 66 60 */ addi r8, r3, lbl_805A6660@l
/* 8015B744 001586A4 3C 60 80 5A */ lis r3, lbl_805A6724@ha
/* 8015B748 001586A8 C0 08 00 00 */ lfs f0, 0(r8)
/* 8015B74C 001586AC 38 E3 67 24 */ addi r7, r3, lbl_805A6724@l
/* 8015B750 001586B0 38 C0 00 00 */ li r6, 0
/* 8015B754 001586B4 38 60 00 01 */ li r3, 1
/* 8015B758 001586B8 D0 1F 00 50 */ stfs f0, 0x50(r31)
/* 8015B75C 001586BC 38 00 FF FF */ li r0, -1
/* 8015B760 001586C0 C0 02 9E AC */ lfs f0, lbl_805ABBCC@sda21(r2)
/* 8015B764 001586C4 38 81 00 30 */ addi r4, r1, 0x30
/* 8015B768 001586C8 C0 28 00 04 */ lfs f1, 4(r8)
/* 8015B76C 001586CC 38 A0 00 00 */ li r5, 0
/* 8015B770 001586D0 D0 3F 00 54 */ stfs f1, 0x54(r31)
/* 8015B774 001586D4 C0 28 00 08 */ lfs f1, 8(r8)
/* 8015B778 001586D8 D0 3F 00 58 */ stfs f1, 0x58(r31)
/* 8015B77C 001586DC C0 28 00 0C */ lfs f1, 0xc(r8)
/* 8015B780 001586E0 D0 3F 00 5C */ stfs f1, 0x5c(r31)
/* 8015B784 001586E4 C0 27 00 00 */ lfs f1, 0(r7)
/* 8015B788 001586E8 D0 3F 00 60 */ stfs f1, 0x60(r31)
/* 8015B78C 001586EC C0 27 00 04 */ lfs f1, 4(r7)
/* 8015B790 001586F0 D0 3F 00 64 */ stfs f1, 0x64(r31)
/* 8015B794 001586F4 C0 27 00 08 */ lfs f1, 8(r7)
/* 8015B798 001586F8 D0 3F 00 68 */ stfs f1, 0x68(r31)
/* 8015B79C 001586FC 90 DF 00 6C */ stw r6, 0x6c(r31)
/* 8015B7A0 00158700 98 7F 00 70 */ stb r3, 0x70(r31)
/* 8015B7A4 00158704 90 C1 00 30 */ stw r6, 0x30(r1)
/* 8015B7A8 00158708 90 01 00 34 */ stw r0, 0x34(r1)
/* 8015B7AC 0015870C D0 01 00 38 */ stfs f0, 0x38(r1)
/* 8015B7B0 00158710 98 61 00 3C */ stb r3, 0x3c(r1)
/* 8015B7B4 00158714 90 C1 00 40 */ stw r6, 0x40(r1)
/* 8015B7B8 00158718 90 C1 00 44 */ stw r6, 0x44(r1)
/* 8015B7BC 0015871C 98 C1 00 48 */ stb r6, 0x48(r1)
/* 8015B7C0 00158720 90 C1 00 4C */ stw r6, 0x4c(r1)
/* 8015B7C4 00158724 90 C1 00 50 */ stw r6, 0x50(r1)
/* 8015B7C8 00158728 90 C1 00 54 */ stw r6, 0x54(r1)
/* 8015B7CC 0015872C 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 8015B7D0 00158730 4B ED 15 AD */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb
/* 8015B7D4 00158734 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 8015B7D8 00158738 7F E3 FB 78 */ mr r3, r31
/* 8015B7DC 0015873C 83 E1 00 AC */ lwz r31, 0xac(r1)
/* 8015B7E0 00158740 7C 08 03 A6 */ mtlr r0
/* 8015B7E4 00158744 38 21 00 B0 */ addi r1, r1, 0xb0
/* 8015B7E8 00158748 4E 80 00 20 */ blr
.global __sinit_CSamusFaceReflection_cpp
__sinit_CSamusFaceReflection_cpp:
/* 8015B7EC 0015874C 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 8015B7F0 00158750 7C 08 02 A6 */ mflr r0
/* 8015B7F4 00158754 C0 22 9E B0 */ lfs f1, lbl_805ABBD0@sda21(r2)
/* 8015B7F8 00158758 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 8015B7FC 0015875C 38 61 00 14 */ addi r3, r1, 0x14
/* 8015B800 00158760 C0 02 9E BC */ lfs f0, lbl_805ABBDC@sda21(r2)
/* 8015B804 00158764 38 81 00 08 */ addi r4, r1, 8
/* 8015B808 00158768 D0 21 00 08 */ stfs f1, 8(r1)
/* 8015B80C 0015876C D0 01 00 0C */ stfs f0, 0xc(r1)
/* 8015B810 00158770 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 8015B814 00158774 48 1B 79 2D */ bl Translate__12CTransform4fFRC9CVector3f
/* 8015B818 00158778 C0 22 9E D0 */ lfs f1, lbl_805ABBF0@sda21(r2)
/* 8015B81C 0015877C 38 61 00 44 */ addi r3, r1, 0x44
/* 8015B820 00158780 48 1B 7A 21 */ bl Scale__12CTransform4fFf
/* 8015B824 00158784 38 61 00 74 */ addi r3, r1, 0x74
/* 8015B828 00158788 38 81 00 44 */ addi r4, r1, 0x44
/* 8015B82C 0015878C 38 A1 00 14 */ addi r5, r1, 0x14
/* 8015B830 00158790 48 1B 71 21 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 8015B834 00158794 3C 60 80 47 */ lis r3, lbl_8046C7A0@ha
/* 8015B838 00158798 38 81 00 74 */ addi r4, r1, 0x74
/* 8015B83C 0015879C 38 63 C7 A0 */ addi r3, r3, lbl_8046C7A0@l
/* 8015B840 001587A0 48 1B 73 35 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8015B844 001587A4 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 8015B848 001587A8 7C 08 03 A6 */ mtlr r0
/* 8015B84C 001587AC 38 21 00 B0 */ addi r1, r1, 0xb0
/* 8015B850 001587B0 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,946 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__18CScriptActorRotateFv
__dt__18CScriptActorRotateFv:
/* 80153A2C 0015098C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80153A30 00150990 7C 08 02 A6 */ mflr r0
/* 80153A34 00150994 90 01 00 24 */ stw r0, 0x24(r1)
/* 80153A38 00150998 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80153A3C 0015099C 7C 9F 23 78 */ mr r31, r4
/* 80153A40 001509A0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80153A44 001509A4 7C 7E 1B 79 */ or. r30, r3, r3
/* 80153A48 001509A8 41 82 00 74 */ beq lbl_80153ABC
/* 80153A4C 001509AC 3C 60 80 3E */ lis r3, lbl_803E2D08@ha
/* 80153A50 001509B0 34 1E 00 48 */ addic. r0, r30, 0x48
/* 80153A54 001509B4 38 03 2D 08 */ addi r0, r3, lbl_803E2D08@l
/* 80153A58 001509B8 90 1E 00 00 */ stw r0, 0(r30)
/* 80153A5C 001509BC 41 82 00 44 */ beq lbl_80153AA0
/* 80153A60 001509C0 80 1E 00 4C */ lwz r0, 0x4c(r30)
/* 80153A64 001509C4 80 7E 00 54 */ lwz r3, 0x54(r30)
/* 80153A68 001509C8 1C 00 00 34 */ mulli r0, r0, 0x34
/* 80153A6C 001509CC 90 61 00 0C */ stw r3, 0xc(r1)
/* 80153A70 001509D0 7C 64 1B 78 */ mr r4, r3
/* 80153A74 001509D4 7C 03 02 14 */ add r0, r3, r0
/* 80153A78 001509D8 90 61 00 08 */ stw r3, 8(r1)
/* 80153A7C 001509DC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80153A80 001509E0 90 01 00 10 */ stw r0, 0x10(r1)
/* 80153A84 001509E4 48 00 00 08 */ b lbl_80153A8C
lbl_80153A88:
/* 80153A88 001509E8 38 84 00 34 */ addi r4, r4, 0x34
lbl_80153A8C:
/* 80153A8C 001509EC 7C 04 00 40 */ cmplw r4, r0
/* 80153A90 001509F0 40 82 FF F8 */ bne lbl_80153A88
/* 80153A94 001509F4 28 03 00 00 */ cmplwi r3, 0
/* 80153A98 001509F8 41 82 00 08 */ beq lbl_80153AA0
/* 80153A9C 001509FC 48 1C 1E 95 */ bl Free__7CMemoryFPCv
lbl_80153AA0:
/* 80153AA0 00150A00 7F C3 F3 78 */ mr r3, r30
/* 80153AA4 00150A04 38 80 00 00 */ li r4, 0
/* 80153AA8 00150A08 4B EF D7 CD */ bl __dt__7CEntityFv
/* 80153AAC 00150A0C 7F E0 07 35 */ extsh. r0, r31
/* 80153AB0 00150A10 40 81 00 0C */ ble lbl_80153ABC
/* 80153AB4 00150A14 7F C3 F3 78 */ mr r3, r30
/* 80153AB8 00150A18 48 1C 1E 79 */ bl Free__7CMemoryFPCv
lbl_80153ABC:
/* 80153ABC 00150A1C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80153AC0 00150A20 7F C3 F3 78 */ mr r3, r30
/* 80153AC4 00150A24 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80153AC8 00150A28 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80153ACC 00150A2C 7C 08 03 A6 */ mtlr r0
/* 80153AD0 00150A30 38 21 00 20 */ addi r1, r1, 0x20
/* 80153AD4 00150A34 4E 80 00 20 */ blr
.global Accept__18CScriptActorRotateFR8IVisitor
Accept__18CScriptActorRotateFR8IVisitor:
/* 80153AD8 00150A38 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80153ADC 00150A3C 7C 08 02 A6 */ mflr r0
/* 80153AE0 00150A40 90 01 00 14 */ stw r0, 0x14(r1)
/* 80153AE4 00150A44 7C 60 1B 78 */ mr r0, r3
/* 80153AE8 00150A48 7C 83 23 78 */ mr r3, r4
/* 80153AEC 00150A4C 81 84 00 00 */ lwz r12, 0(r4)
/* 80153AF0 00150A50 7C 04 03 78 */ mr r4, r0
/* 80153AF4 00150A54 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 80153AF8 00150A58 7D 89 03 A6 */ mtctr r12
/* 80153AFC 00150A5C 4E 80 04 21 */ bctrl
/* 80153B00 00150A60 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80153B04 00150A64 7C 08 03 A6 */ mtlr r0
/* 80153B08 00150A68 38 21 00 10 */ addi r1, r1, 0x10
/* 80153B0C 00150A6C 4E 80 00 20 */ blr
.global AcceptScriptMsg__18CScriptActorRotateF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__18CScriptActorRotateF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 80153B10 00150A70 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80153B14 00150A74 7C 08 02 A6 */ mflr r0
/* 80153B18 00150A78 90 01 00 34 */ stw r0, 0x34(r1)
/* 80153B1C 00150A7C BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 80153B20 00150A80 7C 9C 23 78 */ mr r28, r4
/* 80153B24 00150A84 2C 1C 00 13 */ cmpwi r28, 0x13
/* 80153B28 00150A88 7C 7B 1B 78 */ mr r27, r3
/* 80153B2C 00150A8C 7C BD 2B 78 */ mr r29, r5
/* 80153B30 00150A90 7C DE 33 78 */ mr r30, r6
/* 80153B34 00150A94 3B E0 00 00 */ li r31, 0
/* 80153B38 00150A98 41 82 00 4C */ beq lbl_80153B84
/* 80153B3C 00150A9C 40 80 00 1C */ bge lbl_80153B58
/* 80153B40 00150AA0 2C 1C 00 08 */ cmpwi r28, 8
/* 80153B44 00150AA4 41 82 00 40 */ beq lbl_80153B84
/* 80153B48 00150AA8 40 80 00 60 */ bge lbl_80153BA8
/* 80153B4C 00150AAC 2C 1C 00 01 */ cmpwi r28, 1
/* 80153B50 00150AB0 41 82 00 14 */ beq lbl_80153B64
/* 80153B54 00150AB4 48 00 00 54 */ b lbl_80153BA8
lbl_80153B58:
/* 80153B58 00150AB8 2C 1C 00 21 */ cmpwi r28, 0x21
/* 80153B5C 00150ABC 41 82 00 1C */ beq lbl_80153B78
/* 80153B60 00150AC0 48 00 00 48 */ b lbl_80153BA8
lbl_80153B64:
/* 80153B64 00150AC4 A0 1D 00 00 */ lhz r0, 0(r29)
/* 80153B68 00150AC8 38 A1 00 0C */ addi r5, r1, 0xc
/* 80153B6C 00150ACC B0 01 00 0C */ sth r0, 0xc(r1)
/* 80153B70 00150AD0 4B EF D5 ED */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 80153B74 00150AD4 3B E0 00 01 */ li r31, 1
lbl_80153B78:
/* 80153B78 00150AD8 88 1B 00 58 */ lbz r0, 0x58(r27)
/* 80153B7C 00150ADC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f
/* 80153B80 00150AE0 41 82 00 28 */ beq lbl_80153BA8
lbl_80153B84:
/* 80153B84 00150AE4 88 1B 00 30 */ lbz r0, 0x30(r27)
/* 80153B88 00150AE8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80153B8C 00150AEC 41 82 00 1C */ beq lbl_80153BA8
/* 80153B90 00150AF0 20 1C 00 08 */ subfic r0, r28, 8
/* 80153B94 00150AF4 7F 63 DB 78 */ mr r3, r27
/* 80153B98 00150AF8 7C 00 00 34 */ cntlzw r0, r0
/* 80153B9C 00150AFC 7F C5 F3 78 */ mr r5, r30
/* 80153BA0 00150B00 54 04 D9 7E */ srwi r4, r0, 5
/* 80153BA4 00150B04 48 00 00 3D */ bl UpdateActors__18CScriptActorRotateFbR13CStateManager
lbl_80153BA8:
/* 80153BA8 00150B08 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 80153BAC 00150B0C 40 82 00 20 */ bne lbl_80153BCC
/* 80153BB0 00150B10 A0 1D 00 00 */ lhz r0, 0(r29)
/* 80153BB4 00150B14 7F 63 DB 78 */ mr r3, r27
/* 80153BB8 00150B18 7F 84 E3 78 */ mr r4, r28
/* 80153BBC 00150B1C 7F C6 F3 78 */ mr r6, r30
/* 80153BC0 00150B20 B0 01 00 08 */ sth r0, 8(r1)
/* 80153BC4 00150B24 38 A1 00 08 */ addi r5, r1, 8
/* 80153BC8 00150B28 4B EF D5 95 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
lbl_80153BCC:
/* 80153BCC 00150B2C BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 80153BD0 00150B30 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80153BD4 00150B34 7C 08 03 A6 */ mtlr r0
/* 80153BD8 00150B38 38 21 00 30 */ addi r1, r1, 0x30
/* 80153BDC 00150B3C 4E 80 00 20 */ blr
.global UpdateActors__18CScriptActorRotateFbR13CStateManager
UpdateActors__18CScriptActorRotateFbR13CStateManager:
/* 80153BE0 00150B40 94 21 FF 10 */ stwu r1, -0xf0(r1)
/* 80153BE4 00150B44 7C 08 02 A6 */ mflr r0
/* 80153BE8 00150B48 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 80153BEC 00150B4C BE C1 00 C8 */ stmw r22, 0xc8(r1)
/* 80153BF0 00150B50 7C 77 1B 78 */ mr r23, r3
/* 80153BF4 00150B54 7C 98 23 78 */ mr r24, r4
/* 80153BF8 00150B58 7C B9 2B 78 */ mr r25, r5
/* 80153BFC 00150B5C 88 03 00 58 */ lbz r0, 0x58(r3)
/* 80153C00 00150B60 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80153C04 00150B64 40 82 02 4C */ bne lbl_80153E50
/* 80153C08 00150B68 80 17 00 4C */ lwz r0, 0x4c(r23)
/* 80153C0C 00150B6C 80 77 00 54 */ lwz r3, 0x54(r23)
/* 80153C10 00150B70 1C 00 00 34 */ mulli r0, r0, 0x34
/* 80153C14 00150B74 90 61 00 10 */ stw r3, 0x10(r1)
/* 80153C18 00150B78 7C 03 02 14 */ add r0, r3, r0
/* 80153C1C 00150B7C 90 61 00 0C */ stw r3, 0xc(r1)
/* 80153C20 00150B80 90 01 00 18 */ stw r0, 0x18(r1)
/* 80153C24 00150B84 90 01 00 14 */ stw r0, 0x14(r1)
/* 80153C28 00150B88 48 00 00 08 */ b lbl_80153C30
lbl_80153C2C:
/* 80153C2C 00150B8C 38 63 00 34 */ addi r3, r3, 0x34
lbl_80153C30:
/* 80153C30 00150B90 7C 03 00 40 */ cmplw r3, r0
/* 80153C34 00150B94 40 82 FF F8 */ bne lbl_80153C2C
/* 80153C38 00150B98 38 00 00 00 */ li r0, 0
/* 80153C3C 00150B9C 3B 41 00 8C */ addi r26, r1, 0x8c
/* 80153C40 00150BA0 90 17 00 4C */ stw r0, 0x4c(r23)
/* 80153C44 00150BA4 83 F7 00 2C */ lwz r31, 0x2c(r23)
/* 80153C48 00150BA8 48 00 01 A4 */ b lbl_80153DEC
lbl_80153C4C:
/* 80153C4C 00150BAC 80 1F 00 00 */ lwz r0, 0(r31)
/* 80153C50 00150BB0 2C 00 00 12 */ cmpwi r0, 0x12
/* 80153C54 00150BB4 40 82 01 94 */ bne lbl_80153DE8
/* 80153C58 00150BB8 80 1F 00 04 */ lwz r0, 4(r31)
/* 80153C5C 00150BBC 2C 00 00 14 */ cmpwi r0, 0x14
/* 80153C60 00150BC0 40 82 01 88 */ bne lbl_80153DE8
/* 80153C64 00150BC4 80 1F 00 08 */ lwz r0, 8(r31)
/* 80153C68 00150BC8 7F 24 CB 78 */ mr r4, r25
/* 80153C6C 00150BCC 38 61 00 38 */ addi r3, r1, 0x38
/* 80153C70 00150BD0 38 A1 00 1C */ addi r5, r1, 0x1c
/* 80153C74 00150BD4 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80153C78 00150BD8 4B EF 43 51 */ bl GetIdListForScript__13CStateManagerCF9TEditorId
/* 80153C7C 00150BDC 80 C1 00 38 */ lwz r6, 0x38(r1)
/* 80153C80 00150BE0 38 00 00 00 */ li r0, 0
/* 80153C84 00150BE4 80 81 00 40 */ lwz r4, 0x40(r1)
/* 80153C88 00150BE8 80 A1 00 3C */ lwz r5, 0x3c(r1)
/* 80153C8C 00150BEC 80 61 00 44 */ lwz r3, 0x44(r1)
/* 80153C90 00150BF0 7C 06 20 40 */ cmplw r6, r4
/* 80153C94 00150BF4 90 C1 00 48 */ stw r6, 0x48(r1)
/* 80153C98 00150BF8 90 A1 00 4C */ stw r5, 0x4c(r1)
/* 80153C9C 00150BFC 90 81 00 50 */ stw r4, 0x50(r1)
/* 80153CA0 00150C00 90 61 00 54 */ stw r3, 0x54(r1)
/* 80153CA4 00150C04 40 82 00 10 */ bne lbl_80153CB4
/* 80153CA8 00150C08 7C 05 18 40 */ cmplw r5, r3
/* 80153CAC 00150C0C 40 82 00 08 */ bne lbl_80153CB4
/* 80153CB0 00150C10 38 00 00 01 */ li r0, 1
lbl_80153CB4:
/* 80153CB4 00150C14 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80153CB8 00150C18 40 82 01 30 */ bne lbl_80153DE8
/* 80153CBC 00150C1C 80 E1 00 50 */ lwz r7, 0x50(r1)
/* 80153CC0 00150C20 38 61 00 30 */ addi r3, r1, 0x30
/* 80153CC4 00150C24 80 C1 00 54 */ lwz r6, 0x54(r1)
/* 80153CC8 00150C28 38 81 00 28 */ addi r4, r1, 0x28
/* 80153CCC 00150C2C 80 A1 00 48 */ lwz r5, 0x48(r1)
/* 80153CD0 00150C30 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 80153CD4 00150C34 90 E1 00 28 */ stw r7, 0x28(r1)
/* 80153CD8 00150C38 90 C1 00 2C */ stw r6, 0x2c(r1)
/* 80153CDC 00150C3C 90 A1 00 30 */ stw r5, 0x30(r1)
/* 80153CE0 00150C40 90 01 00 34 */ stw r0, 0x34(r1)
/* 80153CE4 00150C44 83 77 00 4C */ lwz r27, 0x4c(r23)
/* 80153CE8 00150C48 48 00 08 B9 */ bl "distance<Q34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st<Q24rstl32pair<13TGameScriptId,9TUniqueId>>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>14const_iterator>__4rstlFQ34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st<Q24rstl32pair<13TGameScriptId,9TUniqueId>>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>14const_iteratorQ34rstl195red_black_tree<13TGameScriptId,Q24rstl32"
/* 80153CEC 00150C4C 7C 60 1B 78 */ mr r0, r3
/* 80153CF0 00150C50 38 77 00 48 */ addi r3, r23, 0x48
/* 80153CF4 00150C54 7C 9B 02 14 */ add r4, r27, r0
/* 80153CF8 00150C58 48 00 09 85 */ bl "reserve__Q24rstl75vector<Q24rstl31pair<9TUniqueId,12CTransform4f>,Q24rstl17rmemory_allocator>Fi"
/* 80153CFC 00150C5C 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 80153D00 00150C60 83 A1 00 4C */ lwz r29, 0x4c(r1)
/* 80153D04 00150C64 83 81 00 50 */ lwz r28, 0x50(r1)
/* 80153D08 00150C68 83 61 00 54 */ lwz r27, 0x54(r1)
/* 80153D0C 00150C6C 48 00 00 BC */ b lbl_80153DC8
lbl_80153D10:
/* 80153D10 00150C70 A0 1E 00 14 */ lhz r0, 0x14(r30)
/* 80153D14 00150C74 7F 23 CB 78 */ mr r3, r25
/* 80153D18 00150C78 38 81 00 08 */ addi r4, r1, 8
/* 80153D1C 00150C7C B0 01 00 08 */ sth r0, 8(r1)
/* 80153D20 00150C80 4B EF 88 55 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80153D24 00150C84 7C 64 1B 78 */ mr r4, r3
/* 80153D28 00150C88 38 61 00 20 */ addi r3, r1, 0x20
/* 80153D2C 00150C8C 4B F5 BF 65 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 80153D30 00150C90 82 C3 00 04 */ lwz r22, 4(r3)
/* 80153D34 00150C94 28 16 00 00 */ cmplwi r22, 0
/* 80153D38 00150C98 41 82 00 80 */ beq lbl_80153DB8
/* 80153D3C 00150C9C 38 61 00 58 */ addi r3, r1, 0x58
/* 80153D40 00150CA0 38 96 00 34 */ addi r4, r22, 0x34
/* 80153D44 00150CA4 48 1B EE FD */ bl GetRotation__12CTransform4fCFv
/* 80153D48 00150CA8 A0 16 00 08 */ lhz r0, 8(r22)
/* 80153D4C 00150CAC 7F 43 D3 78 */ mr r3, r26
/* 80153D50 00150CB0 38 81 00 58 */ addi r4, r1, 0x58
/* 80153D54 00150CB4 B0 01 00 88 */ sth r0, 0x88(r1)
/* 80153D58 00150CB8 48 1B EE 1D */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80153D5C 00150CBC 80 17 00 4C */ lwz r0, 0x4c(r23)
/* 80153D60 00150CC0 80 B7 00 50 */ lwz r5, 0x50(r23)
/* 80153D64 00150CC4 7C 00 28 00 */ cmpw r0, r5
/* 80153D68 00150CC8 41 80 00 1C */ blt lbl_80153D84
/* 80153D6C 00150CCC 2C 05 00 00 */ cmpwi r5, 0
/* 80153D70 00150CD0 38 77 00 48 */ addi r3, r23, 0x48
/* 80153D74 00150CD4 38 80 00 04 */ li r4, 4
/* 80153D78 00150CD8 41 82 00 08 */ beq lbl_80153D80
/* 80153D7C 00150CDC 54 A4 08 3C */ slwi r4, r5, 1
lbl_80153D80:
/* 80153D80 00150CE0 48 00 08 FD */ bl "reserve__Q24rstl75vector<Q24rstl31pair<9TUniqueId,12CTransform4f>,Q24rstl17rmemory_allocator>Fi"
lbl_80153D84:
/* 80153D84 00150CE4 80 17 00 4C */ lwz r0, 0x4c(r23)
/* 80153D88 00150CE8 80 77 00 54 */ lwz r3, 0x54(r23)
/* 80153D8C 00150CEC 1C 00 00 34 */ mulli r0, r0, 0x34
/* 80153D90 00150CF0 7C A3 02 15 */ add. r5, r3, r0
/* 80153D94 00150CF4 41 82 00 18 */ beq lbl_80153DAC
/* 80153D98 00150CF8 A0 01 00 88 */ lhz r0, 0x88(r1)
/* 80153D9C 00150CFC 7F 44 D3 78 */ mr r4, r26
/* 80153DA0 00150D00 38 65 00 04 */ addi r3, r5, 4
/* 80153DA4 00150D04 B0 05 00 00 */ sth r0, 0(r5)
/* 80153DA8 00150D08 48 1B ED CD */ bl __ct__12CTransform4fFRC12CTransform4f
lbl_80153DAC:
/* 80153DAC 00150D0C 80 77 00 4C */ lwz r3, 0x4c(r23)
/* 80153DB0 00150D10 38 03 00 01 */ addi r0, r3, 1
/* 80153DB4 00150D14 90 17 00 4C */ stw r0, 0x4c(r23)
lbl_80153DB8:
/* 80153DB8 00150D18 7F A3 EB 78 */ mr r3, r29
/* 80153DBC 00150D1C 7F C4 F3 78 */ mr r4, r30
/* 80153DC0 00150D20 48 1E 88 21 */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 80153DC4 00150D24 7C 7E 1B 78 */ mr r30, r3
lbl_80153DC8:
/* 80153DC8 00150D28 7C 1E E0 40 */ cmplw r30, r28
/* 80153DCC 00150D2C 38 00 00 00 */ li r0, 0
/* 80153DD0 00150D30 40 82 00 0C */ bne lbl_80153DDC
/* 80153DD4 00150D34 7C 1D D8 40 */ cmplw r29, r27
/* 80153DD8 00150D38 41 82 00 08 */ beq lbl_80153DE0
lbl_80153DDC:
/* 80153DDC 00150D3C 38 00 00 01 */ li r0, 1
lbl_80153DE0:
/* 80153DE0 00150D40 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80153DE4 00150D44 40 82 FF 2C */ bne lbl_80153D10
lbl_80153DE8:
/* 80153DE8 00150D48 3B FF 00 0C */ addi r31, r31, 0xc
lbl_80153DEC:
/* 80153DEC 00150D4C 80 17 00 24 */ lwz r0, 0x24(r23)
/* 80153DF0 00150D50 80 77 00 2C */ lwz r3, 0x2c(r23)
/* 80153DF4 00150D54 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80153DF8 00150D58 7C 03 02 14 */ add r0, r3, r0
/* 80153DFC 00150D5C 7C 1F 00 40 */ cmplw r31, r0
/* 80153E00 00150D60 40 82 FE 4C */ bne lbl_80153C4C
/* 80153E04 00150D64 7E E3 BB 78 */ mr r3, r23
/* 80153E08 00150D68 7F 25 CB 78 */ mr r5, r25
/* 80153E0C 00150D6C 38 80 00 12 */ li r4, 0x12
/* 80153E10 00150D70 38 C0 FF FF */ li r6, -1
/* 80153E14 00150D74 4B EF D2 AD */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
/* 80153E18 00150D78 80 17 00 4C */ lwz r0, 0x4c(r23)
/* 80153E1C 00150D7C 2C 00 00 00 */ cmpwi r0, 0
/* 80153E20 00150D80 41 82 00 30 */ beq lbl_80153E50
/* 80153E24 00150D84 88 77 00 58 */ lbz r3, 0x58(r23)
/* 80153E28 00150D88 38 80 00 01 */ li r4, 1
/* 80153E2C 00150D8C 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18
/* 80153E30 00150D90 57 00 06 3F */ clrlwi. r0, r24, 0x18
/* 80153E34 00150D94 98 77 00 58 */ stb r3, 0x58(r23)
/* 80153E38 00150D98 41 82 00 10 */ beq lbl_80153E48
/* 80153E3C 00150D9C C0 17 00 40 */ lfs f0, 0x40(r23)
/* 80153E40 00150DA0 D0 17 00 44 */ stfs f0, 0x44(r23)
/* 80153E44 00150DA4 48 00 00 0C */ b lbl_80153E50
lbl_80153E48:
/* 80153E48 00150DA8 C0 02 9D F8 */ lfs f0, lbl_805ABB18@sda21(r2)
/* 80153E4C 00150DAC D0 17 00 44 */ stfs f0, 0x44(r23)
lbl_80153E50:
/* 80153E50 00150DB0 BA C1 00 C8 */ lmw r22, 0xc8(r1)
/* 80153E54 00150DB4 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 80153E58 00150DB8 7C 08 03 A6 */ mtlr r0
/* 80153E5C 00150DBC 38 21 00 F0 */ addi r1, r1, 0xf0
/* 80153E60 00150DC0 4E 80 00 20 */ blr
.global Think__18CScriptActorRotateFfR13CStateManager
Think__18CScriptActorRotateFfR13CStateManager:
/* 80153E64 00150DC4 94 21 FE 30 */ stwu r1, -0x1d0(r1)
/* 80153E68 00150DC8 7C 08 02 A6 */ mflr r0
/* 80153E6C 00150DCC 90 01 01 D4 */ stw r0, 0x1d4(r1)
/* 80153E70 00150DD0 DB E1 01 C0 */ stfd f31, 0x1c0(r1)
/* 80153E74 00150DD4 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0
/* 80153E78 00150DD8 93 E1 01 BC */ stw r31, 0x1bc(r1)
/* 80153E7C 00150DDC 93 C1 01 B8 */ stw r30, 0x1b8(r1)
/* 80153E80 00150DE0 93 A1 01 B4 */ stw r29, 0x1b4(r1)
/* 80153E84 00150DE4 93 81 01 B0 */ stw r28, 0x1b0(r1)
/* 80153E88 00150DE8 88 03 00 58 */ lbz r0, 0x58(r3)
/* 80153E8C 00150DEC 7C 7E 1B 78 */ mr r30, r3
/* 80153E90 00150DF0 7C 9F 23 78 */ mr r31, r4
/* 80153E94 00150DF4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80153E98 00150DF8 41 82 02 24 */ beq lbl_801540BC
/* 80153E9C 00150DFC 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 80153EA0 00150E00 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80153EA4 00150E04 40 82 00 08 */ bne lbl_80153EAC
/* 80153EA8 00150E08 48 00 02 14 */ b lbl_801540BC
lbl_80153EAC:
/* 80153EAC 00150E0C C0 1E 00 44 */ lfs f0, 0x44(r30)
/* 80153EB0 00150E10 EC 00 08 2A */ fadds f0, f0, f1
/* 80153EB4 00150E14 D0 1E 00 44 */ stfs f0, 0x44(r30)
/* 80153EB8 00150E18 C0 3E 00 44 */ lfs f1, 0x44(r30)
/* 80153EBC 00150E1C C0 1E 00 40 */ lfs f0, 0x40(r30)
/* 80153EC0 00150E20 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80153EC4 00150E24 4C 41 13 82 */ cror 2, 1, 2
/* 80153EC8 00150E28 40 82 00 1C */ bne lbl_80153EE4
/* 80153ECC 00150E2C 88 1E 00 58 */ lbz r0, 0x58(r30)
/* 80153ED0 00150E30 38 60 00 00 */ li r3, 0
/* 80153ED4 00150E34 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80153ED8 00150E38 98 1E 00 58 */ stb r0, 0x58(r30)
/* 80153EDC 00150E3C C0 1E 00 40 */ lfs f0, 0x40(r30)
/* 80153EE0 00150E40 D0 1E 00 44 */ stfs f0, 0x44(r30)
lbl_80153EE4:
/* 80153EE4 00150E44 C0 3E 00 44 */ lfs f1, 0x44(r30)
/* 80153EE8 00150E48 C0 1E 00 40 */ lfs f0, 0x40(r30)
/* 80153EEC 00150E4C 83 BE 00 54 */ lwz r29, 0x54(r30)
/* 80153EF0 00150E50 EF E1 00 24 */ fdivs f31, f1, f0
/* 80153EF4 00150E54 48 00 01 74 */ b lbl_80154068
lbl_80153EF8:
/* 80153EF8 00150E58 A0 1D 00 00 */ lhz r0, 0(r29)
/* 80153EFC 00150E5C 7F E3 FB 78 */ mr r3, r31
/* 80153F00 00150E60 38 81 00 0C */ addi r4, r1, 0xc
/* 80153F04 00150E64 B0 01 00 0C */ sth r0, 0xc(r1)
/* 80153F08 00150E68 4B EF 86 6D */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80153F0C 00150E6C 7C 64 1B 78 */ mr r4, r3
/* 80153F10 00150E70 38 61 00 24 */ addi r3, r1, 0x24
/* 80153F14 00150E74 4B F5 BD 7D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 80153F18 00150E78 83 83 00 04 */ lwz r28, 4(r3)
/* 80153F1C 00150E7C 28 1C 00 00 */ cmplwi r28, 0
/* 80153F20 00150E80 41 82 01 44 */ beq lbl_80154064
/* 80153F24 00150E84 C0 1E 00 3C */ lfs f0, 0x3c(r30)
/* 80153F28 00150E88 38 61 00 5C */ addi r3, r1, 0x5c
/* 80153F2C 00150E8C C0 22 9D FC */ lfs f1, lbl_805ABB1C@sda21(r2)
/* 80153F30 00150E90 38 81 00 10 */ addi r4, r1, 0x10
/* 80153F34 00150E94 EC 1F 00 32 */ fmuls f0, f31, f0
/* 80153F38 00150E98 EC 01 00 32 */ fmuls f0, f1, f0
/* 80153F3C 00150E9C D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80153F40 00150EA0 C0 1E 00 38 */ lfs f0, 0x38(r30)
/* 80153F44 00150EA4 EC 1F 00 32 */ fmuls f0, f31, f0
/* 80153F48 00150EA8 EC 01 00 32 */ fmuls f0, f1, f0
/* 80153F4C 00150EAC D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80153F50 00150EB0 C0 1E 00 34 */ lfs f0, 0x34(r30)
/* 80153F54 00150EB4 EC 1F 00 32 */ fmuls f0, f31, f0
/* 80153F58 00150EB8 EC 01 00 32 */ fmuls f0, f1, f0
/* 80153F5C 00150EBC D0 01 00 18 */ stfs f0, 0x18(r1)
/* 80153F60 00150EC0 48 1B F8 B1 */ bl RotateZ__12CTransform4fFRC9CRelAngle
/* 80153F64 00150EC4 38 61 00 8C */ addi r3, r1, 0x8c
/* 80153F68 00150EC8 38 81 00 14 */ addi r4, r1, 0x14
/* 80153F6C 00150ECC 48 1B F9 3D */ bl RotateY__12CTransform4fFRC9CRelAngle
/* 80153F70 00150ED0 38 61 00 BC */ addi r3, r1, 0xbc
/* 80153F74 00150ED4 38 81 00 18 */ addi r4, r1, 0x18
/* 80153F78 00150ED8 48 1B F9 C9 */ bl RotateX__12CTransform4fFRC9CRelAngle
/* 80153F7C 00150EDC 38 61 00 EC */ addi r3, r1, 0xec
/* 80153F80 00150EE0 38 81 00 BC */ addi r4, r1, 0xbc
/* 80153F84 00150EE4 38 A1 00 8C */ addi r5, r1, 0x8c
/* 80153F88 00150EE8 48 1B E9 C9 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80153F8C 00150EEC 38 61 01 1C */ addi r3, r1, 0x11c
/* 80153F90 00150EF0 38 81 00 EC */ addi r4, r1, 0xec
/* 80153F94 00150EF4 38 A1 00 5C */ addi r5, r1, 0x5c
/* 80153F98 00150EF8 48 1B E9 B9 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80153F9C 00150EFC 38 61 01 7C */ addi r3, r1, 0x17c
/* 80153FA0 00150F00 38 81 01 1C */ addi r4, r1, 0x11c
/* 80153FA4 00150F04 48 1B EB D1 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80153FA8 00150F08 38 61 00 2C */ addi r3, r1, 0x2c
/* 80153FAC 00150F0C 38 9D 00 04 */ addi r4, r29, 4
/* 80153FB0 00150F10 38 A1 01 7C */ addi r5, r1, 0x17c
/* 80153FB4 00150F14 48 1B E9 9D */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80153FB8 00150F18 38 61 01 4C */ addi r3, r1, 0x14c
/* 80153FBC 00150F1C 38 81 00 2C */ addi r4, r1, 0x2c
/* 80153FC0 00150F20 48 1B EB B5 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80153FC4 00150F24 C0 5C 00 60 */ lfs f2, 0x60(r28)
/* 80153FC8 00150F28 38 7C 00 34 */ addi r3, r28, 0x34
/* 80153FCC 00150F2C C0 01 01 78 */ lfs f0, 0x178(r1)
/* 80153FD0 00150F30 38 81 01 4C */ addi r4, r1, 0x14c
/* 80153FD4 00150F34 C0 9C 00 50 */ lfs f4, 0x50(r28)
/* 80153FD8 00150F38 C0 21 01 68 */ lfs f1, 0x168(r1)
/* 80153FDC 00150F3C EC 00 10 2A */ fadds f0, f0, f2
/* 80153FE0 00150F40 C0 5C 00 40 */ lfs f2, 0x40(r28)
/* 80153FE4 00150F44 C0 61 01 58 */ lfs f3, 0x158(r1)
/* 80153FE8 00150F48 EC 21 20 2A */ fadds f1, f1, f4
/* 80153FEC 00150F4C D0 01 01 78 */ stfs f0, 0x178(r1)
/* 80153FF0 00150F50 EC 03 10 2A */ fadds f0, f3, f2
/* 80153FF4 00150F54 D0 21 01 68 */ stfs f1, 0x168(r1)
/* 80153FF8 00150F58 D0 01 01 58 */ stfs f0, 0x158(r1)
/* 80153FFC 00150F5C 48 1B EB 45 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80154000 00150F60 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 80154004 00150F64 38 A0 00 01 */ li r5, 1
/* 80154008 00150F68 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b
/* 8015400C 00150F6C 7F E3 FB 78 */ mr r3, r31
/* 80154010 00150F70 98 1C 00 E4 */ stb r0, 0xe4(r28)
/* 80154014 00150F74 38 81 00 08 */ addi r4, r1, 8
/* 80154018 00150F78 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 8015401C 00150F7C 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c
/* 80154020 00150F80 98 1C 00 E4 */ stb r0, 0xe4(r28)
/* 80154024 00150F84 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 80154028 00150F88 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d
/* 8015402C 00150F8C 98 1C 00 E4 */ stb r0, 0xe4(r28)
/* 80154030 00150F90 A0 1D 00 00 */ lhz r0, 0(r29)
/* 80154034 00150F94 B0 01 00 08 */ sth r0, 8(r1)
/* 80154038 00150F98 4B EF 85 3D */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8015403C 00150F9C 7C 64 1B 78 */ mr r4, r3
/* 80154040 00150FA0 38 61 00 1C */ addi r3, r1, 0x1c
/* 80154044 00150FA4 4B F5 4D D1 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity"
/* 80154048 00150FA8 80 83 00 04 */ lwz r4, 4(r3)
/* 8015404C 00150FAC 28 04 00 00 */ cmplwi r4, 0
/* 80154050 00150FB0 41 82 00 14 */ beq lbl_80154064
/* 80154054 00150FB4 7F C3 F3 78 */ mr r3, r30
/* 80154058 00150FB8 7F E6 FB 78 */ mr r6, r31
/* 8015405C 00150FBC 38 A1 01 7C */ addi r5, r1, 0x17c
/* 80154060 00150FC0 48 00 01 D1 */ bl sub_80154230
lbl_80154064:
/* 80154064 00150FC4 3B BD 00 34 */ addi r29, r29, 0x34
lbl_80154068:
/* 80154068 00150FC8 80 1E 00 4C */ lwz r0, 0x4c(r30)
/* 8015406C 00150FCC 80 7E 00 54 */ lwz r3, 0x54(r30)
/* 80154070 00150FD0 1C 00 00 34 */ mulli r0, r0, 0x34
/* 80154074 00150FD4 7C 03 02 14 */ add r0, r3, r0
/* 80154078 00150FD8 7C 1D 00 40 */ cmplw r29, r0
/* 8015407C 00150FDC 40 82 FE 7C */ bne lbl_80153EF8
/* 80154080 00150FE0 88 7E 00 58 */ lbz r3, 0x58(r30)
/* 80154084 00150FE4 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f
/* 80154088 00150FE8 40 82 00 34 */ bne lbl_801540BC
/* 8015408C 00150FEC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f
/* 80154090 00150FF0 41 82 00 10 */ beq lbl_801540A0
/* 80154094 00150FF4 7F C3 F3 78 */ mr r3, r30
/* 80154098 00150FF8 7F E4 FB 78 */ mr r4, r31
/* 8015409C 00150FFC 48 00 00 49 */ bl RebuildSpiderBallWaypoints__18CScriptActorRotateFR13CStateManager
lbl_801540A0:
/* 801540A0 00151000 88 1E 00 58 */ lbz r0, 0x58(r30)
/* 801540A4 00151004 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 801540A8 00151008 41 82 00 14 */ beq lbl_801540BC
/* 801540AC 0015100C 7F C3 F3 78 */ mr r3, r30
/* 801540B0 00151010 7F E5 FB 78 */ mr r5, r31
/* 801540B4 00151014 38 80 00 00 */ li r4, 0
/* 801540B8 00151018 4B FF FB 29 */ bl UpdateActors__18CScriptActorRotateFbR13CStateManager
lbl_801540BC:
/* 801540BC 0015101C E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0
/* 801540C0 00151020 80 01 01 D4 */ lwz r0, 0x1d4(r1)
/* 801540C4 00151024 CB E1 01 C0 */ lfd f31, 0x1c0(r1)
/* 801540C8 00151028 83 E1 01 BC */ lwz r31, 0x1bc(r1)
/* 801540CC 0015102C 83 C1 01 B8 */ lwz r30, 0x1b8(r1)
/* 801540D0 00151030 83 A1 01 B4 */ lwz r29, 0x1b4(r1)
/* 801540D4 00151034 83 81 01 B0 */ lwz r28, 0x1b0(r1)
/* 801540D8 00151038 7C 08 03 A6 */ mtlr r0
/* 801540DC 0015103C 38 21 01 D0 */ addi r1, r1, 0x1d0
/* 801540E0 00151040 4E 80 00 20 */ blr
.global RebuildSpiderBallWaypoints__18CScriptActorRotateFR13CStateManager
RebuildSpiderBallWaypoints__18CScriptActorRotateFR13CStateManager:
/* 801540E4 00151044 94 21 F7 D0 */ stwu r1, -0x830(r1)
/* 801540E8 00151048 7C 08 02 A6 */ mflr r0
/* 801540EC 0015104C 90 01 08 34 */ stw r0, 0x834(r1)
/* 801540F0 00151050 38 00 00 00 */ li r0, 0
/* 801540F4 00151054 BF 41 08 18 */ stmw r26, 0x818(r1)
/* 801540F8 00151058 7C 9E 23 78 */ mr r30, r4
/* 801540FC 0015105C 7C 7D 1B 78 */ mr r29, r3
/* 80154100 00151060 3B E1 00 18 */ addi r31, r1, 0x18
/* 80154104 00151064 3B 80 00 00 */ li r28, 0
/* 80154108 00151068 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015410C 0015106C 83 64 08 10 */ lwz r27, 0x810(r4)
lbl_80154110:
/* 80154110 00151070 7F 63 DB 78 */ mr r3, r27
/* 80154114 00151074 7F 84 E3 78 */ mr r4, r28
/* 80154118 00151078 4B EB BB FD */ bl __vc__11CObjectListFi
/* 8015411C 0015107C 7C 64 1B 78 */ mr r4, r3
/* 80154120 00151080 38 61 00 0C */ addi r3, r1, 0xc
/* 80154124 00151084 4B F5 3A 79 */ bl "__ct__39TCastToPtr<25CScriptSpiderBallWaypoint>FP7CEntity"
/* 80154128 00151088 80 63 00 04 */ lwz r3, 4(r3)
/* 8015412C 0015108C 28 03 00 00 */ cmplwi r3, 0
/* 80154130 00151090 41 82 00 2C */ beq lbl_8015415C
/* 80154134 00151094 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80154138 00151098 A0 A3 00 08 */ lhz r5, 8(r3)
/* 8015413C 0015109C 54 00 08 3C */ slwi r0, r0, 1
/* 80154140 001510A0 7C 9F 02 15 */ add. r4, r31, r0
/* 80154144 001510A4 41 82 00 08 */ beq lbl_8015414C
/* 80154148 001510A8 B0 A4 00 00 */ sth r5, 0(r4)
lbl_8015414C:
/* 8015414C 001510AC 80 81 00 14 */ lwz r4, 0x14(r1)
/* 80154150 001510B0 38 04 00 01 */ addi r0, r4, 1
/* 80154154 001510B4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80154158 001510B8 4B FC 47 E1 */ bl ClearWaypoints__25CScriptSpiderBallWaypointFv
lbl_8015415C:
/* 8015415C 001510BC 3B 9C 00 01 */ addi r28, r28, 1
/* 80154160 001510C0 2C 1C 04 00 */ cmpwi r28, 0x400
/* 80154164 001510C4 40 82 FF AC */ bne lbl_80154110
/* 80154168 001510C8 7F FA FB 78 */ mr r26, r31
/* 8015416C 001510CC 3B 80 00 01 */ li r28, 1
/* 80154170 001510D0 48 00 00 38 */ b lbl_801541A8
lbl_80154174:
/* 80154174 001510D4 A0 1A 00 00 */ lhz r0, 0(r26)
/* 80154178 001510D8 7F C3 F3 78 */ mr r3, r30
/* 8015417C 001510DC 38 81 00 08 */ addi r4, r1, 8
/* 80154180 001510E0 B0 01 00 08 */ sth r0, 8(r1)
/* 80154184 001510E4 4B EF 83 F1 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80154188 001510E8 7C 7B 1B 79 */ or. r27, r3, r3
/* 8015418C 001510EC 41 82 00 18 */ beq lbl_801541A4
/* 80154190 001510F0 7F C4 F3 78 */ mr r4, r30
/* 80154194 001510F4 4B FC 46 21 */ bl BuildWaypointListAndBounds__25CScriptSpiderBallWaypointFR13CStateManager
/* 80154198 001510F8 88 1B 00 E4 */ lbz r0, 0xe4(r27)
/* 8015419C 001510FC 53 80 26 F6 */ rlwimi r0, r28, 4, 0x1b, 0x1b
/* 801541A0 00151100 98 1B 00 E4 */ stb r0, 0xe4(r27)
lbl_801541A4:
/* 801541A4 00151104 3B 5A 00 02 */ addi r26, r26, 2
lbl_801541A8:
/* 801541A8 00151108 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801541AC 0015110C 54 00 08 3C */ slwi r0, r0, 1
/* 801541B0 00151110 7C 1F 02 14 */ add r0, r31, r0
/* 801541B4 00151114 7C 1A 00 40 */ cmplw r26, r0
/* 801541B8 00151118 40 82 FF BC */ bne lbl_80154174
/* 801541BC 0015111C 38 60 00 00 */ li r3, 0
/* 801541C0 00151120 88 1D 00 58 */ lbz r0, 0x58(r29)
/* 801541C4 00151124 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 801541C8 00151128 98 1D 00 58 */ stb r0, 0x58(r29)
/* 801541CC 0015112C 80 A1 00 14 */ lwz r5, 0x14(r1)
/* 801541D0 00151130 2C 05 00 00 */ cmpwi r5, 0
/* 801541D4 00151134 40 81 00 40 */ ble lbl_80154214
/* 801541D8 00151138 2C 05 00 08 */ cmpwi r5, 8
/* 801541DC 0015113C 38 85 FF F8 */ addi r4, r5, -8
/* 801541E0 00151140 40 81 00 20 */ ble lbl_80154200
/* 801541E4 00151144 38 04 00 07 */ addi r0, r4, 7
/* 801541E8 00151148 54 00 E8 FE */ srwi r0, r0, 3
/* 801541EC 0015114C 7C 09 03 A6 */ mtctr r0
/* 801541F0 00151150 2C 04 00 00 */ cmpwi r4, 0
/* 801541F4 00151154 40 81 00 0C */ ble lbl_80154200
lbl_801541F8:
/* 801541F8 00151158 38 63 00 08 */ addi r3, r3, 8
/* 801541FC 0015115C 42 00 FF FC */ bdnz lbl_801541F8
lbl_80154200:
/* 80154200 00151160 7C 03 28 50 */ subf r0, r3, r5
/* 80154204 00151164 7C 09 03 A6 */ mtctr r0
/* 80154208 00151168 7C 03 28 00 */ cmpw r3, r5
/* 8015420C 0015116C 40 80 00 08 */ bge lbl_80154214
lbl_80154210:
/* 80154210 00151170 42 00 00 00 */ bdnz lbl_80154210
lbl_80154214:
/* 80154214 00151174 38 00 00 00 */ li r0, 0
/* 80154218 00151178 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015421C 0015117C BB 41 08 18 */ lmw r26, 0x818(r1)
/* 80154220 00151180 80 01 08 34 */ lwz r0, 0x834(r1)
/* 80154224 00151184 7C 08 03 A6 */ mtlr r0
/* 80154228 00151188 38 21 08 30 */ addi r1, r1, 0x830
/* 8015422C 0015118C 4E 80 00 20 */ blr
.global sub_80154230
sub_80154230:
/* 80154230 00151190 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80154234 00151194 7C 08 02 A6 */ mflr r0
/* 80154238 00151198 90 01 00 24 */ stw r0, 0x24(r1)
/* 8015423C 0015119C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80154240 001511A0 7C DF 33 78 */ mr r31, r6
/* 80154244 001511A4 7F E7 FB 78 */ mr r7, r31
/* 80154248 001511A8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8015424C 001511AC 7C BE 2B 78 */ mr r30, r5
/* 80154250 001511B0 7F C6 F3 78 */ mr r6, r30
/* 80154254 001511B4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80154258 001511B8 7C 9D 23 78 */ mr r29, r4
/* 8015425C 001511BC 7F A5 EB 78 */ mr r5, r29
/* 80154260 001511C0 93 81 00 10 */ stw r28, 0x10(r1)
/* 80154264 001511C4 7C 7C 1B 78 */ mr r28, r3
/* 80154268 001511C8 38 9D 03 28 */ addi r4, r29, 0x328
/* 8015426C 001511CC 48 00 00 3D */ bl sub_801542a8
/* 80154270 001511D0 7F 83 E3 78 */ mr r3, r28
/* 80154274 001511D4 7F A5 EB 78 */ mr r5, r29
/* 80154278 001511D8 7F C6 F3 78 */ mr r6, r30
/* 8015427C 001511DC 7F E7 FB 78 */ mr r7, r31
/* 80154280 001511E0 38 9D 03 38 */ addi r4, r29, 0x338
/* 80154284 001511E4 48 00 00 25 */ bl sub_801542a8
/* 80154288 001511E8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8015428C 001511EC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80154290 001511F0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80154294 001511F4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80154298 001511F8 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8015429C 001511FC 7C 08 03 A6 */ mtlr r0
/* 801542A0 00151200 38 21 00 20 */ addi r1, r1, 0x20
/* 801542A4 00151204 4E 80 00 20 */ blr
.global sub_801542a8
sub_801542a8:
/* 801542A8 00151208 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 801542AC 0015120C 7C 08 02 A6 */ mflr r0
/* 801542B0 00151210 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 801542B4 00151214 BF 01 00 A0 */ stmw r24, 0xa0(r1)
/* 801542B8 00151218 7C 99 23 78 */ mr r25, r4
/* 801542BC 0015121C 7C 78 1B 78 */ mr r24, r3
/* 801542C0 00151220 7C BA 2B 78 */ mr r26, r5
/* 801542C4 00151224 7C DB 33 78 */ mr r27, r6
/* 801542C8 00151228 7C FC 3B 78 */ mr r28, r7
/* 801542CC 0015122C 83 E4 00 0C */ lwz r31, 0xc(r4)
/* 801542D0 00151230 48 00 01 B0 */ b lbl_80154480
lbl_801542D4:
/* 801542D4 00151234 A0 1F 00 00 */ lhz r0, 0(r31)
/* 801542D8 00151238 7F 83 E3 78 */ mr r3, r28
/* 801542DC 0015123C 38 81 00 0C */ addi r4, r1, 0xc
/* 801542E0 00151240 B0 01 00 0C */ sth r0, 0xc(r1)
/* 801542E4 00151244 4B EF 82 91 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 801542E8 00151248 7C 64 1B 78 */ mr r4, r3
/* 801542EC 0015124C 38 61 00 20 */ addi r3, r1, 0x20
/* 801542F0 00151250 4B F5 B9 A1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 801542F4 00151254 83 A3 00 04 */ lwz r29, 4(r3)
/* 801542F8 00151258 28 1D 00 00 */ cmplwi r29, 0
/* 801542FC 0015125C 41 82 01 80 */ beq lbl_8015447C
/* 80154300 00151260 3B DF 00 08 */ addi r30, r31, 8
/* 80154304 00151264 38 7D 00 34 */ addi r3, r29, 0x34
/* 80154308 00151268 7F C4 F3 78 */ mr r4, r30
/* 8015430C 0015126C 48 1B E8 35 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80154310 00151270 88 1D 00 E4 */ lbz r0, 0xe4(r29)
/* 80154314 00151274 38 C0 00 01 */ li r6, 1
/* 80154318 00151278 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b
/* 8015431C 0015127C 7F 64 DB 78 */ mr r4, r27
/* 80154320 00151280 98 1D 00 E4 */ stb r0, 0xe4(r29)
/* 80154324 00151284 38 61 00 40 */ addi r3, r1, 0x40
/* 80154328 00151288 38 BD 00 34 */ addi r5, r29, 0x34
/* 8015432C 0015128C 88 1D 00 E4 */ lbz r0, 0xe4(r29)
/* 80154330 00151290 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c
/* 80154334 00151294 98 1D 00 E4 */ stb r0, 0xe4(r29)
/* 80154338 00151298 88 1D 00 E4 */ lbz r0, 0xe4(r29)
/* 8015433C 0015129C 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d
/* 80154340 001512A0 98 1D 00 E4 */ stb r0, 0xe4(r29)
/* 80154344 001512A4 48 1B E6 0D */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80154348 001512A8 38 7D 00 34 */ addi r3, r29, 0x34
/* 8015434C 001512AC 38 81 00 40 */ addi r4, r1, 0x40
/* 80154350 001512B0 48 1B E7 F1 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80154354 001512B4 88 1D 00 E4 */ lbz r0, 0xe4(r29)
/* 80154358 001512B8 38 A0 00 01 */ li r5, 1
/* 8015435C 001512BC 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b
/* 80154360 001512C0 7F A3 EB 78 */ mr r3, r29
/* 80154364 001512C4 98 1D 00 E4 */ stb r0, 0xe4(r29)
/* 80154368 001512C8 38 81 00 34 */ addi r4, r1, 0x34
/* 8015436C 001512CC 88 1D 00 E4 */ lbz r0, 0xe4(r29)
/* 80154370 001512D0 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c
/* 80154374 001512D4 98 1D 00 E4 */ stb r0, 0xe4(r29)
/* 80154378 001512D8 88 1D 00 E4 */ lbz r0, 0xe4(r29)
/* 8015437C 001512DC 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d
/* 80154380 001512E0 98 1D 00 E4 */ stb r0, 0xe4(r29)
/* 80154384 001512E4 C0 BA 00 60 */ lfs f5, 0x60(r26)
/* 80154388 001512E8 C0 1D 00 60 */ lfs f0, 0x60(r29)
/* 8015438C 001512EC C0 9A 00 50 */ lfs f4, 0x50(r26)
/* 80154390 001512F0 C0 5D 00 50 */ lfs f2, 0x50(r29)
/* 80154394 001512F4 EC 25 00 2A */ fadds f1, f5, f0
/* 80154398 001512F8 C0 1A 00 40 */ lfs f0, 0x40(r26)
/* 8015439C 001512FC C0 7D 00 40 */ lfs f3, 0x40(r29)
/* 801543A0 00151300 EC 44 10 2A */ fadds f2, f4, f2
/* 801543A4 00151304 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 801543A8 00151308 EC 00 18 2A */ fadds f0, f0, f3
/* 801543AC 0015130C D0 81 00 2C */ stfs f4, 0x2c(r1)
/* 801543B0 00151310 D0 A1 00 30 */ stfs f5, 0x30(r1)
/* 801543B4 00151314 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 801543B8 00151318 D0 41 00 38 */ stfs f2, 0x38(r1)
/* 801543BC 0015131C D0 21 00 3C */ stfs f1, 0x3c(r1)
/* 801543C0 00151320 4B EF EA CD */ bl SetTranslation__6CActorFRC9CVector3f
/* 801543C4 00151324 88 18 00 58 */ lbz r0, 0x58(r24)
/* 801543C8 00151328 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 801543CC 0015132C 40 82 00 74 */ bne lbl_80154440
/* 801543D0 00151330 38 61 00 70 */ addi r3, r1, 0x70
/* 801543D4 00151334 38 9D 00 34 */ addi r4, r29, 0x34
/* 801543D8 00151338 48 1B E7 9D */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801543DC 0015133C C0 3D 00 50 */ lfs f1, 0x50(r29)
/* 801543E0 00151340 7F C3 F3 78 */ mr r3, r30
/* 801543E4 00151344 C0 1A 00 50 */ lfs f0, 0x50(r26)
/* 801543E8 00151348 38 81 00 70 */ addi r4, r1, 0x70
/* 801543EC 0015134C C0 7D 00 60 */ lfs f3, 0x60(r29)
/* 801543F0 00151350 C0 5A 00 60 */ lfs f2, 0x60(r26)
/* 801543F4 00151354 EC 81 00 28 */ fsubs f4, f1, f0
/* 801543F8 00151358 C0 3D 00 40 */ lfs f1, 0x40(r29)
/* 801543FC 0015135C C0 1A 00 40 */ lfs f0, 0x40(r26)
/* 80154400 00151360 EC 43 10 28 */ fsubs f2, f3, f2
/* 80154404 00151364 EC 01 00 28 */ fsubs f0, f1, f0
/* 80154408 00151368 D0 81 00 8C */ stfs f4, 0x8c(r1)
/* 8015440C 0015136C D0 41 00 9C */ stfs f2, 0x9c(r1)
/* 80154410 00151370 D0 01 00 7C */ stfs f0, 0x7c(r1)
/* 80154414 00151374 48 1B E7 2D */ bl __as__12CTransform4fFRC12CTransform4f
/* 80154418 00151378 7F A4 EB 78 */ mr r4, r29
/* 8015441C 0015137C 38 61 00 10 */ addi r3, r1, 0x10
/* 80154420 00151380 4B F5 37 7D */ bl "__ct__39TCastToPtr<25CScriptSpiderBallWaypoint>FP7CEntity"
/* 80154424 00151384 80 03 00 04 */ lwz r0, 4(r3)
/* 80154428 00151388 28 00 00 00 */ cmplwi r0, 0
/* 8015442C 0015138C 41 82 00 14 */ beq lbl_80154440
/* 80154430 00151390 88 18 00 58 */ lbz r0, 0x58(r24)
/* 80154434 00151394 38 60 00 01 */ li r3, 1
/* 80154438 00151398 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8015443C 0015139C 98 18 00 58 */ stb r0, 0x58(r24)
lbl_80154440:
/* 80154440 001513A0 A0 1F 00 00 */ lhz r0, 0(r31)
/* 80154444 001513A4 7F 83 E3 78 */ mr r3, r28
/* 80154448 001513A8 38 81 00 08 */ addi r4, r1, 8
/* 8015444C 001513AC B0 01 00 08 */ sth r0, 8(r1)
/* 80154450 001513B0 4B EF 81 25 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80154454 001513B4 7C 64 1B 78 */ mr r4, r3
/* 80154458 001513B8 38 61 00 18 */ addi r3, r1, 0x18
/* 8015445C 001513BC 4B F5 49 B9 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity"
/* 80154460 001513C0 80 83 00 04 */ lwz r4, 4(r3)
/* 80154464 001513C4 28 04 00 00 */ cmplwi r4, 0
/* 80154468 001513C8 41 82 00 14 */ beq lbl_8015447C
/* 8015446C 001513CC 7F 03 C3 78 */ mr r3, r24
/* 80154470 001513D0 7F 65 DB 78 */ mr r5, r27
/* 80154474 001513D4 7F 86 E3 78 */ mr r6, r28
/* 80154478 001513D8 4B FF FD B9 */ bl sub_80154230
lbl_8015447C:
/* 8015447C 001513DC 3B FF 00 38 */ addi r31, r31, 0x38
lbl_80154480:
/* 80154480 001513E0 80 19 00 04 */ lwz r0, 4(r25)
/* 80154484 001513E4 80 79 00 0C */ lwz r3, 0xc(r25)
/* 80154488 001513E8 1C 00 00 38 */ mulli r0, r0, 0x38
/* 8015448C 001513EC 7C 03 02 14 */ add r0, r3, r0
/* 80154490 001513F0 7C 1F 00 40 */ cmplw r31, r0
/* 80154494 001513F4 40 82 FE 40 */ bne lbl_801542D4
/* 80154498 001513F8 BB 01 00 A0 */ lmw r24, 0xa0(r1)
/* 8015449C 001513FC 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 801544A0 00151400 7C 08 03 A6 */ mtlr r0
/* 801544A4 00151404 38 21 00 C0 */ addi r1, r1, 0xc0
/* 801544A8 00151408 4E 80 00 20 */ blr
.global "__ct__18CScriptActorRotateF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3ffbbb"
"__ct__18CScriptActorRotateF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3ffbbb":
/* 801544AC 0015140C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801544B0 00151410 7C 08 02 A6 */ mflr r0
/* 801544B4 00151414 90 01 00 34 */ stw r0, 0x34(r1)
/* 801544B8 00151418 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 801544BC 0015141C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 801544C0 00151420 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801544C4 00151424 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801544C8 00151428 93 A1 00 14 */ stw r29, 0x14(r1)
/* 801544CC 0015142C 93 81 00 10 */ stw r28, 0x10(r1)
/* 801544D0 00151430 A0 04 00 00 */ lhz r0, 0(r4)
/* 801544D4 00151434 7C A4 2B 78 */ mr r4, r5
/* 801544D8 00151438 FF E0 08 90 */ fmr f31, f1
/* 801544DC 0015143C 7C FD 3B 78 */ mr r29, r7
/* 801544E0 00151440 B0 01 00 08 */ sth r0, 8(r1)
/* 801544E4 00151444 7C C5 33 78 */ mr r5, r6
/* 801544E8 00151448 7C 87 23 78 */ mr r7, r4
/* 801544EC 0015144C 7C 7C 1B 78 */ mr r28, r3
/* 801544F0 00151450 7D 1E 43 78 */ mr r30, r8
/* 801544F4 00151454 7D 3F 4B 78 */ mr r31, r9
/* 801544F8 00151458 7D 46 53 78 */ mr r6, r10
/* 801544FC 0015145C 38 81 00 08 */ addi r4, r1, 8
/* 80154500 00151460 4B EF CE 25 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80154504 00151464 3C 60 80 3E */ lis r3, lbl_803E2D08@ha
/* 80154508 00151468 C0 02 9D F8 */ lfs f0, lbl_805ABB18@sda21(r2)
/* 8015450C 0015146C 38 03 2D 08 */ addi r0, r3, lbl_803E2D08@l
/* 80154510 00151470 38 C0 00 00 */ li r6, 0
/* 80154514 00151474 90 1C 00 00 */ stw r0, 0(r28)
/* 80154518 00151478 7F 83 E3 78 */ mr r3, r28
/* 8015451C 0015147C C0 3D 00 00 */ lfs f1, 0(r29)
/* 80154520 00151480 D0 3C 00 34 */ stfs f1, 0x34(r28)
/* 80154524 00151484 C0 3D 00 04 */ lfs f1, 4(r29)
/* 80154528 00151488 D0 3C 00 38 */ stfs f1, 0x38(r28)
/* 8015452C 0015148C C0 3D 00 08 */ lfs f1, 8(r29)
/* 80154530 00151490 D0 3C 00 3C */ stfs f1, 0x3c(r28)
/* 80154534 00151494 D3 FC 00 40 */ stfs f31, 0x40(r28)
/* 80154538 00151498 D0 1C 00 44 */ stfs f0, 0x44(r28)
/* 8015453C 0015149C 90 DC 00 4C */ stw r6, 0x4c(r28)
/* 80154540 001514A0 90 DC 00 50 */ stw r6, 0x50(r28)
/* 80154544 001514A4 90 DC 00 54 */ stw r6, 0x54(r28)
/* 80154548 001514A8 88 1C 00 58 */ lbz r0, 0x58(r28)
/* 8015454C 001514AC 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18
/* 80154550 001514B0 98 1C 00 58 */ stb r0, 0x58(r28)
/* 80154554 001514B4 88 1C 00 58 */ lbz r0, 0x58(r28)
/* 80154558 001514B8 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19
/* 8015455C 001514BC 98 1C 00 58 */ stb r0, 0x58(r28)
/* 80154560 001514C0 88 1C 00 58 */ lbz r0, 0x58(r28)
/* 80154564 001514C4 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a
/* 80154568 001514C8 98 1C 00 58 */ stb r0, 0x58(r28)
/* 8015456C 001514CC 88 1C 00 58 */ lbz r0, 0x58(r28)
/* 80154570 001514D0 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b
/* 80154574 001514D4 98 1C 00 58 */ stb r0, 0x58(r28)
/* 80154578 001514D8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8015457C 001514DC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80154580 001514E0 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 80154584 001514E4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80154588 001514E8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8015458C 001514EC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80154590 001514F0 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80154594 001514F4 7C 08 03 A6 */ mtlr r0
/* 80154598 001514F8 38 21 00 30 */ addi r1, r1, 0x30
/* 8015459C 001514FC 4E 80 00 20 */ blr
.global "distance<Q34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st<Q24rstl32pair<13TGameScriptId,9TUniqueId>>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>14const_iterator>__4rstlFQ34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st<Q24rstl32pair<13TGameScriptId,9TUniqueId>>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>14const_iteratorQ34rstl195red_black_tree<13TGameScriptId,Q24rstl32"
"distance<Q34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st<Q24rstl32pair<13TGameScriptId,9TUniqueId>>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>14const_iterator>__4rstlFQ34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st<Q24rstl32pair<13TGameScriptId,9TUniqueId>>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>14const_iteratorQ34rstl195red_black_tree<13TGameScriptId,Q24rstl32":
/* 801545A0 00151500 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801545A4 00151504 7C 08 02 A6 */ mflr r0
/* 801545A8 00151508 90 01 00 24 */ stw r0, 0x24(r1)
/* 801545AC 0015150C 38 A1 00 0C */ addi r5, r1, 0xc
/* 801545B0 00151510 89 21 00 08 */ lbz r9, 8(r1)
/* 801545B4 00151514 81 04 00 00 */ lwz r8, 0(r4)
/* 801545B8 00151518 80 E4 00 04 */ lwz r7, 4(r4)
/* 801545BC 0015151C 38 81 00 10 */ addi r4, r1, 0x10
/* 801545C0 00151520 80 C3 00 00 */ lwz r6, 0(r3)
/* 801545C4 00151524 80 03 00 04 */ lwz r0, 4(r3)
/* 801545C8 00151528 38 61 00 18 */ addi r3, r1, 0x18
/* 801545CC 0015152C 99 21 00 0C */ stb r9, 0xc(r1)
/* 801545D0 00151530 91 01 00 10 */ stw r8, 0x10(r1)
/* 801545D4 00151534 90 E1 00 14 */ stw r7, 0x14(r1)
/* 801545D8 00151538 90 C1 00 18 */ stw r6, 0x18(r1)
/* 801545DC 0015153C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 801545E0 00151540 48 00 00 15 */ bl "__distance<Q34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st<Q24rstl32pair<13TGameScriptId,9TUniqueId>>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>14const_iterator>__4rstlFQ34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st<Q24rstl32pair<13TGameScriptId,9TUniqueId>>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>14const_iteratorQ34rstl195red_black_tree<13TGameScriptId,Q24rstl"
/* 801545E4 00151544 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801545E8 00151548 7C 08 03 A6 */ mtlr r0
/* 801545EC 0015154C 38 21 00 20 */ addi r1, r1, 0x20
/* 801545F0 00151550 4E 80 00 20 */ blr
.global "__distance<Q34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st<Q24rstl32pair<13TGameScriptId,9TUniqueId>>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>14const_iterator>__4rstlFQ34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st<Q24rstl32pair<13TGameScriptId,9TUniqueId>>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>14const_iteratorQ34rstl195red_black_tree<13TGameScriptId,Q24rstl"
"__distance<Q34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st<Q24rstl32pair<13TGameScriptId,9TUniqueId>>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>14const_iterator>__4rstlFQ34rstl195red_black_tree<13TGameScriptId,Q24rstl32pair<13TGameScriptId,9TUniqueId>,1,Q24rstl52select1st<Q24rstl32pair<13TGameScriptId,9TUniqueId>>,Q24rstl21less<13TGameScriptId>,Q24rstl17rmemory_allocator>14const_iteratorQ34rstl195red_black_tree<13TGameScriptId,Q24rstl":
/* 801545F4 00151554 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801545F8 00151558 7C 08 02 A6 */ mflr r0
/* 801545FC 0015155C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80154600 00151560 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80154604 00151564 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80154608 00151568 3B C0 00 00 */ li r30, 0
/* 8015460C 0015156C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80154610 00151570 7C 9D 23 78 */ mr r29, r4
/* 80154614 00151574 80 A3 00 00 */ lwz r5, 0(r3)
/* 80154618 00151578 83 E3 00 04 */ lwz r31, 4(r3)
/* 8015461C 0015157C 48 00 00 18 */ b lbl_80154634
lbl_80154620:
/* 80154620 00151580 7F E3 FB 78 */ mr r3, r31
/* 80154624 00151584 7C A4 2B 78 */ mr r4, r5
/* 80154628 00151588 3B DE 00 01 */ addi r30, r30, 1
/* 8015462C 0015158C 48 1E 7F B5 */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 80154630 00151590 7C 65 1B 78 */ mr r5, r3
lbl_80154634:
/* 80154634 00151594 80 1D 00 00 */ lwz r0, 0(r29)
/* 80154638 00151598 38 60 00 00 */ li r3, 0
/* 8015463C 0015159C 7C 05 00 40 */ cmplw r5, r0
/* 80154640 001515A0 40 82 00 10 */ bne lbl_80154650
/* 80154644 001515A4 80 1D 00 04 */ lwz r0, 4(r29)
/* 80154648 001515A8 7C 1F 00 40 */ cmplw r31, r0
/* 8015464C 001515AC 41 82 00 08 */ beq lbl_80154654
lbl_80154650:
/* 80154650 001515B0 38 60 00 01 */ li r3, 1
lbl_80154654:
/* 80154654 001515B4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80154658 001515B8 40 82 FF C8 */ bne lbl_80154620
/* 8015465C 001515BC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80154660 001515C0 7F C3 F3 78 */ mr r3, r30
/* 80154664 001515C4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80154668 001515C8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8015466C 001515CC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80154670 001515D0 7C 08 03 A6 */ mtlr r0
/* 80154674 001515D4 38 21 00 20 */ addi r1, r1, 0x20
/* 80154678 001515D8 4E 80 00 20 */ blr
.global "reserve__Q24rstl75vector<Q24rstl31pair<9TUniqueId,12CTransform4f>,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl75vector<Q24rstl31pair<9TUniqueId,12CTransform4f>,Q24rstl17rmemory_allocator>Fi":
/* 8015467C 001515DC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80154680 001515E0 7C 08 02 A6 */ mflr r0
/* 80154684 001515E4 90 01 00 34 */ stw r0, 0x34(r1)
/* 80154688 001515E8 BF 41 00 18 */ stmw r26, 0x18(r1)
/* 8015468C 001515EC 7C 9F 23 78 */ mr r31, r4
/* 80154690 001515F0 7C 7E 1B 78 */ mr r30, r3
/* 80154694 001515F4 80 03 00 08 */ lwz r0, 8(r3)
/* 80154698 001515F8 7C 1F 00 00 */ cmpw r31, r0
/* 8015469C 001515FC 40 81 00 B8 */ ble lbl_80154754
/* 801546A0 00151600 1C 7F 00 34 */ mulli r3, r31, 0x34
/* 801546A4 00151604 2C 03 00 00 */ cmpwi r3, 0
/* 801546A8 00151608 40 82 00 0C */ bne lbl_801546B4
/* 801546AC 0015160C 3B 80 00 00 */ li r28, 0
/* 801546B0 00151610 48 00 00 18 */ b lbl_801546C8
lbl_801546B4:
/* 801546B4 00151614 3C 80 80 3D */ lis r4, lbl_803D01F0@ha
/* 801546B8 00151618 38 A0 00 00 */ li r5, 0
/* 801546BC 0015161C 38 84 01 F0 */ addi r4, r4, lbl_803D01F0@l
/* 801546C0 00151620 48 1C 11 59 */ bl __nwa__FUlPCcPCc
/* 801546C4 00151624 7C 7C 1B 78 */ mr r28, r3
lbl_801546C8:
/* 801546C8 00151628 80 1E 00 04 */ lwz r0, 4(r30)
/* 801546CC 0015162C 7F 9B E3 78 */ mr r27, r28
/* 801546D0 00151630 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 801546D4 00151634 1C 00 00 34 */ mulli r0, r0, 0x34
/* 801546D8 00151638 93 41 00 10 */ stw r26, 0x10(r1)
/* 801546DC 0015163C 7F BA 02 14 */ add r29, r26, r0
/* 801546E0 00151640 93 41 00 14 */ stw r26, 0x14(r1)
/* 801546E4 00151644 93 A1 00 08 */ stw r29, 8(r1)
/* 801546E8 00151648 93 A1 00 0C */ stw r29, 0xc(r1)
/* 801546EC 0015164C 48 00 00 28 */ b lbl_80154714
lbl_801546F0:
/* 801546F0 00151650 28 1B 00 00 */ cmplwi r27, 0
/* 801546F4 00151654 41 82 00 18 */ beq lbl_8015470C
/* 801546F8 00151658 A0 1A 00 00 */ lhz r0, 0(r26)
/* 801546FC 0015165C 38 7B 00 04 */ addi r3, r27, 4
/* 80154700 00151660 38 9A 00 04 */ addi r4, r26, 4
/* 80154704 00151664 B0 1B 00 00 */ sth r0, 0(r27)
/* 80154708 00151668 48 1B E4 6D */ bl __ct__12CTransform4fFRC12CTransform4f
lbl_8015470C:
/* 8015470C 0015166C 3B 7B 00 34 */ addi r27, r27, 0x34
/* 80154710 00151670 3B 5A 00 34 */ addi r26, r26, 0x34
lbl_80154714:
/* 80154714 00151674 7C 1A E8 40 */ cmplw r26, r29
/* 80154718 00151678 40 82 FF D8 */ bne lbl_801546F0
/* 8015471C 0015167C 80 1E 00 04 */ lwz r0, 4(r30)
/* 80154720 00151680 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80154724 00151684 1C 00 00 34 */ mulli r0, r0, 0x34
/* 80154728 00151688 7C 64 1B 78 */ mr r4, r3
/* 8015472C 0015168C 7C 03 02 14 */ add r0, r3, r0
/* 80154730 00151690 48 00 00 08 */ b lbl_80154738
lbl_80154734:
/* 80154734 00151694 38 84 00 34 */ addi r4, r4, 0x34
lbl_80154738:
/* 80154738 00151698 7C 04 00 40 */ cmplw r4, r0
/* 8015473C 0015169C 40 82 FF F8 */ bne lbl_80154734
/* 80154740 001516A0 28 03 00 00 */ cmplwi r3, 0
/* 80154744 001516A4 41 82 00 08 */ beq lbl_8015474C
/* 80154748 001516A8 48 1C 11 E9 */ bl Free__7CMemoryFPCv
lbl_8015474C:
/* 8015474C 001516AC 93 9E 00 0C */ stw r28, 0xc(r30)
/* 80154750 001516B0 93 FE 00 08 */ stw r31, 8(r30)
lbl_80154754:
/* 80154754 001516B4 BB 41 00 18 */ lmw r26, 0x18(r1)
/* 80154758 001516B8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8015475C 001516BC 7C 08 03 A6 */ mtlr r0
/* 80154760 001516C0 38 21 00 30 */ addi r1, r1, 0x30
/* 80154764 001516C4 4E 80 00 20 */ blr

View File

@ -0,0 +1,443 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global AcceptScriptMsg__18CScriptBallTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__18CScriptBallTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 801764DC 0017343C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801764E0 00173440 7C 08 02 A6 */ mflr r0
/* 801764E4 00173444 90 01 00 24 */ stw r0, 0x24(r1)
/* 801764E8 00173448 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801764EC 0017344C 7C DF 33 78 */ mr r31, r6
/* 801764F0 00173450 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801764F4 00173454 7C BE 2B 78 */ mr r30, r5
/* 801764F8 00173458 93 A1 00 14 */ stw r29, 0x14(r1)
/* 801764FC 0017345C 7C 9D 23 78 */ mr r29, r4
/* 80176500 00173460 2C 1D 00 04 */ cmpwi r29, 4
/* 80176504 00173464 93 81 00 10 */ stw r28, 0x10(r1)
/* 80176508 00173468 7C 7C 1B 78 */ mr r28, r3
/* 8017650C 0017346C 40 82 00 30 */ bne lbl_8017653C
/* 80176510 00173470 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 80176514 00173474 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80176518 00173478 41 82 00 24 */ beq lbl_8017653C
/* 8017651C 0017347C 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 80176520 00173480 38 80 00 00 */ li r4, 0
/* 80176524 00173484 80 63 07 68 */ lwz r3, 0x768(r3)
/* 80176528 00173488 4B F7 8A 79 */ bl SetBallBoostState__10CMorphBallFQ210CMorphBall15EBallBoostState
/* 8017652C 0017348C 88 1C 01 68 */ lbz r0, 0x168(r28)
/* 80176530 00173490 38 60 00 00 */ li r3, 0
/* 80176534 00173494 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80176538 00173498 98 1C 01 68 */ stb r0, 0x168(r28)
lbl_8017653C:
/* 8017653C 0017349C A0 1E 00 00 */ lhz r0, 0(r30)
/* 80176540 001734A0 7F 83 E3 78 */ mr r3, r28
/* 80176544 001734A4 7F A4 EB 78 */ mr r4, r29
/* 80176548 001734A8 7F E6 FB 78 */ mr r6, r31
/* 8017654C 001734AC B0 01 00 08 */ sth r0, 8(r1)
/* 80176550 001734B0 38 A1 00 08 */ addi r5, r1, 8
/* 80176554 001734B4 4B EF FF A5 */ bl AcceptScriptMsg__14CScriptTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 80176558 001734B8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8017655C 001734BC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80176560 001734C0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80176564 001734C4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80176568 001734C8 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8017656C 001734CC 7C 08 03 A6 */ mtlr r0
/* 80176570 001734D0 38 21 00 20 */ addi r1, r1, 0x20
/* 80176574 001734D4 4E 80 00 20 */ blr
.global Accept__18CScriptBallTriggerFR8IVisitor
Accept__18CScriptBallTriggerFR8IVisitor:
/* 80176578 001734D8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8017657C 001734DC 7C 08 02 A6 */ mflr r0
/* 80176580 001734E0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80176584 001734E4 7C 60 1B 78 */ mr r0, r3
/* 80176588 001734E8 7C 83 23 78 */ mr r3, r4
/* 8017658C 001734EC 81 84 00 00 */ lwz r12, 0(r4)
/* 80176590 001734F0 7C 04 03 78 */ mr r4, r0
/* 80176594 001734F4 81 8C 00 CC */ lwz r12, 0xcc(r12)
/* 80176598 001734F8 7D 89 03 A6 */ mtctr r12
/* 8017659C 001734FC 4E 80 04 21 */ bctrl
/* 801765A0 00173500 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801765A4 00173504 7C 08 03 A6 */ mtlr r0
/* 801765A8 00173508 38 21 00 10 */ addi r1, r1, 0x10
/* 801765AC 0017350C 4E 80 00 20 */ blr
.global Think__18CScriptBallTriggerFfR13CStateManager
Think__18CScriptBallTriggerFfR13CStateManager:
/* 801765B0 00173510 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 801765B4 00173514 7C 08 02 A6 */ mflr r0
/* 801765B8 00173518 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 801765BC 0017351C DB E1 00 B0 */ stfd f31, 0xb0(r1)
/* 801765C0 00173520 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0
/* 801765C4 00173524 DB C1 00 A0 */ stfd f30, 0xa0(r1)
/* 801765C8 00173528 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0
/* 801765CC 0017352C DB A1 00 90 */ stfd f29, 0x90(r1)
/* 801765D0 00173530 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0
/* 801765D4 00173534 DB 81 00 80 */ stfd f28, 0x80(r1)
/* 801765D8 00173538 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0
/* 801765DC 0017353C DB 61 00 70 */ stfd f27, 0x70(r1)
/* 801765E0 00173540 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0
/* 801765E4 00173544 DB 41 00 60 */ stfd f26, 0x60(r1)
/* 801765E8 00173548 F3 41 00 68 */ psq_st f26, 104(r1), 0, qr0
/* 801765EC 0017354C 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 801765F0 00173550 93 C1 00 58 */ stw r30, 0x58(r1)
/* 801765F4 00173554 88 03 00 30 */ lbz r0, 0x30(r3)
/* 801765F8 00173558 FF 40 08 90 */ fmr f26, f1
/* 801765FC 0017355C 7C 7E 1B 78 */ mr r30, r3
/* 80176600 00173560 7C 9F 23 78 */ mr r31, r4
/* 80176604 00173564 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80176608 00173568 41 82 01 E8 */ beq lbl_801767F0
/* 8017660C 0017356C 4B EF FE C1 */ bl Think__14CScriptTriggerFfR13CStateManager
/* 80176610 00173570 83 FF 08 4C */ lwz r31, 0x84c(r31)
/* 80176614 00173574 80 7F 07 68 */ lwz r3, 0x768(r31)
/* 80176618 00173578 4B F8 27 ED */ bl GetBallRadius__10CMorphBallCFv
/* 8017661C 0017357C FF C0 08 90 */ fmr f30, f1
/* 80176620 00173580 C0 1F 00 60 */ lfs f0, 0x60(r31)
/* 80176624 00173584 80 1F 02 F8 */ lwz r0, 0x2f8(r31)
/* 80176628 00173588 C0 7F 00 40 */ lfs f3, 0x40(r31)
/* 8017662C 0017358C C0 42 A1 B0 */ lfs f2, lbl_805ABED0@sda21(r2)
/* 80176630 00173590 2C 00 00 01 */ cmpwi r0, 1
/* 80176634 00173594 C0 3F 00 50 */ lfs f1, 0x50(r31)
/* 80176638 00173598 EC 80 F0 2A */ fadds f4, f0, f30
/* 8017663C 0017359C EC A3 10 2A */ fadds f5, f3, f2
/* 80176640 001735A0 EC 61 10 2A */ fadds f3, f1, f2
/* 80176644 001735A4 40 82 01 9C */ bne lbl_801767E0
/* 80176648 001735A8 C0 5E 00 50 */ lfs f2, 0x50(r30)
/* 8017664C 001735AC 38 61 00 40 */ addi r3, r1, 0x40
/* 80176650 001735B0 C0 3E 00 60 */ lfs f1, 0x60(r30)
/* 80176654 001735B4 C0 1E 00 40 */ lfs f0, 0x40(r30)
/* 80176658 001735B8 EC 42 18 28 */ fsubs f2, f2, f3
/* 8017665C 001735BC EC 21 20 28 */ fsubs f1, f1, f4
/* 80176660 001735C0 EC 00 28 28 */ fsubs f0, f0, f5
/* 80176664 001735C4 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 80176668 001735C8 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 8017666C 001735CC D0 21 00 48 */ stfs f1, 0x48(r1)
/* 80176670 001735D0 48 19 E2 49 */ bl Magnitude__9CVector3fCFv
/* 80176674 001735D4 88 7E 01 68 */ lbz r3, 0x168(r30)
/* 80176678 001735D8 FF E0 08 90 */ fmr f31, f1
/* 8017667C 001735DC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f
/* 80176680 001735E0 40 82 01 04 */ bne lbl_80176784
/* 80176684 001735E4 FC 1F F0 40 */ fcmpo cr0, f31, f30
/* 80176688 001735E8 40 80 00 14 */ bge lbl_8017669C
/* 8017668C 001735EC 38 00 00 01 */ li r0, 1
/* 80176690 001735F0 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18
/* 80176694 001735F4 98 7E 01 68 */ stb r3, 0x168(r30)
/* 80176698 001735F8 48 00 00 EC */ b lbl_80176784
lbl_8017669C:
/* 8017669C 001735FC 38 61 00 28 */ addi r3, r1, 0x28
/* 801766A0 00173600 38 81 00 40 */ addi r4, r1, 0x40
/* 801766A4 00173604 48 19 E1 AD */ bl AsNormalized__9CVector3fCFv
/* 801766A8 00173608 C0 22 A1 B4 */ lfs f1, lbl_805ABED4@sda21(r2)
/* 801766AC 0017360C C0 1E 01 54 */ lfs f0, 0x154(r30)
/* 801766B0 00173610 C3 A1 00 28 */ lfs f29, 0x28(r1)
/* 801766B4 00173614 EC 21 00 32 */ fmuls f1, f1, f0
/* 801766B8 00173618 C3 81 00 2C */ lfs f28, 0x2c(r1)
/* 801766BC 0017361C C3 61 00 30 */ lfs f27, 0x30(r1)
/* 801766C0 00173620 48 21 DD 31 */ bl cos
/* 801766C4 00173624 FC 40 E0 50 */ fneg f2, f28
/* 801766C8 00173628 C0 1E 01 60 */ lfs f0, 0x160(r30)
/* 801766CC 0017362C FC 80 E8 50 */ fneg f4, f29
/* 801766D0 00173630 C0 7E 01 5C */ lfs f3, 0x15c(r30)
/* 801766D4 00173634 FC C0 D8 50 */ fneg f6, f27
/* 801766D8 00173638 C0 BE 01 64 */ lfs f5, 0x164(r30)
/* 801766DC 0017363C EC 02 00 32 */ fmuls f0, f2, f0
/* 801766E0 00173640 FC 20 08 18 */ frsp f1, f1
/* 801766E4 00173644 EC 04 00 FA */ fmadds f0, f4, f3, f0
/* 801766E8 00173648 EC 06 01 7A */ fmadds f0, f6, f5, f0
/* 801766EC 0017364C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801766F0 00173650 40 80 00 94 */ bge lbl_80176784
/* 801766F4 00173654 C0 7E 01 58 */ lfs f3, 0x158(r30)
/* 801766F8 00173658 FC 1F 18 40 */ fcmpo cr0, f31, f3
/* 801766FC 0017365C 40 80 00 88 */ bge lbl_80176784
/* 80176700 00173660 EC 3F 07 F2 */ fmuls f1, f31, f31
/* 80176704 00173664 C0 02 A1 B8 */ lfs f0, lbl_805ABED8@sda21(r2)
/* 80176708 00173668 C0 5E 01 50 */ lfs f2, 0x150(r30)
/* 8017670C 0017366C EC 00 D0 24 */ fdivs f0, f0, f26
/* 80176710 00173670 EC 23 08 24 */ fdivs f1, f3, f1
/* 80176714 00173674 EC 22 00 72 */ fmuls f1, f2, f1
/* 80176718 00173678 EC 00 07 F2 */ fmuls f0, f0, f31
/* 8017671C 0017367C D0 21 00 0C */ stfs f1, 0xc(r1)
/* 80176720 00173680 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80176724 00173684 D0 01 00 08 */ stfs f0, 8(r1)
/* 80176728 00173688 40 80 00 0C */ bge lbl_80176734
/* 8017672C 0017368C 38 61 00 08 */ addi r3, r1, 8
/* 80176730 00173690 48 00 00 08 */ b lbl_80176738
lbl_80176734:
/* 80176734 00173694 38 61 00 0C */ addi r3, r1, 0xc
lbl_80176738:
/* 80176738 00173698 C0 1F 00 E8 */ lfs f0, 0xe8(r31)
/* 8017673C 0017369C C0 A3 00 00 */ lfs f5, 0(r3)
/* 80176740 001736A0 EC 60 07 72 */ fmuls f3, f0, f29
/* 80176744 001736A4 EC 40 07 32 */ fmuls f2, f0, f28
/* 80176748 001736A8 EC 20 06 F2 */ fmuls f1, f0, f27
/* 8017674C 001736AC EC 05 00 F2 */ fmuls f0, f5, f3
/* 80176750 001736B0 D0 61 00 10 */ stfs f3, 0x10(r1)
/* 80176754 001736B4 EC 85 00 B2 */ fmuls f4, f5, f2
/* 80176758 001736B8 EC 65 00 72 */ fmuls f3, f5, f1
/* 8017675C 001736BC D0 41 00 14 */ stfs f2, 0x14(r1)
/* 80176760 001736C0 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 80176764 001736C4 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 80176768 001736C8 D0 81 00 20 */ stfs f4, 0x20(r1)
/* 8017676C 001736CC D0 61 00 24 */ stfs f3, 0x24(r1)
/* 80176770 001736D0 4B EA 4D C5 */ bl Identity__10CAxisAngleFv
/* 80176774 001736D4 7C 65 1B 78 */ mr r5, r3
/* 80176778 001736D8 7F E3 FB 78 */ mr r3, r31
/* 8017677C 001736DC 38 81 00 1C */ addi r4, r1, 0x1c
/* 80176780 001736E0 4B FA 5B 45 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle
lbl_80176784:
/* 80176784 001736E4 88 1E 01 48 */ lbz r0, 0x148(r30)
/* 80176788 001736E8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 8017678C 001736EC 41 82 00 64 */ beq lbl_801767F0
/* 80176790 001736F0 C0 1E 00 60 */ lfs f0, 0x60(r30)
/* 80176794 001736F4 C0 5E 00 50 */ lfs f2, 0x50(r30)
/* 80176798 001736F8 C0 22 A1 B0 */ lfs f1, lbl_805ABED0@sda21(r2)
/* 8017679C 001736FC EC 60 F0 28 */ fsubs f3, f0, f30
/* 801767A0 00173700 C0 1E 00 40 */ lfs f0, 0x40(r30)
/* 801767A4 00173704 EC 42 08 28 */ fsubs f2, f2, f1
/* 801767A8 00173708 EC 00 08 28 */ fsubs f0, f0, f1
/* 801767AC 0017370C D0 61 00 3C */ stfs f3, 0x3c(r1)
/* 801767B0 00173710 D0 41 00 38 */ stfs f2, 0x38(r1)
/* 801767B4 00173714 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 801767B8 00173718 88 1E 01 68 */ lbz r0, 0x168(r30)
/* 801767BC 0017371C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 801767C0 00173720 41 82 00 0C */ beq lbl_801767CC
/* 801767C4 00173724 7F E3 FB 78 */ mr r3, r31
/* 801767C8 00173728 4B FA 4B B1 */ bl Stop__13CPhysicsActorFv
lbl_801767CC:
/* 801767CC 0017372C FC 20 D0 90 */ fmr f1, f26
/* 801767D0 00173730 7F E3 FB 78 */ mr r3, r31
/* 801767D4 00173734 38 81 00 34 */ addi r4, r1, 0x34
/* 801767D8 00173738 4B FA 49 31 */ bl MoveToWR__13CPhysicsActorFRC9CVector3ff
/* 801767DC 0017373C 48 00 00 14 */ b lbl_801767F0
lbl_801767E0:
/* 801767E0 00173740 88 1E 01 68 */ lbz r0, 0x168(r30)
/* 801767E4 00173744 38 60 00 00 */ li r3, 0
/* 801767E8 00173748 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 801767EC 0017374C 98 1E 01 68 */ stb r0, 0x168(r30)
lbl_801767F0:
/* 801767F0 00173750 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0
/* 801767F4 00173754 CB E1 00 B0 */ lfd f31, 0xb0(r1)
/* 801767F8 00173758 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0
/* 801767FC 0017375C CB C1 00 A0 */ lfd f30, 0xa0(r1)
/* 80176800 00173760 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0
/* 80176804 00173764 CB A1 00 90 */ lfd f29, 0x90(r1)
/* 80176808 00173768 E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0
/* 8017680C 0017376C CB 81 00 80 */ lfd f28, 0x80(r1)
/* 80176810 00173770 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0
/* 80176814 00173774 CB 61 00 70 */ lfd f27, 0x70(r1)
/* 80176818 00173778 E3 41 00 68 */ psq_l f26, 104(r1), 0, qr0
/* 8017681C 0017377C CB 41 00 60 */ lfd f26, 0x60(r1)
/* 80176820 00173780 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 80176824 00173784 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 80176828 00173788 83 C1 00 58 */ lwz r30, 0x58(r1)
/* 8017682C 0017378C 7C 08 03 A6 */ mtlr r0
/* 80176830 00173790 38 21 00 C0 */ addi r1, r1, 0xc0
/* 80176834 00173794 4E 80 00 20 */ blr
.global InhabitantExited__18CScriptBallTriggerFR6CActorR13CStateManager
InhabitantExited__18CScriptBallTriggerFR6CActorR13CStateManager:
/* 80176838 00173798 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8017683C 0017379C 7C 08 02 A6 */ mflr r0
/* 80176840 001737A0 90 01 00 24 */ stw r0, 0x24(r1)
/* 80176844 001737A4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80176848 001737A8 7C 7F 1B 78 */ mr r31, r3
/* 8017684C 001737AC 38 61 00 08 */ addi r3, r1, 8
/* 80176850 001737B0 4B F3 5B B1 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity"
/* 80176854 001737B4 80 63 00 04 */ lwz r3, 4(r3)
/* 80176858 001737B8 28 03 00 00 */ cmplwi r3, 0
/* 8017685C 001737BC 41 82 00 20 */ beq lbl_8017687C
/* 80176860 001737C0 80 63 07 68 */ lwz r3, 0x768(r3)
/* 80176864 001737C4 38 80 00 00 */ li r4, 0
/* 80176868 001737C8 4B F7 87 39 */ bl SetBallBoostState__10CMorphBallFQ210CMorphBall15EBallBoostState
/* 8017686C 001737CC 88 1F 01 68 */ lbz r0, 0x168(r31)
/* 80176870 001737D0 38 60 00 00 */ li r3, 0
/* 80176874 001737D4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 80176878 001737D8 98 1F 01 68 */ stb r0, 0x168(r31)
lbl_8017687C:
/* 8017687C 001737DC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80176880 001737E0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80176884 001737E4 7C 08 03 A6 */ mtlr r0
/* 80176888 001737E8 38 21 00 20 */ addi r1, r1, 0x20
/* 8017688C 001737EC 4E 80 00 20 */ blr
.global InhabitantAdded__18CScriptBallTriggerFR6CActorR13CStateManager
InhabitantAdded__18CScriptBallTriggerFR6CActorR13CStateManager:
/* 80176890 001737F0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80176894 001737F4 7C 08 02 A6 */ mflr r0
/* 80176898 001737F8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8017689C 001737FC 38 61 00 08 */ addi r3, r1, 8
/* 801768A0 00173800 4B F3 5B 61 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity"
/* 801768A4 00173804 80 63 00 04 */ lwz r3, 4(r3)
/* 801768A8 00173808 28 03 00 00 */ cmplwi r3, 0
/* 801768AC 0017380C 41 82 00 10 */ beq lbl_801768BC
/* 801768B0 00173810 80 63 07 68 */ lwz r3, 0x768(r3)
/* 801768B4 00173814 38 80 00 01 */ li r4, 1
/* 801768B8 00173818 4B F7 86 E9 */ bl SetBallBoostState__10CMorphBallFQ210CMorphBall15EBallBoostState
lbl_801768BC:
/* 801768BC 0017381C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801768C0 00173820 7C 08 03 A6 */ mtlr r0
/* 801768C4 00173824 38 21 00 10 */ addi r1, r1, 0x10
/* 801768C8 00173828 4E 80 00 20 */ blr
.global __dt__18CScriptBallTriggerFv
__dt__18CScriptBallTriggerFv:
/* 801768CC 0017382C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801768D0 00173830 7C 08 02 A6 */ mflr r0
/* 801768D4 00173834 90 01 00 14 */ stw r0, 0x14(r1)
/* 801768D8 00173838 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801768DC 0017383C 7C 9F 23 78 */ mr r31, r4
/* 801768E0 00173840 93 C1 00 08 */ stw r30, 8(r1)
/* 801768E4 00173844 7C 7E 1B 79 */ or. r30, r3, r3
/* 801768E8 00173848 41 82 00 28 */ beq lbl_80176910
/* 801768EC 0017384C 3C A0 80 3E */ lis r5, lbl_803E3E80@ha
/* 801768F0 00173850 38 80 00 00 */ li r4, 0
/* 801768F4 00173854 38 05 3E 80 */ addi r0, r5, lbl_803E3E80@l
/* 801768F8 00173858 90 1E 00 00 */ stw r0, 0(r30)
/* 801768FC 0017385C 4B F0 03 85 */ bl __dt__14CScriptTriggerFv
/* 80176900 00173860 7F E0 07 35 */ extsh. r0, r31
/* 80176904 00173864 40 81 00 0C */ ble lbl_80176910
/* 80176908 00173868 7F C3 F3 78 */ mr r3, r30
/* 8017690C 0017386C 48 19 F0 25 */ bl Free__7CMemoryFPCv
lbl_80176910:
/* 80176910 00173870 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80176914 00173874 7F C3 F3 78 */ mr r3, r30
/* 80176918 00173878 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8017691C 0017387C 83 C1 00 08 */ lwz r30, 8(r1)
/* 80176920 00173880 7C 08 03 A6 */ mtlr r0
/* 80176924 00173884 38 21 00 10 */ addi r1, r1, 0x10
/* 80176928 00173888 4E 80 00 20 */ blr
.global "__ct__18CScriptBallTriggerF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC9CVector3fbfff9CVector3f"
"__ct__18CScriptBallTriggerF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC9CVector3fbfff9CVector3f":
/* 8017692C 0017388C 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 80176930 00173890 7C 08 02 A6 */ mflr r0
/* 80176934 00173894 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 80176938 00173898 DB E1 00 B0 */ stfd f31, 0xb0(r1)
/* 8017693C 0017389C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0
/* 80176940 001738A0 DB C1 00 A0 */ stfd f30, 0xa0(r1)
/* 80176944 001738A4 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0
/* 80176948 001738A8 DB A1 00 90 */ stfd f29, 0x90(r1)
/* 8017694C 001738AC F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0
/* 80176950 001738B0 BF 21 00 74 */ stmw r25, 0x74(r1)
/* 80176954 001738B4 39 80 00 00 */ li r12, 0
/* 80176958 001738B8 88 01 00 20 */ lbz r0, 0x20(r1)
/* 8017695C 001738BC 51 80 3E 30 */ rlwimi r0, r12, 7, 0x18, 0x18
/* 80176960 001738C0 C0 02 A1 B0 */ lfs f0, lbl_805ABED0@sda21(r2)
/* 80176964 001738C4 98 01 00 20 */ stb r0, 0x20(r1)
/* 80176968 001738C8 54 0B 06 3E */ clrlwi r11, r0, 0x18
/* 8017696C 001738CC 51 8B 36 72 */ rlwimi r11, r12, 6, 0x19, 0x19
/* 80176970 001738D0 A0 04 00 00 */ lhz r0, 0(r4)
/* 80176974 001738D4 89 01 00 48 */ lbz r8, 0x48(r1)
/* 80176978 001738D8 55 64 06 3E */ clrlwi r4, r11, 0x18
/* 8017697C 001738DC 51 84 2E B4 */ rlwimi r4, r12, 5, 0x1a, 0x1a
/* 80176980 001738E0 99 61 00 20 */ stb r11, 0x20(r1)
/* 80176984 001738E4 51 88 3E 30 */ rlwimi r8, r12, 7, 0x18, 0x18
/* 80176988 001738E8 FF A0 08 90 */ fmr f29, f1
/* 8017698C 001738EC 7C 7D 1B 78 */ mr r29, r3
/* 80176990 001738F0 FF C0 10 90 */ fmr f30, f2
/* 80176994 001738F4 FF E0 18 90 */ fmr f31, f3
/* 80176998 001738F8 91 81 00 1C */ stw r12, 0x1c(r1)
/* 8017699C 001738FC 8B E1 00 CB */ lbz r31, 0xcb(r1)
/* 801769A0 00173900 98 81 00 20 */ stb r4, 0x20(r1)
/* 801769A4 00173904 7C B9 2B 78 */ mr r25, r5
/* 801769A8 00173908 7C DA 33 78 */ mr r26, r6
/* 801769AC 0017390C 91 81 00 30 */ stw r12, 0x30(r1)
/* 801769B0 00173910 7C FB 3B 78 */ mr r27, r7
/* 801769B4 00173914 7D 3C 4B 78 */ mr r28, r9
/* 801769B8 00173918 7D 5E 53 78 */ mr r30, r10
/* 801769BC 0017391C 98 81 00 34 */ stb r4, 0x34(r1)
/* 801769C0 00173920 38 61 00 4C */ addi r3, r1, 0x4c
/* 801769C4 00173924 D0 01 00 38 */ stfs f0, 0x38(r1)
/* 801769C8 00173928 D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 801769CC 0017392C D0 01 00 40 */ stfs f0, 0x40(r1)
/* 801769D0 00173930 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 801769D4 00173934 99 01 00 48 */ stb r8, 0x48(r1)
/* 801769D8 00173938 B0 01 00 18 */ sth r0, 0x18(r1)
/* 801769DC 0017393C 48 00 00 FD */ bl calculate_ball_aabox__Fv
/* 801769E0 00173940 38 00 10 00 */ li r0, 0x1000
/* 801769E4 00173944 3C 60 80 5A */ lis r3, skZero3f@ha
/* 801769E8 00173948 90 01 00 08 */ stw r0, 8(r1)
/* 801769EC 0017394C 39 43 66 A0 */ addi r10, r3, skZero3f@l
/* 801769F0 00173950 38 00 00 00 */ li r0, 0
/* 801769F4 00173954 7F A3 EB 78 */ mr r3, r29
/* 801769F8 00173958 93 81 00 0C */ stw r28, 0xc(r1)
/* 801769FC 0017395C 7F 25 CB 78 */ mr r5, r25
/* 80176A00 00173960 7F 46 D3 78 */ mr r6, r26
/* 80176A04 00173964 7F 67 DB 78 */ mr r7, r27
/* 80176A08 00173968 90 01 00 10 */ stw r0, 0x10(r1)
/* 80176A0C 0017396C 38 81 00 18 */ addi r4, r1, 0x18
/* 80176A10 00173970 39 01 00 4C */ addi r8, r1, 0x4c
/* 80176A14 00173974 39 21 00 30 */ addi r9, r1, 0x30
/* 80176A18 00173978 90 01 00 14 */ stw r0, 0x14(r1)
/* 80176A1C 0017397C 4B F0 03 3D */ bl "__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb"
/* 80176A20 00173980 3C 80 80 3E */ lis r4, lbl_803E3E80@ha
/* 80176A24 00173984 3C 60 80 5A */ lis r3, skZero3f@ha
/* 80176A28 00173988 38 04 3E 80 */ addi r0, r4, lbl_803E3E80@l
/* 80176A2C 0017398C 38 80 00 00 */ li r4, 0
/* 80176A30 00173990 90 1D 00 00 */ stw r0, 0(r29)
/* 80176A34 00173994 38 A3 66 A0 */ addi r5, r3, skZero3f@l
/* 80176A38 00173998 7F C3 F3 78 */ mr r3, r30
/* 80176A3C 0017399C D3 BD 01 50 */ stfs f29, 0x150(r29)
/* 80176A40 001739A0 D3 DD 01 54 */ stfs f30, 0x154(r29)
/* 80176A44 001739A4 D3 FD 01 58 */ stfs f31, 0x158(r29)
/* 80176A48 001739A8 C0 05 00 00 */ lfs f0, 0(r5)
/* 80176A4C 001739AC D0 1D 01 5C */ stfs f0, 0x15c(r29)
/* 80176A50 001739B0 C0 05 00 04 */ lfs f0, 4(r5)
/* 80176A54 001739B4 D0 1D 01 60 */ stfs f0, 0x160(r29)
/* 80176A58 001739B8 C0 05 00 08 */ lfs f0, 8(r5)
/* 80176A5C 001739BC D0 1D 01 64 */ stfs f0, 0x164(r29)
/* 80176A60 001739C0 88 1D 01 68 */ lbz r0, 0x168(r29)
/* 80176A64 001739C4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 80176A68 001739C8 98 1D 01 68 */ stb r0, 0x168(r29)
/* 80176A6C 001739CC 88 1D 01 68 */ lbz r0, 0x168(r29)
/* 80176A70 001739D0 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19
/* 80176A74 001739D4 98 1D 01 68 */ stb r0, 0x168(r29)
/* 80176A78 001739D8 48 19 DC 81 */ bl CanBeNormalized__9CVector3fCFv
/* 80176A7C 001739DC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80176A80 001739E0 41 82 00 28 */ beq lbl_80176AA8
/* 80176A84 001739E4 7F C4 F3 78 */ mr r4, r30
/* 80176A88 001739E8 38 61 00 24 */ addi r3, r1, 0x24
/* 80176A8C 001739EC 48 19 DD C5 */ bl AsNormalized__9CVector3fCFv
/* 80176A90 001739F0 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 80176A94 001739F4 D0 1D 01 5C */ stfs f0, 0x15c(r29)
/* 80176A98 001739F8 C0 01 00 28 */ lfs f0, 0x28(r1)
/* 80176A9C 001739FC D0 1D 01 60 */ stfs f0, 0x160(r29)
/* 80176AA0 00173A00 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 80176AA4 00173A04 D0 1D 01 64 */ stfs f0, 0x164(r29)
lbl_80176AA8:
/* 80176AA8 00173A08 7F A3 EB 78 */ mr r3, r29
/* 80176AAC 00173A0C E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0
/* 80176AB0 00173A10 CB E1 00 B0 */ lfd f31, 0xb0(r1)
/* 80176AB4 00173A14 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0
/* 80176AB8 00173A18 CB C1 00 A0 */ lfd f30, 0xa0(r1)
/* 80176ABC 00173A1C E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0
/* 80176AC0 00173A20 CB A1 00 90 */ lfd f29, 0x90(r1)
/* 80176AC4 00173A24 BB 21 00 74 */ lmw r25, 0x74(r1)
/* 80176AC8 00173A28 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 80176ACC 00173A2C 7C 08 03 A6 */ mtlr r0
/* 80176AD0 00173A30 38 21 00 C0 */ addi r1, r1, 0xc0
/* 80176AD4 00173A34 4E 80 00 20 */ blr
.global calculate_ball_aabox__Fv
calculate_ball_aabox__Fv:
/* 80176AD8 00173A38 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80176ADC 00173A3C 7C 08 02 A6 */ mflr r0
/* 80176AE0 00173A40 C0 22 A1 BC */ lfs f1, lbl_805ABEDC@sda21(r2)
/* 80176AE4 00173A44 90 01 00 24 */ stw r0, 0x24(r1)
/* 80176AE8 00173A48 38 81 00 14 */ addi r4, r1, 0x14
/* 80176AEC 00173A4C 38 A1 00 08 */ addi r5, r1, 8
/* 80176AF0 00173A50 80 CD A1 18 */ lwz r6, gpTweakPlayer@sda21(r13)
/* 80176AF4 00173A54 C0 06 02 7C */ lfs f0, 0x27c(r6)
/* 80176AF8 00173A58 EC 21 00 32 */ fmuls f1, f1, f0
/* 80176AFC 00173A5C FC 00 08 50 */ fneg f0, f1
/* 80176B00 00173A60 D0 21 00 08 */ stfs f1, 8(r1)
/* 80176B04 00173A64 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 80176B08 00173A68 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 80176B0C 00173A6C D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80176B10 00173A70 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 80176B14 00173A74 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 80176B18 00173A78 48 1C 19 F1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 80176B1C 00173A7C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80176B20 00173A80 7C 08 03 A6 */ mtlr r0
/* 80176B24 00173A84 38 21 00 20 */ addi r1, r1, 0x20
/* 80176B28 00173A88 4E 80 00 20 */ blr

View File

@ -0,0 +1,266 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global AcceptScriptMsg__18CScriptDistanceFogF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__18CScriptDistanceFogF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8014CFFC 00149F5C 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8014D000 00149F60 7C 08 02 A6 */ mflr r0
/* 8014D004 00149F64 90 01 00 44 */ stw r0, 0x44(r1)
/* 8014D008 00149F68 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8014D00C 00149F6C 7C DF 33 78 */ mr r31, r6
/* 8014D010 00149F70 93 C1 00 38 */ stw r30, 0x38(r1)
/* 8014D014 00149F74 7C 7E 1B 78 */ mr r30, r3
/* 8014D018 00149F78 93 A1 00 34 */ stw r29, 0x34(r1)
/* 8014D01C 00149F7C 7C 9D 23 78 */ mr r29, r4
/* 8014D020 00149F80 A0 05 00 00 */ lhz r0, 0(r5)
/* 8014D024 00149F84 38 A1 00 08 */ addi r5, r1, 8
/* 8014D028 00149F88 B0 01 00 08 */ sth r0, 8(r1)
/* 8014D02C 00149F8C 4B F0 41 31 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8014D030 00149F90 80 DE 00 04 */ lwz r6, 4(r30)
/* 8014D034 00149F94 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13)
/* 8014D038 00149F98 7C 06 00 00 */ cmpw r6, r0
/* 8014D03C 00149F9C 41 82 01 68 */ beq lbl_8014D1A4
/* 8014D040 00149FA0 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 8014D044 00149FA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8014D048 00149FA8 41 82 01 5C */ beq lbl_8014D1A4
/* 8014D04C 00149FAC 2C 1D 00 23 */ cmpwi r29, 0x23
/* 8014D050 00149FB0 41 82 00 14 */ beq lbl_8014D064
/* 8014D054 00149FB4 40 80 01 50 */ bge lbl_8014D1A4
/* 8014D058 00149FB8 2C 1D 00 13 */ cmpwi r29, 0x13
/* 8014D05C 00149FBC 41 82 00 5C */ beq lbl_8014D0B8
/* 8014D060 00149FC0 48 00 01 44 */ b lbl_8014D1A4
lbl_8014D064:
/* 8014D064 00149FC4 88 1E 00 60 */ lbz r0, 0x60(r30)
/* 8014D068 00149FC8 28 00 00 00 */ cmplwi r0, 0
/* 8014D06C 00149FCC 41 82 01 38 */ beq lbl_8014D1A4
/* 8014D070 00149FD0 80 BF 08 50 */ lwz r5, 0x850(r31)
/* 8014D074 00149FD4 54 C3 18 38 */ slwi r3, r6, 3
/* 8014D078 00149FD8 80 9E 00 34 */ lwz r4, 0x34(r30)
/* 8014D07C 00149FDC 38 03 00 04 */ addi r0, r3, 4
/* 8014D080 00149FE0 80 65 00 20 */ lwz r3, 0x20(r5)
/* 8014D084 00149FE4 2C 04 00 00 */ cmpwi r4, 0
/* 8014D088 00149FE8 90 C1 00 28 */ stw r6, 0x28(r1)
/* 8014D08C 00149FEC 7C 63 00 2E */ lwzx r3, r3, r0
/* 8014D090 00149FF0 90 C1 00 18 */ stw r6, 0x18(r1)
/* 8014D094 00149FF4 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8014D098 00149FF8 80 63 10 C4 */ lwz r3, 0x10c4(r3)
/* 8014D09C 00149FFC 40 82 00 0C */ bne lbl_8014D0A8
/* 8014D0A0 0014A000 4B F1 20 F9 */ bl DisableFog__Q29CGameArea8CAreaFogFv
/* 8014D0A4 0014A004 48 00 01 00 */ b lbl_8014D1A4
lbl_8014D0A8:
/* 8014D0A8 0014A008 38 BE 00 38 */ addi r5, r30, 0x38
/* 8014D0AC 0014A00C 38 DE 00 3C */ addi r6, r30, 0x3c
/* 8014D0B0 0014A010 4B F1 20 71 */ bl SetFogExplicit__Q29CGameArea8CAreaFogF11ERglFogModeRC6CColorRC9CVector2f
/* 8014D0B4 0014A014 48 00 00 F0 */ b lbl_8014D1A4
lbl_8014D0B8:
/* 8014D0B8 0014A018 88 1E 00 61 */ lbz r0, 0x61(r30)
/* 8014D0BC 0014A01C 28 00 00 00 */ cmplwi r0, 0
/* 8014D0C0 0014A020 41 82 00 5C */ beq lbl_8014D11C
/* 8014D0C4 0014A024 80 BF 08 50 */ lwz r5, 0x850(r31)
/* 8014D0C8 0014A028 54 C3 18 38 */ slwi r3, r6, 3
/* 8014D0CC 0014A02C 80 9E 00 34 */ lwz r4, 0x34(r30)
/* 8014D0D0 0014A030 38 03 00 04 */ addi r0, r3, 4
/* 8014D0D4 0014A034 80 65 00 20 */ lwz r3, 0x20(r5)
/* 8014D0D8 0014A038 2C 04 00 00 */ cmpwi r4, 0
/* 8014D0DC 0014A03C 90 C1 00 24 */ stw r6, 0x24(r1)
/* 8014D0E0 0014A040 7C 63 00 2E */ lwzx r3, r3, r0
/* 8014D0E4 0014A044 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8014D0E8 0014A048 80 63 01 2C */ lwz r3, 0x12c(r3)
/* 8014D0EC 0014A04C 80 63 10 C4 */ lwz r3, 0x10c4(r3)
/* 8014D0F0 0014A050 41 82 00 1C */ beq lbl_8014D10C
/* 8014D0F4 0014A054 C0 3E 00 44 */ lfs f1, 0x44(r30)
/* 8014D0F8 0014A058 38 BE 00 38 */ addi r5, r30, 0x38
/* 8014D0FC 0014A05C 38 DE 00 3C */ addi r6, r30, 0x3c
/* 8014D100 0014A060 38 FE 00 48 */ addi r7, r30, 0x48
/* 8014D104 0014A064 4B F1 1E F5 */ bl FadeFog__Q29CGameArea8CAreaFogF11ERglFogModeRC6CColorRC9CVector2ffRC9CVector2f
/* 8014D108 0014A068 48 00 00 14 */ b lbl_8014D11C
lbl_8014D10C:
/* 8014D10C 0014A06C C0 3E 00 48 */ lfs f1, 0x48(r30)
/* 8014D110 0014A070 38 9E 00 38 */ addi r4, r30, 0x38
/* 8014D114 0014A074 C0 5E 00 44 */ lfs f2, 0x44(r30)
/* 8014D118 0014A078 4B F1 1E 2D */ bl RollFogOut__Q29CGameArea8CAreaFogFffRC6CColor
lbl_8014D11C:
/* 8014D11C 0014A07C C0 3E 00 54 */ lfs f1, 0x54(r30)
/* 8014D120 0014A080 C0 42 9D 20 */ lfs f2, lbl_805ABA40@sda21(r2)
/* 8014D124 0014A084 C0 02 9D 24 */ lfs f0, lbl_805ABA44@sda21(r2)
/* 8014D128 0014A088 EC 41 10 28 */ fsubs f2, f1, f2
/* 8014D12C 0014A08C FC 40 12 10 */ fabs f2, f2
/* 8014D130 0014A090 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8014D134 0014A094 41 80 00 2C */ blt lbl_8014D160
/* 8014D138 0014A098 80 BE 00 04 */ lwz r5, 4(r30)
/* 8014D13C 0014A09C 80 9F 08 50 */ lwz r4, 0x850(r31)
/* 8014D140 0014A0A0 54 A3 18 38 */ slwi r3, r5, 3
/* 8014D144 0014A0A4 90 A1 00 20 */ stw r5, 0x20(r1)
/* 8014D148 0014A0A8 80 84 00 20 */ lwz r4, 0x20(r4)
/* 8014D14C 0014A0AC 38 03 00 04 */ addi r0, r3, 4
/* 8014D150 0014A0B0 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8014D154 0014A0B4 7C 64 00 2E */ lwzx r3, r4, r0
/* 8014D158 0014A0B8 C0 5E 00 50 */ lfs f2, 0x50(r30)
/* 8014D15C 0014A0BC 4B F1 10 A1 */ bl sub_8005e1fc
lbl_8014D160:
/* 8014D160 0014A0C0 C0 3E 00 5C */ lfs f1, 0x5c(r30)
/* 8014D164 0014A0C4 C0 42 9D 20 */ lfs f2, lbl_805ABA40@sda21(r2)
/* 8014D168 0014A0C8 C0 02 9D 24 */ lfs f0, lbl_805ABA44@sda21(r2)
/* 8014D16C 0014A0CC EC 41 10 28 */ fsubs f2, f1, f2
/* 8014D170 0014A0D0 FC 40 12 10 */ fabs f2, f2
/* 8014D174 0014A0D4 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8014D178 0014A0D8 41 80 00 2C */ blt lbl_8014D1A4
/* 8014D17C 0014A0DC 80 BE 00 04 */ lwz r5, 4(r30)
/* 8014D180 0014A0E0 80 9F 08 50 */ lwz r4, 0x850(r31)
/* 8014D184 0014A0E4 54 A3 18 38 */ slwi r3, r5, 3
/* 8014D188 0014A0E8 90 A1 00 1C */ stw r5, 0x1c(r1)
/* 8014D18C 0014A0EC 80 84 00 20 */ lwz r4, 0x20(r4)
/* 8014D190 0014A0F0 38 03 00 04 */ addi r0, r3, 4
/* 8014D194 0014A0F4 90 A1 00 0C */ stw r5, 0xc(r1)
/* 8014D198 0014A0F8 7C 64 00 2E */ lwzx r3, r4, r0
/* 8014D19C 0014A0FC C0 5E 00 58 */ lfs f2, 0x58(r30)
/* 8014D1A0 0014A100 4B F1 10 49 */ bl sub_8005e1e8
lbl_8014D1A4:
/* 8014D1A4 0014A104 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8014D1A8 0014A108 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8014D1AC 0014A10C 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8014D1B0 0014A110 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 8014D1B4 0014A114 7C 08 03 A6 */ mtlr r0
/* 8014D1B8 0014A118 38 21 00 40 */ addi r1, r1, 0x40
/* 8014D1BC 0014A11C 4E 80 00 20 */ blr
.global Accept__18CScriptDistanceFogFR8IVisitor
Accept__18CScriptDistanceFogFR8IVisitor:
/* 8014D1C0 0014A120 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014D1C4 0014A124 7C 08 02 A6 */ mflr r0
/* 8014D1C8 0014A128 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014D1CC 0014A12C 7C 60 1B 78 */ mr r0, r3
/* 8014D1D0 0014A130 7C 83 23 78 */ mr r3, r4
/* 8014D1D4 0014A134 81 84 00 00 */ lwz r12, 0(r4)
/* 8014D1D8 0014A138 7C 04 03 78 */ mr r4, r0
/* 8014D1DC 0014A13C 81 8C 00 7C */ lwz r12, 0x7c(r12)
/* 8014D1E0 0014A140 7D 89 03 A6 */ mtctr r12
/* 8014D1E4 0014A144 4E 80 04 21 */ bctrl
/* 8014D1E8 0014A148 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014D1EC 0014A14C 7C 08 03 A6 */ mtlr r0
/* 8014D1F0 0014A150 38 21 00 10 */ addi r1, r1, 0x10
/* 8014D1F4 0014A154 4E 80 00 20 */ blr
.global __dt__18CScriptDistanceFogFv
__dt__18CScriptDistanceFogFv:
/* 8014D1F8 0014A158 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014D1FC 0014A15C 7C 08 02 A6 */ mflr r0
/* 8014D200 0014A160 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014D204 0014A164 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014D208 0014A168 7C 9F 23 78 */ mr r31, r4
/* 8014D20C 0014A16C 93 C1 00 08 */ stw r30, 8(r1)
/* 8014D210 0014A170 7C 7E 1B 79 */ or. r30, r3, r3
/* 8014D214 0014A174 41 82 00 28 */ beq lbl_8014D23C
/* 8014D218 0014A178 3C A0 80 3E */ lis r5, lbl_803E27B0@ha
/* 8014D21C 0014A17C 38 80 00 00 */ li r4, 0
/* 8014D220 0014A180 38 05 27 B0 */ addi r0, r5, lbl_803E27B0@l
/* 8014D224 0014A184 90 1E 00 00 */ stw r0, 0(r30)
/* 8014D228 0014A188 4B F0 40 4D */ bl __dt__7CEntityFv
/* 8014D22C 0014A18C 7F E0 07 35 */ extsh. r0, r31
/* 8014D230 0014A190 40 81 00 0C */ ble lbl_8014D23C
/* 8014D234 0014A194 7F C3 F3 78 */ mr r3, r30
/* 8014D238 0014A198 48 1C 86 F9 */ bl Free__7CMemoryFPCv
lbl_8014D23C:
/* 8014D23C 0014A19C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014D240 0014A1A0 7F C3 F3 78 */ mr r3, r30
/* 8014D244 0014A1A4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014D248 0014A1A8 83 C1 00 08 */ lwz r30, 8(r1)
/* 8014D24C 0014A1AC 7C 08 03 A6 */ mtlr r0
/* 8014D250 0014A1B0 38 21 00 10 */ addi r1, r1, 0x10
/* 8014D254 0014A1B4 4E 80 00 20 */ blr
.global "__ct__18CScriptDistanceFogF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC11ERglFogModeRC6CColorRC9CVector2ff9CVector2fbbffff"
"__ct__18CScriptDistanceFogF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC11ERglFogModeRC6CColorRC9CVector2ff9CVector2fbbffff":
/* 8014D258 0014A1B8 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 8014D25C 0014A1BC 7C 08 02 A6 */ mflr r0
/* 8014D260 0014A1C0 90 01 00 94 */ stw r0, 0x94(r1)
/* 8014D264 0014A1C4 DB E1 00 80 */ stfd f31, 0x80(r1)
/* 8014D268 0014A1C8 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0
/* 8014D26C 0014A1CC DB C1 00 70 */ stfd f30, 0x70(r1)
/* 8014D270 0014A1D0 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0
/* 8014D274 0014A1D4 DB A1 00 60 */ stfd f29, 0x60(r1)
/* 8014D278 0014A1D8 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0
/* 8014D27C 0014A1DC DB 81 00 50 */ stfd f28, 0x50(r1)
/* 8014D280 0014A1E0 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0
/* 8014D284 0014A1E4 DB 61 00 40 */ stfd f27, 0x40(r1)
/* 8014D288 0014A1E8 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0
/* 8014D28C 0014A1EC BF 21 00 24 */ stmw r25, 0x24(r1)
/* 8014D290 0014A1F0 A0 04 00 00 */ lhz r0, 0(r4)
/* 8014D294 0014A1F4 7C AB 2B 78 */ mr r11, r5
/* 8014D298 0014A1F8 FF 60 08 90 */ fmr f27, f1
/* 8014D29C 0014A1FC 88 81 00 9F */ lbz r4, 0x9f(r1)
/* 8014D2A0 0014A200 FF 80 10 90 */ fmr f28, f2
/* 8014D2A4 0014A204 B0 01 00 08 */ sth r0, 8(r1)
/* 8014D2A8 0014A208 7C FA 3B 78 */ mr r26, r7
/* 8014D2AC 0014A20C 7C C5 33 78 */ mr r5, r6
/* 8014D2B0 0014A210 7C 86 23 78 */ mr r6, r4
/* 8014D2B4 0014A214 FF A0 18 90 */ fmr f29, f3
/* 8014D2B8 0014A218 FF C0 20 90 */ fmr f30, f4
/* 8014D2BC 0014A21C 8B C1 00 9B */ lbz r30, 0x9b(r1)
/* 8014D2C0 0014A220 FF E0 28 90 */ fmr f31, f5
/* 8014D2C4 0014A224 7C 79 1B 78 */ mr r25, r3
/* 8014D2C8 0014A228 7D 1B 43 78 */ mr r27, r8
/* 8014D2CC 0014A22C 7D 3C 4B 78 */ mr r28, r9
/* 8014D2D0 0014A230 7D 5D 53 78 */ mr r29, r10
/* 8014D2D4 0014A234 7D 67 5B 78 */ mr r7, r11
/* 8014D2D8 0014A238 38 81 00 08 */ addi r4, r1, 8
/* 8014D2DC 0014A23C 4B F0 40 49 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8014D2E0 0014A240 3C 60 80 3E */ lis r3, lbl_803E27B0@ha
/* 8014D2E4 0014A244 C0 22 9D 20 */ lfs f1, lbl_805ABA40@sda21(r2)
/* 8014D2E8 0014A248 38 03 27 B0 */ addi r0, r3, lbl_803E27B0@l
/* 8014D2EC 0014A24C 38 61 00 0C */ addi r3, r1, 0xc
/* 8014D2F0 0014A250 90 19 00 00 */ stw r0, 0(r25)
/* 8014D2F4 0014A254 FC 40 08 90 */ fmr f2, f1
/* 8014D2F8 0014A258 3B E0 00 01 */ li r31, 1
/* 8014D2FC 0014A25C 93 59 00 34 */ stw r26, 0x34(r25)
/* 8014D300 0014A260 80 1B 00 00 */ lwz r0, 0(r27)
/* 8014D304 0014A264 90 19 00 38 */ stw r0, 0x38(r25)
/* 8014D308 0014A268 C0 1C 00 00 */ lfs f0, 0(r28)
/* 8014D30C 0014A26C D0 19 00 3C */ stfs f0, 0x3c(r25)
/* 8014D310 0014A270 C0 1C 00 04 */ lfs f0, 4(r28)
/* 8014D314 0014A274 D0 19 00 40 */ stfs f0, 0x40(r25)
/* 8014D318 0014A278 D3 79 00 44 */ stfs f27, 0x44(r25)
/* 8014D31C 0014A27C C0 1D 00 00 */ lfs f0, 0(r29)
/* 8014D320 0014A280 D0 19 00 48 */ stfs f0, 0x48(r25)
/* 8014D324 0014A284 C0 1D 00 04 */ lfs f0, 4(r29)
/* 8014D328 0014A288 D0 19 00 4C */ stfs f0, 0x4c(r25)
/* 8014D32C 0014A28C D3 99 00 50 */ stfs f28, 0x50(r25)
/* 8014D330 0014A290 D3 B9 00 54 */ stfs f29, 0x54(r25)
/* 8014D334 0014A294 D3 D9 00 58 */ stfs f30, 0x58(r25)
/* 8014D338 0014A298 D3 F9 00 5C */ stfs f31, 0x5c(r25)
/* 8014D33C 0014A29C 9B D9 00 60 */ stb r30, 0x60(r25)
/* 8014D340 0014A2A0 48 1C 6E C1 */ bl __ct__9CVector2fFff
/* 8014D344 0014A2A4 C0 22 9D 28 */ lfs f1, lbl_805ABA48@sda21(r2)
/* 8014D348 0014A2A8 7C 64 1B 78 */ mr r4, r3
/* 8014D34C 0014A2AC 7F A3 EB 78 */ mr r3, r29
/* 8014D350 0014A2B0 48 1C 2B D5 */ bl sub_8030ff24
/* 8014D354 0014A2B4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8014D358 0014A2B8 41 82 00 28 */ beq lbl_8014D380
/* 8014D35C 0014A2BC C0 22 9D 20 */ lfs f1, lbl_805ABA40@sda21(r2)
/* 8014D360 0014A2C0 C8 02 9D 30 */ lfd f0, lbl_805ABA50@sda21(r2)
/* 8014D364 0014A2C4 EC 3B 08 28 */ fsubs f1, f27, f1
/* 8014D368 0014A2C8 FC 20 0A 10 */ fabs f1, f1
/* 8014D36C 0014A2CC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8014D370 0014A2D0 7C 00 00 26 */ mfcr r0
/* 8014D374 0014A2D4 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f
/* 8014D378 0014A2D8 41 82 00 08 */ beq lbl_8014D380
/* 8014D37C 0014A2DC 3B E0 00 00 */ li r31, 0
lbl_8014D380:
/* 8014D380 0014A2E0 9B F9 00 61 */ stb r31, 0x61(r25)
/* 8014D384 0014A2E4 7F 23 CB 78 */ mr r3, r25
/* 8014D388 0014A2E8 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0
/* 8014D38C 0014A2EC CB E1 00 80 */ lfd f31, 0x80(r1)
/* 8014D390 0014A2F0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0
/* 8014D394 0014A2F4 CB C1 00 70 */ lfd f30, 0x70(r1)
/* 8014D398 0014A2F8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0
/* 8014D39C 0014A2FC CB A1 00 60 */ lfd f29, 0x60(r1)
/* 8014D3A0 0014A300 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0
/* 8014D3A4 0014A304 CB 81 00 50 */ lfd f28, 0x50(r1)
/* 8014D3A8 0014A308 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0
/* 8014D3AC 0014A30C CB 61 00 40 */ lfd f27, 0x40(r1)
/* 8014D3B0 0014A310 BB 21 00 24 */ lmw r25, 0x24(r1)
/* 8014D3B4 0014A314 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8014D3B8 0014A318 7C 08 03 A6 */ mtlr r0
/* 8014D3BC 0014A31C 38 21 00 90 */ addi r1, r1, 0x90
/* 8014D3C0 0014A320 4E 80 00 20 */ blr

View File

@ -0,0 +1,173 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__21CScriptDockAreaChangeFv
__dt__21CScriptDockAreaChangeFv:
/* 8014EF54 0014BEB4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014EF58 0014BEB8 7C 08 02 A6 */ mflr r0
/* 8014EF5C 0014BEBC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014EF60 0014BEC0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014EF64 0014BEC4 7C 9F 23 78 */ mr r31, r4
/* 8014EF68 0014BEC8 93 C1 00 08 */ stw r30, 8(r1)
/* 8014EF6C 0014BECC 7C 7E 1B 79 */ or. r30, r3, r3
/* 8014EF70 0014BED0 41 82 00 28 */ beq lbl_8014EF98
/* 8014EF74 0014BED4 3C A0 80 3E */ lis r5, lbl_803E2B48@ha
/* 8014EF78 0014BED8 38 80 00 00 */ li r4, 0
/* 8014EF7C 0014BEDC 38 05 2B 48 */ addi r0, r5, lbl_803E2B48@l
/* 8014EF80 0014BEE0 90 1E 00 00 */ stw r0, 0(r30)
/* 8014EF84 0014BEE4 4B F0 22 F1 */ bl __dt__7CEntityFv
/* 8014EF88 0014BEE8 7F E0 07 35 */ extsh. r0, r31
/* 8014EF8C 0014BEEC 40 81 00 0C */ ble lbl_8014EF98
/* 8014EF90 0014BEF0 7F C3 F3 78 */ mr r3, r30
/* 8014EF94 0014BEF4 48 1C 69 9D */ bl Free__7CMemoryFPCv
lbl_8014EF98:
/* 8014EF98 0014BEF8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014EF9C 0014BEFC 7F C3 F3 78 */ mr r3, r30
/* 8014EFA0 0014BF00 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014EFA4 0014BF04 83 C1 00 08 */ lwz r30, 8(r1)
/* 8014EFA8 0014BF08 7C 08 03 A6 */ mtlr r0
/* 8014EFAC 0014BF0C 38 21 00 10 */ addi r1, r1, 0x10
/* 8014EFB0 0014BF10 4E 80 00 20 */ blr
.global Accept__21CScriptDockAreaChangeFR8IVisitor
Accept__21CScriptDockAreaChangeFR8IVisitor:
/* 8014EFB4 0014BF14 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014EFB8 0014BF18 7C 08 02 A6 */ mflr r0
/* 8014EFBC 0014BF1C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014EFC0 0014BF20 7C 60 1B 78 */ mr r0, r3
/* 8014EFC4 0014BF24 7C 83 23 78 */ mr r3, r4
/* 8014EFC8 0014BF28 81 84 00 00 */ lwz r12, 0(r4)
/* 8014EFCC 0014BF2C 7C 04 03 78 */ mr r4, r0
/* 8014EFD0 0014BF30 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 8014EFD4 0014BF34 7D 89 03 A6 */ mtctr r12
/* 8014EFD8 0014BF38 4E 80 04 21 */ bctrl
/* 8014EFDC 0014BF3C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014EFE0 0014BF40 7C 08 03 A6 */ mtlr r0
/* 8014EFE4 0014BF44 38 21 00 10 */ addi r1, r1, 0x10
/* 8014EFE8 0014BF48 4E 80 00 20 */ blr
.global AcceptScriptMsg__21CScriptDockAreaChangeF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__21CScriptDockAreaChangeF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8014EFEC 0014BF4C 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 8014EFF0 0014BF50 7C 08 02 A6 */ mflr r0
/* 8014EFF4 0014BF54 90 01 00 64 */ stw r0, 0x64(r1)
/* 8014EFF8 0014BF58 BE E1 00 3C */ stmw r23, 0x3c(r1)
/* 8014EFFC 0014BF5C 7C 9C 23 78 */ mr r28, r4
/* 8014F000 0014BF60 2C 1C 00 13 */ cmpwi r28, 0x13
/* 8014F004 0014BF64 7C 7B 1B 78 */ mr r27, r3
/* 8014F008 0014BF68 7C BD 2B 78 */ mr r29, r5
/* 8014F00C 0014BF6C 7C DE 33 78 */ mr r30, r6
/* 8014F010 0014BF70 41 82 00 08 */ beq lbl_8014F018
/* 8014F014 0014BF74 48 00 00 F4 */ b lbl_8014F108
lbl_8014F018:
/* 8014F018 0014BF78 88 1B 00 30 */ lbz r0, 0x30(r27)
/* 8014F01C 0014BF7C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8014F020 0014BF80 41 82 00 E8 */ beq lbl_8014F108
/* 8014F024 0014BF84 83 FB 00 2C */ lwz r31, 0x2c(r27)
/* 8014F028 0014BF88 48 00 00 B4 */ b lbl_8014F0DC
lbl_8014F02C:
/* 8014F02C 0014BF8C 80 1F 00 00 */ lwz r0, 0(r31)
/* 8014F030 0014BF90 2C 00 00 12 */ cmpwi r0, 0x12
/* 8014F034 0014BF94 40 82 00 A4 */ bne lbl_8014F0D8
/* 8014F038 0014BF98 80 1F 00 04 */ lwz r0, 4(r31)
/* 8014F03C 0014BF9C 2C 00 00 00 */ cmpwi r0, 0
/* 8014F040 0014BFA0 41 82 00 98 */ beq lbl_8014F0D8
/* 8014F044 0014BFA4 80 1F 00 08 */ lwz r0, 8(r31)
/* 8014F048 0014BFA8 7F C4 F3 78 */ mr r4, r30
/* 8014F04C 0014BFAC 38 61 00 1C */ addi r3, r1, 0x1c
/* 8014F050 0014BFB0 38 A1 00 10 */ addi r5, r1, 0x10
/* 8014F054 0014BFB4 90 01 00 10 */ stw r0, 0x10(r1)
/* 8014F058 0014BFB8 4B EF 8F 71 */ bl GetIdListForScript__13CStateManagerCF9TEditorId
/* 8014F05C 0014BFBC 83 41 00 20 */ lwz r26, 0x20(r1)
/* 8014F060 0014BFC0 83 21 00 24 */ lwz r25, 0x24(r1)
/* 8014F064 0014BFC4 83 01 00 28 */ lwz r24, 0x28(r1)
/* 8014F068 0014BFC8 82 E1 00 1C */ lwz r23, 0x1c(r1)
/* 8014F06C 0014BFCC 48 00 00 4C */ b lbl_8014F0B8
lbl_8014F070:
/* 8014F070 0014BFD0 A0 17 00 14 */ lhz r0, 0x14(r23)
/* 8014F074 0014BFD4 7F C3 F3 78 */ mr r3, r30
/* 8014F078 0014BFD8 38 81 00 0C */ addi r4, r1, 0xc
/* 8014F07C 0014BFDC B0 01 00 0C */ sth r0, 0xc(r1)
/* 8014F080 0014BFE0 4B EF D4 F5 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8014F084 0014BFE4 7C 64 1B 78 */ mr r4, r3
/* 8014F088 0014BFE8 38 61 00 14 */ addi r3, r1, 0x14
/* 8014F08C 0014BFEC 4B F5 B3 79 */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity"
/* 8014F090 0014BFF0 80 63 00 04 */ lwz r3, 4(r3)
/* 8014F094 0014BFF4 28 03 00 00 */ cmplwi r3, 0
/* 8014F098 0014BFF8 41 82 00 10 */ beq lbl_8014F0A8
/* 8014F09C 0014BFFC 80 BB 00 34 */ lwz r5, 0x34(r27)
/* 8014F0A0 0014C000 7F C4 F3 78 */ mr r4, r30
/* 8014F0A4 0014C004 4B F7 47 F5 */ bl SetDockReference__11CScriptDockFi
lbl_8014F0A8:
/* 8014F0A8 0014C008 7F 43 D3 78 */ mr r3, r26
/* 8014F0AC 0014C00C 7E E4 BB 78 */ mr r4, r23
/* 8014F0B0 0014C010 48 1E D5 31 */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 8014F0B4 0014C014 7C 77 1B 78 */ mr r23, r3
lbl_8014F0B8:
/* 8014F0B8 0014C018 7C 17 C8 40 */ cmplw r23, r25
/* 8014F0BC 0014C01C 38 00 00 00 */ li r0, 0
/* 8014F0C0 0014C020 40 82 00 0C */ bne lbl_8014F0CC
/* 8014F0C4 0014C024 7C 1A C0 40 */ cmplw r26, r24
/* 8014F0C8 0014C028 41 82 00 08 */ beq lbl_8014F0D0
lbl_8014F0CC:
/* 8014F0CC 0014C02C 38 00 00 01 */ li r0, 1
lbl_8014F0D0:
/* 8014F0D0 0014C030 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8014F0D4 0014C034 40 82 FF 9C */ bne lbl_8014F070
lbl_8014F0D8:
/* 8014F0D8 0014C038 3B FF 00 0C */ addi r31, r31, 0xc
lbl_8014F0DC:
/* 8014F0DC 0014C03C 80 1B 00 24 */ lwz r0, 0x24(r27)
/* 8014F0E0 0014C040 80 7B 00 2C */ lwz r3, 0x2c(r27)
/* 8014F0E4 0014C044 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8014F0E8 0014C048 7C 03 02 14 */ add r0, r3, r0
/* 8014F0EC 0014C04C 7C 1F 00 40 */ cmplw r31, r0
/* 8014F0F0 0014C050 40 82 FF 3C */ bne lbl_8014F02C
/* 8014F0F4 0014C054 7F 63 DB 78 */ mr r3, r27
/* 8014F0F8 0014C058 7F C5 F3 78 */ mr r5, r30
/* 8014F0FC 0014C05C 38 80 00 12 */ li r4, 0x12
/* 8014F100 0014C060 38 C0 FF FF */ li r6, -1
/* 8014F104 0014C064 4B F0 1F BD */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
lbl_8014F108:
/* 8014F108 0014C068 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8014F10C 0014C06C 7F 63 DB 78 */ mr r3, r27
/* 8014F110 0014C070 7F 84 E3 78 */ mr r4, r28
/* 8014F114 0014C074 7F C6 F3 78 */ mr r6, r30
/* 8014F118 0014C078 B0 01 00 08 */ sth r0, 8(r1)
/* 8014F11C 0014C07C 38 A1 00 08 */ addi r5, r1, 8
/* 8014F120 0014C080 4B F0 20 3D */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8014F124 0014C084 BA E1 00 3C */ lmw r23, 0x3c(r1)
/* 8014F128 0014C088 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8014F12C 0014C08C 7C 08 03 A6 */ mtlr r0
/* 8014F130 0014C090 38 21 00 60 */ addi r1, r1, 0x60
/* 8014F134 0014C094 4E 80 00 20 */ blr
.global "__ct__21CScriptDockAreaChangeF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoib"
"__ct__21CScriptDockAreaChangeF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoib":
/* 8014F138 0014C098 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8014F13C 0014C09C 7C 08 02 A6 */ mflr r0
/* 8014F140 0014C0A0 90 01 00 24 */ stw r0, 0x24(r1)
/* 8014F144 0014C0A4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8014F148 0014C0A8 7C FF 3B 78 */ mr r31, r7
/* 8014F14C 0014C0AC 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8014F150 0014C0B0 7C 7E 1B 78 */ mr r30, r3
/* 8014F154 0014C0B4 A0 04 00 00 */ lhz r0, 0(r4)
/* 8014F158 0014C0B8 7C A4 2B 78 */ mr r4, r5
/* 8014F15C 0014C0BC 7C C5 33 78 */ mr r5, r6
/* 8014F160 0014C0C0 7D 06 43 78 */ mr r6, r8
/* 8014F164 0014C0C4 B0 01 00 08 */ sth r0, 8(r1)
/* 8014F168 0014C0C8 7C 87 23 78 */ mr r7, r4
/* 8014F16C 0014C0CC 38 81 00 08 */ addi r4, r1, 8
/* 8014F170 0014C0D0 4B F0 21 B5 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8014F174 0014C0D4 3C 80 80 3E */ lis r4, lbl_803E2B48@ha
/* 8014F178 0014C0D8 7F C3 F3 78 */ mr r3, r30
/* 8014F17C 0014C0DC 38 04 2B 48 */ addi r0, r4, lbl_803E2B48@l
/* 8014F180 0014C0E0 90 1E 00 00 */ stw r0, 0(r30)
/* 8014F184 0014C0E4 93 FE 00 34 */ stw r31, 0x34(r30)
/* 8014F188 0014C0E8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8014F18C 0014C0EC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8014F190 0014C0F0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8014F194 0014C0F4 7C 08 03 A6 */ mtlr r0
/* 8014F198 0014C0F8 38 21 00 20 */ addi r1, r1, 0x20
/* 8014F19C 0014C0FC 4E 80 00 20 */ blr

View File

@ -0,0 +1,539 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__14CScriptEMPulseFv
__dt__14CScriptEMPulseFv:
/* 8018EBB4 0018BB14 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8018EBB8 0018BB18 7C 08 02 A6 */ mflr r0
/* 8018EBBC 0018BB1C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8018EBC0 0018BB20 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8018EBC4 0018BB24 7C 9F 23 78 */ mr r31, r4
/* 8018EBC8 0018BB28 93 C1 00 08 */ stw r30, 8(r1)
/* 8018EBCC 0018BB2C 7C 7E 1B 79 */ or. r30, r3, r3
/* 8018EBD0 0018BB30 41 82 00 70 */ beq lbl_8018EC40
/* 8018EBD4 0018BB34 3C 60 80 3E */ lis r3, lbl_803E4400@ha
/* 8018EBD8 0018BB38 34 1E 01 14 */ addic. r0, r30, 0x114
/* 8018EBDC 0018BB3C 38 03 44 00 */ addi r0, r3, lbl_803E4400@l
/* 8018EBE0 0018BB40 90 1E 00 00 */ stw r0, 0(r30)
/* 8018EBE4 0018BB44 41 82 00 24 */ beq lbl_8018EC08
/* 8018EBE8 0018BB48 80 7E 01 14 */ lwz r3, 0x114(r30)
/* 8018EBEC 0018BB4C 28 03 00 00 */ cmplwi r3, 0
/* 8018EBF0 0018BB50 41 82 00 18 */ beq lbl_8018EC08
/* 8018EBF4 0018BB54 81 83 00 00 */ lwz r12, 0(r3)
/* 8018EBF8 0018BB58 38 80 00 01 */ li r4, 1
/* 8018EBFC 0018BB5C 81 8C 00 08 */ lwz r12, 8(r12)
/* 8018EC00 0018BB60 7D 89 03 A6 */ mtctr r12
/* 8018EC04 0018BB64 4E 80 04 21 */ bctrl
lbl_8018EC08:
/* 8018EC08 0018BB68 34 1E 01 08 */ addic. r0, r30, 0x108
/* 8018EC0C 0018BB6C 41 82 00 18 */ beq lbl_8018EC24
/* 8018EC10 0018BB70 34 1E 01 08 */ addic. r0, r30, 0x108
/* 8018EC14 0018BB74 41 82 00 10 */ beq lbl_8018EC24
/* 8018EC18 0018BB78 38 7E 01 08 */ addi r3, r30, 0x108
/* 8018EC1C 0018BB7C 38 80 00 00 */ li r4, 0
/* 8018EC20 0018BB80 48 1B 22 21 */ bl __dt__6CTokenFv
lbl_8018EC24:
/* 8018EC24 0018BB84 7F C3 F3 78 */ mr r3, r30
/* 8018EC28 0018BB88 38 80 00 00 */ li r4, 0
/* 8018EC2C 0018BB8C 4B EC 6A C5 */ bl __dt__6CActorFv
/* 8018EC30 0018BB90 7F E0 07 35 */ extsh. r0, r31
/* 8018EC34 0018BB94 40 81 00 0C */ ble lbl_8018EC40
/* 8018EC38 0018BB98 7F C3 F3 78 */ mr r3, r30
/* 8018EC3C 0018BB9C 48 18 6C F5 */ bl Free__7CMemoryFPCv
lbl_8018EC40:
/* 8018EC40 0018BBA0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8018EC44 0018BBA4 7F C3 F3 78 */ mr r3, r30
/* 8018EC48 0018BBA8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8018EC4C 0018BBAC 83 C1 00 08 */ lwz r30, 8(r1)
/* 8018EC50 0018BBB0 7C 08 03 A6 */ mtlr r0
/* 8018EC54 0018BBB4 38 21 00 10 */ addi r1, r1, 0x10
/* 8018EC58 0018BBB8 4E 80 00 20 */ blr
.global AddToRenderer__14CScriptEMPulseCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__14CScriptEMPulseCFRC14CFrustumPlanesRC13CStateManager:
/* 8018EC5C 0018BBBC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8018EC60 0018BBC0 7C 08 02 A6 */ mflr r0
/* 8018EC64 0018BBC4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8018EC68 0018BBC8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8018EC6C 0018BBCC 7C 7F 1B 78 */ mr r31, r3
/* 8018EC70 0018BBD0 4B EC 5E C9 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager
/* 8018EC74 0018BBD4 88 1F 00 30 */ lbz r0, 0x30(r31)
/* 8018EC78 0018BBD8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8018EC7C 0018BBDC 41 82 00 1C */ beq lbl_8018EC98
/* 8018EC80 0018BBE0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8018EC84 0018BBE4 80 9F 01 14 */ lwz r4, 0x114(r31)
/* 8018EC88 0018BBE8 81 83 00 00 */ lwz r12, 0(r3)
/* 8018EC8C 0018BBEC 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 8018EC90 0018BBF0 7D 89 03 A6 */ mtctr r12
/* 8018EC94 0018BBF4 4E 80 04 21 */ bctrl
lbl_8018EC98:
/* 8018EC98 0018BBF8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8018EC9C 0018BBFC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8018ECA0 0018BC00 7C 08 03 A6 */ mtlr r0
/* 8018ECA4 0018BC04 38 21 00 10 */ addi r1, r1, 0x10
/* 8018ECA8 0018BC08 4E 80 00 20 */ blr
.global Touch__14CScriptEMPulseFR6CActorR13CStateManager
Touch__14CScriptEMPulseFR6CActorR13CStateManager:
/* 8018ECAC 0018BC0C 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8018ECB0 0018BC10 7C 08 02 A6 */ mflr r0
/* 8018ECB4 0018BC14 90 01 00 74 */ stw r0, 0x74(r1)
/* 8018ECB8 0018BC18 DB E1 00 60 */ stfd f31, 0x60(r1)
/* 8018ECBC 0018BC1C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0
/* 8018ECC0 0018BC20 DB C1 00 50 */ stfd f30, 0x50(r1)
/* 8018ECC4 0018BC24 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0
/* 8018ECC8 0018BC28 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 8018ECCC 0018BC2C 93 C1 00 48 */ stw r30, 0x48(r1)
/* 8018ECD0 0018BC30 93 A1 00 44 */ stw r29, 0x44(r1)
/* 8018ECD4 0018BC34 88 03 00 30 */ lbz r0, 0x30(r3)
/* 8018ECD8 0018BC38 7C 7D 1B 78 */ mr r29, r3
/* 8018ECDC 0018BC3C 7C BE 2B 78 */ mr r30, r5
/* 8018ECE0 0018BC40 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8018ECE4 0018BC44 41 82 01 00 */ beq lbl_8018EDE4
/* 8018ECE8 0018BC48 38 61 00 18 */ addi r3, r1, 0x18
/* 8018ECEC 0018BC4C 4B F1 D7 15 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity"
/* 8018ECF0 0018BC50 83 E3 00 04 */ lwz r31, 4(r3)
/* 8018ECF4 0018BC54 28 1F 00 00 */ cmplwi r31, 0
/* 8018ECF8 0018BC58 41 82 00 EC */ beq lbl_8018EDE4
/* 8018ECFC 0018BC5C C0 BD 00 60 */ lfs f5, 0x60(r29)
/* 8018ED00 0018BC60 38 61 00 2C */ addi r3, r1, 0x2c
/* 8018ED04 0018BC64 C0 1F 00 60 */ lfs f0, 0x60(r31)
/* 8018ED08 0018BC68 C0 9D 00 50 */ lfs f4, 0x50(r29)
/* 8018ED0C 0018BC6C C0 5F 00 50 */ lfs f2, 0x50(r31)
/* 8018ED10 0018BC70 EC 25 00 28 */ fsubs f1, f5, f0
/* 8018ED14 0018BC74 C0 1D 00 40 */ lfs f0, 0x40(r29)
/* 8018ED18 0018BC78 C0 7F 00 40 */ lfs f3, 0x40(r31)
/* 8018ED1C 0018BC7C EC 44 10 28 */ fsubs f2, f4, f2
/* 8018ED20 0018BC80 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 8018ED24 0018BC84 EC 00 18 28 */ fsubs f0, f0, f3
/* 8018ED28 0018BC88 D0 81 00 24 */ stfs f4, 0x24(r1)
/* 8018ED2C 0018BC8C D0 A1 00 28 */ stfs f5, 0x28(r1)
/* 8018ED30 0018BC90 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8018ED34 0018BC94 D0 41 00 30 */ stfs f2, 0x30(r1)
/* 8018ED38 0018BC98 D0 21 00 34 */ stfs f1, 0x34(r1)
/* 8018ED3C 0018BC9C 48 18 5B 7D */ bl Magnitude__9CVector3fCFv
/* 8018ED40 0018BCA0 C0 1D 00 EC */ lfs f0, 0xec(r29)
/* 8018ED44 0018BCA4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8018ED48 0018BCA8 40 80 00 9C */ bge lbl_8018EDE4
/* 8018ED4C 0018BCAC EC 01 00 24 */ fdivs f0, f1, f0
/* 8018ED50 0018BCB0 C0 62 A4 90 */ lfs f3, lbl_805AC1B0@sda21(r2)
/* 8018ED54 0018BCB4 C0 9D 00 F8 */ lfs f4, 0xf8(r29)
/* 8018ED58 0018BCB8 C0 5D 00 FC */ lfs f2, 0xfc(r29)
/* 8018ED5C 0018BCBC C0 BD 01 00 */ lfs f5, 0x100(r29)
/* 8018ED60 0018BCC0 C0 3D 01 04 */ lfs f1, 0x104(r29)
/* 8018ED64 0018BCC4 EC 63 00 28 */ fsubs f3, f3, f0
/* 8018ED68 0018BCC8 C0 1F 07 40 */ lfs f0, 0x740(r31)
/* 8018ED6C 0018BCCC EC 42 20 28 */ fsubs f2, f2, f4
/* 8018ED70 0018BCD0 EC 21 28 28 */ fsubs f1, f1, f5
/* 8018ED74 0018BCD4 EF E3 20 BA */ fmadds f31, f3, f2, f4
/* 8018ED78 0018BCD8 EF C3 28 7A */ fmadds f30, f3, f1, f5
/* 8018ED7C 0018BCDC FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8018ED80 0018BCE0 40 81 00 3C */ ble lbl_8018EDBC
/* 8018ED84 0018BCE4 FC 20 F8 90 */ fmr f1, f31
/* 8018ED88 0018BCE8 C0 42 80 F8 */ lfs f2, lbl_805A9E18@sda21(r2)
/* 8018ED8C 0018BCEC C0 62 80 FC */ lfs f3, lbl_805A9E1C@sda21(r2)
/* 8018ED90 0018BCF0 7F E3 FB 78 */ mr r3, r31
/* 8018ED94 0018BCF4 4B E8 42 D9 */ bl SetHudDisable__7CPlayerFfff
/* 8018ED98 0018BCF8 80 BE 08 4C */ lwz r5, 0x84c(r30)
/* 8018ED9C 0018BCFC 7F E3 FB 78 */ mr r3, r31
/* 8018EDA0 0018BD00 7F C6 F3 78 */ mr r6, r30
/* 8018EDA4 0018BD04 38 81 00 14 */ addi r4, r1, 0x14
/* 8018EDA8 0018BD08 A0 05 03 10 */ lhz r0, 0x310(r5)
/* 8018EDAC 0018BD0C 38 A0 00 08 */ li r5, 8
/* 8018EDB0 0018BD10 B0 01 00 10 */ sth r0, 0x10(r1)
/* 8018EDB4 0018BD14 B0 01 00 14 */ sth r0, 0x14(r1)
/* 8018EDB8 0018BD18 4B FE C4 9D */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager
lbl_8018EDBC:
/* 8018EDBC 0018BD1C A0 1D 00 08 */ lhz r0, 8(r29)
/* 8018EDC0 0018BD20 FC 20 F0 90 */ fmr f1, f30
/* 8018EDC4 0018BD24 FC 40 F8 90 */ fmr f2, f31
/* 8018EDC8 0018BD28 38 81 00 0C */ addi r4, r1, 0xc
/* 8018EDCC 0018BD2C B0 01 00 0C */ sth r0, 0xc(r1)
/* 8018EDD0 0018BD30 80 7E 08 B8 */ lwz r3, 0x8b8(r30)
/* 8018EDD4 0018BD34 B0 01 00 08 */ sth r0, 8(r1)
/* 8018EDD8 0018BD38 80 63 00 00 */ lwz r3, 0(r3)
/* 8018EDDC 0018BD3C 38 63 01 88 */ addi r3, r3, 0x188
/* 8018EDE0 0018BD40 48 03 1D 59 */ bl AddSource__19CStaticInterferenceF9TUniqueId
lbl_8018EDE4:
/* 8018EDE4 0018BD44 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0
/* 8018EDE8 0018BD48 CB E1 00 60 */ lfd f31, 0x60(r1)
/* 8018EDEC 0018BD4C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0
/* 8018EDF0 0018BD50 CB C1 00 50 */ lfd f30, 0x50(r1)
/* 8018EDF4 0018BD54 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 8018EDF8 0018BD58 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 8018EDFC 0018BD5C 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8018EE00 0018BD60 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 8018EE04 0018BD64 7C 08 03 A6 */ mtlr r0
/* 8018EE08 0018BD68 38 21 00 70 */ addi r1, r1, 0x70
/* 8018EE0C 0018BD6C 4E 80 00 20 */ blr
.global CalculateRenderBounds__14CScriptEMPulseFv
CalculateRenderBounds__14CScriptEMPulseFv:
/* 8018EE10 0018BD70 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8018EE14 0018BD74 7C 08 02 A6 */ mflr r0
/* 8018EE18 0018BD78 90 01 00 34 */ stw r0, 0x34(r1)
/* 8018EE1C 0018BD7C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8018EE20 0018BD80 7C 7F 1B 78 */ mr r31, r3
/* 8018EE24 0018BD84 38 61 00 08 */ addi r3, r1, 8
/* 8018EE28 0018BD88 7F E4 FB 78 */ mr r4, r31
/* 8018EE2C 0018BD8C 48 00 00 B9 */ bl CalculateBoundingBox__14CScriptEMPulseCFv
/* 8018EE30 0018BD90 80 61 00 08 */ lwz r3, 8(r1)
/* 8018EE34 0018BD94 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8018EE38 0018BD98 90 7F 00 9C */ stw r3, 0x9c(r31)
/* 8018EE3C 0018BD9C 90 1F 00 A0 */ stw r0, 0xa0(r31)
/* 8018EE40 0018BDA0 80 01 00 10 */ lwz r0, 0x10(r1)
/* 8018EE44 0018BDA4 90 1F 00 A4 */ stw r0, 0xa4(r31)
/* 8018EE48 0018BDA8 80 61 00 14 */ lwz r3, 0x14(r1)
/* 8018EE4C 0018BDAC 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8018EE50 0018BDB0 90 7F 00 A8 */ stw r3, 0xa8(r31)
/* 8018EE54 0018BDB4 90 1F 00 AC */ stw r0, 0xac(r31)
/* 8018EE58 0018BDB8 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8018EE5C 0018BDBC 90 1F 00 B0 */ stw r0, 0xb0(r31)
/* 8018EE60 0018BDC0 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8018EE64 0018BDC4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8018EE68 0018BDC8 7C 08 03 A6 */ mtlr r0
/* 8018EE6C 0018BDCC 38 21 00 30 */ addi r1, r1, 0x30
/* 8018EE70 0018BDD0 4E 80 00 20 */ blr
.global GetTouchBounds__14CScriptEMPulseCFv
GetTouchBounds__14CScriptEMPulseCFv:
/* 8018EE74 0018BDD4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8018EE78 0018BDD8 7C 08 02 A6 */ mflr r0
/* 8018EE7C 0018BDDC 90 01 00 34 */ stw r0, 0x34(r1)
/* 8018EE80 0018BDE0 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8018EE84 0018BDE4 7C 7F 1B 78 */ mr r31, r3
/* 8018EE88 0018BDE8 38 61 00 08 */ addi r3, r1, 8
/* 8018EE8C 0018BDEC 48 00 00 59 */ bl CalculateBoundingBox__14CScriptEMPulseCFv
/* 8018EE90 0018BDF0 38 00 00 01 */ li r0, 1
/* 8018EE94 0018BDF4 28 1F 00 00 */ cmplwi r31, 0
/* 8018EE98 0018BDF8 98 1F 00 18 */ stb r0, 0x18(r31)
/* 8018EE9C 0018BDFC 41 82 00 34 */ beq lbl_8018EED0
/* 8018EEA0 0018BE00 C0 01 00 08 */ lfs f0, 8(r1)
/* 8018EEA4 0018BE04 D0 1F 00 00 */ stfs f0, 0(r31)
/* 8018EEA8 0018BE08 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 8018EEAC 0018BE0C D0 1F 00 04 */ stfs f0, 4(r31)
/* 8018EEB0 0018BE10 C0 01 00 10 */ lfs f0, 0x10(r1)
/* 8018EEB4 0018BE14 D0 1F 00 08 */ stfs f0, 8(r31)
/* 8018EEB8 0018BE18 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 8018EEBC 0018BE1C D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 8018EEC0 0018BE20 C0 01 00 18 */ lfs f0, 0x18(r1)
/* 8018EEC4 0018BE24 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 8018EEC8 0018BE28 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 8018EECC 0018BE2C D0 1F 00 14 */ stfs f0, 0x14(r31)
lbl_8018EED0:
/* 8018EED0 0018BE30 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8018EED4 0018BE34 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8018EED8 0018BE38 7C 08 03 A6 */ mtlr r0
/* 8018EEDC 0018BE3C 38 21 00 30 */ addi r1, r1, 0x30
/* 8018EEE0 0018BE40 4E 80 00 20 */ blr
.global CalculateBoundingBox__14CScriptEMPulseCFv
CalculateBoundingBox__14CScriptEMPulseCFv:
/* 8018EEE4 0018BE44 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8018EEE8 0018BE48 7C 08 02 A6 */ mflr r0
/* 8018EEEC 0018BE4C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8018EEF0 0018BE50 38 A1 00 08 */ addi r5, r1, 8
/* 8018EEF4 0018BE54 C0 E4 00 F0 */ lfs f7, 0xf0(r4)
/* 8018EEF8 0018BE58 C0 C4 00 60 */ lfs f6, 0x60(r4)
/* 8018EEFC 0018BE5C C0 24 00 40 */ lfs f1, 0x40(r4)
/* 8018EF00 0018BE60 C0 A4 00 50 */ lfs f5, 0x50(r4)
/* 8018EF04 0018BE64 EC 06 38 2A */ fadds f0, f6, f7
/* 8018EF08 0018BE68 EC 81 38 2A */ fadds f4, f1, f7
/* 8018EF0C 0018BE6C 38 81 00 14 */ addi r4, r1, 0x14
/* 8018EF10 0018BE70 EC 41 38 28 */ fsubs f2, f1, f7
/* 8018EF14 0018BE74 EC 65 38 2A */ fadds f3, f5, f7
/* 8018EF18 0018BE78 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 8018EF1C 0018BE7C EC 25 38 28 */ fsubs f1, f5, f7
/* 8018EF20 0018BE80 EC 06 38 28 */ fsubs f0, f6, f7
/* 8018EF24 0018BE84 D0 81 00 08 */ stfs f4, 8(r1)
/* 8018EF28 0018BE88 D0 61 00 0C */ stfs f3, 0xc(r1)
/* 8018EF2C 0018BE8C D0 41 00 14 */ stfs f2, 0x14(r1)
/* 8018EF30 0018BE90 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 8018EF34 0018BE94 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8018EF38 0018BE98 48 1A 95 D1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8018EF3C 0018BE9C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8018EF40 0018BEA0 7C 08 03 A6 */ mtlr r0
/* 8018EF44 0018BEA4 38 21 00 20 */ addi r1, r1, 0x20
/* 8018EF48 0018BEA8 4E 80 00 20 */ blr
.global Think__14CScriptEMPulseFfR13CStateManager
Think__14CScriptEMPulseFfR13CStateManager:
/* 8018EF4C 0018BEAC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8018EF50 0018BEB0 7C 08 02 A6 */ mflr r0
/* 8018EF54 0018BEB4 90 01 00 34 */ stw r0, 0x34(r1)
/* 8018EF58 0018BEB8 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 8018EF5C 0018BEBC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 8018EF60 0018BEC0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8018EF64 0018BEC4 88 03 00 30 */ lbz r0, 0x30(r3)
/* 8018EF68 0018BEC8 FF E0 08 90 */ fmr f31, f1
/* 8018EF6C 0018BECC 7C 7F 1B 78 */ mr r31, r3
/* 8018EF70 0018BED0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8018EF74 0018BED4 41 82 00 68 */ beq lbl_8018EFDC
/* 8018EF78 0018BED8 C0 5F 00 EC */ lfs f2, 0xec(r31)
/* 8018EF7C 0018BEDC C0 1F 00 F4 */ lfs f0, 0xf4(r31)
/* 8018EF80 0018BEE0 C0 3F 00 E8 */ lfs f1, 0xe8(r31)
/* 8018EF84 0018BEE4 EC 42 00 28 */ fsubs f2, f2, f0
/* 8018EF88 0018BEE8 C0 1F 00 F0 */ lfs f0, 0xf0(r31)
/* 8018EF8C 0018BEEC EC 22 08 24 */ fdivs f1, f2, f1
/* 8018EF90 0018BEF0 EC 01 07 FA */ fmadds f0, f1, f31, f0
/* 8018EF94 0018BEF4 D0 1F 00 F0 */ stfs f0, 0xf0(r31)
/* 8018EF98 0018BEF8 C0 3F 00 F0 */ lfs f1, 0xf0(r31)
/* 8018EF9C 0018BEFC C0 1F 00 EC */ lfs f0, 0xec(r31)
/* 8018EFA0 0018BF00 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8018EFA4 0018BF04 4C 41 13 82 */ cror 2, 1, 2
/* 8018EFA8 0018BF08 40 82 00 1C */ bne lbl_8018EFC4
/* 8018EFAC 0018BF0C A0 1F 00 08 */ lhz r0, 8(r31)
/* 8018EFB0 0018BF10 7C 83 23 78 */ mr r3, r4
/* 8018EFB4 0018BF14 38 81 00 0C */ addi r4, r1, 0xc
/* 8018EFB8 0018BF18 B0 01 00 08 */ sth r0, 8(r1)
/* 8018EFBC 0018BF1C B0 01 00 0C */ sth r0, 0xc(r1)
/* 8018EFC0 0018BF20 4B EB D2 AD */ bl FreeScriptObject__13CStateManagerF9TUniqueId
lbl_8018EFC4:
/* 8018EFC4 0018BF24 80 7F 01 14 */ lwz r3, 0x114(r31)
/* 8018EFC8 0018BF28 FC 20 F8 90 */ fmr f1, f31
/* 8018EFCC 0018BF2C 81 83 00 00 */ lwz r12, 0(r3)
/* 8018EFD0 0018BF30 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8018EFD4 0018BF34 7D 89 03 A6 */ mtctr r12
/* 8018EFD8 0018BF38 4E 80 04 21 */ bctrl
lbl_8018EFDC:
/* 8018EFDC 0018BF3C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8018EFE0 0018BF40 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8018EFE4 0018BF44 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 8018EFE8 0018BF48 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8018EFEC 0018BF4C 7C 08 03 A6 */ mtlr r0
/* 8018EFF0 0018BF50 38 21 00 30 */ addi r1, r1, 0x30
/* 8018EFF4 0018BF54 4E 80 00 20 */ blr
.global Accept__14CScriptEMPulseFR8IVisitor
Accept__14CScriptEMPulseFR8IVisitor:
/* 8018EFF8 0018BF58 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8018EFFC 0018BF5C 7C 08 02 A6 */ mflr r0
/* 8018F000 0018BF60 90 01 00 14 */ stw r0, 0x14(r1)
/* 8018F004 0018BF64 7C 60 1B 78 */ mr r0, r3
/* 8018F008 0018BF68 7C 83 23 78 */ mr r3, r4
/* 8018F00C 0018BF6C 81 84 00 00 */ lwz r12, 0(r4)
/* 8018F010 0018BF70 7C 04 03 78 */ mr r4, r0
/* 8018F014 0018BF74 81 8C 00 08 */ lwz r12, 8(r12)
/* 8018F018 0018BF78 7D 89 03 A6 */ mtctr r12
/* 8018F01C 0018BF7C 4E 80 04 21 */ bctrl
/* 8018F020 0018BF80 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8018F024 0018BF84 7C 08 03 A6 */ mtlr r0
/* 8018F028 0018BF88 38 21 00 10 */ addi r1, r1, 0x10
/* 8018F02C 0018BF8C 4E 80 00 20 */ blr
.global AcceptScriptMsg__14CScriptEMPulseF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__14CScriptEMPulseF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8018F030 0018BF90 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8018F034 0018BF94 7C 08 02 A6 */ mflr r0
/* 8018F038 0018BF98 90 01 00 74 */ stw r0, 0x74(r1)
/* 8018F03C 0018BF9C 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 8018F040 0018BFA0 7C 9F 23 78 */ mr r31, r4
/* 8018F044 0018BFA4 93 C1 00 68 */ stw r30, 0x68(r1)
/* 8018F048 0018BFA8 7C DE 33 78 */ mr r30, r6
/* 8018F04C 0018BFAC 93 A1 00 64 */ stw r29, 0x64(r1)
/* 8018F050 0018BFB0 7C 7D 1B 78 */ mr r29, r3
/* 8018F054 0018BFB4 93 81 00 60 */ stw r28, 0x60(r1)
/* 8018F058 0018BFB8 A0 05 00 00 */ lhz r0, 0(r5)
/* 8018F05C 0018BFBC 38 A1 00 10 */ addi r5, r1, 0x10
/* 8018F060 0018BFC0 B0 01 00 10 */ sth r0, 0x10(r1)
/* 8018F064 0018BFC4 4B EC 45 B1 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8018F068 0018BFC8 2C 1F 00 01 */ cmpwi r31, 1
/* 8018F06C 0018BFCC 41 82 00 08 */ beq lbl_8018F074
/* 8018F070 0018BFD0 48 00 01 1C */ b lbl_8018F18C
lbl_8018F074:
/* 8018F074 0018BFD4 3C 60 80 3D */ lis r3, lbl_803D0940@ha
/* 8018F078 0018BFD8 3B 80 00 00 */ li r28, 0
/* 8018F07C 0018BFDC 38 83 09 40 */ addi r4, r3, lbl_803D0940@l
/* 8018F080 0018BFE0 38 A0 00 00 */ li r5, 0
/* 8018F084 0018BFE4 38 60 03 40 */ li r3, 0x340
/* 8018F088 0018BFE8 48 18 67 E5 */ bl __nw__FUlPCcPCc
/* 8018F08C 0018BFEC 7C 7F 1B 79 */ or. r31, r3, r3
/* 8018F090 0018BFF0 41 82 00 2C */ beq lbl_8018F0BC
/* 8018F094 0018BFF4 38 61 00 14 */ addi r3, r1, 0x14
/* 8018F098 0018BFF8 38 9D 01 08 */ addi r4, r29, 0x108
/* 8018F09C 0018BFFC 48 1B 1E 0D */ bl __ct__6CTokenFRC6CToken
/* 8018F0A0 0018C000 7F E3 FB 78 */ mr r3, r31
/* 8018F0A4 0018C004 38 81 00 14 */ addi r4, r1, 0x14
/* 8018F0A8 0018C008 3B 80 00 01 */ li r28, 1
/* 8018F0AC 0018C00C 38 A0 00 00 */ li r5, 0
/* 8018F0B0 0018C010 38 C0 00 01 */ li r6, 1
/* 8018F0B4 0018C014 48 19 03 2D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags"
/* 8018F0B8 0018C018 7C 7F 1B 78 */ mr r31, r3
lbl_8018F0BC:
/* 8018F0BC 0018C01C 80 7D 01 14 */ lwz r3, 0x114(r29)
/* 8018F0C0 0018C020 28 03 00 00 */ cmplwi r3, 0
/* 8018F0C4 0018C024 41 82 00 18 */ beq lbl_8018F0DC
/* 8018F0C8 0018C028 81 83 00 00 */ lwz r12, 0(r3)
/* 8018F0CC 0018C02C 38 80 00 01 */ li r4, 1
/* 8018F0D0 0018C030 81 8C 00 08 */ lwz r12, 8(r12)
/* 8018F0D4 0018C034 7D 89 03 A6 */ mtctr r12
/* 8018F0D8 0018C038 4E 80 04 21 */ bctrl
lbl_8018F0DC:
/* 8018F0DC 0018C03C 7F 80 07 75 */ extsb. r0, r28
/* 8018F0E0 0018C040 93 FD 01 14 */ stw r31, 0x114(r29)
/* 8018F0E4 0018C044 41 82 00 10 */ beq lbl_8018F0F4
/* 8018F0E8 0018C048 38 61 00 14 */ addi r3, r1, 0x14
/* 8018F0EC 0018C04C 38 80 00 00 */ li r4, 0
/* 8018F0F0 0018C050 48 1B 1D 51 */ bl __dt__6CTokenFv
lbl_8018F0F4:
/* 8018F0F4 0018C054 83 FD 01 14 */ lwz r31, 0x114(r29)
/* 8018F0F8 0018C058 38 61 00 28 */ addi r3, r1, 0x28
/* 8018F0FC 0018C05C 38 9D 00 34 */ addi r4, r29, 0x34
/* 8018F100 0018C060 48 18 3B 41 */ bl GetRotation__12CTransform4fCFv
/* 8018F104 0018C064 7F E3 FB 78 */ mr r3, r31
/* 8018F108 0018C068 38 81 00 28 */ addi r4, r1, 0x28
/* 8018F10C 0018C06C 81 9F 00 00 */ lwz r12, 0(r31)
/* 8018F110 0018C070 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8018F114 0018C074 7D 89 03 A6 */ mtctr r12
/* 8018F118 0018C078 4E 80 04 21 */ bctrl
/* 8018F11C 0018C07C C0 5D 00 60 */ lfs f2, 0x60(r29)
/* 8018F120 0018C080 38 81 00 1C */ addi r4, r1, 0x1c
/* 8018F124 0018C084 C0 3D 00 50 */ lfs f1, 0x50(r29)
/* 8018F128 0018C088 C0 1D 00 40 */ lfs f0, 0x40(r29)
/* 8018F12C 0018C08C D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8018F130 0018C090 D0 21 00 20 */ stfs f1, 0x20(r1)
/* 8018F134 0018C094 D0 41 00 24 */ stfs f2, 0x24(r1)
/* 8018F138 0018C098 80 7D 01 14 */ lwz r3, 0x114(r29)
/* 8018F13C 0018C09C 81 83 00 00 */ lwz r12, 0(r3)
/* 8018F140 0018C0A0 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8018F144 0018C0A4 7D 89 03 A6 */ mtctr r12
/* 8018F148 0018C0A8 4E 80 04 21 */ bctrl
/* 8018F14C 0018C0AC 80 7D 01 14 */ lwz r3, 0x114(r29)
/* 8018F150 0018C0B0 38 80 00 01 */ li r4, 1
/* 8018F154 0018C0B4 81 83 00 00 */ lwz r12, 0(r3)
/* 8018F158 0018C0B8 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8018F15C 0018C0BC 7D 89 03 A6 */ mtctr r12
/* 8018F160 0018C0C0 4E 80 04 21 */ bctrl
/* 8018F164 0018C0C4 A0 1D 00 08 */ lhz r0, 8(r29)
/* 8018F168 0018C0C8 38 81 00 0C */ addi r4, r1, 0xc
/* 8018F16C 0018C0CC B0 01 00 0C */ sth r0, 0xc(r1)
/* 8018F170 0018C0D0 80 7E 08 B8 */ lwz r3, 0x8b8(r30)
/* 8018F174 0018C0D4 B0 01 00 08 */ sth r0, 8(r1)
/* 8018F178 0018C0D8 80 63 00 00 */ lwz r3, 0(r3)
/* 8018F17C 0018C0DC C0 3D 01 00 */ lfs f1, 0x100(r29)
/* 8018F180 0018C0E0 C0 5D 00 F8 */ lfs f2, 0xf8(r29)
/* 8018F184 0018C0E4 38 63 01 88 */ addi r3, r3, 0x188
/* 8018F188 0018C0E8 48 03 19 B1 */ bl AddSource__19CStaticInterferenceF9TUniqueId
lbl_8018F18C:
/* 8018F18C 0018C0EC 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8018F190 0018C0F0 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 8018F194 0018C0F4 83 C1 00 68 */ lwz r30, 0x68(r1)
/* 8018F198 0018C0F8 83 A1 00 64 */ lwz r29, 0x64(r1)
/* 8018F19C 0018C0FC 83 81 00 60 */ lwz r28, 0x60(r1)
/* 8018F1A0 0018C100 7C 08 03 A6 */ mtlr r0
/* 8018F1A4 0018C104 38 21 00 70 */ addi r1, r1, 0x70
/* 8018F1A8 0018C108 4E 80 00 20 */ blr
.global "__ct__14CScriptEMPulseF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfffffUi"
"__ct__14CScriptEMPulseF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfffffUi":
/* 8018F1AC 0018C10C 94 21 FE 50 */ stwu r1, -0x1b0(r1)
/* 8018F1B0 0018C110 7C 08 02 A6 */ mflr r0
/* 8018F1B4 0018C114 90 01 01 B4 */ stw r0, 0x1b4(r1)
/* 8018F1B8 0018C118 39 61 01 B0 */ addi r11, r1, 0x1b0
/* 8018F1BC 0018C11C 48 1F A8 21 */ bl sub_803899dc
/* 8018F1C0 0018C120 BF 21 01 5C */ stmw r25, 0x15c(r1)
/* 8018F1C4 0018C124 FF 20 08 90 */ fmr f25, f1
/* 8018F1C8 0018C128 7C 7F 1B 78 */ mr r31, r3
/* 8018F1CC 0018C12C FF 40 10 90 */ fmr f26, f2
/* 8018F1D0 0018C130 7C 99 23 78 */ mr r25, r4
/* 8018F1D4 0018C134 FF 60 18 90 */ fmr f27, f3
/* 8018F1D8 0018C138 7C BA 2B 78 */ mr r26, r5
/* 8018F1DC 0018C13C FF 80 20 90 */ fmr f28, f4
/* 8018F1E0 0018C140 7C DB 33 78 */ mr r27, r6
/* 8018F1E4 0018C144 FF A0 28 90 */ fmr f29, f5
/* 8018F1E8 0018C148 7C FC 3B 78 */ mr r28, r7
/* 8018F1EC 0018C14C FF C0 30 90 */ fmr f30, f6
/* 8018F1F0 0018C150 7D 1D 43 78 */ mr r29, r8
/* 8018F1F4 0018C154 FF E0 38 90 */ fmr f31, f7
/* 8018F1F8 0018C158 7D 3E 4B 78 */ mr r30, r9
/* 8018F1FC 0018C15C 38 61 01 00 */ addi r3, r1, 0x100
/* 8018F200 0018C160 4B EA B5 A5 */ bl CModelDataNull__10CModelDataFv
/* 8018F204 0018C164 38 61 00 98 */ addi r3, r1, 0x98
/* 8018F208 0018C168 4B E8 BC 31 */ bl None__16CActorParametersFv
/* 8018F20C 0018C16C 38 61 00 30 */ addi r3, r1, 0x30
/* 8018F210 0018C170 38 81 00 98 */ addi r4, r1, 0x98
/* 8018F214 0018C174 38 A0 00 01 */ li r5, 1
/* 8018F218 0018C178 4B F7 75 F5 */ bl sub_8010680c
/* 8018F21C 0018C17C A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13)
/* 8018F220 0018C180 38 00 00 00 */ li r0, 0
/* 8018F224 0018C184 80 AD 8E F0 */ lwz r5, lbl_805A7AB0@sda21(r13)
/* 8018F228 0018C188 38 60 00 00 */ li r3, 0
/* 8018F22C 0018C18C B0 81 00 10 */ sth r4, 0x10(r1)
/* 8018F230 0018C190 38 80 00 01 */ li r4, 1
/* 8018F234 0018C194 90 01 00 2C */ stw r0, 0x2c(r1)
/* 8018F238 0018C198 90 01 00 28 */ stw r0, 0x28(r1)
/* 8018F23C 0018C19C 48 1F AC B9 */ bl __shl2i
/* 8018F240 0018C1A0 80 A1 00 28 */ lwz r5, 0x28(r1)
/* 8018F244 0018C1A4 39 61 00 30 */ addi r11, r1, 0x30
/* 8018F248 0018C1A8 80 C1 00 2C */ lwz r6, 0x2c(r1)
/* 8018F24C 0018C1AC 38 01 00 10 */ addi r0, r1, 0x10
/* 8018F250 0018C1B0 7C A3 1B 78 */ or r3, r5, r3
/* 8018F254 0018C1B4 A1 39 00 00 */ lhz r9, 0(r25)
/* 8018F258 0018C1B8 7C C4 23 78 */ or r4, r6, r4
/* 8018F25C 0018C1BC 90 61 00 28 */ stw r3, 0x28(r1)
/* 8018F260 0018C1C0 7F E3 FB 78 */ mr r3, r31
/* 8018F264 0018C1C4 7F A5 EB 78 */ mr r5, r29
/* 8018F268 0018C1C8 90 81 00 2C */ stw r4, 0x2c(r1)
/* 8018F26C 0018C1CC 7F 46 D3 78 */ mr r6, r26
/* 8018F270 0018C1D0 7F 67 DB 78 */ mr r7, r27
/* 8018F274 0018C1D4 7F 88 E3 78 */ mr r8, r28
/* 8018F278 0018C1D8 B1 21 00 14 */ sth r9, 0x14(r1)
/* 8018F27C 0018C1DC 38 81 00 14 */ addi r4, r1, 0x14
/* 8018F280 0018C1E0 39 21 01 00 */ addi r9, r1, 0x100
/* 8018F284 0018C1E4 39 41 00 28 */ addi r10, r1, 0x28
/* 8018F288 0018C1E8 91 61 00 08 */ stw r11, 8(r1)
/* 8018F28C 0018C1EC 90 01 00 0C */ stw r0, 0xc(r1)
/* 8018F290 0018C1F0 4B EC 65 91 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 8018F294 0018C1F4 38 61 00 30 */ addi r3, r1, 0x30
/* 8018F298 0018C1F8 38 80 FF FF */ li r4, -1
/* 8018F29C 0018C1FC 4B F7 73 6D */ bl __dt__16CActorParametersFv
/* 8018F2A0 0018C200 38 61 00 98 */ addi r3, r1, 0x98
/* 8018F2A4 0018C204 38 80 FF FF */ li r4, -1
/* 8018F2A8 0018C208 4B F7 73 61 */ bl __dt__16CActorParametersFv
/* 8018F2AC 0018C20C 38 61 01 00 */ addi r3, r1, 0x100
/* 8018F2B0 0018C210 38 80 FF FF */ li r4, -1
/* 8018F2B4 0018C214 4B F8 77 99 */ bl __dt__10CModelDataFv
/* 8018F2B8 0018C218 3C 60 80 3E */ lis r3, lbl_803E4400@ha
/* 8018F2BC 0018C21C 3C 80 50 41 */ lis r4, 0x50415254@ha
/* 8018F2C0 0018C220 38 03 44 00 */ addi r0, r3, lbl_803E4400@l
/* 8018F2C4 0018C224 38 61 00 18 */ addi r3, r1, 0x18
/* 8018F2C8 0018C228 90 1F 00 00 */ stw r0, 0(r31)
/* 8018F2CC 0018C22C 38 04 52 54 */ addi r0, r4, 0x50415254@l
/* 8018F2D0 0018C230 38 A1 00 20 */ addi r5, r1, 0x20
/* 8018F2D4 0018C234 D3 7F 00 E8 */ stfs f27, 0xe8(r31)
/* 8018F2D8 0018C238 D3 5F 00 EC */ stfs f26, 0xec(r31)
/* 8018F2DC 0018C23C D3 3F 00 F0 */ stfs f25, 0xf0(r31)
/* 8018F2E0 0018C240 D3 3F 00 F4 */ stfs f25, 0xf4(r31)
/* 8018F2E4 0018C244 D3 9F 00 F8 */ stfs f28, 0xf8(r31)
/* 8018F2E8 0018C248 D3 BF 00 FC */ stfs f29, 0xfc(r31)
/* 8018F2EC 0018C24C D3 DF 01 00 */ stfs f30, 0x100(r31)
/* 8018F2F0 0018C250 D3 FF 01 04 */ stfs f31, 0x104(r31)
/* 8018F2F4 0018C254 90 01 00 20 */ stw r0, 0x20(r1)
/* 8018F2F8 0018C258 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8018F2FC 0018C25C 93 C1 00 24 */ stw r30, 0x24(r1)
/* 8018F300 0018C260 81 84 00 00 */ lwz r12, 0(r4)
/* 8018F304 0018C264 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8018F308 0018C268 7D 89 03 A6 */ mtctr r12
/* 8018F30C 0018C26C 4E 80 04 21 */ bctrl
/* 8018F310 0018C270 3B 3F 01 08 */ addi r25, r31, 0x108
/* 8018F314 0018C274 38 81 00 18 */ addi r4, r1, 0x18
/* 8018F318 0018C278 7F 23 CB 78 */ mr r3, r25
/* 8018F31C 0018C27C 48 1B 1B 8D */ bl __ct__6CTokenFRC6CToken
/* 8018F320 0018C280 7F 23 CB 78 */ mr r3, r25
/* 8018F324 0018C284 48 1B 1A E9 */ bl GetObj__6CTokenFv
/* 8018F328 0018C288 80 03 00 04 */ lwz r0, 4(r3)
/* 8018F32C 0018C28C 38 61 00 18 */ addi r3, r1, 0x18
/* 8018F330 0018C290 38 80 FF FF */ li r4, -1
/* 8018F334 0018C294 90 19 00 08 */ stw r0, 8(r25)
/* 8018F338 0018C298 48 1B 1B 09 */ bl __dt__6CTokenFv
/* 8018F33C 0018C29C 38 00 00 00 */ li r0, 0
/* 8018F340 0018C2A0 7F E3 FB 78 */ mr r3, r31
/* 8018F344 0018C2A4 90 1F 01 14 */ stw r0, 0x114(r31)
/* 8018F348 0018C2A8 39 61 01 B0 */ addi r11, r1, 0x1b0
/* 8018F34C 0018C2AC 48 1F A6 DD */ bl sub_80389a28
/* 8018F350 0018C2B0 BB 21 01 5C */ lmw r25, 0x15c(r1)
/* 8018F354 0018C2B4 80 01 01 B4 */ lwz r0, 0x1b4(r1)
/* 8018F358 0018C2B8 7C 08 03 A6 */ mtlr r0
/* 8018F35C 0018C2BC 38 21 01 B0 */ addi r1, r1, 0x1b0
/* 8018F360 0018C2C0 4E 80 00 20 */ blr

View File

@ -0,0 +1,881 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Accept__22CScriptPickupGeneratorFR8IVisitor
Accept__22CScriptPickupGeneratorFR8IVisitor:
/* 8015DE88 0015ADE8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8015DE8C 0015ADEC 7C 08 02 A6 */ mflr r0
/* 8015DE90 0015ADF0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015DE94 0015ADF4 7C 60 1B 78 */ mr r0, r3
/* 8015DE98 0015ADF8 7C 83 23 78 */ mr r3, r4
/* 8015DE9C 0015ADFC 81 84 00 00 */ lwz r12, 0(r4)
/* 8015DEA0 0015AE00 7C 04 03 78 */ mr r4, r0
/* 8015DEA4 0015AE04 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 8015DEA8 0015AE08 7D 89 03 A6 */ mtctr r12
/* 8015DEAC 0015AE0C 4E 80 04 21 */ bctrl
/* 8015DEB0 0015AE10 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8015DEB4 0015AE14 7C 08 03 A6 */ mtlr r0
/* 8015DEB8 0015AE18 38 21 00 10 */ addi r1, r1, 0x10
/* 8015DEBC 0015AE1C 4E 80 00 20 */ blr
.global AcceptScriptMsg__22CScriptPickupGeneratorF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__22CScriptPickupGeneratorF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8015DEC0 0015AE20 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 8015DEC4 0015AE24 7C 08 02 A6 */ mflr r0
/* 8015DEC8 0015AE28 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 8015DECC 0015AE2C BF 61 00 BC */ stmw r27, 0xbc(r1)
/* 8015DED0 0015AE30 7C 9D 23 78 */ mr r29, r4
/* 8015DED4 0015AE34 2C 1D 00 0D */ cmpwi r29, 0xd
/* 8015DED8 0015AE38 7C 7C 1B 78 */ mr r28, r3
/* 8015DEDC 0015AE3C 7C BE 2B 78 */ mr r30, r5
/* 8015DEE0 0015AE40 7C DF 33 78 */ mr r31, r6
/* 8015DEE4 0015AE44 41 82 00 08 */ beq lbl_8015DEEC
/* 8015DEE8 0015AE48 48 00 03 08 */ b lbl_8015E1F0
lbl_8015DEEC:
/* 8015DEEC 0015AE4C 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 8015DEF0 0015AE50 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8015DEF4 0015AE54 41 82 02 FC */ beq lbl_8015E1F0
/* 8015DEF8 0015AE58 C0 22 9F 28 */ lfs f1, lbl_805ABC48@sda21(r2)
/* 8015DEFC 0015AE5C C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 8015DF00 0015AE60 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8015DF04 0015AE64 41 82 02 EC */ beq lbl_8015E1F0
/* 8015DF08 0015AE68 C0 5C 00 44 */ lfs f2, 0x44(r28)
/* 8015DF0C 0015AE6C C0 22 9F 2C */ lfs f1, lbl_805ABC4C@sda21(r2)
/* 8015DF10 0015AE70 C0 02 9F 30 */ lfs f0, lbl_805ABC50@sda21(r2)
/* 8015DF14 0015AE74 EC 22 08 28 */ fsubs f1, f2, f1
/* 8015DF18 0015AE78 D0 3C 00 44 */ stfs f1, 0x44(r28)
/* 8015DF1C 0015AE7C C0 3C 00 44 */ lfs f1, 0x44(r28)
/* 8015DF20 0015AE80 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8015DF24 0015AE84 40 80 00 0C */ bge lbl_8015DF30
/* 8015DF28 0015AE88 48 00 02 F9 */ bl ResetDelayTimer__22CScriptPickupGeneratorFv
/* 8015DF2C 0015AE8C 48 00 02 C4 */ b lbl_8015E1F0
lbl_8015DF30:
/* 8015DF30 0015AE90 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8015DF34 0015AE94 38 E0 00 00 */ li r7, 0
/* 8015DF38 0015AE98 90 E1 00 94 */ stw r7, 0x94(r1)
/* 8015DF3C 0015AE9C 7F E4 FB 78 */ mr r4, r31
/* 8015DF40 0015AEA0 38 A1 00 10 */ addi r5, r1, 0x10
/* 8015DF44 0015AEA4 38 C1 00 90 */ addi r6, r1, 0x90
/* 8015DF48 0015AEA8 90 E1 00 98 */ stw r7, 0x98(r1)
/* 8015DF4C 0015AEAC 90 E1 00 9C */ stw r7, 0x9c(r1)
/* 8015DF50 0015AEB0 B0 01 00 10 */ sth r0, 0x10(r1)
/* 8015DF54 0015AEB4 48 00 07 F5 */ bl "GetGeneratorIds__22CScriptPickupGeneratorFR13CStateManager9TUniqueIdRQ24rstl18vector<9TUniqueId>"
/* 8015DF58 0015AEB8 38 00 00 00 */ li r0, 0
/* 8015DF5C 0015AEBC 7F 83 E3 78 */ mr r3, r28
/* 8015DF60 0015AEC0 90 01 00 84 */ stw r0, 0x84(r1)
/* 8015DF64 0015AEC4 7F E4 FB 78 */ mr r4, r31
/* 8015DF68 0015AEC8 38 A1 00 80 */ addi r5, r1, 0x80
/* 8015DF6C 0015AECC 90 01 00 88 */ stw r0, 0x88(r1)
/* 8015DF70 0015AED0 90 01 00 8C */ stw r0, 0x8c(r1)
/* 8015DF74 0015AED4 48 00 04 E9 */ bl "GetPickupTemplates__22CScriptPickupGeneratorFR13CStateManagerRQ24rstl35vector<Q24rstl18pair<f,9TEditorId>>"
/* 8015DF78 0015AED8 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8015DF7C 0015AEDC 2C 00 00 00 */ cmpwi r0, 0
/* 8015DF80 0015AEE0 40 82 00 84 */ bne lbl_8015E004
/* 8015DF84 0015AEE4 80 61 00 8C */ lwz r3, 0x8c(r1)
/* 8015DF88 0015AEE8 54 00 18 38 */ slwi r0, r0, 3
/* 8015DF8C 0015AEEC 7C 03 02 14 */ add r0, r3, r0
/* 8015DF90 0015AEF0 90 61 00 68 */ stw r3, 0x68(r1)
/* 8015DF94 0015AEF4 7C 64 1B 78 */ mr r4, r3
/* 8015DF98 0015AEF8 90 01 00 70 */ stw r0, 0x70(r1)
/* 8015DF9C 0015AEFC 90 01 00 6C */ stw r0, 0x6c(r1)
/* 8015DFA0 0015AF00 90 61 00 64 */ stw r3, 0x64(r1)
/* 8015DFA4 0015AF04 48 00 00 08 */ b lbl_8015DFAC
lbl_8015DFA8:
/* 8015DFA8 0015AF08 38 84 00 08 */ addi r4, r4, 8
lbl_8015DFAC:
/* 8015DFAC 0015AF0C 7C 04 00 40 */ cmplw r4, r0
/* 8015DFB0 0015AF10 40 82 FF F8 */ bne lbl_8015DFA8
/* 8015DFB4 0015AF14 28 03 00 00 */ cmplwi r3, 0
/* 8015DFB8 0015AF18 41 82 00 08 */ beq lbl_8015DFC0
/* 8015DFBC 0015AF1C 48 1B 79 75 */ bl Free__7CMemoryFPCv
lbl_8015DFC0:
/* 8015DFC0 0015AF20 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8015DFC4 0015AF24 80 61 00 9C */ lwz r3, 0x9c(r1)
/* 8015DFC8 0015AF28 54 00 08 3C */ slwi r0, r0, 1
/* 8015DFCC 0015AF2C 7C 03 02 14 */ add r0, r3, r0
/* 8015DFD0 0015AF30 90 61 00 58 */ stw r3, 0x58(r1)
/* 8015DFD4 0015AF34 7C 64 1B 78 */ mr r4, r3
/* 8015DFD8 0015AF38 90 01 00 60 */ stw r0, 0x60(r1)
/* 8015DFDC 0015AF3C 90 01 00 5C */ stw r0, 0x5c(r1)
/* 8015DFE0 0015AF40 90 61 00 54 */ stw r3, 0x54(r1)
/* 8015DFE4 0015AF44 48 00 00 08 */ b lbl_8015DFEC
lbl_8015DFE8:
/* 8015DFE8 0015AF48 38 84 00 02 */ addi r4, r4, 2
lbl_8015DFEC:
/* 8015DFEC 0015AF4C 7C 04 00 40 */ cmplw r4, r0
/* 8015DFF0 0015AF50 40 82 FF F8 */ bne lbl_8015DFE8
/* 8015DFF4 0015AF54 28 03 00 00 */ cmplwi r3, 0
/* 8015DFF8 0015AF58 41 82 01 F8 */ beq lbl_8015E1F0
/* 8015DFFC 0015AF5C 48 1B 79 35 */ bl Free__7CMemoryFPCv
/* 8015E000 0015AF60 48 00 01 F0 */ b lbl_8015E1F0
lbl_8015E004:
/* 8015E004 0015AF64 FC 40 08 90 */ fmr f2, f1
/* 8015E008 0015AF68 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 8015E00C 0015AF6C C0 22 9F 34 */ lfs f1, lbl_805ABC54@sda21(r2)
/* 8015E010 0015AF70 3B 60 00 00 */ li r27, 0
/* 8015E014 0015AF74 48 1B 45 31 */ bl Range__9CRandom16Fff
/* 8015E018 0015AF78 80 81 00 8C */ lwz r4, 0x8c(r1)
/* 8015E01C 0015AF7C 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8015E020 0015AF80 7C 83 23 78 */ mr r3, r4
/* 8015E024 0015AF84 C0 42 9F 34 */ lfs f2, lbl_805ABC54@sda21(r2)
/* 8015E028 0015AF88 7C 09 03 A6 */ mtctr r0
/* 8015E02C 0015AF8C 2C 00 00 00 */ cmpwi r0, 0
/* 8015E030 0015AF90 40 81 00 34 */ ble lbl_8015E064
lbl_8015E034:
/* 8015E034 0015AF94 FC 01 10 40 */ fcmpo cr0, f1, f2
/* 8015E038 0015AF98 C0 63 00 00 */ lfs f3, 0(r3)
/* 8015E03C 0015AF9C 4C 41 13 82 */ cror 2, 1, 2
/* 8015E040 0015AFA0 40 82 00 14 */ bne lbl_8015E054
/* 8015E044 0015AFA4 EC 02 18 2A */ fadds f0, f2, f3
/* 8015E048 0015AFA8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8015E04C 0015AFAC 4C 40 13 82 */ cror 2, 0, 2
/* 8015E050 0015AFB0 41 82 00 14 */ beq lbl_8015E064
lbl_8015E054:
/* 8015E054 0015AFB4 EC 42 18 2A */ fadds f2, f2, f3
/* 8015E058 0015AFB8 38 63 00 08 */ addi r3, r3, 8
/* 8015E05C 0015AFBC 3B 7B 00 01 */ addi r27, r27, 1
/* 8015E060 0015AFC0 42 00 FF D4 */ bdnz lbl_8015E034
lbl_8015E064:
/* 8015E064 0015AFC4 7C 1B 00 00 */ cmpw r27, r0
/* 8015E068 0015AFC8 40 82 00 84 */ bne lbl_8015E0EC
/* 8015E06C 0015AFCC 54 00 18 38 */ slwi r0, r0, 3
/* 8015E070 0015AFD0 90 81 00 48 */ stw r4, 0x48(r1)
/* 8015E074 0015AFD4 7C 04 02 14 */ add r0, r4, r0
/* 8015E078 0015AFD8 7C 83 23 78 */ mr r3, r4
/* 8015E07C 0015AFDC 90 01 00 50 */ stw r0, 0x50(r1)
/* 8015E080 0015AFE0 90 01 00 4C */ stw r0, 0x4c(r1)
/* 8015E084 0015AFE4 90 81 00 44 */ stw r4, 0x44(r1)
/* 8015E088 0015AFE8 48 00 00 08 */ b lbl_8015E090
lbl_8015E08C:
/* 8015E08C 0015AFEC 38 63 00 08 */ addi r3, r3, 8
lbl_8015E090:
/* 8015E090 0015AFF0 7C 03 00 40 */ cmplw r3, r0
/* 8015E094 0015AFF4 40 82 FF F8 */ bne lbl_8015E08C
/* 8015E098 0015AFF8 28 04 00 00 */ cmplwi r4, 0
/* 8015E09C 0015AFFC 41 82 00 0C */ beq lbl_8015E0A8
/* 8015E0A0 0015B000 7C 83 23 78 */ mr r3, r4
/* 8015E0A4 0015B004 48 1B 78 8D */ bl Free__7CMemoryFPCv
lbl_8015E0A8:
/* 8015E0A8 0015B008 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8015E0AC 0015B00C 80 61 00 9C */ lwz r3, 0x9c(r1)
/* 8015E0B0 0015B010 54 00 08 3C */ slwi r0, r0, 1
/* 8015E0B4 0015B014 7C 03 02 14 */ add r0, r3, r0
/* 8015E0B8 0015B018 90 61 00 38 */ stw r3, 0x38(r1)
/* 8015E0BC 0015B01C 7C 64 1B 78 */ mr r4, r3
/* 8015E0C0 0015B020 90 01 00 40 */ stw r0, 0x40(r1)
/* 8015E0C4 0015B024 90 01 00 3C */ stw r0, 0x3c(r1)
/* 8015E0C8 0015B028 90 61 00 34 */ stw r3, 0x34(r1)
/* 8015E0CC 0015B02C 48 00 00 08 */ b lbl_8015E0D4
lbl_8015E0D0:
/* 8015E0D0 0015B030 38 84 00 02 */ addi r4, r4, 2
lbl_8015E0D4:
/* 8015E0D4 0015B034 7C 04 00 40 */ cmplw r4, r0
/* 8015E0D8 0015B038 40 82 FF F8 */ bne lbl_8015E0D0
/* 8015E0DC 0015B03C 28 03 00 00 */ cmplwi r3, 0
/* 8015E0E0 0015B040 41 82 01 10 */ beq lbl_8015E1F0
/* 8015E0E4 0015B044 48 1B 78 4D */ bl Free__7CMemoryFPCv
/* 8015E0E8 0015B048 48 00 01 08 */ b lbl_8015E1F0
lbl_8015E0EC:
/* 8015E0EC 0015B04C 57 60 18 38 */ slwi r0, r27, 3
/* 8015E0F0 0015B050 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 8015E0F4 0015B054 7C 84 02 14 */ add r4, r4, r0
/* 8015E0F8 0015B058 C0 04 00 00 */ lfs f0, 0(r4)
/* 8015E0FC 0015B05C 80 04 00 04 */ lwz r0, 4(r4)
/* 8015E100 0015B060 D0 01 00 78 */ stfs f0, 0x78(r1)
/* 8015E104 0015B064 90 01 00 7C */ stw r0, 0x7c(r1)
/* 8015E108 0015B068 48 1B 43 D5 */ bl Float__9CRandom16Fv
/* 8015E10C 0015B06C 80 81 00 94 */ lwz r4, 0x94(r1)
/* 8015E110 0015B070 3C 00 43 30 */ lis r0, 0x4330
/* 8015E114 0015B074 90 01 00 A0 */ stw r0, 0xa0(r1)
/* 8015E118 0015B078 7F 83 E3 78 */ mr r3, r28
/* 8015E11C 0015B07C 6C 80 80 00 */ xoris r0, r4, 0x8000
/* 8015E120 0015B080 C8 62 9F 40 */ lfd f3, lbl_805ABC60@sda21(r2)
/* 8015E124 0015B084 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 8015E128 0015B088 7F E4 FB 78 */ mr r4, r31
/* 8015E12C 0015B08C C0 02 9F 38 */ lfs f0, lbl_805ABC58@sda21(r2)
/* 8015E130 0015B090 38 A1 00 74 */ addi r5, r1, 0x74
/* 8015E134 0015B094 C8 41 00 A0 */ lfd f2, 0xa0(r1)
/* 8015E138 0015B098 38 C1 00 0C */ addi r6, r1, 0xc
/* 8015E13C 0015B09C 81 01 00 9C */ lwz r8, 0x9c(r1)
/* 8015E140 0015B0A0 EC 42 18 28 */ fsubs f2, f2, f3
/* 8015E144 0015B0A4 80 01 00 7C */ lwz r0, 0x7c(r1)
/* 8015E148 0015B0A8 EC 21 00 B2 */ fmuls f1, f1, f2
/* 8015E14C 0015B0AC EC 00 00 72 */ fmuls f0, f0, f1
/* 8015E150 0015B0B0 FC 00 00 1E */ fctiwz f0, f0
/* 8015E154 0015B0B4 D8 01 00 A8 */ stfd f0, 0xa8(r1)
/* 8015E158 0015B0B8 80 E1 00 AC */ lwz r7, 0xac(r1)
/* 8015E15C 0015B0BC 54 E7 08 3C */ slwi r7, r7, 1
/* 8015E160 0015B0C0 7C E8 3A 2E */ lhzx r7, r8, r7
/* 8015E164 0015B0C4 B0 E1 00 0C */ sth r7, 0xc(r1)
/* 8015E168 0015B0C8 90 01 00 74 */ stw r0, 0x74(r1)
/* 8015E16C 0015B0CC 48 00 00 E9 */ bl GeneratePickup__22CScriptPickupGeneratorFR13CStateManager9TUniqueId9TEditorId
/* 8015E170 0015B0D0 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8015E174 0015B0D4 80 61 00 8C */ lwz r3, 0x8c(r1)
/* 8015E178 0015B0D8 54 00 18 38 */ slwi r0, r0, 3
/* 8015E17C 0015B0DC 7C 03 02 14 */ add r0, r3, r0
/* 8015E180 0015B0E0 90 61 00 28 */ stw r3, 0x28(r1)
/* 8015E184 0015B0E4 7C 64 1B 78 */ mr r4, r3
/* 8015E188 0015B0E8 90 01 00 30 */ stw r0, 0x30(r1)
/* 8015E18C 0015B0EC 90 01 00 2C */ stw r0, 0x2c(r1)
/* 8015E190 0015B0F0 90 61 00 24 */ stw r3, 0x24(r1)
/* 8015E194 0015B0F4 48 00 00 08 */ b lbl_8015E19C
lbl_8015E198:
/* 8015E198 0015B0F8 38 84 00 08 */ addi r4, r4, 8
lbl_8015E19C:
/* 8015E19C 0015B0FC 7C 04 00 40 */ cmplw r4, r0
/* 8015E1A0 0015B100 40 82 FF F8 */ bne lbl_8015E198
/* 8015E1A4 0015B104 28 03 00 00 */ cmplwi r3, 0
/* 8015E1A8 0015B108 41 82 00 08 */ beq lbl_8015E1B0
/* 8015E1AC 0015B10C 48 1B 77 85 */ bl Free__7CMemoryFPCv
lbl_8015E1B0:
/* 8015E1B0 0015B110 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8015E1B4 0015B114 80 61 00 9C */ lwz r3, 0x9c(r1)
/* 8015E1B8 0015B118 54 00 08 3C */ slwi r0, r0, 1
/* 8015E1BC 0015B11C 7C 03 02 14 */ add r0, r3, r0
/* 8015E1C0 0015B120 90 61 00 18 */ stw r3, 0x18(r1)
/* 8015E1C4 0015B124 7C 64 1B 78 */ mr r4, r3
/* 8015E1C8 0015B128 90 01 00 20 */ stw r0, 0x20(r1)
/* 8015E1CC 0015B12C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8015E1D0 0015B130 90 61 00 14 */ stw r3, 0x14(r1)
/* 8015E1D4 0015B134 48 00 00 08 */ b lbl_8015E1DC
lbl_8015E1D8:
/* 8015E1D8 0015B138 38 84 00 02 */ addi r4, r4, 2
lbl_8015E1DC:
/* 8015E1DC 0015B13C 7C 04 00 40 */ cmplw r4, r0
/* 8015E1E0 0015B140 40 82 FF F8 */ bne lbl_8015E1D8
/* 8015E1E4 0015B144 28 03 00 00 */ cmplwi r3, 0
/* 8015E1E8 0015B148 41 82 00 08 */ beq lbl_8015E1F0
/* 8015E1EC 0015B14C 48 1B 77 45 */ bl Free__7CMemoryFPCv
lbl_8015E1F0:
/* 8015E1F0 0015B150 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8015E1F4 0015B154 7F 83 E3 78 */ mr r3, r28
/* 8015E1F8 0015B158 7F A4 EB 78 */ mr r4, r29
/* 8015E1FC 0015B15C 7F E6 FB 78 */ mr r6, r31
/* 8015E200 0015B160 B0 01 00 08 */ sth r0, 8(r1)
/* 8015E204 0015B164 38 A1 00 08 */ addi r5, r1, 8
/* 8015E208 0015B168 4B EF 2F 55 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8015E20C 0015B16C BB 61 00 BC */ lmw r27, 0xbc(r1)
/* 8015E210 0015B170 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 8015E214 0015B174 7C 08 03 A6 */ mtlr r0
/* 8015E218 0015B178 38 21 00 D0 */ addi r1, r1, 0xd0
/* 8015E21C 0015B17C 4E 80 00 20 */ blr
.global ResetDelayTimer__22CScriptPickupGeneratorFv
ResetDelayTimer__22CScriptPickupGeneratorFv:
/* 8015E220 0015B180 C0 43 00 40 */ lfs f2, 0x40(r3)
/* 8015E224 0015B184 C0 02 9F 34 */ lfs f0, lbl_805ABC54@sda21(r2)
/* 8015E228 0015B188 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8015E22C 0015B18C 40 81 00 1C */ ble lbl_8015E248
/* 8015E230 0015B190 C0 02 9F 28 */ lfs f0, lbl_805ABC48@sda21(r2)
/* 8015E234 0015B194 C0 23 00 44 */ lfs f1, 0x44(r3)
/* 8015E238 0015B198 EC 00 10 24 */ fdivs f0, f0, f2
/* 8015E23C 0015B19C EC 01 00 2A */ fadds f0, f1, f0
/* 8015E240 0015B1A0 D0 03 00 44 */ stfs f0, 0x44(r3)
/* 8015E244 0015B1A4 4E 80 00 20 */ blr
lbl_8015E248:
/* 8015E248 0015B1A8 C0 02 9F 48 */ lfs f0, lbl_805ABC68@sda21(r2)
/* 8015E24C 0015B1AC D0 03 00 44 */ stfs f0, 0x44(r3)
/* 8015E250 0015B1B0 4E 80 00 20 */ blr
.global GeneratePickup__22CScriptPickupGeneratorFR13CStateManager9TUniqueId9TEditorId
GeneratePickup__22CScriptPickupGeneratorFR13CStateManager9TUniqueId9TEditorId:
/* 8015E254 0015B1B4 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 8015E258 0015B1B8 7C 08 02 A6 */ mflr r0
/* 8015E25C 0015B1BC 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 8015E260 0015B1C0 BF 21 00 84 */ stmw r25, 0x84(r1)
/* 8015E264 0015B1C4 7C 7E 1B 78 */ mr r30, r3
/* 8015E268 0015B1C8 7C BA 2B 78 */ mr r26, r5
/* 8015E26C 0015B1CC 7C 9F 23 78 */ mr r31, r4
/* 8015E270 0015B1D0 7C D9 33 78 */ mr r25, r6
/* 8015E274 0015B1D4 38 61 00 1C */ addi r3, r1, 0x1c
/* 8015E278 0015B1D8 80 05 00 00 */ lwz r0, 0(r5)
/* 8015E27C 0015B1DC 38 A1 00 28 */ addi r5, r1, 0x28
/* 8015E280 0015B1E0 90 01 00 28 */ stw r0, 0x28(r1)
/* 8015E284 0015B1E4 4B EE 9C 99 */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 8015E288 0015B1E8 A0 01 00 1C */ lhz r0, 0x1c(r1)
/* 8015E28C 0015B1EC 7F E3 FB 78 */ mr r3, r31
/* 8015E290 0015B1F0 38 81 00 18 */ addi r4, r1, 0x18
/* 8015E294 0015B1F4 B0 01 00 24 */ sth r0, 0x24(r1)
/* 8015E298 0015B1F8 B0 01 00 18 */ sth r0, 0x18(r1)
/* 8015E29C 0015B1FC 4B EE E2 D9 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8015E2A0 0015B200 A0 19 00 00 */ lhz r0, 0(r25)
/* 8015E2A4 0015B204 7C 7D 1B 78 */ mr r29, r3
/* 8015E2A8 0015B208 7F E3 FB 78 */ mr r3, r31
/* 8015E2AC 0015B20C 38 81 00 14 */ addi r4, r1, 0x14
/* 8015E2B0 0015B210 B0 01 00 14 */ sth r0, 0x14(r1)
/* 8015E2B4 0015B214 4B EE E2 C1 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8015E2B8 0015B218 28 1D 00 00 */ cmplwi r29, 0
/* 8015E2BC 0015B21C 7C 7C 1B 78 */ mr r28, r3
/* 8015E2C0 0015B220 41 82 01 88 */ beq lbl_8015E448
/* 8015E2C4 0015B224 28 1C 00 00 */ cmplwi r28, 0
/* 8015E2C8 0015B228 41 82 01 80 */ beq lbl_8015E448
/* 8015E2CC 0015B22C 88 DF 0F 94 */ lbz r6, 0xf94(r31)
/* 8015E2D0 0015B230 38 60 00 01 */ li r3, 1
/* 8015E2D4 0015B234 88 1F 0F 94 */ lbz r0, 0xf94(r31)
/* 8015E2D8 0015B238 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 8015E2DC 0015B23C 7F E4 FB 78 */ mr r4, r31
/* 8015E2E0 0015B240 7F 45 D3 78 */ mr r5, r26
/* 8015E2E4 0015B244 98 1F 0F 94 */ stb r0, 0xf94(r31)
/* 8015E2E8 0015B248 54 DD DF FE */ rlwinm r29, r6, 0x1b, 0x1f, 0x1f
/* 8015E2EC 0015B24C 38 61 00 4C */ addi r3, r1, 0x4c
/* 8015E2F0 0015B250 4B EE 9F F9 */ bl GenerateObject__13CStateManagerF9TEditorId
/* 8015E2F4 0015B254 A0 81 00 50 */ lhz r4, 0x50(r1)
/* 8015E2F8 0015B258 88 1F 0F 94 */ lbz r0, 0xf94(r31)
/* 8015E2FC 0015B25C 53 A0 2E B4 */ rlwimi r0, r29, 5, 0x1a, 0x1a
/* 8015E300 0015B260 54 83 04 3E */ clrlwi r3, r4, 0x10
/* 8015E304 0015B264 B0 81 00 20 */ sth r4, 0x20(r1)
/* 8015E308 0015B268 98 1F 0F 94 */ stb r0, 0xf94(r31)
/* 8015E30C 0015B26C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8015E310 0015B270 7C 03 00 40 */ cmplw r3, r0
/* 8015E314 0015B274 41 82 01 34 */ beq lbl_8015E448
/* 8015E318 0015B278 B0 81 00 10 */ sth r4, 0x10(r1)
/* 8015E31C 0015B27C 7F E3 FB 78 */ mr r3, r31
/* 8015E320 0015B280 38 81 00 10 */ addi r4, r1, 0x10
/* 8015E324 0015B284 4B EE E2 51 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8015E328 0015B288 7C 60 1B 78 */ mr r0, r3
/* 8015E32C 0015B28C 38 61 00 44 */ addi r3, r1, 0x44
/* 8015E330 0015B290 7C 1B 03 78 */ mr r27, r0
/* 8015E334 0015B294 7F 64 DB 78 */ mr r4, r27
/* 8015E338 0015B298 4B F5 19 59 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 8015E33C 0015B29C 83 43 00 04 */ lwz r26, 4(r3)
/* 8015E340 0015B2A0 7F 64 DB 78 */ mr r4, r27
/* 8015E344 0015B2A4 38 61 00 3C */ addi r3, r1, 0x3c
/* 8015E348 0015B2A8 4B F4 AE 45 */ bl "__ct__27TCastToPtr<13CScriptPickup>FP7CEntity"
/* 8015E34C 0015B2AC 83 A3 00 04 */ lwz r29, 4(r3)
/* 8015E350 0015B2B0 7F 84 E3 78 */ mr r4, r28
/* 8015E354 0015B2B4 38 61 00 34 */ addi r3, r1, 0x34
/* 8015E358 0015B2B8 4B F5 19 39 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 8015E35C 0015B2BC 83 23 00 04 */ lwz r25, 4(r3)
/* 8015E360 0015B2C0 7F 84 E3 78 */ mr r4, r28
/* 8015E364 0015B2C4 38 61 00 2C */ addi r3, r1, 0x2c
/* 8015E368 0015B2C8 4B F4 78 A9 */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity"
/* 8015E36C 0015B2CC 28 1A 00 00 */ cmplwi r26, 0
/* 8015E370 0015B2D0 80 A3 00 04 */ lwz r5, 4(r3)
/* 8015E374 0015B2D4 41 82 00 58 */ beq lbl_8015E3CC
/* 8015E378 0015B2D8 28 05 00 00 */ cmplwi r5, 0
/* 8015E37C 0015B2DC 41 82 00 50 */ beq lbl_8015E3CC
/* 8015E380 0015B2E0 C0 A5 01 30 */ lfs f5, 0x130(r5)
/* 8015E384 0015B2E4 7F 43 D3 78 */ mr r3, r26
/* 8015E388 0015B2E8 C0 85 01 34 */ lfs f4, 0x134(r5)
/* 8015E38C 0015B2EC 38 81 00 6C */ addi r4, r1, 0x6c
/* 8015E390 0015B2F0 C0 65 01 38 */ lfs f3, 0x138(r5)
/* 8015E394 0015B2F4 C0 5E 00 38 */ lfs f2, 0x38(r30)
/* 8015E398 0015B2F8 C0 3E 00 3C */ lfs f1, 0x3c(r30)
/* 8015E39C 0015B2FC C0 1E 00 34 */ lfs f0, 0x34(r30)
/* 8015E3A0 0015B300 EC 44 10 2A */ fadds f2, f4, f2
/* 8015E3A4 0015B304 EC 23 08 2A */ fadds f1, f3, f1
/* 8015E3A8 0015B308 D0 A1 00 60 */ stfs f5, 0x60(r1)
/* 8015E3AC 0015B30C EC 05 00 2A */ fadds f0, f5, f0
/* 8015E3B0 0015B310 D0 81 00 64 */ stfs f4, 0x64(r1)
/* 8015E3B4 0015B314 D0 61 00 68 */ stfs f3, 0x68(r1)
/* 8015E3B8 0015B318 D0 01 00 6C */ stfs f0, 0x6c(r1)
/* 8015E3BC 0015B31C D0 41 00 70 */ stfs f2, 0x70(r1)
/* 8015E3C0 0015B320 D0 21 00 74 */ stfs f1, 0x74(r1)
/* 8015E3C4 0015B324 4B EF 4A C9 */ bl SetTranslation__6CActorFRC9CVector3f
/* 8015E3C8 0015B328 48 00 00 50 */ b lbl_8015E418
lbl_8015E3CC:
/* 8015E3CC 0015B32C 28 1A 00 00 */ cmplwi r26, 0
/* 8015E3D0 0015B330 41 82 00 48 */ beq lbl_8015E418
/* 8015E3D4 0015B334 28 19 00 00 */ cmplwi r25, 0
/* 8015E3D8 0015B338 41 82 00 40 */ beq lbl_8015E418
/* 8015E3DC 0015B33C C0 39 00 50 */ lfs f1, 0x50(r25)
/* 8015E3E0 0015B340 7F 43 D3 78 */ mr r3, r26
/* 8015E3E4 0015B344 C0 1E 00 38 */ lfs f0, 0x38(r30)
/* 8015E3E8 0015B348 38 81 00 54 */ addi r4, r1, 0x54
/* 8015E3EC 0015B34C C0 79 00 60 */ lfs f3, 0x60(r25)
/* 8015E3F0 0015B350 C0 5E 00 3C */ lfs f2, 0x3c(r30)
/* 8015E3F4 0015B354 EC 81 00 2A */ fadds f4, f1, f0
/* 8015E3F8 0015B358 C0 39 00 40 */ lfs f1, 0x40(r25)
/* 8015E3FC 0015B35C C0 1E 00 34 */ lfs f0, 0x34(r30)
/* 8015E400 0015B360 EC 43 10 2A */ fadds f2, f3, f2
/* 8015E404 0015B364 D0 81 00 58 */ stfs f4, 0x58(r1)
/* 8015E408 0015B368 EC 01 00 2A */ fadds f0, f1, f0
/* 8015E40C 0015B36C D0 41 00 5C */ stfs f2, 0x5c(r1)
/* 8015E410 0015B370 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 8015E414 0015B374 4B EF 4A 79 */ bl SetTranslation__6CActorFRC9CVector3f
lbl_8015E418:
/* 8015E418 0015B378 28 1D 00 00 */ cmplwi r29, 0
/* 8015E41C 0015B37C 41 82 00 0C */ beq lbl_8015E428
/* 8015E420 0015B380 7F A3 EB 78 */ mr r3, r29
/* 8015E424 0015B384 4B F6 41 CD */ bl SetSpawned__13CScriptPickupFv
lbl_8015E428:
/* 8015E428 0015B388 A0 1E 00 08 */ lhz r0, 8(r30)
/* 8015E42C 0015B38C 7F E3 FB 78 */ mr r3, r31
/* 8015E430 0015B390 7F 64 DB 78 */ mr r4, r27
/* 8015E434 0015B394 38 A1 00 0C */ addi r5, r1, 0xc
/* 8015E438 0015B398 B0 01 00 08 */ sth r0, 8(r1)
/* 8015E43C 0015B39C 38 C0 00 01 */ li r6, 1
/* 8015E440 0015B3A0 B0 01 00 0C */ sth r0, 0xc(r1)
/* 8015E444 0015B3A4 4B EE 5A 8D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage
lbl_8015E448:
/* 8015E448 0015B3A8 BB 21 00 84 */ lmw r25, 0x84(r1)
/* 8015E44C 0015B3AC 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 8015E450 0015B3B0 7C 08 03 A6 */ mtlr r0
/* 8015E454 0015B3B4 38 21 00 A0 */ addi r1, r1, 0xa0
/* 8015E458 0015B3B8 4E 80 00 20 */ blr
.global "GetPickupTemplates__22CScriptPickupGeneratorFR13CStateManagerRQ24rstl35vector<Q24rstl18pair<f,9TEditorId>>"
"GetPickupTemplates__22CScriptPickupGeneratorFR13CStateManagerRQ24rstl35vector<Q24rstl18pair<f,9TEditorId>>":
/* 8015E45C 0015B3BC 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8015E460 0015B3C0 7C 08 02 A6 */ mflr r0
/* 8015E464 0015B3C4 90 01 00 84 */ stw r0, 0x84(r1)
/* 8015E468 0015B3C8 DB E1 00 70 */ stfd f31, 0x70(r1)
/* 8015E46C 0015B3CC F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0
/* 8015E470 0015B3D0 DB C1 00 60 */ stfd f30, 0x60(r1)
/* 8015E474 0015B3D4 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0
/* 8015E478 0015B3D8 DB A1 00 50 */ stfd f29, 0x50(r1)
/* 8015E47C 0015B3DC F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0
/* 8015E480 0015B3E0 DB 81 00 40 */ stfd f28, 0x40(r1)
/* 8015E484 0015B3E4 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0
/* 8015E488 0015B3E8 BF 01 00 20 */ stmw r24, 0x20(r1)
/* 8015E48C 0015B3EC 7C 9C 23 78 */ mr r28, r4
/* 8015E490 0015B3F0 7C 7B 1B 78 */ mr r27, r3
/* 8015E494 0015B3F4 80 84 08 B8 */ lwz r4, 0x8b8(r4)
/* 8015E498 0015B3F8 7C BD 2B 78 */ mr r29, r5
/* 8015E49C 0015B3FC C3 A2 9F 34 */ lfs f29, lbl_805ABC54@sda21(r2)
/* 8015E4A0 0015B400 7F A3 EB 78 */ mr r3, r29
/* 8015E4A4 0015B404 83 E4 00 00 */ lwz r31, 0(r4)
/* 8015E4A8 0015B408 80 9B 00 24 */ lwz r4, 0x24(r27)
/* 8015E4AC 0015B40C 48 00 05 31 */ bl sub_8015e9dc
/* 8015E4B0 0015B410 83 DB 00 2C */ lwz r30, 0x2c(r27)
/* 8015E4B4 0015B414 48 00 02 44 */ b lbl_8015E6F8
lbl_8015E4B8:
/* 8015E4B8 0015B418 80 1E 00 00 */ lwz r0, 0(r30)
/* 8015E4BC 0015B41C 2C 00 00 09 */ cmpwi r0, 9
/* 8015E4C0 0015B420 40 82 02 34 */ bne lbl_8015E6F4
/* 8015E4C4 0015B424 80 1E 00 04 */ lwz r0, 4(r30)
/* 8015E4C8 0015B428 2C 00 00 01 */ cmpwi r0, 1
/* 8015E4CC 0015B42C 40 82 02 28 */ bne lbl_8015E6F4
/* 8015E4D0 0015B430 80 1E 00 08 */ lwz r0, 8(r30)
/* 8015E4D4 0015B434 7F 84 E3 78 */ mr r4, r28
/* 8015E4D8 0015B438 38 61 00 0C */ addi r3, r1, 0xc
/* 8015E4DC 0015B43C 38 A1 00 14 */ addi r5, r1, 0x14
/* 8015E4E0 0015B440 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015E4E4 0015B444 4B EE 9A 39 */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 8015E4E8 0015B448 A0 61 00 0C */ lhz r3, 0xc(r1)
/* 8015E4EC 0015B44C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8015E4F0 0015B450 B0 61 00 10 */ sth r3, 0x10(r1)
/* 8015E4F4 0015B454 7C 03 00 40 */ cmplw r3, r0
/* 8015E4F8 0015B458 41 82 01 FC */ beq lbl_8015E6F4
/* 8015E4FC 0015B45C B0 61 00 08 */ sth r3, 8(r1)
/* 8015E500 0015B460 7F 83 E3 78 */ mr r3, r28
/* 8015E504 0015B464 38 81 00 08 */ addi r4, r1, 8
/* 8015E508 0015B468 4B EE E0 9D */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 8015E50C 0015B46C 7C 64 1B 78 */ mr r4, r3
/* 8015E510 0015B470 38 61 00 18 */ addi r3, r1, 0x18
/* 8015E514 0015B474 4B F4 AC 79 */ bl "__ct__27TCastToPtr<13CScriptPickup>FP7CEntity"
/* 8015E518 0015B478 83 23 00 04 */ lwz r25, 4(r3)
/* 8015E51C 0015B47C 28 19 00 00 */ cmplwi r25, 0
/* 8015E520 0015B480 41 82 01 D4 */ beq lbl_8015E6F4
/* 8015E524 0015B484 7F 23 CB 78 */ mr r3, r25
/* 8015E528 0015B488 4B F6 40 E5 */ bl GetItem__13CScriptPickupCFv
/* 8015E52C 0015B48C 7C 7A 1B 78 */ mr r26, r3
/* 8015E530 0015B490 7F 23 CB 78 */ mr r3, r25
/* 8015E534 0015B494 4B F6 40 D1 */ bl GetPossibility__13CScriptPickupCFv
/* 8015E538 0015B498 FF E0 08 90 */ fmr f31, f1
/* 8015E53C 0015B49C 2C 1A 00 07 */ cmpwi r26, 7
/* 8015E540 0015B4A0 C3 82 9F 2C */ lfs f28, lbl_805ABC4C@sda21(r2)
/* 8015E544 0015B4A4 3B 20 00 00 */ li r25, 0
/* 8015E548 0015B4A8 3B 00 00 00 */ li r24, 0
/* 8015E54C 0015B4AC 41 82 00 68 */ beq lbl_8015E5B4
/* 8015E550 0015B4B0 40 80 00 10 */ bge lbl_8015E560
/* 8015E554 0015B4B4 2C 1A 00 04 */ cmpwi r26, 4
/* 8015E558 0015B4B8 41 82 00 14 */ beq lbl_8015E56C
/* 8015E55C 0015B4BC 48 00 01 00 */ b lbl_8015E65C
lbl_8015E560:
/* 8015E560 0015B4C0 2C 1A 00 1A */ cmpwi r26, 0x1a
/* 8015E564 0015B4C4 41 82 00 CC */ beq lbl_8015E630
/* 8015E568 0015B4C8 48 00 00 F4 */ b lbl_8015E65C
lbl_8015E56C:
/* 8015E56C 0015B4CC 7F E3 FB 78 */ mr r3, r31
/* 8015E570 0015B4D0 38 80 00 04 */ li r4, 4
/* 8015E574 0015B4D4 4B F3 35 4D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 8015E578 0015B4D8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8015E57C 0015B4DC 41 82 00 E4 */ beq lbl_8015E660
/* 8015E580 0015B4E0 7F E3 FB 78 */ mr r3, r31
/* 8015E584 0015B4E4 38 80 00 04 */ li r4, 4
/* 8015E588 0015B4E8 4B F3 35 6D */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType
/* 8015E58C 0015B4EC 7C 7A 1B 78 */ mr r26, r3
/* 8015E590 0015B4F0 7F E3 FB 78 */ mr r3, r31
/* 8015E594 0015B4F4 38 80 00 04 */ li r4, 4
/* 8015E598 0015B4F8 4B F3 35 85 */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType
/* 8015E59C 0015B4FC 7C 03 D0 00 */ cmpw r3, r26
/* 8015E5A0 0015B500 40 80 00 0C */ bge lbl_8015E5AC
/* 8015E5A4 0015B504 3B 20 00 01 */ li r25, 1
/* 8015E5A8 0015B508 48 00 00 B8 */ b lbl_8015E660
lbl_8015E5AC:
/* 8015E5AC 0015B50C 3B 00 00 01 */ li r24, 1
/* 8015E5B0 0015B510 48 00 00 B0 */ b lbl_8015E660
lbl_8015E5B4:
/* 8015E5B4 0015B514 7F E3 FB 78 */ mr r3, r31
/* 8015E5B8 0015B518 38 80 00 07 */ li r4, 7
/* 8015E5BC 0015B51C 4B F3 35 05 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 8015E5C0 0015B520 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8015E5C4 0015B524 41 82 00 9C */ beq lbl_8015E660
/* 8015E5C8 0015B528 7F E3 FB 78 */ mr r3, r31
/* 8015E5CC 0015B52C 38 80 00 07 */ li r4, 7
/* 8015E5D0 0015B530 4B F3 35 25 */ bl GetItemCapacity__12CPlayerStateCFQ212CPlayerState9EItemType
/* 8015E5D4 0015B534 7C 7A 1B 78 */ mr r26, r3
/* 8015E5D8 0015B538 7F E3 FB 78 */ mr r3, r31
/* 8015E5DC 0015B53C 38 80 00 07 */ li r4, 7
/* 8015E5E0 0015B540 4B F3 35 3D */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType
/* 8015E5E4 0015B544 7C 03 D0 00 */ cmpw r3, r26
/* 8015E5E8 0015B548 40 80 00 40 */ bge lbl_8015E628
/* 8015E5EC 0015B54C 7F E3 FB 78 */ mr r3, r31
/* 8015E5F0 0015B550 3B 20 00 01 */ li r25, 1
/* 8015E5F4 0015B554 38 80 00 07 */ li r4, 7
/* 8015E5F8 0015B558 4B F3 35 25 */ bl GetItemAmount__12CPlayerStateCFQ212CPlayerState9EItemType
/* 8015E5FC 0015B55C 2C 03 00 02 */ cmpwi r3, 2
/* 8015E600 0015B560 40 80 00 60 */ bge lbl_8015E660
/* 8015E604 0015B564 C0 02 9F 4C */ lfs f0, lbl_805ABC6C@sda21(r2)
/* 8015E608 0015B568 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8015E60C 0015B56C 4C 41 13 82 */ cror 2, 1, 2
/* 8015E610 0015B570 40 82 00 50 */ bne lbl_8015E660
/* 8015E614 0015B574 C0 02 9F 50 */ lfs f0, lbl_805ABC70@sda21(r2)
/* 8015E618 0015B578 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8015E61C 0015B57C 40 80 00 44 */ bge lbl_8015E660
/* 8015E620 0015B580 C3 82 9F 54 */ lfs f28, lbl_805ABC74@sda21(r2)
/* 8015E624 0015B584 48 00 00 3C */ b lbl_8015E660
lbl_8015E628:
/* 8015E628 0015B588 3B 00 00 01 */ li r24, 1
/* 8015E62C 0015B58C 48 00 00 34 */ b lbl_8015E660
lbl_8015E630:
/* 8015E630 0015B590 34 7F 00 0C */ addic. r3, r31, 0xc
/* 8015E634 0015B594 41 82 00 20 */ beq lbl_8015E654
/* 8015E638 0015B598 C3 C3 00 00 */ lfs f30, 0(r3)
/* 8015E63C 0015B59C 7F E3 FB 78 */ mr r3, r31
/* 8015E640 0015B5A0 4B F3 36 F1 */ bl CalculateHealth__12CPlayerStateFUi
/* 8015E644 0015B5A4 FC 1E 08 40 */ fcmpo cr0, f30, f1
/* 8015E648 0015B5A8 40 80 00 0C */ bge lbl_8015E654
/* 8015E64C 0015B5AC 3B 20 00 01 */ li r25, 1
/* 8015E650 0015B5B0 48 00 00 10 */ b lbl_8015E660
lbl_8015E654:
/* 8015E654 0015B5B4 3B 00 00 01 */ li r24, 1
/* 8015E658 0015B5B8 48 00 00 08 */ b lbl_8015E660
lbl_8015E65C:
/* 8015E65C 0015B5BC 3B 20 00 01 */ li r25, 1
lbl_8015E660:
/* 8015E660 0015B5C0 80 7C 09 00 */ lwz r3, 0x900(r28)
/* 8015E664 0015B5C4 48 1B 3E 79 */ bl Float__9CRandom16Fv
/* 8015E668 0015B5C8 C0 02 9F 58 */ lfs f0, lbl_805ABC78@sda21(r2)
/* 8015E66C 0015B5CC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8015E670 0015B5D0 7C 60 00 26 */ mfcr r3
/* 8015E674 0015B5D4 57 20 06 3F */ clrlwi. r0, r25, 0x18
/* 8015E678 0015B5D8 54 63 0F FE */ srwi r3, r3, 0x1f
/* 8015E67C 0015B5DC 40 82 00 14 */ bne lbl_8015E690
/* 8015E680 0015B5E0 57 00 06 3F */ clrlwi. r0, r24, 0x18
/* 8015E684 0015B5E4 41 82 00 70 */ beq lbl_8015E6F4
/* 8015E688 0015B5E8 28 03 00 00 */ cmplwi r3, 0
/* 8015E68C 0015B5EC 41 82 00 68 */ beq lbl_8015E6F4
lbl_8015E690:
/* 8015E690 0015B5F0 C0 02 9F 34 */ lfs f0, lbl_805ABC54@sda21(r2)
/* 8015E694 0015B5F4 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8015E698 0015B5F8 40 81 00 5C */ ble lbl_8015E6F4
/* 8015E69C 0015B5FC 80 1D 00 04 */ lwz r0, 4(r29)
/* 8015E6A0 0015B600 EF BF EF 3A */ fmadds f29, f31, f28, f29
/* 8015E6A4 0015B604 80 BD 00 08 */ lwz r5, 8(r29)
/* 8015E6A8 0015B608 83 5E 00 08 */ lwz r26, 8(r30)
/* 8015E6AC 0015B60C 7C 00 28 00 */ cmpw r0, r5
/* 8015E6B0 0015B610 41 80 00 1C */ blt lbl_8015E6CC
/* 8015E6B4 0015B614 2C 05 00 00 */ cmpwi r5, 0
/* 8015E6B8 0015B618 7F A3 EB 78 */ mr r3, r29
/* 8015E6BC 0015B61C 38 80 00 04 */ li r4, 4
/* 8015E6C0 0015B620 41 82 00 08 */ beq lbl_8015E6C8
/* 8015E6C4 0015B624 54 A4 08 3C */ slwi r4, r5, 1
lbl_8015E6C8:
/* 8015E6C8 0015B628 48 00 03 15 */ bl sub_8015e9dc
lbl_8015E6CC:
/* 8015E6CC 0015B62C 80 1D 00 04 */ lwz r0, 4(r29)
/* 8015E6D0 0015B630 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 8015E6D4 0015B634 54 00 18 38 */ slwi r0, r0, 3
/* 8015E6D8 0015B638 7C 63 02 15 */ add. r3, r3, r0
/* 8015E6DC 0015B63C 41 82 00 0C */ beq lbl_8015E6E8
/* 8015E6E0 0015B640 D3 E3 00 00 */ stfs f31, 0(r3)
/* 8015E6E4 0015B644 93 43 00 04 */ stw r26, 4(r3)
lbl_8015E6E8:
/* 8015E6E8 0015B648 80 7D 00 04 */ lwz r3, 4(r29)
/* 8015E6EC 0015B64C 38 03 00 01 */ addi r0, r3, 1
/* 8015E6F0 0015B650 90 1D 00 04 */ stw r0, 4(r29)
lbl_8015E6F4:
/* 8015E6F4 0015B654 3B DE 00 0C */ addi r30, r30, 0xc
lbl_8015E6F8:
/* 8015E6F8 0015B658 80 1B 00 24 */ lwz r0, 0x24(r27)
/* 8015E6FC 0015B65C 80 7B 00 2C */ lwz r3, 0x2c(r27)
/* 8015E700 0015B660 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8015E704 0015B664 7C 03 02 14 */ add r0, r3, r0
/* 8015E708 0015B668 7C 1E 00 40 */ cmplw r30, r0
/* 8015E70C 0015B66C 40 82 FD AC */ bne lbl_8015E4B8
/* 8015E710 0015B670 FC 20 E8 90 */ fmr f1, f29
/* 8015E714 0015B674 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0
/* 8015E718 0015B678 CB E1 00 70 */ lfd f31, 0x70(r1)
/* 8015E71C 0015B67C E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0
/* 8015E720 0015B680 CB C1 00 60 */ lfd f30, 0x60(r1)
/* 8015E724 0015B684 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0
/* 8015E728 0015B688 CB A1 00 50 */ lfd f29, 0x50(r1)
/* 8015E72C 0015B68C E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0
/* 8015E730 0015B690 CB 81 00 40 */ lfd f28, 0x40(r1)
/* 8015E734 0015B694 BB 01 00 20 */ lmw r24, 0x20(r1)
/* 8015E738 0015B698 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8015E73C 0015B69C 7C 08 03 A6 */ mtlr r0
/* 8015E740 0015B6A0 38 21 00 80 */ addi r1, r1, 0x80
/* 8015E744 0015B6A4 4E 80 00 20 */ blr
.global "GetGeneratorIds__22CScriptPickupGeneratorFR13CStateManager9TUniqueIdRQ24rstl18vector<9TUniqueId>"
"GetGeneratorIds__22CScriptPickupGeneratorFR13CStateManager9TUniqueIdRQ24rstl18vector<9TUniqueId>":
/* 8015E748 0015B6A8 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8015E74C 0015B6AC 7C 08 02 A6 */ mflr r0
/* 8015E750 0015B6B0 90 01 00 44 */ stw r0, 0x44(r1)
/* 8015E754 0015B6B4 BF 61 00 2C */ stmw r27, 0x2c(r1)
/* 8015E758 0015B6B8 7C 7B 1B 78 */ mr r27, r3
/* 8015E75C 0015B6BC 7C 9C 23 78 */ mr r28, r4
/* 8015E760 0015B6C0 7C BD 2B 78 */ mr r29, r5
/* 8015E764 0015B6C4 7C DE 33 78 */ mr r30, r6
/* 8015E768 0015B6C8 80 63 00 24 */ lwz r3, 0x24(r3)
/* 8015E76C 0015B6CC 80 0D 8C E0 */ lwz r0, lbl_805A78A0@sda21(r13)
/* 8015E770 0015B6D0 90 61 00 18 */ stw r3, 0x18(r1)
/* 8015E774 0015B6D4 7C 00 18 00 */ cmpw r0, r3
/* 8015E778 0015B6D8 38 6D 8C E0 */ addi r3, r13, lbl_805A78A0@sda21
/* 8015E77C 0015B6DC 40 80 00 08 */ bge lbl_8015E784
/* 8015E780 0015B6E0 38 61 00 18 */ addi r3, r1, 0x18
lbl_8015E784:
/* 8015E784 0015B6E4 80 83 00 00 */ lwz r4, 0(r3)
/* 8015E788 0015B6E8 7F C3 F3 78 */ mr r3, r30
/* 8015E78C 0015B6EC 4B EA DC 7D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi"
/* 8015E790 0015B6F0 83 FB 00 2C */ lwz r31, 0x2c(r27)
/* 8015E794 0015B6F4 48 00 00 C0 */ b lbl_8015E854
lbl_8015E798:
/* 8015E798 0015B6F8 80 1F 00 00 */ lwz r0, 0(r31)
/* 8015E79C 0015B6FC 2C 00 00 09 */ cmpwi r0, 9
/* 8015E7A0 0015B700 40 82 00 B0 */ bne lbl_8015E850
/* 8015E7A4 0015B704 80 1F 00 04 */ lwz r0, 4(r31)
/* 8015E7A8 0015B708 2C 00 00 06 */ cmpwi r0, 6
/* 8015E7AC 0015B70C 40 82 00 A4 */ bne lbl_8015E850
/* 8015E7B0 0015B710 80 1F 00 08 */ lwz r0, 8(r31)
/* 8015E7B4 0015B714 7F 84 E3 78 */ mr r4, r28
/* 8015E7B8 0015B718 38 61 00 0C */ addi r3, r1, 0xc
/* 8015E7BC 0015B71C 38 A1 00 14 */ addi r5, r1, 0x14
/* 8015E7C0 0015B720 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015E7C4 0015B724 4B EE 97 59 */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 8015E7C8 0015B728 A0 61 00 0C */ lhz r3, 0xc(r1)
/* 8015E7CC 0015B72C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8015E7D0 0015B730 B0 61 00 10 */ sth r3, 0x10(r1)
/* 8015E7D4 0015B734 7C 03 00 40 */ cmplw r3, r0
/* 8015E7D8 0015B738 41 82 00 78 */ beq lbl_8015E850
/* 8015E7DC 0015B73C B0 61 00 08 */ sth r3, 8(r1)
/* 8015E7E0 0015B740 7F 83 E3 78 */ mr r3, r28
/* 8015E7E4 0015B744 38 81 00 08 */ addi r4, r1, 8
/* 8015E7E8 0015B748 4B EE DD BD */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 8015E7EC 0015B74C 28 03 00 00 */ cmplwi r3, 0
/* 8015E7F0 0015B750 41 82 00 60 */ beq lbl_8015E850
/* 8015E7F4 0015B754 88 03 00 30 */ lbz r0, 0x30(r3)
/* 8015E7F8 0015B758 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8015E7FC 0015B75C 41 82 00 54 */ beq lbl_8015E850
/* 8015E800 0015B760 80 1E 00 04 */ lwz r0, 4(r30)
/* 8015E804 0015B764 80 BE 00 08 */ lwz r5, 8(r30)
/* 8015E808 0015B768 7C 00 28 00 */ cmpw r0, r5
/* 8015E80C 0015B76C 41 80 00 1C */ blt lbl_8015E828
/* 8015E810 0015B770 2C 05 00 00 */ cmpwi r5, 0
/* 8015E814 0015B774 7F C3 F3 78 */ mr r3, r30
/* 8015E818 0015B778 38 80 00 04 */ li r4, 4
/* 8015E81C 0015B77C 41 82 00 08 */ beq lbl_8015E824
/* 8015E820 0015B780 54 A4 08 3C */ slwi r4, r5, 1
lbl_8015E824:
/* 8015E824 0015B784 4B EA DB E5 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi"
lbl_8015E828:
/* 8015E828 0015B788 80 1E 00 04 */ lwz r0, 4(r30)
/* 8015E82C 0015B78C 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8015E830 0015B790 54 00 08 3C */ slwi r0, r0, 1
/* 8015E834 0015B794 7C 63 02 15 */ add. r3, r3, r0
/* 8015E838 0015B798 41 82 00 0C */ beq lbl_8015E844
/* 8015E83C 0015B79C A0 01 00 10 */ lhz r0, 0x10(r1)
/* 8015E840 0015B7A0 B0 03 00 00 */ sth r0, 0(r3)
lbl_8015E844:
/* 8015E844 0015B7A4 80 7E 00 04 */ lwz r3, 4(r30)
/* 8015E848 0015B7A8 38 03 00 01 */ addi r0, r3, 1
/* 8015E84C 0015B7AC 90 1E 00 04 */ stw r0, 4(r30)
lbl_8015E850:
/* 8015E850 0015B7B0 3B FF 00 0C */ addi r31, r31, 0xc
lbl_8015E854:
/* 8015E854 0015B7B4 80 1B 00 24 */ lwz r0, 0x24(r27)
/* 8015E858 0015B7B8 80 7B 00 2C */ lwz r3, 0x2c(r27)
/* 8015E85C 0015B7BC 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8015E860 0015B7C0 7C 03 02 14 */ add r0, r3, r0
/* 8015E864 0015B7C4 7C 1F 00 40 */ cmplw r31, r0
/* 8015E868 0015B7C8 40 82 FF 30 */ bne lbl_8015E798
/* 8015E86C 0015B7CC 80 1E 00 04 */ lwz r0, 4(r30)
/* 8015E870 0015B7D0 2C 00 00 00 */ cmpwi r0, 0
/* 8015E874 0015B7D4 40 82 00 50 */ bne lbl_8015E8C4
/* 8015E878 0015B7D8 80 BE 00 08 */ lwz r5, 8(r30)
/* 8015E87C 0015B7DC 7C 00 28 00 */ cmpw r0, r5
/* 8015E880 0015B7E0 41 80 00 1C */ blt lbl_8015E89C
/* 8015E884 0015B7E4 2C 05 00 00 */ cmpwi r5, 0
/* 8015E888 0015B7E8 7F C3 F3 78 */ mr r3, r30
/* 8015E88C 0015B7EC 38 80 00 04 */ li r4, 4
/* 8015E890 0015B7F0 41 82 00 08 */ beq lbl_8015E898
/* 8015E894 0015B7F4 54 A4 08 3C */ slwi r4, r5, 1
lbl_8015E898:
/* 8015E898 0015B7F8 4B EA DB 71 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi"
lbl_8015E89C:
/* 8015E89C 0015B7FC 80 1E 00 04 */ lwz r0, 4(r30)
/* 8015E8A0 0015B800 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8015E8A4 0015B804 54 00 08 3C */ slwi r0, r0, 1
/* 8015E8A8 0015B808 7C 63 02 15 */ add. r3, r3, r0
/* 8015E8AC 0015B80C 41 82 00 0C */ beq lbl_8015E8B8
/* 8015E8B0 0015B810 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8015E8B4 0015B814 B0 03 00 00 */ sth r0, 0(r3)
lbl_8015E8B8:
/* 8015E8B8 0015B818 80 7E 00 04 */ lwz r3, 4(r30)
/* 8015E8BC 0015B81C 38 03 00 01 */ addi r0, r3, 1
/* 8015E8C0 0015B820 90 1E 00 04 */ stw r0, 4(r30)
lbl_8015E8C4:
/* 8015E8C4 0015B824 BB 61 00 2C */ lmw r27, 0x2c(r1)
/* 8015E8C8 0015B828 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8015E8CC 0015B82C 7C 08 03 A6 */ mtlr r0
/* 8015E8D0 0015B830 38 21 00 40 */ addi r1, r1, 0x40
/* 8015E8D4 0015B834 4E 80 00 20 */ blr
.global __dt__22CScriptPickupGeneratorFv
__dt__22CScriptPickupGeneratorFv:
/* 8015E8D8 0015B838 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8015E8DC 0015B83C 7C 08 02 A6 */ mflr r0
/* 8015E8E0 0015B840 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015E8E4 0015B844 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8015E8E8 0015B848 7C 9F 23 78 */ mr r31, r4
/* 8015E8EC 0015B84C 93 C1 00 08 */ stw r30, 8(r1)
/* 8015E8F0 0015B850 7C 7E 1B 79 */ or. r30, r3, r3
/* 8015E8F4 0015B854 41 82 00 28 */ beq lbl_8015E91C
/* 8015E8F8 0015B858 3C A0 80 3E */ lis r5, lbl_803E3618@ha
/* 8015E8FC 0015B85C 38 80 00 00 */ li r4, 0
/* 8015E900 0015B860 38 05 36 18 */ addi r0, r5, lbl_803E3618@l
/* 8015E904 0015B864 90 1E 00 00 */ stw r0, 0(r30)
/* 8015E908 0015B868 4B EF 29 6D */ bl __dt__7CEntityFv
/* 8015E90C 0015B86C 7F E0 07 35 */ extsh. r0, r31
/* 8015E910 0015B870 40 81 00 0C */ ble lbl_8015E91C
/* 8015E914 0015B874 7F C3 F3 78 */ mr r3, r30
/* 8015E918 0015B878 48 1B 70 19 */ bl Free__7CMemoryFPCv
lbl_8015E91C:
/* 8015E91C 0015B87C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8015E920 0015B880 7F C3 F3 78 */ mr r3, r30
/* 8015E924 0015B884 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8015E928 0015B888 83 C1 00 08 */ lwz r30, 8(r1)
/* 8015E92C 0015B88C 7C 08 03 A6 */ mtlr r0
/* 8015E930 0015B890 38 21 00 10 */ addi r1, r1, 0x10
/* 8015E934 0015B894 4E 80 00 20 */ blr
.global "__ct__22CScriptPickupGeneratorF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3ffb"
"__ct__22CScriptPickupGeneratorF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3ffb":
/* 8015E938 0015B898 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8015E93C 0015B89C 7C 08 02 A6 */ mflr r0
/* 8015E940 0015B8A0 90 01 00 34 */ stw r0, 0x34(r1)
/* 8015E944 0015B8A4 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 8015E948 0015B8A8 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 8015E94C 0015B8AC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8015E950 0015B8B0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8015E954 0015B8B4 A0 04 00 00 */ lhz r0, 0(r4)
/* 8015E958 0015B8B8 7C A4 2B 78 */ mr r4, r5
/* 8015E95C 0015B8BC FF E0 08 90 */ fmr f31, f1
/* 8015E960 0015B8C0 7C FF 3B 78 */ mr r31, r7
/* 8015E964 0015B8C4 B0 01 00 08 */ sth r0, 8(r1)
/* 8015E968 0015B8C8 7C C5 33 78 */ mr r5, r6
/* 8015E96C 0015B8CC 7C 87 23 78 */ mr r7, r4
/* 8015E970 0015B8D0 7C 7E 1B 78 */ mr r30, r3
/* 8015E974 0015B8D4 7D 06 43 78 */ mr r6, r8
/* 8015E978 0015B8D8 38 81 00 08 */ addi r4, r1, 8
/* 8015E97C 0015B8DC 4B EF 29 A9 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8015E980 0015B8E0 3C 60 80 3E */ lis r3, lbl_803E3618@ha
/* 8015E984 0015B8E4 C0 02 9F 34 */ lfs f0, lbl_805ABC54@sda21(r2)
/* 8015E988 0015B8E8 38 03 36 18 */ addi r0, r3, lbl_803E3618@l
/* 8015E98C 0015B8EC 7F C3 F3 78 */ mr r3, r30
/* 8015E990 0015B8F0 90 1E 00 00 */ stw r0, 0(r30)
/* 8015E994 0015B8F4 C0 3F 00 00 */ lfs f1, 0(r31)
/* 8015E998 0015B8F8 D0 3E 00 34 */ stfs f1, 0x34(r30)
/* 8015E99C 0015B8FC C0 3F 00 04 */ lfs f1, 4(r31)
/* 8015E9A0 0015B900 D0 3E 00 38 */ stfs f1, 0x38(r30)
/* 8015E9A4 0015B904 C0 3F 00 08 */ lfs f1, 8(r31)
/* 8015E9A8 0015B908 D0 3E 00 3C */ stfs f1, 0x3c(r30)
/* 8015E9AC 0015B90C D3 FE 00 40 */ stfs f31, 0x40(r30)
/* 8015E9B0 0015B910 D0 1E 00 44 */ stfs f0, 0x44(r30)
/* 8015E9B4 0015B914 4B FF F8 6D */ bl ResetDelayTimer__22CScriptPickupGeneratorFv
/* 8015E9B8 0015B918 7F C3 F3 78 */ mr r3, r30
/* 8015E9BC 0015B91C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8015E9C0 0015B920 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8015E9C4 0015B924 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 8015E9C8 0015B928 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8015E9CC 0015B92C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8015E9D0 0015B930 7C 08 03 A6 */ mtlr r0
/* 8015E9D4 0015B934 38 21 00 30 */ addi r1, r1, 0x30
/* 8015E9D8 0015B938 4E 80 00 20 */ blr
.global sub_8015e9dc
sub_8015e9dc:
/* 8015E9DC 0015B93C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8015E9E0 0015B940 7C 08 02 A6 */ mflr r0
/* 8015E9E4 0015B944 90 01 00 34 */ stw r0, 0x34(r1)
/* 8015E9E8 0015B948 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8015E9EC 0015B94C 7C 9F 23 78 */ mr r31, r4
/* 8015E9F0 0015B950 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8015E9F4 0015B954 7C 7E 1B 78 */ mr r30, r3
/* 8015E9F8 0015B958 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8015E9FC 0015B95C 80 03 00 08 */ lwz r0, 8(r3)
/* 8015EA00 0015B960 7C 1F 00 00 */ cmpw r31, r0
/* 8015EA04 0015B964 40 81 00 B0 */ ble lbl_8015EAB4
/* 8015EA08 0015B968 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
/* 8015EA0C 0015B96C 40 82 00 0C */ bne lbl_8015EA18
/* 8015EA10 0015B970 3B A0 00 00 */ li r29, 0
/* 8015EA14 0015B974 48 00 00 18 */ b lbl_8015EA2C
lbl_8015EA18:
/* 8015EA18 0015B978 3C 80 80 3D */ lis r4, lbl_803D0390@ha
/* 8015EA1C 0015B97C 38 A0 00 00 */ li r5, 0
/* 8015EA20 0015B980 38 84 03 90 */ addi r4, r4, lbl_803D0390@l
/* 8015EA24 0015B984 48 1B 6D F5 */ bl __nwa__FUlPCcPCc
/* 8015EA28 0015B988 7C 7D 1B 78 */ mr r29, r3
lbl_8015EA2C:
/* 8015EA2C 0015B98C 80 1E 00 04 */ lwz r0, 4(r30)
/* 8015EA30 0015B990 7F A4 EB 78 */ mr r4, r29
/* 8015EA34 0015B994 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 8015EA38 0015B998 54 00 18 38 */ slwi r0, r0, 3
/* 8015EA3C 0015B99C 7C 65 02 14 */ add r3, r5, r0
/* 8015EA40 0015B9A0 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8015EA44 0015B9A4 90 61 00 08 */ stw r3, 8(r1)
/* 8015EA48 0015B9A8 90 61 00 0C */ stw r3, 0xc(r1)
/* 8015EA4C 0015B9AC 90 A1 00 14 */ stw r5, 0x14(r1)
/* 8015EA50 0015B9B0 48 00 00 24 */ b lbl_8015EA74
lbl_8015EA54:
/* 8015EA54 0015B9B4 28 04 00 00 */ cmplwi r4, 0
/* 8015EA58 0015B9B8 41 82 00 14 */ beq lbl_8015EA6C
/* 8015EA5C 0015B9BC C0 05 00 00 */ lfs f0, 0(r5)
/* 8015EA60 0015B9C0 D0 04 00 00 */ stfs f0, 0(r4)
/* 8015EA64 0015B9C4 80 05 00 04 */ lwz r0, 4(r5)
/* 8015EA68 0015B9C8 90 04 00 04 */ stw r0, 4(r4)
lbl_8015EA6C:
/* 8015EA6C 0015B9CC 38 84 00 08 */ addi r4, r4, 8
/* 8015EA70 0015B9D0 38 A5 00 08 */ addi r5, r5, 8
lbl_8015EA74:
/* 8015EA74 0015B9D4 7C 05 18 40 */ cmplw r5, r3
/* 8015EA78 0015B9D8 40 82 FF DC */ bne lbl_8015EA54
/* 8015EA7C 0015B9DC 80 1E 00 04 */ lwz r0, 4(r30)
/* 8015EA80 0015B9E0 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8015EA84 0015B9E4 54 00 18 38 */ slwi r0, r0, 3
/* 8015EA88 0015B9E8 7C 64 1B 78 */ mr r4, r3
/* 8015EA8C 0015B9EC 7C 03 02 14 */ add r0, r3, r0
/* 8015EA90 0015B9F0 48 00 00 08 */ b lbl_8015EA98
lbl_8015EA94:
/* 8015EA94 0015B9F4 38 84 00 08 */ addi r4, r4, 8
lbl_8015EA98:
/* 8015EA98 0015B9F8 7C 04 00 40 */ cmplw r4, r0
/* 8015EA9C 0015B9FC 40 82 FF F8 */ bne lbl_8015EA94
/* 8015EAA0 0015BA00 28 03 00 00 */ cmplwi r3, 0
/* 8015EAA4 0015BA04 41 82 00 08 */ beq lbl_8015EAAC
/* 8015EAA8 0015BA08 48 1B 6E 89 */ bl Free__7CMemoryFPCv
lbl_8015EAAC:
/* 8015EAAC 0015BA0C 93 BE 00 0C */ stw r29, 0xc(r30)
/* 8015EAB0 0015BA10 93 FE 00 08 */ stw r31, 8(r30)
lbl_8015EAB4:
/* 8015EAB4 0015BA14 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8015EAB8 0015BA18 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8015EABC 0015BA1C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8015EAC0 0015BA20 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8015EAC4 0015BA24 7C 08 03 A6 */ mtlr r0
/* 8015EAC8 0015BA28 38 21 00 30 */ addi r1, r1, 0x30
/* 8015EACC 0015BA2C 4E 80 00 20 */ blr

View File

@ -0,0 +1,406 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__17CScriptPlayerHintFv
__dt__17CScriptPlayerHintFv:
/* 8015B854 001587B4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8015B858 001587B8 7C 08 02 A6 */ mflr r0
/* 8015B85C 001587BC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015B860 001587C0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8015B864 001587C4 7C 9F 23 78 */ mr r31, r4
/* 8015B868 001587C8 93 C1 00 08 */ stw r30, 8(r1)
/* 8015B86C 001587CC 7C 7E 1B 79 */ or. r30, r3, r3
/* 8015B870 001587D0 41 82 00 88 */ beq lbl_8015B8F8
/* 8015B874 001587D4 3C 60 80 3E */ lis r3, lbl_803E32D8@ha
/* 8015B878 001587D8 34 1E 00 E8 */ addic. r0, r30, 0xe8
/* 8015B87C 001587DC 38 03 32 D8 */ addi r0, r3, lbl_803E32D8@l
/* 8015B880 001587E0 90 1E 00 00 */ stw r0, 0(r30)
/* 8015B884 001587E4 41 82 00 58 */ beq lbl_8015B8DC
/* 8015B888 001587E8 80 BE 00 E8 */ lwz r5, 0xe8(r30)
/* 8015B88C 001587EC 38 60 00 00 */ li r3, 0
/* 8015B890 001587F0 2C 05 00 00 */ cmpwi r5, 0
/* 8015B894 001587F4 40 81 00 40 */ ble lbl_8015B8D4
/* 8015B898 001587F8 2C 05 00 08 */ cmpwi r5, 8
/* 8015B89C 001587FC 38 85 FF F8 */ addi r4, r5, -8
/* 8015B8A0 00158800 40 81 00 20 */ ble lbl_8015B8C0
/* 8015B8A4 00158804 38 04 00 07 */ addi r0, r4, 7
/* 8015B8A8 00158808 54 00 E8 FE */ srwi r0, r0, 3
/* 8015B8AC 0015880C 7C 09 03 A6 */ mtctr r0
/* 8015B8B0 00158810 2C 04 00 00 */ cmpwi r4, 0
/* 8015B8B4 00158814 40 81 00 0C */ ble lbl_8015B8C0
lbl_8015B8B8:
/* 8015B8B8 00158818 38 63 00 08 */ addi r3, r3, 8
/* 8015B8BC 0015881C 42 00 FF FC */ bdnz lbl_8015B8B8
lbl_8015B8C0:
/* 8015B8C0 00158820 7C 03 28 50 */ subf r0, r3, r5
/* 8015B8C4 00158824 7C 09 03 A6 */ mtctr r0
/* 8015B8C8 00158828 7C 03 28 00 */ cmpw r3, r5
/* 8015B8CC 0015882C 40 80 00 08 */ bge lbl_8015B8D4
lbl_8015B8D0:
/* 8015B8D0 00158830 42 00 00 00 */ bdnz lbl_8015B8D0
lbl_8015B8D4:
/* 8015B8D4 00158834 38 00 00 00 */ li r0, 0
/* 8015B8D8 00158838 90 1E 00 E8 */ stw r0, 0xe8(r30)
lbl_8015B8DC:
/* 8015B8DC 0015883C 7F C3 F3 78 */ mr r3, r30
/* 8015B8E0 00158840 38 80 00 00 */ li r4, 0
/* 8015B8E4 00158844 4B EF 9E 0D */ bl __dt__6CActorFv
/* 8015B8E8 00158848 7F E0 07 35 */ extsh. r0, r31
/* 8015B8EC 0015884C 40 81 00 0C */ ble lbl_8015B8F8
/* 8015B8F0 00158850 7F C3 F3 78 */ mr r3, r30
/* 8015B8F4 00158854 48 1B A0 3D */ bl Free__7CMemoryFPCv
lbl_8015B8F8:
/* 8015B8F8 00158858 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8015B8FC 0015885C 7F C3 F3 78 */ mr r3, r30
/* 8015B900 00158860 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8015B904 00158864 83 C1 00 08 */ lwz r30, 8(r1)
/* 8015B908 00158868 7C 08 03 A6 */ mtlr r0
/* 8015B90C 0015886C 38 21 00 10 */ addi r1, r1, 0x10
/* 8015B910 00158870 4E 80 00 20 */ blr
.global Accept__17CScriptPlayerHintFR8IVisitor
Accept__17CScriptPlayerHintFR8IVisitor:
/* 8015B914 00158874 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8015B918 00158878 7C 08 02 A6 */ mflr r0
/* 8015B91C 0015887C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015B920 00158880 7C 60 1B 78 */ mr r0, r3
/* 8015B924 00158884 7C 83 23 78 */ mr r3, r4
/* 8015B928 00158888 81 84 00 00 */ lwz r12, 0(r4)
/* 8015B92C 0015888C 7C 04 03 78 */ mr r4, r0
/* 8015B930 00158890 81 8C 00 A0 */ lwz r12, 0xa0(r12)
/* 8015B934 00158894 7D 89 03 A6 */ mtctr r12
/* 8015B938 00158898 4E 80 04 21 */ bctrl
/* 8015B93C 0015889C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8015B940 001588A0 7C 08 03 A6 */ mtlr r0
/* 8015B944 001588A4 38 21 00 10 */ addi r1, r1, 0x10
/* 8015B948 001588A8 4E 80 00 20 */ blr
.global AcceptScriptMsg__17CScriptPlayerHintF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__17CScriptPlayerHintF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8015B94C 001588AC 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 8015B950 001588B0 7C 08 02 A6 */ mflr r0
/* 8015B954 001588B4 90 01 00 64 */ stw r0, 0x64(r1)
/* 8015B958 001588B8 BF 61 00 4C */ stmw r27, 0x4c(r1)
/* 8015B95C 001588BC 7C 9D 23 78 */ mr r29, r4
/* 8015B960 001588C0 2C 1D 00 07 */ cmpwi r29, 7
/* 8015B964 001588C4 7C 7C 1B 78 */ mr r28, r3
/* 8015B968 001588C8 7C BE 2B 78 */ mr r30, r5
/* 8015B96C 001588CC 7C DF 33 78 */ mr r31, r6
/* 8015B970 001588D0 41 82 00 60 */ beq lbl_8015B9D0
/* 8015B974 001588D4 40 80 00 10 */ bge lbl_8015B984
/* 8015B978 001588D8 2C 1D 00 04 */ cmpwi r29, 4
/* 8015B97C 001588DC 41 82 00 14 */ beq lbl_8015B990
/* 8015B980 001588E0 48 00 00 EC */ b lbl_8015BA6C
lbl_8015B984:
/* 8015B984 001588E4 2C 1D 00 22 */ cmpwi r29, 0x22
/* 8015B988 001588E8 41 82 00 08 */ beq lbl_8015B990
/* 8015B98C 001588EC 48 00 00 E0 */ b lbl_8015BA6C
lbl_8015B990:
/* 8015B990 001588F0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8015B994 001588F4 7F 83 E3 78 */ mr r3, r28
/* 8015B998 001588F8 7F E5 FB 78 */ mr r5, r31
/* 8015B99C 001588FC 38 81 00 34 */ addi r4, r1, 0x34
/* 8015B9A0 00158900 B0 01 00 34 */ sth r0, 0x34(r1)
/* 8015B9A4 00158904 48 00 01 99 */ bl RemoveFromObjectList__17CScriptPlayerHintF9TUniqueIdR13CStateManager
/* 8015B9A8 00158908 A0 1C 00 08 */ lhz r0, 8(r28)
/* 8015B9AC 0015890C 7F E5 FB 78 */ mr r5, r31
/* 8015B9B0 00158910 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 8015B9B4 00158914 38 81 00 30 */ addi r4, r1, 0x30
/* 8015B9B8 00158918 B0 01 00 2C */ sth r0, 0x2c(r1)
/* 8015B9BC 0015891C B0 01 00 30 */ sth r0, 0x30(r1)
/* 8015B9C0 00158920 48 12 89 B5 */ bl AddToPlayerHintRemoveList__7CPlayerF9TUniqueIdR13CStateManager
/* 8015B9C4 00158924 38 00 00 01 */ li r0, 1
/* 8015B9C8 00158928 98 1C 00 FC */ stb r0, 0xfc(r28)
/* 8015B9CC 0015892C 48 00 00 A0 */ b lbl_8015BA6C
lbl_8015B9D0:
/* 8015B9D0 00158930 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8015B9D4 00158934 B0 1C 01 08 */ sth r0, 0x108(r28)
/* 8015B9D8 00158938 80 1C 01 04 */ lwz r0, 0x104(r28)
/* 8015B9DC 0015893C 54 00 04 63 */ rlwinm. r0, r0, 0, 0x11, 0x11
/* 8015B9E0 00158940 41 82 00 8C */ beq lbl_8015BA6C
/* 8015B9E4 00158944 83 7C 00 2C */ lwz r27, 0x2c(r28)
/* 8015B9E8 00158948 48 00 00 6C */ b lbl_8015BA54
lbl_8015B9EC:
/* 8015B9EC 0015894C 80 1B 00 00 */ lwz r0, 0(r27)
/* 8015B9F0 00158950 2C 00 00 12 */ cmpwi r0, 0x12
/* 8015B9F4 00158954 40 82 00 5C */ bne lbl_8015BA50
/* 8015B9F8 00158958 80 1B 00 08 */ lwz r0, 8(r27)
/* 8015B9FC 0015895C 7F E4 FB 78 */ mr r4, r31
/* 8015BA00 00158960 38 61 00 28 */ addi r3, r1, 0x28
/* 8015BA04 00158964 38 A1 00 38 */ addi r5, r1, 0x38
/* 8015BA08 00158968 90 01 00 38 */ stw r0, 0x38(r1)
/* 8015BA0C 0015896C 4B EE C5 11 */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 8015BA10 00158970 A0 01 00 28 */ lhz r0, 0x28(r1)
/* 8015BA14 00158974 7F E3 FB 78 */ mr r3, r31
/* 8015BA18 00158978 38 81 00 24 */ addi r4, r1, 0x24
/* 8015BA1C 0015897C B0 1C 01 08 */ sth r0, 0x108(r28)
/* 8015BA20 00158980 A0 1C 01 08 */ lhz r0, 0x108(r28)
/* 8015BA24 00158984 B0 01 00 24 */ sth r0, 0x24(r1)
/* 8015BA28 00158988 4B EF 0B 7D */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 8015BA2C 0015898C 7C 64 1B 78 */ mr r4, r3
/* 8015BA30 00158990 38 61 00 3C */ addi r3, r1, 0x3c
/* 8015BA34 00158994 4B F5 16 B5 */ bl "__ct__32TCastToPtr<18CMetroidPrimeRelay>FP7CEntity"
/* 8015BA38 00158998 80 63 00 04 */ lwz r3, 4(r3)
/* 8015BA3C 0015899C 28 03 00 00 */ cmplwi r3, 0
/* 8015BA40 001589A0 41 82 00 10 */ beq lbl_8015BA50
/* 8015BA44 001589A4 A0 03 00 34 */ lhz r0, 0x34(r3)
/* 8015BA48 001589A8 B0 1C 01 08 */ sth r0, 0x108(r28)
/* 8015BA4C 001589AC 48 00 00 20 */ b lbl_8015BA6C
lbl_8015BA50:
/* 8015BA50 001589B0 3B 7B 00 0C */ addi r27, r27, 0xc
lbl_8015BA54:
/* 8015BA54 001589B4 80 1C 00 24 */ lwz r0, 0x24(r28)
/* 8015BA58 001589B8 80 7C 00 2C */ lwz r3, 0x2c(r28)
/* 8015BA5C 001589BC 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8015BA60 001589C0 7C 03 02 14 */ add r0, r3, r0
/* 8015BA64 001589C4 7C 1B 00 40 */ cmplw r27, r0
/* 8015BA68 001589C8 40 82 FF 84 */ bne lbl_8015B9EC
lbl_8015BA6C:
/* 8015BA6C 001589CC 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 8015BA70 001589D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8015BA74 001589D4 41 82 00 98 */ beq lbl_8015BB0C
/* 8015BA78 001589D8 2C 1D 00 06 */ cmpwi r29, 6
/* 8015BA7C 001589DC 83 7F 08 4C */ lwz r27, 0x84c(r31)
/* 8015BA80 001589E0 41 82 00 8C */ beq lbl_8015BB0C
/* 8015BA84 001589E4 40 80 00 10 */ bge lbl_8015BA94
/* 8015BA88 001589E8 2C 1D 00 05 */ cmpwi r29, 5
/* 8015BA8C 001589EC 40 80 00 4C */ bge lbl_8015BAD8
/* 8015BA90 001589F0 48 00 00 7C */ b lbl_8015BB0C
lbl_8015BA94:
/* 8015BA94 001589F4 2C 1D 00 08 */ cmpwi r29, 8
/* 8015BA98 001589F8 40 80 00 74 */ bge lbl_8015BB0C
/* 8015BA9C 001589FC A0 1E 00 00 */ lhz r0, 0(r30)
/* 8015BAA0 00158A00 7F 83 E3 78 */ mr r3, r28
/* 8015BAA4 00158A04 38 81 00 20 */ addi r4, r1, 0x20
/* 8015BAA8 00158A08 B0 01 00 20 */ sth r0, 0x20(r1)
/* 8015BAAC 00158A0C 48 00 01 61 */ bl AddToObjectList__17CScriptPlayerHintF9TUniqueIdR13CStateManager
/* 8015BAB0 00158A10 A0 1C 00 08 */ lhz r0, 8(r28)
/* 8015BAB4 00158A14 7F 63 DB 78 */ mr r3, r27
/* 8015BAB8 00158A18 7F E5 FB 78 */ mr r5, r31
/* 8015BABC 00158A1C 38 81 00 1C */ addi r4, r1, 0x1c
/* 8015BAC0 00158A20 B0 01 00 18 */ sth r0, 0x18(r1)
/* 8015BAC4 00158A24 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 8015BAC8 00158A28 48 12 8A 3D */ bl AddToPlayerHintAddList__7CPlayerF9TUniqueIdR13CStateManager
/* 8015BACC 00158A2C 38 00 00 00 */ li r0, 0
/* 8015BAD0 00158A30 98 1C 00 FC */ stb r0, 0xfc(r28)
/* 8015BAD4 00158A34 48 00 00 38 */ b lbl_8015BB0C
lbl_8015BAD8:
/* 8015BAD8 00158A38 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8015BADC 00158A3C 7F 83 E3 78 */ mr r3, r28
/* 8015BAE0 00158A40 7F E5 FB 78 */ mr r5, r31
/* 8015BAE4 00158A44 38 81 00 14 */ addi r4, r1, 0x14
/* 8015BAE8 00158A48 B0 01 00 14 */ sth r0, 0x14(r1)
/* 8015BAEC 00158A4C 48 00 00 51 */ bl RemoveFromObjectList__17CScriptPlayerHintF9TUniqueIdR13CStateManager
/* 8015BAF0 00158A50 A0 1C 00 08 */ lhz r0, 8(r28)
/* 8015BAF4 00158A54 7F 63 DB 78 */ mr r3, r27
/* 8015BAF8 00158A58 7F E5 FB 78 */ mr r5, r31
/* 8015BAFC 00158A5C 38 81 00 10 */ addi r4, r1, 0x10
/* 8015BB00 00158A60 B0 01 00 0C */ sth r0, 0xc(r1)
/* 8015BB04 00158A64 B0 01 00 10 */ sth r0, 0x10(r1)
/* 8015BB08 00158A68 48 12 88 6D */ bl AddToPlayerHintRemoveList__7CPlayerF9TUniqueIdR13CStateManager
lbl_8015BB0C:
/* 8015BB0C 00158A6C A0 1E 00 00 */ lhz r0, 0(r30)
/* 8015BB10 00158A70 7F 83 E3 78 */ mr r3, r28
/* 8015BB14 00158A74 7F A4 EB 78 */ mr r4, r29
/* 8015BB18 00158A78 7F E6 FB 78 */ mr r6, r31
/* 8015BB1C 00158A7C B0 01 00 08 */ sth r0, 8(r1)
/* 8015BB20 00158A80 38 A1 00 08 */ addi r5, r1, 8
/* 8015BB24 00158A84 4B EF 7A F1 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8015BB28 00158A88 BB 61 00 4C */ lmw r27, 0x4c(r1)
/* 8015BB2C 00158A8C 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8015BB30 00158A90 7C 08 03 A6 */ mtlr r0
/* 8015BB34 00158A94 38 21 00 60 */ addi r1, r1, 0x60
/* 8015BB38 00158A98 4E 80 00 20 */ blr
.global RemoveFromObjectList__17CScriptPlayerHintF9TUniqueIdR13CStateManager
RemoveFromObjectList__17CScriptPlayerHintF9TUniqueIdR13CStateManager:
/* 8015BB3C 00158A9C 80 03 00 E8 */ lwz r0, 0xe8(r3)
/* 8015BB40 00158AA0 2C 00 00 00 */ cmpwi r0, 0
/* 8015BB44 00158AA4 4D 82 00 20 */ beqlr
/* 8015BB48 00158AA8 38 E3 00 EC */ addi r7, r3, 0xec
/* 8015BB4C 00158AAC 54 00 08 3C */ slwi r0, r0, 1
/* 8015BB50 00158AB0 7C E6 3B 78 */ mr r6, r7
/* 8015BB54 00158AB4 7D 07 02 14 */ add r8, r7, r0
/* 8015BB58 00158AB8 48 00 00 08 */ b lbl_8015BB60
lbl_8015BB5C:
/* 8015BB5C 00158ABC 38 C6 00 02 */ addi r6, r6, 2
lbl_8015BB60:
/* 8015BB60 00158AC0 7C 06 40 40 */ cmplw r6, r8
/* 8015BB64 00158AC4 41 82 00 14 */ beq lbl_8015BB78
/* 8015BB68 00158AC8 A0 A6 00 00 */ lhz r5, 0(r6)
/* 8015BB6C 00158ACC A0 04 00 00 */ lhz r0, 0(r4)
/* 8015BB70 00158AD0 7C 05 00 40 */ cmplw r5, r0
/* 8015BB74 00158AD4 40 82 FF E8 */ bne lbl_8015BB5C
lbl_8015BB78:
/* 8015BB78 00158AD8 7C 06 40 40 */ cmplw r6, r8
/* 8015BB7C 00158ADC 40 82 00 4C */ bne lbl_8015BBC8
/* 8015BB80 00158AE0 7C 07 38 40 */ cmplw r7, r7
/* 8015BB84 00158AE4 4D 80 00 20 */ bltlr
/* 8015BB88 00158AE8 7C 07 40 40 */ cmplw r7, r8
/* 8015BB8C 00158AEC 4C 80 00 20 */ bgelr
/* 8015BB90 00158AF0 7C E6 3B 78 */ mr r6, r7
/* 8015BB94 00158AF4 48 00 00 10 */ b lbl_8015BBA4
lbl_8015BB98:
/* 8015BB98 00158AF8 A0 06 00 02 */ lhz r0, 2(r6)
/* 8015BB9C 00158AFC B0 06 00 00 */ sth r0, 0(r6)
/* 8015BBA0 00158B00 38 C6 00 02 */ addi r6, r6, 2
lbl_8015BBA4:
/* 8015BBA4 00158B04 80 A3 00 E8 */ lwz r5, 0xe8(r3)
/* 8015BBA8 00158B08 54 A4 08 3C */ slwi r4, r5, 1
/* 8015BBAC 00158B0C 38 04 FF FE */ addi r0, r4, -2
/* 8015BBB0 00158B10 7C 07 02 14 */ add r0, r7, r0
/* 8015BBB4 00158B14 7C 06 00 40 */ cmplw r6, r0
/* 8015BBB8 00158B18 41 80 FF E0 */ blt lbl_8015BB98
/* 8015BBBC 00158B1C 38 05 FF FF */ addi r0, r5, -1
/* 8015BBC0 00158B20 90 03 00 E8 */ stw r0, 0xe8(r3)
/* 8015BBC4 00158B24 4E 80 00 20 */ blr
lbl_8015BBC8:
/* 8015BBC8 00158B28 7C 06 38 40 */ cmplw r6, r7
/* 8015BBCC 00158B2C 4D 80 00 20 */ bltlr
/* 8015BBD0 00158B30 7C 06 40 40 */ cmplw r6, r8
/* 8015BBD4 00158B34 4C 80 00 20 */ bgelr
/* 8015BBD8 00158B38 48 00 00 10 */ b lbl_8015BBE8
lbl_8015BBDC:
/* 8015BBDC 00158B3C A0 06 00 02 */ lhz r0, 2(r6)
/* 8015BBE0 00158B40 B0 06 00 00 */ sth r0, 0(r6)
/* 8015BBE4 00158B44 38 C6 00 02 */ addi r6, r6, 2
lbl_8015BBE8:
/* 8015BBE8 00158B48 80 A3 00 E8 */ lwz r5, 0xe8(r3)
/* 8015BBEC 00158B4C 54 A4 08 3C */ slwi r4, r5, 1
/* 8015BBF0 00158B50 38 04 FF FE */ addi r0, r4, -2
/* 8015BBF4 00158B54 7C 07 02 14 */ add r0, r7, r0
/* 8015BBF8 00158B58 7C 06 00 40 */ cmplw r6, r0
/* 8015BBFC 00158B5C 41 80 FF E0 */ blt lbl_8015BBDC
/* 8015BC00 00158B60 38 05 FF FF */ addi r0, r5, -1
/* 8015BC04 00158B64 90 03 00 E8 */ stw r0, 0xe8(r3)
/* 8015BC08 00158B68 4E 80 00 20 */ blr
.global AddToObjectList__17CScriptPlayerHintF9TUniqueIdR13CStateManager
AddToObjectList__17CScriptPlayerHintF9TUniqueIdR13CStateManager:
/* 8015BC0C 00158B6C 80 03 00 E8 */ lwz r0, 0xe8(r3)
/* 8015BC10 00158B70 38 C3 00 EC */ addi r6, r3, 0xec
/* 8015BC14 00158B74 54 00 08 3C */ slwi r0, r0, 1
/* 8015BC18 00158B78 7C E6 02 14 */ add r7, r6, r0
/* 8015BC1C 00158B7C 48 00 00 08 */ b lbl_8015BC24
lbl_8015BC20:
/* 8015BC20 00158B80 38 C6 00 02 */ addi r6, r6, 2
lbl_8015BC24:
/* 8015BC24 00158B84 7C 06 38 40 */ cmplw r6, r7
/* 8015BC28 00158B88 41 82 00 14 */ beq lbl_8015BC3C
/* 8015BC2C 00158B8C A0 A6 00 00 */ lhz r5, 0(r6)
/* 8015BC30 00158B90 A0 04 00 00 */ lhz r0, 0(r4)
/* 8015BC34 00158B94 7C 05 00 40 */ cmplw r5, r0
/* 8015BC38 00158B98 40 82 FF E8 */ bne lbl_8015BC20
lbl_8015BC3C:
/* 8015BC3C 00158B9C 7C 06 38 40 */ cmplw r6, r7
/* 8015BC40 00158BA0 4C 82 00 20 */ bnelr
/* 8015BC44 00158BA4 28 07 00 00 */ cmplwi r7, 0
/* 8015BC48 00158BA8 41 82 00 0C */ beq lbl_8015BC54
/* 8015BC4C 00158BAC A0 04 00 00 */ lhz r0, 0(r4)
/* 8015BC50 00158BB0 B0 07 00 00 */ sth r0, 0(r7)
lbl_8015BC54:
/* 8015BC54 00158BB4 80 83 00 E8 */ lwz r4, 0xe8(r3)
/* 8015BC58 00158BB8 38 04 00 01 */ addi r0, r4, 1
/* 8015BC5C 00158BBC 90 03 00 E8 */ stw r0, 0xe8(r3)
/* 8015BC60 00158BC0 4E 80 00 20 */ blr
.global ClearObjectList__17CScriptPlayerHintFv
ClearObjectList__17CScriptPlayerHintFv:
/* 8015BC64 00158BC4 80 C3 00 E8 */ lwz r6, 0xe8(r3)
/* 8015BC68 00158BC8 38 80 00 00 */ li r4, 0
/* 8015BC6C 00158BCC 2C 06 00 00 */ cmpwi r6, 0
/* 8015BC70 00158BD0 40 81 00 40 */ ble lbl_8015BCB0
/* 8015BC74 00158BD4 2C 06 00 08 */ cmpwi r6, 8
/* 8015BC78 00158BD8 38 A6 FF F8 */ addi r5, r6, -8
/* 8015BC7C 00158BDC 40 81 00 20 */ ble lbl_8015BC9C
/* 8015BC80 00158BE0 38 05 00 07 */ addi r0, r5, 7
/* 8015BC84 00158BE4 54 00 E8 FE */ srwi r0, r0, 3
/* 8015BC88 00158BE8 7C 09 03 A6 */ mtctr r0
/* 8015BC8C 00158BEC 2C 05 00 00 */ cmpwi r5, 0
/* 8015BC90 00158BF0 40 81 00 0C */ ble lbl_8015BC9C
lbl_8015BC94:
/* 8015BC94 00158BF4 38 84 00 08 */ addi r4, r4, 8
/* 8015BC98 00158BF8 42 00 FF FC */ bdnz lbl_8015BC94
lbl_8015BC9C:
/* 8015BC9C 00158BFC 7C 04 30 50 */ subf r0, r4, r6
/* 8015BCA0 00158C00 7C 09 03 A6 */ mtctr r0
/* 8015BCA4 00158C04 7C 04 30 00 */ cmpw r4, r6
/* 8015BCA8 00158C08 40 80 00 08 */ bge lbl_8015BCB0
lbl_8015BCAC:
/* 8015BCAC 00158C0C 42 00 00 00 */ bdnz lbl_8015BCAC
lbl_8015BCB0:
/* 8015BCB0 00158C10 38 00 00 00 */ li r0, 0
/* 8015BCB4 00158C14 90 03 00 E8 */ stw r0, 0xe8(r3)
/* 8015BCB8 00158C18 4E 80 00 20 */ blr
.global "__ct__17CScriptPlayerHintF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbii"
"__ct__17CScriptPlayerHintF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbii":
/* 8015BCBC 00158C1C 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 8015BCC0 00158C20 7C 08 02 A6 */ mflr r0
/* 8015BCC4 00158C24 90 01 01 04 */ stw r0, 0x104(r1)
/* 8015BCC8 00158C28 BF 01 00 E0 */ stmw r24, 0xe0(r1)
/* 8015BCCC 00158C2C 7C 7F 1B 78 */ mr r31, r3
/* 8015BCD0 00158C30 7C 98 23 78 */ mr r24, r4
/* 8015BCD4 00158C34 7C B9 2B 78 */ mr r25, r5
/* 8015BCD8 00158C38 7C DA 33 78 */ mr r26, r6
/* 8015BCDC 00158C3C 7C FB 3B 78 */ mr r27, r7
/* 8015BCE0 00158C40 7D 1C 43 78 */ mr r28, r8
/* 8015BCE4 00158C44 7D 3D 4B 78 */ mr r29, r9
/* 8015BCE8 00158C48 7D 5E 53 78 */ mr r30, r10
/* 8015BCEC 00158C4C 38 61 00 88 */ addi r3, r1, 0x88
/* 8015BCF0 00158C50 4B ED EA B5 */ bl CModelDataNull__10CModelDataFv
/* 8015BCF4 00158C54 38 61 00 20 */ addi r3, r1, 0x20
/* 8015BCF8 00158C58 4B EB F1 41 */ bl None__16CActorParametersFv
/* 8015BCFC 00158C5C A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13)
/* 8015BD00 00158C60 38 00 00 00 */ li r0, 0
/* 8015BD04 00158C64 80 AD 8C B0 */ lwz r5, lbl_805A7870@sda21(r13)
/* 8015BD08 00158C68 38 60 00 00 */ li r3, 0
/* 8015BD0C 00158C6C B0 81 00 10 */ sth r4, 0x10(r1)
/* 8015BD10 00158C70 38 80 00 01 */ li r4, 1
/* 8015BD14 00158C74 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8015BD18 00158C78 90 01 00 18 */ stw r0, 0x18(r1)
/* 8015BD1C 00158C7C 48 22 E1 D9 */ bl __shl2i
/* 8015BD20 00158C80 80 A1 00 18 */ lwz r5, 0x18(r1)
/* 8015BD24 00158C84 39 61 00 20 */ addi r11, r1, 0x20
/* 8015BD28 00158C88 80 C1 00 1C */ lwz r6, 0x1c(r1)
/* 8015BD2C 00158C8C 38 01 00 10 */ addi r0, r1, 0x10
/* 8015BD30 00158C90 7C A3 1B 78 */ or r3, r5, r3
/* 8015BD34 00158C94 A1 38 00 00 */ lhz r9, 0(r24)
/* 8015BD38 00158C98 7C C4 23 78 */ or r4, r6, r4
/* 8015BD3C 00158C9C 90 61 00 18 */ stw r3, 0x18(r1)
/* 8015BD40 00158CA0 7F E3 FB 78 */ mr r3, r31
/* 8015BD44 00158CA4 7F 85 E3 78 */ mr r5, r28
/* 8015BD48 00158CA8 90 81 00 1C */ stw r4, 0x1c(r1)
/* 8015BD4C 00158CAC 7F 26 CB 78 */ mr r6, r25
/* 8015BD50 00158CB0 7F 47 D3 78 */ mr r7, r26
/* 8015BD54 00158CB4 7F 68 DB 78 */ mr r8, r27
/* 8015BD58 00158CB8 B1 21 00 14 */ sth r9, 0x14(r1)
/* 8015BD5C 00158CBC 38 81 00 14 */ addi r4, r1, 0x14
/* 8015BD60 00158CC0 39 21 00 88 */ addi r9, r1, 0x88
/* 8015BD64 00158CC4 39 41 00 18 */ addi r10, r1, 0x18
/* 8015BD68 00158CC8 91 61 00 08 */ stw r11, 8(r1)
/* 8015BD6C 00158CCC 90 01 00 0C */ stw r0, 0xc(r1)
/* 8015BD70 00158CD0 4B EF 9A B1 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 8015BD74 00158CD4 38 61 00 20 */ addi r3, r1, 0x20
/* 8015BD78 00158CD8 38 80 FF FF */ li r4, -1
/* 8015BD7C 00158CDC 4B FA A8 8D */ bl __dt__16CActorParametersFv
/* 8015BD80 00158CE0 38 61 00 88 */ addi r3, r1, 0x88
/* 8015BD84 00158CE4 38 80 FF FF */ li r4, -1
/* 8015BD88 00158CE8 4B FB AC C5 */ bl __dt__10CModelDataFv
/* 8015BD8C 00158CEC 3C 60 80 3E */ lis r3, lbl_803E32D8@ha
/* 8015BD90 00158CF0 38 00 00 00 */ li r0, 0
/* 8015BD94 00158CF4 38 83 32 D8 */ addi r4, r3, lbl_803E32D8@l
/* 8015BD98 00158CF8 7F E3 FB 78 */ mr r3, r31
/* 8015BD9C 00158CFC 90 9F 00 00 */ stw r4, 0(r31)
/* 8015BDA0 00158D00 90 1F 00 E8 */ stw r0, 0xe8(r31)
/* 8015BDA4 00158D04 98 1F 00 FC */ stb r0, 0xfc(r31)
/* 8015BDA8 00158D08 93 BF 01 00 */ stw r29, 0x100(r31)
/* 8015BDAC 00158D0C 93 DF 01 04 */ stw r30, 0x104(r31)
/* 8015BDB0 00158D10 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8015BDB4 00158D14 B0 1F 01 08 */ sth r0, 0x108(r31)
/* 8015BDB8 00158D18 BB 01 00 E0 */ lmw r24, 0xe0(r1)
/* 8015BDBC 00158D1C 80 01 01 04 */ lwz r0, 0x104(r1)
/* 8015BDC0 00158D20 7C 08 03 A6 */ mtlr r0
/* 8015BDC4 00158D24 38 21 01 00 */ addi r1, r1, 0x100
/* 8015BDC8 00158D28 4E 80 00 20 */ blr

View File

@ -0,0 +1,258 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global CalculateRenderBounds__22CScriptPointOfInterestFv
CalculateRenderBounds__22CScriptPointOfInterestFv:
/* 8015EAD0 0015BA30 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8015EAD4 0015BA34 7C 08 02 A6 */ mflr r0
/* 8015EAD8 0015BA38 C0 02 9F 60 */ lfs f0, lbl_805ABC80@sda21(r2)
/* 8015EADC 0015BA3C 90 01 00 44 */ stw r0, 0x44(r1)
/* 8015EAE0 0015BA40 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8015EAE4 0015BA44 7C 7F 1B 78 */ mr r31, r3
/* 8015EAE8 0015BA48 C0 E3 00 E8 */ lfs f7, 0xe8(r3)
/* 8015EAEC 0015BA4C FC 00 38 00 */ fcmpu cr0, f0, f7
/* 8015EAF0 0015BA50 40 82 00 0C */ bne lbl_8015EAFC
/* 8015EAF4 0015BA54 4B EF 65 E1 */ bl CalculateRenderBounds__6CActorFv
/* 8015EAF8 0015BA58 48 00 00 80 */ b lbl_8015EB78
lbl_8015EAFC:
/* 8015EAFC 0015BA5C C0 DF 00 60 */ lfs f6, 0x60(r31)
/* 8015EB00 0015BA60 38 61 00 20 */ addi r3, r1, 0x20
/* 8015EB04 0015BA64 C0 BF 00 50 */ lfs f5, 0x50(r31)
/* 8015EB08 0015BA68 38 81 00 14 */ addi r4, r1, 0x14
/* 8015EB0C 0015BA6C C0 3F 00 40 */ lfs f1, 0x40(r31)
/* 8015EB10 0015BA70 EC 06 38 2A */ fadds f0, f6, f7
/* 8015EB14 0015BA74 EC 65 38 2A */ fadds f3, f5, f7
/* 8015EB18 0015BA78 38 A1 00 08 */ addi r5, r1, 8
/* 8015EB1C 0015BA7C EC 81 38 2A */ fadds f4, f1, f7
/* 8015EB20 0015BA80 EC 41 38 28 */ fsubs f2, f1, f7
/* 8015EB24 0015BA84 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 8015EB28 0015BA88 EC 25 38 28 */ fsubs f1, f5, f7
/* 8015EB2C 0015BA8C EC 06 38 28 */ fsubs f0, f6, f7
/* 8015EB30 0015BA90 D0 81 00 08 */ stfs f4, 8(r1)
/* 8015EB34 0015BA94 D0 61 00 0C */ stfs f3, 0xc(r1)
/* 8015EB38 0015BA98 D0 41 00 14 */ stfs f2, 0x14(r1)
/* 8015EB3C 0015BA9C D0 21 00 18 */ stfs f1, 0x18(r1)
/* 8015EB40 0015BAA0 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8015EB44 0015BAA4 48 1D 99 C5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8015EB48 0015BAA8 80 61 00 20 */ lwz r3, 0x20(r1)
/* 8015EB4C 0015BAAC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8015EB50 0015BAB0 90 7F 00 9C */ stw r3, 0x9c(r31)
/* 8015EB54 0015BAB4 90 1F 00 A0 */ stw r0, 0xa0(r31)
/* 8015EB58 0015BAB8 80 01 00 28 */ lwz r0, 0x28(r1)
/* 8015EB5C 0015BABC 90 1F 00 A4 */ stw r0, 0xa4(r31)
/* 8015EB60 0015BAC0 80 61 00 2C */ lwz r3, 0x2c(r1)
/* 8015EB64 0015BAC4 80 01 00 30 */ lwz r0, 0x30(r1)
/* 8015EB68 0015BAC8 90 7F 00 A8 */ stw r3, 0xa8(r31)
/* 8015EB6C 0015BACC 90 1F 00 AC */ stw r0, 0xac(r31)
/* 8015EB70 0015BAD0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8015EB74 0015BAD4 90 1F 00 B0 */ stw r0, 0xb0(r31)
lbl_8015EB78:
/* 8015EB78 0015BAD8 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8015EB7C 0015BADC 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8015EB80 0015BAE0 7C 08 03 A6 */ mtlr r0
/* 8015EB84 0015BAE4 38 21 00 40 */ addi r1, r1, 0x40
/* 8015EB88 0015BAE8 4E 80 00 20 */ blr
.global Think__22CScriptPointOfInterestFfR13CStateManager
Think__22CScriptPointOfInterestFfR13CStateManager:
/* 8015EB8C 0015BAEC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8015EB90 0015BAF0 7C 08 02 A6 */ mflr r0
/* 8015EB94 0015BAF4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015EB98 0015BAF8 80 A4 08 B8 */ lwz r5, 0x8b8(r4)
/* 8015EB9C 0015BAFC 88 03 00 E7 */ lbz r0, 0xe7(r3)
/* 8015EBA0 0015BB00 80 A5 00 00 */ lwz r5, 0(r5)
/* 8015EBA4 0015BB04 80 A5 00 14 */ lwz r5, 0x14(r5)
/* 8015EBA8 0015BB08 20 A5 00 02 */ subfic r5, r5, 2
/* 8015EBAC 0015BB0C 7C A5 00 34 */ cntlzw r5, r5
/* 8015EBB0 0015BB10 50 A0 DF FE */ rlwimi r0, r5, 0x1b, 0x1f, 0x1f
/* 8015EBB4 0015BB14 98 03 00 E7 */ stb r0, 0xe7(r3)
/* 8015EBB8 0015BB18 4B EF 25 01 */ bl Think__7CEntityFfR13CStateManager
/* 8015EBBC 0015BB1C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8015EBC0 0015BB20 7C 08 03 A6 */ mtlr r0
/* 8015EBC4 0015BB24 38 21 00 10 */ addi r1, r1, 0x10
/* 8015EBC8 0015BB28 4E 80 00 20 */ blr
.global Accept__22CScriptPointOfInterestFR8IVisitor
Accept__22CScriptPointOfInterestFR8IVisitor:
/* 8015EBCC 0015BB2C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8015EBD0 0015BB30 7C 08 02 A6 */ mflr r0
/* 8015EBD4 0015BB34 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015EBD8 0015BB38 7C 60 1B 78 */ mr r0, r3
/* 8015EBDC 0015BB3C 7C 83 23 78 */ mr r3, r4
/* 8015EBE0 0015BB40 81 84 00 00 */ lwz r12, 0(r4)
/* 8015EBE4 0015BB44 7C 04 03 78 */ mr r4, r0
/* 8015EBE8 0015BB48 81 8C 00 A4 */ lwz r12, 0xa4(r12)
/* 8015EBEC 0015BB4C 7D 89 03 A6 */ mtctr r12
/* 8015EBF0 0015BB50 4E 80 04 21 */ bctrl
/* 8015EBF4 0015BB54 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8015EBF8 0015BB58 7C 08 03 A6 */ mtlr r0
/* 8015EBFC 0015BB5C 38 21 00 10 */ addi r1, r1, 0x10
/* 8015EC00 0015BB60 4E 80 00 20 */ blr
.global AddToRenderer__22CScriptPointOfInterestCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__22CScriptPointOfInterestCFRC14CFrustumPlanesRC13CStateManager:
/* 8015EC04 0015BB64 4E 80 00 20 */ blr
.global Render__22CScriptPointOfInterestCFRC13CStateManager
Render__22CScriptPointOfInterestCFRC13CStateManager:
/* 8015EC08 0015BB68 4E 80 00 20 */ blr
.global GetTouchBounds__22CScriptPointOfInterestCFv
GetTouchBounds__22CScriptPointOfInterestCFv:
/* 8015EC0C 0015BB6C 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8015EC10 0015BB70 7C 08 02 A6 */ mflr r0
/* 8015EC14 0015BB74 90 01 00 44 */ stw r0, 0x44(r1)
/* 8015EC18 0015BB78 38 A1 00 08 */ addi r5, r1, 8
/* 8015EC1C 0015BB7C 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8015EC20 0015BB80 7C 7F 1B 78 */ mr r31, r3
/* 8015EC24 0015BB84 38 61 00 20 */ addi r3, r1, 0x20
/* 8015EC28 0015BB88 C0 44 00 60 */ lfs f2, 0x60(r4)
/* 8015EC2C 0015BB8C C0 24 00 50 */ lfs f1, 0x50(r4)
/* 8015EC30 0015BB90 C0 04 00 40 */ lfs f0, 0x40(r4)
/* 8015EC34 0015BB94 38 81 00 14 */ addi r4, r1, 0x14
/* 8015EC38 0015BB98 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8015EC3C 0015BB9C D0 01 00 08 */ stfs f0, 8(r1)
/* 8015EC40 0015BBA0 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 8015EC44 0015BBA4 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8015EC48 0015BBA8 D0 21 00 18 */ stfs f1, 0x18(r1)
/* 8015EC4C 0015BBAC D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 8015EC50 0015BBB0 48 1D 98 B9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8015EC54 0015BBB4 38 00 00 01 */ li r0, 1
/* 8015EC58 0015BBB8 28 1F 00 00 */ cmplwi r31, 0
/* 8015EC5C 0015BBBC 98 1F 00 18 */ stb r0, 0x18(r31)
/* 8015EC60 0015BBC0 41 82 00 34 */ beq lbl_8015EC94
/* 8015EC64 0015BBC4 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 8015EC68 0015BBC8 D0 1F 00 00 */ stfs f0, 0(r31)
/* 8015EC6C 0015BBCC C0 01 00 24 */ lfs f0, 0x24(r1)
/* 8015EC70 0015BBD0 D0 1F 00 04 */ stfs f0, 4(r31)
/* 8015EC74 0015BBD4 C0 01 00 28 */ lfs f0, 0x28(r1)
/* 8015EC78 0015BBD8 D0 1F 00 08 */ stfs f0, 8(r31)
/* 8015EC7C 0015BBDC C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 8015EC80 0015BBE0 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 8015EC84 0015BBE4 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 8015EC88 0015BBE8 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 8015EC8C 0015BBEC C0 01 00 34 */ lfs f0, 0x34(r1)
/* 8015EC90 0015BBF0 D0 1F 00 14 */ stfs f0, 0x14(r31)
lbl_8015EC94:
/* 8015EC94 0015BBF4 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8015EC98 0015BBF8 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8015EC9C 0015BBFC 7C 08 03 A6 */ mtlr r0
/* 8015ECA0 0015BC00 38 21 00 40 */ addi r1, r1, 0x40
/* 8015ECA4 0015BC04 4E 80 00 20 */ blr
.global AcceptScriptMsg__22CScriptPointOfInterestF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__22CScriptPointOfInterestF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8015ECA8 0015BC08 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8015ECAC 0015BC0C 7C 08 02 A6 */ mflr r0
/* 8015ECB0 0015BC10 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015ECB4 0015BC14 A0 05 00 00 */ lhz r0, 0(r5)
/* 8015ECB8 0015BC18 38 A1 00 08 */ addi r5, r1, 8
/* 8015ECBC 0015BC1C B0 01 00 08 */ sth r0, 8(r1)
/* 8015ECC0 0015BC20 4B EF 49 55 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8015ECC4 0015BC24 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8015ECC8 0015BC28 7C 08 03 A6 */ mtlr r0
/* 8015ECCC 0015BC2C 38 21 00 10 */ addi r1, r1, 0x10
/* 8015ECD0 0015BC30 4E 80 00 20 */ blr
.global __dt__22CScriptPointOfInterestFv
__dt__22CScriptPointOfInterestFv:
/* 8015ECD4 0015BC34 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8015ECD8 0015BC38 7C 08 02 A6 */ mflr r0
/* 8015ECDC 0015BC3C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8015ECE0 0015BC40 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8015ECE4 0015BC44 7C 9F 23 78 */ mr r31, r4
/* 8015ECE8 0015BC48 93 C1 00 08 */ stw r30, 8(r1)
/* 8015ECEC 0015BC4C 7C 7E 1B 79 */ or. r30, r3, r3
/* 8015ECF0 0015BC50 41 82 00 28 */ beq lbl_8015ED18
/* 8015ECF4 0015BC54 3C A0 80 3E */ lis r5, lbl_803E3638@ha
/* 8015ECF8 0015BC58 38 80 00 00 */ li r4, 0
/* 8015ECFC 0015BC5C 38 05 36 38 */ addi r0, r5, lbl_803E3638@l
/* 8015ED00 0015BC60 90 1E 00 00 */ stw r0, 0(r30)
/* 8015ED04 0015BC64 4B EF 69 ED */ bl __dt__6CActorFv
/* 8015ED08 0015BC68 7F E0 07 35 */ extsh. r0, r31
/* 8015ED0C 0015BC6C 40 81 00 0C */ ble lbl_8015ED18
/* 8015ED10 0015BC70 7F C3 F3 78 */ mr r3, r30
/* 8015ED14 0015BC74 48 1B 6C 1D */ bl Free__7CMemoryFPCv
lbl_8015ED18:
/* 8015ED18 0015BC78 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8015ED1C 0015BC7C 7F C3 F3 78 */ mr r3, r30
/* 8015ED20 0015BC80 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8015ED24 0015BC84 83 C1 00 08 */ lwz r30, 8(r1)
/* 8015ED28 0015BC88 7C 08 03 A6 */ mtlr r0
/* 8015ED2C 0015BC8C 38 21 00 10 */ addi r1, r1, 0x10
/* 8015ED30 0015BC90 4E 80 00 20 */ blr
.global "__ct__22CScriptPointOfInterestF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC20CScannableParameters"
"__ct__22CScriptPointOfInterestF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC20CScannableParameters":
/* 8015ED34 0015BC94 94 21 FE 90 */ stwu r1, -0x170(r1)
/* 8015ED38 0015BC98 7C 08 02 A6 */ mflr r0
/* 8015ED3C 0015BC9C 90 01 01 74 */ stw r0, 0x174(r1)
/* 8015ED40 0015BCA0 DB E1 01 68 */ stfd f31, 0x168(r1)
/* 8015ED44 0015BCA4 FF E0 08 90 */ fmr f31, f1
/* 8015ED48 0015BCA8 BF 21 01 4C */ stmw r25, 0x14c(r1)
/* 8015ED4C 0015BCAC 7C 7F 1B 78 */ mr r31, r3
/* 8015ED50 0015BCB0 7C 99 23 78 */ mr r25, r4
/* 8015ED54 0015BCB4 7C BA 2B 78 */ mr r26, r5
/* 8015ED58 0015BCB8 7C DB 33 78 */ mr r27, r6
/* 8015ED5C 0015BCBC 7C FC 3B 78 */ mr r28, r7
/* 8015ED60 0015BCC0 7D 1D 43 78 */ mr r29, r8
/* 8015ED64 0015BCC4 7D 3E 4B 78 */ mr r30, r9
/* 8015ED68 0015BCC8 38 61 00 F0 */ addi r3, r1, 0xf0
/* 8015ED6C 0015BCCC 4B ED BA 39 */ bl CModelDataNull__10CModelDataFv
/* 8015ED70 0015BCD0 38 61 00 88 */ addi r3, r1, 0x88
/* 8015ED74 0015BCD4 4B EB C0 C5 */ bl None__16CActorParametersFv
/* 8015ED78 0015BCD8 7F C5 F3 78 */ mr r5, r30
/* 8015ED7C 0015BCDC 38 61 00 20 */ addi r3, r1, 0x20
/* 8015ED80 0015BCE0 38 81 00 88 */ addi r4, r1, 0x88
/* 8015ED84 0015BCE4 4B FA 7A E9 */ bl Scannable__16CActorParametersCFRC20CScannableParameters
/* 8015ED88 0015BCE8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13)
/* 8015ED8C 0015BCEC 38 00 00 00 */ li r0, 0
/* 8015ED90 0015BCF0 80 AD 8C E8 */ lwz r5, lbl_805A78A8@sda21(r13)
/* 8015ED94 0015BCF4 38 60 00 00 */ li r3, 0
/* 8015ED98 0015BCF8 B0 81 00 10 */ sth r4, 0x10(r1)
/* 8015ED9C 0015BCFC 38 80 00 01 */ li r4, 1
/* 8015EDA0 0015BD00 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8015EDA4 0015BD04 90 01 00 18 */ stw r0, 0x18(r1)
/* 8015EDA8 0015BD08 48 22 B1 4D */ bl __shl2i
/* 8015EDAC 0015BD0C 80 A1 00 18 */ lwz r5, 0x18(r1)
/* 8015EDB0 0015BD10 39 61 00 20 */ addi r11, r1, 0x20
/* 8015EDB4 0015BD14 80 C1 00 1C */ lwz r6, 0x1c(r1)
/* 8015EDB8 0015BD18 38 01 00 10 */ addi r0, r1, 0x10
/* 8015EDBC 0015BD1C 7C A3 1B 78 */ or r3, r5, r3
/* 8015EDC0 0015BD20 A1 39 00 00 */ lhz r9, 0(r25)
/* 8015EDC4 0015BD24 7C C4 23 78 */ or r4, r6, r4
/* 8015EDC8 0015BD28 90 61 00 18 */ stw r3, 0x18(r1)
/* 8015EDCC 0015BD2C 7F E3 FB 78 */ mr r3, r31
/* 8015EDD0 0015BD30 7F A5 EB 78 */ mr r5, r29
/* 8015EDD4 0015BD34 90 81 00 1C */ stw r4, 0x1c(r1)
/* 8015EDD8 0015BD38 7F 46 D3 78 */ mr r6, r26
/* 8015EDDC 0015BD3C 7F 67 DB 78 */ mr r7, r27
/* 8015EDE0 0015BD40 7F 88 E3 78 */ mr r8, r28
/* 8015EDE4 0015BD44 B1 21 00 14 */ sth r9, 0x14(r1)
/* 8015EDE8 0015BD48 38 81 00 14 */ addi r4, r1, 0x14
/* 8015EDEC 0015BD4C 39 21 00 F0 */ addi r9, r1, 0xf0
/* 8015EDF0 0015BD50 39 41 00 18 */ addi r10, r1, 0x18
/* 8015EDF4 0015BD54 91 61 00 08 */ stw r11, 8(r1)
/* 8015EDF8 0015BD58 90 01 00 0C */ stw r0, 0xc(r1)
/* 8015EDFC 0015BD5C 4B EF 6A 25 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 8015EE00 0015BD60 38 61 00 20 */ addi r3, r1, 0x20
/* 8015EE04 0015BD64 38 80 FF FF */ li r4, -1
/* 8015EE08 0015BD68 4B FA 78 01 */ bl __dt__16CActorParametersFv
/* 8015EE0C 0015BD6C 38 61 00 88 */ addi r3, r1, 0x88
/* 8015EE10 0015BD70 38 80 FF FF */ li r4, -1
/* 8015EE14 0015BD74 4B FA 77 F5 */ bl __dt__16CActorParametersFv
/* 8015EE18 0015BD78 38 61 00 F0 */ addi r3, r1, 0xf0
/* 8015EE1C 0015BD7C 38 80 FF FF */ li r4, -1
/* 8015EE20 0015BD80 4B FB 7C 2D */ bl __dt__10CModelDataFv
/* 8015EE24 0015BD84 3C 80 80 3E */ lis r4, lbl_803E3638@ha
/* 8015EE28 0015BD88 7F E3 FB 78 */ mr r3, r31
/* 8015EE2C 0015BD8C 38 04 36 38 */ addi r0, r4, lbl_803E3638@l
/* 8015EE30 0015BD90 90 1F 00 00 */ stw r0, 0(r31)
/* 8015EE34 0015BD94 D3 FF 00 E8 */ stfs f31, 0xe8(r31)
/* 8015EE38 0015BD98 CB E1 01 68 */ lfd f31, 0x168(r1)
/* 8015EE3C 0015BD9C BB 21 01 4C */ lmw r25, 0x14c(r1)
/* 8015EE40 0015BDA0 80 01 01 74 */ lwz r0, 0x174(r1)
/* 8015EE44 0015BDA4 7C 08 03 A6 */ mtlr r0
/* 8015EE48 0015BDA8 38 21 01 70 */ addi r1, r1, 0x170
/* 8015EE4C 0015BDAC 4E 80 00 20 */ blr

View File

@ -0,0 +1,194 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Accept__13CScriptRippleFR8IVisitor
Accept__13CScriptRippleFR8IVisitor:
/* 80174F14 00171E74 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80174F18 00171E78 7C 08 02 A6 */ mflr r0
/* 80174F1C 00171E7C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80174F20 00171E80 7C 60 1B 78 */ mr r0, r3
/* 80174F24 00171E84 7C 83 23 78 */ mr r3, r4
/* 80174F28 00171E88 81 84 00 00 */ lwz r12, 0(r4)
/* 80174F2C 00171E8C 7C 04 03 78 */ mr r4, r0
/* 80174F30 00171E90 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 80174F34 00171E94 7D 89 03 A6 */ mtctr r12
/* 80174F38 00171E98 4E 80 04 21 */ bctrl
/* 80174F3C 00171E9C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80174F40 00171EA0 7C 08 03 A6 */ mtlr r0
/* 80174F44 00171EA4 38 21 00 10 */ addi r1, r1, 0x10
/* 80174F48 00171EA8 4E 80 00 20 */ blr
.global Think__13CScriptRippleFfR13CStateManager
Think__13CScriptRippleFfR13CStateManager:
/* 80174F4C 00171EAC 4E 80 00 20 */ blr
.global AcceptScriptMsg__13CScriptRippleF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__13CScriptRippleF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 80174F50 00171EB0 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80174F54 00171EB4 7C 08 02 A6 */ mflr r0
/* 80174F58 00171EB8 2C 04 00 14 */ cmpwi r4, 0x14
/* 80174F5C 00171EBC 90 01 00 54 */ stw r0, 0x54(r1)
/* 80174F60 00171EC0 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 80174F64 00171EC4 7C DF 33 78 */ mr r31, r6
/* 80174F68 00171EC8 93 C1 00 48 */ stw r30, 0x48(r1)
/* 80174F6C 00171ECC 7C 7E 1B 78 */ mr r30, r3
/* 80174F70 00171ED0 93 A1 00 44 */ stw r29, 0x44(r1)
/* 80174F74 00171ED4 41 82 00 08 */ beq lbl_80174F7C
/* 80174F78 00171ED8 48 00 00 F4 */ b lbl_8017506C
lbl_80174F7C:
/* 80174F7C 00171EDC 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 80174F80 00171EE0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80174F84 00171EE4 41 82 00 F8 */ beq lbl_8017507C
/* 80174F88 00171EE8 83 BE 00 2C */ lwz r29, 0x2c(r30)
/* 80174F8C 00171EEC 48 00 00 C4 */ b lbl_80175050
lbl_80174F90:
/* 80174F90 00171EF0 80 1D 00 00 */ lwz r0, 0(r29)
/* 80174F94 00171EF4 2C 00 00 00 */ cmpwi r0, 0
/* 80174F98 00171EF8 40 82 00 B4 */ bne lbl_8017504C
/* 80174F9C 00171EFC 80 1D 00 04 */ lwz r0, 4(r29)
/* 80174FA0 00171F00 2C 00 00 08 */ cmpwi r0, 8
/* 80174FA4 00171F04 40 82 00 A8 */ bne lbl_8017504C
/* 80174FA8 00171F08 80 1D 00 08 */ lwz r0, 8(r29)
/* 80174FAC 00171F0C 7F E4 FB 78 */ mr r4, r31
/* 80174FB0 00171F10 38 61 00 24 */ addi r3, r1, 0x24
/* 80174FB4 00171F14 38 A1 00 18 */ addi r5, r1, 0x18
/* 80174FB8 00171F18 90 01 00 18 */ stw r0, 0x18(r1)
/* 80174FBC 00171F1C 4B ED 30 0D */ bl GetIdListForScript__13CStateManagerCF9TEditorId
/* 80174FC0 00171F20 80 A1 00 24 */ lwz r5, 0x24(r1)
/* 80174FC4 00171F24 38 60 00 00 */ li r3, 0
/* 80174FC8 00171F28 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 80174FCC 00171F2C 80 81 00 28 */ lwz r4, 0x28(r1)
/* 80174FD0 00171F30 7C 05 00 40 */ cmplw r5, r0
/* 80174FD4 00171F34 80 01 00 30 */ lwz r0, 0x30(r1)
/* 80174FD8 00171F38 40 82 00 0C */ bne lbl_80174FE4
/* 80174FDC 00171F3C 7C 04 00 40 */ cmplw r4, r0
/* 80174FE0 00171F40 41 82 00 08 */ beq lbl_80174FE8
lbl_80174FE4:
/* 80174FE4 00171F44 38 60 00 01 */ li r3, 1
lbl_80174FE8:
/* 80174FE8 00171F48 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80174FEC 00171F4C 41 82 00 60 */ beq lbl_8017504C
/* 80174FF0 00171F50 A0 05 00 14 */ lhz r0, 0x14(r5)
/* 80174FF4 00171F54 7F E3 FB 78 */ mr r3, r31
/* 80174FF8 00171F58 38 81 00 14 */ addi r4, r1, 0x14
/* 80174FFC 00171F5C B0 01 00 14 */ sth r0, 0x14(r1)
/* 80175000 00171F60 4B ED 75 75 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80175004 00171F64 7C 64 1B 78 */ mr r4, r3
/* 80175008 00171F68 38 61 00 1C */ addi r3, r1, 0x1c
/* 8017500C 00171F6C 4B F3 18 55 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity"
/* 80175010 00171F70 80 C3 00 04 */ lwz r6, 4(r3)
/* 80175014 00171F74 28 06 00 00 */ cmplwi r6, 0
/* 80175018 00171F78 41 82 00 34 */ beq lbl_8017504C
/* 8017501C 00171F7C A0 1E 00 08 */ lhz r0, 8(r30)
/* 80175020 00171F80 7F E7 FB 78 */ mr r7, r31
/* 80175024 00171F84 38 81 00 10 */ addi r4, r1, 0x10
/* 80175028 00171F88 38 BE 00 38 */ addi r5, r30, 0x38
/* 8017502C 00171F8C B0 01 00 10 */ sth r0, 0x10(r1)
/* 80175030 00171F90 80 66 01 B4 */ lwz r3, 0x1b4(r6)
/* 80175034 00171F94 B0 01 00 0C */ sth r0, 0xc(r1)
/* 80175038 00171F98 81 83 00 00 */ lwz r12, 0(r3)
/* 8017503C 00171F9C C0 3E 00 34 */ lfs f1, 0x34(r30)
/* 80175040 00171FA0 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80175044 00171FA4 7D 89 03 A6 */ mtctr r12
/* 80175048 00171FA8 4E 80 04 21 */ bctrl
lbl_8017504C:
/* 8017504C 00171FAC 3B BD 00 0C */ addi r29, r29, 0xc
lbl_80175050:
/* 80175050 00171FB0 80 1E 00 24 */ lwz r0, 0x24(r30)
/* 80175054 00171FB4 80 7E 00 2C */ lwz r3, 0x2c(r30)
/* 80175058 00171FB8 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8017505C 00171FBC 7C 03 02 14 */ add r0, r3, r0
/* 80175060 00171FC0 7C 1D 00 40 */ cmplw r29, r0
/* 80175064 00171FC4 40 82 FF 2C */ bne lbl_80174F90
/* 80175068 00171FC8 48 00 00 14 */ b lbl_8017507C
lbl_8017506C:
/* 8017506C 00171FCC A0 05 00 00 */ lhz r0, 0(r5)
/* 80175070 00171FD0 38 A1 00 08 */ addi r5, r1, 8
/* 80175074 00171FD4 B0 01 00 08 */ sth r0, 8(r1)
/* 80175078 00171FD8 4B ED C0 E5 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
lbl_8017507C:
/* 8017507C 00171FDC 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80175080 00171FE0 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 80175084 00171FE4 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 80175088 00171FE8 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 8017508C 00171FEC 7C 08 03 A6 */ mtlr r0
/* 80175090 00171FF0 38 21 00 50 */ addi r1, r1, 0x50
/* 80175094 00171FF4 4E 80 00 20 */ blr
.global __dt__13CScriptRippleFv
__dt__13CScriptRippleFv:
/* 80175098 00171FF8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8017509C 00171FFC 7C 08 02 A6 */ mflr r0
/* 801750A0 00172000 90 01 00 14 */ stw r0, 0x14(r1)
/* 801750A4 00172004 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801750A8 00172008 7C 9F 23 78 */ mr r31, r4
/* 801750AC 0017200C 93 C1 00 08 */ stw r30, 8(r1)
/* 801750B0 00172010 7C 7E 1B 79 */ or. r30, r3, r3
/* 801750B4 00172014 41 82 00 28 */ beq lbl_801750DC
/* 801750B8 00172018 3C A0 80 3E */ lis r5, lbl_803E3E28@ha
/* 801750BC 0017201C 38 80 00 00 */ li r4, 0
/* 801750C0 00172020 38 05 3E 28 */ addi r0, r5, lbl_803E3E28@l
/* 801750C4 00172024 90 1E 00 00 */ stw r0, 0(r30)
/* 801750C8 00172028 4B ED C1 AD */ bl __dt__7CEntityFv
/* 801750CC 0017202C 7F E0 07 35 */ extsh. r0, r31
/* 801750D0 00172030 40 81 00 0C */ ble lbl_801750DC
/* 801750D4 00172034 7F C3 F3 78 */ mr r3, r30
/* 801750D8 00172038 48 1A 08 59 */ bl Free__7CMemoryFPCv
lbl_801750DC:
/* 801750DC 0017203C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801750E0 00172040 7F C3 F3 78 */ mr r3, r30
/* 801750E4 00172044 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 801750E8 00172048 83 C1 00 08 */ lwz r30, 8(r1)
/* 801750EC 0017204C 7C 08 03 A6 */ mtlr r0
/* 801750F0 00172050 38 21 00 10 */ addi r1, r1, 0x10
/* 801750F4 00172054 4E 80 00 20 */ blr
.global "__ct__13CScriptRippleF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fbffff"
"__ct__13CScriptRippleF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fbffff":
/* 801750F8 00172058 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801750FC 0017205C 7C 08 02 A6 */ mflr r0
/* 80175100 00172060 90 01 00 34 */ stw r0, 0x34(r1)
/* 80175104 00172064 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 80175108 00172068 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 8017510C 0017206C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80175110 00172070 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80175114 00172074 A0 04 00 00 */ lhz r0, 0(r4)
/* 80175118 00172078 7C A4 2B 78 */ mr r4, r5
/* 8017511C 0017207C FF E0 08 90 */ fmr f31, f1
/* 80175120 00172080 7C FF 3B 78 */ mr r31, r7
/* 80175124 00172084 B0 01 00 08 */ sth r0, 8(r1)
/* 80175128 00172088 7C C5 33 78 */ mr r5, r6
/* 8017512C 0017208C 7C 87 23 78 */ mr r7, r4
/* 80175130 00172090 7C 7E 1B 78 */ mr r30, r3
/* 80175134 00172094 7D 06 43 78 */ mr r6, r8
/* 80175138 00172098 38 81 00 08 */ addi r4, r1, 8
/* 8017513C 0017209C 4B ED C1 E9 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80175140 001720A0 C0 02 A1 70 */ lfs f0, lbl_805ABE90@sda21(r2)
/* 80175144 001720A4 3C 60 80 3E */ lis r3, lbl_803E3E28@ha
/* 80175148 001720A8 38 03 3E 28 */ addi r0, r3, lbl_803E3E28@l
/* 8017514C 001720AC FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 80175150 001720B0 90 1E 00 00 */ stw r0, 0(r30)
/* 80175154 001720B4 4C 41 13 82 */ cror 2, 1, 2
/* 80175158 001720B8 40 82 00 0C */ bne lbl_80175164
/* 8017515C 001720BC FC 00 F8 90 */ fmr f0, f31
/* 80175160 001720C0 48 00 00 08 */ b lbl_80175168
lbl_80175164:
/* 80175164 001720C4 C0 02 96 D0 */ lfs f0, lbl_805AB3F0@sda21(r2)
lbl_80175168:
/* 80175168 001720C8 D0 1E 00 34 */ stfs f0, 0x34(r30)
/* 8017516C 001720CC 7F C3 F3 78 */ mr r3, r30
/* 80175170 001720D0 C0 1F 00 00 */ lfs f0, 0(r31)
/* 80175174 001720D4 D0 1E 00 38 */ stfs f0, 0x38(r30)
/* 80175178 001720D8 C0 1F 00 04 */ lfs f0, 4(r31)
/* 8017517C 001720DC D0 1E 00 3C */ stfs f0, 0x3c(r30)
/* 80175180 001720E0 C0 1F 00 08 */ lfs f0, 8(r31)
/* 80175184 001720E4 D0 1E 00 40 */ stfs f0, 0x40(r30)
/* 80175188 001720E8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8017518C 001720EC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80175190 001720F0 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 80175194 001720F4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80175198 001720F8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8017519C 001720FC 7C 08 03 A6 */ mtlr r0
/* 801751A0 00172100 38 21 00 30 */ addi r1, r1, 0x30
/* 801751A4 00172104 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,290 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Accept__12CScriptSteamFR8IVisitor
Accept__12CScriptSteamFR8IVisitor:
/* 80174B10 00171A70 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80174B14 00171A74 7C 08 02 A6 */ mflr r0
/* 80174B18 00171A78 90 01 00 14 */ stw r0, 0x14(r1)
/* 80174B1C 00171A7C 7C 60 1B 78 */ mr r0, r3
/* 80174B20 00171A80 7C 83 23 78 */ mr r3, r4
/* 80174B24 00171A84 81 84 00 00 */ lwz r12, 0(r4)
/* 80174B28 00171A88 7C 04 03 78 */ mr r4, r0
/* 80174B2C 00171A8C 81 8C 00 CC */ lwz r12, 0xcc(r12)
/* 80174B30 00171A90 7D 89 03 A6 */ mtctr r12
/* 80174B34 00171A94 4E 80 04 21 */ bctrl
/* 80174B38 00171A98 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80174B3C 00171A9C 7C 08 03 A6 */ mtlr r0
/* 80174B40 00171AA0 38 21 00 10 */ addi r1, r1, 0x10
/* 80174B44 00171AA4 4E 80 00 20 */ blr
.global Think__12CScriptSteamFfR13CStateManager
Think__12CScriptSteamFfR13CStateManager:
/* 80174B48 00171AA8 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80174B4C 00171AAC 7C 08 02 A6 */ mflr r0
/* 80174B50 00171AB0 90 01 00 44 */ stw r0, 0x44(r1)
/* 80174B54 00171AB4 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 80174B58 00171AB8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 80174B5C 00171ABC 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80174B60 00171AC0 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80174B64 00171AC4 88 03 00 30 */ lbz r0, 0x30(r3)
/* 80174B68 00171AC8 7C 7E 1B 78 */ mr r30, r3
/* 80174B6C 00171ACC 7C 9F 23 78 */ mr r31, r4
/* 80174B70 00171AD0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80174B74 00171AD4 41 82 01 04 */ beq lbl_80174C78
/* 80174B78 00171AD8 4B F0 19 55 */ bl Think__14CScriptTriggerFfR13CStateManager
/* 80174B7C 00171ADC 88 1E 01 48 */ lbz r0, 0x148(r30)
/* 80174B80 00171AE0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 80174B84 00171AE4 41 82 00 D0 */ beq lbl_80174C54
/* 80174B88 00171AE8 80 7F 08 70 */ lwz r3, 0x870(r31)
/* 80174B8C 00171AEC 80 03 00 74 */ lwz r0, 0x74(r3)
/* 80174B90 00171AF0 2C 00 00 00 */ cmpwi r0, 0
/* 80174B94 00171AF4 40 82 00 C0 */ bne lbl_80174C54
/* 80174B98 00171AF8 80 9F 08 4C */ lwz r4, 0x84c(r31)
/* 80174B9C 00171AFC 38 61 00 14 */ addi r3, r1, 0x14
/* 80174BA0 00171B00 48 11 01 DD */ bl GetEyePosition__7CPlayerCFv
/* 80174BA4 00171B04 C0 3E 00 50 */ lfs f1, 0x50(r30)
/* 80174BA8 00171B08 38 61 00 08 */ addi r3, r1, 8
/* 80174BAC 00171B0C C0 01 00 18 */ lfs f0, 0x18(r1)
/* 80174BB0 00171B10 C0 7E 00 60 */ lfs f3, 0x60(r30)
/* 80174BB4 00171B14 C0 41 00 1C */ lfs f2, 0x1c(r1)
/* 80174BB8 00171B18 EC 81 00 28 */ fsubs f4, f1, f0
/* 80174BBC 00171B1C C0 3E 00 40 */ lfs f1, 0x40(r30)
/* 80174BC0 00171B20 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80174BC4 00171B24 EC 43 10 28 */ fsubs f2, f3, f2
/* 80174BC8 00171B28 D0 81 00 0C */ stfs f4, 0xc(r1)
/* 80174BCC 00171B2C EC 01 00 28 */ fsubs f0, f1, f0
/* 80174BD0 00171B30 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 80174BD4 00171B34 D0 01 00 08 */ stfs f0, 8(r1)
/* 80174BD8 00171B38 48 19 FC E1 */ bl Magnitude__9CVector3fCFv
/* 80174BDC 00171B3C C0 1E 01 64 */ lfs f0, 0x164(r30)
/* 80174BE0 00171B40 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80174BE4 00171B44 4C 41 13 82 */ cror 2, 1, 2
/* 80174BE8 00171B48 40 82 00 0C */ bne lbl_80174BF4
/* 80174BEC 00171B4C C3 E2 A1 50 */ lfs f31, lbl_805ABE70@sda21(r2)
/* 80174BF0 00171B50 48 00 00 20 */ b lbl_80174C10
lbl_80174BF4:
/* 80174BF4 00171B54 C0 42 A1 54 */ lfs f2, lbl_805ABE74@sda21(r2)
/* 80174BF8 00171B58 C0 1E 01 68 */ lfs f0, 0x168(r30)
/* 80174BFC 00171B5C EC 22 00 72 */ fmuls f1, f2, f1
/* 80174C00 00171B60 C3 FE 01 58 */ lfs f31, 0x158(r30)
/* 80174C04 00171B64 EC 21 00 32 */ fmuls f1, f1, f0
/* 80174C08 00171B68 48 1A 01 3D */ bl FastCosR__5CMathFf
/* 80174C0C 00171B6C EF E1 07 F2 */ fmuls f31, f1, f31
lbl_80174C10:
/* 80174C10 00171B70 88 1E 01 50 */ lbz r0, 0x150(r30)
/* 80174C14 00171B74 FC 20 F8 90 */ fmr f1, f31
/* 80174C18 00171B78 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 80174C1C 00171B7C 7C 00 00 34 */ cntlzw r0, r0
/* 80174C20 00171B80 C0 5E 01 5C */ lfs f2, 0x15c(r30)
/* 80174C24 00171B84 C0 7E 01 60 */ lfs f3, 0x160(r30)
/* 80174C28 00171B88 54 05 D9 7E */ srwi r5, r0, 5
/* 80174C2C 00171B8C 80 9E 01 54 */ lwz r4, 0x154(r30)
/* 80174C30 00171B90 4B EA 2E 85 */ bl SetVisorSteam__7CPlayerFfffUib
/* 80174C34 00171B94 88 1E 01 50 */ lbz r0, 0x150(r30)
/* 80174C38 00171B98 28 00 00 00 */ cmplwi r0, 0
/* 80174C3C 00171B9C 41 82 00 3C */ beq lbl_80174C78
/* 80174C40 00171BA0 C0 02 A1 58 */ lfs f0, lbl_805ABE78@sda21(r2)
/* 80174C44 00171BA4 80 7F 08 80 */ lwz r3, 0x880(r31)
/* 80174C48 00171BA8 EC 00 07 F2 */ fmuls f0, f0, f31
/* 80174C4C 00171BAC D0 03 0B 54 */ stfs f0, 0xb54(r3)
/* 80174C50 00171BB0 48 00 00 28 */ b lbl_80174C78
lbl_80174C54:
/* 80174C54 00171BB4 88 1E 01 50 */ lbz r0, 0x150(r30)
/* 80174C58 00171BB8 38 80 FF FF */ li r4, -1
/* 80174C5C 00171BBC 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 80174C60 00171BC0 7C 00 00 34 */ cntlzw r0, r0
/* 80174C64 00171BC4 C0 22 A1 50 */ lfs f1, lbl_805ABE70@sda21(r2)
/* 80174C68 00171BC8 C0 5E 01 5C */ lfs f2, 0x15c(r30)
/* 80174C6C 00171BCC 54 05 D9 7E */ srwi r5, r0, 5
/* 80174C70 00171BD0 C0 7E 01 60 */ lfs f3, 0x160(r30)
/* 80174C74 00171BD4 4B EA 2E 41 */ bl SetVisorSteam__7CPlayerFfffUib
lbl_80174C78:
/* 80174C78 00171BD8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 80174C7C 00171BDC 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80174C80 00171BE0 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 80174C84 00171BE4 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80174C88 00171BE8 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80174C8C 00171BEC 7C 08 03 A6 */ mtlr r0
/* 80174C90 00171BF0 38 21 00 40 */ addi r1, r1, 0x40
/* 80174C94 00171BF4 4E 80 00 20 */ blr
.global AcceptScriptMsg__12CScriptSteamF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__12CScriptSteamF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 80174C98 00171BF8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80174C9C 00171BFC 7C 08 02 A6 */ mflr r0
/* 80174CA0 00171C00 90 01 00 24 */ stw r0, 0x24(r1)
/* 80174CA4 00171C04 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80174CA8 00171C08 7C DF 33 78 */ mr r31, r6
/* 80174CAC 00171C0C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80174CB0 00171C10 7C BE 2B 78 */ mr r30, r5
/* 80174CB4 00171C14 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80174CB8 00171C18 7C 9D 23 78 */ mr r29, r4
/* 80174CBC 00171C1C 2C 1D 00 04 */ cmpwi r29, 4
/* 80174CC0 00171C20 93 81 00 10 */ stw r28, 0x10(r1)
/* 80174CC4 00171C24 7C 7C 1B 78 */ mr r28, r3
/* 80174CC8 00171C28 41 82 00 08 */ beq lbl_80174CD0
/* 80174CCC 00171C2C 48 00 00 28 */ b lbl_80174CF4
lbl_80174CD0:
/* 80174CD0 00171C30 88 1C 01 50 */ lbz r0, 0x150(r28)
/* 80174CD4 00171C34 38 80 FF FF */ li r4, -1
/* 80174CD8 00171C38 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 80174CDC 00171C3C 7C 00 00 34 */ cntlzw r0, r0
/* 80174CE0 00171C40 C0 22 A1 50 */ lfs f1, lbl_805ABE70@sda21(r2)
/* 80174CE4 00171C44 C0 5C 01 5C */ lfs f2, 0x15c(r28)
/* 80174CE8 00171C48 54 05 D9 7E */ srwi r5, r0, 5
/* 80174CEC 00171C4C C0 7C 01 60 */ lfs f3, 0x160(r28)
/* 80174CF0 00171C50 4B EA 2D C5 */ bl SetVisorSteam__7CPlayerFfffUib
lbl_80174CF4:
/* 80174CF4 00171C54 A0 1E 00 00 */ lhz r0, 0(r30)
/* 80174CF8 00171C58 7F 83 E3 78 */ mr r3, r28
/* 80174CFC 00171C5C 7F A4 EB 78 */ mr r4, r29
/* 80174D00 00171C60 7F E6 FB 78 */ mr r6, r31
/* 80174D04 00171C64 B0 01 00 08 */ sth r0, 8(r1)
/* 80174D08 00171C68 38 A1 00 08 */ addi r5, r1, 8
/* 80174D0C 00171C6C 4B F0 17 ED */ bl AcceptScriptMsg__14CScriptTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 80174D10 00171C70 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80174D14 00171C74 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80174D18 00171C78 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80174D1C 00171C7C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80174D20 00171C80 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80174D24 00171C84 7C 08 03 A6 */ mtlr r0
/* 80174D28 00171C88 38 21 00 20 */ addi r1, r1, 0x20
/* 80174D2C 00171C8C 4E 80 00 20 */ blr
.global __dt__12CScriptSteamFv
__dt__12CScriptSteamFv:
/* 80174D30 00171C90 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80174D34 00171C94 7C 08 02 A6 */ mflr r0
/* 80174D38 00171C98 90 01 00 14 */ stw r0, 0x14(r1)
/* 80174D3C 00171C9C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80174D40 00171CA0 7C 9F 23 78 */ mr r31, r4
/* 80174D44 00171CA4 93 C1 00 08 */ stw r30, 8(r1)
/* 80174D48 00171CA8 7C 7E 1B 79 */ or. r30, r3, r3
/* 80174D4C 00171CAC 41 82 00 28 */ beq lbl_80174D74
/* 80174D50 00171CB0 3C A0 80 3E */ lis r5, lbl_803E3DA8@ha
/* 80174D54 00171CB4 38 80 00 00 */ li r4, 0
/* 80174D58 00171CB8 38 05 3D A8 */ addi r0, r5, lbl_803E3DA8@l
/* 80174D5C 00171CBC 90 1E 00 00 */ stw r0, 0(r30)
/* 80174D60 00171CC0 4B F0 1F 21 */ bl __dt__14CScriptTriggerFv
/* 80174D64 00171CC4 7F E0 07 35 */ extsh. r0, r31
/* 80174D68 00171CC8 40 81 00 0C */ ble lbl_80174D74
/* 80174D6C 00171CCC 7F C3 F3 78 */ mr r3, r30
/* 80174D70 00171CD0 48 1A 0B C1 */ bl Free__7CMemoryFPCv
lbl_80174D74:
/* 80174D74 00171CD4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80174D78 00171CD8 7F C3 F3 78 */ mr r3, r30
/* 80174D7C 00171CDC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80174D80 00171CE0 83 C1 00 08 */ lwz r30, 8(r1)
/* 80174D84 00171CE4 7C 08 03 A6 */ mtlr r0
/* 80174D88 00171CE8 38 21 00 10 */ addi r1, r1, 0x10
/* 80174D8C 00171CEC 4E 80 00 20 */ blr
.global "__ct__12CScriptSteamF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibUiffff"
"__ct__12CScriptSteamF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibUiffff":
/* 80174D90 00171CF0 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 80174D94 00171CF4 7C 08 02 A6 */ mflr r0
/* 80174D98 00171CF8 90 01 00 74 */ stw r0, 0x74(r1)
/* 80174D9C 00171CFC DB E1 00 60 */ stfd f31, 0x60(r1)
/* 80174DA0 00171D00 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0
/* 80174DA4 00171D04 DB C1 00 50 */ stfd f30, 0x50(r1)
/* 80174DA8 00171D08 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0
/* 80174DAC 00171D0C DB A1 00 40 */ stfd f29, 0x40(r1)
/* 80174DB0 00171D10 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0
/* 80174DB4 00171D14 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 80174DB8 00171D18 93 C1 00 38 */ stw r30, 0x38(r1)
/* 80174DBC 00171D1C 93 A1 00 34 */ stw r29, 0x34(r1)
/* 80174DC0 00171D20 93 81 00 30 */ stw r28, 0x30(r1)
/* 80174DC4 00171D24 A0 84 00 00 */ lhz r4, 0(r4)
/* 80174DC8 00171D28 38 00 00 00 */ li r0, 0
/* 80174DCC 00171D2C D0 81 00 18 */ stfs f4, 0x18(r1)
/* 80174DD0 00171D30 FF A0 08 90 */ fmr f29, f1
/* 80174DD4 00171D34 81 61 00 78 */ lwz r11, 0x78(r1)
/* 80174DD8 00171D38 FF C0 10 90 */ fmr f30, f2
/* 80174DDC 00171D3C B0 81 00 1C */ sth r4, 0x1c(r1)
/* 80174DE0 00171D40 FF E0 18 90 */ fmr f31, f3
/* 80174DE4 00171D44 88 81 00 7F */ lbz r4, 0x7f(r1)
/* 80174DE8 00171D48 91 61 00 08 */ stw r11, 8(r1)
/* 80174DEC 00171D4C 7C 7C 1B 78 */ mr r28, r3
/* 80174DF0 00171D50 83 C1 00 80 */ lwz r30, 0x80(r1)
/* 80174DF4 00171D54 7D 1D 43 78 */ mr r29, r8
/* 80174DF8 00171D58 90 81 00 0C */ stw r4, 0xc(r1)
/* 80174DFC 00171D5C 38 81 00 1C */ addi r4, r1, 0x1c
/* 80174E00 00171D60 8B E1 00 87 */ lbz r31, 0x87(r1)
/* 80174E04 00171D64 90 01 00 10 */ stw r0, 0x10(r1)
/* 80174E08 00171D68 90 01 00 14 */ stw r0, 0x14(r1)
/* 80174E0C 00171D6C 4B F0 1F 4D */ bl "__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb"
/* 80174E10 00171D70 EC 5E E8 24 */ fdivs f2, f30, f29
/* 80174E14 00171D74 3C 60 80 3E */ lis r3, lbl_803E3DA8@ha
/* 80174E18 00171D78 38 03 3D A8 */ addi r0, r3, lbl_803E3DA8@l
/* 80174E1C 00171D7C C0 02 A1 50 */ lfs f0, lbl_805ABE70@sda21(r2)
/* 80174E20 00171D80 90 1C 00 00 */ stw r0, 0(r28)
/* 80174E24 00171D84 9B FC 01 50 */ stb r31, 0x150(r28)
/* 80174E28 00171D88 93 DC 01 54 */ stw r30, 0x154(r28)
/* 80174E2C 00171D8C EC 3F E8 24 */ fdivs f1, f31, f29
/* 80174E30 00171D90 D3 BC 01 58 */ stfs f29, 0x158(r28)
/* 80174E34 00171D94 D0 5C 01 5C */ stfs f2, 0x15c(r28)
/* 80174E38 00171D98 D0 3C 01 60 */ stfs f1, 0x160(r28)
/* 80174E3C 00171D9C D0 1C 01 64 */ stfs f0, 0x164(r28)
/* 80174E40 00171DA0 D0 1C 01 68 */ stfs f0, 0x168(r28)
/* 80174E44 00171DA4 C0 1D 00 14 */ lfs f0, 0x14(r29)
/* 80174E48 00171DA8 C0 3D 00 10 */ lfs f1, 0x10(r29)
/* 80174E4C 00171DAC D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80174E50 00171DB0 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80174E54 00171DB4 D0 21 00 24 */ stfs f1, 0x24(r1)
/* 80174E58 00171DB8 40 80 00 0C */ bge lbl_80174E64
/* 80174E5C 00171DBC 38 61 00 20 */ addi r3, r1, 0x20
/* 80174E60 00171DC0 48 00 00 08 */ b lbl_80174E68
lbl_80174E64:
/* 80174E64 00171DC4 38 61 00 24 */ addi r3, r1, 0x24
lbl_80174E68:
/* 80174E68 00171DC8 C0 3D 00 0C */ lfs f1, 0xc(r29)
/* 80174E6C 00171DCC D0 21 00 28 */ stfs f1, 0x28(r1)
/* 80174E70 00171DD0 C0 03 00 00 */ lfs f0, 0(r3)
/* 80174E74 00171DD4 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80174E78 00171DD8 40 80 00 08 */ bge lbl_80174E80
/* 80174E7C 00171DDC 48 00 00 08 */ b lbl_80174E84
lbl_80174E80:
/* 80174E80 00171DE0 38 61 00 28 */ addi r3, r1, 0x28
lbl_80174E84:
/* 80174E84 00171DE4 C0 41 00 18 */ lfs f2, 0x18(r1)
/* 80174E88 00171DE8 C0 02 A1 50 */ lfs f0, lbl_805ABE70@sda21(r2)
/* 80174E8C 00171DEC C0 63 00 00 */ lfs f3, 0(r3)
/* 80174E90 00171DF0 EC 22 00 28 */ fsubs f1, f2, f0
/* 80174E94 00171DF4 C8 02 A1 60 */ lfd f0, lbl_805ABE80@sda21(r2)
/* 80174E98 00171DF8 D0 61 00 2C */ stfs f3, 0x2c(r1)
/* 80174E9C 00171DFC FC 20 0A 10 */ fabs f1, f1
/* 80174EA0 00171E00 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80174EA4 00171E04 40 80 00 08 */ bge lbl_80174EAC
/* 80174EA8 00171E08 48 00 00 1C */ b lbl_80174EC4
lbl_80174EAC:
/* 80174EAC 00171E0C FC 03 10 40 */ fcmpo cr0, f3, f2
/* 80174EB0 00171E10 40 80 00 0C */ bge lbl_80174EBC
/* 80174EB4 00171E14 38 61 00 2C */ addi r3, r1, 0x2c
/* 80174EB8 00171E18 48 00 00 08 */ b lbl_80174EC0
lbl_80174EBC:
/* 80174EBC 00171E1C 38 61 00 18 */ addi r3, r1, 0x18
lbl_80174EC0:
/* 80174EC0 00171E20 C0 63 00 00 */ lfs f3, 0(r3)
lbl_80174EC4:
/* 80174EC4 00171E24 D0 7C 01 64 */ stfs f3, 0x164(r28)
/* 80174EC8 00171E28 7F 83 E3 78 */ mr r3, r28
/* 80174ECC 00171E2C C0 22 A1 68 */ lfs f1, lbl_805ABE88@sda21(r2)
/* 80174ED0 00171E30 C0 1C 01 64 */ lfs f0, 0x164(r28)
/* 80174ED4 00171E34 EC 01 00 24 */ fdivs f0, f1, f0
/* 80174ED8 00171E38 D0 1C 01 68 */ stfs f0, 0x168(r28)
/* 80174EDC 00171E3C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0
/* 80174EE0 00171E40 CB E1 00 60 */ lfd f31, 0x60(r1)
/* 80174EE4 00171E44 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0
/* 80174EE8 00171E48 CB C1 00 50 */ lfd f30, 0x50(r1)
/* 80174EEC 00171E4C E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0
/* 80174EF0 00171E50 CB A1 00 40 */ lfd f29, 0x40(r1)
/* 80174EF4 00171E54 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 80174EF8 00171E58 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 80174EFC 00171E5C 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 80174F00 00171E60 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80174F04 00171E64 83 81 00 30 */ lwz r28, 0x30(r1)
/* 80174F08 00171E68 7C 08 03 A6 */ mtlr r0
/* 80174F0C 00171E6C 38 21 00 70 */ addi r1, r1, 0x70
/* 80174F10 00171E70 4E 80 00 20 */ blr

View File

@ -0,0 +1,180 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global __dt__21CScriptTargetingPointFv
__dt__21CScriptTargetingPointFv:
/* 8018D264 0018A1C4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8018D268 0018A1C8 7C 08 02 A6 */ mflr r0
/* 8018D26C 0018A1CC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8018D270 0018A1D0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8018D274 0018A1D4 7C 9F 23 78 */ mr r31, r4
/* 8018D278 0018A1D8 93 C1 00 08 */ stw r30, 8(r1)
/* 8018D27C 0018A1DC 7C 7E 1B 79 */ or. r30, r3, r3
/* 8018D280 0018A1E0 41 82 00 28 */ beq lbl_8018D2A8
/* 8018D284 0018A1E4 3C A0 80 3E */ lis r5, lbl_803E4330@ha
/* 8018D288 0018A1E8 38 80 00 00 */ li r4, 0
/* 8018D28C 0018A1EC 38 05 43 30 */ addi r0, r5, lbl_803E4330@l
/* 8018D290 0018A1F0 90 1E 00 00 */ stw r0, 0(r30)
/* 8018D294 0018A1F4 4B EC 84 5D */ bl __dt__6CActorFv
/* 8018D298 0018A1F8 7F E0 07 35 */ extsh. r0, r31
/* 8018D29C 0018A1FC 40 81 00 0C */ ble lbl_8018D2A8
/* 8018D2A0 0018A200 7F C3 F3 78 */ mr r3, r30
/* 8018D2A4 0018A204 48 18 86 8D */ bl Free__7CMemoryFPCv
lbl_8018D2A8:
/* 8018D2A8 0018A208 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8018D2AC 0018A20C 7F C3 F3 78 */ mr r3, r30
/* 8018D2B0 0018A210 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8018D2B4 0018A214 83 C1 00 08 */ lwz r30, 8(r1)
/* 8018D2B8 0018A218 7C 08 03 A6 */ mtlr r0
/* 8018D2BC 0018A21C 38 21 00 10 */ addi r1, r1, 0x10
/* 8018D2C0 0018A220 4E 80 00 20 */ blr
.global Render__21CScriptTargetingPointCFRC13CStateManager
Render__21CScriptTargetingPointCFRC13CStateManager:
/* 8018D2C4 0018A224 4E 80 00 20 */ blr
.global AddToRenderer__21CScriptTargetingPointCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__21CScriptTargetingPointCFRC14CFrustumPlanesRC13CStateManager:
/* 8018D2C8 0018A228 4E 80 00 20 */ blr
.global Think__21CScriptTargetingPointFfR13CStateManager
Think__21CScriptTargetingPointFfR13CStateManager:
/* 8018D2CC 0018A22C C0 43 00 EC */ lfs f2, 0xec(r3)
/* 8018D2D0 0018A230 C0 02 A4 60 */ lfs f0, lbl_805AC180@sda21(r2)
/* 8018D2D4 0018A234 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8018D2D8 0018A238 4C 81 00 20 */ blelr
/* 8018D2DC 0018A23C EC 02 08 28 */ fsubs f0, f2, f1
/* 8018D2E0 0018A240 D0 03 00 EC */ stfs f0, 0xec(r3)
/* 8018D2E4 0018A244 4E 80 00 20 */ blr
.global GetLocked__21CScriptTargetingPointCFv
GetLocked__21CScriptTargetingPointCFv:
/* 8018D2E8 0018A248 80 63 00 24 */ lwz r3, 0x24(r3)
/* 8018D2EC 0018A24C 7C 03 00 D0 */ neg r0, r3
/* 8018D2F0 0018A250 7C 00 18 78 */ andc r0, r0, r3
/* 8018D2F4 0018A254 54 03 0F FE */ srwi r3, r0, 0x1f
/* 8018D2F8 0018A258 4E 80 00 20 */ blr
.global AcceptScriptMsg__21CScriptTargetingPointF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__21CScriptTargetingPointF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8018D2FC 0018A25C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8018D300 0018A260 7C 08 02 A6 */ mflr r0
/* 8018D304 0018A264 90 01 00 24 */ stw r0, 0x24(r1)
/* 8018D308 0018A268 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8018D30C 0018A26C 7C DF 33 78 */ mr r31, r6
/* 8018D310 0018A270 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8018D314 0018A274 7C 9E 23 78 */ mr r30, r4
/* 8018D318 0018A278 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8018D31C 0018A27C 7C 7D 1B 78 */ mr r29, r3
/* 8018D320 0018A280 A0 05 00 00 */ lhz r0, 0(r5)
/* 8018D324 0018A284 38 A1 00 08 */ addi r5, r1, 8
/* 8018D328 0018A288 B0 01 00 08 */ sth r0, 8(r1)
/* 8018D32C 0018A28C 4B EC 62 E9 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8018D330 0018A290 2C 1E 00 04 */ cmpwi r30, 4
/* 8018D334 0018A294 41 82 00 14 */ beq lbl_8018D348
/* 8018D338 0018A298 40 80 00 24 */ bge lbl_8018D35C
/* 8018D33C 0018A29C 2C 1E 00 01 */ cmpwi r30, 1
/* 8018D340 0018A2A0 41 82 00 08 */ beq lbl_8018D348
/* 8018D344 0018A2A4 48 00 00 18 */ b lbl_8018D35C
lbl_8018D348:
/* 8018D348 0018A2A8 7F A3 EB 78 */ mr r3, r29
/* 8018D34C 0018A2AC 7F E5 FB 78 */ mr r5, r31
/* 8018D350 0018A2B0 38 80 00 0A */ li r4, 0xa
/* 8018D354 0018A2B4 38 C0 FF FF */ li r6, -1
/* 8018D358 0018A2B8 4B EC 3D 69 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
lbl_8018D35C:
/* 8018D35C 0018A2BC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8018D360 0018A2C0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8018D364 0018A2C4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8018D368 0018A2C8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8018D36C 0018A2CC 7C 08 03 A6 */ mtlr r0
/* 8018D370 0018A2D0 38 21 00 20 */ addi r1, r1, 0x20
/* 8018D374 0018A2D4 4E 80 00 20 */ blr
.global Accept__21CScriptTargetingPointFR8IVisitor
Accept__21CScriptTargetingPointFR8IVisitor:
/* 8018D378 0018A2D8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8018D37C 0018A2DC 7C 08 02 A6 */ mflr r0
/* 8018D380 0018A2E0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8018D384 0018A2E4 7C 60 1B 78 */ mr r0, r3
/* 8018D388 0018A2E8 7C 83 23 78 */ mr r3, r4
/* 8018D38C 0018A2EC 81 84 00 00 */ lwz r12, 0(r4)
/* 8018D390 0018A2F0 7C 04 03 78 */ mr r4, r0
/* 8018D394 0018A2F4 81 8C 00 C0 */ lwz r12, 0xc0(r12)
/* 8018D398 0018A2F8 7D 89 03 A6 */ mtctr r12
/* 8018D39C 0018A2FC 4E 80 04 21 */ bctrl
/* 8018D3A0 0018A300 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8018D3A4 0018A304 7C 08 03 A6 */ mtlr r0
/* 8018D3A8 0018A308 38 21 00 10 */ addi r1, r1, 0x10
/* 8018D3AC 0018A30C 4E 80 00 20 */ blr
.global "__ct__21CScriptTargetingPointF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fb"
"__ct__21CScriptTargetingPointF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fb":
/* 8018D3B0 0018A310 94 21 FF 10 */ stwu r1, -0xf0(r1)
/* 8018D3B4 0018A314 7C 08 02 A6 */ mflr r0
/* 8018D3B8 0018A318 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 8018D3BC 0018A31C BF 41 00 D8 */ stmw r26, 0xd8(r1)
/* 8018D3C0 0018A320 7C 7F 1B 78 */ mr r31, r3
/* 8018D3C4 0018A324 7C 9A 23 78 */ mr r26, r4
/* 8018D3C8 0018A328 7C BB 2B 78 */ mr r27, r5
/* 8018D3CC 0018A32C 7C DC 33 78 */ mr r28, r6
/* 8018D3D0 0018A330 7C FD 3B 78 */ mr r29, r7
/* 8018D3D4 0018A334 7D 1E 43 78 */ mr r30, r8
/* 8018D3D8 0018A338 38 61 00 88 */ addi r3, r1, 0x88
/* 8018D3DC 0018A33C 4B EA D3 C9 */ bl CModelDataNull__10CModelDataFv
/* 8018D3E0 0018A340 38 61 00 20 */ addi r3, r1, 0x20
/* 8018D3E4 0018A344 4B E8 DA 55 */ bl None__16CActorParametersFv
/* 8018D3E8 0018A348 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13)
/* 8018D3EC 0018A34C 38 00 00 00 */ li r0, 0
/* 8018D3F0 0018A350 80 AD 8E E8 */ lwz r5, lbl_805A7AA8@sda21(r13)
/* 8018D3F4 0018A354 38 60 00 00 */ li r3, 0
/* 8018D3F8 0018A358 B0 81 00 10 */ sth r4, 0x10(r1)
/* 8018D3FC 0018A35C 38 80 00 01 */ li r4, 1
/* 8018D400 0018A360 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8018D404 0018A364 90 01 00 18 */ stw r0, 0x18(r1)
/* 8018D408 0018A368 48 1F CA ED */ bl __shl2i
/* 8018D40C 0018A36C 80 A1 00 18 */ lwz r5, 0x18(r1)
/* 8018D410 0018A370 39 61 00 20 */ addi r11, r1, 0x20
/* 8018D414 0018A374 80 C1 00 1C */ lwz r6, 0x1c(r1)
/* 8018D418 0018A378 38 01 00 10 */ addi r0, r1, 0x10
/* 8018D41C 0018A37C 7C A3 1B 78 */ or r3, r5, r3
/* 8018D420 0018A380 A1 3A 00 00 */ lhz r9, 0(r26)
/* 8018D424 0018A384 7C C4 23 78 */ or r4, r6, r4
/* 8018D428 0018A388 90 61 00 18 */ stw r3, 0x18(r1)
/* 8018D42C 0018A38C 7F E3 FB 78 */ mr r3, r31
/* 8018D430 0018A390 7F C5 F3 78 */ mr r5, r30
/* 8018D434 0018A394 90 81 00 1C */ stw r4, 0x1c(r1)
/* 8018D438 0018A398 7F 66 DB 78 */ mr r6, r27
/* 8018D43C 0018A39C 7F 87 E3 78 */ mr r7, r28
/* 8018D440 0018A3A0 7F A8 EB 78 */ mr r8, r29
/* 8018D444 0018A3A4 B1 21 00 14 */ sth r9, 0x14(r1)
/* 8018D448 0018A3A8 38 81 00 14 */ addi r4, r1, 0x14
/* 8018D44C 0018A3AC 39 21 00 88 */ addi r9, r1, 0x88
/* 8018D450 0018A3B0 39 41 00 18 */ addi r10, r1, 0x18
/* 8018D454 0018A3B4 91 61 00 08 */ stw r11, 8(r1)
/* 8018D458 0018A3B8 90 01 00 0C */ stw r0, 0xc(r1)
/* 8018D45C 0018A3BC 4B EC 83 C5 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId"
/* 8018D460 0018A3C0 38 61 00 20 */ addi r3, r1, 0x20
/* 8018D464 0018A3C4 38 80 FF FF */ li r4, -1
/* 8018D468 0018A3C8 4B F7 91 A1 */ bl __dt__16CActorParametersFv
/* 8018D46C 0018A3CC 38 61 00 88 */ addi r3, r1, 0x88
/* 8018D470 0018A3D0 38 80 FF FF */ li r4, -1
/* 8018D474 0018A3D4 4B F8 95 D9 */ bl __dt__10CModelDataFv
/* 8018D478 0018A3D8 3C 60 80 3E */ lis r3, lbl_803E4330@ha
/* 8018D47C 0018A3DC 38 80 00 00 */ li r4, 0
/* 8018D480 0018A3E0 38 03 43 30 */ addi r0, r3, lbl_803E4330@l
/* 8018D484 0018A3E4 C0 02 A4 60 */ lfs f0, lbl_805AC180@sda21(r2)
/* 8018D488 0018A3E8 90 1F 00 00 */ stw r0, 0(r31)
/* 8018D48C 0018A3EC 7F E3 FB 78 */ mr r3, r31
/* 8018D490 0018A3F0 88 1F 00 E8 */ lbz r0, 0xe8(r31)
/* 8018D494 0018A3F4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 8018D498 0018A3F8 98 1F 00 E8 */ stb r0, 0xe8(r31)
/* 8018D49C 0018A3FC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8018D4A0 0018A400 B0 1F 00 EA */ sth r0, 0xea(r31)
/* 8018D4A4 0018A404 D0 1F 00 EC */ stfs f0, 0xec(r31)
/* 8018D4A8 0018A408 BB 41 00 D8 */ lmw r26, 0xd8(r1)
/* 8018D4AC 0018A40C 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 8018D4B0 0018A410 7C 08 03 A6 */ mtlr r0
/* 8018D4B4 0018A414 38 21 00 F0 */ addi r1, r1, 0xf0
/* 8018D4B8 0018A418 4E 80 00 20 */ blr

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,547 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global AcceptScriptMsg__10CPowerBombF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__10CPowerBombF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8014D948 0014A8A8 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8014D94C 0014A8AC 7C 08 02 A6 */ mflr r0
/* 8014D950 0014A8B0 90 01 00 54 */ stw r0, 0x54(r1)
/* 8014D954 0014A8B4 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 8014D958 0014A8B8 7C DF 33 78 */ mr r31, r6
/* 8014D95C 0014A8BC 93 C1 00 48 */ stw r30, 0x48(r1)
/* 8014D960 0014A8C0 7C BE 2B 78 */ mr r30, r5
/* 8014D964 0014A8C4 93 A1 00 44 */ stw r29, 0x44(r1)
/* 8014D968 0014A8C8 7C 9D 23 78 */ mr r29, r4
/* 8014D96C 0014A8CC 2C 1D 00 22 */ cmpwi r29, 0x22
/* 8014D970 0014A8D0 93 81 00 40 */ stw r28, 0x40(r1)
/* 8014D974 0014A8D4 7C 7C 1B 78 */ mr r28, r3
/* 8014D978 0014A8D8 41 82 00 F4 */ beq lbl_8014DA6C
/* 8014D97C 0014A8DC 40 80 01 2C */ bge lbl_8014DAA8
/* 8014D980 0014A8E0 2C 1D 00 21 */ cmpwi r29, 0x21
/* 8014D984 0014A8E4 40 80 00 08 */ bge lbl_8014D98C
/* 8014D988 0014A8E8 48 00 01 20 */ b lbl_8014DAA8
lbl_8014D98C:
/* 8014D98C 0014A8EC A0 1C 00 EC */ lhz r0, 0xec(r28)
/* 8014D990 0014A8F0 7F E3 FB 78 */ mr r3, r31
/* 8014D994 0014A8F4 80 BC 00 F0 */ lwz r5, 0xf0(r28)
/* 8014D998 0014A8F8 38 81 00 18 */ addi r4, r1, 0x18
/* 8014D99C 0014A8FC B0 01 00 14 */ sth r0, 0x14(r1)
/* 8014D9A0 0014A900 B0 01 00 18 */ sth r0, 0x18(r1)
/* 8014D9A4 0014A904 4B EF 73 65 */ bl AddWeaponId__13CStateManagerF9TUniqueId11EWeaponType
/* 8014D9A8 0014A908 C0 02 9D 64 */ lfs f0, lbl_805ABA84@sda21(r2)
/* 8014D9AC 0014A90C D0 1C 01 20 */ stfs f0, 0x120(r28)
/* 8014D9B0 0014A910 80 7F 08 B8 */ lwz r3, 0x8b8(r31)
/* 8014D9B4 0014A914 80 63 00 00 */ lwz r3, 0(r3)
/* 8014D9B8 0014A918 88 03 00 00 */ lbz r0, 0(r3)
/* 8014D9BC 0014A91C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8014D9C0 0014A920 41 82 00 70 */ beq lbl_8014DA30
/* 8014D9C4 0014A924 C0 5C 00 60 */ lfs f2, 0x60(r28)
/* 8014D9C8 0014A928 3C 60 80 5A */ lis r3, skZero3f@ha
/* 8014D9CC 0014A92C C0 3C 00 50 */ lfs f1, 0x50(r28)
/* 8014D9D0 0014A930 38 C3 66 A0 */ addi r6, r3, skZero3f@l
/* 8014D9D4 0014A934 C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 8014D9D8 0014A938 38 61 00 24 */ addi r3, r1, 0x24
/* 8014D9DC 0014A93C A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2)
/* 8014D9E0 0014A940 38 A1 00 34 */ addi r5, r1, 0x34
/* 8014D9E4 0014A944 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 8014D9E8 0014A948 38 80 07 10 */ li r4, 0x710
/* 8014D9EC 0014A94C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 8014D9F0 0014A950 38 E0 00 01 */ li r7, 1
/* 8014D9F4 0014A954 D0 21 00 38 */ stfs f1, 0x38(r1)
/* 8014D9F8 0014A958 39 00 00 00 */ li r8, 0
/* 8014D9FC 0014A95C D0 41 00 3C */ stfs f2, 0x3c(r1)
/* 8014DA00 0014A960 48 19 C8 B1 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi
/* 8014DA04 0014A964 C0 5C 00 60 */ lfs f2, 0x60(r28)
/* 8014DA08 0014A968 7F E3 FB 78 */ mr r3, r31
/* 8014DA0C 0014A96C C0 3C 00 50 */ lfs f1, 0x50(r28)
/* 8014DA10 0014A970 38 81 00 28 */ addi r4, r1, 0x28
/* 8014DA14 0014A974 C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 8014DA18 0014A978 38 A0 00 01 */ li r5, 1
/* 8014DA1C 0014A97C D0 01 00 28 */ stfs f0, 0x28(r1)
/* 8014DA20 0014A980 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 8014DA24 0014A984 D0 41 00 30 */ stfs f2, 0x30(r1)
/* 8014DA28 0014A988 4B EF AD 5D */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType
/* 8014DA2C 0014A98C 48 00 00 7C */ b lbl_8014DAA8
lbl_8014DA30:
/* 8014DA30 0014A990 A9 02 C5 F8 */ lha r8, lbl_805AE318@sda21(r2)
/* 8014DA34 0014A994 38 61 00 1C */ addi r3, r1, 0x1c
/* 8014DA38 0014A998 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 8014DA3C 0014A99C 38 80 07 3F */ li r4, 0x73f
/* 8014DA40 0014A9A0 38 A0 00 7F */ li r5, 0x7f
/* 8014DA44 0014A9A4 38 C0 00 40 */ li r6, 0x40
/* 8014DA48 0014A9A8 38 E0 00 00 */ li r7, 0
/* 8014DA4C 0014A9AC 39 20 00 00 */ li r9, 0
/* 8014DA50 0014A9B0 48 19 C3 25 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 8014DA54 0014A9B4 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8014DA58 0014A9B8 38 81 00 20 */ addi r4, r1, 0x20
/* 8014DA5C 0014A9BC 90 01 00 20 */ stw r0, 0x20(r1)
/* 8014DA60 0014A9C0 80 7F 08 4C */ lwz r3, 0x84c(r31)
/* 8014DA64 0014A9C4 4B EC 37 29 */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle
/* 8014DA68 0014A9C8 48 00 00 40 */ b lbl_8014DAA8
lbl_8014DA6C:
/* 8014DA6C 0014A9CC C0 3C 01 5C */ lfs f1, 0x15c(r28)
/* 8014DA70 0014A9D0 C0 02 9D 68 */ lfs f0, lbl_805ABA88@sda21(r2)
/* 8014DA74 0014A9D4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8014DA78 0014A9D8 4C 40 13 82 */ cror 2, 0, 2
/* 8014DA7C 0014A9DC 40 82 00 10 */ bne lbl_8014DA8C
/* 8014DA80 0014A9E0 C0 22 9D 64 */ lfs f1, lbl_805ABA84@sda21(r2)
/* 8014DA84 0014A9E4 38 7F 0C 90 */ addi r3, r31, 0xc90
/* 8014DA88 0014A9E8 4B F9 F8 E1 */ bl DisableFilter__17CCameraFilterPassFf
lbl_8014DA8C:
/* 8014DA8C 0014A9EC A0 1C 00 EC */ lhz r0, 0xec(r28)
/* 8014DA90 0014A9F0 7F E3 FB 78 */ mr r3, r31
/* 8014DA94 0014A9F4 80 BC 00 F0 */ lwz r5, 0xf0(r28)
/* 8014DA98 0014A9F8 38 81 00 10 */ addi r4, r1, 0x10
/* 8014DA9C 0014A9FC B0 01 00 0C */ sth r0, 0xc(r1)
/* 8014DAA0 0014AA00 B0 01 00 10 */ sth r0, 0x10(r1)
/* 8014DAA4 0014AA04 4B EF 72 35 */ bl RemoveWeaponId__13CStateManagerF9TUniqueId11EWeaponType
lbl_8014DAA8:
/* 8014DAA8 0014AA08 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8014DAAC 0014AA0C 7F 83 E3 78 */ mr r3, r28
/* 8014DAB0 0014AA10 7F A4 EB 78 */ mr r4, r29
/* 8014DAB4 0014AA14 7F E6 FB 78 */ mr r6, r31
/* 8014DAB8 0014AA18 B0 01 00 08 */ sth r0, 8(r1)
/* 8014DABC 0014AA1C 38 A1 00 08 */ addi r5, r1, 8
/* 8014DAC0 0014AA20 4B F0 5B 55 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8014DAC4 0014AA24 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8014DAC8 0014AA28 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 8014DACC 0014AA2C 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 8014DAD0 0014AA30 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 8014DAD4 0014AA34 83 81 00 40 */ lwz r28, 0x40(r1)
/* 8014DAD8 0014AA38 7C 08 03 A6 */ mtlr r0
/* 8014DADC 0014AA3C 38 21 00 50 */ addi r1, r1, 0x50
/* 8014DAE0 0014AA40 4E 80 00 20 */ blr
.global Accept__10CPowerBombFR8IVisitor
Accept__10CPowerBombFR8IVisitor:
/* 8014DAE4 0014AA44 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014DAE8 0014AA48 7C 08 02 A6 */ mflr r0
/* 8014DAEC 0014AA4C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014DAF0 0014AA50 7C 60 1B 78 */ mr r0, r3
/* 8014DAF4 0014AA54 7C 83 23 78 */ mr r3, r4
/* 8014DAF8 0014AA58 81 84 00 00 */ lwz r12, 0(r4)
/* 8014DAFC 0014AA5C 7C 04 03 78 */ mr r4, r0
/* 8014DB00 0014AA60 81 8C 00 E8 */ lwz r12, 0xe8(r12)
/* 8014DB04 0014AA64 7D 89 03 A6 */ mtctr r12
/* 8014DB08 0014AA68 4E 80 04 21 */ bctrl
/* 8014DB0C 0014AA6C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014DB10 0014AA70 7C 08 03 A6 */ mtlr r0
/* 8014DB14 0014AA74 38 21 00 10 */ addi r1, r1, 0x10
/* 8014DB18 0014AA78 4E 80 00 20 */ blr
.global Think__10CPowerBombFfR13CStateManager
Think__10CPowerBombFfR13CStateManager:
/* 8014DB1C 0014AA7C 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8014DB20 0014AA80 7C 08 02 A6 */ mflr r0
/* 8014DB24 0014AA84 90 01 00 44 */ stw r0, 0x44(r1)
/* 8014DB28 0014AA88 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 8014DB2C 0014AA8C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 8014DB30 0014AA90 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8014DB34 0014AA94 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8014DB38 0014AA98 FF E0 08 90 */ fmr f31, f1
/* 8014DB3C 0014AA9C 7C 7E 1B 78 */ mr r30, r3
/* 8014DB40 0014AAA0 7C 9F 23 78 */ mr r31, r4
/* 8014DB44 0014AAA4 4B FB 45 95 */ bl Think__7CWeaponFfR13CStateManager
/* 8014DB48 0014AAA8 88 7E 01 58 */ lbz r3, 0x158(r30)
/* 8014DB4C 0014AAAC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f
/* 8014DB50 0014AAB0 41 82 00 70 */ beq lbl_8014DBC0
/* 8014DB54 0014AAB4 C0 3E 01 5C */ lfs f1, 0x15c(r30)
/* 8014DB58 0014AAB8 C0 02 9D 6C */ lfs f0, lbl_805ABA8C@sda21(r2)
/* 8014DB5C 0014AABC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8014DB60 0014AAC0 40 81 00 3C */ ble lbl_8014DB9C
/* 8014DB64 0014AAC4 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f
/* 8014DB68 0014AAC8 28 00 00 01 */ cmplwi r0, 1
/* 8014DB6C 0014AACC 41 82 00 30 */ beq lbl_8014DB9C
/* 8014DB70 0014AAD0 C0 22 9D 70 */ lfs f1, lbl_805ABA90@sda21(r2)
/* 8014DB74 0014AAD4 38 7F 0C 90 */ addi r3, r31, 0xc90
/* 8014DB78 0014AAD8 38 80 00 03 */ li r4, 3
/* 8014DB7C 0014AADC 38 A0 00 00 */ li r5, 0
/* 8014DB80 0014AAE0 38 CD A3 E8 */ addi r6, r13, lbl_805A8FA8@sda21
/* 8014DB84 0014AAE4 38 E0 FF FF */ li r7, -1
/* 8014DB88 0014AAE8 4B F9 F8 19 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi
/* 8014DB8C 0014AAEC 88 1E 01 58 */ lbz r0, 0x158(r30)
/* 8014DB90 0014AAF0 38 60 00 01 */ li r3, 1
/* 8014DB94 0014AAF4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8014DB98 0014AAF8 98 1E 01 58 */ stb r0, 0x158(r30)
lbl_8014DB9C:
/* 8014DB9C 0014AAFC C0 3E 01 5C */ lfs f1, 0x15c(r30)
/* 8014DBA0 0014AB00 C0 02 9D 74 */ lfs f0, lbl_805ABA94@sda21(r2)
/* 8014DBA4 0014AB04 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8014DBA8 0014AB08 40 81 00 BC */ ble lbl_8014DC64
/* 8014DBAC 0014AB0C 88 1E 01 58 */ lbz r0, 0x158(r30)
/* 8014DBB0 0014AB10 38 60 00 00 */ li r3, 0
/* 8014DBB4 0014AB14 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8014DBB8 0014AB18 98 1E 01 58 */ stb r0, 0x158(r30)
/* 8014DBBC 0014AB1C 48 00 00 A8 */ b lbl_8014DC64
lbl_8014DBC0:
/* 8014DBC0 0014AB20 C0 3E 01 5C */ lfs f1, 0x15c(r30)
/* 8014DBC4 0014AB24 C0 02 9D 78 */ lfs f0, lbl_805ABA98@sda21(r2)
/* 8014DBC8 0014AB28 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8014DBCC 0014AB2C 40 81 00 28 */ ble lbl_8014DBF4
/* 8014DBD0 0014AB30 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f
/* 8014DBD4 0014AB34 41 82 00 20 */ beq lbl_8014DBF4
/* 8014DBD8 0014AB38 C0 22 9D 7C */ lfs f1, lbl_805ABA9C@sda21(r2)
/* 8014DBDC 0014AB3C 38 7F 0C 90 */ addi r3, r31, 0xc90
/* 8014DBE0 0014AB40 4B F9 F7 89 */ bl DisableFilter__17CCameraFilterPassFf
/* 8014DBE4 0014AB44 88 1E 01 58 */ lbz r0, 0x158(r30)
/* 8014DBE8 0014AB48 38 60 00 00 */ li r3, 0
/* 8014DBEC 0014AB4C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8014DBF0 0014AB50 98 1E 01 58 */ stb r0, 0x158(r30)
lbl_8014DBF4:
/* 8014DBF4 0014AB54 C0 3E 01 5C */ lfs f1, 0x15c(r30)
/* 8014DBF8 0014AB58 C0 02 9D 68 */ lfs f0, lbl_805ABA88@sda21(r2)
/* 8014DBFC 0014AB5C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8014DC00 0014AB60 40 81 00 38 */ ble lbl_8014DC38
/* 8014DC04 0014AB64 80 7E 01 68 */ lwz r3, 0x168(r30)
/* 8014DC08 0014AB68 81 83 00 00 */ lwz r12, 0(r3)
/* 8014DC0C 0014AB6C 81 8C 00 58 */ lwz r12, 0x58(r12)
/* 8014DC10 0014AB70 7D 89 03 A6 */ mtctr r12
/* 8014DC14 0014AB74 4E 80 04 21 */ bctrl
/* 8014DC18 0014AB78 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8014DC1C 0014AB7C 41 82 00 1C */ beq lbl_8014DC38
/* 8014DC20 0014AB80 A0 1E 00 08 */ lhz r0, 8(r30)
/* 8014DC24 0014AB84 7F E3 FB 78 */ mr r3, r31
/* 8014DC28 0014AB88 38 81 00 14 */ addi r4, r1, 0x14
/* 8014DC2C 0014AB8C B0 01 00 10 */ sth r0, 0x10(r1)
/* 8014DC30 0014AB90 B0 01 00 14 */ sth r0, 0x14(r1)
/* 8014DC34 0014AB94 4B EF E6 39 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
lbl_8014DC38:
/* 8014DC38 0014AB98 C0 3E 01 5C */ lfs f1, 0x15c(r30)
/* 8014DC3C 0014AB9C C0 02 9D 80 */ lfs f0, lbl_805ABAA0@sda21(r2)
/* 8014DC40 0014ABA0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8014DC44 0014ABA4 40 81 00 20 */ ble lbl_8014DC64
/* 8014DC48 0014ABA8 A0 1E 00 08 */ lhz r0, 8(r30)
/* 8014DC4C 0014ABAC 7F E3 FB 78 */ mr r3, r31
/* 8014DC50 0014ABB0 38 81 00 0C */ addi r4, r1, 0xc
/* 8014DC54 0014ABB4 B0 01 00 08 */ sth r0, 8(r1)
/* 8014DC58 0014ABB8 B0 01 00 0C */ sth r0, 0xc(r1)
/* 8014DC5C 0014ABBC 4B EF E6 11 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
/* 8014DC60 0014ABC0 48 00 00 84 */ b lbl_8014DCE4
lbl_8014DC64:
/* 8014DC64 0014ABC4 C0 3E 01 5C */ lfs f1, 0x15c(r30)
/* 8014DC68 0014ABC8 C0 02 9D 6C */ lfs f0, lbl_805ABA8C@sda21(r2)
/* 8014DC6C 0014ABCC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8014DC70 0014ABD0 40 81 00 50 */ ble lbl_8014DCC0
/* 8014DC74 0014ABD4 C0 02 9D 84 */ lfs f0, lbl_805ABAA4@sda21(r2)
/* 8014DC78 0014ABD8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8014DC7C 0014ABDC 40 80 00 44 */ bge lbl_8014DCC0
/* 8014DC80 0014ABE0 C0 1E 01 60 */ lfs f0, 0x160(r30)
/* 8014DC84 0014ABE4 7F C3 F3 78 */ mr r3, r30
/* 8014DC88 0014ABE8 7F E5 FB 78 */ mr r5, r31
/* 8014DC8C 0014ABEC 38 81 00 18 */ addi r4, r1, 0x18
/* 8014DC90 0014ABF0 D0 1E 01 20 */ stfs f0, 0x120(r30)
/* 8014DC94 0014ABF4 C0 5E 00 60 */ lfs f2, 0x60(r30)
/* 8014DC98 0014ABF8 C0 3E 00 50 */ lfs f1, 0x50(r30)
/* 8014DC9C 0014ABFC C0 1E 00 40 */ lfs f0, 0x40(r30)
/* 8014DCA0 0014AC00 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 8014DCA4 0014AC04 D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 8014DCA8 0014AC08 D0 41 00 20 */ stfs f2, 0x20(r1)
/* 8014DCAC 0014AC0C 48 00 00 AD */ bl sub_8014dd58
/* 8014DCB0 0014AC10 C0 3E 01 64 */ lfs f1, 0x164(r30)
/* 8014DCB4 0014AC14 C0 1E 01 60 */ lfs f0, 0x160(r30)
/* 8014DCB8 0014AC18 EC 01 07 FA */ fmadds f0, f1, f31, f0
/* 8014DCBC 0014AC1C D0 1E 01 60 */ stfs f0, 0x160(r30)
lbl_8014DCC0:
/* 8014DCC0 0014AC20 80 7E 01 68 */ lwz r3, 0x168(r30)
/* 8014DCC4 0014AC24 FC 20 F8 90 */ fmr f1, f31
/* 8014DCC8 0014AC28 81 83 00 00 */ lwz r12, 0(r3)
/* 8014DCCC 0014AC2C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8014DCD0 0014AC30 7D 89 03 A6 */ mtctr r12
/* 8014DCD4 0014AC34 4E 80 04 21 */ bctrl
/* 8014DCD8 0014AC38 C0 1E 01 5C */ lfs f0, 0x15c(r30)
/* 8014DCDC 0014AC3C EC 00 F8 2A */ fadds f0, f0, f31
/* 8014DCE0 0014AC40 D0 1E 01 5C */ stfs f0, 0x15c(r30)
lbl_8014DCE4:
/* 8014DCE4 0014AC44 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 8014DCE8 0014AC48 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8014DCEC 0014AC4C CB E1 00 30 */ lfd f31, 0x30(r1)
/* 8014DCF0 0014AC50 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8014DCF4 0014AC54 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8014DCF8 0014AC58 7C 08 03 A6 */ mtlr r0
/* 8014DCFC 0014AC5C 38 21 00 40 */ addi r1, r1, 0x40
/* 8014DD00 0014AC60 4E 80 00 20 */ blr
.global nullsub_228
nullsub_228:
/* 8014DD04 0014AC64 4E 80 00 20 */ blr
.global AddToRenderer__10CPowerBombCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__10CPowerBombCFRC14CFrustumPlanesRC13CStateManager:
/* 8014DD08 0014AC68 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014DD0C 0014AC6C 7C 08 02 A6 */ mflr r0
/* 8014DD10 0014AC70 7C 64 1B 78 */ mr r4, r3
/* 8014DD14 0014AC74 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014DD18 0014AC78 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8014DD1C 0014AC7C 80 84 01 68 */ lwz r4, 0x168(r4)
/* 8014DD20 0014AC80 81 83 00 00 */ lwz r12, 0(r3)
/* 8014DD24 0014AC84 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 8014DD28 0014AC88 7D 89 03 A6 */ mtctr r12
/* 8014DD2C 0014AC8C 4E 80 04 21 */ bctrl
/* 8014DD30 0014AC90 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014DD34 0014AC94 7C 08 03 A6 */ mtlr r0
/* 8014DD38 0014AC98 38 21 00 10 */ addi r1, r1, 0x10
/* 8014DD3C 0014AC9C 4E 80 00 20 */ blr
.global GetTouchBounds__10CPowerBombCFv
GetTouchBounds__10CPowerBombCFv:
/* 8014DD40 0014ACA0 38 00 00 00 */ li r0, 0
/* 8014DD44 0014ACA4 98 03 00 18 */ stb r0, 0x18(r3)
/* 8014DD48 0014ACA8 4E 80 00 20 */ blr
.global Touch__10CPowerBombFR6CActorR13CStateManager
Touch__10CPowerBombFR6CActorR13CStateManager:
/* 8014DD4C 0014ACAC 88 03 01 58 */ lbz r0, 0x158(r3)
/* 8014DD50 0014ACB0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8014DD54 0014ACB4 4E 80 00 20 */ blr
.global sub_8014dd58
sub_8014dd58:
/* 8014DD58 0014ACB8 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8014DD5C 0014ACBC 7C 08 02 A6 */ mflr r0
/* 8014DD60 0014ACC0 7C 86 23 78 */ mr r6, r4
/* 8014DD64 0014ACC4 7C 6A 1B 78 */ mr r10, r3
/* 8014DD68 0014ACC8 90 01 00 34 */ stw r0, 0x34(r1)
/* 8014DD6C 0014ACCC 38 81 00 0C */ addi r4, r1, 0xc
/* 8014DD70 0014ACD0 39 01 00 10 */ addi r8, r1, 0x10
/* 8014DD74 0014ACD4 80 03 00 F8 */ lwz r0, 0xf8(r3)
/* 8014DD78 0014ACD8 80 E3 00 FC */ lwz r7, 0xfc(r3)
/* 8014DD7C 0014ACDC 7C A3 2B 78 */ mr r3, r5
/* 8014DD80 0014ACE0 7D 45 53 78 */ mr r5, r10
/* 8014DD84 0014ACE4 90 E1 00 14 */ stw r7, 0x14(r1)
/* 8014DD88 0014ACE8 38 EA 01 2C */ addi r7, r10, 0x12c
/* 8014DD8C 0014ACEC 90 01 00 10 */ stw r0, 0x10(r1)
/* 8014DD90 0014ACF0 80 0A 01 00 */ lwz r0, 0x100(r10)
/* 8014DD94 0014ACF4 81 2A 01 04 */ lwz r9, 0x104(r10)
/* 8014DD98 0014ACF8 91 21 00 1C */ stw r9, 0x1c(r1)
/* 8014DD9C 0014ACFC 90 01 00 18 */ stw r0, 0x18(r1)
/* 8014DDA0 0014AD00 80 0A 01 08 */ lwz r0, 0x108(r10)
/* 8014DDA4 0014AD04 90 01 00 20 */ stw r0, 0x20(r1)
/* 8014DDA8 0014AD08 A0 0A 00 EC */ lhz r0, 0xec(r10)
/* 8014DDAC 0014AD0C B0 01 00 08 */ sth r0, 8(r1)
/* 8014DDB0 0014AD10 B0 01 00 0C */ sth r0, 0xc(r1)
/* 8014DDB4 0014AD14 4B EF AE F9 */ bl ApplyDamageToWorld__13CStateManagerF9TUniqueIdRC6CActorRC9CVector3fRC11CDamageInfoRC15CMaterialFilter
/* 8014DDB8 0014AD18 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8014DDBC 0014AD1C 7C 08 03 A6 */ mtlr r0
/* 8014DDC0 0014AD20 38 21 00 30 */ addi r1, r1, 0x30
/* 8014DDC4 0014AD24 4E 80 00 20 */ blr
.global __dt__10CPowerBombFv
__dt__10CPowerBombFv:
/* 8014DDC8 0014AD28 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014DDCC 0014AD2C 7C 08 02 A6 */ mflr r0
/* 8014DDD0 0014AD30 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014DDD4 0014AD34 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8014DDD8 0014AD38 7C 9F 23 78 */ mr r31, r4
/* 8014DDDC 0014AD3C 93 C1 00 08 */ stw r30, 8(r1)
/* 8014DDE0 0014AD40 7C 7E 1B 79 */ or. r30, r3, r3
/* 8014DDE4 0014AD44 41 82 00 54 */ beq lbl_8014DE38
/* 8014DDE8 0014AD48 3C 60 80 3E */ lis r3, lbl_803E2808@ha
/* 8014DDEC 0014AD4C 34 1E 01 68 */ addic. r0, r30, 0x168
/* 8014DDF0 0014AD50 38 03 28 08 */ addi r0, r3, lbl_803E2808@l
/* 8014DDF4 0014AD54 90 1E 00 00 */ stw r0, 0(r30)
/* 8014DDF8 0014AD58 41 82 00 24 */ beq lbl_8014DE1C
/* 8014DDFC 0014AD5C 80 7E 01 68 */ lwz r3, 0x168(r30)
/* 8014DE00 0014AD60 28 03 00 00 */ cmplwi r3, 0
/* 8014DE04 0014AD64 41 82 00 18 */ beq lbl_8014DE1C
/* 8014DE08 0014AD68 81 83 00 00 */ lwz r12, 0(r3)
/* 8014DE0C 0014AD6C 38 80 00 01 */ li r4, 1
/* 8014DE10 0014AD70 81 8C 00 08 */ lwz r12, 8(r12)
/* 8014DE14 0014AD74 7D 89 03 A6 */ mtctr r12
/* 8014DE18 0014AD78 4E 80 04 21 */ bctrl
lbl_8014DE1C:
/* 8014DE1C 0014AD7C 7F C3 F3 78 */ mr r3, r30
/* 8014DE20 0014AD80 38 80 00 00 */ li r4, 0
/* 8014DE24 0014AD84 4B FB 44 11 */ bl __dt__7CWeaponFv
/* 8014DE28 0014AD88 7F E0 07 35 */ extsh. r0, r31
/* 8014DE2C 0014AD8C 40 81 00 0C */ ble lbl_8014DE38
/* 8014DE30 0014AD90 7F C3 F3 78 */ mr r3, r30
/* 8014DE34 0014AD94 48 1C 7A FD */ bl Free__7CMemoryFPCv
lbl_8014DE38:
/* 8014DE38 0014AD98 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8014DE3C 0014AD9C 7F C3 F3 78 */ mr r3, r30
/* 8014DE40 0014ADA0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8014DE44 0014ADA4 83 C1 00 08 */ lwz r30, 8(r1)
/* 8014DE48 0014ADA8 7C 08 03 A6 */ mtlr r0
/* 8014DE4C 0014ADAC 38 21 00 10 */ addi r1, r1, 0x10
/* 8014DE50 0014ADB0 4E 80 00 20 */ blr
.global "__ct__10CPowerBombF25TToken<15CGenDescription>9TUniqueId7TAreaId9TUniqueIdRC12CTransform4fRC11CDamageInfo"
"__ct__10CPowerBombF25TToken<15CGenDescription>9TUniqueId7TAreaId9TUniqueIdRC12CTransform4fRC11CDamageInfo":
/* 8014DE54 0014ADB4 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 8014DE58 0014ADB8 7C 08 02 A6 */ mflr r0
/* 8014DE5C 0014ADBC 3D 40 80 3D */ lis r10, lbl_803D01A0@ha
/* 8014DE60 0014ADC0 90 01 01 04 */ stw r0, 0x104(r1)
/* 8014DE64 0014ADC4 38 0A 01 A0 */ addi r0, r10, lbl_803D01A0@l
/* 8014DE68 0014ADC8 BE 61 00 CC */ stmw r19, 0xcc(r1)
/* 8014DE6C 0014ADCC 7C 7E 1B 78 */ mr r30, r3
/* 8014DE70 0014ADD0 7C 9F 23 78 */ mr r31, r4
/* 8014DE74 0014ADD4 7C B6 2B 78 */ mr r22, r5
/* 8014DE78 0014ADD8 7C D7 33 78 */ mr r23, r6
/* 8014DE7C 0014ADDC 7C F8 3B 78 */ mr r24, r7
/* 8014DE80 0014ADE0 7D 19 43 78 */ mr r25, r8
/* 8014DE84 0014ADE4 7D 3A 4B 78 */ mr r26, r9
/* 8014DE88 0014ADE8 7C 04 03 78 */ mr r4, r0
/* 8014DE8C 0014ADEC 38 61 00 4C */ addi r3, r1, 0x4c
/* 8014DE90 0014ADF0 4B EB 6E 29 */ bl string_l__4rstlFPCc
/* 8014DE94 0014ADF4 38 61 00 78 */ addi r3, r1, 0x78
/* 8014DE98 0014ADF8 4B EE C9 0D */ bl CModelDataNull__10CModelDataFv
/* 8014DE9C 0014ADFC 38 00 00 00 */ li r0, 0
/* 8014DEA0 0014AE00 80 AD 8C 2C */ lwz r5, lbl_805A77EC@sda21(r13)
/* 8014DEA4 0014AE04 90 01 00 3C */ stw r0, 0x3c(r1)
/* 8014DEA8 0014AE08 38 60 00 00 */ li r3, 0
/* 8014DEAC 0014AE0C 38 80 00 01 */ li r4, 1
/* 8014DEB0 0014AE10 90 01 00 38 */ stw r0, 0x38(r1)
/* 8014DEB4 0014AE14 48 23 C0 41 */ bl __shl2i
/* 8014DEB8 0014AE18 80 01 00 38 */ lwz r0, 0x38(r1)
/* 8014DEBC 0014AE1C 80 C1 00 3C */ lwz r6, 0x3c(r1)
/* 8014DEC0 0014AE20 7C 00 1B 78 */ or r0, r0, r3
/* 8014DEC4 0014AE24 80 AD 8C 30 */ lwz r5, lbl_805A77F0@sda21(r13)
/* 8014DEC8 0014AE28 7C C4 23 78 */ or r4, r6, r4
/* 8014DECC 0014AE2C 90 01 00 38 */ stw r0, 0x38(r1)
/* 8014DED0 0014AE30 38 60 00 00 */ li r3, 0
/* 8014DED4 0014AE34 90 81 00 3C */ stw r4, 0x3c(r1)
/* 8014DED8 0014AE38 38 80 00 01 */ li r4, 1
/* 8014DEDC 0014AE3C 48 23 C0 19 */ bl __shl2i
/* 8014DEE0 0014AE40 80 01 00 38 */ lwz r0, 0x38(r1)
/* 8014DEE4 0014AE44 80 C1 00 3C */ lwz r6, 0x3c(r1)
/* 8014DEE8 0014AE48 7C 00 1B 78 */ or r0, r0, r3
/* 8014DEEC 0014AE4C 80 AD 8C 24 */ lwz r5, lbl_805A77E4@sda21(r13)
/* 8014DEF0 0014AE50 7C C4 23 78 */ or r4, r6, r4
/* 8014DEF4 0014AE54 90 01 00 38 */ stw r0, 0x38(r1)
/* 8014DEF8 0014AE58 38 60 00 00 */ li r3, 0
/* 8014DEFC 0014AE5C 90 81 00 3C */ stw r4, 0x3c(r1)
/* 8014DF00 0014AE60 38 80 00 01 */ li r4, 1
/* 8014DF04 0014AE64 48 23 BF F1 */ bl __shl2i
/* 8014DF08 0014AE68 80 AD 8C 28 */ lwz r5, lbl_805A77E8@sda21(r13)
/* 8014DF0C 0014AE6C 7C 9C 23 78 */ mr r28, r4
/* 8014DF10 0014AE70 7C 7D 1B 78 */ mr r29, r3
/* 8014DF14 0014AE74 38 60 00 00 */ li r3, 0
/* 8014DF18 0014AE78 38 80 00 01 */ li r4, 1
/* 8014DF1C 0014AE7C 48 23 BF D9 */ bl __shl2i
/* 8014DF20 0014AE80 80 AD 8C 18 */ lwz r5, lbl_805A77D8@sda21(r13)
/* 8014DF24 0014AE84 7F 9C 23 78 */ or r28, r28, r4
/* 8014DF28 0014AE88 7F BD 1B 78 */ or r29, r29, r3
/* 8014DF2C 0014AE8C 38 60 00 00 */ li r3, 0
/* 8014DF30 0014AE90 38 80 00 01 */ li r4, 1
/* 8014DF34 0014AE94 48 23 BF C1 */ bl __shl2i
/* 8014DF38 0014AE98 80 AD 8C 1C */ lwz r5, lbl_805A77DC@sda21(r13)
/* 8014DF3C 0014AE9C 7C 93 23 78 */ mr r19, r4
/* 8014DF40 0014AEA0 7C 7B 1B 78 */ mr r27, r3
/* 8014DF44 0014AEA4 38 60 00 00 */ li r3, 0
/* 8014DF48 0014AEA8 38 80 00 01 */ li r4, 1
/* 8014DF4C 0014AEAC 48 23 BF A9 */ bl __shl2i
/* 8014DF50 0014AEB0 80 AD 8C 20 */ lwz r5, lbl_805A77E0@sda21(r13)
/* 8014DF54 0014AEB4 7E 73 23 78 */ or r19, r19, r4
/* 8014DF58 0014AEB8 7F 7B 1B 78 */ or r27, r27, r3
/* 8014DF5C 0014AEBC 38 60 00 00 */ li r3, 0
/* 8014DF60 0014AEC0 38 80 00 01 */ li r4, 1
/* 8014DF64 0014AEC4 48 23 BF 91 */ bl __shl2i
/* 8014DF68 0014AEC8 A2 B8 00 00 */ lhz r21, 0(r24)
/* 8014DF6C 0014AECC 7E 73 23 78 */ or r19, r19, r4
/* 8014DF70 0014AED0 7F 7B 1B 78 */ or r27, r27, r3
/* 8014DF74 0014AED4 83 17 00 00 */ lwz r24, 0(r23)
/* 8014DF78 0014AED8 A2 F6 00 00 */ lhz r23, 0(r22)
/* 8014DF7C 0014AEDC 3A 80 00 03 */ li r20, 3
/* 8014DF80 0014AEE0 92 61 00 64 */ stw r19, 0x64(r1)
/* 8014DF84 0014AEE4 3A C1 00 60 */ addi r22, r1, 0x60
/* 8014DF88 0014AEE8 39 81 00 38 */ addi r12, r1, 0x38
/* 8014DF8C 0014AEEC 39 60 02 00 */ li r11, 0x200
/* 8014DF90 0014AEF0 93 61 00 60 */ stw r27, 0x60(r1)
/* 8014DF94 0014AEF4 38 01 00 78 */ addi r0, r1, 0x78
/* 8014DF98 0014AEF8 7F C3 F3 78 */ mr r3, r30
/* 8014DF9C 0014AEFC 7F 2A CB 78 */ mr r10, r25
/* 8014DFA0 0014AF00 93 81 00 6C */ stw r28, 0x6c(r1)
/* 8014DFA4 0014AF04 38 81 00 24 */ addi r4, r1, 0x24
/* 8014DFA8 0014AF08 38 A1 00 28 */ addi r5, r1, 0x28
/* 8014DFAC 0014AF0C 38 E1 00 20 */ addi r7, r1, 0x20
/* 8014DFB0 0014AF10 93 A1 00 68 */ stw r29, 0x68(r1)
/* 8014DFB4 0014AF14 39 21 00 4C */ addi r9, r1, 0x4c
/* 8014DFB8 0014AF18 38 C0 00 01 */ li r6, 1
/* 8014DFBC 0014AF1C 39 00 00 05 */ li r8, 5
/* 8014DFC0 0014AF20 92 81 00 70 */ stw r20, 0x70(r1)
/* 8014DFC4 0014AF24 B2 A1 00 20 */ sth r21, 0x20(r1)
/* 8014DFC8 0014AF28 93 01 00 28 */ stw r24, 0x28(r1)
/* 8014DFCC 0014AF2C B2 E1 00 24 */ sth r23, 0x24(r1)
/* 8014DFD0 0014AF30 92 C1 00 08 */ stw r22, 8(r1)
/* 8014DFD4 0014AF34 91 81 00 0C */ stw r12, 0xc(r1)
/* 8014DFD8 0014AF38 93 41 00 10 */ stw r26, 0x10(r1)
/* 8014DFDC 0014AF3C 91 61 00 14 */ stw r11, 0x14(r1)
/* 8014DFE0 0014AF40 90 01 00 18 */ stw r0, 0x18(r1)
/* 8014DFE4 0014AF44 4B FB 42 B1 */ bl "__ct__7CWeaponF9TUniqueIdb9TUniqueId11EWeaponTypeRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4fRC15CMaterialFilterRC13CMaterialListRC11CDamageInfoiRC10CModelData"
/* 8014DFE8 0014AF48 38 61 00 78 */ addi r3, r1, 0x78
/* 8014DFEC 0014AF4C 38 80 FF FF */ li r4, -1
/* 8014DFF0 0014AF50 4B FC 8A 5D */ bl __dt__10CModelDataFv
/* 8014DFF4 0014AF54 38 61 00 4C */ addi r3, r1, 0x4c
/* 8014DFF8 0014AF58 48 1E FA E9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8014DFFC 0014AF5C 3C 80 80 3E */ lis r4, lbl_803E2808@ha
/* 8014E000 0014AF60 3C 60 80 3D */ lis r3, lbl_803D01A0@ha
/* 8014E004 0014AF64 38 04 28 08 */ addi r0, r4, lbl_803E2808@l
/* 8014E008 0014AF68 38 80 00 01 */ li r4, 1
/* 8014E00C 0014AF6C 90 1E 00 00 */ stw r0, 0(r30)
/* 8014E010 0014AF70 38 63 01 A0 */ addi r3, r3, lbl_803D01A0@l
/* 8014E014 0014AF74 38 C0 00 00 */ li r6, 0
/* 8014E018 0014AF78 C0 22 9D 64 */ lfs f1, lbl_805ABA84@sda21(r2)
/* 8014E01C 0014AF7C 88 1E 01 58 */ lbz r0, 0x158(r30)
/* 8014E020 0014AF80 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 8014E024 0014AF84 C0 02 9D 74 */ lfs f0, lbl_805ABA94@sda21(r2)
/* 8014E028 0014AF88 38 83 00 0A */ addi r4, r3, 0xa
/* 8014E02C 0014AF8C 98 1E 01 58 */ stb r0, 0x158(r30)
/* 8014E030 0014AF90 3A 60 00 00 */ li r19, 0
/* 8014E034 0014AF94 38 60 03 40 */ li r3, 0x340
/* 8014E038 0014AF98 38 A0 00 00 */ li r5, 0
/* 8014E03C 0014AF9C 88 1E 01 58 */ lbz r0, 0x158(r30)
/* 8014E040 0014AFA0 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19
/* 8014E044 0014AFA4 98 1E 01 58 */ stb r0, 0x158(r30)
/* 8014E048 0014AFA8 D0 3E 01 5C */ stfs f1, 0x15c(r30)
/* 8014E04C 0014AFAC D0 3E 01 60 */ stfs f1, 0x160(r30)
/* 8014E050 0014AFB0 C0 3A 00 10 */ lfs f1, 0x10(r26)
/* 8014E054 0014AFB4 EC 01 00 24 */ fdivs f0, f1, f0
/* 8014E058 0014AFB8 D0 1E 01 64 */ stfs f0, 0x164(r30)
/* 8014E05C 0014AFBC 48 1C 78 11 */ bl __nw__FUlPCcPCc
/* 8014E060 0014AFC0 7C 74 1B 79 */ or. r20, r3, r3
/* 8014E064 0014AFC4 41 82 00 2C */ beq lbl_8014E090
/* 8014E068 0014AFC8 7F E4 FB 78 */ mr r4, r31
/* 8014E06C 0014AFCC 38 61 00 2C */ addi r3, r1, 0x2c
/* 8014E070 0014AFD0 48 1F 2E 39 */ bl __ct__6CTokenFRC6CToken
/* 8014E074 0014AFD4 7E 83 A3 78 */ mr r3, r20
/* 8014E078 0014AFD8 38 81 00 2C */ addi r4, r1, 0x2c
/* 8014E07C 0014AFDC 3A 60 00 01 */ li r19, 1
/* 8014E080 0014AFE0 38 A0 00 00 */ li r5, 0
/* 8014E084 0014AFE4 38 C0 00 01 */ li r6, 1
/* 8014E088 0014AFE8 48 1D 13 59 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags"
/* 8014E08C 0014AFEC 7C 74 1B 78 */ mr r20, r3
lbl_8014E090:
/* 8014E090 0014AFF0 7E 60 07 75 */ extsb. r0, r19
/* 8014E094 0014AFF4 92 9E 01 68 */ stw r20, 0x168(r30)
/* 8014E098 0014AFF8 41 82 00 10 */ beq lbl_8014E0A8
/* 8014E09C 0014AFFC 38 61 00 2C */ addi r3, r1, 0x2c
/* 8014E0A0 0014B000 38 80 00 00 */ li r4, 0
/* 8014E0A4 0014B004 48 1F 2D 9D */ bl __dt__6CTokenFv
lbl_8014E0A8:
/* 8014E0A8 0014B008 C0 1A 00 10 */ lfs f0, 0x10(r26)
/* 8014E0AC 0014B00C 38 81 00 40 */ addi r4, r1, 0x40
/* 8014E0B0 0014B010 D0 1E 01 6C */ stfs f0, 0x16c(r30)
/* 8014E0B4 0014B014 C0 59 00 2C */ lfs f2, 0x2c(r25)
/* 8014E0B8 0014B018 C0 39 00 1C */ lfs f1, 0x1c(r25)
/* 8014E0BC 0014B01C C0 19 00 0C */ lfs f0, 0xc(r25)
/* 8014E0C0 0014B020 D0 21 00 44 */ stfs f1, 0x44(r1)
/* 8014E0C4 0014B024 D0 01 00 40 */ stfs f0, 0x40(r1)
/* 8014E0C8 0014B028 D0 41 00 48 */ stfs f2, 0x48(r1)
/* 8014E0CC 0014B02C 80 7E 01 68 */ lwz r3, 0x168(r30)
/* 8014E0D0 0014B030 81 83 00 00 */ lwz r12, 0(r3)
/* 8014E0D4 0014B034 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8014E0D8 0014B038 7D 89 03 A6 */ mtctr r12
/* 8014E0DC 0014B03C 4E 80 04 21 */ bctrl
/* 8014E0E0 0014B040 7F C3 F3 78 */ mr r3, r30
/* 8014E0E4 0014B044 BA 61 00 CC */ lmw r19, 0xcc(r1)
/* 8014E0E8 0014B048 80 01 01 04 */ lwz r0, 0x104(r1)
/* 8014E0EC 0014B04C 7C 08 03 A6 */ mtlr r0
/* 8014E0F0 0014B050 38 21 01 00 */ addi r1, r1, 0x100
/* 8014E0F4 0014B054 4E 80 00 20 */ blr
.global __sinit_CPowerBomb_cpp
__sinit_CPowerBomb_cpp:
/* 8014E0F8 0014B058 38 00 FF 7F */ li r0, -129
/* 8014E0FC 0014B05C 90 0D A3 E8 */ stw r0, lbl_805A8FA8@sda21(r13)
/* 8014E100 0014B060 4E 80 00 20 */ blr

75926
asm/text.s

File diff suppressed because it is too large Load Diff

View File

@ -40,4 +40,5 @@ FORCEFILES
extabindex.o
uart_console_io.o
mslsupp.o
CBallFilter.o
}

View File

@ -184,6 +184,46 @@ KYOTO_CWD :=\
$(BUILD_DIR)/asm/Kyoto_CWD/CSortedLists.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDebugCameraWaypoint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptSpiderBallAttractionSurface.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSScripted.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CPuddleToadGamma.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDistanceFog.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSProjectileAttack.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CPowerBomb.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CMetaree.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDockAreaChange.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptSpecialFunction.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptActorRotate.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Player/CFidget.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CSpankWeed.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CParasite.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Player/CSamusFaceReflection.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptPlayerHint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CRipper.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CCameraShakeData.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptPickupGenerator.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptPointOfInterest.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CDrone.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CMapWorldInfo.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Factories/CScannableObjectInfo.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CMetroid.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Player/CScanDisplay.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptSteam.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptRipple.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CBoneTracking.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Player/CFaceplateDecoration.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSCover.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptBallTrigger.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CPlasmaProjectile.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerOrbit.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CGameCollision.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CBallFilter.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CAABoxFilter.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CGroundMovement.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CNewIntroBoss.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CPhazonBeam.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptTargetingPoint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSWallHang.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptEMPulse.o\
AI_FILES :=\
$(BUILD_DIR)/asm/Dolphin/ai.o