.include "macros.inc" .section .sdata .balign 8 .global lbl_805A72A0 lbl_805A72A0: # ROM: 0x3F4C40 .4byte 0 .global lbl_805A72A4 lbl_805A72A4: # ROM: 0x3F4C44 .4byte 0 .global lbl_805A72A8 lbl_805A72A8: # ROM: 0x3F4C48 .4byte 0 .global lbl_805A72AC lbl_805A72AC: # ROM: 0x3F4C4C .4byte 0 .global lbl_805A72B0 lbl_805A72B0: # ROM: 0x3F4C50 .4byte 0 .global lbl_805A72B4 lbl_805A72B4: # ROM: 0x3F4C54 .4byte 0x0000002B .global lbl_805A72B8 lbl_805A72B8: # ROM: 0x3F4C58 .4byte 0x00000013 .global lbl_805A72BC lbl_805A72BC: # ROM: 0x3F4C5C .4byte 0x0000002B .global lbl_805A72C0 lbl_805A72C0: # ROM: 0x3F4C60 .4byte 0x00000032 .4byte 0 .section .sdata2, "a" .balign 8 .global lbl_805AAB48 lbl_805AAB48: # ROM: 0x3F73E8 .4byte 0 .global lbl_805AAB4C lbl_805AAB4C: # ROM: 0x3F73EC .4byte 0x40400000 .global lbl_805AAB50 lbl_805AAB50: # ROM: 0x3F73F0 .float 0.2 .global lbl_805AAB54 lbl_805AAB54: # ROM: 0x3F73F4 .float 0.4 .global lbl_805AAB58 lbl_805AAB58: # ROM: 0x3F73F8 .float 1.0 .4byte 0 .global lbl_805AAB60 lbl_805AAB60: # ROM: 0x3F7400 .double 4.503601774854144E15 .global lbl_805AAB68 lbl_805AAB68: # ROM: 0x3F7408 .4byte 0x43300000 .4byte 0 .global lbl_805AAB70 lbl_805AAB70: # ROM: 0x3F7410 .float 0.017453292 .global lbl_805AAB74 lbl_805AAB74: # ROM: 0x3F7414 .float 1.5 .global lbl_805AAB78 lbl_805AAB78: # ROM: 0x3F7418 .float 0.1 .global lbl_805AAB7C lbl_805AAB7C: # ROM: 0x3F741C .4byte 0x41800000 .global lbl_805AAB80 lbl_805AAB80: # ROM: 0x3F7420 .float 0.5 .global lbl_805AAB84 lbl_805AAB84: # ROM: 0x3F7424 .4byte 0xBF000000 .global lbl_805AAB88 lbl_805AAB88: # ROM: 0x3F7428 .4byte 0x3B808081 .global lbl_805AAB8C lbl_805AAB8C: # ROM: 0x3F742C .float -1.0 .global lbl_805AAB90 lbl_805AAB90: # ROM: 0x3F7430 .float 6.2831855 .global lbl_805AAB94 lbl_805AAB94: # ROM: 0x3F7434 .4byte 0x43B40000 .global lbl_805AAB98 lbl_805AAB98: # ROM: 0x3F7438 .4byte 0x40490FDB .global lbl_805AAB9C lbl_805AAB9C: # ROM: 0x3F743C .4byte 0x43340000 .section .text, "ax" .global LoadEnergyBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadEnergyBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C527C 000C21DC 94 21 FC 00 */ stwu r1, -0x400(r1) /* 800C5280 000C21E0 7C 08 02 A6 */ mflr r0 /* 800C5284 000C21E4 90 01 04 04 */ stw r0, 0x404(r1) /* 800C5288 000C21E8 DB E1 03 F0 */ stfd f31, 0x3f0(r1) /* 800C528C 000C21EC F3 E1 03 F8 */ psq_st f31, 1016(r1), 0, qr0 /* 800C5290 000C21F0 DB C1 03 E0 */ stfd f30, 0x3e0(r1) /* 800C5294 000C21F4 F3 C1 03 E8 */ psq_st f30, 1000(r1), 0, qr0 /* 800C5298 000C21F8 DB A1 03 D0 */ stfd f29, 0x3d0(r1) /* 800C529C 000C21FC F3 A1 03 D8 */ psq_st f29, 984(r1), 0, qr0 /* 800C52A0 000C2200 DB 81 03 C0 */ stfd f28, 0x3c0(r1) /* 800C52A4 000C2204 F3 81 03 C8 */ psq_st f28, 968(r1), 0, qr0 /* 800C52A8 000C2208 DB 61 03 B0 */ stfd f27, 0x3b0(r1) /* 800C52AC 000C220C F3 61 03 B8 */ psq_st f27, 952(r1), 0, qr0 /* 800C52B0 000C2210 BE A1 03 84 */ stmw r21, 0x384(r1) /* 800C52B4 000C2214 7C B8 2B 78 */ mr r24, r5 /* 800C52B8 000C2218 7C 75 1B 78 */ mr r21, r3 /* 800C52BC 000C221C 2C 18 00 10 */ cmpwi r24, 0x10 /* 800C52C0 000C2220 7C 96 23 78 */ mr r22, r4 /* 800C52C4 000C2224 7C D7 33 78 */ mr r23, r6 /* 800C52C8 000C2228 40 80 00 0C */ bge lbl_800C52D4 /* 800C52CC 000C222C 38 60 00 00 */ li r3, 0 /* 800C52D0 000C2230 48 00 03 10 */ b lbl_800C55E0 lbl_800C52D4: /* 800C52D4 000C2234 7E A5 AB 78 */ mr r5, r21 /* 800C52D8 000C2238 38 61 01 F0 */ addi r3, r1, 0x1f0 /* 800C52DC 000C223C 48 01 51 A1 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C52E0 000C2240 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C52E4 000C2244 7E C4 B3 78 */ mr r4, r22 /* 800C52E8 000C2248 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800C52EC 000C224C 38 61 00 40 */ addi r3, r1, 0x40 /* 800C52F0 000C2250 48 04 05 39 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800C52F4 000C2254 88 01 00 40 */ lbz r0, 0x40(r1) /* 800C52F8 000C2258 80 A1 00 44 */ lwz r5, 0x44(r1) /* 800C52FC 000C225C 28 00 00 00 */ cmplwi r0, 0 /* 800C5300 000C2260 40 82 00 14 */ bne lbl_800C5314 /* 800C5304 000C2264 38 61 01 F0 */ addi r3, r1, 0x1f0 /* 800C5308 000C2268 48 27 87 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C530C 000C226C 38 60 00 00 */ li r3, 0 /* 800C5310 000C2270 48 00 02 D0 */ b lbl_800C55E0 lbl_800C5314: /* 800C5314 000C2274 7E C4 B3 78 */ mr r4, r22 /* 800C5318 000C2278 38 61 02 3C */ addi r3, r1, 0x23c /* 800C531C 000C227C 48 04 05 5D */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800C5320 000C2280 80 61 03 28 */ lwz r3, 0x328(r1) /* 800C5324 000C2284 3C 03 00 01 */ addis r0, r3, 1 /* 800C5328 000C2288 28 00 FF FF */ cmplwi r0, 0xffff /* 800C532C 000C228C 40 82 00 14 */ bne lbl_800C5340 /* 800C5330 000C2290 38 61 01 F0 */ addi r3, r1, 0x1f0 /* 800C5334 000C2294 48 27 87 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C5338 000C2298 38 60 00 00 */ li r3, 0 /* 800C533C 000C229C 48 00 02 A4 */ b lbl_800C55E0 lbl_800C5340: /* 800C5340 000C22A0 7E C4 B3 78 */ mr r4, r22 /* 800C5344 000C22A4 38 61 01 20 */ addi r3, r1, 0x120 /* 800C5348 000C22A8 48 01 4A 2D */ bl LoadActorParameters__FR12CInputStream /* 800C534C 000C22AC 38 61 01 88 */ addi r3, r1, 0x188 /* 800C5350 000C22B0 38 81 01 20 */ addi r4, r1, 0x120 /* 800C5354 000C22B4 48 00 02 C9 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C5358 000C22B8 38 61 01 20 */ addi r3, r1, 0x120 /* 800C535C 000C22BC 38 80 FF FF */ li r4, -1 /* 800C5360 000C22C0 48 04 12 A9 */ bl __dt__16CLightParametersFv /* 800C5364 000C22C4 7E C3 B3 78 */ mr r3, r22 /* 800C5368 000C22C8 48 27 99 1D */ bl ReadLong__12CInputStreamFv /* 800C536C 000C22CC 7C 79 1B 78 */ mr r25, r3 /* 800C5370 000C22D0 7E C3 B3 78 */ mr r3, r22 /* 800C5374 000C22D4 48 27 98 B5 */ bl ReadFloat__12CInputStreamFv /* 800C5378 000C22D8 FF E0 08 90 */ fmr f31, f1 /* 800C537C 000C22DC 7E C4 B3 78 */ mr r4, r22 /* 800C5380 000C22E0 38 61 00 B8 */ addi r3, r1, 0xb8 /* 800C5384 000C22E4 4B FF E1 DD */ bl __ct__11CDamageInfoFR12CInputStream /* 800C5388 000C22E8 7E C3 B3 78 */ mr r3, r22 /* 800C538C 000C22EC 48 27 98 9D */ bl ReadFloat__12CInputStreamFv /* 800C5390 000C22F0 FF C0 08 90 */ fmr f30, f1 /* 800C5394 000C22F4 7E C3 B3 78 */ mr r3, r22 /* 800C5398 000C22F8 48 27 98 ED */ bl ReadLong__12CInputStreamFv /* 800C539C 000C22FC 7C 7A 1B 78 */ mr r26, r3 /* 800C53A0 000C2300 7E C3 B3 78 */ mr r3, r22 /* 800C53A4 000C2304 48 27 98 E1 */ bl ReadLong__12CInputStreamFv /* 800C53A8 000C2308 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 800C53AC 000C230C 48 22 36 05 */ bl TranslateSFXID__11CSfxManagerFUs /* 800C53B0 000C2310 7C 7B 1B 78 */ mr r27, r3 /* 800C53B4 000C2314 7E C3 B3 78 */ mr r3, r22 /* 800C53B8 000C2318 48 27 98 CD */ bl ReadLong__12CInputStreamFv /* 800C53BC 000C231C 7C 7C 1B 78 */ mr r28, r3 /* 800C53C0 000C2320 7E C3 B3 78 */ mr r3, r22 /* 800C53C4 000C2324 48 27 98 C1 */ bl ReadLong__12CInputStreamFv /* 800C53C8 000C2328 7C 7D 1B 78 */ mr r29, r3 /* 800C53CC 000C232C 7E C3 B3 78 */ mr r3, r22 /* 800C53D0 000C2330 48 27 98 B5 */ bl ReadLong__12CInputStreamFv /* 800C53D4 000C2334 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 800C53D8 000C2338 48 22 35 D9 */ bl TranslateSFXID__11CSfxManagerFUs /* 800C53DC 000C233C 7C 7E 1B 78 */ mr r30, r3 /* 800C53E0 000C2340 7E C3 B3 78 */ mr r3, r22 /* 800C53E4 000C2344 48 27 98 45 */ bl ReadFloat__12CInputStreamFv /* 800C53E8 000C2348 FF A0 08 90 */ fmr f29, f1 /* 800C53EC 000C234C 7E C3 B3 78 */ mr r3, r22 /* 800C53F0 000C2350 48 27 98 39 */ bl ReadFloat__12CInputStreamFv /* 800C53F4 000C2354 FF 80 08 90 */ fmr f28, f1 /* 800C53F8 000C2358 7E C3 B3 78 */ mr r3, r22 /* 800C53FC 000C235C 48 27 98 89 */ bl ReadLong__12CInputStreamFv /* 800C5400 000C2360 2C 18 00 13 */ cmpwi r24, 0x13 /* 800C5404 000C2364 7C 7F 1B 78 */ mr r31, r3 /* 800C5408 000C2368 41 80 00 14 */ blt lbl_800C541C /* 800C540C 000C236C 7E C4 B3 78 */ mr r4, r22 /* 800C5410 000C2370 38 61 00 80 */ addi r3, r1, 0x80 /* 800C5414 000C2374 4B FF E1 4D */ bl __ct__11CDamageInfoFR12CInputStream /* 800C5418 000C2378 48 00 00 60 */ b lbl_800C5478 lbl_800C541C: /* 800C541C 000C237C 88 01 00 3C */ lbz r0, 0x3c(r1) /* 800C5420 000C2380 38 A0 00 00 */ li r5, 0 /* 800C5424 000C2384 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 800C5428 000C2388 C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) /* 800C542C 000C238C 98 01 00 3C */ stb r0, 0x3c(r1) /* 800C5430 000C2390 54 03 06 3E */ clrlwi r3, r0, 0x18 /* 800C5434 000C2394 50 A3 36 72 */ rlwimi r3, r5, 6, 0x19, 0x19 /* 800C5438 000C2398 38 C0 FF FF */ li r6, -1 /* 800C543C 000C239C 88 01 00 7C */ lbz r0, 0x7c(r1) /* 800C5440 000C23A0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 /* 800C5444 000C23A4 54 64 06 3E */ clrlwi r4, r3, 0x18 /* 800C5448 000C23A8 98 61 00 3C */ stb r3, 0x3c(r1) /* 800C544C 000C23AC 50 A4 2E B4 */ rlwimi r4, r5, 5, 0x1a, 0x1a /* 800C5450 000C23B0 38 61 00 64 */ addi r3, r1, 0x64 /* 800C5454 000C23B4 90 C1 00 38 */ stw r6, 0x38(r1) /* 800C5458 000C23B8 98 81 00 3C */ stb r4, 0x3c(r1) /* 800C545C 000C23BC 90 C1 00 64 */ stw r6, 0x64(r1) /* 800C5460 000C23C0 98 81 00 68 */ stb r4, 0x68(r1) /* 800C5464 000C23C4 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 800C5468 000C23C8 D0 01 00 70 */ stfs f0, 0x70(r1) /* 800C546C 000C23CC D0 01 00 74 */ stfs f0, 0x74(r1) /* 800C5470 000C23D0 D0 01 00 78 */ stfs f0, 0x78(r1) /* 800C5474 000C23D4 98 01 00 7C */ stb r0, 0x7c(r1) lbl_800C5478: /* 800C5478 000C23D8 80 03 00 00 */ lwz r0, 0(r3) /* 800C547C 000C23DC 2C 18 00 14 */ cmpwi r24, 0x14 /* 800C5480 000C23E0 90 01 00 9C */ stw r0, 0x9c(r1) /* 800C5484 000C23E4 88 03 00 04 */ lbz r0, 4(r3) /* 800C5488 000C23E8 98 01 00 A0 */ stb r0, 0xa0(r1) /* 800C548C 000C23EC C0 03 00 08 */ lfs f0, 8(r3) /* 800C5490 000C23F0 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 800C5494 000C23F4 C0 03 00 0C */ lfs f0, 0xc(r3) /* 800C5498 000C23F8 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 800C549C 000C23FC C0 03 00 10 */ lfs f0, 0x10(r3) /* 800C54A0 000C2400 D0 01 00 AC */ stfs f0, 0xac(r1) /* 800C54A4 000C2404 C0 03 00 14 */ lfs f0, 0x14(r3) /* 800C54A8 000C2408 D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 800C54AC 000C240C 88 03 00 18 */ lbz r0, 0x18(r3) /* 800C54B0 000C2410 98 01 00 B4 */ stb r0, 0xb4(r1) /* 800C54B4 000C2414 41 80 00 14 */ blt lbl_800C54C8 /* 800C54B8 000C2418 7E C3 B3 78 */ mr r3, r22 /* 800C54BC 000C241C 48 27 97 6D */ bl ReadFloat__12CInputStreamFv /* 800C54C0 000C2420 FF 60 08 90 */ fmr f27, f1 /* 800C54C4 000C2424 48 00 00 08 */ b lbl_800C54CC lbl_800C54C8: /* 800C54C8 000C2428 C3 62 8E 2C */ lfs f27, lbl_805AAB4C@sda21(r2) lbl_800C54CC: /* 800C54CC 000C242C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C54D0 000C2430 3A C0 00 00 */ li r22, 0 /* 800C54D4 000C2434 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800C54D8 000C2438 38 60 05 F0 */ li r3, 0x5f0 /* 800C54DC 000C243C 38 84 00 0D */ addi r4, r4, 0xd /* 800C54E0 000C2440 38 A0 00 00 */ li r5, 0 /* 800C54E4 000C2444 48 25 03 89 */ bl __nw__FUlPCcPCc /* 800C54E8 000C2448 7C 78 1B 79 */ or. r24, r3, r3 /* 800C54EC 000C244C 41 82 00 C8 */ beq lbl_800C55B4 /* 800C54F0 000C2450 80 E1 03 28 */ lwz r7, 0x328(r1) /* 800C54F4 000C2454 38 A0 00 01 */ li r5, 1 /* 800C54F8 000C2458 80 C1 03 2C */ lwz r6, 0x32c(r1) /* 800C54FC 000C245C 38 61 00 D4 */ addi r3, r1, 0xd4 /* 800C5500 000C2460 C0 41 02 30 */ lfs f2, 0x230(r1) /* 800C5504 000C2464 38 81 00 48 */ addi r4, r1, 0x48 /* 800C5508 000C2468 C0 21 02 34 */ lfs f1, 0x234(r1) /* 800C550C 000C246C C0 01 02 38 */ lfs f0, 0x238(r1) /* 800C5510 000C2470 80 01 03 30 */ lwz r0, 0x330(r1) /* 800C5514 000C2474 90 E1 00 48 */ stw r7, 0x48(r1) /* 800C5518 000C2478 90 C1 00 4C */ stw r6, 0x4c(r1) /* 800C551C 000C247C D0 41 00 50 */ stfs f2, 0x50(r1) /* 800C5520 000C2480 D0 21 00 54 */ stfs f1, 0x54(r1) /* 800C5524 000C2484 D0 01 00 58 */ stfs f0, 0x58(r1) /* 800C5528 000C2488 98 A1 00 5C */ stb r5, 0x5c(r1) /* 800C552C 000C248C 90 01 00 60 */ stw r0, 0x60(r1) /* 800C5530 000C2490 48 05 16 25 */ bl __ct__10CModelDataFRC8CAnimRes /* 800C5534 000C2494 7E A4 AB 78 */ mr r4, r21 /* 800C5538 000C2498 38 61 00 30 */ addi r3, r1, 0x30 /* 800C553C 000C249C 3A C0 00 01 */ li r22, 1 /* 800C5540 000C24A0 4B F8 7B 9D */ bl AllocateUniqueId__13CStateManagerFv /* 800C5544 000C24A4 A0 61 00 30 */ lhz r3, 0x30(r1) /* 800C5548 000C24A8 38 81 00 B8 */ addi r4, r1, 0xb8 /* 800C554C 000C24AC FC 20 F8 90 */ fmr f1, f31 /* 800C5550 000C24B0 38 01 00 9C */ addi r0, r1, 0x9c /* 800C5554 000C24B4 B0 61 00 34 */ sth r3, 0x34(r1) /* 800C5558 000C24B8 FC 40 F0 90 */ fmr f2, f30 /* 800C555C 000C24BC FC 60 E8 90 */ fmr f3, f29 /* 800C5560 000C24C0 7F 03 C3 78 */ mr r3, r24 /* 800C5564 000C24C4 93 21 00 08 */ stw r25, 8(r1) /* 800C5568 000C24C8 FC 80 E0 90 */ fmr f4, f28 /* 800C556C 000C24CC FC A0 D8 90 */ fmr f5, f27 /* 800C5570 000C24D0 7E E6 BB 78 */ mr r6, r23 /* 800C5574 000C24D4 90 81 00 0C */ stw r4, 0xc(r1) /* 800C5578 000C24D8 38 81 00 34 */ addi r4, r1, 0x34 /* 800C557C 000C24DC 38 A1 01 F0 */ addi r5, r1, 0x1f0 /* 800C5580 000C24E0 93 41 00 10 */ stw r26, 0x10(r1) /* 800C5584 000C24E4 38 E1 02 00 */ addi r7, r1, 0x200 /* 800C5588 000C24E8 39 01 00 D4 */ addi r8, r1, 0xd4 /* 800C558C 000C24EC 93 61 00 14 */ stw r27, 0x14(r1) /* 800C5590 000C24F0 39 21 01 88 */ addi r9, r1, 0x188 /* 800C5594 000C24F4 39 41 02 3C */ addi r10, r1, 0x23c /* 800C5598 000C24F8 93 81 00 18 */ stw r28, 0x18(r1) /* 800C559C 000C24FC 93 A1 00 1C */ stw r29, 0x1c(r1) /* 800C55A0 000C2500 93 C1 00 20 */ stw r30, 0x20(r1) /* 800C55A4 000C2504 93 E1 00 24 */ stw r31, 0x24(r1) /* 800C55A8 000C2508 90 01 00 28 */ stw r0, 0x28(r1) /* 800C55AC 000C250C 48 1D A7 61 */ bl __ct__11CEnergyBall /* 800C55B0 000C2510 7C 78 1B 78 */ mr r24, r3 lbl_800C55B4: /* 800C55B4 000C2514 7E C0 07 75 */ extsb. r0, r22 /* 800C55B8 000C2518 41 82 00 10 */ beq lbl_800C55C8 /* 800C55BC 000C251C 38 61 00 D4 */ addi r3, r1, 0xd4 /* 800C55C0 000C2520 38 80 FF FF */ li r4, -1 /* 800C55C4 000C2524 48 05 14 89 */ bl __dt__10CModelDataFv lbl_800C55C8: /* 800C55C8 000C2528 38 61 01 88 */ addi r3, r1, 0x188 /* 800C55CC 000C252C 38 80 FF FF */ li r4, -1 /* 800C55D0 000C2530 48 04 10 39 */ bl __dt__16CLightParametersFv /* 800C55D4 000C2534 38 61 01 F0 */ addi r3, r1, 0x1f0 /* 800C55D8 000C2538 48 27 85 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C55DC 000C253C 7F 03 C3 78 */ mr r3, r24 lbl_800C55E0: /* 800C55E0 000C2540 E3 E1 03 F8 */ psq_l f31, 1016(r1), 0, qr0 /* 800C55E4 000C2544 CB E1 03 F0 */ lfd f31, 0x3f0(r1) /* 800C55E8 000C2548 E3 C1 03 E8 */ psq_l f30, 1000(r1), 0, qr0 /* 800C55EC 000C254C CB C1 03 E0 */ lfd f30, 0x3e0(r1) /* 800C55F0 000C2550 E3 A1 03 D8 */ psq_l f29, 984(r1), 0, qr0 /* 800C55F4 000C2554 CB A1 03 D0 */ lfd f29, 0x3d0(r1) /* 800C55F8 000C2558 E3 81 03 C8 */ psq_l f28, 968(r1), 0, qr0 /* 800C55FC 000C255C CB 81 03 C0 */ lfd f28, 0x3c0(r1) /* 800C5600 000C2560 E3 61 03 B8 */ psq_l f27, 952(r1), 0, qr0 /* 800C5604 000C2564 CB 61 03 B0 */ lfd f27, 0x3b0(r1) /* 800C5608 000C2568 BA A1 03 84 */ lmw r21, 0x384(r1) /* 800C560C 000C256C 80 01 04 04 */ lwz r0, 0x404(r1) /* 800C5610 000C2570 7C 08 03 A6 */ mtlr r0 /* 800C5614 000C2574 38 21 04 00 */ addi r1, r1, 0x400 /* 800C5618 000C2578 4E 80 00 20 */ blr .global __ct__16CActorParametersFRC16CActorParameters __ct__16CActorParametersFRC16CActorParameters: /* 800C561C 000C257C 3C A0 80 3E */ lis r5, lbl_803DFF80@ha /* 800C5620 000C2580 38 05 FF 80 */ addi r0, r5, lbl_803DFF80@l /* 800C5624 000C2584 90 03 00 00 */ stw r0, 0(r3) /* 800C5628 000C2588 88 04 00 04 */ lbz r0, 4(r4) /* 800C562C 000C258C 98 03 00 04 */ stb r0, 4(r3) /* 800C5630 000C2590 C0 04 00 08 */ lfs f0, 8(r4) /* 800C5634 000C2594 D0 03 00 08 */ stfs f0, 8(r3) /* 800C5638 000C2598 80 04 00 0C */ lwz r0, 0xc(r4) /* 800C563C 000C259C 90 03 00 0C */ stw r0, 0xc(r3) /* 800C5640 000C25A0 C0 04 00 10 */ lfs f0, 0x10(r4) /* 800C5644 000C25A4 D0 03 00 10 */ stfs f0, 0x10(r3) /* 800C5648 000C25A8 C0 04 00 14 */ lfs f0, 0x14(r4) /* 800C564C 000C25AC D0 03 00 14 */ stfs f0, 0x14(r3) /* 800C5650 000C25B0 80 04 00 18 */ lwz r0, 0x18(r4) /* 800C5654 000C25B4 90 03 00 18 */ stw r0, 0x18(r3) /* 800C5658 000C25B8 88 04 00 1C */ lbz r0, 0x1c(r4) /* 800C565C 000C25BC 98 03 00 1C */ stb r0, 0x1c(r3) /* 800C5660 000C25C0 88 04 00 1D */ lbz r0, 0x1d(r4) /* 800C5664 000C25C4 98 03 00 1D */ stb r0, 0x1d(r3) /* 800C5668 000C25C8 80 04 00 20 */ lwz r0, 0x20(r4) /* 800C566C 000C25CC 90 03 00 20 */ stw r0, 0x20(r3) /* 800C5670 000C25D0 80 04 00 24 */ lwz r0, 0x24(r4) /* 800C5674 000C25D4 90 03 00 24 */ stw r0, 0x24(r3) /* 800C5678 000C25D8 80 04 00 28 */ lwz r0, 0x28(r4) /* 800C567C 000C25DC 90 03 00 28 */ stw r0, 0x28(r3) /* 800C5680 000C25E0 C0 04 00 2C */ lfs f0, 0x2c(r4) /* 800C5684 000C25E4 D0 03 00 2C */ stfs f0, 0x2c(r3) /* 800C5688 000C25E8 C0 04 00 30 */ lfs f0, 0x30(r4) /* 800C568C 000C25EC D0 03 00 30 */ stfs f0, 0x30(r3) /* 800C5690 000C25F0 C0 04 00 34 */ lfs f0, 0x34(r4) /* 800C5694 000C25F4 D0 03 00 34 */ stfs f0, 0x34(r3) /* 800C5698 000C25F8 80 04 00 38 */ lwz r0, 0x38(r4) /* 800C569C 000C25FC 90 03 00 38 */ stw r0, 0x38(r3) /* 800C56A0 000C2600 80 04 00 3C */ lwz r0, 0x3c(r4) /* 800C56A4 000C2604 90 03 00 3C */ stw r0, 0x3c(r3) /* 800C56A8 000C2608 80 04 00 40 */ lwz r0, 0x40(r4) /* 800C56AC 000C260C 90 03 00 40 */ stw r0, 0x40(r3) /* 800C56B0 000C2610 80 04 00 44 */ lwz r0, 0x44(r4) /* 800C56B4 000C2614 90 03 00 44 */ stw r0, 0x44(r3) /* 800C56B8 000C2618 80 04 00 48 */ lwz r0, 0x48(r4) /* 800C56BC 000C261C 90 03 00 48 */ stw r0, 0x48(r3) /* 800C56C0 000C2620 80 04 00 4C */ lwz r0, 0x4c(r4) /* 800C56C4 000C2624 90 03 00 4C */ stw r0, 0x4c(r3) /* 800C56C8 000C2628 80 04 00 50 */ lwz r0, 0x50(r4) /* 800C56CC 000C262C 90 03 00 50 */ stw r0, 0x50(r3) /* 800C56D0 000C2630 80 04 00 54 */ lwz r0, 0x54(r4) /* 800C56D4 000C2634 90 03 00 54 */ stw r0, 0x54(r3) /* 800C56D8 000C2638 88 04 00 58 */ lbz r0, 0x58(r4) /* 800C56DC 000C263C 98 03 00 58 */ stb r0, 0x58(r3) /* 800C56E0 000C2640 C0 04 00 5C */ lfs f0, 0x5c(r4) /* 800C56E4 000C2644 D0 03 00 5C */ stfs f0, 0x5c(r3) /* 800C56E8 000C2648 C0 04 00 60 */ lfs f0, 0x60(r4) /* 800C56EC 000C264C D0 03 00 60 */ stfs f0, 0x60(r3) /* 800C56F0 000C2650 C0 04 00 64 */ lfs f0, 0x64(r4) /* 800C56F4 000C2654 D0 03 00 64 */ stfs f0, 0x64(r3) /* 800C56F8 000C2658 4E 80 00 20 */ blr .global LoadShadowProjector__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadShadowProjector__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C56FC 000C265C 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 800C5700 000C2660 7C 08 02 A6 */ mflr r0 /* 800C5704 000C2664 90 01 00 B4 */ stw r0, 0xb4(r1) /* 800C5708 000C2668 39 61 00 B0 */ addi r11, r1, 0xb0 /* 800C570C 000C266C 48 2C 42 DD */ bl _savefpr_28 /* 800C5710 000C2670 BF 41 00 78 */ stmw r26, 0x78(r1) /* 800C5714 000C2674 2C 05 00 0A */ cmpwi r5, 0xa /* 800C5718 000C2678 7C 7A 1B 78 */ mr r26, r3 /* 800C571C 000C267C 7C 9C 23 78 */ mr r28, r4 /* 800C5720 000C2680 7C DB 33 78 */ mr r27, r6 /* 800C5724 000C2684 41 82 00 0C */ beq lbl_800C5730 /* 800C5728 000C2688 38 60 00 00 */ li r3, 0 /* 800C572C 000C268C 48 00 01 10 */ b lbl_800C583C lbl_800C5730: /* 800C5730 000C2690 4B F7 FA B5 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800C5734 000C2694 7C 64 1B 78 */ mr r4, r3 /* 800C5738 000C2698 38 61 00 30 */ addi r3, r1, 0x30 /* 800C573C 000C269C 48 27 8A 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800C5740 000C26A0 7F 84 E3 78 */ mr r4, r28 /* 800C5744 000C26A4 38 61 00 24 */ addi r3, r1, 0x24 /* 800C5748 000C26A8 48 24 F4 45 */ bl __ct__9CVector3fFR12CInputStream /* 800C574C 000C26AC 7F 83 E3 78 */ mr r3, r28 /* 800C5750 000C26B0 48 27 95 8D */ bl ReadBool__12CInputStreamFv /* 800C5754 000C26B4 7C 60 1B 78 */ mr r0, r3 /* 800C5758 000C26B8 7F 83 E3 78 */ mr r3, r28 /* 800C575C 000C26BC 7C 1D 03 78 */ mr r29, r0 /* 800C5760 000C26C0 48 27 94 C9 */ bl ReadFloat__12CInputStreamFv /* 800C5764 000C26C4 FF E0 08 90 */ fmr f31, f1 /* 800C5768 000C26C8 7F 84 E3 78 */ mr r4, r28 /* 800C576C 000C26CC 38 61 00 18 */ addi r3, r1, 0x18 /* 800C5770 000C26D0 48 24 F4 1D */ bl __ct__9CVector3fFR12CInputStream /* 800C5774 000C26D4 7F 83 E3 78 */ mr r3, r28 /* 800C5778 000C26D8 48 27 94 B1 */ bl ReadFloat__12CInputStreamFv /* 800C577C 000C26DC FF C0 08 90 */ fmr f30, f1 /* 800C5780 000C26E0 7F 83 E3 78 */ mr r3, r28 /* 800C5784 000C26E4 48 27 94 A5 */ bl ReadFloat__12CInputStreamFv /* 800C5788 000C26E8 FF A0 08 90 */ fmr f29, f1 /* 800C578C 000C26EC 7F 83 E3 78 */ mr r3, r28 /* 800C5790 000C26F0 48 27 94 99 */ bl ReadFloat__12CInputStreamFv /* 800C5794 000C26F4 FF 80 08 90 */ fmr f28, f1 /* 800C5798 000C26F8 7F 83 E3 78 */ mr r3, r28 /* 800C579C 000C26FC 48 27 95 41 */ bl ReadBool__12CInputStreamFv /* 800C57A0 000C2700 7C 60 1B 78 */ mr r0, r3 /* 800C57A4 000C2704 7F 83 E3 78 */ mr r3, r28 /* 800C57A8 000C2708 7C 1C 03 78 */ mr r28, r0 /* 800C57AC 000C270C 48 27 94 D9 */ bl ReadLong__12CInputStreamFv /* 800C57B0 000C2710 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800C57B4 000C2714 7C 7F 1B 78 */ mr r31, r3 /* 800C57B8 000C2718 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800C57BC 000C271C 38 60 01 18 */ li r3, 0x118 /* 800C57C0 000C2720 38 84 00 0D */ addi r4, r4, 0xd /* 800C57C4 000C2724 38 A0 00 00 */ li r5, 0 /* 800C57C8 000C2728 48 25 00 A5 */ bl __nw__FUlPCcPCc /* 800C57CC 000C272C 7C 7E 1B 79 */ or. r30, r3, r3 /* 800C57D0 000C2730 41 82 00 60 */ beq lbl_800C5830 /* 800C57D4 000C2734 7F 44 D3 78 */ mr r4, r26 /* 800C57D8 000C2738 38 61 00 10 */ addi r3, r1, 0x10 /* 800C57DC 000C273C 4B F8 79 01 */ bl AllocateUniqueId__13CStateManagerFv /* 800C57E0 000C2740 A0 01 00 10 */ lhz r0, 0x10(r1) /* 800C57E4 000C2744 38 61 00 40 */ addi r3, r1, 0x40 /* 800C57E8 000C2748 38 81 00 24 */ addi r4, r1, 0x24 /* 800C57EC 000C274C B0 01 00 14 */ sth r0, 0x14(r1) /* 800C57F0 000C2750 48 24 D9 51 */ bl Translate__12CTransform4fFRC9CVector3f /* 800C57F4 000C2754 FC 20 F8 90 */ fmr f1, f31 /* 800C57F8 000C2758 93 E1 00 08 */ stw r31, 8(r1) /* 800C57FC 000C275C FC 40 F0 90 */ fmr f2, f30 /* 800C5800 000C2760 7F C3 F3 78 */ mr r3, r30 /* 800C5804 000C2764 FC 60 E8 90 */ fmr f3, f29 /* 800C5808 000C2768 7F 66 DB 78 */ mr r6, r27 /* 800C580C 000C276C FC 80 E0 90 */ fmr f4, f28 /* 800C5810 000C2770 7F A8 EB 78 */ mr r8, r29 /* 800C5814 000C2774 7F 8A E3 78 */ mr r10, r28 /* 800C5818 000C2778 38 81 00 14 */ addi r4, r1, 0x14 /* 800C581C 000C277C 38 A1 00 30 */ addi r5, r1, 0x30 /* 800C5820 000C2780 38 E1 00 40 */ addi r7, r1, 0x40 /* 800C5824 000C2784 39 21 00 18 */ addi r9, r1, 0x18 /* 800C5828 000C2788 48 1D 99 59 */ bl "__ct__22CScriptShadowProjectorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC9CVector3fbffffi" /* 800C582C 000C278C 7C 7E 1B 78 */ mr r30, r3 lbl_800C5830: /* 800C5830 000C2790 38 61 00 30 */ addi r3, r1, 0x30 /* 800C5834 000C2794 48 27 82 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C5838 000C2798 7F C3 F3 78 */ mr r3, r30 lbl_800C583C: /* 800C583C 000C279C 39 61 00 B0 */ addi r11, r1, 0xb0 /* 800C5840 000C27A0 48 2C 41 F5 */ bl _restfpr_28 /* 800C5844 000C27A4 BB 41 00 78 */ lmw r26, 0x78(r1) /* 800C5848 000C27A8 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 800C584C 000C27AC 7C 08 03 A6 */ mtlr r0 /* 800C5850 000C27B0 38 21 00 B0 */ addi r1, r1, 0xb0 /* 800C5854 000C27B4 4E 80 00 20 */ blr .global LoadPhazonHealingNodule__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadPhazonHealingNodule__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C5858 000C27B8 94 21 FC F0 */ stwu r1, -0x310(r1) /* 800C585C 000C27BC 7C 08 02 A6 */ mflr r0 /* 800C5860 000C27C0 2C 05 00 09 */ cmpwi r5, 9 /* 800C5864 000C27C4 90 01 03 14 */ stw r0, 0x314(r1) /* 800C5868 000C27C8 BF 61 02 FC */ stmw r27, 0x2fc(r1) /* 800C586C 000C27CC 7C 7E 1B 78 */ mr r30, r3 /* 800C5870 000C27D0 7C 9C 23 78 */ mr r28, r4 /* 800C5874 000C27D4 7C DF 33 78 */ mr r31, r6 /* 800C5878 000C27D8 41 82 00 0C */ beq lbl_800C5884 /* 800C587C 000C27DC 38 60 00 00 */ li r3, 0 /* 800C5880 000C27E0 48 00 01 B8 */ b lbl_800C5A38 lbl_800C5884: /* 800C5884 000C27E4 7F C5 F3 78 */ mr r5, r30 /* 800C5888 000C27E8 38 61 01 6C */ addi r3, r1, 0x16c /* 800C588C 000C27EC 48 01 4B F1 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C5890 000C27F0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C5894 000C27F4 7F 84 E3 78 */ mr r4, r28 /* 800C5898 000C27F8 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800C589C 000C27FC 38 61 00 1C */ addi r3, r1, 0x1c /* 800C58A0 000C2800 38 A5 00 14 */ addi r5, r5, 0x14 /* 800C58A4 000C2804 48 03 FF 85 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800C58A8 000C2808 88 01 00 1C */ lbz r0, 0x1c(r1) /* 800C58AC 000C280C 80 A1 00 20 */ lwz r5, 0x20(r1) /* 800C58B0 000C2810 28 00 00 00 */ cmplwi r0, 0 /* 800C58B4 000C2814 40 82 00 14 */ bne lbl_800C58C8 /* 800C58B8 000C2818 38 61 01 6C */ addi r3, r1, 0x16c /* 800C58BC 000C281C 48 27 82 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C58C0 000C2820 38 60 00 00 */ li r3, 0 /* 800C58C4 000C2824 48 00 01 74 */ b lbl_800C5A38 lbl_800C58C8: /* 800C58C8 000C2828 7F 84 E3 78 */ mr r4, r28 /* 800C58CC 000C282C 38 61 01 B8 */ addi r3, r1, 0x1b8 /* 800C58D0 000C2830 48 03 FF A9 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800C58D4 000C2834 7F 84 E3 78 */ mr r4, r28 /* 800C58D8 000C2838 38 61 00 9C */ addi r3, r1, 0x9c /* 800C58DC 000C283C 48 01 44 99 */ bl LoadActorParameters__FR12CInputStream /* 800C58E0 000C2840 38 61 01 04 */ addi r3, r1, 0x104 /* 800C58E4 000C2844 38 81 00 9C */ addi r4, r1, 0x9c /* 800C58E8 000C2848 4B FF FD 35 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C58EC 000C284C 38 61 00 9C */ addi r3, r1, 0x9c /* 800C58F0 000C2850 38 80 FF FF */ li r4, -1 /* 800C58F4 000C2854 48 04 0D 15 */ bl __dt__16CLightParametersFv /* 800C58F8 000C2858 7F 83 E3 78 */ mr r3, r28 /* 800C58FC 000C285C 48 27 93 E1 */ bl ReadBool__12CInputStreamFv /* 800C5900 000C2860 7F 83 E3 78 */ mr r3, r28 /* 800C5904 000C2864 48 27 93 81 */ bl ReadLong__12CInputStreamFv /* 800C5908 000C2868 7C 7D 1B 78 */ mr r29, r3 /* 800C590C 000C286C 7F 84 E3 78 */ mr r4, r28 /* 800C5910 000C2870 38 61 00 24 */ addi r3, r1, 0x24 /* 800C5914 000C2874 38 A1 00 10 */ addi r5, r1, 0x10 /* 800C5918 000C2878 48 27 89 E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 800C591C 000C287C 80 61 02 A4 */ lwz r3, 0x2a4(r1) /* 800C5920 000C2880 3C 03 00 01 */ addis r0, r3, 1 /* 800C5924 000C2884 28 00 FF FF */ cmplwi r0, 0xffff /* 800C5928 000C2888 40 82 00 28 */ bne lbl_800C5950 /* 800C592C 000C288C 38 61 00 24 */ addi r3, r1, 0x24 /* 800C5930 000C2890 48 27 81 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C5934 000C2894 38 61 01 04 */ addi r3, r1, 0x104 /* 800C5938 000C2898 38 80 FF FF */ li r4, -1 /* 800C593C 000C289C 48 04 0C CD */ bl __dt__16CLightParametersFv /* 800C5940 000C28A0 38 61 01 6C */ addi r3, r1, 0x16c /* 800C5944 000C28A4 48 27 81 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C5948 000C28A8 38 60 00 00 */ li r3, 0 /* 800C594C 000C28AC 48 00 00 EC */ b lbl_800C5A38 lbl_800C5950: /* 800C5950 000C28B0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C5954 000C28B4 3B 60 00 00 */ li r27, 0 /* 800C5958 000C28B8 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800C595C 000C28BC 38 60 05 A0 */ li r3, 0x5a0 /* 800C5960 000C28C0 38 84 00 0D */ addi r4, r4, 0xd /* 800C5964 000C28C4 38 A0 00 00 */ li r5, 0 /* 800C5968 000C28C8 48 24 FF 05 */ bl __nw__FUlPCcPCc /* 800C596C 000C28CC 7C 7C 1B 79 */ or. r28, r3, r3 /* 800C5970 000C28D0 41 82 00 94 */ beq lbl_800C5A04 /* 800C5974 000C28D4 80 E1 02 A4 */ lwz r7, 0x2a4(r1) /* 800C5978 000C28D8 38 A0 00 01 */ li r5, 1 /* 800C597C 000C28DC 80 C1 02 A8 */ lwz r6, 0x2a8(r1) /* 800C5980 000C28E0 38 61 00 50 */ addi r3, r1, 0x50 /* 800C5984 000C28E4 C0 41 01 AC */ lfs f2, 0x1ac(r1) /* 800C5988 000C28E8 38 81 00 34 */ addi r4, r1, 0x34 /* 800C598C 000C28EC C0 21 01 B0 */ lfs f1, 0x1b0(r1) /* 800C5990 000C28F0 C0 01 01 B4 */ lfs f0, 0x1b4(r1) /* 800C5994 000C28F4 80 01 02 AC */ lwz r0, 0x2ac(r1) /* 800C5998 000C28F8 90 E1 00 34 */ stw r7, 0x34(r1) /* 800C599C 000C28FC 90 C1 00 38 */ stw r6, 0x38(r1) /* 800C59A0 000C2900 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 800C59A4 000C2904 D0 21 00 40 */ stfs f1, 0x40(r1) /* 800C59A8 000C2908 D0 01 00 44 */ stfs f0, 0x44(r1) /* 800C59AC 000C290C 98 A1 00 48 */ stb r5, 0x48(r1) /* 800C59B0 000C2910 90 01 00 4C */ stw r0, 0x4c(r1) /* 800C59B4 000C2914 48 05 11 A1 */ bl __ct__10CModelDataFRC8CAnimRes /* 800C59B8 000C2918 7F C4 F3 78 */ mr r4, r30 /* 800C59BC 000C291C 38 61 00 14 */ addi r3, r1, 0x14 /* 800C59C0 000C2920 3B 60 00 01 */ li r27, 1 /* 800C59C4 000C2924 4B F8 77 19 */ bl AllocateUniqueId__13CStateManagerFv /* 800C59C8 000C2928 A0 81 00 14 */ lhz r4, 0x14(r1) /* 800C59CC 000C292C 38 01 00 24 */ addi r0, r1, 0x24 /* 800C59D0 000C2930 7F 83 E3 78 */ mr r3, r28 /* 800C59D4 000C2934 7F E6 FB 78 */ mr r6, r31 /* 800C59D8 000C2938 B0 81 00 18 */ sth r4, 0x18(r1) /* 800C59DC 000C293C 38 81 00 18 */ addi r4, r1, 0x18 /* 800C59E0 000C2940 38 A1 01 6C */ addi r5, r1, 0x16c /* 800C59E4 000C2944 38 E1 01 7C */ addi r7, r1, 0x17c /* 800C59E8 000C2948 93 A1 00 08 */ stw r29, 8(r1) /* 800C59EC 000C294C 39 01 00 50 */ addi r8, r1, 0x50 /* 800C59F0 000C2950 39 21 01 04 */ addi r9, r1, 0x104 /* 800C59F4 000C2954 39 41 01 B8 */ addi r10, r1, 0x1b8 /* 800C59F8 000C2958 90 01 00 0C */ stw r0, 0xc(r1) /* 800C59FC 000C295C 48 1C FF 11 */ bl "__ct__20CPhazonHealingNoduleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfo" /* 800C5A00 000C2960 7C 7C 1B 78 */ mr r28, r3 lbl_800C5A04: /* 800C5A04 000C2964 7F 60 07 75 */ extsb. r0, r27 /* 800C5A08 000C2968 41 82 00 10 */ beq lbl_800C5A18 /* 800C5A0C 000C296C 38 61 00 50 */ addi r3, r1, 0x50 /* 800C5A10 000C2970 38 80 FF FF */ li r4, -1 /* 800C5A14 000C2974 48 05 10 39 */ bl __dt__10CModelDataFv lbl_800C5A18: /* 800C5A18 000C2978 38 61 00 24 */ addi r3, r1, 0x24 /* 800C5A1C 000C297C 48 27 80 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C5A20 000C2980 38 61 01 04 */ addi r3, r1, 0x104 /* 800C5A24 000C2984 38 80 FF FF */ li r4, -1 /* 800C5A28 000C2988 48 04 0B E1 */ bl __dt__16CLightParametersFv /* 800C5A2C 000C298C 38 61 01 6C */ addi r3, r1, 0x16c /* 800C5A30 000C2990 48 27 80 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C5A34 000C2994 7F 83 E3 78 */ mr r3, r28 lbl_800C5A38: /* 800C5A38 000C2998 BB 61 02 FC */ lmw r27, 0x2fc(r1) /* 800C5A3C 000C299C 80 01 03 14 */ lwz r0, 0x314(r1) /* 800C5A40 000C29A0 7C 08 03 A6 */ mtlr r0 /* 800C5A44 000C29A4 38 21 03 10 */ addi r1, r1, 0x310 /* 800C5A48 000C29A8 4E 80 00 20 */ blr .global LoadPhazonPool__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadPhazonPool__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C5A4C 000C29AC 94 21 FE 80 */ stwu r1, -0x180(r1) /* 800C5A50 000C29B0 7C 08 02 A6 */ mflr r0 /* 800C5A54 000C29B4 90 01 01 84 */ stw r0, 0x184(r1) /* 800C5A58 000C29B8 DB E1 01 70 */ stfd f31, 0x170(r1) /* 800C5A5C 000C29BC F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 /* 800C5A60 000C29C0 DB C1 01 60 */ stfd f30, 0x160(r1) /* 800C5A64 000C29C4 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 /* 800C5A68 000C29C8 DB A1 01 50 */ stfd f29, 0x150(r1) /* 800C5A6C 000C29CC F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 /* 800C5A70 000C29D0 DB 81 01 40 */ stfd f28, 0x140(r1) /* 800C5A74 000C29D4 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 /* 800C5A78 000C29D8 BF 01 01 20 */ stmw r24, 0x120(r1) /* 800C5A7C 000C29DC 2C 05 00 12 */ cmpwi r5, 0x12 /* 800C5A80 000C29E0 7C 78 1B 78 */ mr r24, r3 /* 800C5A84 000C29E4 7C 99 23 78 */ mr r25, r4 /* 800C5A88 000C29E8 7C DF 33 78 */ mr r31, r6 /* 800C5A8C 000C29EC 41 82 00 0C */ beq lbl_800C5A98 /* 800C5A90 000C29F0 38 60 00 00 */ li r3, 0 /* 800C5A94 000C29F4 48 00 01 DC */ b lbl_800C5C70 lbl_800C5A98: /* 800C5A98 000C29F8 7F 05 C3 78 */ mr r5, r24 /* 800C5A9C 000C29FC 38 61 00 CC */ addi r3, r1, 0xcc /* 800C5AA0 000C2A00 48 01 49 DD */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C5AA4 000C2A04 7F 23 CB 78 */ mr r3, r25 /* 800C5AA8 000C2A08 48 27 92 35 */ bl ReadBool__12CInputStreamFv /* 800C5AAC 000C2A0C 7C 7B 1B 78 */ mr r27, r3 /* 800C5AB0 000C2A10 7F 23 CB 78 */ mr r3, r25 /* 800C5AB4 000C2A14 48 27 91 D1 */ bl ReadLong__12CInputStreamFv /* 800C5AB8 000C2A18 90 61 00 3C */ stw r3, 0x3c(r1) /* 800C5ABC 000C2A1C 7F 23 CB 78 */ mr r3, r25 /* 800C5AC0 000C2A20 48 27 91 C5 */ bl ReadLong__12CInputStreamFv /* 800C5AC4 000C2A24 90 61 00 38 */ stw r3, 0x38(r1) /* 800C5AC8 000C2A28 7F 23 CB 78 */ mr r3, r25 /* 800C5ACC 000C2A2C 48 27 91 B9 */ bl ReadLong__12CInputStreamFv /* 800C5AD0 000C2A30 90 61 00 34 */ stw r3, 0x34(r1) /* 800C5AD4 000C2A34 7F 23 CB 78 */ mr r3, r25 /* 800C5AD8 000C2A38 48 27 91 AD */ bl ReadLong__12CInputStreamFv /* 800C5ADC 000C2A3C 90 61 00 30 */ stw r3, 0x30(r1) /* 800C5AE0 000C2A40 7F 23 CB 78 */ mr r3, r25 /* 800C5AE4 000C2A44 48 27 91 A1 */ bl ReadLong__12CInputStreamFv /* 800C5AE8 000C2A48 7C 7C 1B 78 */ mr r28, r3 /* 800C5AEC 000C2A4C 7F 24 CB 78 */ mr r4, r25 /* 800C5AF0 000C2A50 38 61 00 64 */ addi r3, r1, 0x64 /* 800C5AF4 000C2A54 4B FF DA 6D */ bl __ct__11CDamageInfoFR12CInputStream /* 800C5AF8 000C2A58 80 C1 00 64 */ lwz r6, 0x64(r1) /* 800C5AFC 000C2A5C 7F 24 CB 78 */ mr r4, r25 /* 800C5B00 000C2A60 88 A1 00 68 */ lbz r5, 0x68(r1) /* 800C5B04 000C2A64 38 61 00 4C */ addi r3, r1, 0x4c /* 800C5B08 000C2A68 C0 61 00 6C */ lfs f3, 0x6c(r1) /* 800C5B0C 000C2A6C C0 41 00 70 */ lfs f2, 0x70(r1) /* 800C5B10 000C2A70 C0 21 00 74 */ lfs f1, 0x74(r1) /* 800C5B14 000C2A74 C0 01 00 78 */ lfs f0, 0x78(r1) /* 800C5B18 000C2A78 88 01 00 7C */ lbz r0, 0x7c(r1) /* 800C5B1C 000C2A7C 90 C1 00 80 */ stw r6, 0x80(r1) /* 800C5B20 000C2A80 98 A1 00 84 */ stb r5, 0x84(r1) /* 800C5B24 000C2A84 D0 61 00 88 */ stfs f3, 0x88(r1) /* 800C5B28 000C2A88 D0 41 00 8C */ stfs f2, 0x8c(r1) /* 800C5B2C 000C2A8C D0 21 00 90 */ stfs f1, 0x90(r1) /* 800C5B30 000C2A90 D0 01 00 94 */ stfs f0, 0x94(r1) /* 800C5B34 000C2A94 98 01 00 98 */ stb r0, 0x98(r1) /* 800C5B38 000C2A98 48 24 F0 55 */ bl __ct__9CVector3fFR12CInputStream /* 800C5B3C 000C2A9C C0 41 00 4C */ lfs f2, 0x4c(r1) /* 800C5B40 000C2AA0 7F 23 CB 78 */ mr r3, r25 /* 800C5B44 000C2AA4 C0 21 00 50 */ lfs f1, 0x50(r1) /* 800C5B48 000C2AA8 C0 01 00 54 */ lfs f0, 0x54(r1) /* 800C5B4C 000C2AAC D0 41 00 58 */ stfs f2, 0x58(r1) /* 800C5B50 000C2AB0 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 800C5B54 000C2AB4 D0 01 00 60 */ stfs f0, 0x60(r1) /* 800C5B58 000C2AB8 48 27 91 2D */ bl ReadLong__12CInputStreamFv /* 800C5B5C 000C2ABC 7C 7D 1B 78 */ mr r29, r3 /* 800C5B60 000C2AC0 7F 23 CB 78 */ mr r3, r25 /* 800C5B64 000C2AC4 48 27 90 C5 */ bl ReadFloat__12CInputStreamFv /* 800C5B68 000C2AC8 FF E0 08 90 */ fmr f31, f1 /* 800C5B6C 000C2ACC 7F 23 CB 78 */ mr r3, r25 /* 800C5B70 000C2AD0 48 27 90 B9 */ bl ReadFloat__12CInputStreamFv /* 800C5B74 000C2AD4 FF C0 08 90 */ fmr f30, f1 /* 800C5B78 000C2AD8 7F 23 CB 78 */ mr r3, r25 /* 800C5B7C 000C2ADC 48 27 90 AD */ bl ReadFloat__12CInputStreamFv /* 800C5B80 000C2AE0 FF A0 08 90 */ fmr f29, f1 /* 800C5B84 000C2AE4 7F 23 CB 78 */ mr r3, r25 /* 800C5B88 000C2AE8 48 27 91 55 */ bl ReadBool__12CInputStreamFv /* 800C5B8C 000C2AEC 7C 7E 1B 78 */ mr r30, r3 /* 800C5B90 000C2AF0 7F 23 CB 78 */ mr r3, r25 /* 800C5B94 000C2AF4 48 27 90 95 */ bl ReadFloat__12CInputStreamFv /* 800C5B98 000C2AF8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C5B9C 000C2AFC FF 80 08 90 */ fmr f28, f1 /* 800C5BA0 000C2B00 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l /* 800C5BA4 000C2B04 3B 21 01 0C */ addi r25, r1, 0x10c /* 800C5BA8 000C2B08 38 83 00 0D */ addi r4, r3, 0xd /* 800C5BAC 000C2B0C 38 A0 00 00 */ li r5, 0 /* 800C5BB0 000C2B10 38 60 01 E8 */ li r3, 0x1e8 /* 800C5BB4 000C2B14 48 24 FC B9 */ bl __nw__FUlPCcPCc /* 800C5BB8 000C2B18 7C 7A 1B 79 */ or. r26, r3, r3 /* 800C5BBC 000C2B1C 41 82 00 A8 */ beq lbl_800C5C64 /* 800C5BC0 000C2B20 C0 41 00 E8 */ lfs f2, 0xe8(r1) /* 800C5BC4 000C2B24 7F 04 C3 78 */ mr r4, r24 /* 800C5BC8 000C2B28 C0 21 00 F8 */ lfs f1, 0xf8(r1) /* 800C5BCC 000C2B2C 38 61 00 28 */ addi r3, r1, 0x28 /* 800C5BD0 000C2B30 C0 01 01 08 */ lfs f0, 0x108(r1) /* 800C5BD4 000C2B34 D0 41 00 40 */ stfs f2, 0x40(r1) /* 800C5BD8 000C2B38 D0 21 00 44 */ stfs f1, 0x44(r1) /* 800C5BDC 000C2B3C D0 01 00 48 */ stfs f0, 0x48(r1) /* 800C5BE0 000C2B40 4B F8 74 FD */ bl AllocateUniqueId__13CStateManagerFv /* 800C5BE4 000C2B44 A0 01 00 28 */ lhz r0, 0x28(r1) /* 800C5BE8 000C2B48 38 61 00 9C */ addi r3, r1, 0x9c /* 800C5BEC 000C2B4C 38 81 00 40 */ addi r4, r1, 0x40 /* 800C5BF0 000C2B50 B0 01 00 2C */ sth r0, 0x2c(r1) /* 800C5BF4 000C2B54 48 24 D5 4D */ bl Translate__12CTransform4fFRC9CVector3f /* 800C5BF8 000C2B58 38 01 00 38 */ addi r0, r1, 0x38 /* 800C5BFC 000C2B5C 38 61 00 34 */ addi r3, r1, 0x34 /* 800C5C00 000C2B60 90 01 00 08 */ stw r0, 8(r1) /* 800C5C04 000C2B64 38 A1 00 30 */ addi r5, r1, 0x30 /* 800C5C08 000C2B68 38 81 00 80 */ addi r4, r1, 0x80 /* 800C5C0C 000C2B6C 38 01 00 58 */ addi r0, r1, 0x58 /* 800C5C10 000C2B70 90 61 00 0C */ stw r3, 0xc(r1) /* 800C5C14 000C2B74 FC 20 F8 90 */ fmr f1, f31 /* 800C5C18 000C2B78 FC 40 F0 90 */ fmr f2, f30 /* 800C5C1C 000C2B7C 7F 43 D3 78 */ mr r3, r26 /* 800C5C20 000C2B80 90 A1 00 10 */ stw r5, 0x10(r1) /* 800C5C24 000C2B84 FC 60 E8 90 */ fmr f3, f29 /* 800C5C28 000C2B88 FC 80 E0 90 */ fmr f4, f28 /* 800C5C2C 000C2B8C 93 81 00 14 */ stw r28, 0x14(r1) /* 800C5C30 000C2B90 7F E6 FB 78 */ mr r6, r31 /* 800C5C34 000C2B94 7F 28 CB 78 */ mr r8, r25 /* 800C5C38 000C2B98 90 81 00 18 */ stw r4, 0x18(r1) /* 800C5C3C 000C2B9C 7F 69 DB 78 */ mr r9, r27 /* 800C5C40 000C2BA0 38 81 00 2C */ addi r4, r1, 0x2c /* 800C5C44 000C2BA4 38 A1 00 CC */ addi r5, r1, 0xcc /* 800C5C48 000C2BA8 90 01 00 1C */ stw r0, 0x1c(r1) /* 800C5C4C 000C2BAC 38 E1 00 9C */ addi r7, r1, 0x9c /* 800C5C50 000C2BB0 39 41 00 3C */ addi r10, r1, 0x3c /* 800C5C54 000C2BB4 93 A1 00 20 */ stw r29, 0x20(r1) /* 800C5C58 000C2BB8 93 C1 00 24 */ stw r30, 0x24(r1) /* 800C5C5C 000C2BBC 48 1C D9 85 */ bl __ct__11CPhazonPoolFv /* 800C5C60 000C2BC0 7C 7A 1B 78 */ mr r26, r3 lbl_800C5C64: /* 800C5C64 000C2BC4 38 61 00 CC */ addi r3, r1, 0xcc /* 800C5C68 000C2BC8 48 27 7E 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C5C6C 000C2BCC 7F 43 D3 78 */ mr r3, r26 lbl_800C5C70: /* 800C5C70 000C2BD0 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 /* 800C5C74 000C2BD4 CB E1 01 70 */ lfd f31, 0x170(r1) /* 800C5C78 000C2BD8 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 /* 800C5C7C 000C2BDC CB C1 01 60 */ lfd f30, 0x160(r1) /* 800C5C80 000C2BE0 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 /* 800C5C84 000C2BE4 CB A1 01 50 */ lfd f29, 0x150(r1) /* 800C5C88 000C2BE8 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 /* 800C5C8C 000C2BEC CB 81 01 40 */ lfd f28, 0x140(r1) /* 800C5C90 000C2BF0 BB 01 01 20 */ lmw r24, 0x120(r1) /* 800C5C94 000C2BF4 80 01 01 84 */ lwz r0, 0x184(r1) /* 800C5C98 000C2BF8 7C 08 03 A6 */ mtlr r0 /* 800C5C9C 000C2BFC 38 21 01 80 */ addi r1, r1, 0x180 /* 800C5CA0 000C2C00 4E 80 00 20 */ blr .global LoadOmegaPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadOmegaPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C5CA4 000C2C04 94 21 FB D0 */ stwu r1, -0x430(r1) /* 800C5CA8 000C2C08 7C 08 02 A6 */ mflr r0 /* 800C5CAC 000C2C0C 80 E2 B5 A0 */ lwz r7, lbl_805AD2C0@sda21(r2) /* 800C5CB0 000C2C10 90 01 04 34 */ stw r0, 0x434(r1) /* 800C5CB4 000C2C14 38 07 00 01 */ addi r0, r7, 1 /* 800C5CB8 000C2C18 BF 21 04 14 */ stmw r25, 0x414(r1) /* 800C5CBC 000C2C1C 7C BA 2B 78 */ mr r26, r5 /* 800C5CC0 000C2C20 7C 1A 00 00 */ cmpw r26, r0 /* 800C5CC4 000C2C24 7C 7E 1B 78 */ mr r30, r3 /* 800C5CC8 000C2C28 7C 9D 23 78 */ mr r29, r4 /* 800C5CCC 000C2C2C 7C DF 33 78 */ mr r31, r6 /* 800C5CD0 000C2C30 40 80 00 0C */ bge lbl_800C5CDC /* 800C5CD4 000C2C34 38 60 00 00 */ li r3, 0 /* 800C5CD8 000C2C38 48 00 01 E0 */ b lbl_800C5EB8 lbl_800C5CDC: /* 800C5CDC 000C2C3C 7F C5 F3 78 */ mr r5, r30 /* 800C5CE0 000C2C40 38 61 01 60 */ addi r3, r1, 0x160 /* 800C5CE4 000C2C44 48 01 47 99 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C5CE8 000C2C48 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C5CEC 000C2C4C 7F A4 EB 78 */ mr r4, r29 /* 800C5CF0 000C2C50 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800C5CF4 000C2C54 38 61 00 20 */ addi r3, r1, 0x20 /* 800C5CF8 000C2C58 38 A5 00 28 */ addi r5, r5, 0x28 /* 800C5CFC 000C2C5C 48 03 FB 2D */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800C5D00 000C2C60 88 01 00 20 */ lbz r0, 0x20(r1) /* 800C5D04 000C2C64 80 A1 00 24 */ lwz r5, 0x24(r1) /* 800C5D08 000C2C68 28 00 00 00 */ cmplwi r0, 0 /* 800C5D0C 000C2C6C 40 82 00 14 */ bne lbl_800C5D20 /* 800C5D10 000C2C70 38 61 01 60 */ addi r3, r1, 0x160 /* 800C5D14 000C2C74 48 27 7D CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C5D18 000C2C78 38 60 00 00 */ li r3, 0 /* 800C5D1C 000C2C7C 48 00 01 9C */ b lbl_800C5EB8 lbl_800C5D20: /* 800C5D20 000C2C80 7F A4 EB 78 */ mr r4, r29 /* 800C5D24 000C2C84 38 61 02 CC */ addi r3, r1, 0x2cc /* 800C5D28 000C2C88 48 03 FB 51 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800C5D2C 000C2C8C 7F A4 EB 78 */ mr r4, r29 /* 800C5D30 000C2C90 38 61 00 90 */ addi r3, r1, 0x90 /* 800C5D34 000C2C94 48 01 40 41 */ bl LoadActorParameters__FR12CInputStream /* 800C5D38 000C2C98 38 61 00 F8 */ addi r3, r1, 0xf8 /* 800C5D3C 000C2C9C 38 81 00 90 */ addi r4, r1, 0x90 /* 800C5D40 000C2CA0 4B FF F8 DD */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C5D44 000C2CA4 38 61 00 90 */ addi r3, r1, 0x90 /* 800C5D48 000C2CA8 38 80 FF FF */ li r4, -1 /* 800C5D4C 000C2CAC 48 04 08 BD */ bl __dt__16CLightParametersFv /* 800C5D50 000C2CB0 7F A4 EB 78 */ mr r4, r29 /* 800C5D54 000C2CB4 7F 45 D3 78 */ mr r5, r26 /* 800C5D58 000C2CB8 38 61 01 AC */ addi r3, r1, 0x1ac /* 800C5D5C 000C2CBC 48 16 81 01 */ bl __ct__16CElitePirateDataFR12CInputStreami /* 800C5D60 000C2CC0 80 61 03 B8 */ lwz r3, 0x3b8(r1) /* 800C5D64 000C2CC4 3C 03 00 01 */ addis r0, r3, 1 /* 800C5D68 000C2CC8 28 00 FF FF */ cmplwi r0, 0xffff /* 800C5D6C 000C2CCC 40 82 00 30 */ bne lbl_800C5D9C /* 800C5D70 000C2CD0 34 61 01 D4 */ addic. r3, r1, 0x1d4 /* 800C5D74 000C2CD4 41 82 00 0C */ beq lbl_800C5D80 /* 800C5D78 000C2CD8 38 80 FF FF */ li r4, -1 /* 800C5D7C 000C2CDC 48 04 08 8D */ bl __dt__16CLightParametersFv lbl_800C5D80: /* 800C5D80 000C2CE0 38 61 00 F8 */ addi r3, r1, 0xf8 /* 800C5D84 000C2CE4 38 80 FF FF */ li r4, -1 /* 800C5D88 000C2CE8 48 04 08 81 */ bl __dt__16CLightParametersFv /* 800C5D8C 000C2CEC 38 61 01 60 */ addi r3, r1, 0x160 /* 800C5D90 000C2CF0 48 27 7D 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C5D94 000C2CF4 38 60 00 00 */ li r3, 0 /* 800C5D98 000C2CF8 48 00 01 20 */ b lbl_800C5EB8 lbl_800C5D9C: /* 800C5D9C 000C2CFC 7F A3 EB 78 */ mr r3, r29 /* 800C5DA0 000C2D00 48 27 8E E5 */ bl ReadLong__12CInputStreamFv /* 800C5DA4 000C2D04 7C 7B 1B 78 */ mr r27, r3 /* 800C5DA8 000C2D08 7F A3 EB 78 */ mr r3, r29 /* 800C5DAC 000C2D0C 48 27 8E D9 */ bl ReadLong__12CInputStreamFv /* 800C5DB0 000C2D10 7C 7C 1B 78 */ mr r28, r3 /* 800C5DB4 000C2D14 7F A3 EB 78 */ mr r3, r29 /* 800C5DB8 000C2D18 48 27 8E CD */ bl ReadLong__12CInputStreamFv /* 800C5DBC 000C2D1C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800C5DC0 000C2D20 7C 7D 1B 78 */ mr r29, r3 /* 800C5DC4 000C2D24 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l /* 800C5DC8 000C2D28 3B 20 00 00 */ li r25, 0 /* 800C5DCC 000C2D2C 38 83 00 0D */ addi r4, r3, 0xd /* 800C5DD0 000C2D30 38 60 0B 90 */ li r3, 0xb90 /* 800C5DD4 000C2D34 38 A0 00 00 */ li r5, 0 /* 800C5DD8 000C2D38 48 24 FA 95 */ bl __nw__FUlPCcPCc /* 800C5DDC 000C2D3C 7C 7A 1B 79 */ or. r26, r3, r3 /* 800C5DE0 000C2D40 41 82 00 9C */ beq lbl_800C5E7C /* 800C5DE4 000C2D44 80 E1 03 B8 */ lwz r7, 0x3b8(r1) /* 800C5DE8 000C2D48 38 A0 00 01 */ li r5, 1 /* 800C5DEC 000C2D4C 80 C1 03 BC */ lwz r6, 0x3bc(r1) /* 800C5DF0 000C2D50 38 61 00 44 */ addi r3, r1, 0x44 /* 800C5DF4 000C2D54 C0 41 01 A0 */ lfs f2, 0x1a0(r1) /* 800C5DF8 000C2D58 38 81 00 28 */ addi r4, r1, 0x28 /* 800C5DFC 000C2D5C C0 21 01 A4 */ lfs f1, 0x1a4(r1) /* 800C5E00 000C2D60 C0 01 01 A8 */ lfs f0, 0x1a8(r1) /* 800C5E04 000C2D64 80 01 03 C0 */ lwz r0, 0x3c0(r1) /* 800C5E08 000C2D68 90 E1 00 28 */ stw r7, 0x28(r1) /* 800C5E0C 000C2D6C 90 C1 00 2C */ stw r6, 0x2c(r1) /* 800C5E10 000C2D70 D0 41 00 30 */ stfs f2, 0x30(r1) /* 800C5E14 000C2D74 D0 21 00 34 */ stfs f1, 0x34(r1) /* 800C5E18 000C2D78 D0 01 00 38 */ stfs f0, 0x38(r1) /* 800C5E1C 000C2D7C 98 A1 00 3C */ stb r5, 0x3c(r1) /* 800C5E20 000C2D80 90 01 00 40 */ stw r0, 0x40(r1) /* 800C5E24 000C2D84 48 05 0D 31 */ bl __ct__10CModelDataFRC8CAnimRes /* 800C5E28 000C2D88 7F C4 F3 78 */ mr r4, r30 /* 800C5E2C 000C2D8C 38 61 00 18 */ addi r3, r1, 0x18 /* 800C5E30 000C2D90 3B 20 00 01 */ li r25, 1 /* 800C5E34 000C2D94 4B F8 72 A9 */ bl AllocateUniqueId__13CStateManagerFv /* 800C5E38 000C2D98 A0 81 00 18 */ lhz r4, 0x18(r1) /* 800C5E3C 000C2D9C 38 01 01 AC */ addi r0, r1, 0x1ac /* 800C5E40 000C2DA0 7F 43 D3 78 */ mr r3, r26 /* 800C5E44 000C2DA4 7F E6 FB 78 */ mr r6, r31 /* 800C5E48 000C2DA8 B0 81 00 1C */ sth r4, 0x1c(r1) /* 800C5E4C 000C2DAC 38 81 00 1C */ addi r4, r1, 0x1c /* 800C5E50 000C2DB0 38 A1 01 60 */ addi r5, r1, 0x160 /* 800C5E54 000C2DB4 38 E1 01 70 */ addi r7, r1, 0x170 /* 800C5E58 000C2DB8 90 01 00 08 */ stw r0, 8(r1) /* 800C5E5C 000C2DBC 39 01 00 44 */ addi r8, r1, 0x44 /* 800C5E60 000C2DC0 39 21 02 CC */ addi r9, r1, 0x2cc /* 800C5E64 000C2DC4 39 41 00 F8 */ addi r10, r1, 0xf8 /* 800C5E68 000C2DC8 93 61 00 0C */ stw r27, 0xc(r1) /* 800C5E6C 000C2DCC 93 81 00 10 */ stw r28, 0x10(r1) /* 800C5E70 000C2DD0 93 A1 00 14 */ stw r29, 0x14(r1) /* 800C5E74 000C2DD4 48 1C BA 21 */ bl "__ct__12COmegaPirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CElitePirateDataiii" /* 800C5E78 000C2DD8 7C 7A 1B 78 */ mr r26, r3 lbl_800C5E7C: /* 800C5E7C 000C2DDC 7F 20 07 75 */ extsb. r0, r25 /* 800C5E80 000C2DE0 41 82 00 10 */ beq lbl_800C5E90 /* 800C5E84 000C2DE4 38 61 00 44 */ addi r3, r1, 0x44 /* 800C5E88 000C2DE8 38 80 FF FF */ li r4, -1 /* 800C5E8C 000C2DEC 48 05 0B C1 */ bl __dt__10CModelDataFv lbl_800C5E90: /* 800C5E90 000C2DF0 34 61 01 D4 */ addic. r3, r1, 0x1d4 /* 800C5E94 000C2DF4 41 82 00 0C */ beq lbl_800C5EA0 /* 800C5E98 000C2DF8 38 80 FF FF */ li r4, -1 /* 800C5E9C 000C2DFC 48 04 07 6D */ bl __dt__16CLightParametersFv lbl_800C5EA0: /* 800C5EA0 000C2E00 38 61 00 F8 */ addi r3, r1, 0xf8 /* 800C5EA4 000C2E04 38 80 FF FF */ li r4, -1 /* 800C5EA8 000C2E08 48 04 07 61 */ bl __dt__16CLightParametersFv /* 800C5EAC 000C2E0C 38 61 01 60 */ addi r3, r1, 0x160 /* 800C5EB0 000C2E10 48 27 7C 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C5EB4 000C2E14 7F 43 D3 78 */ mr r3, r26 lbl_800C5EB8: /* 800C5EB8 000C2E18 BB 21 04 14 */ lmw r25, 0x414(r1) /* 800C5EBC 000C2E1C 80 01 04 34 */ lwz r0, 0x434(r1) /* 800C5EC0 000C2E20 7C 08 03 A6 */ mtlr r0 /* 800C5EC4 000C2E24 38 21 04 30 */ addi r1, r1, 0x430 /* 800C5EC8 000C2E28 4E 80 00 20 */ blr .global LoadMazeNode__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadMazeNode__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C5ECC 000C2E2C 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 800C5ED0 000C2E30 7C 08 02 A6 */ mflr r0 /* 800C5ED4 000C2E34 2C 05 00 0A */ cmpwi r5, 0xa /* 800C5ED8 000C2E38 90 01 00 B4 */ stw r0, 0xb4(r1) /* 800C5EDC 000C2E3C BF 21 00 94 */ stmw r25, 0x94(r1) /* 800C5EE0 000C2E40 7C 79 1B 78 */ mr r25, r3 /* 800C5EE4 000C2E44 7C 9B 23 78 */ mr r27, r4 /* 800C5EE8 000C2E48 7C DA 33 78 */ mr r26, r6 /* 800C5EEC 000C2E4C 41 82 00 0C */ beq lbl_800C5EF8 /* 800C5EF0 000C2E50 38 60 00 00 */ li r3, 0 /* 800C5EF4 000C2E54 48 00 00 E8 */ b lbl_800C5FDC lbl_800C5EF8: /* 800C5EF8 000C2E58 7F 25 CB 78 */ mr r5, r25 /* 800C5EFC 000C2E5C 38 61 00 44 */ addi r3, r1, 0x44 /* 800C5F00 000C2E60 48 01 45 C5 */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800C5F04 000C2E64 7F 63 DB 78 */ mr r3, r27 /* 800C5F08 000C2E68 48 27 8D D5 */ bl ReadBool__12CInputStreamFv /* 800C5F0C 000C2E6C 7C 7E 1B 78 */ mr r30, r3 /* 800C5F10 000C2E70 7F 63 DB 78 */ mr r3, r27 /* 800C5F14 000C2E74 48 27 8D 71 */ bl ReadLong__12CInputStreamFv /* 800C5F18 000C2E78 7C 7D 1B 78 */ mr r29, r3 /* 800C5F1C 000C2E7C 7F 63 DB 78 */ mr r3, r27 /* 800C5F20 000C2E80 48 27 8D 65 */ bl ReadLong__12CInputStreamFv /* 800C5F24 000C2E84 7C 7C 1B 78 */ mr r28, r3 /* 800C5F28 000C2E88 7F 63 DB 78 */ mr r3, r27 /* 800C5F2C 000C2E8C 48 27 8D 59 */ bl ReadLong__12CInputStreamFv /* 800C5F30 000C2E90 7C 7F 1B 78 */ mr r31, r3 /* 800C5F34 000C2E94 7F 64 DB 78 */ mr r4, r27 /* 800C5F38 000C2E98 38 61 00 38 */ addi r3, r1, 0x38 /* 800C5F3C 000C2E9C 48 24 EC 51 */ bl __ct__9CVector3fFR12CInputStream /* 800C5F40 000C2EA0 7F 64 DB 78 */ mr r4, r27 /* 800C5F44 000C2EA4 38 61 00 2C */ addi r3, r1, 0x2c /* 800C5F48 000C2EA8 48 24 EC 45 */ bl __ct__9CVector3fFR12CInputStream /* 800C5F4C 000C2EAC 7F 64 DB 78 */ mr r4, r27 /* 800C5F50 000C2EB0 38 61 00 20 */ addi r3, r1, 0x20 /* 800C5F54 000C2EB4 48 24 EC 39 */ bl __ct__9CVector3fFR12CInputStream /* 800C5F58 000C2EB8 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800C5F5C 000C2EBC 38 60 01 40 */ li r3, 0x140 /* 800C5F60 000C2EC0 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800C5F64 000C2EC4 38 A0 00 00 */ li r5, 0 /* 800C5F68 000C2EC8 38 84 00 0D */ addi r4, r4, 0xd /* 800C5F6C 000C2ECC 48 24 F9 01 */ bl __nw__FUlPCcPCc /* 800C5F70 000C2ED0 7C 7B 1B 79 */ or. r27, r3, r3 /* 800C5F74 000C2ED4 41 82 00 5C */ beq lbl_800C5FD0 /* 800C5F78 000C2ED8 7F 24 CB 78 */ mr r4, r25 /* 800C5F7C 000C2EDC 38 61 00 18 */ addi r3, r1, 0x18 /* 800C5F80 000C2EE0 4B F8 71 5D */ bl AllocateUniqueId__13CStateManagerFv /* 800C5F84 000C2EE4 A0 61 00 18 */ lhz r3, 0x18(r1) /* 800C5F88 000C2EE8 38 A1 00 38 */ addi r5, r1, 0x38 /* 800C5F8C 000C2EEC 39 61 00 2C */ addi r11, r1, 0x2c /* 800C5F90 000C2EF0 38 01 00 20 */ addi r0, r1, 0x20 /* 800C5F94 000C2EF4 B0 61 00 1C */ sth r3, 0x1c(r1) /* 800C5F98 000C2EF8 7F 63 DB 78 */ mr r3, r27 /* 800C5F9C 000C2EFC 7F 46 D3 78 */ mr r6, r26 /* 800C5FA0 000C2F00 7F C8 F3 78 */ mr r8, r30 /* 800C5FA4 000C2F04 93 E1 00 08 */ stw r31, 8(r1) /* 800C5FA8 000C2F08 7F A9 EB 78 */ mr r9, r29 /* 800C5FAC 000C2F0C 7F 8A E3 78 */ mr r10, r28 /* 800C5FB0 000C2F10 38 81 00 1C */ addi r4, r1, 0x1c /* 800C5FB4 000C2F14 90 A1 00 0C */ stw r5, 0xc(r1) /* 800C5FB8 000C2F18 38 A1 00 44 */ addi r5, r1, 0x44 /* 800C5FBC 000C2F1C 38 E1 00 54 */ addi r7, r1, 0x54 /* 800C5FC0 000C2F20 91 61 00 10 */ stw r11, 0x10(r1) /* 800C5FC4 000C2F24 90 01 00 14 */ stw r0, 0x14(r1) /* 800C5FC8 000C2F28 48 1C 36 A5 */ bl "__ct__15CScriptMazeNodeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbiiiRC9CVector3fRC9CVector3fRC9CVector3f" /* 800C5FCC 000C2F2C 7C 7B 1B 78 */ mr r27, r3 lbl_800C5FD0: /* 800C5FD0 000C2F30 38 61 00 44 */ addi r3, r1, 0x44 /* 800C5FD4 000C2F34 48 27 7B 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C5FD8 000C2F38 7F 63 DB 78 */ mr r3, r27 lbl_800C5FDC: /* 800C5FDC 000C2F3C BB 21 00 94 */ lmw r25, 0x94(r1) /* 800C5FE0 000C2F40 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 800C5FE4 000C2F44 7C 08 03 A6 */ mtlr r0 /* 800C5FE8 000C2F48 38 21 00 B0 */ addi r1, r1, 0xb0 /* 800C5FEC 000C2F4C 4E 80 00 20 */ blr .global LoadMetroidPrimeEssence__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadMetroidPrimeEssence__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C5FF0 000C2F50 94 21 FC 90 */ stwu r1, -0x370(r1) /* 800C5FF4 000C2F54 7C 08 02 A6 */ mflr r0 /* 800C5FF8 000C2F58 2C 05 00 0B */ cmpwi r5, 0xb /* 800C5FFC 000C2F5C 90 01 03 74 */ stw r0, 0x374(r1) /* 800C6000 000C2F60 BE E1 03 4C */ stmw r23, 0x34c(r1) /* 800C6004 000C2F64 7C 79 1B 78 */ mr r25, r3 /* 800C6008 000C2F68 7C 97 23 78 */ mr r23, r4 /* 800C600C 000C2F6C 7C DA 33 78 */ mr r26, r6 /* 800C6010 000C2F70 41 82 00 0C */ beq lbl_800C601C /* 800C6014 000C2F74 38 60 00 00 */ li r3, 0 /* 800C6018 000C2F78 48 00 02 30 */ b lbl_800C6248 lbl_800C601C: /* 800C601C 000C2F7C 7F 25 CB 78 */ mr r5, r25 /* 800C6020 000C2F80 38 61 01 BC */ addi r3, r1, 0x1bc /* 800C6024 000C2F84 48 01 44 59 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C6028 000C2F88 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C602C 000C2F8C 7E E4 BB 78 */ mr r4, r23 /* 800C6030 000C2F90 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800C6034 000C2F94 38 61 00 28 */ addi r3, r1, 0x28 /* 800C6038 000C2F98 38 A5 00 35 */ addi r5, r5, 0x35 /* 800C603C 000C2F9C 48 03 F7 ED */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800C6040 000C2FA0 88 01 00 28 */ lbz r0, 0x28(r1) /* 800C6044 000C2FA4 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 800C6048 000C2FA8 28 00 00 00 */ cmplwi r0, 0 /* 800C604C 000C2FAC 40 82 00 14 */ bne lbl_800C6060 /* 800C6050 000C2FB0 38 61 01 BC */ addi r3, r1, 0x1bc /* 800C6054 000C2FB4 48 27 7A 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C6058 000C2FB8 38 60 00 00 */ li r3, 0 /* 800C605C 000C2FBC 48 00 01 EC */ b lbl_800C6248 lbl_800C6060: /* 800C6060 000C2FC0 7E E4 BB 78 */ mr r4, r23 /* 800C6064 000C2FC4 38 61 02 08 */ addi r3, r1, 0x208 /* 800C6068 000C2FC8 48 03 F8 11 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800C606C 000C2FCC 80 61 02 F4 */ lwz r3, 0x2f4(r1) /* 800C6070 000C2FD0 3C 03 00 01 */ addis r0, r3, 1 /* 800C6074 000C2FD4 28 00 FF FF */ cmplwi r0, 0xffff /* 800C6078 000C2FD8 40 82 00 14 */ bne lbl_800C608C /* 800C607C 000C2FDC 38 61 01 BC */ addi r3, r1, 0x1bc /* 800C6080 000C2FE0 48 27 7A 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C6084 000C2FE4 38 60 00 00 */ li r3, 0 /* 800C6088 000C2FE8 48 00 01 C0 */ b lbl_800C6248 lbl_800C608C: /* 800C608C 000C2FEC 7E E4 BB 78 */ mr r4, r23 /* 800C6090 000C2FF0 38 61 00 EC */ addi r3, r1, 0xec /* 800C6094 000C2FF4 48 01 3C E1 */ bl LoadActorParameters__FR12CInputStream /* 800C6098 000C2FF8 38 61 01 54 */ addi r3, r1, 0x154 /* 800C609C 000C2FFC 38 81 00 EC */ addi r4, r1, 0xec /* 800C60A0 000C3000 4B FF F5 7D */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C60A4 000C3004 38 61 00 EC */ addi r3, r1, 0xec /* 800C60A8 000C3008 38 80 FF FF */ li r4, -1 /* 800C60AC 000C300C 48 04 05 5D */ bl __dt__16CLightParametersFv /* 800C60B0 000C3010 7E E3 BB 78 */ mr r3, r23 /* 800C60B4 000C3014 48 27 8B D1 */ bl ReadLong__12CInputStreamFv /* 800C60B8 000C3018 7C 7C 1B 78 */ mr r28, r3 /* 800C60BC 000C301C 7E E4 BB 78 */ mr r4, r23 /* 800C60C0 000C3020 38 61 00 68 */ addi r3, r1, 0x68 /* 800C60C4 000C3024 4B FF D4 9D */ bl __ct__11CDamageInfoFR12CInputStream /* 800C60C8 000C3028 80 A1 00 68 */ lwz r5, 0x68(r1) /* 800C60CC 000C302C 7E E3 BB 78 */ mr r3, r23 /* 800C60D0 000C3030 88 81 00 6C */ lbz r4, 0x6c(r1) /* 800C60D4 000C3034 C0 61 00 70 */ lfs f3, 0x70(r1) /* 800C60D8 000C3038 C0 41 00 74 */ lfs f2, 0x74(r1) /* 800C60DC 000C303C C0 21 00 78 */ lfs f1, 0x78(r1) /* 800C60E0 000C3040 C0 01 00 7C */ lfs f0, 0x7c(r1) /* 800C60E4 000C3044 88 01 00 80 */ lbz r0, 0x80(r1) /* 800C60E8 000C3048 90 A1 00 84 */ stw r5, 0x84(r1) /* 800C60EC 000C304C 98 81 00 88 */ stb r4, 0x88(r1) /* 800C60F0 000C3050 D0 61 00 8C */ stfs f3, 0x8c(r1) /* 800C60F4 000C3054 D0 41 00 90 */ stfs f2, 0x90(r1) /* 800C60F8 000C3058 D0 21 00 94 */ stfs f1, 0x94(r1) /* 800C60FC 000C305C D0 01 00 98 */ stfs f0, 0x98(r1) /* 800C6100 000C3060 98 01 00 9C */ stb r0, 0x9c(r1) /* 800C6104 000C3064 48 27 8B 81 */ bl ReadLong__12CInputStreamFv /* 800C6108 000C3068 7C 7D 1B 78 */ mr r29, r3 /* 800C610C 000C306C 7E E3 BB 78 */ mr r3, r23 /* 800C6110 000C3070 48 27 8B 75 */ bl ReadLong__12CInputStreamFv /* 800C6114 000C3074 7C 7E 1B 78 */ mr r30, r3 /* 800C6118 000C3078 7E E3 BB 78 */ mr r3, r23 /* 800C611C 000C307C 48 27 8B 69 */ bl ReadLong__12CInputStreamFv /* 800C6120 000C3080 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800C6124 000C3084 7C 7F 1B 78 */ mr r31, r3 /* 800C6128 000C3088 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l /* 800C612C 000C308C 3A E0 00 00 */ li r23, 0 /* 800C6130 000C3090 38 83 00 0D */ addi r4, r3, 0xd /* 800C6134 000C3094 38 60 07 10 */ li r3, 0x710 /* 800C6138 000C3098 38 A0 00 00 */ li r5, 0 /* 800C613C 000C309C 48 24 F7 31 */ bl __nw__FUlPCcPCc /* 800C6140 000C30A0 7C 7B 1B 79 */ or. r27, r3, r3 /* 800C6144 000C30A4 41 82 00 D8 */ beq lbl_800C621C /* 800C6148 000C30A8 82 E1 00 84 */ lwz r23, 0x84(r1) /* 800C614C 000C30AC 38 A0 00 01 */ li r5, 1 /* 800C6150 000C30B0 83 01 00 88 */ lwz r24, 0x88(r1) /* 800C6154 000C30B4 38 61 00 A0 */ addi r3, r1, 0xa0 /* 800C6158 000C30B8 81 81 00 8C */ lwz r12, 0x8c(r1) /* 800C615C 000C30BC 38 81 00 30 */ addi r4, r1, 0x30 /* 800C6160 000C30C0 81 61 00 90 */ lwz r11, 0x90(r1) /* 800C6164 000C30C4 81 41 00 94 */ lwz r10, 0x94(r1) /* 800C6168 000C30C8 81 21 00 98 */ lwz r9, 0x98(r1) /* 800C616C 000C30CC 81 01 00 9C */ lwz r8, 0x9c(r1) /* 800C6170 000C30D0 80 E1 02 F4 */ lwz r7, 0x2f4(r1) /* 800C6174 000C30D4 80 C1 02 F8 */ lwz r6, 0x2f8(r1) /* 800C6178 000C30D8 C0 41 01 FC */ lfs f2, 0x1fc(r1) /* 800C617C 000C30DC C0 21 02 00 */ lfs f1, 0x200(r1) /* 800C6180 000C30E0 C0 01 02 04 */ lfs f0, 0x204(r1) /* 800C6184 000C30E4 80 01 02 FC */ lwz r0, 0x2fc(r1) /* 800C6188 000C30E8 92 E1 00 4C */ stw r23, 0x4c(r1) /* 800C618C 000C30EC 93 01 00 50 */ stw r24, 0x50(r1) /* 800C6190 000C30F0 91 81 00 54 */ stw r12, 0x54(r1) /* 800C6194 000C30F4 91 61 00 58 */ stw r11, 0x58(r1) /* 800C6198 000C30F8 91 41 00 5C */ stw r10, 0x5c(r1) /* 800C619C 000C30FC 91 21 00 60 */ stw r9, 0x60(r1) /* 800C61A0 000C3100 91 01 00 64 */ stw r8, 0x64(r1) /* 800C61A4 000C3104 90 E1 00 30 */ stw r7, 0x30(r1) /* 800C61A8 000C3108 90 C1 00 34 */ stw r6, 0x34(r1) /* 800C61AC 000C310C D0 41 00 38 */ stfs f2, 0x38(r1) /* 800C61B0 000C3110 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 800C61B4 000C3114 D0 01 00 40 */ stfs f0, 0x40(r1) /* 800C61B8 000C3118 98 A1 00 44 */ stb r5, 0x44(r1) /* 800C61BC 000C311C 90 01 00 48 */ stw r0, 0x48(r1) /* 800C61C0 000C3120 48 05 09 95 */ bl __ct__10CModelDataFRC8CAnimRes /* 800C61C4 000C3124 7F 24 CB 78 */ mr r4, r25 /* 800C61C8 000C3128 38 61 00 20 */ addi r3, r1, 0x20 /* 800C61CC 000C312C 3A E0 00 01 */ li r23, 1 /* 800C61D0 000C3130 4B F8 6F 0D */ bl AllocateUniqueId__13CStateManagerFv /* 800C61D4 000C3134 A0 81 00 20 */ lhz r4, 0x20(r1) /* 800C61D8 000C3138 38 01 00 4C */ addi r0, r1, 0x4c /* 800C61DC 000C313C 7F 63 DB 78 */ mr r3, r27 /* 800C61E0 000C3140 7F 46 D3 78 */ mr r6, r26 /* 800C61E4 000C3144 B0 81 00 24 */ sth r4, 0x24(r1) /* 800C61E8 000C3148 38 81 00 24 */ addi r4, r1, 0x24 /* 800C61EC 000C314C 38 A1 01 BC */ addi r5, r1, 0x1bc /* 800C61F0 000C3150 38 E1 01 CC */ addi r7, r1, 0x1cc /* 800C61F4 000C3154 93 81 00 08 */ stw r28, 8(r1) /* 800C61F8 000C3158 39 01 00 A0 */ addi r8, r1, 0xa0 /* 800C61FC 000C315C 39 21 02 08 */ addi r9, r1, 0x208 /* 800C6200 000C3160 39 41 01 54 */ addi r10, r1, 0x154 /* 800C6204 000C3164 90 01 00 0C */ stw r0, 0xc(r1) /* 800C6208 000C3168 93 A1 00 10 */ stw r29, 0x10(r1) /* 800C620C 000C316C 93 C1 00 14 */ stw r30, 0x14(r1) /* 800C6210 000C3170 93 E1 00 18 */ stw r31, 0x18(r1) /* 800C6214 000C3174 48 1B 9F A5 */ bl __ct__20CMetroidPrimeEssence /* 800C6218 000C3178 7C 7B 1B 78 */ mr r27, r3 lbl_800C621C: /* 800C621C 000C317C 7E E0 07 75 */ extsb. r0, r23 /* 800C6220 000C3180 41 82 00 10 */ beq lbl_800C6230 /* 800C6224 000C3184 38 61 00 A0 */ addi r3, r1, 0xa0 /* 800C6228 000C3188 38 80 FF FF */ li r4, -1 /* 800C622C 000C318C 48 05 08 21 */ bl __dt__10CModelDataFv lbl_800C6230: /* 800C6230 000C3190 38 61 01 54 */ addi r3, r1, 0x154 /* 800C6234 000C3194 38 80 FF FF */ li r4, -1 /* 800C6238 000C3198 48 04 03 D1 */ bl __dt__16CLightParametersFv /* 800C623C 000C319C 38 61 01 BC */ addi r3, r1, 0x1bc /* 800C6240 000C31A0 48 27 78 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C6244 000C31A4 7F 63 DB 78 */ mr r3, r27 lbl_800C6248: /* 800C6248 000C31A8 BA E1 03 4C */ lmw r23, 0x34c(r1) /* 800C624C 000C31AC 80 01 03 74 */ lwz r0, 0x374(r1) /* 800C6250 000C31B0 7C 08 03 A6 */ mtlr r0 /* 800C6254 000C31B4 38 21 03 70 */ addi r1, r1, 0x370 /* 800C6258 000C31B8 4E 80 00 20 */ blr .global LoadWorldLightFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadWorldLightFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C625C 000C31BC 94 21 FF 90 */ stwu r1, -0x70(r1) /* 800C6260 000C31C0 7C 08 02 A6 */ mflr r0 /* 800C6264 000C31C4 90 01 00 74 */ stw r0, 0x74(r1) /* 800C6268 000C31C8 DB E1 00 60 */ stfd f31, 0x60(r1) /* 800C626C 000C31CC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 800C6270 000C31D0 DB C1 00 50 */ stfd f30, 0x50(r1) /* 800C6274 000C31D4 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 800C6278 000C31D8 93 E1 00 4C */ stw r31, 0x4c(r1) /* 800C627C 000C31DC 93 C1 00 48 */ stw r30, 0x48(r1) /* 800C6280 000C31E0 93 A1 00 44 */ stw r29, 0x44(r1) /* 800C6284 000C31E4 93 81 00 40 */ stw r28, 0x40(r1) /* 800C6288 000C31E8 2C 05 00 04 */ cmpwi r5, 4 /* 800C628C 000C31EC 7C 7F 1B 78 */ mr r31, r3 /* 800C6290 000C31F0 7C 9D 23 78 */ mr r29, r4 /* 800C6294 000C31F4 7C DC 33 78 */ mr r28, r6 /* 800C6298 000C31F8 41 82 00 0C */ beq lbl_800C62A4 /* 800C629C 000C31FC 38 60 00 00 */ li r3, 0 /* 800C62A0 000C3200 48 00 00 FC */ b lbl_800C639C lbl_800C62A4: /* 800C62A4 000C3204 4B F7 EF 41 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800C62A8 000C3208 7C 64 1B 78 */ mr r4, r3 /* 800C62AC 000C320C 38 61 00 30 */ addi r3, r1, 0x30 /* 800C62B0 000C3210 48 27 7E B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800C62B4 000C3214 7F A3 EB 78 */ mr r3, r29 /* 800C62B8 000C3218 48 27 8A 25 */ bl ReadBool__12CInputStreamFv /* 800C62BC 000C321C 7C 7E 1B 78 */ mr r30, r3 /* 800C62C0 000C3220 7F A3 EB 78 */ mr r3, r29 /* 800C62C4 000C3224 48 27 89 65 */ bl ReadFloat__12CInputStreamFv /* 800C62C8 000C3228 FF E0 08 90 */ fmr f31, f1 /* 800C62CC 000C322C 7F A3 EB 78 */ mr r3, r29 /* 800C62D0 000C3230 48 27 89 59 */ bl ReadFloat__12CInputStreamFv /* 800C62D4 000C3234 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C62D8 000C3238 FF C0 08 90 */ fmr f30, f1 /* 800C62DC 000C323C 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800C62E0 000C3240 38 A0 00 00 */ li r5, 0 /* 800C62E4 000C3244 38 60 00 64 */ li r3, 0x64 /* 800C62E8 000C3248 38 84 00 0D */ addi r4, r4, 0xd /* 800C62EC 000C324C 48 24 F5 81 */ bl __nw__FUlPCcPCc /* 800C62F0 000C3250 7C 7D 1B 79 */ or. r29, r3, r3 /* 800C62F4 000C3254 41 82 00 9C */ beq lbl_800C6390 /* 800C62F8 000C3258 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800C62FC 000C325C 38 61 00 20 */ addi r3, r1, 0x20 /* 800C6300 000C3260 FC 40 08 90 */ fmr f2, f1 /* 800C6304 000C3264 48 24 DE FD */ bl __ct__9CVector2fFff /* 800C6308 000C3268 80 A3 00 00 */ lwz r5, 0(r3) /* 800C630C 000C326C 7F E4 FB 78 */ mr r4, r31 /* 800C6310 000C3270 80 03 00 04 */ lwz r0, 4(r3) /* 800C6314 000C3274 38 61 00 10 */ addi r3, r1, 0x10 /* 800C6318 000C3278 90 A1 00 28 */ stw r5, 0x28(r1) /* 800C631C 000C327C 90 01 00 2C */ stw r0, 0x2c(r1) /* 800C6320 000C3280 4B F8 6D BD */ bl AllocateUniqueId__13CStateManagerFv /* 800C6324 000C3284 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800C6328 000C3288 38 61 00 18 */ addi r3, r1, 0x18 /* 800C632C 000C328C A0 01 00 10 */ lhz r0, 0x10(r1) /* 800C6330 000C3290 FC 40 08 90 */ fmr f2, f1 /* 800C6334 000C3294 B0 01 00 14 */ sth r0, 0x14(r1) /* 800C6338 000C3298 48 24 DE C9 */ bl __ct__9CVector2fFff /* 800C633C 000C329C 7C 7F 1B 78 */ mr r31, r3 /* 800C6340 000C32A0 48 28 3C 75 */ bl Black__6CColorFv /* 800C6344 000C32A4 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800C6348 000C32A8 38 00 00 00 */ li r0, 0 /* 800C634C 000C32AC 90 01 00 08 */ stw r0, 8(r1) /* 800C6350 000C32B0 57 C0 06 3E */ clrlwi r0, r30, 0x18 /* 800C6354 000C32B4 FC 40 08 90 */ fmr f2, f1 /* 800C6358 000C32B8 7C 68 1B 78 */ mr r8, r3 /* 800C635C 000C32BC FC 60 08 90 */ fmr f3, f1 /* 800C6360 000C32C0 90 01 00 0C */ stw r0, 0xc(r1) /* 800C6364 000C32C4 FC 80 F8 90 */ fmr f4, f31 /* 800C6368 000C32C8 7F A3 EB 78 */ mr r3, r29 /* 800C636C 000C32CC FC A0 F0 90 */ fmr f5, f30 /* 800C6370 000C32D0 7F 86 E3 78 */ mr r6, r28 /* 800C6374 000C32D4 7F E9 FB 78 */ mr r9, r31 /* 800C6378 000C32D8 38 81 00 14 */ addi r4, r1, 0x14 /* 800C637C 000C32DC 38 A1 00 30 */ addi r5, r1, 0x30 /* 800C6380 000C32E0 39 41 00 28 */ addi r10, r1, 0x28 /* 800C6384 000C32E4 38 E0 00 00 */ li r7, 0 /* 800C6388 000C32E8 48 08 6E D1 */ bl "__ct__18CScriptDistanceFogF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC11ERglFogModeRC6CColorRC9CVector2ff9CVector2fbbffff" /* 800C638C 000C32EC 7C 7D 1B 78 */ mr r29, r3 lbl_800C6390: /* 800C6390 000C32F0 38 61 00 30 */ addi r3, r1, 0x30 /* 800C6394 000C32F4 48 27 77 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C6398 000C32F8 7F A3 EB 78 */ mr r3, r29 lbl_800C639C: /* 800C639C 000C32FC E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 800C63A0 000C3300 CB E1 00 60 */ lfd f31, 0x60(r1) /* 800C63A4 000C3304 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 800C63A8 000C3308 CB C1 00 50 */ lfd f30, 0x50(r1) /* 800C63AC 000C330C 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 800C63B0 000C3310 83 C1 00 48 */ lwz r30, 0x48(r1) /* 800C63B4 000C3314 83 A1 00 44 */ lwz r29, 0x44(r1) /* 800C63B8 000C3318 80 01 00 74 */ lwz r0, 0x74(r1) /* 800C63BC 000C331C 83 81 00 40 */ lwz r28, 0x40(r1) /* 800C63C0 000C3320 7C 08 03 A6 */ mtlr r0 /* 800C63C4 000C3324 38 21 00 70 */ addi r1, r1, 0x70 /* 800C63C8 000C3328 4E 80 00 20 */ blr .global LoadScriptBeam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadScriptBeam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C63CC 000C332C 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 800C63D0 000C3330 7C 08 02 A6 */ mflr r0 /* 800C63D4 000C3334 2C 05 00 07 */ cmpwi r5, 7 /* 800C63D8 000C3338 90 01 00 F4 */ stw r0, 0xf4(r1) /* 800C63DC 000C333C BF 21 00 D4 */ stmw r25, 0xd4(r1) /* 800C63E0 000C3340 7C 7B 1B 78 */ mr r27, r3 /* 800C63E4 000C3344 7C 9F 23 78 */ mr r31, r4 /* 800C63E8 000C3348 7C DC 33 78 */ mr r28, r6 /* 800C63EC 000C334C 41 82 00 0C */ beq lbl_800C63F8 /* 800C63F0 000C3350 38 60 00 00 */ li r3, 0 /* 800C63F4 000C3354 48 00 01 48 */ b lbl_800C653C lbl_800C63F8: /* 800C63F8 000C3358 7F 65 DB 78 */ mr r5, r27 /* 800C63FC 000C335C 38 61 00 4C */ addi r3, r1, 0x4c /* 800C6400 000C3360 48 01 40 C5 */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800C6404 000C3364 7F E3 FB 78 */ mr r3, r31 /* 800C6408 000C3368 48 27 88 D5 */ bl ReadBool__12CInputStreamFv /* 800C640C 000C336C 7C 7E 1B 78 */ mr r30, r3 /* 800C6410 000C3370 7F E3 FB 78 */ mr r3, r31 /* 800C6414 000C3374 48 27 88 71 */ bl ReadLong__12CInputStreamFv /* 800C6418 000C3378 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800C641C 000C337C 7C 7D 1B 78 */ mr r29, r3 /* 800C6420 000C3380 7F A4 EB 78 */ mr r4, r29 /* 800C6424 000C3384 38 65 00 04 */ addi r3, r5, 4 /* 800C6428 000C3388 48 27 58 A5 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800C642C 000C338C 28 03 00 00 */ cmplwi r3, 0 /* 800C6430 000C3390 40 82 00 14 */ bne lbl_800C6444 /* 800C6434 000C3394 38 61 00 4C */ addi r3, r1, 0x4c /* 800C6438 000C3398 48 27 76 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C643C 000C339C 38 60 00 00 */ li r3, 0 /* 800C6440 000C33A0 48 00 00 FC */ b lbl_800C653C lbl_800C6444: /* 800C6444 000C33A4 7F E4 FB 78 */ mr r4, r31 /* 800C6448 000C33A8 38 61 00 8C */ addi r3, r1, 0x8c /* 800C644C 000C33AC 48 00 01 05 */ bl __ct__9CBeamInfoFR12CInputStream /* 800C6450 000C33B0 7F E4 FB 78 */ mr r4, r31 /* 800C6454 000C33B4 38 61 00 30 */ addi r3, r1, 0x30 /* 800C6458 000C33B8 4B FF D1 09 */ bl __ct__11CDamageInfoFR12CInputStream /* 800C645C 000C33BC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C6460 000C33C0 3B 40 00 00 */ li r26, 0 /* 800C6464 000C33C4 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l /* 800C6468 000C33C8 3B 20 00 00 */ li r25, 0 /* 800C646C 000C33CC 38 83 00 0D */ addi r4, r3, 0xd /* 800C6470 000C33D0 38 60 01 58 */ li r3, 0x158 /* 800C6474 000C33D4 38 A0 00 00 */ li r5, 0 /* 800C6478 000C33D8 48 24 F3 F5 */ bl __nw__FUlPCcPCc /* 800C647C 000C33DC 7C 7F 1B 79 */ or. r31, r3, r3 /* 800C6480 000C33E0 41 82 00 88 */ beq lbl_800C6508 /* 800C6484 000C33E4 7F 64 DB 78 */ mr r4, r27 /* 800C6488 000C33E8 38 61 00 10 */ addi r3, r1, 0x10 /* 800C648C 000C33EC 4B F8 6C 51 */ bl AllocateUniqueId__13CStateManagerFv /* 800C6490 000C33F0 A0 A1 00 10 */ lhz r5, 0x10(r1) /* 800C6494 000C33F4 3C 60 57 50 */ lis r3, 0x57505343@ha /* 800C6498 000C33F8 38 03 53 43 */ addi r0, r3, 0x57505343@l /* 800C649C 000C33FC 93 A1 00 2C */ stw r29, 0x2c(r1) /* 800C64A0 000C3400 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 800C64A4 000C3404 38 61 00 20 */ addi r3, r1, 0x20 /* 800C64A8 000C3408 B0 A1 00 14 */ sth r5, 0x14(r1) /* 800C64AC 000C340C 38 A1 00 28 */ addi r5, r1, 0x28 /* 800C64B0 000C3410 90 01 00 28 */ stw r0, 0x28(r1) /* 800C64B4 000C3414 81 84 00 00 */ lwz r12, 0(r4) /* 800C64B8 000C3418 81 8C 00 0C */ lwz r12, 0xc(r12) /* 800C64BC 000C341C 7D 89 03 A6 */ mtctr r12 /* 800C64C0 000C3420 4E 80 04 21 */ bctrl /* 800C64C4 000C3424 38 61 00 18 */ addi r3, r1, 0x18 /* 800C64C8 000C3428 38 81 00 20 */ addi r4, r1, 0x20 /* 800C64CC 000C342C 3B 40 00 01 */ li r26, 1 /* 800C64D0 000C3430 48 27 A9 D9 */ bl __ct__6CTokenFRC6CToken /* 800C64D4 000C3434 38 01 00 30 */ addi r0, r1, 0x30 /* 800C64D8 000C3438 7F E3 FB 78 */ mr r3, r31 /* 800C64DC 000C343C 90 01 00 08 */ stw r0, 8(r1) /* 800C64E0 000C3440 7F 86 E3 78 */ mr r6, r28 /* 800C64E4 000C3444 7F C8 F3 78 */ mr r8, r30 /* 800C64E8 000C3448 38 81 00 14 */ addi r4, r1, 0x14 /* 800C64EC 000C344C 38 A1 00 4C */ addi r5, r1, 0x4c /* 800C64F0 000C3450 38 E1 00 5C */ addi r7, r1, 0x5c /* 800C64F4 000C3454 39 21 00 18 */ addi r9, r1, 0x18 /* 800C64F8 000C3458 39 41 00 8C */ addi r10, r1, 0x8c /* 800C64FC 000C345C 3B 20 00 01 */ li r25, 1 /* 800C6500 000C3460 48 1B 64 81 */ bl "__ct__11CScriptBeamF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC34TLockedToken<18CWeaponDescription>RC9CBeamInfoRC11CDamageInfo" /* 800C6504 000C3464 7C 7F 1B 78 */ mr r31, r3 lbl_800C6508: /* 800C6508 000C3468 7F 20 07 75 */ extsb. r0, r25 /* 800C650C 000C346C 41 82 00 10 */ beq lbl_800C651C /* 800C6510 000C3470 38 61 00 18 */ addi r3, r1, 0x18 /* 800C6514 000C3474 38 80 00 00 */ li r4, 0 /* 800C6518 000C3478 48 27 A9 29 */ bl __dt__6CTokenFv lbl_800C651C: /* 800C651C 000C347C 7F 40 07 75 */ extsb. r0, r26 /* 800C6520 000C3480 41 82 00 10 */ beq lbl_800C6530 /* 800C6524 000C3484 38 61 00 20 */ addi r3, r1, 0x20 /* 800C6528 000C3488 38 80 FF FF */ li r4, -1 /* 800C652C 000C348C 48 27 A9 15 */ bl __dt__6CTokenFv lbl_800C6530: /* 800C6530 000C3490 38 61 00 4C */ addi r3, r1, 0x4c /* 800C6534 000C3494 48 27 75 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C6538 000C3498 7F E3 FB 78 */ mr r3, r31 lbl_800C653C: /* 800C653C 000C349C BB 21 00 D4 */ lmw r25, 0xd4(r1) /* 800C6540 000C34A0 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 800C6544 000C34A4 7C 08 03 A6 */ mtlr r0 /* 800C6548 000C34A8 38 21 00 F0 */ addi r1, r1, 0xf0 /* 800C654C 000C34AC 4E 80 00 20 */ blr .global __ct__9CBeamInfoFR12CInputStream __ct__9CBeamInfoFR12CInputStream: /* 800C6550 000C34B0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 800C6554 000C34B4 7C 08 02 A6 */ mflr r0 /* 800C6558 000C34B8 90 01 00 24 */ stw r0, 0x24(r1) /* 800C655C 000C34BC 93 E1 00 1C */ stw r31, 0x1c(r1) /* 800C6560 000C34C0 7C 9F 23 78 */ mr r31, r4 /* 800C6564 000C34C4 93 C1 00 18 */ stw r30, 0x18(r1) /* 800C6568 000C34C8 7C 7E 1B 78 */ mr r30, r3 /* 800C656C 000C34CC 7F E3 FB 78 */ mr r3, r31 /* 800C6570 000C34D0 48 27 87 15 */ bl ReadLong__12CInputStreamFv /* 800C6574 000C34D4 90 7E 00 00 */ stw r3, 0(r30) /* 800C6578 000C34D8 7F E3 FB 78 */ mr r3, r31 /* 800C657C 000C34DC 48 27 87 09 */ bl ReadLong__12CInputStreamFv /* 800C6580 000C34E0 90 7E 00 04 */ stw r3, 4(r30) /* 800C6584 000C34E4 7F E3 FB 78 */ mr r3, r31 /* 800C6588 000C34E8 48 27 86 FD */ bl ReadLong__12CInputStreamFv /* 800C658C 000C34EC 90 7E 00 08 */ stw r3, 8(r30) /* 800C6590 000C34F0 7F E3 FB 78 */ mr r3, r31 /* 800C6594 000C34F4 48 27 86 F1 */ bl ReadLong__12CInputStreamFv /* 800C6598 000C34F8 90 7E 00 0C */ stw r3, 0xc(r30) /* 800C659C 000C34FC 7F E3 FB 78 */ mr r3, r31 /* 800C65A0 000C3500 48 27 86 E5 */ bl ReadLong__12CInputStreamFv /* 800C65A4 000C3504 90 7E 00 10 */ stw r3, 0x10(r30) /* 800C65A8 000C3508 7F E3 FB 78 */ mr r3, r31 /* 800C65AC 000C350C 48 27 86 D9 */ bl ReadLong__12CInputStreamFv /* 800C65B0 000C3510 90 7E 00 14 */ stw r3, 0x14(r30) /* 800C65B4 000C3514 7F E3 FB 78 */ mr r3, r31 /* 800C65B8 000C3518 48 27 86 71 */ bl ReadFloat__12CInputStreamFv /* 800C65BC 000C351C FC 00 08 1E */ fctiwz f0, f1 /* 800C65C0 000C3520 7F E3 FB 78 */ mr r3, r31 /* 800C65C4 000C3524 D8 01 00 08 */ stfd f0, 8(r1) /* 800C65C8 000C3528 80 01 00 0C */ lwz r0, 0xc(r1) /* 800C65CC 000C352C 90 1E 00 18 */ stw r0, 0x18(r30) /* 800C65D0 000C3530 48 27 86 59 */ bl ReadFloat__12CInputStreamFv /* 800C65D4 000C3534 D0 3E 00 1C */ stfs f1, 0x1c(r30) /* 800C65D8 000C3538 7F E3 FB 78 */ mr r3, r31 /* 800C65DC 000C353C 48 27 86 4D */ bl ReadFloat__12CInputStreamFv /* 800C65E0 000C3540 D0 3E 00 20 */ stfs f1, 0x20(r30) /* 800C65E4 000C3544 7F E3 FB 78 */ mr r3, r31 /* 800C65E8 000C3548 48 27 86 41 */ bl ReadFloat__12CInputStreamFv /* 800C65EC 000C354C D0 3E 00 24 */ stfs f1, 0x24(r30) /* 800C65F0 000C3550 7F E3 FB 78 */ mr r3, r31 /* 800C65F4 000C3554 48 27 86 35 */ bl ReadFloat__12CInputStreamFv /* 800C65F8 000C3558 D0 3E 00 28 */ stfs f1, 0x28(r30) /* 800C65FC 000C355C 7F E3 FB 78 */ mr r3, r31 /* 800C6600 000C3560 48 27 86 29 */ bl ReadFloat__12CInputStreamFv /* 800C6604 000C3564 D0 3E 00 2C */ stfs f1, 0x2c(r30) /* 800C6608 000C3568 7F E3 FB 78 */ mr r3, r31 /* 800C660C 000C356C 48 27 86 1D */ bl ReadFloat__12CInputStreamFv /* 800C6610 000C3570 D0 3E 00 30 */ stfs f1, 0x30(r30) /* 800C6614 000C3574 7F E3 FB 78 */ mr r3, r31 /* 800C6618 000C3578 48 27 86 11 */ bl ReadFloat__12CInputStreamFv /* 800C661C 000C357C D0 3E 00 34 */ stfs f1, 0x34(r30) /* 800C6620 000C3580 7F E3 FB 78 */ mr r3, r31 /* 800C6624 000C3584 48 27 86 05 */ bl ReadFloat__12CInputStreamFv /* 800C6628 000C3588 D0 3E 00 38 */ stfs f1, 0x38(r30) /* 800C662C 000C358C 7F E4 FB 78 */ mr r4, r31 /* 800C6630 000C3590 38 7E 00 3C */ addi r3, r30, 0x3c /* 800C6634 000C3594 48 29 CE 19 */ bl __ct__6CColorFR12CInputStream /* 800C6638 000C3598 7F E4 FB 78 */ mr r4, r31 /* 800C663C 000C359C 38 7E 00 40 */ addi r3, r30, 0x40 /* 800C6640 000C35A0 48 29 CE 0D */ bl __ct__6CColorFR12CInputStream /* 800C6644 000C35A4 80 01 00 24 */ lwz r0, 0x24(r1) /* 800C6648 000C35A8 7F C3 F3 78 */ mr r3, r30 /* 800C664C 000C35AC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 800C6650 000C35B0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 800C6654 000C35B4 7C 08 03 A6 */ mtlr r0 /* 800C6658 000C35B8 38 21 00 20 */ addi r1, r1, 0x20 /* 800C665C 000C35BC 4E 80 00 20 */ blr .global LoadMetroidPrimeRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadMetroidPrimeRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C6660 000C35C0 94 21 F1 10 */ stwu r1, -0xef0(r1) /* 800C6664 000C35C4 7C 08 02 A6 */ mflr r0 /* 800C6668 000C35C8 90 01 0E F4 */ stw r0, 0xef4(r1) /* 800C666C 000C35CC DB E1 0E E0 */ stfd f31, 0xee0(r1) /* 800C6670 000C35D0 F3 E1 0E E8 */ psq_st f31, -280(r1), 0, qr0 /* 800C6674 000C35D4 DB C1 0E D0 */ stfd f30, 0xed0(r1) /* 800C6678 000C35D8 F3 C1 0E D8 */ psq_st f30, -296(r1), 0, qr0 /* 800C667C 000C35DC DB A1 0E C0 */ stfd f29, 0xec0(r1) /* 800C6680 000C35E0 F3 A1 0E C8 */ psq_st f29, -312(r1), 0, qr0 /* 800C6684 000C35E4 BE A1 0E 94 */ stmw r21, 0xe94(r1) /* 800C6688 000C35E8 2C 05 00 16 */ cmpwi r5, 0x16 /* 800C668C 000C35EC 7C 75 1B 78 */ mr r21, r3 /* 800C6690 000C35F0 7C 98 23 78 */ mr r24, r4 /* 800C6694 000C35F4 7C D6 33 78 */ mr r22, r6 /* 800C6698 000C35F8 41 82 00 0C */ beq lbl_800C66A4 /* 800C669C 000C35FC 38 60 00 00 */ li r3, 0 /* 800C66A0 000C3600 48 00 06 C0 */ b lbl_800C6D60 lbl_800C66A4: /* 800C66A4 000C3604 7F 03 C3 78 */ mr r3, r24 /* 800C66A8 000C3608 48 27 85 DD */ bl ReadLong__12CInputStreamFv /* 800C66AC 000C360C 2C 03 00 03 */ cmpwi r3, 3 /* 800C66B0 000C3610 41 82 00 0C */ beq lbl_800C66BC /* 800C66B4 000C3614 38 60 00 00 */ li r3, 0 /* 800C66B8 000C3618 48 00 06 A8 */ b lbl_800C6D60 lbl_800C66BC: /* 800C66BC 000C361C 7F 04 C3 78 */ mr r4, r24 /* 800C66C0 000C3620 7E A5 AB 78 */ mr r5, r21 /* 800C66C4 000C3624 38 61 01 38 */ addi r3, r1, 0x138 /* 800C66C8 000C3628 48 01 3D B5 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C66CC 000C362C 7F 03 C3 78 */ mr r3, r24 /* 800C66D0 000C3630 48 27 86 0D */ bl ReadBool__12CInputStreamFv /* 800C66D4 000C3634 7C 79 1B 78 */ mr r25, r3 /* 800C66D8 000C3638 7F 03 C3 78 */ mr r3, r24 /* 800C66DC 000C363C 48 27 85 4D */ bl ReadFloat__12CInputStreamFv /* 800C66E0 000C3640 FF E0 08 90 */ fmr f31, f1 /* 800C66E4 000C3644 7F 03 C3 78 */ mr r3, r24 /* 800C66E8 000C3648 48 27 85 41 */ bl ReadFloat__12CInputStreamFv /* 800C66EC 000C364C FF C0 08 90 */ fmr f30, f1 /* 800C66F0 000C3650 7F 03 C3 78 */ mr r3, r24 /* 800C66F4 000C3654 48 27 85 35 */ bl ReadFloat__12CInputStreamFv /* 800C66F8 000C3658 FF A0 08 90 */ fmr f29, f1 /* 800C66FC 000C365C 7F 03 C3 78 */ mr r3, r24 /* 800C6700 000C3660 48 27 85 85 */ bl ReadLong__12CInputStreamFv /* 800C6704 000C3664 7C 7A 1B 78 */ mr r26, r3 /* 800C6708 000C3668 7F 03 C3 78 */ mr r3, r24 /* 800C670C 000C366C 48 27 85 D1 */ bl ReadBool__12CInputStreamFv /* 800C6710 000C3670 7C 7B 1B 78 */ mr r27, r3 /* 800C6714 000C3674 7F 03 C3 78 */ mr r3, r24 /* 800C6718 000C3678 48 27 85 6D */ bl ReadLong__12CInputStreamFv /* 800C671C 000C367C 7C 7C 1B 78 */ mr r28, r3 /* 800C6720 000C3680 7F 04 C3 78 */ mr r4, r24 /* 800C6724 000C3684 38 61 00 40 */ addi r3, r1, 0x40 /* 800C6728 000C3688 48 10 D1 1D */ bl __ct__11CHealthInfoFR12CInputStream /* 800C672C 000C368C 7F 04 C3 78 */ mr r4, r24 /* 800C6730 000C3690 38 61 00 38 */ addi r3, r1, 0x38 /* 800C6734 000C3694 48 10 D1 11 */ bl __ct__11CHealthInfoFR12CInputStream /* 800C6738 000C3698 7F 03 C3 78 */ mr r3, r24 /* 800C673C 000C369C 48 27 85 49 */ bl ReadLong__12CInputStreamFv /* 800C6740 000C36A0 7C 7D 1B 78 */ mr r29, r3 /* 800C6744 000C36A4 7F 04 C3 78 */ mr r4, r24 /* 800C6748 000C36A8 38 61 00 FC */ addi r3, r1, 0xfc /* 800C674C 000C36AC 48 1B 5A F1 */ bl __ct__18SPrimeExoRoomParmsFR12CInputStream /* 800C6750 000C36B0 7F 04 C3 78 */ mr r4, r24 /* 800C6754 000C36B4 38 61 00 C0 */ addi r3, r1, 0xc0 /* 800C6758 000C36B8 48 1B 5A E5 */ bl __ct__18SPrimeExoRoomParmsFR12CInputStream /* 800C675C 000C36BC 7F 04 C3 78 */ mr r4, r24 /* 800C6760 000C36C0 38 61 00 84 */ addi r3, r1, 0x84 /* 800C6764 000C36C4 48 1B 5A D9 */ bl __ct__18SPrimeExoRoomParmsFR12CInputStream /* 800C6768 000C36C8 7F 04 C3 78 */ mr r4, r24 /* 800C676C 000C36CC 38 61 00 48 */ addi r3, r1, 0x48 /* 800C6770 000C36D0 48 1B 5A CD */ bl __ct__18SPrimeExoRoomParmsFR12CInputStream /* 800C6774 000C36D4 38 60 00 00 */ li r3, 0 /* 800C6778 000C36D8 3A E1 01 88 */ addi r23, r1, 0x188 /* 800C677C 000C36DC 1C 03 00 3C */ mulli r0, r3, 0x3c /* 800C6780 000C36E0 90 61 01 84 */ stw r3, 0x184(r1) /* 800C6784 000C36E4 7C 77 02 15 */ add. r3, r23, r0 /* 800C6788 000C36E8 41 82 00 40 */ beq lbl_800C67C8 /* 800C678C 000C36EC 80 01 00 FC */ lwz r0, 0xfc(r1) /* 800C6790 000C36F0 38 A1 01 00 */ addi r5, r1, 0x100 /* 800C6794 000C36F4 38 83 00 04 */ addi r4, r3, 4 /* 800C6798 000C36F8 90 03 00 00 */ stw r0, 0(r3) /* 800C679C 000C36FC 80 03 00 00 */ lwz r0, 0(r3) /* 800C67A0 000C3700 7C 09 03 A6 */ mtctr r0 /* 800C67A4 000C3704 2C 00 00 00 */ cmpwi r0, 0 /* 800C67A8 000C3708 40 81 00 20 */ ble lbl_800C67C8 lbl_800C67AC: /* 800C67AC 000C370C 28 04 00 00 */ cmplwi r4, 0 /* 800C67B0 000C3710 41 82 00 0C */ beq lbl_800C67BC /* 800C67B4 000C3714 C0 05 00 00 */ lfs f0, 0(r5) /* 800C67B8 000C3718 D0 04 00 00 */ stfs f0, 0(r4) lbl_800C67BC: /* 800C67BC 000C371C 38 84 00 04 */ addi r4, r4, 4 /* 800C67C0 000C3720 38 A5 00 04 */ addi r5, r5, 4 /* 800C67C4 000C3724 42 00 FF E8 */ bdnz lbl_800C67AC lbl_800C67C8: /* 800C67C8 000C3728 80 61 01 84 */ lwz r3, 0x184(r1) /* 800C67CC 000C372C 38 63 00 01 */ addi r3, r3, 1 /* 800C67D0 000C3730 1C 03 00 3C */ mulli r0, r3, 0x3c /* 800C67D4 000C3734 90 61 01 84 */ stw r3, 0x184(r1) /* 800C67D8 000C3738 7C 77 02 15 */ add. r3, r23, r0 /* 800C67DC 000C373C 41 82 00 40 */ beq lbl_800C681C /* 800C67E0 000C3740 80 01 00 C0 */ lwz r0, 0xc0(r1) /* 800C67E4 000C3744 38 A1 00 C4 */ addi r5, r1, 0xc4 /* 800C67E8 000C3748 38 83 00 04 */ addi r4, r3, 4 /* 800C67EC 000C374C 90 03 00 00 */ stw r0, 0(r3) /* 800C67F0 000C3750 80 03 00 00 */ lwz r0, 0(r3) /* 800C67F4 000C3754 7C 09 03 A6 */ mtctr r0 /* 800C67F8 000C3758 2C 00 00 00 */ cmpwi r0, 0 /* 800C67FC 000C375C 40 81 00 20 */ ble lbl_800C681C lbl_800C6800: /* 800C6800 000C3760 28 04 00 00 */ cmplwi r4, 0 /* 800C6804 000C3764 41 82 00 0C */ beq lbl_800C6810 /* 800C6808 000C3768 C0 05 00 00 */ lfs f0, 0(r5) /* 800C680C 000C376C D0 04 00 00 */ stfs f0, 0(r4) lbl_800C6810: /* 800C6810 000C3770 38 84 00 04 */ addi r4, r4, 4 /* 800C6814 000C3774 38 A5 00 04 */ addi r5, r5, 4 /* 800C6818 000C3778 42 00 FF E8 */ bdnz lbl_800C6800 lbl_800C681C: /* 800C681C 000C377C 80 61 01 84 */ lwz r3, 0x184(r1) /* 800C6820 000C3780 38 63 00 01 */ addi r3, r3, 1 /* 800C6824 000C3784 1C 03 00 3C */ mulli r0, r3, 0x3c /* 800C6828 000C3788 90 61 01 84 */ stw r3, 0x184(r1) /* 800C682C 000C378C 7C 77 02 15 */ add. r3, r23, r0 /* 800C6830 000C3790 41 82 00 40 */ beq lbl_800C6870 /* 800C6834 000C3794 80 01 00 84 */ lwz r0, 0x84(r1) /* 800C6838 000C3798 38 A1 00 88 */ addi r5, r1, 0x88 /* 800C683C 000C379C 38 83 00 04 */ addi r4, r3, 4 /* 800C6840 000C37A0 90 03 00 00 */ stw r0, 0(r3) /* 800C6844 000C37A4 80 03 00 00 */ lwz r0, 0(r3) /* 800C6848 000C37A8 7C 09 03 A6 */ mtctr r0 /* 800C684C 000C37AC 2C 00 00 00 */ cmpwi r0, 0 /* 800C6850 000C37B0 40 81 00 20 */ ble lbl_800C6870 lbl_800C6854: /* 800C6854 000C37B4 28 04 00 00 */ cmplwi r4, 0 /* 800C6858 000C37B8 41 82 00 0C */ beq lbl_800C6864 /* 800C685C 000C37BC C0 05 00 00 */ lfs f0, 0(r5) /* 800C6860 000C37C0 D0 04 00 00 */ stfs f0, 0(r4) lbl_800C6864: /* 800C6864 000C37C4 38 84 00 04 */ addi r4, r4, 4 /* 800C6868 000C37C8 38 A5 00 04 */ addi r5, r5, 4 /* 800C686C 000C37CC 42 00 FF E8 */ bdnz lbl_800C6854 lbl_800C6870: /* 800C6870 000C37D0 80 61 01 84 */ lwz r3, 0x184(r1) /* 800C6874 000C37D4 38 63 00 01 */ addi r3, r3, 1 /* 800C6878 000C37D8 1C 03 00 3C */ mulli r0, r3, 0x3c /* 800C687C 000C37DC 90 61 01 84 */ stw r3, 0x184(r1) /* 800C6880 000C37E0 7C 77 02 15 */ add. r3, r23, r0 /* 800C6884 000C37E4 41 82 00 40 */ beq lbl_800C68C4 /* 800C6888 000C37E8 80 01 00 48 */ lwz r0, 0x48(r1) /* 800C688C 000C37EC 38 A1 00 4C */ addi r5, r1, 0x4c /* 800C6890 000C37F0 38 83 00 04 */ addi r4, r3, 4 /* 800C6894 000C37F4 90 03 00 00 */ stw r0, 0(r3) /* 800C6898 000C37F8 80 03 00 00 */ lwz r0, 0(r3) /* 800C689C 000C37FC 7C 09 03 A6 */ mtctr r0 /* 800C68A0 000C3800 2C 00 00 00 */ cmpwi r0, 0 /* 800C68A4 000C3804 40 81 00 20 */ ble lbl_800C68C4 lbl_800C68A8: /* 800C68A8 000C3808 28 04 00 00 */ cmplwi r4, 0 /* 800C68AC 000C380C 41 82 00 0C */ beq lbl_800C68B8 /* 800C68B0 000C3810 C0 05 00 00 */ lfs f0, 0(r5) /* 800C68B4 000C3814 D0 04 00 00 */ stfs f0, 0(r4) lbl_800C68B8: /* 800C68B8 000C3818 38 84 00 04 */ addi r4, r4, 4 /* 800C68BC 000C381C 38 A5 00 04 */ addi r5, r5, 4 /* 800C68C0 000C3820 42 00 FF E8 */ bdnz lbl_800C68A8 lbl_800C68C4: /* 800C68C4 000C3824 80 81 01 84 */ lwz r4, 0x184(r1) /* 800C68C8 000C3828 7F 03 C3 78 */ mr r3, r24 /* 800C68CC 000C382C 38 04 00 01 */ addi r0, r4, 1 /* 800C68D0 000C3830 90 01 01 84 */ stw r0, 0x184(r1) /* 800C68D4 000C3834 48 27 83 B1 */ bl ReadLong__12CInputStreamFv /* 800C68D8 000C3838 7C 7E 1B 78 */ mr r30, r3 /* 800C68DC 000C383C 7F 03 C3 78 */ mr r3, r24 /* 800C68E0 000C3840 48 27 83 A5 */ bl ReadLong__12CInputStreamFv /* 800C68E4 000C3844 7C 7F 1B 78 */ mr r31, r3 /* 800C68E8 000C3848 7F 04 C3 78 */ mr r4, r24 /* 800C68EC 000C384C 38 61 02 78 */ addi r3, r1, 0x278 /* 800C68F0 000C3850 48 1B AE A1 */ bl __ct__19SPrimeExoParametersFR12CInputStream /* 800C68F4 000C3854 80 61 03 68 */ lwz r3, 0x368(r1) /* 800C68F8 000C3858 3C 03 00 01 */ addis r0, r3, 1 /* 800C68FC 000C385C 28 00 FF FF */ cmplwi r0, 0xffff /* 800C6900 000C3860 40 82 01 E8 */ bne lbl_800C6AE8 /* 800C6904 000C3864 38 61 02 78 */ addi r3, r1, 0x278 /* 800C6908 000C3868 38 80 FF FF */ li r4, -1 /* 800C690C 000C386C 48 00 04 81 */ bl sub_800c6d8c /* 800C6910 000C3870 38 60 00 00 */ li r3, 0 /* 800C6914 000C3874 48 00 00 70 */ b lbl_800C6984 lbl_800C6918: /* 800C6918 000C3878 28 17 00 00 */ cmplwi r23, 0 /* 800C691C 000C387C 41 82 00 60 */ beq lbl_800C697C /* 800C6920 000C3880 41 82 00 5C */ beq lbl_800C697C /* 800C6924 000C3884 80 D7 00 00 */ lwz r6, 0(r23) /* 800C6928 000C3888 38 80 00 00 */ li r4, 0 /* 800C692C 000C388C 2C 06 00 00 */ cmpwi r6, 0 /* 800C6930 000C3890 40 81 00 44 */ ble lbl_800C6974 /* 800C6934 000C3894 2C 06 00 08 */ cmpwi r6, 8 /* 800C6938 000C3898 38 A6 FF F8 */ addi r5, r6, -8 /* 800C693C 000C389C 40 81 00 20 */ ble lbl_800C695C /* 800C6940 000C38A0 38 05 00 07 */ addi r0, r5, 7 /* 800C6944 000C38A4 54 00 E8 FE */ srwi r0, r0, 3 /* 800C6948 000C38A8 7C 09 03 A6 */ mtctr r0 /* 800C694C 000C38AC 2C 05 00 00 */ cmpwi r5, 0 /* 800C6950 000C38B0 40 81 00 0C */ ble lbl_800C695C lbl_800C6954: /* 800C6954 000C38B4 38 84 00 08 */ addi r4, r4, 8 /* 800C6958 000C38B8 42 00 FF FC */ bdnz lbl_800C6954 lbl_800C695C: /* 800C695C 000C38BC 7C 04 30 50 */ subf r0, r4, r6 /* 800C6960 000C38C0 7C 09 03 A6 */ mtctr r0 /* 800C6964 000C38C4 7C 04 30 00 */ cmpw r4, r6 /* 800C6968 000C38C8 40 80 00 0C */ bge lbl_800C6974 lbl_800C696C: /* 800C696C 000C38CC 38 84 00 01 */ addi r4, r4, 1 /* 800C6970 000C38D0 42 00 FF FC */ bdnz lbl_800C696C lbl_800C6974: /* 800C6974 000C38D4 38 00 00 00 */ li r0, 0 /* 800C6978 000C38D8 90 17 00 00 */ stw r0, 0(r23) lbl_800C697C: /* 800C697C 000C38DC 3A F7 00 3C */ addi r23, r23, 0x3c /* 800C6980 000C38E0 38 63 00 01 */ addi r3, r3, 1 lbl_800C6984: /* 800C6984 000C38E4 80 01 01 84 */ lwz r0, 0x184(r1) /* 800C6988 000C38E8 7C 03 00 00 */ cmpw r3, r0 /* 800C698C 000C38EC 41 80 FF 8C */ blt lbl_800C6918 /* 800C6990 000C38F0 80 A1 00 48 */ lwz r5, 0x48(r1) /* 800C6994 000C38F4 38 60 00 00 */ li r3, 0 /* 800C6998 000C38F8 90 61 01 84 */ stw r3, 0x184(r1) /* 800C699C 000C38FC 2C 05 00 00 */ cmpwi r5, 0 /* 800C69A0 000C3900 40 81 00 40 */ ble lbl_800C69E0 /* 800C69A4 000C3904 2C 05 00 08 */ cmpwi r5, 8 /* 800C69A8 000C3908 38 85 FF F8 */ addi r4, r5, -8 /* 800C69AC 000C390C 40 81 00 20 */ ble lbl_800C69CC /* 800C69B0 000C3910 38 04 00 07 */ addi r0, r4, 7 /* 800C69B4 000C3914 54 00 E8 FE */ srwi r0, r0, 3 /* 800C69B8 000C3918 7C 09 03 A6 */ mtctr r0 /* 800C69BC 000C391C 2C 04 00 00 */ cmpwi r4, 0 /* 800C69C0 000C3920 40 81 00 0C */ ble lbl_800C69CC lbl_800C69C4: /* 800C69C4 000C3924 38 63 00 08 */ addi r3, r3, 8 /* 800C69C8 000C3928 42 00 FF FC */ bdnz lbl_800C69C4 lbl_800C69CC: /* 800C69CC 000C392C 7C 03 28 50 */ subf r0, r3, r5 /* 800C69D0 000C3930 7C 09 03 A6 */ mtctr r0 /* 800C69D4 000C3934 7C 03 28 00 */ cmpw r3, r5 /* 800C69D8 000C3938 40 80 00 08 */ bge lbl_800C69E0 lbl_800C69DC: /* 800C69DC 000C393C 42 00 00 00 */ bdnz lbl_800C69DC lbl_800C69E0: /* 800C69E0 000C3940 80 A1 00 84 */ lwz r5, 0x84(r1) /* 800C69E4 000C3944 38 60 00 00 */ li r3, 0 /* 800C69E8 000C3948 90 61 00 48 */ stw r3, 0x48(r1) /* 800C69EC 000C394C 2C 05 00 00 */ cmpwi r5, 0 /* 800C69F0 000C3950 40 81 00 40 */ ble lbl_800C6A30 /* 800C69F4 000C3954 2C 05 00 08 */ cmpwi r5, 8 /* 800C69F8 000C3958 38 85 FF F8 */ addi r4, r5, -8 /* 800C69FC 000C395C 40 81 00 20 */ ble lbl_800C6A1C /* 800C6A00 000C3960 38 04 00 07 */ addi r0, r4, 7 /* 800C6A04 000C3964 54 00 E8 FE */ srwi r0, r0, 3 /* 800C6A08 000C3968 7C 09 03 A6 */ mtctr r0 /* 800C6A0C 000C396C 2C 04 00 00 */ cmpwi r4, 0 /* 800C6A10 000C3970 40 81 00 0C */ ble lbl_800C6A1C lbl_800C6A14: /* 800C6A14 000C3974 38 63 00 08 */ addi r3, r3, 8 /* 800C6A18 000C3978 42 00 FF FC */ bdnz lbl_800C6A14 lbl_800C6A1C: /* 800C6A1C 000C397C 7C 03 28 50 */ subf r0, r3, r5 /* 800C6A20 000C3980 7C 09 03 A6 */ mtctr r0 /* 800C6A24 000C3984 7C 03 28 00 */ cmpw r3, r5 /* 800C6A28 000C3988 40 80 00 08 */ bge lbl_800C6A30 lbl_800C6A2C: /* 800C6A2C 000C398C 42 00 00 00 */ bdnz lbl_800C6A2C lbl_800C6A30: /* 800C6A30 000C3990 80 A1 00 C0 */ lwz r5, 0xc0(r1) /* 800C6A34 000C3994 38 60 00 00 */ li r3, 0 /* 800C6A38 000C3998 90 61 00 84 */ stw r3, 0x84(r1) /* 800C6A3C 000C399C 2C 05 00 00 */ cmpwi r5, 0 /* 800C6A40 000C39A0 40 81 00 40 */ ble lbl_800C6A80 /* 800C6A44 000C39A4 2C 05 00 08 */ cmpwi r5, 8 /* 800C6A48 000C39A8 38 85 FF F8 */ addi r4, r5, -8 /* 800C6A4C 000C39AC 40 81 00 20 */ ble lbl_800C6A6C /* 800C6A50 000C39B0 38 04 00 07 */ addi r0, r4, 7 /* 800C6A54 000C39B4 54 00 E8 FE */ srwi r0, r0, 3 /* 800C6A58 000C39B8 7C 09 03 A6 */ mtctr r0 /* 800C6A5C 000C39BC 2C 04 00 00 */ cmpwi r4, 0 /* 800C6A60 000C39C0 40 81 00 0C */ ble lbl_800C6A6C lbl_800C6A64: /* 800C6A64 000C39C4 38 63 00 08 */ addi r3, r3, 8 /* 800C6A68 000C39C8 42 00 FF FC */ bdnz lbl_800C6A64 lbl_800C6A6C: /* 800C6A6C 000C39CC 7C 03 28 50 */ subf r0, r3, r5 /* 800C6A70 000C39D0 7C 09 03 A6 */ mtctr r0 /* 800C6A74 000C39D4 7C 03 28 00 */ cmpw r3, r5 /* 800C6A78 000C39D8 40 80 00 08 */ bge lbl_800C6A80 lbl_800C6A7C: /* 800C6A7C 000C39DC 42 00 00 00 */ bdnz lbl_800C6A7C lbl_800C6A80: /* 800C6A80 000C39E0 80 A1 00 FC */ lwz r5, 0xfc(r1) /* 800C6A84 000C39E4 38 60 00 00 */ li r3, 0 /* 800C6A88 000C39E8 90 61 00 C0 */ stw r3, 0xc0(r1) /* 800C6A8C 000C39EC 2C 05 00 00 */ cmpwi r5, 0 /* 800C6A90 000C39F0 40 81 00 40 */ ble lbl_800C6AD0 /* 800C6A94 000C39F4 2C 05 00 08 */ cmpwi r5, 8 /* 800C6A98 000C39F8 38 85 FF F8 */ addi r4, r5, -8 /* 800C6A9C 000C39FC 40 81 00 20 */ ble lbl_800C6ABC /* 800C6AA0 000C3A00 38 04 00 07 */ addi r0, r4, 7 /* 800C6AA4 000C3A04 54 00 E8 FE */ srwi r0, r0, 3 /* 800C6AA8 000C3A08 7C 09 03 A6 */ mtctr r0 /* 800C6AAC 000C3A0C 2C 04 00 00 */ cmpwi r4, 0 /* 800C6AB0 000C3A10 40 81 00 0C */ ble lbl_800C6ABC lbl_800C6AB4: /* 800C6AB4 000C3A14 38 63 00 08 */ addi r3, r3, 8 /* 800C6AB8 000C3A18 42 00 FF FC */ bdnz lbl_800C6AB4 lbl_800C6ABC: /* 800C6ABC 000C3A1C 7C 03 28 50 */ subf r0, r3, r5 /* 800C6AC0 000C3A20 7C 09 03 A6 */ mtctr r0 /* 800C6AC4 000C3A24 7C 03 28 00 */ cmpw r3, r5 /* 800C6AC8 000C3A28 40 80 00 08 */ bge lbl_800C6AD0 lbl_800C6ACC: /* 800C6ACC 000C3A2C 42 00 00 00 */ bdnz lbl_800C6ACC lbl_800C6AD0: /* 800C6AD0 000C3A30 38 00 00 00 */ li r0, 0 /* 800C6AD4 000C3A34 38 61 01 38 */ addi r3, r1, 0x138 /* 800C6AD8 000C3A38 90 01 00 FC */ stw r0, 0xfc(r1) /* 800C6ADC 000C3A3C 48 27 70 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C6AE0 000C3A40 38 60 00 00 */ li r3, 0 /* 800C6AE4 000C3A44 48 00 02 7C */ b lbl_800C6D60 lbl_800C6AE8: /* 800C6AE8 000C3A48 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800C6AEC 000C3A4C 38 60 0D AC */ li r3, 0xdac /* 800C6AF0 000C3A50 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800C6AF4 000C3A54 38 A0 00 00 */ li r5, 0 /* 800C6AF8 000C3A58 38 84 00 0D */ addi r4, r4, 0xd /* 800C6AFC 000C3A5C 48 24 ED 71 */ bl __nw__FUlPCcPCc /* 800C6B00 000C3A60 7C 78 1B 79 */ or. r24, r3, r3 /* 800C6B04 000C3A64 41 82 00 7C */ beq lbl_800C6B80 /* 800C6B08 000C3A68 7E A4 AB 78 */ mr r4, r21 /* 800C6B0C 000C3A6C 38 61 00 30 */ addi r3, r1, 0x30 /* 800C6B10 000C3A70 4B F8 65 CD */ bl AllocateUniqueId__13CStateManagerFv /* 800C6B14 000C3A74 A0 01 00 30 */ lhz r0, 0x30(r1) /* 800C6B18 000C3A78 39 41 00 40 */ addi r10, r1, 0x40 /* 800C6B1C 000C3A7C 39 61 00 38 */ addi r11, r1, 0x38 /* 800C6B20 000C3A80 FC 20 F8 90 */ fmr f1, f31 /* 800C6B24 000C3A84 B0 01 00 34 */ sth r0, 0x34(r1) /* 800C6B28 000C3A88 FC 40 F0 90 */ fmr f2, f30 /* 800C6B2C 000C3A8C FC 60 E8 90 */ fmr f3, f29 /* 800C6B30 000C3A90 38 01 01 84 */ addi r0, r1, 0x184 /* 800C6B34 000C3A94 93 41 00 08 */ stw r26, 8(r1) /* 800C6B38 000C3A98 7F 03 C3 78 */ mr r3, r24 /* 800C6B3C 000C3A9C 7E C6 B3 78 */ mr r6, r22 /* 800C6B40 000C3AA0 93 61 00 0C */ stw r27, 0xc(r1) /* 800C6B44 000C3AA4 7F 27 CB 78 */ mr r7, r25 /* 800C6B48 000C3AA8 38 81 00 34 */ addi r4, r1, 0x34 /* 800C6B4C 000C3AAC 93 81 00 10 */ stw r28, 0x10(r1) /* 800C6B50 000C3AB0 38 A1 01 38 */ addi r5, r1, 0x138 /* 800C6B54 000C3AB4 39 01 01 48 */ addi r8, r1, 0x148 /* 800C6B58 000C3AB8 39 21 01 78 */ addi r9, r1, 0x178 /* 800C6B5C 000C3ABC 91 41 00 14 */ stw r10, 0x14(r1) /* 800C6B60 000C3AC0 39 41 02 78 */ addi r10, r1, 0x278 /* 800C6B64 000C3AC4 91 61 00 18 */ stw r11, 0x18(r1) /* 800C6B68 000C3AC8 93 A1 00 1C */ stw r29, 0x1c(r1) /* 800C6B6C 000C3ACC 93 C1 00 20 */ stw r30, 0x20(r1) /* 800C6B70 000C3AD0 93 E1 00 24 */ stw r31, 0x24(r1) /* 800C6B74 000C3AD4 90 01 00 28 */ stw r0, 0x28(r1) /* 800C6B78 000C3AD8 48 1B 9D ED */ bl "__ct__18CMetroidPrimeRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RC11CEntityInfobRC12CTransform4fRC9CVector3fRC14SPrimeExoParmsibiRC11CHealthInfoRC11CHealthInfoiiiQ24rstl44reserved_vector<23SPrimeExoRoomParameters,4>" /* 800C6B7C 000C3ADC 7C 78 1B 78 */ mr r24, r3 lbl_800C6B80: /* 800C6B80 000C3AE0 38 61 02 78 */ addi r3, r1, 0x278 /* 800C6B84 000C3AE4 38 80 FF FF */ li r4, -1 /* 800C6B88 000C3AE8 48 00 02 05 */ bl sub_800c6d8c /* 800C6B8C 000C3AEC 38 60 00 00 */ li r3, 0 /* 800C6B90 000C3AF0 48 00 00 70 */ b lbl_800C6C00 lbl_800C6B94: /* 800C6B94 000C3AF4 28 17 00 00 */ cmplwi r23, 0 /* 800C6B98 000C3AF8 41 82 00 60 */ beq lbl_800C6BF8 /* 800C6B9C 000C3AFC 41 82 00 5C */ beq lbl_800C6BF8 /* 800C6BA0 000C3B00 80 D7 00 00 */ lwz r6, 0(r23) /* 800C6BA4 000C3B04 38 80 00 00 */ li r4, 0 /* 800C6BA8 000C3B08 2C 06 00 00 */ cmpwi r6, 0 /* 800C6BAC 000C3B0C 40 81 00 44 */ ble lbl_800C6BF0 /* 800C6BB0 000C3B10 2C 06 00 08 */ cmpwi r6, 8 /* 800C6BB4 000C3B14 38 A6 FF F8 */ addi r5, r6, -8 /* 800C6BB8 000C3B18 40 81 00 20 */ ble lbl_800C6BD8 /* 800C6BBC 000C3B1C 38 05 00 07 */ addi r0, r5, 7 /* 800C6BC0 000C3B20 54 00 E8 FE */ srwi r0, r0, 3 /* 800C6BC4 000C3B24 7C 09 03 A6 */ mtctr r0 /* 800C6BC8 000C3B28 2C 05 00 00 */ cmpwi r5, 0 /* 800C6BCC 000C3B2C 40 81 00 0C */ ble lbl_800C6BD8 lbl_800C6BD0: /* 800C6BD0 000C3B30 38 84 00 08 */ addi r4, r4, 8 /* 800C6BD4 000C3B34 42 00 FF FC */ bdnz lbl_800C6BD0 lbl_800C6BD8: /* 800C6BD8 000C3B38 7C 04 30 50 */ subf r0, r4, r6 /* 800C6BDC 000C3B3C 7C 09 03 A6 */ mtctr r0 /* 800C6BE0 000C3B40 7C 04 30 00 */ cmpw r4, r6 /* 800C6BE4 000C3B44 40 80 00 0C */ bge lbl_800C6BF0 lbl_800C6BE8: /* 800C6BE8 000C3B48 38 84 00 01 */ addi r4, r4, 1 /* 800C6BEC 000C3B4C 42 00 FF FC */ bdnz lbl_800C6BE8 lbl_800C6BF0: /* 800C6BF0 000C3B50 38 00 00 00 */ li r0, 0 /* 800C6BF4 000C3B54 90 17 00 00 */ stw r0, 0(r23) lbl_800C6BF8: /* 800C6BF8 000C3B58 3A F7 00 3C */ addi r23, r23, 0x3c /* 800C6BFC 000C3B5C 38 63 00 01 */ addi r3, r3, 1 lbl_800C6C00: /* 800C6C00 000C3B60 80 01 01 84 */ lwz r0, 0x184(r1) /* 800C6C04 000C3B64 7C 03 00 00 */ cmpw r3, r0 /* 800C6C08 000C3B68 41 80 FF 8C */ blt lbl_800C6B94 /* 800C6C0C 000C3B6C 80 A1 00 48 */ lwz r5, 0x48(r1) /* 800C6C10 000C3B70 38 60 00 00 */ li r3, 0 /* 800C6C14 000C3B74 90 61 01 84 */ stw r3, 0x184(r1) /* 800C6C18 000C3B78 2C 05 00 00 */ cmpwi r5, 0 /* 800C6C1C 000C3B7C 40 81 00 40 */ ble lbl_800C6C5C /* 800C6C20 000C3B80 2C 05 00 08 */ cmpwi r5, 8 /* 800C6C24 000C3B84 38 85 FF F8 */ addi r4, r5, -8 /* 800C6C28 000C3B88 40 81 00 20 */ ble lbl_800C6C48 /* 800C6C2C 000C3B8C 38 04 00 07 */ addi r0, r4, 7 /* 800C6C30 000C3B90 54 00 E8 FE */ srwi r0, r0, 3 /* 800C6C34 000C3B94 7C 09 03 A6 */ mtctr r0 /* 800C6C38 000C3B98 2C 04 00 00 */ cmpwi r4, 0 /* 800C6C3C 000C3B9C 40 81 00 0C */ ble lbl_800C6C48 lbl_800C6C40: /* 800C6C40 000C3BA0 38 63 00 08 */ addi r3, r3, 8 /* 800C6C44 000C3BA4 42 00 FF FC */ bdnz lbl_800C6C40 lbl_800C6C48: /* 800C6C48 000C3BA8 7C 03 28 50 */ subf r0, r3, r5 /* 800C6C4C 000C3BAC 7C 09 03 A6 */ mtctr r0 /* 800C6C50 000C3BB0 7C 03 28 00 */ cmpw r3, r5 /* 800C6C54 000C3BB4 40 80 00 08 */ bge lbl_800C6C5C lbl_800C6C58: /* 800C6C58 000C3BB8 42 00 00 00 */ bdnz lbl_800C6C58 lbl_800C6C5C: /* 800C6C5C 000C3BBC 80 A1 00 84 */ lwz r5, 0x84(r1) /* 800C6C60 000C3BC0 38 60 00 00 */ li r3, 0 /* 800C6C64 000C3BC4 90 61 00 48 */ stw r3, 0x48(r1) /* 800C6C68 000C3BC8 2C 05 00 00 */ cmpwi r5, 0 /* 800C6C6C 000C3BCC 40 81 00 40 */ ble lbl_800C6CAC /* 800C6C70 000C3BD0 2C 05 00 08 */ cmpwi r5, 8 /* 800C6C74 000C3BD4 38 85 FF F8 */ addi r4, r5, -8 /* 800C6C78 000C3BD8 40 81 00 20 */ ble lbl_800C6C98 /* 800C6C7C 000C3BDC 38 04 00 07 */ addi r0, r4, 7 /* 800C6C80 000C3BE0 54 00 E8 FE */ srwi r0, r0, 3 /* 800C6C84 000C3BE4 7C 09 03 A6 */ mtctr r0 /* 800C6C88 000C3BE8 2C 04 00 00 */ cmpwi r4, 0 /* 800C6C8C 000C3BEC 40 81 00 0C */ ble lbl_800C6C98 lbl_800C6C90: /* 800C6C90 000C3BF0 38 63 00 08 */ addi r3, r3, 8 /* 800C6C94 000C3BF4 42 00 FF FC */ bdnz lbl_800C6C90 lbl_800C6C98: /* 800C6C98 000C3BF8 7C 03 28 50 */ subf r0, r3, r5 /* 800C6C9C 000C3BFC 7C 09 03 A6 */ mtctr r0 /* 800C6CA0 000C3C00 7C 03 28 00 */ cmpw r3, r5 /* 800C6CA4 000C3C04 40 80 00 08 */ bge lbl_800C6CAC lbl_800C6CA8: /* 800C6CA8 000C3C08 42 00 00 00 */ bdnz lbl_800C6CA8 lbl_800C6CAC: /* 800C6CAC 000C3C0C 80 A1 00 C0 */ lwz r5, 0xc0(r1) /* 800C6CB0 000C3C10 38 60 00 00 */ li r3, 0 /* 800C6CB4 000C3C14 90 61 00 84 */ stw r3, 0x84(r1) /* 800C6CB8 000C3C18 2C 05 00 00 */ cmpwi r5, 0 /* 800C6CBC 000C3C1C 40 81 00 40 */ ble lbl_800C6CFC /* 800C6CC0 000C3C20 2C 05 00 08 */ cmpwi r5, 8 /* 800C6CC4 000C3C24 38 85 FF F8 */ addi r4, r5, -8 /* 800C6CC8 000C3C28 40 81 00 20 */ ble lbl_800C6CE8 /* 800C6CCC 000C3C2C 38 04 00 07 */ addi r0, r4, 7 /* 800C6CD0 000C3C30 54 00 E8 FE */ srwi r0, r0, 3 /* 800C6CD4 000C3C34 7C 09 03 A6 */ mtctr r0 /* 800C6CD8 000C3C38 2C 04 00 00 */ cmpwi r4, 0 /* 800C6CDC 000C3C3C 40 81 00 0C */ ble lbl_800C6CE8 lbl_800C6CE0: /* 800C6CE0 000C3C40 38 63 00 08 */ addi r3, r3, 8 /* 800C6CE4 000C3C44 42 00 FF FC */ bdnz lbl_800C6CE0 lbl_800C6CE8: /* 800C6CE8 000C3C48 7C 03 28 50 */ subf r0, r3, r5 /* 800C6CEC 000C3C4C 7C 09 03 A6 */ mtctr r0 /* 800C6CF0 000C3C50 7C 03 28 00 */ cmpw r3, r5 /* 800C6CF4 000C3C54 40 80 00 08 */ bge lbl_800C6CFC lbl_800C6CF8: /* 800C6CF8 000C3C58 42 00 00 00 */ bdnz lbl_800C6CF8 lbl_800C6CFC: /* 800C6CFC 000C3C5C 80 A1 00 FC */ lwz r5, 0xfc(r1) /* 800C6D00 000C3C60 38 60 00 00 */ li r3, 0 /* 800C6D04 000C3C64 90 61 00 C0 */ stw r3, 0xc0(r1) /* 800C6D08 000C3C68 2C 05 00 00 */ cmpwi r5, 0 /* 800C6D0C 000C3C6C 40 81 00 40 */ ble lbl_800C6D4C /* 800C6D10 000C3C70 2C 05 00 08 */ cmpwi r5, 8 /* 800C6D14 000C3C74 38 85 FF F8 */ addi r4, r5, -8 /* 800C6D18 000C3C78 40 81 00 20 */ ble lbl_800C6D38 /* 800C6D1C 000C3C7C 38 04 00 07 */ addi r0, r4, 7 /* 800C6D20 000C3C80 54 00 E8 FE */ srwi r0, r0, 3 /* 800C6D24 000C3C84 7C 09 03 A6 */ mtctr r0 /* 800C6D28 000C3C88 2C 04 00 00 */ cmpwi r4, 0 /* 800C6D2C 000C3C8C 40 81 00 0C */ ble lbl_800C6D38 lbl_800C6D30: /* 800C6D30 000C3C90 38 63 00 08 */ addi r3, r3, 8 /* 800C6D34 000C3C94 42 00 FF FC */ bdnz lbl_800C6D30 lbl_800C6D38: /* 800C6D38 000C3C98 7C 03 28 50 */ subf r0, r3, r5 /* 800C6D3C 000C3C9C 7C 09 03 A6 */ mtctr r0 /* 800C6D40 000C3CA0 7C 03 28 00 */ cmpw r3, r5 /* 800C6D44 000C3CA4 40 80 00 08 */ bge lbl_800C6D4C lbl_800C6D48: /* 800C6D48 000C3CA8 42 00 00 00 */ bdnz lbl_800C6D48 lbl_800C6D4C: /* 800C6D4C 000C3CAC 38 00 00 00 */ li r0, 0 /* 800C6D50 000C3CB0 38 61 01 38 */ addi r3, r1, 0x138 /* 800C6D54 000C3CB4 90 01 00 FC */ stw r0, 0xfc(r1) /* 800C6D58 000C3CB8 48 27 6D 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C6D5C 000C3CBC 7F 03 C3 78 */ mr r3, r24 lbl_800C6D60: /* 800C6D60 000C3CC0 E3 E1 0E E8 */ psq_l f31, -280(r1), 0, qr0 /* 800C6D64 000C3CC4 CB E1 0E E0 */ lfd f31, 0xee0(r1) /* 800C6D68 000C3CC8 E3 C1 0E D8 */ psq_l f30, -296(r1), 0, qr0 /* 800C6D6C 000C3CCC CB C1 0E D0 */ lfd f30, 0xed0(r1) /* 800C6D70 000C3CD0 E3 A1 0E C8 */ psq_l f29, -312(r1), 0, qr0 /* 800C6D74 000C3CD4 CB A1 0E C0 */ lfd f29, 0xec0(r1) /* 800C6D78 000C3CD8 BA A1 0E 94 */ lmw r21, 0xe94(r1) /* 800C6D7C 000C3CDC 80 01 0E F4 */ lwz r0, 0xef4(r1) /* 800C6D80 000C3CE0 7C 08 03 A6 */ mtlr r0 /* 800C6D84 000C3CE4 38 21 0E F0 */ addi r1, r1, 0xef0 /* 800C6D88 000C3CE8 4E 80 00 20 */ blr .global sub_800c6d8c sub_800c6d8c: /* 800C6D8C 000C3CEC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800C6D90 000C3CF0 7C 08 02 A6 */ mflr r0 /* 800C6D94 000C3CF4 90 01 00 14 */ stw r0, 0x14(r1) /* 800C6D98 000C3CF8 93 E1 00 0C */ stw r31, 0xc(r1) /* 800C6D9C 000C3CFC 7C 9F 23 78 */ mr r31, r4 /* 800C6DA0 000C3D00 93 C1 00 08 */ stw r30, 8(r1) /* 800C6DA4 000C3D04 7C 7E 1B 79 */ or. r30, r3, r3 /* 800C6DA8 000C3D08 41 82 02 90 */ beq lbl_800C7038 /* 800C6DAC 000C3D0C 34 1E 0A 2C */ addic. r0, r30, 0xa2c /* 800C6DB0 000C3D10 41 82 00 58 */ beq lbl_800C6E08 /* 800C6DB4 000C3D14 80 BE 0A 2C */ lwz r5, 0xa2c(r30) /* 800C6DB8 000C3D18 38 60 00 00 */ li r3, 0 /* 800C6DBC 000C3D1C 2C 05 00 00 */ cmpwi r5, 0 /* 800C6DC0 000C3D20 40 81 00 40 */ ble lbl_800C6E00 /* 800C6DC4 000C3D24 2C 05 00 08 */ cmpwi r5, 8 /* 800C6DC8 000C3D28 38 85 FF F8 */ addi r4, r5, -8 /* 800C6DCC 000C3D2C 40 81 00 20 */ ble lbl_800C6DEC /* 800C6DD0 000C3D30 38 04 00 07 */ addi r0, r4, 7 /* 800C6DD4 000C3D34 54 00 E8 FE */ srwi r0, r0, 3 /* 800C6DD8 000C3D38 7C 09 03 A6 */ mtctr r0 /* 800C6DDC 000C3D3C 2C 04 00 00 */ cmpwi r4, 0 /* 800C6DE0 000C3D40 40 81 00 0C */ ble lbl_800C6DEC lbl_800C6DE4: /* 800C6DE4 000C3D44 38 63 00 08 */ addi r3, r3, 8 /* 800C6DE8 000C3D48 42 00 FF FC */ bdnz lbl_800C6DE4 lbl_800C6DEC: /* 800C6DEC 000C3D4C 7C 03 28 50 */ subf r0, r3, r5 /* 800C6DF0 000C3D50 7C 09 03 A6 */ mtctr r0 /* 800C6DF4 000C3D54 7C 03 28 00 */ cmpw r3, r5 /* 800C6DF8 000C3D58 40 80 00 08 */ bge lbl_800C6E00 lbl_800C6DFC: /* 800C6DFC 000C3D5C 42 00 00 00 */ bdnz lbl_800C6DFC lbl_800C6E00: /* 800C6E00 000C3D60 38 00 00 00 */ li r0, 0 /* 800C6E04 000C3D64 90 1E 0A 2C */ stw r0, 0xa2c(r30) lbl_800C6E08: /* 800C6E08 000C3D68 34 1E 09 48 */ addic. r0, r30, 0x948 /* 800C6E0C 000C3D6C 41 82 00 40 */ beq lbl_800C6E4C /* 800C6E10 000C3D70 34 1E 09 C8 */ addic. r0, r30, 0x9c8 /* 800C6E14 000C3D74 41 82 00 10 */ beq lbl_800C6E24 /* 800C6E18 000C3D78 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6E1C 000C3D7C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6E20 000C3D80 90 1E 09 C8 */ stw r0, 0x9c8(r30) lbl_800C6E24: /* 800C6E24 000C3D84 34 1E 09 8C */ addic. r0, r30, 0x98c /* 800C6E28 000C3D88 41 82 00 10 */ beq lbl_800C6E38 /* 800C6E2C 000C3D8C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6E30 000C3D90 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6E34 000C3D94 90 1E 09 8C */ stw r0, 0x98c(r30) lbl_800C6E38: /* 800C6E38 000C3D98 34 1E 09 50 */ addic. r0, r30, 0x950 /* 800C6E3C 000C3D9C 41 82 00 10 */ beq lbl_800C6E4C /* 800C6E40 000C3DA0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6E44 000C3DA4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6E48 000C3DA8 90 1E 09 50 */ stw r0, 0x950(r30) lbl_800C6E4C: /* 800C6E4C 000C3DAC 34 1E 08 F0 */ addic. r0, r30, 0x8f0 /* 800C6E50 000C3DB0 41 82 00 14 */ beq lbl_800C6E64 /* 800C6E54 000C3DB4 34 7E 08 F4 */ addic. r3, r30, 0x8f4 /* 800C6E58 000C3DB8 41 82 00 0C */ beq lbl_800C6E64 /* 800C6E5C 000C3DBC 38 80 00 00 */ li r4, 0 /* 800C6E60 000C3DC0 48 27 9F E1 */ bl __dt__6CTokenFv lbl_800C6E64: /* 800C6E64 000C3DC4 34 1E 08 1C */ addic. r0, r30, 0x81c /* 800C6E68 000C3DC8 41 82 00 40 */ beq lbl_800C6EA8 /* 800C6E6C 000C3DCC 34 1E 08 9C */ addic. r0, r30, 0x89c /* 800C6E70 000C3DD0 41 82 00 10 */ beq lbl_800C6E80 /* 800C6E74 000C3DD4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6E78 000C3DD8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6E7C 000C3DDC 90 1E 08 9C */ stw r0, 0x89c(r30) lbl_800C6E80: /* 800C6E80 000C3DE0 34 1E 08 60 */ addic. r0, r30, 0x860 /* 800C6E84 000C3DE4 41 82 00 10 */ beq lbl_800C6E94 /* 800C6E88 000C3DE8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6E8C 000C3DEC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6E90 000C3DF0 90 1E 08 60 */ stw r0, 0x860(r30) lbl_800C6E94: /* 800C6E94 000C3DF4 34 1E 08 24 */ addic. r0, r30, 0x824 /* 800C6E98 000C3DF8 41 82 00 10 */ beq lbl_800C6EA8 /* 800C6E9C 000C3DFC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6EA0 000C3E00 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6EA4 000C3E04 90 1E 08 24 */ stw r0, 0x824(r30) lbl_800C6EA8: /* 800C6EA8 000C3E08 34 1E 07 28 */ addic. r0, r30, 0x728 /* 800C6EAC 000C3E0C 41 82 00 40 */ beq lbl_800C6EEC /* 800C6EB0 000C3E10 34 1E 07 A8 */ addic. r0, r30, 0x7a8 /* 800C6EB4 000C3E14 41 82 00 10 */ beq lbl_800C6EC4 /* 800C6EB8 000C3E18 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6EBC 000C3E1C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6EC0 000C3E20 90 1E 07 A8 */ stw r0, 0x7a8(r30) lbl_800C6EC4: /* 800C6EC4 000C3E24 34 1E 07 6C */ addic. r0, r30, 0x76c /* 800C6EC8 000C3E28 41 82 00 10 */ beq lbl_800C6ED8 /* 800C6ECC 000C3E2C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6ED0 000C3E30 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6ED4 000C3E34 90 1E 07 6C */ stw r0, 0x76c(r30) lbl_800C6ED8: /* 800C6ED8 000C3E38 34 1E 07 30 */ addic. r0, r30, 0x730 /* 800C6EDC 000C3E3C 41 82 00 10 */ beq lbl_800C6EEC /* 800C6EE0 000C3E40 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6EE4 000C3E44 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6EE8 000C3E48 90 1E 07 30 */ stw r0, 0x730(r30) lbl_800C6EEC: /* 800C6EEC 000C3E4C 34 1E 04 64 */ addic. r0, r30, 0x464 /* 800C6EF0 000C3E50 41 82 00 58 */ beq lbl_800C6F48 /* 800C6EF4 000C3E54 80 BE 04 64 */ lwz r5, 0x464(r30) /* 800C6EF8 000C3E58 38 60 00 00 */ li r3, 0 /* 800C6EFC 000C3E5C 2C 05 00 00 */ cmpwi r5, 0 /* 800C6F00 000C3E60 40 81 00 40 */ ble lbl_800C6F40 /* 800C6F04 000C3E64 2C 05 00 08 */ cmpwi r5, 8 /* 800C6F08 000C3E68 38 85 FF F8 */ addi r4, r5, -8 /* 800C6F0C 000C3E6C 40 81 00 20 */ ble lbl_800C6F2C /* 800C6F10 000C3E70 38 04 00 07 */ addi r0, r4, 7 /* 800C6F14 000C3E74 54 00 E8 FE */ srwi r0, r0, 3 /* 800C6F18 000C3E78 7C 09 03 A6 */ mtctr r0 /* 800C6F1C 000C3E7C 2C 04 00 00 */ cmpwi r4, 0 /* 800C6F20 000C3E80 40 81 00 0C */ ble lbl_800C6F2C lbl_800C6F24: /* 800C6F24 000C3E84 38 63 00 08 */ addi r3, r3, 8 /* 800C6F28 000C3E88 42 00 FF FC */ bdnz lbl_800C6F24 lbl_800C6F2C: /* 800C6F2C 000C3E8C 7C 03 28 50 */ subf r0, r3, r5 /* 800C6F30 000C3E90 7C 09 03 A6 */ mtctr r0 /* 800C6F34 000C3E94 7C 03 28 00 */ cmpw r3, r5 /* 800C6F38 000C3E98 40 80 00 08 */ bge lbl_800C6F40 lbl_800C6F3C: /* 800C6F3C 000C3E9C 42 00 00 00 */ bdnz lbl_800C6F3C lbl_800C6F40: /* 800C6F40 000C3EA0 38 00 00 00 */ li r0, 0 /* 800C6F44 000C3EA4 90 1E 04 64 */ stw r0, 0x464(r30) lbl_800C6F48: /* 800C6F48 000C3EA8 34 1E 03 50 */ addic. r0, r30, 0x350 /* 800C6F4C 000C3EAC 41 82 00 40 */ beq lbl_800C6F8C /* 800C6F50 000C3EB0 34 1E 03 D0 */ addic. r0, r30, 0x3d0 /* 800C6F54 000C3EB4 41 82 00 10 */ beq lbl_800C6F64 /* 800C6F58 000C3EB8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6F5C 000C3EBC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6F60 000C3EC0 90 1E 03 D0 */ stw r0, 0x3d0(r30) lbl_800C6F64: /* 800C6F64 000C3EC4 34 1E 03 94 */ addic. r0, r30, 0x394 /* 800C6F68 000C3EC8 41 82 00 10 */ beq lbl_800C6F78 /* 800C6F6C 000C3ECC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6F70 000C3ED0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6F74 000C3ED4 90 1E 03 94 */ stw r0, 0x394(r30) lbl_800C6F78: /* 800C6F78 000C3ED8 34 1E 03 58 */ addic. r0, r30, 0x358 /* 800C6F7C 000C3EDC 41 82 00 10 */ beq lbl_800C6F8C /* 800C6F80 000C3EE0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6F84 000C3EE4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6F88 000C3EE8 90 1E 03 58 */ stw r0, 0x358(r30) lbl_800C6F8C: /* 800C6F8C 000C3EEC 34 1E 02 7C */ addic. r0, r30, 0x27c /* 800C6F90 000C3EF0 41 82 00 40 */ beq lbl_800C6FD0 /* 800C6F94 000C3EF4 34 1E 02 FC */ addic. r0, r30, 0x2fc /* 800C6F98 000C3EF8 41 82 00 10 */ beq lbl_800C6FA8 /* 800C6F9C 000C3EFC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6FA0 000C3F00 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6FA4 000C3F04 90 1E 02 FC */ stw r0, 0x2fc(r30) lbl_800C6FA8: /* 800C6FA8 000C3F08 34 1E 02 C0 */ addic. r0, r30, 0x2c0 /* 800C6FAC 000C3F0C 41 82 00 10 */ beq lbl_800C6FBC /* 800C6FB0 000C3F10 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6FB4 000C3F14 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6FB8 000C3F18 90 1E 02 C0 */ stw r0, 0x2c0(r30) lbl_800C6FBC: /* 800C6FBC 000C3F1C 34 1E 02 84 */ addic. r0, r30, 0x284 /* 800C6FC0 000C3F20 41 82 00 10 */ beq lbl_800C6FD0 /* 800C6FC4 000C3F24 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6FC8 000C3F28 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6FCC 000C3F2C 90 1E 02 84 */ stw r0, 0x284(r30) lbl_800C6FD0: /* 800C6FD0 000C3F30 34 1E 01 A8 */ addic. r0, r30, 0x1a8 /* 800C6FD4 000C3F34 41 82 00 40 */ beq lbl_800C7014 /* 800C6FD8 000C3F38 34 1E 02 28 */ addic. r0, r30, 0x228 /* 800C6FDC 000C3F3C 41 82 00 10 */ beq lbl_800C6FEC /* 800C6FE0 000C3F40 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6FE4 000C3F44 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6FE8 000C3F48 90 1E 02 28 */ stw r0, 0x228(r30) lbl_800C6FEC: /* 800C6FEC 000C3F4C 34 1E 01 EC */ addic. r0, r30, 0x1ec /* 800C6FF0 000C3F50 41 82 00 10 */ beq lbl_800C7000 /* 800C6FF4 000C3F54 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C6FF8 000C3F58 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C6FFC 000C3F5C 90 1E 01 EC */ stw r0, 0x1ec(r30) lbl_800C7000: /* 800C7000 000C3F60 34 1E 01 B0 */ addic. r0, r30, 0x1b0 /* 800C7004 000C3F64 41 82 00 10 */ beq lbl_800C7014 /* 800C7008 000C3F68 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800C700C 000C3F6C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800C7010 000C3F70 90 1E 01 B0 */ stw r0, 0x1b0(r30) lbl_800C7014: /* 800C7014 000C3F74 34 1E 01 3C */ addic. r0, r30, 0x13c /* 800C7018 000C3F78 41 82 00 10 */ beq lbl_800C7028 /* 800C701C 000C3F7C 38 7E 01 3C */ addi r3, r30, 0x13c /* 800C7020 000C3F80 38 80 FF FF */ li r4, -1 /* 800C7024 000C3F84 48 03 F5 E5 */ bl __dt__16CLightParametersFv lbl_800C7028: /* 800C7028 000C3F88 7F E0 07 35 */ extsh. r0, r31 /* 800C702C 000C3F8C 40 81 00 0C */ ble lbl_800C7038 /* 800C7030 000C3F90 7F C3 F3 78 */ mr r3, r30 /* 800C7034 000C3F94 48 24 E8 FD */ bl Free__7CMemoryFPCv lbl_800C7038: /* 800C7038 000C3F98 80 01 00 14 */ lwz r0, 0x14(r1) /* 800C703C 000C3F9C 7F C3 F3 78 */ mr r3, r30 /* 800C7040 000C3FA0 83 E1 00 0C */ lwz r31, 0xc(r1) /* 800C7044 000C3FA4 83 C1 00 08 */ lwz r30, 8(r1) /* 800C7048 000C3FA8 7C 08 03 A6 */ mtlr r0 /* 800C704C 000C3FAC 38 21 00 10 */ addi r1, r1, 0x10 /* 800C7050 000C3FB0 4E 80 00 20 */ blr .global LoadBurrower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadBurrower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C7054 000C3FB4 94 21 FC A0 */ stwu r1, -0x360(r1) /* 800C7058 000C3FB8 7C 08 02 A6 */ mflr r0 /* 800C705C 000C3FBC 2C 05 00 0D */ cmpwi r5, 0xd /* 800C7060 000C3FC0 90 01 03 64 */ stw r0, 0x364(r1) /* 800C7064 000C3FC4 BF 41 03 48 */ stmw r26, 0x348(r1) /* 800C7068 000C3FC8 7C 7E 1B 78 */ mr r30, r3 /* 800C706C 000C3FCC 7C 9B 23 78 */ mr r27, r4 /* 800C7070 000C3FD0 7C DF 33 78 */ mr r31, r6 /* 800C7074 000C3FD4 41 82 00 0C */ beq lbl_800C7080 /* 800C7078 000C3FD8 38 60 00 00 */ li r3, 0 /* 800C707C 000C3FDC 48 00 02 28 */ b lbl_800C72A4 lbl_800C7080: /* 800C7080 000C3FE0 7F C5 F3 78 */ mr r5, r30 /* 800C7084 000C3FE4 38 61 01 B8 */ addi r3, r1, 0x1b8 /* 800C7088 000C3FE8 48 01 33 F5 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C708C 000C3FEC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C7090 000C3FF0 7F 64 DB 78 */ mr r4, r27 /* 800C7094 000C3FF4 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800C7098 000C3FF8 38 61 00 40 */ addi r3, r1, 0x40 /* 800C709C 000C3FFC 38 A5 00 35 */ addi r5, r5, 0x35 /* 800C70A0 000C4000 48 03 E7 89 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800C70A4 000C4004 88 01 00 40 */ lbz r0, 0x40(r1) /* 800C70A8 000C4008 80 A1 00 44 */ lwz r5, 0x44(r1) /* 800C70AC 000C400C 28 00 00 00 */ cmplwi r0, 0 /* 800C70B0 000C4010 40 82 00 14 */ bne lbl_800C70C4 /* 800C70B4 000C4014 38 61 01 B8 */ addi r3, r1, 0x1b8 /* 800C70B8 000C4018 48 27 6A 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C70BC 000C401C 38 60 00 00 */ li r3, 0 /* 800C70C0 000C4020 48 00 01 E4 */ b lbl_800C72A4 lbl_800C70C4: /* 800C70C4 000C4024 7F 64 DB 78 */ mr r4, r27 /* 800C70C8 000C4028 38 61 02 04 */ addi r3, r1, 0x204 /* 800C70CC 000C402C 48 03 E7 AD */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800C70D0 000C4030 80 61 02 F0 */ lwz r3, 0x2f0(r1) /* 800C70D4 000C4034 3C 03 00 01 */ addis r0, r3, 1 /* 800C70D8 000C4038 28 00 FF FF */ cmplwi r0, 0xffff /* 800C70DC 000C403C 40 82 00 14 */ bne lbl_800C70F0 /* 800C70E0 000C4040 38 61 01 B8 */ addi r3, r1, 0x1b8 /* 800C70E4 000C4044 48 27 69 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C70E8 000C4048 38 60 00 00 */ li r3, 0 /* 800C70EC 000C404C 48 00 01 B8 */ b lbl_800C72A4 lbl_800C70F0: /* 800C70F0 000C4050 7F 64 DB 78 */ mr r4, r27 /* 800C70F4 000C4054 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800C70F8 000C4058 48 01 2C 7D */ bl LoadActorParameters__FR12CInputStream /* 800C70FC 000C405C 38 61 01 50 */ addi r3, r1, 0x150 /* 800C7100 000C4060 38 81 00 E8 */ addi r4, r1, 0xe8 /* 800C7104 000C4064 4B FF E5 19 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C7108 000C4068 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800C710C 000C406C 38 80 FF FF */ li r4, -1 /* 800C7110 000C4070 48 03 F4 F9 */ bl __dt__16CLightParametersFv /* 800C7114 000C4074 7F 63 DB 78 */ mr r3, r27 /* 800C7118 000C4078 48 27 7B 6D */ bl ReadLong__12CInputStreamFv /* 800C711C 000C407C 90 61 00 3C */ stw r3, 0x3c(r1) /* 800C7120 000C4080 7F 63 DB 78 */ mr r3, r27 /* 800C7124 000C4084 48 27 7B 61 */ bl ReadLong__12CInputStreamFv /* 800C7128 000C4088 90 61 00 38 */ stw r3, 0x38(r1) /* 800C712C 000C408C 7F 63 DB 78 */ mr r3, r27 /* 800C7130 000C4090 48 27 7B 55 */ bl ReadLong__12CInputStreamFv /* 800C7134 000C4094 90 61 00 34 */ stw r3, 0x34(r1) /* 800C7138 000C4098 7F 64 DB 78 */ mr r4, r27 /* 800C713C 000C409C 38 61 00 64 */ addi r3, r1, 0x64 /* 800C7140 000C40A0 4B FF C4 21 */ bl __ct__11CDamageInfoFR12CInputStream /* 800C7144 000C40A4 80 A1 00 64 */ lwz r5, 0x64(r1) /* 800C7148 000C40A8 7F 63 DB 78 */ mr r3, r27 /* 800C714C 000C40AC 88 81 00 68 */ lbz r4, 0x68(r1) /* 800C7150 000C40B0 C0 61 00 6C */ lfs f3, 0x6c(r1) /* 800C7154 000C40B4 C0 41 00 70 */ lfs f2, 0x70(r1) /* 800C7158 000C40B8 C0 21 00 74 */ lfs f1, 0x74(r1) /* 800C715C 000C40BC C0 01 00 78 */ lfs f0, 0x78(r1) /* 800C7160 000C40C0 88 01 00 7C */ lbz r0, 0x7c(r1) /* 800C7164 000C40C4 90 A1 00 80 */ stw r5, 0x80(r1) /* 800C7168 000C40C8 98 81 00 84 */ stb r4, 0x84(r1) /* 800C716C 000C40CC D0 61 00 88 */ stfs f3, 0x88(r1) /* 800C7170 000C40D0 D0 41 00 8C */ stfs f2, 0x8c(r1) /* 800C7174 000C40D4 D0 21 00 90 */ stfs f1, 0x90(r1) /* 800C7178 000C40D8 D0 01 00 94 */ stfs f0, 0x94(r1) /* 800C717C 000C40DC 98 01 00 98 */ stb r0, 0x98(r1) /* 800C7180 000C40E0 48 27 7B 05 */ bl ReadLong__12CInputStreamFv /* 800C7184 000C40E4 90 61 00 30 */ stw r3, 0x30(r1) /* 800C7188 000C40E8 7F 63 DB 78 */ mr r3, r27 /* 800C718C 000C40EC 48 27 7A F9 */ bl ReadLong__12CInputStreamFv /* 800C7190 000C40F0 7C 7C 1B 78 */ mr r28, r3 /* 800C7194 000C40F4 7F 63 DB 78 */ mr r3, r27 /* 800C7198 000C40F8 48 27 7A ED */ bl ReadLong__12CInputStreamFv /* 800C719C 000C40FC 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800C71A0 000C4100 7C 7D 1B 78 */ mr r29, r3 /* 800C71A4 000C4104 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l /* 800C71A8 000C4108 3B 40 00 00 */ li r26, 0 /* 800C71AC 000C410C 38 83 00 0D */ addi r4, r3, 0xd /* 800C71B0 000C4110 38 60 06 B0 */ li r3, 0x6b0 /* 800C71B4 000C4114 38 A0 00 00 */ li r5, 0 /* 800C71B8 000C4118 48 24 E6 B5 */ bl __nw__FUlPCcPCc /* 800C71BC 000C411C 7C 7B 1B 79 */ or. r27, r3, r3 /* 800C71C0 000C4120 41 82 00 B8 */ beq lbl_800C7278 /* 800C71C4 000C4124 80 E1 02 F0 */ lwz r7, 0x2f0(r1) /* 800C71C8 000C4128 38 A0 00 01 */ li r5, 1 /* 800C71CC 000C412C 80 C1 02 F4 */ lwz r6, 0x2f4(r1) /* 800C71D0 000C4130 38 61 00 9C */ addi r3, r1, 0x9c /* 800C71D4 000C4134 C0 41 01 F8 */ lfs f2, 0x1f8(r1) /* 800C71D8 000C4138 38 81 00 48 */ addi r4, r1, 0x48 /* 800C71DC 000C413C C0 21 01 FC */ lfs f1, 0x1fc(r1) /* 800C71E0 000C4140 C0 01 02 00 */ lfs f0, 0x200(r1) /* 800C71E4 000C4144 80 01 02 F8 */ lwz r0, 0x2f8(r1) /* 800C71E8 000C4148 90 E1 00 48 */ stw r7, 0x48(r1) /* 800C71EC 000C414C 90 C1 00 4C */ stw r6, 0x4c(r1) /* 800C71F0 000C4150 D0 41 00 50 */ stfs f2, 0x50(r1) /* 800C71F4 000C4154 D0 21 00 54 */ stfs f1, 0x54(r1) /* 800C71F8 000C4158 D0 01 00 58 */ stfs f0, 0x58(r1) /* 800C71FC 000C415C 98 A1 00 5C */ stb r5, 0x5c(r1) /* 800C7200 000C4160 90 01 00 60 */ stw r0, 0x60(r1) /* 800C7204 000C4164 48 04 F9 51 */ bl __ct__10CModelDataFRC8CAnimRes /* 800C7208 000C4168 7F C4 F3 78 */ mr r4, r30 /* 800C720C 000C416C 38 61 00 28 */ addi r3, r1, 0x28 /* 800C7210 000C4170 3B 40 00 01 */ li r26, 1 /* 800C7214 000C4174 4B F8 5E C9 */ bl AllocateUniqueId__13CStateManagerFv /* 800C7218 000C4178 A0 01 00 28 */ lhz r0, 0x28(r1) /* 800C721C 000C417C 38 81 00 3C */ addi r4, r1, 0x3c /* 800C7220 000C4180 38 E1 00 38 */ addi r7, r1, 0x38 /* 800C7224 000C4184 39 41 00 34 */ addi r10, r1, 0x34 /* 800C7228 000C4188 B0 01 00 2C */ sth r0, 0x2c(r1) /* 800C722C 000C418C 39 61 00 80 */ addi r11, r1, 0x80 /* 800C7230 000C4190 38 01 00 30 */ addi r0, r1, 0x30 /* 800C7234 000C4194 7F 63 DB 78 */ mr r3, r27 /* 800C7238 000C4198 90 81 00 08 */ stw r4, 8(r1) /* 800C723C 000C419C 7F E6 FB 78 */ mr r6, r31 /* 800C7240 000C41A0 38 81 00 2C */ addi r4, r1, 0x2c /* 800C7244 000C41A4 38 A1 01 B8 */ addi r5, r1, 0x1b8 /* 800C7248 000C41A8 90 E1 00 0C */ stw r7, 0xc(r1) /* 800C724C 000C41AC 38 E1 01 C8 */ addi r7, r1, 0x1c8 /* 800C7250 000C41B0 39 01 00 9C */ addi r8, r1, 0x9c /* 800C7254 000C41B4 39 21 02 04 */ addi r9, r1, 0x204 /* 800C7258 000C41B8 91 41 00 10 */ stw r10, 0x10(r1) /* 800C725C 000C41BC 39 41 01 50 */ addi r10, r1, 0x150 /* 800C7260 000C41C0 91 61 00 14 */ stw r11, 0x14(r1) /* 800C7264 000C41C4 90 01 00 18 */ stw r0, 0x18(r1) /* 800C7268 000C41C8 93 81 00 1C */ stw r28, 0x1c(r1) /* 800C726C 000C41CC 93 A1 00 20 */ stw r29, 0x20(r1) /* 800C7270 000C41D0 48 1A 98 95 */ bl __ct__9CBurrower /* 800C7274 000C41D4 7C 7B 1B 78 */ mr r27, r3 lbl_800C7278: /* 800C7278 000C41D8 7F 40 07 75 */ extsb. r0, r26 /* 800C727C 000C41DC 41 82 00 10 */ beq lbl_800C728C /* 800C7280 000C41E0 38 61 00 9C */ addi r3, r1, 0x9c /* 800C7284 000C41E4 38 80 FF FF */ li r4, -1 /* 800C7288 000C41E8 48 04 F7 C5 */ bl __dt__10CModelDataFv lbl_800C728C: /* 800C728C 000C41EC 38 61 01 50 */ addi r3, r1, 0x150 /* 800C7290 000C41F0 38 80 FF FF */ li r4, -1 /* 800C7294 000C41F4 48 03 F3 75 */ bl __dt__16CLightParametersFv /* 800C7298 000C41F8 38 61 01 B8 */ addi r3, r1, 0x1b8 /* 800C729C 000C41FC 48 27 68 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C72A0 000C4200 7F 63 DB 78 */ mr r3, r27 lbl_800C72A4: /* 800C72A4 000C4204 BB 41 03 48 */ lmw r26, 0x348(r1) /* 800C72A8 000C4208 80 01 03 64 */ lwz r0, 0x364(r1) /* 800C72AC 000C420C 7C 08 03 A6 */ mtlr r0 /* 800C72B0 000C4210 38 21 03 60 */ addi r1, r1, 0x360 /* 800C72B4 000C4214 4E 80 00 20 */ blr .global LoadThermalHeatFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadThermalHeatFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C72B8 000C4218 94 21 FF 90 */ stwu r1, -0x70(r1) /* 800C72BC 000C421C 7C 08 02 A6 */ mflr r0 /* 800C72C0 000C4220 90 01 00 74 */ stw r0, 0x74(r1) /* 800C72C4 000C4224 DB E1 00 60 */ stfd f31, 0x60(r1) /* 800C72C8 000C4228 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 800C72CC 000C422C DB C1 00 50 */ stfd f30, 0x50(r1) /* 800C72D0 000C4230 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 800C72D4 000C4234 93 E1 00 4C */ stw r31, 0x4c(r1) /* 800C72D8 000C4238 93 C1 00 48 */ stw r30, 0x48(r1) /* 800C72DC 000C423C 93 A1 00 44 */ stw r29, 0x44(r1) /* 800C72E0 000C4240 93 81 00 40 */ stw r28, 0x40(r1) /* 800C72E4 000C4244 2C 05 00 04 */ cmpwi r5, 4 /* 800C72E8 000C4248 7C 7F 1B 78 */ mr r31, r3 /* 800C72EC 000C424C 7C 9D 23 78 */ mr r29, r4 /* 800C72F0 000C4250 7C DC 33 78 */ mr r28, r6 /* 800C72F4 000C4254 41 82 00 0C */ beq lbl_800C7300 /* 800C72F8 000C4258 38 60 00 00 */ li r3, 0 /* 800C72FC 000C425C 48 00 00 FC */ b lbl_800C73F8 lbl_800C7300: /* 800C7300 000C4260 4B F7 DE E5 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800C7304 000C4264 7C 64 1B 78 */ mr r4, r3 /* 800C7308 000C4268 38 61 00 30 */ addi r3, r1, 0x30 /* 800C730C 000C426C 48 27 6E 55 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800C7310 000C4270 7F A3 EB 78 */ mr r3, r29 /* 800C7314 000C4274 48 27 79 C9 */ bl ReadBool__12CInputStreamFv /* 800C7318 000C4278 7C 7E 1B 78 */ mr r30, r3 /* 800C731C 000C427C 7F A3 EB 78 */ mr r3, r29 /* 800C7320 000C4280 48 27 79 09 */ bl ReadFloat__12CInputStreamFv /* 800C7324 000C4284 FF E0 08 90 */ fmr f31, f1 /* 800C7328 000C4288 7F A3 EB 78 */ mr r3, r29 /* 800C732C 000C428C 48 27 78 FD */ bl ReadFloat__12CInputStreamFv /* 800C7330 000C4290 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C7334 000C4294 FF C0 08 90 */ fmr f30, f1 /* 800C7338 000C4298 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800C733C 000C429C 38 A0 00 00 */ li r5, 0 /* 800C7340 000C42A0 38 60 00 64 */ li r3, 0x64 /* 800C7344 000C42A4 38 84 00 0D */ addi r4, r4, 0xd /* 800C7348 000C42A8 48 24 E5 25 */ bl __nw__FUlPCcPCc /* 800C734C 000C42AC 7C 7D 1B 79 */ or. r29, r3, r3 /* 800C7350 000C42B0 41 82 00 9C */ beq lbl_800C73EC /* 800C7354 000C42B4 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800C7358 000C42B8 38 61 00 20 */ addi r3, r1, 0x20 /* 800C735C 000C42BC FC 40 08 90 */ fmr f2, f1 /* 800C7360 000C42C0 48 24 CE A1 */ bl __ct__9CVector2fFff /* 800C7364 000C42C4 80 A3 00 00 */ lwz r5, 0(r3) /* 800C7368 000C42C8 7F E4 FB 78 */ mr r4, r31 /* 800C736C 000C42CC 80 03 00 04 */ lwz r0, 4(r3) /* 800C7370 000C42D0 38 61 00 10 */ addi r3, r1, 0x10 /* 800C7374 000C42D4 90 A1 00 28 */ stw r5, 0x28(r1) /* 800C7378 000C42D8 90 01 00 2C */ stw r0, 0x2c(r1) /* 800C737C 000C42DC 4B F8 5D 61 */ bl AllocateUniqueId__13CStateManagerFv /* 800C7380 000C42E0 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800C7384 000C42E4 38 61 00 18 */ addi r3, r1, 0x18 /* 800C7388 000C42E8 A0 01 00 10 */ lhz r0, 0x10(r1) /* 800C738C 000C42EC FC 40 08 90 */ fmr f2, f1 /* 800C7390 000C42F0 B0 01 00 14 */ sth r0, 0x14(r1) /* 800C7394 000C42F4 48 24 CE 6D */ bl __ct__9CVector2fFff /* 800C7398 000C42F8 7C 7F 1B 78 */ mr r31, r3 /* 800C739C 000C42FC 48 28 2C 19 */ bl Black__6CColorFv /* 800C73A0 000C4300 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800C73A4 000C4304 38 00 00 00 */ li r0, 0 /* 800C73A8 000C4308 90 01 00 08 */ stw r0, 8(r1) /* 800C73AC 000C430C 57 C0 06 3E */ clrlwi r0, r30, 0x18 /* 800C73B0 000C4310 FC 40 F8 90 */ fmr f2, f31 /* 800C73B4 000C4314 7C 68 1B 78 */ mr r8, r3 /* 800C73B8 000C4318 FC 60 F0 90 */ fmr f3, f30 /* 800C73BC 000C431C 90 01 00 0C */ stw r0, 0xc(r1) /* 800C73C0 000C4320 FC 80 08 90 */ fmr f4, f1 /* 800C73C4 000C4324 7F A3 EB 78 */ mr r3, r29 /* 800C73C8 000C4328 FC A0 08 90 */ fmr f5, f1 /* 800C73CC 000C432C 7F 86 E3 78 */ mr r6, r28 /* 800C73D0 000C4330 7F E9 FB 78 */ mr r9, r31 /* 800C73D4 000C4334 38 81 00 14 */ addi r4, r1, 0x14 /* 800C73D8 000C4338 38 A1 00 30 */ addi r5, r1, 0x30 /* 800C73DC 000C433C 39 41 00 28 */ addi r10, r1, 0x28 /* 800C73E0 000C4340 38 E0 00 00 */ li r7, 0 /* 800C73E4 000C4344 48 08 5E 75 */ bl "__ct__18CScriptDistanceFogF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC11ERglFogModeRC6CColorRC9CVector2ff9CVector2fbbffff" /* 800C73E8 000C4348 7C 7D 1B 78 */ mr r29, r3 lbl_800C73EC: /* 800C73EC 000C434C 38 61 00 30 */ addi r3, r1, 0x30 /* 800C73F0 000C4350 48 27 66 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C73F4 000C4354 7F A3 EB 78 */ mr r3, r29 lbl_800C73F8: /* 800C73F8 000C4358 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 800C73FC 000C435C CB E1 00 60 */ lfd f31, 0x60(r1) /* 800C7400 000C4360 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 800C7404 000C4364 CB C1 00 50 */ lfd f30, 0x50(r1) /* 800C7408 000C4368 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 800C740C 000C436C 83 C1 00 48 */ lwz r30, 0x48(r1) /* 800C7410 000C4370 83 A1 00 44 */ lwz r29, 0x44(r1) /* 800C7414 000C4374 80 01 00 74 */ lwz r0, 0x74(r1) /* 800C7418 000C4378 83 81 00 40 */ lwz r28, 0x40(r1) /* 800C741C 000C437C 7C 08 03 A6 */ mtlr r0 /* 800C7420 000C4380 38 21 00 70 */ addi r1, r1, 0x70 /* 800C7424 000C4384 4E 80 00 20 */ blr .global LoadSeedling__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadSeedling__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C7428 000C4388 94 21 FC 50 */ stwu r1, -0x3b0(r1) /* 800C742C 000C438C 7C 08 02 A6 */ mflr r0 /* 800C7430 000C4390 90 01 03 B4 */ stw r0, 0x3b4(r1) /* 800C7434 000C4394 DB E1 03 A0 */ stfd f31, 0x3a0(r1) /* 800C7438 000C4398 F3 E1 03 A8 */ psq_st f31, 936(r1), 0, qr0 /* 800C743C 000C439C DB C1 03 90 */ stfd f30, 0x390(r1) /* 800C7440 000C43A0 F3 C1 03 98 */ psq_st f30, 920(r1), 0, qr0 /* 800C7444 000C43A4 DB A1 03 80 */ stfd f29, 0x380(r1) /* 800C7448 000C43A8 F3 A1 03 88 */ psq_st f29, 904(r1), 0, qr0 /* 800C744C 000C43AC DB 81 03 70 */ stfd f28, 0x370(r1) /* 800C7450 000C43B0 F3 81 03 78 */ psq_st f28, 888(r1), 0, qr0 /* 800C7454 000C43B4 93 E1 03 6C */ stw r31, 0x36c(r1) /* 800C7458 000C43B8 93 C1 03 68 */ stw r30, 0x368(r1) /* 800C745C 000C43BC 93 A1 03 64 */ stw r29, 0x364(r1) /* 800C7460 000C43C0 93 81 03 60 */ stw r28, 0x360(r1) /* 800C7464 000C43C4 2C 05 00 0E */ cmpwi r5, 0xe /* 800C7468 000C43C8 7C 7E 1B 78 */ mr r30, r3 /* 800C746C 000C43CC 7C 9D 23 78 */ mr r29, r4 /* 800C7470 000C43D0 7C DF 33 78 */ mr r31, r6 /* 800C7474 000C43D4 41 82 00 0C */ beq lbl_800C7480 /* 800C7478 000C43D8 38 60 00 00 */ li r3, 0 /* 800C747C 000C43DC 48 00 02 6C */ b lbl_800C76E8 lbl_800C7480: /* 800C7480 000C43E0 7F C5 F3 78 */ mr r5, r30 /* 800C7484 000C43E4 38 61 01 D8 */ addi r3, r1, 0x1d8 /* 800C7488 000C43E8 48 01 2F F5 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C748C 000C43EC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C7490 000C43F0 7F A4 EB 78 */ mr r4, r29 /* 800C7494 000C43F4 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800C7498 000C43F8 38 61 00 28 */ addi r3, r1, 0x28 /* 800C749C 000C43FC 38 A5 00 3E */ addi r5, r5, 0x3e /* 800C74A0 000C4400 48 03 E3 89 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800C74A4 000C4404 88 01 00 28 */ lbz r0, 0x28(r1) /* 800C74A8 000C4408 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 800C74AC 000C440C 28 00 00 00 */ cmplwi r0, 0 /* 800C74B0 000C4410 40 82 00 14 */ bne lbl_800C74C4 /* 800C74B4 000C4414 38 61 01 D8 */ addi r3, r1, 0x1d8 /* 800C74B8 000C4418 48 27 66 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C74BC 000C441C 38 60 00 00 */ li r3, 0 /* 800C74C0 000C4420 48 00 02 28 */ b lbl_800C76E8 lbl_800C74C4: /* 800C74C4 000C4424 7F A4 EB 78 */ mr r4, r29 /* 800C74C8 000C4428 38 61 02 24 */ addi r3, r1, 0x224 /* 800C74CC 000C442C 48 03 E3 AD */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800C74D0 000C4430 80 61 03 10 */ lwz r3, 0x310(r1) /* 800C74D4 000C4434 3C 03 00 01 */ addis r0, r3, 1 /* 800C74D8 000C4438 28 00 FF FF */ cmplwi r0, 0xffff /* 800C74DC 000C443C 40 82 00 14 */ bne lbl_800C74F0 /* 800C74E0 000C4440 38 61 01 D8 */ addi r3, r1, 0x1d8 /* 800C74E4 000C4444 48 27 65 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C74E8 000C4448 38 60 00 00 */ li r3, 0 /* 800C74EC 000C444C 48 00 01 FC */ b lbl_800C76E8 lbl_800C74F0: /* 800C74F0 000C4450 7F A4 EB 78 */ mr r4, r29 /* 800C74F4 000C4454 38 61 01 08 */ addi r3, r1, 0x108 /* 800C74F8 000C4458 48 01 28 7D */ bl LoadActorParameters__FR12CInputStream /* 800C74FC 000C445C 38 61 01 70 */ addi r3, r1, 0x170 /* 800C7500 000C4460 38 81 01 08 */ addi r4, r1, 0x108 /* 800C7504 000C4464 4B FF E1 19 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C7508 000C4468 38 61 01 08 */ addi r3, r1, 0x108 /* 800C750C 000C446C 38 80 FF FF */ li r4, -1 /* 800C7510 000C4470 48 03 F0 F9 */ bl __dt__16CLightParametersFv /* 800C7514 000C4474 7F A3 EB 78 */ mr r3, r29 /* 800C7518 000C4478 48 27 77 6D */ bl ReadLong__12CInputStreamFv /* 800C751C 000C447C 90 61 00 24 */ stw r3, 0x24(r1) /* 800C7520 000C4480 7F A3 EB 78 */ mr r3, r29 /* 800C7524 000C4484 48 27 77 61 */ bl ReadLong__12CInputStreamFv /* 800C7528 000C4488 90 61 00 20 */ stw r3, 0x20(r1) /* 800C752C 000C448C 7F A4 EB 78 */ mr r4, r29 /* 800C7530 000C4490 38 61 00 68 */ addi r3, r1, 0x68 /* 800C7534 000C4494 4B FF C0 2D */ bl __ct__11CDamageInfoFR12CInputStream /* 800C7538 000C4498 80 C1 00 68 */ lwz r6, 0x68(r1) /* 800C753C 000C449C 7F A4 EB 78 */ mr r4, r29 /* 800C7540 000C44A0 88 A1 00 6C */ lbz r5, 0x6c(r1) /* 800C7544 000C44A4 38 61 00 4C */ addi r3, r1, 0x4c /* 800C7548 000C44A8 C0 61 00 70 */ lfs f3, 0x70(r1) /* 800C754C 000C44AC C0 41 00 74 */ lfs f2, 0x74(r1) /* 800C7550 000C44B0 C0 21 00 78 */ lfs f1, 0x78(r1) /* 800C7554 000C44B4 C0 01 00 7C */ lfs f0, 0x7c(r1) /* 800C7558 000C44B8 88 01 00 80 */ lbz r0, 0x80(r1) /* 800C755C 000C44BC 90 C1 00 A0 */ stw r6, 0xa0(r1) /* 800C7560 000C44C0 98 A1 00 A4 */ stb r5, 0xa4(r1) /* 800C7564 000C44C4 D0 61 00 A8 */ stfs f3, 0xa8(r1) /* 800C7568 000C44C8 D0 41 00 AC */ stfs f2, 0xac(r1) /* 800C756C 000C44CC D0 21 00 B0 */ stfs f1, 0xb0(r1) /* 800C7570 000C44D0 D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 800C7574 000C44D4 98 01 00 B8 */ stb r0, 0xb8(r1) /* 800C7578 000C44D8 4B FF BF E9 */ bl __ct__11CDamageInfoFR12CInputStream /* 800C757C 000C44DC 80 A1 00 4C */ lwz r5, 0x4c(r1) /* 800C7580 000C44E0 7F A3 EB 78 */ mr r3, r29 /* 800C7584 000C44E4 88 81 00 50 */ lbz r4, 0x50(r1) /* 800C7588 000C44E8 C0 61 00 54 */ lfs f3, 0x54(r1) /* 800C758C 000C44EC C0 41 00 58 */ lfs f2, 0x58(r1) /* 800C7590 000C44F0 C0 21 00 5C */ lfs f1, 0x5c(r1) /* 800C7594 000C44F4 C0 01 00 60 */ lfs f0, 0x60(r1) /* 800C7598 000C44F8 88 01 00 64 */ lbz r0, 0x64(r1) /* 800C759C 000C44FC 90 A1 00 84 */ stw r5, 0x84(r1) /* 800C75A0 000C4500 98 81 00 88 */ stb r4, 0x88(r1) /* 800C75A4 000C4504 D0 61 00 8C */ stfs f3, 0x8c(r1) /* 800C75A8 000C4508 D0 41 00 90 */ stfs f2, 0x90(r1) /* 800C75AC 000C450C D0 21 00 94 */ stfs f1, 0x94(r1) /* 800C75B0 000C4510 D0 01 00 98 */ stfs f0, 0x98(r1) /* 800C75B4 000C4514 98 01 00 9C */ stb r0, 0x9c(r1) /* 800C75B8 000C4518 48 27 76 71 */ bl ReadFloat__12CInputStreamFv /* 800C75BC 000C451C FF E0 08 90 */ fmr f31, f1 /* 800C75C0 000C4520 7F A3 EB 78 */ mr r3, r29 /* 800C75C4 000C4524 48 27 76 65 */ bl ReadFloat__12CInputStreamFv /* 800C75C8 000C4528 FF C0 08 90 */ fmr f30, f1 /* 800C75CC 000C452C 7F A3 EB 78 */ mr r3, r29 /* 800C75D0 000C4530 48 27 76 59 */ bl ReadFloat__12CInputStreamFv /* 800C75D4 000C4534 FF A0 08 90 */ fmr f29, f1 /* 800C75D8 000C4538 7F A3 EB 78 */ mr r3, r29 /* 800C75DC 000C453C 48 27 76 4D */ bl ReadFloat__12CInputStreamFv /* 800C75E0 000C4540 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C75E4 000C4544 FF 80 08 90 */ fmr f28, f1 /* 800C75E8 000C4548 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l /* 800C75EC 000C454C 3B 80 00 00 */ li r28, 0 /* 800C75F0 000C4550 38 83 00 0D */ addi r4, r3, 0xd /* 800C75F4 000C4554 38 A0 00 00 */ li r5, 0 /* 800C75F8 000C4558 38 60 07 28 */ li r3, 0x728 /* 800C75FC 000C455C 48 24 E2 71 */ bl __nw__FUlPCcPCc /* 800C7600 000C4560 7C 7D 1B 79 */ or. r29, r3, r3 /* 800C7604 000C4564 41 82 00 B8 */ beq lbl_800C76BC /* 800C7608 000C4568 80 E1 03 10 */ lwz r7, 0x310(r1) /* 800C760C 000C456C 38 A0 00 01 */ li r5, 1 /* 800C7610 000C4570 80 C1 03 14 */ lwz r6, 0x314(r1) /* 800C7614 000C4574 38 61 00 BC */ addi r3, r1, 0xbc /* 800C7618 000C4578 C0 41 02 18 */ lfs f2, 0x218(r1) /* 800C761C 000C457C 38 81 00 30 */ addi r4, r1, 0x30 /* 800C7620 000C4580 C0 21 02 1C */ lfs f1, 0x21c(r1) /* 800C7624 000C4584 C0 01 02 20 */ lfs f0, 0x220(r1) /* 800C7628 000C4588 80 01 03 18 */ lwz r0, 0x318(r1) /* 800C762C 000C458C 90 E1 00 30 */ stw r7, 0x30(r1) /* 800C7630 000C4590 90 C1 00 34 */ stw r6, 0x34(r1) /* 800C7634 000C4594 D0 41 00 38 */ stfs f2, 0x38(r1) /* 800C7638 000C4598 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 800C763C 000C459C D0 01 00 40 */ stfs f0, 0x40(r1) /* 800C7640 000C45A0 98 A1 00 44 */ stb r5, 0x44(r1) /* 800C7644 000C45A4 90 01 00 48 */ stw r0, 0x48(r1) /* 800C7648 000C45A8 48 04 F5 0D */ bl __ct__10CModelDataFRC8CAnimRes /* 800C764C 000C45AC 7F C4 F3 78 */ mr r4, r30 /* 800C7650 000C45B0 38 61 00 18 */ addi r3, r1, 0x18 /* 800C7654 000C45B4 3B 80 00 01 */ li r28, 1 /* 800C7658 000C45B8 4B F8 5A 85 */ bl AllocateUniqueId__13CStateManagerFv /* 800C765C 000C45BC A0 01 00 18 */ lhz r0, 0x18(r1) /* 800C7660 000C45C0 38 A1 00 24 */ addi r5, r1, 0x24 /* 800C7664 000C45C4 38 61 00 20 */ addi r3, r1, 0x20 /* 800C7668 000C45C8 38 81 00 A0 */ addi r4, r1, 0xa0 /* 800C766C 000C45CC B0 01 00 1C */ sth r0, 0x1c(r1) /* 800C7670 000C45D0 FC 20 F8 90 */ fmr f1, f31 /* 800C7674 000C45D4 FC 40 F0 90 */ fmr f2, f30 /* 800C7678 000C45D8 38 01 00 84 */ addi r0, r1, 0x84 /* 800C767C 000C45DC 90 A1 00 08 */ stw r5, 8(r1) /* 800C7680 000C45E0 FC 60 E8 90 */ fmr f3, f29 /* 800C7684 000C45E4 FC 80 E0 90 */ fmr f4, f28 /* 800C7688 000C45E8 90 61 00 0C */ stw r3, 0xc(r1) /* 800C768C 000C45EC 7F A3 EB 78 */ mr r3, r29 /* 800C7690 000C45F0 7F E6 FB 78 */ mr r6, r31 /* 800C7694 000C45F4 90 81 00 10 */ stw r4, 0x10(r1) /* 800C7698 000C45F8 38 81 00 1C */ addi r4, r1, 0x1c /* 800C769C 000C45FC 38 A1 01 D8 */ addi r5, r1, 0x1d8 /* 800C76A0 000C4600 38 E1 01 E8 */ addi r7, r1, 0x1e8 /* 800C76A4 000C4604 90 01 00 14 */ stw r0, 0x14(r1) /* 800C76A8 000C4608 39 01 00 BC */ addi r8, r1, 0xbc /* 800C76AC 000C460C 39 21 02 24 */ addi r9, r1, 0x224 /* 800C76B0 000C4610 39 41 01 70 */ addi r10, r1, 0x170 /* 800C76B4 000C4614 48 19 F8 95 */ bl __ct__9CSeedlingF /* 800C76B8 000C4618 7C 7D 1B 78 */ mr r29, r3 lbl_800C76BC: /* 800C76BC 000C461C 7F 80 07 75 */ extsb. r0, r28 /* 800C76C0 000C4620 41 82 00 10 */ beq lbl_800C76D0 /* 800C76C4 000C4624 38 61 00 BC */ addi r3, r1, 0xbc /* 800C76C8 000C4628 38 80 FF FF */ li r4, -1 /* 800C76CC 000C462C 48 04 F3 81 */ bl __dt__10CModelDataFv lbl_800C76D0: /* 800C76D0 000C4630 38 61 01 70 */ addi r3, r1, 0x170 /* 800C76D4 000C4634 38 80 FF FF */ li r4, -1 /* 800C76D8 000C4638 48 03 EF 31 */ bl __dt__16CLightParametersFv /* 800C76DC 000C463C 38 61 01 D8 */ addi r3, r1, 0x1d8 /* 800C76E0 000C4640 48 27 64 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C76E4 000C4644 7F A3 EB 78 */ mr r3, r29 lbl_800C76E8: /* 800C76E8 000C4648 E3 E1 03 A8 */ psq_l f31, 936(r1), 0, qr0 /* 800C76EC 000C464C CB E1 03 A0 */ lfd f31, 0x3a0(r1) /* 800C76F0 000C4650 E3 C1 03 98 */ psq_l f30, 920(r1), 0, qr0 /* 800C76F4 000C4654 CB C1 03 90 */ lfd f30, 0x390(r1) /* 800C76F8 000C4658 E3 A1 03 88 */ psq_l f29, 904(r1), 0, qr0 /* 800C76FC 000C465C CB A1 03 80 */ lfd f29, 0x380(r1) /* 800C7700 000C4660 E3 81 03 78 */ psq_l f28, 888(r1), 0, qr0 /* 800C7704 000C4664 CB 81 03 70 */ lfd f28, 0x370(r1) /* 800C7708 000C4668 83 E1 03 6C */ lwz r31, 0x36c(r1) /* 800C770C 000C466C 83 C1 03 68 */ lwz r30, 0x368(r1) /* 800C7710 000C4670 83 A1 03 64 */ lwz r29, 0x364(r1) /* 800C7714 000C4674 80 01 03 B4 */ lwz r0, 0x3b4(r1) /* 800C7718 000C4678 83 81 03 60 */ lwz r28, 0x360(r1) /* 800C771C 000C467C 7C 08 03 A6 */ mtlr r0 /* 800C7720 000C4680 38 21 03 B0 */ addi r1, r1, 0x3b0 /* 800C7724 000C4684 4E 80 00 20 */ blr .global LoadTryclops__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadTryclops__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C7728 000C4688 94 21 FC D0 */ stwu r1, -0x330(r1) /* 800C772C 000C468C 7C 08 02 A6 */ mflr r0 /* 800C7730 000C4690 90 01 03 34 */ stw r0, 0x334(r1) /* 800C7734 000C4694 DB E1 03 20 */ stfd f31, 0x320(r1) /* 800C7738 000C4698 F3 E1 03 28 */ psq_st f31, 808(r1), 0, qr0 /* 800C773C 000C469C DB C1 03 10 */ stfd f30, 0x310(r1) /* 800C7740 000C46A0 F3 C1 03 18 */ psq_st f30, 792(r1), 0, qr0 /* 800C7744 000C46A4 DB A1 03 00 */ stfd f29, 0x300(r1) /* 800C7748 000C46A8 F3 A1 03 08 */ psq_st f29, 776(r1), 0, qr0 /* 800C774C 000C46AC DB 81 02 F0 */ stfd f28, 0x2f0(r1) /* 800C7750 000C46B0 F3 81 02 F8 */ psq_st f28, 760(r1), 0, qr0 /* 800C7754 000C46B4 93 E1 02 EC */ stw r31, 0x2ec(r1) /* 800C7758 000C46B8 93 C1 02 E8 */ stw r30, 0x2e8(r1) /* 800C775C 000C46BC 93 A1 02 E4 */ stw r29, 0x2e4(r1) /* 800C7760 000C46C0 93 81 02 E0 */ stw r28, 0x2e0(r1) /* 800C7764 000C46C4 2C 05 00 0A */ cmpwi r5, 0xa /* 800C7768 000C46C8 7C 7D 1B 78 */ mr r29, r3 /* 800C776C 000C46CC 7C 9F 23 78 */ mr r31, r4 /* 800C7770 000C46D0 7C DE 33 78 */ mr r30, r6 /* 800C7774 000C46D4 41 82 00 0C */ beq lbl_800C7780 /* 800C7778 000C46D8 38 60 00 00 */ li r3, 0 /* 800C777C 000C46DC 48 00 01 AC */ b lbl_800C7928 lbl_800C7780: /* 800C7780 000C46E0 7F A5 EB 78 */ mr r5, r29 /* 800C7784 000C46E4 38 61 01 50 */ addi r3, r1, 0x150 /* 800C7788 000C46E8 48 01 2C F5 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C778C 000C46EC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C7790 000C46F0 7F E4 FB 78 */ mr r4, r31 /* 800C7794 000C46F4 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800C7798 000C46F8 38 61 00 10 */ addi r3, r1, 0x10 /* 800C779C 000C46FC 38 A5 00 47 */ addi r5, r5, 0x47 /* 800C77A0 000C4700 48 03 E0 89 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800C77A4 000C4704 88 01 00 10 */ lbz r0, 0x10(r1) /* 800C77A8 000C4708 80 A1 00 14 */ lwz r5, 0x14(r1) /* 800C77AC 000C470C 28 00 00 00 */ cmplwi r0, 0 /* 800C77B0 000C4710 40 82 00 14 */ bne lbl_800C77C4 /* 800C77B4 000C4714 38 61 01 50 */ addi r3, r1, 0x150 /* 800C77B8 000C4718 48 27 63 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C77BC 000C471C 38 60 00 00 */ li r3, 0 /* 800C77C0 000C4720 48 00 01 68 */ b lbl_800C7928 lbl_800C77C4: /* 800C77C4 000C4724 7F E4 FB 78 */ mr r4, r31 /* 800C77C8 000C4728 38 61 01 9C */ addi r3, r1, 0x19c /* 800C77CC 000C472C 48 03 E0 AD */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800C77D0 000C4730 80 61 02 88 */ lwz r3, 0x288(r1) /* 800C77D4 000C4734 3C 03 00 01 */ addis r0, r3, 1 /* 800C77D8 000C4738 28 00 FF FF */ cmplwi r0, 0xffff /* 800C77DC 000C473C 40 82 00 14 */ bne lbl_800C77F0 /* 800C77E0 000C4740 38 61 01 50 */ addi r3, r1, 0x150 /* 800C77E4 000C4744 48 27 62 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C77E8 000C4748 38 60 00 00 */ li r3, 0 /* 800C77EC 000C474C 48 00 01 3C */ b lbl_800C7928 lbl_800C77F0: /* 800C77F0 000C4750 7F E4 FB 78 */ mr r4, r31 /* 800C77F4 000C4754 38 61 00 80 */ addi r3, r1, 0x80 /* 800C77F8 000C4758 48 01 25 7D */ bl LoadActorParameters__FR12CInputStream /* 800C77FC 000C475C 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800C7800 000C4760 38 81 00 80 */ addi r4, r1, 0x80 /* 800C7804 000C4764 4B FF DE 19 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C7808 000C4768 38 61 00 80 */ addi r3, r1, 0x80 /* 800C780C 000C476C 38 80 FF FF */ li r4, -1 /* 800C7810 000C4770 48 03 ED F9 */ bl __dt__16CLightParametersFv /* 800C7814 000C4774 7F E3 FB 78 */ mr r3, r31 /* 800C7818 000C4778 48 27 74 11 */ bl ReadFloat__12CInputStreamFv /* 800C781C 000C477C FF E0 08 90 */ fmr f31, f1 /* 800C7820 000C4780 7F E3 FB 78 */ mr r3, r31 /* 800C7824 000C4784 48 27 74 05 */ bl ReadFloat__12CInputStreamFv /* 800C7828 000C4788 FF C0 08 90 */ fmr f30, f1 /* 800C782C 000C478C 7F E3 FB 78 */ mr r3, r31 /* 800C7830 000C4790 48 27 73 F9 */ bl ReadFloat__12CInputStreamFv /* 800C7834 000C4794 FF A0 08 90 */ fmr f29, f1 /* 800C7838 000C4798 7F E3 FB 78 */ mr r3, r31 /* 800C783C 000C479C 48 27 73 ED */ bl ReadFloat__12CInputStreamFv /* 800C7840 000C47A0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C7844 000C47A4 FF 80 08 90 */ fmr f28, f1 /* 800C7848 000C47A8 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l /* 800C784C 000C47AC 3B 80 00 00 */ li r28, 0 /* 800C7850 000C47B0 38 83 00 0D */ addi r4, r3, 0xd /* 800C7854 000C47B4 38 A0 00 00 */ li r5, 0 /* 800C7858 000C47B8 38 60 06 A0 */ li r3, 0x6a0 /* 800C785C 000C47BC 48 24 E0 11 */ bl __nw__FUlPCcPCc /* 800C7860 000C47C0 7C 7F 1B 79 */ or. r31, r3, r3 /* 800C7864 000C47C4 41 82 00 98 */ beq lbl_800C78FC /* 800C7868 000C47C8 80 E1 02 88 */ lwz r7, 0x288(r1) /* 800C786C 000C47CC 38 A0 00 01 */ li r5, 1 /* 800C7870 000C47D0 80 C1 02 8C */ lwz r6, 0x28c(r1) /* 800C7874 000C47D4 38 61 00 34 */ addi r3, r1, 0x34 /* 800C7878 000C47D8 C0 41 01 90 */ lfs f2, 0x190(r1) /* 800C787C 000C47DC 38 81 00 18 */ addi r4, r1, 0x18 /* 800C7880 000C47E0 C0 21 01 94 */ lfs f1, 0x194(r1) /* 800C7884 000C47E4 C0 01 01 98 */ lfs f0, 0x198(r1) /* 800C7888 000C47E8 80 01 02 90 */ lwz r0, 0x290(r1) /* 800C788C 000C47EC 90 E1 00 18 */ stw r7, 0x18(r1) /* 800C7890 000C47F0 90 C1 00 1C */ stw r6, 0x1c(r1) /* 800C7894 000C47F4 D0 41 00 20 */ stfs f2, 0x20(r1) /* 800C7898 000C47F8 D0 21 00 24 */ stfs f1, 0x24(r1) /* 800C789C 000C47FC D0 01 00 28 */ stfs f0, 0x28(r1) /* 800C78A0 000C4800 98 A1 00 2C */ stb r5, 0x2c(r1) /* 800C78A4 000C4804 90 01 00 30 */ stw r0, 0x30(r1) /* 800C78A8 000C4808 48 04 F2 AD */ bl __ct__10CModelDataFRC8CAnimRes /* 800C78AC 000C480C 7F A4 EB 78 */ mr r4, r29 /* 800C78B0 000C4810 38 61 00 08 */ addi r3, r1, 8 /* 800C78B4 000C4814 3B 80 00 01 */ li r28, 1 /* 800C78B8 000C4818 4B F8 58 25 */ bl AllocateUniqueId__13CStateManagerFv /* 800C78BC 000C481C A0 01 00 08 */ lhz r0, 8(r1) /* 800C78C0 000C4820 FC 20 F8 90 */ fmr f1, f31 /* 800C78C4 000C4824 FC 40 F0 90 */ fmr f2, f30 /* 800C78C8 000C4828 7F E3 FB 78 */ mr r3, r31 /* 800C78CC 000C482C FC 60 E8 90 */ fmr f3, f29 /* 800C78D0 000C4830 B0 01 00 0C */ sth r0, 0xc(r1) /* 800C78D4 000C4834 FC 80 E0 90 */ fmr f4, f28 /* 800C78D8 000C4838 7F C6 F3 78 */ mr r6, r30 /* 800C78DC 000C483C 38 81 00 0C */ addi r4, r1, 0xc /* 800C78E0 000C4840 38 A1 01 50 */ addi r5, r1, 0x150 /* 800C78E4 000C4844 38 E1 01 60 */ addi r7, r1, 0x160 /* 800C78E8 000C4848 39 01 00 34 */ addi r8, r1, 0x34 /* 800C78EC 000C484C 39 21 01 9C */ addi r9, r1, 0x19c /* 800C78F0 000C4850 39 41 00 E8 */ addi r10, r1, 0xe8 /* 800C78F4 000C4854 48 19 94 75 */ bl __ct__9CTryclops /* 800C78F8 000C4858 7C 7F 1B 78 */ mr r31, r3 lbl_800C78FC: /* 800C78FC 000C485C 7F 80 07 75 */ extsb. r0, r28 /* 800C7900 000C4860 41 82 00 10 */ beq lbl_800C7910 /* 800C7904 000C4864 38 61 00 34 */ addi r3, r1, 0x34 /* 800C7908 000C4868 38 80 FF FF */ li r4, -1 /* 800C790C 000C486C 48 04 F1 41 */ bl __dt__10CModelDataFv lbl_800C7910: /* 800C7910 000C4870 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800C7914 000C4874 38 80 FF FF */ li r4, -1 /* 800C7918 000C4878 48 03 EC F1 */ bl __dt__16CLightParametersFv /* 800C791C 000C487C 38 61 01 50 */ addi r3, r1, 0x150 /* 800C7920 000C4880 48 27 61 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C7924 000C4884 7F E3 FB 78 */ mr r3, r31 lbl_800C7928: /* 800C7928 000C4888 E3 E1 03 28 */ psq_l f31, 808(r1), 0, qr0 /* 800C792C 000C488C CB E1 03 20 */ lfd f31, 0x320(r1) /* 800C7930 000C4890 E3 C1 03 18 */ psq_l f30, 792(r1), 0, qr0 /* 800C7934 000C4894 CB C1 03 10 */ lfd f30, 0x310(r1) /* 800C7938 000C4898 E3 A1 03 08 */ psq_l f29, 776(r1), 0, qr0 /* 800C793C 000C489C CB A1 03 00 */ lfd f29, 0x300(r1) /* 800C7940 000C48A0 E3 81 02 F8 */ psq_l f28, 760(r1), 0, qr0 /* 800C7944 000C48A4 CB 81 02 F0 */ lfd f28, 0x2f0(r1) /* 800C7948 000C48A8 83 E1 02 EC */ lwz r31, 0x2ec(r1) /* 800C794C 000C48AC 83 C1 02 E8 */ lwz r30, 0x2e8(r1) /* 800C7950 000C48B0 83 A1 02 E4 */ lwz r29, 0x2e4(r1) /* 800C7954 000C48B4 80 01 03 34 */ lwz r0, 0x334(r1) /* 800C7958 000C48B8 83 81 02 E0 */ lwz r28, 0x2e0(r1) /* 800C795C 000C48BC 7C 08 03 A6 */ mtlr r0 /* 800C7960 000C48C0 38 21 03 30 */ addi r1, r1, 0x330 /* 800C7964 000C48C4 4E 80 00 20 */ blr .global LoadPuffer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadPuffer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C7968 000C48C8 94 21 FC 80 */ stwu r1, -0x380(r1) /* 800C796C 000C48CC 7C 08 02 A6 */ mflr r0 /* 800C7970 000C48D0 90 01 03 84 */ stw r0, 0x384(r1) /* 800C7974 000C48D4 DB E1 03 70 */ stfd f31, 0x370(r1) /* 800C7978 000C48D8 F3 E1 03 78 */ psq_st f31, 888(r1), 0, qr0 /* 800C797C 000C48DC DB C1 03 60 */ stfd f30, 0x360(r1) /* 800C7980 000C48E0 F3 C1 03 68 */ psq_st f30, 872(r1), 0, qr0 /* 800C7984 000C48E4 BE C1 03 38 */ stmw r22, 0x338(r1) /* 800C7988 000C48E8 2C 05 00 10 */ cmpwi r5, 0x10 /* 800C798C 000C48EC 7C 78 1B 78 */ mr r24, r3 /* 800C7990 000C48F0 7C 97 23 78 */ mr r23, r4 /* 800C7994 000C48F4 7C D9 33 78 */ mr r25, r6 /* 800C7998 000C48F8 41 82 00 0C */ beq lbl_800C79A4 /* 800C799C 000C48FC 38 60 00 00 */ li r3, 0 /* 800C79A0 000C4900 48 00 02 14 */ b lbl_800C7BB4 lbl_800C79A4: /* 800C79A4 000C4904 7F 05 C3 78 */ mr r5, r24 /* 800C79A8 000C4908 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 800C79AC 000C490C 48 01 2A D1 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C79B0 000C4910 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C79B4 000C4914 7E E4 BB 78 */ mr r4, r23 /* 800C79B8 000C4918 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800C79BC 000C491C 38 61 00 30 */ addi r3, r1, 0x30 /* 800C79C0 000C4920 38 A5 00 50 */ addi r5, r5, 0x50 /* 800C79C4 000C4924 48 03 DE 65 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800C79C8 000C4928 88 01 00 30 */ lbz r0, 0x30(r1) /* 800C79CC 000C492C 80 A1 00 34 */ lwz r5, 0x34(r1) /* 800C79D0 000C4930 28 00 00 00 */ cmplwi r0, 0 /* 800C79D4 000C4934 40 82 00 14 */ bne lbl_800C79E8 /* 800C79D8 000C4938 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 800C79DC 000C493C 48 27 61 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C79E0 000C4940 38 60 00 00 */ li r3, 0 /* 800C79E4 000C4944 48 00 01 D0 */ b lbl_800C7BB4 lbl_800C79E8: /* 800C79E8 000C4948 7E E4 BB 78 */ mr r4, r23 /* 800C79EC 000C494C 38 61 01 F4 */ addi r3, r1, 0x1f4 /* 800C79F0 000C4950 48 03 DE 89 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800C79F4 000C4954 80 61 02 E0 */ lwz r3, 0x2e0(r1) /* 800C79F8 000C4958 3C 03 00 01 */ addis r0, r3, 1 /* 800C79FC 000C495C 28 00 FF FF */ cmplwi r0, 0xffff /* 800C7A00 000C4960 40 82 00 14 */ bne lbl_800C7A14 /* 800C7A04 000C4964 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 800C7A08 000C4968 48 27 60 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C7A0C 000C496C 38 60 00 00 */ li r3, 0 /* 800C7A10 000C4970 48 00 01 A4 */ b lbl_800C7BB4 lbl_800C7A14: /* 800C7A14 000C4974 7E E4 BB 78 */ mr r4, r23 /* 800C7A18 000C4978 38 61 00 D8 */ addi r3, r1, 0xd8 /* 800C7A1C 000C497C 48 01 23 59 */ bl LoadActorParameters__FR12CInputStream /* 800C7A20 000C4980 38 61 01 40 */ addi r3, r1, 0x140 /* 800C7A24 000C4984 38 81 00 D8 */ addi r4, r1, 0xd8 /* 800C7A28 000C4988 4B FF DB F5 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C7A2C 000C498C 38 61 00 D8 */ addi r3, r1, 0xd8 /* 800C7A30 000C4990 38 80 FF FF */ li r4, -1 /* 800C7A34 000C4994 48 03 EB D5 */ bl __dt__16CLightParametersFv /* 800C7A38 000C4998 7E E3 BB 78 */ mr r3, r23 /* 800C7A3C 000C499C 48 27 71 ED */ bl ReadFloat__12CInputStreamFv /* 800C7A40 000C49A0 FF E0 08 90 */ fmr f31, f1 /* 800C7A44 000C49A4 7E E3 BB 78 */ mr r3, r23 /* 800C7A48 000C49A8 48 27 72 3D */ bl ReadLong__12CInputStreamFv /* 800C7A4C 000C49AC 7C 7B 1B 78 */ mr r27, r3 /* 800C7A50 000C49B0 7E E4 BB 78 */ mr r4, r23 /* 800C7A54 000C49B4 38 61 00 70 */ addi r3, r1, 0x70 /* 800C7A58 000C49B8 4B FF BB 09 */ bl __ct__11CDamageInfoFR12CInputStream /* 800C7A5C 000C49BC 7E E3 BB 78 */ mr r3, r23 /* 800C7A60 000C49C0 48 27 72 25 */ bl ReadLong__12CInputStreamFv /* 800C7A64 000C49C4 7C 7C 1B 78 */ mr r28, r3 /* 800C7A68 000C49C8 7E E3 BB 78 */ mr r3, r23 /* 800C7A6C 000C49CC 48 27 71 BD */ bl ReadFloat__12CInputStreamFv /* 800C7A70 000C49D0 FF C0 08 90 */ fmr f30, f1 /* 800C7A74 000C49D4 7E E3 BB 78 */ mr r3, r23 /* 800C7A78 000C49D8 48 27 72 65 */ bl ReadBool__12CInputStreamFv /* 800C7A7C 000C49DC 7C 7D 1B 78 */ mr r29, r3 /* 800C7A80 000C49E0 7E E3 BB 78 */ mr r3, r23 /* 800C7A84 000C49E4 48 27 72 59 */ bl ReadBool__12CInputStreamFv /* 800C7A88 000C49E8 7C 7E 1B 78 */ mr r30, r3 /* 800C7A8C 000C49EC 7E E3 BB 78 */ mr r3, r23 /* 800C7A90 000C49F0 48 27 72 4D */ bl ReadBool__12CInputStreamFv /* 800C7A94 000C49F4 7C 7F 1B 78 */ mr r31, r3 /* 800C7A98 000C49F8 7E E4 BB 78 */ mr r4, r23 /* 800C7A9C 000C49FC 38 61 00 54 */ addi r3, r1, 0x54 /* 800C7AA0 000C4A00 4B FF BA C1 */ bl __ct__11CDamageInfoFR12CInputStream /* 800C7AA4 000C4A04 7E E3 BB 78 */ mr r3, r23 /* 800C7AA8 000C4A08 48 27 71 DD */ bl ReadLong__12CInputStreamFv /* 800C7AAC 000C4A0C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800C7AB0 000C4A10 54 7A 04 3E */ clrlwi r26, r3, 0x10 /* 800C7AB4 000C4A14 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l /* 800C7AB8 000C4A18 3A C0 00 00 */ li r22, 0 /* 800C7ABC 000C4A1C 38 83 00 0D */ addi r4, r3, 0xd /* 800C7AC0 000C4A20 38 60 06 80 */ li r3, 0x680 /* 800C7AC4 000C4A24 38 A0 00 00 */ li r5, 0 /* 800C7AC8 000C4A28 48 24 DD A5 */ bl __nw__FUlPCcPCc /* 800C7ACC 000C4A2C 7C 77 1B 79 */ or. r23, r3, r3 /* 800C7AD0 000C4A30 41 82 00 B8 */ beq lbl_800C7B88 /* 800C7AD4 000C4A34 80 E1 02 E0 */ lwz r7, 0x2e0(r1) /* 800C7AD8 000C4A38 38 A0 00 01 */ li r5, 1 /* 800C7ADC 000C4A3C 80 C1 02 E4 */ lwz r6, 0x2e4(r1) /* 800C7AE0 000C4A40 38 61 00 8C */ addi r3, r1, 0x8c /* 800C7AE4 000C4A44 C0 41 01 E8 */ lfs f2, 0x1e8(r1) /* 800C7AE8 000C4A48 38 81 00 38 */ addi r4, r1, 0x38 /* 800C7AEC 000C4A4C C0 21 01 EC */ lfs f1, 0x1ec(r1) /* 800C7AF0 000C4A50 C0 01 01 F0 */ lfs f0, 0x1f0(r1) /* 800C7AF4 000C4A54 80 01 02 E8 */ lwz r0, 0x2e8(r1) /* 800C7AF8 000C4A58 90 E1 00 38 */ stw r7, 0x38(r1) /* 800C7AFC 000C4A5C 90 C1 00 3C */ stw r6, 0x3c(r1) /* 800C7B00 000C4A60 D0 41 00 40 */ stfs f2, 0x40(r1) /* 800C7B04 000C4A64 D0 21 00 44 */ stfs f1, 0x44(r1) /* 800C7B08 000C4A68 D0 01 00 48 */ stfs f0, 0x48(r1) /* 800C7B0C 000C4A6C 98 A1 00 4C */ stb r5, 0x4c(r1) /* 800C7B10 000C4A70 90 01 00 50 */ stw r0, 0x50(r1) /* 800C7B14 000C4A74 48 04 F0 41 */ bl __ct__10CModelDataFRC8CAnimRes /* 800C7B18 000C4A78 7F 04 C3 78 */ mr r4, r24 /* 800C7B1C 000C4A7C 38 61 00 28 */ addi r3, r1, 0x28 /* 800C7B20 000C4A80 3A C0 00 01 */ li r22, 1 /* 800C7B24 000C4A84 4B F8 55 B9 */ bl AllocateUniqueId__13CStateManagerFv /* 800C7B28 000C4A88 A0 61 00 28 */ lhz r3, 0x28(r1) /* 800C7B2C 000C4A8C 38 E1 00 70 */ addi r7, r1, 0x70 /* 800C7B30 000C4A90 38 01 00 54 */ addi r0, r1, 0x54 /* 800C7B34 000C4A94 FC 20 F8 90 */ fmr f1, f31 /* 800C7B38 000C4A98 B0 61 00 2C */ sth r3, 0x2c(r1) /* 800C7B3C 000C4A9C FC 40 F0 90 */ fmr f2, f30 /* 800C7B40 000C4AA0 7E E3 BB 78 */ mr r3, r23 /* 800C7B44 000C4AA4 7F 26 CB 78 */ mr r6, r25 /* 800C7B48 000C4AA8 93 61 00 08 */ stw r27, 8(r1) /* 800C7B4C 000C4AAC 38 81 00 2C */ addi r4, r1, 0x2c /* 800C7B50 000C4AB0 38 A1 01 A8 */ addi r5, r1, 0x1a8 /* 800C7B54 000C4AB4 90 E1 00 0C */ stw r7, 0xc(r1) /* 800C7B58 000C4AB8 38 E1 01 B8 */ addi r7, r1, 0x1b8 /* 800C7B5C 000C4ABC 39 01 00 8C */ addi r8, r1, 0x8c /* 800C7B60 000C4AC0 39 21 01 40 */ addi r9, r1, 0x140 /* 800C7B64 000C4AC4 93 81 00 10 */ stw r28, 0x10(r1) /* 800C7B68 000C4AC8 39 41 01 F4 */ addi r10, r1, 0x1f4 /* 800C7B6C 000C4ACC 93 A1 00 14 */ stw r29, 0x14(r1) /* 800C7B70 000C4AD0 93 C1 00 18 */ stw r30, 0x18(r1) /* 800C7B74 000C4AD4 93 E1 00 1C */ stw r31, 0x1c(r1) /* 800C7B78 000C4AD8 90 01 00 20 */ stw r0, 0x20(r1) /* 800C7B7C 000C4ADC 93 41 00 24 */ stw r26, 0x24(r1) /* 800C7B80 000C4AE0 48 19 4E 6D */ bl __ct__7CPuffer /* 800C7B84 000C4AE4 7C 77 1B 78 */ mr r23, r3 lbl_800C7B88: /* 800C7B88 000C4AE8 7E C0 07 75 */ extsb. r0, r22 /* 800C7B8C 000C4AEC 41 82 00 10 */ beq lbl_800C7B9C /* 800C7B90 000C4AF0 38 61 00 8C */ addi r3, r1, 0x8c /* 800C7B94 000C4AF4 38 80 FF FF */ li r4, -1 /* 800C7B98 000C4AF8 48 04 EE B5 */ bl __dt__10CModelDataFv lbl_800C7B9C: /* 800C7B9C 000C4AFC 38 61 01 40 */ addi r3, r1, 0x140 /* 800C7BA0 000C4B00 38 80 FF FF */ li r4, -1 /* 800C7BA4 000C4B04 48 03 EA 65 */ bl __dt__16CLightParametersFv /* 800C7BA8 000C4B08 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 800C7BAC 000C4B0C 48 27 5F 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C7BB0 000C4B10 7E E3 BB 78 */ mr r3, r23 lbl_800C7BB4: /* 800C7BB4 000C4B14 E3 E1 03 78 */ psq_l f31, 888(r1), 0, qr0 /* 800C7BB8 000C4B18 CB E1 03 70 */ lfd f31, 0x370(r1) /* 800C7BBC 000C4B1C E3 C1 03 68 */ psq_l f30, 872(r1), 0, qr0 /* 800C7BC0 000C4B20 CB C1 03 60 */ lfd f30, 0x360(r1) /* 800C7BC4 000C4B24 BA C1 03 38 */ lmw r22, 0x338(r1) /* 800C7BC8 000C4B28 80 01 03 84 */ lwz r0, 0x384(r1) /* 800C7BCC 000C4B2C 7C 08 03 A6 */ mtlr r0 /* 800C7BD0 000C4B30 38 21 03 80 */ addi r1, r1, 0x380 /* 800C7BD4 000C4B34 4E 80 00 20 */ blr .global LoadRidley__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadRidley__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C7BD8 000C4B38 94 21 FD 00 */ stwu r1, -0x300(r1) /* 800C7BDC 000C4B3C 7C 08 02 A6 */ mflr r0 /* 800C7BE0 000C4B40 90 01 03 04 */ stw r0, 0x304(r1) /* 800C7BE4 000C4B44 80 02 B9 08 */ lwz r0, lbl_805AD628@sda21(r2) /* 800C7BE8 000C4B48 BF 41 02 E8 */ stmw r26, 0x2e8(r1) /* 800C7BEC 000C4B4C 7C BE 2B 78 */ mr r30, r5 /* 800C7BF0 000C4B50 7C 1E 00 00 */ cmpw r30, r0 /* 800C7BF4 000C4B54 7C 7C 1B 78 */ mr r28, r3 /* 800C7BF8 000C4B58 7C 9D 23 78 */ mr r29, r4 /* 800C7BFC 000C4B5C 7C DF 33 78 */ mr r31, r6 /* 800C7C00 000C4B60 40 80 00 0C */ bge lbl_800C7C0C /* 800C7C04 000C4B64 38 60 00 00 */ li r3, 0 /* 800C7C08 000C4B68 48 00 01 80 */ b lbl_800C7D88 lbl_800C7C0C: /* 800C7C0C 000C4B6C 7F 85 E3 78 */ mr r5, r28 /* 800C7C10 000C4B70 38 61 01 58 */ addi r3, r1, 0x158 /* 800C7C14 000C4B74 48 01 28 69 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C7C18 000C4B78 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C7C1C 000C4B7C 7F A4 EB 78 */ mr r4, r29 /* 800C7C20 000C4B80 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800C7C24 000C4B84 38 61 00 18 */ addi r3, r1, 0x18 /* 800C7C28 000C4B88 38 A5 00 57 */ addi r5, r5, 0x57 /* 800C7C2C 000C4B8C 48 03 DB FD */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800C7C30 000C4B90 88 01 00 18 */ lbz r0, 0x18(r1) /* 800C7C34 000C4B94 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 800C7C38 000C4B98 28 00 00 00 */ cmplwi r0, 0 /* 800C7C3C 000C4B9C 40 82 00 14 */ bne lbl_800C7C50 /* 800C7C40 000C4BA0 38 61 01 58 */ addi r3, r1, 0x158 /* 800C7C44 000C4BA4 48 27 5E 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C7C48 000C4BA8 38 60 00 00 */ li r3, 0 /* 800C7C4C 000C4BAC 48 00 01 3C */ b lbl_800C7D88 lbl_800C7C50: /* 800C7C50 000C4BB0 7F A4 EB 78 */ mr r4, r29 /* 800C7C54 000C4BB4 38 61 01 A4 */ addi r3, r1, 0x1a4 /* 800C7C58 000C4BB8 48 03 DC 21 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800C7C5C 000C4BBC 7F A4 EB 78 */ mr r4, r29 /* 800C7C60 000C4BC0 38 61 00 88 */ addi r3, r1, 0x88 /* 800C7C64 000C4BC4 48 01 21 11 */ bl LoadActorParameters__FR12CInputStream /* 800C7C68 000C4BC8 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800C7C6C 000C4BCC 38 81 00 88 */ addi r4, r1, 0x88 /* 800C7C70 000C4BD0 4B FF D9 AD */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C7C74 000C4BD4 38 61 00 88 */ addi r3, r1, 0x88 /* 800C7C78 000C4BD8 38 80 FF FF */ li r4, -1 /* 800C7C7C 000C4BDC 48 03 E9 8D */ bl __dt__16CLightParametersFv /* 800C7C80 000C4BE0 80 61 02 90 */ lwz r3, 0x290(r1) /* 800C7C84 000C4BE4 3C 03 00 01 */ addis r0, r3, 1 /* 800C7C88 000C4BE8 28 00 FF FF */ cmplwi r0, 0xffff /* 800C7C8C 000C4BEC 40 82 00 20 */ bne lbl_800C7CAC /* 800C7C90 000C4BF0 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800C7C94 000C4BF4 38 80 FF FF */ li r4, -1 /* 800C7C98 000C4BF8 48 03 E9 71 */ bl __dt__16CLightParametersFv /* 800C7C9C 000C4BFC 38 61 01 58 */ addi r3, r1, 0x158 /* 800C7CA0 000C4C00 48 27 5E 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C7CA4 000C4C04 38 60 00 00 */ li r3, 0 /* 800C7CA8 000C4C08 48 00 00 E0 */ b lbl_800C7D88 lbl_800C7CAC: /* 800C7CAC 000C4C0C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C7CB0 000C4C10 3B 40 00 00 */ li r26, 0 /* 800C7CB4 000C4C14 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800C7CB8 000C4C18 38 60 0D 18 */ li r3, 0xd18 /* 800C7CBC 000C4C1C 38 84 00 0D */ addi r4, r4, 0xd /* 800C7CC0 000C4C20 38 A0 00 00 */ li r5, 0 /* 800C7CC4 000C4C24 48 24 DB A9 */ bl __nw__FUlPCcPCc /* 800C7CC8 000C4C28 7C 7B 1B 79 */ or. r27, r3, r3 /* 800C7CCC 000C4C2C 41 82 00 90 */ beq lbl_800C7D5C /* 800C7CD0 000C4C30 80 E1 02 90 */ lwz r7, 0x290(r1) /* 800C7CD4 000C4C34 38 A0 00 01 */ li r5, 1 /* 800C7CD8 000C4C38 80 C1 02 94 */ lwz r6, 0x294(r1) /* 800C7CDC 000C4C3C 38 61 00 3C */ addi r3, r1, 0x3c /* 800C7CE0 000C4C40 C0 41 01 98 */ lfs f2, 0x198(r1) /* 800C7CE4 000C4C44 38 81 00 20 */ addi r4, r1, 0x20 /* 800C7CE8 000C4C48 C0 21 01 9C */ lfs f1, 0x19c(r1) /* 800C7CEC 000C4C4C C0 01 01 A0 */ lfs f0, 0x1a0(r1) /* 800C7CF0 000C4C50 80 01 02 98 */ lwz r0, 0x298(r1) /* 800C7CF4 000C4C54 90 E1 00 20 */ stw r7, 0x20(r1) /* 800C7CF8 000C4C58 90 C1 00 24 */ stw r6, 0x24(r1) /* 800C7CFC 000C4C5C D0 41 00 28 */ stfs f2, 0x28(r1) /* 800C7D00 000C4C60 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 800C7D04 000C4C64 D0 01 00 30 */ stfs f0, 0x30(r1) /* 800C7D08 000C4C68 98 A1 00 34 */ stb r5, 0x34(r1) /* 800C7D0C 000C4C6C 90 01 00 38 */ stw r0, 0x38(r1) /* 800C7D10 000C4C70 48 04 EE 45 */ bl __ct__10CModelDataFRC8CAnimRes /* 800C7D14 000C4C74 7F 84 E3 78 */ mr r4, r28 /* 800C7D18 000C4C78 38 61 00 10 */ addi r3, r1, 0x10 /* 800C7D1C 000C4C7C 3B 40 00 01 */ li r26, 1 /* 800C7D20 000C4C80 4B F8 53 BD */ bl AllocateUniqueId__13CStateManagerFv /* 800C7D24 000C4C84 A0 01 00 10 */ lhz r0, 0x10(r1) /* 800C7D28 000C4C88 7F 63 DB 78 */ mr r3, r27 /* 800C7D2C 000C4C8C 7F E6 FB 78 */ mr r6, r31 /* 800C7D30 000C4C90 38 81 00 14 */ addi r4, r1, 0x14 /* 800C7D34 000C4C94 B0 01 00 14 */ sth r0, 0x14(r1) /* 800C7D38 000C4C98 38 A1 01 58 */ addi r5, r1, 0x158 /* 800C7D3C 000C4C9C 38 E1 01 68 */ addi r7, r1, 0x168 /* 800C7D40 000C4CA0 39 01 00 3C */ addi r8, r1, 0x3c /* 800C7D44 000C4CA4 93 A1 00 08 */ stw r29, 8(r1) /* 800C7D48 000C4CA8 39 21 01 A4 */ addi r9, r1, 0x1a4 /* 800C7D4C 000C4CAC 39 41 00 F0 */ addi r10, r1, 0xf0 /* 800C7D50 000C4CB0 93 C1 00 0C */ stw r30, 0xc(r1) /* 800C7D54 000C4CB4 48 19 1F D5 */ bl "__ct__7CRidleyF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CAABoxRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC12CInputStreamUi" /* 800C7D58 000C4CB8 7C 7B 1B 78 */ mr r27, r3 lbl_800C7D5C: /* 800C7D5C 000C4CBC 7F 40 07 75 */ extsb. r0, r26 /* 800C7D60 000C4CC0 41 82 00 10 */ beq lbl_800C7D70 /* 800C7D64 000C4CC4 38 61 00 3C */ addi r3, r1, 0x3c /* 800C7D68 000C4CC8 38 80 FF FF */ li r4, -1 /* 800C7D6C 000C4CCC 48 04 EC E1 */ bl __dt__10CModelDataFv lbl_800C7D70: /* 800C7D70 000C4CD0 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800C7D74 000C4CD4 38 80 FF FF */ li r4, -1 /* 800C7D78 000C4CD8 48 03 E8 91 */ bl __dt__16CLightParametersFv /* 800C7D7C 000C4CDC 38 61 01 58 */ addi r3, r1, 0x158 /* 800C7D80 000C4CE0 48 27 5D 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C7D84 000C4CE4 7F 63 DB 78 */ mr r3, r27 lbl_800C7D88: /* 800C7D88 000C4CE8 BB 41 02 E8 */ lmw r26, 0x2e8(r1) /* 800C7D8C 000C4CEC 80 01 03 04 */ lwz r0, 0x304(r1) /* 800C7D90 000C4CF0 7C 08 03 A6 */ mtlr r0 /* 800C7D94 000C4CF4 38 21 03 00 */ addi r1, r1, 0x300 /* 800C7D98 000C4CF8 4E 80 00 20 */ blr .global LoadIceZoomer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadIceZoomer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C7D9C 000C4CFC 94 21 FB B0 */ stwu r1, -0x450(r1) /* 800C7DA0 000C4D00 7C 08 02 A6 */ mflr r0 /* 800C7DA4 000C4D04 90 01 04 54 */ stw r0, 0x454(r1) /* 800C7DA8 000C4D08 DB E1 04 40 */ stfd f31, 0x440(r1) /* 800C7DAC 000C4D0C F3 E1 04 48 */ psq_st f31, 1096(r1), 0, qr0 /* 800C7DB0 000C4D10 DB C1 04 30 */ stfd f30, 0x430(r1) /* 800C7DB4 000C4D14 F3 C1 04 38 */ psq_st f30, 1080(r1), 0, qr0 /* 800C7DB8 000C4D18 DB A1 04 20 */ stfd f29, 0x420(r1) /* 800C7DBC 000C4D1C F3 A1 04 28 */ psq_st f29, 1064(r1), 0, qr0 /* 800C7DC0 000C4D20 DB 81 04 10 */ stfd f28, 0x410(r1) /* 800C7DC4 000C4D24 F3 81 04 18 */ psq_st f28, 1048(r1), 0, qr0 /* 800C7DC8 000C4D28 DB 61 04 00 */ stfd f27, 0x400(r1) /* 800C7DCC 000C4D2C F3 61 04 08 */ psq_st f27, 1032(r1), 0, qr0 /* 800C7DD0 000C4D30 DB 41 03 F0 */ stfd f26, 0x3f0(r1) /* 800C7DD4 000C4D34 F3 41 03 F8 */ psq_st f26, 1016(r1), 0, qr0 /* 800C7DD8 000C4D38 DB 21 03 E0 */ stfd f25, 0x3e0(r1) /* 800C7DDC 000C4D3C F3 21 03 E8 */ psq_st f25, 1000(r1), 0, qr0 /* 800C7DE0 000C4D40 BF 01 03 C0 */ stmw r24, 0x3c0(r1) /* 800C7DE4 000C4D44 2C 05 00 10 */ cmpwi r5, 0x10 /* 800C7DE8 000C4D48 7C 7B 1B 78 */ mr r27, r3 /* 800C7DEC 000C4D4C 7C 99 23 78 */ mr r25, r4 /* 800C7DF0 000C4D50 7C DC 33 78 */ mr r28, r6 /* 800C7DF4 000C4D54 41 82 00 0C */ beq lbl_800C7E00 /* 800C7DF8 000C4D58 38 60 00 00 */ li r3, 0 /* 800C7DFC 000C4D5C 48 00 02 DC */ b lbl_800C80D8 lbl_800C7E00: /* 800C7E00 000C4D60 7F 65 DB 78 */ mr r5, r27 /* 800C7E04 000C4D64 38 61 02 34 */ addi r3, r1, 0x234 /* 800C7E08 000C4D68 48 01 26 75 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C7E0C 000C4D6C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C7E10 000C4D70 7F 24 CB 78 */ mr r4, r25 /* 800C7E14 000C4D74 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800C7E18 000C4D78 38 61 00 70 */ addi r3, r1, 0x70 /* 800C7E1C 000C4D7C 38 A5 00 5E */ addi r5, r5, 0x5e /* 800C7E20 000C4D80 48 03 DA 09 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800C7E24 000C4D84 88 01 00 70 */ lbz r0, 0x70(r1) /* 800C7E28 000C4D88 80 A1 00 74 */ lwz r5, 0x74(r1) /* 800C7E2C 000C4D8C 28 00 00 00 */ cmplwi r0, 0 /* 800C7E30 000C4D90 40 82 00 14 */ bne lbl_800C7E44 /* 800C7E34 000C4D94 38 61 02 34 */ addi r3, r1, 0x234 /* 800C7E38 000C4D98 48 27 5C A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C7E3C 000C4D9C 38 60 00 00 */ li r3, 0 /* 800C7E40 000C4DA0 48 00 02 98 */ b lbl_800C80D8 lbl_800C7E44: /* 800C7E44 000C4DA4 7F 24 CB 78 */ mr r4, r25 /* 800C7E48 000C4DA8 38 61 02 80 */ addi r3, r1, 0x280 /* 800C7E4C 000C4DAC 48 03 DA 2D */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800C7E50 000C4DB0 7F 24 CB 78 */ mr r4, r25 /* 800C7E54 000C4DB4 38 61 00 FC */ addi r3, r1, 0xfc /* 800C7E58 000C4DB8 48 01 1F 1D */ bl LoadActorParameters__FR12CInputStream /* 800C7E5C 000C4DBC 38 61 01 CC */ addi r3, r1, 0x1cc /* 800C7E60 000C4DC0 38 81 00 FC */ addi r4, r1, 0xfc /* 800C7E64 000C4DC4 4B FF D7 B9 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C7E68 000C4DC8 38 61 00 FC */ addi r3, r1, 0xfc /* 800C7E6C 000C4DCC 38 80 FF FF */ li r4, -1 /* 800C7E70 000C4DD0 48 03 E7 99 */ bl __dt__16CLightParametersFv /* 800C7E74 000C4DD4 80 61 03 6C */ lwz r3, 0x36c(r1) /* 800C7E78 000C4DD8 3C 03 00 01 */ addis r0, r3, 1 /* 800C7E7C 000C4DDC 28 00 FF FF */ cmplwi r0, 0xffff /* 800C7E80 000C4DE0 40 82 00 20 */ bne lbl_800C7EA0 /* 800C7E84 000C4DE4 38 61 01 CC */ addi r3, r1, 0x1cc /* 800C7E88 000C4DE8 38 80 FF FF */ li r4, -1 /* 800C7E8C 000C4DEC 48 03 E7 7D */ bl __dt__16CLightParametersFv /* 800C7E90 000C4DF0 38 61 02 34 */ addi r3, r1, 0x234 /* 800C7E94 000C4DF4 48 27 5C 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C7E98 000C4DF8 38 60 00 00 */ li r3, 0 /* 800C7E9C 000C4DFC 48 00 02 3C */ b lbl_800C80D8 lbl_800C7EA0: /* 800C7EA0 000C4E00 7F 23 CB 78 */ mr r3, r25 /* 800C7EA4 000C4E04 48 27 6D 85 */ bl ReadFloat__12CInputStreamFv /* 800C7EA8 000C4E08 FF 80 08 90 */ fmr f28, f1 /* 800C7EAC 000C4E0C 7F 23 CB 78 */ mr r3, r25 /* 800C7EB0 000C4E10 48 27 6D 79 */ bl ReadFloat__12CInputStreamFv /* 800C7EB4 000C4E14 FF 60 08 90 */ fmr f27, f1 /* 800C7EB8 000C4E18 7F 23 CB 78 */ mr r3, r25 /* 800C7EBC 000C4E1C 48 27 6D 6D */ bl ReadFloat__12CInputStreamFv /* 800C7EC0 000C4E20 FF 40 08 90 */ fmr f26, f1 /* 800C7EC4 000C4E24 7F 23 CB 78 */ mr r3, r25 /* 800C7EC8 000C4E28 48 27 6D 61 */ bl ReadFloat__12CInputStreamFv /* 800C7ECC 000C4E2C FF 20 08 90 */ fmr f25, f1 /* 800C7ED0 000C4E30 7F 23 CB 78 */ mr r3, r25 /* 800C7ED4 000C4E34 48 27 6D 55 */ bl ReadFloat__12CInputStreamFv /* 800C7ED8 000C4E38 FF A0 08 90 */ fmr f29, f1 /* 800C7EDC 000C4E3C 7F 23 CB 78 */ mr r3, r25 /* 800C7EE0 000C4E40 48 27 6D 49 */ bl ReadFloat__12CInputStreamFv /* 800C7EE4 000C4E44 FF C0 08 90 */ fmr f30, f1 /* 800C7EE8 000C4E48 7F 23 CB 78 */ mr r3, r25 /* 800C7EEC 000C4E4C 48 27 6D 99 */ bl ReadLong__12CInputStreamFv /* 800C7EF0 000C4E50 7C 7E 1B 78 */ mr r30, r3 /* 800C7EF4 000C4E54 7F 23 CB 78 */ mr r3, r25 /* 800C7EF8 000C4E58 48 27 6D 8D */ bl ReadLong__12CInputStreamFv /* 800C7EFC 000C4E5C 7C 7F 1B 78 */ mr r31, r3 /* 800C7F00 000C4E60 7F 24 CB 78 */ mr r4, r25 /* 800C7F04 000C4E64 38 61 01 64 */ addi r3, r1, 0x164 /* 800C7F08 000C4E68 48 03 AC 51 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 800C7F0C 000C4E6C 7F 23 CB 78 */ mr r3, r25 /* 800C7F10 000C4E70 48 27 6D 19 */ bl ReadFloat__12CInputStreamFv /* 800C7F14 000C4E74 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C7F18 000C4E78 FF E0 08 90 */ fmr f31, f1 /* 800C7F1C 000C4E7C 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l /* 800C7F20 000C4E80 3B 00 00 00 */ li r24, 0 /* 800C7F24 000C4E84 38 83 00 0D */ addi r4, r3, 0xd /* 800C7F28 000C4E88 38 60 07 48 */ li r3, 0x748 /* 800C7F2C 000C4E8C 38 A0 00 00 */ li r5, 0 /* 800C7F30 000C4E90 48 24 D9 3D */ bl __nw__FUlPCcPCc /* 800C7F34 000C4E94 7C 7D 1B 79 */ or. r29, r3, r3 /* 800C7F38 000C4E98 41 82 01 74 */ beq lbl_800C80AC /* 800C7F3C 000C4E9C 39 40 00 00 */ li r10, 0 /* 800C7F40 000C4EA0 88 01 00 6C */ lbz r0, 0x6c(r1) /* 800C7F44 000C4EA4 51 40 3E 30 */ rlwimi r0, r10, 7, 0x18, 0x18 /* 800C7F48 000C4EA8 C0 62 8E 28 */ lfs f3, lbl_805AAB48@sda21(r2) /* 800C7F4C 000C4EAC 98 01 00 6C */ stb r0, 0x6c(r1) /* 800C7F50 000C4EB0 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 800C7F54 000C4EB4 51 40 36 72 */ rlwimi r0, r10, 6, 0x19, 0x19 /* 800C7F58 000C4EB8 89 01 00 AC */ lbz r8, 0xac(r1) /* 800C7F5C 000C4EBC 80 E1 03 6C */ lwz r7, 0x36c(r1) /* 800C7F60 000C4EC0 54 09 06 3E */ clrlwi r9, r0, 0x18 /* 800C7F64 000C4EC4 98 01 00 6C */ stb r0, 0x6c(r1) /* 800C7F68 000C4EC8 51 49 2E B4 */ rlwimi r9, r10, 5, 0x1a, 0x1a /* 800C7F6C 000C4ECC 80 C1 03 70 */ lwz r6, 0x370(r1) /* 800C7F70 000C4ED0 51 48 3E 30 */ rlwimi r8, r10, 7, 0x18, 0x18 /* 800C7F74 000C4ED4 C0 41 02 74 */ lfs f2, 0x274(r1) /* 800C7F78 000C4ED8 38 A0 00 01 */ li r5, 1 /* 800C7F7C 000C4EDC C0 21 02 78 */ lfs f1, 0x278(r1) /* 800C7F80 000C4EE0 38 61 00 B0 */ addi r3, r1, 0xb0 /* 800C7F84 000C4EE4 C0 01 02 7C */ lfs f0, 0x27c(r1) /* 800C7F88 000C4EE8 38 81 00 78 */ addi r4, r1, 0x78 /* 800C7F8C 000C4EEC 80 01 03 74 */ lwz r0, 0x374(r1) /* 800C7F90 000C4EF0 91 41 00 68 */ stw r10, 0x68(r1) /* 800C7F94 000C4EF4 99 21 00 6C */ stb r9, 0x6c(r1) /* 800C7F98 000C4EF8 91 41 00 94 */ stw r10, 0x94(r1) /* 800C7F9C 000C4EFC 99 21 00 98 */ stb r9, 0x98(r1) /* 800C7FA0 000C4F00 D0 61 00 9C */ stfs f3, 0x9c(r1) /* 800C7FA4 000C4F04 D0 61 00 A0 */ stfs f3, 0xa0(r1) /* 800C7FA8 000C4F08 D0 61 00 A4 */ stfs f3, 0xa4(r1) /* 800C7FAC 000C4F0C D0 61 00 A8 */ stfs f3, 0xa8(r1) /* 800C7FB0 000C4F10 99 01 00 AC */ stb r8, 0xac(r1) /* 800C7FB4 000C4F14 90 E1 00 78 */ stw r7, 0x78(r1) /* 800C7FB8 000C4F18 90 C1 00 7C */ stw r6, 0x7c(r1) /* 800C7FBC 000C4F1C D0 41 00 80 */ stfs f2, 0x80(r1) /* 800C7FC0 000C4F20 D0 21 00 84 */ stfs f1, 0x84(r1) /* 800C7FC4 000C4F24 D0 01 00 88 */ stfs f0, 0x88(r1) /* 800C7FC8 000C4F28 98 A1 00 8C */ stb r5, 0x8c(r1) /* 800C7FCC 000C4F2C 90 01 00 90 */ stw r0, 0x90(r1) /* 800C7FD0 000C4F30 48 04 EB 85 */ bl __ct__10CModelDataFRC8CAnimRes /* 800C7FD4 000C4F34 7F 64 DB 78 */ mr r4, r27 /* 800C7FD8 000C4F38 38 61 00 60 */ addi r3, r1, 0x60 /* 800C7FDC 000C4F3C 3B 00 00 01 */ li r24, 1 /* 800C7FE0 000C4F40 4B F8 50 FD */ bl AllocateUniqueId__13CStateManagerFv /* 800C7FE4 000C4F44 A0 61 00 60 */ lhz r3, 0x60(r1) /* 800C7FE8 000C4F48 38 00 00 06 */ li r0, 6 /* 800C7FEC 000C4F4C C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800C7FF0 000C4F50 3B 40 00 00 */ li r26, 0 /* 800C7FF4 000C4F54 B0 61 00 64 */ sth r3, 0x64(r1) /* 800C7FF8 000C4F58 3B 60 00 03 */ li r27, 3 /* 800C7FFC 000C4F5C C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800C8000 000C4F60 39 81 01 64 */ addi r12, r1, 0x164 /* 800C8004 000C4F64 90 01 00 08 */ stw r0, 8(r1) /* 800C8008 000C4F68 39 61 00 94 */ addi r11, r1, 0x94 /* 800C800C 000C4F6C A3 22 C5 FC */ lhz r25, kInternalInvalidSfxId__11CSfxManager@sda21(r2) /* 800C8010 000C4F70 FC 40 E0 90 */ fmr f2, f28 /* 800C8014 000C4F74 D0 21 00 0C */ stfs f1, 0xc(r1) /* 800C8018 000C4F78 FC 60 D8 90 */ fmr f3, f27 /* 800C801C 000C4F7C 38 01 01 CC */ addi r0, r1, 0x1cc /* 800C8020 000C4F80 FC 80 D0 90 */ fmr f4, f26 /* 800C8024 000C4F84 D0 21 00 10 */ stfs f1, 0x10(r1) /* 800C8028 000C4F88 FC A0 C8 90 */ fmr f5, f25 /* 800C802C 000C4F8C C0 C2 8E 30 */ lfs f6, lbl_805AAB50@sda21(r2) /* 800C8030 000C4F90 D0 21 00 14 */ stfs f1, 0x14(r1) /* 800C8034 000C4F94 FD 00 08 90 */ fmr f8, f1 /* 800C8038 000C4F98 C0 E2 8E 34 */ lfs f7, lbl_805AAB54@sda21(r2) /* 800C803C 000C4F9C 7F A3 EB 78 */ mr r3, r29 /* 800C8040 000C4FA0 D0 21 00 18 */ stfs f1, 0x18(r1) /* 800C8044 000C4FA4 7F 87 E3 78 */ mr r7, r28 /* 800C8048 000C4FA8 38 81 00 64 */ addi r4, r1, 0x64 /* 800C804C 000C4FAC 38 A1 02 34 */ addi r5, r1, 0x234 /* 800C8050 000C4FB0 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 800C8054 000C4FB4 39 01 02 44 */ addi r8, r1, 0x244 /* 800C8058 000C4FB8 39 21 00 B0 */ addi r9, r1, 0xb0 /* 800C805C 000C4FBC 39 41 02 80 */ addi r10, r1, 0x280 /* 800C8060 000C4FC0 D3 C1 00 20 */ stfs f30, 0x20(r1) /* 800C8064 000C4FC4 38 C0 00 00 */ li r6, 0 /* 800C8068 000C4FC8 D0 21 00 24 */ stfs f1, 0x24(r1) /* 800C806C 000C4FCC D0 21 00 28 */ stfs f1, 0x28(r1) /* 800C8070 000C4FD0 D3 A1 00 2C */ stfs f29, 0x2c(r1) /* 800C8074 000C4FD4 D0 21 00 30 */ stfs f1, 0x30(r1) /* 800C8078 000C4FD8 93 41 00 34 */ stw r26, 0x34(r1) /* 800C807C 000C4FDC 93 61 00 38 */ stw r27, 0x38(r1) /* 800C8080 000C4FE0 91 81 00 3C */ stw r12, 0x3c(r1) /* 800C8084 000C4FE4 91 61 00 40 */ stw r11, 0x40(r1) /* 800C8088 000C4FE8 93 21 00 44 */ stw r25, 0x44(r1) /* 800C808C 000C4FEC 93 21 00 48 */ stw r25, 0x48(r1) /* 800C8090 000C4FF0 93 21 00 4C */ stw r25, 0x4c(r1) /* 800C8094 000C4FF4 93 C1 00 50 */ stw r30, 0x50(r1) /* 800C8098 000C4FF8 93 E1 00 54 */ stw r31, 0x54(r1) /* 800C809C 000C4FFC D3 E1 00 58 */ stfs f31, 0x58(r1) /* 800C80A0 000C5000 90 01 00 5C */ stw r0, 0x5c(r1) /* 800C80A4 000C5004 48 09 23 C1 */ bl "__ct__9CParasiteF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfo9EBodyTypefffffffffffffffffbUiRC10Something1RC10Something2UsUsUsUiUifRC16CActorParameters" /* 800C80A8 000C5008 7C 7D 1B 78 */ mr r29, r3 lbl_800C80AC: /* 800C80AC 000C500C 7F 00 07 75 */ extsb. r0, r24 /* 800C80B0 000C5010 41 82 00 10 */ beq lbl_800C80C0 /* 800C80B4 000C5014 38 61 00 B0 */ addi r3, r1, 0xb0 /* 800C80B8 000C5018 38 80 FF FF */ li r4, -1 /* 800C80BC 000C501C 48 04 E9 91 */ bl __dt__10CModelDataFv lbl_800C80C0: /* 800C80C0 000C5020 38 61 01 CC */ addi r3, r1, 0x1cc /* 800C80C4 000C5024 38 80 FF FF */ li r4, -1 /* 800C80C8 000C5028 48 03 E5 41 */ bl __dt__16CLightParametersFv /* 800C80CC 000C502C 38 61 02 34 */ addi r3, r1, 0x234 /* 800C80D0 000C5030 48 27 5A 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C80D4 000C5034 7F A3 EB 78 */ mr r3, r29 lbl_800C80D8: /* 800C80D8 000C5038 E3 E1 04 48 */ psq_l f31, 1096(r1), 0, qr0 /* 800C80DC 000C503C CB E1 04 40 */ lfd f31, 0x440(r1) /* 800C80E0 000C5040 E3 C1 04 38 */ psq_l f30, 1080(r1), 0, qr0 /* 800C80E4 000C5044 CB C1 04 30 */ lfd f30, 0x430(r1) /* 800C80E8 000C5048 E3 A1 04 28 */ psq_l f29, 1064(r1), 0, qr0 /* 800C80EC 000C504C CB A1 04 20 */ lfd f29, 0x420(r1) /* 800C80F0 000C5050 E3 81 04 18 */ psq_l f28, 1048(r1), 0, qr0 /* 800C80F4 000C5054 CB 81 04 10 */ lfd f28, 0x410(r1) /* 800C80F8 000C5058 E3 61 04 08 */ psq_l f27, 1032(r1), 0, qr0 /* 800C80FC 000C505C CB 61 04 00 */ lfd f27, 0x400(r1) /* 800C8100 000C5060 E3 41 03 F8 */ psq_l f26, 1016(r1), 0, qr0 /* 800C8104 000C5064 CB 41 03 F0 */ lfd f26, 0x3f0(r1) /* 800C8108 000C5068 E3 21 03 E8 */ psq_l f25, 1000(r1), 0, qr0 /* 800C810C 000C506C CB 21 03 E0 */ lfd f25, 0x3e0(r1) /* 800C8110 000C5070 BB 01 03 C0 */ lmw r24, 0x3c0(r1) /* 800C8114 000C5074 80 01 04 54 */ lwz r0, 0x454(r1) /* 800C8118 000C5078 7C 08 03 A6 */ mtlr r0 /* 800C811C 000C507C 38 21 04 50 */ addi r1, r1, 0x450 /* 800C8120 000C5080 4E 80 00 20 */ blr .global LoadAtomicBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadAtomicBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C8124 000C5084 94 21 FB F0 */ stwu r1, -0x410(r1) /* 800C8128 000C5088 7C 08 02 A6 */ mflr r0 /* 800C812C 000C508C 90 01 04 14 */ stw r0, 0x414(r1) /* 800C8130 000C5090 DB E1 04 00 */ stfd f31, 0x400(r1) /* 800C8134 000C5094 F3 E1 04 08 */ psq_st f31, 1032(r1), 0, qr0 /* 800C8138 000C5098 DB C1 03 F0 */ stfd f30, 0x3f0(r1) /* 800C813C 000C509C F3 C1 03 F8 */ psq_st f30, 1016(r1), 0, qr0 /* 800C8140 000C50A0 DB A1 03 E0 */ stfd f29, 0x3e0(r1) /* 800C8144 000C50A4 F3 A1 03 E8 */ psq_st f29, 1000(r1), 0, qr0 /* 800C8148 000C50A8 DB 81 03 D0 */ stfd f28, 0x3d0(r1) /* 800C814C 000C50AC F3 81 03 D8 */ psq_st f28, 984(r1), 0, qr0 /* 800C8150 000C50B0 DB 61 03 C0 */ stfd f27, 0x3c0(r1) /* 800C8154 000C50B4 F3 61 03 C8 */ psq_st f27, 968(r1), 0, qr0 /* 800C8158 000C50B8 DB 41 03 B0 */ stfd f26, 0x3b0(r1) /* 800C815C 000C50BC F3 41 03 B8 */ psq_st f26, 952(r1), 0, qr0 /* 800C8160 000C50C0 DB 21 03 A0 */ stfd f25, 0x3a0(r1) /* 800C8164 000C50C4 F3 21 03 A8 */ psq_st f25, 936(r1), 0, qr0 /* 800C8168 000C50C8 BE C1 03 78 */ stmw r22, 0x378(r1) /* 800C816C 000C50CC 2C 05 00 15 */ cmpwi r5, 0x15 /* 800C8170 000C50D0 7C 78 1B 78 */ mr r24, r3 /* 800C8174 000C50D4 7C 97 23 78 */ mr r23, r4 /* 800C8178 000C50D8 7C D9 33 78 */ mr r25, r6 /* 800C817C 000C50DC 41 82 00 0C */ beq lbl_800C8188 /* 800C8180 000C50E0 38 60 00 00 */ li r3, 0 /* 800C8184 000C50E4 48 00 02 64 */ b lbl_800C83E8 lbl_800C8188: /* 800C8188 000C50E8 7F 05 C3 78 */ mr r5, r24 /* 800C818C 000C50EC 38 61 01 F4 */ addi r3, r1, 0x1f4 /* 800C8190 000C50F0 48 01 22 ED */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C8194 000C50F4 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C8198 000C50F8 7E E4 BB 78 */ mr r4, r23 /* 800C819C 000C50FC 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800C81A0 000C5100 38 61 00 30 */ addi r3, r1, 0x30 /* 800C81A4 000C5104 38 A5 00 68 */ addi r5, r5, 0x68 /* 800C81A8 000C5108 48 03 D6 81 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800C81AC 000C510C 88 01 00 30 */ lbz r0, 0x30(r1) /* 800C81B0 000C5110 80 A1 00 34 */ lwz r5, 0x34(r1) /* 800C81B4 000C5114 28 00 00 00 */ cmplwi r0, 0 /* 800C81B8 000C5118 40 82 00 14 */ bne lbl_800C81CC /* 800C81BC 000C511C 38 61 01 F4 */ addi r3, r1, 0x1f4 /* 800C81C0 000C5120 48 27 59 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C81C4 000C5124 38 60 00 00 */ li r3, 0 /* 800C81C8 000C5128 48 00 02 20 */ b lbl_800C83E8 lbl_800C81CC: /* 800C81CC 000C512C 7E E4 BB 78 */ mr r4, r23 /* 800C81D0 000C5130 38 61 02 40 */ addi r3, r1, 0x240 /* 800C81D4 000C5134 48 03 D6 A5 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800C81D8 000C5138 80 61 03 2C */ lwz r3, 0x32c(r1) /* 800C81DC 000C513C 3C 03 00 01 */ addis r0, r3, 1 /* 800C81E0 000C5140 28 00 FF FF */ cmplwi r0, 0xffff /* 800C81E4 000C5144 40 82 00 14 */ bne lbl_800C81F8 /* 800C81E8 000C5148 38 61 01 F4 */ addi r3, r1, 0x1f4 /* 800C81EC 000C514C 48 27 58 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C81F0 000C5150 38 60 00 00 */ li r3, 0 /* 800C81F4 000C5154 48 00 01 F4 */ b lbl_800C83E8 lbl_800C81F8: /* 800C81F8 000C5158 7E E4 BB 78 */ mr r4, r23 /* 800C81FC 000C515C 38 61 00 BC */ addi r3, r1, 0xbc /* 800C8200 000C5160 48 01 1B 75 */ bl LoadActorParameters__FR12CInputStream /* 800C8204 000C5164 38 61 01 8C */ addi r3, r1, 0x18c /* 800C8208 000C5168 38 81 00 BC */ addi r4, r1, 0xbc /* 800C820C 000C516C 4B FF D4 11 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C8210 000C5170 38 61 00 BC */ addi r3, r1, 0xbc /* 800C8214 000C5174 38 80 FF FF */ li r4, -1 /* 800C8218 000C5178 48 03 E3 F1 */ bl __dt__16CLightParametersFv /* 800C821C 000C517C 7E E3 BB 78 */ mr r3, r23 /* 800C8220 000C5180 48 27 6A 65 */ bl ReadLong__12CInputStreamFv /* 800C8224 000C5184 7C 7D 1B 78 */ mr r29, r3 /* 800C8228 000C5188 7E E3 BB 78 */ mr r3, r23 /* 800C822C 000C518C 48 27 6A 59 */ bl ReadLong__12CInputStreamFv /* 800C8230 000C5190 7C 7E 1B 78 */ mr r30, r3 /* 800C8234 000C5194 7E E4 BB 78 */ mr r4, r23 /* 800C8238 000C5198 38 61 00 54 */ addi r3, r1, 0x54 /* 800C823C 000C519C 4B FF B3 25 */ bl __ct__11CDamageInfoFR12CInputStream /* 800C8240 000C51A0 7E E3 BB 78 */ mr r3, r23 /* 800C8244 000C51A4 48 27 6A 41 */ bl ReadLong__12CInputStreamFv /* 800C8248 000C51A8 7C 7F 1B 78 */ mr r31, r3 /* 800C824C 000C51AC 7E E3 BB 78 */ mr r3, r23 /* 800C8250 000C51B0 48 27 69 D9 */ bl ReadFloat__12CInputStreamFv /* 800C8254 000C51B4 FF E0 08 90 */ fmr f31, f1 /* 800C8258 000C51B8 7E E3 BB 78 */ mr r3, r23 /* 800C825C 000C51BC 48 27 69 CD */ bl ReadFloat__12CInputStreamFv /* 800C8260 000C51C0 FF C0 08 90 */ fmr f30, f1 /* 800C8264 000C51C4 7E E3 BB 78 */ mr r3, r23 /* 800C8268 000C51C8 48 27 69 C1 */ bl ReadFloat__12CInputStreamFv /* 800C826C 000C51CC FF A0 08 90 */ fmr f29, f1 /* 800C8270 000C51D0 7E E4 BB 78 */ mr r4, r23 /* 800C8274 000C51D4 38 61 01 24 */ addi r3, r1, 0x124 /* 800C8278 000C51D8 48 03 A8 E1 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 800C827C 000C51DC 7E E3 BB 78 */ mr r3, r23 /* 800C8280 000C51E0 48 27 69 A9 */ bl ReadFloat__12CInputStreamFv /* 800C8284 000C51E4 FF 80 08 90 */ fmr f28, f1 /* 800C8288 000C51E8 7E E3 BB 78 */ mr r3, r23 /* 800C828C 000C51EC 48 27 69 9D */ bl ReadFloat__12CInputStreamFv /* 800C8290 000C51F0 FF 60 08 90 */ fmr f27, f1 /* 800C8294 000C51F4 7E E3 BB 78 */ mr r3, r23 /* 800C8298 000C51F8 48 27 69 91 */ bl ReadFloat__12CInputStreamFv /* 800C829C 000C51FC FF 40 08 90 */ fmr f26, f1 /* 800C82A0 000C5200 7E E3 BB 78 */ mr r3, r23 /* 800C82A4 000C5204 48 27 69 E1 */ bl ReadLong__12CInputStreamFv /* 800C82A8 000C5208 54 7C 04 3E */ clrlwi r28, r3, 0x10 /* 800C82AC 000C520C 7E E3 BB 78 */ mr r3, r23 /* 800C82B0 000C5210 48 27 69 D5 */ bl ReadLong__12CInputStreamFv /* 800C82B4 000C5214 54 7B 04 3E */ clrlwi r27, r3, 0x10 /* 800C82B8 000C5218 7E E3 BB 78 */ mr r3, r23 /* 800C82BC 000C521C 48 27 69 C9 */ bl ReadLong__12CInputStreamFv /* 800C82C0 000C5220 54 7A 04 3E */ clrlwi r26, r3, 0x10 /* 800C82C4 000C5224 7E E3 BB 78 */ mr r3, r23 /* 800C82C8 000C5228 48 27 69 61 */ bl ReadFloat__12CInputStreamFv /* 800C82CC 000C522C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C82D0 000C5230 FF 20 08 90 */ fmr f25, f1 /* 800C82D4 000C5234 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l /* 800C82D8 000C5238 3A C0 00 00 */ li r22, 0 /* 800C82DC 000C523C 38 83 00 0D */ addi r4, r3, 0xd /* 800C82E0 000C5240 38 A0 00 00 */ li r5, 0 /* 800C82E4 000C5244 38 60 06 58 */ li r3, 0x658 /* 800C82E8 000C5248 48 24 D5 85 */ bl __nw__FUlPCcPCc /* 800C82EC 000C524C 7C 77 1B 79 */ or. r23, r3, r3 /* 800C82F0 000C5250 41 82 00 CC */ beq lbl_800C83BC /* 800C82F4 000C5254 80 E1 03 2C */ lwz r7, 0x32c(r1) /* 800C82F8 000C5258 38 A0 00 01 */ li r5, 1 /* 800C82FC 000C525C 80 C1 03 30 */ lwz r6, 0x330(r1) /* 800C8300 000C5260 38 61 00 70 */ addi r3, r1, 0x70 /* 800C8304 000C5264 C0 41 02 34 */ lfs f2, 0x234(r1) /* 800C8308 000C5268 38 81 00 38 */ addi r4, r1, 0x38 /* 800C830C 000C526C C0 21 02 38 */ lfs f1, 0x238(r1) /* 800C8310 000C5270 C0 01 02 3C */ lfs f0, 0x23c(r1) /* 800C8314 000C5274 80 01 03 34 */ lwz r0, 0x334(r1) /* 800C8318 000C5278 90 E1 00 38 */ stw r7, 0x38(r1) /* 800C831C 000C527C 90 C1 00 3C */ stw r6, 0x3c(r1) /* 800C8320 000C5280 D0 41 00 40 */ stfs f2, 0x40(r1) /* 800C8324 000C5284 D0 21 00 44 */ stfs f1, 0x44(r1) /* 800C8328 000C5288 D0 01 00 48 */ stfs f0, 0x48(r1) /* 800C832C 000C528C 98 A1 00 4C */ stb r5, 0x4c(r1) /* 800C8330 000C5290 90 01 00 50 */ stw r0, 0x50(r1) /* 800C8334 000C5294 48 04 E8 21 */ bl __ct__10CModelDataFRC8CAnimRes /* 800C8338 000C5298 7F 04 C3 78 */ mr r4, r24 /* 800C833C 000C529C 38 61 00 28 */ addi r3, r1, 0x28 /* 800C8340 000C52A0 3A C0 00 01 */ li r22, 1 /* 800C8344 000C52A4 4B F8 4D 99 */ bl AllocateUniqueId__13CStateManagerFv /* 800C8348 000C52A8 A0 61 00 28 */ lhz r3, 0x28(r1) /* 800C834C 000C52AC 38 A1 00 54 */ addi r5, r1, 0x54 /* 800C8350 000C52B0 38 01 01 24 */ addi r0, r1, 0x124 /* 800C8354 000C52B4 FC 20 F8 90 */ fmr f1, f31 /* 800C8358 000C52B8 B0 61 00 2C */ sth r3, 0x2c(r1) /* 800C835C 000C52BC FC 40 F0 90 */ fmr f2, f30 /* 800C8360 000C52C0 FC 60 C8 90 */ fmr f3, f25 /* 800C8364 000C52C4 7E E3 BB 78 */ mr r3, r23 /* 800C8368 000C52C8 93 A1 00 08 */ stw r29, 8(r1) /* 800C836C 000C52CC FC 80 E8 90 */ fmr f4, f29 /* 800C8370 000C52D0 7F 26 CB 78 */ mr r6, r25 /* 800C8374 000C52D4 93 C1 00 0C */ stw r30, 0xc(r1) /* 800C8378 000C52D8 FC A0 E0 90 */ fmr f5, f28 /* 800C837C 000C52DC 38 81 00 2C */ addi r4, r1, 0x2c /* 800C8380 000C52E0 90 A1 00 10 */ stw r5, 0x10(r1) /* 800C8384 000C52E4 FC C0 D8 90 */ fmr f6, f27 /* 800C8388 000C52E8 38 A1 01 F4 */ addi r5, r1, 0x1f4 /* 800C838C 000C52EC 93 E1 00 14 */ stw r31, 0x14(r1) /* 800C8390 000C52F0 FC E0 D0 90 */ fmr f7, f26 /* 800C8394 000C52F4 38 E1 02 04 */ addi r7, r1, 0x204 /* 800C8398 000C52F8 90 01 00 18 */ stw r0, 0x18(r1) /* 800C839C 000C52FC 39 01 00 70 */ addi r8, r1, 0x70 /* 800C83A0 000C5300 39 21 01 8C */ addi r9, r1, 0x18c /* 800C83A4 000C5304 93 81 00 1C */ stw r28, 0x1c(r1) /* 800C83A8 000C5308 39 41 02 40 */ addi r10, r1, 0x240 /* 800C83AC 000C530C 93 61 00 20 */ stw r27, 0x20(r1) /* 800C83B0 000C5310 93 41 00 24 */ stw r26, 0x24(r1) /* 800C83B4 000C5314 48 18 94 79 */ bl __ct__11CAtomicBeta /* 800C83B8 000C5318 7C 77 1B 78 */ mr r23, r3 lbl_800C83BC: /* 800C83BC 000C531C 7E C0 07 75 */ extsb. r0, r22 /* 800C83C0 000C5320 41 82 00 10 */ beq lbl_800C83D0 /* 800C83C4 000C5324 38 61 00 70 */ addi r3, r1, 0x70 /* 800C83C8 000C5328 38 80 FF FF */ li r4, -1 /* 800C83CC 000C532C 48 04 E6 81 */ bl __dt__10CModelDataFv lbl_800C83D0: /* 800C83D0 000C5330 38 61 01 8C */ addi r3, r1, 0x18c /* 800C83D4 000C5334 38 80 FF FF */ li r4, -1 /* 800C83D8 000C5338 48 03 E2 31 */ bl __dt__16CLightParametersFv /* 800C83DC 000C533C 38 61 01 F4 */ addi r3, r1, 0x1f4 /* 800C83E0 000C5340 48 27 57 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C83E4 000C5344 7E E3 BB 78 */ mr r3, r23 lbl_800C83E8: /* 800C83E8 000C5348 E3 E1 04 08 */ psq_l f31, 1032(r1), 0, qr0 /* 800C83EC 000C534C CB E1 04 00 */ lfd f31, 0x400(r1) /* 800C83F0 000C5350 E3 C1 03 F8 */ psq_l f30, 1016(r1), 0, qr0 /* 800C83F4 000C5354 CB C1 03 F0 */ lfd f30, 0x3f0(r1) /* 800C83F8 000C5358 E3 A1 03 E8 */ psq_l f29, 1000(r1), 0, qr0 /* 800C83FC 000C535C CB A1 03 E0 */ lfd f29, 0x3e0(r1) /* 800C8400 000C5360 E3 81 03 D8 */ psq_l f28, 984(r1), 0, qr0 /* 800C8404 000C5364 CB 81 03 D0 */ lfd f28, 0x3d0(r1) /* 800C8408 000C5368 E3 61 03 C8 */ psq_l f27, 968(r1), 0, qr0 /* 800C840C 000C536C CB 61 03 C0 */ lfd f27, 0x3c0(r1) /* 800C8410 000C5370 E3 41 03 B8 */ psq_l f26, 952(r1), 0, qr0 /* 800C8414 000C5374 CB 41 03 B0 */ lfd f26, 0x3b0(r1) /* 800C8418 000C5378 E3 21 03 A8 */ psq_l f25, 936(r1), 0, qr0 /* 800C841C 000C537C CB 21 03 A0 */ lfd f25, 0x3a0(r1) /* 800C8420 000C5380 BA C1 03 78 */ lmw r22, 0x378(r1) /* 800C8424 000C5384 80 01 04 14 */ lwz r0, 0x414(r1) /* 800C8428 000C5388 7C 08 03 A6 */ mtlr r0 /* 800C842C 000C538C 38 21 04 10 */ addi r1, r1, 0x410 /* 800C8430 000C5390 4E 80 00 20 */ blr .global LoadAmbientAI__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadAmbientAI__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C8434 000C5394 94 21 FC E0 */ stwu r1, -0x320(r1) /* 800C8438 000C5398 7C 08 02 A6 */ mflr r0 /* 800C843C 000C539C 90 01 03 24 */ stw r0, 0x324(r1) /* 800C8440 000C53A0 DB E1 03 10 */ stfd f31, 0x310(r1) /* 800C8444 000C53A4 F3 E1 03 18 */ psq_st f31, 792(r1), 0, qr0 /* 800C8448 000C53A8 DB C1 03 00 */ stfd f30, 0x300(r1) /* 800C844C 000C53AC F3 C1 03 08 */ psq_st f30, 776(r1), 0, qr0 /* 800C8450 000C53B0 DB A1 02 F0 */ stfd f29, 0x2f0(r1) /* 800C8454 000C53B4 F3 A1 02 F8 */ psq_st f29, 760(r1), 0, qr0 /* 800C8458 000C53B8 BE C1 02 C8 */ stmw r22, 0x2c8(r1) /* 800C845C 000C53BC 2C 05 00 10 */ cmpwi r5, 0x10 /* 800C8460 000C53C0 7C 77 1B 78 */ mr r23, r3 /* 800C8464 000C53C4 7C 96 23 78 */ mr r22, r4 /* 800C8468 000C53C8 7C D8 33 78 */ mr r24, r6 /* 800C846C 000C53CC 41 82 00 0C */ beq lbl_800C8478 /* 800C8470 000C53D0 38 60 00 00 */ li r3, 0 /* 800C8474 000C53D4 48 00 03 70 */ b lbl_800C87E4 lbl_800C8478: /* 800C8478 000C53D8 7E E5 BB 78 */ mr r5, r23 /* 800C847C 000C53DC 38 61 02 7C */ addi r3, r1, 0x27c /* 800C8480 000C53E0 48 01 1F FD */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C8484 000C53E4 7E C4 B3 78 */ mr r4, r22 /* 800C8488 000C53E8 38 61 00 58 */ addi r3, r1, 0x58 /* 800C848C 000C53EC 48 24 C7 01 */ bl __ct__9CVector3fFR12CInputStream /* 800C8490 000C53F0 7E C4 B3 78 */ mr r4, r22 /* 800C8494 000C53F4 38 61 00 4C */ addi r3, r1, 0x4c /* 800C8498 000C53F8 48 24 C6 F5 */ bl __ct__9CVector3fFR12CInputStream /* 800C849C 000C53FC 7E C3 B3 78 */ mr r3, r22 /* 800C84A0 000C5400 48 27 67 89 */ bl ReadFloat__12CInputStreamFv /* 800C84A4 000C5404 FF E0 08 90 */ fmr f31, f1 /* 800C84A8 000C5408 7E C4 B3 78 */ mr r4, r22 /* 800C84AC 000C540C 38 61 00 38 */ addi r3, r1, 0x38 /* 800C84B0 000C5410 48 10 B3 95 */ bl __ct__11CHealthInfoFR12CInputStream /* 800C84B4 000C5414 7E C4 B3 78 */ mr r4, r22 /* 800C84B8 000C5418 38 61 02 14 */ addi r3, r1, 0x214 /* 800C84BC 000C541C 48 03 A6 9D */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 800C84C0 000C5420 7E C4 B3 78 */ mr r4, r22 /* 800C84C4 000C5424 38 61 00 40 */ addi r3, r1, 0x40 /* 800C84C8 000C5428 48 01 1F 45 */ bl LoadAnimationParameters__FR12CInputStream /* 800C84CC 000C542C 83 81 00 40 */ lwz r28, 0x40(r1) /* 800C84D0 000C5430 7E C4 B3 78 */ mr r4, r22 /* 800C84D4 000C5434 83 61 00 44 */ lwz r27, 0x44(r1) /* 800C84D8 000C5438 38 61 00 F8 */ addi r3, r1, 0xf8 /* 800C84DC 000C543C 83 41 00 48 */ lwz r26, 0x48(r1) /* 800C84E0 000C5440 48 01 18 95 */ bl LoadActorParameters__FR12CInputStream /* 800C84E4 000C5444 38 61 01 AC */ addi r3, r1, 0x1ac /* 800C84E8 000C5448 38 81 00 F8 */ addi r4, r1, 0xf8 /* 800C84EC 000C544C 4B FF D1 31 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C84F0 000C5450 38 61 00 F8 */ addi r3, r1, 0xf8 /* 800C84F4 000C5454 38 80 FF FF */ li r4, -1 /* 800C84F8 000C5458 48 03 E1 11 */ bl __dt__16CLightParametersFv /* 800C84FC 000C545C 7E C3 B3 78 */ mr r3, r22 /* 800C8500 000C5460 48 27 67 29 */ bl ReadFloat__12CInputStreamFv /* 800C8504 000C5464 FF C0 08 90 */ fmr f30, f1 /* 800C8508 000C5468 7E C3 B3 78 */ mr r3, r22 /* 800C850C 000C546C 48 27 67 1D */ bl ReadFloat__12CInputStreamFv /* 800C8510 000C5470 FF A0 08 90 */ fmr f29, f1 /* 800C8514 000C5474 7E C3 B3 78 */ mr r3, r22 /* 800C8518 000C5478 48 27 67 6D */ bl ReadLong__12CInputStreamFv /* 800C851C 000C547C 7C 7D 1B 78 */ mr r29, r3 /* 800C8520 000C5480 7E C3 B3 78 */ mr r3, r22 /* 800C8524 000C5484 48 27 67 61 */ bl ReadLong__12CInputStreamFv /* 800C8528 000C5488 7C 7E 1B 78 */ mr r30, r3 /* 800C852C 000C548C 7E C3 B3 78 */ mr r3, r22 /* 800C8530 000C5490 48 27 67 AD */ bl ReadBool__12CInputStreamFv /* 800C8534 000C5494 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800C8538 000C5498 7C 7F 1B 78 */ mr r31, r3 /* 800C853C 000C549C 7F 84 E3 78 */ mr r4, r28 /* 800C8540 000C54A0 38 65 00 04 */ addi r3, r5, 4 /* 800C8544 000C54A4 48 27 37 89 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800C8548 000C54A8 28 03 00 00 */ cmplwi r3, 0 /* 800C854C 000C54AC 40 82 00 20 */ bne lbl_800C856C /* 800C8550 000C54B0 38 61 01 AC */ addi r3, r1, 0x1ac /* 800C8554 000C54B4 38 80 FF FF */ li r4, -1 /* 800C8558 000C54B8 48 03 E0 B1 */ bl __dt__16CLightParametersFv /* 800C855C 000C54BC 38 61 02 7C */ addi r3, r1, 0x27c /* 800C8560 000C54C0 48 27 55 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C8564 000C54C4 38 60 00 00 */ li r3, 0 /* 800C8568 000C54C8 48 00 02 7C */ b lbl_800C87E4 lbl_800C856C: /* 800C856C 000C54CC 80 18 00 00 */ lwz r0, 0(r24) /* 800C8570 000C54D0 3B 21 02 8C */ addi r25, r1, 0x28c /* 800C8574 000C54D4 7E E4 BB 78 */ mr r4, r23 /* 800C8578 000C54D8 38 61 00 98 */ addi r3, r1, 0x98 /* 800C857C 000C54DC 90 01 00 28 */ stw r0, 0x28(r1) /* 800C8580 000C54E0 38 A1 00 2C */ addi r5, r1, 0x2c /* 800C8584 000C54E4 38 C1 00 58 */ addi r6, r1, 0x58 /* 800C8588 000C54E8 38 E1 00 4C */ addi r7, r1, 0x4c /* 800C858C 000C54EC 90 01 00 2C */ stw r0, 0x2c(r1) /* 800C8590 000C54F0 48 01 21 8D */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f /* 800C8594 000C54F4 C0 A1 00 98 */ lfs f5, 0x98(r1) /* 800C8598 000C54F8 38 00 00 00 */ li r0, 0 /* 800C859C 000C54FC C0 81 00 9C */ lfs f4, 0x9c(r1) /* 800C85A0 000C5500 38 60 00 00 */ li r3, 0 /* 800C85A4 000C5504 C0 61 00 A0 */ lfs f3, 0xa0(r1) /* 800C85A8 000C5508 38 80 00 01 */ li r4, 1 /* 800C85AC 000C550C C0 41 00 A4 */ lfs f2, 0xa4(r1) /* 800C85B0 000C5510 C0 21 00 A8 */ lfs f1, 0xa8(r1) /* 800C85B4 000C5514 C0 01 00 AC */ lfs f0, 0xac(r1) /* 800C85B8 000C5518 80 AD 86 FC */ lwz r5, lbl_805A72BC@sda21(r13) /* 800C85BC 000C551C D0 A1 00 B0 */ stfs f5, 0xb0(r1) /* 800C85C0 000C5520 D0 81 00 B4 */ stfs f4, 0xb4(r1) /* 800C85C4 000C5524 D0 61 00 B8 */ stfs f3, 0xb8(r1) /* 800C85C8 000C5528 D0 41 00 BC */ stfs f2, 0xbc(r1) /* 800C85CC 000C552C D0 21 00 C0 */ stfs f1, 0xc0(r1) /* 800C85D0 000C5530 D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 800C85D4 000C5534 90 01 00 34 */ stw r0, 0x34(r1) /* 800C85D8 000C5538 90 01 00 30 */ stw r0, 0x30(r1) /* 800C85DC 000C553C 48 2C 19 19 */ bl __shl2i /* 800C85E0 000C5540 80 01 00 30 */ lwz r0, 0x30(r1) /* 800C85E4 000C5544 80 C1 00 34 */ lwz r6, 0x34(r1) /* 800C85E8 000C5548 7C 00 1B 78 */ or r0, r0, r3 /* 800C85EC 000C554C 80 AD 87 00 */ lwz r5, lbl_805A72C0@sda21(r13) /* 800C85F0 000C5550 7C C4 23 78 */ or r4, r6, r4 /* 800C85F4 000C5554 90 01 00 30 */ stw r0, 0x30(r1) /* 800C85F8 000C5558 38 60 00 00 */ li r3, 0 /* 800C85FC 000C555C 90 81 00 34 */ stw r4, 0x34(r1) /* 800C8600 000C5560 38 80 00 01 */ li r4, 1 /* 800C8604 000C5564 48 2C 18 F1 */ bl __shl2i /* 800C8608 000C5568 80 01 00 30 */ lwz r0, 0x30(r1) /* 800C860C 000C556C 80 A1 00 34 */ lwz r5, 0x34(r1) /* 800C8610 000C5570 7C 00 1B 78 */ or r0, r0, r3 /* 800C8614 000C5574 C0 01 00 58 */ lfs f0, 0x58(r1) /* 800C8618 000C5578 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800C861C 000C557C 7C A3 23 78 */ or r3, r5, r4 /* 800C8620 000C5580 90 61 00 34 */ stw r3, 0x34(r1) /* 800C8624 000C5584 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800C8628 000C5588 90 01 00 30 */ stw r0, 0x30(r1) /* 800C862C 000C558C 40 80 00 0C */ bge lbl_800C8638 /* 800C8630 000C5590 3A C0 00 01 */ li r22, 1 /* 800C8634 000C5594 48 00 00 30 */ b lbl_800C8664 lbl_800C8638: /* 800C8638 000C5598 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 800C863C 000C559C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800C8640 000C55A0 40 80 00 0C */ bge lbl_800C864C /* 800C8644 000C55A4 3A C0 00 01 */ li r22, 1 /* 800C8648 000C55A8 48 00 00 1C */ b lbl_800C8664 lbl_800C864C: /* 800C864C 000C55AC C0 01 00 60 */ lfs f0, 0x60(r1) /* 800C8650 000C55B0 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800C8654 000C55B4 40 80 00 0C */ bge lbl_800C8660 /* 800C8658 000C55B8 3A C0 00 01 */ li r22, 1 /* 800C865C 000C55BC 48 00 00 08 */ b lbl_800C8664 lbl_800C8660: /* 800C8660 000C55C0 3A C0 00 00 */ li r22, 0 lbl_800C8664: /* 800C8664 000C55C4 C0 41 02 BC */ lfs f2, 0x2bc(r1) /* 800C8668 000C55C8 38 00 00 01 */ li r0, 1 /* 800C866C 000C55CC C0 21 02 C0 */ lfs f1, 0x2c0(r1) /* 800C8670 000C55D0 38 61 01 60 */ addi r3, r1, 0x160 /* 800C8674 000C55D4 C0 01 02 C4 */ lfs f0, 0x2c4(r1) /* 800C8678 000C55D8 38 81 00 7C */ addi r4, r1, 0x7c /* 800C867C 000C55DC 93 81 00 7C */ stw r28, 0x7c(r1) /* 800C8680 000C55E0 93 61 00 80 */ stw r27, 0x80(r1) /* 800C8684 000C55E4 D0 41 00 84 */ stfs f2, 0x84(r1) /* 800C8688 000C55E8 D0 21 00 88 */ stfs f1, 0x88(r1) /* 800C868C 000C55EC D0 01 00 8C */ stfs f0, 0x8c(r1) /* 800C8690 000C55F0 98 01 00 90 */ stb r0, 0x90(r1) /* 800C8694 000C55F4 93 41 00 94 */ stw r26, 0x94(r1) /* 800C8698 000C55F8 48 04 E4 BD */ bl __ct__10CModelDataFRC8CAnimRes /* 800C869C 000C55FC 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 800C86A0 000C5600 C0 21 00 58 */ lfs f1, 0x58(r1) /* 800C86A4 000C5604 C4 03 66 A0 */ lfsu f0, sZeroVector__9CVector3f@l(r3) /* 800C86A8 000C5608 38 00 00 00 */ li r0, 0 /* 800C86AC 000C560C FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800C86B0 000C5610 40 82 00 28 */ bne lbl_800C86D8 /* 800C86B4 000C5614 C0 21 00 5C */ lfs f1, 0x5c(r1) /* 800C86B8 000C5618 C0 03 00 04 */ lfs f0, 4(r3) /* 800C86BC 000C561C FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800C86C0 000C5620 40 82 00 18 */ bne lbl_800C86D8 /* 800C86C4 000C5624 C0 21 00 60 */ lfs f1, 0x60(r1) /* 800C86C8 000C5628 C0 03 00 08 */ lfs f0, 8(r3) /* 800C86CC 000C562C FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800C86D0 000C5630 40 82 00 08 */ bne lbl_800C86D8 /* 800C86D4 000C5634 38 00 00 01 */ li r0, 1 lbl_800C86D8: /* 800C86D8 000C5638 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800C86DC 000C563C 40 82 00 0C */ bne lbl_800C86E8 /* 800C86E0 000C5640 56 C0 06 3F */ clrlwi. r0, r22, 0x18 /* 800C86E4 000C5644 41 82 00 50 */ beq lbl_800C8734 lbl_800C86E8: /* 800C86E8 000C5648 7F 24 CB 78 */ mr r4, r25 /* 800C86EC 000C564C 38 61 00 C8 */ addi r3, r1, 0xc8 /* 800C86F0 000C5650 48 24 A5 51 */ bl GetRotation__12CTransform4fCFv /* 800C86F4 000C5654 38 61 00 64 */ addi r3, r1, 0x64 /* 800C86F8 000C5658 38 81 01 60 */ addi r4, r1, 0x160 /* 800C86FC 000C565C 38 A1 00 C8 */ addi r5, r1, 0xc8 /* 800C8700 000C5660 48 04 D0 B5 */ bl GetBounds__10CModelDataCFRC12CTransform4f /* 800C8704 000C5664 80 E1 00 64 */ lwz r7, 0x64(r1) /* 800C8708 000C5668 80 C1 00 68 */ lwz r6, 0x68(r1) /* 800C870C 000C566C 80 A1 00 6C */ lwz r5, 0x6c(r1) /* 800C8710 000C5670 80 81 00 70 */ lwz r4, 0x70(r1) /* 800C8714 000C5674 80 61 00 74 */ lwz r3, 0x74(r1) /* 800C8718 000C5678 80 01 00 78 */ lwz r0, 0x78(r1) /* 800C871C 000C567C 90 E1 00 B0 */ stw r7, 0xb0(r1) /* 800C8720 000C5680 90 C1 00 B4 */ stw r6, 0xb4(r1) /* 800C8724 000C5684 90 A1 00 B8 */ stw r5, 0xb8(r1) /* 800C8728 000C5688 90 81 00 BC */ stw r4, 0xbc(r1) /* 800C872C 000C568C 90 61 00 C0 */ stw r3, 0xc0(r1) /* 800C8730 000C5690 90 01 00 C4 */ stw r0, 0xc4(r1) lbl_800C8734: /* 800C8734 000C5694 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800C8738 000C5698 38 60 02 F0 */ li r3, 0x2f0 /* 800C873C 000C569C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800C8740 000C56A0 38 A0 00 00 */ li r5, 0 /* 800C8744 000C56A4 38 84 00 0D */ addi r4, r4, 0xd /* 800C8748 000C56A8 48 24 D1 25 */ bl __nw__FUlPCcPCc /* 800C874C 000C56AC 7C 76 1B 79 */ or. r22, r3, r3 /* 800C8750 000C56B0 41 82 00 70 */ beq lbl_800C87C0 /* 800C8754 000C56B4 7E E4 BB 78 */ mr r4, r23 /* 800C8758 000C56B8 38 61 00 20 */ addi r3, r1, 0x20 /* 800C875C 000C56BC 4B F8 49 81 */ bl AllocateUniqueId__13CStateManagerFv /* 800C8760 000C56C0 A0 61 00 20 */ lhz r3, 0x20(r1) /* 800C8764 000C56C4 38 A1 00 38 */ addi r5, r1, 0x38 /* 800C8768 000C56C8 38 81 02 14 */ addi r4, r1, 0x214 /* 800C876C 000C56CC 38 01 01 AC */ addi r0, r1, 0x1ac /* 800C8770 000C56D0 B0 61 00 24 */ sth r3, 0x24(r1) /* 800C8774 000C56D4 FC 20 F8 90 */ fmr f1, f31 /* 800C8778 000C56D8 FC 40 F0 90 */ fmr f2, f30 /* 800C877C 000C56DC 7E C3 B3 78 */ mr r3, r22 /* 800C8780 000C56E0 90 A1 00 08 */ stw r5, 8(r1) /* 800C8784 000C56E4 FC 60 E8 90 */ fmr f3, f29 /* 800C8788 000C56E8 7F 06 C3 78 */ mr r6, r24 /* 800C878C 000C56EC 90 81 00 0C */ stw r4, 0xc(r1) /* 800C8790 000C56F0 7F 27 CB 78 */ mr r7, r25 /* 800C8794 000C56F4 38 81 00 24 */ addi r4, r1, 0x24 /* 800C8798 000C56F8 90 01 00 10 */ stw r0, 0x10(r1) /* 800C879C 000C56FC 38 A1 02 7C */ addi r5, r1, 0x27c /* 800C87A0 000C5700 39 01 01 60 */ addi r8, r1, 0x160 /* 800C87A4 000C5704 39 21 00 B0 */ addi r9, r1, 0xb0 /* 800C87A8 000C5708 93 A1 00 14 */ stw r29, 0x14(r1) /* 800C87AC 000C570C 39 41 00 30 */ addi r10, r1, 0x30 /* 800C87B0 000C5710 93 C1 00 18 */ stw r30, 0x18(r1) /* 800C87B4 000C5714 93 E1 00 1C */ stw r31, 0x1c(r1) /* 800C87B8 000C5718 48 18 38 49 */ bl __ct__10CAmbientAI /* 800C87BC 000C571C 7C 76 1B 78 */ mr r22, r3 lbl_800C87C0: /* 800C87C0 000C5720 38 61 01 60 */ addi r3, r1, 0x160 /* 800C87C4 000C5724 38 80 FF FF */ li r4, -1 /* 800C87C8 000C5728 48 04 E2 85 */ bl __dt__10CModelDataFv /* 800C87CC 000C572C 38 61 01 AC */ addi r3, r1, 0x1ac /* 800C87D0 000C5730 38 80 FF FF */ li r4, -1 /* 800C87D4 000C5734 48 03 DE 35 */ bl __dt__16CLightParametersFv /* 800C87D8 000C5738 38 61 02 7C */ addi r3, r1, 0x27c /* 800C87DC 000C573C 48 27 53 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C87E0 000C5740 7E C3 B3 78 */ mr r3, r22 lbl_800C87E4: /* 800C87E4 000C5744 E3 E1 03 18 */ psq_l f31, 792(r1), 0, qr0 /* 800C87E8 000C5748 CB E1 03 10 */ lfd f31, 0x310(r1) /* 800C87EC 000C574C E3 C1 03 08 */ psq_l f30, 776(r1), 0, qr0 /* 800C87F0 000C5750 CB C1 03 00 */ lfd f30, 0x300(r1) /* 800C87F4 000C5754 E3 A1 02 F8 */ psq_l f29, 760(r1), 0, qr0 /* 800C87F8 000C5758 CB A1 02 F0 */ lfd f29, 0x2f0(r1) /* 800C87FC 000C575C BA C1 02 C8 */ lmw r22, 0x2c8(r1) /* 800C8800 000C5760 80 01 03 24 */ lwz r0, 0x324(r1) /* 800C8804 000C5764 7C 08 03 A6 */ mtlr r0 /* 800C8808 000C5768 38 21 03 20 */ addi r1, r1, 0x320 /* 800C880C 000C576C 4E 80 00 20 */ blr .global LoadRumbleEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadRumbleEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C8810 000C5770 94 21 FF 00 */ stwu r1, -0x100(r1) /* 800C8814 000C5774 7C 08 02 A6 */ mflr r0 /* 800C8818 000C5778 90 01 01 04 */ stw r0, 0x104(r1) /* 800C881C 000C577C DB E1 00 F0 */ stfd f31, 0xf0(r1) /* 800C8820 000C5780 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 /* 800C8824 000C5784 BF 01 00 D0 */ stmw r24, 0xd0(r1) /* 800C8828 000C5788 2C 05 00 06 */ cmpwi r5, 6 /* 800C882C 000C578C 7C 7B 1B 78 */ mr r27, r3 /* 800C8830 000C5790 7C 98 23 78 */ mr r24, r4 /* 800C8834 000C5794 7C DA 33 78 */ mr r26, r6 /* 800C8838 000C5798 41 82 00 0C */ beq lbl_800C8844 /* 800C883C 000C579C 38 60 00 00 */ li r3, 0 /* 800C8840 000C57A0 48 00 01 C8 */ b lbl_800C8A08 lbl_800C8844: /* 800C8844 000C57A4 4B F7 C9 A1 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800C8848 000C57A8 7C 64 1B 78 */ mr r4, r3 /* 800C884C 000C57AC 38 61 00 5C */ addi r3, r1, 0x5c /* 800C8850 000C57B0 48 27 59 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800C8854 000C57B4 7F 04 C3 78 */ mr r4, r24 /* 800C8858 000C57B8 38 61 00 50 */ addi r3, r1, 0x50 /* 800C885C 000C57BC 48 24 C3 31 */ bl __ct__9CVector3fFR12CInputStream /* 800C8860 000C57C0 7F 03 C3 78 */ mr r3, r24 /* 800C8864 000C57C4 48 27 64 79 */ bl ReadBool__12CInputStreamFv /* 800C8868 000C57C8 7C 7D 1B 78 */ mr r29, r3 /* 800C886C 000C57CC 7F 03 C3 78 */ mr r3, r24 /* 800C8870 000C57D0 48 27 63 B9 */ bl ReadFloat__12CInputStreamFv /* 800C8874 000C57D4 FF E0 08 90 */ fmr f31, f1 /* 800C8878 000C57D8 7F 03 C3 78 */ mr r3, r24 /* 800C887C 000C57DC 48 27 64 09 */ bl ReadLong__12CInputStreamFv /* 800C8880 000C57E0 7C 7E 1B 78 */ mr r30, r3 /* 800C8884 000C57E4 7F 03 C3 78 */ mr r3, r24 /* 800C8888 000C57E8 48 01 13 75 */ bl LoadParameterFlags__FR12CInputStream /* 800C888C 000C57EC 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800C8890 000C57F0 7C 7F 1B 78 */ mr r31, r3 /* 800C8894 000C57F4 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l /* 800C8898 000C57F8 3B 20 00 00 */ li r25, 0 /* 800C889C 000C57FC 38 83 00 0D */ addi r4, r3, 0xd /* 800C88A0 000C5800 38 60 01 F8 */ li r3, 0x1f8 /* 800C88A4 000C5804 38 A0 00 00 */ li r5, 0 /* 800C88A8 000C5808 48 24 CF C5 */ bl __nw__FUlPCcPCc /* 800C88AC 000C580C 7C 7C 1B 79 */ or. r28, r3, r3 /* 800C88B0 000C5810 41 82 01 3C */ beq lbl_800C89EC /* 800C88B4 000C5814 88 01 00 3C */ lbz r0, 0x3c(r1) /* 800C88B8 000C5818 38 C0 00 00 */ li r6, 0 /* 800C88BC 000C581C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 800C88C0 000C5820 C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) /* 800C88C4 000C5824 98 01 00 3C */ stb r0, 0x3c(r1) /* 800C88C8 000C5828 54 04 06 3E */ clrlwi r4, r0, 0x18 /* 800C88CC 000C582C 50 C4 36 72 */ rlwimi r4, r6, 6, 0x19, 0x19 /* 800C88D0 000C5830 38 E0 FF FF */ li r7, -1 /* 800C88D4 000C5834 88 01 00 84 */ lbz r0, 0x84(r1) /* 800C88D8 000C5838 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 800C88DC 000C583C 54 85 06 3E */ clrlwi r5, r4, 0x18 /* 800C88E0 000C5840 98 81 00 3C */ stb r4, 0x3c(r1) /* 800C88E4 000C5844 50 C5 2E B4 */ rlwimi r5, r6, 5, 0x1a, 0x1a /* 800C88E8 000C5848 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C88EC 000C584C 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800C88F0 000C5850 90 E1 00 38 */ stw r7, 0x38(r1) /* 800C88F4 000C5854 38 61 00 40 */ addi r3, r1, 0x40 /* 800C88F8 000C5858 98 A1 00 3C */ stb r5, 0x3c(r1) /* 800C88FC 000C585C 38 84 00 74 */ addi r4, r4, 0x74 /* 800C8900 000C5860 90 E1 00 6C */ stw r7, 0x6c(r1) /* 800C8904 000C5864 98 A1 00 70 */ stb r5, 0x70(r1) /* 800C8908 000C5868 D0 01 00 74 */ stfs f0, 0x74(r1) /* 800C890C 000C586C D0 01 00 78 */ stfs f0, 0x78(r1) /* 800C8910 000C5870 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 800C8914 000C5874 D0 01 00 80 */ stfs f0, 0x80(r1) /* 800C8918 000C5878 98 01 00 84 */ stb r0, 0x84(r1) /* 800C891C 000C587C 4B F3 C3 9D */ bl string_l__4rstlFPCc /* 800C8920 000C5880 7F 64 DB 78 */ mr r4, r27 /* 800C8924 000C5884 38 61 00 30 */ addi r3, r1, 0x30 /* 800C8928 000C5888 3B 20 00 01 */ li r25, 1 /* 800C892C 000C588C 4B F8 47 B1 */ bl AllocateUniqueId__13CStateManagerFv /* 800C8930 000C5890 A0 01 00 30 */ lhz r0, 0x30(r1) /* 800C8934 000C5894 A3 62 C5 FC */ lhz r27, kInternalInvalidSfxId__11CSfxManager@sda21(r2) /* 800C8938 000C5898 B0 01 00 34 */ sth r0, 0x34(r1) /* 800C893C 000C589C 48 28 16 79 */ bl Black__6CColorFv /* 800C8940 000C58A0 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha /* 800C8944 000C58A4 7C 78 1B 78 */ mr r24, r3 /* 800C8948 000C58A8 38 84 66 A0 */ addi r4, r4, sZeroVector__9CVector3f@l /* 800C894C 000C58AC 38 61 00 88 */ addi r3, r1, 0x88 /* 800C8950 000C58B0 38 A1 00 50 */ addi r5, r1, 0x50 /* 800C8954 000C58B4 48 01 1C 91 */ bl ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f /* 800C8958 000C58B8 93 01 00 08 */ stw r24, 8(r1) /* 800C895C 000C58BC 3C 00 43 30 */ lis r0, 0x4330 /* 800C8960 000C58C0 57 A3 06 3E */ clrlwi r3, r29, 0x18 /* 800C8964 000C58C4 6F CB 80 00 */ xoris r11, r30, 0x8000 /* 800C8968 000C58C8 90 61 00 0C */ stw r3, 0xc(r1) /* 800C896C 000C58CC 38 A1 00 6C */ addi r5, r1, 0x6c /* 800C8970 000C58D0 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 800C8974 000C58D4 38 80 FF FF */ li r4, -1 /* 800C8978 000C58D8 90 A1 00 10 */ stw r5, 0x10(r1) /* 800C897C 000C58DC 39 43 66 A0 */ addi r10, r3, sZeroVector__9CVector3f@l /* 800C8980 000C58E0 C8 42 8E 40 */ lfd f2, lbl_805AAB60@sda21(r2) /* 800C8984 000C58E4 FC 20 F8 90 */ fmr f1, f31 /* 800C8988 000C58E8 90 81 00 14 */ stw r4, 0x14(r1) /* 800C898C 000C58EC 7F 83 E3 78 */ mr r3, r28 /* 800C8990 000C58F0 C8 62 8E 48 */ lfd f3, lbl_805AAB68@sda21(r2) /* 800C8994 000C58F4 7F 46 D3 78 */ mr r6, r26 /* 800C8998 000C58F8 90 81 00 18 */ stw r4, 0x18(r1) /* 800C899C 000C58FC C0 82 8E 28 */ lfs f4, lbl_805AAB48@sda21(r2) /* 800C89A0 000C5900 38 A1 00 5C */ addi r5, r1, 0x5c /* 800C89A4 000C5904 90 81 00 1C */ stw r4, 0x1c(r1) /* 800C89A8 000C5908 38 81 00 34 */ addi r4, r1, 0x34 /* 800C89AC 000C590C 38 E1 00 88 */ addi r7, r1, 0x88 /* 800C89B0 000C5910 39 21 00 40 */ addi r9, r1, 0x40 /* 800C89B4 000C5914 93 61 00 20 */ stw r27, 0x20(r1) /* 800C89B8 000C5918 39 00 00 32 */ li r8, 0x32 /* 800C89BC 000C591C 93 61 00 24 */ stw r27, 0x24(r1) /* 800C89C0 000C5920 91 61 00 BC */ stw r11, 0xbc(r1) /* 800C89C4 000C5924 90 01 00 B8 */ stw r0, 0xb8(r1) /* 800C89C8 000C5928 C8 01 00 B8 */ lfd f0, 0xb8(r1) /* 800C89CC 000C592C 93 E1 00 C4 */ stw r31, 0xc4(r1) /* 800C89D0 000C5930 EC 40 10 28 */ fsubs f2, f0, f2 /* 800C89D4 000C5934 90 01 00 C0 */ stw r0, 0xc0(r1) /* 800C89D8 000C5938 C8 01 00 C0 */ lfd f0, 0xc0(r1) /* 800C89DC 000C593C 93 61 00 28 */ stw r27, 0x28(r1) /* 800C89E0 000C5940 EC 60 18 28 */ fsubs f3, f0, f3 /* 800C89E4 000C5944 48 08 A1 DD */ bl "__ct__22CScriptSpecialFunctionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fQ222CScriptSpecialFunction16ESpecialFunctionRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffffRC9CVector3fRC6CColorbRC11CDamageInfoiiQ212CPlayerState9EItemTypeUsUsUs" /* 800C89E8 000C5948 7C 7C 1B 78 */ mr r28, r3 lbl_800C89EC: /* 800C89EC 000C594C 7F 20 07 75 */ extsb. r0, r25 /* 800C89F0 000C5950 41 82 00 0C */ beq lbl_800C89FC /* 800C89F4 000C5954 38 61 00 40 */ addi r3, r1, 0x40 /* 800C89F8 000C5958 48 27 50 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_800C89FC: /* 800C89FC 000C595C 38 61 00 5C */ addi r3, r1, 0x5c /* 800C8A00 000C5960 48 27 50 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C8A04 000C5964 7F 83 E3 78 */ mr r3, r28 lbl_800C8A08: /* 800C8A08 000C5968 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 /* 800C8A0C 000C596C CB E1 00 F0 */ lfd f31, 0xf0(r1) /* 800C8A10 000C5970 BB 01 00 D0 */ lmw r24, 0xd0(r1) /* 800C8A14 000C5974 80 01 01 04 */ lwz r0, 0x104(r1) /* 800C8A18 000C5978 7C 08 03 A6 */ mtlr r0 /* 800C8A1C 000C597C 38 21 01 00 */ addi r1, r1, 0x100 /* 800C8A20 000C5980 4E 80 00 20 */ blr .global LoadAtomicAlpha__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadAtomicAlpha__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C8A24 000C5984 94 21 FC A0 */ stwu r1, -0x360(r1) /* 800C8A28 000C5988 7C 08 02 A6 */ mflr r0 /* 800C8A2C 000C598C 90 01 03 64 */ stw r0, 0x364(r1) /* 800C8A30 000C5990 DB E1 03 50 */ stfd f31, 0x350(r1) /* 800C8A34 000C5994 F3 E1 03 58 */ psq_st f31, 856(r1), 0, qr0 /* 800C8A38 000C5998 DB C1 03 40 */ stfd f30, 0x340(r1) /* 800C8A3C 000C599C F3 C1 03 48 */ psq_st f30, 840(r1), 0, qr0 /* 800C8A40 000C59A0 DB A1 03 30 */ stfd f29, 0x330(r1) /* 800C8A44 000C59A4 F3 A1 03 38 */ psq_st f29, 824(r1), 0, qr0 /* 800C8A48 000C59A8 BF 01 03 10 */ stmw r24, 0x310(r1) /* 800C8A4C 000C59AC 2C 05 00 0E */ cmpwi r5, 0xe /* 800C8A50 000C59B0 7C 7E 1B 78 */ mr r30, r3 /* 800C8A54 000C59B4 7C 99 23 78 */ mr r25, r4 /* 800C8A58 000C59B8 7C DF 33 78 */ mr r31, r6 /* 800C8A5C 000C59BC 41 82 00 0C */ beq lbl_800C8A68 /* 800C8A60 000C59C0 38 60 00 00 */ li r3, 0 /* 800C8A64 000C59C4 48 00 01 EC */ b lbl_800C8C50 lbl_800C8A68: /* 800C8A68 000C59C8 7F C5 F3 78 */ mr r5, r30 /* 800C8A6C 000C59CC 38 61 01 84 */ addi r3, r1, 0x184 /* 800C8A70 000C59D0 48 01 1A 0D */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C8A74 000C59D4 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C8A78 000C59D8 7F 24 CB 78 */ mr r4, r25 /* 800C8A7C 000C59DC 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800C8A80 000C59E0 38 61 00 28 */ addi r3, r1, 0x28 /* 800C8A84 000C59E4 48 03 CD A5 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800C8A88 000C59E8 88 01 00 28 */ lbz r0, 0x28(r1) /* 800C8A8C 000C59EC 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 800C8A90 000C59F0 28 00 00 00 */ cmplwi r0, 0 /* 800C8A94 000C59F4 40 82 00 14 */ bne lbl_800C8AA8 /* 800C8A98 000C59F8 38 61 01 84 */ addi r3, r1, 0x184 /* 800C8A9C 000C59FC 48 27 50 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C8AA0 000C5A00 38 60 00 00 */ li r3, 0 /* 800C8AA4 000C5A04 48 00 01 AC */ b lbl_800C8C50 lbl_800C8AA8: /* 800C8AA8 000C5A08 7F 24 CB 78 */ mr r4, r25 /* 800C8AAC 000C5A0C 38 61 01 D0 */ addi r3, r1, 0x1d0 /* 800C8AB0 000C5A10 48 03 CD C9 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800C8AB4 000C5A14 80 61 02 BC */ lwz r3, 0x2bc(r1) /* 800C8AB8 000C5A18 3C 03 00 01 */ addis r0, r3, 1 /* 800C8ABC 000C5A1C 28 00 FF FF */ cmplwi r0, 0xffff /* 800C8AC0 000C5A20 40 82 00 14 */ bne lbl_800C8AD4 /* 800C8AC4 000C5A24 38 61 01 84 */ addi r3, r1, 0x184 /* 800C8AC8 000C5A28 48 27 50 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C8ACC 000C5A2C 38 60 00 00 */ li r3, 0 /* 800C8AD0 000C5A30 48 00 01 80 */ b lbl_800C8C50 lbl_800C8AD4: /* 800C8AD4 000C5A34 7F 24 CB 78 */ mr r4, r25 /* 800C8AD8 000C5A38 38 61 00 B4 */ addi r3, r1, 0xb4 /* 800C8ADC 000C5A3C 48 01 12 99 */ bl LoadActorParameters__FR12CInputStream /* 800C8AE0 000C5A40 38 61 01 1C */ addi r3, r1, 0x11c /* 800C8AE4 000C5A44 38 81 00 B4 */ addi r4, r1, 0xb4 /* 800C8AE8 000C5A48 4B FF CB 35 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C8AEC 000C5A4C 38 61 00 B4 */ addi r3, r1, 0xb4 /* 800C8AF0 000C5A50 38 80 FF FF */ li r4, -1 /* 800C8AF4 000C5A54 48 03 DB 15 */ bl __dt__16CLightParametersFv /* 800C8AF8 000C5A58 7F 23 CB 78 */ mr r3, r25 /* 800C8AFC 000C5A5C 48 27 61 89 */ bl ReadLong__12CInputStreamFv /* 800C8B00 000C5A60 7C 7A 1B 78 */ mr r26, r3 /* 800C8B04 000C5A64 7F 23 CB 78 */ mr r3, r25 /* 800C8B08 000C5A68 48 27 61 7D */ bl ReadLong__12CInputStreamFv /* 800C8B0C 000C5A6C 7C 7B 1B 78 */ mr r27, r3 /* 800C8B10 000C5A70 7F 24 CB 78 */ mr r4, r25 /* 800C8B14 000C5A74 38 61 00 4C */ addi r3, r1, 0x4c /* 800C8B18 000C5A78 4B FF AA 49 */ bl __ct__11CDamageInfoFR12CInputStream /* 800C8B1C 000C5A7C 7F 23 CB 78 */ mr r3, r25 /* 800C8B20 000C5A80 48 27 61 09 */ bl ReadFloat__12CInputStreamFv /* 800C8B24 000C5A84 FF E0 08 90 */ fmr f31, f1 /* 800C8B28 000C5A88 7F 23 CB 78 */ mr r3, r25 /* 800C8B2C 000C5A8C 48 27 60 FD */ bl ReadFloat__12CInputStreamFv /* 800C8B30 000C5A90 FF C0 08 90 */ fmr f30, f1 /* 800C8B34 000C5A94 7F 23 CB 78 */ mr r3, r25 /* 800C8B38 000C5A98 48 27 60 F1 */ bl ReadFloat__12CInputStreamFv /* 800C8B3C 000C5A9C FF A0 08 90 */ fmr f29, f1 /* 800C8B40 000C5AA0 7F 23 CB 78 */ mr r3, r25 /* 800C8B44 000C5AA4 48 27 61 99 */ bl ReadBool__12CInputStreamFv /* 800C8B48 000C5AA8 7C 7C 1B 78 */ mr r28, r3 /* 800C8B4C 000C5AAC 7F 23 CB 78 */ mr r3, r25 /* 800C8B50 000C5AB0 48 27 61 8D */ bl ReadBool__12CInputStreamFv /* 800C8B54 000C5AB4 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800C8B58 000C5AB8 7C 7D 1B 78 */ mr r29, r3 /* 800C8B5C 000C5ABC 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l /* 800C8B60 000C5AC0 3B 00 00 00 */ li r24, 0 /* 800C8B64 000C5AC4 38 83 00 0D */ addi r4, r3, 0xd /* 800C8B68 000C5AC8 38 60 07 40 */ li r3, 0x740 /* 800C8B6C 000C5ACC 38 A0 00 00 */ li r5, 0 /* 800C8B70 000C5AD0 48 24 CC FD */ bl __nw__FUlPCcPCc /* 800C8B74 000C5AD4 7C 79 1B 79 */ or. r25, r3, r3 /* 800C8B78 000C5AD8 41 82 00 AC */ beq lbl_800C8C24 /* 800C8B7C 000C5ADC 80 E1 02 BC */ lwz r7, 0x2bc(r1) /* 800C8B80 000C5AE0 38 A0 00 01 */ li r5, 1 /* 800C8B84 000C5AE4 80 C1 02 C0 */ lwz r6, 0x2c0(r1) /* 800C8B88 000C5AE8 38 61 00 68 */ addi r3, r1, 0x68 /* 800C8B8C 000C5AEC C0 41 01 C4 */ lfs f2, 0x1c4(r1) /* 800C8B90 000C5AF0 38 81 00 30 */ addi r4, r1, 0x30 /* 800C8B94 000C5AF4 C0 21 01 C8 */ lfs f1, 0x1c8(r1) /* 800C8B98 000C5AF8 C0 01 01 CC */ lfs f0, 0x1cc(r1) /* 800C8B9C 000C5AFC 80 01 02 C4 */ lwz r0, 0x2c4(r1) /* 800C8BA0 000C5B00 90 E1 00 30 */ stw r7, 0x30(r1) /* 800C8BA4 000C5B04 90 C1 00 34 */ stw r6, 0x34(r1) /* 800C8BA8 000C5B08 D0 41 00 38 */ stfs f2, 0x38(r1) /* 800C8BAC 000C5B0C D0 21 00 3C */ stfs f1, 0x3c(r1) /* 800C8BB0 000C5B10 D0 01 00 40 */ stfs f0, 0x40(r1) /* 800C8BB4 000C5B14 98 A1 00 44 */ stb r5, 0x44(r1) /* 800C8BB8 000C5B18 90 01 00 48 */ stw r0, 0x48(r1) /* 800C8BBC 000C5B1C 48 04 DF 99 */ bl __ct__10CModelDataFRC8CAnimRes /* 800C8BC0 000C5B20 7F C4 F3 78 */ mr r4, r30 /* 800C8BC4 000C5B24 38 61 00 20 */ addi r3, r1, 0x20 /* 800C8BC8 000C5B28 3B 00 00 01 */ li r24, 1 /* 800C8BCC 000C5B2C 4B F8 45 11 */ bl AllocateUniqueId__13CStateManagerFv /* 800C8BD0 000C5B30 A0 81 00 20 */ lhz r4, 0x20(r1) /* 800C8BD4 000C5B34 38 01 00 4C */ addi r0, r1, 0x4c /* 800C8BD8 000C5B38 FC 20 F8 90 */ fmr f1, f31 /* 800C8BDC 000C5B3C 7F 23 CB 78 */ mr r3, r25 /* 800C8BE0 000C5B40 B0 81 00 24 */ sth r4, 0x24(r1) /* 800C8BE4 000C5B44 FC 40 F0 90 */ fmr f2, f30 /* 800C8BE8 000C5B48 FC 60 E8 90 */ fmr f3, f29 /* 800C8BEC 000C5B4C 7F E6 FB 78 */ mr r6, r31 /* 800C8BF0 000C5B50 93 41 00 08 */ stw r26, 8(r1) /* 800C8BF4 000C5B54 38 81 00 24 */ addi r4, r1, 0x24 /* 800C8BF8 000C5B58 38 A1 01 84 */ addi r5, r1, 0x184 /* 800C8BFC 000C5B5C 38 E1 01 94 */ addi r7, r1, 0x194 /* 800C8C00 000C5B60 90 01 00 0C */ stw r0, 0xc(r1) /* 800C8C04 000C5B64 39 01 00 68 */ addi r8, r1, 0x68 /* 800C8C08 000C5B68 39 21 01 1C */ addi r9, r1, 0x11c /* 800C8C0C 000C5B6C 39 41 01 D0 */ addi r10, r1, 0x1d0 /* 800C8C10 000C5B70 93 61 00 10 */ stw r27, 0x10(r1) /* 800C8C14 000C5B74 93 81 00 14 */ stw r28, 0x14(r1) /* 800C8C18 000C5B78 93 A1 00 18 */ stw r29, 0x18(r1) /* 800C8C1C 000C5B7C 48 17 CA 85 */ bl __ct__12CAtomicAlpha /* 800C8C20 000C5B80 7C 79 1B 78 */ mr r25, r3 lbl_800C8C24: /* 800C8C24 000C5B84 7F 00 07 75 */ extsb. r0, r24 /* 800C8C28 000C5B88 41 82 00 10 */ beq lbl_800C8C38 /* 800C8C2C 000C5B8C 38 61 00 68 */ addi r3, r1, 0x68 /* 800C8C30 000C5B90 38 80 FF FF */ li r4, -1 /* 800C8C34 000C5B94 48 04 DE 19 */ bl __dt__10CModelDataFv lbl_800C8C38: /* 800C8C38 000C5B98 38 61 01 1C */ addi r3, r1, 0x11c /* 800C8C3C 000C5B9C 38 80 FF FF */ li r4, -1 /* 800C8C40 000C5BA0 48 03 D9 C9 */ bl __dt__16CLightParametersFv /* 800C8C44 000C5BA4 38 61 01 84 */ addi r3, r1, 0x184 /* 800C8C48 000C5BA8 48 27 4E 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C8C4C 000C5BAC 7F 23 CB 78 */ mr r3, r25 lbl_800C8C50: /* 800C8C50 000C5BB0 E3 E1 03 58 */ psq_l f31, 856(r1), 0, qr0 /* 800C8C54 000C5BB4 CB E1 03 50 */ lfd f31, 0x350(r1) /* 800C8C58 000C5BB8 E3 C1 03 48 */ psq_l f30, 840(r1), 0, qr0 /* 800C8C5C 000C5BBC CB C1 03 40 */ lfd f30, 0x340(r1) /* 800C8C60 000C5BC0 E3 A1 03 38 */ psq_l f29, 824(r1), 0, qr0 /* 800C8C64 000C5BC4 CB A1 03 30 */ lfd f29, 0x330(r1) /* 800C8C68 000C5BC8 BB 01 03 10 */ lmw r24, 0x310(r1) /* 800C8C6C 000C5BCC 80 01 03 64 */ lwz r0, 0x364(r1) /* 800C8C70 000C5BD0 7C 08 03 A6 */ mtlr r0 /* 800C8C74 000C5BD4 38 21 03 60 */ addi r1, r1, 0x360 /* 800C8C78 000C5BD8 4E 80 00 20 */ blr .global LoadGeemer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadGeemer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C8C7C 000C5BDC 94 21 FC 10 */ stwu r1, -0x3f0(r1) /* 800C8C80 000C5BE0 7C 08 02 A6 */ mflr r0 /* 800C8C84 000C5BE4 90 01 03 F4 */ stw r0, 0x3f4(r1) /* 800C8C88 000C5BE8 DB E1 03 E0 */ stfd f31, 0x3e0(r1) /* 800C8C8C 000C5BEC F3 E1 03 E8 */ psq_st f31, 1000(r1), 0, qr0 /* 800C8C90 000C5BF0 DB C1 03 D0 */ stfd f30, 0x3d0(r1) /* 800C8C94 000C5BF4 F3 C1 03 D8 */ psq_st f30, 984(r1), 0, qr0 /* 800C8C98 000C5BF8 DB A1 03 C0 */ stfd f29, 0x3c0(r1) /* 800C8C9C 000C5BFC F3 A1 03 C8 */ psq_st f29, 968(r1), 0, qr0 /* 800C8CA0 000C5C00 DB 81 03 B0 */ stfd f28, 0x3b0(r1) /* 800C8CA4 000C5C04 F3 81 03 B8 */ psq_st f28, 952(r1), 0, qr0 /* 800C8CA8 000C5C08 DB 61 03 A0 */ stfd f27, 0x3a0(r1) /* 800C8CAC 000C5C0C F3 61 03 A8 */ psq_st f27, 936(r1), 0, qr0 /* 800C8CB0 000C5C10 DB 41 03 90 */ stfd f26, 0x390(r1) /* 800C8CB4 000C5C14 F3 41 03 98 */ psq_st f26, 920(r1), 0, qr0 /* 800C8CB8 000C5C18 DB 21 03 80 */ stfd f25, 0x380(r1) /* 800C8CBC 000C5C1C F3 21 03 88 */ psq_st f25, 904(r1), 0, qr0 /* 800C8CC0 000C5C20 BE E1 03 5C */ stmw r23, 0x35c(r1) /* 800C8CC4 000C5C24 2C 05 00 10 */ cmpwi r5, 0x10 /* 800C8CC8 000C5C28 7C 7A 1B 78 */ mr r26, r3 /* 800C8CCC 000C5C2C 7C 97 23 78 */ mr r23, r4 /* 800C8CD0 000C5C30 7C DB 33 78 */ mr r27, r6 /* 800C8CD4 000C5C34 41 82 00 0C */ beq lbl_800C8CE0 /* 800C8CD8 000C5C38 38 60 00 00 */ li r3, 0 /* 800C8CDC 000C5C3C 48 00 02 E0 */ b lbl_800C8FBC lbl_800C8CE0: /* 800C8CE0 000C5C40 7F 45 D3 78 */ mr r5, r26 /* 800C8CE4 000C5C44 38 61 01 CC */ addi r3, r1, 0x1cc /* 800C8CE8 000C5C48 48 01 17 95 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C8CEC 000C5C4C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C8CF0 000C5C50 7E E4 BB 78 */ mr r4, r23 /* 800C8CF4 000C5C54 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800C8CF8 000C5C58 38 61 00 70 */ addi r3, r1, 0x70 /* 800C8CFC 000C5C5C 38 A5 00 75 */ addi r5, r5, 0x75 /* 800C8D00 000C5C60 48 03 CB 29 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800C8D04 000C5C64 88 01 00 70 */ lbz r0, 0x70(r1) /* 800C8D08 000C5C68 80 A1 00 74 */ lwz r5, 0x74(r1) /* 800C8D0C 000C5C6C 28 00 00 00 */ cmplwi r0, 0 /* 800C8D10 000C5C70 40 82 00 14 */ bne lbl_800C8D24 /* 800C8D14 000C5C74 38 61 01 CC */ addi r3, r1, 0x1cc /* 800C8D18 000C5C78 48 27 4D C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C8D1C 000C5C7C 38 60 00 00 */ li r3, 0 /* 800C8D20 000C5C80 48 00 02 9C */ b lbl_800C8FBC lbl_800C8D24: /* 800C8D24 000C5C84 7E E4 BB 78 */ mr r4, r23 /* 800C8D28 000C5C88 38 61 02 18 */ addi r3, r1, 0x218 /* 800C8D2C 000C5C8C 48 03 CB 4D */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800C8D30 000C5C90 7E E4 BB 78 */ mr r4, r23 /* 800C8D34 000C5C94 38 61 00 FC */ addi r3, r1, 0xfc /* 800C8D38 000C5C98 48 01 10 3D */ bl LoadActorParameters__FR12CInputStream /* 800C8D3C 000C5C9C 38 61 01 64 */ addi r3, r1, 0x164 /* 800C8D40 000C5CA0 38 81 00 FC */ addi r4, r1, 0xfc /* 800C8D44 000C5CA4 4B FF C8 D9 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C8D48 000C5CA8 38 61 00 FC */ addi r3, r1, 0xfc /* 800C8D4C 000C5CAC 38 80 FF FF */ li r4, -1 /* 800C8D50 000C5CB0 48 03 D8 B9 */ bl __dt__16CLightParametersFv /* 800C8D54 000C5CB4 80 61 03 04 */ lwz r3, 0x304(r1) /* 800C8D58 000C5CB8 3C 03 00 01 */ addis r0, r3, 1 /* 800C8D5C 000C5CBC 28 00 FF FF */ cmplwi r0, 0xffff /* 800C8D60 000C5CC0 40 82 00 20 */ bne lbl_800C8D80 /* 800C8D64 000C5CC4 38 61 01 64 */ addi r3, r1, 0x164 /* 800C8D68 000C5CC8 38 80 FF FF */ li r4, -1 /* 800C8D6C 000C5CCC 48 03 D8 9D */ bl __dt__16CLightParametersFv /* 800C8D70 000C5CD0 38 61 01 CC */ addi r3, r1, 0x1cc /* 800C8D74 000C5CD4 48 27 4D 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C8D78 000C5CD8 38 60 00 00 */ li r3, 0 /* 800C8D7C 000C5CDC 48 00 02 40 */ b lbl_800C8FBC lbl_800C8D80: /* 800C8D80 000C5CE0 7E E3 BB 78 */ mr r3, r23 /* 800C8D84 000C5CE4 48 27 5E A5 */ bl ReadFloat__12CInputStreamFv /* 800C8D88 000C5CE8 FF 80 08 90 */ fmr f28, f1 /* 800C8D8C 000C5CEC 7E E3 BB 78 */ mr r3, r23 /* 800C8D90 000C5CF0 48 27 5E 99 */ bl ReadFloat__12CInputStreamFv /* 800C8D94 000C5CF4 FF 60 08 90 */ fmr f27, f1 /* 800C8D98 000C5CF8 7E E3 BB 78 */ mr r3, r23 /* 800C8D9C 000C5CFC 48 27 5E 8D */ bl ReadFloat__12CInputStreamFv /* 800C8DA0 000C5D00 FF 40 08 90 */ fmr f26, f1 /* 800C8DA4 000C5D04 7E E3 BB 78 */ mr r3, r23 /* 800C8DA8 000C5D08 48 27 5E 81 */ bl ReadFloat__12CInputStreamFv /* 800C8DAC 000C5D0C FF 20 08 90 */ fmr f25, f1 /* 800C8DB0 000C5D10 7E E3 BB 78 */ mr r3, r23 /* 800C8DB4 000C5D14 48 27 5E 75 */ bl ReadFloat__12CInputStreamFv /* 800C8DB8 000C5D18 FF A0 08 90 */ fmr f29, f1 /* 800C8DBC 000C5D1C 7E E3 BB 78 */ mr r3, r23 /* 800C8DC0 000C5D20 48 27 5E 69 */ bl ReadFloat__12CInputStreamFv /* 800C8DC4 000C5D24 FF C0 08 90 */ fmr f30, f1 /* 800C8DC8 000C5D28 7E E3 BB 78 */ mr r3, r23 /* 800C8DCC 000C5D2C 48 27 5E 5D */ bl ReadFloat__12CInputStreamFv /* 800C8DD0 000C5D30 FF E0 08 90 */ fmr f31, f1 /* 800C8DD4 000C5D34 7E E3 BB 78 */ mr r3, r23 /* 800C8DD8 000C5D38 48 27 5E AD */ bl ReadLong__12CInputStreamFv /* 800C8DDC 000C5D3C 54 7E 04 3E */ clrlwi r30, r3, 0x10 /* 800C8DE0 000C5D40 7E E3 BB 78 */ mr r3, r23 /* 800C8DE4 000C5D44 48 27 5E A1 */ bl ReadLong__12CInputStreamFv /* 800C8DE8 000C5D48 54 7D 04 3E */ clrlwi r29, r3, 0x10 /* 800C8DEC 000C5D4C 7E E3 BB 78 */ mr r3, r23 /* 800C8DF0 000C5D50 48 27 5E 95 */ bl ReadLong__12CInputStreamFv /* 800C8DF4 000C5D54 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800C8DF8 000C5D58 54 7C 04 3E */ clrlwi r28, r3, 0x10 /* 800C8DFC 000C5D5C 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l /* 800C8E00 000C5D60 3B 20 00 00 */ li r25, 0 /* 800C8E04 000C5D64 38 83 00 0D */ addi r4, r3, 0xd /* 800C8E08 000C5D68 38 60 07 48 */ li r3, 0x748 /* 800C8E0C 000C5D6C 38 A0 00 00 */ li r5, 0 /* 800C8E10 000C5D70 48 24 CA 5D */ bl __nw__FUlPCcPCc /* 800C8E14 000C5D74 7C 7F 1B 79 */ or. r31, r3, r3 /* 800C8E18 000C5D78 41 82 01 78 */ beq lbl_800C8F90 /* 800C8E1C 000C5D7C 39 40 00 00 */ li r10, 0 /* 800C8E20 000C5D80 88 01 00 6C */ lbz r0, 0x6c(r1) /* 800C8E24 000C5D84 51 40 3E 30 */ rlwimi r0, r10, 7, 0x18, 0x18 /* 800C8E28 000C5D88 C0 62 8E 28 */ lfs f3, lbl_805AAB48@sda21(r2) /* 800C8E2C 000C5D8C 98 01 00 6C */ stb r0, 0x6c(r1) /* 800C8E30 000C5D90 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 800C8E34 000C5D94 51 40 36 72 */ rlwimi r0, r10, 6, 0x19, 0x19 /* 800C8E38 000C5D98 89 01 00 AC */ lbz r8, 0xac(r1) /* 800C8E3C 000C5D9C 80 E1 03 04 */ lwz r7, 0x304(r1) /* 800C8E40 000C5DA0 54 09 06 3E */ clrlwi r9, r0, 0x18 /* 800C8E44 000C5DA4 98 01 00 6C */ stb r0, 0x6c(r1) /* 800C8E48 000C5DA8 51 49 2E B4 */ rlwimi r9, r10, 5, 0x1a, 0x1a /* 800C8E4C 000C5DAC 80 C1 03 08 */ lwz r6, 0x308(r1) /* 800C8E50 000C5DB0 51 48 3E 30 */ rlwimi r8, r10, 7, 0x18, 0x18 /* 800C8E54 000C5DB4 C0 41 02 0C */ lfs f2, 0x20c(r1) /* 800C8E58 000C5DB8 38 A0 00 01 */ li r5, 1 /* 800C8E5C 000C5DBC C0 21 02 10 */ lfs f1, 0x210(r1) /* 800C8E60 000C5DC0 38 61 00 B0 */ addi r3, r1, 0xb0 /* 800C8E64 000C5DC4 C0 01 02 14 */ lfs f0, 0x214(r1) /* 800C8E68 000C5DC8 38 81 00 78 */ addi r4, r1, 0x78 /* 800C8E6C 000C5DCC 80 01 03 0C */ lwz r0, 0x30c(r1) /* 800C8E70 000C5DD0 91 41 00 68 */ stw r10, 0x68(r1) /* 800C8E74 000C5DD4 99 21 00 6C */ stb r9, 0x6c(r1) /* 800C8E78 000C5DD8 91 41 00 94 */ stw r10, 0x94(r1) /* 800C8E7C 000C5DDC 99 21 00 98 */ stb r9, 0x98(r1) /* 800C8E80 000C5DE0 D0 61 00 9C */ stfs f3, 0x9c(r1) /* 800C8E84 000C5DE4 D0 61 00 A0 */ stfs f3, 0xa0(r1) /* 800C8E88 000C5DE8 D0 61 00 A4 */ stfs f3, 0xa4(r1) /* 800C8E8C 000C5DEC D0 61 00 A8 */ stfs f3, 0xa8(r1) /* 800C8E90 000C5DF0 99 01 00 AC */ stb r8, 0xac(r1) /* 800C8E94 000C5DF4 90 E1 00 78 */ stw r7, 0x78(r1) /* 800C8E98 000C5DF8 90 C1 00 7C */ stw r6, 0x7c(r1) /* 800C8E9C 000C5DFC D0 41 00 80 */ stfs f2, 0x80(r1) /* 800C8EA0 000C5E00 D0 21 00 84 */ stfs f1, 0x84(r1) /* 800C8EA4 000C5E04 D0 01 00 88 */ stfs f0, 0x88(r1) /* 800C8EA8 000C5E08 98 A1 00 8C */ stb r5, 0x8c(r1) /* 800C8EAC 000C5E0C 90 01 00 90 */ stw r0, 0x90(r1) /* 800C8EB0 000C5E10 48 04 DC A5 */ bl __ct__10CModelDataFRC8CAnimRes /* 800C8EB4 000C5E14 7F 44 D3 78 */ mr r4, r26 /* 800C8EB8 000C5E18 38 61 00 60 */ addi r3, r1, 0x60 /* 800C8EBC 000C5E1C 3B 20 00 01 */ li r25, 1 /* 800C8EC0 000C5E20 4B F8 42 1D */ bl AllocateUniqueId__13CStateManagerFv /* 800C8EC4 000C5E24 A0 81 00 60 */ lhz r4, 0x60(r1) /* 800C8EC8 000C5E28 3C 60 80 57 */ lis r3, sNormalVulnerability__20CDamageVulnerability@ha /* 800C8ECC 000C5E2C C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800C8ED0 000C5E30 3B 43 D5 78 */ addi r26, r3, sNormalVulnerability__20CDamageVulnerability@l /* 800C8ED4 000C5E34 B0 81 00 64 */ sth r4, 0x64(r1) /* 800C8ED8 000C5E38 38 00 00 06 */ li r0, 6 /* 800C8EDC 000C5E3C C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800C8EE0 000C5E40 3A E0 00 00 */ li r23, 0 /* 800C8EE4 000C5E44 90 01 00 08 */ stw r0, 8(r1) /* 800C8EE8 000C5E48 3B 00 00 02 */ li r24, 2 /* 800C8EEC 000C5E4C 39 81 00 94 */ addi r12, r1, 0x94 /* 800C8EF0 000C5E50 39 60 FF FF */ li r11, -1 /* 800C8EF4 000C5E54 D0 21 00 0C */ stfs f1, 0xc(r1) /* 800C8EF8 000C5E58 FC 40 E0 90 */ fmr f2, f28 /* 800C8EFC 000C5E5C 38 01 01 64 */ addi r0, r1, 0x164 /* 800C8F00 000C5E60 FC 60 D8 90 */ fmr f3, f27 /* 800C8F04 000C5E64 D0 21 00 10 */ stfs f1, 0x10(r1) /* 800C8F08 000C5E68 FC 80 D0 90 */ fmr f4, f26 /* 800C8F0C 000C5E6C FC A0 C8 90 */ fmr f5, f25 /* 800C8F10 000C5E70 D0 21 00 14 */ stfs f1, 0x14(r1) /* 800C8F14 000C5E74 FD 00 08 90 */ fmr f8, f1 /* 800C8F18 000C5E78 C0 C2 8E 30 */ lfs f6, lbl_805AAB50@sda21(r2) /* 800C8F1C 000C5E7C 7F E3 FB 78 */ mr r3, r31 /* 800C8F20 000C5E80 D0 21 00 18 */ stfs f1, 0x18(r1) /* 800C8F24 000C5E84 C0 E2 8E 34 */ lfs f7, lbl_805AAB54@sda21(r2) /* 800C8F28 000C5E88 7F 67 DB 78 */ mr r7, r27 /* 800C8F2C 000C5E8C D0 01 00 1C */ stfs f0, 0x1c(r1) /* 800C8F30 000C5E90 38 81 00 64 */ addi r4, r1, 0x64 /* 800C8F34 000C5E94 38 A1 01 CC */ addi r5, r1, 0x1cc /* 800C8F38 000C5E98 39 01 01 DC */ addi r8, r1, 0x1dc /* 800C8F3C 000C5E9C D3 E1 00 20 */ stfs f31, 0x20(r1) /* 800C8F40 000C5EA0 39 21 00 B0 */ addi r9, r1, 0xb0 /* 800C8F44 000C5EA4 39 41 02 18 */ addi r10, r1, 0x218 /* 800C8F48 000C5EA8 38 C0 00 00 */ li r6, 0 /* 800C8F4C 000C5EAC D0 21 00 24 */ stfs f1, 0x24(r1) /* 800C8F50 000C5EB0 D0 21 00 28 */ stfs f1, 0x28(r1) /* 800C8F54 000C5EB4 D3 A1 00 2C */ stfs f29, 0x2c(r1) /* 800C8F58 000C5EB8 D3 C1 00 30 */ stfs f30, 0x30(r1) /* 800C8F5C 000C5EBC 92 E1 00 34 */ stw r23, 0x34(r1) /* 800C8F60 000C5EC0 93 01 00 38 */ stw r24, 0x38(r1) /* 800C8F64 000C5EC4 93 41 00 3C */ stw r26, 0x3c(r1) /* 800C8F68 000C5EC8 91 81 00 40 */ stw r12, 0x40(r1) /* 800C8F6C 000C5ECC 93 C1 00 44 */ stw r30, 0x44(r1) /* 800C8F70 000C5ED0 93 A1 00 48 */ stw r29, 0x48(r1) /* 800C8F74 000C5ED4 93 81 00 4C */ stw r28, 0x4c(r1) /* 800C8F78 000C5ED8 91 61 00 50 */ stw r11, 0x50(r1) /* 800C8F7C 000C5EDC 91 61 00 54 */ stw r11, 0x54(r1) /* 800C8F80 000C5EE0 D0 21 00 58 */ stfs f1, 0x58(r1) /* 800C8F84 000C5EE4 90 01 00 5C */ stw r0, 0x5c(r1) /* 800C8F88 000C5EE8 48 09 14 DD */ bl "__ct__9CParasiteF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfo9EBodyTypefffffffffffffffffbUiRC10Something1RC10Something2UsUsUsUiUifRC16CActorParameters" /* 800C8F8C 000C5EEC 7C 7F 1B 78 */ mr r31, r3 lbl_800C8F90: /* 800C8F90 000C5EF0 7F 20 07 75 */ extsb. r0, r25 /* 800C8F94 000C5EF4 41 82 00 10 */ beq lbl_800C8FA4 /* 800C8F98 000C5EF8 38 61 00 B0 */ addi r3, r1, 0xb0 /* 800C8F9C 000C5EFC 38 80 FF FF */ li r4, -1 /* 800C8FA0 000C5F00 48 04 DA AD */ bl __dt__10CModelDataFv lbl_800C8FA4: /* 800C8FA4 000C5F04 38 61 01 64 */ addi r3, r1, 0x164 /* 800C8FA8 000C5F08 38 80 FF FF */ li r4, -1 /* 800C8FAC 000C5F0C 48 03 D6 5D */ bl __dt__16CLightParametersFv /* 800C8FB0 000C5F10 38 61 01 CC */ addi r3, r1, 0x1cc /* 800C8FB4 000C5F14 48 27 4B 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C8FB8 000C5F18 7F E3 FB 78 */ mr r3, r31 lbl_800C8FBC: /* 800C8FBC 000C5F1C E3 E1 03 E8 */ psq_l f31, 1000(r1), 0, qr0 /* 800C8FC0 000C5F20 CB E1 03 E0 */ lfd f31, 0x3e0(r1) /* 800C8FC4 000C5F24 E3 C1 03 D8 */ psq_l f30, 984(r1), 0, qr0 /* 800C8FC8 000C5F28 CB C1 03 D0 */ lfd f30, 0x3d0(r1) /* 800C8FCC 000C5F2C E3 A1 03 C8 */ psq_l f29, 968(r1), 0, qr0 /* 800C8FD0 000C5F30 CB A1 03 C0 */ lfd f29, 0x3c0(r1) /* 800C8FD4 000C5F34 E3 81 03 B8 */ psq_l f28, 952(r1), 0, qr0 /* 800C8FD8 000C5F38 CB 81 03 B0 */ lfd f28, 0x3b0(r1) /* 800C8FDC 000C5F3C E3 61 03 A8 */ psq_l f27, 936(r1), 0, qr0 /* 800C8FE0 000C5F40 CB 61 03 A0 */ lfd f27, 0x3a0(r1) /* 800C8FE4 000C5F44 E3 41 03 98 */ psq_l f26, 920(r1), 0, qr0 /* 800C8FE8 000C5F48 CB 41 03 90 */ lfd f26, 0x390(r1) /* 800C8FEC 000C5F4C E3 21 03 88 */ psq_l f25, 904(r1), 0, qr0 /* 800C8FF0 000C5F50 CB 21 03 80 */ lfd f25, 0x380(r1) /* 800C8FF4 000C5F54 BA E1 03 5C */ lmw r23, 0x35c(r1) /* 800C8FF8 000C5F58 80 01 03 F4 */ lwz r0, 0x3f4(r1) /* 800C8FFC 000C5F5C 7C 08 03 A6 */ mtlr r0 /* 800C9000 000C5F60 38 21 03 F0 */ addi r1, r1, 0x3f0 /* 800C9004 000C5F64 4E 80 00 20 */ blr .global LoadOcculus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadOcculus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C9008 000C5F68 94 21 FB C0 */ stwu r1, -0x440(r1) /* 800C900C 000C5F6C 7C 08 02 A6 */ mflr r0 /* 800C9010 000C5F70 90 01 04 44 */ stw r0, 0x444(r1) /* 800C9014 000C5F74 DB E1 04 30 */ stfd f31, 0x430(r1) /* 800C9018 000C5F78 F3 E1 04 38 */ psq_st f31, 1080(r1), 0, qr0 /* 800C901C 000C5F7C DB C1 04 20 */ stfd f30, 0x420(r1) /* 800C9020 000C5F80 F3 C1 04 28 */ psq_st f30, 1064(r1), 0, qr0 /* 800C9024 000C5F84 DB A1 04 10 */ stfd f29, 0x410(r1) /* 800C9028 000C5F88 F3 A1 04 18 */ psq_st f29, 1048(r1), 0, qr0 /* 800C902C 000C5F8C DB 81 04 00 */ stfd f28, 0x400(r1) /* 800C9030 000C5F90 F3 81 04 08 */ psq_st f28, 1032(r1), 0, qr0 /* 800C9034 000C5F94 DB 61 03 F0 */ stfd f27, 0x3f0(r1) /* 800C9038 000C5F98 F3 61 03 F8 */ psq_st f27, 1016(r1), 0, qr0 /* 800C903C 000C5F9C DB 41 03 E0 */ stfd f26, 0x3e0(r1) /* 800C9040 000C5FA0 F3 41 03 E8 */ psq_st f26, 1000(r1), 0, qr0 /* 800C9044 000C5FA4 DB 21 03 D0 */ stfd f25, 0x3d0(r1) /* 800C9048 000C5FA8 F3 21 03 D8 */ psq_st f25, 984(r1), 0, qr0 /* 800C904C 000C5FAC BF 21 03 B4 */ stmw r25, 0x3b4(r1) /* 800C9050 000C5FB0 2C 05 00 0F */ cmpwi r5, 0xf /* 800C9054 000C5FB4 7C 7C 1B 78 */ mr r28, r3 /* 800C9058 000C5FB8 7C 9A 23 78 */ mr r26, r4 /* 800C905C 000C5FBC 7C DF 33 78 */ mr r31, r6 /* 800C9060 000C5FC0 41 82 00 0C */ beq lbl_800C906C /* 800C9064 000C5FC4 38 60 00 00 */ li r3, 0 /* 800C9068 000C5FC8 48 00 02 80 */ b lbl_800C92E8 lbl_800C906C: /* 800C906C 000C5FCC 7F 85 E3 78 */ mr r5, r28 /* 800C9070 000C5FD0 38 61 02 2C */ addi r3, r1, 0x22c /* 800C9074 000C5FD4 48 01 14 09 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C9078 000C5FD8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C907C 000C5FDC 7F 44 D3 78 */ mr r4, r26 /* 800C9080 000C5FE0 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800C9084 000C5FE4 38 61 00 68 */ addi r3, r1, 0x68 /* 800C9088 000C5FE8 38 A5 00 7C */ addi r5, r5, 0x7c /* 800C908C 000C5FEC 48 03 C7 9D */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800C9090 000C5FF0 88 01 00 68 */ lbz r0, 0x68(r1) /* 800C9094 000C5FF4 80 A1 00 6C */ lwz r5, 0x6c(r1) /* 800C9098 000C5FF8 28 00 00 00 */ cmplwi r0, 0 /* 800C909C 000C5FFC 40 82 00 14 */ bne lbl_800C90B0 /* 800C90A0 000C6000 38 61 02 2C */ addi r3, r1, 0x22c /* 800C90A4 000C6004 48 27 4A 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C90A8 000C6008 38 60 00 00 */ li r3, 0 /* 800C90AC 000C600C 48 00 02 3C */ b lbl_800C92E8 lbl_800C90B0: /* 800C90B0 000C6010 7F 44 D3 78 */ mr r4, r26 /* 800C90B4 000C6014 38 61 02 78 */ addi r3, r1, 0x278 /* 800C90B8 000C6018 48 03 C7 C1 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800C90BC 000C601C 7F 44 D3 78 */ mr r4, r26 /* 800C90C0 000C6020 38 61 00 F4 */ addi r3, r1, 0xf4 /* 800C90C4 000C6024 48 01 0C B1 */ bl LoadActorParameters__FR12CInputStream /* 800C90C8 000C6028 38 61 01 C4 */ addi r3, r1, 0x1c4 /* 800C90CC 000C602C 38 81 00 F4 */ addi r4, r1, 0xf4 /* 800C90D0 000C6030 4B FF C5 4D */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C90D4 000C6034 38 61 00 F4 */ addi r3, r1, 0xf4 /* 800C90D8 000C6038 38 80 FF FF */ li r4, -1 /* 800C90DC 000C603C 48 03 D5 2D */ bl __dt__16CLightParametersFv /* 800C90E0 000C6040 80 61 03 64 */ lwz r3, 0x364(r1) /* 800C90E4 000C6044 3C 03 00 01 */ addis r0, r3, 1 /* 800C90E8 000C6048 28 00 FF FF */ cmplwi r0, 0xffff /* 800C90EC 000C604C 40 82 00 20 */ bne lbl_800C910C /* 800C90F0 000C6050 38 61 01 C4 */ addi r3, r1, 0x1c4 /* 800C90F4 000C6054 38 80 FF FF */ li r4, -1 /* 800C90F8 000C6058 48 03 D5 11 */ bl __dt__16CLightParametersFv /* 800C90FC 000C605C 38 61 02 2C */ addi r3, r1, 0x22c /* 800C9100 000C6060 48 27 49 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C9104 000C6064 38 60 00 00 */ li r3, 0 /* 800C9108 000C6068 48 00 01 E0 */ b lbl_800C92E8 lbl_800C910C: /* 800C910C 000C606C 7F 43 D3 78 */ mr r3, r26 /* 800C9110 000C6070 48 27 5B 19 */ bl ReadFloat__12CInputStreamFv /* 800C9114 000C6074 FF 80 08 90 */ fmr f28, f1 /* 800C9118 000C6078 7F 43 D3 78 */ mr r3, r26 /* 800C911C 000C607C 48 27 5B 0D */ bl ReadFloat__12CInputStreamFv /* 800C9120 000C6080 FF 60 08 90 */ fmr f27, f1 /* 800C9124 000C6084 7F 43 D3 78 */ mr r3, r26 /* 800C9128 000C6088 48 27 5B 01 */ bl ReadFloat__12CInputStreamFv /* 800C912C 000C608C FF 40 08 90 */ fmr f26, f1 /* 800C9130 000C6090 7F 43 D3 78 */ mr r3, r26 /* 800C9134 000C6094 48 27 5A F5 */ bl ReadFloat__12CInputStreamFv /* 800C9138 000C6098 FF 20 08 90 */ fmr f25, f1 /* 800C913C 000C609C 7F 43 D3 78 */ mr r3, r26 /* 800C9140 000C60A0 48 27 5A E9 */ bl ReadFloat__12CInputStreamFv /* 800C9144 000C60A4 FF A0 08 90 */ fmr f29, f1 /* 800C9148 000C60A8 7F 43 D3 78 */ mr r3, r26 /* 800C914C 000C60AC 48 27 5A DD */ bl ReadFloat__12CInputStreamFv /* 800C9150 000C60B0 FF C0 08 90 */ fmr f30, f1 /* 800C9154 000C60B4 7F 44 D3 78 */ mr r4, r26 /* 800C9158 000C60B8 38 61 01 5C */ addi r3, r1, 0x15c /* 800C915C 000C60BC 48 03 99 FD */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 800C9160 000C60C0 7F 43 D3 78 */ mr r3, r26 /* 800C9164 000C60C4 48 27 5A C5 */ bl ReadFloat__12CInputStreamFv /* 800C9168 000C60C8 FF E0 08 90 */ fmr f31, f1 /* 800C916C 000C60CC 7F 44 D3 78 */ mr r4, r26 /* 800C9170 000C60D0 38 61 00 8C */ addi r3, r1, 0x8c /* 800C9174 000C60D4 4B FF A3 ED */ bl __ct__11CDamageInfoFR12CInputStream /* 800C9178 000C60D8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C917C 000C60DC 3B 20 00 00 */ li r25, 0 /* 800C9180 000C60E0 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800C9184 000C60E4 38 60 07 48 */ li r3, 0x748 /* 800C9188 000C60E8 38 84 00 0D */ addi r4, r4, 0xd /* 800C918C 000C60EC 38 A0 00 00 */ li r5, 0 /* 800C9190 000C60F0 48 24 C6 DD */ bl __nw__FUlPCcPCc /* 800C9194 000C60F4 7C 7B 1B 79 */ or. r27, r3, r3 /* 800C9198 000C60F8 41 82 01 24 */ beq lbl_800C92BC /* 800C919C 000C60FC 80 E1 03 64 */ lwz r7, 0x364(r1) /* 800C91A0 000C6100 38 A0 00 01 */ li r5, 1 /* 800C91A4 000C6104 80 C1 03 68 */ lwz r6, 0x368(r1) /* 800C91A8 000C6108 38 61 00 A8 */ addi r3, r1, 0xa8 /* 800C91AC 000C610C C0 41 02 6C */ lfs f2, 0x26c(r1) /* 800C91B0 000C6110 38 81 00 70 */ addi r4, r1, 0x70 /* 800C91B4 000C6114 C0 21 02 70 */ lfs f1, 0x270(r1) /* 800C91B8 000C6118 C0 01 02 74 */ lfs f0, 0x274(r1) /* 800C91BC 000C611C 80 01 03 6C */ lwz r0, 0x36c(r1) /* 800C91C0 000C6120 90 E1 00 70 */ stw r7, 0x70(r1) /* 800C91C4 000C6124 90 C1 00 74 */ stw r6, 0x74(r1) /* 800C91C8 000C6128 D0 41 00 78 */ stfs f2, 0x78(r1) /* 800C91CC 000C612C D0 21 00 7C */ stfs f1, 0x7c(r1) /* 800C91D0 000C6130 D0 01 00 80 */ stfs f0, 0x80(r1) /* 800C91D4 000C6134 98 A1 00 84 */ stb r5, 0x84(r1) /* 800C91D8 000C6138 90 01 00 88 */ stw r0, 0x88(r1) /* 800C91DC 000C613C 48 04 D9 79 */ bl __ct__10CModelDataFRC8CAnimRes /* 800C91E0 000C6140 7F 84 E3 78 */ mr r4, r28 /* 800C91E4 000C6144 38 61 00 60 */ addi r3, r1, 0x60 /* 800C91E8 000C6148 3B 20 00 01 */ li r25, 1 /* 800C91EC 000C614C 4B F8 3E F1 */ bl AllocateUniqueId__13CStateManagerFv /* 800C91F0 000C6150 A0 61 00 60 */ lhz r3, 0x60(r1) /* 800C91F4 000C6154 38 00 00 06 */ li r0, 6 /* 800C91F8 000C6158 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800C91FC 000C615C 3B 80 00 00 */ li r28, 0 /* 800C9200 000C6160 B0 61 00 64 */ sth r3, 0x64(r1) /* 800C9204 000C6164 3B A0 00 01 */ li r29, 1 /* 800C9208 000C6168 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800C920C 000C616C 3B C1 01 5C */ addi r30, r1, 0x15c /* 800C9210 000C6170 90 01 00 08 */ stw r0, 8(r1) /* 800C9214 000C6174 39 81 00 8C */ addi r12, r1, 0x8c /* 800C9218 000C6178 A3 42 C5 FC */ lhz r26, kInternalInvalidSfxId__11CSfxManager@sda21(r2) /* 800C921C 000C617C 39 60 FF FF */ li r11, -1 /* 800C9220 000C6180 D0 21 00 0C */ stfs f1, 0xc(r1) /* 800C9224 000C6184 FC 40 E0 90 */ fmr f2, f28 /* 800C9228 000C6188 38 01 01 C4 */ addi r0, r1, 0x1c4 /* 800C922C 000C618C FC 60 D8 90 */ fmr f3, f27 /* 800C9230 000C6190 D0 21 00 10 */ stfs f1, 0x10(r1) /* 800C9234 000C6194 FC 80 D0 90 */ fmr f4, f26 /* 800C9238 000C6198 FC A0 C8 90 */ fmr f5, f25 /* 800C923C 000C619C D0 21 00 14 */ stfs f1, 0x14(r1) /* 800C9240 000C61A0 FD 00 08 90 */ fmr f8, f1 /* 800C9244 000C61A4 C0 C2 8E 30 */ lfs f6, lbl_805AAB50@sda21(r2) /* 800C9248 000C61A8 7F 63 DB 78 */ mr r3, r27 /* 800C924C 000C61AC D0 21 00 18 */ stfs f1, 0x18(r1) /* 800C9250 000C61B0 C0 E2 8E 34 */ lfs f7, lbl_805AAB54@sda21(r2) /* 800C9254 000C61B4 7F E7 FB 78 */ mr r7, r31 /* 800C9258 000C61B8 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 800C925C 000C61BC 38 81 00 64 */ addi r4, r1, 0x64 /* 800C9260 000C61C0 38 A1 02 2C */ addi r5, r1, 0x22c /* 800C9264 000C61C4 39 01 02 3C */ addi r8, r1, 0x23c /* 800C9268 000C61C8 D3 E1 00 20 */ stfs f31, 0x20(r1) /* 800C926C 000C61CC 39 21 00 A8 */ addi r9, r1, 0xa8 /* 800C9270 000C61D0 39 41 02 78 */ addi r10, r1, 0x278 /* 800C9274 000C61D4 38 C0 00 00 */ li r6, 0 /* 800C9278 000C61D8 D0 21 00 24 */ stfs f1, 0x24(r1) /* 800C927C 000C61DC D0 21 00 28 */ stfs f1, 0x28(r1) /* 800C9280 000C61E0 D3 A1 00 2C */ stfs f29, 0x2c(r1) /* 800C9284 000C61E4 D3 C1 00 30 */ stfs f30, 0x30(r1) /* 800C9288 000C61E8 93 81 00 34 */ stw r28, 0x34(r1) /* 800C928C 000C61EC 93 A1 00 38 */ stw r29, 0x38(r1) /* 800C9290 000C61F0 93 C1 00 3C */ stw r30, 0x3c(r1) /* 800C9294 000C61F4 91 81 00 40 */ stw r12, 0x40(r1) /* 800C9298 000C61F8 93 41 00 44 */ stw r26, 0x44(r1) /* 800C929C 000C61FC 93 41 00 48 */ stw r26, 0x48(r1) /* 800C92A0 000C6200 93 41 00 4C */ stw r26, 0x4c(r1) /* 800C92A4 000C6204 91 61 00 50 */ stw r11, 0x50(r1) /* 800C92A8 000C6208 91 61 00 54 */ stw r11, 0x54(r1) /* 800C92AC 000C620C D0 21 00 58 */ stfs f1, 0x58(r1) /* 800C92B0 000C6210 90 01 00 5C */ stw r0, 0x5c(r1) /* 800C92B4 000C6214 48 09 11 B1 */ bl "__ct__9CParasiteF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfo9EBodyTypefffffffffffffffffbUiRC10Something1RC10Something2UsUsUsUiUifRC16CActorParameters" /* 800C92B8 000C6218 7C 7B 1B 78 */ mr r27, r3 lbl_800C92BC: /* 800C92BC 000C621C 7F 20 07 75 */ extsb. r0, r25 /* 800C92C0 000C6220 41 82 00 10 */ beq lbl_800C92D0 /* 800C92C4 000C6224 38 61 00 A8 */ addi r3, r1, 0xa8 /* 800C92C8 000C6228 38 80 FF FF */ li r4, -1 /* 800C92CC 000C622C 48 04 D7 81 */ bl __dt__10CModelDataFv lbl_800C92D0: /* 800C92D0 000C6230 38 61 01 C4 */ addi r3, r1, 0x1c4 /* 800C92D4 000C6234 38 80 FF FF */ li r4, -1 /* 800C92D8 000C6238 48 03 D3 31 */ bl __dt__16CLightParametersFv /* 800C92DC 000C623C 38 61 02 2C */ addi r3, r1, 0x22c /* 800C92E0 000C6240 48 27 48 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C92E4 000C6244 7F 63 DB 78 */ mr r3, r27 lbl_800C92E8: /* 800C92E8 000C6248 E3 E1 04 38 */ psq_l f31, 1080(r1), 0, qr0 /* 800C92EC 000C624C CB E1 04 30 */ lfd f31, 0x430(r1) /* 800C92F0 000C6250 E3 C1 04 28 */ psq_l f30, 1064(r1), 0, qr0 /* 800C92F4 000C6254 CB C1 04 20 */ lfd f30, 0x420(r1) /* 800C92F8 000C6258 E3 A1 04 18 */ psq_l f29, 1048(r1), 0, qr0 /* 800C92FC 000C625C CB A1 04 10 */ lfd f29, 0x410(r1) /* 800C9300 000C6260 E3 81 04 08 */ psq_l f28, 1032(r1), 0, qr0 /* 800C9304 000C6264 CB 81 04 00 */ lfd f28, 0x400(r1) /* 800C9308 000C6268 E3 61 03 F8 */ psq_l f27, 1016(r1), 0, qr0 /* 800C930C 000C626C CB 61 03 F0 */ lfd f27, 0x3f0(r1) /* 800C9310 000C6270 E3 41 03 E8 */ psq_l f26, 1000(r1), 0, qr0 /* 800C9314 000C6274 CB 41 03 E0 */ lfd f26, 0x3e0(r1) /* 800C9318 000C6278 E3 21 03 D8 */ psq_l f25, 984(r1), 0, qr0 /* 800C931C 000C627C CB 21 03 D0 */ lfd f25, 0x3d0(r1) /* 800C9320 000C6280 BB 21 03 B4 */ lmw r25, 0x3b4(r1) /* 800C9324 000C6284 80 01 04 44 */ lwz r0, 0x444(r1) /* 800C9328 000C6288 7C 08 03 A6 */ mtlr r0 /* 800C932C 000C628C 38 21 04 40 */ addi r1, r1, 0x440 /* 800C9330 000C6290 4E 80 00 20 */ blr .global LoadActorContraption__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadActorContraption__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C9334 000C6294 94 21 FC B0 */ stwu r1, -0x350(r1) /* 800C9338 000C6298 7C 08 02 A6 */ mflr r0 /* 800C933C 000C629C 90 01 03 54 */ stw r0, 0x354(r1) /* 800C9340 000C62A0 DB E1 03 40 */ stfd f31, 0x340(r1) /* 800C9344 000C62A4 F3 E1 03 48 */ psq_st f31, 840(r1), 0, qr0 /* 800C9348 000C62A8 DB C1 03 30 */ stfd f30, 0x330(r1) /* 800C934C 000C62AC F3 C1 03 38 */ psq_st f30, 824(r1), 0, qr0 /* 800C9350 000C62B0 BE E1 03 0C */ stmw r23, 0x30c(r1) /* 800C9354 000C62B4 2C 05 00 0F */ cmpwi r5, 0xf /* 800C9358 000C62B8 7C 78 1B 78 */ mr r24, r3 /* 800C935C 000C62BC 7C 97 23 78 */ mr r23, r4 /* 800C9360 000C62C0 7C D9 33 78 */ mr r25, r6 /* 800C9364 000C62C4 41 82 00 0C */ beq lbl_800C9370 /* 800C9368 000C62C8 38 60 00 00 */ li r3, 0 /* 800C936C 000C62CC 48 00 03 9C */ b lbl_800C9708 lbl_800C9370: /* 800C9370 000C62D0 7F 05 C3 78 */ mr r5, r24 /* 800C9374 000C62D4 38 61 02 B4 */ addi r3, r1, 0x2b4 /* 800C9378 000C62D8 48 01 11 05 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C937C 000C62DC 7E E4 BB 78 */ mr r4, r23 /* 800C9380 000C62E0 38 61 00 58 */ addi r3, r1, 0x58 /* 800C9384 000C62E4 48 24 B8 09 */ bl __ct__9CVector3fFR12CInputStream /* 800C9388 000C62E8 7E E4 BB 78 */ mr r4, r23 /* 800C938C 000C62EC 38 61 00 4C */ addi r3, r1, 0x4c /* 800C9390 000C62F0 48 24 B7 FD */ bl __ct__9CVector3fFR12CInputStream /* 800C9394 000C62F4 7E E3 BB 78 */ mr r3, r23 /* 800C9398 000C62F8 48 27 58 91 */ bl ReadFloat__12CInputStreamFv /* 800C939C 000C62FC FF E0 08 90 */ fmr f31, f1 /* 800C93A0 000C6300 7E E3 BB 78 */ mr r3, r23 /* 800C93A4 000C6304 48 27 58 85 */ bl ReadFloat__12CInputStreamFv /* 800C93A8 000C6308 FF C0 08 90 */ fmr f30, f1 /* 800C93AC 000C630C 7E E4 BB 78 */ mr r4, r23 /* 800C93B0 000C6310 38 61 00 38 */ addi r3, r1, 0x38 /* 800C93B4 000C6314 48 10 A4 91 */ bl __ct__11CHealthInfoFR12CInputStream /* 800C93B8 000C6318 7E E4 BB 78 */ mr r4, r23 /* 800C93BC 000C631C 38 61 02 4C */ addi r3, r1, 0x24c /* 800C93C0 000C6320 48 03 97 99 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 800C93C4 000C6324 7E E4 BB 78 */ mr r4, r23 /* 800C93C8 000C6328 38 61 00 40 */ addi r3, r1, 0x40 /* 800C93CC 000C632C 48 01 10 41 */ bl LoadAnimationParameters__FR12CInputStream /* 800C93D0 000C6330 83 A1 00 40 */ lwz r29, 0x40(r1) /* 800C93D4 000C6334 7E E4 BB 78 */ mr r4, r23 /* 800C93D8 000C6338 83 81 00 44 */ lwz r28, 0x44(r1) /* 800C93DC 000C633C 38 61 01 30 */ addi r3, r1, 0x130 /* 800C93E0 000C6340 83 61 00 48 */ lwz r27, 0x48(r1) /* 800C93E4 000C6344 48 01 09 91 */ bl LoadActorParameters__FR12CInputStream /* 800C93E8 000C6348 38 61 01 E4 */ addi r3, r1, 0x1e4 /* 800C93EC 000C634C 38 81 01 30 */ addi r4, r1, 0x130 /* 800C93F0 000C6350 4B FF C2 2D */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C93F4 000C6354 38 61 01 30 */ addi r3, r1, 0x130 /* 800C93F8 000C6358 38 80 FF FF */ li r4, -1 /* 800C93FC 000C635C 48 03 D2 0D */ bl __dt__16CLightParametersFv /* 800C9400 000C6360 7E E3 BB 78 */ mr r3, r23 /* 800C9404 000C6364 48 27 58 81 */ bl ReadLong__12CInputStreamFv /* 800C9408 000C6368 7C 7E 1B 78 */ mr r30, r3 /* 800C940C 000C636C 7E E4 BB 78 */ mr r4, r23 /* 800C9410 000C6370 38 61 00 E4 */ addi r3, r1, 0xe4 /* 800C9414 000C6374 4B FF A1 4D */ bl __ct__11CDamageInfoFR12CInputStream /* 800C9418 000C6378 7E E3 BB 78 */ mr r3, r23 /* 800C941C 000C637C 48 27 58 C1 */ bl ReadBool__12CInputStreamFv /* 800C9420 000C6380 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800C9424 000C6384 7C 7F 1B 78 */ mr r31, r3 /* 800C9428 000C6388 7F A4 EB 78 */ mr r4, r29 /* 800C942C 000C638C 38 65 00 04 */ addi r3, r5, 4 /* 800C9430 000C6390 48 27 28 9D */ bl GetResourceTypeById__10CResLoaderCFUi /* 800C9434 000C6394 28 03 00 00 */ cmplwi r3, 0 /* 800C9438 000C6398 40 82 00 20 */ bne lbl_800C9458 /* 800C943C 000C639C 38 61 01 E4 */ addi r3, r1, 0x1e4 /* 800C9440 000C63A0 38 80 FF FF */ li r4, -1 /* 800C9444 000C63A4 48 03 D1 C5 */ bl __dt__16CLightParametersFv /* 800C9448 000C63A8 38 61 02 B4 */ addi r3, r1, 0x2b4 /* 800C944C 000C63AC 48 27 46 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C9450 000C63B0 38 60 00 00 */ li r3, 0 /* 800C9454 000C63B4 48 00 02 B4 */ b lbl_800C9708 lbl_800C9458: /* 800C9458 000C63B8 80 19 00 00 */ lwz r0, 0(r25) /* 800C945C 000C63BC 3B 41 02 C4 */ addi r26, r1, 0x2c4 /* 800C9460 000C63C0 7F 04 C3 78 */ mr r4, r24 /* 800C9464 000C63C4 38 61 00 B4 */ addi r3, r1, 0xb4 /* 800C9468 000C63C8 90 01 00 28 */ stw r0, 0x28(r1) /* 800C946C 000C63CC 38 A1 00 2C */ addi r5, r1, 0x2c /* 800C9470 000C63D0 38 C1 00 58 */ addi r6, r1, 0x58 /* 800C9474 000C63D4 38 E1 00 4C */ addi r7, r1, 0x4c /* 800C9478 000C63D8 90 01 00 2C */ stw r0, 0x2c(r1) /* 800C947C 000C63DC 48 01 12 A1 */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f /* 800C9480 000C63E0 C0 A1 00 B4 */ lfs f5, 0xb4(r1) /* 800C9484 000C63E4 38 00 00 00 */ li r0, 0 /* 800C9488 000C63E8 C0 81 00 B8 */ lfs f4, 0xb8(r1) /* 800C948C 000C63EC 38 60 00 00 */ li r3, 0 /* 800C9490 000C63F0 C0 61 00 BC */ lfs f3, 0xbc(r1) /* 800C9494 000C63F4 38 80 00 01 */ li r4, 1 /* 800C9498 000C63F8 C0 41 00 C0 */ lfs f2, 0xc0(r1) /* 800C949C 000C63FC C0 21 00 C4 */ lfs f1, 0xc4(r1) /* 800C94A0 000C6400 C0 01 00 C8 */ lfs f0, 0xc8(r1) /* 800C94A4 000C6404 80 AD 86 F4 */ lwz r5, lbl_805A72B4@sda21(r13) /* 800C94A8 000C6408 D0 A1 00 CC */ stfs f5, 0xcc(r1) /* 800C94AC 000C640C D0 81 00 D0 */ stfs f4, 0xd0(r1) /* 800C94B0 000C6410 D0 61 00 D4 */ stfs f3, 0xd4(r1) /* 800C94B4 000C6414 D0 41 00 D8 */ stfs f2, 0xd8(r1) /* 800C94B8 000C6418 D0 21 00 DC */ stfs f1, 0xdc(r1) /* 800C94BC 000C641C D0 01 00 E0 */ stfs f0, 0xe0(r1) /* 800C94C0 000C6420 90 01 00 34 */ stw r0, 0x34(r1) /* 800C94C4 000C6424 90 01 00 30 */ stw r0, 0x30(r1) /* 800C94C8 000C6428 48 2C 0A 2D */ bl __shl2i /* 800C94CC 000C642C 80 01 00 30 */ lwz r0, 0x30(r1) /* 800C94D0 000C6430 80 C1 00 34 */ lwz r6, 0x34(r1) /* 800C94D4 000C6434 7C 00 1B 78 */ or r0, r0, r3 /* 800C94D8 000C6438 80 AD 86 F8 */ lwz r5, lbl_805A72B8@sda21(r13) /* 800C94DC 000C643C 7C C4 23 78 */ or r4, r6, r4 /* 800C94E0 000C6440 90 01 00 30 */ stw r0, 0x30(r1) /* 800C94E4 000C6444 38 60 00 00 */ li r3, 0 /* 800C94E8 000C6448 90 81 00 34 */ stw r4, 0x34(r1) /* 800C94EC 000C644C 38 80 00 01 */ li r4, 1 /* 800C94F0 000C6450 48 2C 0A 05 */ bl __shl2i /* 800C94F4 000C6454 80 01 00 30 */ lwz r0, 0x30(r1) /* 800C94F8 000C6458 80 A1 00 34 */ lwz r5, 0x34(r1) /* 800C94FC 000C645C 7C 00 1B 78 */ or r0, r0, r3 /* 800C9500 000C6460 C0 01 00 58 */ lfs f0, 0x58(r1) /* 800C9504 000C6464 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800C9508 000C6468 7C A3 23 78 */ or r3, r5, r4 /* 800C950C 000C646C 90 61 00 34 */ stw r3, 0x34(r1) /* 800C9510 000C6470 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800C9514 000C6474 90 01 00 30 */ stw r0, 0x30(r1) /* 800C9518 000C6478 40 80 00 0C */ bge lbl_800C9524 /* 800C951C 000C647C 3A E0 00 01 */ li r23, 1 /* 800C9520 000C6480 48 00 00 30 */ b lbl_800C9550 lbl_800C9524: /* 800C9524 000C6484 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 800C9528 000C6488 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800C952C 000C648C 40 80 00 0C */ bge lbl_800C9538 /* 800C9530 000C6490 3A E0 00 01 */ li r23, 1 /* 800C9534 000C6494 48 00 00 1C */ b lbl_800C9550 lbl_800C9538: /* 800C9538 000C6498 C0 01 00 60 */ lfs f0, 0x60(r1) /* 800C953C 000C649C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800C9540 000C64A0 40 80 00 0C */ bge lbl_800C954C /* 800C9544 000C64A4 3A E0 00 01 */ li r23, 1 /* 800C9548 000C64A8 48 00 00 08 */ b lbl_800C9550 lbl_800C954C: /* 800C954C 000C64AC 3A E0 00 00 */ li r23, 0 lbl_800C9550: /* 800C9550 000C64B0 C0 41 02 F4 */ lfs f2, 0x2f4(r1) /* 800C9554 000C64B4 38 00 00 01 */ li r0, 1 /* 800C9558 000C64B8 C0 21 02 F8 */ lfs f1, 0x2f8(r1) /* 800C955C 000C64BC 38 61 01 98 */ addi r3, r1, 0x198 /* 800C9560 000C64C0 C0 01 02 FC */ lfs f0, 0x2fc(r1) /* 800C9564 000C64C4 38 81 00 98 */ addi r4, r1, 0x98 /* 800C9568 000C64C8 93 A1 00 98 */ stw r29, 0x98(r1) /* 800C956C 000C64CC 93 81 00 9C */ stw r28, 0x9c(r1) /* 800C9570 000C64D0 D0 41 00 A0 */ stfs f2, 0xa0(r1) /* 800C9574 000C64D4 D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 800C9578 000C64D8 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 800C957C 000C64DC 98 01 00 AC */ stb r0, 0xac(r1) /* 800C9580 000C64E0 93 61 00 B0 */ stw r27, 0xb0(r1) /* 800C9584 000C64E4 48 04 D5 D1 */ bl __ct__10CModelDataFRC8CAnimRes /* 800C9588 000C64E8 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 800C958C 000C64EC C0 21 00 58 */ lfs f1, 0x58(r1) /* 800C9590 000C64F0 C4 03 66 A0 */ lfsu f0, sZeroVector__9CVector3f@l(r3) /* 800C9594 000C64F4 38 00 00 00 */ li r0, 0 /* 800C9598 000C64F8 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800C959C 000C64FC 40 82 00 28 */ bne lbl_800C95C4 /* 800C95A0 000C6500 C0 21 00 5C */ lfs f1, 0x5c(r1) /* 800C95A4 000C6504 C0 03 00 04 */ lfs f0, 4(r3) /* 800C95A8 000C6508 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800C95AC 000C650C 40 82 00 18 */ bne lbl_800C95C4 /* 800C95B0 000C6510 C0 21 00 60 */ lfs f1, 0x60(r1) /* 800C95B4 000C6514 C0 03 00 08 */ lfs f0, 8(r3) /* 800C95B8 000C6518 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800C95BC 000C651C 40 82 00 08 */ bne lbl_800C95C4 /* 800C95C0 000C6520 38 00 00 01 */ li r0, 1 lbl_800C95C4: /* 800C95C4 000C6524 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800C95C8 000C6528 40 82 00 0C */ bne lbl_800C95D4 /* 800C95CC 000C652C 56 E0 06 3F */ clrlwi. r0, r23, 0x18 /* 800C95D0 000C6530 41 82 00 50 */ beq lbl_800C9620 lbl_800C95D4: /* 800C95D4 000C6534 7F 44 D3 78 */ mr r4, r26 /* 800C95D8 000C6538 38 61 01 00 */ addi r3, r1, 0x100 /* 800C95DC 000C653C 48 24 96 65 */ bl GetRotation__12CTransform4fCFv /* 800C95E0 000C6540 38 61 00 80 */ addi r3, r1, 0x80 /* 800C95E4 000C6544 38 81 01 98 */ addi r4, r1, 0x198 /* 800C95E8 000C6548 38 A1 01 00 */ addi r5, r1, 0x100 /* 800C95EC 000C654C 48 04 C1 C9 */ bl GetBounds__10CModelDataCFRC12CTransform4f /* 800C95F0 000C6550 80 E1 00 80 */ lwz r7, 0x80(r1) /* 800C95F4 000C6554 80 C1 00 84 */ lwz r6, 0x84(r1) /* 800C95F8 000C6558 80 A1 00 88 */ lwz r5, 0x88(r1) /* 800C95FC 000C655C 80 81 00 8C */ lwz r4, 0x8c(r1) /* 800C9600 000C6560 80 61 00 90 */ lwz r3, 0x90(r1) /* 800C9604 000C6564 80 01 00 94 */ lwz r0, 0x94(r1) /* 800C9608 000C6568 90 E1 00 CC */ stw r7, 0xcc(r1) /* 800C960C 000C656C 90 C1 00 D0 */ stw r6, 0xd0(r1) /* 800C9610 000C6570 90 A1 00 D4 */ stw r5, 0xd4(r1) /* 800C9614 000C6574 90 81 00 D8 */ stw r4, 0xd8(r1) /* 800C9618 000C6578 90 61 00 DC */ stw r3, 0xdc(r1) /* 800C961C 000C657C 90 01 00 E0 */ stw r0, 0xe0(r1) lbl_800C9620: /* 800C9620 000C6580 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800C9624 000C6584 38 60 03 28 */ li r3, 0x328 /* 800C9628 000C6588 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800C962C 000C658C 38 A0 00 00 */ li r5, 0 /* 800C9630 000C6590 38 84 00 0D */ addi r4, r4, 0xd /* 800C9634 000C6594 48 24 C2 39 */ bl __nw__FUlPCcPCc /* 800C9638 000C6598 7C 7D 1B 79 */ or. r29, r3, r3 /* 800C963C 000C659C 41 82 00 A8 */ beq lbl_800C96E4 /* 800C9640 000C65A0 81 41 00 E4 */ lwz r10, 0xe4(r1) /* 800C9644 000C65A4 7F 04 C3 78 */ mr r4, r24 /* 800C9648 000C65A8 81 21 00 E8 */ lwz r9, 0xe8(r1) /* 800C964C 000C65AC 38 61 00 20 */ addi r3, r1, 0x20 /* 800C9650 000C65B0 81 01 00 EC */ lwz r8, 0xec(r1) /* 800C9654 000C65B4 80 E1 00 F0 */ lwz r7, 0xf0(r1) /* 800C9658 000C65B8 80 C1 00 F4 */ lwz r6, 0xf4(r1) /* 800C965C 000C65BC 80 A1 00 F8 */ lwz r5, 0xf8(r1) /* 800C9660 000C65C0 80 01 00 FC */ lwz r0, 0xfc(r1) /* 800C9664 000C65C4 91 41 00 64 */ stw r10, 0x64(r1) /* 800C9668 000C65C8 91 21 00 68 */ stw r9, 0x68(r1) /* 800C966C 000C65CC 91 01 00 6C */ stw r8, 0x6c(r1) /* 800C9670 000C65D0 90 E1 00 70 */ stw r7, 0x70(r1) /* 800C9674 000C65D4 90 C1 00 74 */ stw r6, 0x74(r1) /* 800C9678 000C65D8 90 A1 00 78 */ stw r5, 0x78(r1) /* 800C967C 000C65DC 90 01 00 7C */ stw r0, 0x7c(r1) /* 800C9680 000C65E0 4B F8 3A 5D */ bl AllocateUniqueId__13CStateManagerFv /* 800C9684 000C65E4 A0 01 00 20 */ lhz r0, 0x20(r1) /* 800C9688 000C65E8 38 A1 00 38 */ addi r5, r1, 0x38 /* 800C968C 000C65EC 38 81 02 4C */ addi r4, r1, 0x24c /* 800C9690 000C65F0 39 21 01 E4 */ addi r9, r1, 0x1e4 /* 800C9694 000C65F4 B0 01 00 24 */ sth r0, 0x24(r1) /* 800C9698 000C65F8 38 01 00 64 */ addi r0, r1, 0x64 /* 800C969C 000C65FC FC 20 F8 90 */ fmr f1, f31 /* 800C96A0 000C6600 7F A3 EB 78 */ mr r3, r29 /* 800C96A4 000C6604 90 A1 00 08 */ stw r5, 8(r1) /* 800C96A8 000C6608 FC 40 F0 90 */ fmr f2, f30 /* 800C96AC 000C660C 7F 26 CB 78 */ mr r6, r25 /* 800C96B0 000C6610 7F 47 D3 78 */ mr r7, r26 /* 800C96B4 000C6614 90 81 00 0C */ stw r4, 0xc(r1) /* 800C96B8 000C6618 38 81 00 24 */ addi r4, r1, 0x24 /* 800C96BC 000C661C 38 A1 02 B4 */ addi r5, r1, 0x2b4 /* 800C96C0 000C6620 39 01 01 98 */ addi r8, r1, 0x198 /* 800C96C4 000C6624 91 21 00 10 */ stw r9, 0x10(r1) /* 800C96C8 000C6628 39 21 00 CC */ addi r9, r1, 0xcc /* 800C96CC 000C662C 39 41 00 30 */ addi r10, r1, 0x30 /* 800C96D0 000C6630 93 C1 00 14 */ stw r30, 0x14(r1) /* 800C96D4 000C6634 90 01 00 18 */ stw r0, 0x18(r1) /* 800C96D8 000C6638 93 E1 00 1C */ stw r31, 0x1c(r1) /* 800C96DC 000C663C 48 17 62 B1 */ bl "__ct__17CActorContraptionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersiRC11CDamageInfob" /* 800C96E0 000C6640 7C 7D 1B 78 */ mr r29, r3 lbl_800C96E4: /* 800C96E4 000C6644 38 61 01 98 */ addi r3, r1, 0x198 /* 800C96E8 000C6648 38 80 FF FF */ li r4, -1 /* 800C96EC 000C664C 48 04 D3 61 */ bl __dt__10CModelDataFv /* 800C96F0 000C6650 38 61 01 E4 */ addi r3, r1, 0x1e4 /* 800C96F4 000C6654 38 80 FF FF */ li r4, -1 /* 800C96F8 000C6658 48 03 CF 11 */ bl __dt__16CLightParametersFv /* 800C96FC 000C665C 38 61 02 B4 */ addi r3, r1, 0x2b4 /* 800C9700 000C6660 48 27 43 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C9704 000C6664 7F A3 EB 78 */ mr r3, r29 lbl_800C9708: /* 800C9708 000C6668 E3 E1 03 48 */ psq_l f31, 840(r1), 0, qr0 /* 800C970C 000C666C CB E1 03 40 */ lfd f31, 0x340(r1) /* 800C9710 000C6670 E3 C1 03 38 */ psq_l f30, 824(r1), 0, qr0 /* 800C9714 000C6674 CB C1 03 30 */ lfd f30, 0x330(r1) /* 800C9718 000C6678 BA E1 03 0C */ lmw r23, 0x30c(r1) /* 800C971C 000C667C 80 01 03 54 */ lwz r0, 0x354(r1) /* 800C9720 000C6680 7C 08 03 A6 */ mtlr r0 /* 800C9724 000C6684 38 21 03 50 */ addi r1, r1, 0x350 /* 800C9728 000C6688 4E 80 00 20 */ blr .global LoadSnakeWeedSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadSnakeWeedSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C972C 000C668C 94 21 FD 40 */ stwu r1, -0x2c0(r1) /* 800C9730 000C6690 7C 08 02 A6 */ mflr r0 /* 800C9734 000C6694 90 01 02 C4 */ stw r0, 0x2c4(r1) /* 800C9738 000C6698 DB E1 02 B0 */ stfd f31, 0x2b0(r1) /* 800C973C 000C669C F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 /* 800C9740 000C66A0 DB C1 02 A0 */ stfd f30, 0x2a0(r1) /* 800C9744 000C66A4 F3 C1 02 A8 */ psq_st f30, 680(r1), 0, qr0 /* 800C9748 000C66A8 DB A1 02 90 */ stfd f29, 0x290(r1) /* 800C974C 000C66AC F3 A1 02 98 */ psq_st f29, 664(r1), 0, qr0 /* 800C9750 000C66B0 DB 81 02 80 */ stfd f28, 0x280(r1) /* 800C9754 000C66B4 F3 81 02 88 */ psq_st f28, 648(r1), 0, qr0 /* 800C9758 000C66B8 DB 61 02 70 */ stfd f27, 0x270(r1) /* 800C975C 000C66BC F3 61 02 78 */ psq_st f27, 632(r1), 0, qr0 /* 800C9760 000C66C0 DB 41 02 60 */ stfd f26, 0x260(r1) /* 800C9764 000C66C4 F3 41 02 68 */ psq_st f26, 616(r1), 0, qr0 /* 800C9768 000C66C8 DB 21 02 50 */ stfd f25, 0x250(r1) /* 800C976C 000C66CC F3 21 02 58 */ psq_st f25, 600(r1), 0, qr0 /* 800C9770 000C66D0 DB 01 02 40 */ stfd f24, 0x240(r1) /* 800C9774 000C66D4 F3 01 02 48 */ psq_st f24, 584(r1), 0, qr0 /* 800C9778 000C66D8 DA E1 02 30 */ stfd f23, 0x230(r1) /* 800C977C 000C66DC F2 E1 02 38 */ psq_st f23, 568(r1), 0, qr0 /* 800C9780 000C66E0 DA C1 02 20 */ stfd f22, 0x220(r1) /* 800C9784 000C66E4 F2 C1 02 28 */ psq_st f22, 552(r1), 0, qr0 /* 800C9788 000C66E8 DA A1 02 10 */ stfd f21, 0x210(r1) /* 800C978C 000C66EC F2 A1 02 18 */ psq_st f21, 536(r1), 0, qr0 /* 800C9790 000C66F0 DA 81 02 00 */ stfd f20, 0x200(r1) /* 800C9794 000C66F4 F2 81 02 08 */ psq_st f20, 520(r1), 0, qr0 /* 800C9798 000C66F8 DA 61 01 F0 */ stfd f19, 0x1f0(r1) /* 800C979C 000C66FC F2 61 01 F8 */ psq_st f19, 504(r1), 0, qr0 /* 800C97A0 000C6700 DA 41 01 E0 */ stfd f18, 0x1e0(r1) /* 800C97A4 000C6704 F2 41 01 E8 */ psq_st f18, 488(r1), 0, qr0 /* 800C97A8 000C6708 DA 21 01 D0 */ stfd f17, 0x1d0(r1) /* 800C97AC 000C670C F2 21 01 D8 */ psq_st f17, 472(r1), 0, qr0 /* 800C97B0 000C6710 DA 01 01 C0 */ stfd f16, 0x1c0(r1) /* 800C97B4 000C6714 F2 01 01 C8 */ psq_st f16, 456(r1), 0, qr0 /* 800C97B8 000C6718 BE 41 01 88 */ stmw r18, 0x188(r1) /* 800C97BC 000C671C 7C BF 2B 78 */ mr r31, r5 /* 800C97C0 000C6720 7C 7D 1B 78 */ mr r29, r3 /* 800C97C4 000C6724 2C 1F 00 19 */ cmpwi r31, 0x19 /* 800C97C8 000C6728 7C 9E 23 78 */ mr r30, r4 /* 800C97CC 000C672C 7C D5 33 78 */ mr r21, r6 /* 800C97D0 000C6730 38 00 00 00 */ li r0, 0 /* 800C97D4 000C6734 41 80 00 10 */ blt lbl_800C97E4 /* 800C97D8 000C6738 2C 1F 00 1D */ cmpwi r31, 0x1d /* 800C97DC 000C673C 41 81 00 08 */ bgt lbl_800C97E4 /* 800C97E0 000C6740 38 00 00 01 */ li r0, 1 lbl_800C97E4: /* 800C97E4 000C6744 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800C97E8 000C6748 40 82 00 0C */ bne lbl_800C97F4 /* 800C97EC 000C674C 38 60 00 00 */ li r3, 0 /* 800C97F0 000C6750 48 00 02 DC */ b lbl_800C9ACC lbl_800C97F4: /* 800C97F4 000C6754 7F A3 EB 78 */ mr r3, r29 /* 800C97F8 000C6758 7F C4 F3 78 */ mr r4, r30 /* 800C97FC 000C675C 4B F7 B9 E9 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800C9800 000C6760 7C 64 1B 78 */ mr r4, r3 /* 800C9804 000C6764 38 61 00 68 */ addi r3, r1, 0x68 /* 800C9808 000C6768 48 27 49 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800C980C 000C676C 7F C4 F3 78 */ mr r4, r30 /* 800C9810 000C6770 38 61 00 5C */ addi r3, r1, 0x5c /* 800C9814 000C6774 48 24 B3 79 */ bl __ct__9CVector3fFR12CInputStream /* 800C9818 000C6778 7F C4 F3 78 */ mr r4, r30 /* 800C981C 000C677C 38 61 00 50 */ addi r3, r1, 0x50 /* 800C9820 000C6780 48 24 B3 6D */ bl __ct__9CVector3fFR12CInputStream /* 800C9824 000C6784 7F C3 F3 78 */ mr r3, r30 /* 800C9828 000C6788 48 27 54 B5 */ bl ReadBool__12CInputStreamFv /* 800C982C 000C678C 7C 76 1B 78 */ mr r22, r3 /* 800C9830 000C6790 7F C3 F3 78 */ mr r3, r30 /* 800C9834 000C6794 48 27 54 51 */ bl ReadLong__12CInputStreamFv /* 800C9838 000C6798 7C 77 1B 78 */ mr r23, r3 /* 800C983C 000C679C 7F C3 F3 78 */ mr r3, r30 /* 800C9840 000C67A0 48 27 54 45 */ bl ReadLong__12CInputStreamFv /* 800C9844 000C67A4 7C 78 1B 78 */ mr r24, r3 /* 800C9848 000C67A8 7F C3 F3 78 */ mr r3, r30 /* 800C984C 000C67AC 48 27 54 39 */ bl ReadLong__12CInputStreamFv /* 800C9850 000C67B0 7C 79 1B 78 */ mr r25, r3 /* 800C9854 000C67B4 7F C4 F3 78 */ mr r4, r30 /* 800C9858 000C67B8 38 61 00 B0 */ addi r3, r1, 0xb0 /* 800C985C 000C67BC 48 01 05 19 */ bl LoadActorParameters__FR12CInputStream /* 800C9860 000C67C0 38 61 01 18 */ addi r3, r1, 0x118 /* 800C9864 000C67C4 38 81 00 B0 */ addi r4, r1, 0xb0 /* 800C9868 000C67C8 4B FF BD B5 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C986C 000C67CC 38 61 00 B0 */ addi r3, r1, 0xb0 /* 800C9870 000C67D0 38 80 FF FF */ li r4, -1 /* 800C9874 000C67D4 48 03 CD 95 */ bl __dt__16CLightParametersFv /* 800C9878 000C67D8 7F C3 F3 78 */ mr r3, r30 /* 800C987C 000C67DC 48 27 53 AD */ bl ReadFloat__12CInputStreamFv /* 800C9880 000C67E0 FF 00 08 90 */ fmr f24, f1 /* 800C9884 000C67E4 7F C3 F3 78 */ mr r3, r30 /* 800C9888 000C67E8 48 27 53 A1 */ bl ReadFloat__12CInputStreamFv /* 800C988C 000C67EC FE E0 08 90 */ fmr f23, f1 /* 800C9890 000C67F0 7F C3 F3 78 */ mr r3, r30 /* 800C9894 000C67F4 48 27 53 95 */ bl ReadFloat__12CInputStreamFv /* 800C9898 000C67F8 FE C0 08 90 */ fmr f22, f1 /* 800C989C 000C67FC 7F C3 F3 78 */ mr r3, r30 /* 800C98A0 000C6800 48 27 53 89 */ bl ReadFloat__12CInputStreamFv /* 800C98A4 000C6804 FE A0 08 90 */ fmr f21, f1 /* 800C98A8 000C6808 7F C3 F3 78 */ mr r3, r30 /* 800C98AC 000C680C 48 27 53 7D */ bl ReadFloat__12CInputStreamFv /* 800C98B0 000C6810 FE 80 08 90 */ fmr f20, f1 /* 800C98B4 000C6814 7F C3 F3 78 */ mr r3, r30 /* 800C98B8 000C6818 48 27 53 71 */ bl ReadFloat__12CInputStreamFv /* 800C98BC 000C681C FE 60 08 90 */ fmr f19, f1 /* 800C98C0 000C6820 7F C3 F3 78 */ mr r3, r30 /* 800C98C4 000C6824 48 27 53 65 */ bl ReadFloat__12CInputStreamFv /* 800C98C8 000C6828 FE 40 08 90 */ fmr f18, f1 /* 800C98CC 000C682C 7F C3 F3 78 */ mr r3, r30 /* 800C98D0 000C6830 48 27 53 59 */ bl ReadFloat__12CInputStreamFv /* 800C98D4 000C6834 FE 20 08 90 */ fmr f17, f1 /* 800C98D8 000C6838 7F C3 F3 78 */ mr r3, r30 /* 800C98DC 000C683C 48 27 53 4D */ bl ReadFloat__12CInputStreamFv /* 800C98E0 000C6840 FF 20 08 90 */ fmr f25, f1 /* 800C98E4 000C6844 7F C3 F3 78 */ mr r3, r30 /* 800C98E8 000C6848 48 27 53 41 */ bl ReadFloat__12CInputStreamFv /* 800C98EC 000C684C FF 40 08 90 */ fmr f26, f1 /* 800C98F0 000C6850 7F C3 F3 78 */ mr r3, r30 /* 800C98F4 000C6854 48 27 53 35 */ bl ReadFloat__12CInputStreamFv /* 800C98F8 000C6858 FF 60 08 90 */ fmr f27, f1 /* 800C98FC 000C685C 7F C3 F3 78 */ mr r3, r30 /* 800C9900 000C6860 48 27 53 29 */ bl ReadFloat__12CInputStreamFv /* 800C9904 000C6864 FF 80 08 90 */ fmr f28, f1 /* 800C9908 000C6868 7F C3 F3 78 */ mr r3, r30 /* 800C990C 000C686C 48 27 53 1D */ bl ReadFloat__12CInputStreamFv /* 800C9910 000C6870 FF A0 08 90 */ fmr f29, f1 /* 800C9914 000C6874 7F C3 F3 78 */ mr r3, r30 /* 800C9918 000C6878 48 27 53 11 */ bl ReadFloat__12CInputStreamFv /* 800C991C 000C687C FF C0 08 90 */ fmr f30, f1 /* 800C9920 000C6880 7F C4 F3 78 */ mr r4, r30 /* 800C9924 000C6884 38 61 00 94 */ addi r3, r1, 0x94 /* 800C9928 000C6888 4B FF 9C 39 */ bl __ct__11CDamageInfoFR12CInputStream /* 800C992C 000C688C 7F C3 F3 78 */ mr r3, r30 /* 800C9930 000C6890 48 27 52 F9 */ bl ReadFloat__12CInputStreamFv /* 800C9934 000C6894 FF E0 08 90 */ fmr f31, f1 /* 800C9938 000C6898 7F C3 F3 78 */ mr r3, r30 /* 800C993C 000C689C 48 27 53 49 */ bl ReadLong__12CInputStreamFv /* 800C9940 000C68A0 7C 7A 1B 78 */ mr r26, r3 /* 800C9944 000C68A4 7F C3 F3 78 */ mr r3, r30 /* 800C9948 000C68A8 48 27 53 3D */ bl ReadLong__12CInputStreamFv /* 800C994C 000C68AC 7C 7B 1B 78 */ mr r27, r3 /* 800C9950 000C68B0 7F C3 F3 78 */ mr r3, r30 /* 800C9954 000C68B4 48 27 53 31 */ bl ReadLong__12CInputStreamFv /* 800C9958 000C68B8 2C 1F 00 1D */ cmpwi r31, 0x1d /* 800C995C 000C68BC 7C 7C 1B 78 */ mr r28, r3 /* 800C9960 000C68C0 41 80 00 14 */ blt lbl_800C9974 /* 800C9964 000C68C4 7F C3 F3 78 */ mr r3, r30 /* 800C9968 000C68C8 48 27 53 1D */ bl ReadLong__12CInputStreamFv /* 800C996C 000C68CC 7C 74 1B 78 */ mr r20, r3 /* 800C9970 000C68D0 48 00 00 08 */ b lbl_800C9978 lbl_800C9974: /* 800C9974 000C68D4 3A 80 FF FF */ li r20, -1 lbl_800C9978: /* 800C9978 000C68D8 2C 1F 00 1D */ cmpwi r31, 0x1d /* 800C997C 000C68DC 41 80 00 14 */ blt lbl_800C9990 /* 800C9980 000C68E0 7F C3 F3 78 */ mr r3, r30 /* 800C9984 000C68E4 48 27 53 01 */ bl ReadLong__12CInputStreamFv /* 800C9988 000C68E8 7C 73 1B 78 */ mr r19, r3 /* 800C998C 000C68EC 48 00 00 08 */ b lbl_800C9994 lbl_800C9990: /* 800C9990 000C68F0 3A 60 00 00 */ li r19, 0 lbl_800C9994: /* 800C9994 000C68F4 2C 1F 00 1D */ cmpwi r31, 0x1d /* 800C9998 000C68F8 41 80 00 14 */ blt lbl_800C99AC /* 800C999C 000C68FC 7F C3 F3 78 */ mr r3, r30 /* 800C99A0 000C6900 48 27 52 E5 */ bl ReadLong__12CInputStreamFv /* 800C99A4 000C6904 7C 72 1B 78 */ mr r18, r3 /* 800C99A8 000C6908 48 00 00 08 */ b lbl_800C99B0 lbl_800C99AC: /* 800C99AC 000C690C 3A 40 FF FF */ li r18, -1 lbl_800C99B0: /* 800C99B0 000C6910 2C 1F 00 1D */ cmpwi r31, 0x1d /* 800C99B4 000C6914 41 80 00 14 */ blt lbl_800C99C8 /* 800C99B8 000C6918 7F C3 F3 78 */ mr r3, r30 /* 800C99BC 000C691C 48 27 52 6D */ bl ReadFloat__12CInputStreamFv /* 800C99C0 000C6920 FE 00 08 90 */ fmr f16, f1 /* 800C99C4 000C6924 48 00 00 08 */ b lbl_800C99CC lbl_800C99C8: /* 800C99C8 000C6928 C2 02 8E 28 */ lfs f16, lbl_805AAB48@sda21(r2) lbl_800C99CC: /* 800C99CC 000C692C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800C99D0 000C6930 38 60 02 08 */ li r3, 0x208 /* 800C99D4 000C6934 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800C99D8 000C6938 38 A0 00 00 */ li r5, 0 /* 800C99DC 000C693C 38 84 00 0D */ addi r4, r4, 0xd /* 800C99E0 000C6940 48 24 BE 8D */ bl __nw__FUlPCcPCc /* 800C99E4 000C6944 7C 7E 1B 79 */ or. r30, r3, r3 /* 800C99E8 000C6948 41 82 00 CC */ beq lbl_800C9AB4 /* 800C99EC 000C694C C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800C99F0 000C6950 38 00 00 01 */ li r0, 1 /* 800C99F4 000C6954 92 E1 00 78 */ stw r23, 0x78(r1) /* 800C99F8 000C6958 7F A4 EB 78 */ mr r4, r29 /* 800C99FC 000C695C 38 61 00 48 */ addi r3, r1, 0x48 /* 800C9A00 000C6960 93 01 00 7C */ stw r24, 0x7c(r1) /* 800C9A04 000C6964 D0 01 00 80 */ stfs f0, 0x80(r1) /* 800C9A08 000C6968 D0 01 00 84 */ stfs f0, 0x84(r1) /* 800C9A0C 000C696C D0 01 00 88 */ stfs f0, 0x88(r1) /* 800C9A10 000C6970 98 01 00 8C */ stb r0, 0x8c(r1) /* 800C9A14 000C6974 93 21 00 90 */ stw r25, 0x90(r1) /* 800C9A18 000C6978 4B F8 36 C5 */ bl AllocateUniqueId__13CStateManagerFv /* 800C9A1C 000C697C A0 61 00 48 */ lhz r3, 0x48(r1) /* 800C9A20 000C6980 38 81 01 18 */ addi r4, r1, 0x118 /* 800C9A24 000C6984 38 01 00 94 */ addi r0, r1, 0x94 /* 800C9A28 000C6988 FC 20 C0 90 */ fmr f1, f24 /* 800C9A2C 000C698C B0 61 00 4C */ sth r3, 0x4c(r1) /* 800C9A30 000C6990 FC 40 B8 90 */ fmr f2, f23 /* 800C9A34 000C6994 FC 60 B0 90 */ fmr f3, f22 /* 800C9A38 000C6998 7F C3 F3 78 */ mr r3, r30 /* 800C9A3C 000C699C 90 81 00 08 */ stw r4, 8(r1) /* 800C9A40 000C69A0 FC 80 A8 90 */ fmr f4, f21 /* 800C9A44 000C69A4 7E C5 B3 78 */ mr r5, r22 /* 800C9A48 000C69A8 D3 21 00 0C */ stfs f25, 0xc(r1) /* 800C9A4C 000C69AC FC A0 A0 90 */ fmr f5, f20 /* 800C9A50 000C69B0 7E A7 AB 78 */ mr r7, r21 /* 800C9A54 000C69B4 D3 41 00 10 */ stfs f26, 0x10(r1) /* 800C9A58 000C69B8 FC C0 98 90 */ fmr f6, f19 /* 800C9A5C 000C69BC 38 81 00 4C */ addi r4, r1, 0x4c /* 800C9A60 000C69C0 D3 61 00 14 */ stfs f27, 0x14(r1) /* 800C9A64 000C69C4 FC E0 90 90 */ fmr f7, f18 /* 800C9A68 000C69C8 38 C1 00 68 */ addi r6, r1, 0x68 /* 800C9A6C 000C69CC D3 81 00 18 */ stfs f28, 0x18(r1) /* 800C9A70 000C69D0 FD 00 88 90 */ fmr f8, f17 /* 800C9A74 000C69D4 39 01 00 5C */ addi r8, r1, 0x5c /* 800C9A78 000C69D8 D3 A1 00 1C */ stfs f29, 0x1c(r1) /* 800C9A7C 000C69DC 39 21 00 50 */ addi r9, r1, 0x50 /* 800C9A80 000C69E0 39 41 00 78 */ addi r10, r1, 0x78 /* 800C9A84 000C69E4 D3 C1 00 20 */ stfs f30, 0x20(r1) /* 800C9A88 000C69E8 90 01 00 24 */ stw r0, 0x24(r1) /* 800C9A8C 000C69EC D3 E1 00 28 */ stfs f31, 0x28(r1) /* 800C9A90 000C69F0 93 41 00 2C */ stw r26, 0x2c(r1) /* 800C9A94 000C69F4 93 61 00 30 */ stw r27, 0x30(r1) /* 800C9A98 000C69F8 93 81 00 34 */ stw r28, 0x34(r1) /* 800C9A9C 000C69FC 92 81 00 38 */ stw r20, 0x38(r1) /* 800C9AA0 000C6A00 92 61 00 3C */ stw r19, 0x3c(r1) /* 800C9AA4 000C6A04 92 41 00 40 */ stw r18, 0x40(r1) /* 800C9AA8 000C6A08 D2 01 00 44 */ stfs f16, 0x44(r1) /* 800C9AAC 000C6A0C 48 17 3C E5 */ bl __ct__15CSnakeWeedSwarm /* 800C9AB0 000C6A10 7C 7E 1B 78 */ mr r30, r3 lbl_800C9AB4: /* 800C9AB4 000C6A14 38 61 01 18 */ addi r3, r1, 0x118 /* 800C9AB8 000C6A18 38 80 FF FF */ li r4, -1 /* 800C9ABC 000C6A1C 48 03 CB 4D */ bl __dt__16CLightParametersFv /* 800C9AC0 000C6A20 38 61 00 68 */ addi r3, r1, 0x68 /* 800C9AC4 000C6A24 48 27 40 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C9AC8 000C6A28 7F C3 F3 78 */ mr r3, r30 lbl_800C9ACC: /* 800C9ACC 000C6A2C E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 /* 800C9AD0 000C6A30 CB E1 02 B0 */ lfd f31, 0x2b0(r1) /* 800C9AD4 000C6A34 E3 C1 02 A8 */ psq_l f30, 680(r1), 0, qr0 /* 800C9AD8 000C6A38 CB C1 02 A0 */ lfd f30, 0x2a0(r1) /* 800C9ADC 000C6A3C E3 A1 02 98 */ psq_l f29, 664(r1), 0, qr0 /* 800C9AE0 000C6A40 CB A1 02 90 */ lfd f29, 0x290(r1) /* 800C9AE4 000C6A44 E3 81 02 88 */ psq_l f28, 648(r1), 0, qr0 /* 800C9AE8 000C6A48 CB 81 02 80 */ lfd f28, 0x280(r1) /* 800C9AEC 000C6A4C E3 61 02 78 */ psq_l f27, 632(r1), 0, qr0 /* 800C9AF0 000C6A50 CB 61 02 70 */ lfd f27, 0x270(r1) /* 800C9AF4 000C6A54 E3 41 02 68 */ psq_l f26, 616(r1), 0, qr0 /* 800C9AF8 000C6A58 CB 41 02 60 */ lfd f26, 0x260(r1) /* 800C9AFC 000C6A5C E3 21 02 58 */ psq_l f25, 600(r1), 0, qr0 /* 800C9B00 000C6A60 CB 21 02 50 */ lfd f25, 0x250(r1) /* 800C9B04 000C6A64 E3 01 02 48 */ psq_l f24, 584(r1), 0, qr0 /* 800C9B08 000C6A68 CB 01 02 40 */ lfd f24, 0x240(r1) /* 800C9B0C 000C6A6C E2 E1 02 38 */ psq_l f23, 568(r1), 0, qr0 /* 800C9B10 000C6A70 CA E1 02 30 */ lfd f23, 0x230(r1) /* 800C9B14 000C6A74 E2 C1 02 28 */ psq_l f22, 552(r1), 0, qr0 /* 800C9B18 000C6A78 CA C1 02 20 */ lfd f22, 0x220(r1) /* 800C9B1C 000C6A7C E2 A1 02 18 */ psq_l f21, 536(r1), 0, qr0 /* 800C9B20 000C6A80 CA A1 02 10 */ lfd f21, 0x210(r1) /* 800C9B24 000C6A84 E2 81 02 08 */ psq_l f20, 520(r1), 0, qr0 /* 800C9B28 000C6A88 CA 81 02 00 */ lfd f20, 0x200(r1) /* 800C9B2C 000C6A8C E2 61 01 F8 */ psq_l f19, 504(r1), 0, qr0 /* 800C9B30 000C6A90 CA 61 01 F0 */ lfd f19, 0x1f0(r1) /* 800C9B34 000C6A94 E2 41 01 E8 */ psq_l f18, 488(r1), 0, qr0 /* 800C9B38 000C6A98 CA 41 01 E0 */ lfd f18, 0x1e0(r1) /* 800C9B3C 000C6A9C E2 21 01 D8 */ psq_l f17, 472(r1), 0, qr0 /* 800C9B40 000C6AA0 CA 21 01 D0 */ lfd f17, 0x1d0(r1) /* 800C9B44 000C6AA4 E2 01 01 C8 */ psq_l f16, 456(r1), 0, qr0 /* 800C9B48 000C6AA8 CA 01 01 C0 */ lfd f16, 0x1c0(r1) /* 800C9B4C 000C6AAC BA 41 01 88 */ lmw r18, 0x188(r1) /* 800C9B50 000C6AB0 80 01 02 C4 */ lwz r0, 0x2c4(r1) /* 800C9B54 000C6AB4 7C 08 03 A6 */ mtlr r0 /* 800C9B58 000C6AB8 38 21 02 C0 */ addi r1, r1, 0x2c0 /* 800C9B5C 000C6ABC 4E 80 00 20 */ blr .global LoadTeamAiMgr__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadTeamAiMgr__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C9B60 000C6AC0 94 21 FF A0 */ stwu r1, -0x60(r1) /* 800C9B64 000C6AC4 7C 08 02 A6 */ mflr r0 /* 800C9B68 000C6AC8 90 01 00 64 */ stw r0, 0x64(r1) /* 800C9B6C 000C6ACC 80 02 B7 58 */ lwz r0, lbl_805AD478@sda21(r2) /* 800C9B70 000C6AD0 93 E1 00 5C */ stw r31, 0x5c(r1) /* 800C9B74 000C6AD4 7C BF 2B 78 */ mr r31, r5 /* 800C9B78 000C6AD8 7C 1F 00 00 */ cmpw r31, r0 /* 800C9B7C 000C6ADC 93 C1 00 58 */ stw r30, 0x58(r1) /* 800C9B80 000C6AE0 7C DE 33 78 */ mr r30, r6 /* 800C9B84 000C6AE4 93 A1 00 54 */ stw r29, 0x54(r1) /* 800C9B88 000C6AE8 7C 9D 23 78 */ mr r29, r4 /* 800C9B8C 000C6AEC 93 81 00 50 */ stw r28, 0x50(r1) /* 800C9B90 000C6AF0 7C 7C 1B 78 */ mr r28, r3 /* 800C9B94 000C6AF4 40 80 00 0C */ bge lbl_800C9BA0 /* 800C9B98 000C6AF8 38 60 00 00 */ li r3, 0 /* 800C9B9C 000C6AFC 48 00 00 80 */ b lbl_800C9C1C lbl_800C9BA0: /* 800C9BA0 000C6B00 4B F7 B6 45 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800C9BA4 000C6B04 7C 64 1B 78 */ mr r4, r3 /* 800C9BA8 000C6B08 38 61 00 10 */ addi r3, r1, 0x10 /* 800C9BAC 000C6B0C 48 27 45 B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800C9BB0 000C6B10 7F A4 EB 78 */ mr r4, r29 /* 800C9BB4 000C6B14 7F E5 FB 78 */ mr r5, r31 /* 800C9BB8 000C6B18 38 61 00 20 */ addi r3, r1, 0x20 /* 800C9BBC 000C6B1C 48 17 08 39 */ bl sub_8023a3f4 /* 800C9BC0 000C6B20 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800C9BC4 000C6B24 38 60 00 98 */ li r3, 0x98 /* 800C9BC8 000C6B28 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800C9BCC 000C6B2C 38 A0 00 00 */ li r5, 0 /* 800C9BD0 000C6B30 38 84 00 0D */ addi r4, r4, 0xd /* 800C9BD4 000C6B34 48 24 BC 99 */ bl __nw__FUlPCcPCc /* 800C9BD8 000C6B38 7C 7F 1B 79 */ or. r31, r3, r3 /* 800C9BDC 000C6B3C 41 82 00 34 */ beq lbl_800C9C10 /* 800C9BE0 000C6B40 7F 84 E3 78 */ mr r4, r28 /* 800C9BE4 000C6B44 38 61 00 08 */ addi r3, r1, 8 /* 800C9BE8 000C6B48 4B F8 34 F5 */ bl AllocateUniqueId__13CStateManagerFv /* 800C9BEC 000C6B4C A0 01 00 08 */ lhz r0, 8(r1) /* 800C9BF0 000C6B50 7F E3 FB 78 */ mr r3, r31 /* 800C9BF4 000C6B54 7F C6 F3 78 */ mr r6, r30 /* 800C9BF8 000C6B58 38 81 00 0C */ addi r4, r1, 0xc /* 800C9BFC 000C6B5C B0 01 00 0C */ sth r0, 0xc(r1) /* 800C9C00 000C6B60 38 A1 00 10 */ addi r5, r1, 0x10 /* 800C9C04 000C6B64 38 E1 00 20 */ addi r7, r1, 0x20 /* 800C9C08 000C6B68 48 17 06 BD */ bl "__ct__10CTeamAiMgrF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRCQ210CTeamAiMgr8CUnknown" /* 800C9C0C 000C6B6C 7C 7F 1B 78 */ mr r31, r3 lbl_800C9C10: /* 800C9C10 000C6B70 38 61 00 10 */ addi r3, r1, 0x10 /* 800C9C14 000C6B74 48 27 3E CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C9C18 000C6B78 7F E3 FB 78 */ mr r3, r31 lbl_800C9C1C: /* 800C9C1C 000C6B7C 80 01 00 64 */ lwz r0, 0x64(r1) /* 800C9C20 000C6B80 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 800C9C24 000C6B84 83 C1 00 58 */ lwz r30, 0x58(r1) /* 800C9C28 000C6B88 83 A1 00 54 */ lwz r29, 0x54(r1) /* 800C9C2C 000C6B8C 83 81 00 50 */ lwz r28, 0x50(r1) /* 800C9C30 000C6B90 7C 08 03 A6 */ mtlr r0 /* 800C9C34 000C6B94 38 21 00 60 */ addi r1, r1, 0x60 /* 800C9C38 000C6B98 4E 80 00 20 */ blr .global LoadMagdolite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadMagdolite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800C9C3C 000C6B9C 94 21 FB 30 */ stwu r1, -0x4d0(r1) /* 800C9C40 000C6BA0 7C 08 02 A6 */ mflr r0 /* 800C9C44 000C6BA4 90 01 04 D4 */ stw r0, 0x4d4(r1) /* 800C9C48 000C6BA8 DB E1 04 C0 */ stfd f31, 0x4c0(r1) /* 800C9C4C 000C6BAC F3 E1 04 C8 */ psq_st f31, 1224(r1), 0, qr0 /* 800C9C50 000C6BB0 DB C1 04 B0 */ stfd f30, 0x4b0(r1) /* 800C9C54 000C6BB4 F3 C1 04 B8 */ psq_st f30, 1208(r1), 0, qr0 /* 800C9C58 000C6BB8 DB A1 04 A0 */ stfd f29, 0x4a0(r1) /* 800C9C5C 000C6BBC F3 A1 04 A8 */ psq_st f29, 1192(r1), 0, qr0 /* 800C9C60 000C6BC0 DB 81 04 90 */ stfd f28, 0x490(r1) /* 800C9C64 000C6BC4 F3 81 04 98 */ psq_st f28, 1176(r1), 0, qr0 /* 800C9C68 000C6BC8 DB 61 04 80 */ stfd f27, 0x480(r1) /* 800C9C6C 000C6BCC F3 61 04 88 */ psq_st f27, 1160(r1), 0, qr0 /* 800C9C70 000C6BD0 DB 41 04 70 */ stfd f26, 0x470(r1) /* 800C9C74 000C6BD4 F3 41 04 78 */ psq_st f26, 1144(r1), 0, qr0 /* 800C9C78 000C6BD8 DB 21 04 60 */ stfd f25, 0x460(r1) /* 800C9C7C 000C6BDC F3 21 04 68 */ psq_st f25, 1128(r1), 0, qr0 /* 800C9C80 000C6BE0 DB 01 04 50 */ stfd f24, 0x450(r1) /* 800C9C84 000C6BE4 F3 01 04 58 */ psq_st f24, 1112(r1), 0, qr0 /* 800C9C88 000C6BE8 DA E1 04 40 */ stfd f23, 0x440(r1) /* 800C9C8C 000C6BEC F2 E1 04 48 */ psq_st f23, 1096(r1), 0, qr0 /* 800C9C90 000C6BF0 BF 41 04 28 */ stmw r26, 0x428(r1) /* 800C9C94 000C6BF4 2C 05 00 16 */ cmpwi r5, 0x16 /* 800C9C98 000C6BF8 7C 7E 1B 78 */ mr r30, r3 /* 800C9C9C 000C6BFC 7C 9B 23 78 */ mr r27, r4 /* 800C9CA0 000C6C00 7C DF 33 78 */ mr r31, r6 /* 800C9CA4 000C6C04 41 82 00 0C */ beq lbl_800C9CB0 /* 800C9CA8 000C6C08 38 60 00 00 */ li r3, 0 /* 800C9CAC 000C6C0C 48 00 02 8C */ b lbl_800C9F38 lbl_800C9CB0: /* 800C9CB0 000C6C10 7F C5 F3 78 */ mr r5, r30 /* 800C9CB4 000C6C14 38 61 02 98 */ addi r3, r1, 0x298 /* 800C9CB8 000C6C18 48 01 07 C5 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800C9CBC 000C6C1C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C9CC0 000C6C20 7F 64 DB 78 */ mr r4, r27 /* 800C9CC4 000C6C24 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800C9CC8 000C6C28 38 61 00 30 */ addi r3, r1, 0x30 /* 800C9CCC 000C6C2C 38 A5 00 83 */ addi r5, r5, 0x83 /* 800C9CD0 000C6C30 48 03 BB 59 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800C9CD4 000C6C34 88 01 00 30 */ lbz r0, 0x30(r1) /* 800C9CD8 000C6C38 80 A1 00 34 */ lwz r5, 0x34(r1) /* 800C9CDC 000C6C3C 28 00 00 00 */ cmplwi r0, 0 /* 800C9CE0 000C6C40 40 82 00 14 */ bne lbl_800C9CF4 /* 800C9CE4 000C6C44 38 61 02 98 */ addi r3, r1, 0x298 /* 800C9CE8 000C6C48 48 27 3D F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C9CEC 000C6C4C 38 60 00 00 */ li r3, 0 /* 800C9CF0 000C6C50 48 00 02 48 */ b lbl_800C9F38 lbl_800C9CF4: /* 800C9CF4 000C6C54 7F 64 DB 78 */ mr r4, r27 /* 800C9CF8 000C6C58 38 61 02 E4 */ addi r3, r1, 0x2e4 /* 800C9CFC 000C6C5C 48 03 BB 7D */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800C9D00 000C6C60 7F 64 DB 78 */ mr r4, r27 /* 800C9D04 000C6C64 38 61 00 F8 */ addi r3, r1, 0xf8 /* 800C9D08 000C6C68 48 01 00 6D */ bl LoadActorParameters__FR12CInputStream /* 800C9D0C 000C6C6C 38 61 02 30 */ addi r3, r1, 0x230 /* 800C9D10 000C6C70 38 81 00 F8 */ addi r4, r1, 0xf8 /* 800C9D14 000C6C74 4B FF B9 09 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800C9D18 000C6C78 38 61 00 F8 */ addi r3, r1, 0xf8 /* 800C9D1C 000C6C7C 38 80 FF FF */ li r4, -1 /* 800C9D20 000C6C80 48 03 C8 E9 */ bl __dt__16CLightParametersFv /* 800C9D24 000C6C84 80 61 03 D0 */ lwz r3, 0x3d0(r1) /* 800C9D28 000C6C88 3C 03 00 01 */ addis r0, r3, 1 /* 800C9D2C 000C6C8C 28 00 FF FF */ cmplwi r0, 0xffff /* 800C9D30 000C6C90 40 82 00 20 */ bne lbl_800C9D50 /* 800C9D34 000C6C94 38 61 02 30 */ addi r3, r1, 0x230 /* 800C9D38 000C6C98 38 80 FF FF */ li r4, -1 /* 800C9D3C 000C6C9C 48 03 C8 CD */ bl __dt__16CLightParametersFv /* 800C9D40 000C6CA0 38 61 02 98 */ addi r3, r1, 0x298 /* 800C9D44 000C6CA4 48 27 3D 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C9D48 000C6CA8 38 60 00 00 */ li r3, 0 /* 800C9D4C 000C6CAC 48 00 01 EC */ b lbl_800C9F38 lbl_800C9D50: /* 800C9D50 000C6CB0 7F 63 DB 78 */ mr r3, r27 /* 800C9D54 000C6CB4 48 27 4E D5 */ bl ReadFloat__12CInputStreamFv /* 800C9D58 000C6CB8 FF C0 08 90 */ fmr f30, f1 /* 800C9D5C 000C6CBC 7F 63 DB 78 */ mr r3, r27 /* 800C9D60 000C6CC0 48 27 4E C9 */ bl ReadFloat__12CInputStreamFv /* 800C9D64 000C6CC4 FF A0 08 90 */ fmr f29, f1 /* 800C9D68 000C6CC8 7F 64 DB 78 */ mr r4, r27 /* 800C9D6C 000C6CCC 38 61 00 90 */ addi r3, r1, 0x90 /* 800C9D70 000C6CD0 4B FF 97 F1 */ bl __ct__11CDamageInfoFR12CInputStream /* 800C9D74 000C6CD4 7F 64 DB 78 */ mr r4, r27 /* 800C9D78 000C6CD8 38 61 00 74 */ addi r3, r1, 0x74 /* 800C9D7C 000C6CDC 4B FF 97 E5 */ bl __ct__11CDamageInfoFR12CInputStream /* 800C9D80 000C6CE0 7F 64 DB 78 */ mr r4, r27 /* 800C9D84 000C6CE4 38 61 01 C8 */ addi r3, r1, 0x1c8 /* 800C9D88 000C6CE8 48 03 8D D1 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 800C9D8C 000C6CEC 7F 64 DB 78 */ mr r4, r27 /* 800C9D90 000C6CF0 38 61 01 60 */ addi r3, r1, 0x160 /* 800C9D94 000C6CF4 48 03 8D C5 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 800C9D98 000C6CF8 7F 63 DB 78 */ mr r3, r27 /* 800C9D9C 000C6CFC 48 27 4E E9 */ bl ReadLong__12CInputStreamFv /* 800C9DA0 000C6D00 7C 7C 1B 78 */ mr r28, r3 /* 800C9DA4 000C6D04 7F 63 DB 78 */ mr r3, r27 /* 800C9DA8 000C6D08 48 27 4E DD */ bl ReadLong__12CInputStreamFv /* 800C9DAC 000C6D0C 7C 7D 1B 78 */ mr r29, r3 /* 800C9DB0 000C6D10 7F 63 DB 78 */ mr r3, r27 /* 800C9DB4 000C6D14 48 27 4E 75 */ bl ReadFloat__12CInputStreamFv /* 800C9DB8 000C6D18 FF 80 08 90 */ fmr f28, f1 /* 800C9DBC 000C6D1C 7F 63 DB 78 */ mr r3, r27 /* 800C9DC0 000C6D20 48 27 4E 69 */ bl ReadFloat__12CInputStreamFv /* 800C9DC4 000C6D24 FF 60 08 90 */ fmr f27, f1 /* 800C9DC8 000C6D28 7F 63 DB 78 */ mr r3, r27 /* 800C9DCC 000C6D2C 48 27 4E 5D */ bl ReadFloat__12CInputStreamFv /* 800C9DD0 000C6D30 FF 40 08 90 */ fmr f26, f1 /* 800C9DD4 000C6D34 7F 63 DB 78 */ mr r3, r27 /* 800C9DD8 000C6D38 48 27 4E 51 */ bl ReadFloat__12CInputStreamFv /* 800C9DDC 000C6D3C FF 20 08 90 */ fmr f25, f1 /* 800C9DE0 000C6D40 7F 64 DB 78 */ mr r4, r27 /* 800C9DE4 000C6D44 38 61 00 54 */ addi r3, r1, 0x54 /* 800C9DE8 000C6D48 48 00 01 AD */ bl sub_800c9f94 /* 800C9DEC 000C6D4C 7F 63 DB 78 */ mr r3, r27 /* 800C9DF0 000C6D50 48 27 4E 39 */ bl ReadFloat__12CInputStreamFv /* 800C9DF4 000C6D54 FF 00 08 90 */ fmr f24, f1 /* 800C9DF8 000C6D58 7F 63 DB 78 */ mr r3, r27 /* 800C9DFC 000C6D5C 48 27 4E 2D */ bl ReadFloat__12CInputStreamFv /* 800C9E00 000C6D60 FE E0 08 90 */ fmr f23, f1 /* 800C9E04 000C6D64 7F 63 DB 78 */ mr r3, r27 /* 800C9E08 000C6D68 48 27 4E 21 */ bl ReadFloat__12CInputStreamFv /* 800C9E0C 000C6D6C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800C9E10 000C6D70 FF E0 08 90 */ fmr f31, f1 /* 800C9E14 000C6D74 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l /* 800C9E18 000C6D78 3B 40 00 00 */ li r26, 0 /* 800C9E1C 000C6D7C 38 83 00 0D */ addi r4, r3, 0xd /* 800C9E20 000C6D80 38 60 07 60 */ li r3, 0x760 /* 800C9E24 000C6D84 38 A0 00 00 */ li r5, 0 /* 800C9E28 000C6D88 48 24 BA 45 */ bl __nw__FUlPCcPCc /* 800C9E2C 000C6D8C 7C 7B 1B 79 */ or. r27, r3, r3 /* 800C9E30 000C6D90 41 82 00 DC */ beq lbl_800C9F0C /* 800C9E34 000C6D94 80 E1 03 D0 */ lwz r7, 0x3d0(r1) /* 800C9E38 000C6D98 38 A0 00 01 */ li r5, 1 /* 800C9E3C 000C6D9C 80 C1 03 D4 */ lwz r6, 0x3d4(r1) /* 800C9E40 000C6DA0 38 61 00 AC */ addi r3, r1, 0xac /* 800C9E44 000C6DA4 C0 41 02 D8 */ lfs f2, 0x2d8(r1) /* 800C9E48 000C6DA8 38 81 00 38 */ addi r4, r1, 0x38 /* 800C9E4C 000C6DAC C0 21 02 DC */ lfs f1, 0x2dc(r1) /* 800C9E50 000C6DB0 C0 01 02 E0 */ lfs f0, 0x2e0(r1) /* 800C9E54 000C6DB4 80 01 03 D8 */ lwz r0, 0x3d8(r1) /* 800C9E58 000C6DB8 90 E1 00 38 */ stw r7, 0x38(r1) /* 800C9E5C 000C6DBC 90 C1 00 3C */ stw r6, 0x3c(r1) /* 800C9E60 000C6DC0 D0 41 00 40 */ stfs f2, 0x40(r1) /* 800C9E64 000C6DC4 D0 21 00 44 */ stfs f1, 0x44(r1) /* 800C9E68 000C6DC8 D0 01 00 48 */ stfs f0, 0x48(r1) /* 800C9E6C 000C6DCC 98 A1 00 4C */ stb r5, 0x4c(r1) /* 800C9E70 000C6DD0 90 01 00 50 */ stw r0, 0x50(r1) /* 800C9E74 000C6DD4 48 04 CC E1 */ bl __ct__10CModelDataFRC8CAnimRes /* 800C9E78 000C6DD8 7F C4 F3 78 */ mr r4, r30 /* 800C9E7C 000C6DDC 38 61 00 28 */ addi r3, r1, 0x28 /* 800C9E80 000C6DE0 3B 40 00 01 */ li r26, 1 /* 800C9E84 000C6DE4 4B F8 32 59 */ bl AllocateUniqueId__13CStateManagerFv /* 800C9E88 000C6DE8 A0 01 00 28 */ lhz r0, 0x28(r1) /* 800C9E8C 000C6DEC 38 61 00 90 */ addi r3, r1, 0x90 /* 800C9E90 000C6DF0 38 C1 00 74 */ addi r6, r1, 0x74 /* 800C9E94 000C6DF4 38 81 01 C8 */ addi r4, r1, 0x1c8 /* 800C9E98 000C6DF8 B0 01 00 2C */ sth r0, 0x2c(r1) /* 800C9E9C 000C6DFC 38 A1 01 60 */ addi r5, r1, 0x160 /* 800C9EA0 000C6E00 38 01 00 54 */ addi r0, r1, 0x54 /* 800C9EA4 000C6E04 FC 20 F0 90 */ fmr f1, f30 /* 800C9EA8 000C6E08 90 61 00 08 */ stw r3, 8(r1) /* 800C9EAC 000C6E0C FC 40 E8 90 */ fmr f2, f29 /* 800C9EB0 000C6E10 FC 60 C8 90 */ fmr f3, f25 /* 800C9EB4 000C6E14 7F 63 DB 78 */ mr r3, r27 /* 800C9EB8 000C6E18 90 C1 00 0C */ stw r6, 0xc(r1) /* 800C9EBC 000C6E1C FC 80 E0 90 */ fmr f4, f28 /* 800C9EC0 000C6E20 7F E6 FB 78 */ mr r6, r31 /* 800C9EC4 000C6E24 90 81 00 10 */ stw r4, 0x10(r1) /* 800C9EC8 000C6E28 FC A0 D8 90 */ fmr f5, f27 /* 800C9ECC 000C6E2C 38 81 00 2C */ addi r4, r1, 0x2c /* 800C9ED0 000C6E30 90 A1 00 14 */ stw r5, 0x14(r1) /* 800C9ED4 000C6E34 FC C0 D0 90 */ fmr f6, f26 /* 800C9ED8 000C6E38 38 A1 02 98 */ addi r5, r1, 0x298 /* 800C9EDC 000C6E3C 93 81 00 18 */ stw r28, 0x18(r1) /* 800C9EE0 000C6E40 FC E0 C0 90 */ fmr f7, f24 /* 800C9EE4 000C6E44 38 E1 02 A8 */ addi r7, r1, 0x2a8 /* 800C9EE8 000C6E48 93 A1 00 1C */ stw r29, 0x1c(r1) /* 800C9EEC 000C6E4C FD 00 B8 90 */ fmr f8, f23 /* 800C9EF0 000C6E50 39 01 00 AC */ addi r8, r1, 0xac /* 800C9EF4 000C6E54 90 01 00 20 */ stw r0, 0x20(r1) /* 800C9EF8 000C6E58 39 21 02 E4 */ addi r9, r1, 0x2e4 /* 800C9EFC 000C6E5C 39 41 02 30 */ addi r10, r1, 0x230 /* 800C9F00 000C6E60 D3 E1 00 24 */ stfs f31, 0x24(r1) /* 800C9F04 000C6E64 48 16 D4 DD */ bl "__ct__10CMagdoliteF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfo" /* 800C9F08 000C6E68 7C 7B 1B 78 */ mr r27, r3 lbl_800C9F0C: /* 800C9F0C 000C6E6C 7F 40 07 75 */ extsb. r0, r26 /* 800C9F10 000C6E70 41 82 00 10 */ beq lbl_800C9F20 /* 800C9F14 000C6E74 38 61 00 AC */ addi r3, r1, 0xac /* 800C9F18 000C6E78 38 80 FF FF */ li r4, -1 /* 800C9F1C 000C6E7C 48 04 CB 31 */ bl __dt__10CModelDataFv lbl_800C9F20: /* 800C9F20 000C6E80 38 61 02 30 */ addi r3, r1, 0x230 /* 800C9F24 000C6E84 38 80 FF FF */ li r4, -1 /* 800C9F28 000C6E88 48 03 C6 E1 */ bl __dt__16CLightParametersFv /* 800C9F2C 000C6E8C 38 61 02 98 */ addi r3, r1, 0x298 /* 800C9F30 000C6E90 48 27 3B B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800C9F34 000C6E94 7F 63 DB 78 */ mr r3, r27 lbl_800C9F38: /* 800C9F38 000C6E98 E3 E1 04 C8 */ psq_l f31, 1224(r1), 0, qr0 /* 800C9F3C 000C6E9C CB E1 04 C0 */ lfd f31, 0x4c0(r1) /* 800C9F40 000C6EA0 E3 C1 04 B8 */ psq_l f30, 1208(r1), 0, qr0 /* 800C9F44 000C6EA4 CB C1 04 B0 */ lfd f30, 0x4b0(r1) /* 800C9F48 000C6EA8 E3 A1 04 A8 */ psq_l f29, 1192(r1), 0, qr0 /* 800C9F4C 000C6EAC CB A1 04 A0 */ lfd f29, 0x4a0(r1) /* 800C9F50 000C6EB0 E3 81 04 98 */ psq_l f28, 1176(r1), 0, qr0 /* 800C9F54 000C6EB4 CB 81 04 90 */ lfd f28, 0x490(r1) /* 800C9F58 000C6EB8 E3 61 04 88 */ psq_l f27, 1160(r1), 0, qr0 /* 800C9F5C 000C6EBC CB 61 04 80 */ lfd f27, 0x480(r1) /* 800C9F60 000C6EC0 E3 41 04 78 */ psq_l f26, 1144(r1), 0, qr0 /* 800C9F64 000C6EC4 CB 41 04 70 */ lfd f26, 0x470(r1) /* 800C9F68 000C6EC8 E3 21 04 68 */ psq_l f25, 1128(r1), 0, qr0 /* 800C9F6C 000C6ECC CB 21 04 60 */ lfd f25, 0x460(r1) /* 800C9F70 000C6ED0 E3 01 04 58 */ psq_l f24, 1112(r1), 0, qr0 /* 800C9F74 000C6ED4 CB 01 04 50 */ lfd f24, 0x450(r1) /* 800C9F78 000C6ED8 E2 E1 04 48 */ psq_l f23, 1096(r1), 0, qr0 /* 800C9F7C 000C6EDC CA E1 04 40 */ lfd f23, 0x440(r1) /* 800C9F80 000C6EE0 BB 41 04 28 */ lmw r26, 0x428(r1) /* 800C9F84 000C6EE4 80 01 04 D4 */ lwz r0, 0x4d4(r1) /* 800C9F88 000C6EE8 7C 08 03 A6 */ mtlr r0 /* 800C9F8C 000C6EEC 38 21 04 D0 */ addi r1, r1, 0x4d0 /* 800C9F90 000C6EF0 4E 80 00 20 */ blr .global sub_800c9f94 sub_800c9f94: /* 800C9F94 000C6EF4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800C9F98 000C6EF8 7C 08 02 A6 */ mflr r0 /* 800C9F9C 000C6EFC 90 01 00 14 */ stw r0, 0x14(r1) /* 800C9FA0 000C6F00 93 E1 00 0C */ stw r31, 0xc(r1) /* 800C9FA4 000C6F04 7C 9F 23 78 */ mr r31, r4 /* 800C9FA8 000C6F08 93 C1 00 08 */ stw r30, 8(r1) /* 800C9FAC 000C6F0C 7C 7E 1B 78 */ mr r30, r3 /* 800C9FB0 000C6F10 7F E3 FB 78 */ mr r3, r31 /* 800C9FB4 000C6F14 48 27 4C D1 */ bl ReadLong__12CInputStreamFv /* 800C9FB8 000C6F18 90 7E 00 00 */ stw r3, 0(r30) /* 800C9FBC 000C6F1C 7F E3 FB 78 */ mr r3, r31 /* 800C9FC0 000C6F20 48 27 4C C5 */ bl ReadLong__12CInputStreamFv /* 800C9FC4 000C6F24 90 7E 00 04 */ stw r3, 4(r30) /* 800C9FC8 000C6F28 7F E3 FB 78 */ mr r3, r31 /* 800C9FCC 000C6F2C 48 27 4C B9 */ bl ReadLong__12CInputStreamFv /* 800C9FD0 000C6F30 90 7E 00 08 */ stw r3, 8(r30) /* 800C9FD4 000C6F34 7F E3 FB 78 */ mr r3, r31 /* 800C9FD8 000C6F38 48 27 4C AD */ bl ReadLong__12CInputStreamFv /* 800C9FDC 000C6F3C 90 7E 00 0C */ stw r3, 0xc(r30) /* 800C9FE0 000C6F40 7F E3 FB 78 */ mr r3, r31 /* 800C9FE4 000C6F44 48 27 4C 45 */ bl ReadFloat__12CInputStreamFv /* 800C9FE8 000C6F48 D0 3E 00 10 */ stfs f1, 0x10(r30) /* 800C9FEC 000C6F4C 7F E3 FB 78 */ mr r3, r31 /* 800C9FF0 000C6F50 48 27 4C 39 */ bl ReadFloat__12CInputStreamFv /* 800C9FF4 000C6F54 D0 3E 00 18 */ stfs f1, 0x18(r30) /* 800C9FF8 000C6F58 7F E3 FB 78 */ mr r3, r31 /* 800C9FFC 000C6F5C 48 27 4C 2D */ bl ReadFloat__12CInputStreamFv /* 800CA000 000C6F60 D0 3E 00 1C */ stfs f1, 0x1c(r30) /* 800CA004 000C6F64 7F C3 F3 78 */ mr r3, r30 /* 800CA008 000C6F68 80 01 00 14 */ lwz r0, 0x14(r1) /* 800CA00C 000C6F6C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 800CA010 000C6F70 83 C1 00 08 */ lwz r30, 8(r1) /* 800CA014 000C6F74 7C 08 03 A6 */ mtlr r0 /* 800CA018 000C6F78 38 21 00 10 */ addi r1, r1, 0x10 /* 800CA01C 000C6F7C 4E 80 00 20 */ blr .global LoadEnvFxDensityController__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadEnvFxDensityController__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CA020 000C6F80 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 800CA024 000C6F84 7C 08 02 A6 */ mflr r0 /* 800CA028 000C6F88 90 01 00 B4 */ stw r0, 0xb4(r1) /* 800CA02C 000C6F8C DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 800CA030 000C6F90 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 800CA034 000C6F94 BF 41 00 88 */ stmw r26, 0x88(r1) /* 800CA038 000C6F98 2C 05 00 04 */ cmpwi r5, 4 /* 800CA03C 000C6F9C 7C 7B 1B 78 */ mr r27, r3 /* 800CA040 000C6FA0 7C 9A 23 78 */ mr r26, r4 /* 800CA044 000C6FA4 7C DC 33 78 */ mr r28, r6 /* 800CA048 000C6FA8 41 82 00 0C */ beq lbl_800CA054 /* 800CA04C 000C6FAC 38 60 00 00 */ li r3, 0 /* 800CA050 000C6FB0 48 00 01 88 */ b lbl_800CA1D8 lbl_800CA054: /* 800CA054 000C6FB4 4B F7 B1 91 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CA058 000C6FB8 7C 64 1B 78 */ mr r4, r3 /* 800CA05C 000C6FBC 38 61 00 50 */ addi r3, r1, 0x50 /* 800CA060 000C6FC0 48 27 41 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CA064 000C6FC4 7F 43 D3 78 */ mr r3, r26 /* 800CA068 000C6FC8 48 27 4C 75 */ bl ReadBool__12CInputStreamFv /* 800CA06C 000C6FCC 7C 7E 1B 78 */ mr r30, r3 /* 800CA070 000C6FD0 7F 43 D3 78 */ mr r3, r26 /* 800CA074 000C6FD4 48 27 4B B5 */ bl ReadFloat__12CInputStreamFv /* 800CA078 000C6FD8 FF E0 08 90 */ fmr f31, f1 /* 800CA07C 000C6FDC 7F 43 D3 78 */ mr r3, r26 /* 800CA080 000C6FE0 48 27 4C 05 */ bl ReadLong__12CInputStreamFv /* 800CA084 000C6FE4 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CA088 000C6FE8 7C 7F 1B 78 */ mr r31, r3 /* 800CA08C 000C6FEC 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l /* 800CA090 000C6FF0 3B 40 00 00 */ li r26, 0 /* 800CA094 000C6FF4 38 83 00 0D */ addi r4, r3, 0xd /* 800CA098 000C6FF8 38 60 01 F8 */ li r3, 0x1f8 /* 800CA09C 000C6FFC 38 A0 00 00 */ li r5, 0 /* 800CA0A0 000C7000 48 24 B7 CD */ bl __nw__FUlPCcPCc /* 800CA0A4 000C7004 7C 7D 1B 79 */ or. r29, r3, r3 /* 800CA0A8 000C7008 41 82 01 14 */ beq lbl_800CA1BC /* 800CA0AC 000C700C 88 01 00 3C */ lbz r0, 0x3c(r1) /* 800CA0B0 000C7010 38 C0 00 00 */ li r6, 0 /* 800CA0B4 000C7014 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 800CA0B8 000C7018 C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) /* 800CA0BC 000C701C 98 01 00 3C */ stb r0, 0x3c(r1) /* 800CA0C0 000C7020 54 04 06 3E */ clrlwi r4, r0, 0x18 /* 800CA0C4 000C7024 50 C4 36 72 */ rlwimi r4, r6, 6, 0x19, 0x19 /* 800CA0C8 000C7028 38 E0 FF FF */ li r7, -1 /* 800CA0CC 000C702C 88 01 00 78 */ lbz r0, 0x78(r1) /* 800CA0D0 000C7030 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 800CA0D4 000C7034 54 85 06 3E */ clrlwi r5, r4, 0x18 /* 800CA0D8 000C7038 98 81 00 3C */ stb r4, 0x3c(r1) /* 800CA0DC 000C703C 50 C5 2E B4 */ rlwimi r5, r6, 5, 0x1a, 0x1a /* 800CA0E0 000C7040 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CA0E4 000C7044 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800CA0E8 000C7048 90 E1 00 38 */ stw r7, 0x38(r1) /* 800CA0EC 000C704C 38 61 00 40 */ addi r3, r1, 0x40 /* 800CA0F0 000C7050 98 A1 00 3C */ stb r5, 0x3c(r1) /* 800CA0F4 000C7054 38 84 00 74 */ addi r4, r4, 0x74 /* 800CA0F8 000C7058 90 E1 00 60 */ stw r7, 0x60(r1) /* 800CA0FC 000C705C 98 A1 00 64 */ stb r5, 0x64(r1) /* 800CA100 000C7060 D0 01 00 68 */ stfs f0, 0x68(r1) /* 800CA104 000C7064 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 800CA108 000C7068 D0 01 00 70 */ stfs f0, 0x70(r1) /* 800CA10C 000C706C D0 01 00 74 */ stfs f0, 0x74(r1) /* 800CA110 000C7070 98 01 00 78 */ stb r0, 0x78(r1) /* 800CA114 000C7074 4B F3 AB A5 */ bl string_l__4rstlFPCc /* 800CA118 000C7078 7F 64 DB 78 */ mr r4, r27 /* 800CA11C 000C707C 38 61 00 30 */ addi r3, r1, 0x30 /* 800CA120 000C7080 3B 40 00 01 */ li r26, 1 /* 800CA124 000C7084 4B F8 2F B9 */ bl AllocateUniqueId__13CStateManagerFv /* 800CA128 000C7088 A0 01 00 30 */ lhz r0, 0x30(r1) /* 800CA12C 000C708C A3 62 C5 FC */ lhz r27, kInternalInvalidSfxId__11CSfxManager@sda21(r2) /* 800CA130 000C7090 B0 01 00 34 */ sth r0, 0x34(r1) /* 800CA134 000C7094 48 27 FE 81 */ bl Black__6CColorFv /* 800CA138 000C7098 90 61 00 08 */ stw r3, 8(r1) /* 800CA13C 000C709C 6F EB 80 00 */ xoris r11, r31, 0x8000 /* 800CA140 000C70A0 3C 00 43 30 */ lis r0, 0x4330 /* 800CA144 000C70A4 C0 62 8E 28 */ lfs f3, lbl_805AAB48@sda21(r2) /* 800CA148 000C70A8 93 C1 00 0C */ stw r30, 0xc(r1) /* 800CA14C 000C70AC 38 A1 00 60 */ addi r5, r1, 0x60 /* 800CA150 000C70B0 3C 80 80 5A */ lis r4, sIdentity__12CTransform4f@ha /* 800CA154 000C70B4 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 800CA158 000C70B8 90 A1 00 10 */ stw r5, 0x10(r1) /* 800CA15C 000C70BC 38 A0 FF FF */ li r5, -1 /* 800CA160 000C70C0 38 E4 66 70 */ addi r7, r4, sIdentity__12CTransform4f@l /* 800CA164 000C70C4 39 43 66 A0 */ addi r10, r3, sZeroVector__9CVector3f@l /* 800CA168 000C70C8 90 A1 00 14 */ stw r5, 0x14(r1) /* 800CA16C 000C70CC FC 20 F8 90 */ fmr f1, f31 /* 800CA170 000C70D0 C8 42 8E 40 */ lfd f2, lbl_805AAB60@sda21(r2) /* 800CA174 000C70D4 FC 80 18 90 */ fmr f4, f3 /* 800CA178 000C70D8 90 A1 00 18 */ stw r5, 0x18(r1) /* 800CA17C 000C70DC 7F A3 EB 78 */ mr r3, r29 /* 800CA180 000C70E0 7F 86 E3 78 */ mr r6, r28 /* 800CA184 000C70E4 90 A1 00 1C */ stw r5, 0x1c(r1) /* 800CA188 000C70E8 38 81 00 34 */ addi r4, r1, 0x34 /* 800CA18C 000C70EC 38 A1 00 50 */ addi r5, r1, 0x50 /* 800CA190 000C70F0 39 21 00 40 */ addi r9, r1, 0x40 /* 800CA194 000C70F4 93 61 00 20 */ stw r27, 0x20(r1) /* 800CA198 000C70F8 39 00 00 31 */ li r8, 0x31 /* 800CA19C 000C70FC 93 61 00 24 */ stw r27, 0x24(r1) /* 800CA1A0 000C7100 91 61 00 84 */ stw r11, 0x84(r1) /* 800CA1A4 000C7104 90 01 00 80 */ stw r0, 0x80(r1) /* 800CA1A8 000C7108 C8 01 00 80 */ lfd f0, 0x80(r1) /* 800CA1AC 000C710C 93 61 00 28 */ stw r27, 0x28(r1) /* 800CA1B0 000C7110 EC 40 10 28 */ fsubs f2, f0, f2 /* 800CA1B4 000C7114 48 08 8A 0D */ bl "__ct__22CScriptSpecialFunctionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fQ222CScriptSpecialFunction16ESpecialFunctionRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffffRC9CVector3fRC6CColorbRC11CDamageInfoiiQ212CPlayerState9EItemTypeUsUsUs" /* 800CA1B8 000C7118 7C 7D 1B 78 */ mr r29, r3 lbl_800CA1BC: /* 800CA1BC 000C711C 7F 40 07 75 */ extsb. r0, r26 /* 800CA1C0 000C7120 41 82 00 0C */ beq lbl_800CA1CC /* 800CA1C4 000C7124 38 61 00 40 */ addi r3, r1, 0x40 /* 800CA1C8 000C7128 48 27 39 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_800CA1CC: /* 800CA1CC 000C712C 38 61 00 50 */ addi r3, r1, 0x50 /* 800CA1D0 000C7130 48 27 39 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CA1D4 000C7134 7F A3 EB 78 */ mr r3, r29 lbl_800CA1D8: /* 800CA1D8 000C7138 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 800CA1DC 000C713C CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 800CA1E0 000C7140 BB 41 00 88 */ lmw r26, 0x88(r1) /* 800CA1E4 000C7144 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 800CA1E8 000C7148 7C 08 03 A6 */ mtlr r0 /* 800CA1EC 000C714C 38 21 00 B0 */ addi r1, r1, 0xb0 /* 800CA1F0 000C7150 4E 80 00 20 */ blr .global LoadElitePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadElitePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CA1F4 000C7154 94 21 FB F0 */ stwu r1, -0x410(r1) /* 800CA1F8 000C7158 7C 08 02 A6 */ mflr r0 /* 800CA1FC 000C715C 90 01 04 14 */ stw r0, 0x414(r1) /* 800CA200 000C7160 80 02 B5 A0 */ lwz r0, lbl_805AD2C0@sda21(r2) /* 800CA204 000C7164 93 E1 04 0C */ stw r31, 0x40c(r1) /* 800CA208 000C7168 7C DF 33 78 */ mr r31, r6 /* 800CA20C 000C716C 93 C1 04 08 */ stw r30, 0x408(r1) /* 800CA210 000C7170 7C 7E 1B 78 */ mr r30, r3 /* 800CA214 000C7174 93 A1 04 04 */ stw r29, 0x404(r1) /* 800CA218 000C7178 7C BD 2B 78 */ mr r29, r5 /* 800CA21C 000C717C 7C 1D 00 00 */ cmpw r29, r0 /* 800CA220 000C7180 93 81 04 00 */ stw r28, 0x400(r1) /* 800CA224 000C7184 7C 9C 23 78 */ mr r28, r4 /* 800CA228 000C7188 40 80 00 0C */ bge lbl_800CA234 /* 800CA22C 000C718C 38 60 00 00 */ li r3, 0 /* 800CA230 000C7190 48 00 01 B0 */ b lbl_800CA3E0 lbl_800CA234: /* 800CA234 000C7194 7F C5 F3 78 */ mr r5, r30 /* 800CA238 000C7198 38 61 01 58 */ addi r3, r1, 0x158 /* 800CA23C 000C719C 48 01 02 41 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800CA240 000C71A0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CA244 000C71A4 7F 84 E3 78 */ mr r4, r28 /* 800CA248 000C71A8 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800CA24C 000C71AC 38 61 00 18 */ addi r3, r1, 0x18 /* 800CA250 000C71B0 38 A5 00 8D */ addi r5, r5, 0x8d /* 800CA254 000C71B4 48 03 B5 D5 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800CA258 000C71B8 88 01 00 18 */ lbz r0, 0x18(r1) /* 800CA25C 000C71BC 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 800CA260 000C71C0 28 00 00 00 */ cmplwi r0, 0 /* 800CA264 000C71C4 40 82 00 14 */ bne lbl_800CA278 /* 800CA268 000C71C8 38 61 01 58 */ addi r3, r1, 0x158 /* 800CA26C 000C71CC 48 27 38 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CA270 000C71D0 38 60 00 00 */ li r3, 0 /* 800CA274 000C71D4 48 00 01 6C */ b lbl_800CA3E0 lbl_800CA278: /* 800CA278 000C71D8 7F 84 E3 78 */ mr r4, r28 /* 800CA27C 000C71DC 38 61 02 C4 */ addi r3, r1, 0x2c4 /* 800CA280 000C71E0 48 03 B5 F9 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800CA284 000C71E4 7F 84 E3 78 */ mr r4, r28 /* 800CA288 000C71E8 38 61 00 88 */ addi r3, r1, 0x88 /* 800CA28C 000C71EC 48 00 FA E9 */ bl LoadActorParameters__FR12CInputStream /* 800CA290 000C71F0 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800CA294 000C71F4 38 81 00 88 */ addi r4, r1, 0x88 /* 800CA298 000C71F8 4B FF B3 85 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CA29C 000C71FC 38 61 00 88 */ addi r3, r1, 0x88 /* 800CA2A0 000C7200 38 80 FF FF */ li r4, -1 /* 800CA2A4 000C7204 48 03 C3 65 */ bl __dt__16CLightParametersFv /* 800CA2A8 000C7208 7F 84 E3 78 */ mr r4, r28 /* 800CA2AC 000C720C 7F A5 EB 78 */ mr r5, r29 /* 800CA2B0 000C7210 38 61 01 A4 */ addi r3, r1, 0x1a4 /* 800CA2B4 000C7214 48 16 3B A9 */ bl __ct__16CElitePirateDataFR12CInputStreami /* 800CA2B8 000C7218 80 61 03 B0 */ lwz r3, 0x3b0(r1) /* 800CA2BC 000C721C 3C 03 00 01 */ addis r0, r3, 1 /* 800CA2C0 000C7220 28 00 FF FF */ cmplwi r0, 0xffff /* 800CA2C4 000C7224 40 82 00 30 */ bne lbl_800CA2F4 /* 800CA2C8 000C7228 34 61 01 CC */ addic. r3, r1, 0x1cc /* 800CA2CC 000C722C 41 82 00 0C */ beq lbl_800CA2D8 /* 800CA2D0 000C7230 38 80 FF FF */ li r4, -1 /* 800CA2D4 000C7234 48 03 C3 35 */ bl __dt__16CLightParametersFv lbl_800CA2D8: /* 800CA2D8 000C7238 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800CA2DC 000C723C 38 80 FF FF */ li r4, -1 /* 800CA2E0 000C7240 48 03 C3 29 */ bl __dt__16CLightParametersFv /* 800CA2E4 000C7244 38 61 01 58 */ addi r3, r1, 0x158 /* 800CA2E8 000C7248 48 27 37 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CA2EC 000C724C 38 60 00 00 */ li r3, 0 /* 800CA2F0 000C7250 48 00 00 F0 */ b lbl_800CA3E0 lbl_800CA2F4: /* 800CA2F4 000C7254 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CA2F8 000C7258 3B 80 00 00 */ li r28, 0 /* 800CA2FC 000C725C 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800CA300 000C7260 38 60 09 90 */ li r3, 0x990 /* 800CA304 000C7264 38 84 00 0D */ addi r4, r4, 0xd /* 800CA308 000C7268 38 A0 00 00 */ li r5, 0 /* 800CA30C 000C726C 48 24 B5 61 */ bl __nw__FUlPCcPCc /* 800CA310 000C7270 7C 7D 1B 79 */ or. r29, r3, r3 /* 800CA314 000C7274 41 82 00 90 */ beq lbl_800CA3A4 /* 800CA318 000C7278 80 E1 03 B0 */ lwz r7, 0x3b0(r1) /* 800CA31C 000C727C 38 A0 00 01 */ li r5, 1 /* 800CA320 000C7280 80 C1 03 B4 */ lwz r6, 0x3b4(r1) /* 800CA324 000C7284 38 61 00 3C */ addi r3, r1, 0x3c /* 800CA328 000C7288 C0 41 01 98 */ lfs f2, 0x198(r1) /* 800CA32C 000C728C 38 81 00 20 */ addi r4, r1, 0x20 /* 800CA330 000C7290 C0 21 01 9C */ lfs f1, 0x19c(r1) /* 800CA334 000C7294 C0 01 01 A0 */ lfs f0, 0x1a0(r1) /* 800CA338 000C7298 80 01 03 B8 */ lwz r0, 0x3b8(r1) /* 800CA33C 000C729C 90 E1 00 20 */ stw r7, 0x20(r1) /* 800CA340 000C72A0 90 C1 00 24 */ stw r6, 0x24(r1) /* 800CA344 000C72A4 D0 41 00 28 */ stfs f2, 0x28(r1) /* 800CA348 000C72A8 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 800CA34C 000C72AC D0 01 00 30 */ stfs f0, 0x30(r1) /* 800CA350 000C72B0 98 A1 00 34 */ stb r5, 0x34(r1) /* 800CA354 000C72B4 90 01 00 38 */ stw r0, 0x38(r1) /* 800CA358 000C72B8 48 04 C7 FD */ bl __ct__10CModelDataFRC8CAnimRes /* 800CA35C 000C72BC 7F C4 F3 78 */ mr r4, r30 /* 800CA360 000C72C0 38 61 00 10 */ addi r3, r1, 0x10 /* 800CA364 000C72C4 3B 80 00 01 */ li r28, 1 /* 800CA368 000C72C8 4B F8 2D 75 */ bl AllocateUniqueId__13CStateManagerFv /* 800CA36C 000C72CC A0 81 00 10 */ lhz r4, 0x10(r1) /* 800CA370 000C72D0 38 01 01 A4 */ addi r0, r1, 0x1a4 /* 800CA374 000C72D4 7F A3 EB 78 */ mr r3, r29 /* 800CA378 000C72D8 7F E6 FB 78 */ mr r6, r31 /* 800CA37C 000C72DC B0 81 00 14 */ sth r4, 0x14(r1) /* 800CA380 000C72E0 38 81 00 14 */ addi r4, r1, 0x14 /* 800CA384 000C72E4 38 A1 01 58 */ addi r5, r1, 0x158 /* 800CA388 000C72E8 38 E1 01 68 */ addi r7, r1, 0x168 /* 800CA38C 000C72EC 90 01 00 08 */ stw r0, 8(r1) /* 800CA390 000C72F0 39 01 00 3C */ addi r8, r1, 0x3c /* 800CA394 000C72F4 39 21 02 C4 */ addi r9, r1, 0x2c4 /* 800CA398 000C72F8 39 41 00 F0 */ addi r10, r1, 0xf0 /* 800CA39C 000C72FC 48 16 33 F5 */ bl "__ct__12CElitePirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CElitePirateData" /* 800CA3A0 000C7300 7C 7D 1B 78 */ mr r29, r3 lbl_800CA3A4: /* 800CA3A4 000C7304 7F 80 07 75 */ extsb. r0, r28 /* 800CA3A8 000C7308 41 82 00 10 */ beq lbl_800CA3B8 /* 800CA3AC 000C730C 38 61 00 3C */ addi r3, r1, 0x3c /* 800CA3B0 000C7310 38 80 FF FF */ li r4, -1 /* 800CA3B4 000C7314 48 04 C6 99 */ bl __dt__10CModelDataFv lbl_800CA3B8: /* 800CA3B8 000C7318 34 61 01 CC */ addic. r3, r1, 0x1cc /* 800CA3BC 000C731C 41 82 00 0C */ beq lbl_800CA3C8 /* 800CA3C0 000C7320 38 80 FF FF */ li r4, -1 /* 800CA3C4 000C7324 48 03 C2 45 */ bl __dt__16CLightParametersFv lbl_800CA3C8: /* 800CA3C8 000C7328 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800CA3CC 000C732C 38 80 FF FF */ li r4, -1 /* 800CA3D0 000C7330 48 03 C2 39 */ bl __dt__16CLightParametersFv /* 800CA3D4 000C7334 38 61 01 58 */ addi r3, r1, 0x158 /* 800CA3D8 000C7338 48 27 37 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CA3DC 000C733C 7F A3 EB 78 */ mr r3, r29 lbl_800CA3E0: /* 800CA3E0 000C7340 80 01 04 14 */ lwz r0, 0x414(r1) /* 800CA3E4 000C7344 83 E1 04 0C */ lwz r31, 0x40c(r1) /* 800CA3E8 000C7348 83 C1 04 08 */ lwz r30, 0x408(r1) /* 800CA3EC 000C734C 83 A1 04 04 */ lwz r29, 0x404(r1) /* 800CA3F0 000C7350 83 81 04 00 */ lwz r28, 0x400(r1) /* 800CA3F4 000C7354 7C 08 03 A6 */ mtlr r0 /* 800CA3F8 000C7358 38 21 04 10 */ addi r1, r1, 0x410 /* 800CA3FC 000C735C 4E 80 00 20 */ blr .global LoadScriptCameraPitchVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadScriptCameraPitchVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CA400 000C7360 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 800CA404 000C7364 7C 08 02 A6 */ mflr r0 /* 800CA408 000C7368 90 01 00 B4 */ stw r0, 0xb4(r1) /* 800CA40C 000C736C DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 800CA410 000C7370 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 800CA414 000C7374 DB C1 00 90 */ stfd f30, 0x90(r1) /* 800CA418 000C7378 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 800CA41C 000C737C DB A1 00 80 */ stfd f29, 0x80(r1) /* 800CA420 000C7380 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 /* 800CA424 000C7384 93 E1 00 7C */ stw r31, 0x7c(r1) /* 800CA428 000C7388 93 C1 00 78 */ stw r30, 0x78(r1) /* 800CA42C 000C738C 93 A1 00 74 */ stw r29, 0x74(r1) /* 800CA430 000C7390 93 81 00 70 */ stw r28, 0x70(r1) /* 800CA434 000C7394 2C 05 00 08 */ cmpwi r5, 8 /* 800CA438 000C7398 7C 7C 1B 78 */ mr r28, r3 /* 800CA43C 000C739C 7C 9E 23 78 */ mr r30, r4 /* 800CA440 000C73A0 7C DD 33 78 */ mr r29, r6 /* 800CA444 000C73A4 41 82 00 0C */ beq lbl_800CA450 /* 800CA448 000C73A8 38 60 00 00 */ li r3, 0 /* 800CA44C 000C73AC 48 00 00 C8 */ b lbl_800CA514 lbl_800CA450: /* 800CA450 000C73B0 7F 85 E3 78 */ mr r5, r28 /* 800CA454 000C73B4 38 61 00 20 */ addi r3, r1, 0x20 /* 800CA458 000C73B8 48 01 00 25 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800CA45C 000C73BC 7F C3 F3 78 */ mr r3, r30 /* 800CA460 000C73C0 48 27 48 7D */ bl ReadBool__12CInputStreamFv /* 800CA464 000C73C4 7C 7F 1B 78 */ mr r31, r3 /* 800CA468 000C73C8 7F C3 F3 78 */ mr r3, r30 /* 800CA46C 000C73CC 48 27 47 BD */ bl ReadFloat__12CInputStreamFv /* 800CA470 000C73D0 FF C0 08 90 */ fmr f30, f1 /* 800CA474 000C73D4 7F C3 F3 78 */ mr r3, r30 /* 800CA478 000C73D8 48 27 47 B1 */ bl ReadFloat__12CInputStreamFv /* 800CA47C 000C73DC FF E0 08 90 */ fmr f31, f1 /* 800CA480 000C73E0 7F C3 F3 78 */ mr r3, r30 /* 800CA484 000C73E4 48 27 47 A5 */ bl ReadFloat__12CInputStreamFv /* 800CA488 000C73E8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CA48C 000C73EC FF A0 08 90 */ fmr f29, f1 /* 800CA490 000C73F0 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800CA494 000C73F4 38 A0 00 00 */ li r5, 0 /* 800CA498 000C73F8 38 60 01 40 */ li r3, 0x140 /* 800CA49C 000C73FC 38 84 00 0D */ addi r4, r4, 0xd /* 800CA4A0 000C7400 48 24 B3 CD */ bl __nw__FUlPCcPCc /* 800CA4A4 000C7404 7C 7E 1B 79 */ or. r30, r3, r3 /* 800CA4A8 000C7408 41 82 00 60 */ beq lbl_800CA508 /* 800CA4AC 000C740C C0 02 8E 50 */ lfs f0, lbl_805AAB70@sda21(r2) /* 800CA4B0 000C7410 7F 84 E3 78 */ mr r4, r28 /* 800CA4B4 000C7414 38 61 00 10 */ addi r3, r1, 0x10 /* 800CA4B8 000C7418 EC 20 07 F2 */ fmuls f1, f0, f31 /* 800CA4BC 000C741C EC 00 07 B2 */ fmuls f0, f0, f30 /* 800CA4C0 000C7420 D0 21 00 1C */ stfs f1, 0x1c(r1) /* 800CA4C4 000C7424 D0 01 00 18 */ stfs f0, 0x18(r1) /* 800CA4C8 000C7428 4B F8 2C 15 */ bl AllocateUniqueId__13CStateManagerFv /* 800CA4CC 000C742C A0 81 00 10 */ lhz r4, 0x10(r1) /* 800CA4D0 000C7430 FC 20 E8 90 */ fmr f1, f29 /* 800CA4D4 000C7434 38 01 00 1C */ addi r0, r1, 0x1c /* 800CA4D8 000C7438 7F C3 F3 78 */ mr r3, r30 /* 800CA4DC 000C743C B0 81 00 14 */ sth r4, 0x14(r1) /* 800CA4E0 000C7440 7F E5 FB 78 */ mr r5, r31 /* 800CA4E4 000C7444 7F A7 EB 78 */ mr r7, r29 /* 800CA4E8 000C7448 90 01 00 08 */ stw r0, 8(r1) /* 800CA4EC 000C744C 38 81 00 14 */ addi r4, r1, 0x14 /* 800CA4F0 000C7450 38 C1 00 20 */ addi r6, r1, 0x20 /* 800CA4F4 000C7454 39 01 00 60 */ addi r8, r1, 0x60 /* 800CA4F8 000C7458 39 21 00 30 */ addi r9, r1, 0x30 /* 800CA4FC 000C745C 39 41 00 18 */ addi r10, r1, 0x18 /* 800CA500 000C7460 48 15 C2 E9 */ bl "__ct__24CScriptCameraPitchVolumeF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fRC9CRelAngleRC9CRelAnglef" /* 800CA504 000C7464 7C 7E 1B 78 */ mr r30, r3 lbl_800CA508: /* 800CA508 000C7468 38 61 00 20 */ addi r3, r1, 0x20 /* 800CA50C 000C746C 48 27 35 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CA510 000C7470 7F C3 F3 78 */ mr r3, r30 lbl_800CA514: /* 800CA514 000C7474 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 800CA518 000C7478 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 800CA51C 000C747C E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 800CA520 000C7480 CB C1 00 90 */ lfd f30, 0x90(r1) /* 800CA524 000C7484 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 /* 800CA528 000C7488 CB A1 00 80 */ lfd f29, 0x80(r1) /* 800CA52C 000C748C 83 E1 00 7C */ lwz r31, 0x7c(r1) /* 800CA530 000C7490 83 C1 00 78 */ lwz r30, 0x78(r1) /* 800CA534 000C7494 83 A1 00 74 */ lwz r29, 0x74(r1) /* 800CA538 000C7498 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 800CA53C 000C749C 83 81 00 70 */ lwz r28, 0x70(r1) /* 800CA540 000C74A0 7C 08 03 A6 */ mtlr r0 /* 800CA544 000C74A4 38 21 00 B0 */ addi r1, r1, 0xb0 /* 800CA548 000C74A8 4E 80 00 20 */ blr .global LoadRadialDamage__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadRadialDamage__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CA54C 000C74AC 94 21 FF 00 */ stwu r1, -0x100(r1) /* 800CA550 000C74B0 7C 08 02 A6 */ mflr r0 /* 800CA554 000C74B4 90 01 01 04 */ stw r0, 0x104(r1) /* 800CA558 000C74B8 DB E1 00 F0 */ stfd f31, 0xf0(r1) /* 800CA55C 000C74BC F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 /* 800CA560 000C74C0 BF 41 00 D8 */ stmw r26, 0xd8(r1) /* 800CA564 000C74C4 2C 05 00 05 */ cmpwi r5, 5 /* 800CA568 000C74C8 7C 7D 1B 78 */ mr r29, r3 /* 800CA56C 000C74CC 7C 9A 23 78 */ mr r26, r4 /* 800CA570 000C74D0 7C DF 33 78 */ mr r31, r6 /* 800CA574 000C74D4 41 82 00 0C */ beq lbl_800CA580 /* 800CA578 000C74D8 38 60 00 00 */ li r3, 0 /* 800CA57C 000C74DC 48 00 01 74 */ b lbl_800CA6F0 lbl_800CA580: /* 800CA580 000C74E0 4B F7 AC 65 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CA584 000C74E4 7C 64 1B 78 */ mr r4, r3 /* 800CA588 000C74E8 38 61 00 54 */ addi r3, r1, 0x54 /* 800CA58C 000C74EC 48 27 3B D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CA590 000C74F0 7F 44 D3 78 */ mr r4, r26 /* 800CA594 000C74F4 38 61 00 48 */ addi r3, r1, 0x48 /* 800CA598 000C74F8 48 24 A5 F5 */ bl __ct__9CVector3fFR12CInputStream /* 800CA59C 000C74FC 7F 43 D3 78 */ mr r3, r26 /* 800CA5A0 000C7500 48 27 47 3D */ bl ReadBool__12CInputStreamFv /* 800CA5A4 000C7504 7C 7C 1B 78 */ mr r28, r3 /* 800CA5A8 000C7508 7F 44 D3 78 */ mr r4, r26 /* 800CA5AC 000C750C 38 61 00 64 */ addi r3, r1, 0x64 /* 800CA5B0 000C7510 4B FF 8F B1 */ bl __ct__11CDamageInfoFR12CInputStream /* 800CA5B4 000C7514 80 A1 00 64 */ lwz r5, 0x64(r1) /* 800CA5B8 000C7518 7F 43 D3 78 */ mr r3, r26 /* 800CA5BC 000C751C 88 81 00 68 */ lbz r4, 0x68(r1) /* 800CA5C0 000C7520 C0 61 00 6C */ lfs f3, 0x6c(r1) /* 800CA5C4 000C7524 C0 41 00 70 */ lfs f2, 0x70(r1) /* 800CA5C8 000C7528 C0 21 00 74 */ lfs f1, 0x74(r1) /* 800CA5CC 000C752C C0 01 00 78 */ lfs f0, 0x78(r1) /* 800CA5D0 000C7530 88 01 00 7C */ lbz r0, 0x7c(r1) /* 800CA5D4 000C7534 90 A1 00 80 */ stw r5, 0x80(r1) /* 800CA5D8 000C7538 98 81 00 84 */ stb r4, 0x84(r1) /* 800CA5DC 000C753C D0 61 00 88 */ stfs f3, 0x88(r1) /* 800CA5E0 000C7540 D0 41 00 8C */ stfs f2, 0x8c(r1) /* 800CA5E4 000C7544 D0 21 00 90 */ stfs f1, 0x90(r1) /* 800CA5E8 000C7548 D0 01 00 94 */ stfs f0, 0x94(r1) /* 800CA5EC 000C754C 98 01 00 98 */ stb r0, 0x98(r1) /* 800CA5F0 000C7550 48 27 46 39 */ bl ReadFloat__12CInputStreamFv /* 800CA5F4 000C7554 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CA5F8 000C7558 FF E0 08 90 */ fmr f31, f1 /* 800CA5FC 000C755C 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l /* 800CA600 000C7560 3B C0 00 00 */ li r30, 0 /* 800CA604 000C7564 38 83 00 0D */ addi r4, r3, 0xd /* 800CA608 000C7568 38 A0 00 00 */ li r5, 0 /* 800CA60C 000C756C 38 60 01 F8 */ li r3, 0x1f8 /* 800CA610 000C7570 48 24 B2 5D */ bl __nw__FUlPCcPCc /* 800CA614 000C7574 7C 7B 1B 79 */ or. r27, r3, r3 /* 800CA618 000C7578 41 82 00 BC */ beq lbl_800CA6D4 /* 800CA61C 000C757C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CA620 000C7580 38 61 00 38 */ addi r3, r1, 0x38 /* 800CA624 000C7584 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CA628 000C7588 38 84 00 74 */ addi r4, r4, 0x74 /* 800CA62C 000C758C 4B F3 A6 8D */ bl string_l__4rstlFPCc /* 800CA630 000C7590 7F A4 EB 78 */ mr r4, r29 /* 800CA634 000C7594 38 61 00 30 */ addi r3, r1, 0x30 /* 800CA638 000C7598 3B C0 00 01 */ li r30, 1 /* 800CA63C 000C759C 4B F8 2A A1 */ bl AllocateUniqueId__13CStateManagerFv /* 800CA640 000C75A0 A0 01 00 30 */ lhz r0, 0x30(r1) /* 800CA644 000C75A4 A3 42 C5 FC */ lhz r26, kInternalInvalidSfxId__11CSfxManager@sda21(r2) /* 800CA648 000C75A8 B0 01 00 34 */ sth r0, 0x34(r1) /* 800CA64C 000C75AC 48 27 F9 69 */ bl Black__6CColorFv /* 800CA650 000C75B0 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha /* 800CA654 000C75B4 7C 7D 1B 78 */ mr r29, r3 /* 800CA658 000C75B8 38 84 66 A0 */ addi r4, r4, sZeroVector__9CVector3f@l /* 800CA65C 000C75BC 38 61 00 9C */ addi r3, r1, 0x9c /* 800CA660 000C75C0 38 A1 00 48 */ addi r5, r1, 0x48 /* 800CA664 000C75C4 48 00 FF 81 */ bl ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f /* 800CA668 000C75C8 93 A1 00 08 */ stw r29, 8(r1) /* 800CA66C 000C75CC 57 80 06 3E */ clrlwi r0, r28, 0x18 /* 800CA670 000C75D0 C0 42 8E 28 */ lfs f2, lbl_805AAB48@sda21(r2) /* 800CA674 000C75D4 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 800CA678 000C75D8 90 01 00 0C */ stw r0, 0xc(r1) /* 800CA67C 000C75DC 38 81 00 80 */ addi r4, r1, 0x80 /* 800CA680 000C75E0 39 43 66 A0 */ addi r10, r3, sZeroVector__9CVector3f@l /* 800CA684 000C75E4 38 00 FF FF */ li r0, -1 /* 800CA688 000C75E8 90 81 00 10 */ stw r4, 0x10(r1) /* 800CA68C 000C75EC FC 20 F8 90 */ fmr f1, f31 /* 800CA690 000C75F0 FC 60 10 90 */ fmr f3, f2 /* 800CA694 000C75F4 7F 63 DB 78 */ mr r3, r27 /* 800CA698 000C75F8 90 01 00 14 */ stw r0, 0x14(r1) /* 800CA69C 000C75FC FC 80 10 90 */ fmr f4, f2 /* 800CA6A0 000C7600 7F E6 FB 78 */ mr r6, r31 /* 800CA6A4 000C7604 90 01 00 18 */ stw r0, 0x18(r1) /* 800CA6A8 000C7608 38 81 00 34 */ addi r4, r1, 0x34 /* 800CA6AC 000C760C 38 A1 00 54 */ addi r5, r1, 0x54 /* 800CA6B0 000C7610 90 01 00 1C */ stw r0, 0x1c(r1) /* 800CA6B4 000C7614 38 E1 00 9C */ addi r7, r1, 0x9c /* 800CA6B8 000C7618 39 21 00 38 */ addi r9, r1, 0x38 /* 800CA6BC 000C761C 39 00 00 30 */ li r8, 0x30 /* 800CA6C0 000C7620 93 41 00 20 */ stw r26, 0x20(r1) /* 800CA6C4 000C7624 93 41 00 24 */ stw r26, 0x24(r1) /* 800CA6C8 000C7628 93 41 00 28 */ stw r26, 0x28(r1) /* 800CA6CC 000C762C 48 08 84 F5 */ bl "__ct__22CScriptSpecialFunctionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fQ222CScriptSpecialFunction16ESpecialFunctionRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffffRC9CVector3fRC6CColorbRC11CDamageInfoiiQ212CPlayerState9EItemTypeUsUsUs" /* 800CA6D0 000C7630 7C 7B 1B 78 */ mr r27, r3 lbl_800CA6D4: /* 800CA6D4 000C7634 7F C0 07 75 */ extsb. r0, r30 /* 800CA6D8 000C7638 41 82 00 0C */ beq lbl_800CA6E4 /* 800CA6DC 000C763C 38 61 00 38 */ addi r3, r1, 0x38 /* 800CA6E0 000C7640 48 27 34 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_800CA6E4: /* 800CA6E4 000C7644 38 61 00 54 */ addi r3, r1, 0x54 /* 800CA6E8 000C7648 48 27 33 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CA6EC 000C764C 7F 63 DB 78 */ mr r3, r27 lbl_800CA6F0: /* 800CA6F0 000C7650 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 /* 800CA6F4 000C7654 CB E1 00 F0 */ lfd f31, 0xf0(r1) /* 800CA6F8 000C7658 BB 41 00 D8 */ lmw r26, 0xd8(r1) /* 800CA6FC 000C765C 80 01 01 04 */ lwz r0, 0x104(r1) /* 800CA700 000C7660 7C 08 03 A6 */ mtlr r0 /* 800CA704 000C7664 38 21 01 00 */ addi r1, r1, 0x100 /* 800CA708 000C7668 4E 80 00 20 */ blr .global LoadEyeBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadEyeBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CA70C 000C766C 94 21 FC 40 */ stwu r1, -0x3c0(r1) /* 800CA710 000C7670 7C 08 02 A6 */ mflr r0 /* 800CA714 000C7674 90 01 03 C4 */ stw r0, 0x3c4(r1) /* 800CA718 000C7678 DB E1 03 B0 */ stfd f31, 0x3b0(r1) /* 800CA71C 000C767C F3 E1 03 B8 */ psq_st f31, 952(r1), 0, qr0 /* 800CA720 000C7680 DB C1 03 A0 */ stfd f30, 0x3a0(r1) /* 800CA724 000C7684 F3 C1 03 A8 */ psq_st f30, 936(r1), 0, qr0 /* 800CA728 000C7688 BE 01 03 60 */ stmw r16, 0x360(r1) /* 800CA72C 000C768C 2C 05 00 15 */ cmpwi r5, 0x15 /* 800CA730 000C7690 7C 7E 1B 78 */ mr r30, r3 /* 800CA734 000C7694 7C 90 23 78 */ mr r16, r4 /* 800CA738 000C7698 7C DF 33 78 */ mr r31, r6 /* 800CA73C 000C769C 41 82 00 0C */ beq lbl_800CA748 /* 800CA740 000C76A0 38 60 00 00 */ li r3, 0 /* 800CA744 000C76A4 48 00 02 A4 */ b lbl_800CA9E8 lbl_800CA748: /* 800CA748 000C76A8 4B F7 AA 9D */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CA74C 000C76AC 7C 64 1B 78 */ mr r4, r3 /* 800CA750 000C76B0 38 61 00 5C */ addi r3, r1, 0x5c /* 800CA754 000C76B4 48 27 3A 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CA758 000C76B8 7E 03 83 78 */ mr r3, r16 /* 800CA75C 000C76BC 48 27 45 29 */ bl ReadLong__12CInputStreamFv /* 800CA760 000C76C0 7C 71 1B 78 */ mr r17, r3 /* 800CA764 000C76C4 7E 04 83 78 */ mr r4, r16 /* 800CA768 000C76C8 38 61 00 A4 */ addi r3, r1, 0xa4 /* 800CA76C 000C76CC 48 00 FE 21 */ bl LoadEditorTransform__FR12CInputStream /* 800CA770 000C76D0 38 61 00 D4 */ addi r3, r1, 0xd4 /* 800CA774 000C76D4 38 81 00 A4 */ addi r4, r1, 0xa4 /* 800CA778 000C76D8 48 24 83 FD */ bl __ct__12CTransform4fFRC12CTransform4f /* 800CA77C 000C76DC 7E 04 83 78 */ mr r4, r16 /* 800CA780 000C76E0 38 61 00 50 */ addi r3, r1, 0x50 /* 800CA784 000C76E4 48 24 A4 09 */ bl __ct__9CVector3fFR12CInputStream /* 800CA788 000C76E8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CA78C 000C76EC 7E 04 83 78 */ mr r4, r16 /* 800CA790 000C76F0 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800CA794 000C76F4 38 61 00 48 */ addi r3, r1, 0x48 /* 800CA798 000C76F8 38 A5 00 9A */ addi r5, r5, 0x9a /* 800CA79C 000C76FC 48 03 B0 8D */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800CA7A0 000C7700 88 01 00 48 */ lbz r0, 0x48(r1) /* 800CA7A4 000C7704 80 A1 00 4C */ lwz r5, 0x4c(r1) /* 800CA7A8 000C7708 28 00 00 00 */ cmplwi r0, 0 /* 800CA7AC 000C770C 40 82 00 14 */ bne lbl_800CA7C0 /* 800CA7B0 000C7710 38 61 00 5C */ addi r3, r1, 0x5c /* 800CA7B4 000C7714 48 27 33 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CA7B8 000C7718 38 60 00 00 */ li r3, 0 /* 800CA7BC 000C771C 48 00 02 2C */ b lbl_800CA9E8 lbl_800CA7C0: /* 800CA7C0 000C7720 7E 04 83 78 */ mr r4, r16 /* 800CA7C4 000C7724 38 61 02 20 */ addi r3, r1, 0x220 /* 800CA7C8 000C7728 48 03 B0 B1 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800CA7CC 000C772C 7E 04 83 78 */ mr r4, r16 /* 800CA7D0 000C7730 38 61 01 50 */ addi r3, r1, 0x150 /* 800CA7D4 000C7734 48 00 F5 A1 */ bl LoadActorParameters__FR12CInputStream /* 800CA7D8 000C7738 38 61 01 B8 */ addi r3, r1, 0x1b8 /* 800CA7DC 000C773C 38 81 01 50 */ addi r4, r1, 0x150 /* 800CA7E0 000C7740 4B FF AE 3D */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CA7E4 000C7744 38 61 01 50 */ addi r3, r1, 0x150 /* 800CA7E8 000C7748 38 80 FF FF */ li r4, -1 /* 800CA7EC 000C774C 48 03 BE 1D */ bl __dt__16CLightParametersFv /* 800CA7F0 000C7750 7E 03 83 78 */ mr r3, r16 /* 800CA7F4 000C7754 48 27 44 35 */ bl ReadFloat__12CInputStreamFv /* 800CA7F8 000C7758 FF E0 08 90 */ fmr f31, f1 /* 800CA7FC 000C775C 7E 03 83 78 */ mr r3, r16 /* 800CA800 000C7760 48 27 44 29 */ bl ReadFloat__12CInputStreamFv /* 800CA804 000C7764 FF C0 08 90 */ fmr f30, f1 /* 800CA808 000C7768 7E 03 83 78 */ mr r3, r16 /* 800CA80C 000C776C 48 27 44 79 */ bl ReadLong__12CInputStreamFv /* 800CA810 000C7770 7C 72 1B 78 */ mr r18, r3 /* 800CA814 000C7774 7E 04 83 78 */ mr r4, r16 /* 800CA818 000C7778 38 61 00 88 */ addi r3, r1, 0x88 /* 800CA81C 000C777C 4B FF 8D 45 */ bl __ct__11CDamageInfoFR12CInputStream /* 800CA820 000C7780 7E 03 83 78 */ mr r3, r16 /* 800CA824 000C7784 48 27 44 61 */ bl ReadLong__12CInputStreamFv /* 800CA828 000C7788 7C 73 1B 78 */ mr r19, r3 /* 800CA82C 000C778C 7E 03 83 78 */ mr r3, r16 /* 800CA830 000C7790 48 27 44 55 */ bl ReadLong__12CInputStreamFv /* 800CA834 000C7794 7C 74 1B 78 */ mr r20, r3 /* 800CA838 000C7798 7E 03 83 78 */ mr r3, r16 /* 800CA83C 000C779C 48 27 44 49 */ bl ReadLong__12CInputStreamFv /* 800CA840 000C77A0 7C 75 1B 78 */ mr r21, r3 /* 800CA844 000C77A4 7E 03 83 78 */ mr r3, r16 /* 800CA848 000C77A8 48 27 44 3D */ bl ReadLong__12CInputStreamFv /* 800CA84C 000C77AC 7C 76 1B 78 */ mr r22, r3 /* 800CA850 000C77B0 7E 03 83 78 */ mr r3, r16 /* 800CA854 000C77B4 48 27 44 31 */ bl ReadLong__12CInputStreamFv /* 800CA858 000C77B8 7C 77 1B 78 */ mr r23, r3 /* 800CA85C 000C77BC 7E 03 83 78 */ mr r3, r16 /* 800CA860 000C77C0 48 27 44 25 */ bl ReadLong__12CInputStreamFv /* 800CA864 000C77C4 7C 78 1B 78 */ mr r24, r3 /* 800CA868 000C77C8 7E 03 83 78 */ mr r3, r16 /* 800CA86C 000C77CC 48 27 44 19 */ bl ReadLong__12CInputStreamFv /* 800CA870 000C77D0 7C 79 1B 78 */ mr r25, r3 /* 800CA874 000C77D4 7E 03 83 78 */ mr r3, r16 /* 800CA878 000C77D8 48 27 44 0D */ bl ReadLong__12CInputStreamFv /* 800CA87C 000C77DC 7C 7A 1B 78 */ mr r26, r3 /* 800CA880 000C77E0 7E 03 83 78 */ mr r3, r16 /* 800CA884 000C77E4 48 27 44 01 */ bl ReadLong__12CInputStreamFv /* 800CA888 000C77E8 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800CA88C 000C77EC 7C 7B 1B 78 */ mr r27, r3 /* 800CA890 000C77F0 80 81 03 0C */ lwz r4, 0x30c(r1) /* 800CA894 000C77F4 38 65 00 04 */ addi r3, r5, 4 /* 800CA898 000C77F8 48 27 14 35 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800CA89C 000C77FC 3C 03 BE B2 */ addis r0, r3, 0xbeb2 /* 800CA8A0 000C7800 28 00 43 53 */ cmplwi r0, 0x4353 /* 800CA8A4 000C7804 41 82 00 20 */ beq lbl_800CA8C4 /* 800CA8A8 000C7808 38 61 01 B8 */ addi r3, r1, 0x1b8 /* 800CA8AC 000C780C 38 80 FF FF */ li r4, -1 /* 800CA8B0 000C7810 48 03 BD 59 */ bl __dt__16CLightParametersFv /* 800CA8B4 000C7814 38 61 00 5C */ addi r3, r1, 0x5c /* 800CA8B8 000C7818 48 27 32 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CA8BC 000C781C 38 60 00 00 */ li r3, 0 /* 800CA8C0 000C7820 48 00 01 28 */ b lbl_800CA9E8 lbl_800CA8C4: /* 800CA8C4 000C7824 7E 03 83 78 */ mr r3, r16 /* 800CA8C8 000C7828 48 27 44 15 */ bl ReadBool__12CInputStreamFv /* 800CA8CC 000C782C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CA8D0 000C7830 7C 7C 1B 78 */ mr r28, r3 /* 800CA8D4 000C7834 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l /* 800CA8D8 000C7838 3B A0 00 00 */ li r29, 0 /* 800CA8DC 000C783C 38 83 00 0D */ addi r4, r3, 0xd /* 800CA8E0 000C7840 38 60 06 10 */ li r3, 0x610 /* 800CA8E4 000C7844 38 A0 00 00 */ li r5, 0 /* 800CA8E8 000C7848 48 24 AF 85 */ bl __nw__FUlPCcPCc /* 800CA8EC 000C784C 7C 70 1B 79 */ or. r16, r3, r3 /* 800CA8F0 000C7850 41 82 00 CC */ beq lbl_800CA9BC /* 800CA8F4 000C7854 80 E1 03 0C */ lwz r7, 0x30c(r1) /* 800CA8F8 000C7858 38 A0 00 01 */ li r5, 1 /* 800CA8FC 000C785C 80 C1 03 10 */ lwz r6, 0x310(r1) /* 800CA900 000C7860 38 61 01 04 */ addi r3, r1, 0x104 /* 800CA904 000C7864 C0 41 00 50 */ lfs f2, 0x50(r1) /* 800CA908 000C7868 38 81 00 6C */ addi r4, r1, 0x6c /* 800CA90C 000C786C C0 21 00 54 */ lfs f1, 0x54(r1) /* 800CA910 000C7870 C0 01 00 58 */ lfs f0, 0x58(r1) /* 800CA914 000C7874 80 01 03 14 */ lwz r0, 0x314(r1) /* 800CA918 000C7878 90 E1 00 6C */ stw r7, 0x6c(r1) /* 800CA91C 000C787C 90 C1 00 70 */ stw r6, 0x70(r1) /* 800CA920 000C7880 D0 41 00 74 */ stfs f2, 0x74(r1) /* 800CA924 000C7884 D0 21 00 78 */ stfs f1, 0x78(r1) /* 800CA928 000C7888 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 800CA92C 000C788C 98 A1 00 80 */ stb r5, 0x80(r1) /* 800CA930 000C7890 90 01 00 84 */ stw r0, 0x84(r1) /* 800CA934 000C7894 48 04 C2 21 */ bl __ct__10CModelDataFRC8CAnimRes /* 800CA938 000C7898 7F C4 F3 78 */ mr r4, r30 /* 800CA93C 000C789C 38 61 00 40 */ addi r3, r1, 0x40 /* 800CA940 000C78A0 3B A0 00 01 */ li r29, 1 /* 800CA944 000C78A4 4B F8 27 99 */ bl AllocateUniqueId__13CStateManagerFv /* 800CA948 000C78A8 A0 61 00 40 */ lhz r3, 0x40(r1) /* 800CA94C 000C78AC 39 01 00 88 */ addi r8, r1, 0x88 /* 800CA950 000C78B0 FC 20 F8 90 */ fmr f1, f31 /* 800CA954 000C78B4 38 01 01 B8 */ addi r0, r1, 0x1b8 /* 800CA958 000C78B8 B0 61 00 44 */ sth r3, 0x44(r1) /* 800CA95C 000C78BC FC 40 F0 90 */ fmr f2, f30 /* 800CA960 000C78C0 7E 03 83 78 */ mr r3, r16 /* 800CA964 000C78C4 7E 26 8B 78 */ mr r6, r17 /* 800CA968 000C78C8 92 41 00 08 */ stw r18, 8(r1) /* 800CA96C 000C78CC 7F E7 FB 78 */ mr r7, r31 /* 800CA970 000C78D0 38 81 00 44 */ addi r4, r1, 0x44 /* 800CA974 000C78D4 38 A1 00 5C */ addi r5, r1, 0x5c /* 800CA978 000C78D8 91 01 00 0C */ stw r8, 0xc(r1) /* 800CA97C 000C78DC 39 01 00 D4 */ addi r8, r1, 0xd4 /* 800CA980 000C78E0 39 21 01 04 */ addi r9, r1, 0x104 /* 800CA984 000C78E4 39 41 02 20 */ addi r10, r1, 0x220 /* 800CA988 000C78E8 92 61 00 10 */ stw r19, 0x10(r1) /* 800CA98C 000C78EC 92 81 00 14 */ stw r20, 0x14(r1) /* 800CA990 000C78F0 92 A1 00 18 */ stw r21, 0x18(r1) /* 800CA994 000C78F4 92 C1 00 1C */ stw r22, 0x1c(r1) /* 800CA998 000C78F8 92 E1 00 20 */ stw r23, 0x20(r1) /* 800CA99C 000C78FC 93 01 00 24 */ stw r24, 0x24(r1) /* 800CA9A0 000C7900 93 21 00 28 */ stw r25, 0x28(r1) /* 800CA9A4 000C7904 93 41 00 2C */ stw r26, 0x2c(r1) /* 800CA9A8 000C7908 93 61 00 30 */ stw r27, 0x30(r1) /* 800CA9AC 000C790C 93 81 00 34 */ stw r28, 0x34(r1) /* 800CA9B0 000C7910 90 01 00 38 */ stw r0, 0x38(r1) /* 800CA9B4 000C7914 48 15 AD 45 */ bl "__ct__8CEyeBallF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoffUiRC11CDamageInfoUiUiUiUiRC16CActorParameters" /* 800CA9B8 000C7918 7C 70 1B 78 */ mr r16, r3 lbl_800CA9BC: /* 800CA9BC 000C791C 7F A0 07 75 */ extsb. r0, r29 /* 800CA9C0 000C7920 41 82 00 10 */ beq lbl_800CA9D0 /* 800CA9C4 000C7924 38 61 01 04 */ addi r3, r1, 0x104 /* 800CA9C8 000C7928 38 80 FF FF */ li r4, -1 /* 800CA9CC 000C792C 48 04 C0 81 */ bl __dt__10CModelDataFv lbl_800CA9D0: /* 800CA9D0 000C7930 38 61 01 B8 */ addi r3, r1, 0x1b8 /* 800CA9D4 000C7934 38 80 FF FF */ li r4, -1 /* 800CA9D8 000C7938 48 03 BC 31 */ bl __dt__16CLightParametersFv /* 800CA9DC 000C793C 38 61 00 5C */ addi r3, r1, 0x5c /* 800CA9E0 000C7940 48 27 31 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CA9E4 000C7944 7E 03 83 78 */ mr r3, r16 lbl_800CA9E8: /* 800CA9E8 000C7948 E3 E1 03 B8 */ psq_l f31, 952(r1), 0, qr0 /* 800CA9EC 000C794C CB E1 03 B0 */ lfd f31, 0x3b0(r1) /* 800CA9F0 000C7950 E3 C1 03 A8 */ psq_l f30, 936(r1), 0, qr0 /* 800CA9F4 000C7954 CB C1 03 A0 */ lfd f30, 0x3a0(r1) /* 800CA9F8 000C7958 BA 01 03 60 */ lmw r16, 0x360(r1) /* 800CA9FC 000C795C 80 01 03 C4 */ lwz r0, 0x3c4(r1) /* 800CAA00 000C7960 7C 08 03 A6 */ mtlr r0 /* 800CAA04 000C7964 38 21 03 C0 */ addi r1, r1, 0x3c0 /* 800CAA08 000C7968 4E 80 00 20 */ blr .global LoadBabygoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadBabygoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CAA0C 000C796C 94 21 FB 90 */ stwu r1, -0x470(r1) /* 800CAA10 000C7970 7C 08 02 A6 */ mflr r0 /* 800CAA14 000C7974 90 01 04 74 */ stw r0, 0x474(r1) /* 800CAA18 000C7978 80 02 B3 F0 */ lwz r0, lbl_805AD110@sda21(r2) /* 800CAA1C 000C797C 93 E1 04 6C */ stw r31, 0x46c(r1) /* 800CAA20 000C7980 7C DF 33 78 */ mr r31, r6 /* 800CAA24 000C7984 93 C1 04 68 */ stw r30, 0x468(r1) /* 800CAA28 000C7988 7C 7E 1B 78 */ mr r30, r3 /* 800CAA2C 000C798C 93 A1 04 64 */ stw r29, 0x464(r1) /* 800CAA30 000C7990 7C BD 2B 78 */ mr r29, r5 /* 800CAA34 000C7994 7C 1D 00 00 */ cmpw r29, r0 /* 800CAA38 000C7998 93 81 04 60 */ stw r28, 0x460(r1) /* 800CAA3C 000C799C 7C 9C 23 78 */ mr r28, r4 /* 800CAA40 000C79A0 40 80 00 0C */ bge lbl_800CAA4C /* 800CAA44 000C79A4 38 60 00 00 */ li r3, 0 /* 800CAA48 000C79A8 48 00 01 90 */ b lbl_800CABD8 lbl_800CAA4C: /* 800CAA4C 000C79AC 7F C5 F3 78 */ mr r5, r30 /* 800CAA50 000C79B0 38 61 01 58 */ addi r3, r1, 0x158 /* 800CAA54 000C79B4 48 00 FA 29 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800CAA58 000C79B8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CAA5C 000C79BC 7F 84 E3 78 */ mr r4, r28 /* 800CAA60 000C79C0 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800CAA64 000C79C4 38 61 00 18 */ addi r3, r1, 0x18 /* 800CAA68 000C79C8 38 A5 00 A2 */ addi r5, r5, 0xa2 /* 800CAA6C 000C79CC 48 03 AD BD */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800CAA70 000C79D0 88 01 00 18 */ lbz r0, 0x18(r1) /* 800CAA74 000C79D4 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 800CAA78 000C79D8 28 00 00 00 */ cmplwi r0, 0 /* 800CAA7C 000C79DC 40 82 00 14 */ bne lbl_800CAA90 /* 800CAA80 000C79E0 38 61 01 58 */ addi r3, r1, 0x158 /* 800CAA84 000C79E4 48 27 30 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CAA88 000C79E8 38 60 00 00 */ li r3, 0 /* 800CAA8C 000C79EC 48 00 01 4C */ b lbl_800CABD8 lbl_800CAA90: /* 800CAA90 000C79F0 7F 84 E3 78 */ mr r4, r28 /* 800CAA94 000C79F4 38 61 03 1C */ addi r3, r1, 0x31c /* 800CAA98 000C79F8 48 03 AD E1 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800CAA9C 000C79FC 7F 84 E3 78 */ mr r4, r28 /* 800CAAA0 000C7A00 38 61 00 88 */ addi r3, r1, 0x88 /* 800CAAA4 000C7A04 48 00 F2 D1 */ bl LoadActorParameters__FR12CInputStream /* 800CAAA8 000C7A08 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800CAAAC 000C7A0C 38 81 00 88 */ addi r4, r1, 0x88 /* 800CAAB0 000C7A10 4B FF AB 6D */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CAAB4 000C7A14 38 61 00 88 */ addi r3, r1, 0x88 /* 800CAAB8 000C7A18 38 80 FF FF */ li r4, -1 /* 800CAABC 000C7A1C 48 03 BB 4D */ bl __dt__16CLightParametersFv /* 800CAAC0 000C7A20 7F 84 E3 78 */ mr r4, r28 /* 800CAAC4 000C7A24 7F A5 EB 78 */ mr r5, r29 /* 800CAAC8 000C7A28 38 61 01 A4 */ addi r3, r1, 0x1a4 /* 800CAACC 000C7A2C 48 15 9A 09 */ bl __ct__13CBabygothDataFR12CInputStream /* 800CAAD0 000C7A30 80 61 04 08 */ lwz r3, 0x408(r1) /* 800CAAD4 000C7A34 3C 03 00 01 */ addis r0, r3, 1 /* 800CAAD8 000C7A38 28 00 FF FF */ cmplwi r0, 0xffff /* 800CAADC 000C7A3C 40 82 00 20 */ bne lbl_800CAAFC /* 800CAAE0 000C7A40 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800CAAE4 000C7A44 38 80 FF FF */ li r4, -1 /* 800CAAE8 000C7A48 48 03 BB 21 */ bl __dt__16CLightParametersFv /* 800CAAEC 000C7A4C 38 61 01 58 */ addi r3, r1, 0x158 /* 800CAAF0 000C7A50 48 27 2F F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CAAF4 000C7A54 38 60 00 00 */ li r3, 0 /* 800CAAF8 000C7A58 48 00 00 E0 */ b lbl_800CABD8 lbl_800CAAFC: /* 800CAAFC 000C7A5C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CAB00 000C7A60 3B 80 00 00 */ li r28, 0 /* 800CAB04 000C7A64 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800CAB08 000C7A68 38 60 0A 50 */ li r3, 0xa50 /* 800CAB0C 000C7A6C 38 84 00 0D */ addi r4, r4, 0xd /* 800CAB10 000C7A70 38 A0 00 00 */ li r5, 0 /* 800CAB14 000C7A74 48 24 AD 59 */ bl __nw__FUlPCcPCc /* 800CAB18 000C7A78 7C 7D 1B 79 */ or. r29, r3, r3 /* 800CAB1C 000C7A7C 41 82 00 90 */ beq lbl_800CABAC /* 800CAB20 000C7A80 80 E1 04 08 */ lwz r7, 0x408(r1) /* 800CAB24 000C7A84 38 A0 00 01 */ li r5, 1 /* 800CAB28 000C7A88 80 C1 04 0C */ lwz r6, 0x40c(r1) /* 800CAB2C 000C7A8C 38 61 00 3C */ addi r3, r1, 0x3c /* 800CAB30 000C7A90 C0 41 01 98 */ lfs f2, 0x198(r1) /* 800CAB34 000C7A94 38 81 00 20 */ addi r4, r1, 0x20 /* 800CAB38 000C7A98 C0 21 01 9C */ lfs f1, 0x19c(r1) /* 800CAB3C 000C7A9C C0 01 01 A0 */ lfs f0, 0x1a0(r1) /* 800CAB40 000C7AA0 80 01 04 10 */ lwz r0, 0x410(r1) /* 800CAB44 000C7AA4 90 E1 00 20 */ stw r7, 0x20(r1) /* 800CAB48 000C7AA8 90 C1 00 24 */ stw r6, 0x24(r1) /* 800CAB4C 000C7AAC D0 41 00 28 */ stfs f2, 0x28(r1) /* 800CAB50 000C7AB0 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 800CAB54 000C7AB4 D0 01 00 30 */ stfs f0, 0x30(r1) /* 800CAB58 000C7AB8 98 A1 00 34 */ stb r5, 0x34(r1) /* 800CAB5C 000C7ABC 90 01 00 38 */ stw r0, 0x38(r1) /* 800CAB60 000C7AC0 48 04 BF F5 */ bl __ct__10CModelDataFRC8CAnimRes /* 800CAB64 000C7AC4 7F C4 F3 78 */ mr r4, r30 /* 800CAB68 000C7AC8 38 61 00 10 */ addi r3, r1, 0x10 /* 800CAB6C 000C7ACC 3B 80 00 01 */ li r28, 1 /* 800CAB70 000C7AD0 4B F8 25 6D */ bl AllocateUniqueId__13CStateManagerFv /* 800CAB74 000C7AD4 A0 81 00 10 */ lhz r4, 0x10(r1) /* 800CAB78 000C7AD8 38 01 01 A4 */ addi r0, r1, 0x1a4 /* 800CAB7C 000C7ADC 7F A3 EB 78 */ mr r3, r29 /* 800CAB80 000C7AE0 7F E6 FB 78 */ mr r6, r31 /* 800CAB84 000C7AE4 B0 81 00 14 */ sth r4, 0x14(r1) /* 800CAB88 000C7AE8 38 81 00 14 */ addi r4, r1, 0x14 /* 800CAB8C 000C7AEC 38 A1 01 58 */ addi r5, r1, 0x158 /* 800CAB90 000C7AF0 38 E1 01 68 */ addi r7, r1, 0x168 /* 800CAB94 000C7AF4 90 01 00 08 */ stw r0, 8(r1) /* 800CAB98 000C7AF8 39 01 00 3C */ addi r8, r1, 0x3c /* 800CAB9C 000C7AFC 39 21 03 1C */ addi r9, r1, 0x31c /* 800CABA0 000C7B00 39 41 00 F0 */ addi r10, r1, 0xf0 /* 800CABA4 000C7B04 48 15 8B DD */ bl "__ct__9CBabygothF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC13CBabygothData" /* 800CABA8 000C7B08 7C 7D 1B 78 */ mr r29, r3 lbl_800CABAC: /* 800CABAC 000C7B0C 7F 80 07 75 */ extsb. r0, r28 /* 800CABB0 000C7B10 41 82 00 10 */ beq lbl_800CABC0 /* 800CABB4 000C7B14 38 61 00 3C */ addi r3, r1, 0x3c /* 800CABB8 000C7B18 38 80 FF FF */ li r4, -1 /* 800CABBC 000C7B1C 48 04 BE 91 */ bl __dt__10CModelDataFv lbl_800CABC0: /* 800CABC0 000C7B20 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800CABC4 000C7B24 38 80 FF FF */ li r4, -1 /* 800CABC8 000C7B28 48 03 BA 41 */ bl __dt__16CLightParametersFv /* 800CABCC 000C7B2C 38 61 01 58 */ addi r3, r1, 0x158 /* 800CABD0 000C7B30 48 27 2F 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CABD4 000C7B34 7F A3 EB 78 */ mr r3, r29 lbl_800CABD8: /* 800CABD8 000C7B38 80 01 04 74 */ lwz r0, 0x474(r1) /* 800CABDC 000C7B3C 83 E1 04 6C */ lwz r31, 0x46c(r1) /* 800CABE0 000C7B40 83 C1 04 68 */ lwz r30, 0x468(r1) /* 800CABE4 000C7B44 83 A1 04 64 */ lwz r29, 0x464(r1) /* 800CABE8 000C7B48 83 81 04 60 */ lwz r28, 0x460(r1) /* 800CABEC 000C7B4C 7C 08 03 A6 */ mtlr r0 /* 800CABF0 000C7B50 38 21 04 70 */ addi r1, r1, 0x470 /* 800CABF4 000C7B54 4E 80 00 20 */ blr .global LoadGunTurret__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadGunTurret__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CABF8 000C7B58 94 21 FC 50 */ stwu r1, -0x3b0(r1) /* 800CABFC 000C7B5C 7C 08 02 A6 */ mflr r0 /* 800CAC00 000C7B60 90 01 03 B4 */ stw r0, 0x3b4(r1) /* 800CAC04 000C7B64 80 02 B3 48 */ lwz r0, lbl_805AD068@sda21(r2) /* 800CAC08 000C7B68 BF 01 03 90 */ stmw r24, 0x390(r1) /* 800CAC0C 000C7B6C 7C B9 2B 78 */ mr r25, r5 /* 800CAC10 000C7B70 7C 19 00 00 */ cmpw r25, r0 /* 800CAC14 000C7B74 7C 7C 1B 78 */ mr r28, r3 /* 800CAC18 000C7B78 7C 98 23 78 */ mr r24, r4 /* 800CAC1C 000C7B7C 7C DD 33 78 */ mr r29, r6 /* 800CAC20 000C7B80 40 80 00 0C */ bge lbl_800CAC2C /* 800CAC24 000C7B84 38 60 00 00 */ li r3, 0 /* 800CAC28 000C7B88 48 00 03 08 */ b lbl_800CAF30 lbl_800CAC2C: /* 800CAC2C 000C7B8C 4B F7 A5 B9 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CAC30 000C7B90 7C 64 1B 78 */ mr r4, r3 /* 800CAC34 000C7B94 38 61 00 60 */ addi r3, r1, 0x60 /* 800CAC38 000C7B98 48 27 35 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CAC3C 000C7B9C 7F 03 C3 78 */ mr r3, r24 /* 800CAC40 000C7BA0 48 27 40 45 */ bl ReadLong__12CInputStreamFv /* 800CAC44 000C7BA4 7C 7F 1B 78 */ mr r31, r3 /* 800CAC48 000C7BA8 7F 04 C3 78 */ mr r4, r24 /* 800CAC4C 000C7BAC 38 61 01 04 */ addi r3, r1, 0x104 /* 800CAC50 000C7BB0 48 00 F9 3D */ bl LoadEditorTransform__FR12CInputStream /* 800CAC54 000C7BB4 38 61 01 34 */ addi r3, r1, 0x134 /* 800CAC58 000C7BB8 38 81 01 04 */ addi r4, r1, 0x104 /* 800CAC5C 000C7BBC 48 24 7F 19 */ bl __ct__12CTransform4fFRC12CTransform4f /* 800CAC60 000C7BC0 7F 04 C3 78 */ mr r4, r24 /* 800CAC64 000C7BC4 38 61 00 54 */ addi r3, r1, 0x54 /* 800CAC68 000C7BC8 48 24 9F 25 */ bl __ct__9CVector3fFR12CInputStream /* 800CAC6C 000C7BCC 7F 04 C3 78 */ mr r4, r24 /* 800CAC70 000C7BD0 38 61 00 48 */ addi r3, r1, 0x48 /* 800CAC74 000C7BD4 48 24 9F 19 */ bl __ct__9CVector3fFR12CInputStream /* 800CAC78 000C7BD8 7F 04 C3 78 */ mr r4, r24 /* 800CAC7C 000C7BDC 38 61 00 3C */ addi r3, r1, 0x3c /* 800CAC80 000C7BE0 48 24 9F 0D */ bl __ct__9CVector3fFR12CInputStream /* 800CAC84 000C7BE4 7F 04 C3 78 */ mr r4, r24 /* 800CAC88 000C7BE8 38 61 00 30 */ addi r3, r1, 0x30 /* 800CAC8C 000C7BEC 48 00 F7 81 */ bl LoadAnimationParameters__FR12CInputStream /* 800CAC90 000C7BF0 83 61 00 30 */ lwz r27, 0x30(r1) /* 800CAC94 000C7BF4 7F 04 C3 78 */ mr r4, r24 /* 800CAC98 000C7BF8 83 C1 00 34 */ lwz r30, 0x34(r1) /* 800CAC9C 000C7BFC 38 61 01 64 */ addi r3, r1, 0x164 /* 800CACA0 000C7C00 83 41 00 38 */ lwz r26, 0x38(r1) /* 800CACA4 000C7C04 48 00 F0 D1 */ bl LoadActorParameters__FR12CInputStream /* 800CACA8 000C7C08 38 61 02 80 */ addi r3, r1, 0x280 /* 800CACAC 000C7C0C 38 81 01 64 */ addi r4, r1, 0x164 /* 800CACB0 000C7C10 4B FF A9 6D */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CACB4 000C7C14 38 61 01 64 */ addi r3, r1, 0x164 /* 800CACB8 000C7C18 38 80 FF FF */ li r4, -1 /* 800CACBC 000C7C1C 48 03 B9 4D */ bl __dt__16CLightParametersFv /* 800CACC0 000C7C20 7F 04 C3 78 */ mr r4, r24 /* 800CACC4 000C7C24 38 61 00 28 */ addi r3, r1, 0x28 /* 800CACC8 000C7C28 48 10 8B 7D */ bl __ct__11CHealthInfoFR12CInputStream /* 800CACCC 000C7C2C 7F 04 C3 78 */ mr r4, r24 /* 800CACD0 000C7C30 38 61 02 18 */ addi r3, r1, 0x218 /* 800CACD4 000C7C34 48 03 7E 85 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 800CACD8 000C7C38 7F 04 C3 78 */ mr r4, r24 /* 800CACDC 000C7C3C 7F 25 CB 78 */ mr r5, r25 /* 800CACE0 000C7C40 38 61 02 E8 */ addi r3, r1, 0x2e8 /* 800CACE4 000C7C44 48 15 0C 11 */ bl __ct__20CScriptGunTurretDataFR12CInputStreami /* 800CACE8 000C7C48 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 800CACEC 000C7C4C 7F 64 DB 78 */ mr r4, r27 /* 800CACF0 000C7C50 38 63 00 04 */ addi r3, r3, 4 /* 800CACF4 000C7C54 48 27 0F D9 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800CACF8 000C7C58 28 03 00 00 */ cmplwi r3, 0 /* 800CACFC 000C7C5C 41 82 00 10 */ beq lbl_800CAD0C /* 800CAD00 000C7C60 3C 03 BE B2 */ addis r0, r3, 0xbeb2 /* 800CAD04 000C7C64 28 00 43 53 */ cmplwi r0, 0x4353 /* 800CAD08 000C7C68 41 82 00 20 */ beq lbl_800CAD28 lbl_800CAD0C: /* 800CAD0C 000C7C6C 38 61 02 80 */ addi r3, r1, 0x280 /* 800CAD10 000C7C70 38 80 FF FF */ li r4, -1 /* 800CAD14 000C7C74 48 03 B8 F5 */ bl __dt__16CLightParametersFv /* 800CAD18 000C7C78 38 61 00 60 */ addi r3, r1, 0x60 /* 800CAD1C 000C7C7C 48 27 2D C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CAD20 000C7C80 38 60 00 00 */ li r3, 0 /* 800CAD24 000C7C84 48 00 02 0C */ b lbl_800CAF30 lbl_800CAD28: /* 800CAD28 000C7C88 C0 41 00 54 */ lfs f2, 0x54(r1) /* 800CAD2C 000C7C8C 38 00 00 01 */ li r0, 1 /* 800CAD30 000C7C90 C0 21 00 58 */ lfs f1, 0x58(r1) /* 800CAD34 000C7C94 38 61 01 CC */ addi r3, r1, 0x1cc /* 800CAD38 000C7C98 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 800CAD3C 000C7C9C 38 81 00 A0 */ addi r4, r1, 0xa0 /* 800CAD40 000C7CA0 93 61 00 A0 */ stw r27, 0xa0(r1) /* 800CAD44 000C7CA4 93 C1 00 A4 */ stw r30, 0xa4(r1) /* 800CAD48 000C7CA8 D0 41 00 A8 */ stfs f2, 0xa8(r1) /* 800CAD4C 000C7CAC D0 21 00 AC */ stfs f1, 0xac(r1) /* 800CAD50 000C7CB0 D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 800CAD54 000C7CB4 98 01 00 B4 */ stb r0, 0xb4(r1) /* 800CAD58 000C7CB8 93 41 00 B8 */ stw r26, 0xb8(r1) /* 800CAD5C 000C7CBC 48 04 BD F9 */ bl __ct__10CModelDataFRC8CAnimRes /* 800CAD60 000C7CC0 80 1D 00 00 */ lwz r0, 0(r29) /* 800CAD64 000C7CC4 7F 84 E3 78 */ mr r4, r28 /* 800CAD68 000C7CC8 3B C1 01 34 */ addi r30, r1, 0x134 /* 800CAD6C 000C7CCC 38 61 00 88 */ addi r3, r1, 0x88 /* 800CAD70 000C7CD0 90 01 00 20 */ stw r0, 0x20(r1) /* 800CAD74 000C7CD4 38 A1 00 24 */ addi r5, r1, 0x24 /* 800CAD78 000C7CD8 38 C1 00 48 */ addi r6, r1, 0x48 /* 800CAD7C 000C7CDC 38 E1 00 3C */ addi r7, r1, 0x3c /* 800CAD80 000C7CE0 90 01 00 24 */ stw r0, 0x24(r1) /* 800CAD84 000C7CE4 48 00 F9 99 */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f /* 800CAD88 000C7CE8 C0 E1 00 48 */ lfs f7, 0x48(r1) /* 800CAD8C 000C7CEC C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800CAD90 000C7CF0 C0 C1 00 88 */ lfs f6, 0x88(r1) /* 800CAD94 000C7CF4 C0 A1 00 8C */ lfs f5, 0x8c(r1) /* 800CAD98 000C7CF8 FC 07 08 40 */ fcmpo cr0, f7, f1 /* 800CAD9C 000C7CFC C0 81 00 90 */ lfs f4, 0x90(r1) /* 800CADA0 000C7D00 C0 61 00 94 */ lfs f3, 0x94(r1) /* 800CADA4 000C7D04 C0 41 00 98 */ lfs f2, 0x98(r1) /* 800CADA8 000C7D08 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 800CADAC 000C7D0C D0 C1 00 BC */ stfs f6, 0xbc(r1) /* 800CADB0 000C7D10 D0 A1 00 C0 */ stfs f5, 0xc0(r1) /* 800CADB4 000C7D14 D0 81 00 C4 */ stfs f4, 0xc4(r1) /* 800CADB8 000C7D18 D0 61 00 C8 */ stfs f3, 0xc8(r1) /* 800CADBC 000C7D1C D0 41 00 CC */ stfs f2, 0xcc(r1) /* 800CADC0 000C7D20 D0 01 00 D0 */ stfs f0, 0xd0(r1) /* 800CADC4 000C7D24 40 80 00 0C */ bge lbl_800CADD0 /* 800CADC8 000C7D28 38 80 00 01 */ li r4, 1 /* 800CADCC 000C7D2C 48 00 00 30 */ b lbl_800CADFC lbl_800CADD0: /* 800CADD0 000C7D30 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 800CADD4 000C7D34 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800CADD8 000C7D38 40 80 00 0C */ bge lbl_800CADE4 /* 800CADDC 000C7D3C 38 80 00 01 */ li r4, 1 /* 800CADE0 000C7D40 48 00 00 1C */ b lbl_800CADFC lbl_800CADE4: /* 800CADE4 000C7D44 C0 01 00 50 */ lfs f0, 0x50(r1) /* 800CADE8 000C7D48 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800CADEC 000C7D4C 40 80 00 0C */ bge lbl_800CADF8 /* 800CADF0 000C7D50 38 80 00 01 */ li r4, 1 /* 800CADF4 000C7D54 48 00 00 08 */ b lbl_800CADFC lbl_800CADF8: /* 800CADF8 000C7D58 38 80 00 00 */ li r4, 0 lbl_800CADFC: /* 800CADFC 000C7D5C 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 800CAE00 000C7D60 C4 03 66 A0 */ lfsu f0, sZeroVector__9CVector3f@l(r3) /* 800CAE04 000C7D64 38 00 00 00 */ li r0, 0 /* 800CAE08 000C7D68 FC 07 00 00 */ fcmpu cr0, f7, f0 /* 800CAE0C 000C7D6C 40 82 00 28 */ bne lbl_800CAE34 /* 800CAE10 000C7D70 C0 21 00 4C */ lfs f1, 0x4c(r1) /* 800CAE14 000C7D74 C0 03 00 04 */ lfs f0, 4(r3) /* 800CAE18 000C7D78 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800CAE1C 000C7D7C 40 82 00 18 */ bne lbl_800CAE34 /* 800CAE20 000C7D80 C0 21 00 50 */ lfs f1, 0x50(r1) /* 800CAE24 000C7D84 C0 03 00 08 */ lfs f0, 8(r3) /* 800CAE28 000C7D88 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800CAE2C 000C7D8C 40 82 00 08 */ bne lbl_800CAE34 /* 800CAE30 000C7D90 38 00 00 01 */ li r0, 1 lbl_800CAE34: /* 800CAE34 000C7D94 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800CAE38 000C7D98 40 82 00 0C */ bne lbl_800CAE44 /* 800CAE3C 000C7D9C 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 800CAE40 000C7DA0 41 82 00 50 */ beq lbl_800CAE90 lbl_800CAE44: /* 800CAE44 000C7DA4 7F C4 F3 78 */ mr r4, r30 /* 800CAE48 000C7DA8 38 61 00 D4 */ addi r3, r1, 0xd4 /* 800CAE4C 000C7DAC 48 24 7D F5 */ bl GetRotation__12CTransform4fCFv /* 800CAE50 000C7DB0 38 61 00 70 */ addi r3, r1, 0x70 /* 800CAE54 000C7DB4 38 81 01 CC */ addi r4, r1, 0x1cc /* 800CAE58 000C7DB8 38 A1 00 D4 */ addi r5, r1, 0xd4 /* 800CAE5C 000C7DBC 48 04 A9 59 */ bl GetBounds__10CModelDataCFRC12CTransform4f /* 800CAE60 000C7DC0 80 E1 00 70 */ lwz r7, 0x70(r1) /* 800CAE64 000C7DC4 80 C1 00 74 */ lwz r6, 0x74(r1) /* 800CAE68 000C7DC8 80 A1 00 78 */ lwz r5, 0x78(r1) /* 800CAE6C 000C7DCC 80 81 00 7C */ lwz r4, 0x7c(r1) /* 800CAE70 000C7DD0 80 61 00 80 */ lwz r3, 0x80(r1) /* 800CAE74 000C7DD4 80 01 00 84 */ lwz r0, 0x84(r1) /* 800CAE78 000C7DD8 90 E1 00 BC */ stw r7, 0xbc(r1) /* 800CAE7C 000C7DDC 90 C1 00 C0 */ stw r6, 0xc0(r1) /* 800CAE80 000C7DE0 90 A1 00 C4 */ stw r5, 0xc4(r1) /* 800CAE84 000C7DE4 90 81 00 C8 */ stw r4, 0xc8(r1) /* 800CAE88 000C7DE8 90 61 00 CC */ stw r3, 0xcc(r1) /* 800CAE8C 000C7DEC 90 01 00 D0 */ stw r0, 0xd0(r1) lbl_800CAE90: /* 800CAE90 000C7DF0 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CAE94 000C7DF4 38 60 05 68 */ li r3, 0x568 /* 800CAE98 000C7DF8 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CAE9C 000C7DFC 38 A0 00 00 */ li r5, 0 /* 800CAEA0 000C7E00 38 84 00 0D */ addi r4, r4, 0xd /* 800CAEA4 000C7E04 48 24 A9 C9 */ bl __nw__FUlPCcPCc /* 800CAEA8 000C7E08 7C 7B 1B 79 */ or. r27, r3, r3 /* 800CAEAC 000C7E0C 41 82 00 60 */ beq lbl_800CAF0C /* 800CAEB0 000C7E10 7F 84 E3 78 */ mr r4, r28 /* 800CAEB4 000C7E14 38 61 00 18 */ addi r3, r1, 0x18 /* 800CAEB8 000C7E18 4B F8 22 25 */ bl AllocateUniqueId__13CStateManagerFv /* 800CAEBC 000C7E1C A0 01 00 18 */ lhz r0, 0x18(r1) /* 800CAEC0 000C7E20 38 81 00 28 */ addi r4, r1, 0x28 /* 800CAEC4 000C7E24 38 A1 02 18 */ addi r5, r1, 0x218 /* 800CAEC8 000C7E28 39 61 02 80 */ addi r11, r1, 0x280 /* 800CAECC 000C7E2C B0 01 00 1C */ sth r0, 0x1c(r1) /* 800CAED0 000C7E30 38 01 02 E8 */ addi r0, r1, 0x2e8 /* 800CAED4 000C7E34 7F 63 DB 78 */ mr r3, r27 /* 800CAED8 000C7E38 7F E6 FB 78 */ mr r6, r31 /* 800CAEDC 000C7E3C 90 81 00 08 */ stw r4, 8(r1) /* 800CAEE0 000C7E40 7F A7 EB 78 */ mr r7, r29 /* 800CAEE4 000C7E44 7F C8 F3 78 */ mr r8, r30 /* 800CAEE8 000C7E48 38 81 00 1C */ addi r4, r1, 0x1c /* 800CAEEC 000C7E4C 90 A1 00 0C */ stw r5, 0xc(r1) /* 800CAEF0 000C7E50 38 A1 00 60 */ addi r5, r1, 0x60 /* 800CAEF4 000C7E54 39 21 01 CC */ addi r9, r1, 0x1cc /* 800CAEF8 000C7E58 39 41 00 BC */ addi r10, r1, 0xbc /* 800CAEFC 000C7E5C 91 61 00 10 */ stw r11, 0x10(r1) /* 800CAF00 000C7E60 90 01 00 14 */ stw r0, 0x14(r1) /* 800CAF04 000C7E64 48 14 FE 29 */ bl "__ct__16CScriptGunTurretF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q216CScriptGunTurret16ETurretComponentRC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersRC20CScriptGunTurretData" /* 800CAF08 000C7E68 7C 7B 1B 78 */ mr r27, r3 lbl_800CAF0C: /* 800CAF0C 000C7E6C 38 61 01 CC */ addi r3, r1, 0x1cc /* 800CAF10 000C7E70 38 80 FF FF */ li r4, -1 /* 800CAF14 000C7E74 48 04 BB 39 */ bl __dt__10CModelDataFv /* 800CAF18 000C7E78 38 61 02 80 */ addi r3, r1, 0x280 /* 800CAF1C 000C7E7C 38 80 FF FF */ li r4, -1 /* 800CAF20 000C7E80 48 03 B6 E9 */ bl __dt__16CLightParametersFv /* 800CAF24 000C7E84 38 61 00 60 */ addi r3, r1, 0x60 /* 800CAF28 000C7E88 48 27 2B B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CAF2C 000C7E8C 7F 63 DB 78 */ mr r3, r27 lbl_800CAF30: /* 800CAF30 000C7E90 BB 01 03 90 */ lmw r24, 0x390(r1) /* 800CAF34 000C7E94 80 01 03 B4 */ lwz r0, 0x3b4(r1) /* 800CAF38 000C7E98 7C 08 03 A6 */ mtlr r0 /* 800CAF3C 000C7E9C 38 21 03 B0 */ addi r1, r1, 0x3b0 /* 800CAF40 000C7EA0 4E 80 00 20 */ blr .global LoadRepulsor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadRepulsor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CAF44 000C7EA4 94 21 FF B0 */ stwu r1, -0x50(r1) /* 800CAF48 000C7EA8 7C 08 02 A6 */ mflr r0 /* 800CAF4C 000C7EAC 2C 05 00 04 */ cmpwi r5, 4 /* 800CAF50 000C7EB0 90 01 00 54 */ stw r0, 0x54(r1) /* 800CAF54 000C7EB4 DB E1 00 48 */ stfd f31, 0x48(r1) /* 800CAF58 000C7EB8 93 E1 00 44 */ stw r31, 0x44(r1) /* 800CAF5C 000C7EBC 93 C1 00 40 */ stw r30, 0x40(r1) /* 800CAF60 000C7EC0 7C 9E 23 78 */ mr r30, r4 /* 800CAF64 000C7EC4 93 A1 00 3C */ stw r29, 0x3c(r1) /* 800CAF68 000C7EC8 7C DD 33 78 */ mr r29, r6 /* 800CAF6C 000C7ECC 93 81 00 38 */ stw r28, 0x38(r1) /* 800CAF70 000C7ED0 7C 7C 1B 78 */ mr r28, r3 /* 800CAF74 000C7ED4 41 82 00 0C */ beq lbl_800CAF80 /* 800CAF78 000C7ED8 38 60 00 00 */ li r3, 0 /* 800CAF7C 000C7EDC 48 00 00 9C */ b lbl_800CB018 lbl_800CAF80: /* 800CAF80 000C7EE0 4B F7 A2 65 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CAF84 000C7EE4 7C 64 1B 78 */ mr r4, r3 /* 800CAF88 000C7EE8 38 61 00 1C */ addi r3, r1, 0x1c /* 800CAF8C 000C7EEC 48 27 31 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CAF90 000C7EF0 7F C4 F3 78 */ mr r4, r30 /* 800CAF94 000C7EF4 38 61 00 10 */ addi r3, r1, 0x10 /* 800CAF98 000C7EF8 48 24 9B F5 */ bl __ct__9CVector3fFR12CInputStream /* 800CAF9C 000C7EFC 7F C3 F3 78 */ mr r3, r30 /* 800CAFA0 000C7F00 48 27 3D 3D */ bl ReadBool__12CInputStreamFv /* 800CAFA4 000C7F04 7C 7F 1B 78 */ mr r31, r3 /* 800CAFA8 000C7F08 7F C3 F3 78 */ mr r3, r30 /* 800CAFAC 000C7F0C 48 27 3C 7D */ bl ReadFloat__12CInputStreamFv /* 800CAFB0 000C7F10 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CAFB4 000C7F14 FF E0 08 90 */ fmr f31, f1 /* 800CAFB8 000C7F18 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800CAFBC 000C7F1C 38 A0 00 00 */ li r5, 0 /* 800CAFC0 000C7F20 38 60 00 F0 */ li r3, 0xf0 /* 800CAFC4 000C7F24 38 84 00 0D */ addi r4, r4, 0xd /* 800CAFC8 000C7F28 48 24 A8 A5 */ bl __nw__FUlPCcPCc /* 800CAFCC 000C7F2C 7C 7E 1B 79 */ or. r30, r3, r3 /* 800CAFD0 000C7F30 41 82 00 3C */ beq lbl_800CB00C /* 800CAFD4 000C7F34 7F 84 E3 78 */ mr r4, r28 /* 800CAFD8 000C7F38 38 61 00 08 */ addi r3, r1, 8 /* 800CAFDC 000C7F3C 4B F8 21 01 */ bl AllocateUniqueId__13CStateManagerFv /* 800CAFE0 000C7F40 A0 01 00 08 */ lhz r0, 8(r1) /* 800CAFE4 000C7F44 FC 20 F8 90 */ fmr f1, f31 /* 800CAFE8 000C7F48 7F C3 F3 78 */ mr r3, r30 /* 800CAFEC 000C7F4C 7F E5 FB 78 */ mr r5, r31 /* 800CAFF0 000C7F50 B0 01 00 0C */ sth r0, 0xc(r1) /* 800CAFF4 000C7F54 7F A7 EB 78 */ mr r7, r29 /* 800CAFF8 000C7F58 38 81 00 0C */ addi r4, r1, 0xc /* 800CAFFC 000C7F5C 38 C1 00 1C */ addi r6, r1, 0x1c /* 800CB000 000C7F60 39 01 00 10 */ addi r8, r1, 0x10 /* 800CB004 000C7F64 48 14 4D 09 */ bl "__ct__9CRepulsorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3ff" /* 800CB008 000C7F68 7C 7E 1B 78 */ mr r30, r3 lbl_800CB00C: /* 800CB00C 000C7F6C 38 61 00 1C */ addi r3, r1, 0x1c /* 800CB010 000C7F70 48 27 2A D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CB014 000C7F74 7F C3 F3 78 */ mr r3, r30 lbl_800CB018: /* 800CB018 000C7F78 80 01 00 54 */ lwz r0, 0x54(r1) /* 800CB01C 000C7F7C CB E1 00 48 */ lfd f31, 0x48(r1) /* 800CB020 000C7F80 83 E1 00 44 */ lwz r31, 0x44(r1) /* 800CB024 000C7F84 83 C1 00 40 */ lwz r30, 0x40(r1) /* 800CB028 000C7F88 83 A1 00 3C */ lwz r29, 0x3c(r1) /* 800CB02C 000C7F8C 83 81 00 38 */ lwz r28, 0x38(r1) /* 800CB030 000C7F90 7C 08 03 A6 */ mtlr r0 /* 800CB034 000C7F94 38 21 00 50 */ addi r1, r1, 0x50 /* 800CB038 000C7F98 4E 80 00 20 */ blr .global LoadStreamedMusic__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadStreamedMusic__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CB03C 000C7F9C 94 21 FF 90 */ stwu r1, -0x70(r1) /* 800CB040 000C7FA0 7C 08 02 A6 */ mflr r0 /* 800CB044 000C7FA4 2C 05 00 09 */ cmpwi r5, 9 /* 800CB048 000C7FA8 90 01 00 74 */ stw r0, 0x74(r1) /* 800CB04C 000C7FAC DB E1 00 68 */ stfd f31, 0x68(r1) /* 800CB050 000C7FB0 DB C1 00 60 */ stfd f30, 0x60(r1) /* 800CB054 000C7FB4 BF 01 00 40 */ stmw r24, 0x40(r1) /* 800CB058 000C7FB8 7C 78 1B 78 */ mr r24, r3 /* 800CB05C 000C7FBC 7C 9A 23 78 */ mr r26, r4 /* 800CB060 000C7FC0 7C D9 33 78 */ mr r25, r6 /* 800CB064 000C7FC4 41 82 00 0C */ beq lbl_800CB070 /* 800CB068 000C7FC8 38 60 00 00 */ li r3, 0 /* 800CB06C 000C7FCC 48 00 00 FC */ b lbl_800CB168 lbl_800CB070: /* 800CB070 000C7FD0 4B F7 A1 75 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CB074 000C7FD4 7C 64 1B 78 */ mr r4, r3 /* 800CB078 000C7FD8 38 61 00 2C */ addi r3, r1, 0x2c /* 800CB07C 000C7FDC 48 27 30 E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CB080 000C7FE0 7F 43 D3 78 */ mr r3, r26 /* 800CB084 000C7FE4 48 27 3C 59 */ bl ReadBool__12CInputStreamFv /* 800CB088 000C7FE8 7C 7E 1B 78 */ mr r30, r3 /* 800CB08C 000C7FEC 7F 44 D3 78 */ mr r4, r26 /* 800CB090 000C7FF0 38 61 00 1C */ addi r3, r1, 0x1c /* 800CB094 000C7FF4 38 A1 00 10 */ addi r5, r1, 0x10 /* 800CB098 000C7FF8 48 27 32 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 800CB09C 000C7FFC 7F 43 D3 78 */ mr r3, r26 /* 800CB0A0 000C8000 48 27 3C 3D */ bl ReadBool__12CInputStreamFv /* 800CB0A4 000C8004 7C 7D 1B 78 */ mr r29, r3 /* 800CB0A8 000C8008 7F 43 D3 78 */ mr r3, r26 /* 800CB0AC 000C800C 48 27 3B 7D */ bl ReadFloat__12CInputStreamFv /* 800CB0B0 000C8010 FF E0 08 90 */ fmr f31, f1 /* 800CB0B4 000C8014 7F 43 D3 78 */ mr r3, r26 /* 800CB0B8 000C8018 48 27 3B 71 */ bl ReadFloat__12CInputStreamFv /* 800CB0BC 000C801C FF C0 08 90 */ fmr f30, f1 /* 800CB0C0 000C8020 7F 43 D3 78 */ mr r3, r26 /* 800CB0C4 000C8024 48 27 3B C1 */ bl ReadLong__12CInputStreamFv /* 800CB0C8 000C8028 7C 7C 1B 78 */ mr r28, r3 /* 800CB0CC 000C802C 7F 43 D3 78 */ mr r3, r26 /* 800CB0D0 000C8030 48 27 3B B5 */ bl ReadLong__12CInputStreamFv /* 800CB0D4 000C8034 7C 60 00 34 */ cntlzw r0, r3 /* 800CB0D8 000C8038 7F 43 D3 78 */ mr r3, r26 /* 800CB0DC 000C803C 54 1A D9 7E */ srwi r26, r0, 5 /* 800CB0E0 000C8040 48 27 3B FD */ bl ReadBool__12CInputStreamFv /* 800CB0E4 000C8044 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CB0E8 000C8048 7C 7F 1B 78 */ mr r31, r3 /* 800CB0EC 000C804C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CB0F0 000C8050 38 60 00 54 */ li r3, 0x54 /* 800CB0F4 000C8054 38 84 00 0D */ addi r4, r4, 0xd /* 800CB0F8 000C8058 38 A0 00 00 */ li r5, 0 /* 800CB0FC 000C805C 48 24 A7 71 */ bl __nw__FUlPCcPCc /* 800CB100 000C8060 7C 7B 1B 79 */ or. r27, r3, r3 /* 800CB104 000C8064 41 82 00 50 */ beq lbl_800CB154 /* 800CB108 000C8068 7F 04 C3 78 */ mr r4, r24 /* 800CB10C 000C806C 38 61 00 14 */ addi r3, r1, 0x14 /* 800CB110 000C8070 4B F8 1F CD */ bl AllocateUniqueId__13CStateManagerFv /* 800CB114 000C8074 A0 01 00 14 */ lhz r0, 0x14(r1) /* 800CB118 000C8078 FC 20 F8 90 */ fmr f1, f31 /* 800CB11C 000C807C FC 40 F0 90 */ fmr f2, f30 /* 800CB120 000C8080 7F 63 DB 78 */ mr r3, r27 /* 800CB124 000C8084 B0 01 00 18 */ sth r0, 0x18(r1) /* 800CB128 000C8088 7F 25 CB 78 */ mr r5, r25 /* 800CB12C 000C808C 7F C7 F3 78 */ mr r7, r30 /* 800CB130 000C8090 93 41 00 08 */ stw r26, 8(r1) /* 800CB134 000C8094 7F A9 EB 78 */ mr r9, r29 /* 800CB138 000C8098 7F 8A E3 78 */ mr r10, r28 /* 800CB13C 000C809C 93 E1 00 0C */ stw r31, 0xc(r1) /* 800CB140 000C80A0 38 81 00 18 */ addi r4, r1, 0x18 /* 800CB144 000C80A4 38 C1 00 2C */ addi r6, r1, 0x2c /* 800CB148 000C80A8 39 01 00 1C */ addi r8, r1, 0x1c /* 800CB14C 000C80AC 48 14 15 DD */ bl "__ct__20CScriptStreamedMusicF9TUniqueIdRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bffi" /* 800CB150 000C80B0 7C 7B 1B 78 */ mr r27, r3 lbl_800CB154: /* 800CB154 000C80B4 38 61 00 1C */ addi r3, r1, 0x1c /* 800CB158 000C80B8 48 27 29 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CB15C 000C80BC 38 61 00 2C */ addi r3, r1, 0x2c /* 800CB160 000C80C0 48 27 29 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CB164 000C80C4 7F 63 DB 78 */ mr r3, r27 lbl_800CB168: /* 800CB168 000C80C8 CB E1 00 68 */ lfd f31, 0x68(r1) /* 800CB16C 000C80CC CB C1 00 60 */ lfd f30, 0x60(r1) /* 800CB170 000C80D0 BB 01 00 40 */ lmw r24, 0x40(r1) /* 800CB174 000C80D4 80 01 00 74 */ lwz r0, 0x74(r1) /* 800CB178 000C80D8 7C 08 03 A6 */ mtlr r0 /* 800CB17C 000C80DC 38 21 00 70 */ addi r1, r1, 0x70 /* 800CB180 000C80E0 4E 80 00 20 */ blr .global LoadMidi__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadMidi__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CB184 000C80E4 94 21 FF B0 */ stwu r1, -0x50(r1) /* 800CB188 000C80E8 7C 08 02 A6 */ mflr r0 /* 800CB18C 000C80EC 2C 05 00 06 */ cmpwi r5, 6 /* 800CB190 000C80F0 90 01 00 54 */ stw r0, 0x54(r1) /* 800CB194 000C80F4 DB E1 00 48 */ stfd f31, 0x48(r1) /* 800CB198 000C80F8 DB C1 00 40 */ stfd f30, 0x40(r1) /* 800CB19C 000C80FC BF 41 00 28 */ stmw r26, 0x28(r1) /* 800CB1A0 000C8100 7C 7A 1B 78 */ mr r26, r3 /* 800CB1A4 000C8104 7C 9C 23 78 */ mr r28, r4 /* 800CB1A8 000C8108 7C DB 33 78 */ mr r27, r6 /* 800CB1AC 000C810C 41 82 00 0C */ beq lbl_800CB1B8 /* 800CB1B0 000C8110 38 60 00 00 */ li r3, 0 /* 800CB1B4 000C8114 48 00 00 BC */ b lbl_800CB270 lbl_800CB1B8: /* 800CB1B8 000C8118 4B F7 A0 2D */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CB1BC 000C811C 7C 64 1B 78 */ mr r4, r3 /* 800CB1C0 000C8120 38 61 00 10 */ addi r3, r1, 0x10 /* 800CB1C4 000C8124 48 27 2F 9D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CB1C8 000C8128 7F 83 E3 78 */ mr r3, r28 /* 800CB1CC 000C812C 48 27 3B 11 */ bl ReadBool__12CInputStreamFv /* 800CB1D0 000C8130 7C 7F 1B 78 */ mr r31, r3 /* 800CB1D4 000C8134 7F 83 E3 78 */ mr r3, r28 /* 800CB1D8 000C8138 48 27 3A AD */ bl ReadLong__12CInputStreamFv /* 800CB1DC 000C813C 7C 7E 1B 78 */ mr r30, r3 /* 800CB1E0 000C8140 7F 83 E3 78 */ mr r3, r28 /* 800CB1E4 000C8144 48 27 3A 45 */ bl ReadFloat__12CInputStreamFv /* 800CB1E8 000C8148 FF E0 08 90 */ fmr f31, f1 /* 800CB1EC 000C814C 7F 83 E3 78 */ mr r3, r28 /* 800CB1F0 000C8150 48 27 3A 39 */ bl ReadFloat__12CInputStreamFv /* 800CB1F4 000C8154 FF C0 08 90 */ fmr f30, f1 /* 800CB1F8 000C8158 7F 83 E3 78 */ mr r3, r28 /* 800CB1FC 000C815C 48 27 3A 89 */ bl ReadLong__12CInputStreamFv /* 800CB200 000C8160 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CB204 000C8164 7C 7D 1B 78 */ mr r29, r3 /* 800CB208 000C8168 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CB20C 000C816C 38 60 00 4C */ li r3, 0x4c /* 800CB210 000C8170 38 A0 00 00 */ li r5, 0 /* 800CB214 000C8174 38 84 00 0D */ addi r4, r4, 0xd /* 800CB218 000C8178 48 24 A6 55 */ bl __nw__FUlPCcPCc /* 800CB21C 000C817C 7C 7C 1B 79 */ or. r28, r3, r3 /* 800CB220 000C8180 41 82 00 44 */ beq lbl_800CB264 /* 800CB224 000C8184 7F 44 D3 78 */ mr r4, r26 /* 800CB228 000C8188 38 61 00 08 */ addi r3, r1, 8 /* 800CB22C 000C818C 4B F8 1E B1 */ bl AllocateUniqueId__13CStateManagerFv /* 800CB230 000C8190 A0 01 00 08 */ lhz r0, 8(r1) /* 800CB234 000C8194 FC 20 F8 90 */ fmr f1, f31 /* 800CB238 000C8198 FC 40 F0 90 */ fmr f2, f30 /* 800CB23C 000C819C 7F 83 E3 78 */ mr r3, r28 /* 800CB240 000C81A0 B0 01 00 0C */ sth r0, 0xc(r1) /* 800CB244 000C81A4 7F 65 DB 78 */ mr r5, r27 /* 800CB248 000C81A8 7F E7 FB 78 */ mr r7, r31 /* 800CB24C 000C81AC 7F C8 F3 78 */ mr r8, r30 /* 800CB250 000C81B0 7F A9 EB 78 */ mr r9, r29 /* 800CB254 000C81B4 38 81 00 0C */ addi r4, r1, 0xc /* 800CB258 000C81B8 38 C1 00 10 */ addi r6, r1, 0x10 /* 800CB25C 000C81BC 48 14 0A E5 */ bl "__ct__11CScriptMidiF9TUniqueIdRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bUiffi" /* 800CB260 000C81C0 7C 7C 1B 78 */ mr r28, r3 lbl_800CB264: /* 800CB264 000C81C4 38 61 00 10 */ addi r3, r1, 0x10 /* 800CB268 000C81C8 48 27 28 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CB26C 000C81CC 7F 83 E3 78 */ mr r3, r28 lbl_800CB270: /* 800CB270 000C81D0 CB E1 00 48 */ lfd f31, 0x48(r1) /* 800CB274 000C81D4 CB C1 00 40 */ lfd f30, 0x40(r1) /* 800CB278 000C81D8 BB 41 00 28 */ lmw r26, 0x28(r1) /* 800CB27C 000C81DC 80 01 00 54 */ lwz r0, 0x54(r1) /* 800CB280 000C81E0 7C 08 03 A6 */ mtlr r0 /* 800CB284 000C81E4 38 21 00 50 */ addi r1, r1, 0x50 /* 800CB288 000C81E8 4E 80 00 20 */ blr .global LoadThardusRockProjectile__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadThardusRockProjectile__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CB28C 000C81EC 94 21 FC 80 */ stwu r1, -0x380(r1) /* 800CB290 000C81F0 7C 08 02 A6 */ mflr r0 /* 800CB294 000C81F4 90 01 03 84 */ stw r0, 0x384(r1) /* 800CB298 000C81F8 DB E1 03 70 */ stfd f31, 0x370(r1) /* 800CB29C 000C81FC F3 E1 03 78 */ psq_st f31, 888(r1), 0, qr0 /* 800CB2A0 000C8200 BF 61 03 5C */ stmw r27, 0x35c(r1) /* 800CB2A4 000C8204 2C 05 00 0B */ cmpwi r5, 0xb /* 800CB2A8 000C8208 7C 7E 1B 78 */ mr r30, r3 /* 800CB2AC 000C820C 7C 9D 23 78 */ mr r29, r4 /* 800CB2B0 000C8210 7C DF 33 78 */ mr r31, r6 /* 800CB2B4 000C8214 41 82 00 0C */ beq lbl_800CB2C0 /* 800CB2B8 000C8218 38 60 00 00 */ li r3, 0 /* 800CB2BC 000C821C 48 00 02 5C */ b lbl_800CB518 lbl_800CB2C0: /* 800CB2C0 000C8220 7F C5 F3 78 */ mr r5, r30 /* 800CB2C4 000C8224 38 61 01 D4 */ addi r3, r1, 0x1d4 /* 800CB2C8 000C8228 48 00 F1 B5 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800CB2CC 000C822C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CB2D0 000C8230 7F A4 EB 78 */ mr r4, r29 /* 800CB2D4 000C8234 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800CB2D8 000C8238 38 61 00 28 */ addi r3, r1, 0x28 /* 800CB2DC 000C823C 38 A5 00 AB */ addi r5, r5, 0xab /* 800CB2E0 000C8240 48 03 A5 49 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800CB2E4 000C8244 88 01 00 28 */ lbz r0, 0x28(r1) /* 800CB2E8 000C8248 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 800CB2EC 000C824C 28 00 00 00 */ cmplwi r0, 0 /* 800CB2F0 000C8250 40 82 00 14 */ bne lbl_800CB304 /* 800CB2F4 000C8254 38 61 01 D4 */ addi r3, r1, 0x1d4 /* 800CB2F8 000C8258 48 27 27 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CB2FC 000C825C 38 60 00 00 */ li r3, 0 /* 800CB300 000C8260 48 00 02 18 */ b lbl_800CB518 lbl_800CB304: /* 800CB304 000C8264 7F A4 EB 78 */ mr r4, r29 /* 800CB308 000C8268 38 61 02 20 */ addi r3, r1, 0x220 /* 800CB30C 000C826C 48 03 A5 6D */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800CB310 000C8270 7F A4 EB 78 */ mr r4, r29 /* 800CB314 000C8274 38 61 01 04 */ addi r3, r1, 0x104 /* 800CB318 000C8278 48 00 EA 5D */ bl LoadActorParameters__FR12CInputStream /* 800CB31C 000C827C 38 61 01 6C */ addi r3, r1, 0x16c /* 800CB320 000C8280 38 81 01 04 */ addi r4, r1, 0x104 /* 800CB324 000C8284 4B FF A2 F9 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CB328 000C8288 38 61 01 04 */ addi r3, r1, 0x104 /* 800CB32C 000C828C 38 80 FF FF */ li r4, -1 /* 800CB330 000C8290 48 03 B2 D9 */ bl __dt__16CLightParametersFv /* 800CB334 000C8294 7F A3 EB 78 */ mr r3, r29 /* 800CB338 000C8298 48 27 39 A5 */ bl ReadBool__12CInputStreamFv /* 800CB33C 000C829C 7F A3 EB 78 */ mr r3, r29 /* 800CB340 000C82A0 48 27 39 9D */ bl ReadBool__12CInputStreamFv /* 800CB344 000C82A4 7F A3 EB 78 */ mr r3, r29 /* 800CB348 000C82A8 48 27 38 E1 */ bl ReadFloat__12CInputStreamFv /* 800CB34C 000C82AC FF E0 08 90 */ fmr f31, f1 /* 800CB350 000C82B0 7F A3 EB 78 */ mr r3, r29 /* 800CB354 000C82B4 48 27 39 31 */ bl ReadLong__12CInputStreamFv /* 800CB358 000C82B8 7C 7C 1B 78 */ mr r28, r3 /* 800CB35C 000C82BC 7F A3 EB 78 */ mr r3, r29 /* 800CB360 000C82C0 48 27 39 25 */ bl ReadLong__12CInputStreamFv /* 800CB364 000C82C4 80 81 03 0C */ lwz r4, 0x30c(r1) /* 800CB368 000C82C8 7C 7D 1B 78 */ mr r29, r3 /* 800CB36C 000C82CC 3C 04 00 01 */ addis r0, r4, 1 /* 800CB370 000C82D0 28 00 FF FF */ cmplwi r0, 0xffff /* 800CB374 000C82D4 40 82 00 20 */ bne lbl_800CB394 /* 800CB378 000C82D8 38 61 01 6C */ addi r3, r1, 0x16c /* 800CB37C 000C82DC 38 80 FF FF */ li r4, -1 /* 800CB380 000C82E0 48 03 B2 89 */ bl __dt__16CLightParametersFv /* 800CB384 000C82E4 38 61 01 D4 */ addi r3, r1, 0x1d4 /* 800CB388 000C82E8 48 27 27 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CB38C 000C82EC 38 60 00 00 */ li r3, 0 /* 800CB390 000C82F0 48 00 01 88 */ b lbl_800CB518 lbl_800CB394: /* 800CB394 000C82F4 38 00 00 00 */ li r0, 0 /* 800CB398 000C82F8 38 61 00 40 */ addi r3, r1, 0x40 /* 800CB39C 000C82FC 90 01 00 44 */ stw r0, 0x44(r1) /* 800CB3A0 000C8300 38 80 00 03 */ li r4, 3 /* 800CB3A4 000C8304 90 01 00 48 */ stw r0, 0x48(r1) /* 800CB3A8 000C8308 90 01 00 4C */ stw r0, 0x4c(r1) /* 800CB3AC 000C830C 48 00 F5 41 */ bl sub_800da8ec /* 800CB3B0 000C8310 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CB3B4 000C8314 38 61 00 B8 */ addi r3, r1, 0xb8 /* 800CB3B8 000C8318 93 81 00 30 */ stw r28, 0x30(r1) /* 800CB3BC 000C831C 38 81 00 30 */ addi r4, r1, 0x30 /* 800CB3C0 000C8320 D0 01 00 34 */ stfs f0, 0x34(r1) /* 800CB3C4 000C8324 D0 01 00 38 */ stfs f0, 0x38(r1) /* 800CB3C8 000C8328 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 800CB3CC 000C832C 48 04 B9 91 */ bl __ct__10CModelDataFRC10CStaticRes /* 800CB3D0 000C8330 38 61 00 40 */ addi r3, r1, 0x40 /* 800CB3D4 000C8334 38 81 00 B8 */ addi r4, r1, 0xb8 /* 800CB3D8 000C8338 48 00 01 5D */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" /* 800CB3DC 000C833C 38 61 00 B8 */ addi r3, r1, 0xb8 /* 800CB3E0 000C8340 38 80 FF FF */ li r4, -1 /* 800CB3E4 000C8344 48 04 B6 69 */ bl __dt__10CModelDataFv /* 800CB3E8 000C8348 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CB3EC 000C834C 3B 60 00 00 */ li r27, 0 /* 800CB3F0 000C8350 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800CB3F4 000C8354 38 60 05 E0 */ li r3, 0x5e0 /* 800CB3F8 000C8358 38 84 00 0D */ addi r4, r4, 0xd /* 800CB3FC 000C835C 38 A0 00 00 */ li r5, 0 /* 800CB400 000C8360 48 24 A4 6D */ bl __nw__FUlPCcPCc /* 800CB404 000C8364 7C 7C 1B 79 */ or. r28, r3, r3 /* 800CB408 000C8368 41 82 00 98 */ beq lbl_800CB4A0 /* 800CB40C 000C836C 80 E1 03 0C */ lwz r7, 0x30c(r1) /* 800CB410 000C8370 38 A0 00 01 */ li r5, 1 /* 800CB414 000C8374 80 C2 83 F0 */ lwz r6, kDefaultCharIdx__8CAnimRes@sda21(r2) /* 800CB418 000C8378 38 61 00 6C */ addi r3, r1, 0x6c /* 800CB41C 000C837C C0 41 02 14 */ lfs f2, 0x214(r1) /* 800CB420 000C8380 38 81 00 50 */ addi r4, r1, 0x50 /* 800CB424 000C8384 C0 21 02 18 */ lfs f1, 0x218(r1) /* 800CB428 000C8388 C0 01 02 1C */ lfs f0, 0x21c(r1) /* 800CB42C 000C838C 80 01 03 14 */ lwz r0, 0x314(r1) /* 800CB430 000C8390 90 E1 00 50 */ stw r7, 0x50(r1) /* 800CB434 000C8394 90 C1 00 54 */ stw r6, 0x54(r1) /* 800CB438 000C8398 D0 41 00 58 */ stfs f2, 0x58(r1) /* 800CB43C 000C839C D0 21 00 5C */ stfs f1, 0x5c(r1) /* 800CB440 000C83A0 D0 01 00 60 */ stfs f0, 0x60(r1) /* 800CB444 000C83A4 98 A1 00 64 */ stb r5, 0x64(r1) /* 800CB448 000C83A8 90 01 00 68 */ stw r0, 0x68(r1) /* 800CB44C 000C83AC 48 04 B7 09 */ bl __ct__10CModelDataFRC8CAnimRes /* 800CB450 000C83B0 7F C4 F3 78 */ mr r4, r30 /* 800CB454 000C83B4 38 61 00 10 */ addi r3, r1, 0x10 /* 800CB458 000C83B8 3B 60 00 01 */ li r27, 1 /* 800CB45C 000C83BC 4B F8 1C 81 */ bl AllocateUniqueId__13CStateManagerFv /* 800CB460 000C83C0 A0 81 00 10 */ lhz r4, 0x10(r1) /* 800CB464 000C83C4 38 01 00 40 */ addi r0, r1, 0x40 /* 800CB468 000C83C8 FC 20 F8 90 */ fmr f1, f31 /* 800CB46C 000C83CC 7F 83 E3 78 */ mr r3, r28 /* 800CB470 000C83D0 B0 81 00 14 */ sth r4, 0x14(r1) /* 800CB474 000C83D4 7F E6 FB 78 */ mr r6, r31 /* 800CB478 000C83D8 38 81 00 14 */ addi r4, r1, 0x14 /* 800CB47C 000C83DC 38 A1 01 D4 */ addi r5, r1, 0x1d4 /* 800CB480 000C83E0 90 01 00 08 */ stw r0, 8(r1) /* 800CB484 000C83E4 38 E1 01 E4 */ addi r7, r1, 0x1e4 /* 800CB488 000C83E8 39 01 00 6C */ addi r8, r1, 0x6c /* 800CB48C 000C83EC 39 21 01 6C */ addi r9, r1, 0x16c /* 800CB490 000C83F0 93 A1 00 0C */ stw r29, 0xc(r1) /* 800CB494 000C83F4 39 41 02 20 */ addi r10, r1, 0x220 /* 800CB498 000C83F8 48 13 A6 C1 */ bl "__ct__22CThardusRockProjectileF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>Ui" /* 800CB49C 000C83FC 7C 7C 1B 78 */ mr r28, r3 lbl_800CB4A0: /* 800CB4A0 000C8400 7F 60 07 75 */ extsb. r0, r27 /* 800CB4A4 000C8404 41 82 00 10 */ beq lbl_800CB4B4 /* 800CB4A8 000C8408 38 61 00 6C */ addi r3, r1, 0x6c /* 800CB4AC 000C840C 38 80 FF FF */ li r4, -1 /* 800CB4B0 000C8410 48 04 B5 9D */ bl __dt__10CModelDataFv lbl_800CB4B4: /* 800CB4B4 000C8414 80 01 00 44 */ lwz r0, 0x44(r1) /* 800CB4B8 000C8418 83 A1 00 4C */ lwz r29, 0x4c(r1) /* 800CB4BC 000C841C 1C 00 00 4C */ mulli r0, r0, 0x4c /* 800CB4C0 000C8420 93 A1 00 1C */ stw r29, 0x1c(r1) /* 800CB4C4 000C8424 7F DD 02 14 */ add r30, r29, r0 /* 800CB4C8 000C8428 93 A1 00 18 */ stw r29, 0x18(r1) /* 800CB4CC 000C842C 93 C1 00 24 */ stw r30, 0x24(r1) /* 800CB4D0 000C8430 93 C1 00 20 */ stw r30, 0x20(r1) /* 800CB4D4 000C8434 48 00 00 14 */ b lbl_800CB4E8 lbl_800CB4D8: /* 800CB4D8 000C8438 7F A3 EB 78 */ mr r3, r29 /* 800CB4DC 000C843C 38 80 FF FF */ li r4, -1 /* 800CB4E0 000C8440 48 04 B5 6D */ bl __dt__10CModelDataFv /* 800CB4E4 000C8444 3B BD 00 4C */ addi r29, r29, 0x4c lbl_800CB4E8: /* 800CB4E8 000C8448 7C 1D F0 40 */ cmplw r29, r30 /* 800CB4EC 000C844C 40 82 FF EC */ bne lbl_800CB4D8 /* 800CB4F0 000C8450 80 61 00 4C */ lwz r3, 0x4c(r1) /* 800CB4F4 000C8454 28 03 00 00 */ cmplwi r3, 0 /* 800CB4F8 000C8458 41 82 00 08 */ beq lbl_800CB500 /* 800CB4FC 000C845C 48 24 A4 35 */ bl Free__7CMemoryFPCv lbl_800CB500: /* 800CB500 000C8460 38 61 01 6C */ addi r3, r1, 0x16c /* 800CB504 000C8464 38 80 FF FF */ li r4, -1 /* 800CB508 000C8468 48 03 B1 01 */ bl __dt__16CLightParametersFv /* 800CB50C 000C846C 38 61 01 D4 */ addi r3, r1, 0x1d4 /* 800CB510 000C8470 48 27 25 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CB514 000C8474 7F 83 E3 78 */ mr r3, r28 lbl_800CB518: /* 800CB518 000C8478 E3 E1 03 78 */ psq_l f31, 888(r1), 0, qr0 /* 800CB51C 000C847C CB E1 03 70 */ lfd f31, 0x370(r1) /* 800CB520 000C8480 BB 61 03 5C */ lmw r27, 0x35c(r1) /* 800CB524 000C8484 80 01 03 84 */ lwz r0, 0x384(r1) /* 800CB528 000C8488 7C 08 03 A6 */ mtlr r0 /* 800CB52C 000C848C 38 21 03 80 */ addi r1, r1, 0x380 /* 800CB530 000C8490 4E 80 00 20 */ blr .global "construct<10CModelData>__4rstlFPvRC10CModelData" "construct<10CModelData>__4rstlFPvRC10CModelData": /* 800CB534 000C8494 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800CB538 000C8498 7C 08 02 A6 */ mflr r0 /* 800CB53C 000C849C 90 01 00 14 */ stw r0, 0x14(r1) /* 800CB540 000C84A0 93 E1 00 0C */ stw r31, 0xc(r1) /* 800CB544 000C84A4 7C 9F 23 78 */ mr r31, r4 /* 800CB548 000C84A8 93 C1 00 08 */ stw r30, 8(r1) /* 800CB54C 000C84AC 7C 7E 1B 78 */ mr r30, r3 /* 800CB550 000C84B0 80 03 00 04 */ lwz r0, 4(r3) /* 800CB554 000C84B4 80 A3 00 08 */ lwz r5, 8(r3) /* 800CB558 000C84B8 7C 00 28 00 */ cmpw r0, r5 /* 800CB55C 000C84BC 41 80 00 18 */ blt lbl_800CB574 /* 800CB560 000C84C0 2C 05 00 00 */ cmpwi r5, 0 /* 800CB564 000C84C4 38 80 00 04 */ li r4, 4 /* 800CB568 000C84C8 41 82 00 08 */ beq lbl_800CB570 /* 800CB56C 000C84CC 54 A4 08 3C */ slwi r4, r5, 1 lbl_800CB570: /* 800CB570 000C84D0 48 00 F3 7D */ bl sub_800da8ec lbl_800CB574: /* 800CB574 000C84D4 80 1E 00 04 */ lwz r0, 4(r30) /* 800CB578 000C84D8 7F E4 FB 78 */ mr r4, r31 /* 800CB57C 000C84DC 80 7E 00 0C */ lwz r3, 0xc(r30) /* 800CB580 000C84E0 1C 00 00 4C */ mulli r0, r0, 0x4c /* 800CB584 000C84E4 7C 63 02 14 */ add r3, r3, r0 /* 800CB588 000C84E8 48 00 00 29 */ bl sub_800cb5b0 /* 800CB58C 000C84EC 80 7E 00 04 */ lwz r3, 4(r30) /* 800CB590 000C84F0 38 03 00 01 */ addi r0, r3, 1 /* 800CB594 000C84F4 90 1E 00 04 */ stw r0, 4(r30) /* 800CB598 000C84F8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 800CB59C 000C84FC 83 C1 00 08 */ lwz r30, 8(r1) /* 800CB5A0 000C8500 80 01 00 14 */ lwz r0, 0x14(r1) /* 800CB5A4 000C8504 7C 08 03 A6 */ mtlr r0 /* 800CB5A8 000C8508 38 21 00 10 */ addi r1, r1, 0x10 /* 800CB5AC 000C850C 4E 80 00 20 */ blr .global sub_800cb5b0 sub_800cb5b0: /* 800CB5B0 000C8510 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800CB5B4 000C8514 7C 08 02 A6 */ mflr r0 /* 800CB5B8 000C8518 28 03 00 00 */ cmplwi r3, 0 /* 800CB5BC 000C851C 90 01 00 14 */ stw r0, 0x14(r1) /* 800CB5C0 000C8520 41 82 00 08 */ beq lbl_800CB5C8 /* 800CB5C4 000C8524 4B F4 D7 C9 */ bl __ct__10CModelDataFRC10CModelData lbl_800CB5C8: /* 800CB5C8 000C8528 80 01 00 14 */ lwz r0, 0x14(r1) /* 800CB5CC 000C852C 7C 08 03 A6 */ mtlr r0 /* 800CB5D0 000C8530 38 21 00 10 */ addi r1, r1, 0x10 /* 800CB5D4 000C8534 4E 80 00 20 */ blr .global LoadFlaahgraTentacle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadFlaahgraTentacle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CB5D8 000C8538 94 21 FD 10 */ stwu r1, -0x2f0(r1) /* 800CB5DC 000C853C 7C 08 02 A6 */ mflr r0 /* 800CB5E0 000C8540 2C 05 00 06 */ cmpwi r5, 6 /* 800CB5E4 000C8544 90 01 02 F4 */ stw r0, 0x2f4(r1) /* 800CB5E8 000C8548 93 E1 02 EC */ stw r31, 0x2ec(r1) /* 800CB5EC 000C854C 7C 9F 23 78 */ mr r31, r4 /* 800CB5F0 000C8550 93 C1 02 E8 */ stw r30, 0x2e8(r1) /* 800CB5F4 000C8554 7C DE 33 78 */ mr r30, r6 /* 800CB5F8 000C8558 93 A1 02 E4 */ stw r29, 0x2e4(r1) /* 800CB5FC 000C855C 7C 7D 1B 78 */ mr r29, r3 /* 800CB600 000C8560 93 81 02 E0 */ stw r28, 0x2e0(r1) /* 800CB604 000C8564 41 82 00 0C */ beq lbl_800CB610 /* 800CB608 000C8568 38 60 00 00 */ li r3, 0 /* 800CB60C 000C856C 48 00 01 78 */ b lbl_800CB784 lbl_800CB610: /* 800CB610 000C8570 7F A5 EB 78 */ mr r5, r29 /* 800CB614 000C8574 38 61 01 50 */ addi r3, r1, 0x150 /* 800CB618 000C8578 48 00 EE 65 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800CB61C 000C857C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CB620 000C8580 7F E4 FB 78 */ mr r4, r31 /* 800CB624 000C8584 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800CB628 000C8588 38 61 00 10 */ addi r3, r1, 0x10 /* 800CB62C 000C858C 38 A5 00 C3 */ addi r5, r5, 0xc3 /* 800CB630 000C8590 48 03 A1 F9 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800CB634 000C8594 88 01 00 10 */ lbz r0, 0x10(r1) /* 800CB638 000C8598 80 A1 00 14 */ lwz r5, 0x14(r1) /* 800CB63C 000C859C 28 00 00 00 */ cmplwi r0, 0 /* 800CB640 000C85A0 40 82 00 14 */ bne lbl_800CB654 /* 800CB644 000C85A4 38 61 01 50 */ addi r3, r1, 0x150 /* 800CB648 000C85A8 48 27 24 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CB64C 000C85AC 38 60 00 00 */ li r3, 0 /* 800CB650 000C85B0 48 00 01 34 */ b lbl_800CB784 lbl_800CB654: /* 800CB654 000C85B4 7F E4 FB 78 */ mr r4, r31 /* 800CB658 000C85B8 38 61 01 9C */ addi r3, r1, 0x19c /* 800CB65C 000C85BC 48 03 A2 1D */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800CB660 000C85C0 7F E4 FB 78 */ mr r4, r31 /* 800CB664 000C85C4 38 61 00 80 */ addi r3, r1, 0x80 /* 800CB668 000C85C8 48 00 E7 0D */ bl LoadActorParameters__FR12CInputStream /* 800CB66C 000C85CC 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800CB670 000C85D0 38 81 00 80 */ addi r4, r1, 0x80 /* 800CB674 000C85D4 4B FF 9F A9 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CB678 000C85D8 38 61 00 80 */ addi r3, r1, 0x80 /* 800CB67C 000C85DC 38 80 FF FF */ li r4, -1 /* 800CB680 000C85E0 48 03 AF 89 */ bl __dt__16CLightParametersFv /* 800CB684 000C85E4 80 61 02 88 */ lwz r3, 0x288(r1) /* 800CB688 000C85E8 3C 03 00 01 */ addis r0, r3, 1 /* 800CB68C 000C85EC 28 00 FF FF */ cmplwi r0, 0xffff /* 800CB690 000C85F0 40 82 00 20 */ bne lbl_800CB6B0 /* 800CB694 000C85F4 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800CB698 000C85F8 38 80 FF FF */ li r4, -1 /* 800CB69C 000C85FC 48 03 AF 6D */ bl __dt__16CLightParametersFv /* 800CB6A0 000C8600 38 61 01 50 */ addi r3, r1, 0x150 /* 800CB6A4 000C8604 48 27 24 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CB6A8 000C8608 38 60 00 00 */ li r3, 0 /* 800CB6AC 000C860C 48 00 00 D8 */ b lbl_800CB784 lbl_800CB6B0: /* 800CB6B0 000C8610 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CB6B4 000C8614 3B 80 00 00 */ li r28, 0 /* 800CB6B8 000C8618 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800CB6BC 000C861C 38 60 05 90 */ li r3, 0x590 /* 800CB6C0 000C8620 38 84 00 0D */ addi r4, r4, 0xd /* 800CB6C4 000C8624 38 A0 00 00 */ li r5, 0 /* 800CB6C8 000C8628 48 24 A1 A5 */ bl __nw__FUlPCcPCc /* 800CB6CC 000C862C 7C 7F 1B 79 */ or. r31, r3, r3 /* 800CB6D0 000C8630 41 82 00 88 */ beq lbl_800CB758 /* 800CB6D4 000C8634 80 E1 02 88 */ lwz r7, 0x288(r1) /* 800CB6D8 000C8638 38 A0 00 01 */ li r5, 1 /* 800CB6DC 000C863C 80 C1 02 8C */ lwz r6, 0x28c(r1) /* 800CB6E0 000C8640 38 61 00 34 */ addi r3, r1, 0x34 /* 800CB6E4 000C8644 C0 41 01 90 */ lfs f2, 0x190(r1) /* 800CB6E8 000C8648 38 81 00 18 */ addi r4, r1, 0x18 /* 800CB6EC 000C864C C0 21 01 94 */ lfs f1, 0x194(r1) /* 800CB6F0 000C8650 C0 01 01 98 */ lfs f0, 0x198(r1) /* 800CB6F4 000C8654 80 01 02 90 */ lwz r0, 0x290(r1) /* 800CB6F8 000C8658 90 E1 00 18 */ stw r7, 0x18(r1) /* 800CB6FC 000C865C 90 C1 00 1C */ stw r6, 0x1c(r1) /* 800CB700 000C8660 D0 41 00 20 */ stfs f2, 0x20(r1) /* 800CB704 000C8664 D0 21 00 24 */ stfs f1, 0x24(r1) /* 800CB708 000C8668 D0 01 00 28 */ stfs f0, 0x28(r1) /* 800CB70C 000C866C 98 A1 00 2C */ stb r5, 0x2c(r1) /* 800CB710 000C8670 90 01 00 30 */ stw r0, 0x30(r1) /* 800CB714 000C8674 48 04 B4 41 */ bl __ct__10CModelDataFRC8CAnimRes /* 800CB718 000C8678 7F A4 EB 78 */ mr r4, r29 /* 800CB71C 000C867C 38 61 00 08 */ addi r3, r1, 8 /* 800CB720 000C8680 3B 80 00 01 */ li r28, 1 /* 800CB724 000C8684 4B F8 19 B9 */ bl AllocateUniqueId__13CStateManagerFv /* 800CB728 000C8688 A0 01 00 08 */ lhz r0, 8(r1) /* 800CB72C 000C868C 7F E3 FB 78 */ mr r3, r31 /* 800CB730 000C8690 7F C6 F3 78 */ mr r6, r30 /* 800CB734 000C8694 38 81 00 0C */ addi r4, r1, 0xc /* 800CB738 000C8698 B0 01 00 0C */ sth r0, 0xc(r1) /* 800CB73C 000C869C 38 A1 01 50 */ addi r5, r1, 0x150 /* 800CB740 000C86A0 38 E1 01 60 */ addi r7, r1, 0x160 /* 800CB744 000C86A4 39 01 00 34 */ addi r8, r1, 0x34 /* 800CB748 000C86A8 39 21 01 9C */ addi r9, r1, 0x19c /* 800CB74C 000C86AC 39 41 00 E8 */ addi r10, r1, 0xe8 /* 800CB750 000C86B0 48 12 58 6D */ bl "__ct__17CFlaahgraTentacleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParameters" /* 800CB754 000C86B4 7C 7F 1B 78 */ mr r31, r3 lbl_800CB758: /* 800CB758 000C86B8 7F 80 07 75 */ extsb. r0, r28 /* 800CB75C 000C86BC 41 82 00 10 */ beq lbl_800CB76C /* 800CB760 000C86C0 38 61 00 34 */ addi r3, r1, 0x34 /* 800CB764 000C86C4 38 80 FF FF */ li r4, -1 /* 800CB768 000C86C8 48 04 B2 E5 */ bl __dt__10CModelDataFv lbl_800CB76C: /* 800CB76C 000C86CC 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800CB770 000C86D0 38 80 FF FF */ li r4, -1 /* 800CB774 000C86D4 48 03 AE 95 */ bl __dt__16CLightParametersFv /* 800CB778 000C86D8 38 61 01 50 */ addi r3, r1, 0x150 /* 800CB77C 000C86DC 48 27 23 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CB780 000C86E0 7F E3 FB 78 */ mr r3, r31 lbl_800CB784: /* 800CB784 000C86E4 80 01 02 F4 */ lwz r0, 0x2f4(r1) /* 800CB788 000C86E8 83 E1 02 EC */ lwz r31, 0x2ec(r1) /* 800CB78C 000C86EC 83 C1 02 E8 */ lwz r30, 0x2e8(r1) /* 800CB790 000C86F0 83 A1 02 E4 */ lwz r29, 0x2e4(r1) /* 800CB794 000C86F4 83 81 02 E0 */ lwz r28, 0x2e0(r1) /* 800CB798 000C86F8 7C 08 03 A6 */ mtlr r0 /* 800CB79C 000C86FC 38 21 02 F0 */ addi r1, r1, 0x2f0 /* 800CB7A0 000C8700 4E 80 00 20 */ blr .global LoadWallCrawlerSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadWallCrawlerSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CB7A4 000C8704 94 21 FB F0 */ stwu r1, -0x410(r1) /* 800CB7A8 000C8708 7C 08 02 A6 */ mflr r0 /* 800CB7AC 000C870C 90 01 04 14 */ stw r0, 0x414(r1) /* 800CB7B0 000C8710 DB E1 04 00 */ stfd f31, 0x400(r1) /* 800CB7B4 000C8714 F3 E1 04 08 */ psq_st f31, 1032(r1), 0, qr0 /* 800CB7B8 000C8718 DB C1 03 F0 */ stfd f30, 0x3f0(r1) /* 800CB7BC 000C871C F3 C1 03 F8 */ psq_st f30, 1016(r1), 0, qr0 /* 800CB7C0 000C8720 DB A1 03 E0 */ stfd f29, 0x3e0(r1) /* 800CB7C4 000C8724 F3 A1 03 E8 */ psq_st f29, 1000(r1), 0, qr0 /* 800CB7C8 000C8728 DB 81 03 D0 */ stfd f28, 0x3d0(r1) /* 800CB7CC 000C872C F3 81 03 D8 */ psq_st f28, 984(r1), 0, qr0 /* 800CB7D0 000C8730 DB 61 03 C0 */ stfd f27, 0x3c0(r1) /* 800CB7D4 000C8734 F3 61 03 C8 */ psq_st f27, 968(r1), 0, qr0 /* 800CB7D8 000C8738 DB 41 03 B0 */ stfd f26, 0x3b0(r1) /* 800CB7DC 000C873C F3 41 03 B8 */ psq_st f26, 952(r1), 0, qr0 /* 800CB7E0 000C8740 DB 21 03 A0 */ stfd f25, 0x3a0(r1) /* 800CB7E4 000C8744 F3 21 03 A8 */ psq_st f25, 936(r1), 0, qr0 /* 800CB7E8 000C8748 DB 01 03 90 */ stfd f24, 0x390(r1) /* 800CB7EC 000C874C F3 01 03 98 */ psq_st f24, 920(r1), 0, qr0 /* 800CB7F0 000C8750 DA E1 03 80 */ stfd f23, 0x380(r1) /* 800CB7F4 000C8754 F2 E1 03 88 */ psq_st f23, 904(r1), 0, qr0 /* 800CB7F8 000C8758 DA C1 03 70 */ stfd f22, 0x370(r1) /* 800CB7FC 000C875C F2 C1 03 78 */ psq_st f22, 888(r1), 0, qr0 /* 800CB800 000C8760 DA A1 03 60 */ stfd f21, 0x360(r1) /* 800CB804 000C8764 F2 A1 03 68 */ psq_st f21, 872(r1), 0, qr0 /* 800CB808 000C8768 DA 81 03 50 */ stfd f20, 0x350(r1) /* 800CB80C 000C876C F2 81 03 58 */ psq_st f20, 856(r1), 0, qr0 /* 800CB810 000C8770 DA 61 03 40 */ stfd f19, 0x340(r1) /* 800CB814 000C8774 F2 61 03 48 */ psq_st f19, 840(r1), 0, qr0 /* 800CB818 000C8778 DA 41 03 30 */ stfd f18, 0x330(r1) /* 800CB81C 000C877C F2 41 03 38 */ psq_st f18, 824(r1), 0, qr0 /* 800CB820 000C8780 DA 21 03 20 */ stfd f17, 0x320(r1) /* 800CB824 000C8784 F2 21 03 28 */ psq_st f17, 808(r1), 0, qr0 /* 800CB828 000C8788 DA 01 03 10 */ stfd f16, 0x310(r1) /* 800CB82C 000C878C F2 01 03 18 */ psq_st f16, 792(r1), 0, qr0 /* 800CB830 000C8790 BD C1 02 C8 */ stmw r14, 0x2c8(r1) /* 800CB834 000C8794 2C 05 00 27 */ cmpwi r5, 0x27 /* 800CB838 000C8798 90 C1 00 70 */ stw r6, 0x70(r1) /* 800CB83C 000C879C 7C 70 1B 78 */ mr r16, r3 /* 800CB840 000C87A0 7C 8E 23 78 */ mr r14, r4 /* 800CB844 000C87A4 41 82 00 0C */ beq lbl_800CB850 /* 800CB848 000C87A8 38 60 00 00 */ li r3, 0 /* 800CB84C 000C87AC 48 00 03 44 */ b lbl_800CBB90 lbl_800CB850: /* 800CB850 000C87B0 7E 05 83 78 */ mr r5, r16 /* 800CB854 000C87B4 38 61 02 78 */ addi r3, r1, 0x278 /* 800CB858 000C87B8 48 00 EC 25 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800CB85C 000C87BC 7D C3 73 78 */ mr r3, r14 /* 800CB860 000C87C0 48 27 34 7D */ bl ReadBool__12CInputStreamFv /* 800CB864 000C87C4 98 61 02 C4 */ stb r3, 0x2c4(r1) /* 800CB868 000C87C8 7D C4 73 78 */ mr r4, r14 /* 800CB86C 000C87CC 38 61 01 40 */ addi r3, r1, 0x140 /* 800CB870 000C87D0 48 00 E5 05 */ bl LoadActorParameters__FR12CInputStream /* 800CB874 000C87D4 38 61 02 10 */ addi r3, r1, 0x210 /* 800CB878 000C87D8 38 81 01 40 */ addi r4, r1, 0x140 /* 800CB87C 000C87DC 4B FF 9D A1 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CB880 000C87E0 38 61 01 40 */ addi r3, r1, 0x140 /* 800CB884 000C87E4 38 80 FF FF */ li r4, -1 /* 800CB888 000C87E8 48 03 AD 81 */ bl __dt__16CLightParametersFv /* 800CB88C 000C87EC 7D C3 73 78 */ mr r3, r14 /* 800CB890 000C87F0 48 27 33 F5 */ bl ReadLong__12CInputStreamFv /* 800CB894 000C87F4 7C 60 1B 78 */ mr r0, r3 /* 800CB898 000C87F8 7D C3 73 78 */ mr r3, r14 /* 800CB89C 000C87FC 7C 11 03 78 */ mr r17, r0 /* 800CB8A0 000C8800 48 27 33 E5 */ bl ReadLong__12CInputStreamFv /* 800CB8A4 000C8804 7C 73 1B 78 */ mr r19, r3 /* 800CB8A8 000C8808 7D C3 73 78 */ mr r3, r14 /* 800CB8AC 000C880C 48 27 33 D9 */ bl ReadLong__12CInputStreamFv /* 800CB8B0 000C8810 7C 74 1B 78 */ mr r20, r3 /* 800CB8B4 000C8814 7D C3 73 78 */ mr r3, r14 /* 800CB8B8 000C8818 48 27 33 CD */ bl ReadLong__12CInputStreamFv /* 800CB8BC 000C881C 7C 75 1B 78 */ mr r21, r3 /* 800CB8C0 000C8820 7D C3 73 78 */ mr r3, r14 /* 800CB8C4 000C8824 48 27 33 C1 */ bl ReadLong__12CInputStreamFv /* 800CB8C8 000C8828 7C 76 1B 78 */ mr r22, r3 /* 800CB8CC 000C882C 7D C3 73 78 */ mr r3, r14 /* 800CB8D0 000C8830 48 27 33 B5 */ bl ReadLong__12CInputStreamFv /* 800CB8D4 000C8834 7C 77 1B 78 */ mr r23, r3 /* 800CB8D8 000C8838 7D C3 73 78 */ mr r3, r14 /* 800CB8DC 000C883C 48 27 33 A9 */ bl ReadLong__12CInputStreamFv /* 800CB8E0 000C8840 7C 78 1B 78 */ mr r24, r3 /* 800CB8E4 000C8844 7D C3 73 78 */ mr r3, r14 /* 800CB8E8 000C8848 48 27 33 9D */ bl ReadLong__12CInputStreamFv /* 800CB8EC 000C884C 7C 79 1B 78 */ mr r25, r3 /* 800CB8F0 000C8850 7D C3 73 78 */ mr r3, r14 /* 800CB8F4 000C8854 48 27 33 91 */ bl ReadLong__12CInputStreamFv /* 800CB8F8 000C8858 7C 7A 1B 78 */ mr r26, r3 /* 800CB8FC 000C885C 7D C3 73 78 */ mr r3, r14 /* 800CB900 000C8860 48 27 33 85 */ bl ReadLong__12CInputStreamFv /* 800CB904 000C8864 7C 7B 1B 78 */ mr r27, r3 /* 800CB908 000C8868 7D C4 73 78 */ mr r4, r14 /* 800CB90C 000C886C 38 61 00 BC */ addi r3, r1, 0xbc /* 800CB910 000C8870 4B FF 7C 51 */ bl __ct__11CDamageInfoFR12CInputStream /* 800CB914 000C8874 7D C3 73 78 */ mr r3, r14 /* 800CB918 000C8878 48 27 33 11 */ bl ReadFloat__12CInputStreamFv /* 800CB91C 000C887C FE E0 08 90 */ fmr f23, f1 /* 800CB920 000C8880 7D C4 73 78 */ mr r4, r14 /* 800CB924 000C8884 38 61 00 A0 */ addi r3, r1, 0xa0 /* 800CB928 000C8888 4B FF 7C 39 */ bl __ct__11CDamageInfoFR12CInputStream /* 800CB92C 000C888C 7D C3 73 78 */ mr r3, r14 /* 800CB930 000C8890 48 27 32 F9 */ bl ReadFloat__12CInputStreamFv /* 800CB934 000C8894 FE C0 08 90 */ fmr f22, f1 /* 800CB938 000C8898 7D C3 73 78 */ mr r3, r14 /* 800CB93C 000C889C 48 27 32 ED */ bl ReadFloat__12CInputStreamFv /* 800CB940 000C88A0 FE A0 08 90 */ fmr f21, f1 /* 800CB944 000C88A4 7D C3 73 78 */ mr r3, r14 /* 800CB948 000C88A8 48 27 32 E1 */ bl ReadFloat__12CInputStreamFv /* 800CB94C 000C88AC FE 80 08 90 */ fmr f20, f1 /* 800CB950 000C88B0 7D C3 73 78 */ mr r3, r14 /* 800CB954 000C88B4 48 27 32 D5 */ bl ReadFloat__12CInputStreamFv /* 800CB958 000C88B8 FE 60 08 90 */ fmr f19, f1 /* 800CB95C 000C88BC 7D C3 73 78 */ mr r3, r14 /* 800CB960 000C88C0 48 27 33 25 */ bl ReadLong__12CInputStreamFv /* 800CB964 000C88C4 7C 7C 1B 78 */ mr r28, r3 /* 800CB968 000C88C8 7D C3 73 78 */ mr r3, r14 /* 800CB96C 000C88CC 48 27 33 19 */ bl ReadLong__12CInputStreamFv /* 800CB970 000C88D0 7C 7D 1B 78 */ mr r29, r3 /* 800CB974 000C88D4 7D C3 73 78 */ mr r3, r14 /* 800CB978 000C88D8 48 27 32 B1 */ bl ReadFloat__12CInputStreamFv /* 800CB97C 000C88DC FE 40 08 90 */ fmr f18, f1 /* 800CB980 000C88E0 7D C3 73 78 */ mr r3, r14 /* 800CB984 000C88E4 48 27 32 A5 */ bl ReadFloat__12CInputStreamFv /* 800CB988 000C88E8 FE 20 08 90 */ fmr f17, f1 /* 800CB98C 000C88EC 7D C3 73 78 */ mr r3, r14 /* 800CB990 000C88F0 48 27 32 99 */ bl ReadFloat__12CInputStreamFv /* 800CB994 000C88F4 FE 00 08 90 */ fmr f16, f1 /* 800CB998 000C88F8 7D C3 73 78 */ mr r3, r14 /* 800CB99C 000C88FC 48 27 32 8D */ bl ReadFloat__12CInputStreamFv /* 800CB9A0 000C8900 FF 00 08 90 */ fmr f24, f1 /* 800CB9A4 000C8904 7D C3 73 78 */ mr r3, r14 /* 800CB9A8 000C8908 48 27 32 81 */ bl ReadFloat__12CInputStreamFv /* 800CB9AC 000C890C FF 20 08 90 */ fmr f25, f1 /* 800CB9B0 000C8910 7D C3 73 78 */ mr r3, r14 /* 800CB9B4 000C8914 48 27 32 75 */ bl ReadFloat__12CInputStreamFv /* 800CB9B8 000C8918 FF 40 08 90 */ fmr f26, f1 /* 800CB9BC 000C891C 7D C3 73 78 */ mr r3, r14 /* 800CB9C0 000C8920 48 27 32 69 */ bl ReadFloat__12CInputStreamFv /* 800CB9C4 000C8924 FF 60 08 90 */ fmr f27, f1 /* 800CB9C8 000C8928 7D C3 73 78 */ mr r3, r14 /* 800CB9CC 000C892C 48 27 32 5D */ bl ReadFloat__12CInputStreamFv /* 800CB9D0 000C8930 FF 80 08 90 */ fmr f28, f1 /* 800CB9D4 000C8934 7D C3 73 78 */ mr r3, r14 /* 800CB9D8 000C8938 48 27 32 AD */ bl ReadLong__12CInputStreamFv /* 800CB9DC 000C893C 7C 7E 1B 78 */ mr r30, r3 /* 800CB9E0 000C8940 7D C3 73 78 */ mr r3, r14 /* 800CB9E4 000C8944 48 27 32 45 */ bl ReadFloat__12CInputStreamFv /* 800CB9E8 000C8948 FF A0 08 90 */ fmr f29, f1 /* 800CB9EC 000C894C 7D C3 73 78 */ mr r3, r14 /* 800CB9F0 000C8950 48 27 32 39 */ bl ReadFloat__12CInputStreamFv /* 800CB9F4 000C8954 FF C0 08 90 */ fmr f30, f1 /* 800CB9F8 000C8958 7D C3 73 78 */ mr r3, r14 /* 800CB9FC 000C895C 48 27 32 2D */ bl ReadFloat__12CInputStreamFv /* 800CBA00 000C8960 FF E0 08 90 */ fmr f31, f1 /* 800CBA04 000C8964 7D C4 73 78 */ mr r4, r14 /* 800CBA08 000C8968 38 61 00 7C */ addi r3, r1, 0x7c /* 800CBA0C 000C896C 48 10 7E 39 */ bl __ct__11CHealthInfoFR12CInputStream /* 800CBA10 000C8970 7D C4 73 78 */ mr r4, r14 /* 800CBA14 000C8974 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 800CBA18 000C8978 48 03 71 41 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 800CBA1C 000C897C 7D C3 73 78 */ mr r3, r14 /* 800CBA20 000C8980 48 27 32 65 */ bl ReadLong__12CInputStreamFv /* 800CBA24 000C8984 7C 7F 1B 78 */ mr r31, r3 /* 800CBA28 000C8988 7D C3 73 78 */ mr r3, r14 /* 800CBA2C 000C898C 48 27 32 59 */ bl ReadLong__12CInputStreamFv /* 800CBA30 000C8990 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CBA34 000C8994 7C 6E 1B 78 */ mr r14, r3 /* 800CBA38 000C8998 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l /* 800CBA3C 000C899C 39 E0 00 00 */ li r15, 0 /* 800CBA40 000C89A0 38 83 00 0D */ addi r4, r3, 0xd /* 800CBA44 000C89A4 38 60 05 68 */ li r3, 0x568 /* 800CBA48 000C89A8 38 A0 00 00 */ li r5, 0 /* 800CBA4C 000C89AC 48 24 9E 21 */ bl __nw__FUlPCcPCc /* 800CBA50 000C89B0 7C 72 1B 79 */ or. r18, r3, r3 /* 800CBA54 000C89B4 41 82 01 10 */ beq lbl_800CBB64 /* 800CBA58 000C89B8 38 61 00 D8 */ addi r3, r1, 0xd8 /* 800CBA5C 000C89BC 38 81 02 10 */ addi r4, r1, 0x210 /* 800CBA60 000C89C0 4B FF 9B BD */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CBA64 000C89C4 C0 02 8E 54 */ lfs f0, lbl_805AAB74@sda21(r2) /* 800CBA68 000C89C8 38 00 00 01 */ li r0, 1 /* 800CBA6C 000C89CC 92 61 00 84 */ stw r19, 0x84(r1) /* 800CBA70 000C89D0 7E 04 83 78 */ mr r4, r16 /* 800CBA74 000C89D4 38 61 00 74 */ addi r3, r1, 0x74 /* 800CBA78 000C89D8 39 E0 00 01 */ li r15, 1 /* 800CBA7C 000C89DC 92 81 00 88 */ stw r20, 0x88(r1) /* 800CBA80 000C89E0 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 800CBA84 000C89E4 D0 01 00 90 */ stfs f0, 0x90(r1) /* 800CBA88 000C89E8 D0 01 00 94 */ stfs f0, 0x94(r1) /* 800CBA8C 000C89EC 98 01 00 98 */ stb r0, 0x98(r1) /* 800CBA90 000C89F0 92 A1 00 9C */ stw r21, 0x9c(r1) /* 800CBA94 000C89F4 4B F8 16 49 */ bl AllocateUniqueId__13CStateManagerFv /* 800CBA98 000C89F8 A0 61 00 74 */ lhz r3, 0x74(r1) /* 800CBA9C 000C89FC 38 01 00 84 */ addi r0, r1, 0x84 /* 800CBAA0 000C8A00 39 21 00 BC */ addi r9, r1, 0xbc /* 800CBAA4 000C8A04 3A 01 00 A0 */ addi r16, r1, 0xa0 /* 800CBAA8 000C8A08 B0 61 00 78 */ sth r3, 0x78(r1) /* 800CBAAC 000C8A0C 39 81 00 7C */ addi r12, r1, 0x7c /* 800CBAB0 000C8A10 39 61 01 A8 */ addi r11, r1, 0x1a8 /* 800CBAB4 000C8A14 FC 20 B8 90 */ fmr f1, f23 /* 800CBAB8 000C8A18 90 01 00 08 */ stw r0, 8(r1) /* 800CBABC 000C8A1C FC 40 B0 90 */ fmr f2, f22 /* 800CBAC0 000C8A20 FC 60 A8 90 */ fmr f3, f21 /* 800CBAC4 000C8A24 38 01 00 D8 */ addi r0, r1, 0xd8 /* 800CBAC8 000C8A28 92 C1 00 0C */ stw r22, 0xc(r1) /* 800CBACC 000C8A2C FC 80 A0 90 */ fmr f4, f20 /* 800CBAD0 000C8A30 88 A1 02 C4 */ lbz r5, 0x2c4(r1) /* 800CBAD4 000C8A34 92 E1 00 10 */ stw r23, 0x10(r1) /* 800CBAD8 000C8A38 FC A0 98 90 */ fmr f5, f19 /* 800CBADC 000C8A3C 80 E1 00 70 */ lwz r7, 0x70(r1) /* 800CBAE0 000C8A40 93 01 00 14 */ stw r24, 0x14(r1) /* 800CBAE4 000C8A44 FC C0 90 90 */ fmr f6, f18 /* 800CBAE8 000C8A48 7E 43 93 78 */ mr r3, r18 /* 800CBAEC 000C8A4C 93 21 00 18 */ stw r25, 0x18(r1) /* 800CBAF0 000C8A50 FC E0 88 90 */ fmr f7, f17 /* 800CBAF4 000C8A54 7E 2A 8B 78 */ mr r10, r17 /* 800CBAF8 000C8A58 93 41 00 1C */ stw r26, 0x1c(r1) /* 800CBAFC 000C8A5C FD 00 80 90 */ fmr f8, f16 /* 800CBB00 000C8A60 38 81 00 78 */ addi r4, r1, 0x78 /* 800CBB04 000C8A64 93 61 00 20 */ stw r27, 0x20(r1) /* 800CBB08 000C8A68 38 C1 02 78 */ addi r6, r1, 0x278 /* 800CBB0C 000C8A6C 39 01 02 B8 */ addi r8, r1, 0x2b8 /* 800CBB10 000C8A70 91 21 00 24 */ stw r9, 0x24(r1) /* 800CBB14 000C8A74 39 21 02 88 */ addi r9, r1, 0x288 /* 800CBB18 000C8A78 92 01 00 28 */ stw r16, 0x28(r1) /* 800CBB1C 000C8A7C 93 81 00 2C */ stw r28, 0x2c(r1) /* 800CBB20 000C8A80 93 A1 00 30 */ stw r29, 0x30(r1) /* 800CBB24 000C8A84 D3 01 00 34 */ stfs f24, 0x34(r1) /* 800CBB28 000C8A88 D3 21 00 38 */ stfs f25, 0x38(r1) /* 800CBB2C 000C8A8C D3 41 00 3C */ stfs f26, 0x3c(r1) /* 800CBB30 000C8A90 D3 61 00 40 */ stfs f27, 0x40(r1) /* 800CBB34 000C8A94 D3 81 00 44 */ stfs f28, 0x44(r1) /* 800CBB38 000C8A98 93 C1 00 48 */ stw r30, 0x48(r1) /* 800CBB3C 000C8A9C D3 A1 00 4C */ stfs f29, 0x4c(r1) /* 800CBB40 000C8AA0 D3 C1 00 50 */ stfs f30, 0x50(r1) /* 800CBB44 000C8AA4 D3 E1 00 54 */ stfs f31, 0x54(r1) /* 800CBB48 000C8AA8 91 81 00 58 */ stw r12, 0x58(r1) /* 800CBB4C 000C8AAC 91 61 00 5C */ stw r11, 0x5c(r1) /* 800CBB50 000C8AB0 93 E1 00 60 */ stw r31, 0x60(r1) /* 800CBB54 000C8AB4 91 C1 00 64 */ stw r14, 0x64(r1) /* 800CBB58 000C8AB8 90 01 00 68 */ stw r0, 0x68(r1) /* 800CBB5C 000C8ABC 48 12 20 29 */ bl "__ct__17CWallCrawlerSwarmF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fRC8CAnimResRC8CAnimResUiUiUiUiRC11CDamageInfoffffiiffffffffi16CActorParameters" /* 800CBB60 000C8AC0 7C 72 1B 78 */ mr r18, r3 lbl_800CBB64: /* 800CBB64 000C8AC4 7D E0 07 75 */ extsb. r0, r15 /* 800CBB68 000C8AC8 41 82 00 10 */ beq lbl_800CBB78 /* 800CBB6C 000C8ACC 38 61 00 D8 */ addi r3, r1, 0xd8 /* 800CBB70 000C8AD0 38 80 FF FF */ li r4, -1 /* 800CBB74 000C8AD4 48 03 AA 95 */ bl __dt__16CLightParametersFv lbl_800CBB78: /* 800CBB78 000C8AD8 38 61 02 10 */ addi r3, r1, 0x210 /* 800CBB7C 000C8ADC 38 80 FF FF */ li r4, -1 /* 800CBB80 000C8AE0 48 03 AA 89 */ bl __dt__16CLightParametersFv /* 800CBB84 000C8AE4 38 61 02 78 */ addi r3, r1, 0x278 /* 800CBB88 000C8AE8 48 27 1F 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CBB8C 000C8AEC 7E 43 93 78 */ mr r3, r18 lbl_800CBB90: /* 800CBB90 000C8AF0 E3 E1 04 08 */ psq_l f31, 1032(r1), 0, qr0 /* 800CBB94 000C8AF4 CB E1 04 00 */ lfd f31, 0x400(r1) /* 800CBB98 000C8AF8 E3 C1 03 F8 */ psq_l f30, 1016(r1), 0, qr0 /* 800CBB9C 000C8AFC CB C1 03 F0 */ lfd f30, 0x3f0(r1) /* 800CBBA0 000C8B00 E3 A1 03 E8 */ psq_l f29, 1000(r1), 0, qr0 /* 800CBBA4 000C8B04 CB A1 03 E0 */ lfd f29, 0x3e0(r1) /* 800CBBA8 000C8B08 E3 81 03 D8 */ psq_l f28, 984(r1), 0, qr0 /* 800CBBAC 000C8B0C CB 81 03 D0 */ lfd f28, 0x3d0(r1) /* 800CBBB0 000C8B10 E3 61 03 C8 */ psq_l f27, 968(r1), 0, qr0 /* 800CBBB4 000C8B14 CB 61 03 C0 */ lfd f27, 0x3c0(r1) /* 800CBBB8 000C8B18 E3 41 03 B8 */ psq_l f26, 952(r1), 0, qr0 /* 800CBBBC 000C8B1C CB 41 03 B0 */ lfd f26, 0x3b0(r1) /* 800CBBC0 000C8B20 E3 21 03 A8 */ psq_l f25, 936(r1), 0, qr0 /* 800CBBC4 000C8B24 CB 21 03 A0 */ lfd f25, 0x3a0(r1) /* 800CBBC8 000C8B28 E3 01 03 98 */ psq_l f24, 920(r1), 0, qr0 /* 800CBBCC 000C8B2C CB 01 03 90 */ lfd f24, 0x390(r1) /* 800CBBD0 000C8B30 E2 E1 03 88 */ psq_l f23, 904(r1), 0, qr0 /* 800CBBD4 000C8B34 CA E1 03 80 */ lfd f23, 0x380(r1) /* 800CBBD8 000C8B38 E2 C1 03 78 */ psq_l f22, 888(r1), 0, qr0 /* 800CBBDC 000C8B3C CA C1 03 70 */ lfd f22, 0x370(r1) /* 800CBBE0 000C8B40 E2 A1 03 68 */ psq_l f21, 872(r1), 0, qr0 /* 800CBBE4 000C8B44 CA A1 03 60 */ lfd f21, 0x360(r1) /* 800CBBE8 000C8B48 E2 81 03 58 */ psq_l f20, 856(r1), 0, qr0 /* 800CBBEC 000C8B4C CA 81 03 50 */ lfd f20, 0x350(r1) /* 800CBBF0 000C8B50 E2 61 03 48 */ psq_l f19, 840(r1), 0, qr0 /* 800CBBF4 000C8B54 CA 61 03 40 */ lfd f19, 0x340(r1) /* 800CBBF8 000C8B58 E2 41 03 38 */ psq_l f18, 824(r1), 0, qr0 /* 800CBBFC 000C8B5C CA 41 03 30 */ lfd f18, 0x330(r1) /* 800CBC00 000C8B60 E2 21 03 28 */ psq_l f17, 808(r1), 0, qr0 /* 800CBC04 000C8B64 CA 21 03 20 */ lfd f17, 0x320(r1) /* 800CBC08 000C8B68 E2 01 03 18 */ psq_l f16, 792(r1), 0, qr0 /* 800CBC0C 000C8B6C CA 01 03 10 */ lfd f16, 0x310(r1) /* 800CBC10 000C8B70 B9 C1 02 C8 */ lmw r14, 0x2c8(r1) /* 800CBC14 000C8B74 80 01 04 14 */ lwz r0, 0x414(r1) /* 800CBC18 000C8B78 7C 08 03 A6 */ mtlr r0 /* 800CBC1C 000C8B7C 38 21 04 10 */ addi r1, r1, 0x410 /* 800CBC20 000C8B80 4E 80 00 20 */ blr .global LoadThardus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadThardus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CBC24 000C8B84 94 21 F6 B0 */ stwu r1, -0x950(r1) /* 800CBC28 000C8B88 7C 08 02 A6 */ mflr r0 /* 800CBC2C 000C8B8C 90 01 09 54 */ stw r0, 0x954(r1) /* 800CBC30 000C8B90 DB E1 09 40 */ stfd f31, 0x940(r1) /* 800CBC34 000C8B94 F3 E1 09 48 */ psq_st f31, -1720(r1), 0, qr0 /* 800CBC38 000C8B98 DB C1 09 30 */ stfd f30, 0x930(r1) /* 800CBC3C 000C8B9C F3 C1 09 38 */ psq_st f30, -1736(r1), 0, qr0 /* 800CBC40 000C8BA0 DB A1 09 20 */ stfd f29, 0x920(r1) /* 800CBC44 000C8BA4 F3 A1 09 28 */ psq_st f29, -1752(r1), 0, qr0 /* 800CBC48 000C8BA8 DB 81 09 10 */ stfd f28, 0x910(r1) /* 800CBC4C 000C8BAC F3 81 09 18 */ psq_st f28, -1768(r1), 0, qr0 /* 800CBC50 000C8BB0 DB 61 09 00 */ stfd f27, 0x900(r1) /* 800CBC54 000C8BB4 F3 61 09 08 */ psq_st f27, -1784(r1), 0, qr0 /* 800CBC58 000C8BB8 DB 41 08 F0 */ stfd f26, 0x8f0(r1) /* 800CBC5C 000C8BBC F3 41 08 F8 */ psq_st f26, -1800(r1), 0, qr0 /* 800CBC60 000C8BC0 BD C1 08 A8 */ stmw r14, 0x8a8(r1) /* 800CBC64 000C8BC4 7C AE 2B 78 */ mr r14, r5 /* 800CBC68 000C8BC8 90 C1 00 50 */ stw r6, 0x50(r1) /* 800CBC6C 000C8BCC 2C 0E 00 2B */ cmpwi r14, 0x2b /* 800CBC70 000C8BD0 7C 7F 1B 78 */ mr r31, r3 /* 800CBC74 000C8BD4 7C 9E 23 78 */ mr r30, r4 /* 800CBC78 000C8BD8 40 80 00 0C */ bge lbl_800CBC84 /* 800CBC7C 000C8BDC 38 60 00 00 */ li r3, 0 /* 800CBC80 000C8BE0 48 00 07 C0 */ b lbl_800CC440 lbl_800CBC84: /* 800CBC84 000C8BE4 7F E5 FB 78 */ mr r5, r31 /* 800CBC88 000C8BE8 38 61 06 E4 */ addi r3, r1, 0x6e4 /* 800CBC8C 000C8BEC 48 00 E7 F1 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800CBC90 000C8BF0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CBC94 000C8BF4 7F C4 F3 78 */ mr r4, r30 /* 800CBC98 000C8BF8 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800CBC9C 000C8BFC 38 61 00 7C */ addi r3, r1, 0x7c /* 800CBCA0 000C8C00 38 A5 00 D5 */ addi r5, r5, 0xd5 /* 800CBCA4 000C8C04 48 03 9B 85 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800CBCA8 000C8C08 88 01 00 7C */ lbz r0, 0x7c(r1) /* 800CBCAC 000C8C0C 80 A1 00 80 */ lwz r5, 0x80(r1) /* 800CBCB0 000C8C10 28 00 00 00 */ cmplwi r0, 0 /* 800CBCB4 000C8C14 40 82 00 14 */ bne lbl_800CBCC8 /* 800CBCB8 000C8C18 38 61 06 E4 */ addi r3, r1, 0x6e4 /* 800CBCBC 000C8C1C 48 27 1E 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CBCC0 000C8C20 38 60 00 00 */ li r3, 0 /* 800CBCC4 000C8C24 48 00 07 7C */ b lbl_800CC440 lbl_800CBCC8: /* 800CBCC8 000C8C28 7F C4 F3 78 */ mr r4, r30 /* 800CBCCC 000C8C2C 38 61 07 30 */ addi r3, r1, 0x730 /* 800CBCD0 000C8C30 48 03 9B A9 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800CBCD4 000C8C34 7F C4 F3 78 */ mr r4, r30 /* 800CBCD8 000C8C38 38 61 06 14 */ addi r3, r1, 0x614 /* 800CBCDC 000C8C3C 48 00 E0 99 */ bl LoadActorParameters__FR12CInputStream /* 800CBCE0 000C8C40 38 61 06 7C */ addi r3, r1, 0x67c /* 800CBCE4 000C8C44 38 81 06 14 */ addi r4, r1, 0x614 /* 800CBCE8 000C8C48 4B FF 99 35 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CBCEC 000C8C4C 38 61 06 14 */ addi r3, r1, 0x614 /* 800CBCF0 000C8C50 38 80 FF FF */ li r4, -1 /* 800CBCF4 000C8C54 48 03 A9 15 */ bl __dt__16CLightParametersFv /* 800CBCF8 000C8C58 7F C3 F3 78 */ mr r3, r30 /* 800CBCFC 000C8C5C 48 27 2F E1 */ bl ReadBool__12CInputStreamFv /* 800CBD00 000C8C60 7F C3 F3 78 */ mr r3, r30 /* 800CBD04 000C8C64 48 27 2F D9 */ bl ReadBool__12CInputStreamFv /* 800CBD08 000C8C68 80 61 08 1C */ lwz r3, 0x81c(r1) /* 800CBD0C 000C8C6C 3C 03 00 01 */ addis r0, r3, 1 /* 800CBD10 000C8C70 28 00 FF FF */ cmplwi r0, 0xffff /* 800CBD14 000C8C74 40 82 00 20 */ bne lbl_800CBD34 /* 800CBD18 000C8C78 38 61 06 7C */ addi r3, r1, 0x67c /* 800CBD1C 000C8C7C 38 80 FF FF */ li r4, -1 /* 800CBD20 000C8C80 48 03 A8 E9 */ bl __dt__16CLightParametersFv /* 800CBD24 000C8C84 38 61 06 E4 */ addi r3, r1, 0x6e4 /* 800CBD28 000C8C88 48 27 1D B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CBD2C 000C8C8C 38 60 00 00 */ li r3, 0 /* 800CBD30 000C8C90 48 00 07 10 */ b lbl_800CC440 lbl_800CBD34: /* 800CBD34 000C8C94 7F C3 F3 78 */ mr r3, r30 /* 800CBD38 000C8C98 48 27 2F 4D */ bl ReadLong__12CInputStreamFv /* 800CBD3C 000C8C9C 7C 70 1B 78 */ mr r16, r3 /* 800CBD40 000C8CA0 7F C3 F3 78 */ mr r3, r30 /* 800CBD44 000C8CA4 48 27 2F 41 */ bl ReadLong__12CInputStreamFv /* 800CBD48 000C8CA8 7C 71 1B 78 */ mr r17, r3 /* 800CBD4C 000C8CAC 7F C3 F3 78 */ mr r3, r30 /* 800CBD50 000C8CB0 48 27 2F 35 */ bl ReadLong__12CInputStreamFv /* 800CBD54 000C8CB4 7C 72 1B 78 */ mr r18, r3 /* 800CBD58 000C8CB8 7F C3 F3 78 */ mr r3, r30 /* 800CBD5C 000C8CBC 48 27 2F 29 */ bl ReadLong__12CInputStreamFv /* 800CBD60 000C8CC0 7C 73 1B 78 */ mr r19, r3 /* 800CBD64 000C8CC4 7F C3 F3 78 */ mr r3, r30 /* 800CBD68 000C8CC8 48 27 2F 1D */ bl ReadLong__12CInputStreamFv /* 800CBD6C 000C8CCC 7C 74 1B 78 */ mr r20, r3 /* 800CBD70 000C8CD0 7F C3 F3 78 */ mr r3, r30 /* 800CBD74 000C8CD4 48 27 2F 11 */ bl ReadLong__12CInputStreamFv /* 800CBD78 000C8CD8 7C 75 1B 78 */ mr r21, r3 /* 800CBD7C 000C8CDC 7F C3 F3 78 */ mr r3, r30 /* 800CBD80 000C8CE0 48 27 2F 05 */ bl ReadLong__12CInputStreamFv /* 800CBD84 000C8CE4 7C 76 1B 78 */ mr r22, r3 /* 800CBD88 000C8CE8 7F C3 F3 78 */ mr r3, r30 /* 800CBD8C 000C8CEC 48 27 2E F9 */ bl ReadLong__12CInputStreamFv /* 800CBD90 000C8CF0 7C 77 1B 78 */ mr r23, r3 /* 800CBD94 000C8CF4 7F C3 F3 78 */ mr r3, r30 /* 800CBD98 000C8CF8 48 27 2E ED */ bl ReadLong__12CInputStreamFv /* 800CBD9C 000C8CFC 7C 78 1B 78 */ mr r24, r3 /* 800CBDA0 000C8D00 7F C3 F3 78 */ mr r3, r30 /* 800CBDA4 000C8D04 48 27 2E E1 */ bl ReadLong__12CInputStreamFv /* 800CBDA8 000C8D08 7C 79 1B 78 */ mr r25, r3 /* 800CBDAC 000C8D0C 7F C3 F3 78 */ mr r3, r30 /* 800CBDB0 000C8D10 48 27 2E D5 */ bl ReadLong__12CInputStreamFv /* 800CBDB4 000C8D14 7C 7A 1B 78 */ mr r26, r3 /* 800CBDB8 000C8D18 7F C3 F3 78 */ mr r3, r30 /* 800CBDBC 000C8D1C 48 27 2E C9 */ bl ReadLong__12CInputStreamFv /* 800CBDC0 000C8D20 7C 7B 1B 78 */ mr r27, r3 /* 800CBDC4 000C8D24 7F C3 F3 78 */ mr r3, r30 /* 800CBDC8 000C8D28 48 27 2E BD */ bl ReadLong__12CInputStreamFv /* 800CBDCC 000C8D2C 7C 7C 1B 78 */ mr r28, r3 /* 800CBDD0 000C8D30 7F C3 F3 78 */ mr r3, r30 /* 800CBDD4 000C8D34 48 27 2E B1 */ bl ReadLong__12CInputStreamFv /* 800CBDD8 000C8D38 90 61 08 68 */ stw r3, 0x868(r1) /* 800CBDDC 000C8D3C 7F C3 F3 78 */ mr r3, r30 /* 800CBDE0 000C8D40 48 27 2E A5 */ bl ReadLong__12CInputStreamFv /* 800CBDE4 000C8D44 90 61 08 6C */ stw r3, 0x86c(r1) /* 800CBDE8 000C8D48 7F C3 F3 78 */ mr r3, r30 /* 800CBDEC 000C8D4C 48 27 2E 99 */ bl ReadLong__12CInputStreamFv /* 800CBDF0 000C8D50 90 61 08 70 */ stw r3, 0x870(r1) /* 800CBDF4 000C8D54 7F C3 F3 78 */ mr r3, r30 /* 800CBDF8 000C8D58 48 27 2E 8D */ bl ReadLong__12CInputStreamFv /* 800CBDFC 000C8D5C 90 61 08 74 */ stw r3, 0x874(r1) /* 800CBE00 000C8D60 7F C3 F3 78 */ mr r3, r30 /* 800CBE04 000C8D64 48 27 2E 81 */ bl ReadLong__12CInputStreamFv /* 800CBE08 000C8D68 90 61 08 78 */ stw r3, 0x878(r1) /* 800CBE0C 000C8D6C 7F C3 F3 78 */ mr r3, r30 /* 800CBE10 000C8D70 48 27 2E 75 */ bl ReadLong__12CInputStreamFv /* 800CBE14 000C8D74 90 61 08 7C */ stw r3, 0x87c(r1) /* 800CBE18 000C8D78 7F C3 F3 78 */ mr r3, r30 /* 800CBE1C 000C8D7C 48 27 2E 69 */ bl ReadLong__12CInputStreamFv /* 800CBE20 000C8D80 90 61 08 80 */ stw r3, 0x880(r1) /* 800CBE24 000C8D84 7F C3 F3 78 */ mr r3, r30 /* 800CBE28 000C8D88 48 27 2E 5D */ bl ReadLong__12CInputStreamFv /* 800CBE2C 000C8D8C 90 61 08 84 */ stw r3, 0x884(r1) /* 800CBE30 000C8D90 7F C3 F3 78 */ mr r3, r30 /* 800CBE34 000C8D94 48 27 2E 51 */ bl ReadLong__12CInputStreamFv /* 800CBE38 000C8D98 90 61 08 88 */ stw r3, 0x888(r1) /* 800CBE3C 000C8D9C 7F C3 F3 78 */ mr r3, r30 /* 800CBE40 000C8DA0 48 27 2E 45 */ bl ReadLong__12CInputStreamFv /* 800CBE44 000C8DA4 90 61 08 8C */ stw r3, 0x88c(r1) /* 800CBE48 000C8DA8 7F C3 F3 78 */ mr r3, r30 /* 800CBE4C 000C8DAC 48 27 2E 39 */ bl ReadLong__12CInputStreamFv /* 800CBE50 000C8DB0 90 61 08 90 */ stw r3, 0x890(r1) /* 800CBE54 000C8DB4 7F C3 F3 78 */ mr r3, r30 /* 800CBE58 000C8DB8 48 27 2D D1 */ bl ReadFloat__12CInputStreamFv /* 800CBE5C 000C8DBC FF E0 08 90 */ fmr f31, f1 /* 800CBE60 000C8DC0 7F C3 F3 78 */ mr r3, r30 /* 800CBE64 000C8DC4 48 27 2D C5 */ bl ReadFloat__12CInputStreamFv /* 800CBE68 000C8DC8 FF C0 08 90 */ fmr f30, f1 /* 800CBE6C 000C8DCC 7F C3 F3 78 */ mr r3, r30 /* 800CBE70 000C8DD0 48 27 2D B9 */ bl ReadFloat__12CInputStreamFv /* 800CBE74 000C8DD4 FF A0 08 90 */ fmr f29, f1 /* 800CBE78 000C8DD8 7F C3 F3 78 */ mr r3, r30 /* 800CBE7C 000C8DDC 48 27 2D AD */ bl ReadFloat__12CInputStreamFv /* 800CBE80 000C8DE0 FF 80 08 90 */ fmr f28, f1 /* 800CBE84 000C8DE4 7F C3 F3 78 */ mr r3, r30 /* 800CBE88 000C8DE8 48 27 2D A1 */ bl ReadFloat__12CInputStreamFv /* 800CBE8C 000C8DEC FF 60 08 90 */ fmr f27, f1 /* 800CBE90 000C8DF0 7F C3 F3 78 */ mr r3, r30 /* 800CBE94 000C8DF4 48 27 2D 95 */ bl ReadFloat__12CInputStreamFv /* 800CBE98 000C8DF8 FF 40 08 90 */ fmr f26, f1 /* 800CBE9C 000C8DFC 7F C3 F3 78 */ mr r3, r30 /* 800CBEA0 000C8E00 48 27 2D E5 */ bl ReadLong__12CInputStreamFv /* 800CBEA4 000C8E04 90 61 08 94 */ stw r3, 0x894(r1) /* 800CBEA8 000C8E08 7F C3 F3 78 */ mr r3, r30 /* 800CBEAC 000C8E0C 48 27 2D D9 */ bl ReadLong__12CInputStreamFv /* 800CBEB0 000C8E10 2C 0E 00 2B */ cmpwi r14, 0x2b /* 800CBEB4 000C8E14 90 61 08 98 */ stw r3, 0x898(r1) /* 800CBEB8 000C8E18 40 81 00 14 */ ble lbl_800CBECC /* 800CBEBC 000C8E1C 7F C3 F3 78 */ mr r3, r30 /* 800CBEC0 000C8E20 48 27 2D C5 */ bl ReadLong__12CInputStreamFv /* 800CBEC4 000C8E24 7C 6F 1B 78 */ mr r15, r3 /* 800CBEC8 000C8E28 48 00 00 08 */ b lbl_800CBED0 lbl_800CBECC: /* 800CBECC 000C8E2C 39 E0 FF FF */ li r15, -1 lbl_800CBED0: /* 800CBED0 000C8E30 7F C3 F3 78 */ mr r3, r30 /* 800CBED4 000C8E34 48 27 2D B1 */ bl ReadLong__12CInputStreamFv /* 800CBED8 000C8E38 7C 7D 1B 78 */ mr r29, r3 /* 800CBEDC 000C8E3C 7F C3 F3 78 */ mr r3, r30 /* 800CBEE0 000C8E40 48 27 2D A5 */ bl ReadLong__12CInputStreamFv /* 800CBEE4 000C8E44 7C 6E 1B 78 */ mr r14, r3 /* 800CBEE8 000C8E48 7F C3 F3 78 */ mr r3, r30 /* 800CBEEC 000C8E4C 48 27 2D 99 */ bl ReadLong__12CInputStreamFv /* 800CBEF0 000C8E50 38 00 00 00 */ li r0, 0 /* 800CBEF4 000C8E54 7C 7E 1B 78 */ mr r30, r3 /* 800CBEF8 000C8E58 90 01 01 78 */ stw r0, 0x178(r1) /* 800CBEFC 000C8E5C 38 61 01 64 */ addi r3, r1, 0x164 /* 800CBF00 000C8E60 38 80 00 07 */ li r4, 7 /* 800CBF04 000C8E64 90 01 01 7C */ stw r0, 0x17c(r1) /* 800CBF08 000C8E68 90 01 01 80 */ stw r0, 0x180(r1) /* 800CBF0C 000C8E6C 90 01 01 68 */ stw r0, 0x168(r1) /* 800CBF10 000C8E70 90 01 01 6C */ stw r0, 0x16c(r1) /* 800CBF14 000C8E74 90 01 01 70 */ stw r0, 0x170(r1) /* 800CBF18 000C8E78 48 00 E9 D5 */ bl sub_800da8ec /* 800CBF1C 000C8E7C 38 61 01 74 */ addi r3, r1, 0x174 /* 800CBF20 000C8E80 38 80 00 07 */ li r4, 7 /* 800CBF24 000C8E84 48 00 E9 C9 */ bl sub_800da8ec /* 800CBF28 000C8E88 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CBF2C 000C8E8C 38 61 05 C8 */ addi r3, r1, 0x5c8 /* 800CBF30 000C8E90 92 E1 01 54 */ stw r23, 0x154(r1) /* 800CBF34 000C8E94 38 81 01 54 */ addi r4, r1, 0x154 /* 800CBF38 000C8E98 D0 01 01 58 */ stfs f0, 0x158(r1) /* 800CBF3C 000C8E9C D0 01 01 5C */ stfs f0, 0x15c(r1) /* 800CBF40 000C8EA0 D0 01 01 60 */ stfs f0, 0x160(r1) /* 800CBF44 000C8EA4 48 04 AE 19 */ bl __ct__10CModelDataFRC10CStaticRes /* 800CBF48 000C8EA8 38 61 01 64 */ addi r3, r1, 0x164 /* 800CBF4C 000C8EAC 38 81 05 C8 */ addi r4, r1, 0x5c8 /* 800CBF50 000C8EB0 4B FF F5 E5 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" /* 800CBF54 000C8EB4 38 61 05 C8 */ addi r3, r1, 0x5c8 /* 800CBF58 000C8EB8 38 80 FF FF */ li r4, -1 /* 800CBF5C 000C8EBC 48 04 AA F1 */ bl __dt__10CModelDataFv /* 800CBF60 000C8EC0 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CBF64 000C8EC4 38 61 05 7C */ addi r3, r1, 0x57c /* 800CBF68 000C8EC8 93 01 01 44 */ stw r24, 0x144(r1) /* 800CBF6C 000C8ECC 38 81 01 44 */ addi r4, r1, 0x144 /* 800CBF70 000C8ED0 D0 01 01 48 */ stfs f0, 0x148(r1) /* 800CBF74 000C8ED4 D0 01 01 4C */ stfs f0, 0x14c(r1) /* 800CBF78 000C8ED8 D0 01 01 50 */ stfs f0, 0x150(r1) /* 800CBF7C 000C8EDC 48 04 AD E1 */ bl __ct__10CModelDataFRC10CStaticRes /* 800CBF80 000C8EE0 38 61 01 64 */ addi r3, r1, 0x164 /* 800CBF84 000C8EE4 38 81 05 7C */ addi r4, r1, 0x57c /* 800CBF88 000C8EE8 4B FF F5 AD */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" /* 800CBF8C 000C8EEC 38 61 05 7C */ addi r3, r1, 0x57c /* 800CBF90 000C8EF0 38 80 FF FF */ li r4, -1 /* 800CBF94 000C8EF4 48 04 AA B9 */ bl __dt__10CModelDataFv /* 800CBF98 000C8EF8 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CBF9C 000C8EFC 38 61 05 30 */ addi r3, r1, 0x530 /* 800CBFA0 000C8F00 93 21 01 34 */ stw r25, 0x134(r1) /* 800CBFA4 000C8F04 38 81 01 34 */ addi r4, r1, 0x134 /* 800CBFA8 000C8F08 D0 01 01 38 */ stfs f0, 0x138(r1) /* 800CBFAC 000C8F0C D0 01 01 3C */ stfs f0, 0x13c(r1) /* 800CBFB0 000C8F10 D0 01 01 40 */ stfs f0, 0x140(r1) /* 800CBFB4 000C8F14 48 04 AD A9 */ bl __ct__10CModelDataFRC10CStaticRes /* 800CBFB8 000C8F18 38 61 01 64 */ addi r3, r1, 0x164 /* 800CBFBC 000C8F1C 38 81 05 30 */ addi r4, r1, 0x530 /* 800CBFC0 000C8F20 4B FF F5 75 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" /* 800CBFC4 000C8F24 38 61 05 30 */ addi r3, r1, 0x530 /* 800CBFC8 000C8F28 38 80 FF FF */ li r4, -1 /* 800CBFCC 000C8F2C 48 04 AA 81 */ bl __dt__10CModelDataFv /* 800CBFD0 000C8F30 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CBFD4 000C8F34 38 61 04 E4 */ addi r3, r1, 0x4e4 /* 800CBFD8 000C8F38 93 41 01 24 */ stw r26, 0x124(r1) /* 800CBFDC 000C8F3C 38 81 01 24 */ addi r4, r1, 0x124 /* 800CBFE0 000C8F40 D0 01 01 28 */ stfs f0, 0x128(r1) /* 800CBFE4 000C8F44 D0 01 01 2C */ stfs f0, 0x12c(r1) /* 800CBFE8 000C8F48 D0 01 01 30 */ stfs f0, 0x130(r1) /* 800CBFEC 000C8F4C 48 04 AD 71 */ bl __ct__10CModelDataFRC10CStaticRes /* 800CBFF0 000C8F50 38 61 01 64 */ addi r3, r1, 0x164 /* 800CBFF4 000C8F54 38 81 04 E4 */ addi r4, r1, 0x4e4 /* 800CBFF8 000C8F58 4B FF F5 3D */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" /* 800CBFFC 000C8F5C 38 61 04 E4 */ addi r3, r1, 0x4e4 /* 800CC000 000C8F60 38 80 FF FF */ li r4, -1 /* 800CC004 000C8F64 48 04 AA 49 */ bl __dt__10CModelDataFv /* 800CC008 000C8F68 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CC00C 000C8F6C 38 61 04 98 */ addi r3, r1, 0x498 /* 800CC010 000C8F70 93 61 01 14 */ stw r27, 0x114(r1) /* 800CC014 000C8F74 38 81 01 14 */ addi r4, r1, 0x114 /* 800CC018 000C8F78 D0 01 01 18 */ stfs f0, 0x118(r1) /* 800CC01C 000C8F7C D0 01 01 1C */ stfs f0, 0x11c(r1) /* 800CC020 000C8F80 D0 01 01 20 */ stfs f0, 0x120(r1) /* 800CC024 000C8F84 48 04 AD 39 */ bl __ct__10CModelDataFRC10CStaticRes /* 800CC028 000C8F88 38 61 01 64 */ addi r3, r1, 0x164 /* 800CC02C 000C8F8C 38 81 04 98 */ addi r4, r1, 0x498 /* 800CC030 000C8F90 4B FF F5 05 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" /* 800CC034 000C8F94 38 61 04 98 */ addi r3, r1, 0x498 /* 800CC038 000C8F98 38 80 FF FF */ li r4, -1 /* 800CC03C 000C8F9C 48 04 AA 11 */ bl __dt__10CModelDataFv /* 800CC040 000C8FA0 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CC044 000C8FA4 38 61 04 4C */ addi r3, r1, 0x44c /* 800CC048 000C8FA8 93 81 01 04 */ stw r28, 0x104(r1) /* 800CC04C 000C8FAC 38 81 01 04 */ addi r4, r1, 0x104 /* 800CC050 000C8FB0 D0 01 01 08 */ stfs f0, 0x108(r1) /* 800CC054 000C8FB4 D0 01 01 0C */ stfs f0, 0x10c(r1) /* 800CC058 000C8FB8 D0 01 01 10 */ stfs f0, 0x110(r1) /* 800CC05C 000C8FBC 48 04 AD 01 */ bl __ct__10CModelDataFRC10CStaticRes /* 800CC060 000C8FC0 38 61 01 64 */ addi r3, r1, 0x164 /* 800CC064 000C8FC4 38 81 04 4C */ addi r4, r1, 0x44c /* 800CC068 000C8FC8 4B FF F4 CD */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" /* 800CC06C 000C8FCC 38 61 04 4C */ addi r3, r1, 0x44c /* 800CC070 000C8FD0 38 80 FF FF */ li r4, -1 /* 800CC074 000C8FD4 48 04 A9 D9 */ bl __dt__10CModelDataFv /* 800CC078 000C8FD8 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CC07C 000C8FDC 38 61 04 00 */ addi r3, r1, 0x400 /* 800CC080 000C8FE0 80 01 08 68 */ lwz r0, 0x868(r1) /* 800CC084 000C8FE4 38 81 00 F4 */ addi r4, r1, 0xf4 /* 800CC088 000C8FE8 D0 01 00 F8 */ stfs f0, 0xf8(r1) /* 800CC08C 000C8FEC 90 01 00 F4 */ stw r0, 0xf4(r1) /* 800CC090 000C8FF0 D0 01 00 FC */ stfs f0, 0xfc(r1) /* 800CC094 000C8FF4 D0 01 01 00 */ stfs f0, 0x100(r1) /* 800CC098 000C8FF8 48 04 AC C5 */ bl __ct__10CModelDataFRC10CStaticRes /* 800CC09C 000C8FFC 38 61 01 64 */ addi r3, r1, 0x164 /* 800CC0A0 000C9000 38 81 04 00 */ addi r4, r1, 0x400 /* 800CC0A4 000C9004 4B FF F4 91 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" /* 800CC0A8 000C9008 38 61 04 00 */ addi r3, r1, 0x400 /* 800CC0AC 000C900C 38 80 FF FF */ li r4, -1 /* 800CC0B0 000C9010 48 04 A9 9D */ bl __dt__10CModelDataFv /* 800CC0B4 000C9014 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CC0B8 000C9018 38 61 03 B4 */ addi r3, r1, 0x3b4 /* 800CC0BC 000C901C 92 01 00 E4 */ stw r16, 0xe4(r1) /* 800CC0C0 000C9020 38 81 00 E4 */ addi r4, r1, 0xe4 /* 800CC0C4 000C9024 D0 01 00 E8 */ stfs f0, 0xe8(r1) /* 800CC0C8 000C9028 D0 01 00 EC */ stfs f0, 0xec(r1) /* 800CC0CC 000C902C D0 01 00 F0 */ stfs f0, 0xf0(r1) /* 800CC0D0 000C9030 48 04 AC 8D */ bl __ct__10CModelDataFRC10CStaticRes /* 800CC0D4 000C9034 38 61 01 74 */ addi r3, r1, 0x174 /* 800CC0D8 000C9038 38 81 03 B4 */ addi r4, r1, 0x3b4 /* 800CC0DC 000C903C 4B FF F4 59 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" /* 800CC0E0 000C9040 38 61 03 B4 */ addi r3, r1, 0x3b4 /* 800CC0E4 000C9044 38 80 FF FF */ li r4, -1 /* 800CC0E8 000C9048 48 04 A9 65 */ bl __dt__10CModelDataFv /* 800CC0EC 000C904C C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CC0F0 000C9050 38 61 03 68 */ addi r3, r1, 0x368 /* 800CC0F4 000C9054 92 21 00 D4 */ stw r17, 0xd4(r1) /* 800CC0F8 000C9058 38 81 00 D4 */ addi r4, r1, 0xd4 /* 800CC0FC 000C905C D0 01 00 D8 */ stfs f0, 0xd8(r1) /* 800CC100 000C9060 D0 01 00 DC */ stfs f0, 0xdc(r1) /* 800CC104 000C9064 D0 01 00 E0 */ stfs f0, 0xe0(r1) /* 800CC108 000C9068 48 04 AC 55 */ bl __ct__10CModelDataFRC10CStaticRes /* 800CC10C 000C906C 38 61 01 74 */ addi r3, r1, 0x174 /* 800CC110 000C9070 38 81 03 68 */ addi r4, r1, 0x368 /* 800CC114 000C9074 4B FF F4 21 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" /* 800CC118 000C9078 38 61 03 68 */ addi r3, r1, 0x368 /* 800CC11C 000C907C 38 80 FF FF */ li r4, -1 /* 800CC120 000C9080 48 04 A9 2D */ bl __dt__10CModelDataFv /* 800CC124 000C9084 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CC128 000C9088 38 61 03 1C */ addi r3, r1, 0x31c /* 800CC12C 000C908C 92 41 00 C4 */ stw r18, 0xc4(r1) /* 800CC130 000C9090 38 81 00 C4 */ addi r4, r1, 0xc4 /* 800CC134 000C9094 D0 01 00 C8 */ stfs f0, 0xc8(r1) /* 800CC138 000C9098 D0 01 00 CC */ stfs f0, 0xcc(r1) /* 800CC13C 000C909C D0 01 00 D0 */ stfs f0, 0xd0(r1) /* 800CC140 000C90A0 48 04 AC 1D */ bl __ct__10CModelDataFRC10CStaticRes /* 800CC144 000C90A4 38 61 01 74 */ addi r3, r1, 0x174 /* 800CC148 000C90A8 38 81 03 1C */ addi r4, r1, 0x31c /* 800CC14C 000C90AC 4B FF F3 E9 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" /* 800CC150 000C90B0 38 61 03 1C */ addi r3, r1, 0x31c /* 800CC154 000C90B4 38 80 FF FF */ li r4, -1 /* 800CC158 000C90B8 48 04 A8 F5 */ bl __dt__10CModelDataFv /* 800CC15C 000C90BC C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CC160 000C90C0 38 61 02 D0 */ addi r3, r1, 0x2d0 /* 800CC164 000C90C4 92 61 00 B4 */ stw r19, 0xb4(r1) /* 800CC168 000C90C8 38 81 00 B4 */ addi r4, r1, 0xb4 /* 800CC16C 000C90CC D0 01 00 B8 */ stfs f0, 0xb8(r1) /* 800CC170 000C90D0 D0 01 00 BC */ stfs f0, 0xbc(r1) /* 800CC174 000C90D4 D0 01 00 C0 */ stfs f0, 0xc0(r1) /* 800CC178 000C90D8 48 04 AB E5 */ bl __ct__10CModelDataFRC10CStaticRes /* 800CC17C 000C90DC 38 61 01 74 */ addi r3, r1, 0x174 /* 800CC180 000C90E0 38 81 02 D0 */ addi r4, r1, 0x2d0 /* 800CC184 000C90E4 4B FF F3 B1 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" /* 800CC188 000C90E8 38 61 02 D0 */ addi r3, r1, 0x2d0 /* 800CC18C 000C90EC 38 80 FF FF */ li r4, -1 /* 800CC190 000C90F0 48 04 A8 BD */ bl __dt__10CModelDataFv /* 800CC194 000C90F4 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CC198 000C90F8 38 61 02 84 */ addi r3, r1, 0x284 /* 800CC19C 000C90FC 92 81 00 A4 */ stw r20, 0xa4(r1) /* 800CC1A0 000C9100 38 81 00 A4 */ addi r4, r1, 0xa4 /* 800CC1A4 000C9104 D0 01 00 A8 */ stfs f0, 0xa8(r1) /* 800CC1A8 000C9108 D0 01 00 AC */ stfs f0, 0xac(r1) /* 800CC1AC 000C910C D0 01 00 B0 */ stfs f0, 0xb0(r1) /* 800CC1B0 000C9110 48 04 AB AD */ bl __ct__10CModelDataFRC10CStaticRes /* 800CC1B4 000C9114 38 61 01 74 */ addi r3, r1, 0x174 /* 800CC1B8 000C9118 38 81 02 84 */ addi r4, r1, 0x284 /* 800CC1BC 000C911C 4B FF F3 79 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" /* 800CC1C0 000C9120 38 61 02 84 */ addi r3, r1, 0x284 /* 800CC1C4 000C9124 38 80 FF FF */ li r4, -1 /* 800CC1C8 000C9128 48 04 A8 85 */ bl __dt__10CModelDataFv /* 800CC1CC 000C912C C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CC1D0 000C9130 38 61 02 38 */ addi r3, r1, 0x238 /* 800CC1D4 000C9134 92 A1 00 94 */ stw r21, 0x94(r1) /* 800CC1D8 000C9138 38 81 00 94 */ addi r4, r1, 0x94 /* 800CC1DC 000C913C D0 01 00 98 */ stfs f0, 0x98(r1) /* 800CC1E0 000C9140 D0 01 00 9C */ stfs f0, 0x9c(r1) /* 800CC1E4 000C9144 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 800CC1E8 000C9148 48 04 AB 75 */ bl __ct__10CModelDataFRC10CStaticRes /* 800CC1EC 000C914C 38 61 01 74 */ addi r3, r1, 0x174 /* 800CC1F0 000C9150 38 81 02 38 */ addi r4, r1, 0x238 /* 800CC1F4 000C9154 4B FF F3 41 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" /* 800CC1F8 000C9158 38 61 02 38 */ addi r3, r1, 0x238 /* 800CC1FC 000C915C 38 80 FF FF */ li r4, -1 /* 800CC200 000C9160 48 04 A8 4D */ bl __dt__10CModelDataFv /* 800CC204 000C9164 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CC208 000C9168 38 61 01 EC */ addi r3, r1, 0x1ec /* 800CC20C 000C916C 92 C1 00 84 */ stw r22, 0x84(r1) /* 800CC210 000C9170 38 81 00 84 */ addi r4, r1, 0x84 /* 800CC214 000C9174 D0 01 00 88 */ stfs f0, 0x88(r1) /* 800CC218 000C9178 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 800CC21C 000C917C D0 01 00 90 */ stfs f0, 0x90(r1) /* 800CC220 000C9180 48 04 AB 3D */ bl __ct__10CModelDataFRC10CStaticRes /* 800CC224 000C9184 38 61 01 74 */ addi r3, r1, 0x174 /* 800CC228 000C9188 38 81 01 EC */ addi r4, r1, 0x1ec /* 800CC22C 000C918C 4B FF F3 09 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" /* 800CC230 000C9190 38 61 01 EC */ addi r3, r1, 0x1ec /* 800CC234 000C9194 38 80 FF FF */ li r4, -1 /* 800CC238 000C9198 48 04 A8 15 */ bl __dt__10CModelDataFv /* 800CC23C 000C919C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CC240 000C91A0 3A 20 00 00 */ li r17, 0 /* 800CC244 000C91A4 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800CC248 000C91A8 38 60 09 60 */ li r3, 0x960 /* 800CC24C 000C91AC 38 84 00 0D */ addi r4, r4, 0xd /* 800CC250 000C91B0 38 A0 00 00 */ li r5, 0 /* 800CC254 000C91B4 48 24 96 19 */ bl __nw__FUlPCcPCc /* 800CC258 000C91B8 7C 70 1B 79 */ or. r16, r3, r3 /* 800CC25C 000C91BC 41 82 01 20 */ beq lbl_800CC37C /* 800CC260 000C91C0 80 E1 08 1C */ lwz r7, 0x81c(r1) /* 800CC264 000C91C4 38 A0 00 01 */ li r5, 1 /* 800CC268 000C91C8 80 C2 83 F0 */ lwz r6, kDefaultCharIdx__8CAnimRes@sda21(r2) /* 800CC26C 000C91CC 38 61 01 A0 */ addi r3, r1, 0x1a0 /* 800CC270 000C91D0 C0 41 07 24 */ lfs f2, 0x724(r1) /* 800CC274 000C91D4 38 81 01 84 */ addi r4, r1, 0x184 /* 800CC278 000C91D8 C0 21 07 28 */ lfs f1, 0x728(r1) /* 800CC27C 000C91DC C0 01 07 2C */ lfs f0, 0x72c(r1) /* 800CC280 000C91E0 80 01 08 24 */ lwz r0, 0x824(r1) /* 800CC284 000C91E4 90 E1 01 84 */ stw r7, 0x184(r1) /* 800CC288 000C91E8 90 C1 01 88 */ stw r6, 0x188(r1) /* 800CC28C 000C91EC D0 41 01 8C */ stfs f2, 0x18c(r1) /* 800CC290 000C91F0 D0 21 01 90 */ stfs f1, 0x190(r1) /* 800CC294 000C91F4 D0 01 01 94 */ stfs f0, 0x194(r1) /* 800CC298 000C91F8 98 A1 01 98 */ stb r5, 0x198(r1) /* 800CC29C 000C91FC 90 01 01 9C */ stw r0, 0x19c(r1) /* 800CC2A0 000C9200 48 04 A8 B5 */ bl __ct__10CModelDataFRC8CAnimRes /* 800CC2A4 000C9204 7F E4 FB 78 */ mr r4, r31 /* 800CC2A8 000C9208 38 61 00 54 */ addi r3, r1, 0x54 /* 800CC2AC 000C920C 3A 20 00 01 */ li r17, 1 /* 800CC2B0 000C9210 4B F8 0E 2D */ bl AllocateUniqueId__13CStateManagerFv /* 800CC2B4 000C9214 A0 61 00 54 */ lhz r3, 0x54(r1) /* 800CC2B8 000C9218 38 81 01 74 */ addi r4, r1, 0x174 /* 800CC2BC 000C921C 38 01 01 64 */ addi r0, r1, 0x164 /* 800CC2C0 000C9220 FC 20 F8 90 */ fmr f1, f31 /* 800CC2C4 000C9224 B0 61 00 58 */ sth r3, 0x58(r1) /* 800CC2C8 000C9228 FC 40 F0 90 */ fmr f2, f30 /* 800CC2CC 000C922C FC 60 E8 90 */ fmr f3, f29 /* 800CC2D0 000C9230 80 C1 00 50 */ lwz r6, 0x50(r1) /* 800CC2D4 000C9234 90 81 00 08 */ stw r4, 8(r1) /* 800CC2D8 000C9238 FC 80 E0 90 */ fmr f4, f28 /* 800CC2DC 000C923C 7E 03 83 78 */ mr r3, r16 /* 800CC2E0 000C9240 90 01 00 0C */ stw r0, 0xc(r1) /* 800CC2E4 000C9244 80 01 08 6C */ lwz r0, 0x86c(r1) /* 800CC2E8 000C9248 FC A0 D8 90 */ fmr f5, f27 /* 800CC2EC 000C924C FC C0 D0 90 */ fmr f6, f26 /* 800CC2F0 000C9250 90 01 00 10 */ stw r0, 0x10(r1) /* 800CC2F4 000C9254 38 81 00 58 */ addi r4, r1, 0x58 /* 800CC2F8 000C9258 80 01 08 70 */ lwz r0, 0x870(r1) /* 800CC2FC 000C925C 38 A1 06 E4 */ addi r5, r1, 0x6e4 /* 800CC300 000C9260 38 E1 06 F4 */ addi r7, r1, 0x6f4 /* 800CC304 000C9264 90 01 00 14 */ stw r0, 0x14(r1) /* 800CC308 000C9268 39 01 01 A0 */ addi r8, r1, 0x1a0 /* 800CC30C 000C926C 80 01 08 74 */ lwz r0, 0x874(r1) /* 800CC310 000C9270 39 21 06 7C */ addi r9, r1, 0x67c /* 800CC314 000C9274 39 41 07 30 */ addi r10, r1, 0x730 /* 800CC318 000C9278 90 01 00 18 */ stw r0, 0x18(r1) /* 800CC31C 000C927C 80 01 08 78 */ lwz r0, 0x878(r1) /* 800CC320 000C9280 90 01 00 1C */ stw r0, 0x1c(r1) /* 800CC324 000C9284 80 01 08 7C */ lwz r0, 0x87c(r1) /* 800CC328 000C9288 90 01 00 20 */ stw r0, 0x20(r1) /* 800CC32C 000C928C 80 01 08 80 */ lwz r0, 0x880(r1) /* 800CC330 000C9290 90 01 00 24 */ stw r0, 0x24(r1) /* 800CC334 000C9294 80 01 08 84 */ lwz r0, 0x884(r1) /* 800CC338 000C9298 90 01 00 28 */ stw r0, 0x28(r1) /* 800CC33C 000C929C 80 01 08 88 */ lwz r0, 0x888(r1) /* 800CC340 000C92A0 90 01 00 2C */ stw r0, 0x2c(r1) /* 800CC344 000C92A4 80 01 08 8C */ lwz r0, 0x88c(r1) /* 800CC348 000C92A8 90 01 00 30 */ stw r0, 0x30(r1) /* 800CC34C 000C92AC 80 01 08 90 */ lwz r0, 0x890(r1) /* 800CC350 000C92B0 90 01 00 34 */ stw r0, 0x34(r1) /* 800CC354 000C92B4 80 01 08 94 */ lwz r0, 0x894(r1) /* 800CC358 000C92B8 90 01 00 38 */ stw r0, 0x38(r1) /* 800CC35C 000C92BC 80 01 08 98 */ lwz r0, 0x898(r1) /* 800CC360 000C92C0 90 01 00 3C */ stw r0, 0x3c(r1) /* 800CC364 000C92C4 91 E1 00 40 */ stw r15, 0x40(r1) /* 800CC368 000C92C8 93 A1 00 44 */ stw r29, 0x44(r1) /* 800CC36C 000C92CC 91 C1 00 48 */ stw r14, 0x48(r1) /* 800CC370 000C92D0 93 C1 00 4C */ stw r30, 0x4c(r1) /* 800CC374 000C92D4 48 11 5E B1 */ bl "__ct__8CThardusF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>UiUiUifffffff" /* 800CC378 000C92D8 7C 70 1B 78 */ mr r16, r3 lbl_800CC37C: /* 800CC37C 000C92DC 7E 20 07 75 */ extsb. r0, r17 /* 800CC380 000C92E0 41 82 00 10 */ beq lbl_800CC390 /* 800CC384 000C92E4 38 61 01 A0 */ addi r3, r1, 0x1a0 /* 800CC388 000C92E8 38 80 FF FF */ li r4, -1 /* 800CC38C 000C92EC 48 04 A6 C1 */ bl __dt__10CModelDataFv lbl_800CC390: /* 800CC390 000C92F0 80 01 01 68 */ lwz r0, 0x168(r1) /* 800CC394 000C92F4 81 E1 01 70 */ lwz r15, 0x170(r1) /* 800CC398 000C92F8 1C 00 00 4C */ mulli r0, r0, 0x4c /* 800CC39C 000C92FC 91 E1 00 70 */ stw r15, 0x70(r1) /* 800CC3A0 000C9300 7D CF 02 14 */ add r14, r15, r0 /* 800CC3A4 000C9304 91 E1 00 6C */ stw r15, 0x6c(r1) /* 800CC3A8 000C9308 91 C1 00 78 */ stw r14, 0x78(r1) /* 800CC3AC 000C930C 91 C1 00 74 */ stw r14, 0x74(r1) /* 800CC3B0 000C9310 48 00 00 14 */ b lbl_800CC3C4 lbl_800CC3B4: /* 800CC3B4 000C9314 7D E3 7B 78 */ mr r3, r15 /* 800CC3B8 000C9318 38 80 FF FF */ li r4, -1 /* 800CC3BC 000C931C 48 04 A6 91 */ bl __dt__10CModelDataFv /* 800CC3C0 000C9320 39 EF 00 4C */ addi r15, r15, 0x4c lbl_800CC3C4: /* 800CC3C4 000C9324 7C 0F 70 40 */ cmplw r15, r14 /* 800CC3C8 000C9328 40 82 FF EC */ bne lbl_800CC3B4 /* 800CC3CC 000C932C 80 61 01 70 */ lwz r3, 0x170(r1) /* 800CC3D0 000C9330 28 03 00 00 */ cmplwi r3, 0 /* 800CC3D4 000C9334 41 82 00 08 */ beq lbl_800CC3DC /* 800CC3D8 000C9338 48 24 95 59 */ bl Free__7CMemoryFPCv lbl_800CC3DC: /* 800CC3DC 000C933C 80 01 01 78 */ lwz r0, 0x178(r1) /* 800CC3E0 000C9340 81 E1 01 80 */ lwz r15, 0x180(r1) /* 800CC3E4 000C9344 1C 00 00 4C */ mulli r0, r0, 0x4c /* 800CC3E8 000C9348 91 E1 00 60 */ stw r15, 0x60(r1) /* 800CC3EC 000C934C 7D CF 02 14 */ add r14, r15, r0 /* 800CC3F0 000C9350 91 E1 00 5C */ stw r15, 0x5c(r1) /* 800CC3F4 000C9354 91 C1 00 68 */ stw r14, 0x68(r1) /* 800CC3F8 000C9358 91 C1 00 64 */ stw r14, 0x64(r1) /* 800CC3FC 000C935C 48 00 00 14 */ b lbl_800CC410 lbl_800CC400: /* 800CC400 000C9360 7D E3 7B 78 */ mr r3, r15 /* 800CC404 000C9364 38 80 FF FF */ li r4, -1 /* 800CC408 000C9368 48 04 A6 45 */ bl __dt__10CModelDataFv /* 800CC40C 000C936C 39 EF 00 4C */ addi r15, r15, 0x4c lbl_800CC410: /* 800CC410 000C9370 7C 0F 70 40 */ cmplw r15, r14 /* 800CC414 000C9374 40 82 FF EC */ bne lbl_800CC400 /* 800CC418 000C9378 80 61 01 80 */ lwz r3, 0x180(r1) /* 800CC41C 000C937C 28 03 00 00 */ cmplwi r3, 0 /* 800CC420 000C9380 41 82 00 08 */ beq lbl_800CC428 /* 800CC424 000C9384 48 24 95 0D */ bl Free__7CMemoryFPCv lbl_800CC428: /* 800CC428 000C9388 38 61 06 7C */ addi r3, r1, 0x67c /* 800CC42C 000C938C 38 80 FF FF */ li r4, -1 /* 800CC430 000C9390 48 03 A1 D9 */ bl __dt__16CLightParametersFv /* 800CC434 000C9394 38 61 06 E4 */ addi r3, r1, 0x6e4 /* 800CC438 000C9398 48 27 16 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CC43C 000C939C 7E 03 83 78 */ mr r3, r16 lbl_800CC440: /* 800CC440 000C93A0 E3 E1 09 48 */ psq_l f31, -1720(r1), 0, qr0 /* 800CC444 000C93A4 CB E1 09 40 */ lfd f31, 0x940(r1) /* 800CC448 000C93A8 E3 C1 09 38 */ psq_l f30, -1736(r1), 0, qr0 /* 800CC44C 000C93AC CB C1 09 30 */ lfd f30, 0x930(r1) /* 800CC450 000C93B0 E3 A1 09 28 */ psq_l f29, -1752(r1), 0, qr0 /* 800CC454 000C93B4 CB A1 09 20 */ lfd f29, 0x920(r1) /* 800CC458 000C93B8 E3 81 09 18 */ psq_l f28, -1768(r1), 0, qr0 /* 800CC45C 000C93BC CB 81 09 10 */ lfd f28, 0x910(r1) /* 800CC460 000C93C0 E3 61 09 08 */ psq_l f27, -1784(r1), 0, qr0 /* 800CC464 000C93C4 CB 61 09 00 */ lfd f27, 0x900(r1) /* 800CC468 000C93C8 E3 41 08 F8 */ psq_l f26, -1800(r1), 0, qr0 /* 800CC46C 000C93CC CB 41 08 F0 */ lfd f26, 0x8f0(r1) /* 800CC470 000C93D0 B9 C1 08 A8 */ lmw r14, 0x8a8(r1) /* 800CC474 000C93D4 80 01 09 54 */ lwz r0, 0x954(r1) /* 800CC478 000C93D8 7C 08 03 A6 */ mtlr r0 /* 800CC47C 000C93DC 38 21 09 50 */ addi r1, r1, 0x950 /* 800CC480 000C93E0 4E 80 00 20 */ blr .global LoadJellyZap__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadJellyZap__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CC484 000C93E4 94 21 FC 20 */ stwu r1, -0x3e0(r1) /* 800CC488 000C93E8 7C 08 02 A6 */ mflr r0 /* 800CC48C 000C93EC 90 01 03 E4 */ stw r0, 0x3e4(r1) /* 800CC490 000C93F0 DB E1 03 D0 */ stfd f31, 0x3d0(r1) /* 800CC494 000C93F4 F3 E1 03 D8 */ psq_st f31, 984(r1), 0, qr0 /* 800CC498 000C93F8 DB C1 03 C0 */ stfd f30, 0x3c0(r1) /* 800CC49C 000C93FC F3 C1 03 C8 */ psq_st f30, 968(r1), 0, qr0 /* 800CC4A0 000C9400 DB A1 03 B0 */ stfd f29, 0x3b0(r1) /* 800CC4A4 000C9404 F3 A1 03 B8 */ psq_st f29, 952(r1), 0, qr0 /* 800CC4A8 000C9408 DB 81 03 A0 */ stfd f28, 0x3a0(r1) /* 800CC4AC 000C940C F3 81 03 A8 */ psq_st f28, 936(r1), 0, qr0 /* 800CC4B0 000C9410 DB 61 03 90 */ stfd f27, 0x390(r1) /* 800CC4B4 000C9414 F3 61 03 98 */ psq_st f27, 920(r1), 0, qr0 /* 800CC4B8 000C9418 DB 41 03 80 */ stfd f26, 0x380(r1) /* 800CC4BC 000C941C F3 41 03 88 */ psq_st f26, 904(r1), 0, qr0 /* 800CC4C0 000C9420 DB 21 03 70 */ stfd f25, 0x370(r1) /* 800CC4C4 000C9424 F3 21 03 78 */ psq_st f25, 888(r1), 0, qr0 /* 800CC4C8 000C9428 DB 01 03 60 */ stfd f24, 0x360(r1) /* 800CC4CC 000C942C F3 01 03 68 */ psq_st f24, 872(r1), 0, qr0 /* 800CC4D0 000C9430 DA E1 03 50 */ stfd f23, 0x350(r1) /* 800CC4D4 000C9434 F2 E1 03 58 */ psq_st f23, 856(r1), 0, qr0 /* 800CC4D8 000C9438 DA C1 03 40 */ stfd f22, 0x340(r1) /* 800CC4DC 000C943C F2 C1 03 48 */ psq_st f22, 840(r1), 0, qr0 /* 800CC4E0 000C9440 DA A1 03 30 */ stfd f21, 0x330(r1) /* 800CC4E4 000C9444 F2 A1 03 38 */ psq_st f21, 824(r1), 0, qr0 /* 800CC4E8 000C9448 DA 81 03 20 */ stfd f20, 0x320(r1) /* 800CC4EC 000C944C F2 81 03 28 */ psq_st f20, 808(r1), 0, qr0 /* 800CC4F0 000C9450 BF 61 03 0C */ stmw r27, 0x30c(r1) /* 800CC4F4 000C9454 2C 05 00 14 */ cmpwi r5, 0x14 /* 800CC4F8 000C9458 7C 7E 1B 78 */ mr r30, r3 /* 800CC4FC 000C945C 7C 9C 23 78 */ mr r28, r4 /* 800CC500 000C9460 7C DF 33 78 */ mr r31, r6 /* 800CC504 000C9464 41 82 00 0C */ beq lbl_800CC510 /* 800CC508 000C9468 38 60 00 00 */ li r3, 0 /* 800CC50C 000C946C 48 00 02 6C */ b lbl_800CC778 lbl_800CC510: /* 800CC510 000C9470 7F C5 F3 78 */ mr r5, r30 /* 800CC514 000C9474 38 61 01 84 */ addi r3, r1, 0x184 /* 800CC518 000C9478 48 00 DF 65 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800CC51C 000C947C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CC520 000C9480 7F 84 E3 78 */ mr r4, r28 /* 800CC524 000C9484 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800CC528 000C9488 38 61 00 28 */ addi r3, r1, 0x28 /* 800CC52C 000C948C 38 A5 00 DD */ addi r5, r5, 0xdd /* 800CC530 000C9490 48 03 92 F9 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800CC534 000C9494 88 01 00 28 */ lbz r0, 0x28(r1) /* 800CC538 000C9498 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 800CC53C 000C949C 28 00 00 00 */ cmplwi r0, 0 /* 800CC540 000C94A0 40 82 00 14 */ bne lbl_800CC554 /* 800CC544 000C94A4 38 61 01 84 */ addi r3, r1, 0x184 /* 800CC548 000C94A8 48 27 15 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CC54C 000C94AC 38 60 00 00 */ li r3, 0 /* 800CC550 000C94B0 48 00 02 28 */ b lbl_800CC778 lbl_800CC554: /* 800CC554 000C94B4 7F 84 E3 78 */ mr r4, r28 /* 800CC558 000C94B8 38 61 01 D0 */ addi r3, r1, 0x1d0 /* 800CC55C 000C94BC 48 03 93 1D */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800CC560 000C94C0 7F 84 E3 78 */ mr r4, r28 /* 800CC564 000C94C4 38 61 00 B4 */ addi r3, r1, 0xb4 /* 800CC568 000C94C8 48 00 D8 0D */ bl LoadActorParameters__FR12CInputStream /* 800CC56C 000C94CC 38 61 01 1C */ addi r3, r1, 0x11c /* 800CC570 000C94D0 38 81 00 B4 */ addi r4, r1, 0xb4 /* 800CC574 000C94D4 4B FF 90 A9 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CC578 000C94D8 38 61 00 B4 */ addi r3, r1, 0xb4 /* 800CC57C 000C94DC 38 80 FF FF */ li r4, -1 /* 800CC580 000C94E0 48 03 A0 89 */ bl __dt__16CLightParametersFv /* 800CC584 000C94E4 7F 84 E3 78 */ mr r4, r28 /* 800CC588 000C94E8 38 61 00 4C */ addi r3, r1, 0x4c /* 800CC58C 000C94EC 4B FF 6F D5 */ bl __ct__11CDamageInfoFR12CInputStream /* 800CC590 000C94F0 7F 83 E3 78 */ mr r3, r28 /* 800CC594 000C94F4 48 27 26 95 */ bl ReadFloat__12CInputStreamFv /* 800CC598 000C94F8 FF 60 08 90 */ fmr f27, f1 /* 800CC59C 000C94FC 7F 83 E3 78 */ mr r3, r28 /* 800CC5A0 000C9500 48 27 26 89 */ bl ReadFloat__12CInputStreamFv /* 800CC5A4 000C9504 FF 40 08 90 */ fmr f26, f1 /* 800CC5A8 000C9508 7F 83 E3 78 */ mr r3, r28 /* 800CC5AC 000C950C 48 27 26 7D */ bl ReadFloat__12CInputStreamFv /* 800CC5B0 000C9510 FF 20 08 90 */ fmr f25, f1 /* 800CC5B4 000C9514 7F 83 E3 78 */ mr r3, r28 /* 800CC5B8 000C9518 48 27 26 71 */ bl ReadFloat__12CInputStreamFv /* 800CC5BC 000C951C FF 00 08 90 */ fmr f24, f1 /* 800CC5C0 000C9520 7F 83 E3 78 */ mr r3, r28 /* 800CC5C4 000C9524 48 27 26 65 */ bl ReadFloat__12CInputStreamFv /* 800CC5C8 000C9528 FE E0 08 90 */ fmr f23, f1 /* 800CC5CC 000C952C 7F 83 E3 78 */ mr r3, r28 /* 800CC5D0 000C9530 48 27 26 59 */ bl ReadFloat__12CInputStreamFv /* 800CC5D4 000C9534 FE C0 08 90 */ fmr f22, f1 /* 800CC5D8 000C9538 7F 83 E3 78 */ mr r3, r28 /* 800CC5DC 000C953C 48 27 26 4D */ bl ReadFloat__12CInputStreamFv /* 800CC5E0 000C9540 FE A0 08 90 */ fmr f21, f1 /* 800CC5E4 000C9544 7F 83 E3 78 */ mr r3, r28 /* 800CC5E8 000C9548 48 27 26 41 */ bl ReadFloat__12CInputStreamFv /* 800CC5EC 000C954C FE 80 08 90 */ fmr f20, f1 /* 800CC5F0 000C9550 7F 83 E3 78 */ mr r3, r28 /* 800CC5F4 000C9554 48 27 26 35 */ bl ReadFloat__12CInputStreamFv /* 800CC5F8 000C9558 FF 80 08 90 */ fmr f28, f1 /* 800CC5FC 000C955C 7F 83 E3 78 */ mr r3, r28 /* 800CC600 000C9560 48 27 26 29 */ bl ReadFloat__12CInputStreamFv /* 800CC604 000C9564 FF A0 08 90 */ fmr f29, f1 /* 800CC608 000C9568 7F 83 E3 78 */ mr r3, r28 /* 800CC60C 000C956C 48 27 26 1D */ bl ReadFloat__12CInputStreamFv /* 800CC610 000C9570 FF C0 08 90 */ fmr f30, f1 /* 800CC614 000C9574 7F 83 E3 78 */ mr r3, r28 /* 800CC618 000C9578 48 27 26 11 */ bl ReadFloat__12CInputStreamFv /* 800CC61C 000C957C FF E0 08 90 */ fmr f31, f1 /* 800CC620 000C9580 7F 83 E3 78 */ mr r3, r28 /* 800CC624 000C9584 48 27 26 B9 */ bl ReadBool__12CInputStreamFv /* 800CC628 000C9588 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800CC62C 000C958C 7C 7D 1B 78 */ mr r29, r3 /* 800CC630 000C9590 80 81 02 BC */ lwz r4, 0x2bc(r1) /* 800CC634 000C9594 38 65 00 04 */ addi r3, r5, 4 /* 800CC638 000C9598 48 26 F6 95 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800CC63C 000C959C 3C 03 BE B2 */ addis r0, r3, 0xbeb2 /* 800CC640 000C95A0 28 00 43 53 */ cmplwi r0, 0x4353 /* 800CC644 000C95A4 41 82 00 20 */ beq lbl_800CC664 /* 800CC648 000C95A8 38 61 01 1C */ addi r3, r1, 0x11c /* 800CC64C 000C95AC 38 80 FF FF */ li r4, -1 /* 800CC650 000C95B0 48 03 9F B9 */ bl __dt__16CLightParametersFv /* 800CC654 000C95B4 38 61 01 84 */ addi r3, r1, 0x184 /* 800CC658 000C95B8 48 27 14 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CC65C 000C95BC 38 60 00 00 */ li r3, 0 /* 800CC660 000C95C0 48 00 01 18 */ b lbl_800CC778 lbl_800CC664: /* 800CC664 000C95C4 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CC668 000C95C8 3B 60 00 00 */ li r27, 0 /* 800CC66C 000C95CC 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800CC670 000C95D0 38 60 05 C0 */ li r3, 0x5c0 /* 800CC674 000C95D4 38 84 00 0D */ addi r4, r4, 0xd /* 800CC678 000C95D8 38 A0 00 00 */ li r5, 0 /* 800CC67C 000C95DC 48 24 91 F1 */ bl __nw__FUlPCcPCc /* 800CC680 000C95E0 7C 7C 1B 79 */ or. r28, r3, r3 /* 800CC684 000C95E4 41 82 00 C8 */ beq lbl_800CC74C /* 800CC688 000C95E8 80 E1 02 BC */ lwz r7, 0x2bc(r1) /* 800CC68C 000C95EC 38 A0 00 01 */ li r5, 1 /* 800CC690 000C95F0 80 C1 02 C0 */ lwz r6, 0x2c0(r1) /* 800CC694 000C95F4 38 61 00 68 */ addi r3, r1, 0x68 /* 800CC698 000C95F8 C0 41 01 C4 */ lfs f2, 0x1c4(r1) /* 800CC69C 000C95FC 38 81 00 30 */ addi r4, r1, 0x30 /* 800CC6A0 000C9600 C0 21 01 C8 */ lfs f1, 0x1c8(r1) /* 800CC6A4 000C9604 C0 01 01 CC */ lfs f0, 0x1cc(r1) /* 800CC6A8 000C9608 80 01 02 C4 */ lwz r0, 0x2c4(r1) /* 800CC6AC 000C960C 90 E1 00 30 */ stw r7, 0x30(r1) /* 800CC6B0 000C9610 90 C1 00 34 */ stw r6, 0x34(r1) /* 800CC6B4 000C9614 D0 41 00 38 */ stfs f2, 0x38(r1) /* 800CC6B8 000C9618 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 800CC6BC 000C961C D0 01 00 40 */ stfs f0, 0x40(r1) /* 800CC6C0 000C9620 98 A1 00 44 */ stb r5, 0x44(r1) /* 800CC6C4 000C9624 90 01 00 48 */ stw r0, 0x48(r1) /* 800CC6C8 000C9628 48 04 A4 8D */ bl __ct__10CModelDataFRC8CAnimRes /* 800CC6CC 000C962C 7F C4 F3 78 */ mr r4, r30 /* 800CC6D0 000C9630 38 61 00 20 */ addi r3, r1, 0x20 /* 800CC6D4 000C9634 3B 60 00 01 */ li r27, 1 /* 800CC6D8 000C9638 4B F8 0A 05 */ bl AllocateUniqueId__13CStateManagerFv /* 800CC6DC 000C963C A0 61 00 20 */ lhz r3, 0x20(r1) /* 800CC6E0 000C9640 39 01 01 D0 */ addi r8, r1, 0x1d0 /* 800CC6E4 000C9644 FC 20 D8 90 */ fmr f1, f27 /* 800CC6E8 000C9648 38 01 01 1C */ addi r0, r1, 0x11c /* 800CC6EC 000C964C B0 61 00 24 */ sth r3, 0x24(r1) /* 800CC6F0 000C9650 FC 40 D0 90 */ fmr f2, f26 /* 800CC6F4 000C9654 FC 60 C8 90 */ fmr f3, f25 /* 800CC6F8 000C9658 7F 83 E3 78 */ mr r3, r28 /* 800CC6FC 000C965C D3 81 00 08 */ stfs f28, 8(r1) /* 800CC700 000C9660 FC 80 C0 90 */ fmr f4, f24 /* 800CC704 000C9664 FC A0 B8 90 */ fmr f5, f23 /* 800CC708 000C9668 7F E6 FB 78 */ mr r6, r31 /* 800CC70C 000C966C D3 A1 00 0C */ stfs f29, 0xc(r1) /* 800CC710 000C9670 FC C0 B0 90 */ fmr f6, f22 /* 800CC714 000C9674 FC E0 A8 90 */ fmr f7, f21 /* 800CC718 000C9678 D3 C1 00 10 */ stfs f30, 0x10(r1) /* 800CC71C 000C967C FD 00 A0 90 */ fmr f8, f20 /* 800CC720 000C9680 7F AA EB 78 */ mr r10, r29 /* 800CC724 000C9684 D3 E1 00 14 */ stfs f31, 0x14(r1) /* 800CC728 000C9688 38 81 00 24 */ addi r4, r1, 0x24 /* 800CC72C 000C968C 38 A1 01 84 */ addi r5, r1, 0x184 /* 800CC730 000C9690 38 E1 01 94 */ addi r7, r1, 0x194 /* 800CC734 000C9694 91 01 00 18 */ stw r8, 0x18(r1) /* 800CC738 000C9698 39 01 00 68 */ addi r8, r1, 0x68 /* 800CC73C 000C969C 39 21 00 4C */ addi r9, r1, 0x4c /* 800CC740 000C96A0 90 01 00 1C */ stw r0, 0x1c(r1) /* 800CC744 000C96A4 48 10 C3 75 */ bl "__ct__9CJellyZapF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC11CDamageInfofffffffffffRC14CPatternedInfoRC16CActorParameters" /* 800CC748 000C96A8 7C 7C 1B 78 */ mr r28, r3 lbl_800CC74C: /* 800CC74C 000C96AC 7F 60 07 75 */ extsb. r0, r27 /* 800CC750 000C96B0 41 82 00 10 */ beq lbl_800CC760 /* 800CC754 000C96B4 38 61 00 68 */ addi r3, r1, 0x68 /* 800CC758 000C96B8 38 80 FF FF */ li r4, -1 /* 800CC75C 000C96BC 48 04 A2 F1 */ bl __dt__10CModelDataFv lbl_800CC760: /* 800CC760 000C96C0 38 61 01 1C */ addi r3, r1, 0x11c /* 800CC764 000C96C4 38 80 FF FF */ li r4, -1 /* 800CC768 000C96C8 48 03 9E A1 */ bl __dt__16CLightParametersFv /* 800CC76C 000C96CC 38 61 01 84 */ addi r3, r1, 0x184 /* 800CC770 000C96D0 48 27 13 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CC774 000C96D4 7F 83 E3 78 */ mr r3, r28 lbl_800CC778: /* 800CC778 000C96D8 E3 E1 03 D8 */ psq_l f31, 984(r1), 0, qr0 /* 800CC77C 000C96DC CB E1 03 D0 */ lfd f31, 0x3d0(r1) /* 800CC780 000C96E0 E3 C1 03 C8 */ psq_l f30, 968(r1), 0, qr0 /* 800CC784 000C96E4 CB C1 03 C0 */ lfd f30, 0x3c0(r1) /* 800CC788 000C96E8 E3 A1 03 B8 */ psq_l f29, 952(r1), 0, qr0 /* 800CC78C 000C96EC CB A1 03 B0 */ lfd f29, 0x3b0(r1) /* 800CC790 000C96F0 E3 81 03 A8 */ psq_l f28, 936(r1), 0, qr0 /* 800CC794 000C96F4 CB 81 03 A0 */ lfd f28, 0x3a0(r1) /* 800CC798 000C96F8 E3 61 03 98 */ psq_l f27, 920(r1), 0, qr0 /* 800CC79C 000C96FC CB 61 03 90 */ lfd f27, 0x390(r1) /* 800CC7A0 000C9700 E3 41 03 88 */ psq_l f26, 904(r1), 0, qr0 /* 800CC7A4 000C9704 CB 41 03 80 */ lfd f26, 0x380(r1) /* 800CC7A8 000C9708 E3 21 03 78 */ psq_l f25, 888(r1), 0, qr0 /* 800CC7AC 000C970C CB 21 03 70 */ lfd f25, 0x370(r1) /* 800CC7B0 000C9710 E3 01 03 68 */ psq_l f24, 872(r1), 0, qr0 /* 800CC7B4 000C9714 CB 01 03 60 */ lfd f24, 0x360(r1) /* 800CC7B8 000C9718 E2 E1 03 58 */ psq_l f23, 856(r1), 0, qr0 /* 800CC7BC 000C971C CA E1 03 50 */ lfd f23, 0x350(r1) /* 800CC7C0 000C9720 E2 C1 03 48 */ psq_l f22, 840(r1), 0, qr0 /* 800CC7C4 000C9724 CA C1 03 40 */ lfd f22, 0x340(r1) /* 800CC7C8 000C9728 E2 A1 03 38 */ psq_l f21, 824(r1), 0, qr0 /* 800CC7CC 000C972C CA A1 03 30 */ lfd f21, 0x330(r1) /* 800CC7D0 000C9730 E2 81 03 28 */ psq_l f20, 808(r1), 0, qr0 /* 800CC7D4 000C9734 CA 81 03 20 */ lfd f20, 0x320(r1) /* 800CC7D8 000C9738 BB 61 03 0C */ lmw r27, 0x30c(r1) /* 800CC7DC 000C973C 80 01 03 E4 */ lwz r0, 0x3e4(r1) /* 800CC7E0 000C9740 7C 08 03 A6 */ mtlr r0 /* 800CC7E4 000C9744 38 21 03 E0 */ addi r1, r1, 0x3e0 /* 800CC7E8 000C9748 4E 80 00 20 */ blr .global LoadVisorGoo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadVisorGoo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CC7EC 000C974C 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 800CC7F0 000C9750 7C 08 02 A6 */ mflr r0 /* 800CC7F4 000C9754 90 01 00 E4 */ stw r0, 0xe4(r1) /* 800CC7F8 000C9758 39 61 00 E0 */ addi r11, r1, 0xe0 /* 800CC7FC 000C975C 48 2B D1 ED */ bl _savefpr_28 /* 800CC800 000C9760 BF 21 00 A4 */ stmw r25, 0xa4(r1) /* 800CC804 000C9764 2C 05 00 0B */ cmpwi r5, 0xb /* 800CC808 000C9768 7C 79 1B 78 */ mr r25, r3 /* 800CC80C 000C976C 7C 9B 23 78 */ mr r27, r4 /* 800CC810 000C9770 7C DA 33 78 */ mr r26, r6 /* 800CC814 000C9774 41 82 00 0C */ beq lbl_800CC820 /* 800CC818 000C9778 38 60 00 00 */ li r3, 0 /* 800CC81C 000C977C 48 00 01 54 */ b lbl_800CC970 lbl_800CC820: /* 800CC820 000C9780 4B F7 89 C5 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CC824 000C9784 7C 64 1B 78 */ mr r4, r3 /* 800CC828 000C9788 38 61 00 30 */ addi r3, r1, 0x30 /* 800CC82C 000C978C 48 27 19 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CC830 000C9790 7F 64 DB 78 */ mr r4, r27 /* 800CC834 000C9794 38 61 00 24 */ addi r3, r1, 0x24 /* 800CC838 000C9798 48 24 83 55 */ bl __ct__9CVector3fFR12CInputStream /* 800CC83C 000C979C 7C 64 1B 78 */ mr r4, r3 /* 800CC840 000C97A0 38 61 00 40 */ addi r3, r1, 0x40 /* 800CC844 000C97A4 48 24 68 FD */ bl Translate__12CTransform4fFRC9CVector3f /* 800CC848 000C97A8 38 61 00 70 */ addi r3, r1, 0x70 /* 800CC84C 000C97AC 38 81 00 40 */ addi r4, r1, 0x40 /* 800CC850 000C97B0 48 24 63 25 */ bl __ct__12CTransform4fFRC12CTransform4f /* 800CC854 000C97B4 7F 63 DB 78 */ mr r3, r27 /* 800CC858 000C97B8 48 27 24 2D */ bl ReadLong__12CInputStreamFv /* 800CC85C 000C97BC 7C 7D 1B 78 */ mr r29, r3 /* 800CC860 000C97C0 7F 63 DB 78 */ mr r3, r27 /* 800CC864 000C97C4 48 27 24 21 */ bl ReadLong__12CInputStreamFv /* 800CC868 000C97C8 7C 7C 1B 78 */ mr r28, r3 /* 800CC86C 000C97CC 7F 63 DB 78 */ mr r3, r27 /* 800CC870 000C97D0 48 27 23 B9 */ bl ReadFloat__12CInputStreamFv /* 800CC874 000C97D4 FF E0 08 90 */ fmr f31, f1 /* 800CC878 000C97D8 7F 63 DB 78 */ mr r3, r27 /* 800CC87C 000C97DC 48 27 23 AD */ bl ReadFloat__12CInputStreamFv /* 800CC880 000C97E0 FF C0 08 90 */ fmr f30, f1 /* 800CC884 000C97E4 7F 63 DB 78 */ mr r3, r27 /* 800CC888 000C97E8 48 27 23 A1 */ bl ReadFloat__12CInputStreamFv /* 800CC88C 000C97EC FF A0 08 90 */ fmr f29, f1 /* 800CC890 000C97F0 7F 63 DB 78 */ mr r3, r27 /* 800CC894 000C97F4 48 27 23 95 */ bl ReadFloat__12CInputStreamFv /* 800CC898 000C97F8 FF 80 08 90 */ fmr f28, f1 /* 800CC89C 000C97FC 7F 64 DB 78 */ mr r4, r27 /* 800CC8A0 000C9800 38 61 00 20 */ addi r3, r1, 0x20 /* 800CC8A4 000C9804 48 29 6B A9 */ bl __ct__6CColorFR12CInputStream /* 800CC8A8 000C9808 7F 63 DB 78 */ mr r3, r27 /* 800CC8AC 000C980C 48 27 23 D9 */ bl ReadLong__12CInputStreamFv /* 800CC8B0 000C9810 7C 7E 1B 78 */ mr r30, r3 /* 800CC8B4 000C9814 7F 63 DB 78 */ mr r3, r27 /* 800CC8B8 000C9818 48 27 24 25 */ bl ReadBool__12CInputStreamFv /* 800CC8BC 000C981C 3C 1D 00 01 */ addis r0, r29, 1 /* 800CC8C0 000C9820 7C 7F 1B 78 */ mr r31, r3 /* 800CC8C4 000C9824 28 00 FF FF */ cmplwi r0, 0xffff /* 800CC8C8 000C9828 40 82 00 20 */ bne lbl_800CC8E8 /* 800CC8CC 000C982C 3C 1C 00 01 */ addis r0, r28, 1 /* 800CC8D0 000C9830 28 00 FF FF */ cmplwi r0, 0xffff /* 800CC8D4 000C9834 40 82 00 14 */ bne lbl_800CC8E8 /* 800CC8D8 000C9838 38 61 00 30 */ addi r3, r1, 0x30 /* 800CC8DC 000C983C 48 27 12 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CC8E0 000C9840 38 60 00 00 */ li r3, 0 /* 800CC8E4 000C9844 48 00 00 8C */ b lbl_800CC970 lbl_800CC8E8: /* 800CC8E8 000C9848 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CC8EC 000C984C 38 60 01 20 */ li r3, 0x120 /* 800CC8F0 000C9850 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CC8F4 000C9854 38 A0 00 00 */ li r5, 0 /* 800CC8F8 000C9858 38 84 00 0D */ addi r4, r4, 0xd /* 800CC8FC 000C985C 48 24 8F 71 */ bl __nw__FUlPCcPCc /* 800CC900 000C9860 7C 7B 1B 79 */ or. r27, r3, r3 /* 800CC904 000C9864 41 82 00 60 */ beq lbl_800CC964 /* 800CC908 000C9868 7F 24 CB 78 */ mr r4, r25 /* 800CC90C 000C986C 38 61 00 18 */ addi r3, r1, 0x18 /* 800CC910 000C9870 4B F8 07 CD */ bl AllocateUniqueId__13CStateManagerFv /* 800CC914 000C9874 A0 61 00 18 */ lhz r3, 0x18(r1) /* 800CC918 000C9878 FC 20 F8 90 */ fmr f1, f31 /* 800CC91C 000C987C FC 40 F0 90 */ fmr f2, f30 /* 800CC920 000C9880 38 00 00 00 */ li r0, 0 /* 800CC924 000C9884 B0 61 00 1C */ sth r3, 0x1c(r1) /* 800CC928 000C9888 FC 60 E8 90 */ fmr f3, f29 /* 800CC92C 000C988C FC 80 E0 90 */ fmr f4, f28 /* 800CC930 000C9890 93 C1 00 08 */ stw r30, 8(r1) /* 800CC934 000C9894 7F 63 DB 78 */ mr r3, r27 /* 800CC938 000C9898 7F 46 D3 78 */ mr r6, r26 /* 800CC93C 000C989C 93 E1 00 0C */ stw r31, 0xc(r1) /* 800CC940 000C98A0 7F A8 EB 78 */ mr r8, r29 /* 800CC944 000C98A4 7F 89 E3 78 */ mr r9, r28 /* 800CC948 000C98A8 38 81 00 1C */ addi r4, r1, 0x1c /* 800CC94C 000C98AC 90 01 00 10 */ stw r0, 0x10(r1) /* 800CC950 000C98B0 38 A1 00 30 */ addi r5, r1, 0x30 /* 800CC954 000C98B4 38 E1 00 70 */ addi r7, r1, 0x70 /* 800CC958 000C98B8 39 41 00 20 */ addi r10, r1, 0x20 /* 800CC95C 000C98BC 48 10 AC D5 */ bl "__ct__15CScriptVisorGooF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUiUiffffRC6CColoribb" /* 800CC960 000C98C0 7C 7B 1B 78 */ mr r27, r3 lbl_800CC964: /* 800CC964 000C98C4 38 61 00 30 */ addi r3, r1, 0x30 /* 800CC968 000C98C8 48 27 11 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CC96C 000C98CC 7F 63 DB 78 */ mr r3, r27 lbl_800CC970: /* 800CC970 000C98D0 39 61 00 E0 */ addi r11, r1, 0xe0 /* 800CC974 000C98D4 48 2B D0 C1 */ bl _restfpr_28 /* 800CC978 000C98D8 BB 21 00 A4 */ lmw r25, 0xa4(r1) /* 800CC97C 000C98DC 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 800CC980 000C98E0 7C 08 03 A6 */ mtlr r0 /* 800CC984 000C98E4 38 21 00 E0 */ addi r1, r1, 0xe0 /* 800CC988 000C98E8 4E 80 00 20 */ blr .global LoadSaveStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadSaveStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CC98C 000C98EC 38 60 00 00 */ li r3, 0 /* 800CC990 000C98F0 4E 80 00 20 */ blr .global LoadPlayerStateChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadPlayerStateChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CC994 000C98F4 94 21 FF B0 */ stwu r1, -0x50(r1) /* 800CC998 000C98F8 7C 08 02 A6 */ mflr r0 /* 800CC99C 000C98FC 2C 05 00 07 */ cmpwi r5, 7 /* 800CC9A0 000C9900 90 01 00 54 */ stw r0, 0x54(r1) /* 800CC9A4 000C9904 BE E1 00 2C */ stmw r23, 0x2c(r1) /* 800CC9A8 000C9908 7C 7E 1B 78 */ mr r30, r3 /* 800CC9AC 000C990C 7C 97 23 78 */ mr r23, r4 /* 800CC9B0 000C9910 7C DF 33 78 */ mr r31, r6 /* 800CC9B4 000C9914 41 82 00 0C */ beq lbl_800CC9C0 /* 800CC9B8 000C9918 38 60 00 00 */ li r3, 0 /* 800CC9BC 000C991C 48 00 00 CC */ b lbl_800CCA88 lbl_800CC9C0: /* 800CC9C0 000C9920 4B F7 88 25 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CC9C4 000C9924 7C 64 1B 78 */ mr r4, r3 /* 800CC9C8 000C9928 38 61 00 18 */ addi r3, r1, 0x18 /* 800CC9CC 000C992C 48 27 17 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CC9D0 000C9930 7E E3 BB 78 */ mr r3, r23 /* 800CC9D4 000C9934 48 27 23 09 */ bl ReadBool__12CInputStreamFv /* 800CC9D8 000C9938 7C 7B 1B 78 */ mr r27, r3 /* 800CC9DC 000C993C 7E E3 BB 78 */ mr r3, r23 /* 800CC9E0 000C9940 48 27 22 A5 */ bl ReadLong__12CInputStreamFv /* 800CC9E4 000C9944 7C 7A 1B 78 */ mr r26, r3 /* 800CC9E8 000C9948 7E E3 BB 78 */ mr r3, r23 /* 800CC9EC 000C994C 48 27 22 99 */ bl ReadLong__12CInputStreamFv /* 800CC9F0 000C9950 7C 79 1B 78 */ mr r25, r3 /* 800CC9F4 000C9954 7E E3 BB 78 */ mr r3, r23 /* 800CC9F8 000C9958 48 27 22 8D */ bl ReadLong__12CInputStreamFv /* 800CC9FC 000C995C 7C 78 1B 78 */ mr r24, r3 /* 800CCA00 000C9960 7E E3 BB 78 */ mr r3, r23 /* 800CCA04 000C9964 48 27 22 81 */ bl ReadLong__12CInputStreamFv /* 800CCA08 000C9968 7C 7C 1B 78 */ mr r28, r3 /* 800CCA0C 000C996C 7E E3 BB 78 */ mr r3, r23 /* 800CCA10 000C9970 48 27 22 75 */ bl ReadLong__12CInputStreamFv /* 800CCA14 000C9974 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CCA18 000C9978 7C 7D 1B 78 */ mr r29, r3 /* 800CCA1C 000C997C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CCA20 000C9980 38 60 00 48 */ li r3, 0x48 /* 800CCA24 000C9984 38 84 00 0D */ addi r4, r4, 0xd /* 800CCA28 000C9988 38 A0 00 00 */ li r5, 0 /* 800CCA2C 000C998C 48 24 8E 41 */ bl __nw__FUlPCcPCc /* 800CCA30 000C9990 7C 77 1B 79 */ or. r23, r3, r3 /* 800CCA34 000C9994 41 82 00 48 */ beq lbl_800CCA7C /* 800CCA38 000C9998 7F C4 F3 78 */ mr r4, r30 /* 800CCA3C 000C999C 38 61 00 10 */ addi r3, r1, 0x10 /* 800CCA40 000C99A0 4B F8 06 9D */ bl AllocateUniqueId__13CStateManagerFv /* 800CCA44 000C99A4 A0 01 00 10 */ lhz r0, 0x10(r1) /* 800CCA48 000C99A8 7E E3 BB 78 */ mr r3, r23 /* 800CCA4C 000C99AC 7F E6 FB 78 */ mr r6, r31 /* 800CCA50 000C99B0 7F 67 DB 78 */ mr r7, r27 /* 800CCA54 000C99B4 B0 01 00 14 */ sth r0, 0x14(r1) /* 800CCA58 000C99B8 7F 48 D3 78 */ mr r8, r26 /* 800CCA5C 000C99BC 7F 29 CB 78 */ mr r9, r25 /* 800CCA60 000C99C0 7F 0A C3 78 */ mr r10, r24 /* 800CCA64 000C99C4 93 81 00 08 */ stw r28, 8(r1) /* 800CCA68 000C99C8 38 81 00 14 */ addi r4, r1, 0x14 /* 800CCA6C 000C99CC 38 A1 00 18 */ addi r5, r1, 0x18 /* 800CCA70 000C99D0 93 A1 00 0C */ stw r29, 0xc(r1) /* 800CCA74 000C99D4 48 10 DB E5 */ bl "__ct__24CScriptPlayerStateChangeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobiiiQ224CScriptPlayerStateChange8EControlQ224CScriptPlayerStateChange21EControlCommandOption" /* 800CCA78 000C99D8 7C 77 1B 78 */ mr r23, r3 lbl_800CCA7C: /* 800CCA7C 000C99DC 38 61 00 18 */ addi r3, r1, 0x18 /* 800CCA80 000C99E0 48 27 10 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CCA84 000C99E4 7E E3 BB 78 */ mr r3, r23 lbl_800CCA88: /* 800CCA88 000C99E8 BA E1 00 2C */ lmw r23, 0x2c(r1) /* 800CCA8C 000C99EC 80 01 00 54 */ lwz r0, 0x54(r1) /* 800CCA90 000C99F0 7C 08 03 A6 */ mtlr r0 /* 800CCA94 000C99F4 38 21 00 50 */ addi r1, r1, 0x50 /* 800CCA98 000C99F8 4E 80 00 20 */ blr .global LoadSwitch__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadSwitch__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CCA9C 000C99FC 94 21 FF C0 */ stwu r1, -0x40(r1) /* 800CCAA0 000C9A00 7C 08 02 A6 */ mflr r0 /* 800CCAA4 000C9A04 2C 05 00 04 */ cmpwi r5, 4 /* 800CCAA8 000C9A08 90 01 00 44 */ stw r0, 0x44(r1) /* 800CCAAC 000C9A0C BF 41 00 28 */ stmw r26, 0x28(r1) /* 800CCAB0 000C9A10 7C 7A 1B 78 */ mr r26, r3 /* 800CCAB4 000C9A14 7C 9C 23 78 */ mr r28, r4 /* 800CCAB8 000C9A18 7C DB 33 78 */ mr r27, r6 /* 800CCABC 000C9A1C 41 82 00 0C */ beq lbl_800CCAC8 /* 800CCAC0 000C9A20 38 60 00 00 */ li r3, 0 /* 800CCAC4 000C9A24 48 00 00 9C */ b lbl_800CCB60 lbl_800CCAC8: /* 800CCAC8 000C9A28 4B F7 87 1D */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CCACC 000C9A2C 7C 64 1B 78 */ mr r4, r3 /* 800CCAD0 000C9A30 38 61 00 10 */ addi r3, r1, 0x10 /* 800CCAD4 000C9A34 48 27 16 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CCAD8 000C9A38 7F 83 E3 78 */ mr r3, r28 /* 800CCADC 000C9A3C 48 27 22 01 */ bl ReadBool__12CInputStreamFv /* 800CCAE0 000C9A40 7C 7F 1B 78 */ mr r31, r3 /* 800CCAE4 000C9A44 7F 83 E3 78 */ mr r3, r28 /* 800CCAE8 000C9A48 48 27 21 F5 */ bl ReadBool__12CInputStreamFv /* 800CCAEC 000C9A4C 7C 7E 1B 78 */ mr r30, r3 /* 800CCAF0 000C9A50 7F 83 E3 78 */ mr r3, r28 /* 800CCAF4 000C9A54 48 27 21 E9 */ bl ReadBool__12CInputStreamFv /* 800CCAF8 000C9A58 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CCAFC 000C9A5C 7C 7D 1B 78 */ mr r29, r3 /* 800CCB00 000C9A60 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CCB04 000C9A64 38 60 00 38 */ li r3, 0x38 /* 800CCB08 000C9A68 38 A0 00 00 */ li r5, 0 /* 800CCB0C 000C9A6C 38 84 00 0D */ addi r4, r4, 0xd /* 800CCB10 000C9A70 48 24 8D 5D */ bl __nw__FUlPCcPCc /* 800CCB14 000C9A74 7C 7C 1B 79 */ or. r28, r3, r3 /* 800CCB18 000C9A78 41 82 00 3C */ beq lbl_800CCB54 /* 800CCB1C 000C9A7C 7F 44 D3 78 */ mr r4, r26 /* 800CCB20 000C9A80 38 61 00 08 */ addi r3, r1, 8 /* 800CCB24 000C9A84 4B F8 05 B9 */ bl AllocateUniqueId__13CStateManagerFv /* 800CCB28 000C9A88 A0 01 00 08 */ lhz r0, 8(r1) /* 800CCB2C 000C9A8C 7F 83 E3 78 */ mr r3, r28 /* 800CCB30 000C9A90 7F 66 DB 78 */ mr r6, r27 /* 800CCB34 000C9A94 7F E7 FB 78 */ mr r7, r31 /* 800CCB38 000C9A98 B0 01 00 0C */ sth r0, 0xc(r1) /* 800CCB3C 000C9A9C 7F C8 F3 78 */ mr r8, r30 /* 800CCB40 000C9AA0 7F A9 EB 78 */ mr r9, r29 /* 800CCB44 000C9AA4 38 81 00 0C */ addi r4, r1, 0xc /* 800CCB48 000C9AA8 38 A1 00 10 */ addi r5, r1, 0x10 /* 800CCB4C 000C9AAC 48 10 CD 71 */ bl "__ct__13CScriptSwitchF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobbb" /* 800CCB50 000C9AB0 7C 7C 1B 78 */ mr r28, r3 lbl_800CCB54: /* 800CCB54 000C9AB4 38 61 00 10 */ addi r3, r1, 0x10 /* 800CCB58 000C9AB8 48 27 0F 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CCB5C 000C9ABC 7F 83 E3 78 */ mr r3, r28 lbl_800CCB60: /* 800CCB60 000C9AC0 BB 41 00 28 */ lmw r26, 0x28(r1) /* 800CCB64 000C9AC4 80 01 00 44 */ lwz r0, 0x44(r1) /* 800CCB68 000C9AC8 7C 08 03 A6 */ mtlr r0 /* 800CCB6C 000C9ACC 38 21 00 40 */ addi r1, r1, 0x40 /* 800CCB70 000C9AD0 4E 80 00 20 */ blr .global LoadControllerAction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadControllerAction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CCB74 000C9AD4 94 21 FF B0 */ stwu r1, -0x50(r1) /* 800CCB78 000C9AD8 7C 08 02 A6 */ mflr r0 /* 800CCB7C 000C9ADC 90 01 00 54 */ stw r0, 0x54(r1) /* 800CCB80 000C9AE0 38 00 00 00 */ li r0, 0 /* 800CCB84 000C9AE4 BF 01 00 30 */ stmw r24, 0x30(r1) /* 800CCB88 000C9AE8 7C B8 2B 78 */ mr r24, r5 /* 800CCB8C 000C9AEC 2C 18 00 04 */ cmpwi r24, 4 /* 800CCB90 000C9AF0 7C 7E 1B 78 */ mr r30, r3 /* 800CCB94 000C9AF4 7C 9D 23 78 */ mr r29, r4 /* 800CCB98 000C9AF8 7C DF 33 78 */ mr r31, r6 /* 800CCB9C 000C9AFC 41 80 00 10 */ blt lbl_800CCBAC /* 800CCBA0 000C9B00 2C 18 00 06 */ cmpwi r24, 6 /* 800CCBA4 000C9B04 41 81 00 08 */ bgt lbl_800CCBAC /* 800CCBA8 000C9B08 38 00 00 01 */ li r0, 1 lbl_800CCBAC: /* 800CCBAC 000C9B0C 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800CCBB0 000C9B10 40 82 00 0C */ bne lbl_800CCBBC /* 800CCBB4 000C9B14 38 60 00 00 */ li r3, 0 /* 800CCBB8 000C9B18 48 00 00 E4 */ b lbl_800CCC9C lbl_800CCBBC: /* 800CCBBC 000C9B1C 7F C3 F3 78 */ mr r3, r30 /* 800CCBC0 000C9B20 7F A4 EB 78 */ mr r4, r29 /* 800CCBC4 000C9B24 4B F7 86 21 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CCBC8 000C9B28 7C 64 1B 78 */ mr r4, r3 /* 800CCBCC 000C9B2C 38 61 00 18 */ addi r3, r1, 0x18 /* 800CCBD0 000C9B30 48 27 15 91 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CCBD4 000C9B34 7F A3 EB 78 */ mr r3, r29 /* 800CCBD8 000C9B38 48 27 21 05 */ bl ReadBool__12CInputStreamFv /* 800CCBDC 000C9B3C 7C 7C 1B 78 */ mr r28, r3 /* 800CCBE0 000C9B40 7F A3 EB 78 */ mr r3, r29 /* 800CCBE4 000C9B44 48 27 20 A1 */ bl ReadLong__12CInputStreamFv /* 800CCBE8 000C9B48 2C 18 00 06 */ cmpwi r24, 6 /* 800CCBEC 000C9B4C 7C 7B 1B 78 */ mr r27, r3 /* 800CCBF0 000C9B50 41 80 00 14 */ blt lbl_800CCC04 /* 800CCBF4 000C9B54 7F A3 EB 78 */ mr r3, r29 /* 800CCBF8 000C9B58 48 27 20 E5 */ bl ReadBool__12CInputStreamFv /* 800CCBFC 000C9B5C 7C 7A 1B 78 */ mr r26, r3 /* 800CCC00 000C9B60 48 00 00 08 */ b lbl_800CCC08 lbl_800CCC04: /* 800CCC04 000C9B64 3B 40 00 00 */ li r26, 0 lbl_800CCC08: /* 800CCC08 000C9B68 2C 18 00 06 */ cmpwi r24, 6 /* 800CCC0C 000C9B6C 41 80 00 14 */ blt lbl_800CCC20 /* 800CCC10 000C9B70 7F A3 EB 78 */ mr r3, r29 /* 800CCC14 000C9B74 48 27 20 71 */ bl ReadLong__12CInputStreamFv /* 800CCC18 000C9B78 7C 79 1B 78 */ mr r25, r3 /* 800CCC1C 000C9B7C 48 00 00 08 */ b lbl_800CCC24 lbl_800CCC20: /* 800CCC20 000C9B80 3B 20 00 00 */ li r25, 0 lbl_800CCC24: /* 800CCC24 000C9B84 7F A3 EB 78 */ mr r3, r29 /* 800CCC28 000C9B88 48 27 20 B5 */ bl ReadBool__12CInputStreamFv /* 800CCC2C 000C9B8C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CCC30 000C9B90 7C 7D 1B 78 */ mr r29, r3 /* 800CCC34 000C9B94 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CCC38 000C9B98 38 60 00 40 */ li r3, 0x40 /* 800CCC3C 000C9B9C 38 84 00 0D */ addi r4, r4, 0xd /* 800CCC40 000C9BA0 38 A0 00 00 */ li r5, 0 /* 800CCC44 000C9BA4 48 24 8C 29 */ bl __nw__FUlPCcPCc /* 800CCC48 000C9BA8 7C 78 1B 79 */ or. r24, r3, r3 /* 800CCC4C 000C9BAC 41 82 00 44 */ beq lbl_800CCC90 /* 800CCC50 000C9BB0 7F C4 F3 78 */ mr r4, r30 /* 800CCC54 000C9BB4 38 61 00 10 */ addi r3, r1, 0x10 /* 800CCC58 000C9BB8 4B F8 04 85 */ bl AllocateUniqueId__13CStateManagerFv /* 800CCC5C 000C9BBC A0 01 00 10 */ lhz r0, 0x10(r1) /* 800CCC60 000C9BC0 7F 03 C3 78 */ mr r3, r24 /* 800CCC64 000C9BC4 7F E6 FB 78 */ mr r6, r31 /* 800CCC68 000C9BC8 7F 87 E3 78 */ mr r7, r28 /* 800CCC6C 000C9BCC B0 01 00 14 */ sth r0, 0x14(r1) /* 800CCC70 000C9BD0 7F 68 DB 78 */ mr r8, r27 /* 800CCC74 000C9BD4 7F 49 D3 78 */ mr r9, r26 /* 800CCC78 000C9BD8 7F 2A CB 78 */ mr r10, r25 /* 800CCC7C 000C9BDC 93 A1 00 08 */ stw r29, 8(r1) /* 800CCC80 000C9BE0 38 81 00 14 */ addi r4, r1, 0x14 /* 800CCC84 000C9BE4 38 A1 00 18 */ addi r5, r1, 0x18 /* 800CCC88 000C9BE8 48 10 C2 55 */ bl "__ct__23CScriptControllerActionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobQ223CScriptControllerAction9ECommandsb" /* 800CCC8C 000C9BEC 7C 78 1B 78 */ mr r24, r3 lbl_800CCC90: /* 800CCC90 000C9BF0 38 61 00 18 */ addi r3, r1, 0x18 /* 800CCC94 000C9BF4 48 27 0E 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CCC98 000C9BF8 7F 03 C3 78 */ mr r3, r24 lbl_800CCC9C: /* 800CCC9C 000C9BFC BB 01 00 30 */ lmw r24, 0x30(r1) /* 800CCCA0 000C9C00 80 01 00 54 */ lwz r0, 0x54(r1) /* 800CCCA4 000C9C04 7C 08 03 A6 */ mtlr r0 /* 800CCCA8 000C9C08 38 21 00 50 */ addi r1, r1, 0x50 /* 800CCCAC 000C9C0C 4E 80 00 20 */ blr .global LoadWorldTeleporter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadWorldTeleporter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CCCB0 000C9C10 94 21 FE F0 */ stwu r1, -0x110(r1) /* 800CCCB4 000C9C14 7C 08 02 A6 */ mflr r0 /* 800CCCB8 000C9C18 90 01 01 14 */ stw r0, 0x114(r1) /* 800CCCBC 000C9C1C DB E1 01 00 */ stfd f31, 0x100(r1) /* 800CCCC0 000C9C20 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 /* 800CCCC4 000C9C24 DB C1 00 F0 */ stfd f30, 0xf0(r1) /* 800CCCC8 000C9C28 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 /* 800CCCCC 000C9C2C DB A1 00 E0 */ stfd f29, 0xe0(r1) /* 800CCCD0 000C9C30 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 /* 800CCCD4 000C9C34 BD C1 00 98 */ stmw r14, 0x98(r1) /* 800CCCD8 000C9C38 7C B1 2B 78 */ mr r17, r5 /* 800CCCDC 000C9C3C 7C 6F 1B 78 */ mr r15, r3 /* 800CCCE0 000C9C40 2C 11 00 04 */ cmpwi r17, 4 /* 800CCCE4 000C9C44 7C 90 23 78 */ mr r16, r4 /* 800CCCE8 000C9C48 7C D2 33 78 */ mr r18, r6 /* 800CCCEC 000C9C4C 38 00 00 00 */ li r0, 0 /* 800CCCF0 000C9C50 41 80 00 10 */ blt lbl_800CCD00 /* 800CCCF4 000C9C54 2C 11 00 15 */ cmpwi r17, 0x15 /* 800CCCF8 000C9C58 41 81 00 08 */ bgt lbl_800CCD00 /* 800CCCFC 000C9C5C 38 00 00 01 */ li r0, 1 lbl_800CCD00: /* 800CCD00 000C9C60 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800CCD04 000C9C64 40 82 00 0C */ bne lbl_800CCD10 /* 800CCD08 000C9C68 38 60 00 00 */ li r3, 0 /* 800CCD0C 000C9C6C 48 00 03 64 */ b lbl_800CD070 lbl_800CCD10: /* 800CCD10 000C9C70 7D E3 7B 78 */ mr r3, r15 /* 800CCD14 000C9C74 7E 04 83 78 */ mr r4, r16 /* 800CCD18 000C9C78 4B F7 84 CD */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CCD1C 000C9C7C 7C 64 1B 78 */ mr r4, r3 /* 800CCD20 000C9C80 38 61 00 80 */ addi r3, r1, 0x80 /* 800CCD24 000C9C84 48 27 14 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CCD28 000C9C88 7E 03 83 78 */ mr r3, r16 /* 800CCD2C 000C9C8C 48 27 1F B1 */ bl ReadBool__12CInputStreamFv /* 800CCD30 000C9C90 7C 7D 1B 78 */ mr r29, r3 /* 800CCD34 000C9C94 7E 03 83 78 */ mr r3, r16 /* 800CCD38 000C9C98 48 27 1F 4D */ bl ReadLong__12CInputStreamFv /* 800CCD3C 000C9C9C 7C 7C 1B 78 */ mr r28, r3 /* 800CCD40 000C9CA0 7E 03 83 78 */ mr r3, r16 /* 800CCD44 000C9CA4 48 27 1F 41 */ bl ReadLong__12CInputStreamFv /* 800CCD48 000C9CA8 2C 11 00 04 */ cmpwi r17, 4 /* 800CCD4C 000C9CAC 7C 7B 1B 78 */ mr r27, r3 /* 800CCD50 000C9CB0 40 82 00 6C */ bne lbl_800CCDBC /* 800CCD54 000C9CB4 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CCD58 000C9CB8 38 60 00 94 */ li r3, 0x94 /* 800CCD5C 000C9CBC 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CCD60 000C9CC0 38 A0 00 00 */ li r5, 0 /* 800CCD64 000C9CC4 38 84 00 0D */ addi r4, r4, 0xd /* 800CCD68 000C9CC8 48 24 8B 05 */ bl __nw__FUlPCcPCc /* 800CCD6C 000C9CCC 7C 6E 1B 79 */ or. r14, r3, r3 /* 800CCD70 000C9CD0 41 82 00 3C */ beq lbl_800CCDAC /* 800CCD74 000C9CD4 7D E4 7B 78 */ mr r4, r15 /* 800CCD78 000C9CD8 38 61 00 48 */ addi r3, r1, 0x48 /* 800CCD7C 000C9CDC 4B F8 03 61 */ bl AllocateUniqueId__13CStateManagerFv /* 800CCD80 000C9CE0 A0 01 00 48 */ lhz r0, 0x48(r1) /* 800CCD84 000C9CE4 7D C3 73 78 */ mr r3, r14 /* 800CCD88 000C9CE8 7E 46 93 78 */ mr r6, r18 /* 800CCD8C 000C9CEC 7F A7 EB 78 */ mr r7, r29 /* 800CCD90 000C9CF0 B0 01 00 4C */ sth r0, 0x4c(r1) /* 800CCD94 000C9CF4 7F 88 E3 78 */ mr r8, r28 /* 800CCD98 000C9CF8 7F 69 DB 78 */ mr r9, r27 /* 800CCD9C 000C9CFC 38 81 00 4C */ addi r4, r1, 0x4c /* 800CCDA0 000C9D00 38 A1 00 80 */ addi r5, r1, 0x80 /* 800CCDA4 000C9D04 48 10 A0 ED */ bl "__ct__22CScriptWorldTeleporterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobUiUi" /* 800CCDA8 000C9D08 7C 6E 1B 78 */ mr r14, r3 lbl_800CCDAC: /* 800CCDAC 000C9D0C 38 61 00 80 */ addi r3, r1, 0x80 /* 800CCDB0 000C9D10 48 27 0D 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CCDB4 000C9D14 7D C3 73 78 */ mr r3, r14 /* 800CCDB8 000C9D18 48 00 02 B8 */ b lbl_800CD070 lbl_800CCDBC: /* 800CCDBC 000C9D1C 7E 04 83 78 */ mr r4, r16 /* 800CCDC0 000C9D20 38 61 00 50 */ addi r3, r1, 0x50 /* 800CCDC4 000C9D24 48 00 D6 49 */ bl LoadAnimationParameters__FR12CInputStream /* 800CCDC8 000C9D28 82 A1 00 50 */ lwz r21, 0x50(r1) /* 800CCDCC 000C9D2C 7E 04 83 78 */ mr r4, r16 /* 800CCDD0 000C9D30 82 81 00 54 */ lwz r20, 0x54(r1) /* 800CCDD4 000C9D34 38 61 00 74 */ addi r3, r1, 0x74 /* 800CCDD8 000C9D38 82 61 00 58 */ lwz r19, 0x58(r1) /* 800CCDDC 000C9D3C 48 24 7D B1 */ bl __ct__9CVector3fFR12CInputStream /* 800CCDE0 000C9D40 7E 03 83 78 */ mr r3, r16 /* 800CCDE4 000C9D44 48 27 1E A1 */ bl ReadLong__12CInputStreamFv /* 800CCDE8 000C9D48 7C 6E 1B 78 */ mr r14, r3 /* 800CCDEC 000C9D4C 7E 04 83 78 */ mr r4, r16 /* 800CCDF0 000C9D50 38 61 00 68 */ addi r3, r1, 0x68 /* 800CCDF4 000C9D54 48 24 7D 99 */ bl __ct__9CVector3fFR12CInputStream /* 800CCDF8 000C9D58 7E 03 83 78 */ mr r3, r16 /* 800CCDFC 000C9D5C 48 27 1E 89 */ bl ReadLong__12CInputStreamFv /* 800CCE00 000C9D60 90 61 00 90 */ stw r3, 0x90(r1) /* 800CCE04 000C9D64 7E 04 83 78 */ mr r4, r16 /* 800CCE08 000C9D68 38 61 00 5C */ addi r3, r1, 0x5c /* 800CCE0C 000C9D6C 48 24 7D 81 */ bl __ct__9CVector3fFR12CInputStream /* 800CCE10 000C9D70 7E 03 83 78 */ mr r3, r16 /* 800CCE14 000C9D74 48 27 1E C9 */ bl ReadBool__12CInputStreamFv /* 800CCE18 000C9D78 2C 11 00 0C */ cmpwi r17, 0xc /* 800CCE1C 000C9D7C 90 61 00 94 */ stw r3, 0x94(r1) /* 800CCE20 000C9D80 41 80 00 14 */ blt lbl_800CCE34 /* 800CCE24 000C9D84 7E 03 83 78 */ mr r3, r16 /* 800CCE28 000C9D88 48 27 1E 5D */ bl ReadLong__12CInputStreamFv /* 800CCE2C 000C9D8C 54 7A 04 3E */ clrlwi r26, r3, 0x10 /* 800CCE30 000C9D90 48 00 00 08 */ b lbl_800CCE38 lbl_800CCE34: /* 800CCE34 000C9D94 A3 42 C5 FC */ lhz r26, kInternalInvalidSfxId__11CSfxManager@sda21(r2) lbl_800CCE38: /* 800CCE38 000C9D98 2C 11 00 0D */ cmpwi r17, 0xd /* 800CCE3C 000C9D9C 41 80 00 14 */ blt lbl_800CCE50 /* 800CCE40 000C9DA0 7E 03 83 78 */ mr r3, r16 /* 800CCE44 000C9DA4 48 27 1E 41 */ bl ReadLong__12CInputStreamFv /* 800CCE48 000C9DA8 54 79 06 3E */ clrlwi r25, r3, 0x18 /* 800CCE4C 000C9DAC 48 00 00 08 */ b lbl_800CCE54 lbl_800CCE50: /* 800CCE50 000C9DB0 3B 20 00 7F */ li r25, 0x7f lbl_800CCE54: /* 800CCE54 000C9DB4 2C 11 00 0E */ cmpwi r17, 0xe /* 800CCE58 000C9DB8 41 80 00 14 */ blt lbl_800CCE6C /* 800CCE5C 000C9DBC 7E 03 83 78 */ mr r3, r16 /* 800CCE60 000C9DC0 48 27 1E 25 */ bl ReadLong__12CInputStreamFv /* 800CCE64 000C9DC4 54 78 06 3E */ clrlwi r24, r3, 0x18 /* 800CCE68 000C9DC8 48 00 00 08 */ b lbl_800CCE70 lbl_800CCE6C: /* 800CCE6C 000C9DCC 3B 00 00 40 */ li r24, 0x40 lbl_800CCE70: /* 800CCE70 000C9DD0 2C 11 00 0F */ cmpwi r17, 0xf /* 800CCE74 000C9DD4 41 80 00 14 */ blt lbl_800CCE88 /* 800CCE78 000C9DD8 7E 03 83 78 */ mr r3, r16 /* 800CCE7C 000C9DDC 48 27 1E 61 */ bl ReadBool__12CInputStreamFv /* 800CCE80 000C9DE0 7C 7E 1B 78 */ mr r30, r3 /* 800CCE84 000C9DE4 48 00 00 08 */ b lbl_800CCE8C lbl_800CCE88: /* 800CCE88 000C9DE8 3B C0 00 00 */ li r30, 0 lbl_800CCE8C: /* 800CCE8C 000C9DEC 2C 11 00 10 */ cmpwi r17, 0x10 /* 800CCE90 000C9DF0 41 80 00 14 */ blt lbl_800CCEA4 /* 800CCE94 000C9DF4 7E 03 83 78 */ mr r3, r16 /* 800CCE98 000C9DF8 48 27 1D ED */ bl ReadLong__12CInputStreamFv /* 800CCE9C 000C9DFC 7C 77 1B 78 */ mr r23, r3 /* 800CCEA0 000C9E00 48 00 00 08 */ b lbl_800CCEA8 lbl_800CCEA4: /* 800CCEA4 000C9E04 3A E0 FF FF */ li r23, -1 lbl_800CCEA8: /* 800CCEA8 000C9E08 2C 11 00 11 */ cmpwi r17, 0x11 /* 800CCEAC 000C9E0C 41 80 00 14 */ blt lbl_800CCEC0 /* 800CCEB0 000C9E10 7E 03 83 78 */ mr r3, r16 /* 800CCEB4 000C9E14 48 27 1D D1 */ bl ReadLong__12CInputStreamFv /* 800CCEB8 000C9E18 7C 76 1B 78 */ mr r22, r3 /* 800CCEBC 000C9E1C 48 00 00 08 */ b lbl_800CCEC4 lbl_800CCEC0: /* 800CCEC0 000C9E20 3A C0 FF FF */ li r22, -1 lbl_800CCEC4: /* 800CCEC4 000C9E24 2C 11 00 12 */ cmpwi r17, 0x12 /* 800CCEC8 000C9E28 41 80 00 14 */ blt lbl_800CCEDC /* 800CCECC 000C9E2C 7E 03 83 78 */ mr r3, r16 /* 800CCED0 000C9E30 48 27 1E 0D */ bl ReadBool__12CInputStreamFv /* 800CCED4 000C9E34 7C 7F 1B 78 */ mr r31, r3 /* 800CCED8 000C9E38 48 00 00 08 */ b lbl_800CCEE0 lbl_800CCEDC: /* 800CCEDC 000C9E3C 3B E0 00 00 */ li r31, 0 lbl_800CCEE0: /* 800CCEE0 000C9E40 2C 11 00 13 */ cmpwi r17, 0x13 /* 800CCEE4 000C9E44 41 80 00 14 */ blt lbl_800CCEF8 /* 800CCEE8 000C9E48 7E 03 83 78 */ mr r3, r16 /* 800CCEEC 000C9E4C 48 27 1D 3D */ bl ReadFloat__12CInputStreamFv /* 800CCEF0 000C9E50 FF E0 08 90 */ fmr f31, f1 /* 800CCEF4 000C9E54 48 00 00 08 */ b lbl_800CCEFC lbl_800CCEF8: /* 800CCEF8 000C9E58 C3 E2 8E 58 */ lfs f31, lbl_805AAB78@sda21(r2) lbl_800CCEFC: /* 800CCEFC 000C9E5C 2C 11 00 14 */ cmpwi r17, 0x14 /* 800CCF00 000C9E60 41 80 00 14 */ blt lbl_800CCF14 /* 800CCF04 000C9E64 7E 03 83 78 */ mr r3, r16 /* 800CCF08 000C9E68 48 27 1D 21 */ bl ReadFloat__12CInputStreamFv /* 800CCF0C 000C9E6C FF C0 08 90 */ fmr f30, f1 /* 800CCF10 000C9E70 48 00 00 08 */ b lbl_800CCF18 lbl_800CCF14: /* 800CCF14 000C9E74 C3 C2 8E 5C */ lfs f30, lbl_805AAB7C@sda21(r2) lbl_800CCF18: /* 800CCF18 000C9E78 2C 11 00 15 */ cmpwi r17, 0x15 /* 800CCF1C 000C9E7C 41 80 00 14 */ blt lbl_800CCF30 /* 800CCF20 000C9E80 7E 03 83 78 */ mr r3, r16 /* 800CCF24 000C9E84 48 27 1D 05 */ bl ReadFloat__12CInputStreamFv /* 800CCF28 000C9E88 FF A0 08 90 */ fmr f29, f1 /* 800CCF2C 000C9E8C 48 00 00 08 */ b lbl_800CCF34 lbl_800CCF30: /* 800CCF30 000C9E90 C3 A2 8E 28 */ lfs f29, lbl_805AAB48@sda21(r2) lbl_800CCF34: /* 800CCF34 000C9E94 57 C0 06 3F */ clrlwi. r0, r30, 0x18 /* 800CCF38 000C9E98 41 82 00 90 */ beq lbl_800CCFC8 /* 800CCF3C 000C9E9C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CCF40 000C9EA0 38 60 00 94 */ li r3, 0x94 /* 800CCF44 000C9EA4 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CCF48 000C9EA8 38 A0 00 00 */ li r5, 0 /* 800CCF4C 000C9EAC 38 84 00 0D */ addi r4, r4, 0xd /* 800CCF50 000C9EB0 48 24 89 1D */ bl __nw__FUlPCcPCc /* 800CCF54 000C9EB4 7C 6E 1B 79 */ or. r14, r3, r3 /* 800CCF58 000C9EB8 41 82 00 60 */ beq lbl_800CCFB8 /* 800CCF5C 000C9EBC 7D E4 7B 78 */ mr r4, r15 /* 800CCF60 000C9EC0 38 61 00 40 */ addi r3, r1, 0x40 /* 800CCF64 000C9EC4 4B F8 01 79 */ bl AllocateUniqueId__13CStateManagerFv /* 800CCF68 000C9EC8 A0 01 00 40 */ lhz r0, 0x40(r1) /* 800CCF6C 000C9ECC FC 20 F8 90 */ fmr f1, f31 /* 800CCF70 000C9ED0 FC 40 F0 90 */ fmr f2, f30 /* 800CCF74 000C9ED4 7D C3 73 78 */ mr r3, r14 /* 800CCF78 000C9ED8 B0 01 00 44 */ sth r0, 0x44(r1) /* 800CCF7C 000C9EDC FC 60 E8 90 */ fmr f3, f29 /* 800CCF80 000C9EE0 7E 46 93 78 */ mr r6, r18 /* 800CCF84 000C9EE4 93 21 00 08 */ stw r25, 8(r1) /* 800CCF88 000C9EE8 7F A7 EB 78 */ mr r7, r29 /* 800CCF8C 000C9EEC 7F 88 E3 78 */ mr r8, r28 /* 800CCF90 000C9EF0 93 01 00 0C */ stw r24, 0xc(r1) /* 800CCF94 000C9EF4 7F 69 DB 78 */ mr r9, r27 /* 800CCF98 000C9EF8 7F 4A D3 78 */ mr r10, r26 /* 800CCF9C 000C9EFC 38 81 00 44 */ addi r4, r1, 0x44 /* 800CCFA0 000C9F00 92 E1 00 10 */ stw r23, 0x10(r1) /* 800CCFA4 000C9F04 38 A1 00 80 */ addi r5, r1, 0x80 /* 800CCFA8 000C9F08 92 C1 00 14 */ stw r22, 0x14(r1) /* 800CCFAC 000C9F0C 93 E1 00 18 */ stw r31, 0x18(r1) /* 800CCFB0 000C9F10 48 10 9C 15 */ bl "__ct__22CScriptWorldTeleporterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobUiUiUiUiRC9CVector3fUiRC9CVector3fUiRC9CVector3fb" /* 800CCFB4 000C9F14 7C 6E 1B 78 */ mr r14, r3 lbl_800CCFB8: /* 800CCFB8 000C9F18 38 61 00 80 */ addi r3, r1, 0x80 /* 800CCFBC 000C9F1C 48 27 0B 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CCFC0 000C9F20 7D C3 73 78 */ mr r3, r14 /* 800CCFC4 000C9F24 48 00 00 AC */ b lbl_800CD070 lbl_800CCFC8: /* 800CCFC8 000C9F28 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CCFCC 000C9F2C 38 60 00 94 */ li r3, 0x94 /* 800CCFD0 000C9F30 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CCFD4 000C9F34 38 A0 00 00 */ li r5, 0 /* 800CCFD8 000C9F38 38 84 00 0D */ addi r4, r4, 0xd /* 800CCFDC 000C9F3C 48 24 88 91 */ bl __nw__FUlPCcPCc /* 800CCFE0 000C9F40 7C 70 1B 79 */ or. r16, r3, r3 /* 800CCFE4 000C9F44 41 82 00 80 */ beq lbl_800CD064 /* 800CCFE8 000C9F48 7D E4 7B 78 */ mr r4, r15 /* 800CCFEC 000C9F4C 38 61 00 38 */ addi r3, r1, 0x38 /* 800CCFF0 000C9F50 4B F8 00 ED */ bl AllocateUniqueId__13CStateManagerFv /* 800CCFF4 000C9F54 A0 61 00 38 */ lhz r3, 0x38(r1) /* 800CCFF8 000C9F58 39 81 00 74 */ addi r12, r1, 0x74 /* 800CCFFC 000C9F5C 38 01 00 68 */ addi r0, r1, 0x68 /* 800CD000 000C9F60 39 61 00 5C */ addi r11, r1, 0x5c /* 800CD004 000C9F64 B0 61 00 3C */ sth r3, 0x3c(r1) /* 800CD008 000C9F68 7E 03 83 78 */ mr r3, r16 /* 800CD00C 000C9F6C 7E 46 93 78 */ mr r6, r18 /* 800CD010 000C9F70 7F A7 EB 78 */ mr r7, r29 /* 800CD014 000C9F74 92 61 00 08 */ stw r19, 8(r1) /* 800CD018 000C9F78 7F 88 E3 78 */ mr r8, r28 /* 800CD01C 000C9F7C 7F 69 DB 78 */ mr r9, r27 /* 800CD020 000C9F80 7E AA AB 78 */ mr r10, r21 /* 800CD024 000C9F84 92 81 00 0C */ stw r20, 0xc(r1) /* 800CD028 000C9F88 38 81 00 3C */ addi r4, r1, 0x3c /* 800CD02C 000C9F8C 38 A1 00 80 */ addi r5, r1, 0x80 /* 800CD030 000C9F90 91 81 00 10 */ stw r12, 0x10(r1) /* 800CD034 000C9F94 91 C1 00 14 */ stw r14, 0x14(r1) /* 800CD038 000C9F98 90 01 00 18 */ stw r0, 0x18(r1) /* 800CD03C 000C9F9C 80 01 00 90 */ lwz r0, 0x90(r1) /* 800CD040 000C9FA0 90 01 00 1C */ stw r0, 0x1c(r1) /* 800CD044 000C9FA4 80 01 00 94 */ lwz r0, 0x94(r1) /* 800CD048 000C9FA8 91 61 00 20 */ stw r11, 0x20(r1) /* 800CD04C 000C9FAC 90 01 00 24 */ stw r0, 0x24(r1) /* 800CD050 000C9FB0 93 41 00 28 */ stw r26, 0x28(r1) /* 800CD054 000C9FB4 93 21 00 2C */ stw r25, 0x2c(r1) /* 800CD058 000C9FB8 93 01 00 30 */ stw r24, 0x30(r1) /* 800CD05C 000C9FBC 48 10 9C E5 */ bl "__ct__22CScriptWorldTeleporterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CD060 000C9FC0 7C 70 1B 78 */ mr r16, r3 lbl_800CD064: /* 800CD064 000C9FC4 38 61 00 80 */ addi r3, r1, 0x80 /* 800CD068 000C9FC8 48 27 0A 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CD06C 000C9FCC 7E 03 83 78 */ mr r3, r16 lbl_800CD070: /* 800CD070 000C9FD0 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 /* 800CD074 000C9FD4 CB E1 01 00 */ lfd f31, 0x100(r1) /* 800CD078 000C9FD8 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 /* 800CD07C 000C9FDC CB C1 00 F0 */ lfd f30, 0xf0(r1) /* 800CD080 000C9FE0 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 /* 800CD084 000C9FE4 CB A1 00 E0 */ lfd f29, 0xe0(r1) /* 800CD088 000C9FE8 B9 C1 00 98 */ lmw r14, 0x98(r1) /* 800CD08C 000C9FEC 80 01 01 14 */ lwz r0, 0x114(r1) /* 800CD090 000C9FF0 7C 08 03 A6 */ mtlr r0 /* 800CD094 000C9FF4 38 21 01 10 */ addi r1, r1, 0x110 /* 800CD098 000C9FF8 4E 80 00 20 */ blr .global LoadVisorFlare__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadVisorFlare__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CD09C 000C9FFC 94 21 FE 70 */ stwu r1, -0x190(r1) /* 800CD0A0 000CA000 7C 08 02 A6 */ mflr r0 /* 800CD0A4 000CA004 90 01 01 94 */ stw r0, 0x194(r1) /* 800CD0A8 000CA008 DB E1 01 80 */ stfd f31, 0x180(r1) /* 800CD0AC 000CA00C F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 /* 800CD0B0 000CA010 DB C1 01 70 */ stfd f30, 0x170(r1) /* 800CD0B4 000CA014 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0 /* 800CD0B8 000CA018 DB A1 01 60 */ stfd f29, 0x160(r1) /* 800CD0BC 000CA01C F3 A1 01 68 */ psq_st f29, 360(r1), 0, qr0 /* 800CD0C0 000CA020 BF 01 01 40 */ stmw r24, 0x140(r1) /* 800CD0C4 000CA024 2C 05 00 0E */ cmpwi r5, 0xe /* 800CD0C8 000CA028 7C 7A 1B 78 */ mr r26, r3 /* 800CD0CC 000CA02C 7C 9B 23 78 */ mr r27, r4 /* 800CD0D0 000CA030 7C D9 33 78 */ mr r25, r6 /* 800CD0D4 000CA034 41 82 00 0C */ beq lbl_800CD0E0 /* 800CD0D8 000CA038 38 60 00 00 */ li r3, 0 /* 800CD0DC 000CA03C 48 00 06 B0 */ b lbl_800CD78C lbl_800CD0E0: /* 800CD0E0 000CA040 4B F7 81 05 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CD0E4 000CA044 7C 64 1B 78 */ mr r4, r3 /* 800CD0E8 000CA048 38 61 00 3C */ addi r3, r1, 0x3c /* 800CD0EC 000CA04C 48 27 10 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CD0F0 000CA050 7F 64 DB 78 */ mr r4, r27 /* 800CD0F4 000CA054 38 61 00 30 */ addi r3, r1, 0x30 /* 800CD0F8 000CA058 48 24 7A 95 */ bl __ct__9CVector3fFR12CInputStream /* 800CD0FC 000CA05C 7F 63 DB 78 */ mr r3, r27 /* 800CD100 000CA060 48 27 1B DD */ bl ReadBool__12CInputStreamFv /* 800CD104 000CA064 7C 7C 1B 78 */ mr r28, r3 /* 800CD108 000CA068 7F 63 DB 78 */ mr r3, r27 /* 800CD10C 000CA06C 48 27 1B 79 */ bl ReadLong__12CInputStreamFv /* 800CD110 000CA070 7C 60 1B 78 */ mr r0, r3 /* 800CD114 000CA074 7F 63 DB 78 */ mr r3, r27 /* 800CD118 000CA078 7C 1D 03 78 */ mr r29, r0 /* 800CD11C 000CA07C 48 27 1B C1 */ bl ReadBool__12CInputStreamFv /* 800CD120 000CA080 7C 7F 1B 78 */ mr r31, r3 /* 800CD124 000CA084 7F 63 DB 78 */ mr r3, r27 /* 800CD128 000CA088 48 27 1B 01 */ bl ReadFloat__12CInputStreamFv /* 800CD12C 000CA08C FF E0 08 90 */ fmr f31, f1 /* 800CD130 000CA090 7F 63 DB 78 */ mr r3, r27 /* 800CD134 000CA094 48 27 1A F5 */ bl ReadFloat__12CInputStreamFv /* 800CD138 000CA098 FF C0 08 90 */ fmr f30, f1 /* 800CD13C 000CA09C 7F 63 DB 78 */ mr r3, r27 /* 800CD140 000CA0A0 48 27 1A E9 */ bl ReadFloat__12CInputStreamFv /* 800CD144 000CA0A4 FF A0 08 90 */ fmr f29, f1 /* 800CD148 000CA0A8 7F 63 DB 78 */ mr r3, r27 /* 800CD14C 000CA0AC 48 27 1B 39 */ bl ReadLong__12CInputStreamFv /* 800CD150 000CA0B0 7C 7E 1B 78 */ mr r30, r3 /* 800CD154 000CA0B4 7F 64 DB 78 */ mr r4, r27 /* 800CD158 000CA0B8 38 61 00 AC */ addi r3, r1, 0xac /* 800CD15C 000CA0BC 48 00 13 FD */ bl LoadFlareDef__FR12CInputStream /* 800CD160 000CA0C0 88 01 00 C0 */ lbz r0, 0xc0(r1) /* 800CD164 000CA0C4 28 00 00 00 */ cmplwi r0, 0 /* 800CD168 000CA0C8 98 01 01 38 */ stb r0, 0x138(r1) /* 800CD16C 000CA0CC 41 82 00 30 */ beq lbl_800CD19C /* 800CD170 000CA0D0 37 01 01 24 */ addic. r24, r1, 0x124 /* 800CD174 000CA0D4 38 81 00 AC */ addi r4, r1, 0xac /* 800CD178 000CA0D8 41 82 00 24 */ beq lbl_800CD19C /* 800CD17C 000CA0DC 7F 03 C3 78 */ mr r3, r24 /* 800CD180 000CA0E0 48 27 3D 29 */ bl __ct__6CTokenFRC6CToken /* 800CD184 000CA0E4 C0 01 00 B4 */ lfs f0, 0xb4(r1) /* 800CD188 000CA0E8 D0 18 00 08 */ stfs f0, 8(r24) /* 800CD18C 000CA0EC C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 800CD190 000CA0F0 D0 18 00 0C */ stfs f0, 0xc(r24) /* 800CD194 000CA0F4 80 01 00 BC */ lwz r0, 0xbc(r1) /* 800CD198 000CA0F8 90 18 00 10 */ stw r0, 0x10(r24) lbl_800CD19C: /* 800CD19C 000CA0FC 88 01 00 C0 */ lbz r0, 0xc0(r1) /* 800CD1A0 000CA100 28 00 00 00 */ cmplwi r0, 0 /* 800CD1A4 000CA104 41 82 00 1C */ beq lbl_800CD1C0 /* 800CD1A8 000CA108 34 61 00 AC */ addic. r3, r1, 0xac /* 800CD1AC 000CA10C 41 82 00 14 */ beq lbl_800CD1C0 /* 800CD1B0 000CA110 28 03 00 00 */ cmplwi r3, 0 /* 800CD1B4 000CA114 41 82 00 0C */ beq lbl_800CD1C0 /* 800CD1B8 000CA118 38 80 00 00 */ li r4, 0 /* 800CD1BC 000CA11C 48 27 3C 85 */ bl __dt__6CTokenFv lbl_800CD1C0: /* 800CD1C0 000CA120 38 00 00 00 */ li r0, 0 /* 800CD1C4 000CA124 7F 64 DB 78 */ mr r4, r27 /* 800CD1C8 000CA128 98 01 00 C0 */ stb r0, 0xc0(r1) /* 800CD1CC 000CA12C 38 61 00 94 */ addi r3, r1, 0x94 /* 800CD1D0 000CA130 48 00 13 89 */ bl LoadFlareDef__FR12CInputStream /* 800CD1D4 000CA134 88 01 00 A8 */ lbz r0, 0xa8(r1) /* 800CD1D8 000CA138 28 00 00 00 */ cmplwi r0, 0 /* 800CD1DC 000CA13C 98 01 01 20 */ stb r0, 0x120(r1) /* 800CD1E0 000CA140 41 82 00 30 */ beq lbl_800CD210 /* 800CD1E4 000CA144 37 01 01 0C */ addic. r24, r1, 0x10c /* 800CD1E8 000CA148 38 81 00 94 */ addi r4, r1, 0x94 /* 800CD1EC 000CA14C 41 82 00 24 */ beq lbl_800CD210 /* 800CD1F0 000CA150 7F 03 C3 78 */ mr r3, r24 /* 800CD1F4 000CA154 48 27 3C B5 */ bl __ct__6CTokenFRC6CToken /* 800CD1F8 000CA158 C0 01 00 9C */ lfs f0, 0x9c(r1) /* 800CD1FC 000CA15C D0 18 00 08 */ stfs f0, 8(r24) /* 800CD200 000CA160 C0 01 00 A0 */ lfs f0, 0xa0(r1) /* 800CD204 000CA164 D0 18 00 0C */ stfs f0, 0xc(r24) /* 800CD208 000CA168 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 800CD20C 000CA16C 90 18 00 10 */ stw r0, 0x10(r24) lbl_800CD210: /* 800CD210 000CA170 88 01 00 A8 */ lbz r0, 0xa8(r1) /* 800CD214 000CA174 28 00 00 00 */ cmplwi r0, 0 /* 800CD218 000CA178 41 82 00 1C */ beq lbl_800CD234 /* 800CD21C 000CA17C 34 61 00 94 */ addic. r3, r1, 0x94 /* 800CD220 000CA180 41 82 00 14 */ beq lbl_800CD234 /* 800CD224 000CA184 28 03 00 00 */ cmplwi r3, 0 /* 800CD228 000CA188 41 82 00 0C */ beq lbl_800CD234 /* 800CD22C 000CA18C 38 80 00 00 */ li r4, 0 /* 800CD230 000CA190 48 27 3C 11 */ bl __dt__6CTokenFv lbl_800CD234: /* 800CD234 000CA194 38 00 00 00 */ li r0, 0 /* 800CD238 000CA198 7F 64 DB 78 */ mr r4, r27 /* 800CD23C 000CA19C 98 01 00 A8 */ stb r0, 0xa8(r1) /* 800CD240 000CA1A0 38 61 00 7C */ addi r3, r1, 0x7c /* 800CD244 000CA1A4 48 00 13 15 */ bl LoadFlareDef__FR12CInputStream /* 800CD248 000CA1A8 88 01 00 90 */ lbz r0, 0x90(r1) /* 800CD24C 000CA1AC 28 00 00 00 */ cmplwi r0, 0 /* 800CD250 000CA1B0 98 01 01 08 */ stb r0, 0x108(r1) /* 800CD254 000CA1B4 41 82 00 30 */ beq lbl_800CD284 /* 800CD258 000CA1B8 37 01 00 F4 */ addic. r24, r1, 0xf4 /* 800CD25C 000CA1BC 38 81 00 7C */ addi r4, r1, 0x7c /* 800CD260 000CA1C0 41 82 00 24 */ beq lbl_800CD284 /* 800CD264 000CA1C4 7F 03 C3 78 */ mr r3, r24 /* 800CD268 000CA1C8 48 27 3C 41 */ bl __ct__6CTokenFRC6CToken /* 800CD26C 000CA1CC C0 01 00 84 */ lfs f0, 0x84(r1) /* 800CD270 000CA1D0 D0 18 00 08 */ stfs f0, 8(r24) /* 800CD274 000CA1D4 C0 01 00 88 */ lfs f0, 0x88(r1) /* 800CD278 000CA1D8 D0 18 00 0C */ stfs f0, 0xc(r24) /* 800CD27C 000CA1DC 80 01 00 8C */ lwz r0, 0x8c(r1) /* 800CD280 000CA1E0 90 18 00 10 */ stw r0, 0x10(r24) lbl_800CD284: /* 800CD284 000CA1E4 88 01 00 90 */ lbz r0, 0x90(r1) /* 800CD288 000CA1E8 28 00 00 00 */ cmplwi r0, 0 /* 800CD28C 000CA1EC 41 82 00 1C */ beq lbl_800CD2A8 /* 800CD290 000CA1F0 34 61 00 7C */ addic. r3, r1, 0x7c /* 800CD294 000CA1F4 41 82 00 14 */ beq lbl_800CD2A8 /* 800CD298 000CA1F8 28 03 00 00 */ cmplwi r3, 0 /* 800CD29C 000CA1FC 41 82 00 0C */ beq lbl_800CD2A8 /* 800CD2A0 000CA200 38 80 00 00 */ li r4, 0 /* 800CD2A4 000CA204 48 27 3B 9D */ bl __dt__6CTokenFv lbl_800CD2A8: /* 800CD2A8 000CA208 38 00 00 00 */ li r0, 0 /* 800CD2AC 000CA20C 7F 64 DB 78 */ mr r4, r27 /* 800CD2B0 000CA210 98 01 00 90 */ stb r0, 0x90(r1) /* 800CD2B4 000CA214 38 61 00 64 */ addi r3, r1, 0x64 /* 800CD2B8 000CA218 48 00 12 A1 */ bl LoadFlareDef__FR12CInputStream /* 800CD2BC 000CA21C 88 01 00 78 */ lbz r0, 0x78(r1) /* 800CD2C0 000CA220 28 00 00 00 */ cmplwi r0, 0 /* 800CD2C4 000CA224 98 01 00 F0 */ stb r0, 0xf0(r1) /* 800CD2C8 000CA228 41 82 00 30 */ beq lbl_800CD2F8 /* 800CD2CC 000CA22C 37 01 00 DC */ addic. r24, r1, 0xdc /* 800CD2D0 000CA230 38 81 00 64 */ addi r4, r1, 0x64 /* 800CD2D4 000CA234 41 82 00 24 */ beq lbl_800CD2F8 /* 800CD2D8 000CA238 7F 03 C3 78 */ mr r3, r24 /* 800CD2DC 000CA23C 48 27 3B CD */ bl __ct__6CTokenFRC6CToken /* 800CD2E0 000CA240 C0 01 00 6C */ lfs f0, 0x6c(r1) /* 800CD2E4 000CA244 D0 18 00 08 */ stfs f0, 8(r24) /* 800CD2E8 000CA248 C0 01 00 70 */ lfs f0, 0x70(r1) /* 800CD2EC 000CA24C D0 18 00 0C */ stfs f0, 0xc(r24) /* 800CD2F0 000CA250 80 01 00 74 */ lwz r0, 0x74(r1) /* 800CD2F4 000CA254 90 18 00 10 */ stw r0, 0x10(r24) lbl_800CD2F8: /* 800CD2F8 000CA258 88 01 00 78 */ lbz r0, 0x78(r1) /* 800CD2FC 000CA25C 28 00 00 00 */ cmplwi r0, 0 /* 800CD300 000CA260 41 82 00 1C */ beq lbl_800CD31C /* 800CD304 000CA264 34 61 00 64 */ addic. r3, r1, 0x64 /* 800CD308 000CA268 41 82 00 14 */ beq lbl_800CD31C /* 800CD30C 000CA26C 28 03 00 00 */ cmplwi r3, 0 /* 800CD310 000CA270 41 82 00 0C */ beq lbl_800CD31C /* 800CD314 000CA274 38 80 00 00 */ li r4, 0 /* 800CD318 000CA278 48 27 3B 29 */ bl __dt__6CTokenFv lbl_800CD31C: /* 800CD31C 000CA27C 38 00 00 00 */ li r0, 0 /* 800CD320 000CA280 7F 64 DB 78 */ mr r4, r27 /* 800CD324 000CA284 98 01 00 78 */ stb r0, 0x78(r1) /* 800CD328 000CA288 38 61 00 4C */ addi r3, r1, 0x4c /* 800CD32C 000CA28C 48 00 12 2D */ bl LoadFlareDef__FR12CInputStream /* 800CD330 000CA290 88 01 00 60 */ lbz r0, 0x60(r1) /* 800CD334 000CA294 28 00 00 00 */ cmplwi r0, 0 /* 800CD338 000CA298 98 01 00 D8 */ stb r0, 0xd8(r1) /* 800CD33C 000CA29C 41 82 00 30 */ beq lbl_800CD36C /* 800CD340 000CA2A0 37 01 00 C4 */ addic. r24, r1, 0xc4 /* 800CD344 000CA2A4 38 81 00 4C */ addi r4, r1, 0x4c /* 800CD348 000CA2A8 41 82 00 24 */ beq lbl_800CD36C /* 800CD34C 000CA2AC 7F 03 C3 78 */ mr r3, r24 /* 800CD350 000CA2B0 48 27 3B 59 */ bl __ct__6CTokenFRC6CToken /* 800CD354 000CA2B4 C0 01 00 54 */ lfs f0, 0x54(r1) /* 800CD358 000CA2B8 D0 18 00 08 */ stfs f0, 8(r24) /* 800CD35C 000CA2BC C0 01 00 58 */ lfs f0, 0x58(r1) /* 800CD360 000CA2C0 D0 18 00 0C */ stfs f0, 0xc(r24) /* 800CD364 000CA2C4 80 01 00 5C */ lwz r0, 0x5c(r1) /* 800CD368 000CA2C8 90 18 00 10 */ stw r0, 0x10(r24) lbl_800CD36C: /* 800CD36C 000CA2CC 88 01 00 60 */ lbz r0, 0x60(r1) /* 800CD370 000CA2D0 28 00 00 00 */ cmplwi r0, 0 /* 800CD374 000CA2D4 41 82 00 1C */ beq lbl_800CD390 /* 800CD378 000CA2D8 34 61 00 4C */ addic. r3, r1, 0x4c /* 800CD37C 000CA2DC 41 82 00 14 */ beq lbl_800CD390 /* 800CD380 000CA2E0 28 03 00 00 */ cmplwi r3, 0 /* 800CD384 000CA2E4 41 82 00 0C */ beq lbl_800CD390 /* 800CD388 000CA2E8 38 80 00 00 */ li r4, 0 /* 800CD38C 000CA2EC 48 27 3A B5 */ bl __dt__6CTokenFv lbl_800CD390: /* 800CD390 000CA2F0 38 00 00 00 */ li r0, 0 /* 800CD394 000CA2F4 38 61 00 20 */ addi r3, r1, 0x20 /* 800CD398 000CA2F8 98 01 00 60 */ stb r0, 0x60(r1) /* 800CD39C 000CA2FC 38 80 00 05 */ li r4, 5 /* 800CD3A0 000CA300 90 01 00 24 */ stw r0, 0x24(r1) /* 800CD3A4 000CA304 90 01 00 28 */ stw r0, 0x28(r1) /* 800CD3A8 000CA308 90 01 00 2C */ stw r0, 0x2c(r1) /* 800CD3AC 000CA30C 48 00 D4 29 */ bl sub_800da7d4 /* 800CD3B0 000CA310 88 01 01 38 */ lbz r0, 0x138(r1) /* 800CD3B4 000CA314 28 00 00 00 */ cmplwi r0, 0 /* 800CD3B8 000CA318 41 82 00 74 */ beq lbl_800CD42C /* 800CD3BC 000CA31C 80 01 00 24 */ lwz r0, 0x24(r1) /* 800CD3C0 000CA320 3B 01 01 24 */ addi r24, r1, 0x124 /* 800CD3C4 000CA324 80 A1 00 28 */ lwz r5, 0x28(r1) /* 800CD3C8 000CA328 7C 00 28 00 */ cmpw r0, r5 /* 800CD3CC 000CA32C 41 80 00 1C */ blt lbl_800CD3E8 /* 800CD3D0 000CA330 2C 05 00 00 */ cmpwi r5, 0 /* 800CD3D4 000CA334 38 61 00 20 */ addi r3, r1, 0x20 /* 800CD3D8 000CA338 38 80 00 04 */ li r4, 4 /* 800CD3DC 000CA33C 41 82 00 08 */ beq lbl_800CD3E4 /* 800CD3E0 000CA340 54 A4 08 3C */ slwi r4, r5, 1 lbl_800CD3E4: /* 800CD3E4 000CA344 48 00 D3 F1 */ bl sub_800da7d4 lbl_800CD3E8: /* 800CD3E8 000CA348 80 01 00 24 */ lwz r0, 0x24(r1) /* 800CD3EC 000CA34C 80 61 00 2C */ lwz r3, 0x2c(r1) /* 800CD3F0 000CA350 1C 00 00 14 */ mulli r0, r0, 0x14 /* 800CD3F4 000CA354 7F 63 02 15 */ add. r27, r3, r0 /* 800CD3F8 000CA358 41 82 00 28 */ beq lbl_800CD420 /* 800CD3FC 000CA35C 7F 63 DB 78 */ mr r3, r27 /* 800CD400 000CA360 7F 04 C3 78 */ mr r4, r24 /* 800CD404 000CA364 48 27 3A A5 */ bl __ct__6CTokenFRC6CToken /* 800CD408 000CA368 C0 01 01 2C */ lfs f0, 0x12c(r1) /* 800CD40C 000CA36C D0 1B 00 08 */ stfs f0, 8(r27) /* 800CD410 000CA370 C0 01 01 30 */ lfs f0, 0x130(r1) /* 800CD414 000CA374 D0 1B 00 0C */ stfs f0, 0xc(r27) /* 800CD418 000CA378 80 01 01 34 */ lwz r0, 0x134(r1) /* 800CD41C 000CA37C 90 1B 00 10 */ stw r0, 0x10(r27) lbl_800CD420: /* 800CD420 000CA380 80 61 00 24 */ lwz r3, 0x24(r1) /* 800CD424 000CA384 38 03 00 01 */ addi r0, r3, 1 /* 800CD428 000CA388 90 01 00 24 */ stw r0, 0x24(r1) lbl_800CD42C: /* 800CD42C 000CA38C 88 01 01 20 */ lbz r0, 0x120(r1) /* 800CD430 000CA390 28 00 00 00 */ cmplwi r0, 0 /* 800CD434 000CA394 41 82 00 74 */ beq lbl_800CD4A8 /* 800CD438 000CA398 80 01 00 24 */ lwz r0, 0x24(r1) /* 800CD43C 000CA39C 3B 01 01 0C */ addi r24, r1, 0x10c /* 800CD440 000CA3A0 80 A1 00 28 */ lwz r5, 0x28(r1) /* 800CD444 000CA3A4 7C 00 28 00 */ cmpw r0, r5 /* 800CD448 000CA3A8 41 80 00 1C */ blt lbl_800CD464 /* 800CD44C 000CA3AC 2C 05 00 00 */ cmpwi r5, 0 /* 800CD450 000CA3B0 38 61 00 20 */ addi r3, r1, 0x20 /* 800CD454 000CA3B4 38 80 00 04 */ li r4, 4 /* 800CD458 000CA3B8 41 82 00 08 */ beq lbl_800CD460 /* 800CD45C 000CA3BC 54 A4 08 3C */ slwi r4, r5, 1 lbl_800CD460: /* 800CD460 000CA3C0 48 00 D3 75 */ bl sub_800da7d4 lbl_800CD464: /* 800CD464 000CA3C4 80 01 00 24 */ lwz r0, 0x24(r1) /* 800CD468 000CA3C8 80 61 00 2C */ lwz r3, 0x2c(r1) /* 800CD46C 000CA3CC 1C 00 00 14 */ mulli r0, r0, 0x14 /* 800CD470 000CA3D0 7F 63 02 15 */ add. r27, r3, r0 /* 800CD474 000CA3D4 41 82 00 28 */ beq lbl_800CD49C /* 800CD478 000CA3D8 7F 63 DB 78 */ mr r3, r27 /* 800CD47C 000CA3DC 7F 04 C3 78 */ mr r4, r24 /* 800CD480 000CA3E0 48 27 3A 29 */ bl __ct__6CTokenFRC6CToken /* 800CD484 000CA3E4 C0 01 01 14 */ lfs f0, 0x114(r1) /* 800CD488 000CA3E8 D0 1B 00 08 */ stfs f0, 8(r27) /* 800CD48C 000CA3EC C0 01 01 18 */ lfs f0, 0x118(r1) /* 800CD490 000CA3F0 D0 1B 00 0C */ stfs f0, 0xc(r27) /* 800CD494 000CA3F4 80 01 01 1C */ lwz r0, 0x11c(r1) /* 800CD498 000CA3F8 90 1B 00 10 */ stw r0, 0x10(r27) lbl_800CD49C: /* 800CD49C 000CA3FC 80 61 00 24 */ lwz r3, 0x24(r1) /* 800CD4A0 000CA400 38 03 00 01 */ addi r0, r3, 1 /* 800CD4A4 000CA404 90 01 00 24 */ stw r0, 0x24(r1) lbl_800CD4A8: /* 800CD4A8 000CA408 88 01 01 08 */ lbz r0, 0x108(r1) /* 800CD4AC 000CA40C 28 00 00 00 */ cmplwi r0, 0 /* 800CD4B0 000CA410 41 82 00 74 */ beq lbl_800CD524 /* 800CD4B4 000CA414 80 01 00 24 */ lwz r0, 0x24(r1) /* 800CD4B8 000CA418 3B 01 00 F4 */ addi r24, r1, 0xf4 /* 800CD4BC 000CA41C 80 A1 00 28 */ lwz r5, 0x28(r1) /* 800CD4C0 000CA420 7C 00 28 00 */ cmpw r0, r5 /* 800CD4C4 000CA424 41 80 00 1C */ blt lbl_800CD4E0 /* 800CD4C8 000CA428 2C 05 00 00 */ cmpwi r5, 0 /* 800CD4CC 000CA42C 38 61 00 20 */ addi r3, r1, 0x20 /* 800CD4D0 000CA430 38 80 00 04 */ li r4, 4 /* 800CD4D4 000CA434 41 82 00 08 */ beq lbl_800CD4DC /* 800CD4D8 000CA438 54 A4 08 3C */ slwi r4, r5, 1 lbl_800CD4DC: /* 800CD4DC 000CA43C 48 00 D2 F9 */ bl sub_800da7d4 lbl_800CD4E0: /* 800CD4E0 000CA440 80 01 00 24 */ lwz r0, 0x24(r1) /* 800CD4E4 000CA444 80 61 00 2C */ lwz r3, 0x2c(r1) /* 800CD4E8 000CA448 1C 00 00 14 */ mulli r0, r0, 0x14 /* 800CD4EC 000CA44C 7F 63 02 15 */ add. r27, r3, r0 /* 800CD4F0 000CA450 41 82 00 28 */ beq lbl_800CD518 /* 800CD4F4 000CA454 7F 63 DB 78 */ mr r3, r27 /* 800CD4F8 000CA458 7F 04 C3 78 */ mr r4, r24 /* 800CD4FC 000CA45C 48 27 39 AD */ bl __ct__6CTokenFRC6CToken /* 800CD500 000CA460 C0 01 00 FC */ lfs f0, 0xfc(r1) /* 800CD504 000CA464 D0 1B 00 08 */ stfs f0, 8(r27) /* 800CD508 000CA468 C0 01 01 00 */ lfs f0, 0x100(r1) /* 800CD50C 000CA46C D0 1B 00 0C */ stfs f0, 0xc(r27) /* 800CD510 000CA470 80 01 01 04 */ lwz r0, 0x104(r1) /* 800CD514 000CA474 90 1B 00 10 */ stw r0, 0x10(r27) lbl_800CD518: /* 800CD518 000CA478 80 61 00 24 */ lwz r3, 0x24(r1) /* 800CD51C 000CA47C 38 03 00 01 */ addi r0, r3, 1 /* 800CD520 000CA480 90 01 00 24 */ stw r0, 0x24(r1) lbl_800CD524: /* 800CD524 000CA484 88 01 00 F0 */ lbz r0, 0xf0(r1) /* 800CD528 000CA488 28 00 00 00 */ cmplwi r0, 0 /* 800CD52C 000CA48C 41 82 00 74 */ beq lbl_800CD5A0 /* 800CD530 000CA490 80 01 00 24 */ lwz r0, 0x24(r1) /* 800CD534 000CA494 3B 01 00 DC */ addi r24, r1, 0xdc /* 800CD538 000CA498 80 A1 00 28 */ lwz r5, 0x28(r1) /* 800CD53C 000CA49C 7C 00 28 00 */ cmpw r0, r5 /* 800CD540 000CA4A0 41 80 00 1C */ blt lbl_800CD55C /* 800CD544 000CA4A4 2C 05 00 00 */ cmpwi r5, 0 /* 800CD548 000CA4A8 38 61 00 20 */ addi r3, r1, 0x20 /* 800CD54C 000CA4AC 38 80 00 04 */ li r4, 4 /* 800CD550 000CA4B0 41 82 00 08 */ beq lbl_800CD558 /* 800CD554 000CA4B4 54 A4 08 3C */ slwi r4, r5, 1 lbl_800CD558: /* 800CD558 000CA4B8 48 00 D2 7D */ bl sub_800da7d4 lbl_800CD55C: /* 800CD55C 000CA4BC 80 01 00 24 */ lwz r0, 0x24(r1) /* 800CD560 000CA4C0 80 61 00 2C */ lwz r3, 0x2c(r1) /* 800CD564 000CA4C4 1C 00 00 14 */ mulli r0, r0, 0x14 /* 800CD568 000CA4C8 7F 63 02 15 */ add. r27, r3, r0 /* 800CD56C 000CA4CC 41 82 00 28 */ beq lbl_800CD594 /* 800CD570 000CA4D0 7F 63 DB 78 */ mr r3, r27 /* 800CD574 000CA4D4 7F 04 C3 78 */ mr r4, r24 /* 800CD578 000CA4D8 48 27 39 31 */ bl __ct__6CTokenFRC6CToken /* 800CD57C 000CA4DC C0 01 00 E4 */ lfs f0, 0xe4(r1) /* 800CD580 000CA4E0 D0 1B 00 08 */ stfs f0, 8(r27) /* 800CD584 000CA4E4 C0 01 00 E8 */ lfs f0, 0xe8(r1) /* 800CD588 000CA4E8 D0 1B 00 0C */ stfs f0, 0xc(r27) /* 800CD58C 000CA4EC 80 01 00 EC */ lwz r0, 0xec(r1) /* 800CD590 000CA4F0 90 1B 00 10 */ stw r0, 0x10(r27) lbl_800CD594: /* 800CD594 000CA4F4 80 61 00 24 */ lwz r3, 0x24(r1) /* 800CD598 000CA4F8 38 03 00 01 */ addi r0, r3, 1 /* 800CD59C 000CA4FC 90 01 00 24 */ stw r0, 0x24(r1) lbl_800CD5A0: /* 800CD5A0 000CA500 88 01 00 D8 */ lbz r0, 0xd8(r1) /* 800CD5A4 000CA504 28 00 00 00 */ cmplwi r0, 0 /* 800CD5A8 000CA508 41 82 00 74 */ beq lbl_800CD61C /* 800CD5AC 000CA50C 80 01 00 24 */ lwz r0, 0x24(r1) /* 800CD5B0 000CA510 3B 01 00 C4 */ addi r24, r1, 0xc4 /* 800CD5B4 000CA514 80 A1 00 28 */ lwz r5, 0x28(r1) /* 800CD5B8 000CA518 7C 00 28 00 */ cmpw r0, r5 /* 800CD5BC 000CA51C 41 80 00 1C */ blt lbl_800CD5D8 /* 800CD5C0 000CA520 2C 05 00 00 */ cmpwi r5, 0 /* 800CD5C4 000CA524 38 61 00 20 */ addi r3, r1, 0x20 /* 800CD5C8 000CA528 38 80 00 04 */ li r4, 4 /* 800CD5CC 000CA52C 41 82 00 08 */ beq lbl_800CD5D4 /* 800CD5D0 000CA530 54 A4 08 3C */ slwi r4, r5, 1 lbl_800CD5D4: /* 800CD5D4 000CA534 48 00 D2 01 */ bl sub_800da7d4 lbl_800CD5D8: /* 800CD5D8 000CA538 80 01 00 24 */ lwz r0, 0x24(r1) /* 800CD5DC 000CA53C 80 61 00 2C */ lwz r3, 0x2c(r1) /* 800CD5E0 000CA540 1C 00 00 14 */ mulli r0, r0, 0x14 /* 800CD5E4 000CA544 7F 63 02 15 */ add. r27, r3, r0 /* 800CD5E8 000CA548 41 82 00 28 */ beq lbl_800CD610 /* 800CD5EC 000CA54C 7F 63 DB 78 */ mr r3, r27 /* 800CD5F0 000CA550 7F 04 C3 78 */ mr r4, r24 /* 800CD5F4 000CA554 48 27 38 B5 */ bl __ct__6CTokenFRC6CToken /* 800CD5F8 000CA558 C0 01 00 CC */ lfs f0, 0xcc(r1) /* 800CD5FC 000CA55C D0 1B 00 08 */ stfs f0, 8(r27) /* 800CD600 000CA560 C0 01 00 D0 */ lfs f0, 0xd0(r1) /* 800CD604 000CA564 D0 1B 00 0C */ stfs f0, 0xc(r27) /* 800CD608 000CA568 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 800CD60C 000CA56C 90 1B 00 10 */ stw r0, 0x10(r27) lbl_800CD610: /* 800CD610 000CA570 80 61 00 24 */ lwz r3, 0x24(r1) /* 800CD614 000CA574 38 03 00 01 */ addi r0, r3, 1 /* 800CD618 000CA578 90 01 00 24 */ stw r0, 0x24(r1) lbl_800CD61C: /* 800CD61C 000CA57C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CD620 000CA580 38 60 01 20 */ li r3, 0x120 /* 800CD624 000CA584 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CD628 000CA588 38 A0 00 00 */ li r5, 0 /* 800CD62C 000CA58C 38 84 00 0D */ addi r4, r4, 0xd /* 800CD630 000CA590 48 24 82 3D */ bl __nw__FUlPCcPCc /* 800CD634 000CA594 7C 7B 1B 79 */ or. r27, r3, r3 /* 800CD638 000CA598 41 82 00 60 */ beq lbl_800CD698 /* 800CD63C 000CA59C 7F 44 D3 78 */ mr r4, r26 /* 800CD640 000CA5A0 38 61 00 18 */ addi r3, r1, 0x18 /* 800CD644 000CA5A4 4B F7 FA 99 */ bl AllocateUniqueId__13CStateManagerFv /* 800CD648 000CA5A8 A0 61 00 18 */ lhz r3, 0x18(r1) /* 800CD64C 000CA5AC 38 80 00 02 */ li r4, 2 /* 800CD650 000CA5B0 FC 20 F8 90 */ fmr f1, f31 /* 800CD654 000CA5B4 38 01 00 20 */ addi r0, r1, 0x20 /* 800CD658 000CA5B8 B0 61 00 1C */ sth r3, 0x1c(r1) /* 800CD65C 000CA5BC FC 40 F0 90 */ fmr f2, f30 /* 800CD660 000CA5C0 FC 60 E8 90 */ fmr f3, f29 /* 800CD664 000CA5C4 7F 63 DB 78 */ mr r3, r27 /* 800CD668 000CA5C8 90 81 00 08 */ stw r4, 8(r1) /* 800CD66C 000CA5CC 7F 26 CB 78 */ mr r6, r25 /* 800CD670 000CA5D0 7F 87 E3 78 */ mr r7, r28 /* 800CD674 000CA5D4 7F A9 EB 78 */ mr r9, r29 /* 800CD678 000CA5D8 93 C1 00 0C */ stw r30, 0xc(r1) /* 800CD67C 000CA5DC 7F EA FB 78 */ mr r10, r31 /* 800CD680 000CA5E0 38 81 00 1C */ addi r4, r1, 0x1c /* 800CD684 000CA5E4 38 A1 00 3C */ addi r5, r1, 0x3c /* 800CD688 000CA5E8 90 01 00 10 */ stw r0, 0x10(r1) /* 800CD68C 000CA5EC 39 01 00 30 */ addi r8, r1, 0x30 /* 800CD690 000CA5F0 48 10 90 9D */ bl "__ct__17CScriptVisorFlareF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobRC9CVector3fQ211CVisorFlare10EBlendModebfffRCQ24rstl60vector" /* 800CD694 000CA5F4 7C 7B 1B 78 */ mr r27, r3 lbl_800CD698: /* 800CD698 000CA5F8 38 61 00 20 */ addi r3, r1, 0x20 /* 800CD69C 000CA5FC 38 80 FF FF */ li r4, -1 /* 800CD6A0 000CA600 48 00 01 19 */ bl sub_800cd7b8 /* 800CD6A4 000CA604 88 01 00 D8 */ lbz r0, 0xd8(r1) /* 800CD6A8 000CA608 28 00 00 00 */ cmplwi r0, 0 /* 800CD6AC 000CA60C 41 82 00 1C */ beq lbl_800CD6C8 /* 800CD6B0 000CA610 34 61 00 C4 */ addic. r3, r1, 0xc4 /* 800CD6B4 000CA614 41 82 00 14 */ beq lbl_800CD6C8 /* 800CD6B8 000CA618 28 03 00 00 */ cmplwi r3, 0 /* 800CD6BC 000CA61C 41 82 00 0C */ beq lbl_800CD6C8 /* 800CD6C0 000CA620 38 80 00 00 */ li r4, 0 /* 800CD6C4 000CA624 48 27 37 7D */ bl __dt__6CTokenFv lbl_800CD6C8: /* 800CD6C8 000CA628 88 01 00 F0 */ lbz r0, 0xf0(r1) /* 800CD6CC 000CA62C 38 60 00 00 */ li r3, 0 /* 800CD6D0 000CA630 98 61 00 D8 */ stb r3, 0xd8(r1) /* 800CD6D4 000CA634 28 00 00 00 */ cmplwi r0, 0 /* 800CD6D8 000CA638 41 82 00 1C */ beq lbl_800CD6F4 /* 800CD6DC 000CA63C 34 61 00 DC */ addic. r3, r1, 0xdc /* 800CD6E0 000CA640 41 82 00 14 */ beq lbl_800CD6F4 /* 800CD6E4 000CA644 28 03 00 00 */ cmplwi r3, 0 /* 800CD6E8 000CA648 41 82 00 0C */ beq lbl_800CD6F4 /* 800CD6EC 000CA64C 38 80 00 00 */ li r4, 0 /* 800CD6F0 000CA650 48 27 37 51 */ bl __dt__6CTokenFv lbl_800CD6F4: /* 800CD6F4 000CA654 88 01 01 08 */ lbz r0, 0x108(r1) /* 800CD6F8 000CA658 38 60 00 00 */ li r3, 0 /* 800CD6FC 000CA65C 98 61 00 F0 */ stb r3, 0xf0(r1) /* 800CD700 000CA660 28 00 00 00 */ cmplwi r0, 0 /* 800CD704 000CA664 41 82 00 1C */ beq lbl_800CD720 /* 800CD708 000CA668 34 61 00 F4 */ addic. r3, r1, 0xf4 /* 800CD70C 000CA66C 41 82 00 14 */ beq lbl_800CD720 /* 800CD710 000CA670 28 03 00 00 */ cmplwi r3, 0 /* 800CD714 000CA674 41 82 00 0C */ beq lbl_800CD720 /* 800CD718 000CA678 38 80 00 00 */ li r4, 0 /* 800CD71C 000CA67C 48 27 37 25 */ bl __dt__6CTokenFv lbl_800CD720: /* 800CD720 000CA680 88 01 01 20 */ lbz r0, 0x120(r1) /* 800CD724 000CA684 38 60 00 00 */ li r3, 0 /* 800CD728 000CA688 98 61 01 08 */ stb r3, 0x108(r1) /* 800CD72C 000CA68C 28 00 00 00 */ cmplwi r0, 0 /* 800CD730 000CA690 41 82 00 1C */ beq lbl_800CD74C /* 800CD734 000CA694 34 61 01 0C */ addic. r3, r1, 0x10c /* 800CD738 000CA698 41 82 00 14 */ beq lbl_800CD74C /* 800CD73C 000CA69C 28 03 00 00 */ cmplwi r3, 0 /* 800CD740 000CA6A0 41 82 00 0C */ beq lbl_800CD74C /* 800CD744 000CA6A4 38 80 00 00 */ li r4, 0 /* 800CD748 000CA6A8 48 27 36 F9 */ bl __dt__6CTokenFv lbl_800CD74C: /* 800CD74C 000CA6AC 88 01 01 38 */ lbz r0, 0x138(r1) /* 800CD750 000CA6B0 38 60 00 00 */ li r3, 0 /* 800CD754 000CA6B4 98 61 01 20 */ stb r3, 0x120(r1) /* 800CD758 000CA6B8 28 00 00 00 */ cmplwi r0, 0 /* 800CD75C 000CA6BC 41 82 00 1C */ beq lbl_800CD778 /* 800CD760 000CA6C0 34 61 01 24 */ addic. r3, r1, 0x124 /* 800CD764 000CA6C4 41 82 00 14 */ beq lbl_800CD778 /* 800CD768 000CA6C8 28 03 00 00 */ cmplwi r3, 0 /* 800CD76C 000CA6CC 41 82 00 0C */ beq lbl_800CD778 /* 800CD770 000CA6D0 38 80 00 00 */ li r4, 0 /* 800CD774 000CA6D4 48 27 36 CD */ bl __dt__6CTokenFv lbl_800CD778: /* 800CD778 000CA6D8 38 00 00 00 */ li r0, 0 /* 800CD77C 000CA6DC 38 61 00 3C */ addi r3, r1, 0x3c /* 800CD780 000CA6E0 98 01 01 38 */ stb r0, 0x138(r1) /* 800CD784 000CA6E4 48 27 03 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CD788 000CA6E8 7F 63 DB 78 */ mr r3, r27 lbl_800CD78C: /* 800CD78C 000CA6EC E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 /* 800CD790 000CA6F0 CB E1 01 80 */ lfd f31, 0x180(r1) /* 800CD794 000CA6F4 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0 /* 800CD798 000CA6F8 CB C1 01 70 */ lfd f30, 0x170(r1) /* 800CD79C 000CA6FC E3 A1 01 68 */ psq_l f29, 360(r1), 0, qr0 /* 800CD7A0 000CA700 CB A1 01 60 */ lfd f29, 0x160(r1) /* 800CD7A4 000CA704 BB 01 01 40 */ lmw r24, 0x140(r1) /* 800CD7A8 000CA708 80 01 01 94 */ lwz r0, 0x194(r1) /* 800CD7AC 000CA70C 7C 08 03 A6 */ mtlr r0 /* 800CD7B0 000CA710 38 21 01 90 */ addi r1, r1, 0x190 /* 800CD7B4 000CA714 4E 80 00 20 */ blr .global sub_800cd7b8 sub_800cd7b8: /* 800CD7B8 000CA718 94 21 FF D0 */ stwu r1, -0x30(r1) /* 800CD7BC 000CA71C 7C 08 02 A6 */ mflr r0 /* 800CD7C0 000CA720 90 01 00 34 */ stw r0, 0x34(r1) /* 800CD7C4 000CA724 93 E1 00 2C */ stw r31, 0x2c(r1) /* 800CD7C8 000CA728 93 C1 00 28 */ stw r30, 0x28(r1) /* 800CD7CC 000CA72C 93 A1 00 24 */ stw r29, 0x24(r1) /* 800CD7D0 000CA730 7C 9D 23 78 */ mr r29, r4 /* 800CD7D4 000CA734 93 81 00 20 */ stw r28, 0x20(r1) /* 800CD7D8 000CA738 7C 7C 1B 79 */ or. r28, r3, r3 /* 800CD7DC 000CA73C 41 82 00 6C */ beq lbl_800CD848 /* 800CD7E0 000CA740 80 1C 00 04 */ lwz r0, 4(r28) /* 800CD7E4 000CA744 83 DC 00 0C */ lwz r30, 0xc(r28) /* 800CD7E8 000CA748 1C 00 00 14 */ mulli r0, r0, 0x14 /* 800CD7EC 000CA74C 93 C1 00 10 */ stw r30, 0x10(r1) /* 800CD7F0 000CA750 7F FE 02 14 */ add r31, r30, r0 /* 800CD7F4 000CA754 93 C1 00 14 */ stw r30, 0x14(r1) /* 800CD7F8 000CA758 93 E1 00 08 */ stw r31, 8(r1) /* 800CD7FC 000CA75C 93 E1 00 0C */ stw r31, 0xc(r1) /* 800CD800 000CA760 48 00 00 20 */ b lbl_800CD820 lbl_800CD804: /* 800CD804 000CA764 28 1E 00 00 */ cmplwi r30, 0 /* 800CD808 000CA768 41 82 00 14 */ beq lbl_800CD81C /* 800CD80C 000CA76C 41 82 00 10 */ beq lbl_800CD81C /* 800CD810 000CA770 7F C3 F3 78 */ mr r3, r30 /* 800CD814 000CA774 38 80 00 00 */ li r4, 0 /* 800CD818 000CA778 48 27 36 29 */ bl __dt__6CTokenFv lbl_800CD81C: /* 800CD81C 000CA77C 3B DE 00 14 */ addi r30, r30, 0x14 lbl_800CD820: /* 800CD820 000CA780 7C 1E F8 40 */ cmplw r30, r31 /* 800CD824 000CA784 40 82 FF E0 */ bne lbl_800CD804 /* 800CD828 000CA788 80 7C 00 0C */ lwz r3, 0xc(r28) /* 800CD82C 000CA78C 28 03 00 00 */ cmplwi r3, 0 /* 800CD830 000CA790 41 82 00 08 */ beq lbl_800CD838 /* 800CD834 000CA794 48 24 80 FD */ bl Free__7CMemoryFPCv lbl_800CD838: /* 800CD838 000CA798 7F A0 07 35 */ extsh. r0, r29 /* 800CD83C 000CA79C 40 81 00 0C */ ble lbl_800CD848 /* 800CD840 000CA7A0 7F 83 E3 78 */ mr r3, r28 /* 800CD844 000CA7A4 48 24 80 ED */ bl Free__7CMemoryFPCv lbl_800CD848: /* 800CD848 000CA7A8 80 01 00 34 */ lwz r0, 0x34(r1) /* 800CD84C 000CA7AC 7F 83 E3 78 */ mr r3, r28 /* 800CD850 000CA7B0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 800CD854 000CA7B4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 800CD858 000CA7B8 83 A1 00 24 */ lwz r29, 0x24(r1) /* 800CD85C 000CA7BC 83 81 00 20 */ lwz r28, 0x20(r1) /* 800CD860 000CA7C0 7C 08 03 A6 */ mtlr r0 /* 800CD864 000CA7C4 38 21 00 30 */ addi r1, r1, 0x30 /* 800CD868 000CA7C8 4E 80 00 20 */ blr .global LoadDrone__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadDrone__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CD86C 000CA7CC 94 21 F9 D0 */ stwu r1, -0x630(r1) /* 800CD870 000CA7D0 7C 08 02 A6 */ mflr r0 /* 800CD874 000CA7D4 90 01 06 34 */ stw r0, 0x634(r1) /* 800CD878 000CA7D8 DB E1 06 20 */ stfd f31, 0x620(r1) /* 800CD87C 000CA7DC F3 E1 06 28 */ psq_st f31, 1576(r1), 0, qr0 /* 800CD880 000CA7E0 DB C1 06 10 */ stfd f30, 0x610(r1) /* 800CD884 000CA7E4 F3 C1 06 18 */ psq_st f30, 1560(r1), 0, qr0 /* 800CD888 000CA7E8 DB A1 06 00 */ stfd f29, 0x600(r1) /* 800CD88C 000CA7EC F3 A1 06 08 */ psq_st f29, 1544(r1), 0, qr0 /* 800CD890 000CA7F0 DB 81 05 F0 */ stfd f28, 0x5f0(r1) /* 800CD894 000CA7F4 F3 81 05 F8 */ psq_st f28, 1528(r1), 0, qr0 /* 800CD898 000CA7F8 DB 61 05 E0 */ stfd f27, 0x5e0(r1) /* 800CD89C 000CA7FC F3 61 05 E8 */ psq_st f27, 1512(r1), 0, qr0 /* 800CD8A0 000CA800 DB 41 05 D0 */ stfd f26, 0x5d0(r1) /* 800CD8A4 000CA804 F3 41 05 D8 */ psq_st f26, 1496(r1), 0, qr0 /* 800CD8A8 000CA808 DB 21 05 C0 */ stfd f25, 0x5c0(r1) /* 800CD8AC 000CA80C F3 21 05 C8 */ psq_st f25, 1480(r1), 0, qr0 /* 800CD8B0 000CA810 DB 01 05 B0 */ stfd f24, 0x5b0(r1) /* 800CD8B4 000CA814 F3 01 05 B8 */ psq_st f24, 1464(r1), 0, qr0 /* 800CD8B8 000CA818 DA E1 05 A0 */ stfd f23, 0x5a0(r1) /* 800CD8BC 000CA81C F2 E1 05 A8 */ psq_st f23, 1448(r1), 0, qr0 /* 800CD8C0 000CA820 DA C1 05 90 */ stfd f22, 0x590(r1) /* 800CD8C4 000CA824 F2 C1 05 98 */ psq_st f22, 1432(r1), 0, qr0 /* 800CD8C8 000CA828 DA A1 05 80 */ stfd f21, 0x580(r1) /* 800CD8CC 000CA82C F2 A1 05 88 */ psq_st f21, 1416(r1), 0, qr0 /* 800CD8D0 000CA830 DA 81 05 70 */ stfd f20, 0x570(r1) /* 800CD8D4 000CA834 F2 81 05 78 */ psq_st f20, 1400(r1), 0, qr0 /* 800CD8D8 000CA838 DA 61 05 60 */ stfd f19, 0x560(r1) /* 800CD8DC 000CA83C F2 61 05 68 */ psq_st f19, 1384(r1), 0, qr0 /* 800CD8E0 000CA840 DA 41 05 50 */ stfd f18, 0x550(r1) /* 800CD8E4 000CA844 F2 41 05 58 */ psq_st f18, 1368(r1), 0, qr0 /* 800CD8E8 000CA848 DA 21 05 40 */ stfd f17, 0x540(r1) /* 800CD8EC 000CA84C F2 21 05 48 */ psq_st f17, 1352(r1), 0, qr0 /* 800CD8F0 000CA850 DA 01 05 30 */ stfd f16, 0x530(r1) /* 800CD8F4 000CA854 F2 01 05 38 */ psq_st f16, 1336(r1), 0, qr0 /* 800CD8F8 000CA858 D9 E1 05 20 */ stfd f15, 0x520(r1) /* 800CD8FC 000CA85C F1 E1 05 28 */ psq_st f15, 1320(r1), 0, qr0 /* 800CD900 000CA860 D9 C1 05 10 */ stfd f14, 0x510(r1) /* 800CD904 000CA864 F1 C1 05 18 */ psq_st f14, 1304(r1), 0, qr0 /* 800CD908 000CA868 BE A1 04 E4 */ stmw r21, 0x4e4(r1) /* 800CD90C 000CA86C 2C 05 00 2D */ cmpwi r5, 0x2d /* 800CD910 000CA870 7C 7B 1B 78 */ mr r27, r3 /* 800CD914 000CA874 7C 9F 23 78 */ mr r31, r4 /* 800CD918 000CA878 7C DA 33 78 */ mr r26, r6 /* 800CD91C 000CA87C 41 82 00 0C */ beq lbl_800CD928 /* 800CD920 000CA880 38 60 00 00 */ li r3, 0 /* 800CD924 000CA884 48 00 0A A4 */ b lbl_800CE3C8 lbl_800CD928: /* 800CD928 000CA888 4B F7 78 BD */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CD92C 000CA88C 7C 64 1B 78 */ mr r4, r3 /* 800CD930 000CA890 38 61 00 B4 */ addi r3, r1, 0xb4 /* 800CD934 000CA894 48 27 08 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CD938 000CA898 7F E3 FB 78 */ mr r3, r31 /* 800CD93C 000CA89C 48 27 13 49 */ bl ReadLong__12CInputStreamFv /* 800CD940 000CA8A0 7C 7C 1B 78 */ mr r28, r3 /* 800CD944 000CA8A4 7F E4 FB 78 */ mr r4, r31 /* 800CD948 000CA8A8 38 61 02 08 */ addi r3, r1, 0x208 /* 800CD94C 000CA8AC 48 00 CC 41 */ bl LoadEditorTransform__FR12CInputStream /* 800CD950 000CA8B0 38 61 02 38 */ addi r3, r1, 0x238 /* 800CD954 000CA8B4 38 81 02 08 */ addi r4, r1, 0x208 /* 800CD958 000CA8B8 48 24 52 1D */ bl __ct__12CTransform4fFRC12CTransform4f /* 800CD95C 000CA8BC 7F E4 FB 78 */ mr r4, r31 /* 800CD960 000CA8C0 38 61 00 A8 */ addi r3, r1, 0xa8 /* 800CD964 000CA8C4 48 24 72 29 */ bl __ct__9CVector3fFR12CInputStream /* 800CD968 000CA8C8 7F E3 FB 78 */ mr r3, r31 /* 800CD96C 000CA8CC 48 27 12 BD */ bl ReadFloat__12CInputStreamFv /* 800CD970 000CA8D0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CD974 000CA8D4 D0 21 04 D0 */ stfs f1, 0x4d0(r1) /* 800CD978 000CA8D8 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800CD97C 000CA8DC 7F E4 FB 78 */ mr r4, r31 /* 800CD980 000CA8E0 38 61 00 80 */ addi r3, r1, 0x80 /* 800CD984 000CA8E4 38 A5 00 E6 */ addi r5, r5, 0xe6 /* 800CD988 000CA8E8 48 03 7E A1 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800CD98C 000CA8EC 88 01 00 80 */ lbz r0, 0x80(r1) /* 800CD990 000CA8F0 80 A1 00 84 */ lwz r5, 0x84(r1) /* 800CD994 000CA8F4 28 00 00 00 */ cmplwi r0, 0 /* 800CD998 000CA8F8 40 82 00 14 */ bne lbl_800CD9AC /* 800CD99C 000CA8FC 38 61 00 B4 */ addi r3, r1, 0xb4 /* 800CD9A0 000CA900 48 27 01 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CD9A4 000CA904 38 60 00 00 */ li r3, 0 /* 800CD9A8 000CA908 48 00 0A 20 */ b lbl_800CE3C8 lbl_800CD9AC: /* 800CD9AC 000CA90C 7F E4 FB 78 */ mr r4, r31 /* 800CD9B0 000CA910 38 61 03 84 */ addi r3, r1, 0x384 /* 800CD9B4 000CA914 48 03 7E C5 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800CD9B8 000CA918 7F E4 FB 78 */ mr r4, r31 /* 800CD9BC 000CA91C 38 61 02 B4 */ addi r3, r1, 0x2b4 /* 800CD9C0 000CA920 48 00 C3 B5 */ bl LoadActorParameters__FR12CInputStream /* 800CD9C4 000CA924 38 61 03 1C */ addi r3, r1, 0x31c /* 800CD9C8 000CA928 38 81 02 B4 */ addi r4, r1, 0x2b4 /* 800CD9CC 000CA92C 4B FF 7C 51 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CD9D0 000CA930 38 61 02 B4 */ addi r3, r1, 0x2b4 /* 800CD9D4 000CA934 38 80 FF FF */ li r4, -1 /* 800CD9D8 000CA938 48 03 8C 31 */ bl __dt__16CLightParametersFv /* 800CD9DC 000CA93C 7F E4 FB 78 */ mr r4, r31 /* 800CD9E0 000CA940 38 61 01 EC */ addi r3, r1, 0x1ec /* 800CD9E4 000CA944 4B FF 5B 7D */ bl __ct__11CDamageInfoFR12CInputStream /* 800CD9E8 000CA948 7F E3 FB 78 */ mr r3, r31 /* 800CD9EC 000CA94C 48 27 12 99 */ bl ReadLong__12CInputStreamFv /* 800CD9F0 000CA950 7F E4 FB 78 */ mr r4, r31 /* 800CD9F4 000CA954 38 61 01 D0 */ addi r3, r1, 0x1d0 /* 800CD9F8 000CA958 4B FF 5B 69 */ bl __ct__11CDamageInfoFR12CInputStream /* 800CD9FC 000CA95C 7F E3 FB 78 */ mr r3, r31 /* 800CDA00 000CA960 48 27 12 85 */ bl ReadLong__12CInputStreamFv /* 800CDA04 000CA964 7C 7E 1B 78 */ mr r30, r3 /* 800CDA08 000CA968 7F E3 FB 78 */ mr r3, r31 /* 800CDA0C 000CA96C 48 27 12 79 */ bl ReadLong__12CInputStreamFv /* 800CDA10 000CA970 7F E3 FB 78 */ mr r3, r31 /* 800CDA14 000CA974 48 27 12 71 */ bl ReadLong__12CInputStreamFv /* 800CDA18 000CA978 7C 7D 1B 78 */ mr r29, r3 /* 800CDA1C 000CA97C 7F E4 FB 78 */ mr r4, r31 /* 800CDA20 000CA980 38 61 01 40 */ addi r3, r1, 0x140 /* 800CDA24 000CA984 48 00 0B 35 */ bl LoadFlareDef__FR12CInputStream /* 800CDA28 000CA988 88 01 01 54 */ lbz r0, 0x154(r1) /* 800CDA2C 000CA98C 28 00 00 00 */ cmplwi r0, 0 /* 800CDA30 000CA990 98 01 01 CC */ stb r0, 0x1cc(r1) /* 800CDA34 000CA994 41 82 00 30 */ beq lbl_800CDA64 /* 800CDA38 000CA998 36 A1 01 B8 */ addic. r21, r1, 0x1b8 /* 800CDA3C 000CA99C 38 81 01 40 */ addi r4, r1, 0x140 /* 800CDA40 000CA9A0 41 82 00 24 */ beq lbl_800CDA64 /* 800CDA44 000CA9A4 7E A3 AB 78 */ mr r3, r21 /* 800CDA48 000CA9A8 48 27 34 61 */ bl __ct__6CTokenFRC6CToken /* 800CDA4C 000CA9AC C0 01 01 48 */ lfs f0, 0x148(r1) /* 800CDA50 000CA9B0 D0 15 00 08 */ stfs f0, 8(r21) /* 800CDA54 000CA9B4 C0 01 01 4C */ lfs f0, 0x14c(r1) /* 800CDA58 000CA9B8 D0 15 00 0C */ stfs f0, 0xc(r21) /* 800CDA5C 000CA9BC 80 01 01 50 */ lwz r0, 0x150(r1) /* 800CDA60 000CA9C0 90 15 00 10 */ stw r0, 0x10(r21) lbl_800CDA64: /* 800CDA64 000CA9C4 88 01 01 54 */ lbz r0, 0x154(r1) /* 800CDA68 000CA9C8 28 00 00 00 */ cmplwi r0, 0 /* 800CDA6C 000CA9CC 41 82 00 1C */ beq lbl_800CDA88 /* 800CDA70 000CA9D0 34 61 01 40 */ addic. r3, r1, 0x140 /* 800CDA74 000CA9D4 41 82 00 14 */ beq lbl_800CDA88 /* 800CDA78 000CA9D8 28 03 00 00 */ cmplwi r3, 0 /* 800CDA7C 000CA9DC 41 82 00 0C */ beq lbl_800CDA88 /* 800CDA80 000CA9E0 38 80 00 00 */ li r4, 0 /* 800CDA84 000CA9E4 48 27 33 BD */ bl __dt__6CTokenFv lbl_800CDA88: /* 800CDA88 000CA9E8 38 00 00 00 */ li r0, 0 /* 800CDA8C 000CA9EC 7F E4 FB 78 */ mr r4, r31 /* 800CDA90 000CA9F0 98 01 01 54 */ stb r0, 0x154(r1) /* 800CDA94 000CA9F4 38 61 01 28 */ addi r3, r1, 0x128 /* 800CDA98 000CA9F8 48 00 0A C1 */ bl LoadFlareDef__FR12CInputStream /* 800CDA9C 000CA9FC 88 01 01 3C */ lbz r0, 0x13c(r1) /* 800CDAA0 000CAA00 28 00 00 00 */ cmplwi r0, 0 /* 800CDAA4 000CAA04 98 01 01 B4 */ stb r0, 0x1b4(r1) /* 800CDAA8 000CAA08 41 82 00 30 */ beq lbl_800CDAD8 /* 800CDAAC 000CAA0C 36 A1 01 A0 */ addic. r21, r1, 0x1a0 /* 800CDAB0 000CAA10 38 81 01 28 */ addi r4, r1, 0x128 /* 800CDAB4 000CAA14 41 82 00 24 */ beq lbl_800CDAD8 /* 800CDAB8 000CAA18 7E A3 AB 78 */ mr r3, r21 /* 800CDABC 000CAA1C 48 27 33 ED */ bl __ct__6CTokenFRC6CToken /* 800CDAC0 000CAA20 C0 01 01 30 */ lfs f0, 0x130(r1) /* 800CDAC4 000CAA24 D0 15 00 08 */ stfs f0, 8(r21) /* 800CDAC8 000CAA28 C0 01 01 34 */ lfs f0, 0x134(r1) /* 800CDACC 000CAA2C D0 15 00 0C */ stfs f0, 0xc(r21) /* 800CDAD0 000CAA30 80 01 01 38 */ lwz r0, 0x138(r1) /* 800CDAD4 000CAA34 90 15 00 10 */ stw r0, 0x10(r21) lbl_800CDAD8: /* 800CDAD8 000CAA38 88 01 01 3C */ lbz r0, 0x13c(r1) /* 800CDADC 000CAA3C 28 00 00 00 */ cmplwi r0, 0 /* 800CDAE0 000CAA40 41 82 00 1C */ beq lbl_800CDAFC /* 800CDAE4 000CAA44 34 61 01 28 */ addic. r3, r1, 0x128 /* 800CDAE8 000CAA48 41 82 00 14 */ beq lbl_800CDAFC /* 800CDAEC 000CAA4C 28 03 00 00 */ cmplwi r3, 0 /* 800CDAF0 000CAA50 41 82 00 0C */ beq lbl_800CDAFC /* 800CDAF4 000CAA54 38 80 00 00 */ li r4, 0 /* 800CDAF8 000CAA58 48 27 33 49 */ bl __dt__6CTokenFv lbl_800CDAFC: /* 800CDAFC 000CAA5C 38 00 00 00 */ li r0, 0 /* 800CDB00 000CAA60 7F E4 FB 78 */ mr r4, r31 /* 800CDB04 000CAA64 98 01 01 3C */ stb r0, 0x13c(r1) /* 800CDB08 000CAA68 38 61 01 10 */ addi r3, r1, 0x110 /* 800CDB0C 000CAA6C 48 00 0A 4D */ bl LoadFlareDef__FR12CInputStream /* 800CDB10 000CAA70 88 01 01 24 */ lbz r0, 0x124(r1) /* 800CDB14 000CAA74 28 00 00 00 */ cmplwi r0, 0 /* 800CDB18 000CAA78 98 01 01 9C */ stb r0, 0x19c(r1) /* 800CDB1C 000CAA7C 41 82 00 30 */ beq lbl_800CDB4C /* 800CDB20 000CAA80 36 A1 01 88 */ addic. r21, r1, 0x188 /* 800CDB24 000CAA84 38 81 01 10 */ addi r4, r1, 0x110 /* 800CDB28 000CAA88 41 82 00 24 */ beq lbl_800CDB4C /* 800CDB2C 000CAA8C 7E A3 AB 78 */ mr r3, r21 /* 800CDB30 000CAA90 48 27 33 79 */ bl __ct__6CTokenFRC6CToken /* 800CDB34 000CAA94 C0 01 01 18 */ lfs f0, 0x118(r1) /* 800CDB38 000CAA98 D0 15 00 08 */ stfs f0, 8(r21) /* 800CDB3C 000CAA9C C0 01 01 1C */ lfs f0, 0x11c(r1) /* 800CDB40 000CAAA0 D0 15 00 0C */ stfs f0, 0xc(r21) /* 800CDB44 000CAAA4 80 01 01 20 */ lwz r0, 0x120(r1) /* 800CDB48 000CAAA8 90 15 00 10 */ stw r0, 0x10(r21) lbl_800CDB4C: /* 800CDB4C 000CAAAC 88 01 01 24 */ lbz r0, 0x124(r1) /* 800CDB50 000CAAB0 28 00 00 00 */ cmplwi r0, 0 /* 800CDB54 000CAAB4 41 82 00 1C */ beq lbl_800CDB70 /* 800CDB58 000CAAB8 34 61 01 10 */ addic. r3, r1, 0x110 /* 800CDB5C 000CAABC 41 82 00 14 */ beq lbl_800CDB70 /* 800CDB60 000CAAC0 28 03 00 00 */ cmplwi r3, 0 /* 800CDB64 000CAAC4 41 82 00 0C */ beq lbl_800CDB70 /* 800CDB68 000CAAC8 38 80 00 00 */ li r4, 0 /* 800CDB6C 000CAACC 48 27 32 D5 */ bl __dt__6CTokenFv lbl_800CDB70: /* 800CDB70 000CAAD0 38 00 00 00 */ li r0, 0 /* 800CDB74 000CAAD4 7F E4 FB 78 */ mr r4, r31 /* 800CDB78 000CAAD8 98 01 01 24 */ stb r0, 0x124(r1) /* 800CDB7C 000CAADC 38 61 00 F8 */ addi r3, r1, 0xf8 /* 800CDB80 000CAAE0 48 00 09 D9 */ bl LoadFlareDef__FR12CInputStream /* 800CDB84 000CAAE4 88 01 01 0C */ lbz r0, 0x10c(r1) /* 800CDB88 000CAAE8 28 00 00 00 */ cmplwi r0, 0 /* 800CDB8C 000CAAEC 98 01 01 84 */ stb r0, 0x184(r1) /* 800CDB90 000CAAF0 41 82 00 30 */ beq lbl_800CDBC0 /* 800CDB94 000CAAF4 36 A1 01 70 */ addic. r21, r1, 0x170 /* 800CDB98 000CAAF8 38 81 00 F8 */ addi r4, r1, 0xf8 /* 800CDB9C 000CAAFC 41 82 00 24 */ beq lbl_800CDBC0 /* 800CDBA0 000CAB00 7E A3 AB 78 */ mr r3, r21 /* 800CDBA4 000CAB04 48 27 33 05 */ bl __ct__6CTokenFRC6CToken /* 800CDBA8 000CAB08 C0 01 01 00 */ lfs f0, 0x100(r1) /* 800CDBAC 000CAB0C D0 15 00 08 */ stfs f0, 8(r21) /* 800CDBB0 000CAB10 C0 01 01 04 */ lfs f0, 0x104(r1) /* 800CDBB4 000CAB14 D0 15 00 0C */ stfs f0, 0xc(r21) /* 800CDBB8 000CAB18 80 01 01 08 */ lwz r0, 0x108(r1) /* 800CDBBC 000CAB1C 90 15 00 10 */ stw r0, 0x10(r21) lbl_800CDBC0: /* 800CDBC0 000CAB20 88 01 01 0C */ lbz r0, 0x10c(r1) /* 800CDBC4 000CAB24 28 00 00 00 */ cmplwi r0, 0 /* 800CDBC8 000CAB28 41 82 00 1C */ beq lbl_800CDBE4 /* 800CDBCC 000CAB2C 34 61 00 F8 */ addic. r3, r1, 0xf8 /* 800CDBD0 000CAB30 41 82 00 14 */ beq lbl_800CDBE4 /* 800CDBD4 000CAB34 28 03 00 00 */ cmplwi r3, 0 /* 800CDBD8 000CAB38 41 82 00 0C */ beq lbl_800CDBE4 /* 800CDBDC 000CAB3C 38 80 00 00 */ li r4, 0 /* 800CDBE0 000CAB40 48 27 32 61 */ bl __dt__6CTokenFv lbl_800CDBE4: /* 800CDBE4 000CAB44 38 00 00 00 */ li r0, 0 /* 800CDBE8 000CAB48 7F E4 FB 78 */ mr r4, r31 /* 800CDBEC 000CAB4C 98 01 01 0C */ stb r0, 0x10c(r1) /* 800CDBF0 000CAB50 38 61 00 E0 */ addi r3, r1, 0xe0 /* 800CDBF4 000CAB54 48 00 09 65 */ bl LoadFlareDef__FR12CInputStream /* 800CDBF8 000CAB58 88 01 00 F4 */ lbz r0, 0xf4(r1) /* 800CDBFC 000CAB5C 28 00 00 00 */ cmplwi r0, 0 /* 800CDC00 000CAB60 98 01 01 6C */ stb r0, 0x16c(r1) /* 800CDC04 000CAB64 41 82 00 30 */ beq lbl_800CDC34 /* 800CDC08 000CAB68 36 A1 01 58 */ addic. r21, r1, 0x158 /* 800CDC0C 000CAB6C 38 81 00 E0 */ addi r4, r1, 0xe0 /* 800CDC10 000CAB70 41 82 00 24 */ beq lbl_800CDC34 /* 800CDC14 000CAB74 7E A3 AB 78 */ mr r3, r21 /* 800CDC18 000CAB78 48 27 32 91 */ bl __ct__6CTokenFRC6CToken /* 800CDC1C 000CAB7C C0 01 00 E8 */ lfs f0, 0xe8(r1) /* 800CDC20 000CAB80 D0 15 00 08 */ stfs f0, 8(r21) /* 800CDC24 000CAB84 C0 01 00 EC */ lfs f0, 0xec(r1) /* 800CDC28 000CAB88 D0 15 00 0C */ stfs f0, 0xc(r21) /* 800CDC2C 000CAB8C 80 01 00 F0 */ lwz r0, 0xf0(r1) /* 800CDC30 000CAB90 90 15 00 10 */ stw r0, 0x10(r21) lbl_800CDC34: /* 800CDC34 000CAB94 88 01 00 F4 */ lbz r0, 0xf4(r1) /* 800CDC38 000CAB98 28 00 00 00 */ cmplwi r0, 0 /* 800CDC3C 000CAB9C 41 82 00 1C */ beq lbl_800CDC58 /* 800CDC40 000CABA0 34 61 00 E0 */ addic. r3, r1, 0xe0 /* 800CDC44 000CABA4 41 82 00 14 */ beq lbl_800CDC58 /* 800CDC48 000CABA8 28 03 00 00 */ cmplwi r3, 0 /* 800CDC4C 000CABAC 41 82 00 0C */ beq lbl_800CDC58 /* 800CDC50 000CABB0 38 80 00 00 */ li r4, 0 /* 800CDC54 000CABB4 48 27 31 ED */ bl __dt__6CTokenFv lbl_800CDC58: /* 800CDC58 000CABB8 38 00 00 00 */ li r0, 0 /* 800CDC5C 000CABBC 38 61 00 98 */ addi r3, r1, 0x98 /* 800CDC60 000CABC0 98 01 00 F4 */ stb r0, 0xf4(r1) /* 800CDC64 000CABC4 38 80 00 05 */ li r4, 5 /* 800CDC68 000CABC8 90 01 00 9C */ stw r0, 0x9c(r1) /* 800CDC6C 000CABCC 90 01 00 A0 */ stw r0, 0xa0(r1) /* 800CDC70 000CABD0 90 01 00 A4 */ stw r0, 0xa4(r1) /* 800CDC74 000CABD4 48 00 CB 61 */ bl sub_800da7d4 /* 800CDC78 000CABD8 88 01 01 CC */ lbz r0, 0x1cc(r1) /* 800CDC7C 000CABDC 28 00 00 00 */ cmplwi r0, 0 /* 800CDC80 000CABE0 41 82 00 74 */ beq lbl_800CDCF4 /* 800CDC84 000CABE4 80 01 00 9C */ lwz r0, 0x9c(r1) /* 800CDC88 000CABE8 3A C1 01 B8 */ addi r22, r1, 0x1b8 /* 800CDC8C 000CABEC 80 A1 00 A0 */ lwz r5, 0xa0(r1) /* 800CDC90 000CABF0 7C 00 28 00 */ cmpw r0, r5 /* 800CDC94 000CABF4 41 80 00 1C */ blt lbl_800CDCB0 /* 800CDC98 000CABF8 2C 05 00 00 */ cmpwi r5, 0 /* 800CDC9C 000CABFC 38 61 00 98 */ addi r3, r1, 0x98 /* 800CDCA0 000CAC00 38 80 00 04 */ li r4, 4 /* 800CDCA4 000CAC04 41 82 00 08 */ beq lbl_800CDCAC /* 800CDCA8 000CAC08 54 A4 08 3C */ slwi r4, r5, 1 lbl_800CDCAC: /* 800CDCAC 000CAC0C 48 00 CB 29 */ bl sub_800da7d4 lbl_800CDCB0: /* 800CDCB0 000CAC10 80 01 00 9C */ lwz r0, 0x9c(r1) /* 800CDCB4 000CAC14 80 61 00 A4 */ lwz r3, 0xa4(r1) /* 800CDCB8 000CAC18 1C 00 00 14 */ mulli r0, r0, 0x14 /* 800CDCBC 000CAC1C 7E A3 02 15 */ add. r21, r3, r0 /* 800CDCC0 000CAC20 41 82 00 28 */ beq lbl_800CDCE8 /* 800CDCC4 000CAC24 7E A3 AB 78 */ mr r3, r21 /* 800CDCC8 000CAC28 7E C4 B3 78 */ mr r4, r22 /* 800CDCCC 000CAC2C 48 27 31 DD */ bl __ct__6CTokenFRC6CToken /* 800CDCD0 000CAC30 C0 01 01 C0 */ lfs f0, 0x1c0(r1) /* 800CDCD4 000CAC34 D0 15 00 08 */ stfs f0, 8(r21) /* 800CDCD8 000CAC38 C0 01 01 C4 */ lfs f0, 0x1c4(r1) /* 800CDCDC 000CAC3C D0 15 00 0C */ stfs f0, 0xc(r21) /* 800CDCE0 000CAC40 80 01 01 C8 */ lwz r0, 0x1c8(r1) /* 800CDCE4 000CAC44 90 15 00 10 */ stw r0, 0x10(r21) lbl_800CDCE8: /* 800CDCE8 000CAC48 80 61 00 9C */ lwz r3, 0x9c(r1) /* 800CDCEC 000CAC4C 38 03 00 01 */ addi r0, r3, 1 /* 800CDCF0 000CAC50 90 01 00 9C */ stw r0, 0x9c(r1) lbl_800CDCF4: /* 800CDCF4 000CAC54 88 01 01 B4 */ lbz r0, 0x1b4(r1) /* 800CDCF8 000CAC58 28 00 00 00 */ cmplwi r0, 0 /* 800CDCFC 000CAC5C 41 82 00 74 */ beq lbl_800CDD70 /* 800CDD00 000CAC60 80 01 00 9C */ lwz r0, 0x9c(r1) /* 800CDD04 000CAC64 3A C1 01 A0 */ addi r22, r1, 0x1a0 /* 800CDD08 000CAC68 80 A1 00 A0 */ lwz r5, 0xa0(r1) /* 800CDD0C 000CAC6C 7C 00 28 00 */ cmpw r0, r5 /* 800CDD10 000CAC70 41 80 00 1C */ blt lbl_800CDD2C /* 800CDD14 000CAC74 2C 05 00 00 */ cmpwi r5, 0 /* 800CDD18 000CAC78 38 61 00 98 */ addi r3, r1, 0x98 /* 800CDD1C 000CAC7C 38 80 00 04 */ li r4, 4 /* 800CDD20 000CAC80 41 82 00 08 */ beq lbl_800CDD28 /* 800CDD24 000CAC84 54 A4 08 3C */ slwi r4, r5, 1 lbl_800CDD28: /* 800CDD28 000CAC88 48 00 CA AD */ bl sub_800da7d4 lbl_800CDD2C: /* 800CDD2C 000CAC8C 80 01 00 9C */ lwz r0, 0x9c(r1) /* 800CDD30 000CAC90 80 61 00 A4 */ lwz r3, 0xa4(r1) /* 800CDD34 000CAC94 1C 00 00 14 */ mulli r0, r0, 0x14 /* 800CDD38 000CAC98 7E A3 02 15 */ add. r21, r3, r0 /* 800CDD3C 000CAC9C 41 82 00 28 */ beq lbl_800CDD64 /* 800CDD40 000CACA0 7E A3 AB 78 */ mr r3, r21 /* 800CDD44 000CACA4 7E C4 B3 78 */ mr r4, r22 /* 800CDD48 000CACA8 48 27 31 61 */ bl __ct__6CTokenFRC6CToken /* 800CDD4C 000CACAC C0 01 01 A8 */ lfs f0, 0x1a8(r1) /* 800CDD50 000CACB0 D0 15 00 08 */ stfs f0, 8(r21) /* 800CDD54 000CACB4 C0 01 01 AC */ lfs f0, 0x1ac(r1) /* 800CDD58 000CACB8 D0 15 00 0C */ stfs f0, 0xc(r21) /* 800CDD5C 000CACBC 80 01 01 B0 */ lwz r0, 0x1b0(r1) /* 800CDD60 000CACC0 90 15 00 10 */ stw r0, 0x10(r21) lbl_800CDD64: /* 800CDD64 000CACC4 80 61 00 9C */ lwz r3, 0x9c(r1) /* 800CDD68 000CACC8 38 03 00 01 */ addi r0, r3, 1 /* 800CDD6C 000CACCC 90 01 00 9C */ stw r0, 0x9c(r1) lbl_800CDD70: /* 800CDD70 000CACD0 88 01 01 9C */ lbz r0, 0x19c(r1) /* 800CDD74 000CACD4 28 00 00 00 */ cmplwi r0, 0 /* 800CDD78 000CACD8 41 82 00 74 */ beq lbl_800CDDEC /* 800CDD7C 000CACDC 80 01 00 9C */ lwz r0, 0x9c(r1) /* 800CDD80 000CACE0 3A C1 01 88 */ addi r22, r1, 0x188 /* 800CDD84 000CACE4 80 A1 00 A0 */ lwz r5, 0xa0(r1) /* 800CDD88 000CACE8 7C 00 28 00 */ cmpw r0, r5 /* 800CDD8C 000CACEC 41 80 00 1C */ blt lbl_800CDDA8 /* 800CDD90 000CACF0 2C 05 00 00 */ cmpwi r5, 0 /* 800CDD94 000CACF4 38 61 00 98 */ addi r3, r1, 0x98 /* 800CDD98 000CACF8 38 80 00 04 */ li r4, 4 /* 800CDD9C 000CACFC 41 82 00 08 */ beq lbl_800CDDA4 /* 800CDDA0 000CAD00 54 A4 08 3C */ slwi r4, r5, 1 lbl_800CDDA4: /* 800CDDA4 000CAD04 48 00 CA 31 */ bl sub_800da7d4 lbl_800CDDA8: /* 800CDDA8 000CAD08 80 01 00 9C */ lwz r0, 0x9c(r1) /* 800CDDAC 000CAD0C 80 61 00 A4 */ lwz r3, 0xa4(r1) /* 800CDDB0 000CAD10 1C 00 00 14 */ mulli r0, r0, 0x14 /* 800CDDB4 000CAD14 7E A3 02 15 */ add. r21, r3, r0 /* 800CDDB8 000CAD18 41 82 00 28 */ beq lbl_800CDDE0 /* 800CDDBC 000CAD1C 7E A3 AB 78 */ mr r3, r21 /* 800CDDC0 000CAD20 7E C4 B3 78 */ mr r4, r22 /* 800CDDC4 000CAD24 48 27 30 E5 */ bl __ct__6CTokenFRC6CToken /* 800CDDC8 000CAD28 C0 01 01 90 */ lfs f0, 0x190(r1) /* 800CDDCC 000CAD2C D0 15 00 08 */ stfs f0, 8(r21) /* 800CDDD0 000CAD30 C0 01 01 94 */ lfs f0, 0x194(r1) /* 800CDDD4 000CAD34 D0 15 00 0C */ stfs f0, 0xc(r21) /* 800CDDD8 000CAD38 80 01 01 98 */ lwz r0, 0x198(r1) /* 800CDDDC 000CAD3C 90 15 00 10 */ stw r0, 0x10(r21) lbl_800CDDE0: /* 800CDDE0 000CAD40 80 61 00 9C */ lwz r3, 0x9c(r1) /* 800CDDE4 000CAD44 38 03 00 01 */ addi r0, r3, 1 /* 800CDDE8 000CAD48 90 01 00 9C */ stw r0, 0x9c(r1) lbl_800CDDEC: /* 800CDDEC 000CAD4C 88 01 01 84 */ lbz r0, 0x184(r1) /* 800CDDF0 000CAD50 28 00 00 00 */ cmplwi r0, 0 /* 800CDDF4 000CAD54 41 82 00 74 */ beq lbl_800CDE68 /* 800CDDF8 000CAD58 80 01 00 9C */ lwz r0, 0x9c(r1) /* 800CDDFC 000CAD5C 3A C1 01 70 */ addi r22, r1, 0x170 /* 800CDE00 000CAD60 80 A1 00 A0 */ lwz r5, 0xa0(r1) /* 800CDE04 000CAD64 7C 00 28 00 */ cmpw r0, r5 /* 800CDE08 000CAD68 41 80 00 1C */ blt lbl_800CDE24 /* 800CDE0C 000CAD6C 2C 05 00 00 */ cmpwi r5, 0 /* 800CDE10 000CAD70 38 61 00 98 */ addi r3, r1, 0x98 /* 800CDE14 000CAD74 38 80 00 04 */ li r4, 4 /* 800CDE18 000CAD78 41 82 00 08 */ beq lbl_800CDE20 /* 800CDE1C 000CAD7C 54 A4 08 3C */ slwi r4, r5, 1 lbl_800CDE20: /* 800CDE20 000CAD80 48 00 C9 B5 */ bl sub_800da7d4 lbl_800CDE24: /* 800CDE24 000CAD84 80 01 00 9C */ lwz r0, 0x9c(r1) /* 800CDE28 000CAD88 80 61 00 A4 */ lwz r3, 0xa4(r1) /* 800CDE2C 000CAD8C 1C 00 00 14 */ mulli r0, r0, 0x14 /* 800CDE30 000CAD90 7E A3 02 15 */ add. r21, r3, r0 /* 800CDE34 000CAD94 41 82 00 28 */ beq lbl_800CDE5C /* 800CDE38 000CAD98 7E A3 AB 78 */ mr r3, r21 /* 800CDE3C 000CAD9C 7E C4 B3 78 */ mr r4, r22 /* 800CDE40 000CADA0 48 27 30 69 */ bl __ct__6CTokenFRC6CToken /* 800CDE44 000CADA4 C0 01 01 78 */ lfs f0, 0x178(r1) /* 800CDE48 000CADA8 D0 15 00 08 */ stfs f0, 8(r21) /* 800CDE4C 000CADAC C0 01 01 7C */ lfs f0, 0x17c(r1) /* 800CDE50 000CADB0 D0 15 00 0C */ stfs f0, 0xc(r21) /* 800CDE54 000CADB4 80 01 01 80 */ lwz r0, 0x180(r1) /* 800CDE58 000CADB8 90 15 00 10 */ stw r0, 0x10(r21) lbl_800CDE5C: /* 800CDE5C 000CADBC 80 61 00 9C */ lwz r3, 0x9c(r1) /* 800CDE60 000CADC0 38 03 00 01 */ addi r0, r3, 1 /* 800CDE64 000CADC4 90 01 00 9C */ stw r0, 0x9c(r1) lbl_800CDE68: /* 800CDE68 000CADC8 88 01 01 6C */ lbz r0, 0x16c(r1) /* 800CDE6C 000CADCC 28 00 00 00 */ cmplwi r0, 0 /* 800CDE70 000CADD0 41 82 00 74 */ beq lbl_800CDEE4 /* 800CDE74 000CADD4 80 01 00 9C */ lwz r0, 0x9c(r1) /* 800CDE78 000CADD8 3A C1 01 58 */ addi r22, r1, 0x158 /* 800CDE7C 000CADDC 80 A1 00 A0 */ lwz r5, 0xa0(r1) /* 800CDE80 000CADE0 7C 00 28 00 */ cmpw r0, r5 /* 800CDE84 000CADE4 41 80 00 1C */ blt lbl_800CDEA0 /* 800CDE88 000CADE8 2C 05 00 00 */ cmpwi r5, 0 /* 800CDE8C 000CADEC 38 61 00 98 */ addi r3, r1, 0x98 /* 800CDE90 000CADF0 38 80 00 04 */ li r4, 4 /* 800CDE94 000CADF4 41 82 00 08 */ beq lbl_800CDE9C /* 800CDE98 000CADF8 54 A4 08 3C */ slwi r4, r5, 1 lbl_800CDE9C: /* 800CDE9C 000CADFC 48 00 C9 39 */ bl sub_800da7d4 lbl_800CDEA0: /* 800CDEA0 000CAE00 80 01 00 9C */ lwz r0, 0x9c(r1) /* 800CDEA4 000CAE04 80 61 00 A4 */ lwz r3, 0xa4(r1) /* 800CDEA8 000CAE08 1C 00 00 14 */ mulli r0, r0, 0x14 /* 800CDEAC 000CAE0C 7E A3 02 15 */ add. r21, r3, r0 /* 800CDEB0 000CAE10 41 82 00 28 */ beq lbl_800CDED8 /* 800CDEB4 000CAE14 7E A3 AB 78 */ mr r3, r21 /* 800CDEB8 000CAE18 7E C4 B3 78 */ mr r4, r22 /* 800CDEBC 000CAE1C 48 27 2F ED */ bl __ct__6CTokenFRC6CToken /* 800CDEC0 000CAE20 C0 01 01 60 */ lfs f0, 0x160(r1) /* 800CDEC4 000CAE24 D0 15 00 08 */ stfs f0, 8(r21) /* 800CDEC8 000CAE28 C0 01 01 64 */ lfs f0, 0x164(r1) /* 800CDECC 000CAE2C D0 15 00 0C */ stfs f0, 0xc(r21) /* 800CDED0 000CAE30 80 01 01 68 */ lwz r0, 0x168(r1) /* 800CDED4 000CAE34 90 15 00 10 */ stw r0, 0x10(r21) lbl_800CDED8: /* 800CDED8 000CAE38 80 61 00 9C */ lwz r3, 0x9c(r1) /* 800CDEDC 000CAE3C 38 03 00 01 */ addi r0, r3, 1 /* 800CDEE0 000CAE40 90 01 00 9C */ stw r0, 0x9c(r1) lbl_800CDEE4: /* 800CDEE4 000CAE44 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 800CDEE8 000CAE48 80 81 04 70 */ lwz r4, 0x470(r1) /* 800CDEEC 000CAE4C 38 63 00 04 */ addi r3, r3, 4 /* 800CDEF0 000CAE50 48 26 DD DD */ bl GetResourceTypeById__10CResLoaderCFUi /* 800CDEF4 000CAE54 3C 03 BE B2 */ addis r0, r3, 0xbeb2 /* 800CDEF8 000CAE58 28 00 43 53 */ cmplwi r0, 0x4353 /* 800CDEFC 000CAE5C 41 82 01 08 */ beq lbl_800CE004 /* 800CDF00 000CAE60 38 61 00 98 */ addi r3, r1, 0x98 /* 800CDF04 000CAE64 38 80 FF FF */ li r4, -1 /* 800CDF08 000CAE68 4B FF F8 B1 */ bl sub_800cd7b8 /* 800CDF0C 000CAE6C 88 01 01 6C */ lbz r0, 0x16c(r1) /* 800CDF10 000CAE70 28 00 00 00 */ cmplwi r0, 0 /* 800CDF14 000CAE74 41 82 00 1C */ beq lbl_800CDF30 /* 800CDF18 000CAE78 34 61 01 58 */ addic. r3, r1, 0x158 /* 800CDF1C 000CAE7C 41 82 00 14 */ beq lbl_800CDF30 /* 800CDF20 000CAE80 28 03 00 00 */ cmplwi r3, 0 /* 800CDF24 000CAE84 41 82 00 0C */ beq lbl_800CDF30 /* 800CDF28 000CAE88 38 80 00 00 */ li r4, 0 /* 800CDF2C 000CAE8C 48 27 2F 15 */ bl __dt__6CTokenFv lbl_800CDF30: /* 800CDF30 000CAE90 88 01 01 84 */ lbz r0, 0x184(r1) /* 800CDF34 000CAE94 38 60 00 00 */ li r3, 0 /* 800CDF38 000CAE98 98 61 01 6C */ stb r3, 0x16c(r1) /* 800CDF3C 000CAE9C 28 00 00 00 */ cmplwi r0, 0 /* 800CDF40 000CAEA0 41 82 00 1C */ beq lbl_800CDF5C /* 800CDF44 000CAEA4 34 61 01 70 */ addic. r3, r1, 0x170 /* 800CDF48 000CAEA8 41 82 00 14 */ beq lbl_800CDF5C /* 800CDF4C 000CAEAC 28 03 00 00 */ cmplwi r3, 0 /* 800CDF50 000CAEB0 41 82 00 0C */ beq lbl_800CDF5C /* 800CDF54 000CAEB4 38 80 00 00 */ li r4, 0 /* 800CDF58 000CAEB8 48 27 2E E9 */ bl __dt__6CTokenFv lbl_800CDF5C: /* 800CDF5C 000CAEBC 88 01 01 9C */ lbz r0, 0x19c(r1) /* 800CDF60 000CAEC0 38 60 00 00 */ li r3, 0 /* 800CDF64 000CAEC4 98 61 01 84 */ stb r3, 0x184(r1) /* 800CDF68 000CAEC8 28 00 00 00 */ cmplwi r0, 0 /* 800CDF6C 000CAECC 41 82 00 1C */ beq lbl_800CDF88 /* 800CDF70 000CAED0 34 61 01 88 */ addic. r3, r1, 0x188 /* 800CDF74 000CAED4 41 82 00 14 */ beq lbl_800CDF88 /* 800CDF78 000CAED8 28 03 00 00 */ cmplwi r3, 0 /* 800CDF7C 000CAEDC 41 82 00 0C */ beq lbl_800CDF88 /* 800CDF80 000CAEE0 38 80 00 00 */ li r4, 0 /* 800CDF84 000CAEE4 48 27 2E BD */ bl __dt__6CTokenFv lbl_800CDF88: /* 800CDF88 000CAEE8 88 01 01 B4 */ lbz r0, 0x1b4(r1) /* 800CDF8C 000CAEEC 38 60 00 00 */ li r3, 0 /* 800CDF90 000CAEF0 98 61 01 9C */ stb r3, 0x19c(r1) /* 800CDF94 000CAEF4 28 00 00 00 */ cmplwi r0, 0 /* 800CDF98 000CAEF8 41 82 00 1C */ beq lbl_800CDFB4 /* 800CDF9C 000CAEFC 34 61 01 A0 */ addic. r3, r1, 0x1a0 /* 800CDFA0 000CAF00 41 82 00 14 */ beq lbl_800CDFB4 /* 800CDFA4 000CAF04 28 03 00 00 */ cmplwi r3, 0 /* 800CDFA8 000CAF08 41 82 00 0C */ beq lbl_800CDFB4 /* 800CDFAC 000CAF0C 38 80 00 00 */ li r4, 0 /* 800CDFB0 000CAF10 48 27 2E 91 */ bl __dt__6CTokenFv lbl_800CDFB4: /* 800CDFB4 000CAF14 88 01 01 CC */ lbz r0, 0x1cc(r1) /* 800CDFB8 000CAF18 38 60 00 00 */ li r3, 0 /* 800CDFBC 000CAF1C 98 61 01 B4 */ stb r3, 0x1b4(r1) /* 800CDFC0 000CAF20 28 00 00 00 */ cmplwi r0, 0 /* 800CDFC4 000CAF24 41 82 00 1C */ beq lbl_800CDFE0 /* 800CDFC8 000CAF28 34 61 01 B8 */ addic. r3, r1, 0x1b8 /* 800CDFCC 000CAF2C 41 82 00 14 */ beq lbl_800CDFE0 /* 800CDFD0 000CAF30 28 03 00 00 */ cmplwi r3, 0 /* 800CDFD4 000CAF34 41 82 00 0C */ beq lbl_800CDFE0 /* 800CDFD8 000CAF38 38 80 00 00 */ li r4, 0 /* 800CDFDC 000CAF3C 48 27 2E 65 */ bl __dt__6CTokenFv lbl_800CDFE0: /* 800CDFE0 000CAF40 38 00 00 00 */ li r0, 0 /* 800CDFE4 000CAF44 38 61 03 1C */ addi r3, r1, 0x31c /* 800CDFE8 000CAF48 98 01 01 CC */ stb r0, 0x1cc(r1) /* 800CDFEC 000CAF4C 38 80 FF FF */ li r4, -1 /* 800CDFF0 000CAF50 48 03 86 19 */ bl __dt__16CLightParametersFv /* 800CDFF4 000CAF54 38 61 00 B4 */ addi r3, r1, 0xb4 /* 800CDFF8 000CAF58 48 26 FA E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CDFFC 000CAF5C 38 60 00 00 */ li r3, 0 /* 800CE000 000CAF60 48 00 03 C8 */ b lbl_800CE3C8 lbl_800CE004: /* 800CE004 000CAF64 7F E3 FB 78 */ mr r3, r31 /* 800CE008 000CAF68 48 27 0C 21 */ bl ReadFloat__12CInputStreamFv /* 800CE00C 000CAF6C D0 21 04 CC */ stfs f1, 0x4cc(r1) /* 800CE010 000CAF70 7F E3 FB 78 */ mr r3, r31 /* 800CE014 000CAF74 48 27 0C 15 */ bl ReadFloat__12CInputStreamFv /* 800CE018 000CAF78 D0 21 04 C8 */ stfs f1, 0x4c8(r1) /* 800CE01C 000CAF7C 7F E3 FB 78 */ mr r3, r31 /* 800CE020 000CAF80 48 27 0C 09 */ bl ReadFloat__12CInputStreamFv /* 800CE024 000CAF84 D0 21 04 C4 */ stfs f1, 0x4c4(r1) /* 800CE028 000CAF88 7F E3 FB 78 */ mr r3, r31 /* 800CE02C 000CAF8C 48 27 0B FD */ bl ReadFloat__12CInputStreamFv /* 800CE030 000CAF90 D0 21 04 C0 */ stfs f1, 0x4c0(r1) /* 800CE034 000CAF94 7F E3 FB 78 */ mr r3, r31 /* 800CE038 000CAF98 48 27 0B F1 */ bl ReadFloat__12CInputStreamFv /* 800CE03C 000CAF9C D0 21 04 BC */ stfs f1, 0x4bc(r1) /* 800CE040 000CAFA0 7F E3 FB 78 */ mr r3, r31 /* 800CE044 000CAFA4 48 27 0B E5 */ bl ReadFloat__12CInputStreamFv /* 800CE048 000CAFA8 FD E0 08 90 */ fmr f15, f1 /* 800CE04C 000CAFAC 7F E3 FB 78 */ mr r3, r31 /* 800CE050 000CAFB0 48 27 0B D9 */ bl ReadFloat__12CInputStreamFv /* 800CE054 000CAFB4 FD C0 08 90 */ fmr f14, f1 /* 800CE058 000CAFB8 7F E3 FB 78 */ mr r3, r31 /* 800CE05C 000CAFBC 48 27 0B CD */ bl ReadFloat__12CInputStreamFv /* 800CE060 000CAFC0 FE 00 08 90 */ fmr f16, f1 /* 800CE064 000CAFC4 7F E3 FB 78 */ mr r3, r31 /* 800CE068 000CAFC8 48 27 0B C1 */ bl ReadFloat__12CInputStreamFv /* 800CE06C 000CAFCC FE 20 08 90 */ fmr f17, f1 /* 800CE070 000CAFD0 7F E3 FB 78 */ mr r3, r31 /* 800CE074 000CAFD4 48 27 0B B5 */ bl ReadFloat__12CInputStreamFv /* 800CE078 000CAFD8 FE 40 08 90 */ fmr f18, f1 /* 800CE07C 000CAFDC 7F E3 FB 78 */ mr r3, r31 /* 800CE080 000CAFE0 48 27 0B A9 */ bl ReadFloat__12CInputStreamFv /* 800CE084 000CAFE4 FE 60 08 90 */ fmr f19, f1 /* 800CE088 000CAFE8 7F E3 FB 78 */ mr r3, r31 /* 800CE08C 000CAFEC 48 27 0B 9D */ bl ReadFloat__12CInputStreamFv /* 800CE090 000CAFF0 FE 80 08 90 */ fmr f20, f1 /* 800CE094 000CAFF4 7F E3 FB 78 */ mr r3, r31 /* 800CE098 000CAFF8 48 27 0B 91 */ bl ReadFloat__12CInputStreamFv /* 800CE09C 000CAFFC FE A0 08 90 */ fmr f21, f1 /* 800CE0A0 000CB000 7F E3 FB 78 */ mr r3, r31 /* 800CE0A4 000CB004 48 27 0B 85 */ bl ReadFloat__12CInputStreamFv /* 800CE0A8 000CB008 FE C0 08 90 */ fmr f22, f1 /* 800CE0AC 000CB00C 7F E3 FB 78 */ mr r3, r31 /* 800CE0B0 000CB010 48 27 0B 79 */ bl ReadFloat__12CInputStreamFv /* 800CE0B4 000CB014 FE E0 08 90 */ fmr f23, f1 /* 800CE0B8 000CB018 7F E3 FB 78 */ mr r3, r31 /* 800CE0BC 000CB01C 48 27 0B 6D */ bl ReadFloat__12CInputStreamFv /* 800CE0C0 000CB020 FF 00 08 90 */ fmr f24, f1 /* 800CE0C4 000CB024 7F E3 FB 78 */ mr r3, r31 /* 800CE0C8 000CB028 48 27 0B 61 */ bl ReadFloat__12CInputStreamFv /* 800CE0CC 000CB02C FF 20 08 90 */ fmr f25, f1 /* 800CE0D0 000CB030 7F E3 FB 78 */ mr r3, r31 /* 800CE0D4 000CB034 48 27 0B 55 */ bl ReadFloat__12CInputStreamFv /* 800CE0D8 000CB038 FF 40 08 90 */ fmr f26, f1 /* 800CE0DC 000CB03C 7F E3 FB 78 */ mr r3, r31 /* 800CE0E0 000CB040 48 27 0B 49 */ bl ReadFloat__12CInputStreamFv /* 800CE0E4 000CB044 FF 60 08 90 */ fmr f27, f1 /* 800CE0E8 000CB048 7F E3 FB 78 */ mr r3, r31 /* 800CE0EC 000CB04C 48 27 0B 99 */ bl ReadLong__12CInputStreamFv /* 800CE0F0 000CB050 7C 78 1B 78 */ mr r24, r3 /* 800CE0F4 000CB054 7F E3 FB 78 */ mr r3, r31 /* 800CE0F8 000CB058 48 27 0B 31 */ bl ReadFloat__12CInputStreamFv /* 800CE0FC 000CB05C FF 80 08 90 */ fmr f28, f1 /* 800CE100 000CB060 7F E3 FB 78 */ mr r3, r31 /* 800CE104 000CB064 48 27 0B 25 */ bl ReadFloat__12CInputStreamFv /* 800CE108 000CB068 FF A0 08 90 */ fmr f29, f1 /* 800CE10C 000CB06C 7F E3 FB 78 */ mr r3, r31 /* 800CE110 000CB070 48 27 0B 19 */ bl ReadFloat__12CInputStreamFv /* 800CE114 000CB074 FF C0 08 90 */ fmr f30, f1 /* 800CE118 000CB078 7F E3 FB 78 */ mr r3, r31 /* 800CE11C 000CB07C 48 27 0B 0D */ bl ReadFloat__12CInputStreamFv /* 800CE120 000CB080 FF E0 08 90 */ fmr f31, f1 /* 800CE124 000CB084 7F E3 FB 78 */ mr r3, r31 /* 800CE128 000CB088 48 27 0B 5D */ bl ReadLong__12CInputStreamFv /* 800CE12C 000CB08C 7C 79 1B 78 */ mr r25, r3 /* 800CE130 000CB090 7F E3 FB 78 */ mr r3, r31 /* 800CE134 000CB094 48 27 0B A9 */ bl ReadBool__12CInputStreamFv /* 800CE138 000CB098 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CE13C 000CB09C 7C 7F 1B 78 */ mr r31, r3 /* 800CE140 000CB0A0 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l /* 800CE144 000CB0A4 3A C0 00 00 */ li r22, 0 /* 800CE148 000CB0A8 38 83 00 0D */ addi r4, r3, 0xd /* 800CE14C 000CB0AC 3A A0 00 00 */ li r21, 0 /* 800CE150 000CB0B0 38 60 08 38 */ li r3, 0x838 /* 800CE154 000CB0B4 38 A0 00 00 */ li r5, 0 /* 800CE158 000CB0B8 48 24 77 15 */ bl __nw__FUlPCcPCc /* 800CE15C 000CB0BC 7C 77 1B 79 */ or. r23, r3, r3 /* 800CE160 000CB0C0 41 82 01 40 */ beq lbl_800CE2A0 /* 800CE164 000CB0C4 38 61 00 88 */ addi r3, r1, 0x88 /* 800CE168 000CB0C8 38 81 00 98 */ addi r4, r1, 0x98 /* 800CE16C 000CB0CC 48 00 03 01 */ bl sub_800ce46c /* 800CE170 000CB0D0 80 E1 04 70 */ lwz r7, 0x470(r1) /* 800CE174 000CB0D4 38 A0 00 01 */ li r5, 1 /* 800CE178 000CB0D8 80 C1 04 74 */ lwz r6, 0x474(r1) /* 800CE17C 000CB0DC 38 61 02 68 */ addi r3, r1, 0x268 /* 800CE180 000CB0E0 C0 41 00 A8 */ lfs f2, 0xa8(r1) /* 800CE184 000CB0E4 38 81 00 C4 */ addi r4, r1, 0xc4 /* 800CE188 000CB0E8 C0 21 00 AC */ lfs f1, 0xac(r1) /* 800CE18C 000CB0EC 3A C0 00 01 */ li r22, 1 /* 800CE190 000CB0F0 C0 01 00 B0 */ lfs f0, 0xb0(r1) /* 800CE194 000CB0F4 80 01 04 78 */ lwz r0, 0x478(r1) /* 800CE198 000CB0F8 90 E1 00 C4 */ stw r7, 0xc4(r1) /* 800CE19C 000CB0FC 90 C1 00 C8 */ stw r6, 0xc8(r1) /* 800CE1A0 000CB100 D0 41 00 CC */ stfs f2, 0xcc(r1) /* 800CE1A4 000CB104 D0 21 00 D0 */ stfs f1, 0xd0(r1) /* 800CE1A8 000CB108 D0 01 00 D4 */ stfs f0, 0xd4(r1) /* 800CE1AC 000CB10C 98 A1 00 D8 */ stb r5, 0xd8(r1) /* 800CE1B0 000CB110 90 01 00 DC */ stw r0, 0xdc(r1) /* 800CE1B4 000CB114 48 04 89 A1 */ bl __ct__10CModelDataFRC8CAnimRes /* 800CE1B8 000CB118 7F 64 DB 78 */ mr r4, r27 /* 800CE1BC 000CB11C 38 61 00 78 */ addi r3, r1, 0x78 /* 800CE1C0 000CB120 3A A0 00 01 */ li r21, 1 /* 800CE1C4 000CB124 4B F7 EF 19 */ bl AllocateUniqueId__13CStateManagerFv /* 800CE1C8 000CB128 A0 01 00 78 */ lhz r0, 0x78(r1) /* 800CE1CC 000CB12C 38 61 03 1C */ addi r3, r1, 0x31c /* 800CE1D0 000CB130 38 C0 00 01 */ li r6, 1 /* 800CE1D4 000CB134 38 A0 00 04 */ li r5, 4 /* 800CE1D8 000CB138 B0 01 00 7C */ sth r0, 0x7c(r1) /* 800CE1DC 000CB13C 38 81 01 EC */ addi r4, r1, 0x1ec /* 800CE1E0 000CB140 39 41 01 D0 */ addi r10, r1, 0x1d0 /* 800CE1E4 000CB144 38 01 00 88 */ addi r0, r1, 0x88 /* 800CE1E8 000CB148 90 61 00 08 */ stw r3, 8(r1) /* 800CE1EC 000CB14C FC E0 78 90 */ fmr f7, f15 /* 800CE1F0 000CB150 FD 00 70 90 */ fmr f8, f14 /* 800CE1F4 000CB154 C0 21 04 D0 */ lfs f1, 0x4d0(r1) /* 800CE1F8 000CB158 90 C1 00 0C */ stw r6, 0xc(r1) /* 800CE1FC 000CB15C 7E E3 BB 78 */ mr r3, r23 /* 800CE200 000CB160 C0 41 04 CC */ lfs f2, 0x4cc(r1) /* 800CE204 000CB164 90 C1 00 10 */ stw r6, 0x10(r1) /* 800CE208 000CB168 C0 61 04 C8 */ lfs f3, 0x4c8(r1) /* 800CE20C 000CB16C 7F 86 E3 78 */ mr r6, r28 /* 800CE210 000CB170 90 A1 00 14 */ stw r5, 0x14(r1) /* 800CE214 000CB174 7F 47 D3 78 */ mr r7, r26 /* 800CE218 000CB178 C0 81 04 C4 */ lfs f4, 0x4c4(r1) /* 800CE21C 000CB17C 38 A1 00 B4 */ addi r5, r1, 0xb4 /* 800CE220 000CB180 90 81 00 18 */ stw r4, 0x18(r1) /* 800CE224 000CB184 38 81 00 7C */ addi r4, r1, 0x7c /* 800CE228 000CB188 C0 A1 04 C0 */ lfs f5, 0x4c0(r1) /* 800CE22C 000CB18C 39 01 02 38 */ addi r8, r1, 0x238 /* 800CE230 000CB190 93 C1 00 1C */ stw r30, 0x1c(r1) /* 800CE234 000CB194 39 21 02 68 */ addi r9, r1, 0x268 /* 800CE238 000CB198 C0 C1 04 BC */ lfs f6, 0x4bc(r1) /* 800CE23C 000CB19C 91 41 00 20 */ stw r10, 0x20(r1) /* 800CE240 000CB1A0 39 41 03 84 */ addi r10, r1, 0x384 /* 800CE244 000CB1A4 93 A1 00 24 */ stw r29, 0x24(r1) /* 800CE248 000CB1A8 90 01 00 28 */ stw r0, 0x28(r1) /* 800CE24C 000CB1AC D2 01 00 2C */ stfs f16, 0x2c(r1) /* 800CE250 000CB1B0 D2 21 00 30 */ stfs f17, 0x30(r1) /* 800CE254 000CB1B4 D2 41 00 34 */ stfs f18, 0x34(r1) /* 800CE258 000CB1B8 D2 61 00 38 */ stfs f19, 0x38(r1) /* 800CE25C 000CB1BC D2 81 00 3C */ stfs f20, 0x3c(r1) /* 800CE260 000CB1C0 D2 A1 00 40 */ stfs f21, 0x40(r1) /* 800CE264 000CB1C4 D2 C1 00 44 */ stfs f22, 0x44(r1) /* 800CE268 000CB1C8 D2 E1 00 48 */ stfs f23, 0x48(r1) /* 800CE26C 000CB1CC D3 01 00 4C */ stfs f24, 0x4c(r1) /* 800CE270 000CB1D0 D3 21 00 50 */ stfs f25, 0x50(r1) /* 800CE274 000CB1D4 D3 41 00 54 */ stfs f26, 0x54(r1) /* 800CE278 000CB1D8 D3 61 00 58 */ stfs f27, 0x58(r1) /* 800CE27C 000CB1DC 93 01 00 5C */ stw r24, 0x5c(r1) /* 800CE280 000CB1E0 D3 81 00 60 */ stfs f28, 0x60(r1) /* 800CE284 000CB1E4 D3 A1 00 64 */ stfs f29, 0x64(r1) /* 800CE288 000CB1E8 D3 E1 00 68 */ stfs f31, 0x68(r1) /* 800CE28C 000CB1EC D3 C1 00 6C */ stfs f30, 0x6c(r1) /* 800CE290 000CB1F0 93 21 00 70 */ stw r25, 0x70(r1) /* 800CE294 000CB1F4 93 E1 00 74 */ stw r31, 0x74(r1) /* 800CE298 000CB1F8 48 09 84 C9 */ bl "__ct__6CDroneF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC11CDamageInfoUiUiUiRC11CDamageInfofUiQ24rstl60vectorRC16CActorParameters" /* 800CE29C 000CB1FC 7C 77 1B 78 */ mr r23, r3 lbl_800CE2A0: /* 800CE2A0 000CB200 7E A0 07 75 */ extsb. r0, r21 /* 800CE2A4 000CB204 41 82 00 10 */ beq lbl_800CE2B4 /* 800CE2A8 000CB208 38 61 02 68 */ addi r3, r1, 0x268 /* 800CE2AC 000CB20C 38 80 FF FF */ li r4, -1 /* 800CE2B0 000CB210 48 04 87 9D */ bl __dt__10CModelDataFv lbl_800CE2B4: /* 800CE2B4 000CB214 7E C0 07 75 */ extsb. r0, r22 /* 800CE2B8 000CB218 41 82 00 10 */ beq lbl_800CE2C8 /* 800CE2BC 000CB21C 38 61 00 88 */ addi r3, r1, 0x88 /* 800CE2C0 000CB220 38 80 FF FF */ li r4, -1 /* 800CE2C4 000CB224 4B FF F4 F5 */ bl sub_800cd7b8 lbl_800CE2C8: /* 800CE2C8 000CB228 38 61 00 98 */ addi r3, r1, 0x98 /* 800CE2CC 000CB22C 38 80 FF FF */ li r4, -1 /* 800CE2D0 000CB230 4B FF F4 E9 */ bl sub_800cd7b8 /* 800CE2D4 000CB234 88 01 01 6C */ lbz r0, 0x16c(r1) /* 800CE2D8 000CB238 28 00 00 00 */ cmplwi r0, 0 /* 800CE2DC 000CB23C 41 82 00 1C */ beq lbl_800CE2F8 /* 800CE2E0 000CB240 34 61 01 58 */ addic. r3, r1, 0x158 /* 800CE2E4 000CB244 41 82 00 14 */ beq lbl_800CE2F8 /* 800CE2E8 000CB248 28 03 00 00 */ cmplwi r3, 0 /* 800CE2EC 000CB24C 41 82 00 0C */ beq lbl_800CE2F8 /* 800CE2F0 000CB250 38 80 00 00 */ li r4, 0 /* 800CE2F4 000CB254 48 27 2B 4D */ bl __dt__6CTokenFv lbl_800CE2F8: /* 800CE2F8 000CB258 88 01 01 84 */ lbz r0, 0x184(r1) /* 800CE2FC 000CB25C 38 60 00 00 */ li r3, 0 /* 800CE300 000CB260 98 61 01 6C */ stb r3, 0x16c(r1) /* 800CE304 000CB264 28 00 00 00 */ cmplwi r0, 0 /* 800CE308 000CB268 41 82 00 1C */ beq lbl_800CE324 /* 800CE30C 000CB26C 34 61 01 70 */ addic. r3, r1, 0x170 /* 800CE310 000CB270 41 82 00 14 */ beq lbl_800CE324 /* 800CE314 000CB274 28 03 00 00 */ cmplwi r3, 0 /* 800CE318 000CB278 41 82 00 0C */ beq lbl_800CE324 /* 800CE31C 000CB27C 38 80 00 00 */ li r4, 0 /* 800CE320 000CB280 48 27 2B 21 */ bl __dt__6CTokenFv lbl_800CE324: /* 800CE324 000CB284 88 01 01 9C */ lbz r0, 0x19c(r1) /* 800CE328 000CB288 38 60 00 00 */ li r3, 0 /* 800CE32C 000CB28C 98 61 01 84 */ stb r3, 0x184(r1) /* 800CE330 000CB290 28 00 00 00 */ cmplwi r0, 0 /* 800CE334 000CB294 41 82 00 1C */ beq lbl_800CE350 /* 800CE338 000CB298 34 61 01 88 */ addic. r3, r1, 0x188 /* 800CE33C 000CB29C 41 82 00 14 */ beq lbl_800CE350 /* 800CE340 000CB2A0 28 03 00 00 */ cmplwi r3, 0 /* 800CE344 000CB2A4 41 82 00 0C */ beq lbl_800CE350 /* 800CE348 000CB2A8 38 80 00 00 */ li r4, 0 /* 800CE34C 000CB2AC 48 27 2A F5 */ bl __dt__6CTokenFv lbl_800CE350: /* 800CE350 000CB2B0 88 01 01 B4 */ lbz r0, 0x1b4(r1) /* 800CE354 000CB2B4 38 60 00 00 */ li r3, 0 /* 800CE358 000CB2B8 98 61 01 9C */ stb r3, 0x19c(r1) /* 800CE35C 000CB2BC 28 00 00 00 */ cmplwi r0, 0 /* 800CE360 000CB2C0 41 82 00 1C */ beq lbl_800CE37C /* 800CE364 000CB2C4 34 61 01 A0 */ addic. r3, r1, 0x1a0 /* 800CE368 000CB2C8 41 82 00 14 */ beq lbl_800CE37C /* 800CE36C 000CB2CC 28 03 00 00 */ cmplwi r3, 0 /* 800CE370 000CB2D0 41 82 00 0C */ beq lbl_800CE37C /* 800CE374 000CB2D4 38 80 00 00 */ li r4, 0 /* 800CE378 000CB2D8 48 27 2A C9 */ bl __dt__6CTokenFv lbl_800CE37C: /* 800CE37C 000CB2DC 88 01 01 CC */ lbz r0, 0x1cc(r1) /* 800CE380 000CB2E0 38 60 00 00 */ li r3, 0 /* 800CE384 000CB2E4 98 61 01 B4 */ stb r3, 0x1b4(r1) /* 800CE388 000CB2E8 28 00 00 00 */ cmplwi r0, 0 /* 800CE38C 000CB2EC 41 82 00 1C */ beq lbl_800CE3A8 /* 800CE390 000CB2F0 34 61 01 B8 */ addic. r3, r1, 0x1b8 /* 800CE394 000CB2F4 41 82 00 14 */ beq lbl_800CE3A8 /* 800CE398 000CB2F8 28 03 00 00 */ cmplwi r3, 0 /* 800CE39C 000CB2FC 41 82 00 0C */ beq lbl_800CE3A8 /* 800CE3A0 000CB300 38 80 00 00 */ li r4, 0 /* 800CE3A4 000CB304 48 27 2A 9D */ bl __dt__6CTokenFv lbl_800CE3A8: /* 800CE3A8 000CB308 38 00 00 00 */ li r0, 0 /* 800CE3AC 000CB30C 38 61 03 1C */ addi r3, r1, 0x31c /* 800CE3B0 000CB310 98 01 01 CC */ stb r0, 0x1cc(r1) /* 800CE3B4 000CB314 38 80 FF FF */ li r4, -1 /* 800CE3B8 000CB318 48 03 82 51 */ bl __dt__16CLightParametersFv /* 800CE3BC 000CB31C 38 61 00 B4 */ addi r3, r1, 0xb4 /* 800CE3C0 000CB320 48 26 F7 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CE3C4 000CB324 7E E3 BB 78 */ mr r3, r23 lbl_800CE3C8: /* 800CE3C8 000CB328 E3 E1 06 28 */ psq_l f31, 1576(r1), 0, qr0 /* 800CE3CC 000CB32C CB E1 06 20 */ lfd f31, 0x620(r1) /* 800CE3D0 000CB330 E3 C1 06 18 */ psq_l f30, 1560(r1), 0, qr0 /* 800CE3D4 000CB334 CB C1 06 10 */ lfd f30, 0x610(r1) /* 800CE3D8 000CB338 E3 A1 06 08 */ psq_l f29, 1544(r1), 0, qr0 /* 800CE3DC 000CB33C CB A1 06 00 */ lfd f29, 0x600(r1) /* 800CE3E0 000CB340 E3 81 05 F8 */ psq_l f28, 1528(r1), 0, qr0 /* 800CE3E4 000CB344 CB 81 05 F0 */ lfd f28, 0x5f0(r1) /* 800CE3E8 000CB348 E3 61 05 E8 */ psq_l f27, 1512(r1), 0, qr0 /* 800CE3EC 000CB34C CB 61 05 E0 */ lfd f27, 0x5e0(r1) /* 800CE3F0 000CB350 E3 41 05 D8 */ psq_l f26, 1496(r1), 0, qr0 /* 800CE3F4 000CB354 CB 41 05 D0 */ lfd f26, 0x5d0(r1) /* 800CE3F8 000CB358 E3 21 05 C8 */ psq_l f25, 1480(r1), 0, qr0 /* 800CE3FC 000CB35C CB 21 05 C0 */ lfd f25, 0x5c0(r1) /* 800CE400 000CB360 E3 01 05 B8 */ psq_l f24, 1464(r1), 0, qr0 /* 800CE404 000CB364 CB 01 05 B0 */ lfd f24, 0x5b0(r1) /* 800CE408 000CB368 E2 E1 05 A8 */ psq_l f23, 1448(r1), 0, qr0 /* 800CE40C 000CB36C CA E1 05 A0 */ lfd f23, 0x5a0(r1) /* 800CE410 000CB370 E2 C1 05 98 */ psq_l f22, 1432(r1), 0, qr0 /* 800CE414 000CB374 CA C1 05 90 */ lfd f22, 0x590(r1) /* 800CE418 000CB378 E2 A1 05 88 */ psq_l f21, 1416(r1), 0, qr0 /* 800CE41C 000CB37C CA A1 05 80 */ lfd f21, 0x580(r1) /* 800CE420 000CB380 E2 81 05 78 */ psq_l f20, 1400(r1), 0, qr0 /* 800CE424 000CB384 CA 81 05 70 */ lfd f20, 0x570(r1) /* 800CE428 000CB388 E2 61 05 68 */ psq_l f19, 1384(r1), 0, qr0 /* 800CE42C 000CB38C CA 61 05 60 */ lfd f19, 0x560(r1) /* 800CE430 000CB390 E2 41 05 58 */ psq_l f18, 1368(r1), 0, qr0 /* 800CE434 000CB394 CA 41 05 50 */ lfd f18, 0x550(r1) /* 800CE438 000CB398 E2 21 05 48 */ psq_l f17, 1352(r1), 0, qr0 /* 800CE43C 000CB39C CA 21 05 40 */ lfd f17, 0x540(r1) /* 800CE440 000CB3A0 E2 01 05 38 */ psq_l f16, 1336(r1), 0, qr0 /* 800CE444 000CB3A4 CA 01 05 30 */ lfd f16, 0x530(r1) /* 800CE448 000CB3A8 E1 E1 05 28 */ psq_l f15, 1320(r1), 0, qr0 /* 800CE44C 000CB3AC C9 E1 05 20 */ lfd f15, 0x520(r1) /* 800CE450 000CB3B0 E1 C1 05 18 */ psq_l f14, 1304(r1), 0, qr0 /* 800CE454 000CB3B4 C9 C1 05 10 */ lfd f14, 0x510(r1) /* 800CE458 000CB3B8 BA A1 04 E4 */ lmw r21, 0x4e4(r1) /* 800CE45C 000CB3BC 80 01 06 34 */ lwz r0, 0x634(r1) /* 800CE460 000CB3C0 7C 08 03 A6 */ mtlr r0 /* 800CE464 000CB3C4 38 21 06 30 */ addi r1, r1, 0x630 /* 800CE468 000CB3C8 4E 80 00 20 */ blr .global sub_800ce46c sub_800ce46c: /* 800CE46C 000CB3CC 94 21 FF E0 */ stwu r1, -0x20(r1) /* 800CE470 000CB3D0 7C 08 02 A6 */ mflr r0 /* 800CE474 000CB3D4 90 01 00 24 */ stw r0, 0x24(r1) /* 800CE478 000CB3D8 BF 61 00 0C */ stmw r27, 0xc(r1) /* 800CE47C 000CB3DC 7C 9D 23 78 */ mr r29, r4 /* 800CE480 000CB3E0 7C 7B 1B 78 */ mr r27, r3 /* 800CE484 000CB3E4 80 04 00 04 */ lwz r0, 4(r4) /* 800CE488 000CB3E8 90 03 00 04 */ stw r0, 4(r3) /* 800CE48C 000CB3EC 80 04 00 08 */ lwz r0, 8(r4) /* 800CE490 000CB3F0 90 03 00 08 */ stw r0, 8(r3) /* 800CE494 000CB3F4 80 04 00 04 */ lwz r0, 4(r4) /* 800CE498 000CB3F8 2C 00 00 00 */ cmpwi r0, 0 /* 800CE49C 000CB3FC 40 82 00 1C */ bne lbl_800CE4B8 /* 800CE4A0 000CB400 80 1D 00 08 */ lwz r0, 8(r29) /* 800CE4A4 000CB404 2C 00 00 00 */ cmpwi r0, 0 /* 800CE4A8 000CB408 40 82 00 10 */ bne lbl_800CE4B8 /* 800CE4AC 000CB40C 38 00 00 00 */ li r0, 0 /* 800CE4B0 000CB410 90 1B 00 0C */ stw r0, 0xc(r27) /* 800CE4B4 000CB414 48 00 00 8C */ b lbl_800CE540 lbl_800CE4B8: /* 800CE4B8 000CB418 80 1B 00 08 */ lwz r0, 8(r27) /* 800CE4BC 000CB41C 1C 60 00 14 */ mulli r3, r0, 0x14 /* 800CE4C0 000CB420 2C 03 00 00 */ cmpwi r3, 0 /* 800CE4C4 000CB424 40 82 00 10 */ bne lbl_800CE4D4 /* 800CE4C8 000CB428 38 00 00 00 */ li r0, 0 /* 800CE4CC 000CB42C 90 1B 00 0C */ stw r0, 0xc(r27) /* 800CE4D0 000CB430 48 00 00 1C */ b lbl_800CE4EC lbl_800CE4D4: /* 800CE4D4 000CB434 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CE4D8 000CB438 38 A0 00 00 */ li r5, 0 /* 800CE4DC 000CB43C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CE4E0 000CB440 38 84 00 0D */ addi r4, r4, 0xd /* 800CE4E4 000CB444 48 24 73 35 */ bl __nwa__FUlPCcPCc /* 800CE4E8 000CB448 90 7B 00 0C */ stw r3, 0xc(r27) lbl_800CE4EC: /* 800CE4EC 000CB44C 83 9B 00 04 */ lwz r28, 4(r27) /* 800CE4F0 000CB450 3B E0 00 00 */ li r31, 0 /* 800CE4F4 000CB454 83 BD 00 0C */ lwz r29, 0xc(r29) /* 800CE4F8 000CB458 83 DB 00 0C */ lwz r30, 0xc(r27) /* 800CE4FC 000CB45C 48 00 00 3C */ b lbl_800CE538 lbl_800CE500: /* 800CE500 000CB460 28 1E 00 00 */ cmplwi r30, 0 /* 800CE504 000CB464 41 82 00 28 */ beq lbl_800CE52C /* 800CE508 000CB468 7F C3 F3 78 */ mr r3, r30 /* 800CE50C 000CB46C 7F A4 EB 78 */ mr r4, r29 /* 800CE510 000CB470 48 27 29 99 */ bl __ct__6CTokenFRC6CToken /* 800CE514 000CB474 C0 1D 00 08 */ lfs f0, 8(r29) /* 800CE518 000CB478 D0 1E 00 08 */ stfs f0, 8(r30) /* 800CE51C 000CB47C C0 1D 00 0C */ lfs f0, 0xc(r29) /* 800CE520 000CB480 D0 1E 00 0C */ stfs f0, 0xc(r30) /* 800CE524 000CB484 80 1D 00 10 */ lwz r0, 0x10(r29) /* 800CE528 000CB488 90 1E 00 10 */ stw r0, 0x10(r30) lbl_800CE52C: /* 800CE52C 000CB48C 3B DE 00 14 */ addi r30, r30, 0x14 /* 800CE530 000CB490 3B FF 00 01 */ addi r31, r31, 1 /* 800CE534 000CB494 3B BD 00 14 */ addi r29, r29, 0x14 lbl_800CE538: /* 800CE538 000CB498 7C 1F E0 00 */ cmpw r31, r28 /* 800CE53C 000CB49C 41 80 FF C4 */ blt lbl_800CE500 lbl_800CE540: /* 800CE540 000CB4A0 7F 63 DB 78 */ mr r3, r27 /* 800CE544 000CB4A4 BB 61 00 0C */ lmw r27, 0xc(r1) /* 800CE548 000CB4A8 80 01 00 24 */ lwz r0, 0x24(r1) /* 800CE54C 000CB4AC 7C 08 03 A6 */ mtlr r0 /* 800CE550 000CB4B0 38 21 00 20 */ addi r1, r1, 0x20 /* 800CE554 000CB4B4 4E 80 00 20 */ blr .global LoadFlareDef__FR12CInputStream LoadFlareDef__FR12CInputStream: /* 800CE558 000CB4B8 94 21 FF 90 */ stwu r1, -0x70(r1) /* 800CE55C 000CB4BC 7C 08 02 A6 */ mflr r0 /* 800CE560 000CB4C0 90 01 00 74 */ stw r0, 0x74(r1) /* 800CE564 000CB4C4 DB E1 00 60 */ stfd f31, 0x60(r1) /* 800CE568 000CB4C8 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 800CE56C 000CB4CC DB C1 00 50 */ stfd f30, 0x50(r1) /* 800CE570 000CB4D0 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 /* 800CE574 000CB4D4 93 E1 00 4C */ stw r31, 0x4c(r1) /* 800CE578 000CB4D8 93 C1 00 48 */ stw r30, 0x48(r1) /* 800CE57C 000CB4DC 93 A1 00 44 */ stw r29, 0x44(r1) /* 800CE580 000CB4E0 7C 9E 23 78 */ mr r30, r4 /* 800CE584 000CB4E4 7C 7D 1B 78 */ mr r29, r3 /* 800CE588 000CB4E8 7F C3 F3 78 */ mr r3, r30 /* 800CE58C 000CB4EC 48 27 06 F9 */ bl ReadLong__12CInputStreamFv /* 800CE590 000CB4F0 2C 03 00 04 */ cmpwi r3, 4 /* 800CE594 000CB4F4 40 82 00 F4 */ bne lbl_800CE688 /* 800CE598 000CB4F8 7F C3 F3 78 */ mr r3, r30 /* 800CE59C 000CB4FC 48 27 06 E9 */ bl ReadLong__12CInputStreamFv /* 800CE5A0 000CB500 7C 7F 1B 78 */ mr r31, r3 /* 800CE5A4 000CB504 7F C3 F3 78 */ mr r3, r30 /* 800CE5A8 000CB508 48 27 06 81 */ bl ReadFloat__12CInputStreamFv /* 800CE5AC 000CB50C FF E0 08 90 */ fmr f31, f1 /* 800CE5B0 000CB510 7F C3 F3 78 */ mr r3, r30 /* 800CE5B4 000CB514 48 27 06 75 */ bl ReadFloat__12CInputStreamFv /* 800CE5B8 000CB518 FF C0 08 90 */ fmr f30, f1 /* 800CE5BC 000CB51C 7F C4 F3 78 */ mr r4, r30 /* 800CE5C0 000CB520 38 61 00 08 */ addi r3, r1, 8 /* 800CE5C4 000CB524 48 29 4E 89 */ bl __ct__6CColorFR12CInputStream /* 800CE5C8 000CB528 3C 1F 00 01 */ addis r0, r31, 1 /* 800CE5CC 000CB52C 28 00 FF FF */ cmplwi r0, 0xffff /* 800CE5D0 000CB530 41 82 00 B8 */ beq lbl_800CE688 /* 800CE5D4 000CB534 3C 60 54 58 */ lis r3, 0x54585452@ha /* 800CE5D8 000CB538 93 E1 00 18 */ stw r31, 0x18(r1) /* 800CE5DC 000CB53C 38 03 54 52 */ addi r0, r3, 0x54585452@l /* 800CE5E0 000CB540 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 800CE5E4 000CB544 90 01 00 14 */ stw r0, 0x14(r1) /* 800CE5E8 000CB548 38 61 00 0C */ addi r3, r1, 0xc /* 800CE5EC 000CB54C 38 A1 00 14 */ addi r5, r1, 0x14 /* 800CE5F0 000CB550 81 84 00 00 */ lwz r12, 0(r4) /* 800CE5F4 000CB554 81 8C 00 0C */ lwz r12, 0xc(r12) /* 800CE5F8 000CB558 7D 89 03 A6 */ mtctr r12 /* 800CE5FC 000CB55C 4E 80 04 21 */ bctrl /* 800CE600 000CB560 38 61 00 1C */ addi r3, r1, 0x1c /* 800CE604 000CB564 38 81 00 0C */ addi r4, r1, 0xc /* 800CE608 000CB568 48 27 28 A1 */ bl __ct__6CTokenFRC6CToken /* 800CE60C 000CB56C 38 61 00 0C */ addi r3, r1, 0xc /* 800CE610 000CB570 38 80 FF FF */ li r4, -1 /* 800CE614 000CB574 48 27 28 2D */ bl __dt__6CTokenFv /* 800CE618 000CB578 38 61 00 1C */ addi r3, r1, 0x1c /* 800CE61C 000CB57C 48 27 27 69 */ bl Lock__6CTokenFv /* 800CE620 000CB580 FC 20 F8 90 */ fmr f1, f31 /* 800CE624 000CB584 80 A1 00 08 */ lwz r5, 8(r1) /* 800CE628 000CB588 FC 40 F0 90 */ fmr f2, f30 /* 800CE62C 000CB58C 38 61 00 24 */ addi r3, r1, 0x24 /* 800CE630 000CB590 38 81 00 1C */ addi r4, r1, 0x1c /* 800CE634 000CB594 48 13 9D 75 */ bl "__ct__Q211CVisorFlare9CFlareDefFRC17TToken<8CTexture>ffUi" /* 800CE638 000CB598 38 00 00 01 */ li r0, 1 /* 800CE63C 000CB59C 28 1D 00 00 */ cmplwi r29, 0 /* 800CE640 000CB5A0 98 1D 00 14 */ stb r0, 0x14(r29) /* 800CE644 000CB5A4 41 82 00 28 */ beq lbl_800CE66C /* 800CE648 000CB5A8 7F A3 EB 78 */ mr r3, r29 /* 800CE64C 000CB5AC 38 81 00 24 */ addi r4, r1, 0x24 /* 800CE650 000CB5B0 48 27 28 59 */ bl __ct__6CTokenFRC6CToken /* 800CE654 000CB5B4 C0 01 00 2C */ lfs f0, 0x2c(r1) /* 800CE658 000CB5B8 D0 1D 00 08 */ stfs f0, 8(r29) /* 800CE65C 000CB5BC C0 01 00 30 */ lfs f0, 0x30(r1) /* 800CE660 000CB5C0 D0 1D 00 0C */ stfs f0, 0xc(r29) /* 800CE664 000CB5C4 80 01 00 34 */ lwz r0, 0x34(r1) /* 800CE668 000CB5C8 90 1D 00 10 */ stw r0, 0x10(r29) lbl_800CE66C: /* 800CE66C 000CB5CC 38 61 00 24 */ addi r3, r1, 0x24 /* 800CE670 000CB5D0 38 80 00 00 */ li r4, 0 /* 800CE674 000CB5D4 48 27 27 CD */ bl __dt__6CTokenFv /* 800CE678 000CB5D8 38 61 00 1C */ addi r3, r1, 0x1c /* 800CE67C 000CB5DC 38 80 00 00 */ li r4, 0 /* 800CE680 000CB5E0 48 27 27 C1 */ bl __dt__6CTokenFv /* 800CE684 000CB5E4 48 00 00 0C */ b lbl_800CE690 lbl_800CE688: /* 800CE688 000CB5E8 38 00 00 00 */ li r0, 0 /* 800CE68C 000CB5EC 98 1D 00 14 */ stb r0, 0x14(r29) lbl_800CE690: /* 800CE690 000CB5F0 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 800CE694 000CB5F4 CB E1 00 60 */ lfd f31, 0x60(r1) /* 800CE698 000CB5F8 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 /* 800CE69C 000CB5FC CB C1 00 50 */ lfd f30, 0x50(r1) /* 800CE6A0 000CB600 83 E1 00 4C */ lwz r31, 0x4c(r1) /* 800CE6A4 000CB604 83 C1 00 48 */ lwz r30, 0x48(r1) /* 800CE6A8 000CB608 80 01 00 74 */ lwz r0, 0x74(r1) /* 800CE6AC 000CB60C 83 A1 00 44 */ lwz r29, 0x44(r1) /* 800CE6B0 000CB610 7C 08 03 A6 */ mtlr r0 /* 800CE6B4 000CB614 38 21 00 70 */ addi r1, r1, 0x70 /* 800CE6B8 000CB618 4E 80 00 20 */ blr .global LoadFishCloudModifier__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadFishCloudModifier__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CE6BC 000CB61C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 800CE6C0 000CB620 7C 08 02 A6 */ mflr r0 /* 800CE6C4 000CB624 90 01 00 64 */ stw r0, 0x64(r1) /* 800CE6C8 000CB628 38 00 00 00 */ li r0, 0 /* 800CE6CC 000CB62C DB E1 00 58 */ stfd f31, 0x58(r1) /* 800CE6D0 000CB630 DB C1 00 50 */ stfd f30, 0x50(r1) /* 800CE6D4 000CB634 BF 21 00 34 */ stmw r25, 0x34(r1) /* 800CE6D8 000CB638 7C BB 2B 78 */ mr r27, r5 /* 800CE6DC 000CB63C 2C 1B 00 06 */ cmpwi r27, 6 /* 800CE6E0 000CB640 7C 7F 1B 78 */ mr r31, r3 /* 800CE6E4 000CB644 7C 99 23 78 */ mr r25, r4 /* 800CE6E8 000CB648 7C DA 33 78 */ mr r26, r6 /* 800CE6EC 000CB64C 41 80 00 10 */ blt lbl_800CE6FC /* 800CE6F0 000CB650 2C 1B 00 07 */ cmpwi r27, 7 /* 800CE6F4 000CB654 41 81 00 08 */ bgt lbl_800CE6FC /* 800CE6F8 000CB658 38 00 00 01 */ li r0, 1 lbl_800CE6FC: /* 800CE6FC 000CB65C 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800CE700 000CB660 40 82 00 0C */ bne lbl_800CE70C /* 800CE704 000CB664 38 60 00 00 */ li r3, 0 /* 800CE708 000CB668 48 00 00 E4 */ b lbl_800CE7EC lbl_800CE70C: /* 800CE70C 000CB66C 7F E3 FB 78 */ mr r3, r31 /* 800CE710 000CB670 7F 24 CB 78 */ mr r4, r25 /* 800CE714 000CB674 4B F7 6A D1 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CE718 000CB678 7C 64 1B 78 */ mr r4, r3 /* 800CE71C 000CB67C 38 61 00 1C */ addi r3, r1, 0x1c /* 800CE720 000CB680 48 26 FA 41 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CE724 000CB684 7F 24 CB 78 */ mr r4, r25 /* 800CE728 000CB688 38 61 00 10 */ addi r3, r1, 0x10 /* 800CE72C 000CB68C 48 24 64 61 */ bl __ct__9CVector3fFR12CInputStream /* 800CE730 000CB690 7F 23 CB 78 */ mr r3, r25 /* 800CE734 000CB694 48 27 05 A9 */ bl ReadBool__12CInputStreamFv /* 800CE738 000CB698 7C 7E 1B 78 */ mr r30, r3 /* 800CE73C 000CB69C 7F 23 CB 78 */ mr r3, r25 /* 800CE740 000CB6A0 48 27 05 9D */ bl ReadBool__12CInputStreamFv /* 800CE744 000CB6A4 2C 1B 00 06 */ cmpwi r27, 6 /* 800CE748 000CB6A8 7C 7D 1B 78 */ mr r29, r3 /* 800CE74C 000CB6AC 40 81 00 14 */ ble lbl_800CE760 /* 800CE750 000CB6B0 7F 23 CB 78 */ mr r3, r25 /* 800CE754 000CB6B4 48 27 05 89 */ bl ReadBool__12CInputStreamFv /* 800CE758 000CB6B8 7C 7C 1B 78 */ mr r28, r3 /* 800CE75C 000CB6BC 48 00 00 08 */ b lbl_800CE764 lbl_800CE760: /* 800CE760 000CB6C0 3B 80 00 00 */ li r28, 0 lbl_800CE764: /* 800CE764 000CB6C4 7F 23 CB 78 */ mr r3, r25 /* 800CE768 000CB6C8 48 27 04 C1 */ bl ReadFloat__12CInputStreamFv /* 800CE76C 000CB6CC FF E0 08 90 */ fmr f31, f1 /* 800CE770 000CB6D0 7F 23 CB 78 */ mr r3, r25 /* 800CE774 000CB6D4 48 27 04 B5 */ bl ReadFloat__12CInputStreamFv /* 800CE778 000CB6D8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CE77C 000CB6DC FF C0 08 90 */ fmr f30, f1 /* 800CE780 000CB6E0 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800CE784 000CB6E4 38 A0 00 00 */ li r5, 0 /* 800CE788 000CB6E8 38 60 00 F8 */ li r3, 0xf8 /* 800CE78C 000CB6EC 38 84 00 0D */ addi r4, r4, 0xd /* 800CE790 000CB6F0 48 24 70 DD */ bl __nw__FUlPCcPCc /* 800CE794 000CB6F4 7C 7B 1B 79 */ or. r27, r3, r3 /* 800CE798 000CB6F8 41 82 00 48 */ beq lbl_800CE7E0 /* 800CE79C 000CB6FC 7F E4 FB 78 */ mr r4, r31 /* 800CE7A0 000CB700 38 61 00 08 */ addi r3, r1, 8 /* 800CE7A4 000CB704 4B F7 E9 39 */ bl AllocateUniqueId__13CStateManagerFv /* 800CE7A8 000CB708 A0 01 00 08 */ lhz r0, 8(r1) /* 800CE7AC 000CB70C FC 20 F8 90 */ fmr f1, f31 /* 800CE7B0 000CB710 FC 40 F0 90 */ fmr f2, f30 /* 800CE7B4 000CB714 7F 63 DB 78 */ mr r3, r27 /* 800CE7B8 000CB718 B0 01 00 0C */ sth r0, 0xc(r1) /* 800CE7BC 000CB71C 7F C5 F3 78 */ mr r5, r30 /* 800CE7C0 000CB720 7F 47 D3 78 */ mr r7, r26 /* 800CE7C4 000CB724 7F A9 EB 78 */ mr r9, r29 /* 800CE7C8 000CB728 7F 8A E3 78 */ mr r10, r28 /* 800CE7CC 000CB72C 38 81 00 0C */ addi r4, r1, 0xc /* 800CE7D0 000CB730 38 C1 00 1C */ addi r6, r1, 0x1c /* 800CE7D4 000CB734 39 01 00 10 */ addi r8, r1, 0x10 /* 800CE7D8 000CB738 48 10 4A 01 */ bl "__ct__18CFishCloudModifierF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fbff" /* 800CE7DC 000CB73C 7C 7B 1B 78 */ mr r27, r3 lbl_800CE7E0: /* 800CE7E0 000CB740 38 61 00 1C */ addi r3, r1, 0x1c /* 800CE7E4 000CB744 48 26 F2 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CE7E8 000CB748 7F 63 DB 78 */ mr r3, r27 lbl_800CE7EC: /* 800CE7EC 000CB74C CB E1 00 58 */ lfd f31, 0x58(r1) /* 800CE7F0 000CB750 CB C1 00 50 */ lfd f30, 0x50(r1) /* 800CE7F4 000CB754 BB 21 00 34 */ lmw r25, 0x34(r1) /* 800CE7F8 000CB758 80 01 00 64 */ lwz r0, 0x64(r1) /* 800CE7FC 000CB75C 7C 08 03 A6 */ mtlr r0 /* 800CE800 000CB760 38 21 00 60 */ addi r1, r1, 0x60 /* 800CE804 000CB764 4E 80 00 20 */ blr .global LoadFishCloud__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadFishCloud__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CE808 000CB768 94 21 FD 80 */ stwu r1, -0x280(r1) /* 800CE80C 000CB76C 7C 08 02 A6 */ mflr r0 /* 800CE810 000CB770 90 01 02 84 */ stw r0, 0x284(r1) /* 800CE814 000CB774 DB E1 02 70 */ stfd f31, 0x270(r1) /* 800CE818 000CB778 F3 E1 02 78 */ psq_st f31, 632(r1), 0, qr0 /* 800CE81C 000CB77C DB C1 02 60 */ stfd f30, 0x260(r1) /* 800CE820 000CB780 F3 C1 02 68 */ psq_st f30, 616(r1), 0, qr0 /* 800CE824 000CB784 DB A1 02 50 */ stfd f29, 0x250(r1) /* 800CE828 000CB788 F3 A1 02 58 */ psq_st f29, 600(r1), 0, qr0 /* 800CE82C 000CB78C DB 81 02 40 */ stfd f28, 0x240(r1) /* 800CE830 000CB790 F3 81 02 48 */ psq_st f28, 584(r1), 0, qr0 /* 800CE834 000CB794 DB 61 02 30 */ stfd f27, 0x230(r1) /* 800CE838 000CB798 F3 61 02 38 */ psq_st f27, 568(r1), 0, qr0 /* 800CE83C 000CB79C DB 41 02 20 */ stfd f26, 0x220(r1) /* 800CE840 000CB7A0 F3 41 02 28 */ psq_st f26, 552(r1), 0, qr0 /* 800CE844 000CB7A4 DB 21 02 10 */ stfd f25, 0x210(r1) /* 800CE848 000CB7A8 F3 21 02 18 */ psq_st f25, 536(r1), 0, qr0 /* 800CE84C 000CB7AC DB 01 02 00 */ stfd f24, 0x200(r1) /* 800CE850 000CB7B0 F3 01 02 08 */ psq_st f24, 520(r1), 0, qr0 /* 800CE854 000CB7B4 DA E1 01 F0 */ stfd f23, 0x1f0(r1) /* 800CE858 000CB7B8 F2 E1 01 F8 */ psq_st f23, 504(r1), 0, qr0 /* 800CE85C 000CB7BC DA C1 01 E0 */ stfd f22, 0x1e0(r1) /* 800CE860 000CB7C0 F2 C1 01 E8 */ psq_st f22, 488(r1), 0, qr0 /* 800CE864 000CB7C4 DA A1 01 D0 */ stfd f21, 0x1d0(r1) /* 800CE868 000CB7C8 F2 A1 01 D8 */ psq_st f21, 472(r1), 0, qr0 /* 800CE86C 000CB7CC DA 81 01 C0 */ stfd f20, 0x1c0(r1) /* 800CE870 000CB7D0 F2 81 01 C8 */ psq_st f20, 456(r1), 0, qr0 /* 800CE874 000CB7D4 DA 61 01 B0 */ stfd f19, 0x1b0(r1) /* 800CE878 000CB7D8 F2 61 01 B8 */ psq_st f19, 440(r1), 0, qr0 /* 800CE87C 000CB7DC DA 41 01 A0 */ stfd f18, 0x1a0(r1) /* 800CE880 000CB7E0 F2 41 01 A8 */ psq_st f18, 424(r1), 0, qr0 /* 800CE884 000CB7E4 BD C1 01 58 */ stmw r14, 0x158(r1) /* 800CE888 000CB7E8 2C 05 00 24 */ cmpwi r5, 0x24 /* 800CE88C 000CB7EC 90 C1 00 60 */ stw r6, 0x60(r1) /* 800CE890 000CB7F0 7C 70 1B 78 */ mr r16, r3 /* 800CE894 000CB7F4 7C 8E 23 78 */ mr r14, r4 /* 800CE898 000CB7F8 41 82 00 0C */ beq lbl_800CE8A4 /* 800CE89C 000CB7FC 38 60 00 00 */ li r3, 0 /* 800CE8A0 000CB800 48 00 03 28 */ b lbl_800CEBC8 lbl_800CE8A4: /* 800CE8A4 000CB804 7E 05 83 78 */ mr r5, r16 /* 800CE8A8 000CB808 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800CE8AC 000CB80C 48 00 BB D1 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800CE8B0 000CB810 7D C3 73 78 */ mr r3, r14 /* 800CE8B4 000CB814 48 27 04 29 */ bl ReadBool__12CInputStreamFv /* 800CE8B8 000CB818 98 61 01 40 */ stb r3, 0x140(r1) /* 800CE8BC 000CB81C 7D C3 73 78 */ mr r3, r14 /* 800CE8C0 000CB820 48 27 03 C5 */ bl ReadLong__12CInputStreamFv /* 800CE8C4 000CB824 7C 73 1B 78 */ mr r19, r3 /* 800CE8C8 000CB828 7D C3 73 78 */ mr r3, r14 /* 800CE8CC 000CB82C 48 27 03 B9 */ bl ReadLong__12CInputStreamFv /* 800CE8D0 000CB830 7C 74 1B 78 */ mr r20, r3 /* 800CE8D4 000CB834 7D C3 73 78 */ mr r3, r14 /* 800CE8D8 000CB838 48 27 03 AD */ bl ReadLong__12CInputStreamFv /* 800CE8DC 000CB83C 7C 75 1B 78 */ mr r21, r3 /* 800CE8E0 000CB840 7D C3 73 78 */ mr r3, r14 /* 800CE8E4 000CB844 48 27 03 A1 */ bl ReadLong__12CInputStreamFv /* 800CE8E8 000CB848 7C 76 1B 78 */ mr r22, r3 /* 800CE8EC 000CB84C 7D C3 73 78 */ mr r3, r14 /* 800CE8F0 000CB850 48 27 03 39 */ bl ReadFloat__12CInputStreamFv /* 800CE8F4 000CB854 FC 00 08 1E */ fctiwz f0, f1 /* 800CE8F8 000CB858 7D C3 73 78 */ mr r3, r14 /* 800CE8FC 000CB85C D8 01 01 38 */ stfd f0, 0x138(r1) /* 800CE900 000CB860 82 41 01 3C */ lwz r18, 0x13c(r1) /* 800CE904 000CB864 48 27 03 25 */ bl ReadFloat__12CInputStreamFv /* 800CE908 000CB868 FF 20 08 90 */ fmr f25, f1 /* 800CE90C 000CB86C 7D C3 73 78 */ mr r3, r14 /* 800CE910 000CB870 48 27 03 19 */ bl ReadFloat__12CInputStreamFv /* 800CE914 000CB874 FF 00 08 90 */ fmr f24, f1 /* 800CE918 000CB878 7D C3 73 78 */ mr r3, r14 /* 800CE91C 000CB87C 48 27 03 0D */ bl ReadFloat__12CInputStreamFv /* 800CE920 000CB880 FE E0 08 90 */ fmr f23, f1 /* 800CE924 000CB884 7D C3 73 78 */ mr r3, r14 /* 800CE928 000CB888 48 27 03 01 */ bl ReadFloat__12CInputStreamFv /* 800CE92C 000CB88C FE C0 08 90 */ fmr f22, f1 /* 800CE930 000CB890 7D C3 73 78 */ mr r3, r14 /* 800CE934 000CB894 48 27 02 F5 */ bl ReadFloat__12CInputStreamFv /* 800CE938 000CB898 FE A0 08 90 */ fmr f21, f1 /* 800CE93C 000CB89C 7D C3 73 78 */ mr r3, r14 /* 800CE940 000CB8A0 48 27 02 E9 */ bl ReadFloat__12CInputStreamFv /* 800CE944 000CB8A4 FE 80 08 90 */ fmr f20, f1 /* 800CE948 000CB8A8 7D C3 73 78 */ mr r3, r14 /* 800CE94C 000CB8AC 48 27 02 DD */ bl ReadFloat__12CInputStreamFv /* 800CE950 000CB8B0 FE 60 08 90 */ fmr f19, f1 /* 800CE954 000CB8B4 7D C3 73 78 */ mr r3, r14 /* 800CE958 000CB8B8 48 27 02 D1 */ bl ReadFloat__12CInputStreamFv /* 800CE95C 000CB8BC FE 40 08 90 */ fmr f18, f1 /* 800CE960 000CB8C0 7D C3 73 78 */ mr r3, r14 /* 800CE964 000CB8C4 48 27 02 C5 */ bl ReadFloat__12CInputStreamFv /* 800CE968 000CB8C8 FF 40 08 90 */ fmr f26, f1 /* 800CE96C 000CB8CC 7D C3 73 78 */ mr r3, r14 /* 800CE970 000CB8D0 48 27 02 B9 */ bl ReadFloat__12CInputStreamFv /* 800CE974 000CB8D4 FF 60 08 90 */ fmr f27, f1 /* 800CE978 000CB8D8 7D C3 73 78 */ mr r3, r14 /* 800CE97C 000CB8DC 48 27 02 AD */ bl ReadFloat__12CInputStreamFv /* 800CE980 000CB8E0 FF 80 08 90 */ fmr f28, f1 /* 800CE984 000CB8E4 7D C3 73 78 */ mr r3, r14 /* 800CE988 000CB8E8 48 27 02 A1 */ bl ReadFloat__12CInputStreamFv /* 800CE98C 000CB8EC FF A0 08 90 */ fmr f29, f1 /* 800CE990 000CB8F0 7D C3 73 78 */ mr r3, r14 /* 800CE994 000CB8F4 48 27 02 95 */ bl ReadFloat__12CInputStreamFv /* 800CE998 000CB8F8 FF C0 08 90 */ fmr f30, f1 /* 800CE99C 000CB8FC 7D C3 73 78 */ mr r3, r14 /* 800CE9A0 000CB900 48 27 02 E5 */ bl ReadLong__12CInputStreamFv /* 800CE9A4 000CB904 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800CE9A8 000CB908 7C 77 1B 78 */ mr r23, r3 /* 800CE9AC 000CB90C 7E 64 9B 78 */ mr r4, r19 /* 800CE9B0 000CB910 38 65 00 04 */ addi r3, r5, 4 /* 800CE9B4 000CB914 48 26 D3 19 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800CE9B8 000CB918 28 03 00 00 */ cmplwi r3, 0 /* 800CE9BC 000CB91C 40 82 00 14 */ bne lbl_800CE9D0 /* 800CE9C0 000CB920 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800CE9C4 000CB924 48 26 F1 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CE9C8 000CB928 38 60 00 00 */ li r3, 0 /* 800CE9CC 000CB92C 48 00 01 FC */ b lbl_800CEBC8 lbl_800CE9D0: /* 800CE9D0 000CB930 7D C4 73 78 */ mr r4, r14 /* 800CE9D4 000CB934 38 61 00 6C */ addi r3, r1, 0x6c /* 800CE9D8 000CB938 48 29 4A 75 */ bl __ct__6CColorFR12CInputStream /* 800CE9DC 000CB93C 7D C3 73 78 */ mr r3, r14 /* 800CE9E0 000CB940 48 27 02 FD */ bl ReadBool__12CInputStreamFv /* 800CE9E4 000CB944 7C 78 1B 78 */ mr r24, r3 /* 800CE9E8 000CB948 7D C3 73 78 */ mr r3, r14 /* 800CE9EC 000CB94C 48 27 02 3D */ bl ReadFloat__12CInputStreamFv /* 800CE9F0 000CB950 FF E0 08 90 */ fmr f31, f1 /* 800CE9F4 000CB954 7D C3 73 78 */ mr r3, r14 /* 800CE9F8 000CB958 48 27 02 8D */ bl ReadLong__12CInputStreamFv /* 800CE9FC 000CB95C 7C 79 1B 78 */ mr r25, r3 /* 800CEA00 000CB960 7D C3 73 78 */ mr r3, r14 /* 800CEA04 000CB964 48 27 02 81 */ bl ReadLong__12CInputStreamFv /* 800CEA08 000CB968 7C 7A 1B 78 */ mr r26, r3 /* 800CEA0C 000CB96C 7D C3 73 78 */ mr r3, r14 /* 800CEA10 000CB970 48 27 02 75 */ bl ReadLong__12CInputStreamFv /* 800CEA14 000CB974 7C 7B 1B 78 */ mr r27, r3 /* 800CEA18 000CB978 7D C3 73 78 */ mr r3, r14 /* 800CEA1C 000CB97C 48 27 02 69 */ bl ReadLong__12CInputStreamFv /* 800CEA20 000CB980 7C 7C 1B 78 */ mr r28, r3 /* 800CEA24 000CB984 7D C3 73 78 */ mr r3, r14 /* 800CEA28 000CB988 48 27 02 5D */ bl ReadLong__12CInputStreamFv /* 800CEA2C 000CB98C 7C 7D 1B 78 */ mr r29, r3 /* 800CEA30 000CB990 7D C3 73 78 */ mr r3, r14 /* 800CEA34 000CB994 48 27 02 51 */ bl ReadLong__12CInputStreamFv /* 800CEA38 000CB998 7C 7E 1B 78 */ mr r30, r3 /* 800CEA3C 000CB99C 7D C3 73 78 */ mr r3, r14 /* 800CEA40 000CB9A0 48 27 02 45 */ bl ReadLong__12CInputStreamFv /* 800CEA44 000CB9A4 7C 7F 1B 78 */ mr r31, r3 /* 800CEA48 000CB9A8 7D C3 73 78 */ mr r3, r14 /* 800CEA4C 000CB9AC 48 27 02 39 */ bl ReadLong__12CInputStreamFv /* 800CEA50 000CB9B0 90 61 01 44 */ stw r3, 0x144(r1) /* 800CEA54 000CB9B4 7D C3 73 78 */ mr r3, r14 /* 800CEA58 000CB9B8 48 27 02 2D */ bl ReadLong__12CInputStreamFv /* 800CEA5C 000CB9BC 90 61 01 48 */ stw r3, 0x148(r1) /* 800CEA60 000CB9C0 7D C3 73 78 */ mr r3, r14 /* 800CEA64 000CB9C4 48 27 02 79 */ bl ReadBool__12CInputStreamFv /* 800CEA68 000CB9C8 90 61 01 4C */ stw r3, 0x14c(r1) /* 800CEA6C 000CB9CC 7D C3 73 78 */ mr r3, r14 /* 800CEA70 000CB9D0 48 27 02 6D */ bl ReadBool__12CInputStreamFv /* 800CEA74 000CB9D4 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CEA78 000CB9D8 7C 6E 1B 78 */ mr r14, r3 /* 800CEA7C 000CB9DC 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l /* 800CEA80 000CB9E0 39 E0 00 00 */ li r15, 0 /* 800CEA84 000CB9E4 38 83 00 0D */ addi r4, r3, 0xd /* 800CEA88 000CB9E8 38 60 02 58 */ li r3, 0x258 /* 800CEA8C 000CB9EC 38 A0 00 00 */ li r5, 0 /* 800CEA90 000CB9F0 48 24 6D DD */ bl __nw__FUlPCcPCc /* 800CEA94 000CB9F4 7C 71 1B 79 */ or. r17, r3, r3 /* 800CEA98 000CB9F8 41 82 01 10 */ beq lbl_800CEBA8 /* 800CEA9C 000CB9FC C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800CEAA0 000CBA00 38 00 00 01 */ li r0, 1 /* 800CEAA4 000CBA04 92 81 00 80 */ stw r20, 0x80(r1) /* 800CEAA8 000CBA08 38 61 00 9C */ addi r3, r1, 0x9c /* 800CEAAC 000CBA0C 38 81 00 70 */ addi r4, r1, 0x70 /* 800CEAB0 000CBA10 92 A1 00 84 */ stw r21, 0x84(r1) /* 800CEAB4 000CBA14 D0 01 00 88 */ stfs f0, 0x88(r1) /* 800CEAB8 000CBA18 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 800CEABC 000CBA1C D0 01 00 90 */ stfs f0, 0x90(r1) /* 800CEAC0 000CBA20 98 01 00 94 */ stb r0, 0x94(r1) /* 800CEAC4 000CBA24 92 C1 00 98 */ stw r22, 0x98(r1) /* 800CEAC8 000CBA28 92 61 00 70 */ stw r19, 0x70(r1) /* 800CEACC 000CBA2C D0 01 00 74 */ stfs f0, 0x74(r1) /* 800CEAD0 000CBA30 D0 01 00 78 */ stfs f0, 0x78(r1) /* 800CEAD4 000CBA34 D0 01 00 7C */ stfs f0, 0x7c(r1) /* 800CEAD8 000CBA38 48 04 82 85 */ bl __ct__10CModelDataFRC10CStaticRes /* 800CEADC 000CBA3C 7E 04 83 78 */ mr r4, r16 /* 800CEAE0 000CBA40 38 61 00 64 */ addi r3, r1, 0x64 /* 800CEAE4 000CBA44 39 E0 00 01 */ li r15, 1 /* 800CEAE8 000CBA48 4B F7 E5 F5 */ bl AllocateUniqueId__13CStateManagerFv /* 800CEAEC 000CBA4C A0 61 00 64 */ lhz r3, 0x64(r1) /* 800CEAF0 000CBA50 38 81 00 80 */ addi r4, r1, 0x80 /* 800CEAF4 000CBA54 38 01 00 6C */ addi r0, r1, 0x6c /* 800CEAF8 000CBA58 FC 20 C8 90 */ fmr f1, f25 /* 800CEAFC 000CBA5C B0 61 00 68 */ sth r3, 0x68(r1) /* 800CEB00 000CBA60 FC 40 C0 90 */ fmr f2, f24 /* 800CEB04 000CBA64 FC 60 B8 90 */ fmr f3, f23 /* 800CEB08 000CBA68 88 A1 01 40 */ lbz r5, 0x140(r1) /* 800CEB0C 000CBA6C 90 81 00 08 */ stw r4, 8(r1) /* 800CEB10 000CBA70 FC 80 B0 90 */ fmr f4, f22 /* 800CEB14 000CBA74 80 E1 00 60 */ lwz r7, 0x60(r1) /* 800CEB18 000CBA78 92 41 00 0C */ stw r18, 0xc(r1) /* 800CEB1C 000CBA7C FC A0 A8 90 */ fmr f5, f21 /* 800CEB20 000CBA80 7E 23 8B 78 */ mr r3, r17 /* 800CEB24 000CBA84 D3 41 00 10 */ stfs f26, 0x10(r1) /* 800CEB28 000CBA88 FC C0 A0 90 */ fmr f6, f20 /* 800CEB2C 000CBA8C 38 81 00 68 */ addi r4, r1, 0x68 /* 800CEB30 000CBA90 D3 61 00 14 */ stfs f27, 0x14(r1) /* 800CEB34 000CBA94 FC E0 98 90 */ fmr f7, f19 /* 800CEB38 000CBA98 38 C1 00 E8 */ addi r6, r1, 0xe8 /* 800CEB3C 000CBA9C D3 81 00 18 */ stfs f28, 0x18(r1) /* 800CEB40 000CBAA0 FD 00 90 90 */ fmr f8, f18 /* 800CEB44 000CBAA4 39 01 01 28 */ addi r8, r1, 0x128 /* 800CEB48 000CBAA8 D3 A1 00 1C */ stfs f29, 0x1c(r1) /* 800CEB4C 000CBAAC 39 21 00 F8 */ addi r9, r1, 0xf8 /* 800CEB50 000CBAB0 39 41 00 9C */ addi r10, r1, 0x9c /* 800CEB54 000CBAB4 D3 C1 00 20 */ stfs f30, 0x20(r1) /* 800CEB58 000CBAB8 92 E1 00 24 */ stw r23, 0x24(r1) /* 800CEB5C 000CBABC 90 01 00 28 */ stw r0, 0x28(r1) /* 800CEB60 000CBAC0 80 01 01 44 */ lwz r0, 0x144(r1) /* 800CEB64 000CBAC4 93 01 00 2C */ stw r24, 0x2c(r1) /* 800CEB68 000CBAC8 D3 E1 00 30 */ stfs f31, 0x30(r1) /* 800CEB6C 000CBACC 93 21 00 34 */ stw r25, 0x34(r1) /* 800CEB70 000CBAD0 93 41 00 38 */ stw r26, 0x38(r1) /* 800CEB74 000CBAD4 93 61 00 3C */ stw r27, 0x3c(r1) /* 800CEB78 000CBAD8 93 81 00 40 */ stw r28, 0x40(r1) /* 800CEB7C 000CBADC 93 A1 00 44 */ stw r29, 0x44(r1) /* 800CEB80 000CBAE0 93 C1 00 48 */ stw r30, 0x48(r1) /* 800CEB84 000CBAE4 93 E1 00 4C */ stw r31, 0x4c(r1) /* 800CEB88 000CBAE8 90 01 00 50 */ stw r0, 0x50(r1) /* 800CEB8C 000CBAEC 80 01 01 48 */ lwz r0, 0x148(r1) /* 800CEB90 000CBAF0 90 01 00 54 */ stw r0, 0x54(r1) /* 800CEB94 000CBAF4 80 01 01 4C */ lwz r0, 0x14c(r1) /* 800CEB98 000CBAF8 90 01 00 58 */ stw r0, 0x58(r1) /* 800CEB9C 000CBAFC 91 C1 00 5C */ stw r14, 0x5c(r1) /* 800CEBA0 000CBB00 48 10 35 AD */ bl "__ct__10CFishCloudF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fRC10CModelDatafffff" /* 800CEBA4 000CBB04 7C 71 1B 78 */ mr r17, r3 lbl_800CEBA8: /* 800CEBA8 000CBB08 7D E0 07 75 */ extsb. r0, r15 /* 800CEBAC 000CBB0C 41 82 00 10 */ beq lbl_800CEBBC /* 800CEBB0 000CBB10 38 61 00 9C */ addi r3, r1, 0x9c /* 800CEBB4 000CBB14 38 80 FF FF */ li r4, -1 /* 800CEBB8 000CBB18 48 04 7E 95 */ bl __dt__10CModelDataFv lbl_800CEBBC: /* 800CEBBC 000CBB1C 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800CEBC0 000CBB20 48 26 EF 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CEBC4 000CBB24 7E 23 8B 78 */ mr r3, r17 lbl_800CEBC8: /* 800CEBC8 000CBB28 E3 E1 02 78 */ psq_l f31, 632(r1), 0, qr0 /* 800CEBCC 000CBB2C CB E1 02 70 */ lfd f31, 0x270(r1) /* 800CEBD0 000CBB30 E3 C1 02 68 */ psq_l f30, 616(r1), 0, qr0 /* 800CEBD4 000CBB34 CB C1 02 60 */ lfd f30, 0x260(r1) /* 800CEBD8 000CBB38 E3 A1 02 58 */ psq_l f29, 600(r1), 0, qr0 /* 800CEBDC 000CBB3C CB A1 02 50 */ lfd f29, 0x250(r1) /* 800CEBE0 000CBB40 E3 81 02 48 */ psq_l f28, 584(r1), 0, qr0 /* 800CEBE4 000CBB44 CB 81 02 40 */ lfd f28, 0x240(r1) /* 800CEBE8 000CBB48 E3 61 02 38 */ psq_l f27, 568(r1), 0, qr0 /* 800CEBEC 000CBB4C CB 61 02 30 */ lfd f27, 0x230(r1) /* 800CEBF0 000CBB50 E3 41 02 28 */ psq_l f26, 552(r1), 0, qr0 /* 800CEBF4 000CBB54 CB 41 02 20 */ lfd f26, 0x220(r1) /* 800CEBF8 000CBB58 E3 21 02 18 */ psq_l f25, 536(r1), 0, qr0 /* 800CEBFC 000CBB5C CB 21 02 10 */ lfd f25, 0x210(r1) /* 800CEC00 000CBB60 E3 01 02 08 */ psq_l f24, 520(r1), 0, qr0 /* 800CEC04 000CBB64 CB 01 02 00 */ lfd f24, 0x200(r1) /* 800CEC08 000CBB68 E2 E1 01 F8 */ psq_l f23, 504(r1), 0, qr0 /* 800CEC0C 000CBB6C CA E1 01 F0 */ lfd f23, 0x1f0(r1) /* 800CEC10 000CBB70 E2 C1 01 E8 */ psq_l f22, 488(r1), 0, qr0 /* 800CEC14 000CBB74 CA C1 01 E0 */ lfd f22, 0x1e0(r1) /* 800CEC18 000CBB78 E2 A1 01 D8 */ psq_l f21, 472(r1), 0, qr0 /* 800CEC1C 000CBB7C CA A1 01 D0 */ lfd f21, 0x1d0(r1) /* 800CEC20 000CBB80 E2 81 01 C8 */ psq_l f20, 456(r1), 0, qr0 /* 800CEC24 000CBB84 CA 81 01 C0 */ lfd f20, 0x1c0(r1) /* 800CEC28 000CBB88 E2 61 01 B8 */ psq_l f19, 440(r1), 0, qr0 /* 800CEC2C 000CBB8C CA 61 01 B0 */ lfd f19, 0x1b0(r1) /* 800CEC30 000CBB90 E2 41 01 A8 */ psq_l f18, 424(r1), 0, qr0 /* 800CEC34 000CBB94 CA 41 01 A0 */ lfd f18, 0x1a0(r1) /* 800CEC38 000CBB98 B9 C1 01 58 */ lmw r14, 0x158(r1) /* 800CEC3C 000CBB9C 80 01 02 84 */ lwz r0, 0x284(r1) /* 800CEC40 000CBBA0 7C 08 03 A6 */ mtlr r0 /* 800CEC44 000CBBA4 38 21 02 80 */ addi r1, r1, 0x280 /* 800CEC48 000CBBA8 4E 80 00 20 */ blr .global LoadRoomAcoustics__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadRoomAcoustics__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CEC4C 000CBBAC 94 21 FE D0 */ stwu r1, -0x130(r1) /* 800CEC50 000CBBB0 7C 08 02 A6 */ mflr r0 /* 800CEC54 000CBBB4 90 01 01 34 */ stw r0, 0x134(r1) /* 800CEC58 000CBBB8 39 61 01 30 */ addi r11, r1, 0x130 /* 800CEC5C 000CBBBC 48 2B AD 65 */ bl _savefpr_18 /* 800CEC60 000CBBC0 BD C1 00 78 */ stmw r14, 0x78(r1) /* 800CEC64 000CBBC4 2C 05 00 20 */ cmpwi r5, 0x20 /* 800CEC68 000CBBC8 90 61 00 58 */ stw r3, 0x58(r1) /* 800CEC6C 000CBBCC 7C 8E 23 78 */ mr r14, r4 /* 800CEC70 000CBBD0 90 C1 00 5C */ stw r6, 0x5c(r1) /* 800CEC74 000CBBD4 41 82 00 0C */ beq lbl_800CEC80 /* 800CEC78 000CBBD8 38 60 00 00 */ li r3, 0 /* 800CEC7C 000CBBDC 48 00 02 5C */ b lbl_800CEED8 lbl_800CEC80: /* 800CEC80 000CBBE0 4B F7 65 65 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CEC84 000CBBE4 7C 64 1B 78 */ mr r4, r3 /* 800CEC88 000CBBE8 38 61 00 68 */ addi r3, r1, 0x68 /* 800CEC8C 000CBBEC 48 26 F4 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CEC90 000CBBF0 7D C3 73 78 */ mr r3, r14 /* 800CEC94 000CBBF4 48 27 00 49 */ bl ReadBool__12CInputStreamFv /* 800CEC98 000CBBF8 7C 73 1B 78 */ mr r19, r3 /* 800CEC9C 000CBBFC 7D C3 73 78 */ mr r3, r14 /* 800CECA0 000CBC00 48 26 FF E5 */ bl ReadLong__12CInputStreamFv /* 800CECA4 000CBC04 7C 72 1B 78 */ mr r18, r3 /* 800CECA8 000CBC08 7D C3 73 78 */ mr r3, r14 /* 800CECAC 000CBC0C 48 27 00 31 */ bl ReadBool__12CInputStreamFv /* 800CECB0 000CBC10 7C 71 1B 78 */ mr r17, r3 /* 800CECB4 000CBC14 7D C3 73 78 */ mr r3, r14 /* 800CECB8 000CBC18 48 27 00 25 */ bl ReadBool__12CInputStreamFv /* 800CECBC 000CBC1C 7C 70 1B 78 */ mr r16, r3 /* 800CECC0 000CBC20 7D C3 73 78 */ mr r3, r14 /* 800CECC4 000CBC24 48 26 FF 65 */ bl ReadFloat__12CInputStreamFv /* 800CECC8 000CBC28 FF 20 08 90 */ fmr f25, f1 /* 800CECCC 000CBC2C 7D C3 73 78 */ mr r3, r14 /* 800CECD0 000CBC30 48 26 FF 59 */ bl ReadFloat__12CInputStreamFv /* 800CECD4 000CBC34 FF 00 08 90 */ fmr f24, f1 /* 800CECD8 000CBC38 7D C3 73 78 */ mr r3, r14 /* 800CECDC 000CBC3C 48 26 FF 4D */ bl ReadFloat__12CInputStreamFv /* 800CECE0 000CBC40 FE E0 08 90 */ fmr f23, f1 /* 800CECE4 000CBC44 7D C3 73 78 */ mr r3, r14 /* 800CECE8 000CBC48 48 26 FF 41 */ bl ReadFloat__12CInputStreamFv /* 800CECEC 000CBC4C FE C0 08 90 */ fmr f22, f1 /* 800CECF0 000CBC50 7D C3 73 78 */ mr r3, r14 /* 800CECF4 000CBC54 48 26 FF 35 */ bl ReadFloat__12CInputStreamFv /* 800CECF8 000CBC58 FE A0 08 90 */ fmr f21, f1 /* 800CECFC 000CBC5C 7D C3 73 78 */ mr r3, r14 /* 800CED00 000CBC60 48 26 FF 29 */ bl ReadFloat__12CInputStreamFv /* 800CED04 000CBC64 FE 80 08 90 */ fmr f20, f1 /* 800CED08 000CBC68 7D C3 73 78 */ mr r3, r14 /* 800CED0C 000CBC6C 48 26 FF D1 */ bl ReadBool__12CInputStreamFv /* 800CED10 000CBC70 7C 74 1B 78 */ mr r20, r3 /* 800CED14 000CBC74 7D C3 73 78 */ mr r3, r14 /* 800CED18 000CBC78 48 26 FF 11 */ bl ReadFloat__12CInputStreamFv /* 800CED1C 000CBC7C FE 60 08 90 */ fmr f19, f1 /* 800CED20 000CBC80 7D C3 73 78 */ mr r3, r14 /* 800CED24 000CBC84 48 26 FF 05 */ bl ReadFloat__12CInputStreamFv /* 800CED28 000CBC88 FE 40 08 90 */ fmr f18, f1 /* 800CED2C 000CBC8C 7D C3 73 78 */ mr r3, r14 /* 800CED30 000CBC90 48 26 FE F9 */ bl ReadFloat__12CInputStreamFv /* 800CED34 000CBC94 FF 40 08 90 */ fmr f26, f1 /* 800CED38 000CBC98 7D C3 73 78 */ mr r3, r14 /* 800CED3C 000CBC9C 48 26 FF A1 */ bl ReadBool__12CInputStreamFv /* 800CED40 000CBCA0 7C 75 1B 78 */ mr r21, r3 /* 800CED44 000CBCA4 7D C3 73 78 */ mr r3, r14 /* 800CED48 000CBCA8 48 26 FF 95 */ bl ReadBool__12CInputStreamFv /* 800CED4C 000CBCAC 7C 76 1B 78 */ mr r22, r3 /* 800CED50 000CBCB0 7D C3 73 78 */ mr r3, r14 /* 800CED54 000CBCB4 48 26 FE D5 */ bl ReadFloat__12CInputStreamFv /* 800CED58 000CBCB8 FF 60 08 90 */ fmr f27, f1 /* 800CED5C 000CBCBC 7D C3 73 78 */ mr r3, r14 /* 800CED60 000CBCC0 48 26 FE C9 */ bl ReadFloat__12CInputStreamFv /* 800CED64 000CBCC4 FF 80 08 90 */ fmr f28, f1 /* 800CED68 000CBCC8 7D C3 73 78 */ mr r3, r14 /* 800CED6C 000CBCCC 48 26 FE BD */ bl ReadFloat__12CInputStreamFv /* 800CED70 000CBCD0 FF A0 08 90 */ fmr f29, f1 /* 800CED74 000CBCD4 7D C3 73 78 */ mr r3, r14 /* 800CED78 000CBCD8 48 26 FE B1 */ bl ReadFloat__12CInputStreamFv /* 800CED7C 000CBCDC FF C0 08 90 */ fmr f30, f1 /* 800CED80 000CBCE0 7D C3 73 78 */ mr r3, r14 /* 800CED84 000CBCE4 48 26 FE A5 */ bl ReadFloat__12CInputStreamFv /* 800CED88 000CBCE8 FF E0 08 90 */ fmr f31, f1 /* 800CED8C 000CBCEC 7D C3 73 78 */ mr r3, r14 /* 800CED90 000CBCF0 48 26 FF 4D */ bl ReadBool__12CInputStreamFv /* 800CED94 000CBCF4 7C 77 1B 78 */ mr r23, r3 /* 800CED98 000CBCF8 7D C3 73 78 */ mr r3, r14 /* 800CED9C 000CBCFC 48 26 FE E9 */ bl ReadLong__12CInputStreamFv /* 800CEDA0 000CBD00 7C 78 1B 78 */ mr r24, r3 /* 800CEDA4 000CBD04 7D C3 73 78 */ mr r3, r14 /* 800CEDA8 000CBD08 48 26 FE DD */ bl ReadLong__12CInputStreamFv /* 800CEDAC 000CBD0C 7C 79 1B 78 */ mr r25, r3 /* 800CEDB0 000CBD10 7D C3 73 78 */ mr r3, r14 /* 800CEDB4 000CBD14 48 26 FE D1 */ bl ReadLong__12CInputStreamFv /* 800CEDB8 000CBD18 7C 7A 1B 78 */ mr r26, r3 /* 800CEDBC 000CBD1C 7D C3 73 78 */ mr r3, r14 /* 800CEDC0 000CBD20 48 26 FE C5 */ bl ReadLong__12CInputStreamFv /* 800CEDC4 000CBD24 7C 7B 1B 78 */ mr r27, r3 /* 800CEDC8 000CBD28 7D C3 73 78 */ mr r3, r14 /* 800CEDCC 000CBD2C 48 26 FE B9 */ bl ReadLong__12CInputStreamFv /* 800CEDD0 000CBD30 7C 7C 1B 78 */ mr r28, r3 /* 800CEDD4 000CBD34 7D C3 73 78 */ mr r3, r14 /* 800CEDD8 000CBD38 48 26 FE AD */ bl ReadLong__12CInputStreamFv /* 800CEDDC 000CBD3C 7C 7D 1B 78 */ mr r29, r3 /* 800CEDE0 000CBD40 7D C3 73 78 */ mr r3, r14 /* 800CEDE4 000CBD44 48 26 FE A1 */ bl ReadLong__12CInputStreamFv /* 800CEDE8 000CBD48 7C 7E 1B 78 */ mr r30, r3 /* 800CEDEC 000CBD4C 7D C3 73 78 */ mr r3, r14 /* 800CEDF0 000CBD50 48 26 FE 95 */ bl ReadLong__12CInputStreamFv /* 800CEDF4 000CBD54 7C 7F 1B 78 */ mr r31, r3 /* 800CEDF8 000CBD58 7D C3 73 78 */ mr r3, r14 /* 800CEDFC 000CBD5C 48 26 FE 89 */ bl ReadLong__12CInputStreamFv /* 800CEE00 000CBD60 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CEE04 000CBD64 7C 6E 1B 78 */ mr r14, r3 /* 800CEE08 000CBD68 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CEE0C 000CBD6C 38 60 00 A4 */ li r3, 0xa4 /* 800CEE10 000CBD70 38 84 00 0D */ addi r4, r4, 0xd /* 800CEE14 000CBD74 38 A0 00 00 */ li r5, 0 /* 800CEE18 000CBD78 48 24 6A 55 */ bl __nw__FUlPCcPCc /* 800CEE1C 000CBD7C 7C 6F 1B 79 */ or. r15, r3, r3 /* 800CEE20 000CBD80 41 82 00 AC */ beq lbl_800CEECC /* 800CEE24 000CBD84 80 81 00 58 */ lwz r4, 0x58(r1) /* 800CEE28 000CBD88 38 61 00 60 */ addi r3, r1, 0x60 /* 800CEE2C 000CBD8C 4B F7 E2 B1 */ bl AllocateUniqueId__13CStateManagerFv /* 800CEE30 000CBD90 A0 01 00 60 */ lhz r0, 0x60(r1) /* 800CEE34 000CBD94 FC 20 C8 90 */ fmr f1, f25 /* 800CEE38 000CBD98 FC 40 C0 90 */ fmr f2, f24 /* 800CEE3C 000CBD9C 80 C1 00 5C */ lwz r6, 0x5c(r1) /* 800CEE40 000CBDA0 B0 01 00 64 */ sth r0, 0x64(r1) /* 800CEE44 000CBDA4 FC 60 B8 90 */ fmr f3, f23 /* 800CEE48 000CBDA8 FC 80 B0 90 */ fmr f4, f22 /* 800CEE4C 000CBDAC 92 81 00 08 */ stw r20, 8(r1) /* 800CEE50 000CBDB0 FC A0 A8 90 */ fmr f5, f21 /* 800CEE54 000CBDB4 7D E3 7B 78 */ mr r3, r15 /* 800CEE58 000CBDB8 D3 41 00 0C */ stfs f26, 0xc(r1) /* 800CEE5C 000CBDBC FC C0 A0 90 */ fmr f6, f20 /* 800CEE60 000CBDC0 FC E0 98 90 */ fmr f7, f19 /* 800CEE64 000CBDC4 7E 67 9B 78 */ mr r7, r19 /* 800CEE68 000CBDC8 92 A1 00 10 */ stw r21, 0x10(r1) /* 800CEE6C 000CBDCC FD 00 90 90 */ fmr f8, f18 /* 800CEE70 000CBDD0 7E 48 93 78 */ mr r8, r18 /* 800CEE74 000CBDD4 7E 29 8B 78 */ mr r9, r17 /* 800CEE78 000CBDD8 92 C1 00 14 */ stw r22, 0x14(r1) /* 800CEE7C 000CBDDC 7E 0A 83 78 */ mr r10, r16 /* 800CEE80 000CBDE0 38 81 00 64 */ addi r4, r1, 0x64 /* 800CEE84 000CBDE4 D3 61 00 18 */ stfs f27, 0x18(r1) /* 800CEE88 000CBDE8 38 A1 00 68 */ addi r5, r1, 0x68 /* 800CEE8C 000CBDEC D3 81 00 1C */ stfs f28, 0x1c(r1) /* 800CEE90 000CBDF0 D3 A1 00 20 */ stfs f29, 0x20(r1) /* 800CEE94 000CBDF4 D3 C1 00 24 */ stfs f30, 0x24(r1) /* 800CEE98 000CBDF8 D3 E1 00 28 */ stfs f31, 0x28(r1) /* 800CEE9C 000CBDFC 92 E1 00 2C */ stw r23, 0x2c(r1) /* 800CEEA0 000CBE00 93 01 00 30 */ stw r24, 0x30(r1) /* 800CEEA4 000CBE04 93 21 00 34 */ stw r25, 0x34(r1) /* 800CEEA8 000CBE08 93 41 00 38 */ stw r26, 0x38(r1) /* 800CEEAC 000CBE0C 93 61 00 3C */ stw r27, 0x3c(r1) /* 800CEEB0 000CBE10 93 81 00 40 */ stw r28, 0x40(r1) /* 800CEEB4 000CBE14 93 A1 00 44 */ stw r29, 0x44(r1) /* 800CEEB8 000CBE18 93 C1 00 48 */ stw r30, 0x48(r1) /* 800CEEBC 000CBE1C 93 E1 00 4C */ stw r31, 0x4c(r1) /* 800CEEC0 000CBE20 91 C1 00 50 */ stw r14, 0x50(r1) /* 800CEEC4 000CBE24 48 0C F1 49 */ bl "__ct__20CScriptRoomAcousticsF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobbbfffffffbfffbbfffffbiiiiiiiii" /* 800CEEC8 000CBE28 7C 6F 1B 78 */ mr r15, r3 lbl_800CEECC: /* 800CEECC 000CBE2C 38 61 00 68 */ addi r3, r1, 0x68 /* 800CEED0 000CBE30 48 26 EC 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CEED4 000CBE34 7D E3 7B 78 */ mr r3, r15 lbl_800CEED8: /* 800CEED8 000CBE38 39 61 01 30 */ addi r11, r1, 0x130 /* 800CEEDC 000CBE3C 48 2B AB 31 */ bl _restfpr_18 /* 800CEEE0 000CBE40 B9 C1 00 78 */ lmw r14, 0x78(r1) /* 800CEEE4 000CBE44 80 01 01 34 */ lwz r0, 0x134(r1) /* 800CEEE8 000CBE48 7C 08 03 A6 */ mtlr r0 /* 800CEEEC 000CBE4C 38 21 01 30 */ addi r1, r1, 0x130 /* 800CEEF0 000CBE50 4E 80 00 20 */ blr .global LoadPlayerActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadPlayerActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CEEF4 000CBE54 94 21 FC F0 */ stwu r1, -0x310(r1) /* 800CEEF8 000CBE58 7C 08 02 A6 */ mflr r0 /* 800CEEFC 000CBE5C 90 01 03 14 */ stw r0, 0x314(r1) /* 800CEF00 000CBE60 DB E1 03 00 */ stfd f31, 0x300(r1) /* 800CEF04 000CBE64 F3 E1 03 08 */ psq_st f31, 776(r1), 0, qr0 /* 800CEF08 000CBE68 DB C1 02 F0 */ stfd f30, 0x2f0(r1) /* 800CEF0C 000CBE6C F3 C1 02 F8 */ psq_st f30, 760(r1), 0, qr0 /* 800CEF10 000CBE70 BE A1 02 C4 */ stmw r21, 0x2c4(r1) /* 800CEF14 000CBE74 2C 05 00 13 */ cmpwi r5, 0x13 /* 800CEF18 000CBE78 7C 77 1B 78 */ mr r23, r3 /* 800CEF1C 000CBE7C 7C 99 23 78 */ mr r25, r4 /* 800CEF20 000CBE80 7C D8 33 78 */ mr r24, r6 /* 800CEF24 000CBE84 41 82 00 0C */ beq lbl_800CEF30 /* 800CEF28 000CBE88 38 60 00 00 */ li r3, 0 /* 800CEF2C 000CBE8C 48 00 03 C0 */ b lbl_800CF2EC lbl_800CEF30: /* 800CEF30 000CBE90 7E E5 BB 78 */ mr r5, r23 /* 800CEF34 000CBE94 38 61 02 74 */ addi r3, r1, 0x274 /* 800CEF38 000CBE98 48 00 B5 45 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800CEF3C 000CBE9C 7F 24 CB 78 */ mr r4, r25 /* 800CEF40 000CBEA0 38 61 00 80 */ addi r3, r1, 0x80 /* 800CEF44 000CBEA4 48 24 5C 49 */ bl __ct__9CVector3fFR12CInputStream /* 800CEF48 000CBEA8 7F 24 CB 78 */ mr r4, r25 /* 800CEF4C 000CBEAC 38 61 00 74 */ addi r3, r1, 0x74 /* 800CEF50 000CBEB0 48 24 5C 3D */ bl __ct__9CVector3fFR12CInputStream /* 800CEF54 000CBEB4 7F 23 CB 78 */ mr r3, r25 /* 800CEF58 000CBEB8 48 26 FC D1 */ bl ReadFloat__12CInputStreamFv /* 800CEF5C 000CBEBC FF E0 08 90 */ fmr f31, f1 /* 800CEF60 000CBEC0 7F 23 CB 78 */ mr r3, r25 /* 800CEF64 000CBEC4 48 26 FC C5 */ bl ReadFloat__12CInputStreamFv /* 800CEF68 000CBEC8 FF C0 08 90 */ fmr f30, f1 /* 800CEF6C 000CBECC 7F 24 CB 78 */ mr r4, r25 /* 800CEF70 000CBED0 38 61 00 48 */ addi r3, r1, 0x48 /* 800CEF74 000CBED4 48 10 48 D1 */ bl __ct__11CHealthInfoFR12CInputStream /* 800CEF78 000CBED8 7F 24 CB 78 */ mr r4, r25 /* 800CEF7C 000CBEDC 38 61 02 0C */ addi r3, r1, 0x20c /* 800CEF80 000CBEE0 48 03 3B D9 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 800CEF84 000CBEE4 7F 23 CB 78 */ mr r3, r25 /* 800CEF88 000CBEE8 48 26 FC FD */ bl ReadLong__12CInputStreamFv /* 800CEF8C 000CBEEC 7F 24 CB 78 */ mr r4, r25 /* 800CEF90 000CBEF0 38 61 00 68 */ addi r3, r1, 0x68 /* 800CEF94 000CBEF4 48 00 B4 79 */ bl LoadAnimationParameters__FR12CInputStream /* 800CEF98 000CBEF8 83 61 00 68 */ lwz r27, 0x68(r1) /* 800CEF9C 000CBEFC 7F 24 CB 78 */ mr r4, r25 /* 800CEFA0 000CBF00 83 41 00 70 */ lwz r26, 0x70(r1) /* 800CEFA4 000CBF04 38 61 01 3C */ addi r3, r1, 0x13c /* 800CEFA8 000CBF08 48 00 AD CD */ bl LoadActorParameters__FR12CInputStream /* 800CEFAC 000CBF0C 38 61 01 A4 */ addi r3, r1, 0x1a4 /* 800CEFB0 000CBF10 38 81 01 3C */ addi r4, r1, 0x13c /* 800CEFB4 000CBF14 4B FF 66 69 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CEFB8 000CBF18 38 61 01 3C */ addi r3, r1, 0x13c /* 800CEFBC 000CBF1C 38 80 FF FF */ li r4, -1 /* 800CEFC0 000CBF20 48 03 76 49 */ bl __dt__16CLightParametersFv /* 800CEFC4 000CBF24 7F 23 CB 78 */ mr r3, r25 /* 800CEFC8 000CBF28 48 26 FD 15 */ bl ReadBool__12CInputStreamFv /* 800CEFCC 000CBF2C 7C 7C 1B 78 */ mr r28, r3 /* 800CEFD0 000CBF30 7F 23 CB 78 */ mr r3, r25 /* 800CEFD4 000CBF34 48 26 FD 09 */ bl ReadBool__12CInputStreamFv /* 800CEFD8 000CBF38 7C 75 1B 78 */ mr r21, r3 /* 800CEFDC 000CBF3C 7F 23 CB 78 */ mr r3, r25 /* 800CEFE0 000CBF40 48 26 FC FD */ bl ReadBool__12CInputStreamFv /* 800CEFE4 000CBF44 7C 76 1B 78 */ mr r22, r3 /* 800CEFE8 000CBF48 7F 23 CB 78 */ mr r3, r25 /* 800CEFEC 000CBF4C 48 26 FC F1 */ bl ReadBool__12CInputStreamFv /* 800CEFF0 000CBF50 7C 7D 1B 78 */ mr r29, r3 /* 800CEFF4 000CBF54 7F 23 CB 78 */ mr r3, r25 /* 800CEFF8 000CBF58 48 00 AC 05 */ bl LoadParameterFlags__FR12CInputStream /* 800CEFFC 000CBF5C 7C 7E 1B 78 */ mr r30, r3 /* 800CF000 000CBF60 7F 23 CB 78 */ mr r3, r25 /* 800CF004 000CBF64 48 26 FC 81 */ bl ReadLong__12CInputStreamFv /* 800CF008 000CBF68 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800CF00C 000CBF6C 3B 23 FF FF */ addi r25, r3, -1 /* 800CF010 000CBF70 7F 64 DB 78 */ mr r4, r27 /* 800CF014 000CBF74 38 65 00 04 */ addi r3, r5, 4 /* 800CF018 000CBF78 48 26 CC B5 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800CF01C 000CBF7C 7C 7F 1B 79 */ or. r31, r3, r3 /* 800CF020 000CBF80 40 82 00 20 */ bne lbl_800CF040 /* 800CF024 000CBF84 38 61 01 A4 */ addi r3, r1, 0x1a4 /* 800CF028 000CBF88 38 80 FF FF */ li r4, -1 /* 800CF02C 000CBF8C 48 03 75 DD */ bl __dt__16CLightParametersFv /* 800CF030 000CBF90 38 61 02 74 */ addi r3, r1, 0x274 /* 800CF034 000CBF94 48 26 EA AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CF038 000CBF98 38 60 00 00 */ li r3, 0 /* 800CF03C 000CBF9C 48 00 02 B0 */ b lbl_800CF2EC lbl_800CF040: /* 800CF040 000CBFA0 80 18 00 00 */ lwz r0, 0(r24) /* 800CF044 000CBFA4 7E E4 BB 78 */ mr r4, r23 /* 800CF048 000CBFA8 38 61 00 A4 */ addi r3, r1, 0xa4 /* 800CF04C 000CBFAC 38 A1 00 3C */ addi r5, r1, 0x3c /* 800CF050 000CBFB0 90 01 00 38 */ stw r0, 0x38(r1) /* 800CF054 000CBFB4 38 C1 00 80 */ addi r6, r1, 0x80 /* 800CF058 000CBFB8 38 E1 00 74 */ addi r7, r1, 0x74 /* 800CF05C 000CBFBC 90 01 00 3C */ stw r0, 0x3c(r1) /* 800CF060 000CBFC0 48 00 B6 BD */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f /* 800CF064 000CBFC4 C0 A1 00 A4 */ lfs f5, 0xa4(r1) /* 800CF068 000CBFC8 38 60 00 00 */ li r3, 0 /* 800CF06C 000CBFCC C0 81 00 A8 */ lfs f4, 0xa8(r1) /* 800CF070 000CBFD0 56 A0 06 3F */ clrlwi. r0, r21, 0x18 /* 800CF074 000CBFD4 C0 61 00 AC */ lfs f3, 0xac(r1) /* 800CF078 000CBFD8 C0 41 00 B0 */ lfs f2, 0xb0(r1) /* 800CF07C 000CBFDC C0 21 00 B4 */ lfs f1, 0xb4(r1) /* 800CF080 000CBFE0 C0 01 00 B8 */ lfs f0, 0xb8(r1) /* 800CF084 000CBFE4 D0 A1 00 D8 */ stfs f5, 0xd8(r1) /* 800CF088 000CBFE8 D0 81 00 DC */ stfs f4, 0xdc(r1) /* 800CF08C 000CBFEC D0 61 00 E0 */ stfs f3, 0xe0(r1) /* 800CF090 000CBFF0 D0 41 00 E4 */ stfs f2, 0xe4(r1) /* 800CF094 000CBFF4 D0 21 00 E8 */ stfs f1, 0xe8(r1) /* 800CF098 000CBFF8 D0 01 00 EC */ stfs f0, 0xec(r1) /* 800CF09C 000CBFFC 90 61 00 44 */ stw r3, 0x44(r1) /* 800CF0A0 000CC000 90 61 00 40 */ stw r3, 0x40(r1) /* 800CF0A4 000CC004 41 82 00 10 */ beq lbl_800CF0B4 /* 800CF0A8 000CC008 38 00 08 00 */ li r0, 0x800 /* 800CF0AC 000CC00C 90 61 00 44 */ stw r3, 0x44(r1) /* 800CF0B0 000CC010 90 01 00 40 */ stw r0, 0x40(r1) lbl_800CF0B4: /* 800CF0B4 000CC014 56 C0 06 3F */ clrlwi. r0, r22, 0x18 /* 800CF0B8 000CC018 41 82 00 1C */ beq lbl_800CF0D4 /* 800CF0BC 000CC01C 80 81 00 44 */ lwz r4, 0x44(r1) /* 800CF0C0 000CC020 3C 00 00 08 */ lis r0, 8 /* 800CF0C4 000CC024 80 61 00 40 */ lwz r3, 0x40(r1) /* 800CF0C8 000CC028 7C 80 03 78 */ or r0, r4, r0 /* 800CF0CC 000CC02C 90 01 00 44 */ stw r0, 0x44(r1) /* 800CF0D0 000CC030 90 61 00 40 */ stw r3, 0x40(r1) lbl_800CF0D4: /* 800CF0D4 000CC034 C0 81 00 80 */ lfs f4, 0x80(r1) /* 800CF0D8 000CC038 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800CF0DC 000CC03C FC 04 08 40 */ fcmpo cr0, f4, f1 /* 800CF0E0 000CC040 40 80 00 0C */ bge lbl_800CF0EC /* 800CF0E4 000CC044 38 A0 00 01 */ li r5, 1 /* 800CF0E8 000CC048 48 00 00 30 */ b lbl_800CF118 lbl_800CF0EC: /* 800CF0EC 000CC04C C0 01 00 84 */ lfs f0, 0x84(r1) /* 800CF0F0 000CC050 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800CF0F4 000CC054 40 80 00 0C */ bge lbl_800CF100 /* 800CF0F8 000CC058 38 A0 00 01 */ li r5, 1 /* 800CF0FC 000CC05C 48 00 00 1C */ b lbl_800CF118 lbl_800CF100: /* 800CF100 000CC060 C0 01 00 88 */ lfs f0, 0x88(r1) /* 800CF104 000CC064 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800CF108 000CC068 40 80 00 0C */ bge lbl_800CF114 /* 800CF10C 000CC06C 38 A0 00 01 */ li r5, 1 /* 800CF110 000CC070 48 00 00 08 */ b lbl_800CF118 lbl_800CF114: /* 800CF114 000CC074 38 A0 00 00 */ li r5, 0 lbl_800CF118: /* 800CF118 000CC078 3C 1F BE B2 */ addis r0, r31, 0xbeb2 /* 800CF11C 000CC07C 28 00 43 53 */ cmplwi r0, 0x4353 /* 800CF120 000CC080 40 82 01 B4 */ bne lbl_800CF2D4 /* 800CF124 000CC084 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 800CF128 000CC088 C4 03 66 A0 */ lfsu f0, sZeroVector__9CVector3f@l(r3) /* 800CF12C 000CC08C C0 61 02 B4 */ lfs f3, 0x2b4(r1) /* 800CF130 000CC090 38 00 00 04 */ li r0, 4 /* 800CF134 000CC094 C0 41 02 B8 */ lfs f2, 0x2b8(r1) /* 800CF138 000CC098 FC 04 00 00 */ fcmpu cr0, f4, f0 /* 800CF13C 000CC09C C0 21 02 BC */ lfs f1, 0x2bc(r1) /* 800CF140 000CC0A0 38 80 00 00 */ li r4, 0 /* 800CF144 000CC0A4 93 61 00 BC */ stw r27, 0xbc(r1) /* 800CF148 000CC0A8 90 01 00 C0 */ stw r0, 0xc0(r1) /* 800CF14C 000CC0AC D0 61 00 C4 */ stfs f3, 0xc4(r1) /* 800CF150 000CC0B0 D0 41 00 C8 */ stfs f2, 0xc8(r1) /* 800CF154 000CC0B4 D0 21 00 CC */ stfs f1, 0xcc(r1) /* 800CF158 000CC0B8 9B 81 00 D0 */ stb r28, 0xd0(r1) /* 800CF15C 000CC0BC 93 41 00 D4 */ stw r26, 0xd4(r1) /* 800CF160 000CC0C0 40 82 00 24 */ bne lbl_800CF184 /* 800CF164 000CC0C4 C0 21 00 84 */ lfs f1, 0x84(r1) /* 800CF168 000CC0C8 C0 03 00 04 */ lfs f0, 4(r3) /* 800CF16C 000CC0CC FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800CF170 000CC0D0 40 82 00 14 */ bne lbl_800CF184 /* 800CF174 000CC0D4 C0 21 00 88 */ lfs f1, 0x88(r1) /* 800CF178 000CC0D8 C0 03 00 08 */ lfs f0, 8(r3) /* 800CF17C 000CC0DC FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800CF180 000CC0E0 41 82 00 0C */ beq lbl_800CF18C lbl_800CF184: /* 800CF184 000CC0E4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 /* 800CF188 000CC0E8 41 82 00 08 */ beq lbl_800CF190 lbl_800CF18C: /* 800CF18C 000CC0EC 38 80 00 01 */ li r4, 1 lbl_800CF190: /* 800CF190 000CC0F0 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 800CF194 000CC0F4 41 82 00 64 */ beq lbl_800CF1F8 /* 800CF198 000CC0F8 C0 22 8E 60 */ lfs f1, lbl_805AAB80@sda21(r2) /* 800CF19C 000CC0FC 38 61 00 8C */ addi r3, r1, 0x8c /* 800CF1A0 000CC100 C0 02 8E 64 */ lfs f0, lbl_805AAB84@sda21(r2) /* 800CF1A4 000CC104 38 81 00 5C */ addi r4, r1, 0x5c /* 800CF1A8 000CC108 D0 21 00 50 */ stfs f1, 0x50(r1) /* 800CF1AC 000CC10C 38 A1 00 50 */ addi r5, r1, 0x50 /* 800CF1B0 000CC110 D0 21 00 54 */ stfs f1, 0x54(r1) /* 800CF1B4 000CC114 D0 21 00 58 */ stfs f1, 0x58(r1) /* 800CF1B8 000CC118 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 800CF1BC 000CC11C D0 01 00 60 */ stfs f0, 0x60(r1) /* 800CF1C0 000CC120 D0 01 00 64 */ stfs f0, 0x64(r1) /* 800CF1C4 000CC124 48 26 93 45 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 800CF1C8 000CC128 80 E1 00 8C */ lwz r7, 0x8c(r1) /* 800CF1CC 000CC12C 80 C1 00 90 */ lwz r6, 0x90(r1) /* 800CF1D0 000CC130 80 A1 00 94 */ lwz r5, 0x94(r1) /* 800CF1D4 000CC134 80 81 00 98 */ lwz r4, 0x98(r1) /* 800CF1D8 000CC138 80 61 00 9C */ lwz r3, 0x9c(r1) /* 800CF1DC 000CC13C 80 01 00 A0 */ lwz r0, 0xa0(r1) /* 800CF1E0 000CC140 90 E1 00 D8 */ stw r7, 0xd8(r1) /* 800CF1E4 000CC144 90 C1 00 DC */ stw r6, 0xdc(r1) /* 800CF1E8 000CC148 90 A1 00 E0 */ stw r5, 0xe0(r1) /* 800CF1EC 000CC14C 90 81 00 E4 */ stw r4, 0xe4(r1) /* 800CF1F0 000CC150 90 61 00 E8 */ stw r3, 0xe8(r1) /* 800CF1F4 000CC154 90 01 00 EC */ stw r0, 0xec(r1) lbl_800CF1F8: /* 800CF1F8 000CC158 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CF1FC 000CC15C 3B 40 00 00 */ li r26, 0 /* 800CF200 000CC160 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800CF204 000CC164 38 60 03 58 */ li r3, 0x358 /* 800CF208 000CC168 38 84 00 0D */ addi r4, r4, 0xd /* 800CF20C 000CC16C 38 A0 00 00 */ li r5, 0 /* 800CF210 000CC170 48 24 66 5D */ bl __nw__FUlPCcPCc /* 800CF214 000CC174 7C 75 1B 79 */ or. r21, r3, r3 /* 800CF218 000CC178 41 82 00 8C */ beq lbl_800CF2A4 /* 800CF21C 000CC17C 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800CF220 000CC180 4B F6 B5 85 */ bl CModelDataNull__10CModelDataFv /* 800CF224 000CC184 7E E4 BB 78 */ mr r4, r23 /* 800CF228 000CC188 38 61 00 30 */ addi r3, r1, 0x30 /* 800CF22C 000CC18C 3B 40 00 01 */ li r26, 1 /* 800CF230 000CC190 4B F7 DE AD */ bl AllocateUniqueId__13CStateManagerFv /* 800CF234 000CC194 A0 01 00 30 */ lhz r0, 0x30(r1) /* 800CF238 000CC198 38 60 00 01 */ li r3, 1 /* 800CF23C 000CC19C 38 81 00 40 */ addi r4, r1, 0x40 /* 800CF240 000CC1A0 38 E1 00 48 */ addi r7, r1, 0x48 /* 800CF244 000CC1A4 B0 01 00 34 */ sth r0, 0x34(r1) /* 800CF248 000CC1A8 39 41 02 0C */ addi r10, r1, 0x20c /* 800CF24C 000CC1AC 38 01 01 A4 */ addi r0, r1, 0x1a4 /* 800CF250 000CC1B0 FC 20 F8 90 */ fmr f1, f31 /* 800CF254 000CC1B4 90 61 00 08 */ stw r3, 8(r1) /* 800CF258 000CC1B8 FC 40 F0 90 */ fmr f2, f30 /* 800CF25C 000CC1BC 7E A3 AB 78 */ mr r3, r21 /* 800CF260 000CC1C0 7F 06 C3 78 */ mr r6, r24 /* 800CF264 000CC1C4 90 81 00 0C */ stw r4, 0xc(r1) /* 800CF268 000CC1C8 38 81 00 34 */ addi r4, r1, 0x34 /* 800CF26C 000CC1CC 38 A1 02 74 */ addi r5, r1, 0x274 /* 800CF270 000CC1D0 90 E1 00 10 */ stw r7, 0x10(r1) /* 800CF274 000CC1D4 38 E1 02 84 */ addi r7, r1, 0x284 /* 800CF278 000CC1D8 39 01 00 BC */ addi r8, r1, 0xbc /* 800CF27C 000CC1DC 39 21 00 F0 */ addi r9, r1, 0xf0 /* 800CF280 000CC1E0 91 41 00 14 */ stw r10, 0x14(r1) /* 800CF284 000CC1E4 39 41 00 D8 */ addi r10, r1, 0xd8 /* 800CF288 000CC1E8 90 01 00 18 */ stw r0, 0x18(r1) /* 800CF28C 000CC1EC 93 81 00 1C */ stw r28, 0x1c(r1) /* 800CF290 000CC1F0 93 A1 00 20 */ stw r29, 0x20(r1) /* 800CF294 000CC1F4 93 C1 00 24 */ stw r30, 0x24(r1) /* 800CF298 000CC1F8 93 21 00 28 */ stw r25, 0x28(r1) /* 800CF29C 000CC1FC 48 0D CD 41 */ bl "__ct__18CScriptPlayerActorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC8CAnimResRC10CModelDataRC6CAABoxbRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbb" /* 800CF2A0 000CC200 7C 75 1B 78 */ mr r21, r3 lbl_800CF2A4: /* 800CF2A4 000CC204 7F 40 07 75 */ extsb. r0, r26 /* 800CF2A8 000CC208 41 82 00 10 */ beq lbl_800CF2B8 /* 800CF2AC 000CC20C 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800CF2B0 000CC210 38 80 FF FF */ li r4, -1 /* 800CF2B4 000CC214 48 04 77 99 */ bl __dt__10CModelDataFv lbl_800CF2B8: /* 800CF2B8 000CC218 38 61 01 A4 */ addi r3, r1, 0x1a4 /* 800CF2BC 000CC21C 38 80 FF FF */ li r4, -1 /* 800CF2C0 000CC220 48 03 73 49 */ bl __dt__16CLightParametersFv /* 800CF2C4 000CC224 38 61 02 74 */ addi r3, r1, 0x274 /* 800CF2C8 000CC228 48 26 E8 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CF2CC 000CC22C 7E A3 AB 78 */ mr r3, r21 /* 800CF2D0 000CC230 48 00 00 1C */ b lbl_800CF2EC lbl_800CF2D4: /* 800CF2D4 000CC234 38 61 01 A4 */ addi r3, r1, 0x1a4 /* 800CF2D8 000CC238 38 80 FF FF */ li r4, -1 /* 800CF2DC 000CC23C 48 03 73 2D */ bl __dt__16CLightParametersFv /* 800CF2E0 000CC240 38 61 02 74 */ addi r3, r1, 0x274 /* 800CF2E4 000CC244 48 26 E7 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CF2E8 000CC248 38 60 00 00 */ li r3, 0 lbl_800CF2EC: /* 800CF2EC 000CC24C E3 E1 03 08 */ psq_l f31, 776(r1), 0, qr0 /* 800CF2F0 000CC250 CB E1 03 00 */ lfd f31, 0x300(r1) /* 800CF2F4 000CC254 E3 C1 02 F8 */ psq_l f30, 760(r1), 0, qr0 /* 800CF2F8 000CC258 CB C1 02 F0 */ lfd f30, 0x2f0(r1) /* 800CF2FC 000CC25C BA A1 02 C4 */ lmw r21, 0x2c4(r1) /* 800CF300 000CC260 80 01 03 14 */ lwz r0, 0x314(r1) /* 800CF304 000CC264 7C 08 03 A6 */ mtlr r0 /* 800CF308 000CC268 38 21 03 10 */ addi r1, r1, 0x310 /* 800CF30C 000CC26C 4E 80 00 20 */ blr .global LoadIceSheegoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadIceSheegoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CF310 000CC270 94 21 FB 20 */ stwu r1, -0x4e0(r1) /* 800CF314 000CC274 7C 08 02 A6 */ mflr r0 /* 800CF318 000CC278 90 01 04 E4 */ stw r0, 0x4e4(r1) /* 800CF31C 000CC27C 80 02 A7 38 */ lwz r0, lbl_805AC458@sda21(r2) /* 800CF320 000CC280 93 E1 04 DC */ stw r31, 0x4dc(r1) /* 800CF324 000CC284 7C DF 33 78 */ mr r31, r6 /* 800CF328 000CC288 93 C1 04 D8 */ stw r30, 0x4d8(r1) /* 800CF32C 000CC28C 7C 7E 1B 78 */ mr r30, r3 /* 800CF330 000CC290 93 A1 04 D4 */ stw r29, 0x4d4(r1) /* 800CF334 000CC294 7C BD 2B 78 */ mr r29, r5 /* 800CF338 000CC298 7C 1D 00 00 */ cmpw r29, r0 /* 800CF33C 000CC29C 93 81 04 D0 */ stw r28, 0x4d0(r1) /* 800CF340 000CC2A0 7C 9C 23 78 */ mr r28, r4 /* 800CF344 000CC2A4 40 80 00 0C */ bge lbl_800CF350 /* 800CF348 000CC2A8 38 60 00 00 */ li r3, 0 /* 800CF34C 000CC2AC 48 00 01 90 */ b lbl_800CF4DC lbl_800CF350: /* 800CF350 000CC2B0 7F C5 F3 78 */ mr r5, r30 /* 800CF354 000CC2B4 38 61 01 58 */ addi r3, r1, 0x158 /* 800CF358 000CC2B8 48 00 B1 25 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800CF35C 000CC2BC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CF360 000CC2C0 7F 84 E3 78 */ mr r4, r28 /* 800CF364 000CC2C4 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800CF368 000CC2C8 38 61 00 18 */ addi r3, r1, 0x18 /* 800CF36C 000CC2CC 38 A5 00 EC */ addi r5, r5, 0xec /* 800CF370 000CC2D0 48 03 64 B9 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800CF374 000CC2D4 88 01 00 18 */ lbz r0, 0x18(r1) /* 800CF378 000CC2D8 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 800CF37C 000CC2DC 28 00 00 00 */ cmplwi r0, 0 /* 800CF380 000CC2E0 40 82 00 14 */ bne lbl_800CF394 /* 800CF384 000CC2E4 38 61 01 58 */ addi r3, r1, 0x158 /* 800CF388 000CC2E8 48 26 E7 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CF38C 000CC2EC 38 60 00 00 */ li r3, 0 /* 800CF390 000CC2F0 48 00 01 4C */ b lbl_800CF4DC lbl_800CF394: /* 800CF394 000CC2F4 7F 84 E3 78 */ mr r4, r28 /* 800CF398 000CC2F8 38 61 03 98 */ addi r3, r1, 0x398 /* 800CF39C 000CC2FC 48 03 64 DD */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800CF3A0 000CC300 7F 84 E3 78 */ mr r4, r28 /* 800CF3A4 000CC304 38 61 00 88 */ addi r3, r1, 0x88 /* 800CF3A8 000CC308 48 00 A9 CD */ bl LoadActorParameters__FR12CInputStream /* 800CF3AC 000CC30C 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800CF3B0 000CC310 38 81 00 88 */ addi r4, r1, 0x88 /* 800CF3B4 000CC314 4B FF 62 69 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CF3B8 000CC318 38 61 00 88 */ addi r3, r1, 0x88 /* 800CF3BC 000CC31C 38 80 FF FF */ li r4, -1 /* 800CF3C0 000CC320 48 03 72 49 */ bl __dt__16CLightParametersFv /* 800CF3C4 000CC324 7F 84 E3 78 */ mr r4, r28 /* 800CF3C8 000CC328 7F A5 EB 78 */ mr r5, r29 /* 800CF3CC 000CC32C 38 61 01 A4 */ addi r3, r1, 0x1a4 /* 800CF3D0 000CC330 48 0D 78 E5 */ bl __ct__16CIceSheegothDataFR12CInputStreami /* 800CF3D4 000CC334 80 61 04 84 */ lwz r3, 0x484(r1) /* 800CF3D8 000CC338 3C 03 00 01 */ addis r0, r3, 1 /* 800CF3DC 000CC33C 28 00 FF FF */ cmplwi r0, 0xffff /* 800CF3E0 000CC340 40 82 00 20 */ bne lbl_800CF400 /* 800CF3E4 000CC344 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800CF3E8 000CC348 38 80 FF FF */ li r4, -1 /* 800CF3EC 000CC34C 48 03 72 1D */ bl __dt__16CLightParametersFv /* 800CF3F0 000CC350 38 61 01 58 */ addi r3, r1, 0x158 /* 800CF3F4 000CC354 48 26 E6 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CF3F8 000CC358 38 60 00 00 */ li r3, 0 /* 800CF3FC 000CC35C 48 00 00 E0 */ b lbl_800CF4DC lbl_800CF400: /* 800CF400 000CC360 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CF404 000CC364 3B 80 00 00 */ li r28, 0 /* 800CF408 000CC368 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800CF40C 000CC36C 38 60 0B 30 */ li r3, 0xb30 /* 800CF410 000CC370 38 84 00 0D */ addi r4, r4, 0xd /* 800CF414 000CC374 38 A0 00 00 */ li r5, 0 /* 800CF418 000CC378 48 24 64 55 */ bl __nw__FUlPCcPCc /* 800CF41C 000CC37C 7C 7D 1B 79 */ or. r29, r3, r3 /* 800CF420 000CC380 41 82 00 90 */ beq lbl_800CF4B0 /* 800CF424 000CC384 80 E1 04 84 */ lwz r7, 0x484(r1) /* 800CF428 000CC388 38 A0 00 01 */ li r5, 1 /* 800CF42C 000CC38C 80 C1 04 88 */ lwz r6, 0x488(r1) /* 800CF430 000CC390 38 61 00 3C */ addi r3, r1, 0x3c /* 800CF434 000CC394 C0 41 01 98 */ lfs f2, 0x198(r1) /* 800CF438 000CC398 38 81 00 20 */ addi r4, r1, 0x20 /* 800CF43C 000CC39C C0 21 01 9C */ lfs f1, 0x19c(r1) /* 800CF440 000CC3A0 C0 01 01 A0 */ lfs f0, 0x1a0(r1) /* 800CF444 000CC3A4 80 01 04 8C */ lwz r0, 0x48c(r1) /* 800CF448 000CC3A8 90 E1 00 20 */ stw r7, 0x20(r1) /* 800CF44C 000CC3AC 90 C1 00 24 */ stw r6, 0x24(r1) /* 800CF450 000CC3B0 D0 41 00 28 */ stfs f2, 0x28(r1) /* 800CF454 000CC3B4 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 800CF458 000CC3B8 D0 01 00 30 */ stfs f0, 0x30(r1) /* 800CF45C 000CC3BC 98 A1 00 34 */ stb r5, 0x34(r1) /* 800CF460 000CC3C0 90 01 00 38 */ stw r0, 0x38(r1) /* 800CF464 000CC3C4 48 04 76 F1 */ bl __ct__10CModelDataFRC8CAnimRes /* 800CF468 000CC3C8 7F C4 F3 78 */ mr r4, r30 /* 800CF46C 000CC3CC 38 61 00 10 */ addi r3, r1, 0x10 /* 800CF470 000CC3D0 3B 80 00 01 */ li r28, 1 /* 800CF474 000CC3D4 4B F7 DC 69 */ bl AllocateUniqueId__13CStateManagerFv /* 800CF478 000CC3D8 A0 81 00 10 */ lhz r4, 0x10(r1) /* 800CF47C 000CC3DC 38 01 01 A4 */ addi r0, r1, 0x1a4 /* 800CF480 000CC3E0 7F A3 EB 78 */ mr r3, r29 /* 800CF484 000CC3E4 7F E6 FB 78 */ mr r6, r31 /* 800CF488 000CC3E8 B0 81 00 14 */ sth r4, 0x14(r1) /* 800CF48C 000CC3EC 38 81 00 14 */ addi r4, r1, 0x14 /* 800CF490 000CC3F0 38 A1 01 58 */ addi r5, r1, 0x158 /* 800CF494 000CC3F4 38 E1 01 68 */ addi r7, r1, 0x168 /* 800CF498 000CC3F8 90 01 00 08 */ stw r0, 8(r1) /* 800CF49C 000CC3FC 39 01 00 3C */ addi r8, r1, 0x3c /* 800CF4A0 000CC400 39 21 03 98 */ addi r9, r1, 0x398 /* 800CF4A4 000CC404 39 41 00 F0 */ addi r10, r1, 0xf0 /* 800CF4A8 000CC408 48 0D 69 95 */ bl "__ct__12CIceSheegothF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CIceSheegothData" /* 800CF4AC 000CC40C 7C 7D 1B 78 */ mr r29, r3 lbl_800CF4B0: /* 800CF4B0 000CC410 7F 80 07 75 */ extsb. r0, r28 /* 800CF4B4 000CC414 41 82 00 10 */ beq lbl_800CF4C4 /* 800CF4B8 000CC418 38 61 00 3C */ addi r3, r1, 0x3c /* 800CF4BC 000CC41C 38 80 FF FF */ li r4, -1 /* 800CF4C0 000CC420 48 04 75 8D */ bl __dt__10CModelDataFv lbl_800CF4C4: /* 800CF4C4 000CC424 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800CF4C8 000CC428 38 80 FF FF */ li r4, -1 /* 800CF4CC 000CC42C 48 03 71 3D */ bl __dt__16CLightParametersFv /* 800CF4D0 000CC430 38 61 01 58 */ addi r3, r1, 0x158 /* 800CF4D4 000CC434 48 26 E6 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CF4D8 000CC438 7F A3 EB 78 */ mr r3, r29 lbl_800CF4DC: /* 800CF4DC 000CC43C 80 01 04 E4 */ lwz r0, 0x4e4(r1) /* 800CF4E0 000CC440 83 E1 04 DC */ lwz r31, 0x4dc(r1) /* 800CF4E4 000CC444 83 C1 04 D8 */ lwz r30, 0x4d8(r1) /* 800CF4E8 000CC448 83 A1 04 D4 */ lwz r29, 0x4d4(r1) /* 800CF4EC 000CC44C 83 81 04 D0 */ lwz r28, 0x4d0(r1) /* 800CF4F0 000CC450 7C 08 03 A6 */ mtlr r0 /* 800CF4F4 000CC454 38 21 04 E0 */ addi r1, r1, 0x4e0 /* 800CF4F8 000CC458 4E 80 00 20 */ blr .global LoadEMPulse__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadEMPulse__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CF4FC 000CC45C 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 800CF500 000CC460 7C 08 02 A6 */ mflr r0 /* 800CF504 000CC464 90 01 00 A4 */ stw r0, 0xa4(r1) /* 800CF508 000CC468 39 61 00 A0 */ addi r11, r1, 0xa0 /* 800CF50C 000CC46C 48 2B A4 D1 */ bl _savefpr_25 /* 800CF510 000CC470 BF 61 00 54 */ stmw r27, 0x54(r1) /* 800CF514 000CC474 2C 05 00 0C */ cmpwi r5, 0xc /* 800CF518 000CC478 7C 7B 1B 78 */ mr r27, r3 /* 800CF51C 000CC47C 7C 9D 23 78 */ mr r29, r4 /* 800CF520 000CC480 7C DC 33 78 */ mr r28, r6 /* 800CF524 000CC484 41 82 00 0C */ beq lbl_800CF530 /* 800CF528 000CC488 38 60 00 00 */ li r3, 0 /* 800CF52C 000CC48C 48 00 00 FC */ b lbl_800CF628 lbl_800CF530: /* 800CF530 000CC490 7F 65 DB 78 */ mr r5, r27 /* 800CF534 000CC494 38 61 00 10 */ addi r3, r1, 0x10 /* 800CF538 000CC498 48 00 AF 8D */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800CF53C 000CC49C 7F A3 EB 78 */ mr r3, r29 /* 800CF540 000CC4A0 48 26 F7 9D */ bl ReadBool__12CInputStreamFv /* 800CF544 000CC4A4 7C 7F 1B 78 */ mr r31, r3 /* 800CF548 000CC4A8 7F A3 EB 78 */ mr r3, r29 /* 800CF54C 000CC4AC 48 26 F6 DD */ bl ReadFloat__12CInputStreamFv /* 800CF550 000CC4B0 FF E0 08 90 */ fmr f31, f1 /* 800CF554 000CC4B4 7F A3 EB 78 */ mr r3, r29 /* 800CF558 000CC4B8 48 26 F6 D1 */ bl ReadFloat__12CInputStreamFv /* 800CF55C 000CC4BC FF C0 08 90 */ fmr f30, f1 /* 800CF560 000CC4C0 7F A3 EB 78 */ mr r3, r29 /* 800CF564 000CC4C4 48 26 F6 C5 */ bl ReadFloat__12CInputStreamFv /* 800CF568 000CC4C8 FF A0 08 90 */ fmr f29, f1 /* 800CF56C 000CC4CC 7F A3 EB 78 */ mr r3, r29 /* 800CF570 000CC4D0 48 26 F6 B9 */ bl ReadFloat__12CInputStreamFv /* 800CF574 000CC4D4 FF 80 08 90 */ fmr f28, f1 /* 800CF578 000CC4D8 7F A3 EB 78 */ mr r3, r29 /* 800CF57C 000CC4DC 48 26 F6 AD */ bl ReadFloat__12CInputStreamFv /* 800CF580 000CC4E0 FF 60 08 90 */ fmr f27, f1 /* 800CF584 000CC4E4 7F A3 EB 78 */ mr r3, r29 /* 800CF588 000CC4E8 48 26 F6 A1 */ bl ReadFloat__12CInputStreamFv /* 800CF58C 000CC4EC FF 40 08 90 */ fmr f26, f1 /* 800CF590 000CC4F0 7F A3 EB 78 */ mr r3, r29 /* 800CF594 000CC4F4 48 26 F6 95 */ bl ReadFloat__12CInputStreamFv /* 800CF598 000CC4F8 FF 20 08 90 */ fmr f25, f1 /* 800CF59C 000CC4FC 7F A3 EB 78 */ mr r3, r29 /* 800CF5A0 000CC500 48 26 F6 E5 */ bl ReadLong__12CInputStreamFv /* 800CF5A4 000CC504 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CF5A8 000CC508 7C 7E 1B 78 */ mr r30, r3 /* 800CF5AC 000CC50C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CF5B0 000CC510 38 60 01 18 */ li r3, 0x118 /* 800CF5B4 000CC514 38 A0 00 00 */ li r5, 0 /* 800CF5B8 000CC518 38 84 00 0D */ addi r4, r4, 0xd /* 800CF5BC 000CC51C 48 24 62 B1 */ bl __nw__FUlPCcPCc /* 800CF5C0 000CC520 7C 7D 1B 79 */ or. r29, r3, r3 /* 800CF5C4 000CC524 41 82 00 58 */ beq lbl_800CF61C /* 800CF5C8 000CC528 7F 64 DB 78 */ mr r4, r27 /* 800CF5CC 000CC52C 38 61 00 08 */ addi r3, r1, 8 /* 800CF5D0 000CC530 4B F7 DB 0D */ bl AllocateUniqueId__13CStateManagerFv /* 800CF5D4 000CC534 A0 01 00 08 */ lhz r0, 8(r1) /* 800CF5D8 000CC538 FC 20 F8 90 */ fmr f1, f31 /* 800CF5DC 000CC53C FC 40 F0 90 */ fmr f2, f30 /* 800CF5E0 000CC540 7F A3 EB 78 */ mr r3, r29 /* 800CF5E4 000CC544 FC 60 E8 90 */ fmr f3, f29 /* 800CF5E8 000CC548 B0 01 00 0C */ sth r0, 0xc(r1) /* 800CF5EC 000CC54C FC 80 E0 90 */ fmr f4, f28 /* 800CF5F0 000CC550 FC A0 D8 90 */ fmr f5, f27 /* 800CF5F4 000CC554 FC C0 D0 90 */ fmr f6, f26 /* 800CF5F8 000CC558 7F 86 E3 78 */ mr r6, r28 /* 800CF5FC 000CC55C FC E0 C8 90 */ fmr f7, f25 /* 800CF600 000CC560 7F E8 FB 78 */ mr r8, r31 /* 800CF604 000CC564 7F C9 F3 78 */ mr r9, r30 /* 800CF608 000CC568 38 81 00 0C */ addi r4, r1, 0xc /* 800CF60C 000CC56C 38 A1 00 10 */ addi r5, r1, 0x10 /* 800CF610 000CC570 38 E1 00 20 */ addi r7, r1, 0x20 /* 800CF614 000CC574 48 0B FB 99 */ bl "__ct__14CScriptEMPulseF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfffffUi" /* 800CF618 000CC578 7C 7D 1B 78 */ mr r29, r3 lbl_800CF61C: /* 800CF61C 000CC57C 38 61 00 10 */ addi r3, r1, 0x10 /* 800CF620 000CC580 48 26 E4 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CF624 000CC584 7F A3 EB 78 */ mr r3, r29 lbl_800CF628: /* 800CF628 000CC588 39 61 00 A0 */ addi r11, r1, 0xa0 /* 800CF62C 000CC58C 48 2B A3 FD */ bl _restfpr_25 /* 800CF630 000CC590 BB 61 00 54 */ lmw r27, 0x54(r1) /* 800CF634 000CC594 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 800CF638 000CC598 7C 08 03 A6 */ mtlr r0 /* 800CF63C 000CC59C 38 21 00 A0 */ addi r1, r1, 0xa0 /* 800CF640 000CC5A0 4E 80 00 20 */ blr .global LoadTargetingPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadTargetingPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CF644 000CC5A4 94 21 FF A0 */ stwu r1, -0x60(r1) /* 800CF648 000CC5A8 7C 08 02 A6 */ mflr r0 /* 800CF64C 000CC5AC 2C 05 00 04 */ cmpwi r5, 4 /* 800CF650 000CC5B0 90 01 00 64 */ stw r0, 0x64(r1) /* 800CF654 000CC5B4 93 E1 00 5C */ stw r31, 0x5c(r1) /* 800CF658 000CC5B8 93 C1 00 58 */ stw r30, 0x58(r1) /* 800CF65C 000CC5BC 7C 9E 23 78 */ mr r30, r4 /* 800CF660 000CC5C0 93 A1 00 54 */ stw r29, 0x54(r1) /* 800CF664 000CC5C4 7C DD 33 78 */ mr r29, r6 /* 800CF668 000CC5C8 93 81 00 50 */ stw r28, 0x50(r1) /* 800CF66C 000CC5CC 7C 7C 1B 78 */ mr r28, r3 /* 800CF670 000CC5D0 41 82 00 0C */ beq lbl_800CF67C /* 800CF674 000CC5D4 38 60 00 00 */ li r3, 0 /* 800CF678 000CC5D8 48 00 00 7C */ b lbl_800CF6F4 lbl_800CF67C: /* 800CF67C 000CC5DC 7F 85 E3 78 */ mr r5, r28 /* 800CF680 000CC5E0 38 61 00 10 */ addi r3, r1, 0x10 /* 800CF684 000CC5E4 48 00 AE 41 */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800CF688 000CC5E8 7F C3 F3 78 */ mr r3, r30 /* 800CF68C 000CC5EC 48 26 F6 51 */ bl ReadBool__12CInputStreamFv /* 800CF690 000CC5F0 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CF694 000CC5F4 7C 7F 1B 78 */ mr r31, r3 /* 800CF698 000CC5F8 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CF69C 000CC5FC 38 60 00 F0 */ li r3, 0xf0 /* 800CF6A0 000CC600 38 A0 00 00 */ li r5, 0 /* 800CF6A4 000CC604 38 84 00 0D */ addi r4, r4, 0xd /* 800CF6A8 000CC608 48 24 61 C5 */ bl __nw__FUlPCcPCc /* 800CF6AC 000CC60C 7C 7E 1B 79 */ or. r30, r3, r3 /* 800CF6B0 000CC610 41 82 00 38 */ beq lbl_800CF6E8 /* 800CF6B4 000CC614 7F 84 E3 78 */ mr r4, r28 /* 800CF6B8 000CC618 38 61 00 08 */ addi r3, r1, 8 /* 800CF6BC 000CC61C 4B F7 DA 21 */ bl AllocateUniqueId__13CStateManagerFv /* 800CF6C0 000CC620 A0 01 00 08 */ lhz r0, 8(r1) /* 800CF6C4 000CC624 7F C3 F3 78 */ mr r3, r30 /* 800CF6C8 000CC628 7F A6 EB 78 */ mr r6, r29 /* 800CF6CC 000CC62C 7F E8 FB 78 */ mr r8, r31 /* 800CF6D0 000CC630 B0 01 00 0C */ sth r0, 0xc(r1) /* 800CF6D4 000CC634 38 81 00 0C */ addi r4, r1, 0xc /* 800CF6D8 000CC638 38 A1 00 10 */ addi r5, r1, 0x10 /* 800CF6DC 000CC63C 38 E1 00 20 */ addi r7, r1, 0x20 /* 800CF6E0 000CC640 48 0B DC D1 */ bl "__ct__21CScriptTargetingPointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fb" /* 800CF6E4 000CC644 7C 7E 1B 78 */ mr r30, r3 lbl_800CF6E8: /* 800CF6E8 000CC648 38 61 00 10 */ addi r3, r1, 0x10 /* 800CF6EC 000CC64C 48 26 E3 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CF6F0 000CC650 7F C3 F3 78 */ mr r3, r30 lbl_800CF6F4: /* 800CF6F4 000CC654 80 01 00 64 */ lwz r0, 0x64(r1) /* 800CF6F8 000CC658 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 800CF6FC 000CC65C 83 C1 00 58 */ lwz r30, 0x58(r1) /* 800CF700 000CC660 83 A1 00 54 */ lwz r29, 0x54(r1) /* 800CF704 000CC664 83 81 00 50 */ lwz r28, 0x50(r1) /* 800CF708 000CC668 7C 08 03 A6 */ mtlr r0 /* 800CF70C 000CC66C 38 21 00 60 */ addi r1, r1, 0x60 /* 800CF710 000CC670 4E 80 00 20 */ blr .global LoadBallTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadBallTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CF714 000CC674 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 800CF718 000CC678 7C 08 02 A6 */ mflr r0 /* 800CF71C 000CC67C 90 01 00 B4 */ stw r0, 0xb4(r1) /* 800CF720 000CC680 DB E1 00 A0 */ stfd f31, 0xa0(r1) /* 800CF724 000CC684 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 /* 800CF728 000CC688 DB C1 00 90 */ stfd f30, 0x90(r1) /* 800CF72C 000CC68C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 /* 800CF730 000CC690 DB A1 00 80 */ stfd f29, 0x80(r1) /* 800CF734 000CC694 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 /* 800CF738 000CC698 BF 61 00 6C */ stmw r27, 0x6c(r1) /* 800CF73C 000CC69C 2C 05 00 09 */ cmpwi r5, 9 /* 800CF740 000CC6A0 7C 7B 1B 78 */ mr r27, r3 /* 800CF744 000CC6A4 7C 9D 23 78 */ mr r29, r4 /* 800CF748 000CC6A8 7C DC 33 78 */ mr r28, r6 /* 800CF74C 000CC6AC 41 82 00 0C */ beq lbl_800CF758 /* 800CF750 000CC6B0 38 60 00 00 */ li r3, 0 /* 800CF754 000CC6B4 48 00 01 18 */ b lbl_800CF86C lbl_800CF758: /* 800CF758 000CC6B8 38 61 00 58 */ addi r3, r1, 0x58 /* 800CF75C 000CC6BC 38 A1 00 10 */ addi r5, r1, 0x10 /* 800CF760 000CC6C0 48 26 EB 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 800CF764 000CC6C4 7F A4 EB 78 */ mr r4, r29 /* 800CF768 000CC6C8 38 61 00 4C */ addi r3, r1, 0x4c /* 800CF76C 000CC6CC 48 24 54 21 */ bl __ct__9CVector3fFR12CInputStream /* 800CF770 000CC6D0 7F A4 EB 78 */ mr r4, r29 /* 800CF774 000CC6D4 38 61 00 40 */ addi r3, r1, 0x40 /* 800CF778 000CC6D8 48 24 54 15 */ bl __ct__9CVector3fFR12CInputStream /* 800CF77C 000CC6DC 7F A3 EB 78 */ mr r3, r29 /* 800CF780 000CC6E0 48 26 F5 5D */ bl ReadBool__12CInputStreamFv /* 800CF784 000CC6E4 7C 7E 1B 78 */ mr r30, r3 /* 800CF788 000CC6E8 7F A3 EB 78 */ mr r3, r29 /* 800CF78C 000CC6EC 48 26 F4 9D */ bl ReadFloat__12CInputStreamFv /* 800CF790 000CC6F0 FF E0 08 90 */ fmr f31, f1 /* 800CF794 000CC6F4 7F A3 EB 78 */ mr r3, r29 /* 800CF798 000CC6F8 48 26 F4 91 */ bl ReadFloat__12CInputStreamFv /* 800CF79C 000CC6FC FF C0 08 90 */ fmr f30, f1 /* 800CF7A0 000CC700 7F A3 EB 78 */ mr r3, r29 /* 800CF7A4 000CC704 48 26 F4 85 */ bl ReadFloat__12CInputStreamFv /* 800CF7A8 000CC708 FF A0 08 90 */ fmr f29, f1 /* 800CF7AC 000CC70C 7F A4 EB 78 */ mr r4, r29 /* 800CF7B0 000CC710 38 61 00 28 */ addi r3, r1, 0x28 /* 800CF7B4 000CC714 48 24 53 D9 */ bl __ct__9CVector3fFR12CInputStream /* 800CF7B8 000CC718 C0 41 00 28 */ lfs f2, 0x28(r1) /* 800CF7BC 000CC71C 7F A3 EB 78 */ mr r3, r29 /* 800CF7C0 000CC720 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 800CF7C4 000CC724 C0 01 00 30 */ lfs f0, 0x30(r1) /* 800CF7C8 000CC728 D0 41 00 34 */ stfs f2, 0x34(r1) /* 800CF7CC 000CC72C D0 21 00 38 */ stfs f1, 0x38(r1) /* 800CF7D0 000CC730 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 800CF7D4 000CC734 48 26 F5 09 */ bl ReadBool__12CInputStreamFv /* 800CF7D8 000CC738 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800CF7DC 000CC73C 7C 7F 1B 78 */ mr r31, r3 /* 800CF7E0 000CC740 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800CF7E4 000CC744 38 60 01 70 */ li r3, 0x170 /* 800CF7E8 000CC748 38 84 00 0D */ addi r4, r4, 0xd /* 800CF7EC 000CC74C 38 A0 00 00 */ li r5, 0 /* 800CF7F0 000CC750 48 24 60 7D */ bl __nw__FUlPCcPCc /* 800CF7F4 000CC754 7C 7D 1B 79 */ or. r29, r3, r3 /* 800CF7F8 000CC758 41 82 00 68 */ beq lbl_800CF860 /* 800CF7FC 000CC75C 80 C1 00 34 */ lwz r6, 0x34(r1) /* 800CF800 000CC760 7F 64 DB 78 */ mr r4, r27 /* 800CF804 000CC764 80 A1 00 38 */ lwz r5, 0x38(r1) /* 800CF808 000CC768 38 61 00 14 */ addi r3, r1, 0x14 /* 800CF80C 000CC76C 80 01 00 3C */ lwz r0, 0x3c(r1) /* 800CF810 000CC770 90 C1 00 1C */ stw r6, 0x1c(r1) /* 800CF814 000CC774 90 A1 00 20 */ stw r5, 0x20(r1) /* 800CF818 000CC778 90 01 00 24 */ stw r0, 0x24(r1) /* 800CF81C 000CC77C 4B F7 D8 C1 */ bl AllocateUniqueId__13CStateManagerFv /* 800CF820 000CC780 A0 01 00 14 */ lhz r0, 0x14(r1) /* 800CF824 000CC784 FC 20 F8 90 */ fmr f1, f31 /* 800CF828 000CC788 FC 40 F0 90 */ fmr f2, f30 /* 800CF82C 000CC78C 7F A3 EB 78 */ mr r3, r29 /* 800CF830 000CC790 B0 01 00 18 */ sth r0, 0x18(r1) /* 800CF834 000CC794 FC 60 E8 90 */ fmr f3, f29 /* 800CF838 000CC798 7F 86 E3 78 */ mr r6, r28 /* 800CF83C 000CC79C 93 E1 00 08 */ stw r31, 8(r1) /* 800CF840 000CC7A0 7F C9 F3 78 */ mr r9, r30 /* 800CF844 000CC7A4 38 81 00 18 */ addi r4, r1, 0x18 /* 800CF848 000CC7A8 38 A1 00 58 */ addi r5, r1, 0x58 /* 800CF84C 000CC7AC 38 E1 00 4C */ addi r7, r1, 0x4c /* 800CF850 000CC7B0 39 01 00 40 */ addi r8, r1, 0x40 /* 800CF854 000CC7B4 39 41 00 1C */ addi r10, r1, 0x1c /* 800CF858 000CC7B8 48 0A 70 D5 */ bl "__ct__18CScriptBallTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC9CVector3fbfff9CVector3f" /* 800CF85C 000CC7BC 7C 7D 1B 78 */ mr r29, r3 lbl_800CF860: /* 800CF860 000CC7C0 38 61 00 58 */ addi r3, r1, 0x58 /* 800CF864 000CC7C4 48 26 E2 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CF868 000CC7C8 7F A3 EB 78 */ mr r3, r29 lbl_800CF86C: /* 800CF86C 000CC7CC E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 /* 800CF870 000CC7D0 CB E1 00 A0 */ lfd f31, 0xa0(r1) /* 800CF874 000CC7D4 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 /* 800CF878 000CC7D8 CB C1 00 90 */ lfd f30, 0x90(r1) /* 800CF87C 000CC7DC E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 /* 800CF880 000CC7E0 CB A1 00 80 */ lfd f29, 0x80(r1) /* 800CF884 000CC7E4 BB 61 00 6C */ lmw r27, 0x6c(r1) /* 800CF888 000CC7E8 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 800CF88C 000CC7EC 7C 08 03 A6 */ mtlr r0 /* 800CF890 000CC7F0 38 21 00 B0 */ addi r1, r1, 0xb0 /* 800CF894 000CC7F4 4E 80 00 20 */ blr .global LoadMetroidBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadMetroidBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CF898 000CC7F8 94 21 FB D0 */ stwu r1, -0x430(r1) /* 800CF89C 000CC7FC 7C 08 02 A6 */ mflr r0 /* 800CF8A0 000CC800 90 01 04 34 */ stw r0, 0x434(r1) /* 800CF8A4 000CC804 80 02 AA 80 */ lwz r0, lbl_805AC7A0@sda21(r2) /* 800CF8A8 000CC808 93 E1 04 2C */ stw r31, 0x42c(r1) /* 800CF8AC 000CC80C 7C DF 33 78 */ mr r31, r6 /* 800CF8B0 000CC810 93 C1 04 28 */ stw r30, 0x428(r1) /* 800CF8B4 000CC814 7C 7E 1B 78 */ mr r30, r3 /* 800CF8B8 000CC818 93 A1 04 24 */ stw r29, 0x424(r1) /* 800CF8BC 000CC81C 7C BD 2B 78 */ mr r29, r5 /* 800CF8C0 000CC820 7C 1D 00 00 */ cmpw r29, r0 /* 800CF8C4 000CC824 93 81 04 20 */ stw r28, 0x420(r1) /* 800CF8C8 000CC828 7C 9C 23 78 */ mr r28, r4 /* 800CF8CC 000CC82C 40 80 00 0C */ bge lbl_800CF8D8 /* 800CF8D0 000CC830 38 60 00 00 */ li r3, 0 /* 800CF8D4 000CC834 48 00 01 B8 */ b lbl_800CFA8C lbl_800CF8D8: /* 800CF8D8 000CC838 4B F7 59 0D */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CF8DC 000CC83C 7C 64 1B 78 */ mr r4, r3 /* 800CF8E0 000CC840 38 61 00 2C */ addi r3, r1, 0x2c /* 800CF8E4 000CC844 48 26 E8 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CF8E8 000CC848 7F 84 E3 78 */ mr r4, r28 /* 800CF8EC 000CC84C 38 61 00 58 */ addi r3, r1, 0x58 /* 800CF8F0 000CC850 48 00 AC 9D */ bl LoadEditorTransform__FR12CInputStream /* 800CF8F4 000CC854 38 61 00 88 */ addi r3, r1, 0x88 /* 800CF8F8 000CC858 38 81 00 58 */ addi r4, r1, 0x58 /* 800CF8FC 000CC85C 48 24 32 79 */ bl __ct__12CTransform4fFRC12CTransform4f /* 800CF900 000CC860 7F 84 E3 78 */ mr r4, r28 /* 800CF904 000CC864 38 61 00 20 */ addi r3, r1, 0x20 /* 800CF908 000CC868 48 24 52 85 */ bl __ct__9CVector3fFR12CInputStream /* 800CF90C 000CC86C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CF910 000CC870 7F 84 E3 78 */ mr r4, r28 /* 800CF914 000CC874 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800CF918 000CC878 38 61 00 18 */ addi r3, r1, 0x18 /* 800CF91C 000CC87C 38 A5 00 F9 */ addi r5, r5, 0xf9 /* 800CF920 000CC880 48 03 5F 09 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800CF924 000CC884 88 01 00 18 */ lbz r0, 0x18(r1) /* 800CF928 000CC888 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 800CF92C 000CC88C 28 00 00 00 */ cmplwi r0, 0 /* 800CF930 000CC890 40 82 00 14 */ bne lbl_800CF944 /* 800CF934 000CC894 38 61 00 2C */ addi r3, r1, 0x2c /* 800CF938 000CC898 48 26 E1 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CF93C 000CC89C 38 60 00 00 */ li r3, 0 /* 800CF940 000CC8A0 48 00 01 4C */ b lbl_800CFA8C lbl_800CF944: /* 800CF944 000CC8A4 7F 84 E3 78 */ mr r4, r28 /* 800CF948 000CC8A8 38 61 02 E0 */ addi r3, r1, 0x2e0 /* 800CF94C 000CC8AC 48 03 5F 2D */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800CF950 000CC8B0 7F 84 E3 78 */ mr r4, r28 /* 800CF954 000CC8B4 38 61 01 04 */ addi r3, r1, 0x104 /* 800CF958 000CC8B8 48 00 A4 1D */ bl LoadActorParameters__FR12CInputStream /* 800CF95C 000CC8BC 38 61 01 6C */ addi r3, r1, 0x16c /* 800CF960 000CC8C0 38 81 01 04 */ addi r4, r1, 0x104 /* 800CF964 000CC8C4 4B FF 5C B9 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CF968 000CC8C8 38 61 01 04 */ addi r3, r1, 0x104 /* 800CF96C 000CC8CC 38 80 FF FF */ li r4, -1 /* 800CF970 000CC8D0 48 03 6C 99 */ bl __dt__16CLightParametersFv /* 800CF974 000CC8D4 7F 84 E3 78 */ mr r4, r28 /* 800CF978 000CC8D8 7F A5 EB 78 */ mr r5, r29 /* 800CF97C 000CC8DC 38 61 01 D4 */ addi r3, r1, 0x1d4 /* 800CF980 000CC8E0 48 0F 70 7D */ bl __ct__16CMetroidBetaDataFR12CInputStream /* 800CF984 000CC8E4 80 61 03 CC */ lwz r3, 0x3cc(r1) /* 800CF988 000CC8E8 3C 03 00 01 */ addis r0, r3, 1 /* 800CF98C 000CC8EC 28 00 FF FF */ cmplwi r0, 0xffff /* 800CF990 000CC8F0 40 82 00 20 */ bne lbl_800CF9B0 /* 800CF994 000CC8F4 38 61 01 6C */ addi r3, r1, 0x16c /* 800CF998 000CC8F8 38 80 FF FF */ li r4, -1 /* 800CF99C 000CC8FC 48 03 6C 6D */ bl __dt__16CLightParametersFv /* 800CF9A0 000CC900 38 61 00 2C */ addi r3, r1, 0x2c /* 800CF9A4 000CC904 48 26 E1 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CF9A8 000CC908 38 60 00 00 */ li r3, 0 /* 800CF9AC 000CC90C 48 00 00 E0 */ b lbl_800CFA8C lbl_800CF9B0: /* 800CF9B0 000CC910 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CF9B4 000CC914 3B 80 00 00 */ li r28, 0 /* 800CF9B8 000CC918 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800CF9BC 000CC91C 38 60 08 48 */ li r3, 0x848 /* 800CF9C0 000CC920 38 84 00 0D */ addi r4, r4, 0xd /* 800CF9C4 000CC924 38 A0 00 00 */ li r5, 0 /* 800CF9C8 000CC928 48 24 5E A5 */ bl __nw__FUlPCcPCc /* 800CF9CC 000CC92C 7C 7D 1B 79 */ or. r29, r3, r3 /* 800CF9D0 000CC930 41 82 00 90 */ beq lbl_800CFA60 /* 800CF9D4 000CC934 80 E1 03 CC */ lwz r7, 0x3cc(r1) /* 800CF9D8 000CC938 38 A0 00 01 */ li r5, 1 /* 800CF9DC 000CC93C 80 C1 03 D0 */ lwz r6, 0x3d0(r1) /* 800CF9E0 000CC940 38 61 00 B8 */ addi r3, r1, 0xb8 /* 800CF9E4 000CC944 C0 41 00 20 */ lfs f2, 0x20(r1) /* 800CF9E8 000CC948 38 81 00 3C */ addi r4, r1, 0x3c /* 800CF9EC 000CC94C C0 21 00 24 */ lfs f1, 0x24(r1) /* 800CF9F0 000CC950 C0 01 00 28 */ lfs f0, 0x28(r1) /* 800CF9F4 000CC954 80 01 03 D4 */ lwz r0, 0x3d4(r1) /* 800CF9F8 000CC958 90 E1 00 3C */ stw r7, 0x3c(r1) /* 800CF9FC 000CC95C 90 C1 00 40 */ stw r6, 0x40(r1) /* 800CFA00 000CC960 D0 41 00 44 */ stfs f2, 0x44(r1) /* 800CFA04 000CC964 D0 21 00 48 */ stfs f1, 0x48(r1) /* 800CFA08 000CC968 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 800CFA0C 000CC96C 98 A1 00 50 */ stb r5, 0x50(r1) /* 800CFA10 000CC970 90 01 00 54 */ stw r0, 0x54(r1) /* 800CFA14 000CC974 48 04 71 41 */ bl __ct__10CModelDataFRC8CAnimRes /* 800CFA18 000CC978 7F C4 F3 78 */ mr r4, r30 /* 800CFA1C 000CC97C 38 61 00 10 */ addi r3, r1, 0x10 /* 800CFA20 000CC980 3B 80 00 01 */ li r28, 1 /* 800CFA24 000CC984 4B F7 D6 B9 */ bl AllocateUniqueId__13CStateManagerFv /* 800CFA28 000CC988 A0 81 00 10 */ lhz r4, 0x10(r1) /* 800CFA2C 000CC98C 38 01 01 D4 */ addi r0, r1, 0x1d4 /* 800CFA30 000CC990 7F A3 EB 78 */ mr r3, r29 /* 800CFA34 000CC994 7F E6 FB 78 */ mr r6, r31 /* 800CFA38 000CC998 B0 81 00 14 */ sth r4, 0x14(r1) /* 800CFA3C 000CC99C 38 81 00 14 */ addi r4, r1, 0x14 /* 800CFA40 000CC9A0 38 A1 00 2C */ addi r5, r1, 0x2c /* 800CFA44 000CC9A4 38 E1 00 88 */ addi r7, r1, 0x88 /* 800CFA48 000CC9A8 90 01 00 08 */ stw r0, 8(r1) /* 800CFA4C 000CC9AC 39 01 00 B8 */ addi r8, r1, 0xb8 /* 800CFA50 000CC9B0 39 21 02 E0 */ addi r9, r1, 0x2e0 /* 800CFA54 000CC9B4 39 41 01 6C */ addi r10, r1, 0x16c /* 800CFA58 000CC9B8 48 0F 66 35 */ bl "__ct__12CMetroidBetaF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC12CMetroidData" /* 800CFA5C 000CC9BC 7C 7D 1B 78 */ mr r29, r3 lbl_800CFA60: /* 800CFA60 000CC9C0 7F 80 07 75 */ extsb. r0, r28 /* 800CFA64 000CC9C4 41 82 00 10 */ beq lbl_800CFA74 /* 800CFA68 000CC9C8 38 61 00 B8 */ addi r3, r1, 0xb8 /* 800CFA6C 000CC9CC 38 80 FF FF */ li r4, -1 /* 800CFA70 000CC9D0 48 04 6F DD */ bl __dt__10CModelDataFv lbl_800CFA74: /* 800CFA74 000CC9D4 38 61 01 6C */ addi r3, r1, 0x16c /* 800CFA78 000CC9D8 38 80 FF FF */ li r4, -1 /* 800CFA7C 000CC9DC 48 03 6B 8D */ bl __dt__16CLightParametersFv /* 800CFA80 000CC9E0 38 61 00 2C */ addi r3, r1, 0x2c /* 800CFA84 000CC9E4 48 26 E0 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CFA88 000CC9E8 7F A3 EB 78 */ mr r3, r29 lbl_800CFA8C: /* 800CFA8C 000CC9EC 80 01 04 34 */ lwz r0, 0x434(r1) /* 800CFA90 000CC9F0 83 E1 04 2C */ lwz r31, 0x42c(r1) /* 800CFA94 000CC9F4 83 C1 04 28 */ lwz r30, 0x428(r1) /* 800CFA98 000CC9F8 83 A1 04 24 */ lwz r29, 0x424(r1) /* 800CFA9C 000CC9FC 83 81 04 20 */ lwz r28, 0x420(r1) /* 800CFAA0 000CCA00 7C 08 03 A6 */ mtlr r0 /* 800CFAA4 000CCA04 38 21 04 30 */ addi r1, r1, 0x430 /* 800CFAA8 000CCA08 4E 80 00 20 */ blr .global LoadMetroid__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadMetroid__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CFAAC 000CCA0C 94 21 FB A0 */ stwu r1, -0x460(r1) /* 800CFAB0 000CCA10 7C 08 02 A6 */ mflr r0 /* 800CFAB4 000CCA14 90 01 04 64 */ stw r0, 0x464(r1) /* 800CFAB8 000CCA18 80 02 A0 70 */ lwz r0, lbl_805ABD90@sda21(r2) /* 800CFABC 000CCA1C BF 61 04 4C */ stmw r27, 0x44c(r1) /* 800CFAC0 000CCA20 7C BC 2B 78 */ mr r28, r5 /* 800CFAC4 000CCA24 7C 1C 00 00 */ cmpw r28, r0 /* 800CFAC8 000CCA28 7C 7D 1B 78 */ mr r29, r3 /* 800CFACC 000CCA2C 7C 9B 23 78 */ mr r27, r4 /* 800CFAD0 000CCA30 7C DE 33 78 */ mr r30, r6 /* 800CFAD4 000CCA34 40 80 00 0C */ bge lbl_800CFAE0 /* 800CFAD8 000CCA38 38 60 00 00 */ li r3, 0 /* 800CFADC 000CCA3C 48 00 02 28 */ b lbl_800CFD04 lbl_800CFAE0: /* 800CFAE0 000CCA40 4B F7 57 05 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CFAE4 000CCA44 7C 64 1B 78 */ mr r4, r3 /* 800CFAE8 000CCA48 38 61 00 38 */ addi r3, r1, 0x38 /* 800CFAEC 000CCA4C 48 26 E6 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CFAF0 000CCA50 7F 63 DB 78 */ mr r3, r27 /* 800CFAF4 000CCA54 48 26 F1 91 */ bl ReadLong__12CInputStreamFv /* 800CFAF8 000CCA58 7C 60 1B 78 */ mr r0, r3 /* 800CFAFC 000CCA5C 7F 64 DB 78 */ mr r4, r27 /* 800CFB00 000CCA60 38 61 00 64 */ addi r3, r1, 0x64 /* 800CFB04 000CCA64 7C 1F 03 78 */ mr r31, r0 /* 800CFB08 000CCA68 48 00 AA 85 */ bl LoadEditorTransform__FR12CInputStream /* 800CFB0C 000CCA6C 38 61 00 94 */ addi r3, r1, 0x94 /* 800CFB10 000CCA70 38 81 00 64 */ addi r4, r1, 0x64 /* 800CFB14 000CCA74 48 24 30 61 */ bl __ct__12CTransform4fFRC12CTransform4f /* 800CFB18 000CCA78 7F 64 DB 78 */ mr r4, r27 /* 800CFB1C 000CCA7C 38 61 00 2C */ addi r3, r1, 0x2c /* 800CFB20 000CCA80 48 24 50 6D */ bl __ct__9CVector3fFR12CInputStream /* 800CFB24 000CCA84 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CFB28 000CCA88 7F 64 DB 78 */ mr r4, r27 /* 800CFB2C 000CCA8C 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800CFB30 000CCA90 38 61 00 24 */ addi r3, r1, 0x24 /* 800CFB34 000CCA94 38 A5 00 F9 */ addi r5, r5, 0xf9 /* 800CFB38 000CCA98 48 03 5C F1 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800CFB3C 000CCA9C 88 01 00 24 */ lbz r0, 0x24(r1) /* 800CFB40 000CCAA0 80 A1 00 28 */ lwz r5, 0x28(r1) /* 800CFB44 000CCAA4 28 00 00 00 */ cmplwi r0, 0 /* 800CFB48 000CCAA8 40 82 00 14 */ bne lbl_800CFB5C /* 800CFB4C 000CCAAC 38 61 00 38 */ addi r3, r1, 0x38 /* 800CFB50 000CCAB0 48 26 DF 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CFB54 000CCAB4 38 60 00 00 */ li r3, 0 /* 800CFB58 000CCAB8 48 00 01 AC */ b lbl_800CFD04 lbl_800CFB5C: /* 800CFB5C 000CCABC 7F 64 DB 78 */ mr r4, r27 /* 800CFB60 000CCAC0 38 61 03 0C */ addi r3, r1, 0x30c /* 800CFB64 000CCAC4 48 03 5D 15 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800CFB68 000CCAC8 7F 64 DB 78 */ mr r4, r27 /* 800CFB6C 000CCACC 38 61 01 10 */ addi r3, r1, 0x110 /* 800CFB70 000CCAD0 48 00 A2 05 */ bl LoadActorParameters__FR12CInputStream /* 800CFB74 000CCAD4 38 61 01 78 */ addi r3, r1, 0x178 /* 800CFB78 000CCAD8 38 81 01 10 */ addi r4, r1, 0x110 /* 800CFB7C 000CCADC 4B FF 5A A1 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CFB80 000CCAE0 38 61 01 10 */ addi r3, r1, 0x110 /* 800CFB84 000CCAE4 38 80 FF FF */ li r4, -1 /* 800CFB88 000CCAE8 48 03 6A 81 */ bl __dt__16CLightParametersFv /* 800CFB8C 000CCAEC 7F 64 DB 78 */ mr r4, r27 /* 800CFB90 000CCAF0 7F 85 E3 78 */ mr r5, r28 /* 800CFB94 000CCAF4 38 61 01 E0 */ addi r3, r1, 0x1e0 /* 800CFB98 000CCAF8 48 0A 2A 25 */ bl __ct__12CMetroidDataFR12CInputStream /* 800CFB9C 000CCAFC 80 61 03 F8 */ lwz r3, 0x3f8(r1) /* 800CFBA0 000CCB00 3C 03 00 01 */ addis r0, r3, 1 /* 800CFBA4 000CCB04 28 00 FF FF */ cmplwi r0, 0xffff /* 800CFBA8 000CCB08 40 82 00 2C */ bne lbl_800CFBD4 /* 800CFBAC 000CCB0C 38 61 01 E0 */ addi r3, r1, 0x1e0 /* 800CFBB0 000CCB10 38 80 FF FF */ li r4, -1 /* 800CFBB4 000CCB14 48 00 01 65 */ bl sub_800cfd18 /* 800CFBB8 000CCB18 38 61 01 78 */ addi r3, r1, 0x178 /* 800CFBBC 000CCB1C 38 80 FF FF */ li r4, -1 /* 800CFBC0 000CCB20 48 03 6A 49 */ bl __dt__16CLightParametersFv /* 800CFBC4 000CCB24 38 61 00 38 */ addi r3, r1, 0x38 /* 800CFBC8 000CCB28 48 26 DF 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CFBCC 000CCB2C 38 60 00 00 */ li r3, 0 /* 800CFBD0 000CCB30 48 00 01 34 */ b lbl_800CFD04 lbl_800CFBD4: /* 800CFBD4 000CCB34 2C 1F 00 01 */ cmpwi r31, 1 /* 800CFBD8 000CCB38 40 82 00 2C */ bne lbl_800CFC04 /* 800CFBDC 000CCB3C 38 61 01 E0 */ addi r3, r1, 0x1e0 /* 800CFBE0 000CCB40 38 80 FF FF */ li r4, -1 /* 800CFBE4 000CCB44 48 00 01 35 */ bl sub_800cfd18 /* 800CFBE8 000CCB48 38 61 01 78 */ addi r3, r1, 0x178 /* 800CFBEC 000CCB4C 38 80 FF FF */ li r4, -1 /* 800CFBF0 000CCB50 48 03 6A 19 */ bl __dt__16CLightParametersFv /* 800CFBF4 000CCB54 38 61 00 38 */ addi r3, r1, 0x38 /* 800CFBF8 000CCB58 48 26 DE E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CFBFC 000CCB5C 38 60 00 00 */ li r3, 0 /* 800CFC00 000CCB60 48 00 01 04 */ b lbl_800CFD04 lbl_800CFC04: /* 800CFC04 000CCB64 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CFC08 000CCB68 3B 60 00 00 */ li r27, 0 /* 800CFC0C 000CCB6C 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800CFC10 000CCB70 38 60 09 C8 */ li r3, 0x9c8 /* 800CFC14 000CCB74 38 84 00 0D */ addi r4, r4, 0xd /* 800CFC18 000CCB78 38 A0 00 00 */ li r5, 0 /* 800CFC1C 000CCB7C 48 24 5C 51 */ bl __nw__FUlPCcPCc /* 800CFC20 000CCB80 7C 7C 1B 79 */ or. r28, r3, r3 /* 800CFC24 000CCB84 41 82 00 A8 */ beq lbl_800CFCCC /* 800CFC28 000CCB88 A1 0D A3 8C */ lhz r8, kInvalidUniqueId@sda21(r13) /* 800CFC2C 000CCB8C 38 A0 00 01 */ li r5, 1 /* 800CFC30 000CCB90 80 E1 03 F8 */ lwz r7, 0x3f8(r1) /* 800CFC34 000CCB94 38 61 00 C4 */ addi r3, r1, 0xc4 /* 800CFC38 000CCB98 80 C1 03 FC */ lwz r6, 0x3fc(r1) /* 800CFC3C 000CCB9C 38 81 00 48 */ addi r4, r1, 0x48 /* 800CFC40 000CCBA0 C0 41 00 2C */ lfs f2, 0x2c(r1) /* 800CFC44 000CCBA4 C0 21 00 30 */ lfs f1, 0x30(r1) /* 800CFC48 000CCBA8 C0 01 00 34 */ lfs f0, 0x34(r1) /* 800CFC4C 000CCBAC 80 01 04 00 */ lwz r0, 0x400(r1) /* 800CFC50 000CCBB0 B1 01 00 20 */ sth r8, 0x20(r1) /* 800CFC54 000CCBB4 90 E1 00 48 */ stw r7, 0x48(r1) /* 800CFC58 000CCBB8 90 C1 00 4C */ stw r6, 0x4c(r1) /* 800CFC5C 000CCBBC D0 41 00 50 */ stfs f2, 0x50(r1) /* 800CFC60 000CCBC0 D0 21 00 54 */ stfs f1, 0x54(r1) /* 800CFC64 000CCBC4 D0 01 00 58 */ stfs f0, 0x58(r1) /* 800CFC68 000CCBC8 98 A1 00 5C */ stb r5, 0x5c(r1) /* 800CFC6C 000CCBCC 90 01 00 60 */ stw r0, 0x60(r1) /* 800CFC70 000CCBD0 48 04 6E E5 */ bl __ct__10CModelDataFRC8CAnimRes /* 800CFC74 000CCBD4 7F A4 EB 78 */ mr r4, r29 /* 800CFC78 000CCBD8 38 61 00 18 */ addi r3, r1, 0x18 /* 800CFC7C 000CCBDC 3B 60 00 01 */ li r27, 1 /* 800CFC80 000CCBE0 4B F7 D4 5D */ bl AllocateUniqueId__13CStateManagerFv /* 800CFC84 000CCBE4 A0 61 00 18 */ lhz r3, 0x18(r1) /* 800CFC88 000CCBE8 38 81 01 78 */ addi r4, r1, 0x178 /* 800CFC8C 000CCBEC 39 21 01 E0 */ addi r9, r1, 0x1e0 /* 800CFC90 000CCBF0 38 01 00 20 */ addi r0, r1, 0x20 /* 800CFC94 000CCBF4 B0 61 00 1C */ sth r3, 0x1c(r1) /* 800CFC98 000CCBF8 7F 83 E3 78 */ mr r3, r28 /* 800CFC9C 000CCBFC 7F E6 FB 78 */ mr r6, r31 /* 800CFCA0 000CCC00 7F C7 F3 78 */ mr r7, r30 /* 800CFCA4 000CCC04 90 81 00 08 */ stw r4, 8(r1) /* 800CFCA8 000CCC08 38 81 00 1C */ addi r4, r1, 0x1c /* 800CFCAC 000CCC0C 38 A1 00 38 */ addi r5, r1, 0x38 /* 800CFCB0 000CCC10 39 01 00 94 */ addi r8, r1, 0x94 /* 800CFCB4 000CCC14 91 21 00 0C */ stw r9, 0xc(r1) /* 800CFCB8 000CCC18 39 21 00 C4 */ addi r9, r1, 0xc4 /* 800CFCBC 000CCC1C 39 41 03 0C */ addi r10, r1, 0x30c /* 800CFCC0 000CCC20 90 01 00 10 */ stw r0, 0x10(r1) /* 800CFCC4 000CCC24 48 0A 21 A5 */ bl "__ct__8CMetroidF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC12CMetroidData" /* 800CFCC8 000CCC28 7C 7C 1B 78 */ mr r28, r3 lbl_800CFCCC: /* 800CFCCC 000CCC2C 7F 60 07 75 */ extsb. r0, r27 /* 800CFCD0 000CCC30 41 82 00 10 */ beq lbl_800CFCE0 /* 800CFCD4 000CCC34 38 61 00 C4 */ addi r3, r1, 0xc4 /* 800CFCD8 000CCC38 38 80 FF FF */ li r4, -1 /* 800CFCDC 000CCC3C 48 04 6D 71 */ bl __dt__10CModelDataFv lbl_800CFCE0: /* 800CFCE0 000CCC40 38 61 01 E0 */ addi r3, r1, 0x1e0 /* 800CFCE4 000CCC44 38 80 FF FF */ li r4, -1 /* 800CFCE8 000CCC48 48 00 00 31 */ bl sub_800cfd18 /* 800CFCEC 000CCC4C 38 61 01 78 */ addi r3, r1, 0x178 /* 800CFCF0 000CCC50 38 80 FF FF */ li r4, -1 /* 800CFCF4 000CCC54 48 03 69 15 */ bl __dt__16CLightParametersFv /* 800CFCF8 000CCC58 38 61 00 38 */ addi r3, r1, 0x38 /* 800CFCFC 000CCC5C 48 26 DD E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CFD00 000CCC60 7F 83 E3 78 */ mr r3, r28 lbl_800CFD04: /* 800CFD04 000CCC64 BB 61 04 4C */ lmw r27, 0x44c(r1) /* 800CFD08 000CCC68 80 01 04 64 */ lwz r0, 0x464(r1) /* 800CFD0C 000CCC6C 7C 08 03 A6 */ mtlr r0 /* 800CFD10 000CCC70 38 21 04 60 */ addi r1, r1, 0x460 /* 800CFD14 000CCC74 4E 80 00 20 */ blr .global sub_800cfd18 sub_800cfd18: /* 800CFD18 000CCC78 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800CFD1C 000CCC7C 7C 08 02 A6 */ mflr r0 /* 800CFD20 000CCC80 90 01 00 14 */ stw r0, 0x14(r1) /* 800CFD24 000CCC84 93 E1 00 0C */ stw r31, 0xc(r1) /* 800CFD28 000CCC88 7C 7F 1B 79 */ or. r31, r3, r3 /* 800CFD2C 000CCC8C 41 82 00 54 */ beq lbl_800CFD80 /* 800CFD30 000CCC90 34 1F 01 18 */ addic. r0, r31, 0x118 /* 800CFD34 000CCC94 41 82 00 0C */ beq lbl_800CFD40 /* 800CFD38 000CCC98 38 00 00 00 */ li r0, 0 /* 800CFD3C 000CCC9C 98 1F 01 24 */ stb r0, 0x124(r31) lbl_800CFD40: /* 800CFD40 000CCCA0 34 1F 01 08 */ addic. r0, r31, 0x108 /* 800CFD44 000CCCA4 41 82 00 0C */ beq lbl_800CFD50 /* 800CFD48 000CCCA8 38 00 00 00 */ li r0, 0 /* 800CFD4C 000CCCAC 98 1F 01 14 */ stb r0, 0x114(r31) lbl_800CFD50: /* 800CFD50 000CCCB0 34 1F 00 F8 */ addic. r0, r31, 0xf8 /* 800CFD54 000CCCB4 41 82 00 0C */ beq lbl_800CFD60 /* 800CFD58 000CCCB8 38 00 00 00 */ li r0, 0 /* 800CFD5C 000CCCBC 98 1F 01 04 */ stb r0, 0x104(r31) lbl_800CFD60: /* 800CFD60 000CCCC0 34 1F 00 E8 */ addic. r0, r31, 0xe8 /* 800CFD64 000CCCC4 41 82 00 0C */ beq lbl_800CFD70 /* 800CFD68 000CCCC8 38 00 00 00 */ li r0, 0 /* 800CFD6C 000CCCCC 98 1F 00 F4 */ stb r0, 0xf4(r31) lbl_800CFD70: /* 800CFD70 000CCCD0 7C 80 07 35 */ extsh. r0, r4 /* 800CFD74 000CCCD4 40 81 00 0C */ ble lbl_800CFD80 /* 800CFD78 000CCCD8 7F E3 FB 78 */ mr r3, r31 /* 800CFD7C 000CCCDC 48 24 5B B5 */ bl Free__7CMemoryFPCv lbl_800CFD80: /* 800CFD80 000CCCE0 80 01 00 14 */ lwz r0, 0x14(r1) /* 800CFD84 000CCCE4 7F E3 FB 78 */ mr r3, r31 /* 800CFD88 000CCCE8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 800CFD8C 000CCCEC 7C 08 03 A6 */ mtlr r0 /* 800CFD90 000CCCF0 38 21 00 10 */ addi r1, r1, 0x10 /* 800CFD94 000CCCF4 4E 80 00 20 */ blr .global LoadPickupGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadPickupGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CFD98 000CCCF8 94 21 FF B0 */ stwu r1, -0x50(r1) /* 800CFD9C 000CCCFC 7C 08 02 A6 */ mflr r0 /* 800CFDA0 000CCD00 2C 05 00 04 */ cmpwi r5, 4 /* 800CFDA4 000CCD04 90 01 00 54 */ stw r0, 0x54(r1) /* 800CFDA8 000CCD08 DB E1 00 48 */ stfd f31, 0x48(r1) /* 800CFDAC 000CCD0C 93 E1 00 44 */ stw r31, 0x44(r1) /* 800CFDB0 000CCD10 93 C1 00 40 */ stw r30, 0x40(r1) /* 800CFDB4 000CCD14 7C 9E 23 78 */ mr r30, r4 /* 800CFDB8 000CCD18 93 A1 00 3C */ stw r29, 0x3c(r1) /* 800CFDBC 000CCD1C 7C DD 33 78 */ mr r29, r6 /* 800CFDC0 000CCD20 93 81 00 38 */ stw r28, 0x38(r1) /* 800CFDC4 000CCD24 7C 7C 1B 78 */ mr r28, r3 /* 800CFDC8 000CCD28 41 82 00 0C */ beq lbl_800CFDD4 /* 800CFDCC 000CCD2C 38 60 00 00 */ li r3, 0 /* 800CFDD0 000CCD30 48 00 00 9C */ b lbl_800CFE6C lbl_800CFDD4: /* 800CFDD4 000CCD34 4B F7 54 11 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CFDD8 000CCD38 7C 64 1B 78 */ mr r4, r3 /* 800CFDDC 000CCD3C 38 61 00 1C */ addi r3, r1, 0x1c /* 800CFDE0 000CCD40 48 26 E3 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CFDE4 000CCD44 7F C4 F3 78 */ mr r4, r30 /* 800CFDE8 000CCD48 38 61 00 10 */ addi r3, r1, 0x10 /* 800CFDEC 000CCD4C 48 24 4D A1 */ bl __ct__9CVector3fFR12CInputStream /* 800CFDF0 000CCD50 7F C3 F3 78 */ mr r3, r30 /* 800CFDF4 000CCD54 48 26 EE E9 */ bl ReadBool__12CInputStreamFv /* 800CFDF8 000CCD58 7C 7F 1B 78 */ mr r31, r3 /* 800CFDFC 000CCD5C 7F C3 F3 78 */ mr r3, r30 /* 800CFE00 000CCD60 48 26 EE 29 */ bl ReadFloat__12CInputStreamFv /* 800CFE04 000CCD64 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CFE08 000CCD68 FF E0 08 90 */ fmr f31, f1 /* 800CFE0C 000CCD6C 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800CFE10 000CCD70 38 A0 00 00 */ li r5, 0 /* 800CFE14 000CCD74 38 60 00 48 */ li r3, 0x48 /* 800CFE18 000CCD78 38 84 00 0D */ addi r4, r4, 0xd /* 800CFE1C 000CCD7C 48 24 5A 51 */ bl __nw__FUlPCcPCc /* 800CFE20 000CCD80 7C 7E 1B 79 */ or. r30, r3, r3 /* 800CFE24 000CCD84 41 82 00 3C */ beq lbl_800CFE60 /* 800CFE28 000CCD88 7F 84 E3 78 */ mr r4, r28 /* 800CFE2C 000CCD8C 38 61 00 08 */ addi r3, r1, 8 /* 800CFE30 000CCD90 4B F7 D2 AD */ bl AllocateUniqueId__13CStateManagerFv /* 800CFE34 000CCD94 A0 01 00 08 */ lhz r0, 8(r1) /* 800CFE38 000CCD98 FC 20 F8 90 */ fmr f1, f31 /* 800CFE3C 000CCD9C 7F C3 F3 78 */ mr r3, r30 /* 800CFE40 000CCDA0 7F A6 EB 78 */ mr r6, r29 /* 800CFE44 000CCDA4 B0 01 00 0C */ sth r0, 0xc(r1) /* 800CFE48 000CCDA8 7F E8 FB 78 */ mr r8, r31 /* 800CFE4C 000CCDAC 38 81 00 0C */ addi r4, r1, 0xc /* 800CFE50 000CCDB0 38 A1 00 1C */ addi r5, r1, 0x1c /* 800CFE54 000CCDB4 38 E1 00 10 */ addi r7, r1, 0x10 /* 800CFE58 000CCDB8 48 08 EA E1 */ bl "__ct__22CScriptPickupGeneratorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3ffb" /* 800CFE5C 000CCDBC 7C 7E 1B 78 */ mr r30, r3 lbl_800CFE60: /* 800CFE60 000CCDC0 38 61 00 1C */ addi r3, r1, 0x1c /* 800CFE64 000CCDC4 48 26 DC 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CFE68 000CCDC8 7F C3 F3 78 */ mr r3, r30 lbl_800CFE6C: /* 800CFE6C 000CCDCC 80 01 00 54 */ lwz r0, 0x54(r1) /* 800CFE70 000CCDD0 CB E1 00 48 */ lfd f31, 0x48(r1) /* 800CFE74 000CCDD4 83 E1 00 44 */ lwz r31, 0x44(r1) /* 800CFE78 000CCDD8 83 C1 00 40 */ lwz r30, 0x40(r1) /* 800CFE7C 000CCDDC 83 A1 00 3C */ lwz r29, 0x3c(r1) /* 800CFE80 000CCDE0 83 81 00 38 */ lwz r28, 0x38(r1) /* 800CFE84 000CCDE4 7C 08 03 A6 */ mtlr r0 /* 800CFE88 000CCDE8 38 21 00 50 */ addi r1, r1, 0x50 /* 800CFE8C 000CCDEC 4E 80 00 20 */ blr .global LoadRipper__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadRipper__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800CFE90 000CCDF0 94 21 FC 70 */ stwu r1, -0x390(r1) /* 800CFE94 000CCDF4 7C 08 02 A6 */ mflr r0 /* 800CFE98 000CCDF8 90 01 03 94 */ stw r0, 0x394(r1) /* 800CFE9C 000CCDFC 80 02 9E D8 */ lwz r0, lbl_805ABBF8@sda21(r2) /* 800CFEA0 000CCE00 BF 61 03 7C */ stmw r27, 0x37c(r1) /* 800CFEA4 000CCE04 7C 7D 1B 78 */ mr r29, r3 /* 800CFEA8 000CCE08 7C 05 00 00 */ cmpw r5, r0 /* 800CFEAC 000CCE0C 7C 9C 23 78 */ mr r28, r4 /* 800CFEB0 000CCE10 7C DE 33 78 */ mr r30, r6 /* 800CFEB4 000CCE14 41 82 00 0C */ beq lbl_800CFEC0 /* 800CFEB8 000CCE18 38 60 00 00 */ li r3, 0 /* 800CFEBC 000CCE1C 48 00 02 2C */ b lbl_800D00E8 lbl_800CFEC0: /* 800CFEC0 000CCE20 4B F7 53 25 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800CFEC4 000CCE24 7C 64 1B 78 */ mr r4, r3 /* 800CFEC8 000CCE28 38 61 00 2C */ addi r3, r1, 0x2c /* 800CFECC 000CCE2C 48 26 E2 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800CFED0 000CCE30 7F 83 E3 78 */ mr r3, r28 /* 800CFED4 000CCE34 48 26 ED B1 */ bl ReadLong__12CInputStreamFv /* 800CFED8 000CCE38 7C 60 1B 78 */ mr r0, r3 /* 800CFEDC 000CCE3C 7F 84 E3 78 */ mr r4, r28 /* 800CFEE0 000CCE40 38 61 00 88 */ addi r3, r1, 0x88 /* 800CFEE4 000CCE44 7C 1F 03 78 */ mr r31, r0 /* 800CFEE8 000CCE48 48 00 A6 A5 */ bl LoadEditorTransform__FR12CInputStream /* 800CFEEC 000CCE4C 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800CFEF0 000CCE50 38 81 00 88 */ addi r4, r1, 0x88 /* 800CFEF4 000CCE54 48 24 2C 81 */ bl __ct__12CTransform4fFRC12CTransform4f /* 800CFEF8 000CCE58 7F 84 E3 78 */ mr r4, r28 /* 800CFEFC 000CCE5C 38 61 00 20 */ addi r3, r1, 0x20 /* 800CFF00 000CCE60 48 24 4C 8D */ bl __ct__9CVector3fFR12CInputStream /* 800CFF04 000CCE64 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CFF08 000CCE68 7F 84 E3 78 */ mr r4, r28 /* 800CFF0C 000CCE6C 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800CFF10 000CCE70 38 61 00 18 */ addi r3, r1, 0x18 /* 800CFF14 000CCE74 38 A5 01 01 */ addi r5, r5, 0x101 /* 800CFF18 000CCE78 48 03 59 11 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800CFF1C 000CCE7C 88 01 00 18 */ lbz r0, 0x18(r1) /* 800CFF20 000CCE80 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 800CFF24 000CCE84 28 00 00 00 */ cmplwi r0, 0 /* 800CFF28 000CCE88 40 82 00 14 */ bne lbl_800CFF3C /* 800CFF2C 000CCE8C 38 61 00 2C */ addi r3, r1, 0x2c /* 800CFF30 000CCE90 48 26 DB B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CFF34 000CCE94 38 60 00 00 */ li r3, 0 /* 800CFF38 000CCE98 48 00 01 B0 */ b lbl_800D00E8 lbl_800CFF3C: /* 800CFF3C 000CCE9C 7F 84 E3 78 */ mr r4, r28 /* 800CFF40 000CCEA0 38 61 02 34 */ addi r3, r1, 0x234 /* 800CFF44 000CCEA4 48 03 59 35 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800CFF48 000CCEA8 7F 84 E3 78 */ mr r4, r28 /* 800CFF4C 000CCEAC 38 61 01 64 */ addi r3, r1, 0x164 /* 800CFF50 000CCEB0 48 00 9E 25 */ bl LoadActorParameters__FR12CInputStream /* 800CFF54 000CCEB4 38 61 01 CC */ addi r3, r1, 0x1cc /* 800CFF58 000CCEB8 38 81 01 64 */ addi r4, r1, 0x164 /* 800CFF5C 000CCEBC 4B FF 56 C1 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800CFF60 000CCEC0 38 61 01 64 */ addi r3, r1, 0x164 /* 800CFF64 000CCEC4 38 80 FF FF */ li r4, -1 /* 800CFF68 000CCEC8 48 03 66 A1 */ bl __dt__16CLightParametersFv /* 800CFF6C 000CCECC 80 61 03 20 */ lwz r3, 0x320(r1) /* 800CFF70 000CCED0 3C 03 00 01 */ addis r0, r3, 1 /* 800CFF74 000CCED4 28 00 FF FF */ cmplwi r0, 0xffff /* 800CFF78 000CCED8 40 82 00 20 */ bne lbl_800CFF98 /* 800CFF7C 000CCEDC 38 61 01 CC */ addi r3, r1, 0x1cc /* 800CFF80 000CCEE0 38 80 FF FF */ li r4, -1 /* 800CFF84 000CCEE4 48 03 66 85 */ bl __dt__16CLightParametersFv /* 800CFF88 000CCEE8 38 61 00 2C */ addi r3, r1, 0x2c /* 800CFF8C 000CCEEC 48 26 DB 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800CFF90 000CCEF0 38 60 00 00 */ li r3, 0 /* 800CFF94 000CCEF4 48 00 01 54 */ b lbl_800D00E8 lbl_800CFF98: /* 800CFF98 000CCEF8 7F 84 E3 78 */ mr r4, r28 /* 800CFF9C 000CCEFC 38 61 00 58 */ addi r3, r1, 0x58 /* 800CFFA0 000CCF00 48 00 9C C5 */ bl LoadGrappleParameters__FR12CInputStream /* 800CFFA4 000CCF04 C1 41 00 58 */ lfs f10, 0x58(r1) /* 800CFFA8 000CCF08 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800CFFAC 000CCF0C C1 21 00 5C */ lfs f9, 0x5c(r1) /* 800CFFB0 000CCF10 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l /* 800CFFB4 000CCF14 C1 01 00 60 */ lfs f8, 0x60(r1) /* 800CFFB8 000CCF18 38 83 00 0D */ addi r4, r3, 0xd /* 800CFFBC 000CCF1C C0 E1 00 64 */ lfs f7, 0x64(r1) /* 800CFFC0 000CCF20 3B 60 00 00 */ li r27, 0 /* 800CFFC4 000CCF24 C0 C1 00 68 */ lfs f6, 0x68(r1) /* 800CFFC8 000CCF28 38 60 05 A0 */ li r3, 0x5a0 /* 800CFFCC 000CCF2C C0 A1 00 6C */ lfs f5, 0x6c(r1) /* 800CFFD0 000CCF30 38 A0 00 00 */ li r5, 0 /* 800CFFD4 000CCF34 C0 81 00 70 */ lfs f4, 0x70(r1) /* 800CFFD8 000CCF38 C0 61 00 74 */ lfs f3, 0x74(r1) /* 800CFFDC 000CCF3C C0 41 00 78 */ lfs f2, 0x78(r1) /* 800CFFE0 000CCF40 C0 21 00 7C */ lfs f1, 0x7c(r1) /* 800CFFE4 000CCF44 C0 01 00 80 */ lfs f0, 0x80(r1) /* 800CFFE8 000CCF48 88 01 00 84 */ lbz r0, 0x84(r1) /* 800CFFEC 000CCF4C D1 41 00 B8 */ stfs f10, 0xb8(r1) /* 800CFFF0 000CCF50 D1 21 00 BC */ stfs f9, 0xbc(r1) /* 800CFFF4 000CCF54 D1 01 00 C0 */ stfs f8, 0xc0(r1) /* 800CFFF8 000CCF58 D0 E1 00 C4 */ stfs f7, 0xc4(r1) /* 800CFFFC 000CCF5C D0 C1 00 C8 */ stfs f6, 0xc8(r1) /* 800D0000 000CCF60 D0 A1 00 CC */ stfs f5, 0xcc(r1) /* 800D0004 000CCF64 D0 81 00 D0 */ stfs f4, 0xd0(r1) /* 800D0008 000CCF68 D0 61 00 D4 */ stfs f3, 0xd4(r1) /* 800D000C 000CCF6C D0 41 00 D8 */ stfs f2, 0xd8(r1) /* 800D0010 000CCF70 D0 21 00 DC */ stfs f1, 0xdc(r1) /* 800D0014 000CCF74 D0 01 00 E0 */ stfs f0, 0xe0(r1) /* 800D0018 000CCF78 98 01 00 E4 */ stb r0, 0xe4(r1) /* 800D001C 000CCF7C 48 24 58 51 */ bl __nw__FUlPCcPCc /* 800D0020 000CCF80 7C 7C 1B 79 */ or. r28, r3, r3 /* 800D0024 000CCF84 41 82 00 98 */ beq lbl_800D00BC /* 800D0028 000CCF88 80 E1 03 20 */ lwz r7, 0x320(r1) /* 800D002C 000CCF8C 38 A0 00 01 */ li r5, 1 /* 800D0030 000CCF90 80 C1 03 24 */ lwz r6, 0x324(r1) /* 800D0034 000CCF94 38 61 01 18 */ addi r3, r1, 0x118 /* 800D0038 000CCF98 C0 41 00 20 */ lfs f2, 0x20(r1) /* 800D003C 000CCF9C 38 81 00 3C */ addi r4, r1, 0x3c /* 800D0040 000CCFA0 C0 21 00 24 */ lfs f1, 0x24(r1) /* 800D0044 000CCFA4 C0 01 00 28 */ lfs f0, 0x28(r1) /* 800D0048 000CCFA8 80 01 03 28 */ lwz r0, 0x328(r1) /* 800D004C 000CCFAC 90 E1 00 3C */ stw r7, 0x3c(r1) /* 800D0050 000CCFB0 90 C1 00 40 */ stw r6, 0x40(r1) /* 800D0054 000CCFB4 D0 41 00 44 */ stfs f2, 0x44(r1) /* 800D0058 000CCFB8 D0 21 00 48 */ stfs f1, 0x48(r1) /* 800D005C 000CCFBC D0 01 00 4C */ stfs f0, 0x4c(r1) /* 800D0060 000CCFC0 98 A1 00 50 */ stb r5, 0x50(r1) /* 800D0064 000CCFC4 90 01 00 54 */ stw r0, 0x54(r1) /* 800D0068 000CCFC8 48 04 6A ED */ bl __ct__10CModelDataFRC8CAnimRes /* 800D006C 000CCFCC 7F A4 EB 78 */ mr r4, r29 /* 800D0070 000CCFD0 38 61 00 10 */ addi r3, r1, 0x10 /* 800D0074 000CCFD4 3B 60 00 01 */ li r27, 1 /* 800D0078 000CCFD8 4B F7 D0 65 */ bl AllocateUniqueId__13CStateManagerFv /* 800D007C 000CCFDC A0 81 00 10 */ lhz r4, 0x10(r1) /* 800D0080 000CCFE0 38 A1 01 CC */ addi r5, r1, 0x1cc /* 800D0084 000CCFE4 38 01 00 B8 */ addi r0, r1, 0xb8 /* 800D0088 000CCFE8 7F 83 E3 78 */ mr r3, r28 /* 800D008C 000CCFEC B0 81 00 14 */ sth r4, 0x14(r1) /* 800D0090 000CCFF0 7F E6 FB 78 */ mr r6, r31 /* 800D0094 000CCFF4 7F C7 F3 78 */ mr r7, r30 /* 800D0098 000CCFF8 38 81 00 14 */ addi r4, r1, 0x14 /* 800D009C 000CCFFC 90 A1 00 08 */ stw r5, 8(r1) /* 800D00A0 000CD000 38 A1 00 2C */ addi r5, r1, 0x2c /* 800D00A4 000CD004 39 01 00 E8 */ addi r8, r1, 0xe8 /* 800D00A8 000CD008 39 21 01 18 */ addi r9, r1, 0x118 /* 800D00AC 000CD00C 90 01 00 0C */ stw r0, 0xc(r1) /* 800D00B0 000CD010 39 41 02 34 */ addi r10, r1, 0x234 /* 800D00B4 000CD014 48 08 C6 7D */ bl "__ct__7CRipperF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC18CGrappleParameters" /* 800D00B8 000CD018 7C 7C 1B 78 */ mr r28, r3 lbl_800D00BC: /* 800D00BC 000CD01C 7F 60 07 75 */ extsb. r0, r27 /* 800D00C0 000CD020 41 82 00 10 */ beq lbl_800D00D0 /* 800D00C4 000CD024 38 61 01 18 */ addi r3, r1, 0x118 /* 800D00C8 000CD028 38 80 FF FF */ li r4, -1 /* 800D00CC 000CD02C 48 04 69 81 */ bl __dt__10CModelDataFv lbl_800D00D0: /* 800D00D0 000CD030 38 61 01 CC */ addi r3, r1, 0x1cc /* 800D00D4 000CD034 38 80 FF FF */ li r4, -1 /* 800D00D8 000CD038 48 03 65 31 */ bl __dt__16CLightParametersFv /* 800D00DC 000CD03C 38 61 00 2C */ addi r3, r1, 0x2c /* 800D00E0 000CD040 48 26 DA 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D00E4 000CD044 7F 83 E3 78 */ mr r3, r28 lbl_800D00E8: /* 800D00E8 000CD048 BB 61 03 7C */ lmw r27, 0x37c(r1) /* 800D00EC 000CD04C 80 01 03 94 */ lwz r0, 0x394(r1) /* 800D00F0 000CD050 7C 08 03 A6 */ mtlr r0 /* 800D00F4 000CD054 38 21 03 90 */ addi r1, r1, 0x390 /* 800D00F8 000CD058 4E 80 00 20 */ blr .global LoadParasite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadParasite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D00FC 000CD05C 94 21 FB 50 */ stwu r1, -0x4b0(r1) /* 800D0100 000CD060 7C 08 02 A6 */ mflr r0 /* 800D0104 000CD064 90 01 04 B4 */ stw r0, 0x4b4(r1) /* 800D0108 000CD068 DB E1 04 A0 */ stfd f31, 0x4a0(r1) /* 800D010C 000CD06C F3 E1 04 A8 */ psq_st f31, 1192(r1), 0, qr0 /* 800D0110 000CD070 DB C1 04 90 */ stfd f30, 0x490(r1) /* 800D0114 000CD074 F3 C1 04 98 */ psq_st f30, 1176(r1), 0, qr0 /* 800D0118 000CD078 DB A1 04 80 */ stfd f29, 0x480(r1) /* 800D011C 000CD07C F3 A1 04 88 */ psq_st f29, 1160(r1), 0, qr0 /* 800D0120 000CD080 DB 81 04 70 */ stfd f28, 0x470(r1) /* 800D0124 000CD084 F3 81 04 78 */ psq_st f28, 1144(r1), 0, qr0 /* 800D0128 000CD088 DB 61 04 60 */ stfd f27, 0x460(r1) /* 800D012C 000CD08C F3 61 04 68 */ psq_st f27, 1128(r1), 0, qr0 /* 800D0130 000CD090 DB 41 04 50 */ stfd f26, 0x450(r1) /* 800D0134 000CD094 F3 41 04 58 */ psq_st f26, 1112(r1), 0, qr0 /* 800D0138 000CD098 DB 21 04 40 */ stfd f25, 0x440(r1) /* 800D013C 000CD09C F3 21 04 48 */ psq_st f25, 1096(r1), 0, qr0 /* 800D0140 000CD0A0 DB 01 04 30 */ stfd f24, 0x430(r1) /* 800D0144 000CD0A4 F3 01 04 38 */ psq_st f24, 1080(r1), 0, qr0 /* 800D0148 000CD0A8 DA E1 04 20 */ stfd f23, 0x420(r1) /* 800D014C 000CD0AC F2 E1 04 28 */ psq_st f23, 1064(r1), 0, qr0 /* 800D0150 000CD0B0 DA C1 04 10 */ stfd f22, 0x410(r1) /* 800D0154 000CD0B4 F2 C1 04 18 */ psq_st f22, 1048(r1), 0, qr0 /* 800D0158 000CD0B8 DA A1 04 00 */ stfd f21, 0x400(r1) /* 800D015C 000CD0BC F2 A1 04 08 */ psq_st f21, 1032(r1), 0, qr0 /* 800D0160 000CD0C0 DA 81 03 F0 */ stfd f20, 0x3f0(r1) /* 800D0164 000CD0C4 F2 81 03 F8 */ psq_st f20, 1016(r1), 0, qr0 /* 800D0168 000CD0C8 DA 61 03 E0 */ stfd f19, 0x3e0(r1) /* 800D016C 000CD0CC F2 61 03 E8 */ psq_st f19, 1000(r1), 0, qr0 /* 800D0170 000CD0D0 DA 41 03 D0 */ stfd f18, 0x3d0(r1) /* 800D0174 000CD0D4 F2 41 03 D8 */ psq_st f18, 984(r1), 0, qr0 /* 800D0178 000CD0D8 DA 21 03 C0 */ stfd f17, 0x3c0(r1) /* 800D017C 000CD0DC F2 21 03 C8 */ psq_st f17, 968(r1), 0, qr0 /* 800D0180 000CD0E0 DA 01 03 B0 */ stfd f16, 0x3b0(r1) /* 800D0184 000CD0E4 F2 01 03 B8 */ psq_st f16, 952(r1), 0, qr0 /* 800D0188 000CD0E8 D9 E1 03 A0 */ stfd f15, 0x3a0(r1) /* 800D018C 000CD0EC F1 E1 03 A8 */ psq_st f15, 936(r1), 0, qr0 /* 800D0190 000CD0F0 BF 01 03 80 */ stmw r24, 0x380(r1) /* 800D0194 000CD0F4 2C 05 00 19 */ cmpwi r5, 0x19 /* 800D0198 000CD0F8 7C 7B 1B 78 */ mr r27, r3 /* 800D019C 000CD0FC 7C 98 23 78 */ mr r24, r4 /* 800D01A0 000CD100 7C DC 33 78 */ mr r28, r6 /* 800D01A4 000CD104 41 82 00 0C */ beq lbl_800D01B0 /* 800D01A8 000CD108 38 60 00 00 */ li r3, 0 /* 800D01AC 000CD10C 48 00 03 80 */ b lbl_800D052C lbl_800D01B0: /* 800D01B0 000CD110 4B F7 50 35 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D01B4 000CD114 7C 64 1B 78 */ mr r4, r3 /* 800D01B8 000CD118 38 61 00 84 */ addi r3, r1, 0x84 /* 800D01BC 000CD11C 48 26 DF A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D01C0 000CD120 7F 03 C3 78 */ mr r3, r24 /* 800D01C4 000CD124 48 26 EA C1 */ bl ReadLong__12CInputStreamFv /* 800D01C8 000CD128 7C 7E 1B 78 */ mr r30, r3 /* 800D01CC 000CD12C 7F 04 C3 78 */ mr r4, r24 /* 800D01D0 000CD130 38 61 00 CC */ addi r3, r1, 0xcc /* 800D01D4 000CD134 48 00 A3 B9 */ bl LoadEditorTransform__FR12CInputStream /* 800D01D8 000CD138 38 61 00 FC */ addi r3, r1, 0xfc /* 800D01DC 000CD13C 38 81 00 CC */ addi r4, r1, 0xcc /* 800D01E0 000CD140 48 24 29 95 */ bl __ct__12CTransform4fFRC12CTransform4f /* 800D01E4 000CD144 7F 04 C3 78 */ mr r4, r24 /* 800D01E8 000CD148 38 61 00 78 */ addi r3, r1, 0x78 /* 800D01EC 000CD14C 48 24 49 A1 */ bl __ct__9CVector3fFR12CInputStream /* 800D01F0 000CD150 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D01F4 000CD154 7F 04 C3 78 */ mr r4, r24 /* 800D01F8 000CD158 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800D01FC 000CD15C 38 61 00 70 */ addi r3, r1, 0x70 /* 800D0200 000CD160 38 A5 01 08 */ addi r5, r5, 0x108 /* 800D0204 000CD164 48 03 56 25 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800D0208 000CD168 88 01 00 70 */ lbz r0, 0x70(r1) /* 800D020C 000CD16C 80 A1 00 74 */ lwz r5, 0x74(r1) /* 800D0210 000CD170 28 00 00 00 */ cmplwi r0, 0 /* 800D0214 000CD174 40 82 00 14 */ bne lbl_800D0228 /* 800D0218 000CD178 38 61 00 84 */ addi r3, r1, 0x84 /* 800D021C 000CD17C 48 26 D8 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D0220 000CD180 38 60 00 00 */ li r3, 0 /* 800D0224 000CD184 48 00 03 08 */ b lbl_800D052C lbl_800D0228: /* 800D0228 000CD188 7F 04 C3 78 */ mr r4, r24 /* 800D022C 000CD18C 38 61 02 48 */ addi r3, r1, 0x248 /* 800D0230 000CD190 48 03 56 49 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800D0234 000CD194 7F 04 C3 78 */ mr r4, r24 /* 800D0238 000CD198 38 61 01 78 */ addi r3, r1, 0x178 /* 800D023C 000CD19C 48 00 9B 39 */ bl LoadActorParameters__FR12CInputStream /* 800D0240 000CD1A0 38 61 01 E0 */ addi r3, r1, 0x1e0 /* 800D0244 000CD1A4 38 81 01 78 */ addi r4, r1, 0x178 /* 800D0248 000CD1A8 4B FF 53 D5 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D024C 000CD1AC 38 61 01 78 */ addi r3, r1, 0x178 /* 800D0250 000CD1B0 38 80 FF FF */ li r4, -1 /* 800D0254 000CD1B4 48 03 63 B5 */ bl __dt__16CLightParametersFv /* 800D0258 000CD1B8 7F 03 C3 78 */ mr r3, r24 /* 800D025C 000CD1BC 48 26 E9 CD */ bl ReadFloat__12CInputStreamFv /* 800D0260 000CD1C0 FE C0 08 90 */ fmr f22, f1 /* 800D0264 000CD1C4 7F 03 C3 78 */ mr r3, r24 /* 800D0268 000CD1C8 48 26 E9 C1 */ bl ReadFloat__12CInputStreamFv /* 800D026C 000CD1CC FE A0 08 90 */ fmr f21, f1 /* 800D0270 000CD1D0 7F 03 C3 78 */ mr r3, r24 /* 800D0274 000CD1D4 48 26 E9 B5 */ bl ReadFloat__12CInputStreamFv /* 800D0278 000CD1D8 FE 80 08 90 */ fmr f20, f1 /* 800D027C 000CD1DC 7F 03 C3 78 */ mr r3, r24 /* 800D0280 000CD1E0 48 26 E9 A9 */ bl ReadFloat__12CInputStreamFv /* 800D0284 000CD1E4 FE 60 08 90 */ fmr f19, f1 /* 800D0288 000CD1E8 7F 03 C3 78 */ mr r3, r24 /* 800D028C 000CD1EC 48 26 E9 9D */ bl ReadFloat__12CInputStreamFv /* 800D0290 000CD1F0 FE 40 08 90 */ fmr f18, f1 /* 800D0294 000CD1F4 7F 03 C3 78 */ mr r3, r24 /* 800D0298 000CD1F8 48 26 E9 91 */ bl ReadFloat__12CInputStreamFv /* 800D029C 000CD1FC FE 20 08 90 */ fmr f17, f1 /* 800D02A0 000CD200 7F 03 C3 78 */ mr r3, r24 /* 800D02A4 000CD204 48 26 E9 85 */ bl ReadFloat__12CInputStreamFv /* 800D02A8 000CD208 FE 00 08 90 */ fmr f16, f1 /* 800D02AC 000CD20C 7F 03 C3 78 */ mr r3, r24 /* 800D02B0 000CD210 48 26 E9 79 */ bl ReadFloat__12CInputStreamFv /* 800D02B4 000CD214 FD E0 08 90 */ fmr f15, f1 /* 800D02B8 000CD218 7F 03 C3 78 */ mr r3, r24 /* 800D02BC 000CD21C 48 26 E9 6D */ bl ReadFloat__12CInputStreamFv /* 800D02C0 000CD220 FE E0 08 90 */ fmr f23, f1 /* 800D02C4 000CD224 7F 03 C3 78 */ mr r3, r24 /* 800D02C8 000CD228 48 26 E9 61 */ bl ReadFloat__12CInputStreamFv /* 800D02CC 000CD22C FF 00 08 90 */ fmr f24, f1 /* 800D02D0 000CD230 7F 03 C3 78 */ mr r3, r24 /* 800D02D4 000CD234 48 26 E9 55 */ bl ReadFloat__12CInputStreamFv /* 800D02D8 000CD238 FF 20 08 90 */ fmr f25, f1 /* 800D02DC 000CD23C 7F 03 C3 78 */ mr r3, r24 /* 800D02E0 000CD240 48 26 E9 49 */ bl ReadFloat__12CInputStreamFv /* 800D02E4 000CD244 FF 40 08 90 */ fmr f26, f1 /* 800D02E8 000CD248 7F 03 C3 78 */ mr r3, r24 /* 800D02EC 000CD24C 48 26 E9 3D */ bl ReadFloat__12CInputStreamFv /* 800D02F0 000CD250 FF 60 08 90 */ fmr f27, f1 /* 800D02F4 000CD254 7F 03 C3 78 */ mr r3, r24 /* 800D02F8 000CD258 48 26 E9 31 */ bl ReadFloat__12CInputStreamFv /* 800D02FC 000CD25C FF 80 08 90 */ fmr f28, f1 /* 800D0300 000CD260 7F 03 C3 78 */ mr r3, r24 /* 800D0304 000CD264 48 26 E9 25 */ bl ReadFloat__12CInputStreamFv /* 800D0308 000CD268 FF A0 08 90 */ fmr f29, f1 /* 800D030C 000CD26C 7F 03 C3 78 */ mr r3, r24 /* 800D0310 000CD270 48 26 E9 19 */ bl ReadFloat__12CInputStreamFv /* 800D0314 000CD274 FF C0 08 90 */ fmr f30, f1 /* 800D0318 000CD278 7F 03 C3 78 */ mr r3, r24 /* 800D031C 000CD27C 48 26 E9 0D */ bl ReadFloat__12CInputStreamFv /* 800D0320 000CD280 FF E0 08 90 */ fmr f31, f1 /* 800D0324 000CD284 7F 03 C3 78 */ mr r3, r24 /* 800D0328 000CD288 48 26 E9 B5 */ bl ReadBool__12CInputStreamFv /* 800D032C 000CD28C 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800D0330 000CD290 7C 7F 1B 78 */ mr r31, r3 /* 800D0334 000CD294 80 81 03 34 */ lwz r4, 0x334(r1) /* 800D0338 000CD298 38 65 00 04 */ addi r3, r5, 4 /* 800D033C 000CD29C 48 26 B9 91 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D0340 000CD2A0 3C 03 BE B2 */ addis r0, r3, 0xbeb2 /* 800D0344 000CD2A4 28 00 43 53 */ cmplwi r0, 0x4353 /* 800D0348 000CD2A8 41 82 00 20 */ beq lbl_800D0368 /* 800D034C 000CD2AC 38 61 01 E0 */ addi r3, r1, 0x1e0 /* 800D0350 000CD2B0 38 80 FF FF */ li r4, -1 /* 800D0354 000CD2B4 48 03 62 B5 */ bl __dt__16CLightParametersFv /* 800D0358 000CD2B8 38 61 00 84 */ addi r3, r1, 0x84 /* 800D035C 000CD2BC 48 26 D7 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D0360 000CD2C0 38 60 00 00 */ li r3, 0 /* 800D0364 000CD2C4 48 00 01 C8 */ b lbl_800D052C lbl_800D0368: /* 800D0368 000CD2C8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D036C 000CD2CC 3B 40 00 00 */ li r26, 0 /* 800D0370 000CD2D0 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D0374 000CD2D4 38 60 07 48 */ li r3, 0x748 /* 800D0378 000CD2D8 38 84 00 0D */ addi r4, r4, 0xd /* 800D037C 000CD2DC 38 A0 00 00 */ li r5, 0 /* 800D0380 000CD2E0 48 24 54 ED */ bl __nw__FUlPCcPCc /* 800D0384 000CD2E4 7C 7D 1B 79 */ or. r29, r3, r3 /* 800D0388 000CD2E8 41 82 01 78 */ beq lbl_800D0500 /* 800D038C 000CD2EC 39 40 00 00 */ li r10, 0 /* 800D0390 000CD2F0 88 01 00 6C */ lbz r0, 0x6c(r1) /* 800D0394 000CD2F4 51 40 3E 30 */ rlwimi r0, r10, 7, 0x18, 0x18 /* 800D0398 000CD2F8 C0 62 8E 28 */ lfs f3, lbl_805AAB48@sda21(r2) /* 800D039C 000CD2FC 98 01 00 6C */ stb r0, 0x6c(r1) /* 800D03A0 000CD300 54 00 06 3E */ clrlwi r0, r0, 0x18 /* 800D03A4 000CD304 51 40 36 72 */ rlwimi r0, r10, 6, 0x19, 0x19 /* 800D03A8 000CD308 89 01 00 C8 */ lbz r8, 0xc8(r1) /* 800D03AC 000CD30C 80 E1 03 34 */ lwz r7, 0x334(r1) /* 800D03B0 000CD310 54 09 06 3E */ clrlwi r9, r0, 0x18 /* 800D03B4 000CD314 98 01 00 6C */ stb r0, 0x6c(r1) /* 800D03B8 000CD318 51 49 2E B4 */ rlwimi r9, r10, 5, 0x1a, 0x1a /* 800D03BC 000CD31C 80 C1 03 38 */ lwz r6, 0x338(r1) /* 800D03C0 000CD320 51 48 3E 30 */ rlwimi r8, r10, 7, 0x18, 0x18 /* 800D03C4 000CD324 C0 41 00 78 */ lfs f2, 0x78(r1) /* 800D03C8 000CD328 38 A0 00 01 */ li r5, 1 /* 800D03CC 000CD32C C0 21 00 7C */ lfs f1, 0x7c(r1) /* 800D03D0 000CD330 38 61 01 2C */ addi r3, r1, 0x12c /* 800D03D4 000CD334 C0 01 00 80 */ lfs f0, 0x80(r1) /* 800D03D8 000CD338 38 81 00 94 */ addi r4, r1, 0x94 /* 800D03DC 000CD33C 80 01 03 3C */ lwz r0, 0x33c(r1) /* 800D03E0 000CD340 91 41 00 68 */ stw r10, 0x68(r1) /* 800D03E4 000CD344 99 21 00 6C */ stb r9, 0x6c(r1) /* 800D03E8 000CD348 91 41 00 B0 */ stw r10, 0xb0(r1) /* 800D03EC 000CD34C 99 21 00 B4 */ stb r9, 0xb4(r1) /* 800D03F0 000CD350 D0 61 00 B8 */ stfs f3, 0xb8(r1) /* 800D03F4 000CD354 D0 61 00 BC */ stfs f3, 0xbc(r1) /* 800D03F8 000CD358 D0 61 00 C0 */ stfs f3, 0xc0(r1) /* 800D03FC 000CD35C D0 61 00 C4 */ stfs f3, 0xc4(r1) /* 800D0400 000CD360 99 01 00 C8 */ stb r8, 0xc8(r1) /* 800D0404 000CD364 90 E1 00 94 */ stw r7, 0x94(r1) /* 800D0408 000CD368 90 C1 00 98 */ stw r6, 0x98(r1) /* 800D040C 000CD36C D0 41 00 9C */ stfs f2, 0x9c(r1) /* 800D0410 000CD370 D0 21 00 A0 */ stfs f1, 0xa0(r1) /* 800D0414 000CD374 D0 01 00 A4 */ stfs f0, 0xa4(r1) /* 800D0418 000CD378 98 A1 00 A8 */ stb r5, 0xa8(r1) /* 800D041C 000CD37C 90 01 00 AC */ stw r0, 0xac(r1) /* 800D0420 000CD380 48 04 67 35 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D0424 000CD384 7F 64 DB 78 */ mr r4, r27 /* 800D0428 000CD388 38 61 00 60 */ addi r3, r1, 0x60 /* 800D042C 000CD38C 3B 40 00 01 */ li r26, 1 /* 800D0430 000CD390 4B F7 CC AD */ bl AllocateUniqueId__13CStateManagerFv /* 800D0434 000CD394 A0 81 00 60 */ lhz r4, 0x60(r1) /* 800D0438 000CD398 3C 60 80 57 */ lis r3, sNormalVulnerability__20CDamageVulnerability@ha /* 800D043C 000CD39C 38 00 00 06 */ li r0, 6 /* 800D0440 000CD3A0 C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) /* 800D0444 000CD3A4 B0 81 00 64 */ sth r4, 0x64(r1) /* 800D0448 000CD3A8 3B 20 00 00 */ li r25, 0 /* 800D044C 000CD3AC 3B 63 D5 78 */ addi r27, r3, sNormalVulnerability__20CDamageVulnerability@l /* 800D0450 000CD3B0 39 81 00 B0 */ addi r12, r1, 0xb0 /* 800D0454 000CD3B4 90 01 00 08 */ stw r0, 8(r1) /* 800D0458 000CD3B8 39 60 FF FF */ li r11, -1 /* 800D045C 000CD3BC A3 02 C5 FC */ lhz r24, kInternalInvalidSfxId__11CSfxManager@sda21(r2) /* 800D0460 000CD3C0 FC 20 B0 90 */ fmr f1, f22 /* 800D0464 000CD3C4 D2 E1 00 0C */ stfs f23, 0xc(r1) /* 800D0468 000CD3C8 FC 40 A8 90 */ fmr f2, f21 /* 800D046C 000CD3CC FC 60 A0 90 */ fmr f3, f20 /* 800D0470 000CD3D0 38 01 01 E0 */ addi r0, r1, 0x1e0 /* 800D0474 000CD3D4 D3 01 00 10 */ stfs f24, 0x10(r1) /* 800D0478 000CD3D8 FC 80 98 90 */ fmr f4, f19 /* 800D047C 000CD3DC 7F A3 EB 78 */ mr r3, r29 /* 800D0480 000CD3E0 D3 21 00 14 */ stfs f25, 0x14(r1) /* 800D0484 000CD3E4 FC A0 90 90 */ fmr f5, f18 /* 800D0488 000CD3E8 7F C6 F3 78 */ mr r6, r30 /* 800D048C 000CD3EC D3 41 00 18 */ stfs f26, 0x18(r1) /* 800D0490 000CD3F0 FC C0 88 90 */ fmr f6, f17 /* 800D0494 000CD3F4 7F 87 E3 78 */ mr r7, r28 /* 800D0498 000CD3F8 D3 61 00 1C */ stfs f27, 0x1c(r1) /* 800D049C 000CD3FC FC E0 80 90 */ fmr f7, f16 /* 800D04A0 000CD400 38 81 00 64 */ addi r4, r1, 0x64 /* 800D04A4 000CD404 D3 81 00 20 */ stfs f28, 0x20(r1) /* 800D04A8 000CD408 FD 00 78 90 */ fmr f8, f15 /* 800D04AC 000CD40C 38 A1 00 84 */ addi r5, r1, 0x84 /* 800D04B0 000CD410 D3 A1 00 24 */ stfs f29, 0x24(r1) /* 800D04B4 000CD414 39 01 00 FC */ addi r8, r1, 0xfc /* 800D04B8 000CD418 39 21 01 2C */ addi r9, r1, 0x12c /* 800D04BC 000CD41C D3 C1 00 28 */ stfs f30, 0x28(r1) /* 800D04C0 000CD420 39 41 02 48 */ addi r10, r1, 0x248 /* 800D04C4 000CD424 D3 E1 00 2C */ stfs f31, 0x2c(r1) /* 800D04C8 000CD428 D0 01 00 30 */ stfs f0, 0x30(r1) /* 800D04CC 000CD42C 93 E1 00 34 */ stw r31, 0x34(r1) /* 800D04D0 000CD430 93 21 00 38 */ stw r25, 0x38(r1) /* 800D04D4 000CD434 93 61 00 3C */ stw r27, 0x3c(r1) /* 800D04D8 000CD438 91 81 00 40 */ stw r12, 0x40(r1) /* 800D04DC 000CD43C 93 01 00 44 */ stw r24, 0x44(r1) /* 800D04E0 000CD440 93 01 00 48 */ stw r24, 0x48(r1) /* 800D04E4 000CD444 93 01 00 4C */ stw r24, 0x4c(r1) /* 800D04E8 000CD448 91 61 00 50 */ stw r11, 0x50(r1) /* 800D04EC 000CD44C 91 61 00 54 */ stw r11, 0x54(r1) /* 800D04F0 000CD450 D0 01 00 58 */ stfs f0, 0x58(r1) /* 800D04F4 000CD454 90 01 00 5C */ stw r0, 0x5c(r1) /* 800D04F8 000CD458 48 08 9F 6D */ bl "__ct__9CParasiteF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfo9EBodyTypefffffffffffffffffbUiRC10Something1RC10Something2UsUsUsUiUifRC16CActorParameters" /* 800D04FC 000CD45C 7C 7D 1B 78 */ mr r29, r3 lbl_800D0500: /* 800D0500 000CD460 7F 40 07 75 */ extsb. r0, r26 /* 800D0504 000CD464 41 82 00 10 */ beq lbl_800D0514 /* 800D0508 000CD468 38 61 01 2C */ addi r3, r1, 0x12c /* 800D050C 000CD46C 38 80 FF FF */ li r4, -1 /* 800D0510 000CD470 48 04 65 3D */ bl __dt__10CModelDataFv lbl_800D0514: /* 800D0514 000CD474 38 61 01 E0 */ addi r3, r1, 0x1e0 /* 800D0518 000CD478 38 80 FF FF */ li r4, -1 /* 800D051C 000CD47C 48 03 60 ED */ bl __dt__16CLightParametersFv /* 800D0520 000CD480 38 61 00 84 */ addi r3, r1, 0x84 /* 800D0524 000CD484 48 26 D5 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D0528 000CD488 7F A3 EB 78 */ mr r3, r29 lbl_800D052C: /* 800D052C 000CD48C E3 E1 04 A8 */ psq_l f31, 1192(r1), 0, qr0 /* 800D0530 000CD490 CB E1 04 A0 */ lfd f31, 0x4a0(r1) /* 800D0534 000CD494 E3 C1 04 98 */ psq_l f30, 1176(r1), 0, qr0 /* 800D0538 000CD498 CB C1 04 90 */ lfd f30, 0x490(r1) /* 800D053C 000CD49C E3 A1 04 88 */ psq_l f29, 1160(r1), 0, qr0 /* 800D0540 000CD4A0 CB A1 04 80 */ lfd f29, 0x480(r1) /* 800D0544 000CD4A4 E3 81 04 78 */ psq_l f28, 1144(r1), 0, qr0 /* 800D0548 000CD4A8 CB 81 04 70 */ lfd f28, 0x470(r1) /* 800D054C 000CD4AC E3 61 04 68 */ psq_l f27, 1128(r1), 0, qr0 /* 800D0550 000CD4B0 CB 61 04 60 */ lfd f27, 0x460(r1) /* 800D0554 000CD4B4 E3 41 04 58 */ psq_l f26, 1112(r1), 0, qr0 /* 800D0558 000CD4B8 CB 41 04 50 */ lfd f26, 0x450(r1) /* 800D055C 000CD4BC E3 21 04 48 */ psq_l f25, 1096(r1), 0, qr0 /* 800D0560 000CD4C0 CB 21 04 40 */ lfd f25, 0x440(r1) /* 800D0564 000CD4C4 E3 01 04 38 */ psq_l f24, 1080(r1), 0, qr0 /* 800D0568 000CD4C8 CB 01 04 30 */ lfd f24, 0x430(r1) /* 800D056C 000CD4CC E2 E1 04 28 */ psq_l f23, 1064(r1), 0, qr0 /* 800D0570 000CD4D0 CA E1 04 20 */ lfd f23, 0x420(r1) /* 800D0574 000CD4D4 E2 C1 04 18 */ psq_l f22, 1048(r1), 0, qr0 /* 800D0578 000CD4D8 CA C1 04 10 */ lfd f22, 0x410(r1) /* 800D057C 000CD4DC E2 A1 04 08 */ psq_l f21, 1032(r1), 0, qr0 /* 800D0580 000CD4E0 CA A1 04 00 */ lfd f21, 0x400(r1) /* 800D0584 000CD4E4 E2 81 03 F8 */ psq_l f20, 1016(r1), 0, qr0 /* 800D0588 000CD4E8 CA 81 03 F0 */ lfd f20, 0x3f0(r1) /* 800D058C 000CD4EC E2 61 03 E8 */ psq_l f19, 1000(r1), 0, qr0 /* 800D0590 000CD4F0 CA 61 03 E0 */ lfd f19, 0x3e0(r1) /* 800D0594 000CD4F4 E2 41 03 D8 */ psq_l f18, 984(r1), 0, qr0 /* 800D0598 000CD4F8 CA 41 03 D0 */ lfd f18, 0x3d0(r1) /* 800D059C 000CD4FC E2 21 03 C8 */ psq_l f17, 968(r1), 0, qr0 /* 800D05A0 000CD500 CA 21 03 C0 */ lfd f17, 0x3c0(r1) /* 800D05A4 000CD504 E2 01 03 B8 */ psq_l f16, 952(r1), 0, qr0 /* 800D05A8 000CD508 CA 01 03 B0 */ lfd f16, 0x3b0(r1) /* 800D05AC 000CD50C E1 E1 03 A8 */ psq_l f15, 936(r1), 0, qr0 /* 800D05B0 000CD510 C9 E1 03 A0 */ lfd f15, 0x3a0(r1) /* 800D05B4 000CD514 BB 01 03 80 */ lmw r24, 0x380(r1) /* 800D05B8 000CD518 80 01 04 B4 */ lwz r0, 0x4b4(r1) /* 800D05BC 000CD51C 7C 08 03 A6 */ mtlr r0 /* 800D05C0 000CD520 38 21 04 B0 */ addi r1, r1, 0x4b0 /* 800D05C4 000CD524 4E 80 00 20 */ blr .global LoadFlaahgra__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadFlaahgra__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D05C8 000CD528 94 21 FB D0 */ stwu r1, -0x430(r1) /* 800D05CC 000CD52C 7C 08 02 A6 */ mflr r0 /* 800D05D0 000CD530 90 01 04 34 */ stw r0, 0x434(r1) /* 800D05D4 000CD534 80 02 A8 98 */ lwz r0, lbl_805AC5B8@sda21(r2) /* 800D05D8 000CD538 93 E1 04 2C */ stw r31, 0x42c(r1) /* 800D05DC 000CD53C 7C DF 33 78 */ mr r31, r6 /* 800D05E0 000CD540 93 C1 04 28 */ stw r30, 0x428(r1) /* 800D05E4 000CD544 7C 7E 1B 78 */ mr r30, r3 /* 800D05E8 000CD548 93 A1 04 24 */ stw r29, 0x424(r1) /* 800D05EC 000CD54C 7C BD 2B 78 */ mr r29, r5 /* 800D05F0 000CD550 7C 1D 00 00 */ cmpw r29, r0 /* 800D05F4 000CD554 93 81 04 20 */ stw r28, 0x420(r1) /* 800D05F8 000CD558 7C 9C 23 78 */ mr r28, r4 /* 800D05FC 000CD55C 40 80 00 0C */ bge lbl_800D0608 /* 800D0600 000CD560 38 60 00 00 */ li r3, 0 /* 800D0604 000CD564 48 00 01 F0 */ b lbl_800D07F4 lbl_800D0608: /* 800D0608 000CD568 7F C5 F3 78 */ mr r5, r30 /* 800D060C 000CD56C 38 61 01 34 */ addi r3, r1, 0x134 /* 800D0610 000CD570 48 00 9E 6D */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D0614 000CD574 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D0618 000CD578 7F 84 E3 78 */ mr r4, r28 /* 800D061C 000CD57C 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800D0620 000CD580 38 61 00 18 */ addi r3, r1, 0x18 /* 800D0624 000CD584 38 A5 01 11 */ addi r5, r5, 0x111 /* 800D0628 000CD588 48 03 52 01 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800D062C 000CD58C 88 01 00 18 */ lbz r0, 0x18(r1) /* 800D0630 000CD590 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 800D0634 000CD594 28 00 00 00 */ cmplwi r0, 0 /* 800D0638 000CD598 40 82 00 14 */ bne lbl_800D064C /* 800D063C 000CD59C 38 61 01 34 */ addi r3, r1, 0x134 /* 800D0640 000CD5A0 48 26 D4 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D0644 000CD5A4 38 60 00 00 */ li r3, 0 /* 800D0648 000CD5A8 48 00 01 AC */ b lbl_800D07F4 lbl_800D064C: /* 800D064C 000CD5AC 7F 84 E3 78 */ mr r4, r28 /* 800D0650 000CD5B0 38 61 02 DC */ addi r3, r1, 0x2dc /* 800D0654 000CD5B4 48 03 52 25 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800D0658 000CD5B8 7F 84 E3 78 */ mr r4, r28 /* 800D065C 000CD5BC 38 61 00 64 */ addi r3, r1, 0x64 /* 800D0660 000CD5C0 48 00 97 15 */ bl LoadActorParameters__FR12CInputStream /* 800D0664 000CD5C4 38 61 00 CC */ addi r3, r1, 0xcc /* 800D0668 000CD5C8 38 81 00 64 */ addi r4, r1, 0x64 /* 800D066C 000CD5CC 4B FF 4F B1 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D0670 000CD5D0 38 61 00 64 */ addi r3, r1, 0x64 /* 800D0674 000CD5D4 38 80 FF FF */ li r4, -1 /* 800D0678 000CD5D8 48 03 5F 91 */ bl __dt__16CLightParametersFv /* 800D067C 000CD5DC 7F 84 E3 78 */ mr r4, r28 /* 800D0680 000CD5E0 7F A5 EB 78 */ mr r5, r29 /* 800D0684 000CD5E4 38 61 01 80 */ addi r3, r1, 0x180 /* 800D0688 000CD5E8 48 0E 3B 51 */ bl __ct__13CFlaahgraDataFR12CInputStream /* 800D068C 000CD5EC 80 81 03 C8 */ lwz r4, 0x3c8(r1) /* 800D0690 000CD5F0 39 00 00 01 */ li r8, 1 /* 800D0694 000CD5F4 80 61 03 CC */ lwz r3, 0x3cc(r1) /* 800D0698 000CD5F8 3C 04 00 01 */ addis r0, r4, 1 /* 800D069C 000CD5FC C0 41 01 74 */ lfs f2, 0x174(r1) /* 800D06A0 000CD600 C0 21 01 78 */ lfs f1, 0x178(r1) /* 800D06A4 000CD604 28 00 FF FF */ cmplwi r0, 0xffff /* 800D06A8 000CD608 C0 01 01 7C */ lfs f0, 0x17c(r1) /* 800D06AC 000CD60C 80 01 03 D0 */ lwz r0, 0x3d0(r1) /* 800D06B0 000CD610 90 81 00 48 */ stw r4, 0x48(r1) /* 800D06B4 000CD614 90 61 00 4C */ stw r3, 0x4c(r1) /* 800D06B8 000CD618 D0 41 00 50 */ stfs f2, 0x50(r1) /* 800D06BC 000CD61C D0 21 00 54 */ stfs f1, 0x54(r1) /* 800D06C0 000CD620 D0 01 00 58 */ stfs f0, 0x58(r1) /* 800D06C4 000CD624 99 01 00 5C */ stb r8, 0x5c(r1) /* 800D06C8 000CD628 90 01 00 60 */ stw r0, 0x60(r1) /* 800D06CC 000CD62C 40 82 00 60 */ bne lbl_800D072C /* 800D06D0 000CD630 D0 41 00 34 */ stfs f2, 0x34(r1) /* 800D06D4 000CD634 80 E1 02 CC */ lwz r7, 0x2cc(r1) /* 800D06D8 000CD638 80 C1 02 D0 */ lwz r6, 0x2d0(r1) /* 800D06DC 000CD63C 80 A1 02 D4 */ lwz r5, 0x2d4(r1) /* 800D06E0 000CD640 D0 21 00 38 */ stfs f1, 0x38(r1) /* 800D06E4 000CD644 80 81 00 34 */ lwz r4, 0x34(r1) /* 800D06E8 000CD648 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 800D06EC 000CD64C 80 61 00 38 */ lwz r3, 0x38(r1) /* 800D06F0 000CD650 80 01 00 3C */ lwz r0, 0x3c(r1) /* 800D06F4 000CD654 90 E1 00 20 */ stw r7, 0x20(r1) /* 800D06F8 000CD658 90 C1 00 24 */ stw r6, 0x24(r1) /* 800D06FC 000CD65C 90 A1 00 28 */ stw r5, 0x28(r1) /* 800D0700 000CD660 90 E1 00 2C */ stw r7, 0x2c(r1) /* 800D0704 000CD664 90 C1 00 30 */ stw r6, 0x30(r1) /* 800D0708 000CD668 99 01 00 40 */ stb r8, 0x40(r1) /* 800D070C 000CD66C 90 A1 00 44 */ stw r5, 0x44(r1) /* 800D0710 000CD670 90 E1 00 48 */ stw r7, 0x48(r1) /* 800D0714 000CD674 90 C1 00 4C */ stw r6, 0x4c(r1) /* 800D0718 000CD678 90 81 00 50 */ stw r4, 0x50(r1) /* 800D071C 000CD67C 90 61 00 54 */ stw r3, 0x54(r1) /* 800D0720 000CD680 90 01 00 58 */ stw r0, 0x58(r1) /* 800D0724 000CD684 99 01 00 5C */ stb r8, 0x5c(r1) /* 800D0728 000CD688 90 A1 00 60 */ stw r5, 0x60(r1) lbl_800D072C: /* 800D072C 000CD68C 80 61 00 48 */ lwz r3, 0x48(r1) /* 800D0730 000CD690 3C 03 00 01 */ addis r0, r3, 1 /* 800D0734 000CD694 28 00 FF FF */ cmplwi r0, 0xffff /* 800D0738 000CD698 40 82 00 30 */ bne lbl_800D0768 /* 800D073C 000CD69C 34 61 02 58 */ addic. r3, r1, 0x258 /* 800D0740 000CD6A0 41 82 00 0C */ beq lbl_800D074C /* 800D0744 000CD6A4 38 80 FF FF */ li r4, -1 /* 800D0748 000CD6A8 48 03 5E C1 */ bl __dt__16CLightParametersFv lbl_800D074C: /* 800D074C 000CD6AC 38 61 00 CC */ addi r3, r1, 0xcc /* 800D0750 000CD6B0 38 80 FF FF */ li r4, -1 /* 800D0754 000CD6B4 48 03 5E B5 */ bl __dt__16CLightParametersFv /* 800D0758 000CD6B8 38 61 01 34 */ addi r3, r1, 0x134 /* 800D075C 000CD6BC 48 26 D3 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D0760 000CD6C0 38 60 00 00 */ li r3, 0 /* 800D0764 000CD6C4 48 00 00 90 */ b lbl_800D07F4 lbl_800D0768: /* 800D0768 000CD6C8 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D076C 000CD6CC 38 60 08 E8 */ li r3, 0x8e8 /* 800D0770 000CD6D0 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D0774 000CD6D4 38 A0 00 00 */ li r5, 0 /* 800D0778 000CD6D8 38 84 00 0D */ addi r4, r4, 0xd /* 800D077C 000CD6DC 48 24 50 F1 */ bl __nw__FUlPCcPCc /* 800D0780 000CD6E0 7C 7D 1B 79 */ or. r29, r3, r3 /* 800D0784 000CD6E4 41 82 00 48 */ beq lbl_800D07CC /* 800D0788 000CD6E8 7F C4 F3 78 */ mr r4, r30 /* 800D078C 000CD6EC 38 61 00 10 */ addi r3, r1, 0x10 /* 800D0790 000CD6F0 4B F7 C9 4D */ bl AllocateUniqueId__13CStateManagerFv /* 800D0794 000CD6F4 A0 81 00 10 */ lhz r4, 0x10(r1) /* 800D0798 000CD6F8 38 01 01 80 */ addi r0, r1, 0x180 /* 800D079C 000CD6FC 7F A3 EB 78 */ mr r3, r29 /* 800D07A0 000CD700 7F E6 FB 78 */ mr r6, r31 /* 800D07A4 000CD704 B0 81 00 14 */ sth r4, 0x14(r1) /* 800D07A8 000CD708 38 81 00 14 */ addi r4, r1, 0x14 /* 800D07AC 000CD70C 38 A1 01 34 */ addi r5, r1, 0x134 /* 800D07B0 000CD710 38 E1 01 44 */ addi r7, r1, 0x144 /* 800D07B4 000CD714 90 01 00 08 */ stw r0, 8(r1) /* 800D07B8 000CD718 39 01 00 48 */ addi r8, r1, 0x48 /* 800D07BC 000CD71C 39 21 02 DC */ addi r9, r1, 0x2dc /* 800D07C0 000CD720 39 41 00 CC */ addi r10, r1, 0xcc /* 800D07C4 000CD724 48 0E 32 0D */ bl "__ct__9CFlaahgraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC13CFlaahgraData" /* 800D07C8 000CD728 7C 7D 1B 78 */ mr r29, r3 lbl_800D07CC: /* 800D07CC 000CD72C 34 61 02 58 */ addic. r3, r1, 0x258 /* 800D07D0 000CD730 41 82 00 0C */ beq lbl_800D07DC /* 800D07D4 000CD734 38 80 FF FF */ li r4, -1 /* 800D07D8 000CD738 48 03 5E 31 */ bl __dt__16CLightParametersFv lbl_800D07DC: /* 800D07DC 000CD73C 38 61 00 CC */ addi r3, r1, 0xcc /* 800D07E0 000CD740 38 80 FF FF */ li r4, -1 /* 800D07E4 000CD744 48 03 5E 25 */ bl __dt__16CLightParametersFv /* 800D07E8 000CD748 38 61 01 34 */ addi r3, r1, 0x134 /* 800D07EC 000CD74C 48 26 D2 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D07F0 000CD750 7F A3 EB 78 */ mr r3, r29 lbl_800D07F4: /* 800D07F4 000CD754 80 01 04 34 */ lwz r0, 0x434(r1) /* 800D07F8 000CD758 83 E1 04 2C */ lwz r31, 0x42c(r1) /* 800D07FC 000CD75C 83 C1 04 28 */ lwz r30, 0x428(r1) /* 800D0800 000CD760 83 A1 04 24 */ lwz r29, 0x424(r1) /* 800D0804 000CD764 83 81 04 20 */ lwz r28, 0x420(r1) /* 800D0808 000CD768 7C 08 03 A6 */ mtlr r0 /* 800D080C 000CD76C 38 21 04 30 */ addi r1, r1, 0x430 /* 800D0810 000CD770 4E 80 00 20 */ blr .global LoadNewIntroBoss__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadNewIntroBoss__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D0814 000CD774 94 21 FC C0 */ stwu r1, -0x340(r1) /* 800D0818 000CD778 7C 08 02 A6 */ mflr r0 /* 800D081C 000CD77C 90 01 03 44 */ stw r0, 0x344(r1) /* 800D0820 000CD780 DB E1 03 30 */ stfd f31, 0x330(r1) /* 800D0824 000CD784 F3 E1 03 38 */ psq_st f31, 824(r1), 0, qr0 /* 800D0828 000CD788 BE E1 03 0C */ stmw r23, 0x30c(r1) /* 800D082C 000CD78C 2C 05 00 0D */ cmpwi r5, 0xd /* 800D0830 000CD790 7C 79 1B 78 */ mr r25, r3 /* 800D0834 000CD794 7C 98 23 78 */ mr r24, r4 /* 800D0838 000CD798 7C DA 33 78 */ mr r26, r6 /* 800D083C 000CD79C 41 82 00 0C */ beq lbl_800D0848 /* 800D0840 000CD7A0 38 60 00 00 */ li r3, 0 /* 800D0844 000CD7A4 48 00 01 EC */ b lbl_800D0A30 lbl_800D0848: /* 800D0848 000CD7A8 7F 25 CB 78 */ mr r5, r25 /* 800D084C 000CD7AC 38 61 01 84 */ addi r3, r1, 0x184 /* 800D0850 000CD7B0 48 00 9C 2D */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D0854 000CD7B4 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D0858 000CD7B8 7F 04 C3 78 */ mr r4, r24 /* 800D085C 000CD7BC 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800D0860 000CD7C0 38 61 00 28 */ addi r3, r1, 0x28 /* 800D0864 000CD7C4 38 A5 01 1A */ addi r5, r5, 0x11a /* 800D0868 000CD7C8 48 03 4F C1 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800D086C 000CD7CC 88 01 00 28 */ lbz r0, 0x28(r1) /* 800D0870 000CD7D0 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 800D0874 000CD7D4 28 00 00 00 */ cmplwi r0, 0 /* 800D0878 000CD7D8 40 82 00 14 */ bne lbl_800D088C /* 800D087C 000CD7DC 38 61 01 84 */ addi r3, r1, 0x184 /* 800D0880 000CD7E0 48 26 D2 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D0884 000CD7E4 38 60 00 00 */ li r3, 0 /* 800D0888 000CD7E8 48 00 01 A8 */ b lbl_800D0A30 lbl_800D088C: /* 800D088C 000CD7EC 7F 04 C3 78 */ mr r4, r24 /* 800D0890 000CD7F0 38 61 01 D0 */ addi r3, r1, 0x1d0 /* 800D0894 000CD7F4 48 03 4F E5 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800D0898 000CD7F8 7F 04 C3 78 */ mr r4, r24 /* 800D089C 000CD7FC 38 61 00 B4 */ addi r3, r1, 0xb4 /* 800D08A0 000CD800 48 00 94 D5 */ bl LoadActorParameters__FR12CInputStream /* 800D08A4 000CD804 38 61 01 1C */ addi r3, r1, 0x11c /* 800D08A8 000CD808 38 81 00 B4 */ addi r4, r1, 0xb4 /* 800D08AC 000CD80C 4B FF 4D 71 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D08B0 000CD810 38 61 00 B4 */ addi r3, r1, 0xb4 /* 800D08B4 000CD814 38 80 FF FF */ li r4, -1 /* 800D08B8 000CD818 48 03 5D 51 */ bl __dt__16CLightParametersFv /* 800D08BC 000CD81C 7F 03 C3 78 */ mr r3, r24 /* 800D08C0 000CD820 48 26 E3 69 */ bl ReadFloat__12CInputStreamFv /* 800D08C4 000CD824 FF E0 08 90 */ fmr f31, f1 /* 800D08C8 000CD828 7F 03 C3 78 */ mr r3, r24 /* 800D08CC 000CD82C 48 26 E3 B9 */ bl ReadLong__12CInputStreamFv /* 800D08D0 000CD830 7C 7B 1B 78 */ mr r27, r3 /* 800D08D4 000CD834 7F 04 C3 78 */ mr r4, r24 /* 800D08D8 000CD838 38 61 00 4C */ addi r3, r1, 0x4c /* 800D08DC 000CD83C 4B FF 2C 85 */ bl __ct__11CDamageInfoFR12CInputStream /* 800D08E0 000CD840 7F 03 C3 78 */ mr r3, r24 /* 800D08E4 000CD844 48 26 E3 A1 */ bl ReadLong__12CInputStreamFv /* 800D08E8 000CD848 7C 7C 1B 78 */ mr r28, r3 /* 800D08EC 000CD84C 7F 03 C3 78 */ mr r3, r24 /* 800D08F0 000CD850 48 26 E3 95 */ bl ReadLong__12CInputStreamFv /* 800D08F4 000CD854 7C 7D 1B 78 */ mr r29, r3 /* 800D08F8 000CD858 7F 03 C3 78 */ mr r3, r24 /* 800D08FC 000CD85C 48 26 E3 89 */ bl ReadLong__12CInputStreamFv /* 800D0900 000CD860 7C 7E 1B 78 */ mr r30, r3 /* 800D0904 000CD864 7F 03 C3 78 */ mr r3, r24 /* 800D0908 000CD868 48 26 E3 7D */ bl ReadLong__12CInputStreamFv /* 800D090C 000CD86C 80 81 02 BC */ lwz r4, 0x2bc(r1) /* 800D0910 000CD870 7C 7F 1B 78 */ mr r31, r3 /* 800D0914 000CD874 3C 04 00 01 */ addis r0, r4, 1 /* 800D0918 000CD878 28 00 FF FF */ cmplwi r0, 0xffff /* 800D091C 000CD87C 40 82 00 20 */ bne lbl_800D093C /* 800D0920 000CD880 38 61 01 1C */ addi r3, r1, 0x11c /* 800D0924 000CD884 38 80 FF FF */ li r4, -1 /* 800D0928 000CD888 48 03 5C E1 */ bl __dt__16CLightParametersFv /* 800D092C 000CD88C 38 61 01 84 */ addi r3, r1, 0x184 /* 800D0930 000CD890 48 26 D1 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D0934 000CD894 38 60 00 00 */ li r3, 0 /* 800D0938 000CD898 48 00 00 F8 */ b lbl_800D0A30 lbl_800D093C: /* 800D093C 000CD89C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D0940 000CD8A0 3A E0 00 00 */ li r23, 0 /* 800D0944 000CD8A4 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D0948 000CD8A8 38 60 06 80 */ li r3, 0x680 /* 800D094C 000CD8AC 38 84 00 0D */ addi r4, r4, 0xd /* 800D0950 000CD8B0 38 A0 00 00 */ li r5, 0 /* 800D0954 000CD8B4 48 24 4F 19 */ bl __nw__FUlPCcPCc /* 800D0958 000CD8B8 7C 78 1B 79 */ or. r24, r3, r3 /* 800D095C 000CD8BC 41 82 00 A8 */ beq lbl_800D0A04 /* 800D0960 000CD8C0 80 E1 02 BC */ lwz r7, 0x2bc(r1) /* 800D0964 000CD8C4 38 A0 00 01 */ li r5, 1 /* 800D0968 000CD8C8 80 C1 02 C0 */ lwz r6, 0x2c0(r1) /* 800D096C 000CD8CC 38 61 00 68 */ addi r3, r1, 0x68 /* 800D0970 000CD8D0 C0 41 01 C4 */ lfs f2, 0x1c4(r1) /* 800D0974 000CD8D4 38 81 00 30 */ addi r4, r1, 0x30 /* 800D0978 000CD8D8 C0 21 01 C8 */ lfs f1, 0x1c8(r1) /* 800D097C 000CD8DC C0 01 01 CC */ lfs f0, 0x1cc(r1) /* 800D0980 000CD8E0 80 01 02 C4 */ lwz r0, 0x2c4(r1) /* 800D0984 000CD8E4 90 E1 00 30 */ stw r7, 0x30(r1) /* 800D0988 000CD8E8 90 C1 00 34 */ stw r6, 0x34(r1) /* 800D098C 000CD8EC D0 41 00 38 */ stfs f2, 0x38(r1) /* 800D0990 000CD8F0 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 800D0994 000CD8F4 D0 01 00 40 */ stfs f0, 0x40(r1) /* 800D0998 000CD8F8 98 A1 00 44 */ stb r5, 0x44(r1) /* 800D099C 000CD8FC 90 01 00 48 */ stw r0, 0x48(r1) /* 800D09A0 000CD900 48 04 61 B5 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D09A4 000CD904 7F 24 CB 78 */ mr r4, r25 /* 800D09A8 000CD908 38 61 00 20 */ addi r3, r1, 0x20 /* 800D09AC 000CD90C 3A E0 00 01 */ li r23, 1 /* 800D09B0 000CD910 4B F7 C7 2D */ bl AllocateUniqueId__13CStateManagerFv /* 800D09B4 000CD914 A0 81 00 20 */ lhz r4, 0x20(r1) /* 800D09B8 000CD918 38 01 00 4C */ addi r0, r1, 0x4c /* 800D09BC 000CD91C FC 20 F8 90 */ fmr f1, f31 /* 800D09C0 000CD920 7F 03 C3 78 */ mr r3, r24 /* 800D09C4 000CD924 B0 81 00 24 */ sth r4, 0x24(r1) /* 800D09C8 000CD928 7F 46 D3 78 */ mr r6, r26 /* 800D09CC 000CD92C 38 81 00 24 */ addi r4, r1, 0x24 /* 800D09D0 000CD930 38 A1 01 84 */ addi r5, r1, 0x184 /* 800D09D4 000CD934 93 61 00 08 */ stw r27, 8(r1) /* 800D09D8 000CD938 38 E1 01 94 */ addi r7, r1, 0x194 /* 800D09DC 000CD93C 39 01 00 68 */ addi r8, r1, 0x68 /* 800D09E0 000CD940 39 21 01 D0 */ addi r9, r1, 0x1d0 /* 800D09E4 000CD944 90 01 00 0C */ stw r0, 0xc(r1) /* 800D09E8 000CD948 39 41 01 1C */ addi r10, r1, 0x11c /* 800D09EC 000CD94C 93 81 00 10 */ stw r28, 0x10(r1) /* 800D09F0 000CD950 93 A1 00 14 */ stw r29, 0x14(r1) /* 800D09F4 000CD954 93 C1 00 18 */ stw r30, 0x18(r1) /* 800D09F8 000CD958 93 E1 00 1C */ stw r31, 0x1c(r1) /* 800D09FC 000CD95C 48 0B B4 85 */ bl "__ct__13CNewIntroBossF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersfUiRC11CDamageInfoUiUiUiUi" /* 800D0A00 000CD960 7C 78 1B 78 */ mr r24, r3 lbl_800D0A04: /* 800D0A04 000CD964 7E E0 07 75 */ extsb. r0, r23 /* 800D0A08 000CD968 41 82 00 10 */ beq lbl_800D0A18 /* 800D0A0C 000CD96C 38 61 00 68 */ addi r3, r1, 0x68 /* 800D0A10 000CD970 38 80 FF FF */ li r4, -1 /* 800D0A14 000CD974 48 04 60 39 */ bl __dt__10CModelDataFv lbl_800D0A18: /* 800D0A18 000CD978 38 61 01 1C */ addi r3, r1, 0x11c /* 800D0A1C 000CD97C 38 80 FF FF */ li r4, -1 /* 800D0A20 000CD980 48 03 5B E9 */ bl __dt__16CLightParametersFv /* 800D0A24 000CD984 38 61 01 84 */ addi r3, r1, 0x184 /* 800D0A28 000CD988 48 26 D0 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D0A2C 000CD98C 7F 03 C3 78 */ mr r3, r24 lbl_800D0A30: /* 800D0A30 000CD990 E3 E1 03 38 */ psq_l f31, 824(r1), 0, qr0 /* 800D0A34 000CD994 CB E1 03 30 */ lfd f31, 0x330(r1) /* 800D0A38 000CD998 BA E1 03 0C */ lmw r23, 0x30c(r1) /* 800D0A3C 000CD99C 80 01 03 44 */ lwz r0, 0x344(r1) /* 800D0A40 000CD9A0 7C 08 03 A6 */ mtlr r0 /* 800D0A44 000CD9A4 38 21 03 40 */ addi r1, r1, 0x340 /* 800D0A48 000CD9A8 4E 80 00 20 */ blr .global LoadMetaree__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadMetaree__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D0A4C 000CD9AC 94 21 FC 70 */ stwu r1, -0x390(r1) /* 800D0A50 000CD9B0 7C 08 02 A6 */ mflr r0 /* 800D0A54 000CD9B4 90 01 03 94 */ stw r0, 0x394(r1) /* 800D0A58 000CD9B8 DB E1 03 80 */ stfd f31, 0x380(r1) /* 800D0A5C 000CD9BC F3 E1 03 88 */ psq_st f31, 904(r1), 0, qr0 /* 800D0A60 000CD9C0 DB C1 03 70 */ stfd f30, 0x370(r1) /* 800D0A64 000CD9C4 F3 C1 03 78 */ psq_st f30, 888(r1), 0, qr0 /* 800D0A68 000CD9C8 DB A1 03 60 */ stfd f29, 0x360(r1) /* 800D0A6C 000CD9CC F3 A1 03 68 */ psq_st f29, 872(r1), 0, qr0 /* 800D0A70 000CD9D0 DB 81 03 50 */ stfd f28, 0x350(r1) /* 800D0A74 000CD9D4 F3 81 03 58 */ psq_st f28, 856(r1), 0, qr0 /* 800D0A78 000CD9D8 93 E1 03 4C */ stw r31, 0x34c(r1) /* 800D0A7C 000CD9DC 93 C1 03 48 */ stw r30, 0x348(r1) /* 800D0A80 000CD9E0 93 A1 03 44 */ stw r29, 0x344(r1) /* 800D0A84 000CD9E4 93 81 03 40 */ stw r28, 0x340(r1) /* 800D0A88 000CD9E8 2C 05 00 0C */ cmpwi r5, 0xc /* 800D0A8C 000CD9EC 7C 7E 1B 78 */ mr r30, r3 /* 800D0A90 000CD9F0 7C 9D 23 78 */ mr r29, r4 /* 800D0A94 000CD9F4 7C DF 33 78 */ mr r31, r6 /* 800D0A98 000CD9F8 41 82 00 0C */ beq lbl_800D0AA4 /* 800D0A9C 000CD9FC 38 60 00 00 */ li r3, 0 /* 800D0AA0 000CDA00 48 00 02 24 */ b lbl_800D0CC4 lbl_800D0AA4: /* 800D0AA4 000CDA04 4B F7 47 41 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D0AA8 000CDA08 7C 64 1B 78 */ mr r4, r3 /* 800D0AAC 000CDA0C 38 61 00 40 */ addi r3, r1, 0x40 /* 800D0AB0 000CDA10 48 26 D6 B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D0AB4 000CDA14 7F A4 EB 78 */ mr r4, r29 /* 800D0AB8 000CDA18 38 61 00 88 */ addi r3, r1, 0x88 /* 800D0ABC 000CDA1C 48 00 9A D1 */ bl LoadEditorTransform__FR12CInputStream /* 800D0AC0 000CDA20 38 61 00 B8 */ addi r3, r1, 0xb8 /* 800D0AC4 000CDA24 38 81 00 88 */ addi r4, r1, 0x88 /* 800D0AC8 000CDA28 48 24 20 AD */ bl __ct__12CTransform4fFRC12CTransform4f /* 800D0ACC 000CDA2C 7F A4 EB 78 */ mr r4, r29 /* 800D0AD0 000CDA30 38 61 00 34 */ addi r3, r1, 0x34 /* 800D0AD4 000CDA34 48 24 40 B9 */ bl __ct__9CVector3fFR12CInputStream /* 800D0AD8 000CDA38 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D0ADC 000CDA3C 7F A4 EB 78 */ mr r4, r29 /* 800D0AE0 000CDA40 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800D0AE4 000CDA44 38 61 00 20 */ addi r3, r1, 0x20 /* 800D0AE8 000CDA48 38 A5 01 27 */ addi r5, r5, 0x127 /* 800D0AEC 000CDA4C 48 03 4D 3D */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800D0AF0 000CDA50 88 01 00 20 */ lbz r0, 0x20(r1) /* 800D0AF4 000CDA54 80 A1 00 24 */ lwz r5, 0x24(r1) /* 800D0AF8 000CDA58 28 00 00 00 */ cmplwi r0, 0 /* 800D0AFC 000CDA5C 40 82 00 14 */ bne lbl_800D0B10 /* 800D0B00 000CDA60 38 61 00 40 */ addi r3, r1, 0x40 /* 800D0B04 000CDA64 48 26 CF DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D0B08 000CDA68 38 60 00 00 */ li r3, 0 /* 800D0B0C 000CDA6C 48 00 01 B8 */ b lbl_800D0CC4 lbl_800D0B10: /* 800D0B10 000CDA70 7F A4 EB 78 */ mr r4, r29 /* 800D0B14 000CDA74 38 61 02 04 */ addi r3, r1, 0x204 /* 800D0B18 000CDA78 48 03 4D 61 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800D0B1C 000CDA7C 7F A4 EB 78 */ mr r4, r29 /* 800D0B20 000CDA80 38 61 01 34 */ addi r3, r1, 0x134 /* 800D0B24 000CDA84 48 00 92 51 */ bl LoadActorParameters__FR12CInputStream /* 800D0B28 000CDA88 38 61 01 9C */ addi r3, r1, 0x19c /* 800D0B2C 000CDA8C 38 81 01 34 */ addi r4, r1, 0x134 /* 800D0B30 000CDA90 4B FF 4A ED */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D0B34 000CDA94 38 61 01 34 */ addi r3, r1, 0x134 /* 800D0B38 000CDA98 38 80 FF FF */ li r4, -1 /* 800D0B3C 000CDA9C 48 03 5A CD */ bl __dt__16CLightParametersFv /* 800D0B40 000CDAA0 7F A4 EB 78 */ mr r4, r29 /* 800D0B44 000CDAA4 38 61 00 6C */ addi r3, r1, 0x6c /* 800D0B48 000CDAA8 4B FF 2A 19 */ bl __ct__11CDamageInfoFR12CInputStream /* 800D0B4C 000CDAAC 7F A3 EB 78 */ mr r3, r29 /* 800D0B50 000CDAB0 48 26 E0 D9 */ bl ReadFloat__12CInputStreamFv /* 800D0B54 000CDAB4 FF E0 08 90 */ fmr f31, f1 /* 800D0B58 000CDAB8 7F A4 EB 78 */ mr r4, r29 /* 800D0B5C 000CDABC 38 61 00 28 */ addi r3, r1, 0x28 /* 800D0B60 000CDAC0 48 24 40 2D */ bl __ct__9CVector3fFR12CInputStream /* 800D0B64 000CDAC4 7F A3 EB 78 */ mr r3, r29 /* 800D0B68 000CDAC8 48 26 E0 C1 */ bl ReadFloat__12CInputStreamFv /* 800D0B6C 000CDACC FF C0 08 90 */ fmr f30, f1 /* 800D0B70 000CDAD0 7F A3 EB 78 */ mr r3, r29 /* 800D0B74 000CDAD4 48 26 E0 B5 */ bl ReadFloat__12CInputStreamFv /* 800D0B78 000CDAD8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 800D0B7C 000CDADC FF A0 08 90 */ fmr f29, f1 /* 800D0B80 000CDAE0 80 81 02 F0 */ lwz r4, 0x2f0(r1) /* 800D0B84 000CDAE4 38 63 00 04 */ addi r3, r3, 4 /* 800D0B88 000CDAE8 48 26 B1 45 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D0B8C 000CDAEC 3C 03 BE B2 */ addis r0, r3, 0xbeb2 /* 800D0B90 000CDAF0 28 00 43 53 */ cmplwi r0, 0x4353 /* 800D0B94 000CDAF4 41 82 00 20 */ beq lbl_800D0BB4 /* 800D0B98 000CDAF8 38 61 01 9C */ addi r3, r1, 0x19c /* 800D0B9C 000CDAFC 38 80 FF FF */ li r4, -1 /* 800D0BA0 000CDB00 48 03 5A 69 */ bl __dt__16CLightParametersFv /* 800D0BA4 000CDB04 38 61 00 40 */ addi r3, r1, 0x40 /* 800D0BA8 000CDB08 48 26 CF 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D0BAC 000CDB0C 38 60 00 00 */ li r3, 0 /* 800D0BB0 000CDB10 48 00 01 14 */ b lbl_800D0CC4 lbl_800D0BB4: /* 800D0BB4 000CDB14 7F A3 EB 78 */ mr r3, r29 /* 800D0BB8 000CDB18 48 26 E0 71 */ bl ReadFloat__12CInputStreamFv /* 800D0BBC 000CDB1C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D0BC0 000CDB20 FF 80 08 90 */ fmr f28, f1 /* 800D0BC4 000CDB24 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l /* 800D0BC8 000CDB28 3B 80 00 00 */ li r28, 0 /* 800D0BCC 000CDB2C 38 83 00 0D */ addi r4, r3, 0xd /* 800D0BD0 000CDB30 38 A0 00 00 */ li r5, 0 /* 800D0BD4 000CDB34 38 60 05 D0 */ li r3, 0x5d0 /* 800D0BD8 000CDB38 48 24 4C 95 */ bl __nw__FUlPCcPCc /* 800D0BDC 000CDB3C 7C 7D 1B 79 */ or. r29, r3, r3 /* 800D0BE0 000CDB40 41 82 00 B8 */ beq lbl_800D0C98 /* 800D0BE4 000CDB44 80 E1 02 F0 */ lwz r7, 0x2f0(r1) /* 800D0BE8 000CDB48 38 A0 00 01 */ li r5, 1 /* 800D0BEC 000CDB4C 80 C1 02 F4 */ lwz r6, 0x2f4(r1) /* 800D0BF0 000CDB50 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800D0BF4 000CDB54 C0 41 00 34 */ lfs f2, 0x34(r1) /* 800D0BF8 000CDB58 38 81 00 50 */ addi r4, r1, 0x50 /* 800D0BFC 000CDB5C C0 21 00 38 */ lfs f1, 0x38(r1) /* 800D0C00 000CDB60 C0 01 00 3C */ lfs f0, 0x3c(r1) /* 800D0C04 000CDB64 80 01 02 F8 */ lwz r0, 0x2f8(r1) /* 800D0C08 000CDB68 90 E1 00 50 */ stw r7, 0x50(r1) /* 800D0C0C 000CDB6C 90 C1 00 54 */ stw r6, 0x54(r1) /* 800D0C10 000CDB70 D0 41 00 58 */ stfs f2, 0x58(r1) /* 800D0C14 000CDB74 D0 21 00 5C */ stfs f1, 0x5c(r1) /* 800D0C18 000CDB78 D0 01 00 60 */ stfs f0, 0x60(r1) /* 800D0C1C 000CDB7C 98 A1 00 64 */ stb r5, 0x64(r1) /* 800D0C20 000CDB80 90 01 00 68 */ stw r0, 0x68(r1) /* 800D0C24 000CDB84 48 04 5F 31 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D0C28 000CDB88 7F C4 F3 78 */ mr r4, r30 /* 800D0C2C 000CDB8C 38 61 00 18 */ addi r3, r1, 0x18 /* 800D0C30 000CDB90 3B 80 00 01 */ li r28, 1 /* 800D0C34 000CDB94 4B F7 C4 A9 */ bl AllocateUniqueId__13CStateManagerFv /* 800D0C38 000CDB98 A0 01 00 18 */ lhz r0, 0x18(r1) /* 800D0C3C 000CDB9C 38 A1 00 6C */ addi r5, r1, 0x6c /* 800D0C40 000CDBA0 38 61 00 28 */ addi r3, r1, 0x28 /* 800D0C44 000CDBA4 38 80 00 00 */ li r4, 0 /* 800D0C48 000CDBA8 B0 01 00 1C */ sth r0, 0x1c(r1) /* 800D0C4C 000CDBAC FC 20 F8 90 */ fmr f1, f31 /* 800D0C50 000CDBB0 FC 40 F0 90 */ fmr f2, f30 /* 800D0C54 000CDBB4 38 01 01 9C */ addi r0, r1, 0x19c /* 800D0C58 000CDBB8 90 A1 00 08 */ stw r5, 8(r1) /* 800D0C5C 000CDBBC FC 60 E8 90 */ fmr f3, f29 /* 800D0C60 000CDBC0 FC 80 E0 90 */ fmr f4, f28 /* 800D0C64 000CDBC4 90 61 00 0C */ stw r3, 0xc(r1) /* 800D0C68 000CDBC8 7F A3 EB 78 */ mr r3, r29 /* 800D0C6C 000CDBCC 7F E7 FB 78 */ mr r7, r31 /* 800D0C70 000CDBD0 90 81 00 10 */ stw r4, 0x10(r1) /* 800D0C74 000CDBD4 38 81 00 1C */ addi r4, r1, 0x1c /* 800D0C78 000CDBD8 38 A1 00 40 */ addi r5, r1, 0x40 /* 800D0C7C 000CDBDC 39 01 00 B8 */ addi r8, r1, 0xb8 /* 800D0C80 000CDBE0 90 01 00 14 */ stw r0, 0x14(r1) /* 800D0C84 000CDBE4 39 21 00 E8 */ addi r9, r1, 0xe8 /* 800D0C88 000CDBE8 39 41 02 04 */ addi r10, r1, 0x204 /* 800D0C8C 000CDBEC 38 C0 00 00 */ li r6, 0 /* 800D0C90 000CDBF0 48 07 E0 F5 */ bl "__ct__8CMetareeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC11CDamageInfofRC9CVector3ff9EBodyTypeffRC16CActorParameters" /* 800D0C94 000CDBF4 7C 7D 1B 78 */ mr r29, r3 lbl_800D0C98: /* 800D0C98 000CDBF8 7F 80 07 75 */ extsb. r0, r28 /* 800D0C9C 000CDBFC 41 82 00 10 */ beq lbl_800D0CAC /* 800D0CA0 000CDC00 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800D0CA4 000CDC04 38 80 FF FF */ li r4, -1 /* 800D0CA8 000CDC08 48 04 5D A5 */ bl __dt__10CModelDataFv lbl_800D0CAC: /* 800D0CAC 000CDC0C 38 61 01 9C */ addi r3, r1, 0x19c /* 800D0CB0 000CDC10 38 80 FF FF */ li r4, -1 /* 800D0CB4 000CDC14 48 03 59 55 */ bl __dt__16CLightParametersFv /* 800D0CB8 000CDC18 38 61 00 40 */ addi r3, r1, 0x40 /* 800D0CBC 000CDC1C 48 26 CE 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D0CC0 000CDC20 7F A3 EB 78 */ mr r3, r29 lbl_800D0CC4: /* 800D0CC4 000CDC24 E3 E1 03 88 */ psq_l f31, 904(r1), 0, qr0 /* 800D0CC8 000CDC28 CB E1 03 80 */ lfd f31, 0x380(r1) /* 800D0CCC 000CDC2C E3 C1 03 78 */ psq_l f30, 888(r1), 0, qr0 /* 800D0CD0 000CDC30 CB C1 03 70 */ lfd f30, 0x370(r1) /* 800D0CD4 000CDC34 E3 A1 03 68 */ psq_l f29, 872(r1), 0, qr0 /* 800D0CD8 000CDC38 CB A1 03 60 */ lfd f29, 0x360(r1) /* 800D0CDC 000CDC3C E3 81 03 58 */ psq_l f28, 856(r1), 0, qr0 /* 800D0CE0 000CDC40 CB 81 03 50 */ lfd f28, 0x350(r1) /* 800D0CE4 000CDC44 83 E1 03 4C */ lwz r31, 0x34c(r1) /* 800D0CE8 000CDC48 83 C1 03 48 */ lwz r30, 0x348(r1) /* 800D0CEC 000CDC4C 83 A1 03 44 */ lwz r29, 0x344(r1) /* 800D0CF0 000CDC50 80 01 03 94 */ lwz r0, 0x394(r1) /* 800D0CF4 000CDC54 83 81 03 40 */ lwz r28, 0x340(r1) /* 800D0CF8 000CDC58 7C 08 03 A6 */ mtlr r0 /* 800D0CFC 000CDC5C 38 21 03 90 */ addi r1, r1, 0x390 /* 800D0D00 000CDC60 4E 80 00 20 */ blr .global LoadDockAreaChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadDockAreaChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D0D04 000CDC64 94 21 FF C0 */ stwu r1, -0x40(r1) /* 800D0D08 000CDC68 7C 08 02 A6 */ mflr r0 /* 800D0D0C 000CDC6C 2C 05 00 03 */ cmpwi r5, 3 /* 800D0D10 000CDC70 90 01 00 44 */ stw r0, 0x44(r1) /* 800D0D14 000CDC74 BF 61 00 2C */ stmw r27, 0x2c(r1) /* 800D0D18 000CDC78 7C 7B 1B 78 */ mr r27, r3 /* 800D0D1C 000CDC7C 7C 9D 23 78 */ mr r29, r4 /* 800D0D20 000CDC80 7C DC 33 78 */ mr r28, r6 /* 800D0D24 000CDC84 41 82 00 0C */ beq lbl_800D0D30 /* 800D0D28 000CDC88 38 60 00 00 */ li r3, 0 /* 800D0D2C 000CDC8C 48 00 00 8C */ b lbl_800D0DB8 lbl_800D0D30: /* 800D0D30 000CDC90 4B F7 44 B5 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D0D34 000CDC94 7C 64 1B 78 */ mr r4, r3 /* 800D0D38 000CDC98 38 61 00 10 */ addi r3, r1, 0x10 /* 800D0D3C 000CDC9C 48 26 D4 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D0D40 000CDCA0 7F A3 EB 78 */ mr r3, r29 /* 800D0D44 000CDCA4 48 26 DF 41 */ bl ReadLong__12CInputStreamFv /* 800D0D48 000CDCA8 7C 7E 1B 78 */ mr r30, r3 /* 800D0D4C 000CDCAC 7F A3 EB 78 */ mr r3, r29 /* 800D0D50 000CDCB0 48 26 DF 8D */ bl ReadBool__12CInputStreamFv /* 800D0D54 000CDCB4 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D0D58 000CDCB8 7C 7F 1B 78 */ mr r31, r3 /* 800D0D5C 000CDCBC 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D0D60 000CDCC0 38 60 00 38 */ li r3, 0x38 /* 800D0D64 000CDCC4 38 84 00 0D */ addi r4, r4, 0xd /* 800D0D68 000CDCC8 38 A0 00 00 */ li r5, 0 /* 800D0D6C 000CDCCC 48 24 4B 01 */ bl __nw__FUlPCcPCc /* 800D0D70 000CDCD0 7C 7D 1B 79 */ or. r29, r3, r3 /* 800D0D74 000CDCD4 41 82 00 38 */ beq lbl_800D0DAC /* 800D0D78 000CDCD8 7F 64 DB 78 */ mr r4, r27 /* 800D0D7C 000CDCDC 38 61 00 08 */ addi r3, r1, 8 /* 800D0D80 000CDCE0 4B F7 C3 5D */ bl AllocateUniqueId__13CStateManagerFv /* 800D0D84 000CDCE4 A0 01 00 08 */ lhz r0, 8(r1) /* 800D0D88 000CDCE8 7F A3 EB 78 */ mr r3, r29 /* 800D0D8C 000CDCEC 7F 86 E3 78 */ mr r6, r28 /* 800D0D90 000CDCF0 7F C7 F3 78 */ mr r7, r30 /* 800D0D94 000CDCF4 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D0D98 000CDCF8 38 81 00 0C */ addi r4, r1, 0xc /* 800D0D9C 000CDCFC 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D0DA0 000CDD00 57 E8 06 3E */ clrlwi r8, r31, 0x18 /* 800D0DA4 000CDD04 48 07 E3 95 */ bl "__ct__21CScriptDockAreaChangeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoib" /* 800D0DA8 000CDD08 7C 7D 1B 78 */ mr r29, r3 lbl_800D0DAC: /* 800D0DAC 000CDD0C 38 61 00 10 */ addi r3, r1, 0x10 /* 800D0DB0 000CDD10 48 26 CD 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D0DB4 000CDD14 7F A3 EB 78 */ mr r3, r29 lbl_800D0DB8: /* 800D0DB8 000CDD18 BB 61 00 2C */ lmw r27, 0x2c(r1) /* 800D0DBC 000CDD1C 80 01 00 44 */ lwz r0, 0x44(r1) /* 800D0DC0 000CDD20 7C 08 03 A6 */ mtlr r0 /* 800D0DC4 000CDD24 38 21 00 40 */ addi r1, r1, 0x40 /* 800D0DC8 000CDD28 4E 80 00 20 */ blr .global LoadAreaAttributes__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadAreaAttributes__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D0DCC 000CDD2C 94 21 FF B0 */ stwu r1, -0x50(r1) /* 800D0DD0 000CDD30 7C 08 02 A6 */ mflr r0 /* 800D0DD4 000CDD34 90 01 00 54 */ stw r0, 0x54(r1) /* 800D0DD8 000CDD38 39 61 00 50 */ addi r11, r1, 0x50 /* 800D0DDC 000CDD3C 48 2B 8C 0D */ bl _savefpr_28 /* 800D0DE0 000CDD40 BF 21 00 14 */ stmw r25, 0x14(r1) /* 800D0DE4 000CDD44 2C 05 00 09 */ cmpwi r5, 9 /* 800D0DE8 000CDD48 7C 79 1B 78 */ mr r25, r3 /* 800D0DEC 000CDD4C 7C 9B 23 78 */ mr r27, r4 /* 800D0DF0 000CDD50 7C DA 33 78 */ mr r26, r6 /* 800D0DF4 000CDD54 41 82 00 0C */ beq lbl_800D0E00 /* 800D0DF8 000CDD58 38 60 00 00 */ li r3, 0 /* 800D0DFC 000CDD5C 48 00 00 F4 */ b lbl_800D0EF0 lbl_800D0E00: /* 800D0E00 000CDD60 7F 63 DB 78 */ mr r3, r27 /* 800D0E04 000CDD64 48 26 DE 81 */ bl ReadLong__12CInputStreamFv /* 800D0E08 000CDD68 2C 03 00 01 */ cmpwi r3, 1 /* 800D0E0C 000CDD6C 41 82 00 0C */ beq lbl_800D0E18 /* 800D0E10 000CDD70 38 60 00 00 */ li r3, 0 /* 800D0E14 000CDD74 48 00 00 DC */ b lbl_800D0EF0 lbl_800D0E18: /* 800D0E18 000CDD78 7F 63 DB 78 */ mr r3, r27 /* 800D0E1C 000CDD7C 48 26 DE C1 */ bl ReadBool__12CInputStreamFv /* 800D0E20 000CDD80 7C 60 1B 78 */ mr r0, r3 /* 800D0E24 000CDD84 7F 63 DB 78 */ mr r3, r27 /* 800D0E28 000CDD88 7C 1D 03 78 */ mr r29, r0 /* 800D0E2C 000CDD8C 48 26 DE 59 */ bl ReadLong__12CInputStreamFv /* 800D0E30 000CDD90 7C 60 1B 78 */ mr r0, r3 /* 800D0E34 000CDD94 7F 63 DB 78 */ mr r3, r27 /* 800D0E38 000CDD98 7C 1C 03 78 */ mr r28, r0 /* 800D0E3C 000CDD9C 48 26 DD ED */ bl ReadFloat__12CInputStreamFv /* 800D0E40 000CDDA0 FF E0 08 90 */ fmr f31, f1 /* 800D0E44 000CDDA4 7F 63 DB 78 */ mr r3, r27 /* 800D0E48 000CDDA8 48 26 DD E1 */ bl ReadFloat__12CInputStreamFv /* 800D0E4C 000CDDAC FF C0 08 90 */ fmr f30, f1 /* 800D0E50 000CDDB0 7F 63 DB 78 */ mr r3, r27 /* 800D0E54 000CDDB4 48 26 DD D5 */ bl ReadFloat__12CInputStreamFv /* 800D0E58 000CDDB8 FF A0 08 90 */ fmr f29, f1 /* 800D0E5C 000CDDBC 7F 63 DB 78 */ mr r3, r27 /* 800D0E60 000CDDC0 48 26 DD C9 */ bl ReadFloat__12CInputStreamFv /* 800D0E64 000CDDC4 FF 80 08 90 */ fmr f28, f1 /* 800D0E68 000CDDC8 7F 63 DB 78 */ mr r3, r27 /* 800D0E6C 000CDDCC 48 26 DE 19 */ bl ReadLong__12CInputStreamFv /* 800D0E70 000CDDD0 7C 7F 1B 78 */ mr r31, r3 /* 800D0E74 000CDDD4 7F 63 DB 78 */ mr r3, r27 /* 800D0E78 000CDDD8 48 26 DE 0D */ bl ReadLong__12CInputStreamFv /* 800D0E7C 000CDDDC 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D0E80 000CDDE0 7C 60 1B 78 */ mr r0, r3 /* 800D0E84 000CDDE4 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D0E88 000CDDE8 38 60 00 54 */ li r3, 0x54 /* 800D0E8C 000CDDEC 38 A0 00 00 */ li r5, 0 /* 800D0E90 000CDDF0 7C 1B 03 78 */ mr r27, r0 /* 800D0E94 000CDDF4 38 84 00 0D */ addi r4, r4, 0xd /* 800D0E98 000CDDF8 48 24 49 D5 */ bl __nw__FUlPCcPCc /* 800D0E9C 000CDDFC 7C 7E 1B 79 */ or. r30, r3, r3 /* 800D0EA0 000CDE00 41 82 00 4C */ beq lbl_800D0EEC /* 800D0EA4 000CDE04 7F 24 CB 78 */ mr r4, r25 /* 800D0EA8 000CDE08 38 61 00 08 */ addi r3, r1, 8 /* 800D0EAC 000CDE0C 4B F7 C2 31 */ bl AllocateUniqueId__13CStateManagerFv /* 800D0EB0 000CDE10 A0 01 00 08 */ lhz r0, 8(r1) /* 800D0EB4 000CDE14 FC 20 F8 90 */ fmr f1, f31 /* 800D0EB8 000CDE18 FC 40 F0 90 */ fmr f2, f30 /* 800D0EBC 000CDE1C 7F C3 F3 78 */ mr r3, r30 /* 800D0EC0 000CDE20 FC 60 E8 90 */ fmr f3, f29 /* 800D0EC4 000CDE24 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D0EC8 000CDE28 FC 80 E0 90 */ fmr f4, f28 /* 800D0ECC 000CDE2C 7F 45 D3 78 */ mr r5, r26 /* 800D0ED0 000CDE30 7F A6 EB 78 */ mr r6, r29 /* 800D0ED4 000CDE34 7F 87 E3 78 */ mr r7, r28 /* 800D0ED8 000CDE38 7F E8 FB 78 */ mr r8, r31 /* 800D0EDC 000CDE3C 7F 69 DB 78 */ mr r9, r27 /* 800D0EE0 000CDE40 38 81 00 0C */ addi r4, r1, 0xc /* 800D0EE4 000CDE44 48 0E C6 E5 */ bl __ct__21CScriptAreaAttributesF9TUniqueIdRC11CEntityInfob10EEnvFxTypeffffUi11EPhazonType /* 800D0EE8 000CDE48 7C 7E 1B 78 */ mr r30, r3 lbl_800D0EEC: /* 800D0EEC 000CDE4C 7F C3 F3 78 */ mr r3, r30 lbl_800D0EF0: /* 800D0EF0 000CDE50 39 61 00 50 */ addi r11, r1, 0x50 /* 800D0EF4 000CDE54 48 2B 8B 41 */ bl _restfpr_28 /* 800D0EF8 000CDE58 BB 21 00 14 */ lmw r25, 0x14(r1) /* 800D0EFC 000CDE5C 80 01 00 54 */ lwz r0, 0x54(r1) /* 800D0F00 000CDE60 7C 08 03 A6 */ mtlr r0 /* 800D0F04 000CDE64 38 21 00 50 */ addi r1, r1, 0x50 /* 800D0F08 000CDE68 4E 80 00 20 */ blr .global LoadDistanceFog__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadDistanceFog__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D0F0C 000CDE6C 94 21 FF 90 */ stwu r1, -0x70(r1) /* 800D0F10 000CDE70 7C 08 02 A6 */ mflr r0 /* 800D0F14 000CDE74 90 01 00 74 */ stw r0, 0x74(r1) /* 800D0F18 000CDE78 DB E1 00 60 */ stfd f31, 0x60(r1) /* 800D0F1C 000CDE7C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 /* 800D0F20 000CDE80 BF 41 00 48 */ stmw r26, 0x48(r1) /* 800D0F24 000CDE84 2C 05 00 08 */ cmpwi r5, 8 /* 800D0F28 000CDE88 7C 7A 1B 78 */ mr r26, r3 /* 800D0F2C 000CDE8C 7C 9C 23 78 */ mr r28, r4 /* 800D0F30 000CDE90 7C DB 33 78 */ mr r27, r6 /* 800D0F34 000CDE94 41 82 00 0C */ beq lbl_800D0F40 /* 800D0F38 000CDE98 38 60 00 00 */ li r3, 0 /* 800D0F3C 000CDE9C 48 00 01 90 */ b lbl_800D10CC lbl_800D0F40: /* 800D0F40 000CDEA0 4B F7 42 A5 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D0F44 000CDEA4 7C 64 1B 78 */ mr r4, r3 /* 800D0F48 000CDEA8 38 61 00 34 */ addi r3, r1, 0x34 /* 800D0F4C 000CDEAC 48 26 D2 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D0F50 000CDEB0 7F 83 E3 78 */ mr r3, r28 /* 800D0F54 000CDEB4 48 26 DD 31 */ bl ReadLong__12CInputStreamFv /* 800D0F58 000CDEB8 7C 7D 1B 78 */ mr r29, r3 /* 800D0F5C 000CDEBC 7F 84 E3 78 */ mr r4, r28 /* 800D0F60 000CDEC0 38 61 00 18 */ addi r3, r1, 0x18 /* 800D0F64 000CDEC4 48 29 24 E9 */ bl __ct__6CColorFR12CInputStream /* 800D0F68 000CDEC8 7F 83 E3 78 */ mr r3, r28 /* 800D0F6C 000CDECC 48 26 DC BD */ bl ReadFloat__12CInputStreamFv /* 800D0F70 000CDED0 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 800D0F74 000CDED4 7F 83 E3 78 */ mr r3, r28 /* 800D0F78 000CDED8 48 26 DC B1 */ bl ReadFloat__12CInputStreamFv /* 800D0F7C 000CDEDC D0 21 00 30 */ stfs f1, 0x30(r1) /* 800D0F80 000CDEE0 7F 83 E3 78 */ mr r3, r28 /* 800D0F84 000CDEE4 48 26 DC A5 */ bl ReadFloat__12CInputStreamFv /* 800D0F88 000CDEE8 FF E0 08 90 */ fmr f31, f1 /* 800D0F8C 000CDEEC 7F 83 E3 78 */ mr r3, r28 /* 800D0F90 000CDEF0 48 26 DC 99 */ bl ReadFloat__12CInputStreamFv /* 800D0F94 000CDEF4 D0 21 00 24 */ stfs f1, 0x24(r1) /* 800D0F98 000CDEF8 7F 83 E3 78 */ mr r3, r28 /* 800D0F9C 000CDEFC 48 26 DC 8D */ bl ReadFloat__12CInputStreamFv /* 800D0FA0 000CDF00 D0 21 00 28 */ stfs f1, 0x28(r1) /* 800D0FA4 000CDF04 7F 83 E3 78 */ mr r3, r28 /* 800D0FA8 000CDF08 48 26 DD 35 */ bl ReadBool__12CInputStreamFv /* 800D0FAC 000CDF0C 7C 7E 1B 78 */ mr r30, r3 /* 800D0FB0 000CDF10 7F 83 E3 78 */ mr r3, r28 /* 800D0FB4 000CDF14 48 26 DD 29 */ bl ReadBool__12CInputStreamFv /* 800D0FB8 000CDF18 2C 1D 00 03 */ cmpwi r29, 3 /* 800D0FBC 000CDF1C 7C 7F 1B 78 */ mr r31, r3 /* 800D0FC0 000CDF20 41 82 00 48 */ beq lbl_800D1008 /* 800D0FC4 000CDF24 40 80 00 1C */ bge lbl_800D0FE0 /* 800D0FC8 000CDF28 2C 1D 00 01 */ cmpwi r29, 1 /* 800D0FCC 000CDF2C 41 82 00 2C */ beq lbl_800D0FF8 /* 800D0FD0 000CDF30 40 80 00 30 */ bge lbl_800D1000 /* 800D0FD4 000CDF34 2C 1D 00 00 */ cmpwi r29, 0 /* 800D0FD8 000CDF38 40 80 00 18 */ bge lbl_800D0FF0 /* 800D0FDC 000CDF3C 48 00 00 44 */ b lbl_800D1020 lbl_800D0FE0: /* 800D0FE0 000CDF40 2C 1D 00 05 */ cmpwi r29, 5 /* 800D0FE4 000CDF44 41 82 00 34 */ beq lbl_800D1018 /* 800D0FE8 000CDF48 40 80 00 38 */ bge lbl_800D1020 /* 800D0FEC 000CDF4C 48 00 00 24 */ b lbl_800D1010 lbl_800D0FF0: /* 800D0FF0 000CDF50 3B 80 00 00 */ li r28, 0 /* 800D0FF4 000CDF54 48 00 00 3C */ b lbl_800D1030 lbl_800D0FF8: /* 800D0FF8 000CDF58 3B 80 00 02 */ li r28, 2 /* 800D0FFC 000CDF5C 48 00 00 34 */ b lbl_800D1030 lbl_800D1000: /* 800D1000 000CDF60 3B 80 00 04 */ li r28, 4 /* 800D1004 000CDF64 48 00 00 2C */ b lbl_800D1030 lbl_800D1008: /* 800D1008 000CDF68 3B 80 00 05 */ li r28, 5 /* 800D100C 000CDF6C 48 00 00 24 */ b lbl_800D1030 lbl_800D1010: /* 800D1010 000CDF70 3B 80 00 06 */ li r28, 6 /* 800D1014 000CDF74 48 00 00 1C */ b lbl_800D1030 lbl_800D1018: /* 800D1018 000CDF78 3B 80 00 07 */ li r28, 7 /* 800D101C 000CDF7C 48 00 00 14 */ b lbl_800D1030 lbl_800D1020: /* 800D1020 000CDF80 38 61 00 34 */ addi r3, r1, 0x34 /* 800D1024 000CDF84 48 26 CA BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D1028 000CDF88 38 60 00 00 */ li r3, 0 /* 800D102C 000CDF8C 48 00 00 A0 */ b lbl_800D10CC lbl_800D1030: /* 800D1030 000CDF90 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D1034 000CDF94 38 60 00 64 */ li r3, 0x64 /* 800D1038 000CDF98 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D103C 000CDF9C 38 A0 00 00 */ li r5, 0 /* 800D1040 000CDFA0 38 84 00 0D */ addi r4, r4, 0xd /* 800D1044 000CDFA4 48 24 48 29 */ bl __nw__FUlPCcPCc /* 800D1048 000CDFA8 7C 7D 1B 79 */ or. r29, r3, r3 /* 800D104C 000CDFAC 41 82 00 74 */ beq lbl_800D10C0 /* 800D1050 000CDFB0 80 A1 00 24 */ lwz r5, 0x24(r1) /* 800D1054 000CDFB4 7F 44 D3 78 */ mr r4, r26 /* 800D1058 000CDFB8 80 01 00 28 */ lwz r0, 0x28(r1) /* 800D105C 000CDFBC 38 61 00 10 */ addi r3, r1, 0x10 /* 800D1060 000CDFC0 90 A1 00 1C */ stw r5, 0x1c(r1) /* 800D1064 000CDFC4 90 01 00 20 */ stw r0, 0x20(r1) /* 800D1068 000CDFC8 4B F7 C0 75 */ bl AllocateUniqueId__13CStateManagerFv /* 800D106C 000CDFCC A0 01 00 10 */ lhz r0, 0x10(r1) /* 800D1070 000CDFD0 57 C4 06 3E */ clrlwi r4, r30, 0x18 /* 800D1074 000CDFD4 C0 42 8E 28 */ lfs f2, lbl_805AAB48@sda21(r2) /* 800D1078 000CDFD8 FC 20 F8 90 */ fmr f1, f31 /* 800D107C 000CDFDC B0 01 00 14 */ sth r0, 0x14(r1) /* 800D1080 000CDFE0 57 E0 06 3E */ clrlwi r0, r31, 0x18 /* 800D1084 000CDFE4 FC 60 10 90 */ fmr f3, f2 /* 800D1088 000CDFE8 7F A3 EB 78 */ mr r3, r29 /* 800D108C 000CDFEC 90 81 00 08 */ stw r4, 8(r1) /* 800D1090 000CDFF0 FC 80 10 90 */ fmr f4, f2 /* 800D1094 000CDFF4 7F 66 DB 78 */ mr r6, r27 /* 800D1098 000CDFF8 FC A0 10 90 */ fmr f5, f2 /* 800D109C 000CDFFC 90 01 00 0C */ stw r0, 0xc(r1) /* 800D10A0 000CE000 7F 87 E3 78 */ mr r7, r28 /* 800D10A4 000CE004 38 81 00 14 */ addi r4, r1, 0x14 /* 800D10A8 000CE008 38 A1 00 34 */ addi r5, r1, 0x34 /* 800D10AC 000CE00C 39 01 00 18 */ addi r8, r1, 0x18 /* 800D10B0 000CE010 39 21 00 2C */ addi r9, r1, 0x2c /* 800D10B4 000CE014 39 41 00 1C */ addi r10, r1, 0x1c /* 800D10B8 000CE018 48 07 C1 A1 */ bl "__ct__18CScriptDistanceFogF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC11ERglFogModeRC6CColorRC9CVector2ff9CVector2fbbffff" /* 800D10BC 000CE01C 7C 7D 1B 78 */ mr r29, r3 lbl_800D10C0: /* 800D10C0 000CE020 38 61 00 34 */ addi r3, r1, 0x34 /* 800D10C4 000CE024 48 26 CA 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D10C8 000CE028 7F A3 EB 78 */ mr r3, r29 lbl_800D10CC: /* 800D10CC 000CE02C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 /* 800D10D0 000CE030 CB E1 00 60 */ lfd f31, 0x60(r1) /* 800D10D4 000CE034 BB 41 00 48 */ lmw r26, 0x48(r1) /* 800D10D8 000CE038 80 01 00 74 */ lwz r0, 0x74(r1) /* 800D10DC 000CE03C 7C 08 03 A6 */ mtlr r0 /* 800D10E0 000CE040 38 21 00 70 */ addi r1, r1, 0x70 /* 800D10E4 000CE044 4E 80 00 20 */ blr .global LoadSpankWeed__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadSpankWeed__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D10E8 000CE048 94 21 FC D0 */ stwu r1, -0x330(r1) /* 800D10EC 000CE04C 7C 08 02 A6 */ mflr r0 /* 800D10F0 000CE050 90 01 03 34 */ stw r0, 0x334(r1) /* 800D10F4 000CE054 DB E1 03 20 */ stfd f31, 0x320(r1) /* 800D10F8 000CE058 F3 E1 03 28 */ psq_st f31, 808(r1), 0, qr0 /* 800D10FC 000CE05C DB C1 03 10 */ stfd f30, 0x310(r1) /* 800D1100 000CE060 F3 C1 03 18 */ psq_st f30, 792(r1), 0, qr0 /* 800D1104 000CE064 DB A1 03 00 */ stfd f29, 0x300(r1) /* 800D1108 000CE068 F3 A1 03 08 */ psq_st f29, 776(r1), 0, qr0 /* 800D110C 000CE06C DB 81 02 F0 */ stfd f28, 0x2f0(r1) /* 800D1110 000CE070 F3 81 02 F8 */ psq_st f28, 760(r1), 0, qr0 /* 800D1114 000CE074 93 E1 02 EC */ stw r31, 0x2ec(r1) /* 800D1118 000CE078 93 C1 02 E8 */ stw r30, 0x2e8(r1) /* 800D111C 000CE07C 93 A1 02 E4 */ stw r29, 0x2e4(r1) /* 800D1120 000CE080 93 81 02 E0 */ stw r28, 0x2e0(r1) /* 800D1124 000CE084 2C 05 00 0B */ cmpwi r5, 0xb /* 800D1128 000CE088 7C 7D 1B 78 */ mr r29, r3 /* 800D112C 000CE08C 7C 9F 23 78 */ mr r31, r4 /* 800D1130 000CE090 7C DE 33 78 */ mr r30, r6 /* 800D1134 000CE094 41 82 00 0C */ beq lbl_800D1140 /* 800D1138 000CE098 38 60 00 00 */ li r3, 0 /* 800D113C 000CE09C 48 00 01 C0 */ b lbl_800D12FC lbl_800D1140: /* 800D1140 000CE0A0 7F A5 EB 78 */ mr r5, r29 /* 800D1144 000CE0A4 38 61 01 50 */ addi r3, r1, 0x150 /* 800D1148 000CE0A8 48 00 93 35 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D114C 000CE0AC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D1150 000CE0B0 7F E4 FB 78 */ mr r4, r31 /* 800D1154 000CE0B4 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800D1158 000CE0B8 38 61 00 10 */ addi r3, r1, 0x10 /* 800D115C 000CE0BC 38 A5 01 2F */ addi r5, r5, 0x12f /* 800D1160 000CE0C0 48 03 46 C9 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800D1164 000CE0C4 88 01 00 10 */ lbz r0, 0x10(r1) /* 800D1168 000CE0C8 80 A1 00 14 */ lwz r5, 0x14(r1) /* 800D116C 000CE0CC 28 00 00 00 */ cmplwi r0, 0 /* 800D1170 000CE0D0 40 82 00 14 */ bne lbl_800D1184 /* 800D1174 000CE0D4 38 61 01 50 */ addi r3, r1, 0x150 /* 800D1178 000CE0D8 48 26 C9 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D117C 000CE0DC 38 60 00 00 */ li r3, 0 /* 800D1180 000CE0E0 48 00 01 7C */ b lbl_800D12FC lbl_800D1184: /* 800D1184 000CE0E4 7F E4 FB 78 */ mr r4, r31 /* 800D1188 000CE0E8 38 61 01 9C */ addi r3, r1, 0x19c /* 800D118C 000CE0EC 48 03 46 ED */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800D1190 000CE0F0 7F E4 FB 78 */ mr r4, r31 /* 800D1194 000CE0F4 38 61 00 80 */ addi r3, r1, 0x80 /* 800D1198 000CE0F8 48 00 8B DD */ bl LoadActorParameters__FR12CInputStream /* 800D119C 000CE0FC 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800D11A0 000CE100 38 81 00 80 */ addi r4, r1, 0x80 /* 800D11A4 000CE104 4B FF 44 79 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D11A8 000CE108 38 61 00 80 */ addi r3, r1, 0x80 /* 800D11AC 000CE10C 38 80 FF FF */ li r4, -1 /* 800D11B0 000CE110 48 03 54 59 */ bl __dt__16CLightParametersFv /* 800D11B4 000CE114 7F E3 FB 78 */ mr r3, r31 /* 800D11B8 000CE118 48 26 DB 25 */ bl ReadBool__12CInputStreamFv /* 800D11BC 000CE11C 7F E3 FB 78 */ mr r3, r31 /* 800D11C0 000CE120 48 26 DA 69 */ bl ReadFloat__12CInputStreamFv /* 800D11C4 000CE124 FF E0 08 90 */ fmr f31, f1 /* 800D11C8 000CE128 7F E3 FB 78 */ mr r3, r31 /* 800D11CC 000CE12C 48 26 DA 5D */ bl ReadFloat__12CInputStreamFv /* 800D11D0 000CE130 FF C0 08 90 */ fmr f30, f1 /* 800D11D4 000CE134 7F E3 FB 78 */ mr r3, r31 /* 800D11D8 000CE138 48 26 DA 51 */ bl ReadFloat__12CInputStreamFv /* 800D11DC 000CE13C FF A0 08 90 */ fmr f29, f1 /* 800D11E0 000CE140 7F E3 FB 78 */ mr r3, r31 /* 800D11E4 000CE144 48 26 DA 45 */ bl ReadFloat__12CInputStreamFv /* 800D11E8 000CE148 80 61 02 88 */ lwz r3, 0x288(r1) /* 800D11EC 000CE14C FF 80 08 90 */ fmr f28, f1 /* 800D11F0 000CE150 3C 03 00 01 */ addis r0, r3, 1 /* 800D11F4 000CE154 28 00 FF FF */ cmplwi r0, 0xffff /* 800D11F8 000CE158 40 82 00 20 */ bne lbl_800D1218 /* 800D11FC 000CE15C 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800D1200 000CE160 38 80 FF FF */ li r4, -1 /* 800D1204 000CE164 48 03 54 05 */ bl __dt__16CLightParametersFv /* 800D1208 000CE168 38 61 01 50 */ addi r3, r1, 0x150 /* 800D120C 000CE16C 48 26 C8 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D1210 000CE170 38 60 00 00 */ li r3, 0 /* 800D1214 000CE174 48 00 00 E8 */ b lbl_800D12FC lbl_800D1218: /* 800D1218 000CE178 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D121C 000CE17C 3B 80 00 00 */ li r28, 0 /* 800D1220 000CE180 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D1224 000CE184 38 60 05 C0 */ li r3, 0x5c0 /* 800D1228 000CE188 38 84 00 0D */ addi r4, r4, 0xd /* 800D122C 000CE18C 38 A0 00 00 */ li r5, 0 /* 800D1230 000CE190 48 24 46 3D */ bl __nw__FUlPCcPCc /* 800D1234 000CE194 7C 7F 1B 79 */ or. r31, r3, r3 /* 800D1238 000CE198 41 82 00 98 */ beq lbl_800D12D0 /* 800D123C 000CE19C 80 E1 02 88 */ lwz r7, 0x288(r1) /* 800D1240 000CE1A0 38 A0 00 01 */ li r5, 1 /* 800D1244 000CE1A4 80 C1 02 8C */ lwz r6, 0x28c(r1) /* 800D1248 000CE1A8 38 61 00 34 */ addi r3, r1, 0x34 /* 800D124C 000CE1AC C0 41 01 90 */ lfs f2, 0x190(r1) /* 800D1250 000CE1B0 38 81 00 18 */ addi r4, r1, 0x18 /* 800D1254 000CE1B4 C0 21 01 94 */ lfs f1, 0x194(r1) /* 800D1258 000CE1B8 C0 01 01 98 */ lfs f0, 0x198(r1) /* 800D125C 000CE1BC 80 01 02 90 */ lwz r0, 0x290(r1) /* 800D1260 000CE1C0 90 E1 00 18 */ stw r7, 0x18(r1) /* 800D1264 000CE1C4 90 C1 00 1C */ stw r6, 0x1c(r1) /* 800D1268 000CE1C8 D0 41 00 20 */ stfs f2, 0x20(r1) /* 800D126C 000CE1CC D0 21 00 24 */ stfs f1, 0x24(r1) /* 800D1270 000CE1D0 D0 01 00 28 */ stfs f0, 0x28(r1) /* 800D1274 000CE1D4 98 A1 00 2C */ stb r5, 0x2c(r1) /* 800D1278 000CE1D8 90 01 00 30 */ stw r0, 0x30(r1) /* 800D127C 000CE1DC 48 04 58 D9 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D1280 000CE1E0 7F A4 EB 78 */ mr r4, r29 /* 800D1284 000CE1E4 38 61 00 08 */ addi r3, r1, 8 /* 800D1288 000CE1E8 3B 80 00 01 */ li r28, 1 /* 800D128C 000CE1EC 4B F7 BE 51 */ bl AllocateUniqueId__13CStateManagerFv /* 800D1290 000CE1F0 A0 01 00 08 */ lhz r0, 8(r1) /* 800D1294 000CE1F4 FC 20 F8 90 */ fmr f1, f31 /* 800D1298 000CE1F8 FC 40 F0 90 */ fmr f2, f30 /* 800D129C 000CE1FC 7F E3 FB 78 */ mr r3, r31 /* 800D12A0 000CE200 FC 60 E8 90 */ fmr f3, f29 /* 800D12A4 000CE204 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D12A8 000CE208 FC 80 E0 90 */ fmr f4, f28 /* 800D12AC 000CE20C 7F C6 F3 78 */ mr r6, r30 /* 800D12B0 000CE210 38 81 00 0C */ addi r4, r1, 0xc /* 800D12B4 000CE214 38 A1 01 50 */ addi r5, r1, 0x150 /* 800D12B8 000CE218 38 E1 01 60 */ addi r7, r1, 0x160 /* 800D12BC 000CE21C 39 01 00 34 */ addi r8, r1, 0x34 /* 800D12C0 000CE220 39 21 00 E8 */ addi r9, r1, 0xe8 /* 800D12C4 000CE224 39 41 01 9C */ addi r10, r1, 0x19c /* 800D12C8 000CE228 48 08 51 51 */ bl "__ct__10CSpankWeedF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoffff" /* 800D12CC 000CE22C 7C 7F 1B 78 */ mr r31, r3 lbl_800D12D0: /* 800D12D0 000CE230 7F 80 07 75 */ extsb. r0, r28 /* 800D12D4 000CE234 41 82 00 10 */ beq lbl_800D12E4 /* 800D12D8 000CE238 38 61 00 34 */ addi r3, r1, 0x34 /* 800D12DC 000CE23C 38 80 FF FF */ li r4, -1 /* 800D12E0 000CE240 48 04 57 6D */ bl __dt__10CModelDataFv lbl_800D12E4: /* 800D12E4 000CE244 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800D12E8 000CE248 38 80 FF FF */ li r4, -1 /* 800D12EC 000CE24C 48 03 53 1D */ bl __dt__16CLightParametersFv /* 800D12F0 000CE250 38 61 01 50 */ addi r3, r1, 0x150 /* 800D12F4 000CE254 48 26 C7 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D12F8 000CE258 7F E3 FB 78 */ mr r3, r31 lbl_800D12FC: /* 800D12FC 000CE25C E3 E1 03 28 */ psq_l f31, 808(r1), 0, qr0 /* 800D1300 000CE260 CB E1 03 20 */ lfd f31, 0x320(r1) /* 800D1304 000CE264 E3 C1 03 18 */ psq_l f30, 792(r1), 0, qr0 /* 800D1308 000CE268 CB C1 03 10 */ lfd f30, 0x310(r1) /* 800D130C 000CE26C E3 A1 03 08 */ psq_l f29, 776(r1), 0, qr0 /* 800D1310 000CE270 CB A1 03 00 */ lfd f29, 0x300(r1) /* 800D1314 000CE274 E3 81 02 F8 */ psq_l f28, 760(r1), 0, qr0 /* 800D1318 000CE278 CB 81 02 F0 */ lfd f28, 0x2f0(r1) /* 800D131C 000CE27C 83 E1 02 EC */ lwz r31, 0x2ec(r1) /* 800D1320 000CE280 83 C1 02 E8 */ lwz r30, 0x2e8(r1) /* 800D1324 000CE284 83 A1 02 E4 */ lwz r29, 0x2e4(r1) /* 800D1328 000CE288 80 01 03 34 */ lwz r0, 0x334(r1) /* 800D132C 000CE28C 83 81 02 E0 */ lwz r28, 0x2e0(r1) /* 800D1330 000CE290 7C 08 03 A6 */ mtlr r0 /* 800D1334 000CE294 38 21 03 30 */ addi r1, r1, 0x330 /* 800D1338 000CE298 4E 80 00 20 */ blr .global LoadFireFlea__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadFireFlea__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D133C 000CE29C 94 21 FD 00 */ stwu r1, -0x300(r1) /* 800D1340 000CE2A0 7C 08 02 A6 */ mflr r0 /* 800D1344 000CE2A4 90 01 03 04 */ stw r0, 0x304(r1) /* 800D1348 000CE2A8 DB E1 02 F0 */ stfd f31, 0x2f0(r1) /* 800D134C 000CE2AC F3 E1 02 F8 */ psq_st f31, 760(r1), 0, qr0 /* 800D1350 000CE2B0 93 E1 02 EC */ stw r31, 0x2ec(r1) /* 800D1354 000CE2B4 93 C1 02 E8 */ stw r30, 0x2e8(r1) /* 800D1358 000CE2B8 93 A1 02 E4 */ stw r29, 0x2e4(r1) /* 800D135C 000CE2BC 93 81 02 E0 */ stw r28, 0x2e0(r1) /* 800D1360 000CE2C0 2C 05 00 09 */ cmpwi r5, 9 /* 800D1364 000CE2C4 7C 7D 1B 78 */ mr r29, r3 /* 800D1368 000CE2C8 7C 9F 23 78 */ mr r31, r4 /* 800D136C 000CE2CC 7C DE 33 78 */ mr r30, r6 /* 800D1370 000CE2D0 41 82 00 0C */ beq lbl_800D137C /* 800D1374 000CE2D4 38 60 00 00 */ li r3, 0 /* 800D1378 000CE2D8 48 00 01 98 */ b lbl_800D1510 lbl_800D137C: /* 800D137C 000CE2DC 7F A5 EB 78 */ mr r5, r29 /* 800D1380 000CE2E0 38 61 01 50 */ addi r3, r1, 0x150 /* 800D1384 000CE2E4 48 00 90 F9 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D1388 000CE2E8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D138C 000CE2EC 7F E4 FB 78 */ mr r4, r31 /* 800D1390 000CE2F0 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800D1394 000CE2F4 38 61 00 10 */ addi r3, r1, 0x10 /* 800D1398 000CE2F8 38 A5 01 39 */ addi r5, r5, 0x139 /* 800D139C 000CE2FC 48 03 44 8D */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800D13A0 000CE300 88 01 00 10 */ lbz r0, 0x10(r1) /* 800D13A4 000CE304 80 A1 00 14 */ lwz r5, 0x14(r1) /* 800D13A8 000CE308 28 00 00 00 */ cmplwi r0, 0 /* 800D13AC 000CE30C 40 82 00 14 */ bne lbl_800D13C0 /* 800D13B0 000CE310 38 61 01 50 */ addi r3, r1, 0x150 /* 800D13B4 000CE314 48 26 C7 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D13B8 000CE318 38 60 00 00 */ li r3, 0 /* 800D13BC 000CE31C 48 00 01 54 */ b lbl_800D1510 lbl_800D13C0: /* 800D13C0 000CE320 7F E4 FB 78 */ mr r4, r31 /* 800D13C4 000CE324 38 61 01 9C */ addi r3, r1, 0x19c /* 800D13C8 000CE328 48 03 44 B1 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800D13CC 000CE32C 7F E4 FB 78 */ mr r4, r31 /* 800D13D0 000CE330 38 61 00 80 */ addi r3, r1, 0x80 /* 800D13D4 000CE334 48 00 89 A1 */ bl LoadActorParameters__FR12CInputStream /* 800D13D8 000CE338 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800D13DC 000CE33C 38 81 00 80 */ addi r4, r1, 0x80 /* 800D13E0 000CE340 4B FF 42 3D */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D13E4 000CE344 38 61 00 80 */ addi r3, r1, 0x80 /* 800D13E8 000CE348 38 80 FF FF */ li r4, -1 /* 800D13EC 000CE34C 48 03 52 1D */ bl __dt__16CLightParametersFv /* 800D13F0 000CE350 7F E3 FB 78 */ mr r3, r31 /* 800D13F4 000CE354 48 26 D8 E9 */ bl ReadBool__12CInputStreamFv /* 800D13F8 000CE358 7F E3 FB 78 */ mr r3, r31 /* 800D13FC 000CE35C 48 26 D8 E1 */ bl ReadBool__12CInputStreamFv /* 800D1400 000CE360 7F E3 FB 78 */ mr r3, r31 /* 800D1404 000CE364 48 26 D8 25 */ bl ReadFloat__12CInputStreamFv /* 800D1408 000CE368 80 61 02 88 */ lwz r3, 0x288(r1) /* 800D140C 000CE36C FF E0 08 90 */ fmr f31, f1 /* 800D1410 000CE370 3C 03 00 01 */ addis r0, r3, 1 /* 800D1414 000CE374 28 00 FF FF */ cmplwi r0, 0xffff /* 800D1418 000CE378 40 82 00 20 */ bne lbl_800D1438 /* 800D141C 000CE37C 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800D1420 000CE380 38 80 FF FF */ li r4, -1 /* 800D1424 000CE384 48 03 51 E5 */ bl __dt__16CLightParametersFv /* 800D1428 000CE388 38 61 01 50 */ addi r3, r1, 0x150 /* 800D142C 000CE38C 48 26 C6 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D1430 000CE390 38 60 00 00 */ li r3, 0 /* 800D1434 000CE394 48 00 00 DC */ b lbl_800D1510 lbl_800D1438: /* 800D1438 000CE398 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D143C 000CE39C 3B 80 00 00 */ li r28, 0 /* 800D1440 000CE3A0 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D1444 000CE3A4 38 60 0E 70 */ li r3, 0xe70 /* 800D1448 000CE3A8 38 84 00 0D */ addi r4, r4, 0xd /* 800D144C 000CE3AC 38 A0 00 00 */ li r5, 0 /* 800D1450 000CE3B0 48 24 44 1D */ bl __nw__FUlPCcPCc /* 800D1454 000CE3B4 7C 7F 1B 79 */ or. r31, r3, r3 /* 800D1458 000CE3B8 41 82 00 8C */ beq lbl_800D14E4 /* 800D145C 000CE3BC 80 E1 02 88 */ lwz r7, 0x288(r1) /* 800D1460 000CE3C0 38 A0 00 01 */ li r5, 1 /* 800D1464 000CE3C4 80 C1 02 8C */ lwz r6, 0x28c(r1) /* 800D1468 000CE3C8 38 61 00 34 */ addi r3, r1, 0x34 /* 800D146C 000CE3CC C0 41 01 90 */ lfs f2, 0x190(r1) /* 800D1470 000CE3D0 38 81 00 18 */ addi r4, r1, 0x18 /* 800D1474 000CE3D4 C0 21 01 94 */ lfs f1, 0x194(r1) /* 800D1478 000CE3D8 C0 01 01 98 */ lfs f0, 0x198(r1) /* 800D147C 000CE3DC 80 01 02 90 */ lwz r0, 0x290(r1) /* 800D1480 000CE3E0 90 E1 00 18 */ stw r7, 0x18(r1) /* 800D1484 000CE3E4 90 C1 00 1C */ stw r6, 0x1c(r1) /* 800D1488 000CE3E8 D0 41 00 20 */ stfs f2, 0x20(r1) /* 800D148C 000CE3EC D0 21 00 24 */ stfs f1, 0x24(r1) /* 800D1490 000CE3F0 D0 01 00 28 */ stfs f0, 0x28(r1) /* 800D1494 000CE3F4 98 A1 00 2C */ stb r5, 0x2c(r1) /* 800D1498 000CE3F8 90 01 00 30 */ stw r0, 0x30(r1) /* 800D149C 000CE3FC 48 04 56 B9 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D14A0 000CE400 7F A4 EB 78 */ mr r4, r29 /* 800D14A4 000CE404 38 61 00 08 */ addi r3, r1, 8 /* 800D14A8 000CE408 3B 80 00 01 */ li r28, 1 /* 800D14AC 000CE40C 4B F7 BC 31 */ bl AllocateUniqueId__13CStateManagerFv /* 800D14B0 000CE410 A0 01 00 08 */ lhz r0, 8(r1) /* 800D14B4 000CE414 FC 20 F8 90 */ fmr f1, f31 /* 800D14B8 000CE418 7F E3 FB 78 */ mr r3, r31 /* 800D14BC 000CE41C 7F C6 F3 78 */ mr r6, r30 /* 800D14C0 000CE420 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D14C4 000CE424 38 81 00 0C */ addi r4, r1, 0xc /* 800D14C8 000CE428 38 A1 01 50 */ addi r5, r1, 0x150 /* 800D14CC 000CE42C 38 E1 01 60 */ addi r7, r1, 0x160 /* 800D14D0 000CE430 39 01 00 34 */ addi r8, r1, 0x34 /* 800D14D4 000CE434 39 21 00 E8 */ addi r9, r1, 0xe8 /* 800D14D8 000CE438 39 41 01 9C */ addi r10, r1, 0x19c /* 800D14DC 000CE43C 48 07 24 CD */ bl "__ct__9CFireFleaF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfof" /* 800D14E0 000CE440 7C 7F 1B 78 */ mr r31, r3 lbl_800D14E4: /* 800D14E4 000CE444 7F 80 07 75 */ extsb. r0, r28 /* 800D14E8 000CE448 41 82 00 10 */ beq lbl_800D14F8 /* 800D14EC 000CE44C 38 61 00 34 */ addi r3, r1, 0x34 /* 800D14F0 000CE450 38 80 FF FF */ li r4, -1 /* 800D14F4 000CE454 48 04 55 59 */ bl __dt__10CModelDataFv lbl_800D14F8: /* 800D14F8 000CE458 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800D14FC 000CE45C 38 80 FF FF */ li r4, -1 /* 800D1500 000CE460 48 03 51 09 */ bl __dt__16CLightParametersFv /* 800D1504 000CE464 38 61 01 50 */ addi r3, r1, 0x150 /* 800D1508 000CE468 48 26 C5 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D150C 000CE46C 7F E3 FB 78 */ mr r3, r31 lbl_800D1510: /* 800D1510 000CE470 E3 E1 02 F8 */ psq_l f31, 760(r1), 0, qr0 /* 800D1514 000CE474 80 01 03 04 */ lwz r0, 0x304(r1) /* 800D1518 000CE478 CB E1 02 F0 */ lfd f31, 0x2f0(r1) /* 800D151C 000CE47C 83 E1 02 EC */ lwz r31, 0x2ec(r1) /* 800D1520 000CE480 83 C1 02 E8 */ lwz r30, 0x2e8(r1) /* 800D1524 000CE484 83 A1 02 E4 */ lwz r29, 0x2e4(r1) /* 800D1528 000CE488 83 81 02 E0 */ lwz r28, 0x2e0(r1) /* 800D152C 000CE48C 7C 08 03 A6 */ mtlr r0 /* 800D1530 000CE490 38 21 03 00 */ addi r1, r1, 0x300 /* 800D1534 000CE494 4E 80 00 20 */ blr .global LoadPuddleToadGamma__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadPuddleToadGamma__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D1538 000CE498 94 21 FC 10 */ stwu r1, -0x3f0(r1) /* 800D153C 000CE49C 7C 08 02 A6 */ mflr r0 /* 800D1540 000CE4A0 90 01 03 F4 */ stw r0, 0x3f4(r1) /* 800D1544 000CE4A4 DB E1 03 E0 */ stfd f31, 0x3e0(r1) /* 800D1548 000CE4A8 F3 E1 03 E8 */ psq_st f31, 1000(r1), 0, qr0 /* 800D154C 000CE4AC DB C1 03 D0 */ stfd f30, 0x3d0(r1) /* 800D1550 000CE4B0 F3 C1 03 D8 */ psq_st f30, 984(r1), 0, qr0 /* 800D1554 000CE4B4 DB A1 03 C0 */ stfd f29, 0x3c0(r1) /* 800D1558 000CE4B8 F3 A1 03 C8 */ psq_st f29, 968(r1), 0, qr0 /* 800D155C 000CE4BC DB 81 03 B0 */ stfd f28, 0x3b0(r1) /* 800D1560 000CE4C0 F3 81 03 B8 */ psq_st f28, 952(r1), 0, qr0 /* 800D1564 000CE4C4 DB 61 03 A0 */ stfd f27, 0x3a0(r1) /* 800D1568 000CE4C8 F3 61 03 A8 */ psq_st f27, 936(r1), 0, qr0 /* 800D156C 000CE4CC DB 41 03 90 */ stfd f26, 0x390(r1) /* 800D1570 000CE4D0 F3 41 03 98 */ psq_st f26, 920(r1), 0, qr0 /* 800D1574 000CE4D4 BF 41 03 78 */ stmw r26, 0x378(r1) /* 800D1578 000CE4D8 2C 05 00 11 */ cmpwi r5, 0x11 /* 800D157C 000CE4DC 7C 7B 1B 78 */ mr r27, r3 /* 800D1580 000CE4E0 7C 9D 23 78 */ mr r29, r4 /* 800D1584 000CE4E4 7C DC 33 78 */ mr r28, r6 /* 800D1588 000CE4E8 41 82 00 0C */ beq lbl_800D1594 /* 800D158C 000CE4EC 38 60 00 00 */ li r3, 0 /* 800D1590 000CE4F0 48 00 02 4C */ b lbl_800D17DC lbl_800D1594: /* 800D1594 000CE4F4 4B F7 3C 51 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D1598 000CE4F8 7C 64 1B 78 */ mr r4, r3 /* 800D159C 000CE4FC 38 61 00 54 */ addi r3, r1, 0x54 /* 800D15A0 000CE500 48 26 CB C1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D15A4 000CE504 7F A3 EB 78 */ mr r3, r29 /* 800D15A8 000CE508 48 26 D6 DD */ bl ReadLong__12CInputStreamFv /* 800D15AC 000CE50C 7C 7E 1B 78 */ mr r30, r3 /* 800D15B0 000CE510 7F A4 EB 78 */ mr r4, r29 /* 800D15B4 000CE514 38 61 00 B8 */ addi r3, r1, 0xb8 /* 800D15B8 000CE518 48 00 8F D5 */ bl LoadEditorTransform__FR12CInputStream /* 800D15BC 000CE51C 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800D15C0 000CE520 38 81 00 B8 */ addi r4, r1, 0xb8 /* 800D15C4 000CE524 48 24 15 B1 */ bl __ct__12CTransform4fFRC12CTransform4f /* 800D15C8 000CE528 7F A4 EB 78 */ mr r4, r29 /* 800D15CC 000CE52C 38 61 00 48 */ addi r3, r1, 0x48 /* 800D15D0 000CE530 48 24 35 BD */ bl __ct__9CVector3fFR12CInputStream /* 800D15D4 000CE534 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D15D8 000CE538 7F A4 EB 78 */ mr r4, r29 /* 800D15DC 000CE53C 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800D15E0 000CE540 38 61 00 28 */ addi r3, r1, 0x28 /* 800D15E4 000CE544 38 A5 01 42 */ addi r5, r5, 0x142 /* 800D15E8 000CE548 48 03 42 41 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800D15EC 000CE54C 88 01 00 28 */ lbz r0, 0x28(r1) /* 800D15F0 000CE550 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 800D15F4 000CE554 28 00 00 00 */ cmplwi r0, 0 /* 800D15F8 000CE558 40 82 00 14 */ bne lbl_800D160C /* 800D15FC 000CE55C 38 61 00 54 */ addi r3, r1, 0x54 /* 800D1600 000CE560 48 26 C4 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D1604 000CE564 38 60 00 00 */ li r3, 0 /* 800D1608 000CE568 48 00 01 D4 */ b lbl_800D17DC lbl_800D160C: /* 800D160C 000CE56C 7F A4 EB 78 */ mr r4, r29 /* 800D1610 000CE570 38 61 02 34 */ addi r3, r1, 0x234 /* 800D1614 000CE574 48 03 42 65 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800D1618 000CE578 7F A4 EB 78 */ mr r4, r29 /* 800D161C 000CE57C 38 61 01 64 */ addi r3, r1, 0x164 /* 800D1620 000CE580 48 00 87 55 */ bl LoadActorParameters__FR12CInputStream /* 800D1624 000CE584 38 61 01 CC */ addi r3, r1, 0x1cc /* 800D1628 000CE588 38 81 01 64 */ addi r4, r1, 0x164 /* 800D162C 000CE58C 4B FF 3F F1 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D1630 000CE590 38 61 01 64 */ addi r3, r1, 0x164 /* 800D1634 000CE594 38 80 FF FF */ li r4, -1 /* 800D1638 000CE598 48 03 4F D1 */ bl __dt__16CLightParametersFv /* 800D163C 000CE59C 7F A3 EB 78 */ mr r3, r29 /* 800D1640 000CE5A0 48 26 D5 E9 */ bl ReadFloat__12CInputStreamFv /* 800D1644 000CE5A4 FF E0 08 90 */ fmr f31, f1 /* 800D1648 000CE5A8 7F A3 EB 78 */ mr r3, r29 /* 800D164C 000CE5AC 48 26 D5 DD */ bl ReadFloat__12CInputStreamFv /* 800D1650 000CE5B0 FF C0 08 90 */ fmr f30, f1 /* 800D1654 000CE5B4 7F A3 EB 78 */ mr r3, r29 /* 800D1658 000CE5B8 48 26 D5 D1 */ bl ReadFloat__12CInputStreamFv /* 800D165C 000CE5BC FF A0 08 90 */ fmr f29, f1 /* 800D1660 000CE5C0 7F A4 EB 78 */ mr r4, r29 /* 800D1664 000CE5C4 38 61 00 3C */ addi r3, r1, 0x3c /* 800D1668 000CE5C8 48 24 35 25 */ bl __ct__9CVector3fFR12CInputStream /* 800D166C 000CE5CC 7F A3 EB 78 */ mr r3, r29 /* 800D1670 000CE5D0 48 26 D5 B9 */ bl ReadFloat__12CInputStreamFv /* 800D1674 000CE5D4 FF 80 08 90 */ fmr f28, f1 /* 800D1678 000CE5D8 7F A3 EB 78 */ mr r3, r29 /* 800D167C 000CE5DC 48 26 D5 AD */ bl ReadFloat__12CInputStreamFv /* 800D1680 000CE5E0 FF 60 08 90 */ fmr f27, f1 /* 800D1684 000CE5E4 7F A3 EB 78 */ mr r3, r29 /* 800D1688 000CE5E8 48 26 D5 A1 */ bl ReadFloat__12CInputStreamFv /* 800D168C 000CE5EC FF 40 08 90 */ fmr f26, f1 /* 800D1690 000CE5F0 7F A4 EB 78 */ mr r4, r29 /* 800D1694 000CE5F4 38 61 00 9C */ addi r3, r1, 0x9c /* 800D1698 000CE5F8 4B FF 1E C9 */ bl __ct__11CDamageInfoFR12CInputStream /* 800D169C 000CE5FC 7F A4 EB 78 */ mr r4, r29 /* 800D16A0 000CE600 38 61 00 80 */ addi r3, r1, 0x80 /* 800D16A4 000CE604 4B FF 1E BD */ bl __ct__11CDamageInfoFR12CInputStream /* 800D16A8 000CE608 7F A3 EB 78 */ mr r3, r29 /* 800D16AC 000CE60C 48 26 D5 D9 */ bl ReadLong__12CInputStreamFv /* 800D16B0 000CE610 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D16B4 000CE614 7C 7F 1B 78 */ mr r31, r3 /* 800D16B8 000CE618 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l /* 800D16BC 000CE61C 3B 40 00 00 */ li r26, 0 /* 800D16C0 000CE620 38 83 00 0D */ addi r4, r3, 0xd /* 800D16C4 000CE624 38 60 05 F0 */ li r3, 0x5f0 /* 800D16C8 000CE628 38 A0 00 00 */ li r5, 0 /* 800D16CC 000CE62C 48 24 41 A1 */ bl __nw__FUlPCcPCc /* 800D16D0 000CE630 7C 7D 1B 79 */ or. r29, r3, r3 /* 800D16D4 000CE634 41 82 00 DC */ beq lbl_800D17B0 /* 800D16D8 000CE638 81 41 00 3C */ lwz r10, 0x3c(r1) /* 800D16DC 000CE63C 38 A0 00 01 */ li r5, 1 /* 800D16E0 000CE640 81 21 00 40 */ lwz r9, 0x40(r1) /* 800D16E4 000CE644 38 61 01 18 */ addi r3, r1, 0x118 /* 800D16E8 000CE648 81 01 00 44 */ lwz r8, 0x44(r1) /* 800D16EC 000CE64C 38 81 00 64 */ addi r4, r1, 0x64 /* 800D16F0 000CE650 80 E1 03 20 */ lwz r7, 0x320(r1) /* 800D16F4 000CE654 80 C1 03 24 */ lwz r6, 0x324(r1) /* 800D16F8 000CE658 C0 41 00 48 */ lfs f2, 0x48(r1) /* 800D16FC 000CE65C C0 21 00 4C */ lfs f1, 0x4c(r1) /* 800D1700 000CE660 C0 01 00 50 */ lfs f0, 0x50(r1) /* 800D1704 000CE664 80 01 03 28 */ lwz r0, 0x328(r1) /* 800D1708 000CE668 91 41 00 30 */ stw r10, 0x30(r1) /* 800D170C 000CE66C 91 21 00 34 */ stw r9, 0x34(r1) /* 800D1710 000CE670 91 01 00 38 */ stw r8, 0x38(r1) /* 800D1714 000CE674 90 E1 00 64 */ stw r7, 0x64(r1) /* 800D1718 000CE678 90 C1 00 68 */ stw r6, 0x68(r1) /* 800D171C 000CE67C D0 41 00 6C */ stfs f2, 0x6c(r1) /* 800D1720 000CE680 D0 21 00 70 */ stfs f1, 0x70(r1) /* 800D1724 000CE684 D0 01 00 74 */ stfs f0, 0x74(r1) /* 800D1728 000CE688 98 A1 00 78 */ stb r5, 0x78(r1) /* 800D172C 000CE68C 90 01 00 7C */ stw r0, 0x7c(r1) /* 800D1730 000CE690 48 04 54 25 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D1734 000CE694 7F 64 DB 78 */ mr r4, r27 /* 800D1738 000CE698 38 61 00 20 */ addi r3, r1, 0x20 /* 800D173C 000CE69C 3B 40 00 01 */ li r26, 1 /* 800D1740 000CE6A0 4B F7 B9 9D */ bl AllocateUniqueId__13CStateManagerFv /* 800D1744 000CE6A4 A0 01 00 20 */ lhz r0, 0x20(r1) /* 800D1748 000CE6A8 38 C1 01 CC */ addi r6, r1, 0x1cc /* 800D174C 000CE6AC 38 A1 00 30 */ addi r5, r1, 0x30 /* 800D1750 000CE6B0 38 81 00 9C */ addi r4, r1, 0x9c /* 800D1754 000CE6B4 B0 01 00 24 */ sth r0, 0x24(r1) /* 800D1758 000CE6B8 38 01 00 80 */ addi r0, r1, 0x80 /* 800D175C 000CE6BC FC 20 F8 90 */ fmr f1, f31 /* 800D1760 000CE6C0 7F A3 EB 78 */ mr r3, r29 /* 800D1764 000CE6C4 90 C1 00 08 */ stw r6, 8(r1) /* 800D1768 000CE6C8 FC 40 F0 90 */ fmr f2, f30 /* 800D176C 000CE6CC FC 60 E8 90 */ fmr f3, f29 /* 800D1770 000CE6D0 7F C6 F3 78 */ mr r6, r30 /* 800D1774 000CE6D4 90 A1 00 0C */ stw r5, 0xc(r1) /* 800D1778 000CE6D8 FC 80 E0 90 */ fmr f4, f28 /* 800D177C 000CE6DC FC A0 D8 90 */ fmr f5, f27 /* 800D1780 000CE6E0 7F 87 E3 78 */ mr r7, r28 /* 800D1784 000CE6E4 90 81 00 10 */ stw r4, 0x10(r1) /* 800D1788 000CE6E8 FC C0 D0 90 */ fmr f6, f26 /* 800D178C 000CE6EC 38 81 00 24 */ addi r4, r1, 0x24 /* 800D1790 000CE6F0 90 01 00 14 */ stw r0, 0x14(r1) /* 800D1794 000CE6F4 38 A1 00 54 */ addi r5, r1, 0x54 /* 800D1798 000CE6F8 39 01 00 E8 */ addi r8, r1, 0xe8 /* 800D179C 000CE6FC 93 E1 00 18 */ stw r31, 0x18(r1) /* 800D17A0 000CE700 39 21 01 18 */ addi r9, r1, 0x118 /* 800D17A4 000CE704 39 41 02 34 */ addi r10, r1, 0x234 /* 800D17A8 000CE708 48 07 B4 89 */ bl "__ct__16CPuddleToadGammaF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersfff9CVector3ffffRC11CDamageInfoRC11CDamageInfo" /* 800D17AC 000CE70C 7C 7D 1B 78 */ mr r29, r3 lbl_800D17B0: /* 800D17B0 000CE710 7F 40 07 75 */ extsb. r0, r26 /* 800D17B4 000CE714 41 82 00 10 */ beq lbl_800D17C4 /* 800D17B8 000CE718 38 61 01 18 */ addi r3, r1, 0x118 /* 800D17BC 000CE71C 38 80 FF FF */ li r4, -1 /* 800D17C0 000CE720 48 04 52 8D */ bl __dt__10CModelDataFv lbl_800D17C4: /* 800D17C4 000CE724 38 61 01 CC */ addi r3, r1, 0x1cc /* 800D17C8 000CE728 38 80 FF FF */ li r4, -1 /* 800D17CC 000CE72C 48 03 4E 3D */ bl __dt__16CLightParametersFv /* 800D17D0 000CE730 38 61 00 54 */ addi r3, r1, 0x54 /* 800D17D4 000CE734 48 26 C3 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D17D8 000CE738 7F A3 EB 78 */ mr r3, r29 lbl_800D17DC: /* 800D17DC 000CE73C E3 E1 03 E8 */ psq_l f31, 1000(r1), 0, qr0 /* 800D17E0 000CE740 CB E1 03 E0 */ lfd f31, 0x3e0(r1) /* 800D17E4 000CE744 E3 C1 03 D8 */ psq_l f30, 984(r1), 0, qr0 /* 800D17E8 000CE748 CB C1 03 D0 */ lfd f30, 0x3d0(r1) /* 800D17EC 000CE74C E3 A1 03 C8 */ psq_l f29, 968(r1), 0, qr0 /* 800D17F0 000CE750 CB A1 03 C0 */ lfd f29, 0x3c0(r1) /* 800D17F4 000CE754 E3 81 03 B8 */ psq_l f28, 952(r1), 0, qr0 /* 800D17F8 000CE758 CB 81 03 B0 */ lfd f28, 0x3b0(r1) /* 800D17FC 000CE75C E3 61 03 A8 */ psq_l f27, 936(r1), 0, qr0 /* 800D1800 000CE760 CB 61 03 A0 */ lfd f27, 0x3a0(r1) /* 800D1804 000CE764 E3 41 03 98 */ psq_l f26, 920(r1), 0, qr0 /* 800D1808 000CE768 CB 41 03 90 */ lfd f26, 0x390(r1) /* 800D180C 000CE76C BB 41 03 78 */ lmw r26, 0x378(r1) /* 800D1810 000CE770 80 01 03 F4 */ lwz r0, 0x3f4(r1) /* 800D1814 000CE774 7C 08 03 A6 */ mtlr r0 /* 800D1818 000CE778 38 21 03 F0 */ addi r1, r1, 0x3f0 /* 800D181C 000CE77C 4E 80 00 20 */ blr .global LoadDebugCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadDebugCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D1820 000CE780 94 21 FF A0 */ stwu r1, -0x60(r1) /* 800D1824 000CE784 7C 08 02 A6 */ mflr r0 /* 800D1828 000CE788 2C 05 00 04 */ cmpwi r5, 4 /* 800D182C 000CE78C 90 01 00 64 */ stw r0, 0x64(r1) /* 800D1830 000CE790 93 E1 00 5C */ stw r31, 0x5c(r1) /* 800D1834 000CE794 93 C1 00 58 */ stw r30, 0x58(r1) /* 800D1838 000CE798 7C 9E 23 78 */ mr r30, r4 /* 800D183C 000CE79C 93 A1 00 54 */ stw r29, 0x54(r1) /* 800D1840 000CE7A0 7C DD 33 78 */ mr r29, r6 /* 800D1844 000CE7A4 93 81 00 50 */ stw r28, 0x50(r1) /* 800D1848 000CE7A8 7C 7C 1B 78 */ mr r28, r3 /* 800D184C 000CE7AC 41 82 00 0C */ beq lbl_800D1858 /* 800D1850 000CE7B0 38 60 00 00 */ li r3, 0 /* 800D1854 000CE7B4 48 00 00 7C */ b lbl_800D18D0 lbl_800D1858: /* 800D1858 000CE7B8 7F 85 E3 78 */ mr r5, r28 /* 800D185C 000CE7BC 38 61 00 10 */ addi r3, r1, 0x10 /* 800D1860 000CE7C0 48 00 8C 65 */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800D1864 000CE7C4 7F C3 F3 78 */ mr r3, r30 /* 800D1868 000CE7C8 48 26 D4 1D */ bl ReadLong__12CInputStreamFv /* 800D186C 000CE7CC 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D1870 000CE7D0 7C 7F 1B 78 */ mr r31, r3 /* 800D1874 000CE7D4 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D1878 000CE7D8 38 60 00 F0 */ li r3, 0xf0 /* 800D187C 000CE7DC 38 A0 00 00 */ li r5, 0 /* 800D1880 000CE7E0 38 84 00 0D */ addi r4, r4, 0xd /* 800D1884 000CE7E4 48 24 3F E9 */ bl __nw__FUlPCcPCc /* 800D1888 000CE7E8 7C 7E 1B 79 */ or. r30, r3, r3 /* 800D188C 000CE7EC 41 82 00 38 */ beq lbl_800D18C4 /* 800D1890 000CE7F0 7F 84 E3 78 */ mr r4, r28 /* 800D1894 000CE7F4 38 61 00 08 */ addi r3, r1, 8 /* 800D1898 000CE7F8 4B F7 B8 45 */ bl AllocateUniqueId__13CStateManagerFv /* 800D189C 000CE7FC A0 01 00 08 */ lhz r0, 8(r1) /* 800D18A0 000CE800 7F C3 F3 78 */ mr r3, r30 /* 800D18A4 000CE804 7F A6 EB 78 */ mr r6, r29 /* 800D18A8 000CE808 7F E8 FB 78 */ mr r8, r31 /* 800D18AC 000CE80C B0 01 00 0C */ sth r0, 0xc(r1) /* 800D18B0 000CE810 38 81 00 0C */ addi r4, r1, 0xc /* 800D18B4 000CE814 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D18B8 000CE818 38 E1 00 20 */ addi r7, r1, 0x20 /* 800D18BC 000CE81C 48 07 93 C1 */ bl "__ct__26CScriptDebugCameraWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUi" /* 800D18C0 000CE820 7C 7E 1B 78 */ mr r30, r3 lbl_800D18C4: /* 800D18C4 000CE824 38 61 00 10 */ addi r3, r1, 0x10 /* 800D18C8 000CE828 48 26 C2 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D18CC 000CE82C 7F C3 F3 78 */ mr r3, r30 lbl_800D18D0: /* 800D18D0 000CE830 80 01 00 64 */ lwz r0, 0x64(r1) /* 800D18D4 000CE834 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 800D18D8 000CE838 83 C1 00 58 */ lwz r30, 0x58(r1) /* 800D18DC 000CE83C 83 A1 00 54 */ lwz r29, 0x54(r1) /* 800D18E0 000CE840 83 81 00 50 */ lwz r28, 0x50(r1) /* 800D18E4 000CE844 7C 08 03 A6 */ mtlr r0 /* 800D18E8 000CE848 38 21 00 60 */ addi r1, r1, 0x60 /* 800D18EC 000CE84C 4E 80 00 20 */ blr .global LoadSpiderBallAttractionSurface__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadSpiderBallAttractionSurface__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D18F0 000CE850 94 21 FF 90 */ stwu r1, -0x70(r1) /* 800D18F4 000CE854 7C 08 02 A6 */ mflr r0 /* 800D18F8 000CE858 2C 05 00 05 */ cmpwi r5, 5 /* 800D18FC 000CE85C 90 01 00 74 */ stw r0, 0x74(r1) /* 800D1900 000CE860 93 E1 00 6C */ stw r31, 0x6c(r1) /* 800D1904 000CE864 93 C1 00 68 */ stw r30, 0x68(r1) /* 800D1908 000CE868 7C 9E 23 78 */ mr r30, r4 /* 800D190C 000CE86C 93 A1 00 64 */ stw r29, 0x64(r1) /* 800D1910 000CE870 7C DD 33 78 */ mr r29, r6 /* 800D1914 000CE874 93 81 00 60 */ stw r28, 0x60(r1) /* 800D1918 000CE878 7C 7C 1B 78 */ mr r28, r3 /* 800D191C 000CE87C 41 82 00 0C */ beq lbl_800D1928 /* 800D1920 000CE880 38 60 00 00 */ li r3, 0 /* 800D1924 000CE884 48 00 00 80 */ b lbl_800D19A4 lbl_800D1928: /* 800D1928 000CE888 7F 85 E3 78 */ mr r5, r28 /* 800D192C 000CE88C 38 61 00 10 */ addi r3, r1, 0x10 /* 800D1930 000CE890 48 00 8B 4D */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D1934 000CE894 7F C3 F3 78 */ mr r3, r30 /* 800D1938 000CE898 48 26 D3 A5 */ bl ReadBool__12CInputStreamFv /* 800D193C 000CE89C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D1940 000CE8A0 7C 7F 1B 78 */ mr r31, r3 /* 800D1944 000CE8A4 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D1948 000CE8A8 38 60 01 10 */ li r3, 0x110 /* 800D194C 000CE8AC 38 A0 00 00 */ li r5, 0 /* 800D1950 000CE8B0 38 84 00 0D */ addi r4, r4, 0xd /* 800D1954 000CE8B4 48 24 3F 19 */ bl __nw__FUlPCcPCc /* 800D1958 000CE8B8 7C 7E 1B 79 */ or. r30, r3, r3 /* 800D195C 000CE8BC 41 82 00 3C */ beq lbl_800D1998 /* 800D1960 000CE8C0 7F 84 E3 78 */ mr r4, r28 /* 800D1964 000CE8C4 38 61 00 08 */ addi r3, r1, 8 /* 800D1968 000CE8C8 4B F7 B7 75 */ bl AllocateUniqueId__13CStateManagerFv /* 800D196C 000CE8CC A0 01 00 08 */ lhz r0, 8(r1) /* 800D1970 000CE8D0 7F C3 F3 78 */ mr r3, r30 /* 800D1974 000CE8D4 7F A6 EB 78 */ mr r6, r29 /* 800D1978 000CE8D8 7F E9 FB 78 */ mr r9, r31 /* 800D197C 000CE8DC B0 01 00 0C */ sth r0, 0xc(r1) /* 800D1980 000CE8E0 38 81 00 0C */ addi r4, r1, 0xc /* 800D1984 000CE8E4 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D1988 000CE8E8 38 E1 00 20 */ addi r7, r1, 0x20 /* 800D198C 000CE8EC 39 01 00 50 */ addi r8, r1, 0x50 /* 800D1990 000CE8F0 48 07 95 8D */ bl "__ct__34CScriptSpiderBallAttractionSurfaceF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC9CVector3fb" /* 800D1994 000CE8F4 7C 7E 1B 78 */ mr r30, r3 lbl_800D1998: /* 800D1998 000CE8F8 38 61 00 10 */ addi r3, r1, 0x10 /* 800D199C 000CE8FC 48 26 C1 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D19A0 000CE900 7F C3 F3 78 */ mr r3, r30 lbl_800D19A4: /* 800D19A4 000CE904 80 01 00 74 */ lwz r0, 0x74(r1) /* 800D19A8 000CE908 83 E1 00 6C */ lwz r31, 0x6c(r1) /* 800D19AC 000CE90C 83 C1 00 68 */ lwz r30, 0x68(r1) /* 800D19B0 000CE910 83 A1 00 64 */ lwz r29, 0x64(r1) /* 800D19B4 000CE914 83 81 00 60 */ lwz r28, 0x60(r1) /* 800D19B8 000CE918 7C 08 03 A6 */ mtlr r0 /* 800D19BC 000CE91C 38 21 00 70 */ addi r1, r1, 0x70 /* 800D19C0 000CE920 4E 80 00 20 */ blr .global LoadPuddleSpore__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadPuddleSpore__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D19C4 000CE924 94 21 FC 50 */ stwu r1, -0x3b0(r1) /* 800D19C8 000CE928 7C 08 02 A6 */ mflr r0 /* 800D19CC 000CE92C 90 01 03 B4 */ stw r0, 0x3b4(r1) /* 800D19D0 000CE930 DB E1 03 A0 */ stfd f31, 0x3a0(r1) /* 800D19D4 000CE934 F3 E1 03 A8 */ psq_st f31, 936(r1), 0, qr0 /* 800D19D8 000CE938 DB C1 03 90 */ stfd f30, 0x390(r1) /* 800D19DC 000CE93C F3 C1 03 98 */ psq_st f30, 920(r1), 0, qr0 /* 800D19E0 000CE940 DB A1 03 80 */ stfd f29, 0x380(r1) /* 800D19E4 000CE944 F3 A1 03 88 */ psq_st f29, 904(r1), 0, qr0 /* 800D19E8 000CE948 DB 81 03 70 */ stfd f28, 0x370(r1) /* 800D19EC 000CE94C F3 81 03 78 */ psq_st f28, 888(r1), 0, qr0 /* 800D19F0 000CE950 DB 61 03 60 */ stfd f27, 0x360(r1) /* 800D19F4 000CE954 F3 61 03 68 */ psq_st f27, 872(r1), 0, qr0 /* 800D19F8 000CE958 BF 01 03 40 */ stmw r24, 0x340(r1) /* 800D19FC 000CE95C 2C 05 00 10 */ cmpwi r5, 0x10 /* 800D1A00 000CE960 7C 7A 1B 78 */ mr r26, r3 /* 800D1A04 000CE964 7C 9C 23 78 */ mr r28, r4 /* 800D1A08 000CE968 7C DB 33 78 */ mr r27, r6 /* 800D1A0C 000CE96C 41 82 00 0C */ beq lbl_800D1A18 /* 800D1A10 000CE970 38 60 00 00 */ li r3, 0 /* 800D1A14 000CE974 48 00 02 64 */ b lbl_800D1C78 lbl_800D1A18: /* 800D1A18 000CE978 4B F7 37 CD */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D1A1C 000CE97C 7C 64 1B 78 */ mr r4, r3 /* 800D1A20 000CE980 38 61 00 3C */ addi r3, r1, 0x3c /* 800D1A24 000CE984 48 26 C7 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D1A28 000CE988 7F 83 E3 78 */ mr r3, r28 /* 800D1A2C 000CE98C 48 26 D2 59 */ bl ReadLong__12CInputStreamFv /* 800D1A30 000CE990 7C 7D 1B 78 */ mr r29, r3 /* 800D1A34 000CE994 7F 84 E3 78 */ mr r4, r28 /* 800D1A38 000CE998 38 61 00 84 */ addi r3, r1, 0x84 /* 800D1A3C 000CE99C 48 00 8B 51 */ bl LoadEditorTransform__FR12CInputStream /* 800D1A40 000CE9A0 38 61 00 B4 */ addi r3, r1, 0xb4 /* 800D1A44 000CE9A4 38 81 00 84 */ addi r4, r1, 0x84 /* 800D1A48 000CE9A8 48 24 11 2D */ bl __ct__12CTransform4fFRC12CTransform4f /* 800D1A4C 000CE9AC 7F 84 E3 78 */ mr r4, r28 /* 800D1A50 000CE9B0 38 61 00 30 */ addi r3, r1, 0x30 /* 800D1A54 000CE9B4 48 24 31 39 */ bl __ct__9CVector3fFR12CInputStream /* 800D1A58 000CE9B8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D1A5C 000CE9BC 7F 84 E3 78 */ mr r4, r28 /* 800D1A60 000CE9C0 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800D1A64 000CE9C4 38 61 00 28 */ addi r3, r1, 0x28 /* 800D1A68 000CE9C8 38 A5 01 54 */ addi r5, r5, 0x154 /* 800D1A6C 000CE9CC 48 03 3D BD */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800D1A70 000CE9D0 88 01 00 28 */ lbz r0, 0x28(r1) /* 800D1A74 000CE9D4 80 A1 00 2C */ lwz r5, 0x2c(r1) /* 800D1A78 000CE9D8 28 00 00 00 */ cmplwi r0, 0 /* 800D1A7C 000CE9DC 40 82 00 14 */ bne lbl_800D1A90 /* 800D1A80 000CE9E0 38 61 00 3C */ addi r3, r1, 0x3c /* 800D1A84 000CE9E4 48 26 C0 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D1A88 000CE9E8 38 60 00 00 */ li r3, 0 /* 800D1A8C 000CE9EC 48 00 01 EC */ b lbl_800D1C78 lbl_800D1A90: /* 800D1A90 000CE9F0 7F 84 E3 78 */ mr r4, r28 /* 800D1A94 000CE9F4 38 61 02 00 */ addi r3, r1, 0x200 /* 800D1A98 000CE9F8 48 03 3D E1 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800D1A9C 000CE9FC 7F 84 E3 78 */ mr r4, r28 /* 800D1AA0 000CEA00 38 61 01 30 */ addi r3, r1, 0x130 /* 800D1AA4 000CEA04 48 00 82 D1 */ bl LoadActorParameters__FR12CInputStream /* 800D1AA8 000CEA08 38 61 01 98 */ addi r3, r1, 0x198 /* 800D1AAC 000CEA0C 38 81 01 30 */ addi r4, r1, 0x130 /* 800D1AB0 000CEA10 4B FF 3B 6D */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D1AB4 000CEA14 38 61 01 30 */ addi r3, r1, 0x130 /* 800D1AB8 000CEA18 38 80 FF FF */ li r4, -1 /* 800D1ABC 000CEA1C 48 03 4B 4D */ bl __dt__16CLightParametersFv /* 800D1AC0 000CEA20 7F 83 E3 78 */ mr r3, r28 /* 800D1AC4 000CEA24 48 26 D2 19 */ bl ReadBool__12CInputStreamFv /* 800D1AC8 000CEA28 7C 79 1B 78 */ mr r25, r3 /* 800D1ACC 000CEA2C 7F 83 E3 78 */ mr r3, r28 /* 800D1AD0 000CEA30 48 26 D1 B5 */ bl ReadLong__12CInputStreamFv /* 800D1AD4 000CEA34 7C 7E 1B 78 */ mr r30, r3 /* 800D1AD8 000CEA38 7F 83 E3 78 */ mr r3, r28 /* 800D1ADC 000CEA3C 48 26 D1 4D */ bl ReadFloat__12CInputStreamFv /* 800D1AE0 000CEA40 FF E0 08 90 */ fmr f31, f1 /* 800D1AE4 000CEA44 7F 83 E3 78 */ mr r3, r28 /* 800D1AE8 000CEA48 48 26 D1 41 */ bl ReadFloat__12CInputStreamFv /* 800D1AEC 000CEA4C FF C0 08 90 */ fmr f30, f1 /* 800D1AF0 000CEA50 7F 83 E3 78 */ mr r3, r28 /* 800D1AF4 000CEA54 48 26 D1 35 */ bl ReadFloat__12CInputStreamFv /* 800D1AF8 000CEA58 FF A0 08 90 */ fmr f29, f1 /* 800D1AFC 000CEA5C 7F 83 E3 78 */ mr r3, r28 /* 800D1B00 000CEA60 48 26 D1 29 */ bl ReadFloat__12CInputStreamFv /* 800D1B04 000CEA64 FF 80 08 90 */ fmr f28, f1 /* 800D1B08 000CEA68 7F 83 E3 78 */ mr r3, r28 /* 800D1B0C 000CEA6C 48 26 D1 1D */ bl ReadFloat__12CInputStreamFv /* 800D1B10 000CEA70 FF 60 08 90 */ fmr f27, f1 /* 800D1B14 000CEA74 7F 83 E3 78 */ mr r3, r28 /* 800D1B18 000CEA78 48 26 D1 6D */ bl ReadLong__12CInputStreamFv /* 800D1B1C 000CEA7C 7C 7F 1B 78 */ mr r31, r3 /* 800D1B20 000CEA80 7F 84 E3 78 */ mr r4, r28 /* 800D1B24 000CEA84 38 61 00 68 */ addi r3, r1, 0x68 /* 800D1B28 000CEA88 4B FF 1A 39 */ bl __ct__11CDamageInfoFR12CInputStream /* 800D1B2C 000CEA8C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 800D1B30 000CEA90 80 81 02 EC */ lwz r4, 0x2ec(r1) /* 800D1B34 000CEA94 38 63 00 04 */ addi r3, r3, 4 /* 800D1B38 000CEA98 48 26 A1 95 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D1B3C 000CEA9C 3C 03 BE B2 */ addis r0, r3, 0xbeb2 /* 800D1B40 000CEAA0 28 00 43 53 */ cmplwi r0, 0x4353 /* 800D1B44 000CEAA4 41 82 00 20 */ beq lbl_800D1B64 /* 800D1B48 000CEAA8 38 61 01 98 */ addi r3, r1, 0x198 /* 800D1B4C 000CEAAC 38 80 FF FF */ li r4, -1 /* 800D1B50 000CEAB0 48 03 4A B9 */ bl __dt__16CLightParametersFv /* 800D1B54 000CEAB4 38 61 00 3C */ addi r3, r1, 0x3c /* 800D1B58 000CEAB8 48 26 BF 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D1B5C 000CEABC 38 60 00 00 */ li r3, 0 /* 800D1B60 000CEAC0 48 00 01 18 */ b lbl_800D1C78 lbl_800D1B64: /* 800D1B64 000CEAC4 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D1B68 000CEAC8 3B 00 00 00 */ li r24, 0 /* 800D1B6C 000CEACC 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D1B70 000CEAD0 38 60 06 18 */ li r3, 0x618 /* 800D1B74 000CEAD4 38 84 00 0D */ addi r4, r4, 0xd /* 800D1B78 000CEAD8 38 A0 00 00 */ li r5, 0 /* 800D1B7C 000CEADC 48 24 3C F1 */ bl __nw__FUlPCcPCc /* 800D1B80 000CEAE0 7C 7C 1B 79 */ or. r28, r3, r3 /* 800D1B84 000CEAE4 41 82 00 C8 */ beq lbl_800D1C4C /* 800D1B88 000CEAE8 57 23 06 3E */ clrlwi r3, r25, 0x18 /* 800D1B8C 000CEAEC 80 81 02 EC */ lwz r4, 0x2ec(r1) /* 800D1B90 000CEAF0 80 C1 02 F0 */ lwz r6, 0x2f0(r1) /* 800D1B94 000CEAF4 7C 03 00 D0 */ neg r0, r3 /* 800D1B98 000CEAF8 C0 41 00 30 */ lfs f2, 0x30(r1) /* 800D1B9C 000CEAFC 38 A0 00 01 */ li r5, 1 /* 800D1BA0 000CEB00 C0 21 00 34 */ lfs f1, 0x34(r1) /* 800D1BA4 000CEB04 7C 00 1B 78 */ or r0, r0, r3 /* 800D1BA8 000CEB08 C0 01 00 38 */ lfs f0, 0x38(r1) /* 800D1BAC 000CEB0C 54 19 0F FE */ srwi r25, r0, 0x1f /* 800D1BB0 000CEB10 80 01 02 F4 */ lwz r0, 0x2f4(r1) /* 800D1BB4 000CEB14 38 61 00 E4 */ addi r3, r1, 0xe4 /* 800D1BB8 000CEB18 90 81 00 4C */ stw r4, 0x4c(r1) /* 800D1BBC 000CEB1C 38 81 00 4C */ addi r4, r1, 0x4c /* 800D1BC0 000CEB20 90 C1 00 50 */ stw r6, 0x50(r1) /* 800D1BC4 000CEB24 D0 41 00 54 */ stfs f2, 0x54(r1) /* 800D1BC8 000CEB28 D0 21 00 58 */ stfs f1, 0x58(r1) /* 800D1BCC 000CEB2C D0 01 00 5C */ stfs f0, 0x5c(r1) /* 800D1BD0 000CEB30 98 A1 00 60 */ stb r5, 0x60(r1) /* 800D1BD4 000CEB34 90 01 00 64 */ stw r0, 0x64(r1) /* 800D1BD8 000CEB38 48 04 4F 7D */ bl __ct__10CModelDataFRC8CAnimRes /* 800D1BDC 000CEB3C 7F 44 D3 78 */ mr r4, r26 /* 800D1BE0 000CEB40 38 61 00 20 */ addi r3, r1, 0x20 /* 800D1BE4 000CEB44 3B 00 00 01 */ li r24, 1 /* 800D1BE8 000CEB48 4B F7 B4 F5 */ bl AllocateUniqueId__13CStateManagerFv /* 800D1BEC 000CEB4C A0 61 00 20 */ lhz r3, 0x20(r1) /* 800D1BF0 000CEB50 38 A1 01 98 */ addi r5, r1, 0x198 /* 800D1BF4 000CEB54 FC 20 F8 90 */ fmr f1, f31 /* 800D1BF8 000CEB58 38 01 00 68 */ addi r0, r1, 0x68 /* 800D1BFC 000CEB5C B0 61 00 24 */ sth r3, 0x24(r1) /* 800D1C00 000CEB60 FC 40 F0 90 */ fmr f2, f30 /* 800D1C04 000CEB64 FC 60 E8 90 */ fmr f3, f29 /* 800D1C08 000CEB68 7F 83 E3 78 */ mr r3, r28 /* 800D1C0C 000CEB6C 93 21 00 08 */ stw r25, 8(r1) /* 800D1C10 000CEB70 FC 80 E0 90 */ fmr f4, f28 /* 800D1C14 000CEB74 FC A0 D8 90 */ fmr f5, f27 /* 800D1C18 000CEB78 7F A6 EB 78 */ mr r6, r29 /* 800D1C1C 000CEB7C 93 C1 00 0C */ stw r30, 0xc(r1) /* 800D1C20 000CEB80 7F 67 DB 78 */ mr r7, r27 /* 800D1C24 000CEB84 38 81 00 24 */ addi r4, r1, 0x24 /* 800D1C28 000CEB88 90 A1 00 10 */ stw r5, 0x10(r1) /* 800D1C2C 000CEB8C 38 A1 00 3C */ addi r5, r1, 0x3c /* 800D1C30 000CEB90 39 01 00 B4 */ addi r8, r1, 0xb4 /* 800D1C34 000CEB94 93 E1 00 14 */ stw r31, 0x14(r1) /* 800D1C38 000CEB98 39 21 00 E4 */ addi r9, r1, 0xe4 /* 800D1C3C 000CEB9C 39 41 02 00 */ addi r10, r1, 0x200 /* 800D1C40 000CEBA0 90 01 00 18 */ stw r0, 0x18(r1) /* 800D1C44 000CEBA4 48 07 67 4D */ bl "__ct__12CPuddleSporeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EColliderTypeUifffffRC16CActorParametersUiRC11CDamageInfo" /* 800D1C48 000CEBA8 7C 7C 1B 78 */ mr r28, r3 lbl_800D1C4C: /* 800D1C4C 000CEBAC 7F 00 07 75 */ extsb. r0, r24 /* 800D1C50 000CEBB0 41 82 00 10 */ beq lbl_800D1C60 /* 800D1C54 000CEBB4 38 61 00 E4 */ addi r3, r1, 0xe4 /* 800D1C58 000CEBB8 38 80 FF FF */ li r4, -1 /* 800D1C5C 000CEBBC 48 04 4D F1 */ bl __dt__10CModelDataFv lbl_800D1C60: /* 800D1C60 000CEBC0 38 61 01 98 */ addi r3, r1, 0x198 /* 800D1C64 000CEBC4 38 80 FF FF */ li r4, -1 /* 800D1C68 000CEBC8 48 03 49 A1 */ bl __dt__16CLightParametersFv /* 800D1C6C 000CEBCC 38 61 00 3C */ addi r3, r1, 0x3c /* 800D1C70 000CEBD0 48 26 BE 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D1C74 000CEBD4 7F 83 E3 78 */ mr r3, r28 lbl_800D1C78: /* 800D1C78 000CEBD8 E3 E1 03 A8 */ psq_l f31, 936(r1), 0, qr0 /* 800D1C7C 000CEBDC CB E1 03 A0 */ lfd f31, 0x3a0(r1) /* 800D1C80 000CEBE0 E3 C1 03 98 */ psq_l f30, 920(r1), 0, qr0 /* 800D1C84 000CEBE4 CB C1 03 90 */ lfd f30, 0x390(r1) /* 800D1C88 000CEBE8 E3 A1 03 88 */ psq_l f29, 904(r1), 0, qr0 /* 800D1C8C 000CEBEC CB A1 03 80 */ lfd f29, 0x380(r1) /* 800D1C90 000CEBF0 E3 81 03 78 */ psq_l f28, 888(r1), 0, qr0 /* 800D1C94 000CEBF4 CB 81 03 70 */ lfd f28, 0x370(r1) /* 800D1C98 000CEBF8 E3 61 03 68 */ psq_l f27, 872(r1), 0, qr0 /* 800D1C9C 000CEBFC CB 61 03 60 */ lfd f27, 0x360(r1) /* 800D1CA0 000CEC00 BB 01 03 40 */ lmw r24, 0x340(r1) /* 800D1CA4 000CEC04 80 01 03 B4 */ lwz r0, 0x3b4(r1) /* 800D1CA8 000CEC08 7C 08 03 A6 */ mtlr r0 /* 800D1CAC 000CEC0C 38 21 03 B0 */ addi r1, r1, 0x3b0 /* 800D1CB0 000CEC10 4E 80 00 20 */ blr .global LoadChozoGhost__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadChozoGhost__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D1CB4 000CEC14 94 21 FB 70 */ stwu r1, -0x490(r1) /* 800D1CB8 000CEC18 7C 08 02 A6 */ mflr r0 /* 800D1CBC 000CEC1C 90 01 04 94 */ stw r0, 0x494(r1) /* 800D1CC0 000CEC20 DB E1 04 80 */ stfd f31, 0x480(r1) /* 800D1CC4 000CEC24 F3 E1 04 88 */ psq_st f31, 1160(r1), 0, qr0 /* 800D1CC8 000CEC28 DB C1 04 70 */ stfd f30, 0x470(r1) /* 800D1CCC 000CEC2C F3 C1 04 78 */ psq_st f30, 1144(r1), 0, qr0 /* 800D1CD0 000CEC30 DB A1 04 60 */ stfd f29, 0x460(r1) /* 800D1CD4 000CEC34 F3 A1 04 68 */ psq_st f29, 1128(r1), 0, qr0 /* 800D1CD8 000CEC38 DB 81 04 50 */ stfd f28, 0x450(r1) /* 800D1CDC 000CEC3C F3 81 04 58 */ psq_st f28, 1112(r1), 0, qr0 /* 800D1CE0 000CEC40 DB 61 04 40 */ stfd f27, 0x440(r1) /* 800D1CE4 000CEC44 F3 61 04 48 */ psq_st f27, 1096(r1), 0, qr0 /* 800D1CE8 000CEC48 DB 41 04 30 */ stfd f26, 0x430(r1) /* 800D1CEC 000CEC4C F3 41 04 38 */ psq_st f26, 1080(r1), 0, qr0 /* 800D1CF0 000CEC50 DB 21 04 20 */ stfd f25, 0x420(r1) /* 800D1CF4 000CEC54 F3 21 04 28 */ psq_st f25, 1064(r1), 0, qr0 /* 800D1CF8 000CEC58 DB 01 04 10 */ stfd f24, 0x410(r1) /* 800D1CFC 000CEC5C F3 01 04 18 */ psq_st f24, 1048(r1), 0, qr0 /* 800D1D00 000CEC60 DA E1 04 00 */ stfd f23, 0x400(r1) /* 800D1D04 000CEC64 F2 E1 04 08 */ psq_st f23, 1032(r1), 0, qr0 /* 800D1D08 000CEC68 BE 21 03 C4 */ stmw r17, 0x3c4(r1) /* 800D1D0C 000CEC6C 2C 05 00 1F */ cmpwi r5, 0x1f /* 800D1D10 000CEC70 7C 72 1B 78 */ mr r18, r3 /* 800D1D14 000CEC74 7C 91 23 78 */ mr r17, r4 /* 800D1D18 000CEC78 7C D3 33 78 */ mr r19, r6 /* 800D1D1C 000CEC7C 41 82 00 0C */ beq lbl_800D1D28 /* 800D1D20 000CEC80 38 60 00 00 */ li r3, 0 /* 800D1D24 000CEC84 48 00 03 48 */ b lbl_800D206C lbl_800D1D28: /* 800D1D28 000CEC88 7E 45 93 78 */ mr r5, r18 /* 800D1D2C 000CEC8C 38 61 02 30 */ addi r3, r1, 0x230 /* 800D1D30 000CEC90 48 00 87 4D */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D1D34 000CEC94 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D1D38 000CEC98 7E 24 8B 78 */ mr r4, r17 /* 800D1D3C 000CEC9C 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800D1D40 000CECA0 38 61 00 58 */ addi r3, r1, 0x58 /* 800D1D44 000CECA4 38 A5 01 61 */ addi r5, r5, 0x161 /* 800D1D48 000CECA8 48 03 3A E1 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800D1D4C 000CECAC 88 01 00 58 */ lbz r0, 0x58(r1) /* 800D1D50 000CECB0 80 A1 00 5C */ lwz r5, 0x5c(r1) /* 800D1D54 000CECB4 28 00 00 00 */ cmplwi r0, 0 /* 800D1D58 000CECB8 40 82 00 14 */ bne lbl_800D1D6C /* 800D1D5C 000CECBC 38 61 02 30 */ addi r3, r1, 0x230 /* 800D1D60 000CECC0 48 26 BD 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D1D64 000CECC4 38 60 00 00 */ li r3, 0 /* 800D1D68 000CECC8 48 00 03 04 */ b lbl_800D206C lbl_800D1D6C: /* 800D1D6C 000CECCC 7E 24 8B 78 */ mr r4, r17 /* 800D1D70 000CECD0 38 61 02 7C */ addi r3, r1, 0x27c /* 800D1D74 000CECD4 48 03 3B 05 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800D1D78 000CECD8 7E 24 8B 78 */ mr r4, r17 /* 800D1D7C 000CECDC 38 61 01 60 */ addi r3, r1, 0x160 /* 800D1D80 000CECE0 48 00 7F F5 */ bl LoadActorParameters__FR12CInputStream /* 800D1D84 000CECE4 38 61 01 C8 */ addi r3, r1, 0x1c8 /* 800D1D88 000CECE8 38 81 01 60 */ addi r4, r1, 0x160 /* 800D1D8C 000CECEC 4B FF 38 91 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D1D90 000CECF0 38 61 01 60 */ addi r3, r1, 0x160 /* 800D1D94 000CECF4 38 80 FF FF */ li r4, -1 /* 800D1D98 000CECF8 48 03 48 71 */ bl __dt__16CLightParametersFv /* 800D1D9C 000CECFC 7E 23 8B 78 */ mr r3, r17 /* 800D1DA0 000CED00 48 26 CE 89 */ bl ReadFloat__12CInputStreamFv /* 800D1DA4 000CED04 FF C0 08 90 */ fmr f30, f1 /* 800D1DA8 000CED08 7E 23 8B 78 */ mr r3, r17 /* 800D1DAC 000CED0C 48 26 CE 7D */ bl ReadFloat__12CInputStreamFv /* 800D1DB0 000CED10 FF A0 08 90 */ fmr f29, f1 /* 800D1DB4 000CED14 7E 23 8B 78 */ mr r3, r17 /* 800D1DB8 000CED18 48 26 CE 71 */ bl ReadFloat__12CInputStreamFv /* 800D1DBC 000CED1C FF 80 08 90 */ fmr f28, f1 /* 800D1DC0 000CED20 7E 23 8B 78 */ mr r3, r17 /* 800D1DC4 000CED24 48 26 CE 65 */ bl ReadFloat__12CInputStreamFv /* 800D1DC8 000CED28 FF 60 08 90 */ fmr f27, f1 /* 800D1DCC 000CED2C 7E 23 8B 78 */ mr r3, r17 /* 800D1DD0 000CED30 48 26 CE B5 */ bl ReadLong__12CInputStreamFv /* 800D1DD4 000CED34 7C 75 1B 78 */ mr r21, r3 /* 800D1DD8 000CED38 7E 24 8B 78 */ mr r4, r17 /* 800D1DDC 000CED3C 38 61 00 F8 */ addi r3, r1, 0xf8 /* 800D1DE0 000CED40 4B FF 17 81 */ bl __ct__11CDamageInfoFR12CInputStream /* 800D1DE4 000CED44 7E 23 8B 78 */ mr r3, r17 /* 800D1DE8 000CED48 48 26 CE 9D */ bl ReadLong__12CInputStreamFv /* 800D1DEC 000CED4C 7C 76 1B 78 */ mr r22, r3 /* 800D1DF0 000CED50 7E 24 8B 78 */ mr r4, r17 /* 800D1DF4 000CED54 38 61 00 DC */ addi r3, r1, 0xdc /* 800D1DF8 000CED58 4B FF 17 69 */ bl __ct__11CDamageInfoFR12CInputStream /* 800D1DFC 000CED5C 7E 24 8B 78 */ mr r4, r17 /* 800D1E00 000CED60 38 61 00 BC */ addi r3, r1, 0xbc /* 800D1E04 000CED64 48 07 09 A5 */ bl __ct__Q211CChozoGhost13CBehaveChanceFR12CInputStream /* 800D1E08 000CED68 7E 24 8B 78 */ mr r4, r17 /* 800D1E0C 000CED6C 38 61 00 9C */ addi r3, r1, 0x9c /* 800D1E10 000CED70 48 07 09 99 */ bl __ct__Q211CChozoGhost13CBehaveChanceFR12CInputStream /* 800D1E14 000CED74 7E 24 8B 78 */ mr r4, r17 /* 800D1E18 000CED78 38 61 00 7C */ addi r3, r1, 0x7c /* 800D1E1C 000CED7C 48 07 09 8D */ bl __ct__Q211CChozoGhost13CBehaveChanceFR12CInputStream /* 800D1E20 000CED80 7E 23 8B 78 */ mr r3, r17 /* 800D1E24 000CED84 48 26 CE 61 */ bl ReadLong__12CInputStreamFv /* 800D1E28 000CED88 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 800D1E2C 000CED8C 48 21 6B 85 */ bl TranslateSFXID__11CSfxManagerFUs /* 800D1E30 000CED90 7C 77 1B 78 */ mr r23, r3 /* 800D1E34 000CED94 7E 23 8B 78 */ mr r3, r17 /* 800D1E38 000CED98 48 26 CD F1 */ bl ReadFloat__12CInputStreamFv /* 800D1E3C 000CED9C FF 40 08 90 */ fmr f26, f1 /* 800D1E40 000CEDA0 7E 23 8B 78 */ mr r3, r17 /* 800D1E44 000CEDA4 48 26 CE 41 */ bl ReadLong__12CInputStreamFv /* 800D1E48 000CEDA8 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 800D1E4C 000CEDAC 48 21 6B 65 */ bl TranslateSFXID__11CSfxManagerFUs /* 800D1E50 000CEDB0 7C 78 1B 78 */ mr r24, r3 /* 800D1E54 000CEDB4 7E 23 8B 78 */ mr r3, r17 /* 800D1E58 000CEDB8 48 26 CE 2D */ bl ReadLong__12CInputStreamFv /* 800D1E5C 000CEDBC 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 800D1E60 000CEDC0 48 21 6B 51 */ bl TranslateSFXID__11CSfxManagerFUs /* 800D1E64 000CEDC4 7C 79 1B 78 */ mr r25, r3 /* 800D1E68 000CEDC8 7E 23 8B 78 */ mr r3, r17 /* 800D1E6C 000CEDCC 48 26 CE 19 */ bl ReadLong__12CInputStreamFv /* 800D1E70 000CEDD0 7C 7A 1B 78 */ mr r26, r3 /* 800D1E74 000CEDD4 7E 23 8B 78 */ mr r3, r17 /* 800D1E78 000CEDD8 48 26 CD B1 */ bl ReadFloat__12CInputStreamFv /* 800D1E7C 000CEDDC FF 20 08 90 */ fmr f25, f1 /* 800D1E80 000CEDE0 7E 23 8B 78 */ mr r3, r17 /* 800D1E84 000CEDE4 48 26 CE 01 */ bl ReadLong__12CInputStreamFv /* 800D1E88 000CEDE8 7C 7B 1B 78 */ mr r27, r3 /* 800D1E8C 000CEDEC 7E 23 8B 78 */ mr r3, r17 /* 800D1E90 000CEDF0 48 26 CD 99 */ bl ReadFloat__12CInputStreamFv /* 800D1E94 000CEDF4 FF 00 08 90 */ fmr f24, f1 /* 800D1E98 000CEDF8 7E 23 8B 78 */ mr r3, r17 /* 800D1E9C 000CEDFC 48 26 CD E9 */ bl ReadLong__12CInputStreamFv /* 800D1EA0 000CEE00 7C 7C 1B 78 */ mr r28, r3 /* 800D1EA4 000CEE04 7E 23 8B 78 */ mr r3, r17 /* 800D1EA8 000CEE08 48 26 CD DD */ bl ReadLong__12CInputStreamFv /* 800D1EAC 000CEE0C 54 63 04 3E */ clrlwi r3, r3, 0x10 /* 800D1EB0 000CEE10 48 21 6B 01 */ bl TranslateSFXID__11CSfxManagerFUs /* 800D1EB4 000CEE14 7C 7D 1B 78 */ mr r29, r3 /* 800D1EB8 000CEE18 7E 23 8B 78 */ mr r3, r17 /* 800D1EBC 000CEE1C 48 26 CD 6D */ bl ReadFloat__12CInputStreamFv /* 800D1EC0 000CEE20 FE E0 08 90 */ fmr f23, f1 /* 800D1EC4 000CEE24 7E 23 8B 78 */ mr r3, r17 /* 800D1EC8 000CEE28 48 26 CD 61 */ bl ReadFloat__12CInputStreamFv /* 800D1ECC 000CEE2C FF E0 08 90 */ fmr f31, f1 /* 800D1ED0 000CEE30 7E 23 8B 78 */ mr r3, r17 /* 800D1ED4 000CEE34 48 26 CD B1 */ bl ReadLong__12CInputStreamFv /* 800D1ED8 000CEE38 7C 7E 1B 78 */ mr r30, r3 /* 800D1EDC 000CEE3C 7E 23 8B 78 */ mr r3, r17 /* 800D1EE0 000CEE40 48 26 CD A5 */ bl ReadLong__12CInputStreamFv /* 800D1EE4 000CEE44 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800D1EE8 000CEE48 7C 7F 1B 78 */ mr r31, r3 /* 800D1EEC 000CEE4C 80 81 03 68 */ lwz r4, 0x368(r1) /* 800D1EF0 000CEE50 38 65 00 04 */ addi r3, r5, 4 /* 800D1EF4 000CEE54 48 26 9D D9 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D1EF8 000CEE58 3C 03 BE B2 */ addis r0, r3, 0xbeb2 /* 800D1EFC 000CEE5C 28 00 43 53 */ cmplwi r0, 0x4353 /* 800D1F00 000CEE60 41 82 00 20 */ beq lbl_800D1F20 /* 800D1F04 000CEE64 38 61 01 C8 */ addi r3, r1, 0x1c8 /* 800D1F08 000CEE68 38 80 FF FF */ li r4, -1 /* 800D1F0C 000CEE6C 48 03 46 FD */ bl __dt__16CLightParametersFv /* 800D1F10 000CEE70 38 61 02 30 */ addi r3, r1, 0x230 /* 800D1F14 000CEE74 48 26 BB CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D1F18 000CEE78 38 60 00 00 */ li r3, 0 /* 800D1F1C 000CEE7C 48 00 01 50 */ b lbl_800D206C lbl_800D1F20: /* 800D1F20 000CEE80 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D1F24 000CEE84 3A 20 00 00 */ li r17, 0 /* 800D1F28 000CEE88 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D1F2C 000CEE8C 38 60 06 E0 */ li r3, 0x6e0 /* 800D1F30 000CEE90 38 84 00 0D */ addi r4, r4, 0xd /* 800D1F34 000CEE94 38 A0 00 00 */ li r5, 0 /* 800D1F38 000CEE98 48 24 39 35 */ bl __nw__FUlPCcPCc /* 800D1F3C 000CEE9C 7C 74 1B 79 */ or. r20, r3, r3 /* 800D1F40 000CEEA0 41 82 01 00 */ beq lbl_800D2040 /* 800D1F44 000CEEA4 80 E1 03 68 */ lwz r7, 0x368(r1) /* 800D1F48 000CEEA8 38 A0 00 01 */ li r5, 1 /* 800D1F4C 000CEEAC 80 C2 83 F0 */ lwz r6, kDefaultCharIdx__8CAnimRes@sda21(r2) /* 800D1F50 000CEEB0 38 61 01 14 */ addi r3, r1, 0x114 /* 800D1F54 000CEEB4 C0 41 02 70 */ lfs f2, 0x270(r1) /* 800D1F58 000CEEB8 38 81 00 60 */ addi r4, r1, 0x60 /* 800D1F5C 000CEEBC C0 21 02 74 */ lfs f1, 0x274(r1) /* 800D1F60 000CEEC0 C0 01 02 78 */ lfs f0, 0x278(r1) /* 800D1F64 000CEEC4 80 01 03 70 */ lwz r0, 0x370(r1) /* 800D1F68 000CEEC8 90 E1 00 60 */ stw r7, 0x60(r1) /* 800D1F6C 000CEECC 90 C1 00 64 */ stw r6, 0x64(r1) /* 800D1F70 000CEED0 D0 41 00 68 */ stfs f2, 0x68(r1) /* 800D1F74 000CEED4 D0 21 00 6C */ stfs f1, 0x6c(r1) /* 800D1F78 000CEED8 D0 01 00 70 */ stfs f0, 0x70(r1) /* 800D1F7C 000CEEDC 98 A1 00 74 */ stb r5, 0x74(r1) /* 800D1F80 000CEEE0 90 01 00 78 */ stw r0, 0x78(r1) /* 800D1F84 000CEEE4 48 04 4B D1 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D1F88 000CEEE8 7E 44 93 78 */ mr r4, r18 /* 800D1F8C 000CEEEC 38 61 00 50 */ addi r3, r1, 0x50 /* 800D1F90 000CEEF0 3A 20 00 01 */ li r17, 1 /* 800D1F94 000CEEF4 4B F7 B1 49 */ bl AllocateUniqueId__13CStateManagerFv /* 800D1F98 000CEEF8 A0 01 00 50 */ lhz r0, 0x50(r1) /* 800D1F9C 000CEEFC 38 81 00 F8 */ addi r4, r1, 0xf8 /* 800D1FA0 000CEF00 38 A1 00 DC */ addi r5, r1, 0xdc /* 800D1FA4 000CEF04 38 E1 00 7C */ addi r7, r1, 0x7c /* 800D1FA8 000CEF08 B0 01 00 54 */ sth r0, 0x54(r1) /* 800D1FAC 000CEF0C 39 01 00 9C */ addi r8, r1, 0x9c /* 800D1FB0 000CEF10 38 01 00 BC */ addi r0, r1, 0xbc /* 800D1FB4 000CEF14 FC 20 F0 90 */ fmr f1, f30 /* 800D1FB8 000CEF18 92 A1 00 08 */ stw r21, 8(r1) /* 800D1FBC 000CEF1C FC 40 E8 90 */ fmr f2, f29 /* 800D1FC0 000CEF20 FC 60 E0 90 */ fmr f3, f28 /* 800D1FC4 000CEF24 7E 83 A3 78 */ mr r3, r20 /* 800D1FC8 000CEF28 90 81 00 0C */ stw r4, 0xc(r1) /* 800D1FCC 000CEF2C FC 80 D8 90 */ fmr f4, f27 /* 800D1FD0 000CEF30 7E 66 9B 78 */ mr r6, r19 /* 800D1FD4 000CEF34 92 C1 00 10 */ stw r22, 0x10(r1) /* 800D1FD8 000CEF38 FC A0 D0 90 */ fmr f5, f26 /* 800D1FDC 000CEF3C 38 81 00 54 */ addi r4, r1, 0x54 /* 800D1FE0 000CEF40 90 A1 00 14 */ stw r5, 0x14(r1) /* 800D1FE4 000CEF44 FC C0 C8 90 */ fmr f6, f25 /* 800D1FE8 000CEF48 38 A1 02 30 */ addi r5, r1, 0x230 /* 800D1FEC 000CEF4C 90 E1 00 18 */ stw r7, 0x18(r1) /* 800D1FF0 000CEF50 FC E0 C0 90 */ fmr f7, f24 /* 800D1FF4 000CEF54 38 E1 02 40 */ addi r7, r1, 0x240 /* 800D1FF8 000CEF58 91 01 00 1C */ stw r8, 0x1c(r1) /* 800D1FFC 000CEF5C FD 00 B8 90 */ fmr f8, f23 /* 800D2000 000CEF60 39 01 01 14 */ addi r8, r1, 0x114 /* 800D2004 000CEF64 90 01 00 20 */ stw r0, 0x20(r1) /* 800D2008 000CEF68 39 21 01 C8 */ addi r9, r1, 0x1c8 /* 800D200C 000CEF6C 39 41 02 7C */ addi r10, r1, 0x27c /* 800D2010 000CEF70 92 E1 00 24 */ stw r23, 0x24(r1) /* 800D2014 000CEF74 93 01 00 28 */ stw r24, 0x28(r1) /* 800D2018 000CEF78 93 21 00 2C */ stw r25, 0x2c(r1) /* 800D201C 000CEF7C 93 41 00 30 */ stw r26, 0x30(r1) /* 800D2020 000CEF80 93 61 00 34 */ stw r27, 0x34(r1) /* 800D2024 000CEF84 93 81 00 38 */ stw r28, 0x38(r1) /* 800D2028 000CEF88 93 A1 00 3C */ stw r29, 0x3c(r1) /* 800D202C 000CEF8C D3 E1 00 40 */ stfs f31, 0x40(r1) /* 800D2030 000CEF90 93 C1 00 44 */ stw r30, 0x44(r1) /* 800D2034 000CEF94 93 E1 00 48 */ stw r31, 0x48(r1) /* 800D2038 000CEF98 48 06 FE 0D */ bl "__ct__11CChozoGhostF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoffffUiRC11CDamageInfoUiRC11CDamageInfoRCQ211CChozoGhost13CBehaveChanceRCQ211CChozoGhost13CBehaveChanceRCQ211CChozoGhost13CBehaveChance" /* 800D203C 000CEF9C 7C 74 1B 78 */ mr r20, r3 lbl_800D2040: /* 800D2040 000CEFA0 7E 20 07 75 */ extsb. r0, r17 /* 800D2044 000CEFA4 41 82 00 10 */ beq lbl_800D2054 /* 800D2048 000CEFA8 38 61 01 14 */ addi r3, r1, 0x114 /* 800D204C 000CEFAC 38 80 FF FF */ li r4, -1 /* 800D2050 000CEFB0 48 04 49 FD */ bl __dt__10CModelDataFv lbl_800D2054: /* 800D2054 000CEFB4 38 61 01 C8 */ addi r3, r1, 0x1c8 /* 800D2058 000CEFB8 38 80 FF FF */ li r4, -1 /* 800D205C 000CEFBC 48 03 45 AD */ bl __dt__16CLightParametersFv /* 800D2060 000CEFC0 38 61 02 30 */ addi r3, r1, 0x230 /* 800D2064 000CEFC4 48 26 BA 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D2068 000CEFC8 7E 83 A3 78 */ mr r3, r20 lbl_800D206C: /* 800D206C 000CEFCC E3 E1 04 88 */ psq_l f31, 1160(r1), 0, qr0 /* 800D2070 000CEFD0 CB E1 04 80 */ lfd f31, 0x480(r1) /* 800D2074 000CEFD4 E3 C1 04 78 */ psq_l f30, 1144(r1), 0, qr0 /* 800D2078 000CEFD8 CB C1 04 70 */ lfd f30, 0x470(r1) /* 800D207C 000CEFDC E3 A1 04 68 */ psq_l f29, 1128(r1), 0, qr0 /* 800D2080 000CEFE0 CB A1 04 60 */ lfd f29, 0x460(r1) /* 800D2084 000CEFE4 E3 81 04 58 */ psq_l f28, 1112(r1), 0, qr0 /* 800D2088 000CEFE8 CB 81 04 50 */ lfd f28, 0x450(r1) /* 800D208C 000CEFEC E3 61 04 48 */ psq_l f27, 1096(r1), 0, qr0 /* 800D2090 000CEFF0 CB 61 04 40 */ lfd f27, 0x440(r1) /* 800D2094 000CEFF4 E3 41 04 38 */ psq_l f26, 1080(r1), 0, qr0 /* 800D2098 000CEFF8 CB 41 04 30 */ lfd f26, 0x430(r1) /* 800D209C 000CEFFC E3 21 04 28 */ psq_l f25, 1064(r1), 0, qr0 /* 800D20A0 000CF000 CB 21 04 20 */ lfd f25, 0x420(r1) /* 800D20A4 000CF004 E3 01 04 18 */ psq_l f24, 1048(r1), 0, qr0 /* 800D20A8 000CF008 CB 01 04 10 */ lfd f24, 0x410(r1) /* 800D20AC 000CF00C E2 E1 04 08 */ psq_l f23, 1032(r1), 0, qr0 /* 800D20B0 000CF010 CA E1 04 00 */ lfd f23, 0x400(r1) /* 800D20B4 000CF014 BA 21 03 C4 */ lmw r17, 0x3c4(r1) /* 800D20B8 000CF018 80 01 04 94 */ lwz r0, 0x494(r1) /* 800D20BC 000CF01C 7C 08 03 A6 */ mtlr r0 /* 800D20C0 000CF020 38 21 04 90 */ addi r1, r1, 0x490 /* 800D20C4 000CF024 4E 80 00 20 */ blr .global LoadFlickerBat__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadFlickerBat__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D20C8 000CF028 94 21 FC C0 */ stwu r1, -0x340(r1) /* 800D20CC 000CF02C 7C 08 02 A6 */ mflr r0 /* 800D20D0 000CF030 2C 05 00 0A */ cmpwi r5, 0xa /* 800D20D4 000CF034 90 01 03 44 */ stw r0, 0x344(r1) /* 800D20D8 000CF038 BF 01 03 20 */ stmw r24, 0x320(r1) /* 800D20DC 000CF03C 7C 7A 1B 78 */ mr r26, r3 /* 800D20E0 000CF040 7C 9C 23 78 */ mr r28, r4 /* 800D20E4 000CF044 7C DB 33 78 */ mr r27, r6 /* 800D20E8 000CF048 41 82 00 0C */ beq lbl_800D20F4 /* 800D20EC 000CF04C 38 60 00 00 */ li r3, 0 /* 800D20F0 000CF050 48 00 02 08 */ b lbl_800D22F8 lbl_800D20F4: /* 800D20F4 000CF054 4B F7 30 F1 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D20F8 000CF058 7C 64 1B 78 */ mr r4, r3 /* 800D20FC 000CF05C 38 61 00 34 */ addi r3, r1, 0x34 /* 800D2100 000CF060 48 26 C0 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D2104 000CF064 7F 83 E3 78 */ mr r3, r28 /* 800D2108 000CF068 48 26 CB 7D */ bl ReadLong__12CInputStreamFv /* 800D210C 000CF06C 7C 7D 1B 78 */ mr r29, r3 /* 800D2110 000CF070 7F 84 E3 78 */ mr r4, r28 /* 800D2114 000CF074 38 61 00 60 */ addi r3, r1, 0x60 /* 800D2118 000CF078 48 00 84 75 */ bl LoadEditorTransform__FR12CInputStream /* 800D211C 000CF07C 38 61 00 90 */ addi r3, r1, 0x90 /* 800D2120 000CF080 38 81 00 60 */ addi r4, r1, 0x60 /* 800D2124 000CF084 48 24 0A 51 */ bl __ct__12CTransform4fFRC12CTransform4f /* 800D2128 000CF088 7F 84 E3 78 */ mr r4, r28 /* 800D212C 000CF08C 38 61 00 28 */ addi r3, r1, 0x28 /* 800D2130 000CF090 48 24 2A 5D */ bl __ct__9CVector3fFR12CInputStream /* 800D2134 000CF094 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D2138 000CF098 7F 84 E3 78 */ mr r4, r28 /* 800D213C 000CF09C 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800D2140 000CF0A0 38 61 00 20 */ addi r3, r1, 0x20 /* 800D2144 000CF0A4 38 A5 01 6D */ addi r5, r5, 0x16d /* 800D2148 000CF0A8 48 03 36 E1 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800D214C 000CF0AC 88 01 00 20 */ lbz r0, 0x20(r1) /* 800D2150 000CF0B0 80 A1 00 24 */ lwz r5, 0x24(r1) /* 800D2154 000CF0B4 28 00 00 00 */ cmplwi r0, 0 /* 800D2158 000CF0B8 40 82 00 14 */ bne lbl_800D216C /* 800D215C 000CF0BC 38 61 00 34 */ addi r3, r1, 0x34 /* 800D2160 000CF0C0 48 26 B9 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D2164 000CF0C4 38 60 00 00 */ li r3, 0 /* 800D2168 000CF0C8 48 00 01 90 */ b lbl_800D22F8 lbl_800D216C: /* 800D216C 000CF0CC 7F 84 E3 78 */ mr r4, r28 /* 800D2170 000CF0D0 38 61 01 DC */ addi r3, r1, 0x1dc /* 800D2174 000CF0D4 48 03 37 05 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800D2178 000CF0D8 7F 84 E3 78 */ mr r4, r28 /* 800D217C 000CF0DC 38 61 01 0C */ addi r3, r1, 0x10c /* 800D2180 000CF0E0 48 00 7B F5 */ bl LoadActorParameters__FR12CInputStream /* 800D2184 000CF0E4 38 61 01 74 */ addi r3, r1, 0x174 /* 800D2188 000CF0E8 38 81 01 0C */ addi r4, r1, 0x10c /* 800D218C 000CF0EC 4B FF 34 91 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D2190 000CF0F0 38 61 01 0C */ addi r3, r1, 0x10c /* 800D2194 000CF0F4 38 80 FF FF */ li r4, -1 /* 800D2198 000CF0F8 48 03 44 71 */ bl __dt__16CLightParametersFv /* 800D219C 000CF0FC 7F 83 E3 78 */ mr r3, r28 /* 800D21A0 000CF100 48 26 CB 3D */ bl ReadBool__12CInputStreamFv /* 800D21A4 000CF104 7C 79 1B 78 */ mr r25, r3 /* 800D21A8 000CF108 7F 83 E3 78 */ mr r3, r28 /* 800D21AC 000CF10C 48 26 CB 31 */ bl ReadBool__12CInputStreamFv /* 800D21B0 000CF110 7C 7E 1B 78 */ mr r30, r3 /* 800D21B4 000CF114 7F 83 E3 78 */ mr r3, r28 /* 800D21B8 000CF118 48 26 CB 25 */ bl ReadBool__12CInputStreamFv /* 800D21BC 000CF11C 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800D21C0 000CF120 7C 7F 1B 78 */ mr r31, r3 /* 800D21C4 000CF124 80 81 02 C8 */ lwz r4, 0x2c8(r1) /* 800D21C8 000CF128 38 65 00 04 */ addi r3, r5, 4 /* 800D21CC 000CF12C 48 26 9B 01 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D21D0 000CF130 3C 03 BE B2 */ addis r0, r3, 0xbeb2 /* 800D21D4 000CF134 28 00 43 53 */ cmplwi r0, 0x4353 /* 800D21D8 000CF138 41 82 00 20 */ beq lbl_800D21F8 /* 800D21DC 000CF13C 38 61 01 74 */ addi r3, r1, 0x174 /* 800D21E0 000CF140 38 80 FF FF */ li r4, -1 /* 800D21E4 000CF144 48 03 44 25 */ bl __dt__16CLightParametersFv /* 800D21E8 000CF148 38 61 00 34 */ addi r3, r1, 0x34 /* 800D21EC 000CF14C 48 26 B8 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D21F0 000CF150 38 60 00 00 */ li r3, 0 /* 800D21F4 000CF154 48 00 01 04 */ b lbl_800D22F8 lbl_800D21F8: /* 800D21F8 000CF158 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D21FC 000CF15C 3B 00 00 00 */ li r24, 0 /* 800D2200 000CF160 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D2204 000CF164 38 60 05 88 */ li r3, 0x588 /* 800D2208 000CF168 38 84 00 0D */ addi r4, r4, 0xd /* 800D220C 000CF16C 38 A0 00 00 */ li r5, 0 /* 800D2210 000CF170 48 24 36 5D */ bl __nw__FUlPCcPCc /* 800D2214 000CF174 7C 7C 1B 79 */ or. r28, r3, r3 /* 800D2218 000CF178 41 82 00 B4 */ beq lbl_800D22CC /* 800D221C 000CF17C 57 23 06 3E */ clrlwi r3, r25, 0x18 /* 800D2220 000CF180 80 81 02 C8 */ lwz r4, 0x2c8(r1) /* 800D2224 000CF184 80 C1 02 CC */ lwz r6, 0x2cc(r1) /* 800D2228 000CF188 7C 03 00 D0 */ neg r0, r3 /* 800D222C 000CF18C C0 41 00 28 */ lfs f2, 0x28(r1) /* 800D2230 000CF190 38 A0 00 01 */ li r5, 1 /* 800D2234 000CF194 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 800D2238 000CF198 7C 00 1B 78 */ or r0, r0, r3 /* 800D223C 000CF19C C0 01 00 30 */ lfs f0, 0x30(r1) /* 800D2240 000CF1A0 54 19 0F FE */ srwi r25, r0, 0x1f /* 800D2244 000CF1A4 80 01 02 D0 */ lwz r0, 0x2d0(r1) /* 800D2248 000CF1A8 38 61 00 C0 */ addi r3, r1, 0xc0 /* 800D224C 000CF1AC 90 81 00 44 */ stw r4, 0x44(r1) /* 800D2250 000CF1B0 38 81 00 44 */ addi r4, r1, 0x44 /* 800D2254 000CF1B4 90 C1 00 48 */ stw r6, 0x48(r1) /* 800D2258 000CF1B8 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 800D225C 000CF1BC D0 21 00 50 */ stfs f1, 0x50(r1) /* 800D2260 000CF1C0 D0 01 00 54 */ stfs f0, 0x54(r1) /* 800D2264 000CF1C4 98 A1 00 58 */ stb r5, 0x58(r1) /* 800D2268 000CF1C8 90 01 00 5C */ stw r0, 0x5c(r1) /* 800D226C 000CF1CC 48 04 48 E9 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D2270 000CF1D0 7F 44 D3 78 */ mr r4, r26 /* 800D2274 000CF1D4 38 61 00 18 */ addi r3, r1, 0x18 /* 800D2278 000CF1D8 3B 00 00 01 */ li r24, 1 /* 800D227C 000CF1DC 4B F7 AE 61 */ bl AllocateUniqueId__13CStateManagerFv /* 800D2280 000CF1E0 A0 61 00 18 */ lhz r3, 0x18(r1) /* 800D2284 000CF1E4 57 C9 06 3E */ clrlwi r9, r30, 0x18 /* 800D2288 000CF1E8 39 61 01 74 */ addi r11, r1, 0x174 /* 800D228C 000CF1EC 57 E0 06 3E */ clrlwi r0, r31, 0x18 /* 800D2290 000CF1F0 B0 61 00 1C */ sth r3, 0x1c(r1) /* 800D2294 000CF1F4 7F 83 E3 78 */ mr r3, r28 /* 800D2298 000CF1F8 7F A6 EB 78 */ mr r6, r29 /* 800D229C 000CF1FC 7F 67 DB 78 */ mr r7, r27 /* 800D22A0 000CF200 93 21 00 08 */ stw r25, 8(r1) /* 800D22A4 000CF204 38 81 00 1C */ addi r4, r1, 0x1c /* 800D22A8 000CF208 38 A1 00 34 */ addi r5, r1, 0x34 /* 800D22AC 000CF20C 39 01 00 90 */ addi r8, r1, 0x90 /* 800D22B0 000CF210 91 21 00 0C */ stw r9, 0xc(r1) /* 800D22B4 000CF214 39 21 00 C0 */ addi r9, r1, 0xc0 /* 800D22B8 000CF218 39 41 01 DC */ addi r10, r1, 0x1dc /* 800D22BC 000CF21C 91 61 00 10 */ stw r11, 0x10(r1) /* 800D22C0 000CF220 90 01 00 14 */ stw r0, 0x14(r1) /* 800D22C4 000CF224 48 05 F0 39 */ bl "__ct__11CFlickerBatF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EColliderTypebRC16CActorParameters" /* 800D22C8 000CF228 7C 7C 1B 78 */ mr r28, r3 lbl_800D22CC: /* 800D22CC 000CF22C 7F 00 07 75 */ extsb. r0, r24 /* 800D22D0 000CF230 41 82 00 10 */ beq lbl_800D22E0 /* 800D22D4 000CF234 38 61 00 C0 */ addi r3, r1, 0xc0 /* 800D22D8 000CF238 38 80 FF FF */ li r4, -1 /* 800D22DC 000CF23C 48 04 47 71 */ bl __dt__10CModelDataFv lbl_800D22E0: /* 800D22E0 000CF240 38 61 01 74 */ addi r3, r1, 0x174 /* 800D22E4 000CF244 38 80 FF FF */ li r4, -1 /* 800D22E8 000CF248 48 03 43 21 */ bl __dt__16CLightParametersFv /* 800D22EC 000CF24C 38 61 00 34 */ addi r3, r1, 0x34 /* 800D22F0 000CF250 48 26 B7 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D22F4 000CF254 7F 83 E3 78 */ mr r3, r28 lbl_800D22F8: /* 800D22F8 000CF258 BB 01 03 20 */ lmw r24, 0x320(r1) /* 800D22FC 000CF25C 80 01 03 44 */ lwz r0, 0x344(r1) /* 800D2300 000CF260 7C 08 03 A6 */ mtlr r0 /* 800D2304 000CF264 38 21 03 40 */ addi r1, r1, 0x340 /* 800D2308 000CF268 4E 80 00 20 */ blr .global LoadGrapplePoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadGrapplePoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D230C 000CF26C 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 800D2310 000CF270 7C 08 02 A6 */ mflr r0 /* 800D2314 000CF274 2C 05 00 05 */ cmpwi r5, 5 /* 800D2318 000CF278 90 01 00 E4 */ stw r0, 0xe4(r1) /* 800D231C 000CF27C 93 E1 00 DC */ stw r31, 0xdc(r1) /* 800D2320 000CF280 93 C1 00 D8 */ stw r30, 0xd8(r1) /* 800D2324 000CF284 7C 9E 23 78 */ mr r30, r4 /* 800D2328 000CF288 93 A1 00 D4 */ stw r29, 0xd4(r1) /* 800D232C 000CF28C 7C DD 33 78 */ mr r29, r6 /* 800D2330 000CF290 93 81 00 D0 */ stw r28, 0xd0(r1) /* 800D2334 000CF294 7C 7C 1B 78 */ mr r28, r3 /* 800D2338 000CF298 41 82 00 0C */ beq lbl_800D2344 /* 800D233C 000CF29C 38 60 00 00 */ li r3, 0 /* 800D2340 000CF2A0 48 00 01 2C */ b lbl_800D246C lbl_800D2344: /* 800D2344 000CF2A4 4B F7 2E A1 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D2348 000CF2A8 7C 64 1B 78 */ mr r4, r3 /* 800D234C 000CF2AC 38 61 00 28 */ addi r3, r1, 0x28 /* 800D2350 000CF2B0 48 26 BE 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D2354 000CF2B4 7F C4 F3 78 */ mr r4, r30 /* 800D2358 000CF2B8 38 61 00 1C */ addi r3, r1, 0x1c /* 800D235C 000CF2BC 48 24 28 31 */ bl __ct__9CVector3fFR12CInputStream /* 800D2360 000CF2C0 7F C4 F3 78 */ mr r4, r30 /* 800D2364 000CF2C4 38 61 00 10 */ addi r3, r1, 0x10 /* 800D2368 000CF2C8 48 24 28 25 */ bl __ct__9CVector3fFR12CInputStream /* 800D236C 000CF2CC 7F C3 F3 78 */ mr r3, r30 /* 800D2370 000CF2D0 48 26 C9 6D */ bl ReadBool__12CInputStreamFv /* 800D2374 000CF2D4 7C 7F 1B 78 */ mr r31, r3 /* 800D2378 000CF2D8 7F C4 F3 78 */ mr r4, r30 /* 800D237C 000CF2DC 38 61 00 68 */ addi r3, r1, 0x68 /* 800D2380 000CF2E0 48 00 78 E5 */ bl LoadGrappleParameters__FR12CInputStream /* 800D2384 000CF2E4 88 61 00 94 */ lbz r3, 0x94(r1) /* 800D2388 000CF2E8 C1 41 00 68 */ lfs f10, 0x68(r1) /* 800D238C 000CF2EC C1 21 00 6C */ lfs f9, 0x6c(r1) /* 800D2390 000CF2F0 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f /* 800D2394 000CF2F4 C1 01 00 70 */ lfs f8, 0x70(r1) /* 800D2398 000CF2F8 C0 E1 00 74 */ lfs f7, 0x74(r1) /* 800D239C 000CF2FC C0 C1 00 78 */ lfs f6, 0x78(r1) /* 800D23A0 000CF300 C0 A1 00 7C */ lfs f5, 0x7c(r1) /* 800D23A4 000CF304 C0 81 00 80 */ lfs f4, 0x80(r1) /* 800D23A8 000CF308 C0 61 00 84 */ lfs f3, 0x84(r1) /* 800D23AC 000CF30C C0 41 00 88 */ lfs f2, 0x88(r1) /* 800D23B0 000CF310 C0 21 00 8C */ lfs f1, 0x8c(r1) /* 800D23B4 000CF314 C0 01 00 90 */ lfs f0, 0x90(r1) /* 800D23B8 000CF318 D1 41 00 98 */ stfs f10, 0x98(r1) /* 800D23BC 000CF31C D1 21 00 9C */ stfs f9, 0x9c(r1) /* 800D23C0 000CF320 D1 01 00 A0 */ stfs f8, 0xa0(r1) /* 800D23C4 000CF324 D0 E1 00 A4 */ stfs f7, 0xa4(r1) /* 800D23C8 000CF328 D0 C1 00 A8 */ stfs f6, 0xa8(r1) /* 800D23CC 000CF32C D0 A1 00 AC */ stfs f5, 0xac(r1) /* 800D23D0 000CF330 D0 81 00 B0 */ stfs f4, 0xb0(r1) /* 800D23D4 000CF334 D0 61 00 B4 */ stfs f3, 0xb4(r1) /* 800D23D8 000CF338 D0 41 00 B8 */ stfs f2, 0xb8(r1) /* 800D23DC 000CF33C D0 21 00 BC */ stfs f1, 0xbc(r1) /* 800D23E0 000CF340 D0 01 00 C0 */ stfs f0, 0xc0(r1) /* 800D23E4 000CF344 98 61 00 C4 */ stb r3, 0xc4(r1) /* 800D23E8 000CF348 41 82 00 10 */ beq lbl_800D23F8 /* 800D23EC 000CF34C C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) /* 800D23F0 000CF350 D0 01 00 10 */ stfs f0, 0x10(r1) /* 800D23F4 000CF354 D0 01 00 14 */ stfs f0, 0x14(r1) lbl_800D23F8: /* 800D23F8 000CF358 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D23FC 000CF35C 38 60 01 30 */ li r3, 0x130 /* 800D2400 000CF360 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D2404 000CF364 38 A0 00 00 */ li r5, 0 /* 800D2408 000CF368 38 84 00 0D */ addi r4, r4, 0xd /* 800D240C 000CF36C 48 24 34 61 */ bl __nw__FUlPCcPCc /* 800D2410 000CF370 7C 7E 1B 79 */ or. r30, r3, r3 /* 800D2414 000CF374 41 82 00 4C */ beq lbl_800D2460 /* 800D2418 000CF378 7F 84 E3 78 */ mr r4, r28 /* 800D241C 000CF37C 38 61 00 08 */ addi r3, r1, 8 /* 800D2420 000CF380 4B F7 AC BD */ bl AllocateUniqueId__13CStateManagerFv /* 800D2424 000CF384 A0 01 00 08 */ lhz r0, 8(r1) /* 800D2428 000CF388 38 61 00 38 */ addi r3, r1, 0x38 /* 800D242C 000CF38C 38 81 00 10 */ addi r4, r1, 0x10 /* 800D2430 000CF390 38 A1 00 1C */ addi r5, r1, 0x1c /* 800D2434 000CF394 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D2438 000CF398 48 00 81 AD */ bl ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f /* 800D243C 000CF39C 7F C3 F3 78 */ mr r3, r30 /* 800D2440 000CF3A0 7F A6 EB 78 */ mr r6, r29 /* 800D2444 000CF3A4 7F E8 FB 78 */ mr r8, r31 /* 800D2448 000CF3A8 38 81 00 0C */ addi r4, r1, 0xc /* 800D244C 000CF3AC 38 A1 00 28 */ addi r5, r1, 0x28 /* 800D2450 000CF3B0 38 E1 00 38 */ addi r7, r1, 0x38 /* 800D2454 000CF3B4 39 21 00 98 */ addi r9, r1, 0x98 /* 800D2458 000CF3B8 48 05 D4 C9 */ bl "__ct__19CScriptGrapplePointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC18CGrappleParameters" /* 800D245C 000CF3BC 7C 7E 1B 78 */ mr r30, r3 lbl_800D2460: /* 800D2460 000CF3C0 38 61 00 28 */ addi r3, r1, 0x28 /* 800D2464 000CF3C4 48 26 B6 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D2468 000CF3C8 7F C3 F3 78 */ mr r3, r30 lbl_800D246C: /* 800D246C 000CF3CC 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 800D2470 000CF3D0 83 E1 00 DC */ lwz r31, 0xdc(r1) /* 800D2474 000CF3D4 83 C1 00 D8 */ lwz r30, 0xd8(r1) /* 800D2478 000CF3D8 83 A1 00 D4 */ lwz r29, 0xd4(r1) /* 800D247C 000CF3DC 83 81 00 D0 */ lwz r28, 0xd0(r1) /* 800D2480 000CF3E0 7C 08 03 A6 */ mtlr r0 /* 800D2484 000CF3E4 38 21 00 E0 */ addi r1, r1, 0xe0 /* 800D2488 000CF3E8 4E 80 00 20 */ blr .global LoadBloodFlower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadBloodFlower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D248C 000CF3EC 94 21 FC 60 */ stwu r1, -0x3a0(r1) /* 800D2490 000CF3F0 7C 08 02 A6 */ mflr r0 /* 800D2494 000CF3F4 90 01 03 A4 */ stw r0, 0x3a4(r1) /* 800D2498 000CF3F8 DB E1 03 90 */ stfd f31, 0x390(r1) /* 800D249C 000CF3FC F3 E1 03 98 */ psq_st f31, 920(r1), 0, qr0 /* 800D24A0 000CF400 BE 81 03 60 */ stmw r20, 0x360(r1) /* 800D24A4 000CF404 2C 05 00 12 */ cmpwi r5, 0x12 /* 800D24A8 000CF408 7C 75 1B 78 */ mr r21, r3 /* 800D24AC 000CF40C 7C 94 23 78 */ mr r20, r4 /* 800D24B0 000CF410 7C D6 33 78 */ mr r22, r6 /* 800D24B4 000CF414 41 82 00 0C */ beq lbl_800D24C0 /* 800D24B8 000CF418 38 60 00 00 */ li r3, 0 /* 800D24BC 000CF41C 48 00 02 54 */ b lbl_800D2710 lbl_800D24C0: /* 800D24C0 000CF420 7E A5 AB 78 */ mr r5, r21 /* 800D24C4 000CF424 38 61 01 D4 */ addi r3, r1, 0x1d4 /* 800D24C8 000CF428 48 00 7F B5 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D24CC 000CF42C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D24D0 000CF430 7E 84 A3 78 */ mr r4, r20 /* 800D24D4 000CF434 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800D24D8 000CF438 38 61 00 40 */ addi r3, r1, 0x40 /* 800D24DC 000CF43C 38 A5 01 78 */ addi r5, r5, 0x178 /* 800D24E0 000CF440 48 03 33 49 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800D24E4 000CF444 88 01 00 40 */ lbz r0, 0x40(r1) /* 800D24E8 000CF448 80 A1 00 44 */ lwz r5, 0x44(r1) /* 800D24EC 000CF44C 28 00 00 00 */ cmplwi r0, 0 /* 800D24F0 000CF450 40 82 00 14 */ bne lbl_800D2504 /* 800D24F4 000CF454 38 61 01 D4 */ addi r3, r1, 0x1d4 /* 800D24F8 000CF458 48 26 B5 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D24FC 000CF45C 38 60 00 00 */ li r3, 0 /* 800D2500 000CF460 48 00 02 10 */ b lbl_800D2710 lbl_800D2504: /* 800D2504 000CF464 7E 84 A3 78 */ mr r4, r20 /* 800D2508 000CF468 38 61 02 20 */ addi r3, r1, 0x220 /* 800D250C 000CF46C 48 03 33 6D */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800D2510 000CF470 7E 84 A3 78 */ mr r4, r20 /* 800D2514 000CF474 38 61 01 04 */ addi r3, r1, 0x104 /* 800D2518 000CF478 48 00 78 5D */ bl LoadActorParameters__FR12CInputStream /* 800D251C 000CF47C 38 61 01 6C */ addi r3, r1, 0x16c /* 800D2520 000CF480 38 81 01 04 */ addi r4, r1, 0x104 /* 800D2524 000CF484 4B FF 30 F9 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D2528 000CF488 38 61 01 04 */ addi r3, r1, 0x104 /* 800D252C 000CF48C 38 80 FF FF */ li r4, -1 /* 800D2530 000CF490 48 03 40 D9 */ bl __dt__16CLightParametersFv /* 800D2534 000CF494 7E 83 A3 78 */ mr r3, r20 /* 800D2538 000CF498 48 26 C7 4D */ bl ReadLong__12CInputStreamFv /* 800D253C 000CF49C 7C 78 1B 78 */ mr r24, r3 /* 800D2540 000CF4A0 7E 83 A3 78 */ mr r3, r20 /* 800D2544 000CF4A4 48 26 C7 41 */ bl ReadLong__12CInputStreamFv /* 800D2548 000CF4A8 7C 79 1B 78 */ mr r25, r3 /* 800D254C 000CF4AC 7E 83 A3 78 */ mr r3, r20 /* 800D2550 000CF4B0 48 26 C7 35 */ bl ReadLong__12CInputStreamFv /* 800D2554 000CF4B4 7C 7A 1B 78 */ mr r26, r3 /* 800D2558 000CF4B8 7E 84 A3 78 */ mr r4, r20 /* 800D255C 000CF4BC 38 61 00 9C */ addi r3, r1, 0x9c /* 800D2560 000CF4C0 4B FF 10 01 */ bl __ct__11CDamageInfoFR12CInputStream /* 800D2564 000CF4C4 7E 84 A3 78 */ mr r4, r20 /* 800D2568 000CF4C8 38 61 00 80 */ addi r3, r1, 0x80 /* 800D256C 000CF4CC 4B FF 0F F5 */ bl __ct__11CDamageInfoFR12CInputStream /* 800D2570 000CF4D0 7E 84 A3 78 */ mr r4, r20 /* 800D2574 000CF4D4 38 61 00 64 */ addi r3, r1, 0x64 /* 800D2578 000CF4D8 4B FF 0F E9 */ bl __ct__11CDamageInfoFR12CInputStream /* 800D257C 000CF4DC 7E 83 A3 78 */ mr r3, r20 /* 800D2580 000CF4E0 48 26 C7 05 */ bl ReadLong__12CInputStreamFv /* 800D2584 000CF4E4 7C 7B 1B 78 */ mr r27, r3 /* 800D2588 000CF4E8 7E 83 A3 78 */ mr r3, r20 /* 800D258C 000CF4EC 48 26 C6 F9 */ bl ReadLong__12CInputStreamFv /* 800D2590 000CF4F0 7C 7C 1B 78 */ mr r28, r3 /* 800D2594 000CF4F4 7E 83 A3 78 */ mr r3, r20 /* 800D2598 000CF4F8 48 26 C6 ED */ bl ReadLong__12CInputStreamFv /* 800D259C 000CF4FC 7C 7D 1B 78 */ mr r29, r3 /* 800D25A0 000CF500 7E 83 A3 78 */ mr r3, r20 /* 800D25A4 000CF504 48 26 C6 85 */ bl ReadFloat__12CInputStreamFv /* 800D25A8 000CF508 FF E0 08 90 */ fmr f31, f1 /* 800D25AC 000CF50C 7E 83 A3 78 */ mr r3, r20 /* 800D25B0 000CF510 48 26 C6 D5 */ bl ReadLong__12CInputStreamFv /* 800D25B4 000CF514 7C 7E 1B 78 */ mr r30, r3 /* 800D25B8 000CF518 7E 83 A3 78 */ mr r3, r20 /* 800D25BC 000CF51C 48 26 C6 C9 */ bl ReadLong__12CInputStreamFv /* 800D25C0 000CF520 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800D25C4 000CF524 7C 7F 1B 78 */ mr r31, r3 /* 800D25C8 000CF528 80 81 03 0C */ lwz r4, 0x30c(r1) /* 800D25CC 000CF52C 38 65 00 04 */ addi r3, r5, 4 /* 800D25D0 000CF530 48 26 96 FD */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D25D4 000CF534 3C 03 BE B2 */ addis r0, r3, 0xbeb2 /* 800D25D8 000CF538 28 00 43 53 */ cmplwi r0, 0x4353 /* 800D25DC 000CF53C 41 82 00 20 */ beq lbl_800D25FC /* 800D25E0 000CF540 38 61 01 6C */ addi r3, r1, 0x16c /* 800D25E4 000CF544 38 80 FF FF */ li r4, -1 /* 800D25E8 000CF548 48 03 40 21 */ bl __dt__16CLightParametersFv /* 800D25EC 000CF54C 38 61 01 D4 */ addi r3, r1, 0x1d4 /* 800D25F0 000CF550 48 26 B4 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D25F4 000CF554 38 60 00 00 */ li r3, 0 /* 800D25F8 000CF558 48 00 01 18 */ b lbl_800D2710 lbl_800D25FC: /* 800D25FC 000CF55C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D2600 000CF560 3A 80 00 00 */ li r20, 0 /* 800D2604 000CF564 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D2608 000CF568 38 60 06 28 */ li r3, 0x628 /* 800D260C 000CF56C 38 84 00 0D */ addi r4, r4, 0xd /* 800D2610 000CF570 38 A0 00 00 */ li r5, 0 /* 800D2614 000CF574 48 24 32 59 */ bl __nw__FUlPCcPCc /* 800D2618 000CF578 7C 77 1B 79 */ or. r23, r3, r3 /* 800D261C 000CF57C 41 82 00 C8 */ beq lbl_800D26E4 /* 800D2620 000CF580 80 E1 03 0C */ lwz r7, 0x30c(r1) /* 800D2624 000CF584 38 A0 00 01 */ li r5, 1 /* 800D2628 000CF588 80 C1 03 10 */ lwz r6, 0x310(r1) /* 800D262C 000CF58C 38 61 00 B8 */ addi r3, r1, 0xb8 /* 800D2630 000CF590 C0 41 02 14 */ lfs f2, 0x214(r1) /* 800D2634 000CF594 38 81 00 48 */ addi r4, r1, 0x48 /* 800D2638 000CF598 C0 21 02 18 */ lfs f1, 0x218(r1) /* 800D263C 000CF59C C0 01 02 1C */ lfs f0, 0x21c(r1) /* 800D2640 000CF5A0 80 01 03 14 */ lwz r0, 0x314(r1) /* 800D2644 000CF5A4 90 E1 00 48 */ stw r7, 0x48(r1) /* 800D2648 000CF5A8 90 C1 00 4C */ stw r6, 0x4c(r1) /* 800D264C 000CF5AC D0 41 00 50 */ stfs f2, 0x50(r1) /* 800D2650 000CF5B0 D0 21 00 54 */ stfs f1, 0x54(r1) /* 800D2654 000CF5B4 D0 01 00 58 */ stfs f0, 0x58(r1) /* 800D2658 000CF5B8 98 A1 00 5C */ stb r5, 0x5c(r1) /* 800D265C 000CF5BC 90 01 00 60 */ stw r0, 0x60(r1) /* 800D2660 000CF5C0 48 04 44 F5 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D2664 000CF5C4 7E A4 AB 78 */ mr r4, r21 /* 800D2668 000CF5C8 38 61 00 38 */ addi r3, r1, 0x38 /* 800D266C 000CF5CC 3A 80 00 01 */ li r20, 1 /* 800D2670 000CF5D0 4B F7 AA 6D */ bl AllocateUniqueId__13CStateManagerFv /* 800D2674 000CF5D4 A0 01 00 38 */ lhz r0, 0x38(r1) /* 800D2678 000CF5D8 38 A1 01 6C */ addi r5, r1, 0x16c /* 800D267C 000CF5DC 39 81 00 9C */ addi r12, r1, 0x9c /* 800D2680 000CF5E0 39 61 00 80 */ addi r11, r1, 0x80 /* 800D2684 000CF5E4 B0 01 00 3C */ sth r0, 0x3c(r1) /* 800D2688 000CF5E8 38 01 00 64 */ addi r0, r1, 0x64 /* 800D268C 000CF5EC FC 20 F8 90 */ fmr f1, f31 /* 800D2690 000CF5F0 7E E3 BB 78 */ mr r3, r23 /* 800D2694 000CF5F4 93 21 00 08 */ stw r25, 8(r1) /* 800D2698 000CF5F8 7E C6 B3 78 */ mr r6, r22 /* 800D269C 000CF5FC 7F 0A C3 78 */ mr r10, r24 /* 800D26A0 000CF600 38 81 00 3C */ addi r4, r1, 0x3c /* 800D26A4 000CF604 90 A1 00 0C */ stw r5, 0xc(r1) /* 800D26A8 000CF608 38 A1 01 D4 */ addi r5, r1, 0x1d4 /* 800D26AC 000CF60C 38 E1 01 E4 */ addi r7, r1, 0x1e4 /* 800D26B0 000CF610 39 01 00 B8 */ addi r8, r1, 0xb8 /* 800D26B4 000CF614 93 41 00 10 */ stw r26, 0x10(r1) /* 800D26B8 000CF618 39 21 02 20 */ addi r9, r1, 0x220 /* 800D26BC 000CF61C 91 81 00 14 */ stw r12, 0x14(r1) /* 800D26C0 000CF620 91 61 00 18 */ stw r11, 0x18(r1) /* 800D26C4 000CF624 90 01 00 1C */ stw r0, 0x1c(r1) /* 800D26C8 000CF628 93 61 00 20 */ stw r27, 0x20(r1) /* 800D26CC 000CF62C 93 81 00 24 */ stw r28, 0x24(r1) /* 800D26D0 000CF630 93 A1 00 28 */ stw r29, 0x28(r1) /* 800D26D4 000CF634 93 C1 00 2C */ stw r30, 0x2c(r1) /* 800D26D8 000CF638 93 E1 00 30 */ stw r31, 0x30(r1) /* 800D26DC 000CF63C 48 04 79 11 */ bl "__ct__12CBloodFlowerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoUiUiRC16CActorParametersUiRC11CDamageInfoRC11CDamageInfoUiUiUi" /* 800D26E0 000CF640 7C 77 1B 78 */ mr r23, r3 lbl_800D26E4: /* 800D26E4 000CF644 7E 80 07 75 */ extsb. r0, r20 /* 800D26E8 000CF648 41 82 00 10 */ beq lbl_800D26F8 /* 800D26EC 000CF64C 38 61 00 B8 */ addi r3, r1, 0xb8 /* 800D26F0 000CF650 38 80 FF FF */ li r4, -1 /* 800D26F4 000CF654 48 04 43 59 */ bl __dt__10CModelDataFv lbl_800D26F8: /* 800D26F8 000CF658 38 61 01 6C */ addi r3, r1, 0x16c /* 800D26FC 000CF65C 38 80 FF FF */ li r4, -1 /* 800D2700 000CF660 48 03 3F 09 */ bl __dt__16CLightParametersFv /* 800D2704 000CF664 38 61 01 D4 */ addi r3, r1, 0x1d4 /* 800D2708 000CF668 48 26 B3 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D270C 000CF66C 7E E3 BB 78 */ mr r3, r23 lbl_800D2710: /* 800D2710 000CF670 E3 E1 03 98 */ psq_l f31, 920(r1), 0, qr0 /* 800D2714 000CF674 CB E1 03 90 */ lfd f31, 0x390(r1) /* 800D2718 000CF678 BA 81 03 60 */ lmw r20, 0x360(r1) /* 800D271C 000CF67C 80 01 03 A4 */ lwz r0, 0x3a4(r1) /* 800D2720 000CF680 7C 08 03 A6 */ mtlr r0 /* 800D2724 000CF684 38 21 03 A0 */ addi r1, r1, 0x3a0 /* 800D2728 000CF688 4E 80 00 20 */ blr .global LoadSpiderBallWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadSpiderBallWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D272C 000CF68C 94 21 FF 90 */ stwu r1, -0x70(r1) /* 800D2730 000CF690 7C 08 02 A6 */ mflr r0 /* 800D2734 000CF694 2C 05 00 05 */ cmpwi r5, 5 /* 800D2738 000CF698 90 01 00 74 */ stw r0, 0x74(r1) /* 800D273C 000CF69C BF 61 00 5C */ stmw r27, 0x5c(r1) /* 800D2740 000CF6A0 7C 7B 1B 78 */ mr r27, r3 /* 800D2744 000CF6A4 7C 9D 23 78 */ mr r29, r4 /* 800D2748 000CF6A8 7C DC 33 78 */ mr r28, r6 /* 800D274C 000CF6AC 41 82 00 0C */ beq lbl_800D2758 /* 800D2750 000CF6B0 38 60 00 00 */ li r3, 0 /* 800D2754 000CF6B4 48 00 00 8C */ b lbl_800D27E0 lbl_800D2758: /* 800D2758 000CF6B8 7F 65 DB 78 */ mr r5, r27 /* 800D275C 000CF6BC 38 61 00 10 */ addi r3, r1, 0x10 /* 800D2760 000CF6C0 48 00 7D 65 */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800D2764 000CF6C4 7F A3 EB 78 */ mr r3, r29 /* 800D2768 000CF6C8 48 26 C5 75 */ bl ReadBool__12CInputStreamFv /* 800D276C 000CF6CC 7C 7F 1B 78 */ mr r31, r3 /* 800D2770 000CF6D0 7F A3 EB 78 */ mr r3, r29 /* 800D2774 000CF6D4 48 26 C5 11 */ bl ReadLong__12CInputStreamFv /* 800D2778 000CF6D8 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D277C 000CF6DC 7C 7E 1B 78 */ mr r30, r3 /* 800D2780 000CF6E0 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D2784 000CF6E4 38 60 01 18 */ li r3, 0x118 /* 800D2788 000CF6E8 38 A0 00 00 */ li r5, 0 /* 800D278C 000CF6EC 38 84 00 0D */ addi r4, r4, 0xd /* 800D2790 000CF6F0 48 24 30 DD */ bl __nw__FUlPCcPCc /* 800D2794 000CF6F4 7C 7D 1B 79 */ or. r29, r3, r3 /* 800D2798 000CF6F8 41 82 00 3C */ beq lbl_800D27D4 /* 800D279C 000CF6FC 7F 64 DB 78 */ mr r4, r27 /* 800D27A0 000CF700 38 61 00 08 */ addi r3, r1, 8 /* 800D27A4 000CF704 4B F7 A9 39 */ bl AllocateUniqueId__13CStateManagerFv /* 800D27A8 000CF708 A0 01 00 08 */ lhz r0, 8(r1) /* 800D27AC 000CF70C 7F A3 EB 78 */ mr r3, r29 /* 800D27B0 000CF710 7F 86 E3 78 */ mr r6, r28 /* 800D27B4 000CF714 7F C9 F3 78 */ mr r9, r30 /* 800D27B8 000CF718 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D27BC 000CF71C 38 81 00 0C */ addi r4, r1, 0xc /* 800D27C0 000CF720 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D27C4 000CF724 38 E1 00 20 */ addi r7, r1, 0x20 /* 800D27C8 000CF728 57 E8 06 3E */ clrlwi r8, r31, 0x18 /* 800D27CC 000CF72C 48 04 63 0D */ bl "__ct__25CScriptSpiderBallWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUi" /* 800D27D0 000CF730 7C 7D 1B 78 */ mr r29, r3 lbl_800D27D4: /* 800D27D4 000CF734 38 61 00 10 */ addi r3, r1, 0x10 /* 800D27D8 000CF738 48 26 B3 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D27DC 000CF73C 7F A3 EB 78 */ mr r3, r29 lbl_800D27E0: /* 800D27E0 000CF740 BB 61 00 5C */ lmw r27, 0x5c(r1) /* 800D27E4 000CF744 80 01 00 74 */ lwz r0, 0x74(r1) /* 800D27E8 000CF748 7C 08 03 A6 */ mtlr r0 /* 800D27EC 000CF74C 38 21 00 70 */ addi r1, r1, 0x70 /* 800D27F0 000CF750 4E 80 00 20 */ blr .global LoadAiJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadAiJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D27F4 000CF754 94 21 FF 90 */ stwu r1, -0x70(r1) /* 800D27F8 000CF758 7C 08 02 A6 */ mflr r0 /* 800D27FC 000CF75C 2C 05 00 05 */ cmpwi r5, 5 /* 800D2800 000CF760 90 01 00 74 */ stw r0, 0x74(r1) /* 800D2804 000CF764 DB E1 00 68 */ stfd f31, 0x68(r1) /* 800D2808 000CF768 93 E1 00 64 */ stw r31, 0x64(r1) /* 800D280C 000CF76C 93 C1 00 60 */ stw r30, 0x60(r1) /* 800D2810 000CF770 7C 9E 23 78 */ mr r30, r4 /* 800D2814 000CF774 93 A1 00 5C */ stw r29, 0x5c(r1) /* 800D2818 000CF778 7C DD 33 78 */ mr r29, r6 /* 800D281C 000CF77C 93 81 00 58 */ stw r28, 0x58(r1) /* 800D2820 000CF780 7C 7C 1B 78 */ mr r28, r3 /* 800D2824 000CF784 41 82 00 0C */ beq lbl_800D2830 /* 800D2828 000CF788 38 60 00 00 */ li r3, 0 /* 800D282C 000CF78C 48 00 00 8C */ b lbl_800D28B8 lbl_800D2830: /* 800D2830 000CF790 7F 85 E3 78 */ mr r5, r28 /* 800D2834 000CF794 38 61 00 10 */ addi r3, r1, 0x10 /* 800D2838 000CF798 48 00 7C 8D */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800D283C 000CF79C 7F C3 F3 78 */ mr r3, r30 /* 800D2840 000CF7A0 48 26 C4 9D */ bl ReadBool__12CInputStreamFv /* 800D2844 000CF7A4 7C 7F 1B 78 */ mr r31, r3 /* 800D2848 000CF7A8 7F C3 F3 78 */ mr r3, r30 /* 800D284C 000CF7AC 48 26 C3 DD */ bl ReadFloat__12CInputStreamFv /* 800D2850 000CF7B0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D2854 000CF7B4 FF E0 08 90 */ fmr f31, f1 /* 800D2858 000CF7B8 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D285C 000CF7BC 38 A0 00 00 */ li r5, 0 /* 800D2860 000CF7C0 38 60 01 18 */ li r3, 0x118 /* 800D2864 000CF7C4 38 84 00 0D */ addi r4, r4, 0xd /* 800D2868 000CF7C8 48 24 30 05 */ bl __nw__FUlPCcPCc /* 800D286C 000CF7CC 7C 7E 1B 79 */ or. r30, r3, r3 /* 800D2870 000CF7D0 41 82 00 3C */ beq lbl_800D28AC /* 800D2874 000CF7D4 7F 84 E3 78 */ mr r4, r28 /* 800D2878 000CF7D8 38 61 00 08 */ addi r3, r1, 8 /* 800D287C 000CF7DC 4B F7 A8 61 */ bl AllocateUniqueId__13CStateManagerFv /* 800D2880 000CF7E0 A0 01 00 08 */ lhz r0, 8(r1) /* 800D2884 000CF7E4 FC 20 F8 90 */ fmr f1, f31 /* 800D2888 000CF7E8 7F C3 F3 78 */ mr r3, r30 /* 800D288C 000CF7EC 7F A6 EB 78 */ mr r6, r29 /* 800D2890 000CF7F0 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D2894 000CF7F4 7F E8 FB 78 */ mr r8, r31 /* 800D2898 000CF7F8 38 81 00 0C */ addi r4, r1, 0xc /* 800D289C 000CF7FC 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D28A0 000CF800 38 E1 00 20 */ addi r7, r1, 0x20 /* 800D28A4 000CF804 48 11 CB B9 */ bl "__ct__18CScriptAiJumpPointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbf" /* 800D28A8 000CF808 7C 7E 1B 78 */ mr r30, r3 lbl_800D28AC: /* 800D28AC 000CF80C 38 61 00 10 */ addi r3, r1, 0x10 /* 800D28B0 000CF810 48 26 B2 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D28B4 000CF814 7F C3 F3 78 */ mr r3, r30 lbl_800D28B8: /* 800D28B8 000CF818 80 01 00 74 */ lwz r0, 0x74(r1) /* 800D28BC 000CF81C CB E1 00 68 */ lfd f31, 0x68(r1) /* 800D28C0 000CF820 83 E1 00 64 */ lwz r31, 0x64(r1) /* 800D28C4 000CF824 83 C1 00 60 */ lwz r30, 0x60(r1) /* 800D28C8 000CF828 83 A1 00 5C */ lwz r29, 0x5c(r1) /* 800D28CC 000CF82C 83 81 00 58 */ lwz r28, 0x58(r1) /* 800D28D0 000CF830 7C 08 03 A6 */ mtlr r0 /* 800D28D4 000CF834 38 21 00 70 */ addi r1, r1, 0x70 /* 800D28D8 000CF838 4E 80 00 20 */ blr .global LoadCoverPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadCoverPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D28DC 000CF83C 94 21 FF 80 */ stwu r1, -0x80(r1) /* 800D28E0 000CF840 7C 08 02 A6 */ mflr r0 /* 800D28E4 000CF844 2C 05 00 09 */ cmpwi r5, 9 /* 800D28E8 000CF848 90 01 00 84 */ stw r0, 0x84(r1) /* 800D28EC 000CF84C DB E1 00 78 */ stfd f31, 0x78(r1) /* 800D28F0 000CF850 DB C1 00 70 */ stfd f30, 0x70(r1) /* 800D28F4 000CF854 DB A1 00 68 */ stfd f29, 0x68(r1) /* 800D28F8 000CF858 BF 41 00 50 */ stmw r26, 0x50(r1) /* 800D28FC 000CF85C 7C 7A 1B 78 */ mr r26, r3 /* 800D2900 000CF860 7C 9C 23 78 */ mr r28, r4 /* 800D2904 000CF864 7C DB 33 78 */ mr r27, r6 /* 800D2908 000CF868 41 82 00 0C */ beq lbl_800D2914 /* 800D290C 000CF86C 38 60 00 00 */ li r3, 0 /* 800D2910 000CF870 48 00 00 CC */ b lbl_800D29DC lbl_800D2914: /* 800D2914 000CF874 7F 45 D3 78 */ mr r5, r26 /* 800D2918 000CF878 38 61 00 10 */ addi r3, r1, 0x10 /* 800D291C 000CF87C 48 00 7B A9 */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800D2920 000CF880 7F 83 E3 78 */ mr r3, r28 /* 800D2924 000CF884 48 26 C3 B9 */ bl ReadBool__12CInputStreamFv /* 800D2928 000CF888 7C 7F 1B 78 */ mr r31, r3 /* 800D292C 000CF88C 7F 83 E3 78 */ mr r3, r28 /* 800D2930 000CF890 48 26 C3 55 */ bl ReadLong__12CInputStreamFv /* 800D2934 000CF894 7C 7E 1B 78 */ mr r30, r3 /* 800D2938 000CF898 7F 83 E3 78 */ mr r3, r28 /* 800D293C 000CF89C 48 26 C3 A1 */ bl ReadBool__12CInputStreamFv /* 800D2940 000CF8A0 7C 7D 1B 78 */ mr r29, r3 /* 800D2944 000CF8A4 7F 83 E3 78 */ mr r3, r28 /* 800D2948 000CF8A8 48 26 C2 E1 */ bl ReadFloat__12CInputStreamFv /* 800D294C 000CF8AC FF E0 08 90 */ fmr f31, f1 /* 800D2950 000CF8B0 7F 83 E3 78 */ mr r3, r28 /* 800D2954 000CF8B4 48 26 C2 D5 */ bl ReadFloat__12CInputStreamFv /* 800D2958 000CF8B8 FF C0 08 90 */ fmr f30, f1 /* 800D295C 000CF8BC 7F 83 E3 78 */ mr r3, r28 /* 800D2960 000CF8C0 48 26 C2 C9 */ bl ReadFloat__12CInputStreamFv /* 800D2964 000CF8C4 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D2968 000CF8C8 FF A0 08 90 */ fmr f29, f1 /* 800D296C 000CF8CC 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D2970 000CF8D0 38 A0 00 00 */ li r5, 0 /* 800D2974 000CF8D4 38 60 01 20 */ li r3, 0x120 /* 800D2978 000CF8D8 38 84 00 0D */ addi r4, r4, 0xd /* 800D297C 000CF8DC 48 24 2E F1 */ bl __nw__FUlPCcPCc /* 800D2980 000CF8E0 7C 7C 1B 79 */ or. r28, r3, r3 /* 800D2984 000CF8E4 41 82 00 4C */ beq lbl_800D29D0 /* 800D2988 000CF8E8 7F 44 D3 78 */ mr r4, r26 /* 800D298C 000CF8EC 38 61 00 08 */ addi r3, r1, 8 /* 800D2990 000CF8F0 4B F7 A7 4D */ bl AllocateUniqueId__13CStateManagerFv /* 800D2994 000CF8F4 A0 01 00 08 */ lhz r0, 8(r1) /* 800D2998 000CF8F8 FC 20 F8 90 */ fmr f1, f31 /* 800D299C 000CF8FC FC 40 F0 90 */ fmr f2, f30 /* 800D29A0 000CF900 7F 83 E3 78 */ mr r3, r28 /* 800D29A4 000CF904 FC 60 E8 90 */ fmr f3, f29 /* 800D29A8 000CF908 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D29AC 000CF90C 7F 66 DB 78 */ mr r6, r27 /* 800D29B0 000CF910 7F E8 FB 78 */ mr r8, r31 /* 800D29B4 000CF914 7F C9 F3 78 */ mr r9, r30 /* 800D29B8 000CF918 7F AA EB 78 */ mr r10, r29 /* 800D29BC 000CF91C 38 81 00 0C */ addi r4, r1, 0xc /* 800D29C0 000CF920 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D29C4 000CF924 38 E1 00 20 */ addi r7, r1, 0x20 /* 800D29C8 000CF928 48 05 AD 4D */ bl "__ct__17CScriptCoverPointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUibfff" /* 800D29CC 000CF92C 7C 7C 1B 78 */ mr r28, r3 lbl_800D29D0: /* 800D29D0 000CF930 38 61 00 10 */ addi r3, r1, 0x10 /* 800D29D4 000CF934 48 26 B1 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D29D8 000CF938 7F 83 E3 78 */ mr r3, r28 lbl_800D29DC: /* 800D29DC 000CF93C CB E1 00 78 */ lfd f31, 0x78(r1) /* 800D29E0 000CF940 CB C1 00 70 */ lfd f30, 0x70(r1) /* 800D29E4 000CF944 CB A1 00 68 */ lfd f29, 0x68(r1) /* 800D29E8 000CF948 BB 41 00 50 */ lmw r26, 0x50(r1) /* 800D29EC 000CF94C 80 01 00 84 */ lwz r0, 0x84(r1) /* 800D29F0 000CF950 7C 08 03 A6 */ mtlr r0 /* 800D29F4 000CF954 38 21 00 80 */ addi r1, r1, 0x80 /* 800D29F8 000CF958 4E 80 00 20 */ blr .global LoadFlyingPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadFlyingPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D29FC 000CF95C 94 21 FD 00 */ stwu r1, -0x300(r1) /* 800D2A00 000CF960 7C 08 02 A6 */ mflr r0 /* 800D2A04 000CF964 90 01 03 04 */ stw r0, 0x304(r1) /* 800D2A08 000CF968 80 02 AF 50 */ lwz r0, lbl_805ACC70@sda21(r2) /* 800D2A0C 000CF96C BF 41 02 E8 */ stmw r26, 0x2e8(r1) /* 800D2A10 000CF970 7C BE 2B 78 */ mr r30, r5 /* 800D2A14 000CF974 7C 1E 00 00 */ cmpw r30, r0 /* 800D2A18 000CF978 7C 7C 1B 78 */ mr r28, r3 /* 800D2A1C 000CF97C 7C 9D 23 78 */ mr r29, r4 /* 800D2A20 000CF980 7C DF 33 78 */ mr r31, r6 /* 800D2A24 000CF984 40 80 00 0C */ bge lbl_800D2A30 /* 800D2A28 000CF988 38 60 00 00 */ li r3, 0 /* 800D2A2C 000CF98C 48 00 01 8C */ b lbl_800D2BB8 lbl_800D2A30: /* 800D2A30 000CF990 7F 85 E3 78 */ mr r5, r28 /* 800D2A34 000CF994 38 61 01 58 */ addi r3, r1, 0x158 /* 800D2A38 000CF998 48 00 7A 45 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D2A3C 000CF99C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D2A40 000CF9A0 7F A4 EB 78 */ mr r4, r29 /* 800D2A44 000CF9A4 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800D2A48 000CF9A8 38 61 00 18 */ addi r3, r1, 0x18 /* 800D2A4C 000CF9AC 38 A5 01 85 */ addi r5, r5, 0x185 /* 800D2A50 000CF9B0 48 03 2D D9 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800D2A54 000CF9B4 88 01 00 18 */ lbz r0, 0x18(r1) /* 800D2A58 000CF9B8 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 800D2A5C 000CF9BC 28 00 00 00 */ cmplwi r0, 0 /* 800D2A60 000CF9C0 40 82 00 14 */ bne lbl_800D2A74 /* 800D2A64 000CF9C4 38 61 01 58 */ addi r3, r1, 0x158 /* 800D2A68 000CF9C8 48 26 B0 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D2A6C 000CF9CC 38 60 00 00 */ li r3, 0 /* 800D2A70 000CF9D0 48 00 01 48 */ b lbl_800D2BB8 lbl_800D2A74: /* 800D2A74 000CF9D4 7F A4 EB 78 */ mr r4, r29 /* 800D2A78 000CF9D8 38 61 01 A4 */ addi r3, r1, 0x1a4 /* 800D2A7C 000CF9DC 48 03 2D FD */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800D2A80 000CF9E0 7F A4 EB 78 */ mr r4, r29 /* 800D2A84 000CF9E4 38 61 00 88 */ addi r3, r1, 0x88 /* 800D2A88 000CF9E8 48 00 72 ED */ bl LoadActorParameters__FR12CInputStream /* 800D2A8C 000CF9EC 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800D2A90 000CF9F0 38 81 00 88 */ addi r4, r1, 0x88 /* 800D2A94 000CF9F4 4B FF 2B 89 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D2A98 000CF9F8 38 61 00 88 */ addi r3, r1, 0x88 /* 800D2A9C 000CF9FC 38 80 FF FF */ li r4, -1 /* 800D2AA0 000CFA00 48 03 3B 69 */ bl __dt__16CLightParametersFv /* 800D2AA4 000CFA04 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 800D2AA8 000CFA08 80 81 02 90 */ lwz r4, 0x290(r1) /* 800D2AAC 000CFA0C 38 63 00 04 */ addi r3, r3, 4 /* 800D2AB0 000CFA10 48 26 92 1D */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D2AB4 000CFA14 3C 03 BE B2 */ addis r0, r3, 0xbeb2 /* 800D2AB8 000CFA18 28 00 43 53 */ cmplwi r0, 0x4353 /* 800D2ABC 000CFA1C 41 82 00 20 */ beq lbl_800D2ADC /* 800D2AC0 000CFA20 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800D2AC4 000CFA24 38 80 FF FF */ li r4, -1 /* 800D2AC8 000CFA28 48 03 3B 41 */ bl __dt__16CLightParametersFv /* 800D2ACC 000CFA2C 38 61 01 58 */ addi r3, r1, 0x158 /* 800D2AD0 000CFA30 48 26 B0 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D2AD4 000CFA34 38 60 00 00 */ li r3, 0 /* 800D2AD8 000CFA38 48 00 00 E0 */ b lbl_800D2BB8 lbl_800D2ADC: /* 800D2ADC 000CFA3C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D2AE0 000CFA40 3B 40 00 00 */ li r26, 0 /* 800D2AE4 000CFA44 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D2AE8 000CFA48 38 60 08 A8 */ li r3, 0x8a8 /* 800D2AEC 000CFA4C 38 84 00 0D */ addi r4, r4, 0xd /* 800D2AF0 000CFA50 38 A0 00 00 */ li r5, 0 /* 800D2AF4 000CFA54 48 24 2D 79 */ bl __nw__FUlPCcPCc /* 800D2AF8 000CFA58 7C 7B 1B 79 */ or. r27, r3, r3 /* 800D2AFC 000CFA5C 41 82 00 90 */ beq lbl_800D2B8C /* 800D2B00 000CFA60 80 E1 02 90 */ lwz r7, 0x290(r1) /* 800D2B04 000CFA64 38 A0 00 01 */ li r5, 1 /* 800D2B08 000CFA68 80 C1 02 94 */ lwz r6, 0x294(r1) /* 800D2B0C 000CFA6C 38 61 00 3C */ addi r3, r1, 0x3c /* 800D2B10 000CFA70 C0 41 01 98 */ lfs f2, 0x198(r1) /* 800D2B14 000CFA74 38 81 00 20 */ addi r4, r1, 0x20 /* 800D2B18 000CFA78 C0 21 01 9C */ lfs f1, 0x19c(r1) /* 800D2B1C 000CFA7C C0 01 01 A0 */ lfs f0, 0x1a0(r1) /* 800D2B20 000CFA80 80 01 02 98 */ lwz r0, 0x298(r1) /* 800D2B24 000CFA84 90 E1 00 20 */ stw r7, 0x20(r1) /* 800D2B28 000CFA88 90 C1 00 24 */ stw r6, 0x24(r1) /* 800D2B2C 000CFA8C D0 41 00 28 */ stfs f2, 0x28(r1) /* 800D2B30 000CFA90 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 800D2B34 000CFA94 D0 01 00 30 */ stfs f0, 0x30(r1) /* 800D2B38 000CFA98 98 A1 00 34 */ stb r5, 0x34(r1) /* 800D2B3C 000CFA9C 90 01 00 38 */ stw r0, 0x38(r1) /* 800D2B40 000CFAA0 48 04 40 15 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D2B44 000CFAA4 7F 84 E3 78 */ mr r4, r28 /* 800D2B48 000CFAA8 38 61 00 10 */ addi r3, r1, 0x10 /* 800D2B4C 000CFAAC 3B 40 00 01 */ li r26, 1 /* 800D2B50 000CFAB0 4B F7 A5 8D */ bl AllocateUniqueId__13CStateManagerFv /* 800D2B54 000CFAB4 A0 01 00 10 */ lhz r0, 0x10(r1) /* 800D2B58 000CFAB8 7F 63 DB 78 */ mr r3, r27 /* 800D2B5C 000CFABC 7F E6 FB 78 */ mr r6, r31 /* 800D2B60 000CFAC0 38 81 00 14 */ addi r4, r1, 0x14 /* 800D2B64 000CFAC4 B0 01 00 14 */ sth r0, 0x14(r1) /* 800D2B68 000CFAC8 38 A1 01 58 */ addi r5, r1, 0x158 /* 800D2B6C 000CFACC 38 E1 01 68 */ addi r7, r1, 0x168 /* 800D2B70 000CFAD0 39 01 00 3C */ addi r8, r1, 0x3c /* 800D2B74 000CFAD4 93 A1 00 08 */ stw r29, 8(r1) /* 800D2B78 000CFAD8 39 21 00 F0 */ addi r9, r1, 0xf0 /* 800D2B7C 000CFADC 39 41 01 A4 */ addi r10, r1, 0x1a4 /* 800D2B80 000CFAE0 93 C1 00 0C */ stw r30, 0xc(r1) /* 800D2B84 000CFAE4 48 12 B8 65 */ bl "__ct__13CFlyingPirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoffUiUiRC11CDamageInfoUsUiRC11CDamageInfoUiffUiRC11CDamageInfoifffUsUs" /* 800D2B88 000CFAE8 7C 7B 1B 78 */ mr r27, r3 lbl_800D2B8C: /* 800D2B8C 000CFAEC 7F 40 07 75 */ extsb. r0, r26 /* 800D2B90 000CFAF0 41 82 00 10 */ beq lbl_800D2BA0 /* 800D2B94 000CFAF4 38 61 00 3C */ addi r3, r1, 0x3c /* 800D2B98 000CFAF8 38 80 FF FF */ li r4, -1 /* 800D2B9C 000CFAFC 48 04 3E B1 */ bl __dt__10CModelDataFv lbl_800D2BA0: /* 800D2BA0 000CFB00 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800D2BA4 000CFB04 38 80 FF FF */ li r4, -1 /* 800D2BA8 000CFB08 48 03 3A 61 */ bl __dt__16CLightParametersFv /* 800D2BAC 000CFB0C 38 61 01 58 */ addi r3, r1, 0x158 /* 800D2BB0 000CFB10 48 26 AF 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D2BB4 000CFB14 7F 63 DB 78 */ mr r3, r27 lbl_800D2BB8: /* 800D2BB8 000CFB18 BB 41 02 E8 */ lmw r26, 0x2e8(r1) /* 800D2BBC 000CFB1C 80 01 03 04 */ lwz r0, 0x304(r1) /* 800D2BC0 000CFB20 7C 08 03 A6 */ mtlr r0 /* 800D2BC4 000CFB24 38 21 03 00 */ addi r1, r1, 0x300 /* 800D2BC8 000CFB28 4E 80 00 20 */ blr .global LoadSpacePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadSpacePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D2BCC 000CFB2C 94 21 FC B0 */ stwu r1, -0x350(r1) /* 800D2BD0 000CFB30 7C 08 02 A6 */ mflr r0 /* 800D2BD4 000CFB34 90 01 03 54 */ stw r0, 0x354(r1) /* 800D2BD8 000CFB38 80 02 97 B8 */ lwz r0, lbl_805AB4D8@sda21(r2) /* 800D2BDC 000CFB3C BF 41 03 38 */ stmw r26, 0x338(r1) /* 800D2BE0 000CFB40 7C BE 2B 78 */ mr r30, r5 /* 800D2BE4 000CFB44 7C 1E 00 00 */ cmpw r30, r0 /* 800D2BE8 000CFB48 7C 7C 1B 78 */ mr r28, r3 /* 800D2BEC 000CFB4C 7C 9D 23 78 */ mr r29, r4 /* 800D2BF0 000CFB50 7C DF 33 78 */ mr r31, r6 /* 800D2BF4 000CFB54 40 80 00 0C */ bge lbl_800D2C00 /* 800D2BF8 000CFB58 38 60 00 00 */ li r3, 0 /* 800D2BFC 000CFB5C 48 00 02 1C */ b lbl_800D2E18 lbl_800D2C00: /* 800D2C00 000CFB60 7F 85 E3 78 */ mr r5, r28 /* 800D2C04 000CFB64 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 800D2C08 000CFB68 48 00 78 75 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D2C0C 000CFB6C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D2C10 000CFB70 7F A4 EB 78 */ mr r4, r29 /* 800D2C14 000CFB74 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800D2C18 000CFB78 38 61 00 18 */ addi r3, r1, 0x18 /* 800D2C1C 000CFB7C 38 A5 01 92 */ addi r5, r5, 0x192 /* 800D2C20 000CFB80 48 03 2C 09 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800D2C24 000CFB84 88 01 00 18 */ lbz r0, 0x18(r1) /* 800D2C28 000CFB88 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 800D2C2C 000CFB8C 28 00 00 00 */ cmplwi r0, 0 /* 800D2C30 000CFB90 40 82 00 14 */ bne lbl_800D2C44 /* 800D2C34 000CFB94 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 800D2C38 000CFB98 48 26 AE A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D2C3C 000CFB9C 38 60 00 00 */ li r3, 0 /* 800D2C40 000CFBA0 48 00 01 D8 */ b lbl_800D2E18 lbl_800D2C44: /* 800D2C44 000CFBA4 7F A4 EB 78 */ mr r4, r29 /* 800D2C48 000CFBA8 38 61 01 F4 */ addi r3, r1, 0x1f4 /* 800D2C4C 000CFBAC 48 03 2C 2D */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800D2C50 000CFBB0 7F A4 EB 78 */ mr r4, r29 /* 800D2C54 000CFBB4 38 61 00 D8 */ addi r3, r1, 0xd8 /* 800D2C58 000CFBB8 48 00 71 1D */ bl LoadActorParameters__FR12CInputStream /* 800D2C5C 000CFBBC 38 61 01 40 */ addi r3, r1, 0x140 /* 800D2C60 000CFBC0 38 81 00 D8 */ addi r4, r1, 0xd8 /* 800D2C64 000CFBC4 4B FF 29 B9 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D2C68 000CFBC8 38 61 00 D8 */ addi r3, r1, 0xd8 /* 800D2C6C 000CFBCC 38 80 FF FF */ li r4, -1 /* 800D2C70 000CFBD0 48 03 39 99 */ bl __dt__16CLightParametersFv /* 800D2C74 000CFBD4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 800D2C78 000CFBD8 80 81 02 E0 */ lwz r4, 0x2e0(r1) /* 800D2C7C 000CFBDC 38 63 00 04 */ addi r3, r3, 4 /* 800D2C80 000CFBE0 48 26 90 4D */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D2C84 000CFBE4 3C 03 BE B2 */ addis r0, r3, 0xbeb2 /* 800D2C88 000CFBE8 28 00 43 53 */ cmplwi r0, 0x4353 /* 800D2C8C 000CFBEC 41 82 00 20 */ beq lbl_800D2CAC /* 800D2C90 000CFBF0 38 61 01 40 */ addi r3, r1, 0x140 /* 800D2C94 000CFBF4 38 80 FF FF */ li r4, -1 /* 800D2C98 000CFBF8 48 03 39 71 */ bl __dt__16CLightParametersFv /* 800D2C9C 000CFBFC 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 800D2CA0 000CFC00 48 26 AE 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D2CA4 000CFC04 38 60 00 00 */ li r3, 0 /* 800D2CA8 000CFC08 48 00 01 70 */ b lbl_800D2E18 lbl_800D2CAC: /* 800D2CAC 000CFC0C 80 01 02 E4 */ lwz r0, 0x2e4(r1) /* 800D2CB0 000CFC10 2C 00 00 00 */ cmpwi r0, 0 /* 800D2CB4 000CFC14 40 82 00 88 */ bne lbl_800D2D3C /* 800D2CB8 000CFC18 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D2CBC 000CFC1C 38 61 00 50 */ addi r3, r1, 0x50 /* 800D2CC0 000CFC20 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D2CC4 000CFC24 38 84 01 9F */ addi r4, r4, 0x19f /* 800D2CC8 000CFC28 4B F3 1F F1 */ bl string_l__4rstlFPCc /* 800D2CCC 000CFC2C 38 61 00 40 */ addi r3, r1, 0x40 /* 800D2CD0 000CFC30 38 81 00 50 */ addi r4, r1, 0x50 /* 800D2CD4 000CFC34 38 A1 01 A8 */ addi r5, r1, 0x1a8 /* 800D2CD8 000CFC38 4B F3 1F 85 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D2CDC 000CFC3C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D2CE0 000CFC40 38 61 00 30 */ addi r3, r1, 0x30 /* 800D2CE4 000CFC44 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D2CE8 000CFC48 38 84 01 AE */ addi r4, r4, 0x1ae /* 800D2CEC 000CFC4C 4B F3 1F CD */ bl string_l__4rstlFPCc /* 800D2CF0 000CFC50 38 61 00 20 */ addi r3, r1, 0x20 /* 800D2CF4 000CFC54 38 81 00 40 */ addi r4, r1, 0x40 /* 800D2CF8 000CFC58 38 A1 00 30 */ addi r5, r1, 0x30 /* 800D2CFC 000CFC5C 4B F3 1F 61 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D2D00 000CFC60 38 61 00 60 */ addi r3, r1, 0x60 /* 800D2D04 000CFC64 38 81 00 20 */ addi r4, r1, 0x20 /* 800D2D08 000CFC68 48 26 B4 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D2D0C 000CFC6C 38 61 00 20 */ addi r3, r1, 0x20 /* 800D2D10 000CFC70 48 26 AD D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D2D14 000CFC74 38 61 00 30 */ addi r3, r1, 0x30 /* 800D2D18 000CFC78 48 26 AD C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D2D1C 000CFC7C 38 61 00 40 */ addi r3, r1, 0x40 /* 800D2D20 000CFC80 48 26 AD C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D2D24 000CFC84 38 61 00 50 */ addi r3, r1, 0x50 /* 800D2D28 000CFC88 48 26 AD B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D2D2C 000CFC8C 38 00 00 02 */ li r0, 2 /* 800D2D30 000CFC90 38 61 00 60 */ addi r3, r1, 0x60 /* 800D2D34 000CFC94 90 01 02 E4 */ stw r0, 0x2e4(r1) /* 800D2D38 000CFC98 48 26 AD A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_800D2D3C: /* 800D2D3C 000CFC9C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D2D40 000CFCA0 3B 40 00 00 */ li r26, 0 /* 800D2D44 000CFCA4 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D2D48 000CFCA8 38 60 08 E0 */ li r3, 0x8e0 /* 800D2D4C 000CFCAC 38 84 00 0D */ addi r4, r4, 0xd /* 800D2D50 000CFCB0 38 A0 00 00 */ li r5, 0 /* 800D2D54 000CFCB4 48 24 2B 19 */ bl __nw__FUlPCcPCc /* 800D2D58 000CFCB8 7C 7B 1B 79 */ or. r27, r3, r3 /* 800D2D5C 000CFCBC 41 82 00 90 */ beq lbl_800D2DEC /* 800D2D60 000CFCC0 80 E1 02 E0 */ lwz r7, 0x2e0(r1) /* 800D2D64 000CFCC4 38 A0 00 01 */ li r5, 1 /* 800D2D68 000CFCC8 80 C1 02 E4 */ lwz r6, 0x2e4(r1) /* 800D2D6C 000CFCCC 38 61 00 8C */ addi r3, r1, 0x8c /* 800D2D70 000CFCD0 C0 41 01 E8 */ lfs f2, 0x1e8(r1) /* 800D2D74 000CFCD4 38 81 00 70 */ addi r4, r1, 0x70 /* 800D2D78 000CFCD8 C0 21 01 EC */ lfs f1, 0x1ec(r1) /* 800D2D7C 000CFCDC C0 01 01 F0 */ lfs f0, 0x1f0(r1) /* 800D2D80 000CFCE0 80 01 02 E8 */ lwz r0, 0x2e8(r1) /* 800D2D84 000CFCE4 90 E1 00 70 */ stw r7, 0x70(r1) /* 800D2D88 000CFCE8 90 C1 00 74 */ stw r6, 0x74(r1) /* 800D2D8C 000CFCEC D0 41 00 78 */ stfs f2, 0x78(r1) /* 800D2D90 000CFCF0 D0 21 00 7C */ stfs f1, 0x7c(r1) /* 800D2D94 000CFCF4 D0 01 00 80 */ stfs f0, 0x80(r1) /* 800D2D98 000CFCF8 98 A1 00 84 */ stb r5, 0x84(r1) /* 800D2D9C 000CFCFC 90 01 00 88 */ stw r0, 0x88(r1) /* 800D2DA0 000CFD00 48 04 3D B5 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D2DA4 000CFD04 7F 84 E3 78 */ mr r4, r28 /* 800D2DA8 000CFD08 38 61 00 10 */ addi r3, r1, 0x10 /* 800D2DAC 000CFD0C 3B 40 00 01 */ li r26, 1 /* 800D2DB0 000CFD10 4B F7 A3 2D */ bl AllocateUniqueId__13CStateManagerFv /* 800D2DB4 000CFD14 A0 01 00 10 */ lhz r0, 0x10(r1) /* 800D2DB8 000CFD18 7F 63 DB 78 */ mr r3, r27 /* 800D2DBC 000CFD1C 7F E6 FB 78 */ mr r6, r31 /* 800D2DC0 000CFD20 38 81 00 14 */ addi r4, r1, 0x14 /* 800D2DC4 000CFD24 B0 01 00 14 */ sth r0, 0x14(r1) /* 800D2DC8 000CFD28 38 A1 01 A8 */ addi r5, r1, 0x1a8 /* 800D2DCC 000CFD2C 38 E1 01 B8 */ addi r7, r1, 0x1b8 /* 800D2DD0 000CFD30 39 01 00 8C */ addi r8, r1, 0x8c /* 800D2DD4 000CFD34 93 A1 00 08 */ stw r29, 8(r1) /* 800D2DD8 000CFD38 39 21 01 40 */ addi r9, r1, 0x140 /* 800D2DDC 000CFD3C 39 41 01 F4 */ addi r10, r1, 0x1f4 /* 800D2DE0 000CFD40 93 C1 00 0C */ stw r30, 0xc(r1) /* 800D2DE4 000CFD44 48 05 75 65 */ bl "__ct__12CSpacePirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoiififfUiUiRC11CDamageInfoUsRC11CDamageInfoiUi11CDamageInfoiUsffUsfi" /* 800D2DE8 000CFD48 7C 7B 1B 78 */ mr r27, r3 lbl_800D2DEC: /* 800D2DEC 000CFD4C 7F 40 07 75 */ extsb. r0, r26 /* 800D2DF0 000CFD50 41 82 00 10 */ beq lbl_800D2E00 /* 800D2DF4 000CFD54 38 61 00 8C */ addi r3, r1, 0x8c /* 800D2DF8 000CFD58 38 80 FF FF */ li r4, -1 /* 800D2DFC 000CFD5C 48 04 3C 51 */ bl __dt__10CModelDataFv lbl_800D2E00: /* 800D2E00 000CFD60 38 61 01 40 */ addi r3, r1, 0x140 /* 800D2E04 000CFD64 38 80 FF FF */ li r4, -1 /* 800D2E08 000CFD68 48 03 38 01 */ bl __dt__16CLightParametersFv /* 800D2E0C 000CFD6C 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 800D2E10 000CFD70 48 26 AC D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D2E14 000CFD74 7F 63 DB 78 */ mr r3, r27 lbl_800D2E18: /* 800D2E18 000CFD78 BB 41 03 38 */ lmw r26, 0x338(r1) /* 800D2E1C 000CFD7C 80 01 03 54 */ lwz r0, 0x354(r1) /* 800D2E20 000CFD80 7C 08 03 A6 */ mtlr r0 /* 800D2E24 000CFD84 38 21 03 50 */ addi r1, r1, 0x350 /* 800D2E28 000CFD88 4E 80 00 20 */ blr .global LoadMapStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadMapStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D2E2C 000CFD8C 38 60 00 00 */ li r3, 0 /* 800D2E30 000CFD90 4E 80 00 20 */ blr .global LoadFogVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadFogVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D2E34 000CFD94 94 21 FF 00 */ stwu r1, -0x100(r1) /* 800D2E38 000CFD98 7C 08 02 A6 */ mflr r0 /* 800D2E3C 000CFD9C 90 01 01 04 */ stw r0, 0x104(r1) /* 800D2E40 000CFDA0 DB E1 00 F0 */ stfd f31, 0xf0(r1) /* 800D2E44 000CFDA4 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 /* 800D2E48 000CFDA8 DB C1 00 E0 */ stfd f30, 0xe0(r1) /* 800D2E4C 000CFDAC F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 /* 800D2E50 000CFDB0 BF 41 00 C8 */ stmw r26, 0xc8(r1) /* 800D2E54 000CFDB4 2C 05 00 07 */ cmpwi r5, 7 /* 800D2E58 000CFDB8 7C 7B 1B 78 */ mr r27, r3 /* 800D2E5C 000CFDBC 7C 9C 23 78 */ mr r28, r4 /* 800D2E60 000CFDC0 7C DE 33 78 */ mr r30, r6 /* 800D2E64 000CFDC4 41 82 00 0C */ beq lbl_800D2E70 /* 800D2E68 000CFDC8 38 60 00 00 */ li r3, 0 /* 800D2E6C 000CFDCC 48 00 01 E4 */ b lbl_800D3050 lbl_800D2E70: /* 800D2E70 000CFDD0 4B F7 23 75 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D2E74 000CFDD4 7C 64 1B 78 */ mr r4, r3 /* 800D2E78 000CFDD8 38 61 00 6C */ addi r3, r1, 0x6c /* 800D2E7C 000CFDDC 48 26 B2 E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D2E80 000CFDE0 7F 84 E3 78 */ mr r4, r28 /* 800D2E84 000CFDE4 38 61 00 60 */ addi r3, r1, 0x60 /* 800D2E88 000CFDE8 48 24 1D 05 */ bl __ct__9CVector3fFR12CInputStream /* 800D2E8C 000CFDEC 7F 84 E3 78 */ mr r4, r28 /* 800D2E90 000CFDF0 38 61 00 54 */ addi r3, r1, 0x54 /* 800D2E94 000CFDF4 48 24 1C F9 */ bl __ct__9CVector3fFR12CInputStream /* 800D2E98 000CFDF8 7F 83 E3 78 */ mr r3, r28 /* 800D2E9C 000CFDFC 48 26 BD 8D */ bl ReadFloat__12CInputStreamFv /* 800D2EA0 000CFE00 FF E0 08 90 */ fmr f31, f1 /* 800D2EA4 000CFE04 7F 83 E3 78 */ mr r3, r28 /* 800D2EA8 000CFE08 48 26 BD 81 */ bl ReadFloat__12CInputStreamFv /* 800D2EAC 000CFE0C FF C0 08 90 */ fmr f30, f1 /* 800D2EB0 000CFE10 7F 84 E3 78 */ mr r4, r28 /* 800D2EB4 000CFE14 38 61 00 38 */ addi r3, r1, 0x38 /* 800D2EB8 000CFE18 48 29 05 95 */ bl __ct__6CColorFR12CInputStream /* 800D2EBC 000CFE1C 7F 83 E3 78 */ mr r3, r28 /* 800D2EC0 000CFE20 48 26 BE 1D */ bl ReadBool__12CInputStreamFv /* 800D2EC4 000CFE24 C0 41 00 54 */ lfs f2, 0x54(r1) /* 800D2EC8 000CFE28 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D2ECC 000CFE2C C0 21 00 58 */ lfs f1, 0x58(r1) /* 800D2ED0 000CFE30 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D2ED4 000CFE34 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 800D2ED8 000CFE38 FC 40 12 10 */ fabs f2, f2 /* 800D2EDC 000CFE3C FC 20 0A 10 */ fabs f1, f1 /* 800D2EE0 000CFE40 7C 7D 1B 78 */ mr r29, r3 /* 800D2EE4 000CFE44 FC 00 02 10 */ fabs f0, f0 /* 800D2EE8 000CFE48 C0 62 8E 60 */ lfs f3, lbl_805AAB80@sda21(r2) /* 800D2EEC 000CFE4C FC 40 10 18 */ frsp f2, f2 /* 800D2EF0 000CFE50 FC 20 08 18 */ frsp f1, f1 /* 800D2EF4 000CFE54 FC 00 00 18 */ frsp f0, f0 /* 800D2EF8 000CFE58 38 84 00 0D */ addi r4, r4, 0xd /* 800D2EFC 000CFE5C EC 43 00 B2 */ fmuls f2, f3, f2 /* 800D2F00 000CFE60 3B 40 00 00 */ li r26, 0 /* 800D2F04 000CFE64 EC 23 00 72 */ fmuls f1, f3, f1 /* 800D2F08 000CFE68 EC 03 00 32 */ fmuls f0, f3, f0 /* 800D2F0C 000CFE6C D0 41 00 54 */ stfs f2, 0x54(r1) /* 800D2F10 000CFE70 38 60 01 F8 */ li r3, 0x1f8 /* 800D2F14 000CFE74 38 A0 00 00 */ li r5, 0 /* 800D2F18 000CFE78 D0 21 00 58 */ stfs f1, 0x58(r1) /* 800D2F1C 000CFE7C D0 01 00 5C */ stfs f0, 0x5c(r1) /* 800D2F20 000CFE80 48 24 29 4D */ bl __nw__FUlPCcPCc /* 800D2F24 000CFE84 7C 7F 1B 79 */ or. r31, r3, r3 /* 800D2F28 000CFE88 41 82 01 0C */ beq lbl_800D3034 /* 800D2F2C 000CFE8C 88 01 00 40 */ lbz r0, 0x40(r1) /* 800D2F30 000CFE90 38 C0 00 00 */ li r6, 0 /* 800D2F34 000CFE94 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 800D2F38 000CFE98 C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) /* 800D2F3C 000CFE9C 98 01 00 40 */ stb r0, 0x40(r1) /* 800D2F40 000CFEA0 54 04 06 3E */ clrlwi r4, r0, 0x18 /* 800D2F44 000CFEA4 50 C4 36 72 */ rlwimi r4, r6, 6, 0x19, 0x19 /* 800D2F48 000CFEA8 38 E0 FF FF */ li r7, -1 /* 800D2F4C 000CFEAC 88 01 00 94 */ lbz r0, 0x94(r1) /* 800D2F50 000CFEB0 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 /* 800D2F54 000CFEB4 54 85 06 3E */ clrlwi r5, r4, 0x18 /* 800D2F58 000CFEB8 98 81 00 40 */ stb r4, 0x40(r1) /* 800D2F5C 000CFEBC 50 C5 2E B4 */ rlwimi r5, r6, 5, 0x1a, 0x1a /* 800D2F60 000CFEC0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D2F64 000CFEC4 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D2F68 000CFEC8 90 E1 00 3C */ stw r7, 0x3c(r1) /* 800D2F6C 000CFECC 38 61 00 44 */ addi r3, r1, 0x44 /* 800D2F70 000CFED0 98 A1 00 40 */ stb r5, 0x40(r1) /* 800D2F74 000CFED4 38 84 00 74 */ addi r4, r4, 0x74 /* 800D2F78 000CFED8 90 E1 00 7C */ stw r7, 0x7c(r1) /* 800D2F7C 000CFEDC 98 A1 00 80 */ stb r5, 0x80(r1) /* 800D2F80 000CFEE0 D0 01 00 84 */ stfs f0, 0x84(r1) /* 800D2F84 000CFEE4 D0 01 00 88 */ stfs f0, 0x88(r1) /* 800D2F88 000CFEE8 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 800D2F8C 000CFEEC D0 01 00 90 */ stfs f0, 0x90(r1) /* 800D2F90 000CFEF0 98 01 00 94 */ stb r0, 0x94(r1) /* 800D2F94 000CFEF4 4B F3 1D 25 */ bl string_l__4rstlFPCc /* 800D2F98 000CFEF8 7F 64 DB 78 */ mr r4, r27 /* 800D2F9C 000CFEFC 38 61 00 30 */ addi r3, r1, 0x30 /* 800D2FA0 000CFF00 3B 40 00 01 */ li r26, 1 /* 800D2FA4 000CFF04 4B F7 A1 39 */ bl AllocateUniqueId__13CStateManagerFv /* 800D2FA8 000CFF08 A0 01 00 30 */ lhz r0, 0x30(r1) /* 800D2FAC 000CFF0C 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 800D2FB0 000CFF10 38 83 66 A0 */ addi r4, r3, sZeroVector__9CVector3f@l /* 800D2FB4 000CFF14 A3 82 C5 FC */ lhz r28, kInternalInvalidSfxId__11CSfxManager@sda21(r2) /* 800D2FB8 000CFF18 B0 01 00 34 */ sth r0, 0x34(r1) /* 800D2FBC 000CFF1C 38 61 00 98 */ addi r3, r1, 0x98 /* 800D2FC0 000CFF20 38 A1 00 60 */ addi r5, r1, 0x60 /* 800D2FC4 000CFF24 48 00 76 21 */ bl ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f /* 800D2FC8 000CFF28 38 01 00 38 */ addi r0, r1, 0x38 /* 800D2FCC 000CFF2C C0 62 8E 28 */ lfs f3, lbl_805AAB48@sda21(r2) /* 800D2FD0 000CFF30 90 01 00 08 */ stw r0, 8(r1) /* 800D2FD4 000CFF34 57 A3 06 3E */ clrlwi r3, r29, 0x18 /* 800D2FD8 000CFF38 38 81 00 7C */ addi r4, r1, 0x7c /* 800D2FDC 000CFF3C 38 00 FF FF */ li r0, -1 /* 800D2FE0 000CFF40 90 61 00 0C */ stw r3, 0xc(r1) /* 800D2FE4 000CFF44 FC 20 F8 90 */ fmr f1, f31 /* 800D2FE8 000CFF48 FC 40 F0 90 */ fmr f2, f30 /* 800D2FEC 000CFF4C 7F E3 FB 78 */ mr r3, r31 /* 800D2FF0 000CFF50 90 81 00 10 */ stw r4, 0x10(r1) /* 800D2FF4 000CFF54 FC 80 18 90 */ fmr f4, f3 /* 800D2FF8 000CFF58 7F C6 F3 78 */ mr r6, r30 /* 800D2FFC 000CFF5C 90 01 00 14 */ stw r0, 0x14(r1) /* 800D3000 000CFF60 38 81 00 34 */ addi r4, r1, 0x34 /* 800D3004 000CFF64 38 A1 00 6C */ addi r5, r1, 0x6c /* 800D3008 000CFF68 90 01 00 18 */ stw r0, 0x18(r1) /* 800D300C 000CFF6C 38 E1 00 98 */ addi r7, r1, 0x98 /* 800D3010 000CFF70 39 21 00 44 */ addi r9, r1, 0x44 /* 800D3014 000CFF74 39 41 00 54 */ addi r10, r1, 0x54 /* 800D3018 000CFF78 90 01 00 1C */ stw r0, 0x1c(r1) /* 800D301C 000CFF7C 39 00 00 2F */ li r8, 0x2f /* 800D3020 000CFF80 93 81 00 20 */ stw r28, 0x20(r1) /* 800D3024 000CFF84 93 81 00 24 */ stw r28, 0x24(r1) /* 800D3028 000CFF88 93 81 00 28 */ stw r28, 0x28(r1) /* 800D302C 000CFF8C 48 07 FB 95 */ bl "__ct__22CScriptSpecialFunctionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fQ222CScriptSpecialFunction16ESpecialFunctionRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffffRC9CVector3fRC6CColorbRC11CDamageInfoiiQ212CPlayerState9EItemTypeUsUsUs" /* 800D3030 000CFF90 7C 7F 1B 78 */ mr r31, r3 lbl_800D3034: /* 800D3034 000CFF94 7F 40 07 75 */ extsb. r0, r26 /* 800D3038 000CFF98 41 82 00 0C */ beq lbl_800D3044 /* 800D303C 000CFF9C 38 61 00 44 */ addi r3, r1, 0x44 /* 800D3040 000CFFA0 48 26 AA A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" lbl_800D3044: /* 800D3044 000CFFA4 38 61 00 6C */ addi r3, r1, 0x6c /* 800D3048 000CFFA8 48 26 AA 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D304C 000CFFAC 7F E3 FB 78 */ mr r3, r31 lbl_800D3050: /* 800D3050 000CFFB0 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 /* 800D3054 000CFFB4 CB E1 00 F0 */ lfd f31, 0xf0(r1) /* 800D3058 000CFFB8 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 /* 800D305C 000CFFBC CB C1 00 E0 */ lfd f30, 0xe0(r1) /* 800D3060 000CFFC0 BB 41 00 C8 */ lmw r26, 0xc8(r1) /* 800D3064 000CFFC4 80 01 01 04 */ lwz r0, 0x104(r1) /* 800D3068 000CFFC8 7C 08 03 A6 */ mtlr r0 /* 800D306C 000CFFCC 38 21 01 00 */ addi r1, r1, 0x100 /* 800D3070 000CFFD0 4E 80 00 20 */ blr .global LoadSpecialFunction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadSpecialFunction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D3074 000CFFD4 94 21 FE E0 */ stwu r1, -0x120(r1) /* 800D3078 000CFFD8 7C 08 02 A6 */ mflr r0 /* 800D307C 000CFFDC 90 01 01 24 */ stw r0, 0x124(r1) /* 800D3080 000CFFE0 DB E1 01 10 */ stfd f31, 0x110(r1) /* 800D3084 000CFFE4 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 /* 800D3088 000CFFE8 DB C1 01 00 */ stfd f30, 0x100(r1) /* 800D308C 000CFFEC F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 /* 800D3090 000CFFF0 DB A1 00 F0 */ stfd f29, 0xf0(r1) /* 800D3094 000CFFF4 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 /* 800D3098 000CFFF8 DB 81 00 E0 */ stfd f28, 0xe0(r1) /* 800D309C 000CFFFC F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 /* 800D30A0 000D0000 BE A1 00 B4 */ stmw r21, 0xb4(r1) /* 800D30A4 000D0004 2C 05 00 0F */ cmpwi r5, 0xf /* 800D30A8 000D0008 7C 75 1B 78 */ mr r21, r3 /* 800D30AC 000D000C 7C 97 23 78 */ mr r23, r4 /* 800D30B0 000D0010 7C D6 33 78 */ mr r22, r6 /* 800D30B4 000D0014 41 82 00 0C */ beq lbl_800D30C0 /* 800D30B8 000D0018 38 60 00 00 */ li r3, 0 /* 800D30BC 000D001C 48 00 01 F8 */ b lbl_800D32B4 lbl_800D30C0: /* 800D30C0 000D0020 7E A5 AB 78 */ mr r5, r21 /* 800D30C4 000D0024 38 61 00 70 */ addi r3, r1, 0x70 /* 800D30C8 000D0028 48 00 73 FD */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800D30CC 000D002C 7E E3 BB 78 */ mr r3, r23 /* 800D30D0 000D0030 48 26 BB B5 */ bl ReadLong__12CInputStreamFv /* 800D30D4 000D0034 7C 7B 1B 78 */ mr r27, r3 /* 800D30D8 000D0038 7E E4 BB 78 */ mr r4, r23 /* 800D30DC 000D003C 38 61 00 44 */ addi r3, r1, 0x44 /* 800D30E0 000D0040 38 A1 00 30 */ addi r5, r1, 0x30 /* 800D30E4 000D0044 48 26 B2 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" /* 800D30E8 000D0048 7E E3 BB 78 */ mr r3, r23 /* 800D30EC 000D004C 48 26 BB 3D */ bl ReadFloat__12CInputStreamFv /* 800D30F0 000D0050 FF E0 08 90 */ fmr f31, f1 /* 800D30F4 000D0054 7E E3 BB 78 */ mr r3, r23 /* 800D30F8 000D0058 48 26 BB 31 */ bl ReadFloat__12CInputStreamFv /* 800D30FC 000D005C FF C0 08 90 */ fmr f30, f1 /* 800D3100 000D0060 7E E3 BB 78 */ mr r3, r23 /* 800D3104 000D0064 48 26 BB 25 */ bl ReadFloat__12CInputStreamFv /* 800D3108 000D0068 FF A0 08 90 */ fmr f29, f1 /* 800D310C 000D006C 7E E3 BB 78 */ mr r3, r23 /* 800D3110 000D0070 48 26 BB 75 */ bl ReadLong__12CInputStreamFv /* 800D3114 000D0074 7C 7C 1B 78 */ mr r28, r3 /* 800D3118 000D0078 7E E3 BB 78 */ mr r3, r23 /* 800D311C 000D007C 48 26 BB 69 */ bl ReadLong__12CInputStreamFv /* 800D3120 000D0080 7C 7D 1B 78 */ mr r29, r3 /* 800D3124 000D0084 7E E3 BB 78 */ mr r3, r23 /* 800D3128 000D0088 48 26 BB 5D */ bl ReadLong__12CInputStreamFv /* 800D312C 000D008C 7C 7E 1B 78 */ mr r30, r3 /* 800D3130 000D0090 7E E3 BB 78 */ mr r3, r23 /* 800D3134 000D0094 48 26 BB A9 */ bl ReadBool__12CInputStreamFv /* 800D3138 000D0098 7C 7F 1B 78 */ mr r31, r3 /* 800D313C 000D009C 7E E3 BB 78 */ mr r3, r23 /* 800D3140 000D00A0 48 26 BA E9 */ bl ReadFloat__12CInputStreamFv /* 800D3144 000D00A4 FF 80 08 90 */ fmr f28, f1 /* 800D3148 000D00A8 7E E3 BB 78 */ mr r3, r23 /* 800D314C 000D00AC 48 26 BB 39 */ bl ReadLong__12CInputStreamFv /* 800D3150 000D00B0 54 79 04 3E */ clrlwi r25, r3, 0x10 /* 800D3154 000D00B4 7E E3 BB 78 */ mr r3, r23 /* 800D3158 000D00B8 48 26 BB 2D */ bl ReadLong__12CInputStreamFv /* 800D315C 000D00BC 54 78 04 3E */ clrlwi r24, r3, 0x10 /* 800D3160 000D00C0 7E E3 BB 78 */ mr r3, r23 /* 800D3164 000D00C4 48 26 BB 21 */ bl ReadLong__12CInputStreamFv /* 800D3168 000D00C8 2C 1B 00 2F */ cmpwi r27, 0x2f /* 800D316C 000D00CC 54 77 04 3E */ clrlwi r23, r3, 0x10 /* 800D3170 000D00D0 40 82 00 1C */ bne lbl_800D318C /* 800D3174 000D00D4 38 61 00 44 */ addi r3, r1, 0x44 /* 800D3178 000D00D8 48 26 A9 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D317C 000D00DC 38 61 00 70 */ addi r3, r1, 0x70 /* 800D3180 000D00E0 48 26 A9 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D3184 000D00E4 38 60 00 00 */ li r3, 0 /* 800D3188 000D00E8 48 00 01 2C */ b lbl_800D32B4 lbl_800D318C: /* 800D318C 000D00EC 2C 1B 00 30 */ cmpwi r27, 0x30 /* 800D3190 000D00F0 40 82 00 1C */ bne lbl_800D31AC /* 800D3194 000D00F4 38 61 00 44 */ addi r3, r1, 0x44 /* 800D3198 000D00F8 48 26 A9 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D319C 000D00FC 38 61 00 70 */ addi r3, r1, 0x70 /* 800D31A0 000D0100 48 26 A9 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D31A4 000D0104 38 60 00 00 */ li r3, 0 /* 800D31A8 000D0108 48 00 01 0C */ b lbl_800D32B4 lbl_800D31AC: /* 800D31AC 000D010C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D31B0 000D0110 38 60 01 F8 */ li r3, 0x1f8 /* 800D31B4 000D0114 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D31B8 000D0118 38 A0 00 00 */ li r5, 0 /* 800D31BC 000D011C 38 84 00 0D */ addi r4, r4, 0xd /* 800D31C0 000D0120 48 24 26 AD */ bl __nw__FUlPCcPCc /* 800D31C4 000D0124 7C 7A 1B 79 */ or. r26, r3, r3 /* 800D31C8 000D0128 41 82 00 D8 */ beq lbl_800D32A0 /* 800D31CC 000D012C 88 01 00 40 */ lbz r0, 0x40(r1) /* 800D31D0 000D0130 38 80 00 00 */ li r4, 0 /* 800D31D4 000D0134 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 800D31D8 000D0138 C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) /* 800D31DC 000D013C 98 01 00 40 */ stb r0, 0x40(r1) /* 800D31E0 000D0140 54 03 06 3E */ clrlwi r3, r0, 0x18 /* 800D31E4 000D0144 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 /* 800D31E8 000D0148 38 C0 FF FF */ li r6, -1 /* 800D31EC 000D014C 88 01 00 6C */ lbz r0, 0x6c(r1) /* 800D31F0 000D0150 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 800D31F4 000D0154 54 65 06 3E */ clrlwi r5, r3, 0x18 /* 800D31F8 000D0158 98 61 00 40 */ stb r3, 0x40(r1) /* 800D31FC 000D015C 50 85 2E B4 */ rlwimi r5, r4, 5, 0x1a, 0x1a /* 800D3200 000D0160 7E A4 AB 78 */ mr r4, r21 /* 800D3204 000D0164 90 C1 00 3C */ stw r6, 0x3c(r1) /* 800D3208 000D0168 38 61 00 34 */ addi r3, r1, 0x34 /* 800D320C 000D016C 98 A1 00 40 */ stb r5, 0x40(r1) /* 800D3210 000D0170 90 C1 00 54 */ stw r6, 0x54(r1) /* 800D3214 000D0174 98 A1 00 58 */ stb r5, 0x58(r1) /* 800D3218 000D0178 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 800D321C 000D017C D0 01 00 60 */ stfs f0, 0x60(r1) /* 800D3220 000D0180 D0 01 00 64 */ stfs f0, 0x64(r1) /* 800D3224 000D0184 D0 01 00 68 */ stfs f0, 0x68(r1) /* 800D3228 000D0188 98 01 00 6C */ stb r0, 0x6c(r1) /* 800D322C 000D018C 4B F7 9E B1 */ bl AllocateUniqueId__13CStateManagerFv /* 800D3230 000D0190 A0 01 00 34 */ lhz r0, 0x34(r1) /* 800D3234 000D0194 B0 01 00 38 */ sth r0, 0x38(r1) /* 800D3238 000D0198 48 27 6D 7D */ bl Black__6CColorFv /* 800D323C 000D019C 90 61 00 08 */ stw r3, 8(r1) /* 800D3240 000D01A0 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 800D3244 000D01A4 39 43 66 A0 */ addi r10, r3, sZeroVector__9CVector3f@l /* 800D3248 000D01A8 38 01 00 54 */ addi r0, r1, 0x54 /* 800D324C 000D01AC 93 E1 00 0C */ stw r31, 0xc(r1) /* 800D3250 000D01B0 FC 20 F8 90 */ fmr f1, f31 /* 800D3254 000D01B4 FC 40 F0 90 */ fmr f2, f30 /* 800D3258 000D01B8 7F 43 D3 78 */ mr r3, r26 /* 800D325C 000D01BC 90 01 00 10 */ stw r0, 0x10(r1) /* 800D3260 000D01C0 FC 60 E8 90 */ fmr f3, f29 /* 800D3264 000D01C4 FC 80 E0 90 */ fmr f4, f28 /* 800D3268 000D01C8 93 81 00 14 */ stw r28, 0x14(r1) /* 800D326C 000D01CC 7E C6 B3 78 */ mr r6, r22 /* 800D3270 000D01D0 7F 68 DB 78 */ mr r8, r27 /* 800D3274 000D01D4 93 A1 00 18 */ stw r29, 0x18(r1) /* 800D3278 000D01D8 38 81 00 38 */ addi r4, r1, 0x38 /* 800D327C 000D01DC 38 A1 00 70 */ addi r5, r1, 0x70 /* 800D3280 000D01E0 38 E1 00 80 */ addi r7, r1, 0x80 /* 800D3284 000D01E4 93 C1 00 1C */ stw r30, 0x1c(r1) /* 800D3288 000D01E8 39 21 00 44 */ addi r9, r1, 0x44 /* 800D328C 000D01EC 93 21 00 20 */ stw r25, 0x20(r1) /* 800D3290 000D01F0 93 01 00 24 */ stw r24, 0x24(r1) /* 800D3294 000D01F4 92 E1 00 28 */ stw r23, 0x28(r1) /* 800D3298 000D01F8 48 07 F9 29 */ bl "__ct__22CScriptSpecialFunctionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fQ222CScriptSpecialFunction16ESpecialFunctionRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffffRC9CVector3fRC6CColorbRC11CDamageInfoiiQ212CPlayerState9EItemTypeUsUsUs" /* 800D329C 000D01FC 7C 7A 1B 78 */ mr r26, r3 lbl_800D32A0: /* 800D32A0 000D0200 38 61 00 44 */ addi r3, r1, 0x44 /* 800D32A4 000D0204 48 26 A8 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D32A8 000D0208 38 61 00 70 */ addi r3, r1, 0x70 /* 800D32AC 000D020C 48 26 A8 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D32B0 000D0210 7F 43 D3 78 */ mr r3, r26 lbl_800D32B4: /* 800D32B4 000D0214 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 /* 800D32B8 000D0218 CB E1 01 10 */ lfd f31, 0x110(r1) /* 800D32BC 000D021C E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 /* 800D32C0 000D0220 CB C1 01 00 */ lfd f30, 0x100(r1) /* 800D32C4 000D0224 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 /* 800D32C8 000D0228 CB A1 00 F0 */ lfd f29, 0xf0(r1) /* 800D32CC 000D022C E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 /* 800D32D0 000D0230 CB 81 00 E0 */ lfd f28, 0xe0(r1) /* 800D32D4 000D0234 BA A1 00 B4 */ lmw r21, 0xb4(r1) /* 800D32D8 000D0238 80 01 01 24 */ lwz r0, 0x124(r1) /* 800D32DC 000D023C 7C 08 03 A6 */ mtlr r0 /* 800D32E0 000D0240 38 21 01 20 */ addi r1, r1, 0x120 /* 800D32E4 000D0244 4E 80 00 20 */ blr .global LoadActorRotate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadActorRotate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D32E8 000D0248 94 21 FF B0 */ stwu r1, -0x50(r1) /* 800D32EC 000D024C 7C 08 02 A6 */ mflr r0 /* 800D32F0 000D0250 2C 05 00 06 */ cmpwi r5, 6 /* 800D32F4 000D0254 90 01 00 54 */ stw r0, 0x54(r1) /* 800D32F8 000D0258 DB E1 00 48 */ stfd f31, 0x48(r1) /* 800D32FC 000D025C BF 41 00 30 */ stmw r26, 0x30(r1) /* 800D3300 000D0260 7C 7A 1B 78 */ mr r26, r3 /* 800D3304 000D0264 7C 9C 23 78 */ mr r28, r4 /* 800D3308 000D0268 7C DB 33 78 */ mr r27, r6 /* 800D330C 000D026C 41 82 00 0C */ beq lbl_800D3318 /* 800D3310 000D0270 38 60 00 00 */ li r3, 0 /* 800D3314 000D0274 48 00 00 BC */ b lbl_800D33D0 lbl_800D3318: /* 800D3318 000D0278 4B F7 1E CD */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D331C 000D027C 7C 64 1B 78 */ mr r4, r3 /* 800D3320 000D0280 38 61 00 1C */ addi r3, r1, 0x1c /* 800D3324 000D0284 48 26 AE 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D3328 000D0288 7F 84 E3 78 */ mr r4, r28 /* 800D332C 000D028C 38 61 00 10 */ addi r3, r1, 0x10 /* 800D3330 000D0290 48 24 18 5D */ bl __ct__9CVector3fFR12CInputStream /* 800D3334 000D0294 7F 83 E3 78 */ mr r3, r28 /* 800D3338 000D0298 48 26 B8 F1 */ bl ReadFloat__12CInputStreamFv /* 800D333C 000D029C FF E0 08 90 */ fmr f31, f1 /* 800D3340 000D02A0 7F 83 E3 78 */ mr r3, r28 /* 800D3344 000D02A4 48 26 B9 99 */ bl ReadBool__12CInputStreamFv /* 800D3348 000D02A8 7C 7F 1B 78 */ mr r31, r3 /* 800D334C 000D02AC 7F 83 E3 78 */ mr r3, r28 /* 800D3350 000D02B0 48 26 B9 8D */ bl ReadBool__12CInputStreamFv /* 800D3354 000D02B4 7C 7E 1B 78 */ mr r30, r3 /* 800D3358 000D02B8 7F 83 E3 78 */ mr r3, r28 /* 800D335C 000D02BC 48 26 B9 81 */ bl ReadBool__12CInputStreamFv /* 800D3360 000D02C0 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D3364 000D02C4 7C 7D 1B 78 */ mr r29, r3 /* 800D3368 000D02C8 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D336C 000D02CC 38 60 00 5C */ li r3, 0x5c /* 800D3370 000D02D0 38 A0 00 00 */ li r5, 0 /* 800D3374 000D02D4 38 84 00 0D */ addi r4, r4, 0xd /* 800D3378 000D02D8 48 24 24 F5 */ bl __nw__FUlPCcPCc /* 800D337C 000D02DC 7C 7C 1B 79 */ or. r28, r3, r3 /* 800D3380 000D02E0 41 82 00 44 */ beq lbl_800D33C4 /* 800D3384 000D02E4 7F 44 D3 78 */ mr r4, r26 /* 800D3388 000D02E8 38 61 00 08 */ addi r3, r1, 8 /* 800D338C 000D02EC 4B F7 9D 51 */ bl AllocateUniqueId__13CStateManagerFv /* 800D3390 000D02F0 A0 01 00 08 */ lhz r0, 8(r1) /* 800D3394 000D02F4 FC 20 F8 90 */ fmr f1, f31 /* 800D3398 000D02F8 7F 83 E3 78 */ mr r3, r28 /* 800D339C 000D02FC 7F 66 DB 78 */ mr r6, r27 /* 800D33A0 000D0300 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D33A4 000D0304 7F E8 FB 78 */ mr r8, r31 /* 800D33A8 000D0308 7F C9 F3 78 */ mr r9, r30 /* 800D33AC 000D030C 7F AA EB 78 */ mr r10, r29 /* 800D33B0 000D0310 38 81 00 0C */ addi r4, r1, 0xc /* 800D33B4 000D0314 38 A1 00 1C */ addi r5, r1, 0x1c /* 800D33B8 000D0318 38 E1 00 10 */ addi r7, r1, 0x10 /* 800D33BC 000D031C 48 08 10 F1 */ bl "__ct__18CScriptActorRotateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3ffbbb" /* 800D33C0 000D0320 7C 7C 1B 78 */ mr r28, r3 lbl_800D33C4: /* 800D33C4 000D0324 38 61 00 1C */ addi r3, r1, 0x1c /* 800D33C8 000D0328 48 26 A7 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D33CC 000D032C 7F 83 E3 78 */ mr r3, r28 lbl_800D33D0: /* 800D33D0 000D0330 CB E1 00 48 */ lfd f31, 0x48(r1) /* 800D33D4 000D0334 BB 41 00 30 */ lmw r26, 0x30(r1) /* 800D33D8 000D0338 80 01 00 54 */ lwz r0, 0x54(r1) /* 800D33DC 000D033C 7C 08 03 A6 */ mtlr r0 /* 800D33E0 000D0340 38 21 00 50 */ addi r1, r1, 0x50 /* 800D33E4 000D0344 4E 80 00 20 */ blr .global LoadColorModulate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadColorModulate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D33E8 000D0348 94 21 FF 80 */ stwu r1, -0x80(r1) /* 800D33EC 000D034C 7C 08 02 A6 */ mflr r0 /* 800D33F0 000D0350 2C 05 00 0C */ cmpwi r5, 0xc /* 800D33F4 000D0354 90 01 00 84 */ stw r0, 0x84(r1) /* 800D33F8 000D0358 DB E1 00 78 */ stfd f31, 0x78(r1) /* 800D33FC 000D035C DB C1 00 70 */ stfd f30, 0x70(r1) /* 800D3400 000D0360 BE C1 00 48 */ stmw r22, 0x48(r1) /* 800D3404 000D0364 7C 76 1B 78 */ mr r22, r3 /* 800D3408 000D0368 7C 99 23 78 */ mr r25, r4 /* 800D340C 000D036C 7C D7 33 78 */ mr r23, r6 /* 800D3410 000D0370 41 82 00 0C */ beq lbl_800D341C /* 800D3414 000D0374 38 60 00 00 */ li r3, 0 /* 800D3418 000D0378 48 00 01 20 */ b lbl_800D3538 lbl_800D341C: /* 800D341C 000D037C 4B F7 1D C9 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D3420 000D0380 7C 64 1B 78 */ mr r4, r3 /* 800D3424 000D0384 38 61 00 30 */ addi r3, r1, 0x30 /* 800D3428 000D0388 48 26 AD 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D342C 000D038C 7F 24 CB 78 */ mr r4, r25 /* 800D3430 000D0390 38 61 00 2C */ addi r3, r1, 0x2c /* 800D3434 000D0394 48 29 00 19 */ bl __ct__6CColorFR12CInputStream /* 800D3438 000D0398 7F 24 CB 78 */ mr r4, r25 /* 800D343C 000D039C 38 61 00 28 */ addi r3, r1, 0x28 /* 800D3440 000D03A0 48 29 00 0D */ bl __ct__6CColorFR12CInputStream /* 800D3444 000D03A4 7F 23 CB 78 */ mr r3, r25 /* 800D3448 000D03A8 48 26 B8 3D */ bl ReadLong__12CInputStreamFv /* 800D344C 000D03AC 7C 7A 1B 78 */ mr r26, r3 /* 800D3450 000D03B0 7F 23 CB 78 */ mr r3, r25 /* 800D3454 000D03B4 48 26 B7 D5 */ bl ReadFloat__12CInputStreamFv /* 800D3458 000D03B8 FF E0 08 90 */ fmr f31, f1 /* 800D345C 000D03BC 7F 23 CB 78 */ mr r3, r25 /* 800D3460 000D03C0 48 26 B7 C9 */ bl ReadFloat__12CInputStreamFv /* 800D3464 000D03C4 FF C0 08 90 */ fmr f30, f1 /* 800D3468 000D03C8 7F 23 CB 78 */ mr r3, r25 /* 800D346C 000D03CC 48 26 B8 71 */ bl ReadBool__12CInputStreamFv /* 800D3470 000D03D0 7C 60 1B 78 */ mr r0, r3 /* 800D3474 000D03D4 7F 23 CB 78 */ mr r3, r25 /* 800D3478 000D03D8 7C 18 03 78 */ mr r24, r0 /* 800D347C 000D03DC 48 26 B8 61 */ bl ReadBool__12CInputStreamFv /* 800D3480 000D03E0 7C 7B 1B 78 */ mr r27, r3 /* 800D3484 000D03E4 7F 23 CB 78 */ mr r3, r25 /* 800D3488 000D03E8 48 26 B8 55 */ bl ReadBool__12CInputStreamFv /* 800D348C 000D03EC 7C 7C 1B 78 */ mr r28, r3 /* 800D3490 000D03F0 7F 23 CB 78 */ mr r3, r25 /* 800D3494 000D03F4 48 26 B8 49 */ bl ReadBool__12CInputStreamFv /* 800D3498 000D03F8 7C 7D 1B 78 */ mr r29, r3 /* 800D349C 000D03FC 7F 23 CB 78 */ mr r3, r25 /* 800D34A0 000D0400 48 26 B8 3D */ bl ReadBool__12CInputStreamFv /* 800D34A4 000D0404 7C 7E 1B 78 */ mr r30, r3 /* 800D34A8 000D0408 7F 23 CB 78 */ mr r3, r25 /* 800D34AC 000D040C 48 26 B8 31 */ bl ReadBool__12CInputStreamFv /* 800D34B0 000D0410 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D34B4 000D0414 7C 7F 1B 78 */ mr r31, r3 /* 800D34B8 000D0418 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D34BC 000D041C 38 60 00 58 */ li r3, 0x58 /* 800D34C0 000D0420 38 84 00 0D */ addi r4, r4, 0xd /* 800D34C4 000D0424 38 A0 00 00 */ li r5, 0 /* 800D34C8 000D0428 48 24 23 A5 */ bl __nw__FUlPCcPCc /* 800D34CC 000D042C 7C 79 1B 79 */ or. r25, r3, r3 /* 800D34D0 000D0430 41 82 00 5C */ beq lbl_800D352C /* 800D34D4 000D0434 7E C4 B3 78 */ mr r4, r22 /* 800D34D8 000D0438 38 61 00 20 */ addi r3, r1, 0x20 /* 800D34DC 000D043C 4B F7 9C 01 */ bl AllocateUniqueId__13CStateManagerFv /* 800D34E0 000D0440 A0 01 00 20 */ lhz r0, 0x20(r1) /* 800D34E4 000D0444 FC 20 F8 90 */ fmr f1, f31 /* 800D34E8 000D0448 FC 40 F0 90 */ fmr f2, f30 /* 800D34EC 000D044C 7F 23 CB 78 */ mr r3, r25 /* 800D34F0 000D0450 B0 01 00 24 */ sth r0, 0x24(r1) /* 800D34F4 000D0454 7E E6 BB 78 */ mr r6, r23 /* 800D34F8 000D0458 7F 49 D3 78 */ mr r9, r26 /* 800D34FC 000D045C 93 61 00 08 */ stw r27, 8(r1) /* 800D3500 000D0460 7F 0A C3 78 */ mr r10, r24 /* 800D3504 000D0464 38 81 00 24 */ addi r4, r1, 0x24 /* 800D3508 000D0468 93 81 00 0C */ stw r28, 0xc(r1) /* 800D350C 000D046C 38 A1 00 30 */ addi r5, r1, 0x30 /* 800D3510 000D0470 38 E1 00 2C */ addi r7, r1, 0x2c /* 800D3514 000D0474 39 01 00 28 */ addi r8, r1, 0x28 /* 800D3518 000D0478 93 A1 00 10 */ stw r29, 0x10(r1) /* 800D351C 000D047C 93 C1 00 14 */ stw r30, 0x14(r1) /* 800D3520 000D0480 93 E1 00 18 */ stw r31, 0x18(r1) /* 800D3524 000D0484 48 12 E6 A9 */ bl "__ct__20CScriptColorModulateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CColorRC6CColorQ220CScriptColorModulate10EBlendModeffbbbbbb" /* 800D3528 000D0488 7C 79 1B 78 */ mr r25, r3 lbl_800D352C: /* 800D352C 000D048C 38 61 00 30 */ addi r3, r1, 0x30 /* 800D3530 000D0490 48 26 A5 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D3534 000D0494 7F 23 CB 78 */ mr r3, r25 lbl_800D3538: /* 800D3538 000D0498 CB E1 00 78 */ lfd f31, 0x78(r1) /* 800D353C 000D049C CB C1 00 70 */ lfd f30, 0x70(r1) /* 800D3540 000D04A0 BA C1 00 48 */ lmw r22, 0x48(r1) /* 800D3544 000D04A4 80 01 00 84 */ lwz r0, 0x84(r1) /* 800D3548 000D04A8 7C 08 03 A6 */ mtlr r0 /* 800D354C 000D04AC 38 21 00 80 */ addi r1, r1, 0x80 /* 800D3550 000D04B0 4E 80 00 20 */ blr .global LoadAIKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadAIKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D3554 000D04B4 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800D3558 000D04B8 7C 08 02 A6 */ mflr r0 /* 800D355C 000D04BC 90 01 00 14 */ stw r0, 0x14(r1) /* 800D3560 000D04C0 48 00 00 2D */ bl LoadActorKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo /* 800D3564 000D04C4 28 03 00 00 */ cmplwi r3, 0 /* 800D3568 000D04C8 41 82 00 14 */ beq lbl_800D357C /* 800D356C 000D04CC 88 03 00 44 */ lbz r0, 0x44(r3) /* 800D3570 000D04D0 38 80 00 01 */ li r4, 1 /* 800D3574 000D04D4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 /* 800D3578 000D04D8 98 03 00 44 */ stb r0, 0x44(r3) lbl_800D357C: /* 800D357C 000D04DC 80 01 00 14 */ lwz r0, 0x14(r1) /* 800D3580 000D04E0 7C 08 03 A6 */ mtlr r0 /* 800D3584 000D04E4 38 21 00 10 */ addi r1, r1, 0x10 /* 800D3588 000D04E8 4E 80 00 20 */ blr .global LoadActorKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadActorKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D358C 000D04EC 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 800D3590 000D04F0 7C 08 02 A6 */ mflr r0 /* 800D3594 000D04F4 2C 05 00 07 */ cmpwi r5, 7 /* 800D3598 000D04F8 90 01 00 B4 */ stw r0, 0xb4(r1) /* 800D359C 000D04FC DB E1 00 A8 */ stfd f31, 0xa8(r1) /* 800D35A0 000D0500 DB C1 00 A0 */ stfd f30, 0xa0(r1) /* 800D35A4 000D0504 BF 21 00 84 */ stmw r25, 0x84(r1) /* 800D35A8 000D0508 7C 79 1B 78 */ mr r25, r3 /* 800D35AC 000D050C 7C 9B 23 78 */ mr r27, r4 /* 800D35B0 000D0510 7C DA 33 78 */ mr r26, r6 /* 800D35B4 000D0514 41 82 00 0C */ beq lbl_800D35C0 /* 800D35B8 000D0518 38 60 00 00 */ li r3, 0 /* 800D35BC 000D051C 48 00 01 64 */ b lbl_800D3720 lbl_800D35C0: /* 800D35C0 000D0520 4B F7 1C 25 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D35C4 000D0524 7C 64 1B 78 */ mr r4, r3 /* 800D35C8 000D0528 38 61 00 68 */ addi r3, r1, 0x68 /* 800D35CC 000D052C 48 26 AB 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D35D0 000D0530 7F 63 DB 78 */ mr r3, r27 /* 800D35D4 000D0534 48 26 B6 B1 */ bl ReadLong__12CInputStreamFv /* 800D35D8 000D0538 7C 7E 1B 78 */ mr r30, r3 /* 800D35DC 000D053C 7F 63 DB 78 */ mr r3, r27 /* 800D35E0 000D0540 48 26 B6 FD */ bl ReadBool__12CInputStreamFv /* 800D35E4 000D0544 7C 7D 1B 78 */ mr r29, r3 /* 800D35E8 000D0548 7F 63 DB 78 */ mr r3, r27 /* 800D35EC 000D054C 48 26 B6 3D */ bl ReadFloat__12CInputStreamFv /* 800D35F0 000D0550 FF E0 08 90 */ fmr f31, f1 /* 800D35F4 000D0554 7F 63 DB 78 */ mr r3, r27 /* 800D35F8 000D0558 48 26 B6 E5 */ bl ReadBool__12CInputStreamFv /* 800D35FC 000D055C 7C 7F 1B 78 */ mr r31, r3 /* 800D3600 000D0560 7F 63 DB 78 */ mr r3, r27 /* 800D3604 000D0564 48 26 B6 81 */ bl ReadLong__12CInputStreamFv /* 800D3608 000D0568 7C 7C 1B 78 */ mr r28, r3 /* 800D360C 000D056C 7F 63 DB 78 */ mr r3, r27 /* 800D3610 000D0570 48 26 B6 19 */ bl ReadFloat__12CInputStreamFv /* 800D3614 000D0574 2C 1E FF FF */ cmpwi r30, -1 /* 800D3618 000D0578 FF C0 08 90 */ fmr f30, f1 /* 800D361C 000D057C 40 82 00 90 */ bne lbl_800D36AC /* 800D3620 000D0580 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D3624 000D0584 38 61 00 48 */ addi r3, r1, 0x48 /* 800D3628 000D0588 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D362C 000D058C 38 84 01 F4 */ addi r4, r4, 0x1f4 /* 800D3630 000D0590 4B F3 16 89 */ bl string_l__4rstlFPCc /* 800D3634 000D0594 38 61 00 38 */ addi r3, r1, 0x38 /* 800D3638 000D0598 38 81 00 48 */ addi r4, r1, 0x48 /* 800D363C 000D059C 38 A1 00 68 */ addi r5, r1, 0x68 /* 800D3640 000D05A0 4B F3 16 1D */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D3644 000D05A4 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D3648 000D05A8 38 61 00 28 */ addi r3, r1, 0x28 /* 800D364C 000D05AC 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D3650 000D05B0 38 84 02 0F */ addi r4, r4, 0x20f /* 800D3654 000D05B4 4B F3 16 65 */ bl string_l__4rstlFPCc /* 800D3658 000D05B8 38 61 00 18 */ addi r3, r1, 0x18 /* 800D365C 000D05BC 38 81 00 38 */ addi r4, r1, 0x38 /* 800D3660 000D05C0 38 A1 00 28 */ addi r5, r1, 0x28 /* 800D3664 000D05C4 4B F3 15 F9 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D3668 000D05C8 38 61 00 58 */ addi r3, r1, 0x58 /* 800D366C 000D05CC 38 81 00 18 */ addi r4, r1, 0x18 /* 800D3670 000D05D0 48 26 AA F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D3674 000D05D4 38 61 00 18 */ addi r3, r1, 0x18 /* 800D3678 000D05D8 48 26 A4 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D367C 000D05DC 38 61 00 28 */ addi r3, r1, 0x28 /* 800D3680 000D05E0 48 26 A4 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D3684 000D05E4 38 61 00 38 */ addi r3, r1, 0x38 /* 800D3688 000D05E8 48 26 A4 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D368C 000D05EC 38 61 00 48 */ addi r3, r1, 0x48 /* 800D3690 000D05F0 48 26 A4 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D3694 000D05F4 38 61 00 58 */ addi r3, r1, 0x58 /* 800D3698 000D05F8 48 26 A4 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D369C 000D05FC 38 61 00 68 */ addi r3, r1, 0x68 /* 800D36A0 000D0600 48 26 A4 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D36A4 000D0604 38 60 00 00 */ li r3, 0 /* 800D36A8 000D0608 48 00 00 78 */ b lbl_800D3720 lbl_800D36AC: /* 800D36AC 000D060C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D36B0 000D0610 38 60 00 48 */ li r3, 0x48 /* 800D36B4 000D0614 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D36B8 000D0618 38 A0 00 00 */ li r5, 0 /* 800D36BC 000D061C 38 84 00 0D */ addi r4, r4, 0xd /* 800D36C0 000D0620 48 24 21 AD */ bl __nw__FUlPCcPCc /* 800D36C4 000D0624 7C 7B 1B 79 */ or. r27, r3, r3 /* 800D36C8 000D0628 41 82 00 4C */ beq lbl_800D3714 /* 800D36CC 000D062C 7F 24 CB 78 */ mr r4, r25 /* 800D36D0 000D0630 38 61 00 10 */ addi r3, r1, 0x10 /* 800D36D4 000D0634 4B F7 9A 09 */ bl AllocateUniqueId__13CStateManagerFv /* 800D36D8 000D0638 A0 01 00 10 */ lhz r0, 0x10(r1) /* 800D36DC 000D063C FC 20 F8 90 */ fmr f1, f31 /* 800D36E0 000D0640 FC 40 F0 90 */ fmr f2, f30 /* 800D36E4 000D0644 7F 63 DB 78 */ mr r3, r27 /* 800D36E8 000D0648 B0 01 00 14 */ sth r0, 0x14(r1) /* 800D36EC 000D064C 7F 46 D3 78 */ mr r6, r26 /* 800D36F0 000D0650 7F C7 F3 78 */ mr r7, r30 /* 800D36F4 000D0654 93 E1 00 08 */ stw r31, 8(r1) /* 800D36F8 000D0658 7F A8 EB 78 */ mr r8, r29 /* 800D36FC 000D065C 7F 8A E3 78 */ mr r10, r28 /* 800D3700 000D0660 38 81 00 14 */ addi r4, r1, 0x14 /* 800D3704 000D0664 38 A1 00 68 */ addi r5, r1, 0x68 /* 800D3708 000D0668 39 20 00 00 */ li r9, 0 /* 800D370C 000D066C 48 02 B0 A5 */ bl "__ct__20CScriptActorKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoibfbUib" /* 800D3710 000D0670 7C 7B 1B 78 */ mr r27, r3 lbl_800D3714: /* 800D3714 000D0674 38 61 00 68 */ addi r3, r1, 0x68 /* 800D3718 000D0678 48 26 A3 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D371C 000D067C 7F 63 DB 78 */ mr r3, r27 lbl_800D3720: /* 800D3720 000D0680 CB E1 00 A8 */ lfd f31, 0xa8(r1) /* 800D3724 000D0684 CB C1 00 A0 */ lfd f30, 0xa0(r1) /* 800D3728 000D0688 BB 21 00 84 */ lmw r25, 0x84(r1) /* 800D372C 000D068C 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 800D3730 000D0690 7C 08 03 A6 */ mtlr r0 /* 800D3734 000D0694 38 21 00 B0 */ addi r1, r1, 0xb0 /* 800D3738 000D0698 4E 80 00 20 */ blr .global LoadNewCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadNewCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D373C 000D069C 94 21 FD 60 */ stwu r1, -0x2a0(r1) /* 800D3740 000D06A0 7C 08 02 A6 */ mflr r0 /* 800D3744 000D06A4 90 01 02 A4 */ stw r0, 0x2a4(r1) /* 800D3748 000D06A8 DB E1 02 90 */ stfd f31, 0x290(r1) /* 800D374C 000D06AC F3 E1 02 98 */ psq_st f31, 664(r1), 0, qr0 /* 800D3750 000D06B0 DB C1 02 80 */ stfd f30, 0x280(r1) /* 800D3754 000D06B4 F3 C1 02 88 */ psq_st f30, 648(r1), 0, qr0 /* 800D3758 000D06B8 BF 61 02 6C */ stmw r27, 0x26c(r1) /* 800D375C 000D06BC 2C 05 00 08 */ cmpwi r5, 8 /* 800D3760 000D06C0 7C 7B 1B 78 */ mr r27, r3 /* 800D3764 000D06C4 7C 9C 23 78 */ mr r28, r4 /* 800D3768 000D06C8 7C DD 33 78 */ mr r29, r6 /* 800D376C 000D06CC 41 82 00 0C */ beq lbl_800D3778 /* 800D3770 000D06D0 38 60 00 00 */ li r3, 0 /* 800D3774 000D06D4 48 00 03 0C */ b lbl_800D3A80 lbl_800D3778: /* 800D3778 000D06D8 4B F7 1A 6D */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D377C 000D06DC 7C 64 1B 78 */ mr r4, r3 /* 800D3780 000D06E0 38 61 00 1C */ addi r3, r1, 0x1c /* 800D3784 000D06E4 48 26 A9 DD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D3788 000D06E8 7F 84 E3 78 */ mr r4, r28 /* 800D378C 000D06EC 38 61 00 10 */ addi r3, r1, 0x10 /* 800D3790 000D06F0 48 24 13 FD */ bl __ct__9CVector3fFR12CInputStream /* 800D3794 000D06F4 7F 83 E3 78 */ mr r3, r28 /* 800D3798 000D06F8 48 26 B5 45 */ bl ReadBool__12CInputStreamFv /* 800D379C 000D06FC 7C 7F 1B 78 */ mr r31, r3 /* 800D37A0 000D0700 7F 83 E3 78 */ mr r3, r28 /* 800D37A4 000D0704 48 00 64 59 */ bl LoadParameterFlags__FR12CInputStream /* 800D37A8 000D0708 7C 60 1B 78 */ mr r0, r3 /* 800D37AC 000D070C 7F 83 E3 78 */ mr r3, r28 /* 800D37B0 000D0710 7C 1E 03 78 */ mr r30, r0 /* 800D37B4 000D0714 48 26 B4 75 */ bl ReadFloat__12CInputStreamFv /* 800D37B8 000D0718 FF E0 08 90 */ fmr f31, f1 /* 800D37BC 000D071C 7F 83 E3 78 */ mr r3, r28 /* 800D37C0 000D0720 48 26 B4 69 */ bl ReadFloat__12CInputStreamFv /* 800D37C4 000D0724 FF C0 08 90 */ fmr f30, f1 /* 800D37C8 000D0728 7F 84 E3 78 */ mr r4, r28 /* 800D37CC 000D072C 38 61 00 A4 */ addi r3, r1, 0xa4 /* 800D37D0 000D0730 48 08 99 AD */ bl LoadNewCameraShakerComponent__FR12CInputStream /* 800D37D4 000D0734 80 81 00 A8 */ lwz r4, 0xa8(r1) /* 800D37D8 000D0738 3C A0 80 3E */ lis r5, lbl_803D8EA8@ha /* 800D37DC 000D073C 80 61 00 AC */ lwz r3, 0xac(r1) /* 800D37E0 000D0740 38 A5 8E A8 */ addi r5, r5, lbl_803D8EA8@l /* 800D37E4 000D0744 C1 41 00 B0 */ lfs f10, 0xb0(r1) /* 800D37E8 000D0748 34 01 00 A4 */ addic. r0, r1, 0xa4 /* 800D37EC 000D074C C1 21 00 B4 */ lfs f9, 0xb4(r1) /* 800D37F0 000D0750 C1 01 00 B8 */ lfs f8, 0xb8(r1) /* 800D37F4 000D0754 C0 E1 00 BC */ lfs f7, 0xbc(r1) /* 800D37F8 000D0758 C0 C1 00 C0 */ lfs f6, 0xc0(r1) /* 800D37FC 000D075C 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 800D3800 000D0760 C0 A1 00 C8 */ lfs f5, 0xc8(r1) /* 800D3804 000D0764 C0 81 00 CC */ lfs f4, 0xcc(r1) /* 800D3808 000D0768 C0 61 00 D0 */ lfs f3, 0xd0(r1) /* 800D380C 000D076C C0 41 00 D4 */ lfs f2, 0xd4(r1) /* 800D3810 000D0770 C0 21 00 D8 */ lfs f1, 0xd8(r1) /* 800D3814 000D0774 C0 01 00 DC */ lfs f0, 0xdc(r1) /* 800D3818 000D0778 90 A1 01 58 */ stw r5, 0x158(r1) /* 800D381C 000D077C 90 81 01 5C */ stw r4, 0x15c(r1) /* 800D3820 000D0780 90 61 01 60 */ stw r3, 0x160(r1) /* 800D3824 000D0784 D1 41 01 64 */ stfs f10, 0x164(r1) /* 800D3828 000D0788 D1 21 01 68 */ stfs f9, 0x168(r1) /* 800D382C 000D078C D1 01 01 6C */ stfs f8, 0x16c(r1) /* 800D3830 000D0790 D0 E1 01 70 */ stfs f7, 0x170(r1) /* 800D3834 000D0794 D0 C1 01 74 */ stfs f6, 0x174(r1) /* 800D3838 000D0798 90 01 01 78 */ stw r0, 0x178(r1) /* 800D383C 000D079C D0 A1 01 7C */ stfs f5, 0x17c(r1) /* 800D3840 000D07A0 D0 81 01 80 */ stfs f4, 0x180(r1) /* 800D3844 000D07A4 D0 61 01 84 */ stfs f3, 0x184(r1) /* 800D3848 000D07A8 D0 41 01 88 */ stfs f2, 0x188(r1) /* 800D384C 000D07AC D0 21 01 8C */ stfs f1, 0x18c(r1) /* 800D3850 000D07B0 D0 01 01 90 */ stfs f0, 0x190(r1) /* 800D3854 000D07B4 41 82 00 08 */ beq lbl_800D385C /* 800D3858 000D07B8 90 A1 00 A4 */ stw r5, 0xa4(r1) lbl_800D385C: /* 800D385C 000D07BC 7F 84 E3 78 */ mr r4, r28 /* 800D3860 000D07C0 38 61 00 68 */ addi r3, r1, 0x68 /* 800D3864 000D07C4 48 08 99 19 */ bl LoadNewCameraShakerComponent__FR12CInputStream /* 800D3868 000D07C8 80 81 00 6C */ lwz r4, 0x6c(r1) /* 800D386C 000D07CC 3C A0 80 3E */ lis r5, lbl_803D8EA8@ha /* 800D3870 000D07D0 80 61 00 70 */ lwz r3, 0x70(r1) /* 800D3874 000D07D4 38 A5 8E A8 */ addi r5, r5, lbl_803D8EA8@l /* 800D3878 000D07D8 C1 41 00 74 */ lfs f10, 0x74(r1) /* 800D387C 000D07DC 34 01 00 68 */ addic. r0, r1, 0x68 /* 800D3880 000D07E0 C1 21 00 78 */ lfs f9, 0x78(r1) /* 800D3884 000D07E4 C1 01 00 7C */ lfs f8, 0x7c(r1) /* 800D3888 000D07E8 C0 E1 00 80 */ lfs f7, 0x80(r1) /* 800D388C 000D07EC C0 C1 00 84 */ lfs f6, 0x84(r1) /* 800D3890 000D07F0 80 01 00 88 */ lwz r0, 0x88(r1) /* 800D3894 000D07F4 C0 A1 00 8C */ lfs f5, 0x8c(r1) /* 800D3898 000D07F8 C0 81 00 90 */ lfs f4, 0x90(r1) /* 800D389C 000D07FC C0 61 00 94 */ lfs f3, 0x94(r1) /* 800D38A0 000D0800 C0 41 00 98 */ lfs f2, 0x98(r1) /* 800D38A4 000D0804 C0 21 00 9C */ lfs f1, 0x9c(r1) /* 800D38A8 000D0808 C0 01 00 A0 */ lfs f0, 0xa0(r1) /* 800D38AC 000D080C 90 A1 01 1C */ stw r5, 0x11c(r1) /* 800D38B0 000D0810 90 81 01 20 */ stw r4, 0x120(r1) /* 800D38B4 000D0814 90 61 01 24 */ stw r3, 0x124(r1) /* 800D38B8 000D0818 D1 41 01 28 */ stfs f10, 0x128(r1) /* 800D38BC 000D081C D1 21 01 2C */ stfs f9, 0x12c(r1) /* 800D38C0 000D0820 D1 01 01 30 */ stfs f8, 0x130(r1) /* 800D38C4 000D0824 D0 E1 01 34 */ stfs f7, 0x134(r1) /* 800D38C8 000D0828 D0 C1 01 38 */ stfs f6, 0x138(r1) /* 800D38CC 000D082C 90 01 01 3C */ stw r0, 0x13c(r1) /* 800D38D0 000D0830 D0 A1 01 40 */ stfs f5, 0x140(r1) /* 800D38D4 000D0834 D0 81 01 44 */ stfs f4, 0x144(r1) /* 800D38D8 000D0838 D0 61 01 48 */ stfs f3, 0x148(r1) /* 800D38DC 000D083C D0 41 01 4C */ stfs f2, 0x14c(r1) /* 800D38E0 000D0840 D0 21 01 50 */ stfs f1, 0x150(r1) /* 800D38E4 000D0844 D0 01 01 54 */ stfs f0, 0x154(r1) /* 800D38E8 000D0848 41 82 00 08 */ beq lbl_800D38F0 /* 800D38EC 000D084C 90 A1 00 68 */ stw r5, 0x68(r1) lbl_800D38F0: /* 800D38F0 000D0850 7F 84 E3 78 */ mr r4, r28 /* 800D38F4 000D0854 38 61 00 2C */ addi r3, r1, 0x2c /* 800D38F8 000D0858 48 08 98 85 */ bl LoadNewCameraShakerComponent__FR12CInputStream /* 800D38FC 000D085C 80 81 00 30 */ lwz r4, 0x30(r1) /* 800D3900 000D0860 3C A0 80 3E */ lis r5, lbl_803D8EA8@ha /* 800D3904 000D0864 80 61 00 34 */ lwz r3, 0x34(r1) /* 800D3908 000D0868 38 A5 8E A8 */ addi r5, r5, lbl_803D8EA8@l /* 800D390C 000D086C C1 41 00 38 */ lfs f10, 0x38(r1) /* 800D3910 000D0870 34 01 00 2C */ addic. r0, r1, 0x2c /* 800D3914 000D0874 C1 21 00 3C */ lfs f9, 0x3c(r1) /* 800D3918 000D0878 C1 01 00 40 */ lfs f8, 0x40(r1) /* 800D391C 000D087C C0 E1 00 44 */ lfs f7, 0x44(r1) /* 800D3920 000D0880 C0 C1 00 48 */ lfs f6, 0x48(r1) /* 800D3924 000D0884 80 01 00 4C */ lwz r0, 0x4c(r1) /* 800D3928 000D0888 C0 A1 00 50 */ lfs f5, 0x50(r1) /* 800D392C 000D088C C0 81 00 54 */ lfs f4, 0x54(r1) /* 800D3930 000D0890 C0 61 00 58 */ lfs f3, 0x58(r1) /* 800D3934 000D0894 C0 41 00 5C */ lfs f2, 0x5c(r1) /* 800D3938 000D0898 C0 21 00 60 */ lfs f1, 0x60(r1) /* 800D393C 000D089C C0 01 00 64 */ lfs f0, 0x64(r1) /* 800D3940 000D08A0 90 A1 00 E0 */ stw r5, 0xe0(r1) /* 800D3944 000D08A4 90 81 00 E4 */ stw r4, 0xe4(r1) /* 800D3948 000D08A8 90 61 00 E8 */ stw r3, 0xe8(r1) /* 800D394C 000D08AC D1 41 00 EC */ stfs f10, 0xec(r1) /* 800D3950 000D08B0 D1 21 00 F0 */ stfs f9, 0xf0(r1) /* 800D3954 000D08B4 D1 01 00 F4 */ stfs f8, 0xf4(r1) /* 800D3958 000D08B8 D0 E1 00 F8 */ stfs f7, 0xf8(r1) /* 800D395C 000D08BC D0 C1 00 FC */ stfs f6, 0xfc(r1) /* 800D3960 000D08C0 90 01 01 00 */ stw r0, 0x100(r1) /* 800D3964 000D08C4 D0 A1 01 04 */ stfs f5, 0x104(r1) /* 800D3968 000D08C8 D0 81 01 08 */ stfs f4, 0x108(r1) /* 800D396C 000D08CC D0 61 01 0C */ stfs f3, 0x10c(r1) /* 800D3970 000D08D0 D0 41 01 10 */ stfs f2, 0x110(r1) /* 800D3974 000D08D4 D0 21 01 14 */ stfs f1, 0x114(r1) /* 800D3978 000D08D8 D0 01 01 18 */ stfs f0, 0x118(r1) /* 800D397C 000D08DC 41 82 00 08 */ beq lbl_800D3984 /* 800D3980 000D08E0 90 A1 00 2C */ stw r5, 0x2c(r1) lbl_800D3984: /* 800D3984 000D08E4 FC 20 F8 90 */ fmr f1, f31 /* 800D3988 000D08E8 7F C4 F3 78 */ mr r4, r30 /* 800D398C 000D08EC FC 40 F0 90 */ fmr f2, f30 /* 800D3990 000D08F0 38 61 01 94 */ addi r3, r1, 0x194 /* 800D3994 000D08F4 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D3998 000D08F8 38 C1 01 58 */ addi r6, r1, 0x158 /* 800D399C 000D08FC 38 E1 01 1C */ addi r7, r1, 0x11c /* 800D39A0 000D0900 39 01 00 E0 */ addi r8, r1, 0xe0 /* 800D39A4 000D0904 48 08 94 F5 */ bl __ct__16CCameraShakeDataFffiRC9CVector3fRC22CCameraShakerComponentRC22CCameraShakerComponentRC22CCameraShakerComponent /* 800D39A8 000D0908 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D39AC 000D090C 38 60 01 08 */ li r3, 0x108 /* 800D39B0 000D0910 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D39B4 000D0914 38 A0 00 00 */ li r5, 0 /* 800D39B8 000D0918 38 84 00 0D */ addi r4, r4, 0xd /* 800D39BC 000D091C 48 24 1E B1 */ bl __nw__FUlPCcPCc /* 800D39C0 000D0920 7C 7E 1B 79 */ or. r30, r3, r3 /* 800D39C4 000D0924 41 82 00 38 */ beq lbl_800D39FC /* 800D39C8 000D0928 7F 64 DB 78 */ mr r4, r27 /* 800D39CC 000D092C 38 61 00 08 */ addi r3, r1, 8 /* 800D39D0 000D0930 4B F7 97 0D */ bl AllocateUniqueId__13CStateManagerFv /* 800D39D4 000D0934 A0 01 00 08 */ lhz r0, 8(r1) /* 800D39D8 000D0938 7F C3 F3 78 */ mr r3, r30 /* 800D39DC 000D093C 7F A6 EB 78 */ mr r6, r29 /* 800D39E0 000D0940 7F E7 FB 78 */ mr r7, r31 /* 800D39E4 000D0944 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D39E8 000D0948 38 81 00 0C */ addi r4, r1, 0xc /* 800D39EC 000D094C 38 A1 00 1C */ addi r5, r1, 0x1c /* 800D39F0 000D0950 39 01 01 94 */ addi r8, r1, 0x194 /* 800D39F4 000D0954 48 02 A5 D9 */ bl "__ct__19CScriptCameraShakerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobRC16CCameraShakeData" /* 800D39F8 000D0958 7C 7E 1B 78 */ mr r30, r3 lbl_800D39FC: /* 800D39FC 000D095C 34 81 02 14 */ addic. r4, r1, 0x214 /* 800D3A00 000D0960 41 82 00 10 */ beq lbl_800D3A10 /* 800D3A04 000D0964 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800D3A08 000D0968 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800D3A0C 000D096C 90 04 00 00 */ stw r0, 0(r4) lbl_800D3A10: /* 800D3A10 000D0970 34 81 01 D8 */ addic. r4, r1, 0x1d8 /* 800D3A14 000D0974 41 82 00 10 */ beq lbl_800D3A24 /* 800D3A18 000D0978 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800D3A1C 000D097C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800D3A20 000D0980 90 04 00 00 */ stw r0, 0(r4) lbl_800D3A24: /* 800D3A24 000D0984 34 81 01 9C */ addic. r4, r1, 0x19c /* 800D3A28 000D0988 41 82 00 10 */ beq lbl_800D3A38 /* 800D3A2C 000D098C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800D3A30 000D0990 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800D3A34 000D0994 90 04 00 00 */ stw r0, 0(r4) lbl_800D3A38: /* 800D3A38 000D0998 34 01 00 E0 */ addic. r0, r1, 0xe0 /* 800D3A3C 000D099C 41 82 00 10 */ beq lbl_800D3A4C /* 800D3A40 000D09A0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800D3A44 000D09A4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800D3A48 000D09A8 90 01 00 E0 */ stw r0, 0xe0(r1) lbl_800D3A4C: /* 800D3A4C 000D09AC 34 01 01 1C */ addic. r0, r1, 0x11c /* 800D3A50 000D09B0 41 82 00 10 */ beq lbl_800D3A60 /* 800D3A54 000D09B4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800D3A58 000D09B8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800D3A5C 000D09BC 90 01 01 1C */ stw r0, 0x11c(r1) lbl_800D3A60: /* 800D3A60 000D09C0 34 01 01 58 */ addic. r0, r1, 0x158 /* 800D3A64 000D09C4 41 82 00 10 */ beq lbl_800D3A74 /* 800D3A68 000D09C8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800D3A6C 000D09CC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800D3A70 000D09D0 90 01 01 58 */ stw r0, 0x158(r1) lbl_800D3A74: /* 800D3A74 000D09D4 38 61 00 1C */ addi r3, r1, 0x1c /* 800D3A78 000D09D8 48 26 A0 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D3A7C 000D09DC 7F C3 F3 78 */ mr r3, r30 lbl_800D3A80: /* 800D3A80 000D09E0 E3 E1 02 98 */ psq_l f31, 664(r1), 0, qr0 /* 800D3A84 000D09E4 CB E1 02 90 */ lfd f31, 0x290(r1) /* 800D3A88 000D09E8 E3 C1 02 88 */ psq_l f30, 648(r1), 0, qr0 /* 800D3A8C 000D09EC CB C1 02 80 */ lfd f30, 0x280(r1) /* 800D3A90 000D09F0 BB 61 02 6C */ lmw r27, 0x26c(r1) /* 800D3A94 000D09F4 80 01 02 A4 */ lwz r0, 0x2a4(r1) /* 800D3A98 000D09F8 7C 08 03 A6 */ mtlr r0 /* 800D3A9C 000D09FC 38 21 02 A0 */ addi r1, r1, 0x2a0 /* 800D3AA0 000D0A00 4E 80 00 20 */ blr .global LoadCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D3AA4 000D0A04 94 21 FE 20 */ stwu r1, -0x1e0(r1) /* 800D3AA8 000D0A08 7C 08 02 A6 */ mflr r0 /* 800D3AAC 000D0A0C 2C 05 00 09 */ cmpwi r5, 9 /* 800D3AB0 000D0A10 90 01 01 E4 */ stw r0, 0x1e4(r1) /* 800D3AB4 000D0A14 93 E1 01 DC */ stw r31, 0x1dc(r1) /* 800D3AB8 000D0A18 7C DF 33 78 */ mr r31, r6 /* 800D3ABC 000D0A1C 93 C1 01 D8 */ stw r30, 0x1d8(r1) /* 800D3AC0 000D0A20 7C 7E 1B 78 */ mr r30, r3 /* 800D3AC4 000D0A24 93 A1 01 D4 */ stw r29, 0x1d4(r1) /* 800D3AC8 000D0A28 93 81 01 D0 */ stw r28, 0x1d0(r1) /* 800D3ACC 000D0A2C 7C 9C 23 78 */ mr r28, r4 /* 800D3AD0 000D0A30 41 82 00 0C */ beq lbl_800D3ADC /* 800D3AD4 000D0A34 38 60 00 00 */ li r3, 0 /* 800D3AD8 000D0A38 48 00 01 10 */ b lbl_800D3BE8 lbl_800D3ADC: /* 800D3ADC 000D0A3C 4B F7 17 09 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D3AE0 000D0A40 7C 64 1B 78 */ mr r4, r3 /* 800D3AE4 000D0A44 38 61 00 10 */ addi r3, r1, 0x10 /* 800D3AE8 000D0A48 48 26 A6 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D3AEC 000D0A4C 7F 84 E3 78 */ mr r4, r28 /* 800D3AF0 000D0A50 38 61 00 20 */ addi r3, r1, 0x20 /* 800D3AF4 000D0A54 48 08 8F C9 */ bl LoadCameraShakeData__FR12CInputStream /* 800D3AF8 000D0A58 38 61 00 F4 */ addi r3, r1, 0xf4 /* 800D3AFC 000D0A5C 38 81 00 20 */ addi r4, r1, 0x20 /* 800D3B00 000D0A60 4B F3 72 A9 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData /* 800D3B04 000D0A64 34 81 00 A0 */ addic. r4, r1, 0xa0 /* 800D3B08 000D0A68 41 82 00 10 */ beq lbl_800D3B18 /* 800D3B0C 000D0A6C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800D3B10 000D0A70 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800D3B14 000D0A74 90 04 00 00 */ stw r0, 0(r4) lbl_800D3B18: /* 800D3B18 000D0A78 34 81 00 64 */ addic. r4, r1, 0x64 /* 800D3B1C 000D0A7C 41 82 00 10 */ beq lbl_800D3B2C /* 800D3B20 000D0A80 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800D3B24 000D0A84 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800D3B28 000D0A88 90 04 00 00 */ stw r0, 0(r4) lbl_800D3B2C: /* 800D3B2C 000D0A8C 34 81 00 28 */ addic. r4, r1, 0x28 /* 800D3B30 000D0A90 41 82 00 10 */ beq lbl_800D3B40 /* 800D3B34 000D0A94 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800D3B38 000D0A98 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800D3B3C 000D0A9C 90 04 00 00 */ stw r0, 0(r4) lbl_800D3B40: /* 800D3B40 000D0AA0 7F 83 E3 78 */ mr r3, r28 /* 800D3B44 000D0AA4 48 26 B1 99 */ bl ReadBool__12CInputStreamFv /* 800D3B48 000D0AA8 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D3B4C 000D0AAC 7C 7D 1B 78 */ mr r29, r3 /* 800D3B50 000D0AB0 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D3B54 000D0AB4 38 60 01 08 */ li r3, 0x108 /* 800D3B58 000D0AB8 38 A0 00 00 */ li r5, 0 /* 800D3B5C 000D0ABC 38 84 00 0D */ addi r4, r4, 0xd /* 800D3B60 000D0AC0 48 24 1D 0D */ bl __nw__FUlPCcPCc /* 800D3B64 000D0AC4 7C 7C 1B 79 */ or. r28, r3, r3 /* 800D3B68 000D0AC8 41 82 00 38 */ beq lbl_800D3BA0 /* 800D3B6C 000D0ACC 7F C4 F3 78 */ mr r4, r30 /* 800D3B70 000D0AD0 38 61 00 08 */ addi r3, r1, 8 /* 800D3B74 000D0AD4 4B F7 95 69 */ bl AllocateUniqueId__13CStateManagerFv /* 800D3B78 000D0AD8 A0 01 00 08 */ lhz r0, 8(r1) /* 800D3B7C 000D0ADC 7F 83 E3 78 */ mr r3, r28 /* 800D3B80 000D0AE0 7F E6 FB 78 */ mr r6, r31 /* 800D3B84 000D0AE4 7F A7 EB 78 */ mr r7, r29 /* 800D3B88 000D0AE8 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D3B8C 000D0AEC 38 81 00 0C */ addi r4, r1, 0xc /* 800D3B90 000D0AF0 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D3B94 000D0AF4 39 01 00 F4 */ addi r8, r1, 0xf4 /* 800D3B98 000D0AF8 48 02 A4 35 */ bl "__ct__19CScriptCameraShakerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobRC16CCameraShakeData" /* 800D3B9C 000D0AFC 7C 7C 1B 78 */ mr r28, r3 lbl_800D3BA0: /* 800D3BA0 000D0B00 34 81 01 74 */ addic. r4, r1, 0x174 /* 800D3BA4 000D0B04 41 82 00 10 */ beq lbl_800D3BB4 /* 800D3BA8 000D0B08 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800D3BAC 000D0B0C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800D3BB0 000D0B10 90 04 00 00 */ stw r0, 0(r4) lbl_800D3BB4: /* 800D3BB4 000D0B14 34 81 01 38 */ addic. r4, r1, 0x138 /* 800D3BB8 000D0B18 41 82 00 10 */ beq lbl_800D3BC8 /* 800D3BBC 000D0B1C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800D3BC0 000D0B20 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800D3BC4 000D0B24 90 04 00 00 */ stw r0, 0(r4) lbl_800D3BC8: /* 800D3BC8 000D0B28 34 81 00 FC */ addic. r4, r1, 0xfc /* 800D3BCC 000D0B2C 41 82 00 10 */ beq lbl_800D3BDC /* 800D3BD0 000D0B30 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha /* 800D3BD4 000D0B34 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l /* 800D3BD8 000D0B38 90 04 00 00 */ stw r0, 0(r4) lbl_800D3BDC: /* 800D3BDC 000D0B3C 38 61 00 10 */ addi r3, r1, 0x10 /* 800D3BE0 000D0B40 48 26 9F 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D3BE4 000D0B44 7F 83 E3 78 */ mr r3, r28 lbl_800D3BE8: /* 800D3BE8 000D0B48 80 01 01 E4 */ lwz r0, 0x1e4(r1) /* 800D3BEC 000D0B4C 83 E1 01 DC */ lwz r31, 0x1dc(r1) /* 800D3BF0 000D0B50 83 C1 01 D8 */ lwz r30, 0x1d8(r1) /* 800D3BF4 000D0B54 83 A1 01 D4 */ lwz r29, 0x1d4(r1) /* 800D3BF8 000D0B58 83 81 01 D0 */ lwz r28, 0x1d0(r1) /* 800D3BFC 000D0B5C 7C 08 03 A6 */ mtlr r0 /* 800D3C00 000D0B60 38 21 01 E0 */ addi r1, r1, 0x1e0 /* 800D3C04 000D0B64 4E 80 00 20 */ blr .global LoadDebrisExtended__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadDebrisExtended__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D3C08 000D0B68 94 21 FC 60 */ stwu r1, -0x3a0(r1) /* 800D3C0C 000D0B6C 7C 08 02 A6 */ mflr r0 /* 800D3C10 000D0B70 90 01 03 A4 */ stw r0, 0x3a4(r1) /* 800D3C14 000D0B74 DB E1 03 90 */ stfd f31, 0x390(r1) /* 800D3C18 000D0B78 F3 E1 03 98 */ psq_st f31, 920(r1), 0, qr0 /* 800D3C1C 000D0B7C DB C1 03 80 */ stfd f30, 0x380(r1) /* 800D3C20 000D0B80 F3 C1 03 88 */ psq_st f30, 904(r1), 0, qr0 /* 800D3C24 000D0B84 DB A1 03 70 */ stfd f29, 0x370(r1) /* 800D3C28 000D0B88 F3 A1 03 78 */ psq_st f29, 888(r1), 0, qr0 /* 800D3C2C 000D0B8C DB 81 03 60 */ stfd f28, 0x360(r1) /* 800D3C30 000D0B90 F3 81 03 68 */ psq_st f28, 872(r1), 0, qr0 /* 800D3C34 000D0B94 DB 61 03 50 */ stfd f27, 0x350(r1) /* 800D3C38 000D0B98 F3 61 03 58 */ psq_st f27, 856(r1), 0, qr0 /* 800D3C3C 000D0B9C DB 41 03 40 */ stfd f26, 0x340(r1) /* 800D3C40 000D0BA0 F3 41 03 48 */ psq_st f26, 840(r1), 0, qr0 /* 800D3C44 000D0BA4 DB 21 03 30 */ stfd f25, 0x330(r1) /* 800D3C48 000D0BA8 F3 21 03 38 */ psq_st f25, 824(r1), 0, qr0 /* 800D3C4C 000D0BAC DB 01 03 20 */ stfd f24, 0x320(r1) /* 800D3C50 000D0BB0 F3 01 03 28 */ psq_st f24, 808(r1), 0, qr0 /* 800D3C54 000D0BB4 DA E1 03 10 */ stfd f23, 0x310(r1) /* 800D3C58 000D0BB8 F2 E1 03 18 */ psq_st f23, 792(r1), 0, qr0 /* 800D3C5C 000D0BBC DA C1 03 00 */ stfd f22, 0x300(r1) /* 800D3C60 000D0BC0 F2 C1 03 08 */ psq_st f22, 776(r1), 0, qr0 /* 800D3C64 000D0BC4 DA A1 02 F0 */ stfd f21, 0x2f0(r1) /* 800D3C68 000D0BC8 F2 A1 02 F8 */ psq_st f21, 760(r1), 0, qr0 /* 800D3C6C 000D0BCC DA 81 02 E0 */ stfd f20, 0x2e0(r1) /* 800D3C70 000D0BD0 F2 81 02 E8 */ psq_st f20, 744(r1), 0, qr0 /* 800D3C74 000D0BD4 BD C1 02 98 */ stmw r14, 0x298(r1) /* 800D3C78 000D0BD8 2C 05 00 27 */ cmpwi r5, 0x27 /* 800D3C7C 000D0BDC 90 C1 00 70 */ stw r6, 0x70(r1) /* 800D3C80 000D0BE0 7C 71 1B 78 */ mr r17, r3 /* 800D3C84 000D0BE4 7C 8E 23 78 */ mr r14, r4 /* 800D3C88 000D0BE8 41 82 00 0C */ beq lbl_800D3C94 /* 800D3C8C 000D0BEC 38 60 00 00 */ li r3, 0 /* 800D3C90 000D0BF0 48 00 03 74 */ b lbl_800D4004 lbl_800D3C94: /* 800D3C94 000D0BF4 7E 25 8B 78 */ mr r5, r17 /* 800D3C98 000D0BF8 38 61 02 38 */ addi r3, r1, 0x238 /* 800D3C9C 000D0BFC 48 00 67 E1 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D3CA0 000D0C00 7D C3 73 78 */ mr r3, r14 /* 800D3CA4 000D0C04 48 26 AF 85 */ bl ReadFloat__12CInputStreamFv /* 800D3CA8 000D0C08 FF 60 08 90 */ fmr f27, f1 /* 800D3CAC 000D0C0C 7D C3 73 78 */ mr r3, r14 /* 800D3CB0 000D0C10 48 26 AF 79 */ bl ReadFloat__12CInputStreamFv /* 800D3CB4 000D0C14 FF 40 08 90 */ fmr f26, f1 /* 800D3CB8 000D0C18 7D C3 73 78 */ mr r3, r14 /* 800D3CBC 000D0C1C 48 26 AF 6D */ bl ReadFloat__12CInputStreamFv /* 800D3CC0 000D0C20 FF 20 08 90 */ fmr f25, f1 /* 800D3CC4 000D0C24 7D C3 73 78 */ mr r3, r14 /* 800D3CC8 000D0C28 48 26 AF 61 */ bl ReadFloat__12CInputStreamFv /* 800D3CCC 000D0C2C FF 00 08 90 */ fmr f24, f1 /* 800D3CD0 000D0C30 7D C3 73 78 */ mr r3, r14 /* 800D3CD4 000D0C34 48 26 AF 55 */ bl ReadFloat__12CInputStreamFv /* 800D3CD8 000D0C38 FE E0 08 90 */ fmr f23, f1 /* 800D3CDC 000D0C3C 7D C3 73 78 */ mr r3, r14 /* 800D3CE0 000D0C40 48 26 AF 49 */ bl ReadFloat__12CInputStreamFv /* 800D3CE4 000D0C44 FE C0 08 90 */ fmr f22, f1 /* 800D3CE8 000D0C48 7D C3 73 78 */ mr r3, r14 /* 800D3CEC 000D0C4C 48 26 AF 3D */ bl ReadFloat__12CInputStreamFv /* 800D3CF0 000D0C50 FE A0 08 90 */ fmr f21, f1 /* 800D3CF4 000D0C54 7D C3 73 78 */ mr r3, r14 /* 800D3CF8 000D0C58 48 26 AF 31 */ bl ReadFloat__12CInputStreamFv /* 800D3CFC 000D0C5C FE 80 08 90 */ fmr f20, f1 /* 800D3D00 000D0C60 7D C3 73 78 */ mr r3, r14 /* 800D3D04 000D0C64 48 26 AF 25 */ bl ReadFloat__12CInputStreamFv /* 800D3D08 000D0C68 FF 80 08 90 */ fmr f28, f1 /* 800D3D0C 000D0C6C 7D C4 73 78 */ mr r4, r14 /* 800D3D10 000D0C70 38 61 00 80 */ addi r3, r1, 0x80 /* 800D3D14 000D0C74 48 28 F7 39 */ bl __ct__6CColorFR12CInputStream /* 800D3D18 000D0C78 7D C4 73 78 */ mr r4, r14 /* 800D3D1C 000D0C7C 38 61 00 7C */ addi r3, r1, 0x7c /* 800D3D20 000D0C80 48 28 F7 2D */ bl __ct__6CColorFR12CInputStream /* 800D3D24 000D0C84 7D C3 73 78 */ mr r3, r14 /* 800D3D28 000D0C88 48 26 AF 01 */ bl ReadFloat__12CInputStreamFv /* 800D3D2C 000D0C8C FF A0 08 90 */ fmr f29, f1 /* 800D3D30 000D0C90 7D C4 73 78 */ mr r4, r14 /* 800D3D34 000D0C94 38 61 00 C4 */ addi r3, r1, 0xc4 /* 800D3D38 000D0C98 48 24 0E 55 */ bl __ct__9CVector3fFR12CInputStream /* 800D3D3C 000D0C9C 7D C3 73 78 */ mr r3, r14 /* 800D3D40 000D0CA0 48 26 AE E9 */ bl ReadFloat__12CInputStreamFv /* 800D3D44 000D0CA4 FF C0 08 90 */ fmr f30, f1 /* 800D3D48 000D0CA8 7D C3 73 78 */ mr r3, r14 /* 800D3D4C 000D0CAC 48 26 AE DD */ bl ReadFloat__12CInputStreamFv /* 800D3D50 000D0CB0 FF E0 08 90 */ fmr f31, f1 /* 800D3D54 000D0CB4 7D C4 73 78 */ mr r4, r14 /* 800D3D58 000D0CB8 38 61 00 B8 */ addi r3, r1, 0xb8 /* 800D3D5C 000D0CBC 48 24 0E 31 */ bl __ct__9CVector3fFR12CInputStream /* 800D3D60 000D0CC0 7D C3 73 78 */ mr r3, r14 /* 800D3D64 000D0CC4 48 26 AF 21 */ bl ReadLong__12CInputStreamFv /* 800D3D68 000D0CC8 7C 73 1B 78 */ mr r19, r3 /* 800D3D6C 000D0CCC 7D C4 73 78 */ mr r4, r14 /* 800D3D70 000D0CD0 38 61 01 68 */ addi r3, r1, 0x168 /* 800D3D74 000D0CD4 48 00 60 01 */ bl LoadActorParameters__FR12CInputStream /* 800D3D78 000D0CD8 38 61 01 D0 */ addi r3, r1, 0x1d0 /* 800D3D7C 000D0CDC 38 81 01 68 */ addi r4, r1, 0x168 /* 800D3D80 000D0CE0 4B FF 18 9D */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D3D84 000D0CE4 38 61 01 68 */ addi r3, r1, 0x168 /* 800D3D88 000D0CE8 38 80 FF FF */ li r4, -1 /* 800D3D8C 000D0CEC 48 03 28 7D */ bl __dt__16CLightParametersFv /* 800D3D90 000D0CF0 7D C3 73 78 */ mr r3, r14 /* 800D3D94 000D0CF4 48 26 AE F1 */ bl ReadLong__12CInputStreamFv /* 800D3D98 000D0CF8 7C 74 1B 78 */ mr r20, r3 /* 800D3D9C 000D0CFC 7D C4 73 78 */ mr r4, r14 /* 800D3DA0 000D0D00 38 61 00 AC */ addi r3, r1, 0xac /* 800D3DA4 000D0D04 48 24 0D E9 */ bl __ct__9CVector3fFR12CInputStream /* 800D3DA8 000D0D08 7D C3 73 78 */ mr r3, r14 /* 800D3DAC 000D0D0C 48 26 AF 31 */ bl ReadBool__12CInputStreamFv /* 800D3DB0 000D0D10 7C 75 1B 78 */ mr r21, r3 /* 800D3DB4 000D0D14 7D C3 73 78 */ mr r3, r14 /* 800D3DB8 000D0D18 48 26 AF 25 */ bl ReadBool__12CInputStreamFv /* 800D3DBC 000D0D1C 7C 76 1B 78 */ mr r22, r3 /* 800D3DC0 000D0D20 7D C3 73 78 */ mr r3, r14 /* 800D3DC4 000D0D24 48 26 AE C1 */ bl ReadLong__12CInputStreamFv /* 800D3DC8 000D0D28 7C 77 1B 78 */ mr r23, r3 /* 800D3DCC 000D0D2C 7D C3 73 78 */ mr r3, r14 /* 800D3DD0 000D0D30 48 26 AE B5 */ bl ReadLong__12CInputStreamFv /* 800D3DD4 000D0D34 7C 78 1B 78 */ mr r24, r3 /* 800D3DD8 000D0D38 7D C4 73 78 */ mr r4, r14 /* 800D3DDC 000D0D3C 38 61 00 A0 */ addi r3, r1, 0xa0 /* 800D3DE0 000D0D40 48 24 0D AD */ bl __ct__9CVector3fFR12CInputStream /* 800D3DE4 000D0D44 7D C3 73 78 */ mr r3, r14 /* 800D3DE8 000D0D48 48 26 AE F5 */ bl ReadBool__12CInputStreamFv /* 800D3DEC 000D0D4C 7C 79 1B 78 */ mr r25, r3 /* 800D3DF0 000D0D50 7D C3 73 78 */ mr r3, r14 /* 800D3DF4 000D0D54 48 26 AE E9 */ bl ReadBool__12CInputStreamFv /* 800D3DF8 000D0D58 7C 7A 1B 78 */ mr r26, r3 /* 800D3DFC 000D0D5C 7D C3 73 78 */ mr r3, r14 /* 800D3E00 000D0D60 48 26 AE 85 */ bl ReadLong__12CInputStreamFv /* 800D3E04 000D0D64 7C 7B 1B 78 */ mr r27, r3 /* 800D3E08 000D0D68 7D C3 73 78 */ mr r3, r14 /* 800D3E0C 000D0D6C 48 26 AE 79 */ bl ReadLong__12CInputStreamFv /* 800D3E10 000D0D70 7C 7C 1B 78 */ mr r28, r3 /* 800D3E14 000D0D74 7D C4 73 78 */ mr r4, r14 /* 800D3E18 000D0D78 38 61 00 94 */ addi r3, r1, 0x94 /* 800D3E1C 000D0D7C 48 24 0D 71 */ bl __ct__9CVector3fFR12CInputStream /* 800D3E20 000D0D80 7D C3 73 78 */ mr r3, r14 /* 800D3E24 000D0D84 48 26 AE 61 */ bl ReadLong__12CInputStreamFv /* 800D3E28 000D0D88 7C 7D 1B 78 */ mr r29, r3 /* 800D3E2C 000D0D8C 7D C3 73 78 */ mr r3, r14 /* 800D3E30 000D0D90 48 26 AE AD */ bl ReadBool__12CInputStreamFv /* 800D3E34 000D0D94 7C 7E 1B 78 */ mr r30, r3 /* 800D3E38 000D0D98 7D C3 73 78 */ mr r3, r14 /* 800D3E3C 000D0D9C 48 26 AE A1 */ bl ReadBool__12CInputStreamFv /* 800D3E40 000D0DA0 7C 7F 1B 78 */ mr r31, r3 /* 800D3E44 000D0DA4 7D C3 73 78 */ mr r3, r14 /* 800D3E48 000D0DA8 48 26 AE 95 */ bl ReadBool__12CInputStreamFv /* 800D3E4C 000D0DAC 90 61 02 84 */ stw r3, 0x284(r1) /* 800D3E50 000D0DB0 7D C3 73 78 */ mr r3, r14 /* 800D3E54 000D0DB4 48 26 AE 89 */ bl ReadBool__12CInputStreamFv /* 800D3E58 000D0DB8 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800D3E5C 000D0DBC 7E 64 9B 78 */ mr r4, r19 /* 800D3E60 000D0DC0 90 61 02 88 */ stw r3, 0x288(r1) /* 800D3E64 000D0DC4 38 65 00 04 */ addi r3, r5, 4 /* 800D3E68 000D0DC8 48 26 7E 65 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D3E6C 000D0DCC 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D3E70 000D0DD0 7C 6E 1B 78 */ mr r14, r3 /* 800D3E74 000D0DD4 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l /* 800D3E78 000D0DD8 3A 00 00 00 */ li r16, 0 /* 800D3E7C 000D0DDC 38 83 00 0D */ addi r4, r3, 0xd /* 800D3E80 000D0DE0 39 E0 00 00 */ li r15, 0 /* 800D3E84 000D0DE4 38 60 03 08 */ li r3, 0x308 /* 800D3E88 000D0DE8 38 A0 00 00 */ li r5, 0 /* 800D3E8C 000D0DEC 48 24 19 E1 */ bl __nw__FUlPCcPCc /* 800D3E90 000D0DF0 7C 72 1B 79 */ or. r18, r3, r3 /* 800D3E94 000D0DF4 41 82 01 30 */ beq lbl_800D3FC4 /* 800D3E98 000D0DF8 28 0E 00 00 */ cmplwi r14, 0 /* 800D3E9C 000D0DFC 41 82 00 38 */ beq lbl_800D3ED4 /* 800D3EA0 000D0E00 C0 41 02 78 */ lfs f2, 0x278(r1) /* 800D3EA4 000D0E04 38 61 01 1C */ addi r3, r1, 0x11c /* 800D3EA8 000D0E08 C0 21 02 7C */ lfs f1, 0x27c(r1) /* 800D3EAC 000D0E0C 38 81 00 84 */ addi r4, r1, 0x84 /* 800D3EB0 000D0E10 C0 01 02 80 */ lfs f0, 0x280(r1) /* 800D3EB4 000D0E14 92 61 00 84 */ stw r19, 0x84(r1) /* 800D3EB8 000D0E18 D0 41 00 88 */ stfs f2, 0x88(r1) /* 800D3EBC 000D0E1C D0 21 00 8C */ stfs f1, 0x8c(r1) /* 800D3EC0 000D0E20 D0 01 00 90 */ stfs f0, 0x90(r1) /* 800D3EC4 000D0E24 48 04 2E 99 */ bl __ct__10CModelDataFRC10CStaticRes /* 800D3EC8 000D0E28 39 C1 01 1C */ addi r14, r1, 0x11c /* 800D3ECC 000D0E2C 3A 00 00 01 */ li r16, 1 /* 800D3ED0 000D0E30 48 00 00 14 */ b lbl_800D3EE4 lbl_800D3ED4: /* 800D3ED4 000D0E34 38 61 00 D0 */ addi r3, r1, 0xd0 /* 800D3ED8 000D0E38 4B F6 68 CD */ bl CModelDataNull__10CModelDataFv /* 800D3EDC 000D0E3C 39 E0 00 01 */ li r15, 1 /* 800D3EE0 000D0E40 39 C1 00 D0 */ addi r14, r1, 0xd0 lbl_800D3EE4: /* 800D3EE4 000D0E44 7E 24 8B 78 */ mr r4, r17 /* 800D3EE8 000D0E48 38 61 00 74 */ addi r3, r1, 0x74 /* 800D3EEC 000D0E4C 4B F7 91 F1 */ bl AllocateUniqueId__13CStateManagerFv /* 800D3EF0 000D0E50 A0 01 00 74 */ lhz r0, 0x74(r1) /* 800D3EF4 000D0E54 38 C1 00 7C */ addi r6, r1, 0x7c /* 800D3EF8 000D0E58 38 A1 02 78 */ addi r5, r1, 0x278 /* 800D3EFC 000D0E5C 38 81 00 C4 */ addi r4, r1, 0xc4 /* 800D3F00 000D0E60 B0 01 00 78 */ sth r0, 0x78(r1) /* 800D3F04 000D0E64 39 81 00 B8 */ addi r12, r1, 0xb8 /* 800D3F08 000D0E68 39 61 00 AC */ addi r11, r1, 0xac /* 800D3F0C 000D0E6C 38 01 00 A0 */ addi r0, r1, 0xa0 /* 800D3F10 000D0E70 D3 81 00 08 */ stfs f28, 8(r1) /* 800D3F14 000D0E74 FC 20 D8 90 */ fmr f1, f27 /* 800D3F18 000D0E78 FC 40 D0 90 */ fmr f2, f26 /* 800D3F1C 000D0E7C 7E 43 93 78 */ mr r3, r18 /* 800D3F20 000D0E80 90 C1 00 0C */ stw r6, 0xc(r1) /* 800D3F24 000D0E84 FC 60 C8 90 */ fmr f3, f25 /* 800D3F28 000D0E88 FC 80 C0 90 */ fmr f4, f24 /* 800D3F2C 000D0E8C D3 A1 00 10 */ stfs f29, 0x10(r1) /* 800D3F30 000D0E90 FC A0 B8 90 */ fmr f5, f23 /* 800D3F34 000D0E94 80 C1 00 70 */ lwz r6, 0x70(r1) /* 800D3F38 000D0E98 90 A1 00 14 */ stw r5, 0x14(r1) /* 800D3F3C 000D0E9C FC C0 B0 90 */ fmr f6, f22 /* 800D3F40 000D0EA0 FC E0 A8 90 */ fmr f7, f21 /* 800D3F44 000D0EA4 7D C8 73 78 */ mr r8, r14 /* 800D3F48 000D0EA8 90 81 00 18 */ stw r4, 0x18(r1) /* 800D3F4C 000D0EAC FD 00 A0 90 */ fmr f8, f20 /* 800D3F50 000D0EB0 38 81 00 78 */ addi r4, r1, 0x78 /* 800D3F54 000D0EB4 38 A1 02 38 */ addi r5, r1, 0x238 /* 800D3F58 000D0EB8 D3 C1 00 1C */ stfs f30, 0x1c(r1) /* 800D3F5C 000D0EBC 38 E1 02 48 */ addi r7, r1, 0x248 /* 800D3F60 000D0EC0 39 21 01 D0 */ addi r9, r1, 0x1d0 /* 800D3F64 000D0EC4 D3 E1 00 20 */ stfs f31, 0x20(r1) /* 800D3F68 000D0EC8 39 41 00 80 */ addi r10, r1, 0x80 /* 800D3F6C 000D0ECC 91 81 00 24 */ stw r12, 0x24(r1) /* 800D3F70 000D0ED0 92 81 00 28 */ stw r20, 0x28(r1) /* 800D3F74 000D0ED4 91 61 00 2C */ stw r11, 0x2c(r1) /* 800D3F78 000D0ED8 92 A1 00 30 */ stw r21, 0x30(r1) /* 800D3F7C 000D0EDC 92 C1 00 34 */ stw r22, 0x34(r1) /* 800D3F80 000D0EE0 92 E1 00 38 */ stw r23, 0x38(r1) /* 800D3F84 000D0EE4 93 01 00 3C */ stw r24, 0x3c(r1) /* 800D3F88 000D0EE8 90 01 00 40 */ stw r0, 0x40(r1) /* 800D3F8C 000D0EEC 93 21 00 44 */ stw r25, 0x44(r1) /* 800D3F90 000D0EF0 93 41 00 48 */ stw r26, 0x48(r1) /* 800D3F94 000D0EF4 93 61 00 4C */ stw r27, 0x4c(r1) /* 800D3F98 000D0EF8 93 81 00 50 */ stw r28, 0x50(r1) /* 800D3F9C 000D0EFC 90 01 00 54 */ stw r0, 0x54(r1) /* 800D3FA0 000D0F00 80 01 02 84 */ lwz r0, 0x284(r1) /* 800D3FA4 000D0F04 93 A1 00 58 */ stw r29, 0x58(r1) /* 800D3FA8 000D0F08 93 C1 00 5C */ stw r30, 0x5c(r1) /* 800D3FAC 000D0F0C 93 E1 00 60 */ stw r31, 0x60(r1) /* 800D3FB0 000D0F10 90 01 00 64 */ stw r0, 0x64(r1) /* 800D3FB4 000D0F14 80 01 02 88 */ lwz r0, 0x288(r1) /* 800D3FB8 000D0F18 90 01 00 68 */ stw r0, 0x68(r1) /* 800D3FBC 000D0F1C 48 02 8D 65 */ bl "__ct__13CScriptDebrisF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersfffffffffRC6CColorRC6CColorfRC9CVector3fRC9CVector3fffRC9CVector3fUiRC9CVector3fbbQ213CScriptDebris16EOrientationTypeUiRC9CVector3fbbQ213CScriptDebris16EOrientationTypeUiRC9CVector3fQ213CScriptDebris16EOrientationTypebbb" /* 800D3FC0 000D0F20 7C 72 1B 78 */ mr r18, r3 lbl_800D3FC4: /* 800D3FC4 000D0F24 7D E0 07 75 */ extsb. r0, r15 /* 800D3FC8 000D0F28 41 82 00 10 */ beq lbl_800D3FD8 /* 800D3FCC 000D0F2C 38 61 00 D0 */ addi r3, r1, 0xd0 /* 800D3FD0 000D0F30 38 80 FF FF */ li r4, -1 /* 800D3FD4 000D0F34 48 04 2A 79 */ bl __dt__10CModelDataFv lbl_800D3FD8: /* 800D3FD8 000D0F38 7E 00 07 75 */ extsb. r0, r16 /* 800D3FDC 000D0F3C 41 82 00 10 */ beq lbl_800D3FEC /* 800D3FE0 000D0F40 38 61 01 1C */ addi r3, r1, 0x11c /* 800D3FE4 000D0F44 38 80 FF FF */ li r4, -1 /* 800D3FE8 000D0F48 48 04 2A 65 */ bl __dt__10CModelDataFv lbl_800D3FEC: /* 800D3FEC 000D0F4C 38 61 01 D0 */ addi r3, r1, 0x1d0 /* 800D3FF0 000D0F50 38 80 FF FF */ li r4, -1 /* 800D3FF4 000D0F54 48 03 26 15 */ bl __dt__16CLightParametersFv /* 800D3FF8 000D0F58 38 61 02 38 */ addi r3, r1, 0x238 /* 800D3FFC 000D0F5C 48 26 9A E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D4000 000D0F60 7E 43 93 78 */ mr r3, r18 lbl_800D4004: /* 800D4004 000D0F64 E3 E1 03 98 */ psq_l f31, 920(r1), 0, qr0 /* 800D4008 000D0F68 CB E1 03 90 */ lfd f31, 0x390(r1) /* 800D400C 000D0F6C E3 C1 03 88 */ psq_l f30, 904(r1), 0, qr0 /* 800D4010 000D0F70 CB C1 03 80 */ lfd f30, 0x380(r1) /* 800D4014 000D0F74 E3 A1 03 78 */ psq_l f29, 888(r1), 0, qr0 /* 800D4018 000D0F78 CB A1 03 70 */ lfd f29, 0x370(r1) /* 800D401C 000D0F7C E3 81 03 68 */ psq_l f28, 872(r1), 0, qr0 /* 800D4020 000D0F80 CB 81 03 60 */ lfd f28, 0x360(r1) /* 800D4024 000D0F84 E3 61 03 58 */ psq_l f27, 856(r1), 0, qr0 /* 800D4028 000D0F88 CB 61 03 50 */ lfd f27, 0x350(r1) /* 800D402C 000D0F8C E3 41 03 48 */ psq_l f26, 840(r1), 0, qr0 /* 800D4030 000D0F90 CB 41 03 40 */ lfd f26, 0x340(r1) /* 800D4034 000D0F94 E3 21 03 38 */ psq_l f25, 824(r1), 0, qr0 /* 800D4038 000D0F98 CB 21 03 30 */ lfd f25, 0x330(r1) /* 800D403C 000D0F9C E3 01 03 28 */ psq_l f24, 808(r1), 0, qr0 /* 800D4040 000D0FA0 CB 01 03 20 */ lfd f24, 0x320(r1) /* 800D4044 000D0FA4 E2 E1 03 18 */ psq_l f23, 792(r1), 0, qr0 /* 800D4048 000D0FA8 CA E1 03 10 */ lfd f23, 0x310(r1) /* 800D404C 000D0FAC E2 C1 03 08 */ psq_l f22, 776(r1), 0, qr0 /* 800D4050 000D0FB0 CA C1 03 00 */ lfd f22, 0x300(r1) /* 800D4054 000D0FB4 E2 A1 02 F8 */ psq_l f21, 760(r1), 0, qr0 /* 800D4058 000D0FB8 CA A1 02 F0 */ lfd f21, 0x2f0(r1) /* 800D405C 000D0FBC E2 81 02 E8 */ psq_l f20, 744(r1), 0, qr0 /* 800D4060 000D0FC0 CA 81 02 E0 */ lfd f20, 0x2e0(r1) /* 800D4064 000D0FC4 B9 C1 02 98 */ lmw r14, 0x298(r1) /* 800D4068 000D0FC8 80 01 03 A4 */ lwz r0, 0x3a4(r1) /* 800D406C 000D0FCC 7C 08 03 A6 */ mtlr r0 /* 800D4070 000D0FD0 38 21 03 A0 */ addi r1, r1, 0x3a0 /* 800D4074 000D0FD4 4E 80 00 20 */ blr .global LoadDebris__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadDebris__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D4078 000D0FD8 94 21 FD D0 */ stwu r1, -0x230(r1) /* 800D407C 000D0FDC 7C 08 02 A6 */ mflr r0 /* 800D4080 000D0FE0 90 01 02 34 */ stw r0, 0x234(r1) /* 800D4084 000D0FE4 DB E1 02 20 */ stfd f31, 0x220(r1) /* 800D4088 000D0FE8 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 /* 800D408C 000D0FEC DB C1 02 10 */ stfd f30, 0x210(r1) /* 800D4090 000D0FF0 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 /* 800D4094 000D0FF4 DB A1 02 00 */ stfd f29, 0x200(r1) /* 800D4098 000D0FF8 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 /* 800D409C 000D0FFC DB 81 01 F0 */ stfd f28, 0x1f0(r1) /* 800D40A0 000D1000 F3 81 01 F8 */ psq_st f28, 504(r1), 0, qr0 /* 800D40A4 000D1004 BE C1 01 C8 */ stmw r22, 0x1c8(r1) /* 800D40A8 000D1008 2C 05 00 12 */ cmpwi r5, 0x12 /* 800D40AC 000D100C 7C 76 1B 78 */ mr r22, r3 /* 800D40B0 000D1010 7C 97 23 78 */ mr r23, r4 /* 800D40B4 000D1014 7C DF 33 78 */ mr r31, r6 /* 800D40B8 000D1018 41 82 00 0C */ beq lbl_800D40C4 /* 800D40BC 000D101C 38 60 00 00 */ li r3, 0 /* 800D40C0 000D1020 48 00 01 F4 */ b lbl_800D42B4 lbl_800D40C4: /* 800D40C4 000D1024 7E C5 B3 78 */ mr r5, r22 /* 800D40C8 000D1028 38 61 01 78 */ addi r3, r1, 0x178 /* 800D40CC 000D102C 48 00 63 B1 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D40D0 000D1030 7E E3 BB 78 */ mr r3, r23 /* 800D40D4 000D1034 48 26 AB 55 */ bl ReadFloat__12CInputStreamFv /* 800D40D8 000D1038 FF E0 08 90 */ fmr f31, f1 /* 800D40DC 000D103C 7E E4 BB 78 */ mr r4, r23 /* 800D40E0 000D1040 38 61 00 50 */ addi r3, r1, 0x50 /* 800D40E4 000D1044 48 24 0A A9 */ bl __ct__9CVector3fFR12CInputStream /* 800D40E8 000D1048 7E E4 BB 78 */ mr r4, r23 /* 800D40EC 000D104C 38 61 00 30 */ addi r3, r1, 0x30 /* 800D40F0 000D1050 48 28 F3 5D */ bl __ct__6CColorFR12CInputStream /* 800D40F4 000D1054 7E E3 BB 78 */ mr r3, r23 /* 800D40F8 000D1058 48 26 AB 31 */ bl ReadFloat__12CInputStreamFv /* 800D40FC 000D105C FF C0 08 90 */ fmr f30, f1 /* 800D4100 000D1060 7E E3 BB 78 */ mr r3, r23 /* 800D4104 000D1064 48 26 AB 25 */ bl ReadFloat__12CInputStreamFv /* 800D4108 000D1068 FF A0 08 90 */ fmr f29, f1 /* 800D410C 000D106C 7E E3 BB 78 */ mr r3, r23 /* 800D4110 000D1070 48 26 AB 19 */ bl ReadFloat__12CInputStreamFv /* 800D4114 000D1074 FF 80 08 90 */ fmr f28, f1 /* 800D4118 000D1078 7E E3 BB 78 */ mr r3, r23 /* 800D411C 000D107C 48 26 AB 69 */ bl ReadLong__12CInputStreamFv /* 800D4120 000D1080 7C 7A 1B 78 */ mr r26, r3 /* 800D4124 000D1084 7E E3 BB 78 */ mr r3, r23 /* 800D4128 000D1088 48 26 AB B5 */ bl ReadBool__12CInputStreamFv /* 800D412C 000D108C 7C 7B 1B 78 */ mr r27, r3 /* 800D4130 000D1090 7E E3 BB 78 */ mr r3, r23 /* 800D4134 000D1094 48 26 AB 51 */ bl ReadLong__12CInputStreamFv /* 800D4138 000D1098 7C 79 1B 78 */ mr r25, r3 /* 800D413C 000D109C 7E E4 BB 78 */ mr r4, r23 /* 800D4140 000D10A0 38 61 00 A8 */ addi r3, r1, 0xa8 /* 800D4144 000D10A4 48 00 5C 31 */ bl LoadActorParameters__FR12CInputStream /* 800D4148 000D10A8 38 61 01 10 */ addi r3, r1, 0x110 /* 800D414C 000D10AC 38 81 00 A8 */ addi r4, r1, 0xa8 /* 800D4150 000D10B0 4B FF 14 CD */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D4154 000D10B4 38 61 00 A8 */ addi r3, r1, 0xa8 /* 800D4158 000D10B8 38 80 FF FF */ li r4, -1 /* 800D415C 000D10BC 48 03 24 AD */ bl __dt__16CLightParametersFv /* 800D4160 000D10C0 7E E3 BB 78 */ mr r3, r23 /* 800D4164 000D10C4 48 26 AB 21 */ bl ReadLong__12CInputStreamFv /* 800D4168 000D10C8 7C 78 1B 78 */ mr r24, r3 /* 800D416C 000D10CC 7E E4 BB 78 */ mr r4, r23 /* 800D4170 000D10D0 38 61 00 44 */ addi r3, r1, 0x44 /* 800D4174 000D10D4 48 24 0A 19 */ bl __ct__9CVector3fFR12CInputStream /* 800D4178 000D10D8 7E E3 BB 78 */ mr r3, r23 /* 800D417C 000D10DC 48 26 AB 61 */ bl ReadBool__12CInputStreamFv /* 800D4180 000D10E0 7C 7C 1B 78 */ mr r28, r3 /* 800D4184 000D10E4 7E E3 BB 78 */ mr r3, r23 /* 800D4188 000D10E8 48 26 AB 55 */ bl ReadBool__12CInputStreamFv /* 800D418C 000D10EC 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800D4190 000D10F0 7C 7D 1B 78 */ mr r29, r3 /* 800D4194 000D10F4 7F 24 CB 78 */ mr r4, r25 /* 800D4198 000D10F8 38 65 00 04 */ addi r3, r5, 4 /* 800D419C 000D10FC 48 26 7B 31 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D41A0 000D1100 28 03 00 00 */ cmplwi r3, 0 /* 800D41A4 000D1104 40 82 00 20 */ bne lbl_800D41C4 /* 800D41A8 000D1108 38 61 01 10 */ addi r3, r1, 0x110 /* 800D41AC 000D110C 38 80 FF FF */ li r4, -1 /* 800D41B0 000D1110 48 03 24 59 */ bl __dt__16CLightParametersFv /* 800D41B4 000D1114 38 61 01 78 */ addi r3, r1, 0x178 /* 800D41B8 000D1118 48 26 99 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D41BC 000D111C 38 60 00 00 */ li r3, 0 /* 800D41C0 000D1120 48 00 00 F4 */ b lbl_800D42B4 lbl_800D41C4: /* 800D41C4 000D1124 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D41C8 000D1128 3B C0 00 00 */ li r30, 0 /* 800D41CC 000D112C 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D41D0 000D1130 38 60 03 08 */ li r3, 0x308 /* 800D41D4 000D1134 38 84 00 0D */ addi r4, r4, 0xd /* 800D41D8 000D1138 38 A0 00 00 */ li r5, 0 /* 800D41DC 000D113C 48 24 16 91 */ bl __nw__FUlPCcPCc /* 800D41E0 000D1140 7C 77 1B 79 */ or. r23, r3, r3 /* 800D41E4 000D1144 41 82 00 A4 */ beq lbl_800D4288 /* 800D41E8 000D1148 C0 41 01 B8 */ lfs f2, 0x1b8(r1) /* 800D41EC 000D114C 38 61 00 5C */ addi r3, r1, 0x5c /* 800D41F0 000D1150 C0 21 01 BC */ lfs f1, 0x1bc(r1) /* 800D41F4 000D1154 38 81 00 34 */ addi r4, r1, 0x34 /* 800D41F8 000D1158 C0 01 01 C0 */ lfs f0, 0x1c0(r1) /* 800D41FC 000D115C 93 21 00 34 */ stw r25, 0x34(r1) /* 800D4200 000D1160 D0 41 00 38 */ stfs f2, 0x38(r1) /* 800D4204 000D1164 D0 21 00 3C */ stfs f1, 0x3c(r1) /* 800D4208 000D1168 D0 01 00 40 */ stfs f0, 0x40(r1) /* 800D420C 000D116C 48 04 2B 51 */ bl __ct__10CModelDataFRC10CStaticRes /* 800D4210 000D1170 7E C4 B3 78 */ mr r4, r22 /* 800D4214 000D1174 38 61 00 28 */ addi r3, r1, 0x28 /* 800D4218 000D1178 3B C0 00 01 */ li r30, 1 /* 800D421C 000D117C 4B F7 8E C1 */ bl AllocateUniqueId__13CStateManagerFv /* 800D4220 000D1180 A0 61 00 28 */ lhz r3, 0x28(r1) /* 800D4224 000D1184 38 A1 00 44 */ addi r5, r1, 0x44 /* 800D4228 000D1188 38 81 00 50 */ addi r4, r1, 0x50 /* 800D422C 000D118C 38 01 00 30 */ addi r0, r1, 0x30 /* 800D4230 000D1190 B0 61 00 2C */ sth r3, 0x2c(r1) /* 800D4234 000D1194 FC 20 F8 90 */ fmr f1, f31 /* 800D4238 000D1198 FC 40 F0 90 */ fmr f2, f30 /* 800D423C 000D119C 7E E3 BB 78 */ mr r3, r23 /* 800D4240 000D11A0 90 A1 00 08 */ stw r5, 8(r1) /* 800D4244 000D11A4 FC 60 E8 90 */ fmr f3, f29 /* 800D4248 000D11A8 FC 80 E0 90 */ fmr f4, f28 /* 800D424C 000D11AC 90 81 00 0C */ stw r4, 0xc(r1) /* 800D4250 000D11B0 7F E6 FB 78 */ mr r6, r31 /* 800D4254 000D11B4 7F 0A C3 78 */ mr r10, r24 /* 800D4258 000D11B8 90 01 00 10 */ stw r0, 0x10(r1) /* 800D425C 000D11BC 38 81 00 2C */ addi r4, r1, 0x2c /* 800D4260 000D11C0 38 A1 01 78 */ addi r5, r1, 0x178 /* 800D4264 000D11C4 38 E1 01 88 */ addi r7, r1, 0x188 /* 800D4268 000D11C8 93 41 00 14 */ stw r26, 0x14(r1) /* 800D426C 000D11CC 39 01 00 5C */ addi r8, r1, 0x5c /* 800D4270 000D11D0 39 21 01 10 */ addi r9, r1, 0x110 /* 800D4274 000D11D4 93 81 00 18 */ stw r28, 0x18(r1) /* 800D4278 000D11D8 93 61 00 1C */ stw r27, 0x1c(r1) /* 800D427C 000D11DC 93 A1 00 20 */ stw r29, 0x20(r1) /* 800D4280 000D11E0 48 02 94 21 */ bl "__ct__13CScriptDebrisF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersUiRC9CVector3ffRC9CVector3fRC6CColorfffQ213CScriptDebris10EScaleTypebbb" /* 800D4284 000D11E4 7C 77 1B 78 */ mr r23, r3 lbl_800D4288: /* 800D4288 000D11E8 7F C0 07 75 */ extsb. r0, r30 /* 800D428C 000D11EC 41 82 00 10 */ beq lbl_800D429C /* 800D4290 000D11F0 38 61 00 5C */ addi r3, r1, 0x5c /* 800D4294 000D11F4 38 80 FF FF */ li r4, -1 /* 800D4298 000D11F8 48 04 27 B5 */ bl __dt__10CModelDataFv lbl_800D429C: /* 800D429C 000D11FC 38 61 01 10 */ addi r3, r1, 0x110 /* 800D42A0 000D1200 38 80 FF FF */ li r4, -1 /* 800D42A4 000D1204 48 03 23 65 */ bl __dt__16CLightParametersFv /* 800D42A8 000D1208 38 61 01 78 */ addi r3, r1, 0x178 /* 800D42AC 000D120C 48 26 98 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D42B0 000D1210 7E E3 BB 78 */ mr r3, r23 lbl_800D42B4: /* 800D42B4 000D1214 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 /* 800D42B8 000D1218 CB E1 02 20 */ lfd f31, 0x220(r1) /* 800D42BC 000D121C E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 /* 800D42C0 000D1220 CB C1 02 10 */ lfd f30, 0x210(r1) /* 800D42C4 000D1224 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 /* 800D42C8 000D1228 CB A1 02 00 */ lfd f29, 0x200(r1) /* 800D42CC 000D122C E3 81 01 F8 */ psq_l f28, 504(r1), 0, qr0 /* 800D42D0 000D1230 CB 81 01 F0 */ lfd f28, 0x1f0(r1) /* 800D42D4 000D1234 BA C1 01 C8 */ lmw r22, 0x1c8(r1) /* 800D42D8 000D1238 80 01 02 34 */ lwz r0, 0x234(r1) /* 800D42DC 000D123C 7C 08 03 A6 */ mtlr r0 /* 800D42E0 000D1240 38 21 02 30 */ addi r1, r1, 0x230 /* 800D42E4 000D1244 4E 80 00 20 */ blr .global LoadCameraBlurKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadCameraBlurKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D42E8 000D1248 94 21 FF B0 */ stwu r1, -0x50(r1) /* 800D42EC 000D124C 7C 08 02 A6 */ mflr r0 /* 800D42F0 000D1250 2C 05 00 07 */ cmpwi r5, 7 /* 800D42F4 000D1254 90 01 00 54 */ stw r0, 0x54(r1) /* 800D42F8 000D1258 DB E1 00 48 */ stfd f31, 0x48(r1) /* 800D42FC 000D125C DB C1 00 40 */ stfd f30, 0x40(r1) /* 800D4300 000D1260 DB A1 00 38 */ stfd f29, 0x38(r1) /* 800D4304 000D1264 BF 41 00 20 */ stmw r26, 0x20(r1) /* 800D4308 000D1268 7C 7A 1B 78 */ mr r26, r3 /* 800D430C 000D126C 7C 9C 23 78 */ mr r28, r4 /* 800D4310 000D1270 7C DB 33 78 */ mr r27, r6 /* 800D4314 000D1274 41 82 00 0C */ beq lbl_800D4320 /* 800D4318 000D1278 38 60 00 00 */ li r3, 0 /* 800D431C 000D127C 48 00 00 CC */ b lbl_800D43E8 lbl_800D4320: /* 800D4320 000D1280 4B F7 0E C5 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D4324 000D1284 7C 64 1B 78 */ mr r4, r3 /* 800D4328 000D1288 38 61 00 10 */ addi r3, r1, 0x10 /* 800D432C 000D128C 48 26 9E 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D4330 000D1290 7F 83 E3 78 */ mr r3, r28 /* 800D4334 000D1294 48 26 A9 A9 */ bl ReadBool__12CInputStreamFv /* 800D4338 000D1298 7C 7F 1B 78 */ mr r31, r3 /* 800D433C 000D129C 7F 83 E3 78 */ mr r3, r28 /* 800D4340 000D12A0 48 26 A9 45 */ bl ReadLong__12CInputStreamFv /* 800D4344 000D12A4 7C 7E 1B 78 */ mr r30, r3 /* 800D4348 000D12A8 7F 83 E3 78 */ mr r3, r28 /* 800D434C 000D12AC 48 26 A8 DD */ bl ReadFloat__12CInputStreamFv /* 800D4350 000D12B0 FF E0 08 90 */ fmr f31, f1 /* 800D4354 000D12B4 7F 83 E3 78 */ mr r3, r28 /* 800D4358 000D12B8 48 26 A9 2D */ bl ReadLong__12CInputStreamFv /* 800D435C 000D12BC 7C 7D 1B 78 */ mr r29, r3 /* 800D4360 000D12C0 7F 83 E3 78 */ mr r3, r28 /* 800D4364 000D12C4 48 26 A8 C5 */ bl ReadFloat__12CInputStreamFv /* 800D4368 000D12C8 FF C0 08 90 */ fmr f30, f1 /* 800D436C 000D12CC 7F 83 E3 78 */ mr r3, r28 /* 800D4370 000D12D0 48 26 A8 B9 */ bl ReadFloat__12CInputStreamFv /* 800D4374 000D12D4 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D4378 000D12D8 FF A0 08 90 */ fmr f29, f1 /* 800D437C 000D12DC 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D4380 000D12E0 38 A0 00 00 */ li r5, 0 /* 800D4384 000D12E4 38 60 00 48 */ li r3, 0x48 /* 800D4388 000D12E8 38 84 00 0D */ addi r4, r4, 0xd /* 800D438C 000D12EC 48 24 14 E1 */ bl __nw__FUlPCcPCc /* 800D4390 000D12F0 7C 7C 1B 79 */ or. r28, r3, r3 /* 800D4394 000D12F4 41 82 00 48 */ beq lbl_800D43DC /* 800D4398 000D12F8 7F 44 D3 78 */ mr r4, r26 /* 800D439C 000D12FC 38 61 00 08 */ addi r3, r1, 8 /* 800D43A0 000D1300 4B F7 8D 3D */ bl AllocateUniqueId__13CStateManagerFv /* 800D43A4 000D1304 A0 01 00 08 */ lhz r0, 8(r1) /* 800D43A8 000D1308 FC 20 F8 90 */ fmr f1, f31 /* 800D43AC 000D130C FC 40 F0 90 */ fmr f2, f30 /* 800D43B0 000D1310 7F 83 E3 78 */ mr r3, r28 /* 800D43B4 000D1314 FC 60 E8 90 */ fmr f3, f29 /* 800D43B8 000D1318 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D43BC 000D131C 7F 66 DB 78 */ mr r6, r27 /* 800D43C0 000D1320 7F C7 F3 78 */ mr r7, r30 /* 800D43C4 000D1324 7F A8 EB 78 */ mr r8, r29 /* 800D43C8 000D1328 7F E9 FB 78 */ mr r9, r31 /* 800D43CC 000D132C 38 81 00 0C */ addi r4, r1, 0xc /* 800D43D0 000D1330 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D43D4 000D1334 48 01 64 CD */ bl "__ct__25CScriptCameraBlurKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoUifUiffb" /* 800D43D8 000D1338 7C 7C 1B 78 */ mr r28, r3 lbl_800D43DC: /* 800D43DC 000D133C 38 61 00 10 */ addi r3, r1, 0x10 /* 800D43E0 000D1340 48 26 97 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D43E4 000D1344 7F 83 E3 78 */ mr r3, r28 lbl_800D43E8: /* 800D43E8 000D1348 CB E1 00 48 */ lfd f31, 0x48(r1) /* 800D43EC 000D134C CB C1 00 40 */ lfd f30, 0x40(r1) /* 800D43F0 000D1350 CB A1 00 38 */ lfd f29, 0x38(r1) /* 800D43F4 000D1354 BB 41 00 20 */ lmw r26, 0x20(r1) /* 800D43F8 000D1358 80 01 00 54 */ lwz r0, 0x54(r1) /* 800D43FC 000D135C 7C 08 03 A6 */ mtlr r0 /* 800D4400 000D1360 38 21 00 50 */ addi r1, r1, 0x50 /* 800D4404 000D1364 4E 80 00 20 */ blr .global LoadCameraFilterKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadCameraFilterKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D4408 000D1368 94 21 FF 80 */ stwu r1, -0x80(r1) /* 800D440C 000D136C 7C 08 02 A6 */ mflr r0 /* 800D4410 000D1370 90 01 00 84 */ stw r0, 0x84(r1) /* 800D4414 000D1374 DB E1 00 70 */ stfd f31, 0x70(r1) /* 800D4418 000D1378 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 /* 800D441C 000D137C DB C1 00 60 */ stfd f30, 0x60(r1) /* 800D4420 000D1380 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 /* 800D4424 000D1384 BE E1 00 3C */ stmw r23, 0x3c(r1) /* 800D4428 000D1388 2C 05 00 0A */ cmpwi r5, 0xa /* 800D442C 000D138C 7C 7E 1B 78 */ mr r30, r3 /* 800D4430 000D1390 7C 9B 23 78 */ mr r27, r4 /* 800D4434 000D1394 7C DF 33 78 */ mr r31, r6 /* 800D4438 000D1398 41 82 00 0C */ beq lbl_800D4444 /* 800D443C 000D139C 38 60 00 00 */ li r3, 0 /* 800D4440 000D13A0 48 00 01 1C */ b lbl_800D455C lbl_800D4444: /* 800D4444 000D13A4 4B F7 0D A1 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D4448 000D13A8 7C 64 1B 78 */ mr r4, r3 /* 800D444C 000D13AC 38 61 00 1C */ addi r3, r1, 0x1c /* 800D4450 000D13B0 48 26 9D 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D4454 000D13B4 7F 63 DB 78 */ mr r3, r27 /* 800D4458 000D13B8 48 26 A8 85 */ bl ReadBool__12CInputStreamFv /* 800D445C 000D13BC 7C 7C 1B 78 */ mr r28, r3 /* 800D4460 000D13C0 7F 63 DB 78 */ mr r3, r27 /* 800D4464 000D13C4 48 26 A8 21 */ bl ReadLong__12CInputStreamFv /* 800D4468 000D13C8 7C 7A 1B 78 */ mr r26, r3 /* 800D446C 000D13CC 7F 63 DB 78 */ mr r3, r27 /* 800D4470 000D13D0 48 26 A8 15 */ bl ReadLong__12CInputStreamFv /* 800D4474 000D13D4 7C 79 1B 78 */ mr r25, r3 /* 800D4478 000D13D8 7F 63 DB 78 */ mr r3, r27 /* 800D447C 000D13DC 48 26 A8 09 */ bl ReadLong__12CInputStreamFv /* 800D4480 000D13E0 7C 78 1B 78 */ mr r24, r3 /* 800D4484 000D13E4 7F 63 DB 78 */ mr r3, r27 /* 800D4488 000D13E8 48 26 A7 FD */ bl ReadLong__12CInputStreamFv /* 800D448C 000D13EC 7C 77 1B 78 */ mr r23, r3 /* 800D4490 000D13F0 7F 64 DB 78 */ mr r4, r27 /* 800D4494 000D13F4 38 61 00 18 */ addi r3, r1, 0x18 /* 800D4498 000D13F8 48 28 EF B5 */ bl __ct__6CColorFR12CInputStream /* 800D449C 000D13FC 7F 63 DB 78 */ mr r3, r27 /* 800D44A0 000D1400 48 26 A7 89 */ bl ReadFloat__12CInputStreamFv /* 800D44A4 000D1404 FF E0 08 90 */ fmr f31, f1 /* 800D44A8 000D1408 7F 63 DB 78 */ mr r3, r27 /* 800D44AC 000D140C 48 26 A7 7D */ bl ReadFloat__12CInputStreamFv /* 800D44B0 000D1410 FF C0 08 90 */ fmr f30, f1 /* 800D44B4 000D1414 7F 63 DB 78 */ mr r3, r27 /* 800D44B8 000D1418 48 26 A7 CD */ bl ReadLong__12CInputStreamFv /* 800D44BC 000D141C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D44C0 000D1420 7C 7D 1B 78 */ mr r29, r3 /* 800D44C4 000D1424 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D44C8 000D1428 38 60 00 54 */ li r3, 0x54 /* 800D44CC 000D142C 38 84 00 0D */ addi r4, r4, 0xd /* 800D44D0 000D1430 38 A0 00 00 */ li r5, 0 /* 800D44D4 000D1434 48 24 13 99 */ bl __nw__FUlPCcPCc /* 800D44D8 000D1438 7C 7B 1B 79 */ or. r27, r3, r3 /* 800D44DC 000D143C 41 82 00 74 */ beq lbl_800D4550 /* 800D44E0 000D1440 7F C4 F3 78 */ mr r4, r30 /* 800D44E4 000D1444 38 61 00 10 */ addi r3, r1, 0x10 /* 800D44E8 000D1448 4B F7 8B F5 */ bl AllocateUniqueId__13CStateManagerFv /* 800D44EC 000D144C A0 01 00 10 */ lhz r0, 0x10(r1) /* 800D44F0 000D1450 B0 01 00 14 */ sth r0, 0x14(r1) /* 800D44F4 000D1454 E0 21 A0 18 */ psq_l f1, 24(r1), 1, qr2 /* 800D44F8 000D1458 E0 41 A0 19 */ psq_l f2, 25(r1), 1, qr2 /* 800D44FC 000D145C E0 61 A0 1A */ psq_l f3, 26(r1), 1, qr2 /* 800D4500 000D1460 E0 81 A0 1B */ psq_l f4, 27(r1), 1, qr2 /* 800D4504 000D1464 FC A0 F8 90 */ fmr f5, f31 /* 800D4508 000D1468 C0 02 8E 68 */ lfs f0, lbl_805AAB88@sda21(r2) /* 800D450C 000D146C FC C0 F0 90 */ fmr f6, f30 /* 800D4510 000D1470 93 A1 00 08 */ stw r29, 8(r1) /* 800D4514 000D1474 7F 63 DB 78 */ mr r3, r27 /* 800D4518 000D1478 EC 20 00 72 */ fmuls f1, f0, f1 /* 800D451C 000D147C EC 40 00 B2 */ fmuls f2, f0, f2 /* 800D4520 000D1480 93 81 00 0C */ stw r28, 0xc(r1) /* 800D4524 000D1484 EC 60 00 F2 */ fmuls f3, f0, f3 /* 800D4528 000D1488 7F E6 FB 78 */ mr r6, r31 /* 800D452C 000D148C EC 80 01 32 */ fmuls f4, f0, f4 /* 800D4530 000D1490 7F 47 D3 78 */ mr r7, r26 /* 800D4534 000D1494 7F 28 CB 78 */ mr r8, r25 /* 800D4538 000D1498 7F 09 C3 78 */ mr r9, r24 /* 800D453C 000D149C 7E EA BB 78 */ mr r10, r23 /* 800D4540 000D14A0 38 81 00 14 */ addi r4, r1, 0x14 /* 800D4544 000D14A4 38 A1 00 1C */ addi r5, r1, 0x1c /* 800D4548 000D14A8 48 01 61 45 */ bl "__ct__27CScriptCameraFilterKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoUiUiUiUiffffffUib" /* 800D454C 000D14AC 7C 7B 1B 78 */ mr r27, r3 lbl_800D4550: /* 800D4550 000D14B0 38 61 00 1C */ addi r3, r1, 0x1c /* 800D4554 000D14B4 48 26 95 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D4558 000D14B8 7F 63 DB 78 */ mr r3, r27 lbl_800D455C: /* 800D455C 000D14BC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 /* 800D4560 000D14C0 CB E1 00 70 */ lfd f31, 0x70(r1) /* 800D4564 000D14C4 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 /* 800D4568 000D14C8 CB C1 00 60 */ lfd f30, 0x60(r1) /* 800D456C 000D14CC BA E1 00 3C */ lmw r23, 0x3c(r1) /* 800D4570 000D14D0 80 01 00 84 */ lwz r0, 0x84(r1) /* 800D4574 000D14D4 7C 08 03 A6 */ mtlr r0 /* 800D4578 000D14D8 38 21 00 80 */ addi r1, r1, 0x80 /* 800D457C 000D14DC 4E 80 00 20 */ blr .global LoadHUDMemo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadHUDMemo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D4580 000D14E0 94 21 FF C0 */ stwu r1, -0x40(r1) /* 800D4584 000D14E4 7C 08 02 A6 */ mflr r0 /* 800D4588 000D14E8 2C 05 00 05 */ cmpwi r5, 5 /* 800D458C 000D14EC 90 01 00 44 */ stw r0, 0x44(r1) /* 800D4590 000D14F0 BF 41 00 28 */ stmw r26, 0x28(r1) /* 800D4594 000D14F4 7C 7A 1B 78 */ mr r26, r3 /* 800D4598 000D14F8 7C 9D 23 78 */ mr r29, r4 /* 800D459C 000D14FC 7C DB 33 78 */ mr r27, r6 /* 800D45A0 000D1500 3B 80 00 00 */ li r28, 0 /* 800D45A4 000D1504 40 82 00 0C */ bne lbl_800D45B0 /* 800D45A8 000D1508 3B 80 00 01 */ li r28, 1 /* 800D45AC 000D150C 48 00 00 14 */ b lbl_800D45C0 lbl_800D45B0: /* 800D45B0 000D1510 2C 05 00 06 */ cmpwi r5, 6 /* 800D45B4 000D1514 41 82 00 0C */ beq lbl_800D45C0 /* 800D45B8 000D1518 38 60 00 00 */ li r3, 0 /* 800D45BC 000D151C 48 00 00 C4 */ b lbl_800D4680 lbl_800D45C0: /* 800D45C0 000D1520 7F 43 D3 78 */ mr r3, r26 /* 800D45C4 000D1524 7F A4 EB 78 */ mr r4, r29 /* 800D45C8 000D1528 4B F7 0C 1D */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D45CC 000D152C 7C 64 1B 78 */ mr r4, r3 /* 800D45D0 000D1530 38 61 00 18 */ addi r3, r1, 0x18 /* 800D45D4 000D1534 48 26 9B 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D45D8 000D1538 7F A4 EB 78 */ mr r4, r29 /* 800D45DC 000D153C 38 61 00 10 */ addi r3, r1, 0x10 /* 800D45E0 000D1540 48 01 3C F1 */ bl __ct__13CHUDMemoParmsFR12CInputStream /* 800D45E4 000D1544 57 80 06 3F */ clrlwi. r0, r28, 0x18 /* 800D45E8 000D1548 41 82 00 0C */ beq lbl_800D45F4 /* 800D45EC 000D154C 3B E0 00 01 */ li r31, 1 /* 800D45F0 000D1550 48 00 00 10 */ b lbl_800D4600 lbl_800D45F4: /* 800D45F4 000D1554 7F A3 EB 78 */ mr r3, r29 /* 800D45F8 000D1558 48 26 A6 8D */ bl ReadLong__12CInputStreamFv /* 800D45FC 000D155C 7C 7F 1B 78 */ mr r31, r3 lbl_800D4600: /* 800D4600 000D1560 7F A3 EB 78 */ mr r3, r29 /* 800D4604 000D1564 48 26 A6 81 */ bl ReadLong__12CInputStreamFv /* 800D4608 000D1568 7C 7E 1B 78 */ mr r30, r3 /* 800D460C 000D156C 7F A3 EB 78 */ mr r3, r29 /* 800D4610 000D1570 48 26 A6 CD */ bl ReadBool__12CInputStreamFv /* 800D4614 000D1574 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D4618 000D1578 7C 7D 1B 78 */ mr r29, r3 /* 800D461C 000D157C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D4620 000D1580 38 60 00 54 */ li r3, 0x54 /* 800D4624 000D1584 38 A0 00 00 */ li r5, 0 /* 800D4628 000D1588 38 84 00 0D */ addi r4, r4, 0xd /* 800D462C 000D158C 48 24 12 41 */ bl __nw__FUlPCcPCc /* 800D4630 000D1590 7C 7C 1B 79 */ or. r28, r3, r3 /* 800D4634 000D1594 41 82 00 40 */ beq lbl_800D4674 /* 800D4638 000D1598 7F 44 D3 78 */ mr r4, r26 /* 800D463C 000D159C 38 61 00 08 */ addi r3, r1, 8 /* 800D4640 000D15A0 4B F7 8A 9D */ bl AllocateUniqueId__13CStateManagerFv /* 800D4644 000D15A4 A0 01 00 08 */ lhz r0, 8(r1) /* 800D4648 000D15A8 7F 83 E3 78 */ mr r3, r28 /* 800D464C 000D15AC 7F 66 DB 78 */ mr r6, r27 /* 800D4650 000D15B0 7F E8 FB 78 */ mr r8, r31 /* 800D4654 000D15B4 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D4658 000D15B8 7F C9 F3 78 */ mr r9, r30 /* 800D465C 000D15BC 7F AA EB 78 */ mr r10, r29 /* 800D4660 000D15C0 38 81 00 0C */ addi r4, r1, 0xc /* 800D4664 000D15C4 38 A1 00 18 */ addi r5, r1, 0x18 /* 800D4668 000D15C8 38 E1 00 10 */ addi r7, r1, 0x10 /* 800D466C 000D15CC 48 01 3E F9 */ bl "__ct__14CScriptHUDMemoF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC13CHUDMemoParmsQ214CScriptHUDMemo12EDisplayTypeUib" /* 800D4670 000D15D0 7C 7C 1B 78 */ mr r28, r3 lbl_800D4674: /* 800D4674 000D15D4 38 61 00 18 */ addi r3, r1, 0x18 /* 800D4678 000D15D8 48 26 94 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D467C 000D15DC 7F 83 E3 78 */ mr r3, r28 lbl_800D4680: /* 800D4680 000D15E0 BB 41 00 28 */ lmw r26, 0x28(r1) /* 800D4684 000D15E4 80 01 00 44 */ lwz r0, 0x44(r1) /* 800D4688 000D15E8 7C 08 03 A6 */ mtlr r0 /* 800D468C 000D15EC 38 21 00 40 */ addi r1, r1, 0x40 /* 800D4690 000D15F0 4E 80 00 20 */ blr .global LoadFaultyRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadFaultyRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D4694 000D15F4 94 21 FF D0 */ stwu r1, -0x30(r1) /* 800D4698 000D15F8 7C 08 02 A6 */ mflr r0 /* 800D469C 000D15FC 90 01 00 34 */ stw r0, 0x34(r1) /* 800D46A0 000D1600 38 00 00 00 */ li r0, 0 /* 800D46A4 000D1604 93 E1 00 2C */ stw r31, 0x2c(r1) /* 800D46A8 000D1608 7C 9F 23 78 */ mr r31, r4 /* 800D46AC 000D160C 93 C1 00 28 */ stw r30, 0x28(r1) /* 800D46B0 000D1610 7C BE 2B 78 */ mr r30, r5 /* 800D46B4 000D1614 2C 1E 00 02 */ cmpwi r30, 2 /* 800D46B8 000D1618 93 A1 00 24 */ stw r29, 0x24(r1) /* 800D46BC 000D161C 7C DD 33 78 */ mr r29, r6 /* 800D46C0 000D1620 93 81 00 20 */ stw r28, 0x20(r1) /* 800D46C4 000D1624 7C 7C 1B 78 */ mr r28, r3 /* 800D46C8 000D1628 41 80 00 10 */ blt lbl_800D46D8 /* 800D46CC 000D162C 2C 1E 00 03 */ cmpwi r30, 3 /* 800D46D0 000D1630 41 81 00 08 */ bgt lbl_800D46D8 /* 800D46D4 000D1634 38 00 00 01 */ li r0, 1 lbl_800D46D8: /* 800D46D8 000D1638 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800D46DC 000D163C 40 82 00 0C */ bne lbl_800D46E8 /* 800D46E0 000D1640 38 60 00 00 */ li r3, 0 /* 800D46E4 000D1644 48 00 00 98 */ b lbl_800D477C lbl_800D46E8: /* 800D46E8 000D1648 7F 83 E3 78 */ mr r3, r28 /* 800D46EC 000D164C 7F E4 FB 78 */ mr r4, r31 /* 800D46F0 000D1650 4B F7 0A F5 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D46F4 000D1654 7C 64 1B 78 */ mr r4, r3 /* 800D46F8 000D1658 38 61 00 10 */ addi r3, r1, 0x10 /* 800D46FC 000D165C 48 26 9A 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D4700 000D1660 2C 1E 00 03 */ cmpwi r30, 3 /* 800D4704 000D1664 41 80 00 0C */ blt lbl_800D4710 /* 800D4708 000D1668 7F E3 FB 78 */ mr r3, r31 /* 800D470C 000D166C 48 26 A5 79 */ bl ReadLong__12CInputStreamFv lbl_800D4710: /* 800D4710 000D1670 7F E3 FB 78 */ mr r3, r31 /* 800D4714 000D1674 48 26 A5 C9 */ bl ReadBool__12CInputStreamFv /* 800D4718 000D1678 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D471C 000D167C 7C 60 1B 78 */ mr r0, r3 /* 800D4720 000D1680 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D4724 000D1684 38 60 00 3C */ li r3, 0x3c /* 800D4728 000D1688 7C 1E 03 78 */ mr r30, r0 /* 800D472C 000D168C 38 A0 00 00 */ li r5, 0 /* 800D4730 000D1690 38 84 00 0D */ addi r4, r4, 0xd /* 800D4734 000D1694 48 24 11 39 */ bl __nw__FUlPCcPCc /* 800D4738 000D1698 7C 7F 1B 79 */ or. r31, r3, r3 /* 800D473C 000D169C 41 82 00 34 */ beq lbl_800D4770 /* 800D4740 000D16A0 7F 84 E3 78 */ mr r4, r28 /* 800D4744 000D16A4 38 61 00 08 */ addi r3, r1, 8 /* 800D4748 000D16A8 4B F7 89 95 */ bl AllocateUniqueId__13CStateManagerFv /* 800D474C 000D16AC A0 01 00 08 */ lhz r0, 8(r1) /* 800D4750 000D16B0 7F E3 FB 78 */ mr r3, r31 /* 800D4754 000D16B4 7F A6 EB 78 */ mr r6, r29 /* 800D4758 000D16B8 7F C7 F3 78 */ mr r7, r30 /* 800D475C 000D16BC B0 01 00 0C */ sth r0, 0xc(r1) /* 800D4760 000D16C0 38 81 00 0C */ addi r4, r1, 0xc /* 800D4764 000D16C4 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D4768 000D16C8 48 00 DB A9 */ bl "__ct__12CScriptRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfofb" /* 800D476C 000D16CC 7C 7F 1B 78 */ mr r31, r3 lbl_800D4770: /* 800D4770 000D16D0 38 61 00 10 */ addi r3, r1, 0x10 /* 800D4774 000D16D4 48 26 93 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D4778 000D16D8 7F E3 FB 78 */ mr r3, r31 lbl_800D477C: /* 800D477C 000D16DC 80 01 00 34 */ lwz r0, 0x34(r1) /* 800D4780 000D16E0 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 800D4784 000D16E4 83 C1 00 28 */ lwz r30, 0x28(r1) /* 800D4788 000D16E8 83 A1 00 24 */ lwz r29, 0x24(r1) /* 800D478C 000D16EC 83 81 00 20 */ lwz r28, 0x20(r1) /* 800D4790 000D16F0 7C 08 03 A6 */ mtlr r0 /* 800D4794 000D16F4 38 21 00 30 */ addi r1, r1, 0x30 /* 800D4798 000D16F8 4E 80 00 20 */ blr .global LoadRandomRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadRandomRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D479C 000D16FC 94 21 FF C0 */ stwu r1, -0x40(r1) /* 800D47A0 000D1700 7C 08 02 A6 */ mflr r0 /* 800D47A4 000D1704 2C 05 00 05 */ cmpwi r5, 5 /* 800D47A8 000D1708 90 01 00 44 */ stw r0, 0x44(r1) /* 800D47AC 000D170C BF 21 00 24 */ stmw r25, 0x24(r1) /* 800D47B0 000D1710 7C 79 1B 78 */ mr r25, r3 /* 800D47B4 000D1714 7C 9B 23 78 */ mr r27, r4 /* 800D47B8 000D1718 7C DA 33 78 */ mr r26, r6 /* 800D47BC 000D171C 41 82 00 0C */ beq lbl_800D47C8 /* 800D47C0 000D1720 38 60 00 00 */ li r3, 0 /* 800D47C4 000D1724 48 00 00 B4 */ b lbl_800D4878 lbl_800D47C8: /* 800D47C8 000D1728 4B F7 0A 1D */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D47CC 000D172C 7C 64 1B 78 */ mr r4, r3 /* 800D47D0 000D1730 38 61 00 10 */ addi r3, r1, 0x10 /* 800D47D4 000D1734 48 26 99 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D47D8 000D1738 7F 63 DB 78 */ mr r3, r27 /* 800D47DC 000D173C 48 26 A4 A9 */ bl ReadLong__12CInputStreamFv /* 800D47E0 000D1740 7C 7F 1B 78 */ mr r31, r3 /* 800D47E4 000D1744 7F 63 DB 78 */ mr r3, r27 /* 800D47E8 000D1748 48 26 A4 9D */ bl ReadLong__12CInputStreamFv /* 800D47EC 000D174C 7C 7E 1B 78 */ mr r30, r3 /* 800D47F0 000D1750 7F 63 DB 78 */ mr r3, r27 /* 800D47F4 000D1754 48 26 A4 E9 */ bl ReadBool__12CInputStreamFv /* 800D47F8 000D1758 7C 60 1B 78 */ mr r0, r3 /* 800D47FC 000D175C 7F 63 DB 78 */ mr r3, r27 /* 800D4800 000D1760 7C 1C 03 78 */ mr r28, r0 /* 800D4804 000D1764 48 26 A4 D9 */ bl ReadBool__12CInputStreamFv /* 800D4808 000D1768 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D480C 000D176C 7C 60 1B 78 */ mr r0, r3 /* 800D4810 000D1770 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D4814 000D1774 38 60 00 40 */ li r3, 0x40 /* 800D4818 000D1778 7C 1B 03 78 */ mr r27, r0 /* 800D481C 000D177C 38 A0 00 00 */ li r5, 0 /* 800D4820 000D1780 38 84 00 0D */ addi r4, r4, 0xd /* 800D4824 000D1784 48 24 10 49 */ bl __nw__FUlPCcPCc /* 800D4828 000D1788 7C 7D 1B 79 */ or. r29, r3, r3 /* 800D482C 000D178C 41 82 00 40 */ beq lbl_800D486C /* 800D4830 000D1790 7F 24 CB 78 */ mr r4, r25 /* 800D4834 000D1794 38 61 00 08 */ addi r3, r1, 8 /* 800D4838 000D1798 4B F7 88 A5 */ bl AllocateUniqueId__13CStateManagerFv /* 800D483C 000D179C A0 01 00 08 */ lhz r0, 8(r1) /* 800D4840 000D17A0 7F A3 EB 78 */ mr r3, r29 /* 800D4844 000D17A4 7F 46 D3 78 */ mr r6, r26 /* 800D4848 000D17A8 7F E7 FB 78 */ mr r7, r31 /* 800D484C 000D17AC B0 01 00 0C */ sth r0, 0xc(r1) /* 800D4850 000D17B0 7F C8 F3 78 */ mr r8, r30 /* 800D4854 000D17B4 7F 89 E3 78 */ mr r9, r28 /* 800D4858 000D17B8 7F 6A DB 78 */ mr r10, r27 /* 800D485C 000D17BC 38 81 00 0C */ addi r4, r1, 0xc /* 800D4860 000D17C0 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D4864 000D17C4 48 00 E4 E1 */ bl "__ct__18CScriptRandomRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoiibb" /* 800D4868 000D17C8 7C 7D 1B 78 */ mr r29, r3 lbl_800D486C: /* 800D486C 000D17CC 38 61 00 10 */ addi r3, r1, 0x10 /* 800D4870 000D17D0 48 26 92 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D4874 000D17D4 7F A3 EB 78 */ mr r3, r29 lbl_800D4878: /* 800D4878 000D17D8 BB 21 00 24 */ lmw r25, 0x24(r1) /* 800D487C 000D17DC 80 01 00 44 */ lwz r0, 0x44(r1) /* 800D4880 000D17E0 7C 08 03 A6 */ mtlr r0 /* 800D4884 000D17E4 38 21 00 40 */ addi r1, r1, 0x40 /* 800D4888 000D17E8 4E 80 00 20 */ blr .global LoadRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D488C 000D17EC 94 21 FF C0 */ stwu r1, -0x40(r1) /* 800D4890 000D17F0 7C 08 02 A6 */ mflr r0 /* 800D4894 000D17F4 90 01 00 44 */ stw r0, 0x44(r1) /* 800D4898 000D17F8 38 00 00 00 */ li r0, 0 /* 800D489C 000D17FC BF 41 00 28 */ stmw r26, 0x28(r1) /* 800D48A0 000D1800 7C BB 2B 78 */ mr r27, r5 /* 800D48A4 000D1804 2C 1B 00 03 */ cmpwi r27, 3 /* 800D48A8 000D1808 7C 7F 1B 78 */ mr r31, r3 /* 800D48AC 000D180C 7C 9C 23 78 */ mr r28, r4 /* 800D48B0 000D1810 7C DA 33 78 */ mr r26, r6 /* 800D48B4 000D1814 41 80 00 10 */ blt lbl_800D48C4 /* 800D48B8 000D1818 2C 1B 00 04 */ cmpwi r27, 4 /* 800D48BC 000D181C 41 81 00 08 */ bgt lbl_800D48C4 /* 800D48C0 000D1820 38 00 00 01 */ li r0, 1 lbl_800D48C4: /* 800D48C4 000D1824 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800D48C8 000D1828 40 82 00 0C */ bne lbl_800D48D4 /* 800D48CC 000D182C 38 60 00 00 */ li r3, 0 /* 800D48D0 000D1830 48 00 00 B0 */ b lbl_800D4980 lbl_800D48D4: /* 800D48D4 000D1834 7F E3 FB 78 */ mr r3, r31 /* 800D48D8 000D1838 7F 84 E3 78 */ mr r4, r28 /* 800D48DC 000D183C 4B F7 09 09 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D48E0 000D1840 7C 64 1B 78 */ mr r4, r3 /* 800D48E4 000D1844 38 61 00 10 */ addi r3, r1, 0x10 /* 800D48E8 000D1848 48 26 98 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D48EC 000D184C 7F 83 E3 78 */ mr r3, r28 /* 800D48F0 000D1850 48 26 A3 ED */ bl ReadBool__12CInputStreamFv /* 800D48F4 000D1854 7C 7E 1B 78 */ mr r30, r3 /* 800D48F8 000D1858 7F 83 E3 78 */ mr r3, r28 /* 800D48FC 000D185C 48 26 A3 E1 */ bl ReadBool__12CInputStreamFv /* 800D4900 000D1860 2C 1B 00 03 */ cmpwi r27, 3 /* 800D4904 000D1864 7C 7D 1B 78 */ mr r29, r3 /* 800D4908 000D1868 3B 60 00 00 */ li r27, 0 /* 800D490C 000D186C 40 81 00 10 */ ble lbl_800D491C /* 800D4910 000D1870 7F 83 E3 78 */ mr r3, r28 /* 800D4914 000D1874 48 26 A3 C9 */ bl ReadBool__12CInputStreamFv /* 800D4918 000D1878 7C 7B 1B 78 */ mr r27, r3 lbl_800D491C: /* 800D491C 000D187C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D4920 000D1880 38 60 00 38 */ li r3, 0x38 /* 800D4924 000D1884 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D4928 000D1888 38 A0 00 00 */ li r5, 0 /* 800D492C 000D188C 38 84 00 0D */ addi r4, r4, 0xd /* 800D4930 000D1890 48 24 0F 3D */ bl __nw__FUlPCcPCc /* 800D4934 000D1894 7C 7C 1B 79 */ or. r28, r3, r3 /* 800D4938 000D1898 41 82 00 3C */ beq lbl_800D4974 /* 800D493C 000D189C 7F E4 FB 78 */ mr r4, r31 /* 800D4940 000D18A0 38 61 00 08 */ addi r3, r1, 8 /* 800D4944 000D18A4 4B F7 87 99 */ bl AllocateUniqueId__13CStateManagerFv /* 800D4948 000D18A8 A0 01 00 08 */ lhz r0, 8(r1) /* 800D494C 000D18AC 7F 83 E3 78 */ mr r3, r28 /* 800D4950 000D18B0 7F 46 D3 78 */ mr r6, r26 /* 800D4954 000D18B4 7F C7 F3 78 */ mr r7, r30 /* 800D4958 000D18B8 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D495C 000D18BC 7F A8 EB 78 */ mr r8, r29 /* 800D4960 000D18C0 38 81 00 0C */ addi r4, r1, 0xc /* 800D4964 000D18C4 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D4968 000D18C8 57 69 06 3E */ clrlwi r9, r27, 0x18 /* 800D496C 000D18CC 48 16 D0 ED */ bl "__ct__18CScriptMemoryRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobbb" /* 800D4970 000D18D0 7C 7C 1B 78 */ mr r28, r3 lbl_800D4974: /* 800D4974 000D18D4 38 61 00 10 */ addi r3, r1, 0x10 /* 800D4978 000D18D8 48 26 91 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D497C 000D18DC 7F 83 E3 78 */ mr r3, r28 lbl_800D4980: /* 800D4980 000D18E0 BB 41 00 28 */ lmw r26, 0x28(r1) /* 800D4984 000D18E4 80 01 00 44 */ lwz r0, 0x44(r1) /* 800D4988 000D18E8 7C 08 03 A6 */ mtlr r0 /* 800D498C 000D18EC 38 21 00 40 */ addi r1, r1, 0x40 /* 800D4990 000D18F0 4E 80 00 20 */ blr .global LoadSpindleCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadSpindleCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D4994 000D18F4 94 21 FA 10 */ stwu r1, -0x5f0(r1) /* 800D4998 000D18F8 7C 08 02 A6 */ mflr r0 /* 800D499C 000D18FC 90 01 05 F4 */ stw r0, 0x5f4(r1) /* 800D49A0 000D1900 DB E1 05 E0 */ stfd f31, 0x5e0(r1) /* 800D49A4 000D1904 F3 E1 05 E8 */ psq_st f31, 1512(r1), 0, qr0 /* 800D49A8 000D1908 DB C1 05 D0 */ stfd f30, 0x5d0(r1) /* 800D49AC 000D190C F3 C1 05 D8 */ psq_st f30, 1496(r1), 0, qr0 /* 800D49B0 000D1910 DB A1 05 C0 */ stfd f29, 0x5c0(r1) /* 800D49B4 000D1914 F3 A1 05 C8 */ psq_st f29, 1480(r1), 0, qr0 /* 800D49B8 000D1918 DB 81 05 B0 */ stfd f28, 0x5b0(r1) /* 800D49BC 000D191C F3 81 05 B8 */ psq_st f28, 1464(r1), 0, qr0 /* 800D49C0 000D1920 BD C1 05 68 */ stmw r14, 0x568(r1) /* 800D49C4 000D1924 2C 05 00 18 */ cmpwi r5, 0x18 /* 800D49C8 000D1928 90 C1 00 40 */ stw r6, 0x40(r1) /* 800D49CC 000D192C 7C 6E 1B 78 */ mr r14, r3 /* 800D49D0 000D1930 7C 8F 23 78 */ mr r15, r4 /* 800D49D4 000D1934 41 82 00 0C */ beq lbl_800D49E0 /* 800D49D8 000D1938 38 60 00 00 */ li r3, 0 /* 800D49DC 000D193C 48 00 09 18 */ b lbl_800D52F4 lbl_800D49E0: /* 800D49E0 000D1940 7D C5 73 78 */ mr r5, r14 /* 800D49E4 000D1944 38 61 04 84 */ addi r3, r1, 0x484 /* 800D49E8 000D1948 48 00 5A DD */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800D49EC 000D194C 7D E3 7B 78 */ mr r3, r15 /* 800D49F0 000D1950 48 26 A2 ED */ bl ReadBool__12CInputStreamFv /* 800D49F4 000D1954 98 61 04 C8 */ stb r3, 0x4c8(r1) /* 800D49F8 000D1958 7D E3 7B 78 */ mr r3, r15 /* 800D49FC 000D195C 48 00 52 01 */ bl LoadParameterFlags__FR12CInputStream /* 800D4A00 000D1960 7C 60 1B 78 */ mr r0, r3 /* 800D4A04 000D1964 7D E3 7B 78 */ mr r3, r15 /* 800D4A08 000D1968 90 01 04 C4 */ stw r0, 0x4c4(r1) /* 800D4A0C 000D196C 48 26 A2 1D */ bl ReadFloat__12CInputStreamFv /* 800D4A10 000D1970 FF E0 08 90 */ fmr f31, f1 /* 800D4A14 000D1974 7D E3 7B 78 */ mr r3, r15 /* 800D4A18 000D1978 48 26 A2 11 */ bl ReadFloat__12CInputStreamFv /* 800D4A1C 000D197C FF C0 08 90 */ fmr f30, f1 /* 800D4A20 000D1980 7D E3 7B 78 */ mr r3, r15 /* 800D4A24 000D1984 48 26 A2 05 */ bl ReadFloat__12CInputStreamFv /* 800D4A28 000D1988 FF A0 08 90 */ fmr f29, f1 /* 800D4A2C 000D198C 7D E3 7B 78 */ mr r3, r15 /* 800D4A30 000D1990 48 26 A1 F9 */ bl ReadFloat__12CInputStreamFv /* 800D4A34 000D1994 FF 80 08 90 */ fmr f28, f1 /* 800D4A38 000D1998 7D E4 7B 78 */ mr r4, r15 /* 800D4A3C 000D199C 38 61 03 04 */ addi r3, r1, 0x304 /* 800D4A40 000D19A0 48 16 CC BD */ bl LoadSpindleSegment__FR12CInputStream /* 800D4A44 000D19A4 80 81 03 04 */ lwz r4, 0x304(r1) /* 800D4A48 000D19A8 38 61 04 6C */ addi r3, r1, 0x46c /* 800D4A4C 000D19AC 80 01 03 08 */ lwz r0, 0x308(r1) /* 800D4A50 000D19B0 C0 61 03 0C */ lfs f3, 0x30c(r1) /* 800D4A54 000D19B4 C0 41 03 10 */ lfs f2, 0x310(r1) /* 800D4A58 000D19B8 C0 21 03 14 */ lfs f1, 0x314(r1) /* 800D4A5C 000D19BC C0 01 03 18 */ lfs f0, 0x318(r1) /* 800D4A60 000D19C0 90 81 04 6C */ stw r4, 0x46c(r1) /* 800D4A64 000D19C4 90 01 04 70 */ stw r0, 0x470(r1) /* 800D4A68 000D19C8 D0 61 04 74 */ stfs f3, 0x474(r1) /* 800D4A6C 000D19CC D0 41 04 78 */ stfs f2, 0x478(r1) /* 800D4A70 000D19D0 D0 21 04 7C */ stfs f1, 0x47c(r1) /* 800D4A74 000D19D4 D0 01 04 80 */ stfs f0, 0x480(r1) /* 800D4A78 000D19D8 48 16 CC 65 */ bl FixupAngles__15SSpindleSegmentFv /* 800D4A7C 000D19DC 7D E4 7B 78 */ mr r4, r15 /* 800D4A80 000D19E0 38 61 02 EC */ addi r3, r1, 0x2ec /* 800D4A84 000D19E4 48 16 CC 79 */ bl LoadSpindleSegment__FR12CInputStream /* 800D4A88 000D19E8 80 A1 02 EC */ lwz r5, 0x2ec(r1) /* 800D4A8C 000D19EC 7D E4 7B 78 */ mr r4, r15 /* 800D4A90 000D19F0 80 01 02 F0 */ lwz r0, 0x2f0(r1) /* 800D4A94 000D19F4 38 61 02 D4 */ addi r3, r1, 0x2d4 /* 800D4A98 000D19F8 C0 61 02 F4 */ lfs f3, 0x2f4(r1) /* 800D4A9C 000D19FC C0 41 02 F8 */ lfs f2, 0x2f8(r1) /* 800D4AA0 000D1A00 C0 21 02 FC */ lfs f1, 0x2fc(r1) /* 800D4AA4 000D1A04 C0 01 03 00 */ lfs f0, 0x300(r1) /* 800D4AA8 000D1A08 90 A1 04 54 */ stw r5, 0x454(r1) /* 800D4AAC 000D1A0C 90 01 04 58 */ stw r0, 0x458(r1) /* 800D4AB0 000D1A10 D0 61 04 5C */ stfs f3, 0x45c(r1) /* 800D4AB4 000D1A14 D0 41 04 60 */ stfs f2, 0x460(r1) /* 800D4AB8 000D1A18 D0 21 04 64 */ stfs f1, 0x464(r1) /* 800D4ABC 000D1A1C D0 01 04 68 */ stfs f0, 0x468(r1) /* 800D4AC0 000D1A20 48 16 CC 3D */ bl LoadSpindleSegment__FR12CInputStream /* 800D4AC4 000D1A24 80 A1 02 D4 */ lwz r5, 0x2d4(r1) /* 800D4AC8 000D1A28 7D E4 7B 78 */ mr r4, r15 /* 800D4ACC 000D1A2C 80 01 02 D8 */ lwz r0, 0x2d8(r1) /* 800D4AD0 000D1A30 38 61 02 BC */ addi r3, r1, 0x2bc /* 800D4AD4 000D1A34 C0 61 02 DC */ lfs f3, 0x2dc(r1) /* 800D4AD8 000D1A38 C0 41 02 E0 */ lfs f2, 0x2e0(r1) /* 800D4ADC 000D1A3C C0 21 02 E4 */ lfs f1, 0x2e4(r1) /* 800D4AE0 000D1A40 C0 01 02 E8 */ lfs f0, 0x2e8(r1) /* 800D4AE4 000D1A44 90 A1 04 3C */ stw r5, 0x43c(r1) /* 800D4AE8 000D1A48 90 01 04 40 */ stw r0, 0x440(r1) /* 800D4AEC 000D1A4C D0 61 04 44 */ stfs f3, 0x444(r1) /* 800D4AF0 000D1A50 D0 41 04 48 */ stfs f2, 0x448(r1) /* 800D4AF4 000D1A54 D0 21 04 4C */ stfs f1, 0x44c(r1) /* 800D4AF8 000D1A58 D0 01 04 50 */ stfs f0, 0x450(r1) /* 800D4AFC 000D1A5C 48 16 CC 01 */ bl LoadSpindleSegment__FR12CInputStream /* 800D4B00 000D1A60 80 A1 02 BC */ lwz r5, 0x2bc(r1) /* 800D4B04 000D1A64 7D E4 7B 78 */ mr r4, r15 /* 800D4B08 000D1A68 80 01 02 C0 */ lwz r0, 0x2c0(r1) /* 800D4B0C 000D1A6C 38 61 02 A4 */ addi r3, r1, 0x2a4 /* 800D4B10 000D1A70 C0 61 02 C4 */ lfs f3, 0x2c4(r1) /* 800D4B14 000D1A74 C0 41 02 C8 */ lfs f2, 0x2c8(r1) /* 800D4B18 000D1A78 C0 21 02 CC */ lfs f1, 0x2cc(r1) /* 800D4B1C 000D1A7C C0 01 02 D0 */ lfs f0, 0x2d0(r1) /* 800D4B20 000D1A80 90 A1 04 24 */ stw r5, 0x424(r1) /* 800D4B24 000D1A84 90 01 04 28 */ stw r0, 0x428(r1) /* 800D4B28 000D1A88 D0 61 04 2C */ stfs f3, 0x42c(r1) /* 800D4B2C 000D1A8C D0 41 04 30 */ stfs f2, 0x430(r1) /* 800D4B30 000D1A90 D0 21 04 34 */ stfs f1, 0x434(r1) /* 800D4B34 000D1A94 D0 01 04 38 */ stfs f0, 0x438(r1) /* 800D4B38 000D1A98 48 16 CB C5 */ bl LoadSpindleSegment__FR12CInputStream /* 800D4B3C 000D1A9C 80 81 02 A4 */ lwz r4, 0x2a4(r1) /* 800D4B40 000D1AA0 38 61 04 0C */ addi r3, r1, 0x40c /* 800D4B44 000D1AA4 80 01 02 A8 */ lwz r0, 0x2a8(r1) /* 800D4B48 000D1AA8 C0 61 02 AC */ lfs f3, 0x2ac(r1) /* 800D4B4C 000D1AAC C0 41 02 B0 */ lfs f2, 0x2b0(r1) /* 800D4B50 000D1AB0 C0 21 02 B4 */ lfs f1, 0x2b4(r1) /* 800D4B54 000D1AB4 C0 01 02 B8 */ lfs f0, 0x2b8(r1) /* 800D4B58 000D1AB8 90 81 04 0C */ stw r4, 0x40c(r1) /* 800D4B5C 000D1ABC 90 01 04 10 */ stw r0, 0x410(r1) /* 800D4B60 000D1AC0 D0 61 04 14 */ stfs f3, 0x414(r1) /* 800D4B64 000D1AC4 D0 41 04 18 */ stfs f2, 0x418(r1) /* 800D4B68 000D1AC8 D0 21 04 1C */ stfs f1, 0x41c(r1) /* 800D4B6C 000D1ACC D0 01 04 20 */ stfs f0, 0x420(r1) /* 800D4B70 000D1AD0 48 16 CB 6D */ bl FixupAngles__15SSpindleSegmentFv /* 800D4B74 000D1AD4 7D E4 7B 78 */ mr r4, r15 /* 800D4B78 000D1AD8 38 61 02 8C */ addi r3, r1, 0x28c /* 800D4B7C 000D1ADC 48 16 CB 81 */ bl LoadSpindleSegment__FR12CInputStream /* 800D4B80 000D1AE0 80 81 02 8C */ lwz r4, 0x28c(r1) /* 800D4B84 000D1AE4 38 61 03 F4 */ addi r3, r1, 0x3f4 /* 800D4B88 000D1AE8 80 01 02 90 */ lwz r0, 0x290(r1) /* 800D4B8C 000D1AEC C0 61 02 94 */ lfs f3, 0x294(r1) /* 800D4B90 000D1AF0 C0 41 02 98 */ lfs f2, 0x298(r1) /* 800D4B94 000D1AF4 C0 21 02 9C */ lfs f1, 0x29c(r1) /* 800D4B98 000D1AF8 C0 01 02 A0 */ lfs f0, 0x2a0(r1) /* 800D4B9C 000D1AFC 90 81 03 F4 */ stw r4, 0x3f4(r1) /* 800D4BA0 000D1B00 90 01 03 F8 */ stw r0, 0x3f8(r1) /* 800D4BA4 000D1B04 D0 61 03 FC */ stfs f3, 0x3fc(r1) /* 800D4BA8 000D1B08 D0 41 04 00 */ stfs f2, 0x400(r1) /* 800D4BAC 000D1B0C D0 21 04 04 */ stfs f1, 0x404(r1) /* 800D4BB0 000D1B10 D0 01 04 08 */ stfs f0, 0x408(r1) /* 800D4BB4 000D1B14 48 16 CB 29 */ bl FixupAngles__15SSpindleSegmentFv /* 800D4BB8 000D1B18 7D E4 7B 78 */ mr r4, r15 /* 800D4BBC 000D1B1C 38 61 02 74 */ addi r3, r1, 0x274 /* 800D4BC0 000D1B20 48 16 CB 3D */ bl LoadSpindleSegment__FR12CInputStream /* 800D4BC4 000D1B24 80 81 02 74 */ lwz r4, 0x274(r1) /* 800D4BC8 000D1B28 38 61 03 DC */ addi r3, r1, 0x3dc /* 800D4BCC 000D1B2C 80 01 02 78 */ lwz r0, 0x278(r1) /* 800D4BD0 000D1B30 C0 61 02 7C */ lfs f3, 0x27c(r1) /* 800D4BD4 000D1B34 C0 41 02 80 */ lfs f2, 0x280(r1) /* 800D4BD8 000D1B38 C0 21 02 84 */ lfs f1, 0x284(r1) /* 800D4BDC 000D1B3C C0 01 02 88 */ lfs f0, 0x288(r1) /* 800D4BE0 000D1B40 90 81 03 DC */ stw r4, 0x3dc(r1) /* 800D4BE4 000D1B44 90 01 03 E0 */ stw r0, 0x3e0(r1) /* 800D4BE8 000D1B48 D0 61 03 E4 */ stfs f3, 0x3e4(r1) /* 800D4BEC 000D1B4C D0 41 03 E8 */ stfs f2, 0x3e8(r1) /* 800D4BF0 000D1B50 D0 21 03 EC */ stfs f1, 0x3ec(r1) /* 800D4BF4 000D1B54 D0 01 03 F0 */ stfs f0, 0x3f0(r1) /* 800D4BF8 000D1B58 48 16 CA E5 */ bl FixupAngles__15SSpindleSegmentFv /* 800D4BFC 000D1B5C 7D E4 7B 78 */ mr r4, r15 /* 800D4C00 000D1B60 38 61 02 5C */ addi r3, r1, 0x25c /* 800D4C04 000D1B64 48 16 CA F9 */ bl LoadSpindleSegment__FR12CInputStream /* 800D4C08 000D1B68 80 81 02 5C */ lwz r4, 0x25c(r1) /* 800D4C0C 000D1B6C 38 61 03 C4 */ addi r3, r1, 0x3c4 /* 800D4C10 000D1B70 80 01 02 60 */ lwz r0, 0x260(r1) /* 800D4C14 000D1B74 C0 61 02 64 */ lfs f3, 0x264(r1) /* 800D4C18 000D1B78 C0 41 02 68 */ lfs f2, 0x268(r1) /* 800D4C1C 000D1B7C C0 21 02 6C */ lfs f1, 0x26c(r1) /* 800D4C20 000D1B80 C0 01 02 70 */ lfs f0, 0x270(r1) /* 800D4C24 000D1B84 90 81 03 C4 */ stw r4, 0x3c4(r1) /* 800D4C28 000D1B88 90 01 03 C8 */ stw r0, 0x3c8(r1) /* 800D4C2C 000D1B8C D0 61 03 CC */ stfs f3, 0x3cc(r1) /* 800D4C30 000D1B90 D0 41 03 D0 */ stfs f2, 0x3d0(r1) /* 800D4C34 000D1B94 D0 21 03 D4 */ stfs f1, 0x3d4(r1) /* 800D4C38 000D1B98 D0 01 03 D8 */ stfs f0, 0x3d8(r1) /* 800D4C3C 000D1B9C 48 16 CA A1 */ bl FixupAngles__15SSpindleSegmentFv /* 800D4C40 000D1BA0 7D E4 7B 78 */ mr r4, r15 /* 800D4C44 000D1BA4 38 61 02 44 */ addi r3, r1, 0x244 /* 800D4C48 000D1BA8 48 16 CA B5 */ bl LoadSpindleSegment__FR12CInputStream /* 800D4C4C 000D1BAC 80 A1 02 44 */ lwz r5, 0x244(r1) /* 800D4C50 000D1BB0 7D E4 7B 78 */ mr r4, r15 /* 800D4C54 000D1BB4 80 01 02 48 */ lwz r0, 0x248(r1) /* 800D4C58 000D1BB8 38 61 02 2C */ addi r3, r1, 0x22c /* 800D4C5C 000D1BBC C0 61 02 4C */ lfs f3, 0x24c(r1) /* 800D4C60 000D1BC0 C0 41 02 50 */ lfs f2, 0x250(r1) /* 800D4C64 000D1BC4 C0 21 02 54 */ lfs f1, 0x254(r1) /* 800D4C68 000D1BC8 C0 01 02 58 */ lfs f0, 0x258(r1) /* 800D4C6C 000D1BCC 90 A1 03 AC */ stw r5, 0x3ac(r1) /* 800D4C70 000D1BD0 90 01 03 B0 */ stw r0, 0x3b0(r1) /* 800D4C74 000D1BD4 D0 61 03 B4 */ stfs f3, 0x3b4(r1) /* 800D4C78 000D1BD8 D0 41 03 B8 */ stfs f2, 0x3b8(r1) /* 800D4C7C 000D1BDC D0 21 03 BC */ stfs f1, 0x3bc(r1) /* 800D4C80 000D1BE0 D0 01 03 C0 */ stfs f0, 0x3c0(r1) /* 800D4C84 000D1BE4 48 16 CA 79 */ bl LoadSpindleSegment__FR12CInputStream /* 800D4C88 000D1BE8 80 A1 02 2C */ lwz r5, 0x22c(r1) /* 800D4C8C 000D1BEC 7D E4 7B 78 */ mr r4, r15 /* 800D4C90 000D1BF0 80 01 02 30 */ lwz r0, 0x230(r1) /* 800D4C94 000D1BF4 38 61 02 14 */ addi r3, r1, 0x214 /* 800D4C98 000D1BF8 C0 61 02 34 */ lfs f3, 0x234(r1) /* 800D4C9C 000D1BFC C0 41 02 38 */ lfs f2, 0x238(r1) /* 800D4CA0 000D1C00 C0 21 02 3C */ lfs f1, 0x23c(r1) /* 800D4CA4 000D1C04 C0 01 02 40 */ lfs f0, 0x240(r1) /* 800D4CA8 000D1C08 90 A1 03 94 */ stw r5, 0x394(r1) /* 800D4CAC 000D1C0C 90 01 03 98 */ stw r0, 0x398(r1) /* 800D4CB0 000D1C10 D0 61 03 9C */ stfs f3, 0x39c(r1) /* 800D4CB4 000D1C14 D0 41 03 A0 */ stfs f2, 0x3a0(r1) /* 800D4CB8 000D1C18 D0 21 03 A4 */ stfs f1, 0x3a4(r1) /* 800D4CBC 000D1C1C D0 01 03 A8 */ stfs f0, 0x3a8(r1) /* 800D4CC0 000D1C20 48 16 CA 3D */ bl LoadSpindleSegment__FR12CInputStream /* 800D4CC4 000D1C24 80 81 02 14 */ lwz r4, 0x214(r1) /* 800D4CC8 000D1C28 38 61 03 7C */ addi r3, r1, 0x37c /* 800D4CCC 000D1C2C 80 01 02 18 */ lwz r0, 0x218(r1) /* 800D4CD0 000D1C30 C0 61 02 1C */ lfs f3, 0x21c(r1) /* 800D4CD4 000D1C34 C0 41 02 20 */ lfs f2, 0x220(r1) /* 800D4CD8 000D1C38 C0 21 02 24 */ lfs f1, 0x224(r1) /* 800D4CDC 000D1C3C C0 01 02 28 */ lfs f0, 0x228(r1) /* 800D4CE0 000D1C40 90 81 03 7C */ stw r4, 0x37c(r1) /* 800D4CE4 000D1C44 90 01 03 80 */ stw r0, 0x380(r1) /* 800D4CE8 000D1C48 D0 61 03 84 */ stfs f3, 0x384(r1) /* 800D4CEC 000D1C4C D0 41 03 88 */ stfs f2, 0x388(r1) /* 800D4CF0 000D1C50 D0 21 03 8C */ stfs f1, 0x38c(r1) /* 800D4CF4 000D1C54 D0 01 03 90 */ stfs f0, 0x390(r1) /* 800D4CF8 000D1C58 48 16 C9 E5 */ bl FixupAngles__15SSpindleSegmentFv /* 800D4CFC 000D1C5C 7D E4 7B 78 */ mr r4, r15 /* 800D4D00 000D1C60 38 61 01 FC */ addi r3, r1, 0x1fc /* 800D4D04 000D1C64 48 16 C9 F9 */ bl LoadSpindleSegment__FR12CInputStream /* 800D4D08 000D1C68 80 81 01 FC */ lwz r4, 0x1fc(r1) /* 800D4D0C 000D1C6C 38 61 03 64 */ addi r3, r1, 0x364 /* 800D4D10 000D1C70 80 01 02 00 */ lwz r0, 0x200(r1) /* 800D4D14 000D1C74 C0 61 02 04 */ lfs f3, 0x204(r1) /* 800D4D18 000D1C78 C0 41 02 08 */ lfs f2, 0x208(r1) /* 800D4D1C 000D1C7C C0 21 02 0C */ lfs f1, 0x20c(r1) /* 800D4D20 000D1C80 C0 01 02 10 */ lfs f0, 0x210(r1) /* 800D4D24 000D1C84 90 81 03 64 */ stw r4, 0x364(r1) /* 800D4D28 000D1C88 90 01 03 68 */ stw r0, 0x368(r1) /* 800D4D2C 000D1C8C D0 61 03 6C */ stfs f3, 0x36c(r1) /* 800D4D30 000D1C90 D0 41 03 70 */ stfs f2, 0x370(r1) /* 800D4D34 000D1C94 D0 21 03 74 */ stfs f1, 0x374(r1) /* 800D4D38 000D1C98 D0 01 03 78 */ stfs f0, 0x378(r1) /* 800D4D3C 000D1C9C 48 16 C9 A1 */ bl FixupAngles__15SSpindleSegmentFv /* 800D4D40 000D1CA0 7D E4 7B 78 */ mr r4, r15 /* 800D4D44 000D1CA4 38 61 01 E4 */ addi r3, r1, 0x1e4 /* 800D4D48 000D1CA8 48 16 C9 B5 */ bl LoadSpindleSegment__FR12CInputStream /* 800D4D4C 000D1CAC 80 81 01 E4 */ lwz r4, 0x1e4(r1) /* 800D4D50 000D1CB0 38 61 03 4C */ addi r3, r1, 0x34c /* 800D4D54 000D1CB4 80 01 01 E8 */ lwz r0, 0x1e8(r1) /* 800D4D58 000D1CB8 C0 61 01 EC */ lfs f3, 0x1ec(r1) /* 800D4D5C 000D1CBC C0 41 01 F0 */ lfs f2, 0x1f0(r1) /* 800D4D60 000D1CC0 C0 21 01 F4 */ lfs f1, 0x1f4(r1) /* 800D4D64 000D1CC4 C0 01 01 F8 */ lfs f0, 0x1f8(r1) /* 800D4D68 000D1CC8 90 81 03 4C */ stw r4, 0x34c(r1) /* 800D4D6C 000D1CCC 90 01 03 50 */ stw r0, 0x350(r1) /* 800D4D70 000D1CD0 D0 61 03 54 */ stfs f3, 0x354(r1) /* 800D4D74 000D1CD4 D0 41 03 58 */ stfs f2, 0x358(r1) /* 800D4D78 000D1CD8 D0 21 03 5C */ stfs f1, 0x35c(r1) /* 800D4D7C 000D1CDC D0 01 03 60 */ stfs f0, 0x360(r1) /* 800D4D80 000D1CE0 48 16 C9 5D */ bl FixupAngles__15SSpindleSegmentFv /* 800D4D84 000D1CE4 7D E4 7B 78 */ mr r4, r15 /* 800D4D88 000D1CE8 38 61 01 CC */ addi r3, r1, 0x1cc /* 800D4D8C 000D1CEC 48 16 C9 71 */ bl LoadSpindleSegment__FR12CInputStream /* 800D4D90 000D1CF0 80 A1 01 CC */ lwz r5, 0x1cc(r1) /* 800D4D94 000D1CF4 7D E4 7B 78 */ mr r4, r15 /* 800D4D98 000D1CF8 80 01 01 D0 */ lwz r0, 0x1d0(r1) /* 800D4D9C 000D1CFC 38 61 01 B4 */ addi r3, r1, 0x1b4 /* 800D4DA0 000D1D00 C0 61 01 D4 */ lfs f3, 0x1d4(r1) /* 800D4DA4 000D1D04 C0 41 01 D8 */ lfs f2, 0x1d8(r1) /* 800D4DA8 000D1D08 C0 21 01 DC */ lfs f1, 0x1dc(r1) /* 800D4DAC 000D1D0C C0 01 01 E0 */ lfs f0, 0x1e0(r1) /* 800D4DB0 000D1D10 90 A1 03 34 */ stw r5, 0x334(r1) /* 800D4DB4 000D1D14 90 01 03 38 */ stw r0, 0x338(r1) /* 800D4DB8 000D1D18 D0 61 03 3C */ stfs f3, 0x33c(r1) /* 800D4DBC 000D1D1C D0 41 03 40 */ stfs f2, 0x340(r1) /* 800D4DC0 000D1D20 D0 21 03 44 */ stfs f1, 0x344(r1) /* 800D4DC4 000D1D24 D0 01 03 48 */ stfs f0, 0x348(r1) /* 800D4DC8 000D1D28 48 16 C9 35 */ bl LoadSpindleSegment__FR12CInputStream /* 800D4DCC 000D1D2C 80 81 01 B4 */ lwz r4, 0x1b4(r1) /* 800D4DD0 000D1D30 38 61 03 1C */ addi r3, r1, 0x31c /* 800D4DD4 000D1D34 80 01 01 B8 */ lwz r0, 0x1b8(r1) /* 800D4DD8 000D1D38 C0 61 01 BC */ lfs f3, 0x1bc(r1) /* 800D4DDC 000D1D3C C0 41 01 C0 */ lfs f2, 0x1c0(r1) /* 800D4DE0 000D1D40 C0 21 01 C4 */ lfs f1, 0x1c4(r1) /* 800D4DE4 000D1D44 C0 01 01 C8 */ lfs f0, 0x1c8(r1) /* 800D4DE8 000D1D48 90 81 03 1C */ stw r4, 0x31c(r1) /* 800D4DEC 000D1D4C 90 01 03 20 */ stw r0, 0x320(r1) /* 800D4DF0 000D1D50 D0 61 03 24 */ stfs f3, 0x324(r1) /* 800D4DF4 000D1D54 D0 41 03 28 */ stfs f2, 0x328(r1) /* 800D4DF8 000D1D58 D0 21 03 2C */ stfs f1, 0x32c(r1) /* 800D4DFC 000D1D5C D0 01 03 30 */ stfs f0, 0x330(r1) /* 800D4E00 000D1D60 48 16 C8 DD */ bl FixupAngles__15SSpindleSegmentFv /* 800D4E04 000D1D64 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D4E08 000D1D68 38 60 03 40 */ li r3, 0x340 /* 800D4E0C 000D1D6C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D4E10 000D1D70 38 A0 00 00 */ li r5, 0 /* 800D4E14 000D1D74 38 84 00 0D */ addi r4, r4, 0xd /* 800D4E18 000D1D78 48 24 0A 55 */ bl __nw__FUlPCcPCc /* 800D4E1C 000D1D7C 7C 7F 1B 79 */ or. r31, r3, r3 /* 800D4E20 000D1D80 41 82 04 C8 */ beq lbl_800D52E8 /* 800D4E24 000D1D84 83 A1 03 84 */ lwz r29, 0x384(r1) /* 800D4E28 000D1D88 80 01 03 7C */ lwz r0, 0x37c(r1) /* 800D4E2C 000D1D8C 93 A1 05 60 */ stw r29, 0x560(r1) /* 800D4E30 000D1D90 83 A1 03 88 */ lwz r29, 0x388(r1) /* 800D4E34 000D1D94 90 01 01 3C */ stw r0, 0x13c(r1) /* 800D4E38 000D1D98 80 01 05 60 */ lwz r0, 0x560(r1) /* 800D4E3C 000D1D9C 93 A1 04 CC */ stw r29, 0x4cc(r1) /* 800D4E40 000D1DA0 83 A1 03 8C */ lwz r29, 0x38c(r1) /* 800D4E44 000D1DA4 90 01 01 44 */ stw r0, 0x144(r1) /* 800D4E48 000D1DA8 80 01 04 CC */ lwz r0, 0x4cc(r1) /* 800D4E4C 000D1DAC 93 A1 04 D0 */ stw r29, 0x4d0(r1) /* 800D4E50 000D1DB0 83 A1 03 90 */ lwz r29, 0x390(r1) /* 800D4E54 000D1DB4 90 01 01 48 */ stw r0, 0x148(r1) /* 800D4E58 000D1DB8 80 01 04 D0 */ lwz r0, 0x4d0(r1) /* 800D4E5C 000D1DBC 93 A1 04 D4 */ stw r29, 0x4d4(r1) /* 800D4E60 000D1DC0 83 A1 03 94 */ lwz r29, 0x394(r1) /* 800D4E64 000D1DC4 90 01 01 4C */ stw r0, 0x14c(r1) /* 800D4E68 000D1DC8 80 01 04 D4 */ lwz r0, 0x4d4(r1) /* 800D4E6C 000D1DCC 93 A1 04 D8 */ stw r29, 0x4d8(r1) /* 800D4E70 000D1DD0 83 A1 03 98 */ lwz r29, 0x398(r1) /* 800D4E74 000D1DD4 90 01 01 50 */ stw r0, 0x150(r1) /* 800D4E78 000D1DD8 80 01 04 D8 */ lwz r0, 0x4d8(r1) /* 800D4E7C 000D1DDC 93 A1 04 DC */ stw r29, 0x4dc(r1) /* 800D4E80 000D1DE0 83 A1 03 9C */ lwz r29, 0x39c(r1) /* 800D4E84 000D1DE4 90 01 01 24 */ stw r0, 0x124(r1) /* 800D4E88 000D1DE8 80 01 04 DC */ lwz r0, 0x4dc(r1) /* 800D4E8C 000D1DEC 93 A1 04 E0 */ stw r29, 0x4e0(r1) /* 800D4E90 000D1DF0 83 A1 03 A0 */ lwz r29, 0x3a0(r1) /* 800D4E94 000D1DF4 90 01 01 28 */ stw r0, 0x128(r1) /* 800D4E98 000D1DF8 80 01 04 E0 */ lwz r0, 0x4e0(r1) /* 800D4E9C 000D1DFC 93 A1 04 E4 */ stw r29, 0x4e4(r1) /* 800D4EA0 000D1E00 83 A1 03 A4 */ lwz r29, 0x3a4(r1) /* 800D4EA4 000D1E04 90 01 01 2C */ stw r0, 0x12c(r1) /* 800D4EA8 000D1E08 80 01 04 E4 */ lwz r0, 0x4e4(r1) /* 800D4EAC 000D1E0C 93 A1 04 E8 */ stw r29, 0x4e8(r1) /* 800D4EB0 000D1E10 83 A1 03 A8 */ lwz r29, 0x3a8(r1) /* 800D4EB4 000D1E14 90 01 01 30 */ stw r0, 0x130(r1) /* 800D4EB8 000D1E18 80 01 04 E8 */ lwz r0, 0x4e8(r1) /* 800D4EBC 000D1E1C 93 A1 04 EC */ stw r29, 0x4ec(r1) /* 800D4EC0 000D1E20 83 A1 03 AC */ lwz r29, 0x3ac(r1) /* 800D4EC4 000D1E24 90 01 01 34 */ stw r0, 0x134(r1) /* 800D4EC8 000D1E28 80 01 04 EC */ lwz r0, 0x4ec(r1) /* 800D4ECC 000D1E2C 93 A1 04 F0 */ stw r29, 0x4f0(r1) /* 800D4ED0 000D1E30 83 A1 03 B0 */ lwz r29, 0x3b0(r1) /* 800D4ED4 000D1E34 90 01 01 38 */ stw r0, 0x138(r1) /* 800D4ED8 000D1E38 80 01 04 F0 */ lwz r0, 0x4f0(r1) /* 800D4EDC 000D1E3C 93 A1 04 F4 */ stw r29, 0x4f4(r1) /* 800D4EE0 000D1E40 83 A1 03 B4 */ lwz r29, 0x3b4(r1) /* 800D4EE4 000D1E44 90 01 01 0C */ stw r0, 0x10c(r1) /* 800D4EE8 000D1E48 80 01 04 F4 */ lwz r0, 0x4f4(r1) /* 800D4EEC 000D1E4C 93 A1 04 F8 */ stw r29, 0x4f8(r1) /* 800D4EF0 000D1E50 83 A1 03 B8 */ lwz r29, 0x3b8(r1) /* 800D4EF4 000D1E54 90 01 01 10 */ stw r0, 0x110(r1) /* 800D4EF8 000D1E58 80 01 04 F8 */ lwz r0, 0x4f8(r1) /* 800D4EFC 000D1E5C 93 A1 04 FC */ stw r29, 0x4fc(r1) /* 800D4F00 000D1E60 83 A1 03 BC */ lwz r29, 0x3bc(r1) /* 800D4F04 000D1E64 90 01 01 14 */ stw r0, 0x114(r1) /* 800D4F08 000D1E68 80 01 04 FC */ lwz r0, 0x4fc(r1) /* 800D4F0C 000D1E6C 93 A1 05 00 */ stw r29, 0x500(r1) /* 800D4F10 000D1E70 83 A1 03 C0 */ lwz r29, 0x3c0(r1) /* 800D4F14 000D1E74 90 01 01 18 */ stw r0, 0x118(r1) /* 800D4F18 000D1E78 80 01 05 00 */ lwz r0, 0x500(r1) /* 800D4F1C 000D1E7C 93 A1 05 04 */ stw r29, 0x504(r1) /* 800D4F20 000D1E80 83 A1 03 C4 */ lwz r29, 0x3c4(r1) /* 800D4F24 000D1E84 90 01 01 1C */ stw r0, 0x11c(r1) /* 800D4F28 000D1E88 80 01 05 04 */ lwz r0, 0x504(r1) /* 800D4F2C 000D1E8C 93 A1 05 08 */ stw r29, 0x508(r1) /* 800D4F30 000D1E90 83 A1 03 C8 */ lwz r29, 0x3c8(r1) /* 800D4F34 000D1E94 90 01 01 20 */ stw r0, 0x120(r1) /* 800D4F38 000D1E98 80 01 05 08 */ lwz r0, 0x508(r1) /* 800D4F3C 000D1E9C 93 A1 05 0C */ stw r29, 0x50c(r1) /* 800D4F40 000D1EA0 83 A1 03 CC */ lwz r29, 0x3cc(r1) /* 800D4F44 000D1EA4 90 01 00 F4 */ stw r0, 0xf4(r1) /* 800D4F48 000D1EA8 80 01 05 0C */ lwz r0, 0x50c(r1) /* 800D4F4C 000D1EAC 93 A1 05 10 */ stw r29, 0x510(r1) /* 800D4F50 000D1EB0 83 A1 03 D0 */ lwz r29, 0x3d0(r1) /* 800D4F54 000D1EB4 90 01 00 F8 */ stw r0, 0xf8(r1) /* 800D4F58 000D1EB8 80 01 05 10 */ lwz r0, 0x510(r1) /* 800D4F5C 000D1EBC 93 A1 05 14 */ stw r29, 0x514(r1) /* 800D4F60 000D1EC0 83 A1 03 D4 */ lwz r29, 0x3d4(r1) /* 800D4F64 000D1EC4 90 01 00 FC */ stw r0, 0xfc(r1) /* 800D4F68 000D1EC8 80 01 05 14 */ lwz r0, 0x514(r1) /* 800D4F6C 000D1ECC 93 A1 05 18 */ stw r29, 0x518(r1) /* 800D4F70 000D1ED0 83 A1 03 D8 */ lwz r29, 0x3d8(r1) /* 800D4F74 000D1ED4 90 01 01 00 */ stw r0, 0x100(r1) /* 800D4F78 000D1ED8 80 01 05 18 */ lwz r0, 0x518(r1) /* 800D4F7C 000D1EDC 93 A1 05 1C */ stw r29, 0x51c(r1) /* 800D4F80 000D1EE0 83 A1 03 DC */ lwz r29, 0x3dc(r1) /* 800D4F84 000D1EE4 90 01 01 04 */ stw r0, 0x104(r1) /* 800D4F88 000D1EE8 80 01 05 1C */ lwz r0, 0x51c(r1) /* 800D4F8C 000D1EEC 93 A1 05 20 */ stw r29, 0x520(r1) /* 800D4F90 000D1EF0 83 A1 03 E0 */ lwz r29, 0x3e0(r1) /* 800D4F94 000D1EF4 90 01 01 08 */ stw r0, 0x108(r1) /* 800D4F98 000D1EF8 80 01 05 20 */ lwz r0, 0x520(r1) /* 800D4F9C 000D1EFC 93 A1 05 24 */ stw r29, 0x524(r1) /* 800D4FA0 000D1F00 83 A1 03 E4 */ lwz r29, 0x3e4(r1) /* 800D4FA4 000D1F04 90 01 00 DC */ stw r0, 0xdc(r1) /* 800D4FA8 000D1F08 80 01 05 24 */ lwz r0, 0x524(r1) /* 800D4FAC 000D1F0C 93 A1 05 28 */ stw r29, 0x528(r1) /* 800D4FB0 000D1F10 83 A1 03 E8 */ lwz r29, 0x3e8(r1) /* 800D4FB4 000D1F14 90 01 00 E0 */ stw r0, 0xe0(r1) /* 800D4FB8 000D1F18 80 01 05 28 */ lwz r0, 0x528(r1) /* 800D4FBC 000D1F1C 93 A1 05 2C */ stw r29, 0x52c(r1) /* 800D4FC0 000D1F20 83 A1 03 EC */ lwz r29, 0x3ec(r1) /* 800D4FC4 000D1F24 90 01 00 E4 */ stw r0, 0xe4(r1) /* 800D4FC8 000D1F28 80 01 05 2C */ lwz r0, 0x52c(r1) /* 800D4FCC 000D1F2C 93 A1 05 30 */ stw r29, 0x530(r1) /* 800D4FD0 000D1F30 83 A1 03 F0 */ lwz r29, 0x3f0(r1) /* 800D4FD4 000D1F34 90 01 00 E8 */ stw r0, 0xe8(r1) /* 800D4FD8 000D1F38 80 01 05 30 */ lwz r0, 0x530(r1) /* 800D4FDC 000D1F3C 83 81 03 1C */ lwz r28, 0x31c(r1) /* 800D4FE0 000D1F40 83 61 03 20 */ lwz r27, 0x320(r1) /* 800D4FE4 000D1F44 83 41 03 24 */ lwz r26, 0x324(r1) /* 800D4FE8 000D1F48 83 21 03 28 */ lwz r25, 0x328(r1) /* 800D4FEC 000D1F4C 83 01 03 2C */ lwz r24, 0x32c(r1) /* 800D4FF0 000D1F50 82 E1 03 30 */ lwz r23, 0x330(r1) /* 800D4FF4 000D1F54 82 C1 03 34 */ lwz r22, 0x334(r1) /* 800D4FF8 000D1F58 82 A1 03 38 */ lwz r21, 0x338(r1) /* 800D4FFC 000D1F5C 82 81 03 3C */ lwz r20, 0x33c(r1) /* 800D5000 000D1F60 82 61 03 40 */ lwz r19, 0x340(r1) /* 800D5004 000D1F64 82 41 03 44 */ lwz r18, 0x344(r1) /* 800D5008 000D1F68 82 21 03 48 */ lwz r17, 0x348(r1) /* 800D500C 000D1F6C 82 01 03 4C */ lwz r16, 0x34c(r1) /* 800D5010 000D1F70 81 E1 03 50 */ lwz r15, 0x350(r1) /* 800D5014 000D1F74 81 81 03 54 */ lwz r12, 0x354(r1) /* 800D5018 000D1F78 81 61 03 58 */ lwz r11, 0x358(r1) /* 800D501C 000D1F7C 81 41 03 5C */ lwz r10, 0x35c(r1) /* 800D5020 000D1F80 81 21 03 60 */ lwz r9, 0x360(r1) /* 800D5024 000D1F84 81 01 03 64 */ lwz r8, 0x364(r1) /* 800D5028 000D1F88 80 E1 03 68 */ lwz r7, 0x368(r1) /* 800D502C 000D1F8C 80 C1 03 6C */ lwz r6, 0x36c(r1) /* 800D5030 000D1F90 80 A1 03 70 */ lwz r5, 0x370(r1) /* 800D5034 000D1F94 80 81 03 74 */ lwz r4, 0x374(r1) /* 800D5038 000D1F98 80 61 03 78 */ lwz r3, 0x378(r1) /* 800D503C 000D1F9C 83 C1 03 80 */ lwz r30, 0x380(r1) /* 800D5040 000D1FA0 90 01 00 EC */ stw r0, 0xec(r1) /* 800D5044 000D1FA4 7F A0 EB 78 */ mr r0, r29 /* 800D5048 000D1FA8 93 A1 05 34 */ stw r29, 0x534(r1) /* 800D504C 000D1FAC 93 81 01 9C */ stw r28, 0x19c(r1) /* 800D5050 000D1FB0 93 61 01 A0 */ stw r27, 0x1a0(r1) /* 800D5054 000D1FB4 93 41 01 A4 */ stw r26, 0x1a4(r1) /* 800D5058 000D1FB8 93 21 01 A8 */ stw r25, 0x1a8(r1) /* 800D505C 000D1FBC 93 01 01 AC */ stw r24, 0x1ac(r1) /* 800D5060 000D1FC0 92 E1 01 B0 */ stw r23, 0x1b0(r1) /* 800D5064 000D1FC4 92 C1 01 84 */ stw r22, 0x184(r1) /* 800D5068 000D1FC8 92 A1 01 88 */ stw r21, 0x188(r1) /* 800D506C 000D1FCC 92 81 01 8C */ stw r20, 0x18c(r1) /* 800D5070 000D1FD0 92 61 01 90 */ stw r19, 0x190(r1) /* 800D5074 000D1FD4 92 41 01 94 */ stw r18, 0x194(r1) /* 800D5078 000D1FD8 92 21 01 98 */ stw r17, 0x198(r1) /* 800D507C 000D1FDC 92 01 01 6C */ stw r16, 0x16c(r1) /* 800D5080 000D1FE0 91 E1 01 70 */ stw r15, 0x170(r1) /* 800D5084 000D1FE4 91 81 01 74 */ stw r12, 0x174(r1) /* 800D5088 000D1FE8 91 61 01 78 */ stw r11, 0x178(r1) /* 800D508C 000D1FEC 91 41 01 7C */ stw r10, 0x17c(r1) /* 800D5090 000D1FF0 91 21 01 80 */ stw r9, 0x180(r1) /* 800D5094 000D1FF4 91 01 01 54 */ stw r8, 0x154(r1) /* 800D5098 000D1FF8 90 E1 01 58 */ stw r7, 0x158(r1) /* 800D509C 000D1FFC 90 C1 01 5C */ stw r6, 0x15c(r1) /* 800D50A0 000D2000 90 A1 01 60 */ stw r5, 0x160(r1) /* 800D50A4 000D2004 90 81 01 64 */ stw r4, 0x164(r1) /* 800D50A8 000D2008 90 61 01 68 */ stw r3, 0x168(r1) /* 800D50AC 000D200C 93 C1 01 40 */ stw r30, 0x140(r1) /* 800D50B0 000D2010 90 01 00 F0 */ stw r0, 0xf0(r1) /* 800D50B4 000D2014 80 01 03 F4 */ lwz r0, 0x3f4(r1) /* 800D50B8 000D2018 7D C4 73 78 */ mr r4, r14 /* 800D50BC 000D201C 81 E1 04 5C */ lwz r15, 0x45c(r1) /* 800D50C0 000D2020 38 61 00 44 */ addi r3, r1, 0x44 /* 800D50C4 000D2024 90 01 05 38 */ stw r0, 0x538(r1) /* 800D50C8 000D2028 80 01 04 54 */ lwz r0, 0x454(r1) /* 800D50CC 000D202C 91 E1 05 64 */ stw r15, 0x564(r1) /* 800D50D0 000D2030 81 E1 04 60 */ lwz r15, 0x460(r1) /* 800D50D4 000D2034 90 01 00 64 */ stw r0, 0x64(r1) /* 800D50D8 000D2038 80 01 05 64 */ lwz r0, 0x564(r1) /* 800D50DC 000D203C 91 E1 05 3C */ stw r15, 0x53c(r1) /* 800D50E0 000D2040 81 E1 04 64 */ lwz r15, 0x464(r1) /* 800D50E4 000D2044 90 01 00 6C */ stw r0, 0x6c(r1) /* 800D50E8 000D2048 80 01 05 3C */ lwz r0, 0x53c(r1) /* 800D50EC 000D204C 91 E1 05 40 */ stw r15, 0x540(r1) /* 800D50F0 000D2050 81 E1 04 68 */ lwz r15, 0x468(r1) /* 800D50F4 000D2054 90 01 00 70 */ stw r0, 0x70(r1) /* 800D50F8 000D2058 80 01 05 40 */ lwz r0, 0x540(r1) /* 800D50FC 000D205C 91 E1 05 44 */ stw r15, 0x544(r1) /* 800D5100 000D2060 81 E1 04 6C */ lwz r15, 0x46c(r1) /* 800D5104 000D2064 90 01 00 74 */ stw r0, 0x74(r1) /* 800D5108 000D2068 80 01 05 44 */ lwz r0, 0x544(r1) /* 800D510C 000D206C 91 E1 05 48 */ stw r15, 0x548(r1) /* 800D5110 000D2070 81 E1 04 70 */ lwz r15, 0x470(r1) /* 800D5114 000D2074 90 01 00 78 */ stw r0, 0x78(r1) /* 800D5118 000D2078 80 01 05 48 */ lwz r0, 0x548(r1) /* 800D511C 000D207C 91 E1 05 4C */ stw r15, 0x54c(r1) /* 800D5120 000D2080 81 E1 04 74 */ lwz r15, 0x474(r1) /* 800D5124 000D2084 90 01 00 4C */ stw r0, 0x4c(r1) /* 800D5128 000D2088 80 01 05 4C */ lwz r0, 0x54c(r1) /* 800D512C 000D208C 91 E1 05 50 */ stw r15, 0x550(r1) /* 800D5130 000D2090 81 E1 04 78 */ lwz r15, 0x478(r1) /* 800D5134 000D2094 90 01 00 50 */ stw r0, 0x50(r1) /* 800D5138 000D2098 80 01 05 50 */ lwz r0, 0x550(r1) /* 800D513C 000D209C 91 E1 05 54 */ stw r15, 0x554(r1) /* 800D5140 000D20A0 81 E1 04 7C */ lwz r15, 0x47c(r1) /* 800D5144 000D20A4 90 01 00 54 */ stw r0, 0x54(r1) /* 800D5148 000D20A8 80 01 05 54 */ lwz r0, 0x554(r1) /* 800D514C 000D20AC 91 E1 05 58 */ stw r15, 0x558(r1) /* 800D5150 000D20B0 81 E1 04 80 */ lwz r15, 0x480(r1) /* 800D5154 000D20B4 90 01 00 58 */ stw r0, 0x58(r1) /* 800D5158 000D20B8 80 01 05 58 */ lwz r0, 0x558(r1) /* 800D515C 000D20BC 91 E1 05 5C */ stw r15, 0x55c(r1) /* 800D5160 000D20C0 82 01 03 F8 */ lwz r16, 0x3f8(r1) /* 800D5164 000D20C4 82 21 03 FC */ lwz r17, 0x3fc(r1) /* 800D5168 000D20C8 82 41 04 00 */ lwz r18, 0x400(r1) /* 800D516C 000D20CC 82 61 04 04 */ lwz r19, 0x404(r1) /* 800D5170 000D20D0 82 81 04 08 */ lwz r20, 0x408(r1) /* 800D5174 000D20D4 82 A1 04 0C */ lwz r21, 0x40c(r1) /* 800D5178 000D20D8 82 C1 04 10 */ lwz r22, 0x410(r1) /* 800D517C 000D20DC 82 E1 04 14 */ lwz r23, 0x414(r1) /* 800D5180 000D20E0 83 01 04 18 */ lwz r24, 0x418(r1) /* 800D5184 000D20E4 83 21 04 1C */ lwz r25, 0x41c(r1) /* 800D5188 000D20E8 83 41 04 20 */ lwz r26, 0x420(r1) /* 800D518C 000D20EC 83 61 04 24 */ lwz r27, 0x424(r1) /* 800D5190 000D20F0 83 81 04 28 */ lwz r28, 0x428(r1) /* 800D5194 000D20F4 83 A1 04 2C */ lwz r29, 0x42c(r1) /* 800D5198 000D20F8 83 C1 04 30 */ lwz r30, 0x430(r1) /* 800D519C 000D20FC 81 81 04 34 */ lwz r12, 0x434(r1) /* 800D51A0 000D2100 81 61 04 38 */ lwz r11, 0x438(r1) /* 800D51A4 000D2104 81 41 04 3C */ lwz r10, 0x43c(r1) /* 800D51A8 000D2108 81 21 04 40 */ lwz r9, 0x440(r1) /* 800D51AC 000D210C 81 01 04 44 */ lwz r8, 0x444(r1) /* 800D51B0 000D2110 80 E1 04 48 */ lwz r7, 0x448(r1) /* 800D51B4 000D2114 80 C1 04 4C */ lwz r6, 0x44c(r1) /* 800D51B8 000D2118 80 A1 04 50 */ lwz r5, 0x450(r1) /* 800D51BC 000D211C 81 C1 04 58 */ lwz r14, 0x458(r1) /* 800D51C0 000D2120 81 E1 05 38 */ lwz r15, 0x538(r1) /* 800D51C4 000D2124 90 01 00 5C */ stw r0, 0x5c(r1) /* 800D51C8 000D2128 80 01 05 5C */ lwz r0, 0x55c(r1) /* 800D51CC 000D212C 91 E1 00 C4 */ stw r15, 0xc4(r1) /* 800D51D0 000D2130 92 01 00 C8 */ stw r16, 0xc8(r1) /* 800D51D4 000D2134 92 21 00 CC */ stw r17, 0xcc(r1) /* 800D51D8 000D2138 92 41 00 D0 */ stw r18, 0xd0(r1) /* 800D51DC 000D213C 92 61 00 D4 */ stw r19, 0xd4(r1) /* 800D51E0 000D2140 92 81 00 D8 */ stw r20, 0xd8(r1) /* 800D51E4 000D2144 92 A1 00 AC */ stw r21, 0xac(r1) /* 800D51E8 000D2148 92 C1 00 B0 */ stw r22, 0xb0(r1) /* 800D51EC 000D214C 92 E1 00 B4 */ stw r23, 0xb4(r1) /* 800D51F0 000D2150 93 01 00 B8 */ stw r24, 0xb8(r1) /* 800D51F4 000D2154 93 21 00 BC */ stw r25, 0xbc(r1) /* 800D51F8 000D2158 93 41 00 C0 */ stw r26, 0xc0(r1) /* 800D51FC 000D215C 93 61 00 94 */ stw r27, 0x94(r1) /* 800D5200 000D2160 93 81 00 98 */ stw r28, 0x98(r1) /* 800D5204 000D2164 93 A1 00 9C */ stw r29, 0x9c(r1) /* 800D5208 000D2168 93 C1 00 A0 */ stw r30, 0xa0(r1) /* 800D520C 000D216C 91 81 00 A4 */ stw r12, 0xa4(r1) /* 800D5210 000D2170 91 61 00 A8 */ stw r11, 0xa8(r1) /* 800D5214 000D2174 91 41 00 7C */ stw r10, 0x7c(r1) /* 800D5218 000D2178 91 21 00 80 */ stw r9, 0x80(r1) /* 800D521C 000D217C 91 01 00 84 */ stw r8, 0x84(r1) /* 800D5220 000D2180 90 E1 00 88 */ stw r7, 0x88(r1) /* 800D5224 000D2184 90 C1 00 8C */ stw r6, 0x8c(r1) /* 800D5228 000D2188 90 A1 00 90 */ stw r5, 0x90(r1) /* 800D522C 000D218C 91 C1 00 68 */ stw r14, 0x68(r1) /* 800D5230 000D2190 90 01 00 60 */ stw r0, 0x60(r1) /* 800D5234 000D2194 4B F7 7E A9 */ bl AllocateUniqueId__13CStateManagerFv /* 800D5238 000D2198 A0 61 00 44 */ lhz r3, 0x44(r1) /* 800D523C 000D219C 38 A1 00 64 */ addi r5, r1, 0x64 /* 800D5240 000D21A0 38 E1 00 7C */ addi r7, r1, 0x7c /* 800D5244 000D21A4 38 01 00 94 */ addi r0, r1, 0x94 /* 800D5248 000D21A8 B0 61 00 48 */ sth r3, 0x48(r1) /* 800D524C 000D21AC 38 61 00 AC */ addi r3, r1, 0xac /* 800D5250 000D21B0 38 C1 00 C4 */ addi r6, r1, 0xc4 /* 800D5254 000D21B4 38 81 00 DC */ addi r4, r1, 0xdc /* 800D5258 000D21B8 90 A1 00 08 */ stw r5, 8(r1) /* 800D525C 000D21BC 38 A1 00 F4 */ addi r5, r1, 0xf4 /* 800D5260 000D21C0 3A 21 01 0C */ addi r17, r1, 0x10c /* 800D5264 000D21C4 3A 01 01 24 */ addi r16, r1, 0x124 /* 800D5268 000D21C8 90 E1 00 0C */ stw r7, 0xc(r1) /* 800D526C 000D21CC 39 E1 01 3C */ addi r15, r1, 0x13c /* 800D5270 000D21D0 39 C1 01 54 */ addi r14, r1, 0x154 /* 800D5274 000D21D4 39 81 01 6C */ addi r12, r1, 0x16c /* 800D5278 000D21D8 90 01 00 10 */ stw r0, 0x10(r1) /* 800D527C 000D21DC 39 61 01 84 */ addi r11, r1, 0x184 /* 800D5280 000D21E0 FC 20 F8 90 */ fmr f1, f31 /* 800D5284 000D21E4 38 01 01 9C */ addi r0, r1, 0x19c /* 800D5288 000D21E8 90 61 00 14 */ stw r3, 0x14(r1) /* 800D528C 000D21EC FC 40 F0 90 */ fmr f2, f30 /* 800D5290 000D21F0 FC 60 E8 90 */ fmr f3, f29 /* 800D5294 000D21F4 89 01 04 C8 */ lbz r8, 0x4c8(r1) /* 800D5298 000D21F8 90 C1 00 18 */ stw r6, 0x18(r1) /* 800D529C 000D21FC FC 80 E0 90 */ fmr f4, f28 /* 800D52A0 000D2200 80 C1 00 40 */ lwz r6, 0x40(r1) /* 800D52A4 000D2204 7F E3 FB 78 */ mr r3, r31 /* 800D52A8 000D2208 90 81 00 1C */ stw r4, 0x1c(r1) /* 800D52AC 000D220C 38 81 00 48 */ addi r4, r1, 0x48 /* 800D52B0 000D2210 81 21 04 C4 */ lwz r9, 0x4c4(r1) /* 800D52B4 000D2214 90 A1 00 20 */ stw r5, 0x20(r1) /* 800D52B8 000D2218 38 A1 04 84 */ addi r5, r1, 0x484 /* 800D52BC 000D221C 38 E1 04 94 */ addi r7, r1, 0x494 /* 800D52C0 000D2220 39 41 00 4C */ addi r10, r1, 0x4c /* 800D52C4 000D2224 92 21 00 24 */ stw r17, 0x24(r1) /* 800D52C8 000D2228 92 01 00 28 */ stw r16, 0x28(r1) /* 800D52CC 000D222C 91 E1 00 2C */ stw r15, 0x2c(r1) /* 800D52D0 000D2230 91 C1 00 30 */ stw r14, 0x30(r1) /* 800D52D4 000D2234 91 81 00 34 */ stw r12, 0x34(r1) /* 800D52D8 000D2238 91 61 00 38 */ stw r11, 0x38(r1) /* 800D52DC 000D223C 90 01 00 3C */ stw r0, 0x3c(r1) /* 800D52E0 000D2240 48 16 BE 71 */ bl __ct__20CScriptSpindleCameraF9TUniqueIdRCQ24rstl12basic_stringRC11CEntityInfoRC12CTransform4fbiffffRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABox /* 800D52E4 000D2244 7C 7F 1B 78 */ mr r31, r3 lbl_800D52E8: /* 800D52E8 000D2248 38 61 04 84 */ addi r3, r1, 0x484 /* 800D52EC 000D224C 48 26 87 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D52F0 000D2250 7F E3 FB 78 */ mr r3, r31 lbl_800D52F4: /* 800D52F4 000D2254 E3 E1 05 E8 */ psq_l f31, 1512(r1), 0, qr0 /* 800D52F8 000D2258 CB E1 05 E0 */ lfd f31, 0x5e0(r1) /* 800D52FC 000D225C E3 C1 05 D8 */ psq_l f30, 1496(r1), 0, qr0 /* 800D5300 000D2260 CB C1 05 D0 */ lfd f30, 0x5d0(r1) /* 800D5304 000D2264 E3 A1 05 C8 */ psq_l f29, 1480(r1), 0, qr0 /* 800D5308 000D2268 CB A1 05 C0 */ lfd f29, 0x5c0(r1) /* 800D530C 000D226C E3 81 05 B8 */ psq_l f28, 1464(r1), 0, qr0 /* 800D5310 000D2270 CB 81 05 B0 */ lfd f28, 0x5b0(r1) /* 800D5314 000D2274 B9 C1 05 68 */ lmw r14, 0x568(r1) /* 800D5318 000D2278 80 01 05 F4 */ lwz r0, 0x5f4(r1) /* 800D531C 000D227C 7C 08 03 A6 */ mtlr r0 /* 800D5320 000D2280 38 21 05 F0 */ addi r1, r1, 0x5f0 /* 800D5324 000D2284 4E 80 00 20 */ blr .global LoadPathCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadPathCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D5328 000D2288 94 21 FF 70 */ stwu r1, -0x90(r1) /* 800D532C 000D228C 7C 08 02 A6 */ mflr r0 /* 800D5330 000D2290 90 01 00 94 */ stw r0, 0x94(r1) /* 800D5334 000D2294 39 61 00 90 */ addi r11, r1, 0x90 /* 800D5338 000D2298 48 2B 46 AD */ bl _savefpr_27 /* 800D533C 000D229C BF 41 00 50 */ stmw r26, 0x50(r1) /* 800D5340 000D22A0 2C 05 00 0F */ cmpwi r5, 0xf /* 800D5344 000D22A4 7C 7A 1B 78 */ mr r26, r3 /* 800D5348 000D22A8 7C 9E 23 78 */ mr r30, r4 /* 800D534C 000D22AC 7C DB 33 78 */ mr r27, r6 /* 800D5350 000D22B0 40 81 00 0C */ ble lbl_800D535C /* 800D5354 000D22B4 38 60 00 00 */ li r3, 0 /* 800D5358 000D22B8 48 00 00 F4 */ b lbl_800D544C lbl_800D535C: /* 800D535C 000D22BC 7F 45 D3 78 */ mr r5, r26 /* 800D5360 000D22C0 38 61 00 10 */ addi r3, r1, 0x10 /* 800D5364 000D22C4 48 00 51 61 */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800D5368 000D22C8 7F C3 F3 78 */ mr r3, r30 /* 800D536C 000D22CC 48 26 99 71 */ bl ReadBool__12CInputStreamFv /* 800D5370 000D22D0 7C 7F 1B 78 */ mr r31, r3 /* 800D5374 000D22D4 7F C3 F3 78 */ mr r3, r30 /* 800D5378 000D22D8 48 00 48 85 */ bl LoadParameterFlags__FR12CInputStream /* 800D537C 000D22DC 7C 60 1B 78 */ mr r0, r3 /* 800D5380 000D22E0 7F C3 F3 78 */ mr r3, r30 /* 800D5384 000D22E4 7C 1D 03 78 */ mr r29, r0 /* 800D5388 000D22E8 48 26 98 A1 */ bl ReadFloat__12CInputStreamFv /* 800D538C 000D22EC FF E0 08 90 */ fmr f31, f1 /* 800D5390 000D22F0 7F C3 F3 78 */ mr r3, r30 /* 800D5394 000D22F4 48 26 98 95 */ bl ReadFloat__12CInputStreamFv /* 800D5398 000D22F8 FF C0 08 90 */ fmr f30, f1 /* 800D539C 000D22FC 7F C3 F3 78 */ mr r3, r30 /* 800D53A0 000D2300 48 26 98 89 */ bl ReadFloat__12CInputStreamFv /* 800D53A4 000D2304 FF A0 08 90 */ fmr f29, f1 /* 800D53A8 000D2308 7F C3 F3 78 */ mr r3, r30 /* 800D53AC 000D230C 48 26 98 D9 */ bl ReadLong__12CInputStreamFv /* 800D53B0 000D2310 7C 60 1B 78 */ mr r0, r3 /* 800D53B4 000D2314 7F C3 F3 78 */ mr r3, r30 /* 800D53B8 000D2318 7C 1C 03 78 */ mr r28, r0 /* 800D53BC 000D231C 48 26 98 6D */ bl ReadFloat__12CInputStreamFv /* 800D53C0 000D2320 FF 80 08 90 */ fmr f28, f1 /* 800D53C4 000D2324 7F C3 F3 78 */ mr r3, r30 /* 800D53C8 000D2328 48 26 98 61 */ bl ReadFloat__12CInputStreamFv /* 800D53CC 000D232C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D53D0 000D2330 FF 60 08 90 */ fmr f27, f1 /* 800D53D4 000D2334 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D53D8 000D2338 38 A0 00 00 */ li r5, 0 /* 800D53DC 000D233C 38 60 01 F8 */ li r3, 0x1f8 /* 800D53E0 000D2340 38 84 00 0D */ addi r4, r4, 0xd /* 800D53E4 000D2344 48 24 04 89 */ bl __nw__FUlPCcPCc /* 800D53E8 000D2348 7C 7E 1B 79 */ or. r30, r3, r3 /* 800D53EC 000D234C 41 82 00 54 */ beq lbl_800D5440 /* 800D53F0 000D2350 7F 44 D3 78 */ mr r4, r26 /* 800D53F4 000D2354 38 61 00 08 */ addi r3, r1, 8 /* 800D53F8 000D2358 4B F7 7C E5 */ bl AllocateUniqueId__13CStateManagerFv /* 800D53FC 000D235C A0 01 00 08 */ lhz r0, 8(r1) /* 800D5400 000D2360 FC 20 F8 90 */ fmr f1, f31 /* 800D5404 000D2364 FC 40 F0 90 */ fmr f2, f30 /* 800D5408 000D2368 7F C3 F3 78 */ mr r3, r30 /* 800D540C 000D236C FC 60 E8 90 */ fmr f3, f29 /* 800D5410 000D2370 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D5414 000D2374 FC 80 E0 90 */ fmr f4, f28 /* 800D5418 000D2378 FC A0 D8 90 */ fmr f5, f27 /* 800D541C 000D237C 7F 66 DB 78 */ mr r6, r27 /* 800D5420 000D2380 7F E8 FB 78 */ mr r8, r31 /* 800D5424 000D2384 7F A9 EB 78 */ mr r9, r29 /* 800D5428 000D2388 7F 8A E3 78 */ mr r10, r28 /* 800D542C 000D238C 38 81 00 0C */ addi r4, r1, 0xc /* 800D5430 000D2390 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D5434 000D2394 38 E1 00 20 */ addi r7, r1, 0x20 /* 800D5438 000D2398 48 05 92 E1 */ bl "__ct__11CPathCameraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbbbbbfffffffQ211CPathCamera22EInitialSplinePosition" /* 800D543C 000D239C 7C 7E 1B 78 */ mr r30, r3 lbl_800D5440: /* 800D5440 000D23A0 38 61 00 10 */ addi r3, r1, 0x10 /* 800D5444 000D23A4 48 26 86 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D5448 000D23A8 7F C3 F3 78 */ mr r3, r30 lbl_800D544C: /* 800D544C 000D23AC 39 61 00 90 */ addi r11, r1, 0x90 /* 800D5450 000D23B0 48 2B 45 E1 */ bl _restfpr_27 /* 800D5454 000D23B4 BB 41 00 50 */ lmw r26, 0x50(r1) /* 800D5458 000D23B8 80 01 00 94 */ lwz r0, 0x94(r1) /* 800D545C 000D23BC 7C 08 03 A6 */ mtlr r0 /* 800D5460 000D23C0 38 21 00 90 */ addi r1, r1, 0x90 /* 800D5464 000D23C4 4E 80 00 20 */ blr .global LoadCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D5468 000D23C8 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 800D546C 000D23CC 7C 08 02 A6 */ mflr r0 /* 800D5470 000D23D0 90 01 00 E4 */ stw r0, 0xe4(r1) /* 800D5474 000D23D4 DB E1 00 D0 */ stfd f31, 0xd0(r1) /* 800D5478 000D23D8 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 /* 800D547C 000D23DC DB C1 00 C0 */ stfd f30, 0xc0(r1) /* 800D5480 000D23E0 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 /* 800D5484 000D23E4 DB A1 00 B0 */ stfd f29, 0xb0(r1) /* 800D5488 000D23E8 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 /* 800D548C 000D23EC DB 81 00 A0 */ stfd f28, 0xa0(r1) /* 800D5490 000D23F0 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 /* 800D5494 000D23F4 DB 61 00 90 */ stfd f27, 0x90(r1) /* 800D5498 000D23F8 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 /* 800D549C 000D23FC BE 61 00 5C */ stmw r19, 0x5c(r1) /* 800D54A0 000D2400 7C B7 2B 78 */ mr r23, r5 /* 800D54A4 000D2404 7C 78 1B 78 */ mr r24, r3 /* 800D54A8 000D2408 2C 17 00 0E */ cmpwi r23, 0xe /* 800D54AC 000D240C 7C 9A 23 78 */ mr r26, r4 /* 800D54B0 000D2410 7C D9 33 78 */ mr r25, r6 /* 800D54B4 000D2414 38 00 00 00 */ li r0, 0 /* 800D54B8 000D2418 41 80 00 10 */ blt lbl_800D54C8 /* 800D54BC 000D241C 2C 17 00 0F */ cmpwi r23, 0xf /* 800D54C0 000D2420 41 81 00 08 */ bgt lbl_800D54C8 /* 800D54C4 000D2424 38 00 00 01 */ li r0, 1 lbl_800D54C8: /* 800D54C8 000D2428 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800D54CC 000D242C 40 82 00 0C */ bne lbl_800D54D8 /* 800D54D0 000D2430 38 60 00 00 */ li r3, 0 /* 800D54D4 000D2434 48 00 02 30 */ b lbl_800D5704 lbl_800D54D8: /* 800D54D8 000D2438 7F 44 D3 78 */ mr r4, r26 /* 800D54DC 000D243C 7F 05 C3 78 */ mr r5, r24 /* 800D54E0 000D2440 38 61 00 10 */ addi r3, r1, 0x10 /* 800D54E4 000D2444 48 00 4F E1 */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800D54E8 000D2448 7F 43 D3 78 */ mr r3, r26 /* 800D54EC 000D244C 48 26 97 F1 */ bl ReadBool__12CInputStreamFv /* 800D54F0 000D2450 7C 7B 1B 78 */ mr r27, r3 /* 800D54F4 000D2454 7F 43 D3 78 */ mr r3, r26 /* 800D54F8 000D2458 48 26 97 31 */ bl ReadFloat__12CInputStreamFv /* 800D54FC 000D245C FF C0 08 90 */ fmr f30, f1 /* 800D5500 000D2460 7F 43 D3 78 */ mr r3, r26 /* 800D5504 000D2464 48 26 97 D9 */ bl ReadBool__12CInputStreamFv /* 800D5508 000D2468 7C 75 1B 78 */ mr r21, r3 /* 800D550C 000D246C 7F 43 D3 78 */ mr r3, r26 /* 800D5510 000D2470 48 26 97 CD */ bl ReadBool__12CInputStreamFv /* 800D5514 000D2474 7C 74 1B 78 */ mr r20, r3 /* 800D5518 000D2478 7F 43 D3 78 */ mr r3, r26 /* 800D551C 000D247C 48 26 97 C1 */ bl ReadBool__12CInputStreamFv /* 800D5520 000D2480 7C 73 1B 78 */ mr r19, r3 /* 800D5524 000D2484 7F 43 D3 78 */ mr r3, r26 /* 800D5528 000D2488 48 26 97 B5 */ bl ReadBool__12CInputStreamFv /* 800D552C 000D248C 7C 7C 1B 78 */ mr r28, r3 /* 800D5530 000D2490 7F 43 D3 78 */ mr r3, r26 /* 800D5534 000D2494 48 26 97 A9 */ bl ReadBool__12CInputStreamFv /* 800D5538 000D2498 7C 7D 1B 78 */ mr r29, r3 /* 800D553C 000D249C 7F 43 D3 78 */ mr r3, r26 /* 800D5540 000D24A0 48 26 97 9D */ bl ReadBool__12CInputStreamFv /* 800D5544 000D24A4 7C 76 1B 78 */ mr r22, r3 /* 800D5548 000D24A8 7F 43 D3 78 */ mr r3, r26 /* 800D554C 000D24AC 48 26 97 91 */ bl ReadBool__12CInputStreamFv /* 800D5550 000D24B0 7C 7E 1B 78 */ mr r30, r3 /* 800D5554 000D24B4 7F 43 D3 78 */ mr r3, r26 /* 800D5558 000D24B8 48 26 96 D1 */ bl ReadFloat__12CInputStreamFv /* 800D555C 000D24BC FF E0 08 90 */ fmr f31, f1 /* 800D5560 000D24C0 7F 43 D3 78 */ mr r3, r26 /* 800D5564 000D24C4 48 26 97 79 */ bl ReadBool__12CInputStreamFv /* 800D5568 000D24C8 2C 17 00 0E */ cmpwi r23, 0xe /* 800D556C 000D24CC 7C 7F 1B 78 */ mr r31, r3 /* 800D5570 000D24D0 40 81 00 14 */ ble lbl_800D5584 /* 800D5574 000D24D4 7F 43 D3 78 */ mr r3, r26 /* 800D5578 000D24D8 48 26 97 65 */ bl ReadBool__12CInputStreamFv /* 800D557C 000D24DC 7C 7A 1B 78 */ mr r26, r3 /* 800D5580 000D24E0 48 00 00 08 */ b lbl_800D5588 lbl_800D5584: /* 800D5584 000D24E4 3B 40 00 00 */ li r26, 0 lbl_800D5588: /* 800D5588 000D24E8 4B F3 6B 41 */ bl DefaultNearPlane__14CCameraManagerFv /* 800D558C 000D24EC FF A0 08 90 */ fmr f29, f1 /* 800D5590 000D24F0 4B F3 6B 31 */ bl DefaultFarPlane__14CCameraManagerFv /* 800D5594 000D24F4 FF 80 08 90 */ fmr f28, f1 /* 800D5598 000D24F8 4B F3 6B 21 */ bl DefaultAspect__14CCameraManagerFv /* 800D559C 000D24FC 56 84 06 3E */ clrlwi r4, r20, 0x18 /* 800D55A0 000D2500 56 D6 06 3E */ clrlwi r22, r22, 0x18 /* 800D55A4 000D2504 56 74 06 3E */ clrlwi r20, r19, 0x18 /* 800D55A8 000D2508 56 A3 06 3E */ clrlwi r3, r21, 0x18 /* 800D55AC 000D250C 7C 04 00 D0 */ neg r0, r4 /* 800D55B0 000D2510 57 DE 06 3E */ clrlwi r30, r30, 0x18 /* 800D55B4 000D2514 7C 13 23 78 */ or r19, r0, r4 /* 800D55B8 000D2518 57 AB 06 3E */ clrlwi r11, r29, 0x18 /* 800D55BC 000D251C 7C 03 00 D0 */ neg r0, r3 /* 800D55C0 000D2520 57 89 06 3E */ clrlwi r9, r28, 0x18 /* 800D55C4 000D2524 7E B4 00 D0 */ neg r21, r20 /* 800D55C8 000D2528 7D 9E 00 D0 */ neg r12, r30 /* 800D55CC 000D252C 7E BC A3 78 */ or r28, r21, r20 /* 800D55D0 000D2530 7C 00 1B 78 */ or r0, r0, r3 /* 800D55D4 000D2534 57 45 06 3E */ clrlwi r5, r26, 0x18 /* 800D55D8 000D2538 7E F6 00 D0 */ neg r23, r22 /* 800D55DC 000D253C 7E FA B3 78 */ or r26, r23, r22 /* 800D55E0 000D2540 7E 7D FE 70 */ srawi r29, r19, 0x1f /* 800D55E4 000D2544 3A 80 00 02 */ li r20, 2 /* 800D55E8 000D2548 7F 97 FE 70 */ srawi r23, r28, 0x1f /* 800D55EC 000D254C 7D 4B 00 D0 */ neg r10, r11 /* 800D55F0 000D2550 7F 5C FE 70 */ srawi r28, r26, 0x1f /* 800D55F4 000D2554 7E 93 E8 38 */ and r19, r20, r29 /* 800D55F8 000D2558 3A C0 00 04 */ li r22, 4 /* 800D55FC 000D255C 7D 8C F3 78 */ or r12, r12, r30 /* 800D5600 000D2560 3B 40 00 08 */ li r26, 8 /* 800D5604 000D2564 57 E7 06 3E */ clrlwi r7, r31, 0x18 /* 800D5608 000D2568 7D 09 00 D0 */ neg r8, r9 /* 800D560C 000D256C 7D 4A 5B 78 */ or r10, r10, r11 /* 800D5610 000D2570 7D 8C FE 70 */ srawi r12, r12, 0x1f /* 800D5614 000D2574 39 60 00 10 */ li r11, 0x10 /* 800D5618 000D2578 7C C7 00 D0 */ neg r6, r7 /* 800D561C 000D257C 7D 08 4B 78 */ or r8, r8, r9 /* 800D5620 000D2580 7D 4A FE 70 */ srawi r10, r10, 0x1f /* 800D5624 000D2584 39 20 00 20 */ li r9, 0x20 /* 800D5628 000D2588 7C 85 00 D0 */ neg r4, r5 /* 800D562C 000D258C 7C C6 3B 78 */ or r6, r6, r7 /* 800D5630 000D2590 7D 08 FE 70 */ srawi r8, r8, 0x1f /* 800D5634 000D2594 38 E0 00 40 */ li r7, 0x40 /* 800D5638 000D2598 7C 84 2B 78 */ or r4, r4, r5 /* 800D563C 000D259C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D5640 000D25A0 7E D4 B8 38 */ and r20, r22, r23 /* 800D5644 000D25A4 50 13 0F FE */ rlwimi r19, r0, 1, 0x1f, 0x1f /* 800D5648 000D25A8 7F 55 E0 38 */ and r21, r26, r28 /* 800D564C 000D25AC 7E 80 9B 78 */ or r0, r20, r19 /* 800D5650 000D25B0 7D 6B 60 38 */ and r11, r11, r12 /* 800D5654 000D25B4 7E A0 03 78 */ or r0, r21, r0 /* 800D5658 000D25B8 7D 29 50 38 */ and r9, r9, r10 /* 800D565C 000D25BC 7D 60 03 78 */ or r0, r11, r0 /* 800D5660 000D25C0 7C E7 40 38 */ and r7, r7, r8 /* 800D5664 000D25C4 7D 20 03 78 */ or r0, r9, r0 /* 800D5668 000D25C8 7C C6 FE 70 */ srawi r6, r6, 0x1f /* 800D566C 000D25CC 38 A0 00 80 */ li r5, 0x80 /* 800D5670 000D25D0 FF 60 08 90 */ fmr f27, f1 /* 800D5674 000D25D4 7C A6 30 38 */ and r6, r5, r6 /* 800D5678 000D25D8 7C E0 03 78 */ or r0, r7, r0 /* 800D567C 000D25DC 7C 85 FE 70 */ srawi r5, r4, 0x1f /* 800D5680 000D25E0 38 80 02 00 */ li r4, 0x200 /* 800D5684 000D25E4 7C 84 28 38 */ and r4, r4, r5 /* 800D5688 000D25E8 7C C0 03 78 */ or r0, r6, r0 /* 800D568C 000D25EC 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l /* 800D5690 000D25F0 7C 94 03 78 */ or r20, r4, r0 /* 800D5694 000D25F4 38 A0 00 00 */ li r5, 0 /* 800D5698 000D25F8 38 83 00 0D */ addi r4, r3, 0xd /* 800D569C 000D25FC 38 60 02 28 */ li r3, 0x228 /* 800D56A0 000D2600 48 24 01 CD */ bl __nw__FUlPCcPCc /* 800D56A4 000D2604 7C 73 1B 79 */ or. r19, r3, r3 /* 800D56A8 000D2608 41 82 00 50 */ beq lbl_800D56F8 /* 800D56AC 000D260C 7F 04 C3 78 */ mr r4, r24 /* 800D56B0 000D2610 38 61 00 08 */ addi r3, r1, 8 /* 800D56B4 000D2614 4B F7 7A 29 */ bl AllocateUniqueId__13CStateManagerFv /* 800D56B8 000D2618 EC 5F D8 24 */ fdivs f2, f31, f27 /* 800D56BC 000D261C A0 01 00 08 */ lhz r0, 8(r1) /* 800D56C0 000D2620 7E 63 9B 78 */ mr r3, r19 /* 800D56C4 000D2624 7F 26 CB 78 */ mr r6, r25 /* 800D56C8 000D2628 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D56CC 000D262C 7F 68 DB 78 */ mr r8, r27 /* 800D56D0 000D2630 FC 20 F0 90 */ fmr f1, f30 /* 800D56D4 000D2634 7E 89 A3 78 */ mr r9, r20 /* 800D56D8 000D2638 FC 60 E8 90 */ fmr f3, f29 /* 800D56DC 000D263C 38 81 00 0C */ addi r4, r1, 0xc /* 800D56E0 000D2640 FC 80 E0 90 */ fmr f4, f28 /* 800D56E4 000D2644 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D56E8 000D2648 FC A0 D8 90 */ fmr f5, f27 /* 800D56EC 000D264C 38 E1 00 20 */ addi r7, r1, 0x20 /* 800D56F0 000D2650 4B FB FD 05 */ bl "__ct__16CCinematicCameraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfffffUi" /* 800D56F4 000D2654 7C 73 1B 78 */ mr r19, r3 lbl_800D56F8: /* 800D56F8 000D2658 38 61 00 10 */ addi r3, r1, 0x10 /* 800D56FC 000D265C 48 26 83 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D5700 000D2660 7E 63 9B 78 */ mr r3, r19 lbl_800D5704: /* 800D5704 000D2664 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 /* 800D5708 000D2668 CB E1 00 D0 */ lfd f31, 0xd0(r1) /* 800D570C 000D266C E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 /* 800D5710 000D2670 CB C1 00 C0 */ lfd f30, 0xc0(r1) /* 800D5714 000D2674 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 /* 800D5718 000D2678 CB A1 00 B0 */ lfd f29, 0xb0(r1) /* 800D571C 000D267C E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 /* 800D5720 000D2680 CB 81 00 A0 */ lfd f28, 0xa0(r1) /* 800D5724 000D2684 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 /* 800D5728 000D2688 CB 61 00 90 */ lfd f27, 0x90(r1) /* 800D572C 000D268C BA 61 00 5C */ lmw r19, 0x5c(r1) /* 800D5730 000D2690 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 800D5734 000D2694 7C 08 03 A6 */ mtlr r0 /* 800D5738 000D2698 38 21 00 E0 */ addi r1, r1, 0xe0 /* 800D573C 000D269C 4E 80 00 20 */ blr .global LoadCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D5740 000D26A0 94 21 FF 90 */ stwu r1, -0x70(r1) /* 800D5744 000D26A4 7C 08 02 A6 */ mflr r0 /* 800D5748 000D26A8 2C 05 00 06 */ cmpwi r5, 6 /* 800D574C 000D26AC 90 01 00 74 */ stw r0, 0x74(r1) /* 800D5750 000D26B0 DB E1 00 68 */ stfd f31, 0x68(r1) /* 800D5754 000D26B4 BF 61 00 54 */ stmw r27, 0x54(r1) /* 800D5758 000D26B8 7C 7B 1B 78 */ mr r27, r3 /* 800D575C 000D26BC 7C 9D 23 78 */ mr r29, r4 /* 800D5760 000D26C0 7C DC 33 78 */ mr r28, r6 /* 800D5764 000D26C4 41 82 00 0C */ beq lbl_800D5770 /* 800D5768 000D26C8 38 60 00 00 */ li r3, 0 /* 800D576C 000D26CC 48 00 00 9C */ b lbl_800D5808 lbl_800D5770: /* 800D5770 000D26D0 7F 65 DB 78 */ mr r5, r27 /* 800D5774 000D26D4 38 61 00 10 */ addi r3, r1, 0x10 /* 800D5778 000D26D8 48 00 4D 4D */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800D577C 000D26DC 7F A3 EB 78 */ mr r3, r29 /* 800D5780 000D26E0 48 26 95 5D */ bl ReadBool__12CInputStreamFv /* 800D5784 000D26E4 7C 7F 1B 78 */ mr r31, r3 /* 800D5788 000D26E8 7F A3 EB 78 */ mr r3, r29 /* 800D578C 000D26EC 48 26 94 9D */ bl ReadFloat__12CInputStreamFv /* 800D5790 000D26F0 FF E0 08 90 */ fmr f31, f1 /* 800D5794 000D26F4 7F A3 EB 78 */ mr r3, r29 /* 800D5798 000D26F8 48 26 94 ED */ bl ReadLong__12CInputStreamFv /* 800D579C 000D26FC 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D57A0 000D2700 7C 7E 1B 78 */ mr r30, r3 /* 800D57A4 000D2704 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D57A8 000D2708 38 60 00 F0 */ li r3, 0xf0 /* 800D57AC 000D270C 38 A0 00 00 */ li r5, 0 /* 800D57B0 000D2710 38 84 00 0D */ addi r4, r4, 0xd /* 800D57B4 000D2714 48 24 00 B9 */ bl __nw__FUlPCcPCc /* 800D57B8 000D2718 7C 7D 1B 79 */ or. r29, r3, r3 /* 800D57BC 000D271C 41 82 00 40 */ beq lbl_800D57FC /* 800D57C0 000D2720 7F 64 DB 78 */ mr r4, r27 /* 800D57C4 000D2724 38 61 00 08 */ addi r3, r1, 8 /* 800D57C8 000D2728 4B F7 79 15 */ bl AllocateUniqueId__13CStateManagerFv /* 800D57CC 000D272C A0 01 00 08 */ lhz r0, 8(r1) /* 800D57D0 000D2730 FC 20 F8 90 */ fmr f1, f31 /* 800D57D4 000D2734 7F A3 EB 78 */ mr r3, r29 /* 800D57D8 000D2738 7F 86 E3 78 */ mr r6, r28 /* 800D57DC 000D273C B0 01 00 0C */ sth r0, 0xc(r1) /* 800D57E0 000D2740 7F C9 F3 78 */ mr r9, r30 /* 800D57E4 000D2744 38 81 00 0C */ addi r4, r1, 0xc /* 800D57E8 000D2748 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D57EC 000D274C 38 E1 00 20 */ addi r7, r1, 0x20 /* 800D57F0 000D2750 57 E8 06 3E */ clrlwi r8, r31, 0x18 /* 800D57F4 000D2754 4B FD FC A9 */ bl "__ct__21CScriptCameraWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfUi" /* 800D57F8 000D2758 7C 7D 1B 78 */ mr r29, r3 lbl_800D57FC: /* 800D57FC 000D275C 38 61 00 10 */ addi r3, r1, 0x10 /* 800D5800 000D2760 48 26 82 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D5804 000D2764 7F A3 EB 78 */ mr r3, r29 lbl_800D5808: /* 800D5808 000D2768 CB E1 00 68 */ lfd f31, 0x68(r1) /* 800D580C 000D276C BB 61 00 54 */ lmw r27, 0x54(r1) /* 800D5810 000D2770 80 01 00 74 */ lwz r0, 0x74(r1) /* 800D5814 000D2774 7C 08 03 A6 */ mtlr r0 /* 800D5818 000D2778 38 21 00 70 */ addi r1, r1, 0x70 /* 800D581C 000D277C 4E 80 00 20 */ blr .global LoadPlatform__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadPlatform__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D5820 000D2780 94 21 FB C0 */ stwu r1, -0x440(r1) /* 800D5824 000D2784 7C 08 02 A6 */ mflr r0 /* 800D5828 000D2788 90 01 04 44 */ stw r0, 0x444(r1) /* 800D582C 000D278C DB E1 04 30 */ stfd f31, 0x430(r1) /* 800D5830 000D2790 F3 E1 04 38 */ psq_st f31, 1080(r1), 0, qr0 /* 800D5834 000D2794 DB C1 04 20 */ stfd f30, 0x420(r1) /* 800D5838 000D2798 F3 C1 04 28 */ psq_st f30, 1064(r1), 0, qr0 /* 800D583C 000D279C BE 61 03 EC */ stmw r19, 0x3ec(r1) /* 800D5840 000D27A0 2C 05 00 13 */ cmpwi r5, 0x13 /* 800D5844 000D27A4 7C 73 1B 78 */ mr r19, r3 /* 800D5848 000D27A8 7C 95 23 78 */ mr r21, r4 /* 800D584C 000D27AC 7C D4 33 78 */ mr r20, r6 /* 800D5850 000D27B0 41 82 00 0C */ beq lbl_800D585C /* 800D5854 000D27B4 38 60 00 00 */ li r3, 0 /* 800D5858 000D27B8 48 00 04 98 */ b lbl_800D5CF0 lbl_800D585C: /* 800D585C 000D27BC 7E 65 9B 78 */ mr r5, r19 /* 800D5860 000D27C0 38 61 03 9C */ addi r3, r1, 0x39c /* 800D5864 000D27C4 48 00 4C 19 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D5868 000D27C8 7E A4 AB 78 */ mr r4, r21 /* 800D586C 000D27CC 38 61 00 94 */ addi r3, r1, 0x94 /* 800D5870 000D27D0 48 23 F3 1D */ bl __ct__9CVector3fFR12CInputStream /* 800D5874 000D27D4 7E A4 AB 78 */ mr r4, r21 /* 800D5878 000D27D8 38 61 00 88 */ addi r3, r1, 0x88 /* 800D587C 000D27DC 48 23 F3 11 */ bl __ct__9CVector3fFR12CInputStream /* 800D5880 000D27E0 7E A3 AB 78 */ mr r3, r21 /* 800D5884 000D27E4 48 26 94 01 */ bl ReadLong__12CInputStreamFv /* 800D5888 000D27E8 7C 79 1B 78 */ mr r25, r3 /* 800D588C 000D27EC 7E A4 AB 78 */ mr r4, r21 /* 800D5890 000D27F0 38 61 00 6C */ addi r3, r1, 0x6c /* 800D5894 000D27F4 48 00 4B 79 */ bl LoadAnimationParameters__FR12CInputStream /* 800D5898 000D27F8 82 E1 00 6C */ lwz r23, 0x6c(r1) /* 800D589C 000D27FC 7E A4 AB 78 */ mr r4, r21 /* 800D58A0 000D2800 82 C1 00 74 */ lwz r22, 0x74(r1) /* 800D58A4 000D2804 38 61 02 18 */ addi r3, r1, 0x218 /* 800D58A8 000D2808 48 00 44 CD */ bl LoadActorParameters__FR12CInputStream /* 800D58AC 000D280C 38 61 03 34 */ addi r3, r1, 0x334 /* 800D58B0 000D2810 38 81 02 18 */ addi r4, r1, 0x218 /* 800D58B4 000D2814 4B FE FD 69 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D58B8 000D2818 38 61 02 18 */ addi r3, r1, 0x218 /* 800D58BC 000D281C 38 80 FF FF */ li r4, -1 /* 800D58C0 000D2820 48 03 0D 49 */ bl __dt__16CLightParametersFv /* 800D58C4 000D2824 7E A3 AB 78 */ mr r3, r21 /* 800D58C8 000D2828 48 26 93 61 */ bl ReadFloat__12CInputStreamFv /* 800D58CC 000D282C FF E0 08 90 */ fmr f31, f1 /* 800D58D0 000D2830 7E A3 AB 78 */ mr r3, r21 /* 800D58D4 000D2834 48 26 94 09 */ bl ReadBool__12CInputStreamFv /* 800D58D8 000D2838 7C 7A 1B 78 */ mr r26, r3 /* 800D58DC 000D283C 7E A3 AB 78 */ mr r3, r21 /* 800D58E0 000D2840 48 26 93 A5 */ bl ReadLong__12CInputStreamFv /* 800D58E4 000D2844 7C 78 1B 78 */ mr r24, r3 /* 800D58E8 000D2848 7E A4 AB 78 */ mr r4, r21 /* 800D58EC 000D284C 38 61 00 48 */ addi r3, r1, 0x48 /* 800D58F0 000D2850 48 0F DF 55 */ bl __ct__11CHealthInfoFR12CInputStream /* 800D58F4 000D2854 7E A4 AB 78 */ mr r4, r21 /* 800D58F8 000D2858 38 61 02 CC */ addi r3, r1, 0x2cc /* 800D58FC 000D285C 48 02 D2 5D */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 800D5900 000D2860 7E A3 AB 78 */ mr r3, r21 /* 800D5904 000D2864 48 26 93 D9 */ bl ReadBool__12CInputStreamFv /* 800D5908 000D2868 7C 7B 1B 78 */ mr r27, r3 /* 800D590C 000D286C 7E A3 AB 78 */ mr r3, r21 /* 800D5910 000D2870 48 26 93 19 */ bl ReadFloat__12CInputStreamFv /* 800D5914 000D2874 FF C0 08 90 */ fmr f30, f1 /* 800D5918 000D2878 7E A3 AB 78 */ mr r3, r21 /* 800D591C 000D287C 48 26 93 C1 */ bl ReadBool__12CInputStreamFv /* 800D5920 000D2880 7C 7C 1B 78 */ mr r28, r3 /* 800D5924 000D2884 7E A3 AB 78 */ mr r3, r21 /* 800D5928 000D2888 48 26 93 5D */ bl ReadLong__12CInputStreamFv /* 800D592C 000D288C 7C 7D 1B 78 */ mr r29, r3 /* 800D5930 000D2890 7E A3 AB 78 */ mr r3, r21 /* 800D5934 000D2894 48 26 93 51 */ bl ReadLong__12CInputStreamFv /* 800D5938 000D2898 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800D593C 000D289C 7C 7E 1B 78 */ mr r30, r3 /* 800D5940 000D28A0 7F 24 CB 78 */ mr r4, r25 /* 800D5944 000D28A4 38 65 00 04 */ addi r3, r5, 4 /* 800D5948 000D28A8 48 26 63 85 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D594C 000D28AC 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800D5950 000D28B0 7C 75 1B 78 */ mr r21, r3 /* 800D5954 000D28B4 7E E4 BB 78 */ mr r4, r23 /* 800D5958 000D28B8 38 65 00 04 */ addi r3, r5, 4 /* 800D595C 000D28BC 48 26 63 71 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D5960 000D28C0 28 15 00 00 */ cmplwi r21, 0 /* 800D5964 000D28C4 7C 7F 1B 78 */ mr r31, r3 /* 800D5968 000D28C8 40 82 00 28 */ bne lbl_800D5990 /* 800D596C 000D28CC 28 1F 00 00 */ cmplwi r31, 0 /* 800D5970 000D28D0 40 82 00 20 */ bne lbl_800D5990 /* 800D5974 000D28D4 38 61 03 34 */ addi r3, r1, 0x334 /* 800D5978 000D28D8 38 80 FF FF */ li r4, -1 /* 800D597C 000D28DC 48 03 0C 8D */ bl __dt__16CLightParametersFv /* 800D5980 000D28E0 38 61 03 9C */ addi r3, r1, 0x39c /* 800D5984 000D28E4 48 26 81 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D5988 000D28E8 38 60 00 00 */ li r3, 0 /* 800D598C 000D28EC 48 00 03 64 */ b lbl_800D5CF0 lbl_800D5990: /* 800D5990 000D28F0 80 14 00 00 */ lwz r0, 0(r20) /* 800D5994 000D28F4 7E 64 9B 78 */ mr r4, r19 /* 800D5998 000D28F8 3A A1 03 AC */ addi r21, r1, 0x3ac /* 800D599C 000D28FC 38 61 00 D4 */ addi r3, r1, 0xd4 /* 800D59A0 000D2900 90 01 00 30 */ stw r0, 0x30(r1) /* 800D59A4 000D2904 38 A1 00 34 */ addi r5, r1, 0x34 /* 800D59A8 000D2908 38 C1 00 94 */ addi r6, r1, 0x94 /* 800D59AC 000D290C 38 E1 00 88 */ addi r7, r1, 0x88 /* 800D59B0 000D2910 90 01 00 34 */ stw r0, 0x34(r1) /* 800D59B4 000D2914 48 00 4D 69 */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f /* 800D59B8 000D2918 C0 A1 00 D4 */ lfs f5, 0xd4(r1) /* 800D59BC 000D291C 7F 04 C3 78 */ mr r4, r24 /* 800D59C0 000D2920 C0 81 00 D8 */ lfs f4, 0xd8(r1) /* 800D59C4 000D2924 C0 61 00 DC */ lfs f3, 0xdc(r1) /* 800D59C8 000D2928 C0 41 00 E0 */ lfs f2, 0xe0(r1) /* 800D59CC 000D292C C0 21 00 E4 */ lfs f1, 0xe4(r1) /* 800D59D0 000D2930 C0 01 00 E8 */ lfs f0, 0xe8(r1) /* 800D59D4 000D2934 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 800D59D8 000D2938 D0 A1 00 EC */ stfs f5, 0xec(r1) /* 800D59DC 000D293C 38 63 00 04 */ addi r3, r3, 4 /* 800D59E0 000D2940 D0 81 00 F0 */ stfs f4, 0xf0(r1) /* 800D59E4 000D2944 D0 61 00 F4 */ stfs f3, 0xf4(r1) /* 800D59E8 000D2948 D0 41 00 F8 */ stfs f2, 0xf8(r1) /* 800D59EC 000D294C D0 21 00 FC */ stfs f1, 0xfc(r1) /* 800D59F0 000D2950 D0 01 01 00 */ stfs f0, 0x100(r1) /* 800D59F4 000D2954 48 26 62 D9 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D59F8 000D2958 38 00 00 00 */ li r0, 0 /* 800D59FC 000D295C 28 03 00 00 */ cmplwi r3, 0 /* 800D5A00 000D2960 98 01 00 84 */ stb r0, 0x84(r1) /* 800D5A04 000D2964 41 82 00 B8 */ beq lbl_800D5ABC /* 800D5A08 000D2968 3C 60 44 43 */ lis r3, 0x44434C4E@ha /* 800D5A0C 000D296C 93 01 00 44 */ stw r24, 0x44(r1) /* 800D5A10 000D2970 38 03 4C 4E */ addi r0, r3, 0x44434C4E@l /* 800D5A14 000D2974 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) /* 800D5A18 000D2978 90 01 00 40 */ stw r0, 0x40(r1) /* 800D5A1C 000D297C 38 61 00 38 */ addi r3, r1, 0x38 /* 800D5A20 000D2980 38 A1 00 40 */ addi r5, r1, 0x40 /* 800D5A24 000D2984 81 84 00 00 */ lwz r12, 0(r4) /* 800D5A28 000D2988 81 8C 00 0C */ lwz r12, 0xc(r12) /* 800D5A2C 000D298C 7D 89 03 A6 */ mtctr r12 /* 800D5A30 000D2990 4E 80 04 21 */ bctrl /* 800D5A34 000D2994 3B 01 00 60 */ addi r24, r1, 0x60 /* 800D5A38 000D2998 38 81 00 38 */ addi r4, r1, 0x38 /* 800D5A3C 000D299C 7F 03 C3 78 */ mr r3, r24 /* 800D5A40 000D29A0 48 26 B4 69 */ bl __ct__6CTokenFRC6CToken /* 800D5A44 000D29A4 7F 03 C3 78 */ mr r3, r24 /* 800D5A48 000D29A8 48 26 B3 C5 */ bl GetObj__6CTokenFv /* 800D5A4C 000D29AC 88 01 00 84 */ lbz r0, 0x84(r1) /* 800D5A50 000D29B0 80 63 00 04 */ lwz r3, 4(r3) /* 800D5A54 000D29B4 28 00 00 00 */ cmplwi r0, 0 /* 800D5A58 000D29B8 90 61 00 68 */ stw r3, 0x68(r1) /* 800D5A5C 000D29BC 40 82 00 34 */ bne lbl_800D5A90 /* 800D5A60 000D29C0 37 01 00 78 */ addic. r24, r1, 0x78 /* 800D5A64 000D29C4 41 82 00 20 */ beq lbl_800D5A84 /* 800D5A68 000D29C8 7F 03 C3 78 */ mr r3, r24 /* 800D5A6C 000D29CC 38 81 00 60 */ addi r4, r1, 0x60 /* 800D5A70 000D29D0 48 26 B4 39 */ bl __ct__6CTokenFRC6CToken /* 800D5A74 000D29D4 80 01 00 68 */ lwz r0, 0x68(r1) /* 800D5A78 000D29D8 7F 03 C3 78 */ mr r3, r24 /* 800D5A7C 000D29DC 90 18 00 08 */ stw r0, 8(r24) /* 800D5A80 000D29E0 48 26 B3 05 */ bl Lock__6CTokenFv lbl_800D5A84: /* 800D5A84 000D29E4 38 00 00 01 */ li r0, 1 /* 800D5A88 000D29E8 98 01 00 84 */ stb r0, 0x84(r1) /* 800D5A8C 000D29EC 48 00 00 18 */ b lbl_800D5AA4 lbl_800D5A90: /* 800D5A90 000D29F0 38 61 00 78 */ addi r3, r1, 0x78 /* 800D5A94 000D29F4 7F 04 C3 78 */ mr r4, r24 /* 800D5A98 000D29F8 48 26 B2 2D */ bl __as__6CTokenFRC6CToken /* 800D5A9C 000D29FC 80 01 00 68 */ lwz r0, 0x68(r1) /* 800D5AA0 000D2A00 90 01 00 80 */ stw r0, 0x80(r1) lbl_800D5AA4: /* 800D5AA4 000D2A04 38 61 00 60 */ addi r3, r1, 0x60 /* 800D5AA8 000D2A08 38 80 00 00 */ li r4, 0 /* 800D5AAC 000D2A0C 48 26 B3 95 */ bl __dt__6CTokenFv /* 800D5AB0 000D2A10 38 61 00 38 */ addi r3, r1, 0x38 /* 800D5AB4 000D2A14 38 80 FF FF */ li r4, -1 /* 800D5AB8 000D2A18 48 26 B3 89 */ bl __dt__6CTokenFv lbl_800D5ABC: /* 800D5ABC 000D2A1C 38 61 01 CC */ addi r3, r1, 0x1cc /* 800D5AC0 000D2A20 4B F6 4C E5 */ bl CModelDataNull__10CModelDataFv /* 800D5AC4 000D2A24 38 61 02 80 */ addi r3, r1, 0x280 /* 800D5AC8 000D2A28 38 81 01 CC */ addi r4, r1, 0x1cc /* 800D5ACC 000D2A2C 4B F4 32 C1 */ bl __ct__10CModelDataFRC10CModelData /* 800D5AD0 000D2A30 38 61 01 CC */ addi r3, r1, 0x1cc /* 800D5AD4 000D2A34 38 80 FF FF */ li r4, -1 /* 800D5AD8 000D2A38 48 04 0F 75 */ bl __dt__10CModelDataFv /* 800D5ADC 000D2A3C 3C 1F BE B2 */ addis r0, r31, 0xbeb2 /* 800D5AE0 000D2A40 28 00 43 53 */ cmplwi r0, 0x4353 /* 800D5AE4 000D2A44 40 82 00 5C */ bne lbl_800D5B40 /* 800D5AE8 000D2A48 80 A2 83 F0 */ lwz r5, kDefaultCharIdx__8CAnimRes@sda21(r2) /* 800D5AEC 000D2A4C 38 00 00 01 */ li r0, 1 /* 800D5AF0 000D2A50 C0 41 03 DC */ lfs f2, 0x3dc(r1) /* 800D5AF4 000D2A54 38 61 01 80 */ addi r3, r1, 0x180 /* 800D5AF8 000D2A58 C0 21 03 E0 */ lfs f1, 0x3e0(r1) /* 800D5AFC 000D2A5C 38 81 00 B8 */ addi r4, r1, 0xb8 /* 800D5B00 000D2A60 C0 01 03 E4 */ lfs f0, 0x3e4(r1) /* 800D5B04 000D2A64 92 E1 00 B8 */ stw r23, 0xb8(r1) /* 800D5B08 000D2A68 90 A1 00 BC */ stw r5, 0xbc(r1) /* 800D5B0C 000D2A6C D0 41 00 C0 */ stfs f2, 0xc0(r1) /* 800D5B10 000D2A70 D0 21 00 C4 */ stfs f1, 0xc4(r1) /* 800D5B14 000D2A74 D0 01 00 C8 */ stfs f0, 0xc8(r1) /* 800D5B18 000D2A78 98 01 00 CC */ stb r0, 0xcc(r1) /* 800D5B1C 000D2A7C 92 C1 00 D0 */ stw r22, 0xd0(r1) /* 800D5B20 000D2A80 48 04 10 35 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D5B24 000D2A84 38 61 02 80 */ addi r3, r1, 0x280 /* 800D5B28 000D2A88 38 81 01 80 */ addi r4, r1, 0x180 /* 800D5B2C 000D2A8C 48 00 01 E9 */ bl __as__10CModelDataFRC10CModelData /* 800D5B30 000D2A90 38 61 01 80 */ addi r3, r1, 0x180 /* 800D5B34 000D2A94 38 80 FF FF */ li r4, -1 /* 800D5B38 000D2A98 48 04 0F 15 */ bl __dt__10CModelDataFv /* 800D5B3C 000D2A9C 48 00 00 44 */ b lbl_800D5B80 lbl_800D5B40: /* 800D5B40 000D2AA0 C0 41 03 DC */ lfs f2, 0x3dc(r1) /* 800D5B44 000D2AA4 38 61 01 34 */ addi r3, r1, 0x134 /* 800D5B48 000D2AA8 C0 21 03 E0 */ lfs f1, 0x3e0(r1) /* 800D5B4C 000D2AAC 38 81 00 50 */ addi r4, r1, 0x50 /* 800D5B50 000D2AB0 C0 01 03 E4 */ lfs f0, 0x3e4(r1) /* 800D5B54 000D2AB4 93 21 00 50 */ stw r25, 0x50(r1) /* 800D5B58 000D2AB8 D0 41 00 54 */ stfs f2, 0x54(r1) /* 800D5B5C 000D2ABC D0 21 00 58 */ stfs f1, 0x58(r1) /* 800D5B60 000D2AC0 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 800D5B64 000D2AC4 48 04 11 F9 */ bl __ct__10CModelDataFRC10CStaticRes /* 800D5B68 000D2AC8 38 61 02 80 */ addi r3, r1, 0x280 /* 800D5B6C 000D2ACC 38 81 01 34 */ addi r4, r1, 0x134 /* 800D5B70 000D2AD0 48 00 01 A5 */ bl __as__10CModelDataFRC10CModelData /* 800D5B74 000D2AD4 38 61 01 34 */ addi r3, r1, 0x134 /* 800D5B78 000D2AD8 38 80 FF FF */ li r4, -1 /* 800D5B7C 000D2ADC 48 04 0E D1 */ bl __dt__10CModelDataFv lbl_800D5B80: /* 800D5B80 000D2AE0 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 800D5B84 000D2AE4 C0 21 00 94 */ lfs f1, 0x94(r1) /* 800D5B88 000D2AE8 C4 03 66 A0 */ lfsu f0, sZeroVector__9CVector3f@l(r3) /* 800D5B8C 000D2AEC 38 00 00 00 */ li r0, 0 /* 800D5B90 000D2AF0 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800D5B94 000D2AF4 40 82 00 28 */ bne lbl_800D5BBC /* 800D5B98 000D2AF8 C0 21 00 98 */ lfs f1, 0x98(r1) /* 800D5B9C 000D2AFC C0 03 00 04 */ lfs f0, 4(r3) /* 800D5BA0 000D2B00 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800D5BA4 000D2B04 40 82 00 18 */ bne lbl_800D5BBC /* 800D5BA8 000D2B08 C0 21 00 9C */ lfs f1, 0x9c(r1) /* 800D5BAC 000D2B0C C0 03 00 08 */ lfs f0, 8(r3) /* 800D5BB0 000D2B10 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800D5BB4 000D2B14 40 82 00 08 */ bne lbl_800D5BBC /* 800D5BB8 000D2B18 38 00 00 01 */ li r0, 1 lbl_800D5BBC: /* 800D5BBC 000D2B1C 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800D5BC0 000D2B20 41 82 00 50 */ beq lbl_800D5C10 /* 800D5BC4 000D2B24 7E A4 AB 78 */ mr r4, r21 /* 800D5BC8 000D2B28 38 61 01 04 */ addi r3, r1, 0x104 /* 800D5BCC 000D2B2C 48 23 D0 75 */ bl GetRotation__12CTransform4fCFv /* 800D5BD0 000D2B30 38 61 00 A0 */ addi r3, r1, 0xa0 /* 800D5BD4 000D2B34 38 81 02 80 */ addi r4, r1, 0x280 /* 800D5BD8 000D2B38 38 A1 01 04 */ addi r5, r1, 0x104 /* 800D5BDC 000D2B3C 48 03 FB D9 */ bl GetBounds__10CModelDataCFRC12CTransform4f /* 800D5BE0 000D2B40 80 E1 00 A0 */ lwz r7, 0xa0(r1) /* 800D5BE4 000D2B44 80 C1 00 A4 */ lwz r6, 0xa4(r1) /* 800D5BE8 000D2B48 80 A1 00 A8 */ lwz r5, 0xa8(r1) /* 800D5BEC 000D2B4C 80 81 00 AC */ lwz r4, 0xac(r1) /* 800D5BF0 000D2B50 80 61 00 B0 */ lwz r3, 0xb0(r1) /* 800D5BF4 000D2B54 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 800D5BF8 000D2B58 90 E1 00 EC */ stw r7, 0xec(r1) /* 800D5BFC 000D2B5C 90 C1 00 F0 */ stw r6, 0xf0(r1) /* 800D5C00 000D2B60 90 A1 00 F4 */ stw r5, 0xf4(r1) /* 800D5C04 000D2B64 90 81 00 F8 */ stw r4, 0xf8(r1) /* 800D5C08 000D2B68 90 61 00 FC */ stw r3, 0xfc(r1) /* 800D5C0C 000D2B6C 90 01 01 00 */ stw r0, 0x100(r1) lbl_800D5C10: /* 800D5C10 000D2B70 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D5C14 000D2B74 38 60 03 58 */ li r3, 0x358 /* 800D5C18 000D2B78 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D5C1C 000D2B7C 38 A0 00 00 */ li r5, 0 /* 800D5C20 000D2B80 38 84 00 0D */ addi r4, r4, 0xd /* 800D5C24 000D2B84 48 23 FC 49 */ bl __nw__FUlPCcPCc /* 800D5C28 000D2B88 7C 76 1B 79 */ or. r22, r3, r3 /* 800D5C2C 000D2B8C 41 82 00 74 */ beq lbl_800D5CA0 /* 800D5C30 000D2B90 7E 64 9B 78 */ mr r4, r19 /* 800D5C34 000D2B94 38 61 00 28 */ addi r3, r1, 0x28 /* 800D5C38 000D2B98 4B F7 74 A5 */ bl AllocateUniqueId__13CStateManagerFv /* 800D5C3C 000D2B9C A0 61 00 28 */ lhz r3, 0x28(r1) /* 800D5C40 000D2BA0 39 01 00 48 */ addi r8, r1, 0x48 /* 800D5C44 000D2BA4 39 61 02 CC */ addi r11, r1, 0x2cc /* 800D5C48 000D2BA8 38 01 00 78 */ addi r0, r1, 0x78 /* 800D5C4C 000D2BAC B0 61 00 2C */ sth r3, 0x2c(r1) /* 800D5C50 000D2BB0 FC 20 F8 90 */ fmr f1, f31 /* 800D5C54 000D2BB4 FC 40 F0 90 */ fmr f2, f30 /* 800D5C58 000D2BB8 7E C3 B3 78 */ mr r3, r22 /* 800D5C5C 000D2BBC 93 61 00 08 */ stw r27, 8(r1) /* 800D5C60 000D2BC0 7E 86 A3 78 */ mr r6, r20 /* 800D5C64 000D2BC4 7E A7 AB 78 */ mr r7, r21 /* 800D5C68 000D2BC8 93 41 00 0C */ stw r26, 0xc(r1) /* 800D5C6C 000D2BCC 38 81 00 2C */ addi r4, r1, 0x2c /* 800D5C70 000D2BD0 38 A1 03 9C */ addi r5, r1, 0x39c /* 800D5C74 000D2BD4 91 01 00 10 */ stw r8, 0x10(r1) /* 800D5C78 000D2BD8 39 01 02 80 */ addi r8, r1, 0x280 /* 800D5C7C 000D2BDC 39 21 03 34 */ addi r9, r1, 0x334 /* 800D5C80 000D2BE0 39 41 00 EC */ addi r10, r1, 0xec /* 800D5C84 000D2BE4 91 61 00 14 */ stw r11, 0x14(r1) /* 800D5C88 000D2BE8 90 01 00 18 */ stw r0, 0x18(r1) /* 800D5C8C 000D2BEC 93 81 00 1C */ stw r28, 0x1c(r1) /* 800D5C90 000D2BF0 93 A1 00 20 */ stw r29, 0x20(r1) /* 800D5C94 000D2BF4 93 C1 00 24 */ stw r30, 0x24(r1) /* 800D5C98 000D2BF8 4B FD E1 69 */ bl "__ct__15CScriptPlatformF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC6CAABoxfbfbRC11CHealthInfoRC20CDamageVulnerabilityRCQ24rstl67optional_object<48TLockedToken<32CCollidableOBBTreeGroupContainer>>bUiUi" /* 800D5C9C 000D2BFC 7C 76 1B 78 */ mr r22, r3 lbl_800D5CA0: /* 800D5CA0 000D2C00 38 61 02 80 */ addi r3, r1, 0x280 /* 800D5CA4 000D2C04 38 80 FF FF */ li r4, -1 /* 800D5CA8 000D2C08 48 04 0D A5 */ bl __dt__10CModelDataFv /* 800D5CAC 000D2C0C 88 01 00 84 */ lbz r0, 0x84(r1) /* 800D5CB0 000D2C10 28 00 00 00 */ cmplwi r0, 0 /* 800D5CB4 000D2C14 41 82 00 1C */ beq lbl_800D5CD0 /* 800D5CB8 000D2C18 34 61 00 78 */ addic. r3, r1, 0x78 /* 800D5CBC 000D2C1C 41 82 00 14 */ beq lbl_800D5CD0 /* 800D5CC0 000D2C20 28 03 00 00 */ cmplwi r3, 0 /* 800D5CC4 000D2C24 41 82 00 0C */ beq lbl_800D5CD0 /* 800D5CC8 000D2C28 38 80 00 00 */ li r4, 0 /* 800D5CCC 000D2C2C 48 26 B1 75 */ bl __dt__6CTokenFv lbl_800D5CD0: /* 800D5CD0 000D2C30 38 00 00 00 */ li r0, 0 /* 800D5CD4 000D2C34 38 61 03 34 */ addi r3, r1, 0x334 /* 800D5CD8 000D2C38 98 01 00 84 */ stb r0, 0x84(r1) /* 800D5CDC 000D2C3C 38 80 FF FF */ li r4, -1 /* 800D5CE0 000D2C40 48 03 09 29 */ bl __dt__16CLightParametersFv /* 800D5CE4 000D2C44 38 61 03 9C */ addi r3, r1, 0x39c /* 800D5CE8 000D2C48 48 26 7D F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D5CEC 000D2C4C 7E C3 B3 78 */ mr r3, r22 lbl_800D5CF0: /* 800D5CF0 000D2C50 E3 E1 04 38 */ psq_l f31, 1080(r1), 0, qr0 /* 800D5CF4 000D2C54 CB E1 04 30 */ lfd f31, 0x430(r1) /* 800D5CF8 000D2C58 E3 C1 04 28 */ psq_l f30, 1064(r1), 0, qr0 /* 800D5CFC 000D2C5C CB C1 04 20 */ lfd f30, 0x420(r1) /* 800D5D00 000D2C60 BA 61 03 EC */ lmw r19, 0x3ec(r1) /* 800D5D04 000D2C64 80 01 04 44 */ lwz r0, 0x444(r1) /* 800D5D08 000D2C68 7C 08 03 A6 */ mtlr r0 /* 800D5D0C 000D2C6C 38 21 04 40 */ addi r1, r1, 0x440 /* 800D5D10 000D2C70 4E 80 00 20 */ blr .global __as__10CModelDataFRC10CModelData __as__10CModelDataFRC10CModelData: /* 800D5D14 000D2C74 94 21 FF E0 */ stwu r1, -0x20(r1) /* 800D5D18 000D2C78 7C 08 02 A6 */ mflr r0 /* 800D5D1C 000D2C7C 90 01 00 24 */ stw r0, 0x24(r1) /* 800D5D20 000D2C80 93 E1 00 1C */ stw r31, 0x1c(r1) /* 800D5D24 000D2C84 7C 9F 23 78 */ mr r31, r4 /* 800D5D28 000D2C88 93 C1 00 18 */ stw r30, 0x18(r1) /* 800D5D2C 000D2C8C 7C 7E 1B 78 */ mr r30, r3 /* 800D5D30 000D2C90 38 7F 00 0C */ addi r3, r31, 0xc /* 800D5D34 000D2C94 93 A1 00 14 */ stw r29, 0x14(r1) /* 800D5D38 000D2C98 38 1E 00 0C */ addi r0, r30, 0xc /* 800D5D3C 000D2C9C 7C 03 00 40 */ cmplw r3, r0 /* 800D5D40 000D2CA0 93 81 00 10 */ stw r28, 0x10(r1) /* 800D5D44 000D2CA4 80 A4 00 00 */ lwz r5, 0(r4) /* 800D5D48 000D2CA8 80 84 00 04 */ lwz r4, 4(r4) /* 800D5D4C 000D2CAC 90 BE 00 00 */ stw r5, 0(r30) /* 800D5D50 000D2CB0 90 9E 00 04 */ stw r4, 4(r30) /* 800D5D54 000D2CB4 80 1F 00 08 */ lwz r0, 8(r31) /* 800D5D58 000D2CB8 90 1E 00 08 */ stw r0, 8(r30) /* 800D5D5C 000D2CBC 41 82 00 34 */ beq lbl_800D5D90 /* 800D5D60 000D2CC0 88 1E 00 0C */ lbz r0, 0xc(r30) /* 800D5D64 000D2CC4 28 00 00 00 */ cmplwi r0, 0 /* 800D5D68 000D2CC8 41 82 00 10 */ beq lbl_800D5D78 /* 800D5D6C 000D2CCC 80 7E 00 10 */ lwz r3, 0x10(r30) /* 800D5D70 000D2CD0 38 80 00 01 */ li r4, 1 /* 800D5D74 000D2CD4 4B F5 8E 4D */ bl __dt__9CAnimDataFv lbl_800D5D78: /* 800D5D78 000D2CD8 88 7F 00 0C */ lbz r3, 0xc(r31) /* 800D5D7C 000D2CDC 38 00 00 00 */ li r0, 0 /* 800D5D80 000D2CE0 98 7E 00 0C */ stb r3, 0xc(r30) /* 800D5D84 000D2CE4 80 7F 00 10 */ lwz r3, 0x10(r31) /* 800D5D88 000D2CE8 90 7E 00 10 */ stw r3, 0x10(r30) /* 800D5D8C 000D2CEC 98 1F 00 0C */ stb r0, 0xc(r31) lbl_800D5D90: /* 800D5D90 000D2CF0 88 1F 00 14 */ lbz r0, 0x14(r31) /* 800D5D94 000D2CF4 3B BE 00 1C */ addi r29, r30, 0x1c /* 800D5D98 000D2CF8 3B 9F 00 1C */ addi r28, r31, 0x1c /* 800D5D9C 000D2CFC 98 1E 00 14 */ stb r0, 0x14(r30) /* 800D5DA0 000D2D00 7C 1D E0 40 */ cmplw r29, r28 /* 800D5DA4 000D2D04 80 1F 00 18 */ lwz r0, 0x18(r31) /* 800D5DA8 000D2D08 90 1E 00 18 */ stw r0, 0x18(r30) /* 800D5DAC 000D2D0C 41 82 00 90 */ beq lbl_800D5E3C /* 800D5DB0 000D2D10 88 1F 00 28 */ lbz r0, 0x28(r31) /* 800D5DB4 000D2D14 28 00 00 00 */ cmplwi r0, 0 /* 800D5DB8 000D2D18 41 82 00 58 */ beq lbl_800D5E10 /* 800D5DBC 000D2D1C 88 1E 00 28 */ lbz r0, 0x28(r30) /* 800D5DC0 000D2D20 28 00 00 00 */ cmplwi r0, 0 /* 800D5DC4 000D2D24 40 82 00 34 */ bne lbl_800D5DF8 /* 800D5DC8 000D2D28 37 BE 00 1C */ addic. r29, r30, 0x1c /* 800D5DCC 000D2D2C 41 82 00 20 */ beq lbl_800D5DEC /* 800D5DD0 000D2D30 7F A3 EB 78 */ mr r3, r29 /* 800D5DD4 000D2D34 7F 84 E3 78 */ mr r4, r28 /* 800D5DD8 000D2D38 48 26 B0 D1 */ bl __ct__6CTokenFRC6CToken /* 800D5DDC 000D2D3C 80 1C 00 08 */ lwz r0, 8(r28) /* 800D5DE0 000D2D40 7F A3 EB 78 */ mr r3, r29 /* 800D5DE4 000D2D44 90 1D 00 08 */ stw r0, 8(r29) /* 800D5DE8 000D2D48 48 26 AF 9D */ bl Lock__6CTokenFv lbl_800D5DEC: /* 800D5DEC 000D2D4C 38 00 00 01 */ li r0, 1 /* 800D5DF0 000D2D50 98 1E 00 28 */ stb r0, 0x28(r30) /* 800D5DF4 000D2D54 48 00 00 48 */ b lbl_800D5E3C lbl_800D5DF8: /* 800D5DF8 000D2D58 7F A3 EB 78 */ mr r3, r29 /* 800D5DFC 000D2D5C 7F 84 E3 78 */ mr r4, r28 /* 800D5E00 000D2D60 48 26 AE C5 */ bl __as__6CTokenFRC6CToken /* 800D5E04 000D2D64 80 1C 00 08 */ lwz r0, 8(r28) /* 800D5E08 000D2D68 90 1D 00 08 */ stw r0, 8(r29) /* 800D5E0C 000D2D6C 48 00 00 30 */ b lbl_800D5E3C lbl_800D5E10: /* 800D5E10 000D2D70 88 1E 00 28 */ lbz r0, 0x28(r30) /* 800D5E14 000D2D74 28 00 00 00 */ cmplwi r0, 0 /* 800D5E18 000D2D78 41 82 00 1C */ beq lbl_800D5E34 /* 800D5E1C 000D2D7C 34 7E 00 1C */ addic. r3, r30, 0x1c /* 800D5E20 000D2D80 41 82 00 14 */ beq lbl_800D5E34 /* 800D5E24 000D2D84 28 03 00 00 */ cmplwi r3, 0 /* 800D5E28 000D2D88 41 82 00 0C */ beq lbl_800D5E34 /* 800D5E2C 000D2D8C 38 80 00 00 */ li r4, 0 /* 800D5E30 000D2D90 48 26 B0 11 */ bl __dt__6CTokenFv lbl_800D5E34: /* 800D5E34 000D2D94 38 00 00 00 */ li r0, 0 /* 800D5E38 000D2D98 98 1E 00 28 */ stb r0, 0x28(r30) lbl_800D5E3C: /* 800D5E3C 000D2D9C 3B BE 00 2C */ addi r29, r30, 0x2c /* 800D5E40 000D2DA0 3B 9F 00 2C */ addi r28, r31, 0x2c /* 800D5E44 000D2DA4 7C 1D E0 40 */ cmplw r29, r28 /* 800D5E48 000D2DA8 41 82 00 90 */ beq lbl_800D5ED8 /* 800D5E4C 000D2DAC 88 1F 00 38 */ lbz r0, 0x38(r31) /* 800D5E50 000D2DB0 28 00 00 00 */ cmplwi r0, 0 /* 800D5E54 000D2DB4 41 82 00 58 */ beq lbl_800D5EAC /* 800D5E58 000D2DB8 88 1E 00 38 */ lbz r0, 0x38(r30) /* 800D5E5C 000D2DBC 28 00 00 00 */ cmplwi r0, 0 /* 800D5E60 000D2DC0 40 82 00 34 */ bne lbl_800D5E94 /* 800D5E64 000D2DC4 37 BE 00 2C */ addic. r29, r30, 0x2c /* 800D5E68 000D2DC8 41 82 00 20 */ beq lbl_800D5E88 /* 800D5E6C 000D2DCC 7F A3 EB 78 */ mr r3, r29 /* 800D5E70 000D2DD0 7F 84 E3 78 */ mr r4, r28 /* 800D5E74 000D2DD4 48 26 B0 35 */ bl __ct__6CTokenFRC6CToken /* 800D5E78 000D2DD8 80 1C 00 08 */ lwz r0, 8(r28) /* 800D5E7C 000D2DDC 7F A3 EB 78 */ mr r3, r29 /* 800D5E80 000D2DE0 90 1D 00 08 */ stw r0, 8(r29) /* 800D5E84 000D2DE4 48 26 AF 01 */ bl Lock__6CTokenFv lbl_800D5E88: /* 800D5E88 000D2DE8 38 00 00 01 */ li r0, 1 /* 800D5E8C 000D2DEC 98 1E 00 38 */ stb r0, 0x38(r30) /* 800D5E90 000D2DF0 48 00 00 48 */ b lbl_800D5ED8 lbl_800D5E94: /* 800D5E94 000D2DF4 7F A3 EB 78 */ mr r3, r29 /* 800D5E98 000D2DF8 7F 84 E3 78 */ mr r4, r28 /* 800D5E9C 000D2DFC 48 26 AE 29 */ bl __as__6CTokenFRC6CToken /* 800D5EA0 000D2E00 80 1C 00 08 */ lwz r0, 8(r28) /* 800D5EA4 000D2E04 90 1D 00 08 */ stw r0, 8(r29) /* 800D5EA8 000D2E08 48 00 00 30 */ b lbl_800D5ED8 lbl_800D5EAC: /* 800D5EAC 000D2E0C 88 1E 00 38 */ lbz r0, 0x38(r30) /* 800D5EB0 000D2E10 28 00 00 00 */ cmplwi r0, 0 /* 800D5EB4 000D2E14 41 82 00 1C */ beq lbl_800D5ED0 /* 800D5EB8 000D2E18 34 7E 00 2C */ addic. r3, r30, 0x2c /* 800D5EBC 000D2E1C 41 82 00 14 */ beq lbl_800D5ED0 /* 800D5EC0 000D2E20 28 03 00 00 */ cmplwi r3, 0 /* 800D5EC4 000D2E24 41 82 00 0C */ beq lbl_800D5ED0 /* 800D5EC8 000D2E28 38 80 00 00 */ li r4, 0 /* 800D5ECC 000D2E2C 48 26 AF 75 */ bl __dt__6CTokenFv lbl_800D5ED0: /* 800D5ED0 000D2E30 38 00 00 00 */ li r0, 0 /* 800D5ED4 000D2E34 98 1E 00 38 */ stb r0, 0x38(r30) lbl_800D5ED8: /* 800D5ED8 000D2E38 3B 9E 00 3C */ addi r28, r30, 0x3c /* 800D5EDC 000D2E3C 3B BF 00 3C */ addi r29, r31, 0x3c /* 800D5EE0 000D2E40 7C 1C E8 40 */ cmplw r28, r29 /* 800D5EE4 000D2E44 41 82 00 90 */ beq lbl_800D5F74 /* 800D5EE8 000D2E48 88 1F 00 48 */ lbz r0, 0x48(r31) /* 800D5EEC 000D2E4C 28 00 00 00 */ cmplwi r0, 0 /* 800D5EF0 000D2E50 41 82 00 58 */ beq lbl_800D5F48 /* 800D5EF4 000D2E54 88 1E 00 48 */ lbz r0, 0x48(r30) /* 800D5EF8 000D2E58 28 00 00 00 */ cmplwi r0, 0 /* 800D5EFC 000D2E5C 40 82 00 34 */ bne lbl_800D5F30 /* 800D5F00 000D2E60 37 9E 00 3C */ addic. r28, r30, 0x3c /* 800D5F04 000D2E64 41 82 00 20 */ beq lbl_800D5F24 /* 800D5F08 000D2E68 7F 83 E3 78 */ mr r3, r28 /* 800D5F0C 000D2E6C 7F A4 EB 78 */ mr r4, r29 /* 800D5F10 000D2E70 48 26 AF 99 */ bl __ct__6CTokenFRC6CToken /* 800D5F14 000D2E74 80 1D 00 08 */ lwz r0, 8(r29) /* 800D5F18 000D2E78 7F 83 E3 78 */ mr r3, r28 /* 800D5F1C 000D2E7C 90 1C 00 08 */ stw r0, 8(r28) /* 800D5F20 000D2E80 48 26 AE 65 */ bl Lock__6CTokenFv lbl_800D5F24: /* 800D5F24 000D2E84 38 00 00 01 */ li r0, 1 /* 800D5F28 000D2E88 98 1E 00 48 */ stb r0, 0x48(r30) /* 800D5F2C 000D2E8C 48 00 00 48 */ b lbl_800D5F74 lbl_800D5F30: /* 800D5F30 000D2E90 7F 83 E3 78 */ mr r3, r28 /* 800D5F34 000D2E94 7F A4 EB 78 */ mr r4, r29 /* 800D5F38 000D2E98 48 26 AD 8D */ bl __as__6CTokenFRC6CToken /* 800D5F3C 000D2E9C 80 1D 00 08 */ lwz r0, 8(r29) /* 800D5F40 000D2EA0 90 1C 00 08 */ stw r0, 8(r28) /* 800D5F44 000D2EA4 48 00 00 30 */ b lbl_800D5F74 lbl_800D5F48: /* 800D5F48 000D2EA8 88 1E 00 48 */ lbz r0, 0x48(r30) /* 800D5F4C 000D2EAC 28 00 00 00 */ cmplwi r0, 0 /* 800D5F50 000D2EB0 41 82 00 1C */ beq lbl_800D5F6C /* 800D5F54 000D2EB4 34 7E 00 3C */ addic. r3, r30, 0x3c /* 800D5F58 000D2EB8 41 82 00 14 */ beq lbl_800D5F6C /* 800D5F5C 000D2EBC 28 03 00 00 */ cmplwi r3, 0 /* 800D5F60 000D2EC0 41 82 00 0C */ beq lbl_800D5F6C /* 800D5F64 000D2EC4 38 80 00 00 */ li r4, 0 /* 800D5F68 000D2EC8 48 26 AE D9 */ bl __dt__6CTokenFv lbl_800D5F6C: /* 800D5F6C 000D2ECC 38 00 00 00 */ li r0, 0 /* 800D5F70 000D2ED0 98 1E 00 48 */ stb r0, 0x48(r30) lbl_800D5F74: /* 800D5F74 000D2ED4 80 01 00 24 */ lwz r0, 0x24(r1) /* 800D5F78 000D2ED8 7F C3 F3 78 */ mr r3, r30 /* 800D5F7C 000D2EDC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 800D5F80 000D2EE0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 800D5F84 000D2EE4 83 A1 00 14 */ lwz r29, 0x14(r1) /* 800D5F88 000D2EE8 83 81 00 10 */ lwz r28, 0x10(r1) /* 800D5F8C 000D2EEC 7C 08 03 A6 */ mtlr r0 /* 800D5F90 000D2EF0 38 21 00 20 */ addi r1, r1, 0x20 /* 800D5F94 000D2EF4 4E 80 00 20 */ blr .global LoadSound__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadSound__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D5F98 000D2EF8 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 800D5F9C 000D2EFC 7C 08 02 A6 */ mflr r0 /* 800D5FA0 000D2F00 2C 05 00 14 */ cmpwi r5, 0x14 /* 800D5FA4 000D2F04 90 01 00 F4 */ stw r0, 0xf4(r1) /* 800D5FA8 000D2F08 DB E1 00 E8 */ stfd f31, 0xe8(r1) /* 800D5FAC 000D2F0C DB C1 00 E0 */ stfd f30, 0xe0(r1) /* 800D5FB0 000D2F10 DB A1 00 D8 */ stfd f29, 0xd8(r1) /* 800D5FB4 000D2F14 BD E1 00 94 */ stmw r15, 0x94(r1) /* 800D5FB8 000D2F18 7C 7D 1B 78 */ mr r29, r3 /* 800D5FBC 000D2F1C 7C 9E 23 78 */ mr r30, r4 /* 800D5FC0 000D2F20 7C DF 33 78 */ mr r31, r6 /* 800D5FC4 000D2F24 41 82 00 0C */ beq lbl_800D5FD0 /* 800D5FC8 000D2F28 38 60 00 00 */ li r3, 0 /* 800D5FCC 000D2F2C 48 00 01 A0 */ b lbl_800D616C lbl_800D5FD0: /* 800D5FD0 000D2F30 7F A5 EB 78 */ mr r5, r29 /* 800D5FD4 000D2F34 38 61 00 48 */ addi r3, r1, 0x48 /* 800D5FD8 000D2F38 48 00 44 ED */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800D5FDC 000D2F3C 7F C3 F3 78 */ mr r3, r30 /* 800D5FE0 000D2F40 48 26 8C A5 */ bl ReadLong__12CInputStreamFv /* 800D5FE4 000D2F44 7C 72 1B 78 */ mr r18, r3 /* 800D5FE8 000D2F48 7F C3 F3 78 */ mr r3, r30 /* 800D5FEC 000D2F4C 48 26 8C F1 */ bl ReadBool__12CInputStreamFv /* 800D5FF0 000D2F50 7C 71 1B 78 */ mr r17, r3 /* 800D5FF4 000D2F54 7F C3 F3 78 */ mr r3, r30 /* 800D5FF8 000D2F58 48 26 8C 31 */ bl ReadFloat__12CInputStreamFv /* 800D5FFC 000D2F5C FF E0 08 90 */ fmr f31, f1 /* 800D6000 000D2F60 7F C3 F3 78 */ mr r3, r30 /* 800D6004 000D2F64 48 26 8C 25 */ bl ReadFloat__12CInputStreamFv /* 800D6008 000D2F68 FF C0 08 90 */ fmr f30, f1 /* 800D600C 000D2F6C 7F C3 F3 78 */ mr r3, r30 /* 800D6010 000D2F70 48 26 8C 19 */ bl ReadFloat__12CInputStreamFv /* 800D6014 000D2F74 FF A0 08 90 */ fmr f29, f1 /* 800D6018 000D2F78 7F C3 F3 78 */ mr r3, r30 /* 800D601C 000D2F7C 48 26 8C 69 */ bl ReadLong__12CInputStreamFv /* 800D6020 000D2F80 7C 70 1B 78 */ mr r16, r3 /* 800D6024 000D2F84 7F C3 F3 78 */ mr r3, r30 /* 800D6028 000D2F88 48 26 8C 5D */ bl ReadLong__12CInputStreamFv /* 800D602C 000D2F8C 7C 73 1B 78 */ mr r19, r3 /* 800D6030 000D2F90 7F C3 F3 78 */ mr r3, r30 /* 800D6034 000D2F94 48 26 8C 51 */ bl ReadLong__12CInputStreamFv /* 800D6038 000D2F98 7C 74 1B 78 */ mr r20, r3 /* 800D603C 000D2F9C 7F C3 F3 78 */ mr r3, r30 /* 800D6040 000D2FA0 48 26 8C 45 */ bl ReadLong__12CInputStreamFv /* 800D6044 000D2FA4 7C 75 1B 78 */ mr r21, r3 /* 800D6048 000D2FA8 7F C3 F3 78 */ mr r3, r30 /* 800D604C 000D2FAC 48 26 8C 91 */ bl ReadBool__12CInputStreamFv /* 800D6050 000D2FB0 7C 76 1B 78 */ mr r22, r3 /* 800D6054 000D2FB4 7F C3 F3 78 */ mr r3, r30 /* 800D6058 000D2FB8 48 26 8C 85 */ bl ReadBool__12CInputStreamFv /* 800D605C 000D2FBC 7C 77 1B 78 */ mr r23, r3 /* 800D6060 000D2FC0 7F C3 F3 78 */ mr r3, r30 /* 800D6064 000D2FC4 48 26 8C 79 */ bl ReadBool__12CInputStreamFv /* 800D6068 000D2FC8 7C 78 1B 78 */ mr r24, r3 /* 800D606C 000D2FCC 7F C3 F3 78 */ mr r3, r30 /* 800D6070 000D2FD0 48 26 8C 6D */ bl ReadBool__12CInputStreamFv /* 800D6074 000D2FD4 7C 79 1B 78 */ mr r25, r3 /* 800D6078 000D2FD8 7F C3 F3 78 */ mr r3, r30 /* 800D607C 000D2FDC 48 26 8C 61 */ bl ReadBool__12CInputStreamFv /* 800D6080 000D2FE0 7C 7A 1B 78 */ mr r26, r3 /* 800D6084 000D2FE4 7F C3 F3 78 */ mr r3, r30 /* 800D6088 000D2FE8 48 26 8C 55 */ bl ReadBool__12CInputStreamFv /* 800D608C 000D2FEC 7C 7B 1B 78 */ mr r27, r3 /* 800D6090 000D2FF0 7F C3 F3 78 */ mr r3, r30 /* 800D6094 000D2FF4 48 26 8C 49 */ bl ReadBool__12CInputStreamFv /* 800D6098 000D2FF8 7C 7C 1B 78 */ mr r28, r3 /* 800D609C 000D2FFC 7F C3 F3 78 */ mr r3, r30 /* 800D60A0 000D3000 48 26 8B E5 */ bl ReadLong__12CInputStreamFv /* 800D60A4 000D3004 2C 12 00 00 */ cmpwi r18, 0 /* 800D60A8 000D3008 7C 7E 1B 78 */ mr r30, r3 /* 800D60AC 000D300C 40 80 00 14 */ bge lbl_800D60C0 /* 800D60B0 000D3010 38 61 00 48 */ addi r3, r1, 0x48 /* 800D60B4 000D3014 48 26 7A 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D60B8 000D3018 38 60 00 00 */ li r3, 0 /* 800D60BC 000D301C 48 00 00 B0 */ b lbl_800D616C lbl_800D60C0: /* 800D60C0 000D3020 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D60C4 000D3024 38 60 01 20 */ li r3, 0x120 /* 800D60C8 000D3028 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D60CC 000D302C 38 A0 00 00 */ li r5, 0 /* 800D60D0 000D3030 38 84 00 0D */ addi r4, r4, 0xd /* 800D60D4 000D3034 48 23 F7 99 */ bl __nw__FUlPCcPCc /* 800D60D8 000D3038 7C 6F 1B 79 */ or. r15, r3, r3 /* 800D60DC 000D303C 41 82 00 84 */ beq lbl_800D6160 /* 800D60E0 000D3040 7F A4 EB 78 */ mr r4, r29 /* 800D60E4 000D3044 38 61 00 40 */ addi r3, r1, 0x40 /* 800D60E8 000D3048 4B F7 6F F5 */ bl AllocateUniqueId__13CStateManagerFv /* 800D60EC 000D304C A0 81 00 40 */ lhz r4, 0x40(r1) /* 800D60F0 000D3050 38 00 00 00 */ li r0, 0 /* 800D60F4 000D3054 FC 20 F8 90 */ fmr f1, f31 /* 800D60F8 000D3058 7D E3 7B 78 */ mr r3, r15 /* 800D60FC 000D305C B0 81 00 44 */ sth r4, 0x44(r1) /* 800D6100 000D3060 FC 40 F0 90 */ fmr f2, f30 /* 800D6104 000D3064 FC 60 E8 90 */ fmr f3, f29 /* 800D6108 000D3068 7F E6 FB 78 */ mr r6, r31 /* 800D610C 000D306C 92 61 00 08 */ stw r19, 8(r1) /* 800D6110 000D3070 7E 29 8B 78 */ mr r9, r17 /* 800D6114 000D3074 7E 0A 83 78 */ mr r10, r16 /* 800D6118 000D3078 38 81 00 44 */ addi r4, r1, 0x44 /* 800D611C 000D307C 90 01 00 0C */ stw r0, 0xc(r1) /* 800D6120 000D3080 38 A1 00 48 */ addi r5, r1, 0x48 /* 800D6124 000D3084 38 E1 00 58 */ addi r7, r1, 0x58 /* 800D6128 000D3088 56 48 04 3E */ clrlwi r8, r18, 0x10 /* 800D612C 000D308C 92 81 00 10 */ stw r20, 0x10(r1) /* 800D6130 000D3090 92 A1 00 14 */ stw r21, 0x14(r1) /* 800D6134 000D3094 90 01 00 18 */ stw r0, 0x18(r1) /* 800D6138 000D3098 92 C1 00 1C */ stw r22, 0x1c(r1) /* 800D613C 000D309C 92 E1 00 20 */ stw r23, 0x20(r1) /* 800D6140 000D30A0 93 01 00 24 */ stw r24, 0x24(r1) /* 800D6144 000D30A4 93 21 00 28 */ stw r25, 0x28(r1) /* 800D6148 000D30A8 93 41 00 2C */ stw r26, 0x2c(r1) /* 800D614C 000D30AC 93 61 00 30 */ stw r27, 0x30(r1) /* 800D6150 000D30B0 93 81 00 34 */ stw r28, 0x34(r1) /* 800D6154 000D30B4 93 C1 00 38 */ stw r30, 0x38(r1) /* 800D6158 000D30B8 4B FD A8 4D */ bl "__ct__12CScriptSoundF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUsbfffiiiibbbbbb" /* 800D615C 000D30BC 7C 6F 1B 78 */ mr r15, r3 lbl_800D6160: /* 800D6160 000D30C0 38 61 00 48 */ addi r3, r1, 0x48 /* 800D6164 000D30C4 48 26 79 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D6168 000D30C8 7D E3 7B 78 */ mr r3, r15 lbl_800D616C: /* 800D616C 000D30CC CB E1 00 E8 */ lfd f31, 0xe8(r1) /* 800D6170 000D30D0 CB C1 00 E0 */ lfd f30, 0xe0(r1) /* 800D6174 000D30D4 CB A1 00 D8 */ lfd f29, 0xd8(r1) /* 800D6178 000D30D8 B9 E1 00 94 */ lmw r15, 0x94(r1) /* 800D617C 000D30DC 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 800D6180 000D30E0 7C 08 03 A6 */ mtlr r0 /* 800D6184 000D30E4 38 21 00 F0 */ addi r1, r1, 0xf0 /* 800D6188 000D30E8 4E 80 00 20 */ blr .global LoadGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D618C 000D30EC 94 21 FF 90 */ stwu r1, -0x70(r1) /* 800D6190 000D30F0 7C 08 02 A6 */ mflr r0 /* 800D6194 000D30F4 2C 05 00 08 */ cmpwi r5, 8 /* 800D6198 000D30F8 90 01 00 74 */ stw r0, 0x74(r1) /* 800D619C 000D30FC DB E1 00 68 */ stfd f31, 0x68(r1) /* 800D61A0 000D3100 DB C1 00 60 */ stfd f30, 0x60(r1) /* 800D61A4 000D3104 BF 21 00 44 */ stmw r25, 0x44(r1) /* 800D61A8 000D3108 7C 79 1B 78 */ mr r25, r3 /* 800D61AC 000D310C 7C 9D 23 78 */ mr r29, r4 /* 800D61B0 000D3110 7C DA 33 78 */ mr r26, r6 /* 800D61B4 000D3114 41 82 00 0C */ beq lbl_800D61C0 /* 800D61B8 000D3118 38 60 00 00 */ li r3, 0 /* 800D61BC 000D311C 48 00 00 E0 */ b lbl_800D629C lbl_800D61C0: /* 800D61C0 000D3120 4B F6 F0 25 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D61C4 000D3124 7C 64 1B 78 */ mr r4, r3 /* 800D61C8 000D3128 38 61 00 24 */ addi r3, r1, 0x24 /* 800D61CC 000D312C 48 26 7F 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D61D0 000D3130 7F A3 EB 78 */ mr r3, r29 /* 800D61D4 000D3134 48 26 8A B1 */ bl ReadLong__12CInputStreamFv /* 800D61D8 000D3138 7C 7E 1B 78 */ mr r30, r3 /* 800D61DC 000D313C 7F A3 EB 78 */ mr r3, r29 /* 800D61E0 000D3140 48 26 8A FD */ bl ReadBool__12CInputStreamFv /* 800D61E4 000D3144 7C 60 1B 78 */ mr r0, r3 /* 800D61E8 000D3148 7F A3 EB 78 */ mr r3, r29 /* 800D61EC 000D314C 7C 1C 03 78 */ mr r28, r0 /* 800D61F0 000D3150 48 26 8A ED */ bl ReadBool__12CInputStreamFv /* 800D61F4 000D3154 7C 7B 1B 78 */ mr r27, r3 /* 800D61F8 000D3158 7F A4 EB 78 */ mr r4, r29 /* 800D61FC 000D315C 38 61 00 18 */ addi r3, r1, 0x18 /* 800D6200 000D3160 48 23 E9 8D */ bl __ct__9CVector3fFR12CInputStream /* 800D6204 000D3164 7F A3 EB 78 */ mr r3, r29 /* 800D6208 000D3168 48 26 8A D5 */ bl ReadBool__12CInputStreamFv /* 800D620C 000D316C 7C 7F 1B 78 */ mr r31, r3 /* 800D6210 000D3170 7F A3 EB 78 */ mr r3, r29 /* 800D6214 000D3174 48 26 8A 15 */ bl ReadFloat__12CInputStreamFv /* 800D6218 000D3178 FF E0 08 90 */ fmr f31, f1 /* 800D621C 000D317C 7F A3 EB 78 */ mr r3, r29 /* 800D6220 000D3180 48 26 8A 09 */ bl ReadFloat__12CInputStreamFv /* 800D6224 000D3184 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D6228 000D3188 FF C0 08 90 */ fmr f30, f1 /* 800D622C 000D318C 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D6230 000D3190 38 A0 00 00 */ li r5, 0 /* 800D6234 000D3194 38 60 00 50 */ li r3, 0x50 /* 800D6238 000D3198 38 84 00 0D */ addi r4, r4, 0xd /* 800D623C 000D319C 48 23 F6 31 */ bl __nw__FUlPCcPCc /* 800D6240 000D31A0 7C 7D 1B 79 */ or. r29, r3, r3 /* 800D6244 000D31A4 41 82 00 4C */ beq lbl_800D6290 /* 800D6248 000D31A8 7F 24 CB 78 */ mr r4, r25 /* 800D624C 000D31AC 38 61 00 10 */ addi r3, r1, 0x10 /* 800D6250 000D31B0 4B F7 6E 8D */ bl AllocateUniqueId__13CStateManagerFv /* 800D6254 000D31B4 A0 01 00 10 */ lhz r0, 0x10(r1) /* 800D6258 000D31B8 FC 20 F8 90 */ fmr f1, f31 /* 800D625C 000D31BC FC 40 F0 90 */ fmr f2, f30 /* 800D6260 000D31C0 7F A3 EB 78 */ mr r3, r29 /* 800D6264 000D31C4 B0 01 00 14 */ sth r0, 0x14(r1) /* 800D6268 000D31C8 7F 46 D3 78 */ mr r6, r26 /* 800D626C 000D31CC 7F C7 F3 78 */ mr r7, r30 /* 800D6270 000D31D0 93 E1 00 08 */ stw r31, 8(r1) /* 800D6274 000D31D4 7F 88 E3 78 */ mr r8, r28 /* 800D6278 000D31D8 7F 6A DB 78 */ mr r10, r27 /* 800D627C 000D31DC 38 81 00 14 */ addi r4, r1, 0x14 /* 800D6280 000D31E0 38 A1 00 24 */ addi r5, r1, 0x24 /* 800D6284 000D31E4 39 21 00 18 */ addi r9, r1, 0x18 /* 800D6288 000D31E8 4B FD ED 7D */ bl "__ct__16CScriptGeneratorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoibRC9CVector3fbbff" /* 800D628C 000D31EC 7C 7D 1B 78 */ mr r29, r3 lbl_800D6290: /* 800D6290 000D31F0 38 61 00 24 */ addi r3, r1, 0x24 /* 800D6294 000D31F4 48 26 78 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D6298 000D31F8 7F A3 EB 78 */ mr r3, r29 lbl_800D629C: /* 800D629C 000D31FC CB E1 00 68 */ lfd f31, 0x68(r1) /* 800D62A0 000D3200 CB C1 00 60 */ lfd f30, 0x60(r1) /* 800D62A4 000D3204 BB 21 00 44 */ lmw r25, 0x44(r1) /* 800D62A8 000D3208 80 01 00 74 */ lwz r0, 0x74(r1) /* 800D62AC 000D320C 7C 08 03 A6 */ mtlr r0 /* 800D62B0 000D3210 38 21 00 70 */ addi r1, r1, 0x70 /* 800D62B4 000D3214 4E 80 00 20 */ blr .global LoadCounter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadCounter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D62B8 000D3218 94 21 FF C0 */ stwu r1, -0x40(r1) /* 800D62BC 000D321C 7C 08 02 A6 */ mflr r0 /* 800D62C0 000D3220 2C 05 00 05 */ cmpwi r5, 5 /* 800D62C4 000D3224 90 01 00 44 */ stw r0, 0x44(r1) /* 800D62C8 000D3228 BF 21 00 24 */ stmw r25, 0x24(r1) /* 800D62CC 000D322C 7C 79 1B 78 */ mr r25, r3 /* 800D62D0 000D3230 7C 9B 23 78 */ mr r27, r4 /* 800D62D4 000D3234 7C DA 33 78 */ mr r26, r6 /* 800D62D8 000D3238 41 82 00 0C */ beq lbl_800D62E4 /* 800D62DC 000D323C 38 60 00 00 */ li r3, 0 /* 800D62E0 000D3240 48 00 00 AC */ b lbl_800D638C lbl_800D62E4: /* 800D62E4 000D3244 4B F6 EF 01 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D62E8 000D3248 7C 64 1B 78 */ mr r4, r3 /* 800D62EC 000D324C 38 61 00 10 */ addi r3, r1, 0x10 /* 800D62F0 000D3250 48 26 7E 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D62F4 000D3254 7F 63 DB 78 */ mr r3, r27 /* 800D62F8 000D3258 48 26 89 8D */ bl ReadLong__12CInputStreamFv /* 800D62FC 000D325C 7C 7F 1B 78 */ mr r31, r3 /* 800D6300 000D3260 7F 63 DB 78 */ mr r3, r27 /* 800D6304 000D3264 48 26 89 81 */ bl ReadLong__12CInputStreamFv /* 800D6308 000D3268 7C 7E 1B 78 */ mr r30, r3 /* 800D630C 000D326C 7F 63 DB 78 */ mr r3, r27 /* 800D6310 000D3270 48 26 89 CD */ bl ReadBool__12CInputStreamFv /* 800D6314 000D3274 7C 7D 1B 78 */ mr r29, r3 /* 800D6318 000D3278 7F 63 DB 78 */ mr r3, r27 /* 800D631C 000D327C 48 26 89 C1 */ bl ReadBool__12CInputStreamFv /* 800D6320 000D3280 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D6324 000D3284 7C 7C 1B 78 */ mr r28, r3 /* 800D6328 000D3288 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D632C 000D328C 38 60 00 44 */ li r3, 0x44 /* 800D6330 000D3290 38 A0 00 00 */ li r5, 0 /* 800D6334 000D3294 38 84 00 0D */ addi r4, r4, 0xd /* 800D6338 000D3298 48 23 F5 35 */ bl __nw__FUlPCcPCc /* 800D633C 000D329C 7C 7B 1B 79 */ or. r27, r3, r3 /* 800D6340 000D32A0 41 82 00 40 */ beq lbl_800D6380 /* 800D6344 000D32A4 7F 24 CB 78 */ mr r4, r25 /* 800D6348 000D32A8 38 61 00 08 */ addi r3, r1, 8 /* 800D634C 000D32AC 4B F7 6D 91 */ bl AllocateUniqueId__13CStateManagerFv /* 800D6350 000D32B0 A0 01 00 08 */ lhz r0, 8(r1) /* 800D6354 000D32B4 7F 63 DB 78 */ mr r3, r27 /* 800D6358 000D32B8 7F 46 D3 78 */ mr r6, r26 /* 800D635C 000D32BC 7F E7 FB 78 */ mr r7, r31 /* 800D6360 000D32C0 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D6364 000D32C4 7F C8 F3 78 */ mr r8, r30 /* 800D6368 000D32C8 7F A9 EB 78 */ mr r9, r29 /* 800D636C 000D32CC 7F 8A E3 78 */ mr r10, r28 /* 800D6370 000D32D0 38 81 00 0C */ addi r4, r1, 0xc /* 800D6374 000D32D4 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D6378 000D32D8 4B FC 82 D1 */ bl "__ct__14CScriptCounterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoiibb" /* 800D637C 000D32DC 7C 7B 1B 78 */ mr r27, r3 lbl_800D6380: /* 800D6380 000D32E0 38 61 00 10 */ addi r3, r1, 0x10 /* 800D6384 000D32E4 48 26 77 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D6388 000D32E8 7F 63 DB 78 */ mr r3, r27 lbl_800D638C: /* 800D638C 000D32EC BB 21 00 24 */ lmw r25, 0x24(r1) /* 800D6390 000D32F0 80 01 00 44 */ lwz r0, 0x44(r1) /* 800D6394 000D32F4 7C 08 03 A6 */ mtlr r0 /* 800D6398 000D32F8 38 21 00 40 */ addi r1, r1, 0x40 /* 800D639C 000D32FC 4E 80 00 20 */ blr .global LoadTimer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadTimer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D63A0 000D3300 94 21 FF B0 */ stwu r1, -0x50(r1) /* 800D63A4 000D3304 7C 08 02 A6 */ mflr r0 /* 800D63A8 000D3308 2C 05 00 06 */ cmpwi r5, 6 /* 800D63AC 000D330C 90 01 00 54 */ stw r0, 0x54(r1) /* 800D63B0 000D3310 DB E1 00 48 */ stfd f31, 0x48(r1) /* 800D63B4 000D3314 DB C1 00 40 */ stfd f30, 0x40(r1) /* 800D63B8 000D3318 BF 41 00 28 */ stmw r26, 0x28(r1) /* 800D63BC 000D331C 7C 7A 1B 78 */ mr r26, r3 /* 800D63C0 000D3320 7C 9C 23 78 */ mr r28, r4 /* 800D63C4 000D3324 7C DB 33 78 */ mr r27, r6 /* 800D63C8 000D3328 41 82 00 0C */ beq lbl_800D63D4 /* 800D63CC 000D332C 38 60 00 00 */ li r3, 0 /* 800D63D0 000D3330 48 00 00 BC */ b lbl_800D648C lbl_800D63D4: /* 800D63D4 000D3334 4B F6 EE 11 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D63D8 000D3338 7C 64 1B 78 */ mr r4, r3 /* 800D63DC 000D333C 38 61 00 10 */ addi r3, r1, 0x10 /* 800D63E0 000D3340 48 26 7D 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D63E4 000D3344 7F 83 E3 78 */ mr r3, r28 /* 800D63E8 000D3348 48 26 88 41 */ bl ReadFloat__12CInputStreamFv /* 800D63EC 000D334C FF E0 08 90 */ fmr f31, f1 /* 800D63F0 000D3350 7F 83 E3 78 */ mr r3, r28 /* 800D63F4 000D3354 48 26 88 35 */ bl ReadFloat__12CInputStreamFv /* 800D63F8 000D3358 FF C0 08 90 */ fmr f30, f1 /* 800D63FC 000D335C 7F 83 E3 78 */ mr r3, r28 /* 800D6400 000D3360 48 26 88 DD */ bl ReadBool__12CInputStreamFv /* 800D6404 000D3364 7C 7F 1B 78 */ mr r31, r3 /* 800D6408 000D3368 7F 83 E3 78 */ mr r3, r28 /* 800D640C 000D336C 48 26 88 D1 */ bl ReadBool__12CInputStreamFv /* 800D6410 000D3370 7C 7E 1B 78 */ mr r30, r3 /* 800D6414 000D3374 7F 83 E3 78 */ mr r3, r28 /* 800D6418 000D3378 48 26 88 C5 */ bl ReadBool__12CInputStreamFv /* 800D641C 000D337C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D6420 000D3380 7C 7D 1B 78 */ mr r29, r3 /* 800D6424 000D3384 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D6428 000D3388 38 60 00 44 */ li r3, 0x44 /* 800D642C 000D338C 38 A0 00 00 */ li r5, 0 /* 800D6430 000D3390 38 84 00 0D */ addi r4, r4, 0xd /* 800D6434 000D3394 48 23 F4 39 */ bl __nw__FUlPCcPCc /* 800D6438 000D3398 7C 7C 1B 79 */ or. r28, r3, r3 /* 800D643C 000D339C 41 82 00 44 */ beq lbl_800D6480 /* 800D6440 000D33A0 7F 44 D3 78 */ mr r4, r26 /* 800D6444 000D33A4 38 61 00 08 */ addi r3, r1, 8 /* 800D6448 000D33A8 4B F7 6C 95 */ bl AllocateUniqueId__13CStateManagerFv /* 800D644C 000D33AC A0 01 00 08 */ lhz r0, 8(r1) /* 800D6450 000D33B0 FC 20 F8 90 */ fmr f1, f31 /* 800D6454 000D33B4 FC 40 F0 90 */ fmr f2, f30 /* 800D6458 000D33B8 7F 83 E3 78 */ mr r3, r28 /* 800D645C 000D33BC B0 01 00 0C */ sth r0, 0xc(r1) /* 800D6460 000D33C0 7F 66 DB 78 */ mr r6, r27 /* 800D6464 000D33C4 7F E7 FB 78 */ mr r7, r31 /* 800D6468 000D33C8 7F C8 F3 78 */ mr r8, r30 /* 800D646C 000D33CC 7F A9 EB 78 */ mr r9, r29 /* 800D6470 000D33D0 38 81 00 0C */ addi r4, r1, 0xc /* 800D6474 000D33D4 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D6478 000D33D8 4B FB C6 21 */ bl "__ct__12CScriptTimerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoffbbb" /* 800D647C 000D33DC 7C 7C 1B 78 */ mr r28, r3 lbl_800D6480: /* 800D6480 000D33E0 38 61 00 10 */ addi r3, r1, 0x10 /* 800D6484 000D33E4 48 26 76 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D6488 000D33E8 7F 83 E3 78 */ mr r3, r28 lbl_800D648C: /* 800D648C 000D33EC CB E1 00 48 */ lfd f31, 0x48(r1) /* 800D6490 000D33F0 CB C1 00 40 */ lfd f30, 0x40(r1) /* 800D6494 000D33F4 BB 41 00 28 */ lmw r26, 0x28(r1) /* 800D6498 000D33F8 80 01 00 54 */ lwz r0, 0x54(r1) /* 800D649C 000D33FC 7C 08 03 A6 */ mtlr r0 /* 800D64A0 000D3400 38 21 00 50 */ addi r1, r1, 0x50 /* 800D64A4 000D3404 4E 80 00 20 */ blr .global LoadEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D64A8 000D3408 94 21 FE 40 */ stwu r1, -0x1c0(r1) /* 800D64AC 000D340C 7C 08 02 A6 */ mflr r0 /* 800D64B0 000D3410 90 01 01 C4 */ stw r0, 0x1c4(r1) /* 800D64B4 000D3414 DB E1 01 B0 */ stfd f31, 0x1b0(r1) /* 800D64B8 000D3418 F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 /* 800D64BC 000D341C DB C1 01 A0 */ stfd f30, 0x1a0(r1) /* 800D64C0 000D3420 F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 /* 800D64C4 000D3424 DB A1 01 90 */ stfd f29, 0x190(r1) /* 800D64C8 000D3428 F3 A1 01 98 */ psq_st f29, 408(r1), 0, qr0 /* 800D64CC 000D342C DB 81 01 80 */ stfd f28, 0x180(r1) /* 800D64D0 000D3430 F3 81 01 88 */ psq_st f28, 392(r1), 0, qr0 /* 800D64D4 000D3434 DB 61 01 70 */ stfd f27, 0x170(r1) /* 800D64D8 000D3438 F3 61 01 78 */ psq_st f27, 376(r1), 0, qr0 /* 800D64DC 000D343C DB 41 01 60 */ stfd f26, 0x160(r1) /* 800D64E0 000D3440 F3 41 01 68 */ psq_st f26, 360(r1), 0, qr0 /* 800D64E4 000D3444 DB 21 01 50 */ stfd f25, 0x150(r1) /* 800D64E8 000D3448 F3 21 01 58 */ psq_st f25, 344(r1), 0, qr0 /* 800D64EC 000D344C BE 01 01 10 */ stmw r16, 0x110(r1) /* 800D64F0 000D3450 2C 05 00 18 */ cmpwi r5, 0x18 /* 800D64F4 000D3454 7C 7F 1B 78 */ mr r31, r3 /* 800D64F8 000D3458 7C 91 23 78 */ mr r17, r4 /* 800D64FC 000D345C 7C D2 33 78 */ mr r18, r6 /* 800D6500 000D3460 41 82 00 0C */ beq lbl_800D650C /* 800D6504 000D3464 38 60 00 00 */ li r3, 0 /* 800D6508 000D3468 48 00 02 C4 */ b lbl_800D67CC lbl_800D650C: /* 800D650C 000D346C 7F E5 FB 78 */ mr r5, r31 /* 800D6510 000D3470 38 61 00 C0 */ addi r3, r1, 0xc0 /* 800D6514 000D3474 48 00 3F 69 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D6518 000D3478 7E 23 8B 78 */ mr r3, r17 /* 800D651C 000D347C 48 26 87 69 */ bl ReadLong__12CInputStreamFv /* 800D6520 000D3480 7C 74 1B 78 */ mr r20, r3 /* 800D6524 000D3484 7E 23 8B 78 */ mr r3, r17 /* 800D6528 000D3488 48 26 87 5D */ bl ReadLong__12CInputStreamFv /* 800D652C 000D348C 7C 73 1B 78 */ mr r19, r3 /* 800D6530 000D3490 7E 23 8B 78 */ mr r3, r17 /* 800D6534 000D3494 48 26 87 A9 */ bl ReadBool__12CInputStreamFv /* 800D6538 000D3498 7C 75 1B 78 */ mr r21, r3 /* 800D653C 000D349C 7E 23 8B 78 */ mr r3, r17 /* 800D6540 000D34A0 48 26 87 9D */ bl ReadBool__12CInputStreamFv /* 800D6544 000D34A4 7C 76 1B 78 */ mr r22, r3 /* 800D6548 000D34A8 7E 23 8B 78 */ mr r3, r17 /* 800D654C 000D34AC 48 26 87 91 */ bl ReadBool__12CInputStreamFv /* 800D6550 000D34B0 7C 77 1B 78 */ mr r23, r3 /* 800D6554 000D34B4 7E 23 8B 78 */ mr r3, r17 /* 800D6558 000D34B8 48 26 87 85 */ bl ReadBool__12CInputStreamFv /* 800D655C 000D34BC 3C 14 00 01 */ addis r0, r20, 1 /* 800D6560 000D34C0 7C 78 1B 78 */ mr r24, r3 /* 800D6564 000D34C4 28 00 FF FF */ cmplwi r0, 0xffff /* 800D6568 000D34C8 40 82 00 20 */ bne lbl_800D6588 /* 800D656C 000D34CC 3C 13 00 01 */ addis r0, r19, 1 /* 800D6570 000D34D0 28 00 FF FF */ cmplwi r0, 0xffff /* 800D6574 000D34D4 40 82 00 14 */ bne lbl_800D6588 /* 800D6578 000D34D8 38 61 00 C0 */ addi r3, r1, 0xc0 /* 800D657C 000D34DC 48 26 75 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D6580 000D34E0 38 60 00 00 */ li r3, 0 /* 800D6584 000D34E4 48 00 02 48 */ b lbl_800D67CC lbl_800D6588: /* 800D6588 000D34E8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 800D658C 000D34EC 7E 84 A3 78 */ mr r4, r20 /* 800D6590 000D34F0 38 63 00 04 */ addi r3, r3, 4 /* 800D6594 000D34F4 48 26 57 39 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D6598 000D34F8 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800D659C 000D34FC 7C 70 1B 78 */ mr r16, r3 /* 800D65A0 000D3500 7E 64 9B 78 */ mr r4, r19 /* 800D65A4 000D3504 38 65 00 04 */ addi r3, r5, 4 /* 800D65A8 000D3508 48 26 57 25 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D65AC 000D350C 28 10 00 00 */ cmplwi r16, 0 /* 800D65B0 000D3510 40 82 00 1C */ bne lbl_800D65CC /* 800D65B4 000D3514 28 03 00 00 */ cmplwi r3, 0 /* 800D65B8 000D3518 40 82 00 14 */ bne lbl_800D65CC /* 800D65BC 000D351C 38 61 00 C0 */ addi r3, r1, 0xc0 /* 800D65C0 000D3520 48 26 75 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D65C4 000D3524 38 60 00 00 */ li r3, 0 /* 800D65C8 000D3528 48 00 02 04 */ b lbl_800D67CC lbl_800D65CC: /* 800D65CC 000D352C 7E 23 8B 78 */ mr r3, r17 /* 800D65D0 000D3530 48 26 87 0D */ bl ReadBool__12CInputStreamFv /* 800D65D4 000D3534 7C 79 1B 78 */ mr r25, r3 /* 800D65D8 000D3538 7E 23 8B 78 */ mr r3, r17 /* 800D65DC 000D353C 48 26 86 4D */ bl ReadFloat__12CInputStreamFv /* 800D65E0 000D3540 FF E0 08 90 */ fmr f31, f1 /* 800D65E4 000D3544 7E 23 8B 78 */ mr r3, r17 /* 800D65E8 000D3548 48 26 86 41 */ bl ReadFloat__12CInputStreamFv /* 800D65EC 000D354C FF C0 08 90 */ fmr f30, f1 /* 800D65F0 000D3550 7E 23 8B 78 */ mr r3, r17 /* 800D65F4 000D3554 48 26 86 35 */ bl ReadFloat__12CInputStreamFv /* 800D65F8 000D3558 FF A0 08 90 */ fmr f29, f1 /* 800D65FC 000D355C 7E 23 8B 78 */ mr r3, r17 /* 800D6600 000D3560 48 26 86 29 */ bl ReadFloat__12CInputStreamFv /* 800D6604 000D3564 FF 80 08 90 */ fmr f28, f1 /* 800D6608 000D3568 7E 23 8B 78 */ mr r3, r17 /* 800D660C 000D356C 48 26 86 D1 */ bl ReadBool__12CInputStreamFv /* 800D6610 000D3570 7C 7A 1B 78 */ mr r26, r3 /* 800D6614 000D3574 7E 23 8B 78 */ mr r3, r17 /* 800D6618 000D3578 48 26 86 11 */ bl ReadFloat__12CInputStreamFv /* 800D661C 000D357C FF 60 08 90 */ fmr f27, f1 /* 800D6620 000D3580 7E 23 8B 78 */ mr r3, r17 /* 800D6624 000D3584 48 26 86 05 */ bl ReadFloat__12CInputStreamFv /* 800D6628 000D3588 FF 40 08 90 */ fmr f26, f1 /* 800D662C 000D358C 7E 23 8B 78 */ mr r3, r17 /* 800D6630 000D3590 48 26 85 F9 */ bl ReadFloat__12CInputStreamFv /* 800D6634 000D3594 FF 20 08 90 */ fmr f25, f1 /* 800D6638 000D3598 7E 23 8B 78 */ mr r3, r17 /* 800D663C 000D359C 48 26 86 A1 */ bl ReadBool__12CInputStreamFv /* 800D6640 000D35A0 7C 7B 1B 78 */ mr r27, r3 /* 800D6644 000D35A4 7E 23 8B 78 */ mr r3, r17 /* 800D6648 000D35A8 48 26 86 95 */ bl ReadBool__12CInputStreamFv /* 800D664C 000D35AC 7C 7C 1B 78 */ mr r28, r3 /* 800D6650 000D35B0 7E 23 8B 78 */ mr r3, r17 /* 800D6654 000D35B4 48 26 86 89 */ bl ReadBool__12CInputStreamFv /* 800D6658 000D35B8 7C 7D 1B 78 */ mr r29, r3 /* 800D665C 000D35BC 7E 23 8B 78 */ mr r3, r17 /* 800D6660 000D35C0 48 26 86 7D */ bl ReadBool__12CInputStreamFv /* 800D6664 000D35C4 7C 7E 1B 78 */ mr r30, r3 /* 800D6668 000D35C8 7E 24 8B 78 */ mr r4, r17 /* 800D666C 000D35CC 38 61 00 40 */ addi r3, r1, 0x40 /* 800D6670 000D35D0 48 00 3B ED */ bl LoadLightParameters__FR12CInputStream /* 800D6674 000D35D4 8A 21 00 44 */ lbz r17, 0x44(r1) /* 800D6678 000D35D8 3C 60 80 3E */ lis r3, lbl_803DFF80@ha /* 800D667C 000D35DC C0 A1 00 48 */ lfs f5, 0x48(r1) /* 800D6680 000D35E0 3A 03 FF 80 */ addi r16, r3, lbl_803DFF80@l /* 800D6684 000D35E4 81 81 00 4C */ lwz r12, 0x4c(r1) /* 800D6688 000D35E8 38 61 00 40 */ addi r3, r1, 0x40 /* 800D668C 000D35EC C0 81 00 50 */ lfs f4, 0x50(r1) /* 800D6690 000D35F0 38 80 FF FF */ li r4, -1 /* 800D6694 000D35F4 C0 61 00 54 */ lfs f3, 0x54(r1) /* 800D6698 000D35F8 81 61 00 58 */ lwz r11, 0x58(r1) /* 800D669C 000D35FC 89 41 00 5C */ lbz r10, 0x5c(r1) /* 800D66A0 000D3600 89 21 00 5D */ lbz r9, 0x5d(r1) /* 800D66A4 000D3604 81 01 00 60 */ lwz r8, 0x60(r1) /* 800D66A8 000D3608 80 E1 00 64 */ lwz r7, 0x64(r1) /* 800D66AC 000D360C 80 C1 00 68 */ lwz r6, 0x68(r1) /* 800D66B0 000D3610 C0 41 00 6C */ lfs f2, 0x6c(r1) /* 800D66B4 000D3614 C0 21 00 70 */ lfs f1, 0x70(r1) /* 800D66B8 000D3618 C0 01 00 74 */ lfs f0, 0x74(r1) /* 800D66BC 000D361C 80 A1 00 78 */ lwz r5, 0x78(r1) /* 800D66C0 000D3620 80 01 00 7C */ lwz r0, 0x7c(r1) /* 800D66C4 000D3624 92 01 00 80 */ stw r16, 0x80(r1) /* 800D66C8 000D3628 9A 21 00 84 */ stb r17, 0x84(r1) /* 800D66CC 000D362C D0 A1 00 88 */ stfs f5, 0x88(r1) /* 800D66D0 000D3630 91 81 00 8C */ stw r12, 0x8c(r1) /* 800D66D4 000D3634 D0 81 00 90 */ stfs f4, 0x90(r1) /* 800D66D8 000D3638 D0 61 00 94 */ stfs f3, 0x94(r1) /* 800D66DC 000D363C 91 61 00 98 */ stw r11, 0x98(r1) /* 800D66E0 000D3640 99 41 00 9C */ stb r10, 0x9c(r1) /* 800D66E4 000D3644 99 21 00 9D */ stb r9, 0x9d(r1) /* 800D66E8 000D3648 91 01 00 A0 */ stw r8, 0xa0(r1) /* 800D66EC 000D364C 90 E1 00 A4 */ stw r7, 0xa4(r1) /* 800D66F0 000D3650 90 C1 00 A8 */ stw r6, 0xa8(r1) /* 800D66F4 000D3654 D0 41 00 AC */ stfs f2, 0xac(r1) /* 800D66F8 000D3658 D0 21 00 B0 */ stfs f1, 0xb0(r1) /* 800D66FC 000D365C D0 01 00 B4 */ stfs f0, 0xb4(r1) /* 800D6700 000D3660 90 A1 00 B8 */ stw r5, 0xb8(r1) /* 800D6704 000D3664 90 01 00 BC */ stw r0, 0xbc(r1) /* 800D6708 000D3668 48 02 FF 01 */ bl __dt__16CLightParametersFv /* 800D670C 000D366C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D6710 000D3670 38 60 01 48 */ li r3, 0x148 /* 800D6714 000D3674 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D6718 000D3678 38 A0 00 00 */ li r5, 0 /* 800D671C 000D367C 38 84 00 0D */ addi r4, r4, 0xd /* 800D6720 000D3680 48 23 F1 4D */ bl __nw__FUlPCcPCc /* 800D6724 000D3684 7C 70 1B 79 */ or. r16, r3, r3 /* 800D6728 000D3688 41 82 00 8C */ beq lbl_800D67B4 /* 800D672C 000D368C 7F E4 FB 78 */ mr r4, r31 /* 800D6730 000D3690 38 61 00 38 */ addi r3, r1, 0x38 /* 800D6734 000D3694 4B F7 69 A9 */ bl AllocateUniqueId__13CStateManagerFv /* 800D6738 000D3698 A0 81 00 38 */ lhz r4, 0x38(r1) /* 800D673C 000D369C 38 01 00 80 */ addi r0, r1, 0x80 /* 800D6740 000D36A0 FC 20 F8 90 */ fmr f1, f31 /* 800D6744 000D36A4 7E 03 83 78 */ mr r3, r16 /* 800D6748 000D36A8 B0 81 00 3C */ sth r4, 0x3c(r1) /* 800D674C 000D36AC FC 40 F0 90 */ fmr f2, f30 /* 800D6750 000D36B0 FC 60 E8 90 */ fmr f3, f29 /* 800D6754 000D36B4 7E 46 93 78 */ mr r6, r18 /* 800D6758 000D36B8 92 A1 00 08 */ stw r21, 8(r1) /* 800D675C 000D36BC FC 80 E0 90 */ fmr f4, f28 /* 800D6760 000D36C0 FC A0 D8 90 */ fmr f5, f27 /* 800D6764 000D36C4 7E 89 A3 78 */ mr r9, r20 /* 800D6768 000D36C8 92 C1 00 0C */ stw r22, 0xc(r1) /* 800D676C 000D36CC FC C0 D0 90 */ fmr f6, f26 /* 800D6770 000D36D0 FC E0 C8 90 */ fmr f7, f25 /* 800D6774 000D36D4 92 E1 00 10 */ stw r23, 0x10(r1) /* 800D6778 000D36D8 7E 6A 9B 78 */ mr r10, r19 /* 800D677C 000D36DC 38 81 00 3C */ addi r4, r1, 0x3c /* 800D6780 000D36E0 93 01 00 14 */ stw r24, 0x14(r1) /* 800D6784 000D36E4 38 A1 00 C0 */ addi r5, r1, 0xc0 /* 800D6788 000D36E8 38 E1 00 D0 */ addi r7, r1, 0xd0 /* 800D678C 000D36EC 39 01 01 00 */ addi r8, r1, 0x100 /* 800D6790 000D36F0 93 21 00 18 */ stw r25, 0x18(r1) /* 800D6794 000D36F4 93 41 00 1C */ stw r26, 0x1c(r1) /* 800D6798 000D36F8 93 61 00 20 */ stw r27, 0x20(r1) /* 800D679C 000D36FC 93 81 00 24 */ stw r28, 0x24(r1) /* 800D67A0 000D3700 93 A1 00 28 */ stw r29, 0x28(r1) /* 800D67A4 000D3704 90 01 00 2C */ stw r0, 0x2c(r1) /* 800D67A8 000D3708 93 C1 00 30 */ stw r30, 0x30(r1) /* 800D67AC 000D370C 4B FB 89 95 */ bl "__ct__13CScriptEffectF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC9CVector3fUiUibbbbbffff" /* 800D67B0 000D3710 7C 70 1B 78 */ mr r16, r3 lbl_800D67B4: /* 800D67B4 000D3714 38 61 00 80 */ addi r3, r1, 0x80 /* 800D67B8 000D3718 38 80 FF FF */ li r4, -1 /* 800D67BC 000D371C 48 02 FE 4D */ bl __dt__16CLightParametersFv /* 800D67C0 000D3720 38 61 00 C0 */ addi r3, r1, 0xc0 /* 800D67C4 000D3724 48 26 73 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D67C8 000D3728 7E 03 83 78 */ mr r3, r16 lbl_800D67CC: /* 800D67CC 000D372C E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 /* 800D67D0 000D3730 CB E1 01 B0 */ lfd f31, 0x1b0(r1) /* 800D67D4 000D3734 E3 C1 01 A8 */ psq_l f30, 424(r1), 0, qr0 /* 800D67D8 000D3738 CB C1 01 A0 */ lfd f30, 0x1a0(r1) /* 800D67DC 000D373C E3 A1 01 98 */ psq_l f29, 408(r1), 0, qr0 /* 800D67E0 000D3740 CB A1 01 90 */ lfd f29, 0x190(r1) /* 800D67E4 000D3744 E3 81 01 88 */ psq_l f28, 392(r1), 0, qr0 /* 800D67E8 000D3748 CB 81 01 80 */ lfd f28, 0x180(r1) /* 800D67EC 000D374C E3 61 01 78 */ psq_l f27, 376(r1), 0, qr0 /* 800D67F0 000D3750 CB 61 01 70 */ lfd f27, 0x170(r1) /* 800D67F4 000D3754 E3 41 01 68 */ psq_l f26, 360(r1), 0, qr0 /* 800D67F8 000D3758 CB 41 01 60 */ lfd f26, 0x160(r1) /* 800D67FC 000D375C E3 21 01 58 */ psq_l f25, 344(r1), 0, qr0 /* 800D6800 000D3760 CB 21 01 50 */ lfd f25, 0x150(r1) /* 800D6804 000D3764 BA 01 01 10 */ lmw r16, 0x110(r1) /* 800D6808 000D3768 80 01 01 C4 */ lwz r0, 0x1c4(r1) /* 800D680C 000D376C 7C 08 03 A6 */ mtlr r0 /* 800D6810 000D3770 38 21 01 C0 */ addi r1, r1, 0x1c0 /* 800D6814 000D3774 4E 80 00 20 */ blr .global LoadDoor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadDoor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D6818 000D3778 94 21 FD 60 */ stwu r1, -0x2a0(r1) /* 800D681C 000D377C 7C 08 02 A6 */ mflr r0 /* 800D6820 000D3780 90 01 02 A4 */ stw r0, 0x2a4(r1) /* 800D6824 000D3784 DB E1 02 90 */ stfd f31, 0x290(r1) /* 800D6828 000D3788 F3 E1 02 98 */ psq_st f31, 664(r1), 0, qr0 /* 800D682C 000D378C BE E1 02 6C */ stmw r23, 0x26c(r1) /* 800D6830 000D3790 7C B9 2B 78 */ mr r25, r5 /* 800D6834 000D3794 7C 77 1B 78 */ mr r23, r3 /* 800D6838 000D3798 2C 19 00 0D */ cmpwi r25, 0xd /* 800D683C 000D379C 7C 98 23 78 */ mr r24, r4 /* 800D6840 000D37A0 7C DA 33 78 */ mr r26, r6 /* 800D6844 000D37A4 38 00 00 00 */ li r0, 0 /* 800D6848 000D37A8 41 80 00 10 */ blt lbl_800D6858 /* 800D684C 000D37AC 2C 19 00 0E */ cmpwi r25, 0xe /* 800D6850 000D37B0 41 81 00 08 */ bgt lbl_800D6858 /* 800D6854 000D37B4 38 00 00 01 */ li r0, 1 lbl_800D6858: /* 800D6858 000D37B8 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800D685C 000D37BC 40 82 00 0C */ bne lbl_800D6868 /* 800D6860 000D37C0 38 60 00 00 */ li r3, 0 /* 800D6864 000D37C4 48 00 02 D8 */ b lbl_800D6B3C lbl_800D6868: /* 800D6868 000D37C8 7F 04 C3 78 */ mr r4, r24 /* 800D686C 000D37CC 7E E5 BB 78 */ mr r5, r23 /* 800D6870 000D37D0 38 61 02 10 */ addi r3, r1, 0x210 /* 800D6874 000D37D4 48 00 3C 09 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D6878 000D37D8 7F 04 C3 78 */ mr r4, r24 /* 800D687C 000D37DC 38 61 00 30 */ addi r3, r1, 0x30 /* 800D6880 000D37E0 48 00 3B 8D */ bl LoadAnimationParameters__FR12CInputStream /* 800D6884 000D37E4 83 61 00 30 */ lwz r27, 0x30(r1) /* 800D6888 000D37E8 7F 04 C3 78 */ mr r4, r24 /* 800D688C 000D37EC 38 61 00 F4 */ addi r3, r1, 0xf4 /* 800D6890 000D37F0 48 00 34 E5 */ bl LoadActorParameters__FR12CInputStream /* 800D6894 000D37F4 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 800D6898 000D37F8 38 81 00 F4 */ addi r4, r1, 0xf4 /* 800D689C 000D37FC 4B FE ED 81 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D68A0 000D3800 38 61 00 F4 */ addi r3, r1, 0xf4 /* 800D68A4 000D3804 38 80 FF FF */ li r4, -1 /* 800D68A8 000D3808 48 02 FD 61 */ bl __dt__16CLightParametersFv /* 800D68AC 000D380C 7F 04 C3 78 */ mr r4, r24 /* 800D68B0 000D3810 38 61 00 54 */ addi r3, r1, 0x54 /* 800D68B4 000D3814 48 23 E2 D9 */ bl __ct__9CVector3fFR12CInputStream /* 800D68B8 000D3818 7F 04 C3 78 */ mr r4, r24 /* 800D68BC 000D381C 38 61 00 48 */ addi r3, r1, 0x48 /* 800D68C0 000D3820 48 23 E2 CD */ bl __ct__9CVector3fFR12CInputStream /* 800D68C4 000D3824 7F 04 C3 78 */ mr r4, r24 /* 800D68C8 000D3828 38 61 00 3C */ addi r3, r1, 0x3c /* 800D68CC 000D382C 48 23 E2 C1 */ bl __ct__9CVector3fFR12CInputStream /* 800D68D0 000D3830 7F 03 C3 78 */ mr r3, r24 /* 800D68D4 000D3834 48 26 84 09 */ bl ReadBool__12CInputStreamFv /* 800D68D8 000D3838 7C 7D 1B 78 */ mr r29, r3 /* 800D68DC 000D383C 7F 03 C3 78 */ mr r3, r24 /* 800D68E0 000D3840 48 26 83 FD */ bl ReadBool__12CInputStreamFv /* 800D68E4 000D3844 7C 7E 1B 78 */ mr r30, r3 /* 800D68E8 000D3848 7F 03 C3 78 */ mr r3, r24 /* 800D68EC 000D384C 48 26 83 F1 */ bl ReadBool__12CInputStreamFv /* 800D68F0 000D3850 7C 7F 1B 78 */ mr r31, r3 /* 800D68F4 000D3854 7F 03 C3 78 */ mr r3, r24 /* 800D68F8 000D3858 48 26 83 31 */ bl ReadFloat__12CInputStreamFv /* 800D68FC 000D385C 80 1A 00 00 */ lwz r0, 0(r26) /* 800D6900 000D3860 FF E0 08 90 */ fmr f31, f1 /* 800D6904 000D3864 3B 81 02 20 */ addi r28, r1, 0x220 /* 800D6908 000D3868 7E E4 BB 78 */ mr r4, r23 /* 800D690C 000D386C 90 01 00 28 */ stw r0, 0x28(r1) /* 800D6910 000D3870 38 61 00 94 */ addi r3, r1, 0x94 /* 800D6914 000D3874 38 A1 00 2C */ addi r5, r1, 0x2c /* 800D6918 000D3878 90 01 00 2C */ stw r0, 0x2c(r1) /* 800D691C 000D387C 38 C1 00 48 */ addi r6, r1, 0x48 /* 800D6920 000D3880 38 E1 00 3C */ addi r7, r1, 0x3c /* 800D6924 000D3884 48 00 3D F9 */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f /* 800D6928 000D3888 C0 A1 00 94 */ lfs f5, 0x94(r1) /* 800D692C 000D388C 7F 64 DB 78 */ mr r4, r27 /* 800D6930 000D3890 C0 81 00 98 */ lfs f4, 0x98(r1) /* 800D6934 000D3894 C0 61 00 9C */ lfs f3, 0x9c(r1) /* 800D6938 000D3898 C0 41 00 A0 */ lfs f2, 0xa0(r1) /* 800D693C 000D389C C0 21 00 A4 */ lfs f1, 0xa4(r1) /* 800D6940 000D38A0 C0 01 00 A8 */ lfs f0, 0xa8(r1) /* 800D6944 000D38A4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 800D6948 000D38A8 D0 A1 00 AC */ stfs f5, 0xac(r1) /* 800D694C 000D38AC 38 63 00 04 */ addi r3, r3, 4 /* 800D6950 000D38B0 D0 81 00 B0 */ stfs f4, 0xb0(r1) /* 800D6954 000D38B4 D0 61 00 B4 */ stfs f3, 0xb4(r1) /* 800D6958 000D38B8 D0 41 00 B8 */ stfs f2, 0xb8(r1) /* 800D695C 000D38BC D0 21 00 BC */ stfs f1, 0xbc(r1) /* 800D6960 000D38C0 D0 01 00 C0 */ stfs f0, 0xc0(r1) /* 800D6964 000D38C4 48 26 53 69 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D6968 000D38C8 28 03 00 00 */ cmplwi r3, 0 /* 800D696C 000D38CC 40 82 00 20 */ bne lbl_800D698C /* 800D6970 000D38D0 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 800D6974 000D38D4 38 80 FF FF */ li r4, -1 /* 800D6978 000D38D8 48 02 FC 91 */ bl __dt__16CLightParametersFv /* 800D697C 000D38DC 38 61 02 10 */ addi r3, r1, 0x210 /* 800D6980 000D38E0 48 26 71 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D6984 000D38E4 38 60 00 00 */ li r3, 0 /* 800D6988 000D38E8 48 00 01 B4 */ b lbl_800D6B3C lbl_800D698C: /* 800D698C 000D38EC 80 A2 83 F0 */ lwz r5, kDefaultCharIdx__8CAnimRes@sda21(r2) /* 800D6990 000D38F0 38 00 00 00 */ li r0, 0 /* 800D6994 000D38F4 C0 41 02 50 */ lfs f2, 0x250(r1) /* 800D6998 000D38F8 38 61 01 5C */ addi r3, r1, 0x15c /* 800D699C 000D38FC C0 21 02 54 */ lfs f1, 0x254(r1) /* 800D69A0 000D3900 38 81 00 78 */ addi r4, r1, 0x78 /* 800D69A4 000D3904 C0 01 02 58 */ lfs f0, 0x258(r1) /* 800D69A8 000D3908 93 61 00 78 */ stw r27, 0x78(r1) /* 800D69AC 000D390C 90 A1 00 7C */ stw r5, 0x7c(r1) /* 800D69B0 000D3910 D0 41 00 80 */ stfs f2, 0x80(r1) /* 800D69B4 000D3914 D0 21 00 84 */ stfs f1, 0x84(r1) /* 800D69B8 000D3918 D0 01 00 88 */ stfs f0, 0x88(r1) /* 800D69BC 000D391C 98 01 00 8C */ stb r0, 0x8c(r1) /* 800D69C0 000D3920 90 01 00 90 */ stw r0, 0x90(r1) /* 800D69C4 000D3924 48 04 01 91 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D69C8 000D3928 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 800D69CC 000D392C C0 21 00 48 */ lfs f1, 0x48(r1) /* 800D69D0 000D3930 C4 03 66 A0 */ lfsu f0, sZeroVector__9CVector3f@l(r3) /* 800D69D4 000D3934 38 00 00 00 */ li r0, 0 /* 800D69D8 000D3938 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800D69DC 000D393C 40 82 00 28 */ bne lbl_800D6A04 /* 800D69E0 000D3940 C0 21 00 4C */ lfs f1, 0x4c(r1) /* 800D69E4 000D3944 C0 03 00 04 */ lfs f0, 4(r3) /* 800D69E8 000D3948 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800D69EC 000D394C 40 82 00 18 */ bne lbl_800D6A04 /* 800D69F0 000D3950 C0 21 00 50 */ lfs f1, 0x50(r1) /* 800D69F4 000D3954 C0 03 00 08 */ lfs f0, 8(r3) /* 800D69F8 000D3958 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800D69FC 000D395C 40 82 00 08 */ bne lbl_800D6A04 /* 800D6A00 000D3960 38 00 00 01 */ li r0, 1 lbl_800D6A04: /* 800D6A04 000D3964 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800D6A08 000D3968 41 82 00 50 */ beq lbl_800D6A58 /* 800D6A0C 000D396C 7F 84 E3 78 */ mr r4, r28 /* 800D6A10 000D3970 38 61 00 C4 */ addi r3, r1, 0xc4 /* 800D6A14 000D3974 48 23 C2 2D */ bl GetRotation__12CTransform4fCFv /* 800D6A18 000D3978 38 61 00 60 */ addi r3, r1, 0x60 /* 800D6A1C 000D397C 38 81 01 5C */ addi r4, r1, 0x15c /* 800D6A20 000D3980 38 A1 00 C4 */ addi r5, r1, 0xc4 /* 800D6A24 000D3984 48 03 ED 91 */ bl GetBounds__10CModelDataCFRC12CTransform4f /* 800D6A28 000D3988 80 E1 00 60 */ lwz r7, 0x60(r1) /* 800D6A2C 000D398C 80 C1 00 64 */ lwz r6, 0x64(r1) /* 800D6A30 000D3990 80 A1 00 68 */ lwz r5, 0x68(r1) /* 800D6A34 000D3994 80 81 00 6C */ lwz r4, 0x6c(r1) /* 800D6A38 000D3998 80 61 00 70 */ lwz r3, 0x70(r1) /* 800D6A3C 000D399C 80 01 00 74 */ lwz r0, 0x74(r1) /* 800D6A40 000D39A0 90 E1 00 AC */ stw r7, 0xac(r1) /* 800D6A44 000D39A4 90 C1 00 B0 */ stw r6, 0xb0(r1) /* 800D6A48 000D39A8 90 A1 00 B4 */ stw r5, 0xb4(r1) /* 800D6A4C 000D39AC 90 81 00 B8 */ stw r4, 0xb8(r1) /* 800D6A50 000D39B0 90 61 00 BC */ stw r3, 0xbc(r1) /* 800D6A54 000D39B4 90 01 00 C0 */ stw r0, 0xc0(r1) lbl_800D6A58: /* 800D6A58 000D39B8 2C 19 00 0D */ cmpwi r25, 0xd /* 800D6A5C 000D39BC 3B 60 00 00 */ li r27, 0 /* 800D6A60 000D39C0 40 82 00 1C */ bne lbl_800D6A7C /* 800D6A64 000D39C4 80 61 01 6C */ lwz r3, 0x16c(r1) /* 800D6A68 000D39C8 80 63 01 D8 */ lwz r3, 0x1d8(r3) /* 800D6A6C 000D39CC 3C 03 E0 63 */ addis r0, r3, 0xe063 /* 800D6A70 000D39D0 28 00 A8 58 */ cmplwi r0, 0xa858 /* 800D6A74 000D39D4 40 82 00 08 */ bne lbl_800D6A7C /* 800D6A78 000D39D8 3B 60 00 01 */ li r27, 1 lbl_800D6A7C: /* 800D6A7C 000D39DC 2C 19 00 0E */ cmpwi r25, 0xe /* 800D6A80 000D39E0 40 82 00 10 */ bne lbl_800D6A90 /* 800D6A84 000D39E4 7F 03 C3 78 */ mr r3, r24 /* 800D6A88 000D39E8 48 26 82 55 */ bl ReadBool__12CInputStreamFv /* 800D6A8C 000D39EC 7C 7B 1B 78 */ mr r27, r3 lbl_800D6A90: /* 800D6A90 000D39F0 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D6A94 000D39F4 38 60 02 B0 */ li r3, 0x2b0 /* 800D6A98 000D39F8 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D6A9C 000D39FC 38 A0 00 00 */ li r5, 0 /* 800D6AA0 000D3A00 38 84 00 0D */ addi r4, r4, 0xd /* 800D6AA4 000D3A04 48 23 ED C9 */ bl __nw__FUlPCcPCc /* 800D6AA8 000D3A08 7C 78 1B 79 */ or. r24, r3, r3 /* 800D6AAC 000D3A0C 41 82 00 6C */ beq lbl_800D6B18 /* 800D6AB0 000D3A10 7E E4 BB 78 */ mr r4, r23 /* 800D6AB4 000D3A14 38 61 00 20 */ addi r3, r1, 0x20 /* 800D6AB8 000D3A18 4B F7 66 25 */ bl AllocateUniqueId__13CStateManagerFv /* 800D6ABC 000D3A1C A0 01 00 20 */ lhz r0, 0x20(r1) /* 800D6AC0 000D3A20 38 61 00 AC */ addi r3, r1, 0xac /* 800D6AC4 000D3A24 57 A4 06 3E */ clrlwi r4, r29, 0x18 /* 800D6AC8 000D3A28 57 C9 06 3E */ clrlwi r9, r30, 0x18 /* 800D6ACC 000D3A2C B0 01 00 24 */ sth r0, 0x24(r1) /* 800D6AD0 000D3A30 57 EB 06 3E */ clrlwi r11, r31, 0x18 /* 800D6AD4 000D3A34 FC 20 F8 90 */ fmr f1, f31 /* 800D6AD8 000D3A38 57 60 06 3E */ clrlwi r0, r27, 0x18 /* 800D6ADC 000D3A3C 90 61 00 08 */ stw r3, 8(r1) /* 800D6AE0 000D3A40 7F 03 C3 78 */ mr r3, r24 /* 800D6AE4 000D3A44 7F 46 D3 78 */ mr r6, r26 /* 800D6AE8 000D3A48 7F 87 E3 78 */ mr r7, r28 /* 800D6AEC 000D3A4C 90 81 00 0C */ stw r4, 0xc(r1) /* 800D6AF0 000D3A50 38 81 00 24 */ addi r4, r1, 0x24 /* 800D6AF4 000D3A54 38 A1 02 10 */ addi r5, r1, 0x210 /* 800D6AF8 000D3A58 39 01 01 5C */ addi r8, r1, 0x15c /* 800D6AFC 000D3A5C 91 21 00 10 */ stw r9, 0x10(r1) /* 800D6B00 000D3A60 39 21 01 A8 */ addi r9, r1, 0x1a8 /* 800D6B04 000D3A64 39 41 00 54 */ addi r10, r1, 0x54 /* 800D6B08 000D3A68 91 61 00 14 */ stw r11, 0x14(r1) /* 800D6B0C 000D3A6C 90 01 00 18 */ stw r0, 0x18(r1) /* 800D6B10 000D3A70 4B FA 87 0D */ bl "__ct__11CScriptDoorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC9CVector3fRC6CAABoxbbfb" /* 800D6B14 000D3A74 7C 78 1B 78 */ mr r24, r3 lbl_800D6B18: /* 800D6B18 000D3A78 38 61 01 5C */ addi r3, r1, 0x15c /* 800D6B1C 000D3A7C 38 80 FF FF */ li r4, -1 /* 800D6B20 000D3A80 48 03 FF 2D */ bl __dt__10CModelDataFv /* 800D6B24 000D3A84 38 61 01 A8 */ addi r3, r1, 0x1a8 /* 800D6B28 000D3A88 38 80 FF FF */ li r4, -1 /* 800D6B2C 000D3A8C 48 02 FA DD */ bl __dt__16CLightParametersFv /* 800D6B30 000D3A90 38 61 02 10 */ addi r3, r1, 0x210 /* 800D6B34 000D3A94 48 26 6F AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D6B38 000D3A98 7F 03 C3 78 */ mr r3, r24 lbl_800D6B3C: /* 800D6B3C 000D3A9C E3 E1 02 98 */ psq_l f31, 664(r1), 0, qr0 /* 800D6B40 000D3AA0 CB E1 02 90 */ lfd f31, 0x290(r1) /* 800D6B44 000D3AA4 BA E1 02 6C */ lmw r23, 0x26c(r1) /* 800D6B48 000D3AA8 80 01 02 A4 */ lwz r0, 0x2a4(r1) /* 800D6B4C 000D3AAC 7C 08 03 A6 */ mtlr r0 /* 800D6B50 000D3AB0 38 21 02 A0 */ addi r1, r1, 0x2a0 /* 800D6B54 000D3AB4 4E 80 00 20 */ blr .global LoadWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D6B58 000D3AB8 94 21 FF 50 */ stwu r1, -0xb0(r1) /* 800D6B5C 000D3ABC 7C 08 02 A6 */ mflr r0 /* 800D6B60 000D3AC0 2C 05 00 0D */ cmpwi r5, 0xd /* 800D6B64 000D3AC4 90 01 00 B4 */ stw r0, 0xb4(r1) /* 800D6B68 000D3AC8 DB E1 00 A8 */ stfd f31, 0xa8(r1) /* 800D6B6C 000D3ACC DB C1 00 A0 */ stfd f30, 0xa0(r1) /* 800D6B70 000D3AD0 BE A1 00 74 */ stmw r21, 0x74(r1) /* 800D6B74 000D3AD4 7C 75 1B 78 */ mr r21, r3 /* 800D6B78 000D3AD8 7C 97 23 78 */ mr r23, r4 /* 800D6B7C 000D3ADC 7C D6 33 78 */ mr r22, r6 /* 800D6B80 000D3AE0 41 82 00 0C */ beq lbl_800D6B8C /* 800D6B84 000D3AE4 38 60 00 00 */ li r3, 0 /* 800D6B88 000D3AE8 48 00 01 0C */ b lbl_800D6C94 lbl_800D6B8C: /* 800D6B8C 000D3AEC 7E A5 AB 78 */ mr r5, r21 /* 800D6B90 000D3AF0 38 61 00 28 */ addi r3, r1, 0x28 /* 800D6B94 000D3AF4 48 00 39 31 */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800D6B98 000D3AF8 7E E3 BB 78 */ mr r3, r23 /* 800D6B9C 000D3AFC 48 26 81 41 */ bl ReadBool__12CInputStreamFv /* 800D6BA0 000D3B00 7C 7A 1B 78 */ mr r26, r3 /* 800D6BA4 000D3B04 7E E3 BB 78 */ mr r3, r23 /* 800D6BA8 000D3B08 48 26 80 81 */ bl ReadFloat__12CInputStreamFv /* 800D6BAC 000D3B0C FF E0 08 90 */ fmr f31, f1 /* 800D6BB0 000D3B10 7E E3 BB 78 */ mr r3, r23 /* 800D6BB4 000D3B14 48 26 80 75 */ bl ReadFloat__12CInputStreamFv /* 800D6BB8 000D3B18 FF C0 08 90 */ fmr f30, f1 /* 800D6BBC 000D3B1C 7E E3 BB 78 */ mr r3, r23 /* 800D6BC0 000D3B20 48 26 80 C5 */ bl ReadLong__12CInputStreamFv /* 800D6BC4 000D3B24 7C 79 1B 78 */ mr r25, r3 /* 800D6BC8 000D3B28 7E E3 BB 78 */ mr r3, r23 /* 800D6BCC 000D3B2C 48 26 80 B9 */ bl ReadLong__12CInputStreamFv /* 800D6BD0 000D3B30 7C 78 1B 78 */ mr r24, r3 /* 800D6BD4 000D3B34 7E E3 BB 78 */ mr r3, r23 /* 800D6BD8 000D3B38 48 26 80 AD */ bl ReadLong__12CInputStreamFv /* 800D6BDC 000D3B3C 7C 7B 1B 78 */ mr r27, r3 /* 800D6BE0 000D3B40 7E E3 BB 78 */ mr r3, r23 /* 800D6BE4 000D3B44 48 26 80 A1 */ bl ReadLong__12CInputStreamFv /* 800D6BE8 000D3B48 7C 7C 1B 78 */ mr r28, r3 /* 800D6BEC 000D3B4C 7E E3 BB 78 */ mr r3, r23 /* 800D6BF0 000D3B50 48 26 80 95 */ bl ReadLong__12CInputStreamFv /* 800D6BF4 000D3B54 7C 7D 1B 78 */ mr r29, r3 /* 800D6BF8 000D3B58 7E E3 BB 78 */ mr r3, r23 /* 800D6BFC 000D3B5C 48 26 80 89 */ bl ReadLong__12CInputStreamFv /* 800D6C00 000D3B60 7C 7E 1B 78 */ mr r30, r3 /* 800D6C04 000D3B64 7E E3 BB 78 */ mr r3, r23 /* 800D6C08 000D3B68 48 26 80 7D */ bl ReadLong__12CInputStreamFv /* 800D6C0C 000D3B6C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D6C10 000D3B70 7C 7F 1B 78 */ mr r31, r3 /* 800D6C14 000D3B74 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D6C18 000D3B78 38 60 01 00 */ li r3, 0x100 /* 800D6C1C 000D3B7C 38 84 00 0D */ addi r4, r4, 0xd /* 800D6C20 000D3B80 38 A0 00 00 */ li r5, 0 /* 800D6C24 000D3B84 48 23 EC 49 */ bl __nw__FUlPCcPCc /* 800D6C28 000D3B88 7C 77 1B 79 */ or. r23, r3, r3 /* 800D6C2C 000D3B8C 41 82 00 5C */ beq lbl_800D6C88 /* 800D6C30 000D3B90 7E A4 AB 78 */ mr r4, r21 /* 800D6C34 000D3B94 38 61 00 20 */ addi r3, r1, 0x20 /* 800D6C38 000D3B98 4B F7 64 A5 */ bl AllocateUniqueId__13CStateManagerFv /* 800D6C3C 000D3B9C A0 01 00 20 */ lhz r0, 0x20(r1) /* 800D6C40 000D3BA0 FC 20 F8 90 */ fmr f1, f31 /* 800D6C44 000D3BA4 FC 40 F0 90 */ fmr f2, f30 /* 800D6C48 000D3BA8 7E E3 BB 78 */ mr r3, r23 /* 800D6C4C 000D3BAC B0 01 00 24 */ sth r0, 0x24(r1) /* 800D6C50 000D3BB0 7E C6 B3 78 */ mr r6, r22 /* 800D6C54 000D3BB4 7F 29 CB 78 */ mr r9, r25 /* 800D6C58 000D3BB8 93 61 00 08 */ stw r27, 8(r1) /* 800D6C5C 000D3BBC 7F 0A C3 78 */ mr r10, r24 /* 800D6C60 000D3BC0 38 81 00 24 */ addi r4, r1, 0x24 /* 800D6C64 000D3BC4 93 81 00 0C */ stw r28, 0xc(r1) /* 800D6C68 000D3BC8 38 A1 00 28 */ addi r5, r1, 0x28 /* 800D6C6C 000D3BCC 38 E1 00 38 */ addi r7, r1, 0x38 /* 800D6C70 000D3BD0 57 48 06 3E */ clrlwi r8, r26, 0x18 /* 800D6C74 000D3BD4 93 A1 00 10 */ stw r29, 0x10(r1) /* 800D6C78 000D3BD8 93 C1 00 14 */ stw r30, 0x14(r1) /* 800D6C7C 000D3BDC 93 E1 00 18 */ stw r31, 0x18(r1) /* 800D6C80 000D3BE0 4B FA 07 95 */ bl "__ct__15CScriptWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbffiiiiiiUi" /* 800D6C84 000D3BE4 7C 77 1B 78 */ mr r23, r3 lbl_800D6C88: /* 800D6C88 000D3BE8 38 61 00 28 */ addi r3, r1, 0x28 /* 800D6C8C 000D3BEC 48 26 6E 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D6C90 000D3BF0 7E E3 BB 78 */ mr r3, r23 lbl_800D6C94: /* 800D6C94 000D3BF4 CB E1 00 A8 */ lfd f31, 0xa8(r1) /* 800D6C98 000D3BF8 CB C1 00 A0 */ lfd f30, 0xa0(r1) /* 800D6C9C 000D3BFC BA A1 00 74 */ lmw r21, 0x74(r1) /* 800D6CA0 000D3C00 80 01 00 B4 */ lwz r0, 0xb4(r1) /* 800D6CA4 000D3C04 7C 08 03 A6 */ mtlr r0 /* 800D6CA8 000D3C08 38 21 00 B0 */ addi r1, r1, 0xb0 /* 800D6CAC 000D3C0C 4E 80 00 20 */ blr .global LoadWarWasp__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadWarWasp__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D6CB0 000D3C10 94 21 FC 50 */ stwu r1, -0x3b0(r1) /* 800D6CB4 000D3C14 7C 08 02 A6 */ mflr r0 /* 800D6CB8 000D3C18 2C 05 00 0D */ cmpwi r5, 0xd /* 800D6CBC 000D3C1C 90 01 03 B4 */ stw r0, 0x3b4(r1) /* 800D6CC0 000D3C20 BE A1 03 84 */ stmw r21, 0x384(r1) /* 800D6CC4 000D3C24 7C 77 1B 78 */ mr r23, r3 /* 800D6CC8 000D3C28 7C 96 23 78 */ mr r22, r4 /* 800D6CCC 000D3C2C 7C D8 33 78 */ mr r24, r6 /* 800D6CD0 000D3C30 41 82 00 0C */ beq lbl_800D6CDC /* 800D6CD4 000D3C34 38 60 00 00 */ li r3, 0 /* 800D6CD8 000D3C38 48 00 02 74 */ b lbl_800D6F4C lbl_800D6CDC: /* 800D6CDC 000D3C3C 4B F6 E5 09 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D6CE0 000D3C40 7C 64 1B 78 */ mr r4, r3 /* 800D6CE4 000D3C44 38 61 00 44 */ addi r3, r1, 0x44 /* 800D6CE8 000D3C48 48 26 74 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D6CEC 000D3C4C 7E C3 B3 78 */ mr r3, r22 /* 800D6CF0 000D3C50 48 26 7F 95 */ bl ReadLong__12CInputStreamFv /* 800D6CF4 000D3C54 7C 60 1B 78 */ mr r0, r3 /* 800D6CF8 000D3C58 7E C4 B3 78 */ mr r4, r22 /* 800D6CFC 000D3C5C 38 61 00 C4 */ addi r3, r1, 0xc4 /* 800D6D00 000D3C60 7C 19 03 78 */ mr r25, r0 /* 800D6D04 000D3C64 48 00 38 25 */ bl LoadEditorTransformPivotOnly__FR12CInputStream /* 800D6D08 000D3C68 38 61 00 F4 */ addi r3, r1, 0xf4 /* 800D6D0C 000D3C6C 38 81 00 C4 */ addi r4, r1, 0xc4 /* 800D6D10 000D3C70 48 23 BE 65 */ bl __ct__12CTransform4fFRC12CTransform4f /* 800D6D14 000D3C74 7E C4 B3 78 */ mr r4, r22 /* 800D6D18 000D3C78 38 61 00 38 */ addi r3, r1, 0x38 /* 800D6D1C 000D3C7C 48 23 DE 71 */ bl __ct__9CVector3fFR12CInputStream /* 800D6D20 000D3C80 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D6D24 000D3C84 7E C4 B3 78 */ mr r4, r22 /* 800D6D28 000D3C88 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800D6D2C 000D3C8C 38 61 00 30 */ addi r3, r1, 0x30 /* 800D6D30 000D3C90 38 A5 02 49 */ addi r5, r5, 0x249 /* 800D6D34 000D3C94 48 02 EA F5 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800D6D38 000D3C98 88 01 00 30 */ lbz r0, 0x30(r1) /* 800D6D3C 000D3C9C 80 A1 00 34 */ lwz r5, 0x34(r1) /* 800D6D40 000D3CA0 28 00 00 00 */ cmplwi r0, 0 /* 800D6D44 000D3CA4 40 82 00 14 */ bne lbl_800D6D58 /* 800D6D48 000D3CA8 38 61 00 44 */ addi r3, r1, 0x44 /* 800D6D4C 000D3CAC 48 26 6D 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D6D50 000D3CB0 38 60 00 00 */ li r3, 0 /* 800D6D54 000D3CB4 48 00 01 F8 */ b lbl_800D6F4C lbl_800D6D58: /* 800D6D58 000D3CB8 7E C4 B3 78 */ mr r4, r22 /* 800D6D5C 000D3CBC 38 61 02 40 */ addi r3, r1, 0x240 /* 800D6D60 000D3CC0 48 02 EB 19 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800D6D64 000D3CC4 7E C4 B3 78 */ mr r4, r22 /* 800D6D68 000D3CC8 38 61 01 70 */ addi r3, r1, 0x170 /* 800D6D6C 000D3CCC 48 00 30 09 */ bl LoadActorParameters__FR12CInputStream /* 800D6D70 000D3CD0 38 61 01 D8 */ addi r3, r1, 0x1d8 /* 800D6D74 000D3CD4 38 81 01 70 */ addi r4, r1, 0x170 /* 800D6D78 000D3CD8 4B FE E8 A5 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D6D7C 000D3CDC 38 61 01 70 */ addi r3, r1, 0x170 /* 800D6D80 000D3CE0 38 80 FF FF */ li r4, -1 /* 800D6D84 000D3CE4 48 02 F8 85 */ bl __dt__16CLightParametersFv /* 800D6D88 000D3CE8 7E C3 B3 78 */ mr r3, r22 /* 800D6D8C 000D3CEC 48 26 7F 51 */ bl ReadBool__12CInputStreamFv /* 800D6D90 000D3CF0 7C 75 1B 78 */ mr r21, r3 /* 800D6D94 000D3CF4 7E C4 B3 78 */ mr r4, r22 /* 800D6D98 000D3CF8 38 61 00 A8 */ addi r3, r1, 0xa8 /* 800D6D9C 000D3CFC 4B FE C7 C5 */ bl __ct__11CDamageInfoFR12CInputStream /* 800D6DA0 000D3D00 7E C3 B3 78 */ mr r3, r22 /* 800D6DA4 000D3D04 48 26 7E E1 */ bl ReadLong__12CInputStreamFv /* 800D6DA8 000D3D08 7C 7D 1B 78 */ mr r29, r3 /* 800D6DAC 000D3D0C 7E C4 B3 78 */ mr r4, r22 /* 800D6DB0 000D3D10 38 61 00 8C */ addi r3, r1, 0x8c /* 800D6DB4 000D3D14 4B FE C7 AD */ bl __ct__11CDamageInfoFR12CInputStream /* 800D6DB8 000D3D18 7E C3 B3 78 */ mr r3, r22 /* 800D6DBC 000D3D1C 48 26 7E C9 */ bl ReadLong__12CInputStreamFv /* 800D6DC0 000D3D20 7C 7E 1B 78 */ mr r30, r3 /* 800D6DC4 000D3D24 7E C3 B3 78 */ mr r3, r22 /* 800D6DC8 000D3D28 48 26 7E BD */ bl ReadLong__12CInputStreamFv /* 800D6DCC 000D3D2C 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800D6DD0 000D3D30 7C 7F 1B 78 */ mr r31, r3 /* 800D6DD4 000D3D34 80 81 03 2C */ lwz r4, 0x32c(r1) /* 800D6DD8 000D3D38 38 65 00 04 */ addi r3, r5, 4 /* 800D6DDC 000D3D3C 48 26 4E F1 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D6DE0 000D3D40 3C 03 BE B2 */ addis r0, r3, 0xbeb2 /* 800D6DE4 000D3D44 28 00 43 53 */ cmplwi r0, 0x4353 /* 800D6DE8 000D3D48 41 82 00 20 */ beq lbl_800D6E08 /* 800D6DEC 000D3D4C 38 61 01 D8 */ addi r3, r1, 0x1d8 /* 800D6DF0 000D3D50 38 80 FF FF */ li r4, -1 /* 800D6DF4 000D3D54 48 02 F8 15 */ bl __dt__16CLightParametersFv /* 800D6DF8 000D3D58 38 61 00 44 */ addi r3, r1, 0x44 /* 800D6DFC 000D3D5C 48 26 6C E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D6E00 000D3D60 38 60 00 00 */ li r3, 0 /* 800D6E04 000D3D64 48 00 01 48 */ b lbl_800D6F4C lbl_800D6E08: /* 800D6E08 000D3D68 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D6E0C 000D3D6C 3A C0 00 00 */ li r22, 0 /* 800D6E10 000D3D70 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D6E14 000D3D74 38 60 07 30 */ li r3, 0x730 /* 800D6E18 000D3D78 38 84 00 0D */ addi r4, r4, 0xd /* 800D6E1C 000D3D7C 38 A0 00 00 */ li r5, 0 /* 800D6E20 000D3D80 48 23 EA 4D */ bl __nw__FUlPCcPCc /* 800D6E24 000D3D84 7C 7C 1B 79 */ or. r28, r3, r3 /* 800D6E28 000D3D88 41 82 00 F8 */ beq lbl_800D6F20 /* 800D6E2C 000D3D8C 56 A3 06 3E */ clrlwi r3, r21, 0x18 /* 800D6E30 000D3D90 82 A1 00 8C */ lwz r21, 0x8c(r1) /* 800D6E34 000D3D94 82 C1 00 90 */ lwz r22, 0x90(r1) /* 800D6E38 000D3D98 7C 03 00 D0 */ neg r0, r3 /* 800D6E3C 000D3D9C 81 81 00 94 */ lwz r12, 0x94(r1) /* 800D6E40 000D3DA0 38 A0 00 01 */ li r5, 1 /* 800D6E44 000D3DA4 81 61 00 98 */ lwz r11, 0x98(r1) /* 800D6E48 000D3DA8 7C 00 1B 78 */ or r0, r0, r3 /* 800D6E4C 000D3DAC 81 41 00 9C */ lwz r10, 0x9c(r1) /* 800D6E50 000D3DB0 3B 61 00 70 */ addi r27, r1, 0x70 /* 800D6E54 000D3DB4 81 21 00 A0 */ lwz r9, 0xa0(r1) /* 800D6E58 000D3DB8 54 1A 0F FE */ srwi r26, r0, 0x1f /* 800D6E5C 000D3DBC 81 01 00 A4 */ lwz r8, 0xa4(r1) /* 800D6E60 000D3DC0 38 61 01 24 */ addi r3, r1, 0x124 /* 800D6E64 000D3DC4 80 E1 03 2C */ lwz r7, 0x32c(r1) /* 800D6E68 000D3DC8 38 81 00 54 */ addi r4, r1, 0x54 /* 800D6E6C 000D3DCC 80 C1 03 30 */ lwz r6, 0x330(r1) /* 800D6E70 000D3DD0 C0 41 00 38 */ lfs f2, 0x38(r1) /* 800D6E74 000D3DD4 C0 21 00 3C */ lfs f1, 0x3c(r1) /* 800D6E78 000D3DD8 C0 01 00 40 */ lfs f0, 0x40(r1) /* 800D6E7C 000D3DDC 80 01 03 34 */ lwz r0, 0x334(r1) /* 800D6E80 000D3DE0 92 A1 00 70 */ stw r21, 0x70(r1) /* 800D6E84 000D3DE4 92 C1 00 74 */ stw r22, 0x74(r1) /* 800D6E88 000D3DE8 91 81 00 78 */ stw r12, 0x78(r1) /* 800D6E8C 000D3DEC 91 61 00 7C */ stw r11, 0x7c(r1) /* 800D6E90 000D3DF0 91 41 00 80 */ stw r10, 0x80(r1) /* 800D6E94 000D3DF4 91 21 00 84 */ stw r9, 0x84(r1) /* 800D6E98 000D3DF8 91 01 00 88 */ stw r8, 0x88(r1) /* 800D6E9C 000D3DFC 90 E1 00 54 */ stw r7, 0x54(r1) /* 800D6EA0 000D3E00 90 C1 00 58 */ stw r6, 0x58(r1) /* 800D6EA4 000D3E04 D0 41 00 5C */ stfs f2, 0x5c(r1) /* 800D6EA8 000D3E08 D0 21 00 60 */ stfs f1, 0x60(r1) /* 800D6EAC 000D3E0C D0 01 00 64 */ stfs f0, 0x64(r1) /* 800D6EB0 000D3E10 98 A1 00 68 */ stb r5, 0x68(r1) /* 800D6EB4 000D3E14 90 01 00 6C */ stw r0, 0x6c(r1) /* 800D6EB8 000D3E18 48 03 FC 9D */ bl __ct__10CModelDataFRC8CAnimRes /* 800D6EBC 000D3E1C 7E E4 BB 78 */ mr r4, r23 /* 800D6EC0 000D3E20 38 61 00 28 */ addi r3, r1, 0x28 /* 800D6EC4 000D3E24 3A C0 00 01 */ li r22, 1 /* 800D6EC8 000D3E28 4B F7 62 15 */ bl AllocateUniqueId__13CStateManagerFv /* 800D6ECC 000D3E2C A0 81 00 28 */ lhz r4, 0x28(r1) /* 800D6ED0 000D3E30 39 21 00 A8 */ addi r9, r1, 0xa8 /* 800D6ED4 000D3E34 38 01 01 D8 */ addi r0, r1, 0x1d8 /* 800D6ED8 000D3E38 7F 83 E3 78 */ mr r3, r28 /* 800D6EDC 000D3E3C B0 81 00 2C */ sth r4, 0x2c(r1) /* 800D6EE0 000D3E40 7F 06 C3 78 */ mr r6, r24 /* 800D6EE4 000D3E44 7F 2A CB 78 */ mr r10, r25 /* 800D6EE8 000D3E48 38 81 00 2C */ addi r4, r1, 0x2c /* 800D6EEC 000D3E4C 93 41 00 08 */ stw r26, 8(r1) /* 800D6EF0 000D3E50 38 A1 00 44 */ addi r5, r1, 0x44 /* 800D6EF4 000D3E54 38 E1 00 F4 */ addi r7, r1, 0xf4 /* 800D6EF8 000D3E58 39 01 01 24 */ addi r8, r1, 0x124 /* 800D6EFC 000D3E5C 91 21 00 0C */ stw r9, 0xc(r1) /* 800D6F00 000D3E60 39 21 02 40 */ addi r9, r1, 0x240 /* 800D6F04 000D3E64 90 01 00 10 */ stw r0, 0x10(r1) /* 800D6F08 000D3E68 93 A1 00 14 */ stw r29, 0x14(r1) /* 800D6F0C 000D3E6C 93 61 00 18 */ stw r27, 0x18(r1) /* 800D6F10 000D3E70 93 C1 00 1C */ stw r30, 0x1c(r1) /* 800D6F14 000D3E74 93 E1 00 20 */ stw r31, 0x20(r1) /* 800D6F18 000D3E78 48 03 9C E5 */ bl "__ct__8CWarWaspF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned11EFlavorTypeQ210CPatterned13EColliderTypeRC11CDamageInfoRC16CActorParametersUiRC11CDamageInfoUiUi" /* 800D6F1C 000D3E7C 7C 7C 1B 78 */ mr r28, r3 lbl_800D6F20: /* 800D6F20 000D3E80 7E C0 07 75 */ extsb. r0, r22 /* 800D6F24 000D3E84 41 82 00 10 */ beq lbl_800D6F34 /* 800D6F28 000D3E88 38 61 01 24 */ addi r3, r1, 0x124 /* 800D6F2C 000D3E8C 38 80 FF FF */ li r4, -1 /* 800D6F30 000D3E90 48 03 FB 1D */ bl __dt__10CModelDataFv lbl_800D6F34: /* 800D6F34 000D3E94 38 61 01 D8 */ addi r3, r1, 0x1d8 /* 800D6F38 000D3E98 38 80 FF FF */ li r4, -1 /* 800D6F3C 000D3E9C 48 02 F6 CD */ bl __dt__16CLightParametersFv /* 800D6F40 000D3EA0 38 61 00 44 */ addi r3, r1, 0x44 /* 800D6F44 000D3EA4 48 26 6B 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D6F48 000D3EA8 7F 83 E3 78 */ mr r3, r28 lbl_800D6F4C: /* 800D6F4C 000D3EAC BA A1 03 84 */ lmw r21, 0x384(r1) /* 800D6F50 000D3EB0 80 01 03 B4 */ lwz r0, 0x3b4(r1) /* 800D6F54 000D3EB4 7C 08 03 A6 */ mtlr r0 /* 800D6F58 000D3EB8 38 21 03 B0 */ addi r1, r1, 0x3b0 /* 800D6F5C 000D3EBC 4E 80 00 20 */ blr .global LoadBeetle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadBeetle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D6F60 000D3EC0 94 21 FB 60 */ stwu r1, -0x4a0(r1) /* 800D6F64 000D3EC4 7C 08 02 A6 */ mflr r0 /* 800D6F68 000D3EC8 90 01 04 A4 */ stw r0, 0x4a4(r1) /* 800D6F6C 000D3ECC DB E1 04 90 */ stfd f31, 0x490(r1) /* 800D6F70 000D3ED0 F3 E1 04 98 */ psq_st f31, 1176(r1), 0, qr0 /* 800D6F74 000D3ED4 DB C1 04 80 */ stfd f30, 0x480(r1) /* 800D6F78 000D3ED8 F3 C1 04 88 */ psq_st f30, 1160(r1), 0, qr0 /* 800D6F7C 000D3EDC DB A1 04 70 */ stfd f29, 0x470(r1) /* 800D6F80 000D3EE0 F3 A1 04 78 */ psq_st f29, 1144(r1), 0, qr0 /* 800D6F84 000D3EE4 BF 41 04 58 */ stmw r26, 0x458(r1) /* 800D6F88 000D3EE8 2C 05 00 10 */ cmpwi r5, 0x10 /* 800D6F8C 000D3EEC 7C 7B 1B 78 */ mr r27, r3 /* 800D6F90 000D3EF0 7C 9A 23 78 */ mr r26, r4 /* 800D6F94 000D3EF4 7C DC 33 78 */ mr r28, r6 /* 800D6F98 000D3EF8 41 82 00 0C */ beq lbl_800D6FA4 /* 800D6F9C 000D3EFC 38 60 00 00 */ li r3, 0 /* 800D6FA0 000D3F00 48 00 03 3C */ b lbl_800D72DC lbl_800D6FA4: /* 800D6FA4 000D3F04 4B F6 E2 41 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D6FA8 000D3F08 7C 64 1B 78 */ mr r4, r3 /* 800D6FAC 000D3F0C 38 61 00 6C */ addi r3, r1, 0x6c /* 800D6FB0 000D3F10 48 26 71 B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D6FB4 000D3F14 7F 43 D3 78 */ mr r3, r26 /* 800D6FB8 000D3F18 48 26 7C CD */ bl ReadLong__12CInputStreamFv /* 800D6FBC 000D3F1C 7C 60 1B 78 */ mr r0, r3 /* 800D6FC0 000D3F20 7F 44 D3 78 */ mr r4, r26 /* 800D6FC4 000D3F24 38 61 00 C8 */ addi r3, r1, 0xc8 /* 800D6FC8 000D3F28 7C 1D 03 78 */ mr r29, r0 /* 800D6FCC 000D3F2C 48 00 35 C1 */ bl LoadEditorTransform__FR12CInputStream /* 800D6FD0 000D3F30 38 61 00 F8 */ addi r3, r1, 0xf8 /* 800D6FD4 000D3F34 38 81 00 C8 */ addi r4, r1, 0xc8 /* 800D6FD8 000D3F38 48 23 BB 9D */ bl __ct__12CTransform4fFRC12CTransform4f /* 800D6FDC 000D3F3C 7F 44 D3 78 */ mr r4, r26 /* 800D6FE0 000D3F40 38 61 00 60 */ addi r3, r1, 0x60 /* 800D6FE4 000D3F44 48 23 DB A9 */ bl __ct__9CVector3fFR12CInputStream /* 800D6FE8 000D3F48 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D6FEC 000D3F4C 7F 44 D3 78 */ mr r4, r26 /* 800D6FF0 000D3F50 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l /* 800D6FF4 000D3F54 38 61 00 30 */ addi r3, r1, 0x30 /* 800D6FF8 000D3F58 38 A5 02 51 */ addi r5, r5, 0x251 /* 800D6FFC 000D3F5C 48 02 E8 2D */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream /* 800D7000 000D3F60 88 01 00 30 */ lbz r0, 0x30(r1) /* 800D7004 000D3F64 80 A1 00 34 */ lwz r5, 0x34(r1) /* 800D7008 000D3F68 28 00 00 00 */ cmplwi r0, 0 /* 800D700C 000D3F6C 40 82 00 14 */ bne lbl_800D7020 /* 800D7010 000D3F70 38 61 00 6C */ addi r3, r1, 0x6c /* 800D7014 000D3F74 48 26 6A CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D7018 000D3F78 38 60 00 00 */ li r3, 0 /* 800D701C 000D3F7C 48 00 02 C0 */ b lbl_800D72DC lbl_800D7020: /* 800D7020 000D3F80 7F 44 D3 78 */ mr r4, r26 /* 800D7024 000D3F84 38 61 03 14 */ addi r3, r1, 0x314 /* 800D7028 000D3F88 48 02 E8 51 */ bl __ct__14CPatternedInfoFR12CInputStreamUi /* 800D702C 000D3F8C 7F 44 D3 78 */ mr r4, r26 /* 800D7030 000D3F90 38 61 01 74 */ addi r3, r1, 0x174 /* 800D7034 000D3F94 48 00 2D 41 */ bl LoadActorParameters__FR12CInputStream /* 800D7038 000D3F98 38 61 02 AC */ addi r3, r1, 0x2ac /* 800D703C 000D3F9C 38 81 01 74 */ addi r4, r1, 0x174 /* 800D7040 000D3FA0 4B FE E5 DD */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D7044 000D3FA4 38 61 01 74 */ addi r3, r1, 0x174 /* 800D7048 000D3FA8 38 80 FF FF */ li r4, -1 /* 800D704C 000D3FAC 48 02 F5 BD */ bl __dt__16CLightParametersFv /* 800D7050 000D3FB0 7F 44 D3 78 */ mr r4, r26 /* 800D7054 000D3FB4 38 61 00 AC */ addi r3, r1, 0xac /* 800D7058 000D3FB8 4B FE C5 09 */ bl __ct__11CDamageInfoFR12CInputStream /* 800D705C 000D3FBC 7F 44 D3 78 */ mr r4, r26 /* 800D7060 000D3FC0 38 61 00 48 */ addi r3, r1, 0x48 /* 800D7064 000D3FC4 48 23 DB 29 */ bl __ct__9CVector3fFR12CInputStream /* 800D7068 000D3FC8 C0 41 00 48 */ lfs f2, 0x48(r1) /* 800D706C 000D3FCC 7F 43 D3 78 */ mr r3, r26 /* 800D7070 000D3FD0 C0 21 00 4C */ lfs f1, 0x4c(r1) /* 800D7074 000D3FD4 C0 01 00 50 */ lfs f0, 0x50(r1) /* 800D7078 000D3FD8 D0 41 00 54 */ stfs f2, 0x54(r1) /* 800D707C 000D3FDC D0 21 00 58 */ stfs f1, 0x58(r1) /* 800D7080 000D3FE0 D0 01 00 5C */ stfs f0, 0x5c(r1) /* 800D7084 000D3FE4 48 26 7B A5 */ bl ReadFloat__12CInputStreamFv /* 800D7088 000D3FE8 FF E0 08 90 */ fmr f31, f1 /* 800D708C 000D3FEC 7F 44 D3 78 */ mr r4, r26 /* 800D7090 000D3FF0 38 61 02 44 */ addi r3, r1, 0x244 /* 800D7094 000D3FF4 48 02 BA C5 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 800D7098 000D3FF8 7F 44 D3 78 */ mr r4, r26 /* 800D709C 000D3FFC 38 61 01 DC */ addi r3, r1, 0x1dc /* 800D70A0 000D4000 48 02 BA B9 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 800D70A4 000D4004 7F 43 D3 78 */ mr r3, r26 /* 800D70A8 000D4008 48 26 7B DD */ bl ReadLong__12CInputStreamFv /* 800D70AC 000D400C 7C 7E 1B 78 */ mr r30, r3 /* 800D70B0 000D4010 7F 43 D3 78 */ mr r3, r26 /* 800D70B4 000D4014 48 26 7B D1 */ bl ReadLong__12CInputStreamFv /* 800D70B8 000D4018 7C 7F 1B 78 */ mr r31, r3 /* 800D70BC 000D401C 7F 43 D3 78 */ mr r3, r26 /* 800D70C0 000D4020 48 26 7B 69 */ bl ReadFloat__12CInputStreamFv /* 800D70C4 000D4024 FF C0 08 90 */ fmr f30, f1 /* 800D70C8 000D4028 7F 43 D3 78 */ mr r3, r26 /* 800D70CC 000D402C 48 26 7B 5D */ bl ReadFloat__12CInputStreamFv /* 800D70D0 000D4030 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 800D70D4 000D4034 FF A0 08 90 */ fmr f29, f1 /* 800D70D8 000D4038 80 81 04 00 */ lwz r4, 0x400(r1) /* 800D70DC 000D403C 38 63 00 04 */ addi r3, r3, 4 /* 800D70E0 000D4040 48 26 4B ED */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D70E4 000D4044 3C 03 BE B2 */ addis r0, r3, 0xbeb2 /* 800D70E8 000D4048 28 00 43 53 */ cmplwi r0, 0x4353 /* 800D70EC 000D404C 41 82 00 20 */ beq lbl_800D710C /* 800D70F0 000D4050 38 61 02 AC */ addi r3, r1, 0x2ac /* 800D70F4 000D4054 38 80 FF FF */ li r4, -1 /* 800D70F8 000D4058 48 02 F5 11 */ bl __dt__16CLightParametersFv /* 800D70FC 000D405C 38 61 00 6C */ addi r3, r1, 0x6c /* 800D7100 000D4060 48 26 69 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D7104 000D4064 38 60 00 00 */ li r3, 0 /* 800D7108 000D4068 48 00 01 D4 */ b lbl_800D72DC lbl_800D710C: /* 800D710C 000D406C 38 00 00 00 */ li r0, 0 /* 800D7110 000D4070 2C 1D 00 01 */ cmpwi r29, 1 /* 800D7114 000D4074 98 01 00 A8 */ stb r0, 0xa8(r1) /* 800D7118 000D4078 40 82 00 A8 */ bne lbl_800D71C0 /* 800D711C 000D407C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 800D7120 000D4080 7F C4 F3 78 */ mr r4, r30 /* 800D7124 000D4084 38 63 00 04 */ addi r3, r3, 4 /* 800D7128 000D4088 48 26 4B A5 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D712C 000D408C 28 03 00 00 */ cmplwi r3, 0 /* 800D7130 000D4090 40 82 00 28 */ bne lbl_800D7158 /* 800D7134 000D4094 38 00 00 00 */ li r0, 0 /* 800D7138 000D4098 38 61 02 AC */ addi r3, r1, 0x2ac /* 800D713C 000D409C 98 01 00 A8 */ stb r0, 0xa8(r1) /* 800D7140 000D40A0 38 80 FF FF */ li r4, -1 /* 800D7144 000D40A4 48 02 F4 C5 */ bl __dt__16CLightParametersFv /* 800D7148 000D40A8 38 61 00 6C */ addi r3, r1, 0x6c /* 800D714C 000D40AC 48 26 69 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D7150 000D40B0 38 60 00 00 */ li r3, 0 /* 800D7154 000D40B4 48 00 01 88 */ b lbl_800D72DC lbl_800D7158: /* 800D7158 000D40B8 88 01 00 A8 */ lbz r0, 0xa8(r1) /* 800D715C 000D40BC C0 41 00 60 */ lfs f2, 0x60(r1) /* 800D7160 000D40C0 C0 21 00 64 */ lfs f1, 0x64(r1) /* 800D7164 000D40C4 28 00 00 00 */ cmplwi r0, 0 /* 800D7168 000D40C8 C0 01 00 68 */ lfs f0, 0x68(r1) /* 800D716C 000D40CC 93 C1 00 38 */ stw r30, 0x38(r1) /* 800D7170 000D40D0 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 800D7174 000D40D4 D0 21 00 40 */ stfs f1, 0x40(r1) /* 800D7178 000D40D8 D0 01 00 44 */ stfs f0, 0x44(r1) /* 800D717C 000D40DC 40 82 00 28 */ bne lbl_800D71A4 /* 800D7180 000D40E0 34 61 00 98 */ addic. r3, r1, 0x98 /* 800D7184 000D40E4 41 82 00 14 */ beq lbl_800D7198 /* 800D7188 000D40E8 93 C3 00 00 */ stw r30, 0(r3) /* 800D718C 000D40EC D0 43 00 04 */ stfs f2, 4(r3) /* 800D7190 000D40F0 D0 23 00 08 */ stfs f1, 8(r3) /* 800D7194 000D40F4 D0 03 00 0C */ stfs f0, 0xc(r3) lbl_800D7198: /* 800D7198 000D40F8 38 00 00 01 */ li r0, 1 /* 800D719C 000D40FC 98 01 00 A8 */ stb r0, 0xa8(r1) /* 800D71A0 000D4100 48 00 00 20 */ b lbl_800D71C0 lbl_800D71A4: /* 800D71A4 000D4104 80 81 00 3C */ lwz r4, 0x3c(r1) /* 800D71A8 000D4108 80 61 00 40 */ lwz r3, 0x40(r1) /* 800D71AC 000D410C 80 01 00 44 */ lwz r0, 0x44(r1) /* 800D71B0 000D4110 93 C1 00 98 */ stw r30, 0x98(r1) /* 800D71B4 000D4114 90 81 00 9C */ stw r4, 0x9c(r1) /* 800D71B8 000D4118 90 61 00 A0 */ stw r3, 0xa0(r1) /* 800D71BC 000D411C 90 01 00 A4 */ stw r0, 0xa4(r1) lbl_800D71C0: /* 800D71C0 000D4120 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D71C4 000D4124 3B 40 00 00 */ li r26, 0 /* 800D71C8 000D4128 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D71CC 000D412C 38 60 08 40 */ li r3, 0x840 /* 800D71D0 000D4130 38 84 00 0D */ addi r4, r4, 0xd /* 800D71D4 000D4134 38 A0 00 00 */ li r5, 0 /* 800D71D8 000D4138 48 23 E6 95 */ bl __nw__FUlPCcPCc /* 800D71DC 000D413C 7C 7E 1B 79 */ or. r30, r3, r3 /* 800D71E0 000D4140 41 82 00 C8 */ beq lbl_800D72A8 /* 800D71E4 000D4144 80 E1 04 00 */ lwz r7, 0x400(r1) /* 800D71E8 000D4148 38 A0 00 01 */ li r5, 1 /* 800D71EC 000D414C 80 C1 04 04 */ lwz r6, 0x404(r1) /* 800D71F0 000D4150 38 61 01 28 */ addi r3, r1, 0x128 /* 800D71F4 000D4154 C0 41 00 60 */ lfs f2, 0x60(r1) /* 800D71F8 000D4158 38 81 00 7C */ addi r4, r1, 0x7c /* 800D71FC 000D415C C0 21 00 64 */ lfs f1, 0x64(r1) /* 800D7200 000D4160 C0 01 00 68 */ lfs f0, 0x68(r1) /* 800D7204 000D4164 80 01 04 08 */ lwz r0, 0x408(r1) /* 800D7208 000D4168 90 E1 00 7C */ stw r7, 0x7c(r1) /* 800D720C 000D416C 90 C1 00 80 */ stw r6, 0x80(r1) /* 800D7210 000D4170 D0 41 00 84 */ stfs f2, 0x84(r1) /* 800D7214 000D4174 D0 21 00 88 */ stfs f1, 0x88(r1) /* 800D7218 000D4178 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 800D721C 000D417C 98 A1 00 90 */ stb r5, 0x90(r1) /* 800D7220 000D4180 90 01 00 94 */ stw r0, 0x94(r1) /* 800D7224 000D4184 48 03 F9 31 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D7228 000D4188 7F 64 DB 78 */ mr r4, r27 /* 800D722C 000D418C 38 61 00 28 */ addi r3, r1, 0x28 /* 800D7230 000D4190 3B 40 00 01 */ li r26, 1 /* 800D7234 000D4194 4B F7 5E A9 */ bl AllocateUniqueId__13CStateManagerFv /* 800D7238 000D4198 A0 01 00 28 */ lhz r0, 0x28(r1) /* 800D723C 000D419C 38 61 00 AC */ addi r3, r1, 0xac /* 800D7240 000D41A0 38 81 01 DC */ addi r4, r1, 0x1dc /* 800D7244 000D41A4 38 A1 00 54 */ addi r5, r1, 0x54 /* 800D7248 000D41A8 B0 01 00 2C */ sth r0, 0x2c(r1) /* 800D724C 000D41AC 39 21 02 44 */ addi r9, r1, 0x244 /* 800D7250 000D41B0 39 61 02 AC */ addi r11, r1, 0x2ac /* 800D7254 000D41B4 FC 20 F0 90 */ fmr f1, f30 /* 800D7258 000D41B8 93 E1 00 08 */ stw r31, 8(r1) /* 800D725C 000D41BC FC 40 E8 90 */ fmr f2, f29 /* 800D7260 000D41C0 FC 60 F8 90 */ fmr f3, f31 /* 800D7264 000D41C4 38 01 00 98 */ addi r0, r1, 0x98 /* 800D7268 000D41C8 90 61 00 0C */ stw r3, 0xc(r1) /* 800D726C 000D41CC 7F C3 F3 78 */ mr r3, r30 /* 800D7270 000D41D0 7F 86 E3 78 */ mr r6, r28 /* 800D7274 000D41D4 90 81 00 10 */ stw r4, 0x10(r1) /* 800D7278 000D41D8 7F AA EB 78 */ mr r10, r29 /* 800D727C 000D41DC 38 81 00 2C */ addi r4, r1, 0x2c /* 800D7280 000D41E0 90 A1 00 14 */ stw r5, 0x14(r1) /* 800D7284 000D41E4 38 A1 00 6C */ addi r5, r1, 0x6c /* 800D7288 000D41E8 38 E1 00 F8 */ addi r7, r1, 0xf8 /* 800D728C 000D41EC 39 01 01 28 */ addi r8, r1, 0x128 /* 800D7290 000D41F0 91 21 00 18 */ stw r9, 0x18(r1) /* 800D7294 000D41F4 39 21 03 14 */ addi r9, r1, 0x314 /* 800D7298 000D41F8 91 61 00 1C */ stw r11, 0x1c(r1) /* 800D729C 000D41FC 90 01 00 20 */ stw r0, 0x20(r1) /* 800D72A0 000D4200 48 01 09 21 */ bl "__ct__7CBeetleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned11EFlavorTypeQ27CBeetle13EEntranceTypeRC11CDamageInfoRC20CDamageVulnerabilityRC9CVector3ffRC20CDamageVulnerabilityRC16CActorParametersRCQ24rstl29optional_object<10CStaticRes>" /* 800D72A4 000D4204 7C 7E 1B 78 */ mr r30, r3 lbl_800D72A8: /* 800D72A8 000D4208 7F 40 07 75 */ extsb. r0, r26 /* 800D72AC 000D420C 41 82 00 10 */ beq lbl_800D72BC /* 800D72B0 000D4210 38 61 01 28 */ addi r3, r1, 0x128 /* 800D72B4 000D4214 38 80 FF FF */ li r4, -1 /* 800D72B8 000D4218 48 03 F7 95 */ bl __dt__10CModelDataFv lbl_800D72BC: /* 800D72BC 000D421C 38 00 00 00 */ li r0, 0 /* 800D72C0 000D4220 38 61 02 AC */ addi r3, r1, 0x2ac /* 800D72C4 000D4224 98 01 00 A8 */ stb r0, 0xa8(r1) /* 800D72C8 000D4228 38 80 FF FF */ li r4, -1 /* 800D72CC 000D422C 48 02 F3 3D */ bl __dt__16CLightParametersFv /* 800D72D0 000D4230 38 61 00 6C */ addi r3, r1, 0x6c /* 800D72D4 000D4234 48 26 68 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D72D8 000D4238 7F C3 F3 78 */ mr r3, r30 lbl_800D72DC: /* 800D72DC 000D423C E3 E1 04 98 */ psq_l f31, 1176(r1), 0, qr0 /* 800D72E0 000D4240 CB E1 04 90 */ lfd f31, 0x490(r1) /* 800D72E4 000D4244 E3 C1 04 88 */ psq_l f30, 1160(r1), 0, qr0 /* 800D72E8 000D4248 CB C1 04 80 */ lfd f30, 0x480(r1) /* 800D72EC 000D424C E3 A1 04 78 */ psq_l f29, 1144(r1), 0, qr0 /* 800D72F0 000D4250 CB A1 04 70 */ lfd f29, 0x470(r1) /* 800D72F4 000D4254 BB 41 04 58 */ lmw r26, 0x458(r1) /* 800D72F8 000D4258 80 01 04 A4 */ lwz r0, 0x4a4(r1) /* 800D72FC 000D425C 7C 08 03 A6 */ mtlr r0 /* 800D7300 000D4260 38 21 04 A0 */ addi r1, r1, 0x4a0 /* 800D7304 000D4264 4E 80 00 20 */ blr .global LoadEnemy__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadEnemy__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D7308 000D4268 38 60 00 00 */ li r3, 0 /* 800D730C 000D426C 4E 80 00 20 */ blr .global LoadPickup__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadPickup__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D7310 000D4270 94 21 FC 40 */ stwu r1, -0x3c0(r1) /* 800D7314 000D4274 7C 08 02 A6 */ mflr r0 /* 800D7318 000D4278 90 01 03 C4 */ stw r0, 0x3c4(r1) /* 800D731C 000D427C DB E1 03 B0 */ stfd f31, 0x3b0(r1) /* 800D7320 000D4280 F3 E1 03 B8 */ psq_st f31, 952(r1), 0, qr0 /* 800D7324 000D4284 DB C1 03 A0 */ stfd f30, 0x3a0(r1) /* 800D7328 000D4288 F3 C1 03 A8 */ psq_st f30, 936(r1), 0, qr0 /* 800D732C 000D428C DB A1 03 90 */ stfd f29, 0x390(r1) /* 800D7330 000D4290 F3 A1 03 98 */ psq_st f29, 920(r1), 0, qr0 /* 800D7334 000D4294 DB 81 03 80 */ stfd f28, 0x380(r1) /* 800D7338 000D4298 F3 81 03 88 */ psq_st f28, 904(r1), 0, qr0 /* 800D733C 000D429C BE 41 03 48 */ stmw r18, 0x348(r1) /* 800D7340 000D42A0 2C 05 00 12 */ cmpwi r5, 0x12 /* 800D7344 000D42A4 7C 73 1B 78 */ mr r19, r3 /* 800D7348 000D42A8 7C 92 23 78 */ mr r18, r4 /* 800D734C 000D42AC 7C D4 33 78 */ mr r20, r6 /* 800D7350 000D42B0 41 82 00 0C */ beq lbl_800D735C /* 800D7354 000D42B4 38 60 00 00 */ li r3, 0 /* 800D7358 000D42B8 48 00 03 CC */ b lbl_800D7724 lbl_800D735C: /* 800D735C 000D42BC 7E 65 9B 78 */ mr r5, r19 /* 800D7360 000D42C0 38 61 02 F8 */ addi r3, r1, 0x2f8 /* 800D7364 000D42C4 48 00 31 19 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D7368 000D42C8 7E 44 93 78 */ mr r4, r18 /* 800D736C 000D42CC 38 61 00 58 */ addi r3, r1, 0x58 /* 800D7370 000D42D0 48 23 D8 1D */ bl __ct__9CVector3fFR12CInputStream /* 800D7374 000D42D4 7E 44 93 78 */ mr r4, r18 /* 800D7378 000D42D8 38 61 00 4C */ addi r3, r1, 0x4c /* 800D737C 000D42DC 48 23 D8 11 */ bl __ct__9CVector3fFR12CInputStream /* 800D7380 000D42E0 7E 43 93 78 */ mr r3, r18 /* 800D7384 000D42E4 48 26 79 01 */ bl ReadLong__12CInputStreamFv /* 800D7388 000D42E8 7C 7B 1B 78 */ mr r27, r3 /* 800D738C 000D42EC 7E 43 93 78 */ mr r3, r18 /* 800D7390 000D42F0 48 26 78 F5 */ bl ReadLong__12CInputStreamFv /* 800D7394 000D42F4 7C 7C 1B 78 */ mr r28, r3 /* 800D7398 000D42F8 7E 43 93 78 */ mr r3, r18 /* 800D739C 000D42FC 48 26 78 E9 */ bl ReadLong__12CInputStreamFv /* 800D73A0 000D4300 7C 7D 1B 78 */ mr r29, r3 /* 800D73A4 000D4304 7E 43 93 78 */ mr r3, r18 /* 800D73A8 000D4308 48 26 78 81 */ bl ReadFloat__12CInputStreamFv /* 800D73AC 000D430C FF E0 08 90 */ fmr f31, f1 /* 800D73B0 000D4310 7E 43 93 78 */ mr r3, r18 /* 800D73B4 000D4314 48 26 78 75 */ bl ReadFloat__12CInputStreamFv /* 800D73B8 000D4318 FF C0 08 90 */ fmr f30, f1 /* 800D73BC 000D431C 7E 43 93 78 */ mr r3, r18 /* 800D73C0 000D4320 48 26 78 69 */ bl ReadFloat__12CInputStreamFv /* 800D73C4 000D4324 FF A0 08 90 */ fmr f29, f1 /* 800D73C8 000D4328 7E 43 93 78 */ mr r3, r18 /* 800D73CC 000D432C 48 26 78 B9 */ bl ReadLong__12CInputStreamFv /* 800D73D0 000D4330 7C 7A 1B 78 */ mr r26, r3 /* 800D73D4 000D4334 7E 44 93 78 */ mr r4, r18 /* 800D73D8 000D4338 38 61 00 40 */ addi r3, r1, 0x40 /* 800D73DC 000D433C 48 00 30 31 */ bl LoadAnimationParameters__FR12CInputStream /* 800D73E0 000D4340 83 01 00 40 */ lwz r24, 0x40(r1) /* 800D73E4 000D4344 7E 44 93 78 */ mr r4, r18 /* 800D73E8 000D4348 82 E1 00 44 */ lwz r23, 0x44(r1) /* 800D73EC 000D434C 38 61 01 DC */ addi r3, r1, 0x1dc /* 800D73F0 000D4350 82 C1 00 48 */ lwz r22, 0x48(r1) /* 800D73F4 000D4354 48 00 29 81 */ bl LoadActorParameters__FR12CInputStream /* 800D73F8 000D4358 38 61 02 90 */ addi r3, r1, 0x290 /* 800D73FC 000D435C 38 81 01 DC */ addi r4, r1, 0x1dc /* 800D7400 000D4360 4B FE E2 1D */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D7404 000D4364 38 61 01 DC */ addi r3, r1, 0x1dc /* 800D7408 000D4368 38 80 FF FF */ li r4, -1 /* 800D740C 000D436C 48 02 F1 FD */ bl __dt__16CLightParametersFv /* 800D7410 000D4370 7E 43 93 78 */ mr r3, r18 /* 800D7414 000D4374 48 26 78 C9 */ bl ReadBool__12CInputStreamFv /* 800D7418 000D4378 7C 7E 1B 78 */ mr r30, r3 /* 800D741C 000D437C 7E 43 93 78 */ mr r3, r18 /* 800D7420 000D4380 48 26 78 09 */ bl ReadFloat__12CInputStreamFv /* 800D7424 000D4384 FF 80 08 90 */ fmr f28, f1 /* 800D7428 000D4388 7E 43 93 78 */ mr r3, r18 /* 800D742C 000D438C 48 26 78 59 */ bl ReadLong__12CInputStreamFv /* 800D7430 000D4390 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800D7434 000D4394 7C 7F 1B 78 */ mr r31, r3 /* 800D7438 000D4398 7F 44 D3 78 */ mr r4, r26 /* 800D743C 000D439C 38 65 00 04 */ addi r3, r5, 4 /* 800D7440 000D43A0 48 26 48 8D */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D7444 000D43A4 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800D7448 000D43A8 7C 72 1B 78 */ mr r18, r3 /* 800D744C 000D43AC 7F 04 C3 78 */ mr r4, r24 /* 800D7450 000D43B0 38 65 00 04 */ addi r3, r5, 4 /* 800D7454 000D43B4 48 26 48 79 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D7458 000D43B8 28 12 00 00 */ cmplwi r18, 0 /* 800D745C 000D43BC 7C 72 1B 78 */ mr r18, r3 /* 800D7460 000D43C0 40 82 00 28 */ bne lbl_800D7488 /* 800D7464 000D43C4 28 12 00 00 */ cmplwi r18, 0 /* 800D7468 000D43C8 40 82 00 20 */ bne lbl_800D7488 /* 800D746C 000D43CC 38 61 02 90 */ addi r3, r1, 0x290 /* 800D7470 000D43D0 38 80 FF FF */ li r4, -1 /* 800D7474 000D43D4 48 02 F1 95 */ bl __dt__16CLightParametersFv /* 800D7478 000D43D8 38 61 02 F8 */ addi r3, r1, 0x2f8 /* 800D747C 000D43DC 48 26 66 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D7480 000D43E0 38 60 00 00 */ li r3, 0 /* 800D7484 000D43E4 48 00 02 A0 */ b lbl_800D7724 lbl_800D7488: /* 800D7488 000D43E8 80 14 00 00 */ lwz r0, 0(r20) /* 800D748C 000D43EC 3A A1 03 08 */ addi r21, r1, 0x308 /* 800D7490 000D43F0 7E 64 9B 78 */ mr r4, r19 /* 800D7494 000D43F4 38 61 00 98 */ addi r3, r1, 0x98 /* 800D7498 000D43F8 90 01 00 28 */ stw r0, 0x28(r1) /* 800D749C 000D43FC 38 A1 00 2C */ addi r5, r1, 0x2c /* 800D74A0 000D4400 38 C1 00 58 */ addi r6, r1, 0x58 /* 800D74A4 000D4404 38 E1 00 4C */ addi r7, r1, 0x4c /* 800D74A8 000D4408 90 01 00 2C */ stw r0, 0x2c(r1) /* 800D74AC 000D440C 48 00 32 71 */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f /* 800D74B0 000D4410 C0 01 00 58 */ lfs f0, 0x58(r1) /* 800D74B4 000D4414 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800D74B8 000D4418 C0 C1 00 98 */ lfs f6, 0x98(r1) /* 800D74BC 000D441C C0 A1 00 9C */ lfs f5, 0x9c(r1) /* 800D74C0 000D4420 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800D74C4 000D4424 C0 81 00 A0 */ lfs f4, 0xa0(r1) /* 800D74C8 000D4428 C0 61 00 A4 */ lfs f3, 0xa4(r1) /* 800D74CC 000D442C C0 41 00 A8 */ lfs f2, 0xa8(r1) /* 800D74D0 000D4430 C0 01 00 AC */ lfs f0, 0xac(r1) /* 800D74D4 000D4434 D0 C1 00 B0 */ stfs f6, 0xb0(r1) /* 800D74D8 000D4438 D0 A1 00 B4 */ stfs f5, 0xb4(r1) /* 800D74DC 000D443C D0 81 00 B8 */ stfs f4, 0xb8(r1) /* 800D74E0 000D4440 D0 61 00 BC */ stfs f3, 0xbc(r1) /* 800D74E4 000D4444 D0 41 00 C0 */ stfs f2, 0xc0(r1) /* 800D74E8 000D4448 D0 01 00 C4 */ stfs f0, 0xc4(r1) /* 800D74EC 000D444C 40 80 00 0C */ bge lbl_800D74F8 /* 800D74F0 000D4450 3B 20 00 01 */ li r25, 1 /* 800D74F4 000D4454 48 00 00 30 */ b lbl_800D7524 lbl_800D74F8: /* 800D74F8 000D4458 C0 01 00 5C */ lfs f0, 0x5c(r1) /* 800D74FC 000D445C FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800D7500 000D4460 40 80 00 0C */ bge lbl_800D750C /* 800D7504 000D4464 3B 20 00 01 */ li r25, 1 /* 800D7508 000D4468 48 00 00 1C */ b lbl_800D7524 lbl_800D750C: /* 800D750C 000D446C C0 01 00 60 */ lfs f0, 0x60(r1) /* 800D7510 000D4470 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800D7514 000D4474 40 80 00 0C */ bge lbl_800D7520 /* 800D7518 000D4478 3B 20 00 01 */ li r25, 1 /* 800D751C 000D447C 48 00 00 08 */ b lbl_800D7524 lbl_800D7520: /* 800D7520 000D4480 3B 20 00 00 */ li r25, 0 lbl_800D7524: /* 800D7524 000D4484 38 61 01 90 */ addi r3, r1, 0x190 /* 800D7528 000D4488 4B F6 32 7D */ bl CModelDataNull__10CModelDataFv /* 800D752C 000D448C 38 61 02 44 */ addi r3, r1, 0x244 /* 800D7530 000D4490 38 81 01 90 */ addi r4, r1, 0x190 /* 800D7534 000D4494 4B F4 18 59 */ bl __ct__10CModelDataFRC10CModelData /* 800D7538 000D4498 38 61 01 90 */ addi r3, r1, 0x190 /* 800D753C 000D449C 38 80 FF FF */ li r4, -1 /* 800D7540 000D44A0 48 03 F5 0D */ bl __dt__10CModelDataFv /* 800D7544 000D44A4 3C 12 BE B2 */ addis r0, r18, 0xbeb2 /* 800D7548 000D44A8 28 00 43 53 */ cmplwi r0, 0x4353 /* 800D754C 000D44AC 40 82 00 58 */ bne lbl_800D75A4 /* 800D7550 000D44B0 C0 41 03 38 */ lfs f2, 0x338(r1) /* 800D7554 000D44B4 38 00 00 01 */ li r0, 1 /* 800D7558 000D44B8 C0 21 03 3C */ lfs f1, 0x33c(r1) /* 800D755C 000D44BC 38 61 01 44 */ addi r3, r1, 0x144 /* 800D7560 000D44C0 C0 01 03 40 */ lfs f0, 0x340(r1) /* 800D7564 000D44C4 38 81 00 7C */ addi r4, r1, 0x7c /* 800D7568 000D44C8 93 01 00 7C */ stw r24, 0x7c(r1) /* 800D756C 000D44CC 92 E1 00 80 */ stw r23, 0x80(r1) /* 800D7570 000D44D0 D0 41 00 84 */ stfs f2, 0x84(r1) /* 800D7574 000D44D4 D0 21 00 88 */ stfs f1, 0x88(r1) /* 800D7578 000D44D8 D0 01 00 8C */ stfs f0, 0x8c(r1) /* 800D757C 000D44DC 98 01 00 90 */ stb r0, 0x90(r1) /* 800D7580 000D44E0 92 C1 00 94 */ stw r22, 0x94(r1) /* 800D7584 000D44E4 48 03 F5 D1 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D7588 000D44E8 38 61 02 44 */ addi r3, r1, 0x244 /* 800D758C 000D44EC 38 81 01 44 */ addi r4, r1, 0x144 /* 800D7590 000D44F0 4B FF E7 85 */ bl __as__10CModelDataFRC10CModelData /* 800D7594 000D44F4 38 61 01 44 */ addi r3, r1, 0x144 /* 800D7598 000D44F8 38 80 FF FF */ li r4, -1 /* 800D759C 000D44FC 48 03 F4 B1 */ bl __dt__10CModelDataFv /* 800D75A0 000D4500 48 00 00 44 */ b lbl_800D75E4 lbl_800D75A4: /* 800D75A4 000D4504 C0 41 03 38 */ lfs f2, 0x338(r1) /* 800D75A8 000D4508 38 61 00 F8 */ addi r3, r1, 0xf8 /* 800D75AC 000D450C C0 21 03 3C */ lfs f1, 0x33c(r1) /* 800D75B0 000D4510 38 81 00 30 */ addi r4, r1, 0x30 /* 800D75B4 000D4514 C0 01 03 40 */ lfs f0, 0x340(r1) /* 800D75B8 000D4518 93 41 00 30 */ stw r26, 0x30(r1) /* 800D75BC 000D451C D0 41 00 34 */ stfs f2, 0x34(r1) /* 800D75C0 000D4520 D0 21 00 38 */ stfs f1, 0x38(r1) /* 800D75C4 000D4524 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 800D75C8 000D4528 48 03 F7 95 */ bl __ct__10CModelDataFRC10CStaticRes /* 800D75CC 000D452C 38 61 02 44 */ addi r3, r1, 0x244 /* 800D75D0 000D4530 38 81 00 F8 */ addi r4, r1, 0xf8 /* 800D75D4 000D4534 4B FF E7 41 */ bl __as__10CModelDataFRC10CModelData /* 800D75D8 000D4538 38 61 00 F8 */ addi r3, r1, 0xf8 /* 800D75DC 000D453C 38 80 FF FF */ li r4, -1 /* 800D75E0 000D4540 48 03 F4 6D */ bl __dt__10CModelDataFv lbl_800D75E4: /* 800D75E4 000D4544 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 800D75E8 000D4548 C0 21 00 58 */ lfs f1, 0x58(r1) /* 800D75EC 000D454C C4 03 66 A0 */ lfsu f0, sZeroVector__9CVector3f@l(r3) /* 800D75F0 000D4550 38 00 00 00 */ li r0, 0 /* 800D75F4 000D4554 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800D75F8 000D4558 40 82 00 28 */ bne lbl_800D7620 /* 800D75FC 000D455C C0 21 00 5C */ lfs f1, 0x5c(r1) /* 800D7600 000D4560 C0 03 00 04 */ lfs f0, 4(r3) /* 800D7604 000D4564 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800D7608 000D4568 40 82 00 18 */ bne lbl_800D7620 /* 800D760C 000D456C C0 21 00 60 */ lfs f1, 0x60(r1) /* 800D7610 000D4570 C0 03 00 08 */ lfs f0, 8(r3) /* 800D7614 000D4574 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800D7618 000D4578 40 82 00 08 */ bne lbl_800D7620 /* 800D761C 000D457C 38 00 00 01 */ li r0, 1 lbl_800D7620: /* 800D7620 000D4580 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800D7624 000D4584 40 82 00 0C */ bne lbl_800D7630 /* 800D7628 000D4588 57 20 06 3F */ clrlwi. r0, r25, 0x18 /* 800D762C 000D458C 41 82 00 50 */ beq lbl_800D767C lbl_800D7630: /* 800D7630 000D4590 7E A4 AB 78 */ mr r4, r21 /* 800D7634 000D4594 38 61 00 C8 */ addi r3, r1, 0xc8 /* 800D7638 000D4598 48 23 B6 09 */ bl GetRotation__12CTransform4fCFv /* 800D763C 000D459C 38 61 00 64 */ addi r3, r1, 0x64 /* 800D7640 000D45A0 38 81 02 44 */ addi r4, r1, 0x244 /* 800D7644 000D45A4 38 A1 00 C8 */ addi r5, r1, 0xc8 /* 800D7648 000D45A8 48 03 E1 6D */ bl GetBounds__10CModelDataCFRC12CTransform4f /* 800D764C 000D45AC 80 E1 00 64 */ lwz r7, 0x64(r1) /* 800D7650 000D45B0 80 C1 00 68 */ lwz r6, 0x68(r1) /* 800D7654 000D45B4 80 A1 00 6C */ lwz r5, 0x6c(r1) /* 800D7658 000D45B8 80 81 00 70 */ lwz r4, 0x70(r1) /* 800D765C 000D45BC 80 61 00 74 */ lwz r3, 0x74(r1) /* 800D7660 000D45C0 80 01 00 78 */ lwz r0, 0x78(r1) /* 800D7664 000D45C4 90 E1 00 B0 */ stw r7, 0xb0(r1) /* 800D7668 000D45C8 90 C1 00 B4 */ stw r6, 0xb4(r1) /* 800D766C 000D45CC 90 A1 00 B8 */ stw r5, 0xb8(r1) /* 800D7670 000D45D0 90 81 00 BC */ stw r4, 0xbc(r1) /* 800D7674 000D45D4 90 61 00 C0 */ stw r3, 0xc0(r1) /* 800D7678 000D45D8 90 01 00 C4 */ stw r0, 0xc4(r1) lbl_800D767C: /* 800D767C 000D45DC 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D7680 000D45E0 38 60 02 90 */ li r3, 0x290 /* 800D7684 000D45E4 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D7688 000D45E8 38 A0 00 00 */ li r5, 0 /* 800D768C 000D45EC 38 84 00 0D */ addi r4, r4, 0xd /* 800D7690 000D45F0 48 23 E1 DD */ bl __nw__FUlPCcPCc /* 800D7694 000D45F4 7C 72 1B 79 */ or. r18, r3, r3 /* 800D7698 000D45F8 41 82 00 68 */ beq lbl_800D7700 /* 800D769C 000D45FC 7E 64 9B 78 */ mr r4, r19 /* 800D76A0 000D4600 38 61 00 20 */ addi r3, r1, 0x20 /* 800D76A4 000D4604 4B F7 5A 39 */ bl AllocateUniqueId__13CStateManagerFv /* 800D76A8 000D4608 A0 61 00 20 */ lhz r3, 0x20(r1) /* 800D76AC 000D460C FC 20 F8 90 */ fmr f1, f31 /* 800D76B0 000D4610 FC 40 F0 90 */ fmr f2, f30 /* 800D76B4 000D4614 57 C0 06 3E */ clrlwi r0, r30, 0x18 /* 800D76B8 000D4618 B0 61 00 24 */ sth r3, 0x24(r1) /* 800D76BC 000D461C FC 60 E8 90 */ fmr f3, f29 /* 800D76C0 000D4620 FC 80 E0 90 */ fmr f4, f28 /* 800D76C4 000D4624 93 61 00 08 */ stw r27, 8(r1) /* 800D76C8 000D4628 7E 43 93 78 */ mr r3, r18 /* 800D76CC 000D462C 7E 86 A3 78 */ mr r6, r20 /* 800D76D0 000D4630 93 A1 00 0C */ stw r29, 0xc(r1) /* 800D76D4 000D4634 7E A7 AB 78 */ mr r7, r21 /* 800D76D8 000D4638 38 81 00 24 */ addi r4, r1, 0x24 /* 800D76DC 000D463C 38 A1 02 F8 */ addi r5, r1, 0x2f8 /* 800D76E0 000D4640 93 81 00 10 */ stw r28, 0x10(r1) /* 800D76E4 000D4644 39 01 02 44 */ addi r8, r1, 0x244 /* 800D76E8 000D4648 39 21 02 90 */ addi r9, r1, 0x290 /* 800D76EC 000D464C 39 41 00 B0 */ addi r10, r1, 0xb0 /* 800D76F0 000D4650 93 E1 00 14 */ stw r31, 0x14(r1) /* 800D76F4 000D4654 90 01 00 18 */ stw r0, 0x18(r1) /* 800D76F8 000D4658 4B FE B9 FD */ bl "__ct__13CScriptPickupF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC6CAABoxQ212CPlayerState9EItemTypeiiUiffffb" /* 800D76FC 000D465C 7C 72 1B 78 */ mr r18, r3 lbl_800D7700: /* 800D7700 000D4660 38 61 02 44 */ addi r3, r1, 0x244 /* 800D7704 000D4664 38 80 FF FF */ li r4, -1 /* 800D7708 000D4668 48 03 F3 45 */ bl __dt__10CModelDataFv /* 800D770C 000D466C 38 61 02 90 */ addi r3, r1, 0x290 /* 800D7710 000D4670 38 80 FF FF */ li r4, -1 /* 800D7714 000D4674 48 02 EE F5 */ bl __dt__16CLightParametersFv /* 800D7718 000D4678 38 61 02 F8 */ addi r3, r1, 0x2f8 /* 800D771C 000D467C 48 26 63 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D7720 000D4680 7E 43 93 78 */ mr r3, r18 lbl_800D7724: /* 800D7724 000D4684 E3 E1 03 B8 */ psq_l f31, 952(r1), 0, qr0 /* 800D7728 000D4688 CB E1 03 B0 */ lfd f31, 0x3b0(r1) /* 800D772C 000D468C E3 C1 03 A8 */ psq_l f30, 936(r1), 0, qr0 /* 800D7730 000D4690 CB C1 03 A0 */ lfd f30, 0x3a0(r1) /* 800D7734 000D4694 E3 A1 03 98 */ psq_l f29, 920(r1), 0, qr0 /* 800D7738 000D4698 CB A1 03 90 */ lfd f29, 0x390(r1) /* 800D773C 000D469C E3 81 03 88 */ psq_l f28, 904(r1), 0, qr0 /* 800D7740 000D46A0 CB 81 03 80 */ lfd f28, 0x380(r1) /* 800D7744 000D46A4 BA 41 03 48 */ lmw r18, 0x348(r1) /* 800D7748 000D46A8 80 01 03 C4 */ lwz r0, 0x3c4(r1) /* 800D774C 000D46AC 7C 08 03 A6 */ mtlr r0 /* 800D7750 000D46B0 38 21 03 C0 */ addi r1, r1, 0x3c0 /* 800D7754 000D46B4 4E 80 00 20 */ blr .global LoadActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D7758 000D46B8 94 21 FB B0 */ stwu r1, -0x450(r1) /* 800D775C 000D46BC 7C 08 02 A6 */ mflr r0 /* 800D7760 000D46C0 90 01 04 54 */ stw r0, 0x454(r1) /* 800D7764 000D46C4 DB E1 04 40 */ stfd f31, 0x440(r1) /* 800D7768 000D46C8 F3 E1 04 48 */ psq_st f31, 1096(r1), 0, qr0 /* 800D776C 000D46CC DB C1 04 30 */ stfd f30, 0x430(r1) /* 800D7770 000D46D0 F3 C1 04 38 */ psq_st f30, 1080(r1), 0, qr0 /* 800D7774 000D46D4 DB A1 04 20 */ stfd f29, 0x420(r1) /* 800D7778 000D46D8 F3 A1 04 28 */ psq_st f29, 1064(r1), 0, qr0 /* 800D777C 000D46DC BD C1 03 D8 */ stmw r14, 0x3d8(r1) /* 800D7780 000D46E0 2C 05 00 18 */ cmpwi r5, 0x18 /* 800D7784 000D46E4 7C 7E 1B 78 */ mr r30, r3 /* 800D7788 000D46E8 7C 8E 23 78 */ mr r14, r4 /* 800D778C 000D46EC 7C DF 33 78 */ mr r31, r6 /* 800D7790 000D46F0 40 80 00 0C */ bge lbl_800D779C /* 800D7794 000D46F4 38 60 00 00 */ li r3, 0 /* 800D7798 000D46F8 48 00 04 9C */ b lbl_800D7C34 lbl_800D779C: /* 800D779C 000D46FC 7F C5 F3 78 */ mr r5, r30 /* 800D77A0 000D4700 38 61 03 80 */ addi r3, r1, 0x380 /* 800D77A4 000D4704 48 00 2C D9 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager /* 800D77A8 000D4708 7D C4 73 78 */ mr r4, r14 /* 800D77AC 000D470C 38 61 00 78 */ addi r3, r1, 0x78 /* 800D77B0 000D4710 48 23 D3 DD */ bl __ct__9CVector3fFR12CInputStream /* 800D77B4 000D4714 7D C4 73 78 */ mr r4, r14 /* 800D77B8 000D4718 38 61 00 6C */ addi r3, r1, 0x6c /* 800D77BC 000D471C 48 23 D3 D1 */ bl __ct__9CVector3fFR12CInputStream /* 800D77C0 000D4720 7D C3 73 78 */ mr r3, r14 /* 800D77C4 000D4724 48 26 74 65 */ bl ReadFloat__12CInputStreamFv /* 800D77C8 000D4728 FF E0 08 90 */ fmr f31, f1 /* 800D77CC 000D472C 7D C3 73 78 */ mr r3, r14 /* 800D77D0 000D4730 48 26 74 59 */ bl ReadFloat__12CInputStreamFv /* 800D77D4 000D4734 FF C0 08 90 */ fmr f30, f1 /* 800D77D8 000D4738 7D C4 73 78 */ mr r4, r14 /* 800D77DC 000D473C 38 61 00 48 */ addi r3, r1, 0x48 /* 800D77E0 000D4740 48 0F C0 65 */ bl __ct__11CHealthInfoFR12CInputStream /* 800D77E4 000D4744 7D C4 73 78 */ mr r4, r14 /* 800D77E8 000D4748 38 61 03 18 */ addi r3, r1, 0x318 /* 800D77EC 000D474C 48 02 B3 6D */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 800D77F0 000D4750 7D C3 73 78 */ mr r3, r14 /* 800D77F4 000D4754 48 26 74 91 */ bl ReadLong__12CInputStreamFv /* 800D77F8 000D4758 7C 73 1B 78 */ mr r19, r3 /* 800D77FC 000D475C 7D C4 73 78 */ mr r4, r14 /* 800D7800 000D4760 38 61 00 60 */ addi r3, r1, 0x60 /* 800D7804 000D4764 48 00 2C 09 */ bl LoadAnimationParameters__FR12CInputStream /* 800D7808 000D4768 82 41 00 60 */ lwz r18, 0x60(r1) /* 800D780C 000D476C 7D C4 73 78 */ mr r4, r14 /* 800D7810 000D4770 82 21 00 64 */ lwz r17, 0x64(r1) /* 800D7814 000D4774 38 61 01 FC */ addi r3, r1, 0x1fc /* 800D7818 000D4778 82 01 00 68 */ lwz r16, 0x68(r1) /* 800D781C 000D477C 48 00 25 59 */ bl LoadActorParameters__FR12CInputStream /* 800D7820 000D4780 38 61 02 B0 */ addi r3, r1, 0x2b0 /* 800D7824 000D4784 38 81 01 FC */ addi r4, r1, 0x1fc /* 800D7828 000D4788 4B FE DD F5 */ bl __ct__16CActorParametersFRC16CActorParameters /* 800D782C 000D478C 38 61 01 FC */ addi r3, r1, 0x1fc /* 800D7830 000D4790 38 80 FF FF */ li r4, -1 /* 800D7834 000D4794 48 02 ED D5 */ bl __dt__16CLightParametersFv /* 800D7838 000D4798 7D C3 73 78 */ mr r3, r14 /* 800D783C 000D479C 48 26 74 A1 */ bl ReadBool__12CInputStreamFv /* 800D7840 000D47A0 7C 74 1B 78 */ mr r20, r3 /* 800D7844 000D47A4 7D C3 73 78 */ mr r3, r14 /* 800D7848 000D47A8 48 26 74 95 */ bl ReadBool__12CInputStreamFv /* 800D784C 000D47AC 7C 75 1B 78 */ mr r21, r3 /* 800D7850 000D47B0 7D C3 73 78 */ mr r3, r14 /* 800D7854 000D47B4 48 26 74 89 */ bl ReadBool__12CInputStreamFv /* 800D7858 000D47B8 7C 76 1B 78 */ mr r22, r3 /* 800D785C 000D47BC 7D C3 73 78 */ mr r3, r14 /* 800D7860 000D47C0 48 26 74 7D */ bl ReadBool__12CInputStreamFv /* 800D7864 000D47C4 7C 77 1B 78 */ mr r23, r3 /* 800D7868 000D47C8 7D C3 73 78 */ mr r3, r14 /* 800D786C 000D47CC 48 26 74 71 */ bl ReadBool__12CInputStreamFv /* 800D7870 000D47D0 7C 78 1B 78 */ mr r24, r3 /* 800D7874 000D47D4 7D C3 73 78 */ mr r3, r14 /* 800D7878 000D47D8 48 26 74 0D */ bl ReadLong__12CInputStreamFv /* 800D787C 000D47DC 7C 79 1B 78 */ mr r25, r3 /* 800D7880 000D47E0 7D C3 73 78 */ mr r3, r14 /* 800D7884 000D47E4 48 26 73 A5 */ bl ReadFloat__12CInputStreamFv /* 800D7888 000D47E8 FF A0 08 90 */ fmr f29, f1 /* 800D788C 000D47EC 7D C3 73 78 */ mr r3, r14 /* 800D7890 000D47F0 48 26 74 4D */ bl ReadBool__12CInputStreamFv /* 800D7894 000D47F4 7C 7A 1B 78 */ mr r26, r3 /* 800D7898 000D47F8 7D C3 73 78 */ mr r3, r14 /* 800D789C 000D47FC 48 26 74 41 */ bl ReadBool__12CInputStreamFv /* 800D78A0 000D4800 7C 7B 1B 78 */ mr r27, r3 /* 800D78A4 000D4804 7D C3 73 78 */ mr r3, r14 /* 800D78A8 000D4808 48 26 74 35 */ bl ReadBool__12CInputStreamFv /* 800D78AC 000D480C 7C 7C 1B 78 */ mr r28, r3 /* 800D78B0 000D4810 7D C3 73 78 */ mr r3, r14 /* 800D78B4 000D4814 48 26 74 29 */ bl ReadBool__12CInputStreamFv /* 800D78B8 000D4818 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800D78BC 000D481C 7C 6E 1B 78 */ mr r14, r3 /* 800D78C0 000D4820 7E 64 9B 78 */ mr r4, r19 /* 800D78C4 000D4824 38 65 00 04 */ addi r3, r5, 4 /* 800D78C8 000D4828 48 26 44 05 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D78CC 000D482C 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800D78D0 000D4830 7C 6F 1B 78 */ mr r15, r3 /* 800D78D4 000D4834 7E 44 93 78 */ mr r4, r18 /* 800D78D8 000D4838 38 65 00 04 */ addi r3, r5, 4 /* 800D78DC 000D483C 48 26 43 F1 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800D78E0 000D4840 28 0F 00 00 */ cmplwi r15, 0 /* 800D78E4 000D4844 7C 7D 1B 78 */ mr r29, r3 /* 800D78E8 000D4848 40 82 00 28 */ bne lbl_800D7910 /* 800D78EC 000D484C 28 1D 00 00 */ cmplwi r29, 0 /* 800D78F0 000D4850 40 82 00 20 */ bne lbl_800D7910 /* 800D78F4 000D4854 38 61 02 B0 */ addi r3, r1, 0x2b0 /* 800D78F8 000D4858 38 80 FF FF */ li r4, -1 /* 800D78FC 000D485C 48 02 ED 0D */ bl __dt__16CLightParametersFv /* 800D7900 000D4860 38 61 03 80 */ addi r3, r1, 0x380 /* 800D7904 000D4864 48 26 61 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D7908 000D4868 38 60 00 00 */ li r3, 0 /* 800D790C 000D486C 48 00 03 28 */ b lbl_800D7C34 lbl_800D7910: /* 800D7910 000D4870 80 1F 00 00 */ lwz r0, 0(r31) /* 800D7914 000D4874 39 E1 03 90 */ addi r15, r1, 0x390 /* 800D7918 000D4878 7F C4 F3 78 */ mr r4, r30 /* 800D791C 000D487C 38 61 00 B8 */ addi r3, r1, 0xb8 /* 800D7920 000D4880 90 01 00 38 */ stw r0, 0x38(r1) /* 800D7924 000D4884 38 A1 00 3C */ addi r5, r1, 0x3c /* 800D7928 000D4888 38 C1 00 78 */ addi r6, r1, 0x78 /* 800D792C 000D488C 38 E1 00 6C */ addi r7, r1, 0x6c /* 800D7930 000D4890 90 01 00 3C */ stw r0, 0x3c(r1) /* 800D7934 000D4894 48 00 2D E9 */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f /* 800D7938 000D4898 C0 A1 00 B8 */ lfs f5, 0xb8(r1) /* 800D793C 000D489C 38 60 00 00 */ li r3, 0 /* 800D7940 000D48A0 C0 81 00 BC */ lfs f4, 0xbc(r1) /* 800D7944 000D48A4 56 A0 06 3F */ clrlwi. r0, r21, 0x18 /* 800D7948 000D48A8 C0 61 00 C0 */ lfs f3, 0xc0(r1) /* 800D794C 000D48AC C0 41 00 C4 */ lfs f2, 0xc4(r1) /* 800D7950 000D48B0 C0 21 00 C8 */ lfs f1, 0xc8(r1) /* 800D7954 000D48B4 C0 01 00 CC */ lfs f0, 0xcc(r1) /* 800D7958 000D48B8 D0 A1 00 D0 */ stfs f5, 0xd0(r1) /* 800D795C 000D48BC D0 81 00 D4 */ stfs f4, 0xd4(r1) /* 800D7960 000D48C0 D0 61 00 D8 */ stfs f3, 0xd8(r1) /* 800D7964 000D48C4 D0 41 00 DC */ stfs f2, 0xdc(r1) /* 800D7968 000D48C8 D0 21 00 E0 */ stfs f1, 0xe0(r1) /* 800D796C 000D48CC D0 01 00 E4 */ stfs f0, 0xe4(r1) /* 800D7970 000D48D0 90 61 00 44 */ stw r3, 0x44(r1) /* 800D7974 000D48D4 90 61 00 40 */ stw r3, 0x40(r1) /* 800D7978 000D48D8 41 82 00 10 */ beq lbl_800D7988 /* 800D797C 000D48DC 38 00 08 00 */ li r0, 0x800 /* 800D7980 000D48E0 90 61 00 44 */ stw r3, 0x44(r1) /* 800D7984 000D48E4 90 01 00 40 */ stw r0, 0x40(r1) lbl_800D7988: /* 800D7988 000D48E8 56 C0 06 3F */ clrlwi. r0, r22, 0x18 /* 800D798C 000D48EC 41 82 00 1C */ beq lbl_800D79A8 /* 800D7990 000D48F0 80 81 00 44 */ lwz r4, 0x44(r1) /* 800D7994 000D48F4 3C 00 00 08 */ lis r0, 8 /* 800D7998 000D48F8 80 61 00 40 */ lwz r3, 0x40(r1) /* 800D799C 000D48FC 7C 80 03 78 */ or r0, r4, r0 /* 800D79A0 000D4900 90 01 00 44 */ stw r0, 0x44(r1) /* 800D79A4 000D4904 90 61 00 40 */ stw r3, 0x40(r1) lbl_800D79A8: /* 800D79A8 000D4908 56 E0 06 3F */ clrlwi. r0, r23, 0x18 /* 800D79AC 000D490C 41 82 00 1C */ beq lbl_800D79C8 /* 800D79B0 000D4910 80 81 00 44 */ lwz r4, 0x44(r1) /* 800D79B4 000D4914 3C 00 00 20 */ lis r0, 0x20 /* 800D79B8 000D4918 80 61 00 40 */ lwz r3, 0x40(r1) /* 800D79BC 000D491C 7C 80 03 78 */ or r0, r4, r0 /* 800D79C0 000D4920 90 01 00 44 */ stw r0, 0x44(r1) /* 800D79C4 000D4924 90 61 00 40 */ stw r3, 0x40(r1) lbl_800D79C8: /* 800D79C8 000D4928 C0 01 00 78 */ lfs f0, 0x78(r1) /* 800D79CC 000D492C C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800D79D0 000D4930 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800D79D4 000D4934 40 80 00 0C */ bge lbl_800D79E0 /* 800D79D8 000D4938 3A A0 00 01 */ li r21, 1 /* 800D79DC 000D493C 48 00 00 30 */ b lbl_800D7A0C lbl_800D79E0: /* 800D79E0 000D4940 C0 01 00 7C */ lfs f0, 0x7c(r1) /* 800D79E4 000D4944 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800D79E8 000D4948 40 80 00 0C */ bge lbl_800D79F4 /* 800D79EC 000D494C 3A A0 00 01 */ li r21, 1 /* 800D79F0 000D4950 48 00 00 1C */ b lbl_800D7A0C lbl_800D79F4: /* 800D79F4 000D4954 C0 01 00 80 */ lfs f0, 0x80(r1) /* 800D79F8 000D4958 FC 00 08 40 */ fcmpo cr0, f0, f1 /* 800D79FC 000D495C 40 80 00 0C */ bge lbl_800D7A08 /* 800D7A00 000D4960 3A A0 00 01 */ li r21, 1 /* 800D7A04 000D4964 48 00 00 08 */ b lbl_800D7A0C lbl_800D7A08: /* 800D7A08 000D4968 3A A0 00 00 */ li r21, 0 lbl_800D7A0C: /* 800D7A0C 000D496C 38 61 01 B0 */ addi r3, r1, 0x1b0 /* 800D7A10 000D4970 4B F6 2D 95 */ bl CModelDataNull__10CModelDataFv /* 800D7A14 000D4974 38 61 02 64 */ addi r3, r1, 0x264 /* 800D7A18 000D4978 38 81 01 B0 */ addi r4, r1, 0x1b0 /* 800D7A1C 000D497C 4B F4 13 71 */ bl __ct__10CModelDataFRC10CModelData /* 800D7A20 000D4980 38 61 01 B0 */ addi r3, r1, 0x1b0 /* 800D7A24 000D4984 38 80 FF FF */ li r4, -1 /* 800D7A28 000D4988 48 03 F0 25 */ bl __dt__10CModelDataFv /* 800D7A2C 000D498C 3C 1D BE B2 */ addis r0, r29, 0xbeb2 /* 800D7A30 000D4990 28 00 43 53 */ cmplwi r0, 0x4353 /* 800D7A34 000D4994 40 82 00 58 */ bne lbl_800D7A8C /* 800D7A38 000D4998 C0 41 03 C0 */ lfs f2, 0x3c0(r1) /* 800D7A3C 000D499C 38 00 00 01 */ li r0, 1 /* 800D7A40 000D49A0 C0 21 03 C4 */ lfs f1, 0x3c4(r1) /* 800D7A44 000D49A4 38 61 01 64 */ addi r3, r1, 0x164 /* 800D7A48 000D49A8 C0 01 03 C8 */ lfs f0, 0x3c8(r1) /* 800D7A4C 000D49AC 38 81 00 9C */ addi r4, r1, 0x9c /* 800D7A50 000D49B0 92 41 00 9C */ stw r18, 0x9c(r1) /* 800D7A54 000D49B4 92 21 00 A0 */ stw r17, 0xa0(r1) /* 800D7A58 000D49B8 D0 41 00 A4 */ stfs f2, 0xa4(r1) /* 800D7A5C 000D49BC D0 21 00 A8 */ stfs f1, 0xa8(r1) /* 800D7A60 000D49C0 D0 01 00 AC */ stfs f0, 0xac(r1) /* 800D7A64 000D49C4 98 01 00 B0 */ stb r0, 0xb0(r1) /* 800D7A68 000D49C8 92 01 00 B4 */ stw r16, 0xb4(r1) /* 800D7A6C 000D49CC 48 03 F0 E9 */ bl __ct__10CModelDataFRC8CAnimRes /* 800D7A70 000D49D0 38 61 02 64 */ addi r3, r1, 0x264 /* 800D7A74 000D49D4 38 81 01 64 */ addi r4, r1, 0x164 /* 800D7A78 000D49D8 4B FF E2 9D */ bl __as__10CModelDataFRC10CModelData /* 800D7A7C 000D49DC 38 61 01 64 */ addi r3, r1, 0x164 /* 800D7A80 000D49E0 38 80 FF FF */ li r4, -1 /* 800D7A84 000D49E4 48 03 EF C9 */ bl __dt__10CModelDataFv /* 800D7A88 000D49E8 48 00 00 44 */ b lbl_800D7ACC lbl_800D7A8C: /* 800D7A8C 000D49EC C0 41 03 C0 */ lfs f2, 0x3c0(r1) /* 800D7A90 000D49F0 38 61 01 18 */ addi r3, r1, 0x118 /* 800D7A94 000D49F4 C0 21 03 C4 */ lfs f1, 0x3c4(r1) /* 800D7A98 000D49F8 38 81 00 50 */ addi r4, r1, 0x50 /* 800D7A9C 000D49FC C0 01 03 C8 */ lfs f0, 0x3c8(r1) /* 800D7AA0 000D4A00 92 61 00 50 */ stw r19, 0x50(r1) /* 800D7AA4 000D4A04 D0 41 00 54 */ stfs f2, 0x54(r1) /* 800D7AA8 000D4A08 D0 21 00 58 */ stfs f1, 0x58(r1) /* 800D7AAC 000D4A0C D0 01 00 5C */ stfs f0, 0x5c(r1) /* 800D7AB0 000D4A10 48 03 F2 AD */ bl __ct__10CModelDataFRC10CStaticRes /* 800D7AB4 000D4A14 38 61 02 64 */ addi r3, r1, 0x264 /* 800D7AB8 000D4A18 38 81 01 18 */ addi r4, r1, 0x118 /* 800D7ABC 000D4A1C 4B FF E2 59 */ bl __as__10CModelDataFRC10CModelData /* 800D7AC0 000D4A20 38 61 01 18 */ addi r3, r1, 0x118 /* 800D7AC4 000D4A24 38 80 FF FF */ li r4, -1 /* 800D7AC8 000D4A28 48 03 EF 85 */ bl __dt__10CModelDataFv lbl_800D7ACC: /* 800D7ACC 000D4A2C 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 800D7AD0 000D4A30 C0 21 00 78 */ lfs f1, 0x78(r1) /* 800D7AD4 000D4A34 C4 03 66 A0 */ lfsu f0, sZeroVector__9CVector3f@l(r3) /* 800D7AD8 000D4A38 38 00 00 00 */ li r0, 0 /* 800D7ADC 000D4A3C FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800D7AE0 000D4A40 40 82 00 28 */ bne lbl_800D7B08 /* 800D7AE4 000D4A44 C0 21 00 7C */ lfs f1, 0x7c(r1) /* 800D7AE8 000D4A48 C0 03 00 04 */ lfs f0, 4(r3) /* 800D7AEC 000D4A4C FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800D7AF0 000D4A50 40 82 00 18 */ bne lbl_800D7B08 /* 800D7AF4 000D4A54 C0 21 00 80 */ lfs f1, 0x80(r1) /* 800D7AF8 000D4A58 C0 03 00 08 */ lfs f0, 8(r3) /* 800D7AFC 000D4A5C FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800D7B00 000D4A60 40 82 00 08 */ bne lbl_800D7B08 /* 800D7B04 000D4A64 38 00 00 01 */ li r0, 1 lbl_800D7B08: /* 800D7B08 000D4A68 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800D7B0C 000D4A6C 40 82 00 0C */ bne lbl_800D7B18 /* 800D7B10 000D4A70 56 A0 06 3F */ clrlwi. r0, r21, 0x18 /* 800D7B14 000D4A74 41 82 00 50 */ beq lbl_800D7B64 lbl_800D7B18: /* 800D7B18 000D4A78 7D E4 7B 78 */ mr r4, r15 /* 800D7B1C 000D4A7C 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800D7B20 000D4A80 48 23 B1 21 */ bl GetRotation__12CTransform4fCFv /* 800D7B24 000D4A84 38 61 00 84 */ addi r3, r1, 0x84 /* 800D7B28 000D4A88 38 81 02 64 */ addi r4, r1, 0x264 /* 800D7B2C 000D4A8C 38 A1 00 E8 */ addi r5, r1, 0xe8 /* 800D7B30 000D4A90 48 03 DC 85 */ bl GetBounds__10CModelDataCFRC12CTransform4f /* 800D7B34 000D4A94 80 E1 00 84 */ lwz r7, 0x84(r1) /* 800D7B38 000D4A98 80 C1 00 88 */ lwz r6, 0x88(r1) /* 800D7B3C 000D4A9C 80 A1 00 8C */ lwz r5, 0x8c(r1) /* 800D7B40 000D4AA0 80 81 00 90 */ lwz r4, 0x90(r1) /* 800D7B44 000D4AA4 80 61 00 94 */ lwz r3, 0x94(r1) /* 800D7B48 000D4AA8 80 01 00 98 */ lwz r0, 0x98(r1) /* 800D7B4C 000D4AAC 90 E1 00 D0 */ stw r7, 0xd0(r1) /* 800D7B50 000D4AB0 90 C1 00 D4 */ stw r6, 0xd4(r1) /* 800D7B54 000D4AB4 90 A1 00 D8 */ stw r5, 0xd8(r1) /* 800D7B58 000D4AB8 90 81 00 DC */ stw r4, 0xdc(r1) /* 800D7B5C 000D4ABC 90 61 00 E0 */ stw r3, 0xe0(r1) /* 800D7B60 000D4AC0 90 01 00 E4 */ stw r0, 0xe4(r1) lbl_800D7B64: /* 800D7B64 000D4AC4 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D7B68 000D4AC8 38 60 02 E8 */ li r3, 0x2e8 /* 800D7B6C 000D4ACC 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D7B70 000D4AD0 38 A0 00 00 */ li r5, 0 /* 800D7B74 000D4AD4 38 84 00 0D */ addi r4, r4, 0xd /* 800D7B78 000D4AD8 48 23 DC F5 */ bl __nw__FUlPCcPCc /* 800D7B7C 000D4ADC 7C 70 1B 79 */ or. r16, r3, r3 /* 800D7B80 000D4AE0 41 82 00 90 */ beq lbl_800D7C10 /* 800D7B84 000D4AE4 7F C4 F3 78 */ mr r4, r30 /* 800D7B88 000D4AE8 38 61 00 30 */ addi r3, r1, 0x30 /* 800D7B8C 000D4AEC 4B F7 55 51 */ bl AllocateUniqueId__13CStateManagerFv /* 800D7B90 000D4AF0 A0 A1 00 30 */ lhz r5, 0x30(r1) /* 800D7B94 000D4AF4 38 01 00 48 */ addi r0, r1, 0x48 /* 800D7B98 000D4AF8 38 61 03 18 */ addi r3, r1, 0x318 /* 800D7B9C 000D4AFC 38 81 02 B0 */ addi r4, r1, 0x2b0 /* 800D7BA0 000D4B00 B0 A1 00 34 */ sth r5, 0x34(r1) /* 800D7BA4 000D4B04 57 51 06 3E */ clrlwi r17, r26, 0x18 /* 800D7BA8 000D4B08 57 6C 06 3E */ clrlwi r12, r27, 0x18 /* 800D7BAC 000D4B0C 57 8B 06 3E */ clrlwi r11, r28, 0x18 /* 800D7BB0 000D4B10 90 01 00 08 */ stw r0, 8(r1) /* 800D7BB4 000D4B14 FC 20 F8 90 */ fmr f1, f31 /* 800D7BB8 000D4B18 FC 40 F0 90 */ fmr f2, f30 /* 800D7BBC 000D4B1C 55 C0 06 3E */ clrlwi r0, r14, 0x18 /* 800D7BC0 000D4B20 90 61 00 0C */ stw r3, 0xc(r1) /* 800D7BC4 000D4B24 FC 60 E8 90 */ fmr f3, f29 /* 800D7BC8 000D4B28 7E 03 83 78 */ mr r3, r16 /* 800D7BCC 000D4B2C 90 81 00 10 */ stw r4, 0x10(r1) /* 800D7BD0 000D4B30 7F E6 FB 78 */ mr r6, r31 /* 800D7BD4 000D4B34 7D E7 7B 78 */ mr r7, r15 /* 800D7BD8 000D4B38 92 81 00 14 */ stw r20, 0x14(r1) /* 800D7BDC 000D4B3C 38 81 00 34 */ addi r4, r1, 0x34 /* 800D7BE0 000D4B40 38 A1 03 80 */ addi r5, r1, 0x380 /* 800D7BE4 000D4B44 39 01 02 64 */ addi r8, r1, 0x264 /* 800D7BE8 000D4B48 93 01 00 18 */ stw r24, 0x18(r1) /* 800D7BEC 000D4B4C 39 21 00 D0 */ addi r9, r1, 0xd0 /* 800D7BF0 000D4B50 39 41 00 40 */ addi r10, r1, 0x40 /* 800D7BF4 000D4B54 93 21 00 1C */ stw r25, 0x1c(r1) /* 800D7BF8 000D4B58 92 21 00 20 */ stw r17, 0x20(r1) /* 800D7BFC 000D4B5C 91 81 00 24 */ stw r12, 0x24(r1) /* 800D7C00 000D4B60 91 61 00 28 */ stw r11, 0x28(r1) /* 800D7C04 000D4B64 90 01 00 2C */ stw r0, 0x2c(r1) /* 800D7C08 000D4B68 4B F9 DC A5 */ bl "__ct__12CScriptActorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbbUibbbb" /* 800D7C0C 000D4B6C 7C 70 1B 78 */ mr r16, r3 lbl_800D7C10: /* 800D7C10 000D4B70 38 61 02 64 */ addi r3, r1, 0x264 /* 800D7C14 000D4B74 38 80 FF FF */ li r4, -1 /* 800D7C18 000D4B78 48 03 EE 35 */ bl __dt__10CModelDataFv /* 800D7C1C 000D4B7C 38 61 02 B0 */ addi r3, r1, 0x2b0 /* 800D7C20 000D4B80 38 80 FF FF */ li r4, -1 /* 800D7C24 000D4B84 48 02 E9 E5 */ bl __dt__16CLightParametersFv /* 800D7C28 000D4B88 38 61 03 80 */ addi r3, r1, 0x380 /* 800D7C2C 000D4B8C 48 26 5E B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D7C30 000D4B90 7E 03 83 78 */ mr r3, r16 lbl_800D7C34: /* 800D7C34 000D4B94 E3 E1 04 48 */ psq_l f31, 1096(r1), 0, qr0 /* 800D7C38 000D4B98 CB E1 04 40 */ lfd f31, 0x440(r1) /* 800D7C3C 000D4B9C E3 C1 04 38 */ psq_l f30, 1080(r1), 0, qr0 /* 800D7C40 000D4BA0 CB C1 04 30 */ lfd f30, 0x430(r1) /* 800D7C44 000D4BA4 E3 A1 04 28 */ psq_l f29, 1064(r1), 0, qr0 /* 800D7C48 000D4BA8 CB A1 04 20 */ lfd f29, 0x420(r1) /* 800D7C4C 000D4BAC B9 C1 03 D8 */ lmw r14, 0x3d8(r1) /* 800D7C50 000D4BB0 80 01 04 54 */ lwz r0, 0x454(r1) /* 800D7C54 000D4BB4 7C 08 03 A6 */ mtlr r0 /* 800D7C58 000D4BB8 38 21 04 50 */ addi r1, r1, 0x450 /* 800D7C5C 000D4BBC 4E 80 00 20 */ blr .global LoadPointOfInterest__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadPointOfInterest__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D7C60 000D4BC0 94 21 FF 90 */ stwu r1, -0x70(r1) /* 800D7C64 000D4BC4 7C 08 02 A6 */ mflr r0 /* 800D7C68 000D4BC8 2C 05 00 06 */ cmpwi r5, 6 /* 800D7C6C 000D4BCC 90 01 00 74 */ stw r0, 0x74(r1) /* 800D7C70 000D4BD0 DB E1 00 68 */ stfd f31, 0x68(r1) /* 800D7C74 000D4BD4 93 E1 00 64 */ stw r31, 0x64(r1) /* 800D7C78 000D4BD8 93 C1 00 60 */ stw r30, 0x60(r1) /* 800D7C7C 000D4BDC 7C 9E 23 78 */ mr r30, r4 /* 800D7C80 000D4BE0 93 A1 00 5C */ stw r29, 0x5c(r1) /* 800D7C84 000D4BE4 7C DD 33 78 */ mr r29, r6 /* 800D7C88 000D4BE8 93 81 00 58 */ stw r28, 0x58(r1) /* 800D7C8C 000D4BEC 7C 7C 1B 78 */ mr r28, r3 /* 800D7C90 000D4BF0 41 82 00 0C */ beq lbl_800D7C9C /* 800D7C94 000D4BF4 38 60 00 00 */ li r3, 0 /* 800D7C98 000D4BF8 48 00 00 A4 */ b lbl_800D7D3C lbl_800D7C9C: /* 800D7C9C 000D4BFC 7F 85 E3 78 */ mr r5, r28 /* 800D7CA0 000D4C00 38 61 00 18 */ addi r3, r1, 0x18 /* 800D7CA4 000D4C04 48 00 28 21 */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800D7CA8 000D4C08 7F C3 F3 78 */ mr r3, r30 /* 800D7CAC 000D4C0C 48 26 70 31 */ bl ReadBool__12CInputStreamFv /* 800D7CB0 000D4C10 7C 7F 1B 78 */ mr r31, r3 /* 800D7CB4 000D4C14 7F C4 F3 78 */ mr r4, r30 /* 800D7CB8 000D4C18 38 61 00 10 */ addi r3, r1, 0x10 /* 800D7CBC 000D4C1C 48 00 25 45 */ bl LoadScannableParameters__FR12CInputStream /* 800D7CC0 000D4C20 80 01 00 10 */ lwz r0, 0x10(r1) /* 800D7CC4 000D4C24 7F C3 F3 78 */ mr r3, r30 /* 800D7CC8 000D4C28 90 01 00 14 */ stw r0, 0x14(r1) /* 800D7CCC 000D4C2C 48 26 6F 5D */ bl ReadFloat__12CInputStreamFv /* 800D7CD0 000D4C30 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D7CD4 000D4C34 FF E0 08 90 */ fmr f31, f1 /* 800D7CD8 000D4C38 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D7CDC 000D4C3C 38 A0 00 00 */ li r5, 0 /* 800D7CE0 000D4C40 38 60 00 F0 */ li r3, 0xf0 /* 800D7CE4 000D4C44 38 84 00 0D */ addi r4, r4, 0xd /* 800D7CE8 000D4C48 48 23 DB 85 */ bl __nw__FUlPCcPCc /* 800D7CEC 000D4C4C 7C 7E 1B 79 */ or. r30, r3, r3 /* 800D7CF0 000D4C50 41 82 00 40 */ beq lbl_800D7D30 /* 800D7CF4 000D4C54 7F 84 E3 78 */ mr r4, r28 /* 800D7CF8 000D4C58 38 61 00 08 */ addi r3, r1, 8 /* 800D7CFC 000D4C5C 4B F7 53 E1 */ bl AllocateUniqueId__13CStateManagerFv /* 800D7D00 000D4C60 A0 01 00 08 */ lhz r0, 8(r1) /* 800D7D04 000D4C64 FC 20 F8 90 */ fmr f1, f31 /* 800D7D08 000D4C68 7F C3 F3 78 */ mr r3, r30 /* 800D7D0C 000D4C6C 7F A6 EB 78 */ mr r6, r29 /* 800D7D10 000D4C70 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D7D14 000D4C74 7F E8 FB 78 */ mr r8, r31 /* 800D7D18 000D4C78 38 81 00 0C */ addi r4, r1, 0xc /* 800D7D1C 000D4C7C 38 A1 00 18 */ addi r5, r1, 0x18 /* 800D7D20 000D4C80 38 E1 00 28 */ addi r7, r1, 0x28 /* 800D7D24 000D4C84 39 21 00 14 */ addi r9, r1, 0x14 /* 800D7D28 000D4C88 48 08 70 0D */ bl "__ct__22CScriptPointOfInterestF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC20CScannableParameters" /* 800D7D2C 000D4C8C 7C 7E 1B 78 */ mr r30, r3 lbl_800D7D30: /* 800D7D30 000D4C90 38 61 00 18 */ addi r3, r1, 0x18 /* 800D7D34 000D4C94 48 26 5D AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D7D38 000D4C98 7F C3 F3 78 */ mr r3, r30 lbl_800D7D3C: /* 800D7D3C 000D4C9C 80 01 00 74 */ lwz r0, 0x74(r1) /* 800D7D40 000D4CA0 CB E1 00 68 */ lfd f31, 0x68(r1) /* 800D7D44 000D4CA4 83 E1 00 64 */ lwz r31, 0x64(r1) /* 800D7D48 000D4CA8 83 C1 00 60 */ lwz r30, 0x60(r1) /* 800D7D4C 000D4CAC 83 A1 00 5C */ lwz r29, 0x5c(r1) /* 800D7D50 000D4CB0 83 81 00 58 */ lwz r28, 0x58(r1) /* 800D7D54 000D4CB4 7C 08 03 A6 */ mtlr r0 /* 800D7D58 000D4CB8 38 21 00 70 */ addi r1, r1, 0x70 /* 800D7D5C 000D4CBC 4E 80 00 20 */ blr .global LoadPlayerHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadPlayerHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D7D60 000D4CC0 94 21 FF 90 */ stwu r1, -0x70(r1) /* 800D7D64 000D4CC4 7C 08 02 A6 */ mflr r0 /* 800D7D68 000D4CC8 2C 05 00 06 */ cmpwi r5, 6 /* 800D7D6C 000D4CCC 90 01 00 74 */ stw r0, 0x74(r1) /* 800D7D70 000D4CD0 BF 41 00 58 */ stmw r26, 0x58(r1) /* 800D7D74 000D4CD4 7C 7A 1B 78 */ mr r26, r3 /* 800D7D78 000D4CD8 7C 9C 23 78 */ mr r28, r4 /* 800D7D7C 000D4CDC 7C DB 33 78 */ mr r27, r6 /* 800D7D80 000D4CE0 40 80 00 0C */ bge lbl_800D7D8C /* 800D7D84 000D4CE4 38 60 00 00 */ li r3, 0 /* 800D7D88 000D4CE8 48 00 00 A0 */ b lbl_800D7E28 lbl_800D7D8C: /* 800D7D8C 000D4CEC 7F 45 D3 78 */ mr r5, r26 /* 800D7D90 000D4CF0 38 61 00 10 */ addi r3, r1, 0x10 /* 800D7D94 000D4CF4 48 00 27 31 */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800D7D98 000D4CF8 7F 83 E3 78 */ mr r3, r28 /* 800D7D9C 000D4CFC 48 26 6F 41 */ bl ReadBool__12CInputStreamFv /* 800D7DA0 000D4D00 7C 7F 1B 78 */ mr r31, r3 /* 800D7DA4 000D4D04 7F 83 E3 78 */ mr r3, r28 /* 800D7DA8 000D4D08 48 00 1E 55 */ bl LoadParameterFlags__FR12CInputStream /* 800D7DAC 000D4D0C 7C 60 1B 78 */ mr r0, r3 /* 800D7DB0 000D4D10 7F 83 E3 78 */ mr r3, r28 /* 800D7DB4 000D4D14 7C 1C 03 78 */ mr r28, r0 /* 800D7DB8 000D4D18 48 26 6E CD */ bl ReadLong__12CInputStreamFv /* 800D7DBC 000D4D1C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D7DC0 000D4D20 7C 7E 1B 78 */ mr r30, r3 /* 800D7DC4 000D4D24 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D7DC8 000D4D28 38 60 01 10 */ li r3, 0x110 /* 800D7DCC 000D4D2C 38 A0 00 00 */ li r5, 0 /* 800D7DD0 000D4D30 38 84 00 0D */ addi r4, r4, 0xd /* 800D7DD4 000D4D34 48 23 DA 99 */ bl __nw__FUlPCcPCc /* 800D7DD8 000D4D38 7C 7D 1B 79 */ or. r29, r3, r3 /* 800D7DDC 000D4D3C 41 82 00 40 */ beq lbl_800D7E1C /* 800D7DE0 000D4D40 7F 44 D3 78 */ mr r4, r26 /* 800D7DE4 000D4D44 38 61 00 08 */ addi r3, r1, 8 /* 800D7DE8 000D4D48 4B F7 52 F5 */ bl AllocateUniqueId__13CStateManagerFv /* 800D7DEC 000D4D4C A0 01 00 08 */ lhz r0, 8(r1) /* 800D7DF0 000D4D50 7F A3 EB 78 */ mr r3, r29 /* 800D7DF4 000D4D54 7F 66 DB 78 */ mr r6, r27 /* 800D7DF8 000D4D58 7F E8 FB 78 */ mr r8, r31 /* 800D7DFC 000D4D5C B0 01 00 0C */ sth r0, 0xc(r1) /* 800D7E00 000D4D60 7F C9 F3 78 */ mr r9, r30 /* 800D7E04 000D4D64 7F 8A E3 78 */ mr r10, r28 /* 800D7E08 000D4D68 38 81 00 0C */ addi r4, r1, 0xc /* 800D7E0C 000D4D6C 38 A1 00 10 */ addi r5, r1, 0x10 /* 800D7E10 000D4D70 38 E1 00 20 */ addi r7, r1, 0x20 /* 800D7E14 000D4D74 48 08 3E A9 */ bl "__ct__17CScriptPlayerHintF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbii" /* 800D7E18 000D4D78 7C 7D 1B 78 */ mr r29, r3 lbl_800D7E1C: /* 800D7E1C 000D4D7C 38 61 00 10 */ addi r3, r1, 0x10 /* 800D7E20 000D4D80 48 26 5C C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D7E24 000D4D84 7F A3 EB 78 */ mr r3, r29 lbl_800D7E28: /* 800D7E28 000D4D88 BB 41 00 58 */ lmw r26, 0x58(r1) /* 800D7E2C 000D4D8C 80 01 00 74 */ lwz r0, 0x74(r1) /* 800D7E30 000D4D90 7C 08 03 A6 */ mtlr r0 /* 800D7E34 000D4D94 38 21 00 70 */ addi r1, r1, 0x70 /* 800D7E38 000D4D98 4E 80 00 20 */ blr .global LoadCameraHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadCameraHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D7E3C 000D4D9C 94 21 FE 60 */ stwu r1, -0x1a0(r1) /* 800D7E40 000D4DA0 7C 08 02 A6 */ mflr r0 /* 800D7E44 000D4DA4 90 01 01 A4 */ stw r0, 0x1a4(r1) /* 800D7E48 000D4DA8 DB E1 01 90 */ stfd f31, 0x190(r1) /* 800D7E4C 000D4DAC F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 /* 800D7E50 000D4DB0 DB C1 01 80 */ stfd f30, 0x180(r1) /* 800D7E54 000D4DB4 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 /* 800D7E58 000D4DB8 DB A1 01 70 */ stfd f29, 0x170(r1) /* 800D7E5C 000D4DBC F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 /* 800D7E60 000D4DC0 DB 81 01 60 */ stfd f28, 0x160(r1) /* 800D7E64 000D4DC4 F3 81 01 68 */ psq_st f28, 360(r1), 0, qr0 /* 800D7E68 000D4DC8 DB 61 01 50 */ stfd f27, 0x150(r1) /* 800D7E6C 000D4DCC F3 61 01 58 */ psq_st f27, 344(r1), 0, qr0 /* 800D7E70 000D4DD0 DB 41 01 40 */ stfd f26, 0x140(r1) /* 800D7E74 000D4DD4 F3 41 01 48 */ psq_st f26, 328(r1), 0, qr0 /* 800D7E78 000D4DD8 DB 21 01 30 */ stfd f25, 0x130(r1) /* 800D7E7C 000D4DDC F3 21 01 38 */ psq_st f25, 312(r1), 0, qr0 /* 800D7E80 000D4DE0 DB 01 01 20 */ stfd f24, 0x120(r1) /* 800D7E84 000D4DE4 F3 01 01 28 */ psq_st f24, 296(r1), 0, qr0 /* 800D7E88 000D4DE8 DA E1 01 10 */ stfd f23, 0x110(r1) /* 800D7E8C 000D4DEC F2 E1 01 18 */ psq_st f23, 280(r1), 0, qr0 /* 800D7E90 000D4DF0 DA C1 01 00 */ stfd f22, 0x100(r1) /* 800D7E94 000D4DF4 F2 C1 01 08 */ psq_st f22, 264(r1), 0, qr0 /* 800D7E98 000D4DF8 DA A1 00 F0 */ stfd f21, 0xf0(r1) /* 800D7E9C 000D4DFC F2 A1 00 F8 */ psq_st f21, 248(r1), 0, qr0 /* 800D7EA0 000D4E00 DA 81 00 E0 */ stfd f20, 0xe0(r1) /* 800D7EA4 000D4E04 F2 81 00 E8 */ psq_st f20, 232(r1), 0, qr0 /* 800D7EA8 000D4E08 DA 61 00 D0 */ stfd f19, 0xd0(r1) /* 800D7EAC 000D4E0C F2 61 00 D8 */ psq_st f19, 216(r1), 0, qr0 /* 800D7EB0 000D4E10 BF 21 00 B4 */ stmw r25, 0xb4(r1) /* 800D7EB4 000D4E14 2C 05 00 19 */ cmpwi r5, 0x19 /* 800D7EB8 000D4E18 7C 79 1B 78 */ mr r25, r3 /* 800D7EBC 000D4E1C 7C 9A 23 78 */ mr r26, r4 /* 800D7EC0 000D4E20 7C DB 33 78 */ mr r27, r6 /* 800D7EC4 000D4E24 40 81 00 0C */ ble lbl_800D7ED0 /* 800D7EC8 000D4E28 38 60 00 00 */ li r3, 0 /* 800D7ECC 000D4E2C 48 00 02 D0 */ b lbl_800D819C lbl_800D7ED0: /* 800D7ED0 000D4E30 7F 25 CB 78 */ mr r5, r25 /* 800D7ED4 000D4E34 38 61 00 68 */ addi r3, r1, 0x68 /* 800D7ED8 000D4E38 48 00 25 ED */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800D7EDC 000D4E3C 7F 43 D3 78 */ mr r3, r26 /* 800D7EE0 000D4E40 48 26 6D FD */ bl ReadBool__12CInputStreamFv /* 800D7EE4 000D4E44 7C 7F 1B 78 */ mr r31, r3 /* 800D7EE8 000D4E48 7F 43 D3 78 */ mr r3, r26 /* 800D7EEC 000D4E4C 48 26 6D 99 */ bl ReadLong__12CInputStreamFv /* 800D7EF0 000D4E50 7C 7E 1B 78 */ mr r30, r3 /* 800D7EF4 000D4E54 7F 43 D3 78 */ mr r3, r26 /* 800D7EF8 000D4E58 48 26 6D 8D */ bl ReadLong__12CInputStreamFv /* 800D7EFC 000D4E5C 7C 60 1B 78 */ mr r0, r3 /* 800D7F00 000D4E60 7F 43 D3 78 */ mr r3, r26 /* 800D7F04 000D4E64 7C 1D 03 78 */ mr r29, r0 /* 800D7F08 000D4E68 48 00 1C F5 */ bl LoadParameterFlags__FR12CInputStream /* 800D7F0C 000D4E6C 7C 60 1B 78 */ mr r0, r3 /* 800D7F10 000D4E70 7F 43 D3 78 */ mr r3, r26 /* 800D7F14 000D4E74 7C 1C 03 78 */ mr r28, r0 /* 800D7F18 000D4E78 48 26 6D C5 */ bl ReadBool__12CInputStreamFv /* 800D7F1C 000D4E7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800D7F20 000D4E80 41 82 00 08 */ beq lbl_800D7F28 /* 800D7F24 000D4E84 67 9C 00 40 */ oris r28, r28, 0x40 lbl_800D7F28: /* 800D7F28 000D4E88 7F 43 D3 78 */ mr r3, r26 /* 800D7F2C 000D4E8C 48 26 6C FD */ bl ReadFloat__12CInputStreamFv /* 800D7F30 000D4E90 FF E0 08 90 */ fmr f31, f1 /* 800D7F34 000D4E94 7F 43 D3 78 */ mr r3, r26 /* 800D7F38 000D4E98 48 26 6D A5 */ bl ReadBool__12CInputStreamFv /* 800D7F3C 000D4E9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800D7F40 000D4EA0 41 82 00 08 */ beq lbl_800D7F48 /* 800D7F44 000D4EA4 67 9C 00 80 */ oris r28, r28, 0x80 lbl_800D7F48: /* 800D7F48 000D4EA8 7F 43 D3 78 */ mr r3, r26 /* 800D7F4C 000D4EAC 48 26 6C DD */ bl ReadFloat__12CInputStreamFv /* 800D7F50 000D4EB0 FF C0 08 90 */ fmr f30, f1 /* 800D7F54 000D4EB4 7F 43 D3 78 */ mr r3, r26 /* 800D7F58 000D4EB8 48 26 6D 85 */ bl ReadBool__12CInputStreamFv /* 800D7F5C 000D4EBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800D7F60 000D4EC0 41 82 00 08 */ beq lbl_800D7F68 /* 800D7F64 000D4EC4 67 9C 01 00 */ oris r28, r28, 0x100 lbl_800D7F68: /* 800D7F68 000D4EC8 7F 43 D3 78 */ mr r3, r26 /* 800D7F6C 000D4ECC 48 26 6C BD */ bl ReadFloat__12CInputStreamFv /* 800D7F70 000D4ED0 FF A0 08 90 */ fmr f29, f1 /* 800D7F74 000D4ED4 7F 43 D3 78 */ mr r3, r26 /* 800D7F78 000D4ED8 48 26 6D 65 */ bl ReadBool__12CInputStreamFv /* 800D7F7C 000D4EDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800D7F80 000D4EE0 41 82 00 08 */ beq lbl_800D7F88 /* 800D7F84 000D4EE4 67 9C 02 00 */ oris r28, r28, 0x200 lbl_800D7F88: /* 800D7F88 000D4EE8 7F 44 D3 78 */ mr r4, r26 /* 800D7F8C 000D4EEC 38 61 00 5C */ addi r3, r1, 0x5c /* 800D7F90 000D4EF0 48 23 CB FD */ bl __ct__9CVector3fFR12CInputStream /* 800D7F94 000D4EF4 7F 43 D3 78 */ mr r3, r26 /* 800D7F98 000D4EF8 48 26 6D 45 */ bl ReadBool__12CInputStreamFv /* 800D7F9C 000D4EFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800D7FA0 000D4F00 41 82 00 08 */ beq lbl_800D7FA8 /* 800D7FA4 000D4F04 67 9C 04 00 */ oris r28, r28, 0x400 lbl_800D7FA8: /* 800D7FA8 000D4F08 7F 44 D3 78 */ mr r4, r26 /* 800D7FAC 000D4F0C 38 61 00 50 */ addi r3, r1, 0x50 /* 800D7FB0 000D4F10 48 23 CB DD */ bl __ct__9CVector3fFR12CInputStream /* 800D7FB4 000D4F14 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 800D7FB8 000D4F18 7F 44 D3 78 */ mr r4, r26 /* 800D7FBC 000D4F1C 38 A3 66 A0 */ addi r5, r3, sZeroVector__9CVector3f@l /* 800D7FC0 000D4F20 38 61 00 38 */ addi r3, r1, 0x38 /* 800D7FC4 000D4F24 C0 45 00 00 */ lfs f2, 0(r5) /* 800D7FC8 000D4F28 C0 25 00 04 */ lfs f1, 4(r5) /* 800D7FCC 000D4F2C C0 05 00 08 */ lfs f0, 8(r5) /* 800D7FD0 000D4F30 D0 41 00 44 */ stfs f2, 0x44(r1) /* 800D7FD4 000D4F34 D0 21 00 48 */ stfs f1, 0x48(r1) /* 800D7FD8 000D4F38 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 800D7FDC 000D4F3C 48 23 CB B1 */ bl __ct__9CVector3fFR12CInputStream /* 800D7FE0 000D4F40 C0 41 00 38 */ lfs f2, 0x38(r1) /* 800D7FE4 000D4F44 7F 43 D3 78 */ mr r3, r26 /* 800D7FE8 000D4F48 C0 21 00 3C */ lfs f1, 0x3c(r1) /* 800D7FEC 000D4F4C C0 01 00 40 */ lfs f0, 0x40(r1) /* 800D7FF0 000D4F50 D0 41 00 44 */ stfs f2, 0x44(r1) /* 800D7FF4 000D4F54 D0 21 00 48 */ stfs f1, 0x48(r1) /* 800D7FF8 000D4F58 D0 01 00 4C */ stfs f0, 0x4c(r1) /* 800D7FFC 000D4F5C 48 26 6C E1 */ bl ReadBool__12CInputStreamFv /* 800D8000 000D4F60 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800D8004 000D4F64 41 82 00 08 */ beq lbl_800D800C /* 800D8008 000D4F68 67 9C 08 00 */ oris r28, r28, 0x800 lbl_800D800C: /* 800D800C 000D4F6C 7F 43 D3 78 */ mr r3, r26 /* 800D8010 000D4F70 48 26 6C 19 */ bl ReadFloat__12CInputStreamFv /* 800D8014 000D4F74 FF 00 08 90 */ fmr f24, f1 /* 800D8018 000D4F78 7F 43 D3 78 */ mr r3, r26 /* 800D801C 000D4F7C 48 26 6C C1 */ bl ReadBool__12CInputStreamFv /* 800D8020 000D4F80 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800D8024 000D4F84 41 82 00 08 */ beq lbl_800D802C /* 800D8028 000D4F88 67 9C 10 00 */ oris r28, r28, 0x1000 lbl_800D802C: /* 800D802C 000D4F8C 7F 43 D3 78 */ mr r3, r26 /* 800D8030 000D4F90 48 26 6B F9 */ bl ReadFloat__12CInputStreamFv /* 800D8034 000D4F94 C0 02 8E 50 */ lfs f0, lbl_805AAB70@sda21(r2) /* 800D8038 000D4F98 7F 43 D3 78 */ mr r3, r26 /* 800D803C 000D4F9C EE C0 00 72 */ fmuls f22, f0, f1 /* 800D8040 000D4FA0 48 26 6C 9D */ bl ReadBool__12CInputStreamFv /* 800D8044 000D4FA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800D8048 000D4FA8 41 82 00 08 */ beq lbl_800D8050 /* 800D804C 000D4FAC 67 9C 20 00 */ oris r28, r28, 0x2000 lbl_800D8050: /* 800D8050 000D4FB0 7F 43 D3 78 */ mr r3, r26 /* 800D8054 000D4FB4 48 26 6B D5 */ bl ReadFloat__12CInputStreamFv /* 800D8058 000D4FB8 C0 02 8E 50 */ lfs f0, lbl_805AAB70@sda21(r2) /* 800D805C 000D4FBC 7F 43 D3 78 */ mr r3, r26 /* 800D8060 000D4FC0 EE A0 00 72 */ fmuls f21, f0, f1 /* 800D8064 000D4FC4 48 26 6C 79 */ bl ReadBool__12CInputStreamFv /* 800D8068 000D4FC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800D806C 000D4FCC 41 82 00 08 */ beq lbl_800D8074 /* 800D8070 000D4FD0 67 9C 40 00 */ oris r28, r28, 0x4000 lbl_800D8074: /* 800D8074 000D4FD4 7F 43 D3 78 */ mr r3, r26 /* 800D8078 000D4FD8 48 26 6B B1 */ bl ReadFloat__12CInputStreamFv /* 800D807C 000D4FDC C0 02 8E 50 */ lfs f0, lbl_805AAB70@sda21(r2) /* 800D8080 000D4FE0 7F 43 D3 78 */ mr r3, r26 /* 800D8084 000D4FE4 EE 80 00 72 */ fmuls f20, f0, f1 /* 800D8088 000D4FE8 48 26 6B A1 */ bl ReadFloat__12CInputStreamFv /* 800D808C 000D4FEC FE E0 08 90 */ fmr f23, f1 /* 800D8090 000D4FF0 7F 43 D3 78 */ mr r3, r26 /* 800D8094 000D4FF4 48 26 6B 95 */ bl ReadFloat__12CInputStreamFv /* 800D8098 000D4FF8 C0 02 8E 50 */ lfs f0, lbl_805AAB70@sda21(r2) /* 800D809C 000D4FFC 7F 43 D3 78 */ mr r3, r26 /* 800D80A0 000D5000 EE 60 00 72 */ fmuls f19, f0, f1 /* 800D80A4 000D5004 48 26 6C 39 */ bl ReadBool__12CInputStreamFv /* 800D80A8 000D5008 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800D80AC 000D500C 41 82 00 08 */ beq lbl_800D80B4 /* 800D80B0 000D5010 67 9C 80 00 */ oris r28, r28, 0x8000 lbl_800D80B4: /* 800D80B4 000D5014 7F 43 D3 78 */ mr r3, r26 /* 800D80B8 000D5018 48 26 6B 71 */ bl ReadFloat__12CInputStreamFv /* 800D80BC 000D501C FF 20 08 90 */ fmr f25, f1 /* 800D80C0 000D5020 7F 43 D3 78 */ mr r3, r26 /* 800D80C4 000D5024 48 26 6B 65 */ bl ReadFloat__12CInputStreamFv /* 800D80C8 000D5028 FF 40 08 90 */ fmr f26, f1 /* 800D80CC 000D502C 7F 43 D3 78 */ mr r3, r26 /* 800D80D0 000D5030 48 26 6B 59 */ bl ReadFloat__12CInputStreamFv /* 800D80D4 000D5034 FF 60 08 90 */ fmr f27, f1 /* 800D80D8 000D5038 7F 43 D3 78 */ mr r3, r26 /* 800D80DC 000D503C 48 26 6B 4D */ bl ReadFloat__12CInputStreamFv /* 800D80E0 000D5040 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D80E4 000D5044 FF 80 08 90 */ fmr f28, f1 /* 800D80E8 000D5048 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D80EC 000D504C 38 60 01 98 */ li r3, 0x198 /* 800D80F0 000D5050 38 84 00 0D */ addi r4, r4, 0xd /* 800D80F4 000D5054 38 A0 00 00 */ li r5, 0 /* 800D80F8 000D5058 48 23 D7 75 */ bl __nw__FUlPCcPCc /* 800D80FC 000D505C 7C 7A 1B 79 */ or. r26, r3, r3 /* 800D8100 000D5060 41 82 00 90 */ beq lbl_800D8190 /* 800D8104 000D5064 7F 24 CB 78 */ mr r4, r25 /* 800D8108 000D5068 38 61 00 30 */ addi r3, r1, 0x30 /* 800D810C 000D506C 4B F7 4F D1 */ bl AllocateUniqueId__13CStateManagerFv /* 800D8110 000D5070 A0 61 00 30 */ lhz r3, 0x30(r1) /* 800D8114 000D5074 38 A1 00 5C */ addi r5, r1, 0x5c /* 800D8118 000D5078 38 81 00 50 */ addi r4, r1, 0x50 /* 800D811C 000D507C 38 01 00 44 */ addi r0, r1, 0x44 /* 800D8120 000D5080 B0 61 00 34 */ sth r3, 0x34(r1) /* 800D8124 000D5084 FC 20 F8 90 */ fmr f1, f31 /* 800D8128 000D5088 FC 40 F0 90 */ fmr f2, f30 /* 800D812C 000D508C 7F 43 D3 78 */ mr r3, r26 /* 800D8130 000D5090 93 81 00 08 */ stw r28, 8(r1) /* 800D8134 000D5094 FC 60 E8 90 */ fmr f3, f29 /* 800D8138 000D5098 FC 80 C0 90 */ fmr f4, f24 /* 800D813C 000D509C 90 A1 00 0C */ stw r5, 0xc(r1) /* 800D8140 000D50A0 FC A0 B0 90 */ fmr f5, f22 /* 800D8144 000D50A4 7F 66 DB 78 */ mr r6, r27 /* 800D8148 000D50A8 90 81 00 10 */ stw r4, 0x10(r1) /* 800D814C 000D50AC FC C0 A8 90 */ fmr f6, f21 /* 800D8150 000D50B0 FC E0 A0 90 */ fmr f7, f20 /* 800D8154 000D50B4 7F E8 FB 78 */ mr r8, r31 /* 800D8158 000D50B8 90 01 00 14 */ stw r0, 0x14(r1) /* 800D815C 000D50BC FD 00 B8 90 */ fmr f8, f23 /* 800D8160 000D50C0 7F C9 F3 78 */ mr r9, r30 /* 800D8164 000D50C4 7F AA EB 78 */ mr r10, r29 /* 800D8168 000D50C8 D2 61 00 18 */ stfs f19, 0x18(r1) /* 800D816C 000D50CC 38 81 00 34 */ addi r4, r1, 0x34 /* 800D8170 000D50D0 38 A1 00 68 */ addi r5, r1, 0x68 /* 800D8174 000D50D4 D3 21 00 1C */ stfs f25, 0x1c(r1) /* 800D8178 000D50D8 38 E1 00 78 */ addi r7, r1, 0x78 /* 800D817C 000D50DC D3 61 00 20 */ stfs f27, 0x20(r1) /* 800D8180 000D50E0 D3 41 00 24 */ stfs f26, 0x24(r1) /* 800D8184 000D50E4 D3 81 00 28 */ stfs f28, 0x28(r1) /* 800D8188 000D50E8 4B FE CD 89 */ bl "__ct__17CScriptCameraHintF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbiQ211CBallCamera20EBallCameraBehaviourifffRC13CCameraSpringRC13CCameraSpringfRC9CVector3fRC9CVector3ff" /* 800D818C 000D50EC 7C 7A 1B 78 */ mr r26, r3 lbl_800D8190: /* 800D8190 000D50F0 38 61 00 68 */ addi r3, r1, 0x68 /* 800D8194 000D50F4 48 26 59 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D8198 000D50F8 7F 43 D3 78 */ mr r3, r26 lbl_800D819C: /* 800D819C 000D50FC E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 /* 800D81A0 000D5100 CB E1 01 90 */ lfd f31, 0x190(r1) /* 800D81A4 000D5104 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 /* 800D81A8 000D5108 CB C1 01 80 */ lfd f30, 0x180(r1) /* 800D81AC 000D510C E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 /* 800D81B0 000D5110 CB A1 01 70 */ lfd f29, 0x170(r1) /* 800D81B4 000D5114 E3 81 01 68 */ psq_l f28, 360(r1), 0, qr0 /* 800D81B8 000D5118 CB 81 01 60 */ lfd f28, 0x160(r1) /* 800D81BC 000D511C E3 61 01 58 */ psq_l f27, 344(r1), 0, qr0 /* 800D81C0 000D5120 CB 61 01 50 */ lfd f27, 0x150(r1) /* 800D81C4 000D5124 E3 41 01 48 */ psq_l f26, 328(r1), 0, qr0 /* 800D81C8 000D5128 CB 41 01 40 */ lfd f26, 0x140(r1) /* 800D81CC 000D512C E3 21 01 38 */ psq_l f25, 312(r1), 0, qr0 /* 800D81D0 000D5130 CB 21 01 30 */ lfd f25, 0x130(r1) /* 800D81D4 000D5134 E3 01 01 28 */ psq_l f24, 296(r1), 0, qr0 /* 800D81D8 000D5138 CB 01 01 20 */ lfd f24, 0x120(r1) /* 800D81DC 000D513C E2 E1 01 18 */ psq_l f23, 280(r1), 0, qr0 /* 800D81E0 000D5140 CA E1 01 10 */ lfd f23, 0x110(r1) /* 800D81E4 000D5144 E2 C1 01 08 */ psq_l f22, 264(r1), 0, qr0 /* 800D81E8 000D5148 CA C1 01 00 */ lfd f22, 0x100(r1) /* 800D81EC 000D514C E2 A1 00 F8 */ psq_l f21, 248(r1), 0, qr0 /* 800D81F0 000D5150 CA A1 00 F0 */ lfd f21, 0xf0(r1) /* 800D81F4 000D5154 E2 81 00 E8 */ psq_l f20, 232(r1), 0, qr0 /* 800D81F8 000D5158 CA 81 00 E0 */ lfd f20, 0xe0(r1) /* 800D81FC 000D515C E2 61 00 D8 */ psq_l f19, 216(r1), 0, qr0 /* 800D8200 000D5160 CA 61 00 D0 */ lfd f19, 0xd0(r1) /* 800D8204 000D5164 BB 21 00 B4 */ lmw r25, 0xb4(r1) /* 800D8208 000D5168 80 01 01 A4 */ lwz r0, 0x1a4(r1) /* 800D820C 000D516C 7C 08 03 A6 */ mtlr r0 /* 800D8210 000D5170 38 21 01 A0 */ addi r1, r1, 0x1a0 /* 800D8214 000D5174 4E 80 00 20 */ blr .global LoadDock__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadDock__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D8218 000D5178 94 21 FF 90 */ stwu r1, -0x70(r1) /* 800D821C 000D517C 7C 08 02 A6 */ mflr r0 /* 800D8220 000D5180 2C 05 00 07 */ cmpwi r5, 7 /* 800D8224 000D5184 90 01 00 74 */ stw r0, 0x74(r1) /* 800D8228 000D5188 BF 21 00 54 */ stmw r25, 0x54(r1) /* 800D822C 000D518C 7C 79 1B 78 */ mr r25, r3 /* 800D8230 000D5190 7C 9B 23 78 */ mr r27, r4 /* 800D8234 000D5194 7C DA 33 78 */ mr r26, r6 /* 800D8238 000D5198 41 82 00 0C */ beq lbl_800D8244 /* 800D823C 000D519C 38 60 00 00 */ li r3, 0 /* 800D8240 000D51A0 48 00 00 E0 */ b lbl_800D8320 lbl_800D8244: /* 800D8244 000D51A4 4B F6 CF A1 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D8248 000D51A8 7C 64 1B 78 */ mr r4, r3 /* 800D824C 000D51AC 38 61 00 40 */ addi r3, r1, 0x40 /* 800D8250 000D51B0 48 26 5F 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D8254 000D51B4 7F 63 DB 78 */ mr r3, r27 /* 800D8258 000D51B8 48 26 6A 85 */ bl ReadBool__12CInputStreamFv /* 800D825C 000D51BC 7C 7D 1B 78 */ mr r29, r3 /* 800D8260 000D51C0 7F 64 DB 78 */ mr r4, r27 /* 800D8264 000D51C4 38 61 00 34 */ addi r3, r1, 0x34 /* 800D8268 000D51C8 48 23 C9 25 */ bl __ct__9CVector3fFR12CInputStream /* 800D826C 000D51CC 7F 64 DB 78 */ mr r4, r27 /* 800D8270 000D51D0 38 61 00 28 */ addi r3, r1, 0x28 /* 800D8274 000D51D4 48 23 C9 19 */ bl __ct__9CVector3fFR12CInputStream /* 800D8278 000D51D8 7F 63 DB 78 */ mr r3, r27 /* 800D827C 000D51DC 48 26 6A 09 */ bl ReadLong__12CInputStreamFv /* 800D8280 000D51E0 7C 7C 1B 78 */ mr r28, r3 /* 800D8284 000D51E4 7F 63 DB 78 */ mr r3, r27 /* 800D8288 000D51E8 48 26 69 FD */ bl ReadLong__12CInputStreamFv /* 800D828C 000D51EC 7C 7E 1B 78 */ mr r30, r3 /* 800D8290 000D51F0 7F 63 DB 78 */ mr r3, r27 /* 800D8294 000D51F4 48 26 6A 49 */ bl ReadBool__12CInputStreamFv /* 800D8298 000D51F8 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D829C 000D51FC 7C 7F 1B 78 */ mr r31, r3 /* 800D82A0 000D5200 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D82A4 000D5204 38 60 02 70 */ li r3, 0x270 /* 800D82A8 000D5208 38 84 00 0D */ addi r4, r4, 0xd /* 800D82AC 000D520C 38 A0 00 00 */ li r5, 0 /* 800D82B0 000D5210 48 23 D5 BD */ bl __nw__FUlPCcPCc /* 800D82B4 000D5214 7C 7B 1B 79 */ or. r27, r3, r3 /* 800D82B8 000D5218 41 82 00 5C */ beq lbl_800D8314 /* 800D82BC 000D521C 93 C1 00 20 */ stw r30, 0x20(r1) /* 800D82C0 000D5220 7F 24 CB 78 */ mr r4, r25 /* 800D82C4 000D5224 38 61 00 18 */ addi r3, r1, 0x18 /* 800D82C8 000D5228 93 C1 00 24 */ stw r30, 0x24(r1) /* 800D82CC 000D522C 4B F7 4E 11 */ bl AllocateUniqueId__13CStateManagerFv /* 800D82D0 000D5230 A0 81 00 18 */ lhz r4, 0x18(r1) /* 800D82D4 000D5234 39 40 00 00 */ li r10, 0 /* 800D82D8 000D5238 57 E0 06 3E */ clrlwi r0, r31, 0x18 /* 800D82DC 000D523C 7F 63 DB 78 */ mr r3, r27 /* 800D82E0 000D5240 B0 81 00 1C */ sth r4, 0x1c(r1) /* 800D82E4 000D5244 7F 46 D3 78 */ mr r6, r26 /* 800D82E8 000D5248 7F 89 E3 78 */ mr r9, r28 /* 800D82EC 000D524C 38 81 00 1C */ addi r4, r1, 0x1c /* 800D82F0 000D5250 93 A1 00 08 */ stw r29, 8(r1) /* 800D82F4 000D5254 38 A1 00 40 */ addi r5, r1, 0x40 /* 800D82F8 000D5258 38 E1 00 34 */ addi r7, r1, 0x34 /* 800D82FC 000D525C 39 01 00 28 */ addi r8, r1, 0x28 /* 800D8300 000D5260 91 41 00 0C */ stw r10, 0xc(r1) /* 800D8304 000D5264 39 41 00 24 */ addi r10, r1, 0x24 /* 800D8308 000D5268 90 01 00 10 */ stw r0, 0x10(r1) /* 800D830C 000D526C 4B FE C1 21 */ bl "__ct__11CScriptDockF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC9CVector3fi7TAreaIdbib" /* 800D8310 000D5270 7C 7B 1B 78 */ mr r27, r3 lbl_800D8314: /* 800D8314 000D5274 38 61 00 40 */ addi r3, r1, 0x40 /* 800D8318 000D5278 48 26 57 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D831C 000D527C 7F 63 DB 78 */ mr r3, r27 lbl_800D8320: /* 800D8320 000D5280 BB 21 00 54 */ lmw r25, 0x54(r1) /* 800D8324 000D5284 80 01 00 74 */ lwz r0, 0x74(r1) /* 800D8328 000D5288 7C 08 03 A6 */ mtlr r0 /* 800D832C 000D528C 38 21 00 70 */ addi r1, r1, 0x70 /* 800D8330 000D5290 4E 80 00 20 */ blr .global LoadJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D8334 000D5294 38 60 00 00 */ li r3, 0 /* 800D8338 000D5298 4E 80 00 20 */ blr .global LoadSpawnPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadSpawnPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D833C 000D529C 94 21 FE 20 */ stwu r1, -0x1e0(r1) /* 800D8340 000D52A0 7C 08 02 A6 */ mflr r0 /* 800D8344 000D52A4 90 01 01 E4 */ stw r0, 0x1e4(r1) /* 800D8348 000D52A8 BF 01 01 C0 */ stmw r24, 0x1c0(r1) /* 800D834C 000D52AC 7C BB 2B 78 */ mr r27, r5 /* 800D8350 000D52B0 2C 1B 00 23 */ cmpwi r27, 0x23 /* 800D8354 000D52B4 7C 79 1B 78 */ mr r25, r3 /* 800D8358 000D52B8 7C 9F 23 78 */ mr r31, r4 /* 800D835C 000D52BC 7C DA 33 78 */ mr r26, r6 /* 800D8360 000D52C0 40 80 00 0C */ bge lbl_800D836C /* 800D8364 000D52C4 38 60 00 00 */ li r3, 0 /* 800D8368 000D52C8 48 00 02 58 */ b lbl_800D85C0 lbl_800D836C: /* 800D836C 000D52CC 4B F6 CE 79 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D8370 000D52D0 7C 64 1B 78 */ mr r4, r3 /* 800D8374 000D52D4 38 61 00 30 */ addi r3, r1, 0x30 /* 800D8378 000D52D8 48 26 5D E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D837C 000D52DC 7F E4 FB 78 */ mr r4, r31 /* 800D8380 000D52E0 38 61 00 24 */ addi r3, r1, 0x24 /* 800D8384 000D52E4 48 23 C8 09 */ bl __ct__9CVector3fFR12CInputStream /* 800D8388 000D52E8 7F E4 FB 78 */ mr r4, r31 /* 800D838C 000D52EC 38 61 00 18 */ addi r3, r1, 0x18 /* 800D8390 000D52F0 48 23 C7 FD */ bl __ct__9CVector3fFR12CInputStream /* 800D8394 000D52F4 38 00 00 00 */ li r0, 0 /* 800D8398 000D52F8 3B 81 01 1C */ addi r28, r1, 0x11c /* 800D839C 000D52FC 90 01 01 18 */ stw r0, 0x118(r1) /* 800D83A0 000D5300 3B BB FF FA */ addi r29, r27, -6 /* 800D83A4 000D5304 3B C0 00 00 */ li r30, 0 /* 800D83A8 000D5308 48 00 00 30 */ b lbl_800D83D8 lbl_800D83AC: /* 800D83AC 000D530C 7F E3 FB 78 */ mr r3, r31 /* 800D83B0 000D5310 48 26 68 D5 */ bl ReadLong__12CInputStreamFv /* 800D83B4 000D5314 80 01 01 18 */ lwz r0, 0x118(r1) /* 800D83B8 000D5318 54 00 10 3A */ slwi r0, r0, 2 /* 800D83BC 000D531C 7C 9C 02 15 */ add. r4, r28, r0 /* 800D83C0 000D5320 41 82 00 08 */ beq lbl_800D83C8 /* 800D83C4 000D5324 90 64 00 00 */ stw r3, 0(r4) lbl_800D83C8: /* 800D83C8 000D5328 80 61 01 18 */ lwz r3, 0x118(r1) /* 800D83CC 000D532C 3B DE 00 01 */ addi r30, r30, 1 /* 800D83D0 000D5330 38 03 00 01 */ addi r0, r3, 1 /* 800D83D4 000D5334 90 01 01 18 */ stw r0, 0x118(r1) lbl_800D83D8: /* 800D83D8 000D5338 7C 1E E8 00 */ cmpw r30, r29 /* 800D83DC 000D533C 41 80 FF D0 */ blt lbl_800D83AC /* 800D83E0 000D5340 80 61 01 18 */ lwz r3, 0x118(r1) /* 800D83E4 000D5344 80 8D 86 F0 */ lwz r4, lbl_805A72B0@sda21(r13) /* 800D83E8 000D5348 20 03 00 29 */ subfic r0, r3, 0x29 /* 800D83EC 000D534C 7C 09 03 A6 */ mtctr r0 /* 800D83F0 000D5350 2C 03 00 29 */ cmpwi r3, 0x29 /* 800D83F4 000D5354 40 80 00 28 */ bge lbl_800D841C lbl_800D83F8: /* 800D83F8 000D5358 80 01 01 18 */ lwz r0, 0x118(r1) /* 800D83FC 000D535C 54 00 10 3A */ slwi r0, r0, 2 /* 800D8400 000D5360 7C 7C 02 15 */ add. r3, r28, r0 /* 800D8404 000D5364 41 82 00 08 */ beq lbl_800D840C /* 800D8408 000D5368 90 83 00 00 */ stw r4, 0(r3) lbl_800D840C: /* 800D840C 000D536C 80 61 01 18 */ lwz r3, 0x118(r1) /* 800D8410 000D5370 38 03 00 01 */ addi r0, r3, 1 /* 800D8414 000D5374 90 01 01 18 */ stw r0, 0x118(r1) /* 800D8418 000D5378 42 00 FF E0 */ bdnz lbl_800D83F8 lbl_800D841C: /* 800D841C 000D537C 7F E3 FB 78 */ mr r3, r31 /* 800D8420 000D5380 48 26 68 BD */ bl ReadBool__12CInputStreamFv /* 800D8424 000D5384 7C 7E 1B 78 */ mr r30, r3 /* 800D8428 000D5388 7F E3 FB 78 */ mr r3, r31 /* 800D842C 000D538C 48 26 68 B1 */ bl ReadBool__12CInputStreamFv /* 800D8430 000D5390 2C 1B 00 23 */ cmpwi r27, 0x23 /* 800D8434 000D5394 7C 7D 1B 78 */ mr r29, r3 /* 800D8438 000D5398 3B 60 00 00 */ li r27, 0 /* 800D843C 000D539C 41 80 00 10 */ blt lbl_800D844C /* 800D8440 000D53A0 7F E3 FB 78 */ mr r3, r31 /* 800D8444 000D53A4 48 26 68 99 */ bl ReadBool__12CInputStreamFv /* 800D8448 000D53A8 7C 7B 1B 78 */ mr r27, r3 lbl_800D844C: /* 800D844C 000D53AC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D8450 000D53B0 3B 00 00 00 */ li r24, 0 /* 800D8454 000D53B4 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D8458 000D53B8 38 60 01 10 */ li r3, 0x110 /* 800D845C 000D53BC 38 84 00 0D */ addi r4, r4, 0xd /* 800D8460 000D53C0 38 A0 00 00 */ li r5, 0 /* 800D8464 000D53C4 48 23 D4 09 */ bl __nw__FUlPCcPCc /* 800D8468 000D53C8 7C 7F 1B 79 */ or. r31, r3, r3 /* 800D846C 000D53CC 41 82 00 98 */ beq lbl_800D8504 /* 800D8470 000D53D0 7F 24 CB 78 */ mr r4, r25 /* 800D8474 000D53D4 38 61 00 10 */ addi r3, r1, 0x10 /* 800D8478 000D53D8 4B F7 4C 65 */ bl AllocateUniqueId__13CStateManagerFv /* 800D847C 000D53DC A0 61 00 10 */ lhz r3, 0x10(r1) /* 800D8480 000D53E0 38 81 00 74 */ addi r4, r1, 0x74 /* 800D8484 000D53E4 80 01 01 18 */ lwz r0, 0x118(r1) /* 800D8488 000D53E8 B0 61 00 14 */ sth r3, 0x14(r1) /* 800D848C 000D53EC 38 60 00 00 */ li r3, 0 /* 800D8490 000D53F0 90 01 00 70 */ stw r0, 0x70(r1) /* 800D8494 000D53F4 48 00 00 20 */ b lbl_800D84B4 lbl_800D8498: /* 800D8498 000D53F8 28 04 00 00 */ cmplwi r4, 0 /* 800D849C 000D53FC 41 82 00 0C */ beq lbl_800D84A8 /* 800D84A0 000D5400 80 1C 00 00 */ lwz r0, 0(r28) /* 800D84A4 000D5404 90 04 00 00 */ stw r0, 0(r4) lbl_800D84A8: /* 800D84A8 000D5408 38 84 00 04 */ addi r4, r4, 4 /* 800D84AC 000D540C 38 63 00 01 */ addi r3, r3, 1 /* 800D84B0 000D5410 3B 9C 00 04 */ addi r28, r28, 4 lbl_800D84B4: /* 800D84B4 000D5414 80 01 00 70 */ lwz r0, 0x70(r1) /* 800D84B8 000D5418 7C 03 00 00 */ cmpw r3, r0 /* 800D84BC 000D541C 41 80 FF DC */ blt lbl_800D8498 /* 800D84C0 000D5420 38 61 00 40 */ addi r3, r1, 0x40 /* 800D84C4 000D5424 38 81 00 18 */ addi r4, r1, 0x18 /* 800D84C8 000D5428 38 A1 00 24 */ addi r5, r1, 0x24 /* 800D84CC 000D542C 3B 00 00 01 */ li r24, 1 /* 800D84D0 000D5430 48 00 21 15 */ bl ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f /* 800D84D4 000D5434 57 60 06 3E */ clrlwi r0, r27, 0x18 /* 800D84D8 000D5438 7F E3 FB 78 */ mr r3, r31 /* 800D84DC 000D543C 90 01 00 08 */ stw r0, 8(r1) /* 800D84E0 000D5440 7F 46 D3 78 */ mr r6, r26 /* 800D84E4 000D5444 7F C9 F3 78 */ mr r9, r30 /* 800D84E8 000D5448 7F AA EB 78 */ mr r10, r29 /* 800D84EC 000D544C 38 81 00 14 */ addi r4, r1, 0x14 /* 800D84F0 000D5450 38 A1 00 30 */ addi r5, r1, 0x30 /* 800D84F4 000D5454 38 E1 00 40 */ addi r7, r1, 0x40 /* 800D84F8 000D5458 39 01 00 70 */ addi r8, r1, 0x70 /* 800D84FC 000D545C 48 00 A1 C1 */ bl "__ct__17CScriptSpawnPointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fQ24rstl21reserved_vectorbbb" /* 800D8500 000D5460 7C 7F 1B 78 */ mr r31, r3 lbl_800D8504: /* 800D8504 000D5464 7F 00 07 75 */ extsb. r0, r24 /* 800D8508 000D5468 41 82 00 58 */ beq lbl_800D8560 /* 800D850C 000D546C 80 A1 00 70 */ lwz r5, 0x70(r1) /* 800D8510 000D5470 38 60 00 00 */ li r3, 0 /* 800D8514 000D5474 2C 05 00 00 */ cmpwi r5, 0 /* 800D8518 000D5478 40 81 00 40 */ ble lbl_800D8558 /* 800D851C 000D547C 2C 05 00 08 */ cmpwi r5, 8 /* 800D8520 000D5480 38 85 FF F8 */ addi r4, r5, -8 /* 800D8524 000D5484 40 81 00 20 */ ble lbl_800D8544 /* 800D8528 000D5488 38 04 00 07 */ addi r0, r4, 7 /* 800D852C 000D548C 54 00 E8 FE */ srwi r0, r0, 3 /* 800D8530 000D5490 7C 09 03 A6 */ mtctr r0 /* 800D8534 000D5494 2C 04 00 00 */ cmpwi r4, 0 /* 800D8538 000D5498 40 81 00 0C */ ble lbl_800D8544 lbl_800D853C: /* 800D853C 000D549C 38 63 00 08 */ addi r3, r3, 8 /* 800D8540 000D54A0 42 00 FF FC */ bdnz lbl_800D853C lbl_800D8544: /* 800D8544 000D54A4 7C 03 28 50 */ subf r0, r3, r5 /* 800D8548 000D54A8 7C 09 03 A6 */ mtctr r0 /* 800D854C 000D54AC 7C 03 28 00 */ cmpw r3, r5 /* 800D8550 000D54B0 40 80 00 08 */ bge lbl_800D8558 lbl_800D8554: /* 800D8554 000D54B4 42 00 00 00 */ bdnz lbl_800D8554 lbl_800D8558: /* 800D8558 000D54B8 38 00 00 00 */ li r0, 0 /* 800D855C 000D54BC 90 01 00 70 */ stw r0, 0x70(r1) lbl_800D8560: /* 800D8560 000D54C0 80 A1 01 18 */ lwz r5, 0x118(r1) /* 800D8564 000D54C4 38 60 00 00 */ li r3, 0 /* 800D8568 000D54C8 2C 05 00 00 */ cmpwi r5, 0 /* 800D856C 000D54CC 40 81 00 40 */ ble lbl_800D85AC /* 800D8570 000D54D0 2C 05 00 08 */ cmpwi r5, 8 /* 800D8574 000D54D4 38 85 FF F8 */ addi r4, r5, -8 /* 800D8578 000D54D8 40 81 00 20 */ ble lbl_800D8598 /* 800D857C 000D54DC 38 04 00 07 */ addi r0, r4, 7 /* 800D8580 000D54E0 54 00 E8 FE */ srwi r0, r0, 3 /* 800D8584 000D54E4 7C 09 03 A6 */ mtctr r0 /* 800D8588 000D54E8 2C 04 00 00 */ cmpwi r4, 0 /* 800D858C 000D54EC 40 81 00 0C */ ble lbl_800D8598 lbl_800D8590: /* 800D8590 000D54F0 38 63 00 08 */ addi r3, r3, 8 /* 800D8594 000D54F4 42 00 FF FC */ bdnz lbl_800D8590 lbl_800D8598: /* 800D8598 000D54F8 7C 03 28 50 */ subf r0, r3, r5 /* 800D859C 000D54FC 7C 09 03 A6 */ mtctr r0 /* 800D85A0 000D5500 7C 03 28 00 */ cmpw r3, r5 /* 800D85A4 000D5504 40 80 00 08 */ bge lbl_800D85AC lbl_800D85A8: /* 800D85A8 000D5508 42 00 00 00 */ bdnz lbl_800D85A8 lbl_800D85AC: /* 800D85AC 000D550C 38 00 00 00 */ li r0, 0 /* 800D85B0 000D5510 38 61 00 30 */ addi r3, r1, 0x30 /* 800D85B4 000D5514 90 01 01 18 */ stw r0, 0x118(r1) /* 800D85B8 000D5518 48 26 55 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D85BC 000D551C 7F E3 FB 78 */ mr r3, r31 lbl_800D85C0: /* 800D85C0 000D5520 BB 01 01 C0 */ lmw r24, 0x1c0(r1) /* 800D85C4 000D5524 80 01 01 E4 */ lwz r0, 0x1e4(r1) /* 800D85C8 000D5528 7C 08 03 A6 */ mtlr r0 /* 800D85CC 000D552C 38 21 01 E0 */ addi r1, r1, 0x1e0 /* 800D85D0 000D5530 4E 80 00 20 */ blr .global LoadRipple__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadRipple__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D85D4 000D5534 94 21 FF B0 */ stwu r1, -0x50(r1) /* 800D85D8 000D5538 7C 08 02 A6 */ mflr r0 /* 800D85DC 000D553C 2C 05 00 04 */ cmpwi r5, 4 /* 800D85E0 000D5540 90 01 00 54 */ stw r0, 0x54(r1) /* 800D85E4 000D5544 DB E1 00 48 */ stfd f31, 0x48(r1) /* 800D85E8 000D5548 93 E1 00 44 */ stw r31, 0x44(r1) /* 800D85EC 000D554C 93 C1 00 40 */ stw r30, 0x40(r1) /* 800D85F0 000D5550 7C 9E 23 78 */ mr r30, r4 /* 800D85F4 000D5554 93 A1 00 3C */ stw r29, 0x3c(r1) /* 800D85F8 000D5558 7C DD 33 78 */ mr r29, r6 /* 800D85FC 000D555C 93 81 00 38 */ stw r28, 0x38(r1) /* 800D8600 000D5560 7C 7C 1B 78 */ mr r28, r3 /* 800D8604 000D5564 41 82 00 0C */ beq lbl_800D8610 /* 800D8608 000D5568 38 60 00 00 */ li r3, 0 /* 800D860C 000D556C 48 00 00 9C */ b lbl_800D86A8 lbl_800D8610: /* 800D8610 000D5570 4B F6 CB D5 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D8614 000D5574 7C 64 1B 78 */ mr r4, r3 /* 800D8618 000D5578 38 61 00 1C */ addi r3, r1, 0x1c /* 800D861C 000D557C 48 26 5B 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D8620 000D5580 7F C4 F3 78 */ mr r4, r30 /* 800D8624 000D5584 38 61 00 10 */ addi r3, r1, 0x10 /* 800D8628 000D5588 48 23 C5 65 */ bl __ct__9CVector3fFR12CInputStream /* 800D862C 000D558C 7F C3 F3 78 */ mr r3, r30 /* 800D8630 000D5590 48 26 66 AD */ bl ReadBool__12CInputStreamFv /* 800D8634 000D5594 7C 7F 1B 78 */ mr r31, r3 /* 800D8638 000D5598 7F C3 F3 78 */ mr r3, r30 /* 800D863C 000D559C 48 26 65 ED */ bl ReadFloat__12CInputStreamFv /* 800D8640 000D55A0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D8644 000D55A4 FF E0 08 90 */ fmr f31, f1 /* 800D8648 000D55A8 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D864C 000D55AC 38 A0 00 00 */ li r5, 0 /* 800D8650 000D55B0 38 60 00 44 */ li r3, 0x44 /* 800D8654 000D55B4 38 84 00 0D */ addi r4, r4, 0xd /* 800D8658 000D55B8 48 23 D2 15 */ bl __nw__FUlPCcPCc /* 800D865C 000D55BC 7C 7E 1B 79 */ or. r30, r3, r3 /* 800D8660 000D55C0 41 82 00 3C */ beq lbl_800D869C /* 800D8664 000D55C4 7F 84 E3 78 */ mr r4, r28 /* 800D8668 000D55C8 38 61 00 08 */ addi r3, r1, 8 /* 800D866C 000D55CC 4B F7 4A 71 */ bl AllocateUniqueId__13CStateManagerFv /* 800D8670 000D55D0 A0 01 00 08 */ lhz r0, 8(r1) /* 800D8674 000D55D4 FC 20 F8 90 */ fmr f1, f31 /* 800D8678 000D55D8 7F C3 F3 78 */ mr r3, r30 /* 800D867C 000D55DC 7F A6 EB 78 */ mr r6, r29 /* 800D8680 000D55E0 B0 01 00 0C */ sth r0, 0xc(r1) /* 800D8684 000D55E4 7F E8 FB 78 */ mr r8, r31 /* 800D8688 000D55E8 38 81 00 0C */ addi r4, r1, 0xc /* 800D868C 000D55EC 38 A1 00 1C */ addi r5, r1, 0x1c /* 800D8690 000D55F0 38 E1 00 10 */ addi r7, r1, 0x10 /* 800D8694 000D55F4 48 09 CA 65 */ bl "__ct__13CScriptRippleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fbffff" /* 800D8698 000D55F8 7C 7E 1B 78 */ mr r30, r3 lbl_800D869C: /* 800D869C 000D55FC 38 61 00 1C */ addi r3, r1, 0x1c /* 800D86A0 000D5600 48 26 54 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D86A4 000D5604 7F C3 F3 78 */ mr r3, r30 lbl_800D86A8: /* 800D86A8 000D5608 80 01 00 54 */ lwz r0, 0x54(r1) /* 800D86AC 000D560C CB E1 00 48 */ lfd f31, 0x48(r1) /* 800D86B0 000D5610 83 E1 00 44 */ lwz r31, 0x44(r1) /* 800D86B4 000D5614 83 C1 00 40 */ lwz r30, 0x40(r1) /* 800D86B8 000D5618 83 A1 00 3C */ lwz r29, 0x3c(r1) /* 800D86BC 000D561C 83 81 00 38 */ lwz r28, 0x38(r1) /* 800D86C0 000D5620 7C 08 03 A6 */ mtlr r0 /* 800D86C4 000D5624 38 21 00 50 */ addi r1, r1, 0x50 /* 800D86C8 000D5628 4E 80 00 20 */ blr .global LoadSteam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadSteam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D86CC 000D562C 94 21 FE E0 */ stwu r1, -0x120(r1) /* 800D86D0 000D5630 7C 08 02 A6 */ mflr r0 /* 800D86D4 000D5634 90 01 01 24 */ stw r0, 0x124(r1) /* 800D86D8 000D5638 DB E1 01 10 */ stfd f31, 0x110(r1) /* 800D86DC 000D563C F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 /* 800D86E0 000D5640 DB C1 01 00 */ stfd f30, 0x100(r1) /* 800D86E4 000D5644 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 /* 800D86E8 000D5648 DB A1 00 F0 */ stfd f29, 0xf0(r1) /* 800D86EC 000D564C F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 /* 800D86F0 000D5650 DB 81 00 E0 */ stfd f28, 0xe0(r1) /* 800D86F4 000D5654 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 /* 800D86F8 000D5658 BF 21 00 C4 */ stmw r25, 0xc4(r1) /* 800D86FC 000D565C 2C 05 00 0B */ cmpwi r5, 0xb /* 800D8700 000D5660 7C 79 1B 78 */ mr r25, r3 /* 800D8704 000D5664 7C 9B 23 78 */ mr r27, r4 /* 800D8708 000D5668 7C DA 33 78 */ mr r26, r6 /* 800D870C 000D566C 41 82 00 0C */ beq lbl_800D8718 /* 800D8710 000D5670 38 60 00 00 */ li r3, 0 /* 800D8714 000D5674 48 00 01 AC */ b lbl_800D88C0 lbl_800D8718: /* 800D8718 000D5678 4B F6 CA CD */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D871C 000D567C 7C 64 1B 78 */ mr r4, r3 /* 800D8720 000D5680 38 61 00 5C */ addi r3, r1, 0x5c /* 800D8724 000D5684 48 26 5A 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D8728 000D5688 7F 64 DB 78 */ mr r4, r27 /* 800D872C 000D568C 38 61 00 50 */ addi r3, r1, 0x50 /* 800D8730 000D5690 48 23 C4 5D */ bl __ct__9CVector3fFR12CInputStream /* 800D8734 000D5694 7F 64 DB 78 */ mr r4, r27 /* 800D8738 000D5698 38 61 00 44 */ addi r3, r1, 0x44 /* 800D873C 000D569C 48 23 C4 51 */ bl __ct__9CVector3fFR12CInputStream /* 800D8740 000D56A0 7F 64 DB 78 */ mr r4, r27 /* 800D8744 000D56A4 38 61 00 9C */ addi r3, r1, 0x9c /* 800D8748 000D56A8 4B FE AE 19 */ bl __ct__11CDamageInfoFR12CInputStream /* 800D874C 000D56AC 7F 64 DB 78 */ mr r4, r27 /* 800D8750 000D56B0 38 61 00 38 */ addi r3, r1, 0x38 /* 800D8754 000D56B4 48 23 C4 39 */ bl __ct__9CVector3fFR12CInputStream /* 800D8758 000D56B8 7F 63 DB 78 */ mr r3, r27 /* 800D875C 000D56BC 48 26 65 29 */ bl ReadLong__12CInputStreamFv /* 800D8760 000D56C0 7C 7C 1B 78 */ mr r28, r3 /* 800D8764 000D56C4 7F 63 DB 78 */ mr r3, r27 /* 800D8768 000D56C8 48 26 65 75 */ bl ReadBool__12CInputStreamFv /* 800D876C 000D56CC 7C 7D 1B 78 */ mr r29, r3 /* 800D8770 000D56D0 7F 63 DB 78 */ mr r3, r27 /* 800D8774 000D56D4 48 26 65 11 */ bl ReadLong__12CInputStreamFv /* 800D8778 000D56D8 7C 7E 1B 78 */ mr r30, r3 /* 800D877C 000D56DC 7F 63 DB 78 */ mr r3, r27 /* 800D8780 000D56E0 48 26 64 A9 */ bl ReadFloat__12CInputStreamFv /* 800D8784 000D56E4 FF E0 08 90 */ fmr f31, f1 /* 800D8788 000D56E8 7F 63 DB 78 */ mr r3, r27 /* 800D878C 000D56EC 48 26 64 9D */ bl ReadFloat__12CInputStreamFv /* 800D8790 000D56F0 FF C0 08 90 */ fmr f30, f1 /* 800D8794 000D56F4 7F 63 DB 78 */ mr r3, r27 /* 800D8798 000D56F8 48 26 64 91 */ bl ReadFloat__12CInputStreamFv /* 800D879C 000D56FC FF A0 08 90 */ fmr f29, f1 /* 800D87A0 000D5700 7F 63 DB 78 */ mr r3, r27 /* 800D87A4 000D5704 48 26 64 85 */ bl ReadFloat__12CInputStreamFv /* 800D87A8 000D5708 FF 80 08 90 */ fmr f28, f1 /* 800D87AC 000D570C 7F 63 DB 78 */ mr r3, r27 /* 800D87B0 000D5710 48 26 65 2D */ bl ReadBool__12CInputStreamFv /* 800D87B4 000D5714 C0 42 8E 60 */ lfs f2, lbl_805AAB80@sda21(r2) /* 800D87B8 000D5718 7C 7F 1B 78 */ mr r31, r3 /* 800D87BC 000D571C C0 01 00 44 */ lfs f0, 0x44(r1) /* 800D87C0 000D5720 38 61 00 6C */ addi r3, r1, 0x6c /* 800D87C4 000D5724 C0 21 00 48 */ lfs f1, 0x48(r1) /* 800D87C8 000D5728 38 81 00 2C */ addi r4, r1, 0x2c /* 800D87CC 000D572C EC 62 00 32 */ fmuls f3, f2, f0 /* 800D87D0 000D5730 C0 01 00 4C */ lfs f0, 0x4c(r1) /* 800D87D4 000D5734 EC 82 00 72 */ fmuls f4, f2, f1 /* 800D87D8 000D5738 38 A1 00 20 */ addi r5, r1, 0x20 /* 800D87DC 000D573C EC A2 00 32 */ fmuls f5, f2, f0 /* 800D87E0 000D5740 FC 40 18 50 */ fneg f2, f3 /* 800D87E4 000D5744 FC 20 20 50 */ fneg f1, f4 /* 800D87E8 000D5748 D0 61 00 20 */ stfs f3, 0x20(r1) /* 800D87EC 000D574C FC 00 28 50 */ fneg f0, f5 /* 800D87F0 000D5750 D0 81 00 24 */ stfs f4, 0x24(r1) /* 800D87F4 000D5754 D0 A1 00 28 */ stfs f5, 0x28(r1) /* 800D87F8 000D5758 D0 41 00 2C */ stfs f2, 0x2c(r1) /* 800D87FC 000D575C D0 21 00 30 */ stfs f1, 0x30(r1) /* 800D8800 000D5760 D0 01 00 34 */ stfs f0, 0x34(r1) /* 800D8804 000D5764 48 25 FD 05 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 800D8808 000D5768 C0 A1 00 6C */ lfs f5, 0x6c(r1) /* 800D880C 000D576C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D8810 000D5770 C0 81 00 70 */ lfs f4, 0x70(r1) /* 800D8814 000D5774 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l /* 800D8818 000D5778 C0 61 00 74 */ lfs f3, 0x74(r1) /* 800D881C 000D577C 38 83 00 0D */ addi r4, r3, 0xd /* 800D8820 000D5780 C0 41 00 78 */ lfs f2, 0x78(r1) /* 800D8824 000D5784 38 60 01 70 */ li r3, 0x170 /* 800D8828 000D5788 C0 21 00 7C */ lfs f1, 0x7c(r1) /* 800D882C 000D578C 38 A0 00 00 */ li r5, 0 /* 800D8830 000D5790 C0 01 00 80 */ lfs f0, 0x80(r1) /* 800D8834 000D5794 D0 A1 00 84 */ stfs f5, 0x84(r1) /* 800D8838 000D5798 D0 81 00 88 */ stfs f4, 0x88(r1) /* 800D883C 000D579C D0 61 00 8C */ stfs f3, 0x8c(r1) /* 800D8840 000D57A0 D0 41 00 90 */ stfs f2, 0x90(r1) /* 800D8844 000D57A4 D0 21 00 94 */ stfs f1, 0x94(r1) /* 800D8848 000D57A8 D0 01 00 98 */ stfs f0, 0x98(r1) /* 800D884C 000D57AC 48 23 D0 21 */ bl __nw__FUlPCcPCc /* 800D8850 000D57B0 7C 7B 1B 79 */ or. r27, r3, r3 /* 800D8854 000D57B4 41 82 00 60 */ beq lbl_800D88B4 /* 800D8858 000D57B8 7F 24 CB 78 */ mr r4, r25 /* 800D885C 000D57BC 38 61 00 18 */ addi r3, r1, 0x18 /* 800D8860 000D57C0 4B F7 48 7D */ bl AllocateUniqueId__13CStateManagerFv /* 800D8864 000D57C4 A0 01 00 18 */ lhz r0, 0x18(r1) /* 800D8868 000D57C8 FC 20 F8 90 */ fmr f1, f31 /* 800D886C 000D57CC FC 40 F0 90 */ fmr f2, f30 /* 800D8870 000D57D0 7F 63 DB 78 */ mr r3, r27 /* 800D8874 000D57D4 B0 01 00 1C */ sth r0, 0x1c(r1) /* 800D8878 000D57D8 FC 60 E8 90 */ fmr f3, f29 /* 800D887C 000D57DC FC 80 E0 90 */ fmr f4, f28 /* 800D8880 000D57E0 93 81 00 08 */ stw r28, 8(r1) /* 800D8884 000D57E4 7F 46 D3 78 */ mr r6, r26 /* 800D8888 000D57E8 38 81 00 1C */ addi r4, r1, 0x1c /* 800D888C 000D57EC 93 A1 00 0C */ stw r29, 0xc(r1) /* 800D8890 000D57F0 38 A1 00 5C */ addi r5, r1, 0x5c /* 800D8894 000D57F4 38 E1 00 50 */ addi r7, r1, 0x50 /* 800D8898 000D57F8 39 01 00 84 */ addi r8, r1, 0x84 /* 800D889C 000D57FC 93 C1 00 10 */ stw r30, 0x10(r1) /* 800D88A0 000D5800 39 21 00 9C */ addi r9, r1, 0x9c /* 800D88A4 000D5804 39 41 00 38 */ addi r10, r1, 0x38 /* 800D88A8 000D5808 93 E1 00 14 */ stw r31, 0x14(r1) /* 800D88AC 000D580C 48 09 C4 E5 */ bl "__ct__12CScriptSteamF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibUiffff" /* 800D88B0 000D5810 7C 7B 1B 78 */ mr r27, r3 lbl_800D88B4: /* 800D88B4 000D5814 38 61 00 5C */ addi r3, r1, 0x5c /* 800D88B8 000D5818 48 26 52 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D88BC 000D581C 7F 63 DB 78 */ mr r3, r27 lbl_800D88C0: /* 800D88C0 000D5820 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 /* 800D88C4 000D5824 CB E1 01 10 */ lfd f31, 0x110(r1) /* 800D88C8 000D5828 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 /* 800D88CC 000D582C CB C1 01 00 */ lfd f30, 0x100(r1) /* 800D88D0 000D5830 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 /* 800D88D4 000D5834 CB A1 00 F0 */ lfd f29, 0xf0(r1) /* 800D88D8 000D5838 E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 /* 800D88DC 000D583C CB 81 00 E0 */ lfd f28, 0xe0(r1) /* 800D88E0 000D5840 BB 21 00 C4 */ lmw r25, 0xc4(r1) /* 800D88E4 000D5844 80 01 01 24 */ lwz r0, 0x124(r1) /* 800D88E8 000D5848 7C 08 03 A6 */ mtlr r0 /* 800D88EC 000D584C 38 21 01 20 */ addi r1, r1, 0x120 /* 800D88F0 000D5850 4E 80 00 20 */ blr .global LoadWater__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadWater__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D88F4 000D5854 94 21 FB E0 */ stwu r1, -0x420(r1) /* 800D88F8 000D5858 7C 08 02 A6 */ mflr r0 /* 800D88FC 000D585C 90 01 04 24 */ stw r0, 0x424(r1) /* 800D8900 000D5860 DB E1 04 10 */ stfd f31, 0x410(r1) /* 800D8904 000D5864 F3 E1 04 18 */ psq_st f31, 1048(r1), 0, qr0 /* 800D8908 000D5868 DB C1 04 00 */ stfd f30, 0x400(r1) /* 800D890C 000D586C F3 C1 04 08 */ psq_st f30, 1032(r1), 0, qr0 /* 800D8910 000D5870 DB A1 03 F0 */ stfd f29, 0x3f0(r1) /* 800D8914 000D5874 F3 A1 03 F8 */ psq_st f29, 1016(r1), 0, qr0 /* 800D8918 000D5878 DB 81 03 E0 */ stfd f28, 0x3e0(r1) /* 800D891C 000D587C F3 81 03 E8 */ psq_st f28, 1000(r1), 0, qr0 /* 800D8920 000D5880 DB 61 03 D0 */ stfd f27, 0x3d0(r1) /* 800D8924 000D5884 F3 61 03 D8 */ psq_st f27, 984(r1), 0, qr0 /* 800D8928 000D5888 DB 41 03 C0 */ stfd f26, 0x3c0(r1) /* 800D892C 000D588C F3 41 03 C8 */ psq_st f26, 968(r1), 0, qr0 /* 800D8930 000D5890 DB 21 03 B0 */ stfd f25, 0x3b0(r1) /* 800D8934 000D5894 F3 21 03 B8 */ psq_st f25, 952(r1), 0, qr0 /* 800D8938 000D5898 DB 01 03 A0 */ stfd f24, 0x3a0(r1) /* 800D893C 000D589C F3 01 03 A8 */ psq_st f24, 936(r1), 0, qr0 /* 800D8940 000D58A0 DA E1 03 90 */ stfd f23, 0x390(r1) /* 800D8944 000D58A4 F2 E1 03 98 */ psq_st f23, 920(r1), 0, qr0 /* 800D8948 000D58A8 DA C1 03 80 */ stfd f22, 0x380(r1) /* 800D894C 000D58AC F2 C1 03 88 */ psq_st f22, 904(r1), 0, qr0 /* 800D8950 000D58B0 DA A1 03 70 */ stfd f21, 0x370(r1) /* 800D8954 000D58B4 F2 A1 03 78 */ psq_st f21, 888(r1), 0, qr0 /* 800D8958 000D58B8 DA 81 03 60 */ stfd f20, 0x360(r1) /* 800D895C 000D58BC F2 81 03 68 */ psq_st f20, 872(r1), 0, qr0 /* 800D8960 000D58C0 DA 61 03 50 */ stfd f19, 0x350(r1) /* 800D8964 000D58C4 F2 61 03 58 */ psq_st f19, 856(r1), 0, qr0 /* 800D8968 000D58C8 DA 41 03 40 */ stfd f18, 0x340(r1) /* 800D896C 000D58CC F2 41 03 48 */ psq_st f18, 840(r1), 0, qr0 /* 800D8970 000D58D0 DA 21 03 30 */ stfd f17, 0x330(r1) /* 800D8974 000D58D4 F2 21 03 38 */ psq_st f17, 824(r1), 0, qr0 /* 800D8978 000D58D8 DA 01 03 20 */ stfd f16, 0x320(r1) /* 800D897C 000D58DC F2 01 03 28 */ psq_st f16, 808(r1), 0, qr0 /* 800D8980 000D58E0 D9 E1 03 10 */ stfd f15, 0x310(r1) /* 800D8984 000D58E4 F1 E1 03 18 */ psq_st f15, 792(r1), 0, qr0 /* 800D8988 000D58E8 D9 C1 03 00 */ stfd f14, 0x300(r1) /* 800D898C 000D58EC F1 C1 03 08 */ psq_st f14, 776(r1), 0, qr0 /* 800D8990 000D58F0 BD C1 02 B8 */ stmw r14, 0x2b8(r1) /* 800D8994 000D58F4 2C 05 00 3F */ cmpwi r5, 0x3f /* 800D8998 000D58F8 90 C1 00 E0 */ stw r6, 0xe0(r1) /* 800D899C 000D58FC 7C 7B 1B 78 */ mr r27, r3 /* 800D89A0 000D5900 7C 9F 23 78 */ mr r31, r4 /* 800D89A4 000D5904 41 82 00 0C */ beq lbl_800D89B0 /* 800D89A8 000D5908 38 60 00 00 */ li r3, 0 /* 800D89AC 000D590C 48 00 07 38 */ b lbl_800D90E4 lbl_800D89B0: /* 800D89B0 000D5910 4B F6 C8 35 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D89B4 000D5914 7C 64 1B 78 */ mr r4, r3 /* 800D89B8 000D5918 38 61 01 54 */ addi r3, r1, 0x154 /* 800D89BC 000D591C 48 26 57 A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D89C0 000D5920 7F E4 FB 78 */ mr r4, r31 /* 800D89C4 000D5924 38 61 01 48 */ addi r3, r1, 0x148 /* 800D89C8 000D5928 48 23 C1 C5 */ bl __ct__9CVector3fFR12CInputStream /* 800D89CC 000D592C 7F E4 FB 78 */ mr r4, r31 /* 800D89D0 000D5930 38 61 01 3C */ addi r3, r1, 0x13c /* 800D89D4 000D5934 48 23 C1 B9 */ bl __ct__9CVector3fFR12CInputStream /* 800D89D8 000D5938 7F E4 FB 78 */ mr r4, r31 /* 800D89DC 000D593C 38 61 01 94 */ addi r3, r1, 0x194 /* 800D89E0 000D5940 4B FE AB 81 */ bl __ct__11CDamageInfoFR12CInputStream /* 800D89E4 000D5944 7F E4 FB 78 */ mr r4, r31 /* 800D89E8 000D5948 38 61 01 30 */ addi r3, r1, 0x130 /* 800D89EC 000D594C 48 23 C1 A1 */ bl __ct__9CVector3fFR12CInputStream /* 800D89F0 000D5950 7F E3 FB 78 */ mr r3, r31 /* 800D89F4 000D5954 48 26 62 91 */ bl ReadLong__12CInputStreamFv /* 800D89F8 000D5958 60 60 07 FC */ ori r0, r3, 0x7fc /* 800D89FC 000D595C 7F E3 FB 78 */ mr r3, r31 /* 800D8A00 000D5960 90 01 02 70 */ stw r0, 0x270(r1) /* 800D8A04 000D5964 48 26 62 D9 */ bl ReadBool__12CInputStreamFv /* 800D8A08 000D5968 90 61 02 78 */ stw r3, 0x278(r1) /* 800D8A0C 000D596C 7F E3 FB 78 */ mr r3, r31 /* 800D8A10 000D5970 48 26 62 CD */ bl ReadBool__12CInputStreamFv /* 800D8A14 000D5974 90 61 02 7C */ stw r3, 0x27c(r1) /* 800D8A18 000D5978 7F E3 FB 78 */ mr r3, r31 /* 800D8A1C 000D597C 48 26 62 69 */ bl ReadLong__12CInputStreamFv /* 800D8A20 000D5980 90 61 02 80 */ stw r3, 0x280(r1) /* 800D8A24 000D5984 7F E3 FB 78 */ mr r3, r31 /* 800D8A28 000D5988 48 26 62 5D */ bl ReadLong__12CInputStreamFv /* 800D8A2C 000D598C 90 61 02 84 */ stw r3, 0x284(r1) /* 800D8A30 000D5990 7F E3 FB 78 */ mr r3, r31 /* 800D8A34 000D5994 48 26 62 51 */ bl ReadLong__12CInputStreamFv /* 800D8A38 000D5998 90 61 02 88 */ stw r3, 0x288(r1) /* 800D8A3C 000D599C 7F E3 FB 78 */ mr r3, r31 /* 800D8A40 000D59A0 48 26 62 45 */ bl ReadLong__12CInputStreamFv /* 800D8A44 000D59A4 7C 6F 1B 78 */ mr r15, r3 /* 800D8A48 000D59A8 7F E3 FB 78 */ mr r3, r31 /* 800D8A4C 000D59AC 48 26 62 39 */ bl ReadLong__12CInputStreamFv /* 800D8A50 000D59B0 90 61 02 74 */ stw r3, 0x274(r1) /* 800D8A54 000D59B4 7F E3 FB 78 */ mr r3, r31 /* 800D8A58 000D59B8 48 26 62 2D */ bl ReadLong__12CInputStreamFv /* 800D8A5C 000D59BC 7C 7A 1B 78 */ mr r26, r3 /* 800D8A60 000D59C0 7F E4 FB 78 */ mr r4, r31 /* 800D8A64 000D59C4 38 61 01 18 */ addi r3, r1, 0x118 /* 800D8A68 000D59C8 48 23 C1 25 */ bl __ct__9CVector3fFR12CInputStream /* 800D8A6C 000D59CC C0 41 01 18 */ lfs f2, 0x118(r1) /* 800D8A70 000D59D0 38 61 01 24 */ addi r3, r1, 0x124 /* 800D8A74 000D59D4 C0 21 01 1C */ lfs f1, 0x11c(r1) /* 800D8A78 000D59D8 C0 01 01 20 */ lfs f0, 0x120(r1) /* 800D8A7C 000D59DC D0 41 01 24 */ stfs f2, 0x124(r1) /* 800D8A80 000D59E0 D0 21 01 28 */ stfs f1, 0x128(r1) /* 800D8A84 000D59E4 D0 01 01 2C */ stfs f0, 0x12c(r1) /* 800D8A88 000D59E8 48 23 BC 71 */ bl CanBeNormalized__9CVector3fCFv /* 800D8A8C 000D59EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800D8A90 000D59F0 40 82 00 18 */ bne lbl_800D8AA8 /* 800D8A94 000D59F4 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) /* 800D8A98 000D59F8 C0 02 8E 6C */ lfs f0, lbl_805AAB8C@sda21(r2) /* 800D8A9C 000D59FC D0 21 01 24 */ stfs f1, 0x124(r1) /* 800D8AA0 000D5A00 D0 21 01 28 */ stfs f1, 0x128(r1) /* 800D8AA4 000D5A04 D0 01 01 2C */ stfs f0, 0x12c(r1) lbl_800D8AA8: /* 800D8AA8 000D5A08 7F E3 FB 78 */ mr r3, r31 /* 800D8AAC 000D5A0C 48 26 61 7D */ bl ReadFloat__12CInputStreamFv /* 800D8AB0 000D5A10 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800D8AB4 000D5A14 7F E3 FB 78 */ mr r3, r31 /* 800D8AB8 000D5A18 EC 00 08 24 */ fdivs f0, f0, f1 /* 800D8ABC 000D5A1C D0 01 02 58 */ stfs f0, 0x258(r1) /* 800D8AC0 000D5A20 48 26 61 69 */ bl ReadFloat__12CInputStreamFv /* 800D8AC4 000D5A24 D0 21 02 6C */ stfs f1, 0x26c(r1) /* 800D8AC8 000D5A28 7F E3 FB 78 */ mr r3, r31 /* 800D8ACC 000D5A2C 48 26 61 5D */ bl ReadFloat__12CInputStreamFv /* 800D8AD0 000D5A30 D0 21 02 68 */ stfs f1, 0x268(r1) /* 800D8AD4 000D5A34 7F E3 FB 78 */ mr r3, r31 /* 800D8AD8 000D5A38 48 26 62 05 */ bl ReadBool__12CInputStreamFv /* 800D8ADC 000D5A3C 7C 70 1B 78 */ mr r16, r3 /* 800D8AE0 000D5A40 7F E3 FB 78 */ mr r3, r31 /* 800D8AE4 000D5A44 48 26 61 A1 */ bl ReadLong__12CInputStreamFv /* 800D8AE8 000D5A48 7C 71 1B 78 */ mr r17, r3 /* 800D8AEC 000D5A4C 7F E3 FB 78 */ mr r3, r31 /* 800D8AF0 000D5A50 48 26 61 ED */ bl ReadBool__12CInputStreamFv /* 800D8AF4 000D5A54 7C 72 1B 78 */ mr r18, r3 /* 800D8AF8 000D5A58 7F E3 FB 78 */ mr r3, r31 /* 800D8AFC 000D5A5C 48 26 61 2D */ bl ReadFloat__12CInputStreamFv /* 800D8B00 000D5A60 D0 21 02 64 */ stfs f1, 0x264(r1) /* 800D8B04 000D5A64 7F E4 FB 78 */ mr r4, r31 /* 800D8B08 000D5A68 38 61 01 B0 */ addi r3, r1, 0x1b0 /* 800D8B0C 000D5A6C 48 00 06 7D */ bl LoadFluidUVMotion__FR12CInputStream /* 800D8B10 000D5A70 80 01 01 B0 */ lwz r0, 0x1b0(r1) /* 800D8B14 000D5A74 38 81 01 B4 */ addi r4, r1, 0x1b4 /* 800D8B18 000D5A78 38 61 02 08 */ addi r3, r1, 0x208 /* 800D8B1C 000D5A7C 90 01 02 04 */ stw r0, 0x204(r1) /* 800D8B20 000D5A80 7C 09 03 A6 */ mtctr r0 /* 800D8B24 000D5A84 2C 00 00 00 */ cmpwi r0, 0 /* 800D8B28 000D5A88 40 81 00 48 */ ble lbl_800D8B70 lbl_800D8B2C: /* 800D8B2C 000D5A8C 28 03 00 00 */ cmplwi r3, 0 /* 800D8B30 000D5A90 41 82 00 34 */ beq lbl_800D8B64 /* 800D8B34 000D5A94 80 04 00 00 */ lwz r0, 0(r4) /* 800D8B38 000D5A98 C0 04 00 04 */ lfs f0, 4(r4) /* 800D8B3C 000D5A9C 90 03 00 00 */ stw r0, 0(r3) /* 800D8B40 000D5AA0 C0 24 00 08 */ lfs f1, 8(r4) /* 800D8B44 000D5AA4 D0 03 00 04 */ stfs f0, 4(r3) /* 800D8B48 000D5AA8 C0 04 00 0C */ lfs f0, 0xc(r4) /* 800D8B4C 000D5AAC D0 23 00 08 */ stfs f1, 8(r3) /* 800D8B50 000D5AB0 C0 24 00 10 */ lfs f1, 0x10(r4) /* 800D8B54 000D5AB4 D0 03 00 0C */ stfs f0, 0xc(r3) /* 800D8B58 000D5AB8 C0 04 00 14 */ lfs f0, 0x14(r4) /* 800D8B5C 000D5ABC D0 23 00 10 */ stfs f1, 0x10(r3) /* 800D8B60 000D5AC0 D0 03 00 14 */ stfs f0, 0x14(r3) lbl_800D8B64: /* 800D8B64 000D5AC4 38 63 00 18 */ addi r3, r3, 0x18 /* 800D8B68 000D5AC8 38 84 00 18 */ addi r4, r4, 0x18 /* 800D8B6C 000D5ACC 42 00 FF C0 */ bdnz lbl_800D8B2C lbl_800D8B70: /* 800D8B70 000D5AD0 80 A1 01 B0 */ lwz r5, 0x1b0(r1) /* 800D8B74 000D5AD4 38 60 00 00 */ li r3, 0 /* 800D8B78 000D5AD8 C0 21 01 FC */ lfs f1, 0x1fc(r1) /* 800D8B7C 000D5ADC C0 01 02 00 */ lfs f0, 0x200(r1) /* 800D8B80 000D5AE0 2C 05 00 00 */ cmpwi r5, 0 /* 800D8B84 000D5AE4 D0 21 02 50 */ stfs f1, 0x250(r1) /* 800D8B88 000D5AE8 D0 01 02 54 */ stfs f0, 0x254(r1) /* 800D8B8C 000D5AEC 40 81 00 40 */ ble lbl_800D8BCC /* 800D8B90 000D5AF0 2C 05 00 08 */ cmpwi r5, 8 /* 800D8B94 000D5AF4 38 85 FF F8 */ addi r4, r5, -8 /* 800D8B98 000D5AF8 40 81 00 20 */ ble lbl_800D8BB8 /* 800D8B9C 000D5AFC 38 04 00 07 */ addi r0, r4, 7 /* 800D8BA0 000D5B00 54 00 E8 FE */ srwi r0, r0, 3 /* 800D8BA4 000D5B04 7C 09 03 A6 */ mtctr r0 /* 800D8BA8 000D5B08 2C 04 00 00 */ cmpwi r4, 0 /* 800D8BAC 000D5B0C 40 81 00 0C */ ble lbl_800D8BB8 lbl_800D8BB0: /* 800D8BB0 000D5B10 38 63 00 08 */ addi r3, r3, 8 /* 800D8BB4 000D5B14 42 00 FF FC */ bdnz lbl_800D8BB0 lbl_800D8BB8: /* 800D8BB8 000D5B18 7C 03 28 50 */ subf r0, r3, r5 /* 800D8BBC 000D5B1C 7C 09 03 A6 */ mtctr r0 /* 800D8BC0 000D5B20 7C 03 28 00 */ cmpw r3, r5 /* 800D8BC4 000D5B24 40 80 00 08 */ bge lbl_800D8BCC lbl_800D8BC8: /* 800D8BC8 000D5B28 42 00 00 00 */ bdnz lbl_800D8BC8 lbl_800D8BCC: /* 800D8BCC 000D5B2C 38 00 00 00 */ li r0, 0 /* 800D8BD0 000D5B30 7F E3 FB 78 */ mr r3, r31 /* 800D8BD4 000D5B34 90 01 01 B0 */ stw r0, 0x1b0(r1) /* 800D8BD8 000D5B38 48 26 60 51 */ bl ReadFloat__12CInputStreamFv /* 800D8BDC 000D5B3C D0 21 02 60 */ stfs f1, 0x260(r1) /* 800D8BE0 000D5B40 7F E3 FB 78 */ mr r3, r31 /* 800D8BE4 000D5B44 48 26 60 45 */ bl ReadFloat__12CInputStreamFv /* 800D8BE8 000D5B48 D0 21 02 5C */ stfs f1, 0x25c(r1) /* 800D8BEC 000D5B4C 7F E3 FB 78 */ mr r3, r31 /* 800D8BF0 000D5B50 48 26 60 39 */ bl ReadFloat__12CInputStreamFv /* 800D8BF4 000D5B54 FE 20 08 90 */ fmr f17, f1 /* 800D8BF8 000D5B58 7F E3 FB 78 */ mr r3, r31 /* 800D8BFC 000D5B5C 48 26 60 2D */ bl ReadFloat__12CInputStreamFv /* 800D8C00 000D5B60 FE 00 08 90 */ fmr f16, f1 /* 800D8C04 000D5B64 7F E3 FB 78 */ mr r3, r31 /* 800D8C08 000D5B68 48 26 60 21 */ bl ReadFloat__12CInputStreamFv /* 800D8C0C 000D5B6C C0 42 8E 70 */ lfs f2, lbl_805AAB90@sda21(r2) /* 800D8C10 000D5B70 7F E3 FB 78 */ mr r3, r31 /* 800D8C14 000D5B74 C0 02 8E 74 */ lfs f0, lbl_805AAB94@sda21(r2) /* 800D8C18 000D5B78 EC 22 00 72 */ fmuls f1, f2, f1 /* 800D8C1C 000D5B7C ED E1 00 24 */ fdivs f15, f1, f0 /* 800D8C20 000D5B80 48 26 60 09 */ bl ReadFloat__12CInputStreamFv /* 800D8C24 000D5B84 C0 42 8E 70 */ lfs f2, lbl_805AAB90@sda21(r2) /* 800D8C28 000D5B88 7F E3 FB 78 */ mr r3, r31 /* 800D8C2C 000D5B8C C0 02 8E 74 */ lfs f0, lbl_805AAB94@sda21(r2) /* 800D8C30 000D5B90 EC 22 00 72 */ fmuls f1, f2, f1 /* 800D8C34 000D5B94 ED C1 00 24 */ fdivs f14, f1, f0 /* 800D8C38 000D5B98 48 26 5F F1 */ bl ReadFloat__12CInputStreamFv /* 800D8C3C 000D5B9C FE 40 08 90 */ fmr f18, f1 /* 800D8C40 000D5BA0 7F E3 FB 78 */ mr r3, r31 /* 800D8C44 000D5BA4 48 26 5F E5 */ bl ReadFloat__12CInputStreamFv /* 800D8C48 000D5BA8 FE 60 08 90 */ fmr f19, f1 /* 800D8C4C 000D5BAC 7F E4 FB 78 */ mr r4, r31 /* 800D8C50 000D5BB0 38 61 00 FC */ addi r3, r1, 0xfc /* 800D8C54 000D5BB4 48 28 A7 F9 */ bl __ct__6CColorFR12CInputStream /* 800D8C58 000D5BB8 7F E4 FB 78 */ mr r4, r31 /* 800D8C5C 000D5BBC 38 61 00 F0 */ addi r3, r1, 0xf0 /* 800D8C60 000D5BC0 48 28 A7 ED */ bl __ct__6CColorFR12CInputStream /* 800D8C64 000D5BC4 80 01 00 F0 */ lwz r0, 0xf0(r1) /* 800D8C68 000D5BC8 7F E3 FB 78 */ mr r3, r31 /* 800D8C6C 000D5BCC 90 01 00 F8 */ stw r0, 0xf8(r1) /* 800D8C70 000D5BD0 48 26 60 15 */ bl ReadLong__12CInputStreamFv /* 800D8C74 000D5BD4 7C 73 1B 78 */ mr r19, r3 /* 800D8C78 000D5BD8 7F E3 FB 78 */ mr r3, r31 /* 800D8C7C 000D5BDC 48 26 60 09 */ bl ReadLong__12CInputStreamFv /* 800D8C80 000D5BE0 7C 74 1B 78 */ mr r20, r3 /* 800D8C84 000D5BE4 7F E3 FB 78 */ mr r3, r31 /* 800D8C88 000D5BE8 48 26 5F FD */ bl ReadLong__12CInputStreamFv /* 800D8C8C 000D5BEC 7C 75 1B 78 */ mr r21, r3 /* 800D8C90 000D5BF0 7F E3 FB 78 */ mr r3, r31 /* 800D8C94 000D5BF4 48 26 5F F1 */ bl ReadLong__12CInputStreamFv /* 800D8C98 000D5BF8 7C 76 1B 78 */ mr r22, r3 /* 800D8C9C 000D5BFC 7F E3 FB 78 */ mr r3, r31 /* 800D8CA0 000D5C00 48 26 5F E5 */ bl ReadLong__12CInputStreamFv /* 800D8CA4 000D5C04 7C 77 1B 78 */ mr r23, r3 /* 800D8CA8 000D5C08 7F E3 FB 78 */ mr r3, r31 /* 800D8CAC 000D5C0C 48 26 5F D9 */ bl ReadLong__12CInputStreamFv /* 800D8CB0 000D5C10 7C 6E 1B 78 */ mr r14, r3 /* 800D8CB4 000D5C14 7F E3 FB 78 */ mr r3, r31 /* 800D8CB8 000D5C18 48 26 5F CD */ bl ReadLong__12CInputStreamFv /* 800D8CBC 000D5C1C 90 61 02 8C */ stw r3, 0x28c(r1) /* 800D8CC0 000D5C20 7F E3 FB 78 */ mr r3, r31 /* 800D8CC4 000D5C24 48 26 5F C1 */ bl ReadLong__12CInputStreamFv /* 800D8CC8 000D5C28 90 61 02 90 */ stw r3, 0x290(r1) /* 800D8CCC 000D5C2C 7F E3 FB 78 */ mr r3, r31 /* 800D8CD0 000D5C30 48 26 5F B5 */ bl ReadLong__12CInputStreamFv /* 800D8CD4 000D5C34 90 61 02 94 */ stw r3, 0x294(r1) /* 800D8CD8 000D5C38 7F E3 FB 78 */ mr r3, r31 /* 800D8CDC 000D5C3C 48 26 5F A9 */ bl ReadLong__12CInputStreamFv /* 800D8CE0 000D5C40 90 61 02 98 */ stw r3, 0x298(r1) /* 800D8CE4 000D5C44 7F E3 FB 78 */ mr r3, r31 /* 800D8CE8 000D5C48 48 26 5F 41 */ bl ReadFloat__12CInputStreamFv /* 800D8CEC 000D5C4C FE 80 08 90 */ fmr f20, f1 /* 800D8CF0 000D5C50 7F E3 FB 78 */ mr r3, r31 /* 800D8CF4 000D5C54 48 26 5F 91 */ bl ReadLong__12CInputStreamFv /* 800D8CF8 000D5C58 90 61 02 9C */ stw r3, 0x29c(r1) /* 800D8CFC 000D5C5C 7F E3 FB 78 */ mr r3, r31 /* 800D8D00 000D5C60 48 26 5F 29 */ bl ReadFloat__12CInputStreamFv /* 800D8D04 000D5C64 FE A0 08 90 */ fmr f21, f1 /* 800D8D08 000D5C68 7F E3 FB 78 */ mr r3, r31 /* 800D8D0C 000D5C6C 48 26 5F 1D */ bl ReadFloat__12CInputStreamFv /* 800D8D10 000D5C70 FE C0 08 90 */ fmr f22, f1 /* 800D8D14 000D5C74 7F E3 FB 78 */ mr r3, r31 /* 800D8D18 000D5C78 48 26 5F 11 */ bl ReadFloat__12CInputStreamFv /* 800D8D1C 000D5C7C FE E0 08 90 */ fmr f23, f1 /* 800D8D20 000D5C80 7F E3 FB 78 */ mr r3, r31 /* 800D8D24 000D5C84 48 26 5F 05 */ bl ReadFloat__12CInputStreamFv /* 800D8D28 000D5C88 FF 00 08 90 */ fmr f24, f1 /* 800D8D2C 000D5C8C 7F E3 FB 78 */ mr r3, r31 /* 800D8D30 000D5C90 48 26 5E F9 */ bl ReadFloat__12CInputStreamFv /* 800D8D34 000D5C94 FF 20 08 90 */ fmr f25, f1 /* 800D8D38 000D5C98 7F E3 FB 78 */ mr r3, r31 /* 800D8D3C 000D5C9C 48 26 5E ED */ bl ReadFloat__12CInputStreamFv /* 800D8D40 000D5CA0 FF 40 08 90 */ fmr f26, f1 /* 800D8D44 000D5CA4 7F E3 FB 78 */ mr r3, r31 /* 800D8D48 000D5CA8 48 26 5E E1 */ bl ReadFloat__12CInputStreamFv /* 800D8D4C 000D5CAC FF 60 08 90 */ fmr f27, f1 /* 800D8D50 000D5CB0 7F E3 FB 78 */ mr r3, r31 /* 800D8D54 000D5CB4 48 26 5E D5 */ bl ReadFloat__12CInputStreamFv /* 800D8D58 000D5CB8 FF 80 08 90 */ fmr f28, f1 /* 800D8D5C 000D5CBC 7F E4 FB 78 */ mr r4, r31 /* 800D8D60 000D5CC0 38 61 00 EC */ addi r3, r1, 0xec /* 800D8D64 000D5CC4 48 28 A6 E9 */ bl __ct__6CColorFR12CInputStream /* 800D8D68 000D5CC8 80 01 00 EC */ lwz r0, 0xec(r1) /* 800D8D6C 000D5CCC 7F E3 FB 78 */ mr r3, r31 /* 800D8D70 000D5CD0 90 01 00 F4 */ stw r0, 0xf4(r1) /* 800D8D74 000D5CD4 48 26 5F 11 */ bl ReadLong__12CInputStreamFv /* 800D8D78 000D5CD8 90 61 02 A0 */ stw r3, 0x2a0(r1) /* 800D8D7C 000D5CDC 7F E3 FB 78 */ mr r3, r31 /* 800D8D80 000D5CE0 48 26 5E A9 */ bl ReadFloat__12CInputStreamFv /* 800D8D84 000D5CE4 FF A0 08 90 */ fmr f29, f1 /* 800D8D88 000D5CE8 7F E3 FB 78 */ mr r3, r31 /* 800D8D8C 000D5CEC 48 26 5E 9D */ bl ReadFloat__12CInputStreamFv /* 800D8D90 000D5CF0 FF C0 08 90 */ fmr f30, f1 /* 800D8D94 000D5CF4 7F E3 FB 78 */ mr r3, r31 /* 800D8D98 000D5CF8 48 26 5E 91 */ bl ReadFloat__12CInputStreamFv /* 800D8D9C 000D5CFC FF E0 08 90 */ fmr f31, f1 /* 800D8DA0 000D5D00 7F E3 FB 78 */ mr r3, r31 /* 800D8DA4 000D5D04 48 26 5E E1 */ bl ReadLong__12CInputStreamFv /* 800D8DA8 000D5D08 90 61 02 A4 */ stw r3, 0x2a4(r1) /* 800D8DAC 000D5D0C 7F E3 FB 78 */ mr r3, r31 /* 800D8DB0 000D5D10 48 26 5E D5 */ bl ReadLong__12CInputStreamFv /* 800D8DB4 000D5D14 90 61 02 A8 */ stw r3, 0x2a8(r1) /* 800D8DB8 000D5D18 7F E3 FB 78 */ mr r3, r31 /* 800D8DBC 000D5D1C 48 26 5F 21 */ bl ReadBool__12CInputStreamFv /* 800D8DC0 000D5D20 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800D8DC4 000D5D24 7C 78 1B 78 */ mr r24, r3 /* 800D8DC8 000D5D28 3B C0 00 00 */ li r30, 0 /* 800D8DCC 000D5D2C 3B A0 00 00 */ li r29, 0 /* 800D8DD0 000D5D30 3B 80 00 00 */ li r28, 0 /* 800D8DD4 000D5D34 41 82 00 64 */ beq lbl_800D8E38 /* 800D8DD8 000D5D38 7F E3 FB 78 */ mr r3, r31 /* 800D8DDC 000D5D3C 48 26 5E D5 */ bl ReadShort__12CInputStreamFv /* 800D8DE0 000D5D40 7C 60 07 34 */ extsh r0, r3 /* 800D8DE4 000D5D44 7F E3 FB 78 */ mr r3, r31 /* 800D8DE8 000D5D48 7C 1E 03 78 */ mr r30, r0 /* 800D8DEC 000D5D4C 48 26 5E C5 */ bl ReadShort__12CInputStreamFv /* 800D8DF0 000D5D50 7C 60 07 34 */ extsh r0, r3 /* 800D8DF4 000D5D54 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D8DF8 000D5D58 7C DE 01 D6 */ mullw r6, r30, r0 /* 800D8DFC 000D5D5C 38 A0 00 00 */ li r5, 0 /* 800D8E00 000D5D60 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l /* 800D8E04 000D5D64 7C 1D 03 78 */ mr r29, r0 /* 800D8E08 000D5D68 38 83 00 0D */ addi r4, r3, 0xd /* 800D8E0C 000D5D6C 38 06 00 1F */ addi r0, r6, 0x1f /* 800D8E10 000D5D70 7C 00 2E 70 */ srawi r0, r0, 5 /* 800D8E14 000D5D74 7F 20 01 94 */ addze r25, r0 /* 800D8E18 000D5D78 57 23 10 3A */ slwi r3, r25, 2 /* 800D8E1C 000D5D7C 48 23 C9 FD */ bl __nwa__FUlPCcPCc /* 800D8E20 000D5D80 7C 60 1B 78 */ mr r0, r3 /* 800D8E24 000D5D84 7F E3 FB 78 */ mr r3, r31 /* 800D8E28 000D5D88 7C 1C 03 78 */ mr r28, r0 /* 800D8E2C 000D5D8C 57 25 10 3A */ slwi r5, r25, 2 /* 800D8E30 000D5D90 7F 84 E3 78 */ mr r4, r28 /* 800D8E34 000D5D94 48 26 60 4D */ bl ReadBytes__12CInputStreamFPvUl lbl_800D8E38: /* 800D8E38 000D5D98 C0 42 8E 60 */ lfs f2, lbl_805AAB80@sda21(r2) /* 800D8E3C 000D5D9C 38 61 01 64 */ addi r3, r1, 0x164 /* 800D8E40 000D5DA0 C0 01 01 3C */ lfs f0, 0x13c(r1) /* 800D8E44 000D5DA4 38 81 01 0C */ addi r4, r1, 0x10c /* 800D8E48 000D5DA8 C0 21 01 40 */ lfs f1, 0x140(r1) /* 800D8E4C 000D5DAC 38 A1 01 00 */ addi r5, r1, 0x100 /* 800D8E50 000D5DB0 EC 62 00 32 */ fmuls f3, f2, f0 /* 800D8E54 000D5DB4 C0 01 01 44 */ lfs f0, 0x144(r1) /* 800D8E58 000D5DB8 EC 82 00 72 */ fmuls f4, f2, f1 /* 800D8E5C 000D5DBC EC A2 00 32 */ fmuls f5, f2, f0 /* 800D8E60 000D5DC0 FC 40 18 50 */ fneg f2, f3 /* 800D8E64 000D5DC4 D0 61 01 00 */ stfs f3, 0x100(r1) /* 800D8E68 000D5DC8 FC 20 20 50 */ fneg f1, f4 /* 800D8E6C 000D5DCC FC 00 28 50 */ fneg f0, f5 /* 800D8E70 000D5DD0 D0 81 01 04 */ stfs f4, 0x104(r1) /* 800D8E74 000D5DD4 D0 A1 01 08 */ stfs f5, 0x108(r1) /* 800D8E78 000D5DD8 D0 41 01 0C */ stfs f2, 0x10c(r1) /* 800D8E7C 000D5DDC D0 21 01 10 */ stfs f1, 0x110(r1) /* 800D8E80 000D5DE0 D0 01 01 14 */ stfs f0, 0x114(r1) /* 800D8E84 000D5DE4 48 25 F6 85 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 800D8E88 000D5DE8 C0 A1 01 64 */ lfs f5, 0x164(r1) /* 800D8E8C 000D5DEC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D8E90 000D5DF0 C0 81 01 68 */ lfs f4, 0x168(r1) /* 800D8E94 000D5DF4 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l /* 800D8E98 000D5DF8 C0 61 01 6C */ lfs f3, 0x16c(r1) /* 800D8E9C 000D5DFC 38 83 00 0D */ addi r4, r3, 0xd /* 800D8EA0 000D5E00 C0 41 01 70 */ lfs f2, 0x170(r1) /* 800D8EA4 000D5E04 38 60 02 F0 */ li r3, 0x2f0 /* 800D8EA8 000D5E08 C0 21 01 74 */ lfs f1, 0x174(r1) /* 800D8EAC 000D5E0C 38 A0 00 00 */ li r5, 0 /* 800D8EB0 000D5E10 C0 01 01 78 */ lfs f0, 0x178(r1) /* 800D8EB4 000D5E14 D0 A1 01 7C */ stfs f5, 0x17c(r1) /* 800D8EB8 000D5E18 D0 81 01 80 */ stfs f4, 0x180(r1) /* 800D8EBC 000D5E1C D0 61 01 84 */ stfs f3, 0x184(r1) /* 800D8EC0 000D5E20 D0 41 01 88 */ stfs f2, 0x188(r1) /* 800D8EC4 000D5E24 D0 21 01 8C */ stfs f1, 0x18c(r1) /* 800D8EC8 000D5E28 D0 01 01 90 */ stfs f0, 0x190(r1) /* 800D8ECC 000D5E2C 48 23 C9 A1 */ bl __nw__FUlPCcPCc /* 800D8ED0 000D5E30 7C 7F 1B 79 */ or. r31, r3, r3 /* 800D8ED4 000D5E34 41 82 01 B0 */ beq lbl_800D9084 /* 800D8ED8 000D5E38 3C 0F 00 01 */ addis r0, r15, 1 /* 800D8EDC 000D5E3C 3B 20 FF FF */ li r25, -1 /* 800D8EE0 000D5E40 28 00 FF FF */ cmplwi r0, 0xffff /* 800D8EE4 000D5E44 40 82 00 08 */ bne lbl_800D8EEC /* 800D8EE8 000D5E48 7F 59 D3 78 */ mr r25, r26 lbl_800D8EEC: /* 800D8EEC 000D5E4C 3C 0F 00 01 */ addis r0, r15, 1 /* 800D8EF0 000D5E50 3B 40 FF FF */ li r26, -1 /* 800D8EF4 000D5E54 28 00 FF FF */ cmplwi r0, 0xffff /* 800D8EF8 000D5E58 40 82 00 08 */ bne lbl_800D8F00 /* 800D8EFC 000D5E5C 83 41 02 74 */ lwz r26, 0x274(r1) lbl_800D8F00: /* 800D8F00 000D5E60 7F 64 DB 78 */ mr r4, r27 /* 800D8F04 000D5E64 38 61 00 E4 */ addi r3, r1, 0xe4 /* 800D8F08 000D5E68 4B F7 41 D5 */ bl AllocateUniqueId__13CStateManagerFv /* 800D8F0C 000D5E6C A0 81 00 E4 */ lhz r4, 0xe4(r1) /* 800D8F10 000D5E70 38 61 01 30 */ addi r3, r1, 0x130 /* 800D8F14 000D5E74 80 A1 02 78 */ lwz r5, 0x278(r1) /* 800D8F18 000D5E78 39 60 FF FF */ li r11, -1 /* 800D8F1C 000D5E7C B0 81 00 E8 */ sth r4, 0xe8(r1) /* 800D8F20 000D5E80 38 01 01 24 */ addi r0, r1, 0x124 /* 800D8F24 000D5E84 80 81 02 70 */ lwz r4, 0x270(r1) /* 800D8F28 000D5E88 39 81 02 04 */ addi r12, r1, 0x204 /* 800D8F2C 000D5E8C 90 61 00 08 */ stw r3, 8(r1) /* 800D8F30 000D5E90 FC E0 88 90 */ fmr f7, f17 /* 800D8F34 000D5E94 80 C1 02 84 */ lwz r6, 0x284(r1) /* 800D8F38 000D5E98 FD 00 80 90 */ fmr f8, f16 /* 800D8F3C 000D5E9C 90 81 00 0C */ stw r4, 0xc(r1) /* 800D8F40 000D5EA0 7F E3 FB 78 */ mr r3, r31 /* 800D8F44 000D5EA4 81 41 02 88 */ lwz r10, 0x288(r1) /* 800D8F48 000D5EA8 90 A1 00 10 */ stw r5, 0x10(r1) /* 800D8F4C 000D5EAC 7F 64 DB 78 */ mr r4, r27 /* 800D8F50 000D5EB0 80 A1 02 7C */ lwz r5, 0x27c(r1) /* 800D8F54 000D5EB4 39 01 01 48 */ addi r8, r1, 0x148 /* 800D8F58 000D5EB8 C0 21 02 58 */ lfs f1, 0x258(r1) /* 800D8F5C 000D5EBC 39 21 01 7C */ addi r9, r1, 0x17c /* 800D8F60 000D5EC0 90 A1 00 14 */ stw r5, 0x14(r1) /* 800D8F64 000D5EC4 80 A1 02 80 */ lwz r5, 0x280(r1) /* 800D8F68 000D5EC8 C0 41 02 6C */ lfs f2, 0x26c(r1) /* 800D8F6C 000D5ECC 90 A1 00 18 */ stw r5, 0x18(r1) /* 800D8F70 000D5ED0 38 A1 00 E8 */ addi r5, r1, 0xe8 /* 800D8F74 000D5ED4 C0 61 02 68 */ lfs f3, 0x268(r1) /* 800D8F78 000D5ED8 90 C1 00 1C */ stw r6, 0x1c(r1) /* 800D8F7C 000D5EDC 38 C1 01 54 */ addi r6, r1, 0x154 /* 800D8F80 000D5EE0 C0 81 02 64 */ lfs f4, 0x264(r1) /* 800D8F84 000D5EE4 91 41 00 20 */ stw r10, 0x20(r1) /* 800D8F88 000D5EE8 39 41 01 94 */ addi r10, r1, 0x194 /* 800D8F8C 000D5EEC C0 A1 02 60 */ lfs f5, 0x260(r1) /* 800D8F90 000D5EF0 91 E1 00 24 */ stw r15, 0x24(r1) /* 800D8F94 000D5EF4 80 E1 00 E0 */ lwz r7, 0xe0(r1) /* 800D8F98 000D5EF8 93 41 00 28 */ stw r26, 0x28(r1) /* 800D8F9C 000D5EFC C0 C1 02 5C */ lfs f6, 0x25c(r1) /* 800D8FA0 000D5F00 93 21 00 2C */ stw r25, 0x2c(r1) /* 800D8FA4 000D5F04 91 61 00 30 */ stw r11, 0x30(r1) /* 800D8FA8 000D5F08 90 01 00 34 */ stw r0, 0x34(r1) /* 800D8FAC 000D5F0C 38 01 00 FC */ addi r0, r1, 0xfc /* 800D8FB0 000D5F10 92 01 00 38 */ stw r16, 0x38(r1) /* 800D8FB4 000D5F14 92 21 00 3C */ stw r17, 0x3c(r1) /* 800D8FB8 000D5F18 92 41 00 40 */ stw r18, 0x40(r1) /* 800D8FBC 000D5F1C 91 81 00 44 */ stw r12, 0x44(r1) /* 800D8FC0 000D5F20 D1 E1 00 48 */ stfs f15, 0x48(r1) /* 800D8FC4 000D5F24 D1 C1 00 4C */ stfs f14, 0x4c(r1) /* 800D8FC8 000D5F28 D2 41 00 50 */ stfs f18, 0x50(r1) /* 800D8FCC 000D5F2C D2 61 00 54 */ stfs f19, 0x54(r1) /* 800D8FD0 000D5F30 90 01 00 58 */ stw r0, 0x58(r1) /* 800D8FD4 000D5F34 38 01 00 F8 */ addi r0, r1, 0xf8 /* 800D8FD8 000D5F38 90 01 00 5C */ stw r0, 0x5c(r1) /* 800D8FDC 000D5F3C 80 01 02 8C */ lwz r0, 0x28c(r1) /* 800D8FE0 000D5F40 92 61 00 60 */ stw r19, 0x60(r1) /* 800D8FE4 000D5F44 92 81 00 64 */ stw r20, 0x64(r1) /* 800D8FE8 000D5F48 92 A1 00 68 */ stw r21, 0x68(r1) /* 800D8FEC 000D5F4C 92 C1 00 6C */ stw r22, 0x6c(r1) /* 800D8FF0 000D5F50 92 E1 00 70 */ stw r23, 0x70(r1) /* 800D8FF4 000D5F54 91 C1 00 74 */ stw r14, 0x74(r1) /* 800D8FF8 000D5F58 90 01 00 78 */ stw r0, 0x78(r1) /* 800D8FFC 000D5F5C 80 01 02 90 */ lwz r0, 0x290(r1) /* 800D9000 000D5F60 90 01 00 7C */ stw r0, 0x7c(r1) /* 800D9004 000D5F64 80 01 02 94 */ lwz r0, 0x294(r1) /* 800D9008 000D5F68 90 01 00 80 */ stw r0, 0x80(r1) /* 800D900C 000D5F6C 80 01 02 98 */ lwz r0, 0x298(r1) /* 800D9010 000D5F70 90 01 00 84 */ stw r0, 0x84(r1) /* 800D9014 000D5F74 80 01 02 9C */ lwz r0, 0x29c(r1) /* 800D9018 000D5F78 D2 81 00 88 */ stfs f20, 0x88(r1) /* 800D901C 000D5F7C 90 01 00 8C */ stw r0, 0x8c(r1) /* 800D9020 000D5F80 38 01 00 F4 */ addi r0, r1, 0xf4 /* 800D9024 000D5F84 D2 A1 00 90 */ stfs f21, 0x90(r1) /* 800D9028 000D5F88 D2 C1 00 94 */ stfs f22, 0x94(r1) /* 800D902C 000D5F8C D2 E1 00 98 */ stfs f23, 0x98(r1) /* 800D9030 000D5F90 D3 01 00 9C */ stfs f24, 0x9c(r1) /* 800D9034 000D5F94 D3 21 00 A0 */ stfs f25, 0xa0(r1) /* 800D9038 000D5F98 D3 41 00 A4 */ stfs f26, 0xa4(r1) /* 800D903C 000D5F9C D3 61 00 A8 */ stfs f27, 0xa8(r1) /* 800D9040 000D5FA0 D3 81 00 AC */ stfs f28, 0xac(r1) /* 800D9044 000D5FA4 90 01 00 B0 */ stw r0, 0xb0(r1) /* 800D9048 000D5FA8 80 01 02 A0 */ lwz r0, 0x2a0(r1) /* 800D904C 000D5FAC 90 01 00 B4 */ stw r0, 0xb4(r1) /* 800D9050 000D5FB0 80 01 02 A4 */ lwz r0, 0x2a4(r1) /* 800D9054 000D5FB4 D3 A1 00 B8 */ stfs f29, 0xb8(r1) /* 800D9058 000D5FB8 D3 C1 00 BC */ stfs f30, 0xbc(r1) /* 800D905C 000D5FBC D3 E1 00 C0 */ stfs f31, 0xc0(r1) /* 800D9060 000D5FC0 90 01 00 C4 */ stw r0, 0xc4(r1) /* 800D9064 000D5FC4 80 01 02 A8 */ lwz r0, 0x2a8(r1) /* 800D9068 000D5FC8 90 01 00 C8 */ stw r0, 0xc8(r1) /* 800D906C 000D5FCC 93 01 00 CC */ stw r24, 0xcc(r1) /* 800D9070 000D5FD0 93 C1 00 D0 */ stw r30, 0xd0(r1) /* 800D9074 000D5FD4 93 A1 00 D4 */ stw r29, 0xd4(r1) /* 800D9078 000D5FD8 93 81 00 D8 */ stw r28, 0xd8(r1) /* 800D907C 000D5FDC 48 02 80 71 */ bl "__ct__12CScriptWaterFR13CStateManager9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbUiUiUiUiUiUiUiRC9CVector3fffbQ211CFluidPlane10EFluidTypebfRC14CFluidUVMotionffffffffRC6CColorRC6CColorUiUiUiUiUiiiiifUiffffffffRC6CColorUifffUiUibiiPCUi" /* 800D9080 000D5FE0 7C 7F 1B 78 */ mr r31, r3 lbl_800D9084: /* 800D9084 000D5FE4 80 A1 02 04 */ lwz r5, 0x204(r1) /* 800D9088 000D5FE8 38 60 00 00 */ li r3, 0 /* 800D908C 000D5FEC 2C 05 00 00 */ cmpwi r5, 0 /* 800D9090 000D5FF0 40 81 00 40 */ ble lbl_800D90D0 /* 800D9094 000D5FF4 2C 05 00 08 */ cmpwi r5, 8 /* 800D9098 000D5FF8 38 85 FF F8 */ addi r4, r5, -8 /* 800D909C 000D5FFC 40 81 00 20 */ ble lbl_800D90BC /* 800D90A0 000D6000 38 04 00 07 */ addi r0, r4, 7 /* 800D90A4 000D6004 54 00 E8 FE */ srwi r0, r0, 3 /* 800D90A8 000D6008 7C 09 03 A6 */ mtctr r0 /* 800D90AC 000D600C 2C 04 00 00 */ cmpwi r4, 0 /* 800D90B0 000D6010 40 81 00 0C */ ble lbl_800D90BC lbl_800D90B4: /* 800D90B4 000D6014 38 63 00 08 */ addi r3, r3, 8 /* 800D90B8 000D6018 42 00 FF FC */ bdnz lbl_800D90B4 lbl_800D90BC: /* 800D90BC 000D601C 7C 03 28 50 */ subf r0, r3, r5 /* 800D90C0 000D6020 7C 09 03 A6 */ mtctr r0 /* 800D90C4 000D6024 7C 03 28 00 */ cmpw r3, r5 /* 800D90C8 000D6028 40 80 00 08 */ bge lbl_800D90D0 lbl_800D90CC: /* 800D90CC 000D602C 42 00 00 00 */ bdnz lbl_800D90CC lbl_800D90D0: /* 800D90D0 000D6030 38 00 00 00 */ li r0, 0 /* 800D90D4 000D6034 38 61 01 54 */ addi r3, r1, 0x154 /* 800D90D8 000D6038 90 01 02 04 */ stw r0, 0x204(r1) /* 800D90DC 000D603C 48 26 4A 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D90E0 000D6040 7F E3 FB 78 */ mr r3, r31 lbl_800D90E4: /* 800D90E4 000D6044 E3 E1 04 18 */ psq_l f31, 1048(r1), 0, qr0 /* 800D90E8 000D6048 CB E1 04 10 */ lfd f31, 0x410(r1) /* 800D90EC 000D604C E3 C1 04 08 */ psq_l f30, 1032(r1), 0, qr0 /* 800D90F0 000D6050 CB C1 04 00 */ lfd f30, 0x400(r1) /* 800D90F4 000D6054 E3 A1 03 F8 */ psq_l f29, 1016(r1), 0, qr0 /* 800D90F8 000D6058 CB A1 03 F0 */ lfd f29, 0x3f0(r1) /* 800D90FC 000D605C E3 81 03 E8 */ psq_l f28, 1000(r1), 0, qr0 /* 800D9100 000D6060 CB 81 03 E0 */ lfd f28, 0x3e0(r1) /* 800D9104 000D6064 E3 61 03 D8 */ psq_l f27, 984(r1), 0, qr0 /* 800D9108 000D6068 CB 61 03 D0 */ lfd f27, 0x3d0(r1) /* 800D910C 000D606C E3 41 03 C8 */ psq_l f26, 968(r1), 0, qr0 /* 800D9110 000D6070 CB 41 03 C0 */ lfd f26, 0x3c0(r1) /* 800D9114 000D6074 E3 21 03 B8 */ psq_l f25, 952(r1), 0, qr0 /* 800D9118 000D6078 CB 21 03 B0 */ lfd f25, 0x3b0(r1) /* 800D911C 000D607C E3 01 03 A8 */ psq_l f24, 936(r1), 0, qr0 /* 800D9120 000D6080 CB 01 03 A0 */ lfd f24, 0x3a0(r1) /* 800D9124 000D6084 E2 E1 03 98 */ psq_l f23, 920(r1), 0, qr0 /* 800D9128 000D6088 CA E1 03 90 */ lfd f23, 0x390(r1) /* 800D912C 000D608C E2 C1 03 88 */ psq_l f22, 904(r1), 0, qr0 /* 800D9130 000D6090 CA C1 03 80 */ lfd f22, 0x380(r1) /* 800D9134 000D6094 E2 A1 03 78 */ psq_l f21, 888(r1), 0, qr0 /* 800D9138 000D6098 CA A1 03 70 */ lfd f21, 0x370(r1) /* 800D913C 000D609C E2 81 03 68 */ psq_l f20, 872(r1), 0, qr0 /* 800D9140 000D60A0 CA 81 03 60 */ lfd f20, 0x360(r1) /* 800D9144 000D60A4 E2 61 03 58 */ psq_l f19, 856(r1), 0, qr0 /* 800D9148 000D60A8 CA 61 03 50 */ lfd f19, 0x350(r1) /* 800D914C 000D60AC E2 41 03 48 */ psq_l f18, 840(r1), 0, qr0 /* 800D9150 000D60B0 CA 41 03 40 */ lfd f18, 0x340(r1) /* 800D9154 000D60B4 E2 21 03 38 */ psq_l f17, 824(r1), 0, qr0 /* 800D9158 000D60B8 CA 21 03 30 */ lfd f17, 0x330(r1) /* 800D915C 000D60BC E2 01 03 28 */ psq_l f16, 808(r1), 0, qr0 /* 800D9160 000D60C0 CA 01 03 20 */ lfd f16, 0x320(r1) /* 800D9164 000D60C4 E1 E1 03 18 */ psq_l f15, 792(r1), 0, qr0 /* 800D9168 000D60C8 C9 E1 03 10 */ lfd f15, 0x310(r1) /* 800D916C 000D60CC E1 C1 03 08 */ psq_l f14, 776(r1), 0, qr0 /* 800D9170 000D60D0 C9 C1 03 00 */ lfd f14, 0x300(r1) /* 800D9174 000D60D4 B9 C1 02 B8 */ lmw r14, 0x2b8(r1) /* 800D9178 000D60D8 80 01 04 24 */ lwz r0, 0x424(r1) /* 800D917C 000D60DC 7C 08 03 A6 */ mtlr r0 /* 800D9180 000D60E0 38 21 04 20 */ addi r1, r1, 0x420 /* 800D9184 000D60E4 4E 80 00 20 */ blr .global LoadFluidUVMotion__FR12CInputStream LoadFluidUVMotion__FR12CInputStream: /* 800D9188 000D60E8 94 21 FF 70 */ stwu r1, -0x90(r1) /* 800D918C 000D60EC 7C 08 02 A6 */ mflr r0 /* 800D9190 000D60F0 90 01 00 94 */ stw r0, 0x94(r1) /* 800D9194 000D60F4 DB E1 00 80 */ stfd f31, 0x80(r1) /* 800D9198 000D60F8 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 /* 800D919C 000D60FC DB C1 00 70 */ stfd f30, 0x70(r1) /* 800D91A0 000D6100 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 /* 800D91A4 000D6104 DB A1 00 60 */ stfd f29, 0x60(r1) /* 800D91A8 000D6108 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 /* 800D91AC 000D610C 93 E1 00 5C */ stw r31, 0x5c(r1) /* 800D91B0 000D6110 93 C1 00 58 */ stw r30, 0x58(r1) /* 800D91B4 000D6114 93 A1 00 54 */ stw r29, 0x54(r1) /* 800D91B8 000D6118 7C 9E 23 78 */ mr r30, r4 /* 800D91BC 000D611C 7C 7D 1B 78 */ mr r29, r3 /* 800D91C0 000D6120 7F C3 F3 78 */ mr r3, r30 /* 800D91C4 000D6124 48 26 5A C1 */ bl ReadLong__12CInputStreamFv /* 800D91C8 000D6128 7C 7F 1B 78 */ mr r31, r3 /* 800D91CC 000D612C 7F C3 F3 78 */ mr r3, r30 /* 800D91D0 000D6130 48 26 5A 59 */ bl ReadFloat__12CInputStreamFv /* 800D91D4 000D6134 FF C0 08 90 */ fmr f30, f1 /* 800D91D8 000D6138 7F C3 F3 78 */ mr r3, r30 /* 800D91DC 000D613C 48 26 5A 4D */ bl ReadFloat__12CInputStreamFv /* 800D91E0 000D6140 C0 42 8E 78 */ lfs f2, lbl_805AAB98@sda21(r2) /* 800D91E4 000D6144 7F C3 F3 78 */ mr r3, r30 /* 800D91E8 000D6148 C0 02 8E 7C */ lfs f0, lbl_805AAB9C@sda21(r2) /* 800D91EC 000D614C EC 22 00 72 */ fmuls f1, f2, f1 /* 800D91F0 000D6150 EC 01 00 24 */ fdivs f0, f1, f0 /* 800D91F4 000D6154 EF E0 10 28 */ fsubs f31, f0, f2 /* 800D91F8 000D6158 48 26 5A 31 */ bl ReadFloat__12CInputStreamFv /* 800D91FC 000D615C FF A0 08 90 */ fmr f29, f1 /* 800D9200 000D6160 7F C3 F3 78 */ mr r3, r30 /* 800D9204 000D6164 48 26 5A 25 */ bl ReadFloat__12CInputStreamFv /* 800D9208 000D6168 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800D920C 000D616C 7F C3 F3 78 */ mr r3, r30 /* 800D9210 000D6170 93 E1 00 38 */ stw r31, 0x38(r1) /* 800D9214 000D6174 EC 40 F0 24 */ fdivs f2, f0, f30 /* 800D9218 000D6178 D3 E1 00 40 */ stfs f31, 0x40(r1) /* 800D921C 000D617C D3 A1 00 44 */ stfs f29, 0x44(r1) /* 800D9220 000D6180 D0 21 00 48 */ stfs f1, 0x48(r1) /* 800D9224 000D6184 EC 00 08 24 */ fdivs f0, f0, f1 /* 800D9228 000D6188 D0 41 00 3C */ stfs f2, 0x3c(r1) /* 800D922C 000D618C D0 01 00 4C */ stfs f0, 0x4c(r1) /* 800D9230 000D6190 48 26 5A 55 */ bl ReadLong__12CInputStreamFv /* 800D9234 000D6194 7C 7F 1B 78 */ mr r31, r3 /* 800D9238 000D6198 7F C3 F3 78 */ mr r3, r30 /* 800D923C 000D619C 48 26 59 ED */ bl ReadFloat__12CInputStreamFv /* 800D9240 000D61A0 FF C0 08 90 */ fmr f30, f1 /* 800D9244 000D61A4 7F C3 F3 78 */ mr r3, r30 /* 800D9248 000D61A8 48 26 59 E1 */ bl ReadFloat__12CInputStreamFv /* 800D924C 000D61AC C0 42 8E 78 */ lfs f2, lbl_805AAB98@sda21(r2) /* 800D9250 000D61B0 7F C3 F3 78 */ mr r3, r30 /* 800D9254 000D61B4 C0 02 8E 7C */ lfs f0, lbl_805AAB9C@sda21(r2) /* 800D9258 000D61B8 EC 22 00 72 */ fmuls f1, f2, f1 /* 800D925C 000D61BC EC 01 00 24 */ fdivs f0, f1, f0 /* 800D9260 000D61C0 EF E0 10 28 */ fsubs f31, f0, f2 /* 800D9264 000D61C4 48 26 59 C5 */ bl ReadFloat__12CInputStreamFv /* 800D9268 000D61C8 FF A0 08 90 */ fmr f29, f1 /* 800D926C 000D61CC 7F C3 F3 78 */ mr r3, r30 /* 800D9270 000D61D0 48 26 59 B9 */ bl ReadFloat__12CInputStreamFv /* 800D9274 000D61D4 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) /* 800D9278 000D61D8 7F C3 F3 78 */ mr r3, r30 /* 800D927C 000D61DC 93 E1 00 20 */ stw r31, 0x20(r1) /* 800D9280 000D61E0 EC 40 F0 24 */ fdivs f2, f0, f30 /* 800D9284 000D61E4 D3 E1 00 28 */ stfs f31, 0x28(r1) /* 800D9288 000D61E8 D3 A1 00 2C */ stfs f29, 0x2c(r1) /* 800D928C 000D61EC D0 21 00 30 */ stfs f1, 0x30(r1) /* 800D9290 000D61F0 EC 00 08 24 */ fdivs f0, f0, f1 /* 800D9294 000D61F4 D0 41 00 24 */ stfs f2, 0x24(r1) /* 800D9298 000D61F8 D0 01 00 34 */ stfs f0, 0x34(r1) /* 800D929C 000D61FC 48 26 59 E9 */ bl ReadLong__12CInputStreamFv /* 800D92A0 000D6200 7C 7F 1B 78 */ mr r31, r3 /* 800D92A4 000D6204 7F C3 F3 78 */ mr r3, r30 /* 800D92A8 000D6208 48 26 59 81 */ bl ReadFloat__12CInputStreamFv /* 800D92AC 000D620C FF A0 08 90 */ fmr f29, f1 /* 800D92B0 000D6210 7F C3 F3 78 */ mr r3, r30 /* 800D92B4 000D6214 48 26 59 75 */ bl ReadFloat__12CInputStreamFv /* 800D92B8 000D6218 FF C0 08 90 */ fmr f30, f1 /* 800D92BC 000D621C 7F C3 F3 78 */ mr r3, r30 /* 800D92C0 000D6220 48 26 59 69 */ bl ReadFloat__12CInputStreamFv /* 800D92C4 000D6224 FF E0 08 90 */ fmr f31, f1 /* 800D92C8 000D6228 7F C3 F3 78 */ mr r3, r30 /* 800D92CC 000D622C 48 26 59 5D */ bl ReadFloat__12CInputStreamFv /* 800D92D0 000D6230 C0 62 8E 78 */ lfs f3, lbl_805AAB98@sda21(r2) /* 800D92D4 000D6234 7F C3 F3 78 */ mr r3, r30 /* 800D92D8 000D6238 C0 A2 8E 38 */ lfs f5, lbl_805AAB58@sda21(r2) /* 800D92DC 000D623C EC 43 07 B2 */ fmuls f2, f3, f30 /* 800D92E0 000D6240 C0 02 8E 7C */ lfs f0, lbl_805AAB9C@sda21(r2) /* 800D92E4 000D6244 EC 85 E8 24 */ fdivs f4, f5, f29 /* 800D92E8 000D6248 93 E1 00 08 */ stw r31, 8(r1) /* 800D92EC 000D624C D3 E1 00 14 */ stfs f31, 0x14(r1) /* 800D92F0 000D6250 D0 21 00 18 */ stfs f1, 0x18(r1) /* 800D92F4 000D6254 EC 42 00 24 */ fdivs f2, f2, f0 /* 800D92F8 000D6258 D0 81 00 0C */ stfs f4, 0xc(r1) /* 800D92FC 000D625C EC 05 08 24 */ fdivs f0, f5, f1 /* 800D9300 000D6260 EC 22 18 28 */ fsubs f1, f2, f3 /* 800D9304 000D6264 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 800D9308 000D6268 D0 21 00 10 */ stfs f1, 0x10(r1) /* 800D930C 000D626C 48 26 59 1D */ bl ReadFloat__12CInputStreamFv /* 800D9310 000D6270 FF A0 08 90 */ fmr f29, f1 /* 800D9314 000D6274 7F C3 F3 78 */ mr r3, r30 /* 800D9318 000D6278 48 26 59 11 */ bl ReadFloat__12CInputStreamFv /* 800D931C 000D627C FC 40 08 90 */ fmr f2, f1 /* 800D9320 000D6280 C0 62 8E 78 */ lfs f3, lbl_805AAB98@sda21(r2) /* 800D9324 000D6284 C0 02 8E 7C */ lfs f0, lbl_805AAB9C@sda21(r2) /* 800D9328 000D6288 FC 20 E8 90 */ fmr f1, f29 /* 800D932C 000D628C 7F A3 EB 78 */ mr r3, r29 /* 800D9330 000D6290 38 81 00 08 */ addi r4, r1, 8 /* 800D9334 000D6294 EC 43 00 B2 */ fmuls f2, f3, f2 /* 800D9338 000D6298 38 A1 00 38 */ addi r5, r1, 0x38 /* 800D933C 000D629C 38 C1 00 20 */ addi r6, r1, 0x20 /* 800D9340 000D62A0 EC 02 00 24 */ fdivs f0, f2, f0 /* 800D9344 000D62A4 EC 40 18 28 */ fsubs f2, f0, f3 /* 800D9348 000D62A8 48 04 39 7D */ bl __ct__14CFluidUVMotionFffRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotion /* 800D934C 000D62AC E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 /* 800D9350 000D62B0 CB E1 00 80 */ lfd f31, 0x80(r1) /* 800D9354 000D62B4 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 /* 800D9358 000D62B8 CB C1 00 70 */ lfd f30, 0x70(r1) /* 800D935C 000D62BC E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 /* 800D9360 000D62C0 CB A1 00 60 */ lfd f29, 0x60(r1) /* 800D9364 000D62C4 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 800D9368 000D62C8 83 C1 00 58 */ lwz r30, 0x58(r1) /* 800D936C 000D62CC 80 01 00 94 */ lwz r0, 0x94(r1) /* 800D9370 000D62D0 83 A1 00 54 */ lwz r29, 0x54(r1) /* 800D9374 000D62D4 7C 08 03 A6 */ mtlr r0 /* 800D9378 000D62D8 38 21 00 90 */ addi r1, r1, 0x90 /* 800D937C 000D62DC 4E 80 00 20 */ blr .global LoadDamageableTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadDamageableTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D9380 000D62E0 94 21 FF 00 */ stwu r1, -0x100(r1) /* 800D9384 000D62E4 7C 08 02 A6 */ mflr r0 /* 800D9388 000D62E8 2C 05 00 0C */ cmpwi r5, 0xc /* 800D938C 000D62EC 90 01 01 04 */ stw r0, 0x104(r1) /* 800D9390 000D62F0 BE E1 00 DC */ stmw r23, 0xdc(r1) /* 800D9394 000D62F4 7C 7E 1B 78 */ mr r30, r3 /* 800D9398 000D62F8 7C 97 23 78 */ mr r23, r4 /* 800D939C 000D62FC 7C DF 33 78 */ mr r31, r6 /* 800D93A0 000D6300 41 82 00 0C */ beq lbl_800D93AC /* 800D93A4 000D6304 38 60 00 00 */ li r3, 0 /* 800D93A8 000D6308 48 00 01 50 */ b lbl_800D94F8 lbl_800D93AC: /* 800D93AC 000D630C 4B F6 BE 39 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D93B0 000D6310 7C 64 1B 78 */ mr r4, r3 /* 800D93B4 000D6314 38 61 00 60 */ addi r3, r1, 0x60 /* 800D93B8 000D6318 48 26 4D A9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D93BC 000D631C 7E E4 BB 78 */ mr r4, r23 /* 800D93C0 000D6320 38 61 00 54 */ addi r3, r1, 0x54 /* 800D93C4 000D6324 48 23 B7 C9 */ bl __ct__9CVector3fFR12CInputStream /* 800D93C8 000D6328 7E E4 BB 78 */ mr r4, r23 /* 800D93CC 000D632C 38 61 00 48 */ addi r3, r1, 0x48 /* 800D93D0 000D6330 48 23 B7 BD */ bl __ct__9CVector3fFR12CInputStream /* 800D93D4 000D6334 7E E4 BB 78 */ mr r4, r23 /* 800D93D8 000D6338 38 61 00 40 */ addi r3, r1, 0x40 /* 800D93DC 000D633C 48 0F A4 69 */ bl __ct__11CHealthInfoFR12CInputStream /* 800D93E0 000D6340 7E E4 BB 78 */ mr r4, r23 /* 800D93E4 000D6344 38 61 00 70 */ addi r3, r1, 0x70 /* 800D93E8 000D6348 48 02 97 71 */ bl __ct__20CDamageVulnerabilityFR12CInputStream /* 800D93EC 000D634C 7E E3 BB 78 */ mr r3, r23 /* 800D93F0 000D6350 48 26 58 95 */ bl ReadLong__12CInputStreamFv /* 800D93F4 000D6354 80 1F 00 00 */ lwz r0, 0(r31) /* 800D93F8 000D6358 7C 65 1B 78 */ mr r5, r3 /* 800D93FC 000D635C 7F C3 F3 78 */ mr r3, r30 /* 800D9400 000D6360 38 81 00 38 */ addi r4, r1, 0x38 /* 800D9404 000D6364 90 01 00 34 */ stw r0, 0x34(r1) /* 800D9408 000D6368 90 01 00 38 */ stw r0, 0x38(r1) /* 800D940C 000D636C 48 00 01 01 */ bl TransformDamageableTriggerFlags__FR13CStateManager7TAreaIdUi /* 800D9410 000D6370 7C 79 1B 78 */ mr r25, r3 /* 800D9414 000D6374 7E E3 BB 78 */ mr r3, r23 /* 800D9418 000D6378 48 26 58 6D */ bl ReadLong__12CInputStreamFv /* 800D941C 000D637C 7C 7A 1B 78 */ mr r26, r3 /* 800D9420 000D6380 7E E3 BB 78 */ mr r3, r23 /* 800D9424 000D6384 48 26 58 61 */ bl ReadLong__12CInputStreamFv /* 800D9428 000D6388 7C 7B 1B 78 */ mr r27, r3 /* 800D942C 000D638C 7E E3 BB 78 */ mr r3, r23 /* 800D9430 000D6390 48 26 58 55 */ bl ReadLong__12CInputStreamFv /* 800D9434 000D6394 7C 7C 1B 78 */ mr r28, r3 /* 800D9438 000D6398 7E E3 BB 78 */ mr r3, r23 /* 800D943C 000D639C 48 26 58 A1 */ bl ReadBool__12CInputStreamFv /* 800D9440 000D63A0 54 64 06 3E */ clrlwi r4, r3, 0x18 /* 800D9444 000D63A4 7E E3 BB 78 */ mr r3, r23 /* 800D9448 000D63A8 7C 04 00 D0 */ neg r0, r4 /* 800D944C 000D63AC 7C 00 23 78 */ or r0, r0, r4 /* 800D9450 000D63B0 54 18 0F FE */ srwi r24, r0, 0x1f /* 800D9454 000D63B4 48 26 58 89 */ bl ReadBool__12CInputStreamFv /* 800D9458 000D63B8 7C 7D 1B 78 */ mr r29, r3 /* 800D945C 000D63BC 7E E4 BB 78 */ mr r4, r23 /* 800D9460 000D63C0 38 61 00 30 */ addi r3, r1, 0x30 /* 800D9464 000D63C4 48 00 0C B5 */ bl LoadVisorParameters__FR12CInputStream /* 800D9468 000D63C8 80 01 00 30 */ lwz r0, 0x30(r1) /* 800D946C 000D63CC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D9470 000D63D0 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l /* 800D9474 000D63D4 38 60 03 08 */ li r3, 0x308 /* 800D9478 000D63D8 90 01 00 3C */ stw r0, 0x3c(r1) /* 800D947C 000D63DC 38 84 00 0D */ addi r4, r4, 0xd /* 800D9480 000D63E0 38 A0 00 00 */ li r5, 0 /* 800D9484 000D63E4 48 23 C3 E9 */ bl __nw__FUlPCcPCc /* 800D9488 000D63E8 7C 77 1B 79 */ or. r23, r3, r3 /* 800D948C 000D63EC 41 82 00 60 */ beq lbl_800D94EC /* 800D9490 000D63F0 7F C4 F3 78 */ mr r4, r30 /* 800D9494 000D63F4 38 61 00 28 */ addi r3, r1, 0x28 /* 800D9498 000D63F8 4B F7 3C 45 */ bl AllocateUniqueId__13CStateManagerFv /* 800D949C 000D63FC A0 81 00 28 */ lhz r4, 0x28(r1) /* 800D94A0 000D6400 38 01 00 3C */ addi r0, r1, 0x3c /* 800D94A4 000D6404 7E E3 BB 78 */ mr r3, r23 /* 800D94A8 000D6408 7F E6 FB 78 */ mr r6, r31 /* 800D94AC 000D640C B0 81 00 2C */ sth r4, 0x2c(r1) /* 800D94B0 000D6410 38 81 00 2C */ addi r4, r1, 0x2c /* 800D94B4 000D6414 38 A1 00 60 */ addi r5, r1, 0x60 /* 800D94B8 000D6418 38 E1 00 54 */ addi r7, r1, 0x54 /* 800D94BC 000D641C 93 21 00 08 */ stw r25, 8(r1) /* 800D94C0 000D6420 39 01 00 48 */ addi r8, r1, 0x48 /* 800D94C4 000D6424 39 21 00 40 */ addi r9, r1, 0x40 /* 800D94C8 000D6428 39 41 00 70 */ addi r10, r1, 0x70 /* 800D94CC 000D642C 93 41 00 0C */ stw r26, 0xc(r1) /* 800D94D0 000D6430 93 61 00 10 */ stw r27, 0x10(r1) /* 800D94D4 000D6434 93 81 00 14 */ stw r28, 0x14(r1) /* 800D94D8 000D6438 93 01 00 18 */ stw r24, 0x18(r1) /* 800D94DC 000D643C 93 A1 00 1C */ stw r29, 0x1c(r1) /* 800D94E0 000D6440 90 01 00 20 */ stw r0, 0x20(r1) /* 800D94E4 000D6444 48 02 1D 79 */ bl "__ct__24CScriptDamageableTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC9CVector3fRC11CHealthInfoRC20CDamageVulnerabilityUiUiUiUiQ224CScriptDamageableTrigger9ECanOrbitbRC16CVisorParameters" /* 800D94E8 000D6448 7C 77 1B 78 */ mr r23, r3 lbl_800D94EC: /* 800D94EC 000D644C 38 61 00 60 */ addi r3, r1, 0x60 /* 800D94F0 000D6450 48 26 45 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D94F4 000D6454 7E E3 BB 78 */ mr r3, r23 lbl_800D94F8: /* 800D94F8 000D6458 BA E1 00 DC */ lmw r23, 0xdc(r1) /* 800D94FC 000D645C 80 01 01 04 */ lwz r0, 0x104(r1) /* 800D9500 000D6460 7C 08 03 A6 */ mtlr r0 /* 800D9504 000D6464 38 21 01 00 */ addi r1, r1, 0x100 /* 800D9508 000D6468 4E 80 00 20 */ blr .global TransformDamageableTriggerFlags__FR13CStateManager7TAreaIdUi TransformDamageableTriggerFlags__FR13CStateManager7TAreaIdUi: /* 800D950C 000D646C 94 21 FF 40 */ stwu r1, -0xc0(r1) /* 800D9510 000D6470 7C 08 02 A6 */ mflr r0 /* 800D9514 000D6474 90 01 00 C4 */ stw r0, 0xc4(r1) /* 800D9518 000D6478 93 E1 00 BC */ stw r31, 0xbc(r1) /* 800D951C 000D647C 93 C1 00 B8 */ stw r30, 0xb8(r1) /* 800D9520 000D6480 7C BE 2B 78 */ mr r30, r5 /* 800D9524 000D6484 80 04 00 00 */ lwz r0, 0(r4) /* 800D9528 000D6488 80 83 08 50 */ lwz r4, 0x850(r3) /* 800D952C 000D648C 54 03 18 38 */ slwi r3, r0, 3 /* 800D9530 000D6490 90 01 00 08 */ stw r0, 8(r1) /* 800D9534 000D6494 38 03 00 04 */ addi r0, r3, 4 /* 800D9538 000D6498 80 84 00 20 */ lwz r4, 0x20(r4) /* 800D953C 000D649C 38 61 00 54 */ addi r3, r1, 0x54 /* 800D9540 000D64A0 7C 84 00 2E */ lwzx r4, r4, r0 /* 800D9544 000D64A4 38 84 00 0C */ addi r4, r4, 0xc /* 800D9548 000D64A8 48 23 96 F9 */ bl GetRotation__12CTransform4fCFv /* 800D954C 000D64AC 38 61 00 84 */ addi r3, r1, 0x84 /* 800D9550 000D64B0 38 81 00 54 */ addi r4, r1, 0x54 /* 800D9554 000D64B4 48 23 96 21 */ bl __ct__12CTransform4fFRC12CTransform4f /* 800D9558 000D64B8 57 C0 07 FF */ clrlwi. r0, r30, 0x1f /* 800D955C 000D64BC 3B E0 00 00 */ li r31, 0 /* 800D9560 000D64C0 41 82 00 24 */ beq lbl_800D9584 /* 800D9564 000D64C4 3C 80 80 5A */ lis r4, sForwardVector__9CVector3f@ha /* 800D9568 000D64C8 38 61 00 48 */ addi r3, r1, 0x48 /* 800D956C 000D64CC 38 A4 67 24 */ addi r5, r4, sForwardVector__9CVector3f@l /* 800D9570 000D64D0 38 81 00 84 */ addi r4, r1, 0x84 /* 800D9574 000D64D4 48 23 95 75 */ bl __ml__12CTransform4fCFRC9CVector3f /* 800D9578 000D64D8 38 61 00 48 */ addi r3, r1, 0x48 /* 800D957C 000D64DC 48 00 00 ED */ bl ClassifyVector__FRC9CVector3f /* 800D9580 000D64E0 7C 7F 1B 78 */ mr r31, r3 lbl_800D9584: /* 800D9584 000D64E4 57 C0 07 BD */ rlwinm. r0, r30, 0, 0x1e, 0x1e /* 800D9588 000D64E8 41 82 00 24 */ beq lbl_800D95AC /* 800D958C 000D64EC 3C 80 80 5A */ lis r4, sBackVector__9CVector3f@ha /* 800D9590 000D64F0 38 61 00 3C */ addi r3, r1, 0x3c /* 800D9594 000D64F4 38 A4 67 30 */ addi r5, r4, sBackVector__9CVector3f@l /* 800D9598 000D64F8 38 81 00 84 */ addi r4, r1, 0x84 /* 800D959C 000D64FC 48 23 95 4D */ bl __ml__12CTransform4fCFRC9CVector3f /* 800D95A0 000D6500 38 61 00 3C */ addi r3, r1, 0x3c /* 800D95A4 000D6504 48 00 00 C5 */ bl ClassifyVector__FRC9CVector3f /* 800D95A8 000D6508 7F FF 1B 78 */ or r31, r31, r3 lbl_800D95AC: /* 800D95AC 000D650C 57 C0 07 7B */ rlwinm. r0, r30, 0, 0x1d, 0x1d /* 800D95B0 000D6510 41 82 00 24 */ beq lbl_800D95D4 /* 800D95B4 000D6514 3C 80 80 5A */ lis r4, sLeftVector__9CVector3f@ha /* 800D95B8 000D6518 38 61 00 30 */ addi r3, r1, 0x30 /* 800D95BC 000D651C 38 A4 67 0C */ addi r5, r4, sLeftVector__9CVector3f@l /* 800D95C0 000D6520 38 81 00 84 */ addi r4, r1, 0x84 /* 800D95C4 000D6524 48 23 95 25 */ bl __ml__12CTransform4fCFRC9CVector3f /* 800D95C8 000D6528 38 61 00 30 */ addi r3, r1, 0x30 /* 800D95CC 000D652C 48 00 00 9D */ bl ClassifyVector__FRC9CVector3f /* 800D95D0 000D6530 7F FF 1B 78 */ or r31, r31, r3 lbl_800D95D4: /* 800D95D4 000D6534 57 C0 07 39 */ rlwinm. r0, r30, 0, 0x1c, 0x1c /* 800D95D8 000D6538 41 82 00 24 */ beq lbl_800D95FC /* 800D95DC 000D653C 3C 80 80 5A */ lis r4, sRightVector__9CVector3f@ha /* 800D95E0 000D6540 38 61 00 24 */ addi r3, r1, 0x24 /* 800D95E4 000D6544 38 A4 67 18 */ addi r5, r4, sRightVector__9CVector3f@l /* 800D95E8 000D6548 38 81 00 84 */ addi r4, r1, 0x84 /* 800D95EC 000D654C 48 23 94 FD */ bl __ml__12CTransform4fCFRC9CVector3f /* 800D95F0 000D6550 38 61 00 24 */ addi r3, r1, 0x24 /* 800D95F4 000D6554 48 00 00 75 */ bl ClassifyVector__FRC9CVector3f /* 800D95F8 000D6558 7F FF 1B 78 */ or r31, r31, r3 lbl_800D95FC: /* 800D95FC 000D655C 57 C0 06 F7 */ rlwinm. r0, r30, 0, 0x1b, 0x1b /* 800D9600 000D6560 41 82 00 24 */ beq lbl_800D9624 /* 800D9604 000D6564 3C 80 80 5A */ lis r4, sUpVector__9CVector3f@ha /* 800D9608 000D6568 38 61 00 18 */ addi r3, r1, 0x18 /* 800D960C 000D656C 38 A4 66 F4 */ addi r5, r4, sUpVector__9CVector3f@l /* 800D9610 000D6570 38 81 00 84 */ addi r4, r1, 0x84 /* 800D9614 000D6574 48 23 94 D5 */ bl __ml__12CTransform4fCFRC9CVector3f /* 800D9618 000D6578 38 61 00 18 */ addi r3, r1, 0x18 /* 800D961C 000D657C 48 00 00 4D */ bl ClassifyVector__FRC9CVector3f /* 800D9620 000D6580 7F FF 1B 78 */ or r31, r31, r3 lbl_800D9624: /* 800D9624 000D6584 57 C0 06 B5 */ rlwinm. r0, r30, 0, 0x1a, 0x1a /* 800D9628 000D6588 41 82 00 24 */ beq lbl_800D964C /* 800D962C 000D658C 3C 80 80 5A */ lis r4, sDownVector__9CVector3f@ha /* 800D9630 000D6590 38 61 00 0C */ addi r3, r1, 0xc /* 800D9634 000D6594 38 A4 67 00 */ addi r5, r4, sDownVector__9CVector3f@l /* 800D9638 000D6598 38 81 00 84 */ addi r4, r1, 0x84 /* 800D963C 000D659C 48 23 94 AD */ bl __ml__12CTransform4fCFRC9CVector3f /* 800D9640 000D65A0 38 61 00 0C */ addi r3, r1, 0xc /* 800D9644 000D65A4 48 00 00 25 */ bl ClassifyVector__FRC9CVector3f /* 800D9648 000D65A8 7F FF 1B 78 */ or r31, r31, r3 lbl_800D964C: /* 800D964C 000D65AC 80 01 00 C4 */ lwz r0, 0xc4(r1) /* 800D9650 000D65B0 7F E3 FB 78 */ mr r3, r31 /* 800D9654 000D65B4 83 E1 00 BC */ lwz r31, 0xbc(r1) /* 800D9658 000D65B8 83 C1 00 B8 */ lwz r30, 0xb8(r1) /* 800D965C 000D65BC 7C 08 03 A6 */ mtlr r0 /* 800D9660 000D65C0 38 21 00 C0 */ addi r1, r1, 0xc0 /* 800D9664 000D65C4 4E 80 00 20 */ blr .global ClassifyVector__FRC9CVector3f ClassifyVector__FRC9CVector3f: /* 800D9668 000D65C8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 800D966C 000D65CC 3C 80 80 3D */ lis r4, lbl_803CE070@ha /* 800D9670 000D65D0 C0 43 00 08 */ lfs f2, 8(r3) /* 800D9674 000D65D4 39 01 00 14 */ addi r8, r1, 0x14 /* 800D9678 000D65D8 C0 23 00 04 */ lfs f1, 4(r3) /* 800D967C 000D65DC C0 03 00 00 */ lfs f0, 0(r3) /* 800D9680 000D65E0 FC 40 12 10 */ fabs f2, f2 /* 800D9684 000D65E4 FC 20 0A 10 */ fabs f1, f1 /* 800D9688 000D65E8 84 E4 E0 70 */ lwzu r7, lbl_803CE070@l(r4) /* 800D968C 000D65EC FC 60 02 10 */ fabs f3, f0 /* 800D9690 000D65F0 FC 00 10 18 */ frsp f0, f2 /* 800D9694 000D65F4 80 C4 00 04 */ lwz r6, 4(r4) /* 800D9698 000D65F8 FC 20 08 18 */ frsp f1, f1 /* 800D969C 000D65FC FC 40 18 18 */ frsp f2, f3 /* 800D96A0 000D6600 80 A4 00 08 */ lwz r5, 8(r4) /* 800D96A4 000D6604 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 800D96A8 000D6608 54 C4 10 3A */ slwi r4, r6, 2 /* 800D96AC 000D660C 54 E0 10 3A */ slwi r0, r7, 2 /* 800D96B0 000D6610 D0 41 00 14 */ stfs f2, 0x14(r1) /* 800D96B4 000D6614 D0 21 00 18 */ stfs f1, 0x18(r1) /* 800D96B8 000D6618 7C 28 04 2E */ lfsx f1, r8, r0 /* 800D96BC 000D661C 7C 08 24 2E */ lfsx f0, r8, r4 /* 800D96C0 000D6620 90 E1 00 08 */ stw r7, 8(r1) /* 800D96C4 000D6624 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 800D96C8 000D6628 90 C1 00 0C */ stw r6, 0xc(r1) /* 800D96CC 000D662C 90 A1 00 10 */ stw r5, 0x10(r1) /* 800D96D0 000D6630 40 80 00 0C */ bge lbl_800D96DC /* 800D96D4 000D6634 90 C1 00 08 */ stw r6, 8(r1) /* 800D96D8 000D6638 90 E1 00 0C */ stw r7, 0xc(r1) lbl_800D96DC: /* 800D96DC 000D663C 80 E1 00 10 */ lwz r7, 0x10(r1) /* 800D96E0 000D6640 38 A1 00 14 */ addi r5, r1, 0x14 /* 800D96E4 000D6644 80 C1 00 0C */ lwz r6, 0xc(r1) /* 800D96E8 000D6648 54 E4 10 3A */ slwi r4, r7, 2 /* 800D96EC 000D664C 54 C0 10 3A */ slwi r0, r6, 2 /* 800D96F0 000D6650 7C 05 24 2E */ lfsx f0, r5, r4 /* 800D96F4 000D6654 7C 25 04 2E */ lfsx f1, r5, r0 /* 800D96F8 000D6658 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 800D96FC 000D665C 40 80 00 0C */ bge lbl_800D9708 /* 800D9700 000D6660 90 E1 00 0C */ stw r7, 0xc(r1) /* 800D9704 000D6664 90 C1 00 10 */ stw r6, 0x10(r1) lbl_800D9708: /* 800D9708 000D6668 80 C1 00 0C */ lwz r6, 0xc(r1) /* 800D970C 000D666C 38 A1 00 14 */ addi r5, r1, 0x14 /* 800D9710 000D6670 80 E1 00 08 */ lwz r7, 8(r1) /* 800D9714 000D6674 54 C4 10 3A */ slwi r4, r6, 2 /* 800D9718 000D6678 54 E0 10 3A */ slwi r0, r7, 2 /* 800D971C 000D667C 7C 05 24 2E */ lfsx f0, r5, r4 /* 800D9720 000D6680 7C 25 04 2E */ lfsx f1, r5, r0 /* 800D9724 000D6684 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 800D9728 000D6688 40 80 00 0C */ bge lbl_800D9734 /* 800D972C 000D668C 90 C1 00 08 */ stw r6, 8(r1) /* 800D9730 000D6690 90 E1 00 0C */ stw r7, 0xc(r1) lbl_800D9734: /* 800D9734 000D6694 80 A1 00 08 */ lwz r5, 8(r1) /* 800D9738 000D6698 38 81 00 14 */ addi r4, r1, 0x14 /* 800D973C 000D669C 54 A0 10 3A */ slwi r0, r5, 2 /* 800D9740 000D66A0 7C 24 04 2E */ lfsx f1, r4, r0 /* 800D9744 000D66A4 7C 03 04 2E */ lfsx f0, r3, r0 /* 800D9748 000D66A8 FC 01 00 00 */ fcmpu cr0, f1, f0 /* 800D974C 000D66AC 7C 00 00 26 */ mfcr r0 /* 800D9750 000D66B0 2C 05 00 01 */ cmpwi r5, 1 /* 800D9754 000D66B4 54 00 1F FE */ rlwinm r0, r0, 3, 0x1f, 0x1f /* 800D9758 000D66B8 68 00 00 01 */ xori r0, r0, 1 /* 800D975C 000D66BC 41 82 00 34 */ beq lbl_800D9790 /* 800D9760 000D66C0 40 80 00 10 */ bge lbl_800D9770 /* 800D9764 000D66C4 2C 05 00 00 */ cmpwi r5, 0 /* 800D9768 000D66C8 40 80 00 14 */ bge lbl_800D977C /* 800D976C 000D66CC 48 00 00 50 */ b lbl_800D97BC lbl_800D9770: /* 800D9770 000D66D0 2C 05 00 03 */ cmpwi r5, 3 /* 800D9774 000D66D4 40 80 00 48 */ bge lbl_800D97BC /* 800D9778 000D66D8 48 00 00 30 */ b lbl_800D97A8 lbl_800D977C: /* 800D977C 000D66DC 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800D9780 000D66E0 38 60 00 08 */ li r3, 8 /* 800D9784 000D66E4 41 82 00 3C */ beq lbl_800D97C0 /* 800D9788 000D66E8 38 60 00 04 */ li r3, 4 /* 800D978C 000D66EC 48 00 00 34 */ b lbl_800D97C0 lbl_800D9790: /* 800D9790 000D66F0 54 03 06 3E */ clrlwi r3, r0, 0x18 /* 800D9794 000D66F4 7C 03 00 D0 */ neg r0, r3 /* 800D9798 000D66F8 7C 00 1B 78 */ or r0, r0, r3 /* 800D979C 000D66FC 54 03 0F FE */ srwi r3, r0, 0x1f /* 800D97A0 000D6700 38 63 00 01 */ addi r3, r3, 1 /* 800D97A4 000D6704 48 00 00 1C */ b lbl_800D97C0 lbl_800D97A8: /* 800D97A8 000D6708 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800D97AC 000D670C 38 60 00 10 */ li r3, 0x10 /* 800D97B0 000D6710 41 82 00 10 */ beq lbl_800D97C0 /* 800D97B4 000D6714 38 60 00 20 */ li r3, 0x20 /* 800D97B8 000D6718 48 00 00 08 */ b lbl_800D97C0 lbl_800D97BC: /* 800D97BC 000D671C 38 60 00 00 */ li r3, 0 lbl_800D97C0: /* 800D97C0 000D6720 38 21 00 20 */ addi r1, r1, 0x20 /* 800D97C4 000D6724 4E 80 00 20 */ blr .global LoadCameraHintTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadCameraHintTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D97C8 000D6728 94 21 FE D0 */ stwu r1, -0x130(r1) /* 800D97CC 000D672C 7C 08 02 A6 */ mflr r0 /* 800D97D0 000D6730 2C 05 00 07 */ cmpwi r5, 7 /* 800D97D4 000D6734 90 01 01 34 */ stw r0, 0x134(r1) /* 800D97D8 000D6738 BF 21 01 14 */ stmw r25, 0x114(r1) /* 800D97DC 000D673C 7C 7B 1B 78 */ mr r27, r3 /* 800D97E0 000D6740 7C 99 23 78 */ mr r25, r4 /* 800D97E4 000D6744 7C DC 33 78 */ mr r28, r6 /* 800D97E8 000D6748 41 82 00 0C */ beq lbl_800D97F4 /* 800D97EC 000D674C 38 60 00 00 */ li r3, 0 /* 800D97F0 000D6750 48 00 02 38 */ b lbl_800D9A28 lbl_800D97F4: /* 800D97F4 000D6754 7F 65 DB 78 */ mr r5, r27 /* 800D97F8 000D6758 38 61 00 D0 */ addi r3, r1, 0xd0 /* 800D97FC 000D675C 48 00 0C C9 */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800D9800 000D6760 7F 24 CB 78 */ mr r4, r25 /* 800D9804 000D6764 38 61 00 54 */ addi r3, r1, 0x54 /* 800D9808 000D6768 48 23 B3 85 */ bl __ct__9CVector3fFR12CInputStream /* 800D980C 000D676C C0 62 8E 60 */ lfs f3, lbl_805AAB80@sda21(r2) /* 800D9810 000D6770 7F 23 CB 78 */ mr r3, r25 /* 800D9814 000D6774 C0 41 00 5C */ lfs f2, 0x5c(r1) /* 800D9818 000D6778 C0 21 00 54 */ lfs f1, 0x54(r1) /* 800D981C 000D677C C0 01 00 58 */ lfs f0, 0x58(r1) /* 800D9820 000D6780 EC 43 00 B2 */ fmuls f2, f3, f2 /* 800D9824 000D6784 EC 23 00 72 */ fmuls f1, f3, f1 /* 800D9828 000D6788 EC 03 00 32 */ fmuls f0, f3, f0 /* 800D982C 000D678C D0 41 00 68 */ stfs f2, 0x68(r1) /* 800D9830 000D6790 D0 21 00 60 */ stfs f1, 0x60(r1) /* 800D9834 000D6794 D0 01 00 64 */ stfs f0, 0x64(r1) /* 800D9838 000D6798 48 26 54 A5 */ bl ReadBool__12CInputStreamFv /* 800D983C 000D679C 7C 7E 1B 78 */ mr r30, r3 /* 800D9840 000D67A0 7F 23 CB 78 */ mr r3, r25 /* 800D9844 000D67A4 48 26 54 99 */ bl ReadBool__12CInputStreamFv /* 800D9848 000D67A8 7C 7D 1B 78 */ mr r29, r3 /* 800D984C 000D67AC 7F 23 CB 78 */ mr r3, r25 /* 800D9850 000D67B0 48 26 54 8D */ bl ReadBool__12CInputStreamFv /* 800D9854 000D67B4 3B 21 00 E0 */ addi r25, r1, 0xe0 /* 800D9858 000D67B8 7C 7F 1B 78 */ mr r31, r3 /* 800D985C 000D67BC 7F 24 CB 78 */ mr r4, r25 /* 800D9860 000D67C0 38 61 00 A0 */ addi r3, r1, 0xa0 /* 800D9864 000D67C4 48 23 93 DD */ bl GetRotation__12CTransform4fCFv /* 800D9868 000D67C8 3C 80 80 5A */ lis r4, sIdentity__12CTransform4f@ha /* 800D986C 000D67CC 38 61 00 A0 */ addi r3, r1, 0xa0 /* 800D9870 000D67D0 38 84 66 70 */ addi r4, r4, sIdentity__12CTransform4f@l /* 800D9874 000D67D4 48 23 94 B5 */ bl sub_80312d28 /* 800D9878 000D67D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800D987C 000D67DC 41 82 01 3C */ beq lbl_800D99B8 /* 800D9880 000D67E0 C0 81 00 68 */ lfs f4, 0x68(r1) /* 800D9884 000D67E4 38 61 00 88 */ addi r3, r1, 0x88 /* 800D9888 000D67E8 C0 41 00 64 */ lfs f2, 0x64(r1) /* 800D988C 000D67EC 38 81 00 48 */ addi r4, r1, 0x48 /* 800D9890 000D67F0 C0 61 00 60 */ lfs f3, 0x60(r1) /* 800D9894 000D67F4 FC 00 20 50 */ fneg f0, f4 /* 800D9898 000D67F8 FC 20 10 50 */ fneg f1, f2 /* 800D989C 000D67FC D0 41 00 40 */ stfs f2, 0x40(r1) /* 800D98A0 000D6800 FC 40 18 50 */ fneg f2, f3 /* 800D98A4 000D6804 38 A1 00 3C */ addi r5, r1, 0x3c /* 800D98A8 000D6808 D0 61 00 3C */ stfs f3, 0x3c(r1) /* 800D98AC 000D680C D0 81 00 44 */ stfs f4, 0x44(r1) /* 800D98B0 000D6810 D0 41 00 48 */ stfs f2, 0x48(r1) /* 800D98B4 000D6814 D0 21 00 4C */ stfs f1, 0x4c(r1) /* 800D98B8 000D6818 D0 01 00 50 */ stfs f0, 0x50(r1) /* 800D98BC 000D681C 48 25 EC 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 800D98C0 000D6820 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D98C4 000D6824 38 60 01 50 */ li r3, 0x150 /* 800D98C8 000D6828 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D98CC 000D682C 38 A0 00 00 */ li r5, 0 /* 800D98D0 000D6830 38 84 00 0D */ addi r4, r4, 0xd /* 800D98D4 000D6834 48 23 BF 99 */ bl __nw__FUlPCcPCc /* 800D98D8 000D6838 7C 7A 1B 79 */ or. r26, r3, r3 /* 800D98DC 000D683C 41 82 00 CC */ beq lbl_800D99A8 /* 800D98E0 000D6840 88 01 00 2C */ lbz r0, 0x2c(r1) /* 800D98E4 000D6844 38 80 00 00 */ li r4, 0 /* 800D98E8 000D6848 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 800D98EC 000D684C C0 62 8E 28 */ lfs f3, lbl_805AAB48@sda21(r2) /* 800D98F0 000D6850 98 01 00 2C */ stb r0, 0x2c(r1) /* 800D98F4 000D6854 54 03 06 3E */ clrlwi r3, r0, 0x18 /* 800D98F8 000D6858 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 /* 800D98FC 000D685C 38 C0 FF FF */ li r6, -1 /* 800D9900 000D6860 88 01 00 84 */ lbz r0, 0x84(r1) /* 800D9904 000D6864 54 65 06 3E */ clrlwi r5, r3, 0x18 /* 800D9908 000D6868 C0 41 00 EC */ lfs f2, 0xec(r1) /* 800D990C 000D686C 50 85 2E B4 */ rlwimi r5, r4, 5, 0x1a, 0x1a /* 800D9910 000D6870 98 61 00 2C */ stb r3, 0x2c(r1) /* 800D9914 000D6874 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 /* 800D9918 000D6878 C0 21 00 FC */ lfs f1, 0xfc(r1) /* 800D991C 000D687C 7F 64 DB 78 */ mr r4, r27 /* 800D9920 000D6880 C0 01 01 0C */ lfs f0, 0x10c(r1) /* 800D9924 000D6884 38 61 00 20 */ addi r3, r1, 0x20 /* 800D9928 000D6888 90 C1 00 28 */ stw r6, 0x28(r1) /* 800D992C 000D688C 98 A1 00 2C */ stb r5, 0x2c(r1) /* 800D9930 000D6890 90 C1 00 6C */ stw r6, 0x6c(r1) /* 800D9934 000D6894 98 A1 00 70 */ stb r5, 0x70(r1) /* 800D9938 000D6898 D0 61 00 74 */ stfs f3, 0x74(r1) /* 800D993C 000D689C D0 61 00 78 */ stfs f3, 0x78(r1) /* 800D9940 000D68A0 D0 61 00 7C */ stfs f3, 0x7c(r1) /* 800D9944 000D68A4 D0 61 00 80 */ stfs f3, 0x80(r1) /* 800D9948 000D68A8 98 01 00 84 */ stb r0, 0x84(r1) /* 800D994C 000D68AC D0 41 00 30 */ stfs f2, 0x30(r1) /* 800D9950 000D68B0 D0 21 00 34 */ stfs f1, 0x34(r1) /* 800D9954 000D68B4 D0 01 00 38 */ stfs f0, 0x38(r1) /* 800D9958 000D68B8 4B F7 37 85 */ bl AllocateUniqueId__13CStateManagerFv /* 800D995C 000D68BC A0 01 00 20 */ lhz r0, 0x20(r1) /* 800D9960 000D68C0 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha /* 800D9964 000D68C4 39 43 66 A0 */ addi r10, r3, sZeroVector__9CVector3f@l /* 800D9968 000D68C8 38 80 00 01 */ li r4, 1 /* 800D996C 000D68CC B0 01 00 24 */ sth r0, 0x24(r1) /* 800D9970 000D68D0 57 E0 06 3E */ clrlwi r0, r31, 0x18 /* 800D9974 000D68D4 7F 43 D3 78 */ mr r3, r26 /* 800D9978 000D68D8 7F 86 E3 78 */ mr r6, r28 /* 800D997C 000D68DC 90 81 00 08 */ stw r4, 8(r1) /* 800D9980 000D68E0 38 81 00 24 */ addi r4, r1, 0x24 /* 800D9984 000D68E4 38 A1 00 D0 */ addi r5, r1, 0xd0 /* 800D9988 000D68E8 38 E1 00 30 */ addi r7, r1, 0x30 /* 800D998C 000D68EC 93 C1 00 0C */ stw r30, 0xc(r1) /* 800D9990 000D68F0 39 01 00 88 */ addi r8, r1, 0x88 /* 800D9994 000D68F4 39 21 00 6C */ addi r9, r1, 0x6c /* 800D9998 000D68F8 93 A1 00 10 */ stw r29, 0x10(r1) /* 800D999C 000D68FC 90 01 00 14 */ stw r0, 0x14(r1) /* 800D99A0 000D6900 4B F9 D3 B9 */ bl "__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb" /* 800D99A4 000D6904 7C 7A 1B 78 */ mr r26, r3 lbl_800D99A8: /* 800D99A8 000D6908 38 61 00 D0 */ addi r3, r1, 0xd0 /* 800D99AC 000D690C 48 26 41 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D99B0 000D6910 7F 43 D3 78 */ mr r3, r26 /* 800D99B4 000D6914 48 00 00 74 */ b lbl_800D9A28 lbl_800D99B8: /* 800D99B8 000D6918 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800D99BC 000D691C 38 60 01 38 */ li r3, 0x138 /* 800D99C0 000D6920 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800D99C4 000D6924 38 A0 00 00 */ li r5, 0 /* 800D99C8 000D6928 38 84 00 0D */ addi r4, r4, 0xd /* 800D99CC 000D692C 48 23 BE A1 */ bl __nw__FUlPCcPCc /* 800D99D0 000D6930 7C 7A 1B 79 */ or. r26, r3, r3 /* 800D99D4 000D6934 41 82 00 48 */ beq lbl_800D9A1C /* 800D99D8 000D6938 7F 64 DB 78 */ mr r4, r27 /* 800D99DC 000D693C 38 61 00 18 */ addi r3, r1, 0x18 /* 800D99E0 000D6940 4B F7 36 FD */ bl AllocateUniqueId__13CStateManagerFv /* 800D99E4 000D6944 A0 81 00 18 */ lhz r4, 0x18(r1) /* 800D99E8 000D6948 57 E0 06 3E */ clrlwi r0, r31, 0x18 /* 800D99EC 000D694C 7F 43 D3 78 */ mr r3, r26 /* 800D99F0 000D6950 7F C5 F3 78 */ mr r5, r30 /* 800D99F4 000D6954 B0 81 00 1C */ sth r4, 0x1c(r1) /* 800D99F8 000D6958 7F 87 E3 78 */ mr r7, r28 /* 800D99FC 000D695C 7F 29 CB 78 */ mr r9, r25 /* 800D9A00 000D6960 7F AA EB 78 */ mr r10, r29 /* 800D9A04 000D6964 90 01 00 08 */ stw r0, 8(r1) /* 800D9A08 000D6968 38 81 00 1C */ addi r4, r1, 0x1c /* 800D9A0C 000D696C 38 C1 00 D0 */ addi r6, r1, 0xd0 /* 800D9A10 000D6970 39 01 00 60 */ addi r8, r1, 0x60 /* 800D9A14 000D6974 48 17 1C D5 */ bl "__ct__24CScriptCameraHintTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fbb" /* 800D9A18 000D6978 7C 7A 1B 78 */ mr r26, r3 lbl_800D9A1C: /* 800D9A1C 000D697C 38 61 00 D0 */ addi r3, r1, 0xd0 /* 800D9A20 000D6980 48 26 40 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D9A24 000D6984 7F 43 D3 78 */ mr r3, r26 lbl_800D9A28: /* 800D9A28 000D6988 BB 21 01 14 */ lmw r25, 0x114(r1) /* 800D9A2C 000D698C 80 01 01 34 */ lwz r0, 0x134(r1) /* 800D9A30 000D6990 7C 08 03 A6 */ mtlr r0 /* 800D9A34 000D6994 38 21 01 30 */ addi r1, r1, 0x130 /* 800D9A38 000D6998 4E 80 00 20 */ blr .global LoadTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo LoadTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: /* 800D9A3C 000D699C 94 21 FF 20 */ stwu r1, -0xe0(r1) /* 800D9A40 000D69A0 7C 08 02 A6 */ mflr r0 /* 800D9A44 000D69A4 2C 05 00 09 */ cmpwi r5, 9 /* 800D9A48 000D69A8 90 01 00 E4 */ stw r0, 0xe4(r1) /* 800D9A4C 000D69AC BF 21 00 C4 */ stmw r25, 0xc4(r1) /* 800D9A50 000D69B0 7C 7E 1B 78 */ mr r30, r3 /* 800D9A54 000D69B4 7C 99 23 78 */ mr r25, r4 /* 800D9A58 000D69B8 7C DF 33 78 */ mr r31, r6 /* 800D9A5C 000D69BC 41 82 00 0C */ beq lbl_800D9A68 /* 800D9A60 000D69C0 38 60 00 00 */ li r3, 0 /* 800D9A64 000D69C4 48 00 01 84 */ b lbl_800D9BE8 lbl_800D9A68: /* 800D9A68 000D69C8 4B F6 B7 7D */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800D9A6C 000D69CC 7C 64 1B 78 */ mr r4, r3 /* 800D9A70 000D69D0 38 61 00 7C */ addi r3, r1, 0x7c /* 800D9A74 000D69D4 48 26 46 ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800D9A78 000D69D8 7F 24 CB 78 */ mr r4, r25 /* 800D9A7C 000D69DC 38 61 00 70 */ addi r3, r1, 0x70 /* 800D9A80 000D69E0 48 23 B1 0D */ bl __ct__9CVector3fFR12CInputStream /* 800D9A84 000D69E4 7F 24 CB 78 */ mr r4, r25 /* 800D9A88 000D69E8 38 61 00 64 */ addi r3, r1, 0x64 /* 800D9A8C 000D69EC 48 23 B1 01 */ bl __ct__9CVector3fFR12CInputStream /* 800D9A90 000D69F0 7F 24 CB 78 */ mr r4, r25 /* 800D9A94 000D69F4 38 61 00 A4 */ addi r3, r1, 0xa4 /* 800D9A98 000D69F8 4B FE 9A C9 */ bl __ct__11CDamageInfoFR12CInputStream /* 800D9A9C 000D69FC 7F 24 CB 78 */ mr r4, r25 /* 800D9AA0 000D6A00 38 61 00 58 */ addi r3, r1, 0x58 /* 800D9AA4 000D6A04 48 23 B0 E9 */ bl __ct__9CVector3fFR12CInputStream /* 800D9AA8 000D6A08 7F 23 CB 78 */ mr r3, r25 /* 800D9AAC 000D6A0C 48 26 51 D9 */ bl ReadLong__12CInputStreamFv /* 800D9AB0 000D6A10 7C 7A 1B 78 */ mr r26, r3 /* 800D9AB4 000D6A14 7F 23 CB 78 */ mr r3, r25 /* 800D9AB8 000D6A18 48 26 52 25 */ bl ReadBool__12CInputStreamFv /* 800D9ABC 000D6A1C 7C 7B 1B 78 */ mr r27, r3 /* 800D9AC0 000D6A20 7F 23 CB 78 */ mr r3, r25 /* 800D9AC4 000D6A24 48 26 52 19 */ bl ReadBool__12CInputStreamFv /* 800D9AC8 000D6A28 7C 7C 1B 78 */ mr r28, r3 /* 800D9ACC 000D6A2C 7F 23 CB 78 */ mr r3, r25 /* 800D9AD0 000D6A30 48 26 52 0D */ bl ReadBool__12CInputStreamFv /* 800D9AD4 000D6A34 C0 42 8E 60 */ lfs f2, lbl_805AAB80@sda21(r2) /* 800D9AD8 000D6A38 7C 7D 1B 78 */ mr r29, r3 /* 800D9ADC 000D6A3C C0 01 00 64 */ lfs f0, 0x64(r1) /* 800D9AE0 000D6A40 38 61 00 8C */ addi r3, r1, 0x8c /* 800D9AE4 000D6A44 C0 21 00 68 */ lfs f1, 0x68(r1) /* 800D9AE8 000D6A48 38 81 00 40 */ addi r4, r1, 0x40 /* 800D9AEC 000D6A4C EC 62 00 32 */ fmuls f3, f2, f0 /* 800D9AF0 000D6A50 C0 01 00 6C */ lfs f0, 0x6c(r1) /* 800D9AF4 000D6A54 EC 82 00 72 */ fmuls f4, f2, f1 /* 800D9AF8 000D6A58 38 A1 00 34 */ addi r5, r1, 0x34 /* 800D9AFC 000D6A5C EC A2 00 32 */ fmuls f5, f2, f0 /* 800D9B00 000D6A60 FC 40 18 50 */ fneg f2, f3 /* 800D9B04 000D6A64 FC 20 20 50 */ fneg f1, f4 /* 800D9B08 000D6A68 D0 61 00 34 */ stfs f3, 0x34(r1) /* 800D9B0C 000D6A6C FC 00 28 50 */ fneg f0, f5 /* 800D9B10 000D6A70 D0 81 00 38 */ stfs f4, 0x38(r1) /* 800D9B14 000D6A74 D0 A1 00 3C */ stfs f5, 0x3c(r1) /* 800D9B18 000D6A78 D0 41 00 40 */ stfs f2, 0x40(r1) /* 800D9B1C 000D6A7C D0 21 00 44 */ stfs f1, 0x44(r1) /* 800D9B20 000D6A80 D0 01 00 48 */ stfs f0, 0x48(r1) /* 800D9B24 000D6A84 48 25 E9 E5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f /* 800D9B28 000D6A88 80 FF 00 00 */ lwz r7, 0(r31) /* 800D9B2C 000D6A8C 38 61 00 28 */ addi r3, r1, 0x28 /* 800D9B30 000D6A90 80 DE 08 50 */ lwz r6, 0x850(r30) /* 800D9B34 000D6A94 38 A1 00 58 */ addi r5, r1, 0x58 /* 800D9B38 000D6A98 54 E4 18 38 */ slwi r4, r7, 3 /* 800D9B3C 000D6A9C 90 E1 00 20 */ stw r7, 0x20(r1) /* 800D9B40 000D6AA0 80 C6 00 20 */ lwz r6, 0x20(r6) /* 800D9B44 000D6AA4 38 04 00 04 */ addi r0, r4, 4 /* 800D9B48 000D6AA8 90 E1 00 24 */ stw r7, 0x24(r1) /* 800D9B4C 000D6AAC 7C 86 00 2E */ lwzx r4, r6, r0 /* 800D9B50 000D6AB0 38 84 00 0C */ addi r4, r4, 0xc /* 800D9B54 000D6AB4 48 23 8F 2D */ bl Rotate__12CTransform4fCFRC9CVector3f /* 800D9B58 000D6AB8 C0 41 00 28 */ lfs f2, 0x28(r1) /* 800D9B5C 000D6ABC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha /* 800D9B60 000D6AC0 C0 21 00 2C */ lfs f1, 0x2c(r1) /* 800D9B64 000D6AC4 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l /* 800D9B68 000D6AC8 C0 01 00 30 */ lfs f0, 0x30(r1) /* 800D9B6C 000D6ACC 38 83 00 0D */ addi r4, r3, 0xd /* 800D9B70 000D6AD0 D0 41 00 4C */ stfs f2, 0x4c(r1) /* 800D9B74 000D6AD4 38 60 01 50 */ li r3, 0x150 /* 800D9B78 000D6AD8 38 A0 00 00 */ li r5, 0 /* 800D9B7C 000D6ADC D0 21 00 50 */ stfs f1, 0x50(r1) /* 800D9B80 000D6AE0 D0 01 00 54 */ stfs f0, 0x54(r1) /* 800D9B84 000D6AE4 48 23 BC E9 */ bl __nw__FUlPCcPCc /* 800D9B88 000D6AE8 7C 79 1B 79 */ or. r25, r3, r3 /* 800D9B8C 000D6AEC 41 82 00 50 */ beq lbl_800D9BDC /* 800D9B90 000D6AF0 7F C4 F3 78 */ mr r4, r30 /* 800D9B94 000D6AF4 38 61 00 18 */ addi r3, r1, 0x18 /* 800D9B98 000D6AF8 4B F7 35 45 */ bl AllocateUniqueId__13CStateManagerFv /* 800D9B9C 000D6AFC A0 01 00 18 */ lhz r0, 0x18(r1) /* 800D9BA0 000D6B00 7F 23 CB 78 */ mr r3, r25 /* 800D9BA4 000D6B04 7F E6 FB 78 */ mr r6, r31 /* 800D9BA8 000D6B08 38 81 00 1C */ addi r4, r1, 0x1c /* 800D9BAC 000D6B0C B0 01 00 1C */ sth r0, 0x1c(r1) /* 800D9BB0 000D6B10 38 A1 00 7C */ addi r5, r1, 0x7c /* 800D9BB4 000D6B14 38 E1 00 70 */ addi r7, r1, 0x70 /* 800D9BB8 000D6B18 39 01 00 8C */ addi r8, r1, 0x8c /* 800D9BBC 000D6B1C 93 41 00 08 */ stw r26, 8(r1) /* 800D9BC0 000D6B20 39 21 00 A4 */ addi r9, r1, 0xa4 /* 800D9BC4 000D6B24 39 41 00 4C */ addi r10, r1, 0x4c /* 800D9BC8 000D6B28 93 61 00 0C */ stw r27, 0xc(r1) /* 800D9BCC 000D6B2C 93 81 00 10 */ stw r28, 0x10(r1) /* 800D9BD0 000D6B30 93 A1 00 14 */ stw r29, 0x14(r1) /* 800D9BD4 000D6B34 4B F9 D1 85 */ bl "__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb" /* 800D9BD8 000D6B38 7C 79 1B 78 */ mr r25, r3 lbl_800D9BDC: /* 800D9BDC 000D6B3C 38 61 00 7C */ addi r3, r1, 0x7c /* 800D9BE0 000D6B40 48 26 3F 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" /* 800D9BE4 000D6B44 7F 23 CB 78 */ mr r3, r25 lbl_800D9BE8: /* 800D9BE8 000D6B48 BB 21 00 C4 */ lmw r25, 0xc4(r1) /* 800D9BEC 000D6B4C 80 01 00 E4 */ lwz r0, 0xe4(r1) /* 800D9BF0 000D6B50 7C 08 03 A6 */ mtlr r0 /* 800D9BF4 000D6B54 38 21 00 E0 */ addi r1, r1, 0xe0 .global sub_800d9bf8 sub_800d9bf8: /* 800D9BF8 000D6B58 4E 80 00 20 */ blr .global LoadParameterFlags__FR12CInputStream LoadParameterFlags__FR12CInputStream: /* 800D9BFC 000D6B5C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 800D9C00 000D6B60 7C 08 02 A6 */ mflr r0 /* 800D9C04 000D6B64 90 01 00 24 */ stw r0, 0x24(r1) /* 800D9C08 000D6B68 BF 61 00 0C */ stmw r27, 0xc(r1) /* 800D9C0C 000D6B6C 7C 7B 1B 78 */ mr r27, r3 /* 800D9C10 000D6B70 48 26 50 75 */ bl ReadLong__12CInputStreamFv /* 800D9C14 000D6B74 7C 7E 1B 78 */ mr r30, r3 /* 800D9C18 000D6B78 3B A0 00 00 */ li r29, 0 /* 800D9C1C 000D6B7C 3B 80 00 00 */ li r28, 0 /* 800D9C20 000D6B80 3B E0 00 01 */ li r31, 1 /* 800D9C24 000D6B84 48 00 00 20 */ b lbl_800D9C44 lbl_800D9C28: /* 800D9C28 000D6B88 7F 63 DB 78 */ mr r3, r27 /* 800D9C2C 000D6B8C 48 26 50 B1 */ bl ReadBool__12CInputStreamFv /* 800D9C30 000D6B90 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 800D9C34 000D6B94 41 82 00 0C */ beq lbl_800D9C40 /* 800D9C38 000D6B98 7F E0 E0 30 */ slw r0, r31, r28 /* 800D9C3C 000D6B9C 7F BD 03 78 */ or r29, r29, r0 lbl_800D9C40: /* 800D9C40 000D6BA0 3B 9C 00 01 */ addi r28, r28, 1 lbl_800D9C44: /* 800D9C44 000D6BA4 7C 1C F0 00 */ cmpw r28, r30 /* 800D9C48 000D6BA8 41 80 FF E0 */ blt lbl_800D9C28 /* 800D9C4C 000D6BAC 7F A3 EB 78 */ mr r3, r29 /* 800D9C50 000D6BB0 BB 61 00 0C */ lmw r27, 0xc(r1) /* 800D9C54 000D6BB4 80 01 00 24 */ lwz r0, 0x24(r1) /* 800D9C58 000D6BB8 7C 08 03 A6 */ mtlr r0 /* 800D9C5C 000D6BBC 38 21 00 20 */ addi r1, r1, 0x20 /* 800D9C60 000D6BC0 4E 80 00 20 */ blr .global LoadGrappleParameters__FR12CInputStream LoadGrappleParameters__FR12CInputStream: /* 800D9C64 000D6BC4 94 21 FF 90 */ stwu r1, -0x70(r1) /* 800D9C68 000D6BC8 7C 08 02 A6 */ mflr r0 /* 800D9C6C 000D6BCC 90 01 00 74 */ stw r0, 0x74(r1) /* 800D9C70 000D6BD0 39 61 00 70 */ addi r11, r1, 0x70 /* 800D9C74 000D6BD4 48 2A FD 59 */ bl _savefpr_21 /* 800D9C78 000D6BD8 93 E1 00 14 */ stw r31, 0x14(r1) /* 800D9C7C 000D6BDC 93 C1 00 10 */ stw r30, 0x10(r1) /* 800D9C80 000D6BE0 7C 9F 23 78 */ mr r31, r4 /* 800D9C84 000D6BE4 7C 7E 1B 78 */ mr r30, r3 /* 800D9C88 000D6BE8 7F E3 FB 78 */ mr r3, r31 /* 800D9C8C 000D6BEC 48 26 4F F9 */ bl ReadLong__12CInputStreamFv /* 800D9C90 000D6BF0 7F E3 FB 78 */ mr r3, r31 /* 800D9C94 000D6BF4 48 26 4F 95 */ bl ReadFloat__12CInputStreamFv /* 800D9C98 000D6BF8 FE A0 08 90 */ fmr f21, f1 /* 800D9C9C 000D6BFC 7F E3 FB 78 */ mr r3, r31 /* 800D9CA0 000D6C00 48 26 4F 89 */ bl ReadFloat__12CInputStreamFv /* 800D9CA4 000D6C04 FE C0 08 90 */ fmr f22, f1 /* 800D9CA8 000D6C08 7F E3 FB 78 */ mr r3, r31 /* 800D9CAC 000D6C0C 48 26 4F 7D */ bl ReadFloat__12CInputStreamFv /* 800D9CB0 000D6C10 FE E0 08 90 */ fmr f23, f1 /* 800D9CB4 000D6C14 7F E3 FB 78 */ mr r3, r31 /* 800D9CB8 000D6C18 48 26 4F 71 */ bl ReadFloat__12CInputStreamFv /* 800D9CBC 000D6C1C FF 00 08 90 */ fmr f24, f1 /* 800D9CC0 000D6C20 7F E3 FB 78 */ mr r3, r31 /* 800D9CC4 000D6C24 48 26 4F 65 */ bl ReadFloat__12CInputStreamFv /* 800D9CC8 000D6C28 FF 20 08 90 */ fmr f25, f1 /* 800D9CCC 000D6C2C 7F E3 FB 78 */ mr r3, r31 /* 800D9CD0 000D6C30 48 26 4F 59 */ bl ReadFloat__12CInputStreamFv /* 800D9CD4 000D6C34 FF 40 08 90 */ fmr f26, f1 /* 800D9CD8 000D6C38 7F E3 FB 78 */ mr r3, r31 /* 800D9CDC 000D6C3C 48 26 4F 4D */ bl ReadFloat__12CInputStreamFv /* 800D9CE0 000D6C40 FF 60 08 90 */ fmr f27, f1 /* 800D9CE4 000D6C44 7F E3 FB 78 */ mr r3, r31 /* 800D9CE8 000D6C48 48 26 4F 41 */ bl ReadFloat__12CInputStreamFv /* 800D9CEC 000D6C4C FF 80 08 90 */ fmr f28, f1 /* 800D9CF0 000D6C50 7F E3 FB 78 */ mr r3, r31 /* 800D9CF4 000D6C54 48 26 4F 35 */ bl ReadFloat__12CInputStreamFv /* 800D9CF8 000D6C58 FF A0 08 90 */ fmr f29, f1 /* 800D9CFC 000D6C5C 7F E3 FB 78 */ mr r3, r31 /* 800D9D00 000D6C60 48 26 4F 29 */ bl ReadFloat__12CInputStreamFv /* 800D9D04 000D6C64 FF C0 08 90 */ fmr f30, f1 /* 800D9D08 000D6C68 7F E3 FB 78 */ mr r3, r31 /* 800D9D0C 000D6C6C 48 26 4F 1D */ bl ReadFloat__12CInputStreamFv /* 800D9D10 000D6C70 FF E0 08 90 */ fmr f31, f1 /* 800D9D14 000D6C74 7F E3 FB 78 */ mr r3, r31 /* 800D9D18 000D6C78 48 26 4F C5 */ bl ReadBool__12CInputStreamFv /* 800D9D1C 000D6C7C D2 BE 00 00 */ stfs f21, 0(r30) /* 800D9D20 000D6C80 39 61 00 70 */ addi r11, r1, 0x70 /* 800D9D24 000D6C84 D2 DE 00 04 */ stfs f22, 4(r30) /* 800D9D28 000D6C88 D2 FE 00 08 */ stfs f23, 8(r30) /* 800D9D2C 000D6C8C D3 1E 00 0C */ stfs f24, 0xc(r30) /* 800D9D30 000D6C90 D3 3E 00 10 */ stfs f25, 0x10(r30) /* 800D9D34 000D6C94 D3 5E 00 14 */ stfs f26, 0x14(r30) /* 800D9D38 000D6C98 D3 7E 00 18 */ stfs f27, 0x18(r30) /* 800D9D3C 000D6C9C D3 9E 00 1C */ stfs f28, 0x1c(r30) /* 800D9D40 000D6CA0 D3 BE 00 20 */ stfs f29, 0x20(r30) /* 800D9D44 000D6CA4 D3 DE 00 24 */ stfs f30, 0x24(r30) /* 800D9D48 000D6CA8 D3 FE 00 28 */ stfs f31, 0x28(r30) /* 800D9D4C 000D6CAC 88 1E 00 2C */ lbz r0, 0x2c(r30) /* 800D9D50 000D6CB0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 /* 800D9D54 000D6CB4 98 1E 00 2C */ stb r0, 0x2c(r30) /* 800D9D58 000D6CB8 48 2A FC C1 */ bl _restfpr_21 /* 800D9D5C 000D6CBC 80 01 00 74 */ lwz r0, 0x74(r1) /* 800D9D60 000D6CC0 83 E1 00 14 */ lwz r31, 0x14(r1) /* 800D9D64 000D6CC4 83 C1 00 10 */ lwz r30, 0x10(r1) /* 800D9D68 000D6CC8 7C 08 03 A6 */ mtlr r0 /* 800D9D6C 000D6CCC 38 21 00 70 */ addi r1, r1, 0x70 /* 800D9D70 000D6CD0 4E 80 00 20 */ blr .global LoadActorParameters__FR12CInputStream LoadActorParameters__FR12CInputStream: /* 800D9D74 000D6CD4 94 21 FE C0 */ stwu r1, -0x140(r1) /* 800D9D78 000D6CD8 7C 08 02 A6 */ mflr r0 /* 800D9D7C 000D6CDC 90 01 01 44 */ stw r0, 0x144(r1) /* 800D9D80 000D6CE0 DB E1 01 30 */ stfd f31, 0x130(r1) /* 800D9D84 000D6CE4 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 /* 800D9D88 000D6CE8 DB C1 01 20 */ stfd f30, 0x120(r1) /* 800D9D8C 000D6CEC F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 /* 800D9D90 000D6CF0 DB A1 01 10 */ stfd f29, 0x110(r1) /* 800D9D94 000D6CF4 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 /* 800D9D98 000D6CF8 BE A1 00 E4 */ stmw r21, 0xe4(r1) /* 800D9D9C 000D6CFC 7C 9F 23 78 */ mr r31, r4 /* 800D9DA0 000D6D00 7C 7E 1B 78 */ mr r30, r3 /* 800D9DA4 000D6D04 7F E3 FB 78 */ mr r3, r31 /* 800D9DA8 000D6D08 48 26 4E DD */ bl ReadLong__12CInputStreamFv /* 800D9DAC 000D6D0C 7C 7B 1B 78 */ mr r27, r3 /* 800D9DB0 000D6D10 38 00 00 00 */ li r0, 0 /* 800D9DB4 000D6D14 2C 1B 00 05 */ cmpwi r27, 5 /* 800D9DB8 000D6D18 41 80 00 10 */ blt lbl_800D9DC8 /* 800D9DBC 000D6D1C 2C 1B 00 0E */ cmpwi r27, 0xe /* 800D9DC0 000D6D20 41 81 00 08 */ bgt lbl_800D9DC8 /* 800D9DC4 000D6D24 38 00 00 01 */ li r0, 1 lbl_800D9DC8: /* 800D9DC8 000D6D28 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800D9DCC 000D6D2C 40 82 00 10 */ bne lbl_800D9DDC /* 800D9DD0 000D6D30 7F C3 F3 78 */ mr r3, r30 /* 800D9DD4 000D6D34 4B F4 10 65 */ bl None__16CActorParametersFv /* 800D9DD8 000D6D38 48 00 03 14 */ b lbl_800DA0EC lbl_800D9DDC: /* 800D9DDC 000D6D3C 7F E4 FB 78 */ mr r4, r31 /* 800D9DE0 000D6D40 38 61 00 58 */ addi r3, r1, 0x58 /* 800D9DE4 000D6D44 48 00 04 79 */ bl LoadLightParameters__FR12CInputStream /* 800D9DE8 000D6D48 8A A1 00 5C */ lbz r21, 0x5c(r1) /* 800D9DEC 000D6D4C 3C 60 80 3E */ lis r3, lbl_803DFF80@ha /* 800D9DF0 000D6D50 C0 A1 00 60 */ lfs f5, 0x60(r1) /* 800D9DF4 000D6D54 3A C3 FF 80 */ addi r22, r3, lbl_803DFF80@l /* 800D9DF8 000D6D58 81 81 00 64 */ lwz r12, 0x64(r1) /* 800D9DFC 000D6D5C 38 61 00 58 */ addi r3, r1, 0x58 /* 800D9E00 000D6D60 C0 81 00 68 */ lfs f4, 0x68(r1) /* 800D9E04 000D6D64 38 80 FF FF */ li r4, -1 /* 800D9E08 000D6D68 C0 61 00 6C */ lfs f3, 0x6c(r1) /* 800D9E0C 000D6D6C 81 61 00 70 */ lwz r11, 0x70(r1) /* 800D9E10 000D6D70 89 41 00 74 */ lbz r10, 0x74(r1) /* 800D9E14 000D6D74 89 21 00 75 */ lbz r9, 0x75(r1) /* 800D9E18 000D6D78 81 01 00 78 */ lwz r8, 0x78(r1) /* 800D9E1C 000D6D7C 80 E1 00 7C */ lwz r7, 0x7c(r1) /* 800D9E20 000D6D80 80 C1 00 80 */ lwz r6, 0x80(r1) /* 800D9E24 000D6D84 C0 41 00 84 */ lfs f2, 0x84(r1) /* 800D9E28 000D6D88 C0 21 00 88 */ lfs f1, 0x88(r1) /* 800D9E2C 000D6D8C C0 01 00 8C */ lfs f0, 0x8c(r1) /* 800D9E30 000D6D90 80 A1 00 90 */ lwz r5, 0x90(r1) /* 800D9E34 000D6D94 80 01 00 94 */ lwz r0, 0x94(r1) /* 800D9E38 000D6D98 92 C1 00 98 */ stw r22, 0x98(r1) /* 800D9E3C 000D6D9C 9A A1 00 9C */ stb r21, 0x9c(r1) /* 800D9E40 000D6DA0 D0 A1 00 A0 */ stfs f5, 0xa0(r1) /* 800D9E44 000D6DA4 91 81 00 A4 */ stw r12, 0xa4(r1) /* 800D9E48 000D6DA8 D0 81 00 A8 */ stfs f4, 0xa8(r1) /* 800D9E4C 000D6DAC D0 61 00 AC */ stfs f3, 0xac(r1) /* 800D9E50 000D6DB0 91 61 00 B0 */ stw r11, 0xb0(r1) /* 800D9E54 000D6DB4 99 41 00 B4 */ stb r10, 0xb4(r1) /* 800D9E58 000D6DB8 99 21 00 B5 */ stb r9, 0xb5(r1) /* 800D9E5C 000D6DBC 91 01 00 B8 */ stw r8, 0xb8(r1) /* 800D9E60 000D6DC0 90 E1 00 BC */ stw r7, 0xbc(r1) /* 800D9E64 000D6DC4 90 C1 00 C0 */ stw r6, 0xc0(r1) /* 800D9E68 000D6DC8 D0 41 00 C4 */ stfs f2, 0xc4(r1) /* 800D9E6C 000D6DCC D0 21 00 C8 */ stfs f1, 0xc8(r1) /* 800D9E70 000D6DD0 D0 01 00 CC */ stfs f0, 0xcc(r1) /* 800D9E74 000D6DD4 90 A1 00 D0 */ stw r5, 0xd0(r1) /* 800D9E78 000D6DD8 90 01 00 D4 */ stw r0, 0xd4(r1) /* 800D9E7C 000D6DDC 48 02 C7 8D */ bl __dt__16CLightParametersFv /* 800D9E80 000D6DE0 2C 1B 00 05 */ cmpwi r27, 5 /* 800D9E84 000D6DE4 40 81 00 18 */ ble lbl_800D9E9C /* 800D9E88 000D6DE8 7F E4 FB 78 */ mr r4, r31 /* 800D9E8C 000D6DEC 38 61 00 1C */ addi r3, r1, 0x1c /* 800D9E90 000D6DF0 48 00 03 71 */ bl LoadScannableParameters__FR12CInputStream /* 800D9E94 000D6DF4 38 61 00 1C */ addi r3, r1, 0x1c /* 800D9E98 000D6DF8 48 00 00 10 */ b lbl_800D9EA8 lbl_800D9E9C: /* 800D9E9C 000D6DFC 38 00 FF FF */ li r0, -1 /* 800D9EA0 000D6E00 38 61 00 18 */ addi r3, r1, 0x18 /* 800D9EA4 000D6E04 90 01 00 18 */ stw r0, 0x18(r1) lbl_800D9EA8: /* 800D9EA8 000D6E08 80 03 00 00 */ lwz r0, 0(r3) /* 800D9EAC 000D6E0C 7F E3 FB 78 */ mr r3, r31 /* 800D9EB0 000D6E10 90 01 00 24 */ stw r0, 0x24(r1) /* 800D9EB4 000D6E14 48 26 4D D1 */ bl ReadLong__12CInputStreamFv /* 800D9EB8 000D6E18 7C 7A 1B 78 */ mr r26, r3 /* 800D9EBC 000D6E1C 7F E3 FB 78 */ mr r3, r31 /* 800D9EC0 000D6E20 48 26 4D C5 */ bl ReadLong__12CInputStreamFv /* 800D9EC4 000D6E24 7C 7C 1B 78 */ mr r28, r3 /* 800D9EC8 000D6E28 7F E3 FB 78 */ mr r3, r31 /* 800D9ECC 000D6E2C 48 26 4D B9 */ bl ReadLong__12CInputStreamFv /* 800D9ED0 000D6E30 7C 79 1B 78 */ mr r25, r3 /* 800D9ED4 000D6E34 7F E3 FB 78 */ mr r3, r31 /* 800D9ED8 000D6E38 48 26 4D AD */ bl ReadLong__12CInputStreamFv /* 800D9EDC 000D6E3C 2C 1B 00 07 */ cmpwi r27, 7 /* 800D9EE0 000D6E40 7C 7D 1B 78 */ mr r29, r3 /* 800D9EE4 000D6E44 40 81 00 14 */ ble lbl_800D9EF8 /* 800D9EE8 000D6E48 7F E3 FB 78 */ mr r3, r31 /* 800D9EEC 000D6E4C 48 26 4D F1 */ bl ReadBool__12CInputStreamFv /* 800D9EF0 000D6E50 7C 78 1B 78 */ mr r24, r3 /* 800D9EF4 000D6E54 48 00 00 08 */ b lbl_800D9EFC lbl_800D9EF8: /* 800D9EF8 000D6E58 3B 00 00 01 */ li r24, 1 lbl_800D9EFC: /* 800D9EFC 000D6E5C 2C 1B 00 08 */ cmpwi r27, 8 /* 800D9F00 000D6E60 40 81 00 14 */ ble lbl_800D9F14 /* 800D9F04 000D6E64 7F E3 FB 78 */ mr r3, r31 /* 800D9F08 000D6E68 48 26 4D 21 */ bl ReadFloat__12CInputStreamFv /* 800D9F0C 000D6E6C FF E0 08 90 */ fmr f31, f1 /* 800D9F10 000D6E70 48 00 00 08 */ b lbl_800D9F18 lbl_800D9F14: /* 800D9F14 000D6E74 C3 E2 8E 38 */ lfs f31, lbl_805AAB58@sda21(r2) lbl_800D9F18: /* 800D9F18 000D6E78 2C 1B 00 09 */ cmpwi r27, 9 /* 800D9F1C 000D6E7C 40 81 00 14 */ ble lbl_800D9F30 /* 800D9F20 000D6E80 7F E3 FB 78 */ mr r3, r31 /* 800D9F24 000D6E84 48 26 4D 05 */ bl ReadFloat__12CInputStreamFv /* 800D9F28 000D6E88 FF C0 08 90 */ fmr f30, f1 /* 800D9F2C 000D6E8C 48 00 00 08 */ b lbl_800D9F34 lbl_800D9F30: /* 800D9F30 000D6E90 C3 C2 8E 38 */ lfs f30, lbl_805AAB58@sda21(r2) lbl_800D9F34: /* 800D9F34 000D6E94 2C 1B 00 06 */ cmpwi r27, 6 /* 800D9F38 000D6E98 40 81 00 18 */ ble lbl_800D9F50 /* 800D9F3C 000D6E9C 7F E4 FB 78 */ mr r4, r31 /* 800D9F40 000D6EA0 38 61 00 14 */ addi r3, r1, 0x14 /* 800D9F44 000D6EA4 48 00 01 D5 */ bl LoadVisorParameters__FR12CInputStream /* 800D9F48 000D6EA8 38 81 00 14 */ addi r4, r1, 0x14 /* 800D9F4C 000D6EAC 48 00 00 2C */ b lbl_800D9F78 lbl_800D9F50: /* 800D9F50 000D6EB0 80 61 00 10 */ lwz r3, 0x10(r1) /* 800D9F54 000D6EB4 38 00 00 0F */ li r0, 0xf /* 800D9F58 000D6EB8 50 03 E0 06 */ rlwimi r3, r0, 0x1c, 0, 3 /* 800D9F5C 000D6EBC 38 81 00 10 */ addi r4, r1, 0x10 /* 800D9F60 000D6EC0 38 00 00 00 */ li r0, 0 /* 800D9F64 000D6EC4 90 61 00 10 */ stw r3, 0x10(r1) /* 800D9F68 000D6EC8 50 03 D9 08 */ rlwimi r3, r0, 0x1b, 4, 4 /* 800D9F6C 000D6ECC 90 61 00 10 */ stw r3, 0x10(r1) /* 800D9F70 000D6ED0 50 03 D1 4A */ rlwimi r3, r0, 0x1a, 5, 5 /* 800D9F74 000D6ED4 90 61 00 10 */ stw r3, 0x10(r1) lbl_800D9F78: /* 800D9F78 000D6ED8 80 04 00 00 */ lwz r0, 0(r4) /* 800D9F7C 000D6EDC 2C 1B 00 0A */ cmpwi r27, 0xa /* 800D9F80 000D6EE0 90 01 00 20 */ stw r0, 0x20(r1) /* 800D9F84 000D6EE4 40 81 00 14 */ ble lbl_800D9F98 /* 800D9F88 000D6EE8 7F E3 FB 78 */ mr r3, r31 /* 800D9F8C 000D6EEC 48 26 4D 51 */ bl ReadBool__12CInputStreamFv /* 800D9F90 000D6EF0 7C 77 1B 78 */ mr r23, r3 /* 800D9F94 000D6EF4 48 00 00 08 */ b lbl_800D9F9C lbl_800D9F98: /* 800D9F98 000D6EF8 3A E0 00 00 */ li r23, 0 lbl_800D9F9C: /* 800D9F9C 000D6EFC 2C 1B 00 0B */ cmpwi r27, 0xb /* 800D9FA0 000D6F00 40 81 00 14 */ ble lbl_800D9FB4 /* 800D9FA4 000D6F04 7F E3 FB 78 */ mr r3, r31 /* 800D9FA8 000D6F08 48 26 4D 35 */ bl ReadBool__12CInputStreamFv /* 800D9FAC 000D6F0C 7C 76 1B 78 */ mr r22, r3 /* 800D9FB0 000D6F10 48 00 00 08 */ b lbl_800D9FB8 lbl_800D9FB4: /* 800D9FB4 000D6F14 3A C0 00 00 */ li r22, 0 lbl_800D9FB8: /* 800D9FB8 000D6F18 2C 1B 00 0C */ cmpwi r27, 0xc /* 800D9FBC 000D6F1C 40 81 00 14 */ ble lbl_800D9FD0 /* 800D9FC0 000D6F20 7F E3 FB 78 */ mr r3, r31 /* 800D9FC4 000D6F24 48 26 4D 19 */ bl ReadBool__12CInputStreamFv /* 800D9FC8 000D6F28 7C 75 1B 78 */ mr r21, r3 /* 800D9FCC 000D6F2C 48 00 00 08 */ b lbl_800D9FD4 lbl_800D9FD0: /* 800D9FD0 000D6F30 3A A0 00 00 */ li r21, 0 lbl_800D9FD4: /* 800D9FD4 000D6F34 2C 1B 00 0D */ cmpwi r27, 0xd /* 800D9FD8 000D6F38 40 81 00 14 */ ble lbl_800D9FEC /* 800D9FDC 000D6F3C 7F E3 FB 78 */ mr r3, r31 /* 800D9FE0 000D6F40 48 26 4C 49 */ bl ReadFloat__12CInputStreamFv /* 800D9FE4 000D6F44 FF A0 08 90 */ fmr f29, f1 /* 800D9FE8 000D6F48 48 00 00 08 */ b lbl_800D9FF0 lbl_800D9FEC: /* 800D9FEC 000D6F4C C3 A2 8E 38 */ lfs f29, lbl_805AAB58@sda21(r2) lbl_800D9FF0: /* 800D9FF0 000D6F50 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) /* 800D9FF4 000D6F54 7F 44 D3 78 */ mr r4, r26 /* 800D9FF8 000D6F58 38 63 00 04 */ addi r3, r3, 4 /* 800D9FFC 000D6F5C 48 26 1C D1 */ bl GetResourceTypeById__10CResLoaderCFUi /* 800DA000 000D6F60 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) /* 800DA004 000D6F64 7C 7B 1B 78 */ mr r27, r3 /* 800DA008 000D6F68 7F 24 CB 78 */ mr r4, r25 /* 800DA00C 000D6F6C 38 65 00 04 */ addi r3, r5, 4 /* 800DA010 000D6F70 48 26 1C BD */ bl GetResourceTypeById__10CResLoaderCFUi /* 800DA014 000D6F74 28 1B 00 00 */ cmplwi r27, 0 /* 800DA018 000D6F78 38 A0 00 00 */ li r5, 0 /* 800DA01C 000D6F7C 41 82 00 08 */ beq lbl_800DA024 /* 800DA020 000D6F80 60 A5 00 01 */ ori r5, r5, 1 lbl_800DA024: /* 800DA024 000D6F84 28 03 00 00 */ cmplwi r3, 0 /* 800DA028 000D6F88 41 82 00 08 */ beq lbl_800DA030 /* 800DA02C 000D6F8C 60 A5 00 02 */ ori r5, r5, 2 lbl_800DA030: /* 800DA030 000D6F90 54 A0 07 FF */ clrlwi. r0, r5, 0x1f /* 800DA034 000D6F94 41 82 00 14 */ beq lbl_800DA048 /* 800DA038 000D6F98 93 41 00 40 */ stw r26, 0x40(r1) /* 800DA03C 000D6F9C 38 81 00 40 */ addi r4, r1, 0x40 /* 800DA040 000D6FA0 93 81 00 44 */ stw r28, 0x44(r1) /* 800DA044 000D6FA4 48 00 00 18 */ b lbl_800DA05C lbl_800DA048: /* 800DA048 000D6FA8 80 6D 86 E0 */ lwz r3, lbl_805A72A0@sda21(r13) /* 800DA04C 000D6FAC 38 81 00 38 */ addi r4, r1, 0x38 /* 800DA050 000D6FB0 80 0D 86 E4 */ lwz r0, lbl_805A72A4@sda21(r13) /* 800DA054 000D6FB4 90 61 00 38 */ stw r3, 0x38(r1) /* 800DA058 000D6FB8 90 01 00 3C */ stw r0, 0x3c(r1) lbl_800DA05C: /* 800DA05C 000D6FBC 80 64 00 00 */ lwz r3, 0(r4) /* 800DA060 000D6FC0 54 A0 07 BD */ rlwinm. r0, r5, 0, 0x1e, 0x1e /* 800DA064 000D6FC4 90 61 00 50 */ stw r3, 0x50(r1) /* 800DA068 000D6FC8 80 04 00 04 */ lwz r0, 4(r4) /* 800DA06C 000D6FCC 90 01 00 54 */ stw r0, 0x54(r1) /* 800DA070 000D6FD0 41 82 00 14 */ beq lbl_800DA084 /* 800DA074 000D6FD4 93 21 00 30 */ stw r25, 0x30(r1) /* 800DA078 000D6FD8 38 81 00 30 */ addi r4, r1, 0x30 /* 800DA07C 000D6FDC 93 A1 00 34 */ stw r29, 0x34(r1) /* 800DA080 000D6FE0 48 00 00 18 */ b lbl_800DA098 lbl_800DA084: /* 800DA084 000D6FE4 80 6D 86 E8 */ lwz r3, lbl_805A72A8@sda21(r13) /* 800DA088 000D6FE8 38 81 00 28 */ addi r4, r1, 0x28 /* 800DA08C 000D6FEC 80 0D 86 EC */ lwz r0, lbl_805A72AC@sda21(r13) /* 800DA090 000D6FF0 90 61 00 28 */ stw r3, 0x28(r1) /* 800DA094 000D6FF4 90 01 00 2C */ stw r0, 0x2c(r1) lbl_800DA098: /* 800DA098 000D6FF8 80 04 00 00 */ lwz r0, 0(r4) /* 800DA09C 000D6FFC FC 20 F8 90 */ fmr f1, f31 /* 800DA0A0 000D7000 FC 40 F0 90 */ fmr f2, f30 /* 800DA0A4 000D7004 7F C3 F3 78 */ mr r3, r30 /* 800DA0A8 000D7008 90 01 00 48 */ stw r0, 0x48(r1) /* 800DA0AC 000D700C FC 60 E8 90 */ fmr f3, f29 /* 800DA0B0 000D7010 7F 09 C3 78 */ mr r9, r24 /* 800DA0B4 000D7014 80 04 00 04 */ lwz r0, 4(r4) /* 800DA0B8 000D7018 7E EA BB 78 */ mr r10, r23 /* 800DA0BC 000D701C 38 81 00 98 */ addi r4, r1, 0x98 /* 800DA0C0 000D7020 90 01 00 4C */ stw r0, 0x4c(r1) /* 800DA0C4 000D7024 38 A1 00 24 */ addi r5, r1, 0x24 /* 800DA0C8 000D7028 38 C1 00 50 */ addi r6, r1, 0x50 /* 800DA0CC 000D702C 38 E1 00 48 */ addi r7, r1, 0x48 /* 800DA0D0 000D7030 92 C1 00 08 */ stw r22, 8(r1) /* 800DA0D4 000D7034 39 01 00 20 */ addi r8, r1, 0x20 /* 800DA0D8 000D7038 92 A1 00 0C */ stw r21, 0xc(r1) /* 800DA0DC 000D703C 48 02 C7 ED */ bl sub_801068c8 /* 800DA0E0 000D7040 38 61 00 98 */ addi r3, r1, 0x98 /* 800DA0E4 000D7044 38 80 FF FF */ li r4, -1 /* 800DA0E8 000D7048 48 02 C5 21 */ bl __dt__16CLightParametersFv lbl_800DA0EC: /* 800DA0EC 000D704C E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 /* 800DA0F0 000D7050 CB E1 01 30 */ lfd f31, 0x130(r1) /* 800DA0F4 000D7054 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 /* 800DA0F8 000D7058 CB C1 01 20 */ lfd f30, 0x120(r1) /* 800DA0FC 000D705C E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 /* 800DA100 000D7060 CB A1 01 10 */ lfd f29, 0x110(r1) /* 800DA104 000D7064 BA A1 00 E4 */ lmw r21, 0xe4(r1) /* 800DA108 000D7068 80 01 01 44 */ lwz r0, 0x144(r1) /* 800DA10C 000D706C 7C 08 03 A6 */ mtlr r0 /* 800DA110 000D7070 38 21 01 40 */ addi r1, r1, 0x140 /* 800DA114 000D7074 4E 80 00 20 */ blr .global LoadVisorParameters__FR12CInputStream LoadVisorParameters__FR12CInputStream: /* 800DA118 000D7078 94 21 FF E0 */ stwu r1, -0x20(r1) /* 800DA11C 000D707C 7C 08 02 A6 */ mflr r0 /* 800DA120 000D7080 90 01 00 24 */ stw r0, 0x24(r1) /* 800DA124 000D7084 BF 61 00 0C */ stmw r27, 0xc(r1) /* 800DA128 000D7088 7C 9B 23 78 */ mr r27, r4 /* 800DA12C 000D708C 7C 7F 1B 78 */ mr r31, r3 /* 800DA130 000D7090 7F 63 DB 78 */ mr r3, r27 /* 800DA134 000D7094 48 26 4B 51 */ bl ReadLong__12CInputStreamFv /* 800DA138 000D7098 7C 7D 1B 78 */ mr r29, r3 /* 800DA13C 000D709C 38 00 00 00 */ li r0, 0 /* 800DA140 000D70A0 2C 1D 00 01 */ cmpwi r29, 1 /* 800DA144 000D70A4 41 80 00 10 */ blt lbl_800DA154 /* 800DA148 000D70A8 2C 1D 00 03 */ cmpwi r29, 3 /* 800DA14C 000D70AC 41 81 00 08 */ bgt lbl_800DA154 /* 800DA150 000D70B0 38 00 00 01 */ li r0, 1 lbl_800DA154: /* 800DA154 000D70B4 54 00 06 3F */ clrlwi. r0, r0, 0x18 /* 800DA158 000D70B8 40 82 00 34 */ bne lbl_800DA18C /* 800DA15C 000D70BC 80 1F 00 00 */ lwz r0, 0(r31) /* 800DA160 000D70C0 38 60 00 0F */ li r3, 0xf /* 800DA164 000D70C4 50 60 E0 06 */ rlwimi r0, r3, 0x1c, 0, 3 /* 800DA168 000D70C8 90 1F 00 00 */ stw r0, 0(r31) /* 800DA16C 000D70CC 38 60 00 00 */ li r3, 0 /* 800DA170 000D70D0 80 1F 00 00 */ lwz r0, 0(r31) /* 800DA174 000D70D4 50 60 D9 08 */ rlwimi r0, r3, 0x1b, 4, 4 /* 800DA178 000D70D8 90 1F 00 00 */ stw r0, 0(r31) /* 800DA17C 000D70DC 80 1F 00 00 */ lwz r0, 0(r31) /* 800DA180 000D70E0 50 60 D1 4A */ rlwimi r0, r3, 0x1a, 5, 5 /* 800DA184 000D70E4 90 1F 00 00 */ stw r0, 0(r31) /* 800DA188 000D70E8 48 00 00 64 */ b lbl_800DA1EC lbl_800DA18C: /* 800DA18C 000D70EC 7F 63 DB 78 */ mr r3, r27 /* 800DA190 000D70F0 48 26 4B 4D */ bl ReadBool__12CInputStreamFv /* 800DA194 000D70F4 2C 1D 00 02 */ cmpwi r29, 2 /* 800DA198 000D70F8 7C 7E 1B 78 */ mr r30, r3 /* 800DA19C 000D70FC 3B 80 00 00 */ li r28, 0 /* 800DA1A0 000D7100 40 81 00 10 */ ble lbl_800DA1B0 /* 800DA1A4 000D7104 7F 63 DB 78 */ mr r3, r27 /* 800DA1A8 000D7108 48 26 4B 35 */ bl ReadBool__12CInputStreamFv /* 800DA1AC 000D710C 7C 7C 1B 78 */ mr r28, r3 lbl_800DA1B0: /* 800DA1B0 000D7110 2C 1D 00 02 */ cmpwi r29, 2 /* 800DA1B4 000D7114 41 80 00 10 */ blt lbl_800DA1C4 /* 800DA1B8 000D7118 7F 63 DB 78 */ mr r3, r27 /* 800DA1BC 000D711C 48 26 4A C9 */ bl ReadLong__12CInputStreamFv /* 800DA1C0 000D7120 48 00 00 08 */ b lbl_800DA1C8 lbl_800DA1C4: /* 800DA1C4 000D7124 38 60 00 0F */ li r3, 0xf lbl_800DA1C8: /* 800DA1C8 000D7128 80 1F 00 00 */ lwz r0, 0(r31) /* 800DA1CC 000D712C 50 60 E0 06 */ rlwimi r0, r3, 0x1c, 0, 3 /* 800DA1D0 000D7130 90 1F 00 00 */ stw r0, 0(r31) /* 800DA1D4 000D7134 80 1F 00 00 */ lwz r0, 0(r31) /* 800DA1D8 000D7138 53 C0 D9 08 */ rlwimi r0, r30, 0x1b, 4, 4 /* 800DA1DC 000D713C 90 1F 00 00 */ stw r0, 0(r31) /* 800DA1E0 000D7140 80 1F 00 00 */ lwz r0, 0(r31) /* 800DA1E4 000D7144 53 80 D1 4A */ rlwimi r0, r28, 0x1a, 5, 5 /* 800DA1E8 000D7148 90 1F 00 00 */ stw r0, 0(r31) lbl_800DA1EC: /* 800DA1EC 000D714C BB 61 00 0C */ lmw r27, 0xc(r1) /* 800DA1F0 000D7150 80 01 00 24 */ lwz r0, 0x24(r1) /* 800DA1F4 000D7154 7C 08 03 A6 */ mtlr r0 /* 800DA1F8 000D7158 38 21 00 20 */ addi r1, r1, 0x20 /* 800DA1FC 000D715C 4E 80 00 20 */ blr .global LoadScannableParameters__FR12CInputStream LoadScannableParameters__FR12CInputStream: /* 800DA200 000D7160 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800DA204 000D7164 7C 08 02 A6 */ mflr r0 /* 800DA208 000D7168 90 01 00 14 */ stw r0, 0x14(r1) /* 800DA20C 000D716C 93 E1 00 0C */ stw r31, 0xc(r1) /* 800DA210 000D7170 7C 9F 23 78 */ mr r31, r4 /* 800DA214 000D7174 93 C1 00 08 */ stw r30, 8(r1) /* 800DA218 000D7178 7C 7E 1B 78 */ mr r30, r3 /* 800DA21C 000D717C 7F E3 FB 78 */ mr r3, r31 /* 800DA220 000D7180 48 26 4A 65 */ bl ReadLong__12CInputStreamFv /* 800DA224 000D7184 2C 03 00 01 */ cmpwi r3, 1 /* 800DA228 000D7188 41 82 00 10 */ beq lbl_800DA238 /* 800DA22C 000D718C 38 00 FF FF */ li r0, -1 /* 800DA230 000D7190 90 1E 00 00 */ stw r0, 0(r30) /* 800DA234 000D7194 48 00 00 10 */ b lbl_800DA244 lbl_800DA238: /* 800DA238 000D7198 7F E3 FB 78 */ mr r3, r31 /* 800DA23C 000D719C 48 26 4A 49 */ bl ReadLong__12CInputStreamFv /* 800DA240 000D71A0 90 7E 00 00 */ stw r3, 0(r30) lbl_800DA244: /* 800DA244 000D71A4 80 01 00 14 */ lwz r0, 0x14(r1) /* 800DA248 000D71A8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 800DA24C 000D71AC 83 C1 00 08 */ lwz r30, 8(r1) /* 800DA250 000D71B0 7C 08 03 A6 */ mtlr r0 /* 800DA254 000D71B4 38 21 00 10 */ addi r1, r1, 0x10 /* 800DA258 000D71B8 4E 80 00 20 */ blr .global LoadLightParameters__FR12CInputStream LoadLightParameters__FR12CInputStream: /* 800DA25C 000D71BC 94 21 FF 90 */ stwu r1, -0x70(r1) /* 800DA260 000D71C0 7C 08 02 A6 */ mflr r0 /* 800DA264 000D71C4 90 01 00 74 */ stw r0, 0x74(r1) /* 800DA268 000D71C8 DB E1 00 68 */ stfd f31, 0x68(r1) /* 800DA26C 000D71CC DB C1 00 60 */ stfd f30, 0x60(r1) /* 800DA270 000D71D0 DB A1 00 58 */ stfd f29, 0x58(r1) /* 800DA274 000D71D4 BE A1 00 2C */ stmw r21, 0x2c(r1) /* 800DA278 000D71D8 7C 9F 23 78 */ mr r31, r4 /* 800DA27C 000D71DC 7C 7E 1B 78 */ mr r30, r3 /* 800DA280 000D71E0 7F E3 FB 78 */ mr r3, r31 /* 800DA284 000D71E4 48 26 4A 01 */ bl ReadLong__12CInputStreamFv /* 800DA288 000D71E8 7C 7A 1B 78 */ mr r26, r3 /* 800DA28C 000D71EC 2C 1A 00 0E */ cmpwi r26, 0xe /* 800DA290 000D71F0 41 82 00 10 */ beq lbl_800DA2A0 /* 800DA294 000D71F4 7F C3 F3 78 */ mr r3, r30 /* 800DA298 000D71F8 48 00 01 55 */ bl None__16CLightParametersFv /* 800DA29C 000D71FC 48 00 01 30 */ b lbl_800DA3CC lbl_800DA2A0: /* 800DA2A0 000D7200 7F E3 FB 78 */ mr r3, r31 /* 800DA2A4 000D7204 48 26 4A 39 */ bl ReadBool__12CInputStreamFv /* 800DA2A8 000D7208 7C 7B 1B 78 */ mr r27, r3 /* 800DA2AC 000D720C 7F E3 FB 78 */ mr r3, r31 /* 800DA2B0 000D7210 48 26 49 79 */ bl ReadFloat__12CInputStreamFv /* 800DA2B4 000D7214 FF E0 08 90 */ fmr f31, f1 /* 800DA2B8 000D7218 7F E3 FB 78 */ mr r3, r31 /* 800DA2BC 000D721C 48 26 49 C9 */ bl ReadLong__12CInputStreamFv /* 800DA2C0 000D7220 7C 79 1B 78 */ mr r25, r3 /* 800DA2C4 000D7224 7F E3 FB 78 */ mr r3, r31 /* 800DA2C8 000D7228 48 26 49 61 */ bl ReadFloat__12CInputStreamFv /* 800DA2CC 000D722C FF C0 08 90 */ fmr f30, f1 /* 800DA2D0 000D7230 7F E3 FB 78 */ mr r3, r31 /* 800DA2D4 000D7234 48 26 49 55 */ bl ReadFloat__12CInputStreamFv /* 800DA2D8 000D7238 FF A0 08 90 */ fmr f29, f1 /* 800DA2DC 000D723C 7F E4 FB 78 */ mr r4, r31 /* 800DA2E0 000D7240 38 61 00 18 */ addi r3, r1, 0x18 /* 800DA2E4 000D7244 48 28 91 69 */ bl __ct__6CColorFR12CInputStream /* 800DA2E8 000D7248 7F E3 FB 78 */ mr r3, r31 /* 800DA2EC 000D724C 48 26 49 F1 */ bl ReadBool__12CInputStreamFv /* 800DA2F0 000D7250 7C 7C 1B 78 */ mr r28, r3 /* 800DA2F4 000D7254 7F E3 FB 78 */ mr r3, r31 /* 800DA2F8 000D7258 48 26 49 8D */ bl ReadLong__12CInputStreamFv /* 800DA2FC 000D725C 7C 78 1B 78 */ mr r24, r3 /* 800DA300 000D7260 7F E3 FB 78 */ mr r3, r31 /* 800DA304 000D7264 48 26 49 81 */ bl ReadLong__12CInputStreamFv /* 800DA308 000D7268 7C 77 1B 78 */ mr r23, r3 /* 800DA30C 000D726C 7F E4 FB 78 */ mr r4, r31 /* 800DA310 000D7270 38 61 00 1C */ addi r3, r1, 0x1c /* 800DA314 000D7274 48 23 A8 79 */ bl __ct__9CVector3fFR12CInputStream /* 800DA318 000D7278 2C 1A 00 0C */ cmpwi r26, 0xc /* 800DA31C 000D727C 41 80 00 14 */ blt lbl_800DA330 /* 800DA320 000D7280 7F E3 FB 78 */ mr r3, r31 /* 800DA324 000D7284 48 26 49 61 */ bl ReadLong__12CInputStreamFv /* 800DA328 000D7288 7C 76 1B 78 */ mr r22, r3 /* 800DA32C 000D728C 48 00 00 08 */ b lbl_800DA334 lbl_800DA330: /* 800DA330 000D7290 3A C0 FF FF */ li r22, -1 lbl_800DA334: /* 800DA334 000D7294 2C 1A 00 0C */ cmpwi r26, 0xc /* 800DA338 000D7298 41 80 00 14 */ blt lbl_800DA34C /* 800DA33C 000D729C 7F E3 FB 78 */ mr r3, r31 /* 800DA340 000D72A0 48 26 49 45 */ bl ReadLong__12CInputStreamFv /* 800DA344 000D72A4 7C 75 1B 78 */ mr r21, r3 /* 800DA348 000D72A8 48 00 00 08 */ b lbl_800DA350 lbl_800DA34C: /* 800DA34C 000D72AC 3A A0 FF FF */ li r21, -1 lbl_800DA350: /* 800DA350 000D72B0 2C 1A 00 0D */ cmpwi r26, 0xd /* 800DA354 000D72B4 41 80 00 14 */ blt lbl_800DA368 /* 800DA358 000D72B8 7F E3 FB 78 */ mr r3, r31 /* 800DA35C 000D72BC 48 26 49 81 */ bl ReadBool__12CInputStreamFv /* 800DA360 000D72C0 7C 7D 1B 78 */ mr r29, r3 /* 800DA364 000D72C4 48 00 00 08 */ b lbl_800DA36C lbl_800DA368: /* 800DA368 000D72C8 3B A0 00 00 */ li r29, 0 lbl_800DA36C: /* 800DA36C 000D72CC 2C 1A 00 0E */ cmpwi r26, 0xe /* 800DA370 000D72D0 41 80 00 14 */ blt lbl_800DA384 /* 800DA374 000D72D4 7F E3 FB 78 */ mr r3, r31 /* 800DA378 000D72D8 48 26 49 0D */ bl ReadLong__12CInputStreamFv /* 800DA37C 000D72DC 7C 66 1B 78 */ mr r6, r3 /* 800DA380 000D72E0 48 00 00 08 */ b lbl_800DA388 lbl_800DA384: /* 800DA384 000D72E4 38 C0 00 00 */ li r6, 0 lbl_800DA388: /* 800DA388 000D72E8 92 C1 00 08 */ stw r22, 8(r1) /* 800DA38C 000D72EC 57 A0 06 3E */ clrlwi r0, r29, 0x18 /* 800DA390 000D72F0 FC 20 F8 90 */ fmr f1, f31 /* 800DA394 000D72F4 7F C3 F3 78 */ mr r3, r30 /* 800DA398 000D72F8 92 A1 00 0C */ stw r21, 0xc(r1) /* 800DA39C 000D72FC FC 40 F0 90 */ fmr f2, f30 /* 800DA3A0 000D7300 FC 60 E8 90 */ fmr f3, f29 /* 800DA3A4 000D7304 7F 25 CB 78 */ mr r5, r25 /* 800DA3A8 000D7308 90 01 00 10 */ stw r0, 0x10(r1) /* 800DA3AC 000D730C 7F 08 C3 78 */ mr r8, r24 /* 800DA3B0 000D7310 7E E9 BB 78 */ mr r9, r23 /* 800DA3B4 000D7314 57 64 06 3E */ clrlwi r4, r27, 0x18 /* 800DA3B8 000D7318 90 C1 00 14 */ stw r6, 0x14(r1) /* 800DA3BC 000D731C 38 C1 00 18 */ addi r6, r1, 0x18 /* 800DA3C0 000D7320 57 87 06 3E */ clrlwi r7, r28, 0x18 /* 800DA3C4 000D7324 39 41 00 1C */ addi r10, r1, 0x1c /* 800DA3C8 000D7328 48 02 C3 31 */ bl __ct__16CLightParametersFbfQ216CLightParameters19EShadowTessellationffRC6CColorbQ216CLightParameters21EWorldLightingOptionsQ216CLightParameters26ELightRecalculationOptionsRC9CVector3fii lbl_800DA3CC: /* 800DA3CC 000D732C CB E1 00 68 */ lfd f31, 0x68(r1) /* 800DA3D0 000D7330 CB C1 00 60 */ lfd f30, 0x60(r1) /* 800DA3D4 000D7334 CB A1 00 58 */ lfd f29, 0x58(r1) /* 800DA3D8 000D7338 BA A1 00 2C */ lmw r21, 0x2c(r1) /* 800DA3DC 000D733C 80 01 00 74 */ lwz r0, 0x74(r1) /* 800DA3E0 000D7340 7C 08 03 A6 */ mtlr r0 /* 800DA3E4 000D7344 38 21 00 70 */ addi r1, r1, 0x70 /* 800DA3E8 000D7348 4E 80 00 20 */ blr .global None__16CLightParametersFv None__16CLightParametersFv: /* 800DA3EC 000D734C 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800DA3F0 000D7350 7C 08 02 A6 */ mflr r0 /* 800DA3F4 000D7354 90 01 00 14 */ stw r0, 0x14(r1) /* 800DA3F8 000D7358 48 02 C2 59 */ bl __ct__16CLightParametersFv /* 800DA3FC 000D735C 80 01 00 14 */ lwz r0, 0x14(r1) /* 800DA400 000D7360 7C 08 03 A6 */ mtlr r0 /* 800DA404 000D7364 38 21 00 10 */ addi r1, r1, 0x10 /* 800DA408 000D7368 4E 80 00 20 */ blr .global LoadAnimationParameters__FR12CInputStream LoadAnimationParameters__FR12CInputStream: /* 800DA40C 000D736C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 800DA410 000D7370 7C 08 02 A6 */ mflr r0 /* 800DA414 000D7374 90 01 00 24 */ stw r0, 0x24(r1) /* 800DA418 000D7378 93 E1 00 1C */ stw r31, 0x1c(r1) /* 800DA41C 000D737C 93 C1 00 18 */ stw r30, 0x18(r1) /* 800DA420 000D7380 93 A1 00 14 */ stw r29, 0x14(r1) /* 800DA424 000D7384 7C 9D 23 78 */ mr r29, r4 /* 800DA428 000D7388 93 81 00 10 */ stw r28, 0x10(r1) /* 800DA42C 000D738C 7C 7C 1B 78 */ mr r28, r3 /* 800DA430 000D7390 7F A3 EB 78 */ mr r3, r29 /* 800DA434 000D7394 48 26 48 51 */ bl ReadLong__12CInputStreamFv /* 800DA438 000D7398 7C 7E 1B 78 */ mr r30, r3 /* 800DA43C 000D739C 7F A3 EB 78 */ mr r3, r29 /* 800DA440 000D73A0 48 26 48 45 */ bl ReadLong__12CInputStreamFv /* 800DA444 000D73A4 7C 7F 1B 78 */ mr r31, r3 /* 800DA448 000D73A8 7F A3 EB 78 */ mr r3, r29 /* 800DA44C 000D73AC 48 26 48 39 */ bl ReadLong__12CInputStreamFv /* 800DA450 000D73B0 93 DC 00 00 */ stw r30, 0(r28) /* 800DA454 000D73B4 93 FC 00 04 */ stw r31, 4(r28) /* 800DA458 000D73B8 90 7C 00 08 */ stw r3, 8(r28) /* 800DA45C 000D73BC 80 01 00 24 */ lwz r0, 0x24(r1) /* 800DA460 000D73C0 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 800DA464 000D73C4 83 C1 00 18 */ lwz r30, 0x18(r1) /* 800DA468 000D73C8 83 A1 00 14 */ lwz r29, 0x14(r1) /* 800DA46C 000D73CC 83 81 00 10 */ lwz r28, 0x10(r1) /* 800DA470 000D73D0 7C 08 03 A6 */ mtlr r0 /* 800DA474 000D73D4 38 21 00 20 */ addi r1, r1, 0x20 .global sub_800da478 sub_800da478: /* 800DA478 000D73D8 4E 80 00 20 */ blr .global LoadScaledActorHead__FR12CInputStreamR13CStateManager LoadScaledActorHead__FR12CInputStreamR13CStateManager: /* 800DA47C 000D73DC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 800DA480 000D73E0 7C 08 02 A6 */ mflr r0 /* 800DA484 000D73E4 90 01 00 14 */ stw r0, 0x14(r1) /* 800DA488 000D73E8 93 E1 00 0C */ stw r31, 0xc(r1) /* 800DA48C 000D73EC 7C 9F 23 78 */ mr r31, r4 /* 800DA490 000D73F0 93 C1 00 08 */ stw r30, 8(r1) /* 800DA494 000D73F4 7C 7E 1B 78 */ mr r30, r3 /* 800DA498 000D73F8 48 00 00 2D */ bl LoadActorHead__FR12CInputStreamR13CStateManager /* 800DA49C 000D73FC 7F E4 FB 78 */ mr r4, r31 /* 800DA4A0 000D7400 38 7E 00 40 */ addi r3, r30, 0x40 /* 800DA4A4 000D7404 48 23 A6 E9 */ bl __ct__9CVector3fFR12CInputStream /* 800DA4A8 000D7408 80 01 00 14 */ lwz r0, 0x14(r1) /* 800DA4AC 000D740C 7F C3 F3 78 */ mr r3, r30 /* 800DA4B0 000D7410 83 E1 00 0C */ lwz r31, 0xc(r1) /* 800DA4B4 000D7414 83 C1 00 08 */ lwz r30, 8(r1) /* 800DA4B8 000D7418 7C 08 03 A6 */ mtlr r0 /* 800DA4BC 000D741C 38 21 00 10 */ addi r1, r1, 0x10 /* 800DA4C0 000D7420 4E 80 00 20 */ blr .global LoadActorHead__FR12CInputStreamR13CStateManager LoadActorHead__FR12CInputStreamR13CStateManager: /* 800DA4C4 000D7424 94 21 FF C0 */ stwu r1, -0x40(r1) /* 800DA4C8 000D7428 7C 08 02 A6 */ mflr r0 /* 800DA4CC 000D742C 90 01 00 44 */ stw r0, 0x44(r1) /* 800DA4D0 000D7430 93 E1 00 3C */ stw r31, 0x3c(r1) /* 800DA4D4 000D7434 7C 9F 23 78 */ mr r31, r4 /* 800DA4D8 000D7438 93 C1 00 38 */ stw r30, 0x38(r1) /* 800DA4DC 000D743C 7C 7E 1B 78 */ mr r30, r3 /* 800DA4E0 000D7440 7C A3 2B 78 */ mr r3, r5 /* 800DA4E4 000D7444 4B F6 AD 01 */ bl HashInstanceName__13CStateManagerFR12CInputStream /* 800DA4E8 000D7448 7C 64 1B 78 */ mr r4, r3 /* 800DA4EC 000D744C 7F C3 F3 78 */ mr r3, r30 /* 800DA4F0 000D7450 48 26 3C 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" /* 800DA4F4 000D7454 7F E4 FB 78 */ mr r4, r31 /* 800DA4F8 000D7458 38 61 00 08 */ addi r3, r1, 8 /* 800DA4FC 000D745C 48 00 00 91 */ bl LoadEditorTransform__FR12CInputStream /* 800DA500 000D7460 38 7E 00 10 */ addi r3, r30, 0x10 /* 800DA504 000D7464 38 81 00 08 */ addi r4, r1, 8 /* 800DA508 000D7468 48 23 86 6D */ bl __ct__12CTransform4fFRC12CTransform4f /* 800DA50C 000D746C 80 01 00 44 */ lwz r0, 0x44(r1) /* 800DA510 000D7470 7F C3 F3 78 */ mr r3, r30 /* 800DA514 000D7474 83 E1 00 3C */ lwz r31, 0x3c(r1) /* 800DA518 000D7478 83 C1 00 38 */ lwz r30, 0x38(r1) /* 800DA51C 000D747C 7C 08 03 A6 */ mtlr r0 /* 800DA520 000D7480 38 21 00 40 */ addi r1, r1, 0x40 /* 800DA524 000D7484 4E 80 00 20 */ blr .global LoadEditorTransformPivotOnly__FR12CInputStream LoadEditorTransformPivotOnly__FR12CInputStream: /* 800DA528 000D7488 94 21 FF D0 */ stwu r1, -0x30(r1) /* 800DA52C 000D748C 7C 08 02 A6 */ mflr r0 /* 800DA530 000D7490 90 01 00 34 */ stw r0, 0x34(r1) /* 800DA534 000D7494 93 E1 00 2C */ stw r31, 0x2c(r1) /* 800DA538 000D7498 7C 9F 23 78 */ mr r31, r4 /* 800DA53C 000D749C 93 C1 00 28 */ stw r30, 0x28(r1) /* 800DA540 000D74A0 7C 7E 1B 78 */ mr r30, r3 /* 800DA544 000D74A4 38 61 00 14 */ addi r3, r1, 0x14 /* 800DA548 000D74A8 48 23 A6 45 */ bl __ct__9CVector3fFR12CInputStream /* 800DA54C 000D74AC 7F E4 FB 78 */ mr r4, r31 /* 800DA550 000D74B0 38 61 00 08 */ addi r3, r1, 8 /* 800DA554 000D74B4 48 23 A6 39 */ bl __ct__9CVector3fFR12CInputStream /* 800DA558 000D74B8 C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) /* 800DA55C 000D74BC 7F C3 F3 78 */ mr r3, r30 /* 800DA560 000D74C0 38 81 00 08 */ addi r4, r1, 8 /* 800DA564 000D74C4 38 A1 00 14 */ addi r5, r1, 0x14 /* 800DA568 000D74C8 D0 01 00 0C */ stfs f0, 0xc(r1) /* 800DA56C 000D74CC D0 01 00 08 */ stfs f0, 8(r1) /* 800DA570 000D74D0 48 00 00 75 */ bl ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f /* 800DA574 000D74D4 80 01 00 34 */ lwz r0, 0x34(r1) /* 800DA578 000D74D8 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 800DA57C 000D74DC 83 C1 00 28 */ lwz r30, 0x28(r1) /* 800DA580 000D74E0 7C 08 03 A6 */ mtlr r0 /* 800DA584 000D74E4 38 21 00 30 */ addi r1, r1, 0x30 /* 800DA588 000D74E8 4E 80 00 20 */ blr .global LoadEditorTransform__FR12CInputStream LoadEditorTransform__FR12CInputStream: /* 800DA58C 000D74EC 94 21 FF D0 */ stwu r1, -0x30(r1) /* 800DA590 000D74F0 7C 08 02 A6 */ mflr r0 /* 800DA594 000D74F4 90 01 00 34 */ stw r0, 0x34(r1) /* 800DA598 000D74F8 93 E1 00 2C */ stw r31, 0x2c(r1) /* 800DA59C 000D74FC 7C 9F 23 78 */ mr r31, r4 /* 800DA5A0 000D7500 93 C1 00 28 */ stw r30, 0x28(r1) /* 800DA5A4 000D7504 7C 7E 1B 78 */ mr r30, r3 /* 800DA5A8 000D7508 38 61 00 14 */ addi r3, r1, 0x14 /* 800DA5AC 000D750C 48 23 A5 E1 */ bl __ct__9CVector3fFR12CInputStream /* 800DA5B0 000D7510 7F E4 FB 78 */ mr r4, r31 /* 800DA5B4 000D7514 38 61 00 08 */ addi r3, r1, 8 /* 800DA5B8 000D7518 48 23 A5 D5 */ bl __ct__9CVector3fFR12CInputStream /* 800DA5BC 000D751C 7F C3 F3 78 */ mr r3, r30 /* 800DA5C0 000D7520 38 81 00 08 */ addi r4, r1, 8 /* 800DA5C4 000D7524 38 A1 00 14 */ addi r5, r1, 0x14 /* 800DA5C8 000D7528 48 00 00 1D */ bl ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f /* 800DA5CC 000D752C 80 01 00 34 */ lwz r0, 0x34(r1) /* 800DA5D0 000D7530 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 800DA5D4 000D7534 83 C1 00 28 */ lwz r30, 0x28(r1) /* 800DA5D8 000D7538 7C 08 03 A6 */ mtlr r0 /* 800DA5DC 000D753C 38 21 00 30 */ addi r1, r1, 0x30 /* 800DA5E0 000D7540 4E 80 00 20 */ blr .global ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f: /* 800DA5E4 000D7544 94 21 FF 10 */ stwu r1, -0xf0(r1) /* 800DA5E8 000D7548 7C 08 02 A6 */ mflr r0 /* 800DA5EC 000D754C C0 62 8E 50 */ lfs f3, lbl_805AAB70@sda21(r2) /* 800DA5F0 000D7550 90 01 00 F4 */ stw r0, 0xf4(r1) /* 800DA5F4 000D7554 93 E1 00 EC */ stw r31, 0xec(r1) /* 800DA5F8 000D7558 7C BF 2B 78 */ mr r31, r5 /* 800DA5FC 000D755C 93 C1 00 E8 */ stw r30, 0xe8(r1) /* 800DA600 000D7560 7C 7E 1B 78 */ mr r30, r3 /* 800DA604 000D7564 38 61 00 38 */ addi r3, r1, 0x38 /* 800DA608 000D7568 C0 44 00 00 */ lfs f2, 0(r4) /* 800DA60C 000D756C C0 24 00 04 */ lfs f1, 4(r4) /* 800DA610 000D7570 C0 04 00 08 */ lfs f0, 8(r4) /* 800DA614 000D7574 EC 43 00 B2 */ fmuls f2, f3, f2 /* 800DA618 000D7578 EC 23 00 72 */ fmuls f1, f3, f1 /* 800DA61C 000D757C 38 81 00 08 */ addi r4, r1, 8 /* 800DA620 000D7580 EC 03 00 32 */ fmuls f0, f3, f0 /* 800DA624 000D7584 D0 41 00 08 */ stfs f2, 8(r1) /* 800DA628 000D7588 D0 21 00 0C */ stfs f1, 0xc(r1) /* 800DA62C 000D758C D0 01 00 10 */ stfs f0, 0x10(r1) /* 800DA630 000D7590 48 23 6B 39 */ bl XRotation__11CQuaternionFRC9CRelAngle /* 800DA634 000D7594 38 61 00 48 */ addi r3, r1, 0x48 /* 800DA638 000D7598 38 81 00 0C */ addi r4, r1, 0xc /* 800DA63C 000D759C 48 23 6A F5 */ bl YRotation__11CQuaternionFRC9CRelAngle /* 800DA640 000D75A0 38 61 00 58 */ addi r3, r1, 0x58 /* 800DA644 000D75A4 38 81 00 10 */ addi r4, r1, 0x10 /* 800DA648 000D75A8 48 23 6A B1 */ bl ZRotation__11CQuaternionFRC9CRelAngle /* 800DA64C 000D75AC 38 61 00 68 */ addi r3, r1, 0x68 /* 800DA650 000D75B0 38 81 00 58 */ addi r4, r1, 0x58 /* 800DA654 000D75B4 38 A1 00 48 */ addi r5, r1, 0x48 /* 800DA658 000D75B8 48 23 6B 49 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 800DA65C 000D75BC 38 61 00 78 */ addi r3, r1, 0x78 /* 800DA660 000D75C0 38 81 00 68 */ addi r4, r1, 0x68 /* 800DA664 000D75C4 38 A1 00 38 */ addi r5, r1, 0x38 /* 800DA668 000D75C8 48 23 6B 39 */ bl __ml__11CQuaternionCFRC11CQuaternion /* 800DA66C 000D75CC C0 61 00 78 */ lfs f3, 0x78(r1) /* 800DA670 000D75D0 38 61 00 98 */ addi r3, r1, 0x98 /* 800DA674 000D75D4 C0 41 00 7C */ lfs f2, 0x7c(r1) /* 800DA678 000D75D8 38 81 00 88 */ addi r4, r1, 0x88 /* 800DA67C 000D75DC C0 21 00 80 */ lfs f1, 0x80(r1) /* 800DA680 000D75E0 C0 01 00 84 */ lfs f0, 0x84(r1) /* 800DA684 000D75E4 D0 61 00 88 */ stfs f3, 0x88(r1) /* 800DA688 000D75E8 D0 41 00 8C */ stfs f2, 0x8c(r1) /* 800DA68C 000D75EC D0 21 00 90 */ stfs f1, 0x90(r1) /* 800DA690 000D75F0 D0 01 00 94 */ stfs f0, 0x94(r1) /* 800DA694 000D75F4 48 23 79 F9 */ bl BuildTransform__11CQuaternionCFv /* 800DA698 000D75F8 38 61 00 BC */ addi r3, r1, 0xbc /* 800DA69C 000D75FC 38 81 00 98 */ addi r4, r1, 0x98 /* 800DA6A0 000D7600 48 23 59 85 */ bl __ct__9CMatrix3fFRC9CMatrix3f /* 800DA6A4 000D7604 C1 01 00 DC */ lfs f8, 0xdc(r1) /* 800DA6A8 000D7608 7F C3 F3 78 */ mr r3, r30 /* 800DA6AC 000D760C C0 E1 00 D0 */ lfs f7, 0xd0(r1) /* 800DA6B0 000D7610 7F E7 FB 78 */ mr r7, r31 /* 800DA6B4 000D7614 C0 41 00 C4 */ lfs f2, 0xc4(r1) /* 800DA6B8 000D7618 38 81 00 2C */ addi r4, r1, 0x2c /* 800DA6BC 000D761C C0 C1 00 D8 */ lfs f6, 0xd8(r1) /* 800DA6C0 000D7620 38 A1 00 20 */ addi r5, r1, 0x20 /* 800DA6C4 000D7624 C0 A1 00 CC */ lfs f5, 0xcc(r1) /* 800DA6C8 000D7628 38 C1 00 14 */ addi r6, r1, 0x14 /* 800DA6CC 000D762C C0 21 00 C0 */ lfs f1, 0xc0(r1) /* 800DA6D0 000D7630 C0 81 00 D4 */ lfs f4, 0xd4(r1) /* 800DA6D4 000D7634 C0 61 00 C8 */ lfs f3, 0xc8(r1) /* 800DA6D8 000D7638 C0 01 00 BC */ lfs f0, 0xbc(r1) /* 800DA6DC 000D763C D0 41 00 14 */ stfs f2, 0x14(r1) /* 800DA6E0 000D7640 D0 E1 00 18 */ stfs f7, 0x18(r1) /* 800DA6E4 000D7644 D1 01 00 1C */ stfs f8, 0x1c(r1) /* 800DA6E8 000D7648 D0 21 00 20 */ stfs f1, 0x20(r1) /* 800DA6EC 000D764C D0 A1 00 24 */ stfs f5, 0x24(r1) /* 800DA6F0 000D7650 D0 C1 00 28 */ stfs f6, 0x28(r1) /* 800DA6F4 000D7654 D0 01 00 2C */ stfs f0, 0x2c(r1) /* 800DA6F8 000D7658 D0 61 00 30 */ stfs f3, 0x30(r1) /* 800DA6FC 000D765C D0 81 00 34 */ stfs f4, 0x34(r1) /* 800DA700 000D7660 48 23 87 5D */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 /* 800DA704 000D7664 80 01 00 F4 */ lwz r0, 0xf4(r1) /* 800DA708 000D7668 83 E1 00 EC */ lwz r31, 0xec(r1) /* 800DA70C 000D766C 83 C1 00 E8 */ lwz r30, 0xe8(r1) /* 800DA710 000D7670 7C 08 03 A6 */ mtlr r0 /* 800DA714 000D7674 38 21 00 F0 */ addi r1, r1, 0xf0 /* 800DA718 000D7678 4E 80 00 20 */ blr .global GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f: /* 800DA71C 000D767C 94 21 FF A0 */ stwu r1, -0x60(r1) /* 800DA720 000D7680 7C 08 02 A6 */ mflr r0 /* 800DA724 000D7684 C0 62 8E 60 */ lfs f3, lbl_805AAB80@sda21(r2) /* 800DA728 000D7688 90 01 00 64 */ stw r0, 0x64(r1) /* 800DA72C 000D768C 93 E1 00 5C */ stw r31, 0x5c(r1) /* 800DA730 000D7690 7C 7F 1B 78 */ mr r31, r3 /* 800DA734 000D7694 38 61 00 24 */ addi r3, r1, 0x24 /* 800DA738 000D7698 C0 86 00 08 */ lfs f4, 8(r6) /* 800DA73C 000D769C C0 A6 00 04 */ lfs f5, 4(r6) /* 800DA740 000D76A0 C1 26 00 00 */ lfs f9, 0(r6) /* 800DA744 000D76A4 FC 00 20 50 */ fneg f0, f4 /* 800DA748 000D76A8 C0 E7 00 08 */ lfs f7, 8(r7) /* 800DA74C 000D76AC FC 20 28 50 */ fneg f1, f5 /* 800DA750 000D76B0 C1 07 00 04 */ lfs f8, 4(r7) /* 800DA754 000D76B4 FC 40 48 50 */ fneg f2, f9 /* 800DA758 000D76B8 C1 47 00 00 */ lfs f10, 0(r7) /* 800DA75C 000D76BC EC C4 38 FA */ fmadds f6, f4, f3, f7 /* 800DA760 000D76C0 80 C5 00 00 */ lwz r6, 0(r5) /* 800DA764 000D76C4 EC A5 40 FA */ fmadds f5, f5, f3, f8 /* 800DA768 000D76C8 EC 89 50 FA */ fmadds f4, f9, f3, f10 /* 800DA76C 000D76CC 54 C5 18 38 */ slwi r5, r6, 3 /* 800DA770 000D76D0 EC 42 50 FA */ fmadds f2, f2, f3, f10 /* 800DA774 000D76D4 EC 21 40 FA */ fmadds f1, f1, f3, f8 /* 800DA778 000D76D8 D0 A1 00 1C */ stfs f5, 0x1c(r1) /* 800DA77C 000D76DC EC 00 38 FA */ fmadds f0, f0, f3, f7 /* 800DA780 000D76E0 D0 41 00 0C */ stfs f2, 0xc(r1) /* 800DA784 000D76E4 38 05 00 04 */ addi r0, r5, 4 /* 800DA788 000D76E8 D0 21 00 10 */ stfs f1, 0x10(r1) /* 800DA78C 000D76EC D0 01 00 14 */ stfs f0, 0x14(r1) /* 800DA790 000D76F0 D0 81 00 18 */ stfs f4, 0x18(r1) /* 800DA794 000D76F4 D0 C1 00 20 */ stfs f6, 0x20(r1) /* 800DA798 000D76F8 80 84 08 50 */ lwz r4, 0x850(r4) /* 800DA79C 000D76FC 90 C1 00 08 */ stw r6, 8(r1) /* 800DA7A0 000D7700 80 84 00 20 */ lwz r4, 0x20(r4) /* 800DA7A4 000D7704 7C 84 00 2E */ lwzx r4, r4, r0 /* 800DA7A8 000D7708 38 84 00 0C */ addi r4, r4, 0xc /* 800DA7AC 000D770C 48 23 84 95 */ bl GetRotation__12CTransform4fCFv /* 800DA7B0 000D7710 7F E3 FB 78 */ mr r3, r31 /* 800DA7B4 000D7714 38 81 00 0C */ addi r4, r1, 0xc /* 800DA7B8 000D7718 38 A1 00 24 */ addi r5, r1, 0x24 /* 800DA7BC 000D771C 48 25 D1 41 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f /* 800DA7C0 000D7720 80 01 00 64 */ lwz r0, 0x64(r1) /* 800DA7C4 000D7724 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 800DA7C8 000D7728 7C 08 03 A6 */ mtlr r0 /* 800DA7CC 000D772C 38 21 00 60 */ addi r1, r1, 0x60 /* 800DA7D0 000D7730 4E 80 00 20 */ blr .global sub_800da7d4 sub_800da7d4: /* 800DA7D4 000D7734 94 21 FF D0 */ stwu r1, -0x30(r1) /* 800DA7D8 000D7738 7C 08 02 A6 */ mflr r0 /* 800DA7DC 000D773C 90 01 00 34 */ stw r0, 0x34(r1) /* 800DA7E0 000D7740 BF 41 00 18 */ stmw r26, 0x18(r1) /* 800DA7E4 000D7744 7C 9F 23 78 */ mr r31, r4 /* 800DA7E8 000D7748 7C 7E 1B 78 */ mr r30, r3 /* 800DA7EC 000D774C 80 03 00 08 */ lwz r0, 8(r3) /* 800DA7F0 000D7750 7C 1F 00 00 */ cmpw r31, r0 /* 800DA7F4 000D7754 40 81 00 E4 */ ble lbl_800DA8D8 /* 800DA7F8 000D7758 1C 7F 00 14 */ mulli r3, r31, 0x14 /* 800DA7FC 000D775C 2C 03 00 00 */ cmpwi r3, 0 /* 800DA800 000D7760 40 82 00 0C */ bne lbl_800DA80C /* 800DA804 000D7764 3B 80 00 00 */ li r28, 0 /* 800DA808 000D7768 48 00 00 1C */ b lbl_800DA824 lbl_800DA80C: /* 800DA80C 000D776C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800DA810 000D7770 38 A0 00 00 */ li r5, 0 /* 800DA814 000D7774 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800DA818 000D7778 38 84 00 0D */ addi r4, r4, 0xd /* 800DA81C 000D777C 48 23 AF FD */ bl __nwa__FUlPCcPCc /* 800DA820 000D7780 7C 7C 1B 78 */ mr r28, r3 lbl_800DA824: /* 800DA824 000D7784 80 1E 00 04 */ lwz r0, 4(r30) /* 800DA828 000D7788 7F 9B E3 78 */ mr r27, r28 /* 800DA82C 000D778C 83 5E 00 0C */ lwz r26, 0xc(r30) /* 800DA830 000D7790 1C 00 00 14 */ mulli r0, r0, 0x14 /* 800DA834 000D7794 93 41 00 10 */ stw r26, 0x10(r1) /* 800DA838 000D7798 7F BA 02 14 */ add r29, r26, r0 /* 800DA83C 000D779C 93 41 00 14 */ stw r26, 0x14(r1) /* 800DA840 000D77A0 93 A1 00 08 */ stw r29, 8(r1) /* 800DA844 000D77A4 93 A1 00 0C */ stw r29, 0xc(r1) /* 800DA848 000D77A8 48 00 00 38 */ b lbl_800DA880 lbl_800DA84C: /* 800DA84C 000D77AC 28 1B 00 00 */ cmplwi r27, 0 /* 800DA850 000D77B0 41 82 00 28 */ beq lbl_800DA878 /* 800DA854 000D77B4 7F 63 DB 78 */ mr r3, r27 /* 800DA858 000D77B8 7F 44 D3 78 */ mr r4, r26 /* 800DA85C 000D77BC 48 26 66 4D */ bl __ct__6CTokenFRC6CToken /* 800DA860 000D77C0 C0 1A 00 08 */ lfs f0, 8(r26) /* 800DA864 000D77C4 D0 1B 00 08 */ stfs f0, 8(r27) /* 800DA868 000D77C8 C0 1A 00 0C */ lfs f0, 0xc(r26) /* 800DA86C 000D77CC D0 1B 00 0C */ stfs f0, 0xc(r27) /* 800DA870 000D77D0 80 1A 00 10 */ lwz r0, 0x10(r26) /* 800DA874 000D77D4 90 1B 00 10 */ stw r0, 0x10(r27) lbl_800DA878: /* 800DA878 000D77D8 3B 7B 00 14 */ addi r27, r27, 0x14 /* 800DA87C 000D77DC 3B 5A 00 14 */ addi r26, r26, 0x14 lbl_800DA880: /* 800DA880 000D77E0 7C 1A E8 40 */ cmplw r26, r29 /* 800DA884 000D77E4 40 82 FF C8 */ bne lbl_800DA84C /* 800DA888 000D77E8 80 1E 00 04 */ lwz r0, 4(r30) /* 800DA88C 000D77EC 83 5E 00 0C */ lwz r26, 0xc(r30) /* 800DA890 000D77F0 1C 00 00 14 */ mulli r0, r0, 0x14 /* 800DA894 000D77F4 7F 7A 02 14 */ add r27, r26, r0 /* 800DA898 000D77F8 48 00 00 20 */ b lbl_800DA8B8 lbl_800DA89C: /* 800DA89C 000D77FC 28 1A 00 00 */ cmplwi r26, 0 /* 800DA8A0 000D7800 41 82 00 14 */ beq lbl_800DA8B4 /* 800DA8A4 000D7804 41 82 00 10 */ beq lbl_800DA8B4 /* 800DA8A8 000D7808 7F 43 D3 78 */ mr r3, r26 /* 800DA8AC 000D780C 38 80 00 00 */ li r4, 0 /* 800DA8B0 000D7810 48 26 65 91 */ bl __dt__6CTokenFv lbl_800DA8B4: /* 800DA8B4 000D7814 3B 5A 00 14 */ addi r26, r26, 0x14 lbl_800DA8B8: /* 800DA8B8 000D7818 7C 1A D8 40 */ cmplw r26, r27 /* 800DA8BC 000D781C 40 82 FF E0 */ bne lbl_800DA89C /* 800DA8C0 000D7820 80 7E 00 0C */ lwz r3, 0xc(r30) /* 800DA8C4 000D7824 28 03 00 00 */ cmplwi r3, 0 /* 800DA8C8 000D7828 41 82 00 08 */ beq lbl_800DA8D0 /* 800DA8CC 000D782C 48 23 B0 65 */ bl Free__7CMemoryFPCv lbl_800DA8D0: /* 800DA8D0 000D7830 93 9E 00 0C */ stw r28, 0xc(r30) /* 800DA8D4 000D7834 93 FE 00 08 */ stw r31, 8(r30) lbl_800DA8D8: /* 800DA8D8 000D7838 BB 41 00 18 */ lmw r26, 0x18(r1) /* 800DA8DC 000D783C 80 01 00 34 */ lwz r0, 0x34(r1) /* 800DA8E0 000D7840 7C 08 03 A6 */ mtlr r0 /* 800DA8E4 000D7844 38 21 00 30 */ addi r1, r1, 0x30 /* 800DA8E8 000D7848 4E 80 00 20 */ blr .global sub_800da8ec sub_800da8ec: /* 800DA8EC 000D784C 94 21 FF D0 */ stwu r1, -0x30(r1) /* 800DA8F0 000D7850 7C 08 02 A6 */ mflr r0 /* 800DA8F4 000D7854 90 01 00 34 */ stw r0, 0x34(r1) /* 800DA8F8 000D7858 BF 61 00 1C */ stmw r27, 0x1c(r1) /* 800DA8FC 000D785C 7C 9F 23 78 */ mr r31, r4 /* 800DA900 000D7860 7C 7E 1B 78 */ mr r30, r3 /* 800DA904 000D7864 80 03 00 08 */ lwz r0, 8(r3) /* 800DA908 000D7868 7C 1F 00 00 */ cmpw r31, r0 /* 800DA90C 000D786C 40 81 00 A8 */ ble lbl_800DA9B4 /* 800DA910 000D7870 1C 7F 00 4C */ mulli r3, r31, 0x4c /* 800DA914 000D7874 2C 03 00 00 */ cmpwi r3, 0 /* 800DA918 000D7878 40 82 00 0C */ bne lbl_800DA924 /* 800DA91C 000D787C 3B A0 00 00 */ li r29, 0 /* 800DA920 000D7880 48 00 00 1C */ b lbl_800DA93C lbl_800DA924: /* 800DA924 000D7884 3C 80 80 3D */ lis r4, lbl_803CE07C@ha /* 800DA928 000D7888 38 A0 00 00 */ li r5, 0 /* 800DA92C 000D788C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l /* 800DA930 000D7890 38 84 00 0D */ addi r4, r4, 0xd /* 800DA934 000D7894 48 23 AE E5 */ bl __nwa__FUlPCcPCc /* 800DA938 000D7898 7C 7D 1B 78 */ mr r29, r3 lbl_800DA93C: /* 800DA93C 000D789C 80 1E 00 04 */ lwz r0, 4(r30) /* 800DA940 000D78A0 7F A5 EB 78 */ mr r5, r29 /* 800DA944 000D78A4 80 DE 00 0C */ lwz r6, 0xc(r30) /* 800DA948 000D78A8 38 61 00 14 */ addi r3, r1, 0x14 /* 800DA94C 000D78AC 1C 00 00 4C */ mulli r0, r0, 0x4c /* 800DA950 000D78B0 38 81 00 0C */ addi r4, r1, 0xc /* 800DA954 000D78B4 7C C6 02 14 */ add r6, r6, r0 /* 800DA958 000D78B8 90 C1 00 0C */ stw r6, 0xc(r1) /* 800DA95C 000D78BC 80 1E 00 0C */ lwz r0, 0xc(r30) /* 800DA960 000D78C0 90 C1 00 08 */ stw r6, 8(r1) /* 800DA964 000D78C4 90 01 00 10 */ stw r0, 0x10(r1) /* 800DA968 000D78C8 90 01 00 14 */ stw r0, 0x14(r1) /* 800DA96C 000D78CC 48 00 00 5D */ bl sub_800da9c8 /* 800DA970 000D78D0 80 1E 00 04 */ lwz r0, 4(r30) /* 800DA974 000D78D4 83 7E 00 0C */ lwz r27, 0xc(r30) /* 800DA978 000D78D8 1C 00 00 4C */ mulli r0, r0, 0x4c /* 800DA97C 000D78DC 7F 9B 02 14 */ add r28, r27, r0 /* 800DA980 000D78E0 48 00 00 14 */ b lbl_800DA994 lbl_800DA984: /* 800DA984 000D78E4 7F 63 DB 78 */ mr r3, r27 /* 800DA988 000D78E8 38 80 FF FF */ li r4, -1 /* 800DA98C 000D78EC 48 03 C0 C1 */ bl __dt__10CModelDataFv /* 800DA990 000D78F0 3B 7B 00 4C */ addi r27, r27, 0x4c lbl_800DA994: /* 800DA994 000D78F4 7C 1B E0 40 */ cmplw r27, r28 /* 800DA998 000D78F8 40 82 FF EC */ bne lbl_800DA984 /* 800DA99C 000D78FC 80 7E 00 0C */ lwz r3, 0xc(r30) /* 800DA9A0 000D7900 28 03 00 00 */ cmplwi r3, 0 /* 800DA9A4 000D7904 41 82 00 08 */ beq lbl_800DA9AC /* 800DA9A8 000D7908 48 23 AF 89 */ bl Free__7CMemoryFPCv lbl_800DA9AC: /* 800DA9AC 000D790C 93 BE 00 0C */ stw r29, 0xc(r30) /* 800DA9B0 000D7910 93 FE 00 08 */ stw r31, 8(r30) lbl_800DA9B4: /* 800DA9B4 000D7914 BB 61 00 1C */ lmw r27, 0x1c(r1) /* 800DA9B8 000D7918 80 01 00 34 */ lwz r0, 0x34(r1) /* 800DA9BC 000D791C 7C 08 03 A6 */ mtlr r0 /* 800DA9C0 000D7920 38 21 00 30 */ addi r1, r1, 0x30 /* 800DA9C4 000D7924 4E 80 00 20 */ blr .global sub_800da9c8 sub_800da9c8: /* 800DA9C8 000D7928 94 21 FF E0 */ stwu r1, -0x20(r1) /* 800DA9CC 000D792C 7C 08 02 A6 */ mflr r0 /* 800DA9D0 000D7930 90 01 00 24 */ stw r0, 0x24(r1) /* 800DA9D4 000D7934 93 E1 00 1C */ stw r31, 0x1c(r1) /* 800DA9D8 000D7938 93 C1 00 18 */ stw r30, 0x18(r1) /* 800DA9DC 000D793C 7C BE 2B 78 */ mr r30, r5 /* 800DA9E0 000D7940 93 A1 00 14 */ stw r29, 0x14(r1) /* 800DA9E4 000D7944 7C 9D 23 78 */ mr r29, r4 /* 800DA9E8 000D7948 83 E3 00 00 */ lwz r31, 0(r3) /* 800DA9EC 000D794C 48 00 00 18 */ b lbl_800DAA04 lbl_800DA9F0: /* 800DA9F0 000D7950 7F C3 F3 78 */ mr r3, r30 /* 800DA9F4 000D7954 7F E4 FB 78 */ mr r4, r31 /* 800DA9F8 000D7958 4B FF 0B B9 */ bl sub_800cb5b0 /* 800DA9FC 000D795C 3B DE 00 4C */ addi r30, r30, 0x4c /* 800DAA00 000D7960 3B FF 00 4C */ addi r31, r31, 0x4c lbl_800DAA04: /* 800DAA04 000D7964 80 1D 00 00 */ lwz r0, 0(r29) /* 800DAA08 000D7968 7C 1F 00 40 */ cmplw r31, r0 /* 800DAA0C 000D796C 40 82 FF E4 */ bne lbl_800DA9F0 /* 800DAA10 000D7970 80 01 00 24 */ lwz r0, 0x24(r1) /* 800DAA14 000D7974 7F C3 F3 78 */ mr r3, r30 /* 800DAA18 000D7978 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 800DAA1C 000D797C 83 C1 00 18 */ lwz r30, 0x18(r1) /* 800DAA20 000D7980 83 A1 00 14 */ lwz r29, 0x14(r1) /* 800DAA24 000D7984 7C 08 03 A6 */ mtlr r0 /* 800DAA28 000D7988 38 21 00 20 */ addi r1, r1, 0x20 /* 800DAA2C 000D798C 4E 80 00 20 */ blr .section .rodata .balign 8 .global lbl_803CE070 lbl_803CE070: .4byte 0 .4byte 0x00000001 .4byte 0x00000002 .global lbl_803CE07C lbl_803CE07C: # ROM: 0x3CB07C .asciz "Atomic Alpha" .asciz "??(??)" .asciz "PhazonHealingNodule" .asciz "Omega Pirate" .asciz "Burrower" .asciz "Seedling" .asciz "Tryclops" .asciz "Puffer" .asciz "Ridley" .asciz "IceZoomer" .asciz "Atomic Beta" .asciz "" .asciz "Geemer" .asciz "Oculus" .asciz "Magdolite" .asciz "Elite Pirate" .asciz "Eyeball" .asciz "Babygoth" .asciz "Thardus Rock Projectile" .asciz "Flaahgra Tenticle" .asciz "Thardus" .asciz "JellyZap" .asciz "Drone" .asciz "Ice Sheegoth" .asciz "Metroid" .asciz "Ripper" .asciz "Parasite" .asciz "Flaahgra" .asciz "NewIntroBoss" .asciz "Metaree" .asciz "SpankWeed" .asciz "FireFlea" .asciz "Gamma Puddle Toad" .asciz "Puddle Spore" .asciz "Chozo Ghost" .asciz "FlickerBat" .asciz "Blood Flower" .asciz "FlyingPirate" .asciz "Space Pirate" .asciz "Space pirate <" .asciz "> has AnimationInformation property with invalid character selected.\n" .asciz "ERROR: Actor/Ai keyframe '" .asciz "' not loaded because it has no valid animation selected.\n" .asciz "Warwasp" .asciz "Beetle" .balign 4