prime/asm/MetroidPrime/Enemies/CTeamAiMgr.s

4159 lines
205 KiB
ArmAsm

.include "macros.inc"
.section .data
.balign 8
.global lbl_803E8558
lbl_803E8558:
# ROM: 0x3E5558
.4byte 0
.4byte 0
.4byte __dt__10CTeamAiMgr
.4byte Accept__10CTeamAiMgrFR8IVisitor
.4byte PreThink__7CEntityFfR13CStateManager
.4byte Think__10CTeamAiMgrFfR13CStateManager
.4byte AcceptScriptMsg__10CTeamAiMgrF20EScriptObjectMessage9TUniqueIdR13CStateManager
.4byte SetActive__7CEntityFb
.section .text, "ax"
.global __dt__10CTeamAiMgr
__dt__10CTeamAiMgr:
/* 80237B64 00234AC4 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80237B68 00234AC8 7C 08 02 A6 */ mflr r0
/* 80237B6C 00234ACC 90 01 00 44 */ stw r0, 0x44(r1)
/* 80237B70 00234AD0 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 80237B74 00234AD4 7C 9F 23 78 */ mr r31, r4
/* 80237B78 00234AD8 93 C1 00 38 */ stw r30, 0x38(r1)
/* 80237B7C 00234ADC 7C 7E 1B 79 */ or. r30, r3, r3
/* 80237B80 00234AE0 41 82 01 04 */ beq lbl_80237C84
/* 80237B84 00234AE4 3C 60 80 3F */ lis r3, lbl_803E8558@ha
/* 80237B88 00234AE8 34 1E 00 78 */ addic. r0, r30, 0x78
/* 80237B8C 00234AEC 38 03 85 58 */ addi r0, r3, lbl_803E8558@l
/* 80237B90 00234AF0 90 1E 00 00 */ stw r0, 0(r30)
/* 80237B94 00234AF4 41 82 00 44 */ beq lbl_80237BD8
/* 80237B98 00234AF8 80 1E 00 7C */ lwz r0, 0x7c(r30)
/* 80237B9C 00234AFC 80 7E 00 84 */ lwz r3, 0x84(r30)
/* 80237BA0 00234B00 54 00 08 3C */ slwi r0, r0, 1
/* 80237BA4 00234B04 7C 03 02 14 */ add r0, r3, r0
/* 80237BA8 00234B08 90 61 00 2C */ stw r3, 0x2c(r1)
/* 80237BAC 00234B0C 7C 64 1B 78 */ mr r4, r3
/* 80237BB0 00234B10 90 01 00 34 */ stw r0, 0x34(r1)
/* 80237BB4 00234B14 90 01 00 30 */ stw r0, 0x30(r1)
/* 80237BB8 00234B18 90 61 00 28 */ stw r3, 0x28(r1)
/* 80237BBC 00234B1C 48 00 00 08 */ b lbl_80237BC4
lbl_80237BC0:
/* 80237BC0 00234B20 38 84 00 02 */ addi r4, r4, 2
lbl_80237BC4:
/* 80237BC4 00234B24 7C 04 00 40 */ cmplw r4, r0
/* 80237BC8 00234B28 40 82 FF F8 */ bne lbl_80237BC0
/* 80237BCC 00234B2C 28 03 00 00 */ cmplwi r3, 0
/* 80237BD0 00234B30 41 82 00 08 */ beq lbl_80237BD8
/* 80237BD4 00234B34 48 0D DD 5D */ bl Free__7CMemoryFPCv
lbl_80237BD8:
/* 80237BD8 00234B38 34 1E 00 68 */ addic. r0, r30, 0x68
/* 80237BDC 00234B3C 41 82 00 44 */ beq lbl_80237C20
/* 80237BE0 00234B40 80 1E 00 6C */ lwz r0, 0x6c(r30)
/* 80237BE4 00234B44 80 7E 00 74 */ lwz r3, 0x74(r30)
/* 80237BE8 00234B48 54 00 08 3C */ slwi r0, r0, 1
/* 80237BEC 00234B4C 7C 03 02 14 */ add r0, r3, r0
/* 80237BF0 00234B50 90 61 00 1C */ stw r3, 0x1c(r1)
/* 80237BF4 00234B54 7C 64 1B 78 */ mr r4, r3
/* 80237BF8 00234B58 90 01 00 24 */ stw r0, 0x24(r1)
/* 80237BFC 00234B5C 90 01 00 20 */ stw r0, 0x20(r1)
/* 80237C00 00234B60 90 61 00 18 */ stw r3, 0x18(r1)
/* 80237C04 00234B64 48 00 00 08 */ b lbl_80237C0C
lbl_80237C08:
/* 80237C08 00234B68 38 84 00 02 */ addi r4, r4, 2
lbl_80237C0C:
/* 80237C0C 00234B6C 7C 04 00 40 */ cmplw r4, r0
/* 80237C10 00234B70 40 82 FF F8 */ bne lbl_80237C08
/* 80237C14 00234B74 28 03 00 00 */ cmplwi r3, 0
/* 80237C18 00234B78 41 82 00 08 */ beq lbl_80237C20
/* 80237C1C 00234B7C 48 0D DD 15 */ bl Free__7CMemoryFPCv
lbl_80237C20:
/* 80237C20 00234B80 34 1E 00 58 */ addic. r0, r30, 0x58
/* 80237C24 00234B84 41 82 00 44 */ beq lbl_80237C68
/* 80237C28 00234B88 80 1E 00 5C */ lwz r0, 0x5c(r30)
/* 80237C2C 00234B8C 80 7E 00 64 */ lwz r3, 0x64(r30)
/* 80237C30 00234B90 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80237C34 00234B94 90 61 00 0C */ stw r3, 0xc(r1)
/* 80237C38 00234B98 7C 64 1B 78 */ mr r4, r3
/* 80237C3C 00234B9C 7C 03 02 14 */ add r0, r3, r0
/* 80237C40 00234BA0 90 61 00 08 */ stw r3, 8(r1)
/* 80237C44 00234BA4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80237C48 00234BA8 90 01 00 10 */ stw r0, 0x10(r1)
/* 80237C4C 00234BAC 48 00 00 08 */ b lbl_80237C54
lbl_80237C50:
/* 80237C50 00234BB0 38 84 00 28 */ addi r4, r4, 0x28
lbl_80237C54:
/* 80237C54 00234BB4 7C 04 00 40 */ cmplw r4, r0
/* 80237C58 00234BB8 40 82 FF F8 */ bne lbl_80237C50
/* 80237C5C 00234BBC 28 03 00 00 */ cmplwi r3, 0
/* 80237C60 00234BC0 41 82 00 08 */ beq lbl_80237C68
/* 80237C64 00234BC4 48 0D DC CD */ bl Free__7CMemoryFPCv
lbl_80237C68:
/* 80237C68 00234BC8 7F C3 F3 78 */ mr r3, r30
/* 80237C6C 00234BCC 38 80 00 00 */ li r4, 0
/* 80237C70 00234BD0 4B E1 96 05 */ bl __dt__7CEntityFv
/* 80237C74 00234BD4 7F E0 07 35 */ extsh. r0, r31
/* 80237C78 00234BD8 40 81 00 0C */ ble lbl_80237C84
/* 80237C7C 00234BDC 7F C3 F3 78 */ mr r3, r30
/* 80237C80 00234BE0 48 0D DC B1 */ bl Free__7CMemoryFPCv
lbl_80237C84:
/* 80237C84 00234BE4 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80237C88 00234BE8 7F C3 F3 78 */ mr r3, r30
/* 80237C8C 00234BEC 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 80237C90 00234BF0 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 80237C94 00234BF4 7C 08 03 A6 */ mtlr r0
/* 80237C98 00234BF8 38 21 00 40 */ addi r1, r1, 0x40
/* 80237C9C 00234BFC 4E 80 00 20 */ blr
.global UpdateTeamCaptain__10CTeamAiMgrFv
UpdateTeamCaptain__10CTeamAiMgrFv:
/* 80237CA0 00234C00 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 80237CA4 00234C04 3C C0 80 00 */ lis r6, 0x8000
/* 80237CA8 00234C08 B0 03 00 8C */ sth r0, 0x8c(r3)
/* 80237CAC 00234C0C 80 A3 00 64 */ lwz r5, 0x64(r3)
/* 80237CB0 00234C10 48 00 00 20 */ b lbl_80237CD0
lbl_80237CB4:
/* 80237CB4 00234C14 80 85 00 18 */ lwz r4, 0x18(r5)
/* 80237CB8 00234C18 7C 04 30 00 */ cmpw r4, r6
/* 80237CBC 00234C1C 40 81 00 10 */ ble lbl_80237CCC
/* 80237CC0 00234C20 A0 05 00 00 */ lhz r0, 0(r5)
/* 80237CC4 00234C24 7C 86 23 78 */ mr r6, r4
/* 80237CC8 00234C28 B0 03 00 8C */ sth r0, 0x8c(r3)
lbl_80237CCC:
/* 80237CCC 00234C2C 38 A5 00 28 */ addi r5, r5, 0x28
lbl_80237CD0:
/* 80237CD0 00234C30 80 03 00 5C */ lwz r0, 0x5c(r3)
/* 80237CD4 00234C34 80 83 00 64 */ lwz r4, 0x64(r3)
/* 80237CD8 00234C38 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80237CDC 00234C3C 7C 04 02 14 */ add r0, r4, r0
/* 80237CE0 00234C40 7C 05 00 40 */ cmplw r5, r0
/* 80237CE4 00234C44 40 82 FF D0 */ bne lbl_80237CB4
.global sub_80237ce8
sub_80237ce8:
/* 80237CE8 00234C48 4E 80 00 20 */ blr
.global SpacingSort__10CTeamAiMgrFR13CStateManagerRC9CVector3f
SpacingSort__10CTeamAiMgrFR13CStateManagerRC9CVector3f:
/* 80237CEC 00234C4C 94 21 FE D0 */ stwu r1, -0x130(r1)
/* 80237CF0 00234C50 7C 08 02 A6 */ mflr r0
/* 80237CF4 00234C54 90 01 01 34 */ stw r0, 0x134(r1)
/* 80237CF8 00234C58 DB E1 01 20 */ stfd f31, 0x120(r1)
/* 80237CFC 00234C5C F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0
/* 80237D00 00234C60 DB C1 01 10 */ stfd f30, 0x110(r1)
/* 80237D04 00234C64 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0
/* 80237D08 00234C68 BF 21 00 F4 */ stmw r25, 0xf4(r1)
/* 80237D0C 00234C6C 7C BF 2B 78 */ mr r31, r5
/* 80237D10 00234C70 39 00 00 02 */ li r8, 2
/* 80237D14 00234C74 C0 45 00 00 */ lfs f2, 0(r5)
/* 80237D18 00234C78 7C 7D 1B 78 */ mr r29, r3
/* 80237D1C 00234C7C C0 25 00 04 */ lfs f1, 4(r5)
/* 80237D20 00234C80 7C 9E 23 78 */ mr r30, r4
/* 80237D24 00234C84 C0 05 00 08 */ lfs f0, 8(r5)
/* 80237D28 00234C88 38 61 00 34 */ addi r3, r1, 0x34
/* 80237D2C 00234C8C D0 41 00 BC */ stfs f2, 0xbc(r1)
/* 80237D30 00234C90 38 81 00 2C */ addi r4, r1, 0x2c
/* 80237D34 00234C94 38 A1 00 CC */ addi r5, r1, 0xcc
/* 80237D38 00234C98 D0 21 00 C0 */ stfs f1, 0xc0(r1)
/* 80237D3C 00234C9C 80 E1 00 BC */ lwz r7, 0xbc(r1)
/* 80237D40 00234CA0 D0 01 00 C4 */ stfs f0, 0xc4(r1)
/* 80237D44 00234CA4 80 C1 00 C0 */ lwz r6, 0xc0(r1)
/* 80237D48 00234CA8 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 80237D4C 00234CAC 90 E1 00 CC */ stw r7, 0xcc(r1)
/* 80237D50 00234CB0 90 C1 00 D0 */ stw r6, 0xd0(r1)
/* 80237D54 00234CB4 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 80237D58 00234CB8 91 01 00 D8 */ stw r8, 0xd8(r1)
/* 80237D5C 00234CBC 80 1D 00 5C */ lwz r0, 0x5c(r29)
/* 80237D60 00234CC0 80 DD 00 64 */ lwz r6, 0x64(r29)
/* 80237D64 00234CC4 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80237D68 00234CC8 91 01 00 C8 */ stw r8, 0xc8(r1)
/* 80237D6C 00234CCC 7C C6 02 14 */ add r6, r6, r0
/* 80237D70 00234CD0 90 C1 00 2C */ stw r6, 0x2c(r1)
/* 80237D74 00234CD4 80 1D 00 64 */ lwz r0, 0x64(r29)
/* 80237D78 00234CD8 90 C1 00 28 */ stw r6, 0x28(r1)
/* 80237D7C 00234CDC 90 01 00 30 */ stw r0, 0x30(r1)
/* 80237D80 00234CE0 90 01 00 34 */ stw r0, 0x34(r1)
/* 80237D84 00234CE4 48 00 28 49 */ bl "sort<rstl__vector<CTeamAiRole>_with_custom_comparator>"
/* 80237D88 00234CE8 C3 E2 B7 5C */ lfs f31, lbl_805AD47C@sda21(r2)
/* 80237D8C 00234CEC 83 9D 00 64 */ lwz r28, 0x64(r29)
/* 80237D90 00234CF0 48 00 00 5C */ b lbl_80237DEC
lbl_80237D94:
/* 80237D94 00234CF4 A0 1C 00 00 */ lhz r0, 0(r28)
/* 80237D98 00234CF8 7F C3 F3 78 */ mr r3, r30
/* 80237D9C 00234CFC 38 81 00 14 */ addi r4, r1, 0x14
/* 80237DA0 00234D00 B0 01 00 10 */ sth r0, 0x10(r1)
/* 80237DA4 00234D04 B0 01 00 14 */ sth r0, 0x14(r1)
/* 80237DA8 00234D08 4B E1 47 CD */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80237DAC 00234D0C 7C 64 1B 78 */ mr r4, r3
/* 80237DB0 00234D10 38 61 00 40 */ addi r3, r1, 0x40
/* 80237DB4 00234D14 4B E7 4C A9 */ bl "__ct__24TCastToPtr<10CPatterned>FP7CEntity"
/* 80237DB8 00234D18 80 63 00 04 */ lwz r3, 4(r3)
/* 80237DBC 00234D1C 28 03 00 00 */ cmplwi r3, 0
/* 80237DC0 00234D20 41 82 00 28 */ beq lbl_80237DE8
/* 80237DC4 00234D24 4B EE 2B FD */ bl GetBaseBoundingBox__13CPhysicsActorCFv
/* 80237DC8 00234D28 C0 23 00 10 */ lfs f1, 0x10(r3)
/* 80237DCC 00234D2C C0 03 00 04 */ lfs f0, 4(r3)
/* 80237DD0 00234D30 C0 42 B7 60 */ lfs f2, lbl_805AD480@sda21(r2)
/* 80237DD4 00234D34 EC 01 00 28 */ fsubs f0, f1, f0
/* 80237DD8 00234D38 EC 02 00 32 */ fmuls f0, f2, f0
/* 80237DDC 00234D3C FC 00 F8 40 */ fcmpo cr0, f0, f31
/* 80237DE0 00234D40 40 81 00 08 */ ble lbl_80237DE8
/* 80237DE4 00234D44 FF E0 00 90 */ fmr f31, f0
lbl_80237DE8:
/* 80237DE8 00234D48 3B 9C 00 28 */ addi r28, r28, 0x28
lbl_80237DEC:
/* 80237DEC 00234D4C 80 1D 00 5C */ lwz r0, 0x5c(r29)
/* 80237DF0 00234D50 83 7D 00 64 */ lwz r27, 0x64(r29)
/* 80237DF4 00234D54 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80237DF8 00234D58 7C 1B 02 14 */ add r0, r27, r0
/* 80237DFC 00234D5C 7C 1C 00 40 */ cmplw r28, r0
/* 80237E00 00234D60 40 82 FF 94 */ bne lbl_80237D94
/* 80237E04 00234D64 FF C0 F8 90 */ fmr f30, f31
/* 80237E08 00234D68 3B 80 00 00 */ li r28, 0
/* 80237E0C 00234D6C 3B 40 00 03 */ li r26, 3
/* 80237E10 00234D70 48 00 01 78 */ b lbl_80237F88
lbl_80237E14:
/* 80237E14 00234D74 A0 1B 00 00 */ lhz r0, 0(r27)
/* 80237E18 00234D78 7F C3 F3 78 */ mr r3, r30
/* 80237E1C 00234D7C 38 81 00 0C */ addi r4, r1, 0xc
/* 80237E20 00234D80 B0 01 00 08 */ sth r0, 8(r1)
/* 80237E24 00234D84 B0 01 00 0C */ sth r0, 0xc(r1)
/* 80237E28 00234D88 4B E1 47 4D */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80237E2C 00234D8C 7C 64 1B 78 */ mr r4, r3
/* 80237E30 00234D90 38 61 00 38 */ addi r3, r1, 0x38
/* 80237E34 00234D94 4B E7 4C 29 */ bl "__ct__24TCastToPtr<10CPatterned>FP7CEntity"
/* 80237E38 00234D98 83 23 00 04 */ lwz r25, 4(r3)
/* 80237E3C 00234D9C 28 19 00 00 */ cmplwi r25, 0
/* 80237E40 00234DA0 41 82 01 44 */ beq lbl_80237F84
/* 80237E44 00234DA4 C0 39 00 60 */ lfs f1, 0x60(r25)
/* 80237E48 00234DA8 38 61 00 DC */ addi r3, r1, 0xdc
/* 80237E4C 00234DAC C0 1F 00 08 */ lfs f0, 8(r31)
/* 80237E50 00234DB0 C0 79 00 50 */ lfs f3, 0x50(r25)
/* 80237E54 00234DB4 C0 5F 00 04 */ lfs f2, 4(r31)
/* 80237E58 00234DB8 EC 81 00 28 */ fsubs f4, f1, f0
/* 80237E5C 00234DBC C0 39 00 40 */ lfs f1, 0x40(r25)
/* 80237E60 00234DC0 C0 1F 00 00 */ lfs f0, 0(r31)
/* 80237E64 00234DC4 EC 43 10 28 */ fsubs f2, f3, f2
/* 80237E68 00234DC8 D0 81 00 E4 */ stfs f4, 0xe4(r1)
/* 80237E6C 00234DCC EC 21 00 28 */ fsubs f1, f1, f0
/* 80237E70 00234DD0 C0 02 B7 64 */ lfs f0, lbl_805AD484@sda21(r2)
/* 80237E74 00234DD4 D0 41 00 E0 */ stfs f2, 0xe0(r1)
/* 80237E78 00234DD8 D0 21 00 DC */ stfs f1, 0xdc(r1)
/* 80237E7C 00234DDC D0 01 00 E4 */ stfs f0, 0xe4(r1)
/* 80237E80 00234DE0 48 0D C8 79 */ bl CanBeNormalized__9CVector3fCFv
/* 80237E84 00234DE4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80237E88 00234DE8 41 82 00 60 */ beq lbl_80237EE8
/* 80237E8C 00234DEC 38 61 00 B0 */ addi r3, r1, 0xb0
/* 80237E90 00234DF0 38 81 00 DC */ addi r4, r1, 0xdc
/* 80237E94 00234DF4 48 0D C9 BD */ bl AsNormalized__9CVector3fCFv
/* 80237E98 00234DF8 C0 41 00 B4 */ lfs f2, 0xb4(r1)
/* 80237E9C 00234DFC 38 61 00 98 */ addi r3, r1, 0x98
/* 80237EA0 00234E00 C0 21 00 B8 */ lfs f1, 0xb8(r1)
/* 80237EA4 00234E04 C0 01 00 B0 */ lfs f0, 0xb0(r1)
/* 80237EA8 00234E08 EC BE 00 B2 */ fmuls f5, f30, f2
/* 80237EAC 00234E0C EC 9E 00 72 */ fmuls f4, f30, f1
/* 80237EB0 00234E10 C0 5F 00 04 */ lfs f2, 4(r31)
/* 80237EB4 00234E14 EC 7E 00 32 */ fmuls f3, f30, f0
/* 80237EB8 00234E18 C0 3F 00 08 */ lfs f1, 8(r31)
/* 80237EBC 00234E1C C0 1F 00 00 */ lfs f0, 0(r31)
/* 80237EC0 00234E20 EC 42 28 2A */ fadds f2, f2, f5
/* 80237EC4 00234E24 EC 21 20 2A */ fadds f1, f1, f4
/* 80237EC8 00234E28 D0 61 00 A4 */ stfs f3, 0xa4(r1)
/* 80237ECC 00234E2C EC 00 18 2A */ fadds f0, f0, f3
/* 80237ED0 00234E30 D0 A1 00 A8 */ stfs f5, 0xa8(r1)
/* 80237ED4 00234E34 D0 81 00 AC */ stfs f4, 0xac(r1)
/* 80237ED8 00234E38 D0 01 00 98 */ stfs f0, 0x98(r1)
/* 80237EDC 00234E3C D0 41 00 9C */ stfs f2, 0x9c(r1)
/* 80237EE0 00234E40 D0 21 00 A0 */ stfs f1, 0xa0(r1)
/* 80237EE4 00234E44 48 00 00 5C */ b lbl_80237F40
lbl_80237EE8:
/* 80237EE8 00234E48 C1 19 00 58 */ lfs f8, 0x58(r25)
/* 80237EEC 00234E4C 38 61 00 74 */ addi r3, r1, 0x74
/* 80237EF0 00234E50 C0 F9 00 48 */ lfs f7, 0x48(r25)
/* 80237EF4 00234E54 C0 99 00 38 */ lfs f4, 0x38(r25)
/* 80237EF8 00234E58 EC BE 02 32 */ fmuls f5, f30, f8
/* 80237EFC 00234E5C EC DE 01 F2 */ fmuls f6, f30, f7
/* 80237F00 00234E60 C0 5F 00 04 */ lfs f2, 4(r31)
/* 80237F04 00234E64 EC 7E 01 32 */ fmuls f3, f30, f4
/* 80237F08 00234E68 C0 3F 00 08 */ lfs f1, 8(r31)
/* 80237F0C 00234E6C C0 1F 00 00 */ lfs f0, 0(r31)
/* 80237F10 00234E70 EC 42 30 2A */ fadds f2, f2, f6
/* 80237F14 00234E74 EC 21 28 2A */ fadds f1, f1, f5
/* 80237F18 00234E78 D0 81 00 8C */ stfs f4, 0x8c(r1)
/* 80237F1C 00234E7C EC 00 18 2A */ fadds f0, f0, f3
/* 80237F20 00234E80 D0 E1 00 90 */ stfs f7, 0x90(r1)
/* 80237F24 00234E84 D1 01 00 94 */ stfs f8, 0x94(r1)
/* 80237F28 00234E88 D0 61 00 80 */ stfs f3, 0x80(r1)
/* 80237F2C 00234E8C D0 C1 00 84 */ stfs f6, 0x84(r1)
/* 80237F30 00234E90 D0 A1 00 88 */ stfs f5, 0x88(r1)
/* 80237F34 00234E94 D0 01 00 74 */ stfs f0, 0x74(r1)
/* 80237F38 00234E98 D0 41 00 78 */ stfs f2, 0x78(r1)
/* 80237F3C 00234E9C D0 21 00 7C */ stfs f1, 0x7c(r1)
lbl_80237F40:
/* 80237F40 00234EA0 C0 59 00 60 */ lfs f2, 0x60(r25)
/* 80237F44 00234EA4 3B 9C 00 01 */ addi r28, r28, 1
/* 80237F48 00234EA8 C0 39 00 50 */ lfs f1, 0x50(r25)
/* 80237F4C 00234EAC 7C 1C D0 00 */ cmpw r28, r26
/* 80237F50 00234EB0 C0 19 00 40 */ lfs f0, 0x40(r25)
/* 80237F54 00234EB4 C0 63 00 00 */ lfs f3, 0(r3)
/* 80237F58 00234EB8 C0 83 00 04 */ lfs f4, 4(r3)
/* 80237F5C 00234EBC D0 01 00 68 */ stfs f0, 0x68(r1)
/* 80237F60 00234EC0 D0 7B 00 1C */ stfs f3, 0x1c(r27)
/* 80237F64 00234EC4 D0 9B 00 20 */ stfs f4, 0x20(r27)
/* 80237F68 00234EC8 D0 21 00 6C */ stfs f1, 0x6c(r1)
/* 80237F6C 00234ECC D0 41 00 70 */ stfs f2, 0x70(r1)
/* 80237F70 00234ED0 D0 5B 00 24 */ stfs f2, 0x24(r27)
/* 80237F74 00234ED4 40 81 00 10 */ ble lbl_80237F84
/* 80237F78 00234ED8 EF DE F8 2A */ fadds f30, f30, f31
/* 80237F7C 00234EDC 3B 80 00 00 */ li r28, 0
/* 80237F80 00234EE0 3B 5A 00 01 */ addi r26, r26, 1
lbl_80237F84:
/* 80237F84 00234EE4 3B 7B 00 28 */ addi r27, r27, 0x28
lbl_80237F88:
/* 80237F88 00234EE8 80 1D 00 5C */ lwz r0, 0x5c(r29)
/* 80237F8C 00234EEC 80 7D 00 64 */ lwz r3, 0x64(r29)
/* 80237F90 00234EF0 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80237F94 00234EF4 7D 23 02 14 */ add r9, r3, r0
/* 80237F98 00234EF8 7C 1B 48 40 */ cmplw r27, r9
/* 80237F9C 00234EFC 40 82 FE 78 */ bne lbl_80237E14
/* 80237FA0 00234F00 C0 5F 00 00 */ lfs f2, 0(r31)
/* 80237FA4 00234F04 39 00 00 00 */ li r8, 0
/* 80237FA8 00234F08 C0 3F 00 04 */ lfs f1, 4(r31)
/* 80237FAC 00234F0C 38 61 00 24 */ addi r3, r1, 0x24
/* 80237FB0 00234F10 C0 1F 00 08 */ lfs f0, 8(r31)
/* 80237FB4 00234F14 38 81 00 1C */ addi r4, r1, 0x1c
/* 80237FB8 00234F18 D0 41 00 48 */ stfs f2, 0x48(r1)
/* 80237FBC 00234F1C 38 A1 00 58 */ addi r5, r1, 0x58
/* 80237FC0 00234F20 D0 21 00 4C */ stfs f1, 0x4c(r1)
/* 80237FC4 00234F24 80 E1 00 48 */ lwz r7, 0x48(r1)
/* 80237FC8 00234F28 D0 01 00 50 */ stfs f0, 0x50(r1)
/* 80237FCC 00234F2C 80 C1 00 4C */ lwz r6, 0x4c(r1)
/* 80237FD0 00234F30 80 01 00 50 */ lwz r0, 0x50(r1)
/* 80237FD4 00234F34 90 E1 00 58 */ stw r7, 0x58(r1)
/* 80237FD8 00234F38 90 C1 00 5C */ stw r6, 0x5c(r1)
/* 80237FDC 00234F3C 90 01 00 60 */ stw r0, 0x60(r1)
/* 80237FE0 00234F40 91 01 00 64 */ stw r8, 0x64(r1)
/* 80237FE4 00234F44 91 21 00 1C */ stw r9, 0x1c(r1)
/* 80237FE8 00234F48 80 1D 00 64 */ lwz r0, 0x64(r29)
/* 80237FEC 00234F4C 91 01 00 54 */ stw r8, 0x54(r1)
/* 80237FF0 00234F50 91 21 00 18 */ stw r9, 0x18(r1)
/* 80237FF4 00234F54 90 01 00 20 */ stw r0, 0x20(r1)
/* 80237FF8 00234F58 90 01 00 24 */ stw r0, 0x24(r1)
/* 80237FFC 00234F5C 48 00 25 D1 */ bl "sort<rstl__vector<CTeamAiRole>_with_custom_comparator>"
/* 80238000 00234F60 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0
/* 80238004 00234F64 CB E1 01 20 */ lfd f31, 0x120(r1)
/* 80238008 00234F68 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0
/* 8023800C 00234F6C CB C1 01 10 */ lfd f30, 0x110(r1)
/* 80238010 00234F70 BB 21 00 F4 */ lmw r25, 0xf4(r1)
/* 80238014 00234F74 80 01 01 34 */ lwz r0, 0x134(r1)
/* 80238018 00234F78 7C 08 03 A6 */ mtlr r0
/* 8023801C 00234F7C 38 21 01 30 */ addi r1, r1, 0x130
/* 80238020 00234F80 4E 80 00 20 */ blr
.global PositionTeam__10CTeamAiMgrFR13CStateManager
PositionTeam__10CTeamAiMgrFR13CStateManager:
/* 80238024 00234F84 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80238028 00234F88 7C 08 02 A6 */ mflr r0
/* 8023802C 00234F8C C0 22 B7 64 */ lfs f1, lbl_805AD484@sda21(r2)
/* 80238030 00234F90 90 01 00 54 */ stw r0, 0x54(r1)
/* 80238034 00234F94 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 80238038 00234F98 93 C1 00 48 */ stw r30, 0x48(r1)
/* 8023803C 00234F9C 7C 9E 23 78 */ mr r30, r4
/* 80238040 00234FA0 7F C5 F3 78 */ mr r5, r30
/* 80238044 00234FA4 93 A1 00 44 */ stw r29, 0x44(r1)
/* 80238048 00234FA8 7C 7D 1B 78 */ mr r29, r3
/* 8023804C 00234FAC 38 61 00 24 */ addi r3, r1, 0x24
/* 80238050 00234FB0 80 84 08 4C */ lwz r4, 0x84c(r4)
/* 80238054 00234FB4 81 84 00 00 */ lwz r12, 0(r4)
/* 80238058 00234FB8 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 8023805C 00234FBC 7D 89 03 A6 */ mtctr r12
/* 80238060 00234FC0 4E 80 04 21 */ bctrl
/* 80238064 00234FC4 C0 41 00 24 */ lfs f2, 0x24(r1)
/* 80238068 00234FC8 C0 21 00 28 */ lfs f1, 0x28(r1)
/* 8023806C 00234FCC C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 80238070 00234FD0 D0 41 00 30 */ stfs f2, 0x30(r1)
/* 80238074 00234FD4 D0 21 00 34 */ stfs f1, 0x34(r1)
/* 80238078 00234FD8 D0 01 00 38 */ stfs f0, 0x38(r1)
/* 8023807C 00234FDC 80 1D 00 4C */ lwz r0, 0x4c(r29)
/* 80238080 00234FE0 2C 00 00 01 */ cmpwi r0, 1
/* 80238084 00234FE4 41 82 00 0C */ beq lbl_80238090
/* 80238088 00234FE8 40 80 00 1C */ bge lbl_802380A4
/* 8023808C 00234FEC 48 00 00 18 */ b lbl_802380A4
lbl_80238090:
/* 80238090 00234FF0 7F A3 EB 78 */ mr r3, r29
/* 80238094 00234FF4 7F C4 F3 78 */ mr r4, r30
/* 80238098 00234FF8 38 A1 00 30 */ addi r5, r1, 0x30
/* 8023809C 00234FFC 4B FF FC 51 */ bl SpacingSort__10CTeamAiMgrFR13CStateManagerRC9CVector3f
/* 802380A0 00235000 48 00 00 90 */ b lbl_80238130
lbl_802380A4:
/* 802380A4 00235004 83 FD 00 64 */ lwz r31, 0x64(r29)
/* 802380A8 00235008 48 00 00 70 */ b lbl_80238118
lbl_802380AC:
/* 802380AC 0023500C A0 1F 00 00 */ lhz r0, 0(r31)
/* 802380B0 00235010 7F C3 F3 78 */ mr r3, r30
/* 802380B4 00235014 38 81 00 0C */ addi r4, r1, 0xc
/* 802380B8 00235018 B0 01 00 08 */ sth r0, 8(r1)
/* 802380BC 0023501C B0 01 00 0C */ sth r0, 0xc(r1)
/* 802380C0 00235020 4B E1 44 B5 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 802380C4 00235024 7C 64 1B 78 */ mr r4, r3
/* 802380C8 00235028 38 61 00 10 */ addi r3, r1, 0x10
/* 802380CC 0023502C 4B E7 49 91 */ bl "__ct__24TCastToPtr<10CPatterned>FP7CEntity"
/* 802380D0 00235030 80 83 00 04 */ lwz r4, 4(r3)
/* 802380D4 00235034 28 04 00 00 */ cmplwi r4, 0
/* 802380D8 00235038 41 82 00 3C */ beq lbl_80238114
/* 802380DC 0023503C 81 84 00 00 */ lwz r12, 0(r4)
/* 802380E0 00235040 7F C5 F3 78 */ mr r5, r30
/* 802380E4 00235044 7F E6 FB 78 */ mr r6, r31
/* 802380E8 00235048 38 61 00 18 */ addi r3, r1, 0x18
/* 802380EC 0023504C 81 8C 00 A0 */ lwz r12, 0xa0(r12)
/* 802380F0 00235050 38 E1 00 30 */ addi r7, r1, 0x30
/* 802380F4 00235054 7D 89 03 A6 */ mtctr r12
/* 802380F8 00235058 4E 80 04 21 */ bctrl
/* 802380FC 0023505C C0 01 00 18 */ lfs f0, 0x18(r1)
/* 80238100 00235060 D0 1F 00 1C */ stfs f0, 0x1c(r31)
/* 80238104 00235064 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 80238108 00235068 D0 1F 00 20 */ stfs f0, 0x20(r31)
/* 8023810C 0023506C C0 01 00 20 */ lfs f0, 0x20(r1)
/* 80238110 00235070 D0 1F 00 24 */ stfs f0, 0x24(r31)
lbl_80238114:
/* 80238114 00235074 3B FF 00 28 */ addi r31, r31, 0x28
lbl_80238118:
/* 80238118 00235078 80 1D 00 5C */ lwz r0, 0x5c(r29)
/* 8023811C 0023507C 80 7D 00 64 */ lwz r3, 0x64(r29)
/* 80238120 00235080 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80238124 00235084 7C 03 02 14 */ add r0, r3, r0
/* 80238128 00235088 7C 1F 00 40 */ cmplw r31, r0
/* 8023812C 0023508C 40 82 FF 80 */ bne lbl_802380AC
lbl_80238130:
/* 80238130 00235090 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80238134 00235094 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 80238138 00235098 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 8023813C 0023509C 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 80238140 002350A0 7C 08 03 A6 */ mtlr r0
/* 80238144 002350A4 38 21 00 50 */ addi r1, r1, 0x50
/* 80238148 002350A8 4E 80 00 20 */ blr
.global AssignRoles__10CTeamAiMgrFQ211CTeamAiRole11ETeamAiRoleQ211CTeamAiRole11ETeamAiRole
AssignRoles__10CTeamAiMgrFQ211CTeamAiRole11ETeamAiRoleQ211CTeamAiRole11ETeamAiRole:
/* 8023814C 002350AC 28 05 00 00 */ cmplwi r5, 0
/* 80238150 002350B0 4D 82 00 20 */ beqlr
/* 80238154 002350B4 80 E3 00 64 */ lwz r7, 0x64(r3)
/* 80238158 002350B8 39 00 00 00 */ li r8, 0
/* 8023815C 002350BC 48 00 00 5C */ b lbl_802381B8
lbl_80238160:
/* 80238160 002350C0 80 07 00 10 */ lwz r0, 0x10(r7)
/* 80238164 002350C4 2C 00 00 00 */ cmpwi r0, 0
/* 80238168 002350C8 40 82 00 4C */ bne lbl_802381B4
/* 8023816C 002350CC 80 07 00 04 */ lwz r0, 4(r7)
/* 80238170 002350D0 38 C0 00 00 */ li r6, 0
/* 80238174 002350D4 7C 00 20 00 */ cmpw r0, r4
/* 80238178 002350D8 41 82 00 1C */ beq lbl_80238194
/* 8023817C 002350DC 80 07 00 08 */ lwz r0, 8(r7)
/* 80238180 002350E0 7C 00 20 00 */ cmpw r0, r4
/* 80238184 002350E4 41 82 00 10 */ beq lbl_80238194
/* 80238188 002350E8 80 07 00 0C */ lwz r0, 0xc(r7)
/* 8023818C 002350EC 7C 00 20 00 */ cmpw r0, r4
/* 80238190 002350F0 40 82 00 08 */ bne lbl_80238198
lbl_80238194:
/* 80238194 002350F4 38 C0 00 01 */ li r6, 1
lbl_80238198:
/* 80238198 002350F8 54 C0 06 3F */ clrlwi. r0, r6, 0x18
/* 8023819C 002350FC 41 82 00 18 */ beq lbl_802381B4
/* 802381A0 00235100 90 87 00 10 */ stw r4, 0x10(r7)
/* 802381A4 00235104 91 07 00 14 */ stw r8, 0x14(r7)
/* 802381A8 00235108 39 08 00 01 */ addi r8, r8, 1
/* 802381AC 0023510C 7C 08 28 40 */ cmplw r8, r5
/* 802381B0 00235110 4D 82 00 20 */ beqlr
lbl_802381B4:
/* 802381B4 00235114 38 E7 00 28 */ addi r7, r7, 0x28
lbl_802381B8:
/* 802381B8 00235118 80 03 00 5C */ lwz r0, 0x5c(r3)
/* 802381BC 0023511C 80 C3 00 64 */ lwz r6, 0x64(r3)
/* 802381C0 00235120 1C 00 00 28 */ mulli r0, r0, 0x28
/* 802381C4 00235124 7C 06 02 14 */ add r0, r6, r0
/* 802381C8 00235128 7C 07 00 40 */ cmplw r7, r0
/* 802381CC 0023512C 40 82 FF 94 */ bne lbl_80238160
.global sub_802381d0
sub_802381d0:
/* 802381D0 00235130 4E 80 00 20 */ blr
.global ResetRoles__10CTeamAiMgrFR13CStateManager
ResetRoles__10CTeamAiMgrFR13CStateManager:
/* 802381D4 00235134 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802381D8 00235138 7C 08 02 A6 */ mflr r0
/* 802381DC 0023513C 90 01 00 24 */ stw r0, 0x24(r1)
/* 802381E0 00235140 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802381E4 00235144 3B E0 00 00 */ li r31, 0
/* 802381E8 00235148 93 C1 00 18 */ stw r30, 0x18(r1)
/* 802381EC 0023514C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 802381F0 00235150 7C 9D 23 78 */ mr r29, r4
/* 802381F4 00235154 93 81 00 10 */ stw r28, 0x10(r1)
/* 802381F8 00235158 7C 7C 1B 78 */ mr r28, r3
/* 802381FC 0023515C 83 C3 00 64 */ lwz r30, 0x64(r3)
/* 80238200 00235160 48 00 00 48 */ b lbl_80238248
lbl_80238204:
/* 80238204 00235164 93 FE 00 10 */ stw r31, 0x10(r30)
/* 80238208 00235168 7F A3 EB 78 */ mr r3, r29
/* 8023820C 0023516C 38 81 00 0C */ addi r4, r1, 0xc
/* 80238210 00235170 93 FE 00 14 */ stw r31, 0x14(r30)
/* 80238214 00235174 A0 1E 00 00 */ lhz r0, 0(r30)
/* 80238218 00235178 B0 01 00 08 */ sth r0, 8(r1)
/* 8023821C 0023517C B0 01 00 0C */ sth r0, 0xc(r1)
/* 80238220 00235180 4B E1 43 85 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 80238224 00235184 28 03 00 00 */ cmplwi r3, 0
/* 80238228 00235188 41 82 00 1C */ beq lbl_80238244
/* 8023822C 0023518C C0 43 00 60 */ lfs f2, 0x60(r3)
/* 80238230 00235190 C0 23 00 50 */ lfs f1, 0x50(r3)
/* 80238234 00235194 C0 03 00 40 */ lfs f0, 0x40(r3)
/* 80238238 00235198 D0 1E 00 1C */ stfs f0, 0x1c(r30)
/* 8023823C 0023519C D0 3E 00 20 */ stfs f1, 0x20(r30)
/* 80238240 002351A0 D0 5E 00 24 */ stfs f2, 0x24(r30)
lbl_80238244:
/* 80238244 002351A4 3B DE 00 28 */ addi r30, r30, 0x28
lbl_80238248:
/* 80238248 002351A8 80 1C 00 5C */ lwz r0, 0x5c(r28)
/* 8023824C 002351AC 80 7C 00 64 */ lwz r3, 0x64(r28)
/* 80238250 002351B0 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80238254 002351B4 7C 03 02 14 */ add r0, r3, r0
/* 80238258 002351B8 7C 1E 00 40 */ cmplw r30, r0
/* 8023825C 002351BC 40 82 FF A8 */ bne lbl_80238204
/* 80238260 002351C0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80238264 002351C4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80238268 002351C8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8023826C 002351CC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80238270 002351D0 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80238274 002351D4 7C 08 03 A6 */ mtlr r0
/* 80238278 002351D8 38 21 00 20 */ addi r1, r1, 0x20
/* 8023827C 002351DC 4E 80 00 20 */ blr
.global UpdateRoles__10CTeamAiMgrFR13CStateManager
UpdateRoles__10CTeamAiMgrFR13CStateManager:
/* 80238280 002351E0 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 80238284 002351E4 7C 08 02 A6 */ mflr r0
/* 80238288 002351E8 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 8023828C 002351EC DB E1 00 A0 */ stfd f31, 0xa0(r1)
/* 80238290 002351F0 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0
/* 80238294 002351F4 DB C1 00 90 */ stfd f30, 0x90(r1)
/* 80238298 002351F8 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0
/* 8023829C 002351FC DB A1 00 80 */ stfd f29, 0x80(r1)
/* 802382A0 00235200 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0
/* 802382A4 00235204 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 802382A8 00235208 93 C1 00 78 */ stw r30, 0x78(r1)
/* 802382AC 0023520C 7C 7F 1B 78 */ mr r31, r3
/* 802382B0 00235210 7C 9E 23 78 */ mr r30, r4
/* 802382B4 00235214 4B FF FF 21 */ bl ResetRoles__10CTeamAiMgrFR13CStateManager
/* 802382B8 00235218 80 9E 08 4C */ lwz r4, 0x84c(r30)
/* 802382BC 0023521C 7F C5 F3 78 */ mr r5, r30
/* 802382C0 00235220 38 61 00 68 */ addi r3, r1, 0x68
/* 802382C4 00235224 C0 22 B7 64 */ lfs f1, lbl_805AD484@sda21(r2)
/* 802382C8 00235228 81 84 00 00 */ lwz r12, 0(r4)
/* 802382CC 0023522C 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 802382D0 00235230 7D 89 03 A6 */ mtctr r12
/* 802382D4 00235234 4E 80 04 21 */ bctrl
/* 802382D8 00235238 C3 A1 00 68 */ lfs f29, 0x68(r1)
/* 802382DC 0023523C 39 00 00 01 */ li r8, 1
/* 802382E0 00235240 C3 E1 00 6C */ lfs f31, 0x6c(r1)
/* 802382E4 00235244 38 61 00 24 */ addi r3, r1, 0x24
/* 802382E8 00235248 C3 C1 00 70 */ lfs f30, 0x70(r1)
/* 802382EC 0023524C 38 81 00 1C */ addi r4, r1, 0x1c
/* 802382F0 00235250 D3 A1 00 48 */ stfs f29, 0x48(r1)
/* 802382F4 00235254 38 A1 00 58 */ addi r5, r1, 0x58
/* 802382F8 00235258 D3 E1 00 4C */ stfs f31, 0x4c(r1)
/* 802382FC 0023525C 80 E1 00 48 */ lwz r7, 0x48(r1)
/* 80238300 00235260 D3 C1 00 50 */ stfs f30, 0x50(r1)
/* 80238304 00235264 80 C1 00 4C */ lwz r6, 0x4c(r1)
/* 80238308 00235268 80 01 00 50 */ lwz r0, 0x50(r1)
/* 8023830C 0023526C 90 E1 00 58 */ stw r7, 0x58(r1)
/* 80238310 00235270 90 C1 00 5C */ stw r6, 0x5c(r1)
/* 80238314 00235274 90 01 00 60 */ stw r0, 0x60(r1)
/* 80238318 00235278 91 01 00 64 */ stw r8, 0x64(r1)
/* 8023831C 0023527C 80 1F 00 5C */ lwz r0, 0x5c(r31)
/* 80238320 00235280 80 DF 00 64 */ lwz r6, 0x64(r31)
/* 80238324 00235284 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80238328 00235288 91 01 00 54 */ stw r8, 0x54(r1)
/* 8023832C 0023528C 7C C6 02 14 */ add r6, r6, r0
/* 80238330 00235290 90 C1 00 1C */ stw r6, 0x1c(r1)
/* 80238334 00235294 80 1F 00 64 */ lwz r0, 0x64(r31)
/* 80238338 00235298 90 C1 00 18 */ stw r6, 0x18(r1)
/* 8023833C 0023529C 90 01 00 20 */ stw r0, 0x20(r1)
/* 80238340 002352A0 90 01 00 24 */ stw r0, 0x24(r1)
/* 80238344 002352A4 48 00 22 89 */ bl "sort<rstl__vector<CTeamAiRole>_with_custom_comparator>"
/* 80238348 002352A8 80 BF 00 38 */ lwz r5, 0x38(r31)
/* 8023834C 002352AC 7F E3 FB 78 */ mr r3, r31
/* 80238350 002352B0 38 80 00 01 */ li r4, 1
/* 80238354 002352B4 4B FF FD F9 */ bl AssignRoles__10CTeamAiMgrFQ211CTeamAiRole11ETeamAiRoleQ211CTeamAiRole11ETeamAiRole
/* 80238358 002352B8 80 BF 00 3C */ lwz r5, 0x3c(r31)
/* 8023835C 002352BC 7F E3 FB 78 */ mr r3, r31
/* 80238360 002352C0 38 80 00 02 */ li r4, 2
/* 80238364 002352C4 4B FF FD E9 */ bl AssignRoles__10CTeamAiMgrFQ211CTeamAiRole11ETeamAiRoleQ211CTeamAiRole11ETeamAiRole
/* 80238368 002352C8 80 BF 00 40 */ lwz r5, 0x40(r31)
/* 8023836C 002352CC 7F E3 FB 78 */ mr r3, r31
/* 80238370 002352D0 38 80 00 03 */ li r4, 3
/* 80238374 002352D4 4B FF FD D9 */ bl AssignRoles__10CTeamAiMgrFQ211CTeamAiRole11ETeamAiRoleQ211CTeamAiRole11ETeamAiRole
/* 80238378 002352D8 80 BF 00 64 */ lwz r5, 0x64(r31)
/* 8023837C 002352DC 38 80 00 04 */ li r4, 4
/* 80238380 002352E0 48 00 00 34 */ b lbl_802383B4
lbl_80238384:
/* 80238384 002352E4 80 65 00 10 */ lwz r3, 0x10(r5)
/* 80238388 002352E8 38 00 00 00 */ li r0, 0
/* 8023838C 002352EC 2C 03 00 00 */ cmpwi r3, 0
/* 80238390 002352F0 41 82 00 14 */ beq lbl_802383A4
/* 80238394 002352F4 41 80 00 10 */ blt lbl_802383A4
/* 80238398 002352F8 2C 03 00 04 */ cmpwi r3, 4
/* 8023839C 002352FC 41 81 00 08 */ bgt lbl_802383A4
/* 802383A0 00235300 38 00 00 01 */ li r0, 1
lbl_802383A4:
/* 802383A4 00235304 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 802383A8 00235308 40 82 00 08 */ bne lbl_802383B0
/* 802383AC 0023530C 90 85 00 10 */ stw r4, 0x10(r5)
lbl_802383B0:
/* 802383B0 00235310 38 A5 00 28 */ addi r5, r5, 0x28
lbl_802383B4:
/* 802383B4 00235314 80 1F 00 5C */ lwz r0, 0x5c(r31)
/* 802383B8 00235318 80 7F 00 64 */ lwz r3, 0x64(r31)
/* 802383BC 0023531C 1C 00 00 28 */ mulli r0, r0, 0x28
/* 802383C0 00235320 7D 23 02 14 */ add r9, r3, r0
/* 802383C4 00235324 7C 05 48 40 */ cmplw r5, r9
/* 802383C8 00235328 40 82 FF BC */ bne lbl_80238384
/* 802383CC 0023532C D3 A1 00 28 */ stfs f29, 0x28(r1)
/* 802383D0 00235330 39 00 00 00 */ li r8, 0
/* 802383D4 00235334 38 61 00 14 */ addi r3, r1, 0x14
/* 802383D8 00235338 38 81 00 0C */ addi r4, r1, 0xc
/* 802383DC 0023533C D3 E1 00 2C */ stfs f31, 0x2c(r1)
/* 802383E0 00235340 38 A1 00 38 */ addi r5, r1, 0x38
/* 802383E4 00235344 80 E1 00 28 */ lwz r7, 0x28(r1)
/* 802383E8 00235348 D3 C1 00 30 */ stfs f30, 0x30(r1)
/* 802383EC 0023534C 80 C1 00 2C */ lwz r6, 0x2c(r1)
/* 802383F0 00235350 80 01 00 30 */ lwz r0, 0x30(r1)
/* 802383F4 00235354 90 E1 00 38 */ stw r7, 0x38(r1)
/* 802383F8 00235358 90 C1 00 3C */ stw r6, 0x3c(r1)
/* 802383FC 0023535C 90 01 00 40 */ stw r0, 0x40(r1)
/* 80238400 00235360 91 01 00 44 */ stw r8, 0x44(r1)
/* 80238404 00235364 91 21 00 0C */ stw r9, 0xc(r1)
/* 80238408 00235368 80 1F 00 64 */ lwz r0, 0x64(r31)
/* 8023840C 0023536C 91 01 00 34 */ stw r8, 0x34(r1)
/* 80238410 00235370 91 21 00 08 */ stw r9, 8(r1)
/* 80238414 00235374 90 01 00 10 */ stw r0, 0x10(r1)
/* 80238418 00235378 90 01 00 14 */ stw r0, 0x14(r1)
/* 8023841C 0023537C 48 00 21 B1 */ bl "sort<rstl__vector<CTeamAiRole>_with_custom_comparator>"
/* 80238420 00235380 C0 02 B7 64 */ lfs f0, lbl_805AD484@sda21(r2)
/* 80238424 00235384 D0 1F 00 88 */ stfs f0, 0x88(r31)
/* 80238428 00235388 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0
/* 8023842C 0023538C CB E1 00 A0 */ lfd f31, 0xa0(r1)
/* 80238430 00235390 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0
/* 80238434 00235394 CB C1 00 90 */ lfd f30, 0x90(r1)
/* 80238438 00235398 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0
/* 8023843C 0023539C CB A1 00 80 */ lfd f29, 0x80(r1)
/* 80238440 002353A0 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 80238444 002353A4 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 80238448 002353A8 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 8023844C 002353AC 7C 08 03 A6 */ mtlr r0
/* 80238450 002353B0 38 21 00 B0 */ addi r1, r1, 0xb0
/* 80238454 002353B4 4E 80 00 20 */ blr
.global ShouldUpdateRoles__10CTeamAiMgrFf
ShouldUpdateRoles__10CTeamAiMgrFf:
/* 80238458 002353B8 80 03 00 5C */ lwz r0, 0x5c(r3)
/* 8023845C 002353BC 2C 00 00 00 */ cmpwi r0, 0
/* 80238460 002353C0 40 81 00 7C */ ble lbl_802384DC
/* 80238464 002353C4 C0 43 00 88 */ lfs f2, 0x88(r3)
/* 80238468 002353C8 C0 02 B7 60 */ lfs f0, lbl_805AD480@sda21(r2)
/* 8023846C 002353CC EC 22 08 2A */ fadds f1, f2, f1
/* 80238470 002353D0 D0 23 00 88 */ stfs f1, 0x88(r3)
/* 80238474 002353D4 C0 23 00 88 */ lfs f1, 0x88(r3)
/* 80238478 002353D8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8023847C 002353DC 4C 41 13 82 */ cror 2, 1, 2
/* 80238480 002353E0 40 82 00 0C */ bne lbl_8023848C
/* 80238484 002353E4 38 60 00 01 */ li r3, 1
/* 80238488 002353E8 4E 80 00 20 */ blr
lbl_8023848C:
/* 8023848C 002353EC 80 03 00 5C */ lwz r0, 0x5c(r3)
/* 80238490 002353F0 80 83 00 64 */ lwz r4, 0x64(r3)
/* 80238494 002353F4 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80238498 002353F8 7C 64 02 14 */ add r3, r4, r0
/* 8023849C 002353FC 48 00 00 38 */ b lbl_802384D4
lbl_802384A0:
/* 802384A0 00235400 80 A4 00 10 */ lwz r5, 0x10(r4)
/* 802384A4 00235404 38 00 00 00 */ li r0, 0
/* 802384A8 00235408 2C 05 00 00 */ cmpwi r5, 0
/* 802384AC 0023540C 41 82 00 14 */ beq lbl_802384C0
/* 802384B0 00235410 41 80 00 10 */ blt lbl_802384C0
/* 802384B4 00235414 2C 05 00 04 */ cmpwi r5, 4
/* 802384B8 00235418 41 81 00 08 */ bgt lbl_802384C0
/* 802384BC 0023541C 38 00 00 01 */ li r0, 1
lbl_802384C0:
/* 802384C0 00235420 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 802384C4 00235424 40 82 00 0C */ bne lbl_802384D0
/* 802384C8 00235428 38 60 00 01 */ li r3, 1
/* 802384CC 0023542C 4E 80 00 20 */ blr
lbl_802384D0:
/* 802384D0 00235430 38 84 00 28 */ addi r4, r4, 0x28
lbl_802384D4:
/* 802384D4 00235434 7C 04 18 40 */ cmplw r4, r3
/* 802384D8 00235438 40 82 FF C8 */ bne lbl_802384A0
lbl_802384DC:
/* 802384DC 0023543C 38 60 00 00 */ li r3, 0
/* 802384E0 00235440 4E 80 00 20 */ blr
.global RemoveProjectileAttacker__10CTeamAiMgrF9TUniqueId
RemoveProjectileAttacker__10CTeamAiMgrF9TUniqueId:
/* 802384E4 00235444 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 802384E8 00235448 7C 08 02 A6 */ mflr r0
/* 802384EC 0023544C 90 01 00 44 */ stw r0, 0x44(r1)
/* 802384F0 00235450 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 802384F4 00235454 7C 7F 1B 78 */ mr r31, r3
/* 802384F8 00235458 93 C1 00 38 */ stw r30, 0x38(r1)
/* 802384FC 0023545C 7C 9E 23 78 */ mr r30, r4
/* 80238500 00235460 7F C6 F3 78 */ mr r6, r30
/* 80238504 00235464 38 81 00 10 */ addi r4, r1, 0x10
/* 80238508 00235468 80 03 00 7C */ lwz r0, 0x7c(r3)
/* 8023850C 0023546C 80 A3 00 84 */ lwz r5, 0x84(r3)
/* 80238510 00235470 38 61 00 0C */ addi r3, r1, 0xc
/* 80238514 00235474 54 00 08 3C */ slwi r0, r0, 1
/* 80238518 00235478 7C E5 02 14 */ add r7, r5, r0
/* 8023851C 0023547C 38 A1 00 14 */ addi r5, r1, 0x14
/* 80238520 00235480 90 E1 00 24 */ stw r7, 0x24(r1)
/* 80238524 00235484 80 1F 00 84 */ lwz r0, 0x84(r31)
/* 80238528 00235488 90 E1 00 20 */ stw r7, 0x20(r1)
/* 8023852C 0023548C 90 01 00 28 */ stw r0, 0x28(r1)
/* 80238530 00235490 90 E1 00 14 */ stw r7, 0x14(r1)
/* 80238534 00235494 90 01 00 10 */ stw r0, 0x10(r1)
/* 80238538 00235498 48 00 26 79 */ bl "lower_bound<Q24rstl17vector<TUniqueId>>"
/* 8023853C 0023549C 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 80238540 002354A0 38 80 00 00 */ li r4, 0
/* 80238544 002354A4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80238548 002354A8 90 A1 00 08 */ stw r5, 8(r1)
/* 8023854C 002354AC 7C 05 00 40 */ cmplw r5, r0
/* 80238550 002354B0 41 82 00 18 */ beq lbl_80238568
/* 80238554 002354B4 A0 7E 00 00 */ lhz r3, 0(r30)
/* 80238558 002354B8 A0 05 00 00 */ lhz r0, 0(r5)
/* 8023855C 002354BC 7C 03 00 40 */ cmplw r3, r0
/* 80238560 002354C0 41 80 00 08 */ blt lbl_80238568
/* 80238564 002354C4 38 80 00 01 */ li r4, 1
lbl_80238568:
/* 80238568 002354C8 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8023856C 002354CC 38 81 00 24 */ addi r4, r1, 0x24
/* 80238570 002354D0 41 82 00 08 */ beq lbl_80238578
/* 80238574 002354D4 38 81 00 08 */ addi r4, r1, 8
lbl_80238578:
/* 80238578 002354D8 80 1F 00 7C */ lwz r0, 0x7c(r31)
/* 8023857C 002354DC 80 7F 00 84 */ lwz r3, 0x84(r31)
/* 80238580 002354E0 54 00 08 3C */ slwi r0, r0, 1
/* 80238584 002354E4 80 84 00 00 */ lwz r4, 0(r4)
/* 80238588 002354E8 7C 03 02 14 */ add r0, r3, r0
/* 8023858C 002354EC 7C 04 00 40 */ cmplw r4, r0
/* 80238590 002354F0 90 81 00 2C */ stw r4, 0x2c(r1)
/* 80238594 002354F4 41 82 00 18 */ beq lbl_802385AC
/* 80238598 002354F8 90 81 00 18 */ stw r4, 0x18(r1)
/* 8023859C 002354FC 38 61 00 1C */ addi r3, r1, 0x1c
/* 802385A0 00235500 38 9F 00 78 */ addi r4, r31, 0x78
/* 802385A4 00235504 38 A1 00 18 */ addi r5, r1, 0x18
/* 802385A8 00235508 4B DD 2C B1 */ bl "erase__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>FQ24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>"
lbl_802385AC:
/* 802385AC 0023550C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 802385B0 00235510 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 802385B4 00235514 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 802385B8 00235518 7C 08 03 A6 */ mtlr r0
/* 802385BC 0023551C 38 21 00 40 */ addi r1, r1, 0x40
/* 802385C0 00235520 4E 80 00 20 */ blr
.global AddProjectileAttacker__10CTeamAiMgrF9TUniqueId
AddProjectileAttacker__10CTeamAiMgrF9TUniqueId:
/* 802385C4 00235524 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 802385C8 00235528 7C 08 02 A6 */ mflr r0
/* 802385CC 0023552C 90 01 00 54 */ stw r0, 0x54(r1)
/* 802385D0 00235530 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 802385D4 00235534 7C 9F 23 78 */ mr r31, r4
/* 802385D8 00235538 93 C1 00 48 */ stw r30, 0x48(r1)
/* 802385DC 0023553C 7C 7E 1B 78 */ mr r30, r3
/* 802385E0 00235540 C0 23 00 94 */ lfs f1, 0x94(r3)
/* 802385E4 00235544 C0 03 00 54 */ lfs f0, 0x54(r3)
/* 802385E8 00235548 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802385EC 0023554C 4C 41 13 82 */ cror 2, 1, 2
/* 802385F0 00235550 40 82 01 34 */ bne lbl_80238724
/* 802385F4 00235554 80 9E 00 7C */ lwz r4, 0x7c(r30)
/* 802385F8 00235558 80 1E 00 48 */ lwz r0, 0x48(r30)
/* 802385FC 0023555C 7C 04 00 40 */ cmplw r4, r0
/* 80238600 00235560 40 80 01 24 */ bge lbl_80238724
/* 80238604 00235564 A0 1F 00 00 */ lhz r0, 0(r31)
/* 80238608 00235568 38 81 00 08 */ addi r4, r1, 8
/* 8023860C 0023556C B0 01 00 08 */ sth r0, 8(r1)
/* 80238610 00235570 48 00 0A F5 */ bl HasTeamAiRole__10CTeamAiMgrCF9TUniqueId
/* 80238614 00235574 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80238618 00235578 41 82 01 0C */ beq lbl_80238724
/* 8023861C 0023557C 80 1E 00 7C */ lwz r0, 0x7c(r30)
/* 80238620 00235580 7F E6 FB 78 */ mr r6, r31
/* 80238624 00235584 80 BE 00 84 */ lwz r5, 0x84(r30)
/* 80238628 00235588 38 61 00 10 */ addi r3, r1, 0x10
/* 8023862C 0023558C 54 00 08 3C */ slwi r0, r0, 1
/* 80238630 00235590 38 81 00 14 */ addi r4, r1, 0x14
/* 80238634 00235594 7C E5 02 14 */ add r7, r5, r0
/* 80238638 00235598 38 A1 00 18 */ addi r5, r1, 0x18
/* 8023863C 0023559C 90 E1 00 3C */ stw r7, 0x3c(r1)
/* 80238640 002355A0 80 1E 00 84 */ lwz r0, 0x84(r30)
/* 80238644 002355A4 90 E1 00 38 */ stw r7, 0x38(r1)
/* 80238648 002355A8 90 01 00 40 */ stw r0, 0x40(r1)
/* 8023864C 002355AC 90 E1 00 18 */ stw r7, 0x18(r1)
/* 80238650 002355B0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80238654 002355B4 48 00 25 5D */ bl "lower_bound<Q24rstl17vector<TUniqueId>>"
/* 80238658 002355B8 80 A1 00 10 */ lwz r5, 0x10(r1)
/* 8023865C 002355BC 38 80 00 00 */ li r4, 0
/* 80238660 002355C0 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 80238664 002355C4 90 A1 00 0C */ stw r5, 0xc(r1)
/* 80238668 002355C8 7C 05 00 40 */ cmplw r5, r0
/* 8023866C 002355CC 41 82 00 18 */ beq lbl_80238684
/* 80238670 002355D0 A0 7F 00 00 */ lhz r3, 0(r31)
/* 80238674 002355D4 A0 05 00 00 */ lhz r0, 0(r5)
/* 80238678 002355D8 7C 03 00 40 */ cmplw r3, r0
/* 8023867C 002355DC 41 80 00 08 */ blt lbl_80238684
/* 80238680 002355E0 38 80 00 01 */ li r4, 1
lbl_80238684:
/* 80238684 002355E4 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80238688 002355E8 38 A1 00 3C */ addi r5, r1, 0x3c
/* 8023868C 002355EC 41 82 00 08 */ beq lbl_80238694
/* 80238690 002355F0 38 A1 00 0C */ addi r5, r1, 0xc
lbl_80238694:
/* 80238694 002355F4 80 DE 00 7C */ lwz r6, 0x7c(r30)
/* 80238698 002355F8 80 9E 00 84 */ lwz r4, 0x84(r30)
/* 8023869C 002355FC 54 C3 08 3C */ slwi r3, r6, 1
/* 802386A0 00235600 80 05 00 00 */ lwz r0, 0(r5)
/* 802386A4 00235604 7C 64 1A 14 */ add r3, r4, r3
/* 802386A8 00235608 7C 00 18 40 */ cmplw r0, r3
/* 802386AC 0023560C 40 82 00 70 */ bne lbl_8023871C
/* 802386B0 00235610 38 7E 00 78 */ addi r3, r30, 0x78
/* 802386B4 00235614 38 86 00 01 */ addi r4, r6, 1
/* 802386B8 00235618 4B DD 3D 51 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi"
/* 802386BC 0023561C 80 1E 00 7C */ lwz r0, 0x7c(r30)
/* 802386C0 00235620 7F E6 FB 78 */ mr r6, r31
/* 802386C4 00235624 80 BE 00 84 */ lwz r5, 0x84(r30)
/* 802386C8 00235628 38 61 00 34 */ addi r3, r1, 0x34
/* 802386CC 0023562C 54 00 08 3C */ slwi r0, r0, 1
/* 802386D0 00235630 38 81 00 30 */ addi r4, r1, 0x30
/* 802386D4 00235634 7C E5 02 14 */ add r7, r5, r0
/* 802386D8 00235638 38 A1 00 28 */ addi r5, r1, 0x28
/* 802386DC 0023563C 90 E1 00 28 */ stw r7, 0x28(r1)
/* 802386E0 00235640 80 1E 00 84 */ lwz r0, 0x84(r30)
/* 802386E4 00235644 90 E1 00 24 */ stw r7, 0x24(r1)
/* 802386E8 00235648 90 01 00 2C */ stw r0, 0x2c(r1)
/* 802386EC 0023564C 90 01 00 30 */ stw r0, 0x30(r1)
/* 802386F0 00235650 48 00 24 C1 */ bl "lower_bound<Q24rstl17vector<TUniqueId>>"
/* 802386F4 00235654 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802386F8 00235658 7F E6 FB 78 */ mr r6, r31
/* 802386FC 0023565C 38 61 00 20 */ addi r3, r1, 0x20
/* 80238700 00235660 38 9E 00 78 */ addi r4, r30, 0x78
/* 80238704 00235664 90 01 00 44 */ stw r0, 0x44(r1)
/* 80238708 00235668 38 A1 00 1C */ addi r5, r1, 0x1c
/* 8023870C 0023566C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80238710 00235670 48 00 00 31 */ bl sub_80238740
/* 80238714 00235674 C0 02 B7 64 */ lfs f0, lbl_805AD484@sda21(r2)
/* 80238718 00235678 D0 1E 00 94 */ stfs f0, 0x94(r30)
lbl_8023871C:
/* 8023871C 0023567C 38 60 00 01 */ li r3, 1
/* 80238720 00235680 48 00 00 08 */ b lbl_80238728
lbl_80238724:
/* 80238724 00235684 38 60 00 00 */ li r3, 0
lbl_80238728:
/* 80238728 00235688 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8023872C 0023568C 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 80238730 00235690 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 80238734 00235694 7C 08 03 A6 */ mtlr r0
/* 80238738 00235698 38 21 00 50 */ addi r1, r1, 0x50
/* 8023873C 0023569C 4E 80 00 20 */ blr
.global sub_80238740
sub_80238740:
/* 80238740 002356A0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80238744 002356A4 7C 08 02 A6 */ mflr r0
/* 80238748 002356A8 90 01 00 34 */ stw r0, 0x34(r1)
/* 8023874C 002356AC 38 00 00 00 */ li r0, 0
/* 80238750 002356B0 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80238754 002356B4 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80238758 002356B8 7C 9E 23 78 */ mr r30, r4
/* 8023875C 002356BC 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80238760 002356C0 7C 7D 1B 78 */ mr r29, r3
/* 80238764 002356C4 7F C3 F3 78 */ mr r3, r30
/* 80238768 002356C8 80 84 00 0C */ lwz r4, 0xc(r4)
/* 8023876C 002356CC 80 E5 00 00 */ lwz r7, 0(r5)
/* 80238770 002356D0 90 C1 00 14 */ stw r6, 0x14(r1)
/* 80238774 002356D4 7C A4 38 50 */ subf r5, r4, r7
/* 80238778 002356D8 54 A4 0F FE */ srwi r4, r5, 0x1f
/* 8023877C 002356DC 90 C1 00 0C */ stw r6, 0xc(r1)
/* 80238780 002356E0 7C A4 2A 14 */ add r5, r4, r5
/* 80238784 002356E4 38 C1 00 0C */ addi r6, r1, 0xc
/* 80238788 002356E8 7C BF 0E 70 */ srawi r31, r5, 1
/* 8023878C 002356EC 90 01 00 18 */ stw r0, 0x18(r1)
/* 80238790 002356F0 38 81 00 08 */ addi r4, r1, 8
/* 80238794 002356F4 38 A0 00 01 */ li r5, 1
/* 80238798 002356F8 90 01 00 10 */ stw r0, 0x10(r1)
/* 8023879C 002356FC 90 E1 00 08 */ stw r7, 8(r1)
/* 802387A0 00235700 48 00 00 31 */ bl sub_802387d0
/* 802387A4 00235704 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 802387A8 00235708 57 E0 08 3C */ slwi r0, r31, 1
/* 802387AC 0023570C 7C 63 02 14 */ add r3, r3, r0
/* 802387B0 00235710 90 7D 00 00 */ stw r3, 0(r29)
/* 802387B4 00235714 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802387B8 00235718 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 802387BC 0023571C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 802387C0 00235720 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 802387C4 00235724 7C 08 03 A6 */ mtlr r0
/* 802387C8 00235728 38 21 00 30 */ addi r1, r1, 0x30
/* 802387CC 0023572C 4E 80 00 20 */ blr
.global sub_802387d0
sub_802387d0:
/* 802387D0 00235730 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 802387D4 00235734 7C 08 02 A6 */ mflr r0
/* 802387D8 00235738 90 01 00 34 */ stw r0, 0x34(r1)
/* 802387DC 0023573C BF 21 00 14 */ stmw r25, 0x14(r1)
/* 802387E0 00235740 7C 7A 1B 78 */ mr r26, r3
/* 802387E4 00235744 7C BB 2B 78 */ mr r27, r5
/* 802387E8 00235748 7C 99 23 78 */ mr r25, r4
/* 802387EC 0023574C 81 03 00 04 */ lwz r8, 4(r3)
/* 802387F0 00235750 80 63 00 08 */ lwz r3, 8(r3)
/* 802387F4 00235754 7C 88 DA 14 */ add r4, r8, r27
/* 802387F8 00235758 80 FA 00 0C */ lwz r7, 0xc(r26)
/* 802387FC 0023575C 7C 04 18 00 */ cmpw r4, r3
/* 80238800 00235760 83 C6 00 00 */ lwz r30, 0(r6)
/* 80238804 00235764 7C FD 3B 78 */ mr r29, r7
/* 80238808 00235768 41 81 00 A0 */ bgt lbl_802388A8
/* 8023880C 0023576C 80 19 00 00 */ lwz r0, 0(r25)
/* 80238810 00235770 57 64 08 3C */ slwi r4, r27, 1
/* 80238814 00235774 7C 67 00 50 */ subf r3, r7, r0
/* 80238818 00235778 54 60 0F FE */ srwi r0, r3, 0x1f
/* 8023881C 0023577C 7C 00 1A 14 */ add r0, r0, r3
/* 80238820 00235780 7C 05 0E 70 */ srawi r5, r0, 1
/* 80238824 00235784 7C 65 40 50 */ subf r3, r5, r8
/* 80238828 00235788 35 03 FF FF */ addic. r8, r3, -1
/* 8023882C 0023578C 54 A0 08 3C */ slwi r0, r5, 1
/* 80238830 00235790 7C C7 02 14 */ add r6, r7, r0
/* 80238834 00235794 55 03 08 3C */ slwi r3, r8, 1
/* 80238838 00235798 38 08 00 01 */ addi r0, r8, 1
/* 8023883C 0023579C 7C 84 1A 14 */ add r4, r4, r3
/* 80238840 002357A0 7C 86 22 14 */ add r4, r6, r4
/* 80238844 002357A4 7C 09 03 A6 */ mtctr r0
/* 80238848 002357A8 41 80 00 2C */ blt lbl_80238874
lbl_8023884C:
/* 8023884C 002357AC 28 04 00 00 */ cmplwi r4, 0
/* 80238850 002357B0 7C 05 42 14 */ add r0, r5, r8
/* 80238854 002357B4 80 7A 00 0C */ lwz r3, 0xc(r26)
/* 80238858 002357B8 54 00 08 3C */ slwi r0, r0, 1
/* 8023885C 002357BC 41 82 00 0C */ beq lbl_80238868
/* 80238860 002357C0 7C 03 02 2E */ lhzx r0, r3, r0
/* 80238864 002357C4 B0 04 00 00 */ sth r0, 0(r4)
lbl_80238868:
/* 80238868 002357C8 38 84 FF FE */ addi r4, r4, -2
/* 8023886C 002357CC 39 08 FF FF */ addi r8, r8, -1
/* 80238870 002357D0 42 00 FF DC */ bdnz lbl_8023884C
lbl_80238874:
/* 80238874 002357D4 7F 69 03 A6 */ mtctr r27
/* 80238878 002357D8 2C 1B 00 00 */ cmpwi r27, 0
/* 8023887C 002357DC 40 81 00 1C */ ble lbl_80238898
lbl_80238880:
/* 80238880 002357E0 28 06 00 00 */ cmplwi r6, 0
/* 80238884 002357E4 41 82 00 0C */ beq lbl_80238890
/* 80238888 002357E8 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8023888C 002357EC B0 06 00 00 */ sth r0, 0(r6)
lbl_80238890:
/* 80238890 002357F0 38 C6 00 02 */ addi r6, r6, 2
/* 80238894 002357F4 42 00 FF EC */ bdnz lbl_80238880
lbl_80238898:
/* 80238898 002357F8 80 1A 00 04 */ lwz r0, 4(r26)
/* 8023889C 002357FC 7C 00 DA 14 */ add r0, r0, r27
/* 802388A0 00235800 90 1A 00 04 */ stw r0, 4(r26)
/* 802388A4 00235804 48 00 01 4C */ b lbl_802389F0
lbl_802388A8:
/* 802388A8 00235808 2C 03 00 00 */ cmpwi r3, 0
/* 802388AC 0023580C 38 00 00 04 */ li r0, 4
/* 802388B0 00235810 41 82 00 08 */ beq lbl_802388B8
/* 802388B4 00235814 54 60 08 3C */ slwi r0, r3, 1
lbl_802388B8:
/* 802388B8 00235818 7C 1C 03 78 */ mr r28, r0
/* 802388BC 0023581C 48 00 00 08 */ b lbl_802388C4
lbl_802388C0:
/* 802388C0 00235820 57 9C 08 3C */ slwi r28, r28, 1
lbl_802388C4:
/* 802388C4 00235824 7C 1C 20 00 */ cmpw r28, r4
/* 802388C8 00235828 41 80 FF F8 */ blt lbl_802388C0
/* 802388CC 0023582C 57 83 08 3D */ rlwinm. r3, r28, 1, 0, 0x1e
/* 802388D0 00235830 40 82 00 0C */ bne lbl_802388DC
/* 802388D4 00235834 3B E0 00 00 */ li r31, 0
/* 802388D8 00235838 48 00 00 18 */ b lbl_802388F0
lbl_802388DC:
/* 802388DC 0023583C 3C 80 80 3D */ lis r4, lbl_803D4380@ha
/* 802388E0 00235840 38 A0 00 00 */ li r5, 0
/* 802388E4 00235844 38 84 43 80 */ addi r4, r4, lbl_803D4380@l
/* 802388E8 00235848 48 0D CF 31 */ bl __nwa__FUlPCcPCc
/* 802388EC 0023584C 7C 7F 1B 78 */ mr r31, r3
lbl_802388F0:
/* 802388F0 00235850 80 7A 00 0C */ lwz r3, 0xc(r26)
/* 802388F4 00235854 7F E6 FB 78 */ mr r6, r31
/* 802388F8 00235858 80 19 00 00 */ lwz r0, 0(r25)
/* 802388FC 0023585C 38 E0 00 00 */ li r7, 0
/* 80238900 00235860 38 A0 00 00 */ li r5, 0
/* 80238904 00235864 7C 63 00 50 */ subf r3, r3, r0
/* 80238908 00235868 54 60 0F FE */ srwi r0, r3, 0x1f
/* 8023890C 0023586C 7C 00 1A 14 */ add r0, r0, r3
/* 80238910 00235870 7C 04 0E 71 */ srawi. r4, r0, 1
/* 80238914 00235874 7C 89 03 A6 */ mtctr r4
/* 80238918 00235878 40 81 00 28 */ ble lbl_80238940
lbl_8023891C:
/* 8023891C 0023587C 28 06 00 00 */ cmplwi r6, 0
/* 80238920 00235880 80 7A 00 0C */ lwz r3, 0xc(r26)
/* 80238924 00235884 41 82 00 0C */ beq lbl_80238930
/* 80238928 00235888 7C 03 2A 2E */ lhzx r0, r3, r5
/* 8023892C 0023588C B0 06 00 00 */ sth r0, 0(r6)
lbl_80238930:
/* 80238930 00235890 38 C6 00 02 */ addi r6, r6, 2
/* 80238934 00235894 38 E7 00 01 */ addi r7, r7, 1
/* 80238938 00235898 38 A5 00 02 */ addi r5, r5, 2
/* 8023893C 0023589C 42 00 FF E0 */ bdnz lbl_8023891C
lbl_80238940:
/* 80238940 002358A0 54 E0 08 3C */ slwi r0, r7, 1
/* 80238944 002358A4 7C 7F 02 14 */ add r3, r31, r0
/* 80238948 002358A8 7F 69 03 A6 */ mtctr r27
/* 8023894C 002358AC 2C 1B 00 00 */ cmpwi r27, 0
/* 80238950 002358B0 40 81 00 20 */ ble lbl_80238970
lbl_80238954:
/* 80238954 002358B4 28 03 00 00 */ cmplwi r3, 0
/* 80238958 002358B8 41 82 00 0C */ beq lbl_80238964
/* 8023895C 002358BC A0 1E 00 00 */ lhz r0, 0(r30)
/* 80238960 002358C0 B0 03 00 00 */ sth r0, 0(r3)
lbl_80238964:
/* 80238964 002358C4 38 63 00 02 */ addi r3, r3, 2
/* 80238968 002358C8 38 E7 00 01 */ addi r7, r7, 1
/* 8023896C 002358CC 42 00 FF E8 */ bdnz lbl_80238954
lbl_80238970:
/* 80238970 002358D0 54 E0 08 3C */ slwi r0, r7, 1
/* 80238974 002358D4 7C 86 23 78 */ mr r6, r4
/* 80238978 002358D8 54 84 08 3C */ slwi r4, r4, 1
/* 8023897C 002358DC 7C BF 02 14 */ add r5, r31, r0
/* 80238980 002358E0 48 00 00 24 */ b lbl_802389A4
lbl_80238984:
/* 80238984 002358E4 28 05 00 00 */ cmplwi r5, 0
/* 80238988 002358E8 80 7A 00 0C */ lwz r3, 0xc(r26)
/* 8023898C 002358EC 41 82 00 0C */ beq lbl_80238998
/* 80238990 002358F0 7C 03 22 2E */ lhzx r0, r3, r4
/* 80238994 002358F4 B0 05 00 00 */ sth r0, 0(r5)
lbl_80238998:
/* 80238998 002358F8 38 A5 00 02 */ addi r5, r5, 2
/* 8023899C 002358FC 38 84 00 02 */ addi r4, r4, 2
/* 802389A0 00235900 38 C6 00 01 */ addi r6, r6, 1
lbl_802389A4:
/* 802389A4 00235904 80 1A 00 04 */ lwz r0, 4(r26)
/* 802389A8 00235908 7C 06 00 00 */ cmpw r6, r0
/* 802389AC 0023590C 41 80 FF D8 */ blt lbl_80238984
/* 802389B0 00235910 54 00 08 3C */ slwi r0, r0, 1
/* 802389B4 00235914 7F A3 EB 78 */ mr r3, r29
/* 802389B8 00235918 7C 1D 02 14 */ add r0, r29, r0
/* 802389BC 0023591C 48 00 00 08 */ b lbl_802389C4
lbl_802389C0:
/* 802389C0 00235920 38 63 00 02 */ addi r3, r3, 2
lbl_802389C4:
/* 802389C4 00235924 7C 03 00 40 */ cmplw r3, r0
/* 802389C8 00235928 40 82 FF F8 */ bne lbl_802389C0
/* 802389CC 0023592C 80 7A 00 0C */ lwz r3, 0xc(r26)
/* 802389D0 00235930 28 03 00 00 */ cmplwi r3, 0
/* 802389D4 00235934 41 82 00 08 */ beq lbl_802389DC
/* 802389D8 00235938 48 0D CF 59 */ bl Free__7CMemoryFPCv
lbl_802389DC:
/* 802389DC 0023593C 93 FA 00 0C */ stw r31, 0xc(r26)
/* 802389E0 00235940 93 9A 00 08 */ stw r28, 8(r26)
/* 802389E4 00235944 80 1A 00 04 */ lwz r0, 4(r26)
/* 802389E8 00235948 7C 00 DA 14 */ add r0, r0, r27
/* 802389EC 0023594C 90 1A 00 04 */ stw r0, 4(r26)
lbl_802389F0:
/* 802389F0 00235950 BB 21 00 14 */ lmw r25, 0x14(r1)
/* 802389F4 00235954 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802389F8 00235958 7C 08 03 A6 */ mtlr r0
/* 802389FC 0023595C 38 21 00 30 */ addi r1, r1, 0x30
/* 80238A00 00235960 4E 80 00 20 */ blr
.global CanAcceptProjectileAttacker__10CTeamAiMgrCF9TUniqueId
CanAcceptProjectileAttacker__10CTeamAiMgrCF9TUniqueId:
/* 80238A04 00235964 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80238A08 00235968 7C 08 02 A6 */ mflr r0
/* 80238A0C 0023596C 90 01 00 34 */ stw r0, 0x34(r1)
/* 80238A10 00235970 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80238A14 00235974 7C 9F 23 78 */ mr r31, r4
/* 80238A18 00235978 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80238A1C 0023597C 7C 7E 1B 78 */ mr r30, r3
/* 80238A20 00235980 C0 23 00 94 */ lfs f1, 0x94(r3)
/* 80238A24 00235984 C0 03 00 54 */ lfs f0, 0x54(r3)
/* 80238A28 00235988 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80238A2C 0023598C 4C 41 13 82 */ cror 2, 1, 2
/* 80238A30 00235990 40 82 00 1C */ bne lbl_80238A4C
/* 80238A34 00235994 80 7E 00 7C */ lwz r3, 0x7c(r30)
/* 80238A38 00235998 80 1E 00 48 */ lwz r0, 0x48(r30)
/* 80238A3C 0023599C 7C 03 00 40 */ cmplw r3, r0
/* 80238A40 002359A0 40 80 00 0C */ bge lbl_80238A4C
/* 80238A44 002359A4 38 60 00 01 */ li r3, 1
/* 80238A48 002359A8 48 00 00 A0 */ b lbl_80238AE8
lbl_80238A4C:
/* 80238A4C 002359AC 80 1E 00 7C */ lwz r0, 0x7c(r30)
/* 80238A50 002359B0 7F E6 FB 78 */ mr r6, r31
/* 80238A54 002359B4 80 FE 00 84 */ lwz r7, 0x84(r30)
/* 80238A58 002359B8 38 61 00 0C */ addi r3, r1, 0xc
/* 80238A5C 002359BC 54 00 08 3C */ slwi r0, r0, 1
/* 80238A60 002359C0 38 81 00 10 */ addi r4, r1, 0x10
/* 80238A64 002359C4 7C 07 02 14 */ add r0, r7, r0
/* 80238A68 002359C8 90 E1 00 20 */ stw r7, 0x20(r1)
/* 80238A6C 002359CC 38 A1 00 14 */ addi r5, r1, 0x14
/* 80238A70 002359D0 90 01 00 18 */ stw r0, 0x18(r1)
/* 80238A74 002359D4 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80238A78 002359D8 90 01 00 14 */ stw r0, 0x14(r1)
/* 80238A7C 002359DC 90 E1 00 10 */ stw r7, 0x10(r1)
/* 80238A80 002359E0 48 00 20 71 */ bl "lower_bound_const<Q24rstl17vector<TUniqueId>>"
/* 80238A84 002359E4 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 80238A88 002359E8 38 80 00 00 */ li r4, 0
/* 80238A8C 002359EC 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 80238A90 002359F0 90 A1 00 08 */ stw r5, 8(r1)
/* 80238A94 002359F4 7C 05 00 40 */ cmplw r5, r0
/* 80238A98 002359F8 41 82 00 18 */ beq lbl_80238AB0
/* 80238A9C 002359FC A0 7F 00 00 */ lhz r3, 0(r31)
/* 80238AA0 00235A00 A0 05 00 00 */ lhz r0, 0(r5)
/* 80238AA4 00235A04 7C 03 00 40 */ cmplw r3, r0
/* 80238AA8 00235A08 41 80 00 08 */ blt lbl_80238AB0
/* 80238AAC 00235A0C 38 80 00 01 */ li r4, 1
lbl_80238AB0:
/* 80238AB0 00235A10 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80238AB4 00235A14 38 81 00 1C */ addi r4, r1, 0x1c
/* 80238AB8 00235A18 41 82 00 08 */ beq lbl_80238AC0
/* 80238ABC 00235A1C 38 81 00 08 */ addi r4, r1, 8
lbl_80238AC0:
/* 80238AC0 00235A20 80 1E 00 7C */ lwz r0, 0x7c(r30)
/* 80238AC4 00235A24 80 7E 00 84 */ lwz r3, 0x84(r30)
/* 80238AC8 00235A28 54 00 08 3C */ slwi r0, r0, 1
/* 80238ACC 00235A2C 80 84 00 00 */ lwz r4, 0(r4)
/* 80238AD0 00235A30 7C 03 02 14 */ add r0, r3, r0
/* 80238AD4 00235A34 7C 04 00 40 */ cmplw r4, r0
/* 80238AD8 00235A38 41 82 00 0C */ beq lbl_80238AE4
/* 80238ADC 00235A3C 38 60 00 01 */ li r3, 1
/* 80238AE0 00235A40 48 00 00 08 */ b lbl_80238AE8
lbl_80238AE4:
/* 80238AE4 00235A44 38 60 00 00 */ li r3, 0
lbl_80238AE8:
/* 80238AE8 00235A48 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80238AEC 00235A4C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80238AF0 00235A50 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80238AF4 00235A54 7C 08 03 A6 */ mtlr r0
/* 80238AF8 00235A58 38 21 00 30 */ addi r1, r1, 0x30
/* 80238AFC 00235A5C 4E 80 00 20 */ blr
.global IsProjectileAttacker__10CTeamAiMgrCF9TUniqueId
IsProjectileAttacker__10CTeamAiMgrCF9TUniqueId:
/* 80238B00 00235A60 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80238B04 00235A64 7C 08 02 A6 */ mflr r0
/* 80238B08 00235A68 90 01 00 34 */ stw r0, 0x34(r1)
/* 80238B0C 00235A6C 38 A1 00 14 */ addi r5, r1, 0x14
/* 80238B10 00235A70 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80238B14 00235A74 7C 9F 23 78 */ mr r31, r4
/* 80238B18 00235A78 7F E6 FB 78 */ mr r6, r31
/* 80238B1C 00235A7C 38 81 00 10 */ addi r4, r1, 0x10
/* 80238B20 00235A80 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80238B24 00235A84 7C 7E 1B 78 */ mr r30, r3
/* 80238B28 00235A88 80 03 00 7C */ lwz r0, 0x7c(r3)
/* 80238B2C 00235A8C 80 E3 00 84 */ lwz r7, 0x84(r3)
/* 80238B30 00235A90 38 61 00 0C */ addi r3, r1, 0xc
/* 80238B34 00235A94 54 00 08 3C */ slwi r0, r0, 1
/* 80238B38 00235A98 7C 07 02 14 */ add r0, r7, r0
/* 80238B3C 00235A9C 90 E1 00 20 */ stw r7, 0x20(r1)
/* 80238B40 00235AA0 90 01 00 18 */ stw r0, 0x18(r1)
/* 80238B44 00235AA4 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80238B48 00235AA8 90 01 00 14 */ stw r0, 0x14(r1)
/* 80238B4C 00235AAC 90 E1 00 10 */ stw r7, 0x10(r1)
/* 80238B50 00235AB0 48 00 1F A1 */ bl "lower_bound_const<Q24rstl17vector<TUniqueId>>"
/* 80238B54 00235AB4 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 80238B58 00235AB8 38 80 00 00 */ li r4, 0
/* 80238B5C 00235ABC 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 80238B60 00235AC0 90 A1 00 08 */ stw r5, 8(r1)
/* 80238B64 00235AC4 7C 05 00 40 */ cmplw r5, r0
/* 80238B68 00235AC8 41 82 00 18 */ beq lbl_80238B80
/* 80238B6C 00235ACC A0 7F 00 00 */ lhz r3, 0(r31)
/* 80238B70 00235AD0 A0 05 00 00 */ lhz r0, 0(r5)
/* 80238B74 00235AD4 7C 03 00 40 */ cmplw r3, r0
/* 80238B78 00235AD8 41 80 00 08 */ blt lbl_80238B80
/* 80238B7C 00235ADC 38 80 00 01 */ li r4, 1
lbl_80238B80:
/* 80238B80 00235AE0 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80238B84 00235AE4 38 81 00 1C */ addi r4, r1, 0x1c
/* 80238B88 00235AE8 41 82 00 08 */ beq lbl_80238B90
/* 80238B8C 00235AEC 38 81 00 08 */ addi r4, r1, 8
lbl_80238B90:
/* 80238B90 00235AF0 80 1E 00 7C */ lwz r0, 0x7c(r30)
/* 80238B94 00235AF4 80 7E 00 84 */ lwz r3, 0x84(r30)
/* 80238B98 00235AF8 54 00 08 3C */ slwi r0, r0, 1
/* 80238B9C 00235AFC 80 84 00 00 */ lwz r4, 0(r4)
/* 80238BA0 00235B00 7C 03 02 14 */ add r0, r3, r0
/* 80238BA4 00235B04 7C 64 00 50 */ subf r3, r4, r0
/* 80238BA8 00235B08 7C 00 20 50 */ subf r0, r0, r4
/* 80238BAC 00235B0C 7C 60 03 78 */ or r0, r3, r0
/* 80238BB0 00235B10 54 03 0F FE */ srwi r3, r0, 0x1f
/* 80238BB4 00235B14 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80238BB8 00235B18 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80238BBC 00235B1C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80238BC0 00235B20 7C 08 03 A6 */ mtlr r0
/* 80238BC4 00235B24 38 21 00 30 */ addi r1, r1, 0x30
/* 80238BC8 00235B28 4E 80 00 20 */ blr
.global RemoveMeleeAttacker__10CTeamAiMgrF9TUniqueId
RemoveMeleeAttacker__10CTeamAiMgrF9TUniqueId:
/* 80238BCC 00235B2C 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80238BD0 00235B30 7C 08 02 A6 */ mflr r0
/* 80238BD4 00235B34 90 01 00 44 */ stw r0, 0x44(r1)
/* 80238BD8 00235B38 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 80238BDC 00235B3C 7C 7F 1B 78 */ mr r31, r3
/* 80238BE0 00235B40 93 C1 00 38 */ stw r30, 0x38(r1)
/* 80238BE4 00235B44 7C 9E 23 78 */ mr r30, r4
/* 80238BE8 00235B48 7F C6 F3 78 */ mr r6, r30
/* 80238BEC 00235B4C 38 81 00 10 */ addi r4, r1, 0x10
/* 80238BF0 00235B50 80 03 00 6C */ lwz r0, 0x6c(r3)
/* 80238BF4 00235B54 80 A3 00 74 */ lwz r5, 0x74(r3)
/* 80238BF8 00235B58 38 61 00 0C */ addi r3, r1, 0xc
/* 80238BFC 00235B5C 54 00 08 3C */ slwi r0, r0, 1
/* 80238C00 00235B60 7C E5 02 14 */ add r7, r5, r0
/* 80238C04 00235B64 38 A1 00 14 */ addi r5, r1, 0x14
/* 80238C08 00235B68 90 E1 00 24 */ stw r7, 0x24(r1)
/* 80238C0C 00235B6C 80 1F 00 74 */ lwz r0, 0x74(r31)
/* 80238C10 00235B70 90 E1 00 20 */ stw r7, 0x20(r1)
/* 80238C14 00235B74 90 01 00 28 */ stw r0, 0x28(r1)
/* 80238C18 00235B78 90 E1 00 14 */ stw r7, 0x14(r1)
/* 80238C1C 00235B7C 90 01 00 10 */ stw r0, 0x10(r1)
/* 80238C20 00235B80 48 00 1F 91 */ bl "lower_bound<Q24rstl17vector<TUniqueId>>"
/* 80238C24 00235B84 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 80238C28 00235B88 38 80 00 00 */ li r4, 0
/* 80238C2C 00235B8C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80238C30 00235B90 90 A1 00 08 */ stw r5, 8(r1)
/* 80238C34 00235B94 7C 05 00 40 */ cmplw r5, r0
/* 80238C38 00235B98 41 82 00 18 */ beq lbl_80238C50
/* 80238C3C 00235B9C A0 7E 00 00 */ lhz r3, 0(r30)
/* 80238C40 00235BA0 A0 05 00 00 */ lhz r0, 0(r5)
/* 80238C44 00235BA4 7C 03 00 40 */ cmplw r3, r0
/* 80238C48 00235BA8 41 80 00 08 */ blt lbl_80238C50
/* 80238C4C 00235BAC 38 80 00 01 */ li r4, 1
lbl_80238C50:
/* 80238C50 00235BB0 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80238C54 00235BB4 38 81 00 24 */ addi r4, r1, 0x24
/* 80238C58 00235BB8 41 82 00 08 */ beq lbl_80238C60
/* 80238C5C 00235BBC 38 81 00 08 */ addi r4, r1, 8
lbl_80238C60:
/* 80238C60 00235BC0 80 1F 00 6C */ lwz r0, 0x6c(r31)
/* 80238C64 00235BC4 80 7F 00 74 */ lwz r3, 0x74(r31)
/* 80238C68 00235BC8 54 00 08 3C */ slwi r0, r0, 1
/* 80238C6C 00235BCC 80 84 00 00 */ lwz r4, 0(r4)
/* 80238C70 00235BD0 7C 03 02 14 */ add r0, r3, r0
/* 80238C74 00235BD4 7C 04 00 40 */ cmplw r4, r0
/* 80238C78 00235BD8 90 81 00 2C */ stw r4, 0x2c(r1)
/* 80238C7C 00235BDC 41 82 00 18 */ beq lbl_80238C94
/* 80238C80 00235BE0 90 81 00 18 */ stw r4, 0x18(r1)
/* 80238C84 00235BE4 38 61 00 1C */ addi r3, r1, 0x1c
/* 80238C88 00235BE8 38 9F 00 68 */ addi r4, r31, 0x68
/* 80238C8C 00235BEC 38 A1 00 18 */ addi r5, r1, 0x18
/* 80238C90 00235BF0 4B DD 25 C9 */ bl "erase__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>FQ24rstl110pointer_iterator<9TUniqueId,Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>"
lbl_80238C94:
/* 80238C94 00235BF4 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80238C98 00235BF8 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 80238C9C 00235BFC 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 80238CA0 00235C00 7C 08 03 A6 */ mtlr r0
/* 80238CA4 00235C04 38 21 00 40 */ addi r1, r1, 0x40
/* 80238CA8 00235C08 4E 80 00 20 */ blr
.global AddMeleeAttacker__10CTeamAiMgrF9TUniqueId
AddMeleeAttacker__10CTeamAiMgrF9TUniqueId:
/* 80238CAC 00235C0C 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80238CB0 00235C10 7C 08 02 A6 */ mflr r0
/* 80238CB4 00235C14 90 01 00 54 */ stw r0, 0x54(r1)
/* 80238CB8 00235C18 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 80238CBC 00235C1C 7C 9F 23 78 */ mr r31, r4
/* 80238CC0 00235C20 93 C1 00 48 */ stw r30, 0x48(r1)
/* 80238CC4 00235C24 7C 7E 1B 78 */ mr r30, r3
/* 80238CC8 00235C28 C0 23 00 90 */ lfs f1, 0x90(r3)
/* 80238CCC 00235C2C C0 03 00 50 */ lfs f0, 0x50(r3)
/* 80238CD0 00235C30 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80238CD4 00235C34 4C 41 13 82 */ cror 2, 1, 2
/* 80238CD8 00235C38 40 82 01 34 */ bne lbl_80238E0C
/* 80238CDC 00235C3C 80 9E 00 6C */ lwz r4, 0x6c(r30)
/* 80238CE0 00235C40 80 1E 00 44 */ lwz r0, 0x44(r30)
/* 80238CE4 00235C44 7C 04 00 40 */ cmplw r4, r0
/* 80238CE8 00235C48 40 80 01 24 */ bge lbl_80238E0C
/* 80238CEC 00235C4C A0 1F 00 00 */ lhz r0, 0(r31)
/* 80238CF0 00235C50 38 81 00 08 */ addi r4, r1, 8
/* 80238CF4 00235C54 B0 01 00 08 */ sth r0, 8(r1)
/* 80238CF8 00235C58 48 00 04 0D */ bl HasTeamAiRole__10CTeamAiMgrCF9TUniqueId
/* 80238CFC 00235C5C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80238D00 00235C60 41 82 01 0C */ beq lbl_80238E0C
/* 80238D04 00235C64 80 1E 00 6C */ lwz r0, 0x6c(r30)
/* 80238D08 00235C68 7F E6 FB 78 */ mr r6, r31
/* 80238D0C 00235C6C 80 BE 00 74 */ lwz r5, 0x74(r30)
/* 80238D10 00235C70 38 61 00 10 */ addi r3, r1, 0x10
/* 80238D14 00235C74 54 00 08 3C */ slwi r0, r0, 1
/* 80238D18 00235C78 38 81 00 14 */ addi r4, r1, 0x14
/* 80238D1C 00235C7C 7C E5 02 14 */ add r7, r5, r0
/* 80238D20 00235C80 38 A1 00 18 */ addi r5, r1, 0x18
/* 80238D24 00235C84 90 E1 00 3C */ stw r7, 0x3c(r1)
/* 80238D28 00235C88 80 1E 00 74 */ lwz r0, 0x74(r30)
/* 80238D2C 00235C8C 90 E1 00 38 */ stw r7, 0x38(r1)
/* 80238D30 00235C90 90 01 00 40 */ stw r0, 0x40(r1)
/* 80238D34 00235C94 90 E1 00 18 */ stw r7, 0x18(r1)
/* 80238D38 00235C98 90 01 00 14 */ stw r0, 0x14(r1)
/* 80238D3C 00235C9C 48 00 1E 75 */ bl "lower_bound<Q24rstl17vector<TUniqueId>>"
/* 80238D40 00235CA0 80 A1 00 10 */ lwz r5, 0x10(r1)
/* 80238D44 00235CA4 38 80 00 00 */ li r4, 0
/* 80238D48 00235CA8 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 80238D4C 00235CAC 90 A1 00 0C */ stw r5, 0xc(r1)
/* 80238D50 00235CB0 7C 05 00 40 */ cmplw r5, r0
/* 80238D54 00235CB4 41 82 00 18 */ beq lbl_80238D6C
/* 80238D58 00235CB8 A0 7F 00 00 */ lhz r3, 0(r31)
/* 80238D5C 00235CBC A0 05 00 00 */ lhz r0, 0(r5)
/* 80238D60 00235CC0 7C 03 00 40 */ cmplw r3, r0
/* 80238D64 00235CC4 41 80 00 08 */ blt lbl_80238D6C
/* 80238D68 00235CC8 38 80 00 01 */ li r4, 1
lbl_80238D6C:
/* 80238D6C 00235CCC 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80238D70 00235CD0 38 A1 00 3C */ addi r5, r1, 0x3c
/* 80238D74 00235CD4 41 82 00 08 */ beq lbl_80238D7C
/* 80238D78 00235CD8 38 A1 00 0C */ addi r5, r1, 0xc
lbl_80238D7C:
/* 80238D7C 00235CDC 80 DE 00 6C */ lwz r6, 0x6c(r30)
/* 80238D80 00235CE0 80 9E 00 74 */ lwz r4, 0x74(r30)
/* 80238D84 00235CE4 54 C3 08 3C */ slwi r3, r6, 1
/* 80238D88 00235CE8 80 05 00 00 */ lwz r0, 0(r5)
/* 80238D8C 00235CEC 7C 64 1A 14 */ add r3, r4, r3
/* 80238D90 00235CF0 7C 00 18 40 */ cmplw r0, r3
/* 80238D94 00235CF4 40 82 00 70 */ bne lbl_80238E04
/* 80238D98 00235CF8 38 7E 00 68 */ addi r3, r30, 0x68
/* 80238D9C 00235CFC 38 86 00 01 */ addi r4, r6, 1
/* 80238DA0 00235D00 4B DD 36 69 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi"
/* 80238DA4 00235D04 80 1E 00 6C */ lwz r0, 0x6c(r30)
/* 80238DA8 00235D08 7F E6 FB 78 */ mr r6, r31
/* 80238DAC 00235D0C 80 BE 00 74 */ lwz r5, 0x74(r30)
/* 80238DB0 00235D10 38 61 00 34 */ addi r3, r1, 0x34
/* 80238DB4 00235D14 54 00 08 3C */ slwi r0, r0, 1
/* 80238DB8 00235D18 38 81 00 30 */ addi r4, r1, 0x30
/* 80238DBC 00235D1C 7C E5 02 14 */ add r7, r5, r0
/* 80238DC0 00235D20 38 A1 00 28 */ addi r5, r1, 0x28
/* 80238DC4 00235D24 90 E1 00 28 */ stw r7, 0x28(r1)
/* 80238DC8 00235D28 80 1E 00 74 */ lwz r0, 0x74(r30)
/* 80238DCC 00235D2C 90 E1 00 24 */ stw r7, 0x24(r1)
/* 80238DD0 00235D30 90 01 00 2C */ stw r0, 0x2c(r1)
/* 80238DD4 00235D34 90 01 00 30 */ stw r0, 0x30(r1)
/* 80238DD8 00235D38 48 00 1D D9 */ bl "lower_bound<Q24rstl17vector<TUniqueId>>"
/* 80238DDC 00235D3C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80238DE0 00235D40 7F E6 FB 78 */ mr r6, r31
/* 80238DE4 00235D44 38 61 00 20 */ addi r3, r1, 0x20
/* 80238DE8 00235D48 38 9E 00 68 */ addi r4, r30, 0x68
/* 80238DEC 00235D4C 90 01 00 44 */ stw r0, 0x44(r1)
/* 80238DF0 00235D50 38 A1 00 1C */ addi r5, r1, 0x1c
/* 80238DF4 00235D54 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80238DF8 00235D58 4B FF F9 49 */ bl sub_80238740
/* 80238DFC 00235D5C C0 02 B7 64 */ lfs f0, lbl_805AD484@sda21(r2)
/* 80238E00 00235D60 D0 1E 00 90 */ stfs f0, 0x90(r30)
lbl_80238E04:
/* 80238E04 00235D64 38 60 00 01 */ li r3, 1
/* 80238E08 00235D68 48 00 00 08 */ b lbl_80238E10
lbl_80238E0C:
/* 80238E0C 00235D6C 38 60 00 00 */ li r3, 0
lbl_80238E10:
/* 80238E10 00235D70 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80238E14 00235D74 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 80238E18 00235D78 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 80238E1C 00235D7C 7C 08 03 A6 */ mtlr r0
/* 80238E20 00235D80 38 21 00 50 */ addi r1, r1, 0x50
/* 80238E24 00235D84 4E 80 00 20 */ blr
.global CanAcceptMeleeAttacker__10CTeamAiMgrCF9TUniqueId
CanAcceptMeleeAttacker__10CTeamAiMgrCF9TUniqueId:
/* 80238E28 00235D88 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80238E2C 00235D8C 7C 08 02 A6 */ mflr r0
/* 80238E30 00235D90 90 01 00 34 */ stw r0, 0x34(r1)
/* 80238E34 00235D94 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80238E38 00235D98 7C 9F 23 78 */ mr r31, r4
/* 80238E3C 00235D9C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80238E40 00235DA0 7C 7E 1B 78 */ mr r30, r3
/* 80238E44 00235DA4 C0 23 00 90 */ lfs f1, 0x90(r3)
/* 80238E48 00235DA8 C0 03 00 50 */ lfs f0, 0x50(r3)
/* 80238E4C 00235DAC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80238E50 00235DB0 4C 41 13 82 */ cror 2, 1, 2
/* 80238E54 00235DB4 40 82 00 1C */ bne lbl_80238E70
/* 80238E58 00235DB8 80 7E 00 6C */ lwz r3, 0x6c(r30)
/* 80238E5C 00235DBC 80 1E 00 44 */ lwz r0, 0x44(r30)
/* 80238E60 00235DC0 7C 03 00 40 */ cmplw r3, r0
/* 80238E64 00235DC4 40 80 00 0C */ bge lbl_80238E70
/* 80238E68 00235DC8 38 60 00 01 */ li r3, 1
/* 80238E6C 00235DCC 48 00 00 A0 */ b lbl_80238F0C
lbl_80238E70:
/* 80238E70 00235DD0 80 1E 00 6C */ lwz r0, 0x6c(r30)
/* 80238E74 00235DD4 7F E6 FB 78 */ mr r6, r31
/* 80238E78 00235DD8 80 FE 00 74 */ lwz r7, 0x74(r30)
/* 80238E7C 00235DDC 38 61 00 0C */ addi r3, r1, 0xc
/* 80238E80 00235DE0 54 00 08 3C */ slwi r0, r0, 1
/* 80238E84 00235DE4 38 81 00 10 */ addi r4, r1, 0x10
/* 80238E88 00235DE8 7C 07 02 14 */ add r0, r7, r0
/* 80238E8C 00235DEC 90 E1 00 20 */ stw r7, 0x20(r1)
/* 80238E90 00235DF0 38 A1 00 14 */ addi r5, r1, 0x14
/* 80238E94 00235DF4 90 01 00 18 */ stw r0, 0x18(r1)
/* 80238E98 00235DF8 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80238E9C 00235DFC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80238EA0 00235E00 90 E1 00 10 */ stw r7, 0x10(r1)
/* 80238EA4 00235E04 48 00 1C 4D */ bl "lower_bound_const<Q24rstl17vector<TUniqueId>>"
/* 80238EA8 00235E08 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 80238EAC 00235E0C 38 80 00 00 */ li r4, 0
/* 80238EB0 00235E10 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 80238EB4 00235E14 90 A1 00 08 */ stw r5, 8(r1)
/* 80238EB8 00235E18 7C 05 00 40 */ cmplw r5, r0
/* 80238EBC 00235E1C 41 82 00 18 */ beq lbl_80238ED4
/* 80238EC0 00235E20 A0 7F 00 00 */ lhz r3, 0(r31)
/* 80238EC4 00235E24 A0 05 00 00 */ lhz r0, 0(r5)
/* 80238EC8 00235E28 7C 03 00 40 */ cmplw r3, r0
/* 80238ECC 00235E2C 41 80 00 08 */ blt lbl_80238ED4
/* 80238ED0 00235E30 38 80 00 01 */ li r4, 1
lbl_80238ED4:
/* 80238ED4 00235E34 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80238ED8 00235E38 38 81 00 1C */ addi r4, r1, 0x1c
/* 80238EDC 00235E3C 41 82 00 08 */ beq lbl_80238EE4
/* 80238EE0 00235E40 38 81 00 08 */ addi r4, r1, 8
lbl_80238EE4:
/* 80238EE4 00235E44 80 1E 00 6C */ lwz r0, 0x6c(r30)
/* 80238EE8 00235E48 80 7E 00 74 */ lwz r3, 0x74(r30)
/* 80238EEC 00235E4C 54 00 08 3C */ slwi r0, r0, 1
/* 80238EF0 00235E50 80 84 00 00 */ lwz r4, 0(r4)
/* 80238EF4 00235E54 7C 03 02 14 */ add r0, r3, r0
/* 80238EF8 00235E58 7C 04 00 40 */ cmplw r4, r0
/* 80238EFC 00235E5C 41 82 00 0C */ beq lbl_80238F08
/* 80238F00 00235E60 38 60 00 01 */ li r3, 1
/* 80238F04 00235E64 48 00 00 08 */ b lbl_80238F0C
lbl_80238F08:
/* 80238F08 00235E68 38 60 00 00 */ li r3, 0
lbl_80238F0C:
/* 80238F0C 00235E6C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80238F10 00235E70 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80238F14 00235E74 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80238F18 00235E78 7C 08 03 A6 */ mtlr r0
/* 80238F1C 00235E7C 38 21 00 30 */ addi r1, r1, 0x30
/* 80238F20 00235E80 4E 80 00 20 */ blr
.global IsMeleeAttacker__10CTeamAiMgrCF9TUniqueId
IsMeleeAttacker__10CTeamAiMgrCF9TUniqueId:
/* 80238F24 00235E84 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80238F28 00235E88 7C 08 02 A6 */ mflr r0
/* 80238F2C 00235E8C 90 01 00 34 */ stw r0, 0x34(r1)
/* 80238F30 00235E90 38 A1 00 14 */ addi r5, r1, 0x14
/* 80238F34 00235E94 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80238F38 00235E98 7C 9F 23 78 */ mr r31, r4
/* 80238F3C 00235E9C 7F E6 FB 78 */ mr r6, r31
/* 80238F40 00235EA0 38 81 00 10 */ addi r4, r1, 0x10
/* 80238F44 00235EA4 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80238F48 00235EA8 7C 7E 1B 78 */ mr r30, r3
/* 80238F4C 00235EAC 80 03 00 6C */ lwz r0, 0x6c(r3)
/* 80238F50 00235EB0 80 E3 00 74 */ lwz r7, 0x74(r3)
/* 80238F54 00235EB4 38 61 00 0C */ addi r3, r1, 0xc
/* 80238F58 00235EB8 54 00 08 3C */ slwi r0, r0, 1
/* 80238F5C 00235EBC 7C 07 02 14 */ add r0, r7, r0
/* 80238F60 00235EC0 90 E1 00 20 */ stw r7, 0x20(r1)
/* 80238F64 00235EC4 90 01 00 18 */ stw r0, 0x18(r1)
/* 80238F68 00235EC8 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80238F6C 00235ECC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80238F70 00235ED0 90 E1 00 10 */ stw r7, 0x10(r1)
/* 80238F74 00235ED4 48 00 1B 7D */ bl "lower_bound_const<Q24rstl17vector<TUniqueId>>"
/* 80238F78 00235ED8 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 80238F7C 00235EDC 38 80 00 00 */ li r4, 0
/* 80238F80 00235EE0 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 80238F84 00235EE4 90 A1 00 08 */ stw r5, 8(r1)
/* 80238F88 00235EE8 7C 05 00 40 */ cmplw r5, r0
/* 80238F8C 00235EEC 41 82 00 18 */ beq lbl_80238FA4
/* 80238F90 00235EF0 A0 7F 00 00 */ lhz r3, 0(r31)
/* 80238F94 00235EF4 A0 05 00 00 */ lhz r0, 0(r5)
/* 80238F98 00235EF8 7C 03 00 40 */ cmplw r3, r0
/* 80238F9C 00235EFC 41 80 00 08 */ blt lbl_80238FA4
/* 80238FA0 00235F00 38 80 00 01 */ li r4, 1
lbl_80238FA4:
/* 80238FA4 00235F04 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80238FA8 00235F08 38 81 00 1C */ addi r4, r1, 0x1c
/* 80238FAC 00235F0C 41 82 00 08 */ beq lbl_80238FB4
/* 80238FB0 00235F10 38 81 00 08 */ addi r4, r1, 8
lbl_80238FB4:
/* 80238FB4 00235F14 80 1E 00 6C */ lwz r0, 0x6c(r30)
/* 80238FB8 00235F18 80 7E 00 74 */ lwz r3, 0x74(r30)
/* 80238FBC 00235F1C 54 00 08 3C */ slwi r0, r0, 1
/* 80238FC0 00235F20 80 84 00 00 */ lwz r4, 0(r4)
/* 80238FC4 00235F24 7C 03 02 14 */ add r0, r3, r0
/* 80238FC8 00235F28 7C 64 00 50 */ subf r3, r4, r0
/* 80238FCC 00235F2C 7C 00 20 50 */ subf r0, r0, r4
/* 80238FD0 00235F30 7C 60 03 78 */ or r0, r3, r0
/* 80238FD4 00235F34 54 03 0F FE */ srwi r3, r0, 0x1f
/* 80238FD8 00235F38 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80238FDC 00235F3C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80238FE0 00235F40 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80238FE4 00235F44 7C 08 03 A6 */ mtlr r0
/* 80238FE8 00235F48 38 21 00 30 */ addi r1, r1, 0x30
/* 80238FEC 00235F4C 4E 80 00 20 */ blr
.global IsPartOfTeam__10CTeamAiMgrCF9TUniqueId
IsPartOfTeam__10CTeamAiMgrCF9TUniqueId:
/* 80238FF0 00235F50 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80238FF4 00235F54 7C 08 02 A6 */ mflr r0
/* 80238FF8 00235F58 39 20 FF FF */ li r9, -1
/* 80238FFC 00235F5C 39 00 00 00 */ li r8, 0
/* 80239000 00235F60 90 01 00 64 */ stw r0, 0x64(r1)
/* 80239004 00235F64 38 C1 00 28 */ addi r6, r1, 0x28
/* 80239008 00235F68 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 8023900C 00235F6C 7C 7F 1B 78 */ mr r31, r3
/* 80239010 00235F70 80 03 00 5C */ lwz r0, 0x5c(r3)
/* 80239014 00235F74 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 80239018 00235F78 38 A3 66 A0 */ addi r5, r3, sZeroVector__9CVector3f@l
/* 8023901C 00235F7C A1 44 00 00 */ lhz r10, 0(r4)
/* 80239020 00235F80 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80239024 00235F84 80 FF 00 64 */ lwz r7, 0x64(r31)
/* 80239028 00235F88 C0 45 00 00 */ lfs f2, 0(r5)
/* 8023902C 00235F8C 38 61 00 10 */ addi r3, r1, 0x10
/* 80239030 00235F90 C0 25 00 04 */ lfs f1, 4(r5)
/* 80239034 00235F94 38 81 00 14 */ addi r4, r1, 0x14
/* 80239038 00235F98 7C 07 02 14 */ add r0, r7, r0
/* 8023903C 00235F9C C0 05 00 08 */ lfs f0, 8(r5)
/* 80239040 00235FA0 B1 41 00 08 */ sth r10, 8(r1)
/* 80239044 00235FA4 38 A1 00 18 */ addi r5, r1, 0x18
/* 80239048 00235FA8 B1 41 00 28 */ sth r10, 0x28(r1)
/* 8023904C 00235FAC 91 21 00 2C */ stw r9, 0x2c(r1)
/* 80239050 00235FB0 91 21 00 30 */ stw r9, 0x30(r1)
/* 80239054 00235FB4 91 21 00 34 */ stw r9, 0x34(r1)
/* 80239058 00235FB8 91 21 00 38 */ stw r9, 0x38(r1)
/* 8023905C 00235FBC 91 21 00 3C */ stw r9, 0x3c(r1)
/* 80239060 00235FC0 91 01 00 40 */ stw r8, 0x40(r1)
/* 80239064 00235FC4 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 80239068 00235FC8 D0 21 00 48 */ stfs f1, 0x48(r1)
/* 8023906C 00235FCC D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 80239070 00235FD0 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80239074 00235FD4 90 01 00 20 */ stw r0, 0x20(r1)
/* 80239078 00235FD8 90 E1 00 24 */ stw r7, 0x24(r1)
/* 8023907C 00235FDC 90 01 00 18 */ stw r0, 0x18(r1)
/* 80239080 00235FE0 90 E1 00 14 */ stw r7, 0x14(r1)
/* 80239084 00235FE4 48 00 19 A5 */ bl "lower_bound_const<Q34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorRC11CTeamAiRole"
/* 80239088 00235FE8 80 A1 00 10 */ lwz r5, 0x10(r1)
/* 8023908C 00235FEC 38 80 00 00 */ li r4, 0
/* 80239090 00235FF0 80 01 00 20 */ lwz r0, 0x20(r1)
/* 80239094 00235FF4 90 A1 00 0C */ stw r5, 0xc(r1)
/* 80239098 00235FF8 7C 05 00 40 */ cmplw r5, r0
/* 8023909C 00235FFC 41 82 00 20 */ beq lbl_802390BC
/* 802390A0 00236000 A0 61 00 28 */ lhz r3, 0x28(r1)
/* 802390A4 00236004 A0 05 00 00 */ lhz r0, 0(r5)
/* 802390A8 00236008 54 63 05 BE */ clrlwi r3, r3, 0x16
/* 802390AC 0023600C 54 00 05 BE */ clrlwi r0, r0, 0x16
/* 802390B0 00236010 7C 03 00 40 */ cmplw r3, r0
/* 802390B4 00236014 41 80 00 08 */ blt lbl_802390BC
/* 802390B8 00236018 38 80 00 01 */ li r4, 1
lbl_802390BC:
/* 802390BC 0023601C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 802390C0 00236020 38 81 00 20 */ addi r4, r1, 0x20
/* 802390C4 00236024 41 82 00 08 */ beq lbl_802390CC
/* 802390C8 00236028 38 81 00 0C */ addi r4, r1, 0xc
lbl_802390CC:
/* 802390CC 0023602C 80 1F 00 5C */ lwz r0, 0x5c(r31)
/* 802390D0 00236030 80 7F 00 64 */ lwz r3, 0x64(r31)
/* 802390D4 00236034 1C 00 00 28 */ mulli r0, r0, 0x28
/* 802390D8 00236038 80 84 00 00 */ lwz r4, 0(r4)
/* 802390DC 0023603C 7C 03 02 14 */ add r0, r3, r0
/* 802390E0 00236040 7C 64 00 50 */ subf r3, r4, r0
/* 802390E4 00236044 7C 00 20 50 */ subf r0, r0, r4
/* 802390E8 00236048 7C 60 03 78 */ or r0, r3, r0
/* 802390EC 0023604C 54 03 0F FE */ srwi r3, r0, 0x1f
/* 802390F0 00236050 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 802390F4 00236054 80 01 00 64 */ lwz r0, 0x64(r1)
/* 802390F8 00236058 7C 08 03 A6 */ mtlr r0
/* 802390FC 0023605C 38 21 00 60 */ addi r1, r1, 0x60
/* 80239100 00236060 4E 80 00 20 */ blr
.global HasTeamAiRole__10CTeamAiMgrCF9TUniqueId
HasTeamAiRole__10CTeamAiMgrCF9TUniqueId:
/* 80239104 00236064 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80239108 00236068 7C 08 02 A6 */ mflr r0
/* 8023910C 0023606C 39 20 FF FF */ li r9, -1
/* 80239110 00236070 39 00 00 00 */ li r8, 0
/* 80239114 00236074 90 01 00 64 */ stw r0, 0x64(r1)
/* 80239118 00236078 38 C1 00 28 */ addi r6, r1, 0x28
/* 8023911C 0023607C 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 80239120 00236080 7C 7F 1B 78 */ mr r31, r3
/* 80239124 00236084 80 03 00 5C */ lwz r0, 0x5c(r3)
/* 80239128 00236088 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 8023912C 0023608C 38 A3 66 A0 */ addi r5, r3, sZeroVector__9CVector3f@l
/* 80239130 00236090 A1 44 00 00 */ lhz r10, 0(r4)
/* 80239134 00236094 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80239138 00236098 80 FF 00 64 */ lwz r7, 0x64(r31)
/* 8023913C 0023609C C0 45 00 00 */ lfs f2, 0(r5)
/* 80239140 002360A0 38 61 00 10 */ addi r3, r1, 0x10
/* 80239144 002360A4 C0 25 00 04 */ lfs f1, 4(r5)
/* 80239148 002360A8 38 81 00 14 */ addi r4, r1, 0x14
/* 8023914C 002360AC 7C 07 02 14 */ add r0, r7, r0
/* 80239150 002360B0 C0 05 00 08 */ lfs f0, 8(r5)
/* 80239154 002360B4 B1 41 00 08 */ sth r10, 8(r1)
/* 80239158 002360B8 38 A1 00 18 */ addi r5, r1, 0x18
/* 8023915C 002360BC B1 41 00 28 */ sth r10, 0x28(r1)
/* 80239160 002360C0 91 21 00 2C */ stw r9, 0x2c(r1)
/* 80239164 002360C4 91 21 00 30 */ stw r9, 0x30(r1)
/* 80239168 002360C8 91 21 00 34 */ stw r9, 0x34(r1)
/* 8023916C 002360CC 91 21 00 38 */ stw r9, 0x38(r1)
/* 80239170 002360D0 91 21 00 3C */ stw r9, 0x3c(r1)
/* 80239174 002360D4 91 01 00 40 */ stw r8, 0x40(r1)
/* 80239178 002360D8 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 8023917C 002360DC D0 21 00 48 */ stfs f1, 0x48(r1)
/* 80239180 002360E0 D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 80239184 002360E4 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80239188 002360E8 90 01 00 20 */ stw r0, 0x20(r1)
/* 8023918C 002360EC 90 E1 00 24 */ stw r7, 0x24(r1)
/* 80239190 002360F0 90 01 00 18 */ stw r0, 0x18(r1)
/* 80239194 002360F4 90 E1 00 14 */ stw r7, 0x14(r1)
/* 80239198 002360F8 48 00 18 91 */ bl "lower_bound_const<Q34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorRC11CTeamAiRole"
/* 8023919C 002360FC 80 A1 00 10 */ lwz r5, 0x10(r1)
/* 802391A0 00236100 38 80 00 00 */ li r4, 0
/* 802391A4 00236104 80 01 00 20 */ lwz r0, 0x20(r1)
/* 802391A8 00236108 90 A1 00 0C */ stw r5, 0xc(r1)
/* 802391AC 0023610C 7C 05 00 40 */ cmplw r5, r0
/* 802391B0 00236110 41 82 00 20 */ beq lbl_802391D0
/* 802391B4 00236114 A0 61 00 28 */ lhz r3, 0x28(r1)
/* 802391B8 00236118 A0 05 00 00 */ lhz r0, 0(r5)
/* 802391BC 0023611C 54 63 05 BE */ clrlwi r3, r3, 0x16
/* 802391C0 00236120 54 00 05 BE */ clrlwi r0, r0, 0x16
/* 802391C4 00236124 7C 03 00 40 */ cmplw r3, r0
/* 802391C8 00236128 41 80 00 08 */ blt lbl_802391D0
/* 802391CC 0023612C 38 80 00 01 */ li r4, 1
lbl_802391D0:
/* 802391D0 00236130 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 802391D4 00236134 38 81 00 20 */ addi r4, r1, 0x20
/* 802391D8 00236138 41 82 00 08 */ beq lbl_802391E0
/* 802391DC 0023613C 38 81 00 0C */ addi r4, r1, 0xc
lbl_802391E0:
/* 802391E0 00236140 80 1F 00 5C */ lwz r0, 0x5c(r31)
/* 802391E4 00236144 80 7F 00 64 */ lwz r3, 0x64(r31)
/* 802391E8 00236148 1C 00 00 28 */ mulli r0, r0, 0x28
/* 802391EC 0023614C 80 84 00 00 */ lwz r4, 0(r4)
/* 802391F0 00236150 7C 03 02 14 */ add r0, r3, r0
/* 802391F4 00236154 7C 04 00 40 */ cmplw r4, r0
/* 802391F8 00236158 41 82 00 28 */ beq lbl_80239220
/* 802391FC 0023615C 80 04 00 10 */ lwz r0, 0x10(r4)
/* 80239200 00236160 38 60 00 00 */ li r3, 0
/* 80239204 00236164 2C 00 00 00 */ cmpwi r0, 0
/* 80239208 00236168 41 82 00 1C */ beq lbl_80239224
/* 8023920C 0023616C 41 80 00 18 */ blt lbl_80239224
/* 80239210 00236170 2C 00 00 04 */ cmpwi r0, 4
/* 80239214 00236174 41 81 00 10 */ bgt lbl_80239224
/* 80239218 00236178 38 60 00 01 */ li r3, 1
/* 8023921C 0023617C 48 00 00 08 */ b lbl_80239224
lbl_80239220:
/* 80239220 00236180 38 60 00 00 */ li r3, 0
lbl_80239224:
/* 80239224 00236184 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80239228 00236188 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 8023922C 0023618C 7C 08 03 A6 */ mtlr r0
/* 80239230 00236190 38 21 00 60 */ addi r1, r1, 0x60
/* 80239234 00236194 4E 80 00 20 */ blr
.global ClearTeamAiRole__10CTeamAiMgrF9TUniqueId
ClearTeamAiRole__10CTeamAiMgrF9TUniqueId:
/* 80239238 00236198 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 8023923C 0023619C 7C 08 02 A6 */ mflr r0
/* 80239240 002361A0 3C A0 80 5A */ lis r5, sZeroVector__9CVector3f@ha
/* 80239244 002361A4 38 E0 FF FF */ li r7, -1
/* 80239248 002361A8 90 01 00 64 */ stw r0, 0x64(r1)
/* 8023924C 002361AC 38 00 00 00 */ li r0, 0
/* 80239250 002361B0 38 C1 00 28 */ addi r6, r1, 0x28
/* 80239254 002361B4 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 80239258 002361B8 7C 7F 1B 78 */ mr r31, r3
/* 8023925C 002361BC 38 61 00 10 */ addi r3, r1, 0x10
/* 80239260 002361C0 C4 45 66 A0 */ lfsu f2, sZeroVector__9CVector3f@l(r5)
/* 80239264 002361C4 A1 04 00 00 */ lhz r8, 0(r4)
/* 80239268 002361C8 38 81 00 14 */ addi r4, r1, 0x14
/* 8023926C 002361CC C0 25 00 04 */ lfs f1, 4(r5)
/* 80239270 002361D0 C0 05 00 08 */ lfs f0, 8(r5)
/* 80239274 002361D4 38 A1 00 18 */ addi r5, r1, 0x18
/* 80239278 002361D8 B1 01 00 28 */ sth r8, 0x28(r1)
/* 8023927C 002361DC 90 E1 00 2C */ stw r7, 0x2c(r1)
/* 80239280 002361E0 90 E1 00 30 */ stw r7, 0x30(r1)
/* 80239284 002361E4 90 E1 00 34 */ stw r7, 0x34(r1)
/* 80239288 002361E8 90 E1 00 38 */ stw r7, 0x38(r1)
/* 8023928C 002361EC 90 E1 00 3C */ stw r7, 0x3c(r1)
/* 80239290 002361F0 90 01 00 40 */ stw r0, 0x40(r1)
/* 80239294 002361F4 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 80239298 002361F8 D0 21 00 48 */ stfs f1, 0x48(r1)
/* 8023929C 002361FC D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 802392A0 00236200 80 1F 00 5C */ lwz r0, 0x5c(r31)
/* 802392A4 00236204 80 FF 00 64 */ lwz r7, 0x64(r31)
/* 802392A8 00236208 1C 00 00 28 */ mulli r0, r0, 0x28
/* 802392AC 0023620C B1 01 00 08 */ sth r8, 8(r1)
/* 802392B0 00236210 7C E7 02 14 */ add r7, r7, r0
/* 802392B4 00236214 90 E1 00 20 */ stw r7, 0x20(r1)
/* 802392B8 00236218 80 1F 00 64 */ lwz r0, 0x64(r31)
/* 802392BC 0023621C 90 E1 00 1C */ stw r7, 0x1c(r1)
/* 802392C0 00236220 90 01 00 24 */ stw r0, 0x24(r1)
/* 802392C4 00236224 90 E1 00 18 */ stw r7, 0x18(r1)
/* 802392C8 00236228 90 01 00 14 */ stw r0, 0x14(r1)
/* 802392CC 0023622C 48 00 16 95 */ bl "lower_bound<Q34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14const_iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorRC11CTeamAiRole"
/* 802392D0 00236230 80 A1 00 10 */ lwz r5, 0x10(r1)
/* 802392D4 00236234 38 80 00 00 */ li r4, 0
/* 802392D8 00236238 80 01 00 20 */ lwz r0, 0x20(r1)
/* 802392DC 0023623C 90 A1 00 0C */ stw r5, 0xc(r1)
/* 802392E0 00236240 7C 05 00 40 */ cmplw r5, r0
/* 802392E4 00236244 41 82 00 20 */ beq lbl_80239304
/* 802392E8 00236248 A0 61 00 28 */ lhz r3, 0x28(r1)
/* 802392EC 0023624C A0 05 00 00 */ lhz r0, 0(r5)
/* 802392F0 00236250 54 63 05 BE */ clrlwi r3, r3, 0x16
/* 802392F4 00236254 54 00 05 BE */ clrlwi r0, r0, 0x16
/* 802392F8 00236258 7C 03 00 40 */ cmplw r3, r0
/* 802392FC 0023625C 41 80 00 08 */ blt lbl_80239304
/* 80239300 00236260 38 80 00 01 */ li r4, 1
lbl_80239304:
/* 80239304 00236264 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80239308 00236268 38 81 00 20 */ addi r4, r1, 0x20
/* 8023930C 0023626C 41 82 00 08 */ beq lbl_80239314
/* 80239310 00236270 38 81 00 0C */ addi r4, r1, 0xc
lbl_80239314:
/* 80239314 00236274 80 1F 00 5C */ lwz r0, 0x5c(r31)
/* 80239318 00236278 80 7F 00 64 */ lwz r3, 0x64(r31)
/* 8023931C 0023627C 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80239320 00236280 80 84 00 00 */ lwz r4, 0(r4)
/* 80239324 00236284 7C 03 02 14 */ add r0, r3, r0
/* 80239328 00236288 7C 04 00 40 */ cmplw r4, r0
/* 8023932C 0023628C 41 82 00 0C */ beq lbl_80239338
/* 80239330 00236290 38 00 00 00 */ li r0, 0
/* 80239334 00236294 90 04 00 10 */ stw r0, 0x10(r4)
lbl_80239338:
/* 80239338 00236298 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8023933C 0023629C 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 80239340 002362A0 7C 08 03 A6 */ mtlr r0
/* 80239344 002362A4 38 21 00 60 */ addi r1, r1, 0x60
/* 80239348 002362A8 4E 80 00 20 */ blr
.global GetTeamAiRole__10CTeamAiMgrCF9TUniqueId
GetTeamAiRole__10CTeamAiMgrCF9TUniqueId:
/* 8023934C 002362AC 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80239350 002362B0 7C 08 02 A6 */ mflr r0
/* 80239354 002362B4 39 20 FF FF */ li r9, -1
/* 80239358 002362B8 39 00 00 00 */ li r8, 0
/* 8023935C 002362BC 90 01 00 64 */ stw r0, 0x64(r1)
/* 80239360 002362C0 38 C1 00 28 */ addi r6, r1, 0x28
/* 80239364 002362C4 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 80239368 002362C8 7C 7F 1B 78 */ mr r31, r3
/* 8023936C 002362CC 80 03 00 5C */ lwz r0, 0x5c(r3)
/* 80239370 002362D0 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 80239374 002362D4 38 A3 66 A0 */ addi r5, r3, sZeroVector__9CVector3f@l
/* 80239378 002362D8 A1 44 00 00 */ lhz r10, 0(r4)
/* 8023937C 002362DC 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80239380 002362E0 80 FF 00 64 */ lwz r7, 0x64(r31)
/* 80239384 002362E4 C0 45 00 00 */ lfs f2, 0(r5)
/* 80239388 002362E8 38 61 00 10 */ addi r3, r1, 0x10
/* 8023938C 002362EC C0 25 00 04 */ lfs f1, 4(r5)
/* 80239390 002362F0 38 81 00 14 */ addi r4, r1, 0x14
/* 80239394 002362F4 7C 07 02 14 */ add r0, r7, r0
/* 80239398 002362F8 C0 05 00 08 */ lfs f0, 8(r5)
/* 8023939C 002362FC B1 41 00 08 */ sth r10, 8(r1)
/* 802393A0 00236300 38 A1 00 18 */ addi r5, r1, 0x18
/* 802393A4 00236304 B1 41 00 28 */ sth r10, 0x28(r1)
/* 802393A8 00236308 91 21 00 2C */ stw r9, 0x2c(r1)
/* 802393AC 0023630C 91 21 00 30 */ stw r9, 0x30(r1)
/* 802393B0 00236310 91 21 00 34 */ stw r9, 0x34(r1)
/* 802393B4 00236314 91 21 00 38 */ stw r9, 0x38(r1)
/* 802393B8 00236318 91 21 00 3C */ stw r9, 0x3c(r1)
/* 802393BC 0023631C 91 01 00 40 */ stw r8, 0x40(r1)
/* 802393C0 00236320 D0 41 00 44 */ stfs f2, 0x44(r1)
/* 802393C4 00236324 D0 21 00 48 */ stfs f1, 0x48(r1)
/* 802393C8 00236328 D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 802393CC 0023632C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 802393D0 00236330 90 01 00 20 */ stw r0, 0x20(r1)
/* 802393D4 00236334 90 E1 00 24 */ stw r7, 0x24(r1)
/* 802393D8 00236338 90 01 00 18 */ stw r0, 0x18(r1)
/* 802393DC 0023633C 90 E1 00 14 */ stw r7, 0x14(r1)
/* 802393E0 00236340 48 00 16 49 */ bl "lower_bound_const<Q34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorRC11CTeamAiRole"
/* 802393E4 00236344 80 A1 00 10 */ lwz r5, 0x10(r1)
/* 802393E8 00236348 38 80 00 00 */ li r4, 0
/* 802393EC 0023634C 80 01 00 20 */ lwz r0, 0x20(r1)
/* 802393F0 00236350 90 A1 00 0C */ stw r5, 0xc(r1)
/* 802393F4 00236354 7C 05 00 40 */ cmplw r5, r0
/* 802393F8 00236358 41 82 00 20 */ beq lbl_80239418
/* 802393FC 0023635C A0 61 00 28 */ lhz r3, 0x28(r1)
/* 80239400 00236360 A0 05 00 00 */ lhz r0, 0(r5)
/* 80239404 00236364 54 63 05 BE */ clrlwi r3, r3, 0x16
/* 80239408 00236368 54 00 05 BE */ clrlwi r0, r0, 0x16
/* 8023940C 0023636C 7C 03 00 40 */ cmplw r3, r0
/* 80239410 00236370 41 80 00 08 */ blt lbl_80239418
/* 80239414 00236374 38 80 00 01 */ li r4, 1
lbl_80239418:
/* 80239418 00236378 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8023941C 0023637C 38 61 00 20 */ addi r3, r1, 0x20
/* 80239420 00236380 41 82 00 08 */ beq lbl_80239428
/* 80239424 00236384 38 61 00 0C */ addi r3, r1, 0xc
lbl_80239428:
/* 80239428 00236388 80 1F 00 5C */ lwz r0, 0x5c(r31)
/* 8023942C 0023638C 80 9F 00 64 */ lwz r4, 0x64(r31)
/* 80239430 00236390 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80239434 00236394 80 63 00 00 */ lwz r3, 0(r3)
/* 80239438 00236398 7C 04 02 14 */ add r0, r4, r0
/* 8023943C 0023639C 7C 03 00 40 */ cmplw r3, r0
/* 80239440 002363A0 41 82 00 08 */ beq lbl_80239448
/* 80239444 002363A4 48 00 00 08 */ b lbl_8023944C
lbl_80239448:
/* 80239448 002363A8 38 60 00 00 */ li r3, 0
lbl_8023944C:
/* 8023944C 002363AC 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80239450 002363B0 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 80239454 002363B4 7C 08 03 A6 */ mtlr r0
/* 80239458 002363B8 38 21 00 60 */ addi r1, r1, 0x60
/* 8023945C 002363BC 4E 80 00 20 */ blr
.global GetNumAssignedOfRole__10CTeamAiMgrCFQ211CTeamAiRole11ETeamAiRole
GetNumAssignedOfRole__10CTeamAiMgrCFQ211CTeamAiRole11ETeamAiRole:
/* 80239460 002363C0 80 03 00 5C */ lwz r0, 0x5c(r3)
/* 80239464 002363C4 38 C0 00 00 */ li r6, 0
/* 80239468 002363C8 80 A3 00 64 */ lwz r5, 0x64(r3)
/* 8023946C 002363CC 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80239470 002363D0 7C 65 02 14 */ add r3, r5, r0
/* 80239474 002363D4 48 00 00 18 */ b lbl_8023948C
lbl_80239478:
/* 80239478 002363D8 80 05 00 10 */ lwz r0, 0x10(r5)
/* 8023947C 002363DC 7C 04 00 00 */ cmpw r4, r0
/* 80239480 002363E0 40 82 00 08 */ bne lbl_80239488
/* 80239484 002363E4 38 C6 00 01 */ addi r6, r6, 1
lbl_80239488:
/* 80239488 002363E8 38 A5 00 28 */ addi r5, r5, 0x28
lbl_8023948C:
/* 8023948C 002363EC 7C 05 18 40 */ cmplw r5, r3
/* 80239490 002363F0 40 82 FF E8 */ bne lbl_80239478
/* 80239494 002363F4 7C C3 33 78 */ mr r3, r6
/* 80239498 002363F8 4E 80 00 20 */ blr
.global GetNumAssignedAiRoles__10CTeamAiMgrCFv
GetNumAssignedAiRoles__10CTeamAiMgrCFv:
/* 8023949C 002363FC 80 03 00 5C */ lwz r0, 0x5c(r3)
/* 802394A0 00236400 38 C0 00 00 */ li r6, 0
/* 802394A4 00236404 80 83 00 64 */ lwz r4, 0x64(r3)
/* 802394A8 00236408 1C 00 00 28 */ mulli r0, r0, 0x28
/* 802394AC 0023640C 7C 64 02 14 */ add r3, r4, r0
/* 802394B0 00236410 48 00 00 34 */ b lbl_802394E4
lbl_802394B4:
/* 802394B4 00236414 80 A4 00 10 */ lwz r5, 0x10(r4)
/* 802394B8 00236418 38 00 00 00 */ li r0, 0
/* 802394BC 0023641C 2C 05 00 00 */ cmpwi r5, 0
/* 802394C0 00236420 41 82 00 14 */ beq lbl_802394D4
/* 802394C4 00236424 41 80 00 10 */ blt lbl_802394D4
/* 802394C8 00236428 2C 05 00 04 */ cmpwi r5, 4
/* 802394CC 0023642C 41 81 00 08 */ bgt lbl_802394D4
/* 802394D0 00236430 38 00 00 01 */ li r0, 1
lbl_802394D4:
/* 802394D4 00236434 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 802394D8 00236438 41 82 00 08 */ beq lbl_802394E0
/* 802394DC 0023643C 38 C6 00 01 */ addi r6, r6, 1
lbl_802394E0:
/* 802394E0 00236440 38 84 00 28 */ addi r4, r4, 0x28
lbl_802394E4:
/* 802394E4 00236444 7C 04 18 40 */ cmplw r4, r3
/* 802394E8 00236448 40 82 FF CC */ bne lbl_802394B4
/* 802394EC 0023644C 7C C3 33 78 */ mr r3, r6
/* 802394F0 00236450 4E 80 00 20 */ blr
.global RemoveTeamAiRole__10CTeamAiMgrF9TUniqueId
RemoveTeamAiRole__10CTeamAiMgrF9TUniqueId:
/* 802394F4 00236454 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 802394F8 00236458 7C 08 02 A6 */ mflr r0
/* 802394FC 0023645C 90 01 00 84 */ stw r0, 0x84(r1)
/* 80239500 00236460 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 80239504 00236464 7C 7F 1B 78 */ mr r31, r3
/* 80239508 00236468 93 C1 00 78 */ stw r30, 0x78(r1)
/* 8023950C 0023646C 7C 9E 23 78 */ mr r30, r4
/* 80239510 00236470 A0 04 00 00 */ lhz r0, 0(r4)
/* 80239514 00236474 38 81 00 18 */ addi r4, r1, 0x18
/* 80239518 00236478 B0 01 00 18 */ sth r0, 0x18(r1)
/* 8023951C 0023647C 4B FF FA 09 */ bl IsMeleeAttacker__10CTeamAiMgrCF9TUniqueId
/* 80239520 00236480 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80239524 00236484 41 82 00 18 */ beq lbl_8023953C
/* 80239528 00236488 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8023952C 0023648C 7F E3 FB 78 */ mr r3, r31
/* 80239530 00236490 38 81 00 14 */ addi r4, r1, 0x14
/* 80239534 00236494 B0 01 00 14 */ sth r0, 0x14(r1)
/* 80239538 00236498 4B FF F6 95 */ bl RemoveMeleeAttacker__10CTeamAiMgrF9TUniqueId
lbl_8023953C:
/* 8023953C 0023649C A0 1E 00 00 */ lhz r0, 0(r30)
/* 80239540 002364A0 7F E3 FB 78 */ mr r3, r31
/* 80239544 002364A4 38 81 00 10 */ addi r4, r1, 0x10
/* 80239548 002364A8 B0 01 00 10 */ sth r0, 0x10(r1)
/* 8023954C 002364AC 4B FF F5 B5 */ bl IsProjectileAttacker__10CTeamAiMgrCF9TUniqueId
/* 80239550 002364B0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80239554 002364B4 41 82 00 18 */ beq lbl_8023956C
/* 80239558 002364B8 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8023955C 002364BC 7F E3 FB 78 */ mr r3, r31
/* 80239560 002364C0 38 81 00 0C */ addi r4, r1, 0xc
/* 80239564 002364C4 B0 01 00 0C */ sth r0, 0xc(r1)
/* 80239568 002364C8 4B FF EF 7D */ bl RemoveProjectileAttacker__10CTeamAiMgrF9TUniqueId
lbl_8023956C:
/* 8023956C 002364CC 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 80239570 002364D0 38 E0 FF FF */ li r7, -1
/* 80239574 002364D4 38 83 66 A0 */ addi r4, r3, sZeroVector__9CVector3f@l
/* 80239578 002364D8 A1 1E 00 00 */ lhz r8, 0(r30)
/* 8023957C 002364DC C0 44 00 00 */ lfs f2, 0(r4)
/* 80239580 002364E0 38 00 00 00 */ li r0, 0
/* 80239584 002364E4 C0 24 00 04 */ lfs f1, 4(r4)
/* 80239588 002364E8 38 61 00 20 */ addi r3, r1, 0x20
/* 8023958C 002364EC C0 04 00 08 */ lfs f0, 8(r4)
/* 80239590 002364F0 38 81 00 24 */ addi r4, r1, 0x24
/* 80239594 002364F4 B1 01 00 44 */ sth r8, 0x44(r1)
/* 80239598 002364F8 38 A1 00 28 */ addi r5, r1, 0x28
/* 8023959C 002364FC 38 C1 00 44 */ addi r6, r1, 0x44
/* 802395A0 00236500 90 E1 00 48 */ stw r7, 0x48(r1)
/* 802395A4 00236504 90 E1 00 4C */ stw r7, 0x4c(r1)
/* 802395A8 00236508 90 E1 00 50 */ stw r7, 0x50(r1)
/* 802395AC 0023650C 90 E1 00 54 */ stw r7, 0x54(r1)
/* 802395B0 00236510 90 E1 00 58 */ stw r7, 0x58(r1)
/* 802395B4 00236514 90 01 00 5C */ stw r0, 0x5c(r1)
/* 802395B8 00236518 D0 41 00 60 */ stfs f2, 0x60(r1)
/* 802395BC 0023651C D0 21 00 64 */ stfs f1, 0x64(r1)
/* 802395C0 00236520 D0 01 00 68 */ stfs f0, 0x68(r1)
/* 802395C4 00236524 80 1F 00 5C */ lwz r0, 0x5c(r31)
/* 802395C8 00236528 80 FF 00 64 */ lwz r7, 0x64(r31)
/* 802395CC 0023652C 1C 00 00 28 */ mulli r0, r0, 0x28
/* 802395D0 00236530 B1 01 00 08 */ sth r8, 8(r1)
/* 802395D4 00236534 7C E7 02 14 */ add r7, r7, r0
/* 802395D8 00236538 90 E1 00 38 */ stw r7, 0x38(r1)
/* 802395DC 0023653C 80 1F 00 64 */ lwz r0, 0x64(r31)
/* 802395E0 00236540 90 E1 00 34 */ stw r7, 0x34(r1)
/* 802395E4 00236544 90 01 00 3C */ stw r0, 0x3c(r1)
/* 802395E8 00236548 90 E1 00 28 */ stw r7, 0x28(r1)
/* 802395EC 0023654C 90 01 00 24 */ stw r0, 0x24(r1)
/* 802395F0 00236550 48 00 13 71 */ bl "lower_bound<Q34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14const_iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorRC11CTeamAiRole"
/* 802395F4 00236554 80 A1 00 20 */ lwz r5, 0x20(r1)
/* 802395F8 00236558 38 80 00 00 */ li r4, 0
/* 802395FC 0023655C 80 01 00 38 */ lwz r0, 0x38(r1)
/* 80239600 00236560 90 A1 00 1C */ stw r5, 0x1c(r1)
/* 80239604 00236564 7C 05 00 40 */ cmplw r5, r0
/* 80239608 00236568 41 82 00 20 */ beq lbl_80239628
/* 8023960C 0023656C A0 61 00 44 */ lhz r3, 0x44(r1)
/* 80239610 00236570 A0 05 00 00 */ lhz r0, 0(r5)
/* 80239614 00236574 54 63 05 BE */ clrlwi r3, r3, 0x16
/* 80239618 00236578 54 00 05 BE */ clrlwi r0, r0, 0x16
/* 8023961C 0023657C 7C 03 00 40 */ cmplw r3, r0
/* 80239620 00236580 41 80 00 08 */ blt lbl_80239628
/* 80239624 00236584 38 80 00 01 */ li r4, 1
lbl_80239628:
/* 80239628 00236588 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8023962C 0023658C 38 61 00 38 */ addi r3, r1, 0x38
/* 80239630 00236590 41 82 00 08 */ beq lbl_80239638
/* 80239634 00236594 38 61 00 1C */ addi r3, r1, 0x1c
lbl_80239638:
/* 80239638 00236598 80 03 00 00 */ lwz r0, 0(r3)
/* 8023963C 0023659C 38 61 00 30 */ addi r3, r1, 0x30
/* 80239640 002365A0 38 9F 00 58 */ addi r4, r31, 0x58
/* 80239644 002365A4 38 A1 00 2C */ addi r5, r1, 0x2c
/* 80239648 002365A8 90 01 00 40 */ stw r0, 0x40(r1)
/* 8023964C 002365AC 90 01 00 2C */ stw r0, 0x2c(r1)
/* 80239650 002365B0 48 00 00 25 */ bl sub_80239674
/* 80239654 002365B4 7F E3 FB 78 */ mr r3, r31
/* 80239658 002365B8 4B FF E6 49 */ bl UpdateTeamCaptain__10CTeamAiMgrFv
/* 8023965C 002365BC 80 01 00 84 */ lwz r0, 0x84(r1)
/* 80239660 002365C0 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 80239664 002365C4 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 80239668 002365C8 7C 08 03 A6 */ mtlr r0
/* 8023966C 002365CC 38 21 00 80 */ addi r1, r1, 0x80
/* 80239670 002365D0 4E 80 00 20 */ blr
.global sub_80239674
sub_80239674:
/* 80239674 002365D4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80239678 002365D8 7C 08 02 A6 */ mflr r0
/* 8023967C 002365DC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80239680 002365E0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80239684 002365E4 7C 7F 1B 78 */ mr r31, r3
/* 80239688 002365E8 80 C5 00 00 */ lwz r6, 0(r5)
/* 8023968C 002365EC 80 05 00 00 */ lwz r0, 0(r5)
/* 80239690 002365F0 38 A1 00 10 */ addi r5, r1, 0x10
/* 80239694 002365F4 38 E6 00 28 */ addi r7, r6, 0x28
/* 80239698 002365F8 38 C1 00 0C */ addi r6, r1, 0xc
/* 8023969C 002365FC 90 E1 00 08 */ stw r7, 8(r1)
/* 802396A0 00236600 90 E1 00 0C */ stw r7, 0xc(r1)
/* 802396A4 00236604 90 01 00 10 */ stw r0, 0x10(r1)
/* 802396A8 00236608 48 00 00 19 */ bl sub_802396c0
/* 802396AC 0023660C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802396B0 00236610 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802396B4 00236614 7C 08 03 A6 */ mtlr r0
/* 802396B8 00236618 38 21 00 20 */ addi r1, r1, 0x20
/* 802396BC 0023661C 4E 80 00 20 */ blr
.global sub_802396c0
sub_802396c0:
/* 802396C0 00236620 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802396C4 00236624 80 E5 00 00 */ lwz r7, 0(r5)
/* 802396C8 00236628 80 06 00 00 */ lwz r0, 0(r6)
/* 802396CC 0023662C 90 E1 00 0C */ stw r7, 0xc(r1)
/* 802396D0 00236630 90 01 00 08 */ stw r0, 8(r1)
/* 802396D4 00236634 48 00 00 08 */ b lbl_802396DC
lbl_802396D8:
/* 802396D8 00236638 38 E7 00 28 */ addi r7, r7, 0x28
lbl_802396DC:
/* 802396DC 0023663C 7C 07 00 40 */ cmplw r7, r0
/* 802396E0 00236640 40 82 FF F8 */ bne lbl_802396D8
/* 802396E4 00236644 81 24 00 0C */ lwz r9, 0xc(r4)
/* 802396E8 00236648 3C E0 66 66 */ lis r7, 0x66666667@ha
/* 802396EC 0023664C 80 05 00 00 */ lwz r0, 0(r5)
/* 802396F0 00236650 38 E7 66 67 */ addi r7, r7, 0x66666667@l
/* 802396F4 00236654 81 06 00 00 */ lwz r8, 0(r6)
/* 802396F8 00236658 7C 09 00 50 */ subf r0, r9, r0
/* 802396FC 0023665C 7C 07 00 96 */ mulhw r0, r7, r0
/* 80239700 00236660 7C 00 26 70 */ srawi r0, r0, 4
/* 80239704 00236664 54 06 0F FE */ srwi r6, r0, 0x1f
/* 80239708 00236668 7C C0 32 14 */ add r6, r0, r6
/* 8023970C 0023666C 1C 06 00 28 */ mulli r0, r6, 0x28
/* 80239710 00236670 7C CA 33 78 */ mr r10, r6
/* 80239714 00236674 7C E9 02 14 */ add r7, r9, r0
/* 80239718 00236678 48 00 00 68 */ b lbl_80239780
lbl_8023971C:
/* 8023971C 0023667C 28 07 00 00 */ cmplwi r7, 0
/* 80239720 00236680 41 82 00 54 */ beq lbl_80239774
/* 80239724 00236684 A0 08 00 00 */ lhz r0, 0(r8)
/* 80239728 00236688 B0 07 00 00 */ sth r0, 0(r7)
/* 8023972C 0023668C 80 08 00 04 */ lwz r0, 4(r8)
/* 80239730 00236690 90 07 00 04 */ stw r0, 4(r7)
/* 80239734 00236694 80 08 00 08 */ lwz r0, 8(r8)
/* 80239738 00236698 90 07 00 08 */ stw r0, 8(r7)
/* 8023973C 0023669C 80 08 00 0C */ lwz r0, 0xc(r8)
/* 80239740 002366A0 90 07 00 0C */ stw r0, 0xc(r7)
/* 80239744 002366A4 80 08 00 10 */ lwz r0, 0x10(r8)
/* 80239748 002366A8 90 07 00 10 */ stw r0, 0x10(r7)
/* 8023974C 002366AC 80 08 00 14 */ lwz r0, 0x14(r8)
/* 80239750 002366B0 90 07 00 14 */ stw r0, 0x14(r7)
/* 80239754 002366B4 80 08 00 18 */ lwz r0, 0x18(r8)
/* 80239758 002366B8 90 07 00 18 */ stw r0, 0x18(r7)
/* 8023975C 002366BC C0 08 00 1C */ lfs f0, 0x1c(r8)
/* 80239760 002366C0 D0 07 00 1C */ stfs f0, 0x1c(r7)
/* 80239764 002366C4 C0 08 00 20 */ lfs f0, 0x20(r8)
/* 80239768 002366C8 D0 07 00 20 */ stfs f0, 0x20(r7)
/* 8023976C 002366CC C0 08 00 24 */ lfs f0, 0x24(r8)
/* 80239770 002366D0 D0 07 00 24 */ stfs f0, 0x24(r7)
lbl_80239774:
/* 80239774 002366D4 38 E7 00 28 */ addi r7, r7, 0x28
/* 80239778 002366D8 39 4A 00 01 */ addi r10, r10, 1
/* 8023977C 002366DC 39 08 00 28 */ addi r8, r8, 0x28
lbl_80239780:
/* 80239780 002366E0 80 04 00 04 */ lwz r0, 4(r4)
/* 80239784 002366E4 80 C4 00 0C */ lwz r6, 0xc(r4)
/* 80239788 002366E8 1C 00 00 28 */ mulli r0, r0, 0x28
/* 8023978C 002366EC 7C 06 02 14 */ add r0, r6, r0
/* 80239790 002366F0 7C 08 00 40 */ cmplw r8, r0
/* 80239794 002366F4 40 82 FF 88 */ bne lbl_8023971C
/* 80239798 002366F8 91 44 00 04 */ stw r10, 4(r4)
/* 8023979C 002366FC 80 05 00 00 */ lwz r0, 0(r5)
/* 802397A0 00236700 90 03 00 00 */ stw r0, 0(r3)
/* 802397A4 00236704 38 21 00 10 */ addi r1, r1, 0x10
/* 802397A8 00236708 4E 80 00 20 */ blr
.global AssignTeamAiRole__10CTeamAiMgrFRC3CAiiii
AssignTeamAiRole__10CTeamAiMgrFRC3CAiiii:
/* 802397AC 0023670C 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 802397B0 00236710 7C 08 02 A6 */ mflr r0
/* 802397B4 00236714 3D 00 80 5A */ lis r8, sZeroVector__9CVector3f@ha
/* 802397B8 00236718 90 01 00 84 */ stw r0, 0x84(r1)
/* 802397BC 0023671C 38 00 00 00 */ li r0, 0
/* 802397C0 00236720 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 802397C4 00236724 7C 7F 1B 78 */ mr r31, r3
/* 802397C8 00236728 38 61 00 14 */ addi r3, r1, 0x14
/* 802397CC 0023672C A1 24 00 08 */ lhz r9, 8(r4)
/* 802397D0 00236730 38 88 66 A0 */ addi r4, r8, sZeroVector__9CVector3f@l
/* 802397D4 00236734 C0 44 00 00 */ lfs f2, 0(r4)
/* 802397D8 00236738 39 00 FF FF */ li r8, -1
/* 802397DC 0023673C C0 24 00 04 */ lfs f1, 4(r4)
/* 802397E0 00236740 C0 04 00 08 */ lfs f0, 8(r4)
/* 802397E4 00236744 38 81 00 18 */ addi r4, r1, 0x18
/* 802397E8 00236748 90 A1 00 50 */ stw r5, 0x50(r1)
/* 802397EC 0023674C 38 A1 00 1C */ addi r5, r1, 0x1c
/* 802397F0 00236750 90 C1 00 54 */ stw r6, 0x54(r1)
/* 802397F4 00236754 38 C1 00 4C */ addi r6, r1, 0x4c
/* 802397F8 00236758 B1 21 00 4C */ sth r9, 0x4c(r1)
/* 802397FC 0023675C 90 E1 00 58 */ stw r7, 0x58(r1)
/* 80239800 00236760 91 01 00 5C */ stw r8, 0x5c(r1)
/* 80239804 00236764 91 01 00 60 */ stw r8, 0x60(r1)
/* 80239808 00236768 90 01 00 64 */ stw r0, 0x64(r1)
/* 8023980C 0023676C D0 41 00 68 */ stfs f2, 0x68(r1)
/* 80239810 00236770 D0 21 00 6C */ stfs f1, 0x6c(r1)
/* 80239814 00236774 D0 01 00 70 */ stfs f0, 0x70(r1)
/* 80239818 00236778 80 1F 00 5C */ lwz r0, 0x5c(r31)
/* 8023981C 0023677C 80 FF 00 64 */ lwz r7, 0x64(r31)
/* 80239820 00236780 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80239824 00236784 B1 21 00 08 */ sth r9, 8(r1)
/* 80239828 00236788 B1 21 00 0C */ sth r9, 0xc(r1)
/* 8023982C 0023678C 7C E7 02 14 */ add r7, r7, r0
/* 80239830 00236790 90 E1 00 40 */ stw r7, 0x40(r1)
/* 80239834 00236794 80 1F 00 64 */ lwz r0, 0x64(r31)
/* 80239838 00236798 90 E1 00 3C */ stw r7, 0x3c(r1)
/* 8023983C 0023679C 90 01 00 44 */ stw r0, 0x44(r1)
/* 80239840 002367A0 90 E1 00 1C */ stw r7, 0x1c(r1)
/* 80239844 002367A4 90 01 00 18 */ stw r0, 0x18(r1)
/* 80239848 002367A8 48 00 11 19 */ bl "lower_bound<Q34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14const_iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorRC11CTeamAiRole"
/* 8023984C 002367AC 80 A1 00 14 */ lwz r5, 0x14(r1)
/* 80239850 002367B0 38 80 00 00 */ li r4, 0
/* 80239854 002367B4 80 01 00 40 */ lwz r0, 0x40(r1)
/* 80239858 002367B8 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8023985C 002367BC 7C 05 00 40 */ cmplw r5, r0
/* 80239860 002367C0 41 82 00 20 */ beq lbl_80239880
/* 80239864 002367C4 A0 61 00 4C */ lhz r3, 0x4c(r1)
/* 80239868 002367C8 A0 05 00 00 */ lhz r0, 0(r5)
/* 8023986C 002367CC 54 63 05 BE */ clrlwi r3, r3, 0x16
/* 80239870 002367D0 54 00 05 BE */ clrlwi r0, r0, 0x16
/* 80239874 002367D4 7C 03 00 40 */ cmplw r3, r0
/* 80239878 002367D8 41 80 00 08 */ blt lbl_80239880
/* 8023987C 002367DC 38 80 00 01 */ li r4, 1
lbl_80239880:
/* 80239880 002367E0 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80239884 002367E4 38 81 00 40 */ addi r4, r1, 0x40
/* 80239888 002367E8 41 82 00 08 */ beq lbl_80239890
/* 8023988C 002367EC 38 81 00 10 */ addi r4, r1, 0x10
lbl_80239890:
/* 80239890 002367F0 80 BF 00 5C */ lwz r5, 0x5c(r31)
/* 80239894 002367F4 80 7F 00 64 */ lwz r3, 0x64(r31)
/* 80239898 002367F8 1C 05 00 28 */ mulli r0, r5, 0x28
/* 8023989C 002367FC 80 84 00 00 */ lwz r4, 0(r4)
/* 802398A0 00236800 7C E3 02 14 */ add r7, r3, r0
/* 802398A4 00236804 7C 04 38 40 */ cmplw r4, r7
/* 802398A8 00236808 40 82 00 64 */ bne lbl_8023990C
/* 802398AC 0023680C 80 1F 00 60 */ lwz r0, 0x60(r31)
/* 802398B0 00236810 7C 05 00 00 */ cmpw r5, r0
/* 802398B4 00236814 40 80 00 50 */ bge lbl_80239904
/* 802398B8 00236818 90 E1 00 2C */ stw r7, 0x2c(r1)
/* 802398BC 0023681C 38 61 00 38 */ addi r3, r1, 0x38
/* 802398C0 00236820 38 81 00 34 */ addi r4, r1, 0x34
/* 802398C4 00236824 38 A1 00 2C */ addi r5, r1, 0x2c
/* 802398C8 00236828 80 1F 00 64 */ lwz r0, 0x64(r31)
/* 802398CC 0023682C 38 C1 00 4C */ addi r6, r1, 0x4c
/* 802398D0 00236830 90 E1 00 28 */ stw r7, 0x28(r1)
/* 802398D4 00236834 90 01 00 30 */ stw r0, 0x30(r1)
/* 802398D8 00236838 90 01 00 34 */ stw r0, 0x34(r1)
/* 802398DC 0023683C 48 00 10 85 */ bl "lower_bound<Q34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14const_iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorRC11CTeamAiRole"
/* 802398E0 00236840 80 01 00 38 */ lwz r0, 0x38(r1)
/* 802398E4 00236844 38 61 00 24 */ addi r3, r1, 0x24
/* 802398E8 00236848 38 9F 00 58 */ addi r4, r31, 0x58
/* 802398EC 0023684C 38 A1 00 20 */ addi r5, r1, 0x20
/* 802398F0 00236850 90 01 00 48 */ stw r0, 0x48(r1)
/* 802398F4 00236854 38 C1 00 4C */ addi r6, r1, 0x4c
/* 802398F8 00236858 90 01 00 20 */ stw r0, 0x20(r1)
/* 802398FC 0023685C 48 00 00 81 */ bl sub_8023997c
/* 80239900 00236860 48 00 00 5C */ b lbl_8023995C
lbl_80239904:
/* 80239904 00236864 38 60 00 00 */ li r3, 0
/* 80239908 00236868 48 00 00 60 */ b lbl_80239968
lbl_8023990C:
/* 8023990C 0023686C A0 01 00 4C */ lhz r0, 0x4c(r1)
/* 80239910 00236870 B0 04 00 00 */ sth r0, 0(r4)
/* 80239914 00236874 80 01 00 50 */ lwz r0, 0x50(r1)
/* 80239918 00236878 90 04 00 04 */ stw r0, 4(r4)
/* 8023991C 0023687C 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80239920 00236880 90 04 00 08 */ stw r0, 8(r4)
/* 80239924 00236884 80 01 00 58 */ lwz r0, 0x58(r1)
/* 80239928 00236888 90 04 00 0C */ stw r0, 0xc(r4)
/* 8023992C 0023688C 80 01 00 5C */ lwz r0, 0x5c(r1)
/* 80239930 00236890 90 04 00 10 */ stw r0, 0x10(r4)
/* 80239934 00236894 80 01 00 60 */ lwz r0, 0x60(r1)
/* 80239938 00236898 90 04 00 14 */ stw r0, 0x14(r4)
/* 8023993C 0023689C 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80239940 002368A0 90 04 00 18 */ stw r0, 0x18(r4)
/* 80239944 002368A4 80 61 00 68 */ lwz r3, 0x68(r1)
/* 80239948 002368A8 80 01 00 6C */ lwz r0, 0x6c(r1)
/* 8023994C 002368AC 90 64 00 1C */ stw r3, 0x1c(r4)
/* 80239950 002368B0 90 04 00 20 */ stw r0, 0x20(r4)
/* 80239954 002368B4 80 01 00 70 */ lwz r0, 0x70(r1)
/* 80239958 002368B8 90 04 00 24 */ stw r0, 0x24(r4)
lbl_8023995C:
/* 8023995C 002368BC 7F E3 FB 78 */ mr r3, r31
/* 80239960 002368C0 4B FF E3 41 */ bl UpdateTeamCaptain__10CTeamAiMgrFv
/* 80239964 002368C4 38 60 00 01 */ li r3, 1
lbl_80239968:
/* 80239968 002368C8 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8023996C 002368CC 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 80239970 002368D0 7C 08 03 A6 */ mtlr r0
/* 80239974 002368D4 38 21 00 80 */ addi r1, r1, 0x80
/* 80239978 002368D8 4E 80 00 20 */ blr
.global sub_8023997c
sub_8023997c:
/* 8023997C 002368DC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80239980 002368E0 7C 08 02 A6 */ mflr r0
/* 80239984 002368E4 90 01 00 34 */ stw r0, 0x34(r1)
/* 80239988 002368E8 38 00 00 00 */ li r0, 0
/* 8023998C 002368EC 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80239990 002368F0 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80239994 002368F4 7C 9E 23 78 */ mr r30, r4
/* 80239998 002368F8 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8023999C 002368FC 7C 7D 1B 78 */ mr r29, r3
/* 802399A0 00236900 7F C3 F3 78 */ mr r3, r30
/* 802399A4 00236904 81 05 00 00 */ lwz r8, 0(r5)
/* 802399A8 00236908 80 A4 00 0C */ lwz r5, 0xc(r4)
/* 802399AC 0023690C 3C 80 66 66 */ lis r4, 0x66666667@ha
/* 802399B0 00236910 38 84 66 67 */ addi r4, r4, 0x66666667@l
/* 802399B4 00236914 90 C1 00 14 */ stw r6, 0x14(r1)
/* 802399B8 00236918 7C A5 40 50 */ subf r5, r5, r8
/* 802399BC 0023691C 7C E4 28 96 */ mulhw r7, r4, r5
/* 802399C0 00236920 90 C1 00 0C */ stw r6, 0xc(r1)
/* 802399C4 00236924 38 81 00 08 */ addi r4, r1, 8
/* 802399C8 00236928 90 01 00 18 */ stw r0, 0x18(r1)
/* 802399CC 0023692C 38 C1 00 0C */ addi r6, r1, 0xc
/* 802399D0 00236930 38 A0 00 01 */ li r5, 1
/* 802399D4 00236934 7C E7 26 70 */ srawi r7, r7, 4
/* 802399D8 00236938 90 01 00 10 */ stw r0, 0x10(r1)
/* 802399DC 0023693C 54 E0 0F FE */ srwi r0, r7, 0x1f
/* 802399E0 00236940 91 01 00 08 */ stw r8, 8(r1)
/* 802399E4 00236944 7F E7 02 14 */ add r31, r7, r0
/* 802399E8 00236948 48 00 00 31 */ bl sub_80239a18
/* 802399EC 0023694C 1C 1F 00 28 */ mulli r0, r31, 0x28
/* 802399F0 00236950 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 802399F4 00236954 7C 63 02 14 */ add r3, r3, r0
/* 802399F8 00236958 90 7D 00 00 */ stw r3, 0(r29)
/* 802399FC 0023695C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80239A00 00236960 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80239A04 00236964 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80239A08 00236968 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80239A0C 0023696C 7C 08 03 A6 */ mtlr r0
/* 80239A10 00236970 38 21 00 30 */ addi r1, r1, 0x30
/* 80239A14 00236974 4E 80 00 20 */ blr
.global sub_80239a18
sub_80239a18:
/* 80239A18 00236978 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80239A1C 0023697C 7C 08 02 A6 */ mflr r0
/* 80239A20 00236980 90 01 00 34 */ stw r0, 0x34(r1)
/* 80239A24 00236984 BF 21 00 14 */ stmw r25, 0x14(r1)
/* 80239A28 00236988 7C 7A 1B 78 */ mr r26, r3
/* 80239A2C 0023698C 7C BB 2B 78 */ mr r27, r5
/* 80239A30 00236990 7C 99 23 78 */ mr r25, r4
/* 80239A34 00236994 81 03 00 04 */ lwz r8, 4(r3)
/* 80239A38 00236998 80 63 00 08 */ lwz r3, 8(r3)
/* 80239A3C 0023699C 7C 88 DA 14 */ add r4, r8, r27
/* 80239A40 002369A0 80 FA 00 0C */ lwz r7, 0xc(r26)
/* 80239A44 002369A4 7C 04 18 00 */ cmpw r4, r3
/* 80239A48 002369A8 83 C6 00 00 */ lwz r30, 0(r6)
/* 80239A4C 002369AC 7C FD 3B 78 */ mr r29, r7
/* 80239A50 002369B0 41 81 01 40 */ bgt lbl_80239B90
/* 80239A54 002369B4 80 19 00 00 */ lwz r0, 0(r25)
/* 80239A58 002369B8 3C 60 66 66 */ lis r3, 0x66666667@ha
/* 80239A5C 002369BC 38 63 66 67 */ addi r3, r3, 0x66666667@l
/* 80239A60 002369C0 7C 07 00 50 */ subf r0, r7, r0
/* 80239A64 002369C4 7C 03 00 96 */ mulhw r0, r3, r0
/* 80239A68 002369C8 7C 00 26 70 */ srawi r0, r0, 4
/* 80239A6C 002369CC 54 03 0F FE */ srwi r3, r0, 0x1f
/* 80239A70 002369D0 7C A0 1A 14 */ add r5, r0, r3
/* 80239A74 002369D4 7C 65 40 50 */ subf r3, r5, r8
/* 80239A78 002369D8 35 03 FF FF */ addic. r8, r3, -1
/* 80239A7C 002369DC 1C 65 00 28 */ mulli r3, r5, 0x28
/* 80239A80 002369E0 38 08 00 01 */ addi r0, r8, 1
/* 80239A84 002369E4 7C C7 1A 14 */ add r6, r7, r3
/* 80239A88 002369E8 1C 9B 00 28 */ mulli r4, r27, 0x28
/* 80239A8C 002369EC 1C 68 00 28 */ mulli r3, r8, 0x28
/* 80239A90 002369F0 7C 84 1A 14 */ add r4, r4, r3
/* 80239A94 002369F4 7C 86 22 14 */ add r4, r6, r4
/* 80239A98 002369F8 7C 09 03 A6 */ mtctr r0
/* 80239A9C 002369FC 41 80 00 78 */ blt lbl_80239B14
lbl_80239AA0:
/* 80239AA0 00236A00 7C 05 42 14 */ add r0, r5, r8
/* 80239AA4 00236A04 28 04 00 00 */ cmplwi r4, 0
/* 80239AA8 00236A08 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80239AAC 00236A0C 80 7A 00 0C */ lwz r3, 0xc(r26)
/* 80239AB0 00236A10 7C 63 02 14 */ add r3, r3, r0
/* 80239AB4 00236A14 41 82 00 54 */ beq lbl_80239B08
/* 80239AB8 00236A18 A0 03 00 00 */ lhz r0, 0(r3)
/* 80239ABC 00236A1C B0 04 00 00 */ sth r0, 0(r4)
/* 80239AC0 00236A20 80 03 00 04 */ lwz r0, 4(r3)
/* 80239AC4 00236A24 90 04 00 04 */ stw r0, 4(r4)
/* 80239AC8 00236A28 80 03 00 08 */ lwz r0, 8(r3)
/* 80239ACC 00236A2C 90 04 00 08 */ stw r0, 8(r4)
/* 80239AD0 00236A30 80 03 00 0C */ lwz r0, 0xc(r3)
/* 80239AD4 00236A34 90 04 00 0C */ stw r0, 0xc(r4)
/* 80239AD8 00236A38 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80239ADC 00236A3C 90 04 00 10 */ stw r0, 0x10(r4)
/* 80239AE0 00236A40 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80239AE4 00236A44 90 04 00 14 */ stw r0, 0x14(r4)
/* 80239AE8 00236A48 80 03 00 18 */ lwz r0, 0x18(r3)
/* 80239AEC 00236A4C 90 04 00 18 */ stw r0, 0x18(r4)
/* 80239AF0 00236A50 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 80239AF4 00236A54 D0 04 00 1C */ stfs f0, 0x1c(r4)
/* 80239AF8 00236A58 C0 03 00 20 */ lfs f0, 0x20(r3)
/* 80239AFC 00236A5C D0 04 00 20 */ stfs f0, 0x20(r4)
/* 80239B00 00236A60 C0 03 00 24 */ lfs f0, 0x24(r3)
/* 80239B04 00236A64 D0 04 00 24 */ stfs f0, 0x24(r4)
lbl_80239B08:
/* 80239B08 00236A68 38 84 FF D8 */ addi r4, r4, -40
/* 80239B0C 00236A6C 39 08 FF FF */ addi r8, r8, -1
/* 80239B10 00236A70 42 00 FF 90 */ bdnz lbl_80239AA0
lbl_80239B14:
/* 80239B14 00236A74 7F 69 03 A6 */ mtctr r27
/* 80239B18 00236A78 2C 1B 00 00 */ cmpwi r27, 0
/* 80239B1C 00236A7C 40 81 00 64 */ ble lbl_80239B80
lbl_80239B20:
/* 80239B20 00236A80 28 06 00 00 */ cmplwi r6, 0
/* 80239B24 00236A84 41 82 00 54 */ beq lbl_80239B78
/* 80239B28 00236A88 A0 1E 00 00 */ lhz r0, 0(r30)
/* 80239B2C 00236A8C B0 06 00 00 */ sth r0, 0(r6)
/* 80239B30 00236A90 80 1E 00 04 */ lwz r0, 4(r30)
/* 80239B34 00236A94 90 06 00 04 */ stw r0, 4(r6)
/* 80239B38 00236A98 80 1E 00 08 */ lwz r0, 8(r30)
/* 80239B3C 00236A9C 90 06 00 08 */ stw r0, 8(r6)
/* 80239B40 00236AA0 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 80239B44 00236AA4 90 06 00 0C */ stw r0, 0xc(r6)
/* 80239B48 00236AA8 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 80239B4C 00236AAC 90 06 00 10 */ stw r0, 0x10(r6)
/* 80239B50 00236AB0 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 80239B54 00236AB4 90 06 00 14 */ stw r0, 0x14(r6)
/* 80239B58 00236AB8 80 1E 00 18 */ lwz r0, 0x18(r30)
/* 80239B5C 00236ABC 90 06 00 18 */ stw r0, 0x18(r6)
/* 80239B60 00236AC0 C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 80239B64 00236AC4 D0 06 00 1C */ stfs f0, 0x1c(r6)
/* 80239B68 00236AC8 C0 1E 00 20 */ lfs f0, 0x20(r30)
/* 80239B6C 00236ACC D0 06 00 20 */ stfs f0, 0x20(r6)
/* 80239B70 00236AD0 C0 1E 00 24 */ lfs f0, 0x24(r30)
/* 80239B74 00236AD4 D0 06 00 24 */ stfs f0, 0x24(r6)
lbl_80239B78:
/* 80239B78 00236AD8 38 C6 00 28 */ addi r6, r6, 0x28
/* 80239B7C 00236ADC 42 00 FF A4 */ bdnz lbl_80239B20
lbl_80239B80:
/* 80239B80 00236AE0 80 1A 00 04 */ lwz r0, 4(r26)
/* 80239B84 00236AE4 7C 00 DA 14 */ add r0, r0, r27
/* 80239B88 00236AE8 90 1A 00 04 */ stw r0, 4(r26)
/* 80239B8C 00236AEC 48 00 02 3C */ b lbl_80239DC8
lbl_80239B90:
/* 80239B90 00236AF0 2C 03 00 00 */ cmpwi r3, 0
/* 80239B94 00236AF4 38 00 00 04 */ li r0, 4
/* 80239B98 00236AF8 41 82 00 08 */ beq lbl_80239BA0
/* 80239B9C 00236AFC 54 60 08 3C */ slwi r0, r3, 1
lbl_80239BA0:
/* 80239BA0 00236B00 7C 1C 03 78 */ mr r28, r0
/* 80239BA4 00236B04 48 00 00 08 */ b lbl_80239BAC
lbl_80239BA8:
/* 80239BA8 00236B08 57 9C 08 3C */ slwi r28, r28, 1
lbl_80239BAC:
/* 80239BAC 00236B0C 7C 1C 20 00 */ cmpw r28, r4
/* 80239BB0 00236B10 41 80 FF F8 */ blt lbl_80239BA8
/* 80239BB4 00236B14 1C 7C 00 28 */ mulli r3, r28, 0x28
/* 80239BB8 00236B18 2C 03 00 00 */ cmpwi r3, 0
/* 80239BBC 00236B1C 40 82 00 0C */ bne lbl_80239BC8
/* 80239BC0 00236B20 3B E0 00 00 */ li r31, 0
/* 80239BC4 00236B24 48 00 00 18 */ b lbl_80239BDC
lbl_80239BC8:
/* 80239BC8 00236B28 3C 80 80 3D */ lis r4, lbl_803D4380@ha
/* 80239BCC 00236B2C 38 A0 00 00 */ li r5, 0
/* 80239BD0 00236B30 38 84 43 80 */ addi r4, r4, lbl_803D4380@l
/* 80239BD4 00236B34 48 0D BC 45 */ bl __nwa__FUlPCcPCc
/* 80239BD8 00236B38 7C 7F 1B 78 */ mr r31, r3
lbl_80239BDC:
/* 80239BDC 00236B3C 80 9A 00 0C */ lwz r4, 0xc(r26)
/* 80239BE0 00236B40 3C 60 66 66 */ lis r3, 0x66666667@ha
/* 80239BE4 00236B44 80 19 00 00 */ lwz r0, 0(r25)
/* 80239BE8 00236B48 38 A3 66 67 */ addi r5, r3, 0x66666667@l
/* 80239BEC 00236B4C 7F E7 FB 78 */ mr r7, r31
/* 80239BF0 00236B50 38 60 00 00 */ li r3, 0
/* 80239BF4 00236B54 7C 04 00 50 */ subf r0, r4, r0
/* 80239BF8 00236B58 38 C0 00 00 */ li r6, 0
/* 80239BFC 00236B5C 7C 05 00 96 */ mulhw r0, r5, r0
/* 80239C00 00236B60 7C 00 26 70 */ srawi r0, r0, 4
/* 80239C04 00236B64 54 04 0F FE */ srwi r4, r0, 0x1f
/* 80239C08 00236B68 7C A0 22 15 */ add. r5, r0, r4
/* 80239C0C 00236B6C 7C A9 03 A6 */ mtctr r5
/* 80239C10 00236B70 40 81 00 74 */ ble lbl_80239C84
lbl_80239C14:
/* 80239C14 00236B74 80 1A 00 0C */ lwz r0, 0xc(r26)
/* 80239C18 00236B78 28 07 00 00 */ cmplwi r7, 0
/* 80239C1C 00236B7C 7C 80 32 14 */ add r4, r0, r6
/* 80239C20 00236B80 41 82 00 54 */ beq lbl_80239C74
/* 80239C24 00236B84 A0 04 00 00 */ lhz r0, 0(r4)
/* 80239C28 00236B88 B0 07 00 00 */ sth r0, 0(r7)
/* 80239C2C 00236B8C 80 04 00 04 */ lwz r0, 4(r4)
/* 80239C30 00236B90 90 07 00 04 */ stw r0, 4(r7)
/* 80239C34 00236B94 80 04 00 08 */ lwz r0, 8(r4)
/* 80239C38 00236B98 90 07 00 08 */ stw r0, 8(r7)
/* 80239C3C 00236B9C 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80239C40 00236BA0 90 07 00 0C */ stw r0, 0xc(r7)
/* 80239C44 00236BA4 80 04 00 10 */ lwz r0, 0x10(r4)
/* 80239C48 00236BA8 90 07 00 10 */ stw r0, 0x10(r7)
/* 80239C4C 00236BAC 80 04 00 14 */ lwz r0, 0x14(r4)
/* 80239C50 00236BB0 90 07 00 14 */ stw r0, 0x14(r7)
/* 80239C54 00236BB4 80 04 00 18 */ lwz r0, 0x18(r4)
/* 80239C58 00236BB8 90 07 00 18 */ stw r0, 0x18(r7)
/* 80239C5C 00236BBC C0 04 00 1C */ lfs f0, 0x1c(r4)
/* 80239C60 00236BC0 D0 07 00 1C */ stfs f0, 0x1c(r7)
/* 80239C64 00236BC4 C0 04 00 20 */ lfs f0, 0x20(r4)
/* 80239C68 00236BC8 D0 07 00 20 */ stfs f0, 0x20(r7)
/* 80239C6C 00236BCC C0 04 00 24 */ lfs f0, 0x24(r4)
/* 80239C70 00236BD0 D0 07 00 24 */ stfs f0, 0x24(r7)
lbl_80239C74:
/* 80239C74 00236BD4 38 E7 00 28 */ addi r7, r7, 0x28
/* 80239C78 00236BD8 38 63 00 01 */ addi r3, r3, 1
/* 80239C7C 00236BDC 38 C6 00 28 */ addi r6, r6, 0x28
/* 80239C80 00236BE0 42 00 FF 94 */ bdnz lbl_80239C14
lbl_80239C84:
/* 80239C84 00236BE4 1C 03 00 28 */ mulli r0, r3, 0x28
/* 80239C88 00236BE8 7C 9F 02 14 */ add r4, r31, r0
/* 80239C8C 00236BEC 7F 69 03 A6 */ mtctr r27
/* 80239C90 00236BF0 2C 1B 00 00 */ cmpwi r27, 0
/* 80239C94 00236BF4 40 81 00 68 */ ble lbl_80239CFC
lbl_80239C98:
/* 80239C98 00236BF8 28 04 00 00 */ cmplwi r4, 0
/* 80239C9C 00236BFC 41 82 00 54 */ beq lbl_80239CF0
/* 80239CA0 00236C00 A0 1E 00 00 */ lhz r0, 0(r30)
/* 80239CA4 00236C04 B0 04 00 00 */ sth r0, 0(r4)
/* 80239CA8 00236C08 80 1E 00 04 */ lwz r0, 4(r30)
/* 80239CAC 00236C0C 90 04 00 04 */ stw r0, 4(r4)
/* 80239CB0 00236C10 80 1E 00 08 */ lwz r0, 8(r30)
/* 80239CB4 00236C14 90 04 00 08 */ stw r0, 8(r4)
/* 80239CB8 00236C18 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 80239CBC 00236C1C 90 04 00 0C */ stw r0, 0xc(r4)
/* 80239CC0 00236C20 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 80239CC4 00236C24 90 04 00 10 */ stw r0, 0x10(r4)
/* 80239CC8 00236C28 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 80239CCC 00236C2C 90 04 00 14 */ stw r0, 0x14(r4)
/* 80239CD0 00236C30 80 1E 00 18 */ lwz r0, 0x18(r30)
/* 80239CD4 00236C34 90 04 00 18 */ stw r0, 0x18(r4)
/* 80239CD8 00236C38 C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 80239CDC 00236C3C D0 04 00 1C */ stfs f0, 0x1c(r4)
/* 80239CE0 00236C40 C0 1E 00 20 */ lfs f0, 0x20(r30)
/* 80239CE4 00236C44 D0 04 00 20 */ stfs f0, 0x20(r4)
/* 80239CE8 00236C48 C0 1E 00 24 */ lfs f0, 0x24(r30)
/* 80239CEC 00236C4C D0 04 00 24 */ stfs f0, 0x24(r4)
lbl_80239CF0:
/* 80239CF0 00236C50 38 84 00 28 */ addi r4, r4, 0x28
/* 80239CF4 00236C54 38 63 00 01 */ addi r3, r3, 1
/* 80239CF8 00236C58 42 00 FF A0 */ bdnz lbl_80239C98
lbl_80239CFC:
/* 80239CFC 00236C5C 1C 03 00 28 */ mulli r0, r3, 0x28
/* 80239D00 00236C60 7C A6 2B 78 */ mr r6, r5
/* 80239D04 00236C64 1C 85 00 28 */ mulli r4, r5, 0x28
/* 80239D08 00236C68 7C BF 02 14 */ add r5, r31, r0
/* 80239D0C 00236C6C 48 00 00 70 */ b lbl_80239D7C
lbl_80239D10:
/* 80239D10 00236C70 80 1A 00 0C */ lwz r0, 0xc(r26)
/* 80239D14 00236C74 28 05 00 00 */ cmplwi r5, 0
/* 80239D18 00236C78 7C 60 22 14 */ add r3, r0, r4
/* 80239D1C 00236C7C 41 82 00 54 */ beq lbl_80239D70
/* 80239D20 00236C80 A0 03 00 00 */ lhz r0, 0(r3)
/* 80239D24 00236C84 B0 05 00 00 */ sth r0, 0(r5)
/* 80239D28 00236C88 80 03 00 04 */ lwz r0, 4(r3)
/* 80239D2C 00236C8C 90 05 00 04 */ stw r0, 4(r5)
/* 80239D30 00236C90 80 03 00 08 */ lwz r0, 8(r3)
/* 80239D34 00236C94 90 05 00 08 */ stw r0, 8(r5)
/* 80239D38 00236C98 80 03 00 0C */ lwz r0, 0xc(r3)
/* 80239D3C 00236C9C 90 05 00 0C */ stw r0, 0xc(r5)
/* 80239D40 00236CA0 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80239D44 00236CA4 90 05 00 10 */ stw r0, 0x10(r5)
/* 80239D48 00236CA8 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80239D4C 00236CAC 90 05 00 14 */ stw r0, 0x14(r5)
/* 80239D50 00236CB0 80 03 00 18 */ lwz r0, 0x18(r3)
/* 80239D54 00236CB4 90 05 00 18 */ stw r0, 0x18(r5)
/* 80239D58 00236CB8 C0 03 00 1C */ lfs f0, 0x1c(r3)
/* 80239D5C 00236CBC D0 05 00 1C */ stfs f0, 0x1c(r5)
/* 80239D60 00236CC0 C0 03 00 20 */ lfs f0, 0x20(r3)
/* 80239D64 00236CC4 D0 05 00 20 */ stfs f0, 0x20(r5)
/* 80239D68 00236CC8 C0 03 00 24 */ lfs f0, 0x24(r3)
/* 80239D6C 00236CCC D0 05 00 24 */ stfs f0, 0x24(r5)
lbl_80239D70:
/* 80239D70 00236CD0 38 A5 00 28 */ addi r5, r5, 0x28
/* 80239D74 00236CD4 38 84 00 28 */ addi r4, r4, 0x28
/* 80239D78 00236CD8 38 C6 00 01 */ addi r6, r6, 1
lbl_80239D7C:
/* 80239D7C 00236CDC 80 1A 00 04 */ lwz r0, 4(r26)
/* 80239D80 00236CE0 7C 06 00 00 */ cmpw r6, r0
/* 80239D84 00236CE4 41 80 FF 8C */ blt lbl_80239D10
/* 80239D88 00236CE8 1C 00 00 28 */ mulli r0, r0, 0x28
/* 80239D8C 00236CEC 7F A3 EB 78 */ mr r3, r29
/* 80239D90 00236CF0 7C 1D 02 14 */ add r0, r29, r0
/* 80239D94 00236CF4 48 00 00 08 */ b lbl_80239D9C
lbl_80239D98:
/* 80239D98 00236CF8 38 63 00 28 */ addi r3, r3, 0x28
lbl_80239D9C:
/* 80239D9C 00236CFC 7C 03 00 40 */ cmplw r3, r0
/* 80239DA0 00236D00 40 82 FF F8 */ bne lbl_80239D98
/* 80239DA4 00236D04 80 7A 00 0C */ lwz r3, 0xc(r26)
/* 80239DA8 00236D08 28 03 00 00 */ cmplwi r3, 0
/* 80239DAC 00236D0C 41 82 00 08 */ beq lbl_80239DB4
/* 80239DB0 00236D10 48 0D BB 81 */ bl Free__7CMemoryFPCv
lbl_80239DB4:
/* 80239DB4 00236D14 93 FA 00 0C */ stw r31, 0xc(r26)
/* 80239DB8 00236D18 93 9A 00 08 */ stw r28, 8(r26)
/* 80239DBC 00236D1C 80 1A 00 04 */ lwz r0, 4(r26)
/* 80239DC0 00236D20 7C 00 DA 14 */ add r0, r0, r27
/* 80239DC4 00236D24 90 1A 00 04 */ stw r0, 4(r26)
lbl_80239DC8:
/* 80239DC8 00236D28 BB 21 00 14 */ lmw r25, 0x14(r1)
/* 80239DCC 00236D2C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80239DD0 00236D30 7C 08 03 A6 */ mtlr r0
/* 80239DD4 00236D34 38 21 00 30 */ addi r1, r1, 0x30
/* 80239DD8 00236D38 4E 80 00 20 */ blr
.global Think__10CTeamAiMgrFfR13CStateManager
Think__10CTeamAiMgrFfR13CStateManager:
/* 80239DDC 00236D3C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80239DE0 00236D40 7C 08 02 A6 */ mflr r0
/* 80239DE4 00236D44 90 01 00 24 */ stw r0, 0x24(r1)
/* 80239DE8 00236D48 DB E1 00 10 */ stfd f31, 0x10(r1)
/* 80239DEC 00236D4C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
/* 80239DF0 00236D50 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80239DF4 00236D54 93 C1 00 08 */ stw r30, 8(r1)
/* 80239DF8 00236D58 FF E0 08 90 */ fmr f31, f1
/* 80239DFC 00236D5C 7C 7E 1B 78 */ mr r30, r3
/* 80239E00 00236D60 7C 9F 23 78 */ mr r31, r4
/* 80239E04 00236D64 4B E1 72 B5 */ bl Think__7CEntityFfR13CStateManager
/* 80239E08 00236D68 FC 20 F8 90 */ fmr f1, f31
/* 80239E0C 00236D6C 7F C3 F3 78 */ mr r3, r30
/* 80239E10 00236D70 4B FF E6 49 */ bl ShouldUpdateRoles__10CTeamAiMgrFf
/* 80239E14 00236D74 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80239E18 00236D78 41 82 00 10 */ beq lbl_80239E28
/* 80239E1C 00236D7C 7F C3 F3 78 */ mr r3, r30
/* 80239E20 00236D80 7F E4 FB 78 */ mr r4, r31
/* 80239E24 00236D84 4B FF E4 5D */ bl UpdateRoles__10CTeamAiMgrFR13CStateManager
lbl_80239E28:
/* 80239E28 00236D88 7F C3 F3 78 */ mr r3, r30
/* 80239E2C 00236D8C 7F E4 FB 78 */ mr r4, r31
/* 80239E30 00236D90 4B FF E1 F5 */ bl PositionTeam__10CTeamAiMgrFR13CStateManager
/* 80239E34 00236D94 C0 1E 00 90 */ lfs f0, 0x90(r30)
/* 80239E38 00236D98 EC 00 F8 2A */ fadds f0, f0, f31
/* 80239E3C 00236D9C D0 1E 00 90 */ stfs f0, 0x90(r30)
/* 80239E40 00236DA0 C0 1E 00 94 */ lfs f0, 0x94(r30)
/* 80239E44 00236DA4 EC 00 F8 2A */ fadds f0, f0, f31
/* 80239E48 00236DA8 D0 1E 00 94 */ stfs f0, 0x94(r30)
/* 80239E4C 00236DAC E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
/* 80239E50 00236DB0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80239E54 00236DB4 CB E1 00 10 */ lfd f31, 0x10(r1)
/* 80239E58 00236DB8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80239E5C 00236DBC 83 C1 00 08 */ lwz r30, 8(r1)
/* 80239E60 00236DC0 7C 08 03 A6 */ mtlr r0
/* 80239E64 00236DC4 38 21 00 20 */ addi r1, r1, 0x20
/* 80239E68 00236DC8 4E 80 00 20 */ blr
.global Accept__10CTeamAiMgrFR8IVisitor
Accept__10CTeamAiMgrFR8IVisitor:
/* 80239E6C 00236DCC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80239E70 00236DD0 7C 08 02 A6 */ mflr r0
/* 80239E74 00236DD4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80239E78 00236DD8 7C 60 1B 78 */ mr r0, r3
/* 80239E7C 00236DDC 7C 83 23 78 */ mr r3, r4
/* 80239E80 00236DE0 81 84 00 00 */ lwz r12, 0(r4)
/* 80239E84 00236DE4 7C 04 03 78 */ mr r4, r0
/* 80239E88 00236DE8 81 8C 00 C4 */ lwz r12, 0xc4(r12)
/* 80239E8C 00236DEC 7D 89 03 A6 */ mtctr r12
/* 80239E90 00236DF0 4E 80 04 21 */ bctrl
/* 80239E94 00236DF4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80239E98 00236DF8 7C 08 03 A6 */ mtlr r0
/* 80239E9C 00236DFC 38 21 00 10 */ addi r1, r1, 0x10
/* 80239EA0 00236E00 4E 80 00 20 */ blr
.global AcceptScriptMsg__10CTeamAiMgrF20EScriptObjectMessage9TUniqueIdR13CStateManager
AcceptScriptMsg__10CTeamAiMgrF20EScriptObjectMessage9TUniqueIdR13CStateManager:
/* 80239EA4 00236E04 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80239EA8 00236E08 7C 08 02 A6 */ mflr r0
/* 80239EAC 00236E0C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80239EB0 00236E10 A0 05 00 00 */ lhz r0, 0(r5)
/* 80239EB4 00236E14 38 A1 00 08 */ addi r5, r1, 8
/* 80239EB8 00236E18 B0 01 00 08 */ sth r0, 8(r1)
/* 80239EBC 00236E1C 4B E1 72 A1 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager
/* 80239EC0 00236E20 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80239EC4 00236E24 7C 08 03 A6 */ mtlr r0
/* 80239EC8 00236E28 38 21 00 10 */ addi r1, r1, 0x10
/* 80239ECC 00236E2C 4E 80 00 20 */ blr
.global ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb
ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb:
/* 80239ED0 00236E30 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80239ED4 00236E34 7C 08 02 A6 */ mflr r0
/* 80239ED8 00236E38 90 01 00 44 */ stw r0, 0x44(r1)
/* 80239EDC 00236E3C 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 80239EE0 00236E40 93 C1 00 38 */ stw r30, 0x38(r1)
/* 80239EE4 00236E44 7C FE 3B 78 */ mr r30, r7
/* 80239EE8 00236E48 93 A1 00 34 */ stw r29, 0x34(r1)
/* 80239EEC 00236E4C 7C DD 33 78 */ mr r29, r6
/* 80239EF0 00236E50 93 81 00 30 */ stw r28, 0x30(r1)
/* 80239EF4 00236E54 7C 7C 1B 78 */ mr r28, r3
/* 80239EF8 00236E58 7C 83 23 78 */ mr r3, r4
/* 80239EFC 00236E5C 38 81 00 20 */ addi r4, r1, 0x20
/* 80239F00 00236E60 A0 05 00 00 */ lhz r0, 0(r5)
/* 80239F04 00236E64 B0 01 00 20 */ sth r0, 0x20(r1)
/* 80239F08 00236E68 4B E1 26 6D */ bl ObjectById__13CStateManagerF9TUniqueId
/* 80239F0C 00236E6C 7C 64 1B 78 */ mr r4, r3
/* 80239F10 00236E70 38 61 00 24 */ addi r3, r1, 0x24
/* 80239F14 00236E74 4B E6 D6 61 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity"
/* 80239F18 00236E78 83 E3 00 04 */ lwz r31, 4(r3)
/* 80239F1C 00236E7C 28 1F 00 00 */ cmplwi r31, 0
/* 80239F20 00236E80 41 82 00 B0 */ beq lbl_80239FD0
/* 80239F24 00236E84 A0 1D 00 00 */ lhz r0, 0(r29)
/* 80239F28 00236E88 7F E3 FB 78 */ mr r3, r31
/* 80239F2C 00236E8C 38 81 00 1C */ addi r4, r1, 0x1c
/* 80239F30 00236E90 B0 01 00 1C */ sth r0, 0x1c(r1)
/* 80239F34 00236E94 4B FF F1 D1 */ bl HasTeamAiRole__10CTeamAiMgrCF9TUniqueId
/* 80239F38 00236E98 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80239F3C 00236E9C 41 82 00 94 */ beq lbl_80239FD0
/* 80239F40 00236EA0 2C 1C 00 00 */ cmpwi r28, 0
/* 80239F44 00236EA4 40 82 00 38 */ bne lbl_80239F7C
/* 80239F48 00236EA8 A0 1D 00 00 */ lhz r0, 0(r29)
/* 80239F4C 00236EAC 7F E3 FB 78 */ mr r3, r31
/* 80239F50 00236EB0 38 81 00 18 */ addi r4, r1, 0x18
/* 80239F54 00236EB4 B0 01 00 18 */ sth r0, 0x18(r1)
/* 80239F58 00236EB8 4B FF EF CD */ bl IsMeleeAttacker__10CTeamAiMgrCF9TUniqueId
/* 80239F5C 00236EBC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80239F60 00236EC0 41 82 00 54 */ beq lbl_80239FB4
/* 80239F64 00236EC4 A0 1D 00 00 */ lhz r0, 0(r29)
/* 80239F68 00236EC8 7F E3 FB 78 */ mr r3, r31
/* 80239F6C 00236ECC 38 81 00 14 */ addi r4, r1, 0x14
/* 80239F70 00236ED0 B0 01 00 14 */ sth r0, 0x14(r1)
/* 80239F74 00236ED4 4B FF EC 59 */ bl RemoveMeleeAttacker__10CTeamAiMgrF9TUniqueId
/* 80239F78 00236ED8 48 00 00 3C */ b lbl_80239FB4
lbl_80239F7C:
/* 80239F7C 00236EDC 2C 1C 00 01 */ cmpwi r28, 1
/* 80239F80 00236EE0 40 82 00 34 */ bne lbl_80239FB4
/* 80239F84 00236EE4 A0 1D 00 00 */ lhz r0, 0(r29)
/* 80239F88 00236EE8 7F E3 FB 78 */ mr r3, r31
/* 80239F8C 00236EEC 38 81 00 10 */ addi r4, r1, 0x10
/* 80239F90 00236EF0 B0 01 00 10 */ sth r0, 0x10(r1)
/* 80239F94 00236EF4 4B FF EB 6D */ bl IsProjectileAttacker__10CTeamAiMgrCF9TUniqueId
/* 80239F98 00236EF8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80239F9C 00236EFC 41 82 00 18 */ beq lbl_80239FB4
/* 80239FA0 00236F00 A0 1D 00 00 */ lhz r0, 0(r29)
/* 80239FA4 00236F04 7F E3 FB 78 */ mr r3, r31
/* 80239FA8 00236F08 38 81 00 0C */ addi r4, r1, 0xc
/* 80239FAC 00236F0C B0 01 00 0C */ sth r0, 0xc(r1)
/* 80239FB0 00236F10 4B FF E5 35 */ bl RemoveProjectileAttacker__10CTeamAiMgrF9TUniqueId
lbl_80239FB4:
/* 80239FB4 00236F14 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 80239FB8 00236F18 41 82 00 18 */ beq lbl_80239FD0
/* 80239FBC 00236F1C A0 1D 00 00 */ lhz r0, 0(r29)
/* 80239FC0 00236F20 7F E3 FB 78 */ mr r3, r31
/* 80239FC4 00236F24 38 81 00 08 */ addi r4, r1, 8
/* 80239FC8 00236F28 B0 01 00 08 */ sth r0, 8(r1)
/* 80239FCC 00236F2C 4B FF F2 6D */ bl ClearTeamAiRole__10CTeamAiMgrF9TUniqueId
lbl_80239FD0:
/* 80239FD0 00236F30 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80239FD4 00236F34 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 80239FD8 00236F38 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 80239FDC 00236F3C 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 80239FE0 00236F40 83 81 00 30 */ lwz r28, 0x30(r1)
/* 80239FE4 00236F44 7C 08 03 A6 */ mtlr r0
/* 80239FE8 00236F48 38 21 00 40 */ addi r1, r1, 0x40
/* 80239FEC 00236F4C 4E 80 00 20 */ blr
.global AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId
AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId:
/* 80239FF0 00236F50 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80239FF4 00236F54 7C 08 02 A6 */ mflr r0
/* 80239FF8 00236F58 90 01 00 34 */ stw r0, 0x34(r1)
/* 80239FFC 00236F5C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8023A000 00236F60 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8023A004 00236F64 7C DE 33 78 */ mr r30, r6
/* 8023A008 00236F68 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8023A00C 00236F6C 7C 7D 1B 78 */ mr r29, r3
/* 8023A010 00236F70 7C 83 23 78 */ mr r3, r4
/* 8023A014 00236F74 38 81 00 14 */ addi r4, r1, 0x14
/* 8023A018 00236F78 A0 05 00 00 */ lhz r0, 0(r5)
/* 8023A01C 00236F7C B0 01 00 14 */ sth r0, 0x14(r1)
/* 8023A020 00236F80 4B E1 25 55 */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8023A024 00236F84 7C 64 1B 78 */ mr r4, r3
/* 8023A028 00236F88 38 61 00 18 */ addi r3, r1, 0x18
/* 8023A02C 00236F8C 4B E6 D5 49 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity"
/* 8023A030 00236F90 83 E3 00 04 */ lwz r31, 4(r3)
/* 8023A034 00236F94 28 1F 00 00 */ cmplwi r31, 0
/* 8023A038 00236F98 41 82 00 60 */ beq lbl_8023A098
/* 8023A03C 00236F9C A0 1E 00 00 */ lhz r0, 0(r30)
/* 8023A040 00236FA0 7F E3 FB 78 */ mr r3, r31
/* 8023A044 00236FA4 38 81 00 10 */ addi r4, r1, 0x10
/* 8023A048 00236FA8 B0 01 00 10 */ sth r0, 0x10(r1)
/* 8023A04C 00236FAC 4B FF F0 B9 */ bl HasTeamAiRole__10CTeamAiMgrCF9TUniqueId
/* 8023A050 00236FB0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8023A054 00236FB4 41 82 00 44 */ beq lbl_8023A098
/* 8023A058 00236FB8 2C 1D 00 00 */ cmpwi r29, 0
/* 8023A05C 00236FBC 40 82 00 1C */ bne lbl_8023A078
/* 8023A060 00236FC0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8023A064 00236FC4 7F E3 FB 78 */ mr r3, r31
/* 8023A068 00236FC8 38 81 00 0C */ addi r4, r1, 0xc
/* 8023A06C 00236FCC B0 01 00 0C */ sth r0, 0xc(r1)
/* 8023A070 00236FD0 4B FF EC 3D */ bl AddMeleeAttacker__10CTeamAiMgrF9TUniqueId
/* 8023A074 00236FD4 48 00 00 28 */ b lbl_8023A09C
lbl_8023A078:
/* 8023A078 00236FD8 2C 1D 00 01 */ cmpwi r29, 1
/* 8023A07C 00236FDC 40 82 00 1C */ bne lbl_8023A098
/* 8023A080 00236FE0 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8023A084 00236FE4 7F E3 FB 78 */ mr r3, r31
/* 8023A088 00236FE8 38 81 00 08 */ addi r4, r1, 8
/* 8023A08C 00236FEC B0 01 00 08 */ sth r0, 8(r1)
/* 8023A090 00236FF0 4B FF E5 35 */ bl AddProjectileAttacker__10CTeamAiMgrF9TUniqueId
/* 8023A094 00236FF4 48 00 00 08 */ b lbl_8023A09C
lbl_8023A098:
/* 8023A098 00236FF8 38 60 00 00 */ li r3, 0
lbl_8023A09C:
/* 8023A09C 00236FFC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8023A0A0 00237000 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8023A0A4 00237004 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8023A0A8 00237008 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8023A0AC 0023700C 7C 08 03 A6 */ mtlr r0
/* 8023A0B0 00237010 38 21 00 30 */ addi r1, r1, 0x30
/* 8023A0B4 00237014 4E 80 00 20 */ blr
.global CanAcceptAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId
CanAcceptAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId:
/* 8023A0B8 00237018 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8023A0BC 0023701C 7C 08 02 A6 */ mflr r0
/* 8023A0C0 00237020 90 01 00 34 */ stw r0, 0x34(r1)
/* 8023A0C4 00237024 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8023A0C8 00237028 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8023A0CC 0023702C 7C DE 33 78 */ mr r30, r6
/* 8023A0D0 00237030 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8023A0D4 00237034 7C 7D 1B 78 */ mr r29, r3
/* 8023A0D8 00237038 7C 83 23 78 */ mr r3, r4
/* 8023A0DC 0023703C 38 81 00 14 */ addi r4, r1, 0x14
/* 8023A0E0 00237040 A0 05 00 00 */ lhz r0, 0(r5)
/* 8023A0E4 00237044 B0 01 00 14 */ sth r0, 0x14(r1)
/* 8023A0E8 00237048 4B E1 24 8D */ bl ObjectById__13CStateManagerF9TUniqueId
/* 8023A0EC 0023704C 7C 64 1B 78 */ mr r4, r3
/* 8023A0F0 00237050 38 61 00 18 */ addi r3, r1, 0x18
/* 8023A0F4 00237054 4B E6 D4 81 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity"
/* 8023A0F8 00237058 83 E3 00 04 */ lwz r31, 4(r3)
/* 8023A0FC 0023705C 28 1F 00 00 */ cmplwi r31, 0
/* 8023A100 00237060 41 82 00 60 */ beq lbl_8023A160
/* 8023A104 00237064 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8023A108 00237068 7F E3 FB 78 */ mr r3, r31
/* 8023A10C 0023706C 38 81 00 10 */ addi r4, r1, 0x10
/* 8023A110 00237070 B0 01 00 10 */ sth r0, 0x10(r1)
/* 8023A114 00237074 4B FF EF F1 */ bl HasTeamAiRole__10CTeamAiMgrCF9TUniqueId
/* 8023A118 00237078 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8023A11C 0023707C 41 82 00 44 */ beq lbl_8023A160
/* 8023A120 00237080 2C 1D 00 00 */ cmpwi r29, 0
/* 8023A124 00237084 40 82 00 1C */ bne lbl_8023A140
/* 8023A128 00237088 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8023A12C 0023708C 7F E3 FB 78 */ mr r3, r31
/* 8023A130 00237090 38 81 00 0C */ addi r4, r1, 0xc
/* 8023A134 00237094 B0 01 00 0C */ sth r0, 0xc(r1)
/* 8023A138 00237098 4B FF EC F1 */ bl CanAcceptMeleeAttacker__10CTeamAiMgrCF9TUniqueId
/* 8023A13C 0023709C 48 00 00 28 */ b lbl_8023A164
lbl_8023A140:
/* 8023A140 002370A0 2C 1D 00 01 */ cmpwi r29, 1
/* 8023A144 002370A4 40 82 00 1C */ bne lbl_8023A160
/* 8023A148 002370A8 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8023A14C 002370AC 7F E3 FB 78 */ mr r3, r31
/* 8023A150 002370B0 38 81 00 08 */ addi r4, r1, 8
/* 8023A154 002370B4 B0 01 00 08 */ sth r0, 8(r1)
/* 8023A158 002370B8 4B FF E8 AD */ bl CanAcceptProjectileAttacker__10CTeamAiMgrCF9TUniqueId
/* 8023A15C 002370BC 48 00 00 08 */ b lbl_8023A164
lbl_8023A160:
/* 8023A160 002370C0 38 60 00 00 */ li r3, 0
lbl_8023A164:
/* 8023A164 002370C4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8023A168 002370C8 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8023A16C 002370CC 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8023A170 002370D0 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8023A174 002370D4 7C 08 03 A6 */ mtlr r0
/* 8023A178 002370D8 38 21 00 30 */ addi r1, r1, 0x30
/* 8023A17C 002370DC 4E 80 00 20 */ blr
.global GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId
GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId:
/* 8023A180 002370E0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8023A184 002370E4 7C 08 02 A6 */ mflr r0
/* 8023A188 002370E8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8023A18C 002370EC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8023A190 002370F0 7C BF 2B 78 */ mr r31, r5
/* 8023A194 002370F4 A0 04 00 00 */ lhz r0, 0(r4)
/* 8023A198 002370F8 38 81 00 0C */ addi r4, r1, 0xc
/* 8023A19C 002370FC B0 01 00 0C */ sth r0, 0xc(r1)
/* 8023A1A0 00237100 4B E1 24 05 */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 8023A1A4 00237104 7C 64 1B 78 */ mr r4, r3
/* 8023A1A8 00237108 38 61 00 10 */ addi r3, r1, 0x10
/* 8023A1AC 0023710C 4B E6 D3 C9 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity"
/* 8023A1B0 00237110 80 63 00 04 */ lwz r3, 4(r3)
/* 8023A1B4 00237114 28 03 00 00 */ cmplwi r3, 0
/* 8023A1B8 00237118 41 82 00 18 */ beq lbl_8023A1D0
/* 8023A1BC 0023711C A0 1F 00 00 */ lhz r0, 0(r31)
/* 8023A1C0 00237120 38 81 00 08 */ addi r4, r1, 8
/* 8023A1C4 00237124 B0 01 00 08 */ sth r0, 8(r1)
/* 8023A1C8 00237128 4B FF F1 85 */ bl GetTeamAiRole__10CTeamAiMgrCF9TUniqueId
/* 8023A1CC 0023712C 48 00 00 08 */ b lbl_8023A1D4
lbl_8023A1D0:
/* 8023A1D0 00237130 38 60 00 00 */ li r3, 0
lbl_8023A1D4:
/* 8023A1D4 00237134 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8023A1D8 00237138 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8023A1DC 0023713C 7C 08 03 A6 */ mtlr r0
/* 8023A1E0 00237140 38 21 00 20 */ addi r1, r1, 0x20
/* 8023A1E4 00237144 4E 80 00 20 */ blr
.global GetTeamAiMgr__10CTeamAiMgrF3CAiRC13CStateManager
GetTeamAiMgr__10CTeamAiMgrF3CAiRC13CStateManager:
/* 8023A1E8 00237148 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8023A1EC 0023714C 7C 08 02 A6 */ mflr r0
/* 8023A1F0 00237150 90 01 00 34 */ stw r0, 0x34(r1)
/* 8023A1F4 00237154 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8023A1F8 00237158 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8023A1FC 0023715C 7C BE 2B 78 */ mr r30, r5
/* 8023A200 00237160 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8023A204 00237164 7C 9D 23 78 */ mr r29, r4
/* 8023A208 00237168 93 81 00 20 */ stw r28, 0x20(r1)
/* 8023A20C 0023716C 7C 7C 1B 78 */ mr r28, r3
/* 8023A210 00237170 83 E4 00 2C */ lwz r31, 0x2c(r4)
/* 8023A214 00237174 48 00 00 70 */ b lbl_8023A284
lbl_8023A218:
/* 8023A218 00237178 80 1F 00 00 */ lwz r0, 0(r31)
/* 8023A21C 0023717C 2C 00 00 00 */ cmpwi r0, 0
/* 8023A220 00237180 40 82 00 60 */ bne lbl_8023A280
/* 8023A224 00237184 80 1F 00 04 */ lwz r0, 4(r31)
/* 8023A228 00237188 2C 00 00 14 */ cmpwi r0, 0x14
/* 8023A22C 0023718C 40 82 00 54 */ bne lbl_8023A280
/* 8023A230 00237190 80 1F 00 08 */ lwz r0, 8(r31)
/* 8023A234 00237194 7F C4 F3 78 */ mr r4, r30
/* 8023A238 00237198 38 61 00 08 */ addi r3, r1, 8
/* 8023A23C 0023719C 38 A1 00 10 */ addi r5, r1, 0x10
/* 8023A240 002371A0 90 01 00 10 */ stw r0, 0x10(r1)
/* 8023A244 002371A4 4B E0 DC D9 */ bl GetIdForScript__13CStateManagerCF9TEditorId
/* 8023A248 002371A8 A0 01 00 08 */ lhz r0, 8(r1)
/* 8023A24C 002371AC 7F C3 F3 78 */ mr r3, r30
/* 8023A250 002371B0 38 81 00 0C */ addi r4, r1, 0xc
/* 8023A254 002371B4 B0 01 00 0C */ sth r0, 0xc(r1)
/* 8023A258 002371B8 4B E1 23 4D */ bl GetObjectById__13CStateManagerCF9TUniqueId
/* 8023A25C 002371BC 7C 64 1B 78 */ mr r4, r3
/* 8023A260 002371C0 38 61 00 14 */ addi r3, r1, 0x14
/* 8023A264 002371C4 4B E6 D3 11 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity"
/* 8023A268 002371C8 80 63 00 04 */ lwz r3, 4(r3)
/* 8023A26C 002371CC 28 03 00 00 */ cmplwi r3, 0
/* 8023A270 002371D0 41 82 00 10 */ beq lbl_8023A280
/* 8023A274 002371D4 A0 03 00 08 */ lhz r0, 8(r3)
/* 8023A278 002371D8 B0 1C 00 00 */ sth r0, 0(r28)
/* 8023A27C 002371DC 48 00 00 28 */ b lbl_8023A2A4
lbl_8023A280:
/* 8023A280 002371E0 3B FF 00 0C */ addi r31, r31, 0xc
lbl_8023A284:
/* 8023A284 002371E4 80 1D 00 24 */ lwz r0, 0x24(r29)
/* 8023A288 002371E8 80 7D 00 2C */ lwz r3, 0x2c(r29)
/* 8023A28C 002371EC 1C 00 00 0C */ mulli r0, r0, 0xc
/* 8023A290 002371F0 7C 03 02 14 */ add r0, r3, r0
/* 8023A294 002371F4 7C 1F 00 40 */ cmplw r31, r0
/* 8023A298 002371F8 40 82 FF 80 */ bne lbl_8023A218
/* 8023A29C 002371FC A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 8023A2A0 00237200 B0 1C 00 00 */ sth r0, 0(r28)
lbl_8023A2A4:
/* 8023A2A4 00237204 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8023A2A8 00237208 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8023A2AC 0023720C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8023A2B0 00237210 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8023A2B4 00237214 83 81 00 20 */ lwz r28, 0x20(r1)
/* 8023A2B8 00237218 7C 08 03 A6 */ mtlr r0
/* 8023A2BC 0023721C 38 21 00 30 */ addi r1, r1, 0x30
/* 8023A2C0 00237220 4E 80 00 20 */ blr
.global "__ct__10CTeamAiMgrF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRCQ210CTeamAiMgr8CUnknown"
"__ct__10CTeamAiMgrF9TUniqueIdRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>RC11CEntityInfoRCQ210CTeamAiMgr8CUnknown":
/* 8023A2C4 00237224 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8023A2C8 00237228 7C 08 02 A6 */ mflr r0
/* 8023A2CC 0023722C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8023A2D0 00237230 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8023A2D4 00237234 7C 7F 1B 78 */ mr r31, r3
/* 8023A2D8 00237238 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8023A2DC 0023723C 7C FE 3B 78 */ mr r30, r7
/* 8023A2E0 00237240 A0 04 00 00 */ lhz r0, 0(r4)
/* 8023A2E4 00237244 7C A4 2B 78 */ mr r4, r5
/* 8023A2E8 00237248 7C C5 33 78 */ mr r5, r6
/* 8023A2EC 0023724C 38 C0 00 01 */ li r6, 1
/* 8023A2F0 00237250 B0 01 00 08 */ sth r0, 8(r1)
/* 8023A2F4 00237254 7C 87 23 78 */ mr r7, r4
/* 8023A2F8 00237258 38 81 00 08 */ addi r4, r1, 8
/* 8023A2FC 0023725C 4B E1 70 29 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8023A300 00237260 3C 60 80 3F */ lis r3, lbl_803E8558@ha
/* 8023A304 00237264 38 00 00 00 */ li r0, 0
/* 8023A308 00237268 38 63 85 58 */ addi r3, r3, lbl_803E8558@l
/* 8023A30C 0023726C C0 02 B7 64 */ lfs f0, lbl_805AD484@sda21(r2)
/* 8023A310 00237270 90 7F 00 00 */ stw r3, 0(r31)
/* 8023A314 00237274 80 7E 00 00 */ lwz r3, 0(r30)
/* 8023A318 00237278 90 7F 00 34 */ stw r3, 0x34(r31)
/* 8023A31C 0023727C 80 7E 00 04 */ lwz r3, 4(r30)
/* 8023A320 00237280 90 7F 00 38 */ stw r3, 0x38(r31)
/* 8023A324 00237284 80 7E 00 08 */ lwz r3, 8(r30)
/* 8023A328 00237288 90 7F 00 3C */ stw r3, 0x3c(r31)
/* 8023A32C 0023728C 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8023A330 00237290 90 7F 00 40 */ stw r3, 0x40(r31)
/* 8023A334 00237294 80 7E 00 10 */ lwz r3, 0x10(r30)
/* 8023A338 00237298 90 7F 00 44 */ stw r3, 0x44(r31)
/* 8023A33C 0023729C 80 7E 00 14 */ lwz r3, 0x14(r30)
/* 8023A340 002372A0 90 7F 00 48 */ stw r3, 0x48(r31)
/* 8023A344 002372A4 80 7E 00 18 */ lwz r3, 0x18(r30)
/* 8023A348 002372A8 90 7F 00 4C */ stw r3, 0x4c(r31)
/* 8023A34C 002372AC C0 3E 00 1C */ lfs f1, 0x1c(r30)
/* 8023A350 002372B0 D0 3F 00 50 */ stfs f1, 0x50(r31)
/* 8023A354 002372B4 C0 3E 00 20 */ lfs f1, 0x20(r30)
/* 8023A358 002372B8 D0 3F 00 54 */ stfs f1, 0x54(r31)
/* 8023A35C 002372BC 90 1F 00 5C */ stw r0, 0x5c(r31)
/* 8023A360 002372C0 90 1F 00 60 */ stw r0, 0x60(r31)
/* 8023A364 002372C4 90 1F 00 64 */ stw r0, 0x64(r31)
/* 8023A368 002372C8 90 1F 00 6C */ stw r0, 0x6c(r31)
/* 8023A36C 002372CC 90 1F 00 70 */ stw r0, 0x70(r31)
/* 8023A370 002372D0 90 1F 00 74 */ stw r0, 0x74(r31)
/* 8023A374 002372D4 90 1F 00 7C */ stw r0, 0x7c(r31)
/* 8023A378 002372D8 90 1F 00 80 */ stw r0, 0x80(r31)
/* 8023A37C 002372DC 90 1F 00 84 */ stw r0, 0x84(r31)
/* 8023A380 002372E0 D0 1F 00 88 */ stfs f0, 0x88(r31)
/* 8023A384 002372E4 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 8023A388 002372E8 B0 1F 00 8C */ sth r0, 0x8c(r31)
/* 8023A38C 002372EC C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 8023A390 002372F0 D0 1F 00 90 */ stfs f0, 0x90(r31)
/* 8023A394 002372F4 C0 1E 00 20 */ lfs f0, 0x20(r30)
/* 8023A398 002372F8 D0 1F 00 94 */ stfs f0, 0x94(r31)
/* 8023A39C 002372FC 80 9F 00 34 */ lwz r4, 0x34(r31)
/* 8023A3A0 00237300 28 04 00 00 */ cmplwi r4, 0
/* 8023A3A4 00237304 41 82 00 0C */ beq lbl_8023A3B0
/* 8023A3A8 00237308 38 7F 00 58 */ addi r3, r31, 0x58
/* 8023A3AC 0023730C 48 00 08 C5 */ bl sub_8023ac70
lbl_8023A3B0:
/* 8023A3B0 00237310 80 9F 00 38 */ lwz r4, 0x38(r31)
/* 8023A3B4 00237314 28 04 00 00 */ cmplwi r4, 0
/* 8023A3B8 00237318 41 82 00 0C */ beq lbl_8023A3C4
/* 8023A3BC 0023731C 38 7F 00 68 */ addi r3, r31, 0x68
/* 8023A3C0 00237320 4B DD 20 49 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi"
lbl_8023A3C4:
/* 8023A3C4 00237324 80 9F 00 3C */ lwz r4, 0x3c(r31)
/* 8023A3C8 00237328 28 04 00 00 */ cmplwi r4, 0
/* 8023A3CC 0023732C 41 82 00 0C */ beq lbl_8023A3D8
/* 8023A3D0 00237330 38 7F 00 78 */ addi r3, r31, 0x78
/* 8023A3D4 00237334 4B DD 20 35 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi"
lbl_8023A3D8:
/* 8023A3D8 00237338 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8023A3DC 0023733C 7F E3 FB 78 */ mr r3, r31
/* 8023A3E0 00237340 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8023A3E4 00237344 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8023A3E8 00237348 7C 08 03 A6 */ mtlr r0
/* 8023A3EC 0023734C 38 21 00 20 */ addi r1, r1, 0x20
/* 8023A3F0 00237350 4E 80 00 20 */ blr
.global sub_8023a3f4
sub_8023a3f4:
/* 8023A3F4 00237354 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8023A3F8 00237358 7C 08 02 A6 */ mflr r0
/* 8023A3FC 0023735C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8023A400 00237360 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8023A404 00237364 7C BF 2B 78 */ mr r31, r5
/* 8023A408 00237368 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8023A40C 0023736C 7C 9E 23 78 */ mr r30, r4
/* 8023A410 00237370 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8023A414 00237374 7C 7D 1B 78 */ mr r29, r3
/* 8023A418 00237378 7F C3 F3 78 */ mr r3, r30
/* 8023A41C 0023737C 48 10 48 69 */ bl ReadLong__12CInputStreamFv
/* 8023A420 00237380 90 7D 00 00 */ stw r3, 0(r29)
/* 8023A424 00237384 7F C3 F3 78 */ mr r3, r30
/* 8023A428 00237388 48 10 48 5D */ bl ReadLong__12CInputStreamFv
/* 8023A42C 0023738C 90 7D 00 04 */ stw r3, 4(r29)
/* 8023A430 00237390 7F C3 F3 78 */ mr r3, r30
/* 8023A434 00237394 48 10 48 51 */ bl ReadLong__12CInputStreamFv
/* 8023A438 00237398 90 7D 00 08 */ stw r3, 8(r29)
/* 8023A43C 0023739C 7F C3 F3 78 */ mr r3, r30
/* 8023A440 002373A0 48 10 48 45 */ bl ReadLong__12CInputStreamFv
/* 8023A444 002373A4 90 7D 00 0C */ stw r3, 0xc(r29)
/* 8023A448 002373A8 7F C3 F3 78 */ mr r3, r30
/* 8023A44C 002373AC 48 10 48 39 */ bl ReadLong__12CInputStreamFv
/* 8023A450 002373B0 90 7D 00 10 */ stw r3, 0x10(r29)
/* 8023A454 002373B4 7F C3 F3 78 */ mr r3, r30
/* 8023A458 002373B8 48 10 48 2D */ bl ReadLong__12CInputStreamFv
/* 8023A45C 002373BC 90 7D 00 14 */ stw r3, 0x14(r29)
/* 8023A460 002373C0 7F C3 F3 78 */ mr r3, r30
/* 8023A464 002373C4 48 10 48 21 */ bl ReadLong__12CInputStreamFv
/* 8023A468 002373C8 2C 1F 00 08 */ cmpwi r31, 8
/* 8023A46C 002373CC 90 7D 00 18 */ stw r3, 0x18(r29)
/* 8023A470 002373D0 40 81 00 10 */ ble lbl_8023A480
/* 8023A474 002373D4 7F C3 F3 78 */ mr r3, r30
/* 8023A478 002373D8 48 10 47 B1 */ bl ReadFloat__12CInputStreamFv
/* 8023A47C 002373DC 48 00 00 08 */ b lbl_8023A484
lbl_8023A480:
/* 8023A480 002373E0 C0 22 B7 64 */ lfs f1, lbl_805AD484@sda21(r2)
lbl_8023A484:
/* 8023A484 002373E4 2C 1F 00 08 */ cmpwi r31, 8
/* 8023A488 002373E8 D0 3D 00 1C */ stfs f1, 0x1c(r29)
/* 8023A48C 002373EC 40 81 00 10 */ ble lbl_8023A49C
/* 8023A490 002373F0 7F C3 F3 78 */ mr r3, r30
/* 8023A494 002373F4 48 10 47 95 */ bl ReadFloat__12CInputStreamFv
/* 8023A498 002373F8 48 00 00 08 */ b lbl_8023A4A0
lbl_8023A49C:
/* 8023A49C 002373FC C0 22 B7 64 */ lfs f1, lbl_805AD484@sda21(r2)
lbl_8023A4A0:
/* 8023A4A0 00237400 D0 3D 00 20 */ stfs f1, 0x20(r29)
/* 8023A4A4 00237404 7F A3 EB 78 */ mr r3, r29
/* 8023A4A8 00237408 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8023A4AC 0023740C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8023A4B0 00237410 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8023A4B4 00237414 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8023A4B8 00237418 7C 08 03 A6 */ mtlr r0
/* 8023A4BC 0023741C 38 21 00 20 */ addi r1, r1, 0x20
/* 8023A4C0 00237420 4E 80 00 20 */ blr
.global __lt__11CTeamAiRoleCFRC11CTeamAiRole
__lt__11CTeamAiRoleCFRC11CTeamAiRole:
/* 8023A4C4 00237424 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8023A4C8 00237428 C0 43 00 00 */ lfs f2, 0(r3)
/* 8023A4CC 0023742C C0 24 00 1C */ lfs f1, 0x1c(r4)
/* 8023A4D0 00237430 C0 05 00 1C */ lfs f0, 0x1c(r5)
/* 8023A4D4 00237434 EC A2 08 28 */ fsubs f5, f2, f1
/* 8023A4D8 00237438 C0 83 00 04 */ lfs f4, 4(r3)
/* 8023A4DC 0023743C EC 62 00 28 */ fsubs f3, f2, f0
/* 8023A4E0 00237440 C0 24 00 20 */ lfs f1, 0x20(r4)
/* 8023A4E4 00237444 C0 05 00 20 */ lfs f0, 0x20(r5)
/* 8023A4E8 00237448 EC E4 08 28 */ fsubs f7, f4, f1
/* 8023A4EC 0023744C ED 24 00 28 */ fsubs f9, f4, f0
/* 8023A4F0 00237450 C0 43 00 08 */ lfs f2, 8(r3)
/* 8023A4F4 00237454 C0 24 00 24 */ lfs f1, 0x24(r4)
/* 8023A4F8 00237458 EC 85 01 72 */ fmuls f4, f5, f5
/* 8023A4FC 0023745C C0 05 00 24 */ lfs f0, 0x24(r5)
/* 8023A500 00237460 EC C2 08 28 */ fsubs f6, f2, f1
/* 8023A504 00237464 ED 02 00 28 */ fsubs f8, f2, f0
/* 8023A508 00237468 D0 A1 00 14 */ stfs f5, 0x14(r1)
/* 8023A50C 0023746C EC 47 01 F2 */ fmuls f2, f7, f7
/* 8023A510 00237470 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8023A514 00237474 EC 23 00 F2 */ fmuls f1, f3, f3
/* 8023A518 00237478 EC 09 02 72 */ fmuls f0, f9, f9
/* 8023A51C 0023747C EC 84 10 2A */ fadds f4, f4, f2
/* 8023A520 00237480 2C 00 00 01 */ cmpwi r0, 1
/* 8023A524 00237484 EC A6 01 B2 */ fmuls f5, f6, f6
/* 8023A528 00237488 D0 E1 00 18 */ stfs f7, 0x18(r1)
/* 8023A52C 0023748C EC 01 00 2A */ fadds f0, f1, f0
/* 8023A530 00237490 EC 48 02 32 */ fmuls f2, f8, f8
/* 8023A534 00237494 EC 25 20 2A */ fadds f1, f5, f4
/* 8023A538 00237498 D0 C1 00 1C */ stfs f6, 0x1c(r1)
/* 8023A53C 0023749C EC 02 00 2A */ fadds f0, f2, f0
/* 8023A540 002374A0 D0 61 00 08 */ stfs f3, 8(r1)
/* 8023A544 002374A4 D1 21 00 0C */ stfs f9, 0xc(r1)
/* 8023A548 002374A8 D1 01 00 10 */ stfs f8, 0x10(r1)
/* 8023A54C 002374AC 41 82 00 34 */ beq lbl_8023A580
/* 8023A550 002374B0 40 80 00 40 */ bge lbl_8023A590
/* 8023A554 002374B4 2C 00 00 00 */ cmpwi r0, 0
/* 8023A558 002374B8 40 80 00 0C */ bge lbl_8023A564
/* 8023A55C 002374BC 48 00 00 34 */ b lbl_8023A590
/* 8023A560 002374C0 48 00 00 30 */ b lbl_8023A590
lbl_8023A564:
/* 8023A564 002374C4 A0 64 00 00 */ lhz r3, 0(r4)
/* 8023A568 002374C8 A0 05 00 00 */ lhz r0, 0(r5)
/* 8023A56C 002374CC 54 63 05 BE */ clrlwi r3, r3, 0x16
/* 8023A570 002374D0 54 00 05 BE */ clrlwi r0, r0, 0x16
/* 8023A574 002374D4 7C 00 18 50 */ subf r0, r0, r3
/* 8023A578 002374D8 54 03 0F FE */ srwi r3, r0, 0x1f
/* 8023A57C 002374DC 48 00 00 48 */ b lbl_8023A5C4
lbl_8023A580:
/* 8023A580 002374E0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8023A584 002374E4 7C 00 00 26 */ mfcr r0
/* 8023A588 002374E8 54 03 0F FE */ srwi r3, r0, 0x1f
/* 8023A58C 002374EC 48 00 00 38 */ b lbl_8023A5C4
lbl_8023A590:
/* 8023A590 002374F0 80 04 00 10 */ lwz r0, 0x10(r4)
/* 8023A594 002374F4 80 85 00 10 */ lwz r4, 0x10(r5)
/* 8023A598 002374F8 7C 00 20 00 */ cmpw r0, r4
/* 8023A59C 002374FC 40 82 00 14 */ bne lbl_8023A5B0
/* 8023A5A0 00237500 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8023A5A4 00237504 7C 00 00 26 */ mfcr r0
/* 8023A5A8 00237508 54 03 0F FE */ srwi r3, r0, 0x1f
/* 8023A5AC 0023750C 48 00 00 18 */ b lbl_8023A5C4
lbl_8023A5B0:
/* 8023A5B0 00237510 7C 80 02 78 */ xor r0, r4, r0
/* 8023A5B4 00237514 7C 03 0E 70 */ srawi r3, r0, 1
/* 8023A5B8 00237518 7C 00 20 38 */ and r0, r0, r4
/* 8023A5BC 0023751C 7C 00 18 50 */ subf r0, r0, r3
/* 8023A5C0 00237520 54 03 0F FE */ srwi r3, r0, 0x1f
lbl_8023A5C4:
/* 8023A5C4 00237524 38 21 00 20 */ addi r1, r1, 0x20
/* 8023A5C8 00237528 4E 80 00 20 */ blr
.global "sort<rstl__vector<CTeamAiRole>_with_custom_comparator>"
"sort<rstl__vector<CTeamAiRole>_with_custom_comparator>":
/* 8023A5CC 0023752C 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 8023A5D0 00237530 7C 08 02 A6 */ mflr r0
/* 8023A5D4 00237534 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 8023A5D8 00237538 93 E1 00 AC */ stw r31, 0xac(r1)
/* 8023A5DC 0023753C 93 C1 00 A8 */ stw r30, 0xa8(r1)
/* 8023A5E0 00237540 7C BE 2B 78 */ mr r30, r5
/* 8023A5E4 00237544 93 A1 00 A4 */ stw r29, 0xa4(r1)
/* 8023A5E8 00237548 7C 9D 23 78 */ mr r29, r4
/* 8023A5EC 0023754C 3C 80 66 66 */ lis r4, 0x66666667@ha
/* 8023A5F0 00237550 93 81 00 A0 */ stw r28, 0xa0(r1)
/* 8023A5F4 00237554 7C 7C 1B 78 */ mr r28, r3
/* 8023A5F8 00237558 38 84 66 67 */ addi r4, r4, 0x66666667@l
/* 8023A5FC 0023755C 80 63 00 00 */ lwz r3, 0(r3)
/* 8023A600 00237560 80 DD 00 00 */ lwz r6, 0(r29)
/* 8023A604 00237564 7C 03 30 50 */ subf r0, r3, r6
/* 8023A608 00237568 7C 04 00 96 */ mulhw r0, r4, r0
/* 8023A60C 0023756C 7C 00 26 70 */ srawi r0, r0, 4
/* 8023A610 00237570 54 04 0F FE */ srwi r4, r0, 0x1f
/* 8023A614 00237574 7C 80 22 14 */ add r4, r0, r4
/* 8023A618 00237578 2C 04 00 01 */ cmpwi r4, 1
/* 8023A61C 0023757C 40 81 02 18 */ ble lbl_8023A834
/* 8023A620 00237580 2C 04 00 14 */ cmpwi r4, 0x14
/* 8023A624 00237584 41 81 00 48 */ bgt lbl_8023A66C
/* 8023A628 00237588 81 5E 00 00 */ lwz r10, 0(r30)
/* 8023A62C 0023758C 38 61 00 24 */ addi r3, r1, 0x24
/* 8023A630 00237590 81 3E 00 04 */ lwz r9, 4(r30)
/* 8023A634 00237594 38 81 00 20 */ addi r4, r1, 0x20
/* 8023A638 00237598 81 1E 00 08 */ lwz r8, 8(r30)
/* 8023A63C 0023759C 38 A1 00 60 */ addi r5, r1, 0x60
/* 8023A640 002375A0 80 FE 00 0C */ lwz r7, 0xc(r30)
/* 8023A644 002375A4 80 DD 00 00 */ lwz r6, 0(r29)
/* 8023A648 002375A8 80 1C 00 00 */ lwz r0, 0(r28)
/* 8023A64C 002375AC 91 41 00 60 */ stw r10, 0x60(r1)
/* 8023A650 002375B0 91 21 00 64 */ stw r9, 0x64(r1)
/* 8023A654 002375B4 91 01 00 68 */ stw r8, 0x68(r1)
/* 8023A658 002375B8 90 E1 00 6C */ stw r7, 0x6c(r1)
/* 8023A65C 002375BC 90 C1 00 20 */ stw r6, 0x20(r1)
/* 8023A660 002375C0 90 01 00 24 */ stw r0, 0x24(r1)
/* 8023A664 002375C4 48 00 0D 05 */ bl sub_8023b368
/* 8023A668 002375C8 48 00 01 CC */ b lbl_8023A834
lbl_8023A66C:
/* 8023A66C 002375CC 54 80 0F FE */ srwi r0, r4, 0x1f
/* 8023A670 002375D0 38 A6 FF D8 */ addi r5, r6, -40
/* 8023A674 002375D4 7C 00 22 14 */ add r0, r0, r4
/* 8023A678 002375D8 80 9E 00 00 */ lwz r4, 0(r30)
/* 8023A67C 002375DC 7C 00 0E 70 */ srawi r0, r0, 1
/* 8023A680 002375E0 81 1E 00 04 */ lwz r8, 4(r30)
/* 8023A684 002375E4 1C C0 00 28 */ mulli r6, r0, 0x28
/* 8023A688 002375E8 80 FE 00 08 */ lwz r7, 8(r30)
/* 8023A68C 002375EC 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8023A690 002375F0 90 A1 00 2C */ stw r5, 0x2c(r1)
/* 8023A694 002375F4 7F E3 32 14 */ add r31, r3, r6
/* 8023A698 002375F8 90 81 00 50 */ stw r4, 0x50(r1)
/* 8023A69C 002375FC 7F E4 FB 78 */ mr r4, r31
/* 8023A6A0 00237600 38 C1 00 50 */ addi r6, r1, 0x50
/* 8023A6A4 00237604 91 01 00 54 */ stw r8, 0x54(r1)
/* 8023A6A8 00237608 90 E1 00 58 */ stw r7, 0x58(r1)
/* 8023A6AC 0023760C 90 01 00 5C */ stw r0, 0x5c(r1)
/* 8023A6B0 00237610 48 00 09 91 */ bl sub_8023b040
/* 8023A6B4 00237614 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8023A6B8 00237618 80 9C 00 00 */ lwz r4, 0(r28)
/* 8023A6BC 0023761C B0 01 00 70 */ sth r0, 0x70(r1)
/* 8023A6C0 00237620 80 61 00 2C */ lwz r3, 0x2c(r1)
/* 8023A6C4 00237624 38 84 00 28 */ addi r4, r4, 0x28
/* 8023A6C8 00237628 80 BF 00 04 */ lwz r5, 4(r31)
/* 8023A6CC 0023762C 38 03 FF D8 */ addi r0, r3, -40
/* 8023A6D0 00237630 90 81 00 28 */ stw r4, 0x28(r1)
/* 8023A6D4 00237634 90 A1 00 74 */ stw r5, 0x74(r1)
/* 8023A6D8 00237638 80 7F 00 08 */ lwz r3, 8(r31)
/* 8023A6DC 0023763C 90 01 00 2C */ stw r0, 0x2c(r1)
/* 8023A6E0 00237640 90 61 00 78 */ stw r3, 0x78(r1)
/* 8023A6E4 00237644 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8023A6E8 00237648 90 01 00 7C */ stw r0, 0x7c(r1)
/* 8023A6EC 0023764C 80 1F 00 10 */ lwz r0, 0x10(r31)
/* 8023A6F0 00237650 90 01 00 80 */ stw r0, 0x80(r1)
/* 8023A6F4 00237654 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 8023A6F8 00237658 90 01 00 84 */ stw r0, 0x84(r1)
/* 8023A6FC 0023765C 80 1F 00 18 */ lwz r0, 0x18(r31)
/* 8023A700 00237660 90 01 00 88 */ stw r0, 0x88(r1)
/* 8023A704 00237664 C0 1F 00 1C */ lfs f0, 0x1c(r31)
/* 8023A708 00237668 D0 01 00 8C */ stfs f0, 0x8c(r1)
/* 8023A70C 0023766C C0 1F 00 20 */ lfs f0, 0x20(r31)
/* 8023A710 00237670 D0 01 00 90 */ stfs f0, 0x90(r1)
/* 8023A714 00237674 C0 1F 00 24 */ lfs f0, 0x24(r31)
/* 8023A718 00237678 D0 01 00 94 */ stfs f0, 0x94(r1)
/* 8023A71C 0023767C 48 00 00 10 */ b lbl_8023A72C
lbl_8023A720:
/* 8023A720 00237680 80 61 00 28 */ lwz r3, 0x28(r1)
/* 8023A724 00237684 38 03 00 28 */ addi r0, r3, 0x28
/* 8023A728 00237688 90 01 00 28 */ stw r0, 0x28(r1)
lbl_8023A72C:
/* 8023A72C 0023768C 80 81 00 28 */ lwz r4, 0x28(r1)
/* 8023A730 00237690 7F C3 F3 78 */ mr r3, r30
/* 8023A734 00237694 38 A1 00 70 */ addi r5, r1, 0x70
/* 8023A738 00237698 4B FF FD 8D */ bl __lt__11CTeamAiRoleCFRC11CTeamAiRole
/* 8023A73C 0023769C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8023A740 002376A0 40 82 FF E0 */ bne lbl_8023A720
/* 8023A744 002376A4 48 00 00 10 */ b lbl_8023A754
lbl_8023A748:
/* 8023A748 002376A8 80 61 00 2C */ lwz r3, 0x2c(r1)
/* 8023A74C 002376AC 38 03 FF D8 */ addi r0, r3, -40
/* 8023A750 002376B0 90 01 00 2C */ stw r0, 0x2c(r1)
lbl_8023A754:
/* 8023A754 002376B4 80 A1 00 2C */ lwz r5, 0x2c(r1)
/* 8023A758 002376B8 7F C3 F3 78 */ mr r3, r30
/* 8023A75C 002376BC 38 81 00 70 */ addi r4, r1, 0x70
/* 8023A760 002376C0 4B FF FD 65 */ bl __lt__11CTeamAiRoleCFRC11CTeamAiRole
/* 8023A764 002376C4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8023A768 002376C8 40 82 FF E0 */ bne lbl_8023A748
/* 8023A76C 002376CC 80 61 00 28 */ lwz r3, 0x28(r1)
/* 8023A770 002376D0 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8023A774 002376D4 7C 03 00 40 */ cmplw r3, r0
/* 8023A778 002376D8 40 80 00 3C */ bge lbl_8023A7B4
/* 8023A77C 002376DC 80 A1 00 2C */ lwz r5, 0x2c(r1)
/* 8023A780 002376E0 38 61 00 1C */ addi r3, r1, 0x1c
/* 8023A784 002376E4 80 01 00 28 */ lwz r0, 0x28(r1)
/* 8023A788 002376E8 38 81 00 18 */ addi r4, r1, 0x18
/* 8023A78C 002376EC 90 A1 00 18 */ stw r5, 0x18(r1)
/* 8023A790 002376F0 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8023A794 002376F4 48 00 00 C1 */ bl __swap__11CTeamAiRoleFRC11CTeamAiRole
/* 8023A798 002376F8 80 81 00 28 */ lwz r4, 0x28(r1)
/* 8023A79C 002376FC 80 61 00 2C */ lwz r3, 0x2c(r1)
/* 8023A7A0 00237700 38 84 00 28 */ addi r4, r4, 0x28
/* 8023A7A4 00237704 38 03 FF D8 */ addi r0, r3, -40
/* 8023A7A8 00237708 90 81 00 28 */ stw r4, 0x28(r1)
/* 8023A7AC 0023770C 90 01 00 2C */ stw r0, 0x2c(r1)
/* 8023A7B0 00237710 4B FF FF 7C */ b lbl_8023A72C
lbl_8023A7B4:
/* 8023A7B4 00237714 81 5E 00 00 */ lwz r10, 0(r30)
/* 8023A7B8 00237718 38 61 00 14 */ addi r3, r1, 0x14
/* 8023A7BC 0023771C 81 3E 00 04 */ lwz r9, 4(r30)
/* 8023A7C0 00237720 38 81 00 10 */ addi r4, r1, 0x10
/* 8023A7C4 00237724 81 1E 00 08 */ lwz r8, 8(r30)
/* 8023A7C8 00237728 38 A1 00 40 */ addi r5, r1, 0x40
/* 8023A7CC 0023772C 80 FE 00 0C */ lwz r7, 0xc(r30)
/* 8023A7D0 00237730 80 C1 00 28 */ lwz r6, 0x28(r1)
/* 8023A7D4 00237734 80 1C 00 00 */ lwz r0, 0(r28)
/* 8023A7D8 00237738 91 41 00 40 */ stw r10, 0x40(r1)
/* 8023A7DC 0023773C 91 21 00 44 */ stw r9, 0x44(r1)
/* 8023A7E0 00237740 91 01 00 48 */ stw r8, 0x48(r1)
/* 8023A7E4 00237744 90 E1 00 4C */ stw r7, 0x4c(r1)
/* 8023A7E8 00237748 90 C1 00 10 */ stw r6, 0x10(r1)
/* 8023A7EC 0023774C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8023A7F0 00237750 4B FF FD DD */ bl "sort<rstl__vector<CTeamAiRole>_with_custom_comparator>"
/* 8023A7F4 00237754 81 5E 00 00 */ lwz r10, 0(r30)
/* 8023A7F8 00237758 38 61 00 0C */ addi r3, r1, 0xc
/* 8023A7FC 0023775C 81 3E 00 04 */ lwz r9, 4(r30)
/* 8023A800 00237760 38 81 00 08 */ addi r4, r1, 8
/* 8023A804 00237764 81 1E 00 08 */ lwz r8, 8(r30)
/* 8023A808 00237768 38 A1 00 30 */ addi r5, r1, 0x30
/* 8023A80C 0023776C 80 FE 00 0C */ lwz r7, 0xc(r30)
/* 8023A810 00237770 80 DD 00 00 */ lwz r6, 0(r29)
/* 8023A814 00237774 80 01 00 28 */ lwz r0, 0x28(r1)
/* 8023A818 00237778 91 41 00 30 */ stw r10, 0x30(r1)
/* 8023A81C 0023777C 91 21 00 34 */ stw r9, 0x34(r1)
/* 8023A820 00237780 91 01 00 38 */ stw r8, 0x38(r1)
/* 8023A824 00237784 90 E1 00 3C */ stw r7, 0x3c(r1)
/* 8023A828 00237788 90 C1 00 08 */ stw r6, 8(r1)
/* 8023A82C 0023778C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8023A830 00237790 4B FF FD 9D */ bl "sort<rstl__vector<CTeamAiRole>_with_custom_comparator>"
lbl_8023A834:
/* 8023A834 00237794 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 8023A838 00237798 83 E1 00 AC */ lwz r31, 0xac(r1)
/* 8023A83C 0023779C 83 C1 00 A8 */ lwz r30, 0xa8(r1)
/* 8023A840 002377A0 83 A1 00 A4 */ lwz r29, 0xa4(r1)
/* 8023A844 002377A4 83 81 00 A0 */ lwz r28, 0xa0(r1)
/* 8023A848 002377A8 7C 08 03 A6 */ mtlr r0
/* 8023A84C 002377AC 38 21 00 B0 */ addi r1, r1, 0xb0
/* 8023A850 002377B0 4E 80 00 20 */ blr
.global __swap__11CTeamAiRoleFRC11CTeamAiRole
__swap__11CTeamAiRoleFRC11CTeamAiRole:
/* 8023A854 002377B4 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8023A858 002377B8 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8023A85C 002377BC 93 C1 00 38 */ stw r30, 0x38(r1)
/* 8023A860 002377C0 93 A1 00 34 */ stw r29, 0x34(r1)
/* 8023A864 002377C4 93 81 00 30 */ stw r28, 0x30(r1)
/* 8023A868 002377C8 83 83 00 00 */ lwz r28, 0(r3)
/* 8023A86C 002377CC 83 A4 00 00 */ lwz r29, 0(r4)
/* 8023A870 002377D0 A3 DC 00 00 */ lhz r30, 0(r28)
/* 8023A874 002377D4 83 FC 00 04 */ lwz r31, 4(r28)
/* 8023A878 002377D8 81 9C 00 08 */ lwz r12, 8(r28)
/* 8023A87C 002377DC 81 7C 00 0C */ lwz r11, 0xc(r28)
/* 8023A880 002377E0 81 5C 00 10 */ lwz r10, 0x10(r28)
/* 8023A884 002377E4 81 3C 00 14 */ lwz r9, 0x14(r28)
/* 8023A888 002377E8 81 1C 00 18 */ lwz r8, 0x18(r28)
/* 8023A88C 002377EC C0 5C 00 1C */ lfs f2, 0x1c(r28)
/* 8023A890 002377F0 C0 3C 00 20 */ lfs f1, 0x20(r28)
/* 8023A894 002377F4 C0 1C 00 24 */ lfs f0, 0x24(r28)
/* 8023A898 002377F8 A0 1D 00 00 */ lhz r0, 0(r29)
/* 8023A89C 002377FC D0 41 00 24 */ stfs f2, 0x24(r1)
/* 8023A8A0 00237800 B0 1C 00 00 */ sth r0, 0(r28)
/* 8023A8A4 00237804 80 A1 00 24 */ lwz r5, 0x24(r1)
/* 8023A8A8 00237808 80 1D 00 04 */ lwz r0, 4(r29)
/* 8023A8AC 0023780C D0 21 00 28 */ stfs f1, 0x28(r1)
/* 8023A8B0 00237810 90 1C 00 04 */ stw r0, 4(r28)
/* 8023A8B4 00237814 80 61 00 28 */ lwz r3, 0x28(r1)
/* 8023A8B8 00237818 80 1D 00 08 */ lwz r0, 8(r29)
/* 8023A8BC 0023781C D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8023A8C0 00237820 90 1C 00 08 */ stw r0, 8(r28)
/* 8023A8C4 00237824 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8023A8C8 00237828 80 DD 00 0C */ lwz r6, 0xc(r29)
/* 8023A8CC 0023782C B3 C1 00 08 */ sth r30, 8(r1)
/* 8023A8D0 00237830 90 DC 00 0C */ stw r6, 0xc(r28)
/* 8023A8D4 00237834 80 DD 00 10 */ lwz r6, 0x10(r29)
/* 8023A8D8 00237838 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8023A8DC 0023783C 90 DC 00 10 */ stw r6, 0x10(r28)
/* 8023A8E0 00237840 80 DD 00 14 */ lwz r6, 0x14(r29)
/* 8023A8E4 00237844 91 81 00 10 */ stw r12, 0x10(r1)
/* 8023A8E8 00237848 90 DC 00 14 */ stw r6, 0x14(r28)
/* 8023A8EC 0023784C 80 DD 00 18 */ lwz r6, 0x18(r29)
/* 8023A8F0 00237850 91 61 00 14 */ stw r11, 0x14(r1)
/* 8023A8F4 00237854 90 DC 00 18 */ stw r6, 0x18(r28)
/* 8023A8F8 00237858 80 FD 00 1C */ lwz r7, 0x1c(r29)
/* 8023A8FC 0023785C 80 DD 00 20 */ lwz r6, 0x20(r29)
/* 8023A900 00237860 91 41 00 18 */ stw r10, 0x18(r1)
/* 8023A904 00237864 90 FC 00 1C */ stw r7, 0x1c(r28)
/* 8023A908 00237868 90 DC 00 20 */ stw r6, 0x20(r28)
/* 8023A90C 0023786C 80 DD 00 24 */ lwz r6, 0x24(r29)
/* 8023A910 00237870 91 21 00 1C */ stw r9, 0x1c(r1)
/* 8023A914 00237874 90 DC 00 24 */ stw r6, 0x24(r28)
/* 8023A918 00237878 80 84 00 00 */ lwz r4, 0(r4)
/* 8023A91C 0023787C 91 01 00 20 */ stw r8, 0x20(r1)
/* 8023A920 00237880 B3 C4 00 00 */ sth r30, 0(r4)
/* 8023A924 00237884 93 E4 00 04 */ stw r31, 4(r4)
/* 8023A928 00237888 91 84 00 08 */ stw r12, 8(r4)
/* 8023A92C 0023788C 91 64 00 0C */ stw r11, 0xc(r4)
/* 8023A930 00237890 91 44 00 10 */ stw r10, 0x10(r4)
/* 8023A934 00237894 91 24 00 14 */ stw r9, 0x14(r4)
/* 8023A938 00237898 91 04 00 18 */ stw r8, 0x18(r4)
/* 8023A93C 0023789C 90 A4 00 1C */ stw r5, 0x1c(r4)
/* 8023A940 002378A0 90 64 00 20 */ stw r3, 0x20(r4)
/* 8023A944 002378A4 90 04 00 24 */ stw r0, 0x24(r4)
/* 8023A948 002378A8 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8023A94C 002378AC 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8023A950 002378B0 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 8023A954 002378B4 83 81 00 30 */ lwz r28, 0x30(r1)
/* 8023A958 002378B8 38 21 00 40 */ addi r1, r1, 0x40
/* 8023A95C 002378BC 4E 80 00 20 */ blr
.global "lower_bound<Q34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14const_iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorRC11CTeamAiRole"
"lower_bound<Q34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14const_iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>14iteratorRC11CTeamAiRole":
/* 8023A960 002378C0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8023A964 002378C4 7C 08 02 A6 */ mflr r0
/* 8023A968 002378C8 90 01 00 34 */ stw r0, 0x34(r1)
/* 8023A96C 002378CC BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 8023A970 002378D0 7C 9E 23 78 */ mr r30, r4
/* 8023A974 002378D4 7C 7D 1B 78 */ mr r29, r3
/* 8023A978 002378D8 7C DF 33 78 */ mr r31, r6
/* 8023A97C 002378DC 38 61 00 0C */ addi r3, r1, 0xc
/* 8023A980 002378E0 80 85 00 00 */ lwz r4, 0(r5)
/* 8023A984 002378E4 80 1E 00 00 */ lwz r0, 0(r30)
/* 8023A988 002378E8 90 81 00 08 */ stw r4, 8(r1)
/* 8023A98C 002378EC 38 81 00 08 */ addi r4, r1, 8
/* 8023A990 002378F0 90 01 00 0C */ stw r0, 0xc(r1)
/* 8023A994 002378F4 48 00 05 15 */ bl sub_8023aea8
/* 8023A998 002378F8 80 1E 00 00 */ lwz r0, 0(r30)
/* 8023A99C 002378FC 7C 7C 1B 78 */ mr r28, r3
/* 8023A9A0 00237900 90 01 00 10 */ stw r0, 0x10(r1)
/* 8023A9A4 00237904 48 00 00 60 */ b lbl_8023AA04
lbl_8023A9A8:
/* 8023A9A8 00237908 57 83 0F FE */ srwi r3, r28, 0x1f
/* 8023A9AC 0023790C 80 1E 00 00 */ lwz r0, 0(r30)
/* 8023A9B0 00237910 7C 83 E2 14 */ add r4, r3, r28
/* 8023A9B4 00237914 38 61 00 10 */ addi r3, r1, 0x10
/* 8023A9B8 00237918 7C 9B 0E 70 */ srawi r27, r4, 1
/* 8023A9BC 0023791C 90 01 00 10 */ stw r0, 0x10(r1)
/* 8023A9C0 00237920 7F 64 DB 78 */ mr r4, r27
/* 8023A9C4 00237924 48 00 03 E5 */ bl sub_8023ada8
/* 8023A9C8 00237928 80 81 00 10 */ lwz r4, 0x10(r1)
/* 8023A9CC 0023792C A0 1F 00 00 */ lhz r0, 0(r31)
/* 8023A9D0 00237930 A0 64 00 00 */ lhz r3, 0(r4)
/* 8023A9D4 00237934 54 00 05 BE */ clrlwi r0, r0, 0x16
/* 8023A9D8 00237938 54 63 05 BE */ clrlwi r3, r3, 0x16
/* 8023A9DC 0023793C 7C 03 00 40 */ cmplw r3, r0
/* 8023A9E0 00237940 40 80 00 20 */ bge lbl_8023AA00
/* 8023A9E4 00237944 90 9E 00 00 */ stw r4, 0(r30)
/* 8023A9E8 00237948 7C 7B E0 50 */ subf r3, r27, r28
/* 8023A9EC 0023794C 3B 83 FF FF */ addi r28, r3, -1
/* 8023A9F0 00237950 80 7E 00 00 */ lwz r3, 0(r30)
/* 8023A9F4 00237954 38 03 00 28 */ addi r0, r3, 0x28
/* 8023A9F8 00237958 90 1E 00 00 */ stw r0, 0(r30)
/* 8023A9FC 0023795C 48 00 00 08 */ b lbl_8023AA04
lbl_8023AA00:
/* 8023AA00 00237960 7F 7C DB 78 */ mr r28, r27
lbl_8023AA04:
/* 8023AA04 00237964 2C 1C 00 00 */ cmpwi r28, 0
/* 8023AA08 00237968 41 81 FF A0 */ bgt lbl_8023A9A8
/* 8023AA0C 0023796C 80 1E 00 00 */ lwz r0, 0(r30)
/* 8023AA10 00237970 90 1D 00 00 */ stw r0, 0(r29)
/* 8023AA14 00237974 BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 8023AA18 00237978 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8023AA1C 0023797C 7C 08 03 A6 */ mtlr r0
/* 8023AA20 00237980 38 21 00 30 */ addi r1, r1, 0x30
/* 8023AA24 00237984 4E 80 00 20 */ blr
.global "lower_bound_const<Q34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorRC11CTeamAiRole"
"lower_bound_const<Q34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8iterator,11CTeamAiRole>__4rstlFQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorQ34rstl46list<11CTeamAiRole,Q24rstl17rmemory_allocator>8const_iteratorRC11CTeamAiRole":
/* 8023AA28 00237988 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8023AA2C 0023798C 7C 08 02 A6 */ mflr r0
/* 8023AA30 00237990 90 01 00 34 */ stw r0, 0x34(r1)
/* 8023AA34 00237994 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 8023AA38 00237998 7C 9E 23 78 */ mr r30, r4
/* 8023AA3C 0023799C 7C 7D 1B 78 */ mr r29, r3
/* 8023AA40 002379A0 7C DF 33 78 */ mr r31, r6
/* 8023AA44 002379A4 38 61 00 0C */ addi r3, r1, 0xc
/* 8023AA48 002379A8 80 85 00 00 */ lwz r4, 0(r5)
/* 8023AA4C 002379AC 80 1E 00 00 */ lwz r0, 0(r30)
/* 8023AA50 002379B0 90 81 00 08 */ stw r4, 8(r1)
/* 8023AA54 002379B4 38 81 00 08 */ addi r4, r1, 8
/* 8023AA58 002379B8 90 01 00 0C */ stw r0, 0xc(r1)
/* 8023AA5C 002379BC 48 00 04 91 */ bl sub_8023aeec
/* 8023AA60 002379C0 80 1E 00 00 */ lwz r0, 0(r30)
/* 8023AA64 002379C4 7C 7C 1B 78 */ mr r28, r3
/* 8023AA68 002379C8 90 01 00 10 */ stw r0, 0x10(r1)
/* 8023AA6C 002379CC 48 00 00 60 */ b lbl_8023AACC
lbl_8023AA70:
/* 8023AA70 002379D0 57 83 0F FE */ srwi r3, r28, 0x1f
/* 8023AA74 002379D4 80 1E 00 00 */ lwz r0, 0(r30)
/* 8023AA78 002379D8 7C 83 E2 14 */ add r4, r3, r28
/* 8023AA7C 002379DC 38 61 00 10 */ addi r3, r1, 0x10
/* 8023AA80 002379E0 7C 9B 0E 70 */ srawi r27, r4, 1
/* 8023AA84 002379E4 90 01 00 10 */ stw r0, 0x10(r1)
/* 8023AA88 002379E8 7F 64 DB 78 */ mr r4, r27
/* 8023AA8C 002379EC 48 00 03 49 */ bl sub_8023add4
/* 8023AA90 002379F0 80 81 00 10 */ lwz r4, 0x10(r1)
/* 8023AA94 002379F4 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8023AA98 002379F8 A0 64 00 00 */ lhz r3, 0(r4)
/* 8023AA9C 002379FC 54 00 05 BE */ clrlwi r0, r0, 0x16
/* 8023AAA0 00237A00 54 63 05 BE */ clrlwi r3, r3, 0x16
/* 8023AAA4 00237A04 7C 03 00 40 */ cmplw r3, r0
/* 8023AAA8 00237A08 40 80 00 20 */ bge lbl_8023AAC8
/* 8023AAAC 00237A0C 90 9E 00 00 */ stw r4, 0(r30)
/* 8023AAB0 00237A10 7C 7B E0 50 */ subf r3, r27, r28
/* 8023AAB4 00237A14 3B 83 FF FF */ addi r28, r3, -1
/* 8023AAB8 00237A18 80 7E 00 00 */ lwz r3, 0(r30)
/* 8023AABC 00237A1C 38 03 00 28 */ addi r0, r3, 0x28
/* 8023AAC0 00237A20 90 1E 00 00 */ stw r0, 0(r30)
/* 8023AAC4 00237A24 48 00 00 08 */ b lbl_8023AACC
lbl_8023AAC8:
/* 8023AAC8 00237A28 7F 7C DB 78 */ mr r28, r27
lbl_8023AACC:
/* 8023AACC 00237A2C 2C 1C 00 00 */ cmpwi r28, 0
/* 8023AAD0 00237A30 41 81 FF A0 */ bgt lbl_8023AA70
/* 8023AAD4 00237A34 80 1E 00 00 */ lwz r0, 0(r30)
/* 8023AAD8 00237A38 90 1D 00 00 */ stw r0, 0(r29)
/* 8023AADC 00237A3C BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 8023AAE0 00237A40 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8023AAE4 00237A44 7C 08 03 A6 */ mtlr r0
/* 8023AAE8 00237A48 38 21 00 30 */ addi r1, r1, 0x30
/* 8023AAEC 00237A4C 4E 80 00 20 */ blr
.global "lower_bound_const<Q24rstl17vector<TUniqueId>>"
"lower_bound_const<Q24rstl17vector<TUniqueId>>":
/* 8023AAF0 00237A50 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8023AAF4 00237A54 7C 08 02 A6 */ mflr r0
/* 8023AAF8 00237A58 90 01 00 34 */ stw r0, 0x34(r1)
/* 8023AAFC 00237A5C BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 8023AB00 00237A60 7C 9F 23 78 */ mr r31, r4
/* 8023AB04 00237A64 7C 7E 1B 78 */ mr r30, r3
/* 8023AB08 00237A68 7C DB 33 78 */ mr r27, r6
/* 8023AB0C 00237A6C 38 61 00 0C */ addi r3, r1, 0xc
/* 8023AB10 00237A70 80 85 00 00 */ lwz r4, 0(r5)
/* 8023AB14 00237A74 80 1F 00 00 */ lwz r0, 0(r31)
/* 8023AB18 00237A78 90 81 00 08 */ stw r4, 8(r1)
/* 8023AB1C 00237A7C 38 81 00 08 */ addi r4, r1, 8
/* 8023AB20 00237A80 90 01 00 0C */ stw r0, 0xc(r1)
/* 8023AB24 00237A84 48 00 04 0D */ bl sub_8023af30
/* 8023AB28 00237A88 80 1F 00 00 */ lwz r0, 0(r31)
/* 8023AB2C 00237A8C 7C 7D 1B 78 */ mr r29, r3
/* 8023AB30 00237A90 90 01 00 10 */ stw r0, 0x10(r1)
/* 8023AB34 00237A94 48 00 00 58 */ b lbl_8023AB8C
lbl_8023AB38:
/* 8023AB38 00237A98 57 A3 0F FE */ srwi r3, r29, 0x1f
/* 8023AB3C 00237A9C 80 1F 00 00 */ lwz r0, 0(r31)
/* 8023AB40 00237AA0 7C 83 EA 14 */ add r4, r3, r29
/* 8023AB44 00237AA4 38 61 00 10 */ addi r3, r1, 0x10
/* 8023AB48 00237AA8 7C 9C 0E 70 */ srawi r28, r4, 1
/* 8023AB4C 00237AAC 90 01 00 10 */ stw r0, 0x10(r1)
/* 8023AB50 00237AB0 7F 84 E3 78 */ mr r4, r28
/* 8023AB54 00237AB4 48 00 02 AD */ bl sub_8023ae00
/* 8023AB58 00237AB8 80 81 00 10 */ lwz r4, 0x10(r1)
/* 8023AB5C 00237ABC A0 1B 00 00 */ lhz r0, 0(r27)
/* 8023AB60 00237AC0 A0 64 00 00 */ lhz r3, 0(r4)
/* 8023AB64 00237AC4 7C 03 00 40 */ cmplw r3, r0
/* 8023AB68 00237AC8 40 80 00 20 */ bge lbl_8023AB88
/* 8023AB6C 00237ACC 90 9F 00 00 */ stw r4, 0(r31)
/* 8023AB70 00237AD0 7C 7C E8 50 */ subf r3, r28, r29
/* 8023AB74 00237AD4 3B A3 FF FF */ addi r29, r3, -1
/* 8023AB78 00237AD8 80 7F 00 00 */ lwz r3, 0(r31)
/* 8023AB7C 00237ADC 38 03 00 02 */ addi r0, r3, 2
/* 8023AB80 00237AE0 90 1F 00 00 */ stw r0, 0(r31)
/* 8023AB84 00237AE4 48 00 00 08 */ b lbl_8023AB8C
lbl_8023AB88:
/* 8023AB88 00237AE8 7F 9D E3 78 */ mr r29, r28
lbl_8023AB8C:
/* 8023AB8C 00237AEC 2C 1D 00 00 */ cmpwi r29, 0
/* 8023AB90 00237AF0 41 81 FF A8 */ bgt lbl_8023AB38
/* 8023AB94 00237AF4 80 1F 00 00 */ lwz r0, 0(r31)
/* 8023AB98 00237AF8 90 1E 00 00 */ stw r0, 0(r30)
/* 8023AB9C 00237AFC BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 8023ABA0 00237B00 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8023ABA4 00237B04 7C 08 03 A6 */ mtlr r0
/* 8023ABA8 00237B08 38 21 00 30 */ addi r1, r1, 0x30
/* 8023ABAC 00237B0C 4E 80 00 20 */ blr
.global "lower_bound<Q24rstl17vector<TUniqueId>>"
"lower_bound<Q24rstl17vector<TUniqueId>>":
/* 8023ABB0 00237B10 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8023ABB4 00237B14 7C 08 02 A6 */ mflr r0
/* 8023ABB8 00237B18 90 01 00 34 */ stw r0, 0x34(r1)
/* 8023ABBC 00237B1C BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 8023ABC0 00237B20 7C 9F 23 78 */ mr r31, r4
/* 8023ABC4 00237B24 7C 7E 1B 78 */ mr r30, r3
/* 8023ABC8 00237B28 7C DB 33 78 */ mr r27, r6
/* 8023ABCC 00237B2C 38 61 00 0C */ addi r3, r1, 0xc
/* 8023ABD0 00237B30 80 85 00 00 */ lwz r4, 0(r5)
/* 8023ABD4 00237B34 80 1F 00 00 */ lwz r0, 0(r31)
/* 8023ABD8 00237B38 90 81 00 08 */ stw r4, 8(r1)
/* 8023ABDC 00237B3C 38 81 00 08 */ addi r4, r1, 8
/* 8023ABE0 00237B40 90 01 00 0C */ stw r0, 0xc(r1)
/* 8023ABE4 00237B44 48 00 03 91 */ bl sub_8023af74
/* 8023ABE8 00237B48 80 1F 00 00 */ lwz r0, 0(r31)
/* 8023ABEC 00237B4C 7C 7D 1B 78 */ mr r29, r3
/* 8023ABF0 00237B50 90 01 00 10 */ stw r0, 0x10(r1)
/* 8023ABF4 00237B54 48 00 00 58 */ b lbl_8023AC4C
lbl_8023ABF8:
/* 8023ABF8 00237B58 57 A3 0F FE */ srwi r3, r29, 0x1f
/* 8023ABFC 00237B5C 80 1F 00 00 */ lwz r0, 0(r31)
/* 8023AC00 00237B60 7C 83 EA 14 */ add r4, r3, r29
/* 8023AC04 00237B64 38 61 00 10 */ addi r3, r1, 0x10
/* 8023AC08 00237B68 7C 9C 0E 70 */ srawi r28, r4, 1
/* 8023AC0C 00237B6C 90 01 00 10 */ stw r0, 0x10(r1)
/* 8023AC10 00237B70 7F 84 E3 78 */ mr r4, r28
/* 8023AC14 00237B74 48 00 02 19 */ bl sub_8023ae2c
/* 8023AC18 00237B78 80 81 00 10 */ lwz r4, 0x10(r1)
/* 8023AC1C 00237B7C A0 1B 00 00 */ lhz r0, 0(r27)
/* 8023AC20 00237B80 A0 64 00 00 */ lhz r3, 0(r4)
/* 8023AC24 00237B84 7C 03 00 40 */ cmplw r3, r0
/* 8023AC28 00237B88 40 80 00 20 */ bge lbl_8023AC48
/* 8023AC2C 00237B8C 90 9F 00 00 */ stw r4, 0(r31)
/* 8023AC30 00237B90 7C 7C E8 50 */ subf r3, r28, r29
/* 8023AC34 00237B94 3B A3 FF FF */ addi r29, r3, -1
/* 8023AC38 00237B98 80 7F 00 00 */ lwz r3, 0(r31)
/* 8023AC3C 00237B9C 38 03 00 02 */ addi r0, r3, 2
/* 8023AC40 00237BA0 90 1F 00 00 */ stw r0, 0(r31)
/* 8023AC44 00237BA4 48 00 00 08 */ b lbl_8023AC4C
lbl_8023AC48:
/* 8023AC48 00237BA8 7F 9D E3 78 */ mr r29, r28
lbl_8023AC4C:
/* 8023AC4C 00237BAC 2C 1D 00 00 */ cmpwi r29, 0
/* 8023AC50 00237BB0 41 81 FF A8 */ bgt lbl_8023ABF8
/* 8023AC54 00237BB4 80 1F 00 00 */ lwz r0, 0(r31)
/* 8023AC58 00237BB8 90 1E 00 00 */ stw r0, 0(r30)
/* 8023AC5C 00237BBC BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 8023AC60 00237BC0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8023AC64 00237BC4 7C 08 03 A6 */ mtlr r0
/* 8023AC68 00237BC8 38 21 00 30 */ addi r1, r1, 0x30
/* 8023AC6C 00237BCC 4E 80 00 20 */ blr
.global sub_8023ac70
sub_8023ac70:
/* 8023AC70 00237BD0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8023AC74 00237BD4 7C 08 02 A6 */ mflr r0
/* 8023AC78 00237BD8 90 01 00 34 */ stw r0, 0x34(r1)
/* 8023AC7C 00237BDC 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8023AC80 00237BE0 7C 9F 23 78 */ mr r31, r4
/* 8023AC84 00237BE4 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8023AC88 00237BE8 7C 7E 1B 78 */ mr r30, r3
/* 8023AC8C 00237BEC 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8023AC90 00237BF0 80 03 00 08 */ lwz r0, 8(r3)
/* 8023AC94 00237BF4 7C 1F 00 00 */ cmpw r31, r0
/* 8023AC98 00237BF8 40 81 00 F4 */ ble lbl_8023AD8C
/* 8023AC9C 00237BFC 1C 7F 00 28 */ mulli r3, r31, 0x28
/* 8023ACA0 00237C00 2C 03 00 00 */ cmpwi r3, 0
/* 8023ACA4 00237C04 40 82 00 0C */ bne lbl_8023ACB0
/* 8023ACA8 00237C08 3B A0 00 00 */ li r29, 0
/* 8023ACAC 00237C0C 48 00 00 18 */ b lbl_8023ACC4
lbl_8023ACB0:
/* 8023ACB0 00237C10 3C 80 80 3D */ lis r4, lbl_803D4380@ha
/* 8023ACB4 00237C14 38 A0 00 00 */ li r5, 0
/* 8023ACB8 00237C18 38 84 43 80 */ addi r4, r4, lbl_803D4380@l
/* 8023ACBC 00237C1C 48 0D AB 5D */ bl __nwa__FUlPCcPCc
/* 8023ACC0 00237C20 7C 7D 1B 78 */ mr r29, r3
lbl_8023ACC4:
/* 8023ACC4 00237C24 80 1E 00 04 */ lwz r0, 4(r30)
/* 8023ACC8 00237C28 7F A4 EB 78 */ mr r4, r29
/* 8023ACCC 00237C2C 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 8023ACD0 00237C30 1C 00 00 28 */ mulli r0, r0, 0x28
/* 8023ACD4 00237C34 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8023ACD8 00237C38 7C 65 02 14 */ add r3, r5, r0
/* 8023ACDC 00237C3C 90 A1 00 14 */ stw r5, 0x14(r1)
/* 8023ACE0 00237C40 90 61 00 08 */ stw r3, 8(r1)
/* 8023ACE4 00237C44 90 61 00 0C */ stw r3, 0xc(r1)
/* 8023ACE8 00237C48 48 00 00 64 */ b lbl_8023AD4C
lbl_8023ACEC:
/* 8023ACEC 00237C4C 28 04 00 00 */ cmplwi r4, 0
/* 8023ACF0 00237C50 41 82 00 54 */ beq lbl_8023AD44
/* 8023ACF4 00237C54 A0 05 00 00 */ lhz r0, 0(r5)
/* 8023ACF8 00237C58 B0 04 00 00 */ sth r0, 0(r4)
/* 8023ACFC 00237C5C 80 05 00 04 */ lwz r0, 4(r5)
/* 8023AD00 00237C60 90 04 00 04 */ stw r0, 4(r4)
/* 8023AD04 00237C64 80 05 00 08 */ lwz r0, 8(r5)
/* 8023AD08 00237C68 90 04 00 08 */ stw r0, 8(r4)
/* 8023AD0C 00237C6C 80 05 00 0C */ lwz r0, 0xc(r5)
/* 8023AD10 00237C70 90 04 00 0C */ stw r0, 0xc(r4)
/* 8023AD14 00237C74 80 05 00 10 */ lwz r0, 0x10(r5)
/* 8023AD18 00237C78 90 04 00 10 */ stw r0, 0x10(r4)
/* 8023AD1C 00237C7C 80 05 00 14 */ lwz r0, 0x14(r5)
/* 8023AD20 00237C80 90 04 00 14 */ stw r0, 0x14(r4)
/* 8023AD24 00237C84 80 05 00 18 */ lwz r0, 0x18(r5)
/* 8023AD28 00237C88 90 04 00 18 */ stw r0, 0x18(r4)
/* 8023AD2C 00237C8C C0 05 00 1C */ lfs f0, 0x1c(r5)
/* 8023AD30 00237C90 D0 04 00 1C */ stfs f0, 0x1c(r4)
/* 8023AD34 00237C94 C0 05 00 20 */ lfs f0, 0x20(r5)
/* 8023AD38 00237C98 D0 04 00 20 */ stfs f0, 0x20(r4)
/* 8023AD3C 00237C9C C0 05 00 24 */ lfs f0, 0x24(r5)
/* 8023AD40 00237CA0 D0 04 00 24 */ stfs f0, 0x24(r4)
lbl_8023AD44:
/* 8023AD44 00237CA4 38 84 00 28 */ addi r4, r4, 0x28
/* 8023AD48 00237CA8 38 A5 00 28 */ addi r5, r5, 0x28
lbl_8023AD4C:
/* 8023AD4C 00237CAC 7C 05 18 40 */ cmplw r5, r3
/* 8023AD50 00237CB0 40 82 FF 9C */ bne lbl_8023ACEC
/* 8023AD54 00237CB4 80 1E 00 04 */ lwz r0, 4(r30)
/* 8023AD58 00237CB8 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8023AD5C 00237CBC 1C 00 00 28 */ mulli r0, r0, 0x28
/* 8023AD60 00237CC0 7C 64 1B 78 */ mr r4, r3
/* 8023AD64 00237CC4 7C 03 02 14 */ add r0, r3, r0
/* 8023AD68 00237CC8 48 00 00 08 */ b lbl_8023AD70
lbl_8023AD6C:
/* 8023AD6C 00237CCC 38 84 00 28 */ addi r4, r4, 0x28
lbl_8023AD70:
/* 8023AD70 00237CD0 7C 04 00 40 */ cmplw r4, r0
/* 8023AD74 00237CD4 40 82 FF F8 */ bne lbl_8023AD6C
/* 8023AD78 00237CD8 28 03 00 00 */ cmplwi r3, 0
/* 8023AD7C 00237CDC 41 82 00 08 */ beq lbl_8023AD84
/* 8023AD80 00237CE0 48 0D AB B1 */ bl Free__7CMemoryFPCv
lbl_8023AD84:
/* 8023AD84 00237CE4 93 BE 00 0C */ stw r29, 0xc(r30)
/* 8023AD88 00237CE8 93 FE 00 08 */ stw r31, 8(r30)
lbl_8023AD8C:
/* 8023AD8C 00237CEC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8023AD90 00237CF0 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8023AD94 00237CF4 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8023AD98 00237CF8 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8023AD9C 00237CFC 7C 08 03 A6 */ mtlr r0
/* 8023ADA0 00237D00 38 21 00 30 */ addi r1, r1, 0x30
/* 8023ADA4 00237D04 4E 80 00 20 */ blr
.global sub_8023ada8
sub_8023ada8:
/* 8023ADA8 00237D08 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8023ADAC 00237D0C 7C 08 02 A6 */ mflr r0
/* 8023ADB0 00237D10 90 01 00 14 */ stw r0, 0x14(r1)
/* 8023ADB4 00237D14 38 A1 00 0C */ addi r5, r1, 0xc
/* 8023ADB8 00237D18 88 01 00 08 */ lbz r0, 8(r1)
/* 8023ADBC 00237D1C 98 01 00 0C */ stb r0, 0xc(r1)
/* 8023ADC0 00237D20 48 00 00 D5 */ bl sub_8023ae94
/* 8023ADC4 00237D24 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8023ADC8 00237D28 7C 08 03 A6 */ mtlr r0
/* 8023ADCC 00237D2C 38 21 00 10 */ addi r1, r1, 0x10
/* 8023ADD0 00237D30 4E 80 00 20 */ blr
.global sub_8023add4
sub_8023add4:
/* 8023ADD4 00237D34 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8023ADD8 00237D38 7C 08 02 A6 */ mflr r0
/* 8023ADDC 00237D3C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8023ADE0 00237D40 38 A1 00 0C */ addi r5, r1, 0xc
/* 8023ADE4 00237D44 88 01 00 08 */ lbz r0, 8(r1)
/* 8023ADE8 00237D48 98 01 00 0C */ stb r0, 0xc(r1)
/* 8023ADEC 00237D4C 48 00 00 95 */ bl sub_8023ae80
/* 8023ADF0 00237D50 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8023ADF4 00237D54 7C 08 03 A6 */ mtlr r0
/* 8023ADF8 00237D58 38 21 00 10 */ addi r1, r1, 0x10
/* 8023ADFC 00237D5C 4E 80 00 20 */ blr
.global sub_8023ae00
sub_8023ae00:
/* 8023AE00 00237D60 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8023AE04 00237D64 7C 08 02 A6 */ mflr r0
/* 8023AE08 00237D68 90 01 00 14 */ stw r0, 0x14(r1)
/* 8023AE0C 00237D6C 38 A1 00 0C */ addi r5, r1, 0xc
/* 8023AE10 00237D70 88 01 00 08 */ lbz r0, 8(r1)
/* 8023AE14 00237D74 98 01 00 0C */ stb r0, 0xc(r1)
/* 8023AE18 00237D78 48 00 00 55 */ bl sub_8023ae6c
/* 8023AE1C 00237D7C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8023AE20 00237D80 7C 08 03 A6 */ mtlr r0
/* 8023AE24 00237D84 38 21 00 10 */ addi r1, r1, 0x10
/* 8023AE28 00237D88 4E 80 00 20 */ blr
.global sub_8023ae2c
sub_8023ae2c:
/* 8023AE2C 00237D8C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8023AE30 00237D90 7C 08 02 A6 */ mflr r0
/* 8023AE34 00237D94 90 01 00 14 */ stw r0, 0x14(r1)
/* 8023AE38 00237D98 38 A1 00 0C */ addi r5, r1, 0xc
/* 8023AE3C 00237D9C 88 01 00 08 */ lbz r0, 8(r1)
/* 8023AE40 00237DA0 98 01 00 0C */ stb r0, 0xc(r1)
/* 8023AE44 00237DA4 48 00 00 15 */ bl sub_8023ae58
/* 8023AE48 00237DA8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8023AE4C 00237DAC 7C 08 03 A6 */ mtlr r0
/* 8023AE50 00237DB0 38 21 00 10 */ addi r1, r1, 0x10
/* 8023AE54 00237DB4 4E 80 00 20 */ blr
.global sub_8023ae58
sub_8023ae58:
/* 8023AE58 00237DB8 80 A3 00 00 */ lwz r5, 0(r3)
/* 8023AE5C 00237DBC 54 80 08 3C */ slwi r0, r4, 1
/* 8023AE60 00237DC0 7C 05 02 14 */ add r0, r5, r0
/* 8023AE64 00237DC4 90 03 00 00 */ stw r0, 0(r3)
/* 8023AE68 00237DC8 4E 80 00 20 */ blr
.global sub_8023ae6c
sub_8023ae6c:
/* 8023AE6C 00237DCC 80 A3 00 00 */ lwz r5, 0(r3)
/* 8023AE70 00237DD0 54 80 08 3C */ slwi r0, r4, 1
/* 8023AE74 00237DD4 7C 05 02 14 */ add r0, r5, r0
/* 8023AE78 00237DD8 90 03 00 00 */ stw r0, 0(r3)
/* 8023AE7C 00237DDC 4E 80 00 20 */ blr
.global sub_8023ae80
sub_8023ae80:
/* 8023AE80 00237DE0 1C 04 00 28 */ mulli r0, r4, 0x28
/* 8023AE84 00237DE4 80 83 00 00 */ lwz r4, 0(r3)
/* 8023AE88 00237DE8 7C 04 02 14 */ add r0, r4, r0
/* 8023AE8C 00237DEC 90 03 00 00 */ stw r0, 0(r3)
/* 8023AE90 00237DF0 4E 80 00 20 */ blr
.global sub_8023ae94
sub_8023ae94:
/* 8023AE94 00237DF4 1C 04 00 28 */ mulli r0, r4, 0x28
/* 8023AE98 00237DF8 80 83 00 00 */ lwz r4, 0(r3)
/* 8023AE9C 00237DFC 7C 04 02 14 */ add r0, r4, r0
/* 8023AEA0 00237E00 90 03 00 00 */ stw r0, 0(r3)
/* 8023AEA4 00237E04 4E 80 00 20 */ blr
.global sub_8023aea8
sub_8023aea8:
/* 8023AEA8 00237E08 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8023AEAC 00237E0C 7C 08 02 A6 */ mflr r0
/* 8023AEB0 00237E10 90 01 00 24 */ stw r0, 0x24(r1)
/* 8023AEB4 00237E14 38 A1 00 0C */ addi r5, r1, 0xc
/* 8023AEB8 00237E18 88 E1 00 08 */ lbz r7, 8(r1)
/* 8023AEBC 00237E1C 80 C4 00 00 */ lwz r6, 0(r4)
/* 8023AEC0 00237E20 38 81 00 10 */ addi r4, r1, 0x10
/* 8023AEC4 00237E24 80 03 00 00 */ lwz r0, 0(r3)
/* 8023AEC8 00237E28 38 61 00 14 */ addi r3, r1, 0x14
/* 8023AECC 00237E2C 90 C1 00 10 */ stw r6, 0x10(r1)
/* 8023AED0 00237E30 98 E1 00 0C */ stb r7, 0xc(r1)
/* 8023AED4 00237E34 90 01 00 14 */ stw r0, 0x14(r1)
/* 8023AED8 00237E38 48 00 00 FD */ bl sub_8023afd4
/* 8023AEDC 00237E3C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8023AEE0 00237E40 7C 08 03 A6 */ mtlr r0
/* 8023AEE4 00237E44 38 21 00 20 */ addi r1, r1, 0x20
/* 8023AEE8 00237E48 4E 80 00 20 */ blr
.global sub_8023aeec
sub_8023aeec:
/* 8023AEEC 00237E4C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8023AEF0 00237E50 7C 08 02 A6 */ mflr r0
/* 8023AEF4 00237E54 90 01 00 24 */ stw r0, 0x24(r1)
/* 8023AEF8 00237E58 38 A1 00 0C */ addi r5, r1, 0xc
/* 8023AEFC 00237E5C 88 E1 00 08 */ lbz r7, 8(r1)
/* 8023AF00 00237E60 80 C4 00 00 */ lwz r6, 0(r4)
/* 8023AF04 00237E64 38 81 00 10 */ addi r4, r1, 0x10
/* 8023AF08 00237E68 80 03 00 00 */ lwz r0, 0(r3)
/* 8023AF0C 00237E6C 38 61 00 14 */ addi r3, r1, 0x14
/* 8023AF10 00237E70 90 C1 00 10 */ stw r6, 0x10(r1)
/* 8023AF14 00237E74 98 E1 00 0C */ stb r7, 0xc(r1)
/* 8023AF18 00237E78 90 01 00 14 */ stw r0, 0x14(r1)
/* 8023AF1C 00237E7C 48 00 00 E1 */ bl sub_8023affc
/* 8023AF20 00237E80 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8023AF24 00237E84 7C 08 03 A6 */ mtlr r0
/* 8023AF28 00237E88 38 21 00 20 */ addi r1, r1, 0x20
/* 8023AF2C 00237E8C 4E 80 00 20 */ blr
.global sub_8023af30
sub_8023af30:
/* 8023AF30 00237E90 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8023AF34 00237E94 7C 08 02 A6 */ mflr r0
/* 8023AF38 00237E98 90 01 00 24 */ stw r0, 0x24(r1)
/* 8023AF3C 00237E9C 38 A1 00 0C */ addi r5, r1, 0xc
/* 8023AF40 00237EA0 88 E1 00 08 */ lbz r7, 8(r1)
/* 8023AF44 00237EA4 80 C4 00 00 */ lwz r6, 0(r4)
/* 8023AF48 00237EA8 38 81 00 10 */ addi r4, r1, 0x10
/* 8023AF4C 00237EAC 80 03 00 00 */ lwz r0, 0(r3)
/* 8023AF50 00237EB0 38 61 00 14 */ addi r3, r1, 0x14
/* 8023AF54 00237EB4 90 C1 00 10 */ stw r6, 0x10(r1)
/* 8023AF58 00237EB8 98 E1 00 0C */ stb r7, 0xc(r1)
/* 8023AF5C 00237EBC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8023AF60 00237EC0 48 00 00 C5 */ bl sub_8023b024
/* 8023AF64 00237EC4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8023AF68 00237EC8 7C 08 03 A6 */ mtlr r0
/* 8023AF6C 00237ECC 38 21 00 20 */ addi r1, r1, 0x20
/* 8023AF70 00237ED0 4E 80 00 20 */ blr
.global sub_8023af74
sub_8023af74:
/* 8023AF74 00237ED4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8023AF78 00237ED8 7C 08 02 A6 */ mflr r0
/* 8023AF7C 00237EDC 90 01 00 24 */ stw r0, 0x24(r1)
/* 8023AF80 00237EE0 38 A1 00 0C */ addi r5, r1, 0xc
/* 8023AF84 00237EE4 88 E1 00 08 */ lbz r7, 8(r1)
/* 8023AF88 00237EE8 80 C4 00 00 */ lwz r6, 0(r4)
/* 8023AF8C 00237EEC 38 81 00 10 */ addi r4, r1, 0x10
/* 8023AF90 00237EF0 80 03 00 00 */ lwz r0, 0(r3)
/* 8023AF94 00237EF4 38 61 00 14 */ addi r3, r1, 0x14
/* 8023AF98 00237EF8 90 C1 00 10 */ stw r6, 0x10(r1)
/* 8023AF9C 00237EFC 98 E1 00 0C */ stb r7, 0xc(r1)
/* 8023AFA0 00237F00 90 01 00 14 */ stw r0, 0x14(r1)
/* 8023AFA4 00237F04 48 00 00 15 */ bl sub_8023afb8
/* 8023AFA8 00237F08 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8023AFAC 00237F0C 7C 08 03 A6 */ mtlr r0
/* 8023AFB0 00237F10 38 21 00 20 */ addi r1, r1, 0x20
/* 8023AFB4 00237F14 4E 80 00 20 */ blr
.global sub_8023afb8
sub_8023afb8:
/* 8023AFB8 00237F18 80 63 00 00 */ lwz r3, 0(r3)
/* 8023AFBC 00237F1C 80 04 00 00 */ lwz r0, 0(r4)
/* 8023AFC0 00237F20 7C 63 00 50 */ subf r3, r3, r0
/* 8023AFC4 00237F24 54 60 0F FE */ srwi r0, r3, 0x1f
/* 8023AFC8 00237F28 7C 00 1A 14 */ add r0, r0, r3
/* 8023AFCC 00237F2C 7C 03 0E 70 */ srawi r3, r0, 1
/* 8023AFD0 00237F30 4E 80 00 20 */ blr
.global sub_8023afd4
sub_8023afd4:
/* 8023AFD4 00237F34 80 A3 00 00 */ lwz r5, 0(r3)
/* 8023AFD8 00237F38 3C 60 66 66 */ lis r3, 0x66666667@ha
/* 8023AFDC 00237F3C 80 04 00 00 */ lwz r0, 0(r4)
/* 8023AFE0 00237F40 38 63 66 67 */ addi r3, r3, 0x66666667@l
/* 8023AFE4 00237F44 7C 05 00 50 */ subf r0, r5, r0
/* 8023AFE8 00237F48 7C 03 00 96 */ mulhw r0, r3, r0
/* 8023AFEC 00237F4C 7C 00 26 70 */ srawi r0, r0, 4
/* 8023AFF0 00237F50 54 03 0F FE */ srwi r3, r0, 0x1f
/* 8023AFF4 00237F54 7C 60 1A 14 */ add r3, r0, r3
/* 8023AFF8 00237F58 4E 80 00 20 */ blr
.global sub_8023affc
sub_8023affc:
/* 8023AFFC 00237F5C 80 A3 00 00 */ lwz r5, 0(r3)
/* 8023B000 00237F60 3C 60 66 66 */ lis r3, 0x66666667@ha
/* 8023B004 00237F64 80 04 00 00 */ lwz r0, 0(r4)
/* 8023B008 00237F68 38 63 66 67 */ addi r3, r3, 0x66666667@l
/* 8023B00C 00237F6C 7C 05 00 50 */ subf r0, r5, r0
/* 8023B010 00237F70 7C 03 00 96 */ mulhw r0, r3, r0
/* 8023B014 00237F74 7C 00 26 70 */ srawi r0, r0, 4
/* 8023B018 00237F78 54 03 0F FE */ srwi r3, r0, 0x1f
/* 8023B01C 00237F7C 7C 60 1A 14 */ add r3, r0, r3
/* 8023B020 00237F80 4E 80 00 20 */ blr
.global sub_8023b024
sub_8023b024:
/* 8023B024 00237F84 80 63 00 00 */ lwz r3, 0(r3)
/* 8023B028 00237F88 80 04 00 00 */ lwz r0, 0(r4)
/* 8023B02C 00237F8C 7C 63 00 50 */ subf r3, r3, r0
/* 8023B030 00237F90 54 60 0F FE */ srwi r0, r3, 0x1f
/* 8023B034 00237F94 7C 00 1A 14 */ add r0, r0, r3
/* 8023B038 00237F98 7C 03 0E 70 */ srawi r3, r0, 1
/* 8023B03C 00237F9C 4E 80 00 20 */ blr
.global sub_8023b040
sub_8023b040:
/* 8023B040 00237FA0 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8023B044 00237FA4 7C 08 02 A6 */ mflr r0
/* 8023B048 00237FA8 90 01 00 44 */ stw r0, 0x44(r1)
/* 8023B04C 00237FAC 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8023B050 00237FB0 7C BF 2B 78 */ mr r31, r5
/* 8023B054 00237FB4 93 C1 00 38 */ stw r30, 0x38(r1)
/* 8023B058 00237FB8 7C 9E 23 78 */ mr r30, r4
/* 8023B05C 00237FBC 93 A1 00 34 */ stw r29, 0x34(r1)
/* 8023B060 00237FC0 7C 7D 1B 78 */ mr r29, r3
/* 8023B064 00237FC4 7F A5 EB 78 */ mr r5, r29
/* 8023B068 00237FC8 93 81 00 30 */ stw r28, 0x30(r1)
/* 8023B06C 00237FCC 7C DC 33 78 */ mr r28, r6
/* 8023B070 00237FD0 7F 83 E3 78 */ mr r3, r28
/* 8023B074 00237FD4 4B FF F4 51 */ bl __lt__11CTeamAiRoleCFRC11CTeamAiRole
/* 8023B078 00237FD8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8023B07C 00237FDC 41 82 00 10 */ beq lbl_8023B08C
/* 8023B080 00237FE0 7F A3 EB 78 */ mr r3, r29
/* 8023B084 00237FE4 7F C4 F3 78 */ mr r4, r30
/* 8023B088 00237FE8 48 00 01 E9 */ bl sub_8023b270
lbl_8023B08C:
/* 8023B08C 00237FEC 7F 83 E3 78 */ mr r3, r28
/* 8023B090 00237FF0 7F E4 FB 78 */ mr r4, r31
/* 8023B094 00237FF4 7F C5 F3 78 */ mr r5, r30
/* 8023B098 00237FF8 4B FF F4 2D */ bl __lt__11CTeamAiRoleCFRC11CTeamAiRole
/* 8023B09C 00237FFC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8023B0A0 00238000 41 82 01 B0 */ beq lbl_8023B250
/* 8023B0A4 00238004 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8023B0A8 00238008 7F 83 E3 78 */ mr r3, r28
/* 8023B0AC 0023800C 7F A5 EB 78 */ mr r5, r29
/* 8023B0B0 00238010 38 81 00 08 */ addi r4, r1, 8
/* 8023B0B4 00238014 B0 01 00 08 */ sth r0, 8(r1)
/* 8023B0B8 00238018 80 1F 00 04 */ lwz r0, 4(r31)
/* 8023B0BC 0023801C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8023B0C0 00238020 80 1F 00 08 */ lwz r0, 8(r31)
/* 8023B0C4 00238024 90 01 00 10 */ stw r0, 0x10(r1)
/* 8023B0C8 00238028 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8023B0CC 0023802C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8023B0D0 00238030 80 1F 00 10 */ lwz r0, 0x10(r31)
/* 8023B0D4 00238034 90 01 00 18 */ stw r0, 0x18(r1)
/* 8023B0D8 00238038 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 8023B0DC 0023803C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8023B0E0 00238040 80 1F 00 18 */ lwz r0, 0x18(r31)
/* 8023B0E4 00238044 90 01 00 20 */ stw r0, 0x20(r1)
/* 8023B0E8 00238048 C0 1F 00 1C */ lfs f0, 0x1c(r31)
/* 8023B0EC 0023804C D0 01 00 24 */ stfs f0, 0x24(r1)
/* 8023B0F0 00238050 C0 1F 00 20 */ lfs f0, 0x20(r31)
/* 8023B0F4 00238054 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 8023B0F8 00238058 C0 1F 00 24 */ lfs f0, 0x24(r31)
/* 8023B0FC 0023805C D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8023B100 00238060 A0 1E 00 00 */ lhz r0, 0(r30)
/* 8023B104 00238064 B0 1F 00 00 */ sth r0, 0(r31)
/* 8023B108 00238068 80 1E 00 04 */ lwz r0, 4(r30)
/* 8023B10C 0023806C 90 1F 00 04 */ stw r0, 4(r31)
/* 8023B110 00238070 80 1E 00 08 */ lwz r0, 8(r30)
/* 8023B114 00238074 90 1F 00 08 */ stw r0, 8(r31)
/* 8023B118 00238078 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8023B11C 0023807C 90 1F 00 0C */ stw r0, 0xc(r31)
/* 8023B120 00238080 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 8023B124 00238084 90 1F 00 10 */ stw r0, 0x10(r31)
/* 8023B128 00238088 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 8023B12C 0023808C 90 1F 00 14 */ stw r0, 0x14(r31)
/* 8023B130 00238090 80 1E 00 18 */ lwz r0, 0x18(r30)
/* 8023B134 00238094 90 1F 00 18 */ stw r0, 0x18(r31)
/* 8023B138 00238098 80 DE 00 1C */ lwz r6, 0x1c(r30)
/* 8023B13C 0023809C 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 8023B140 002380A0 90 DF 00 1C */ stw r6, 0x1c(r31)
/* 8023B144 002380A4 90 1F 00 20 */ stw r0, 0x20(r31)
/* 8023B148 002380A8 80 1E 00 24 */ lwz r0, 0x24(r30)
/* 8023B14C 002380AC 90 1F 00 24 */ stw r0, 0x24(r31)
/* 8023B150 002380B0 4B FF F3 75 */ bl __lt__11CTeamAiRoleCFRC11CTeamAiRole
/* 8023B154 002380B4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8023B158 002380B8 41 82 00 A8 */ beq lbl_8023B200
/* 8023B15C 002380BC A0 1D 00 00 */ lhz r0, 0(r29)
/* 8023B160 002380C0 B0 1E 00 00 */ sth r0, 0(r30)
/* 8023B164 002380C4 80 1D 00 04 */ lwz r0, 4(r29)
/* 8023B168 002380C8 90 1E 00 04 */ stw r0, 4(r30)
/* 8023B16C 002380CC 80 1D 00 08 */ lwz r0, 8(r29)
/* 8023B170 002380D0 90 1E 00 08 */ stw r0, 8(r30)
/* 8023B174 002380D4 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 8023B178 002380D8 90 1E 00 0C */ stw r0, 0xc(r30)
/* 8023B17C 002380DC 80 1D 00 10 */ lwz r0, 0x10(r29)
/* 8023B180 002380E0 90 1E 00 10 */ stw r0, 0x10(r30)
/* 8023B184 002380E4 80 1D 00 14 */ lwz r0, 0x14(r29)
/* 8023B188 002380E8 90 1E 00 14 */ stw r0, 0x14(r30)
/* 8023B18C 002380EC 80 1D 00 18 */ lwz r0, 0x18(r29)
/* 8023B190 002380F0 90 1E 00 18 */ stw r0, 0x18(r30)
/* 8023B194 002380F4 80 7D 00 1C */ lwz r3, 0x1c(r29)
/* 8023B198 002380F8 80 1D 00 20 */ lwz r0, 0x20(r29)
/* 8023B19C 002380FC 90 7E 00 1C */ stw r3, 0x1c(r30)
/* 8023B1A0 00238100 90 1E 00 20 */ stw r0, 0x20(r30)
/* 8023B1A4 00238104 80 1D 00 24 */ lwz r0, 0x24(r29)
/* 8023B1A8 00238108 90 1E 00 24 */ stw r0, 0x24(r30)
/* 8023B1AC 0023810C A0 01 00 08 */ lhz r0, 8(r1)
/* 8023B1B0 00238110 B0 1D 00 00 */ sth r0, 0(r29)
/* 8023B1B4 00238114 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8023B1B8 00238118 90 1D 00 04 */ stw r0, 4(r29)
/* 8023B1BC 0023811C 80 01 00 10 */ lwz r0, 0x10(r1)
/* 8023B1C0 00238120 90 1D 00 08 */ stw r0, 8(r29)
/* 8023B1C4 00238124 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8023B1C8 00238128 90 1D 00 0C */ stw r0, 0xc(r29)
/* 8023B1CC 0023812C 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8023B1D0 00238130 90 1D 00 10 */ stw r0, 0x10(r29)
/* 8023B1D4 00238134 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8023B1D8 00238138 90 1D 00 14 */ stw r0, 0x14(r29)
/* 8023B1DC 0023813C 80 01 00 20 */ lwz r0, 0x20(r1)
/* 8023B1E0 00238140 90 1D 00 18 */ stw r0, 0x18(r29)
/* 8023B1E4 00238144 80 61 00 24 */ lwz r3, 0x24(r1)
/* 8023B1E8 00238148 80 01 00 28 */ lwz r0, 0x28(r1)
/* 8023B1EC 0023814C 90 7D 00 1C */ stw r3, 0x1c(r29)
/* 8023B1F0 00238150 90 1D 00 20 */ stw r0, 0x20(r29)
/* 8023B1F4 00238154 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8023B1F8 00238158 90 1D 00 24 */ stw r0, 0x24(r29)
/* 8023B1FC 0023815C 48 00 00 54 */ b lbl_8023B250
lbl_8023B200:
/* 8023B200 00238160 A0 01 00 08 */ lhz r0, 8(r1)
/* 8023B204 00238164 B0 1E 00 00 */ sth r0, 0(r30)
/* 8023B208 00238168 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8023B20C 0023816C 90 1E 00 04 */ stw r0, 4(r30)
/* 8023B210 00238170 80 01 00 10 */ lwz r0, 0x10(r1)
/* 8023B214 00238174 90 1E 00 08 */ stw r0, 8(r30)
/* 8023B218 00238178 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8023B21C 0023817C 90 1E 00 0C */ stw r0, 0xc(r30)
/* 8023B220 00238180 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8023B224 00238184 90 1E 00 10 */ stw r0, 0x10(r30)
/* 8023B228 00238188 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8023B22C 0023818C 90 1E 00 14 */ stw r0, 0x14(r30)
/* 8023B230 00238190 80 01 00 20 */ lwz r0, 0x20(r1)
/* 8023B234 00238194 90 1E 00 18 */ stw r0, 0x18(r30)
/* 8023B238 00238198 80 61 00 24 */ lwz r3, 0x24(r1)
/* 8023B23C 0023819C 80 01 00 28 */ lwz r0, 0x28(r1)
/* 8023B240 002381A0 90 7E 00 1C */ stw r3, 0x1c(r30)
/* 8023B244 002381A4 90 1E 00 20 */ stw r0, 0x20(r30)
/* 8023B248 002381A8 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8023B24C 002381AC 90 1E 00 24 */ stw r0, 0x24(r30)
lbl_8023B250:
/* 8023B250 002381B0 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8023B254 002381B4 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8023B258 002381B8 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8023B25C 002381BC 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 8023B260 002381C0 83 81 00 30 */ lwz r28, 0x30(r1)
/* 8023B264 002381C4 7C 08 03 A6 */ mtlr r0
/* 8023B268 002381C8 38 21 00 40 */ addi r1, r1, 0x40
/* 8023B26C 002381CC 4E 80 00 20 */ blr
.global sub_8023b270
sub_8023b270:
/* 8023B270 002381D0 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8023B274 002381D4 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8023B278 002381D8 93 C1 00 38 */ stw r30, 0x38(r1)
/* 8023B27C 002381DC 93 A1 00 34 */ stw r29, 0x34(r1)
/* 8023B280 002381E0 A3 A3 00 00 */ lhz r29, 0(r3)
/* 8023B284 002381E4 83 C3 00 04 */ lwz r30, 4(r3)
/* 8023B288 002381E8 83 E3 00 08 */ lwz r31, 8(r3)
/* 8023B28C 002381EC 81 83 00 0C */ lwz r12, 0xc(r3)
/* 8023B290 002381F0 81 63 00 10 */ lwz r11, 0x10(r3)
/* 8023B294 002381F4 81 43 00 14 */ lwz r10, 0x14(r3)
/* 8023B298 002381F8 81 23 00 18 */ lwz r9, 0x18(r3)
/* 8023B29C 002381FC C0 43 00 1C */ lfs f2, 0x1c(r3)
/* 8023B2A0 00238200 C0 23 00 20 */ lfs f1, 0x20(r3)
/* 8023B2A4 00238204 C0 03 00 24 */ lfs f0, 0x24(r3)
/* 8023B2A8 00238208 A0 04 00 00 */ lhz r0, 0(r4)
/* 8023B2AC 0023820C D0 41 00 24 */ stfs f2, 0x24(r1)
/* 8023B2B0 00238210 B0 03 00 00 */ sth r0, 0(r3)
/* 8023B2B4 00238214 80 C1 00 24 */ lwz r6, 0x24(r1)
/* 8023B2B8 00238218 80 04 00 04 */ lwz r0, 4(r4)
/* 8023B2BC 0023821C D0 21 00 28 */ stfs f1, 0x28(r1)
/* 8023B2C0 00238220 90 03 00 04 */ stw r0, 4(r3)
/* 8023B2C4 00238224 80 A1 00 28 */ lwz r5, 0x28(r1)
/* 8023B2C8 00238228 80 04 00 08 */ lwz r0, 8(r4)
/* 8023B2CC 0023822C D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8023B2D0 00238230 90 03 00 08 */ stw r0, 8(r3)
/* 8023B2D4 00238234 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8023B2D8 00238238 80 E4 00 0C */ lwz r7, 0xc(r4)
/* 8023B2DC 0023823C B3 A1 00 08 */ sth r29, 8(r1)
/* 8023B2E0 00238240 90 E3 00 0C */ stw r7, 0xc(r3)
/* 8023B2E4 00238244 80 E4 00 10 */ lwz r7, 0x10(r4)
/* 8023B2E8 00238248 93 C1 00 0C */ stw r30, 0xc(r1)
/* 8023B2EC 0023824C 90 E3 00 10 */ stw r7, 0x10(r3)
/* 8023B2F0 00238250 80 E4 00 14 */ lwz r7, 0x14(r4)
/* 8023B2F4 00238254 93 E1 00 10 */ stw r31, 0x10(r1)
/* 8023B2F8 00238258 90 E3 00 14 */ stw r7, 0x14(r3)
/* 8023B2FC 0023825C 80 E4 00 18 */ lwz r7, 0x18(r4)
/* 8023B300 00238260 91 81 00 14 */ stw r12, 0x14(r1)
/* 8023B304 00238264 90 E3 00 18 */ stw r7, 0x18(r3)
/* 8023B308 00238268 81 04 00 1C */ lwz r8, 0x1c(r4)
/* 8023B30C 0023826C 80 E4 00 20 */ lwz r7, 0x20(r4)
/* 8023B310 00238270 91 61 00 18 */ stw r11, 0x18(r1)
/* 8023B314 00238274 91 03 00 1C */ stw r8, 0x1c(r3)
/* 8023B318 00238278 90 E3 00 20 */ stw r7, 0x20(r3)
/* 8023B31C 0023827C 80 E4 00 24 */ lwz r7, 0x24(r4)
/* 8023B320 00238280 91 41 00 1C */ stw r10, 0x1c(r1)
/* 8023B324 00238284 90 E3 00 24 */ stw r7, 0x24(r3)
/* 8023B328 00238288 B3 A4 00 00 */ sth r29, 0(r4)
/* 8023B32C 0023828C 93 C4 00 04 */ stw r30, 4(r4)
/* 8023B330 00238290 93 E4 00 08 */ stw r31, 8(r4)
/* 8023B334 00238294 91 84 00 0C */ stw r12, 0xc(r4)
/* 8023B338 00238298 91 64 00 10 */ stw r11, 0x10(r4)
/* 8023B33C 0023829C 91 44 00 14 */ stw r10, 0x14(r4)
/* 8023B340 002382A0 91 24 00 18 */ stw r9, 0x18(r4)
/* 8023B344 002382A4 90 C4 00 1C */ stw r6, 0x1c(r4)
/* 8023B348 002382A8 90 A4 00 20 */ stw r5, 0x20(r4)
/* 8023B34C 002382AC 90 04 00 24 */ stw r0, 0x24(r4)
/* 8023B350 002382B0 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8023B354 002382B4 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8023B358 002382B8 91 21 00 20 */ stw r9, 0x20(r1)
/* 8023B35C 002382BC 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 8023B360 002382C0 38 21 00 40 */ addi r1, r1, 0x40
/* 8023B364 002382C4 4E 80 00 20 */ blr
.global sub_8023b368
sub_8023b368:
/* 8023B368 002382C8 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8023B36C 002382CC 7C 08 02 A6 */ mflr r0
/* 8023B370 002382D0 90 01 00 54 */ stw r0, 0x54(r1)
/* 8023B374 002382D4 BF 41 00 38 */ stmw r26, 0x38(r1)
/* 8023B378 002382D8 7C 7A 1B 78 */ mr r26, r3
/* 8023B37C 002382DC 7C 9B 23 78 */ mr r27, r4
/* 8023B380 002382E0 7C BC 2B 78 */ mr r28, r5
/* 8023B384 002382E4 83 E3 00 00 */ lwz r31, 0(r3)
/* 8023B388 002382E8 3B FF 00 28 */ addi r31, r31, 0x28
/* 8023B38C 002382EC 48 00 01 30 */ b lbl_8023B4BC
lbl_8023B390:
/* 8023B390 002382F0 A0 1F 00 00 */ lhz r0, 0(r31)
/* 8023B394 002382F4 7F FD FB 78 */ mr r29, r31
/* 8023B398 002382F8 3B DF FF D8 */ addi r30, r31, -40
/* 8023B39C 002382FC B0 01 00 08 */ sth r0, 8(r1)
/* 8023B3A0 00238300 80 1F 00 04 */ lwz r0, 4(r31)
/* 8023B3A4 00238304 90 01 00 0C */ stw r0, 0xc(r1)
/* 8023B3A8 00238308 80 1F 00 08 */ lwz r0, 8(r31)
/* 8023B3AC 0023830C 90 01 00 10 */ stw r0, 0x10(r1)
/* 8023B3B0 00238310 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8023B3B4 00238314 90 01 00 14 */ stw r0, 0x14(r1)
/* 8023B3B8 00238318 80 1F 00 10 */ lwz r0, 0x10(r31)
/* 8023B3BC 0023831C 90 01 00 18 */ stw r0, 0x18(r1)
/* 8023B3C0 00238320 80 1F 00 14 */ lwz r0, 0x14(r31)
/* 8023B3C4 00238324 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8023B3C8 00238328 80 1F 00 18 */ lwz r0, 0x18(r31)
/* 8023B3CC 0023832C 90 01 00 20 */ stw r0, 0x20(r1)
/* 8023B3D0 00238330 C0 1F 00 1C */ lfs f0, 0x1c(r31)
/* 8023B3D4 00238334 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 8023B3D8 00238338 C0 1F 00 20 */ lfs f0, 0x20(r31)
/* 8023B3DC 0023833C D0 01 00 28 */ stfs f0, 0x28(r1)
/* 8023B3E0 00238340 C0 1F 00 24 */ lfs f0, 0x24(r31)
/* 8023B3E4 00238344 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8023B3E8 00238348 48 00 00 5C */ b lbl_8023B444
lbl_8023B3EC:
/* 8023B3EC 0023834C A0 1E 00 00 */ lhz r0, 0(r30)
/* 8023B3F0 00238350 B0 1D 00 00 */ sth r0, 0(r29)
/* 8023B3F4 00238354 80 1E 00 04 */ lwz r0, 4(r30)
/* 8023B3F8 00238358 90 1D 00 04 */ stw r0, 4(r29)
/* 8023B3FC 0023835C 80 1E 00 08 */ lwz r0, 8(r30)
/* 8023B400 00238360 90 1D 00 08 */ stw r0, 8(r29)
/* 8023B404 00238364 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8023B408 00238368 90 1D 00 0C */ stw r0, 0xc(r29)
/* 8023B40C 0023836C 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 8023B410 00238370 90 1D 00 10 */ stw r0, 0x10(r29)
/* 8023B414 00238374 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 8023B418 00238378 90 1D 00 14 */ stw r0, 0x14(r29)
/* 8023B41C 0023837C 80 1E 00 18 */ lwz r0, 0x18(r30)
/* 8023B420 00238380 90 1D 00 18 */ stw r0, 0x18(r29)
/* 8023B424 00238384 80 7E 00 1C */ lwz r3, 0x1c(r30)
/* 8023B428 00238388 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 8023B42C 0023838C 90 7D 00 1C */ stw r3, 0x1c(r29)
/* 8023B430 00238390 90 1D 00 20 */ stw r0, 0x20(r29)
/* 8023B434 00238394 80 1E 00 24 */ lwz r0, 0x24(r30)
/* 8023B438 00238398 3B DE FF D8 */ addi r30, r30, -40
/* 8023B43C 0023839C 90 1D 00 24 */ stw r0, 0x24(r29)
/* 8023B440 002383A0 3B BD FF D8 */ addi r29, r29, -40
lbl_8023B444:
/* 8023B444 002383A4 80 1A 00 00 */ lwz r0, 0(r26)
/* 8023B448 002383A8 7C 00 E8 40 */ cmplw r0, r29
/* 8023B44C 002383AC 40 80 00 1C */ bge lbl_8023B468
/* 8023B450 002383B0 7F 83 E3 78 */ mr r3, r28
/* 8023B454 002383B4 7F C5 F3 78 */ mr r5, r30
/* 8023B458 002383B8 38 81 00 08 */ addi r4, r1, 8
/* 8023B45C 002383BC 4B FF F0 69 */ bl __lt__11CTeamAiRoleCFRC11CTeamAiRole
/* 8023B460 002383C0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8023B464 002383C4 40 82 FF 88 */ bne lbl_8023B3EC
lbl_8023B468:
/* 8023B468 002383C8 A0 01 00 08 */ lhz r0, 8(r1)
/* 8023B46C 002383CC 3B FF 00 28 */ addi r31, r31, 0x28
/* 8023B470 002383D0 B0 1D 00 00 */ sth r0, 0(r29)
/* 8023B474 002383D4 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8023B478 002383D8 90 1D 00 04 */ stw r0, 4(r29)
/* 8023B47C 002383DC 80 01 00 10 */ lwz r0, 0x10(r1)
/* 8023B480 002383E0 90 1D 00 08 */ stw r0, 8(r29)
/* 8023B484 002383E4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8023B488 002383E8 90 1D 00 0C */ stw r0, 0xc(r29)
/* 8023B48C 002383EC 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8023B490 002383F0 90 1D 00 10 */ stw r0, 0x10(r29)
/* 8023B494 002383F4 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8023B498 002383F8 90 1D 00 14 */ stw r0, 0x14(r29)
/* 8023B49C 002383FC 80 01 00 20 */ lwz r0, 0x20(r1)
/* 8023B4A0 00238400 90 1D 00 18 */ stw r0, 0x18(r29)
/* 8023B4A4 00238404 80 61 00 24 */ lwz r3, 0x24(r1)
/* 8023B4A8 00238408 80 01 00 28 */ lwz r0, 0x28(r1)
/* 8023B4AC 0023840C 90 7D 00 1C */ stw r3, 0x1c(r29)
/* 8023B4B0 00238410 90 1D 00 20 */ stw r0, 0x20(r29)
/* 8023B4B4 00238414 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8023B4B8 00238418 90 1D 00 24 */ stw r0, 0x24(r29)
lbl_8023B4BC:
/* 8023B4BC 0023841C 80 1B 00 00 */ lwz r0, 0(r27)
/* 8023B4C0 00238420 7C 1F 00 40 */ cmplw r31, r0
/* 8023B4C4 00238424 41 80 FE CC */ blt lbl_8023B390
/* 8023B4C8 00238428 BB 41 00 38 */ lmw r26, 0x38(r1)
/* 8023B4CC 0023842C 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8023B4D0 00238430 7C 08 03 A6 */ mtlr r0
/* 8023B4D4 00238434 38 21 00 50 */ addi r1, r1, 0x50
/* 8023B4D8 00238438 4E 80 00 20 */ blr
.section .sdata2, "a"
.balign 8
.global lbl_805AD478
lbl_805AD478:
# ROM: 0x3F9D18
.4byte 0x00000008
.global lbl_805AD47C
lbl_805AD47C:
# ROM: 0x3F9D1C
.4byte 0x40900000
.global lbl_805AD480
lbl_805AD480:
# ROM: 0x3F9D20
.float 1.5
.global lbl_805AD484
lbl_805AD484:
# ROM: 0x3F9D24
.4byte 0
.section .rodata
.balign 8
.global lbl_803D4380
lbl_803D4380:
# ROM: 0x3D1380
.asciz "??(??)"
.balign 4