prime/asm/MetroidPrime/CCollisionActorManager.s

1829 lines
97 KiB
ArmAsm
Raw Normal View History

2022-04-14 08:02:42 +00:00
.include "macros.inc"
2022-07-14 05:36:41 +00:00
.section .text, "ax"
2022-04-14 08:02:42 +00:00
.global SetMovable__22CCollisionActorManagerFb
SetMovable__22CCollisionActorManagerFb:
/* 801A6EC0 001A3E20 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801A6EC4 001A3E24 7C 08 02 A6 */ mflr r0
/* 801A6EC8 001A3E28 90 01 00 34 */ stw r0, 0x34(r1)
/* 801A6ECC 001A3E2C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 801A6ED0 001A3E30 93 C1 00 28 */ stw r30, 0x28(r1)
/* 801A6ED4 001A3E34 93 A1 00 24 */ stw r29, 0x24(r1)
/* 801A6ED8 001A3E38 7C 9D 23 78 */ mr r29, r4
/* 801A6EDC 001A3E3C 93 81 00 20 */ stw r28, 0x20(r1)
/* 801A6EE0 001A3E40 7C 7C 1B 78 */ mr r28, r3
/* 801A6EE4 001A3E44 54 A3 06 3E */ clrlwi r3, r5, 0x18
/* 801A6EE8 001A3E48 88 1C 00 14 */ lbz r0, 0x14(r28)
/* 801A6EEC 001A3E4C 7C 03 00 40 */ cmplw r3, r0
/* 801A6EF0 001A3E50 41 82 00 78 */ beq lbl_801A6F68
/* 801A6EF4 001A3E54 98 BC 00 14 */ stb r5, 0x14(r28)
/* 801A6EF8 001A3E58 3B C0 00 00 */ li r30, 0
/* 801A6EFC 001A3E5C 3B E0 00 00 */ li r31, 0
/* 801A6F00 001A3E60 48 00 00 5C */ b lbl_801A6F5C
lbl_801A6F04:
/* 801A6F04 001A3E64 80 BC 00 0C */ lwz r5, 0xc(r28)
/* 801A6F08 001A3E68 38 1F 00 3C */ addi r0, r31, 0x3c
/* 801A6F0C 001A3E6C 7F A3 EB 78 */ mr r3, r29
/* 801A6F10 001A3E70 38 81 00 0C */ addi r4, r1, 0xc
/* 801A6F14 001A3E74 7C 05 02 2E */ lhzx r0, r5, r0
/* 801A6F18 001A3E78 B0 01 00 08 */ sth r0, 8(r1)
/* 801A6F1C 001A3E7C B0 01 00 0C */ sth r0, 0xc(r1)
/* 801A6F20 001A3E80 4B EA 56 55 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 801A6F24 001A3E84 7C 64 1B 78 */ mr r4, r3
/* 801A6F28 001A3E88 38 61 00 10 */ addi r3, r1, 0x10
/* 801A6F2C 001A3E8C 4B F0 84 21 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity"
/* 801A6F30 001A3E90 80 63 00 04 */ lwz r3, 4(r3)
/* 801A6F34 001A3E94 28 03 00 00 */ cmplwi r3, 0
/* 801A6F38 001A3E98 41 82 00 1C */ beq lbl_801A6F54
/* 801A6F3C 001A3E9C 88 9C 00 14 */ lbz r4, 0x14(r28)
/* 801A6F40 001A3EA0 88 03 00 F8 */ lbz r0, 0xf8(r3)
/* 801A6F44 001A3EA4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 801A6F48 001A3EA8 98 03 00 F8 */ stb r0, 0xf8(r3)
/* 801A6F4C 001A3EAC 88 9C 00 14 */ lbz r4, 0x14(r28)
/* 801A6F50 001A3EB0 4B EA D4 91 */ bl SetUseInSortedLists__6CActorFb
lbl_801A6F54:
/* 801A6F54 001A3EB4 3B FF 00 44 */ addi r31, r31, 0x44
/* 801A6F58 001A3EB8 3B DE 00 01 */ addi r30, r30, 1
lbl_801A6F5C:
/* 801A6F5C 001A3EBC 80 1C 00 04 */ lwz r0, 4(r28)
/* 801A6F60 001A3EC0 7C 1E 00 00 */ cmpw r30, r0
/* 801A6F64 001A3EC4 41 80 FF A0 */ blt lbl_801A6F04
lbl_801A6F68:
/* 801A6F68 001A3EC8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801A6F6C 001A3ECC 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 801A6F70 001A3ED0 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 801A6F74 001A3ED4 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 801A6F78 001A3ED8 83 81 00 20 */ lwz r28, 0x20(r1)
/* 801A6F7C 001A3EDC 7C 08 03 A6 */ mtlr r0
/* 801A6F80 001A3EE0 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 801A6F84 001A3EE4 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f
GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f:
/* 801A6F88 001A3EE8 94 21 FF 00 */ stwu r1, -0x100(r1)
/* 801A6F8C 001A3EEC 7C 08 02 A6 */ mflr r0
/* 801A6F90 001A3EF0 90 01 01 04 */ stw r0, 0x104(r1)
/* 801A6F94 001A3EF4 DB E1 00 F0 */ stfd f31, 0xf0(r1)
/* 801A6F98 001A3EF8 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0
/* 801A6F9C 001A3EFC DB C1 00 E0 */ stfd f30, 0xe0(r1)
/* 801A6FA0 001A3F00 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0
/* 801A6FA4 001A3F04 DB A1 00 D0 */ stfd f29, 0xd0(r1)
/* 801A6FA8 001A3F08 F3 A1 00 D8 */ psq_st f29, 216(r1), 0, qr0
/* 801A6FAC 001A3F0C 93 E1 00 CC */ stw r31, 0xcc(r1)
/* 801A6FB0 001A3F10 93 C1 00 C8 */ stw r30, 0xc8(r1)
/* 801A6FB4 001A3F14 93 A1 00 C4 */ stw r29, 0xc4(r1)
/* 801A6FB8 001A3F18 88 05 00 00 */ lbz r0, 0(r5)
/* 801A6FBC 001A3F1C 7C 7D 1B 78 */ mr r29, r3
/* 801A6FC0 001A3F20 7C DE 33 78 */ mr r30, r6
/* 801A6FC4 001A3F24 7C FF 3B 78 */ mr r31, r7
/* 801A6FC8 001A3F28 98 01 00 08 */ stb r0, 8(r1)
/* 801A6FCC 001A3F2C 38 61 00 60 */ addi r3, r1, 0x60
/* 801A6FD0 001A3F30 38 A1 00 08 */ addi r5, r1, 8
/* 801A6FD4 001A3F34 38 C0 00 00 */ li r6, 0
/* 801A6FD8 001A3F38 4B E8 52 9D */ bl GetLocatorTransform__9CAnimDataCF6CSegIdPC13CCharAnimTime
/* 801A6FDC 001A3F3C 38 61 00 90 */ addi r3, r1, 0x90
/* 801A6FE0 001A3F40 38 81 00 60 */ addi r4, r1, 0x60
/* 801A6FE4 001A3F44 48 16 BB 91 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A6FE8 001A3F48 C0 41 00 9C */ lfs f2, 0x9c(r1)
/* 801A6FEC 001A3F4C 7F E4 FB 78 */ mr r4, r31
/* 801A6FF0 001A3F50 C0 21 00 AC */ lfs f1, 0xac(r1)
/* 801A6FF4 001A3F54 38 61 00 18 */ addi r3, r1, 0x18
/* 801A6FF8 001A3F58 C0 01 00 BC */ lfs f0, 0xbc(r1)
/* 801A6FFC 001A3F5C 38 A1 00 0C */ addi r5, r1, 0xc
/* 801A7000 001A3F60 D0 41 00 0C */ stfs f2, 0xc(r1)
/* 801A7004 001A3F64 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 801A7008 001A3F68 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 801A700C 001A3F6C 48 16 BA DD */ bl __ml__12CTransform4fCFRC9CVector3f
/* 801A7010 001A3F70 7F C4 F3 78 */ mr r4, r30
/* 801A7014 001A3F74 38 61 00 24 */ addi r3, r1, 0x24
/* 801A7018 001A3F78 38 A1 00 18 */ addi r5, r1, 0x18
/* 801A701C 001A3F7C 48 16 BA CD */ bl __ml__12CTransform4fCFRC9CVector3f
/* 801A7020 001A3F80 C3 E1 00 24 */ lfs f31, 0x24(r1)
/* 801A7024 001A3F84 7F C4 F3 78 */ mr r4, r30
/* 801A7028 001A3F88 C3 C1 00 28 */ lfs f30, 0x28(r1)
/* 801A702C 001A3F8C 38 61 00 30 */ addi r3, r1, 0x30
/* 801A7030 001A3F90 C3 A1 00 2C */ lfs f29, 0x2c(r1)
/* 801A7034 001A3F94 38 A1 00 90 */ addi r5, r1, 0x90
/* 801A7038 001A3F98 48 16 BE F9 */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f
/* 801A703C 001A3F9C 38 61 00 90 */ addi r3, r1, 0x90
/* 801A7040 001A3FA0 38 81 00 30 */ addi r4, r1, 0x30
/* 801A7044 001A3FA4 48 16 BA FD */ bl __as__12CTransform4fFRC12CTransform4f
/* 801A7048 001A3FA8 D3 E1 00 9C */ stfs f31, 0x9c(r1)
/* 801A704C 001A3FAC 7F A3 EB 78 */ mr r3, r29
/* 801A7050 001A3FB0 38 81 00 90 */ addi r4, r1, 0x90
/* 801A7054 001A3FB4 D3 C1 00 AC */ stfs f30, 0xac(r1)
/* 801A7058 001A3FB8 D3 A1 00 BC */ stfs f29, 0xbc(r1)
/* 801A705C 001A3FBC 48 16 BB 19 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A7060 001A3FC0 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0
/* 801A7064 001A3FC4 CB E1 00 F0 */ lfd f31, 0xf0(r1)
/* 801A7068 001A3FC8 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0
/* 801A706C 001A3FCC CB C1 00 E0 */ lfd f30, 0xe0(r1)
/* 801A7070 001A3FD0 E3 A1 00 D8 */ psq_l f29, 216(r1), 0, qr0
/* 801A7074 001A3FD4 CB A1 00 D0 */ lfd f29, 0xd0(r1)
/* 801A7078 001A3FD8 83 E1 00 CC */ lwz r31, 0xcc(r1)
/* 801A707C 001A3FDC 83 C1 00 C8 */ lwz r30, 0xc8(r1)
/* 801A7080 001A3FE0 80 01 01 04 */ lwz r0, 0x104(r1)
/* 801A7084 001A3FE4 83 A1 00 C4 */ lwz r29, 0xc4(r1)
/* 801A7088 001A3FE8 7C 08 03 A6 */ mtlr r0
/* 801A708C 001A3FEC 38 21 01 00 */ addi r1, r1, 0x100
2022-07-14 05:48:03 +00:00
/* 801A7090 001A3FF0 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global sub_801a7094
sub_801a7094:
/* 801A7094 001A3FF4 94 21 FE 90 */ stwu r1, -0x170(r1)
/* 801A7098 001A3FF8 7C 08 02 A6 */ mflr r0
/* 801A709C 001A3FFC 90 01 01 74 */ stw r0, 0x174(r1)
/* 801A70A0 001A4000 BE E1 01 4C */ stmw r23, 0x14c(r1)
/* 801A70A4 001A4004 7C 7C 1B 78 */ mr r28, r3
/* 801A70A8 001A4008 7C 9D 23 78 */ mr r29, r4
/* 801A70AC 001A400C 7C BE 2B 78 */ mr r30, r5
/* 801A70B0 001A4010 7C DF 33 78 */ mr r31, r6
/* 801A70B4 001A4014 3B 20 00 00 */ li r25, 0
/* 801A70B8 001A4018 3B 40 00 00 */ li r26, 0
/* 801A70BC 001A401C 48 00 01 54 */ b lbl_801A7210
lbl_801A70C0:
/* 801A70C0 001A4020 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 801A70C4 001A4024 88 1F 00 00 */ lbz r0, 0(r31)
/* 801A70C8 001A4028 7F 63 D2 14 */ add r27, r3, r26
/* 801A70CC 001A402C 88 7B 00 08 */ lbz r3, 8(r27)
/* 801A70D0 001A4030 7C 03 00 40 */ cmplw r3, r0
/* 801A70D4 001A4034 40 82 01 34 */ bne lbl_801A7208
/* 801A70D8 001A4038 A0 1D 00 10 */ lhz r0, 0x10(r29)
/* 801A70DC 001A403C 7F C3 F3 78 */ mr r3, r30
/* 801A70E0 001A4040 38 81 00 18 */ addi r4, r1, 0x18
/* 801A70E4 001A4044 B0 01 00 18 */ sth r0, 0x18(r1)
/* 801A70E8 001A4048 4B EA 54 BD */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 801A70EC 001A404C 7C 64 1B 78 */ mr r4, r3
/* 801A70F0 001A4050 38 61 00 24 */ addi r3, r1, 0x24
/* 801A70F4 001A4054 4B F0 8B 9D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 801A70F8 001A4058 83 03 00 04 */ lwz r24, 4(r3)
/* 801A70FC 001A405C 28 18 00 00 */ cmplwi r24, 0
/* 801A7100 001A4060 41 82 01 08 */ beq lbl_801A7208
/* 801A7104 001A4064 A0 1B 00 3C */ lhz r0, 0x3c(r27)
/* 801A7108 001A4068 7F C3 F3 78 */ mr r3, r30
/* 801A710C 001A406C 38 81 00 14 */ addi r4, r1, 0x14
/* 801A7110 001A4070 B0 01 00 10 */ sth r0, 0x10(r1)
/* 801A7114 001A4074 B0 01 00 14 */ sth r0, 0x14(r1)
/* 801A7118 001A4078 4B EA 54 8D */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 801A711C 001A407C 7C 64 1B 78 */ mr r4, r3
/* 801A7120 001A4080 38 61 00 1C */ addi r3, r1, 0x1c
/* 801A7124 001A4084 4B F0 82 29 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity"
/* 801A7128 001A4088 82 E3 00 04 */ lwz r23, 4(r3)
/* 801A712C 001A408C 28 17 00 00 */ cmplwi r23, 0
/* 801A7130 001A4090 41 82 00 D8 */ beq lbl_801A7208
/* 801A7134 001A4094 80 B8 00 64 */ lwz r5, 0x64(r24)
/* 801A7138 001A4098 38 61 01 10 */ addi r3, r1, 0x110
/* 801A713C 001A409C 38 98 00 34 */ addi r4, r24, 0x34
/* 801A7140 001A40A0 83 A5 00 10 */ lwz r29, 0x10(r5)
/* 801A7144 001A40A4 48 16 BA 31 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A7148 001A40A8 80 B8 00 64 */ lwz r5, 0x64(r24)
/* 801A714C 001A40AC 38 61 00 80 */ addi r3, r1, 0x80
/* 801A7150 001A40B0 38 81 00 44 */ addi r4, r1, 0x44
/* 801A7154 001A40B4 C0 05 00 00 */ lfs f0, 0(r5)
/* 801A7158 001A40B8 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 801A715C 001A40BC C0 05 00 04 */ lfs f0, 4(r5)
/* 801A7160 001A40C0 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 801A7164 001A40C4 C0 05 00 08 */ lfs f0, 8(r5)
/* 801A7168 001A40C8 D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 801A716C 001A40CC 48 16 C0 59 */ bl Scale__12CTransform4fFRC9CVector3f
/* 801A7170 001A40D0 38 61 00 E0 */ addi r3, r1, 0xe0
/* 801A7174 001A40D4 38 81 00 80 */ addi r4, r1, 0x80
/* 801A7178 001A40D8 48 16 B9 FD */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A717C 001A40DC 88 1B 00 08 */ lbz r0, 8(r27)
/* 801A7180 001A40E0 7F A4 EB 78 */ mr r4, r29
/* 801A7184 001A40E4 38 61 00 50 */ addi r3, r1, 0x50
/* 801A7188 001A40E8 38 A1 00 0C */ addi r5, r1, 0xc
/* 801A718C 001A40EC 98 01 00 08 */ stb r0, 8(r1)
/* 801A7190 001A40F0 38 C1 01 10 */ addi r6, r1, 0x110
/* 801A7194 001A40F4 38 E1 00 E0 */ addi r7, r1, 0xe0
/* 801A7198 001A40F8 98 01 00 0C */ stb r0, 0xc(r1)
/* 801A719C 001A40FC 4B FF FD ED */ bl GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f
/* 801A71A0 001A4100 38 61 00 B0 */ addi r3, r1, 0xb0
/* 801A71A4 001A4104 38 81 00 50 */ addi r4, r1, 0x50
/* 801A71A8 001A4108 48 16 B9 CD */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A71AC 001A410C C0 B7 00 60 */ lfs f5, 0x60(r23)
/* 801A71B0 001A4110 28 1C 00 00 */ cmplwi r28, 0
/* 801A71B4 001A4114 C0 01 00 DC */ lfs f0, 0xdc(r1)
/* 801A71B8 001A4118 38 00 00 01 */ li r0, 1
/* 801A71BC 001A411C C0 97 00 50 */ lfs f4, 0x50(r23)
/* 801A71C0 001A4120 C0 41 00 CC */ lfs f2, 0xcc(r1)
/* 801A71C4 001A4124 EC 25 00 28 */ fsubs f1, f5, f0
/* 801A71C8 001A4128 C0 17 00 40 */ lfs f0, 0x40(r23)
/* 801A71CC 001A412C C0 61 00 BC */ lfs f3, 0xbc(r1)
/* 801A71D0 001A4130 EC 44 10 28 */ fsubs f2, f4, f2
/* 801A71D4 001A4134 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 801A71D8 001A4138 EC 00 18 28 */ fsubs f0, f0, f3
/* 801A71DC 001A413C D0 81 00 30 */ stfs f4, 0x30(r1)
/* 801A71E0 001A4140 D0 A1 00 34 */ stfs f5, 0x34(r1)
/* 801A71E4 001A4144 D0 01 00 38 */ stfs f0, 0x38(r1)
/* 801A71E8 001A4148 D0 41 00 3C */ stfs f2, 0x3c(r1)
/* 801A71EC 001A414C D0 21 00 40 */ stfs f1, 0x40(r1)
/* 801A71F0 001A4150 98 1C 00 0C */ stb r0, 0xc(r28)
/* 801A71F4 001A4154 41 82 00 30 */ beq lbl_801A7224
/* 801A71F8 001A4158 D0 1C 00 00 */ stfs f0, 0(r28)
/* 801A71FC 001A415C D0 5C 00 04 */ stfs f2, 4(r28)
/* 801A7200 001A4160 D0 3C 00 08 */ stfs f1, 8(r28)
/* 801A7204 001A4164 48 00 00 20 */ b lbl_801A7224
lbl_801A7208:
/* 801A7208 001A4168 3B 5A 00 44 */ addi r26, r26, 0x44
/* 801A720C 001A416C 3B 39 00 01 */ addi r25, r25, 1
lbl_801A7210:
/* 801A7210 001A4170 80 1D 00 04 */ lwz r0, 4(r29)
/* 801A7214 001A4174 7C 19 00 00 */ cmpw r25, r0
/* 801A7218 001A4178 41 80 FE A8 */ blt lbl_801A70C0
/* 801A721C 001A417C 38 00 00 00 */ li r0, 0
/* 801A7220 001A4180 98 1C 00 0C */ stb r0, 0xc(r28)
lbl_801A7224:
/* 801A7224 001A4184 BA E1 01 4C */ lmw r23, 0x14c(r1)
/* 801A7228 001A4188 80 01 01 74 */ lwz r0, 0x174(r1)
/* 801A722C 001A418C 7C 08 03 A6 */ mtlr r0
/* 801A7230 001A4190 38 21 01 70 */ addi r1, r1, 0x170
2022-07-14 05:48:03 +00:00
/* 801A7234 001A4194 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global GetCollisionDescFromIndex__22CCollisionActorManagerCFUi
GetCollisionDescFromIndex__22CCollisionActorManagerCFUi:
/* 801A7238 001A4198 1C 04 00 44 */ mulli r0, r4, 0x44
/* 801A723C 001A419C 80 63 00 0C */ lwz r3, 0xc(r3)
/* 801A7240 001A41A0 7C 63 02 14 */ add r3, r3, r0
2022-07-14 05:48:03 +00:00
/* 801A7244 001A41A4 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global GetNumCollisionActors__22CCollisionActorManagerCFv
GetNumCollisionActors__22CCollisionActorManagerCFv:
/* 801A7248 001A41A8 80 63 00 04 */ lwz r3, 4(r3)
2022-07-14 05:48:03 +00:00
/* 801A724C 001A41AC 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList
AddMaterial__22CCollisionActorManagerFR13CStateManagerRC13CMaterialList:
/* 801A7250 001A41B0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801A7254 001A41B4 7C 08 02 A6 */ mflr r0
/* 801A7258 001A41B8 90 01 00 34 */ stw r0, 0x34(r1)
/* 801A725C 001A41BC BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 801A7260 001A41C0 7C 7B 1B 78 */ mr r27, r3
/* 801A7264 001A41C4 7C 9C 23 78 */ mr r28, r4
/* 801A7268 001A41C8 7C BD 2B 78 */ mr r29, r5
/* 801A726C 001A41CC 3B C0 00 00 */ li r30, 0
/* 801A7270 001A41D0 3B E0 00 00 */ li r31, 0
/* 801A7274 001A41D4 48 00 00 64 */ b lbl_801A72D8
lbl_801A7278:
/* 801A7278 001A41D8 80 BB 00 0C */ lwz r5, 0xc(r27)
/* 801A727C 001A41DC 38 1F 00 3C */ addi r0, r31, 0x3c
/* 801A7280 001A41E0 7F 83 E3 78 */ mr r3, r28
/* 801A7284 001A41E4 38 81 00 0C */ addi r4, r1, 0xc
/* 801A7288 001A41E8 7C 05 02 2E */ lhzx r0, r5, r0
/* 801A728C 001A41EC B0 01 00 08 */ sth r0, 8(r1)
/* 801A7290 001A41F0 B0 01 00 0C */ sth r0, 0xc(r1)
/* 801A7294 001A41F4 4B EA 52 E1 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 801A7298 001A41F8 7C 64 1B 78 */ mr r4, r3
/* 801A729C 001A41FC 38 61 00 10 */ addi r3, r1, 0x10
/* 801A72A0 001A4200 4B F0 89 F1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 801A72A4 001A4204 80 C3 00 04 */ lwz r6, 4(r3)
/* 801A72A8 001A4208 28 06 00 00 */ cmplwi r6, 0
/* 801A72AC 001A420C 41 82 00 24 */ beq lbl_801A72D0
/* 801A72B0 001A4210 80 A6 00 6C */ lwz r5, 0x6c(r6)
/* 801A72B4 001A4214 80 1D 00 04 */ lwz r0, 4(r29)
/* 801A72B8 001A4218 80 86 00 68 */ lwz r4, 0x68(r6)
/* 801A72BC 001A421C 80 7D 00 00 */ lwz r3, 0(r29)
/* 801A72C0 001A4220 7C A0 03 78 */ or r0, r5, r0
/* 801A72C4 001A4224 90 06 00 6C */ stw r0, 0x6c(r6)
/* 801A72C8 001A4228 7C 80 1B 78 */ or r0, r4, r3
/* 801A72CC 001A422C 90 06 00 68 */ stw r0, 0x68(r6)
lbl_801A72D0:
/* 801A72D0 001A4230 3B FF 00 44 */ addi r31, r31, 0x44
/* 801A72D4 001A4234 3B DE 00 01 */ addi r30, r30, 1
lbl_801A72D8:
/* 801A72D8 001A4238 80 1B 00 04 */ lwz r0, 4(r27)
/* 801A72DC 001A423C 7C 1E 00 00 */ cmpw r30, r0
/* 801A72E0 001A4240 41 80 FF 98 */ blt lbl_801A7278
/* 801A72E4 001A4244 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 801A72E8 001A4248 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801A72EC 001A424C 7C 08 03 A6 */ mtlr r0
/* 801A72F0 001A4250 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 801A72F4 001A4254 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global SetActive__22CCollisionActorManagerFR13CStateManagerb
SetActive__22CCollisionActorManagerFR13CStateManagerb:
/* 801A72F8 001A4258 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801A72FC 001A425C 7C 08 02 A6 */ mflr r0
/* 801A7300 001A4260 90 01 00 34 */ stw r0, 0x34(r1)
/* 801A7304 001A4264 BF 41 00 18 */ stmw r26, 0x18(r1)
/* 801A7308 001A4268 7C BC 2B 78 */ mr r28, r5
/* 801A730C 001A426C 7C 7A 1B 78 */ mr r26, r3
/* 801A7310 001A4270 54 BE 06 3E */ clrlwi r30, r5, 0x18
/* 801A7314 001A4274 7C 9B 23 78 */ mr r27, r4
/* 801A7318 001A4278 3B A0 00 00 */ li r29, 0
/* 801A731C 001A427C 3B E0 00 00 */ li r31, 0
/* 801A7320 001A4280 9B 83 00 12 */ stb r28, 0x12(r3)
/* 801A7324 001A4284 48 00 00 78 */ b lbl_801A739C
lbl_801A7328:
/* 801A7328 001A4288 80 BA 00 0C */ lwz r5, 0xc(r26)
/* 801A732C 001A428C 38 1F 00 3C */ addi r0, r31, 0x3c
/* 801A7330 001A4290 7F 63 DB 78 */ mr r3, r27
/* 801A7334 001A4294 38 81 00 0C */ addi r4, r1, 0xc
/* 801A7338 001A4298 7C 05 02 2E */ lhzx r0, r5, r0
/* 801A733C 001A429C B0 01 00 08 */ sth r0, 8(r1)
/* 801A7340 001A42A0 B0 01 00 0C */ sth r0, 0xc(r1)
/* 801A7344 001A42A4 4B EA 52 31 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 801A7348 001A42A8 28 03 00 00 */ cmplwi r3, 0
/* 801A734C 001A42AC 41 82 00 48 */ beq lbl_801A7394
/* 801A7350 001A42B0 88 03 00 30 */ lbz r0, 0x30(r3)
/* 801A7354 001A42B4 57 84 06 3E */ clrlwi r4, r28, 0x18
/* 801A7358 001A42B8 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f
/* 801A735C 001A42BC 7C 04 00 40 */ cmplw r4, r0
/* 801A7360 001A42C0 41 82 00 34 */ beq lbl_801A7394
/* 801A7364 001A42C4 81 83 00 00 */ lwz r12, 0(r3)
/* 801A7368 001A42C8 7F C4 F3 78 */ mr r4, r30
/* 801A736C 001A42CC 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 801A7370 001A42D0 7D 89 03 A6 */ mtctr r12
2022-07-14 05:48:03 +00:00
/* 801A7374 001A42D4 4E 80 04 21 */ bctrl
2022-04-14 08:02:42 +00:00
/* 801A7378 001A42D8 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 801A737C 001A42DC 41 82 00 18 */ beq lbl_801A7394
/* 801A7380 001A42E0 C0 22 A7 F8 */ lfs f1, lbl_805AC518@sda21(r2)
/* 801A7384 001A42E4 7F 43 D3 78 */ mr r3, r26
/* 801A7388 001A42E8 7F 64 DB 78 */ mr r4, r27
/* 801A738C 001A42EC 38 A0 00 01 */ li r5, 1
/* 801A7390 001A42F0 48 00 00 C1 */ bl Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions
lbl_801A7394:
/* 801A7394 001A42F4 3B FF 00 44 */ addi r31, r31, 0x44
/* 801A7398 001A42F8 3B BD 00 01 */ addi r29, r29, 1
lbl_801A739C:
/* 801A739C 001A42FC 80 1A 00 04 */ lwz r0, 4(r26)
/* 801A73A0 001A4300 7C 1D 00 00 */ cmpw r29, r0
/* 801A73A4 001A4304 41 80 FF 84 */ blt lbl_801A7328
/* 801A73A8 001A4308 BB 41 00 18 */ lmw r26, 0x18(r1)
/* 801A73AC 001A430C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801A73B0 001A4310 7C 08 03 A6 */ mtlr r0
/* 801A73B4 001A4314 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 801A73B8 001A4318 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global GetActive__22CCollisionActorManagerCFv
GetActive__22CCollisionActorManagerCFv:
/* 801A73BC 001A431C 88 63 00 12 */ lbz r3, 0x12(r3)
2022-07-14 05:48:03 +00:00
/* 801A73C0 001A4320 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global Destroy__22CCollisionActorManagerCFR13CStateManager
Destroy__22CCollisionActorManagerCFR13CStateManager:
/* 801A73C4 001A4324 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801A73C8 001A4328 7C 08 02 A6 */ mflr r0
/* 801A73CC 001A432C 90 01 00 24 */ stw r0, 0x24(r1)
/* 801A73D0 001A4330 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801A73D4 001A4334 3B E0 00 00 */ li r31, 0
/* 801A73D8 001A4338 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801A73DC 001A433C 3B C0 00 00 */ li r30, 0
/* 801A73E0 001A4340 93 A1 00 14 */ stw r29, 0x14(r1)
/* 801A73E4 001A4344 7C 9D 23 78 */ mr r29, r4
/* 801A73E8 001A4348 93 81 00 10 */ stw r28, 0x10(r1)
/* 801A73EC 001A434C 7C 7C 1B 78 */ mr r28, r3
/* 801A73F0 001A4350 48 00 00 2C */ b lbl_801A741C
lbl_801A73F4:
/* 801A73F4 001A4354 80 BC 00 0C */ lwz r5, 0xc(r28)
/* 801A73F8 001A4358 38 1F 00 3C */ addi r0, r31, 0x3c
/* 801A73FC 001A435C 7F A3 EB 78 */ mr r3, r29
/* 801A7400 001A4360 38 81 00 0C */ addi r4, r1, 0xc
/* 801A7404 001A4364 7C 05 02 2E */ lhzx r0, r5, r0
/* 801A7408 001A4368 B0 01 00 08 */ sth r0, 8(r1)
/* 801A740C 001A436C B0 01 00 0C */ sth r0, 0xc(r1)
/* 801A7410 001A4370 4B EA 4E 5D */ bl FreeScriptObject__13CStateManagerF9TUniqueId
/* 801A7414 001A4374 3B FF 00 44 */ addi r31, r31, 0x44
/* 801A7418 001A4378 3B DE 00 01 */ addi r30, r30, 1
lbl_801A741C:
/* 801A741C 001A437C 80 1C 00 04 */ lwz r0, 4(r28)
/* 801A7420 001A4380 7C 1E 00 00 */ cmpw r30, r0
/* 801A7424 001A4384 41 80 FF D0 */ blt lbl_801A73F4
/* 801A7428 001A4388 38 00 00 01 */ li r0, 1
/* 801A742C 001A438C 98 1C 00 13 */ stb r0, 0x13(r28)
/* 801A7430 001A4390 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801A7434 001A4394 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801A7438 001A4398 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801A743C 001A439C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 801A7440 001A43A0 83 81 00 10 */ lwz r28, 0x10(r1)
/* 801A7444 001A43A4 7C 08 03 A6 */ mtlr r0
/* 801A7448 001A43A8 38 21 00 20 */ addi r1, r1, 0x20
2022-07-14 05:48:03 +00:00
/* 801A744C 001A43AC 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions
Update__22CCollisionActorManagerCFfR13CStateManagerQ222CCollisionActorManager14EUpdateOptions:
/* 801A7450 001A43B0 94 21 FC 60 */ stwu r1, -0x3a0(r1)
/* 801A7454 001A43B4 7C 08 02 A6 */ mflr r0
/* 801A7458 001A43B8 90 01 03 A4 */ stw r0, 0x3a4(r1)
/* 801A745C 001A43BC DB E1 03 90 */ stfd f31, 0x390(r1)
/* 801A7460 001A43C0 F3 E1 03 98 */ psq_st f31, 920(r1), 0, qr0
/* 801A7464 001A43C4 DB C1 03 80 */ stfd f30, 0x380(r1)
/* 801A7468 001A43C8 F3 C1 03 88 */ psq_st f30, 904(r1), 0, qr0
/* 801A746C 001A43CC BF 01 03 60 */ stmw r24, 0x360(r1)
/* 801A7470 001A43D0 7C 79 1B 78 */ mr r25, r3
/* 801A7474 001A43D4 FF E0 08 90 */ fmr f31, f1
/* 801A7478 001A43D8 88 03 00 14 */ lbz r0, 0x14(r3)
/* 801A747C 001A43DC 7C 9A 23 78 */ mr r26, r4
/* 801A7480 001A43E0 7C BB 2B 78 */ mr r27, r5
/* 801A7484 001A43E4 28 00 00 00 */ cmplwi r0, 0
/* 801A7488 001A43E8 40 82 00 0C */ bne lbl_801A7494
/* 801A748C 001A43EC 38 A0 00 01 */ li r5, 1
/* 801A7490 001A43F0 4B FF FA 31 */ bl SetMovable__22CCollisionActorManagerFb
lbl_801A7494:
/* 801A7494 001A43F4 88 19 00 12 */ lbz r0, 0x12(r25)
/* 801A7498 001A43F8 28 00 00 00 */ cmplwi r0, 0
/* 801A749C 001A43FC 41 82 04 1C */ beq lbl_801A78B8
/* 801A74A0 001A4400 A0 19 00 10 */ lhz r0, 0x10(r25)
/* 801A74A4 001A4404 7F 43 D3 78 */ mr r3, r26
/* 801A74A8 001A4408 38 81 00 28 */ addi r4, r1, 0x28
/* 801A74AC 001A440C B0 01 00 28 */ sth r0, 0x28(r1)
/* 801A74B0 001A4410 4B EA 50 F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 801A74B4 001A4414 7C 64 1B 78 */ mr r4, r3
/* 801A74B8 001A4418 38 61 00 2C */ addi r3, r1, 0x2c
/* 801A74BC 001A441C 4B F0 87 D5 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 801A74C0 001A4420 83 03 00 04 */ lwz r24, 4(r3)
/* 801A74C4 001A4424 28 18 00 00 */ cmplwi r24, 0
/* 801A74C8 001A4428 41 82 03 F0 */ beq lbl_801A78B8
/* 801A74CC 001A442C 80 B8 00 64 */ lwz r5, 0x64(r24)
/* 801A74D0 001A4430 38 61 03 2C */ addi r3, r1, 0x32c
/* 801A74D4 001A4434 38 98 00 34 */ addi r4, r24, 0x34
/* 801A74D8 001A4438 83 E5 00 10 */ lwz r31, 0x10(r5)
/* 801A74DC 001A443C 48 16 B6 99 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A74E0 001A4440 80 B8 00 64 */ lwz r5, 0x64(r24)
/* 801A74E4 001A4444 38 61 02 3C */ addi r3, r1, 0x23c
/* 801A74E8 001A4448 38 81 00 C8 */ addi r4, r1, 0xc8
/* 801A74EC 001A444C C0 05 00 00 */ lfs f0, 0(r5)
/* 801A74F0 001A4450 D0 01 00 C8 */ stfs f0, 0xc8(r1)
/* 801A74F4 001A4454 C0 05 00 04 */ lfs f0, 4(r5)
/* 801A74F8 001A4458 D0 01 00 CC */ stfs f0, 0xcc(r1)
/* 801A74FC 001A445C C0 05 00 08 */ lfs f0, 8(r5)
/* 801A7500 001A4460 D0 01 00 D0 */ stfs f0, 0xd0(r1)
/* 801A7504 001A4464 48 16 BC C1 */ bl Scale__12CTransform4fFRC9CVector3f
/* 801A7508 001A4468 38 61 02 FC */ addi r3, r1, 0x2fc
/* 801A750C 001A446C 38 81 02 3C */ addi r4, r1, 0x23c
/* 801A7510 001A4470 48 16 B6 65 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A7514 001A4474 3B A0 00 00 */ li r29, 0
/* 801A7518 001A4478 3B C0 00 00 */ li r30, 0
/* 801A751C 001A447C 48 00 03 90 */ b lbl_801A78AC
lbl_801A7520:
/* 801A7520 001A4480 80 19 00 0C */ lwz r0, 0xc(r25)
/* 801A7524 001A4484 7F 43 D3 78 */ mr r3, r26
/* 801A7528 001A4488 38 81 00 24 */ addi r4, r1, 0x24
/* 801A752C 001A448C 7F 00 F2 14 */ add r24, r0, r30
/* 801A7530 001A4490 A0 18 00 3C */ lhz r0, 0x3c(r24)
/* 801A7534 001A4494 B0 01 00 20 */ sth r0, 0x20(r1)
/* 801A7538 001A4498 B0 01 00 24 */ sth r0, 0x24(r1)
/* 801A753C 001A449C 4B EA 50 39 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 801A7540 001A44A0 7C 64 1B 78 */ mr r4, r3
/* 801A7544 001A44A4 38 61 00 34 */ addi r3, r1, 0x34
/* 801A7548 001A44A8 4B F0 7E 05 */ bl "__ct__29TCastToPtr<15CCollisionActor>FP7CEntity"
/* 801A754C 001A44AC 83 83 00 04 */ lwz r28, 4(r3)
/* 801A7550 001A44B0 28 1C 00 00 */ cmplwi r28, 0
/* 801A7554 001A44B4 41 82 03 50 */ beq lbl_801A78A4
/* 801A7558 001A44B8 88 18 00 08 */ lbz r0, 8(r24)
/* 801A755C 001A44BC 7F E4 FB 78 */ mr r4, r31
/* 801A7560 001A44C0 38 61 02 0C */ addi r3, r1, 0x20c
/* 801A7564 001A44C4 38 A1 00 1C */ addi r5, r1, 0x1c
/* 801A7568 001A44C8 98 01 00 18 */ stb r0, 0x18(r1)
/* 801A756C 001A44CC 38 C1 03 2C */ addi r6, r1, 0x32c
/* 801A7570 001A44D0 38 E1 02 FC */ addi r7, r1, 0x2fc
/* 801A7574 001A44D4 98 01 00 1C */ stb r0, 0x1c(r1)
/* 801A7578 001A44D8 4B FF FA 11 */ bl GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f
/* 801A757C 001A44DC 38 61 02 CC */ addi r3, r1, 0x2cc
/* 801A7580 001A44E0 38 81 02 0C */ addi r4, r1, 0x20c
/* 801A7584 001A44E4 48 16 B5 F1 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A7588 001A44E8 C0 E1 02 F8 */ lfs f7, 0x2f8(r1)
/* 801A758C 001A44EC C0 C1 02 E8 */ lfs f6, 0x2e8(r1)
/* 801A7590 001A44F0 C0 61 02 D8 */ lfs f3, 0x2d8(r1)
/* 801A7594 001A44F4 D0 C1 00 E4 */ stfs f6, 0xe4(r1)
/* 801A7598 001A44F8 D0 61 00 E0 */ stfs f3, 0xe0(r1)
/* 801A759C 001A44FC D0 E1 00 E8 */ stfs f7, 0xe8(r1)
/* 801A75A0 001A4500 80 18 00 00 */ lwz r0, 0(r24)
/* 801A75A4 001A4504 2C 00 00 04 */ cmpwi r0, 4
/* 801A75A8 001A4508 41 82 00 0C */ beq lbl_801A75B4
/* 801A75AC 001A450C 2C 00 00 03 */ cmpwi r0, 3
/* 801A75B0 001A4510 40 82 01 74 */ bne lbl_801A7724
lbl_801A75B4:
/* 801A75B4 001A4514 80 18 00 04 */ lwz r0, 4(r24)
/* 801A75B8 001A4518 2C 00 00 00 */ cmpwi r0, 0
/* 801A75BC 001A451C 40 82 00 70 */ bne lbl_801A762C
/* 801A75C0 001A4520 38 61 00 B8 */ addi r3, r1, 0xb8
/* 801A75C4 001A4524 38 81 02 CC */ addi r4, r1, 0x2cc
/* 801A75C8 001A4528 48 16 AB 61 */ bl FromMatrix__11CQuaternionFRC12CTransform4f
/* 801A75CC 001A452C C0 5C 00 60 */ lfs f2, 0x60(r28)
/* 801A75D0 001A4530 38 61 01 1C */ addi r3, r1, 0x11c
/* 801A75D4 001A4534 C0 3C 00 50 */ lfs f1, 0x50(r28)
/* 801A75D8 001A4538 38 81 00 B8 */ addi r4, r1, 0xb8
/* 801A75DC 001A453C C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 801A75E0 001A4540 38 A1 00 54 */ addi r5, r1, 0x54
/* 801A75E4 001A4544 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 801A75E8 001A4548 D0 21 00 58 */ stfs f1, 0x58(r1)
/* 801A75EC 001A454C D0 41 00 5C */ stfs f2, 0x5c(r1)
/* 801A75F0 001A4550 48 16 A8 CD */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f
/* 801A75F4 001A4554 38 7C 00 34 */ addi r3, r28, 0x34
/* 801A75F8 001A4558 38 81 01 1C */ addi r4, r1, 0x11c
/* 801A75FC 001A455C 48 16 B5 45 */ bl __as__12CTransform4fFRC12CTransform4f
/* 801A7600 001A4560 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 801A7604 001A4564 38 60 00 01 */ li r3, 1
/* 801A7608 001A4568 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 801A760C 001A456C 98 1C 00 E4 */ stb r0, 0xe4(r28)
/* 801A7610 001A4570 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 801A7614 001A4574 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 801A7618 001A4578 98 1C 00 E4 */ stb r0, 0xe4(r28)
/* 801A761C 001A457C 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 801A7620 001A4580 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 801A7624 001A4584 98 1C 00 E4 */ stb r0, 0xe4(r28)
/* 801A7628 001A4588 48 00 01 FC */ b lbl_801A7824
lbl_801A762C:
/* 801A762C 001A458C 88 18 00 09 */ lbz r0, 9(r24)
/* 801A7630 001A4590 7F E4 FB 78 */ mr r4, r31
/* 801A7634 001A4594 38 61 01 DC */ addi r3, r1, 0x1dc
/* 801A7638 001A4598 38 A1 00 14 */ addi r5, r1, 0x14
/* 801A763C 001A459C 98 01 00 10 */ stb r0, 0x10(r1)
/* 801A7640 001A45A0 38 C1 03 2C */ addi r6, r1, 0x32c
/* 801A7644 001A45A4 38 E1 02 FC */ addi r7, r1, 0x2fc
/* 801A7648 001A45A8 98 01 00 14 */ stb r0, 0x14(r1)
/* 801A764C 001A45AC 4B FF F9 3D */ bl GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f
/* 801A7650 001A45B0 38 61 02 9C */ addi r3, r1, 0x29c
/* 801A7654 001A45B4 38 81 01 DC */ addi r4, r1, 0x1dc
/* 801A7658 001A45B8 48 16 B5 1D */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A765C 001A45BC C1 01 02 D4 */ lfs f8, 0x2d4(r1)
/* 801A7660 001A45C0 38 61 01 AC */ addi r3, r1, 0x1ac
/* 801A7664 001A45C4 C0 E1 02 E4 */ lfs f7, 0x2e4(r1)
/* 801A7668 001A45C8 38 81 00 9C */ addi r4, r1, 0x9c
/* 801A766C 001A45CC C0 C1 02 F4 */ lfs f6, 0x2f4(r1)
/* 801A7670 001A45D0 38 A1 00 90 */ addi r5, r1, 0x90
/* 801A7674 001A45D4 C0 A1 02 A8 */ lfs f5, 0x2a8(r1)
/* 801A7678 001A45D8 38 C1 00 84 */ addi r6, r1, 0x84
/* 801A767C 001A45DC C0 81 02 B8 */ lfs f4, 0x2b8(r1)
/* 801A7680 001A45E0 C0 61 02 C8 */ lfs f3, 0x2c8(r1)
/* 801A7684 001A45E4 C0 41 02 D8 */ lfs f2, 0x2d8(r1)
/* 801A7688 001A45E8 C0 21 02 E8 */ lfs f1, 0x2e8(r1)
/* 801A768C 001A45EC C0 01 02 F8 */ lfs f0, 0x2f8(r1)
/* 801A7690 001A45F0 D1 01 00 84 */ stfs f8, 0x84(r1)
/* 801A7694 001A45F4 D0 E1 00 88 */ stfs f7, 0x88(r1)
/* 801A7698 001A45F8 D0 C1 00 8C */ stfs f6, 0x8c(r1)
/* 801A769C 001A45FC D0 A1 00 90 */ stfs f5, 0x90(r1)
/* 801A76A0 001A4600 D0 81 00 94 */ stfs f4, 0x94(r1)
/* 801A76A4 001A4604 D0 61 00 98 */ stfs f3, 0x98(r1)
/* 801A76A8 001A4608 D0 41 00 9C */ stfs f2, 0x9c(r1)
/* 801A76AC 001A460C D0 21 00 A0 */ stfs f1, 0xa0(r1)
/* 801A76B0 001A4610 D0 01 00 A4 */ stfs f0, 0xa4(r1)
/* 801A76B4 001A4614 48 16 C4 5D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 801A76B8 001A4618 38 61 00 A8 */ addi r3, r1, 0xa8
/* 801A76BC 001A461C 38 81 01 AC */ addi r4, r1, 0x1ac
/* 801A76C0 001A4620 48 16 AA 69 */ bl FromMatrix__11CQuaternionFRC12CTransform4f
/* 801A76C4 001A4624 C0 5C 00 60 */ lfs f2, 0x60(r28)
/* 801A76C8 001A4628 38 61 00 EC */ addi r3, r1, 0xec
/* 801A76CC 001A462C C0 3C 00 50 */ lfs f1, 0x50(r28)
/* 801A76D0 001A4630 38 81 00 A8 */ addi r4, r1, 0xa8
/* 801A76D4 001A4634 C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 801A76D8 001A4638 38 A1 00 48 */ addi r5, r1, 0x48
/* 801A76DC 001A463C D0 01 00 48 */ stfs f0, 0x48(r1)
/* 801A76E0 001A4640 D0 21 00 4C */ stfs f1, 0x4c(r1)
/* 801A76E4 001A4644 D0 41 00 50 */ stfs f2, 0x50(r1)
/* 801A76E8 001A4648 48 16 A7 D5 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f
/* 801A76EC 001A464C 38 7C 00 34 */ addi r3, r28, 0x34
/* 801A76F0 001A4650 38 81 00 EC */ addi r4, r1, 0xec
/* 801A76F4 001A4654 48 16 B4 4D */ bl __as__12CTransform4fFRC12CTransform4f
/* 801A76F8 001A4658 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 801A76FC 001A465C 38 60 00 01 */ li r3, 1
/* 801A7700 001A4660 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 801A7704 001A4664 98 1C 00 E4 */ stb r0, 0xe4(r28)
/* 801A7708 001A4668 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 801A770C 001A466C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 801A7710 001A4670 98 1C 00 E4 */ stb r0, 0xe4(r28)
/* 801A7714 001A4674 88 1C 00 E4 */ lbz r0, 0xe4(r28)
/* 801A7718 001A4678 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 801A771C 001A467C 98 1C 00 E4 */ stb r0, 0xe4(r28)
/* 801A7720 001A4680 48 00 01 04 */ b lbl_801A7824
lbl_801A7724:
/* 801A7724 001A4684 2C 00 00 01 */ cmpwi r0, 1
/* 801A7728 001A4688 40 82 00 FC */ bne lbl_801A7824
/* 801A772C 001A468C 80 18 00 04 */ lwz r0, 4(r24)
/* 801A7730 001A4690 2C 00 00 00 */ cmpwi r0, 0
/* 801A7734 001A4694 40 82 00 3C */ bne lbl_801A7770
/* 801A7738 001A4698 C1 18 00 28 */ lfs f8, 0x28(r24)
/* 801A773C 001A469C C0 41 02 E0 */ lfs f2, 0x2e0(r1)
/* 801A7740 001A46A0 C0 21 02 F0 */ lfs f1, 0x2f0(r1)
/* 801A7744 001A46A4 C0 01 02 D0 */ lfs f0, 0x2d0(r1)
/* 801A7748 001A46A8 EC A8 00 B2 */ fmuls f5, f8, f2
/* 801A774C 001A46AC EC 88 00 72 */ fmuls f4, f8, f1
/* 801A7750 001A46B0 EC 48 00 32 */ fmuls f2, f8, f0
/* 801A7754 001A46B4 EC 26 28 2A */ fadds f1, f6, f5
/* 801A7758 001A46B8 EC 07 20 2A */ fadds f0, f7, f4
/* 801A775C 001A46BC EC 43 10 2A */ fadds f2, f3, f2
/* 801A7760 001A46C0 D0 21 00 E4 */ stfs f1, 0xe4(r1)
/* 801A7764 001A46C4 D0 41 00 E0 */ stfs f2, 0xe0(r1)
/* 801A7768 001A46C8 D0 01 00 E8 */ stfs f0, 0xe8(r1)
/* 801A776C 001A46CC 48 00 00 B8 */ b lbl_801A7824
lbl_801A7770:
/* 801A7770 001A46D0 88 18 00 09 */ lbz r0, 9(r24)
/* 801A7774 001A46D4 7F E4 FB 78 */ mr r4, r31
/* 801A7778 001A46D8 38 61 01 7C */ addi r3, r1, 0x17c
/* 801A777C 001A46DC 38 A1 00 0C */ addi r5, r1, 0xc
/* 801A7780 001A46E0 98 01 00 08 */ stb r0, 8(r1)
/* 801A7784 001A46E4 38 C1 03 2C */ addi r6, r1, 0x32c
/* 801A7788 001A46E8 38 E1 02 FC */ addi r7, r1, 0x2fc
/* 801A778C 001A46EC 98 01 00 0C */ stb r0, 0xc(r1)
/* 801A7790 001A46F0 4B FF F7 F9 */ bl GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f
/* 801A7794 001A46F4 38 61 02 6C */ addi r3, r1, 0x26c
/* 801A7798 001A46F8 38 81 01 7C */ addi r4, r1, 0x17c
/* 801A779C 001A46FC 48 16 B3 D9 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A77A0 001A4700 C3 D8 00 28 */ lfs f30, 0x28(r24)
/* 801A77A4 001A4704 38 61 01 4C */ addi r3, r1, 0x14c
/* 801A77A8 001A4708 C0 A1 02 D4 */ lfs f5, 0x2d4(r1)
/* 801A77AC 001A470C 38 81 00 E0 */ addi r4, r1, 0xe0
/* 801A77B0 001A4710 C0 81 02 E4 */ lfs f4, 0x2e4(r1)
/* 801A77B4 001A4714 38 A1 00 78 */ addi r5, r1, 0x78
/* 801A77B8 001A4718 C0 61 02 F4 */ lfs f3, 0x2f4(r1)
/* 801A77BC 001A471C 38 C1 00 6C */ addi r6, r1, 0x6c
/* 801A77C0 001A4720 C0 41 02 78 */ lfs f2, 0x278(r1)
/* 801A77C4 001A4724 C0 21 02 88 */ lfs f1, 0x288(r1)
/* 801A77C8 001A4728 C0 01 02 98 */ lfs f0, 0x298(r1)
/* 801A77CC 001A472C D0 A1 00 6C */ stfs f5, 0x6c(r1)
/* 801A77D0 001A4730 D0 81 00 70 */ stfs f4, 0x70(r1)
/* 801A77D4 001A4734 D0 61 00 74 */ stfs f3, 0x74(r1)
/* 801A77D8 001A4738 D0 41 00 78 */ stfs f2, 0x78(r1)
/* 801A77DC 001A473C D0 21 00 7C */ stfs f1, 0x7c(r1)
/* 801A77E0 001A4740 D0 01 00 80 */ stfs f0, 0x80(r1)
/* 801A77E4 001A4744 48 16 C3 2D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 801A77E8 001A4748 C0 21 01 60 */ lfs f1, 0x160(r1)
/* 801A77EC 001A474C C0 01 01 70 */ lfs f0, 0x170(r1)
/* 801A77F0 001A4750 C0 41 01 50 */ lfs f2, 0x150(r1)
/* 801A77F4 001A4754 EC BE 00 72 */ fmuls f5, f30, f1
/* 801A77F8 001A4758 C0 21 00 E4 */ lfs f1, 0xe4(r1)
/* 801A77FC 001A475C EC 9E 00 32 */ fmuls f4, f30, f0
/* 801A7800 001A4760 C0 01 00 E8 */ lfs f0, 0xe8(r1)
/* 801A7804 001A4764 EC 5E 00 B2 */ fmuls f2, f30, f2
/* 801A7808 001A4768 C0 61 00 E0 */ lfs f3, 0xe0(r1)
/* 801A780C 001A476C EC 21 28 2A */ fadds f1, f1, f5
/* 801A7810 001A4770 EC 43 10 2A */ fadds f2, f3, f2
/* 801A7814 001A4774 EC 00 20 2A */ fadds f0, f0, f4
/* 801A7818 001A4778 D0 21 00 E4 */ stfs f1, 0xe4(r1)
/* 801A781C 001A477C D0 41 00 E0 */ stfs f2, 0xe0(r1)
/* 801A7820 001A4780 D0 01 00 E8 */ stfs f0, 0xe8(r1)
lbl_801A7824:
/* 801A7824 001A4784 2C 1B 00 00 */ cmpwi r27, 0
/* 801A7828 001A4788 40 82 00 70 */ bne lbl_801A7898
/* 801A782C 001A478C C0 21 00 E8 */ lfs f1, 0xe8(r1)
/* 801A7830 001A4790 38 9C 00 34 */ addi r4, r28, 0x34
/* 801A7834 001A4794 C0 1C 00 60 */ lfs f0, 0x60(r28)
/* 801A7838 001A4798 38 61 00 60 */ addi r3, r1, 0x60
/* 801A783C 001A479C C0 61 00 E4 */ lfs f3, 0xe4(r1)
/* 801A7840 001A47A0 38 A1 00 3C */ addi r5, r1, 0x3c
/* 801A7844 001A47A4 EC 81 00 28 */ fsubs f4, f1, f0
/* 801A7848 001A47A8 C0 5C 00 50 */ lfs f2, 0x50(r28)
/* 801A784C 001A47AC C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 801A7850 001A47B0 C0 21 00 E0 */ lfs f1, 0xe0(r1)
/* 801A7854 001A47B4 EC 43 10 28 */ fsubs f2, f3, f2
/* 801A7858 001A47B8 D0 81 00 44 */ stfs f4, 0x44(r1)
/* 801A785C 001A47BC EC 01 00 28 */ fsubs f0, f1, f0
/* 801A7860 001A47C0 D0 41 00 40 */ stfs f2, 0x40(r1)
/* 801A7864 001A47C4 D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 801A7868 001A47C8 48 16 B1 BD */ bl TransposeRotate__12CTransform4fCFRC9CVector3f
/* 801A786C 001A47CC C0 61 00 60 */ lfs f3, 0x60(r1)
/* 801A7870 001A47D0 FC 20 F8 90 */ fmr f1, f31
/* 801A7874 001A47D4 C0 41 00 64 */ lfs f2, 0x64(r1)
/* 801A7878 001A47D8 7F 83 E3 78 */ mr r3, r28
/* 801A787C 001A47DC C0 01 00 68 */ lfs f0, 0x68(r1)
/* 801A7880 001A47E0 38 81 00 D4 */ addi r4, r1, 0xd4
/* 801A7884 001A47E4 D0 61 00 D4 */ stfs f3, 0xd4(r1)
/* 801A7888 001A47E8 D0 41 00 D8 */ stfs f2, 0xd8(r1)
/* 801A788C 001A47EC D0 01 00 DC */ stfs f0, 0xdc(r1)
/* 801A7890 001A47F0 4B F7 35 E9 */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff
/* 801A7894 001A47F4 48 00 00 10 */ b lbl_801A78A4
lbl_801A7898:
/* 801A7898 001A47F8 7F 83 E3 78 */ mr r3, r28
/* 801A789C 001A47FC 38 81 00 E0 */ addi r4, r1, 0xe0
/* 801A78A0 001A4800 4B EA B5 ED */ bl SetTranslation__6CActorFRC9CVector3f
lbl_801A78A4:
/* 801A78A4 001A4804 3B DE 00 44 */ addi r30, r30, 0x44
/* 801A78A8 001A4808 3B BD 00 01 */ addi r29, r29, 1
lbl_801A78AC:
/* 801A78AC 001A480C 80 19 00 04 */ lwz r0, 4(r25)
/* 801A78B0 001A4810 7C 1D 00 00 */ cmpw r29, r0
/* 801A78B4 001A4814 41 80 FC 6C */ blt lbl_801A7520
lbl_801A78B8:
/* 801A78B8 001A4818 E3 E1 03 98 */ psq_l f31, 920(r1), 0, qr0
/* 801A78BC 001A481C CB E1 03 90 */ lfd f31, 0x390(r1)
/* 801A78C0 001A4820 E3 C1 03 88 */ psq_l f30, 904(r1), 0, qr0
/* 801A78C4 001A4824 CB C1 03 80 */ lfd f30, 0x380(r1)
/* 801A78C8 001A4828 BB 01 03 60 */ lmw r24, 0x360(r1)
/* 801A78CC 001A482C 80 01 03 A4 */ lwz r0, 0x3a4(r1)
/* 801A78D0 001A4830 7C 08 03 A6 */ mtlr r0
/* 801A78D4 001A4834 38 21 03 A0 */ addi r1, r1, 0x3a0
2022-07-14 05:48:03 +00:00
/* 801A78D8 001A4838 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
2022-10-28 21:06:29 +00:00
.global __dt__22CCollisionActorManagerFv
__dt__22CCollisionActorManagerFv:
2022-04-14 08:02:42 +00:00
/* 801A78DC 001A483C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 801A78E0 001A4840 7C 08 02 A6 */ mflr r0
/* 801A78E4 001A4844 90 01 00 14 */ stw r0, 0x14(r1)
/* 801A78E8 001A4848 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801A78EC 001A484C 7C 9F 23 78 */ mr r31, r4
/* 801A78F0 001A4850 93 C1 00 08 */ stw r30, 8(r1)
/* 801A78F4 001A4854 7C 7E 1B 79 */ or. r30, r3, r3
/* 801A78F8 001A4858 41 82 00 1C */ beq lbl_801A7914
/* 801A78FC 001A485C 38 80 FF FF */ li r4, -1
/* 801A7900 001A4860 4B FA EA 2D */ bl sub_8015632c
/* 801A7904 001A4864 7F E0 07 35 */ extsh. r0, r31
/* 801A7908 001A4868 40 81 00 0C */ ble lbl_801A7914
/* 801A790C 001A486C 7F C3 F3 78 */ mr r3, r30
/* 801A7910 001A4870 48 16 E0 21 */ bl Free__7CMemoryFPCv
lbl_801A7914:
/* 801A7914 001A4874 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801A7918 001A4878 7F C3 F3 78 */ mr r3, r30
/* 801A791C 001A487C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 801A7920 001A4880 83 C1 00 08 */ lwz r30, 8(r1)
/* 801A7924 001A4884 7C 08 03 A6 */ mtlr r0
/* 801A7928 001A4888 38 21 00 10 */ addi r1, r1, 0x10
2022-07-14 05:48:03 +00:00
/* 801A792C 001A488C 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global "__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b"
"__ct__22CCollisionActorManagerFR13CStateManager9TUniqueId7TAreaIdRCQ24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>b":
/* 801A7930 001A4890 94 21 FA 40 */ stwu r1, -0x5c0(r1)
/* 801A7934 001A4894 7C 08 02 A6 */ mflr r0
/* 801A7938 001A4898 90 01 05 C4 */ stw r0, 0x5c4(r1)
/* 801A793C 001A489C DB E1 05 B0 */ stfd f31, 0x5b0(r1)
/* 801A7940 001A48A0 F3 E1 05 B8 */ psq_st f31, 1464(r1), 0, qr0
/* 801A7944 001A48A4 DB C1 05 A0 */ stfd f30, 0x5a0(r1)
/* 801A7948 001A48A8 F3 C1 05 A8 */ psq_st f30, 1448(r1), 0, qr0
/* 801A794C 001A48AC DB A1 05 90 */ stfd f29, 0x590(r1)
/* 801A7950 001A48B0 F3 A1 05 98 */ psq_st f29, 1432(r1), 0, qr0
/* 801A7954 001A48B4 BD E1 05 4C */ stmw r15, 0x54c(r1)
/* 801A7958 001A48B8 39 20 00 00 */ li r9, 0
/* 801A795C 001A48BC 7C 9E 23 78 */ mr r30, r4
/* 801A7960 001A48C0 91 23 00 04 */ stw r9, 4(r3)
/* 801A7964 001A48C4 7C 7F 1B 78 */ mr r31, r3
/* 801A7968 001A48C8 7D 1C 43 78 */ mr r28, r8
/* 801A796C 001A48CC 38 00 00 01 */ li r0, 1
/* 801A7970 001A48D0 91 23 00 08 */ stw r9, 8(r3)
/* 801A7974 001A48D4 7C DB 33 78 */ mr r27, r6
/* 801A7978 001A48D8 7C F4 3B 78 */ mr r20, r7
/* 801A797C 001A48DC 7F C3 F3 78 */ mr r3, r30
/* 801A7980 001A48E0 91 3F 00 0C */ stw r9, 0xc(r31)
/* 801A7984 001A48E4 38 81 00 80 */ addi r4, r1, 0x80
/* 801A7988 001A48E8 A0 A5 00 00 */ lhz r5, 0(r5)
/* 801A798C 001A48EC B0 BF 00 10 */ sth r5, 0x10(r31)
/* 801A7990 001A48F0 9B 9F 00 12 */ stb r28, 0x12(r31)
/* 801A7994 001A48F4 99 3F 00 13 */ stb r9, 0x13(r31)
/* 801A7998 001A48F8 98 1F 00 14 */ stb r0, 0x14(r31)
/* 801A799C 001A48FC A0 1F 00 10 */ lhz r0, 0x10(r31)
/* 801A79A0 001A4900 B0 01 00 80 */ sth r0, 0x80(r1)
/* 801A79A4 001A4904 4B EA 4C 01 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 801A79A8 001A4908 7C 64 1B 78 */ mr r4, r3
/* 801A79AC 001A490C 38 61 00 AC */ addi r3, r1, 0xac
/* 801A79B0 001A4910 4B F0 82 E1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 801A79B4 001A4914 81 E3 00 04 */ lwz r15, 4(r3)
/* 801A79B8 001A4918 28 0F 00 00 */ cmplwi r15, 0
/* 801A79BC 001A491C 41 82 0A A8 */ beq lbl_801A8464
/* 801A79C0 001A4920 80 AF 00 64 */ lwz r5, 0x64(r15)
/* 801A79C4 001A4924 38 61 04 38 */ addi r3, r1, 0x438
/* 801A79C8 001A4928 38 8F 00 34 */ addi r4, r15, 0x34
/* 801A79CC 001A492C 82 45 00 10 */ lwz r18, 0x10(r5)
/* 801A79D0 001A4930 48 16 B1 A5 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A79D4 001A4934 80 AF 00 64 */ lwz r5, 0x64(r15)
/* 801A79D8 001A4938 38 61 02 E8 */ addi r3, r1, 0x2e8
/* 801A79DC 001A493C 38 81 01 BC */ addi r4, r1, 0x1bc
/* 801A79E0 001A4940 C0 25 00 04 */ lfs f1, 4(r5)
/* 801A79E4 001A4944 C0 45 00 08 */ lfs f2, 8(r5)
/* 801A79E8 001A4948 C0 05 00 00 */ lfs f0, 0(r5)
/* 801A79EC 001A494C D0 01 01 BC */ stfs f0, 0x1bc(r1)
/* 801A79F0 001A4950 D0 21 01 C0 */ stfs f1, 0x1c0(r1)
/* 801A79F4 001A4954 D0 41 01 C4 */ stfs f2, 0x1c4(r1)
/* 801A79F8 001A4958 48 16 B7 CD */ bl Scale__12CTransform4fFRC9CVector3f
/* 801A79FC 001A495C 38 61 04 08 */ addi r3, r1, 0x408
/* 801A7A00 001A4960 38 81 02 E8 */ addi r4, r1, 0x2e8
/* 801A7A04 001A4964 48 16 B1 71 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A7A08 001A4968 80 94 00 04 */ lwz r4, 4(r20)
/* 801A7A0C 001A496C 7F E3 FB 78 */ mr r3, r31
/* 801A7A10 001A4970 4B FA ED A9 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi"
/* 801A7A14 001A4974 83 B4 00 0C */ lwz r29, 0xc(r20)
/* 801A7A18 001A4978 3A 21 04 FC */ addi r17, r1, 0x4fc
/* 801A7A1C 001A497C 39 E1 05 08 */ addi r15, r1, 0x508
/* 801A7A20 001A4980 3B 21 05 1C */ addi r25, r1, 0x51c
/* 801A7A24 001A4984 3A 01 04 D8 */ addi r16, r1, 0x4d8
/* 801A7A28 001A4988 3B 41 04 94 */ addi r26, r1, 0x494
/* 801A7A2C 001A498C 48 00 0A 20 */ b lbl_801A844C
lbl_801A7A30:
/* 801A7A30 001A4990 80 1D 00 00 */ lwz r0, 0(r29)
/* 801A7A34 001A4994 7F 23 CB 78 */ mr r3, r25
/* 801A7A38 001A4998 38 9D 00 2C */ addi r4, r29, 0x2c
/* 801A7A3C 001A499C 90 01 04 F0 */ stw r0, 0x4f0(r1)
/* 801A7A40 001A49A0 80 1D 00 04 */ lwz r0, 4(r29)
/* 801A7A44 001A49A4 90 01 04 F4 */ stw r0, 0x4f4(r1)
/* 801A7A48 001A49A8 88 1D 00 08 */ lbz r0, 8(r29)
/* 801A7A4C 001A49AC 98 01 04 F8 */ stb r0, 0x4f8(r1)
/* 801A7A50 001A49B0 88 1D 00 09 */ lbz r0, 9(r29)
/* 801A7A54 001A49B4 98 01 04 F9 */ stb r0, 0x4f9(r1)
/* 801A7A58 001A49B8 C0 1D 00 0C */ lfs f0, 0xc(r29)
/* 801A7A5C 001A49BC D0 11 00 00 */ stfs f0, 0(r17)
/* 801A7A60 001A49C0 C0 1D 00 10 */ lfs f0, 0x10(r29)
/* 801A7A64 001A49C4 D0 01 05 00 */ stfs f0, 0x500(r1)
/* 801A7A68 001A49C8 C0 1D 00 14 */ lfs f0, 0x14(r29)
/* 801A7A6C 001A49CC D0 01 05 04 */ stfs f0, 0x504(r1)
/* 801A7A70 001A49D0 C0 1D 00 18 */ lfs f0, 0x18(r29)
/* 801A7A74 001A49D4 D0 01 05 08 */ stfs f0, 0x508(r1)
/* 801A7A78 001A49D8 C0 1D 00 1C */ lfs f0, 0x1c(r29)
/* 801A7A7C 001A49DC D0 01 05 0C */ stfs f0, 0x50c(r1)
/* 801A7A80 001A49E0 C0 1D 00 20 */ lfs f0, 0x20(r29)
/* 801A7A84 001A49E4 D0 01 05 10 */ stfs f0, 0x510(r1)
/* 801A7A88 001A49E8 C0 1D 00 24 */ lfs f0, 0x24(r29)
/* 801A7A8C 001A49EC D0 01 05 14 */ stfs f0, 0x514(r1)
/* 801A7A90 001A49F0 C0 1D 00 28 */ lfs f0, 0x28(r29)
/* 801A7A94 001A49F4 D0 01 05 18 */ stfs f0, 0x518(r1)
/* 801A7A98 001A49F8 48 19 66 C9 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 801A7A9C 001A49FC A0 1D 00 3C */ lhz r0, 0x3c(r29)
/* 801A7AA0 001A4A00 38 61 04 F0 */ addi r3, r1, 0x4f0
/* 801A7AA4 001A4A04 38 81 01 BC */ addi r4, r1, 0x1bc
/* 801A7AA8 001A4A08 B0 01 05 2C */ sth r0, 0x52c(r1)
/* 801A7AAC 001A4A0C C0 1D 00 40 */ lfs f0, 0x40(r29)
/* 801A7AB0 001A4A10 D0 01 05 30 */ stfs f0, 0x530(r1)
/* 801A7AB4 001A4A14 48 00 09 E1 */ bl ScaleAllBounds__26CJointCollisionDescriptionFRC9CVector3f
/* 801A7AB8 001A4A18 88 01 04 F8 */ lbz r0, 0x4f8(r1)
/* 801A7ABC 001A4A1C 7E 44 93 78 */ mr r4, r18
/* 801A7AC0 001A4A20 38 61 02 B8 */ addi r3, r1, 0x2b8
/* 801A7AC4 001A4A24 38 A1 00 2C */ addi r5, r1, 0x2c
/* 801A7AC8 001A4A28 98 01 00 28 */ stb r0, 0x28(r1)
/* 801A7ACC 001A4A2C 38 C1 04 38 */ addi r6, r1, 0x438
/* 801A7AD0 001A4A30 38 E1 04 08 */ addi r7, r1, 0x408
/* 801A7AD4 001A4A34 98 01 00 2C */ stb r0, 0x2c(r1)
/* 801A7AD8 001A4A38 4B FF F4 B1 */ bl GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f
/* 801A7ADC 001A4A3C 38 61 03 D8 */ addi r3, r1, 0x3d8
/* 801A7AE0 001A4A40 38 81 02 B8 */ addi r4, r1, 0x2b8
/* 801A7AE4 001A4A44 48 16 B0 91 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A7AE8 001A4A48 88 01 04 F9 */ lbz r0, 0x4f9(r1)
/* 801A7AEC 001A4A4C 28 00 00 FF */ cmplwi r0, 0xff
/* 801A7AF0 001A4A50 41 82 07 A4 */ beq lbl_801A8294
/* 801A7AF4 001A4A54 98 01 00 20 */ stb r0, 0x20(r1)
/* 801A7AF8 001A4A58 7E 44 93 78 */ mr r4, r18
/* 801A7AFC 001A4A5C 38 61 02 88 */ addi r3, r1, 0x288
/* 801A7B00 001A4A60 38 A1 00 24 */ addi r5, r1, 0x24
/* 801A7B04 001A4A64 98 01 00 24 */ stb r0, 0x24(r1)
/* 801A7B08 001A4A68 38 C1 04 38 */ addi r6, r1, 0x438
/* 801A7B0C 001A4A6C 38 E1 04 08 */ addi r7, r1, 0x408
/* 801A7B10 001A4A70 4B FF F4 79 */ bl GetWRLocatorTransform__22CCollisionActorManagerFRC9CAnimData6CSegIdRC12CTransform4fRC12CTransform4f
/* 801A7B14 001A4A74 38 61 03 A8 */ addi r3, r1, 0x3a8
/* 801A7B18 001A4A78 38 81 02 88 */ addi r4, r1, 0x288
/* 801A7B1C 001A4A7C 48 16 B0 59 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A7B20 001A4A80 C0 61 03 B4 */ lfs f3, 0x3b4(r1)
/* 801A7B24 001A4A84 38 61 01 80 */ addi r3, r1, 0x180
/* 801A7B28 001A4A88 C0 01 03 E4 */ lfs f0, 0x3e4(r1)
/* 801A7B2C 001A4A8C C0 41 03 C4 */ lfs f2, 0x3c4(r1)
/* 801A7B30 001A4A90 C0 81 03 F4 */ lfs f4, 0x3f4(r1)
/* 801A7B34 001A4A94 EC 03 00 28 */ fsubs f0, f3, f0
/* 801A7B38 001A4A98 C0 21 03 D4 */ lfs f1, 0x3d4(r1)
/* 801A7B3C 001A4A9C C0 A1 04 04 */ lfs f5, 0x404(r1)
/* 801A7B40 001A4AA0 EC 82 20 28 */ fsubs f4, f2, f4
/* 801A7B44 001A4AA4 D0 61 01 74 */ stfs f3, 0x174(r1)
/* 801A7B48 001A4AA8 EC 61 28 28 */ fsubs f3, f1, f5
/* 801A7B4C 001A4AAC D0 41 01 78 */ stfs f2, 0x178(r1)
/* 801A7B50 001A4AB0 D0 21 01 7C */ stfs f1, 0x17c(r1)
/* 801A7B54 001A4AB4 D0 01 01 80 */ stfs f0, 0x180(r1)
/* 801A7B58 001A4AB8 D0 81 01 84 */ stfs f4, 0x184(r1)
/* 801A7B5C 001A4ABC D0 61 01 88 */ stfs f3, 0x188(r1)
/* 801A7B60 001A4AC0 48 16 CD 59 */ bl Magnitude__9CVector3fCFv
/* 801A7B64 001A4AC4 80 01 04 F0 */ lwz r0, 0x4f0(r1)
/* 801A7B68 001A4AC8 FF A0 08 90 */ fmr f29, f1
/* 801A7B6C 001A4ACC 2C 00 00 03 */ cmpwi r0, 3
/* 801A7B70 001A4AD0 40 82 02 84 */ bne lbl_801A7DF4
/* 801A7B74 001A4AD4 C0 02 A7 FC */ lfs f0, lbl_805AC51C@sda21(r2)
/* 801A7B78 001A4AD8 FC 1D 00 40 */ fcmpo cr0, f29, f0
/* 801A7B7C 001A4ADC 4C 40 13 82 */ cror 2, 0, 2
/* 801A7B80 001A4AE0 40 82 00 18 */ bne lbl_801A7B98
/* 801A7B84 001A4AE4 28 19 00 00 */ cmplwi r25, 0
/* 801A7B88 001A4AE8 41 82 08 C0 */ beq lbl_801A8448
/* 801A7B8C 001A4AEC 7F 23 CB 78 */ mr r3, r25
/* 801A7B90 001A4AF0 48 19 5F 51 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801A7B94 001A4AF4 48 00 08 B4 */ b lbl_801A8448
lbl_801A7B98:
/* 801A7B98 001A4AF8 C0 01 05 00 */ lfs f0, 0x500(r1)
/* 801A7B9C 001A4AFC 7F C4 F3 78 */ mr r4, r30
/* 801A7BA0 001A4B00 C0 51 00 00 */ lfs f2, 0(r17)
/* 801A7BA4 001A4B04 38 61 00 7C */ addi r3, r1, 0x7c
/* 801A7BA8 001A4B08 EC 3D 00 2A */ fadds f1, f29, f0
/* 801A7BAC 001A4B0C C0 01 05 04 */ lfs f0, 0x504(r1)
/* 801A7BB0 001A4B10 D0 41 01 B0 */ stfs f2, 0x1b0(r1)
/* 801A7BB4 001A4B14 D0 21 01 B4 */ stfs f1, 0x1b4(r1)
/* 801A7BB8 001A4B18 D0 01 01 B8 */ stfs f0, 0x1b8(r1)
/* 801A7BBC 001A4B1C 4B EA 55 21 */ bl AllocateUniqueId__13CStateManagerFv
/* 801A7BC0 001A4B20 A0 01 00 7C */ lhz r0, 0x7c(r1)
/* 801A7BC4 001A4B24 3C 60 80 3D */ lis r3, lbl_803D1498@ha
/* 801A7BC8 001A4B28 38 83 14 98 */ addi r4, r3, lbl_803D1498@l
/* 801A7BCC 001A4B2C 38 A0 00 00 */ li r5, 0
/* 801A7BD0 001A4B30 B0 01 00 90 */ sth r0, 0x90(r1)
/* 801A7BD4 001A4B34 38 60 03 10 */ li r3, 0x310
/* 801A7BD8 001A4B38 48 16 DC 95 */ bl __nw__FUlPCcPCc
/* 801A7BDC 001A4B3C 7C 73 1B 79 */ or. r19, r3, r3
/* 801A7BE0 001A4B40 41 82 00 58 */ beq lbl_801A7C38
/* 801A7BE4 001A4B44 C0 02 A8 00 */ lfs f0, lbl_805AC520@sda21(r2)
/* 801A7BE8 001A4B48 7F 89 E3 78 */ mr r9, r28
/* 801A7BEC 001A4B4C C0 42 A7 F8 */ lfs f2, lbl_805AC518@sda21(r2)
/* 801A7BF0 001A4B50 38 81 00 74 */ addi r4, r1, 0x74
/* 801A7BF4 001A4B54 EC 00 07 72 */ fmuls f0, f0, f29
/* 801A7BF8 001A4B58 81 5B 00 00 */ lwz r10, 0(r27)
/* 801A7BFC 001A4B5C D0 41 01 68 */ stfs f2, 0x168(r1)
/* 801A7C00 001A4B60 38 A1 00 A8 */ addi r5, r1, 0xa8
/* 801A7C04 001A4B64 A0 01 00 90 */ lhz r0, 0x90(r1)
/* 801A7C08 001A4B68 38 C1 00 78 */ addi r6, r1, 0x78
/* 801A7C0C 001A4B6C D0 01 01 6C */ stfs f0, 0x16c(r1)
/* 801A7C10 001A4B70 38 E1 01 B0 */ addi r7, r1, 0x1b0
/* 801A7C14 001A4B74 C0 21 05 30 */ lfs f1, 0x530(r1)
/* 801A7C18 001A4B78 39 01 01 68 */ addi r8, r1, 0x168
/* 801A7C1C 001A4B7C D0 41 01 70 */ stfs f2, 0x170(r1)
/* 801A7C20 001A4B80 A1 7F 00 10 */ lhz r11, 0x10(r31)
/* 801A7C24 001A4B84 B1 61 00 78 */ sth r11, 0x78(r1)
/* 801A7C28 001A4B88 91 41 00 A8 */ stw r10, 0xa8(r1)
/* 801A7C2C 001A4B8C B0 01 00 74 */ sth r0, 0x74(r1)
/* 801A7C30 001A4B90 48 00 21 79 */ bl __ct__15CCollisionActorF9TUniqueIdCRi9TUniqueIdRC9CVector3fRC9CVector3fbf
/* 801A7C34 001A4B94 7C 73 1B 78 */ mr r19, r3
lbl_801A7C38:
/* 801A7C38 001A4B98 80 01 04 F4 */ lwz r0, 0x4f4(r1)
/* 801A7C3C 001A4B9C 2C 00 00 00 */ cmpwi r0, 0
/* 801A7C40 001A4BA0 40 82 00 3C */ bne lbl_801A7C7C
/* 801A7C44 001A4BA4 38 73 00 34 */ addi r3, r19, 0x34
/* 801A7C48 001A4BA8 38 81 03 D8 */ addi r4, r1, 0x3d8
/* 801A7C4C 001A4BAC 48 16 AE F5 */ bl __as__12CTransform4fFRC12CTransform4f
/* 801A7C50 001A4BB0 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A7C54 001A4BB4 38 60 00 01 */ li r3, 1
/* 801A7C58 001A4BB8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 801A7C5C 001A4BBC 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A7C60 001A4BC0 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A7C64 001A4BC4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 801A7C68 001A4BC8 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A7C6C 001A4BCC 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A7C70 001A4BD0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 801A7C74 001A4BD4 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A7C78 001A4BD8 48 00 01 44 */ b lbl_801A7DBC
lbl_801A7C7C:
/* 801A7C7C 001A4BDC C0 61 03 B4 */ lfs f3, 0x3b4(r1)
/* 801A7C80 001A4BE0 38 61 01 5C */ addi r3, r1, 0x15c
/* 801A7C84 001A4BE4 C0 01 03 E4 */ lfs f0, 0x3e4(r1)
/* 801A7C88 001A4BE8 38 81 01 50 */ addi r4, r1, 0x150
/* 801A7C8C 001A4BEC C0 41 03 C4 */ lfs f2, 0x3c4(r1)
/* 801A7C90 001A4BF0 C0 81 03 F4 */ lfs f4, 0x3f4(r1)
/* 801A7C94 001A4BF4 EC 03 00 28 */ fsubs f0, f3, f0
/* 801A7C98 001A4BF8 C0 21 03 D4 */ lfs f1, 0x3d4(r1)
/* 801A7C9C 001A4BFC C0 A1 04 04 */ lfs f5, 0x404(r1)
/* 801A7CA0 001A4C00 EC C2 20 28 */ fsubs f6, f2, f4
/* 801A7CA4 001A4C04 C1 01 04 00 */ lfs f8, 0x400(r1)
/* 801A7CA8 001A4C08 EC A1 28 28 */ fsubs f5, f1, f5
/* 801A7CAC 001A4C0C C0 E1 03 F0 */ lfs f7, 0x3f0(r1)
/* 801A7CB0 001A4C10 C0 81 03 E0 */ lfs f4, 0x3e0(r1)
/* 801A7CB4 001A4C14 D0 E1 01 A8 */ stfs f7, 0x1a8(r1)
/* 801A7CB8 001A4C18 D0 81 01 A4 */ stfs f4, 0x1a4(r1)
/* 801A7CBC 001A4C1C D1 01 01 AC */ stfs f8, 0x1ac(r1)
/* 801A7CC0 001A4C20 D0 61 01 44 */ stfs f3, 0x144(r1)
/* 801A7CC4 001A4C24 D0 41 01 48 */ stfs f2, 0x148(r1)
/* 801A7CC8 001A4C28 D0 21 01 4C */ stfs f1, 0x14c(r1)
/* 801A7CCC 001A4C2C D0 01 01 50 */ stfs f0, 0x150(r1)
/* 801A7CD0 001A4C30 D0 C1 01 54 */ stfs f6, 0x154(r1)
/* 801A7CD4 001A4C34 D0 A1 01 58 */ stfs f5, 0x158(r1)
/* 801A7CD8 001A4C38 48 16 CB 79 */ bl AsNormalized__9CVector3fCFv
/* 801A7CDC 001A4C3C C0 81 01 60 */ lfs f4, 0x160(r1)
/* 801A7CE0 001A4C40 C0 01 01 A8 */ lfs f0, 0x1a8(r1)
/* 801A7CE4 001A4C44 C0 C1 01 5C */ lfs f6, 0x15c(r1)
/* 801A7CE8 001A4C48 EC 04 00 32 */ fmuls f0, f4, f0
/* 801A7CEC 001A4C4C C0 21 01 A4 */ lfs f1, 0x1a4(r1)
/* 801A7CF0 001A4C50 C0 A1 01 64 */ lfs f5, 0x164(r1)
/* 801A7CF4 001A4C54 C0 61 01 AC */ lfs f3, 0x1ac(r1)
/* 801A7CF8 001A4C58 EC 26 00 7A */ fmadds f1, f6, f1, f0
/* 801A7CFC 001A4C5C C0 42 A8 04 */ lfs f2, lbl_805AC524@sda21(r2)
/* 801A7D00 001A4C60 C8 02 A8 08 */ lfd f0, lbl_805AC528@sda21(r2)
/* 801A7D04 001A4C64 EC 25 08 FA */ fmadds f1, f5, f3, f1
/* 801A7D08 001A4C68 FC 20 0A 10 */ fabs f1, f1
/* 801A7D0C 001A4C6C FC 20 08 18 */ frsp f1, f1
/* 801A7D10 001A4C70 EC 22 08 28 */ fsubs f1, f2, f1
/* 801A7D14 001A4C74 FC 20 0A 10 */ fabs f1, f1
/* 801A7D18 001A4C78 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801A7D1C 001A4C7C 40 80 00 1C */ bge lbl_801A7D38
/* 801A7D20 001A4C80 C0 41 03 FC */ lfs f2, 0x3fc(r1)
/* 801A7D24 001A4C84 C0 21 03 EC */ lfs f1, 0x3ec(r1)
/* 801A7D28 001A4C88 C0 01 03 DC */ lfs f0, 0x3dc(r1)
/* 801A7D2C 001A4C8C D0 21 01 A8 */ stfs f1, 0x1a8(r1)
/* 801A7D30 001A4C90 D0 01 01 A4 */ stfs f0, 0x1a4(r1)
/* 801A7D34 001A4C94 D0 41 01 AC */ stfs f2, 0x1ac(r1)
lbl_801A7D38:
/* 801A7D38 001A4C98 C0 01 03 F4 */ lfs f0, 0x3f4(r1)
/* 801A7D3C 001A4C9C 38 61 02 58 */ addi r3, r1, 0x258
/* 801A7D40 001A4CA0 C0 41 04 04 */ lfs f2, 0x404(r1)
/* 801A7D44 001A4CA4 38 81 01 38 */ addi r4, r1, 0x138
/* 801A7D48 001A4CA8 C0 21 03 E4 */ lfs f1, 0x3e4(r1)
/* 801A7D4C 001A4CAC EC 80 20 2A */ fadds f4, f0, f4
/* 801A7D50 001A4CB0 EC 62 28 2A */ fadds f3, f2, f5
/* 801A7D54 001A4CB4 D0 01 01 3C */ stfs f0, 0x13c(r1)
/* 801A7D58 001A4CB8 EC 01 30 2A */ fadds f0, f1, f6
/* 801A7D5C 001A4CBC 38 A1 01 2C */ addi r5, r1, 0x12c
/* 801A7D60 001A4CC0 D0 81 01 30 */ stfs f4, 0x130(r1)
/* 801A7D64 001A4CC4 38 C1 01 A4 */ addi r6, r1, 0x1a4
/* 801A7D68 001A4CC8 D0 01 01 2C */ stfs f0, 0x12c(r1)
/* 801A7D6C 001A4CCC D0 61 01 34 */ stfs f3, 0x134(r1)
/* 801A7D70 001A4CD0 D0 21 01 38 */ stfs f1, 0x138(r1)
/* 801A7D74 001A4CD4 D0 41 01 40 */ stfs f2, 0x140(r1)
/* 801A7D78 001A4CD8 48 16 BD 99 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 801A7D7C 001A4CDC 38 61 03 78 */ addi r3, r1, 0x378
/* 801A7D80 001A4CE0 38 81 02 58 */ addi r4, r1, 0x258
/* 801A7D84 001A4CE4 48 16 AD F1 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A7D88 001A4CE8 38 73 00 34 */ addi r3, r19, 0x34
/* 801A7D8C 001A4CEC 38 81 03 78 */ addi r4, r1, 0x378
/* 801A7D90 001A4CF0 48 16 AD B1 */ bl __as__12CTransform4fFRC12CTransform4f
/* 801A7D94 001A4CF4 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A7D98 001A4CF8 38 60 00 01 */ li r3, 1
/* 801A7D9C 001A4CFC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 801A7DA0 001A4D00 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A7DA4 001A4D04 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A7DA8 001A4D08 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 801A7DAC 001A4D0C 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A7DB0 001A4D10 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A7DB4 001A4D14 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 801A7DB8 001A4D18 98 13 00 E4 */ stb r0, 0xe4(r19)
lbl_801A7DBC:
/* 801A7DBC 001A4D1C 7F C3 F3 78 */ mr r3, r30
/* 801A7DC0 001A4D20 7E 64 9B 78 */ mr r4, r19
/* 801A7DC4 001A4D24 4B EA 4D 51 */ bl AddObject__13CStateManagerFR7CEntity
/* 801A7DC8 001A4D28 7F E3 FB 78 */ mr r3, r31
/* 801A7DCC 001A4D2C 7F A4 EB 78 */ mr r4, r29
/* 801A7DD0 001A4D30 4B FA E4 61 */ bl sub_80156230
/* 801A7DD4 001A4D34 80 1F 00 04 */ lwz r0, 4(r31)
/* 801A7DD8 001A4D38 A0 81 00 90 */ lhz r4, 0x90(r1)
/* 801A7DDC 001A4D3C 1C 00 00 44 */ mulli r0, r0, 0x44
/* 801A7DE0 001A4D40 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 801A7DE4 001A4D44 B0 81 00 70 */ sth r4, 0x70(r1)
/* 801A7DE8 001A4D48 7C 63 02 14 */ add r3, r3, r0
/* 801A7DEC 001A4D4C B0 83 FF F8 */ sth r4, -8(r3)
/* 801A7DF0 001A4D50 48 00 06 48 */ b lbl_801A8438
lbl_801A7DF4:
/* 801A7DF4 001A4D54 7F C4 F3 78 */ mr r4, r30
/* 801A7DF8 001A4D58 38 61 00 6C */ addi r3, r1, 0x6c
/* 801A7DFC 001A4D5C 4B EA 52 E1 */ bl AllocateUniqueId__13CStateManagerFv
/* 801A7E00 001A4D60 A0 01 00 6C */ lhz r0, 0x6c(r1)
/* 801A7E04 001A4D64 3C 60 80 3D */ lis r3, lbl_803D1498@ha
/* 801A7E08 001A4D68 38 83 14 98 */ addi r4, r3, lbl_803D1498@l
/* 801A7E0C 001A4D6C 38 A0 00 00 */ li r5, 0
/* 801A7E10 001A4D70 B0 01 00 8C */ sth r0, 0x8c(r1)
/* 801A7E14 001A4D74 38 60 03 10 */ li r3, 0x310
/* 801A7E18 001A4D78 48 16 DA 55 */ bl __nw__FUlPCcPCc
/* 801A7E1C 001A4D7C 7C 73 1B 79 */ or. r19, r3, r3
/* 801A7E20 001A4D80 41 82 00 3C */ beq lbl_801A7E5C
/* 801A7E24 001A4D84 A0 DF 00 10 */ lhz r6, 0x10(r31)
/* 801A7E28 001A4D88 7F 87 E3 78 */ mr r7, r28
/* 801A7E2C 001A4D8C 81 1B 00 00 */ lwz r8, 0(r27)
/* 801A7E30 001A4D90 38 81 00 64 */ addi r4, r1, 0x64
/* 801A7E34 001A4D94 A0 01 00 8C */ lhz r0, 0x8c(r1)
/* 801A7E38 001A4D98 38 A1 00 A4 */ addi r5, r1, 0xa4
/* 801A7E3C 001A4D9C B0 C1 00 68 */ sth r6, 0x68(r1)
/* 801A7E40 001A4DA0 38 C1 00 68 */ addi r6, r1, 0x68
/* 801A7E44 001A4DA4 C0 21 05 14 */ lfs f1, 0x514(r1)
/* 801A7E48 001A4DA8 91 01 00 A4 */ stw r8, 0xa4(r1)
/* 801A7E4C 001A4DAC C0 41 05 30 */ lfs f2, 0x530(r1)
/* 801A7E50 001A4DB0 B0 01 00 64 */ sth r0, 0x64(r1)
/* 801A7E54 001A4DB4 48 00 15 E1 */ bl __ct__15CCollisionActorF9TUniqueId7TAreaId9TUniqueIdbff
/* 801A7E58 001A4DB8 7C 73 1B 78 */ mr r19, r3
lbl_801A7E5C:
/* 801A7E5C 001A4DBC 38 73 00 34 */ addi r3, r19, 0x34
/* 801A7E60 001A4DC0 38 81 03 D8 */ addi r4, r1, 0x3d8
/* 801A7E64 001A4DC4 48 16 AC DD */ bl __as__12CTransform4fFRC12CTransform4f
/* 801A7E68 001A4DC8 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A7E6C 001A4DCC 38 A0 00 01 */ li r5, 1
/* 801A7E70 001A4DD0 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b
/* 801A7E74 001A4DD4 7F C3 F3 78 */ mr r3, r30
/* 801A7E78 001A4DD8 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A7E7C 001A4DDC 7E 64 9B 78 */ mr r4, r19
/* 801A7E80 001A4DE0 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A7E84 001A4DE4 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c
/* 801A7E88 001A4DE8 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A7E8C 001A4DEC 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A7E90 001A4DF0 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d
/* 801A7E94 001A4DF4 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A7E98 001A4DF8 4B EA 4C 7D */ bl AddObject__13CStateManagerFR7CEntity
/* 801A7E9C 001A4DFC 88 01 04 F8 */ lbz r0, 0x4f8(r1)
/* 801A7EA0 001A4E00 7F 25 CB 78 */ mr r5, r25
/* 801A7EA4 001A4E04 C0 21 05 14 */ lfs f1, 0x514(r1)
/* 801A7EA8 001A4E08 38 61 04 AC */ addi r3, r1, 0x4ac
/* 801A7EAC 001A4E0C 98 01 00 18 */ stb r0, 0x18(r1)
/* 801A7EB0 001A4E10 38 81 00 1C */ addi r4, r1, 0x1c
/* 801A7EB4 001A4E14 C0 42 A8 10 */ lfs f2, lbl_805AC530@sda21(r2)
/* 801A7EB8 001A4E18 98 01 00 1C */ stb r0, 0x1c(r1)
/* 801A7EBC 001A4E1C 48 00 09 51 */ bl "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>f"
/* 801A7EC0 001A4E20 7F E3 FB 78 */ mr r3, r31
/* 801A7EC4 001A4E24 38 81 04 AC */ addi r4, r1, 0x4ac
/* 801A7EC8 001A4E28 4B FA E3 69 */ bl sub_80156230
/* 801A7ECC 001A4E2C 28 10 00 00 */ cmplwi r16, 0
/* 801A7ED0 001A4E30 41 82 00 0C */ beq lbl_801A7EDC
/* 801A7ED4 001A4E34 7E 03 83 78 */ mr r3, r16
/* 801A7ED8 001A4E38 48 19 5C 09 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_801A7EDC:
/* 801A7EDC 001A4E3C 80 1F 00 04 */ lwz r0, 4(r31)
/* 801A7EE0 001A4E40 A0 81 00 8C */ lhz r4, 0x8c(r1)
/* 801A7EE4 001A4E44 1C 00 00 44 */ mulli r0, r0, 0x44
/* 801A7EE8 001A4E48 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 801A7EEC 001A4E4C B0 81 00 60 */ sth r4, 0x60(r1)
/* 801A7EF0 001A4E50 7C 63 02 14 */ add r3, r3, r0
/* 801A7EF4 001A4E54 B0 83 FF F8 */ sth r4, -8(r3)
/* 801A7EF8 001A4E58 C0 01 05 18 */ lfs f0, 0x518(r1)
/* 801A7EFC 001A4E5C EC 3D 00 24 */ fdivs f1, f29, f0
/* 801A7F00 001A4E60 48 1E 1A 55 */ bl __cvt_fp2unsigned
/* 801A7F04 001A4E64 7C 76 1B 79 */ or. r22, r3, r3
/* 801A7F08 001A4E68 41 82 05 30 */ beq lbl_801A8438
/* 801A7F0C 001A4E6C 80 1F 00 08 */ lwz r0, 8(r31)
/* 801A7F10 001A4E70 7F E3 FB 78 */ mr r3, r31
/* 801A7F14 001A4E74 7C 96 02 14 */ add r4, r22, r0
/* 801A7F18 001A4E78 4B FA E8 A1 */ bl "reserve__Q24rstl63vector<26CJointCollisionDescription,Q24rstl17rmemory_allocator>Fi"
/* 801A7F1C 001A4E7C 38 16 00 01 */ addi r0, r22, 1
/* 801A7F20 001A4E80 3E E0 43 30 */ lis r23, 0x4330
/* 801A7F24 001A4E84 90 01 05 3C */ stw r0, 0x53c(r1)
/* 801A7F28 001A4E88 3C 60 80 3D */ lis r3, lbl_803D1498@ha
/* 801A7F2C 001A4E8C CB E2 A8 18 */ lfd f31, lbl_805AC538@sda21(r2)
/* 801A7F30 001A4E90 3B 03 14 98 */ addi r24, r3, lbl_803D1498@l
/* 801A7F34 001A4E94 92 E1 05 38 */ stw r23, 0x538(r1)
/* 801A7F38 001A4E98 3A A0 00 00 */ li r21, 0
/* 801A7F3C 001A4E9C C8 01 05 38 */ lfd f0, 0x538(r1)
/* 801A7F40 001A4EA0 EC 00 F8 28 */ fsubs f0, f0, f31
/* 801A7F44 001A4EA4 EF DD 00 24 */ fdivs f30, f29, f0
/* 801A7F48 001A4EA8 48 00 03 40 */ b lbl_801A8288
lbl_801A7F4C:
/* 801A7F4C 001A4EAC 38 15 00 01 */ addi r0, r21, 1
/* 801A7F50 001A4EB0 89 01 04 F9 */ lbz r8, 0x4f9(r1)
/* 801A7F54 001A4EB4 90 01 05 3C */ stw r0, 0x53c(r1)
/* 801A7F58 001A4EB8 7F 27 CB 78 */ mr r7, r25
/* 801A7F5C 001A4EBC 88 01 04 F8 */ lbz r0, 0x4f8(r1)
/* 801A7F60 001A4EC0 38 61 04 68 */ addi r3, r1, 0x468
/* 801A7F64 001A4EC4 92 E1 05 38 */ stw r23, 0x538(r1)
/* 801A7F68 001A4EC8 38 81 00 14 */ addi r4, r1, 0x14
/* 801A7F6C 001A4ECC C0 21 05 14 */ lfs f1, 0x514(r1)
/* 801A7F70 001A4ED0 38 A1 00 0C */ addi r5, r1, 0xc
/* 801A7F74 001A4ED4 C8 01 05 38 */ lfd f0, 0x538(r1)
/* 801A7F78 001A4ED8 38 C0 00 01 */ li r6, 1
/* 801A7F7C 001A4EDC 99 01 00 08 */ stb r8, 8(r1)
/* 801A7F80 001A4EE0 EC 00 F8 28 */ fsubs f0, f0, f31
/* 801A7F84 001A4EE4 C0 62 A8 10 */ lfs f3, lbl_805AC530@sda21(r2)
/* 801A7F88 001A4EE8 99 01 00 0C */ stb r8, 0xc(r1)
/* 801A7F8C 001A4EEC EF BE 00 32 */ fmuls f29, f30, f0
/* 801A7F90 001A4EF0 98 01 00 10 */ stb r0, 0x10(r1)
/* 801A7F94 001A4EF4 98 01 00 14 */ stb r0, 0x14(r1)
/* 801A7F98 001A4EF8 FC 40 E8 90 */ fmr f2, f29
/* 801A7F9C 001A4EFC 48 00 07 B9 */ bl "SphereSubdivideCollision__26CJointCollisionDescriptionF6CSegId6CSegIdffQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>f"
/* 801A7FA0 001A4F00 7F E3 FB 78 */ mr r3, r31
/* 801A7FA4 001A4F04 38 81 04 68 */ addi r4, r1, 0x468
/* 801A7FA8 001A4F08 4B FA E2 89 */ bl sub_80156230
/* 801A7FAC 001A4F0C 28 1A 00 00 */ cmplwi r26, 0
/* 801A7FB0 001A4F10 41 82 00 0C */ beq lbl_801A7FBC
/* 801A7FB4 001A4F14 7F 43 D3 78 */ mr r3, r26
/* 801A7FB8 001A4F18 48 19 5B 29 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_801A7FBC:
/* 801A7FBC 001A4F1C 7F C4 F3 78 */ mr r4, r30
/* 801A7FC0 001A4F20 38 61 00 5C */ addi r3, r1, 0x5c
/* 801A7FC4 001A4F24 4B EA 51 19 */ bl AllocateUniqueId__13CStateManagerFv
/* 801A7FC8 001A4F28 A0 01 00 5C */ lhz r0, 0x5c(r1)
/* 801A7FCC 001A4F2C 7F 04 C3 78 */ mr r4, r24
/* 801A7FD0 001A4F30 38 60 03 10 */ li r3, 0x310
/* 801A7FD4 001A4F34 38 A0 00 00 */ li r5, 0
/* 801A7FD8 001A4F38 B0 01 00 88 */ sth r0, 0x88(r1)
/* 801A7FDC 001A4F3C 48 16 D8 91 */ bl __nw__FUlPCcPCc
/* 801A7FE0 001A4F40 7C 73 1B 79 */ or. r19, r3, r3
/* 801A7FE4 001A4F44 41 82 00 3C */ beq lbl_801A8020
/* 801A7FE8 001A4F48 A0 DF 00 10 */ lhz r6, 0x10(r31)
/* 801A7FEC 001A4F4C 7F 87 E3 78 */ mr r7, r28
/* 801A7FF0 001A4F50 81 1B 00 00 */ lwz r8, 0(r27)
/* 801A7FF4 001A4F54 38 81 00 54 */ addi r4, r1, 0x54
/* 801A7FF8 001A4F58 A0 01 00 88 */ lhz r0, 0x88(r1)
/* 801A7FFC 001A4F5C 38 A1 00 A0 */ addi r5, r1, 0xa0
/* 801A8000 001A4F60 B0 C1 00 58 */ sth r6, 0x58(r1)
/* 801A8004 001A4F64 38 C1 00 58 */ addi r6, r1, 0x58
/* 801A8008 001A4F68 C0 21 05 14 */ lfs f1, 0x514(r1)
/* 801A800C 001A4F6C 91 01 00 A0 */ stw r8, 0xa0(r1)
/* 801A8010 001A4F70 C0 41 05 30 */ lfs f2, 0x530(r1)
/* 801A8014 001A4F74 B0 01 00 54 */ sth r0, 0x54(r1)
/* 801A8018 001A4F78 48 00 14 1D */ bl __ct__15CCollisionActorF9TUniqueId7TAreaId9TUniqueIdbff
/* 801A801C 001A4F7C 7C 73 1B 78 */ mr r19, r3
lbl_801A8020:
/* 801A8020 001A4F80 80 01 04 F4 */ lwz r0, 0x4f4(r1)
/* 801A8024 001A4F84 2C 00 00 00 */ cmpwi r0, 0
/* 801A8028 001A4F88 40 82 00 A8 */ bne lbl_801A80D0
/* 801A802C 001A4F8C C0 41 03 EC */ lfs f2, 0x3ec(r1)
/* 801A8030 001A4F90 38 61 02 28 */ addi r3, r1, 0x228
/* 801A8034 001A4F94 C0 21 03 FC */ lfs f1, 0x3fc(r1)
/* 801A8038 001A4F98 38 81 01 20 */ addi r4, r1, 0x120
/* 801A803C 001A4F9C C0 01 03 DC */ lfs f0, 0x3dc(r1)
/* 801A8040 001A4FA0 EC DD 00 B2 */ fmuls f6, f29, f2
/* 801A8044 001A4FA4 C0 41 03 F4 */ lfs f2, 0x3f4(r1)
/* 801A8048 001A4FA8 EC BD 00 72 */ fmuls f5, f29, f1
/* 801A804C 001A4FAC C0 21 04 04 */ lfs f1, 0x404(r1)
/* 801A8050 001A4FB0 EC 9D 00 32 */ fmuls f4, f29, f0
/* 801A8054 001A4FB4 C0 61 03 E4 */ lfs f3, 0x3e4(r1)
/* 801A8058 001A4FB8 EC E2 30 2A */ fadds f7, f2, f6
/* 801A805C 001A4FBC D0 C1 01 0C */ stfs f6, 0x10c(r1)
/* 801A8060 001A4FC0 EC C1 28 2A */ fadds f6, f1, f5
/* 801A8064 001A4FC4 EC 03 20 2A */ fadds f0, f3, f4
/* 801A8068 001A4FC8 D0 81 01 08 */ stfs f4, 0x108(r1)
/* 801A806C 001A4FCC D0 A1 01 10 */ stfs f5, 0x110(r1)
/* 801A8070 001A4FD0 D0 61 01 14 */ stfs f3, 0x114(r1)
/* 801A8074 001A4FD4 D0 41 01 18 */ stfs f2, 0x118(r1)
/* 801A8078 001A4FD8 D0 21 01 1C */ stfs f1, 0x11c(r1)
/* 801A807C 001A4FDC D0 01 01 20 */ stfs f0, 0x120(r1)
/* 801A8080 001A4FE0 D0 E1 01 24 */ stfs f7, 0x124(r1)
/* 801A8084 001A4FE4 D0 C1 01 28 */ stfs f6, 0x128(r1)
/* 801A8088 001A4FE8 48 16 B0 B9 */ bl Translate__12CTransform4fFRC9CVector3f
/* 801A808C 001A4FEC 38 61 03 48 */ addi r3, r1, 0x348
/* 801A8090 001A4FF0 38 81 02 28 */ addi r4, r1, 0x228
/* 801A8094 001A4FF4 48 16 AA E1 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A8098 001A4FF8 38 73 00 34 */ addi r3, r19, 0x34
/* 801A809C 001A4FFC 38 81 03 48 */ addi r4, r1, 0x348
/* 801A80A0 001A5000 48 16 AA A1 */ bl __as__12CTransform4fFRC12CTransform4f
/* 801A80A4 001A5004 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A80A8 001A5008 38 60 00 01 */ li r3, 1
/* 801A80AC 001A500C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 801A80B0 001A5010 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A80B4 001A5014 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A80B8 001A5018 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 801A80BC 001A501C 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A80C0 001A5020 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A80C4 001A5024 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 801A80C8 001A5028 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A80CC 001A502C 48 00 01 90 */ b lbl_801A825C
lbl_801A80D0:
/* 801A80D0 001A5030 C0 61 03 B4 */ lfs f3, 0x3b4(r1)
/* 801A80D4 001A5034 38 61 00 FC */ addi r3, r1, 0xfc
/* 801A80D8 001A5038 C0 01 03 E4 */ lfs f0, 0x3e4(r1)
/* 801A80DC 001A503C 38 81 00 F0 */ addi r4, r1, 0xf0
/* 801A80E0 001A5040 C0 41 03 C4 */ lfs f2, 0x3c4(r1)
/* 801A80E4 001A5044 C0 81 03 F4 */ lfs f4, 0x3f4(r1)
/* 801A80E8 001A5048 EC 03 00 28 */ fsubs f0, f3, f0
/* 801A80EC 001A504C C0 21 03 D4 */ lfs f1, 0x3d4(r1)
/* 801A80F0 001A5050 C0 A1 04 04 */ lfs f5, 0x404(r1)
/* 801A80F4 001A5054 EC C2 20 28 */ fsubs f6, f2, f4
/* 801A80F8 001A5058 C1 01 04 00 */ lfs f8, 0x400(r1)
/* 801A80FC 001A505C EC A1 28 28 */ fsubs f5, f1, f5
/* 801A8100 001A5060 C0 E1 03 F0 */ lfs f7, 0x3f0(r1)
/* 801A8104 001A5064 C0 81 03 E0 */ lfs f4, 0x3e0(r1)
/* 801A8108 001A5068 D0 E1 01 9C */ stfs f7, 0x19c(r1)
/* 801A810C 001A506C D0 81 01 98 */ stfs f4, 0x198(r1)
/* 801A8110 001A5070 D1 01 01 A0 */ stfs f8, 0x1a0(r1)
/* 801A8114 001A5074 D0 61 00 E4 */ stfs f3, 0xe4(r1)
/* 801A8118 001A5078 D0 41 00 E8 */ stfs f2, 0xe8(r1)
/* 801A811C 001A507C D0 21 00 EC */ stfs f1, 0xec(r1)
/* 801A8120 001A5080 D0 01 00 F0 */ stfs f0, 0xf0(r1)
/* 801A8124 001A5084 D0 C1 00 F4 */ stfs f6, 0xf4(r1)
/* 801A8128 001A5088 D0 A1 00 F8 */ stfs f5, 0xf8(r1)
/* 801A812C 001A508C 48 16 C7 25 */ bl AsNormalized__9CVector3fCFv
/* 801A8130 001A5090 C0 A1 01 00 */ lfs f5, 0x100(r1)
/* 801A8134 001A5094 C0 01 01 9C */ lfs f0, 0x19c(r1)
/* 801A8138 001A5098 C0 C1 00 FC */ lfs f6, 0xfc(r1)
/* 801A813C 001A509C EC 05 00 32 */ fmuls f0, f5, f0
/* 801A8140 001A50A0 C0 21 01 98 */ lfs f1, 0x198(r1)
/* 801A8144 001A50A4 C0 81 01 04 */ lfs f4, 0x104(r1)
/* 801A8148 001A50A8 C0 61 01 A0 */ lfs f3, 0x1a0(r1)
/* 801A814C 001A50AC EC 26 00 7A */ fmadds f1, f6, f1, f0
/* 801A8150 001A50B0 C0 42 A8 04 */ lfs f2, lbl_805AC524@sda21(r2)
/* 801A8154 001A50B4 C8 02 A8 08 */ lfd f0, lbl_805AC528@sda21(r2)
/* 801A8158 001A50B8 D0 C1 01 8C */ stfs f6, 0x18c(r1)
/* 801A815C 001A50BC EC 24 08 FA */ fmadds f1, f4, f3, f1
/* 801A8160 001A50C0 D0 A1 01 90 */ stfs f5, 0x190(r1)
/* 801A8164 001A50C4 FC 20 0A 10 */ fabs f1, f1
/* 801A8168 001A50C8 D0 81 01 94 */ stfs f4, 0x194(r1)
/* 801A816C 001A50CC FC 20 08 18 */ frsp f1, f1
/* 801A8170 001A50D0 EC 22 08 28 */ fsubs f1, f2, f1
/* 801A8174 001A50D4 FC 20 0A 10 */ fabs f1, f1
/* 801A8178 001A50D8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801A817C 001A50DC 40 80 00 1C */ bge lbl_801A8198
/* 801A8180 001A50E0 C0 41 03 FC */ lfs f2, 0x3fc(r1)
/* 801A8184 001A50E4 C0 21 03 EC */ lfs f1, 0x3ec(r1)
/* 801A8188 001A50E8 C0 01 03 DC */ lfs f0, 0x3dc(r1)
/* 801A818C 001A50EC D0 21 01 9C */ stfs f1, 0x19c(r1)
/* 801A8190 001A50F0 D0 01 01 98 */ stfs f0, 0x198(r1)
/* 801A8194 001A50F4 D0 41 01 A0 */ stfs f2, 0x1a0(r1)
lbl_801A8198:
/* 801A8198 001A50F8 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
2022-04-14 08:02:42 +00:00
/* 801A819C 001A50FC 38 61 01 C8 */ addi r3, r1, 0x1c8
/* 801A81A0 001A5100 38 84 66 A0 */ addi r4, r4, sZeroVector__9CVector3f@l
2022-04-14 08:02:42 +00:00
/* 801A81A4 001A5104 38 A1 01 8C */ addi r5, r1, 0x18c
/* 801A81A8 001A5108 38 C1 01 98 */ addi r6, r1, 0x198
/* 801A81AC 001A510C 48 16 B9 65 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f
/* 801A81B0 001A5110 C1 41 01 EC */ lfs f10, 0x1ec(r1)
/* 801A81B4 001A5114 38 61 01 F8 */ addi r3, r1, 0x1f8
/* 801A81B8 001A5118 C1 21 01 DC */ lfs f9, 0x1dc(r1)
/* 801A81BC 001A511C 38 81 00 D8 */ addi r4, r1, 0xd8
/* 801A81C0 001A5120 C0 01 01 CC */ lfs f0, 0x1cc(r1)
/* 801A81C4 001A5124 EC BD 02 B2 */ fmuls f5, f29, f10
/* 801A81C8 001A5128 C0 21 04 04 */ lfs f1, 0x404(r1)
/* 801A81CC 001A512C EC DD 02 72 */ fmuls f6, f29, f9
/* 801A81D0 001A5130 C0 41 03 F4 */ lfs f2, 0x3f4(r1)
/* 801A81D4 001A5134 EC 9D 00 32 */ fmuls f4, f29, f0
/* 801A81D8 001A5138 C0 61 03 E4 */ lfs f3, 0x3e4(r1)
/* 801A81DC 001A513C ED 02 30 2A */ fadds f8, f2, f6
/* 801A81E0 001A5140 D0 01 00 B4 */ stfs f0, 0xb4(r1)
/* 801A81E4 001A5144 EC E1 28 2A */ fadds f7, f1, f5
/* 801A81E8 001A5148 EC 03 20 2A */ fadds f0, f3, f4
/* 801A81EC 001A514C D1 21 00 B8 */ stfs f9, 0xb8(r1)
/* 801A81F0 001A5150 D1 41 00 BC */ stfs f10, 0xbc(r1)
/* 801A81F4 001A5154 D0 81 00 C0 */ stfs f4, 0xc0(r1)
/* 801A81F8 001A5158 D0 C1 00 C4 */ stfs f6, 0xc4(r1)
/* 801A81FC 001A515C D0 A1 00 C8 */ stfs f5, 0xc8(r1)
/* 801A8200 001A5160 D0 61 00 CC */ stfs f3, 0xcc(r1)
/* 801A8204 001A5164 D0 41 00 D0 */ stfs f2, 0xd0(r1)
/* 801A8208 001A5168 D0 21 00 D4 */ stfs f1, 0xd4(r1)
/* 801A820C 001A516C D0 01 00 D8 */ stfs f0, 0xd8(r1)
/* 801A8210 001A5170 D1 01 00 DC */ stfs f8, 0xdc(r1)
/* 801A8214 001A5174 D0 E1 00 E0 */ stfs f7, 0xe0(r1)
/* 801A8218 001A5178 48 16 AF 29 */ bl Translate__12CTransform4fFRC9CVector3f
/* 801A821C 001A517C 38 61 03 18 */ addi r3, r1, 0x318
/* 801A8220 001A5180 38 81 01 F8 */ addi r4, r1, 0x1f8
/* 801A8224 001A5184 48 16 A9 51 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 801A8228 001A5188 38 73 00 34 */ addi r3, r19, 0x34
/* 801A822C 001A518C 38 81 03 18 */ addi r4, r1, 0x318
/* 801A8230 001A5190 48 16 A9 11 */ bl __as__12CTransform4fFRC12CTransform4f
/* 801A8234 001A5194 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A8238 001A5198 38 60 00 01 */ li r3, 1
/* 801A823C 001A519C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 801A8240 001A51A0 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A8244 001A51A4 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A8248 001A51A8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 801A824C 001A51AC 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A8250 001A51B0 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A8254 001A51B4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 801A8258 001A51B8 98 13 00 E4 */ stb r0, 0xe4(r19)
lbl_801A825C:
/* 801A825C 001A51BC 7F C3 F3 78 */ mr r3, r30
/* 801A8260 001A51C0 7E 64 9B 78 */ mr r4, r19
/* 801A8264 001A51C4 4B EA 48 B1 */ bl AddObject__13CStateManagerFR7CEntity
/* 801A8268 001A51C8 80 1F 00 04 */ lwz r0, 4(r31)
/* 801A826C 001A51CC 3A B5 00 01 */ addi r21, r21, 1
/* 801A8270 001A51D0 A0 81 00 88 */ lhz r4, 0x88(r1)
/* 801A8274 001A51D4 1C 00 00 44 */ mulli r0, r0, 0x44
/* 801A8278 001A51D8 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 801A827C 001A51DC B0 81 00 50 */ sth r4, 0x50(r1)
/* 801A8280 001A51E0 7C 63 02 14 */ add r3, r3, r0
/* 801A8284 001A51E4 B0 83 FF F8 */ sth r4, -8(r3)
lbl_801A8288:
/* 801A8288 001A51E8 7C 15 B0 40 */ cmplw r21, r22
/* 801A828C 001A51EC 41 80 FC C0 */ blt lbl_801A7F4C
/* 801A8290 001A51F0 48 00 01 A8 */ b lbl_801A8438
lbl_801A8294:
/* 801A8294 001A51F4 7F C4 F3 78 */ mr r4, r30
/* 801A8298 001A51F8 38 61 00 4C */ addi r3, r1, 0x4c
/* 801A829C 001A51FC 4B EA 4E 41 */ bl AllocateUniqueId__13CStateManagerFv
/* 801A82A0 001A5200 80 61 04 F0 */ lwz r3, 0x4f0(r1)
/* 801A82A4 001A5204 A0 01 00 4C */ lhz r0, 0x4c(r1)
/* 801A82A8 001A5208 2C 03 00 00 */ cmpwi r3, 0
/* 801A82AC 001A520C B0 01 00 84 */ sth r0, 0x84(r1)
/* 801A82B0 001A5210 40 82 00 60 */ bne lbl_801A8310
/* 801A82B4 001A5214 3C 80 80 3D */ lis r4, lbl_803D1498@ha
/* 801A82B8 001A5218 38 60 03 10 */ li r3, 0x310
/* 801A82BC 001A521C 38 84 14 98 */ addi r4, r4, lbl_803D1498@l
/* 801A82C0 001A5220 38 A0 00 00 */ li r5, 0
/* 801A82C4 001A5224 48 16 D5 A9 */ bl __nw__FUlPCcPCc
/* 801A82C8 001A5228 7C 60 1B 79 */ or. r0, r3, r3
/* 801A82CC 001A522C 41 82 00 3C */ beq lbl_801A8308
/* 801A82D0 001A5230 A0 DF 00 10 */ lhz r6, 0x10(r31)
/* 801A82D4 001A5234 7F 87 E3 78 */ mr r7, r28
/* 801A82D8 001A5238 81 1B 00 00 */ lwz r8, 0(r27)
/* 801A82DC 001A523C 38 81 00 44 */ addi r4, r1, 0x44
/* 801A82E0 001A5240 A0 01 00 84 */ lhz r0, 0x84(r1)
/* 801A82E4 001A5244 38 A1 00 9C */ addi r5, r1, 0x9c
/* 801A82E8 001A5248 B0 C1 00 48 */ sth r6, 0x48(r1)
/* 801A82EC 001A524C 38 C1 00 48 */ addi r6, r1, 0x48
/* 801A82F0 001A5250 C0 21 05 14 */ lfs f1, 0x514(r1)
/* 801A82F4 001A5254 91 01 00 9C */ stw r8, 0x9c(r1)
/* 801A82F8 001A5258 C0 41 05 30 */ lfs f2, 0x530(r1)
/* 801A82FC 001A525C B0 01 00 44 */ sth r0, 0x44(r1)
/* 801A8300 001A5260 48 00 11 35 */ bl __ct__15CCollisionActorF9TUniqueId7TAreaId9TUniqueIdbff
/* 801A8304 001A5264 7C 60 1B 78 */ mr r0, r3
lbl_801A8308:
/* 801A8308 001A5268 7C 13 03 78 */ mr r19, r0
/* 801A830C 001A526C 48 00 00 C4 */ b lbl_801A83D0
lbl_801A8310:
/* 801A8310 001A5270 2C 03 00 04 */ cmpwi r3, 4
/* 801A8314 001A5274 40 82 00 64 */ bne lbl_801A8378
/* 801A8318 001A5278 3C 80 80 3D */ lis r4, lbl_803D1498@ha
/* 801A831C 001A527C 38 60 03 10 */ li r3, 0x310
/* 801A8320 001A5280 38 84 14 98 */ addi r4, r4, lbl_803D1498@l
/* 801A8324 001A5284 38 A0 00 00 */ li r5, 0
/* 801A8328 001A5288 48 16 D5 45 */ bl __nw__FUlPCcPCc
/* 801A832C 001A528C 7C 60 1B 79 */ or. r0, r3, r3
/* 801A8330 001A5290 41 82 00 40 */ beq lbl_801A8370
/* 801A8334 001A5294 A0 9F 00 10 */ lhz r4, 0x10(r31)
/* 801A8338 001A5298 7E 27 8B 78 */ mr r7, r17
/* 801A833C 001A529C 80 DB 00 00 */ lwz r6, 0(r27)
/* 801A8340 001A52A0 7D E8 7B 78 */ mr r8, r15
/* 801A8344 001A52A4 A0 01 00 84 */ lhz r0, 0x84(r1)
/* 801A8348 001A52A8 7F 89 E3 78 */ mr r9, r28
/* 801A834C 001A52AC B0 81 00 40 */ sth r4, 0x40(r1)
/* 801A8350 001A52B0 38 81 00 3C */ addi r4, r1, 0x3c
/* 801A8354 001A52B4 C0 21 05 30 */ lfs f1, 0x530(r1)
/* 801A8358 001A52B8 38 A1 00 98 */ addi r5, r1, 0x98
/* 801A835C 001A52BC 90 C1 00 98 */ stw r6, 0x98(r1)
/* 801A8360 001A52C0 38 C1 00 40 */ addi r6, r1, 0x40
/* 801A8364 001A52C4 B0 01 00 3C */ sth r0, 0x3c(r1)
/* 801A8368 001A52C8 48 00 1A 41 */ bl __ct__15CCollisionActorF9TUniqueIdCRi9TUniqueIdRC9CVector3fRC9CVector3fbf
/* 801A836C 001A52CC 7C 60 1B 78 */ mr r0, r3
lbl_801A8370:
/* 801A8370 001A52D0 7C 13 03 78 */ mr r19, r0
/* 801A8374 001A52D4 48 00 00 5C */ b lbl_801A83D0
lbl_801A8378:
/* 801A8378 001A52D8 3C 80 80 3D */ lis r4, lbl_803D1498@ha
/* 801A837C 001A52DC 38 60 03 10 */ li r3, 0x310
/* 801A8380 001A52E0 38 84 14 98 */ addi r4, r4, lbl_803D1498@l
/* 801A8384 001A52E4 38 A0 00 00 */ li r5, 0
/* 801A8388 001A52E8 48 16 D4 E5 */ bl __nw__FUlPCcPCc
/* 801A838C 001A52EC 7C 60 1B 79 */ or. r0, r3, r3
/* 801A8390 001A52F0 41 82 00 3C */ beq lbl_801A83CC
/* 801A8394 001A52F4 A0 BF 00 10 */ lhz r5, 0x10(r31)
/* 801A8398 001A52F8 7E 27 8B 78 */ mr r7, r17
/* 801A839C 001A52FC 81 3B 00 00 */ lwz r9, 0(r27)
/* 801A83A0 001A5300 7F 88 E3 78 */ mr r8, r28
/* 801A83A4 001A5304 A0 01 00 84 */ lhz r0, 0x84(r1)
/* 801A83A8 001A5308 38 81 00 34 */ addi r4, r1, 0x34
/* 801A83AC 001A530C B0 A1 00 38 */ sth r5, 0x38(r1)
/* 801A83B0 001A5310 38 A1 00 94 */ addi r5, r1, 0x94
/* 801A83B4 001A5314 C0 21 05 30 */ lfs f1, 0x530(r1)
/* 801A83B8 001A5318 38 C1 00 38 */ addi r6, r1, 0x38
/* 801A83BC 001A531C 91 21 00 94 */ stw r9, 0x94(r1)
/* 801A83C0 001A5320 B0 01 00 34 */ sth r0, 0x34(r1)
/* 801A83C4 001A5324 48 00 15 11 */ bl __ct__15CCollisionActorF9TUniqueId9TUniqueIdRC9CVector3fRC9CVector3fbf
/* 801A83C8 001A5328 7C 60 1B 78 */ mr r0, r3
lbl_801A83CC:
/* 801A83CC 001A532C 7C 13 03 78 */ mr r19, r0
lbl_801A83D0:
/* 801A83D0 001A5330 38 73 00 34 */ addi r3, r19, 0x34
/* 801A83D4 001A5334 38 81 03 D8 */ addi r4, r1, 0x3d8
/* 801A83D8 001A5338 48 16 A7 69 */ bl __as__12CTransform4fFRC12CTransform4f
/* 801A83DC 001A533C 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A83E0 001A5340 38 A0 00 01 */ li r5, 1
/* 801A83E4 001A5344 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b
/* 801A83E8 001A5348 7F C3 F3 78 */ mr r3, r30
/* 801A83EC 001A534C 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A83F0 001A5350 7E 64 9B 78 */ mr r4, r19
/* 801A83F4 001A5354 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A83F8 001A5358 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c
/* 801A83FC 001A535C 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A8400 001A5360 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 801A8404 001A5364 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d
/* 801A8408 001A5368 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 801A840C 001A536C 4B EA 47 09 */ bl AddObject__13CStateManagerFR7CEntity
/* 801A8410 001A5370 7F E3 FB 78 */ mr r3, r31
/* 801A8414 001A5374 7F A4 EB 78 */ mr r4, r29
/* 801A8418 001A5378 4B FA DE 19 */ bl sub_80156230
/* 801A841C 001A537C 80 1F 00 04 */ lwz r0, 4(r31)
/* 801A8420 001A5380 A0 81 00 84 */ lhz r4, 0x84(r1)
/* 801A8424 001A5384 1C 00 00 44 */ mulli r0, r0, 0x44
/* 801A8428 001A5388 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 801A842C 001A538C B0 81 00 30 */ sth r4, 0x30(r1)
/* 801A8430 001A5390 7C 63 02 14 */ add r3, r3, r0
/* 801A8434 001A5394 B0 83 FF F8 */ sth r4, -8(r3)
lbl_801A8438:
/* 801A8438 001A5398 28 19 00 00 */ cmplwi r25, 0
/* 801A843C 001A539C 41 82 00 0C */ beq lbl_801A8448
/* 801A8440 001A53A0 7F 23 CB 78 */ mr r3, r25
/* 801A8444 001A53A4 48 19 56 9D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_801A8448:
/* 801A8448 001A53A8 3B BD 00 44 */ addi r29, r29, 0x44
lbl_801A844C:
/* 801A844C 001A53AC 80 14 00 04 */ lwz r0, 4(r20)
/* 801A8450 001A53B0 80 74 00 0C */ lwz r3, 0xc(r20)
/* 801A8454 001A53B4 1C 00 00 44 */ mulli r0, r0, 0x44
/* 801A8458 001A53B8 7C 03 02 14 */ add r0, r3, r0
/* 801A845C 001A53BC 7C 1D 00 40 */ cmplw r29, r0
/* 801A8460 001A53C0 40 82 F5 D0 */ bne lbl_801A7A30
lbl_801A8464:
/* 801A8464 001A53C4 7F E3 FB 78 */ mr r3, r31
/* 801A8468 001A53C8 E3 E1 05 B8 */ psq_l f31, 1464(r1), 0, qr0
/* 801A846C 001A53CC CB E1 05 B0 */ lfd f31, 0x5b0(r1)
/* 801A8470 001A53D0 E3 C1 05 A8 */ psq_l f30, 1448(r1), 0, qr0
/* 801A8474 001A53D4 CB C1 05 A0 */ lfd f30, 0x5a0(r1)
/* 801A8478 001A53D8 E3 A1 05 98 */ psq_l f29, 1432(r1), 0, qr0
/* 801A847C 001A53DC CB A1 05 90 */ lfd f29, 0x590(r1)
/* 801A8480 001A53E0 B9 E1 05 4C */ lmw r15, 0x54c(r1)
/* 801A8484 001A53E4 80 01 05 C4 */ lwz r0, 0x5c4(r1)
/* 801A8488 001A53E8 7C 08 03 A6 */ mtlr r0
/* 801A848C 001A53EC 38 21 05 C0 */ addi r1, r1, 0x5c0
2022-07-14 05:48:03 +00:00
/* 801A8490 001A53F0 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global ScaleAllBounds__26CJointCollisionDescriptionFRC9CVector3f
ScaleAllBounds__26CJointCollisionDescriptionFRC9CVector3f:
/* 801A8494 001A53F4 C0 24 00 00 */ lfs f1, 0(r4)
/* 801A8498 001A53F8 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 801A849C 001A53FC C0 64 00 04 */ lfs f3, 4(r4)
/* 801A84A0 001A5400 C0 43 00 10 */ lfs f2, 0x10(r3)
/* 801A84A4 001A5404 EC 01 00 32 */ fmuls f0, f1, f0
/* 801A84A8 001A5408 C0 84 00 08 */ lfs f4, 8(r4)
/* 801A84AC 001A540C C0 23 00 14 */ lfs f1, 0x14(r3)
/* 801A84B0 001A5410 EC 43 00 B2 */ fmuls f2, f3, f2
/* 801A84B4 001A5414 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 801A84B8 001A5418 EC 04 00 72 */ fmuls f0, f4, f1
/* 801A84BC 001A541C D0 43 00 10 */ stfs f2, 0x10(r3)
/* 801A84C0 001A5420 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 801A84C4 001A5424 C0 23 00 24 */ lfs f1, 0x24(r3)
/* 801A84C8 001A5428 C0 04 00 00 */ lfs f0, 0(r4)
/* 801A84CC 001A542C EC 01 00 32 */ fmuls f0, f1, f0
/* 801A84D0 001A5430 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 801A84D4 001A5434 C0 23 00 28 */ lfs f1, 0x28(r3)
/* 801A84D8 001A5438 C0 04 00 00 */ lfs f0, 0(r4)
/* 801A84DC 001A543C EC 01 00 32 */ fmuls f0, f1, f0
/* 801A84E0 001A5440 D0 03 00 28 */ stfs f0, 0x28(r3)
/* 801A84E4 001A5444 C0 24 00 00 */ lfs f1, 0(r4)
/* 801A84E8 001A5448 C0 03 00 18 */ lfs f0, 0x18(r3)
/* 801A84EC 001A544C C0 64 00 04 */ lfs f3, 4(r4)
/* 801A84F0 001A5450 C0 43 00 1C */ lfs f2, 0x1c(r3)
/* 801A84F4 001A5454 EC 01 00 32 */ fmuls f0, f1, f0
/* 801A84F8 001A5458 C0 84 00 08 */ lfs f4, 8(r4)
/* 801A84FC 001A545C C0 23 00 20 */ lfs f1, 0x20(r3)
/* 801A8500 001A5460 EC 43 00 B2 */ fmuls f2, f3, f2
/* 801A8504 001A5464 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 801A8508 001A5468 EC 04 00 72 */ fmuls f0, f4, f1
/* 801A850C 001A546C D0 43 00 1C */ stfs f2, 0x1c(r3)
/* 801A8510 001A5470 D0 03 00 20 */ stfs f0, 0x20(r3)
2022-07-14 05:48:03 +00:00
/* 801A8514 001A5474 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global "OBBCollision__26CJointCollisionDescriptionF6CSegIdRC9CVector3fRC9CVector3fRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>f"
"OBBCollision__26CJointCollisionDescriptionF6CSegIdRC9CVector3fRC9CVector3fRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>f":
/* 801A8518 001A5478 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801A851C 001A547C 7C 08 02 A6 */ mflr r0
/* 801A8520 001A5480 90 01 00 34 */ stw r0, 0x34(r1)
/* 801A8524 001A5484 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 801A8528 001A5488 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 801A852C 001A548C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801A8530 001A5490 89 04 00 00 */ lbz r8, 0(r4)
/* 801A8534 001A5494 39 20 00 FF */ li r9, 0xff
/* 801A8538 001A5498 38 00 00 04 */ li r0, 4
/* 801A853C 001A549C 7C 7F 1B 78 */ mr r31, r3
/* 801A8540 001A54A0 90 03 00 00 */ stw r0, 0(r3)
/* 801A8544 001A54A4 38 00 00 00 */ li r0, 0
/* 801A8548 001A54A8 FF E0 08 90 */ fmr f31, f1
/* 801A854C 001A54AC C0 02 A7 F8 */ lfs f0, lbl_805AC518@sda21(r2)
/* 801A8550 001A54B0 90 03 00 04 */ stw r0, 4(r3)
/* 801A8554 001A54B4 7C E4 3B 78 */ mr r4, r7
/* 801A8558 001A54B8 38 7F 00 2C */ addi r3, r31, 0x2c
/* 801A855C 001A54BC 99 1F 00 08 */ stb r8, 8(r31)
/* 801A8560 001A54C0 99 3F 00 09 */ stb r9, 9(r31)
/* 801A8564 001A54C4 C0 25 00 00 */ lfs f1, 0(r5)
/* 801A8568 001A54C8 99 21 00 08 */ stb r9, 8(r1)
/* 801A856C 001A54CC D0 3F 00 0C */ stfs f1, 0xc(r31)
/* 801A8570 001A54D0 C0 25 00 04 */ lfs f1, 4(r5)
/* 801A8574 001A54D4 99 21 00 0C */ stb r9, 0xc(r1)
/* 801A8578 001A54D8 D0 3F 00 10 */ stfs f1, 0x10(r31)
/* 801A857C 001A54DC C0 25 00 08 */ lfs f1, 8(r5)
/* 801A8580 001A54E0 99 01 00 10 */ stb r8, 0x10(r1)
/* 801A8584 001A54E4 D0 3F 00 14 */ stfs f1, 0x14(r31)
/* 801A8588 001A54E8 C0 26 00 00 */ lfs f1, 0(r6)
/* 801A858C 001A54EC D0 3F 00 18 */ stfs f1, 0x18(r31)
/* 801A8590 001A54F0 C0 26 00 04 */ lfs f1, 4(r6)
/* 801A8594 001A54F4 D0 3F 00 1C */ stfs f1, 0x1c(r31)
/* 801A8598 001A54F8 C0 26 00 08 */ lfs f1, 8(r6)
/* 801A859C 001A54FC D0 3F 00 20 */ stfs f1, 0x20(r31)
/* 801A85A0 001A5500 D0 1F 00 24 */ stfs f0, 0x24(r31)
/* 801A85A4 001A5504 D0 1F 00 28 */ stfs f0, 0x28(r31)
/* 801A85A8 001A5508 48 19 5B B9 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
2022-04-24 01:54:45 +00:00
/* 801A85AC 001A550C A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-14 08:02:42 +00:00
/* 801A85B0 001A5510 B0 1F 00 3C */ sth r0, 0x3c(r31)
/* 801A85B4 001A5514 D3 FF 00 40 */ stfs f31, 0x40(r31)
/* 801A85B8 001A5518 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 801A85BC 001A551C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801A85C0 001A5520 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 801A85C4 001A5524 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801A85C8 001A5528 7C 08 03 A6 */ mtlr r0
/* 801A85CC 001A552C 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 801A85D0 001A5530 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global "OBBAutoSizeCollision__26CJointCollisionDescriptionF6CSegId6CSegIdRC9CVector3fQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>f"
"OBBAutoSizeCollision__26CJointCollisionDescriptionF6CSegId6CSegIdRC9CVector3fQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>f":
/* 801A85D4 001A5534 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801A85D8 001A5538 7C 08 02 A6 */ mflr r0
/* 801A85DC 001A553C 90 01 00 34 */ stw r0, 0x34(r1)
/* 801A85E0 001A5540 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 801A85E4 001A5544 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 801A85E8 001A5548 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801A85EC 001A554C 89 24 00 00 */ lbz r9, 0(r4)
/* 801A85F0 001A5550 7C 7F 1B 78 */ mr r31, r3
/* 801A85F4 001A5554 89 45 00 00 */ lbz r10, 0(r5)
/* 801A85F8 001A5558 38 00 00 03 */ li r0, 3
/* 801A85FC 001A555C 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
2022-04-14 08:02:42 +00:00
/* 801A8600 001A5560 FF E0 08 90 */ fmr f31, f1
/* 801A8604 001A5564 90 1F 00 00 */ stw r0, 0(r31)
/* 801A8608 001A5568 38 A3 66 A0 */ addi r5, r3, sZeroVector__9CVector3f@l
2022-04-14 08:02:42 +00:00
/* 801A860C 001A556C C0 02 A7 F8 */ lfs f0, lbl_805AC518@sda21(r2)
/* 801A8610 001A5570 7D 04 43 78 */ mr r4, r8
/* 801A8614 001A5574 90 FF 00 04 */ stw r7, 4(r31)
/* 801A8618 001A5578 38 7F 00 2C */ addi r3, r31, 0x2c
/* 801A861C 001A557C 99 3F 00 08 */ stb r9, 8(r31)
/* 801A8620 001A5580 99 5F 00 09 */ stb r10, 9(r31)
/* 801A8624 001A5584 C0 26 00 00 */ lfs f1, 0(r6)
/* 801A8628 001A5588 99 41 00 08 */ stb r10, 8(r1)
/* 801A862C 001A558C D0 3F 00 0C */ stfs f1, 0xc(r31)
/* 801A8630 001A5590 C0 26 00 04 */ lfs f1, 4(r6)
/* 801A8634 001A5594 99 21 00 0C */ stb r9, 0xc(r1)
/* 801A8638 001A5598 D0 3F 00 10 */ stfs f1, 0x10(r31)
/* 801A863C 001A559C C0 26 00 08 */ lfs f1, 8(r6)
/* 801A8640 001A55A0 D0 3F 00 14 */ stfs f1, 0x14(r31)
/* 801A8644 001A55A4 C0 25 00 00 */ lfs f1, 0(r5)
/* 801A8648 001A55A8 D0 3F 00 18 */ stfs f1, 0x18(r31)
/* 801A864C 001A55AC C0 25 00 04 */ lfs f1, 4(r5)
/* 801A8650 001A55B0 D0 3F 00 1C */ stfs f1, 0x1c(r31)
/* 801A8654 001A55B4 C0 25 00 08 */ lfs f1, 8(r5)
/* 801A8658 001A55B8 D0 3F 00 20 */ stfs f1, 0x20(r31)
/* 801A865C 001A55BC D0 1F 00 24 */ stfs f0, 0x24(r31)
/* 801A8660 001A55C0 D0 1F 00 28 */ stfs f0, 0x28(r31)
/* 801A8664 001A55C4 48 19 5A FD */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
2022-04-24 01:54:45 +00:00
/* 801A8668 001A55C8 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-14 08:02:42 +00:00
/* 801A866C 001A55CC B0 1F 00 3C */ sth r0, 0x3c(r31)
/* 801A8670 001A55D0 D3 FF 00 40 */ stfs f31, 0x40(r31)
/* 801A8674 001A55D4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 801A8678 001A55D8 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801A867C 001A55DC CB E1 00 20 */ lfd f31, 0x20(r1)
/* 801A8680 001A55E0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801A8684 001A55E4 7C 08 03 A6 */ mtlr r0
/* 801A8688 001A55E8 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 801A868C 001A55EC 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global "AABoxCollision__26CJointCollisionDescriptionF6CSegIdRC9CVector3fRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>f"
"AABoxCollision__26CJointCollisionDescriptionF6CSegIdRC9CVector3fRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>f":
/* 801A8690 001A55F0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801A8694 001A55F4 7C 08 02 A6 */ mflr r0
/* 801A8698 001A55F8 90 01 00 34 */ stw r0, 0x34(r1)
/* 801A869C 001A55FC DB E1 00 20 */ stfd f31, 0x20(r1)
/* 801A86A0 001A5600 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 801A86A4 001A5604 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801A86A8 001A5608 89 04 00 00 */ lbz r8, 0(r4)
/* 801A86AC 001A560C 39 20 00 FF */ li r9, 0xff
/* 801A86B0 001A5610 38 00 00 02 */ li r0, 2
/* 801A86B4 001A5614 7C 7F 1B 78 */ mr r31, r3
/* 801A86B8 001A5618 90 03 00 00 */ stw r0, 0(r3)
/* 801A86BC 001A561C 38 00 00 00 */ li r0, 0
/* 801A86C0 001A5620 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
2022-04-14 08:02:42 +00:00
/* 801A86C4 001A5624 FF E0 08 90 */ fmr f31, f1
/* 801A86C8 001A5628 90 1F 00 04 */ stw r0, 4(r31)
/* 801A86CC 001A562C 38 E3 66 A0 */ addi r7, r3, sZeroVector__9CVector3f@l
2022-04-14 08:02:42 +00:00
/* 801A86D0 001A5630 C0 02 A7 F8 */ lfs f0, lbl_805AC518@sda21(r2)
/* 801A86D4 001A5634 7C C4 33 78 */ mr r4, r6
/* 801A86D8 001A5638 99 1F 00 08 */ stb r8, 8(r31)
/* 801A86DC 001A563C 38 7F 00 2C */ addi r3, r31, 0x2c
/* 801A86E0 001A5640 99 3F 00 09 */ stb r9, 9(r31)
/* 801A86E4 001A5644 C0 25 00 00 */ lfs f1, 0(r5)
/* 801A86E8 001A5648 99 21 00 08 */ stb r9, 8(r1)
/* 801A86EC 001A564C D0 3F 00 0C */ stfs f1, 0xc(r31)
/* 801A86F0 001A5650 C0 25 00 04 */ lfs f1, 4(r5)
/* 801A86F4 001A5654 99 21 00 0C */ stb r9, 0xc(r1)
/* 801A86F8 001A5658 D0 3F 00 10 */ stfs f1, 0x10(r31)
/* 801A86FC 001A565C C0 25 00 08 */ lfs f1, 8(r5)
/* 801A8700 001A5660 99 01 00 10 */ stb r8, 0x10(r1)
/* 801A8704 001A5664 D0 3F 00 14 */ stfs f1, 0x14(r31)
/* 801A8708 001A5668 C0 27 00 00 */ lfs f1, 0(r7)
/* 801A870C 001A566C D0 3F 00 18 */ stfs f1, 0x18(r31)
/* 801A8710 001A5670 C0 27 00 04 */ lfs f1, 4(r7)
/* 801A8714 001A5674 D0 3F 00 1C */ stfs f1, 0x1c(r31)
/* 801A8718 001A5678 C0 27 00 08 */ lfs f1, 8(r7)
/* 801A871C 001A567C D0 3F 00 20 */ stfs f1, 0x20(r31)
/* 801A8720 001A5680 D0 1F 00 24 */ stfs f0, 0x24(r31)
/* 801A8724 001A5684 D0 1F 00 28 */ stfs f0, 0x28(r31)
/* 801A8728 001A5688 48 19 5A 39 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
2022-04-24 01:54:45 +00:00
/* 801A872C 001A568C A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-14 08:02:42 +00:00
/* 801A8730 001A5690 B0 1F 00 3C */ sth r0, 0x3c(r31)
/* 801A8734 001A5694 D3 FF 00 40 */ stfs f31, 0x40(r31)
/* 801A8738 001A5698 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 801A873C 001A569C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801A8740 001A56A0 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 801A8744 001A56A4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801A8748 001A56A8 7C 08 03 A6 */ mtlr r0
/* 801A874C 001A56AC 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 801A8750 001A56B0 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global "SphereSubdivideCollision__26CJointCollisionDescriptionF6CSegId6CSegIdffQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>f"
"SphereSubdivideCollision__26CJointCollisionDescriptionF6CSegId6CSegIdffQ226CJointCollisionDescription16EOrientationTypeRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>f":
/* 801A8754 001A56B4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801A8758 001A56B8 7C 08 02 A6 */ mflr r0
/* 801A875C 001A56BC 90 01 00 34 */ stw r0, 0x34(r1)
/* 801A8760 001A56C0 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 801A8764 001A56C4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 801A8768 001A56C8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801A876C 001A56CC 89 04 00 00 */ lbz r8, 0(r4)
/* 801A8770 001A56D0 7C 7F 1B 78 */ mr r31, r3
/* 801A8774 001A56D4 89 25 00 00 */ lbz r9, 0(r5)
/* 801A8778 001A56D8 38 00 00 01 */ li r0, 1
/* 801A877C 001A56DC 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
2022-04-14 08:02:42 +00:00
/* 801A8780 001A56E0 FF E0 18 90 */ fmr f31, f3
/* 801A8784 001A56E4 90 1F 00 00 */ stw r0, 0(r31)
/* 801A8788 001A56E8 38 A3 66 A0 */ addi r5, r3, sZeroVector__9CVector3f@l
2022-04-14 08:02:42 +00:00
/* 801A878C 001A56EC 7C E4 3B 78 */ mr r4, r7
/* 801A8790 001A56F0 38 7F 00 2C */ addi r3, r31, 0x2c
/* 801A8794 001A56F4 90 DF 00 04 */ stw r6, 4(r31)
/* 801A8798 001A56F8 99 1F 00 08 */ stb r8, 8(r31)
/* 801A879C 001A56FC 99 3F 00 09 */ stb r9, 9(r31)
/* 801A87A0 001A5700 C0 05 00 00 */ lfs f0, 0(r5)
/* 801A87A4 001A5704 99 21 00 08 */ stb r9, 8(r1)
/* 801A87A8 001A5708 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 801A87AC 001A570C C0 05 00 04 */ lfs f0, 4(r5)
/* 801A87B0 001A5710 99 01 00 0C */ stb r8, 0xc(r1)
/* 801A87B4 001A5714 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 801A87B8 001A5718 C0 05 00 08 */ lfs f0, 8(r5)
/* 801A87BC 001A571C D0 1F 00 14 */ stfs f0, 0x14(r31)
/* 801A87C0 001A5720 C0 05 00 00 */ lfs f0, 0(r5)
/* 801A87C4 001A5724 D0 1F 00 18 */ stfs f0, 0x18(r31)
/* 801A87C8 001A5728 C0 05 00 04 */ lfs f0, 4(r5)
/* 801A87CC 001A572C D0 1F 00 1C */ stfs f0, 0x1c(r31)
/* 801A87D0 001A5730 C0 05 00 08 */ lfs f0, 8(r5)
/* 801A87D4 001A5734 D0 1F 00 20 */ stfs f0, 0x20(r31)
/* 801A87D8 001A5738 D0 3F 00 24 */ stfs f1, 0x24(r31)
/* 801A87DC 001A573C D0 5F 00 28 */ stfs f2, 0x28(r31)
/* 801A87E0 001A5740 48 19 59 81 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
2022-04-24 01:54:45 +00:00
/* 801A87E4 001A5744 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-14 08:02:42 +00:00
/* 801A87E8 001A5748 B0 1F 00 3C */ sth r0, 0x3c(r31)
/* 801A87EC 001A574C D3 FF 00 40 */ stfs f31, 0x40(r31)
/* 801A87F0 001A5750 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 801A87F4 001A5754 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801A87F8 001A5758 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 801A87FC 001A575C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801A8800 001A5760 7C 08 03 A6 */ mtlr r0
/* 801A8804 001A5764 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 801A8808 001A5768 4E 80 00 20 */ blr
2022-04-14 08:02:42 +00:00
.global "SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>f"
"SphereCollision__26CJointCollisionDescriptionF6CSegIdfRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>f":
/* 801A880C 001A576C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801A8810 001A5770 7C 08 02 A6 */ mflr r0
/* 801A8814 001A5774 90 01 00 34 */ stw r0, 0x34(r1)
/* 801A8818 001A5778 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 801A881C 001A577C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 801A8820 001A5780 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801A8824 001A5784 88 E4 00 00 */ lbz r7, 0(r4)
/* 801A8828 001A5788 39 00 00 FF */ li r8, 0xff
/* 801A882C 001A578C 38 00 00 00 */ li r0, 0
/* 801A8830 001A5790 7C 7F 1B 78 */ mr r31, r3
/* 801A8834 001A5794 90 03 00 00 */ stw r0, 0(r3)
/* 801A8838 001A5798 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 801A883C 001A579C 38 C3 66 A0 */ addi r6, r3, sZeroVector__9CVector3f@l
2022-04-14 08:02:42 +00:00
/* 801A8840 001A57A0 FF E0 10 90 */ fmr f31, f2
/* 801A8844 001A57A4 90 1F 00 04 */ stw r0, 4(r31)
/* 801A8848 001A57A8 7C A4 2B 78 */ mr r4, r5
/* 801A884C 001A57AC C0 02 A7 F8 */ lfs f0, lbl_805AC518@sda21(r2)
/* 801A8850 001A57B0 38 7F 00 2C */ addi r3, r31, 0x2c
/* 801A8854 001A57B4 98 FF 00 08 */ stb r7, 8(r31)
/* 801A8858 001A57B8 99 1F 00 09 */ stb r8, 9(r31)
/* 801A885C 001A57BC C0 46 00 00 */ lfs f2, 0(r6)
/* 801A8860 001A57C0 99 01 00 08 */ stb r8, 8(r1)
/* 801A8864 001A57C4 D0 5F 00 0C */ stfs f2, 0xc(r31)
/* 801A8868 001A57C8 C0 46 00 04 */ lfs f2, 4(r6)
/* 801A886C 001A57CC 99 01 00 0C */ stb r8, 0xc(r1)
/* 801A8870 001A57D0 D0 5F 00 10 */ stfs f2, 0x10(r31)
/* 801A8874 001A57D4 C0 46 00 08 */ lfs f2, 8(r6)
/* 801A8878 001A57D8 98 E1 00 10 */ stb r7, 0x10(r1)
/* 801A887C 001A57DC D0 5F 00 14 */ stfs f2, 0x14(r31)
/* 801A8880 001A57E0 C0 46 00 00 */ lfs f2, 0(r6)
/* 801A8884 001A57E4 D0 5F 00 18 */ stfs f2, 0x18(r31)
/* 801A8888 001A57E8 C0 46 00 04 */ lfs f2, 4(r6)
/* 801A888C 001A57EC D0 5F 00 1C */ stfs f2, 0x1c(r31)
/* 801A8890 001A57F0 C0 46 00 08 */ lfs f2, 8(r6)
/* 801A8894 001A57F4 D0 5F 00 20 */ stfs f2, 0x20(r31)
/* 801A8898 001A57F8 D0 3F 00 24 */ stfs f1, 0x24(r31)
/* 801A889C 001A57FC D0 1F 00 28 */ stfs f0, 0x28(r31)
/* 801A88A0 001A5800 48 19 58 C1 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
2022-04-24 01:54:45 +00:00
/* 801A88A4 001A5804 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
2022-04-14 08:02:42 +00:00
/* 801A88A8 001A5808 B0 1F 00 3C */ sth r0, 0x3c(r31)
/* 801A88AC 001A580C D3 FF 00 40 */ stfs f31, 0x40(r31)
/* 801A88B0 001A5810 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 801A88B4 001A5814 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801A88B8 001A5818 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 801A88BC 001A581C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801A88C0 001A5820 7C 08 03 A6 */ mtlr r0
/* 801A88C4 001A5824 38 21 00 30 */ addi r1, r1, 0x30
2022-07-14 05:48:03 +00:00
/* 801A88C8 001A5828 4E 80 00 20 */ blr
2022-07-18 05:20:04 +00:00
.section .sdata2, "a"
.balign 8
2022-07-18 05:20:04 +00:00
.global lbl_805AC518
lbl_805AC518:
# ROM: 0x3F8DB8
.4byte 0
.global lbl_805AC51C
lbl_805AC51C:
# ROM: 0x3F8DBC
.float 1.1920929E-7
.global lbl_805AC520
lbl_805AC520:
# ROM: 0x3F8DC0
.float 0.5
.global lbl_805AC524
lbl_805AC524:
# ROM: 0x3F8DC4
.float 1.0
.global lbl_805AC528
lbl_805AC528:
# ROM: 0x3F8DC8
.4byte 0x3EE90000
.4byte 0
.global lbl_805AC530
lbl_805AC530:
# ROM: 0x3F8DD0
.float 0.001
.4byte 0
.global lbl_805AC538
lbl_805AC538:
# ROM: 0x3F8DD8
.4byte 0x43300000
.4byte 0
2022-07-18 05:21:27 +00:00
.section .rodata
.balign 8
2022-07-18 05:21:27 +00:00
.global lbl_803D1498
lbl_803D1498:
# ROM: 0x3CE498
.asciz "??(??)"
.balign 4