prime/asm/MetroidPrime/CWorldTransManager.s

3279 lines
159 KiB
ArmAsm
Raw Normal View History

.include "macros.inc"
.section .sdata
.balign 8
.global lbl_805A7F88
lbl_805A7F88:
# ROM: 0x3F5928
.4byte 0
.global lbl_805A7F8C
lbl_805A7F8C:
# ROM: 0x3F592C
.4byte 0x42C80000
.global lbl_805A7F90
lbl_805A7F90:
# ROM: 0x3F5930
.4byte 0
.global lbl_805A7F94
lbl_805A7F94:
# ROM: 0x3F5934
.float 1.0
.global lbl_805A7F98
lbl_805A7F98:
# ROM: 0x3F5938
.4byte 0
.global lbl_805A7F9C
lbl_805A7F9C:
# ROM: 0x3F593C
.float 1.0
.global lbl_805A7FA0
lbl_805A7FA0:
# ROM: 0x3F5940
.4byte 0
.global lbl_805A7FA4
lbl_805A7FA4:
# ROM: 0x3F5944
.float 1.0
.global lbl_805A7FA8
lbl_805A7FA8:
# ROM: 0x3F5948
.float 1.0
.global lbl_805A7FAC
lbl_805A7FAC:
# ROM: 0x3F594C
.float 1.0
.global lbl_805A7FB0
lbl_805A7FB0:
# ROM: 0x3F5950
.4byte 0
.4byte 0
.section .sbss, "wa"
.balign 8
.global lbl_805A90A8
lbl_805A90A8:
.skip 0x4
.global lbl_805A90AC
lbl_805A90AC:
.skip 0x4
.section .text, "ax"
.global WaitForModelsAndTextures__18CWorldTransManagerFv
WaitForModelsAndTextures__18CWorldTransManagerFv:
/* 80208E18 00205D78 94 21 FF 30 */ stwu r1, -0xd0(r1)
/* 80208E1C 00205D7C 7C 08 02 A6 */ mflr r0
/* 80208E20 00205D80 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 80208E24 00205D84 38 61 00 60 */ addi r3, r1, 0x60
/* 80208E28 00205D88 BF 41 00 B8 */ stmw r26, 0xb8(r1)
/* 80208E2C 00205D8C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80208E30 00205D90 48 13 71 B9 */ bl GetReferencedTags__11CSimplePoolFv
/* 80208E34 00205D94 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80208E38 00205D98 80 61 00 68 */ lwz r3, 0x68(r1)
/* 80208E3C 00205D9C 2C 00 00 00 */ cmpwi r0, 0
/* 80208E40 00205DA0 90 01 00 74 */ stw r0, 0x74(r1)
/* 80208E44 00205DA4 90 61 00 78 */ stw r3, 0x78(r1)
/* 80208E48 00205DA8 40 82 00 18 */ bne lbl_80208E60
/* 80208E4C 00205DAC 2C 03 00 00 */ cmpwi r3, 0
/* 80208E50 00205DB0 40 82 00 10 */ bne lbl_80208E60
/* 80208E54 00205DB4 38 00 00 00 */ li r0, 0
/* 80208E58 00205DB8 90 01 00 7C */ stw r0, 0x7c(r1)
/* 80208E5C 00205DBC 48 00 00 6C */ b lbl_80208EC8
lbl_80208E60:
/* 80208E60 00205DC0 80 01 00 78 */ lwz r0, 0x78(r1)
/* 80208E64 00205DC4 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c
/* 80208E68 00205DC8 40 82 00 10 */ bne lbl_80208E78
/* 80208E6C 00205DCC 38 00 00 00 */ li r0, 0
/* 80208E70 00205DD0 90 01 00 7C */ stw r0, 0x7c(r1)
/* 80208E74 00205DD4 48 00 00 18 */ b lbl_80208E8C
lbl_80208E78:
/* 80208E78 00205DD8 3C 80 80 3D */ lis r4, lbl_803D2768@ha
/* 80208E7C 00205DDC 38 A0 00 00 */ li r5, 0
/* 80208E80 00205DE0 38 84 27 68 */ addi r4, r4, lbl_803D2768@l
/* 80208E84 00205DE4 48 10 C9 95 */ bl __nwa__FUlPCcPCc
/* 80208E88 00205DE8 90 61 00 7C */ stw r3, 0x7c(r1)
lbl_80208E8C:
/* 80208E8C 00205DEC 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80208E90 00205DF0 80 81 00 6C */ lwz r4, 0x6c(r1)
/* 80208E94 00205DF4 80 61 00 7C */ lwz r3, 0x7c(r1)
/* 80208E98 00205DF8 7C 09 03 A6 */ mtctr r0
/* 80208E9C 00205DFC 2C 00 00 00 */ cmpwi r0, 0
/* 80208EA0 00205E00 40 81 00 28 */ ble lbl_80208EC8
lbl_80208EA4:
/* 80208EA4 00205E04 28 03 00 00 */ cmplwi r3, 0
/* 80208EA8 00205E08 41 82 00 14 */ beq lbl_80208EBC
/* 80208EAC 00205E0C 80 04 00 00 */ lwz r0, 0(r4)
/* 80208EB0 00205E10 90 03 00 00 */ stw r0, 0(r3)
/* 80208EB4 00205E14 80 04 00 04 */ lwz r0, 4(r4)
/* 80208EB8 00205E18 90 03 00 04 */ stw r0, 4(r3)
lbl_80208EBC:
/* 80208EBC 00205E1C 38 63 00 08 */ addi r3, r3, 8
/* 80208EC0 00205E20 38 84 00 08 */ addi r4, r4, 8
/* 80208EC4 00205E24 42 00 FF E0 */ bdnz lbl_80208EA4
lbl_80208EC8:
/* 80208EC8 00205E28 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80208ECC 00205E2C 80 61 00 6C */ lwz r3, 0x6c(r1)
/* 80208ED0 00205E30 54 00 18 38 */ slwi r0, r0, 3
/* 80208ED4 00205E34 7C 03 02 14 */ add r0, r3, r0
/* 80208ED8 00205E38 90 61 00 1C */ stw r3, 0x1c(r1)
/* 80208EDC 00205E3C 7C 64 1B 78 */ mr r4, r3
/* 80208EE0 00205E40 90 01 00 24 */ stw r0, 0x24(r1)
/* 80208EE4 00205E44 90 01 00 20 */ stw r0, 0x20(r1)
/* 80208EE8 00205E48 90 61 00 18 */ stw r3, 0x18(r1)
/* 80208EEC 00205E4C 48 00 00 08 */ b lbl_80208EF4
lbl_80208EF0:
/* 80208EF0 00205E50 38 84 00 08 */ addi r4, r4, 8
lbl_80208EF4:
/* 80208EF4 00205E54 7C 04 00 40 */ cmplw r4, r0
/* 80208EF8 00205E58 40 82 FF F8 */ bne lbl_80208EF0
/* 80208EFC 00205E5C 28 03 00 00 */ cmplwi r3, 0
/* 80208F00 00205E60 41 82 00 08 */ beq lbl_80208F08
/* 80208F04 00205E64 48 10 CA 2D */ bl Free__7CMemoryFPCv
lbl_80208F08:
/* 80208F08 00205E68 3C 60 80 00 */ lis r3, 0x7FFFFFFF@ha
/* 80208F0C 00205E6C 38 81 00 AC */ addi r4, r1, 0xac
/* 80208F10 00205E70 38 63 FF FF */ addi r3, r3, 0x7FFFFFFF@l
/* 80208F14 00205E74 38 00 00 00 */ li r0, 0
/* 80208F18 00205E78 90 6D A8 70 */ stw r3, lbl_805A9430@sda21(r13)
/* 80208F1C 00205E7C 90 81 00 A4 */ stw r4, 0xa4(r1)
/* 80208F20 00205E80 90 81 00 A8 */ stw r4, 0xa8(r1)
/* 80208F24 00205E84 90 81 00 AC */ stw r4, 0xac(r1)
/* 80208F28 00205E88 90 81 00 B0 */ stw r4, 0xb0(r1)
/* 80208F2C 00205E8C 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 80208F30 00205E90 48 16 3D CD */ bl sub_8036ccfc
/* 80208F34 00205E94 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80208F38 00205E98 3B C0 00 00 */ li r30, 0
/* 80208F3C 00205E9C 80 61 00 7C */ lwz r3, 0x7c(r1)
/* 80208F40 00205EA0 54 00 18 38 */ slwi r0, r0, 3
/* 80208F44 00205EA4 7F A3 02 14 */ add r29, r3, r0
lbl_80208F48:
/* 80208F48 00205EA8 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 80208F4C 00205EAC 48 00 02 8C */ b lbl_802091D8
lbl_80208F50:
/* 80208F50 00205EB0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80208F54 00205EB4 7F E5 FB 78 */ mr r5, r31
/* 80208F58 00205EB8 38 61 00 40 */ addi r3, r1, 0x40
/* 80208F5C 00205EBC 81 84 00 00 */ lwz r12, 0(r4)
/* 80208F60 00205EC0 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80208F64 00205EC4 7D 89 03 A6 */ mtctr r12
/* 80208F68 00205EC8 4E 80 04 21 */ bctrl
/* 80208F6C 00205ECC 80 A1 00 40 */ lwz r5, 0x40(r1)
/* 80208F70 00205ED0 38 61 00 40 */ addi r3, r1, 0x40
/* 80208F74 00205ED4 38 80 FF FF */ li r4, -1
/* 80208F78 00205ED8 80 A5 00 10 */ lwz r5, 0x10(r5)
/* 80208F7C 00205EDC 7C 05 00 D0 */ neg r0, r5
/* 80208F80 00205EE0 7C 00 2B 78 */ or r0, r0, r5
/* 80208F84 00205EE4 54 1A 0F FE */ srwi r26, r0, 0x1f
/* 80208F88 00205EE8 48 13 7E B9 */ bl __dt__6CTokenFv
/* 80208F8C 00205EEC 28 1A 00 00 */ cmplwi r26, 0
/* 80208F90 00205EF0 41 82 02 44 */ beq lbl_802091D4
/* 80208F94 00205EF4 80 7F 00 00 */ lwz r3, 0(r31)
/* 80208F98 00205EF8 3C 03 AB A8 */ addis r0, r3, 0xaba8
/* 80208F9C 00205EFC 28 00 54 52 */ cmplwi r0, 0x5452
/* 80208FA0 00205F00 40 82 00 BC */ bne lbl_8020905C
/* 80208FA4 00205F04 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80208FA8 00205F08 7F E5 FB 78 */ mr r5, r31
/* 80208FAC 00205F0C 38 61 00 38 */ addi r3, r1, 0x38
/* 80208FB0 00205F10 81 84 00 00 */ lwz r12, 0(r4)
/* 80208FB4 00205F14 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80208FB8 00205F18 7D 89 03 A6 */ mtctr r12
/* 80208FBC 00205F1C 4E 80 04 21 */ bctrl
/* 80208FC0 00205F20 38 61 00 58 */ addi r3, r1, 0x58
/* 80208FC4 00205F24 38 81 00 38 */ addi r4, r1, 0x38
/* 80208FC8 00205F28 48 13 7E E1 */ bl __ct__6CTokenFRC6CToken
/* 80208FCC 00205F2C 38 61 00 38 */ addi r3, r1, 0x38
/* 80208FD0 00205F30 38 80 FF FF */ li r4, -1
/* 80208FD4 00205F34 48 13 7E 6D */ bl __dt__6CTokenFv
/* 80208FD8 00205F38 2C 1E 00 00 */ cmpwi r30, 0
/* 80208FDC 00205F3C 40 82 00 60 */ bne lbl_8020903C
/* 80208FE0 00205F40 38 61 00 58 */ addi r3, r1, 0x58
/* 80208FE4 00205F44 48 13 7E 29 */ bl GetObj__6CTokenFv
/* 80208FE8 00205F48 80 63 00 04 */ lwz r3, 4(r3)
/* 80208FEC 00205F4C 48 10 51 CD */ bl MakeSwappable__8CTextureCFv
/* 80208FF0 00205F50 38 61 00 58 */ addi r3, r1, 0x58
/* 80208FF4 00205F54 48 13 7E 19 */ bl GetObj__6CTokenFv
/* 80208FF8 00205F58 80 63 00 04 */ lwz r3, 4(r3)
/* 80208FFC 00205F5C 48 10 5B 85 */ bl LoadToARAM__8CTextureCFv
/* 80209000 00205F60 38 61 00 58 */ addi r3, r1, 0x58
/* 80209004 00205F64 48 13 7E 09 */ bl GetObj__6CTokenFv
/* 80209008 00205F68 80 63 00 04 */ lwz r3, 4(r3)
/* 8020900C 00205F6C 48 10 5B 41 */ bl IsARAMTransferInProgress__8CTextureCFv
/* 80209010 00205F70 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80209014 00205F74 41 82 00 38 */ beq lbl_8020904C
/* 80209018 00205F78 48 00 00 08 */ b lbl_80209020
lbl_8020901C:
/* 8020901C 00205F7C 48 14 F5 1D */ bl UpdateAllDMAs__10CARAMTokenFv
lbl_80209020:
/* 80209020 00205F80 38 61 00 58 */ addi r3, r1, 0x58
/* 80209024 00205F84 48 13 7D E9 */ bl GetObj__6CTokenFv
/* 80209028 00205F88 80 63 00 04 */ lwz r3, 4(r3)
/* 8020902C 00205F8C 48 10 5B 21 */ bl IsARAMTransferInProgress__8CTextureCFv
/* 80209030 00205F90 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80209034 00205F94 40 82 FF E8 */ bne lbl_8020901C
/* 80209038 00205F98 48 00 00 14 */ b lbl_8020904C
lbl_8020903C:
/* 8020903C 00205F9C 38 61 00 58 */ addi r3, r1, 0x58
/* 80209040 00205FA0 48 13 7D CD */ bl GetObj__6CTokenFv
/* 80209044 00205FA4 80 63 00 04 */ lwz r3, 4(r3)
/* 80209048 00205FA8 48 10 5B E1 */ bl LoadToMRAM__8CTextureCFv
lbl_8020904C:
/* 8020904C 00205FAC 38 61 00 58 */ addi r3, r1, 0x58
/* 80209050 00205FB0 38 80 00 00 */ li r4, 0
/* 80209054 00205FB4 48 13 7D ED */ bl __dt__6CTokenFv
/* 80209058 00205FB8 48 00 01 7C */ b lbl_802091D4
lbl_8020905C:
/* 8020905C 00205FBC 3C 03 BC B3 */ addis r0, r3, 0xbcb3
/* 80209060 00205FC0 28 00 44 4C */ cmplwi r0, 0x444c
/* 80209064 00205FC4 40 82 01 70 */ bne lbl_802091D4
/* 80209068 00205FC8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8020906C 00205FCC 7F E5 FB 78 */ mr r5, r31
/* 80209070 00205FD0 38 61 00 30 */ addi r3, r1, 0x30
/* 80209074 00205FD4 81 84 00 00 */ lwz r12, 0(r4)
/* 80209078 00205FD8 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8020907C 00205FDC 7D 89 03 A6 */ mtctr r12
/* 80209080 00205FE0 4E 80 04 21 */ bctrl
/* 80209084 00205FE4 38 61 00 50 */ addi r3, r1, 0x50
/* 80209088 00205FE8 38 81 00 30 */ addi r4, r1, 0x30
/* 8020908C 00205FEC 48 13 7E 1D */ bl __ct__6CTokenFRC6CToken
/* 80209090 00205FF0 38 61 00 30 */ addi r3, r1, 0x30
/* 80209094 00205FF4 38 80 FF FF */ li r4, -1
/* 80209098 00205FF8 48 13 7D A9 */ bl __dt__6CTokenFv
/* 8020909C 00205FFC 38 61 00 50 */ addi r3, r1, 0x50
/* 802090A0 00206000 48 13 7D 6D */ bl GetObj__6CTokenFv
/* 802090A4 00206004 2C 1E 00 00 */ cmpwi r30, 0
/* 802090A8 00206008 83 43 00 04 */ lwz r26, 4(r3)
/* 802090AC 0020600C 40 82 00 F4 */ bne lbl_802091A0
/* 802090B0 00206010 7F 44 D3 78 */ mr r4, r26
/* 802090B4 00206014 38 61 00 28 */ addi r3, r1, 0x28
/* 802090B8 00206018 48 14 C2 99 */ bl sub_80355350
/* 802090BC 0020601C 88 81 00 28 */ lbz r4, 0x28(r1)
/* 802090C0 00206020 38 00 00 00 */ li r0, 0
/* 802090C4 00206024 80 61 00 2C */ lwz r3, 0x2c(r1)
/* 802090C8 00206028 98 81 00 48 */ stb r4, 0x48(r1)
/* 802090CC 0020602C 90 61 00 4C */ stw r3, 0x4c(r1)
/* 802090D0 00206030 98 01 00 28 */ stb r0, 0x28(r1)
/* 802090D4 00206034 48 00 00 08 */ b lbl_802090DC
/* 802090D8 00206038 48 10 C8 59 */ bl Free__7CMemoryFPCv
lbl_802090DC:
/* 802090DC 0020603C 7F 43 D3 78 */ mr r3, r26
/* 802090E0 00206040 48 14 C2 8D */ bl sub_8035536c
/* 802090E4 00206044 38 00 00 00 */ li r0, 0
/* 802090E8 00206048 38 63 00 1F */ addi r3, r3, 0x1f
/* 802090EC 0020604C 98 01 00 48 */ stb r0, 0x48(r1)
/* 802090F0 00206050 54 65 00 34 */ rlwinm r5, r3, 0, 0, 0x1a
/* 802090F4 00206054 80 81 00 4C */ lwz r4, 0x4c(r1)
/* 802090F8 00206058 38 61 00 80 */ addi r3, r1, 0x80
/* 802090FC 0020605C 38 C0 00 01 */ li r6, 1
/* 80209100 00206060 48 14 F9 4D */ bl __ct__10CARAMTokenFPvUi
/* 80209104 00206064 38 61 00 80 */ addi r3, r1, 0x80
/* 80209108 00206068 48 14 F5 71 */ bl LoadToARAM__10CARAMTokenFv
/* 8020910C 0020606C 38 61 00 80 */ addi r3, r1, 0x80
/* 80209110 00206070 48 14 F2 79 */ bl sub_80358388
/* 80209114 00206074 83 61 00 A8 */ lwz r27, 0xa8(r1)
/* 80209118 00206078 3C 60 80 3D */ lis r3, lbl_803D2768@ha
/* 8020911C 0020607C 38 83 27 68 */ addi r4, r3, lbl_803D2768@l
/* 80209120 00206080 38 A0 00 00 */ li r5, 0
/* 80209124 00206084 83 5B 00 00 */ lwz r26, 0(r27)
/* 80209128 00206088 38 60 00 28 */ li r3, 0x28
/* 8020912C 0020608C 48 10 C6 ED */ bl __nwa__FUlPCcPCc
/* 80209130 00206090 7C 7C 1B 79 */ or. r28, r3, r3
/* 80209134 00206094 41 82 00 0C */ beq lbl_80209140
/* 80209138 00206098 93 5C 00 00 */ stw r26, 0(r28)
/* 8020913C 0020609C 93 7C 00 04 */ stw r27, 4(r28)
lbl_80209140:
/* 80209140 002060A0 34 7C 00 08 */ addic. r3, r28, 8
/* 80209144 002060A4 41 82 00 0C */ beq lbl_80209150
/* 80209148 002060A8 38 81 00 80 */ addi r4, r1, 0x80
/* 8020914C 002060AC 48 14 F8 81 */ bl __ct__10CARAMTokenFRC10CARAMToken
lbl_80209150:
/* 80209150 002060B0 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 80209154 002060B4 7C 1B 00 40 */ cmplw r27, r0
/* 80209158 002060B8 40 82 00 08 */ bne lbl_80209160
/* 8020915C 002060BC 93 81 00 A4 */ stw r28, 0xa4(r1)
lbl_80209160:
/* 80209160 002060C0 80 BC 00 00 */ lwz r5, 0(r28)
/* 80209164 002060C4 38 61 00 80 */ addi r3, r1, 0x80
/* 80209168 002060C8 38 80 FF FF */ li r4, -1
/* 8020916C 002060CC 93 85 00 04 */ stw r28, 4(r5)
/* 80209170 002060D0 80 BC 00 04 */ lwz r5, 4(r28)
/* 80209174 002060D4 93 85 00 00 */ stw r28, 0(r5)
/* 80209178 002060D8 80 A1 00 B4 */ lwz r5, 0xb4(r1)
/* 8020917C 002060DC 38 05 00 01 */ addi r0, r5, 1
/* 80209180 002060E0 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 80209184 002060E4 48 14 F7 C1 */ bl __dt__10CARAMTokenFv
/* 80209188 002060E8 88 01 00 48 */ lbz r0, 0x48(r1)
/* 8020918C 002060EC 28 00 00 00 */ cmplwi r0, 0
/* 80209190 002060F0 41 82 00 38 */ beq lbl_802091C8
/* 80209194 002060F4 80 61 00 4C */ lwz r3, 0x4c(r1)
/* 80209198 002060F8 48 10 C7 99 */ bl Free__7CMemoryFPCv
/* 8020919C 002060FC 48 00 00 2C */ b lbl_802091C8
lbl_802091A0:
/* 802091A0 00206100 80 61 00 A4 */ lwz r3, 0xa4(r1)
/* 802091A4 00206104 38 63 00 08 */ addi r3, r3, 8
/* 802091A8 00206108 48 14 F2 2D */ bl sub_803583d4
/* 802091AC 0020610C 80 81 00 A4 */ lwz r4, 0xa4(r1)
/* 802091B0 00206110 7C 7B 1B 78 */ mr r27, r3
/* 802091B4 00206114 38 61 00 A0 */ addi r3, r1, 0xa0
/* 802091B8 00206118 48 00 26 5D */ bl sub_8020b814
/* 802091BC 0020611C 7F 43 D3 78 */ mr r3, r26
/* 802091C0 00206120 7F 64 DB 78 */ mr r4, r27
/* 802091C4 00206124 48 14 BF 8D */ bl sub_80355150
lbl_802091C8:
/* 802091C8 00206128 38 61 00 50 */ addi r3, r1, 0x50
/* 802091CC 0020612C 38 80 00 00 */ li r4, 0
/* 802091D0 00206130 48 13 7C 71 */ bl __dt__6CTokenFv
lbl_802091D4:
/* 802091D4 00206134 3B FF 00 08 */ addi r31, r31, 8
lbl_802091D8:
/* 802091D8 00206138 7C 1F E8 40 */ cmplw r31, r29
/* 802091DC 0020613C 40 82 FD 74 */ bne lbl_80208F50
/* 802091E0 00206140 3B DE 00 01 */ addi r30, r30, 1
/* 802091E4 00206144 2C 1E 00 02 */ cmpwi r30, 2
/* 802091E8 00206148 41 80 FD 60 */ blt lbl_80208F48
/* 802091EC 0020614C 38 00 00 00 */ li r0, 0
/* 802091F0 00206150 38 61 00 A0 */ addi r3, r1, 0xa0
/* 802091F4 00206154 90 0D A8 70 */ stw r0, lbl_805A9430@sda21(r13)
/* 802091F8 00206158 38 80 FF FF */ li r4, -1
/* 802091FC 0020615C 48 00 26 AD */ bl sub_8020b8a8
/* 80209200 00206160 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80209204 00206164 80 61 00 7C */ lwz r3, 0x7c(r1)
/* 80209208 00206168 54 00 18 38 */ slwi r0, r0, 3
/* 8020920C 0020616C 7C 03 02 14 */ add r0, r3, r0
/* 80209210 00206170 90 61 00 0C */ stw r3, 0xc(r1)
/* 80209214 00206174 7C 64 1B 78 */ mr r4, r3
/* 80209218 00206178 90 01 00 14 */ stw r0, 0x14(r1)
/* 8020921C 0020617C 90 01 00 10 */ stw r0, 0x10(r1)
/* 80209220 00206180 90 61 00 08 */ stw r3, 8(r1)
/* 80209224 00206184 48 00 00 08 */ b lbl_8020922C
lbl_80209228:
/* 80209228 00206188 38 84 00 08 */ addi r4, r4, 8
lbl_8020922C:
/* 8020922C 0020618C 7C 04 00 40 */ cmplw r4, r0
/* 80209230 00206190 40 82 FF F8 */ bne lbl_80209228
/* 80209234 00206194 28 03 00 00 */ cmplwi r3, 0
/* 80209238 00206198 41 82 00 08 */ beq lbl_80209240
/* 8020923C 0020619C 48 10 C6 F5 */ bl Free__7CMemoryFPCv
lbl_80209240:
/* 80209240 002061A0 BB 41 00 B8 */ lmw r26, 0xb8(r1)
/* 80209244 002061A4 38 60 00 01 */ li r3, 1
/* 80209248 002061A8 80 01 00 D4 */ lwz r0, 0xd4(r1)
/* 8020924C 002061AC 7C 08 03 A6 */ mtlr r0
/* 80209250 002061B0 38 21 00 D0 */ addi r1, r1, 0xd0
/* 80209254 002061B4 4E 80 00 20 */ blr
.global StartTextFadeOut__18CWorldTransManagerFv
StartTextFadeOut__18CWorldTransManagerFv:
/* 80209258 002061B8 88 03 00 44 */ lbz r0, 0x44(r3)
/* 8020925C 002061BC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 80209260 002061C0 40 82 00 0C */ bne lbl_8020926C
/* 80209264 002061C4 C0 03 00 00 */ lfs f0, 0(r3)
/* 80209268 002061C8 D0 03 00 34 */ stfs f0, 0x34(r3)
lbl_8020926C:
/* 8020926C 002061CC 88 03 00 44 */ lbz r0, 0x44(r3)
/* 80209270 002061D0 38 80 00 01 */ li r4, 1
/* 80209274 002061D4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19
/* 80209278 002061D8 98 03 00 44 */ stb r0, 0x44(r3)
/* 8020927C 002061DC 4E 80 00 20 */ blr
.global DrawText__18CWorldTransManagerCFv
DrawText__18CWorldTransManagerCFv:
/* 80209280 002061E0 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 80209284 002061E4 7C 08 02 A6 */ mflr r0
/* 80209288 002061E8 90 01 00 84 */ stw r0, 0x84(r1)
/* 8020928C 002061EC DB E1 00 70 */ stfd f31, 0x70(r1)
/* 80209290 002061F0 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0
/* 80209294 002061F4 DB C1 00 60 */ stfd f30, 0x60(r1)
/* 80209298 002061F8 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0
/* 8020929C 002061FC 93 E1 00 5C */ stw r31, 0x5c(r1)
/* 802092A0 00206200 80 8D A0 68 */ lwz r4, gpRender@sda21(r13)
/* 802092A4 00206204 7C 7F 1B 78 */ mr r31, r3
/* 802092A8 00206208 38 61 00 14 */ addi r3, r1, 0x14
/* 802092AC 0020620C C0 22 B1 20 */ lfs f1, lbl_805ACE40@sda21(r2)
/* 802092B0 00206210 81 84 00 00 */ lwz r12, 0(r4)
/* 802092B4 00206214 38 A0 00 00 */ li r5, 0
/* 802092B8 00206218 C0 42 B1 24 */ lfs f2, lbl_805ACE44@sda21(r2)
/* 802092BC 0020621C 81 8C 00 54 */ lwz r12, 0x54(r12)
/* 802092C0 00206220 7D 89 03 A6 */ mtctr r12
/* 802092C4 00206224 4E 80 04 21 */ bctrl
/* 802092C8 00206228 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2)
/* 802092CC 0020622C 38 61 00 24 */ addi r3, r1, 0x24
/* 802092D0 00206230 C0 62 B1 2C */ lfs f3, lbl_805ACE4C@sda21(r2)
/* 802092D4 00206234 FC 40 08 90 */ fmr f2, f1
/* 802092D8 00206238 48 10 9E B1 */ bl Translate__12CTransform4fFfff
/* 802092DC 0020623C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 802092E0 00206240 38 81 00 24 */ addi r4, r1, 0x24
/* 802092E4 00206244 81 83 00 00 */ lwz r12, 0(r3)
/* 802092E8 00206248 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 802092EC 0020624C 7D 89 03 A6 */ mtctr r12
/* 802092F0 00206250 4E 80 04 21 */ bctrl
/* 802092F4 00206254 38 60 00 00 */ li r3, 0
/* 802092F8 00206258 48 10 27 79 */ bl SetCullMode__9CGraphicsF12ERglCullMode
/* 802092FC 0020625C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80209300 00206260 38 80 00 00 */ li r4, 0
/* 80209304 00206264 38 A0 00 00 */ li r5, 0
/* 80209308 00206268 81 83 00 00 */ lwz r12, 0(r3)
/* 8020930C 0020626C 81 8C 00 60 */ lwz r12, 0x60(r12)
/* 80209310 00206270 7D 89 03 A6 */ mtctr r12
/* 80209314 00206274 4E 80 04 21 */ bctrl
/* 80209318 00206278 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 8020931C 0020627C 81 83 00 00 */ lwz r12, 0(r3)
/* 80209320 00206280 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80209324 00206284 7D 89 03 A6 */ mtctr r12
/* 80209328 00206288 4E 80 04 21 */ bctrl
/* 8020932C 0020628C 80 7F 00 08 */ lwz r3, 8(r31)
/* 80209330 00206290 48 0C 02 15 */ bl Render__15CGuiTextSupportFv
/* 80209334 00206294 C0 5F 00 00 */ lfs f2, 0(r31)
/* 80209338 00206298 C0 02 B1 30 */ lfs f0, lbl_805ACE50@sda21(r2)
/* 8020933C 0020629C C3 C2 B1 28 */ lfs f30, lbl_805ACE48@sda21(r2)
/* 80209340 002062A0 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80209344 002062A4 40 80 00 2C */ bge lbl_80209370
/* 80209348 002062A8 C0 0D 93 E8 */ lfs f0, lbl_805A7FA8@sda21(r13)
/* 8020934C 002062AC FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80209350 002062B0 40 80 00 0C */ bge lbl_8020935C
/* 80209354 002062B4 7F E3 FB 78 */ mr r3, r31
/* 80209358 002062B8 48 00 00 08 */ b lbl_80209360
lbl_8020935C:
/* 8020935C 002062BC 38 6D 93 E8 */ addi r3, r13, lbl_805A7FA8@sda21
lbl_80209360:
/* 80209360 002062C0 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2)
/* 80209364 002062C4 C0 03 00 00 */ lfs f0, 0(r3)
/* 80209368 002062C8 EF C1 00 28 */ fsubs f30, f1, f0
/* 8020936C 002062CC 48 00 00 38 */ b lbl_802093A4
lbl_80209370:
/* 80209370 002062D0 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 80209374 002062D4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 80209378 002062D8 41 82 00 2C */ beq lbl_802093A4
/* 8020937C 002062DC C0 3F 00 34 */ lfs f1, 0x34(r31)
/* 80209380 002062E0 C0 0D 93 EC */ lfs f0, lbl_805A7FAC@sda21(r13)
/* 80209384 002062E4 EC 22 08 28 */ fsubs f1, f2, f1
/* 80209388 002062E8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8020938C 002062EC D0 21 00 0C */ stfs f1, 0xc(r1)
/* 80209390 002062F0 40 80 00 0C */ bge lbl_8020939C
/* 80209394 002062F4 38 61 00 0C */ addi r3, r1, 0xc
/* 80209398 002062F8 48 00 00 08 */ b lbl_802093A0
lbl_8020939C:
/* 8020939C 002062FC 38 6D 93 EC */ addi r3, r13, lbl_805A7FAC@sda21
lbl_802093A0:
/* 802093A0 00206300 C3 C3 00 00 */ lfs f30, 0(r3)
lbl_802093A4:
/* 802093A4 00206304 C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2)
/* 802093A8 00206308 FC 1E 00 40 */ fcmpo cr0, f30, f0
/* 802093AC 0020630C 40 81 00 50 */ ble lbl_802093FC
/* 802093B0 00206310 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 802093B4 00206314 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f
/* 802093B8 00206318 41 82 00 0C */ beq lbl_802093C4
/* 802093BC 0020631C 48 14 0B F1 */ bl White__6CColorFv
/* 802093C0 00206320 48 00 00 08 */ b lbl_802093C8
lbl_802093C4:
/* 802093C4 00206324 48 14 0B F1 */ bl Black__6CColorFv
lbl_802093C8:
/* 802093C8 00206328 C0 02 B1 34 */ lfs f0, lbl_805ACE54@sda21(r2)
/* 802093CC 0020632C EF E0 07 B2 */ fmuls f31, f0, f30
/* 802093D0 00206330 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 802093D4 00206334 38 A1 00 10 */ addi r5, r1, 0x10
/* 802093D8 00206338 80 E3 00 00 */ lwz r7, 0(r3)
/* 802093DC 0020633C 38 60 00 05 */ li r3, 5
/* 802093E0 00206340 88 01 00 08 */ lbz r0, 8(r1)
/* 802093E4 00206344 38 80 00 00 */ li r4, 0
/* 802093E8 00206348 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17
/* 802093EC 0020634C C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2)
/* 802093F0 00206350 90 01 00 10 */ stw r0, 0x10(r1)
/* 802093F4 00206354 38 C0 00 00 */ li r6, 0
/* 802093F8 00206358 4B EE 2D 51 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef
lbl_802093FC:
/* 802093FC 0020635C 38 60 00 01 */ li r3, 1
/* 80209400 00206360 48 10 00 A9 */ bl SetIsBeginSceneClearFb__9CGraphicsFb
/* 80209404 00206364 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0
/* 80209408 00206368 CB E1 00 70 */ lfd f31, 0x70(r1)
/* 8020940C 0020636C E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0
/* 80209410 00206370 CB C1 00 60 */ lfd f30, 0x60(r1)
/* 80209414 00206374 80 01 00 84 */ lwz r0, 0x84(r1)
/* 80209418 00206378 83 E1 00 5C */ lwz r31, 0x5c(r1)
/* 8020941C 0020637C 7C 08 03 A6 */ mtlr r0
/* 80209420 00206380 38 21 00 80 */ addi r1, r1, 0x80
/* 80209424 00206384 4E 80 00 20 */ blr
.global UpdateText__18CWorldTransManagerFf
UpdateText__18CWorldTransManagerFf:
/* 80209428 00206388 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8020942C 0020638C 7C 08 02 A6 */ mflr r0
/* 80209430 00206390 90 01 00 44 */ stw r0, 0x44(r1)
/* 80209434 00206394 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 80209438 00206398 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 8020943C 0020639C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80209440 002063A0 88 03 00 44 */ lbz r0, 0x44(r3)
/* 80209444 002063A4 FF E0 08 90 */ fmr f31, f1
/* 80209448 002063A8 7C 7F 1B 78 */ mr r31, r3
/* 8020944C 002063AC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 80209450 002063B0 41 82 00 C0 */ beq lbl_80209510
/* 80209454 002063B4 38 61 00 10 */ addi r3, r1, 0x10
/* 80209458 002063B8 38 9F 00 0C */ addi r4, r31, 0xc
/* 8020945C 002063BC 48 13 7A 4D */ bl __ct__6CTokenFRC6CToken
/* 80209460 002063C0 80 61 00 10 */ lwz r3, 0x10(r1)
/* 80209464 002063C4 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80209468 002063C8 28 00 00 00 */ cmplwi r0, 0
/* 8020946C 002063CC 41 82 00 7C */ beq lbl_802094E8
/* 80209470 002063D0 38 61 00 10 */ addi r3, r1, 0x10
/* 80209474 002063D4 48 13 79 99 */ bl GetObj__6CTokenFv
/* 80209478 002063D8 80 63 00 04 */ lwz r3, 4(r3)
/* 8020947C 002063DC 80 9F 00 40 */ lwz r4, 0x40(r31)
/* 80209480 002063E0 80 03 00 00 */ lwz r0, 0(r3)
/* 80209484 002063E4 7C 04 00 00 */ cmpw r4, r0
/* 80209488 002063E8 40 80 00 44 */ bge lbl_802094CC
/* 8020948C 002063EC 38 61 00 10 */ addi r3, r1, 0x10
/* 80209490 002063F0 48 13 79 7D */ bl GetObj__6CTokenFv
/* 80209494 002063F4 80 63 00 04 */ lwz r3, 4(r3)
/* 80209498 002063F8 80 9F 00 40 */ lwz r4, 0x40(r31)
/* 8020949C 002063FC 48 14 D2 61 */ bl GetString__12CStringTableCFi
/* 802094A0 00206400 7C 64 1B 78 */ mr r4, r3
/* 802094A4 00206404 38 61 00 18 */ addi r3, r1, 0x18
/* 802094A8 00206408 38 C1 00 08 */ addi r6, r1, 8
/* 802094AC 0020640C 38 A0 FF FF */ li r5, -1
/* 802094B0 00206410 48 13 43 0D */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator"
/* 802094B4 00206414 80 7F 00 08 */ lwz r3, 8(r31)
/* 802094B8 00206418 38 81 00 18 */ addi r4, r1, 0x18
/* 802094BC 0020641C 38 A0 00 00 */ li r5, 0
/* 802094C0 00206420 48 0C 03 C5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 802094C4 00206424 38 61 00 18 */ addi r3, r1, 0x18
/* 802094C8 00206428 48 13 3C 6D */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
lbl_802094CC:
/* 802094CC 0020642C C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2)
/* 802094D0 00206430 38 60 00 00 */ li r3, 0
/* 802094D4 00206434 D0 1F 00 3C */ stfs f0, 0x3c(r31)
/* 802094D8 00206438 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 802094DC 0020643C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 802094E0 00206440 98 1F 00 44 */ stb r0, 0x44(r31)
/* 802094E4 00206444 48 00 00 20 */ b lbl_80209504
lbl_802094E8:
/* 802094E8 00206448 C0 3F 00 00 */ lfs f1, 0(r31)
/* 802094EC 0020644C C0 1F 00 38 */ lfs f0, 0x38(r31)
/* 802094F0 00206450 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802094F4 00206454 4C 41 13 82 */ cror 2, 1, 2
/* 802094F8 00206458 40 82 00 0C */ bne lbl_80209504
/* 802094FC 0020645C EC 00 F8 2A */ fadds f0, f0, f31
/* 80209500 00206460 D0 1F 00 38 */ stfs f0, 0x38(r31)
lbl_80209504:
/* 80209504 00206464 38 61 00 10 */ addi r3, r1, 0x10
/* 80209508 00206468 38 80 00 00 */ li r4, 0
/* 8020950C 0020646C 48 13 79 35 */ bl __dt__6CTokenFv
lbl_80209510:
/* 80209510 00206470 C0 3F 00 00 */ lfs f1, 0(r31)
/* 80209514 00206474 C0 1F 00 38 */ lfs f0, 0x38(r31)
/* 80209518 00206478 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8020951C 0020647C 4C 41 13 82 */ cror 2, 1, 2
/* 80209520 00206480 40 82 00 5C */ bne lbl_8020957C
/* 80209524 00206484 FC 20 F8 90 */ fmr f1, f31
/* 80209528 00206488 80 7F 00 08 */ lwz r3, 8(r31)
/* 8020952C 0020648C 48 0B EC 4D */ bl Update__15CGuiTextSupportFf
/* 80209530 00206490 80 7F 00 08 */ lwz r3, 8(r31)
/* 80209534 00206494 48 0B EA E1 */ bl GetNumCharactersPrinted__15CGuiTextSupportCFv
/* 80209538 00206498 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13)
/* 8020953C 0020649C C0 1F 00 3C */ lfs f0, 0x3c(r31)
/* 80209540 002064A0 C0 43 02 78 */ lfs f2, 0x278(r3)
/* 80209544 002064A4 EC 00 10 2A */ fadds f0, f0, f2
/* 80209548 002064A8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8020954C 002064AC 4C 41 13 82 */ cror 2, 1, 2
/* 80209550 002064B0 40 82 00 2C */ bne lbl_8020957C
/* 80209554 002064B4 D0 1F 00 3C */ stfs f0, 0x3c(r31)
/* 80209558 002064B8 38 61 00 0C */ addi r3, r1, 0xc
/* 8020955C 002064BC A9 02 C5 FA */ lha r8, kMedPriority__11CSfxManager@sda21(r2)
/* 80209560 002064C0 38 80 05 9E */ li r4, 0x59e
/* 80209564 002064C4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 80209568 002064C8 38 A0 00 7F */ li r5, 0x7f
/* 8020956C 002064CC 38 C0 00 40 */ li r6, 0x40
/* 80209570 002064D0 38 E0 00 00 */ li r7, 0
/* 80209574 002064D4 39 20 00 00 */ li r9, 0
/* 80209578 002064D8 48 0E 07 FD */ bl SfxStart__11CSfxManagerFUsssbsbi
lbl_8020957C:
/* 8020957C 002064DC 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 80209580 002064E0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 80209584 002064E4 41 82 00 50 */ beq lbl_802095D4
/* 80209588 002064E8 80 7F 00 08 */ lwz r3, 8(r31)
/* 8020958C 002064EC C3 E3 00 3C */ lfs f31, 0x3c(r3)
/* 80209590 002064F0 48 0B EB 19 */ bl GetTotalAnimationTime__15CGuiTextSupportCFv
/* 80209594 002064F4 C0 42 B1 30 */ lfs f2, lbl_805ACE50@sda21(r2)
/* 80209598 002064F8 EC 02 08 2A */ fadds f0, f2, f1
/* 8020959C 002064FC FC 00 F8 40 */ fcmpo cr0, f0, f31
/* 802095A0 00206500 40 80 00 2C */ bge lbl_802095CC
/* 802095A4 00206504 C0 3F 00 00 */ lfs f1, 0(r31)
/* 802095A8 00206508 C0 1F 00 34 */ lfs f0, 0x34(r31)
/* 802095AC 0020650C EC 01 00 28 */ fsubs f0, f1, f0
/* 802095B0 00206510 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 802095B4 00206514 40 81 00 20 */ ble lbl_802095D4
/* 802095B8 00206518 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 802095BC 0020651C 38 60 00 01 */ li r3, 1
/* 802095C0 00206520 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 802095C4 00206524 98 1F 00 44 */ stb r0, 0x44(r31)
/* 802095C8 00206528 48 00 00 0C */ b lbl_802095D4
lbl_802095CC:
/* 802095CC 0020652C C0 1F 00 00 */ lfs f0, 0(r31)
/* 802095D0 00206530 D0 1F 00 34 */ stfs f0, 0x34(r31)
lbl_802095D4:
/* 802095D4 00206534 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 802095D8 00206538 80 01 00 44 */ lwz r0, 0x44(r1)
/* 802095DC 0020653C CB E1 00 30 */ lfd f31, 0x30(r1)
/* 802095E0 00206540 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 802095E4 00206544 7C 08 03 A6 */ mtlr r0
/* 802095E8 00206548 38 21 00 40 */ addi r1, r1, 0x40
/* 802095EC 0020654C 4E 80 00 20 */ blr
.global EnableTransition__18CWorldTransManagerFviibbfff
EnableTransition__18CWorldTransManagerFviibbfff:
/* 802095F0 00206550 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 802095F4 00206554 7C 08 02 A6 */ mflr r0
/* 802095F8 00206558 90 01 00 84 */ stw r0, 0x84(r1)
/* 802095FC 0020655C 38 00 00 02 */ li r0, 2
/* 80209600 00206560 DB E1 00 78 */ stfd f31, 0x78(r1)
/* 80209604 00206564 FF E0 10 90 */ fmr f31, f2
/* 80209608 00206568 DB C1 00 70 */ stfd f30, 0x70(r1)
/* 8020960C 0020656C FF C0 08 90 */ fmr f30, f1
/* 80209610 00206570 BF 21 00 54 */ stmw r25, 0x54(r1)
/* 80209614 00206574 7C 9E 23 78 */ mr r30, r4
/* 80209618 00206578 7C 7D 1B 78 */ mr r29, r3
/* 8020961C 0020657C 7C BF 2B 78 */ mr r31, r5
/* 80209620 00206580 7C F9 3B 78 */ mr r25, r7
/* 80209624 00206584 38 80 00 00 */ li r4, 0
/* 80209628 00206588 90 C3 00 40 */ stw r6, 0x40(r3)
/* 8020962C 0020658C 38 60 00 00 */ li r3, 0
/* 80209630 00206590 D0 7D 00 38 */ stfs f3, 0x38(r29)
/* 80209634 00206594 88 BD 00 44 */ lbz r5, 0x44(r29)
/* 80209638 00206598 50 65 36 72 */ rlwimi r5, r3, 6, 0x19, 0x19
/* 8020963C 0020659C 38 7D 00 04 */ addi r3, r29, 4
/* 80209640 002065A0 98 BD 00 44 */ stb r5, 0x44(r29)
/* 80209644 002065A4 90 1D 00 30 */ stw r0, 0x30(r29)
/* 80209648 002065A8 48 00 01 89 */ bl sub_802097d0
/* 8020964C 002065AC 88 1D 00 44 */ lbz r0, 0x44(r29)
/* 80209650 002065B0 53 20 26 F6 */ rlwimi r0, r25, 4, 0x1b, 0x1b
/* 80209654 002065B4 3C 60 80 3D */ lis r3, lbl_803D2768@ha
/* 80209658 002065B8 38 A0 00 00 */ li r5, 0
/* 8020965C 002065BC 98 1D 00 44 */ stb r0, 0x44(r29)
/* 80209660 002065C0 38 83 27 68 */ addi r4, r3, lbl_803D2768@l
/* 80209664 002065C4 38 60 03 0C */ li r3, 0x30c
/* 80209668 002065C8 48 10 C2 05 */ bl __nw__FUlPCcPCc
/* 8020966C 002065CC 7C 79 1B 79 */ or. r25, r3, r3
/* 80209670 002065D0 41 82 00 68 */ beq lbl_802096D8
/* 80209674 002065D4 48 14 09 39 */ bl White__6CColorFv
/* 80209678 002065D8 7C 7A 1B 78 */ mr r26, r3
/* 8020967C 002065DC 48 14 09 39 */ bl Black__6CColorFv
/* 80209680 002065E0 7C 7B 1B 78 */ mr r27, r3
/* 80209684 002065E4 48 14 09 29 */ bl White__6CColorFv
/* 80209688 002065E8 7C 7C 1B 78 */ mr r28, r3
/* 8020968C 002065EC 38 61 00 38 */ addi r3, r1, 0x38
/* 80209690 002065F0 38 80 00 00 */ li r4, 0
/* 80209694 002065F4 38 A0 00 01 */ li r5, 1
/* 80209698 002065F8 38 C0 00 01 */ li r6, 1
/* 8020969C 002065FC 38 E0 00 01 */ li r7, 1
/* 802096A0 00206600 39 00 00 00 */ li r8, 0
/* 802096A4 00206604 48 0C 09 A1 */ bl __ct__18CGuiTextPropertiesFv
/* 802096A8 00206608 80 0D A0 64 */ lwz r0, gpSimplePool@sda21(r13)
/* 802096AC 0020660C 7C 65 1B 78 */ mr r5, r3
/* 802096B0 00206610 7F 23 CB 78 */ mr r3, r25
/* 802096B4 00206614 7F C4 F3 78 */ mr r4, r30
/* 802096B8 00206618 90 01 00 08 */ stw r0, 8(r1)
/* 802096BC 0020661C 7F 86 E3 78 */ mr r6, r28
/* 802096C0 00206620 7F 67 DB 78 */ mr r7, r27
/* 802096C4 00206624 7F 48 D3 78 */ mr r8, r26
/* 802096C8 00206628 39 20 02 80 */ li r9, 0x280
/* 802096CC 0020662C 39 40 01 C0 */ li r10, 0x1c0
/* 802096D0 00206630 48 0C 07 6D */ bl __ct__15CGuiTextSupportFv
/* 802096D4 00206634 7C 79 1B 78 */ mr r25, r3
lbl_802096D8:
/* 802096D8 00206638 80 7D 00 08 */ lwz r3, 8(r29)
/* 802096DC 0020663C 38 80 00 01 */ li r4, 1
/* 802096E0 00206640 48 0C 05 B9 */ bl __dt__15CGuiTextSupportFv
/* 802096E4 00206644 93 3D 00 08 */ stw r25, 8(r29)
/* 802096E8 00206648 FC 20 F0 90 */ fmr f1, f30
/* 802096EC 0020664C FC 40 F8 90 */ fmr f2, f31
/* 802096F0 00206650 38 80 00 01 */ li r4, 1
/* 802096F4 00206654 80 7D 00 08 */ lwz r3, 8(r29)
/* 802096F8 00206658 48 0B EA 21 */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff
/* 802096FC 0020665C 3C 60 53 54 */ lis r3, 0x53545247@ha
/* 80209700 00206660 93 E1 00 24 */ stw r31, 0x24(r1)
/* 80209704 00206664 38 03 52 47 */ addi r0, r3, 0x53545247@l
/* 80209708 00206668 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8020970C 0020666C 90 01 00 20 */ stw r0, 0x20(r1)
/* 80209710 00206670 38 61 00 18 */ addi r3, r1, 0x18
/* 80209714 00206674 38 A1 00 20 */ addi r5, r1, 0x20
/* 80209718 00206678 81 84 00 00 */ lwz r12, 0(r4)
/* 8020971C 0020667C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80209720 00206680 7D 89 03 A6 */ mtctr r12
/* 80209724 00206684 4E 80 04 21 */ bctrl
/* 80209728 00206688 38 61 00 10 */ addi r3, r1, 0x10
/* 8020972C 0020668C 38 81 00 18 */ addi r4, r1, 0x18
/* 80209730 00206690 48 13 77 79 */ bl __ct__6CTokenFRC6CToken
/* 80209734 00206694 88 1D 00 14 */ lbz r0, 0x14(r29)
/* 80209738 00206698 28 00 00 00 */ cmplwi r0, 0
/* 8020973C 0020669C 40 82 00 20 */ bne lbl_8020975C
/* 80209740 002066A0 34 7D 00 0C */ addic. r3, r29, 0xc
/* 80209744 002066A4 41 82 00 0C */ beq lbl_80209750
/* 80209748 002066A8 38 81 00 10 */ addi r4, r1, 0x10
/* 8020974C 002066AC 48 13 77 5D */ bl __ct__6CTokenFRC6CToken
lbl_80209750:
/* 80209750 002066B0 38 00 00 01 */ li r0, 1
/* 80209754 002066B4 98 1D 00 14 */ stb r0, 0x14(r29)
/* 80209758 002066B8 48 00 00 10 */ b lbl_80209768
lbl_8020975C:
/* 8020975C 002066BC 38 7D 00 0C */ addi r3, r29, 0xc
/* 80209760 002066C0 38 81 00 10 */ addi r4, r1, 0x10
/* 80209764 002066C4 48 13 75 61 */ bl __as__6CTokenFRC6CToken
lbl_80209768:
/* 80209768 002066C8 38 61 00 10 */ addi r3, r1, 0x10
/* 8020976C 002066CC 38 80 00 00 */ li r4, 0
/* 80209770 002066D0 48 13 76 D1 */ bl __dt__6CTokenFv
/* 80209774 002066D4 38 61 00 18 */ addi r3, r1, 0x18
/* 80209778 002066D8 38 80 FF FF */ li r4, -1
/* 8020977C 002066DC 48 13 76 C5 */ bl __dt__6CTokenFv
/* 80209780 002066E0 38 7D 00 0C */ addi r3, r29, 0xc
/* 80209784 002066E4 48 13 76 01 */ bl Lock__6CTokenFv
/* 80209788 002066E8 38 61 00 28 */ addi r3, r1, 0x28
/* 8020978C 002066EC 38 8D 93 F0 */ addi r4, r13, lbl_805A7FB0@sda21
/* 80209790 002066F0 4B E0 C2 61 */ bl wstring_l__4rstlFPCw
/* 80209794 002066F4 80 7D 00 08 */ lwz r3, 8(r29)
/* 80209798 002066F8 38 81 00 28 */ addi r4, r1, 0x28
/* 8020979C 002066FC 38 A0 00 00 */ li r5, 0
/* 802097A0 00206700 48 0C 00 E5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 802097A4 00206704 38 61 00 28 */ addi r3, r1, 0x28
/* 802097A8 00206708 48 13 39 8D */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 802097AC 0020670C 7F A3 EB 78 */ mr r3, r29
/* 802097B0 00206710 48 00 13 C9 */ bl StartTransition__18CWorldTransManagerFv
/* 802097B4 00206714 CB E1 00 78 */ lfd f31, 0x78(r1)
/* 802097B8 00206718 CB C1 00 70 */ lfd f30, 0x70(r1)
/* 802097BC 0020671C BB 21 00 54 */ lmw r25, 0x54(r1)
/* 802097C0 00206720 80 01 00 84 */ lwz r0, 0x84(r1)
/* 802097C4 00206724 7C 08 03 A6 */ mtlr r0
/* 802097C8 00206728 38 21 00 80 */ addi r1, r1, 0x80
/* 802097CC 0020672C 4E 80 00 20 */ blr
.global sub_802097d0
sub_802097d0:
/* 802097D0 00206730 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802097D4 00206734 7C 08 02 A6 */ mflr r0
/* 802097D8 00206738 90 01 00 14 */ stw r0, 0x14(r1)
/* 802097DC 0020673C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802097E0 00206740 7C 9F 23 78 */ mr r31, r4
/* 802097E4 00206744 38 80 00 01 */ li r4, 1
/* 802097E8 00206748 93 C1 00 08 */ stw r30, 8(r1)
/* 802097EC 0020674C 7C 7E 1B 78 */ mr r30, r3
/* 802097F0 00206750 80 63 00 00 */ lwz r3, 0(r3)
/* 802097F4 00206754 48 00 00 25 */ bl __dt__Q218CWorldTransManager11SModelDatasFv
/* 802097F8 00206758 93 FE 00 00 */ stw r31, 0(r30)
/* 802097FC 0020675C 7F C3 F3 78 */ mr r3, r30
/* 80209800 00206760 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80209804 00206764 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80209808 00206768 83 C1 00 08 */ lwz r30, 8(r1)
/* 8020980C 0020676C 7C 08 03 A6 */ mtlr r0
/* 80209810 00206770 38 21 00 10 */ addi r1, r1, 0x10
/* 80209814 00206774 4E 80 00 20 */ blr
.global __dt__Q218CWorldTransManager11SModelDatasFv
__dt__Q218CWorldTransManager11SModelDatasFv:
/* 80209818 00206778 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8020981C 0020677C 7C 08 02 A6 */ mflr r0
/* 80209820 00206780 90 01 00 24 */ stw r0, 0x24(r1)
/* 80209824 00206784 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80209828 00206788 7C 9F 23 78 */ mr r31, r4
/* 8020982C 0020678C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80209830 00206790 7C 7E 1B 79 */ or. r30, r3, r3
/* 80209834 00206794 41 82 01 14 */ beq lbl_80209948
/* 80209838 00206798 34 1E 01 B0 */ addic. r0, r30, 0x1b0
/* 8020983C 0020679C 41 82 00 0C */ beq lbl_80209848
/* 80209840 002067A0 80 7E 01 B0 */ lwz r3, 0x1b0(r30)
/* 80209844 002067A4 48 10 C0 ED */ bl Free__7CMemoryFPCv
lbl_80209848:
/* 80209848 002067A8 34 1E 01 A0 */ addic. r0, r30, 0x1a0
/* 8020984C 002067AC 41 82 00 44 */ beq lbl_80209890
/* 80209850 002067B0 80 1E 01 A4 */ lwz r0, 0x1a4(r30)
/* 80209854 002067B4 80 7E 01 AC */ lwz r3, 0x1ac(r30)
/* 80209858 002067B8 1C 00 00 50 */ mulli r0, r0, 0x50
/* 8020985C 002067BC 90 61 00 0C */ stw r3, 0xc(r1)
/* 80209860 002067C0 7C 64 1B 78 */ mr r4, r3
/* 80209864 002067C4 7C 03 02 14 */ add r0, r3, r0
/* 80209868 002067C8 90 61 00 08 */ stw r3, 8(r1)
/* 8020986C 002067CC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80209870 002067D0 90 01 00 10 */ stw r0, 0x10(r1)
/* 80209874 002067D4 48 00 00 08 */ b lbl_8020987C
lbl_80209878:
/* 80209878 002067D8 38 84 00 50 */ addi r4, r4, 0x50
lbl_8020987C:
/* 8020987C 002067DC 7C 04 00 40 */ cmplw r4, r0
/* 80209880 002067E0 40 82 FF F8 */ bne lbl_80209878
/* 80209884 002067E4 28 03 00 00 */ cmplwi r3, 0
/* 80209888 002067E8 41 82 00 08 */ beq lbl_80209890
/* 8020988C 002067EC 48 10 C0 A5 */ bl Free__7CMemoryFPCv
lbl_80209890:
/* 80209890 002067F0 34 1E 01 64 */ addic. r0, r30, 0x164
/* 80209894 002067F4 41 82 00 24 */ beq lbl_802098B8
/* 80209898 002067F8 88 1E 01 6C */ lbz r0, 0x16c(r30)
/* 8020989C 002067FC 28 00 00 00 */ cmplwi r0, 0
/* 802098A0 00206800 41 82 00 10 */ beq lbl_802098B0
/* 802098A4 00206804 38 7E 01 64 */ addi r3, r30, 0x164
/* 802098A8 00206808 38 80 FF FF */ li r4, -1
/* 802098AC 0020680C 48 13 75 95 */ bl __dt__6CTokenFv
lbl_802098B0:
/* 802098B0 00206810 38 00 00 00 */ li r0, 0
/* 802098B4 00206814 98 1E 01 6C */ stb r0, 0x16c(r30)
lbl_802098B8:
/* 802098B8 00206818 34 1E 01 58 */ addic. r0, r30, 0x158
/* 802098BC 0020681C 41 82 00 24 */ beq lbl_802098E0
/* 802098C0 00206820 88 1E 01 60 */ lbz r0, 0x160(r30)
/* 802098C4 00206824 28 00 00 00 */ cmplwi r0, 0
/* 802098C8 00206828 41 82 00 10 */ beq lbl_802098D8
/* 802098CC 0020682C 38 7E 01 58 */ addi r3, r30, 0x158
/* 802098D0 00206830 38 80 FF FF */ li r4, -1
/* 802098D4 00206834 48 13 75 6D */ bl __dt__6CTokenFv
lbl_802098D8:
/* 802098D8 00206838 38 00 00 00 */ li r0, 0
/* 802098DC 0020683C 98 1E 01 60 */ stb r0, 0x160(r30)
lbl_802098E0:
/* 802098E0 00206840 34 1E 01 4C */ addic. r0, r30, 0x14c
/* 802098E4 00206844 41 82 00 24 */ beq lbl_80209908
/* 802098E8 00206848 88 1E 01 54 */ lbz r0, 0x154(r30)
/* 802098EC 0020684C 28 00 00 00 */ cmplwi r0, 0
/* 802098F0 00206850 41 82 00 10 */ beq lbl_80209900
/* 802098F4 00206854 38 7E 01 4C */ addi r3, r30, 0x14c
/* 802098F8 00206858 38 80 FF FF */ li r4, -1
/* 802098FC 0020685C 48 13 75 45 */ bl __dt__6CTokenFv
lbl_80209900:
/* 80209900 00206860 38 00 00 00 */ li r0, 0
/* 80209904 00206864 98 1E 01 54 */ stb r0, 0x154(r30)
lbl_80209908:
/* 80209908 00206868 38 7E 01 00 */ addi r3, r30, 0x100
/* 8020990C 0020686C 38 80 FF FF */ li r4, -1
/* 80209910 00206870 4B F0 D1 3D */ bl __dt__10CModelDataFv
/* 80209914 00206874 38 7E 00 B4 */ addi r3, r30, 0xb4
/* 80209918 00206878 38 80 FF FF */ li r4, -1
/* 8020991C 0020687C 4B F0 D1 31 */ bl __dt__10CModelDataFv
/* 80209920 00206880 38 7E 00 68 */ addi r3, r30, 0x68
/* 80209924 00206884 38 80 FF FF */ li r4, -1
/* 80209928 00206888 4B F0 D1 25 */ bl __dt__10CModelDataFv
/* 8020992C 0020688C 38 7E 00 1C */ addi r3, r30, 0x1c
/* 80209930 00206890 38 80 FF FF */ li r4, -1
/* 80209934 00206894 4B F0 D1 19 */ bl __dt__10CModelDataFv
/* 80209938 00206898 7F E0 07 35 */ extsh. r0, r31
/* 8020993C 0020689C 40 81 00 0C */ ble lbl_80209948
/* 80209940 002068A0 7F C3 F3 78 */ mr r3, r30
/* 80209944 002068A4 48 10 BF ED */ bl Free__7CMemoryFPCv
lbl_80209948:
/* 80209948 002068A8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8020994C 002068AC 7F C3 F3 78 */ mr r3, r30
/* 80209950 002068B0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80209954 002068B4 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80209958 002068B8 7C 08 03 A6 */ mtlr r0
/* 8020995C 002068BC 38 21 00 20 */ addi r1, r1, 0x20
/* 80209960 002068C0 4E 80 00 20 */ blr
.global sub_80209964
sub_80209964:
/* 80209964 002068C4 B0 83 00 24 */ sth r4, 0x24(r3)
/* 80209968 002068C8 98 A3 00 2C */ stb r5, 0x2c(r3)
/* 8020996C 002068CC 98 C3 00 2D */ stb r6, 0x2d(r3)
/* 80209970 002068D0 4E 80 00 20 */ blr
.global sub_80209974
sub_80209974:
/* 80209974 002068D4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80209978 002068D8 7C 08 02 A6 */ mflr r0
/* 8020997C 002068DC 90 01 00 24 */ stw r0, 0x24(r1)
/* 80209980 002068E0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80209984 002068E4 7C 7F 1B 78 */ mr r31, r3
/* 80209988 002068E8 80 03 00 28 */ lwz r0, 0x28(r3)
/* 8020998C 002068EC 28 00 00 00 */ cmplwi r0, 0
/* 80209990 002068F0 41 82 00 1C */ beq lbl_802099AC
/* 80209994 002068F4 80 1F 00 28 */ lwz r0, 0x28(r31)
/* 80209998 002068F8 38 61 00 08 */ addi r3, r1, 8
/* 8020999C 002068FC 90 01 00 08 */ stw r0, 8(r1)
/* 802099A0 00206900 48 0E 03 A9 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle
/* 802099A4 00206904 38 00 00 00 */ li r0, 0
/* 802099A8 00206908 90 1F 00 28 */ stw r0, 0x28(r31)
lbl_802099AC:
/* 802099AC 0020690C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802099B0 00206910 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 802099B4 00206914 7C 08 03 A6 */ mtlr r0
/* 802099B8 00206918 38 21 00 20 */ addi r1, r1, 0x20
/* 802099BC 0020691C 4E 80 00 20 */ blr
.global sub_802099c0
sub_802099c0:
/* 802099C0 00206920 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802099C4 00206924 7C 08 02 A6 */ mflr r0
/* 802099C8 00206928 90 01 00 24 */ stw r0, 0x24(r1)
/* 802099CC 0020692C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 802099D0 00206930 7C 7F 1B 78 */ mr r31, r3
/* 802099D4 00206934 80 03 00 28 */ lwz r0, 0x28(r3)
/* 802099D8 00206938 28 00 00 00 */ cmplwi r0, 0
/* 802099DC 0020693C 40 82 00 3C */ bne lbl_80209A18
/* 802099E0 00206940 A0 9F 00 24 */ lhz r4, 0x24(r31)
/* 802099E4 00206944 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2)
/* 802099E8 00206948 7C 04 00 40 */ cmplw r4, r0
/* 802099EC 0020694C 41 82 00 2C */ beq lbl_80209A18
/* 802099F0 00206950 88 BF 00 2C */ lbz r5, 0x2c(r31)
/* 802099F4 00206954 38 61 00 08 */ addi r3, r1, 8
/* 802099F8 00206958 88 DF 00 2D */ lbz r6, 0x2d(r31)
/* 802099FC 0020695C 38 E0 00 00 */ li r7, 0
/* 80209A00 00206960 A9 02 C5 FA */ lha r8, kMedPriority__11CSfxManager@sda21(r2)
/* 80209A04 00206964 39 20 00 01 */ li r9, 1
/* 80209A08 00206968 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 80209A0C 0020696C 48 0E 03 69 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 80209A10 00206970 80 01 00 08 */ lwz r0, 8(r1)
/* 80209A14 00206974 90 1F 00 28 */ stw r0, 0x28(r31)
lbl_80209A18:
/* 80209A18 00206978 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80209A1C 0020697C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80209A20 00206980 7C 08 03 A6 */ mtlr r0
/* 80209A24 00206984 38 21 00 20 */ addi r1, r1, 0x20
/* 80209A28 00206988 4E 80 00 20 */ blr
.global DrawDisabled__18CWorldTransManagerCFv
DrawDisabled__18CWorldTransManagerCFv:
/* 80209A2C 0020698C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80209A30 00206990 7C 08 02 A6 */ mflr r0
/* 80209A34 00206994 38 E0 00 00 */ li r7, 0
/* 80209A38 00206998 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2)
/* 80209A3C 0020699C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80209A40 002069A0 38 00 00 03 */ li r0, 3
/* 80209A44 002069A4 38 A1 00 0C */ addi r5, r1, 0xc
/* 80209A48 002069A8 38 60 00 05 */ li r3, 5
/* 80209A4C 002069AC 98 E1 00 08 */ stb r7, 8(r1)
/* 80209A50 002069B0 38 80 00 00 */ li r4, 0
/* 80209A54 002069B4 38 C0 00 00 */ li r6, 0
/* 80209A58 002069B8 98 E1 00 09 */ stb r7, 9(r1)
/* 80209A5C 002069BC 98 E1 00 0A */ stb r7, 0xa(r1)
/* 80209A60 002069C0 98 01 00 0B */ stb r0, 0xb(r1)
/* 80209A64 002069C4 80 01 00 08 */ lwz r0, 8(r1)
/* 80209A68 002069C8 90 01 00 0C */ stw r0, 0xc(r1)
/* 80209A6C 002069CC 4B EE 26 DD */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef
/* 80209A70 002069D0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80209A74 002069D4 7C 08 03 A6 */ mtlr r0
/* 80209A78 002069D8 38 21 00 10 */ addi r1, r1, 0x10
/* 80209A7C 002069DC 4E 80 00 20 */ blr
.global DrawEnabled__18CWorldTransManagerCFv
DrawEnabled__18CWorldTransManagerCFv:
/* 80209A80 002069E0 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 80209A84 002069E4 7C 08 02 A6 */ mflr r0
/* 80209A88 002069E8 90 01 00 84 */ stw r0, 0x84(r1)
/* 80209A8C 002069EC DB E1 00 70 */ stfd f31, 0x70(r1)
/* 80209A90 002069F0 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0
/* 80209A94 002069F4 DB C1 00 60 */ stfd f30, 0x60(r1)
/* 80209A98 002069F8 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0
/* 80209A9C 002069FC BF 41 00 48 */ stmw r26, 0x48(r1)
/* 80209AA0 00206A00 7C 7D 1B 78 */ mr r29, r3
/* 80209AA4 00206A04 80 03 00 04 */ lwz r0, 4(r3)
/* 80209AA8 00206A08 28 00 00 00 */ cmplwi r0, 0
/* 80209AAC 00206A0C 41 82 04 58 */ beq lbl_80209F04
/* 80209AB0 00206A10 4B E0 26 21 */ bl DefaultFirstPersonFov__14CCameraManagerFv
/* 80209AB4 00206A14 FF E0 08 90 */ fmr f31, f1
/* 80209AB8 00206A18 4B E0 26 11 */ bl DefaultNearPlane__14CCameraManagerFv
/* 80209ABC 00206A1C FF C0 08 90 */ fmr f30, f1
/* 80209AC0 00206A20 4B E0 26 01 */ bl DefaultFarPlane__14CCameraManagerFv
/* 80209AC4 00206A24 3C 60 80 3F */ lis r3, mViewport__9CGraphics@ha
/* 80209AC8 00206A28 3C 80 43 30 */ lis r4, 0x4330
/* 80209ACC 00206A2C 3B C3 D9 10 */ addi r30, r3, mViewport__9CGraphics@l
/* 80209AD0 00206A30 FC 00 08 90 */ fmr f0, f1
/* 80209AD4 00206A34 80 7E 00 08 */ lwz r3, 8(r30)
/* 80209AD8 00206A38 FC 20 F8 90 */ fmr f1, f31
/* 80209ADC 00206A3C 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 80209AE0 00206A40 FC 60 F0 90 */ fmr f3, f30
/* 80209AE4 00206A44 6C 65 80 00 */ xoris r5, r3, 0x8000
/* 80209AE8 00206A48 90 81 00 18 */ stw r4, 0x18(r1)
/* 80209AEC 00206A4C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80209AF0 00206A50 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80209AF4 00206A54 FC 80 00 90 */ fmr f4, f0
/* 80209AF8 00206A58 90 A1 00 1C */ stw r5, 0x1c(r1)
/* 80209AFC 00206A5C C8 A2 B1 40 */ lfd f5, lbl_805ACE60@sda21(r2)
/* 80209B00 00206A60 C8 01 00 18 */ lfd f0, 0x18(r1)
/* 80209B04 00206A64 90 01 00 24 */ stw r0, 0x24(r1)
/* 80209B08 00206A68 EC 40 28 28 */ fsubs f2, f0, f5
/* 80209B0C 00206A6C 81 83 00 00 */ lwz r12, 0(r3)
/* 80209B10 00206A70 90 81 00 20 */ stw r4, 0x20(r1)
/* 80209B14 00206A74 81 8C 00 50 */ lwz r12, 0x50(r12)
/* 80209B18 00206A78 C8 01 00 20 */ lfd f0, 0x20(r1)
/* 80209B1C 00206A7C EC 00 28 28 */ fsubs f0, f0, f5
/* 80209B20 00206A80 EC 42 00 24 */ fdivs f2, f2, f0
/* 80209B24 00206A84 7D 89 03 A6 */ mtctr r12
/* 80209B28 00206A88 4E 80 04 21 */ bctrl
/* 80209B2C 00206A8C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80209B30 00206A90 38 80 00 01 */ li r4, 1
/* 80209B34 00206A94 88 03 03 18 */ lbz r0, 0x318(r3)
/* 80209B38 00206A98 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 80209B3C 00206A9C 98 03 03 18 */ stb r0, 0x318(r3)
/* 80209B40 00206AA0 80 7D 00 04 */ lwz r3, 4(r29)
/* 80209B44 00206AA4 C0 5D 00 00 */ lfs f2, 0(r29)
/* 80209B48 00206AA8 C0 23 01 D0 */ lfs f1, 0x1d0(r3)
/* 80209B4C 00206AAC FC 02 08 40 */ fcmpo cr0, f2, f1
/* 80209B50 00206AB0 4C 40 13 82 */ cror 2, 0, 2
/* 80209B54 00206AB4 40 82 00 10 */ bne lbl_80209B64
/* 80209B58 00206AB8 7F A3 EB 78 */ mr r3, r29
/* 80209B5C 00206ABC 48 00 04 C5 */ bl DrawFirstPass__18CWorldTransManagerCFv
/* 80209B60 00206AC0 48 00 02 F4 */ b lbl_80209E54
lbl_80209B64:
/* 80209B64 00206AC4 C0 03 01 D4 */ lfs f0, 0x1d4(r3)
/* 80209B68 00206AC8 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 80209B6C 00206ACC 4C 41 13 82 */ cror 2, 1, 2
/* 80209B70 00206AD0 40 82 00 10 */ bne lbl_80209B80
/* 80209B74 00206AD4 7F A3 EB 78 */ mr r3, r29
/* 80209B78 00206AD8 48 00 03 B1 */ bl DrawSecondPass__18CWorldTransManagerCFv
/* 80209B7C 00206ADC 48 00 02 D8 */ b lbl_80209E54
lbl_80209B80:
/* 80209B80 00206AE0 EC 22 08 28 */ fsubs f1, f2, f1
/* 80209B84 00206AE4 C0 02 B1 38 */ lfs f0, lbl_805ACE58@sda21(r2)
/* 80209B88 00206AE8 38 81 00 10 */ addi r4, r1, 0x10
/* 80209B8C 00206AEC 38 6D 93 E0 */ addi r3, r13, lbl_805A7FA0@sda21
/* 80209B90 00206AF0 38 AD 93 E4 */ addi r5, r13, lbl_805A7FA4@sda21
/* 80209B94 00206AF4 EC 01 00 32 */ fmuls f0, f1, f0
/* 80209B98 00206AF8 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80209B9C 00206AFC 4B E0 27 19 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80209BA0 00206B00 C0 23 00 00 */ lfs f1, 0(r3)
/* 80209BA4 00206B04 3C 60 80 3F */ lis r3, mViewport__9CGraphics@ha
/* 80209BA8 00206B08 C0 02 B1 30 */ lfs f0, lbl_805ACE50@sda21(r2)
/* 80209BAC 00206B0C 38 A3 D9 10 */ addi r5, r3, mViewport__9CGraphics@l
/* 80209BB0 00206B10 80 9D 00 04 */ lwz r4, 4(r29)
/* 80209BB4 00206B14 7F A3 EB 78 */ mr r3, r29
/* 80209BB8 00206B18 EF C0 08 28 */ fsubs f30, f0, f1
/* 80209BBC 00206B1C 83 85 00 00 */ lwz r28, 0(r5)
/* 80209BC0 00206B20 83 65 00 04 */ lwz r27, 4(r5)
/* 80209BC4 00206B24 83 FE 00 08 */ lwz r31, 8(r30)
/* 80209BC8 00206B28 EF DE 07 B2 */ fmuls f30, f30, f30
/* 80209BCC 00206B2C 83 DE 00 0C */ lwz r30, 0xc(r30)
/* 80209BD0 00206B30 83 44 01 B0 */ lwz r26, 0x1b0(r4)
/* 80209BD4 00206B34 48 00 04 4D */ bl DrawFirstPass__18CWorldTransManagerCFv
/* 80209BD8 00206B38 38 60 00 01 */ li r3, 1
/* 80209BDC 00206B3C 38 80 00 03 */ li r4, 3
/* 80209BE0 00206B40 38 A0 00 01 */ li r5, 1
/* 80209BE4 00206B44 48 0F EC 99 */ bl SetZMode__3CGXFb10_GXCompareb
/* 80209BE8 00206B48 57 E3 04 3E */ clrlwi r3, r31, 0x10
/* 80209BEC 00206B4C 57 C4 04 3E */ clrlwi r4, r30, 0x10
/* 80209BF0 00206B50 38 A0 00 04 */ li r5, 4
/* 80209BF4 00206B54 38 C0 00 00 */ li r6, 0
/* 80209BF8 00206B58 48 16 F2 89 */ bl GXSetTexCopyDst
/* 80209BFC 00206B5C 57 83 04 3E */ clrlwi r3, r28, 0x10
/* 80209C00 00206B60 57 64 04 3E */ clrlwi r4, r27, 0x10
/* 80209C04 00206B64 57 E5 04 3E */ clrlwi r5, r31, 0x10
/* 80209C08 00206B68 57 C6 04 3E */ clrlwi r6, r30, 0x10
/* 80209C0C 00206B6C 48 16 F1 A9 */ bl GXSetTexCopySrc
/* 80209C10 00206B70 7F 43 D3 78 */ mr r3, r26
/* 80209C14 00206B74 38 80 00 01 */ li r4, 1
/* 80209C18 00206B78 48 16 F9 1D */ bl GXCopyTex
/* 80209C1C 00206B7C 7F A3 EB 78 */ mr r3, r29
/* 80209C20 00206B80 48 00 03 09 */ bl DrawSecondPass__18CWorldTransManagerCFv
/* 80209C24 00206B84 3C 60 43 30 */ lis r3, 0x4330
/* 80209C28 00206B88 6F E4 80 00 */ xoris r4, r31, 0x8000
/* 80209C2C 00206B8C 6F C0 80 00 */ xoris r0, r30, 0x8000
/* 80209C30 00206B90 90 81 00 24 */ stw r4, 0x24(r1)
/* 80209C34 00206B94 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2)
/* 80209C38 00206B98 90 61 00 20 */ stw r3, 0x20(r1)
/* 80209C3C 00206B9C C8 82 B1 40 */ lfd f4, lbl_805ACE60@sda21(r2)
/* 80209C40 00206BA0 FC 60 08 90 */ fmr f3, f1
/* 80209C44 00206BA4 C8 01 00 20 */ lfd f0, 0x20(r1)
/* 80209C48 00206BA8 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80209C4C 00206BAC EC 40 20 28 */ fsubs f2, f0, f4
/* 80209C50 00206BB0 C0 A2 B1 20 */ lfs f5, lbl_805ACE40@sda21(r2)
/* 80209C54 00206BB4 90 61 00 18 */ stw r3, 0x18(r1)
/* 80209C58 00206BB8 C0 C2 B1 24 */ lfs f6, lbl_805ACE44@sda21(r2)
/* 80209C5C 00206BBC C8 01 00 18 */ lfd f0, 0x18(r1)
/* 80209C60 00206BC0 EC 80 20 28 */ fsubs f4, f0, f4
/* 80209C64 00206BC4 48 10 28 F1 */ bl SetOrtho__9CGraphicsFffffff
/* 80209C68 00206BC8 3C 60 80 5A */ lis r3, sIdentity__12CTransform4f@ha
/* 80209C6C 00206BCC 38 63 66 70 */ addi r3, r3, sIdentity__12CTransform4f@l
/* 80209C70 00206BD0 48 10 2A DD */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 80209C74 00206BD4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80209C78 00206BD8 3C 80 80 5A */ lis r4, sIdentity__12CTransform4f@ha
/* 80209C7C 00206BDC 38 84 66 70 */ addi r4, r4, sIdentity__12CTransform4f@l
/* 80209C80 00206BE0 81 83 00 00 */ lwz r12, 0(r3)
/* 80209C84 00206BE4 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 80209C88 00206BE8 7D 89 03 A6 */ mtctr r12
/* 80209C8C 00206BEC 4E 80 04 21 */ bctrl
/* 80209C90 00206BF0 48 16 E8 D5 */ bl GXPixModeSync
/* 80209C94 00206BF4 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2)
/* 80209C98 00206BF8 7F E3 FB 78 */ mr r3, r31
/* 80209C9C 00206BFC 7F C4 F3 78 */ mr r4, r30
/* 80209CA0 00206C00 7F 46 D3 78 */ mr r6, r26
/* 80209CA4 00206C04 38 A0 00 04 */ li r5, 4
/* 80209CA8 00206C08 48 10 03 79 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID
/* 80209CAC 00206C0C 3C 60 80 3D */ lis r3, lbl_803D2750@ha
/* 80209CB0 00206C10 38 63 27 50 */ addi r3, r3, lbl_803D2750@l
/* 80209CB4 00206C14 48 0F E1 75 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList
/* 80209CB8 00206C18 38 60 00 01 */ li r3, 1
/* 80209CBC 00206C1C 38 80 00 04 */ li r4, 4
/* 80209CC0 00206C20 38 A0 00 05 */ li r5, 5
/* 80209CC4 00206C24 38 C0 00 00 */ li r6, 0
/* 80209CC8 00206C28 48 0F EC 09 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp
/* 80209CCC 00206C2C C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2)
/* 80209CD0 00206C30 FC 80 F0 90 */ fmr f4, f30
/* 80209CD4 00206C34 38 61 00 08 */ addi r3, r1, 8
/* 80209CD8 00206C38 FC 40 08 90 */ fmr f2, f1
/* 80209CDC 00206C3C FC 60 08 90 */ fmr f3, f1
/* 80209CE0 00206C40 48 15 97 0D */ bl __ct__6CColorFffff
/* 80209CE4 00206C44 80 03 00 00 */ lwz r0, 0(r3)
/* 80209CE8 00206C48 38 81 00 0C */ addi r4, r1, 0xc
/* 80209CEC 00206C4C 38 60 00 01 */ li r3, 1
/* 80209CF0 00206C50 90 01 00 0C */ stw r0, 0xc(r1)
/* 80209CF4 00206C54 48 17 19 09 */ bl GXSetTevColor
/* 80209CF8 00206C58 38 60 00 00 */ li r3, 0
/* 80209CFC 00206C5C 38 80 00 0F */ li r4, 0xf
/* 80209D00 00206C60 38 A0 00 0F */ li r5, 0xf
/* 80209D04 00206C64 38 C0 00 0F */ li r6, 0xf
/* 80209D08 00206C68 38 E0 00 08 */ li r7, 8
/* 80209D0C 00206C6C 48 0F EE E1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg
/* 80209D10 00206C70 38 60 00 00 */ li r3, 0
/* 80209D14 00206C74 38 80 00 07 */ li r4, 7
/* 80209D18 00206C78 38 A0 00 07 */ li r5, 7
/* 80209D1C 00206C7C 38 C0 00 07 */ li r6, 7
/* 80209D20 00206C80 38 E0 00 01 */ li r7, 1
/* 80209D24 00206C84 48 0F EE 71 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg
/* 80209D28 00206C88 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2)
/* 80209D2C 00206C8C 38 60 00 00 */ li r3, 0
/* 80209D30 00206C90 38 80 00 00 */ li r4, 0
/* 80209D34 00206C94 38 C0 00 FF */ li r6, 0xff
/* 80209D38 00206C98 48 0F EC 15 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID
/* 80209D3C 00206C9C 38 60 00 00 */ li r3, 0
/* 80209D40 00206CA0 38 80 00 01 */ li r4, 1
/* 80209D44 00206CA4 38 A0 00 04 */ li r5, 4
/* 80209D48 00206CA8 38 C0 00 3C */ li r6, 0x3c
/* 80209D4C 00206CAC 38 E0 00 00 */ li r7, 0
/* 80209D50 00206CB0 39 00 00 7D */ li r8, 0x7d
/* 80209D54 00206CB4 48 0F E9 79 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx
/* 80209D58 00206CB8 38 60 00 01 */ li r3, 1
/* 80209D5C 00206CBC 48 0F F0 B9 */ bl SetNumTexGens__3CGXFUc
/* 80209D60 00206CC0 38 60 00 01 */ li r3, 1
/* 80209D64 00206CC4 48 0F EF 2D */ bl SetNumTevStages__3CGXFUc
/* 80209D68 00206CC8 38 60 00 00 */ li r3, 0
/* 80209D6C 00206CCC 48 0F F0 E5 */ bl SetNumChans__3CGXFUc
/* 80209D70 00206CD0 38 60 00 00 */ li r3, 0
/* 80209D74 00206CD4 48 0F E9 D1 */ bl SetTevDirect__3CGXF13_GXTevStageID
/* 80209D78 00206CD8 38 60 00 00 */ li r3, 0
/* 80209D7C 00206CDC 48 0F E9 15 */ bl SetNumIndStages__3CGXFUc
/* 80209D80 00206CE0 38 60 00 00 */ li r3, 0
/* 80209D84 00206CE4 38 80 00 07 */ li r4, 7
/* 80209D88 00206CE8 38 A0 00 00 */ li r5, 0
/* 80209D8C 00206CEC 48 0F EA F1 */ bl SetZMode__3CGXFb10_GXCompareb
/* 80209D90 00206CF0 38 60 00 A0 */ li r3, 0xa0
/* 80209D94 00206CF4 38 80 00 00 */ li r4, 0
/* 80209D98 00206CF8 38 A0 00 04 */ li r5, 4
/* 80209D9C 00206CFC 48 0F E7 E9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs
/* 80209DA0 00206D00 C0 A2 B1 28 */ lfs f5, lbl_805ACE48@sda21(r2)
/* 80209DA4 00206D04 3C 60 43 30 */ lis r3, 0x4330
/* 80209DA8 00206D08 3C A0 CC 01 */ lis r5, 0xCC008000@ha
/* 80209DAC 00206D0C 6F C4 80 00 */ xoris r4, r30, 0x8000
/* 80209DB0 00206D10 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5)
/* 80209DB4 00206D14 6F E0 80 00 */ xoris r0, r31, 0x8000
/* 80209DB8 00206D18 C0 82 B1 38 */ lfs f4, lbl_805ACE58@sda21(r2)
/* 80209DBC 00206D1C 90 81 00 2C */ stw r4, 0x2c(r1)
/* 80209DC0 00206D20 C8 62 B1 40 */ lfd f3, lbl_805ACE60@sda21(r2)
/* 80209DC4 00206D24 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5)
/* 80209DC8 00206D28 C0 42 B1 30 */ lfs f2, lbl_805ACE50@sda21(r2)
/* 80209DCC 00206D2C D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5)
/* 80209DD0 00206D30 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5)
/* 80209DD4 00206D34 90 61 00 28 */ stw r3, 0x28(r1)
/* 80209DD8 00206D38 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5)
/* 80209DDC 00206D3C C8 01 00 28 */ lfd f0, 0x28(r1)
/* 80209DE0 00206D40 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5)
/* 80209DE4 00206D44 EC 00 18 28 */ fsubs f0, f0, f3
/* 80209DE8 00206D48 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5)
/* 80209DEC 00206D4C D0 05 80 00 */ stfs f0, 0xCC008000@l(r5)
/* 80209DF0 00206D50 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5)
/* 80209DF4 00206D54 90 01 00 34 */ stw r0, 0x34(r1)
/* 80209DF8 00206D58 90 61 00 30 */ stw r3, 0x30(r1)
/* 80209DFC 00206D5C C8 01 00 30 */ lfd f0, 0x30(r1)
/* 80209E00 00206D60 90 81 00 3C */ stw r4, 0x3c(r1)
/* 80209E04 00206D64 EC 20 18 28 */ fsubs f1, f0, f3
/* 80209E08 00206D68 90 61 00 38 */ stw r3, 0x38(r1)
/* 80209E0C 00206D6C D0 45 80 00 */ stfs f2, 0xCC008000@l(r5)
/* 80209E10 00206D70 C8 01 00 38 */ lfd f0, 0x38(r1)
/* 80209E14 00206D74 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5)
/* 80209E18 00206D78 EC 00 18 28 */ fsubs f0, f0, f3
/* 80209E1C 00206D7C D0 85 80 00 */ stfs f4, 0xCC008000@l(r5)
/* 80209E20 00206D80 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5)
/* 80209E24 00206D84 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5)
/* 80209E28 00206D88 90 01 00 44 */ stw r0, 0x44(r1)
/* 80209E2C 00206D8C 90 61 00 40 */ stw r3, 0x40(r1)
/* 80209E30 00206D90 C8 01 00 40 */ lfd f0, 0x40(r1)
/* 80209E34 00206D94 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5)
/* 80209E38 00206D98 EC 00 18 28 */ fsubs f0, f0, f3
/* 80209E3C 00206D9C D0 05 80 00 */ stfs f0, 0xCC008000@l(r5)
/* 80209E40 00206DA0 D0 85 80 00 */ stfs f4, 0xCC008000@l(r5)
/* 80209E44 00206DA4 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5)
/* 80209E48 00206DA8 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5)
/* 80209E4C 00206DAC D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5)
/* 80209E50 00206DB0 48 0F E7 31 */ bl End__3CGXFv
lbl_80209E54:
/* 80209E54 00206DB4 48 14 01 61 */ bl Black__6CColorFv
/* 80209E58 00206DB8 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2)
/* 80209E5C 00206DBC 7C 65 1B 78 */ mr r5, r3
/* 80209E60 00206DC0 38 60 00 01 */ li r3, 1
/* 80209E64 00206DC4 38 80 00 04 */ li r4, 4
/* 80209E68 00206DC8 38 C0 00 00 */ li r6, 0
/* 80209E6C 00206DCC 4B EE 22 DD */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef
/* 80209E70 00206DD0 C0 7D 00 00 */ lfs f3, 0(r29)
/* 80209E74 00206DD4 C0 42 B1 3C */ lfs f2, lbl_805ACE5C@sda21(r2)
/* 80209E78 00206DD8 C0 82 B1 28 */ lfs f4, lbl_805ACE48@sda21(r2)
/* 80209E7C 00206DDC FC 03 10 40 */ fcmpo cr0, f3, f2
/* 80209E80 00206DE0 40 80 00 14 */ bge lbl_80209E94
/* 80209E84 00206DE4 EC 03 10 24 */ fdivs f0, f3, f2
/* 80209E88 00206DE8 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2)
/* 80209E8C 00206DEC EC 81 00 28 */ fsubs f4, f1, f0
/* 80209E90 00206DF0 48 00 00 38 */ b lbl_80209EC8
lbl_80209E94:
/* 80209E94 00206DF4 80 7D 00 04 */ lwz r3, 4(r29)
/* 80209E98 00206DF8 C0 23 01 D8 */ lfs f1, 0x1d8(r3)
/* 80209E9C 00206DFC FC 03 08 40 */ fcmpo cr0, f3, f1
/* 80209EA0 00206E00 40 81 00 0C */ ble lbl_80209EAC
/* 80209EA4 00206E04 C0 82 B1 30 */ lfs f4, lbl_805ACE50@sda21(r2)
/* 80209EA8 00206E08 48 00 00 20 */ b lbl_80209EC8
lbl_80209EAC:
/* 80209EAC 00206E0C EC 01 10 28 */ fsubs f0, f1, f2
/* 80209EB0 00206E10 FC 03 00 40 */ fcmpo cr0, f3, f0
/* 80209EB4 00206E14 40 81 00 14 */ ble lbl_80209EC8
/* 80209EB8 00206E18 EC 01 18 28 */ fsubs f0, f1, f3
/* 80209EBC 00206E1C C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2)
/* 80209EC0 00206E20 EC 00 10 24 */ fdivs f0, f0, f2
/* 80209EC4 00206E24 EC 81 00 28 */ fsubs f4, f1, f0
lbl_80209EC8:
/* 80209EC8 00206E28 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2)
/* 80209ECC 00206E2C FC 04 08 40 */ fcmpo cr0, f4, f1
/* 80209ED0 00206E30 40 81 00 2C */ ble lbl_80209EFC
/* 80209ED4 00206E34 FC 40 08 90 */ fmr f2, f1
/* 80209ED8 00206E38 38 61 00 14 */ addi r3, r1, 0x14
/* 80209EDC 00206E3C FC 60 08 90 */ fmr f3, f1
/* 80209EE0 00206E40 48 15 95 0D */ bl __ct__6CColorFffff
/* 80209EE4 00206E44 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2)
/* 80209EE8 00206E48 38 A1 00 14 */ addi r5, r1, 0x14
/* 80209EEC 00206E4C 38 60 00 05 */ li r3, 5
/* 80209EF0 00206E50 38 80 00 00 */ li r4, 0
/* 80209EF4 00206E54 38 C0 00 00 */ li r6, 0
/* 80209EF8 00206E58 4B EE 22 51 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef
lbl_80209EFC:
/* 80209EFC 00206E5C 38 60 00 01 */ li r3, 1
/* 80209F00 00206E60 48 0F F5 A9 */ bl SetIsBeginSceneClearFb__9CGraphicsFb
lbl_80209F04:
/* 80209F04 00206E64 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0
/* 80209F08 00206E68 CB E1 00 70 */ lfd f31, 0x70(r1)
/* 80209F0C 00206E6C E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0
/* 80209F10 00206E70 CB C1 00 60 */ lfd f30, 0x60(r1)
/* 80209F14 00206E74 BB 41 00 48 */ lmw r26, 0x48(r1)
/* 80209F18 00206E78 80 01 00 84 */ lwz r0, 0x84(r1)
/* 80209F1C 00206E7C 7C 08 03 A6 */ mtlr r0
/* 80209F20 00206E80 38 21 00 80 */ addi r1, r1, 0x80
/* 80209F24 00206E84 4E 80 00 20 */ blr
.global DrawSecondPass__18CWorldTransManagerCFv
DrawSecondPass__18CWorldTransManagerCFv:
/* 80209F28 00206E88 94 21 FF 10 */ stwu r1, -0xf0(r1)
/* 80209F2C 00206E8C 7C 08 02 A6 */ mflr r0
/* 80209F30 00206E90 C0 62 B1 48 */ lfs f3, lbl_805ACE68@sda21(r2)
/* 80209F34 00206E94 90 01 00 F4 */ stw r0, 0xf4(r1)
/* 80209F38 00206E98 38 81 00 08 */ addi r4, r1, 8
/* 80209F3C 00206E9C C0 02 B1 4C */ lfs f0, lbl_805ACE6C@sda21(r2)
/* 80209F40 00206EA0 93 E1 00 EC */ stw r31, 0xec(r1)
/* 80209F44 00206EA4 7C 7F 1B 78 */ mr r31, r3
/* 80209F48 00206EA8 80 A3 00 04 */ lwz r5, 4(r3)
/* 80209F4C 00206EAC C0 43 00 00 */ lfs f2, 0(r3)
/* 80209F50 00206EB0 38 6D 93 D8 */ addi r3, r13, lbl_805A7F98@sda21
/* 80209F54 00206EB4 C0 25 01 D0 */ lfs f1, 0x1d0(r5)
/* 80209F58 00206EB8 38 AD 93 DC */ addi r5, r13, lbl_805A7F9C@sda21
/* 80209F5C 00206EBC EC 22 08 28 */ fsubs f1, f2, f1
/* 80209F60 00206EC0 EC 23 08 2A */ fadds f1, f3, f1
/* 80209F64 00206EC4 EC 01 00 24 */ fdivs f0, f1, f0
/* 80209F68 00206EC8 D0 01 00 08 */ stfs f0, 8(r1)
/* 80209F6C 00206ECC 4B E0 23 49 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80209F70 00206ED0 C0 63 00 00 */ lfs f3, 0(r3)
/* 80209F74 00206ED4 38 61 00 1C */ addi r3, r1, 0x1c
/* 80209F78 00206ED8 C0 42 B1 58 */ lfs f2, lbl_805ACE78@sda21(r2)
/* 80209F7C 00206EDC 38 81 00 10 */ addi r4, r1, 0x10
/* 80209F80 00206EE0 C0 22 B1 54 */ lfs f1, lbl_805ACE74@sda21(r2)
/* 80209F84 00206EE4 C0 02 B1 5C */ lfs f0, lbl_805ACE7C@sda21(r2)
/* 80209F88 00206EE8 EC 22 08 FA */ fmadds f1, f2, f3, f1
/* 80209F8C 00206EEC C0 42 B1 50 */ lfs f2, lbl_805ACE70@sda21(r2)
/* 80209F90 00206EF0 80 BF 00 04 */ lwz r5, 4(r31)
/* 80209F94 00206EF4 C0 A2 B1 60 */ lfs f5, lbl_805ACE80@sda21(r2)
/* 80209F98 00206EF8 EC 01 00 28 */ fsubs f0, f1, f0
/* 80209F9C 00206EFC C0 62 B1 64 */ lfs f3, lbl_805ACE84@sda21(r2)
/* 80209FA0 00206F00 C0 22 B1 68 */ lfs f1, lbl_805ACE88@sda21(r2)
/* 80209FA4 00206F04 EC 02 00 32 */ fmuls f0, f2, f0
/* 80209FA8 00206F08 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 80209FAC 00206F0C C0 85 00 10 */ lfs f4, 0x10(r5)
/* 80209FB0 00206F10 C0 45 00 0C */ lfs f2, 0xc(r5)
/* 80209FB4 00206F14 C0 05 00 08 */ lfs f0, 8(r5)
/* 80209FB8 00206F18 EC 85 01 32 */ fmuls f4, f5, f4
/* 80209FBC 00206F1C EC 43 00 B2 */ fmuls f2, f3, f2
/* 80209FC0 00206F20 EC 01 00 32 */ fmuls f0, f1, f0
/* 80209FC4 00206F24 D0 81 00 18 */ stfs f4, 0x18(r1)
/* 80209FC8 00206F28 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 80209FCC 00206F2C D0 41 00 14 */ stfs f2, 0x14(r1)
/* 80209FD0 00206F30 48 10 91 71 */ bl Translate__12CTransform4fFRC9CVector3f
/* 80209FD4 00206F34 38 61 00 4C */ addi r3, r1, 0x4c
/* 80209FD8 00206F38 38 81 00 0C */ addi r4, r1, 0xc
/* 80209FDC 00206F3C 48 10 98 35 */ bl RotateZ__12CTransform4fFRC9CRelAngle
/* 80209FE0 00206F40 38 61 00 7C */ addi r3, r1, 0x7c
/* 80209FE4 00206F44 38 81 00 4C */ addi r4, r1, 0x4c
/* 80209FE8 00206F48 38 A1 00 1C */ addi r5, r1, 0x1c
/* 80209FEC 00206F4C 48 10 89 65 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 80209FF0 00206F50 38 61 00 AC */ addi r3, r1, 0xac
/* 80209FF4 00206F54 38 81 00 7C */ addi r4, r1, 0x7c
/* 80209FF8 00206F58 48 10 8B 7D */ bl __ct__12CTransform4fFRC12CTransform4f
/* 80209FFC 00206F5C 38 61 00 AC */ addi r3, r1, 0xac
/* 8020A000 00206F60 48 10 27 4D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 8020A004 00206F64 7F E3 FB 78 */ mr r3, r31
/* 8020A008 00206F68 48 00 01 CD */ bl DrawAllModels__18CWorldTransManagerCFv
/* 8020A00C 00206F6C 80 01 00 F4 */ lwz r0, 0xf4(r1)
/* 8020A010 00206F70 83 E1 00 EC */ lwz r31, 0xec(r1)
/* 8020A014 00206F74 7C 08 03 A6 */ mtlr r0
/* 8020A018 00206F78 38 21 00 F0 */ addi r1, r1, 0xf0
/* 8020A01C 00206F7C 4E 80 00 20 */ blr
.global DrawFirstPass__18CWorldTransManagerCFv
DrawFirstPass__18CWorldTransManagerCFv:
/* 8020A020 00206F80 94 21 FE C0 */ stwu r1, -0x140(r1)
/* 8020A024 00206F84 7C 08 02 A6 */ mflr r0
/* 8020A028 00206F88 90 01 01 44 */ stw r0, 0x144(r1)
/* 8020A02C 00206F8C DB E1 01 30 */ stfd f31, 0x130(r1)
/* 8020A030 00206F90 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0
/* 8020A034 00206F94 93 E1 01 2C */ stw r31, 0x12c(r1)
/* 8020A038 00206F98 7C 7F 1B 78 */ mr r31, r3
/* 8020A03C 00206F9C C0 02 B1 6C */ lfs f0, lbl_805ACE8C@sda21(r2)
/* 8020A040 00206FA0 C0 23 00 00 */ lfs f1, 0(r3)
/* 8020A044 00206FA4 38 81 00 0C */ addi r4, r1, 0xc
/* 8020A048 00206FA8 38 6D 93 C8 */ addi r3, r13, lbl_805A7F88@sda21
/* 8020A04C 00206FAC 38 AD 93 CC */ addi r5, r13, lbl_805A7F8C@sda21
/* 8020A050 00206FB0 EC 01 00 24 */ fdivs f0, f1, f0
/* 8020A054 00206FB4 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 8020A058 00206FB8 4B E0 22 5D */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 8020A05C 00206FBC C0 3F 00 00 */ lfs f1, 0(r31)
/* 8020A060 00206FC0 38 81 00 08 */ addi r4, r1, 8
/* 8020A064 00206FC4 C0 02 B1 70 */ lfs f0, lbl_805ACE90@sda21(r2)
/* 8020A068 00206FC8 38 AD 93 D4 */ addi r5, r13, lbl_805A7F94@sda21
/* 8020A06C 00206FCC C3 E3 00 00 */ lfs f31, 0(r3)
/* 8020A070 00206FD0 38 6D 93 D0 */ addi r3, r13, lbl_805A7F90@sda21
/* 8020A074 00206FD4 EC 01 00 24 */ fdivs f0, f1, f0
/* 8020A078 00206FD8 D0 01 00 08 */ stfs f0, 8(r1)
/* 8020A07C 00206FDC 4B E0 22 39 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 8020A080 00206FE0 C0 22 B1 74 */ lfs f1, lbl_805ACE94@sda21(r2)
/* 8020A084 00206FE4 C0 02 B1 54 */ lfs f0, lbl_805ACE74@sda21(r2)
/* 8020A088 00206FE8 C0 63 00 00 */ lfs f3, 0(r3)
/* 8020A08C 00206FEC 38 61 00 30 */ addi r3, r1, 0x30
/* 8020A090 00206FF0 EC 41 07 FA */ fmadds f2, f1, f31, f0
/* 8020A094 00206FF4 C0 22 B1 78 */ lfs f1, lbl_805ACE98@sda21(r2)
/* 8020A098 00206FF8 C0 02 B1 30 */ lfs f0, lbl_805ACE50@sda21(r2)
/* 8020A09C 00206FFC C0 82 B1 50 */ lfs f4, lbl_805ACE70@sda21(r2)
/* 8020A0A0 00207000 EC 42 08 28 */ fsubs f2, f2, f1
/* 8020A0A4 00207004 80 9F 00 04 */ lwz r4, 4(r31)
/* 8020A0A8 00207008 EC 00 18 28 */ fsubs f0, f0, f3
/* 8020A0AC 0020700C C0 22 B1 7C */ lfs f1, lbl_805ACE9C@sda21(r2)
/* 8020A0B0 00207010 C0 62 B1 48 */ lfs f3, lbl_805ACE68@sda21(r2)
/* 8020A0B4 00207014 EC 84 00 B2 */ fmuls f4, f4, f2
/* 8020A0B8 00207018 EC 41 08 3A */ fmadds f2, f1, f0, f1
/* 8020A0BC 0020701C D0 81 00 10 */ stfs f4, 0x10(r1)
/* 8020A0C0 00207020 C0 04 01 B8 */ lfs f0, 0x1b8(r4)
/* 8020A0C4 00207024 C0 24 01 B4 */ lfs f1, 0x1b4(r4)
/* 8020A0C8 00207028 EC 63 00 2A */ fadds f3, f3, f0
/* 8020A0CC 0020702C 48 10 90 BD */ bl Translate__12CTransform4fFfff
/* 8020A0D0 00207030 38 61 00 60 */ addi r3, r1, 0x60
/* 8020A0D4 00207034 38 81 00 10 */ addi r4, r1, 0x10
/* 8020A0D8 00207038 48 10 97 39 */ bl RotateZ__12CTransform4fFRC9CRelAngle
/* 8020A0DC 0020703C 38 61 00 90 */ addi r3, r1, 0x90
/* 8020A0E0 00207040 38 81 00 60 */ addi r4, r1, 0x60
/* 8020A0E4 00207044 38 A1 00 30 */ addi r5, r1, 0x30
/* 8020A0E8 00207048 48 10 88 69 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 8020A0EC 0020704C 38 61 00 F4 */ addi r3, r1, 0xf4
/* 8020A0F0 00207050 38 81 00 90 */ addi r4, r1, 0x90
/* 8020A0F4 00207054 48 10 8A 81 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8020A0F8 00207058 38 61 00 F4 */ addi r3, r1, 0xf4
/* 8020A0FC 0020705C 48 10 26 51 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f
/* 8020A100 00207060 7F E3 FB 78 */ mr r3, r31
/* 8020A104 00207064 48 00 00 D1 */ bl DrawAllModels__18CWorldTransManagerCFv
/* 8020A108 00207068 80 7F 00 04 */ lwz r3, 4(r31)
/* 8020A10C 0020706C C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2)
/* 8020A110 00207070 C0 23 01 C8 */ lfs f1, 0x1c8(r3)
/* 8020A114 00207074 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8020A118 00207078 40 81 00 A0 */ ble lbl_8020A1B8
/* 8020A11C 0020707C 48 0F FD 41 */ bl GetProjectionState__9CGraphicsFv
/* 8020A120 00207080 88 03 00 00 */ lbz r0, 0(r3)
/* 8020A124 00207084 98 01 00 14 */ stb r0, 0x14(r1)
/* 8020A128 00207088 C0 03 00 04 */ lfs f0, 4(r3)
/* 8020A12C 0020708C D0 01 00 18 */ stfs f0, 0x18(r1)
/* 8020A130 00207090 C0 03 00 08 */ lfs f0, 8(r3)
/* 8020A134 00207094 D0 01 00 1C */ stfs f0, 0x1c(r1)
/* 8020A138 00207098 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 8020A13C 0020709C D0 01 00 20 */ stfs f0, 0x20(r1)
/* 8020A140 002070A0 C0 03 00 10 */ lfs f0, 0x10(r3)
/* 8020A144 002070A4 D0 01 00 24 */ stfs f0, 0x24(r1)
/* 8020A148 002070A8 C0 03 00 14 */ lfs f0, 0x14(r3)
/* 8020A14C 002070AC D0 01 00 28 */ stfs f0, 0x28(r1)
/* 8020A150 002070B0 C0 03 00 18 */ lfs f0, 0x18(r3)
/* 8020A154 002070B4 38 61 00 C0 */ addi r3, r1, 0xc0
/* 8020A158 002070B8 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8020A15C 002070BC 4B EE 1E E1 */ bl __ct__15CCameraBlurPassFv
/* 8020A160 002070C0 80 BF 00 04 */ lwz r5, 4(r31)
/* 8020A164 002070C4 38 61 00 C0 */ addi r3, r1, 0xc0
/* 8020A168 002070C8 C0 42 B1 28 */ lfs f2, lbl_805ACE48@sda21(r2)
/* 8020A16C 002070CC 38 80 00 01 */ li r4, 1
/* 8020A170 002070D0 C0 25 01 C8 */ lfs f1, 0x1c8(r5)
/* 8020A174 002070D4 38 A0 00 00 */ li r5, 0
/* 8020A178 002070D8 4B EE 18 2D */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb
/* 8020A17C 002070DC 38 61 00 C0 */ addi r3, r1, 0xc0
/* 8020A180 002070E0 4B EE 09 09 */ bl Draw__15CCameraBlurPassCFv
/* 8020A184 002070E4 38 61 00 14 */ addi r3, r1, 0x14
/* 8020A188 002070E8 48 0F FC 79 */ bl SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState
/* 8020A18C 002070EC 88 01 00 CC */ lbz r0, 0xcc(r1)
/* 8020A190 002070F0 28 00 00 00 */ cmplwi r0, 0
/* 8020A194 002070F4 41 82 00 1C */ beq lbl_8020A1B0
/* 8020A198 002070F8 34 61 00 C0 */ addic. r3, r1, 0xc0
/* 8020A19C 002070FC 41 82 00 14 */ beq lbl_8020A1B0
/* 8020A1A0 00207100 28 03 00 00 */ cmplwi r3, 0
/* 8020A1A4 00207104 41 82 00 0C */ beq lbl_8020A1B0
/* 8020A1A8 00207108 38 80 00 00 */ li r4, 0
/* 8020A1AC 0020710C 48 13 6C 95 */ bl __dt__6CTokenFv
lbl_8020A1B0:
/* 8020A1B0 00207110 38 00 00 00 */ li r0, 0
/* 8020A1B4 00207114 98 01 00 CC */ stb r0, 0xcc(r1)
lbl_8020A1B8:
/* 8020A1B8 00207118 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0
/* 8020A1BC 0020711C 80 01 01 44 */ lwz r0, 0x144(r1)
/* 8020A1C0 00207120 CB E1 01 30 */ lfd f31, 0x130(r1)
/* 8020A1C4 00207124 83 E1 01 2C */ lwz r31, 0x12c(r1)
/* 8020A1C8 00207128 7C 08 03 A6 */ mtlr r0
/* 8020A1CC 0020712C 38 21 01 40 */ addi r1, r1, 0x140
/* 8020A1D0 00207130 4E 80 00 20 */ blr
.global DrawAllModels__18CWorldTransManagerCFv
DrawAllModels__18CWorldTransManagerCFv:
/* 8020A1D4 00207134 94 21 FC 10 */ stwu r1, -0x3f0(r1)
/* 8020A1D8 00207138 7C 08 02 A6 */ mflr r0
/* 8020A1DC 0020713C 3C 80 80 5A */ lis r4, sZeroVector__9CVector3f@ha
/* 8020A1E0 00207140 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2)
/* 8020A1E4 00207144 90 01 03 F4 */ stw r0, 0x3f4(r1)
/* 8020A1E8 00207148 38 A1 00 3C */ addi r5, r1, 0x3c
/* 8020A1EC 0020714C 38 E0 00 04 */ li r7, 4
/* 8020A1F0 00207150 39 20 00 00 */ li r9, 0
/* 8020A1F4 00207154 93 E1 03 EC */ stw r31, 0x3ec(r1)
/* 8020A1F8 00207158 39 40 00 00 */ li r10, 0
/* 8020A1FC 0020715C 93 C1 03 E8 */ stw r30, 0x3e8(r1)
/* 8020A200 00207160 7C 7E 1B 78 */ mr r30, r3
/* 8020A204 00207164 84 C4 66 A0 */ lwzu r6, sZeroVector__9CVector3f@l(r4)
/* 8020A208 00207168 83 E3 00 04 */ lwz r31, 4(r3)
/* 8020A20C 0020716C 38 61 01 08 */ addi r3, r1, 0x108
/* 8020A210 00207170 81 04 00 04 */ lwz r8, 4(r4)
/* 8020A214 00207174 80 04 00 08 */ lwz r0, 8(r4)
/* 8020A218 00207178 38 80 00 00 */ li r4, 0
/* 8020A21C 0020717C 90 C1 00 3C */ stw r6, 0x3c(r1)
/* 8020A220 00207180 38 C0 00 04 */ li r6, 4
/* 8020A224 00207184 91 01 00 40 */ stw r8, 0x40(r1)
/* 8020A228 00207188 39 00 00 00 */ li r8, 0
/* 8020A22C 0020718C 90 01 00 44 */ stw r0, 0x44(r1)
/* 8020A230 00207190 4B EF AF 9D */ bl __ct__12CActorLightsFUi9CVector3fiif
/* 8020A234 00207194 C0 22 B1 80 */ lfs f1, lbl_805ACEA0@sda21(r2)
/* 8020A238 00207198 38 61 00 08 */ addi r3, r1, 8
/* 8020A23C 0020719C C0 82 B1 30 */ lfs f4, lbl_805ACE50@sda21(r2)
/* 8020A240 002071A0 FC 40 08 90 */ fmr f2, f1
/* 8020A244 002071A4 FC 60 08 90 */ fmr f3, f1
/* 8020A248 002071A8 48 15 91 A5 */ bl __ct__6CColorFffff
/* 8020A24C 002071AC 7C 65 1B 78 */ mr r5, r3
/* 8020A250 002071B0 38 61 01 08 */ addi r3, r1, 0x108
/* 8020A254 002071B4 38 9F 01 A0 */ addi r4, r31, 0x1a0
/* 8020A258 002071B8 4B EF 8E D5 */ bl "BuildFakeLightList__12CActorLightsFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CColor"
/* 8020A25C 002071BC 80 1F 01 10 */ lwz r0, 0x110(r31)
/* 8020A260 002071C0 38 60 00 00 */ li r3, 0
/* 8020A264 002071C4 28 00 00 00 */ cmplwi r0, 0
/* 8020A268 002071C8 40 82 00 14 */ bne lbl_8020A27C
/* 8020A26C 002071CC 88 1F 01 28 */ lbz r0, 0x128(r31)
/* 8020A270 002071D0 28 00 00 00 */ cmplwi r0, 0
/* 8020A274 002071D4 40 82 00 08 */ bne lbl_8020A27C
/* 8020A278 002071D8 38 60 00 01 */ li r3, 1
lbl_8020A27C:
/* 8020A27C 002071DC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8020A280 002071E0 40 82 01 20 */ bne lbl_8020A3A0
/* 8020A284 002071E4 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2)
/* 8020A288 002071E8 38 80 00 00 */ li r4, 0
/* 8020A28C 002071EC 38 00 00 03 */ li r0, 3
/* 8020A290 002071F0 98 81 00 34 */ stb r4, 0x34(r1)
/* 8020A294 002071F4 FC 40 08 90 */ fmr f2, f1
/* 8020A298 002071F8 38 61 00 38 */ addi r3, r1, 0x38
/* 8020A29C 002071FC FC 60 08 90 */ fmr f3, f1
/* 8020A2A0 00207200 98 81 00 35 */ stb r4, 0x35(r1)
/* 8020A2A4 00207204 FC 80 08 90 */ fmr f4, f1
/* 8020A2A8 00207208 B0 01 00 36 */ sth r0, 0x36(r1)
/* 8020A2AC 0020720C 48 15 91 41 */ bl __ct__6CColorFffff
/* 8020A2B0 00207210 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2)
/* 8020A2B4 00207214 38 61 00 D8 */ addi r3, r1, 0xd8
/* 8020A2B8 00207218 C0 82 B1 48 */ lfs f4, lbl_805ACE68@sda21(r2)
/* 8020A2BC 0020721C C0 7E 00 1C */ lfs f3, 0x1c(r30)
/* 8020A2C0 00207220 FC 40 08 90 */ fmr f2, f1
/* 8020A2C4 00207224 C0 1E 00 18 */ lfs f0, 0x18(r30)
/* 8020A2C8 00207228 EC 64 00 FC */ fnmsubs f3, f4, f3, f0
/* 8020A2CC 0020722C 48 10 8E BD */ bl Translate__12CTransform4fFfff
/* 8020A2D0 00207230 38 7F 01 00 */ addi r3, r31, 0x100
/* 8020A2D4 00207234 38 A1 00 D8 */ addi r5, r1, 0xd8
/* 8020A2D8 00207238 38 C1 01 08 */ addi r6, r1, 0x108
/* 8020A2DC 0020723C 38 E1 00 34 */ addi r7, r1, 0x34
/* 8020A2E0 00207240 38 80 00 00 */ li r4, 0
/* 8020A2E4 00207244 4B F0 C5 91 */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags
/* 8020A2E8 00207248 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2)
/* 8020A2EC 0020724C 38 80 00 00 */ li r4, 0
/* 8020A2F0 00207250 38 00 00 03 */ li r0, 3
/* 8020A2F4 00207254 98 81 00 2C */ stb r4, 0x2c(r1)
/* 8020A2F8 00207258 FC 40 08 90 */ fmr f2, f1
/* 8020A2FC 0020725C 38 61 00 30 */ addi r3, r1, 0x30
/* 8020A300 00207260 FC 60 08 90 */ fmr f3, f1
/* 8020A304 00207264 98 81 00 2D */ stb r4, 0x2d(r1)
/* 8020A308 00207268 FC 80 08 90 */ fmr f4, f1
/* 8020A30C 0020726C B0 01 00 2E */ sth r0, 0x2e(r1)
/* 8020A310 00207270 48 15 90 DD */ bl __ct__6CColorFffff
/* 8020A314 00207274 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2)
/* 8020A318 00207278 38 61 00 A8 */ addi r3, r1, 0xa8
/* 8020A31C 0020727C C0 7E 00 18 */ lfs f3, 0x18(r30)
/* 8020A320 00207280 C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 8020A324 00207284 FC 40 08 90 */ fmr f2, f1
/* 8020A328 00207288 EC 63 00 28 */ fsubs f3, f3, f0
/* 8020A32C 0020728C 48 10 8E 5D */ bl Translate__12CTransform4fFfff
/* 8020A330 00207290 38 7F 01 00 */ addi r3, r31, 0x100
/* 8020A334 00207294 38 A1 00 A8 */ addi r5, r1, 0xa8
/* 8020A338 00207298 38 C1 01 08 */ addi r6, r1, 0x108
/* 8020A33C 0020729C 38 E1 00 2C */ addi r7, r1, 0x2c
/* 8020A340 002072A0 38 80 00 00 */ li r4, 0
/* 8020A344 002072A4 4B F0 C5 31 */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags
/* 8020A348 002072A8 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2)
/* 8020A34C 002072AC 38 80 00 00 */ li r4, 0
/* 8020A350 002072B0 38 00 00 03 */ li r0, 3
/* 8020A354 002072B4 98 81 00 24 */ stb r4, 0x24(r1)
/* 8020A358 002072B8 FC 40 08 90 */ fmr f2, f1
/* 8020A35C 002072BC 38 61 00 28 */ addi r3, r1, 0x28
/* 8020A360 002072C0 FC 60 08 90 */ fmr f3, f1
/* 8020A364 002072C4 98 81 00 25 */ stb r4, 0x25(r1)
/* 8020A368 002072C8 FC 80 08 90 */ fmr f4, f1
/* 8020A36C 002072CC B0 01 00 26 */ sth r0, 0x26(r1)
/* 8020A370 002072D0 48 15 90 7D */ bl __ct__6CColorFffff
/* 8020A374 002072D4 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2)
/* 8020A378 002072D8 38 61 00 78 */ addi r3, r1, 0x78
/* 8020A37C 002072DC C0 7E 00 18 */ lfs f3, 0x18(r30)
/* 8020A380 002072E0 FC 40 08 90 */ fmr f2, f1
/* 8020A384 002072E4 48 10 8E 05 */ bl Translate__12CTransform4fFfff
/* 8020A388 002072E8 38 7F 01 00 */ addi r3, r31, 0x100
/* 8020A38C 002072EC 38 A1 00 78 */ addi r5, r1, 0x78
/* 8020A390 002072F0 38 C1 01 08 */ addi r6, r1, 0x108
/* 8020A394 002072F4 38 E1 00 24 */ addi r7, r1, 0x24
/* 8020A398 002072F8 38 80 00 00 */ li r4, 0
/* 8020A39C 002072FC 4B F0 C4 D9 */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags
lbl_8020A3A0:
/* 8020A3A0 00207300 80 1F 00 C4 */ lwz r0, 0xc4(r31)
/* 8020A3A4 00207304 38 60 00 00 */ li r3, 0
/* 8020A3A8 00207308 28 00 00 00 */ cmplwi r0, 0
/* 8020A3AC 0020730C 40 82 00 14 */ bne lbl_8020A3C0
/* 8020A3B0 00207310 88 1F 00 DC */ lbz r0, 0xdc(r31)
/* 8020A3B4 00207314 28 00 00 00 */ cmplwi r0, 0
/* 8020A3B8 00207318 40 82 00 08 */ bne lbl_8020A3C0
/* 8020A3BC 0020731C 38 60 00 01 */ li r3, 1
lbl_8020A3C0:
/* 8020A3C0 00207320 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8020A3C4 00207324 40 82 00 4C */ bne lbl_8020A410
/* 8020A3C8 00207328 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2)
/* 8020A3CC 0020732C 38 80 00 00 */ li r4, 0
/* 8020A3D0 00207330 38 00 00 03 */ li r0, 3
/* 8020A3D4 00207334 98 81 00 1C */ stb r4, 0x1c(r1)
/* 8020A3D8 00207338 FC 40 08 90 */ fmr f2, f1
/* 8020A3DC 0020733C 38 61 00 20 */ addi r3, r1, 0x20
/* 8020A3E0 00207340 FC 60 08 90 */ fmr f3, f1
/* 8020A3E4 00207344 98 81 00 1D */ stb r4, 0x1d(r1)
/* 8020A3E8 00207348 FC 80 08 90 */ fmr f4, f1
/* 8020A3EC 0020734C B0 01 00 1E */ sth r0, 0x1e(r1)
/* 8020A3F0 00207350 48 15 8F FD */ bl __ct__6CColorFffff
/* 8020A3F4 00207354 3C 80 80 5A */ lis r4, sIdentity__12CTransform4f@ha
/* 8020A3F8 00207358 38 7F 00 B4 */ addi r3, r31, 0xb4
/* 8020A3FC 0020735C 38 A4 66 70 */ addi r5, r4, sIdentity__12CTransform4f@l
/* 8020A400 00207360 38 C1 01 08 */ addi r6, r1, 0x108
/* 8020A404 00207364 38 E1 00 1C */ addi r7, r1, 0x1c
/* 8020A408 00207368 38 80 00 00 */ li r4, 0
/* 8020A40C 0020736C 4B F0 C4 69 */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags
lbl_8020A410:
/* 8020A410 00207370 80 7F 00 2C */ lwz r3, 0x2c(r31)
/* 8020A414 00207374 38 80 00 00 */ li r4, 0
/* 8020A418 00207378 28 03 00 00 */ cmplwi r3, 0
/* 8020A41C 0020737C 40 82 00 14 */ bne lbl_8020A430
/* 8020A420 00207380 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 8020A424 00207384 28 00 00 00 */ cmplwi r0, 0
/* 8020A428 00207388 40 82 00 08 */ bne lbl_8020A430
/* 8020A42C 0020738C 38 80 00 01 */ li r4, 1
lbl_8020A430:
/* 8020A430 00207390 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8020A434 00207394 40 82 00 D8 */ bne lbl_8020A50C
/* 8020A438 00207398 3C 80 80 5A */ lis r4, sIdentity__12CTransform4f@ha
/* 8020A43C 0020739C 38 04 66 70 */ addi r0, r4, sIdentity__12CTransform4f@l
/* 8020A440 002073A0 7C 1E 03 78 */ mr r30, r0
/* 8020A444 002073A4 4B E2 25 C1 */ bl PreRender__9CAnimDataFv
/* 8020A448 002073A8 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2)
/* 8020A44C 002073AC 38 80 00 00 */ li r4, 0
/* 8020A450 002073B0 38 00 00 03 */ li r0, 3
/* 8020A454 002073B4 98 81 00 14 */ stb r4, 0x14(r1)
/* 8020A458 002073B8 FC 40 08 90 */ fmr f2, f1
/* 8020A45C 002073BC 38 61 00 18 */ addi r3, r1, 0x18
/* 8020A460 002073C0 FC 60 08 90 */ fmr f3, f1
/* 8020A464 002073C4 98 81 00 15 */ stb r4, 0x15(r1)
/* 8020A468 002073C8 FC 80 08 90 */ fmr f4, f1
/* 8020A46C 002073CC B0 01 00 16 */ sth r0, 0x16(r1)
/* 8020A470 002073D0 48 15 8F 7D */ bl __ct__6CColorFffff
/* 8020A474 002073D4 3C 80 80 5A */ lis r4, sIdentity__12CTransform4f@ha
/* 8020A478 002073D8 38 7F 00 1C */ addi r3, r31, 0x1c
/* 8020A47C 002073DC 38 A4 66 70 */ addi r5, r4, sIdentity__12CTransform4f@l
/* 8020A480 002073E0 38 C1 01 08 */ addi r6, r1, 0x108
/* 8020A484 002073E4 38 E1 00 14 */ addi r7, r1, 0x14
/* 8020A488 002073E8 38 80 00 00 */ li r4, 0
/* 8020A48C 002073EC 4B F0 C3 E9 */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags
/* 8020A490 002073F0 80 1F 00 78 */ lwz r0, 0x78(r31)
/* 8020A494 002073F4 38 60 00 00 */ li r3, 0
/* 8020A498 002073F8 28 00 00 00 */ cmplwi r0, 0
/* 8020A49C 002073FC 40 82 00 14 */ bne lbl_8020A4B0
/* 8020A4A0 00207400 88 1F 00 90 */ lbz r0, 0x90(r31)
/* 8020A4A4 00207404 28 00 00 00 */ cmplwi r0, 0
/* 8020A4A8 00207408 40 82 00 08 */ bne lbl_8020A4B0
/* 8020A4AC 0020740C 38 60 00 01 */ li r3, 1
lbl_8020A4B0:
/* 8020A4B0 00207410 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8020A4B4 00207414 40 82 00 58 */ bne lbl_8020A50C
/* 8020A4B8 00207418 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2)
/* 8020A4BC 0020741C 38 80 00 00 */ li r4, 0
/* 8020A4C0 00207420 38 00 00 03 */ li r0, 3
/* 8020A4C4 00207424 98 81 00 0C */ stb r4, 0xc(r1)
/* 8020A4C8 00207428 FC 40 08 90 */ fmr f2, f1
/* 8020A4CC 0020742C 38 61 00 10 */ addi r3, r1, 0x10
/* 8020A4D0 00207430 FC 60 08 90 */ fmr f3, f1
/* 8020A4D4 00207434 98 81 00 0D */ stb r4, 0xd(r1)
/* 8020A4D8 00207438 FC 80 08 90 */ fmr f4, f1
/* 8020A4DC 0020743C B0 01 00 0E */ sth r0, 0xe(r1)
/* 8020A4E0 00207440 48 15 8F 0D */ bl __ct__6CColorFffff
/* 8020A4E4 00207444 7F C4 F3 78 */ mr r4, r30
/* 8020A4E8 00207448 38 61 00 48 */ addi r3, r1, 0x48
/* 8020A4EC 0020744C 38 BF 01 70 */ addi r5, r31, 0x170
/* 8020A4F0 00207450 48 10 84 61 */ bl __ml__12CTransform4fCFRC12CTransform4f
/* 8020A4F4 00207454 38 7F 00 68 */ addi r3, r31, 0x68
/* 8020A4F8 00207458 38 A1 00 48 */ addi r5, r1, 0x48
/* 8020A4FC 0020745C 38 C1 01 08 */ addi r6, r1, 0x108
/* 8020A500 00207460 38 E1 00 0C */ addi r7, r1, 0xc
/* 8020A504 00207464 38 80 00 00 */ li r4, 0
/* 8020A508 00207468 4B F0 C3 6D */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags
lbl_8020A50C:
/* 8020A50C 0020746C 38 61 01 08 */ addi r3, r1, 0x108
/* 8020A510 00207470 38 80 FF FF */ li r4, -1
/* 8020A514 00207474 4B EF AB C1 */ bl __dt__12CActorLightsFv
/* 8020A518 00207478 80 01 03 F4 */ lwz r0, 0x3f4(r1)
/* 8020A51C 0020747C 83 E1 03 EC */ lwz r31, 0x3ec(r1)
/* 8020A520 00207480 83 C1 03 E8 */ lwz r30, 0x3e8(r1)
/* 8020A524 00207484 7C 08 03 A6 */ mtlr r0
/* 8020A528 00207488 38 21 03 F0 */ addi r1, r1, 0x3f0
/* 8020A52C 0020748C 4E 80 00 20 */ blr
.global UpdateLights__18CWorldTransManagerFf
UpdateLights__18CWorldTransManagerFf:
/* 8020A530 00207490 94 21 FE 60 */ stwu r1, -0x1a0(r1)
/* 8020A534 00207494 7C 08 02 A6 */ mflr r0
/* 8020A538 00207498 90 01 01 A4 */ stw r0, 0x1a4(r1)
/* 8020A53C 0020749C DB E1 01 90 */ stfd f31, 0x190(r1)
/* 8020A540 002074A0 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0
/* 8020A544 002074A4 93 E1 01 8C */ stw r31, 0x18c(r1)
/* 8020A548 002074A8 93 C1 01 88 */ stw r30, 0x188(r1)
/* 8020A54C 002074AC 7C 7E 1B 78 */ mr r30, r3
/* 8020A550 002074B0 80 63 00 04 */ lwz r3, 4(r3)
/* 8020A554 002074B4 28 03 00 00 */ cmplwi r3, 0
/* 8020A558 002074B8 41 82 02 04 */ beq lbl_8020A75C
/* 8020A55C 002074BC 80 03 01 A4 */ lwz r0, 0x1a4(r3)
/* 8020A560 002074C0 3B E3 01 A0 */ addi r31, r3, 0x1a0
/* 8020A564 002074C4 80 63 01 AC */ lwz r3, 0x1ac(r3)
/* 8020A568 002074C8 1C 00 00 50 */ mulli r0, r0, 0x50
/* 8020A56C 002074CC 90 61 00 0C */ stw r3, 0xc(r1)
/* 8020A570 002074D0 7C 03 02 14 */ add r0, r3, r0
/* 8020A574 002074D4 90 61 00 08 */ stw r3, 8(r1)
/* 8020A578 002074D8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8020A57C 002074DC 90 01 00 10 */ stw r0, 0x10(r1)
/* 8020A580 002074E0 48 00 00 08 */ b lbl_8020A588
lbl_8020A584:
/* 8020A584 002074E4 38 63 00 50 */ addi r3, r3, 0x50
lbl_8020A588:
/* 8020A588 002074E8 7C 03 00 40 */ cmplw r3, r0
/* 8020A58C 002074EC 40 82 FF F8 */ bne lbl_8020A584
/* 8020A590 002074F0 38 00 00 00 */ li r0, 0
/* 8020A594 002074F4 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2)
/* 8020A598 002074F8 90 1F 00 04 */ stw r0, 4(r31)
/* 8020A59C 002074FC C0 02 B1 70 */ lfs f0, lbl_805ACE90@sda21(r2)
/* 8020A5A0 00207500 D0 21 00 38 */ stfs f1, 0x38(r1)
/* 8020A5A4 00207504 D0 01 00 3C */ stfs f0, 0x3c(r1)
/* 8020A5A8 00207508 D0 21 00 40 */ stfs f1, 0x40(r1)
/* 8020A5AC 0020750C 48 13 FA 01 */ bl White__6CColorFv
/* 8020A5B0 00207510 3C 80 80 5A */ lis r4, sBackVector__9CVector3f@ha
/* 8020A5B4 00207514 C0 22 B1 78 */ lfs f1, lbl_805ACE98@sda21(r2)
/* 8020A5B8 00207518 38 A4 67 30 */ addi r5, r4, sBackVector__9CVector3f@l
/* 8020A5BC 0020751C 7C 66 1B 78 */ mr r6, r3
/* 8020A5C0 00207520 38 61 00 44 */ addi r3, r1, 0x44
/* 8020A5C4 00207524 38 81 00 38 */ addi r4, r1, 0x38
/* 8020A5C8 00207528 48 0F BE 35 */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf
/* 8020A5CC 0020752C 38 61 01 34 */ addi r3, r1, 0x134
/* 8020A5D0 00207530 38 81 00 44 */ addi r4, r1, 0x44
/* 8020A5D4 00207534 4B E3 0F 9D */ bl __ct__6CLightFCR6CLight
/* 8020A5D8 00207538 C0 42 B1 28 */ lfs f2, lbl_805ACE48@sda21(r2)
/* 8020A5DC 0020753C 38 61 01 34 */ addi r3, r1, 0x134
/* 8020A5E0 00207540 C0 22 B1 30 */ lfs f1, lbl_805ACE50@sda21(r2)
/* 8020A5E4 00207544 FC 60 10 90 */ fmr f3, f2
/* 8020A5E8 00207548 48 0F BD C9 */ bl SetAttenuation__6CLightFfff
/* 8020A5EC 0020754C 38 61 00 E4 */ addi r3, r1, 0xe4
/* 8020A5F0 00207550 38 81 01 34 */ addi r4, r1, 0x134
/* 8020A5F4 00207554 4B E3 0F 7D */ bl __ct__6CLightFCR6CLight
/* 8020A5F8 00207558 C0 42 B1 48 */ lfs f2, lbl_805ACE68@sda21(r2)
/* 8020A5FC 0020755C 38 61 00 E4 */ addi r3, r1, 0xe4
/* 8020A600 00207560 C0 3E 00 18 */ lfs f1, 0x18(r30)
/* 8020A604 00207564 38 81 00 2C */ addi r4, r1, 0x2c
/* 8020A608 00207568 C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 8020A60C 0020756C C0 81 00 3C */ lfs f4, 0x3c(r1)
/* 8020A610 00207570 C0 62 B1 28 */ lfs f3, lbl_805ACE48@sda21(r2)
/* 8020A614 00207574 EC 22 00 78 */ fmsubs f1, f2, f1, f0
/* 8020A618 00207578 C0 41 00 40 */ lfs f2, 0x40(r1)
/* 8020A61C 0020757C C0 01 00 38 */ lfs f0, 0x38(r1)
/* 8020A620 00207580 EC 84 18 2A */ fadds f4, f4, f3
/* 8020A624 00207584 EC 22 08 2A */ fadds f1, f2, f1
/* 8020A628 00207588 EC 00 18 2A */ fadds f0, f0, f3
/* 8020A62C 0020758C D0 81 00 30 */ stfs f4, 0x30(r1)
/* 8020A630 00207590 D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 8020A634 00207594 D0 21 00 34 */ stfs f1, 0x34(r1)
/* 8020A638 00207598 48 0F BD 09 */ bl SetPosition__6CLightFRC9CVector3f
/* 8020A63C 0020759C 88 1E 00 44 */ lbz r0, 0x44(r30)
/* 8020A640 002075A0 C3 E2 B1 30 */ lfs f31, lbl_805ACE50@sda21(r2)
/* 8020A644 002075A4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 8020A648 002075A8 40 82 00 28 */ bne lbl_8020A670
/* 8020A64C 002075AC C0 5E 00 1C */ lfs f2, 0x1c(r30)
/* 8020A650 002075B0 C0 3E 00 18 */ lfs f1, 0x18(r30)
/* 8020A654 002075B4 C0 02 B1 48 */ lfs f0, lbl_805ACE68@sda21(r2)
/* 8020A658 002075B8 EC 22 08 28 */ fsubs f1, f2, f1
/* 8020A65C 002075BC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8020A660 002075C0 40 80 00 10 */ bge lbl_8020A670
/* 8020A664 002075C4 C0 02 B1 38 */ lfs f0, lbl_805ACE58@sda21(r2)
/* 8020A668 002075C8 EF E1 00 32 */ fmuls f31, f1, f0
/* 8020A66C 002075CC 48 00 00 24 */ b lbl_8020A690
lbl_8020A670:
/* 8020A670 002075D0 28 00 00 00 */ cmplwi r0, 0
/* 8020A674 002075D4 41 82 00 1C */ beq lbl_8020A690
/* 8020A678 002075D8 C0 3E 00 18 */ lfs f1, 0x18(r30)
/* 8020A67C 002075DC C0 02 B1 48 */ lfs f0, lbl_805ACE68@sda21(r2)
/* 8020A680 002075E0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8020A684 002075E4 40 80 00 0C */ bge lbl_8020A690
/* 8020A688 002075E8 C0 02 B1 38 */ lfs f0, lbl_805ACE58@sda21(r2)
/* 8020A68C 002075EC EF E1 00 32 */ fmuls f31, f1, f0
lbl_8020A690:
/* 8020A690 002075F0 C0 02 B1 30 */ lfs f0, lbl_805ACE50@sda21(r2)
/* 8020A694 002075F4 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8020A698 002075F8 40 80 00 B8 */ bge lbl_8020A750
/* 8020A69C 002075FC 38 61 00 94 */ addi r3, r1, 0x94
/* 8020A6A0 00207600 38 81 01 34 */ addi r4, r1, 0x134
/* 8020A6A4 00207604 4B E3 0E CD */ bl __ct__6CLightFCR6CLight
/* 8020A6A8 00207608 88 1E 00 44 */ lbz r0, 0x44(r30)
/* 8020A6AC 0020760C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 8020A6B0 00207610 41 82 00 0C */ beq lbl_8020A6BC
/* 8020A6B4 00207614 C0 7E 00 1C */ lfs f3, 0x1c(r30)
/* 8020A6B8 00207618 48 00 00 0C */ b lbl_8020A6C4
lbl_8020A6BC:
/* 8020A6BC 0020761C C0 1E 00 1C */ lfs f0, 0x1c(r30)
/* 8020A6C0 00207620 FC 60 00 50 */ fneg f3, f0
lbl_8020A6C4:
/* 8020A6C4 00207624 C0 01 00 40 */ lfs f0, 0x40(r1)
/* 8020A6C8 00207628 38 61 00 94 */ addi r3, r1, 0x94
/* 8020A6CC 0020762C C0 41 00 3C */ lfs f2, 0x3c(r1)
/* 8020A6D0 00207630 38 81 00 20 */ addi r4, r1, 0x20
/* 8020A6D4 00207634 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2)
/* 8020A6D8 00207638 EC 60 18 2A */ fadds f3, f0, f3
/* 8020A6DC 0020763C C0 01 00 38 */ lfs f0, 0x38(r1)
/* 8020A6E0 00207640 EC 42 08 2A */ fadds f2, f2, f1
/* 8020A6E4 00207644 EC 00 08 2A */ fadds f0, f0, f1
/* 8020A6E8 00207648 D0 61 00 28 */ stfs f3, 0x28(r1)
/* 8020A6EC 0020764C D0 41 00 24 */ stfs f2, 0x24(r1)
/* 8020A6F0 00207650 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 8020A6F4 00207654 48 0F BC 4D */ bl SetPosition__6CLightFRC9CVector3f
/* 8020A6F8 00207658 48 13 F8 BD */ bl Black__6CColorFv
/* 8020A6FC 0020765C C0 02 B1 30 */ lfs f0, lbl_805ACE50@sda21(r2)
/* 8020A700 00207660 7C 64 1B 78 */ mr r4, r3
/* 8020A704 00207664 38 61 00 1C */ addi r3, r1, 0x1c
/* 8020A708 00207668 38 A1 01 4C */ addi r5, r1, 0x14c
/* 8020A70C 0020766C EC 20 F8 28 */ fsubs f1, f0, f31
/* 8020A710 00207670 48 15 8B 9D */ bl Lerp__6CColorFRC6CColorRC6CColorf
/* 8020A714 00207674 38 61 00 94 */ addi r3, r1, 0x94
/* 8020A718 00207678 38 81 00 1C */ addi r4, r1, 0x1c
/* 8020A71C 0020767C 48 0F BC 41 */ bl SetColor__6CLightFRC6CColor
/* 8020A720 00207680 7F E3 FB 78 */ mr r3, r31
/* 8020A724 00207684 38 81 00 94 */ addi r4, r1, 0x94
/* 8020A728 00207688 4B E3 B2 9D */ bl sub_800459c4
/* 8020A72C 0020768C 48 13 F8 89 */ bl Black__6CColorFv
/* 8020A730 00207690 FC 20 F8 90 */ fmr f1, f31
/* 8020A734 00207694 7C 64 1B 78 */ mr r4, r3
/* 8020A738 00207698 38 61 00 18 */ addi r3, r1, 0x18
/* 8020A73C 0020769C 38 A1 00 FC */ addi r5, r1, 0xfc
/* 8020A740 002076A0 48 15 8B 6D */ bl Lerp__6CColorFRC6CColorRC6CColorf
/* 8020A744 002076A4 38 61 00 E4 */ addi r3, r1, 0xe4
/* 8020A748 002076A8 38 81 00 18 */ addi r4, r1, 0x18
/* 8020A74C 002076AC 48 0F BC 11 */ bl SetColor__6CLightFRC6CColor
lbl_8020A750:
/* 8020A750 002076B0 7F E3 FB 78 */ mr r3, r31
/* 8020A754 002076B4 38 81 00 E4 */ addi r4, r1, 0xe4
/* 8020A758 002076B8 4B E3 B2 6D */ bl sub_800459c4
lbl_8020A75C:
/* 8020A75C 002076BC E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0
/* 8020A760 002076C0 80 01 01 A4 */ lwz r0, 0x1a4(r1)
/* 8020A764 002076C4 CB E1 01 90 */ lfd f31, 0x190(r1)
/* 8020A768 002076C8 83 E1 01 8C */ lwz r31, 0x18c(r1)
/* 8020A76C 002076CC 83 C1 01 88 */ lwz r30, 0x188(r1)
/* 8020A770 002076D0 7C 08 03 A6 */ mtlr r0
/* 8020A774 002076D4 38 21 01 A0 */ addi r1, r1, 0x1a0
/* 8020A778 002076D8 4E 80 00 20 */ blr
.global Draw__18CWorldTransManagerCFv
Draw__18CWorldTransManagerCFv:
/* 8020A77C 002076DC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8020A780 002076E0 7C 08 02 A6 */ mflr r0
/* 8020A784 002076E4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8020A788 002076E8 80 03 00 30 */ lwz r0, 0x30(r3)
/* 8020A78C 002076EC 2C 00 00 01 */ cmpwi r0, 1
/* 8020A790 002076F0 41 82 00 20 */ beq lbl_8020A7B0
/* 8020A794 002076F4 40 80 00 10 */ bge lbl_8020A7A4
/* 8020A798 002076F8 2C 00 00 00 */ cmpwi r0, 0
/* 8020A79C 002076FC 40 80 00 24 */ bge lbl_8020A7C0
/* 8020A7A0 00207700 48 00 00 24 */ b lbl_8020A7C4
lbl_8020A7A4:
/* 8020A7A4 00207704 2C 00 00 03 */ cmpwi r0, 3
/* 8020A7A8 00207708 40 80 00 1C */ bge lbl_8020A7C4
/* 8020A7AC 0020770C 48 00 00 0C */ b lbl_8020A7B8
lbl_8020A7B0:
/* 8020A7B0 00207710 4B FF F2 D1 */ bl DrawEnabled__18CWorldTransManagerCFv
/* 8020A7B4 00207714 48 00 00 10 */ b lbl_8020A7C4
lbl_8020A7B8:
/* 8020A7B8 00207718 4B FF EA C9 */ bl DrawText__18CWorldTransManagerCFv
/* 8020A7BC 0020771C 48 00 00 08 */ b lbl_8020A7C4
lbl_8020A7C0:
/* 8020A7C0 00207720 4B FF F2 6D */ bl DrawDisabled__18CWorldTransManagerCFv
lbl_8020A7C4:
/* 8020A7C4 00207724 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8020A7C8 00207728 7C 08 03 A6 */ mtlr r0
/* 8020A7CC 0020772C 38 21 00 10 */ addi r1, r1, 0x10
/* 8020A7D0 00207730 4E 80 00 20 */ blr
.global UpdateEnabled__18CWorldTransManagerFf
UpdateEnabled__18CWorldTransManagerFf:
/* 8020A7D4 00207734 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 8020A7D8 00207738 7C 08 02 A6 */ mflr r0
/* 8020A7DC 0020773C 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 8020A7E0 00207740 DB E1 00 90 */ stfd f31, 0x90(r1)
/* 8020A7E4 00207744 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0
/* 8020A7E8 00207748 93 E1 00 8C */ stw r31, 0x8c(r1)
/* 8020A7EC 0020774C 93 C1 00 88 */ stw r30, 0x88(r1)
/* 8020A7F0 00207750 7C 7F 1B 78 */ mr r31, r3
/* 8020A7F4 00207754 D0 21 00 08 */ stfs f1, 8(r1)
/* 8020A7F8 00207758 80 83 00 04 */ lwz r4, 4(r3)
/* 8020A7FC 0020775C 28 04 00 00 */ cmplwi r4, 0
/* 8020A800 00207760 41 82 02 48 */ beq lbl_8020AA48
/* 8020A804 00207764 80 04 00 2C */ lwz r0, 0x2c(r4)
/* 8020A808 00207768 38 60 00 00 */ li r3, 0
/* 8020A80C 0020776C 28 00 00 00 */ cmplwi r0, 0
/* 8020A810 00207770 40 82 00 14 */ bne lbl_8020A824
/* 8020A814 00207774 88 04 00 44 */ lbz r0, 0x44(r4)
/* 8020A818 00207778 28 00 00 00 */ cmplwi r0, 0
/* 8020A81C 0020777C 40 82 00 08 */ bne lbl_8020A824
/* 8020A820 00207780 38 60 00 01 */ li r3, 1
lbl_8020A824:
/* 8020A824 00207784 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8020A828 00207788 40 82 02 20 */ bne lbl_8020AA48
/* 8020A82C 0020778C 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 8020A830 00207790 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f
/* 8020A834 00207794 41 82 00 68 */ beq lbl_8020A89C
/* 8020A838 00207798 88 04 01 DC */ lbz r0, 0x1dc(r4)
/* 8020A83C 0020779C 28 00 00 00 */ cmplwi r0, 0
/* 8020A840 002077A0 40 82 00 5C */ bne lbl_8020A89C
/* 8020A844 002077A4 C0 1F 00 00 */ lfs f0, 0(r31)
/* 8020A848 002077A8 C0 62 B1 48 */ lfs f3, lbl_805ACE68@sda21(r2)
/* 8020A84C 002077AC FC 00 18 40 */ fcmpo cr0, f0, f3
/* 8020A850 002077B0 4C 41 13 82 */ cror 2, 1, 2
/* 8020A854 002077B4 40 82 00 48 */ bne lbl_8020A89C
/* 8020A858 002077B8 38 00 00 01 */ li r0, 1
/* 8020A85C 002077BC C0 42 B1 84 */ lfs f2, lbl_805ACEA4@sda21(r2)
/* 8020A860 002077C0 98 04 01 DC */ stb r0, 0x1dc(r4)
/* 8020A864 002077C4 C0 22 B1 4C */ lfs f1, lbl_805ACE6C@sda21(r2)
/* 8020A868 002077C8 C0 1F 00 00 */ lfs f0, 0(r31)
/* 8020A86C 002077CC 80 7F 00 04 */ lwz r3, 4(r31)
/* 8020A870 002077D0 D0 03 01 D0 */ stfs f0, 0x1d0(r3)
/* 8020A874 002077D4 C0 1F 00 00 */ lfs f0, 0(r31)
/* 8020A878 002077D8 80 7F 00 04 */ lwz r3, 4(r31)
/* 8020A87C 002077DC EC 02 00 2A */ fadds f0, f2, f0
/* 8020A880 002077E0 EC 00 18 28 */ fsubs f0, f0, f3
/* 8020A884 002077E4 D0 03 01 D4 */ stfs f0, 0x1d4(r3)
/* 8020A888 002077E8 C0 1F 00 00 */ lfs f0, 0(r31)
/* 8020A88C 002077EC 80 7F 00 04 */ lwz r3, 4(r31)
/* 8020A890 002077F0 EC 01 00 2A */ fadds f0, f1, f0
/* 8020A894 002077F4 EC 00 18 28 */ fsubs f0, f0, f3
/* 8020A898 002077F8 D0 03 01 D8 */ stfs f0, 0x1d8(r3)
lbl_8020A89C:
/* 8020A89C 002077FC 80 7F 00 04 */ lwz r3, 4(r31)
/* 8020A8A0 00207800 C0 3F 00 00 */ lfs f1, 0(r31)
/* 8020A8A4 00207804 C0 03 01 D8 */ lfs f0, 0x1d8(r3)
/* 8020A8A8 00207808 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8020A8AC 0020780C 40 81 00 20 */ ble lbl_8020A8CC
/* 8020A8B0 00207810 88 03 01 DC */ lbz r0, 0x1dc(r3)
/* 8020A8B4 00207814 28 00 00 00 */ cmplwi r0, 0
/* 8020A8B8 00207818 41 82 00 14 */ beq lbl_8020A8CC
/* 8020A8BC 0020781C 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 8020A8C0 00207820 38 60 00 01 */ li r3, 1
/* 8020A8C4 00207824 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18
/* 8020A8C8 00207828 98 1F 00 44 */ stb r0, 0x44(r31)
lbl_8020A8CC:
/* 8020A8CC 0020782C 88 0D A4 EC */ lbz r0, lbl_805A90AC@sda21(r13)
/* 8020A8D0 00207830 7C 00 07 75 */ extsb. r0, r0
/* 8020A8D4 00207834 40 82 00 1C */ bne lbl_8020A8F0
/* 8020A8D8 00207838 3C 60 80 3D */ lis r3, lbl_803D2768@ha
/* 8020A8DC 0020783C 38 00 00 01 */ li r0, 1
/* 8020A8E0 00207840 38 63 27 68 */ addi r3, r3, lbl_803D2768@l
/* 8020A8E4 00207844 98 0D A4 EC */ stb r0, lbl_805A90AC@sda21(r13)
/* 8020A8E8 00207848 38 03 00 07 */ addi r0, r3, 7
/* 8020A8EC 0020784C 90 0D A4 E8 */ stw r0, lbl_805A90A8@sda21(r13)
lbl_8020A8F0:
/* 8020A8F0 00207850 80 9F 00 04 */ lwz r4, 4(r31)
/* 8020A8F4 00207854 38 61 00 3C */ addi r3, r1, 0x3c
/* 8020A8F8 00207858 C0 21 00 08 */ lfs f1, 8(r1)
/* 8020A8FC 0020785C 38 BF 00 20 */ addi r5, r31, 0x20
/* 8020A900 00207860 38 84 00 1C */ addi r4, r4, 0x1c
/* 8020A904 00207864 38 C0 00 01 */ li r6, 1
/* 8020A908 00207868 4B F0 B1 B1 */ bl AdvanceAnimationIgnoreParticles__10CModelDataFfR9CRandom16b
/* 8020A90C 0020786C 80 8D A4 E8 */ lwz r4, lbl_805A90A8@sda21(r13)
/* 8020A910 00207870 38 61 00 2C */ addi r3, r1, 0x2c
/* 8020A914 00207874 4B DF A3 A5 */ bl string_l__4rstlFPCc
/* 8020A918 00207878 83 DF 00 04 */ lwz r30, 4(r31)
/* 8020A91C 0020787C 38 61 00 58 */ addi r3, r1, 0x58
/* 8020A920 00207880 38 A1 00 2C */ addi r5, r1, 0x2c
/* 8020A924 00207884 38 9E 00 1C */ addi r4, r30, 0x1c
/* 8020A928 00207888 4B F0 B0 79 */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8020A92C 0020788C 38 7E 01 70 */ addi r3, r30, 0x170
/* 8020A930 00207890 38 81 00 58 */ addi r4, r1, 0x58
/* 8020A934 00207894 48 10 82 0D */ bl __as__12CTransform4fFRC12CTransform4f
/* 8020A938 00207898 38 61 00 2C */ addi r3, r1, 0x2c
/* 8020A93C 0020789C 48 13 31 A5 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8020A940 002078A0 80 7F 00 04 */ lwz r3, 4(r31)
/* 8020A944 002078A4 C0 21 00 08 */ lfs f1, 8(r1)
/* 8020A948 002078A8 C0 43 01 C4 */ lfs f2, 0x1c4(r3)
/* 8020A94C 002078AC C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2)
/* 8020A950 002078B0 EC 22 08 28 */ fsubs f1, f2, f1
/* 8020A954 002078B4 D0 23 01 C4 */ stfs f1, 0x1c4(r3)
/* 8020A958 002078B8 83 DF 00 04 */ lwz r30, 4(r31)
/* 8020A95C 002078BC C0 3E 01 C4 */ lfs f1, 0x1c4(r30)
/* 8020A960 002078C0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8020A964 002078C4 4C 40 13 82 */ cror 2, 0, 2
/* 8020A968 002078C8 40 82 00 A8 */ bne lbl_8020AA10
/* 8020A96C 002078CC C0 22 B1 88 */ lfs f1, lbl_805ACEA8@sda21(r2)
/* 8020A970 002078D0 38 7F 00 20 */ addi r3, r31, 0x20
/* 8020A974 002078D4 C0 42 B1 80 */ lfs f2, lbl_805ACEA0@sda21(r2)
/* 8020A978 002078D8 48 10 7B CD */ bl Range__9CRandom16Fff
/* 8020A97C 002078DC D0 3E 01 C4 */ stfs f1, 0x1c4(r30)
/* 8020A980 002078E0 38 7F 00 20 */ addi r3, r31, 0x20
/* 8020A984 002078E4 C0 22 B1 94 */ lfs f1, lbl_805ACEB4@sda21(r2)
/* 8020A988 002078E8 C0 42 B1 98 */ lfs f2, lbl_805ACEB8@sda21(r2)
/* 8020A98C 002078EC 48 10 7B B9 */ bl Range__9CRandom16Fff
/* 8020A990 002078F0 FF E0 08 90 */ fmr f31, f1
/* 8020A994 002078F4 C0 22 B1 8C */ lfs f1, lbl_805ACEAC@sda21(r2)
/* 8020A998 002078F8 C0 42 B1 90 */ lfs f2, lbl_805ACEB0@sda21(r2)
/* 8020A99C 002078FC 38 7F 00 20 */ addi r3, r31, 0x20
/* 8020A9A0 00207900 48 10 7B A5 */ bl Range__9CRandom16Fff
/* 8020A9A4 00207904 FC 40 F8 90 */ fmr f2, f31
/* 8020A9A8 00207908 38 61 00 24 */ addi r3, r1, 0x24
/* 8020A9AC 0020790C 48 10 98 55 */ bl __ct__9CVector2fFff
/* 8020A9B0 00207910 83 DF 00 04 */ lwz r30, 4(r31)
/* 8020A9B4 00207914 38 61 00 14 */ addi r3, r1, 0x14
/* 8020A9B8 00207918 38 81 00 24 */ addi r4, r1, 0x24
/* 8020A9BC 0020791C 38 BE 01 B4 */ addi r5, r30, 0x1b4
/* 8020A9C0 00207920 48 10 95 79 */ bl __mi__FRC9CVector2fRC9CVector2f
/* 8020A9C4 00207924 38 61 00 1C */ addi r3, r1, 0x1c
/* 8020A9C8 00207928 38 81 00 14 */ addi r4, r1, 0x14
/* 8020A9CC 0020792C 38 BE 01 C4 */ addi r5, r30, 0x1c4
/* 8020A9D0 00207930 48 10 94 95 */ bl __dv__FRC9CVector2fRCf
/* 8020A9D4 00207934 80 9F 00 04 */ lwz r4, 4(r31)
/* 8020A9D8 00207938 38 7F 00 20 */ addi r3, r31, 0x20
/* 8020A9DC 0020793C C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 8020A9E0 00207940 C0 22 B1 9C */ lfs f1, lbl_805ACEBC@sda21(r2)
/* 8020A9E4 00207944 D0 04 01 BC */ stfs f0, 0x1bc(r4)
/* 8020A9E8 00207948 C0 42 B1 84 */ lfs f2, lbl_805ACEA4@sda21(r2)
/* 8020A9EC 0020794C C0 01 00 20 */ lfs f0, 0x20(r1)
/* 8020A9F0 00207950 D0 04 01 C0 */ stfs f0, 0x1c0(r4)
/* 8020A9F4 00207954 48 10 7B 51 */ bl Range__9CRandom16Fff
/* 8020A9F8 00207958 80 7F 00 04 */ lwz r3, 4(r31)
/* 8020A9FC 0020795C C0 43 01 C8 */ lfs f2, 0x1c8(r3)
/* 8020AA00 00207960 C0 03 01 C4 */ lfs f0, 0x1c4(r3)
/* 8020AA04 00207964 EC 21 10 28 */ fsubs f1, f1, f2
/* 8020AA08 00207968 EC 01 00 24 */ fdivs f0, f1, f0
/* 8020AA0C 0020796C D0 03 01 CC */ stfs f0, 0x1cc(r3)
lbl_8020AA10:
/* 8020AA10 00207970 83 DF 00 04 */ lwz r30, 4(r31)
/* 8020AA14 00207974 38 61 00 0C */ addi r3, r1, 0xc
/* 8020AA18 00207978 38 A1 00 08 */ addi r5, r1, 8
/* 8020AA1C 0020797C 38 9E 01 BC */ addi r4, r30, 0x1bc
/* 8020AA20 00207980 48 10 94 B5 */ bl __ml__FRC9CVector2fRCf
/* 8020AA24 00207984 38 7E 01 B4 */ addi r3, r30, 0x1b4
/* 8020AA28 00207988 38 81 00 0C */ addi r4, r1, 0xc
/* 8020AA2C 0020798C 48 10 97 61 */ bl __apl__9CVector2fFRC9CVector2f
/* 8020AA30 00207990 80 7F 00 04 */ lwz r3, 4(r31)
/* 8020AA34 00207994 C0 41 00 08 */ lfs f2, 8(r1)
/* 8020AA38 00207998 C0 23 01 CC */ lfs f1, 0x1cc(r3)
/* 8020AA3C 0020799C C0 03 01 C8 */ lfs f0, 0x1c8(r3)
/* 8020AA40 002079A0 EC 02 00 7A */ fmadds f0, f2, f1, f0
/* 8020AA44 002079A4 D0 03 01 C8 */ stfs f0, 0x1c8(r3)
lbl_8020AA48:
/* 8020AA48 002079A8 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 8020AA4C 002079AC C0 22 B1 A0 */ lfs f1, lbl_805ACEC0@sda21(r2)
/* 8020AA50 002079B0 C0 01 00 08 */ lfs f0, 8(r1)
/* 8020AA54 002079B4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
/* 8020AA58 002079B8 EC 21 00 32 */ fmuls f1, f1, f0
/* 8020AA5C 002079BC 41 82 00 08 */ beq lbl_8020AA64
/* 8020AA60 002079C0 FC 20 08 50 */ fneg f1, f1
lbl_8020AA64:
/* 8020AA64 002079C4 C0 1F 00 18 */ lfs f0, 0x18(r31)
/* 8020AA68 002079C8 EC 00 08 2A */ fadds f0, f0, f1
/* 8020AA6C 002079CC D0 1F 00 18 */ stfs f0, 0x18(r31)
/* 8020AA70 002079D0 C0 1F 00 18 */ lfs f0, 0x18(r31)
/* 8020AA74 002079D4 C0 3F 00 1C */ lfs f1, 0x1c(r31)
/* 8020AA78 002079D8 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8020AA7C 002079DC 40 81 00 0C */ ble lbl_8020AA88
/* 8020AA80 002079E0 EC 00 08 28 */ fsubs f0, f0, f1
/* 8020AA84 002079E4 D0 1F 00 18 */ stfs f0, 0x18(r31)
lbl_8020AA88:
/* 8020AA88 002079E8 C0 3F 00 18 */ lfs f1, 0x18(r31)
/* 8020AA8C 002079EC C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2)
/* 8020AA90 002079F0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8020AA94 002079F4 40 80 00 10 */ bge lbl_8020AAA4
/* 8020AA98 002079F8 C0 1F 00 1C */ lfs f0, 0x1c(r31)
/* 8020AA9C 002079FC EC 01 00 2A */ fadds f0, f1, f0
/* 8020AAA0 00207A00 D0 1F 00 18 */ stfs f0, 0x18(r31)
lbl_8020AAA4:
/* 8020AAA4 00207A04 C0 21 00 08 */ lfs f1, 8(r1)
/* 8020AAA8 00207A08 7F E3 FB 78 */ mr r3, r31
/* 8020AAAC 00207A0C 4B FF FA 85 */ bl UpdateLights__18CWorldTransManagerFf
/* 8020AAB0 00207A10 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0
/* 8020AAB4 00207A14 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 8020AAB8 00207A18 CB E1 00 90 */ lfd f31, 0x90(r1)
/* 8020AABC 00207A1C 83 E1 00 8C */ lwz r31, 0x8c(r1)
/* 8020AAC0 00207A20 83 C1 00 88 */ lwz r30, 0x88(r1)
/* 8020AAC4 00207A24 7C 08 03 A6 */ mtlr r0
/* 8020AAC8 00207A28 38 21 00 A0 */ addi r1, r1, 0xa0
/* 8020AACC 00207A2C 4E 80 00 20 */ blr
.global UpdateDisabled__18CWorldTransManagerFf
UpdateDisabled__18CWorldTransManagerFf:
/* 8020AAD0 00207A30 C0 23 00 00 */ lfs f1, 0(r3)
/* 8020AAD4 00207A34 C0 02 B1 48 */ lfs f0, lbl_805ACE68@sda21(r2)
/* 8020AAD8 00207A38 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8020AADC 00207A3C 4C 81 00 20 */ blelr
/* 8020AAE0 00207A40 88 03 00 44 */ lbz r0, 0x44(r3)
/* 8020AAE4 00207A44 38 80 00 01 */ li r4, 1
/* 8020AAE8 00207A48 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 8020AAEC 00207A4C 98 03 00 44 */ stb r0, 0x44(r3)
/* 8020AAF0 00207A50 4E 80 00 20 */ blr
.global Update__18CWorldTransManagerFf
Update__18CWorldTransManagerFf:
/* 8020AAF4 00207A54 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8020AAF8 00207A58 7C 08 02 A6 */ mflr r0
/* 8020AAFC 00207A5C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8020AB00 00207A60 C0 03 00 00 */ lfs f0, 0(r3)
/* 8020AB04 00207A64 EC 00 08 2A */ fadds f0, f0, f1
/* 8020AB08 00207A68 D0 03 00 00 */ stfs f0, 0(r3)
/* 8020AB0C 00207A6C 80 03 00 30 */ lwz r0, 0x30(r3)
/* 8020AB10 00207A70 2C 00 00 01 */ cmpwi r0, 1
/* 8020AB14 00207A74 41 82 00 20 */ beq lbl_8020AB34
/* 8020AB18 00207A78 40 80 00 10 */ bge lbl_8020AB28
/* 8020AB1C 00207A7C 2C 00 00 00 */ cmpwi r0, 0
/* 8020AB20 00207A80 40 80 00 24 */ bge lbl_8020AB44
/* 8020AB24 00207A84 48 00 00 24 */ b lbl_8020AB48
lbl_8020AB28:
/* 8020AB28 00207A88 2C 00 00 03 */ cmpwi r0, 3
/* 8020AB2C 00207A8C 40 80 00 1C */ bge lbl_8020AB48
/* 8020AB30 00207A90 48 00 00 0C */ b lbl_8020AB3C
lbl_8020AB34:
/* 8020AB34 00207A94 4B FF FC A1 */ bl UpdateEnabled__18CWorldTransManagerFf
/* 8020AB38 00207A98 48 00 00 10 */ b lbl_8020AB48
lbl_8020AB3C:
/* 8020AB3C 00207A9C 4B FF E8 ED */ bl UpdateText__18CWorldTransManagerFf
/* 8020AB40 00207AA0 48 00 00 08 */ b lbl_8020AB48
lbl_8020AB44:
/* 8020AB44 00207AA4 4B FF FF 8D */ bl UpdateDisabled__18CWorldTransManagerFf
lbl_8020AB48:
/* 8020AB48 00207AA8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8020AB4C 00207AAC 7C 08 03 A6 */ mtlr r0
/* 8020AB50 00207AB0 38 21 00 10 */ addi r1, r1, 0x10
/* 8020AB54 00207AB4 4E 80 00 20 */ blr
.global EndTransition__18CWorldTransManagerFv
EndTransition__18CWorldTransManagerFv:
/* 8020AB58 00207AB8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8020AB5C 00207ABC 7C 08 02 A6 */ mflr r0
/* 8020AB60 00207AC0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8020AB64 00207AC4 48 00 09 25 */ bl DisableTransition__18CWorldTransManagerFv
/* 8020AB68 00207AC8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8020AB6C 00207ACC 7C 08 03 A6 */ mtlr r0
/* 8020AB70 00207AD0 38 21 00 10 */ addi r1, r1, 0x10
/* 8020AB74 00207AD4 4E 80 00 20 */ blr
.global StartTransition__18CWorldTransManagerFv
StartTransition__18CWorldTransManagerFv:
/* 8020AB78 00207AD8 C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2)
/* 8020AB7C 00207ADC 38 A0 00 00 */ li r5, 0
/* 8020AB80 00207AE0 38 80 00 01 */ li r4, 1
/* 8020AB84 00207AE4 D0 03 00 00 */ stfs f0, 0(r3)
/* 8020AB88 00207AE8 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 8020AB8C 00207AEC 88 03 00 44 */ lbz r0, 0x44(r3)
/* 8020AB90 00207AF0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18
/* 8020AB94 00207AF4 98 03 00 44 */ stb r0, 0x44(r3)
/* 8020AB98 00207AF8 88 03 00 44 */ lbz r0, 0x44(r3)
/* 8020AB9C 00207AFC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c
/* 8020ABA0 00207B00 98 03 00 44 */ stb r0, 0x44(r3)
/* 8020ABA4 00207B04 4E 80 00 20 */ blr
.global EnableTransition__18CWorldTransManagerFRC8CAnimResUiRC9CVector3fUiRC9CVector3fb
EnableTransition__18CWorldTransManagerFRC8CAnimResUiRC9CVector3fUiRC9CVector3fb:
/* 8020ABA8 00207B08 94 21 FE 40 */ stwu r1, -0x1c0(r1)
/* 8020ABAC 00207B0C 7C 08 02 A6 */ mflr r0
/* 8020ABB0 00207B10 39 40 00 00 */ li r10, 0
/* 8020ABB4 00207B14 90 01 01 C4 */ stw r0, 0x1c4(r1)
/* 8020ABB8 00207B18 BF 21 01 A4 */ stmw r25, 0x1a4(r1)
/* 8020ABBC 00207B1C 7C 7A 1B 78 */ mr r26, r3
/* 8020ABC0 00207B20 7C BC 2B 78 */ mr r28, r5
/* 8020ABC4 00207B24 38 A0 00 01 */ li r5, 1
/* 8020ABC8 00207B28 3C 60 80 3D */ lis r3, lbl_803D2768@ha
/* 8020ABCC 00207B2C 7C 9B 23 78 */ mr r27, r4
/* 8020ABD0 00207B30 7C DD 33 78 */ mr r29, r6
/* 8020ABD4 00207B34 7C FE 3B 78 */ mr r30, r7
/* 8020ABD8 00207B38 7D 1F 43 78 */ mr r31, r8
/* 8020ABDC 00207B3C 88 1A 00 44 */ lbz r0, 0x44(r26)
/* 8020ABE0 00207B40 51 40 36 72 */ rlwimi r0, r10, 6, 0x19, 0x19
/* 8020ABE4 00207B44 98 1A 00 44 */ stb r0, 0x44(r26)
/* 8020ABE8 00207B48 38 03 27 68 */ addi r0, r3, lbl_803D2768@l
/* 8020ABEC 00207B4C 7C 04 03 78 */ mr r4, r0
/* 8020ABF0 00207B50 38 60 01 E0 */ li r3, 0x1e0
/* 8020ABF4 00207B54 90 BA 00 30 */ stw r5, 0x30(r26)
/* 8020ABF8 00207B58 88 BA 00 44 */ lbz r5, 0x44(r26)
/* 8020ABFC 00207B5C 51 25 2E B4 */ rlwimi r5, r9, 5, 0x1a, 0x1a
/* 8020AC00 00207B60 98 BA 00 44 */ stb r5, 0x44(r26)
/* 8020AC04 00207B64 38 A0 00 00 */ li r5, 0
/* 8020AC08 00207B68 48 10 AC 65 */ bl __nw__FUlPCcPCc
/* 8020AC0C 00207B6C 7C 64 1B 79 */ or. r4, r3, r3
/* 8020AC10 00207B70 41 82 00 10 */ beq lbl_8020AC20
/* 8020AC14 00207B74 7F 64 DB 78 */ mr r4, r27
/* 8020AC18 00207B78 48 00 08 CD */ bl sub_8020b4e4
/* 8020AC1C 00207B7C 7C 64 1B 78 */ mr r4, r3
lbl_8020AC20:
/* 8020AC20 00207B80 38 7A 00 04 */ addi r3, r26, 4
/* 8020AC24 00207B84 4B FF EB AD */ bl sub_802097d0
/* 8020AC28 00207B88 80 7A 00 08 */ lwz r3, 8(r26)
/* 8020AC2C 00207B8C 38 80 00 01 */ li r4, 1
/* 8020AC30 00207B90 48 0B F0 69 */ bl __dt__15CGuiTextSupportFv
/* 8020AC34 00207B94 38 00 00 00 */ li r0, 0
/* 8020AC38 00207B98 38 7A 00 20 */ addi r3, r26, 0x20
/* 8020AC3C 00207B9C 90 1A 00 08 */ stw r0, 8(r26)
/* 8020AC40 00207BA0 38 80 00 63 */ li r4, 0x63
/* 8020AC44 00207BA4 48 10 79 A1 */ bl SetSeed__9CRandom16FUi
/* 8020AC48 00207BA8 7F 64 DB 78 */ mr r4, r27
/* 8020AC4C 00207BAC 38 61 01 48 */ addi r3, r1, 0x148
/* 8020AC50 00207BB0 4B F0 BF 05 */ bl __ct__10CModelDataFRC8CAnimRes
/* 8020AC54 00207BB4 80 7A 00 04 */ lwz r3, 4(r26)
/* 8020AC58 00207BB8 38 81 01 48 */ addi r4, r1, 0x148
/* 8020AC5C 00207BBC 38 63 00 1C */ addi r3, r3, 0x1c
/* 8020AC60 00207BC0 4B EC B0 B5 */ bl __as__10CModelDataFRC10CModelData
/* 8020AC64 00207BC4 38 61 01 48 */ addi r3, r1, 0x148
/* 8020AC68 00207BC8 38 80 FF FF */ li r4, -1
/* 8020AC6C 00207BCC 4B F0 BD E1 */ bl __dt__10CModelDataFv
/* 8020AC70 00207BD0 80 9B 00 18 */ lwz r4, 0x18(r27)
/* 8020AC74 00207BD4 38 00 00 00 */ li r0, 0
/* 8020AC78 00207BD8 C0 02 B1 30 */ lfs f0, lbl_805ACE50@sda21(r2)
/* 8020AC7C 00207BDC 38 C0 FF FF */ li r6, -1
/* 8020AC80 00207BE0 38 60 00 01 */ li r3, 1
/* 8020AC84 00207BE4 90 81 00 88 */ stw r4, 0x88(r1)
/* 8020AC88 00207BE8 38 81 00 88 */ addi r4, r1, 0x88
/* 8020AC8C 00207BEC 38 A0 00 00 */ li r5, 0
/* 8020AC90 00207BF0 90 C1 00 8C */ stw r6, 0x8c(r1)
/* 8020AC94 00207BF4 D0 01 00 90 */ stfs f0, 0x90(r1)
/* 8020AC98 00207BF8 98 61 00 94 */ stb r3, 0x94(r1)
/* 8020AC9C 00207BFC 90 01 00 98 */ stw r0, 0x98(r1)
/* 8020ACA0 00207C00 90 01 00 9C */ stw r0, 0x9c(r1)
/* 8020ACA4 00207C04 98 01 00 A0 */ stb r0, 0xa0(r1)
/* 8020ACA8 00207C08 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 8020ACAC 00207C0C 90 01 00 A8 */ stw r0, 0xa8(r1)
/* 8020ACB0 00207C10 90 01 00 AC */ stw r0, 0xac(r1)
/* 8020ACB4 00207C14 80 7A 00 04 */ lwz r3, 4(r26)
/* 8020ACB8 00207C18 80 63 00 2C */ lwz r3, 0x2c(r3)
/* 8020ACBC 00207C1C 4B E2 20 C1 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb
/* 8020ACC0 00207C20 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13)
/* 8020ACC4 00207C24 38 61 00 08 */ addi r3, r1, 8
/* 8020ACC8 00207C28 4B FC 8C 59 */ bl GetPlayerState__10CGameStateCFv
/* 8020ACCC 00207C2C 80 81 00 08 */ lwz r4, 8(r1)
/* 8020ACD0 00207C30 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13)
/* 8020ACD4 00207C34 80 84 00 00 */ lwz r4, 0(r4)
/* 8020ACD8 00207C38 80 84 00 08 */ lwz r4, 8(r4)
/* 8020ACDC 00207C3C 4B FA 15 35 */ bl GetCinematicBeamResId__15CTweakPlayerResCFQ212CPlayerState7EBeamId
/* 8020ACE0 00207C40 7C 79 1B 78 */ mr r25, r3
/* 8020ACE4 00207C44 38 61 00 08 */ addi r3, r1, 8
/* 8020ACE8 00207C48 4B DF E2 25 */ bl sub_80008f0c
/* 8020ACEC 00207C4C 3C 60 43 4D */ lis r3, 0x434D444C@ha
/* 8020ACF0 00207C50 93 21 00 40 */ stw r25, 0x40(r1)
/* 8020ACF4 00207C54 38 03 44 4C */ addi r0, r3, 0x434D444C@l
/* 8020ACF8 00207C58 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8020ACFC 00207C5C 90 01 00 3C */ stw r0, 0x3c(r1)
/* 8020AD00 00207C60 38 61 00 34 */ addi r3, r1, 0x34
/* 8020AD04 00207C64 38 A1 00 3C */ addi r5, r1, 0x3c
/* 8020AD08 00207C68 81 84 00 00 */ lwz r12, 0(r4)
/* 8020AD0C 00207C6C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8020AD10 00207C70 7D 89 03 A6 */ mtctr r12
/* 8020AD14 00207C74 4E 80 04 21 */ bctrl
/* 8020AD18 00207C78 80 7A 00 04 */ lwz r3, 4(r26)
/* 8020AD1C 00207C7C 3B 23 01 4C */ addi r25, r3, 0x14c
/* 8020AD20 00207C80 88 03 01 54 */ lbz r0, 0x154(r3)
/* 8020AD24 00207C84 28 00 00 00 */ cmplwi r0, 0
/* 8020AD28 00207C88 40 82 00 24 */ bne lbl_8020AD4C
/* 8020AD2C 00207C8C 28 19 00 00 */ cmplwi r25, 0
/* 8020AD30 00207C90 41 82 00 10 */ beq lbl_8020AD40
/* 8020AD34 00207C94 7F 23 CB 78 */ mr r3, r25
/* 8020AD38 00207C98 38 81 00 34 */ addi r4, r1, 0x34
/* 8020AD3C 00207C9C 48 13 61 6D */ bl __ct__6CTokenFRC6CToken
lbl_8020AD40:
/* 8020AD40 00207CA0 38 00 00 01 */ li r0, 1
/* 8020AD44 00207CA4 98 19 00 08 */ stb r0, 8(r25)
/* 8020AD48 00207CA8 48 00 00 10 */ b lbl_8020AD58
lbl_8020AD4C:
/* 8020AD4C 00207CAC 7F 23 CB 78 */ mr r3, r25
/* 8020AD50 00207CB0 38 81 00 34 */ addi r4, r1, 0x34
/* 8020AD54 00207CB4 48 13 5F 71 */ bl __as__6CTokenFRC6CToken
lbl_8020AD58:
/* 8020AD58 00207CB8 38 61 00 34 */ addi r3, r1, 0x34
/* 8020AD5C 00207CBC 38 80 FF FF */ li r4, -1
/* 8020AD60 00207CC0 48 13 60 E1 */ bl __dt__6CTokenFv
/* 8020AD64 00207CC4 80 7A 00 04 */ lwz r3, 4(r26)
/* 8020AD68 00207CC8 38 63 01 4C */ addi r3, r3, 0x14c
/* 8020AD6C 00207CCC 48 13 60 19 */ bl Lock__6CTokenFv
/* 8020AD70 00207CD0 80 8D A0 6C */ lwz r4, gpCharacterFactoryBuilder@sda21(r13)
/* 8020AD74 00207CD4 7F 65 DB 78 */ mr r5, r27
/* 8020AD78 00207CD8 38 61 00 2C */ addi r3, r1, 0x2c
/* 8020AD7C 00207CDC 4B E2 9B 3D */ bl GetFactory__24CCharacterFactoryBuilderFRC8CAnimRes
/* 8020AD80 00207CE0 3B 21 00 64 */ addi r25, r1, 0x64
/* 8020AD84 00207CE4 38 81 00 2C */ addi r4, r1, 0x2c
/* 8020AD88 00207CE8 7F 23 CB 78 */ mr r3, r25
/* 8020AD8C 00207CEC 48 13 61 1D */ bl __ct__6CTokenFRC6CToken
/* 8020AD90 00207CF0 7F 23 CB 78 */ mr r3, r25
/* 8020AD94 00207CF4 48 13 60 79 */ bl GetObj__6CTokenFv
/* 8020AD98 00207CF8 80 03 00 04 */ lwz r0, 4(r3)
/* 8020AD9C 00207CFC 38 61 00 2C */ addi r3, r1, 0x2c
/* 8020ADA0 00207D00 38 80 00 00 */ li r4, 0
/* 8020ADA4 00207D04 90 01 00 6C */ stw r0, 0x6c(r1)
/* 8020ADA8 00207D08 48 13 60 99 */ bl __dt__6CTokenFv
/* 8020ADAC 00207D0C 83 21 00 6C */ lwz r25, 0x6c(r1)
/* 8020ADB0 00207D10 48 00 06 35 */ bl sub_8020b3e4
/* 8020ADB4 00207D14 7C 64 1B 78 */ mr r4, r3
/* 8020ADB8 00207D18 7F 23 CB 78 */ mr r3, r25
/* 8020ADBC 00207D1C 4B E2 75 89 */ bl sub_80032344
/* 8020ADC0 00207D20 7C 7B 1B 78 */ mr r27, r3
/* 8020ADC4 00207D24 3C 60 43 4D */ lis r3, 0x434D444C@ha
/* 8020ADC8 00207D28 80 DB 00 14 */ lwz r6, 0x14(r27)
/* 8020ADCC 00207D2C 38 03 44 4C */ addi r0, r3, 0x434D444C@l
/* 8020ADD0 00207D30 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8020ADD4 00207D34 38 61 00 1C */ addi r3, r1, 0x1c
/* 8020ADD8 00207D38 90 01 00 24 */ stw r0, 0x24(r1)
/* 8020ADDC 00207D3C 38 A1 00 24 */ addi r5, r1, 0x24
/* 8020ADE0 00207D40 90 C1 00 28 */ stw r6, 0x28(r1)
/* 8020ADE4 00207D44 81 84 00 00 */ lwz r12, 0(r4)
/* 8020ADE8 00207D48 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8020ADEC 00207D4C 7D 89 03 A6 */ mtctr r12
/* 8020ADF0 00207D50 4E 80 04 21 */ bctrl
/* 8020ADF4 00207D54 80 7A 00 04 */ lwz r3, 4(r26)
/* 8020ADF8 00207D58 3B 23 01 58 */ addi r25, r3, 0x158
/* 8020ADFC 00207D5C 88 03 01 60 */ lbz r0, 0x160(r3)
/* 8020AE00 00207D60 28 00 00 00 */ cmplwi r0, 0
/* 8020AE04 00207D64 40 82 00 24 */ bne lbl_8020AE28
/* 8020AE08 00207D68 28 19 00 00 */ cmplwi r25, 0
/* 8020AE0C 00207D6C 41 82 00 10 */ beq lbl_8020AE1C
/* 8020AE10 00207D70 7F 23 CB 78 */ mr r3, r25
/* 8020AE14 00207D74 38 81 00 1C */ addi r4, r1, 0x1c
/* 8020AE18 00207D78 48 13 60 91 */ bl __ct__6CTokenFRC6CToken
lbl_8020AE1C:
/* 8020AE1C 00207D7C 38 00 00 01 */ li r0, 1
/* 8020AE20 00207D80 98 19 00 08 */ stb r0, 8(r25)
/* 8020AE24 00207D84 48 00 00 10 */ b lbl_8020AE34
lbl_8020AE28:
/* 8020AE28 00207D88 7F 23 CB 78 */ mr r3, r25
/* 8020AE2C 00207D8C 38 81 00 1C */ addi r4, r1, 0x1c
/* 8020AE30 00207D90 48 13 5E 95 */ bl __as__6CTokenFRC6CToken
lbl_8020AE34:
/* 8020AE34 00207D94 38 61 00 1C */ addi r3, r1, 0x1c
/* 8020AE38 00207D98 38 80 FF FF */ li r4, -1
/* 8020AE3C 00207D9C 48 13 60 05 */ bl __dt__6CTokenFv
/* 8020AE40 00207DA0 80 7A 00 04 */ lwz r3, 4(r26)
/* 8020AE44 00207DA4 38 63 01 58 */ addi r3, r3, 0x158
/* 8020AE48 00207DA8 48 13 5F 3D */ bl Lock__6CTokenFv
/* 8020AE4C 00207DAC 80 DB 00 18 */ lwz r6, 0x18(r27)
/* 8020AE50 00207DB0 3C 60 43 53 */ lis r3, 0x43534B52@ha
/* 8020AE54 00207DB4 38 03 4B 52 */ addi r0, r3, 0x43534B52@l
/* 8020AE58 00207DB8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 8020AE5C 00207DBC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8020AE60 00207DC0 38 61 00 0C */ addi r3, r1, 0xc
/* 8020AE64 00207DC4 38 A1 00 14 */ addi r5, r1, 0x14
/* 8020AE68 00207DC8 90 C1 00 18 */ stw r6, 0x18(r1)
/* 8020AE6C 00207DCC 81 84 00 00 */ lwz r12, 0(r4)
/* 8020AE70 00207DD0 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8020AE74 00207DD4 7D 89 03 A6 */ mtctr r12
/* 8020AE78 00207DD8 4E 80 04 21 */ bctrl
/* 8020AE7C 00207DDC 80 7A 00 04 */ lwz r3, 4(r26)
/* 8020AE80 00207DE0 3B 23 01 64 */ addi r25, r3, 0x164
/* 8020AE84 00207DE4 88 03 01 6C */ lbz r0, 0x16c(r3)
/* 8020AE88 00207DE8 28 00 00 00 */ cmplwi r0, 0
/* 8020AE8C 00207DEC 40 82 00 24 */ bne lbl_8020AEB0
/* 8020AE90 00207DF0 28 19 00 00 */ cmplwi r25, 0
/* 8020AE94 00207DF4 41 82 00 10 */ beq lbl_8020AEA4
/* 8020AE98 00207DF8 7F 23 CB 78 */ mr r3, r25
/* 8020AE9C 00207DFC 38 81 00 0C */ addi r4, r1, 0xc
/* 8020AEA0 00207E00 48 13 60 09 */ bl __ct__6CTokenFRC6CToken
lbl_8020AEA4:
/* 8020AEA4 00207E04 38 00 00 01 */ li r0, 1
/* 8020AEA8 00207E08 98 19 00 08 */ stb r0, 8(r25)
/* 8020AEAC 00207E0C 48 00 00 10 */ b lbl_8020AEBC
lbl_8020AEB0:
/* 8020AEB0 00207E10 7F 23 CB 78 */ mr r3, r25
/* 8020AEB4 00207E14 38 81 00 0C */ addi r4, r1, 0xc
/* 8020AEB8 00207E18 48 13 5E 0D */ bl __as__6CTokenFRC6CToken
lbl_8020AEBC:
/* 8020AEBC 00207E1C 38 61 00 0C */ addi r3, r1, 0xc
/* 8020AEC0 00207E20 38 80 FF FF */ li r4, -1
/* 8020AEC4 00207E24 48 13 5F 7D */ bl __dt__6CTokenFv
/* 8020AEC8 00207E28 80 7A 00 04 */ lwz r3, 4(r26)
/* 8020AECC 00207E2C 38 63 01 64 */ addi r3, r3, 0x164
/* 8020AED0 00207E30 48 13 5E B5 */ bl Lock__6CTokenFv
/* 8020AED4 00207E34 38 61 00 64 */ addi r3, r1, 0x64
/* 8020AED8 00207E38 38 80 00 00 */ li r4, 0
/* 8020AEDC 00207E3C 48 13 5F 65 */ bl __dt__6CTokenFv
/* 8020AEE0 00207E40 3C 1C 00 01 */ addis r0, r28, 1
/* 8020AEE4 00207E44 28 00 FF FF */ cmplwi r0, 0xffff
/* 8020AEE8 00207E48 41 82 00 5C */ beq lbl_8020AF44
/* 8020AEEC 00207E4C C0 5D 00 00 */ lfs f2, 0(r29)
/* 8020AEF0 00207E50 38 61 00 FC */ addi r3, r1, 0xfc
/* 8020AEF4 00207E54 C0 3D 00 04 */ lfs f1, 4(r29)
/* 8020AEF8 00207E58 38 81 00 54 */ addi r4, r1, 0x54
/* 8020AEFC 00207E5C C0 1D 00 08 */ lfs f0, 8(r29)
/* 8020AF00 00207E60 93 81 00 54 */ stw r28, 0x54(r1)
/* 8020AF04 00207E64 D0 41 00 58 */ stfs f2, 0x58(r1)
/* 8020AF08 00207E68 D0 21 00 5C */ stfs f1, 0x5c(r1)
/* 8020AF0C 00207E6C D0 01 00 60 */ stfs f0, 0x60(r1)
/* 8020AF10 00207E70 4B F0 BE 4D */ bl __ct__10CModelDataFRC10CStaticRes
/* 8020AF14 00207E74 80 7A 00 04 */ lwz r3, 4(r26)
/* 8020AF18 00207E78 38 81 00 FC */ addi r4, r1, 0xfc
/* 8020AF1C 00207E7C 38 63 00 B4 */ addi r3, r3, 0xb4
/* 8020AF20 00207E80 4B EC AD F5 */ bl __as__10CModelDataFRC10CModelData
/* 8020AF24 00207E84 38 61 00 FC */ addi r3, r1, 0xfc
/* 8020AF28 00207E88 38 80 FF FF */ li r4, -1
/* 8020AF2C 00207E8C 4B F0 BB 21 */ bl __dt__10CModelDataFv
/* 8020AF30 00207E90 80 7A 00 04 */ lwz r3, 4(r26)
/* 8020AF34 00207E94 38 80 00 00 */ li r4, 0
/* 8020AF38 00207E98 38 A0 00 00 */ li r5, 0
/* 8020AF3C 00207E9C 38 63 00 B4 */ addi r3, r3, 0xb4
/* 8020AF40 00207EA0 4B F0 AD 6D */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli
lbl_8020AF44:
/* 8020AF44 00207EA4 3C 1E 00 01 */ addis r0, r30, 1
/* 8020AF48 00207EA8 28 00 FF FF */ cmplwi r0, 0xffff
/* 8020AF4C 00207EAC 41 82 00 88 */ beq lbl_8020AFD4
/* 8020AF50 00207EB0 C0 5F 00 00 */ lfs f2, 0(r31)
/* 8020AF54 00207EB4 38 61 00 B0 */ addi r3, r1, 0xb0
/* 8020AF58 00207EB8 C0 3F 00 04 */ lfs f1, 4(r31)
/* 8020AF5C 00207EBC 38 81 00 44 */ addi r4, r1, 0x44
/* 8020AF60 00207EC0 C0 1F 00 08 */ lfs f0, 8(r31)
/* 8020AF64 00207EC4 93 C1 00 44 */ stw r30, 0x44(r1)
/* 8020AF68 00207EC8 D0 41 00 48 */ stfs f2, 0x48(r1)
/* 8020AF6C 00207ECC D0 21 00 4C */ stfs f1, 0x4c(r1)
/* 8020AF70 00207ED0 D0 01 00 50 */ stfs f0, 0x50(r1)
/* 8020AF74 00207ED4 4B F0 BD E9 */ bl __ct__10CModelDataFRC10CStaticRes
/* 8020AF78 00207ED8 80 7A 00 04 */ lwz r3, 4(r26)
/* 8020AF7C 00207EDC 38 81 00 B0 */ addi r4, r1, 0xb0
/* 8020AF80 00207EE0 38 63 01 00 */ addi r3, r3, 0x100
/* 8020AF84 00207EE4 4B EC AD 91 */ bl __as__10CModelDataFRC10CModelData
/* 8020AF88 00207EE8 38 61 00 B0 */ addi r3, r1, 0xb0
/* 8020AF8C 00207EEC 38 80 FF FF */ li r4, -1
/* 8020AF90 00207EF0 4B F0 BA BD */ bl __dt__10CModelDataFv
/* 8020AF94 00207EF4 80 7A 00 04 */ lwz r3, 4(r26)
/* 8020AF98 00207EF8 38 80 00 00 */ li r4, 0
/* 8020AF9C 00207EFC 38 A0 00 00 */ li r5, 0
/* 8020AFA0 00207F00 38 63 01 00 */ addi r3, r3, 0x100
/* 8020AFA4 00207F04 4B F0 AD 09 */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli
/* 8020AFA8 00207F08 80 9A 00 04 */ lwz r4, 4(r26)
/* 8020AFAC 00207F0C 38 61 00 70 */ addi r3, r1, 0x70
/* 8020AFB0 00207F10 38 84 01 00 */ addi r4, r4, 0x100
/* 8020AFB4 00207F14 4B F0 A6 11 */ bl GetBounds__10CModelDataCFv
/* 8020AFB8 00207F18 C0 41 00 84 */ lfs f2, 0x84(r1)
/* 8020AFBC 00207F1C C0 21 00 78 */ lfs f1, 0x78(r1)
/* 8020AFC0 00207F20 C0 1F 00 08 */ lfs f0, 8(r31)
/* 8020AFC4 00207F24 EC 22 08 28 */ fsubs f1, f2, f1
/* 8020AFC8 00207F28 EC 01 00 32 */ fmuls f0, f1, f0
/* 8020AFCC 00207F2C D0 1A 00 1C */ stfs f0, 0x1c(r26)
/* 8020AFD0 00207F30 48 00 00 0C */ b lbl_8020AFDC
lbl_8020AFD4:
/* 8020AFD4 00207F34 C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2)
/* 8020AFD8 00207F38 D0 1A 00 1C */ stfs f0, 0x1c(r26)
lbl_8020AFDC:
/* 8020AFDC 00207F3C 7F 43 D3 78 */ mr r3, r26
/* 8020AFE0 00207F40 4B FF FB 99 */ bl StartTransition__18CWorldTransManagerFv
/* 8020AFE4 00207F44 7F 43 D3 78 */ mr r3, r26
/* 8020AFE8 00207F48 48 00 00 19 */ bl TouchModels__18CWorldTransManagerFv
/* 8020AFEC 00207F4C BB 21 01 A4 */ lmw r25, 0x1a4(r1)
/* 8020AFF0 00207F50 80 01 01 C4 */ lwz r0, 0x1c4(r1)
/* 8020AFF4 00207F54 7C 08 03 A6 */ mtlr r0
/* 8020AFF8 00207F58 38 21 01 C0 */ addi r1, r1, 0x1c0
/* 8020AFFC 00207F5C 4E 80 00 20 */ blr
.global TouchModels__18CWorldTransManagerFv
TouchModels__18CWorldTransManagerFv:
/* 8020B000 00207F60 94 21 FE E0 */ stwu r1, -0x120(r1)
/* 8020B004 00207F64 7C 08 02 A6 */ mflr r0
/* 8020B008 00207F68 90 01 01 24 */ stw r0, 0x124(r1)
/* 8020B00C 00207F6C 93 E1 01 1C */ stw r31, 0x11c(r1)
/* 8020B010 00207F70 83 E3 00 04 */ lwz r31, 4(r3)
/* 8020B014 00207F74 28 1F 00 00 */ cmplwi r31, 0
/* 8020B018 00207F78 41 82 03 B8 */ beq lbl_8020B3D0
/* 8020B01C 00207F7C 88 1F 01 54 */ lbz r0, 0x154(r31)
/* 8020B020 00207F80 28 00 00 00 */ cmplwi r0, 0
/* 8020B024 00207F84 41 82 00 E0 */ beq lbl_8020B104
/* 8020B028 00207F88 80 7F 01 4C */ lwz r3, 0x14c(r31)
/* 8020B02C 00207F8C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8020B030 00207F90 28 00 00 00 */ cmplwi r0, 0
/* 8020B034 00207F94 41 82 00 D0 */ beq lbl_8020B104
/* 8020B038 00207F98 80 03 00 08 */ lwz r0, 8(r3)
/* 8020B03C 00207F9C 38 61 00 80 */ addi r3, r1, 0x80
/* 8020B040 00207FA0 38 81 00 2C */ addi r4, r1, 0x2c
/* 8020B044 00207FA4 90 01 00 2C */ stw r0, 0x2c(r1)
/* 8020B048 00207FA8 C0 1F 00 08 */ lfs f0, 8(r31)
/* 8020B04C 00207FAC D0 01 00 30 */ stfs f0, 0x30(r1)
/* 8020B050 00207FB0 C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 8020B054 00207FB4 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 8020B058 00207FB8 C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 8020B05C 00207FBC D0 01 00 38 */ stfs f0, 0x38(r1)
/* 8020B060 00207FC0 4B F0 BC FD */ bl __ct__10CModelDataFRC10CStaticRes
/* 8020B064 00207FC4 38 7F 00 68 */ addi r3, r31, 0x68
/* 8020B068 00207FC8 38 81 00 80 */ addi r4, r1, 0x80
/* 8020B06C 00207FCC 4B EC AC A9 */ bl __as__10CModelDataFRC10CModelData
/* 8020B070 00207FD0 38 61 00 80 */ addi r3, r1, 0x80
/* 8020B074 00207FD4 38 80 FF FF */ li r4, -1
/* 8020B078 00207FD8 4B F0 B9 D5 */ bl __dt__10CModelDataFv
/* 8020B07C 00207FDC 38 7F 01 4C */ addi r3, r31, 0x14c
/* 8020B080 00207FE0 38 81 00 20 */ addi r4, r1, 0x20
/* 8020B084 00207FE4 38 00 00 00 */ li r0, 0
/* 8020B088 00207FE8 7C 03 20 40 */ cmplw r3, r4
/* 8020B08C 00207FEC 98 01 00 28 */ stb r0, 0x28(r1)
/* 8020B090 00207FF0 41 82 00 54 */ beq lbl_8020B0E4
/* 8020B094 00207FF4 28 00 00 00 */ cmplwi r0, 0
/* 8020B098 00207FF8 41 82 00 30 */ beq lbl_8020B0C8
/* 8020B09C 00207FFC 88 1F 01 54 */ lbz r0, 0x154(r31)
/* 8020B0A0 00208000 28 00 00 00 */ cmplwi r0, 0
/* 8020B0A4 00208004 40 82 00 1C */ bne lbl_8020B0C0
/* 8020B0A8 00208008 34 7F 01 4C */ addic. r3, r31, 0x14c
/* 8020B0AC 0020800C 41 82 00 08 */ beq lbl_8020B0B4
/* 8020B0B0 00208010 48 13 5D F9 */ bl __ct__6CTokenFRC6CToken
lbl_8020B0B4:
/* 8020B0B4 00208014 38 00 00 01 */ li r0, 1
/* 8020B0B8 00208018 98 1F 01 54 */ stb r0, 0x154(r31)
/* 8020B0BC 0020801C 48 00 00 28 */ b lbl_8020B0E4
lbl_8020B0C0:
/* 8020B0C0 00208020 48 13 5C 05 */ bl __as__6CTokenFRC6CToken
/* 8020B0C4 00208024 48 00 00 20 */ b lbl_8020B0E4
lbl_8020B0C8:
/* 8020B0C8 00208028 88 1F 01 54 */ lbz r0, 0x154(r31)
/* 8020B0CC 0020802C 28 00 00 00 */ cmplwi r0, 0
/* 8020B0D0 00208030 41 82 00 0C */ beq lbl_8020B0DC
/* 8020B0D4 00208034 38 80 FF FF */ li r4, -1
/* 8020B0D8 00208038 48 13 5D 69 */ bl __dt__6CTokenFv
lbl_8020B0DC:
/* 8020B0DC 0020803C 38 00 00 00 */ li r0, 0
/* 8020B0E0 00208040 98 1F 01 54 */ stb r0, 0x154(r31)
lbl_8020B0E4:
/* 8020B0E4 00208044 88 01 00 28 */ lbz r0, 0x28(r1)
/* 8020B0E8 00208048 28 00 00 00 */ cmplwi r0, 0
/* 8020B0EC 0020804C 41 82 00 10 */ beq lbl_8020B0FC
/* 8020B0F0 00208050 38 61 00 20 */ addi r3, r1, 0x20
/* 8020B0F4 00208054 38 80 FF FF */ li r4, -1
/* 8020B0F8 00208058 48 13 5D 49 */ bl __dt__6CTokenFv
lbl_8020B0FC:
/* 8020B0FC 0020805C 38 00 00 00 */ li r0, 0
/* 8020B100 00208060 98 01 00 28 */ stb r0, 0x28(r1)
lbl_8020B104:
/* 8020B104 00208064 88 1F 01 60 */ lbz r0, 0x160(r31)
/* 8020B108 00208068 28 00 00 00 */ cmplwi r0, 0
/* 8020B10C 0020806C 41 82 01 E4 */ beq lbl_8020B2F0
/* 8020B110 00208070 88 1F 01 6C */ lbz r0, 0x16c(r31)
/* 8020B114 00208074 28 00 00 00 */ cmplwi r0, 0
/* 8020B118 00208078 41 82 01 D8 */ beq lbl_8020B2F0
/* 8020B11C 0020807C 80 7F 01 58 */ lwz r3, 0x158(r31)
/* 8020B120 00208080 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8020B124 00208084 28 00 00 00 */ cmplwi r0, 0
/* 8020B128 00208088 41 82 01 C8 */ beq lbl_8020B2F0
/* 8020B12C 0020808C 80 7F 01 64 */ lwz r3, 0x164(r31)
/* 8020B130 00208090 80 03 00 10 */ lwz r0, 0x10(r3)
/* 8020B134 00208094 28 00 00 00 */ cmplwi r0, 0
/* 8020B138 00208098 41 82 01 B8 */ beq lbl_8020B2F0
/* 8020B13C 0020809C 48 00 02 A9 */ bl sub_8020b3e4
/* 8020B140 002080A0 80 DF 00 18 */ lwz r6, 0x18(r31)
/* 8020B144 002080A4 38 00 00 01 */ li r0, 1
/* 8020B148 002080A8 80 BF 00 00 */ lwz r5, 0(r31)
/* 8020B14C 002080AC 38 81 00 3C */ addi r4, r1, 0x3c
/* 8020B150 002080B0 90 61 00 40 */ stw r3, 0x40(r1)
/* 8020B154 002080B4 38 61 00 CC */ addi r3, r1, 0xcc
/* 8020B158 002080B8 90 A1 00 3C */ stw r5, 0x3c(r1)
/* 8020B15C 002080BC C0 1F 00 08 */ lfs f0, 8(r31)
/* 8020B160 002080C0 D0 01 00 44 */ stfs f0, 0x44(r1)
/* 8020B164 002080C4 C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 8020B168 002080C8 D0 01 00 48 */ stfs f0, 0x48(r1)
/* 8020B16C 002080CC C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 8020B170 002080D0 D0 01 00 4C */ stfs f0, 0x4c(r1)
/* 8020B174 002080D4 98 01 00 50 */ stb r0, 0x50(r1)
/* 8020B178 002080D8 90 C1 00 54 */ stw r6, 0x54(r1)
/* 8020B17C 002080DC 4B F0 B9 D9 */ bl __ct__10CModelDataFRC8CAnimRes
/* 8020B180 002080E0 38 7F 00 1C */ addi r3, r31, 0x1c
/* 8020B184 002080E4 38 81 00 CC */ addi r4, r1, 0xcc
/* 8020B188 002080E8 4B EC AB 8D */ bl __as__10CModelDataFRC10CModelData
/* 8020B18C 002080EC 80 81 00 54 */ lwz r4, 0x54(r1)
/* 8020B190 002080F0 38 00 00 00 */ li r0, 0
/* 8020B194 002080F4 C0 02 B1 30 */ lfs f0, lbl_805ACE50@sda21(r2)
/* 8020B198 002080F8 38 C0 FF FF */ li r6, -1
/* 8020B19C 002080FC 38 60 00 01 */ li r3, 1
/* 8020B1A0 00208100 90 81 00 58 */ stw r4, 0x58(r1)
/* 8020B1A4 00208104 38 81 00 58 */ addi r4, r1, 0x58
/* 8020B1A8 00208108 38 A0 00 00 */ li r5, 0
/* 8020B1AC 0020810C 90 C1 00 5C */ stw r6, 0x5c(r1)
/* 8020B1B0 00208110 D0 01 00 60 */ stfs f0, 0x60(r1)
/* 8020B1B4 00208114 98 61 00 64 */ stb r3, 0x64(r1)
/* 8020B1B8 00208118 90 01 00 68 */ stw r0, 0x68(r1)
/* 8020B1BC 0020811C 90 01 00 6C */ stw r0, 0x6c(r1)
/* 8020B1C0 00208120 98 01 00 70 */ stb r0, 0x70(r1)
/* 8020B1C4 00208124 90 01 00 74 */ stw r0, 0x74(r1)
/* 8020B1C8 00208128 90 01 00 78 */ stw r0, 0x78(r1)
/* 8020B1CC 0020812C 90 01 00 7C */ stw r0, 0x7c(r1)
/* 8020B1D0 00208130 80 7F 00 2C */ lwz r3, 0x2c(r31)
/* 8020B1D4 00208134 4B E2 1B A9 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb
/* 8020B1D8 00208138 38 7F 01 58 */ addi r3, r31, 0x158
/* 8020B1DC 0020813C 38 81 00 14 */ addi r4, r1, 0x14
/* 8020B1E0 00208140 38 00 00 00 */ li r0, 0
/* 8020B1E4 00208144 7C 03 20 40 */ cmplw r3, r4
/* 8020B1E8 00208148 98 01 00 1C */ stb r0, 0x1c(r1)
/* 8020B1EC 0020814C 41 82 00 54 */ beq lbl_8020B240
/* 8020B1F0 00208150 28 00 00 00 */ cmplwi r0, 0
/* 8020B1F4 00208154 41 82 00 30 */ beq lbl_8020B224
/* 8020B1F8 00208158 88 1F 01 60 */ lbz r0, 0x160(r31)
/* 8020B1FC 0020815C 28 00 00 00 */ cmplwi r0, 0
/* 8020B200 00208160 40 82 00 1C */ bne lbl_8020B21C
/* 8020B204 00208164 34 7F 01 58 */ addic. r3, r31, 0x158
/* 8020B208 00208168 41 82 00 08 */ beq lbl_8020B210
/* 8020B20C 0020816C 48 13 5C 9D */ bl __ct__6CTokenFRC6CToken
lbl_8020B210:
/* 8020B210 00208170 38 00 00 01 */ li r0, 1
/* 8020B214 00208174 98 1F 01 60 */ stb r0, 0x160(r31)
/* 8020B218 00208178 48 00 00 28 */ b lbl_8020B240
lbl_8020B21C:
/* 8020B21C 0020817C 48 13 5A A9 */ bl __as__6CTokenFRC6CToken
/* 8020B220 00208180 48 00 00 20 */ b lbl_8020B240
lbl_8020B224:
/* 8020B224 00208184 88 1F 01 60 */ lbz r0, 0x160(r31)
/* 8020B228 00208188 28 00 00 00 */ cmplwi r0, 0
/* 8020B22C 0020818C 41 82 00 0C */ beq lbl_8020B238
/* 8020B230 00208190 38 80 FF FF */ li r4, -1
/* 8020B234 00208194 48 13 5C 0D */ bl __dt__6CTokenFv
lbl_8020B238:
/* 8020B238 00208198 38 00 00 00 */ li r0, 0
/* 8020B23C 0020819C 98 1F 01 60 */ stb r0, 0x160(r31)
lbl_8020B240:
/* 8020B240 002081A0 88 01 00 1C */ lbz r0, 0x1c(r1)
/* 8020B244 002081A4 28 00 00 00 */ cmplwi r0, 0
/* 8020B248 002081A8 41 82 00 10 */ beq lbl_8020B258
/* 8020B24C 002081AC 38 61 00 14 */ addi r3, r1, 0x14
/* 8020B250 002081B0 38 80 FF FF */ li r4, -1
/* 8020B254 002081B4 48 13 5B ED */ bl __dt__6CTokenFv
lbl_8020B258:
/* 8020B258 002081B8 38 7F 01 64 */ addi r3, r31, 0x164
/* 8020B25C 002081BC 38 81 00 08 */ addi r4, r1, 8
/* 8020B260 002081C0 38 00 00 00 */ li r0, 0
/* 8020B264 002081C4 7C 03 20 40 */ cmplw r3, r4
/* 8020B268 002081C8 98 01 00 1C */ stb r0, 0x1c(r1)
/* 8020B26C 002081CC 98 01 00 10 */ stb r0, 0x10(r1)
/* 8020B270 002081D0 41 82 00 54 */ beq lbl_8020B2C4
/* 8020B274 002081D4 28 00 00 00 */ cmplwi r0, 0
/* 8020B278 002081D8 41 82 00 30 */ beq lbl_8020B2A8
/* 8020B27C 002081DC 88 1F 01 6C */ lbz r0, 0x16c(r31)
/* 8020B280 002081E0 28 00 00 00 */ cmplwi r0, 0
/* 8020B284 002081E4 40 82 00 1C */ bne lbl_8020B2A0
/* 8020B288 002081E8 34 7F 01 64 */ addic. r3, r31, 0x164
/* 8020B28C 002081EC 41 82 00 08 */ beq lbl_8020B294
/* 8020B290 002081F0 48 13 5C 19 */ bl __ct__6CTokenFRC6CToken
lbl_8020B294:
/* 8020B294 002081F4 38 00 00 01 */ li r0, 1
/* 8020B298 002081F8 98 1F 01 6C */ stb r0, 0x16c(r31)
/* 8020B29C 002081FC 48 00 00 28 */ b lbl_8020B2C4
lbl_8020B2A0:
/* 8020B2A0 00208200 48 13 5A 25 */ bl __as__6CTokenFRC6CToken
/* 8020B2A4 00208204 48 00 00 20 */ b lbl_8020B2C4
lbl_8020B2A8:
/* 8020B2A8 00208208 88 1F 01 6C */ lbz r0, 0x16c(r31)
/* 8020B2AC 0020820C 28 00 00 00 */ cmplwi r0, 0
/* 8020B2B0 00208210 41 82 00 0C */ beq lbl_8020B2BC
/* 8020B2B4 00208214 38 80 FF FF */ li r4, -1
/* 8020B2B8 00208218 48 13 5B 89 */ bl __dt__6CTokenFv
lbl_8020B2BC:
/* 8020B2BC 0020821C 38 00 00 00 */ li r0, 0
/* 8020B2C0 00208220 98 1F 01 6C */ stb r0, 0x16c(r31)
lbl_8020B2C4:
/* 8020B2C4 00208224 88 01 00 10 */ lbz r0, 0x10(r1)
/* 8020B2C8 00208228 28 00 00 00 */ cmplwi r0, 0
/* 8020B2CC 0020822C 41 82 00 10 */ beq lbl_8020B2DC
/* 8020B2D0 00208230 38 61 00 08 */ addi r3, r1, 8
/* 8020B2D4 00208234 38 80 FF FF */ li r4, -1
/* 8020B2D8 00208238 48 13 5B 69 */ bl __dt__6CTokenFv
lbl_8020B2DC:
/* 8020B2DC 0020823C 38 00 00 00 */ li r0, 0
/* 8020B2E0 00208240 38 61 00 CC */ addi r3, r1, 0xcc
/* 8020B2E4 00208244 98 01 00 10 */ stb r0, 0x10(r1)
/* 8020B2E8 00208248 38 80 FF FF */ li r4, -1
/* 8020B2EC 0020824C 4B F0 B7 61 */ bl __dt__10CModelDataFv
lbl_8020B2F0:
/* 8020B2F0 00208250 80 1F 00 2C */ lwz r0, 0x2c(r31)
/* 8020B2F4 00208254 38 60 00 00 */ li r3, 0
/* 8020B2F8 00208258 28 00 00 00 */ cmplwi r0, 0
/* 8020B2FC 0020825C 40 82 00 14 */ bne lbl_8020B310
/* 8020B300 00208260 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 8020B304 00208264 28 00 00 00 */ cmplwi r0, 0
/* 8020B308 00208268 40 82 00 08 */ bne lbl_8020B310
/* 8020B30C 0020826C 38 60 00 01 */ li r3, 1
lbl_8020B310:
/* 8020B310 00208270 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8020B314 00208274 40 82 00 14 */ bne lbl_8020B328
/* 8020B318 00208278 38 7F 00 1C */ addi r3, r31, 0x1c
/* 8020B31C 0020827C 38 80 00 00 */ li r4, 0
/* 8020B320 00208280 38 A0 00 00 */ li r5, 0
/* 8020B324 00208284 4B F0 A9 89 */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli
lbl_8020B328:
/* 8020B328 00208288 80 1F 00 C4 */ lwz r0, 0xc4(r31)
/* 8020B32C 0020828C 38 60 00 00 */ li r3, 0
/* 8020B330 00208290 28 00 00 00 */ cmplwi r0, 0
/* 8020B334 00208294 40 82 00 14 */ bne lbl_8020B348
/* 8020B338 00208298 88 1F 00 DC */ lbz r0, 0xdc(r31)
/* 8020B33C 0020829C 28 00 00 00 */ cmplwi r0, 0
/* 8020B340 002082A0 40 82 00 08 */ bne lbl_8020B348
/* 8020B344 002082A4 38 60 00 01 */ li r3, 1
lbl_8020B348:
/* 8020B348 002082A8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8020B34C 002082AC 40 82 00 14 */ bne lbl_8020B360
/* 8020B350 002082B0 38 7F 00 B4 */ addi r3, r31, 0xb4
/* 8020B354 002082B4 38 80 00 00 */ li r4, 0
/* 8020B358 002082B8 38 A0 00 00 */ li r5, 0
/* 8020B35C 002082BC 4B F0 A9 51 */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli
lbl_8020B360:
/* 8020B360 002082C0 80 1F 01 10 */ lwz r0, 0x110(r31)
/* 8020B364 002082C4 38 60 00 00 */ li r3, 0
/* 8020B368 002082C8 28 00 00 00 */ cmplwi r0, 0
/* 8020B36C 002082CC 40 82 00 14 */ bne lbl_8020B380
/* 8020B370 002082D0 88 1F 01 28 */ lbz r0, 0x128(r31)
/* 8020B374 002082D4 28 00 00 00 */ cmplwi r0, 0
/* 8020B378 002082D8 40 82 00 08 */ bne lbl_8020B380
/* 8020B37C 002082DC 38 60 00 01 */ li r3, 1
lbl_8020B380:
/* 8020B380 002082E0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8020B384 002082E4 40 82 00 14 */ bne lbl_8020B398
/* 8020B388 002082E8 38 7F 01 00 */ addi r3, r31, 0x100
/* 8020B38C 002082EC 38 80 00 00 */ li r4, 0
/* 8020B390 002082F0 38 A0 00 00 */ li r5, 0
/* 8020B394 002082F4 4B F0 A9 19 */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli
lbl_8020B398:
/* 8020B398 002082F8 80 1F 00 78 */ lwz r0, 0x78(r31)
/* 8020B39C 002082FC 38 60 00 00 */ li r3, 0
/* 8020B3A0 00208300 28 00 00 00 */ cmplwi r0, 0
/* 8020B3A4 00208304 40 82 00 14 */ bne lbl_8020B3B8
/* 8020B3A8 00208308 88 1F 00 90 */ lbz r0, 0x90(r31)
/* 8020B3AC 0020830C 28 00 00 00 */ cmplwi r0, 0
/* 8020B3B0 00208310 40 82 00 08 */ bne lbl_8020B3B8
/* 8020B3B4 00208314 38 60 00 01 */ li r3, 1
lbl_8020B3B8:
/* 8020B3B8 00208318 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8020B3BC 0020831C 40 82 00 14 */ bne lbl_8020B3D0
/* 8020B3C0 00208320 38 7F 00 68 */ addi r3, r31, 0x68
/* 8020B3C4 00208324 38 80 00 00 */ li r4, 0
/* 8020B3C8 00208328 38 A0 00 00 */ li r5, 0
/* 8020B3CC 0020832C 4B F0 A8 E1 */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli
lbl_8020B3D0:
/* 8020B3D0 00208330 80 01 01 24 */ lwz r0, 0x124(r1)
/* 8020B3D4 00208334 83 E1 01 1C */ lwz r31, 0x11c(r1)
/* 8020B3D8 00208338 7C 08 03 A6 */ mtlr r0
/* 8020B3DC 0020833C 38 21 01 20 */ addi r1, r1, 0x120
/* 8020B3E0 00208340 4E 80 00 20 */ blr
.global sub_8020b3e4
sub_8020b3e4:
/* 8020B3E4 00208344 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8020B3E8 00208348 7C 08 02 A6 */ mflr r0
/* 8020B3EC 0020834C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8020B3F0 00208350 38 61 00 08 */ addi r3, r1, 8
/* 8020B3F4 00208354 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8020B3F8 00208358 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8020B3FC 0020835C 80 8D A0 80 */ lwz r4, gpGameState@sda21(r13)
/* 8020B400 00208360 4B FC 85 21 */ bl GetPlayerState__10CGameStateCFv
/* 8020B404 00208364 80 81 00 08 */ lwz r4, 8(r1)
/* 8020B408 00208368 38 61 00 08 */ addi r3, r1, 8
/* 8020B40C 0020836C 83 E4 00 00 */ lwz r31, 0(r4)
/* 8020B410 00208370 4B DF DA FD */ bl sub_80008f0c
/* 8020B414 00208374 83 DF 00 20 */ lwz r30, 0x20(r31)
/* 8020B418 00208378 7F E3 FB 78 */ mr r3, r31
/* 8020B41C 0020837C 4B E8 60 A9 */ bl GetIsFusionEnabled__12CPlayerStateFv
/* 8020B420 00208380 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8020B424 00208384 41 82 00 48 */ beq lbl_8020B46C
/* 8020B428 00208388 2C 1E 00 02 */ cmpwi r30, 2
/* 8020B42C 0020838C 41 82 00 2C */ beq lbl_8020B458
/* 8020B430 00208390 40 80 00 14 */ bge lbl_8020B444
/* 8020B434 00208394 2C 1E 00 00 */ cmpwi r30, 0
/* 8020B438 00208398 41 82 00 18 */ beq lbl_8020B450
/* 8020B43C 0020839C 40 80 00 24 */ bge lbl_8020B460
/* 8020B440 002083A0 48 00 00 2C */ b lbl_8020B46C
lbl_8020B444:
/* 8020B444 002083A4 2C 1E 00 04 */ cmpwi r30, 4
/* 8020B448 002083A8 40 80 00 24 */ bge lbl_8020B46C
/* 8020B44C 002083AC 48 00 00 1C */ b lbl_8020B468
lbl_8020B450:
/* 8020B450 002083B0 3B C0 00 04 */ li r30, 4
/* 8020B454 002083B4 48 00 00 18 */ b lbl_8020B46C
lbl_8020B458:
/* 8020B458 002083B8 3B C0 00 07 */ li r30, 7
/* 8020B45C 002083BC 48 00 00 10 */ b lbl_8020B46C
lbl_8020B460:
/* 8020B460 002083C0 3B C0 00 06 */ li r30, 6
/* 8020B464 002083C4 48 00 00 08 */ b lbl_8020B46C
lbl_8020B468:
/* 8020B468 002083C8 3B C0 00 08 */ li r30, 8
lbl_8020B46C:
/* 8020B46C 002083CC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8020B470 002083D0 7F C3 F3 78 */ mr r3, r30
/* 8020B474 002083D4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8020B478 002083D8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8020B47C 002083DC 7C 08 03 A6 */ mtlr r0
/* 8020B480 002083E0 38 21 00 20 */ addi r1, r1, 0x20
/* 8020B484 002083E4 4E 80 00 20 */ blr
.global DisableTransition__18CWorldTransManagerFv
DisableTransition__18CWorldTransManagerFv:
/* 8020B488 002083E8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8020B48C 002083EC 7C 08 02 A6 */ mflr r0
/* 8020B490 002083F0 38 80 00 00 */ li r4, 0
/* 8020B494 002083F4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8020B498 002083F8 38 00 00 00 */ li r0, 0
/* 8020B49C 002083FC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8020B4A0 00208400 7C 7F 1B 78 */ mr r31, r3
/* 8020B4A4 00208404 90 03 00 30 */ stw r0, 0x30(r3)
/* 8020B4A8 00208408 38 7F 00 04 */ addi r3, r31, 4
/* 8020B4AC 0020840C 4B FF E3 25 */ bl sub_802097d0
/* 8020B4B0 00208410 80 7F 00 08 */ lwz r3, 8(r31)
/* 8020B4B4 00208414 38 80 00 01 */ li r4, 1
/* 8020B4B8 00208418 48 0B E7 E1 */ bl __dt__15CGuiTextSupportFv
/* 8020B4BC 0020841C 38 60 00 00 */ li r3, 0
/* 8020B4C0 00208420 90 7F 00 08 */ stw r3, 8(r31)
/* 8020B4C4 00208424 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 8020B4C8 00208428 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 8020B4CC 0020842C 98 1F 00 44 */ stb r0, 0x44(r31)
/* 8020B4D0 00208430 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8020B4D4 00208434 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8020B4D8 00208438 7C 08 03 A6 */ mtlr r0
/* 8020B4DC 0020843C 38 21 00 10 */ addi r1, r1, 0x10
/* 8020B4E0 00208440 4E 80 00 20 */ blr
.global sub_8020b4e4
sub_8020b4e4:
/* 8020B4E4 00208444 94 21 FE C0 */ stwu r1, -0x140(r1)
/* 8020B4E8 00208448 7C 08 02 A6 */ mflr r0
/* 8020B4EC 0020844C 90 01 01 44 */ stw r0, 0x144(r1)
/* 8020B4F0 00208450 93 E1 01 3C */ stw r31, 0x13c(r1)
/* 8020B4F4 00208454 7C 7F 1B 78 */ mr r31, r3
/* 8020B4F8 00208458 38 61 00 EC */ addi r3, r1, 0xec
/* 8020B4FC 0020845C 80 04 00 00 */ lwz r0, 0(r4)
/* 8020B500 00208460 90 1F 00 00 */ stw r0, 0(r31)
/* 8020B504 00208464 80 04 00 04 */ lwz r0, 4(r4)
/* 8020B508 00208468 90 1F 00 04 */ stw r0, 4(r31)
/* 8020B50C 0020846C C0 04 00 08 */ lfs f0, 8(r4)
/* 8020B510 00208470 D0 1F 00 08 */ stfs f0, 8(r31)
/* 8020B514 00208474 C0 04 00 0C */ lfs f0, 0xc(r4)
/* 8020B518 00208478 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 8020B51C 0020847C C0 04 00 10 */ lfs f0, 0x10(r4)
/* 8020B520 00208480 D0 1F 00 10 */ stfs f0, 0x10(r31)
/* 8020B524 00208484 88 04 00 14 */ lbz r0, 0x14(r4)
/* 8020B528 00208488 98 1F 00 14 */ stb r0, 0x14(r31)
/* 8020B52C 0020848C 80 04 00 18 */ lwz r0, 0x18(r4)
/* 8020B530 00208490 90 1F 00 18 */ stw r0, 0x18(r31)
/* 8020B534 00208494 4B E2 F2 71 */ bl CModelDataNull__10CModelDataFv
/* 8020B538 00208498 38 7F 00 1C */ addi r3, r31, 0x1c
/* 8020B53C 0020849C 38 81 00 EC */ addi r4, r1, 0xec
/* 8020B540 002084A0 4B E0 D8 4D */ bl __ct__10CModelDataFRC10CModelData
/* 8020B544 002084A4 38 61 00 EC */ addi r3, r1, 0xec
/* 8020B548 002084A8 38 80 FF FF */ li r4, -1
/* 8020B54C 002084AC 4B F0 B5 01 */ bl __dt__10CModelDataFv
/* 8020B550 002084B0 38 61 00 A0 */ addi r3, r1, 0xa0
/* 8020B554 002084B4 4B E2 F2 51 */ bl CModelDataNull__10CModelDataFv
/* 8020B558 002084B8 38 7F 00 68 */ addi r3, r31, 0x68
/* 8020B55C 002084BC 38 81 00 A0 */ addi r4, r1, 0xa0
/* 8020B560 002084C0 4B E0 D8 2D */ bl __ct__10CModelDataFRC10CModelData
/* 8020B564 002084C4 38 61 00 A0 */ addi r3, r1, 0xa0
/* 8020B568 002084C8 38 80 FF FF */ li r4, -1
/* 8020B56C 002084CC 4B F0 B4 E1 */ bl __dt__10CModelDataFv
/* 8020B570 002084D0 38 61 00 54 */ addi r3, r1, 0x54
/* 8020B574 002084D4 4B E2 F2 31 */ bl CModelDataNull__10CModelDataFv
/* 8020B578 002084D8 38 7F 00 B4 */ addi r3, r31, 0xb4
/* 8020B57C 002084DC 38 81 00 54 */ addi r4, r1, 0x54
/* 8020B580 002084E0 4B E0 D8 0D */ bl __ct__10CModelDataFRC10CModelData
/* 8020B584 002084E4 38 61 00 54 */ addi r3, r1, 0x54
/* 8020B588 002084E8 38 80 FF FF */ li r4, -1
/* 8020B58C 002084EC 4B F0 B4 C1 */ bl __dt__10CModelDataFv
/* 8020B590 002084F0 38 61 00 08 */ addi r3, r1, 8
/* 8020B594 002084F4 4B E2 F2 11 */ bl CModelDataNull__10CModelDataFv
/* 8020B598 002084F8 38 7F 01 00 */ addi r3, r31, 0x100
/* 8020B59C 002084FC 38 81 00 08 */ addi r4, r1, 8
/* 8020B5A0 00208500 4B E0 D7 ED */ bl __ct__10CModelDataFRC10CModelData
/* 8020B5A4 00208504 38 61 00 08 */ addi r3, r1, 8
/* 8020B5A8 00208508 38 80 FF FF */ li r4, -1
/* 8020B5AC 0020850C 4B F0 B4 A1 */ bl __dt__10CModelDataFv
/* 8020B5B0 00208510 38 00 00 00 */ li r0, 0
/* 8020B5B4 00208514 3C 60 80 5A */ lis r3, sIdentity__12CTransform4f@ha
/* 8020B5B8 00208518 98 1F 01 54 */ stb r0, 0x154(r31)
/* 8020B5BC 0020851C 38 83 66 70 */ addi r4, r3, sIdentity__12CTransform4f@l
/* 8020B5C0 00208520 38 7F 01 70 */ addi r3, r31, 0x170
/* 8020B5C4 00208524 98 1F 01 60 */ stb r0, 0x160(r31)
/* 8020B5C8 00208528 98 1F 01 6C */ stb r0, 0x16c(r31)
/* 8020B5CC 0020852C 48 10 75 A9 */ bl __ct__12CTransform4fFRC12CTransform4f
/* 8020B5D0 00208530 38 00 00 00 */ li r0, 0
/* 8020B5D4 00208534 3C 60 80 3D */ lis r3, lbl_803D2768@ha
/* 8020B5D8 00208538 90 1F 01 A4 */ stw r0, 0x1a4(r31)
/* 8020B5DC 0020853C 38 83 27 68 */ addi r4, r3, lbl_803D2768@l
/* 8020B5E0 00208540 3C 60 00 09 */ lis r3, 0x0008C000@ha
/* 8020B5E4 00208544 38 A0 00 00 */ li r5, 0
/* 8020B5E8 00208548 90 1F 01 A8 */ stw r0, 0x1a8(r31)
/* 8020B5EC 0020854C 38 63 C0 00 */ addi r3, r3, 0x0008C000@l
/* 8020B5F0 00208550 90 1F 01 AC */ stw r0, 0x1ac(r31)
/* 8020B5F4 00208554 48 10 A2 25 */ bl __nwa__FUlPCcPCc
/* 8020B5F8 00208558 C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2)
/* 8020B5FC 0020855C 90 7F 01 B0 */ stw r3, 0x1b0(r31)
/* 8020B600 00208560 38 7F 01 B4 */ addi r3, r31, 0x1b4
/* 8020B604 00208564 FC 40 08 90 */ fmr f2, f1
/* 8020B608 00208568 48 10 8B F9 */ bl __ct__9CVector2fFff
/* 8020B60C 0020856C C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2)
/* 8020B610 00208570 38 7F 01 BC */ addi r3, r31, 0x1bc
/* 8020B614 00208574 FC 40 08 90 */ fmr f2, f1
/* 8020B618 00208578 48 10 8B E9 */ bl __ct__9CVector2fFff
/* 8020B61C 0020857C C0 22 B1 28 */ lfs f1, lbl_805ACE48@sda21(r2)
/* 8020B620 00208580 38 00 00 00 */ li r0, 0
/* 8020B624 00208584 C0 02 B1 A4 */ lfs f0, lbl_805ACEC4@sda21(r2)
/* 8020B628 00208588 38 7F 01 A0 */ addi r3, r31, 0x1a0
/* 8020B62C 0020858C D0 3F 01 C4 */ stfs f1, 0x1c4(r31)
/* 8020B630 00208590 38 80 00 08 */ li r4, 8
/* 8020B634 00208594 D0 3F 01 C8 */ stfs f1, 0x1c8(r31)
/* 8020B638 00208598 D0 3F 01 CC */ stfs f1, 0x1cc(r31)
/* 8020B63C 0020859C D0 1F 01 D0 */ stfs f0, 0x1d0(r31)
/* 8020B640 002085A0 D0 1F 01 D4 */ stfs f0, 0x1d4(r31)
/* 8020B644 002085A4 D0 1F 01 D8 */ stfs f0, 0x1d8(r31)
/* 8020B648 002085A8 98 1F 01 DC */ stb r0, 0x1dc(r31)
/* 8020B64C 002085AC 4B E4 4B B9 */ bl sub_80050204
/* 8020B650 002085B0 80 01 01 44 */ lwz r0, 0x144(r1)
/* 8020B654 002085B4 7F E3 FB 78 */ mr r3, r31
/* 8020B658 002085B8 83 E1 01 3C */ lwz r31, 0x13c(r1)
/* 8020B65C 002085BC 7C 08 03 A6 */ mtlr r0
/* 8020B660 002085C0 38 21 01 40 */ addi r1, r1, 0x140
/* 8020B664 002085C4 4E 80 00 20 */ blr
.global sub_8020b668
sub_8020b668:
/* 8020B668 002085C8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8020B66C 002085CC 7C 08 02 A6 */ mflr r0
/* 8020B670 002085D0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8020B674 002085D4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8020B678 002085D8 7C 9F 23 78 */ mr r31, r4
/* 8020B67C 002085DC 93 C1 00 08 */ stw r30, 8(r1)
/* 8020B680 002085E0 7C 7E 1B 79 */ or. r30, r3, r3
/* 8020B684 002085E4 41 82 00 60 */ beq lbl_8020B6E4
/* 8020B688 002085E8 34 1E 00 0C */ addic. r0, r30, 0xc
/* 8020B68C 002085EC 41 82 00 28 */ beq lbl_8020B6B4
/* 8020B690 002085F0 88 1E 00 14 */ lbz r0, 0x14(r30)
/* 8020B694 002085F4 28 00 00 00 */ cmplwi r0, 0
/* 8020B698 002085F8 41 82 00 14 */ beq lbl_8020B6AC
/* 8020B69C 002085FC 34 7E 00 0C */ addic. r3, r30, 0xc
/* 8020B6A0 00208600 41 82 00 0C */ beq lbl_8020B6AC
/* 8020B6A4 00208604 38 80 00 00 */ li r4, 0
/* 8020B6A8 00208608 48 13 57 99 */ bl __dt__6CTokenFv
lbl_8020B6AC:
/* 8020B6AC 0020860C 38 00 00 00 */ li r0, 0
/* 8020B6B0 00208610 98 1E 00 14 */ stb r0, 0x14(r30)
lbl_8020B6B4:
/* 8020B6B4 00208614 34 1E 00 08 */ addic. r0, r30, 8
/* 8020B6B8 00208618 41 82 00 10 */ beq lbl_8020B6C8
/* 8020B6BC 0020861C 80 7E 00 08 */ lwz r3, 8(r30)
/* 8020B6C0 00208620 38 80 00 01 */ li r4, 1
/* 8020B6C4 00208624 48 0B E5 D5 */ bl __dt__15CGuiTextSupportFv
lbl_8020B6C8:
/* 8020B6C8 00208628 38 7E 00 04 */ addi r3, r30, 4
/* 8020B6CC 0020862C 38 80 FF FF */ li r4, -1
/* 8020B6D0 00208630 48 00 00 31 */ bl __dt__18CWorldTransManagerFv
/* 8020B6D4 00208634 7F E0 07 35 */ extsh. r0, r31
/* 8020B6D8 00208638 40 81 00 0C */ ble lbl_8020B6E4
/* 8020B6DC 0020863C 7F C3 F3 78 */ mr r3, r30
/* 8020B6E0 00208640 48 10 A2 51 */ bl Free__7CMemoryFPCv
lbl_8020B6E4:
/* 8020B6E4 00208644 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8020B6E8 00208648 7F C3 F3 78 */ mr r3, r30
/* 8020B6EC 0020864C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8020B6F0 00208650 83 C1 00 08 */ lwz r30, 8(r1)
/* 8020B6F4 00208654 7C 08 03 A6 */ mtlr r0
/* 8020B6F8 00208658 38 21 00 10 */ addi r1, r1, 0x10
/* 8020B6FC 0020865C 4E 80 00 20 */ blr
.global __dt__18CWorldTransManagerFv
__dt__18CWorldTransManagerFv:
/* 8020B700 00208660 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8020B704 00208664 7C 08 02 A6 */ mflr r0
/* 8020B708 00208668 90 01 00 14 */ stw r0, 0x14(r1)
/* 8020B70C 0020866C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8020B710 00208670 7C 9F 23 78 */ mr r31, r4
/* 8020B714 00208674 93 C1 00 08 */ stw r30, 8(r1)
/* 8020B718 00208678 7C 7E 1B 79 */ or. r30, r3, r3
/* 8020B71C 0020867C 41 82 00 20 */ beq lbl_8020B73C
/* 8020B720 00208680 80 7E 00 00 */ lwz r3, 0(r30)
/* 8020B724 00208684 38 80 00 01 */ li r4, 1
/* 8020B728 00208688 4B FF E0 F1 */ bl __dt__Q218CWorldTransManager11SModelDatasFv
/* 8020B72C 0020868C 7F E0 07 35 */ extsh. r0, r31
/* 8020B730 00208690 40 81 00 0C */ ble lbl_8020B73C
/* 8020B734 00208694 7F C3 F3 78 */ mr r3, r30
/* 8020B738 00208698 48 10 A1 F9 */ bl Free__7CMemoryFPCv
lbl_8020B73C:
/* 8020B73C 0020869C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8020B740 002086A0 7F C3 F3 78 */ mr r3, r30
/* 8020B744 002086A4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8020B748 002086A8 83 C1 00 08 */ lwz r30, 8(r1)
/* 8020B74C 002086AC 7C 08 03 A6 */ mtlr r0
/* 8020B750 002086B0 38 21 00 10 */ addi r1, r1, 0x10
/* 8020B754 002086B4 4E 80 00 20 */ blr
.global __ct__18CWorldTransManagerFv
__ct__18CWorldTransManagerFv:
/* 8020B758 002086B8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8020B75C 002086BC 7C 08 02 A6 */ mflr r0
/* 8020B760 002086C0 C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2)
/* 8020B764 002086C4 38 80 00 63 */ li r4, 0x63
/* 8020B768 002086C8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8020B76C 002086CC 38 00 00 00 */ li r0, 0
/* 8020B770 002086D0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8020B774 002086D4 7C 7F 1B 78 */ mr r31, r3
/* 8020B778 002086D8 D0 03 00 00 */ stfs f0, 0(r3)
/* 8020B77C 002086DC 38 7F 00 20 */ addi r3, r31, 0x20
/* 8020B780 002086E0 90 1F 00 04 */ stw r0, 4(r31)
/* 8020B784 002086E4 90 1F 00 08 */ stw r0, 8(r31)
/* 8020B788 002086E8 98 1F 00 14 */ stb r0, 0x14(r31)
/* 8020B78C 002086EC 48 10 6E 61 */ bl __ct__9CRandom16FUi
/* 8020B790 002086F0 38 00 04 A5 */ li r0, 0x4a5
/* 8020B794 002086F4 38 C0 00 00 */ li r6, 0
/* 8020B798 002086F8 B0 1F 00 24 */ sth r0, 0x24(r31)
/* 8020B79C 002086FC 38 A0 00 7F */ li r5, 0x7f
/* 8020B7A0 00208700 38 00 00 40 */ li r0, 0x40
/* 8020B7A4 00208704 C0 02 B1 28 */ lfs f0, lbl_805ACE48@sda21(r2)
/* 8020B7A8 00208708 90 DF 00 28 */ stw r6, 0x28(r31)
/* 8020B7AC 0020870C 38 80 00 01 */ li r4, 1
/* 8020B7B0 00208710 7F E3 FB 78 */ mr r3, r31
/* 8020B7B4 00208714 98 BF 00 2C */ stb r5, 0x2c(r31)
/* 8020B7B8 00208718 98 1F 00 2D */ stb r0, 0x2d(r31)
/* 8020B7BC 0020871C 90 DF 00 30 */ stw r6, 0x30(r31)
/* 8020B7C0 00208720 D0 1F 00 38 */ stfs f0, 0x38(r31)
/* 8020B7C4 00208724 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 8020B7C8 00208728 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 8020B7CC 0020872C 98 1F 00 44 */ stb r0, 0x44(r31)
/* 8020B7D0 00208730 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 8020B7D4 00208734 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19
/* 8020B7D8 00208738 98 1F 00 44 */ stb r0, 0x44(r31)
/* 8020B7DC 0020873C 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 8020B7E0 00208740 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a
/* 8020B7E4 00208744 98 1F 00 44 */ stb r0, 0x44(r31)
/* 8020B7E8 00208748 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 8020B7EC 0020874C 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b
/* 8020B7F0 00208750 98 1F 00 44 */ stb r0, 0x44(r31)
/* 8020B7F4 00208754 88 1F 00 44 */ lbz r0, 0x44(r31)
/* 8020B7F8 00208758 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c
/* 8020B7FC 0020875C 98 1F 00 44 */ stb r0, 0x44(r31)
/* 8020B800 00208760 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8020B804 00208764 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8020B808 00208768 7C 08 03 A6 */ mtlr r0
/* 8020B80C 0020876C 38 21 00 10 */ addi r1, r1, 0x10
/* 8020B810 00208770 4E 80 00 20 */ blr
.global sub_8020b814
sub_8020b814:
/* 8020B814 00208774 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8020B818 00208778 7C 08 02 A6 */ mflr r0
/* 8020B81C 0020877C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8020B820 00208780 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8020B824 00208784 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8020B828 00208788 7C 9E 23 78 */ mr r30, r4
/* 8020B82C 0020878C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8020B830 00208790 7C 7D 1B 78 */ mr r29, r3
/* 8020B834 00208794 80 03 00 04 */ lwz r0, 4(r3)
/* 8020B838 00208798 83 E4 00 04 */ lwz r31, 4(r4)
/* 8020B83C 0020879C 7C 1E 00 40 */ cmplw r30, r0
/* 8020B840 002087A0 40 82 00 08 */ bne lbl_8020B848
/* 8020B844 002087A4 93 FD 00 04 */ stw r31, 4(r29)
lbl_8020B848:
/* 8020B848 002087A8 80 1E 00 04 */ lwz r0, 4(r30)
/* 8020B84C 002087AC 38 7E 00 08 */ addi r3, r30, 8
/* 8020B850 002087B0 80 BE 00 00 */ lwz r5, 0(r30)
/* 8020B854 002087B4 38 80 FF FF */ li r4, -1
/* 8020B858 002087B8 90 05 00 04 */ stw r0, 4(r5)
/* 8020B85C 002087BC 80 1E 00 00 */ lwz r0, 0(r30)
/* 8020B860 002087C0 80 BE 00 04 */ lwz r5, 4(r30)
/* 8020B864 002087C4 90 05 00 00 */ stw r0, 0(r5)
/* 8020B868 002087C8 48 14 D0 DD */ bl __dt__10CARAMTokenFv
/* 8020B86C 002087CC 28 1E 00 00 */ cmplwi r30, 0
/* 8020B870 002087D0 41 82 00 0C */ beq lbl_8020B87C
/* 8020B874 002087D4 7F C3 F3 78 */ mr r3, r30
/* 8020B878 002087D8 48 10 A0 B9 */ bl Free__7CMemoryFPCv
lbl_8020B87C:
/* 8020B87C 002087DC 80 9D 00 14 */ lwz r4, 0x14(r29)
/* 8020B880 002087E0 7F E3 FB 78 */ mr r3, r31
/* 8020B884 002087E4 38 04 FF FF */ addi r0, r4, -1
/* 8020B888 002087E8 90 1D 00 14 */ stw r0, 0x14(r29)
/* 8020B88C 002087EC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8020B890 002087F0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8020B894 002087F4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8020B898 002087F8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8020B89C 002087FC 7C 08 03 A6 */ mtlr r0
/* 8020B8A0 00208800 38 21 00 20 */ addi r1, r1, 0x20
/* 8020B8A4 00208804 4E 80 00 20 */ blr
.global sub_8020b8a8
sub_8020b8a8:
/* 8020B8A8 00208808 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8020B8AC 0020880C 7C 08 02 A6 */ mflr r0
/* 8020B8B0 00208810 90 01 00 24 */ stw r0, 0x24(r1)
/* 8020B8B4 00208814 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8020B8B8 00208818 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8020B8BC 0020881C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8020B8C0 00208820 7C 9D 23 78 */ mr r29, r4
/* 8020B8C4 00208824 93 81 00 10 */ stw r28, 0x10(r1)
/* 8020B8C8 00208828 7C 7C 1B 79 */ or. r28, r3, r3
/* 8020B8CC 0020882C 41 82 00 4C */ beq lbl_8020B918
/* 8020B8D0 00208830 83 FC 00 04 */ lwz r31, 4(r28)
/* 8020B8D4 00208834 48 00 00 28 */ b lbl_8020B8FC
lbl_8020B8D8:
/* 8020B8D8 00208838 7F FE FB 78 */ mr r30, r31
/* 8020B8DC 0020883C 83 FF 00 04 */ lwz r31, 4(r31)
/* 8020B8E0 00208840 38 7E 00 08 */ addi r3, r30, 8
/* 8020B8E4 00208844 38 80 FF FF */ li r4, -1
/* 8020B8E8 00208848 48 14 D0 5D */ bl __dt__10CARAMTokenFv
/* 8020B8EC 0020884C 28 1E 00 00 */ cmplwi r30, 0
/* 8020B8F0 00208850 41 82 00 0C */ beq lbl_8020B8FC
/* 8020B8F4 00208854 7F C3 F3 78 */ mr r3, r30
/* 8020B8F8 00208858 48 10 A0 39 */ bl Free__7CMemoryFPCv
lbl_8020B8FC:
/* 8020B8FC 0020885C 80 1C 00 08 */ lwz r0, 8(r28)
/* 8020B900 00208860 7C 1F 00 40 */ cmplw r31, r0
/* 8020B904 00208864 40 82 FF D4 */ bne lbl_8020B8D8
/* 8020B908 00208868 7F A0 07 35 */ extsh. r0, r29
/* 8020B90C 0020886C 40 81 00 0C */ ble lbl_8020B918
/* 8020B910 00208870 7F 83 E3 78 */ mr r3, r28
/* 8020B914 00208874 48 10 A0 1D */ bl Free__7CMemoryFPCv
lbl_8020B918:
/* 8020B918 00208878 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8020B91C 0020887C 7F 83 E3 78 */ mr r3, r28
/* 8020B920 00208880 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8020B924 00208884 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8020B928 00208888 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8020B92C 0020888C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8020B930 00208890 7C 08 03 A6 */ mtlr r0
/* 8020B934 00208894 38 21 00 20 */ addi r1, r1, 0x20
/* 8020B938 00208898 4E 80 00 20 */ blr
.section .sdata2, "a"
.balign 8
.global lbl_805ACE40
lbl_805ACE40:
# ROM: 0x3F96E0
.4byte 0xC5800000
.global lbl_805ACE44
lbl_805ACE44:
# ROM: 0x3F96E4
.4byte 0x45800000
.global lbl_805ACE48
lbl_805ACE48:
# ROM: 0x3F96E8
.4byte 0
.global lbl_805ACE4C
lbl_805ACE4C:
# ROM: 0x3F96EC
.4byte 0x43E00000
.global lbl_805ACE50
lbl_805ACE50:
# ROM: 0x3F96F0
.float 1.0
.global lbl_805ACE54
lbl_805ACE54:
# ROM: 0x3F96F4
.float 255.0
.global lbl_805ACE58
lbl_805ACE58:
# ROM: 0x3F96F8
.float 0.5
.global lbl_805ACE5C
lbl_805ACE5C:
# ROM: 0x3F96FC
.float 0.25
.global lbl_805ACE60
lbl_805ACE60:
# ROM: 0x3F9700
.double 4.503601774854144E15
.global lbl_805ACE68
lbl_805ACE68:
# ROM: 0x3F9708
.float 2.0
.global lbl_805ACE6C
lbl_805ACE6C:
# ROM: 0x3F970C
.float 5.0
.global lbl_805ACE70
lbl_805ACE70:
# ROM: 0x3F9710
.float 0.017453292
.global lbl_805ACE74
lbl_805ACE74:
# ROM: 0x3F9714
.4byte 0x43340000
.global lbl_805ACE78
lbl_805ACE78:
# ROM: 0x3F9718
.4byte 0x42400000
.global lbl_805ACE7C
lbl_805ACE7C:
# ROM: 0x3F971C
.4byte 0x41C00000
.global lbl_805ACE80
lbl_805ACE80:
# ROM: 0x3F9720
.float 1.5
.global lbl_805ACE84
lbl_805ACE84:
# ROM: 0x3F9724
.4byte 0xBF000000
.global lbl_805ACE88
lbl_805ACE88:
# ROM: 0x3F9728
.4byte 0xBDCCCCCD
.global lbl_805ACE8C
lbl_805ACE8C:
# ROM: 0x3F972C
.4byte 0x41C80000
.global lbl_805ACE90
lbl_805ACE90:
# ROM: 0x3F9730
.4byte 0x41200000
.global lbl_805ACE94
lbl_805ACE94:
# ROM: 0x3F9734
.4byte 0x43B40000
.global lbl_805ACE98
lbl_805ACE98:
# ROM: 0x3F9738
.float 90.0
.global lbl_805ACE9C
lbl_805ACE9C:
# ROM: 0x3F973C
.4byte 0xC0600000
.global lbl_805ACEA0
lbl_805ACEA0:
# ROM: 0x3F9740
.float 0.1
.global lbl_805ACEA4
lbl_805ACEA4:
# ROM: 0x3F9744
.float 4.0
.global lbl_805ACEA8
lbl_805ACEA8:
# ROM: 0x3F9748
.4byte 0x3C888889
.global lbl_805ACEAC
lbl_805ACEAC:
# ROM: 0x3F974C
.4byte 0xBCCCCCCD
.global lbl_805ACEB0
lbl_805ACEB0:
# ROM: 0x3F9750
.4byte 0x3CCCCCCD
.global lbl_805ACEB4
lbl_805ACEB4:
# ROM: 0x3F9754
.4byte 0xBD99999A
.global lbl_805ACEB8
lbl_805ACEB8:
# ROM: 0x3F9758
.4byte 0x3D99999A
.global lbl_805ACEBC
lbl_805ACEBC:
# ROM: 0x3F975C
.4byte 0xC0000000
.global lbl_805ACEC0
lbl_805ACEC0:
# ROM: 0x3F9760
.4byte 0x42480000
.global lbl_805ACEC4
lbl_805ACEC4:
# ROM: 0x3F9764
.4byte 0x47C34F80
.section .rodata
.balign 8
.global lbl_803D2750
lbl_803D2750:
# ROM: 0x3CF750
.4byte 0x00000009
.4byte 0x00000001
.4byte 0x0000000D
.4byte 0x00000001
.4byte 0x000000FF
.4byte 0
.global lbl_803D2768
lbl_803D2768:
# ROM: 0x3CF768
.asciz "??(??)"
.byte 0x47
.asciz "UN_LCTR"