prime/asm/MetroidPrime/CInGameGuiManager.s

5113 lines
248 KiB
ArmAsm

.include "macros.inc"
.section .sdata
.balign 8
.global lbl_805A7590
lbl_805A7590:
# ROM: 0x3F4F30
.float 2.0
.global lbl_805A7594
lbl_805A7594:
# ROM: 0x3F4F34
.4byte 0
.global lbl_805A7598
lbl_805A7598:
# ROM: 0x3F4F38
.float 1.0
.global lbl_805A759C
lbl_805A759C:
# ROM: 0x3F4F3C
.4byte 0
.global lbl_805A75A0
lbl_805A75A0:
# ROM: 0x3F4F40
.float 1.0
.global lbl_805A75A4
lbl_805A75A4:
# ROM: 0x3F4F44
.4byte 0
.global lbl_805A75A8
lbl_805A75A8:
# ROM: 0x3F4F48
.float 1.0
.global lbl_805A75AC
lbl_805A75AC:
# ROM: 0x3F4F4C
.4byte 0
.global lbl_805A75B0
lbl_805A75B0:
# ROM: 0x3F4F50
.float 1.0
.global lbl_805A75B4
lbl_805A75B4:
# ROM: 0x3F4F54
.4byte 0
.global lbl_805A75B8
lbl_805A75B8:
# ROM: 0x3F4F58
.float 1.0
.global lbl_805A75BC
lbl_805A75BC:
# ROM: 0x3F4F5C
.4byte 0
.global lbl_805A75C0
lbl_805A75C0:
# ROM: 0x3F4F60
.float 1.0
.4byte 0
.section .sdata2, "a"
.balign 8
.global lbl_805AB1A0
lbl_805AB1A0:
# ROM: 0x3F7A40
.float 0.5
.global lbl_805AB1A4
lbl_805AB1A4:
# ROM: 0x3F7A44
.float 6.2831855
.global lbl_805AB1A8
lbl_805AB1A8:
# ROM: 0x3F7A48
.4byte 0x3B360B61
.global lbl_805AB1AC
lbl_805AB1AC:
# ROM: 0x3F7A4C
.float 0.7
.global lbl_805AB1B0
lbl_805AB1B0:
# ROM: 0x3F7A50
.float 1.0
.global lbl_805AB1B4
lbl_805AB1B4:
# ROM: 0x3F7A54
.4byte 0
.global lbl_805AB1B8
lbl_805AB1B8:
# ROM: 0x3F7A58
.float 1.1920929E-7
.global lbl_805AB1BC
lbl_805AB1BC:
# ROM: 0x3F7A5C
.float 255.0
.global lbl_805AB1C0
lbl_805AB1C0:
# ROM: 0x3F7A60
.float 0.3
.global lbl_805AB1C4
lbl_805AB1C4:
# ROM: 0x3F7A64
.4byte 0x3C800000
.global lbl_805AB1C8
lbl_805AB1C8:
# ROM: 0x3F7A68
.4byte 0x3D000000
.global lbl_805AB1CC
lbl_805AB1CC:
# ROM: 0x3F7A6C
.4byte 0x3B000000
.global lbl_805AB1D0
lbl_805AB1D0:
# ROM: 0x3F7A70
.float 0.02
.global lbl_805AB1D4
lbl_805AB1D4:
# ROM: 0x3F7A74
.4byte 0x41400000
.global lbl_805AB1D8
lbl_805AB1D8:
# ROM: 0x3F7A78
.double 4.503601774854144E15
.section .text, "ax"
.global TryReloadAreaTextures__17CInGameGuiManagerFv
TryReloadAreaTextures__17CInGameGuiManagerFv:
/* 80106B2C 00103A8C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80106B30 00103A90 7C 08 02 A6 */ mflr r0
/* 80106B34 00103A94 90 01 00 24 */ stw r0, 0x24(r1)
/* 80106B38 00103A98 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80106B3C 00103A9C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80106B40 00103AA0 3B C0 00 01 */ li r30, 1
/* 80106B44 00103AA4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80106B48 00103AA8 7C 7D 1B 78 */ mr r29, r3
/* 80106B4C 00103AAC 83 E3 01 30 */ lwz r31, 0x130(r3)
/* 80106B50 00103AB0 48 00 00 3C */ b lbl_80106B8C
lbl_80106B54:
/* 80106B54 00103AB4 38 7F 00 0C */ addi r3, r31, 0xc
/* 80106B58 00103AB8 48 23 A2 B5 */ bl GetObj__6CTokenFv
/* 80106B5C 00103ABC 80 63 00 04 */ lwz r3, 4(r3)
/* 80106B60 00103AC0 80 8D A0 60 */ lwz r4, gpResourceFactory@sda21(r13)
/* 80106B64 00103AC4 48 20 85 A1 */ bl TryReloadBitmapData__8CTextureCFR11CResFactory
/* 80106B68 00103AC8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80106B6C 00103ACC 41 82 00 18 */ beq lbl_80106B84
/* 80106B70 00103AD0 7F E4 FB 78 */ mr r4, r31
/* 80106B74 00103AD4 38 7D 01 2C */ addi r3, r29, 0x12c
/* 80106B78 00103AD8 48 00 3E 9D */ bl sub_8010aa14
/* 80106B7C 00103ADC 7C 7F 1B 78 */ mr r31, r3
/* 80106B80 00103AE0 48 00 00 0C */ b lbl_80106B8C
lbl_80106B84:
/* 80106B84 00103AE4 3B C0 00 00 */ li r30, 0
/* 80106B88 00103AE8 83 FF 00 04 */ lwz r31, 4(r31)
lbl_80106B8C:
/* 80106B8C 00103AEC 80 1D 01 34 */ lwz r0, 0x134(r29)
/* 80106B90 00103AF0 7C 1F 00 40 */ cmplw r31, r0
/* 80106B94 00103AF4 40 82 FF C0 */ bne lbl_80106B54
/* 80106B98 00103AF8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80106B9C 00103AFC 57 C3 06 3E */ clrlwi r3, r30, 0x18
/* 80106BA0 00103B00 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80106BA4 00103B04 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80106BA8 00103B08 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80106BAC 00103B0C 7C 08 03 A6 */ mtlr r0
/* 80106BB0 00103B10 38 21 00 20 */ addi r1, r1, 0x20
/* 80106BB4 00103B14 4E 80 00 20 */ blr
.global DestroyAreaTextures__17CInGameGuiManagerFRC13CStateManager
DestroyAreaTextures__17CInGameGuiManagerFRC13CStateManager:
/* 80106BB8 00103B18 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 80106BBC 00103B1C 7C 08 02 A6 */ mflr r0
/* 80106BC0 00103B20 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 80106BC4 00103B24 38 00 00 00 */ li r0, 0
/* 80106BC8 00103B28 BE A1 00 B4 */ stmw r21, 0xb4(r1)
/* 80106BCC 00103B2C 7C 7F 1B 78 */ mr r31, r3
/* 80106BD0 00103B30 7C 95 23 78 */ mr r21, r4
/* 80106BD4 00103B34 38 61 00 A0 */ addi r3, r1, 0xa0
/* 80106BD8 00103B38 38 80 00 40 */ li r4, 0x40
/* 80106BDC 00103B3C 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 80106BE0 00103B40 90 01 00 A8 */ stw r0, 0xa8(r1)
/* 80106BE4 00103B44 90 01 00 AC */ stw r0, 0xac(r1)
/* 80106BE8 00103B48 48 00 3D 1D */ bl "reserve__Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>Fi"
/* 80106BEC 00103B4C 83 D5 08 50 */ lwz r30, 0x850(r21)
/* 80106BF0 00103B50 3B 01 00 98 */ addi r24, r1, 0x98
/* 80106BF4 00103B54 3A E0 FF FF */ li r23, -1
/* 80106BF8 00103B58 3B 20 FF FE */ li r25, -2
/* 80106BFC 00103B5C 80 BE 00 68 */ lwz r5, 0x68(r30)
/* 80106C00 00103B60 80 9E 00 20 */ lwz r4, 0x20(r30)
/* 80106C04 00103B64 54 A3 18 38 */ slwi r3, r5, 3
/* 80106C08 00103B68 90 A1 00 3C */ stw r5, 0x3c(r1)
/* 80106C0C 00103B6C 38 03 00 04 */ addi r0, r3, 4
/* 80106C10 00103B70 90 A1 00 40 */ stw r5, 0x40(r1)
/* 80106C14 00103B74 7F A4 00 2E */ lwzx r29, r4, r0
/* 80106C18 00103B78 48 00 02 0C */ b lbl_80106E24
lbl_80106C1C:
/* 80106C1C 00103B7C 80 61 00 A4 */ lwz r3, 0xa4(r1)
/* 80106C20 00103B80 80 01 00 A8 */ lwz r0, 0xa8(r1)
/* 80106C24 00103B84 7C 03 00 00 */ cmpw r3, r0
/* 80106C28 00103B88 41 82 02 08 */ beq lbl_80106E30
/* 80106C2C 00103B8C 2C 17 FF FF */ cmpwi r23, -1
/* 80106C30 00103B90 40 82 00 14 */ bne lbl_80106C44
/* 80106C34 00103B94 80 1D 00 04 */ lwz r0, 4(r29)
/* 80106C38 00103B98 38 81 00 38 */ addi r4, r1, 0x38
/* 80106C3C 00103B9C 90 01 00 38 */ stw r0, 0x38(r1)
/* 80106C40 00103BA0 48 00 00 14 */ b lbl_80106C54
lbl_80106C44:
/* 80106C44 00103BA4 80 7D 00 98 */ lwz r3, 0x98(r29)
/* 80106C48 00103BA8 38 81 00 34 */ addi r4, r1, 0x34
/* 80106C4C 00103BAC 7C 03 CA 2E */ lhzx r0, r3, r25
/* 80106C50 00103BB0 90 01 00 34 */ stw r0, 0x34(r1)
lbl_80106C54:
/* 80106C54 00103BB4 80 A4 00 00 */ lwz r5, 0(r4)
/* 80106C58 00103BB8 80 DE 00 20 */ lwz r6, 0x20(r30)
/* 80106C5C 00103BBC 54 A4 18 38 */ slwi r4, r5, 3
/* 80106C60 00103BC0 90 A1 00 44 */ stw r5, 0x44(r1)
/* 80106C64 00103BC4 7C 66 22 14 */ add r3, r6, r4
/* 80106C68 00103BC8 80 63 00 04 */ lwz r3, 4(r3)
/* 80106C6C 00103BCC 90 A1 00 30 */ stw r5, 0x30(r1)
/* 80106C70 00103BD0 88 03 00 F0 */ lbz r0, 0xf0(r3)
/* 80106C74 00103BD4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f
/* 80106C78 00103BD8 41 82 01 A4 */ beq lbl_80106E1C
/* 80106C7C 00103BDC 38 04 00 04 */ addi r0, r4, 4
/* 80106C80 00103BE0 90 A1 00 2C */ stw r5, 0x2c(r1)
/* 80106C84 00103BE4 7F 86 00 2E */ lwzx r28, r6, r0
/* 80106C88 00103BE8 3A C0 00 00 */ li r22, 0
/* 80106C8C 00103BEC 3B 40 00 00 */ li r26, 0
/* 80106C90 00103BF0 48 00 01 80 */ b lbl_80106E10
lbl_80106C94:
/* 80106C94 00103BF4 80 1C 00 B8 */ lwz r0, 0xb8(r28)
/* 80106C98 00103BF8 7F E3 FB 78 */ mr r3, r31
/* 80106C9C 00103BFC 7F 60 D2 14 */ add r27, r0, r26
/* 80106CA0 00103C00 80 9B 00 00 */ lwz r4, 0(r27)
/* 80106CA4 00103C04 48 00 06 B1 */ bl sub_80107354
/* 80106CA8 00103C08 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80106CAC 00103C0C 40 82 01 5C */ bne lbl_80106E08
/* 80106CB0 00103C10 80 DB 00 04 */ lwz r6, 4(r27)
/* 80106CB4 00103C14 3C 06 AB A8 */ addis r0, r6, 0xaba8
/* 80106CB8 00103C18 28 00 54 52 */ cmplwi r0, 0x5452
/* 80106CBC 00103C1C 40 82 01 4C */ bne lbl_80106E08
/* 80106CC0 00103C20 80 1B 00 00 */ lwz r0, 0(r27)
/* 80106CC4 00103C24 38 61 00 58 */ addi r3, r1, 0x58
/* 80106CC8 00103C28 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80106CCC 00103C2C 38 A1 00 60 */ addi r5, r1, 0x60
/* 80106CD0 00103C30 90 C1 00 60 */ stw r6, 0x60(r1)
/* 80106CD4 00103C34 90 01 00 64 */ stw r0, 0x64(r1)
/* 80106CD8 00103C38 81 84 00 00 */ lwz r12, 0(r4)
/* 80106CDC 00103C3C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80106CE0 00103C40 7D 89 03 A6 */ mtctr r12
/* 80106CE4 00103C44 4E 80 04 21 */ bctrl
/* 80106CE8 00103C48 38 61 00 70 */ addi r3, r1, 0x70
/* 80106CEC 00103C4C 38 81 00 58 */ addi r4, r1, 0x58
/* 80106CF0 00103C50 48 23 A1 B9 */ bl __ct__6CTokenFRC6CToken
/* 80106CF4 00103C54 38 61 00 58 */ addi r3, r1, 0x58
/* 80106CF8 00103C58 38 80 FF FF */ li r4, -1
/* 80106CFC 00103C5C 48 23 A1 45 */ bl __dt__6CTokenFv
/* 80106D00 00103C60 80 61 00 70 */ lwz r3, 0x70(r1)
/* 80106D04 00103C64 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80106D08 00103C68 28 00 00 00 */ cmplwi r0, 0
/* 80106D0C 00103C6C 41 82 00 F0 */ beq lbl_80106DFC
/* 80106D10 00103C70 38 61 00 70 */ addi r3, r1, 0x70
/* 80106D14 00103C74 48 23 A0 F9 */ bl GetObj__6CTokenFv
/* 80106D18 00103C78 82 A3 00 04 */ lwz r21, 4(r3)
/* 80106D1C 00103C7C 88 15 00 08 */ lbz r0, 8(r21)
/* 80106D20 00103C80 7C 00 07 74 */ extsb r0, r0
/* 80106D24 00103C84 2C 00 00 02 */ cmpwi r0, 2
/* 80106D28 00103C88 40 80 00 D4 */ bge lbl_80106DFC
/* 80106D2C 00103C8C 80 15 00 00 */ lwz r0, 0(r21)
/* 80106D30 00103C90 2C 00 00 04 */ cmpwi r0, 4
/* 80106D34 00103C94 41 82 00 C8 */ beq lbl_80106DFC
/* 80106D38 00103C98 7E A3 AB 78 */ mr r3, r21
/* 80106D3C 00103C9C 48 20 83 4D */ bl sub_8030f088
/* 80106D40 00103CA0 2C 03 00 00 */ cmpwi r3, 0
/* 80106D44 00103CA4 40 82 00 B8 */ bne lbl_80106DFC
/* 80106D48 00103CA8 80 B5 00 0C */ lwz r5, 0xc(r21)
/* 80106D4C 00103CAC 7F 03 C3 78 */ mr r3, r24
/* 80106D50 00103CB0 80 1B 00 00 */ lwz r0, 0(r27)
/* 80106D54 00103CB4 38 81 00 70 */ addi r4, r1, 0x70
/* 80106D58 00103CB8 90 01 00 90 */ stw r0, 0x90(r1)
/* 80106D5C 00103CBC 90 A1 00 94 */ stw r5, 0x94(r1)
/* 80106D60 00103CC0 48 23 A1 49 */ bl __ct__6CTokenFRC6CToken
/* 80106D64 00103CC4 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 80106D68 00103CC8 80 A1 00 A8 */ lwz r5, 0xa8(r1)
/* 80106D6C 00103CCC 7C 00 28 00 */ cmpw r0, r5
/* 80106D70 00103CD0 41 80 00 1C */ blt lbl_80106D8C
/* 80106D74 00103CD4 2C 05 00 00 */ cmpwi r5, 0
/* 80106D78 00103CD8 38 61 00 A0 */ addi r3, r1, 0xa0
/* 80106D7C 00103CDC 38 80 00 04 */ li r4, 4
/* 80106D80 00103CE0 41 82 00 08 */ beq lbl_80106D88
/* 80106D84 00103CE4 54 A4 08 3C */ slwi r4, r5, 1
lbl_80106D88:
/* 80106D88 00103CE8 48 00 3B 7D */ bl "reserve__Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>Fi"
lbl_80106D8C:
/* 80106D8C 00103CEC 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 80106D90 00103CF0 80 61 00 AC */ lwz r3, 0xac(r1)
/* 80106D94 00103CF4 54 00 20 36 */ slwi r0, r0, 4
/* 80106D98 00103CF8 7C A3 02 15 */ add. r5, r3, r0
/* 80106D9C 00103CFC 41 82 00 20 */ beq lbl_80106DBC
/* 80106DA0 00103D00 80 01 00 90 */ lwz r0, 0x90(r1)
/* 80106DA4 00103D04 7F 04 C3 78 */ mr r4, r24
/* 80106DA8 00103D08 38 65 00 08 */ addi r3, r5, 8
/* 80106DAC 00103D0C 90 05 00 00 */ stw r0, 0(r5)
/* 80106DB0 00103D10 80 01 00 94 */ lwz r0, 0x94(r1)
/* 80106DB4 00103D14 90 05 00 04 */ stw r0, 4(r5)
/* 80106DB8 00103D18 48 23 A0 F1 */ bl __ct__6CTokenFRC6CToken
lbl_80106DBC:
/* 80106DBC 00103D1C 80 61 00 A4 */ lwz r3, 0xa4(r1)
/* 80106DC0 00103D20 28 18 00 00 */ cmplwi r24, 0
/* 80106DC4 00103D24 38 03 00 01 */ addi r0, r3, 1
/* 80106DC8 00103D28 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 80106DCC 00103D2C 41 82 00 10 */ beq lbl_80106DDC
/* 80106DD0 00103D30 7F 03 C3 78 */ mr r3, r24
/* 80106DD4 00103D34 38 80 00 00 */ li r4, 0
/* 80106DD8 00103D38 48 23 A0 69 */ bl __dt__6CTokenFv
lbl_80106DDC:
/* 80106DDC 00103D3C 80 61 00 A4 */ lwz r3, 0xa4(r1)
/* 80106DE0 00103D40 80 01 00 A8 */ lwz r0, 0xa8(r1)
/* 80106DE4 00103D44 7C 03 00 00 */ cmpw r3, r0
/* 80106DE8 00103D48 40 82 00 14 */ bne lbl_80106DFC
/* 80106DEC 00103D4C 38 61 00 70 */ addi r3, r1, 0x70
/* 80106DF0 00103D50 38 80 00 00 */ li r4, 0
/* 80106DF4 00103D54 48 23 A0 4D */ bl __dt__6CTokenFv
/* 80106DF8 00103D58 48 00 00 24 */ b lbl_80106E1C
lbl_80106DFC:
/* 80106DFC 00103D5C 38 61 00 70 */ addi r3, r1, 0x70
/* 80106E00 00103D60 38 80 00 00 */ li r4, 0
/* 80106E04 00103D64 48 23 A0 3D */ bl __dt__6CTokenFv
lbl_80106E08:
/* 80106E08 00103D68 3B 5A 00 08 */ addi r26, r26, 8
/* 80106E0C 00103D6C 3A D6 00 01 */ addi r22, r22, 1
lbl_80106E10:
/* 80106E10 00103D70 80 1C 00 E0 */ lwz r0, 0xe0(r28)
/* 80106E14 00103D74 7C 16 00 00 */ cmpw r22, r0
/* 80106E18 00103D78 41 80 FE 7C */ blt lbl_80106C94
lbl_80106E1C:
/* 80106E1C 00103D7C 3B 39 00 02 */ addi r25, r25, 2
/* 80106E20 00103D80 3A F7 00 01 */ addi r23, r23, 1
lbl_80106E24:
/* 80106E24 00103D84 80 1D 00 90 */ lwz r0, 0x90(r29)
/* 80106E28 00103D88 7C 17 00 00 */ cmpw r23, r0
/* 80106E2C 00103D8C 41 80 FD F0 */ blt lbl_80106C1C
lbl_80106E30:
/* 80106E30 00103D90 83 9F 00 E4 */ lwz r28, 0xe4(r31)
/* 80106E34 00103D94 3B 01 00 88 */ addi r24, r1, 0x88
/* 80106E38 00103D98 3A C0 00 00 */ li r22, 0
/* 80106E3C 00103D9C 48 00 01 74 */ b lbl_80106FB0
lbl_80106E40:
/* 80106E40 00103DA0 82 FC 00 00 */ lwz r23, 0(r28)
/* 80106E44 00103DA4 7F E3 FB 78 */ mr r3, r31
/* 80106E48 00103DA8 7E E4 BB 78 */ mr r4, r23
/* 80106E4C 00103DAC 48 00 05 09 */ bl sub_80107354
/* 80106E50 00103DB0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80106E54 00103DB4 40 82 01 58 */ bne lbl_80106FAC
/* 80106E58 00103DB8 3C 60 54 58 */ lis r3, 0x54585452@ha
/* 80106E5C 00103DBC 92 E1 00 54 */ stw r23, 0x54(r1)
/* 80106E60 00103DC0 38 03 54 52 */ addi r0, r3, 0x54585452@l
/* 80106E64 00103DC4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80106E68 00103DC8 90 01 00 50 */ stw r0, 0x50(r1)
/* 80106E6C 00103DCC 38 61 00 48 */ addi r3, r1, 0x48
/* 80106E70 00103DD0 38 A1 00 50 */ addi r5, r1, 0x50
/* 80106E74 00103DD4 81 84 00 00 */ lwz r12, 0(r4)
/* 80106E78 00103DD8 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80106E7C 00103DDC 7D 89 03 A6 */ mtctr r12
/* 80106E80 00103DE0 4E 80 04 21 */ bctrl
/* 80106E84 00103DE4 38 61 00 68 */ addi r3, r1, 0x68
/* 80106E88 00103DE8 38 81 00 48 */ addi r4, r1, 0x48
/* 80106E8C 00103DEC 48 23 A0 1D */ bl __ct__6CTokenFRC6CToken
/* 80106E90 00103DF0 38 61 00 48 */ addi r3, r1, 0x48
/* 80106E94 00103DF4 38 80 FF FF */ li r4, -1
/* 80106E98 00103DF8 48 23 9F A9 */ bl __dt__6CTokenFv
/* 80106E9C 00103DFC 80 61 00 68 */ lwz r3, 0x68(r1)
/* 80106EA0 00103E00 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80106EA4 00103E04 28 00 00 00 */ cmplwi r0, 0
/* 80106EA8 00103E08 41 82 00 F8 */ beq lbl_80106FA0
/* 80106EAC 00103E0C 3C 00 00 10 */ lis r0, 0x10
/* 80106EB0 00103E10 7C 16 00 00 */ cmpw r22, r0
/* 80106EB4 00103E14 41 80 00 14 */ blt lbl_80106EC8
/* 80106EB8 00103E18 38 61 00 68 */ addi r3, r1, 0x68
/* 80106EBC 00103E1C 38 80 00 00 */ li r4, 0
/* 80106EC0 00103E20 48 23 9F 81 */ bl __dt__6CTokenFv
/* 80106EC4 00103E24 48 00 01 04 */ b lbl_80106FC8
lbl_80106EC8:
/* 80106EC8 00103E28 38 61 00 68 */ addi r3, r1, 0x68
/* 80106ECC 00103E2C 48 23 9F 41 */ bl GetObj__6CTokenFv
/* 80106ED0 00103E30 83 63 00 04 */ lwz r27, 4(r3)
/* 80106ED4 00103E34 80 1B 00 00 */ lwz r0, 0(r27)
/* 80106ED8 00103E38 2C 00 00 04 */ cmpwi r0, 4
/* 80106EDC 00103E3C 41 82 00 C4 */ beq lbl_80106FA0
/* 80106EE0 00103E40 7F 63 DB 78 */ mr r3, r27
/* 80106EE4 00103E44 48 20 81 A5 */ bl sub_8030f088
/* 80106EE8 00103E48 2C 03 00 00 */ cmpwi r3, 0
/* 80106EEC 00103E4C 40 82 00 B4 */ bne lbl_80106FA0
/* 80106EF0 00103E50 83 3B 00 0C */ lwz r25, 0xc(r27)
/* 80106EF4 00103E54 7F 03 C3 78 */ mr r3, r24
/* 80106EF8 00103E58 38 81 00 68 */ addi r4, r1, 0x68
/* 80106EFC 00103E5C 92 E1 00 84 */ stw r23, 0x84(r1)
/* 80106F00 00103E60 48 23 9F A9 */ bl __ct__6CTokenFRC6CToken
/* 80106F04 00103E64 83 BF 01 34 */ lwz r29, 0x134(r31)
/* 80106F08 00103E68 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha
/* 80106F0C 00103E6C 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l
/* 80106F10 00103E70 38 60 00 14 */ li r3, 0x14
/* 80106F14 00103E74 83 DD 00 00 */ lwz r30, 0(r29)
/* 80106F18 00103E78 38 84 02 AC */ addi r4, r4, 0x2ac
/* 80106F1C 00103E7C 38 A0 00 00 */ li r5, 0
/* 80106F20 00103E80 48 20 E8 F9 */ bl __nwa__FUlPCcPCc
/* 80106F24 00103E84 7C 7A 1B 79 */ or. r26, r3, r3
/* 80106F28 00103E88 41 82 00 0C */ beq lbl_80106F34
/* 80106F2C 00103E8C 93 DA 00 00 */ stw r30, 0(r26)
/* 80106F30 00103E90 93 BA 00 04 */ stw r29, 4(r26)
lbl_80106F34:
/* 80106F34 00103E94 34 BA 00 08 */ addic. r5, r26, 8
/* 80106F38 00103E98 41 82 00 18 */ beq lbl_80106F50
/* 80106F3C 00103E9C 80 01 00 84 */ lwz r0, 0x84(r1)
/* 80106F40 00103EA0 7F 04 C3 78 */ mr r4, r24
/* 80106F44 00103EA4 38 65 00 04 */ addi r3, r5, 4
/* 80106F48 00103EA8 90 05 00 00 */ stw r0, 0(r5)
/* 80106F4C 00103EAC 48 23 9F 5D */ bl __ct__6CTokenFRC6CToken
lbl_80106F50:
/* 80106F50 00103EB0 80 1F 01 30 */ lwz r0, 0x130(r31)
/* 80106F54 00103EB4 7C 1D 00 40 */ cmplw r29, r0
/* 80106F58 00103EB8 40 82 00 08 */ bne lbl_80106F60
/* 80106F5C 00103EBC 93 5F 01 30 */ stw r26, 0x130(r31)
lbl_80106F60:
/* 80106F60 00103EC0 80 7A 00 00 */ lwz r3, 0(r26)
/* 80106F64 00103EC4 28 18 00 00 */ cmplwi r24, 0
/* 80106F68 00103EC8 93 43 00 04 */ stw r26, 4(r3)
/* 80106F6C 00103ECC 80 7A 00 04 */ lwz r3, 4(r26)
/* 80106F70 00103ED0 93 43 00 00 */ stw r26, 0(r3)
/* 80106F74 00103ED4 80 7F 01 40 */ lwz r3, 0x140(r31)
/* 80106F78 00103ED8 38 03 00 01 */ addi r0, r3, 1
/* 80106F7C 00103EDC 90 1F 01 40 */ stw r0, 0x140(r31)
/* 80106F80 00103EE0 41 82 00 10 */ beq lbl_80106F90
/* 80106F84 00103EE4 7F 03 C3 78 */ mr r3, r24
/* 80106F88 00103EE8 38 80 00 00 */ li r4, 0
/* 80106F8C 00103EEC 48 23 9E B5 */ bl __dt__6CTokenFv
lbl_80106F90:
/* 80106F90 00103EF0 7F 63 DB 78 */ mr r3, r27
/* 80106F94 00103EF4 7E E4 BB 78 */ mr r4, r23
/* 80106F98 00103EF8 48 20 82 6D */ bl UnloadBitmapData__8CTextureCFUi
/* 80106F9C 00103EFC 7E D6 CA 14 */ add r22, r22, r25
lbl_80106FA0:
/* 80106FA0 00103F00 38 61 00 68 */ addi r3, r1, 0x68
/* 80106FA4 00103F04 38 80 00 00 */ li r4, 0
/* 80106FA8 00103F08 48 23 9E 99 */ bl __dt__6CTokenFv
lbl_80106FAC:
/* 80106FAC 00103F0C 3B 9C 00 04 */ addi r28, r28, 4
lbl_80106FB0:
/* 80106FB0 00103F10 80 1F 00 DC */ lwz r0, 0xdc(r31)
/* 80106FB4 00103F14 80 7F 00 E4 */ lwz r3, 0xe4(r31)
/* 80106FB8 00103F18 54 00 10 3A */ slwi r0, r0, 2
/* 80106FBC 00103F1C 7C 03 02 14 */ add r0, r3, r0
/* 80106FC0 00103F20 7C 1C 00 40 */ cmplw r28, r0
/* 80106FC4 00103F24 40 82 FE 7C */ bne lbl_80106E40
lbl_80106FC8:
/* 80106FC8 00103F28 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 80106FCC 00103F2C 38 61 00 28 */ addi r3, r1, 0x28
/* 80106FD0 00103F30 80 E1 00 AC */ lwz r7, 0xac(r1)
/* 80106FD4 00103F34 38 81 00 20 */ addi r4, r1, 0x20
/* 80106FD8 00103F38 54 00 20 36 */ slwi r0, r0, 4
/* 80106FDC 00103F3C 88 C1 00 14 */ lbz r6, 0x14(r1)
/* 80106FE0 00103F40 7C 07 02 14 */ add r0, r7, r0
/* 80106FE4 00103F44 90 E1 00 24 */ stw r7, 0x24(r1)
/* 80106FE8 00103F48 38 A1 00 18 */ addi r5, r1, 0x18
/* 80106FEC 00103F4C 98 C1 00 18 */ stb r6, 0x18(r1)
/* 80106FF0 00103F50 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80106FF4 00103F54 90 01 00 20 */ stw r0, 0x20(r1)
/* 80106FF8 00103F58 90 E1 00 28 */ stw r7, 0x28(r1)
/* 80106FFC 00103F5C 48 00 35 D1 */ bl "sort<Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterThan"
/* 80107000 00103F60 48 26 5C FD */ bl sub_8036ccfc
/* 80107004 00103F64 3C 60 80 00 */ lis r3, 0x7FFFFFFF@ha
/* 80107008 00103F68 83 81 00 AC */ lwz r28, 0xac(r1)
/* 8010700C 00103F6C 38 03 FF FF */ addi r0, r3, 0x7FFFFFFF@l
/* 80107010 00103F70 3B 01 00 7C */ addi r24, r1, 0x7c
/* 80107014 00103F74 90 0D A8 70 */ stw r0, sCurrentFrameCount__8CTexture@sda21(r13)
/* 80107018 00103F78 3F C0 00 10 */ lis r30, 0x10
/* 8010701C 00103F7C 48 00 01 20 */ b lbl_8010713C
lbl_80107020:
/* 80107020 00103F80 7C 16 F0 00 */ cmpw r22, r30
/* 80107024 00103F84 40 80 01 30 */ bge lbl_80107154
/* 80107028 00103F88 3A BC 00 08 */ addi r21, r28, 8
/* 8010702C 00103F8C 7E A3 AB 78 */ mr r3, r21
/* 80107030 00103F90 48 23 9D DD */ bl GetObj__6CTokenFv
/* 80107034 00103F94 83 63 00 04 */ lwz r27, 4(r3)
/* 80107038 00103F98 3A E0 00 00 */ li r23, 0
/* 8010703C 00103F9C 88 1B 00 0A */ lbz r0, 0xa(r27)
/* 80107040 00103FA0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f
/* 80107044 00103FA4 40 82 00 38 */ bne lbl_8010707C
/* 80107048 00103FA8 7F 63 DB 78 */ mr r3, r27
/* 8010704C 00103FAC 48 20 7B 35 */ bl LoadToARAM__8CTextureCFv
/* 80107050 00103FB0 7F 63 DB 78 */ mr r3, r27
/* 80107054 00103FB4 48 20 7A F9 */ bl IsARAMTransferInProgress__8CTextureCFv
/* 80107058 00103FB8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8010705C 00103FBC 41 82 00 20 */ beq lbl_8010707C
/* 80107060 00103FC0 48 00 00 08 */ b lbl_80107068
lbl_80107064:
/* 80107064 00103FC4 48 25 14 D5 */ bl UpdateAllDMAs__10CARAMTokenFv
lbl_80107068:
/* 80107068 00103FC8 7F 63 DB 78 */ mr r3, r27
/* 8010706C 00103FCC 48 20 7A E1 */ bl IsARAMTransferInProgress__8CTextureCFv
/* 80107070 00103FD0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80107074 00103FD4 40 82 FF F0 */ bne lbl_80107064
/* 80107078 00103FD8 3A E0 00 01 */ li r23, 1
lbl_8010707C:
/* 8010707C 00103FDC 56 E0 06 3F */ clrlwi. r0, r23, 0x18
/* 80107080 00103FE0 40 82 00 B0 */ bne lbl_80107130
/* 80107084 00103FE4 80 9C 00 00 */ lwz r4, 0(r28)
/* 80107088 00103FE8 7F 63 DB 78 */ mr r3, r27
/* 8010708C 00103FEC 48 20 81 79 */ bl UnloadBitmapData__8CTextureCFUi
/* 80107090 00103FF0 80 1C 00 00 */ lwz r0, 0(r28)
/* 80107094 00103FF4 7F 03 C3 78 */ mr r3, r24
/* 80107098 00103FF8 7E A4 AB 78 */ mr r4, r21
/* 8010709C 00103FFC 90 01 00 78 */ stw r0, 0x78(r1)
/* 801070A0 00104000 48 23 9E 09 */ bl __ct__6CTokenFRC6CToken
/* 801070A4 00104004 83 3F 01 34 */ lwz r25, 0x134(r31)
/* 801070A8 00104008 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha
/* 801070AC 0010400C 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l
/* 801070B0 00104010 38 60 00 14 */ li r3, 0x14
/* 801070B4 00104014 83 59 00 00 */ lwz r26, 0(r25)
/* 801070B8 00104018 38 84 02 AC */ addi r4, r4, 0x2ac
/* 801070BC 0010401C 38 A0 00 00 */ li r5, 0
/* 801070C0 00104020 48 20 E7 59 */ bl __nwa__FUlPCcPCc
/* 801070C4 00104024 7C 77 1B 79 */ or. r23, r3, r3
/* 801070C8 00104028 41 82 00 0C */ beq lbl_801070D4
/* 801070CC 0010402C 93 57 00 00 */ stw r26, 0(r23)
/* 801070D0 00104030 93 37 00 04 */ stw r25, 4(r23)
lbl_801070D4:
/* 801070D4 00104034 34 B7 00 08 */ addic. r5, r23, 8
/* 801070D8 00104038 41 82 00 18 */ beq lbl_801070F0
/* 801070DC 0010403C 80 01 00 78 */ lwz r0, 0x78(r1)
/* 801070E0 00104040 7F 04 C3 78 */ mr r4, r24
/* 801070E4 00104044 38 65 00 04 */ addi r3, r5, 4
/* 801070E8 00104048 90 05 00 00 */ stw r0, 0(r5)
/* 801070EC 0010404C 48 23 9D BD */ bl __ct__6CTokenFRC6CToken
lbl_801070F0:
/* 801070F0 00104050 80 1F 01 30 */ lwz r0, 0x130(r31)
/* 801070F4 00104054 7C 19 00 40 */ cmplw r25, r0
/* 801070F8 00104058 40 82 00 08 */ bne lbl_80107100
/* 801070FC 0010405C 92 FF 01 30 */ stw r23, 0x130(r31)
lbl_80107100:
/* 80107100 00104060 80 77 00 00 */ lwz r3, 0(r23)
/* 80107104 00104064 28 18 00 00 */ cmplwi r24, 0
/* 80107108 00104068 92 E3 00 04 */ stw r23, 4(r3)
/* 8010710C 0010406C 80 77 00 04 */ lwz r3, 4(r23)
/* 80107110 00104070 92 E3 00 00 */ stw r23, 0(r3)
/* 80107114 00104074 80 7F 01 40 */ lwz r3, 0x140(r31)
/* 80107118 00104078 38 03 00 01 */ addi r0, r3, 1
/* 8010711C 0010407C 90 1F 01 40 */ stw r0, 0x140(r31)
/* 80107120 00104080 41 82 00 10 */ beq lbl_80107130
/* 80107124 00104084 7F 03 C3 78 */ mr r3, r24
/* 80107128 00104088 38 80 00 00 */ li r4, 0
/* 8010712C 0010408C 48 23 9D 15 */ bl __dt__6CTokenFv
lbl_80107130:
/* 80107130 00104090 80 1B 00 0C */ lwz r0, 0xc(r27)
/* 80107134 00104094 3B 9C 00 10 */ addi r28, r28, 0x10
/* 80107138 00104098 7E D6 02 14 */ add r22, r22, r0
lbl_8010713C:
/* 8010713C 0010409C 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 80107140 001040A0 80 61 00 AC */ lwz r3, 0xac(r1)
/* 80107144 001040A4 54 00 20 36 */ slwi r0, r0, 4
/* 80107148 001040A8 7C 03 02 14 */ add r0, r3, r0
/* 8010714C 001040AC 7C 1C 00 40 */ cmplw r28, r0
/* 80107150 001040B0 40 82 FE D0 */ bne lbl_80107020
lbl_80107154:
/* 80107154 001040B4 88 01 00 08 */ lbz r0, 8(r1)
/* 80107158 001040B8 38 60 00 00 */ li r3, 0
/* 8010715C 001040BC 90 6D A8 70 */ stw r3, sCurrentFrameCount__8CTexture@sda21(r13)
/* 80107160 001040C0 38 7F 01 2C */ addi r3, r31, 0x12c
/* 80107164 001040C4 38 81 00 10 */ addi r4, r1, 0x10
/* 80107168 001040C8 98 01 00 0C */ stb r0, 0xc(r1)
/* 8010716C 001040CC 98 01 00 10 */ stb r0, 0x10(r1)
/* 80107170 001040D0 48 00 00 29 */ bl sub_80107198
/* 80107174 001040D4 48 24 E2 0D */ bl DisableTextureTimeout__6CModelFv
/* 80107178 001040D8 38 61 00 A0 */ addi r3, r1, 0xa0
/* 8010717C 001040DC 38 80 FF FF */ li r4, -1
/* 80107180 001040E0 48 00 01 1D */ bl sub_8010729c
/* 80107184 001040E4 BA A1 00 B4 */ lmw r21, 0xb4(r1)
/* 80107188 001040E8 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 8010718C 001040EC 7C 08 03 A6 */ mtlr r0
/* 80107190 001040F0 38 21 00 E0 */ addi r1, r1, 0xe0
/* 80107194 001040F4 4E 80 00 20 */ blr
.global sub_80107198
sub_80107198:
/* 80107198 001040F8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8010719C 001040FC 7C 08 02 A6 */ mflr r0
/* 801071A0 00104100 90 01 00 14 */ stw r0, 0x14(r1)
/* 801071A4 00104104 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801071A8 00104108 93 C1 00 08 */ stw r30, 8(r1)
/* 801071AC 0010410C 7C 7E 1B 78 */ mr r30, r3
/* 801071B0 00104110 80 83 00 04 */ lwz r4, 4(r3)
/* 801071B4 00104114 48 00 00 40 */ b lbl_801071F4
lbl_801071B8:
/* 801071B8 00104118 83 E4 00 04 */ lwz r31, 4(r4)
/* 801071BC 0010411C 7C 85 23 78 */ mr r5, r4
/* 801071C0 00104120 7F E7 FB 78 */ mr r7, r31
/* 801071C4 00104124 48 00 00 1C */ b lbl_801071E0
lbl_801071C8:
/* 801071C8 00104128 80 65 00 08 */ lwz r3, 8(r5)
/* 801071CC 0010412C 80 07 00 08 */ lwz r0, 8(r7)
/* 801071D0 00104130 7C 03 00 40 */ cmplw r3, r0
/* 801071D4 00104134 40 80 00 08 */ bge lbl_801071DC
/* 801071D8 00104138 7C E5 3B 78 */ mr r5, r7
lbl_801071DC:
/* 801071DC 0010413C 80 E7 00 04 */ lwz r7, 4(r7)
lbl_801071E0:
/* 801071E0 00104140 7C 07 30 40 */ cmplw r7, r6
/* 801071E4 00104144 40 82 FF E4 */ bne lbl_801071C8
/* 801071E8 00104148 7F C3 F3 78 */ mr r3, r30
/* 801071EC 0010414C 48 00 00 2D */ bl sub_80107218
/* 801071F0 00104150 7F E4 FB 78 */ mr r4, r31
lbl_801071F4:
/* 801071F4 00104154 80 DE 00 08 */ lwz r6, 8(r30)
/* 801071F8 00104158 7C 04 30 40 */ cmplw r4, r6
/* 801071FC 0010415C 40 82 FF BC */ bne lbl_801071B8
/* 80107200 00104160 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80107204 00104164 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80107208 00104168 83 C1 00 08 */ lwz r30, 8(r1)
/* 8010720C 0010416C 7C 08 03 A6 */ mtlr r0
/* 80107210 00104170 38 21 00 10 */ addi r1, r1, 0x10
/* 80107214 00104174 4E 80 00 20 */ blr
.global sub_80107218
sub_80107218:
/* 80107218 00104178 7C 04 28 40 */ cmplw r4, r5
/* 8010721C 0010417C 4D 82 00 20 */ beqlr
/* 80107220 00104180 80 03 00 04 */ lwz r0, 4(r3)
/* 80107224 00104184 7C 04 00 40 */ cmplw r4, r0
/* 80107228 00104188 40 82 00 0C */ bne lbl_80107234
/* 8010722C 0010418C 90 A3 00 04 */ stw r5, 4(r3)
/* 80107230 00104190 48 00 00 10 */ b lbl_80107240
lbl_80107234:
/* 80107234 00104194 7C 05 00 40 */ cmplw r5, r0
/* 80107238 00104198 40 82 00 08 */ bne lbl_80107240
/* 8010723C 0010419C 90 83 00 04 */ stw r4, 4(r3)
lbl_80107240:
/* 80107240 001041A0 80 E5 00 04 */ lwz r7, 4(r5)
/* 80107244 001041A4 80 64 00 04 */ lwz r3, 4(r4)
/* 80107248 001041A8 7C 07 20 40 */ cmplw r7, r4
/* 8010724C 001041AC 80 C4 00 00 */ lwz r6, 0(r4)
/* 80107250 001041B0 81 05 00 00 */ lwz r8, 0(r5)
/* 80107254 001041B4 41 82 00 18 */ beq lbl_8010726C
/* 80107258 001041B8 90 87 00 00 */ stw r4, 0(r7)
/* 8010725C 001041BC 90 E4 00 04 */ stw r7, 4(r4)
/* 80107260 001041C0 90 A6 00 04 */ stw r5, 4(r6)
/* 80107264 001041C4 90 C5 00 00 */ stw r6, 0(r5)
/* 80107268 001041C8 48 00 00 0C */ b lbl_80107274
lbl_8010726C:
/* 8010726C 001041CC 90 A4 00 04 */ stw r5, 4(r4)
/* 80107270 001041D0 90 85 00 00 */ stw r4, 0(r5)
lbl_80107274:
/* 80107274 001041D4 7C 08 20 40 */ cmplw r8, r4
/* 80107278 001041D8 41 82 00 18 */ beq lbl_80107290
/* 8010727C 001041DC 90 88 00 04 */ stw r4, 4(r8)
/* 80107280 001041E0 91 04 00 00 */ stw r8, 0(r4)
/* 80107284 001041E4 90 A3 00 00 */ stw r5, 0(r3)
/* 80107288 001041E8 90 65 00 04 */ stw r3, 4(r5)
/* 8010728C 001041EC 4E 80 00 20 */ blr
lbl_80107290:
/* 80107290 001041F0 90 85 00 04 */ stw r4, 4(r5)
/* 80107294 001041F4 90 A4 00 00 */ stw r5, 0(r4)
/* 80107298 001041F8 4E 80 00 20 */ blr
.global sub_8010729c
sub_8010729c:
/* 8010729C 001041FC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801072A0 00104200 7C 08 02 A6 */ mflr r0
/* 801072A4 00104204 90 01 00 34 */ stw r0, 0x34(r1)
/* 801072A8 00104208 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 801072AC 0010420C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 801072B0 00104210 93 A1 00 24 */ stw r29, 0x24(r1)
/* 801072B4 00104214 7C 9D 23 78 */ mr r29, r4
/* 801072B8 00104218 93 81 00 20 */ stw r28, 0x20(r1)
/* 801072BC 0010421C 7C 7C 1B 79 */ or. r28, r3, r3
/* 801072C0 00104220 41 82 00 70 */ beq lbl_80107330
/* 801072C4 00104224 80 1C 00 04 */ lwz r0, 4(r28)
/* 801072C8 00104228 83 DC 00 0C */ lwz r30, 0xc(r28)
/* 801072CC 0010422C 54 00 20 36 */ slwi r0, r0, 4
/* 801072D0 00104230 7F FE 02 14 */ add r31, r30, r0
/* 801072D4 00104234 93 C1 00 10 */ stw r30, 0x10(r1)
/* 801072D8 00104238 93 E1 00 08 */ stw r31, 8(r1)
/* 801072DC 0010423C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 801072E0 00104240 93 C1 00 14 */ stw r30, 0x14(r1)
/* 801072E4 00104244 48 00 00 24 */ b lbl_80107308
lbl_801072E8:
/* 801072E8 00104248 28 1E 00 00 */ cmplwi r30, 0
/* 801072EC 0010424C 41 82 00 18 */ beq lbl_80107304
/* 801072F0 00104250 34 1E 00 08 */ addic. r0, r30, 8
/* 801072F4 00104254 41 82 00 10 */ beq lbl_80107304
/* 801072F8 00104258 38 7E 00 08 */ addi r3, r30, 8
/* 801072FC 0010425C 38 80 00 00 */ li r4, 0
/* 80107300 00104260 48 23 9B 41 */ bl __dt__6CTokenFv
lbl_80107304:
/* 80107304 00104264 3B DE 00 10 */ addi r30, r30, 0x10
lbl_80107308:
/* 80107308 00104268 7C 1E F8 40 */ cmplw r30, r31
/* 8010730C 0010426C 40 82 FF DC */ bne lbl_801072E8
/* 80107310 00104270 80 7C 00 0C */ lwz r3, 0xc(r28)
/* 80107314 00104274 28 03 00 00 */ cmplwi r3, 0
/* 80107318 00104278 41 82 00 08 */ beq lbl_80107320
/* 8010731C 0010427C 48 20 E6 15 */ bl Free__7CMemoryFPCv
lbl_80107320:
/* 80107320 00104280 7F A0 07 35 */ extsh. r0, r29
/* 80107324 00104284 40 81 00 0C */ ble lbl_80107330
/* 80107328 00104288 7F 83 E3 78 */ mr r3, r28
/* 8010732C 0010428C 48 20 E6 05 */ bl Free__7CMemoryFPCv
lbl_80107330:
/* 80107330 00104290 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80107334 00104294 7F 83 E3 78 */ mr r3, r28
/* 80107338 00104298 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8010733C 0010429C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80107340 001042A0 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80107344 001042A4 83 81 00 20 */ lwz r28, 0x20(r1)
/* 80107348 001042A8 7C 08 03 A6 */ mtlr r0
/* 8010734C 001042AC 38 21 00 30 */ addi r1, r1, 0x30
/* 80107350 001042B0 4E 80 00 20 */ blr
.global sub_80107354
sub_80107354:
/* 80107354 001042B4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80107358 001042B8 7C 08 02 A6 */ mflr r0
/* 8010735C 001042BC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80107360 001042C0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80107364 001042C4 3B E3 00 60 */ addi r31, r3, 0x60
/* 80107368 001042C8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8010736C 001042CC 3B C0 00 00 */ li r30, 0
/* 80107370 001042D0 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80107374 001042D4 7C 9D 23 78 */ mr r29, r4
lbl_80107378:
/* 80107378 001042D8 7F E4 FB 78 */ mr r4, r31
/* 8010737C 001042DC 38 61 00 08 */ addi r3, r1, 8
/* 80107380 001042E0 48 23 9B 29 */ bl __ct__6CTokenFRC6CToken
/* 80107384 001042E4 38 61 00 08 */ addi r3, r1, 8
/* 80107388 001042E8 48 23 9A 85 */ bl GetObj__6CTokenFv
/* 8010738C 001042EC 80 63 00 04 */ lwz r3, 4(r3)
/* 80107390 001042F0 80 03 00 04 */ lwz r0, 4(r3)
/* 80107394 001042F4 80 83 00 0C */ lwz r4, 0xc(r3)
/* 80107398 001042F8 54 00 18 38 */ slwi r0, r0, 3
/* 8010739C 001042FC 7C 64 02 14 */ add r3, r4, r0
/* 801073A0 00104300 48 00 00 28 */ b lbl_801073C8
lbl_801073A4:
/* 801073A4 00104304 80 04 00 04 */ lwz r0, 4(r4)
/* 801073A8 00104308 7C 1D 00 40 */ cmplw r29, r0
/* 801073AC 0010430C 40 82 00 18 */ bne lbl_801073C4
/* 801073B0 00104310 38 61 00 08 */ addi r3, r1, 8
/* 801073B4 00104314 38 80 00 00 */ li r4, 0
/* 801073B8 00104318 48 23 9A 89 */ bl __dt__6CTokenFv
/* 801073BC 0010431C 38 60 00 01 */ li r3, 1
/* 801073C0 00104320 48 00 00 30 */ b lbl_801073F0
lbl_801073C4:
/* 801073C4 00104324 38 84 00 08 */ addi r4, r4, 8
lbl_801073C8:
/* 801073C8 00104328 7C 04 18 40 */ cmplw r4, r3
/* 801073CC 0010432C 40 82 FF D8 */ bne lbl_801073A4
/* 801073D0 00104330 38 61 00 08 */ addi r3, r1, 8
/* 801073D4 00104334 38 80 00 00 */ li r4, 0
/* 801073D8 00104338 48 23 9A 69 */ bl __dt__6CTokenFv
/* 801073DC 0010433C 3B DE 00 01 */ addi r30, r30, 1
/* 801073E0 00104340 3B FF 00 08 */ addi r31, r31, 8
/* 801073E4 00104344 2C 1E 00 0D */ cmpwi r30, 0xd
/* 801073E8 00104348 41 80 FF 90 */ blt lbl_80107378
/* 801073EC 0010434C 38 60 00 00 */ li r3, 0
lbl_801073F0:
/* 801073F0 00104350 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801073F4 00104354 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801073F8 00104358 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801073FC 0010435C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80107400 00104360 7C 08 03 A6 */ mtlr r0
/* 80107404 00104364 38 21 00 20 */ addi r1, r1, 0x20
/* 80107408 00104368 4E 80 00 20 */ blr
.global EnsureStates__17CInGameGuiManagerFR13CStateManager
EnsureStates__17CInGameGuiManagerFR13CStateManager:
/* 8010740C 0010436C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80107410 00104370 7C 08 02 A6 */ mflr r0
/* 80107414 00104374 90 01 00 14 */ stw r0, 0x14(r1)
/* 80107418 00104378 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8010741C 0010437C 7C 9F 23 78 */ mr r31, r4
/* 80107420 00104380 93 C1 00 08 */ stw r30, 8(r1)
/* 80107424 00104384 7C 7E 1B 78 */ mr r30, r3
/* 80107428 00104388 88 03 01 F8 */ lbz r0, 0x1f8(r3)
/* 8010742C 0010438C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 80107430 00104390 41 82 00 34 */ beq lbl_80107464
/* 80107434 00104394 80 BE 00 3C */ lwz r5, 0x3c(r30)
/* 80107438 00104398 88 05 00 50 */ lbz r0, 0x50(r5)
/* 8010743C 0010439C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 80107440 001043A0 40 82 00 24 */ bne lbl_80107464
/* 80107444 001043A4 4B FF F7 75 */ bl DestroyAreaTextures__17CInGameGuiManagerFRC13CStateManager
/* 80107448 001043A8 88 1E 01 F8 */ lbz r0, 0x1f8(r30)
/* 8010744C 001043AC 38 60 00 00 */ li r3, 0
/* 80107450 001043B0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80107454 001043B4 7F C3 F3 78 */ mr r3, r30
/* 80107458 001043B8 98 1E 01 F8 */ stb r0, 0x1f8(r30)
/* 8010745C 001043BC 7F E4 FB 78 */ mr r4, r31
/* 80107460 001043C0 48 00 00 1D */ bl DoStateTransition__17CInGameGuiManagerFR13CStateManager
lbl_80107464:
/* 80107464 001043C4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80107468 001043C8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8010746C 001043CC 83 C1 00 08 */ lwz r30, 8(r1)
/* 80107470 001043D0 7C 08 03 A6 */ mtlr r0
/* 80107474 001043D4 38 21 00 10 */ addi r1, r1, 0x10
/* 80107478 001043D8 4E 80 00 20 */ blr
.global DoStateTransition__17CInGameGuiManagerFR13CStateManager
DoStateTransition__17CInGameGuiManagerFR13CStateManager:
/* 8010747C 001043DC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80107480 001043E0 7C 08 02 A6 */ mflr r0
/* 80107484 001043E4 90 01 00 24 */ stw r0, 0x24(r1)
/* 80107488 001043E8 BF 61 00 0C */ stmw r27, 0xc(r1)
/* 8010748C 001043EC 7C 7F 1B 78 */ mr r31, r3
/* 80107490 001043F0 7C 9B 23 78 */ mr r27, r4
/* 80107494 001043F4 7F 65 DB 78 */ mr r5, r27
/* 80107498 001043F8 80 63 00 34 */ lwz r3, 0x34(r3)
/* 8010749C 001043FC 80 9F 01 C0 */ lwz r4, 0x1c0(r31)
/* 801074A0 00104400 4B F6 1B 21 */ bl OnNewInGameGuiState__9CSamusHudF15EInGameGuiStateR13CStateManager
/* 801074A4 00104404 80 7F 00 38 */ lwz r3, 0x38(r31)
/* 801074A8 00104408 7F 65 DB 78 */ mr r5, r27
/* 801074AC 0010440C 80 9F 01 C0 */ lwz r4, 0x1c0(r31)
/* 801074B0 00104410 4B F9 4E 79 */ bl OnNewInGameGuiState__11CAutoMapperF15EInGameGuiStateR13CStateManager
/* 801074B4 00104414 80 1F 01 C0 */ lwz r0, 0x1c0(r31)
/* 801074B8 00104418 2C 00 00 03 */ cmpwi r0, 3
/* 801074BC 0010441C 41 82 00 0C */ beq lbl_801074C8
/* 801074C0 00104420 2C 00 00 04 */ cmpwi r0, 4
/* 801074C4 00104424 40 82 01 08 */ bne lbl_801075CC
lbl_801074C8:
/* 801074C8 00104428 80 1F 00 48 */ lwz r0, 0x48(r31)
/* 801074CC 0010442C 28 00 00 00 */ cmplwi r0, 0
/* 801074D0 00104430 40 82 00 FC */ bne lbl_801075CC
/* 801074D4 00104434 80 7B 08 B8 */ lwz r3, 0x8b8(r27)
/* 801074D8 00104438 80 63 00 00 */ lwz r3, 0(r3)
/* 801074DC 0010443C 83 63 00 20 */ lwz r27, 0x20(r3)
/* 801074E0 00104440 4B F8 9F E5 */ bl GetIsFusionEnabled__12CPlayerStateCFv
/* 801074E4 00104444 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801074E8 00104448 41 82 00 38 */ beq lbl_80107520
/* 801074EC 0010444C 2C 1B 00 03 */ cmpwi r27, 3
/* 801074F0 00104450 40 82 00 0C */ bne lbl_801074FC
/* 801074F4 00104454 3B A0 00 07 */ li r29, 7
/* 801074F8 00104458 48 00 00 54 */ b lbl_8010754C
lbl_801074FC:
/* 801074FC 0010445C 2C 1B 00 01 */ cmpwi r27, 1
/* 80107500 00104460 40 82 00 0C */ bne lbl_8010750C
/* 80107504 00104464 3B A0 00 06 */ li r29, 6
/* 80107508 00104468 48 00 00 44 */ b lbl_8010754C
lbl_8010750C:
/* 8010750C 0010446C 2C 1B 00 02 */ cmpwi r27, 2
/* 80107510 00104470 3B A0 00 04 */ li r29, 4
/* 80107514 00104474 40 82 00 38 */ bne lbl_8010754C
/* 80107518 00104478 3B A0 00 05 */ li r29, 5
/* 8010751C 0010447C 48 00 00 30 */ b lbl_8010754C
lbl_80107520:
/* 80107520 00104480 2C 1B 00 03 */ cmpwi r27, 3
/* 80107524 00104484 40 82 00 0C */ bne lbl_80107530
/* 80107528 00104488 3B A0 00 03 */ li r29, 3
/* 8010752C 0010448C 48 00 00 20 */ b lbl_8010754C
lbl_80107530:
/* 80107530 00104490 2C 1B 00 01 */ cmpwi r27, 1
/* 80107534 00104494 40 82 00 0C */ bne lbl_80107540
/* 80107538 00104498 3B A0 00 02 */ li r29, 2
/* 8010753C 0010449C 48 00 00 10 */ b lbl_8010754C
lbl_80107540:
/* 80107540 001044A0 20 1B 00 02 */ subfic r0, r27, 2
/* 80107544 001044A4 7C 00 00 34 */ cntlzw r0, r0
/* 80107548 001044A8 54 1D D9 7E */ srwi r29, r0, 5
lbl_8010754C:
/* 8010754C 001044AC 80 1F 01 C0 */ lwz r0, 0x1c0(r31)
/* 80107550 001044B0 3B C0 00 02 */ li r30, 2
/* 80107554 001044B4 2C 00 00 04 */ cmpwi r0, 4
/* 80107558 001044B8 40 82 00 08 */ bne lbl_80107560
/* 8010755C 001044BC 3B C0 00 00 */ li r30, 0
lbl_80107560:
/* 80107560 001044C0 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha
/* 80107564 001044C4 38 60 00 94 */ li r3, 0x94
/* 80107568 001044C8 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l
/* 8010756C 001044CC 38 A0 00 00 */ li r5, 0
/* 80107570 001044D0 38 84 02 AC */ addi r4, r4, 0x2ac
/* 80107574 001044D4 48 20 E2 F9 */ bl __nw__FUlPCcPCc
/* 80107578 001044D8 7C 7C 1B 79 */ or. r28, r3, r3
/* 8010757C 001044DC 41 82 00 40 */ beq lbl_801075BC
/* 80107580 001044E0 57 A0 18 38 */ slwi r0, r29, 3
/* 80107584 001044E4 7F 7F 02 14 */ add r27, r31, r0
/* 80107588 001044E8 3B 7B 00 60 */ addi r27, r27, 0x60
/* 8010758C 001044EC 7F 63 DB 78 */ mr r3, r27
/* 80107590 001044F0 48 23 98 7D */ bl GetObj__6CTokenFv
/* 80107594 001044F4 83 A3 00 04 */ lwz r29, 4(r3)
/* 80107598 001044F8 7F 63 DB 78 */ mr r3, r27
/* 8010759C 001044FC 48 23 98 71 */ bl GetObj__6CTokenFv
/* 801075A0 00104500 7C 64 1B 78 */ mr r4, r3
/* 801075A4 00104504 7F 83 E3 78 */ mr r3, r28
/* 801075A8 00104508 80 A4 00 04 */ lwz r5, 4(r4)
/* 801075AC 0010450C 7F C4 F3 78 */ mr r4, r30
/* 801075B0 00104510 7F A6 EB 78 */ mr r6, r29
/* 801075B4 00104514 4B F6 CA 5D */ bl __ct__12CPauseScreenFiRC16CDependencyGroupRC16CDependencyGroup
/* 801075B8 00104518 7C 7C 1B 78 */ mr r28, r3
lbl_801075BC:
/* 801075BC 0010451C 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 801075C0 00104520 38 80 00 01 */ li r4, 1
/* 801075C4 00104524 4B F6 C8 C9 */ bl __dt__12CPauseScreenFv
/* 801075C8 00104528 93 9F 00 48 */ stw r28, 0x48(r31)
lbl_801075CC:
/* 801075CC 0010452C 80 7F 01 C0 */ lwz r3, 0x1c0(r31)
/* 801075D0 00104530 38 00 00 00 */ li r0, 0
/* 801075D4 00104534 2C 03 00 02 */ cmpwi r3, 2
/* 801075D8 00104538 41 80 00 10 */ blt lbl_801075E8
/* 801075DC 0010453C 2C 03 00 06 */ cmpwi r3, 6
/* 801075E0 00104540 41 81 00 08 */ bgt lbl_801075E8
/* 801075E4 00104544 38 00 00 01 */ li r0, 1
lbl_801075E8:
/* 801075E8 00104548 83 9F 00 F4 */ lwz r28, 0xf4(r31)
/* 801075EC 0010454C 54 1E 06 3E */ clrlwi r30, r0, 0x18
/* 801075F0 00104550 48 00 00 24 */ b lbl_80107614
lbl_801075F4:
/* 801075F4 00104554 28 1E 00 00 */ cmplwi r30, 0
/* 801075F8 00104558 41 82 00 10 */ beq lbl_80107608
/* 801075FC 0010455C 7F 83 E3 78 */ mr r3, r28
/* 80107600 00104560 48 23 97 85 */ bl Lock__6CTokenFv
/* 80107604 00104564 48 00 00 0C */ b lbl_80107610
lbl_80107608:
/* 80107608 00104568 7F 83 E3 78 */ mr r3, r28
/* 8010760C 0010456C 48 23 97 35 */ bl Unlock__6CTokenFv
lbl_80107610:
/* 80107610 00104570 3B 9C 00 08 */ addi r28, r28, 8
lbl_80107614:
/* 80107614 00104574 80 1F 00 EC */ lwz r0, 0xec(r31)
/* 80107618 00104578 80 7F 00 F4 */ lwz r3, 0xf4(r31)
/* 8010761C 0010457C 54 00 18 38 */ slwi r0, r0, 3
/* 80107620 00104580 7C 03 02 14 */ add r0, r3, r0
/* 80107624 00104584 7C 1C 00 40 */ cmplw r28, r0
/* 80107628 00104588 40 82 FF CC */ bne lbl_801075F4
/* 8010762C 0010458C BB 61 00 0C */ lmw r27, 0xc(r1)
/* 80107630 00104590 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80107634 00104594 7C 08 03 A6 */ mtlr r0
/* 80107638 00104598 38 21 00 20 */ addi r1, r1, 0x20
/* 8010763C 0010459C 4E 80 00 20 */ blr
.global BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager
BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager:
/* 80107640 001045A0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80107644 001045A4 7C 08 02 A6 */ mflr r0
/* 80107648 001045A8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8010764C 001045AC BF 61 00 0C */ stmw r27, 0xc(r1)
/* 80107650 001045B0 7C 9E 23 78 */ mr r30, r4
/* 80107654 001045B4 7C 7D 1B 78 */ mr r29, r3
/* 80107658 001045B8 7C BF 2B 78 */ mr r31, r5
/* 8010765C 001045BC 80 03 01 C0 */ lwz r0, 0x1c0(r3)
/* 80107660 001045C0 7C 00 F0 00 */ cmpw r0, r30
/* 80107664 001045C4 41 82 01 74 */ beq lbl_801077D8
/* 80107668 001045C8 90 1D 01 BC */ stw r0, 0x1bc(r29)
/* 8010766C 001045CC 2C 1E 00 01 */ cmpwi r30, 1
/* 80107670 001045D0 93 DD 01 C0 */ stw r30, 0x1c0(r29)
/* 80107674 001045D4 40 82 00 2C */ bne lbl_801076A0
/* 80107678 001045D8 38 60 00 01 */ li r3, 1
/* 8010767C 001045DC 48 1E 22 39 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels
/* 80107680 001045E0 80 7D 00 4C */ lwz r3, 0x4c(r29)
/* 80107684 001045E4 38 80 00 01 */ li r4, 1
/* 80107688 001045E8 48 14 87 9D */ bl __dt__15CSaveGameScreenFv
/* 8010768C 001045EC 38 00 00 00 */ li r0, 0
/* 80107690 001045F0 90 1D 00 4C */ stw r0, 0x4c(r29)
/* 80107694 001045F4 80 7D 00 38 */ lwz r3, 0x38(r29)
/* 80107698 001045F8 4B F9 4B 1D */ bl UnmuteAllLoopedSounds__11CAutoMapperFv
/* 8010769C 001045FC 48 00 01 14 */ b lbl_801077B0
lbl_801076A0:
/* 801076A0 00104600 2C 1E 00 06 */ cmpwi r30, 6
/* 801076A4 00104604 40 82 00 84 */ bne lbl_80107728
/* 801076A8 00104608 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha
/* 801076AC 0010460C 38 60 00 7C */ li r3, 0x7c
/* 801076B0 00104610 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l
/* 801076B4 00104614 38 A0 00 00 */ li r5, 0
/* 801076B8 00104618 38 84 02 AC */ addi r4, r4, 0x2ac
/* 801076BC 0010461C 48 20 E1 B1 */ bl __nw__FUlPCcPCc
/* 801076C0 00104620 7C 7B 1B 79 */ or. r27, r3, r3
/* 801076C4 00104624 41 82 00 14 */ beq lbl_801076D8
/* 801076C8 00104628 80 9D 01 24 */ lwz r4, 0x124(r29)
/* 801076CC 0010462C C0 3D 01 28 */ lfs f1, 0x128(r29)
/* 801076D0 00104630 48 0E 88 31 */ bl __ct__14CMessageScreenFUif
/* 801076D4 00104634 7C 7B 1B 78 */ mr r27, r3
lbl_801076D8:
/* 801076D8 00104638 83 9D 00 44 */ lwz r28, 0x44(r29)
/* 801076DC 0010463C 28 1C 00 00 */ cmplwi r28, 0
/* 801076E0 00104640 41 82 00 40 */ beq lbl_80107720
/* 801076E4 00104644 34 1C 00 0C */ addic. r0, r28, 0xc
/* 801076E8 00104648 41 82 00 18 */ beq lbl_80107700
/* 801076EC 0010464C 34 1C 00 0C */ addic. r0, r28, 0xc
/* 801076F0 00104650 41 82 00 10 */ beq lbl_80107700
/* 801076F4 00104654 38 7C 00 0C */ addi r3, r28, 0xc
/* 801076F8 00104658 38 80 00 00 */ li r4, 0
/* 801076FC 0010465C 48 23 97 45 */ bl __dt__6CTokenFv
lbl_80107700:
/* 80107700 00104660 28 1C 00 00 */ cmplwi r28, 0
/* 80107704 00104664 41 82 00 14 */ beq lbl_80107718
/* 80107708 00104668 41 82 00 10 */ beq lbl_80107718
/* 8010770C 0010466C 7F 83 E3 78 */ mr r3, r28
/* 80107710 00104670 38 80 00 00 */ li r4, 0
/* 80107714 00104674 48 23 97 2D */ bl __dt__6CTokenFv
lbl_80107718:
/* 80107718 00104678 7F 83 E3 78 */ mr r3, r28
/* 8010771C 0010467C 48 20 E2 15 */ bl Free__7CMemoryFPCv
lbl_80107720:
/* 80107720 00104680 93 7D 00 44 */ stw r27, 0x44(r29)
/* 80107724 00104684 48 00 00 8C */ b lbl_801077B0
lbl_80107728:
/* 80107728 00104688 2C 1E 00 05 */ cmpwi r30, 5
/* 8010772C 0010468C 40 82 00 50 */ bne lbl_8010777C
/* 80107730 00104690 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha
/* 80107734 00104694 38 60 00 98 */ li r3, 0x98
/* 80107738 00104698 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l
/* 8010773C 0010469C 38 A0 00 00 */ li r5, 0
/* 80107740 001046A0 38 84 02 AC */ addi r4, r4, 0x2ac
/* 80107744 001046A4 48 20 E1 29 */ bl __nw__FUlPCcPCc
/* 80107748 001046A8 7C 7B 1B 79 */ or. r27, r3, r3
/* 8010774C 001046AC 41 82 00 1C */ beq lbl_80107768
/* 80107750 001046B0 80 CD A0 80 */ lwz r6, gpGameState@sda21(r13)
/* 80107754 001046B4 38 80 00 01 */ li r4, 1
/* 80107758 001046B8 80 A6 02 10 */ lwz r5, 0x210(r6)
/* 8010775C 001046BC 80 C6 02 14 */ lwz r6, 0x214(r6)
/* 80107760 001046C0 48 14 88 1D */ bl __ct__15CSaveGameScreen
/* 80107764 001046C4 7C 7B 1B 78 */ mr r27, r3
lbl_80107768:
/* 80107768 001046C8 80 7D 00 4C */ lwz r3, 0x4c(r29)
/* 8010776C 001046CC 38 80 00 01 */ li r4, 1
/* 80107770 001046D0 48 14 86 B5 */ bl __dt__15CSaveGameScreenFv
/* 80107774 001046D4 93 7D 00 4C */ stw r27, 0x4c(r29)
/* 80107778 001046D8 48 00 00 38 */ b lbl_801077B0
lbl_8010777C:
/* 8010777C 001046DC 80 7D 01 BC */ lwz r3, 0x1bc(r29)
/* 80107780 001046E0 38 00 00 00 */ li r0, 0
/* 80107784 001046E4 2C 03 00 00 */ cmpwi r3, 0
/* 80107788 001046E8 41 80 00 10 */ blt lbl_80107798
/* 8010778C 001046EC 2C 03 00 01 */ cmpwi r3, 1
/* 80107790 001046F0 41 81 00 08 */ bgt lbl_80107798
/* 80107794 001046F4 38 00 00 01 */ li r0, 1
lbl_80107798:
/* 80107798 001046F8 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8010779C 001046FC 41 82 00 14 */ beq lbl_801077B0
/* 801077A0 00104700 88 1D 01 F8 */ lbz r0, 0x1f8(r29)
/* 801077A4 00104704 38 60 00 01 */ li r3, 1
/* 801077A8 00104708 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 801077AC 0010470C 98 1D 01 F8 */ stb r0, 0x1f8(r29)
lbl_801077B0:
/* 801077B0 00104710 80 7D 00 3C */ lwz r3, 0x3c(r29)
/* 801077B4 00104714 7F C4 F3 78 */ mr r4, r30
/* 801077B8 00104718 7F E5 FB 78 */ mr r5, r31
/* 801077BC 0010471C 48 15 61 F1 */ bl OnNewInGameGuiState__16CPauseScreenBlurF15EInGameGuiStateR13CStateManager
/* 801077C0 00104720 88 1D 01 F8 */ lbz r0, 0x1f8(r29)
/* 801077C4 00104724 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 801077C8 00104728 40 82 00 10 */ bne lbl_801077D8
/* 801077CC 0010472C 7F A3 EB 78 */ mr r3, r29
/* 801077D0 00104730 7F E4 FB 78 */ mr r4, r31
/* 801077D4 00104734 4B FF FC A9 */ bl DoStateTransition__17CInGameGuiManagerFR13CStateManager
lbl_801077D8:
/* 801077D8 00104738 BB 61 00 0C */ lmw r27, 0xc(r1)
/* 801077DC 0010473C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801077E0 00104740 7C 08 03 A6 */ mtlr r0
/* 801077E4 00104744 38 21 00 20 */ addi r1, r1, 0x20
/* 801077E8 00104748 4E 80 00 20 */ blr
.global GetIsGameDraw__17CInGameGuiManagerCFv
GetIsGameDraw__17CInGameGuiManagerCFv:
/* 801077EC 0010474C 80 63 00 3C */ lwz r3, 0x3c(r3)
/* 801077F0 00104750 88 03 00 50 */ lbz r0, 0x50(r3)
/* 801077F4 00104754 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f
/* 801077F8 00104758 4E 80 00 20 */ blr
.global ShowPauseGameHudMessage__17CInGameGuiManagerFRC13CStateManagerUi
ShowPauseGameHudMessage__17CInGameGuiManagerFRC13CStateManagerUi:
/* 801077FC 0010475C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80107800 00104760 7C 08 02 A6 */ mflr r0
/* 80107804 00104764 90 01 00 14 */ stw r0, 0x14(r1)
/* 80107808 00104768 90 A3 01 24 */ stw r5, 0x124(r3)
/* 8010780C 0010476C 38 A0 00 06 */ li r5, 6
/* 80107810 00104770 D0 23 01 28 */ stfs f1, 0x128(r3)
/* 80107814 00104774 48 00 00 15 */ bl PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState
/* 80107818 00104778 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8010781C 0010477C 7C 08 03 A6 */ mtlr r0
/* 80107820 00104780 38 21 00 10 */ addi r1, r1, 0x10
/* 80107824 00104784 4E 80 00 20 */ blr
.global PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState
PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState:
/* 80107828 00104788 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8010782C 0010478C 7C 08 02 A6 */ mflr r0
/* 80107830 00104790 90 01 00 24 */ stw r0, 0x24(r1)
/* 80107834 00104794 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80107838 00104798 7C BF 2B 78 */ mr r31, r5
/* 8010783C 0010479C 38 A0 00 00 */ li r5, 0
/* 80107840 001047A0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80107844 001047A4 7C 9E 23 78 */ mr r30, r4
/* 80107848 001047A8 38 80 00 00 */ li r4, 0
/* 8010784C 001047AC 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80107850 001047B0 7C 7D 1B 78 */ mr r29, r3
/* 80107854 001047B4 80 6D A0 7C */ lwz r3, gpController@sda21(r13)
/* 80107858 001047B8 81 83 00 00 */ lwz r12, 0(r3)
/* 8010785C 001047BC 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80107860 001047C0 7D 89 03 A6 */ mtctr r12
/* 80107864 001047C4 4E 80 04 21 */ bctrl
/* 80107868 001047C8 38 60 00 02 */ li r3, 2
/* 8010786C 001047CC 48 1E 20 49 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels
/* 80107870 001047D0 7F A3 EB 78 */ mr r3, r29
/* 80107874 001047D4 7F E4 FB 78 */ mr r4, r31
/* 80107878 001047D8 7F C5 F3 78 */ mr r5, r30
/* 8010787C 001047DC 4B FF FD C5 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager
/* 80107880 001047E0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80107884 001047E4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80107888 001047E8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8010788C 001047EC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80107890 001047F0 7C 08 03 A6 */ mtlr r0
/* 80107894 001047F4 38 21 00 20 */ addi r1, r1, 0x20
/* 80107898 001047F8 4E 80 00 20 */ blr
.global ProcessControllerInput__17CInGameGuiManagerFRC13CStateManagerRC11CFinalInputR18CArchitectureQueue
ProcessControllerInput__17CInGameGuiManagerFRC13CStateManagerRC11CFinalInputR18CArchitectureQueue:
/* 8010789C 001047FC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801078A0 00104800 7C 08 02 A6 */ mflr r0
/* 801078A4 00104804 90 01 00 24 */ stw r0, 0x24(r1)
/* 801078A8 00104808 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801078AC 0010480C 7C BF 2B 78 */ mr r31, r5
/* 801078B0 00104810 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801078B4 00104814 7C 9E 23 78 */ mr r30, r4
/* 801078B8 00104818 93 A1 00 14 */ stw r29, 0x14(r1)
/* 801078BC 0010481C 7C 7D 1B 78 */ mr r29, r3
/* 801078C0 00104820 80 05 00 04 */ lwz r0, 4(r5)
/* 801078C4 00104824 2C 00 00 00 */ cmpwi r0, 0
/* 801078C8 00104828 40 82 01 74 */ bne lbl_80107A3C
/* 801078CC 0010482C 80 BD 01 BC */ lwz r5, 0x1bc(r29)
/* 801078D0 00104830 38 80 00 00 */ li r4, 0
/* 801078D4 00104834 7C 80 23 78 */ mr r0, r4
/* 801078D8 00104838 2C 05 00 00 */ cmpwi r5, 0
/* 801078DC 0010483C 41 80 00 10 */ blt lbl_801078EC
/* 801078E0 00104840 2C 05 00 01 */ cmpwi r5, 1
/* 801078E4 00104844 41 81 00 08 */ bgt lbl_801078EC
/* 801078E8 00104848 38 00 00 01 */ li r0, 1
lbl_801078EC:
/* 801078EC 0010484C 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 801078F0 00104850 41 82 00 2C */ beq lbl_8010791C
/* 801078F4 00104854 80 7D 01 C0 */ lwz r3, 0x1c0(r29)
/* 801078F8 00104858 38 00 00 00 */ li r0, 0
/* 801078FC 0010485C 2C 03 00 00 */ cmpwi r3, 0
/* 80107900 00104860 41 80 00 10 */ blt lbl_80107910
/* 80107904 00104864 2C 03 00 01 */ cmpwi r3, 1
/* 80107908 00104868 41 81 00 08 */ bgt lbl_80107910
/* 8010790C 0010486C 38 00 00 01 */ li r0, 1
lbl_80107910:
/* 80107910 00104870 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80107914 00104874 41 82 00 08 */ beq lbl_8010791C
/* 80107918 00104878 38 80 00 01 */ li r4, 1
lbl_8010791C:
/* 8010791C 0010487C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80107920 00104880 40 82 01 10 */ bne lbl_80107A30
/* 80107924 00104884 2C 05 00 02 */ cmpwi r5, 2
/* 80107928 00104888 38 80 00 00 */ li r4, 0
/* 8010792C 0010488C 7C 80 23 78 */ mr r0, r4
/* 80107930 00104890 41 80 00 10 */ blt lbl_80107940
/* 80107934 00104894 2C 05 00 06 */ cmpwi r5, 6
/* 80107938 00104898 41 81 00 08 */ bgt lbl_80107940
/* 8010793C 0010489C 38 00 00 01 */ li r0, 1
lbl_80107940:
/* 80107940 001048A0 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80107944 001048A4 41 82 00 2C */ beq lbl_80107970
/* 80107948 001048A8 80 7D 01 C0 */ lwz r3, 0x1c0(r29)
/* 8010794C 001048AC 38 00 00 00 */ li r0, 0
/* 80107950 001048B0 2C 03 00 02 */ cmpwi r3, 2
/* 80107954 001048B4 41 80 00 10 */ blt lbl_80107964
/* 80107958 001048B8 2C 03 00 06 */ cmpwi r3, 6
/* 8010795C 001048BC 41 81 00 08 */ bgt lbl_80107964
/* 80107960 001048C0 38 00 00 01 */ li r0, 1
lbl_80107964:
/* 80107964 001048C4 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80107968 001048C8 41 82 00 08 */ beq lbl_80107970
/* 8010796C 001048CC 38 80 00 01 */ li r4, 1
lbl_80107970:
/* 80107970 001048D0 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80107974 001048D4 41 82 00 C8 */ beq lbl_80107A3C
/* 80107978 001048D8 80 1D 01 BC */ lwz r0, 0x1bc(r29)
/* 8010797C 001048DC 2C 00 00 02 */ cmpwi r0, 2
/* 80107980 001048E0 40 82 00 64 */ bne lbl_801079E4
/* 80107984 001048E4 80 7D 00 38 */ lwz r3, 0x38(r29)
/* 80107988 001048E8 38 80 00 01 */ li r4, 1
/* 8010798C 001048EC 4B F8 E3 99 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState
/* 80107990 001048F0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80107994 001048F4 40 82 00 18 */ bne lbl_801079AC
/* 80107998 001048F8 80 7D 00 38 */ lwz r3, 0x38(r29)
/* 8010799C 001048FC 38 80 00 02 */ li r4, 2
/* 801079A0 00104900 4B F8 E3 85 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState
/* 801079A4 00104904 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801079A8 00104908 41 82 00 94 */ beq lbl_80107A3C
lbl_801079AC:
/* 801079AC 0010490C 80 7D 00 38 */ lwz r3, 0x38(r29)
/* 801079B0 00104910 7F E4 FB 78 */ mr r4, r31
/* 801079B4 00104914 7F C5 F3 78 */ mr r5, r30
/* 801079B8 00104918 4B F9 34 FD */ bl ProcessControllerInput__11CAutoMapperFRC11CFinalInputRC13CStateManager
/* 801079BC 0010491C 80 7D 00 38 */ lwz r3, 0x38(r29)
/* 801079C0 00104920 7F C4 F3 78 */ mr r4, r30
/* 801079C4 00104924 4B F9 49 1D */ bl CanLeaveMapScreen__11CAutoMapperCFRC13CStateManager
/* 801079C8 00104928 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801079CC 0010492C 41 82 00 70 */ beq lbl_80107A3C
/* 801079D0 00104930 7F A3 EB 78 */ mr r3, r29
/* 801079D4 00104934 7F C5 F3 78 */ mr r5, r30
/* 801079D8 00104938 38 80 00 01 */ li r4, 1
/* 801079DC 0010493C 4B FF FC 65 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager
/* 801079E0 00104940 48 00 00 5C */ b lbl_80107A3C
lbl_801079E4:
/* 801079E4 00104944 2C 00 00 05 */ cmpwi r0, 5
/* 801079E8 00104948 40 82 00 14 */ bne lbl_801079FC
/* 801079EC 0010494C 80 7D 00 4C */ lwz r3, 0x4c(r29)
/* 801079F0 00104950 7F E4 FB 78 */ mr r4, r31
/* 801079F4 00104954 48 14 7D 7D */ bl ProcessUserInput__15CSaveGameScreenFRC11CFinalInput
/* 801079F8 00104958 48 00 00 44 */ b lbl_80107A3C
lbl_801079FC:
/* 801079FC 0010495C 2C 00 00 06 */ cmpwi r0, 6
/* 80107A00 00104960 40 82 00 14 */ bne lbl_80107A14
/* 80107A04 00104964 80 7D 00 44 */ lwz r3, 0x44(r29)
/* 80107A08 00104968 7F E4 FB 78 */ mr r4, r31
/* 80107A0C 0010496C 48 0E 7C 55 */ bl ProcessControllerInput__14CMessageScreenFRC11CFinalInput
/* 80107A10 00104970 48 00 00 2C */ b lbl_80107A3C
lbl_80107A14:
/* 80107A14 00104974 80 7D 00 48 */ lwz r3, 0x48(r29)
/* 80107A18 00104978 28 03 00 00 */ cmplwi r3, 0
/* 80107A1C 0010497C 41 82 00 20 */ beq lbl_80107A3C
/* 80107A20 00104980 7F C4 F3 78 */ mr r4, r30
/* 80107A24 00104984 7F E5 FB 78 */ mr r5, r31
/* 80107A28 00104988 4B F6 B1 8D */ bl ProcessControllerInput__12CPauseScreenFRC13CStateManagerRC11CFinalInput
/* 80107A2C 0010498C 48 00 00 10 */ b lbl_80107A3C
lbl_80107A30:
/* 80107A30 00104990 80 7D 00 34 */ lwz r3, 0x34(r29)
/* 80107A34 00104994 7F E4 FB 78 */ mr r4, r31
/* 80107A38 00104998 4B F5 DE F1 */ bl ProcessControllerInput__9CSamusHudFRC11CFinalInput
lbl_80107A3C:
/* 80107A3C 0010499C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80107A40 001049A0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80107A44 001049A4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80107A48 001049A8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80107A4C 001049AC 7C 08 03 A6 */ mtlr r0
/* 80107A50 001049B0 38 21 00 20 */ addi r1, r1, 0x20
/* 80107A54 001049B4 4E 80 00 20 */ blr
.global RefreshHudOptions__17CInGameGuiManagerFv
RefreshHudOptions__17CInGameGuiManagerFv:
/* 80107A58 001049B8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80107A5C 001049BC 7C 08 02 A6 */ mflr r0
/* 80107A60 001049C0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80107A64 001049C4 80 63 00 34 */ lwz r3, 0x34(r3)
/* 80107A68 001049C8 4B F6 57 B5 */ bl RefreshHudOptions__9CSamusHudFv
/* 80107A6C 001049CC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80107A70 001049D0 7C 08 03 A6 */ mtlr r0
/* 80107A74 001049D4 38 21 00 10 */ addi r1, r1, 0x10
/* 80107A78 001049D8 4E 80 00 20 */ blr
.global OnNewPauseScreenState__17CInGameGuiManagerFR18CArchitectureQueue
OnNewPauseScreenState__17CInGameGuiManagerFR18CArchitectureQueue:
/* 80107A7C 001049DC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80107A80 001049E0 7C 08 02 A6 */ mflr r0
/* 80107A84 001049E4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80107A88 001049E8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80107A8C 001049EC 93 C1 00 08 */ stw r30, 8(r1)
/* 80107A90 001049F0 7C 7E 1B 78 */ mr r30, r3
/* 80107A94 001049F4 80 03 01 C0 */ lwz r0, 0x1c0(r3)
/* 80107A98 001049F8 2C 00 00 03 */ cmpwi r0, 3
/* 80107A9C 001049FC 41 82 00 38 */ beq lbl_80107AD4
/* 80107AA0 00104A00 2C 00 00 04 */ cmpwi r0, 4
/* 80107AA4 00104A04 41 82 00 30 */ beq lbl_80107AD4
/* 80107AA8 00104A08 80 7E 00 48 */ lwz r3, 0x48(r30)
/* 80107AAC 00104A0C 28 03 00 00 */ cmplwi r3, 0
/* 80107AB0 00104A10 41 82 00 14 */ beq lbl_80107AC4
/* 80107AB4 00104A14 80 83 00 08 */ lwz r4, 8(r3)
/* 80107AB8 00104A18 80 03 00 0C */ lwz r0, 0xc(r3)
/* 80107ABC 00104A1C 7C 04 00 00 */ cmpw r4, r0
/* 80107AC0 00104A20 40 82 00 AC */ bne lbl_80107B6C
lbl_80107AC4:
/* 80107AC4 00104A24 38 80 00 01 */ li r4, 1
/* 80107AC8 00104A28 4B F6 C3 C5 */ bl __dt__12CPauseScreenFv
/* 80107ACC 00104A2C 38 00 00 00 */ li r0, 0
/* 80107AD0 00104A30 90 1E 00 48 */ stw r0, 0x48(r30)
lbl_80107AD4:
/* 80107AD4 00104A34 80 7E 01 C0 */ lwz r3, 0x1c0(r30)
/* 80107AD8 00104A38 38 00 00 00 */ li r0, 0
/* 80107ADC 00104A3C 2C 03 00 00 */ cmpwi r3, 0
/* 80107AE0 00104A40 41 80 00 10 */ blt lbl_80107AF0
/* 80107AE4 00104A44 2C 03 00 01 */ cmpwi r3, 1
/* 80107AE8 00104A48 41 81 00 08 */ bgt lbl_80107AF0
/* 80107AEC 00104A4C 38 00 00 01 */ li r0, 1
lbl_80107AF0:
/* 80107AF0 00104A50 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80107AF4 00104A54 41 82 00 70 */ beq lbl_80107B64
/* 80107AF8 00104A58 83 FE 00 44 */ lwz r31, 0x44(r30)
/* 80107AFC 00104A5C 28 1F 00 00 */ cmplwi r31, 0
/* 80107B00 00104A60 41 82 00 40 */ beq lbl_80107B40
/* 80107B04 00104A64 34 1F 00 0C */ addic. r0, r31, 0xc
/* 80107B08 00104A68 41 82 00 18 */ beq lbl_80107B20
/* 80107B0C 00104A6C 34 1F 00 0C */ addic. r0, r31, 0xc
/* 80107B10 00104A70 41 82 00 10 */ beq lbl_80107B20
/* 80107B14 00104A74 38 7F 00 0C */ addi r3, r31, 0xc
/* 80107B18 00104A78 38 80 00 00 */ li r4, 0
/* 80107B1C 00104A7C 48 23 93 25 */ bl __dt__6CTokenFv
lbl_80107B20:
/* 80107B20 00104A80 28 1F 00 00 */ cmplwi r31, 0
/* 80107B24 00104A84 41 82 00 14 */ beq lbl_80107B38
/* 80107B28 00104A88 41 82 00 10 */ beq lbl_80107B38
/* 80107B2C 00104A8C 7F E3 FB 78 */ mr r3, r31
/* 80107B30 00104A90 38 80 00 00 */ li r4, 0
/* 80107B34 00104A94 48 23 93 0D */ bl __dt__6CTokenFv
lbl_80107B38:
/* 80107B38 00104A98 7F E3 FB 78 */ mr r3, r31
/* 80107B3C 00104A9C 48 20 DD F5 */ bl Free__7CMemoryFPCv
lbl_80107B40:
/* 80107B40 00104AA0 38 00 00 00 */ li r0, 0
/* 80107B44 00104AA4 7F C3 F3 78 */ mr r3, r30
/* 80107B48 00104AA8 90 1E 00 44 */ stw r0, 0x44(r30)
/* 80107B4C 00104AAC 4B FF EF E1 */ bl TryReloadAreaTextures__17CInGameGuiManagerFv
/* 80107B50 00104AB0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80107B54 00104AB4 41 82 00 18 */ beq lbl_80107B6C
/* 80107B58 00104AB8 48 24 D8 1D */ bl EnableTextureTimeout__6CModelFv
/* 80107B5C 00104ABC 7F C3 F3 78 */ mr r3, r30
/* 80107B60 00104AC0 4B FF FE F9 */ bl RefreshHudOptions__17CInGameGuiManagerFv
lbl_80107B64:
/* 80107B64 00104AC4 80 1E 01 C0 */ lwz r0, 0x1c0(r30)
/* 80107B68 00104AC8 90 1E 01 BC */ stw r0, 0x1bc(r30)
lbl_80107B6C:
/* 80107B6C 00104ACC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80107B70 00104AD0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80107B74 00104AD4 83 C1 00 08 */ lwz r30, 8(r1)
/* 80107B78 00104AD8 7C 08 03 A6 */ mtlr r0
/* 80107B7C 00104ADC 38 21 00 10 */ addi r1, r1, 0x10
/* 80107B80 00104AE0 4E 80 00 20 */ blr
.global UpdateAutoMapper__17CInGameGuiManagerFR13CStateManagerf
UpdateAutoMapper__17CInGameGuiManagerFR13CStateManagerf:
/* 80107B84 00104AE4 94 21 FB C0 */ stwu r1, -0x440(r1)
/* 80107B88 00104AE8 7C 08 02 A6 */ mflr r0
/* 80107B8C 00104AEC 90 01 04 44 */ stw r0, 0x444(r1)
/* 80107B90 00104AF0 DB E1 04 30 */ stfd f31, 0x430(r1)
/* 80107B94 00104AF4 F3 E1 04 38 */ psq_st f31, 1080(r1), 0, qr0
/* 80107B98 00104AF8 DB C1 04 20 */ stfd f30, 0x420(r1)
/* 80107B9C 00104AFC F3 C1 04 28 */ psq_st f30, 1064(r1), 0, qr0
/* 80107BA0 00104B00 DB A1 04 10 */ stfd f29, 0x410(r1)
/* 80107BA4 00104B04 F3 A1 04 18 */ psq_st f29, 1048(r1), 0, qr0
/* 80107BA8 00104B08 DB 81 04 00 */ stfd f28, 0x400(r1)
/* 80107BAC 00104B0C F3 81 04 08 */ psq_st f28, 1032(r1), 0, qr0
/* 80107BB0 00104B10 93 E1 03 FC */ stw r31, 0x3fc(r1)
/* 80107BB4 00104B14 93 C1 03 F8 */ stw r30, 0x3f8(r1)
/* 80107BB8 00104B18 7C 7F 1B 78 */ mr r31, r3
/* 80107BBC 00104B1C 80 63 00 38 */ lwz r3, 0x38(r3)
/* 80107BC0 00104B20 4B F9 00 C1 */ bl Update__11CAutoMapperFfRC13CStateManager
/* 80107BC4 00104B24 80 9F 01 44 */ lwz r4, 0x144(r31)
/* 80107BC8 00104B28 80 7F 01 48 */ lwz r3, 0x148(r31)
/* 80107BCC 00104B2C 3B C4 00 74 */ addi r30, r4, 0x74
/* 80107BD0 00104B30 48 1B D1 49 */ bl Parent__10CGuiObjectFv
/* 80107BD4 00104B34 7C 64 1B 78 */ mr r4, r3
/* 80107BD8 00104B38 7F C5 F3 78 */ mr r5, r30
/* 80107BDC 00104B3C 38 61 03 98 */ addi r3, r1, 0x398
/* 80107BE0 00104B40 38 84 00 34 */ addi r4, r4, 0x34
/* 80107BE4 00104B44 48 20 AD 6D */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80107BE8 00104B48 38 61 03 C8 */ addi r3, r1, 0x3c8
/* 80107BEC 00104B4C 38 81 03 98 */ addi r4, r1, 0x398
/* 80107BF0 00104B50 48 20 AF 85 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80107BF4 00104B54 38 61 00 30 */ addi r3, r1, 0x30
/* 80107BF8 00104B58 38 81 03 C8 */ addi r4, r1, 0x3c8
/* 80107BFC 00104B5C 48 20 A5 2D */ bl FromMatrix__11CQuaternionFRC12CTransform4f
/* 80107C00 00104B60 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 80107C04 00104B64 38 61 00 20 */ addi r3, r1, 0x20
/* 80107C08 00104B68 D0 1F 01 54 */ stfs f0, 0x154(r31)
/* 80107C0C 00104B6C 80 81 00 34 */ lwz r4, 0x34(r1)
/* 80107C10 00104B70 80 01 00 38 */ lwz r0, 0x38(r1)
/* 80107C14 00104B74 90 9F 01 58 */ stw r4, 0x158(r31)
/* 80107C18 00104B78 90 1F 01 5C */ stw r0, 0x15c(r31)
/* 80107C1C 00104B7C 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 80107C20 00104B80 90 1F 01 60 */ stw r0, 0x160(r31)
/* 80107C24 00104B84 C0 41 03 F4 */ lfs f2, 0x3f4(r1)
/* 80107C28 00104B88 C0 21 03 E4 */ lfs f1, 0x3e4(r1)
/* 80107C2C 00104B8C C0 01 03 D4 */ lfs f0, 0x3d4(r1)
/* 80107C30 00104B90 D0 1F 01 64 */ stfs f0, 0x164(r31)
/* 80107C34 00104B94 D0 3F 01 68 */ stfs f1, 0x168(r31)
/* 80107C38 00104B98 D0 5F 01 6C */ stfs f2, 0x16c(r31)
/* 80107C3C 00104B9C 80 9F 01 4C */ lwz r4, 0x14c(r31)
/* 80107C40 00104BA0 3B C4 00 34 */ addi r30, r4, 0x34
/* 80107C44 00104BA4 7F C4 F3 78 */ mr r4, r30
/* 80107C48 00104BA8 48 20 A4 E1 */ bl FromMatrix__11CQuaternionFRC12CTransform4f
/* 80107C4C 00104BAC C0 01 00 20 */ lfs f0, 0x20(r1)
/* 80107C50 00104BB0 C0 22 94 88 */ lfs f1, lbl_805AB1A8@sda21(r2)
/* 80107C54 00104BB4 D0 1F 01 70 */ stfs f0, 0x170(r31)
/* 80107C58 00104BB8 C0 42 94 84 */ lfs f2, lbl_805AB1A4@sda21(r2)
/* 80107C5C 00104BBC 80 61 00 24 */ lwz r3, 0x24(r1)
/* 80107C60 00104BC0 80 01 00 28 */ lwz r0, 0x28(r1)
/* 80107C64 00104BC4 C0 62 94 80 */ lfs f3, lbl_805AB1A0@sda21(r2)
/* 80107C68 00104BC8 90 7F 01 74 */ stw r3, 0x174(r31)
/* 80107C6C 00104BCC 90 1F 01 78 */ stw r0, 0x178(r31)
/* 80107C70 00104BD0 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 80107C74 00104BD4 90 1F 01 7C */ stw r0, 0x17c(r31)
/* 80107C78 00104BD8 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13)
/* 80107C7C 00104BDC C1 2D 89 D0 */ lfs f9, lbl_805A7590@sda21(r13)
/* 80107C80 00104BE0 C0 1E 00 04 */ lfs f0, 4(r30)
/* 80107C84 00104BE4 C0 DE 00 14 */ lfs f6, 0x14(r30)
/* 80107C88 00104BE8 C0 BE 00 24 */ lfs f5, 0x24(r30)
/* 80107C8C 00104BEC EC 09 00 32 */ fmuls f0, f9, f0
/* 80107C90 00104BF0 C0 9E 00 0C */ lfs f4, 0xc(r30)
/* 80107C94 00104BF4 EC E9 01 B2 */ fmuls f7, f9, f6
/* 80107C98 00104BF8 C1 1E 00 1C */ lfs f8, 0x1c(r30)
/* 80107C9C 00104BFC EC A9 01 72 */ fmuls f5, f9, f5
/* 80107CA0 00104C00 C0 DE 00 2C */ lfs f6, 0x2c(r30)
/* 80107CA4 00104C04 C1 23 00 EC */ lfs f9, 0xec(r3)
/* 80107CA8 00104C08 EC 84 00 2A */ fadds f4, f4, f0
/* 80107CAC 00104C0C C0 1E 00 08 */ lfs f0, 8(r30)
/* 80107CB0 00104C10 ED 08 38 2A */ fadds f8, f8, f7
/* 80107CB4 00104C14 C0 FE 00 18 */ lfs f7, 0x18(r30)
/* 80107CB8 00104C18 EC C6 28 2A */ fadds f6, f6, f5
/* 80107CBC 00104C1C EC 09 00 32 */ fmuls f0, f9, f0
/* 80107CC0 00104C20 EC E9 01 F2 */ fmuls f7, f9, f7
/* 80107CC4 00104C24 C0 BE 00 28 */ lfs f5, 0x28(r30)
/* 80107CC8 00104C28 EC 04 00 2A */ fadds f0, f4, f0
/* 80107CCC 00104C2C EC 89 01 72 */ fmuls f4, f9, f5
/* 80107CD0 00104C30 EC A8 38 2A */ fadds f5, f8, f7
/* 80107CD4 00104C34 D0 1F 01 80 */ stfs f0, 0x180(r31)
/* 80107CD8 00104C38 EC 06 20 2A */ fadds f0, f6, f4
/* 80107CDC 00104C3C D0 BF 01 84 */ stfs f5, 0x184(r31)
/* 80107CE0 00104C40 D0 1F 01 88 */ stfs f0, 0x188(r31)
/* 80107CE4 00104C44 80 FF 01 4C */ lwz r7, 0x14c(r31)
/* 80107CE8 00104C48 80 07 00 BC */ lwz r0, 0xbc(r7)
/* 80107CEC 00104C4C 80 C7 00 C0 */ lwz r6, 0xc0(r7)
/* 80107CF0 00104C50 90 01 00 5C */ stw r0, 0x5c(r1)
/* 80107CF4 00104C54 80 A7 00 C4 */ lwz r5, 0xc4(r7)
/* 80107CF8 00104C58 C0 01 00 5C */ lfs f0, 0x5c(r1)
/* 80107CFC 00104C5C 80 87 00 C8 */ lwz r4, 0xc8(r7)
/* 80107D00 00104C60 EC 01 00 32 */ fmuls f0, f1, f0
/* 80107D04 00104C64 80 67 00 CC */ lwz r3, 0xcc(r7)
/* 80107D08 00104C68 80 07 00 D0 */ lwz r0, 0xd0(r7)
/* 80107D0C 00104C6C 90 C1 00 60 */ stw r6, 0x60(r1)
/* 80107D10 00104C70 EC 02 00 32 */ fmuls f0, f2, f0
/* 80107D14 00104C74 90 A1 00 64 */ stw r5, 0x64(r1)
/* 80107D18 00104C78 EC 23 00 32 */ fmuls f1, f3, f0
/* 80107D1C 00104C7C 90 81 00 68 */ stw r4, 0x68(r1)
/* 80107D20 00104C80 90 61 00 6C */ stw r3, 0x6c(r1)
/* 80107D24 00104C84 90 01 00 70 */ stw r0, 0x70(r1)
/* 80107D28 00104C88 48 20 D5 99 */ bl SlowTangentR__5CMathFf
/* 80107D2C 00104C8C C0 02 94 8C */ lfs f0, lbl_805AB1AC@sda21(r2)
/* 80107D30 00104C90 38 80 00 00 */ li r4, 0
/* 80107D34 00104C94 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13)
/* 80107D38 00104C98 EF E1 00 24 */ fdivs f31, f1, f0
/* 80107D3C 00104C9C 80 7F 00 38 */ lwz r3, 0x38(r31)
/* 80107D40 00104CA0 C0 25 00 E4 */ lfs f1, 0xe4(r5)
/* 80107D44 00104CA4 C0 05 00 E8 */ lfs f0, 0xe8(r5)
/* 80107D48 00104CA8 80 03 01 BC */ lwz r0, 0x1bc(r3)
/* 80107D4C 00104CAC 2C 00 00 00 */ cmpwi r0, 0
/* 80107D50 00104CB0 EF DF 00 72 */ fmuls f30, f31, f1
/* 80107D54 00104CB4 EF BF 00 32 */ fmuls f29, f31, f0
/* 80107D58 00104CB8 41 82 00 14 */ beq lbl_80107D6C
/* 80107D5C 00104CBC 80 03 01 C0 */ lwz r0, 0x1c0(r3)
/* 80107D60 00104CC0 2C 00 00 00 */ cmpwi r0, 0
/* 80107D64 00104CC4 41 82 00 08 */ beq lbl_80107D6C
/* 80107D68 00104CC8 38 80 00 01 */ li r4, 1
lbl_80107D6C:
/* 80107D6C 00104CCC 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80107D70 00104CD0 41 82 00 B0 */ beq lbl_80107E20
/* 80107D74 00104CD4 FC 20 F0 90 */ fmr f1, f30
/* 80107D78 00104CD8 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2)
/* 80107D7C 00104CDC FC 60 E8 90 */ fmr f3, f29
/* 80107D80 00104CE0 38 61 02 E4 */ addi r3, r1, 0x2e4
/* 80107D84 00104CE4 48 20 B4 85 */ bl Scale__12CTransform4fFfff
/* 80107D88 00104CE8 38 61 03 14 */ addi r3, r1, 0x314
/* 80107D8C 00104CEC 38 9F 01 70 */ addi r4, r31, 0x170
/* 80107D90 00104CF0 48 20 A2 FD */ bl BuildTransform__11CQuaternionCFv
/* 80107D94 00104CF4 38 61 03 38 */ addi r3, r1, 0x338
/* 80107D98 00104CF8 38 81 03 14 */ addi r4, r1, 0x314
/* 80107D9C 00104CFC 38 BF 01 80 */ addi r5, r31, 0x180
/* 80107DA0 00104D00 48 20 B4 D9 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 80107DA4 00104D04 7C 64 1B 78 */ mr r4, r3
/* 80107DA8 00104D08 38 61 03 68 */ addi r3, r1, 0x368
/* 80107DAC 00104D0C 38 A1 02 E4 */ addi r5, r1, 0x2e4
/* 80107DB0 00104D10 48 20 AB A1 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80107DB4 00104D14 80 7F 01 48 */ lwz r3, 0x148(r31)
/* 80107DB8 00104D18 38 81 03 68 */ addi r4, r1, 0x368
/* 80107DBC 00104D1C 48 1B C9 7D */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f
/* 80107DC0 00104D20 FC 20 F8 90 */ fmr f1, f31
/* 80107DC4 00104D24 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2)
/* 80107DC8 00104D28 FC 60 F8 90 */ fmr f3, f31
/* 80107DCC 00104D2C 38 61 02 30 */ addi r3, r1, 0x230
/* 80107DD0 00104D30 48 20 B4 39 */ bl Scale__12CTransform4fFfff
/* 80107DD4 00104D34 38 61 02 60 */ addi r3, r1, 0x260
/* 80107DD8 00104D38 38 9F 01 70 */ addi r4, r31, 0x170
/* 80107DDC 00104D3C 48 20 A2 B1 */ bl BuildTransform__11CQuaternionCFv
/* 80107DE0 00104D40 38 61 02 84 */ addi r3, r1, 0x284
/* 80107DE4 00104D44 38 81 02 60 */ addi r4, r1, 0x260
/* 80107DE8 00104D48 38 BF 01 80 */ addi r5, r31, 0x180
/* 80107DEC 00104D4C 48 20 B4 8D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 80107DF0 00104D50 7C 64 1B 78 */ mr r4, r3
/* 80107DF4 00104D54 38 61 02 B4 */ addi r3, r1, 0x2b4
/* 80107DF8 00104D58 38 A1 02 30 */ addi r5, r1, 0x230
/* 80107DFC 00104D5C 48 20 AB 55 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80107E00 00104D60 38 7F 01 8C */ addi r3, r31, 0x18c
/* 80107E04 00104D64 38 81 02 B4 */ addi r4, r1, 0x2b4
/* 80107E08 00104D68 48 20 AD 39 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80107E0C 00104D6C 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13)
/* 80107E10 00104D70 80 7F 01 48 */ lwz r3, 0x148(r31)
/* 80107E14 00104D74 38 84 00 24 */ addi r4, r4, 0x24
/* 80107E18 00104D78 48 1C 2A 55 */ bl SetColor__10CGuiWidgetFRC6CColor
/* 80107E1C 00104D7C 48 00 01 F4 */ b lbl_80108010
lbl_80107E20:
/* 80107E20 00104D80 38 80 00 00 */ li r4, 0
/* 80107E24 00104D84 4B F8 DF 01 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState
/* 80107E28 00104D88 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80107E2C 00104D8C 41 82 00 50 */ beq lbl_80107E7C
/* 80107E30 00104D90 38 61 01 DC */ addi r3, r1, 0x1dc
/* 80107E34 00104D94 38 9F 01 54 */ addi r4, r31, 0x154
/* 80107E38 00104D98 48 20 A2 55 */ bl BuildTransform__11CQuaternionCFv
/* 80107E3C 00104D9C 38 61 02 00 */ addi r3, r1, 0x200
/* 80107E40 00104DA0 38 81 01 DC */ addi r4, r1, 0x1dc
/* 80107E44 00104DA4 38 BF 01 64 */ addi r5, r31, 0x164
/* 80107E48 00104DA8 48 20 B4 31 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 80107E4C 00104DAC 7C 64 1B 78 */ mr r4, r3
/* 80107E50 00104DB0 80 7F 01 48 */ lwz r3, 0x148(r31)
/* 80107E54 00104DB4 48 1B C8 E5 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f
/* 80107E58 00104DB8 80 9F 01 48 */ lwz r4, 0x148(r31)
/* 80107E5C 00104DBC 38 7F 01 8C */ addi r3, r31, 0x18c
/* 80107E60 00104DC0 38 84 00 34 */ addi r4, r4, 0x34
/* 80107E64 00104DC4 48 20 AC DD */ bl __as__12CTransform4fFRC12CTransform4f
/* 80107E68 00104DC8 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13)
/* 80107E6C 00104DCC 80 7F 01 48 */ lwz r3, 0x148(r31)
/* 80107E70 00104DD0 38 84 00 38 */ addi r4, r4, 0x38
/* 80107E74 00104DD4 48 1C 29 F9 */ bl SetColor__10CGuiWidgetFRC6CColor
/* 80107E78 00104DD8 48 00 01 98 */ b lbl_80108010
lbl_80107E7C:
/* 80107E7C 00104DDC 80 7F 00 38 */ lwz r3, 0x38(r31)
/* 80107E80 00104DE0 80 03 01 C0 */ lwz r0, 0x1c0(r3)
/* 80107E84 00104DE4 2C 00 00 00 */ cmpwi r0, 0
/* 80107E88 00104DE8 41 82 00 24 */ beq lbl_80107EAC
/* 80107E8C 00104DEC C0 23 01 C4 */ lfs f1, 0x1c4(r3)
/* 80107E90 00104DF0 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 80107E94 00104DF4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80107E98 00104DF8 40 81 00 0C */ ble lbl_80107EA4
/* 80107E9C 00104DFC C0 03 01 C8 */ lfs f0, 0x1c8(r3)
/* 80107EA0 00104E00 EC 00 08 24 */ fdivs f0, f0, f1
lbl_80107EA4:
/* 80107EA4 00104E04 FF 80 00 90 */ fmr f28, f0
/* 80107EA8 00104E08 48 00 00 24 */ b lbl_80107ECC
lbl_80107EAC:
/* 80107EAC 00104E0C C0 43 01 C4 */ lfs f2, 0x1c4(r3)
/* 80107EB0 00104E10 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2)
/* 80107EB4 00104E14 FC 02 08 40 */ fcmpo cr0, f2, f1
/* 80107EB8 00104E18 40 81 00 0C */ ble lbl_80107EC4
/* 80107EBC 00104E1C C0 03 01 C8 */ lfs f0, 0x1c8(r3)
/* 80107EC0 00104E20 EC 20 10 24 */ fdivs f1, f0, f2
lbl_80107EC4:
/* 80107EC4 00104E24 C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2)
/* 80107EC8 00104E28 EF 80 08 28 */ fsubs f28, f0, f1
lbl_80107ECC:
/* 80107ECC 00104E2C FC 20 E0 90 */ fmr f1, f28
/* 80107ED0 00104E30 38 61 00 10 */ addi r3, r1, 0x10
/* 80107ED4 00104E34 38 9F 01 54 */ addi r4, r31, 0x154
/* 80107ED8 00104E38 38 BF 01 70 */ addi r5, r31, 0x170
/* 80107EDC 00104E3C 48 20 9E 1D */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf
/* 80107EE0 00104E40 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2)
/* 80107EE4 00104E44 38 61 01 28 */ addi r3, r1, 0x128
/* 80107EE8 00104E48 C0 A1 00 10 */ lfs f5, 0x10(r1)
/* 80107EEC 00104E4C C0 21 00 14 */ lfs f1, 0x14(r1)
/* 80107EF0 00104E50 EC 1F 10 28 */ fsubs f0, f31, f2
/* 80107EF4 00104E54 C0 81 00 18 */ lfs f4, 0x18(r1)
/* 80107EF8 00104E58 ED 22 E0 28 */ fsubs f9, f2, f28
/* 80107EFC 00104E5C C0 61 00 1C */ lfs f3, 0x1c(r1)
/* 80107F00 00104E60 D0 21 00 50 */ stfs f1, 0x50(r1)
/* 80107F04 00104E64 EC 3C 10 3A */ fmadds f1, f28, f0, f2
/* 80107F08 00104E68 D0 61 00 58 */ stfs f3, 0x58(r1)
/* 80107F0C 00104E6C FC 60 08 90 */ fmr f3, f1
/* 80107F10 00104E70 D0 A1 00 4C */ stfs f5, 0x4c(r1)
/* 80107F14 00104E74 D0 81 00 54 */ stfs f4, 0x54(r1)
/* 80107F18 00104E78 C0 BF 01 84 */ lfs f5, 0x184(r31)
/* 80107F1C 00104E7C C0 1F 01 80 */ lfs f0, 0x180(r31)
/* 80107F20 00104E80 C0 9F 01 88 */ lfs f4, 0x188(r31)
/* 80107F24 00104E84 EC E5 07 32 */ fmuls f7, f5, f28
/* 80107F28 00104E88 C1 1F 01 68 */ lfs f8, 0x168(r31)
/* 80107F2C 00104E8C EC 00 07 32 */ fmuls f0, f0, f28
/* 80107F30 00104E90 EC A4 07 32 */ fmuls f5, f4, f28
/* 80107F34 00104E94 C0 DF 01 6C */ lfs f6, 0x16c(r31)
/* 80107F38 00104E98 C0 9F 01 64 */ lfs f4, 0x164(r31)
/* 80107F3C 00104E9C EC E8 3A 7A */ fmadds f7, f8, f9, f7
/* 80107F40 00104EA0 EC A6 2A 7A */ fmadds f5, f6, f9, f5
/* 80107F44 00104EA4 EC 04 02 7A */ fmadds f0, f4, f9, f0
/* 80107F48 00104EA8 D0 E1 00 44 */ stfs f7, 0x44(r1)
/* 80107F4C 00104EAC D0 01 00 40 */ stfs f0, 0x40(r1)
/* 80107F50 00104EB0 D0 A1 00 48 */ stfs f5, 0x48(r1)
/* 80107F54 00104EB4 48 20 B2 B5 */ bl Scale__12CTransform4fFfff
/* 80107F58 00104EB8 38 61 01 58 */ addi r3, r1, 0x158
/* 80107F5C 00104EBC 38 81 00 4C */ addi r4, r1, 0x4c
/* 80107F60 00104EC0 48 20 A1 2D */ bl BuildTransform__11CQuaternionCFv
/* 80107F64 00104EC4 38 61 01 7C */ addi r3, r1, 0x17c
/* 80107F68 00104EC8 38 81 01 58 */ addi r4, r1, 0x158
/* 80107F6C 00104ECC 38 A1 00 40 */ addi r5, r1, 0x40
/* 80107F70 00104ED0 48 20 B3 09 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 80107F74 00104ED4 7C 64 1B 78 */ mr r4, r3
/* 80107F78 00104ED8 38 61 01 AC */ addi r3, r1, 0x1ac
/* 80107F7C 00104EDC 38 A1 01 28 */ addi r5, r1, 0x128
/* 80107F80 00104EE0 48 20 A9 D1 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80107F84 00104EE4 38 7F 01 8C */ addi r3, r31, 0x18c
/* 80107F88 00104EE8 38 81 01 AC */ addi r4, r1, 0x1ac
/* 80107F8C 00104EEC 48 20 AB B5 */ bl __as__12CTransform4fFRC12CTransform4f
/* 80107F90 00104EF0 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2)
/* 80107F94 00104EF4 38 61 00 74 */ addi r3, r1, 0x74
/* 80107F98 00104EF8 EC 3E 10 28 */ fsubs f1, f30, f2
/* 80107F9C 00104EFC EC 1D 10 28 */ fsubs f0, f29, f2
/* 80107FA0 00104F00 EC 3C 10 7A */ fmadds f1, f28, f1, f2
/* 80107FA4 00104F04 EC 7C 10 3A */ fmadds f3, f28, f0, f2
/* 80107FA8 00104F08 48 20 B2 61 */ bl Scale__12CTransform4fFfff
/* 80107FAC 00104F0C 38 61 00 A4 */ addi r3, r1, 0xa4
/* 80107FB0 00104F10 38 81 00 4C */ addi r4, r1, 0x4c
/* 80107FB4 00104F14 48 20 A0 D9 */ bl BuildTransform__11CQuaternionCFv
/* 80107FB8 00104F18 38 61 00 C8 */ addi r3, r1, 0xc8
/* 80107FBC 00104F1C 38 81 00 A4 */ addi r4, r1, 0xa4
/* 80107FC0 00104F20 38 A1 00 40 */ addi r5, r1, 0x40
/* 80107FC4 00104F24 48 20 B2 B5 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 80107FC8 00104F28 7C 64 1B 78 */ mr r4, r3
/* 80107FCC 00104F2C 38 61 00 F8 */ addi r3, r1, 0xf8
/* 80107FD0 00104F30 38 A1 00 74 */ addi r5, r1, 0x74
/* 80107FD4 00104F34 48 20 A9 7D */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80107FD8 00104F38 80 7F 01 48 */ lwz r3, 0x148(r31)
/* 80107FDC 00104F3C 38 81 00 F8 */ addi r4, r1, 0xf8
/* 80107FE0 00104F40 48 1B C7 59 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f
/* 80107FE4 00104F44 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13)
/* 80107FE8 00104F48 FC 20 E0 90 */ fmr f1, f28
/* 80107FEC 00104F4C 38 61 00 08 */ addi r3, r1, 8
/* 80107FF0 00104F50 38 85 00 38 */ addi r4, r5, 0x38
/* 80107FF4 00104F54 38 A5 00 24 */ addi r5, r5, 0x24
/* 80107FF8 00104F58 48 25 B2 B5 */ bl Lerp__6CColorFRC6CColorRC6CColorf
/* 80107FFC 00104F5C 80 01 00 08 */ lwz r0, 8(r1)
/* 80108000 00104F60 38 81 00 0C */ addi r4, r1, 0xc
/* 80108004 00104F64 90 01 00 0C */ stw r0, 0xc(r1)
/* 80108008 00104F68 80 7F 01 48 */ lwz r3, 0x148(r31)
/* 8010800C 00104F6C 48 1C 28 61 */ bl SetColor__10CGuiWidgetFRC6CColor
lbl_80108010:
/* 80108010 00104F70 E3 E1 04 38 */ psq_l f31, 1080(r1), 0, qr0
/* 80108014 00104F74 CB E1 04 30 */ lfd f31, 0x430(r1)
/* 80108018 00104F78 E3 C1 04 28 */ psq_l f30, 1064(r1), 0, qr0
/* 8010801C 00104F7C CB C1 04 20 */ lfd f30, 0x420(r1)
/* 80108020 00104F80 E3 A1 04 18 */ psq_l f29, 1048(r1), 0, qr0
/* 80108024 00104F84 CB A1 04 10 */ lfd f29, 0x410(r1)
/* 80108028 00104F88 E3 81 04 08 */ psq_l f28, 1032(r1), 0, qr0
/* 8010802C 00104F8C CB 81 04 00 */ lfd f28, 0x400(r1)
/* 80108030 00104F90 83 E1 03 FC */ lwz r31, 0x3fc(r1)
/* 80108034 00104F94 80 01 04 44 */ lwz r0, 0x444(r1)
/* 80108038 00104F98 83 C1 03 F8 */ lwz r30, 0x3f8(r1)
/* 8010803C 00104F9C 7C 08 03 A6 */ mtlr r0
/* 80108040 00104FA0 38 21 04 40 */ addi r1, r1, 0x440
/* 80108044 00104FA4 4E 80 00 20 */ blr
.global Update__17CInGameGuiManagerFRC13CStateManagerfR18CArchitectureQueueb
Update__17CInGameGuiManagerFRC13CStateManagerfR18CArchitectureQueueb:
/* 80108048 00104FA8 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 8010804C 00104FAC 7C 08 02 A6 */ mflr r0
/* 80108050 00104FB0 90 01 00 94 */ stw r0, 0x94(r1)
/* 80108054 00104FB4 DB E1 00 80 */ stfd f31, 0x80(r1)
/* 80108058 00104FB8 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0
/* 8010805C 00104FBC DB C1 00 70 */ stfd f30, 0x70(r1)
/* 80108060 00104FC0 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0
/* 80108064 00104FC4 BF 21 00 54 */ stmw r25, 0x54(r1)
/* 80108068 00104FC8 FF E0 08 90 */ fmr f31, f1
/* 8010806C 00104FCC 7C 7C 1B 78 */ mr r28, r3
/* 80108070 00104FD0 7C 9D 23 78 */ mr r29, r4
/* 80108074 00104FD4 7C BE 2B 78 */ mr r30, r5
/* 80108078 00104FD8 7C DF 33 78 */ mr r31, r6
/* 8010807C 00104FDC 4B FF F3 91 */ bl EnsureStates__17CInGameGuiManagerFR13CStateManager
/* 80108080 00104FE0 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2)
/* 80108084 00104FE4 C0 1C 01 D8 */ lfs f0, 0x1d8(r28)
/* 80108088 00104FE8 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8010808C 00104FEC 40 82 00 30 */ bne lbl_801080BC
/* 80108090 00104FF0 83 7C 01 DC */ lwz r27, 0x1dc(r28)
/* 80108094 00104FF4 28 1B 00 00 */ cmplwi r27, 0
/* 80108098 00104FF8 41 82 00 1C */ beq lbl_801080B4
/* 8010809C 00104FFC 41 82 00 10 */ beq lbl_801080AC
/* 801080A0 00105000 7F 63 DB 78 */ mr r3, r27
/* 801080A4 00105004 38 80 00 00 */ li r4, 0
/* 801080A8 00105008 48 23 8D 99 */ bl __dt__6CTokenFv
lbl_801080AC:
/* 801080AC 0010500C 7F 63 DB 78 */ mr r3, r27
/* 801080B0 00105010 48 20 D8 81 */ bl Free__7CMemoryFPCv
lbl_801080B4:
/* 801080B4 00105014 38 00 00 00 */ li r0, 0
/* 801080B8 00105018 90 1C 01 DC */ stw r0, 0x1dc(r28)
lbl_801080BC:
/* 801080BC 0010501C 80 7D 0E F4 */ lwz r3, 0xef4(r29)
/* 801080C0 00105020 80 9C 01 C4 */ lwz r4, 0x1c4(r28)
/* 801080C4 00105024 7C 03 20 40 */ cmplw r3, r4
/* 801080C8 00105028 41 82 01 84 */ beq lbl_8010824C
/* 801080CC 0010502C 80 1C 01 DC */ lwz r0, 0x1dc(r28)
/* 801080D0 00105030 28 00 00 00 */ cmplwi r0, 0
/* 801080D4 00105034 40 82 00 F4 */ bne lbl_801081C8
/* 801080D8 00105038 90 7C 01 C4 */ stw r3, 0x1c4(r28)
/* 801080DC 0010503C 80 1D 0E F8 */ lwz r0, 0xef8(r29)
/* 801080E0 00105040 90 1C 01 C8 */ stw r0, 0x1c8(r28)
/* 801080E4 00105044 80 1D 0E FC */ lwz r0, 0xefc(r29)
/* 801080E8 00105048 90 1C 01 CC */ stw r0, 0x1cc(r28)
/* 801080EC 0010504C 80 1D 0F 00 */ lwz r0, 0xf00(r29)
/* 801080F0 00105050 90 1C 01 D0 */ stw r0, 0x1d0(r28)
/* 801080F4 00105054 80 1D 0F 04 */ lwz r0, 0xf04(r29)
/* 801080F8 00105058 90 1C 01 D4 */ stw r0, 0x1d4(r28)
/* 801080FC 0010505C 80 7C 01 C4 */ lwz r3, 0x1c4(r28)
/* 80108100 00105060 3C 03 00 01 */ addis r0, r3, 1
/* 80108104 00105064 28 00 FF FF */ cmplwi r0, 0xffff
/* 80108108 00105068 41 82 01 DC */ beq lbl_801082E4
/* 8010810C 0010506C 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha
/* 80108110 00105070 3B 20 00 00 */ li r25, 0
/* 80108114 00105074 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l
/* 80108118 00105078 38 60 00 0C */ li r3, 0xc
/* 8010811C 0010507C 38 84 02 AC */ addi r4, r4, 0x2ac
/* 80108120 00105080 38 A0 00 00 */ li r5, 0
/* 80108124 00105084 48 20 D7 49 */ bl __nw__FUlPCcPCc
/* 80108128 00105088 7C 7B 1B 79 */ or. r27, r3, r3
/* 8010812C 0010508C 41 82 00 4C */ beq lbl_80108178
/* 80108130 00105090 80 DC 01 C4 */ lwz r6, 0x1c4(r28)
/* 80108134 00105094 3C 60 54 58 */ lis r3, 0x54585452@ha
/* 80108138 00105098 38 03 54 52 */ addi r0, r3, 0x54585452@l
/* 8010813C 0010509C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80108140 001050A0 90 01 00 40 */ stw r0, 0x40(r1)
/* 80108144 001050A4 38 61 00 38 */ addi r3, r1, 0x38
/* 80108148 001050A8 38 A1 00 40 */ addi r5, r1, 0x40
/* 8010814C 001050AC 90 C1 00 44 */ stw r6, 0x44(r1)
/* 80108150 001050B0 81 84 00 00 */ lwz r12, 0(r4)
/* 80108154 001050B4 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80108158 001050B8 7D 89 03 A6 */ mtctr r12
/* 8010815C 001050BC 4E 80 04 21 */ bctrl
/* 80108160 001050C0 7F 63 DB 78 */ mr r3, r27
/* 80108164 001050C4 38 81 00 38 */ addi r4, r1, 0x38
/* 80108168 001050C8 3B 20 00 01 */ li r25, 1
/* 8010816C 001050CC 48 23 8D 3D */ bl __ct__6CTokenFRC6CToken
/* 80108170 001050D0 38 00 00 00 */ li r0, 0
/* 80108174 001050D4 90 1B 00 08 */ stw r0, 8(r27)
lbl_80108178:
/* 80108178 001050D8 83 5C 01 DC */ lwz r26, 0x1dc(r28)
/* 8010817C 001050DC 28 1A 00 00 */ cmplwi r26, 0
/* 80108180 001050E0 41 82 00 1C */ beq lbl_8010819C
/* 80108184 001050E4 41 82 00 10 */ beq lbl_80108194
/* 80108188 001050E8 7F 43 D3 78 */ mr r3, r26
/* 8010818C 001050EC 38 80 00 00 */ li r4, 0
/* 80108190 001050F0 48 23 8C B1 */ bl __dt__6CTokenFv
lbl_80108194:
/* 80108194 001050F4 7F 43 D3 78 */ mr r3, r26
/* 80108198 001050F8 48 20 D7 99 */ bl Free__7CMemoryFPCv
lbl_8010819C:
/* 8010819C 001050FC 7F 20 07 75 */ extsb. r0, r25
/* 801081A0 00105100 93 7C 01 DC */ stw r27, 0x1dc(r28)
/* 801081A4 00105104 41 82 00 10 */ beq lbl_801081B4
/* 801081A8 00105108 38 61 00 38 */ addi r3, r1, 0x38
/* 801081AC 0010510C 38 80 FF FF */ li r4, -1
/* 801081B0 00105110 48 23 8C 91 */ bl __dt__6CTokenFv
lbl_801081B4:
/* 801081B4 00105114 80 7C 01 DC */ lwz r3, 0x1dc(r28)
/* 801081B8 00105118 48 23 8B CD */ bl Lock__6CTokenFv
/* 801081BC 0010511C C0 02 94 98 */ lfs f0, lbl_805AB1B8@sda21(r2)
/* 801081C0 00105120 D0 1C 01 D8 */ stfs f0, 0x1d8(r28)
/* 801081C4 00105124 48 00 01 20 */ b lbl_801082E4
lbl_801081C8:
/* 801081C8 00105128 3C 03 00 01 */ addis r0, r3, 1
/* 801081CC 0010512C 28 00 FF FF */ cmplwi r0, 0xffff
/* 801081D0 00105130 40 82 00 4C */ bne lbl_8010821C
/* 801081D4 00105134 38 61 00 30 */ addi r3, r1, 0x30
/* 801081D8 00105138 38 80 00 00 */ li r4, 0
/* 801081DC 0010513C 38 A0 00 00 */ li r5, 0
/* 801081E0 00105140 48 20 C1 6D */ bl __ct__9CVector2iFii
/* 801081E4 00105144 7C 64 1B 78 */ mr r4, r3
/* 801081E8 00105148 38 7D 0E F8 */ addi r3, r29, 0xef8
/* 801081EC 0010514C 48 20 C0 C1 */ bl __eq__FRC9CVector2iRC9CVector2i
/* 801081F0 00105150 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801081F4 00105154 41 82 00 28 */ beq lbl_8010821C
/* 801081F8 00105158 80 7D 0E F8 */ lwz r3, 0xef8(r29)
/* 801081FC 0010515C 38 00 FF FF */ li r0, -1
/* 80108200 00105160 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 80108204 00105164 90 7C 01 C8 */ stw r3, 0x1c8(r28)
/* 80108208 00105168 80 7D 0E FC */ lwz r3, 0xefc(r29)
/* 8010820C 0010516C 90 7C 01 CC */ stw r3, 0x1cc(r28)
/* 80108210 00105170 90 1C 01 C4 */ stw r0, 0x1c4(r28)
/* 80108214 00105174 D0 1C 01 D8 */ stfs f0, 0x1d8(r28)
/* 80108218 00105178 48 00 00 CC */ b lbl_801082E4
lbl_8010821C:
/* 8010821C 0010517C C0 3C 01 D8 */ lfs f1, 0x1d8(r28)
/* 80108220 00105180 C0 0D 89 FC */ lfs f0, lbl_805A75BC@sda21(r13)
/* 80108224 00105184 EC 21 F8 28 */ fsubs f1, f1, f31
/* 80108228 00105188 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8010822C 0010518C D0 21 00 24 */ stfs f1, 0x24(r1)
/* 80108230 00105190 40 80 00 0C */ bge lbl_8010823C
/* 80108234 00105194 38 61 00 24 */ addi r3, r1, 0x24
/* 80108238 00105198 48 00 00 08 */ b lbl_80108240
lbl_8010823C:
/* 8010823C 0010519C 38 6D 89 FC */ addi r3, r13, lbl_805A75BC@sda21
lbl_80108240:
/* 80108240 001051A0 C0 03 00 00 */ lfs f0, 0(r3)
/* 80108244 001051A4 D0 1C 01 D8 */ stfs f0, 0x1d8(r28)
/* 80108248 001051A8 48 00 00 9C */ b lbl_801082E4
lbl_8010824C:
/* 8010824C 001051AC 3C 04 00 01 */ addis r0, r4, 1
/* 80108250 001051B0 28 00 FF FF */ cmplwi r0, 0xffff
/* 80108254 001051B4 41 82 00 90 */ beq lbl_801082E4
/* 80108258 001051B8 83 5C 01 DC */ lwz r26, 0x1dc(r28)
/* 8010825C 001051BC 28 1A 00 00 */ cmplwi r26, 0
/* 80108260 001051C0 41 82 00 84 */ beq lbl_801082E4
/* 80108264 001051C4 80 1A 00 08 */ lwz r0, 8(r26)
/* 80108268 001051C8 28 00 00 00 */ cmplwi r0, 0
/* 8010826C 001051CC 41 82 00 0C */ beq lbl_80108278
/* 80108270 001051D0 38 60 00 01 */ li r3, 1
/* 80108274 001051D4 48 00 00 3C */ b lbl_801082B0
lbl_80108278:
/* 80108278 001051D8 88 1A 00 04 */ lbz r0, 4(r26)
/* 8010827C 001051DC 28 00 00 00 */ cmplwi r0, 0
/* 80108280 001051E0 41 82 00 2C */ beq lbl_801082AC
/* 80108284 001051E4 80 7A 00 00 */ lwz r3, 0(r26)
/* 80108288 001051E8 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8010828C 001051EC 28 00 00 00 */ cmplwi r0, 0
/* 80108290 001051F0 41 82 00 1C */ beq lbl_801082AC
/* 80108294 001051F4 7F 43 D3 78 */ mr r3, r26
/* 80108298 001051F8 48 23 8B 75 */ bl GetObj__6CTokenFv
/* 8010829C 001051FC 80 03 00 04 */ lwz r0, 4(r3)
/* 801082A0 00105200 38 60 00 01 */ li r3, 1
/* 801082A4 00105204 90 1A 00 08 */ stw r0, 8(r26)
/* 801082A8 00105208 48 00 00 08 */ b lbl_801082B0
lbl_801082AC:
/* 801082AC 0010520C 38 60 00 00 */ li r3, 0
lbl_801082B0:
/* 801082B0 00105210 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801082B4 00105214 41 82 00 30 */ beq lbl_801082E4
/* 801082B8 00105218 C0 3C 01 D8 */ lfs f1, 0x1d8(r28)
/* 801082BC 0010521C C0 0D 8A 00 */ lfs f0, lbl_805A75C0@sda21(r13)
/* 801082C0 00105220 EC 21 F8 2A */ fadds f1, f1, f31
/* 801082C4 00105224 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801082C8 00105228 D0 21 00 20 */ stfs f1, 0x20(r1)
/* 801082CC 0010522C 40 80 00 0C */ bge lbl_801082D8
/* 801082D0 00105230 38 61 00 20 */ addi r3, r1, 0x20
/* 801082D4 00105234 48 00 00 08 */ b lbl_801082DC
lbl_801082D8:
/* 801082D8 00105238 38 6D 8A 00 */ addi r3, r13, lbl_805A75C0@sda21
lbl_801082DC:
/* 801082DC 0010523C C0 03 00 00 */ lfs f0, 0(r3)
/* 801082E0 00105240 D0 1C 01 D8 */ stfs f0, 0x1d8(r28)
lbl_801082E4:
/* 801082E4 00105244 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 801082E8 00105248 41 82 00 C0 */ beq lbl_801083A8
/* 801082EC 0010524C 80 7D 08 4C */ lwz r3, 0x84c(r29)
/* 801082F0 00105250 C0 1C 01 F4 */ lfs f0, 0x1f4(r28)
/* 801082F4 00105254 C3 C3 07 4C */ lfs f30, 0x74c(r3)
/* 801082F8 00105258 FC 1E 00 00 */ fcmpu cr0, f30, f0
/* 801082FC 0010525C 41 82 00 A8 */ beq lbl_801083A4
/* 80108300 00105260 80 7D 08 70 */ lwz r3, 0x870(r29)
/* 80108304 00105264 7F A4 EB 78 */ mr r4, r29
/* 80108308 00105268 4B F0 38 11 */ bl GetCurrentCamera__14CCameraManagerCFRC13CStateManager
/* 8010830C 0010526C 7C 64 1B 78 */ mr r4, r3
/* 80108310 00105270 38 61 00 28 */ addi r3, r1, 0x28
/* 80108314 00105274 4B FA 61 61 */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity"
/* 80108318 00105278 80 03 00 04 */ lwz r0, 4(r3)
/* 8010831C 0010527C 28 00 00 00 */ cmplwi r0, 0
/* 80108320 00105280 41 82 00 84 */ beq lbl_801083A4
/* 80108324 00105284 C0 5C 01 F4 */ lfs f2, 0x1f4(r28)
/* 80108328 00105288 C0 02 94 80 */ lfs f0, lbl_805AB1A0@sda21(r2)
/* 8010832C 0010528C EC 3E 10 28 */ fsubs f1, f30, f2
/* 80108330 00105290 FC 20 0A 10 */ fabs f1, f1
/* 80108334 00105294 FC 20 08 18 */ frsp f1, f1
/* 80108338 00105298 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8010833C 0010529C 40 80 00 68 */ bge lbl_801083A4
/* 80108340 001052A0 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 80108344 001052A4 FC 00 10 00 */ fcmpu cr0, f0, f2
/* 80108348 001052A8 40 82 00 2C */ bne lbl_80108374
/* 8010834C 001052AC A9 02 C5 FA */ lha r8, kMedPriority__11CSfxManager@sda21(r2)
/* 80108350 001052B0 38 61 00 1C */ addi r3, r1, 0x1c
/* 80108354 001052B4 81 42 C6 00 */ lwz r10, kAllAreas__11CSfxManager@sda21(r2)
/* 80108358 001052B8 38 80 05 79 */ li r4, 0x579
/* 8010835C 001052BC 38 A0 00 7F */ li r5, 0x7f
/* 80108360 001052C0 38 C0 00 40 */ li r6, 0x40
/* 80108364 001052C4 38 E0 00 00 */ li r7, 0
/* 80108368 001052C8 39 20 00 00 */ li r9, 0
/* 8010836C 001052CC 48 1E 1A 09 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 80108370 001052D0 48 00 00 34 */ b lbl_801083A4
lbl_80108374:
/* 80108374 001052D4 C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2)
/* 80108378 001052D8 FC 00 10 00 */ fcmpu cr0, f0, f2
/* 8010837C 001052DC 40 82 00 28 */ bne lbl_801083A4
/* 80108380 001052E0 A9 02 C5 FA */ lha r8, kMedPriority__11CSfxManager@sda21(r2)
/* 80108384 001052E4 38 61 00 18 */ addi r3, r1, 0x18
/* 80108388 001052E8 81 42 C6 00 */ lwz r10, kAllAreas__11CSfxManager@sda21(r2)
/* 8010838C 001052EC 38 80 05 78 */ li r4, 0x578
/* 80108390 001052F0 38 A0 00 7F */ li r5, 0x7f
/* 80108394 001052F4 38 C0 00 40 */ li r6, 0x40
/* 80108398 001052F8 38 E0 00 00 */ li r7, 0
/* 8010839C 001052FC 39 20 00 00 */ li r9, 0
/* 801083A0 00105300 48 1E 19 D5 */ bl SfxStart__11CSfxManagerFUsssbsbi
lbl_801083A4:
/* 801083A4 00105304 D3 DC 01 F4 */ stfs f30, 0x1f4(r28)
lbl_801083A8:
/* 801083A8 00105308 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 801083AC 0010530C 41 82 00 14 */ beq lbl_801083C0
/* 801083B0 00105310 FC 20 F8 90 */ fmr f1, f31
/* 801083B4 00105314 7F A4 EB 78 */ mr r4, r29
/* 801083B8 00105318 38 7C 00 20 */ addi r3, r28, 0x20
/* 801083BC 0010531C 48 06 D7 F5 */ bl Update__20CFaceplateDecorationFfRC13CStateManager
lbl_801083C0:
/* 801083C0 00105320 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 801083C4 00105324 41 82 00 18 */ beq lbl_801083DC
/* 801083C8 00105328 FC 20 F8 90 */ fmr f1, f31
/* 801083CC 0010532C 80 7C 00 40 */ lwz r3, 0x40(r28)
/* 801083D0 00105330 7F A4 EB 78 */ mr r4, r29
/* 801083D4 00105334 38 BC 00 1C */ addi r5, r28, 0x1c
/* 801083D8 00105338 48 05 2E A5 */ bl Update__20CSamusFaceReflectionFfRC13CStateManagerR9CRandom16
lbl_801083DC:
/* 801083DC 0010533C 80 1C 01 F0 */ lwz r0, 0x1f0(r28)
/* 801083E0 00105340 28 00 00 00 */ cmplwi r0, 0
/* 801083E4 00105344 41 82 00 1C */ beq lbl_80108400
/* 801083E8 00105348 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 801083EC 0010534C 41 82 00 14 */ beq lbl_80108400
/* 801083F0 00105350 FC 20 F8 90 */ fmr f1, f31
/* 801083F4 00105354 80 7C 00 30 */ lwz r3, 0x30(r28)
/* 801083F8 00105358 7F A4 EB 78 */ mr r4, r29
/* 801083FC 0010535C 48 00 B7 C9 */ bl Update__12CPlayerVisorFfRC13CStateManager
lbl_80108400:
/* 80108400 00105360 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 80108404 00105364 41 82 00 44 */ beq lbl_80108448
/* 80108408 00105368 88 1C 01 F8 */ lbz r0, 0x1f8(r28)
/* 8010840C 0010536C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 80108410 00105370 41 82 00 38 */ beq lbl_80108448
/* 80108414 00105374 80 FC 01 EC */ lwz r7, 0x1ec(r28)
/* 80108418 00105378 FC 20 F8 90 */ fmr f1, f31
/* 8010841C 0010537C 80 DC 01 E4 */ lwz r6, 0x1e4(r28)
/* 80108420 00105380 7F A4 EB 78 */ mr r4, r29
/* 80108424 00105384 7C A7 00 D0 */ neg r5, r7
/* 80108428 00105388 80 7C 00 34 */ lwz r3, 0x34(r28)
/* 8010842C 0010538C 7C 06 00 D0 */ neg r0, r6
/* 80108430 00105390 7C A7 3B 78 */ or r7, r5, r7
/* 80108434 00105394 80 BC 01 E0 */ lwz r5, 0x1e0(r28)
/* 80108438 00105398 7C 00 33 78 */ or r0, r0, r6
/* 8010843C 0010539C 54 E6 0F FE */ srwi r6, r7, 0x1f
/* 80108440 001053A0 54 07 0F FE */ srwi r7, r0, 0x1f
/* 80108444 001053A4 4B F5 DF 3D */ bl Update__9CSamusHudFfRC13CStateManagerUibb
lbl_80108448:
/* 80108448 001053A8 80 1C 01 E8 */ lwz r0, 0x1e8(r28)
/* 8010844C 001053AC 28 00 00 00 */ cmplwi r0, 0
/* 80108450 001053B0 41 82 00 14 */ beq lbl_80108464
/* 80108454 001053B4 FC 20 F8 90 */ fmr f1, f31
/* 80108458 001053B8 7F 83 E3 78 */ mr r3, r28
/* 8010845C 001053BC 7F A4 EB 78 */ mr r4, r29
/* 80108460 001053C0 4B FF F7 25 */ bl UpdateAutoMapper__17CInGameGuiManagerFR13CStateManagerf
lbl_80108464:
/* 80108464 001053C4 80 1C 01 40 */ lwz r0, 0x140(r28)
/* 80108468 001053C8 FC 20 F8 90 */ fmr f1, f31
/* 8010846C 001053CC 80 7C 00 3C */ lwz r3, 0x3c(r28)
/* 80108470 001053D0 7F A4 EB 78 */ mr r4, r29
/* 80108474 001053D4 7C 00 00 34 */ cntlzw r0, r0
/* 80108478 001053D8 54 05 D9 7E */ srwi r5, r0, 5
/* 8010847C 001053DC 48 15 53 F9 */ bl Update__16CPauseScreenBlurFfRC13CStateManagerb
/* 80108480 001053E0 80 7C 00 4C */ lwz r3, 0x4c(r28)
/* 80108484 001053E4 28 03 00 00 */ cmplwi r3, 0
/* 80108488 001053E8 41 82 00 3C */ beq lbl_801084C4
/* 8010848C 001053EC FC 20 F8 90 */ fmr f1, f31
/* 80108490 001053F0 48 14 73 0D */ bl Update__15CSaveGameScreenFf
/* 80108494 001053F4 2C 03 00 00 */ cmpwi r3, 0
/* 80108498 001053F8 41 82 00 6C */ beq lbl_80108504
/* 8010849C 001053FC 20 63 00 01 */ subfic r3, r3, 1
/* 801084A0 00105400 88 1C 01 F8 */ lbz r0, 0x1f8(r28)
/* 801084A4 00105404 7C 64 00 34 */ cntlzw r4, r3
/* 801084A8 00105408 7F A5 EB 78 */ mr r5, r29
/* 801084AC 0010540C 50 80 FE F6 */ rlwimi r0, r4, 0x1f, 0x1b, 0x1b
/* 801084B0 00105410 7F 83 E3 78 */ mr r3, r28
/* 801084B4 00105414 98 1C 01 F8 */ stb r0, 0x1f8(r28)
/* 801084B8 00105418 38 80 00 01 */ li r4, 1
/* 801084BC 0010541C 4B FF F1 85 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager
/* 801084C0 00105420 48 00 00 44 */ b lbl_80108504
lbl_801084C4:
/* 801084C4 00105424 80 1C 00 44 */ lwz r0, 0x44(r28)
/* 801084C8 00105428 28 00 00 00 */ cmplwi r0, 0
/* 801084CC 0010542C 41 82 00 38 */ beq lbl_80108504
/* 801084D0 00105430 80 7C 00 3C */ lwz r3, 0x3c(r28)
/* 801084D4 00105434 48 15 50 E1 */ bl GetBlurAmt__16CPauseScreenBlurCFv
/* 801084D8 00105438 FC 00 08 90 */ fmr f0, f1
/* 801084DC 0010543C 80 7C 00 44 */ lwz r3, 0x44(r28)
/* 801084E0 00105440 FC 20 F8 90 */ fmr f1, f31
/* 801084E4 00105444 FC 40 00 90 */ fmr f2, f0
/* 801084E8 00105448 48 0E 72 BD */ bl Update__14CMessageScreenFf
/* 801084EC 0010544C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801084F0 00105450 40 82 00 14 */ bne lbl_80108504
/* 801084F4 00105454 7F 83 E3 78 */ mr r3, r28
/* 801084F8 00105458 7F A5 EB 78 */ mr r5, r29
/* 801084FC 0010545C 38 80 00 01 */ li r4, 1
/* 80108500 00105460 4B FF F1 41 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager
lbl_80108504:
/* 80108504 00105464 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 80108508 00105468 28 03 00 00 */ cmplwi r3, 0
/* 8010850C 0010546C 41 82 00 6C */ beq lbl_80108578
/* 80108510 00105470 FC 20 F8 90 */ fmr f1, f31
/* 80108514 00105474 7F A4 EB 78 */ mr r4, r29
/* 80108518 00105478 7F C6 F3 78 */ mr r6, r30
/* 8010851C 0010547C 38 BC 00 1C */ addi r5, r28, 0x1c
/* 80108520 00105480 4B F6 AF ED */ bl Update__12CPauseScreenFfRC13CStateManagerR9CRandom16R18CArchitectureQueue
/* 80108524 00105484 80 7C 01 BC */ lwz r3, 0x1bc(r28)
/* 80108528 00105488 80 1C 01 C0 */ lwz r0, 0x1c0(r28)
/* 8010852C 0010548C 7C 03 00 00 */ cmpw r3, r0
/* 80108530 00105490 40 82 00 48 */ bne lbl_80108578
/* 80108534 00105494 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 80108538 00105498 4B F6 A5 51 */ bl ShouldSwitchToMapScreen__12CPauseScreenCFv
/* 8010853C 0010549C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80108540 001054A0 41 82 00 18 */ beq lbl_80108558
/* 80108544 001054A4 7F 83 E3 78 */ mr r3, r28
/* 80108548 001054A8 7F A5 EB 78 */ mr r5, r29
/* 8010854C 001054AC 38 80 00 02 */ li r4, 2
/* 80108550 001054B0 4B FF F0 F1 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager
/* 80108554 001054B4 48 00 00 24 */ b lbl_80108578
lbl_80108558:
/* 80108558 001054B8 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 8010855C 001054BC 4B F6 A4 CD */ bl ShouldSwitchToInGame__12CPauseScreenCFv
/* 80108560 001054C0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80108564 001054C4 41 82 00 14 */ beq lbl_80108578
/* 80108568 001054C8 7F 83 E3 78 */ mr r3, r28
/* 8010856C 001054CC 7F A5 EB 78 */ mr r5, r29
/* 80108570 001054D0 38 80 00 01 */ li r4, 1
/* 80108574 001054D4 4B FF F0 CD */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager
lbl_80108578:
/* 80108578 001054D8 80 7C 00 34 */ lwz r3, 0x34(r28)
/* 8010857C 001054DC 4B F5 DD AD */ bl Touch__9CSamusHudCFv
/* 80108580 001054E0 80 7C 00 30 */ lwz r3, 0x30(r28)
/* 80108584 001054E4 48 00 B5 3D */ bl Touch__12CPlayerVisorCFv
/* 80108588 001054E8 80 7C 00 34 */ lwz r3, 0x34(r28)
/* 8010858C 001054EC 4B F5 D3 95 */ bl GetTargetingManager__9CSamusHudCFv
/* 80108590 001054F0 4B FB 44 B1 */ bl Touch__17CTargetingManagerCFv
/* 80108594 001054F4 80 7C 01 BC */ lwz r3, 0x1bc(r28)
/* 80108598 001054F8 80 1C 01 C0 */ lwz r0, 0x1c0(r28)
/* 8010859C 001054FC 7C 03 00 00 */ cmpw r3, r0
/* 801085A0 00105500 41 82 00 70 */ beq lbl_80108610
/* 801085A4 00105504 80 7C 01 C0 */ lwz r3, 0x1c0(r28)
/* 801085A8 00105508 38 00 00 00 */ li r0, 0
/* 801085AC 0010550C 2C 03 00 00 */ cmpwi r3, 0
/* 801085B0 00105510 41 80 00 10 */ blt lbl_801085C0
/* 801085B4 00105514 2C 03 00 01 */ cmpwi r3, 1
/* 801085B8 00105518 41 81 00 08 */ bgt lbl_801085C0
/* 801085BC 0010551C 38 00 00 01 */ li r0, 1
lbl_801085C0:
/* 801085C0 00105520 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 801085C4 00105524 41 82 00 0C */ beq lbl_801085D0
/* 801085C8 00105528 7F 83 E3 78 */ mr r3, r28
/* 801085CC 0010552C 4B FF E5 61 */ bl TryReloadAreaTextures__17CInGameGuiManagerFv
lbl_801085D0:
/* 801085D0 00105530 80 9C 00 38 */ lwz r4, 0x38(r28)
/* 801085D4 00105534 80 64 01 BC */ lwz r3, 0x1bc(r4)
/* 801085D8 00105538 80 04 01 C0 */ lwz r0, 0x1c0(r4)
/* 801085DC 0010553C 7C 03 00 00 */ cmpw r3, r0
/* 801085E0 00105540 41 82 00 10 */ beq lbl_801085F0
/* 801085E4 00105544 80 1C 01 E8 */ lwz r0, 0x1e8(r28)
/* 801085E8 00105548 28 00 00 00 */ cmplwi r0, 0
/* 801085EC 0010554C 40 82 00 24 */ bne lbl_80108610
lbl_801085F0:
/* 801085F0 00105550 80 9C 00 3C */ lwz r4, 0x3c(r28)
/* 801085F4 00105554 80 64 00 10 */ lwz r3, 0x10(r4)
/* 801085F8 00105558 80 04 00 14 */ lwz r0, 0x14(r4)
/* 801085FC 0010555C 7C 03 00 00 */ cmpw r3, r0
/* 80108600 00105560 40 82 00 10 */ bne lbl_80108610
/* 80108604 00105564 7F 83 E3 78 */ mr r3, r28
/* 80108608 00105568 7F C4 F3 78 */ mr r4, r30
/* 8010860C 0010556C 4B FF F4 71 */ bl OnNewPauseScreenState__17CInGameGuiManagerFR18CArchitectureQueue
lbl_80108610:
/* 80108610 00105570 FC 20 F8 90 */ fmr f1, f31
/* 80108614 00105574 38 7C 00 F8 */ addi r3, r28, 0xf8
/* 80108618 00105578 4B FE 4C 05 */ bl Update__17CCameraFilterPassFf
/* 8010861C 0010557C 80 7D 08 70 */ lwz r3, 0x870(r29)
/* 80108620 00105580 4B F0 22 E1 */ bl IsInCinematicCamera__14CCameraManagerCFv
/* 80108624 00105584 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80108628 00105588 41 82 00 14 */ beq lbl_8010863C
/* 8010862C 0010558C C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2)
/* 80108630 00105590 D0 1D 0F 2C */ stfs f0, 0xf2c(r29)
/* 80108634 00105594 D0 1D 0F 30 */ stfs f0, 0xf30(r29)
/* 80108638 00105598 48 00 00 7C */ b lbl_801086B4
lbl_8010863C:
/* 8010863C 0010559C 80 7C 00 30 */ lwz r3, 0x30(r28)
/* 80108640 001055A0 7F A4 EB 78 */ mr r4, r29
/* 80108644 001055A4 48 00 BD 81 */ bl GetDesiredViewportScaleX__12CPlayerVisorCFRC13CStateManager
/* 80108648 001055A8 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 8010864C 001055AC FC 00 08 18 */ frsp f0, f1
/* 80108650 001055B0 80 7C 00 34 */ lwz r3, 0x34(r28)
/* 80108654 001055B4 C0 23 05 00 */ lfs f1, 0x500(r3)
/* 80108658 001055B8 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8010865C 001055BC D0 21 00 14 */ stfs f1, 0x14(r1)
/* 80108660 001055C0 40 80 00 0C */ bge lbl_8010866C
/* 80108664 001055C4 38 61 00 10 */ addi r3, r1, 0x10
/* 80108668 001055C8 48 00 00 08 */ b lbl_80108670
lbl_8010866C:
/* 8010866C 001055CC 38 61 00 14 */ addi r3, r1, 0x14
lbl_80108670:
/* 80108670 001055D0 C3 C3 00 00 */ lfs f30, 0(r3)
/* 80108674 001055D4 7F A4 EB 78 */ mr r4, r29
/* 80108678 001055D8 80 7C 00 30 */ lwz r3, 0x30(r28)
/* 8010867C 001055DC 48 00 BD 01 */ bl GetDesiredViewportScaleY__12CPlayerVisorCFRC13CStateManager
/* 80108680 001055E0 D0 21 00 08 */ stfs f1, 8(r1)
/* 80108684 001055E4 FC 00 08 18 */ frsp f0, f1
/* 80108688 001055E8 80 7C 00 34 */ lwz r3, 0x34(r28)
/* 8010868C 001055EC C0 23 05 04 */ lfs f1, 0x504(r3)
/* 80108690 001055F0 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80108694 001055F4 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 80108698 001055F8 40 80 00 0C */ bge lbl_801086A4
/* 8010869C 001055FC 38 61 00 08 */ addi r3, r1, 8
/* 801086A0 00105600 48 00 00 08 */ b lbl_801086A8
lbl_801086A4:
/* 801086A4 00105604 38 61 00 0C */ addi r3, r1, 0xc
lbl_801086A8:
/* 801086A8 00105608 C0 03 00 00 */ lfs f0, 0(r3)
/* 801086AC 0010560C D3 DD 0F 2C */ stfs f30, 0xf2c(r29)
/* 801086B0 00105610 D0 1D 0F 30 */ stfs f0, 0xf30(r29)
lbl_801086B4:
/* 801086B4 00105614 80 7D 08 B8 */ lwz r3, 0x8b8(r29)
/* 801086B8 00105618 88 1C 01 F8 */ lbz r0, 0x1f8(r28)
/* 801086BC 0010561C 80 63 00 00 */ lwz r3, 0(r3)
/* 801086C0 00105620 88 63 00 00 */ lbz r3, 0(r3)
/* 801086C4 00105624 50 60 FE 72 */ rlwimi r0, r3, 0x1f, 0x19, 0x19
/* 801086C8 00105628 98 1C 01 F8 */ stb r0, 0x1f8(r28)
/* 801086CC 0010562C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0
/* 801086D0 00105630 CB E1 00 80 */ lfd f31, 0x80(r1)
/* 801086D4 00105634 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0
/* 801086D8 00105638 CB C1 00 70 */ lfd f30, 0x70(r1)
/* 801086DC 0010563C BB 21 00 54 */ lmw r25, 0x54(r1)
/* 801086E0 00105640 80 01 00 94 */ lwz r0, 0x94(r1)
/* 801086E4 00105644 7C 08 03 A6 */ mtlr r0
/* 801086E8 00105648 38 21 00 90 */ addi r1, r1, 0x90
/* 801086EC 0010564C 4E 80 00 20 */ blr
.global PreDraw__17CInGameGuiManagerFR13CStateManagerb
PreDraw__17CInGameGuiManagerFR13CStateManagerb:
/* 801086F0 00105650 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801086F4 00105654 7C 08 02 A6 */ mflr r0
/* 801086F8 00105658 90 01 00 24 */ stw r0, 0x24(r1)
/* 801086FC 0010565C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80108700 00105660 7C BF 2B 78 */ mr r31, r5
/* 80108704 00105664 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80108708 00105668 7C 9E 23 78 */ mr r30, r4
/* 8010870C 0010566C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80108710 00105670 7C 7D 1B 78 */ mr r29, r3
/* 80108714 00105674 80 63 00 48 */ lwz r3, 0x48(r3)
/* 80108718 00105678 28 03 00 00 */ cmplwi r3, 0
/* 8010871C 0010567C 41 82 00 08 */ beq lbl_80108724
/* 80108720 00105680 4B F6 AD 85 */ bl PreDraw__12CPauseScreenFv
lbl_80108724:
/* 80108724 00105684 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 80108728 00105688 41 82 00 10 */ beq lbl_80108738
/* 8010872C 0010568C 80 7D 00 40 */ lwz r3, 0x40(r29)
/* 80108730 00105690 7F C4 F3 78 */ mr r4, r30
/* 80108734 00105694 48 05 2A A5 */ bl PreDraw__20CSamusFaceReflectionFRC13CStateManager
lbl_80108738:
/* 80108738 00105698 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8010873C 0010569C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80108740 001056A0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80108744 001056A4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80108748 001056A8 7C 08 03 A6 */ mtlr r0
/* 8010874C 001056AC 38 21 00 20 */ addi r1, r1, 0x20
/* 80108750 001056B0 4E 80 00 20 */ blr
.global Draw__17CInGameGuiManagerCFRC13CStateManager
Draw__17CInGameGuiManagerCFRC13CStateManager:
/* 80108754 001056B4 94 21 FE 30 */ stwu r1, -0x1d0(r1)
/* 80108758 001056B8 7C 08 02 A6 */ mflr r0
/* 8010875C 001056BC 90 01 01 D4 */ stw r0, 0x1d4(r1)
/* 80108760 001056C0 DB E1 01 C0 */ stfd f31, 0x1c0(r1)
/* 80108764 001056C4 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0
/* 80108768 001056C8 DB C1 01 B0 */ stfd f30, 0x1b0(r1)
/* 8010876C 001056CC F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0
/* 80108770 001056D0 DB A1 01 A0 */ stfd f29, 0x1a0(r1)
/* 80108774 001056D4 F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0
/* 80108778 001056D8 DB 81 01 90 */ stfd f28, 0x190(r1)
/* 8010877C 001056DC F3 81 01 98 */ psq_st f28, 408(r1), 0, qr0
/* 80108780 001056E0 DB 61 01 80 */ stfd f27, 0x180(r1)
/* 80108784 001056E4 F3 61 01 88 */ psq_st f27, 392(r1), 0, qr0
/* 80108788 001056E8 DB 41 01 70 */ stfd f26, 0x170(r1)
/* 8010878C 001056EC F3 41 01 78 */ psq_st f26, 376(r1), 0, qr0
/* 80108790 001056F0 DB 21 01 60 */ stfd f25, 0x160(r1)
/* 80108794 001056F4 F3 21 01 68 */ psq_st f25, 360(r1), 0, qr0
/* 80108798 001056F8 DB 01 01 50 */ stfd f24, 0x150(r1)
/* 8010879C 001056FC F3 01 01 58 */ psq_st f24, 344(r1), 0, qr0
/* 801087A0 00105700 BF 21 01 34 */ stmw r25, 0x134(r1)
/* 801087A4 00105704 7C 7F 1B 78 */ mr r31, r3
/* 801087A8 00105708 7C 9E 23 78 */ mr r30, r4
/* 801087AC 0010570C 4B FF F0 41 */ bl GetIsGameDraw__17CInGameGuiManagerCFv
/* 801087B0 00105710 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801087B4 00105714 40 82 00 18 */ bne lbl_801087CC
/* 801087B8 00105718 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 801087BC 0010571C 38 80 00 01 */ li r4, 1
/* 801087C0 00105720 88 03 03 18 */ lbz r0, 0x318(r3)
/* 801087C4 00105724 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 801087C8 00105728 98 03 03 18 */ stb r0, 0x318(r3)
lbl_801087CC:
/* 801087CC 0010572C C0 3F 01 D8 */ lfs f1, 0x1d8(r31)
/* 801087D0 00105730 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 801087D4 00105734 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801087D8 00105738 40 81 00 F8 */ ble lbl_801088D0
/* 801087DC 0010573C 80 7F 01 DC */ lwz r3, 0x1dc(r31)
/* 801087E0 00105740 83 63 00 08 */ lwz r27, 8(r3)
/* 801087E4 00105744 28 1B 00 00 */ cmplwi r27, 0
/* 801087E8 00105748 41 82 00 E8 */ beq lbl_801088D0
/* 801087EC 0010574C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 801087F0 00105750 38 80 00 00 */ li r4, 0
/* 801087F4 00105754 38 A0 00 00 */ li r5, 0
/* 801087F8 00105758 81 83 00 00 */ lwz r12, 0(r3)
/* 801087FC 0010575C 81 8C 00 60 */ lwz r12, 0x60(r12)
/* 80108800 00105760 7D 89 03 A6 */ mtctr r12
/* 80108804 00105764 4E 80 04 21 */ bctrl
/* 80108808 00105768 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8010880C 0010576C 81 83 00 00 */ lwz r12, 0(r3)
/* 80108810 00105770 81 8C 00 68 */ lwz r12, 0x68(r12)
/* 80108814 00105774 7D 89 03 A6 */ mtctr r12
/* 80108818 00105778 4E 80 04 21 */ bctrl
/* 8010881C 0010577C 3C 80 80 5A */ lis r4, kEnvModulate__9CGraphics@ha
/* 80108820 00105780 38 60 00 00 */ li r3, 0
/* 80108824 00105784 38 84 5E BC */ addi r4, r4, kEnvModulate__9CGraphics@l
/* 80108828 00105788 48 20 1A 91 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 8010882C 0010578C 80 8D 9C 68 */ lwz r4, kEnvPassthru__9CGraphics@sda21(r13)
/* 80108830 00105790 38 60 00 01 */ li r3, 1
/* 80108834 00105794 48 20 1A 85 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 80108838 00105798 3C 60 80 3F */ lis r3, mViewport__9CGraphics@ha
/* 8010883C 0010579C 83 BF 01 C8 */ lwz r29, 0x1c8(r31)
/* 80108840 001057A0 38 E3 D9 10 */ addi r7, r3, mViewport__9CGraphics@l
/* 80108844 001057A4 83 9F 01 CC */ lwz r28, 0x1cc(r31)
/* 80108848 001057A8 80 67 00 08 */ lwz r3, 8(r7)
/* 8010884C 001057AC 80 07 00 0C */ lwz r0, 0xc(r7)
/* 80108850 001057B0 7C BD 18 50 */ subf r5, r29, r3
/* 80108854 001057B4 80 DF 01 D0 */ lwz r6, 0x1d0(r31)
/* 80108858 001057B8 54 A4 0F FE */ srwi r4, r5, 0x1f
/* 8010885C 001057BC 7C 7C 00 50 */ subf r3, r28, r0
/* 80108860 001057C0 7C A4 2A 14 */ add r5, r4, r5
/* 80108864 001057C4 80 87 00 04 */ lwz r4, 4(r7)
/* 80108868 001057C8 54 60 0F FE */ srwi r0, r3, 0x1f
/* 8010886C 001057CC 81 07 00 00 */ lwz r8, 0(r7)
/* 80108870 001057D0 7C A7 0E 70 */ srawi r7, r5, 1
/* 80108874 001057D4 80 BF 01 D4 */ lwz r5, 0x1d4(r31)
/* 80108878 001057D8 7C 00 1A 14 */ add r0, r0, r3
/* 8010887C 001057DC C3 7F 01 D8 */ lfs f27, 0x1d8(r31)
/* 80108880 001057E0 7C 00 0E 70 */ srawi r0, r0, 1
/* 80108884 001057E4 7F 47 32 14 */ add r26, r7, r6
/* 80108888 001057E8 7C 04 02 14 */ add r0, r4, r0
/* 8010888C 001057EC 7F 48 D2 14 */ add r26, r8, r26
/* 80108890 001057F0 7F 25 00 50 */ subf r25, r5, r0
/* 80108894 001057F4 48 24 17 19 */ bl White__6CColorFv
/* 80108898 001057F8 C0 02 94 9C */ lfs f0, lbl_805AB1BC@sda21(r2)
/* 8010889C 001057FC EF A0 06 F2 */ fmuls f29, f0, f27
/* 801088A0 00105800 F3 A1 A0 0C */ psq_st f29, 12(r1), 1, qr2
/* 801088A4 00105804 7F 44 D3 78 */ mr r4, r26
/* 801088A8 00105808 81 03 00 00 */ lwz r8, 0(r3)
/* 801088AC 0010580C 7F 63 DB 78 */ mr r3, r27
/* 801088B0 00105810 88 01 00 0C */ lbz r0, 0xc(r1)
/* 801088B4 00105814 7F 25 CB 78 */ mr r5, r25
/* 801088B8 00105818 51 00 00 2E */ rlwimi r0, r8, 0, 0, 0x17
/* 801088BC 0010581C 7F A6 EB 78 */ mr r6, r29
/* 801088C0 00105820 90 01 00 34 */ stw r0, 0x34(r1)
/* 801088C4 00105824 7F 87 E3 78 */ mr r7, r28
/* 801088C8 00105828 39 01 00 34 */ addi r8, r1, 0x34
/* 801088CC 0010582C 48 20 2E 91 */ bl Render2D__9CGraphicsFRC8CTextureiiiiRC6CColor
lbl_801088D0:
/* 801088D0 00105830 80 7E 08 4C */ lwz r3, 0x84c(r30)
/* 801088D4 00105834 C3 62 94 94 */ lfs f27, lbl_805AB1B4@sda21(r2)
/* 801088D8 00105838 80 03 02 F8 */ lwz r0, 0x2f8(r3)
/* 801088DC 0010583C C3 A3 09 F4 */ lfs f29, 0x9f4(r3)
/* 801088E0 00105840 2C 00 00 00 */ cmpwi r0, 0
/* 801088E4 00105844 40 82 00 34 */ bne lbl_80108918
/* 801088E8 00105848 FC 1D D8 40 */ fcmpo cr0, f29, f27
/* 801088EC 0010584C 40 81 00 2C */ ble lbl_80108918
/* 801088F0 00105850 C0 22 94 A0 */ lfs f1, lbl_805AB1C0@sda21(r2)
/* 801088F4 00105854 38 81 00 30 */ addi r4, r1, 0x30
/* 801088F8 00105858 C0 02 80 EC */ lfs f0, lbl_805A9E0C@sda21(r2)
/* 801088FC 0010585C 38 6D 89 D4 */ addi r3, r13, lbl_805A7594@sda21
/* 80108900 00105860 38 AD 89 D8 */ addi r5, r13, lbl_805A7598@sda21
/* 80108904 00105864 EC 01 00 32 */ fmuls f0, f1, f0
/* 80108908 00105868 EC 1D 00 24 */ fdivs f0, f29, f0
/* 8010890C 0010586C D0 01 00 30 */ stfs f0, 0x30(r1)
/* 80108910 00105870 4B F0 39 A5 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80108914 00105874 C3 63 00 00 */ lfs f27, 0(r3)
lbl_80108918:
/* 80108918 00105878 80 7E 08 70 */ lwz r3, 0x870(r30)
/* 8010891C 0010587C 4B F0 1F E5 */ bl IsInCinematicCamera__14CCameraManagerCFv
/* 80108920 00105880 54 60 06 3E */ clrlwi r0, r3, 0x18
/* 80108924 00105884 3B 80 00 00 */ li r28, 0
/* 80108928 00105888 7C 03 00 34 */ cntlzw r3, r0
/* 8010892C 0010588C 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f
/* 80108930 00105890 54 7D D9 7E */ srwi r29, r3, 5
/* 80108934 00105894 41 82 00 30 */ beq lbl_80108964
/* 80108938 00105898 80 1F 01 BC */ lwz r0, 0x1bc(r31)
/* 8010893C 0010589C 38 60 00 01 */ li r3, 1
/* 80108940 001058A0 2C 00 00 01 */ cmpwi r0, 1
/* 80108944 001058A4 41 82 00 14 */ beq lbl_80108958
/* 80108948 001058A8 80 1F 01 C0 */ lwz r0, 0x1c0(r31)
/* 8010894C 001058AC 2C 00 00 01 */ cmpwi r0, 1
/* 80108950 001058B0 41 82 00 08 */ beq lbl_80108958
/* 80108954 001058B4 7F 83 E3 78 */ mr r3, r28
lbl_80108958:
/* 80108958 001058B8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8010895C 001058BC 41 82 00 08 */ beq lbl_80108964
/* 80108960 001058C0 3B 80 00 01 */ li r28, 1
lbl_80108964:
/* 80108964 001058C4 80 7F 00 3C */ lwz r3, 0x3c(r31)
/* 80108968 001058C8 88 03 00 50 */ lbz r0, 0x50(r3)
/* 8010896C 001058CC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 80108970 001058D0 41 82 01 80 */ beq lbl_80108AF0
/* 80108974 001058D4 80 7F 00 34 */ lwz r3, 0x34(r31)
/* 80108978 001058D8 4B F5 CF A9 */ bl GetTargetingManager__9CSamusHudCFv
/* 8010897C 001058DC 7F C4 F3 78 */ mr r4, r30
/* 80108980 001058E0 38 A0 00 01 */ li r5, 1
/* 80108984 001058E4 4B FB 42 49 */ bl Draw__17CTargetingManagerCFRC13CStateManager
/* 80108988 001058E8 C0 22 94 A4 */ lfs f1, lbl_805AB1C4@sda21(r2)
/* 8010898C 001058EC C0 42 94 A8 */ lfs f2, lbl_805AB1C8@sda21(r2)
/* 80108990 001058F0 48 20 1A 51 */ bl SetDepthRange__9CGraphicsFff
/* 80108994 001058F4 80 7E 08 B8 */ lwz r3, 0x8b8(r30)
/* 80108998 001058F8 7F C4 F3 78 */ mr r4, r30
/* 8010899C 001058FC 80 63 00 00 */ lwz r3, 0(r3)
/* 801089A0 00105900 4B F8 8B B9 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager
/* 801089A4 00105904 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 801089A8 00105908 20 63 00 02 */ subfic r3, r3, 2
/* 801089AC 0010590C 7C 60 00 34 */ cntlzw r0, r3
/* 801089B0 00105910 54 1B D9 7E */ srwi r27, r0, 5
/* 801089B4 00105914 41 82 00 7C */ beq lbl_80108A30
/* 801089B8 00105918 80 1F 01 F0 */ lwz r0, 0x1f0(r31)
/* 801089BC 0010591C 28 00 00 00 */ cmplwi r0, 0
/* 801089C0 00105920 41 82 00 70 */ beq lbl_80108A30
/* 801089C4 00105924 80 7E 08 4C */ lwz r3, 0x84c(r30)
/* 801089C8 00105928 80 03 02 F4 */ lwz r0, 0x2f4(r3)
/* 801089CC 0010592C 2C 00 00 00 */ cmpwi r0, 0
/* 801089D0 00105930 40 82 00 10 */ bne lbl_801089E0
/* 801089D4 00105934 7F C4 F3 78 */ mr r4, r30
/* 801089D8 00105938 38 7F 00 20 */ addi r3, r31, 0x20
/* 801089DC 0010593C 48 06 D0 E5 */ bl Draw__20CFaceplateDecorationCFRC13CStateManager
lbl_801089E0:
/* 801089E0 00105940 80 9F 01 E4 */ lwz r4, 0x1e4(r31)
/* 801089E4 00105944 57 60 06 3F */ clrlwi. r0, r27, 0x18
/* 801089E8 00105948 38 00 00 00 */ li r0, 0
/* 801089EC 0010594C 7C 64 00 D0 */ neg r3, r4
/* 801089F0 00105950 7C 63 23 78 */ or r3, r3, r4
/* 801089F4 00105954 54 63 0F FE */ srwi r3, r3, 0x1f
/* 801089F8 00105958 41 82 00 10 */ beq lbl_80108A08
/* 801089FC 0010595C 28 03 00 00 */ cmplwi r3, 0
/* 80108A00 00105960 41 82 00 08 */ beq lbl_80108A08
/* 80108A04 00105964 38 00 00 01 */ li r0, 1
lbl_80108A08:
/* 80108A08 00105968 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80108A0C 0010596C 41 82 00 14 */ beq lbl_80108A20
/* 80108A10 00105970 80 7F 00 34 */ lwz r3, 0x34(r31)
/* 80108A14 00105974 4B F5 CF 0D */ bl GetTargetingManager__9CSamusHudCFv
/* 80108A18 00105978 7C 65 1B 78 */ mr r5, r3
/* 80108A1C 0010597C 48 00 00 08 */ b lbl_80108A24
lbl_80108A20:
/* 80108A20 00105980 38 A0 00 00 */ li r5, 0
lbl_80108A24:
/* 80108A24 00105984 80 7F 00 30 */ lwz r3, 0x30(r31)
/* 80108A28 00105988 7F C4 F3 78 */ mr r4, r30
/* 80108A2C 0010598C 48 00 B0 E5 */ bl Draw__12CPlayerVisorCFRC13CStateManagerPC17CTargetingManager
lbl_80108A30:
/* 80108A30 00105990 80 7F 00 40 */ lwz r3, 0x40(r31)
/* 80108A34 00105994 7F C4 F3 78 */ mr r4, r30
/* 80108A38 00105998 48 05 23 8D */ bl Draw__20CSamusFaceReflectionCFRC13CStateManager
/* 80108A3C 0010599C 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 80108A40 001059A0 41 82 00 B0 */ beq lbl_80108AF0
/* 80108A44 001059A4 80 BF 01 EC */ lwz r5, 0x1ec(r31)
/* 80108A48 001059A8 80 7F 01 E4 */ lwz r3, 0x1e4(r31)
/* 80108A4C 001059AC 7C 85 00 D0 */ neg r4, r5
/* 80108A50 001059B0 C0 22 94 AC */ lfs f1, lbl_805AB1CC@sda21(r2)
/* 80108A54 001059B4 7C 03 00 D0 */ neg r0, r3
/* 80108A58 001059B8 C0 42 94 A4 */ lfs f2, lbl_805AB1C4@sda21(r2)
/* 80108A5C 001059BC 7C 84 2B 78 */ or r4, r4, r5
/* 80108A60 001059C0 7C 00 1B 78 */ or r0, r0, r3
/* 80108A64 001059C4 54 99 0F FE */ srwi r25, r4, 0x1f
/* 80108A68 001059C8 54 1A 0F FE */ srwi r26, r0, 0x1f
/* 80108A6C 001059CC 48 20 19 75 */ bl SetDepthRange__9CGraphicsFff
/* 80108A70 001059D0 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 80108A74 001059D4 FC 1B 00 40 */ fcmpo cr0, f27, f0
/* 80108A78 001059D8 40 81 00 3C */ ble lbl_80108AB4
/* 80108A7C 001059DC 48 24 15 31 */ bl White__6CColorFv
/* 80108A80 001059E0 C0 02 94 9C */ lfs f0, lbl_805AB1BC@sda21(r2)
/* 80108A84 001059E4 EF 40 06 F2 */ fmuls f26, f0, f27
/* 80108A88 001059E8 F3 41 A0 0B */ psq_st f26, 11(r1), 1, qr2
/* 80108A8C 001059EC 38 A1 00 2C */ addi r5, r1, 0x2c
/* 80108A90 001059F0 80 E3 00 00 */ lwz r7, 0(r3)
/* 80108A94 001059F4 38 60 00 05 */ li r3, 5
/* 80108A98 001059F8 88 01 00 0B */ lbz r0, 0xb(r1)
/* 80108A9C 001059FC 38 80 00 07 */ li r4, 7
/* 80108AA0 00105A00 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17
/* 80108AA4 00105A04 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2)
/* 80108AA8 00105A08 90 01 00 2C */ stw r0, 0x2c(r1)
/* 80108AAC 00105A0C 38 C0 00 00 */ li r6, 0
/* 80108AB0 00105A10 4B FE 36 99 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef
lbl_80108AB4:
/* 80108AB4 00105A14 C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2)
/* 80108AB8 00105A18 28 1A 00 00 */ cmplwi r26, 0
/* 80108ABC 00105A1C C0 3F 01 F4 */ lfs f1, 0x1f4(r31)
/* 80108AC0 00105A20 7F C4 F3 78 */ mr r4, r30
/* 80108AC4 00105A24 EC 00 D8 28 */ fsubs f0, f0, f27
/* 80108AC8 00105A28 80 7F 00 34 */ lwz r3, 0x34(r31)
/* 80108ACC 00105A2C 80 BF 01 E0 */ lwz r5, 0x1e0(r31)
/* 80108AD0 00105A30 7F 26 CB 78 */ mr r6, r25
/* 80108AD4 00105A34 38 E0 00 00 */ li r7, 0
/* 80108AD8 00105A38 EC 21 00 32 */ fmuls f1, f1, f0
/* 80108ADC 00105A3C 41 82 00 10 */ beq lbl_80108AEC
/* 80108AE0 00105A40 57 60 06 3F */ clrlwi. r0, r27, 0x18
/* 80108AE4 00105A44 40 82 00 08 */ bne lbl_80108AEC
/* 80108AE8 00105A48 38 E0 00 01 */ li r7, 1
lbl_80108AEC:
/* 80108AEC 00105A4C 4B F5 CE 79 */ bl Draw__9CSamusHudCFRC13CStateManagerfUibb
lbl_80108AF0:
/* 80108AF0 00105A50 80 7F 01 BC */ lwz r3, 0x1bc(r31)
/* 80108AF4 00105A54 38 80 00 00 */ li r4, 0
/* 80108AF8 00105A58 7C 80 23 78 */ mr r0, r4
/* 80108AFC 00105A5C 3B 80 00 01 */ li r28, 1
/* 80108B00 00105A60 2C 03 00 00 */ cmpwi r3, 0
/* 80108B04 00105A64 41 80 00 10 */ blt lbl_80108B14
/* 80108B08 00105A68 2C 03 00 01 */ cmpwi r3, 1
/* 80108B0C 00105A6C 41 81 00 08 */ bgt lbl_80108B14
/* 80108B10 00105A70 7F 80 E3 78 */ mr r0, r28
lbl_80108B14:
/* 80108B14 00105A74 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80108B18 00105A78 41 82 00 2C */ beq lbl_80108B44
/* 80108B1C 00105A7C 80 7F 01 C0 */ lwz r3, 0x1c0(r31)
/* 80108B20 00105A80 38 00 00 00 */ li r0, 0
/* 80108B24 00105A84 2C 03 00 00 */ cmpwi r3, 0
/* 80108B28 00105A88 41 80 00 10 */ blt lbl_80108B38
/* 80108B2C 00105A8C 2C 03 00 01 */ cmpwi r3, 1
/* 80108B30 00105A90 41 81 00 08 */ bgt lbl_80108B38
/* 80108B34 00105A94 38 00 00 01 */ li r0, 1
lbl_80108B38:
/* 80108B38 00105A98 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80108B3C 00105A9C 41 82 00 08 */ beq lbl_80108B44
/* 80108B40 00105AA0 38 80 00 01 */ li r4, 1
lbl_80108B44:
/* 80108B44 00105AA4 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80108B48 00105AA8 40 82 00 30 */ bne lbl_80108B78
/* 80108B4C 00105AAC 80 1F 01 BC */ lwz r0, 0x1bc(r31)
/* 80108B50 00105AB0 38 60 00 00 */ li r3, 0
/* 80108B54 00105AB4 2C 00 00 02 */ cmpwi r0, 2
/* 80108B58 00105AB8 41 82 00 10 */ beq lbl_80108B68
/* 80108B5C 00105ABC 80 1F 01 C0 */ lwz r0, 0x1c0(r31)
/* 80108B60 00105AC0 2C 00 00 02 */ cmpwi r0, 2
/* 80108B64 00105AC4 40 82 00 08 */ bne lbl_80108B6C
lbl_80108B68:
/* 80108B68 00105AC8 38 60 00 01 */ li r3, 1
lbl_80108B6C:
/* 80108B6C 00105ACC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80108B70 00105AD0 40 82 00 08 */ bne lbl_80108B78
/* 80108B74 00105AD4 3B 80 00 00 */ li r28, 0
lbl_80108B78:
/* 80108B78 00105AD8 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 80108B7C 00105ADC 41 82 00 10 */ beq lbl_80108B8C
/* 80108B80 00105AE0 80 7F 00 3C */ lwz r3, 0x3c(r31)
/* 80108B84 00105AE4 7F C4 F3 78 */ mr r4, r30
/* 80108B88 00105AE8 48 15 4B E1 */ bl Draw__16CPauseScreenBlurFRC13CStateManager
lbl_80108B8C:
/* 80108B8C 00105AEC 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 80108B90 00105AF0 41 82 01 AC */ beq lbl_80108D3C
/* 80108B94 00105AF4 80 1F 01 E8 */ lwz r0, 0x1e8(r31)
/* 80108B98 00105AF8 28 00 00 00 */ cmplwi r0, 0
/* 80108B9C 00105AFC 41 82 01 A0 */ beq lbl_80108D3C
/* 80108BA0 00105B00 80 7F 00 3C */ lwz r3, 0x3c(r31)
/* 80108BA4 00105B04 88 03 00 50 */ lbz r0, 0x50(r3)
/* 80108BA8 00105B08 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 80108BAC 00105B0C 40 82 00 2C */ bne lbl_80108BD8
/* 80108BB0 00105B10 80 1F 01 BC */ lwz r0, 0x1bc(r31)
/* 80108BB4 00105B14 38 60 00 00 */ li r3, 0
/* 80108BB8 00105B18 2C 00 00 02 */ cmpwi r0, 2
/* 80108BBC 00105B1C 41 82 00 10 */ beq lbl_80108BCC
/* 80108BC0 00105B20 80 1F 01 C0 */ lwz r0, 0x1c0(r31)
/* 80108BC4 00105B24 2C 00 00 02 */ cmpwi r0, 2
/* 80108BC8 00105B28 40 82 00 08 */ bne lbl_80108BD0
lbl_80108BCC:
/* 80108BCC 00105B2C 38 60 00 01 */ li r3, 1
lbl_80108BD0:
/* 80108BD0 00105B30 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80108BD4 00105B34 41 82 01 68 */ beq lbl_80108D3C
lbl_80108BD8:
/* 80108BD8 00105B38 80 7E 08 B8 */ lwz r3, 0x8b8(r30)
/* 80108BDC 00105B3C 80 9E 08 4C */ lwz r4, 0x84c(r30)
/* 80108BE0 00105B40 80 63 00 00 */ lwz r3, 0(r3)
/* 80108BE4 00105B44 83 24 02 F8 */ lwz r25, 0x2f8(r4)
/* 80108BE8 00105B48 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80108BEC 00105B4C 2C 00 00 00 */ cmpwi r0, 0
/* 80108BF0 00105B50 40 82 00 10 */ bne lbl_80108C00
/* 80108BF4 00105B54 4B F8 8C 71 */ bl GetVisorTransitionFactor__12CPlayerStateCFv
/* 80108BF8 00105B58 FF 60 08 90 */ fmr f27, f1
/* 80108BFC 00105B5C 48 00 00 08 */ b lbl_80108C04
lbl_80108C00:
/* 80108C00 00105B60 C3 62 94 94 */ lfs f27, lbl_805AB1B4@sda21(r2)
lbl_80108C04:
/* 80108C04 00105B64 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13)
/* 80108C08 00105B68 88 03 02 74 */ lbz r0, 0x274(r3)
/* 80108C0C 00105B6C 28 00 00 00 */ cmplwi r0, 0
/* 80108C10 00105B70 41 82 00 0C */ beq lbl_80108C1C
/* 80108C14 00105B74 C3 42 94 90 */ lfs f26, lbl_805AB1B0@sda21(r2)
/* 80108C18 00105B78 48 00 00 18 */ b lbl_80108C30
lbl_80108C1C:
/* 80108C1C 00105B7C 2C 19 00 00 */ cmpwi r25, 0
/* 80108C20 00105B80 40 82 00 0C */ bne lbl_80108C2C
/* 80108C24 00105B84 C3 42 94 90 */ lfs f26, lbl_805AB1B0@sda21(r2)
/* 80108C28 00105B88 48 00 00 08 */ b lbl_80108C30
lbl_80108C2C:
/* 80108C2C 00105B8C C3 42 94 94 */ lfs f26, lbl_805AB1B4@sda21(r2)
lbl_80108C30:
/* 80108C30 00105B90 80 9F 00 34 */ lwz r4, 0x34(r31)
/* 80108C34 00105B94 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 80108C38 00105B98 3B 63 66 A0 */ addi r27, r3, sZeroVector__9CVector3f@l
/* 80108C3C 00105B9C C0 62 94 94 */ lfs f3, lbl_805AB1B4@sda21(r2)
/* 80108C40 00105BA0 80 64 02 74 */ lwz r3, 0x274(r4)
/* 80108C44 00105BA4 38 81 00 A8 */ addi r4, r1, 0xa8
/* 80108C48 00105BA8 C0 5B 00 00 */ lfs f2, 0(r27)
/* 80108C4C 00105BAC 80 63 00 14 */ lwz r3, 0x14(r3)
/* 80108C50 00105BB0 C0 3B 00 04 */ lfs f1, 4(r27)
/* 80108C54 00105BB4 C0 1B 00 08 */ lfs f0, 8(r27)
/* 80108C58 00105BB8 D0 61 00 A8 */ stfs f3, 0xa8(r1)
/* 80108C5C 00105BBC D0 41 00 AC */ stfs f2, 0xac(r1)
/* 80108C60 00105BC0 D0 21 00 B0 */ stfs f1, 0xb0(r1)
/* 80108C64 00105BC4 D0 01 00 B4 */ stfs f0, 0xb4(r1)
/* 80108C68 00105BC8 81 83 00 00 */ lwz r12, 0(r3)
/* 80108C6C 00105BCC 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80108C70 00105BD0 7D 89 03 A6 */ mtctr r12
/* 80108C74 00105BD4 4E 80 04 21 */ bctrl
/* 80108C78 00105BD8 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2)
/* 80108C7C 00105BDC C0 42 94 AC */ lfs f2, lbl_805AB1CC@sda21(r2)
/* 80108C80 00105BE0 48 20 17 61 */ bl SetDepthRange__9CGraphicsFff
/* 80108C84 00105BE4 80 7F 01 48 */ lwz r3, 0x148(r31)
/* 80108C88 00105BE8 38 80 00 01 */ li r4, 1
/* 80108C8C 00105BEC 48 1C 19 A1 */ bl SetIsVisible__10CGuiWidgetFb
/* 80108C90 00105BF0 3C 60 80 5A */ lis r3, sZeroVector__9CVector3f@ha
/* 80108C94 00105BF4 C0 62 94 90 */ lfs f3, lbl_805AB1B0@sda21(r2)
/* 80108C98 00105BF8 C0 43 66 A0 */ lfs f2, sZeroVector__9CVector3f@l(r3)
/* 80108C9C 00105BFC 38 81 00 98 */ addi r4, r1, 0x98
/* 80108CA0 00105C00 C0 3B 00 04 */ lfs f1, 4(r27)
/* 80108CA4 00105C04 C0 1B 00 08 */ lfs f0, 8(r27)
/* 80108CA8 00105C08 D0 61 00 98 */ stfs f3, 0x98(r1)
/* 80108CAC 00105C0C 80 7F 01 48 */ lwz r3, 0x148(r31)
/* 80108CB0 00105C10 D0 41 00 9C */ stfs f2, 0x9c(r1)
/* 80108CB4 00105C14 D0 21 00 A0 */ stfs f1, 0xa0(r1)
/* 80108CB8 00105C18 D0 01 00 A4 */ stfs f0, 0xa4(r1)
/* 80108CBC 00105C1C 81 83 00 00 */ lwz r12, 0(r3)
/* 80108CC0 00105C20 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80108CC4 00105C24 7D 89 03 A6 */ mtctr r12
/* 80108CC8 00105C28 4E 80 04 21 */ bctrl
/* 80108CCC 00105C2C 38 60 00 01 */ li r3, 1
/* 80108CD0 00105C30 38 80 00 06 */ li r4, 6
/* 80108CD4 00105C34 38 A0 00 00 */ li r5, 0
/* 80108CD8 00105C38 48 20 2D BD */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb
/* 80108CDC 00105C3C C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2)
/* 80108CE0 00105C40 38 61 00 B8 */ addi r3, r1, 0xb8
/* 80108CE4 00105C44 83 7F 00 38 */ lwz r27, 0x38(r31)
/* 80108CE8 00105C48 FC 60 08 90 */ fmr f3, f1
/* 80108CEC 00105C4C C0 42 94 B0 */ lfs f2, lbl_805AB1D0@sda21(r2)
/* 80108CF0 00105C50 48 20 A4 99 */ bl Translate__12CTransform4fFfff
/* 80108CF4 00105C54 38 61 00 E8 */ addi r3, r1, 0xe8
/* 80108CF8 00105C58 38 81 00 B8 */ addi r4, r1, 0xb8
/* 80108CFC 00105C5C 38 BF 01 8C */ addi r5, r31, 0x18c
/* 80108D00 00105C60 48 20 9C 51 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80108D04 00105C64 C0 1F 01 F4 */ lfs f0, 0x1f4(r31)
/* 80108D08 00105C68 7F 63 DB 78 */ mr r3, r27
/* 80108D0C 00105C6C 7F C4 F3 78 */ mr r4, r30
/* 80108D10 00105C70 38 A1 00 E8 */ addi r5, r1, 0xe8
/* 80108D14 00105C74 EC 00 06 F2 */ fmuls f0, f0, f27
/* 80108D18 00105C78 EC 3A 00 32 */ fmuls f1, f26, f0
/* 80108D1C 00105C7C 4B F9 02 E9 */ bl Draw__11CAutoMapperCFRC13CStateManagerRC12CTransform4ff
/* 80108D20 00105C80 38 60 00 01 */ li r3, 1
/* 80108D24 00105C84 38 80 00 03 */ li r4, 3
/* 80108D28 00105C88 38 A0 00 01 */ li r5, 1
/* 80108D2C 00105C8C 48 20 2D 69 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb
/* 80108D30 00105C90 80 7F 01 48 */ lwz r3, 0x148(r31)
/* 80108D34 00105C94 38 80 00 00 */ li r4, 0
/* 80108D38 00105C98 48 1C 18 F5 */ bl SetIsVisible__10CGuiWidgetFb
lbl_80108D3C:
/* 80108D3C 00105C9C 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 80108D40 00105CA0 40 82 00 10 */ bne lbl_80108D50
/* 80108D44 00105CA4 80 7F 00 3C */ lwz r3, 0x3c(r31)
/* 80108D48 00105CA8 7F C4 F3 78 */ mr r4, r30
/* 80108D4C 00105CAC 48 15 4A 1D */ bl Draw__16CPauseScreenBlurFRC13CStateManager
lbl_80108D50:
/* 80108D50 00105CB0 80 1F 01 E0 */ lwz r0, 0x1e0(r31)
/* 80108D54 00105CB4 28 00 00 00 */ cmplwi r0, 0
/* 80108D58 00105CB8 41 82 00 30 */ beq lbl_80108D88
/* 80108D5C 00105CBC 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 80108D60 00105CC0 41 82 00 28 */ beq lbl_80108D88
/* 80108D64 00105CC4 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 80108D68 00105CC8 28 03 00 00 */ cmplwi r3, 0
/* 80108D6C 00105CCC 40 82 00 0C */ bne lbl_80108D78
/* 80108D70 00105CD0 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2)
/* 80108D74 00105CD4 48 00 00 08 */ b lbl_80108D7C
lbl_80108D78:
/* 80108D78 00105CD8 4B F6 9C 65 */ bl GetHelmetCamYOff__12CPauseScreenCFv
lbl_80108D7C:
/* 80108D7C 00105CDC 80 7F 00 34 */ lwz r3, 0x34(r31)
/* 80108D80 00105CE0 7F C4 F3 78 */ mr r4, r30
/* 80108D84 00105CE4 4B F5 D0 3D */ bl DrawHelmet__9CSamusHudFRC13CStateManagerf
lbl_80108D88:
/* 80108D88 00105CE8 80 7F 00 4C */ lwz r3, 0x4c(r31)
/* 80108D8C 00105CEC 28 03 00 00 */ cmplwi r3, 0
/* 80108D90 00105CF0 41 82 00 08 */ beq lbl_80108D98
/* 80108D94 00105CF4 48 14 69 8D */ bl Draw__15CSaveGameScreenFv
lbl_80108D98:
/* 80108D98 00105CF8 80 7F 00 44 */ lwz r3, 0x44(r31)
/* 80108D9C 00105CFC 28 03 00 00 */ cmplwi r3, 0
/* 80108DA0 00105D00 41 82 00 08 */ beq lbl_80108DA8
/* 80108DA4 00105D04 48 0E 68 61 */ bl Draw__14CMessageScreenCFv
lbl_80108DA8:
/* 80108DA8 00105D08 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 80108DAC 00105D0C 28 03 00 00 */ cmplwi r3, 0
/* 80108DB0 00105D10 41 82 00 08 */ beq lbl_80108DB8
/* 80108DB4 00105D14 4B F6 A3 FD */ bl Draw__12CPauseScreenFv
lbl_80108DB8:
/* 80108DB8 00105D18 38 7F 00 F8 */ addi r3, r31, 0xf8
/* 80108DBC 00105D1C 4B FE 34 D5 */ bl Draw__17CCameraFilterPassCFv
/* 80108DC0 00105D20 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 80108DC4 00105D24 FC 1D 00 40 */ fcmpo cr0, f29, f0
/* 80108DC8 00105D28 40 81 03 F8 */ ble lbl_801091C0
/* 80108DCC 00105D2C 80 7E 08 4C */ lwz r3, 0x84c(r30)
/* 80108DD0 00105D30 80 03 02 F8 */ lwz r0, 0x2f8(r3)
/* 80108DD4 00105D34 2C 00 00 00 */ cmpwi r0, 0
/* 80108DD8 00105D38 40 82 00 0C */ bne lbl_80108DE4
/* 80108DDC 00105D3C C0 42 80 EC */ lfs f2, lbl_805A9E0C@sda21(r2)
/* 80108DE0 00105D40 48 00 00 08 */ b lbl_80108DE8
lbl_80108DE4:
/* 80108DE4 00105D44 C0 42 80 F0 */ lfs f2, lbl_805A9E10@sda21(r2)
lbl_80108DE8:
/* 80108DE8 00105D48 EC 1D 10 24 */ fdivs f0, f29, f2
/* 80108DEC 00105D4C C0 62 94 80 */ lfs f3, lbl_805AB1A0@sda21(r2)
/* 80108DF0 00105D50 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2)
/* 80108DF4 00105D54 38 81 00 28 */ addi r4, r1, 0x28
/* 80108DF8 00105D58 38 6D 89 DC */ addi r3, r13, lbl_805A759C@sda21
/* 80108DFC 00105D5C 38 AD 89 E0 */ addi r5, r13, lbl_805A75A0@sda21
/* 80108E00 00105D60 EC 42 18 28 */ fsubs f2, f2, f3
/* 80108E04 00105D64 D0 01 00 28 */ stfs f0, 0x28(r1)
/* 80108E08 00105D68 EC 02 18 28 */ fsubs f0, f2, f3
/* 80108E0C 00105D6C EF 40 08 28 */ fsubs f26, f0, f1
/* 80108E10 00105D70 EF 63 D0 2A */ fadds f27, f3, f26
/* 80108E14 00105D74 EF 23 D8 2A */ fadds f25, f3, f27
/* 80108E18 00105D78 4B F0 34 9D */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80108E1C 00105D7C C3 03 00 00 */ lfs f24, 0(r3)
/* 80108E20 00105D80 48 24 11 8D */ bl White__6CColorFv
/* 80108E24 00105D84 C0 02 94 9C */ lfs f0, lbl_805AB1BC@sda21(r2)
/* 80108E28 00105D88 EF E0 06 32 */ fmuls f31, f0, f24
/* 80108E2C 00105D8C F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2
/* 80108E30 00105D90 38 A1 00 24 */ addi r5, r1, 0x24
/* 80108E34 00105D94 80 E3 00 00 */ lwz r7, 0(r3)
/* 80108E38 00105D98 38 60 00 05 */ li r3, 5
/* 80108E3C 00105D9C 88 01 00 0A */ lbz r0, 0xa(r1)
/* 80108E40 00105DA0 38 80 00 00 */ li r4, 0
/* 80108E44 00105DA4 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17
/* 80108E48 00105DA8 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2)
/* 80108E4C 00105DAC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80108E50 00105DB0 38 C0 00 00 */ li r6, 0
/* 80108E54 00105DB4 4B FE 32 F5 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef
/* 80108E58 00105DB8 FC 1D D0 40 */ fcmpo cr0, f29, f26
/* 80108E5C 00105DBC 40 81 03 64 */ ble lbl_801091C0
/* 80108E60 00105DC0 EC 3D D0 28 */ fsubs f1, f29, f26
/* 80108E64 00105DC4 C0 02 94 80 */ lfs f0, lbl_805AB1A0@sda21(r2)
/* 80108E68 00105DC8 38 81 00 20 */ addi r4, r1, 0x20
/* 80108E6C 00105DCC 38 6D 89 E4 */ addi r3, r13, lbl_805A75A4@sda21
/* 80108E70 00105DD0 38 AD 89 E8 */ addi r5, r13, lbl_805A75A8@sda21
/* 80108E74 00105DD4 EC 01 00 24 */ fdivs f0, f1, f0
/* 80108E78 00105DD8 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80108E7C 00105DDC 4B F0 34 39 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80108E80 00105DE0 EC 3D D8 28 */ fsubs f1, f29, f27
/* 80108E84 00105DE4 C0 02 94 80 */ lfs f0, lbl_805AB1A0@sda21(r2)
/* 80108E88 00105DE8 C0 63 00 00 */ lfs f3, 0(r3)
/* 80108E8C 00105DEC 38 81 00 1C */ addi r4, r1, 0x1c
/* 80108E90 00105DF0 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2)
/* 80108E94 00105DF4 38 6D 89 EC */ addi r3, r13, lbl_805A75AC@sda21
/* 80108E98 00105DF8 EC 01 00 24 */ fdivs f0, f1, f0
/* 80108E9C 00105DFC 38 AD 89 F0 */ addi r5, r13, lbl_805A75B0@sda21
/* 80108EA0 00105E00 EF E2 18 28 */ fsubs f31, f2, f3
/* 80108EA4 00105E04 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 80108EA8 00105E08 4B F0 34 0D */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80108EAC 00105E0C EC 1D C8 28 */ fsubs f0, f29, f25
/* 80108EB0 00105E10 C3 A3 00 00 */ lfs f29, 0(r3)
/* 80108EB4 00105E14 38 81 00 18 */ addi r4, r1, 0x18
/* 80108EB8 00105E18 38 6D 89 F4 */ addi r3, r13, lbl_805A75B4@sda21
/* 80108EBC 00105E1C 38 AD 89 F8 */ addi r5, r13, lbl_805A75B8@sda21
/* 80108EC0 00105E20 D0 01 00 18 */ stfs f0, 0x18(r1)
/* 80108EC4 00105E24 4B F0 33 F1 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80108EC8 00105E28 3C 80 80 3F */ lis r4, mViewport__9CGraphics@ha
/* 80108ECC 00105E2C C0 23 00 00 */ lfs f1, 0(r3)
/* 80108ED0 00105E30 38 84 D9 10 */ addi r4, r4, mViewport__9CGraphics@l
/* 80108ED4 00105E34 C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2)
/* 80108ED8 00105E38 83 44 00 08 */ lwz r26, 8(r4)
/* 80108EDC 00105E3C 83 A4 00 0C */ lwz r29, 0xc(r4)
/* 80108EE0 00105E40 EF 60 08 28 */ fsubs f27, f0, f1
/* 80108EE4 00105E44 80 64 00 00 */ lwz r3, 0(r4)
/* 80108EE8 00105E48 57 45 04 3E */ clrlwi r5, r26, 0x10
/* 80108EEC 00105E4C 80 04 00 04 */ lwz r0, 4(r4)
/* 80108EF0 00105E50 57 A6 04 3E */ clrlwi r6, r29, 0x10
/* 80108EF4 00105E54 83 2D A8 28 */ lwz r25, mpSpareBuffer__9CGraphics@sda21(r13)
/* 80108EF8 00105E58 54 63 04 3E */ clrlwi r3, r3, 0x10
/* 80108EFC 00105E5C 54 04 04 3E */ clrlwi r4, r0, 0x10
/* 80108F00 00105E60 48 26 FE B5 */ bl GXSetTexCopySrc
/* 80108F04 00105E64 57 43 0F FE */ srwi r3, r26, 0x1f
/* 80108F08 00105E68 57 A0 0F FE */ srwi r0, r29, 0x1f
/* 80108F0C 00105E6C 7C 63 D2 14 */ add r3, r3, r26
/* 80108F10 00105E70 38 A0 00 04 */ li r5, 4
/* 80108F14 00105E74 7C 7C 0E 70 */ srawi r28, r3, 1
/* 80108F18 00105E78 7C 00 EA 14 */ add r0, r0, r29
/* 80108F1C 00105E7C 7C 1B 0E 70 */ srawi r27, r0, 1
/* 80108F20 00105E80 38 C0 00 00 */ li r6, 0
/* 80108F24 00105E84 57 83 04 3E */ clrlwi r3, r28, 0x10
/* 80108F28 00105E88 38 E0 00 00 */ li r7, 0
/* 80108F2C 00105E8C 57 64 04 3E */ clrlwi r4, r27, 0x10
/* 80108F30 00105E90 48 27 0D 11 */ bl GXGetTexBufferSize
/* 80108F34 00105E94 57 83 04 3E */ clrlwi r3, r28, 0x10
/* 80108F38 00105E98 57 64 04 3E */ clrlwi r4, r27, 0x10
/* 80108F3C 00105E9C 38 A0 00 04 */ li r5, 4
/* 80108F40 00105EA0 38 C0 00 01 */ li r6, 1
/* 80108F44 00105EA4 48 26 FF 3D */ bl GXSetTexCopyDst
/* 80108F48 00105EA8 7F 23 CB 78 */ mr r3, r25
/* 80108F4C 00105EAC 38 80 00 00 */ li r4, 0
/* 80108F50 00105EB0 48 27 05 E5 */ bl GXCopyTex
/* 80108F54 00105EB4 48 26 F6 11 */ bl GXPixModeSync
/* 80108F58 00105EB8 48 24 10 5D */ bl Black__6CColorFv
/* 80108F5C 00105EBC C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2)
/* 80108F60 00105EC0 7C 65 1B 78 */ mr r5, r3
/* 80108F64 00105EC4 38 60 00 05 */ li r3, 5
/* 80108F68 00105EC8 38 80 00 00 */ li r4, 0
/* 80108F6C 00105ECC 38 C0 00 00 */ li r6, 0
/* 80108F70 00105ED0 4B FE 31 D9 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef
/* 80108F74 00105ED4 7F 83 E3 78 */ mr r3, r28
/* 80108F78 00105ED8 7F 64 DB 78 */ mr r4, r27
/* 80108F7C 00105EDC 7F 26 CB 78 */ mr r6, r25
/* 80108F80 00105EE0 38 A0 00 04 */ li r5, 4
/* 80108F84 00105EE4 38 E0 00 00 */ li r7, 0
/* 80108F88 00105EE8 48 20 10 99 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID
/* 80108F8C 00105EEC EC 1F 07 F2 */ fmuls f0, f31, f31
/* 80108F90 00105EF0 3C A0 43 30 */ lis r5, 0x4330
/* 80108F94 00105EF4 6F A3 80 00 */ xoris r3, r29, 0x8000
/* 80108F98 00105EF8 6F 40 80 00 */ xoris r0, r26, 0x8000
/* 80108F9C 00105EFC 90 61 01 1C */ stw r3, 0x11c(r1)
/* 80108FA0 00105F00 3C 60 80 5A */ lis r3, kEnvModulate__9CGraphics@ha
/* 80108FA4 00105F04 90 A1 01 18 */ stw r5, 0x118(r1)
/* 80108FA8 00105F08 EC 1F 00 32 */ fmuls f0, f31, f0
/* 80108FAC 00105F0C C8 82 94 B8 */ lfd f4, lbl_805AB1D8@sda21(r2)
/* 80108FB0 00105F10 38 83 5E BC */ addi r4, r3, kEnvModulate__9CGraphics@l
/* 80108FB4 00105F14 C8 21 01 18 */ lfd f1, 0x118(r1)
/* 80108FB8 00105F18 38 60 00 00 */ li r3, 0
/* 80108FBC 00105F1C EC 5F 00 32 */ fmuls f2, f31, f0
/* 80108FC0 00105F20 EC 21 20 28 */ fsubs f1, f1, f4
/* 80108FC4 00105F24 C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2)
/* 80108FC8 00105F28 C0 62 94 B4 */ lfs f3, lbl_805AB1D4@sda21(r2)
/* 80108FCC 00105F2C EC BF 00 B2 */ fmuls f5, f31, f2
/* 80108FD0 00105F30 90 01 01 24 */ stw r0, 0x124(r1)
/* 80108FD4 00105F34 EC 41 18 28 */ fsubs f2, f1, f3
/* 80108FD8 00105F38 90 A1 01 20 */ stw r5, 0x120(r1)
/* 80108FDC 00105F3C EC 20 E8 28 */ fsubs f1, f0, f29
/* 80108FE0 00105F40 C0 C2 94 80 */ lfs f6, lbl_805AB1A0@sda21(r2)
/* 80108FE4 00105F44 C8 01 01 20 */ lfd f0, 0x120(r1)
/* 80108FE8 00105F48 EC 45 18 BA */ fmadds f2, f5, f2, f3
/* 80108FEC 00105F4C EC 00 20 28 */ fsubs f0, f0, f4
/* 80108FF0 00105F50 EF A6 00 B2 */ fmuls f29, f6, f2
/* 80108FF4 00105F54 EC 00 18 28 */ fsubs f0, f0, f3
/* 80108FF8 00105F58 FF E0 E8 50 */ fneg f31, f29
/* 80108FFC 00105F5C EC 01 18 3A */ fmadds f0, f1, f0, f3
/* 80109000 00105F60 EF 06 00 32 */ fmuls f24, f6, f0
/* 80109004 00105F64 FF 20 C0 50 */ fneg f25, f24
/* 80109008 00105F68 48 20 12 B1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 8010900C 00105F6C 80 8D 9C 68 */ lwz r4, kEnvPassthru__9CGraphics@sda21(r13)
/* 80109010 00105F70 38 60 00 01 */ li r3, 1
/* 80109014 00105F74 48 20 12 A5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 80109018 00105F78 38 60 00 98 */ li r3, 0x98
/* 8010901C 00105F7C 48 20 26 4D */ bl StreamBegin__9CGraphicsF13ERglPrimitive
/* 80109020 00105F80 48 24 0F 8D */ bl White__6CColorFv
/* 80109024 00105F84 C0 02 94 9C */ lfs f0, lbl_805AB1BC@sda21(r2)
/* 80109028 00105F88 EF 80 06 F2 */ fmuls f28, f0, f27
/* 8010902C 00105F8C FF C0 E0 90 */ fmr f30, f28
/* 80109030 00105F90 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2
/* 80109034 00105F94 80 83 00 00 */ lwz r4, 0(r3)
/* 80109038 00105F98 38 61 00 14 */ addi r3, r1, 0x14
/* 8010903C 00105F9C 88 01 00 09 */ lbz r0, 9(r1)
/* 80109040 00105FA0 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17
/* 80109044 00105FA4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80109048 00105FA8 48 20 25 01 */ bl StreamColor__9CGraphicsFRC6CColor
/* 8010904C 00105FAC C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2)
/* 80109050 00105FB0 FC 40 08 90 */ fmr f2, f1
/* 80109054 00105FB4 48 20 24 11 */ bl StreamTexcoord__9CGraphicsFff
/* 80109058 00105FB8 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 8010905C 00105FBC 38 61 00 8C */ addi r3, r1, 0x8c
/* 80109060 00105FC0 D3 21 00 8C */ stfs f25, 0x8c(r1)
/* 80109064 00105FC4 D0 01 00 90 */ stfs f0, 0x90(r1)
/* 80109068 00105FC8 D3 A1 00 94 */ stfs f29, 0x94(r1)
/* 8010906C 00105FCC 48 20 25 55 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 80109070 00105FD0 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2)
/* 80109074 00105FD4 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2)
/* 80109078 00105FD8 48 20 23 ED */ bl StreamTexcoord__9CGraphicsFff
/* 8010907C 00105FDC C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 80109080 00105FE0 38 61 00 80 */ addi r3, r1, 0x80
/* 80109084 00105FE4 D3 21 00 80 */ stfs f25, 0x80(r1)
/* 80109088 00105FE8 D0 01 00 84 */ stfs f0, 0x84(r1)
/* 8010908C 00105FEC D3 E1 00 88 */ stfs f31, 0x88(r1)
/* 80109090 00105FF0 48 20 25 31 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 80109094 00105FF4 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2)
/* 80109098 00105FF8 C0 42 94 94 */ lfs f2, lbl_805AB1B4@sda21(r2)
/* 8010909C 00105FFC 48 20 23 C9 */ bl StreamTexcoord__9CGraphicsFff
/* 801090A0 00106000 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 801090A4 00106004 38 61 00 74 */ addi r3, r1, 0x74
/* 801090A8 00106008 D3 01 00 74 */ stfs f24, 0x74(r1)
/* 801090AC 0010600C D0 01 00 78 */ stfs f0, 0x78(r1)
/* 801090B0 00106010 D3 A1 00 7C */ stfs f29, 0x7c(r1)
/* 801090B4 00106014 48 20 25 0D */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 801090B8 00106018 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2)
/* 801090BC 0010601C FC 40 08 90 */ fmr f2, f1
/* 801090C0 00106020 48 20 23 A5 */ bl StreamTexcoord__9CGraphicsFff
/* 801090C4 00106024 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 801090C8 00106028 38 61 00 68 */ addi r3, r1, 0x68
/* 801090CC 0010602C D3 01 00 68 */ stfs f24, 0x68(r1)
/* 801090D0 00106030 D0 01 00 6C */ stfs f0, 0x6c(r1)
/* 801090D4 00106034 D3 E1 00 70 */ stfs f31, 0x70(r1)
/* 801090D8 00106038 48 20 24 E9 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 801090DC 0010603C 48 20 23 35 */ bl StreamEnd__9CGraphicsFv
/* 801090E0 00106040 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 801090E4 00106044 81 83 00 00 */ lwz r12, 0(r3)
/* 801090E8 00106048 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 801090EC 0010604C 7D 89 03 A6 */ mtctr r12
/* 801090F0 00106050 4E 80 04 21 */ bctrl
/* 801090F4 00106054 80 7F 00 58 */ lwz r3, 0x58(r31)
/* 801090F8 00106058 38 80 00 00 */ li r4, 0
/* 801090FC 0010605C 38 A0 00 01 */ li r5, 1
/* 80109100 00106060 48 20 66 3D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode
/* 80109104 00106064 38 60 00 98 */ li r3, 0x98
/* 80109108 00106068 48 20 25 61 */ bl StreamBegin__9CGraphicsF13ERglPrimitive
/* 8010910C 0010606C 48 24 0E A1 */ bl White__6CColorFv
/* 80109110 00106070 F3 81 A0 08 */ psq_st f28, 8(r1), 1, qr2
/* 80109114 00106074 80 83 00 00 */ lwz r4, 0(r3)
/* 80109118 00106078 38 61 00 10 */ addi r3, r1, 0x10
/* 8010911C 0010607C 88 01 00 08 */ lbz r0, 8(r1)
/* 80109120 00106080 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17
/* 80109124 00106084 90 01 00 10 */ stw r0, 0x10(r1)
/* 80109128 00106088 48 20 24 21 */ bl StreamColor__9CGraphicsFRC6CColor
/* 8010912C 0010608C C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2)
/* 80109130 00106090 FC 40 08 90 */ fmr f2, f1
/* 80109134 00106094 48 20 23 31 */ bl StreamTexcoord__9CGraphicsFff
/* 80109138 00106098 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 8010913C 0010609C 38 61 00 5C */ addi r3, r1, 0x5c
/* 80109140 001060A0 D3 21 00 5C */ stfs f25, 0x5c(r1)
/* 80109144 001060A4 D0 01 00 60 */ stfs f0, 0x60(r1)
/* 80109148 001060A8 D3 A1 00 64 */ stfs f29, 0x64(r1)
/* 8010914C 001060AC 48 20 24 75 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 80109150 001060B0 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2)
/* 80109154 001060B4 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2)
/* 80109158 001060B8 48 20 23 0D */ bl StreamTexcoord__9CGraphicsFff
/* 8010915C 001060BC C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 80109160 001060C0 38 61 00 50 */ addi r3, r1, 0x50
/* 80109164 001060C4 D3 21 00 50 */ stfs f25, 0x50(r1)
/* 80109168 001060C8 D0 01 00 54 */ stfs f0, 0x54(r1)
/* 8010916C 001060CC D3 E1 00 58 */ stfs f31, 0x58(r1)
/* 80109170 001060D0 48 20 24 51 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 80109174 001060D4 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2)
/* 80109178 001060D8 C0 42 94 94 */ lfs f2, lbl_805AB1B4@sda21(r2)
/* 8010917C 001060DC 48 20 22 E9 */ bl StreamTexcoord__9CGraphicsFff
/* 80109180 001060E0 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 80109184 001060E4 38 61 00 44 */ addi r3, r1, 0x44
/* 80109188 001060E8 D3 01 00 44 */ stfs f24, 0x44(r1)
/* 8010918C 001060EC D0 01 00 48 */ stfs f0, 0x48(r1)
/* 80109190 001060F0 D3 A1 00 4C */ stfs f29, 0x4c(r1)
/* 80109194 001060F4 48 20 24 2D */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 80109198 001060F8 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2)
/* 8010919C 001060FC FC 40 08 90 */ fmr f2, f1
/* 801091A0 00106100 48 20 22 C5 */ bl StreamTexcoord__9CGraphicsFff
/* 801091A4 00106104 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 801091A8 00106108 38 61 00 38 */ addi r3, r1, 0x38
/* 801091AC 0010610C D3 01 00 38 */ stfs f24, 0x38(r1)
/* 801091B0 00106110 D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 801091B4 00106114 D3 E1 00 40 */ stfs f31, 0x40(r1)
/* 801091B8 00106118 48 20 24 09 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 801091BC 0010611C 48 20 22 55 */ bl StreamEnd__9CGraphicsFv
lbl_801091C0:
/* 801091C0 00106120 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0
/* 801091C4 00106124 CB E1 01 C0 */ lfd f31, 0x1c0(r1)
/* 801091C8 00106128 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0
/* 801091CC 0010612C CB C1 01 B0 */ lfd f30, 0x1b0(r1)
/* 801091D0 00106130 E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0
/* 801091D4 00106134 CB A1 01 A0 */ lfd f29, 0x1a0(r1)
/* 801091D8 00106138 E3 81 01 98 */ psq_l f28, 408(r1), 0, qr0
/* 801091DC 0010613C CB 81 01 90 */ lfd f28, 0x190(r1)
/* 801091E0 00106140 E3 61 01 88 */ psq_l f27, 392(r1), 0, qr0
/* 801091E4 00106144 CB 61 01 80 */ lfd f27, 0x180(r1)
/* 801091E8 00106148 E3 41 01 78 */ psq_l f26, 376(r1), 0, qr0
/* 801091EC 0010614C CB 41 01 70 */ lfd f26, 0x170(r1)
/* 801091F0 00106150 E3 21 01 68 */ psq_l f25, 360(r1), 0, qr0
/* 801091F4 00106154 CB 21 01 60 */ lfd f25, 0x160(r1)
/* 801091F8 00106158 E3 01 01 58 */ psq_l f24, 344(r1), 0, qr0
/* 801091FC 0010615C CB 01 01 50 */ lfd f24, 0x150(r1)
/* 80109200 00106160 BB 21 01 34 */ lmw r25, 0x134(r1)
/* 80109204 00106164 80 01 01 D4 */ lwz r0, 0x1d4(r1)
/* 80109208 00106168 7C 08 03 A6 */ mtlr r0
/* 8010920C 0010616C 38 21 01 D0 */ addi r1, r1, 0x1d0
/* 80109210 00106170 4E 80 00 20 */ blr
.global StartFadeIn__17CInGameGuiManagerFv
StartFadeIn__17CInGameGuiManagerFv:
/* 80109214 00106174 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80109218 00106178 7C 08 02 A6 */ mflr r0
/* 8010921C 0010617C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80109220 00106180 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80109224 00106184 7C 7F 1B 78 */ mr r31, r3
/* 80109228 00106188 48 24 0D 8D */ bl Black__6CColorFv
/* 8010922C 0010618C C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2)
/* 80109230 00106190 7C 66 1B 78 */ mr r6, r3
/* 80109234 00106194 38 7F 00 F8 */ addi r3, r31, 0xf8
/* 80109238 00106198 38 80 00 01 */ li r4, 1
/* 8010923C 0010619C 38 A0 00 00 */ li r5, 0
/* 80109240 001061A0 38 E0 FF FF */ li r7, -1
/* 80109244 001061A4 4B FE 41 5D */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi
/* 80109248 001061A8 C0 22 94 80 */ lfs f1, lbl_805AB1A0@sda21(r2)
/* 8010924C 001061AC 38 7F 00 F8 */ addi r3, r31, 0xf8
/* 80109250 001061B0 4B FE 41 19 */ bl DisableFilter__17CCameraFilterPassFf
/* 80109254 001061B4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80109258 001061B8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8010925C 001061BC 7C 08 03 A6 */ mtlr r0
/* 80109260 001061C0 38 21 00 10 */ addi r1, r1, 0x10
/* 80109264 001061C4 4E 80 00 20 */ blr
.global CheckLoadComplete__17CInGameGuiManagerFRC13CStateManager
CheckLoadComplete__17CInGameGuiManagerFRC13CStateManager:
/* 80109268 001061C8 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 8010926C 001061CC 7C 08 02 A6 */ mflr r0
/* 80109270 001061D0 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 80109274 001061D4 93 E1 00 DC */ stw r31, 0xdc(r1)
/* 80109278 001061D8 7C 7F 1B 78 */ mr r31, r3
/* 8010927C 001061DC 93 C1 00 D8 */ stw r30, 0xd8(r1)
/* 80109280 001061E0 7C 9E 23 78 */ mr r30, r4
/* 80109284 001061E4 93 A1 00 D4 */ stw r29, 0xd4(r1)
/* 80109288 001061E8 93 81 00 D0 */ stw r28, 0xd0(r1)
/* 8010928C 001061EC 80 03 00 18 */ lwz r0, 0x18(r3)
/* 80109290 001061F0 2C 00 00 02 */ cmpwi r0, 2
/* 80109294 001061F4 41 82 02 EC */ beq lbl_80109580
/* 80109298 001061F8 40 80 00 14 */ bge lbl_801092AC
/* 8010929C 001061FC 2C 00 00 00 */ cmpwi r0, 0
/* 801092A0 00106200 41 82 00 18 */ beq lbl_801092B8
/* 801092A4 00106204 40 80 01 10 */ bge lbl_801093B4
/* 801092A8 00106208 48 00 05 78 */ b lbl_80109820
lbl_801092AC:
/* 801092AC 0010620C 2C 00 00 04 */ cmpwi r0, 4
/* 801092B0 00106210 40 80 05 70 */ bge lbl_80109820
/* 801092B4 00106214 48 00 05 5C */ b lbl_80109810
lbl_801092B8:
/* 801092B8 00106218 80 9F 00 00 */ lwz r4, 0(r31)
/* 801092BC 0010621C 80 04 00 10 */ lwz r0, 0x10(r4)
/* 801092C0 00106220 28 00 00 00 */ cmplwi r0, 0
/* 801092C4 00106224 41 82 00 E8 */ beq lbl_801093AC
/* 801092C8 00106228 48 23 7B 45 */ bl GetObj__6CTokenFv
/* 801092CC 0010622C 83 A3 00 04 */ lwz r29, 4(r3)
/* 801092D0 00106230 38 7F 00 08 */ addi r3, r31, 8
/* 801092D4 00106234 80 9D 00 04 */ lwz r4, 4(r29)
/* 801092D8 00106238 4B EF F6 85 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
/* 801092DC 0010623C 83 9D 00 0C */ lwz r28, 0xc(r29)
/* 801092E0 00106240 48 00 00 A0 */ b lbl_80109380
lbl_801092E4:
/* 801092E4 00106244 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 801092E8 00106248 7F 85 E3 78 */ mr r5, r28
/* 801092EC 0010624C 38 61 00 18 */ addi r3, r1, 0x18
/* 801092F0 00106250 81 84 00 00 */ lwz r12, 0(r4)
/* 801092F4 00106254 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 801092F8 00106258 7D 89 03 A6 */ mtctr r12
/* 801092FC 0010625C 4E 80 04 21 */ bctrl
/* 80109300 00106260 38 61 00 20 */ addi r3, r1, 0x20
/* 80109304 00106264 38 81 00 18 */ addi r4, r1, 0x18
/* 80109308 00106268 48 23 7B A1 */ bl __ct__6CTokenFRC6CToken
/* 8010930C 0010626C 38 61 00 18 */ addi r3, r1, 0x18
/* 80109310 00106270 38 80 FF FF */ li r4, -1
/* 80109314 00106274 48 23 7B 2D */ bl __dt__6CTokenFv
/* 80109318 00106278 38 61 00 20 */ addi r3, r1, 0x20
/* 8010931C 0010627C 48 23 7A 69 */ bl Lock__6CTokenFv
/* 80109320 00106280 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 80109324 00106284 80 BF 00 10 */ lwz r5, 0x10(r31)
/* 80109328 00106288 7C 00 28 00 */ cmpw r0, r5
/* 8010932C 0010628C 41 80 00 1C */ blt lbl_80109348
/* 80109330 00106290 2C 05 00 00 */ cmpwi r5, 0
/* 80109334 00106294 38 7F 00 08 */ addi r3, r31, 8
/* 80109338 00106298 38 80 00 04 */ li r4, 4
/* 8010933C 0010629C 41 82 00 08 */ beq lbl_80109344
/* 80109340 001062A0 54 A4 08 3C */ slwi r4, r5, 1
lbl_80109344:
/* 80109344 001062A4 4B EF F6 19 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
lbl_80109348:
/* 80109348 001062A8 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8010934C 001062AC 80 7F 00 14 */ lwz r3, 0x14(r31)
/* 80109350 001062B0 54 00 18 38 */ slwi r0, r0, 3
/* 80109354 001062B4 7C 63 02 15 */ add. r3, r3, r0
/* 80109358 001062B8 41 82 00 0C */ beq lbl_80109364
/* 8010935C 001062BC 38 81 00 20 */ addi r4, r1, 0x20
/* 80109360 001062C0 48 23 7B 49 */ bl __ct__6CTokenFRC6CToken
lbl_80109364:
/* 80109364 001062C4 80 BF 00 0C */ lwz r5, 0xc(r31)
/* 80109368 001062C8 38 61 00 20 */ addi r3, r1, 0x20
/* 8010936C 001062CC 38 80 FF FF */ li r4, -1
/* 80109370 001062D0 38 05 00 01 */ addi r0, r5, 1
/* 80109374 001062D4 90 1F 00 0C */ stw r0, 0xc(r31)
/* 80109378 001062D8 48 23 7A C9 */ bl __dt__6CTokenFv
/* 8010937C 001062DC 3B 9C 00 08 */ addi r28, r28, 8
lbl_80109380:
/* 80109380 001062E0 80 1D 00 04 */ lwz r0, 4(r29)
/* 80109384 001062E4 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 80109388 001062E8 54 00 18 38 */ slwi r0, r0, 3
/* 8010938C 001062EC 7C 03 02 14 */ add r0, r3, r0
/* 80109390 001062F0 7C 1C 00 40 */ cmplw r28, r0
/* 80109394 001062F4 40 82 FF 50 */ bne lbl_801092E4
/* 80109398 001062F8 7F E3 FB 78 */ mr r3, r31
/* 8010939C 001062FC 48 23 79 A5 */ bl Unlock__6CTokenFv
/* 801093A0 00106300 38 00 00 01 */ li r0, 1
/* 801093A4 00106304 90 1F 00 18 */ stw r0, 0x18(r31)
/* 801093A8 00106308 48 00 00 0C */ b lbl_801093B4
lbl_801093AC:
/* 801093AC 0010630C 38 60 00 00 */ li r3, 0
/* 801093B0 00106310 48 00 04 74 */ b lbl_80109824
lbl_801093B4:
/* 801093B4 00106314 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 801093B8 00106318 80 BF 00 14 */ lwz r5, 0x14(r31)
/* 801093BC 0010631C 54 00 18 38 */ slwi r0, r0, 3
/* 801093C0 00106320 7C 85 02 14 */ add r4, r5, r0
/* 801093C4 00106324 48 00 00 20 */ b lbl_801093E4
lbl_801093C8:
/* 801093C8 00106328 80 65 00 00 */ lwz r3, 0(r5)
/* 801093CC 0010632C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 801093D0 00106330 28 00 00 00 */ cmplwi r0, 0
/* 801093D4 00106334 40 82 00 0C */ bne lbl_801093E0
/* 801093D8 00106338 38 60 00 00 */ li r3, 0
/* 801093DC 0010633C 48 00 04 48 */ b lbl_80109824
lbl_801093E0:
/* 801093E0 00106340 38 A5 00 08 */ addi r5, r5, 8
lbl_801093E4:
/* 801093E4 00106344 7C 05 20 40 */ cmplw r5, r4
/* 801093E8 00106348 40 82 FF E0 */ bne lbl_801093C8
/* 801093EC 0010634C 38 00 00 02 */ li r0, 2
/* 801093F0 00106350 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha
/* 801093F4 00106354 38 63 EE C4 */ addi r3, r3, lbl_803CEEC4@l
/* 801093F8 00106358 90 1F 00 18 */ stw r0, 0x18(r31)
/* 801093FC 0010635C 38 83 02 AC */ addi r4, r3, 0x2ac
/* 80109400 00106360 38 60 05 54 */ li r3, 0x554
/* 80109404 00106364 38 A0 00 00 */ li r5, 0
/* 80109408 00106368 48 20 C4 65 */ bl __nw__FUlPCcPCc
/* 8010940C 0010636C 7C 7D 1B 79 */ or. r29, r3, r3
/* 80109410 00106370 41 82 00 10 */ beq lbl_80109420
/* 80109414 00106374 7F C4 F3 78 */ mr r4, r30
/* 80109418 00106378 48 00 B2 B5 */ bl __ct__12CPlayerVisorFRC13CStateManager
/* 8010941C 0010637C 7C 7D 1B 78 */ mr r29, r3
lbl_80109420:
/* 80109420 00106380 80 7F 00 30 */ lwz r3, 0x30(r31)
/* 80109424 00106384 38 80 00 01 */ li r4, 1
/* 80109428 00106388 48 00 AF E5 */ bl __dt__12CPlayerVisorFv
/* 8010942C 0010638C 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha
/* 80109430 00106390 93 BF 00 30 */ stw r29, 0x30(r31)
/* 80109434 00106394 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l
/* 80109438 00106398 38 60 08 A0 */ li r3, 0x8a0
/* 8010943C 0010639C 38 84 02 AC */ addi r4, r4, 0x2ac
/* 80109440 001063A0 38 A0 00 00 */ li r5, 0
/* 80109444 001063A4 48 20 C4 29 */ bl __nw__FUlPCcPCc
/* 80109448 001063A8 7C 7D 1B 79 */ or. r29, r3, r3
/* 8010944C 001063AC 41 82 00 10 */ beq lbl_8010945C
/* 80109450 001063B0 7F C4 F3 78 */ mr r4, r30
/* 80109454 001063B4 4B F6 14 F9 */ bl __ct__9CSamusHudFRC13CStateManager
/* 80109458 001063B8 7C 7D 1B 78 */ mr r29, r3
lbl_8010945C:
/* 8010945C 001063BC 80 7F 00 34 */ lwz r3, 0x34(r31)
/* 80109460 001063C0 28 03 00 00 */ cmplwi r3, 0
/* 80109464 001063C4 41 82 00 18 */ beq lbl_8010947C
/* 80109468 001063C8 81 83 00 00 */ lwz r12, 0(r3)
/* 8010946C 001063CC 38 80 00 01 */ li r4, 1
/* 80109470 001063D0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80109474 001063D4 7D 89 03 A6 */ mtctr r12
/* 80109478 001063D8 4E 80 04 21 */ bctrl
lbl_8010947C:
/* 8010947C 001063DC 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha
/* 80109480 001063E0 93 BF 00 34 */ stw r29, 0x34(r31)
/* 80109484 001063E4 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l
/* 80109488 001063E8 38 60 03 30 */ li r3, 0x330
/* 8010948C 001063EC 38 84 02 AC */ addi r4, r4, 0x2ac
/* 80109490 001063F0 38 A0 00 00 */ li r5, 0
/* 80109494 001063F4 48 20 C3 D9 */ bl __nw__FUlPCcPCc
/* 80109498 001063F8 7C 7D 1B 79 */ or. r29, r3, r3
/* 8010949C 001063FC 41 82 00 10 */ beq lbl_801094AC
/* 801094A0 00106400 7F C4 F3 78 */ mr r4, r30
/* 801094A4 00106404 4B F9 40 21 */ bl __ct__11CAutoMapperFR13CStateManager
/* 801094A8 00106408 7C 7D 1B 78 */ mr r29, r3
lbl_801094AC:
/* 801094AC 0010640C 80 7F 00 38 */ lwz r3, 0x38(r31)
/* 801094B0 00106410 28 03 00 00 */ cmplwi r3, 0
/* 801094B4 00106414 41 82 00 18 */ beq lbl_801094CC
/* 801094B8 00106418 81 83 00 00 */ lwz r12, 0(r3)
/* 801094BC 0010641C 38 80 00 01 */ li r4, 1
/* 801094C0 00106420 81 8C 00 08 */ lwz r12, 8(r12)
/* 801094C4 00106424 7D 89 03 A6 */ mtctr r12
/* 801094C8 00106428 4E 80 04 21 */ bctrl
lbl_801094CC:
/* 801094CC 0010642C 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha
/* 801094D0 00106430 93 BF 00 38 */ stw r29, 0x38(r31)
/* 801094D4 00106434 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l
/* 801094D8 00106438 38 60 00 54 */ li r3, 0x54
/* 801094DC 0010643C 38 84 02 AC */ addi r4, r4, 0x2ac
/* 801094E0 00106440 38 A0 00 00 */ li r5, 0
/* 801094E4 00106444 48 20 C3 89 */ bl __nw__FUlPCcPCc
/* 801094E8 00106448 7C 7D 1B 79 */ or. r29, r3, r3
/* 801094EC 0010644C 41 82 00 0C */ beq lbl_801094F8
/* 801094F0 00106450 48 15 46 09 */ bl __ct__16CPauseScreenBlurFv
/* 801094F4 00106454 7C 7D 1B 78 */ mr r29, r3
lbl_801094F8:
/* 801094F8 00106458 80 7F 00 3C */ lwz r3, 0x3c(r31)
/* 801094FC 0010645C 28 03 00 00 */ cmplwi r3, 0
/* 80109500 00106460 41 82 00 18 */ beq lbl_80109518
/* 80109504 00106464 81 83 00 00 */ lwz r12, 0(r3)
/* 80109508 00106468 38 80 00 01 */ li r4, 1
/* 8010950C 0010646C 81 8C 00 08 */ lwz r12, 8(r12)
/* 80109510 00106470 7D 89 03 A6 */ mtctr r12
/* 80109514 00106474 4E 80 04 21 */ bctrl
lbl_80109518:
/* 80109518 00106478 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha
/* 8010951C 0010647C 93 BF 00 3C */ stw r29, 0x3c(r31)
/* 80109520 00106480 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l
/* 80109524 00106484 38 60 00 74 */ li r3, 0x74
/* 80109528 00106488 38 84 02 AC */ addi r4, r4, 0x2ac
/* 8010952C 0010648C 38 A0 00 00 */ li r5, 0
/* 80109530 00106490 48 20 C3 3D */ bl __nw__FUlPCcPCc
/* 80109534 00106494 7C 7C 1B 79 */ or. r28, r3, r3
/* 80109538 00106498 41 82 00 10 */ beq lbl_80109548
/* 8010953C 0010649C 7F C4 F3 78 */ mr r4, r30
/* 80109540 001064A0 48 05 21 11 */ bl __ct__20CSamusFaceReflectionFRC13CStateManager
/* 80109544 001064A4 7C 7C 1B 78 */ mr r28, r3
lbl_80109548:
/* 80109548 001064A8 83 BF 00 40 */ lwz r29, 0x40(r31)
/* 8010954C 001064AC 28 1D 00 00 */ cmplwi r29, 0
/* 80109550 001064B0 41 82 00 2C */ beq lbl_8010957C
/* 80109554 001064B4 34 1D 00 4C */ addic. r0, r29, 0x4c
/* 80109558 001064B8 41 82 00 10 */ beq lbl_80109568
/* 8010955C 001064BC 80 7D 00 4C */ lwz r3, 0x4c(r29)
/* 80109560 001064C0 38 80 00 01 */ li r4, 1
/* 80109564 001064C4 4B FF BB 71 */ bl __dt__12CActorLightsFv
lbl_80109568:
/* 80109568 001064C8 7F A3 EB 78 */ mr r3, r29
/* 8010956C 001064CC 38 80 FF FF */ li r4, -1
/* 80109570 001064D0 48 00 D4 DD */ bl __dt__10CModelDataFv
/* 80109574 001064D4 7F A3 EB 78 */ mr r3, r29
/* 80109578 001064D8 48 20 C3 B9 */ bl Free__7CMemoryFPCv
lbl_8010957C:
/* 8010957C 001064DC 93 9F 00 40 */ stw r28, 0x40(r31)
lbl_80109580:
/* 80109580 001064E0 80 7F 00 38 */ lwz r3, 0x38(r31)
/* 80109584 001064E4 4B F9 36 A9 */ bl CheckLoadComplete__11CAutoMapperFv
/* 80109588 001064E8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8010958C 001064EC 41 82 02 7C */ beq lbl_80109808
/* 80109590 001064F0 80 7F 00 34 */ lwz r3, 0x34(r31)
/* 80109594 001064F4 7F C4 F3 78 */ mr r4, r30
/* 80109598 001064F8 4B F6 07 89 */ bl CheckLoadComplete__9CSamusHudFRC13CStateManager
/* 8010959C 001064FC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801095A0 00106500 41 82 02 68 */ beq lbl_80109808
/* 801095A4 00106504 80 1F 00 58 */ lwz r0, 0x58(r31)
/* 801095A8 00106508 28 00 00 00 */ cmplwi r0, 0
/* 801095AC 0010650C 41 82 00 0C */ beq lbl_801095B8
/* 801095B0 00106510 38 60 00 01 */ li r3, 1
/* 801095B4 00106514 48 00 00 3C */ b lbl_801095F0
lbl_801095B8:
/* 801095B8 00106518 88 1F 00 54 */ lbz r0, 0x54(r31)
/* 801095BC 0010651C 28 00 00 00 */ cmplwi r0, 0
/* 801095C0 00106520 41 82 00 2C */ beq lbl_801095EC
/* 801095C4 00106524 80 7F 00 50 */ lwz r3, 0x50(r31)
/* 801095C8 00106528 80 03 00 10 */ lwz r0, 0x10(r3)
/* 801095CC 0010652C 28 00 00 00 */ cmplwi r0, 0
/* 801095D0 00106530 41 82 00 1C */ beq lbl_801095EC
/* 801095D4 00106534 38 7F 00 50 */ addi r3, r31, 0x50
/* 801095D8 00106538 48 23 78 35 */ bl GetObj__6CTokenFv
/* 801095DC 0010653C 80 03 00 04 */ lwz r0, 4(r3)
/* 801095E0 00106540 38 60 00 01 */ li r3, 1
/* 801095E4 00106544 90 1F 00 58 */ stw r0, 0x58(r31)
/* 801095E8 00106548 48 00 00 08 */ b lbl_801095F0
lbl_801095EC:
/* 801095EC 0010654C 38 60 00 00 */ li r3, 0
lbl_801095F0:
/* 801095F0 00106550 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801095F4 00106554 41 82 02 14 */ beq lbl_80109808
/* 801095F8 00106558 7F E3 FB 78 */ mr r3, r31
/* 801095FC 0010655C 48 00 02 49 */ bl CheckDGRPLoadComplete__17CInGameGuiManagerFv
/* 80109600 00106560 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80109604 00106564 41 82 02 04 */ beq lbl_80109808
/* 80109608 00106568 38 00 00 00 */ li r0, 0
/* 8010960C 0010656C 38 7F 00 08 */ addi r3, r31, 8
/* 80109610 00106570 90 01 00 6C */ stw r0, 0x6c(r1)
/* 80109614 00106574 38 81 00 68 */ addi r4, r1, 0x68
/* 80109618 00106578 90 01 00 70 */ stw r0, 0x70(r1)
/* 8010961C 0010657C 90 01 00 74 */ stw r0, 0x74(r1)
/* 80109620 00106580 4B EF D1 E5 */ bl "__as__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>FRCQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>"
/* 80109624 00106584 80 01 00 6C */ lwz r0, 0x6c(r1)
/* 80109628 00106588 83 81 00 74 */ lwz r28, 0x74(r1)
/* 8010962C 0010658C 54 00 18 38 */ slwi r0, r0, 3
/* 80109630 00106590 7F BC 02 14 */ add r29, r28, r0
/* 80109634 00106594 93 81 00 0C */ stw r28, 0xc(r1)
/* 80109638 00106598 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8010963C 0010659C 93 A1 00 10 */ stw r29, 0x10(r1)
/* 80109640 001065A0 93 81 00 08 */ stw r28, 8(r1)
/* 80109644 001065A4 48 00 00 14 */ b lbl_80109658
lbl_80109648:
/* 80109648 001065A8 7F 83 E3 78 */ mr r3, r28
/* 8010964C 001065AC 38 80 FF FF */ li r4, -1
/* 80109650 001065B0 48 23 77 F1 */ bl __dt__6CTokenFv
/* 80109654 001065B4 3B 9C 00 08 */ addi r28, r28, 8
lbl_80109658:
/* 80109658 001065B8 7C 1C E8 40 */ cmplw r28, r29
/* 8010965C 001065BC 40 82 FF EC */ bne lbl_80109648
/* 80109660 001065C0 80 61 00 74 */ lwz r3, 0x74(r1)
/* 80109664 001065C4 28 03 00 00 */ cmplwi r3, 0
/* 80109668 001065C8 41 82 00 08 */ beq lbl_80109670
/* 8010966C 001065CC 48 20 C2 C5 */ bl Free__7CMemoryFPCv
lbl_80109670:
/* 80109670 001065D0 7F E3 FB 78 */ mr r3, r31
/* 80109674 001065D4 48 00 02 4D */ bl sub_801098c0
/* 80109678 001065D8 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha
/* 8010967C 001065DC 38 61 00 58 */ addi r3, r1, 0x58
/* 80109680 001065E0 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l
/* 80109684 001065E4 38 84 02 B3 */ addi r4, r4, 0x2b3
/* 80109688 001065E8 4B EF B6 31 */ bl string_l__4rstlFPCc
/* 8010968C 001065EC 80 7F 00 34 */ lwz r3, 0x34(r31)
/* 80109690 001065F0 38 81 00 58 */ addi r4, r1, 0x58
/* 80109694 001065F4 80 63 02 74 */ lwz r3, 0x274(r3)
/* 80109698 001065F8 48 1B 8B 3D */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8010969C 001065FC 90 7F 01 44 */ stw r3, 0x144(r31)
/* 801096A0 00106600 38 61 00 58 */ addi r3, r1, 0x58
/* 801096A4 00106604 48 23 44 3D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801096A8 00106608 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha
/* 801096AC 0010660C 38 61 00 48 */ addi r3, r1, 0x48
/* 801096B0 00106610 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l
/* 801096B4 00106614 38 84 02 C9 */ addi r4, r4, 0x2c9
/* 801096B8 00106618 4B EF B6 01 */ bl string_l__4rstlFPCc
/* 801096BC 0010661C 80 7F 00 34 */ lwz r3, 0x34(r31)
/* 801096C0 00106620 38 81 00 48 */ addi r4, r1, 0x48
/* 801096C4 00106624 80 63 02 74 */ lwz r3, 0x274(r3)
/* 801096C8 00106628 48 1B 8B 0D */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 801096CC 0010662C 90 7F 01 48 */ stw r3, 0x148(r31)
/* 801096D0 00106630 38 61 00 48 */ addi r3, r1, 0x48
/* 801096D4 00106634 48 23 44 0D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801096D8 00106638 80 BF 00 34 */ lwz r5, 0x34(r31)
/* 801096DC 0010663C 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha
/* 801096E0 00106640 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l
/* 801096E4 00106644 38 61 00 38 */ addi r3, r1, 0x38
/* 801096E8 00106648 80 A5 02 74 */ lwz r5, 0x274(r5)
/* 801096EC 0010664C 38 84 02 DA */ addi r4, r4, 0x2da
/* 801096F0 00106650 80 05 00 14 */ lwz r0, 0x14(r5)
/* 801096F4 00106654 90 1F 01 4C */ stw r0, 0x14c(r31)
/* 801096F8 00106658 4B EF B5 C1 */ bl string_l__4rstlFPCc
/* 801096FC 0010665C 80 7F 00 34 */ lwz r3, 0x34(r31)
/* 80109700 00106660 38 81 00 38 */ addi r4, r1, 0x38
/* 80109704 00106664 80 63 02 74 */ lwz r3, 0x274(r3)
/* 80109708 00106668 48 1B 8A CD */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8010970C 0010666C 90 7F 01 50 */ stw r3, 0x150(r31)
/* 80109710 00106670 38 61 00 38 */ addi r3, r1, 0x38
/* 80109714 00106674 48 23 43 CD */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80109718 00106678 80 9F 01 44 */ lwz r4, 0x144(r31)
/* 8010971C 0010667C 38 61 00 28 */ addi r3, r1, 0x28
/* 80109720 00106680 38 84 00 34 */ addi r4, r4, 0x34
/* 80109724 00106684 48 20 8A 05 */ bl FromMatrix__11CQuaternionFRC12CTransform4f
/* 80109728 00106688 C0 21 00 28 */ lfs f1, 0x28(r1)
/* 8010972C 0010668C 3C 60 80 5A */ lis r3, sNoRotation__11CQuaternion@ha
/* 80109730 00106690 38 C3 66 60 */ addi r6, r3, sNoRotation__11CQuaternion@l
/* 80109734 00106694 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 80109738 00106698 D0 3F 01 54 */ stfs f1, 0x154(r31)
/* 8010973C 0010669C 38 61 00 78 */ addi r3, r1, 0x78
/* 80109740 001066A0 38 9F 01 70 */ addi r4, r31, 0x170
/* 80109744 001066A4 80 A1 00 2C */ lwz r5, 0x2c(r1)
/* 80109748 001066A8 80 01 00 30 */ lwz r0, 0x30(r1)
/* 8010974C 001066AC 90 BF 01 58 */ stw r5, 0x158(r31)
/* 80109750 001066B0 90 1F 01 5C */ stw r0, 0x15c(r31)
/* 80109754 001066B4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80109758 001066B8 90 1F 01 60 */ stw r0, 0x160(r31)
/* 8010975C 001066BC 80 BF 01 44 */ lwz r5, 0x144(r31)
/* 80109760 001066C0 C0 65 00 60 */ lfs f3, 0x60(r5)
/* 80109764 001066C4 C0 45 00 50 */ lfs f2, 0x50(r5)
/* 80109768 001066C8 C0 25 00 40 */ lfs f1, 0x40(r5)
/* 8010976C 001066CC D0 3F 01 64 */ stfs f1, 0x164(r31)
/* 80109770 001066D0 D0 5F 01 68 */ stfs f2, 0x168(r31)
/* 80109774 001066D4 D0 7F 01 6C */ stfs f3, 0x16c(r31)
/* 80109778 001066D8 C0 26 00 00 */ lfs f1, 0(r6)
/* 8010977C 001066DC D0 3F 01 70 */ stfs f1, 0x170(r31)
/* 80109780 001066E0 80 A6 00 04 */ lwz r5, 4(r6)
/* 80109784 001066E4 80 06 00 08 */ lwz r0, 8(r6)
/* 80109788 001066E8 90 BF 01 74 */ stw r5, 0x174(r31)
/* 8010978C 001066EC 90 1F 01 78 */ stw r0, 0x178(r31)
/* 80109790 001066F0 80 06 00 0C */ lwz r0, 0xc(r6)
/* 80109794 001066F4 90 1F 01 7C */ stw r0, 0x17c(r31)
/* 80109798 001066F8 80 DF 01 4C */ lwz r6, 0x14c(r31)
/* 8010979C 001066FC 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13)
/* 801097A0 00106700 C0 26 00 40 */ lfs f1, 0x40(r6)
/* 801097A4 00106704 C0 86 00 50 */ lfs f4, 0x50(r6)
/* 801097A8 00106708 C0 6D 89 D0 */ lfs f3, lbl_805A7590@sda21(r13)
/* 801097AC 0010670C EC 01 00 2A */ fadds f0, f1, f0
/* 801097B0 00106710 C0 46 00 60 */ lfs f2, 0x60(r6)
/* 801097B4 00106714 C0 25 00 EC */ lfs f1, 0xec(r5)
/* 801097B8 00106718 EC 64 18 2A */ fadds f3, f4, f3
/* 801097BC 0010671C D0 1F 01 80 */ stfs f0, 0x180(r31)
/* 801097C0 00106720 EC 02 08 2A */ fadds f0, f2, f1
/* 801097C4 00106724 D0 7F 01 84 */ stfs f3, 0x184(r31)
/* 801097C8 00106728 D0 1F 01 88 */ stfs f0, 0x188(r31)
/* 801097CC 0010672C 48 20 88 C1 */ bl BuildTransform__11CQuaternionCFv
/* 801097D0 00106730 38 61 00 9C */ addi r3, r1, 0x9c
/* 801097D4 00106734 38 81 00 78 */ addi r4, r1, 0x78
/* 801097D8 00106738 38 BF 01 80 */ addi r5, r31, 0x180
/* 801097DC 0010673C 48 20 9A 9D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f
/* 801097E0 00106740 7C 64 1B 78 */ mr r4, r3
/* 801097E4 00106744 38 7F 01 8C */ addi r3, r31, 0x18c
/* 801097E8 00106748 48 20 93 59 */ bl __as__12CTransform4fFRC12CTransform4f
/* 801097EC 0010674C 7F E3 FB 78 */ mr r3, r31
/* 801097F0 00106750 7F C5 F3 78 */ mr r5, r30
/* 801097F4 00106754 38 80 00 01 */ li r4, 1
/* 801097F8 00106758 4B FF DE 49 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager
/* 801097FC 0010675C 38 00 00 03 */ li r0, 3
/* 80109800 00106760 90 1F 00 18 */ stw r0, 0x18(r31)
/* 80109804 00106764 48 00 00 0C */ b lbl_80109810
lbl_80109808:
/* 80109808 00106768 38 60 00 00 */ li r3, 0
/* 8010980C 0010676C 48 00 00 18 */ b lbl_80109824
lbl_80109810:
/* 80109810 00106770 80 7F 00 34 */ lwz r3, 0x34(r31)
/* 80109814 00106774 4B F5 CB 15 */ bl Touch__9CSamusHudCFv
/* 80109818 00106778 38 60 00 01 */ li r3, 1
/* 8010981C 0010677C 48 00 00 08 */ b lbl_80109824
lbl_80109820:
/* 80109820 00106780 38 60 00 00 */ li r3, 0
lbl_80109824:
/* 80109824 00106784 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 80109828 00106788 83 E1 00 DC */ lwz r31, 0xdc(r1)
/* 8010982C 0010678C 83 C1 00 D8 */ lwz r30, 0xd8(r1)
/* 80109830 00106790 83 A1 00 D4 */ lwz r29, 0xd4(r1)
/* 80109834 00106794 83 81 00 D0 */ lwz r28, 0xd0(r1)
/* 80109838 00106798 7C 08 03 A6 */ mtlr r0
/* 8010983C 0010679C 38 21 00 E0 */ addi r1, r1, 0xe0
/* 80109840 001067A0 4E 80 00 20 */ blr
.global CheckDGRPLoadComplete__17CInGameGuiManagerFv
CheckDGRPLoadComplete__17CInGameGuiManagerFv:
/* 80109844 001067A4 80 03 00 5C */ lwz r0, 0x5c(r3)
/* 80109848 001067A8 38 83 00 60 */ addi r4, r3, 0x60
/* 8010984C 001067AC 7C 86 23 78 */ mr r6, r4
/* 80109850 001067B0 54 00 18 38 */ slwi r0, r0, 3
/* 80109854 001067B4 7C A4 02 14 */ add r5, r4, r0
/* 80109858 001067B8 48 00 00 20 */ b lbl_80109878
lbl_8010985C:
/* 8010985C 001067BC 80 86 00 00 */ lwz r4, 0(r6)
/* 80109860 001067C0 80 04 00 10 */ lwz r0, 0x10(r4)
/* 80109864 001067C4 28 00 00 00 */ cmplwi r0, 0
/* 80109868 001067C8 40 82 00 0C */ bne lbl_80109874
/* 8010986C 001067CC 38 60 00 00 */ li r3, 0
/* 80109870 001067D0 4E 80 00 20 */ blr
lbl_80109874:
/* 80109874 001067D4 38 C6 00 08 */ addi r6, r6, 8
lbl_80109878:
/* 80109878 001067D8 7C 06 28 40 */ cmplw r6, r5
/* 8010987C 001067DC 40 82 FF E0 */ bne lbl_8010985C
/* 80109880 001067E0 80 03 00 CC */ lwz r0, 0xcc(r3)
/* 80109884 001067E4 80 A3 00 D4 */ lwz r5, 0xd4(r3)
/* 80109888 001067E8 54 00 18 38 */ slwi r0, r0, 3
/* 8010988C 001067EC 7C 85 02 14 */ add r4, r5, r0
/* 80109890 001067F0 48 00 00 20 */ b lbl_801098B0
lbl_80109894:
/* 80109894 001067F4 80 65 00 00 */ lwz r3, 0(r5)
/* 80109898 001067F8 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8010989C 001067FC 28 00 00 00 */ cmplwi r0, 0
/* 801098A0 00106800 40 82 00 0C */ bne lbl_801098AC
/* 801098A4 00106804 38 60 00 00 */ li r3, 0
/* 801098A8 00106808 4E 80 00 20 */ blr
lbl_801098AC:
/* 801098AC 0010680C 38 A5 00 08 */ addi r5, r5, 8
lbl_801098B0:
/* 801098B0 00106810 7C 05 20 40 */ cmplw r5, r4
/* 801098B4 00106814 40 82 FF E0 */ bne lbl_80109894
/* 801098B8 00106818 38 60 00 01 */ li r3, 1
/* 801098BC 0010681C 4E 80 00 20 */ blr
.global sub_801098c0
sub_801098c0:
/* 801098C0 00106820 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 801098C4 00106824 7C 08 02 A6 */ mflr r0
/* 801098C8 00106828 90 01 00 54 */ stw r0, 0x54(r1)
/* 801098CC 0010682C 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 801098D0 00106830 3B E0 00 00 */ li r31, 0
/* 801098D4 00106834 93 C1 00 48 */ stw r30, 0x48(r1)
/* 801098D8 00106838 93 A1 00 44 */ stw r29, 0x44(r1)
/* 801098DC 0010683C 3F A0 54 58 */ lis r29, 0x5458
/* 801098E0 00106840 93 81 00 40 */ stw r28, 0x40(r1)
/* 801098E4 00106844 7C 7C 1B 78 */ mr r28, r3
/* 801098E8 00106848 83 C3 00 D4 */ lwz r30, 0xd4(r3)
/* 801098EC 0010684C 48 00 00 20 */ b lbl_8010990C
lbl_801098F0:
/* 801098F0 00106850 7F C3 F3 78 */ mr r3, r30
/* 801098F4 00106854 48 23 75 19 */ bl GetObj__6CTokenFv
/* 801098F8 00106858 80 63 00 04 */ lwz r3, 4(r3)
/* 801098FC 0010685C 38 9D 54 52 */ addi r4, r29, 0x5452
/* 80109900 00106860 48 25 B9 BD */ bl GetCountForResType__16CDependencyGroupCFUi
/* 80109904 00106864 7F FF 1A 14 */ add r31, r31, r3
/* 80109908 00106868 3B DE 00 08 */ addi r30, r30, 8
lbl_8010990C:
/* 8010990C 0010686C 80 1C 00 CC */ lwz r0, 0xcc(r28)
/* 80109910 00106870 80 7C 00 D4 */ lwz r3, 0xd4(r28)
/* 80109914 00106874 54 00 18 38 */ slwi r0, r0, 3
/* 80109918 00106878 7C 03 02 14 */ add r0, r3, r0
/* 8010991C 0010687C 7C 1E 00 40 */ cmplw r30, r0
/* 80109920 00106880 40 82 FF D0 */ bne lbl_801098F0
/* 80109924 00106884 7F E4 FB 78 */ mr r4, r31
/* 80109928 00106888 38 7C 00 D8 */ addi r3, r28, 0xd8
/* 8010992C 0010688C 4B F5 A1 F9 */ bl "reserve__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fi"
/* 80109930 00106890 83 DC 00 D4 */ lwz r30, 0xd4(r28)
/* 80109934 00106894 48 00 00 EC */ b lbl_80109A20
lbl_80109938:
/* 80109938 00106898 7F C3 F3 78 */ mr r3, r30
/* 8010993C 0010689C 48 23 74 D1 */ bl GetObj__6CTokenFv
/* 80109940 001068A0 83 E3 00 04 */ lwz r31, 4(r3)
/* 80109944 001068A4 83 BF 00 0C */ lwz r29, 0xc(r31)
/* 80109948 001068A8 48 00 00 BC */ b lbl_80109A04
lbl_8010994C:
/* 8010994C 001068AC 80 7D 00 00 */ lwz r3, 0(r29)
/* 80109950 001068B0 3C 03 AB A8 */ addis r0, r3, 0xaba8
/* 80109954 001068B4 28 00 54 52 */ cmplwi r0, 0x5452
/* 80109958 001068B8 40 82 00 A8 */ bne lbl_80109A00
/* 8010995C 001068BC 80 DC 00 DC */ lwz r6, 0xdc(r28)
/* 80109960 001068C0 80 7C 00 E4 */ lwz r3, 0xe4(r28)
/* 80109964 001068C4 54 C0 10 3A */ slwi r0, r6, 2
/* 80109968 001068C8 7C A3 02 14 */ add r5, r3, r0
/* 8010996C 001068CC 90 61 00 20 */ stw r3, 0x20(r1)
/* 80109970 001068D0 90 61 00 24 */ stw r3, 0x24(r1)
/* 80109974 001068D4 90 A1 00 18 */ stw r5, 0x18(r1)
/* 80109978 001068D8 90 A1 00 1C */ stw r5, 0x1c(r1)
/* 8010997C 001068DC 48 00 00 10 */ b lbl_8010998C
lbl_80109980:
/* 80109980 001068E0 80 61 00 24 */ lwz r3, 0x24(r1)
/* 80109984 001068E4 38 03 00 04 */ addi r0, r3, 4
/* 80109988 001068E8 90 01 00 24 */ stw r0, 0x24(r1)
lbl_8010998C:
/* 8010998C 001068EC 80 81 00 24 */ lwz r4, 0x24(r1)
/* 80109990 001068F0 7C 04 28 40 */ cmplw r4, r5
/* 80109994 001068F4 41 82 00 14 */ beq lbl_801099A8
/* 80109998 001068F8 80 7D 00 04 */ lwz r3, 4(r29)
/* 8010999C 001068FC 80 04 00 00 */ lwz r0, 0(r4)
/* 801099A0 00106900 7C 03 00 40 */ cmplw r3, r0
/* 801099A4 00106904 40 82 FF DC */ bne lbl_80109980
lbl_801099A8:
/* 801099A8 00106908 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801099AC 0010690C 7C 05 00 40 */ cmplw r5, r0
/* 801099B0 00106910 40 82 00 50 */ bne lbl_80109A00
/* 801099B4 00106914 80 1C 00 E0 */ lwz r0, 0xe0(r28)
/* 801099B8 00106918 7C 06 00 00 */ cmpw r6, r0
/* 801099BC 0010691C 41 80 00 1C */ blt lbl_801099D8
/* 801099C0 00106920 2C 00 00 00 */ cmpwi r0, 0
/* 801099C4 00106924 38 7C 00 D8 */ addi r3, r28, 0xd8
/* 801099C8 00106928 38 80 00 04 */ li r4, 4
/* 801099CC 0010692C 41 82 00 08 */ beq lbl_801099D4
/* 801099D0 00106930 54 04 08 3C */ slwi r4, r0, 1
lbl_801099D4:
/* 801099D4 00106934 4B F5 A1 51 */ bl "reserve__Q24rstl37vector<Ui,Q24rstl17rmemory_allocator>Fi"
lbl_801099D8:
/* 801099D8 00106938 80 1C 00 DC */ lwz r0, 0xdc(r28)
/* 801099DC 0010693C 80 7C 00 E4 */ lwz r3, 0xe4(r28)
/* 801099E0 00106940 54 00 10 3A */ slwi r0, r0, 2
/* 801099E4 00106944 7C 63 02 15 */ add. r3, r3, r0
/* 801099E8 00106948 41 82 00 0C */ beq lbl_801099F4
/* 801099EC 0010694C 80 1D 00 04 */ lwz r0, 4(r29)
/* 801099F0 00106950 90 03 00 00 */ stw r0, 0(r3)
lbl_801099F4:
/* 801099F4 00106954 80 7C 00 DC */ lwz r3, 0xdc(r28)
/* 801099F8 00106958 38 03 00 01 */ addi r0, r3, 1
/* 801099FC 0010695C 90 1C 00 DC */ stw r0, 0xdc(r28)
lbl_80109A00:
/* 80109A00 00106960 3B BD 00 08 */ addi r29, r29, 8
lbl_80109A04:
/* 80109A04 00106964 80 1F 00 04 */ lwz r0, 4(r31)
/* 80109A08 00106968 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 80109A0C 0010696C 54 00 18 38 */ slwi r0, r0, 3
/* 80109A10 00106970 7C 03 02 14 */ add r0, r3, r0
/* 80109A14 00106974 7C 1D 00 40 */ cmplw r29, r0
/* 80109A18 00106978 40 82 FF 34 */ bne lbl_8010994C
/* 80109A1C 0010697C 3B DE 00 08 */ addi r30, r30, 8
lbl_80109A20:
/* 80109A20 00106980 80 1C 00 CC */ lwz r0, 0xcc(r28)
/* 80109A24 00106984 80 7C 00 D4 */ lwz r3, 0xd4(r28)
/* 80109A28 00106988 54 00 18 38 */ slwi r0, r0, 3
/* 80109A2C 0010698C 7C 03 02 14 */ add r0, r3, r0
/* 80109A30 00106990 7C 1E 00 40 */ cmplw r30, r0
/* 80109A34 00106994 40 82 FF 04 */ bne lbl_80109938
/* 80109A38 00106998 38 00 00 00 */ li r0, 0
/* 80109A3C 0010699C 38 7C 00 C8 */ addi r3, r28, 0xc8
/* 80109A40 001069A0 90 01 00 34 */ stw r0, 0x34(r1)
/* 80109A44 001069A4 38 81 00 30 */ addi r4, r1, 0x30
/* 80109A48 001069A8 90 01 00 38 */ stw r0, 0x38(r1)
/* 80109A4C 001069AC 90 01 00 3C */ stw r0, 0x3c(r1)
/* 80109A50 001069B0 48 00 01 2D */ bl sub_80109b7c
/* 80109A54 001069B4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80109A58 001069B8 83 C1 00 3C */ lwz r30, 0x3c(r1)
/* 80109A5C 001069BC 54 00 18 38 */ slwi r0, r0, 3
/* 80109A60 001069C0 7F BE 02 14 */ add r29, r30, r0
/* 80109A64 001069C4 93 C1 00 0C */ stw r30, 0xc(r1)
/* 80109A68 001069C8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80109A6C 001069CC 93 A1 00 10 */ stw r29, 0x10(r1)
/* 80109A70 001069D0 93 C1 00 08 */ stw r30, 8(r1)
/* 80109A74 001069D4 48 00 00 1C */ b lbl_80109A90
lbl_80109A78:
/* 80109A78 001069D8 28 1E 00 00 */ cmplwi r30, 0
/* 80109A7C 001069DC 41 82 00 10 */ beq lbl_80109A8C
/* 80109A80 001069E0 7F C3 F3 78 */ mr r3, r30
/* 80109A84 001069E4 38 80 00 00 */ li r4, 0
/* 80109A88 001069E8 48 23 73 B9 */ bl __dt__6CTokenFv
lbl_80109A8C:
/* 80109A8C 001069EC 3B DE 00 08 */ addi r30, r30, 8
lbl_80109A90:
/* 80109A90 001069F0 7C 1E E8 40 */ cmplw r30, r29
/* 80109A94 001069F4 40 82 FF E4 */ bne lbl_80109A78
/* 80109A98 001069F8 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 80109A9C 001069FC 28 03 00 00 */ cmplwi r3, 0
/* 80109AA0 00106A00 41 82 00 08 */ beq lbl_80109AA8
/* 80109AA4 00106A04 48 20 BE 8D */ bl Free__7CMemoryFPCv
lbl_80109AA8:
/* 80109AA8 00106A08 38 7C 00 C0 */ addi r3, r28, 0xc0
/* 80109AAC 00106A0C 48 23 73 61 */ bl GetObj__6CTokenFv
/* 80109AB0 00106A10 83 A3 00 04 */ lwz r29, 4(r3)
/* 80109AB4 00106A14 38 7C 00 E8 */ addi r3, r28, 0xe8
/* 80109AB8 00106A18 80 9D 00 04 */ lwz r4, 4(r29)
/* 80109ABC 00106A1C 4B EF EE A1 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
/* 80109AC0 00106A20 83 DD 00 0C */ lwz r30, 0xc(r29)
/* 80109AC4 00106A24 48 00 00 80 */ b lbl_80109B44
lbl_80109AC8:
/* 80109AC8 00106A28 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80109ACC 00106A2C 7F C5 F3 78 */ mr r5, r30
/* 80109AD0 00106A30 38 61 00 28 */ addi r3, r1, 0x28
/* 80109AD4 00106A34 81 84 00 00 */ lwz r12, 0(r4)
/* 80109AD8 00106A38 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80109ADC 00106A3C 7D 89 03 A6 */ mtctr r12
/* 80109AE0 00106A40 4E 80 04 21 */ bctrl
/* 80109AE4 00106A44 80 1C 00 EC */ lwz r0, 0xec(r28)
/* 80109AE8 00106A48 80 BC 00 F0 */ lwz r5, 0xf0(r28)
/* 80109AEC 00106A4C 7C 00 28 00 */ cmpw r0, r5
/* 80109AF0 00106A50 41 80 00 1C */ blt lbl_80109B0C
/* 80109AF4 00106A54 2C 05 00 00 */ cmpwi r5, 0
/* 80109AF8 00106A58 38 7C 00 E8 */ addi r3, r28, 0xe8
/* 80109AFC 00106A5C 38 80 00 04 */ li r4, 4
/* 80109B00 00106A60 41 82 00 08 */ beq lbl_80109B08
/* 80109B04 00106A64 54 A4 08 3C */ slwi r4, r5, 1
lbl_80109B08:
/* 80109B08 00106A68 4B EF EE 55 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi"
lbl_80109B0C:
/* 80109B0C 00106A6C 80 1C 00 EC */ lwz r0, 0xec(r28)
/* 80109B10 00106A70 80 7C 00 F4 */ lwz r3, 0xf4(r28)
/* 80109B14 00106A74 54 00 18 38 */ slwi r0, r0, 3
/* 80109B18 00106A78 7C 63 02 15 */ add. r3, r3, r0
/* 80109B1C 00106A7C 41 82 00 0C */ beq lbl_80109B28
/* 80109B20 00106A80 38 81 00 28 */ addi r4, r1, 0x28
/* 80109B24 00106A84 48 23 73 85 */ bl __ct__6CTokenFRC6CToken
lbl_80109B28:
/* 80109B28 00106A88 80 BC 00 EC */ lwz r5, 0xec(r28)
/* 80109B2C 00106A8C 38 61 00 28 */ addi r3, r1, 0x28
/* 80109B30 00106A90 38 80 FF FF */ li r4, -1
/* 80109B34 00106A94 38 05 00 01 */ addi r0, r5, 1
/* 80109B38 00106A98 90 1C 00 EC */ stw r0, 0xec(r28)
/* 80109B3C 00106A9C 48 23 73 05 */ bl __dt__6CTokenFv
/* 80109B40 00106AA0 3B DE 00 08 */ addi r30, r30, 8
lbl_80109B44:
/* 80109B44 00106AA4 80 1D 00 04 */ lwz r0, 4(r29)
/* 80109B48 00106AA8 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 80109B4C 00106AAC 54 00 18 38 */ slwi r0, r0, 3
/* 80109B50 00106AB0 7C 03 02 14 */ add r0, r3, r0
/* 80109B54 00106AB4 7C 1E 00 40 */ cmplw r30, r0
/* 80109B58 00106AB8 40 82 FF 70 */ bne lbl_80109AC8
/* 80109B5C 00106ABC 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80109B60 00106AC0 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 80109B64 00106AC4 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 80109B68 00106AC8 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 80109B6C 00106ACC 83 81 00 40 */ lwz r28, 0x40(r1)
/* 80109B70 00106AD0 7C 08 03 A6 */ mtlr r0
/* 80109B74 00106AD4 38 21 00 50 */ addi r1, r1, 0x50
/* 80109B78 00106AD8 4E 80 00 20 */ blr
.global sub_80109b7c
sub_80109b7c:
/* 80109B7C 00106ADC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80109B80 00106AE0 7C 08 02 A6 */ mflr r0
/* 80109B84 00106AE4 90 01 00 34 */ stw r0, 0x34(r1)
/* 80109B88 00106AE8 BF 61 00 1C */ stmw r27, 0x1c(r1)
/* 80109B8C 00106AEC 7C 7F 1B 78 */ mr r31, r3
/* 80109B90 00106AF0 7C 9B 23 78 */ mr r27, r4
/* 80109B94 00106AF4 7C 1F D8 40 */ cmplw r31, r27
/* 80109B98 00106AF8 40 82 00 08 */ bne lbl_80109BA0
/* 80109B9C 00106AFC 48 00 00 D0 */ b lbl_80109C6C
lbl_80109BA0:
/* 80109BA0 00106B00 80 1F 00 04 */ lwz r0, 4(r31)
/* 80109BA4 00106B04 83 BF 00 0C */ lwz r29, 0xc(r31)
/* 80109BA8 00106B08 54 00 18 38 */ slwi r0, r0, 3
/* 80109BAC 00106B0C 7F DD 02 14 */ add r30, r29, r0
/* 80109BB0 00106B10 93 A1 00 0C */ stw r29, 0xc(r1)
/* 80109BB4 00106B14 93 C1 00 14 */ stw r30, 0x14(r1)
/* 80109BB8 00106B18 93 C1 00 10 */ stw r30, 0x10(r1)
/* 80109BBC 00106B1C 93 A1 00 08 */ stw r29, 8(r1)
/* 80109BC0 00106B20 48 00 00 1C */ b lbl_80109BDC
lbl_80109BC4:
/* 80109BC4 00106B24 28 1D 00 00 */ cmplwi r29, 0
/* 80109BC8 00106B28 41 82 00 10 */ beq lbl_80109BD8
/* 80109BCC 00106B2C 7F A3 EB 78 */ mr r3, r29
/* 80109BD0 00106B30 38 80 00 00 */ li r4, 0
/* 80109BD4 00106B34 48 23 72 6D */ bl __dt__6CTokenFv
lbl_80109BD8:
/* 80109BD8 00106B38 3B BD 00 08 */ addi r29, r29, 8
lbl_80109BDC:
/* 80109BDC 00106B3C 7C 1D F0 40 */ cmplw r29, r30
/* 80109BE0 00106B40 40 82 FF E4 */ bne lbl_80109BC4
/* 80109BE4 00106B44 38 00 00 00 */ li r0, 0
/* 80109BE8 00106B48 90 1F 00 04 */ stw r0, 4(r31)
/* 80109BEC 00106B4C 80 9B 00 04 */ lwz r4, 4(r27)
/* 80109BF0 00106B50 2C 04 00 00 */ cmpwi r4, 0
/* 80109BF4 00106B54 40 82 00 28 */ bne lbl_80109C1C
/* 80109BF8 00106B58 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 80109BFC 00106B5C 28 03 00 00 */ cmplwi r3, 0
/* 80109C00 00106B60 41 82 00 08 */ beq lbl_80109C08
/* 80109C04 00106B64 48 20 BD 2D */ bl Free__7CMemoryFPCv
lbl_80109C08:
/* 80109C08 00106B68 38 00 00 00 */ li r0, 0
/* 80109C0C 00106B6C 90 1F 00 04 */ stw r0, 4(r31)
/* 80109C10 00106B70 90 1F 00 08 */ stw r0, 8(r31)
/* 80109C14 00106B74 90 1F 00 0C */ stw r0, 0xc(r31)
/* 80109C18 00106B78 48 00 00 50 */ b lbl_80109C68
lbl_80109C1C:
/* 80109C1C 00106B7C 7F E3 FB 78 */ mr r3, r31
/* 80109C20 00106B80 48 00 0B ED */ bl sub_8010a80c
/* 80109C24 00106B84 80 1B 00 04 */ lwz r0, 4(r27)
/* 80109C28 00106B88 83 9B 00 0C */ lwz r28, 0xc(r27)
/* 80109C2C 00106B8C 54 00 18 38 */ slwi r0, r0, 3
/* 80109C30 00106B90 83 DF 00 0C */ lwz r30, 0xc(r31)
/* 80109C34 00106B94 7F BC 02 14 */ add r29, r28, r0
/* 80109C38 00106B98 48 00 00 20 */ b lbl_80109C58
lbl_80109C3C:
/* 80109C3C 00106B9C 28 1E 00 00 */ cmplwi r30, 0
/* 80109C40 00106BA0 41 82 00 10 */ beq lbl_80109C50
/* 80109C44 00106BA4 7F C3 F3 78 */ mr r3, r30
/* 80109C48 00106BA8 7F 84 E3 78 */ mr r4, r28
/* 80109C4C 00106BAC 48 23 72 5D */ bl __ct__6CTokenFRC6CToken
lbl_80109C50:
/* 80109C50 00106BB0 3B DE 00 08 */ addi r30, r30, 8
/* 80109C54 00106BB4 3B 9C 00 08 */ addi r28, r28, 8
lbl_80109C58:
/* 80109C58 00106BB8 7C 1C E8 40 */ cmplw r28, r29
/* 80109C5C 00106BBC 40 82 FF E0 */ bne lbl_80109C3C
/* 80109C60 00106BC0 80 1B 00 04 */ lwz r0, 4(r27)
/* 80109C64 00106BC4 90 1F 00 04 */ stw r0, 4(r31)
lbl_80109C68:
/* 80109C68 00106BC8 7F E3 FB 78 */ mr r3, r31
lbl_80109C6C:
/* 80109C6C 00106BCC BB 61 00 1C */ lmw r27, 0x1c(r1)
/* 80109C70 00106BD0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80109C74 00106BD4 7C 08 03 A6 */ mtlr r0
/* 80109C78 00106BD8 38 21 00 30 */ addi r1, r1, 0x30
/* 80109C7C 00106BDC 4E 80 00 20 */ blr
.global __dt__17CInGameGuiManagerFv
__dt__17CInGameGuiManagerFv:
/* 80109C80 00106BE0 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 80109C84 00106BE4 7C 08 02 A6 */ mflr r0
/* 80109C88 00106BE8 90 01 00 64 */ stw r0, 0x64(r1)
/* 80109C8C 00106BEC 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 80109C90 00106BF0 7C 9F 23 78 */ mr r31, r4
/* 80109C94 00106BF4 93 C1 00 58 */ stw r30, 0x58(r1)
/* 80109C98 00106BF8 7C 7E 1B 79 */ or. r30, r3, r3
/* 80109C9C 00106BFC 93 A1 00 54 */ stw r29, 0x54(r1)
/* 80109CA0 00106C00 93 81 00 50 */ stw r28, 0x50(r1)
/* 80109CA4 00106C04 41 82 03 C0 */ beq lbl_8010A064
/* 80109CA8 00106C08 34 1E 01 DC */ addic. r0, r30, 0x1dc
/* 80109CAC 00106C0C 41 82 00 28 */ beq lbl_80109CD4
/* 80109CB0 00106C10 83 BE 01 DC */ lwz r29, 0x1dc(r30)
/* 80109CB4 00106C14 28 1D 00 00 */ cmplwi r29, 0
/* 80109CB8 00106C18 41 82 00 1C */ beq lbl_80109CD4
/* 80109CBC 00106C1C 41 82 00 10 */ beq lbl_80109CCC
/* 80109CC0 00106C20 7F A3 EB 78 */ mr r3, r29
/* 80109CC4 00106C24 38 80 00 00 */ li r4, 0
/* 80109CC8 00106C28 48 23 71 79 */ bl __dt__6CTokenFv
lbl_80109CCC:
/* 80109CCC 00106C2C 7F A3 EB 78 */ mr r3, r29
/* 80109CD0 00106C30 48 20 BC 61 */ bl Free__7CMemoryFPCv
lbl_80109CD4:
/* 80109CD4 00106C34 38 7E 01 2C */ addi r3, r30, 0x12c
/* 80109CD8 00106C38 38 80 FF FF */ li r4, -1
/* 80109CDC 00106C3C 48 00 0D DD */ bl sub_8010aab8
/* 80109CE0 00106C40 34 1E 00 F8 */ addic. r0, r30, 0xf8
/* 80109CE4 00106C44 41 82 00 3C */ beq lbl_80109D20
/* 80109CE8 00106C48 34 1E 01 1C */ addic. r0, r30, 0x11c
/* 80109CEC 00106C4C 41 82 00 34 */ beq lbl_80109D20
/* 80109CF0 00106C50 88 1E 01 1C */ lbz r0, 0x11c(r30)
/* 80109CF4 00106C54 28 00 00 00 */ cmplwi r0, 0
/* 80109CF8 00106C58 41 82 00 28 */ beq lbl_80109D20
/* 80109CFC 00106C5C 83 BE 01 20 */ lwz r29, 0x120(r30)
/* 80109D00 00106C60 28 1D 00 00 */ cmplwi r29, 0
/* 80109D04 00106C64 41 82 00 1C */ beq lbl_80109D20
/* 80109D08 00106C68 41 82 00 10 */ beq lbl_80109D18
/* 80109D0C 00106C6C 7F A3 EB 78 */ mr r3, r29
/* 80109D10 00106C70 38 80 00 00 */ li r4, 0
/* 80109D14 00106C74 48 23 71 2D */ bl __dt__6CTokenFv
lbl_80109D18:
/* 80109D18 00106C78 7F A3 EB 78 */ mr r3, r29
/* 80109D1C 00106C7C 48 20 BC 15 */ bl Free__7CMemoryFPCv
lbl_80109D20:
/* 80109D20 00106C80 34 1E 00 E8 */ addic. r0, r30, 0xe8
/* 80109D24 00106C84 41 82 00 50 */ beq lbl_80109D74
/* 80109D28 00106C88 80 1E 00 EC */ lwz r0, 0xec(r30)
/* 80109D2C 00106C8C 83 9E 00 F4 */ lwz r28, 0xf4(r30)
/* 80109D30 00106C90 54 00 18 38 */ slwi r0, r0, 3
/* 80109D34 00106C94 7F BC 02 14 */ add r29, r28, r0
/* 80109D38 00106C98 93 81 00 3C */ stw r28, 0x3c(r1)
/* 80109D3C 00106C9C 93 A1 00 44 */ stw r29, 0x44(r1)
/* 80109D40 00106CA0 93 A1 00 40 */ stw r29, 0x40(r1)
/* 80109D44 00106CA4 93 81 00 38 */ stw r28, 0x38(r1)
/* 80109D48 00106CA8 48 00 00 14 */ b lbl_80109D5C
lbl_80109D4C:
/* 80109D4C 00106CAC 7F 83 E3 78 */ mr r3, r28
/* 80109D50 00106CB0 38 80 FF FF */ li r4, -1
/* 80109D54 00106CB4 48 23 70 ED */ bl __dt__6CTokenFv
/* 80109D58 00106CB8 3B 9C 00 08 */ addi r28, r28, 8
lbl_80109D5C:
/* 80109D5C 00106CBC 7C 1C E8 40 */ cmplw r28, r29
/* 80109D60 00106CC0 40 82 FF EC */ bne lbl_80109D4C
/* 80109D64 00106CC4 80 7E 00 F4 */ lwz r3, 0xf4(r30)
/* 80109D68 00106CC8 28 03 00 00 */ cmplwi r3, 0
/* 80109D6C 00106CCC 41 82 00 08 */ beq lbl_80109D74
/* 80109D70 00106CD0 48 20 BB C1 */ bl Free__7CMemoryFPCv
lbl_80109D74:
/* 80109D74 00106CD4 34 1E 00 D8 */ addic. r0, r30, 0xd8
/* 80109D78 00106CD8 41 82 00 44 */ beq lbl_80109DBC
/* 80109D7C 00106CDC 80 1E 00 DC */ lwz r0, 0xdc(r30)
/* 80109D80 00106CE0 80 7E 00 E4 */ lwz r3, 0xe4(r30)
/* 80109D84 00106CE4 54 00 10 3A */ slwi r0, r0, 2
/* 80109D88 00106CE8 7C 03 02 14 */ add r0, r3, r0
/* 80109D8C 00106CEC 90 61 00 2C */ stw r3, 0x2c(r1)
/* 80109D90 00106CF0 7C 64 1B 78 */ mr r4, r3
/* 80109D94 00106CF4 90 01 00 34 */ stw r0, 0x34(r1)
/* 80109D98 00106CF8 90 01 00 30 */ stw r0, 0x30(r1)
/* 80109D9C 00106CFC 90 61 00 28 */ stw r3, 0x28(r1)
/* 80109DA0 00106D00 48 00 00 08 */ b lbl_80109DA8
lbl_80109DA4:
/* 80109DA4 00106D04 38 84 00 04 */ addi r4, r4, 4
lbl_80109DA8:
/* 80109DA8 00106D08 7C 04 00 40 */ cmplw r4, r0
/* 80109DAC 00106D0C 40 82 FF F8 */ bne lbl_80109DA4
/* 80109DB0 00106D10 28 03 00 00 */ cmplwi r3, 0
/* 80109DB4 00106D14 41 82 00 08 */ beq lbl_80109DBC
/* 80109DB8 00106D18 48 20 BB 79 */ bl Free__7CMemoryFPCv
lbl_80109DBC:
/* 80109DBC 00106D1C 34 1E 00 C8 */ addic. r0, r30, 0xc8
/* 80109DC0 00106D20 41 82 00 58 */ beq lbl_80109E18
/* 80109DC4 00106D24 80 1E 00 CC */ lwz r0, 0xcc(r30)
/* 80109DC8 00106D28 83 9E 00 D4 */ lwz r28, 0xd4(r30)
/* 80109DCC 00106D2C 54 00 18 38 */ slwi r0, r0, 3
/* 80109DD0 00106D30 7F BC 02 14 */ add r29, r28, r0
/* 80109DD4 00106D34 93 81 00 1C */ stw r28, 0x1c(r1)
/* 80109DD8 00106D38 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80109DDC 00106D3C 93 A1 00 20 */ stw r29, 0x20(r1)
/* 80109DE0 00106D40 93 81 00 18 */ stw r28, 0x18(r1)
/* 80109DE4 00106D44 48 00 00 1C */ b lbl_80109E00
lbl_80109DE8:
/* 80109DE8 00106D48 28 1C 00 00 */ cmplwi r28, 0
/* 80109DEC 00106D4C 41 82 00 10 */ beq lbl_80109DFC
/* 80109DF0 00106D50 7F 83 E3 78 */ mr r3, r28
/* 80109DF4 00106D54 38 80 00 00 */ li r4, 0
/* 80109DF8 00106D58 48 23 70 49 */ bl __dt__6CTokenFv
lbl_80109DFC:
/* 80109DFC 00106D5C 3B 9C 00 08 */ addi r28, r28, 8
lbl_80109E00:
/* 80109E00 00106D60 7C 1C E8 40 */ cmplw r28, r29
/* 80109E04 00106D64 40 82 FF E4 */ bne lbl_80109DE8
/* 80109E08 00106D68 80 7E 00 D4 */ lwz r3, 0xd4(r30)
/* 80109E0C 00106D6C 28 03 00 00 */ cmplwi r3, 0
/* 80109E10 00106D70 41 82 00 08 */ beq lbl_80109E18
/* 80109E14 00106D74 48 20 BB 1D */ bl Free__7CMemoryFPCv
lbl_80109E18:
/* 80109E18 00106D78 34 1E 00 5C */ addic. r0, r30, 0x5c
/* 80109E1C 00106D7C 41 82 00 40 */ beq lbl_80109E5C
/* 80109E20 00106D80 3B 9E 00 60 */ addi r28, r30, 0x60
/* 80109E24 00106D84 3B A0 00 00 */ li r29, 0
/* 80109E28 00106D88 48 00 00 20 */ b lbl_80109E48
lbl_80109E2C:
/* 80109E2C 00106D8C 28 1C 00 00 */ cmplwi r28, 0
/* 80109E30 00106D90 41 82 00 10 */ beq lbl_80109E40
/* 80109E34 00106D94 7F 83 E3 78 */ mr r3, r28
/* 80109E38 00106D98 38 80 00 00 */ li r4, 0
/* 80109E3C 00106D9C 48 23 70 05 */ bl __dt__6CTokenFv
lbl_80109E40:
/* 80109E40 00106DA0 3B 9C 00 08 */ addi r28, r28, 8
/* 80109E44 00106DA4 3B BD 00 01 */ addi r29, r29, 1
lbl_80109E48:
/* 80109E48 00106DA8 80 1E 00 5C */ lwz r0, 0x5c(r30)
/* 80109E4C 00106DAC 7C 1D 00 00 */ cmpw r29, r0
/* 80109E50 00106DB0 41 80 FF DC */ blt lbl_80109E2C
/* 80109E54 00106DB4 38 00 00 00 */ li r0, 0
/* 80109E58 00106DB8 90 1E 00 5C */ stw r0, 0x5c(r30)
lbl_80109E5C:
/* 80109E5C 00106DBC 34 1E 00 50 */ addic. r0, r30, 0x50
/* 80109E60 00106DC0 41 82 00 18 */ beq lbl_80109E78
/* 80109E64 00106DC4 34 1E 00 50 */ addic. r0, r30, 0x50
/* 80109E68 00106DC8 41 82 00 10 */ beq lbl_80109E78
/* 80109E6C 00106DCC 38 7E 00 50 */ addi r3, r30, 0x50
/* 80109E70 00106DD0 38 80 00 00 */ li r4, 0
/* 80109E74 00106DD4 48 23 6F CD */ bl __dt__6CTokenFv
lbl_80109E78:
/* 80109E78 00106DD8 34 1E 00 4C */ addic. r0, r30, 0x4c
/* 80109E7C 00106DDC 41 82 00 10 */ beq lbl_80109E8C
/* 80109E80 00106DE0 80 7E 00 4C */ lwz r3, 0x4c(r30)
/* 80109E84 00106DE4 38 80 00 01 */ li r4, 1
/* 80109E88 00106DE8 48 14 5F 9D */ bl __dt__15CSaveGameScreenFv
lbl_80109E8C:
/* 80109E8C 00106DEC 34 1E 00 48 */ addic. r0, r30, 0x48
/* 80109E90 00106DF0 41 82 00 10 */ beq lbl_80109EA0
/* 80109E94 00106DF4 80 7E 00 48 */ lwz r3, 0x48(r30)
/* 80109E98 00106DF8 38 80 00 01 */ li r4, 1
/* 80109E9C 00106DFC 4B F6 9F F1 */ bl __dt__12CPauseScreenFv
lbl_80109EA0:
/* 80109EA0 00106E00 34 1E 00 44 */ addic. r0, r30, 0x44
/* 80109EA4 00106E04 41 82 00 4C */ beq lbl_80109EF0
/* 80109EA8 00106E08 83 BE 00 44 */ lwz r29, 0x44(r30)
/* 80109EAC 00106E0C 28 1D 00 00 */ cmplwi r29, 0
/* 80109EB0 00106E10 41 82 00 40 */ beq lbl_80109EF0
/* 80109EB4 00106E14 34 1D 00 0C */ addic. r0, r29, 0xc
/* 80109EB8 00106E18 41 82 00 18 */ beq lbl_80109ED0
/* 80109EBC 00106E1C 34 1D 00 0C */ addic. r0, r29, 0xc
/* 80109EC0 00106E20 41 82 00 10 */ beq lbl_80109ED0
/* 80109EC4 00106E24 38 7D 00 0C */ addi r3, r29, 0xc
/* 80109EC8 00106E28 38 80 00 00 */ li r4, 0
/* 80109ECC 00106E2C 48 23 6F 75 */ bl __dt__6CTokenFv
lbl_80109ED0:
/* 80109ED0 00106E30 28 1D 00 00 */ cmplwi r29, 0
/* 80109ED4 00106E34 41 82 00 14 */ beq lbl_80109EE8
/* 80109ED8 00106E38 41 82 00 10 */ beq lbl_80109EE8
/* 80109EDC 00106E3C 7F A3 EB 78 */ mr r3, r29
/* 80109EE0 00106E40 38 80 00 00 */ li r4, 0
/* 80109EE4 00106E44 48 23 6F 5D */ bl __dt__6CTokenFv
lbl_80109EE8:
/* 80109EE8 00106E48 7F A3 EB 78 */ mr r3, r29
/* 80109EEC 00106E4C 48 20 BA 45 */ bl Free__7CMemoryFPCv
lbl_80109EF0:
/* 80109EF0 00106E50 34 1E 00 40 */ addic. r0, r30, 0x40
/* 80109EF4 00106E54 41 82 00 38 */ beq lbl_80109F2C
/* 80109EF8 00106E58 83 BE 00 40 */ lwz r29, 0x40(r30)
/* 80109EFC 00106E5C 28 1D 00 00 */ cmplwi r29, 0
/* 80109F00 00106E60 41 82 00 2C */ beq lbl_80109F2C
/* 80109F04 00106E64 34 1D 00 4C */ addic. r0, r29, 0x4c
/* 80109F08 00106E68 41 82 00 10 */ beq lbl_80109F18
/* 80109F0C 00106E6C 80 7D 00 4C */ lwz r3, 0x4c(r29)
/* 80109F10 00106E70 38 80 00 01 */ li r4, 1
/* 80109F14 00106E74 4B FF B1 C1 */ bl __dt__12CActorLightsFv
lbl_80109F18:
/* 80109F18 00106E78 7F A3 EB 78 */ mr r3, r29
/* 80109F1C 00106E7C 38 80 FF FF */ li r4, -1
/* 80109F20 00106E80 48 00 CB 2D */ bl __dt__10CModelDataFv
/* 80109F24 00106E84 7F A3 EB 78 */ mr r3, r29
/* 80109F28 00106E88 48 20 BA 09 */ bl Free__7CMemoryFPCv
lbl_80109F2C:
/* 80109F2C 00106E8C 34 1E 00 3C */ addic. r0, r30, 0x3c
/* 80109F30 00106E90 41 82 00 24 */ beq lbl_80109F54
/* 80109F34 00106E94 80 7E 00 3C */ lwz r3, 0x3c(r30)
/* 80109F38 00106E98 28 03 00 00 */ cmplwi r3, 0
/* 80109F3C 00106E9C 41 82 00 18 */ beq lbl_80109F54
/* 80109F40 00106EA0 81 83 00 00 */ lwz r12, 0(r3)
/* 80109F44 00106EA4 38 80 00 01 */ li r4, 1
/* 80109F48 00106EA8 81 8C 00 08 */ lwz r12, 8(r12)
/* 80109F4C 00106EAC 7D 89 03 A6 */ mtctr r12
/* 80109F50 00106EB0 4E 80 04 21 */ bctrl
lbl_80109F54:
/* 80109F54 00106EB4 34 1E 00 38 */ addic. r0, r30, 0x38
/* 80109F58 00106EB8 41 82 00 24 */ beq lbl_80109F7C
/* 80109F5C 00106EBC 80 7E 00 38 */ lwz r3, 0x38(r30)
/* 80109F60 00106EC0 28 03 00 00 */ cmplwi r3, 0
/* 80109F64 00106EC4 41 82 00 18 */ beq lbl_80109F7C
/* 80109F68 00106EC8 81 83 00 00 */ lwz r12, 0(r3)
/* 80109F6C 00106ECC 38 80 00 01 */ li r4, 1
/* 80109F70 00106ED0 81 8C 00 08 */ lwz r12, 8(r12)
/* 80109F74 00106ED4 7D 89 03 A6 */ mtctr r12
/* 80109F78 00106ED8 4E 80 04 21 */ bctrl
lbl_80109F7C:
/* 80109F7C 00106EDC 34 1E 00 34 */ addic. r0, r30, 0x34
/* 80109F80 00106EE0 41 82 00 24 */ beq lbl_80109FA4
/* 80109F84 00106EE4 80 7E 00 34 */ lwz r3, 0x34(r30)
/* 80109F88 00106EE8 28 03 00 00 */ cmplwi r3, 0
/* 80109F8C 00106EEC 41 82 00 18 */ beq lbl_80109FA4
/* 80109F90 00106EF0 81 83 00 00 */ lwz r12, 0(r3)
/* 80109F94 00106EF4 38 80 00 01 */ li r4, 1
/* 80109F98 00106EF8 81 8C 00 08 */ lwz r12, 8(r12)
/* 80109F9C 00106EFC 7D 89 03 A6 */ mtctr r12
/* 80109FA0 00106F00 4E 80 04 21 */ bctrl
lbl_80109FA4:
/* 80109FA4 00106F04 34 1E 00 30 */ addic. r0, r30, 0x30
/* 80109FA8 00106F08 41 82 00 10 */ beq lbl_80109FB8
/* 80109FAC 00106F0C 80 7E 00 30 */ lwz r3, 0x30(r30)
/* 80109FB0 00106F10 38 80 00 01 */ li r4, 1
/* 80109FB4 00106F14 48 00 A4 59 */ bl __dt__12CPlayerVisorFv
lbl_80109FB8:
/* 80109FB8 00106F18 34 1E 00 20 */ addic. r0, r30, 0x20
/* 80109FBC 00106F1C 41 82 00 30 */ beq lbl_80109FEC
/* 80109FC0 00106F20 34 7E 00 24 */ addic. r3, r30, 0x24
/* 80109FC4 00106F24 41 82 00 28 */ beq lbl_80109FEC
/* 80109FC8 00106F28 88 1E 00 2C */ lbz r0, 0x2c(r30)
/* 80109FCC 00106F2C 28 00 00 00 */ cmplwi r0, 0
/* 80109FD0 00106F30 41 82 00 14 */ beq lbl_80109FE4
/* 80109FD4 00106F34 28 03 00 00 */ cmplwi r3, 0
/* 80109FD8 00106F38 41 82 00 0C */ beq lbl_80109FE4
/* 80109FDC 00106F3C 38 80 00 00 */ li r4, 0
/* 80109FE0 00106F40 48 23 6E 61 */ bl __dt__6CTokenFv
lbl_80109FE4:
/* 80109FE4 00106F44 38 00 00 00 */ li r0, 0
/* 80109FE8 00106F48 98 1E 00 2C */ stb r0, 0x2c(r30)
lbl_80109FEC:
/* 80109FEC 00106F4C 34 1E 00 08 */ addic. r0, r30, 8
/* 80109FF0 00106F50 41 82 00 50 */ beq lbl_8010A040
/* 80109FF4 00106F54 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 80109FF8 00106F58 83 9E 00 14 */ lwz r28, 0x14(r30)
/* 80109FFC 00106F5C 54 00 18 38 */ slwi r0, r0, 3
/* 8010A000 00106F60 7F BC 02 14 */ add r29, r28, r0
/* 8010A004 00106F64 93 81 00 0C */ stw r28, 0xc(r1)
/* 8010A008 00106F68 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8010A00C 00106F6C 93 A1 00 10 */ stw r29, 0x10(r1)
/* 8010A010 00106F70 93 81 00 08 */ stw r28, 8(r1)
/* 8010A014 00106F74 48 00 00 14 */ b lbl_8010A028
lbl_8010A018:
/* 8010A018 00106F78 7F 83 E3 78 */ mr r3, r28
/* 8010A01C 00106F7C 38 80 FF FF */ li r4, -1
/* 8010A020 00106F80 48 23 6E 21 */ bl __dt__6CTokenFv
/* 8010A024 00106F84 3B 9C 00 08 */ addi r28, r28, 8
lbl_8010A028:
/* 8010A028 00106F88 7C 1C E8 40 */ cmplw r28, r29
/* 8010A02C 00106F8C 40 82 FF EC */ bne lbl_8010A018
/* 8010A030 00106F90 80 7E 00 14 */ lwz r3, 0x14(r30)
/* 8010A034 00106F94 28 03 00 00 */ cmplwi r3, 0
/* 8010A038 00106F98 41 82 00 08 */ beq lbl_8010A040
/* 8010A03C 00106F9C 48 20 B8 F5 */ bl Free__7CMemoryFPCv
lbl_8010A040:
/* 8010A040 00106FA0 28 1E 00 00 */ cmplwi r30, 0
/* 8010A044 00106FA4 41 82 00 10 */ beq lbl_8010A054
/* 8010A048 00106FA8 7F C3 F3 78 */ mr r3, r30
/* 8010A04C 00106FAC 38 80 00 00 */ li r4, 0
/* 8010A050 00106FB0 48 23 6D F1 */ bl __dt__6CTokenFv
lbl_8010A054:
/* 8010A054 00106FB4 7F E0 07 35 */ extsh. r0, r31
/* 8010A058 00106FB8 40 81 00 0C */ ble lbl_8010A064
/* 8010A05C 00106FBC 7F C3 F3 78 */ mr r3, r30
/* 8010A060 00106FC0 48 20 B8 D1 */ bl Free__7CMemoryFPCv
lbl_8010A064:
/* 8010A064 00106FC4 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8010A068 00106FC8 7F C3 F3 78 */ mr r3, r30
/* 8010A06C 00106FCC 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 8010A070 00106FD0 83 C1 00 58 */ lwz r30, 0x58(r1)
/* 8010A074 00106FD4 83 A1 00 54 */ lwz r29, 0x54(r1)
/* 8010A078 00106FD8 83 81 00 50 */ lwz r28, 0x50(r1)
/* 8010A07C 00106FDC 7C 08 03 A6 */ mtlr r0
/* 8010A080 00106FE0 38 21 00 60 */ addi r1, r1, 0x60
/* 8010A084 00106FE4 4E 80 00 20 */ blr
.global __ct__17CInGameGuiManagerFRC13CStateManagerR18CArchitectureQueue
__ct__17CInGameGuiManagerFRC13CStateManagerR18CArchitectureQueue:
/* 8010A088 00106FE8 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 8010A08C 00106FEC 7C 08 02 A6 */ mflr r0
/* 8010A090 00106FF0 3C A0 80 3D */ lis r5, lbl_803CEEC4@ha
/* 8010A094 00106FF4 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 8010A098 00106FF8 38 A5 EE C4 */ addi r5, r5, lbl_803CEEC4@l
/* 8010A09C 00106FFC 38 A5 02 F0 */ addi r5, r5, 0x2f0
/* 8010A0A0 00107000 BF 21 00 A4 */ stmw r25, 0xa4(r1)
/* 8010A0A4 00107004 7C 9F 23 78 */ mr r31, r4
/* 8010A0A8 00107008 7C 7E 1B 78 */ mr r30, r3
/* 8010A0AC 0010700C 38 61 00 18 */ addi r3, r1, 0x18
/* 8010A0B0 00107010 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8010A0B4 00107014 81 84 00 00 */ lwz r12, 0(r4)
/* 8010A0B8 00107018 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8010A0BC 0010701C 7D 89 03 A6 */ mtctr r12
/* 8010A0C0 00107020 4E 80 04 21 */ bctrl
/* 8010A0C4 00107024 7F C3 F3 78 */ mr r3, r30
/* 8010A0C8 00107028 38 81 00 18 */ addi r4, r1, 0x18
/* 8010A0CC 0010702C 48 23 6D DD */ bl __ct__6CTokenFRC6CToken
/* 8010A0D0 00107030 38 61 00 18 */ addi r3, r1, 0x18
/* 8010A0D4 00107034 38 80 FF FF */ li r4, -1
/* 8010A0D8 00107038 48 23 6D 69 */ bl __dt__6CTokenFv
/* 8010A0DC 0010703C 38 00 00 00 */ li r0, 0
/* 8010A0E0 00107040 38 7E 00 1C */ addi r3, r30, 0x1c
/* 8010A0E4 00107044 90 1E 00 0C */ stw r0, 0xc(r30)
/* 8010A0E8 00107048 38 80 04 D2 */ li r4, 0x4d2
/* 8010A0EC 0010704C 90 1E 00 10 */ stw r0, 0x10(r30)
/* 8010A0F0 00107050 90 1E 00 14 */ stw r0, 0x14(r30)
/* 8010A0F4 00107054 90 1E 00 18 */ stw r0, 0x18(r30)
/* 8010A0F8 00107058 48 20 84 F5 */ bl __ct__9CRandom16FUi
/* 8010A0FC 0010705C 7F E4 FB 78 */ mr r4, r31
/* 8010A100 00107060 38 7E 00 20 */ addi r3, r30, 0x20
/* 8010A104 00107064 48 06 BB C1 */ bl __ct__20CFaceplateDecorationFR13CStateManager
/* 8010A108 00107068 38 00 00 00 */ li r0, 0
/* 8010A10C 0010706C 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha
/* 8010A110 00107070 90 1E 00 30 */ stw r0, 0x30(r30)
/* 8010A114 00107074 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l
/* 8010A118 00107078 38 61 00 10 */ addi r3, r1, 0x10
/* 8010A11C 0010707C 90 1E 00 34 */ stw r0, 0x34(r30)
/* 8010A120 00107080 38 A4 03 01 */ addi r5, r4, 0x301
/* 8010A124 00107084 90 1E 00 38 */ stw r0, 0x38(r30)
/* 8010A128 00107088 90 1E 00 3C */ stw r0, 0x3c(r30)
/* 8010A12C 0010708C 90 1E 00 40 */ stw r0, 0x40(r30)
/* 8010A130 00107090 90 1E 00 44 */ stw r0, 0x44(r30)
/* 8010A134 00107094 90 1E 00 48 */ stw r0, 0x48(r30)
/* 8010A138 00107098 90 1E 00 4C */ stw r0, 0x4c(r30)
/* 8010A13C 0010709C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8010A140 001070A0 81 84 00 00 */ lwz r12, 0(r4)
/* 8010A144 001070A4 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8010A148 001070A8 7D 89 03 A6 */ mtctr r12
/* 8010A14C 001070AC 4E 80 04 21 */ bctrl
/* 8010A150 001070B0 3B 3E 00 50 */ addi r25, r30, 0x50
/* 8010A154 001070B4 38 81 00 10 */ addi r4, r1, 0x10
/* 8010A158 001070B8 7F 23 CB 78 */ mr r3, r25
/* 8010A15C 001070BC 48 23 6D 4D */ bl __ct__6CTokenFRC6CToken
/* 8010A160 001070C0 38 00 00 00 */ li r0, 0
/* 8010A164 001070C4 38 61 00 10 */ addi r3, r1, 0x10
/* 8010A168 001070C8 90 19 00 08 */ stw r0, 8(r25)
/* 8010A16C 001070CC 38 80 FF FF */ li r4, -1
/* 8010A170 001070D0 48 23 6C D1 */ bl __dt__6CTokenFv
/* 8010A174 001070D4 38 61 00 28 */ addi r3, r1, 0x28
/* 8010A178 001070D8 48 00 03 1D */ bl LockPauseScreenDependencies__17CInGameGuiManagerFv
/* 8010A17C 001070DC 80 01 00 28 */ lwz r0, 0x28(r1)
/* 8010A180 001070E0 3B 21 00 2C */ addi r25, r1, 0x2c
/* 8010A184 001070E4 3B 5E 00 60 */ addi r26, r30, 0x60
/* 8010A188 001070E8 3B A0 00 00 */ li r29, 0
/* 8010A18C 001070EC 90 1E 00 5C */ stw r0, 0x5c(r30)
/* 8010A190 001070F0 7F 3C CB 78 */ mr r28, r25
/* 8010A194 001070F4 83 7E 00 5C */ lwz r27, 0x5c(r30)
/* 8010A198 001070F8 48 00 00 24 */ b lbl_8010A1BC
lbl_8010A19C:
/* 8010A19C 001070FC 28 1A 00 00 */ cmplwi r26, 0
/* 8010A1A0 00107100 41 82 00 10 */ beq lbl_8010A1B0
/* 8010A1A4 00107104 7F 43 D3 78 */ mr r3, r26
/* 8010A1A8 00107108 7F 84 E3 78 */ mr r4, r28
/* 8010A1AC 0010710C 48 23 6C FD */ bl __ct__6CTokenFRC6CToken
lbl_8010A1B0:
/* 8010A1B0 00107110 3B 5A 00 08 */ addi r26, r26, 8
/* 8010A1B4 00107114 3B BD 00 01 */ addi r29, r29, 1
/* 8010A1B8 00107118 3B 9C 00 08 */ addi r28, r28, 8
lbl_8010A1BC:
/* 8010A1BC 0010711C 7C 1D D8 00 */ cmpw r29, r27
/* 8010A1C0 00107120 41 80 FF DC */ blt lbl_8010A19C
/* 8010A1C4 00107124 3B 60 00 00 */ li r27, 0
/* 8010A1C8 00107128 48 00 00 20 */ b lbl_8010A1E8
lbl_8010A1CC:
/* 8010A1CC 0010712C 28 19 00 00 */ cmplwi r25, 0
/* 8010A1D0 00107130 41 82 00 10 */ beq lbl_8010A1E0
/* 8010A1D4 00107134 7F 23 CB 78 */ mr r3, r25
/* 8010A1D8 00107138 38 80 00 00 */ li r4, 0
/* 8010A1DC 0010713C 48 23 6C 65 */ bl __dt__6CTokenFv
lbl_8010A1E0:
/* 8010A1E0 00107140 3B 39 00 08 */ addi r25, r25, 8
/* 8010A1E4 00107144 3B 7B 00 01 */ addi r27, r27, 1
lbl_8010A1E8:
/* 8010A1E8 00107148 80 01 00 28 */ lwz r0, 0x28(r1)
/* 8010A1EC 0010714C 7C 1B 00 00 */ cmpw r27, r0
/* 8010A1F0 00107150 41 80 FF DC */ blt lbl_8010A1CC
/* 8010A1F4 00107154 38 00 00 00 */ li r0, 0
/* 8010A1F8 00107158 38 7E 00 F8 */ addi r3, r30, 0xf8
/* 8010A1FC 0010715C 90 01 00 28 */ stw r0, 0x28(r1)
/* 8010A200 00107160 90 1E 00 CC */ stw r0, 0xcc(r30)
/* 8010A204 00107164 90 1E 00 D0 */ stw r0, 0xd0(r30)
/* 8010A208 00107168 90 1E 00 D4 */ stw r0, 0xd4(r30)
/* 8010A20C 0010716C 90 1E 00 DC */ stw r0, 0xdc(r30)
/* 8010A210 00107170 90 1E 00 E0 */ stw r0, 0xe0(r30)
/* 8010A214 00107174 90 1E 00 E4 */ stw r0, 0xe4(r30)
/* 8010A218 00107178 90 1E 00 EC */ stw r0, 0xec(r30)
/* 8010A21C 0010717C 90 1E 00 F0 */ stw r0, 0xf0(r30)
/* 8010A220 00107180 90 1E 00 F4 */ stw r0, 0xf4(r30)
/* 8010A224 00107184 4B FE 35 69 */ bl __ct__17CCameraFilterPassFv
/* 8010A228 00107188 38 00 FF FF */ li r0, -1
/* 8010A22C 0010718C 3C 60 80 5A */ lis r3, sIdentity__12CTransform4f@ha
/* 8010A230 00107190 90 1E 01 24 */ stw r0, 0x124(r30)
/* 8010A234 00107194 38 83 66 70 */ addi r4, r3, sIdentity__12CTransform4f@l
/* 8010A238 00107198 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 8010A23C 0010719C 38 FE 01 38 */ addi r7, r30, 0x138
/* 8010A240 001071A0 38 00 00 00 */ li r0, 0
/* 8010A244 001071A4 3C C0 80 5A */ lis r6, sNoRotation__11CQuaternion@ha
/* 8010A248 001071A8 D0 1E 01 28 */ stfs f0, 0x128(r30)
/* 8010A24C 001071AC 3C A0 80 5A */ lis r5, sZeroVector__9CVector3f@ha
/* 8010A250 001071B0 38 7E 01 8C */ addi r3, r30, 0x18c
/* 8010A254 001071B4 90 FE 01 30 */ stw r7, 0x130(r30)
/* 8010A258 001071B8 90 FE 01 34 */ stw r7, 0x134(r30)
/* 8010A25C 001071BC 90 FE 01 38 */ stw r7, 0x138(r30)
/* 8010A260 001071C0 90 FE 01 3C */ stw r7, 0x13c(r30)
/* 8010A264 001071C4 90 1E 01 40 */ stw r0, 0x140(r30)
/* 8010A268 001071C8 90 1E 01 44 */ stw r0, 0x144(r30)
/* 8010A26C 001071CC 90 1E 01 48 */ stw r0, 0x148(r30)
/* 8010A270 001071D0 90 1E 01 4C */ stw r0, 0x14c(r30)
/* 8010A274 001071D4 90 1E 01 50 */ stw r0, 0x150(r30)
/* 8010A278 001071D8 C4 06 66 60 */ lfsu f0, sNoRotation__11CQuaternion@l(r6)
/* 8010A27C 001071DC D0 1E 01 54 */ stfs f0, 0x154(r30)
/* 8010A280 001071E0 C0 06 00 04 */ lfs f0, 4(r6)
/* 8010A284 001071E4 D0 1E 01 58 */ stfs f0, 0x158(r30)
/* 8010A288 001071E8 C0 06 00 08 */ lfs f0, 8(r6)
/* 8010A28C 001071EC D0 1E 01 5C */ stfs f0, 0x15c(r30)
/* 8010A290 001071F0 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 8010A294 001071F4 D0 1E 01 60 */ stfs f0, 0x160(r30)
/* 8010A298 001071F8 C4 05 66 A0 */ lfsu f0, sZeroVector__9CVector3f@l(r5)
/* 8010A29C 001071FC D0 1E 01 64 */ stfs f0, 0x164(r30)
/* 8010A2A0 00107200 C0 05 00 04 */ lfs f0, 4(r5)
/* 8010A2A4 00107204 D0 1E 01 68 */ stfs f0, 0x168(r30)
/* 8010A2A8 00107208 C0 05 00 08 */ lfs f0, 8(r5)
/* 8010A2AC 0010720C D0 1E 01 6C */ stfs f0, 0x16c(r30)
/* 8010A2B0 00107210 C0 06 00 00 */ lfs f0, 0(r6)
/* 8010A2B4 00107214 D0 1E 01 70 */ stfs f0, 0x170(r30)
/* 8010A2B8 00107218 C0 06 00 04 */ lfs f0, 4(r6)
/* 8010A2BC 0010721C D0 1E 01 74 */ stfs f0, 0x174(r30)
/* 8010A2C0 00107220 C0 06 00 08 */ lfs f0, 8(r6)
/* 8010A2C4 00107224 D0 1E 01 78 */ stfs f0, 0x178(r30)
/* 8010A2C8 00107228 C0 06 00 0C */ lfs f0, 0xc(r6)
/* 8010A2CC 0010722C D0 1E 01 7C */ stfs f0, 0x17c(r30)
/* 8010A2D0 00107230 C0 05 00 00 */ lfs f0, 0(r5)
/* 8010A2D4 00107234 D0 1E 01 80 */ stfs f0, 0x180(r30)
/* 8010A2D8 00107238 C0 05 00 04 */ lfs f0, 4(r5)
/* 8010A2DC 0010723C D0 1E 01 84 */ stfs f0, 0x184(r30)
/* 8010A2E0 00107240 C0 05 00 08 */ lfs f0, 8(r5)
/* 8010A2E4 00107244 D0 1E 01 88 */ stfs f0, 0x188(r30)
/* 8010A2E8 00107248 48 20 88 8D */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8010A2EC 0010724C 38 C0 00 00 */ li r6, 0
/* 8010A2F0 00107250 38 00 FF FF */ li r0, -1
/* 8010A2F4 00107254 90 DE 01 BC */ stw r6, 0x1bc(r30)
/* 8010A2F8 00107258 38 7E 01 C8 */ addi r3, r30, 0x1c8
/* 8010A2FC 0010725C 38 80 00 00 */ li r4, 0
/* 8010A300 00107260 38 A0 00 00 */ li r5, 0
/* 8010A304 00107264 90 DE 01 C0 */ stw r6, 0x1c0(r30)
/* 8010A308 00107268 90 1E 01 C4 */ stw r0, 0x1c4(r30)
/* 8010A30C 0010726C 48 20 A0 41 */ bl __ct__9CVector2iFii
/* 8010A310 00107270 38 7E 01 D0 */ addi r3, r30, 0x1d0
/* 8010A314 00107274 38 80 00 00 */ li r4, 0
/* 8010A318 00107278 38 A0 00 00 */ li r5, 0
/* 8010A31C 0010727C 48 20 A0 31 */ bl __ct__9CVector2iFii
/* 8010A320 00107280 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2)
/* 8010A324 00107284 38 C0 00 00 */ li r6, 0
/* 8010A328 00107288 38 80 00 01 */ li r4, 1
/* 8010A32C 0010728C 38 7E 00 50 */ addi r3, r30, 0x50
/* 8010A330 00107290 D0 1E 01 D8 */ stfs f0, 0x1d8(r30)
/* 8010A334 00107294 90 DE 01 DC */ stw r6, 0x1dc(r30)
/* 8010A338 00107298 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13)
/* 8010A33C 0010729C 80 05 00 FC */ lwz r0, 0xfc(r5)
/* 8010A340 001072A0 90 1E 01 E0 */ stw r0, 0x1e0(r30)
/* 8010A344 001072A4 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13)
/* 8010A348 001072A8 80 05 01 08 */ lwz r0, 0x108(r5)
/* 8010A34C 001072AC 90 1E 01 E4 */ stw r0, 0x1e4(r30)
/* 8010A350 001072B0 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13)
/* 8010A354 001072B4 80 05 01 00 */ lwz r0, 0x100(r5)
/* 8010A358 001072B8 90 1E 01 E8 */ stw r0, 0x1e8(r30)
/* 8010A35C 001072BC 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13)
/* 8010A360 001072C0 80 05 00 F8 */ lwz r0, 0xf8(r5)
/* 8010A364 001072C4 90 1E 01 EC */ stw r0, 0x1ec(r30)
/* 8010A368 001072C8 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13)
/* 8010A36C 001072CC 80 05 01 0C */ lwz r0, 0x10c(r5)
/* 8010A370 001072D0 90 1E 01 F0 */ stw r0, 0x1f0(r30)
/* 8010A374 001072D4 80 BF 08 4C */ lwz r5, 0x84c(r31)
/* 8010A378 001072D8 C0 05 07 4C */ lfs f0, 0x74c(r5)
/* 8010A37C 001072DC D0 1E 01 F4 */ stfs f0, 0x1f4(r30)
/* 8010A380 001072E0 88 1E 01 F8 */ lbz r0, 0x1f8(r30)
/* 8010A384 001072E4 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18
/* 8010A388 001072E8 98 1E 01 F8 */ stb r0, 0x1f8(r30)
/* 8010A38C 001072EC 88 1E 01 F8 */ lbz r0, 0x1f8(r30)
/* 8010A390 001072F0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 8010A394 001072F4 98 1E 01 F8 */ stb r0, 0x1f8(r30)
/* 8010A398 001072F8 88 1E 01 F8 */ lbz r0, 0x1f8(r30)
/* 8010A39C 001072FC 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a
/* 8010A3A0 00107300 98 1E 01 F8 */ stb r0, 0x1f8(r30)
/* 8010A3A4 00107304 88 1E 01 F8 */ lbz r0, 0x1f8(r30)
/* 8010A3A8 00107308 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 8010A3AC 0010730C 98 1E 01 F8 */ stb r0, 0x1f8(r30)
/* 8010A3B0 00107310 48 23 69 D5 */ bl Lock__6CTokenFv
/* 8010A3B4 00107314 7F C3 F3 78 */ mr r3, r30
/* 8010A3B8 00107318 48 23 69 CD */ bl Lock__6CTokenFv
/* 8010A3BC 0010731C 38 7E 00 C8 */ addi r3, r30, 0xc8
/* 8010A3C0 00107320 38 80 00 0E */ li r4, 0xe
/* 8010A3C4 00107324 48 00 04 49 */ bl sub_8010a80c
/* 8010A3C8 00107328 3C 60 80 3D */ lis r3, lbl_803CEE58@ha
/* 8010A3CC 0010732C 3B 20 00 00 */ li r25, 0
/* 8010A3D0 00107330 3B 43 EE 58 */ addi r26, r3, lbl_803CEE58@l
lbl_8010A3D4:
/* 8010A3D4 00107334 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8010A3D8 00107338 38 61 00 08 */ addi r3, r1, 8
/* 8010A3DC 0010733C 80 BA 00 00 */ lwz r5, 0(r26)
/* 8010A3E0 00107340 81 84 00 00 */ lwz r12, 0(r4)
/* 8010A3E4 00107344 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8010A3E8 00107348 7D 89 03 A6 */ mtctr r12
/* 8010A3EC 0010734C 4E 80 04 21 */ bctrl
/* 8010A3F0 00107350 38 61 00 20 */ addi r3, r1, 0x20
/* 8010A3F4 00107354 38 81 00 08 */ addi r4, r1, 8
/* 8010A3F8 00107358 48 23 6A B1 */ bl __ct__6CTokenFRC6CToken
/* 8010A3FC 0010735C 38 61 00 08 */ addi r3, r1, 8
/* 8010A400 00107360 38 80 FF FF */ li r4, -1
/* 8010A404 00107364 48 23 6A 3D */ bl __dt__6CTokenFv
/* 8010A408 00107368 38 61 00 20 */ addi r3, r1, 0x20
/* 8010A40C 0010736C 48 23 69 79 */ bl Lock__6CTokenFv
/* 8010A410 00107370 80 1E 00 CC */ lwz r0, 0xcc(r30)
/* 8010A414 00107374 80 BE 00 D0 */ lwz r5, 0xd0(r30)
/* 8010A418 00107378 7C 00 28 00 */ cmpw r0, r5
/* 8010A41C 0010737C 41 80 00 1C */ blt lbl_8010A438
/* 8010A420 00107380 2C 05 00 00 */ cmpwi r5, 0
/* 8010A424 00107384 38 7E 00 C8 */ addi r3, r30, 0xc8
/* 8010A428 00107388 38 80 00 04 */ li r4, 4
/* 8010A42C 0010738C 41 82 00 08 */ beq lbl_8010A434
/* 8010A430 00107390 54 A4 08 3C */ slwi r4, r5, 1
lbl_8010A434:
/* 8010A434 00107394 48 00 03 D9 */ bl sub_8010a80c
lbl_8010A438:
/* 8010A438 00107398 80 1E 00 CC */ lwz r0, 0xcc(r30)
/* 8010A43C 0010739C 80 7E 00 D4 */ lwz r3, 0xd4(r30)
/* 8010A440 001073A0 54 00 18 38 */ slwi r0, r0, 3
/* 8010A444 001073A4 7C 63 02 15 */ add. r3, r3, r0
/* 8010A448 001073A8 41 82 00 0C */ beq lbl_8010A454
/* 8010A44C 001073AC 38 81 00 20 */ addi r4, r1, 0x20
/* 8010A450 001073B0 48 23 6A 59 */ bl __ct__6CTokenFRC6CToken
lbl_8010A454:
/* 8010A454 001073B4 80 BE 00 CC */ lwz r5, 0xcc(r30)
/* 8010A458 001073B8 38 61 00 20 */ addi r3, r1, 0x20
/* 8010A45C 001073BC 38 80 00 00 */ li r4, 0
/* 8010A460 001073C0 38 05 00 01 */ addi r0, r5, 1
/* 8010A464 001073C4 90 1E 00 CC */ stw r0, 0xcc(r30)
/* 8010A468 001073C8 48 23 69 D9 */ bl __dt__6CTokenFv
/* 8010A46C 001073CC 3B 39 00 01 */ addi r25, r25, 1
/* 8010A470 001073D0 3B 5A 00 04 */ addi r26, r26, 4
/* 8010A474 001073D4 28 19 00 0E */ cmplwi r25, 0xe
/* 8010A478 001073D8 41 80 FF 5C */ blt lbl_8010A3D4
/* 8010A47C 001073DC 7F C3 F3 78 */ mr r3, r30
/* 8010A480 001073E0 BB 21 00 A4 */ lmw r25, 0xa4(r1)
/* 8010A484 001073E4 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 8010A488 001073E8 7C 08 03 A6 */ mtlr r0
/* 8010A48C 001073EC 38 21 00 C0 */ addi r1, r1, 0xc0
/* 8010A490 001073F0 4E 80 00 20 */ blr
.global LockPauseScreenDependencies__17CInGameGuiManagerFv
LockPauseScreenDependencies__17CInGameGuiManagerFv:
/* 8010A494 001073F4 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 8010A498 001073F8 7C 08 02 A6 */ mflr r0
/* 8010A49C 001073FC 3C 80 80 3D */ lis r4, lbl_803CEE90@ha
/* 8010A4A0 00107400 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 8010A4A4 00107404 38 00 00 00 */ li r0, 0
/* 8010A4A8 00107408 BF 41 00 88 */ stmw r26, 0x88(r1)
/* 8010A4AC 0010740C 3B 84 EE 90 */ addi r28, r4, lbl_803CEE90@l
/* 8010A4B0 00107410 7C 7A 1B 78 */ mr r26, r3
/* 8010A4B4 00107414 3B 61 00 1C */ addi r27, r1, 0x1c
/* 8010A4B8 00107418 3B A0 00 00 */ li r29, 0
/* 8010A4BC 0010741C 90 01 00 18 */ stw r0, 0x18(r1)
lbl_8010A4C0:
/* 8010A4C0 00107420 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8010A4C4 00107424 38 61 00 08 */ addi r3, r1, 8
/* 8010A4C8 00107428 80 BC 00 00 */ lwz r5, 0(r28)
/* 8010A4CC 0010742C 81 84 00 00 */ lwz r12, 0(r4)
/* 8010A4D0 00107430 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8010A4D4 00107434 7D 89 03 A6 */ mtctr r12
/* 8010A4D8 00107438 4E 80 04 21 */ bctrl
/* 8010A4DC 0010743C 38 61 00 10 */ addi r3, r1, 0x10
/* 8010A4E0 00107440 38 81 00 08 */ addi r4, r1, 8
/* 8010A4E4 00107444 48 23 69 C5 */ bl __ct__6CTokenFRC6CToken
/* 8010A4E8 00107448 38 61 00 08 */ addi r3, r1, 8
/* 8010A4EC 0010744C 38 80 FF FF */ li r4, -1
/* 8010A4F0 00107450 48 23 69 51 */ bl __dt__6CTokenFv
/* 8010A4F4 00107454 38 61 00 10 */ addi r3, r1, 0x10
/* 8010A4F8 00107458 48 23 68 8D */ bl Lock__6CTokenFv
/* 8010A4FC 0010745C 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8010A500 00107460 54 00 18 38 */ slwi r0, r0, 3
/* 8010A504 00107464 7C 7B 02 15 */ add. r3, r27, r0
/* 8010A508 00107468 41 82 00 0C */ beq lbl_8010A514
/* 8010A50C 0010746C 38 81 00 10 */ addi r4, r1, 0x10
/* 8010A510 00107470 48 23 69 99 */ bl __ct__6CTokenFRC6CToken
lbl_8010A514:
/* 8010A514 00107474 80 A1 00 18 */ lwz r5, 0x18(r1)
/* 8010A518 00107478 38 61 00 10 */ addi r3, r1, 0x10
/* 8010A51C 0010747C 38 80 00 00 */ li r4, 0
/* 8010A520 00107480 38 05 00 01 */ addi r0, r5, 1
/* 8010A524 00107484 90 01 00 18 */ stw r0, 0x18(r1)
/* 8010A528 00107488 48 23 69 19 */ bl __dt__6CTokenFv
/* 8010A52C 0010748C 3B BD 00 01 */ addi r29, r29, 1
/* 8010A530 00107490 3B 9C 00 04 */ addi r28, r28, 4
/* 8010A534 00107494 2C 1D 00 0D */ cmpwi r29, 0xd
/* 8010A538 00107498 41 80 FF 88 */ blt lbl_8010A4C0
/* 8010A53C 0010749C 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8010A540 001074A0 7F 7D DB 78 */ mr r29, r27
/* 8010A544 001074A4 3B DA 00 04 */ addi r30, r26, 4
/* 8010A548 001074A8 3B E0 00 00 */ li r31, 0
/* 8010A54C 001074AC 90 1A 00 00 */ stw r0, 0(r26)
/* 8010A550 001074B0 83 9A 00 00 */ lwz r28, 0(r26)
/* 8010A554 001074B4 48 00 00 24 */ b lbl_8010A578
lbl_8010A558:
/* 8010A558 001074B8 28 1E 00 00 */ cmplwi r30, 0
/* 8010A55C 001074BC 41 82 00 10 */ beq lbl_8010A56C
/* 8010A560 001074C0 7F C3 F3 78 */ mr r3, r30
/* 8010A564 001074C4 7F A4 EB 78 */ mr r4, r29
/* 8010A568 001074C8 48 23 69 41 */ bl __ct__6CTokenFRC6CToken
lbl_8010A56C:
/* 8010A56C 001074CC 3B DE 00 08 */ addi r30, r30, 8
/* 8010A570 001074D0 3B FF 00 01 */ addi r31, r31, 1
/* 8010A574 001074D4 3B BD 00 08 */ addi r29, r29, 8
lbl_8010A578:
/* 8010A578 001074D8 7C 1F E0 00 */ cmpw r31, r28
/* 8010A57C 001074DC 41 80 FF DC */ blt lbl_8010A558
/* 8010A580 001074E0 3B 80 00 00 */ li r28, 0
/* 8010A584 001074E4 48 00 00 20 */ b lbl_8010A5A4
lbl_8010A588:
/* 8010A588 001074E8 28 1B 00 00 */ cmplwi r27, 0
/* 8010A58C 001074EC 41 82 00 10 */ beq lbl_8010A59C
/* 8010A590 001074F0 7F 63 DB 78 */ mr r3, r27
/* 8010A594 001074F4 38 80 00 00 */ li r4, 0
/* 8010A598 001074F8 48 23 68 A9 */ bl __dt__6CTokenFv
lbl_8010A59C:
/* 8010A59C 001074FC 3B 7B 00 08 */ addi r27, r27, 8
/* 8010A5A0 00107500 3B 9C 00 01 */ addi r28, r28, 1
lbl_8010A5A4:
/* 8010A5A4 00107504 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8010A5A8 00107508 7C 1C 00 00 */ cmpw r28, r0
/* 8010A5AC 0010750C 41 80 FF DC */ blt lbl_8010A588
/* 8010A5B0 00107510 38 00 00 00 */ li r0, 0
/* 8010A5B4 00107514 90 01 00 18 */ stw r0, 0x18(r1)
/* 8010A5B8 00107518 BB 41 00 88 */ lmw r26, 0x88(r1)
/* 8010A5BC 0010751C 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 8010A5C0 00107520 7C 08 03 A6 */ mtlr r0
/* 8010A5C4 00107524 38 21 00 A0 */ addi r1, r1, 0xa0
/* 8010A5C8 00107528 4E 80 00 20 */ blr
.global "sort<Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterThan"
"sort<Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterThan":
/* 8010A5CC 0010752C 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8010A5D0 00107530 7C 08 02 A6 */ mflr r0
/* 8010A5D4 00107534 90 01 00 84 */ stw r0, 0x84(r1)
/* 8010A5D8 00107538 BF 61 00 6C */ stmw r27, 0x6c(r1)
/* 8010A5DC 0010753C 7C 7B 1B 78 */ mr r27, r3
/* 8010A5E0 00107540 7C BD 2B 78 */ mr r29, r5
/* 8010A5E4 00107544 7C 9C 23 78 */ mr r28, r4
/* 8010A5E8 00107548 80 63 00 00 */ lwz r3, 0(r3)
/* 8010A5EC 0010754C 80 A4 00 00 */ lwz r5, 0(r4)
/* 8010A5F0 00107550 7C 03 28 50 */ subf r0, r3, r5
/* 8010A5F4 00107554 7C 00 26 70 */ srawi r0, r0, 4
/* 8010A5F8 00107558 7C 80 01 94 */ addze r4, r0
/* 8010A5FC 0010755C 2C 04 00 01 */ cmpwi r4, 1
/* 8010A600 00107560 40 81 01 F8 */ ble lbl_8010A7F8
/* 8010A604 00107564 2C 04 00 14 */ cmpwi r4, 0x14
/* 8010A608 00107568 41 81 00 30 */ bgt lbl_8010A638
/* 8010A60C 0010756C 88 FD 00 00 */ lbz r7, 0(r29)
/* 8010A610 00107570 38 61 00 34 */ addi r3, r1, 0x34
/* 8010A614 00107574 80 DC 00 00 */ lwz r6, 0(r28)
/* 8010A618 00107578 38 81 00 30 */ addi r4, r1, 0x30
/* 8010A61C 0010757C 80 1B 00 00 */ lwz r0, 0(r27)
/* 8010A620 00107580 38 A1 00 14 */ addi r5, r1, 0x14
/* 8010A624 00107584 98 E1 00 14 */ stb r7, 0x14(r1)
/* 8010A628 00107588 90 C1 00 30 */ stw r6, 0x30(r1)
/* 8010A62C 0010758C 90 01 00 34 */ stw r0, 0x34(r1)
/* 8010A630 00107590 48 00 06 B1 */ bl "__insertion_sort<Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterTha"
/* 8010A634 00107594 48 00 01 C4 */ b lbl_8010A7F8
lbl_8010A638:
/* 8010A638 00107598 54 80 0F FE */ srwi r0, r4, 0x1f
/* 8010A63C 0010759C 38 A5 FF F0 */ addi r5, r5, -16
/* 8010A640 001075A0 7C 80 22 14 */ add r4, r0, r4
/* 8010A644 001075A4 88 1D 00 00 */ lbz r0, 0(r29)
/* 8010A648 001075A8 7C 84 0E 70 */ srawi r4, r4, 1
/* 8010A64C 001075AC 90 A1 00 3C */ stw r5, 0x3c(r1)
/* 8010A650 001075B0 54 84 20 36 */ slwi r4, r4, 4
/* 8010A654 001075B4 38 C1 00 10 */ addi r6, r1, 0x10
/* 8010A658 001075B8 7F E3 22 14 */ add r31, r3, r4
/* 8010A65C 001075BC 98 01 00 10 */ stb r0, 0x10(r1)
/* 8010A660 001075C0 7F E4 FB 78 */ mr r4, r31
/* 8010A664 001075C4 48 00 04 F9 */ bl "__sort3<20SDumpableTextureInfo,24CTextureScoreGreaterThan>__4rstlFR20SDumpableTextureInfoR20SDumpableTextureInfoR20SDumpableTextureInfo24CTextureScoreGreaterThan"
/* 8010A668 001075C8 80 1F 00 00 */ lwz r0, 0(r31)
/* 8010A66C 001075CC 3B C1 00 58 */ addi r30, r1, 0x58
/* 8010A670 001075D0 7F C3 F3 78 */ mr r3, r30
/* 8010A674 001075D4 38 9F 00 08 */ addi r4, r31, 8
/* 8010A678 001075D8 90 01 00 50 */ stw r0, 0x50(r1)
/* 8010A67C 001075DC 80 1F 00 04 */ lwz r0, 4(r31)
/* 8010A680 001075E0 90 01 00 54 */ stw r0, 0x54(r1)
/* 8010A684 001075E4 48 23 68 25 */ bl __ct__6CTokenFRC6CToken
/* 8010A688 001075E8 80 9B 00 00 */ lwz r4, 0(r27)
/* 8010A68C 001075EC 3B E1 00 48 */ addi r31, r1, 0x48
/* 8010A690 001075F0 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 8010A694 001075F4 38 84 00 10 */ addi r4, r4, 0x10
/* 8010A698 001075F8 38 03 FF F0 */ addi r0, r3, -16
/* 8010A69C 001075FC 90 81 00 38 */ stw r4, 0x38(r1)
/* 8010A6A0 00107600 90 01 00 3C */ stw r0, 0x3c(r1)
lbl_8010A6A4:
/* 8010A6A4 00107604 80 81 00 54 */ lwz r4, 0x54(r1)
/* 8010A6A8 00107608 48 00 00 10 */ b lbl_8010A6B8
lbl_8010A6AC:
/* 8010A6AC 0010760C 80 61 00 38 */ lwz r3, 0x38(r1)
/* 8010A6B0 00107610 38 03 00 10 */ addi r0, r3, 0x10
/* 8010A6B4 00107614 90 01 00 38 */ stw r0, 0x38(r1)
lbl_8010A6B8:
/* 8010A6B8 00107618 80 61 00 38 */ lwz r3, 0x38(r1)
/* 8010A6BC 0010761C 80 03 00 04 */ lwz r0, 4(r3)
/* 8010A6C0 00107620 7C 00 20 00 */ cmpw r0, r4
/* 8010A6C4 00107624 41 80 FF E8 */ blt lbl_8010A6AC
/* 8010A6C8 00107628 48 00 00 10 */ b lbl_8010A6D8
lbl_8010A6CC:
/* 8010A6CC 0010762C 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 8010A6D0 00107630 38 03 FF F0 */ addi r0, r3, -16
/* 8010A6D4 00107634 90 01 00 3C */ stw r0, 0x3c(r1)
lbl_8010A6D8:
/* 8010A6D8 00107638 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 8010A6DC 0010763C 80 03 00 04 */ lwz r0, 4(r3)
/* 8010A6E0 00107640 7C 04 00 00 */ cmpw r4, r0
/* 8010A6E4 00107644 41 80 FF E8 */ blt lbl_8010A6CC
/* 8010A6E8 00107648 80 01 00 38 */ lwz r0, 0x38(r1)
/* 8010A6EC 0010764C 7C 00 18 40 */ cmplw r0, r3
/* 8010A6F0 00107650 40 80 00 A4 */ bge lbl_8010A794
/* 8010A6F4 00107654 80 A1 00 38 */ lwz r5, 0x38(r1)
/* 8010A6F8 00107658 7F E3 FB 78 */ mr r3, r31
/* 8010A6FC 0010765C 80 C1 00 3C */ lwz r6, 0x3c(r1)
/* 8010A700 00107660 80 05 00 00 */ lwz r0, 0(r5)
/* 8010A704 00107664 38 85 00 08 */ addi r4, r5, 8
/* 8010A708 00107668 90 C1 00 28 */ stw r6, 0x28(r1)
/* 8010A70C 0010766C 90 01 00 40 */ stw r0, 0x40(r1)
/* 8010A710 00107670 80 05 00 04 */ lwz r0, 4(r5)
/* 8010A714 00107674 90 A1 00 2C */ stw r5, 0x2c(r1)
/* 8010A718 00107678 90 01 00 44 */ stw r0, 0x44(r1)
/* 8010A71C 0010767C 48 23 67 8D */ bl __ct__6CTokenFRC6CToken
/* 8010A720 00107680 80 A1 00 28 */ lwz r5, 0x28(r1)
/* 8010A724 00107684 80 C1 00 2C */ lwz r6, 0x2c(r1)
/* 8010A728 00107688 80 05 00 00 */ lwz r0, 0(r5)
/* 8010A72C 0010768C 38 85 00 08 */ addi r4, r5, 8
/* 8010A730 00107690 38 66 00 08 */ addi r3, r6, 8
/* 8010A734 00107694 90 06 00 00 */ stw r0, 0(r6)
/* 8010A738 00107698 80 05 00 04 */ lwz r0, 4(r5)
/* 8010A73C 0010769C 90 06 00 04 */ stw r0, 4(r6)
/* 8010A740 001076A0 48 23 65 85 */ bl __as__6CTokenFRC6CToken
/* 8010A744 001076A4 80 A1 00 28 */ lwz r5, 0x28(r1)
/* 8010A748 001076A8 7F E4 FB 78 */ mr r4, r31
/* 8010A74C 001076AC 80 01 00 40 */ lwz r0, 0x40(r1)
/* 8010A750 001076B0 38 65 00 08 */ addi r3, r5, 8
/* 8010A754 001076B4 90 05 00 00 */ stw r0, 0(r5)
/* 8010A758 001076B8 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8010A75C 001076BC 90 05 00 04 */ stw r0, 4(r5)
/* 8010A760 001076C0 48 23 65 65 */ bl __as__6CTokenFRC6CToken
/* 8010A764 001076C4 28 1F 00 00 */ cmplwi r31, 0
/* 8010A768 001076C8 41 82 00 10 */ beq lbl_8010A778
/* 8010A76C 001076CC 7F E3 FB 78 */ mr r3, r31
/* 8010A770 001076D0 38 80 00 00 */ li r4, 0
/* 8010A774 001076D4 48 23 66 CD */ bl __dt__6CTokenFv
lbl_8010A778:
/* 8010A778 001076D8 80 81 00 38 */ lwz r4, 0x38(r1)
/* 8010A77C 001076DC 80 61 00 3C */ lwz r3, 0x3c(r1)
/* 8010A780 001076E0 38 84 00 10 */ addi r4, r4, 0x10
/* 8010A784 001076E4 38 03 FF F0 */ addi r0, r3, -16
/* 8010A788 001076E8 90 81 00 38 */ stw r4, 0x38(r1)
/* 8010A78C 001076EC 90 01 00 3C */ stw r0, 0x3c(r1)
/* 8010A790 001076F0 4B FF FF 14 */ b lbl_8010A6A4
lbl_8010A794:
/* 8010A794 001076F4 88 FD 00 00 */ lbz r7, 0(r29)
/* 8010A798 001076F8 38 61 00 24 */ addi r3, r1, 0x24
/* 8010A79C 001076FC 80 C1 00 38 */ lwz r6, 0x38(r1)
/* 8010A7A0 00107700 38 81 00 20 */ addi r4, r1, 0x20
/* 8010A7A4 00107704 80 1B 00 00 */ lwz r0, 0(r27)
/* 8010A7A8 00107708 38 A1 00 0C */ addi r5, r1, 0xc
/* 8010A7AC 0010770C 98 E1 00 0C */ stb r7, 0xc(r1)
/* 8010A7B0 00107710 90 C1 00 20 */ stw r6, 0x20(r1)
/* 8010A7B4 00107714 90 01 00 24 */ stw r0, 0x24(r1)
/* 8010A7B8 00107718 4B FF FE 15 */ bl "sort<Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterThan"
/* 8010A7BC 0010771C 88 FD 00 00 */ lbz r7, 0(r29)
/* 8010A7C0 00107720 38 61 00 1C */ addi r3, r1, 0x1c
/* 8010A7C4 00107724 80 DC 00 00 */ lwz r6, 0(r28)
/* 8010A7C8 00107728 38 81 00 18 */ addi r4, r1, 0x18
/* 8010A7CC 0010772C 80 01 00 38 */ lwz r0, 0x38(r1)
/* 8010A7D0 00107730 38 A1 00 08 */ addi r5, r1, 8
/* 8010A7D4 00107734 98 E1 00 08 */ stb r7, 8(r1)
/* 8010A7D8 00107738 90 C1 00 18 */ stw r6, 0x18(r1)
/* 8010A7DC 0010773C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8010A7E0 00107740 4B FF FD ED */ bl "sort<Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterThan"
/* 8010A7E4 00107744 28 1E 00 00 */ cmplwi r30, 0
/* 8010A7E8 00107748 41 82 00 10 */ beq lbl_8010A7F8
/* 8010A7EC 0010774C 7F C3 F3 78 */ mr r3, r30
/* 8010A7F0 00107750 38 80 00 00 */ li r4, 0
/* 8010A7F4 00107754 48 23 66 4D */ bl __dt__6CTokenFv
lbl_8010A7F8:
/* 8010A7F8 00107758 BB 61 00 6C */ lmw r27, 0x6c(r1)
/* 8010A7FC 0010775C 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8010A800 00107760 7C 08 03 A6 */ mtlr r0
/* 8010A804 00107764 38 21 00 80 */ addi r1, r1, 0x80
/* 8010A808 00107768 4E 80 00 20 */ blr
.global sub_8010a80c
sub_8010a80c:
/* 8010A80C 0010776C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8010A810 00107770 7C 08 02 A6 */ mflr r0
/* 8010A814 00107774 90 01 00 34 */ stw r0, 0x34(r1)
/* 8010A818 00107778 BF 41 00 18 */ stmw r26, 0x18(r1)
/* 8010A81C 0010777C 7C 9F 23 78 */ mr r31, r4
/* 8010A820 00107780 7C 7E 1B 78 */ mr r30, r3
/* 8010A824 00107784 80 03 00 08 */ lwz r0, 8(r3)
/* 8010A828 00107788 7C 1F 00 00 */ cmpw r31, r0
/* 8010A82C 0010778C 40 81 00 C4 */ ble lbl_8010A8F0
/* 8010A830 00107790 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
/* 8010A834 00107794 40 82 00 0C */ bne lbl_8010A840
/* 8010A838 00107798 3B 80 00 00 */ li r28, 0
/* 8010A83C 0010779C 48 00 00 1C */ b lbl_8010A858
lbl_8010A840:
/* 8010A840 001077A0 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha
/* 8010A844 001077A4 38 A0 00 00 */ li r5, 0
/* 8010A848 001077A8 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l
/* 8010A84C 001077AC 38 84 02 AC */ addi r4, r4, 0x2ac
/* 8010A850 001077B0 48 20 AF C9 */ bl __nwa__FUlPCcPCc
/* 8010A854 001077B4 7C 7C 1B 78 */ mr r28, r3
lbl_8010A858:
/* 8010A858 001077B8 80 1E 00 04 */ lwz r0, 4(r30)
/* 8010A85C 001077BC 7F 9B E3 78 */ mr r27, r28
/* 8010A860 001077C0 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 8010A864 001077C4 54 00 18 38 */ slwi r0, r0, 3
/* 8010A868 001077C8 7F BA 02 14 */ add r29, r26, r0
/* 8010A86C 001077CC 93 41 00 10 */ stw r26, 0x10(r1)
/* 8010A870 001077D0 93 A1 00 08 */ stw r29, 8(r1)
/* 8010A874 001077D4 93 A1 00 0C */ stw r29, 0xc(r1)
/* 8010A878 001077D8 93 41 00 14 */ stw r26, 0x14(r1)
/* 8010A87C 001077DC 48 00 00 20 */ b lbl_8010A89C
lbl_8010A880:
/* 8010A880 001077E0 28 1B 00 00 */ cmplwi r27, 0
/* 8010A884 001077E4 41 82 00 10 */ beq lbl_8010A894
/* 8010A888 001077E8 7F 63 DB 78 */ mr r3, r27
/* 8010A88C 001077EC 7F 44 D3 78 */ mr r4, r26
/* 8010A890 001077F0 48 23 66 19 */ bl __ct__6CTokenFRC6CToken
lbl_8010A894:
/* 8010A894 001077F4 3B 7B 00 08 */ addi r27, r27, 8
/* 8010A898 001077F8 3B 5A 00 08 */ addi r26, r26, 8
lbl_8010A89C:
/* 8010A89C 001077FC 7C 1A E8 40 */ cmplw r26, r29
/* 8010A8A0 00107800 40 82 FF E0 */ bne lbl_8010A880
/* 8010A8A4 00107804 80 1E 00 04 */ lwz r0, 4(r30)
/* 8010A8A8 00107808 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 8010A8AC 0010780C 54 00 18 38 */ slwi r0, r0, 3
/* 8010A8B0 00107810 7F 7A 02 14 */ add r27, r26, r0
/* 8010A8B4 00107814 48 00 00 1C */ b lbl_8010A8D0
lbl_8010A8B8:
/* 8010A8B8 00107818 28 1A 00 00 */ cmplwi r26, 0
/* 8010A8BC 0010781C 41 82 00 10 */ beq lbl_8010A8CC
/* 8010A8C0 00107820 7F 43 D3 78 */ mr r3, r26
/* 8010A8C4 00107824 38 80 00 00 */ li r4, 0
/* 8010A8C8 00107828 48 23 65 79 */ bl __dt__6CTokenFv
lbl_8010A8CC:
/* 8010A8CC 0010782C 3B 5A 00 08 */ addi r26, r26, 8
lbl_8010A8D0:
/* 8010A8D0 00107830 7C 1A D8 40 */ cmplw r26, r27
/* 8010A8D4 00107834 40 82 FF E4 */ bne lbl_8010A8B8
/* 8010A8D8 00107838 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8010A8DC 0010783C 28 03 00 00 */ cmplwi r3, 0
/* 8010A8E0 00107840 41 82 00 08 */ beq lbl_8010A8E8
/* 8010A8E4 00107844 48 20 B0 4D */ bl Free__7CMemoryFPCv
lbl_8010A8E8:
/* 8010A8E8 00107848 93 9E 00 0C */ stw r28, 0xc(r30)
/* 8010A8EC 0010784C 93 FE 00 08 */ stw r31, 8(r30)
lbl_8010A8F0:
/* 8010A8F0 00107850 BB 41 00 18 */ lmw r26, 0x18(r1)
/* 8010A8F4 00107854 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8010A8F8 00107858 7C 08 03 A6 */ mtlr r0
/* 8010A8FC 0010785C 38 21 00 30 */ addi r1, r1, 0x30
/* 8010A900 00107860 4E 80 00 20 */ blr
.global "reserve__Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>Fi":
/* 8010A904 00107864 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8010A908 00107868 7C 08 02 A6 */ mflr r0
/* 8010A90C 0010786C 90 01 00 34 */ stw r0, 0x34(r1)
/* 8010A910 00107870 BF 41 00 18 */ stmw r26, 0x18(r1)
/* 8010A914 00107874 7C 9F 23 78 */ mr r31, r4
/* 8010A918 00107878 7C 7E 1B 78 */ mr r30, r3
/* 8010A91C 0010787C 80 03 00 08 */ lwz r0, 8(r3)
/* 8010A920 00107880 7C 1F 00 00 */ cmpw r31, r0
/* 8010A924 00107884 40 81 00 DC */ ble lbl_8010AA00
/* 8010A928 00107888 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b
/* 8010A92C 0010788C 40 82 00 0C */ bne lbl_8010A938
/* 8010A930 00107890 3B 80 00 00 */ li r28, 0
/* 8010A934 00107894 48 00 00 1C */ b lbl_8010A950
lbl_8010A938:
/* 8010A938 00107898 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha
/* 8010A93C 0010789C 38 A0 00 00 */ li r5, 0
/* 8010A940 001078A0 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l
/* 8010A944 001078A4 38 84 02 AC */ addi r4, r4, 0x2ac
/* 8010A948 001078A8 48 20 AE D1 */ bl __nwa__FUlPCcPCc
/* 8010A94C 001078AC 7C 7C 1B 78 */ mr r28, r3
lbl_8010A950:
/* 8010A950 001078B0 80 1E 00 04 */ lwz r0, 4(r30)
/* 8010A954 001078B4 7F 9B E3 78 */ mr r27, r28
/* 8010A958 001078B8 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 8010A95C 001078BC 54 00 20 36 */ slwi r0, r0, 4
/* 8010A960 001078C0 7F BA 02 14 */ add r29, r26, r0
/* 8010A964 001078C4 93 41 00 10 */ stw r26, 0x10(r1)
/* 8010A968 001078C8 93 A1 00 08 */ stw r29, 8(r1)
/* 8010A96C 001078CC 93 A1 00 0C */ stw r29, 0xc(r1)
/* 8010A970 001078D0 93 41 00 14 */ stw r26, 0x14(r1)
/* 8010A974 001078D4 48 00 00 30 */ b lbl_8010A9A4
lbl_8010A978:
/* 8010A978 001078D8 28 1B 00 00 */ cmplwi r27, 0
/* 8010A97C 001078DC 41 82 00 20 */ beq lbl_8010A99C
/* 8010A980 001078E0 80 1A 00 00 */ lwz r0, 0(r26)
/* 8010A984 001078E4 38 7B 00 08 */ addi r3, r27, 8
/* 8010A988 001078E8 38 9A 00 08 */ addi r4, r26, 8
/* 8010A98C 001078EC 90 1B 00 00 */ stw r0, 0(r27)
/* 8010A990 001078F0 80 1A 00 04 */ lwz r0, 4(r26)
/* 8010A994 001078F4 90 1B 00 04 */ stw r0, 4(r27)
/* 8010A998 001078F8 48 23 65 11 */ bl __ct__6CTokenFRC6CToken
lbl_8010A99C:
/* 8010A99C 001078FC 3B 7B 00 10 */ addi r27, r27, 0x10
/* 8010A9A0 00107900 3B 5A 00 10 */ addi r26, r26, 0x10
lbl_8010A9A4:
/* 8010A9A4 00107904 7C 1A E8 40 */ cmplw r26, r29
/* 8010A9A8 00107908 40 82 FF D0 */ bne lbl_8010A978
/* 8010A9AC 0010790C 80 1E 00 04 */ lwz r0, 4(r30)
/* 8010A9B0 00107910 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 8010A9B4 00107914 54 00 20 36 */ slwi r0, r0, 4
/* 8010A9B8 00107918 7F 7A 02 14 */ add r27, r26, r0
/* 8010A9BC 0010791C 48 00 00 24 */ b lbl_8010A9E0
lbl_8010A9C0:
/* 8010A9C0 00107920 28 1A 00 00 */ cmplwi r26, 0
/* 8010A9C4 00107924 41 82 00 18 */ beq lbl_8010A9DC
/* 8010A9C8 00107928 34 1A 00 08 */ addic. r0, r26, 8
/* 8010A9CC 0010792C 41 82 00 10 */ beq lbl_8010A9DC
/* 8010A9D0 00107930 38 7A 00 08 */ addi r3, r26, 8
/* 8010A9D4 00107934 38 80 00 00 */ li r4, 0
/* 8010A9D8 00107938 48 23 64 69 */ bl __dt__6CTokenFv
lbl_8010A9DC:
/* 8010A9DC 0010793C 3B 5A 00 10 */ addi r26, r26, 0x10
lbl_8010A9E0:
/* 8010A9E0 00107940 7C 1A D8 40 */ cmplw r26, r27
/* 8010A9E4 00107944 40 82 FF DC */ bne lbl_8010A9C0
/* 8010A9E8 00107948 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8010A9EC 0010794C 28 03 00 00 */ cmplwi r3, 0
/* 8010A9F0 00107950 41 82 00 08 */ beq lbl_8010A9F8
/* 8010A9F4 00107954 48 20 AF 3D */ bl Free__7CMemoryFPCv
lbl_8010A9F8:
/* 8010A9F8 00107958 93 9E 00 0C */ stw r28, 0xc(r30)
/* 8010A9FC 0010795C 93 FE 00 08 */ stw r31, 8(r30)
lbl_8010AA00:
/* 8010AA00 00107960 BB 41 00 18 */ lmw r26, 0x18(r1)
/* 8010AA04 00107964 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8010AA08 00107968 7C 08 03 A6 */ mtlr r0
/* 8010AA0C 0010796C 38 21 00 30 */ addi r1, r1, 0x30
/* 8010AA10 00107970 4E 80 00 20 */ blr
.global sub_8010aa14
sub_8010aa14:
/* 8010AA14 00107974 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8010AA18 00107978 7C 08 02 A6 */ mflr r0
/* 8010AA1C 0010797C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8010AA20 00107980 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8010AA24 00107984 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8010AA28 00107988 7C 9E 23 78 */ mr r30, r4
/* 8010AA2C 0010798C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8010AA30 00107990 7C 7D 1B 78 */ mr r29, r3
/* 8010AA34 00107994 80 03 00 04 */ lwz r0, 4(r3)
/* 8010AA38 00107998 83 E4 00 04 */ lwz r31, 4(r4)
/* 8010AA3C 0010799C 7C 1E 00 40 */ cmplw r30, r0
/* 8010AA40 001079A0 40 82 00 08 */ bne lbl_8010AA48
/* 8010AA44 001079A4 93 FD 00 04 */ stw r31, 4(r29)
lbl_8010AA48:
/* 8010AA48 001079A8 80 1E 00 04 */ lwz r0, 4(r30)
/* 8010AA4C 001079AC 34 9E 00 08 */ addic. r4, r30, 8
/* 8010AA50 001079B0 80 7E 00 00 */ lwz r3, 0(r30)
/* 8010AA54 001079B4 90 03 00 04 */ stw r0, 4(r3)
/* 8010AA58 001079B8 80 1E 00 00 */ lwz r0, 0(r30)
/* 8010AA5C 001079BC 80 7E 00 04 */ lwz r3, 4(r30)
/* 8010AA60 001079C0 90 03 00 00 */ stw r0, 0(r3)
/* 8010AA64 001079C4 41 82 00 18 */ beq lbl_8010AA7C
/* 8010AA68 001079C8 34 04 00 04 */ addic. r0, r4, 4
/* 8010AA6C 001079CC 41 82 00 10 */ beq lbl_8010AA7C
/* 8010AA70 001079D0 38 64 00 04 */ addi r3, r4, 4
/* 8010AA74 001079D4 38 80 00 00 */ li r4, 0
/* 8010AA78 001079D8 48 23 63 C9 */ bl __dt__6CTokenFv
lbl_8010AA7C:
/* 8010AA7C 001079DC 28 1E 00 00 */ cmplwi r30, 0
/* 8010AA80 001079E0 41 82 00 0C */ beq lbl_8010AA8C
/* 8010AA84 001079E4 7F C3 F3 78 */ mr r3, r30
/* 8010AA88 001079E8 48 20 AE A9 */ bl Free__7CMemoryFPCv
lbl_8010AA8C:
/* 8010AA8C 001079EC 80 9D 00 14 */ lwz r4, 0x14(r29)
/* 8010AA90 001079F0 7F E3 FB 78 */ mr r3, r31
/* 8010AA94 001079F4 38 04 FF FF */ addi r0, r4, -1
/* 8010AA98 001079F8 90 1D 00 14 */ stw r0, 0x14(r29)
/* 8010AA9C 001079FC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8010AAA0 00107A00 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8010AAA4 00107A04 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8010AAA8 00107A08 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8010AAAC 00107A0C 7C 08 03 A6 */ mtlr r0
/* 8010AAB0 00107A10 38 21 00 20 */ addi r1, r1, 0x20
/* 8010AAB4 00107A14 4E 80 00 20 */ blr
.global sub_8010aab8
sub_8010aab8:
/* 8010AAB8 00107A18 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8010AABC 00107A1C 7C 08 02 A6 */ mflr r0
/* 8010AAC0 00107A20 90 01 00 24 */ stw r0, 0x24(r1)
/* 8010AAC4 00107A24 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8010AAC8 00107A28 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8010AACC 00107A2C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8010AAD0 00107A30 7C 9D 23 78 */ mr r29, r4
/* 8010AAD4 00107A34 93 81 00 10 */ stw r28, 0x10(r1)
/* 8010AAD8 00107A38 7C 7C 1B 79 */ or. r28, r3, r3
/* 8010AADC 00107A3C 41 82 00 5C */ beq lbl_8010AB38
/* 8010AAE0 00107A40 83 FC 00 04 */ lwz r31, 4(r28)
/* 8010AAE4 00107A44 48 00 00 38 */ b lbl_8010AB1C
lbl_8010AAE8:
/* 8010AAE8 00107A48 7F FE FB 78 */ mr r30, r31
/* 8010AAEC 00107A4C 83 FF 00 04 */ lwz r31, 4(r31)
/* 8010AAF0 00107A50 34 7E 00 08 */ addic. r3, r30, 8
/* 8010AAF4 00107A54 41 82 00 18 */ beq lbl_8010AB0C
/* 8010AAF8 00107A58 34 03 00 04 */ addic. r0, r3, 4
/* 8010AAFC 00107A5C 41 82 00 10 */ beq lbl_8010AB0C
/* 8010AB00 00107A60 38 63 00 04 */ addi r3, r3, 4
/* 8010AB04 00107A64 38 80 00 00 */ li r4, 0
/* 8010AB08 00107A68 48 23 63 39 */ bl __dt__6CTokenFv
lbl_8010AB0C:
/* 8010AB0C 00107A6C 28 1E 00 00 */ cmplwi r30, 0
/* 8010AB10 00107A70 41 82 00 0C */ beq lbl_8010AB1C
/* 8010AB14 00107A74 7F C3 F3 78 */ mr r3, r30
/* 8010AB18 00107A78 48 20 AE 19 */ bl Free__7CMemoryFPCv
lbl_8010AB1C:
/* 8010AB1C 00107A7C 80 1C 00 08 */ lwz r0, 8(r28)
/* 8010AB20 00107A80 7C 1F 00 40 */ cmplw r31, r0
/* 8010AB24 00107A84 40 82 FF C4 */ bne lbl_8010AAE8
/* 8010AB28 00107A88 7F A0 07 35 */ extsh. r0, r29
/* 8010AB2C 00107A8C 40 81 00 0C */ ble lbl_8010AB38
/* 8010AB30 00107A90 7F 83 E3 78 */ mr r3, r28
/* 8010AB34 00107A94 48 20 AD FD */ bl Free__7CMemoryFPCv
lbl_8010AB38:
/* 8010AB38 00107A98 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8010AB3C 00107A9C 7F 83 E3 78 */ mr r3, r28
/* 8010AB40 00107AA0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8010AB44 00107AA4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8010AB48 00107AA8 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8010AB4C 00107AAC 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8010AB50 00107AB0 7C 08 03 A6 */ mtlr r0
/* 8010AB54 00107AB4 38 21 00 20 */ addi r1, r1, 0x20
/* 8010AB58 00107AB8 4E 80 00 20 */ blr
.global "__sort3<20SDumpableTextureInfo,24CTextureScoreGreaterThan>__4rstlFR20SDumpableTextureInfoR20SDumpableTextureInfoR20SDumpableTextureInfo24CTextureScoreGreaterThan"
"__sort3<20SDumpableTextureInfo,24CTextureScoreGreaterThan>__4rstlFR20SDumpableTextureInfoR20SDumpableTextureInfoR20SDumpableTextureInfo24CTextureScoreGreaterThan":
/* 8010AB5C 00107ABC 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8010AB60 00107AC0 7C 08 02 A6 */ mflr r0
/* 8010AB64 00107AC4 90 01 00 44 */ stw r0, 0x44(r1)
/* 8010AB68 00107AC8 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8010AB6C 00107ACC 7C 9F 23 78 */ mr r31, r4
/* 8010AB70 00107AD0 93 C1 00 38 */ stw r30, 0x38(r1)
/* 8010AB74 00107AD4 7C 7E 1B 78 */ mr r30, r3
/* 8010AB78 00107AD8 93 A1 00 34 */ stw r29, 0x34(r1)
/* 8010AB7C 00107ADC 93 81 00 30 */ stw r28, 0x30(r1)
/* 8010AB80 00107AE0 7C BC 2B 78 */ mr r28, r5
/* 8010AB84 00107AE4 80 04 00 04 */ lwz r0, 4(r4)
/* 8010AB88 00107AE8 80 A3 00 04 */ lwz r5, 4(r3)
/* 8010AB8C 00107AEC 7C 00 28 00 */ cmpw r0, r5
/* 8010AB90 00107AF0 40 80 00 6C */ bge lbl_8010ABFC
/* 8010AB94 00107AF4 80 1E 00 00 */ lwz r0, 0(r30)
/* 8010AB98 00107AF8 3B A1 00 10 */ addi r29, r1, 0x10
/* 8010AB9C 00107AFC 7F A3 EB 78 */ mr r3, r29
/* 8010ABA0 00107B00 38 9E 00 08 */ addi r4, r30, 8
/* 8010ABA4 00107B04 90 01 00 08 */ stw r0, 8(r1)
/* 8010ABA8 00107B08 90 A1 00 0C */ stw r5, 0xc(r1)
/* 8010ABAC 00107B0C 48 23 62 FD */ bl __ct__6CTokenFRC6CToken
/* 8010ABB0 00107B10 80 1F 00 00 */ lwz r0, 0(r31)
/* 8010ABB4 00107B14 38 7E 00 08 */ addi r3, r30, 8
/* 8010ABB8 00107B18 38 9F 00 08 */ addi r4, r31, 8
/* 8010ABBC 00107B1C 90 1E 00 00 */ stw r0, 0(r30)
/* 8010ABC0 00107B20 80 1F 00 04 */ lwz r0, 4(r31)
/* 8010ABC4 00107B24 90 1E 00 04 */ stw r0, 4(r30)
/* 8010ABC8 00107B28 48 23 60 FD */ bl __as__6CTokenFRC6CToken
/* 8010ABCC 00107B2C 80 01 00 08 */ lwz r0, 8(r1)
/* 8010ABD0 00107B30 7F A4 EB 78 */ mr r4, r29
/* 8010ABD4 00107B34 38 7F 00 08 */ addi r3, r31, 8
/* 8010ABD8 00107B38 90 1F 00 00 */ stw r0, 0(r31)
/* 8010ABDC 00107B3C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8010ABE0 00107B40 90 1F 00 04 */ stw r0, 4(r31)
/* 8010ABE4 00107B44 48 23 60 E1 */ bl __as__6CTokenFRC6CToken
/* 8010ABE8 00107B48 28 1D 00 00 */ cmplwi r29, 0
/* 8010ABEC 00107B4C 41 82 00 10 */ beq lbl_8010ABFC
/* 8010ABF0 00107B50 7F A3 EB 78 */ mr r3, r29
/* 8010ABF4 00107B54 38 80 00 00 */ li r4, 0
/* 8010ABF8 00107B58 48 23 62 49 */ bl __dt__6CTokenFv
lbl_8010ABFC:
/* 8010ABFC 00107B5C 80 BC 00 04 */ lwz r5, 4(r28)
/* 8010AC00 00107B60 80 1F 00 04 */ lwz r0, 4(r31)
/* 8010AC04 00107B64 7C 05 00 00 */ cmpw r5, r0
/* 8010AC08 00107B68 40 80 00 B8 */ bge lbl_8010ACC0
/* 8010AC0C 00107B6C 80 1C 00 00 */ lwz r0, 0(r28)
/* 8010AC10 00107B70 3B A1 00 20 */ addi r29, r1, 0x20
/* 8010AC14 00107B74 7F A3 EB 78 */ mr r3, r29
/* 8010AC18 00107B78 38 9C 00 08 */ addi r4, r28, 8
/* 8010AC1C 00107B7C 90 01 00 18 */ stw r0, 0x18(r1)
/* 8010AC20 00107B80 90 A1 00 1C */ stw r5, 0x1c(r1)
/* 8010AC24 00107B84 48 23 62 85 */ bl __ct__6CTokenFRC6CToken
/* 8010AC28 00107B88 80 1F 00 00 */ lwz r0, 0(r31)
/* 8010AC2C 00107B8C 38 7C 00 08 */ addi r3, r28, 8
/* 8010AC30 00107B90 38 9F 00 08 */ addi r4, r31, 8
/* 8010AC34 00107B94 90 1C 00 00 */ stw r0, 0(r28)
/* 8010AC38 00107B98 80 1F 00 04 */ lwz r0, 4(r31)
/* 8010AC3C 00107B9C 90 1C 00 04 */ stw r0, 4(r28)
/* 8010AC40 00107BA0 48 23 60 85 */ bl __as__6CTokenFRC6CToken
/* 8010AC44 00107BA4 80 61 00 1C */ lwz r3, 0x1c(r1)
/* 8010AC48 00107BA8 80 1E 00 04 */ lwz r0, 4(r30)
/* 8010AC4C 00107BAC 7C 03 00 00 */ cmpw r3, r0
/* 8010AC50 00107BB0 40 80 00 40 */ bge lbl_8010AC90
/* 8010AC54 00107BB4 80 1E 00 00 */ lwz r0, 0(r30)
/* 8010AC58 00107BB8 38 7F 00 08 */ addi r3, r31, 8
/* 8010AC5C 00107BBC 38 9E 00 08 */ addi r4, r30, 8
/* 8010AC60 00107BC0 90 1F 00 00 */ stw r0, 0(r31)
/* 8010AC64 00107BC4 80 1E 00 04 */ lwz r0, 4(r30)
/* 8010AC68 00107BC8 90 1F 00 04 */ stw r0, 4(r31)
/* 8010AC6C 00107BCC 48 23 60 59 */ bl __as__6CTokenFRC6CToken
/* 8010AC70 00107BD0 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8010AC74 00107BD4 7F A4 EB 78 */ mr r4, r29
/* 8010AC78 00107BD8 38 7E 00 08 */ addi r3, r30, 8
/* 8010AC7C 00107BDC 90 1E 00 00 */ stw r0, 0(r30)
/* 8010AC80 00107BE0 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8010AC84 00107BE4 90 1E 00 04 */ stw r0, 4(r30)
/* 8010AC88 00107BE8 48 23 60 3D */ bl __as__6CTokenFRC6CToken
/* 8010AC8C 00107BEC 48 00 00 20 */ b lbl_8010ACAC
lbl_8010AC90:
/* 8010AC90 00107BF0 80 01 00 18 */ lwz r0, 0x18(r1)
/* 8010AC94 00107BF4 7F A4 EB 78 */ mr r4, r29
/* 8010AC98 00107BF8 38 7F 00 08 */ addi r3, r31, 8
/* 8010AC9C 00107BFC 90 1F 00 00 */ stw r0, 0(r31)
/* 8010ACA0 00107C00 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8010ACA4 00107C04 90 1F 00 04 */ stw r0, 4(r31)
/* 8010ACA8 00107C08 48 23 60 1D */ bl __as__6CTokenFRC6CToken
lbl_8010ACAC:
/* 8010ACAC 00107C0C 28 1D 00 00 */ cmplwi r29, 0
/* 8010ACB0 00107C10 41 82 00 10 */ beq lbl_8010ACC0
/* 8010ACB4 00107C14 7F A3 EB 78 */ mr r3, r29
/* 8010ACB8 00107C18 38 80 00 00 */ li r4, 0
/* 8010ACBC 00107C1C 48 23 61 85 */ bl __dt__6CTokenFv
lbl_8010ACC0:
/* 8010ACC0 00107C20 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8010ACC4 00107C24 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8010ACC8 00107C28 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8010ACCC 00107C2C 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 8010ACD0 00107C30 83 81 00 30 */ lwz r28, 0x30(r1)
/* 8010ACD4 00107C34 7C 08 03 A6 */ mtlr r0
/* 8010ACD8 00107C38 38 21 00 40 */ addi r1, r1, 0x40
/* 8010ACDC 00107C3C 4E 80 00 20 */ blr
.global "__insertion_sort<Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterTha"
"__insertion_sort<Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterTha":
/* 8010ACE0 00107C40 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8010ACE4 00107C44 7C 08 02 A6 */ mflr r0
/* 8010ACE8 00107C48 90 01 00 34 */ stw r0, 0x34(r1)
/* 8010ACEC 00107C4C BF 41 00 18 */ stmw r26, 0x18(r1)
/* 8010ACF0 00107C50 7C 7A 1B 78 */ mr r26, r3
/* 8010ACF4 00107C54 7C 9B 23 78 */ mr r27, r4
/* 8010ACF8 00107C58 3B 81 00 10 */ addi r28, r1, 0x10
/* 8010ACFC 00107C5C 83 E3 00 00 */ lwz r31, 0(r3)
/* 8010AD00 00107C60 3B FF 00 10 */ addi r31, r31, 0x10
/* 8010AD04 00107C64 48 00 00 A0 */ b lbl_8010ADA4
lbl_8010AD08:
/* 8010AD08 00107C68 80 1F 00 00 */ lwz r0, 0(r31)
/* 8010AD0C 00107C6C 7F 83 E3 78 */ mr r3, r28
/* 8010AD10 00107C70 38 9F 00 08 */ addi r4, r31, 8
/* 8010AD14 00107C74 90 01 00 08 */ stw r0, 8(r1)
/* 8010AD18 00107C78 80 1F 00 04 */ lwz r0, 4(r31)
/* 8010AD1C 00107C7C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8010AD20 00107C80 48 23 61 89 */ bl __ct__6CTokenFRC6CToken
/* 8010AD24 00107C84 7F FD FB 78 */ mr r29, r31
/* 8010AD28 00107C88 3B DF FF F0 */ addi r30, r31, -16
/* 8010AD2C 00107C8C 48 00 00 28 */ b lbl_8010AD54
lbl_8010AD30:
/* 8010AD30 00107C90 80 1E 00 00 */ lwz r0, 0(r30)
/* 8010AD34 00107C94 38 7D 00 08 */ addi r3, r29, 8
/* 8010AD38 00107C98 38 9E 00 08 */ addi r4, r30, 8
/* 8010AD3C 00107C9C 90 1D 00 00 */ stw r0, 0(r29)
/* 8010AD40 00107CA0 80 1E 00 04 */ lwz r0, 4(r30)
/* 8010AD44 00107CA4 90 1D 00 04 */ stw r0, 4(r29)
/* 8010AD48 00107CA8 48 23 5F 7D */ bl __as__6CTokenFRC6CToken
/* 8010AD4C 00107CAC 3B BD FF F0 */ addi r29, r29, -16
/* 8010AD50 00107CB0 3B DE FF F0 */ addi r30, r30, -16
lbl_8010AD54:
/* 8010AD54 00107CB4 80 1A 00 00 */ lwz r0, 0(r26)
/* 8010AD58 00107CB8 7C 00 E8 40 */ cmplw r0, r29
/* 8010AD5C 00107CBC 40 80 00 14 */ bge lbl_8010AD70
/* 8010AD60 00107CC0 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8010AD64 00107CC4 80 1E 00 04 */ lwz r0, 4(r30)
/* 8010AD68 00107CC8 7C 03 00 00 */ cmpw r3, r0
/* 8010AD6C 00107CCC 41 80 FF C4 */ blt lbl_8010AD30
lbl_8010AD70:
/* 8010AD70 00107CD0 80 01 00 08 */ lwz r0, 8(r1)
/* 8010AD74 00107CD4 7F 84 E3 78 */ mr r4, r28
/* 8010AD78 00107CD8 38 7D 00 08 */ addi r3, r29, 8
/* 8010AD7C 00107CDC 90 1D 00 00 */ stw r0, 0(r29)
/* 8010AD80 00107CE0 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8010AD84 00107CE4 90 1D 00 04 */ stw r0, 4(r29)
/* 8010AD88 00107CE8 48 23 5F 3D */ bl __as__6CTokenFRC6CToken
/* 8010AD8C 00107CEC 28 1C 00 00 */ cmplwi r28, 0
/* 8010AD90 00107CF0 41 82 00 10 */ beq lbl_8010ADA0
/* 8010AD94 00107CF4 7F 83 E3 78 */ mr r3, r28
/* 8010AD98 00107CF8 38 80 00 00 */ li r4, 0
/* 8010AD9C 00107CFC 48 23 60 A5 */ bl __dt__6CTokenFv
lbl_8010ADA0:
/* 8010ADA0 00107D00 3B FF 00 10 */ addi r31, r31, 0x10
lbl_8010ADA4:
/* 8010ADA4 00107D04 80 1B 00 00 */ lwz r0, 0(r27)
/* 8010ADA8 00107D08 7C 1F 00 40 */ cmplw r31, r0
/* 8010ADAC 00107D0C 41 80 FF 5C */ blt lbl_8010AD08
/* 8010ADB0 00107D10 BB 41 00 18 */ lmw r26, 0x18(r1)
/* 8010ADB4 00107D14 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8010ADB8 00107D18 7C 08 03 A6 */ mtlr r0
/* 8010ADBC 00107D1C 38 21 00 30 */ addi r1, r1, 0x30
/* 8010ADC0 00107D20 4E 80 00 20 */ blr
.section .rodata
.balign 8
.global lbl_803CEE58
lbl_803CEE58:
# ROM: 0x3CBE58
.4byte lbl_803CEF50
.4byte lbl_803CEF5F
.4byte lbl_803CEF68
.4byte lbl_803CEF74
.4byte lbl_803CEF80
.4byte lbl_803CEF8B
.4byte lbl_803CEF95
.4byte lbl_803CEFA9
.4byte lbl_803CEFBA
.4byte lbl_803CEFC8
.4byte lbl_803CEFD9
.4byte lbl_803CEFE8
.4byte lbl_803CEFF8
.4byte lbl_803CF007
.global lbl_803CEE90
lbl_803CEE90:
# ROM: 0x3CBE90
.4byte lbl_803CF016
.4byte lbl_803CF02E
.4byte lbl_803CF046
.4byte lbl_803CF060
.4byte lbl_803CF079
.4byte lbl_803CF097
.4byte lbl_803CF0B5
.4byte lbl_803CF0D5
.4byte lbl_803CF0F4
.4byte lbl_803CF107
.4byte lbl_803CF120
.4byte lbl_803CF139
.4byte lbl_803CF159
.global lbl_803CEEC4
lbl_803CEEC4:
# ROM: 0x3CBEC4
.asciz "FaceplateDecoration"
.asciz " FaceReflection"
.asciz " PlayerVisor"
.asciz " Hud"
.asciz " AutoMapper"
.asciz " PauseScreen"
.asciz " Total"
.global lbl_803CEF50
lbl_803CEF50:
# ROM: 0x3CBF50
.asciz "InGameGui_DGRP"
.global lbl_803CEF5F
lbl_803CEF5F:
# ROM: 0x3CBF5F
.asciz "Ice_DGRP"
.global lbl_803CEF68
lbl_803CEF68:
# ROM: 0x3CBF68
.asciz "Phazon_DGRP"
.global lbl_803CEF74
lbl_803CEF74:
# ROM: 0x3CBF74
.asciz "Plasma_DGRP"
.global lbl_803CEF80
lbl_803CEF80:
# ROM: 0x3CBF80
.asciz "Power_DGRP"
.global lbl_803CEF8B
lbl_803CEF8B:
# ROM: 0x3CBF8B
.asciz "Wave_DGRP"
.global lbl_803CEF95
lbl_803CEF95:
# ROM: 0x3CBF95
.asciz "BallTransition_DGRP"
.global lbl_803CEFA9
lbl_803CEFA9:
# ROM: 0x3CBFA9
.asciz "GravitySuit_DGRP"
.global lbl_803CEFBA
lbl_803CEFBA:
# ROM: 0x3CBFBA
.asciz "Ice_Anim_DGRP"
.global lbl_803CEFC8
lbl_803CEFC8:
# ROM: 0x3CBFC8
.asciz "Plasma_Anim_DGRP"
.global lbl_803CEFD9
lbl_803CEFD9:
# ROM: 0x3CBFD9
.asciz "PowerSuit_DGRP"
.global lbl_803CEFE8
lbl_803CEFE8:
# ROM: 0x3CBFE8
.asciz "Power_Anim_DGRP"
.global lbl_803CEFF8
lbl_803CEFF8:
# ROM: 0x3CBFF8
.asciz "VariaSuit_DGRP"
.global lbl_803CF007
lbl_803CF007:
# ROM: 0x3CC007
.asciz "Wave_Anim_DGRP"
.global lbl_803CF016
lbl_803CF016:
# ROM: 0x3CC016
.asciz "InventorySuitPower_DGRP"
.global lbl_803CF02E
lbl_803CF02E:
# ROM: 0x3CC02E
.byte 0x49, 0x6E
.asciz "ventorySuitVaria_DGRP"
.global lbl_803CF046
lbl_803CF046:
# ROM: 0x3CC046
.byte 0x49, 0x6E
.asciz "ventorySuitGravity_DGRP"
.global lbl_803CF060
lbl_803CF060:
# ROM: 0x3CC060
.asciz "InventorySuitPhazon_DGRP"
.global lbl_803CF079
lbl_803CF079:
# ROM: 0x3CC079
.byte 0x49, 0x6E, 0x76
.asciz "entorySuitFusionPower_DGRP"
.global lbl_803CF097
lbl_803CF097:
# ROM: 0x3CC097
.byte 0x49
.asciz "nventorySuitFusionVaria_DGRP"
.global lbl_803CF0B5
lbl_803CF0B5:
# ROM: 0x3CC0B5
.byte 0x49, 0x6E, 0x76
.asciz "entorySuitFusionGravity_DGRP"
.global lbl_803CF0D5
lbl_803CF0D5:
# ROM: 0x3CC0D5
.byte 0x49, 0x6E, 0x76
.asciz "entorySuitFusionPhazon_DGRP"
.global lbl_803CF0F4
lbl_803CF0F4:
# ROM: 0x3CC0F4
.asciz "SamusBallANCS_DGRP"
.global lbl_803CF107
lbl_803CF107:
# ROM: 0x3CC107
.byte 0x53
.asciz "amusSpiderBallANCS_DGRP"
.global lbl_803CF120
lbl_803CF120:
# ROM: 0x3CC120
.asciz "PauseScreenDontDump_DGRP"
.global lbl_803CF139
lbl_803CF139:
# ROM: 0x3CC139
.byte 0x50, 0x61, 0x75
.asciz "seScreenDontDump_NoARAM_DGRP"
.global lbl_803CF159
lbl_803CF159:
# ROM: 0x3CC159
.byte 0x50, 0x61, 0x75
.asciz "seScreenTokens_DGRP"
.asciz "??(??)"
.byte 0x42
.asciz "aseWidget_AutoMapper"
.byte 0x4D, 0x6F, 0x64
.asciz "el_AutoMapper"
.byte 0x42, 0x61
.asciz "seWidget_Functional"
.asciz "PreLoadIGGM_DGRP"
.byte 0x54, 0x58, 0x54
.asciz "R_DeathDot"
.balign 4
.4byte 0