Start reorganizing source code

Former-commit-id: da684dbef6
This commit is contained in:
Phillip Stephens 2022-04-12 21:45:24 -07:00
parent b2752ec346
commit 02e2548d7c
33 changed files with 7208 additions and 527 deletions

View File

@ -42,503 +42,3 @@ __ct__28CArchMsgParmControllerStatusFsb:
/* 8005A108 00057068 98 A3 00 06 */ stb r5, 6(r3)
/* 8005A10C 0005706C 4E 80 00 20 */ blr
.global Render__10CExplosionCFRC13CStateManager
Render__10CExplosionCFRC13CStateManager:
/* 8005A110 00057070 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8005A114 00057074 7C 08 02 A6 */ mflr r0
/* 8005A118 00057078 90 01 00 24 */ stw r0, 0x24(r1)
/* 8005A11C 0005707C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8005A120 00057080 7C 9F 23 78 */ mr r31, r4
/* 8005A124 00057084 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8005A128 00057088 7C 7E 1B 78 */ mr r30, r3
/* 8005A12C 0005708C 80 04 0F 34 */ lwz r0, 0xf34(r4)
/* 8005A130 00057090 2C 00 00 00 */ cmpwi r0, 0
/* 8005A134 00057094 40 82 00 48 */ bne lbl_8005A17C
/* 8005A138 00057098 88 1E 00 F4 */ lbz r0, 0xf4(r30)
/* 8005A13C 0005709C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8005A140 000570A0 41 82 00 3C */ beq lbl_8005A17C
/* 8005A144 000570A4 38 00 00 01 */ li r0, 1
/* 8005A148 000570A8 38 60 00 01 */ li r3, 1
/* 8005A14C 000570AC 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13)
/* 8005A150 000570B0 48 2E B6 99 */ bl SetRenderModelBlack__10CCubeModelFb
/* 8005A154 000570B4 80 7E 00 E8 */ lwz r3, 0xe8(r30)
/* 8005A158 000570B8 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A15C 000570BC 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8005A160 000570C0 7D 89 03 A6 */ mtctr r12
/* 8005A164 000570C4 4E 80 04 21 */ bctrl
/* 8005A168 000570C8 38 60 00 00 */ li r3, 0
/* 8005A16C 000570CC 48 2E B6 7D */ bl SetRenderModelBlack__10CCubeModelFb
/* 8005A170 000570D0 38 00 00 00 */ li r0, 0
/* 8005A174 000570D4 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13)
/* 8005A178 000570D8 48 00 00 64 */ b lbl_8005A1DC
lbl_8005A17C:
/* 8005A17C 000570DC 88 1E 00 F4 */ lbz r0, 0xf4(r30)
/* 8005A180 000570E0 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f
/* 8005A184 000570E4 7C 00 00 34 */ cntlzw r0, r0
/* 8005A188 000570E8 54 00 D9 7E */ srwi r0, r0, 5
/* 8005A18C 000570EC 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13)
/* 8005A190 000570F0 48 2E FE 25 */ bl Black__6CColorFv
/* 8005A194 000570F4 C0 22 86 A8 */ lfs f1, lbl_805AA3C8@sda21(r2)
/* 8005A198 000570F8 7C 64 1B 78 */ mr r4, r3
/* 8005A19C 000570FC C0 42 86 AC */ lfs f2, lbl_805AA3CC@sda21(r2)
/* 8005A1A0 00057100 38 60 00 02 */ li r3, 2
/* 8005A1A4 00057104 48 2B 00 E5 */ bl SetFog__9CGraphicsF11ERglFogModeffRC6CColor
/* 8005A1A8 00057108 80 7E 00 E8 */ lwz r3, 0xe8(r30)
/* 8005A1AC 0005710C 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A1B0 00057110 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8005A1B4 00057114 7D 89 03 A6 */ mtctr r12
/* 8005A1B8 00057118 4E 80 04 21 */ bctrl
/* 8005A1BC 0005711C 80 1E 00 04 */ lwz r0, 4(r30)
/* 8005A1C0 00057120 7F E3 FB 78 */ mr r3, r31
/* 8005A1C4 00057124 38 81 00 0C */ addi r4, r1, 0xc
/* 8005A1C8 00057128 90 01 00 08 */ stw r0, 8(r1)
/* 8005A1CC 0005712C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8005A1D0 00057130 4B FE CB B1 */ bl SetupFogForArea__13CStateManagerCF7TAreaId
/* 8005A1D4 00057134 38 00 00 00 */ li r0, 0
/* 8005A1D8 00057138 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13)
lbl_8005A1DC:
/* 8005A1DC 0005713C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005A1E0 00057140 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8005A1E4 00057144 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8005A1E8 00057148 7C 08 03 A6 */ mtlr r0
/* 8005A1EC 0005714C 38 21 00 20 */ addi r1, r1, 0x20
/* 8005A1F0 00057150 4E 80 00 20 */ blr
.global CalculateRenderBounds__10CExplosionFv
CalculateRenderBounds__10CExplosionFv:
/* 8005A1F4 00057154 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8005A1F8 00057158 7C 08 02 A6 */ mflr r0
/* 8005A1FC 0005715C 90 01 00 74 */ stw r0, 0x74(r1)
/* 8005A200 00057160 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 8005A204 00057164 7C 7F 1B 78 */ mr r31, r3
/* 8005A208 00057168 38 61 00 2C */ addi r3, r1, 0x2c
/* 8005A20C 0005716C 80 9F 00 E8 */ lwz r4, 0xe8(r31)
/* 8005A210 00057170 81 84 00 00 */ lwz r12, 0(r4)
/* 8005A214 00057174 81 8C 00 5C */ lwz r12, 0x5c(r12)
/* 8005A218 00057178 7D 89 03 A6 */ mtctr r12
/* 8005A21C 0005717C 4E 80 04 21 */ bctrl
/* 8005A220 00057180 88 01 00 44 */ lbz r0, 0x44(r1)
/* 8005A224 00057184 28 00 00 00 */ cmplwi r0, 0
/* 8005A228 00057188 98 01 00 60 */ stb r0, 0x60(r1)
/* 8005A22C 0005718C 41 82 00 3C */ beq lbl_8005A268
/* 8005A230 00057190 34 61 00 48 */ addic. r3, r1, 0x48
/* 8005A234 00057194 41 82 00 34 */ beq lbl_8005A268
/* 8005A238 00057198 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 8005A23C 0005719C D0 03 00 00 */ stfs f0, 0(r3)
/* 8005A240 000571A0 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 8005A244 000571A4 D0 03 00 04 */ stfs f0, 4(r3)
/* 8005A248 000571A8 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 8005A24C 000571AC D0 03 00 08 */ stfs f0, 8(r3)
/* 8005A250 000571B0 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 8005A254 000571B4 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8005A258 000571B8 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 8005A25C 000571BC D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8005A260 000571C0 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 8005A264 000571C4 D0 03 00 14 */ stfs f0, 0x14(r3)
lbl_8005A268:
/* 8005A268 000571C8 88 01 00 60 */ lbz r0, 0x60(r1)
/* 8005A26C 000571CC 38 60 00 00 */ li r3, 0
/* 8005A270 000571D0 98 61 00 44 */ stb r3, 0x44(r1)
/* 8005A274 000571D4 28 00 00 00 */ cmplwi r0, 0
/* 8005A278 000571D8 41 82 00 48 */ beq lbl_8005A2C0
/* 8005A27C 000571DC 80 81 00 48 */ lwz r4, 0x48(r1)
/* 8005A280 000571E0 38 60 00 01 */ li r3, 1
/* 8005A284 000571E4 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 8005A288 000571E8 90 9F 00 9C */ stw r4, 0x9c(r31)
/* 8005A28C 000571EC 80 81 00 50 */ lwz r4, 0x50(r1)
/* 8005A290 000571F0 90 1F 00 A0 */ stw r0, 0xa0(r31)
/* 8005A294 000571F4 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8005A298 000571F8 90 9F 00 A4 */ stw r4, 0xa4(r31)
/* 8005A29C 000571FC 80 81 00 58 */ lwz r4, 0x58(r1)
/* 8005A2A0 00057200 90 1F 00 A8 */ stw r0, 0xa8(r31)
/* 8005A2A4 00057204 80 01 00 5C */ lwz r0, 0x5c(r1)
/* 8005A2A8 00057208 90 9F 00 AC */ stw r4, 0xac(r31)
/* 8005A2AC 0005720C 90 1F 00 B0 */ stw r0, 0xb0(r31)
/* 8005A2B0 00057210 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 8005A2B4 00057214 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8005A2B8 00057218 98 1F 00 F4 */ stb r0, 0xf4(r31)
/* 8005A2BC 0005721C 48 00 00 68 */ b lbl_8005A324
lbl_8005A2C0:
/* 8005A2C0 00057220 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 8005A2C4 00057224 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8005A2C8 00057228 38 81 00 08 */ addi r4, r1, 8
/* 8005A2CC 0005722C 38 61 00 14 */ addi r3, r1, 0x14
/* 8005A2D0 00057230 98 1F 00 F4 */ stb r0, 0xf4(r31)
/* 8005A2D4 00057234 7C 85 23 78 */ mr r5, r4
/* 8005A2D8 00057238 C0 5F 00 60 */ lfs f2, 0x60(r31)
/* 8005A2DC 0005723C C0 3F 00 50 */ lfs f1, 0x50(r31)
/* 8005A2E0 00057240 C0 1F 00 40 */ lfs f0, 0x40(r31)
/* 8005A2E4 00057244 D0 01 00 08 */ stfs f0, 8(r1)
/* 8005A2E8 00057248 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8005A2EC 0005724C D0 41 00 10 */ stfs f2, 0x10(r1)
/* 8005A2F0 00057250 48 2D E2 19 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8005A2F4 00057254 80 61 00 14 */ lwz r3, 0x14(r1)
/* 8005A2F8 00057258 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8005A2FC 0005725C 90 7F 00 9C */ stw r3, 0x9c(r31)
/* 8005A300 00057260 90 1F 00 A0 */ stw r0, 0xa0(r31)
/* 8005A304 00057264 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8005A308 00057268 90 1F 00 A4 */ stw r0, 0xa4(r31)
/* 8005A30C 0005726C 80 61 00 20 */ lwz r3, 0x20(r1)
/* 8005A310 00057270 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005A314 00057274 90 7F 00 A8 */ stw r3, 0xa8(r31)
/* 8005A318 00057278 90 1F 00 AC */ stw r0, 0xac(r31)
/* 8005A31C 0005727C 80 01 00 28 */ lwz r0, 0x28(r1)
/* 8005A320 00057280 90 1F 00 B0 */ stw r0, 0xb0(r31)
lbl_8005A324:
/* 8005A324 00057284 38 00 00 00 */ li r0, 0
/* 8005A328 00057288 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 8005A32C 0005728C 98 01 00 60 */ stb r0, 0x60(r1)
/* 8005A330 00057290 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8005A334 00057294 7C 08 03 A6 */ mtlr r0
/* 8005A338 00057298 38 21 00 70 */ addi r1, r1, 0x70
/* 8005A33C 0005729C 4E 80 00 20 */ blr
.global AcceptScriptMsg__10CExplosionF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__10CExplosionF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8005A340 000572A0 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 8005A344 000572A4 7C 08 02 A6 */ mflr r0
/* 8005A348 000572A8 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 8005A34C 000572AC BE E1 00 AC */ stmw r23, 0xac(r1)
/* 8005A350 000572B0 7C 9D 23 78 */ mr r29, r4
/* 8005A354 000572B4 2C 1D 00 22 */ cmpwi r29, 0x22
/* 8005A358 000572B8 7C 7C 1B 78 */ mr r28, r3
/* 8005A35C 000572BC 7C BE 2B 78 */ mr r30, r5
/* 8005A360 000572C0 7C DF 33 78 */ mr r31, r6
/* 8005A364 000572C4 41 82 01 44 */ beq lbl_8005A4A8
/* 8005A368 000572C8 40 80 01 6C */ bge lbl_8005A4D4
/* 8005A36C 000572CC 2C 1D 00 21 */ cmpwi r29, 0x21
/* 8005A370 000572D0 40 80 00 08 */ bge lbl_8005A378
/* 8005A374 000572D4 48 00 01 60 */ b lbl_8005A4D4
lbl_8005A378:
/* 8005A378 000572D8 80 7C 00 E8 */ lwz r3, 0xe8(r28)
/* 8005A37C 000572DC 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A380 000572E0 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 8005A384 000572E4 7D 89 03 A6 */ mtctr r12
/* 8005A388 000572E8 4E 80 04 21 */ bctrl
/* 8005A38C 000572EC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8005A390 000572F0 41 82 01 44 */ beq lbl_8005A4D4
/* 8005A394 000572F4 7F E4 FB 78 */ mr r4, r31
/* 8005A398 000572F8 38 61 00 2C */ addi r3, r1, 0x2c
/* 8005A39C 000572FC 4B FF 2D 41 */ bl AllocateUniqueId__13CStateManagerFv
/* 8005A3A0 00057300 A0 01 00 2C */ lhz r0, 0x2c(r1)
/* 8005A3A4 00057304 3C 60 80 3D */ lis r3, lbl_803CCF78@ha
/* 8005A3A8 00057308 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l
/* 8005A3AC 0005730C 3B 60 00 00 */ li r27, 0
/* 8005A3B0 00057310 B0 1C 00 EC */ sth r0, 0xec(r28)
/* 8005A3B4 00057314 3A E0 00 00 */ li r23, 0
/* 8005A3B8 00057318 38 60 01 48 */ li r3, 0x148
/* 8005A3BC 0005731C 38 A0 00 00 */ li r5, 0
/* 8005A3C0 00057320 83 1C 00 F0 */ lwz r24, 0xf0(r28)
/* 8005A3C4 00057324 48 2B B4 A9 */ bl __nw__FUlPCcPCc
/* 8005A3C8 00057328 7C 7A 1B 79 */ or. r26, r3, r3
/* 8005A3CC 0005732C 41 82 00 AC */ beq lbl_8005A478
/* 8005A3D0 00057330 A0 1C 00 08 */ lhz r0, 8(r28)
/* 8005A3D4 00057334 3C 60 80 3D */ lis r3, lbl_803CCF78@ha
/* 8005A3D8 00057338 83 3C 00 E8 */ lwz r25, 0xe8(r28)
/* 8005A3DC 0005733C 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l
/* 8005A3E0 00057340 B0 01 00 24 */ sth r0, 0x24(r1)
/* 8005A3E4 00057344 38 61 00 48 */ addi r3, r1, 0x48
/* 8005A3E8 00057348 38 84 00 07 */ addi r4, r4, 7
/* 8005A3EC 0005734C B0 01 00 28 */ sth r0, 0x28(r1)
/* 8005A3F0 00057350 4B FA A8 C9 */ bl string_l__4rstlFPCc
/* 8005A3F4 00057354 38 61 00 38 */ addi r3, r1, 0x38
/* 8005A3F8 00057358 38 81 00 48 */ addi r4, r1, 0x48
/* 8005A3FC 0005735C 38 BC 00 10 */ addi r5, r28, 0x10
/* 8005A400 00057360 3B 60 00 01 */ li r27, 1
/* 8005A404 00057364 4B FA A8 59 */ bl "__pl__4rstlFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8005A408 00057368 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 8005A40C 0005736C 7F 24 CB 78 */ mr r4, r25
/* 8005A410 00057370 80 BC 00 04 */ lwz r5, 4(r28)
/* 8005A414 00057374 38 61 00 58 */ addi r3, r1, 0x58
/* 8005A418 00057378 54 19 CF FE */ rlwinm r25, r0, 0x19, 0x1f, 0x1f
/* 8005A41C 0005737C 3A E0 00 01 */ li r23, 1
/* 8005A420 00057380 90 A1 00 34 */ stw r5, 0x34(r1)
/* 8005A424 00057384 A0 1C 00 EC */ lhz r0, 0xec(r28)
/* 8005A428 00057388 90 A1 00 30 */ stw r5, 0x30(r1)
/* 8005A42C 0005738C B0 01 00 20 */ sth r0, 0x20(r1)
/* 8005A430 00057390 81 84 00 00 */ lwz r12, 0(r4)
/* 8005A434 00057394 81 8C 00 68 */ lwz r12, 0x68(r12)
/* 8005A438 00057398 7D 89 03 A6 */ mtctr r12
/* 8005A43C 0005739C 4E 80 04 21 */ bctrl
/* 8005A440 000573A0 93 01 00 08 */ stw r24, 8(r1)
/* 8005A444 000573A4 38 00 00 01 */ li r0, 1
/* 8005A448 000573A8 C0 22 86 A8 */ lfs f1, lbl_805AA3C8@sda21(r2)
/* 8005A44C 000573AC 7F 43 D3 78 */ mr r3, r26
/* 8005A450 000573B0 90 01 00 0C */ stw r0, 0xc(r1)
/* 8005A454 000573B4 7F 26 CB 78 */ mr r6, r25
/* 8005A458 000573B8 38 81 00 20 */ addi r4, r1, 0x20
/* 8005A45C 000573BC 38 A1 00 34 */ addi r5, r1, 0x34
/* 8005A460 000573C0 38 E1 00 38 */ addi r7, r1, 0x38
/* 8005A464 000573C4 39 1C 00 34 */ addi r8, r28, 0x34
/* 8005A468 000573C8 39 21 00 28 */ addi r9, r1, 0x28
/* 8005A46C 000573CC 39 41 00 58 */ addi r10, r1, 0x58
/* 8005A470 000573D0 48 05 B3 B5 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif"
/* 8005A474 000573D4 7C 7A 1B 78 */ mr r26, r3
lbl_8005A478:
/* 8005A478 000573D8 7F E3 FB 78 */ mr r3, r31
/* 8005A47C 000573DC 7F 44 D3 78 */ mr r4, r26
/* 8005A480 000573E0 4B FF 28 75 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence
/* 8005A484 000573E4 7E E0 07 75 */ extsb. r0, r23
/* 8005A488 000573E8 41 82 00 0C */ beq lbl_8005A494
/* 8005A48C 000573EC 38 61 00 38 */ addi r3, r1, 0x38
/* 8005A490 000573F0 48 2E 36 51 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8005A494:
/* 8005A494 000573F4 7F 60 07 75 */ extsb. r0, r27
/* 8005A498 000573F8 41 82 00 3C */ beq lbl_8005A4D4
/* 8005A49C 000573FC 38 61 00 48 */ addi r3, r1, 0x48
/* 8005A4A0 00057400 48 2E 36 41 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8005A4A4 00057404 48 00 00 30 */ b lbl_8005A4D4
lbl_8005A4A8:
/* 8005A4A8 00057408 A0 7C 00 EC */ lhz r3, 0xec(r28)
/* 8005A4AC 0005740C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8005A4B0 00057410 7C 03 00 40 */ cmplw r3, r0
/* 8005A4B4 00057414 41 82 00 20 */ beq lbl_8005A4D4
/* 8005A4B8 00057418 A0 1C 00 EC */ lhz r0, 0xec(r28)
/* 8005A4BC 0005741C 7F E3 FB 78 */ mr r3, r31
/* 8005A4C0 00057420 38 81 00 1C */ addi r4, r1, 0x1c
/* 8005A4C4 00057424 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 8005A4C8 00057428 4B FF 1D A5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
/* 8005A4CC 0005742C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8005A4D0 00057430 B0 1C 00 EC */ sth r0, 0xec(r28)
lbl_8005A4D4:
/* 8005A4D4 00057434 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8005A4D8 00057438 7F 83 E3 78 */ mr r3, r28
/* 8005A4DC 0005743C 7F A4 EB 78 */ mr r4, r29
/* 8005A4E0 00057440 7F E6 FB 78 */ mr r6, r31
/* 8005A4E4 00057444 B0 01 00 18 */ sth r0, 0x18(r1)
/* 8005A4E8 00057448 38 A1 00 18 */ addi r5, r1, 0x18
/* 8005A4EC 0005744C 4B FF 91 29 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8005A4F0 00057450 A0 7C 00 EC */ lhz r3, 0xec(r28)
/* 8005A4F4 00057454 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8005A4F8 00057458 7C 03 00 40 */ cmplw r3, r0
/* 8005A4FC 0005745C 41 82 00 28 */ beq lbl_8005A524
/* 8005A500 00057460 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8005A504 00057464 7F E3 FB 78 */ mr r3, r31
/* 8005A508 00057468 7F A6 EB 78 */ mr r6, r29
/* 8005A50C 0005746C 38 81 00 14 */ addi r4, r1, 0x14
/* 8005A510 00057470 B0 01 00 10 */ sth r0, 0x10(r1)
/* 8005A514 00057474 38 A1 00 10 */ addi r5, r1, 0x10
/* 8005A518 00057478 A0 1C 00 EC */ lhz r0, 0xec(r28)
/* 8005A51C 0005747C B0 01 00 14 */ sth r0, 0x14(r1)
/* 8005A520 00057480 4B FE 99 35 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId
lbl_8005A524:
/* 8005A524 00057484 BA E1 00 AC */ lmw r23, 0xac(r1)
/* 8005A528 00057488 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 8005A52C 0005748C 7C 08 03 A6 */ mtlr r0
/* 8005A530 00057490 38 21 00 D0 */ addi r1, r1, 0xd0
/* 8005A534 00057494 4E 80 00 20 */ blr
.global Accept__10CExplosionFR8IVisitor
Accept__10CExplosionFR8IVisitor:
/* 8005A538 00057498 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005A53C 0005749C 7C 08 02 A6 */ mflr r0
/* 8005A540 000574A0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005A544 000574A4 7C 60 1B 78 */ mr r0, r3
/* 8005A548 000574A8 7C 83 23 78 */ mr r3, r4
/* 8005A54C 000574AC 81 84 00 00 */ lwz r12, 0(r4)
/* 8005A550 000574B0 7C 04 03 78 */ mr r4, r0
/* 8005A554 000574B4 81 8C 00 28 */ lwz r12, 0x28(r12)
/* 8005A558 000574B8 7D 89 03 A6 */ mtctr r12
/* 8005A55C 000574BC 4E 80 04 21 */ bctrl
/* 8005A560 000574C0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005A564 000574C4 7C 08 03 A6 */ mtlr r0
/* 8005A568 000574C8 38 21 00 10 */ addi r1, r1, 0x10
/* 8005A56C 000574CC 4E 80 00 20 */ blr
.global Think__10CExplosionFfR13CStateManager
Think__10CExplosionFfR13CStateManager:
/* 8005A570 000574D0 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 8005A574 000574D4 7C 08 02 A6 */ mflr r0
/* 8005A578 000574D8 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 8005A57C 000574DC DB E1 00 C0 */ stfd f31, 0xc0(r1)
/* 8005A580 000574E0 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0
/* 8005A584 000574E4 93 E1 00 BC */ stw r31, 0xbc(r1)
/* 8005A588 000574E8 93 C1 00 B8 */ stw r30, 0xb8(r1)
/* 8005A58C 000574EC 93 A1 00 B4 */ stw r29, 0xb4(r1)
/* 8005A590 000574F0 88 03 00 E4 */ lbz r0, 0xe4(r3)
/* 8005A594 000574F4 FF E0 08 90 */ fmr f31, f1
/* 8005A598 000574F8 7C 7D 1B 78 */ mr r29, r3
/* 8005A59C 000574FC 7C 9E 23 78 */ mr r30, r4
/* 8005A5A0 00057500 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 8005A5A4 00057504 41 82 00 6C */ beq lbl_8005A610
/* 8005A5A8 00057508 C0 5D 00 60 */ lfs f2, 0x60(r29)
/* 8005A5AC 0005750C 38 81 00 24 */ addi r4, r1, 0x24
/* 8005A5B0 00057510 C0 3D 00 50 */ lfs f1, 0x50(r29)
/* 8005A5B4 00057514 C0 1D 00 40 */ lfs f0, 0x40(r29)
/* 8005A5B8 00057518 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 8005A5BC 0005751C D0 21 00 28 */ stfs f1, 0x28(r1)
/* 8005A5C0 00057520 D0 41 00 2C */ stfs f2, 0x2c(r1)
/* 8005A5C4 00057524 80 7D 00 E8 */ lwz r3, 0xe8(r29)
/* 8005A5C8 00057528 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A5CC 0005752C 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8005A5D0 00057530 7D 89 03 A6 */ mtctr r12
/* 8005A5D4 00057534 4E 80 04 21 */ bctrl
/* 8005A5D8 00057538 83 FD 00 E8 */ lwz r31, 0xe8(r29)
/* 8005A5DC 0005753C 38 61 00 30 */ addi r3, r1, 0x30
/* 8005A5E0 00057540 38 9D 00 34 */ addi r4, r29, 0x34
/* 8005A5E4 00057544 48 2B 86 5D */ bl GetRotation__12CTransform4fCFv
/* 8005A5E8 00057548 7F E3 FB 78 */ mr r3, r31
/* 8005A5EC 0005754C 38 81 00 30 */ addi r4, r1, 0x30
/* 8005A5F0 00057550 81 9F 00 00 */ lwz r12, 0(r31)
/* 8005A5F4 00057554 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8005A5F8 00057558 7D 89 03 A6 */ mtctr r12
/* 8005A5FC 0005755C 4E 80 04 21 */ bctrl
/* 8005A600 00057560 88 1D 00 E4 */ lbz r0, 0xe4(r29)
/* 8005A604 00057564 38 60 00 00 */ li r3, 0
/* 8005A608 00057568 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 8005A60C 0005756C 98 1D 00 E4 */ stb r0, 0xe4(r29)
lbl_8005A610:
/* 8005A610 00057570 80 7D 00 E8 */ lwz r3, 0xe8(r29)
/* 8005A614 00057574 FC 20 F8 90 */ fmr f1, f31
/* 8005A618 00057578 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A61C 0005757C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8005A620 00057580 7D 89 03 A6 */ mtctr r12
/* 8005A624 00057584 4E 80 04 21 */ bctrl
/* 8005A628 00057588 A0 7D 00 EC */ lhz r3, 0xec(r29)
/* 8005A62C 0005758C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8005A630 00057590 7C 03 00 40 */ cmplw r3, r0
/* 8005A634 00057594 41 82 00 60 */ beq lbl_8005A694
/* 8005A638 00057598 A0 1D 00 EC */ lhz r0, 0xec(r29)
/* 8005A63C 0005759C 7F C3 F3 78 */ mr r3, r30
/* 8005A640 000575A0 38 81 00 18 */ addi r4, r1, 0x18
/* 8005A644 000575A4 B0 01 00 18 */ sth r0, 0x18(r1)
/* 8005A648 000575A8 4B FF 1F 2D */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8005A64C 000575AC 7C 64 1B 78 */ mr r4, r3
/* 8005A650 000575B0 38 61 00 1C */ addi r3, r1, 0x1c
/* 8005A654 000575B4 48 05 34 31 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity"
/* 8005A658 000575B8 83 E3 00 04 */ lwz r31, 4(r3)
/* 8005A65C 000575BC 28 1F 00 00 */ cmplwi r31, 0
/* 8005A660 000575C0 41 82 00 34 */ beq lbl_8005A694
/* 8005A664 000575C4 88 1D 00 30 */ lbz r0, 0x30(r29)
/* 8005A668 000575C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8005A66C 000575CC 41 82 00 28 */ beq lbl_8005A694
/* 8005A670 000575D0 80 9D 00 E8 */ lwz r4, 0xe8(r29)
/* 8005A674 000575D4 38 61 00 60 */ addi r3, r1, 0x60
/* 8005A678 000575D8 81 84 00 00 */ lwz r12, 0(r4)
/* 8005A67C 000575DC 81 8C 00 68 */ lwz r12, 0x68(r12)
/* 8005A680 000575E0 7D 89 03 A6 */ mtctr r12
/* 8005A684 000575E4 4E 80 04 21 */ bctrl
/* 8005A688 000575E8 7F E3 FB 78 */ mr r3, r31
/* 8005A68C 000575EC 38 81 00 60 */ addi r4, r1, 0x60
/* 8005A690 000575F0 48 05 B0 B5 */ bl SetLight__10CGameLightFRC6CLight
lbl_8005A694:
/* 8005A694 000575F4 C0 3D 00 F8 */ lfs f1, 0xf8(r29)
/* 8005A698 000575F8 C0 02 86 B0 */ lfs f0, lbl_805AA3D0@sda21(r2)
/* 8005A69C 000575FC EC 21 F8 2A */ fadds f1, f1, f31
/* 8005A6A0 00057600 D0 3D 00 F8 */ stfs f1, 0xf8(r29)
/* 8005A6A4 00057604 C0 3D 00 F8 */ lfs f1, 0xf8(r29)
/* 8005A6A8 00057608 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8005A6AC 0005760C 40 81 00 20 */ ble lbl_8005A6CC
/* 8005A6B0 00057610 A0 1D 00 08 */ lhz r0, 8(r29)
/* 8005A6B4 00057614 7F C3 F3 78 */ mr r3, r30
/* 8005A6B8 00057618 38 81 00 14 */ addi r4, r1, 0x14
/* 8005A6BC 0005761C B0 01 00 10 */ sth r0, 0x10(r1)
/* 8005A6C0 00057620 B0 01 00 14 */ sth r0, 0x14(r1)
/* 8005A6C4 00057624 4B FF 1B A9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
/* 8005A6C8 00057628 48 00 00 38 */ b lbl_8005A700
lbl_8005A6CC:
/* 8005A6CC 0005762C 80 7D 00 E8 */ lwz r3, 0xe8(r29)
/* 8005A6D0 00057630 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A6D4 00057634 81 8C 00 58 */ lwz r12, 0x58(r12)
/* 8005A6D8 00057638 7D 89 03 A6 */ mtctr r12
/* 8005A6DC 0005763C 4E 80 04 21 */ bctrl
/* 8005A6E0 00057640 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8005A6E4 00057644 41 82 00 1C */ beq lbl_8005A700
/* 8005A6E8 00057648 A0 1D 00 08 */ lhz r0, 8(r29)
/* 8005A6EC 0005764C 7F C3 F3 78 */ mr r3, r30
/* 8005A6F0 00057650 38 81 00 0C */ addi r4, r1, 0xc
/* 8005A6F4 00057654 B0 01 00 08 */ sth r0, 8(r1)
/* 8005A6F8 00057658 B0 01 00 0C */ sth r0, 0xc(r1)
/* 8005A6FC 0005765C 4B FF 1B 71 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
lbl_8005A700:
/* 8005A700 00057660 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0
/* 8005A704 00057664 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 8005A708 00057668 CB E1 00 C0 */ lfd f31, 0xc0(r1)
/* 8005A70C 0005766C 83 E1 00 BC */ lwz r31, 0xbc(r1)
/* 8005A710 00057670 83 C1 00 B8 */ lwz r30, 0xb8(r1)
/* 8005A714 00057674 83 A1 00 B4 */ lwz r29, 0xb4(r1)
/* 8005A718 00057678 7C 08 03 A6 */ mtlr r0
/* 8005A71C 0005767C 38 21 00 D0 */ addi r1, r1, 0xd0
/* 8005A720 00057680 4E 80 00 20 */ blr
.global PreRender__10CExplosionFR13CStateManagerRC14CFrustumPlanes
PreRender__10CExplosionFR13CStateManagerRC14CFrustumPlanes:
/* 8005A724 00057684 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8005A728 00057688 7C 08 02 A6 */ mflr r0
/* 8005A72C 0005768C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8005A730 00057690 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8005A734 00057694 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8005A738 00057698 7C BE 2B 78 */ mr r30, r5
/* 8005A73C 0005769C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8005A740 000576A0 7C 7D 1B 78 */ mr r29, r3
/* 8005A744 000576A4 4B FF A5 9D */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes
/* 8005A748 000576A8 88 1D 00 F4 */ lbz r0, 0xf4(r29)
/* 8005A74C 000576AC 3B E0 00 00 */ li r31, 0
/* 8005A750 000576B0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 8005A754 000576B4 41 82 00 18 */ beq lbl_8005A76C
/* 8005A758 000576B8 7F C3 F3 78 */ mr r3, r30
/* 8005A75C 000576BC 38 9D 00 9C */ addi r4, r29, 0x9c
/* 8005A760 000576C0 48 2E AA 71 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox
/* 8005A764 000576C4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8005A768 000576C8 40 82 00 08 */ bne lbl_8005A770
lbl_8005A76C:
/* 8005A76C 000576CC 3B E0 00 01 */ li r31, 1
lbl_8005A770:
/* 8005A770 000576D0 88 1D 00 E4 */ lbz r0, 0xe4(r29)
/* 8005A774 000576D4 53 E0 0F BC */ rlwimi r0, r31, 1, 0x1e, 0x1e
/* 8005A778 000576D8 98 1D 00 E4 */ stb r0, 0xe4(r29)
/* 8005A77C 000576DC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005A780 000576E0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8005A784 000576E4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8005A788 000576E8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8005A78C 000576EC 7C 08 03 A6 */ mtlr r0
/* 8005A790 000576F0 38 21 00 20 */ addi r1, r1, 0x20
/* 8005A794 000576F4 4E 80 00 20 */ blr
.global AddToRenderer__10CExplosionCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__10CExplosionCFRC14CFrustumPlanesRC13CStateManager:
/* 8005A798 000576F8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005A79C 000576FC 7C 08 02 A6 */ mflr r0
/* 8005A7A0 00057700 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005A7A4 00057704 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005A7A8 00057708 7C BF 2B 78 */ mr r31, r5
/* 8005A7AC 0005770C 93 C1 00 08 */ stw r30, 8(r1)
/* 8005A7B0 00057710 7C 7E 1B 78 */ mr r30, r3
/* 8005A7B4 00057714 88 03 00 E4 */ lbz r0, 0xe4(r3)
/* 8005A7B8 00057718 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f
/* 8005A7BC 0005771C 40 82 00 68 */ bne lbl_8005A824
/* 8005A7C0 00057720 88 1E 00 F4 */ lbz r0, 0xf4(r30)
/* 8005A7C4 00057724 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8005A7C8 00057728 41 82 00 10 */ beq lbl_8005A7D8
/* 8005A7CC 0005772C 80 1F 0F 34 */ lwz r0, 0xf34(r31)
/* 8005A7D0 00057730 2C 00 00 00 */ cmpwi r0, 0
/* 8005A7D4 00057734 41 82 00 28 */ beq lbl_8005A7FC
lbl_8005A7D8:
/* 8005A7D8 00057738 88 1E 00 F4 */ lbz r0, 0xf4(r30)
/* 8005A7DC 0005773C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 8005A7E0 00057740 41 82 00 2C */ beq lbl_8005A80C
/* 8005A7E4 00057744 80 7F 08 B8 */ lwz r3, 0x8b8(r31)
/* 8005A7E8 00057748 7F E4 FB 78 */ mr r4, r31
/* 8005A7EC 0005774C 80 63 00 00 */ lwz r3, 0(r3)
/* 8005A7F0 00057750 48 03 6D 69 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager
/* 8005A7F4 00057754 2C 03 00 01 */ cmpwi r3, 1
/* 8005A7F8 00057758 40 82 00 14 */ bne lbl_8005A80C
lbl_8005A7FC:
/* 8005A7FC 0005775C 7F C3 F3 78 */ mr r3, r30
/* 8005A800 00057760 7F E4 FB 78 */ mr r4, r31
/* 8005A804 00057764 4B FF A1 C9 */ bl EnsureRendered__6CActorCFRC13CStateManager
/* 8005A808 00057768 48 00 00 1C */ b lbl_8005A824
lbl_8005A80C:
/* 8005A80C 0005776C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8005A810 00057770 80 9E 00 E8 */ lwz r4, 0xe8(r30)
/* 8005A814 00057774 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A818 00057778 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 8005A81C 0005777C 7D 89 03 A6 */ mtctr r12
/* 8005A820 00057780 4E 80 04 21 */ bctrl
lbl_8005A824:
/* 8005A824 00057784 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005A828 00057788 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005A82C 0005778C 83 C1 00 08 */ lwz r30, 8(r1)
/* 8005A830 00057790 7C 08 03 A6 */ mtlr r0
/* 8005A834 00057794 38 21 00 10 */ addi r1, r1, 0x10
/* 8005A838 00057798 4E 80 00 20 */ blr

