prime/asm/MetroidPrime/ScriptObjects/CScriptGenerator.s

945 lines
47 KiB
ArmAsm

.include "macros.inc"
.section .data
.balign 8
.global lbl_803DF328
lbl_803DF328:
# ROM: 0x3DC328
.4byte 0
.4byte 0
.4byte __dt__16CScriptGenerator
.4byte Accept__16CScriptGeneratorFR8IVisitor
.4byte PreThink__7CEntityFfR13CStateManager
.4byte Think__7CEntityFfR13CStateManager
.4byte AcceptScriptMsg__16CScriptGeneratorF20EScriptObjectMessage9TUniqueIdR13CStateManager
.4byte SetActive__7CEntityFb
.section .sdata2, "a"
.balign 8
.global lbl_805AAA00
lbl_805AAA00:
# ROM: 0x3F72A0
.float 0.99
.4byte 0
.global lbl_805AAA08
lbl_805AAA08:
# ROM: 0x3F72A8
.double 4.503601774854144E15
.section .text, "ax"
.global Accept__16CScriptGeneratorFR8IVisitor
Accept__16CScriptGeneratorFR8IVisitor:
/* 800B4508 000B1468 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B450C 000B146C 7C 08 02 A6 */ mflr r0
/* 800B4510 000B1470 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B4514 000B1474 7C 60 1B 78 */ mr r0, r3
/* 800B4518 000B1478 7C 83 23 78 */ mr r3, r4
/* 800B451C 000B147C 81 84 00 00 */ lwz r12, 0(r4)
/* 800B4520 000B1480 7C 04 03 78 */ mr r4, r0
/* 800B4524 000B1484 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 800B4528 000B1488 7D 89 03 A6 */ mtctr r12
/* 800B452C 000B148C 4E 80 04 21 */ bctrl
/* 800B4530 000B1490 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B4534 000B1494 7C 08 03 A6 */ mtlr r0
/* 800B4538 000B1498 38 21 00 10 */ addi r1, r1, 0x10
/* 800B453C 000B149C 4E 80 00 20 */ blr
.global AcceptScriptMsg__16CScriptGeneratorF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__16CScriptGeneratorF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 800B4540 000B14A0 94 21 FE 20 */ stwu r1, -0x1e0(r1)
/* 800B4544 000B14A4 7C 08 02 A6 */ mflr r0
/* 800B4548 000B14A8 90 01 01 E4 */ stw r0, 0x1e4(r1)
/* 800B454C 000B14AC DB E1 01 D0 */ stfd f31, 0x1d0(r1)
/* 800B4550 000B14B0 F3 E1 01 D8 */ psq_st f31, 472(r1), 0, qr0
/* 800B4554 000B14B4 DB C1 01 C0 */ stfd f30, 0x1c0(r1)
/* 800B4558 000B14B8 F3 C1 01 C8 */ psq_st f30, 456(r1), 0, qr0
/* 800B455C 000B14BC BE 41 01 88 */ stmw r18, 0x188(r1)
/* 800B4560 000B14C0 7C 9D 23 78 */ mr r29, r4
/* 800B4564 000B14C4 7C 7C 1B 78 */ mr r28, r3
/* 800B4568 000B14C8 2C 1D 00 0D */ cmpwi r29, 0xd
/* 800B456C 000B14CC 7C BE 2B 78 */ mr r30, r5
/* 800B4570 000B14D0 7C DF 33 78 */ mr r31, r6
/* 800B4574 000B14D4 41 82 00 08 */ beq lbl_800B457C
/* 800B4578 000B14D8 48 00 09 04 */ b lbl_800B4E7C
lbl_800B457C:
/* 800B457C 000B14DC 88 1C 00 30 */ lbz r0, 0x30(r28)
/* 800B4580 000B14E0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800B4584 000B14E4 41 82 08 F8 */ beq lbl_800B4E7C
/* 800B4588 000B14E8 38 00 00 00 */ li r0, 0
/* 800B458C 000B14EC 38 80 00 01 */ li r4, 1
/* 800B4590 000B14F0 90 01 01 54 */ stw r0, 0x154(r1)
/* 800B4594 000B14F4 90 01 01 58 */ stw r0, 0x158(r1)
/* 800B4598 000B14F8 90 01 01 5C */ stw r0, 0x15c(r1)
/* 800B459C 000B14FC 80 1C 00 24 */ lwz r0, 0x24(r28)
/* 800B45A0 000B1500 2C 00 00 00 */ cmpwi r0, 0
/* 800B45A4 000B1504 41 82 00 08 */ beq lbl_800B45AC
/* 800B45A8 000B1508 7C 04 03 78 */ mr r4, r0
lbl_800B45AC:
/* 800B45AC 000B150C 38 61 01 50 */ addi r3, r1, 0x150
/* 800B45B0 000B1510 4B F5 7E 59 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi"
/* 800B45B4 000B1514 83 7C 00 2C */ lwz r27, 0x2c(r28)
/* 800B45B8 000B1518 48 00 00 C0 */ b lbl_800B4678
lbl_800B45BC:
/* 800B45BC 000B151C 80 1B 00 00 */ lwz r0, 0(r27)
/* 800B45C0 000B1520 2C 00 00 09 */ cmpwi r0, 9
/* 800B45C4 000B1524 40 82 00 B0 */ bne lbl_800B4674
/* 800B45C8 000B1528 80 1B 00 04 */ lwz r0, 4(r27)
/* 800B45CC 000B152C 2C 00 00 06 */ cmpwi r0, 6
/* 800B45D0 000B1530 40 82 00 A4 */ bne lbl_800B4674
/* 800B45D4 000B1534 80 1B 00 08 */ lwz r0, 8(r27)
/* 800B45D8 000B1538 7F E4 FB 78 */ mr r4, r31
/* 800B45DC 000B153C 38 61 00 40 */ addi r3, r1, 0x40
/* 800B45E0 000B1540 38 A1 00 AC */ addi r5, r1, 0xac
/* 800B45E4 000B1544 90 01 00 AC */ stw r0, 0xac(r1)
/* 800B45E8 000B1548 4B F9 39 35 */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 800B45EC 000B154C A0 61 00 40 */ lhz r3, 0x40(r1)
/* 800B45F0 000B1550 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 800B45F4 000B1554 B0 61 00 4C */ sth r3, 0x4c(r1)
/* 800B45F8 000B1558 7C 03 00 40 */ cmplw r3, r0
/* 800B45FC 000B155C 41 82 00 78 */ beq lbl_800B4674
/* 800B4600 000B1560 B0 61 00 3C */ sth r3, 0x3c(r1)
/* 800B4604 000B1564 7F E3 FB 78 */ mr r3, r31
/* 800B4608 000B1568 38 81 00 3C */ addi r4, r1, 0x3c
/* 800B460C 000B156C 4B F9 7F 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 800B4610 000B1570 28 03 00 00 */ cmplwi r3, 0
/* 800B4614 000B1574 41 82 00 60 */ beq lbl_800B4674
/* 800B4618 000B1578 88 03 00 30 */ lbz r0, 0x30(r3)
/* 800B461C 000B157C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800B4620 000B1580 41 82 00 54 */ beq lbl_800B4674
/* 800B4624 000B1584 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B4628 000B1588 80 A1 01 58 */ lwz r5, 0x158(r1)
/* 800B462C 000B158C 7C 00 28 00 */ cmpw r0, r5
/* 800B4630 000B1590 41 80 00 1C */ blt lbl_800B464C
/* 800B4634 000B1594 2C 05 00 00 */ cmpwi r5, 0
/* 800B4638 000B1598 38 61 01 50 */ addi r3, r1, 0x150
/* 800B463C 000B159C 38 80 00 04 */ li r4, 4
/* 800B4640 000B15A0 41 82 00 08 */ beq lbl_800B4648
/* 800B4644 000B15A4 54 A4 08 3C */ slwi r4, r5, 1
lbl_800B4648:
/* 800B4648 000B15A8 4B F5 7D C1 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi"
lbl_800B464C:
/* 800B464C 000B15AC 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B4650 000B15B0 80 61 01 5C */ lwz r3, 0x15c(r1)
/* 800B4654 000B15B4 54 00 08 3C */ slwi r0, r0, 1
/* 800B4658 000B15B8 7C 63 02 15 */ add. r3, r3, r0
/* 800B465C 000B15BC 41 82 00 0C */ beq lbl_800B4668
/* 800B4660 000B15C0 A0 01 00 4C */ lhz r0, 0x4c(r1)
/* 800B4664 000B15C4 B0 03 00 00 */ sth r0, 0(r3)
lbl_800B4668:
/* 800B4668 000B15C8 80 61 01 54 */ lwz r3, 0x154(r1)
/* 800B466C 000B15CC 38 03 00 01 */ addi r0, r3, 1
/* 800B4670 000B15D0 90 01 01 54 */ stw r0, 0x154(r1)
lbl_800B4674:
/* 800B4674 000B15D4 3B 7B 00 0C */ addi r27, r27, 0xc
lbl_800B4678:
/* 800B4678 000B15D8 80 1C 00 24 */ lwz r0, 0x24(r28)
/* 800B467C 000B15DC 80 7C 00 2C */ lwz r3, 0x2c(r28)
/* 800B4680 000B15E0 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800B4684 000B15E4 7C 03 02 14 */ add r0, r3, r0
/* 800B4688 000B15E8 7C 1B 00 40 */ cmplw r27, r0
/* 800B468C 000B15EC 40 82 FF 30 */ bne lbl_800B45BC
/* 800B4690 000B15F0 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B4694 000B15F4 2C 00 00 00 */ cmpwi r0, 0
/* 800B4698 000B15F8 40 82 00 50 */ bne lbl_800B46E8
/* 800B469C 000B15FC 80 A1 01 58 */ lwz r5, 0x158(r1)
/* 800B46A0 000B1600 7C 00 28 00 */ cmpw r0, r5
/* 800B46A4 000B1604 41 80 00 1C */ blt lbl_800B46C0
/* 800B46A8 000B1608 2C 05 00 00 */ cmpwi r5, 0
/* 800B46AC 000B160C 38 61 01 50 */ addi r3, r1, 0x150
/* 800B46B0 000B1610 38 80 00 04 */ li r4, 4
/* 800B46B4 000B1614 41 82 00 08 */ beq lbl_800B46BC
/* 800B46B8 000B1618 54 A4 08 3C */ slwi r4, r5, 1
lbl_800B46BC:
/* 800B46BC 000B161C 4B F5 7D 4D */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi"
lbl_800B46C0:
/* 800B46C0 000B1620 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B46C4 000B1624 80 61 01 5C */ lwz r3, 0x15c(r1)
/* 800B46C8 000B1628 54 00 08 3C */ slwi r0, r0, 1
/* 800B46CC 000B162C 7C 63 02 15 */ add. r3, r3, r0
/* 800B46D0 000B1630 41 82 00 0C */ beq lbl_800B46DC
/* 800B46D4 000B1634 A0 1E 00 00 */ lhz r0, 0(r30)
/* 800B46D8 000B1638 B0 03 00 00 */ sth r0, 0(r3)
lbl_800B46DC:
/* 800B46DC 000B163C 80 61 01 54 */ lwz r3, 0x154(r1)
/* 800B46E0 000B1640 38 03 00 01 */ addi r0, r3, 1
/* 800B46E4 000B1644 90 01 01 54 */ stw r0, 0x154(r1)
lbl_800B46E8:
/* 800B46E8 000B1648 38 00 00 00 */ li r0, 0
/* 800B46EC 000B164C 38 61 01 40 */ addi r3, r1, 0x140
/* 800B46F0 000B1650 90 01 01 44 */ stw r0, 0x144(r1)
/* 800B46F4 000B1654 90 01 01 48 */ stw r0, 0x148(r1)
/* 800B46F8 000B1658 90 01 01 4C */ stw r0, 0x14c(r1)
/* 800B46FC 000B165C 80 9C 00 24 */ lwz r4, 0x24(r28)
/* 800B4700 000B1660 48 00 09 D5 */ bl "reserve__Q24rstl71vector<Q24rstl27pair<9TUniqueId,9TEditorId>,Q24rstl17rmemory_allocator>Fi"
/* 800B4704 000B1664 83 7C 00 2C */ lwz r27, 0x2c(r28)
/* 800B4708 000B1668 48 00 00 E4 */ b lbl_800B47EC
lbl_800B470C:
/* 800B470C 000B166C 80 1B 00 00 */ lwz r0, 0(r27)
/* 800B4710 000B1670 2C 00 00 09 */ cmpwi r0, 9
/* 800B4714 000B1674 40 82 00 D4 */ bne lbl_800B47E8
/* 800B4718 000B1678 80 1B 00 08 */ lwz r0, 8(r27)
/* 800B471C 000B167C 7F E4 FB 78 */ mr r4, r31
/* 800B4720 000B1680 38 61 00 38 */ addi r3, r1, 0x38
/* 800B4724 000B1684 38 A1 00 A8 */ addi r5, r1, 0xa8
/* 800B4728 000B1688 90 01 00 A8 */ stw r0, 0xa8(r1)
/* 800B472C 000B168C 4B F9 37 F1 */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 800B4730 000B1690 A0 C1 00 38 */ lhz r6, 0x38(r1)
/* 800B4734 000B1694 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 800B4738 000B1698 B0 C1 00 48 */ sth r6, 0x48(r1)
/* 800B473C 000B169C 7C 06 00 40 */ cmplw r6, r0
/* 800B4740 000B16A0 41 82 00 A8 */ beq lbl_800B47E8
/* 800B4744 000B16A4 80 1B 00 04 */ lwz r0, 4(r27)
/* 800B4748 000B16A8 2C 00 00 01 */ cmpwi r0, 1
/* 800B474C 000B16AC 40 82 00 78 */ bne lbl_800B47C4
/* 800B4750 000B16B0 B0 C1 00 34 */ sth r6, 0x34(r1)
/* 800B4754 000B16B4 7F E3 FB 78 */ mr r3, r31
/* 800B4758 000B16B8 38 81 00 34 */ addi r4, r1, 0x34
/* 800B475C 000B16BC 4B F9 7E 49 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 800B4760 000B16C0 28 03 00 00 */ cmplwi r3, 0
/* 800B4764 000B16C4 41 82 00 84 */ beq lbl_800B47E8
/* 800B4768 000B16C8 80 01 01 44 */ lwz r0, 0x144(r1)
/* 800B476C 000B16CC 80 A1 01 48 */ lwz r5, 0x148(r1)
/* 800B4770 000B16D0 82 5B 00 08 */ lwz r18, 8(r27)
/* 800B4774 000B16D4 7C 00 28 00 */ cmpw r0, r5
/* 800B4778 000B16D8 41 80 00 1C */ blt lbl_800B4794
/* 800B477C 000B16DC 2C 05 00 00 */ cmpwi r5, 0
/* 800B4780 000B16E0 38 61 01 40 */ addi r3, r1, 0x140
/* 800B4784 000B16E4 38 80 00 04 */ li r4, 4
/* 800B4788 000B16E8 41 82 00 08 */ beq lbl_800B4790
/* 800B478C 000B16EC 54 A4 08 3C */ slwi r4, r5, 1
lbl_800B4790:
/* 800B4790 000B16F0 48 00 09 45 */ bl "reserve__Q24rstl71vector<Q24rstl27pair<9TUniqueId,9TEditorId>,Q24rstl17rmemory_allocator>Fi"
lbl_800B4794:
/* 800B4794 000B16F4 80 01 01 44 */ lwz r0, 0x144(r1)
/* 800B4798 000B16F8 80 61 01 4C */ lwz r3, 0x14c(r1)
/* 800B479C 000B16FC 54 00 18 38 */ slwi r0, r0, 3
/* 800B47A0 000B1700 7C 63 02 15 */ add. r3, r3, r0
/* 800B47A4 000B1704 41 82 00 10 */ beq lbl_800B47B4
/* 800B47A8 000B1708 A0 01 00 48 */ lhz r0, 0x48(r1)
/* 800B47AC 000B170C B0 03 00 00 */ sth r0, 0(r3)
/* 800B47B0 000B1710 92 43 00 04 */ stw r18, 4(r3)
lbl_800B47B4:
/* 800B47B4 000B1714 80 61 01 44 */ lwz r3, 0x144(r1)
/* 800B47B8 000B1718 38 03 00 01 */ addi r0, r3, 1
/* 800B47BC 000B171C 90 01 01 44 */ stw r0, 0x144(r1)
/* 800B47C0 000B1720 48 00 00 28 */ b lbl_800B47E8
lbl_800B47C4:
/* 800B47C4 000B1724 A0 1C 00 08 */ lhz r0, 8(r28)
/* 800B47C8 000B1728 7F E3 FB 78 */ mr r3, r31
/* 800B47CC 000B172C 38 81 00 30 */ addi r4, r1, 0x30
/* 800B47D0 000B1730 38 A1 00 2C */ addi r5, r1, 0x2c
/* 800B47D4 000B1734 B0 01 00 2C */ sth r0, 0x2c(r1)
/* 800B47D8 000B1738 B0 C1 00 30 */ sth r6, 0x30(r1)
/* 800B47DC 000B173C B0 01 00 28 */ sth r0, 0x28(r1)
/* 800B47E0 000B1740 80 DB 00 04 */ lwz r6, 4(r27)
/* 800B47E4 000B1744 4B F8 F6 71 */ bl SendScriptMsgAlways__13CStateManagerF9TUniqueId
lbl_800B47E8:
/* 800B47E8 000B1748 3B 7B 00 0C */ addi r27, r27, 0xc
lbl_800B47EC:
/* 800B47EC 000B174C 80 1C 00 24 */ lwz r0, 0x24(r28)
/* 800B47F0 000B1750 80 7C 00 2C */ lwz r3, 0x2c(r28)
/* 800B47F4 000B1754 1C 00 00 0C */ mulli r0, r0, 0xc
/* 800B47F8 000B1758 7C 03 02 14 */ add r0, r3, r0
/* 800B47FC 000B175C 7C 1B 00 40 */ cmplw r27, r0
/* 800B4800 000B1760 40 82 FF 0C */ bne lbl_800B470C
/* 800B4804 000B1764 80 01 01 44 */ lwz r0, 0x144(r1)
/* 800B4808 000B1768 2C 00 00 00 */ cmpwi r0, 0
/* 800B480C 000B176C 40 82 00 84 */ bne lbl_800B4890
/* 800B4810 000B1770 80 61 01 4C */ lwz r3, 0x14c(r1)
/* 800B4814 000B1774 54 00 18 38 */ slwi r0, r0, 3
/* 800B4818 000B1778 7C 03 02 14 */ add r0, r3, r0
/* 800B481C 000B177C 90 61 00 84 */ stw r3, 0x84(r1)
/* 800B4820 000B1780 7C 64 1B 78 */ mr r4, r3
/* 800B4824 000B1784 90 01 00 8C */ stw r0, 0x8c(r1)
/* 800B4828 000B1788 90 01 00 88 */ stw r0, 0x88(r1)
/* 800B482C 000B178C 90 61 00 80 */ stw r3, 0x80(r1)
/* 800B4830 000B1790 48 00 00 08 */ b lbl_800B4838
lbl_800B4834:
/* 800B4834 000B1794 38 84 00 08 */ addi r4, r4, 8
lbl_800B4838:
/* 800B4838 000B1798 7C 04 00 40 */ cmplw r4, r0
/* 800B483C 000B179C 40 82 FF F8 */ bne lbl_800B4834
/* 800B4840 000B17A0 28 03 00 00 */ cmplwi r3, 0
/* 800B4844 000B17A4 41 82 00 08 */ beq lbl_800B484C
/* 800B4848 000B17A8 48 26 10 E9 */ bl Free__7CMemoryFPCv
lbl_800B484C:
/* 800B484C 000B17AC 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B4850 000B17B0 80 61 01 5C */ lwz r3, 0x15c(r1)
/* 800B4854 000B17B4 54 00 08 3C */ slwi r0, r0, 1
/* 800B4858 000B17B8 7C 03 02 14 */ add r0, r3, r0
/* 800B485C 000B17BC 90 61 00 74 */ stw r3, 0x74(r1)
/* 800B4860 000B17C0 7C 64 1B 78 */ mr r4, r3
/* 800B4864 000B17C4 90 01 00 7C */ stw r0, 0x7c(r1)
/* 800B4868 000B17C8 90 01 00 78 */ stw r0, 0x78(r1)
/* 800B486C 000B17CC 90 61 00 70 */ stw r3, 0x70(r1)
/* 800B4870 000B17D0 48 00 00 08 */ b lbl_800B4878
lbl_800B4874:
/* 800B4874 000B17D4 38 84 00 02 */ addi r4, r4, 2
lbl_800B4878:
/* 800B4878 000B17D8 7C 04 00 40 */ cmplw r4, r0
/* 800B487C 000B17DC 40 82 FF F8 */ bne lbl_800B4874
/* 800B4880 000B17E0 28 03 00 00 */ cmplwi r3, 0
/* 800B4884 000B17E4 41 82 05 F8 */ beq lbl_800B4E7C
/* 800B4888 000B17E8 48 26 10 A9 */ bl Free__7CMemoryFPCv
/* 800B488C 000B17EC 48 00 05 F0 */ b lbl_800B4E7C
lbl_800B4890:
/* 800B4890 000B17F0 CB C2 8C E8 */ lfd f30, lbl_805AAA08@sda21(r2)
/* 800B4894 000B17F4 3B 21 00 F4 */ addi r25, r1, 0xf4
/* 800B4898 000B17F8 C3 E2 8C E0 */ lfs f31, lbl_805AAA00@sda21(r2)
/* 800B489C 000B17FC 3A E0 00 00 */ li r23, 0
/* 800B48A0 000B1800 3F 60 43 30 */ lis r27, 0x4330
/* 800B48A4 000B1804 48 00 05 4C */ b lbl_800B4DF0
lbl_800B48A8:
/* 800B48A8 000B1808 82 41 01 44 */ lwz r18, 0x144(r1)
/* 800B48AC 000B180C 2C 12 00 00 */ cmpwi r18, 0
/* 800B48B0 000B1810 41 82 05 4C */ beq lbl_800B4DFC
/* 800B48B4 000B1814 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B48B8 000B1818 2C 00 00 00 */ cmpwi r0, 0
/* 800B48BC 000B181C 41 82 05 40 */ beq lbl_800B4DFC
/* 800B48C0 000B1820 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 800B48C4 000B1824 48 25 DC 19 */ bl Float__9CRandom16Fv
/* 800B48C8 000B1828 6E 40 80 00 */ xoris r0, r18, 0x8000
/* 800B48CC 000B182C 93 61 01 60 */ stw r27, 0x160(r1)
/* 800B48D0 000B1830 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 800B48D4 000B1834 90 01 01 64 */ stw r0, 0x164(r1)
/* 800B48D8 000B1838 C8 01 01 60 */ lfd f0, 0x160(r1)
/* 800B48DC 000B183C EC 00 F0 28 */ fsubs f0, f0, f30
/* 800B48E0 000B1840 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B48E4 000B1844 EC 1F 00 32 */ fmuls f0, f31, f0
/* 800B48E8 000B1848 FC 00 00 1E */ fctiwz f0, f0
/* 800B48EC 000B184C D8 01 01 68 */ stfd f0, 0x168(r1)
/* 800B48F0 000B1850 83 01 01 6C */ lwz r24, 0x16c(r1)
/* 800B48F4 000B1854 48 25 DB E9 */ bl Float__9CRandom16Fv
/* 800B48F8 000B1858 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B48FC 000B185C 3A A0 00 00 */ li r21, 0
/* 800B4900 000B1860 93 61 01 70 */ stw r27, 0x170(r1)
/* 800B4904 000B1864 3B 40 00 00 */ li r26, 0
/* 800B4908 000B1868 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 800B490C 000B186C 90 01 01 74 */ stw r0, 0x174(r1)
/* 800B4910 000B1870 C8 01 01 70 */ lfd f0, 0x170(r1)
/* 800B4914 000B1874 EC 00 F0 28 */ fsubs f0, f0, f30
/* 800B4918 000B1878 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B491C 000B187C EC 1F 00 32 */ fmuls f0, f31, f0
/* 800B4920 000B1880 FC 00 00 1E */ fctiwz f0, f0
/* 800B4924 000B1884 D8 01 01 78 */ stfd f0, 0x178(r1)
/* 800B4928 000B1888 82 C1 01 7C */ lwz r22, 0x17c(r1)
/* 800B492C 000B188C 48 00 00 44 */ b lbl_800B4970
lbl_800B4930:
/* 800B4930 000B1890 80 A1 01 4C */ lwz r5, 0x14c(r1)
/* 800B4934 000B1894 7F E3 FB 78 */ mr r3, r31
/* 800B4938 000B1898 38 81 00 24 */ addi r4, r1, 0x24
/* 800B493C 000B189C 7C 05 D2 2E */ lhzx r0, r5, r26
/* 800B4940 000B18A0 B0 01 00 24 */ sth r0, 0x24(r1)
/* 800B4944 000B18A4 4B F9 7C 61 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 800B4948 000B18A8 7C 64 1B 78 */ mr r4, r3
/* 800B494C 000B18AC 38 61 00 B0 */ addi r3, r1, 0xb0
/* 800B4950 000B18B0 4B FF 3B 89 */ bl "__ct__26TCastToPtr<12CScriptSound>FP7CEntity"
/* 800B4954 000B18B4 80 03 00 04 */ lwz r0, 4(r3)
/* 800B4958 000B18B8 28 00 00 00 */ cmplwi r0, 0
/* 800B495C 000B18BC 41 82 00 0C */ beq lbl_800B4968
/* 800B4960 000B18C0 7E B8 AB 78 */ mr r24, r21
/* 800B4964 000B18C4 48 00 00 18 */ b lbl_800B497C
lbl_800B4968:
/* 800B4968 000B18C8 3B 5A 00 08 */ addi r26, r26, 8
/* 800B496C 000B18CC 3A B5 00 01 */ addi r21, r21, 1
lbl_800B4970:
/* 800B4970 000B18D0 80 01 01 44 */ lwz r0, 0x144(r1)
/* 800B4974 000B18D4 7C 15 00 00 */ cmpw r21, r0
/* 800B4978 000B18D8 41 80 FF B8 */ blt lbl_800B4930
lbl_800B497C:
/* 800B497C 000B18DC 80 01 01 4C */ lwz r0, 0x14c(r1)
/* 800B4980 000B18E0 57 1A 18 38 */ slwi r26, r24, 3
/* 800B4984 000B18E4 7F E3 FB 78 */ mr r3, r31
/* 800B4988 000B18E8 38 81 00 20 */ addi r4, r1, 0x20
/* 800B498C 000B18EC 7C C0 D2 14 */ add r6, r0, r26
/* 800B4990 000B18F0 A0 A6 00 00 */ lhz r5, 0(r6)
/* 800B4994 000B18F4 B0 A1 00 F0 */ sth r5, 0xf0(r1)
/* 800B4998 000B18F8 80 06 00 04 */ lwz r0, 4(r6)
/* 800B499C 000B18FC 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 800B49A0 000B1900 B0 A1 00 20 */ sth r5, 0x20(r1)
/* 800B49A4 000B1904 4B F9 7B D1 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 800B49A8 000B1908 80 81 01 5C */ lwz r4, 0x15c(r1)
/* 800B49AC 000B190C 56 D8 08 3C */ slwi r24, r22, 1
/* 800B49B0 000B1910 7C 72 1B 78 */ mr r18, r3
/* 800B49B4 000B1914 7F E3 FB 78 */ mr r3, r31
/* 800B49B8 000B1918 7C 04 C2 2E */ lhzx r0, r4, r24
/* 800B49BC 000B191C 38 81 00 1C */ addi r4, r1, 0x1c
/* 800B49C0 000B1920 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 800B49C4 000B1924 4B F9 7B B1 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 800B49C8 000B1928 28 12 00 00 */ cmplwi r18, 0
/* 800B49CC 000B192C 7C 75 1B 78 */ mr r21, r3
/* 800B49D0 000B1930 41 82 04 2C */ beq lbl_800B4DFC
/* 800B49D4 000B1934 28 15 00 00 */ cmplwi r21, 0
/* 800B49D8 000B1938 41 82 04 24 */ beq lbl_800B4DFC
/* 800B49DC 000B193C 88 DF 0F 94 */ lbz r6, 0xf94(r31)
/* 800B49E0 000B1940 38 60 00 01 */ li r3, 1
/* 800B49E4 000B1944 88 1F 0F 94 */ lbz r0, 0xf94(r31)
/* 800B49E8 000B1948 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 800B49EC 000B194C 7F E4 FB 78 */ mr r4, r31
/* 800B49F0 000B1950 7F 25 CB 78 */ mr r5, r25
/* 800B49F4 000B1954 98 1F 0F 94 */ stb r0, 0xf94(r31)
/* 800B49F8 000B1958 54 D2 DF FE */ rlwinm r18, r6, 0x1b, 0x1f, 0x1f
/* 800B49FC 000B195C 38 61 00 E8 */ addi r3, r1, 0xe8
/* 800B4A00 000B1960 4B F9 38 E9 */ bl GenerateObject__13CStateManagerF9TEditorId
/* 800B4A04 000B1964 A0 81 00 EC */ lhz r4, 0xec(r1)
/* 800B4A08 000B1968 88 1F 0F 94 */ lbz r0, 0xf94(r31)
/* 800B4A0C 000B196C 52 40 2E B4 */ rlwimi r0, r18, 5, 0x1a, 0x1a
/* 800B4A10 000B1970 54 83 04 3E */ clrlwi r3, r4, 0x10
/* 800B4A14 000B1974 B0 81 00 44 */ sth r4, 0x44(r1)
/* 800B4A18 000B1978 98 1F 0F 94 */ stb r0, 0xf94(r31)
/* 800B4A1C 000B197C A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 800B4A20 000B1980 7C 03 00 40 */ cmplw r3, r0
/* 800B4A24 000B1984 41 82 03 7C */ beq lbl_800B4DA0
/* 800B4A28 000B1988 B0 81 00 18 */ sth r4, 0x18(r1)
/* 800B4A2C 000B198C 7F E3 FB 78 */ mr r3, r31
/* 800B4A30 000B1990 38 81 00 18 */ addi r4, r1, 0x18
/* 800B4A34 000B1994 4B F9 7B 41 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 800B4A38 000B1998 7C 60 1B 78 */ mr r0, r3
/* 800B4A3C 000B199C 38 61 00 E0 */ addi r3, r1, 0xe0
/* 800B4A40 000B19A0 7C 16 03 78 */ mr r22, r0
/* 800B4A44 000B19A4 7E C4 B3 78 */ mr r4, r22
/* 800B4A48 000B19A8 4B FF B2 49 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 800B4A4C 000B19AC 82 83 00 04 */ lwz r20, 4(r3)
/* 800B4A50 000B19B0 7E A4 AB 78 */ mr r4, r21
/* 800B4A54 000B19B4 38 61 00 D8 */ addi r3, r1, 0xd8
/* 800B4A58 000B19B8 4B FF B2 39 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 800B4A5C 000B19BC 82 63 00 04 */ lwz r19, 4(r3)
/* 800B4A60 000B19C0 7E A4 AB 78 */ mr r4, r21
/* 800B4A64 000B19C4 38 61 00 D0 */ addi r3, r1, 0xd0
/* 800B4A68 000B19C8 4B FF 11 A9 */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity"
/* 800B4A6C 000B19CC 28 14 00 00 */ cmplwi r20, 0
/* 800B4A70 000B19D0 82 43 00 04 */ lwz r18, 4(r3)
/* 800B4A74 000B19D4 41 82 00 98 */ beq lbl_800B4B0C
/* 800B4A78 000B19D8 28 12 00 00 */ cmplwi r18, 0
/* 800B4A7C 000B19DC 41 82 00 90 */ beq lbl_800B4B0C
/* 800B4A80 000B19E0 88 1C 00 38 */ lbz r0, 0x38(r28)
/* 800B4A84 000B19E4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 800B4A88 000B19E8 40 82 00 38 */ bne lbl_800B4AC0
/* 800B4A8C 000B19EC 38 74 00 34 */ addi r3, r20, 0x34
/* 800B4A90 000B19F0 38 92 00 34 */ addi r4, r18, 0x34
/* 800B4A94 000B19F4 48 25 E0 AD */ bl __as__12CTransform4fFRC12CTransform4f
/* 800B4A98 000B19F8 88 14 00 E4 */ lbz r0, 0xe4(r20)
/* 800B4A9C 000B19FC 38 60 00 01 */ li r3, 1
/* 800B4AA0 000B1A00 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 800B4AA4 000B1A04 98 14 00 E4 */ stb r0, 0xe4(r20)
/* 800B4AA8 000B1A08 88 14 00 E4 */ lbz r0, 0xe4(r20)
/* 800B4AAC 000B1A0C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 800B4AB0 000B1A10 98 14 00 E4 */ stb r0, 0xe4(r20)
/* 800B4AB4 000B1A14 88 14 00 E4 */ lbz r0, 0xe4(r20)
/* 800B4AB8 000B1A18 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 800B4ABC 000B1A1C 98 14 00 E4 */ stb r0, 0xe4(r20)
lbl_800B4AC0:
/* 800B4AC0 000B1A20 C0 B2 01 30 */ lfs f5, 0x130(r18)
/* 800B4AC4 000B1A24 7E 83 A3 78 */ mr r3, r20
/* 800B4AC8 000B1A28 C0 92 01 34 */ lfs f4, 0x134(r18)
/* 800B4ACC 000B1A2C 38 81 01 34 */ addi r4, r1, 0x134
/* 800B4AD0 000B1A30 C0 72 01 38 */ lfs f3, 0x138(r18)
/* 800B4AD4 000B1A34 C0 5C 00 40 */ lfs f2, 0x40(r28)
/* 800B4AD8 000B1A38 C0 3C 00 44 */ lfs f1, 0x44(r28)
/* 800B4ADC 000B1A3C C0 1C 00 3C */ lfs f0, 0x3c(r28)
/* 800B4AE0 000B1A40 EC 44 10 2A */ fadds f2, f4, f2
/* 800B4AE4 000B1A44 EC 23 08 2A */ fadds f1, f3, f1
/* 800B4AE8 000B1A48 D0 A1 01 28 */ stfs f5, 0x128(r1)
/* 800B4AEC 000B1A4C EC 05 00 2A */ fadds f0, f5, f0
/* 800B4AF0 000B1A50 D0 81 01 2C */ stfs f4, 0x12c(r1)
/* 800B4AF4 000B1A54 D0 61 01 30 */ stfs f3, 0x130(r1)
/* 800B4AF8 000B1A58 D0 01 01 34 */ stfs f0, 0x134(r1)
/* 800B4AFC 000B1A5C D0 41 01 38 */ stfs f2, 0x138(r1)
/* 800B4B00 000B1A60 D0 21 01 3C */ stfs f1, 0x13c(r1)
/* 800B4B04 000B1A64 4B F9 E3 89 */ bl SetTranslation__6CActorFRC9CVector3f
/* 800B4B08 000B1A68 48 00 00 90 */ b lbl_800B4B98
lbl_800B4B0C:
/* 800B4B0C 000B1A6C 28 14 00 00 */ cmplwi r20, 0
/* 800B4B10 000B1A70 41 82 00 88 */ beq lbl_800B4B98
/* 800B4B14 000B1A74 28 13 00 00 */ cmplwi r19, 0
/* 800B4B18 000B1A78 41 82 00 80 */ beq lbl_800B4B98
/* 800B4B1C 000B1A7C 88 1C 00 38 */ lbz r0, 0x38(r28)
/* 800B4B20 000B1A80 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 800B4B24 000B1A84 40 82 00 38 */ bne lbl_800B4B5C
/* 800B4B28 000B1A88 38 74 00 34 */ addi r3, r20, 0x34
/* 800B4B2C 000B1A8C 38 93 00 34 */ addi r4, r19, 0x34
/* 800B4B30 000B1A90 48 25 E0 11 */ bl __as__12CTransform4fFRC12CTransform4f
/* 800B4B34 000B1A94 88 14 00 E4 */ lbz r0, 0xe4(r20)
/* 800B4B38 000B1A98 38 60 00 01 */ li r3, 1
/* 800B4B3C 000B1A9C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 800B4B40 000B1AA0 98 14 00 E4 */ stb r0, 0xe4(r20)
/* 800B4B44 000B1AA4 88 14 00 E4 */ lbz r0, 0xe4(r20)
/* 800B4B48 000B1AA8 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 800B4B4C 000B1AAC 98 14 00 E4 */ stb r0, 0xe4(r20)
/* 800B4B50 000B1AB0 88 14 00 E4 */ lbz r0, 0xe4(r20)
/* 800B4B54 000B1AB4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 800B4B58 000B1AB8 98 14 00 E4 */ stb r0, 0xe4(r20)
lbl_800B4B5C:
/* 800B4B5C 000B1ABC C0 33 00 50 */ lfs f1, 0x50(r19)
/* 800B4B60 000B1AC0 7E 83 A3 78 */ mr r3, r20
/* 800B4B64 000B1AC4 C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 800B4B68 000B1AC8 38 81 01 1C */ addi r4, r1, 0x11c
/* 800B4B6C 000B1ACC C0 73 00 60 */ lfs f3, 0x60(r19)
/* 800B4B70 000B1AD0 C0 5C 00 44 */ lfs f2, 0x44(r28)
/* 800B4B74 000B1AD4 EC 81 00 2A */ fadds f4, f1, f0
/* 800B4B78 000B1AD8 C0 33 00 40 */ lfs f1, 0x40(r19)
/* 800B4B7C 000B1ADC C0 1C 00 3C */ lfs f0, 0x3c(r28)
/* 800B4B80 000B1AE0 EC 43 10 2A */ fadds f2, f3, f2
/* 800B4B84 000B1AE4 EC 01 00 2A */ fadds f0, f1, f0
/* 800B4B88 000B1AE8 D0 81 01 20 */ stfs f4, 0x120(r1)
/* 800B4B8C 000B1AEC D0 41 01 24 */ stfs f2, 0x124(r1)
/* 800B4B90 000B1AF0 D0 01 01 1C */ stfs f0, 0x11c(r1)
/* 800B4B94 000B1AF4 4B F9 E2 F9 */ bl SetTranslation__6CActorFRC9CVector3f
lbl_800B4B98:
/* 800B4B98 000B1AF8 28 16 00 00 */ cmplwi r22, 0
/* 800B4B9C 000B1AFC 41 82 02 04 */ beq lbl_800B4DA0
/* 800B4BA0 000B1B00 A0 01 00 44 */ lhz r0, 0x44(r1)
/* 800B4BA4 000B1B04 7F E3 FB 78 */ mr r3, r31
/* 800B4BA8 000B1B08 38 81 00 14 */ addi r4, r1, 0x14
/* 800B4BAC 000B1B0C B0 01 00 14 */ sth r0, 0x14(r1)
/* 800B4BB0 000B1B10 4B F9 79 C5 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 800B4BB4 000B1B14 7C 60 1B 78 */ mr r0, r3
/* 800B4BB8 000B1B18 38 61 00 C8 */ addi r3, r1, 0xc8
/* 800B4BBC 000B1B1C 7C 12 03 78 */ mr r18, r0
/* 800B4BC0 000B1B20 7E 44 93 78 */ mr r4, r18
/* 800B4BC4 000B1B24 4B FF B0 CD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 800B4BC8 000B1B28 82 63 00 04 */ lwz r19, 4(r3)
/* 800B4BCC 000B1B2C 7E A4 AB 78 */ mr r4, r21
/* 800B4BD0 000B1B30 38 61 00 C0 */ addi r3, r1, 0xc0
/* 800B4BD4 000B1B34 4B FF B0 BD */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity"
/* 800B4BD8 000B1B38 82 83 00 04 */ lwz r20, 4(r3)
/* 800B4BDC 000B1B3C 7E A4 AB 78 */ mr r4, r21
/* 800B4BE0 000B1B40 38 61 00 B8 */ addi r3, r1, 0xb8
/* 800B4BE4 000B1B44 4B FF 10 2D */ bl "__ct__31TCastToPtr<17CWallCrawlerSwarm>FP7CEntity"
/* 800B4BE8 000B1B48 28 13 00 00 */ cmplwi r19, 0
/* 800B4BEC 000B1B4C 82 A3 00 04 */ lwz r21, 4(r3)
/* 800B4BF0 000B1B50 41 82 01 90 */ beq lbl_800B4D80
/* 800B4BF4 000B1B54 41 82 00 98 */ beq lbl_800B4C8C
/* 800B4BF8 000B1B58 28 15 00 00 */ cmplwi r21, 0
/* 800B4BFC 000B1B5C 41 82 00 90 */ beq lbl_800B4C8C
/* 800B4C00 000B1B60 88 1C 00 38 */ lbz r0, 0x38(r28)
/* 800B4C04 000B1B64 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 800B4C08 000B1B68 40 82 00 38 */ bne lbl_800B4C40
/* 800B4C0C 000B1B6C 38 73 00 34 */ addi r3, r19, 0x34
/* 800B4C10 000B1B70 38 95 00 34 */ addi r4, r21, 0x34
/* 800B4C14 000B1B74 48 25 DF 2D */ bl __as__12CTransform4fFRC12CTransform4f
/* 800B4C18 000B1B78 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 800B4C1C 000B1B7C 38 60 00 01 */ li r3, 1
/* 800B4C20 000B1B80 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 800B4C24 000B1B84 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 800B4C28 000B1B88 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 800B4C2C 000B1B8C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 800B4C30 000B1B90 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 800B4C34 000B1B94 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 800B4C38 000B1B98 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 800B4C3C 000B1B9C 98 13 00 E4 */ stb r0, 0xe4(r19)
lbl_800B4C40:
/* 800B4C40 000B1BA0 C0 B5 01 30 */ lfs f5, 0x130(r21)
/* 800B4C44 000B1BA4 7E 63 9B 78 */ mr r3, r19
/* 800B4C48 000B1BA8 C0 95 01 34 */ lfs f4, 0x134(r21)
/* 800B4C4C 000B1BAC 38 81 01 10 */ addi r4, r1, 0x110
/* 800B4C50 000B1BB0 C0 75 01 38 */ lfs f3, 0x138(r21)
/* 800B4C54 000B1BB4 C0 5C 00 40 */ lfs f2, 0x40(r28)
/* 800B4C58 000B1BB8 C0 3C 00 44 */ lfs f1, 0x44(r28)
/* 800B4C5C 000B1BBC C0 1C 00 3C */ lfs f0, 0x3c(r28)
/* 800B4C60 000B1BC0 EC 44 10 2A */ fadds f2, f4, f2
/* 800B4C64 000B1BC4 EC 23 08 2A */ fadds f1, f3, f1
/* 800B4C68 000B1BC8 D0 A1 01 04 */ stfs f5, 0x104(r1)
/* 800B4C6C 000B1BCC EC 05 00 2A */ fadds f0, f5, f0
/* 800B4C70 000B1BD0 D0 81 01 08 */ stfs f4, 0x108(r1)
/* 800B4C74 000B1BD4 D0 61 01 0C */ stfs f3, 0x10c(r1)
/* 800B4C78 000B1BD8 D0 01 01 10 */ stfs f0, 0x110(r1)
/* 800B4C7C 000B1BDC D0 41 01 14 */ stfs f2, 0x114(r1)
/* 800B4C80 000B1BE0 D0 21 01 18 */ stfs f1, 0x118(r1)
/* 800B4C84 000B1BE4 4B F9 E2 09 */ bl SetTranslation__6CActorFRC9CVector3f
/* 800B4C88 000B1BE8 48 00 00 90 */ b lbl_800B4D18
lbl_800B4C8C:
/* 800B4C8C 000B1BEC 28 13 00 00 */ cmplwi r19, 0
/* 800B4C90 000B1BF0 41 82 00 88 */ beq lbl_800B4D18
/* 800B4C94 000B1BF4 28 14 00 00 */ cmplwi r20, 0
/* 800B4C98 000B1BF8 41 82 00 80 */ beq lbl_800B4D18
/* 800B4C9C 000B1BFC 88 1C 00 38 */ lbz r0, 0x38(r28)
/* 800B4CA0 000B1C00 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 800B4CA4 000B1C04 40 82 00 38 */ bne lbl_800B4CDC
/* 800B4CA8 000B1C08 38 73 00 34 */ addi r3, r19, 0x34
/* 800B4CAC 000B1C0C 38 94 00 34 */ addi r4, r20, 0x34
/* 800B4CB0 000B1C10 48 25 DE 91 */ bl __as__12CTransform4fFRC12CTransform4f
/* 800B4CB4 000B1C14 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 800B4CB8 000B1C18 38 60 00 01 */ li r3, 1
/* 800B4CBC 000B1C1C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b
/* 800B4CC0 000B1C20 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 800B4CC4 000B1C24 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 800B4CC8 000B1C28 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 800B4CCC 000B1C2C 98 13 00 E4 */ stb r0, 0xe4(r19)
/* 800B4CD0 000B1C30 88 13 00 E4 */ lbz r0, 0xe4(r19)
/* 800B4CD4 000B1C34 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 800B4CD8 000B1C38 98 13 00 E4 */ stb r0, 0xe4(r19)
lbl_800B4CDC:
/* 800B4CDC 000B1C3C C0 34 00 50 */ lfs f1, 0x50(r20)
/* 800B4CE0 000B1C40 7E 63 9B 78 */ mr r3, r19
/* 800B4CE4 000B1C44 C0 1C 00 40 */ lfs f0, 0x40(r28)
/* 800B4CE8 000B1C48 38 81 00 F8 */ addi r4, r1, 0xf8
/* 800B4CEC 000B1C4C C0 74 00 60 */ lfs f3, 0x60(r20)
/* 800B4CF0 000B1C50 C0 5C 00 44 */ lfs f2, 0x44(r28)
/* 800B4CF4 000B1C54 EC 81 00 2A */ fadds f4, f1, f0
/* 800B4CF8 000B1C58 C0 34 00 40 */ lfs f1, 0x40(r20)
/* 800B4CFC 000B1C5C C0 1C 00 3C */ lfs f0, 0x3c(r28)
/* 800B4D00 000B1C60 EC 43 10 2A */ fadds f2, f3, f2
/* 800B4D04 000B1C64 EC 01 00 2A */ fadds f0, f1, f0
/* 800B4D08 000B1C68 D0 81 00 FC */ stfs f4, 0xfc(r1)
/* 800B4D0C 000B1C6C D0 41 01 00 */ stfs f2, 0x100(r1)
/* 800B4D10 000B1C70 D0 01 00 F8 */ stfs f0, 0xf8(r1)
/* 800B4D14 000B1C74 4B F9 E1 79 */ bl SetTranslation__6CActorFRC9CVector3f
lbl_800B4D18:
/* 800B4D18 000B1C78 80 7F 09 00 */ lwz r3, 0x900(r31)
/* 800B4D1C 000B1C7C C0 3C 00 48 */ lfs f1, 0x48(r28)
/* 800B4D20 000B1C80 C0 5C 00 4C */ lfs f2, 0x4c(r28)
/* 800B4D24 000B1C84 48 25 D8 21 */ bl Range__9CRandom16Fff
/* 800B4D28 000B1C88 80 93 00 64 */ lwz r4, 0x64(r19)
/* 800B4D2C 000B1C8C 38 60 00 00 */ li r3, 0
/* 800B4D30 000B1C90 28 04 00 00 */ cmplwi r4, 0
/* 800B4D34 000B1C94 41 82 00 20 */ beq lbl_800B4D54
/* 800B4D38 000B1C98 80 04 00 10 */ lwz r0, 0x10(r4)
/* 800B4D3C 000B1C9C 28 00 00 00 */ cmplwi r0, 0
/* 800B4D40 000B1CA0 40 82 00 10 */ bne lbl_800B4D50
/* 800B4D44 000B1CA4 88 04 00 28 */ lbz r0, 0x28(r4)
/* 800B4D48 000B1CA8 28 00 00 00 */ cmplwi r0, 0
/* 800B4D4C 000B1CAC 41 82 00 08 */ beq lbl_800B4D54
lbl_800B4D50:
/* 800B4D50 000B1CB0 38 60 00 01 */ li r3, 1
lbl_800B4D54:
/* 800B4D54 000B1CB4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800B4D58 000B1CB8 41 82 00 28 */ beq lbl_800B4D80
/* 800B4D5C 000B1CBC C0 04 00 00 */ lfs f0, 0(r4)
/* 800B4D60 000B1CC0 C0 64 00 04 */ lfs f3, 4(r4)
/* 800B4D64 000B1CC4 EC 01 00 32 */ fmuls f0, f1, f0
/* 800B4D68 000B1CC8 C0 44 00 08 */ lfs f2, 8(r4)
/* 800B4D6C 000B1CCC EC 61 00 F2 */ fmuls f3, f1, f3
/* 800B4D70 000B1CD0 EC 21 00 B2 */ fmuls f1, f1, f2
/* 800B4D74 000B1CD4 D0 04 00 00 */ stfs f0, 0(r4)
/* 800B4D78 000B1CD8 D0 64 00 04 */ stfs f3, 4(r4)
/* 800B4D7C 000B1CDC D0 24 00 08 */ stfs f1, 8(r4)
lbl_800B4D80:
/* 800B4D80 000B1CE0 A0 1C 00 08 */ lhz r0, 8(r28)
/* 800B4D84 000B1CE4 7F E3 FB 78 */ mr r3, r31
/* 800B4D88 000B1CE8 7E 44 93 78 */ mr r4, r18
/* 800B4D8C 000B1CEC 38 A1 00 10 */ addi r5, r1, 0x10
/* 800B4D90 000B1CF0 B0 01 00 0C */ sth r0, 0xc(r1)
/* 800B4D94 000B1CF4 38 C0 00 01 */ li r6, 1
/* 800B4D98 000B1CF8 B0 01 00 10 */ sth r0, 0x10(r1)
/* 800B4D9C 000B1CFC 4B F8 F1 35 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage
lbl_800B4DA0:
/* 800B4DA0 000B1D00 80 01 01 4C */ lwz r0, 0x14c(r1)
/* 800B4DA4 000B1D04 38 61 00 A4 */ addi r3, r1, 0xa4
/* 800B4DA8 000B1D08 38 81 01 40 */ addi r4, r1, 0x140
/* 800B4DAC 000B1D0C 38 A1 00 A0 */ addi r5, r1, 0xa0
/* 800B4DB0 000B1D10 7C 00 D2 14 */ add r0, r0, r26
/* 800B4DB4 000B1D14 90 01 00 9C */ stw r0, 0x9c(r1)
/* 800B4DB8 000B1D18 90 01 00 A0 */ stw r0, 0xa0(r1)
/* 800B4DBC 000B1D1C 48 00 01 01 */ bl sub_800b4ebc
/* 800B4DC0 000B1D20 88 1C 00 38 */ lbz r0, 0x38(r28)
/* 800B4DC4 000B1D24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 800B4DC8 000B1D28 41 82 00 24 */ beq lbl_800B4DEC
/* 800B4DCC 000B1D2C 80 01 01 5C */ lwz r0, 0x15c(r1)
/* 800B4DD0 000B1D30 38 61 00 98 */ addi r3, r1, 0x98
/* 800B4DD4 000B1D34 38 81 01 50 */ addi r4, r1, 0x150
/* 800B4DD8 000B1D38 38 A1 00 94 */ addi r5, r1, 0x94
/* 800B4DDC 000B1D3C 7C 00 C2 14 */ add r0, r0, r24
/* 800B4DE0 000B1D40 90 01 00 90 */ stw r0, 0x90(r1)
/* 800B4DE4 000B1D44 90 01 00 94 */ stw r0, 0x94(r1)
/* 800B4DE8 000B1D48 4B F5 64 71 */ bl "find<Q24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,9TUniqueId>__4rstlFQ24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>RC9TUniqueId"
lbl_800B4DEC:
/* 800B4DEC 000B1D4C 3A F7 00 01 */ addi r23, r23, 1
lbl_800B4DF0:
/* 800B4DF0 000B1D50 80 1C 00 34 */ lwz r0, 0x34(r28)
/* 800B4DF4 000B1D54 7C 17 00 00 */ cmpw r23, r0
/* 800B4DF8 000B1D58 41 80 FA B0 */ blt lbl_800B48A8
lbl_800B4DFC:
/* 800B4DFC 000B1D5C 80 01 01 44 */ lwz r0, 0x144(r1)
/* 800B4E00 000B1D60 80 61 01 4C */ lwz r3, 0x14c(r1)
/* 800B4E04 000B1D64 54 00 18 38 */ slwi r0, r0, 3
/* 800B4E08 000B1D68 7C 03 02 14 */ add r0, r3, r0
/* 800B4E0C 000B1D6C 90 61 00 64 */ stw r3, 0x64(r1)
/* 800B4E10 000B1D70 7C 64 1B 78 */ mr r4, r3
/* 800B4E14 000B1D74 90 01 00 6C */ stw r0, 0x6c(r1)
/* 800B4E18 000B1D78 90 01 00 68 */ stw r0, 0x68(r1)
/* 800B4E1C 000B1D7C 90 61 00 60 */ stw r3, 0x60(r1)
/* 800B4E20 000B1D80 48 00 00 08 */ b lbl_800B4E28
lbl_800B4E24:
/* 800B4E24 000B1D84 38 84 00 08 */ addi r4, r4, 8
lbl_800B4E28:
/* 800B4E28 000B1D88 7C 04 00 40 */ cmplw r4, r0
/* 800B4E2C 000B1D8C 40 82 FF F8 */ bne lbl_800B4E24
/* 800B4E30 000B1D90 28 03 00 00 */ cmplwi r3, 0
/* 800B4E34 000B1D94 41 82 00 08 */ beq lbl_800B4E3C
/* 800B4E38 000B1D98 48 26 0A F9 */ bl Free__7CMemoryFPCv
lbl_800B4E3C:
/* 800B4E3C 000B1D9C 80 01 01 54 */ lwz r0, 0x154(r1)
/* 800B4E40 000B1DA0 80 61 01 5C */ lwz r3, 0x15c(r1)
/* 800B4E44 000B1DA4 54 00 08 3C */ slwi r0, r0, 1
/* 800B4E48 000B1DA8 7C 03 02 14 */ add r0, r3, r0
/* 800B4E4C 000B1DAC 90 61 00 54 */ stw r3, 0x54(r1)
/* 800B4E50 000B1DB0 7C 64 1B 78 */ mr r4, r3
/* 800B4E54 000B1DB4 90 01 00 5C */ stw r0, 0x5c(r1)
/* 800B4E58 000B1DB8 90 01 00 58 */ stw r0, 0x58(r1)
/* 800B4E5C 000B1DBC 90 61 00 50 */ stw r3, 0x50(r1)
/* 800B4E60 000B1DC0 48 00 00 08 */ b lbl_800B4E68
lbl_800B4E64:
/* 800B4E64 000B1DC4 38 84 00 02 */ addi r4, r4, 2
lbl_800B4E68:
/* 800B4E68 000B1DC8 7C 04 00 40 */ cmplw r4, r0
/* 800B4E6C 000B1DCC 40 82 FF F8 */ bne lbl_800B4E64
/* 800B4E70 000B1DD0 28 03 00 00 */ cmplwi r3, 0
/* 800B4E74 000B1DD4 41 82 00 08 */ beq lbl_800B4E7C
/* 800B4E78 000B1DD8 48 26 0A B9 */ bl Free__7CMemoryFPCv
lbl_800B4E7C:
/* 800B4E7C 000B1DDC A0 1E 00 00 */ lhz r0, 0(r30)
/* 800B4E80 000B1DE0 7F 83 E3 78 */ mr r3, r28
/* 800B4E84 000B1DE4 7F A4 EB 78 */ mr r4, r29
/* 800B4E88 000B1DE8 7F E6 FB 78 */ mr r6, r31
/* 800B4E8C 000B1DEC B0 01 00 08 */ sth r0, 8(r1)
/* 800B4E90 000B1DF0 38 A1 00 08 */ addi r5, r1, 8
/* 800B4E94 000B1DF4 4B F9 C2 C9 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 800B4E98 000B1DF8 E3 E1 01 D8 */ psq_l f31, 472(r1), 0, qr0
/* 800B4E9C 000B1DFC CB E1 01 D0 */ lfd f31, 0x1d0(r1)
/* 800B4EA0 000B1E00 E3 C1 01 C8 */ psq_l f30, 456(r1), 0, qr0
/* 800B4EA4 000B1E04 CB C1 01 C0 */ lfd f30, 0x1c0(r1)
/* 800B4EA8 000B1E08 BA 41 01 88 */ lmw r18, 0x188(r1)
/* 800B4EAC 000B1E0C 80 01 01 E4 */ lwz r0, 0x1e4(r1)
/* 800B4EB0 000B1E10 7C 08 03 A6 */ mtlr r0
/* 800B4EB4 000B1E14 38 21 01 E0 */ addi r1, r1, 0x1e0
/* 800B4EB8 000B1E18 4E 80 00 20 */ blr
.global sub_800b4ebc
sub_800b4ebc:
/* 800B4EBC 000B1E1C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B4EC0 000B1E20 7C 08 02 A6 */ mflr r0
/* 800B4EC4 000B1E24 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B4EC8 000B1E28 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B4ECC 000B1E2C 7C 7F 1B 78 */ mr r31, r3
/* 800B4ED0 000B1E30 80 C5 00 00 */ lwz r6, 0(r5)
/* 800B4ED4 000B1E34 80 05 00 00 */ lwz r0, 0(r5)
/* 800B4ED8 000B1E38 38 A1 00 10 */ addi r5, r1, 0x10
/* 800B4EDC 000B1E3C 38 E6 00 08 */ addi r7, r6, 8
/* 800B4EE0 000B1E40 38 C1 00 0C */ addi r6, r1, 0xc
/* 800B4EE4 000B1E44 90 E1 00 08 */ stw r7, 8(r1)
/* 800B4EE8 000B1E48 90 E1 00 0C */ stw r7, 0xc(r1)
/* 800B4EEC 000B1E4C 90 01 00 10 */ stw r0, 0x10(r1)
/* 800B4EF0 000B1E50 48 00 00 19 */ bl sub_800b4f08
/* 800B4EF4 000B1E54 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B4EF8 000B1E58 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B4EFC 000B1E5C 7C 08 03 A6 */ mtlr r0
/* 800B4F00 000B1E60 38 21 00 20 */ addi r1, r1, 0x20
/* 800B4F04 000B1E64 4E 80 00 20 */ blr
.global sub_800b4f08
sub_800b4f08:
/* 800B4F08 000B1E68 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B4F0C 000B1E6C 80 E5 00 00 */ lwz r7, 0(r5)
/* 800B4F10 000B1E70 80 06 00 00 */ lwz r0, 0(r6)
/* 800B4F14 000B1E74 90 E1 00 0C */ stw r7, 0xc(r1)
/* 800B4F18 000B1E78 90 01 00 08 */ stw r0, 8(r1)
/* 800B4F1C 000B1E7C 48 00 00 08 */ b lbl_800B4F24
lbl_800B4F20:
/* 800B4F20 000B1E80 38 E7 00 08 */ addi r7, r7, 8
lbl_800B4F24:
/* 800B4F24 000B1E84 7C 07 00 40 */ cmplw r7, r0
/* 800B4F28 000B1E88 40 82 FF F8 */ bne lbl_800B4F20
/* 800B4F2C 000B1E8C 81 04 00 0C */ lwz r8, 0xc(r4)
/* 800B4F30 000B1E90 80 05 00 00 */ lwz r0, 0(r5)
/* 800B4F34 000B1E94 80 E6 00 00 */ lwz r7, 0(r6)
/* 800B4F38 000B1E98 7C 08 00 50 */ subf r0, r8, r0
/* 800B4F3C 000B1E9C 7C 00 1E 70 */ srawi r0, r0, 3
/* 800B4F40 000B1EA0 7C C0 01 94 */ addze r6, r0
/* 800B4F44 000B1EA4 54 C0 18 38 */ slwi r0, r6, 3
/* 800B4F48 000B1EA8 7C C9 33 78 */ mr r9, r6
/* 800B4F4C 000B1EAC 7D 08 02 14 */ add r8, r8, r0
/* 800B4F50 000B1EB0 48 00 00 28 */ b lbl_800B4F78
lbl_800B4F54:
/* 800B4F54 000B1EB4 28 08 00 00 */ cmplwi r8, 0
/* 800B4F58 000B1EB8 41 82 00 14 */ beq lbl_800B4F6C
/* 800B4F5C 000B1EBC A0 07 00 00 */ lhz r0, 0(r7)
/* 800B4F60 000B1EC0 B0 08 00 00 */ sth r0, 0(r8)
/* 800B4F64 000B1EC4 80 07 00 04 */ lwz r0, 4(r7)
/* 800B4F68 000B1EC8 90 08 00 04 */ stw r0, 4(r8)
lbl_800B4F6C:
/* 800B4F6C 000B1ECC 39 08 00 08 */ addi r8, r8, 8
/* 800B4F70 000B1ED0 39 29 00 01 */ addi r9, r9, 1
/* 800B4F74 000B1ED4 38 E7 00 08 */ addi r7, r7, 8
lbl_800B4F78:
/* 800B4F78 000B1ED8 80 04 00 04 */ lwz r0, 4(r4)
/* 800B4F7C 000B1EDC 80 C4 00 0C */ lwz r6, 0xc(r4)
/* 800B4F80 000B1EE0 54 00 18 38 */ slwi r0, r0, 3
/* 800B4F84 000B1EE4 7C 06 02 14 */ add r0, r6, r0
/* 800B4F88 000B1EE8 7C 07 00 40 */ cmplw r7, r0
/* 800B4F8C 000B1EEC 40 82 FF C8 */ bne lbl_800B4F54
/* 800B4F90 000B1EF0 91 24 00 04 */ stw r9, 4(r4)
/* 800B4F94 000B1EF4 80 05 00 00 */ lwz r0, 0(r5)
/* 800B4F98 000B1EF8 90 03 00 00 */ stw r0, 0(r3)
/* 800B4F9C 000B1EFC 38 21 00 10 */ addi r1, r1, 0x10
/* 800B4FA0 000B1F00 4E 80 00 20 */ blr
.global __dt__16CScriptGenerator
__dt__16CScriptGenerator:
/* 800B4FA4 000B1F04 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B4FA8 000B1F08 7C 08 02 A6 */ mflr r0
/* 800B4FAC 000B1F0C 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B4FB0 000B1F10 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800B4FB4 000B1F14 7C 9F 23 78 */ mr r31, r4
/* 800B4FB8 000B1F18 93 C1 00 08 */ stw r30, 8(r1)
/* 800B4FBC 000B1F1C 7C 7E 1B 79 */ or. r30, r3, r3
/* 800B4FC0 000B1F20 41 82 00 28 */ beq lbl_800B4FE8
/* 800B4FC4 000B1F24 3C A0 80 3E */ lis r5, lbl_803DF328@ha
/* 800B4FC8 000B1F28 38 80 00 00 */ li r4, 0
/* 800B4FCC 000B1F2C 38 05 F3 28 */ addi r0, r5, lbl_803DF328@l
/* 800B4FD0 000B1F30 90 1E 00 00 */ stw r0, 0(r30)
/* 800B4FD4 000B1F34 4B F9 C2 A1 */ bl __dt__7CEntityFv
/* 800B4FD8 000B1F38 7F E0 07 35 */ extsh. r0, r31
/* 800B4FDC 000B1F3C 40 81 00 0C */ ble lbl_800B4FE8
/* 800B4FE0 000B1F40 7F C3 F3 78 */ mr r3, r30
/* 800B4FE4 000B1F44 48 26 09 4D */ bl Free__7CMemoryFPCv
lbl_800B4FE8:
/* 800B4FE8 000B1F48 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B4FEC 000B1F4C 7F C3 F3 78 */ mr r3, r30
/* 800B4FF0 000B1F50 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800B4FF4 000B1F54 83 C1 00 08 */ lwz r30, 8(r1)
/* 800B4FF8 000B1F58 7C 08 03 A6 */ mtlr r0
/* 800B4FFC 000B1F5C 38 21 00 10 */ addi r1, r1, 0x10
/* 800B5000 000B1F60 4E 80 00 20 */ blr
.global "__ct__16CScriptGeneratorF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoibRC9CVector3fbbff"
"__ct__16CScriptGeneratorF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoibRC9CVector3fbbff":
/* 800B5004 000B1F64 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 800B5008 000B1F68 7C 08 02 A6 */ mflr r0
/* 800B500C 000B1F6C 90 01 00 54 */ stw r0, 0x54(r1)
/* 800B5010 000B1F70 DB E1 00 40 */ stfd f31, 0x40(r1)
/* 800B5014 000B1F74 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
/* 800B5018 000B1F78 DB C1 00 30 */ stfd f30, 0x30(r1)
/* 800B501C 000B1F7C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0
/* 800B5020 000B1F80 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 800B5024 000B1F84 A0 04 00 00 */ lhz r0, 0(r4)
/* 800B5028 000B1F88 7C AB 2B 78 */ mr r11, r5
/* 800B502C 000B1F8C FF C0 08 90 */ fmr f30, f1
/* 800B5030 000B1F90 88 81 00 5B */ lbz r4, 0x5b(r1)
/* 800B5034 000B1F94 FF E0 10 90 */ fmr f31, f2
/* 800B5038 000B1F98 B0 01 00 08 */ sth r0, 8(r1)
/* 800B503C 000B1F9C 7C FC 3B 78 */ mr r28, r7
/* 800B5040 000B1FA0 7C C5 33 78 */ mr r5, r6
/* 800B5044 000B1FA4 7C 86 23 78 */ mr r6, r4
/* 800B5048 000B1FA8 7C 7B 1B 78 */ mr r27, r3
/* 800B504C 000B1FAC 7D 1D 43 78 */ mr r29, r8
/* 800B5050 000B1FB0 7D 3E 4B 78 */ mr r30, r9
/* 800B5054 000B1FB4 7D 5F 53 78 */ mr r31, r10
/* 800B5058 000B1FB8 7D 67 5B 78 */ mr r7, r11
/* 800B505C 000B1FBC 38 81 00 08 */ addi r4, r1, 8
/* 800B5060 000B1FC0 4B F9 C2 C5 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 800B5064 000B1FC4 3C 60 80 3E */ lis r3, lbl_803DF328@ha
/* 800B5068 000B1FC8 38 03 F3 28 */ addi r0, r3, lbl_803DF328@l
/* 800B506C 000B1FCC 90 1B 00 00 */ stw r0, 0(r27)
/* 800B5070 000B1FD0 7F 63 DB 78 */ mr r3, r27
/* 800B5074 000B1FD4 93 9B 00 34 */ stw r28, 0x34(r27)
/* 800B5078 000B1FD8 88 1B 00 38 */ lbz r0, 0x38(r27)
/* 800B507C 000B1FDC 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18
/* 800B5080 000B1FE0 98 1B 00 38 */ stb r0, 0x38(r27)
/* 800B5084 000B1FE4 88 1B 00 38 */ lbz r0, 0x38(r27)
/* 800B5088 000B1FE8 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19
/* 800B508C 000B1FEC 98 1B 00 38 */ stb r0, 0x38(r27)
/* 800B5090 000B1FF0 C0 1E 00 00 */ lfs f0, 0(r30)
/* 800B5094 000B1FF4 D0 1B 00 3C */ stfs f0, 0x3c(r27)
/* 800B5098 000B1FF8 C0 1E 00 04 */ lfs f0, 4(r30)
/* 800B509C 000B1FFC D0 1B 00 40 */ stfs f0, 0x40(r27)
/* 800B50A0 000B2000 C0 1E 00 08 */ lfs f0, 8(r30)
/* 800B50A4 000B2004 D0 1B 00 44 */ stfs f0, 0x44(r27)
/* 800B50A8 000B2008 D3 DB 00 48 */ stfs f30, 0x48(r27)
/* 800B50AC 000B200C D3 FB 00 4C */ stfs f31, 0x4c(r27)
/* 800B50B0 000B2010 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
/* 800B50B4 000B2014 CB E1 00 40 */ lfd f31, 0x40(r1)
/* 800B50B8 000B2018 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0
/* 800B50BC 000B201C CB C1 00 30 */ lfd f30, 0x30(r1)
/* 800B50C0 000B2020 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 800B50C4 000B2024 80 01 00 54 */ lwz r0, 0x54(r1)
/* 800B50C8 000B2028 7C 08 03 A6 */ mtlr r0
/* 800B50CC 000B202C 38 21 00 50 */ addi r1, r1, 0x50
/* 800B50D0 000B2030 4E 80 00 20 */ blr
.global "reserve__Q24rstl71vector<Q24rstl27pair<9TUniqueId,9TEditorId>,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl71vector<Q24rstl27pair<9TUniqueId,9TEditorId>,Q24rstl17rmemory_allocator>Fi":
/* 800B50D4 000B2034 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800B50D8 000B2038 7C 08 02 A6 */ mflr r0
/* 800B50DC 000B203C 90 01 00 34 */ stw r0, 0x34(r1)
/* 800B50E0 000B2040 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800B50E4 000B2044 7C 9F 23 78 */ mr r31, r4
/* 800B50E8 000B2048 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800B50EC 000B204C 7C 7E 1B 78 */ mr r30, r3
/* 800B50F0 000B2050 93 A1 00 24 */ stw r29, 0x24(r1)
/* 800B50F4 000B2054 80 03 00 08 */ lwz r0, 8(r3)
/* 800B50F8 000B2058 7C 1F 00 00 */ cmpw r31, r0
/* 800B50FC 000B205C 40 81 00 B0 */ ble lbl_800B51AC
/* 800B5100 000B2060 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
/* 800B5104 000B2064 40 82 00 0C */ bne lbl_800B5110
/* 800B5108 000B2068 3B A0 00 00 */ li r29, 0
/* 800B510C 000B206C 48 00 00 18 */ b lbl_800B5124
lbl_800B5110:
/* 800B5110 000B2070 3C 80 80 3D */ lis r4, lbl_803CDE78@ha
/* 800B5114 000B2074 38 A0 00 00 */ li r5, 0
/* 800B5118 000B2078 38 84 DE 78 */ addi r4, r4, lbl_803CDE78@l
/* 800B511C 000B207C 48 26 06 FD */ bl __nwa__FUlPCcPCc
/* 800B5120 000B2080 7C 7D 1B 78 */ mr r29, r3
lbl_800B5124:
/* 800B5124 000B2084 80 1E 00 04 */ lwz r0, 4(r30)
/* 800B5128 000B2088 7F A4 EB 78 */ mr r4, r29
/* 800B512C 000B208C 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 800B5130 000B2090 54 00 18 38 */ slwi r0, r0, 3
/* 800B5134 000B2094 7C 65 02 14 */ add r3, r5, r0
/* 800B5138 000B2098 90 A1 00 10 */ stw r5, 0x10(r1)
/* 800B513C 000B209C 90 61 00 08 */ stw r3, 8(r1)
/* 800B5140 000B20A0 90 61 00 0C */ stw r3, 0xc(r1)
/* 800B5144 000B20A4 90 A1 00 14 */ stw r5, 0x14(r1)
/* 800B5148 000B20A8 48 00 00 24 */ b lbl_800B516C
lbl_800B514C:
/* 800B514C 000B20AC 28 04 00 00 */ cmplwi r4, 0
/* 800B5150 000B20B0 41 82 00 14 */ beq lbl_800B5164
/* 800B5154 000B20B4 A0 05 00 00 */ lhz r0, 0(r5)
/* 800B5158 000B20B8 B0 04 00 00 */ sth r0, 0(r4)
/* 800B515C 000B20BC 80 05 00 04 */ lwz r0, 4(r5)
/* 800B5160 000B20C0 90 04 00 04 */ stw r0, 4(r4)
lbl_800B5164:
/* 800B5164 000B20C4 38 84 00 08 */ addi r4, r4, 8
/* 800B5168 000B20C8 38 A5 00 08 */ addi r5, r5, 8
lbl_800B516C:
/* 800B516C 000B20CC 7C 05 18 40 */ cmplw r5, r3
/* 800B5170 000B20D0 40 82 FF DC */ bne lbl_800B514C
/* 800B5174 000B20D4 80 1E 00 04 */ lwz r0, 4(r30)
/* 800B5178 000B20D8 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 800B517C 000B20DC 54 00 18 38 */ slwi r0, r0, 3
/* 800B5180 000B20E0 7C 64 1B 78 */ mr r4, r3
/* 800B5184 000B20E4 7C 03 02 14 */ add r0, r3, r0
/* 800B5188 000B20E8 48 00 00 08 */ b lbl_800B5190
lbl_800B518C:
/* 800B518C 000B20EC 38 84 00 08 */ addi r4, r4, 8
lbl_800B5190:
/* 800B5190 000B20F0 7C 04 00 40 */ cmplw r4, r0
/* 800B5194 000B20F4 40 82 FF F8 */ bne lbl_800B518C
/* 800B5198 000B20F8 28 03 00 00 */ cmplwi r3, 0
/* 800B519C 000B20FC 41 82 00 08 */ beq lbl_800B51A4
/* 800B51A0 000B2100 48 26 07 91 */ bl Free__7CMemoryFPCv
lbl_800B51A4:
/* 800B51A4 000B2104 93 BE 00 0C */ stw r29, 0xc(r30)
/* 800B51A8 000B2108 93 FE 00 08 */ stw r31, 8(r30)
lbl_800B51AC:
/* 800B51AC 000B210C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800B51B0 000B2110 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800B51B4 000B2114 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 800B51B8 000B2118 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 800B51BC 000B211C 7C 08 03 A6 */ mtlr r0
/* 800B51C0 000B2120 38 21 00 30 */ addi r1, r1, 0x30
/* 800B51C4 000B2124 4E 80 00 20 */ blr
.section .rodata
.balign 8
.global lbl_803CDE78
lbl_803CDE78:
# ROM: 0x3CAE78
.asciz "??(??)"
.balign 4