prime/asm/MetroidPrime/CInventoryScreen.s

2127 lines
98 KiB
ArmAsm

.include "macros.inc"
.section .data
.balign 8
.global lbl_803E6EB0
lbl_803E6EB0:
# ROM: 0x3E3EB0
.4byte 0
.4byte 0
.4byte __dt__16CInventoryScreenFv
.4byte InputDisabled__16CInventoryScreenCFv
.4byte TransitioningAway__16CInventoryScreenFv
.4byte Update__16CInventoryScreenFfR9CRandom16R18CArchitectureQueue
.4byte Touch__16CInventoryScreenFv
.4byte ProcessInput__16CInventoryScreenFRC11CFinalInput
.4byte Draw__16CInventoryScreenCFfff
.4byte GetCameraYBias__16CInventoryScreenCFv
.4byte VReady__16CInventoryScreenCFv
.4byte VActivate__16CInventoryScreenFv
.4byte nullsub_125
.4byte ChangedMode__16CInventoryScreenQ216CPauseScreenBase5EMode
.4byte UpdateRightTable__16CInventoryScreenFv
.4byte ShouldLeftTableAdvance__16CInventoryScreenFv
.4byte ShouldRightTableAdvance__16CInventoryScreenFv
.4byte GetRightTableCount__16CInventoryScreenCFv
.4byte IsRightLogDynamic__16CInventoryScreenCFv
.4byte UpdateRightLogColors__16CInventoryScreenFbRC6CColor
.4byte UpdateRightLogHighlight__16CInventoryScreenFbiRC6CColorRC6CColor
.global lbl_803E6F04
lbl_803E6F04:
# ROM: 0x3E3F04
.4byte lbl_80205D7C
.4byte lbl_80205D8C
.4byte lbl_80205DA0
.4byte lbl_80205DB4
.4byte lbl_80205DC8
.4byte lbl_80205DDC
.4byte lbl_80205DEC
.4byte lbl_80205DFC
.4byte lbl_80205E0C
.4byte lbl_80205E1C
.4byte lbl_80205E2C
.4byte lbl_80205E3C
.4byte lbl_80205E50
.4byte lbl_80205E64
.4byte lbl_80205E78
.4byte lbl_80205E88
.4byte lbl_80205E98
.4byte lbl_80205EAC
.4byte lbl_80205EC0
.4byte lbl_80205ED4
.4byte lbl_80205EE4
.4byte lbl_80205EF4
.4byte lbl_80205F04
.4byte lbl_80205F14
.global lbl_803E6F64
lbl_803E6F64:
# ROM: 0x3E3F64
.4byte lbl_80205FD0
.4byte lbl_80205FD8
.4byte lbl_80205FE8
.4byte lbl_80205FF8
.4byte lbl_80206008
.4byte lbl_80206018
.4byte lbl_80206028
.4byte lbl_80206038
.4byte lbl_80206048
.4byte lbl_80206058
.4byte lbl_80206068
.4byte lbl_80206070
.4byte lbl_80206080
.4byte lbl_80206090
.4byte lbl_802060A0
.4byte lbl_802060B0
.4byte lbl_802060B8
.4byte lbl_802060C8
.4byte lbl_802060D8
.4byte lbl_802060E8
.4byte lbl_802060F8
.4byte lbl_80206108
.4byte lbl_80206118
.4byte lbl_80206128
.global lbl_803E6FC4
lbl_803E6FC4:
# ROM: 0x3E3FC4
.string16 "??????"
.4byte 0
.section .sdata
.balign 8
.global lbl_805A7F40
lbl_805A7F40:
# ROM: 0x3F58E0
.4byte 0
.global lbl_805A7F44
lbl_805A7F44:
# ROM: 0x3F58E4
.float 1.0
.global lbl_805A7F48
lbl_805A7F48:
# ROM: 0x3F58E8
.4byte 0
.4byte 0
.section .text, "ax"
.global IsRightLogDynamic__16CInventoryScreenCFv
IsRightLogDynamic__16CInventoryScreenCFv:
/* 80205D34 00202C94 38 60 00 01 */ li r3, 1
/* 80205D38 00202C98 4E 80 00 20 */ blr
.global IsRightInventoryItemEquipped__16CInventoryScreenCFi
IsRightInventoryItemEquipped__16CInventoryScreenCFi:
/* 80205D3C 00202C9C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80205D40 00202CA0 7C 08 02 A6 */ mflr r0
/* 80205D44 00202CA4 28 04 00 17 */ cmplwi r4, 0x17
/* 80205D48 00202CA8 90 01 00 14 */ stw r0, 0x14(r1)
/* 80205D4C 00202CAC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80205D50 00202CB0 93 C1 00 08 */ stw r30, 8(r1)
/* 80205D54 00202CB4 80 63 00 04 */ lwz r3, 4(r3)
/* 80205D58 00202CB8 80 63 08 B8 */ lwz r3, 0x8b8(r3)
/* 80205D5C 00202CBC 83 C3 00 00 */ lwz r30, 0(r3)
/* 80205D60 00202CC0 41 81 02 14 */ bgt lbl_80205F74
/* 80205D64 00202CC4 3C 60 80 3E */ lis r3, lbl_803E6F04@ha
/* 80205D68 00202CC8 54 80 10 3A */ slwi r0, r4, 2
/* 80205D6C 00202CCC 38 63 6F 04 */ addi r3, r3, lbl_803E6F04@l
/* 80205D70 00202CD0 7C 03 00 2E */ lwzx r0, r3, r0
/* 80205D74 00202CD4 7C 09 03 A6 */ mtctr r0
/* 80205D78 00202CD8 4E 80 04 20 */ bctr
.global lbl_80205D7C
lbl_80205D7C:
/* 80205D7C 00202CDC 80 1E 00 08 */ lwz r0, 8(r30)
/* 80205D80 00202CE0 7C 00 00 34 */ cntlzw r0, r0
/* 80205D84 00202CE4 54 03 D9 7E */ srwi r3, r0, 5
/* 80205D88 00202CE8 48 00 01 F0 */ b lbl_80205F78
.global lbl_80205D8C
lbl_80205D8C:
/* 80205D8C 00202CEC 80 1E 00 08 */ lwz r0, 8(r30)
/* 80205D90 00202CF0 20 00 00 01 */ subfic r0, r0, 1
/* 80205D94 00202CF4 7C 00 00 34 */ cntlzw r0, r0
/* 80205D98 00202CF8 54 03 D9 7E */ srwi r3, r0, 5
/* 80205D9C 00202CFC 48 00 01 DC */ b lbl_80205F78
.global lbl_80205DA0
lbl_80205DA0:
/* 80205DA0 00202D00 80 1E 00 08 */ lwz r0, 8(r30)
/* 80205DA4 00202D04 20 00 00 02 */ subfic r0, r0, 2
/* 80205DA8 00202D08 7C 00 00 34 */ cntlzw r0, r0
/* 80205DAC 00202D0C 54 03 D9 7E */ srwi r3, r0, 5
/* 80205DB0 00202D10 48 00 01 C8 */ b lbl_80205F78
.global lbl_80205DB4
lbl_80205DB4:
/* 80205DB4 00202D14 80 1E 00 08 */ lwz r0, 8(r30)
/* 80205DB8 00202D18 20 00 00 03 */ subfic r0, r0, 3
/* 80205DBC 00202D1C 7C 00 00 34 */ cntlzw r0, r0
/* 80205DC0 00202D20 54 03 D9 7E */ srwi r3, r0, 5
/* 80205DC4 00202D24 48 00 01 B4 */ b lbl_80205F78
.global lbl_80205DC8
lbl_80205DC8:
/* 80205DC8 00202D28 80 1E 00 08 */ lwz r0, 8(r30)
/* 80205DCC 00202D2C 20 00 00 1B */ subfic r0, r0, 0x1b
/* 80205DD0 00202D30 7C 00 00 34 */ cntlzw r0, r0
/* 80205DD4 00202D34 54 03 D9 7E */ srwi r3, r0, 5
/* 80205DD8 00202D38 48 00 01 A0 */ b lbl_80205F78
.global lbl_80205DDC
lbl_80205DDC:
/* 80205DDC 00202D3C 7F C3 F3 78 */ mr r3, r30
/* 80205DE0 00202D40 38 80 00 10 */ li r4, 0x10
/* 80205DE4 00202D44 4B E8 BC DD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205DE8 00202D48 48 00 01 90 */ b lbl_80205F78
.global lbl_80205DEC
lbl_80205DEC:
/* 80205DEC 00202D4C 7F C3 F3 78 */ mr r3, r30
/* 80205DF0 00202D50 38 80 00 12 */ li r4, 0x12
/* 80205DF4 00202D54 4B E8 BC CD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205DF8 00202D58 48 00 01 80 */ b lbl_80205F78
.global lbl_80205DFC
lbl_80205DFC:
/* 80205DFC 00202D5C 7F C3 F3 78 */ mr r3, r30
/* 80205E00 00202D60 38 80 00 13 */ li r4, 0x13
/* 80205E04 00202D64 4B E8 BC BD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205E08 00202D68 48 00 01 70 */ b lbl_80205F78
.global lbl_80205E0C
lbl_80205E0C:
/* 80205E0C 00202D6C 7F C3 F3 78 */ mr r3, r30
/* 80205E10 00202D70 38 80 00 06 */ li r4, 6
/* 80205E14 00202D74 4B E8 BC AD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205E18 00202D78 48 00 01 60 */ b lbl_80205F78
.global lbl_80205E1C
lbl_80205E1C:
/* 80205E1C 00202D7C 7F C3 F3 78 */ mr r3, r30
/* 80205E20 00202D80 38 80 00 07 */ li r4, 7
/* 80205E24 00202D84 4B E8 BC 9D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205E28 00202D88 48 00 01 50 */ b lbl_80205F78
.global lbl_80205E2C
lbl_80205E2C:
/* 80205E2C 00202D8C 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 80205E30 00202D90 7C 00 00 34 */ cntlzw r0, r0
/* 80205E34 00202D94 54 03 D9 7E */ srwi r3, r0, 5
/* 80205E38 00202D98 48 00 01 40 */ b lbl_80205F78
.global lbl_80205E3C
lbl_80205E3C:
/* 80205E3C 00202D9C 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 80205E40 00202DA0 20 00 00 02 */ subfic r0, r0, 2
/* 80205E44 00202DA4 7C 00 00 34 */ cntlzw r0, r0
/* 80205E48 00202DA8 54 03 D9 7E */ srwi r3, r0, 5
/* 80205E4C 00202DAC 48 00 01 2C */ b lbl_80205F78
.global lbl_80205E50
lbl_80205E50:
/* 80205E50 00202DB0 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 80205E54 00202DB4 20 00 00 01 */ subfic r0, r0, 1
/* 80205E58 00202DB8 7C 00 00 34 */ cntlzw r0, r0
/* 80205E5C 00202DBC 54 03 D9 7E */ srwi r3, r0, 5
/* 80205E60 00202DC0 48 00 01 18 */ b lbl_80205F78
.global lbl_80205E64
lbl_80205E64:
/* 80205E64 00202DC4 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 80205E68 00202DC8 20 00 00 03 */ subfic r0, r0, 3
/* 80205E6C 00202DCC 7C 00 00 34 */ cntlzw r0, r0
/* 80205E70 00202DD0 54 03 D9 7E */ srwi r3, r0, 5
/* 80205E74 00202DD4 48 00 01 04 */ b lbl_80205F78
.global lbl_80205E78
lbl_80205E78:
/* 80205E78 00202DD8 7F C3 F3 78 */ mr r3, r30
/* 80205E7C 00202DDC 38 80 00 18 */ li r4, 0x18
/* 80205E80 00202DE0 4B E8 BC 41 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205E84 00202DE4 48 00 00 F4 */ b lbl_80205F78
.global lbl_80205E88
lbl_80205E88:
/* 80205E88 00202DE8 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 80205E8C 00202DEC 7C 00 00 34 */ cntlzw r0, r0
/* 80205E90 00202DF0 54 03 D9 7E */ srwi r3, r0, 5
/* 80205E94 00202DF4 48 00 00 E4 */ b lbl_80205F78
.global lbl_80205E98
lbl_80205E98:
/* 80205E98 00202DF8 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 80205E9C 00202DFC 20 00 00 02 */ subfic r0, r0, 2
/* 80205EA0 00202E00 7C 00 00 34 */ cntlzw r0, r0
/* 80205EA4 00202E04 54 03 D9 7E */ srwi r3, r0, 5
/* 80205EA8 00202E08 48 00 00 D0 */ b lbl_80205F78
.global lbl_80205EAC
lbl_80205EAC:
/* 80205EAC 00202E0C 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 80205EB0 00202E10 20 00 00 01 */ subfic r0, r0, 1
/* 80205EB4 00202E14 7C 00 00 34 */ cntlzw r0, r0
/* 80205EB8 00202E18 54 03 D9 7E */ srwi r3, r0, 5
/* 80205EBC 00202E1C 48 00 00 BC */ b lbl_80205F78
.global lbl_80205EC0
lbl_80205EC0:
/* 80205EC0 00202E20 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 80205EC4 00202E24 20 00 00 03 */ subfic r0, r0, 3
/* 80205EC8 00202E28 7C 00 00 34 */ cntlzw r0, r0
/* 80205ECC 00202E2C 54 03 D9 7E */ srwi r3, r0, 5
/* 80205ED0 00202E30 48 00 00 A8 */ b lbl_80205F78
.global lbl_80205ED4
lbl_80205ED4:
/* 80205ED4 00202E34 7F C3 F3 78 */ mr r3, r30
/* 80205ED8 00202E38 38 80 00 0F */ li r4, 0xf
/* 80205EDC 00202E3C 4B E8 BB E5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205EE0 00202E40 48 00 00 98 */ b lbl_80205F78
.global lbl_80205EE4
lbl_80205EE4:
/* 80205EE4 00202E44 7F C3 F3 78 */ mr r3, r30
/* 80205EE8 00202E48 38 80 00 0C */ li r4, 0xc
/* 80205EEC 00202E4C 4B E8 BB D5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205EF0 00202E50 48 00 00 88 */ b lbl_80205F78
.global lbl_80205EF4
lbl_80205EF4:
/* 80205EF4 00202E54 7F C3 F3 78 */ mr r3, r30
/* 80205EF8 00202E58 38 80 00 04 */ li r4, 4
/* 80205EFC 00202E5C 4B E8 BB C5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205F00 00202E60 48 00 00 78 */ b lbl_80205F78
.global lbl_80205F04
lbl_80205F04:
/* 80205F04 00202E64 7F C3 F3 78 */ mr r3, r30
/* 80205F08 00202E68 38 80 00 0A */ li r4, 0xa
/* 80205F0C 00202E6C 4B E8 BB B5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205F10 00202E70 48 00 00 68 */ b lbl_80205F78
.global lbl_80205F14
lbl_80205F14:
/* 80205F14 00202E74 7F C3 F3 78 */ mr r3, r30
/* 80205F18 00202E78 3B E0 00 00 */ li r31, 0
/* 80205F1C 00202E7C 38 80 00 0B */ li r4, 0xb
/* 80205F20 00202E80 4B E8 BB A1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205F24 00202E84 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80205F28 00202E88 40 82 00 40 */ bne lbl_80205F68
/* 80205F2C 00202E8C 7F C3 F3 78 */ mr r3, r30
/* 80205F30 00202E90 38 80 00 0E */ li r4, 0xe
/* 80205F34 00202E94 4B E8 BB 8D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205F38 00202E98 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80205F3C 00202E9C 40 82 00 2C */ bne lbl_80205F68
/* 80205F40 00202EA0 7F C3 F3 78 */ mr r3, r30
/* 80205F44 00202EA4 38 80 00 1C */ li r4, 0x1c
/* 80205F48 00202EA8 4B E8 BB 79 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205F4C 00202EAC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80205F50 00202EB0 40 82 00 18 */ bne lbl_80205F68
/* 80205F54 00202EB4 7F C3 F3 78 */ mr r3, r30
/* 80205F58 00202EB8 38 80 00 08 */ li r4, 8
/* 80205F5C 00202EBC 4B E8 BB 65 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205F60 00202EC0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80205F64 00202EC4 41 82 00 08 */ beq lbl_80205F6C
lbl_80205F68:
/* 80205F68 00202EC8 3B E0 00 01 */ li r31, 1
lbl_80205F6C:
/* 80205F6C 00202ECC 7F E3 FB 78 */ mr r3, r31
/* 80205F70 00202ED0 48 00 00 08 */ b lbl_80205F78
lbl_80205F74:
/* 80205F74 00202ED4 38 60 00 00 */ li r3, 0
lbl_80205F78:
/* 80205F78 00202ED8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80205F7C 00202EDC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80205F80 00202EE0 83 C1 00 08 */ lwz r30, 8(r1)
/* 80205F84 00202EE4 7C 08 03 A6 */ mtlr r0
/* 80205F88 00202EE8 38 21 00 10 */ addi r1, r1, 0x10
/* 80205F8C 00202EEC 4E 80 00 20 */ blr
.global HasRightInventoryItem__16CInventoryScreenCFi
HasRightInventoryItem__16CInventoryScreenCFi:
/* 80205F90 00202EF0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80205F94 00202EF4 7C 08 02 A6 */ mflr r0
/* 80205F98 00202EF8 28 04 00 17 */ cmplwi r4, 0x17
/* 80205F9C 00202EFC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80205FA0 00202F00 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80205FA4 00202F04 93 C1 00 08 */ stw r30, 8(r1)
/* 80205FA8 00202F08 80 63 00 04 */ lwz r3, 4(r3)
/* 80205FAC 00202F0C 80 63 08 B8 */ lwz r3, 0x8b8(r3)
/* 80205FB0 00202F10 83 C3 00 00 */ lwz r30, 0(r3)
/* 80205FB4 00202F14 41 81 01 D4 */ bgt lbl_80206188
/* 80205FB8 00202F18 3C 60 80 3E */ lis r3, lbl_803E6F64@ha
/* 80205FBC 00202F1C 54 80 10 3A */ slwi r0, r4, 2
/* 80205FC0 00202F20 38 63 6F 64 */ addi r3, r3, lbl_803E6F64@l
/* 80205FC4 00202F24 7C 03 00 2E */ lwzx r0, r3, r0
/* 80205FC8 00202F28 7C 09 03 A6 */ mtctr r0
/* 80205FCC 00202F2C 4E 80 04 20 */ bctr
.global lbl_80205FD0
lbl_80205FD0:
/* 80205FD0 00202F30 38 60 00 01 */ li r3, 1
/* 80205FD4 00202F34 48 00 01 B8 */ b lbl_8020618C
.global lbl_80205FD8
lbl_80205FD8:
/* 80205FD8 00202F38 7F C3 F3 78 */ mr r3, r30
/* 80205FDC 00202F3C 38 80 00 01 */ li r4, 1
/* 80205FE0 00202F40 4B E8 BA E1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205FE4 00202F44 48 00 01 A8 */ b lbl_8020618C
.global lbl_80205FE8
lbl_80205FE8:
/* 80205FE8 00202F48 7F C3 F3 78 */ mr r3, r30
/* 80205FEC 00202F4C 38 80 00 02 */ li r4, 2
/* 80205FF0 00202F50 4B E8 BA D1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80205FF4 00202F54 48 00 01 98 */ b lbl_8020618C
.global lbl_80205FF8
lbl_80205FF8:
/* 80205FF8 00202F58 7F C3 F3 78 */ mr r3, r30
/* 80205FFC 00202F5C 38 80 00 03 */ li r4, 3
/* 80206000 00202F60 4B E8 BA C1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206004 00202F64 48 00 01 88 */ b lbl_8020618C
.global lbl_80206008
lbl_80206008:
/* 80206008 00202F68 7F C3 F3 78 */ mr r3, r30
/* 8020600C 00202F6C 38 80 00 17 */ li r4, 0x17
/* 80206010 00202F70 4B E8 BA B1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206014 00202F74 48 00 01 78 */ b lbl_8020618C
.global lbl_80206018
lbl_80206018:
/* 80206018 00202F78 7F C3 F3 78 */ mr r3, r30
/* 8020601C 00202F7C 38 80 00 10 */ li r4, 0x10
/* 80206020 00202F80 4B E8 BA A1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206024 00202F84 48 00 01 68 */ b lbl_8020618C
.global lbl_80206028
lbl_80206028:
/* 80206028 00202F88 7F C3 F3 78 */ mr r3, r30
/* 8020602C 00202F8C 38 80 00 12 */ li r4, 0x12
/* 80206030 00202F90 4B E8 BA 91 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206034 00202F94 48 00 01 58 */ b lbl_8020618C
.global lbl_80206038
lbl_80206038:
/* 80206038 00202F98 7F C3 F3 78 */ mr r3, r30
/* 8020603C 00202F9C 38 80 00 13 */ li r4, 0x13
/* 80206040 00202FA0 4B E8 BA 81 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206044 00202FA4 48 00 01 48 */ b lbl_8020618C
.global lbl_80206048
lbl_80206048:
/* 80206048 00202FA8 7F C3 F3 78 */ mr r3, r30
/* 8020604C 00202FAC 38 80 00 06 */ li r4, 6
/* 80206050 00202FB0 4B E8 BA 71 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206054 00202FB4 48 00 01 38 */ b lbl_8020618C
.global lbl_80206058
lbl_80206058:
/* 80206058 00202FB8 7F C3 F3 78 */ mr r3, r30
/* 8020605C 00202FBC 38 80 00 07 */ li r4, 7
/* 80206060 00202FC0 4B E8 BA 61 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206064 00202FC4 48 00 01 28 */ b lbl_8020618C
.global lbl_80206068
lbl_80206068:
/* 80206068 00202FC8 38 60 00 01 */ li r3, 1
/* 8020606C 00202FCC 48 00 01 20 */ b lbl_8020618C
.global lbl_80206070
lbl_80206070:
/* 80206070 00202FD0 7F C3 F3 78 */ mr r3, r30
/* 80206074 00202FD4 38 80 00 16 */ li r4, 0x16
/* 80206078 00202FD8 4B E8 BA 49 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 8020607C 00202FDC 48 00 01 10 */ b lbl_8020618C
.global lbl_80206080
lbl_80206080:
/* 80206080 00202FE0 7F C3 F3 78 */ mr r3, r30
/* 80206084 00202FE4 38 80 00 15 */ li r4, 0x15
/* 80206088 00202FE8 4B E8 BA 39 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 8020608C 00202FEC 48 00 01 00 */ b lbl_8020618C
.global lbl_80206090
lbl_80206090:
/* 80206090 00202FF0 7F C3 F3 78 */ mr r3, r30
/* 80206094 00202FF4 38 80 00 17 */ li r4, 0x17
/* 80206098 00202FF8 4B E8 BA 29 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 8020609C 00202FFC 48 00 00 F0 */ b lbl_8020618C
.global lbl_802060A0
lbl_802060A0:
/* 802060A0 00203000 7F C3 F3 78 */ mr r3, r30
/* 802060A4 00203004 38 80 00 18 */ li r4, 0x18
/* 802060A8 00203008 4B E8 BA 19 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 802060AC 0020300C 48 00 00 E0 */ b lbl_8020618C
.global lbl_802060B0
lbl_802060B0:
/* 802060B0 00203010 38 60 00 01 */ li r3, 1
/* 802060B4 00203014 48 00 00 D8 */ b lbl_8020618C
.global lbl_802060B8
lbl_802060B8:
/* 802060B8 00203018 7F C3 F3 78 */ mr r3, r30
/* 802060BC 0020301C 38 80 00 05 */ li r4, 5
/* 802060C0 00203020 4B E8 BA 01 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 802060C4 00203024 48 00 00 C8 */ b lbl_8020618C
.global lbl_802060C8
lbl_802060C8:
/* 802060C8 00203028 7F C3 F3 78 */ mr r3, r30
/* 802060CC 0020302C 38 80 00 0D */ li r4, 0xd
/* 802060D0 00203030 4B E8 B9 F1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 802060D4 00203034 48 00 00 B8 */ b lbl_8020618C
.global lbl_802060D8
lbl_802060D8:
/* 802060D8 00203038 7F C3 F3 78 */ mr r3, r30
/* 802060DC 0020303C 38 80 00 09 */ li r4, 9
/* 802060E0 00203040 4B E8 B9 E1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 802060E4 00203044 48 00 00 A8 */ b lbl_8020618C
.global lbl_802060E8
lbl_802060E8:
/* 802060E8 00203048 7F C3 F3 78 */ mr r3, r30
/* 802060EC 0020304C 38 80 00 0F */ li r4, 0xf
/* 802060F0 00203050 4B E8 B9 D1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 802060F4 00203054 48 00 00 98 */ b lbl_8020618C
.global lbl_802060F8
lbl_802060F8:
/* 802060F8 00203058 7F C3 F3 78 */ mr r3, r30
/* 802060FC 0020305C 38 80 00 0C */ li r4, 0xc
/* 80206100 00203060 4B E8 B9 C1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206104 00203064 48 00 00 88 */ b lbl_8020618C
.global lbl_80206108
lbl_80206108:
/* 80206108 00203068 7F C3 F3 78 */ mr r3, r30
/* 8020610C 0020306C 38 80 00 04 */ li r4, 4
/* 80206110 00203070 4B E8 B9 B1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206114 00203074 48 00 00 78 */ b lbl_8020618C
.global lbl_80206118
lbl_80206118:
/* 80206118 00203078 7F C3 F3 78 */ mr r3, r30
/* 8020611C 0020307C 38 80 00 0A */ li r4, 0xa
/* 80206120 00203080 4B E8 B9 A1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206124 00203084 48 00 00 68 */ b lbl_8020618C
.global lbl_80206128
lbl_80206128:
/* 80206128 00203088 7F C3 F3 78 */ mr r3, r30
/* 8020612C 0020308C 3B E0 00 00 */ li r31, 0
/* 80206130 00203090 38 80 00 0B */ li r4, 0xb
/* 80206134 00203094 4B E8 B9 8D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206138 00203098 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8020613C 0020309C 40 82 00 40 */ bne lbl_8020617C
/* 80206140 002030A0 7F C3 F3 78 */ mr r3, r30
/* 80206144 002030A4 38 80 00 0E */ li r4, 0xe
/* 80206148 002030A8 4B E8 B9 79 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 8020614C 002030AC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80206150 002030B0 40 82 00 2C */ bne lbl_8020617C
/* 80206154 002030B4 7F C3 F3 78 */ mr r3, r30
/* 80206158 002030B8 38 80 00 1C */ li r4, 0x1c
/* 8020615C 002030BC 4B E8 B9 65 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206160 002030C0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80206164 002030C4 40 82 00 18 */ bne lbl_8020617C
/* 80206168 002030C8 7F C3 F3 78 */ mr r3, r30
/* 8020616C 002030CC 38 80 00 08 */ li r4, 8
/* 80206170 002030D0 4B E8 B9 51 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206174 002030D4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80206178 002030D8 41 82 00 08 */ beq lbl_80206180
lbl_8020617C:
/* 8020617C 002030DC 3B E0 00 01 */ li r31, 1
lbl_80206180:
/* 80206180 002030E0 7F E3 FB 78 */ mr r3, r31
/* 80206184 002030E4 48 00 00 08 */ b lbl_8020618C
lbl_80206188:
/* 80206188 002030E8 38 60 00 00 */ li r3, 0
lbl_8020618C:
/* 8020618C 002030EC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80206190 002030F0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80206194 002030F4 83 C1 00 08 */ lwz r30, 8(r1)
/* 80206198 002030F8 7C 08 03 A6 */ mtlr r0
/* 8020619C 002030FC 38 21 00 10 */ addi r1, r1, 0x10
/* 802061A0 00203100 4E 80 00 20 */ blr
.global HasLeftInventoryItem__16CInventoryScreenCFi
HasLeftInventoryItem__16CInventoryScreenCFi:
/* 802061A4 00203104 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802061A8 00203108 7C 08 02 A6 */ mflr r0
/* 802061AC 0020310C 2C 04 00 02 */ cmpwi r4, 2
/* 802061B0 00203110 90 01 00 14 */ stw r0, 0x14(r1)
/* 802061B4 00203114 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802061B8 00203118 93 C1 00 08 */ stw r30, 8(r1)
/* 802061BC 0020311C 80 63 00 04 */ lwz r3, 4(r3)
/* 802061C0 00203120 80 63 08 B8 */ lwz r3, 0x8b8(r3)
/* 802061C4 00203124 83 C3 00 00 */ lwz r30, 0(r3)
/* 802061C8 00203128 41 82 00 40 */ beq lbl_80206208
/* 802061CC 0020312C 40 80 00 14 */ bge lbl_802061E0
/* 802061D0 00203130 2C 04 00 00 */ cmpwi r4, 0
/* 802061D4 00203134 41 82 00 1C */ beq lbl_802061F0
/* 802061D8 00203138 40 80 00 20 */ bge lbl_802061F8
/* 802061DC 0020313C 48 00 00 EC */ b lbl_802062C8
lbl_802061E0:
/* 802061E0 00203140 2C 04 00 04 */ cmpwi r4, 4
/* 802061E4 00203144 41 82 00 34 */ beq lbl_80206218
/* 802061E8 00203148 40 80 00 E0 */ bge lbl_802062C8
/* 802061EC 0020314C 48 00 00 24 */ b lbl_80206210
lbl_802061F0:
/* 802061F0 00203150 38 60 00 01 */ li r3, 1
/* 802061F4 00203154 48 00 00 D8 */ b lbl_802062CC
lbl_802061F8:
/* 802061F8 00203158 7F C3 F3 78 */ mr r3, r30
/* 802061FC 0020315C 38 80 00 10 */ li r4, 0x10
/* 80206200 00203160 4B E8 B8 C1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206204 00203164 48 00 00 C8 */ b lbl_802062CC
lbl_80206208:
/* 80206208 00203168 38 60 00 01 */ li r3, 1
/* 8020620C 0020316C 48 00 00 C0 */ b lbl_802062CC
lbl_80206210:
/* 80206210 00203170 38 60 00 01 */ li r3, 1
/* 80206214 00203174 48 00 00 B8 */ b lbl_802062CC
lbl_80206218:
/* 80206218 00203178 7F C3 F3 78 */ mr r3, r30
/* 8020621C 0020317C 3B E0 00 00 */ li r31, 0
/* 80206220 00203180 38 80 00 0F */ li r4, 0xf
/* 80206224 00203184 4B E8 B8 9D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206228 00203188 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8020622C 0020318C 40 82 00 90 */ bne lbl_802062BC
/* 80206230 00203190 7F C3 F3 78 */ mr r3, r30
/* 80206234 00203194 38 80 00 0C */ li r4, 0xc
/* 80206238 00203198 4B E8 B8 89 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 8020623C 0020319C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80206240 002031A0 40 82 00 7C */ bne lbl_802062BC
/* 80206244 002031A4 7F C3 F3 78 */ mr r3, r30
/* 80206248 002031A8 38 80 00 04 */ li r4, 4
/* 8020624C 002031AC 4B E8 B8 75 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206250 002031B0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80206254 002031B4 40 82 00 68 */ bne lbl_802062BC
/* 80206258 002031B8 7F C3 F3 78 */ mr r3, r30
/* 8020625C 002031BC 38 80 00 0A */ li r4, 0xa
/* 80206260 002031C0 4B E8 B8 61 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206264 002031C4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80206268 002031C8 40 82 00 54 */ bne lbl_802062BC
/* 8020626C 002031CC 7F C3 F3 78 */ mr r3, r30
/* 80206270 002031D0 38 80 00 0B */ li r4, 0xb
/* 80206274 002031D4 4B E8 B8 4D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206278 002031D8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8020627C 002031DC 40 82 00 40 */ bne lbl_802062BC
/* 80206280 002031E0 7F C3 F3 78 */ mr r3, r30
/* 80206284 002031E4 38 80 00 0E */ li r4, 0xe
/* 80206288 002031E8 4B E8 B8 39 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 8020628C 002031EC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80206290 002031F0 40 82 00 2C */ bne lbl_802062BC
/* 80206294 002031F4 7F C3 F3 78 */ mr r3, r30
/* 80206298 002031F8 38 80 00 1C */ li r4, 0x1c
/* 8020629C 002031FC 4B E8 B8 25 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 802062A0 00203200 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802062A4 00203204 40 82 00 18 */ bne lbl_802062BC
/* 802062A8 00203208 7F C3 F3 78 */ mr r3, r30
/* 802062AC 0020320C 38 80 00 08 */ li r4, 8
/* 802062B0 00203210 4B E8 B8 11 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 802062B4 00203214 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 802062B8 00203218 41 82 00 08 */ beq lbl_802062C0
lbl_802062BC:
/* 802062BC 0020321C 3B E0 00 01 */ li r31, 1
lbl_802062C0:
/* 802062C0 00203220 7F E3 FB 78 */ mr r3, r31
/* 802062C4 00203224 48 00 00 08 */ b lbl_802062CC
lbl_802062C8:
/* 802062C8 00203228 38 60 00 00 */ li r3, 0
lbl_802062CC:
/* 802062CC 0020322C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802062D0 00203230 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802062D4 00203234 83 C1 00 08 */ lwz r30, 8(r1)
/* 802062D8 00203238 7C 08 03 A6 */ mtlr r0
/* 802062DC 0020323C 38 21 00 10 */ addi r1, r1, 0x10
/* 802062E0 00203240 4E 80 00 20 */ blr
.global UpdateSamusDollPulses__16CInventoryScreenFv
UpdateSamusDollPulses__16CInventoryScreenFv:
/* 802062E4 00203244 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 802062E8 00203248 7C 08 02 A6 */ mflr r0
/* 802062EC 0020324C 38 80 00 00 */ li r4, 0
/* 802062F0 00203250 90 01 00 24 */ stw r0, 0x24(r1)
/* 802062F4 00203254 BF 61 00 0C */ stmw r27, 0xc(r1)
/* 802062F8 00203258 7C 7B 1B 78 */ mr r27, r3
/* 802062FC 0020325C 3B E0 00 00 */ li r31, 0
/* 80206300 00203260 3B C0 00 00 */ li r30, 0
/* 80206304 00203264 3B A0 00 00 */ li r29, 0
/* 80206308 00203268 3B 80 00 00 */ li r28, 0
/* 8020630C 0020326C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80206310 00203270 80 63 00 70 */ lwz r3, 0x70(r3)
/* 80206314 00203274 2C 00 00 01 */ cmpwi r0, 1
/* 80206318 00203278 80 03 00 C4 */ lwz r0, 0xc4(r3)
/* 8020631C 0020327C 40 82 00 74 */ bne lbl_80206390
/* 80206320 00203280 2C 00 00 02 */ cmpwi r0, 2
/* 80206324 00203284 40 82 00 0C */ bne lbl_80206330
/* 80206328 00203288 38 80 00 01 */ li r4, 1
/* 8020632C 0020328C 48 00 00 64 */ b lbl_80206390
lbl_80206330:
/* 80206330 00203290 2C 00 00 00 */ cmpwi r0, 0
/* 80206334 00203294 40 82 00 0C */ bne lbl_80206340
/* 80206338 00203298 3B E0 00 01 */ li r31, 1
/* 8020633C 0020329C 48 00 00 54 */ b lbl_80206390
lbl_80206340:
/* 80206340 002032A0 2C 00 00 03 */ cmpwi r0, 3
/* 80206344 002032A4 40 82 00 0C */ bne lbl_80206350
/* 80206348 002032A8 3B 80 00 01 */ li r28, 1
/* 8020634C 002032AC 48 00 00 44 */ b lbl_80206390
lbl_80206350:
/* 80206350 002032B0 2C 00 00 04 */ cmpwi r0, 4
/* 80206354 002032B4 40 82 00 3C */ bne lbl_80206390
/* 80206358 002032B8 80 1B 00 1C */ lwz r0, 0x1c(r27)
/* 8020635C 002032BC 3C 60 80 3D */ lis r3, lbl_803D26B4@ha
/* 80206360 002032C0 38 63 26 B4 */ addi r3, r3, lbl_803D26B4@l
/* 80206364 002032C4 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80206368 002032C8 7C 03 00 2E */ lwzx r0, r3, r0
/* 8020636C 002032CC 20 60 00 14 */ subfic r3, r0, 0x14
/* 80206370 002032D0 2C 00 00 15 */ cmpwi r0, 0x15
/* 80206374 002032D4 20 00 00 13 */ subfic r0, r0, 0x13
/* 80206378 002032D8 7C 63 00 34 */ cntlzw r3, r3
/* 8020637C 002032DC 7C 00 00 34 */ cntlzw r0, r0
/* 80206380 002032E0 54 7E D9 7E */ srwi r30, r3, 5
/* 80206384 002032E4 54 1D D9 7E */ srwi r29, r0, 5
/* 80206388 002032E8 40 82 00 08 */ bne lbl_80206390
/* 8020638C 002032EC 3B E0 00 01 */ li r31, 1
lbl_80206390:
/* 80206390 002032F0 80 7B 01 9C */ lwz r3, 0x19c(r27)
/* 80206394 002032F4 54 84 06 3E */ clrlwi r4, r4, 0x18
/* 80206398 002032F8 4B ED 50 99 */ bl SetPulseSuit__10CSamusDollFb
/* 8020639C 002032FC 80 7B 01 9C */ lwz r3, 0x19c(r27)
/* 802063A0 00203300 57 E4 06 3E */ clrlwi r4, r31, 0x18
/* 802063A4 00203304 4B ED 50 CD */ bl SetPulseBeam__10CSamusDollFb
/* 802063A8 00203308 80 7B 01 9C */ lwz r3, 0x19c(r27)
/* 802063AC 0020330C 57 C4 06 3E */ clrlwi r4, r30, 0x18
/* 802063B0 00203310 4B ED 50 B1 */ bl SetPulseGrapple__10CSamusDollFb
/* 802063B4 00203314 80 7B 01 9C */ lwz r3, 0x19c(r27)
/* 802063B8 00203318 57 A4 06 3E */ clrlwi r4, r29, 0x18
/* 802063BC 0020331C 4B ED 50 95 */ bl SetPulseBoots__10CSamusDollFb
/* 802063C0 00203320 80 7B 01 9C */ lwz r3, 0x19c(r27)
/* 802063C4 00203324 57 84 06 3E */ clrlwi r4, r28, 0x18
/* 802063C8 00203328 4B ED 50 79 */ bl SetPulseVisor__10CSamusDollFb
/* 802063CC 0020332C BB 61 00 0C */ lmw r27, 0xc(r1)
/* 802063D0 00203330 80 01 00 24 */ lwz r0, 0x24(r1)
/* 802063D4 00203334 7C 08 03 A6 */ mtlr r0
/* 802063D8 00203338 38 21 00 20 */ addi r1, r1, 0x20
/* 802063DC 0020333C 4E 80 00 20 */ blr
.global nullsub_125
nullsub_125:
/* 802063E0 00203340 4E 80 00 20 */ blr
.global InputDisabled__16CInventoryScreenCFv
InputDisabled__16CInventoryScreenCFv:
/* 802063E4 00203344 80 83 01 9C */ lwz r4, 0x19c(r3)
/* 802063E8 00203348 C0 02 B0 C4 */ lfs f0, lbl_805ACDE4@sda21(r2)
/* 802063EC 0020334C C0 24 00 C4 */ lfs f1, 0xc4(r4)
/* 802063F0 00203350 FC 20 0A 10 */ fabs f1, f1
/* 802063F4 00203354 FC 20 08 18 */ frsp f1, f1
/* 802063F8 00203358 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 802063FC 0020335C 40 81 00 0C */ ble lbl_80206408
/* 80206400 00203360 38 60 00 01 */ li r3, 1
/* 80206404 00203364 4E 80 00 20 */ blr
lbl_80206408:
/* 80206408 00203368 80 03 01 A8 */ lwz r0, 0x1a8(r3)
/* 8020640C 0020336C 20 00 00 01 */ subfic r0, r0, 1
/* 80206410 00203370 7C 00 00 34 */ cntlzw r0, r0
/* 80206414 00203374 54 03 D9 7E */ srwi r3, r0, 5
/* 80206418 00203378 4E 80 00 20 */ blr
.global TransitioningAway__16CInventoryScreenFv
TransitioningAway__16CInventoryScreenFv:
/* 8020641C 0020337C 38 00 00 01 */ li r0, 1
/* 80206420 00203380 90 03 01 A8 */ stw r0, 0x1a8(r3)
/* 80206424 00203384 4E 80 00 20 */ blr
.global UpdateRightLogHighlight__16CInventoryScreenFbiRC6CColorRC6CColor
UpdateRightLogHighlight__16CInventoryScreenFbiRC6CColorRC6CColor:
/* 80206428 00203388 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8020642C 0020338C 7C 08 02 A6 */ mflr r0
/* 80206430 00203390 90 01 00 54 */ stw r0, 0x54(r1)
/* 80206434 00203394 BE E1 00 2C */ stmw r23, 0x2c(r1)
/* 80206438 00203398 7C 79 1B 78 */ mr r25, r3
/* 8020643C 0020339C 7C D8 33 78 */ mr r24, r6
/* 80206440 002033A0 7C BB 2B 78 */ mr r27, r5
/* 80206444 002033A4 7C 9A 23 78 */ mr r26, r4
/* 80206448 002033A8 7C F7 3B 78 */ mr r23, r7
/* 8020644C 002033AC 7F 05 C3 78 */ mr r5, r24
/* 80206450 002033B0 38 61 00 14 */ addi r3, r1, 0x14
/* 80206454 002033B4 81 0D A1 3C */ lwz r8, gpTweakGuiColors@sda21(r13)
/* 80206458 002033B8 38 88 01 C0 */ addi r4, r8, 0x1c0
/* 8020645C 002033BC 48 15 CD 1D */ bl Modulate__6CColorFRC6CColorRC6CColor
/* 80206460 002033C0 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13)
/* 80206464 002033C4 7E E5 BB 78 */ mr r5, r23
/* 80206468 002033C8 38 61 00 10 */ addi r3, r1, 0x10
/* 8020646C 002033CC 38 84 01 C0 */ addi r4, r4, 0x1c0
/* 80206470 002033D0 48 15 CD 09 */ bl Modulate__6CColorFRC6CColorRC6CColor
/* 80206474 002033D4 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13)
/* 80206478 002033D8 7F 05 C3 78 */ mr r5, r24
/* 8020647C 002033DC 38 61 00 0C */ addi r3, r1, 0xc
/* 80206480 002033E0 38 84 01 BC */ addi r4, r4, 0x1bc
/* 80206484 002033E4 48 15 CC F5 */ bl Modulate__6CColorFRC6CColorRC6CColor
/* 80206488 002033E8 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8020648C 002033EC 7E E5 BB 78 */ mr r5, r23
/* 80206490 002033F0 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13)
/* 80206494 002033F4 38 61 00 08 */ addi r3, r1, 8
/* 80206498 002033F8 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8020649C 002033FC 38 84 01 BC */ addi r4, r4, 0x1bc
/* 802064A0 00203400 48 15 CC D9 */ bl Modulate__6CColorFRC6CColorRC6CColor
/* 802064A4 00203404 80 81 00 08 */ lwz r4, 8(r1)
/* 802064A8 00203408 3C 60 80 3D */ lis r3, lbl_803D26F0@ha
/* 802064AC 0020340C 38 03 26 F0 */ addi r0, r3, lbl_803D26F0@l
/* 802064B0 00203410 3B D9 01 48 */ addi r30, r25, 0x148
/* 802064B4 00203414 90 81 00 18 */ stw r4, 0x18(r1)
/* 802064B8 00203418 3B 80 00 00 */ li r28, 0
/* 802064BC 0020341C 3B E0 00 00 */ li r31, 0
/* 802064C0 00203420 80 79 00 70 */ lwz r3, 0x70(r25)
/* 802064C4 00203424 80 63 00 C4 */ lwz r3, 0xc4(r3)
/* 802064C8 00203428 54 63 18 38 */ slwi r3, r3, 3
/* 802064CC 0020342C 7F A0 1A 14 */ add r29, r0, r3
lbl_802064D0:
/* 802064D0 00203430 7C 1B E0 00 */ cmpw r27, r28
/* 802064D4 00203434 3B 00 00 00 */ li r24, 0
/* 802064D8 00203438 40 82 00 10 */ bne lbl_802064E8
/* 802064DC 0020343C 57 40 06 3F */ clrlwi. r0, r26, 0x18
/* 802064E0 00203440 41 82 00 08 */ beq lbl_802064E8
/* 802064E4 00203444 3B 00 00 01 */ li r24, 1
lbl_802064E8:
/* 802064E8 00203448 80 1D 00 00 */ lwz r0, 0(r29)
/* 802064EC 0020344C 3A E0 00 01 */ li r23, 1
/* 802064F0 00203450 7C 1C 00 00 */ cmpw r28, r0
/* 802064F4 00203454 40 80 00 38 */ bge lbl_8020652C
/* 802064F8 00203458 80 9D 00 04 */ lwz r4, 4(r29)
/* 802064FC 0020345C 7F 23 CB 78 */ mr r3, r25
/* 80206500 00203460 7C 84 F8 2E */ lwzx r4, r4, r31
/* 80206504 00203464 4B FF F8 39 */ bl IsRightInventoryItemEquipped__16CInventoryScreenCFi
/* 80206508 00203468 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8020650C 0020346C 41 82 00 20 */ beq lbl_8020652C
/* 80206510 00203470 57 00 06 3F */ clrlwi. r0, r24, 0x18
/* 80206514 00203474 41 82 00 18 */ beq lbl_8020652C
/* 80206518 00203478 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13)
/* 8020651C 0020347C 3A E0 00 00 */ li r23, 0
/* 80206520 00203480 80 79 00 8C */ lwz r3, 0x8c(r25)
/* 80206524 00203484 38 84 01 C0 */ addi r4, r4, 0x1c0
/* 80206528 00203488 48 0C 43 45 */ bl SetColor__10CGuiWidgetFRC6CColor
lbl_8020652C:
/* 8020652C 0020348C 57 00 06 3F */ clrlwi. r0, r24, 0x18
/* 80206530 00203490 80 7E 00 00 */ lwz r3, 0(r30)
/* 80206534 00203494 38 81 00 18 */ addi r4, r1, 0x18
/* 80206538 00203498 41 82 00 08 */ beq lbl_80206540
/* 8020653C 0020349C 38 81 00 1C */ addi r4, r1, 0x1c
lbl_80206540:
/* 80206540 002034A0 48 0C 43 2D */ bl SetColor__10CGuiWidgetFRC6CColor
/* 80206544 002034A4 56 E0 06 3F */ clrlwi. r0, r23, 0x18
/* 80206548 002034A8 41 82 00 18 */ beq lbl_80206560
/* 8020654C 002034AC 57 00 06 3F */ clrlwi. r0, r24, 0x18
/* 80206550 002034B0 41 82 00 10 */ beq lbl_80206560
/* 80206554 002034B4 80 79 00 8C */ lwz r3, 0x8c(r25)
/* 80206558 002034B8 38 81 00 1C */ addi r4, r1, 0x1c
/* 8020655C 002034BC 48 0C 43 11 */ bl SetColor__10CGuiWidgetFRC6CColor
lbl_80206560:
/* 80206560 002034C0 3B 9C 00 01 */ addi r28, r28, 1
/* 80206564 002034C4 3B DE 00 04 */ addi r30, r30, 4
/* 80206568 002034C8 2C 1C 00 05 */ cmpwi r28, 5
/* 8020656C 002034CC 3B FF 00 0C */ addi r31, r31, 0xc
/* 80206570 002034D0 41 80 FF 60 */ blt lbl_802064D0
/* 80206574 002034D4 BA E1 00 2C */ lmw r23, 0x2c(r1)
/* 80206578 002034D8 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8020657C 002034DC 7C 08 03 A6 */ mtlr r0
/* 80206580 002034E0 38 21 00 50 */ addi r1, r1, 0x50
/* 80206584 002034E4 4E 80 00 20 */ blr
.global UpdateRightLogColors__16CInventoryScreenFbRC6CColor
UpdateRightLogColors__16CInventoryScreenFbRC6CColor:
/* 80206588 002034E8 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8020658C 002034EC 7C 08 02 A6 */ mflr r0
/* 80206590 002034F0 90 01 00 54 */ stw r0, 0x54(r1)
/* 80206594 002034F4 DB E1 00 40 */ stfd f31, 0x40(r1)
/* 80206598 002034F8 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
/* 8020659C 002034FC BE E1 00 1C */ stmw r23, 0x1c(r1)
/* 802065A0 00203500 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 802065A4 00203504 7C 7E 1B 78 */ mr r30, r3
/* 802065A8 00203508 7C BF 2B 78 */ mr r31, r5
/* 802065AC 0020350C 41 82 00 10 */ beq lbl_802065BC
/* 802065B0 00203510 48 14 39 FD */ bl White__6CColorFv
/* 802065B4 00203514 7C 64 1B 78 */ mr r4, r3
/* 802065B8 00203518 48 00 00 24 */ b lbl_802065DC
lbl_802065BC:
/* 802065BC 0020351C 48 14 39 F1 */ bl White__6CColorFv
/* 802065C0 00203520 C3 E2 B0 C8 */ lfs f31, lbl_805ACDE8@sda21(r2)
/* 802065C4 00203524 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 802065C8 00203528 38 81 00 0C */ addi r4, r1, 0xc
/* 802065CC 0020352C 80 63 00 00 */ lwz r3, 0(r3)
/* 802065D0 00203530 88 01 00 08 */ lbz r0, 8(r1)
/* 802065D4 00203534 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17
/* 802065D8 00203538 90 01 00 0C */ stw r0, 0xc(r1)
lbl_802065DC:
/* 802065DC 0020353C 80 7E 00 80 */ lwz r3, 0x80(r30)
/* 802065E0 00203540 48 0C 42 8D */ bl SetColor__10CGuiWidgetFRC6CColor
/* 802065E4 00203544 80 9E 00 70 */ lwz r4, 0x70(r30)
/* 802065E8 00203548 3C 60 80 3D */ lis r3, lbl_803D26F0@ha
/* 802065EC 0020354C 38 03 26 F0 */ addi r0, r3, lbl_803D26F0@l
/* 802065F0 00203550 3B BE 00 DC */ addi r29, r30, 0xdc
/* 802065F4 00203554 80 64 00 C4 */ lwz r3, 0xc4(r4)
/* 802065F8 00203558 3B 7E 01 60 */ addi r27, r30, 0x160
/* 802065FC 0020355C 3B 20 00 00 */ li r25, 0
/* 80206600 00203560 3B 80 00 00 */ li r28, 0
/* 80206604 00203564 54 63 18 38 */ slwi r3, r3, 3
/* 80206608 00203568 7F 40 1A 14 */ add r26, r0, r3
lbl_8020660C:
/* 8020660C 0020356C 80 1A 00 00 */ lwz r0, 0(r26)
/* 80206610 00203570 3A E0 00 01 */ li r23, 1
/* 80206614 00203574 83 1D 00 00 */ lwz r24, 0(r29)
/* 80206618 00203578 7C 19 00 00 */ cmpw r25, r0
/* 8020661C 0020357C 40 80 00 40 */ bge lbl_8020665C
/* 80206620 00203580 80 9A 00 04 */ lwz r4, 4(r26)
/* 80206624 00203584 7F C3 F3 78 */ mr r3, r30
/* 80206628 00203588 7C 84 E0 2E */ lwzx r4, r4, r28
/* 8020662C 0020358C 4B FF F7 11 */ bl IsRightInventoryItemEquipped__16CInventoryScreenCFi
/* 80206630 00203590 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80206634 00203594 41 82 00 28 */ beq lbl_8020665C
/* 80206638 00203598 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13)
/* 8020663C 0020359C 80 7B 00 00 */ lwz r3, 0(r27)
/* 80206640 002035A0 38 84 01 C0 */ addi r4, r4, 0x1c0
/* 80206644 002035A4 48 0C 42 29 */ bl SetColor__10CGuiWidgetFRC6CColor
/* 80206648 002035A8 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13)
/* 8020664C 002035AC 38 78 00 D4 */ addi r3, r24, 0xd4
/* 80206650 002035B0 38 84 01 C0 */ addi r4, r4, 0x1c0
/* 80206654 002035B4 48 0C 30 15 */ bl SetFontColor__15CGuiTextSupportFRC6CColor
/* 80206658 002035B8 3A E0 00 00 */ li r23, 0
lbl_8020665C:
/* 8020665C 002035BC 56 E0 06 3F */ clrlwi. r0, r23, 0x18
/* 80206660 002035C0 41 82 00 1C */ beq lbl_8020667C
/* 80206664 002035C4 80 7B 00 00 */ lwz r3, 0(r27)
/* 80206668 002035C8 7F E4 FB 78 */ mr r4, r31
/* 8020666C 002035CC 48 0C 42 01 */ bl SetColor__10CGuiWidgetFRC6CColor
/* 80206670 002035D0 7F E4 FB 78 */ mr r4, r31
/* 80206674 002035D4 38 78 00 D4 */ addi r3, r24, 0xd4
/* 80206678 002035D8 48 0C 2F F1 */ bl SetFontColor__15CGuiTextSupportFRC6CColor
lbl_8020667C:
/* 8020667C 002035DC 3B 39 00 01 */ addi r25, r25, 1
/* 80206680 002035E0 3B 9C 00 0C */ addi r28, r28, 0xc
/* 80206684 002035E4 2C 19 00 05 */ cmpwi r25, 5
/* 80206688 002035E8 3B 7B 00 04 */ addi r27, r27, 4
/* 8020668C 002035EC 3B BD 00 04 */ addi r29, r29, 4
/* 80206690 002035F0 41 80 FF 7C */ blt lbl_8020660C
/* 80206694 002035F4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
/* 80206698 002035F8 CB E1 00 40 */ lfd f31, 0x40(r1)
/* 8020669C 002035FC BA E1 00 1C */ lmw r23, 0x1c(r1)
/* 802066A0 00203600 80 01 00 54 */ lwz r0, 0x54(r1)
/* 802066A4 00203604 7C 08 03 A6 */ mtlr r0
/* 802066A8 00203608 38 21 00 50 */ addi r1, r1, 0x50
/* 802066AC 0020360C 4E 80 00 20 */ blr
.global UpdateRightTable__16CInventoryScreenFv
UpdateRightTable__16CInventoryScreenFv:
/* 802066B0 00203610 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 802066B4 00203614 7C 08 02 A6 */ mflr r0
/* 802066B8 00203618 90 01 00 84 */ stw r0, 0x84(r1)
/* 802066BC 0020361C DB E1 00 70 */ stfd f31, 0x70(r1)
/* 802066C0 00203620 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0
/* 802066C4 00203624 BF 01 00 50 */ stmw r24, 0x50(r1)
/* 802066C8 00203628 7C 7C 1B 78 */ mr r28, r3
/* 802066CC 0020362C 4B E6 A7 01 */ bl UpdateRightTable__16CPauseScreenBaseFv
/* 802066D0 00203630 80 9C 00 70 */ lwz r4, 0x70(r28)
/* 802066D4 00203634 3C 60 80 3D */ lis r3, lbl_803D26F0@ha
/* 802066D8 00203638 3C A0 80 00 */ lis r5, 0x7FFFFFFF@ha
/* 802066DC 0020363C 3B FC 00 DC */ addi r31, r28, 0xdc
/* 802066E0 00203640 80 84 00 C4 */ lwz r4, 0xc4(r4)
/* 802066E4 00203644 38 03 26 F0 */ addi r0, r3, lbl_803D26F0@l
/* 802066E8 00203648 3B C5 FF FF */ addi r30, r5, 0x7FFFFFFF@l
/* 802066EC 0020364C 3B A0 00 00 */ li r29, 0
/* 802066F0 00203650 54 83 18 38 */ slwi r3, r4, 3
/* 802066F4 00203654 3B 60 00 00 */ li r27, 0
/* 802066F8 00203658 7F 40 1A 14 */ add r26, r0, r3
lbl_802066FC:
/* 802066FC 0020365C 80 1A 00 00 */ lwz r0, 0(r26)
/* 80206700 00203660 83 3F 00 00 */ lwz r25, 0(r31)
/* 80206704 00203664 7C 1D 00 00 */ cmpw r29, r0
/* 80206708 00203668 40 80 00 E0 */ bge lbl_802067E8
/* 8020670C 0020366C 80 1A 00 04 */ lwz r0, 4(r26)
/* 80206710 00203670 7F 83 E3 78 */ mr r3, r28
/* 80206714 00203674 7F 00 DA 14 */ add r24, r0, r27
/* 80206718 00203678 80 98 00 00 */ lwz r4, 0(r24)
/* 8020671C 0020367C 4B FF F8 75 */ bl HasRightInventoryItem__16CInventoryScreenCFi
/* 80206720 00203680 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80206724 00203684 41 82 00 74 */ beq lbl_80206798
/* 80206728 00203688 80 7C 00 0C */ lwz r3, 0xc(r28)
/* 8020672C 0020368C 80 98 00 04 */ lwz r4, 4(r24)
/* 80206730 00203690 48 14 FF CD */ bl GetString__12CStringTableCFi
/* 80206734 00203694 7C 64 1B 78 */ mr r4, r3
/* 80206738 00203698 38 61 00 34 */ addi r3, r1, 0x34
/* 8020673C 0020369C 38 C1 00 0C */ addi r6, r1, 0xc
/* 80206740 002036A0 38 A0 FF FF */ li r5, -1
/* 80206744 002036A4 48 13 70 79 */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator"
/* 80206748 002036A8 38 79 00 D4 */ addi r3, r25, 0xd4
/* 8020674C 002036AC 38 81 00 34 */ addi r4, r1, 0x34
/* 80206750 002036B0 38 A0 00 00 */ li r5, 0
/* 80206754 002036B4 48 0C 31 31 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80206758 002036B8 38 61 00 34 */ addi r3, r1, 0x34
/* 8020675C 002036BC 48 13 69 D9 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80206760 002036C0 80 7C 00 84 */ lwz r3, 0x84(r28)
/* 80206764 002036C4 38 9D 00 01 */ addi r4, r29, 1
/* 80206768 002036C8 81 83 00 00 */ lwz r12, 0(r3)
/* 8020676C 002036CC 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80206770 002036D0 7D 89 03 A6 */ mtctr r12
/* 80206774 002036D4 4E 80 04 21 */ bctrl
/* 80206778 002036D8 88 03 00 B6 */ lbz r0, 0xb6(r3)
/* 8020677C 002036DC 38 80 00 01 */ li r4, 1
/* 80206780 002036E0 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 80206784 002036E4 7C 1D F0 00 */ cmpw r29, r30
/* 80206788 002036E8 98 03 00 B6 */ stb r0, 0xb6(r3)
/* 8020678C 002036EC 40 80 00 88 */ bge lbl_80206814
/* 80206790 002036F0 7F BE EB 78 */ mr r30, r29
/* 80206794 002036F4 48 00 00 80 */ b lbl_80206814
lbl_80206798:
/* 80206798 002036F8 80 82 B0 C0 */ lwz r4, lbl_805ACDE0@sda21(r2)
/* 8020679C 002036FC 38 61 00 24 */ addi r3, r1, 0x24
/* 802067A0 00203700 4B E0 F2 51 */ bl wstring_l__4rstlFPCw
/* 802067A4 00203704 38 79 00 D4 */ addi r3, r25, 0xd4
/* 802067A8 00203708 38 81 00 24 */ addi r4, r1, 0x24
/* 802067AC 0020370C 38 A0 00 00 */ li r5, 0
/* 802067B0 00203710 48 0C 30 D5 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 802067B4 00203714 38 61 00 24 */ addi r3, r1, 0x24
/* 802067B8 00203718 48 13 69 7D */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 802067BC 0020371C 80 7C 00 84 */ lwz r3, 0x84(r28)
/* 802067C0 00203720 38 9D 00 01 */ addi r4, r29, 1
/* 802067C4 00203724 81 83 00 00 */ lwz r12, 0(r3)
/* 802067C8 00203728 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 802067CC 0020372C 7D 89 03 A6 */ mtctr r12
/* 802067D0 00203730 4E 80 04 21 */ bctrl
/* 802067D4 00203734 88 03 00 B6 */ lbz r0, 0xb6(r3)
/* 802067D8 00203738 38 80 00 00 */ li r4, 0
/* 802067DC 0020373C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 802067E0 00203740 98 03 00 B6 */ stb r0, 0xb6(r3)
/* 802067E4 00203744 48 00 00 30 */ b lbl_80206814
lbl_802067E8:
/* 802067E8 00203748 3C 80 80 3E */ lis r4, lbl_803E6FC4@ha
/* 802067EC 0020374C 38 61 00 14 */ addi r3, r1, 0x14
/* 802067F0 00203750 38 84 6F C4 */ addi r4, r4, lbl_803E6FC4@l
/* 802067F4 00203754 38 84 00 0E */ addi r4, r4, 0xe
/* 802067F8 00203758 4B E0 F1 F9 */ bl wstring_l__4rstlFPCw
/* 802067FC 0020375C 38 79 00 D4 */ addi r3, r25, 0xd4
/* 80206800 00203760 38 81 00 14 */ addi r4, r1, 0x14
/* 80206804 00203764 38 A0 00 00 */ li r5, 0
/* 80206808 00203768 48 0C 30 7D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 8020680C 0020376C 38 61 00 14 */ addi r3, r1, 0x14
/* 80206810 00203770 48 13 69 25 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
lbl_80206814:
/* 80206814 00203774 3B BD 00 01 */ addi r29, r29, 1
/* 80206818 00203778 3B 7B 00 0C */ addi r27, r27, 0xc
/* 8020681C 0020377C 2C 1D 00 05 */ cmpwi r29, 5
/* 80206820 00203780 3B FF 00 04 */ addi r31, r31, 4
/* 80206824 00203784 41 80 FE D8 */ blt lbl_802066FC
/* 80206828 00203788 3C 1E 80 01 */ addis r0, r30, 0x8001
/* 8020682C 0020378C 28 00 FF FF */ cmplwi r0, 0xffff
/* 80206830 00203790 41 82 00 18 */ beq lbl_80206848
/* 80206834 00203794 93 DC 00 1C */ stw r30, 0x1c(r28)
/* 80206838 00203798 7F 83 E3 78 */ mr r3, r28
/* 8020683C 0020379C 80 9C 00 1C */ lwz r4, 0x1c(r28)
/* 80206840 002037A0 7C 85 23 78 */ mr r5, r4
/* 80206844 002037A4 4B E6 A2 AD */ bl SetRightTableSelection__16CPauseScreenBaseFii
lbl_80206848:
/* 80206848 002037A8 80 7C 00 84 */ lwz r3, 0x84(r28)
/* 8020684C 002037AC 38 80 00 00 */ li r4, 0
/* 80206850 002037B0 81 83 00 00 */ lwz r12, 0(r3)
/* 80206854 002037B4 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80206858 002037B8 7D 89 03 A6 */ mtctr r12
/* 8020685C 002037BC 4E 80 04 21 */ bctrl
/* 80206860 002037C0 88 03 00 B6 */ lbz r0, 0xb6(r3)
/* 80206864 002037C4 38 80 00 00 */ li r4, 0
/* 80206868 002037C8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 8020686C 002037CC 98 03 00 B6 */ stb r0, 0xb6(r3)
/* 80206870 002037D0 80 7C 00 84 */ lwz r3, 0x84(r28)
/* 80206874 002037D4 81 83 00 00 */ lwz r12, 0(r3)
/* 80206878 002037D8 80 83 00 C0 */ lwz r4, 0xc0(r3)
/* 8020687C 002037DC 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80206880 002037E0 38 84 FF FF */ addi r4, r4, -1
/* 80206884 002037E4 7D 89 03 A6 */ mtctr r12
/* 80206888 002037E8 4E 80 04 21 */ bctrl
/* 8020688C 002037EC 88 03 00 B6 */ lbz r0, 0xb6(r3)
/* 80206890 002037F0 38 80 00 00 */ li r4, 0
/* 80206894 002037F4 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 80206898 002037F8 C3 E2 B0 CC */ lfs f31, lbl_805ACDEC@sda21(r2)
/* 8020689C 002037FC 98 03 00 B6 */ stb r0, 0xb6(r3)
/* 802068A0 00203800 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13)
/* 802068A4 00203804 38 A3 01 BC */ addi r5, r3, 0x1bc
/* 802068A8 00203808 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 802068AC 0020380C 80 E3 01 BC */ lwz r7, 0x1bc(r3)
/* 802068B0 00203810 7F 83 E3 78 */ mr r3, r28
/* 802068B4 00203814 88 01 00 08 */ lbz r0, 8(r1)
/* 802068B8 00203818 38 C1 00 10 */ addi r6, r1, 0x10
/* 802068BC 0020381C 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17
/* 802068C0 00203820 38 80 00 00 */ li r4, 0
/* 802068C4 00203824 90 01 00 10 */ stw r0, 0x10(r1)
/* 802068C8 00203828 81 9C 00 00 */ lwz r12, 0(r28)
/* 802068CC 0020382C 81 8C 00 4C */ lwz r12, 0x4c(r12)
/* 802068D0 00203830 7D 89 03 A6 */ mtctr r12
/* 802068D4 00203834 4E 80 04 21 */ bctrl
/* 802068D8 00203838 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0
/* 802068DC 0020383C CB E1 00 70 */ lfd f31, 0x70(r1)
/* 802068E0 00203840 BB 01 00 50 */ lmw r24, 0x50(r1)
/* 802068E4 00203844 80 01 00 84 */ lwz r0, 0x84(r1)
/* 802068E8 00203848 7C 08 03 A6 */ mtlr r0
/* 802068EC 0020384C 38 21 00 80 */ addi r1, r1, 0x80
/* 802068F0 00203850 4E 80 00 20 */ blr
.global Update__16CInventoryScreenFfR9CRandom16R18CArchitectureQueue
Update__16CInventoryScreenFfR9CRandom16R18CArchitectureQueue:
/* 802068F4 00203854 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 802068F8 00203858 7C 08 02 A6 */ mflr r0
/* 802068FC 0020385C 90 01 00 64 */ stw r0, 0x64(r1)
/* 80206900 00203860 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 80206904 00203864 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0
/* 80206908 00203868 DB C1 00 40 */ stfd f30, 0x40(r1)
/* 8020690C 0020386C F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0
/* 80206910 00203870 DB A1 00 30 */ stfd f29, 0x30(r1)
/* 80206914 00203874 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0
/* 80206918 00203878 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8020691C 0020387C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80206920 00203880 FF E0 08 90 */ fmr f31, f1
/* 80206924 00203884 7C 7F 1B 78 */ mr r31, r3
/* 80206928 00203888 7C 9E 23 78 */ mr r30, r4
/* 8020692C 0020388C 4B E6 AB 75 */ bl Update__16CPauseScreenBaseFfR9CRandom16R18CArchitectureQueue
/* 80206930 00203890 FC 20 F8 90 */ fmr f1, f31
/* 80206934 00203894 80 7F 01 9C */ lwz r3, 0x19c(r31)
/* 80206938 00203898 7F C4 F3 78 */ mr r4, r30
/* 8020693C 0020389C 4B ED 5F 21 */ bl Update__10CSamusDollFfR9CRandom16
/* 80206940 002038A0 80 1F 00 10 */ lwz r0, 0x10(r31)
/* 80206944 002038A4 2C 00 00 02 */ cmpwi r0, 2
/* 80206948 002038A8 40 82 01 04 */ bne lbl_80206A4C
/* 8020694C 002038AC 88 1F 01 AD */ lbz r0, 0x1ad(r31)
/* 80206950 002038B0 28 00 00 00 */ cmplwi r0, 0
/* 80206954 002038B4 41 82 00 38 */ beq lbl_8020698C
/* 80206958 002038B8 C0 42 B0 D0 */ lfs f2, lbl_805ACDF0@sda21(r2)
/* 8020695C 002038BC C0 3F 01 A4 */ lfs f1, 0x1a4(r31)
/* 80206960 002038C0 C0 0D 93 84 */ lfs f0, lbl_805A7F44@sda21(r13)
/* 80206964 002038C4 EC 22 0F FA */ fmadds f1, f2, f31, f1
/* 80206968 002038C8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8020696C 002038CC D0 21 00 14 */ stfs f1, 0x14(r1)
/* 80206970 002038D0 40 80 00 0C */ bge lbl_8020697C
/* 80206974 002038D4 38 61 00 14 */ addi r3, r1, 0x14
/* 80206978 002038D8 48 00 00 08 */ b lbl_80206980
lbl_8020697C:
/* 8020697C 002038DC 38 6D 93 84 */ addi r3, r13, lbl_805A7F44@sda21
lbl_80206980:
/* 80206980 002038E0 C0 03 00 00 */ lfs f0, 0(r3)
/* 80206984 002038E4 D0 1F 01 A4 */ stfs f0, 0x1a4(r31)
/* 80206988 002038E8 48 00 00 34 */ b lbl_802069BC
lbl_8020698C:
/* 8020698C 002038EC C0 42 B0 D0 */ lfs f2, lbl_805ACDF0@sda21(r2)
/* 80206990 002038F0 C0 3F 01 A4 */ lfs f1, 0x1a4(r31)
/* 80206994 002038F4 C0 0D 93 88 */ lfs f0, lbl_805A7F48@sda21(r13)
/* 80206998 002038F8 EC 22 0F FC */ fnmsubs f1, f2, f31, f1
/* 8020699C 002038FC FC 00 08 40 */ fcmpo cr0, f0, f1
/* 802069A0 00203900 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 802069A4 00203904 40 80 00 0C */ bge lbl_802069B0
/* 802069A8 00203908 38 61 00 10 */ addi r3, r1, 0x10
/* 802069AC 0020390C 48 00 00 08 */ b lbl_802069B4
lbl_802069B0:
/* 802069B0 00203910 38 6D 93 88 */ addi r3, r13, lbl_805A7F48@sda21
lbl_802069B4:
/* 802069B4 00203914 C0 03 00 00 */ lfs f0, 0(r3)
/* 802069B8 00203918 D0 1F 01 A4 */ stfs f0, 0x1a4(r31)
lbl_802069BC:
/* 802069BC 0020391C C3 FF 01 A4 */ lfs f31, 0x1a4(r31)
/* 802069C0 00203920 48 14 35 ED */ bl White__6CColorFv
/* 802069C4 00203924 C0 02 B0 D4 */ lfs f0, lbl_805ACDF4@sda21(r2)
/* 802069C8 00203928 EF A0 07 F2 */ fmuls f29, f0, f31
/* 802069CC 0020392C F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2
/* 802069D0 00203930 38 81 00 18 */ addi r4, r1, 0x18
/* 802069D4 00203934 80 63 00 00 */ lwz r3, 0(r3)
/* 802069D8 00203938 88 01 00 08 */ lbz r0, 8(r1)
/* 802069DC 0020393C 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17
/* 802069E0 00203940 90 01 00 18 */ stw r0, 0x18(r1)
/* 802069E4 00203944 80 7F 01 74 */ lwz r3, 0x174(r31)
/* 802069E8 00203948 48 0C 3E 85 */ bl SetColor__10CGuiWidgetFRC6CColor
/* 802069EC 0020394C C0 22 B0 D8 */ lfs f1, lbl_805ACDF8@sda21(r2)
/* 802069F0 00203950 C0 1F 01 A4 */ lfs f0, 0x1a4(r31)
/* 802069F4 00203954 EF E1 00 28 */ fsubs f31, f1, f0
/* 802069F8 00203958 48 14 35 B5 */ bl White__6CColorFv
/* 802069FC 0020395C C0 02 B0 D4 */ lfs f0, lbl_805ACDF4@sda21(r2)
/* 80206A00 00203960 EF C0 07 F2 */ fmuls f30, f0, f31
/* 80206A04 00203964 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2
/* 80206A08 00203968 38 81 00 0C */ addi r4, r1, 0xc
/* 80206A0C 0020396C 80 63 00 00 */ lwz r3, 0(r3)
/* 80206A10 00203970 88 01 00 09 */ lbz r0, 9(r1)
/* 80206A14 00203974 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17
/* 80206A18 00203978 90 01 00 0C */ stw r0, 0xc(r1)
/* 80206A1C 0020397C 80 7F 01 80 */ lwz r3, 0x180(r31)
/* 80206A20 00203980 48 0C 3E 4D */ bl SetColor__10CGuiWidgetFRC6CColor
/* 80206A24 00203984 C0 22 B0 C4 */ lfs f1, lbl_805ACDE4@sda21(r2)
/* 80206A28 00203988 C0 1F 01 A4 */ lfs f0, 0x1a4(r31)
/* 80206A2C 0020398C FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80206A30 00203990 40 82 00 1C */ bne lbl_80206A4C
/* 80206A34 00203994 80 1F 01 A8 */ lwz r0, 0x1a8(r31)
/* 80206A38 00203998 2C 00 00 00 */ cmpwi r0, 0
/* 80206A3C 0020399C 40 82 00 10 */ bne lbl_80206A4C
/* 80206A40 002039A0 7F E3 FB 78 */ mr r3, r31
/* 80206A44 002039A4 38 80 00 01 */ li r4, 1
/* 80206A48 002039A8 4B E6 A3 CD */ bl ChangeMode__16CPauseScreenBaseFQ216CPauseScreenBase5EMode
lbl_80206A4C:
/* 80206A4C 002039AC 80 9F 00 70 */ lwz r4, 0x70(r31)
/* 80206A50 002039B0 38 A0 00 00 */ li r5, 0
/* 80206A54 002039B4 80 7F 01 9C */ lwz r3, 0x19c(r31)
/* 80206A58 002039B8 80 04 00 C4 */ lwz r0, 0xc4(r4)
/* 80206A5C 002039BC 2C 00 00 01 */ cmpwi r0, 1
/* 80206A60 002039C0 40 82 00 14 */ bne lbl_80206A74
/* 80206A64 002039C4 80 1F 00 10 */ lwz r0, 0x10(r31)
/* 80206A68 002039C8 2C 00 00 00 */ cmpwi r0, 0
/* 80206A6C 002039CC 41 82 00 08 */ beq lbl_80206A74
/* 80206A70 002039D0 38 A0 00 01 */ li r5, 1
lbl_80206A74:
/* 80206A74 002039D4 54 A4 06 3E */ clrlwi r4, r5, 0x18
/* 80206A78 002039D8 4B ED 4B 95 */ bl CheckTransition__10CSamusDollFb
/* 80206A7C 002039DC 7F E3 FB 78 */ mr r3, r31
/* 80206A80 002039E0 4B FF F8 65 */ bl UpdateSamusDollPulses__16CInventoryScreenFv
/* 80206A84 002039E4 80 1F 01 A8 */ lwz r0, 0x1a8(r31)
/* 80206A88 002039E8 2C 00 00 01 */ cmpwi r0, 1
/* 80206A8C 002039EC 40 82 00 1C */ bne lbl_80206AA8
/* 80206A90 002039F0 C0 22 B0 C4 */ lfs f1, lbl_805ACDE4@sda21(r2)
/* 80206A94 002039F4 C0 1F 01 A4 */ lfs f0, 0x1a4(r31)
/* 80206A98 002039F8 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80206A9C 002039FC 40 82 00 0C */ bne lbl_80206AA8
/* 80206AA0 00203A00 38 00 00 02 */ li r0, 2
/* 80206AA4 00203A04 90 1F 01 A8 */ stw r0, 0x1a8(r31)
lbl_80206AA8:
/* 80206AA8 00203A08 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0
/* 80206AAC 00203A0C CB E1 00 50 */ lfd f31, 0x50(r1)
/* 80206AB0 00203A10 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0
/* 80206AB4 00203A14 CB C1 00 40 */ lfd f30, 0x40(r1)
/* 80206AB8 00203A18 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0
/* 80206ABC 00203A1C CB A1 00 30 */ lfd f29, 0x30(r1)
/* 80206AC0 00203A20 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80206AC4 00203A24 80 01 00 64 */ lwz r0, 0x64(r1)
/* 80206AC8 00203A28 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80206ACC 00203A2C 7C 08 03 A6 */ mtlr r0
/* 80206AD0 00203A30 38 21 00 60 */ addi r1, r1, 0x60
/* 80206AD4 00203A34 4E 80 00 20 */ blr
.global Touch__16CInventoryScreenFv
Touch__16CInventoryScreenFv:
/* 80206AD8 00203A38 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80206ADC 00203A3C 7C 08 02 A6 */ mflr r0
/* 80206AE0 00203A40 90 01 00 14 */ stw r0, 0x14(r1)
/* 80206AE4 00203A44 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80206AE8 00203A48 7C 7F 1B 78 */ mr r31, r3
/* 80206AEC 00203A4C 4B E6 A9 B1 */ bl Touch__16CPauseScreenBaseFv
/* 80206AF0 00203A50 80 7F 01 9C */ lwz r3, 0x19c(r31)
/* 80206AF4 00203A54 4B ED 69 7D */ bl Touch__10CSamusDollFv
/* 80206AF8 00203A58 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80206AFC 00203A5C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80206B00 00203A60 7C 08 03 A6 */ mtlr r0
/* 80206B04 00203A64 38 21 00 10 */ addi r1, r1, 0x10
/* 80206B08 00203A68 4E 80 00 20 */ blr
.global Draw__16CInventoryScreenCFfff
Draw__16CInventoryScreenCFfff:
/* 80206B0C 00203A6C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80206B10 00203A70 7C 08 02 A6 */ mflr r0
/* 80206B14 00203A74 90 01 00 24 */ stw r0, 0x24(r1)
/* 80206B18 00203A78 DB E1 00 10 */ stfd f31, 0x10(r1)
/* 80206B1C 00203A7C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
/* 80206B20 00203A80 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80206B24 00203A84 7C 7F 1B 78 */ mr r31, r3
/* 80206B28 00203A88 FF E0 08 90 */ fmr f31, f1
/* 80206B2C 00203A8C 80 83 01 9C */ lwz r4, 0x19c(r3)
/* 80206B30 00203A90 C0 04 00 C4 */ lfs f0, 0xc4(r4)
/* 80206B34 00203A94 FC 00 02 10 */ fabs f0, f0
/* 80206B38 00203A98 FC 60 00 18 */ frsp f3, f0
/* 80206B3C 00203A9C 4B E6 A8 55 */ bl Draw__16CPauseScreenBaseCFfff
/* 80206B40 00203AA0 C0 22 B0 D8 */ lfs f1, lbl_805ACDF8@sda21(r2)
/* 80206B44 00203AA4 C0 1F 01 A4 */ lfs f0, 0x1a4(r31)
/* 80206B48 00203AA8 80 7F 01 9C */ lwz r3, 0x19c(r31)
/* 80206B4C 00203AAC EC 01 00 28 */ fsubs f0, f1, f0
/* 80206B50 00203AB0 80 9F 00 04 */ lwz r4, 4(r31)
/* 80206B54 00203AB4 EC 3F 00 32 */ fmuls f1, f31, f0
/* 80206B58 00203AB8 4B ED 4A FD */ bl Draw__10CSamusDollFRC13CStateManagerf
/* 80206B5C 00203ABC E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
/* 80206B60 00203AC0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80206B64 00203AC4 CB E1 00 10 */ lfd f31, 0x10(r1)
/* 80206B68 00203AC8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80206B6C 00203ACC 7C 08 03 A6 */ mtlr r0
/* 80206B70 00203AD0 38 21 00 20 */ addi r1, r1, 0x20
/* 80206B74 00203AD4 4E 80 00 20 */ blr
.global GetRightTableCount__16CInventoryScreenCFv
GetRightTableCount__16CInventoryScreenCFv:
/* 80206B78 00203AD8 80 83 00 70 */ lwz r4, 0x70(r3)
/* 80206B7C 00203ADC 3C 60 80 3D */ lis r3, lbl_803D26F0@ha
/* 80206B80 00203AE0 38 63 26 F0 */ addi r3, r3, lbl_803D26F0@l
/* 80206B84 00203AE4 80 04 00 C4 */ lwz r0, 0xc4(r4)
/* 80206B88 00203AE8 54 00 18 38 */ slwi r0, r0, 3
/* 80206B8C 00203AEC 7C 63 00 2E */ lwzx r3, r3, r0
/* 80206B90 00203AF0 4E 80 00 20 */ blr
.global ShouldRightTableAdvance__16CInventoryScreenFv
ShouldRightTableAdvance__16CInventoryScreenFv:
/* 80206B94 00203AF4 80 63 01 9C */ lwz r3, 0x19c(r3)
/* 80206B98 00203AF8 C0 22 B0 C4 */ lfs f1, lbl_805ACDE4@sda21(r2)
/* 80206B9C 00203AFC C0 03 00 C4 */ lfs f0, 0xc4(r3)
/* 80206BA0 00203B00 FC 00 02 10 */ fabs f0, f0
/* 80206BA4 00203B04 FC 00 00 18 */ frsp f0, f0
/* 80206BA8 00203B08 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80206BAC 00203B0C 7C 00 00 26 */ mfcr r0
/* 80206BB0 00203B10 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f
/* 80206BB4 00203B14 4E 80 00 20 */ blr
.global ShouldLeftTableAdvance__16CInventoryScreenFv
ShouldLeftTableAdvance__16CInventoryScreenFv:
/* 80206BB8 00203B18 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80206BBC 00203B1C 7C 08 02 A6 */ mflr r0
/* 80206BC0 00203B20 90 01 00 14 */ stw r0, 0x14(r1)
/* 80206BC4 00203B24 80 63 01 9C */ lwz r3, 0x19c(r3)
/* 80206BC8 00203B28 4B ED 6F 9D */ bl IsLoaded__10CSamusDollCFv
/* 80206BCC 00203B2C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80206BD0 00203B30 7C 08 03 A6 */ mtlr r0
/* 80206BD4 00203B34 38 21 00 10 */ addi r1, r1, 0x10
/* 80206BD8 00203B38 4E 80 00 20 */ blr
.global VActivate__16CInventoryScreenFv
VActivate__16CInventoryScreenFv:
/* 80206BDC 00203B3C 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80206BE0 00203B40 7C 08 02 A6 */ mflr r0
/* 80206BE4 00203B44 90 01 00 54 */ stw r0, 0x54(r1)
/* 80206BE8 00203B48 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 80206BEC 00203B4C 93 C1 00 48 */ stw r30, 0x48(r1)
/* 80206BF0 00203B50 3B C0 00 00 */ li r30, 0
/* 80206BF4 00203B54 93 A1 00 44 */ stw r29, 0x44(r1)
/* 80206BF8 00203B58 93 81 00 40 */ stw r28, 0x40(r1)
/* 80206BFC 00203B5C 7C 7C 1B 78 */ mr r28, r3
/* 80206C00 00203B60 3B FC 00 AC */ addi r31, r28, 0xac
lbl_80206C04:
/* 80206C04 00203B64 83 BF 00 00 */ lwz r29, 0(r31)
/* 80206C08 00203B68 7F 83 E3 78 */ mr r3, r28
/* 80206C0C 00203B6C 7F C4 F3 78 */ mr r4, r30
/* 80206C10 00203B70 4B FF F5 95 */ bl HasLeftInventoryItem__16CInventoryScreenCFi
/* 80206C14 00203B74 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80206C18 00203B78 41 82 00 40 */ beq lbl_80206C58
/* 80206C1C 00203B7C 80 7C 00 0C */ lwz r3, 0xc(r28)
/* 80206C20 00203B80 38 9E 00 0A */ addi r4, r30, 0xa
/* 80206C24 00203B84 48 14 FA D9 */ bl GetString__12CStringTableCFi
/* 80206C28 00203B88 7C 64 1B 78 */ mr r4, r3
/* 80206C2C 00203B8C 38 61 00 30 */ addi r3, r1, 0x30
/* 80206C30 00203B90 38 C1 00 0C */ addi r6, r1, 0xc
/* 80206C34 00203B94 38 A0 FF FF */ li r5, -1
/* 80206C38 00203B98 48 13 6B 85 */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator"
/* 80206C3C 00203B9C 38 7D 00 D4 */ addi r3, r29, 0xd4
/* 80206C40 00203BA0 38 81 00 30 */ addi r4, r1, 0x30
/* 80206C44 00203BA4 38 A0 00 00 */ li r5, 0
/* 80206C48 00203BA8 48 0C 2C 3D */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80206C4C 00203BAC 38 61 00 30 */ addi r3, r1, 0x30
/* 80206C50 00203BB0 48 13 64 E5 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80206C54 00203BB4 48 00 00 50 */ b lbl_80206CA4
lbl_80206C58:
/* 80206C58 00203BB8 80 82 B0 C0 */ lwz r4, lbl_805ACDE0@sda21(r2)
/* 80206C5C 00203BBC 38 61 00 20 */ addi r3, r1, 0x20
/* 80206C60 00203BC0 4B E0 ED 91 */ bl wstring_l__4rstlFPCw
/* 80206C64 00203BC4 38 7D 00 D4 */ addi r3, r29, 0xd4
/* 80206C68 00203BC8 38 81 00 20 */ addi r4, r1, 0x20
/* 80206C6C 00203BCC 38 A0 00 00 */ li r5, 0
/* 80206C70 00203BD0 48 0C 2C 15 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80206C74 00203BD4 38 61 00 20 */ addi r3, r1, 0x20
/* 80206C78 00203BD8 48 13 64 BD */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80206C7C 00203BDC 80 7C 00 70 */ lwz r3, 0x70(r28)
/* 80206C80 00203BE0 7F C4 F3 78 */ mr r4, r30
/* 80206C84 00203BE4 81 83 00 00 */ lwz r12, 0(r3)
/* 80206C88 00203BE8 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80206C8C 00203BEC 7D 89 03 A6 */ mtctr r12
/* 80206C90 00203BF0 4E 80 04 21 */ bctrl
/* 80206C94 00203BF4 88 03 00 B6 */ lbz r0, 0xb6(r3)
/* 80206C98 00203BF8 38 80 00 00 */ li r4, 0
/* 80206C9C 00203BFC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b
/* 80206CA0 00203C00 98 03 00 B6 */ stb r0, 0xb6(r3)
lbl_80206CA4:
/* 80206CA4 00203C04 3B DE 00 01 */ addi r30, r30, 1
/* 80206CA8 00203C08 3B FF 00 04 */ addi r31, r31, 4
/* 80206CAC 00203C0C 2C 1E 00 05 */ cmpwi r30, 5
/* 80206CB0 00203C10 41 80 FF 54 */ blt lbl_80206C04
/* 80206CB4 00203C14 80 7C 00 0C */ lwz r3, 0xc(r28)
/* 80206CB8 00203C18 38 80 00 09 */ li r4, 9
/* 80206CBC 00203C1C 48 14 FA 41 */ bl GetString__12CStringTableCFi
/* 80206CC0 00203C20 7C 64 1B 78 */ mr r4, r3
/* 80206CC4 00203C24 38 61 00 10 */ addi r3, r1, 0x10
/* 80206CC8 00203C28 38 C1 00 08 */ addi r6, r1, 8
/* 80206CCC 00203C2C 38 A0 FF FF */ li r5, -1
/* 80206CD0 00203C30 48 13 6A ED */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator"
/* 80206CD4 00203C34 80 7C 01 78 */ lwz r3, 0x178(r28)
/* 80206CD8 00203C38 38 81 00 10 */ addi r4, r1, 0x10
/* 80206CDC 00203C3C 38 A0 00 00 */ li r5, 0
/* 80206CE0 00203C40 38 63 00 D4 */ addi r3, r3, 0xd4
/* 80206CE4 00203C44 48 0C 2B A1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80206CE8 00203C48 38 61 00 10 */ addi r3, r1, 0x10
/* 80206CEC 00203C4C 48 13 64 49 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80206CF0 00203C50 80 7C 01 80 */ lwz r3, 0x180(r28)
/* 80206CF4 00203C54 38 80 00 01 */ li r4, 1
/* 80206CF8 00203C58 38 A0 00 01 */ li r5, 1
/* 80206CFC 00203C5C 48 0C 39 ED */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
/* 80206D00 00203C60 3B A0 00 05 */ li r29, 5
/* 80206D04 00203C64 3B E0 00 00 */ li r31, 0
/* 80206D08 00203C68 48 00 00 2C */ b lbl_80206D34
lbl_80206D0C:
/* 80206D0C 00203C6C 80 7C 00 70 */ lwz r3, 0x70(r28)
/* 80206D10 00203C70 7F A4 EB 78 */ mr r4, r29
/* 80206D14 00203C74 81 83 00 00 */ lwz r12, 0(r3)
/* 80206D18 00203C78 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80206D1C 00203C7C 7D 89 03 A6 */ mtctr r12
/* 80206D20 00203C80 4E 80 04 21 */ bctrl
/* 80206D24 00203C84 88 03 00 B6 */ lbz r0, 0xb6(r3)
/* 80206D28 00203C88 53 E0 26 F6 */ rlwimi r0, r31, 4, 0x1b, 0x1b
/* 80206D2C 00203C8C 3B BD 00 01 */ addi r29, r29, 1
/* 80206D30 00203C90 98 03 00 B6 */ stb r0, 0xb6(r3)
lbl_80206D34:
/* 80206D34 00203C94 2C 1D 00 05 */ cmpwi r29, 5
/* 80206D38 00203C98 41 80 FF D4 */ blt lbl_80206D0C
/* 80206D3C 00203C9C 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80206D40 00203CA0 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 80206D44 00203CA4 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 80206D48 00203CA8 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 80206D4C 00203CAC 83 81 00 40 */ lwz r28, 0x40(r1)
/* 80206D50 00203CB0 7C 08 03 A6 */ mtlr r0
/* 80206D54 00203CB4 38 21 00 50 */ addi r1, r1, 0x50
/* 80206D58 00203CB8 4E 80 00 20 */ blr
.global VReady__16CInventoryScreenCFv
VReady__16CInventoryScreenCFv:
/* 80206D5C 00203CBC 38 60 00 01 */ li r3, 1
/* 80206D60 00203CC0 4E 80 00 20 */ blr
.global UpdateTextBody__16CInventoryScreenFv
UpdateTextBody__16CInventoryScreenFv:
/* 80206D64 00203CC4 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80206D68 00203CC8 7C 08 02 A6 */ mflr r0
/* 80206D6C 00203CCC 90 01 00 34 */ stw r0, 0x34(r1)
/* 80206D70 00203CD0 38 00 00 00 */ li r0, 0
/* 80206D74 00203CD4 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80206D78 00203CD8 7C 7F 1B 78 */ mr r31, r3
/* 80206D7C 00203CDC 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80206D80 00203CE0 98 03 01 AC */ stb r0, 0x1ac(r3)
/* 80206D84 00203CE4 3C 60 80 3D */ lis r3, lbl_803D26F0@ha
/* 80206D88 00203CE8 38 83 26 F0 */ addi r4, r3, lbl_803D26F0@l
/* 80206D8C 00203CEC 80 7F 00 70 */ lwz r3, 0x70(r31)
/* 80206D90 00203CF0 80 1F 00 1C */ lwz r0, 0x1c(r31)
/* 80206D94 00203CF4 80 A3 00 C4 */ lwz r5, 0xc4(r3)
/* 80206D98 00203CF8 1C 00 00 0C */ mulli r0, r0, 0xc
/* 80206D9C 00203CFC 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 80206DA0 00203D00 54 A5 18 38 */ slwi r5, r5, 3
/* 80206DA4 00203D04 7C 84 2A 14 */ add r4, r4, r5
/* 80206DA8 00203D08 80 84 00 04 */ lwz r4, 4(r4)
/* 80206DAC 00203D0C 7F C4 02 14 */ add r30, r4, r0
/* 80206DB0 00203D10 80 9E 00 08 */ lwz r4, 8(r30)
/* 80206DB4 00203D14 48 14 F9 49 */ bl GetString__12CStringTableCFi
/* 80206DB8 00203D18 7C 64 1B 78 */ mr r4, r3
/* 80206DBC 00203D1C 38 61 00 0C */ addi r3, r1, 0xc
/* 80206DC0 00203D20 38 C1 00 08 */ addi r6, r1, 8
/* 80206DC4 00203D24 38 A0 FF FF */ li r5, -1
/* 80206DC8 00203D28 48 13 69 F5 */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator"
/* 80206DCC 00203D2C 80 1E 00 00 */ lwz r0, 0(r30)
/* 80206DD0 00203D30 2C 00 00 17 */ cmpwi r0, 0x17
/* 80206DD4 00203D34 40 82 00 E0 */ bne lbl_80206EB4
/* 80206DD8 00203D38 80 7F 00 04 */ lwz r3, 4(r31)
/* 80206DDC 00203D3C 38 80 00 0B */ li r4, 0xb
/* 80206DE0 00203D40 80 63 08 B8 */ lwz r3, 0x8b8(r3)
/* 80206DE4 00203D44 83 C3 00 00 */ lwz r30, 0(r3)
/* 80206DE8 00203D48 7F C3 F3 78 */ mr r3, r30
/* 80206DEC 00203D4C 4B E8 AC D5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206DF0 00203D50 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80206DF4 00203D54 38 80 00 41 */ li r4, 0x41
/* 80206DF8 00203D58 41 82 00 08 */ beq lbl_80206E00
/* 80206DFC 00203D5C 38 80 00 47 */ li r4, 0x47
lbl_80206E00:
/* 80206E00 00203D60 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 80206E04 00203D64 48 14 F8 F9 */ bl GetString__12CStringTableCFi
/* 80206E08 00203D68 7C 64 1B 78 */ mr r4, r3
/* 80206E0C 00203D6C 38 61 00 0C */ addi r3, r1, 0xc
/* 80206E10 00203D70 38 A0 FF FF */ li r5, -1
/* 80206E14 00203D74 48 13 66 D1 */ bl sub_8033d4e4
/* 80206E18 00203D78 7F C3 F3 78 */ mr r3, r30
/* 80206E1C 00203D7C 38 80 00 0E */ li r4, 0xe
/* 80206E20 00203D80 4B E8 AC A1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206E24 00203D84 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80206E28 00203D88 38 80 00 41 */ li r4, 0x41
/* 80206E2C 00203D8C 41 82 00 08 */ beq lbl_80206E34
/* 80206E30 00203D90 38 80 00 49 */ li r4, 0x49
lbl_80206E34:
/* 80206E34 00203D94 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 80206E38 00203D98 48 14 F8 C5 */ bl GetString__12CStringTableCFi
/* 80206E3C 00203D9C 7C 64 1B 78 */ mr r4, r3
/* 80206E40 00203DA0 38 61 00 0C */ addi r3, r1, 0xc
/* 80206E44 00203DA4 38 A0 FF FF */ li r5, -1
/* 80206E48 00203DA8 48 13 66 9D */ bl sub_8033d4e4
/* 80206E4C 00203DAC 7F C3 F3 78 */ mr r3, r30
/* 80206E50 00203DB0 38 80 00 1C */ li r4, 0x1c
/* 80206E54 00203DB4 4B E8 AC 6D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206E58 00203DB8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80206E5C 00203DBC 38 80 00 41 */ li r4, 0x41
/* 80206E60 00203DC0 41 82 00 08 */ beq lbl_80206E68
/* 80206E64 00203DC4 38 80 00 4B */ li r4, 0x4b
lbl_80206E68:
/* 80206E68 00203DC8 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 80206E6C 00203DCC 48 14 F8 91 */ bl GetString__12CStringTableCFi
/* 80206E70 00203DD0 7C 64 1B 78 */ mr r4, r3
/* 80206E74 00203DD4 38 61 00 0C */ addi r3, r1, 0xc
/* 80206E78 00203DD8 38 A0 FF FF */ li r5, -1
/* 80206E7C 00203DDC 48 13 66 69 */ bl sub_8033d4e4
/* 80206E80 00203DE0 7F C3 F3 78 */ mr r3, r30
/* 80206E84 00203DE4 38 80 00 08 */ li r4, 8
/* 80206E88 00203DE8 4B E8 AC 39 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80206E8C 00203DEC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80206E90 00203DF0 38 80 00 41 */ li r4, 0x41
/* 80206E94 00203DF4 41 82 00 08 */ beq lbl_80206E9C
/* 80206E98 00203DF8 38 80 00 4D */ li r4, 0x4d
lbl_80206E9C:
/* 80206E9C 00203DFC 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 80206EA0 00203E00 48 14 F8 5D */ bl GetString__12CStringTableCFi
/* 80206EA4 00203E04 7C 64 1B 78 */ mr r4, r3
/* 80206EA8 00203E08 38 61 00 0C */ addi r3, r1, 0xc
/* 80206EAC 00203E0C 38 A0 FF FF */ li r5, -1
/* 80206EB0 00203E10 48 13 66 35 */ bl sub_8033d4e4
lbl_80206EB4:
/* 80206EB4 00203E14 80 7F 01 74 */ lwz r3, 0x174(r31)
/* 80206EB8 00203E18 38 81 00 0C */ addi r4, r1, 0xc
/* 80206EBC 00203E1C 38 A0 00 01 */ li r5, 1
/* 80206EC0 00203E20 38 63 00 D4 */ addi r3, r3, 0xd4
/* 80206EC4 00203E24 48 0C 29 C1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80206EC8 00203E28 80 7F 01 74 */ lwz r3, 0x174(r31)
/* 80206ECC 00203E2C 38 80 00 00 */ li r4, 0
/* 80206ED0 00203E30 38 63 00 D4 */ addi r3, r3, 0xd4
/* 80206ED4 00203E34 48 0C 0F 35 */ bl SetPage__15CGuiTextSupportFi
/* 80206ED8 00203E38 38 61 00 0C */ addi r3, r1, 0xc
/* 80206EDC 00203E3C 48 13 62 59 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80206EE0 00203E40 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80206EE4 00203E44 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80206EE8 00203E48 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80206EEC 00203E4C 7C 08 03 A6 */ mtlr r0
/* 80206EF0 00203E50 38 21 00 30 */ addi r1, r1, 0x30
/* 80206EF4 00203E54 4E 80 00 20 */ blr
.global ChangedMode__16CInventoryScreenQ216CPauseScreenBase5EMode
ChangedMode__16CInventoryScreenQ216CPauseScreenBase5EMode:
/* 80206EF8 00203E58 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80206EFC 00203E5C 7C 08 02 A6 */ mflr r0
/* 80206F00 00203E60 90 01 00 14 */ stw r0, 0x14(r1)
/* 80206F04 00203E64 80 03 00 10 */ lwz r0, 0x10(r3)
/* 80206F08 00203E68 2C 00 00 02 */ cmpwi r0, 2
/* 80206F0C 00203E6C 40 82 00 10 */ bne lbl_80206F1C
/* 80206F10 00203E70 38 00 00 01 */ li r0, 1
/* 80206F14 00203E74 98 03 01 AD */ stb r0, 0x1ad(r3)
/* 80206F18 00203E78 4B FF FE 4D */ bl UpdateTextBody__16CInventoryScreenFv
lbl_80206F1C:
/* 80206F1C 00203E7C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80206F20 00203E80 7C 08 03 A6 */ mtlr r0
/* 80206F24 00203E84 38 21 00 10 */ addi r1, r1, 0x10
/* 80206F28 00203E88 4E 80 00 20 */ blr
.global ProcessInput__16CInventoryScreenFRC11CFinalInput
ProcessInput__16CInventoryScreenFRC11CFinalInput:
/* 80206F2C 00203E8C 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 80206F30 00203E90 7C 08 02 A6 */ mflr r0
/* 80206F34 00203E94 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 80206F38 00203E98 DB E1 00 D0 */ stfd f31, 0xd0(r1)
/* 80206F3C 00203E9C F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0
/* 80206F40 00203EA0 DB C1 00 C0 */ stfd f30, 0xc0(r1)
/* 80206F44 00203EA4 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0
/* 80206F48 00203EA8 DB A1 00 B0 */ stfd f29, 0xb0(r1)
/* 80206F4C 00203EAC F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0
/* 80206F50 00203EB0 DB 81 00 A0 */ stfd f28, 0xa0(r1)
/* 80206F54 00203EB4 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0
/* 80206F58 00203EB8 DB 61 00 90 */ stfd f27, 0x90(r1)
/* 80206F5C 00203EBC F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0
/* 80206F60 00203EC0 DB 41 00 80 */ stfd f26, 0x80(r1)
/* 80206F64 00203EC4 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0
/* 80206F68 00203EC8 DB 21 00 70 */ stfd f25, 0x70(r1)
/* 80206F6C 00203ECC F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0
/* 80206F70 00203ED0 DB 01 00 60 */ stfd f24, 0x60(r1)
/* 80206F74 00203ED4 F3 01 00 68 */ psq_st f24, 104(r1), 0, qr0
/* 80206F78 00203ED8 DA E1 00 50 */ stfd f23, 0x50(r1)
/* 80206F7C 00203EDC F2 E1 00 58 */ psq_st f23, 88(r1), 0, qr0
/* 80206F80 00203EE0 DA C1 00 40 */ stfd f22, 0x40(r1)
/* 80206F84 00203EE4 F2 C1 00 48 */ psq_st f22, 72(r1), 0, qr0
/* 80206F88 00203EE8 BF 61 00 2C */ stmw r27, 0x2c(r1)
/* 80206F8C 00203EEC 7C 7B 1B 78 */ mr r27, r3
/* 80206F90 00203EF0 7C 9C 23 78 */ mr r28, r4
/* 80206F94 00203EF4 80 03 01 A8 */ lwz r0, 0x1a8(r3)
/* 80206F98 00203EF8 2C 00 00 02 */ cmpwi r0, 2
/* 80206F9C 00203EFC 41 82 04 28 */ beq lbl_802073C4
/* 80206FA0 00203F00 80 7B 01 9C */ lwz r3, 0x19c(r27)
/* 80206FA4 00203F04 38 00 00 00 */ li r0, 0
/* 80206FA8 00203F08 C0 02 B0 C4 */ lfs f0, lbl_805ACDE4@sda21(r2)
/* 80206FAC 00203F0C C0 23 00 C4 */ lfs f1, 0xc4(r3)
/* 80206FB0 00203F10 FC 00 08 00 */ fcmpu cr0, f0, f1
/* 80206FB4 00203F14 41 82 00 14 */ beq lbl_80206FC8
/* 80206FB8 00203F18 C0 02 B0 D8 */ lfs f0, lbl_805ACDF8@sda21(r2)
/* 80206FBC 00203F1C FC 00 08 00 */ fcmpu cr0, f0, f1
/* 80206FC0 00203F20 41 82 00 08 */ beq lbl_80206FC8
/* 80206FC4 00203F24 38 00 00 01 */ li r0, 1
lbl_80206FC8:
/* 80206FC8 00203F28 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80206FCC 00203F2C 40 82 03 F8 */ bne lbl_802073C4
/* 80206FD0 00203F30 C0 03 00 C4 */ lfs f0, 0xc4(r3)
/* 80206FD4 00203F34 88 1C 00 2D */ lbz r0, 0x2d(r28)
/* 80206FD8 00203F38 FC 00 02 10 */ fabs f0, f0
/* 80206FDC 00203F3C 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 80206FE0 00203F40 FE E0 00 18 */ frsp f23, f0
/* 80206FE4 00203F44 41 82 00 44 */ beq lbl_80207028
/* 80206FE8 00203F48 80 7B 01 9C */ lwz r3, 0x19c(r27)
/* 80206FEC 00203F4C 4B ED 6B 79 */ bl IsLoaded__10CSamusDollCFv
/* 80206FF0 00203F50 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80206FF4 00203F54 41 82 00 34 */ beq lbl_80207028
/* 80206FF8 00203F58 C0 02 B0 C4 */ lfs f0, lbl_805ACDE4@sda21(r2)
/* 80206FFC 00203F5C FC 17 00 40 */ fcmpo cr0, f23, f0
/* 80207000 00203F60 41 81 00 10 */ bgt lbl_80207010
/* 80207004 00203F64 80 1B 00 10 */ lwz r0, 0x10(r27)
/* 80207008 00203F68 2C 00 00 02 */ cmpwi r0, 2
/* 8020700C 00203F6C 41 82 00 1C */ beq lbl_80207028
lbl_80207010:
/* 80207010 00203F70 C0 02 B0 C4 */ lfs f0, lbl_805ACDE4@sda21(r2)
/* 80207014 00203F74 80 7B 01 9C */ lwz r3, 0x19c(r27)
/* 80207018 00203F78 FC 00 B8 00 */ fcmpu cr0, f0, f23
/* 8020701C 00203F7C 7C 00 00 26 */ mfcr r0
/* 80207020 00203F80 54 04 1F FE */ rlwinm r4, r0, 3, 0x1f, 0x1f
/* 80207024 00203F84 4B ED 3B 99 */ bl BeginViewInterpolate__10CSamusDollFb
lbl_80207028:
/* 80207028 00203F88 C0 02 B0 D8 */ lfs f0, lbl_805ACDF8@sda21(r2)
/* 8020702C 00203F8C FC 00 B8 00 */ fcmpu cr0, f0, f23
/* 80207030 00203F90 40 82 00 48 */ bne lbl_80207078
/* 80207034 00203F94 88 1C 00 2E */ lbz r0, 0x2e(r28)
/* 80207038 00203F98 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 8020703C 00203F9C 41 82 00 24 */ beq lbl_80207060
/* 80207040 00203FA0 80 7B 01 9C */ lwz r3, 0x19c(r27)
/* 80207044 00203FA4 38 80 00 00 */ li r4, 0
/* 80207048 00203FA8 4B ED 3B 75 */ bl BeginViewInterpolate__10CSamusDollFb
/* 8020704C 00203FAC 88 1B 01 98 */ lbz r0, 0x198(r27)
/* 80207050 00203FB0 38 60 00 01 */ li r3, 1
/* 80207054 00203FB4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a
/* 80207058 00203FB8 98 1B 01 98 */ stb r0, 0x198(r27)
/* 8020705C 00203FBC 48 00 00 1C */ b lbl_80207078
lbl_80207060:
/* 80207060 00203FC0 88 1C 00 2D */ lbz r0, 0x2d(r28)
/* 80207064 00203FC4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f
/* 80207068 00203FC8 41 82 00 10 */ beq lbl_80207078
/* 8020706C 00203FCC 80 7B 01 9C */ lwz r3, 0x19c(r27)
/* 80207070 00203FD0 38 80 00 00 */ li r4, 0
/* 80207074 00203FD4 4B ED 3B 49 */ bl BeginViewInterpolate__10CSamusDollFb
lbl_80207078:
/* 80207078 00203FD8 80 7B 01 9C */ lwz r3, 0x19c(r27)
/* 8020707C 00203FDC C0 02 B0 C4 */ lfs f0, lbl_805ACDE4@sda21(r2)
/* 80207080 00203FE0 C0 23 00 C4 */ lfs f1, 0xc4(r3)
/* 80207084 00203FE4 FC 20 0A 10 */ fabs f1, f1
/* 80207088 00203FE8 FC 20 08 18 */ frsp f1, f1
/* 8020708C 00203FEC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80207090 00203FF0 40 81 01 10 */ ble lbl_802071A0
/* 80207094 00203FF4 C0 22 B0 DC */ lfs f1, lbl_805ACDFC@sda21(r2)
/* 80207098 00203FF8 7F 84 E3 78 */ mr r4, r28
/* 8020709C 00203FFC C0 1C 00 00 */ lfs f0, 0(r28)
/* 802070A0 00204000 38 60 00 26 */ li r3, 0x26
/* 802070A4 00204004 EE C1 00 32 */ fmuls f22, f1, f0
/* 802070A8 00204008 4B E0 58 71 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 802070AC 0020400C FE E0 08 90 */ fmr f23, f1
/* 802070B0 00204010 7F 84 E3 78 */ mr r4, r28
/* 802070B4 00204014 38 60 00 27 */ li r3, 0x27
/* 802070B8 00204018 4B E0 58 61 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 802070BC 0020401C FF 00 08 90 */ fmr f24, f1
/* 802070C0 00204020 7F 84 E3 78 */ mr r4, r28
/* 802070C4 00204024 38 60 00 28 */ li r3, 0x28
/* 802070C8 00204028 4B E0 58 51 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 802070CC 0020402C FF 20 08 90 */ fmr f25, f1
/* 802070D0 00204030 7F 84 E3 78 */ mr r4, r28
/* 802070D4 00204034 38 60 00 29 */ li r3, 0x29
/* 802070D8 00204038 4B E0 58 41 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 802070DC 0020403C FF 40 08 90 */ fmr f26, f1
/* 802070E0 00204040 7F 84 E3 78 */ mr r4, r28
/* 802070E4 00204044 38 60 00 2A */ li r3, 0x2a
/* 802070E8 00204048 4B E0 58 31 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 802070EC 0020404C FF 60 08 90 */ fmr f27, f1
/* 802070F0 00204050 7F 84 E3 78 */ mr r4, r28
/* 802070F4 00204054 38 60 00 2B */ li r3, 0x2b
/* 802070F8 00204058 4B E0 58 21 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 802070FC 0020405C FF 80 08 90 */ fmr f28, f1
/* 80207100 00204060 7F 84 E3 78 */ mr r4, r28
/* 80207104 00204064 38 60 00 2C */ li r3, 0x2c
/* 80207108 00204068 4B E0 58 11 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 8020710C 0020406C FF A0 08 90 */ fmr f29, f1
/* 80207110 00204070 7F 84 E3 78 */ mr r4, r28
/* 80207114 00204074 38 60 00 2D */ li r3, 0x2d
/* 80207118 00204078 4B E0 58 01 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 8020711C 0020407C FF C0 08 90 */ fmr f30, f1
/* 80207120 00204080 7F 84 E3 78 */ mr r4, r28
/* 80207124 00204084 38 60 00 2E */ li r3, 0x2e
/* 80207128 00204088 4B E0 57 F1 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 8020712C 0020408C FF E0 08 90 */ fmr f31, f1
/* 80207130 00204090 7F 84 E3 78 */ mr r4, r28
/* 80207134 00204094 38 60 00 2F */ li r3, 0x2f
/* 80207138 00204098 4B E0 57 E1 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput
/* 8020713C 0020409C C0 82 B0 E0 */ lfs f4, lbl_805ACE00@sda21(r2)
/* 80207140 002040A0 EC 5F 08 28 */ fsubs f2, f31, f1
/* 80207144 002040A4 C0 02 B0 E4 */ lfs f0, lbl_805ACE04@sda21(r2)
/* 80207148 002040A8 EC 7E E8 28 */ fsubs f3, f30, f29
/* 8020714C 002040AC EC 84 05 B2 */ fmuls f4, f4, f22
/* 80207150 002040B0 C0 3C 00 00 */ lfs f1, 0(r28)
/* 80207154 002040B4 EF A0 05 B2 */ fmuls f29, f0, f22
/* 80207158 002040B8 EC 1B E0 28 */ fsubs f0, f27, f28
/* 8020715C 002040BC 38 81 00 18 */ addi r4, r1, 0x18
/* 80207160 002040C0 EC 64 00 F2 */ fmuls f3, f4, f3
/* 80207164 002040C4 EC 5D 00 B2 */ fmuls f2, f29, f2
/* 80207168 002040C8 EC 04 00 32 */ fmuls f0, f4, f0
/* 8020716C 002040CC D0 61 00 18 */ stfs f3, 0x18(r1)
/* 80207170 002040D0 D0 41 00 1C */ stfs f2, 0x1c(r1)
/* 80207174 002040D4 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80207178 002040D8 80 7B 01 9C */ lwz r3, 0x19c(r27)
/* 8020717C 002040DC 4B ED 3B 75 */ bl SetOffset__10CSamusDollFRC9CVector3ff
/* 80207180 002040E0 EC 38 B8 28 */ fsubs f1, f24, f23
/* 80207184 002040E4 80 7B 01 9C */ lwz r3, 0x19c(r27)
/* 80207188 002040E8 EC 1A C8 28 */ fsubs f0, f26, f25
/* 8020718C 002040EC C0 7C 00 00 */ lfs f3, 0(r28)
/* 80207190 002040F0 EC 3D 00 72 */ fmuls f1, f29, f1
/* 80207194 002040F4 EC 5D 00 32 */ fmuls f2, f29, f0
/* 80207198 002040F8 4B ED 3F BD */ bl SetRotation__10CSamusDollFfff
/* 8020719C 002040FC 48 00 02 28 */ b lbl_802073C4
lbl_802071A0:
/* 802071A0 00204100 38 60 00 00 */ li r3, 0
/* 802071A4 00204104 98 7B 01 AD */ stb r3, 0x1ad(r27)
/* 802071A8 00204108 80 1B 00 10 */ lwz r0, 0x10(r27)
/* 802071AC 0020410C 2C 00 00 02 */ cmpwi r0, 2
/* 802071B0 00204110 40 82 01 D8 */ bne lbl_80207388
/* 802071B4 00204114 80 7B 01 74 */ lwz r3, 0x174(r27)
/* 802071B8 00204118 38 63 00 D4 */ addi r3, r3, 0xd4
/* 802071BC 0020411C 83 E3 03 04 */ lwz r31, 0x304(r3)
/* 802071C0 00204120 7F FE FB 78 */ mr r30, r31
/* 802071C4 00204124 48 0C 0C 95 */ bl GetTotalPageCount__15CGuiTextSupportFv
/* 802071C8 00204128 38 03 FF FF */ addi r0, r3, -1
/* 802071CC 0020412C 2C 03 FF FF */ cmpwi r3, -1
/* 802071D0 00204130 7C 1F 00 50 */ subf r0, r31, r0
/* 802071D4 00204134 7C 00 00 34 */ cntlzw r0, r0
/* 802071D8 00204138 54 1D D9 7E */ srwi r29, r0, 5
/* 802071DC 0020413C 41 82 01 34 */ beq lbl_80207310
/* 802071E0 00204140 C0 02 CC 28 */ lfs f0, lbl_805AE948@sda21(r2)
/* 802071E4 00204144 38 80 00 00 */ li r4, 0
/* 802071E8 00204148 C0 3C 00 0C */ lfs f1, 0xc(r28)
/* 802071EC 0020414C FC 00 08 40 */ fcmpo cr0, f0, f1
/* 802071F0 00204150 40 80 00 0C */ bge lbl_802071FC
/* 802071F4 00204154 38 00 00 01 */ li r0, 1
/* 802071F8 00204158 48 00 00 08 */ b lbl_80207200
lbl_802071FC:
/* 802071FC 0020415C 7C 80 23 78 */ mr r0, r4
lbl_80207200:
/* 80207200 00204160 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80207204 00204164 41 82 00 14 */ beq lbl_80207218
/* 80207208 00204168 88 1C 00 21 */ lbz r0, 0x21(r28)
/* 8020720C 0020416C 28 00 00 00 */ cmplwi r0, 0
/* 80207210 00204170 41 82 00 08 */ beq lbl_80207218
/* 80207214 00204174 38 80 00 01 */ li r4, 1
lbl_80207218:
/* 80207218 00204178 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8020721C 0020417C 41 82 00 28 */ beq lbl_80207244
/* 80207220 00204180 80 0D 93 80 */ lwz r0, lbl_805A7F40@sda21(r13)
/* 80207224 00204184 38 9F FF FF */ addi r4, r31, -1
/* 80207228 00204188 90 81 00 14 */ stw r4, 0x14(r1)
/* 8020722C 0020418C 38 6D 93 80 */ addi r3, r13, lbl_805A7F40@sda21
/* 80207230 00204190 7C 00 20 00 */ cmpw r0, r4
/* 80207234 00204194 40 80 00 08 */ bge lbl_8020723C
/* 80207238 00204198 38 61 00 14 */ addi r3, r1, 0x14
lbl_8020723C:
/* 8020723C 0020419C 83 C3 00 00 */ lwz r30, 0(r3)
/* 80207240 002041A0 48 00 00 64 */ b lbl_802072A4
lbl_80207244:
/* 80207244 002041A4 FC 00 00 50 */ fneg f0, f0
/* 80207248 002041A8 38 80 00 00 */ li r4, 0
/* 8020724C 002041AC FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80207250 002041B0 40 81 00 14 */ ble lbl_80207264
/* 80207254 002041B4 88 1C 00 21 */ lbz r0, 0x21(r28)
/* 80207258 002041B8 28 00 00 00 */ cmplwi r0, 0
/* 8020725C 002041BC 41 82 00 08 */ beq lbl_80207264
/* 80207260 002041C0 38 80 00 01 */ li r4, 1
lbl_80207264:
/* 80207264 002041C4 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80207268 002041C8 40 82 00 18 */ bne lbl_80207280
/* 8020726C 002041CC 88 1C 00 2D */ lbz r0, 0x2d(r28)
/* 80207270 002041D0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 80207274 002041D4 41 82 00 30 */ beq lbl_802072A4
/* 80207278 002041D8 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 8020727C 002041DC 40 82 00 28 */ bne lbl_802072A4
lbl_80207280:
/* 80207280 002041E0 38 9F 00 01 */ addi r4, r31, 1
/* 80207284 002041E4 38 03 FF FF */ addi r0, r3, -1
/* 80207288 002041E8 7C 04 00 00 */ cmpw r4, r0
/* 8020728C 002041EC 90 81 00 0C */ stw r4, 0xc(r1)
/* 80207290 002041F0 38 61 00 10 */ addi r3, r1, 0x10
/* 80207294 002041F4 90 01 00 10 */ stw r0, 0x10(r1)
/* 80207298 002041F8 40 80 00 08 */ bge lbl_802072A0
/* 8020729C 002041FC 38 61 00 0C */ addi r3, r1, 0xc
lbl_802072A0:
/* 802072A0 00204200 83 C3 00 00 */ lwz r30, 0(r3)
lbl_802072A4:
/* 802072A4 00204204 80 7B 01 74 */ lwz r3, 0x174(r27)
/* 802072A8 00204208 7F C4 F3 78 */ mr r4, r30
/* 802072AC 0020420C 38 63 00 D4 */ addi r3, r3, 0xd4
/* 802072B0 00204210 48 0C 0B 59 */ bl SetPage__15CGuiTextSupportFi
/* 802072B4 00204214 7C 1F F0 00 */ cmpw r31, r30
/* 802072B8 00204218 41 82 00 28 */ beq lbl_802072E0
/* 802072BC 0020421C A9 02 C5 FA */ lha r8, kMedPriority__11CSfxManager@sda21(r2)
/* 802072C0 00204220 38 61 00 08 */ addi r3, r1, 8
/* 802072C4 00204224 81 42 C6 00 */ lwz r10, kAllAreas__11CSfxManager@sda21(r2)
/* 802072C8 00204228 38 80 05 A4 */ li r4, 0x5a4
/* 802072CC 0020422C 38 A0 00 7F */ li r5, 0x7f
/* 802072D0 00204230 38 C0 00 40 */ li r6, 0x40
/* 802072D4 00204234 38 E0 00 00 */ li r7, 0
/* 802072D8 00204238 39 20 00 00 */ li r9, 0
/* 802072DC 0020423C 48 0E 2A 99 */ bl SfxStart__11CSfxManagerFUsssbsbi
lbl_802072E0:
/* 802072E0 00204240 7C 7E 00 D0 */ neg r3, r30
/* 802072E4 00204244 57 A0 06 3E */ clrlwi r0, r29, 0x18
/* 802072E8 00204248 7C 64 F0 78 */ andc r4, r3, r30
/* 802072EC 0020424C 88 7B 01 98 */ lbz r3, 0x198(r27)
/* 802072F0 00204250 50 83 27 38 */ rlwimi r3, r4, 4, 0x1c, 0x1c
/* 802072F4 00204254 7C 00 00 34 */ cntlzw r0, r0
/* 802072F8 00204258 98 7B 01 98 */ stb r3, 0x198(r27)
/* 802072FC 0020425C 54 03 D9 7E */ srwi r3, r0, 5
/* 80207300 00204260 88 1B 01 98 */ lbz r0, 0x198(r27)
/* 80207304 00204264 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 80207308 00204268 98 1B 01 98 */ stb r0, 0x198(r27)
/* 8020730C 0020426C 48 00 00 24 */ b lbl_80207330
lbl_80207310:
/* 80207310 00204270 88 1B 01 98 */ lbz r0, 0x198(r27)
/* 80207314 00204274 38 60 00 00 */ li r3, 0
/* 80207318 00204278 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 8020731C 0020427C 98 1B 01 98 */ stb r0, 0x198(r27)
/* 80207320 00204280 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f
/* 80207324 00204284 88 1B 01 98 */ lbz r0, 0x198(r27)
/* 80207328 00204288 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 8020732C 0020428C 98 1B 01 98 */ stb r0, 0x198(r27)
lbl_80207330:
/* 80207330 00204290 88 1B 01 AC */ lbz r0, 0x1ac(r27)
/* 80207334 00204294 28 00 00 00 */ cmplwi r0, 0
/* 80207338 00204298 40 82 00 3C */ bne lbl_80207374
/* 8020733C 0020429C 88 7C 00 2D */ lbz r3, 0x2d(r28)
/* 80207340 002042A0 38 80 00 01 */ li r4, 1
/* 80207344 002042A4 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f
/* 80207348 002042A8 40 82 00 28 */ bne lbl_80207370
/* 8020734C 002042AC 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f
/* 80207350 002042B0 38 60 00 00 */ li r3, 0
/* 80207354 002042B4 41 82 00 10 */ beq lbl_80207364
/* 80207358 002042B8 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 8020735C 002042BC 41 82 00 08 */ beq lbl_80207364
/* 80207360 002042C0 7C 83 23 78 */ mr r3, r4
lbl_80207364:
/* 80207364 002042C4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80207368 002042C8 40 82 00 08 */ bne lbl_80207370
/* 8020736C 002042CC 38 80 00 00 */ li r4, 0
lbl_80207370:
/* 80207370 002042D0 98 9B 01 AC */ stb r4, 0x1ac(r27)
lbl_80207374:
/* 80207374 002042D4 88 1B 01 AC */ lbz r0, 0x1ac(r27)
/* 80207378 002042D8 7C 00 00 34 */ cntlzw r0, r0
/* 8020737C 002042DC 54 00 D9 7E */ srwi r0, r0, 5
/* 80207380 002042E0 98 1B 01 AD */ stb r0, 0x1ad(r27)
/* 80207384 002042E4 48 00 00 20 */ b lbl_802073A4
lbl_80207388:
/* 80207388 002042E8 88 1B 01 98 */ lbz r0, 0x198(r27)
/* 8020738C 002042EC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d
/* 80207390 002042F0 98 1B 01 98 */ stb r0, 0x198(r27)
/* 80207394 002042F4 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f
/* 80207398 002042F8 88 1B 01 98 */ lbz r0, 0x198(r27)
/* 8020739C 002042FC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c
/* 802073A0 00204300 98 1B 01 98 */ stb r0, 0x198(r27)
lbl_802073A4:
/* 802073A4 00204304 80 1B 01 A8 */ lwz r0, 0x1a8(r27)
/* 802073A8 00204308 2C 00 00 00 */ cmpwi r0, 0
/* 802073AC 0020430C 41 82 00 0C */ beq lbl_802073B8
/* 802073B0 00204310 38 00 00 00 */ li r0, 0
/* 802073B4 00204314 98 1B 01 AD */ stb r0, 0x1ad(r27)
lbl_802073B8:
/* 802073B8 00204318 7F 63 DB 78 */ mr r3, r27
/* 802073BC 0020431C 7F 84 E3 78 */ mr r4, r28
/* 802073C0 00204320 4B E6 9F 9D */ bl ProcessInput__16CPauseScreenBaseFRC11CFinalInput
lbl_802073C4:
/* 802073C4 00204324 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0
/* 802073C8 00204328 CB E1 00 D0 */ lfd f31, 0xd0(r1)
/* 802073CC 0020432C E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0
/* 802073D0 00204330 CB C1 00 C0 */ lfd f30, 0xc0(r1)
/* 802073D4 00204334 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0
/* 802073D8 00204338 CB A1 00 B0 */ lfd f29, 0xb0(r1)
/* 802073DC 0020433C E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0
/* 802073E0 00204340 CB 81 00 A0 */ lfd f28, 0xa0(r1)
/* 802073E4 00204344 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0
/* 802073E8 00204348 CB 61 00 90 */ lfd f27, 0x90(r1)
/* 802073EC 0020434C E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0
/* 802073F0 00204350 CB 41 00 80 */ lfd f26, 0x80(r1)
/* 802073F4 00204354 E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0
/* 802073F8 00204358 CB 21 00 70 */ lfd f25, 0x70(r1)
/* 802073FC 0020435C E3 01 00 68 */ psq_l f24, 104(r1), 0, qr0
/* 80207400 00204360 CB 01 00 60 */ lfd f24, 0x60(r1)
/* 80207404 00204364 E2 E1 00 58 */ psq_l f23, 88(r1), 0, qr0
/* 80207408 00204368 CA E1 00 50 */ lfd f23, 0x50(r1)
/* 8020740C 0020436C E2 C1 00 48 */ psq_l f22, 72(r1), 0, qr0
/* 80207410 00204370 CA C1 00 40 */ lfd f22, 0x40(r1)
/* 80207414 00204374 BB 61 00 2C */ lmw r27, 0x2c(r1)
/* 80207418 00204378 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 8020741C 0020437C 7C 08 03 A6 */ mtlr r0
/* 80207420 00204380 38 21 00 E0 */ addi r1, r1, 0xe0
/* 80207424 00204384 4E 80 00 20 */ blr
.global GetCameraYBias__16CInventoryScreenCFv
GetCameraYBias__16CInventoryScreenCFv:
/* 80207428 00204388 80 63 01 9C */ lwz r3, 0x19c(r3)
/* 8020742C 0020438C C0 03 00 C4 */ lfs f0, 0xc4(r3)
/* 80207430 00204390 FC 00 02 10 */ fabs f0, f0
/* 80207434 00204394 FC 20 00 18 */ frsp f1, f0
/* 80207438 00204398 4E 80 00 20 */ blr
.global __dt__16CInventoryScreenFv
__dt__16CInventoryScreenFv:
/* 8020743C 0020439C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80207440 002043A0 7C 08 02 A6 */ mflr r0
/* 80207444 002043A4 90 01 00 34 */ stw r0, 0x34(r1)
/* 80207448 002043A8 BF 21 00 14 */ stmw r25, 0x14(r1)
/* 8020744C 002043AC 7C 79 1B 79 */ or. r25, r3, r3
/* 80207450 002043B0 7C 9A 23 78 */ mr r26, r4
/* 80207454 002043B4 41 82 00 B0 */ beq lbl_80207504
/* 80207458 002043B8 3C 60 80 3E */ lis r3, lbl_803E6EB0@ha
/* 8020745C 002043BC 3B D9 00 DC */ addi r30, r25, 0xdc
/* 80207460 002043C0 38 03 6E B0 */ addi r0, r3, lbl_803E6EB0@l
/* 80207464 002043C4 3B B9 01 60 */ addi r29, r25, 0x160
/* 80207468 002043C8 90 19 00 00 */ stw r0, 0(r25)
/* 8020746C 002043CC 3B 99 01 48 */ addi r28, r25, 0x148
/* 80207470 002043D0 3B 60 00 00 */ li r27, 0
lbl_80207474:
/* 80207474 002043D4 80 7E 00 00 */ lwz r3, 0(r30)
/* 80207478 002043D8 3B E3 00 D4 */ addi r31, r3, 0xd4
/* 8020747C 002043DC 48 14 2B 31 */ bl White__6CColorFv
/* 80207480 002043E0 7C 64 1B 78 */ mr r4, r3
/* 80207484 002043E4 7F E3 FB 78 */ mr r3, r31
/* 80207488 002043E8 48 0C 21 E1 */ bl SetFontColor__15CGuiTextSupportFRC6CColor
/* 8020748C 002043EC 48 14 2B 21 */ bl White__6CColorFv
/* 80207490 002043F0 7C 64 1B 78 */ mr r4, r3
/* 80207494 002043F4 80 7D 00 00 */ lwz r3, 0(r29)
/* 80207498 002043F8 48 0C 33 D5 */ bl SetColor__10CGuiWidgetFRC6CColor
/* 8020749C 002043FC 48 14 2B 11 */ bl White__6CColorFv
/* 802074A0 00204400 7C 64 1B 78 */ mr r4, r3
/* 802074A4 00204404 80 7C 00 00 */ lwz r3, 0(r28)
/* 802074A8 00204408 48 0C 33 C5 */ bl SetColor__10CGuiWidgetFRC6CColor
/* 802074AC 0020440C 3B 7B 00 01 */ addi r27, r27, 1
/* 802074B0 00204410 3B BD 00 04 */ addi r29, r29, 4
/* 802074B4 00204414 2C 1B 00 05 */ cmpwi r27, 5
/* 802074B8 00204418 3B 9C 00 04 */ addi r28, r28, 4
/* 802074BC 0020441C 3B DE 00 04 */ addi r30, r30, 4
/* 802074C0 00204420 41 80 FF B4 */ blt lbl_80207474
/* 802074C4 00204424 48 14 2A E9 */ bl White__6CColorFv
/* 802074C8 00204428 7C 64 1B 78 */ mr r4, r3
/* 802074CC 0020442C 80 79 00 8C */ lwz r3, 0x8c(r25)
/* 802074D0 00204430 48 0C 33 9D */ bl SetColor__10CGuiWidgetFRC6CColor
/* 802074D4 00204434 34 19 01 9C */ addic. r0, r25, 0x19c
/* 802074D8 00204438 41 82 00 10 */ beq lbl_802074E8
/* 802074DC 0020443C 80 79 01 9C */ lwz r3, 0x19c(r25)
/* 802074E0 00204440 38 80 00 01 */ li r4, 1
/* 802074E4 00204444 4B ED 63 51 */ bl __dt__10CSamusDollFv
lbl_802074E8:
/* 802074E8 00204448 7F 23 CB 78 */ mr r3, r25
/* 802074EC 0020444C 38 80 00 00 */ li r4, 0
/* 802074F0 00204450 4B E6 B0 DD */ bl __dt__16CPauseScreenBaseFv
/* 802074F4 00204454 7F 40 07 35 */ extsh. r0, r26
/* 802074F8 00204458 40 81 00 0C */ ble lbl_80207504
/* 802074FC 0020445C 7F 23 CB 78 */ mr r3, r25
/* 80207500 00204460 48 10 E4 31 */ bl Free__7CMemoryFPCv
lbl_80207504:
/* 80207504 00204464 7F 23 CB 78 */ mr r3, r25
/* 80207508 00204468 BB 21 00 14 */ lmw r25, 0x14(r1)
/* 8020750C 0020446C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80207510 00204470 7C 08 03 A6 */ mtlr r0
/* 80207514 00204474 38 21 00 30 */ addi r1, r1, 0x30
/* 80207518 00204478 4E 80 00 20 */ blr
.global __ct__16CInventoryScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTableRC16CDependencyGroupRC16CDependencyGroup
__ct__16CInventoryScreenFRC13CStateManagerRC9CGuiFrameRC12CStringTableRC16CDependencyGroupRC16CDependencyGroup:
/* 8020751C 0020447C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80207520 00204480 7C 08 02 A6 */ mflr r0
/* 80207524 00204484 90 01 00 34 */ stw r0, 0x34(r1)
/* 80207528 00204488 BE E1 00 0C */ stmw r23, 0xc(r1)
/* 8020752C 0020448C 7C 7F 1B 78 */ mr r31, r3
/* 80207530 00204490 7C 99 23 78 */ mr r25, r4
/* 80207534 00204494 7C F7 3B 78 */ mr r23, r7
/* 80207538 00204498 7D 18 43 78 */ mr r24, r8
/* 8020753C 0020449C 4B E6 B3 15 */ bl __ct__16CPauseScreenBaseFRC13CStateManagerRC9CGuiFrameRC12CStringTable
/* 80207540 002044A0 3C 60 80 3E */ lis r3, lbl_803E6EB0@ha
/* 80207544 002044A4 3C 80 80 3D */ lis r4, lbl_803D2718@ha
/* 80207548 002044A8 38 03 6E B0 */ addi r0, r3, lbl_803E6EB0@l
/* 8020754C 002044AC 38 A0 00 00 */ li r5, 0
/* 80207550 002044B0 90 1F 00 00 */ stw r0, 0(r31)
/* 80207554 002044B4 38 60 02 74 */ li r3, 0x274
/* 80207558 002044B8 38 84 27 18 */ addi r4, r4, lbl_803D2718@l
/* 8020755C 002044BC 48 10 E3 11 */ bl __nw__FUlPCcPCc
/* 80207560 002044C0 7C 7C 1B 79 */ or. r28, r3, r3
/* 80207564 002044C4 41 82 00 64 */ beq lbl_802075C8
/* 80207568 002044C8 80 79 08 B8 */ lwz r3, 0x8b8(r25)
/* 8020756C 002044CC 38 80 00 0C */ li r4, 0xc
/* 80207570 002044D0 83 23 00 00 */ lwz r25, 0(r3)
/* 80207574 002044D4 83 79 00 08 */ lwz r27, 8(r25)
/* 80207578 002044D8 7F 23 CB 78 */ mr r3, r25
/* 8020757C 002044DC 83 59 00 20 */ lwz r26, 0x20(r25)
/* 80207580 002044E0 4B E8 A5 41 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80207584 002044E4 7C 7D 1B 78 */ mr r29, r3
/* 80207588 002044E8 7F 23 CB 78 */ mr r3, r25
/* 8020758C 002044EC 38 80 00 13 */ li r4, 0x13
/* 80207590 002044F0 4B E8 A5 31 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType
/* 80207594 002044F4 7C 7E 1B 78 */ mr r30, r3
/* 80207598 002044F8 7F 23 CB 78 */ mr r3, r25
/* 8020759C 002044FC 4B E8 9F 29 */ bl GetIsFusionEnabled__12CPlayerStateCFv
/* 802075A0 00204500 54 60 15 BA */ rlwinm r0, r3, 2, 0x16, 0x1d
/* 802075A4 00204504 7F 83 E3 78 */ mr r3, r28
/* 802075A8 00204508 7E E4 BB 78 */ mr r4, r23
/* 802075AC 0020450C 7F 05 C3 78 */ mr r5, r24
/* 802075B0 00204510 7F 67 DB 78 */ mr r7, r27
/* 802075B4 00204514 7F C8 F3 78 */ mr r8, r30
/* 802075B8 00204518 7F A9 EB 78 */ mr r9, r29
/* 802075BC 0020451C 7C DA 02 14 */ add r6, r26, r0
/* 802075C0 00204520 4B ED 69 59 */ bl __ct__10CSamusDollFRC16CDependencyGroupRC16CDependencyGroupQ212CPlayerState11EPlayerSuitQ212CPlayerState7EBeamIdbb
/* 802075C4 00204524 7C 7C 1B 78 */ mr r28, r3
lbl_802075C8:
/* 802075C8 00204528 93 9F 01 9C */ stw r28, 0x19c(r31)
/* 802075CC 0020452C 38 00 00 00 */ li r0, 0
/* 802075D0 00204530 C0 02 B0 C4 */ lfs f0, lbl_805ACDE4@sda21(r2)
/* 802075D4 00204534 7F E3 FB 78 */ mr r3, r31
/* 802075D8 00204538 D0 1F 01 A0 */ stfs f0, 0x1a0(r31)
/* 802075DC 0020453C D0 1F 01 A4 */ stfs f0, 0x1a4(r31)
/* 802075E0 00204540 90 1F 01 A8 */ stw r0, 0x1a8(r31)
/* 802075E4 00204544 98 1F 01 AC */ stb r0, 0x1ac(r31)
/* 802075E8 00204548 BA E1 00 0C */ lmw r23, 0xc(r1)
/* 802075EC 0020454C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802075F0 00204550 7C 08 03 A6 */ mtlr r0
/* 802075F4 00204554 38 21 00 30 */ addi r1, r1, 0x30
/* 802075F8 00204558 4E 80 00 20 */ blr
.section .sdata2, "a"
.balign 8
.global lbl_805ACDE0
lbl_805ACDE0:
# ROM: 0x3F9680
.4byte lbl_803E6FC4
.global lbl_805ACDE4
lbl_805ACDE4:
# ROM: 0x3F9684
.4byte 0
.global lbl_805ACDE8
lbl_805ACDE8:
# ROM: 0x3F9688
.4byte 0x4335A25B
.global lbl_805ACDEC
lbl_805ACDEC:
# ROM: 0x3F968C
.4byte 0x42FF0000
.global lbl_805ACDF0
lbl_805ACDF0:
# ROM: 0x3F9690
.float 4.0
.global lbl_805ACDF4
lbl_805ACDF4:
# ROM: 0x3F9694
.float 255.0
.global lbl_805ACDF8
lbl_805ACDF8:
# ROM: 0x3F9698
.float 1.0
.global lbl_805ACDFC
lbl_805ACDFC:
# ROM: 0x3F969C
.4byte 0x40C00000
.global lbl_805ACE00
lbl_805ACE00:
# ROM: 0x3F96A0
.float 0.25
.global lbl_805ACE04
lbl_805ACE04:
# ROM: 0x3F96A4
.float 0.5
.section .rodata
.balign 8
.global lbl_803D25D0
lbl_803D25D0:
.4byte 0
.4byte 0x00000024
.4byte 0x00000046
.4byte 0x00000001
.4byte 0x00000025
.4byte 0x00000048
.4byte 0x00000002
.4byte 0x00000026
.4byte 0x0000004A
.4byte 0x00000003
.4byte 0x00000027
.4byte 0x0000004C
.4byte 0x00000004
.4byte 0x00000028
.4byte 0x0000004E
.global lbl_803D260C
lbl_803D260C:
# ROM: 0x3CF60C
.4byte 0x00000005
.4byte 0x0000002E
.4byte 0x00000057
.4byte 0x00000006
.4byte 0x0000002F
.4byte 0x00000058
.4byte 0x00000007
.4byte 0x00000030
.4byte 0x00000059
.4byte 0x00000008
.4byte 0x00000031
.4byte 0x0000005A
.4byte 0x00000009
.4byte 0x00000032
.4byte 0x0000005B
.global lbl_803D2648
lbl_803D2648:
# ROM: 0x3CF648
.4byte 0x0000000A
.4byte 0x00000033
.4byte 0x00000052
.4byte 0x0000000B
.4byte 0x00000034
.4byte 0x00000053
.4byte 0x0000000C
.4byte 0x00000035
.4byte 0x00000054
.4byte 0x0000000D
.4byte 0x00000036
.4byte 0x00000055
.4byte 0x0000000E
.4byte 0x00000037
.4byte 0x00000056
.global lbl_803D2684
lbl_803D2684:
# ROM: 0x3CF684
.4byte 0x0000000F
.4byte 0x00000038
.4byte 0x00000042
.4byte 0x00000010
.4byte 0x00000039
.4byte 0x00000043
.4byte 0x00000011
.4byte 0x0000003A
.4byte 0x00000044
.4byte 0x00000012
.4byte 0x0000003B
.4byte 0x00000045
.global lbl_803D26B4
lbl_803D26B4:
# ROM: 0x3CF6B4
.4byte 0x00000013
.4byte 0x0000003C
.4byte 0x0000004F
.4byte 0x00000014
.4byte 0x0000003D
.4byte 0x00000050
.4byte 0x00000015
.4byte 0x0000003E
.4byte 0x00000051
.4byte 0x00000016
.4byte 0x0000003F
.4byte 0x0000005C
.4byte 0x00000017
.4byte 0x00000040
.4byte 0x0000005D
.global lbl_803D26F0
lbl_803D26F0:
# ROM: 0x3CF6F0
.4byte 0x00000005
.4byte lbl_803D25D0
.4byte 0x00000005
.4byte lbl_803D260C
.4byte 0x00000005
.4byte lbl_803D2648
.4byte 0x00000004
.4byte lbl_803D2684
.4byte 0x00000005
.4byte lbl_803D26B4
.global lbl_803D2718
lbl_803D2718:
# ROM: 0x3CF718
.asciz "??(??)"
.balign 4