View File

@ -2,6 +2,507 @@
.section .text, "ax"
.global Render__10CExplosionCFRC13CStateManager
Render__10CExplosionCFRC13CStateManager:
/* 8005A110 00057070 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8005A114 00057074 7C 08 02 A6 */ mflr r0
/* 8005A118 00057078 90 01 00 24 */ stw r0, 0x24(r1)
/* 8005A11C 0005707C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8005A120 00057080 7C 9F 23 78 */ mr r31, r4
/* 8005A124 00057084 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8005A128 00057088 7C 7E 1B 78 */ mr r30, r3
/* 8005A12C 0005708C 80 04 0F 34 */ lwz r0, 0xf34(r4)
/* 8005A130 00057090 2C 00 00 00 */ cmpwi r0, 0
/* 8005A134 00057094 40 82 00 48 */ bne lbl_8005A17C
/* 8005A138 00057098 88 1E 00 F4 */ lbz r0, 0xf4(r30)
/* 8005A13C 0005709C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8005A140 000570A0 41 82 00 3C */ beq lbl_8005A17C
/* 8005A144 000570A4 38 00 00 01 */ li r0, 1
/* 8005A148 000570A8 38 60 00 01 */ li r3, 1
/* 8005A14C 000570AC 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13)
/* 8005A150 000570B0 48 2E B6 99 */ bl SetRenderModelBlack__10CCubeModelFb
/* 8005A154 000570B4 80 7E 00 E8 */ lwz r3, 0xe8(r30)
/* 8005A158 000570B8 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A15C 000570BC 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8005A160 000570C0 7D 89 03 A6 */ mtctr r12
/* 8005A164 000570C4 4E 80 04 21 */ bctrl
/* 8005A168 000570C8 38 60 00 00 */ li r3, 0
/* 8005A16C 000570CC 48 2E B6 7D */ bl SetRenderModelBlack__10CCubeModelFb
/* 8005A170 000570D0 38 00 00 00 */ li r0, 0
/* 8005A174 000570D4 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13)
/* 8005A178 000570D8 48 00 00 64 */ b lbl_8005A1DC
lbl_8005A17C:
/* 8005A17C 000570DC 88 1E 00 F4 */ lbz r0, 0xf4(r30)
/* 8005A180 000570E0 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f
/* 8005A184 000570E4 7C 00 00 34 */ cntlzw r0, r0
/* 8005A188 000570E8 54 00 D9 7E */ srwi r0, r0, 5
/* 8005A18C 000570EC 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13)
/* 8005A190 000570F0 48 2E FE 25 */ bl Black__6CColorFv
/* 8005A194 000570F4 C0 22 86 A8 */ lfs f1, lbl_805AA3C8@sda21(r2)
/* 8005A198 000570F8 7C 64 1B 78 */ mr r4, r3
/* 8005A19C 000570FC C0 42 86 AC */ lfs f2, lbl_805AA3CC@sda21(r2)
/* 8005A1A0 00057100 38 60 00 02 */ li r3, 2
/* 8005A1A4 00057104 48 2B 00 E5 */ bl SetFog__9CGraphicsF11ERglFogModeffRC6CColor
/* 8005A1A8 00057108 80 7E 00 E8 */ lwz r3, 0xe8(r30)
/* 8005A1AC 0005710C 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A1B0 00057110 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8005A1B4 00057114 7D 89 03 A6 */ mtctr r12
/* 8005A1B8 00057118 4E 80 04 21 */ bctrl
/* 8005A1BC 0005711C 80 1E 00 04 */ lwz r0, 4(r30)
/* 8005A1C0 00057120 7F E3 FB 78 */ mr r3, r31
/* 8005A1C4 00057124 38 81 00 0C */ addi r4, r1, 0xc
/* 8005A1C8 00057128 90 01 00 08 */ stw r0, 8(r1)
/* 8005A1CC 0005712C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8005A1D0 00057130 4B FE CB B1 */ bl SetupFogForArea__13CStateManagerCF7TAreaId
/* 8005A1D4 00057134 38 00 00 00 */ li r0, 0
/* 8005A1D8 00057138 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13)
lbl_8005A1DC:
/* 8005A1DC 0005713C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005A1E0 00057140 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8005A1E4 00057144 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8005A1E8 00057148 7C 08 03 A6 */ mtlr r0
/* 8005A1EC 0005714C 38 21 00 20 */ addi r1, r1, 0x20
/* 8005A1F0 00057150 4E 80 00 20 */ blr
.global CalculateRenderBounds__10CExplosionFv
CalculateRenderBounds__10CExplosionFv:
/* 8005A1F4 00057154 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8005A1F8 00057158 7C 08 02 A6 */ mflr r0
/* 8005A1FC 0005715C 90 01 00 74 */ stw r0, 0x74(r1)
/* 8005A200 00057160 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 8005A204 00057164 7C 7F 1B 78 */ mr r31, r3
/* 8005A208 00057168 38 61 00 2C */ addi r3, r1, 0x2c
/* 8005A20C 0005716C 80 9F 00 E8 */ lwz r4, 0xe8(r31)
/* 8005A210 00057170 81 84 00 00 */ lwz r12, 0(r4)
/* 8005A214 00057174 81 8C 00 5C */ lwz r12, 0x5c(r12)
/* 8005A218 00057178 7D 89 03 A6 */ mtctr r12
/* 8005A21C 0005717C 4E 80 04 21 */ bctrl
/* 8005A220 00057180 88 01 00 44 */ lbz r0, 0x44(r1)
/* 8005A224 00057184 28 00 00 00 */ cmplwi r0, 0
/* 8005A228 00057188 98 01 00 60 */ stb r0, 0x60(r1)
/* 8005A22C 0005718C 41 82 00 3C */ beq lbl_8005A268
/* 8005A230 00057190 34 61 00 48 */ addic. r3, r1, 0x48
/* 8005A234 00057194 41 82 00 34 */ beq lbl_8005A268
/* 8005A238 00057198 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 8005A23C 0005719C D0 03 00 00 */ stfs f0, 0(r3)
/* 8005A240 000571A0 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 8005A244 000571A4 D0 03 00 04 */ stfs f0, 4(r3)
/* 8005A248 000571A8 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 8005A24C 000571AC D0 03 00 08 */ stfs f0, 8(r3)
/* 8005A250 000571B0 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 8005A254 000571B4 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 8005A258 000571B8 C0 01 00 3C */ lfs f0, 0x3c(r1)
/* 8005A25C 000571BC D0 03 00 10 */ stfs f0, 0x10(r3)
/* 8005A260 000571C0 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 8005A264 000571C4 D0 03 00 14 */ stfs f0, 0x14(r3)
lbl_8005A268:
/* 8005A268 000571C8 88 01 00 60 */ lbz r0, 0x60(r1)
/* 8005A26C 000571CC 38 60 00 00 */ li r3, 0
/* 8005A270 000571D0 98 61 00 44 */ stb r3, 0x44(r1)
/* 8005A274 000571D4 28 00 00 00 */ cmplwi r0, 0
/* 8005A278 000571D8 41 82 00 48 */ beq lbl_8005A2C0
/* 8005A27C 000571DC 80 81 00 48 */ lwz r4, 0x48(r1)
/* 8005A280 000571E0 38 60 00 01 */ li r3, 1
/* 8005A284 000571E4 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 8005A288 000571E8 90 9F 00 9C */ stw r4, 0x9c(r31)
/* 8005A28C 000571EC 80 81 00 50 */ lwz r4, 0x50(r1)
/* 8005A290 000571F0 90 1F 00 A0 */ stw r0, 0xa0(r31)
/* 8005A294 000571F4 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8005A298 000571F8 90 9F 00 A4 */ stw r4, 0xa4(r31)
/* 8005A29C 000571FC 80 81 00 58 */ lwz r4, 0x58(r1)
/* 8005A2A0 00057200 90 1F 00 A8 */ stw r0, 0xa8(r31)
/* 8005A2A4 00057204 80 01 00 5C */ lwz r0, 0x5c(r1)
/* 8005A2A8 00057208 90 9F 00 AC */ stw r4, 0xac(r31)
/* 8005A2AC 0005720C 90 1F 00 B0 */ stw r0, 0xb0(r31)
/* 8005A2B0 00057210 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 8005A2B4 00057214 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8005A2B8 00057218 98 1F 00 F4 */ stb r0, 0xf4(r31)
/* 8005A2BC 0005721C 48 00 00 68 */ b lbl_8005A324
lbl_8005A2C0:
/* 8005A2C0 00057220 88 1F 00 F4 */ lbz r0, 0xf4(r31)
/* 8005A2C4 00057224 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19
/* 8005A2C8 00057228 38 81 00 08 */ addi r4, r1, 8
/* 8005A2CC 0005722C 38 61 00 14 */ addi r3, r1, 0x14
/* 8005A2D0 00057230 98 1F 00 F4 */ stb r0, 0xf4(r31)
/* 8005A2D4 00057234 7C 85 23 78 */ mr r5, r4
/* 8005A2D8 00057238 C0 5F 00 60 */ lfs f2, 0x60(r31)
/* 8005A2DC 0005723C C0 3F 00 50 */ lfs f1, 0x50(r31)
/* 8005A2E0 00057240 C0 1F 00 40 */ lfs f0, 0x40(r31)
/* 8005A2E4 00057244 D0 01 00 08 */ stfs f0, 8(r1)
/* 8005A2E8 00057248 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8005A2EC 0005724C D0 41 00 10 */ stfs f2, 0x10(r1)
/* 8005A2F0 00057250 48 2D E2 19 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f
/* 8005A2F4 00057254 80 61 00 14 */ lwz r3, 0x14(r1)
/* 8005A2F8 00057258 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8005A2FC 0005725C 90 7F 00 9C */ stw r3, 0x9c(r31)
/* 8005A300 00057260 90 1F 00 A0 */ stw r0, 0xa0(r31)
/* 8005A304 00057264 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8005A308 00057268 90 1F 00 A4 */ stw r0, 0xa4(r31)
/* 8005A30C 0005726C 80 61 00 20 */ lwz r3, 0x20(r1)
/* 8005A310 00057270 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005A314 00057274 90 7F 00 A8 */ stw r3, 0xa8(r31)
/* 8005A318 00057278 90 1F 00 AC */ stw r0, 0xac(r31)
/* 8005A31C 0005727C 80 01 00 28 */ lwz r0, 0x28(r1)
/* 8005A320 00057280 90 1F 00 B0 */ stw r0, 0xb0(r31)
lbl_8005A324:
/* 8005A324 00057284 38 00 00 00 */ li r0, 0
/* 8005A328 00057288 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 8005A32C 0005728C 98 01 00 60 */ stb r0, 0x60(r1)
/* 8005A330 00057290 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8005A334 00057294 7C 08 03 A6 */ mtlr r0
/* 8005A338 00057298 38 21 00 70 */ addi r1, r1, 0x70
/* 8005A33C 0005729C 4E 80 00 20 */ blr
.global AcceptScriptMsg__10CExplosionF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__10CExplosionF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 8005A340 000572A0 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 8005A344 000572A4 7C 08 02 A6 */ mflr r0
/* 8005A348 000572A8 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 8005A34C 000572AC BE E1 00 AC */ stmw r23, 0xac(r1)
/* 8005A350 000572B0 7C 9D 23 78 */ mr r29, r4
/* 8005A354 000572B4 2C 1D 00 22 */ cmpwi r29, 0x22
/* 8005A358 000572B8 7C 7C 1B 78 */ mr r28, r3
/* 8005A35C 000572BC 7C BE 2B 78 */ mr r30, r5
/* 8005A360 000572C0 7C DF 33 78 */ mr r31, r6
/* 8005A364 000572C4 41 82 01 44 */ beq lbl_8005A4A8
/* 8005A368 000572C8 40 80 01 6C */ bge lbl_8005A4D4
/* 8005A36C 000572CC 2C 1D 00 21 */ cmpwi r29, 0x21
/* 8005A370 000572D0 40 80 00 08 */ bge lbl_8005A378
/* 8005A374 000572D4 48 00 01 60 */ b lbl_8005A4D4
lbl_8005A378:
/* 8005A378 000572D8 80 7C 00 E8 */ lwz r3, 0xe8(r28)
/* 8005A37C 000572DC 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A380 000572E0 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 8005A384 000572E4 7D 89 03 A6 */ mtctr r12
/* 8005A388 000572E8 4E 80 04 21 */ bctrl
/* 8005A38C 000572EC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8005A390 000572F0 41 82 01 44 */ beq lbl_8005A4D4
/* 8005A394 000572F4 7F E4 FB 78 */ mr r4, r31
/* 8005A398 000572F8 38 61 00 2C */ addi r3, r1, 0x2c
/* 8005A39C 000572FC 4B FF 2D 41 */ bl AllocateUniqueId__13CStateManagerFv
/* 8005A3A0 00057300 A0 01 00 2C */ lhz r0, 0x2c(r1)
/* 8005A3A4 00057304 3C 60 80 3D */ lis r3, lbl_803CCF78@ha
/* 8005A3A8 00057308 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l
/* 8005A3AC 0005730C 3B 60 00 00 */ li r27, 0
/* 8005A3B0 00057310 B0 1C 00 EC */ sth r0, 0xec(r28)
/* 8005A3B4 00057314 3A E0 00 00 */ li r23, 0
/* 8005A3B8 00057318 38 60 01 48 */ li r3, 0x148
/* 8005A3BC 0005731C 38 A0 00 00 */ li r5, 0
/* 8005A3C0 00057320 83 1C 00 F0 */ lwz r24, 0xf0(r28)
/* 8005A3C4 00057324 48 2B B4 A9 */ bl __nw__FUlPCcPCc
/* 8005A3C8 00057328 7C 7A 1B 79 */ or. r26, r3, r3
/* 8005A3CC 0005732C 41 82 00 AC */ beq lbl_8005A478
/* 8005A3D0 00057330 A0 1C 00 08 */ lhz r0, 8(r28)
/* 8005A3D4 00057334 3C 60 80 3D */ lis r3, lbl_803CCF78@ha
/* 8005A3D8 00057338 83 3C 00 E8 */ lwz r25, 0xe8(r28)
/* 8005A3DC 0005733C 38 83 CF 78 */ addi r4, r3, lbl_803CCF78@l
/* 8005A3E0 00057340 B0 01 00 24 */ sth r0, 0x24(r1)
/* 8005A3E4 00057344 38 61 00 48 */ addi r3, r1, 0x48
/* 8005A3E8 00057348 38 84 00 07 */ addi r4, r4, 7
/* 8005A3EC 0005734C B0 01 00 28 */ sth r0, 0x28(r1)
/* 8005A3F0 00057350 4B FA A8 C9 */ bl string_l__4rstlFPCc
/* 8005A3F4 00057354 38 61 00 38 */ addi r3, r1, 0x38
/* 8005A3F8 00057358 38 81 00 48 */ addi r4, r1, 0x48
/* 8005A3FC 0005735C 38 BC 00 10 */ addi r5, r28, 0x10
/* 8005A400 00057360 3B 60 00 01 */ li r27, 1
/* 8005A404 00057364 4B FA A8 59 */ bl "__pl__4rstlFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8005A408 00057368 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 8005A40C 0005736C 7F 24 CB 78 */ mr r4, r25
/* 8005A410 00057370 80 BC 00 04 */ lwz r5, 4(r28)
/* 8005A414 00057374 38 61 00 58 */ addi r3, r1, 0x58
/* 8005A418 00057378 54 19 CF FE */ rlwinm r25, r0, 0x19, 0x1f, 0x1f
/* 8005A41C 0005737C 3A E0 00 01 */ li r23, 1
/* 8005A420 00057380 90 A1 00 34 */ stw r5, 0x34(r1)
/* 8005A424 00057384 A0 1C 00 EC */ lhz r0, 0xec(r28)
/* 8005A428 00057388 90 A1 00 30 */ stw r5, 0x30(r1)
/* 8005A42C 0005738C B0 01 00 20 */ sth r0, 0x20(r1)
/* 8005A430 00057390 81 84 00 00 */ lwz r12, 0(r4)
/* 8005A434 00057394 81 8C 00 68 */ lwz r12, 0x68(r12)
/* 8005A438 00057398 7D 89 03 A6 */ mtctr r12
/* 8005A43C 0005739C 4E 80 04 21 */ bctrl
/* 8005A440 000573A0 93 01 00 08 */ stw r24, 8(r1)
/* 8005A444 000573A4 38 00 00 01 */ li r0, 1
/* 8005A448 000573A8 C0 22 86 A8 */ lfs f1, lbl_805AA3C8@sda21(r2)
/* 8005A44C 000573AC 7F 43 D3 78 */ mr r3, r26
/* 8005A450 000573B0 90 01 00 0C */ stw r0, 0xc(r1)
/* 8005A454 000573B4 7F 26 CB 78 */ mr r6, r25
/* 8005A458 000573B8 38 81 00 20 */ addi r4, r1, 0x20
/* 8005A45C 000573BC 38 A1 00 34 */ addi r5, r1, 0x34
/* 8005A460 000573C0 38 E1 00 38 */ addi r7, r1, 0x38
/* 8005A464 000573C4 39 1C 00 34 */ addi r8, r28, 0x34
/* 8005A468 000573C8 39 21 00 28 */ addi r9, r1, 0x28
/* 8005A46C 000573CC 39 41 00 58 */ addi r10, r1, 0x58
/* 8005A470 000573D0 48 05 B3 B5 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif"
/* 8005A474 000573D4 7C 7A 1B 78 */ mr r26, r3
lbl_8005A478:
/* 8005A478 000573D8 7F E3 FB 78 */ mr r3, r31
/* 8005A47C 000573DC 7F 44 D3 78 */ mr r4, r26
/* 8005A480 000573E0 4B FF 28 75 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence
/* 8005A484 000573E4 7E E0 07 75 */ extsb. r0, r23
/* 8005A488 000573E8 41 82 00 0C */ beq lbl_8005A494
/* 8005A48C 000573EC 38 61 00 38 */ addi r3, r1, 0x38
/* 8005A490 000573F0 48 2E 36 51 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8005A494:
/* 8005A494 000573F4 7F 60 07 75 */ extsb. r0, r27
/* 8005A498 000573F8 41 82 00 3C */ beq lbl_8005A4D4
/* 8005A49C 000573FC 38 61 00 48 */ addi r3, r1, 0x48
/* 8005A4A0 00057400 48 2E 36 41 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8005A4A4 00057404 48 00 00 30 */ b lbl_8005A4D4
lbl_8005A4A8:
/* 8005A4A8 00057408 A0 7C 00 EC */ lhz r3, 0xec(r28)
/* 8005A4AC 0005740C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8005A4B0 00057410 7C 03 00 40 */ cmplw r3, r0
/* 8005A4B4 00057414 41 82 00 20 */ beq lbl_8005A4D4
/* 8005A4B8 00057418 A0 1C 00 EC */ lhz r0, 0xec(r28)
/* 8005A4BC 0005741C 7F E3 FB 78 */ mr r3, r31
/* 8005A4C0 00057420 38 81 00 1C */ addi r4, r1, 0x1c
/* 8005A4C4 00057424 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 8005A4C8 00057428 4B FF 1D A5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
/* 8005A4CC 0005742C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8005A4D0 00057430 B0 1C 00 EC */ sth r0, 0xec(r28)
lbl_8005A4D4:
/* 8005A4D4 00057434 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8005A4D8 00057438 7F 83 E3 78 */ mr r3, r28
/* 8005A4DC 0005743C 7F A4 EB 78 */ mr r4, r29
/* 8005A4E0 00057440 7F E6 FB 78 */ mr r6, r31
/* 8005A4E4 00057444 B0 01 00 18 */ sth r0, 0x18(r1)
/* 8005A4E8 00057448 38 A1 00 18 */ addi r5, r1, 0x18
/* 8005A4EC 0005744C 4B FF 91 29 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 8005A4F0 00057450 A0 7C 00 EC */ lhz r3, 0xec(r28)
/* 8005A4F4 00057454 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8005A4F8 00057458 7C 03 00 40 */ cmplw r3, r0
/* 8005A4FC 0005745C 41 82 00 28 */ beq lbl_8005A524
/* 8005A500 00057460 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8005A504 00057464 7F E3 FB 78 */ mr r3, r31
/* 8005A508 00057468 7F A6 EB 78 */ mr r6, r29
/* 8005A50C 0005746C 38 81 00 14 */ addi r4, r1, 0x14
/* 8005A510 00057470 B0 01 00 10 */ sth r0, 0x10(r1)
/* 8005A514 00057474 38 A1 00 10 */ addi r5, r1, 0x10
/* 8005A518 00057478 A0 1C 00 EC */ lhz r0, 0xec(r28)
/* 8005A51C 0005747C B0 01 00 14 */ sth r0, 0x14(r1)
/* 8005A520 00057480 4B FE 99 35 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId
lbl_8005A524:
/* 8005A524 00057484 BA E1 00 AC */ lmw r23, 0xac(r1)
/* 8005A528 00057488 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 8005A52C 0005748C 7C 08 03 A6 */ mtlr r0
/* 8005A530 00057490 38 21 00 D0 */ addi r1, r1, 0xd0
/* 8005A534 00057494 4E 80 00 20 */ blr
.global Accept__10CExplosionFR8IVisitor
Accept__10CExplosionFR8IVisitor:
/* 8005A538 00057498 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005A53C 0005749C 7C 08 02 A6 */ mflr r0
/* 8005A540 000574A0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005A544 000574A4 7C 60 1B 78 */ mr r0, r3
/* 8005A548 000574A8 7C 83 23 78 */ mr r3, r4
/* 8005A54C 000574AC 81 84 00 00 */ lwz r12, 0(r4)
/* 8005A550 000574B0 7C 04 03 78 */ mr r4, r0
/* 8005A554 000574B4 81 8C 00 28 */ lwz r12, 0x28(r12)
/* 8005A558 000574B8 7D 89 03 A6 */ mtctr r12
/* 8005A55C 000574BC 4E 80 04 21 */ bctrl
/* 8005A560 000574C0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005A564 000574C4 7C 08 03 A6 */ mtlr r0
/* 8005A568 000574C8 38 21 00 10 */ addi r1, r1, 0x10
/* 8005A56C 000574CC 4E 80 00 20 */ blr
.global Think__10CExplosionFfR13CStateManager
Think__10CExplosionFfR13CStateManager:
/* 8005A570 000574D0 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 8005A574 000574D4 7C 08 02 A6 */ mflr r0
/* 8005A578 000574D8 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 8005A57C 000574DC DB E1 00 C0 */ stfd f31, 0xc0(r1)
/* 8005A580 000574E0 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0
/* 8005A584 000574E4 93 E1 00 BC */ stw r31, 0xbc(r1)
/* 8005A588 000574E8 93 C1 00 B8 */ stw r30, 0xb8(r1)
/* 8005A58C 000574EC 93 A1 00 B4 */ stw r29, 0xb4(r1)
/* 8005A590 000574F0 88 03 00 E4 */ lbz r0, 0xe4(r3)
/* 8005A594 000574F4 FF E0 08 90 */ fmr f31, f1
/* 8005A598 000574F8 7C 7D 1B 78 */ mr r29, r3
/* 8005A59C 000574FC 7C 9E 23 78 */ mr r30, r4
/* 8005A5A0 00057500 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 8005A5A4 00057504 41 82 00 6C */ beq lbl_8005A610
/* 8005A5A8 00057508 C0 5D 00 60 */ lfs f2, 0x60(r29)
/* 8005A5AC 0005750C 38 81 00 24 */ addi r4, r1, 0x24
/* 8005A5B0 00057510 C0 3D 00 50 */ lfs f1, 0x50(r29)
/* 8005A5B4 00057514 C0 1D 00 40 */ lfs f0, 0x40(r29)
/* 8005A5B8 00057518 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 8005A5BC 0005751C D0 21 00 28 */ stfs f1, 0x28(r1)
/* 8005A5C0 00057520 D0 41 00 2C */ stfs f2, 0x2c(r1)
/* 8005A5C4 00057524 80 7D 00 E8 */ lwz r3, 0xe8(r29)
/* 8005A5C8 00057528 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A5CC 0005752C 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8005A5D0 00057530 7D 89 03 A6 */ mtctr r12
/* 8005A5D4 00057534 4E 80 04 21 */ bctrl
/* 8005A5D8 00057538 83 FD 00 E8 */ lwz r31, 0xe8(r29)
/* 8005A5DC 0005753C 38 61 00 30 */ addi r3, r1, 0x30
/* 8005A5E0 00057540 38 9D 00 34 */ addi r4, r29, 0x34
/* 8005A5E4 00057544 48 2B 86 5D */ bl GetRotation__12CTransform4fCFv
/* 8005A5E8 00057548 7F E3 FB 78 */ mr r3, r31
/* 8005A5EC 0005754C 38 81 00 30 */ addi r4, r1, 0x30
/* 8005A5F0 00057550 81 9F 00 00 */ lwz r12, 0(r31)
/* 8005A5F4 00057554 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8005A5F8 00057558 7D 89 03 A6 */ mtctr r12
/* 8005A5FC 0005755C 4E 80 04 21 */ bctrl
/* 8005A600 00057560 88 1D 00 E4 */ lbz r0, 0xe4(r29)
/* 8005A604 00057564 38 60 00 00 */ li r3, 0
/* 8005A608 00057568 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 8005A60C 0005756C 98 1D 00 E4 */ stb r0, 0xe4(r29)
lbl_8005A610:
/* 8005A610 00057570 80 7D 00 E8 */ lwz r3, 0xe8(r29)
/* 8005A614 00057574 FC 20 F8 90 */ fmr f1, f31
/* 8005A618 00057578 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A61C 0005757C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8005A620 00057580 7D 89 03 A6 */ mtctr r12
/* 8005A624 00057584 4E 80 04 21 */ bctrl
/* 8005A628 00057588 A0 7D 00 EC */ lhz r3, 0xec(r29)
/* 8005A62C 0005758C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13)
/* 8005A630 00057590 7C 03 00 40 */ cmplw r3, r0
/* 8005A634 00057594 41 82 00 60 */ beq lbl_8005A694
/* 8005A638 00057598 A0 1D 00 EC */ lhz r0, 0xec(r29)
/* 8005A63C 0005759C 7F C3 F3 78 */ mr r3, r30
/* 8005A640 000575A0 38 81 00 18 */ addi r4, r1, 0x18
/* 8005A644 000575A4 B0 01 00 18 */ sth r0, 0x18(r1)
/* 8005A648 000575A8 4B FF 1F 2D */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8005A64C 000575AC 7C 64 1B 78 */ mr r4, r3
/* 8005A650 000575B0 38 61 00 1C */ addi r3, r1, 0x1c
/* 8005A654 000575B4 48 05 34 31 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity"
/* 8005A658 000575B8 83 E3 00 04 */ lwz r31, 4(r3)
/* 8005A65C 000575BC 28 1F 00 00 */ cmplwi r31, 0
/* 8005A660 000575C0 41 82 00 34 */ beq lbl_8005A694
/* 8005A664 000575C4 88 1D 00 30 */ lbz r0, 0x30(r29)
/* 8005A668 000575C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8005A66C 000575CC 41 82 00 28 */ beq lbl_8005A694
/* 8005A670 000575D0 80 9D 00 E8 */ lwz r4, 0xe8(r29)
/* 8005A674 000575D4 38 61 00 60 */ addi r3, r1, 0x60
/* 8005A678 000575D8 81 84 00 00 */ lwz r12, 0(r4)
/* 8005A67C 000575DC 81 8C 00 68 */ lwz r12, 0x68(r12)
/* 8005A680 000575E0 7D 89 03 A6 */ mtctr r12
/* 8005A684 000575E4 4E 80 04 21 */ bctrl
/* 8005A688 000575E8 7F E3 FB 78 */ mr r3, r31
/* 8005A68C 000575EC 38 81 00 60 */ addi r4, r1, 0x60
/* 8005A690 000575F0 48 05 B0 B5 */ bl SetLight__10CGameLightFRC6CLight
lbl_8005A694:
/* 8005A694 000575F4 C0 3D 00 F8 */ lfs f1, 0xf8(r29)
/* 8005A698 000575F8 C0 02 86 B0 */ lfs f0, lbl_805AA3D0@sda21(r2)
/* 8005A69C 000575FC EC 21 F8 2A */ fadds f1, f1, f31
/* 8005A6A0 00057600 D0 3D 00 F8 */ stfs f1, 0xf8(r29)
/* 8005A6A4 00057604 C0 3D 00 F8 */ lfs f1, 0xf8(r29)
/* 8005A6A8 00057608 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8005A6AC 0005760C 40 81 00 20 */ ble lbl_8005A6CC
/* 8005A6B0 00057610 A0 1D 00 08 */ lhz r0, 8(r29)
/* 8005A6B4 00057614 7F C3 F3 78 */ mr r3, r30
/* 8005A6B8 00057618 38 81 00 14 */ addi r4, r1, 0x14
/* 8005A6BC 0005761C B0 01 00 10 */ sth r0, 0x10(r1)
/* 8005A6C0 00057620 B0 01 00 14 */ sth r0, 0x14(r1)
/* 8005A6C4 00057624 4B FF 1B A9 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
/* 8005A6C8 00057628 48 00 00 38 */ b lbl_8005A700
lbl_8005A6CC:
/* 8005A6CC 0005762C 80 7D 00 E8 */ lwz r3, 0xe8(r29)
/* 8005A6D0 00057630 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A6D4 00057634 81 8C 00 58 */ lwz r12, 0x58(r12)
/* 8005A6D8 00057638 7D 89 03 A6 */ mtctr r12
/* 8005A6DC 0005763C 4E 80 04 21 */ bctrl
/* 8005A6E0 00057640 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8005A6E4 00057644 41 82 00 1C */ beq lbl_8005A700
/* 8005A6E8 00057648 A0 1D 00 08 */ lhz r0, 8(r29)
/* 8005A6EC 0005764C 7F C3 F3 78 */ mr r3, r30
/* 8005A6F0 00057650 38 81 00 0C */ addi r4, r1, 0xc
/* 8005A6F4 00057654 B0 01 00 08 */ sth r0, 8(r1)
/* 8005A6F8 00057658 B0 01 00 0C */ sth r0, 0xc(r1)
/* 8005A6FC 0005765C 4B FF 1B 71 */ bl FreeScriptObject__13CStateManagerF9TUniqueId
lbl_8005A700:
/* 8005A700 00057660 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0
/* 8005A704 00057664 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 8005A708 00057668 CB E1 00 C0 */ lfd f31, 0xc0(r1)
/* 8005A70C 0005766C 83 E1 00 BC */ lwz r31, 0xbc(r1)
/* 8005A710 00057670 83 C1 00 B8 */ lwz r30, 0xb8(r1)
/* 8005A714 00057674 83 A1 00 B4 */ lwz r29, 0xb4(r1)
/* 8005A718 00057678 7C 08 03 A6 */ mtlr r0
/* 8005A71C 0005767C 38 21 00 D0 */ addi r1, r1, 0xd0
/* 8005A720 00057680 4E 80 00 20 */ blr
.global PreRender__10CExplosionFR13CStateManagerRC14CFrustumPlanes
PreRender__10CExplosionFR13CStateManagerRC14CFrustumPlanes:
/* 8005A724 00057684 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8005A728 00057688 7C 08 02 A6 */ mflr r0
/* 8005A72C 0005768C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8005A730 00057690 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8005A734 00057694 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8005A738 00057698 7C BE 2B 78 */ mr r30, r5
/* 8005A73C 0005769C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8005A740 000576A0 7C 7D 1B 78 */ mr r29, r3
/* 8005A744 000576A4 4B FF A5 9D */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes
/* 8005A748 000576A8 88 1D 00 F4 */ lbz r0, 0xf4(r29)
/* 8005A74C 000576AC 3B E0 00 00 */ li r31, 0
/* 8005A750 000576B0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 8005A754 000576B4 41 82 00 18 */ beq lbl_8005A76C
/* 8005A758 000576B8 7F C3 F3 78 */ mr r3, r30
/* 8005A75C 000576BC 38 9D 00 9C */ addi r4, r29, 0x9c
/* 8005A760 000576C0 48 2E AA 71 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox
/* 8005A764 000576C4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8005A768 000576C8 40 82 00 08 */ bne lbl_8005A770
lbl_8005A76C:
/* 8005A76C 000576CC 3B E0 00 01 */ li r31, 1
lbl_8005A770:
/* 8005A770 000576D0 88 1D 00 E4 */ lbz r0, 0xe4(r29)
/* 8005A774 000576D4 53 E0 0F BC */ rlwimi r0, r31, 1, 0x1e, 0x1e
/* 8005A778 000576D8 98 1D 00 E4 */ stb r0, 0xe4(r29)
/* 8005A77C 000576DC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8005A780 000576E0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8005A784 000576E4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8005A788 000576E8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8005A78C 000576EC 7C 08 03 A6 */ mtlr r0
/* 8005A790 000576F0 38 21 00 20 */ addi r1, r1, 0x20
/* 8005A794 000576F4 4E 80 00 20 */ blr
.global AddToRenderer__10CExplosionCFRC14CFrustumPlanesRC13CStateManager
AddToRenderer__10CExplosionCFRC14CFrustumPlanesRC13CStateManager:
/* 8005A798 000576F8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8005A79C 000576FC 7C 08 02 A6 */ mflr r0
/* 8005A7A0 00057700 90 01 00 14 */ stw r0, 0x14(r1)
/* 8005A7A4 00057704 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8005A7A8 00057708 7C BF 2B 78 */ mr r31, r5
/* 8005A7AC 0005770C 93 C1 00 08 */ stw r30, 8(r1)
/* 8005A7B0 00057710 7C 7E 1B 78 */ mr r30, r3
/* 8005A7B4 00057714 88 03 00 E4 */ lbz r0, 0xe4(r3)
/* 8005A7B8 00057718 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f
/* 8005A7BC 0005771C 40 82 00 68 */ bne lbl_8005A824
/* 8005A7C0 00057720 88 1E 00 F4 */ lbz r0, 0xf4(r30)
/* 8005A7C4 00057724 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 8005A7C8 00057728 41 82 00 10 */ beq lbl_8005A7D8
/* 8005A7CC 0005772C 80 1F 0F 34 */ lwz r0, 0xf34(r31)
/* 8005A7D0 00057730 2C 00 00 00 */ cmpwi r0, 0
/* 8005A7D4 00057734 41 82 00 28 */ beq lbl_8005A7FC
lbl_8005A7D8:
/* 8005A7D8 00057738 88 1E 00 F4 */ lbz r0, 0xf4(r30)
/* 8005A7DC 0005773C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 8005A7E0 00057740 41 82 00 2C */ beq lbl_8005A80C
/* 8005A7E4 00057744 80 7F 08 B8 */ lwz r3, 0x8b8(r31)
/* 8005A7E8 00057748 7F E4 FB 78 */ mr r4, r31
/* 8005A7EC 0005774C 80 63 00 00 */ lwz r3, 0(r3)
/* 8005A7F0 00057750 48 03 6D 69 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager
/* 8005A7F4 00057754 2C 03 00 01 */ cmpwi r3, 1
/* 8005A7F8 00057758 40 82 00 14 */ bne lbl_8005A80C
lbl_8005A7FC:
/* 8005A7FC 0005775C 7F C3 F3 78 */ mr r3, r30
/* 8005A800 00057760 7F E4 FB 78 */ mr r4, r31
/* 8005A804 00057764 4B FF A1 C9 */ bl EnsureRendered__6CActorCFRC13CStateManager
/* 8005A808 00057768 48 00 00 1C */ b lbl_8005A824
lbl_8005A80C:
/* 8005A80C 0005776C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8005A810 00057770 80 9E 00 E8 */ lwz r4, 0xe8(r30)
/* 8005A814 00057774 81 83 00 00 */ lwz r12, 0(r3)
/* 8005A818 00057778 81 8C 00 34 */ lwz r12, 0x34(r12)
/* 8005A81C 0005777C 7D 89 03 A6 */ mtctr r12
/* 8005A820 00057780 4E 80 04 21 */ bctrl
lbl_8005A824:
/* 8005A824 00057784 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8005A828 00057788 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8005A82C 0005778C 83 C1 00 08 */ lwz r30, 8(r1)
/* 8005A830 00057790 7C 08 03 A6 */ mtlr r0
/* 8005A834 00057794 38 21 00 10 */ addi r1, r1, 0x10
/* 8005A838 00057798 4E 80 00 20 */ blr
.global __dt__10CExplosionFv
__dt__10CExplosionFv:
/* 8005A83C 0005779C 94 21 FF F0 */ stwu r1, -0x10(r1)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,542 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Accept__18CScriptRandomRelayFR8IVisitor
Accept__18CScriptRandomRelayFR8IVisitor:
/* 800E2784 000DF6E4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800E2788 000DF6E8 7C 08 02 A6 */ mflr r0
/* 800E278C 000DF6EC 90 01 00 14 */ stw r0, 0x14(r1)
/* 800E2790 000DF6F0 7C 60 1B 78 */ mr r0, r3
/* 800E2794 000DF6F4 7C 83 23 78 */ mr r3, r4
/* 800E2798 000DF6F8 81 84 00 00 */ lwz r12, 0(r4)
/* 800E279C 000DF6FC 7C 04 03 78 */ mr r4, r0
/* 800E27A0 000DF700 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 800E27A4 000DF704 7D 89 03 A6 */ mtctr r12
/* 800E27A8 000DF708 4E 80 04 21 */ bctrl
/* 800E27AC 000DF70C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800E27B0 000DF710 7C 08 03 A6 */ mtlr r0
/* 800E27B4 000DF714 38 21 00 10 */ addi r1, r1, 0x10
/* 800E27B8 000DF718 4E 80 00 20 */ blr
.global SendLocalScriptMsgs__18CScriptRandomRelayF18EScriptObjectStateR13CStateManager
SendLocalScriptMsgs__18CScriptRandomRelayF18EScriptObjectStateR13CStateManager:
/* 800E27BC 000DF71C 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 800E27C0 000DF720 7C 08 02 A6 */ mflr r0
/* 800E27C4 000DF724 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 800E27C8 000DF728 DB E1 00 C0 */ stfd f31, 0xc0(r1)
/* 800E27CC 000DF72C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0
/* 800E27D0 000DF730 DB C1 00 B0 */ stfd f30, 0xb0(r1)
/* 800E27D4 000DF734 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0
/* 800E27D8 000DF738 BE C1 00 88 */ stmw r22, 0x88(r1)
/* 800E27DC 000DF73C 7C 96 23 78 */ mr r22, r4
/* 800E27E0 000DF740 7C 7F 1B 78 */ mr r31, r3
/* 800E27E4 000DF744 2C 16 00 09 */ cmpwi r22, 9
/* 800E27E8 000DF748 7C B7 2B 78 */ mr r23, r5
/* 800E27EC 000DF74C 41 82 00 08 */ beq lbl_800E27F4
/* 800E27F0 000DF750 48 00 03 68 */ b lbl_800E2B58
lbl_800E27F4:
/* 800E27F4 000DF754 38 00 00 00 */ li r0, 0
/* 800E27F8 000DF758 38 61 00 54 */ addi r3, r1, 0x54
/* 800E27FC 000DF75C 90 01 00 58 */ stw r0, 0x58(r1)
/* 800E2800 000DF760 38 80 00 0A */ li r4, 0xa
/* 800E2804 000DF764 90 01 00 5C */ stw r0, 0x5c(r1)
/* 800E2808 000DF768 90 01 00 60 */ stw r0, 0x60(r1)
/* 800E280C 000DF76C 48 00 05 DD */ bl "reserve__Q24rstl82vector<Q24rstl38pair<P7CEntity,20EScriptObjectMessage>,Q24rstl17rmemory_allocator>Fi"
/* 800E2810 000DF770 83 9F 00 2C */ lwz r28, 0x2c(r31)
/* 800E2814 000DF774 48 00 01 18 */ b lbl_800E292C
lbl_800E2818:
/* 800E2818 000DF778 80 1C 00 00 */ lwz r0, 0(r28)
/* 800E281C 000DF77C 7C 16 00 00 */ cmpw r22, r0
/* 800E2820 000DF780 40 82 01 08 */ bne lbl_800E2928
/* 800E2824 000DF784 83 B7 08 10 */ lwz r29, 0x810(r23)
/* 800E2828 000DF788 7E E4 BB 78 */ mr r4, r23
/* 800E282C 000DF78C 80 1C 00 08 */ lwz r0, 8(r28)
/* 800E2830 000DF790 38 61 00 44 */ addi r3, r1, 0x44
/* 800E2834 000DF794 38 A1 00 30 */ addi r5, r1, 0x30
/* 800E2838 000DF798 90 01 00 30 */ stw r0, 0x30(r1)
/* 800E283C 000DF79C 4B F6 57 8D */ bl GetIdListForScript__13CStateManagerCF9TEditorId
/* 800E2840 000DF7A0 83 01 00 44 */ lwz r24, 0x44(r1)
/* 800E2844 000DF7A4 38 00 00 00 */ li r0, 0
/* 800E2848 000DF7A8 83 41 00 4C */ lwz r26, 0x4c(r1)
/* 800E284C 000DF7AC 83 61 00 48 */ lwz r27, 0x48(r1)
/* 800E2850 000DF7B0 7C 18 D0 40 */ cmplw r24, r26
/* 800E2854 000DF7B4 83 21 00 50 */ lwz r25, 0x50(r1)
/* 800E2858 000DF7B8 40 82 00 10 */ bne lbl_800E2868
/* 800E285C 000DF7BC 7C 1B C8 40 */ cmplw r27, r25
/* 800E2860 000DF7C0 40 82 00 08 */ bne lbl_800E2868
/* 800E2864 000DF7C4 38 00 00 01 */ li r0, 1
lbl_800E2868:
/* 800E2868 000DF7C8 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 800E286C 000DF7CC 40 82 00 BC */ bne lbl_800E2928
/* 800E2870 000DF7D0 48 00 00 98 */ b lbl_800E2908
lbl_800E2874:
/* 800E2874 000DF7D4 A0 18 00 14 */ lhz r0, 0x14(r24)
/* 800E2878 000DF7D8 7F A3 EB 78 */ mr r3, r29
/* 800E287C 000DF7DC 38 81 00 14 */ addi r4, r1, 0x14
/* 800E2880 000DF7E0 B0 01 00 14 */ sth r0, 0x14(r1)
/* 800E2884 000DF7E4 4B F2 D5 C5 */ bl GetObjectById__11CObjectListF9TUniqueId
/* 800E2888 000DF7E8 7C 7E 1B 79 */ or. r30, r3, r3
/* 800E288C 000DF7EC 41 82 00 6C */ beq lbl_800E28F8
/* 800E2890 000DF7F0 88 1E 00 30 */ lbz r0, 0x30(r30)
/* 800E2894 000DF7F4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800E2898 000DF7F8 41 82 00 60 */ beq lbl_800E28F8
/* 800E289C 000DF7FC 80 01 00 58 */ lwz r0, 0x58(r1)
/* 800E28A0 000DF800 80 A1 00 5C */ lwz r5, 0x5c(r1)
/* 800E28A4 000DF804 80 7C 00 04 */ lwz r3, 4(r28)
/* 800E28A8 000DF808 7C 00 28 00 */ cmpw r0, r5
/* 800E28AC 000DF80C 90 61 00 40 */ stw r3, 0x40(r1)
/* 800E28B0 000DF810 41 80 00 1C */ blt lbl_800E28CC
/* 800E28B4 000DF814 2C 05 00 00 */ cmpwi r5, 0
/* 800E28B8 000DF818 38 61 00 54 */ addi r3, r1, 0x54
/* 800E28BC 000DF81C 38 80 00 04 */ li r4, 4
/* 800E28C0 000DF820 41 82 00 08 */ beq lbl_800E28C8
/* 800E28C4 000DF824 54 A4 08 3C */ slwi r4, r5, 1
lbl_800E28C8:
/* 800E28C8 000DF828 48 00 05 21 */ bl "reserve__Q24rstl82vector<Q24rstl38pair<P7CEntity,20EScriptObjectMessage>,Q24rstl17rmemory_allocator>Fi"
lbl_800E28CC:
/* 800E28CC 000DF82C 80 01 00 58 */ lwz r0, 0x58(r1)
/* 800E28D0 000DF830 80 61 00 60 */ lwz r3, 0x60(r1)
/* 800E28D4 000DF834 54 00 18 38 */ slwi r0, r0, 3
/* 800E28D8 000DF838 7C 63 02 15 */ add. r3, r3, r0
/* 800E28DC 000DF83C 41 82 00 10 */ beq lbl_800E28EC
/* 800E28E0 000DF840 93 C3 00 00 */ stw r30, 0(r3)
/* 800E28E4 000DF844 80 01 00 40 */ lwz r0, 0x40(r1)
/* 800E28E8 000DF848 90 03 00 04 */ stw r0, 4(r3)
lbl_800E28EC:
/* 800E28EC 000DF84C 80 61 00 58 */ lwz r3, 0x58(r1)
/* 800E28F0 000DF850 38 03 00 01 */ addi r0, r3, 1
/* 800E28F4 000DF854 90 01 00 58 */ stw r0, 0x58(r1)
lbl_800E28F8:
/* 800E28F8 000DF858 7F 63 DB 78 */ mr r3, r27
/* 800E28FC 000DF85C 7F 04 C3 78 */ mr r4, r24
/* 800E2900 000DF860 48 25 9C E1 */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 800E2904 000DF864 7C 78 1B 78 */ mr r24, r3
lbl_800E2908:
/* 800E2908 000DF868 7C 18 D0 40 */ cmplw r24, r26
/* 800E290C 000DF86C 38 00 00 00 */ li r0, 0
/* 800E2910 000DF870 40 82 00 0C */ bne lbl_800E291C
/* 800E2914 000DF874 7C 1B C8 40 */ cmplw r27, r25
/* 800E2918 000DF878 41 82 00 08 */ beq lbl_800E2920
lbl_800E291C:
/* 800E291C 000DF87C 38 00 00 01 */ li r0, 1
lbl_800E2920:
/* 800E2920 000DF880 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 800E2924 000DF884 40 82 FF 50 */ bne lbl_800E2874
lbl_800E2928:
/* 800E2928 000DF888 3B 9C 00 0C */ addi r28, r28, 0xc
lbl_800E292C:
/* 800E292C 000DF88C 80 1F 00 24 */ lwz r0, 0x24(r31)
/* 800E2930 000DF890 80 7F 00 2C */ lwz r3, 0x2c(r31)
/* 800E2934 000DF894 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800E2938 000DF898 7C 03 02 14 */ add r0, r3, r0
/* 800E293C 000DF89C 7C 1C 00 40 */ cmplw r28, r0
/* 800E2940 000DF8A0 40 82 FE D8 */ bne lbl_800E2818
/* 800E2944 000DF8A4 38 00 00 00 */ li r0, 0
/* 800E2948 000DF8A8 80 81 00 58 */ lwz r4, 0x58(r1)
/* 800E294C 000DF8AC 90 01 00 38 */ stw r0, 0x38(r1)
/* 800E2950 000DF8B0 7C 98 23 78 */ mr r24, r4
/* 800E2954 000DF8B4 88 1F 00 3C */ lbz r0, 0x3c(r31)
/* 800E2958 000DF8B8 28 00 00 00 */ cmplwi r0, 0
/* 800E295C 000DF8BC 41 82 00 48 */ beq lbl_800E29A4
/* 800E2960 000DF8C0 80 7F 00 34 */ lwz r3, 0x34(r31)
/* 800E2964 000DF8C4 3C 00 43 30 */ lis r0, 0x4330
/* 800E2968 000DF8C8 90 01 00 68 */ stw r0, 0x68(r1)
/* 800E296C 000DF8CC 7C 04 19 D6 */ mullw r0, r4, r3
/* 800E2970 000DF8D0 C8 42 8F B8 */ lfd f2, lbl_805AACD8@sda21(r2)
/* 800E2974 000DF8D4 C0 02 8F AC */ lfs f0, lbl_805AACCC@sda21(r2)
/* 800E2978 000DF8D8 C0 62 8F A8 */ lfs f3, lbl_805AACC8@sda21(r2)
/* 800E297C 000DF8DC 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 800E2980 000DF8E0 90 01 00 6C */ stw r0, 0x6c(r1)
/* 800E2984 000DF8E4 C8 21 00 68 */ lfd f1, 0x68(r1)
/* 800E2988 000DF8E8 EC 21 10 28 */ fsubs f1, f1, f2
/* 800E298C 000DF8EC EC 01 00 24 */ fdivs f0, f1, f0
/* 800E2990 000DF8F0 EC 03 00 2A */ fadds f0, f3, f0
/* 800E2994 000DF8F4 FC 00 00 1E */ fctiwz f0, f0
/* 800E2998 000DF8F8 D8 01 00 70 */ stfd f0, 0x70(r1)
/* 800E299C 000DF8FC 80 01 00 74 */ lwz r0, 0x74(r1)
/* 800E29A0 000DF900 48 00 00 08 */ b lbl_800E29A8
lbl_800E29A4:
/* 800E29A4 000DF904 80 1F 00 34 */ lwz r0, 0x34(r31)
lbl_800E29A8:
/* 800E29A8 000DF908 90 01 00 38 */ stw r0, 0x38(r1)
/* 800E29AC 000DF90C 80 77 09 00 */ lwz r3, 0x900(r23)
/* 800E29B0 000DF910 48 22 FB 2D */ bl Float__9CRandom16Fv
/* 800E29B4 000DF914 80 BF 00 38 */ lwz r5, 0x38(r31)
/* 800E29B8 000DF918 3C 00 43 30 */ lis r0, 0x4330
/* 800E29BC 000DF91C C0 02 8F B0 */ lfs f0, lbl_805AACD0@sda21(r2)
/* 800E29C0 000DF920 6C A3 80 00 */ xoris r3, r5, 0x8000
/* 800E29C4 000DF924 90 01 00 78 */ stw r0, 0x78(r1)
/* 800E29C8 000DF928 C8 42 8F B8 */ lfd f2, lbl_805AACD8@sda21(r2)
/* 800E29CC 000DF92C EC 20 00 72 */ fmuls f1, f0, f1
/* 800E29D0 000DF930 90 61 00 7C */ stw r3, 0x7c(r1)
/* 800E29D4 000DF934 C8 01 00 78 */ lfd f0, 0x78(r1)
/* 800E29D8 000DF938 EC 00 10 28 */ fsubs f0, f0, f2
/* 800E29DC 000DF93C EF C0 00 72 */ fmuls f30, f0, f1
/* 800E29E0 000DF940 F3 C1 D0 08 */ psq_st f30, 8(r1), 1, qr5
/* 800E29E4 000DF944 38 CD 87 70 */ addi r6, r13, lbl_805A7330@sda21
/* 800E29E8 000DF948 80 81 00 38 */ lwz r4, 0x38(r1)
/* 800E29EC 000DF94C A8 61 00 08 */ lha r3, 8(r1)
/* 800E29F0 000DF950 80 0D 87 70 */ lwz r0, lbl_805A7330@sda21(r13)
/* 800E29F4 000DF954 7C 65 18 50 */ subf r3, r5, r3
/* 800E29F8 000DF958 7C 64 1A 14 */ add r3, r4, r3
/* 800E29FC 000DF95C 7C 00 18 00 */ cmpw r0, r3
/* 800E2A00 000DF960 90 61 00 38 */ stw r3, 0x38(r1)
/* 800E2A04 000DF964 40 80 00 08 */ bge lbl_800E2A0C
/* 800E2A08 000DF968 38 C1 00 38 */ addi r6, r1, 0x38
lbl_800E2A0C:
/* 800E2A0C 000DF96C 80 6D 87 74 */ lwz r3, lbl_805A7334@sda21(r13)
/* 800E2A10 000DF970 80 06 00 00 */ lwz r0, 0(r6)
/* 800E2A14 000DF974 7C 03 00 00 */ cmpw r3, r0
/* 800E2A18 000DF978 40 80 00 08 */ bge lbl_800E2A20
/* 800E2A1C 000DF97C 38 CD 87 74 */ addi r6, r13, lbl_805A7334@sda21
lbl_800E2A20:
/* 800E2A20 000DF980 80 06 00 00 */ lwz r0, 0(r6)
/* 800E2A24 000DF984 3E C0 43 30 */ lis r22, 0x4330
/* 800E2A28 000DF988 CB C2 8F B8 */ lfd f30, lbl_805AACD8@sda21(r2)
/* 800E2A2C 000DF98C 90 01 00 38 */ stw r0, 0x38(r1)
/* 800E2A30 000DF990 C3 E2 8F B4 */ lfs f31, lbl_805AACD4@sda21(r2)
/* 800E2A34 000DF994 48 00 00 A0 */ b lbl_800E2AD4
lbl_800E2A38:
/* 800E2A38 000DF998 80 01 00 60 */ lwz r0, 0x60(r1)
/* 800E2A3C 000DF99C 80 77 09 00 */ lwz r3, 0x900(r23)
/* 800E2A40 000DF9A0 90 01 00 34 */ stw r0, 0x34(r1)
/* 800E2A44 000DF9A4 48 22 FA 99 */ bl Float__9CRandom16Fv
/* 800E2A48 000DF9A8 80 61 00 58 */ lwz r3, 0x58(r1)
/* 800E2A4C 000DF9AC 80 01 00 58 */ lwz r0, 0x58(r1)
/* 800E2A50 000DF9B0 6C 64 80 00 */ xoris r4, r3, 0x8000
/* 800E2A54 000DF9B4 92 C1 00 78 */ stw r22, 0x78(r1)
/* 800E2A58 000DF9B8 80 61 00 60 */ lwz r3, 0x60(r1)
/* 800E2A5C 000DF9BC 54 00 18 38 */ slwi r0, r0, 3
/* 800E2A60 000DF9C0 90 81 00 7C */ stw r4, 0x7c(r1)
/* 800E2A64 000DF9C4 7C 83 02 14 */ add r4, r3, r0
/* 800E2A68 000DF9C8 C8 01 00 78 */ lfd f0, 0x78(r1)
/* 800E2A6C 000DF9CC EC 00 F0 28 */ fsubs f0, f0, f30
/* 800E2A70 000DF9D0 EC 01 00 32 */ fmuls f0, f1, f0
/* 800E2A74 000DF9D4 EC 1F 00 32 */ fmuls f0, f31, f0
/* 800E2A78 000DF9D8 FC 00 00 1E */ fctiwz f0, f0
/* 800E2A7C 000DF9DC D8 01 00 70 */ stfd f0, 0x70(r1)
/* 800E2A80 000DF9E0 80 A1 00 74 */ lwz r5, 0x74(r1)
/* 800E2A84 000DF9E4 7C A9 03 A6 */ mtctr r5
/* 800E2A88 000DF9E8 2C 05 00 00 */ cmpwi r5, 0
/* 800E2A8C 000DF9EC 40 81 00 20 */ ble lbl_800E2AAC
lbl_800E2A90:
/* 800E2A90 000DF9F0 80 61 00 34 */ lwz r3, 0x34(r1)
/* 800E2A94 000DF9F4 38 03 00 08 */ addi r0, r3, 8
/* 800E2A98 000DF9F8 7C 04 00 40 */ cmplw r4, r0
/* 800E2A9C 000DF9FC 90 01 00 34 */ stw r0, 0x34(r1)
/* 800E2AA0 000DFA00 41 82 00 0C */ beq lbl_800E2AAC
/* 800E2AA4 000DFA04 38 A5 FF FF */ addi r5, r5, -1
/* 800E2AA8 000DFA08 42 00 FF E8 */ bdnz lbl_800E2A90
lbl_800E2AAC:
/* 800E2AAC 000DFA0C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800E2AB0 000DFA10 7C 04 00 40 */ cmplw r4, r0
/* 800E2AB4 000DFA14 41 82 00 20 */ beq lbl_800E2AD4
/* 800E2AB8 000DFA18 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800E2ABC 000DFA1C 38 61 00 2C */ addi r3, r1, 0x2c
/* 800E2AC0 000DFA20 38 81 00 54 */ addi r4, r1, 0x54
/* 800E2AC4 000DFA24 38 A1 00 28 */ addi r5, r1, 0x28
/* 800E2AC8 000DFA28 90 01 00 28 */ stw r0, 0x28(r1)
/* 800E2ACC 000DFA2C 48 00 00 B9 */ bl sub_800e2b84
/* 800E2AD0 000DFA30 3B 18 FF FF */ addi r24, r24, -1
lbl_800E2AD4:
/* 800E2AD4 000DFA34 80 01 00 38 */ lwz r0, 0x38(r1)
/* 800E2AD8 000DFA38 7C 18 00 00 */ cmpw r24, r0
/* 800E2ADC 000DFA3C 41 81 FF 5C */ bgt lbl_800E2A38
/* 800E2AE0 000DFA40 82 C1 00 60 */ lwz r22, 0x60(r1)
/* 800E2AE4 000DFA44 48 00 00 28 */ b lbl_800E2B0C
lbl_800E2AE8:
/* 800E2AE8 000DFA48 A0 1F 00 08 */ lhz r0, 8(r31)
/* 800E2AEC 000DFA4C 7E E3 BB 78 */ mr r3, r23
/* 800E2AF0 000DFA50 38 A1 00 10 */ addi r5, r1, 0x10
/* 800E2AF4 000DFA54 B0 01 00 10 */ sth r0, 0x10(r1)
/* 800E2AF8 000DFA58 B0 01 00 0C */ sth r0, 0xc(r1)
/* 800E2AFC 000DFA5C 80 96 00 00 */ lwz r4, 0(r22)
/* 800E2B00 000DFA60 80 D6 00 04 */ lwz r6, 4(r22)
/* 800E2B04 000DFA64 4B F6 13 CD */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage
/* 800E2B08 000DFA68 3A D6 00 08 */ addi r22, r22, 8
lbl_800E2B0C:
/* 800E2B0C 000DFA6C 80 01 00 58 */ lwz r0, 0x58(r1)
/* 800E2B10 000DFA70 80 61 00 60 */ lwz r3, 0x60(r1)
/* 800E2B14 000DFA74 54 00 18 38 */ slwi r0, r0, 3
/* 800E2B18 000DFA78 7C 03 02 14 */ add r0, r3, r0
/* 800E2B1C 000DFA7C 7C 00 B0 40 */ cmplw r0, r22
/* 800E2B20 000DFA80 40 82 FF C8 */ bne lbl_800E2AE8
/* 800E2B24 000DFA84 90 01 00 24 */ stw r0, 0x24(r1)
/* 800E2B28 000DFA88 7C 64 1B 78 */ mr r4, r3
/* 800E2B2C 000DFA8C 90 01 00 20 */ stw r0, 0x20(r1)
/* 800E2B30 000DFA90 90 61 00 1C */ stw r3, 0x1c(r1)
/* 800E2B34 000DFA94 90 61 00 18 */ stw r3, 0x18(r1)
/* 800E2B38 000DFA98 48 00 00 08 */ b lbl_800E2B40
lbl_800E2B3C:
/* 800E2B3C 000DFA9C 38 84 00 08 */ addi r4, r4, 8
lbl_800E2B40:
/* 800E2B40 000DFAA0 7C 04 00 40 */ cmplw r4, r0
/* 800E2B44 000DFAA4 40 82 FF F8 */ bne lbl_800E2B3C
/* 800E2B48 000DFAA8 28 03 00 00 */ cmplwi r3, 0
/* 800E2B4C 000DFAAC 41 82 00 14 */ beq lbl_800E2B60
/* 800E2B50 000DFAB0 48 23 2D E1 */ bl Free__7CMemoryFPCv
/* 800E2B54 000DFAB4 48 00 00 0C */ b lbl_800E2B60
lbl_800E2B58:
/* 800E2B58 000DFAB8 38 C0 FF FF */ li r6, -1
/* 800E2B5C 000DFABC 4B F6 E5 65 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
lbl_800E2B60:
/* 800E2B60 000DFAC0 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0
/* 800E2B64 000DFAC4 CB E1 00 C0 */ lfd f31, 0xc0(r1)
/* 800E2B68 000DFAC8 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0
/* 800E2B6C 000DFACC CB C1 00 B0 */ lfd f30, 0xb0(r1)
/* 800E2B70 000DFAD0 BA C1 00 88 */ lmw r22, 0x88(r1)
/* 800E2B74 000DFAD4 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 800E2B78 000DFAD8 7C 08 03 A6 */ mtlr r0
/* 800E2B7C 000DFADC 38 21 00 D0 */ addi r1, r1, 0xd0
/* 800E2B80 000DFAE0 4E 80 00 20 */ blr
.global sub_800e2b84
sub_800e2b84:
/* 800E2B84 000DFAE4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800E2B88 000DFAE8 7C 08 02 A6 */ mflr r0
/* 800E2B8C 000DFAEC 90 01 00 24 */ stw r0, 0x24(r1)
/* 800E2B90 000DFAF0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800E2B94 000DFAF4 7C 7F 1B 78 */ mr r31, r3
/* 800E2B98 000DFAF8 80 C5 00 00 */ lwz r6, 0(r5)
/* 800E2B9C 000DFAFC 80 05 00 00 */ lwz r0, 0(r5)
/* 800E2BA0 000DFB00 38 A1 00 10 */ addi r5, r1, 0x10
/* 800E2BA4 000DFB04 38 E6 00 08 */ addi r7, r6, 8
/* 800E2BA8 000DFB08 38 C1 00 0C */ addi r6, r1, 0xc
/* 800E2BAC 000DFB0C 90 E1 00 08 */ stw r7, 8(r1)
/* 800E2BB0 000DFB10 90 E1 00 0C */ stw r7, 0xc(r1)
/* 800E2BB4 000DFB14 90 01 00 10 */ stw r0, 0x10(r1)
/* 800E2BB8 000DFB18 48 00 00 19 */ bl sub_800e2bd0
/* 800E2BBC 000DFB1C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800E2BC0 000DFB20 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800E2BC4 000DFB24 7C 08 03 A6 */ mtlr r0
/* 800E2BC8 000DFB28 38 21 00 20 */ addi r1, r1, 0x20
/* 800E2BCC 000DFB2C 4E 80 00 20 */ blr
.global sub_800e2bd0
sub_800e2bd0:
/* 800E2BD0 000DFB30 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800E2BD4 000DFB34 80 E5 00 00 */ lwz r7, 0(r5)
/* 800E2BD8 000DFB38 80 06 00 00 */ lwz r0, 0(r6)
/* 800E2BDC 000DFB3C 90 E1 00 0C */ stw r7, 0xc(r1)
/* 800E2BE0 000DFB40 90 01 00 08 */ stw r0, 8(r1)
/* 800E2BE4 000DFB44 48 00 00 08 */ b lbl_800E2BEC
lbl_800E2BE8:
/* 800E2BE8 000DFB48 38 E7 00 08 */ addi r7, r7, 8
lbl_800E2BEC:
/* 800E2BEC 000DFB4C 7C 07 00 40 */ cmplw r7, r0
/* 800E2BF0 000DFB50 40 82 FF F8 */ bne lbl_800E2BE8
/* 800E2BF4 000DFB54 81 04 00 0C */ lwz r8, 0xc(r4)
/* 800E2BF8 000DFB58 80 05 00 00 */ lwz r0, 0(r5)
/* 800E2BFC 000DFB5C 80 E6 00 00 */ lwz r7, 0(r6)
/* 800E2C00 000DFB60 7C 08 00 50 */ subf r0, r8, r0
/* 800E2C04 000DFB64 7C 00 1E 70 */ srawi r0, r0, 3
/* 800E2C08 000DFB68 7C C0 01 94 */ addze r6, r0
/* 800E2C0C 000DFB6C 54 C0 18 38 */ slwi r0, r6, 3
/* 800E2C10 000DFB70 7C C9 33 78 */ mr r9, r6
/* 800E2C14 000DFB74 7D 08 02 14 */ add r8, r8, r0
/* 800E2C18 000DFB78 48 00 00 28 */ b lbl_800E2C40
lbl_800E2C1C:
/* 800E2C1C 000DFB7C 28 08 00 00 */ cmplwi r8, 0
/* 800E2C20 000DFB80 41 82 00 14 */ beq lbl_800E2C34
/* 800E2C24 000DFB84 80 07 00 00 */ lwz r0, 0(r7)
/* 800E2C28 000DFB88 90 08 00 00 */ stw r0, 0(r8)
/* 800E2C2C 000DFB8C 80 07 00 04 */ lwz r0, 4(r7)
/* 800E2C30 000DFB90 90 08 00 04 */ stw r0, 4(r8)
lbl_800E2C34:
/* 800E2C34 000DFB94 39 08 00 08 */ addi r8, r8, 8
/* 800E2C38 000DFB98 39 29 00 01 */ addi r9, r9, 1
/* 800E2C3C 000DFB9C 38 E7 00 08 */ addi r7, r7, 8
lbl_800E2C40:
/* 800E2C40 000DFBA0 80 04 00 04 */ lwz r0, 4(r4)
/* 800E2C44 000DFBA4 80 C4 00 0C */ lwz r6, 0xc(r4)
/* 800E2C48 000DFBA8 54 00 18 38 */ slwi r0, r0, 3
/* 800E2C4C 000DFBAC 7C 06 02 14 */ add r0, r6, r0
/* 800E2C50 000DFBB0 7C 07 00 40 */ cmplw r7, r0
/* 800E2C54 000DFBB4 40 82 FF C8 */ bne lbl_800E2C1C
/* 800E2C58 000DFBB8 91 24 00 04 */ stw r9, 4(r4)
/* 800E2C5C 000DFBBC 80 05 00 00 */ lwz r0, 0(r5)
/* 800E2C60 000DFBC0 90 03 00 00 */ stw r0, 0(r3)
/* 800E2C64 000DFBC4 38 21 00 10 */ addi r1, r1, 0x10
/* 800E2C68 000DFBC8 4E 80 00 20 */ blr
.global AcceptScriptMsg__18CScriptRandomRelayF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__18CScriptRandomRelayF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 800E2C6C 000DFBCC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800E2C70 000DFBD0 7C 08 02 A6 */ mflr r0
/* 800E2C74 000DFBD4 90 01 00 24 */ stw r0, 0x24(r1)
/* 800E2C78 000DFBD8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800E2C7C 000DFBDC 7C DF 33 78 */ mr r31, r6
/* 800E2C80 000DFBE0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800E2C84 000DFBE4 7C 9E 23 78 */ mr r30, r4
/* 800E2C88 000DFBE8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800E2C8C 000DFBEC 7C 7D 1B 78 */ mr r29, r3
/* 800E2C90 000DFBF0 A0 05 00 00 */ lhz r0, 0(r5)
/* 800E2C94 000DFBF4 38 A1 00 08 */ addi r5, r1, 8
/* 800E2C98 000DFBF8 B0 01 00 08 */ sth r0, 8(r1)
/* 800E2C9C 000DFBFC 4B F6 E4 C1 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 800E2CA0 000DFC00 2C 1E 00 0D */ cmpwi r30, 0xd
/* 800E2CA4 000DFC04 41 82 00 08 */ beq lbl_800E2CAC
/* 800E2CA8 000DFC08 48 00 00 20 */ b lbl_800E2CC8
lbl_800E2CAC:
/* 800E2CAC 000DFC0C 88 1D 00 30 */ lbz r0, 0x30(r29)
/* 800E2CB0 000DFC10 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800E2CB4 000DFC14 41 82 00 14 */ beq lbl_800E2CC8
/* 800E2CB8 000DFC18 7F A3 EB 78 */ mr r3, r29
/* 800E2CBC 000DFC1C 7F E5 FB 78 */ mr r5, r31
/* 800E2CC0 000DFC20 38 80 00 09 */ li r4, 9
/* 800E2CC4 000DFC24 4B FF FA F9 */ bl SendLocalScriptMsgs__18CScriptRandomRelayF18EScriptObjectStateR13CStateManager
lbl_800E2CC8:
/* 800E2CC8 000DFC28 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800E2CCC 000DFC2C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800E2CD0 000DFC30 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800E2CD4 000DFC34 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800E2CD8 000DFC38 7C 08 03 A6 */ mtlr r0
/* 800E2CDC 000DFC3C 38 21 00 20 */ addi r1, r1, 0x20
/* 800E2CE0 000DFC40 4E 80 00 20 */ blr
.global __dt__18CScriptRandomRelayFv
__dt__18CScriptRandomRelayFv:
/* 800E2CE4 000DFC44 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800E2CE8 000DFC48 7C 08 02 A6 */ mflr r0
/* 800E2CEC 000DFC4C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800E2CF0 000DFC50 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800E2CF4 000DFC54 7C 9F 23 78 */ mr r31, r4
/* 800E2CF8 000DFC58 93 C1 00 08 */ stw r30, 8(r1)
/* 800E2CFC 000DFC5C 7C 7E 1B 79 */ or. r30, r3, r3
/* 800E2D00 000DFC60 41 82 00 28 */ beq lbl_800E2D28
/* 800E2D04 000DFC64 3C A0 80 3E */ lis r5, lbl_803DF870@ha
/* 800E2D08 000DFC68 38 80 00 00 */ li r4, 0
/* 800E2D0C 000DFC6C 38 05 F8 70 */ addi r0, r5, lbl_803DF870@l
/* 800E2D10 000DFC70 90 1E 00 00 */ stw r0, 0(r30)
/* 800E2D14 000DFC74 4B F6 E5 61 */ bl __dt__7CEntityFv
/* 800E2D18 000DFC78 7F E0 07 35 */ extsh. r0, r31
/* 800E2D1C 000DFC7C 40 81 00 0C */ ble lbl_800E2D28
/* 800E2D20 000DFC80 7F C3 F3 78 */ mr r3, r30
/* 800E2D24 000DFC84 48 23 2C 0D */ bl Free__7CMemoryFPCv
lbl_800E2D28:
/* 800E2D28 000DFC88 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800E2D2C 000DFC8C 7F C3 F3 78 */ mr r3, r30
/* 800E2D30 000DFC90 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800E2D34 000DFC94 83 C1 00 08 */ lwz r30, 8(r1)
/* 800E2D38 000DFC98 7C 08 03 A6 */ mtlr r0
/* 800E2D3C 000DFC9C 38 21 00 10 */ addi r1, r1, 0x10
/* 800E2D40 000DFCA0 4E 80 00 20 */ blr
.global "__ct__18CScriptRandomRelayF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoiibb"
"__ct__18CScriptRandomRelayF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoiibb":
/* 800E2D44 000DFCA4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800E2D48 000DFCA8 7C 08 02 A6 */ mflr r0
/* 800E2D4C 000DFCAC 90 01 00 24 */ stw r0, 0x24(r1)
/* 800E2D50 000DFCB0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800E2D54 000DFCB4 7D 3F 4B 78 */ mr r31, r9
/* 800E2D58 000DFCB8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800E2D5C 000DFCBC 7D 1E 43 78 */ mr r30, r8
/* 800E2D60 000DFCC0 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800E2D64 000DFCC4 7C FD 3B 78 */ mr r29, r7
/* 800E2D68 000DFCC8 93 81 00 10 */ stw r28, 0x10(r1)
/* 800E2D6C 000DFCCC 7C 7C 1B 78 */ mr r28, r3
/* 800E2D70 000DFCD0 A0 04 00 00 */ lhz r0, 0(r4)
/* 800E2D74 000DFCD4 7C A4 2B 78 */ mr r4, r5
/* 800E2D78 000DFCD8 7C C5 33 78 */ mr r5, r6
/* 800E2D7C 000DFCDC 7D 46 53 78 */ mr r6, r10
/* 800E2D80 000DFCE0 B0 01 00 08 */ sth r0, 8(r1)
/* 800E2D84 000DFCE4 7C 87 23 78 */ mr r7, r4
/* 800E2D88 000DFCE8 38 81 00 08 */ addi r4, r1, 8
/* 800E2D8C 000DFCEC 4B F6 E5 99 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 800E2D90 000DFCF0 3C 60 80 3E */ lis r3, lbl_803DF870@ha
/* 800E2D94 000DFCF4 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 800E2D98 000DFCF8 38 63 F8 70 */ addi r3, r3, lbl_803DF870@l
/* 800E2D9C 000DFCFC 90 7C 00 00 */ stw r3, 0(r28)
/* 800E2DA0 000DFD00 93 BC 00 34 */ stw r29, 0x34(r28)
/* 800E2DA4 000DFD04 93 DC 00 38 */ stw r30, 0x38(r28)
/* 800E2DA8 000DFD08 9B FC 00 3C */ stb r31, 0x3c(r28)
/* 800E2DAC 000DFD0C 41 82 00 18 */ beq lbl_800E2DC4
/* 800E2DB0 000DFD10 80 1C 00 34 */ lwz r0, 0x34(r28)
/* 800E2DB4 000DFD14 2C 00 00 64 */ cmpwi r0, 0x64
/* 800E2DB8 000DFD18 40 81 00 0C */ ble lbl_800E2DC4
/* 800E2DBC 000DFD1C 38 00 00 64 */ li r0, 0x64
/* 800E2DC0 000DFD20 90 1C 00 34 */ stw r0, 0x34(r28)
lbl_800E2DC4:
/* 800E2DC4 000DFD24 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800E2DC8 000DFD28 7F 83 E3 78 */ mr r3, r28
/* 800E2DCC 000DFD2C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800E2DD0 000DFD30 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800E2DD4 000DFD34 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800E2DD8 000DFD38 83 81 00 10 */ lwz r28, 0x10(r1)
/* 800E2DDC 000DFD3C 7C 08 03 A6 */ mtlr r0
/* 800E2DE0 000DFD40 38 21 00 20 */ addi r1, r1, 0x20
/* 800E2DE4 000DFD44 4E 80 00 20 */ blr
.global "reserve__Q24rstl82vector<Q24rstl38pair<P7CEntity,20EScriptObjectMessage>,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl82vector<Q24rstl38pair<P7CEntity,20EScriptObjectMessage>,Q24rstl17rmemory_allocator>Fi":
/* 800E2DE8 000DFD48 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800E2DEC 000DFD4C 7C 08 02 A6 */ mflr r0
/* 800E2DF0 000DFD50 90 01 00 34 */ stw r0, 0x34(r1)
/* 800E2DF4 000DFD54 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800E2DF8 000DFD58 7C 9F 23 78 */ mr r31, r4
/* 800E2DFC 000DFD5C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800E2E00 000DFD60 7C 7E 1B 78 */ mr r30, r3
/* 800E2E04 000DFD64 93 A1 00 24 */ stw r29, 0x24(r1)
/* 800E2E08 000DFD68 80 03 00 08 */ lwz r0, 8(r3)
/* 800E2E0C 000DFD6C 7C 1F 00 00 */ cmpw r31, r0
/* 800E2E10 000DFD70 40 81 00 B0 */ ble lbl_800E2EC0
/* 800E2E14 000DFD74 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
/* 800E2E18 000DFD78 40 82 00 0C */ bne lbl_800E2E24
/* 800E2E1C 000DFD7C 3B A0 00 00 */ li r29, 0
/* 800E2E20 000DFD80 48 00 00 18 */ b lbl_800E2E38
lbl_800E2E24:
/* 800E2E24 000DFD84 3C 80 80 3D */ lis r4, lbl_803CE5C8@ha
/* 800E2E28 000DFD88 38 A0 00 00 */ li r5, 0
/* 800E2E2C 000DFD8C 38 84 E5 C8 */ addi r4, r4, lbl_803CE5C8@l
/* 800E2E30 000DFD90 48 23 29 E9 */ bl __nwa__FUlPCcPCc
/* 800E2E34 000DFD94 7C 7D 1B 78 */ mr r29, r3
lbl_800E2E38:
/* 800E2E38 000DFD98 80 1E 00 04 */ lwz r0, 4(r30)
/* 800E2E3C 000DFD9C 7F A4 EB 78 */ mr r4, r29
/* 800E2E40 000DFDA0 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 800E2E44 000DFDA4 54 00 18 38 */ slwi r0, r0, 3
/* 800E2E48 000DFDA8 7C 65 02 14 */ add r3, r5, r0
/* 800E2E4C 000DFDAC 90 A1 00 10 */ stw r5, 0x10(r1)
/* 800E2E50 000DFDB0 90 61 00 08 */ stw r3, 8(r1)
/* 800E2E54 000DFDB4 90 61 00 0C */ stw r3, 0xc(r1)
/* 800E2E58 000DFDB8 90 A1 00 14 */ stw r5, 0x14(r1)
/* 800E2E5C 000DFDBC 48 00 00 24 */ b lbl_800E2E80
lbl_800E2E60:
/* 800E2E60 000DFDC0 28 04 00 00 */ cmplwi r4, 0
/* 800E2E64 000DFDC4 41 82 00 14 */ beq lbl_800E2E78
/* 800E2E68 000DFDC8 80 05 00 00 */ lwz r0, 0(r5)
/* 800E2E6C 000DFDCC 90 04 00 00 */ stw r0, 0(r4)
/* 800E2E70 000DFDD0 80 05 00 04 */ lwz r0, 4(r5)
/* 800E2E74 000DFDD4 90 04 00 04 */ stw r0, 4(r4)
lbl_800E2E78:
/* 800E2E78 000DFDD8 38 84 00 08 */ addi r4, r4, 8
/* 800E2E7C 000DFDDC 38 A5 00 08 */ addi r5, r5, 8
lbl_800E2E80:
/* 800E2E80 000DFDE0 7C 05 18 40 */ cmplw r5, r3
/* 800E2E84 000DFDE4 40 82 FF DC */ bne lbl_800E2E60
/* 800E2E88 000DFDE8 80 1E 00 04 */ lwz r0, 4(r30)
/* 800E2E8C 000DFDEC 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 800E2E90 000DFDF0 54 00 18 38 */ slwi r0, r0, 3
/* 800E2E94 000DFDF4 7C 64 1B 78 */ mr r4, r3
/* 800E2E98 000DFDF8 7C 03 02 14 */ add r0, r3, r0
/* 800E2E9C 000DFDFC 48 00 00 08 */ b lbl_800E2EA4
lbl_800E2EA0:
/* 800E2EA0 000DFE00 38 84 00 08 */ addi r4, r4, 8
lbl_800E2EA4:
/* 800E2EA4 000DFE04 7C 04 00 40 */ cmplw r4, r0
/* 800E2EA8 000DFE08 40 82 FF F8 */ bne lbl_800E2EA0
/* 800E2EAC 000DFE0C 28 03 00 00 */ cmplwi r3, 0
/* 800E2EB0 000DFE10 41 82 00 08 */ beq lbl_800E2EB8
/* 800E2EB4 000DFE14 48 23 2A 7D */ bl Free__7CMemoryFPCv
lbl_800E2EB8:
/* 800E2EB8 000DFE18 93 BE 00 0C */ stw r29, 0xc(r30)
/* 800E2EBC 000DFE1C 93 FE 00 08 */ stw r31, 8(r30)
lbl_800E2EC0:
/* 800E2EC0 000DFE20 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800E2EC4 000DFE24 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800E2EC8 000DFE28 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 800E2ECC 000DFE2C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 800E2ED0 000DFE30 7C 08 03 A6 */ mtlr r0
/* 800E2ED4 000DFE34 38 21 00 30 */ addi r1, r1, 0x30
/* 800E2ED8 000DFE38 4E 80 00 20 */ blr

View File

@ -0,0 +1,301 @@
.include "macros.inc"
.section .text, "ax" # 0x80003640 - 0x803CB1C0
.global Accept__17CScriptSpawnPointFR8IVisitor
Accept__17CScriptSpawnPointFR8IVisitor:
/* 800E2378 000DF2D8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800E237C 000DF2DC 7C 08 02 A6 */ mflr r0
/* 800E2380 000DF2E0 90 01 00 14 */ stw r0, 0x14(r1)
/* 800E2384 000DF2E4 7C 60 1B 78 */ mr r0, r3
/* 800E2388 000DF2E8 7C 83 23 78 */ mr r3, r4
/* 800E238C 000DF2EC 81 84 00 00 */ lwz r12, 0(r4)
/* 800E2390 000DF2F0 7C 04 03 78 */ mr r4, r0
/* 800E2394 000DF2F4 81 8C 00 B0 */ lwz r12, 0xb0(r12)
/* 800E2398 000DF2F8 7D 89 03 A6 */ mtctr r12
/* 800E239C 000DF2FC 4E 80 04 21 */ bctrl
/* 800E23A0 000DF300 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800E23A4 000DF304 7C 08 03 A6 */ mtlr r0
/* 800E23A8 000DF308 38 21 00 10 */ addi r1, r1, 0x10
/* 800E23AC 000DF30C 4E 80 00 20 */ blr
.global AcceptScriptMsg__17CScriptSpawnPointF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__17CScriptSpawnPointF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 800E23B0 000DF310 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 800E23B4 000DF314 7C 08 02 A6 */ mflr r0
/* 800E23B8 000DF318 90 01 00 44 */ stw r0, 0x44(r1)
/* 800E23BC 000DF31C BF 61 00 2C */ stmw r27, 0x2c(r1)
/* 800E23C0 000DF320 7C 7C 1B 78 */ mr r28, r3
/* 800E23C4 000DF324 7C 9B 23 78 */ mr r27, r4
/* 800E23C8 000DF328 7C DD 33 78 */ mr r29, r6
/* 800E23CC 000DF32C A0 05 00 00 */ lhz r0, 0(r5)
/* 800E23D0 000DF330 38 A1 00 08 */ addi r5, r1, 8
/* 800E23D4 000DF334 B0 01 00 08 */ sth r0, 8(r1)
/* 800E23D8 000DF338 4B F6 ED 85 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 800E23DC 000DF33C 2C 1B 00 0D */ cmpwi r27, 0xd
/* 800E23E0 000DF340 41 82 00 70 */ beq lbl_800E2450
/* 800E23E4 000DF344 40 80 01 D0 */ bge lbl_800E25B4
/* 800E23E8 000DF348 2C 1B 00 0A */ cmpwi r27, 0xa
/* 800E23EC 000DF34C 41 82 00 08 */ beq lbl_800E23F4
/* 800E23F0 000DF350 48 00 01 C4 */ b lbl_800E25B4
lbl_800E23F4:
/* 800E23F4 000DF354 3B 60 00 00 */ li r27, 0
lbl_800E23F8:
/* 800E23F8 000DF358 80 BD 08 B8 */ lwz r5, 0x8b8(r29)
/* 800E23FC 000DF35C 7F 83 E3 78 */ mr r3, r28
/* 800E2400 000DF360 93 61 00 24 */ stw r27, 0x24(r1)
/* 800E2404 000DF364 38 81 00 24 */ addi r4, r1, 0x24
/* 800E2408 000DF368 83 C5 00 00 */ lwz r30, 0(r5)
/* 800E240C 000DF36C 48 00 01 BD */ bl GetPowerup__17CScriptSpawnPointCFRCQ212CPlayerState9EItemType
/* 800E2410 000DF370 7C 65 1B 78 */ mr r5, r3
/* 800E2414 000DF374 7F 64 DB 78 */ mr r4, r27
/* 800E2418 000DF378 7F C3 F3 78 */ mr r3, r30
/* 800E241C 000DF37C 4B FA FA 71 */ bl ReInitializePowerUp__12CPlayerStateFQ212CPlayerState9EItemTypei
/* 800E2420 000DF380 80 BD 08 B8 */ lwz r5, 0x8b8(r29)
/* 800E2424 000DF384 7F 83 E3 78 */ mr r3, r28
/* 800E2428 000DF388 38 81 00 24 */ addi r4, r1, 0x24
/* 800E242C 000DF38C 83 C5 00 00 */ lwz r30, 0(r5)
/* 800E2430 000DF390 48 00 01 99 */ bl GetPowerup__17CScriptSpawnPointCFRCQ212CPlayerState9EItemType
/* 800E2434 000DF394 7C 65 1B 78 */ mr r5, r3
/* 800E2438 000DF398 7F 64 DB 78 */ mr r4, r27
/* 800E243C 000DF39C 7F C3 F3 78 */ mr r3, r30
/* 800E2440 000DF3A0 4B FA F8 C1 */ bl ResetAndIncrPickUp__12CPlayerStateFQ212CPlayerState9EItemTypei
/* 800E2444 000DF3A4 3B 7B 00 01 */ addi r27, r27, 1
/* 800E2448 000DF3A8 2C 1B 00 29 */ cmpwi r27, 0x29
/* 800E244C 000DF3AC 41 80 FF AC */ blt lbl_800E23F8
lbl_800E2450:
/* 800E2450 000DF3B0 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 800E2454 000DF3B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800E2458 000DF3B8 41 82 01 5C */ beq lbl_800E25B4
/* 800E245C 000DF3BC 80 BC 00 04 */ lwz r5, 4(r28)
/* 800E2460 000DF3C0 80 1D 08 CC */ lwz r0, 0x8cc(r29)
/* 800E2464 000DF3C4 90 A1 00 20 */ stw r5, 0x20(r1)
/* 800E2468 000DF3C8 7C 00 28 00 */ cmpw r0, r5
/* 800E246C 000DF3CC 83 FD 08 4C */ lwz r31, 0x84c(r29)
/* 800E2470 000DF3D0 90 01 00 1C */ stw r0, 0x1c(r1)
/* 800E2474 000DF3D4 41 82 00 F8 */ beq lbl_800E256C
/* 800E2478 000DF3D8 80 9D 08 50 */ lwz r4, 0x850(r29)
/* 800E247C 000DF3DC 54 A3 18 38 */ slwi r3, r5, 3
/* 800E2480 000DF3E0 38 03 00 04 */ addi r0, r3, 4
/* 800E2484 000DF3E4 90 A1 00 18 */ stw r5, 0x18(r1)
/* 800E2488 000DF3E8 80 64 00 20 */ lwz r3, 0x20(r4)
/* 800E248C 000DF3EC 3B C0 00 00 */ li r30, 0
/* 800E2490 000DF3F0 7F 63 00 2E */ lwzx r27, r3, r0
/* 800E2494 000DF3F4 88 1B 00 F0 */ lbz r0, 0xf0(r27)
/* 800E2498 000DF3F8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800E249C 000DF3FC 41 82 00 10 */ beq lbl_800E24AC
/* 800E24A0 000DF400 80 7B 01 2C */ lwz r3, 0x12c(r27)
/* 800E24A4 000DF404 80 03 10 DC */ lwz r0, 0x10dc(r3)
/* 800E24A8 000DF408 48 00 00 08 */ b lbl_800E24B0
lbl_800E24AC:
/* 800E24AC 000DF40C 38 00 00 00 */ li r0, 0
lbl_800E24B0:
/* 800E24B0 000DF410 2C 00 00 00 */ cmpwi r0, 0
/* 800E24B4 000DF414 40 82 00 28 */ bne lbl_800E24DC
lbl_800E24B8:
/* 800E24B8 000DF418 7F 63 DB 78 */ mr r3, r27
/* 800E24BC 000DF41C 4B F7 C6 B5 */ bl TryTakingOutOfARAM__9CGameAreaFv
/* 800E24C0 000DF420 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800E24C4 000DF424 41 82 FF F4 */ beq lbl_800E24B8
/* 800E24C8 000DF428 80 BD 08 50 */ lwz r5, 0x850(r29)
/* 800E24CC 000DF42C 7F 64 DB 78 */ mr r4, r27
/* 800E24D0 000DF430 38 60 00 01 */ li r3, 1
/* 800E24D4 000DF434 4B FE 1C 09 */ bl PropogateAreaChain__6CWorldFQ29CGameArea15EOcclusionStateP9CGameAreaP6CWorld
/* 800E24D8 000DF438 3B C0 00 01 */ li r30, 1
lbl_800E24DC:
/* 800E24DC 000DF43C 80 01 00 20 */ lwz r0, 0x20(r1)
/* 800E24E0 000DF440 7F A3 EB 78 */ mr r3, r29
/* 800E24E4 000DF444 38 81 00 14 */ addi r4, r1, 0x14
/* 800E24E8 000DF448 90 01 00 14 */ stw r0, 0x14(r1)
/* 800E24EC 000DF44C 4B F6 9B E1 */ bl SetCurrentAreaId__13CStateManagerF7TAreaId
/* 800E24F0 000DF450 80 01 00 20 */ lwz r0, 0x20(r1)
/* 800E24F4 000DF454 7F A3 EB 78 */ mr r3, r29
/* 800E24F8 000DF458 7F E4 FB 78 */ mr r4, r31
/* 800E24FC 000DF45C 38 A1 00 10 */ addi r5, r1, 0x10
/* 800E2500 000DF460 90 01 00 10 */ stw r0, 0x10(r1)
/* 800E2504 000DF464 4B F6 2D 75 */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId
/* 800E2508 000DF468 7F E3 FB 78 */ mr r3, r31
/* 800E250C 000DF46C 7F A5 EB 78 */ mr r5, r29
/* 800E2510 000DF470 38 9C 00 34 */ addi r4, r28, 0x34
/* 800E2514 000DF474 38 C0 00 01 */ li r6, 1
/* 800E2518 000DF478 48 1A 2B 85 */ bl Teleport__7CPlayerFRC12CTransform4fR13CStateManagerb
/* 800E251C 000DF47C 88 1C 01 0C */ lbz r0, 0x10c(r28)
/* 800E2520 000DF480 7F E3 FB 78 */ mr r3, r31
/* 800E2524 000DF484 7F A5 EB 78 */ mr r5, r29
/* 800E2528 000DF488 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f
/* 800E252C 000DF48C 7C 04 00 D0 */ neg r0, r4
/* 800E2530 000DF490 7C 00 23 78 */ or r0, r0, r4
/* 800E2534 000DF494 54 04 0F FE */ srwi r4, r0, 0x1f
/* 800E2538 000DF498 4B F3 51 35 */ bl SetSpawnedMorphBallState__7CPlayerFQ27CPlayer21EPlayerMorphBallStateR13CStateManager
/* 800E253C 000DF49C 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 800E2540 000DF4A0 41 82 00 60 */ beq lbl_800E25A0
/* 800E2544 000DF4A4 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 800E2548 000DF4A8 38 60 00 00 */ li r3, 0
/* 800E254C 000DF4AC 80 BD 08 50 */ lwz r5, 0x850(r29)
/* 800E2550 000DF4B0 54 04 18 38 */ slwi r4, r0, 3
/* 800E2554 000DF4B4 90 01 00 0C */ stw r0, 0xc(r1)
/* 800E2558 000DF4B8 80 C5 00 20 */ lwz r6, 0x20(r5)
/* 800E255C 000DF4BC 38 04 00 04 */ addi r0, r4, 4
/* 800E2560 000DF4C0 7C 86 00 2E */ lwzx r4, r6, r0
/* 800E2564 000DF4C4 4B FE 1B 79 */ bl PropogateAreaChain__6CWorldFQ29CGameArea15EOcclusionStateP9CGameAreaP6CWorld
/* 800E2568 000DF4C8 48 00 00 38 */ b lbl_800E25A0
lbl_800E256C:
/* 800E256C 000DF4CC 7F E3 FB 78 */ mr r3, r31
/* 800E2570 000DF4D0 7F A5 EB 78 */ mr r5, r29
/* 800E2574 000DF4D4 38 9C 00 34 */ addi r4, r28, 0x34
/* 800E2578 000DF4D8 38 C0 00 01 */ li r6, 1
/* 800E257C 000DF4DC 48 1A 2B 21 */ bl Teleport__7CPlayerFRC12CTransform4fR13CStateManagerb
/* 800E2580 000DF4E0 88 1C 01 0C */ lbz r0, 0x10c(r28)
/* 800E2584 000DF4E4 7F E3 FB 78 */ mr r3, r31
/* 800E2588 000DF4E8 7F A5 EB 78 */ mr r5, r29
/* 800E258C 000DF4EC 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f
/* 800E2590 000DF4F0 7C 04 00 D0 */ neg r0, r4
/* 800E2594 000DF4F4 7C 00 23 78 */ or r0, r0, r4
/* 800E2598 000DF4F8 54 04 0F FE */ srwi r4, r0, 0x1f
/* 800E259C 000DF4FC 4B F3 50 D1 */ bl SetSpawnedMorphBallState__7CPlayerFQ27CPlayer21EPlayerMorphBallStateR13CStateManager
lbl_800E25A0:
/* 800E25A0 000DF500 7F 83 E3 78 */ mr r3, r28
/* 800E25A4 000DF504 7F A5 EB 78 */ mr r5, r29
/* 800E25A8 000DF508 38 80 00 09 */ li r4, 9
/* 800E25AC 000DF50C 38 C0 FF FF */ li r6, -1
/* 800E25B0 000DF510 4B F6 EB 11 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage
lbl_800E25B4:
/* 800E25B4 000DF514 BB 61 00 2C */ lmw r27, 0x2c(r1)
/* 800E25B8 000DF518 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800E25BC 000DF51C 7C 08 03 A6 */ mtlr r0
/* 800E25C0 000DF520 38 21 00 40 */ addi r1, r1, 0x40
/* 800E25C4 000DF524 4E 80 00 20 */ blr
.global GetPowerup__17CScriptSpawnPointCFRCQ212CPlayerState9EItemType
GetPowerup__17CScriptSpawnPointCFRCQ212CPlayerState9EItemType:
/* 800E25C8 000DF528 80 04 00 00 */ lwz r0, 0(r4)
/* 800E25CC 000DF52C 2C 00 00 29 */ cmpwi r0, 0x29
/* 800E25D0 000DF530 40 80 00 0C */ bge lbl_800E25DC
/* 800E25D4 000DF534 2C 00 00 00 */ cmpwi r0, 0
/* 800E25D8 000DF538 40 80 00 0C */ bge lbl_800E25E4
lbl_800E25DC:
/* 800E25DC 000DF53C 80 63 00 68 */ lwz r3, 0x68(r3)
/* 800E25E0 000DF540 4E 80 00 20 */ blr
lbl_800E25E4:
/* 800E25E4 000DF544 54 00 10 3A */ slwi r0, r0, 2
/* 800E25E8 000DF548 7C 63 02 14 */ add r3, r3, r0
/* 800E25EC 000DF54C 80 63 00 68 */ lwz r3, 0x68(r3)
/* 800E25F0 000DF550 4E 80 00 20 */ blr
.global GetTransform__17CScriptSpawnPointCFv
GetTransform__17CScriptSpawnPointCFv:
/* 800E25F4 000DF554 38 63 00 34 */ addi r3, r3, 0x34
/* 800E25F8 000DF558 4E 80 00 20 */ blr
.global __dt__17CScriptSpawnPointFv
__dt__17CScriptSpawnPointFv:
/* 800E25FC 000DF55C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800E2600 000DF560 7C 08 02 A6 */ mflr r0
/* 800E2604 000DF564 90 01 00 14 */ stw r0, 0x14(r1)
/* 800E2608 000DF568 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800E260C 000DF56C 7C 9F 23 78 */ mr r31, r4
/* 800E2610 000DF570 93 C1 00 08 */ stw r30, 8(r1)
/* 800E2614 000DF574 7C 7E 1B 79 */ or. r30, r3, r3
/* 800E2618 000DF578 41 82 00 88 */ beq lbl_800E26A0
/* 800E261C 000DF57C 3C 60 80 3E */ lis r3, lbl_803DF850@ha
/* 800E2620 000DF580 34 1E 00 64 */ addic. r0, r30, 0x64
/* 800E2624 000DF584 38 03 F8 50 */ addi r0, r3, lbl_803DF850@l
/* 800E2628 000DF588 90 1E 00 00 */ stw r0, 0(r30)
/* 800E262C 000DF58C 41 82 00 58 */ beq lbl_800E2684
/* 800E2630 000DF590 80 BE 00 64 */ lwz r5, 0x64(r30)
/* 800E2634 000DF594 38 60 00 00 */ li r3, 0
/* 800E2638 000DF598 2C 05 00 00 */ cmpwi r5, 0
/* 800E263C 000DF59C 40 81 00 40 */ ble lbl_800E267C
/* 800E2640 000DF5A0 2C 05 00 08 */ cmpwi r5, 8
/* 800E2644 000DF5A4 38 85 FF F8 */ addi r4, r5, -8
/* 800E2648 000DF5A8 40 81 00 20 */ ble lbl_800E2668
/* 800E264C 000DF5AC 38 04 00 07 */ addi r0, r4, 7
/* 800E2650 000DF5B0 54 00 E8 FE */ srwi r0, r0, 3
/* 800E2654 000DF5B4 7C 09 03 A6 */ mtctr r0
/* 800E2658 000DF5B8 2C 04 00 00 */ cmpwi r4, 0
/* 800E265C 000DF5BC 40 81 00 0C */ ble lbl_800E2668
lbl_800E2660:
/* 800E2660 000DF5C0 38 63 00 08 */ addi r3, r3, 8
/* 800E2664 000DF5C4 42 00 FF FC */ bdnz lbl_800E2660
lbl_800E2668:
/* 800E2668 000DF5C8 7C 03 28 50 */ subf r0, r3, r5
/* 800E266C 000DF5CC 7C 09 03 A6 */ mtctr r0
/* 800E2670 000DF5D0 7C 03 28 00 */ cmpw r3, r5
/* 800E2674 000DF5D4 40 80 00 08 */ bge lbl_800E267C
lbl_800E2678:
/* 800E2678 000DF5D8 42 00 00 00 */ bdnz lbl_800E2678
lbl_800E267C:
/* 800E267C 000DF5DC 38 00 00 00 */ li r0, 0
/* 800E2680 000DF5E0 90 1E 00 64 */ stw r0, 0x64(r30)
lbl_800E2684:
/* 800E2684 000DF5E4 7F C3 F3 78 */ mr r3, r30
/* 800E2688 000DF5E8 38 80 00 00 */ li r4, 0
/* 800E268C 000DF5EC 4B F6 EB E9 */ bl __dt__7CEntityFv
/* 800E2690 000DF5F0 7F E0 07 35 */ extsh. r0, r31
/* 800E2694 000DF5F4 40 81 00 0C */ ble lbl_800E26A0
/* 800E2698 000DF5F8 7F C3 F3 78 */ mr r3, r30
/* 800E269C 000DF5FC 48 23 32 95 */ bl Free__7CMemoryFPCv
lbl_800E26A0:
/* 800E26A0 000DF600 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800E26A4 000DF604 7F C3 F3 78 */ mr r3, r30
/* 800E26A8 000DF608 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800E26AC 000DF60C 83 C1 00 08 */ lwz r30, 8(r1)
/* 800E26B0 000DF610 7C 08 03 A6 */ mtlr r0
/* 800E26B4 000DF614 38 21 00 10 */ addi r1, r1, 0x10
/* 800E26B8 000DF618 4E 80 00 20 */ blr
.global "__ct__17CScriptSpawnPointF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fQ24rstl21reserved_vector<i,29>bbb"
"__ct__17CScriptSpawnPointF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fQ24rstl21reserved_vector<i,29>bbb":
/* 800E26BC 000DF61C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800E26C0 000DF620 7C 08 02 A6 */ mflr r0
/* 800E26C4 000DF624 90 01 00 34 */ stw r0, 0x34(r1)
/* 800E26C8 000DF628 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 800E26CC 000DF62C 7C FB 3B 78 */ mr r27, r7
/* 800E26D0 000DF630 8B C1 00 3B */ lbz r30, 0x3b(r1)
/* 800E26D4 000DF634 7C 7F 1B 78 */ mr r31, r3
/* 800E26D8 000DF638 7D 1C 43 78 */ mr r28, r8
/* 800E26DC 000DF63C 7D 3D 4B 78 */ mr r29, r9
/* 800E26E0 000DF640 A0 04 00 00 */ lhz r0, 0(r4)
/* 800E26E4 000DF644 7C A4 2B 78 */ mr r4, r5
/* 800E26E8 000DF648 7C C5 33 78 */ mr r5, r6
/* 800E26EC 000DF64C 7D 46 53 78 */ mr r6, r10
/* 800E26F0 000DF650 B0 01 00 08 */ sth r0, 8(r1)
/* 800E26F4 000DF654 7C 87 23 78 */ mr r7, r4
/* 800E26F8 000DF658 38 81 00 08 */ addi r4, r1, 8
/* 800E26FC 000DF65C 4B F6 EC 29 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 800E2700 000DF660 3C 60 80 3E */ lis r3, lbl_803DF850@ha
/* 800E2704 000DF664 7F 64 DB 78 */ mr r4, r27
/* 800E2708 000DF668 38 03 F8 50 */ addi r0, r3, lbl_803DF850@l
/* 800E270C 000DF66C 38 7F 00 34 */ addi r3, r31, 0x34
/* 800E2710 000DF670 90 1F 00 00 */ stw r0, 0(r31)
/* 800E2714 000DF674 48 23 04 61 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 800E2718 000DF678 80 1C 00 00 */ lwz r0, 0(r28)
/* 800E271C 000DF67C 38 9F 00 68 */ addi r4, r31, 0x68
/* 800E2720 000DF680 38 7C 00 04 */ addi r3, r28, 4
/* 800E2724 000DF684 90 1F 00 64 */ stw r0, 0x64(r31)
/* 800E2728 000DF688 80 1F 00 64 */ lwz r0, 0x64(r31)
/* 800E272C 000DF68C 7C 09 03 A6 */ mtctr r0
/* 800E2730 000DF690 2C 00 00 00 */ cmpwi r0, 0
/* 800E2734 000DF694 40 81 00 20 */ ble lbl_800E2754
lbl_800E2738:
/* 800E2738 000DF698 28 04 00 00 */ cmplwi r4, 0
/* 800E273C 000DF69C 41 82 00 0C */ beq lbl_800E2748
/* 800E2740 000DF6A0 80 03 00 00 */ lwz r0, 0(r3)
/* 800E2744 000DF6A4 90 04 00 00 */ stw r0, 0(r4)
lbl_800E2748:
/* 800E2748 000DF6A8 38 84 00 04 */ addi r4, r4, 4
/* 800E274C 000DF6AC 38 63 00 04 */ addi r3, r3, 4
/* 800E2750 000DF6B0 42 00 FF E8 */ bdnz lbl_800E2738
lbl_800E2754:
/* 800E2754 000DF6B4 88 1F 01 0C */ lbz r0, 0x10c(r31)
/* 800E2758 000DF6B8 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18
/* 800E275C 000DF6BC 7F E3 FB 78 */ mr r3, r31
/* 800E2760 000DF6C0 98 1F 01 0C */ stb r0, 0x10c(r31)
/* 800E2764 000DF6C4 88 1F 01 0C */ lbz r0, 0x10c(r31)
/* 800E2768 000DF6C8 53 C0 36 72 */ rlwimi r0, r30, 6, 0x19, 0x19
/* 800E276C 000DF6CC 98 1F 01 0C */ stb r0, 0x10c(r31)
/* 800E2770 000DF6D0 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 800E2774 000DF6D4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800E2778 000DF6D8 7C 08 03 A6 */ mtlr r0
/* 800E277C 000DF6DC 38 21 00 30 */ addi r1, r1, 0x30
/* 800E2780 000DF6E0 4E 80 00 20 */ blr

View File

@ -1 +1 @@
4bbbf68fad8f02c77244e73365a548a5587f779f
9e86b435708b84c932e4c5a3ab665b05f0077cef

View File

@ -27,8 +27,8 @@ KYOTO_CWD :=\
$(BUILD_DIR)/asm/Kyoto_CWD/CSplashScreen.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CInstruction.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CAnimData.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CCharacterFactory.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CAssetFactory.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Factories/CCharacterFactory.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Factories/CAssetFactory.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakPlayer.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweaks.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakGame.o\
@ -59,31 +59,31 @@ KYOTO_CWD :=\
$(BUILD_DIR)/asm/Kyoto_CWD/CPauseScreenBase.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPauseScreen.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakGui.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptActor.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptTrigger.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptWaypoint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPatterned.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptDoor.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CStateMachine.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptActor.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptTrigger.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptWaypoint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CPatterned.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDoor.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CStateMachine.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CMapArea.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CBallCamera.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptEffect.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptEffect.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CBomb.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakBall.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPlayerState.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptTimer.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptTimer.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CCinematicCamera.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CAutoMapper.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptCounter.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCounter.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CMapWorld.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CAi.o\
$(BUILD_DIR)/asm/Kyoto_CWD/PatternedCastTo.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CAi.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/PatternedCastTo.o\
$(BUILD_DIR)/asm/Kyoto_CWD/TCastTo.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptSound.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptPlatform.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptSound.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptPlatform.o\
$(BUILD_DIR)/src/Kyoto_CWD/UserNames.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptGenerator.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptCameraWaypoint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptGenerator.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraWaypoint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CGameLight.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakTargeting.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakAutoMapper.o\
@ -93,21 +93,24 @@ KYOTO_CWD :=\
$(BUILD_DIR)/asm/Kyoto_CWD/CTweakGunRes.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CTargetReticles.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CWeaponMgr.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptPickup.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptPickup.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CDamageInfo.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CMemoryDrawEnum.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptDock.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptCameraHint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDock.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraHint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CCameraHint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptLoader.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CSamusDoll.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CStateMachineFactory.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPlasmaBeam.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CPowerBeam.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CWaveBeam.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CIceBeam.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Factories/CStateMachineFactory.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CPlasmaBeam.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CPowerBeam.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CWaveBeam.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CIceBeam.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptMailbox.o\
$(BUILD_DIR)/asm/Kyoto_CWD/CScriptRelay.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptRelay.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptSpawnPoint.o\
$(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptRandomRelay.o\
$(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CBeetle.o\
AI_FILES :=\
$(BUILD_DIR)/asm/Dolphin/ai.o