prime/asm/MetroidPrime/Player/CScanDisplay.s

2463 lines
119 KiB
ArmAsm
Raw Normal View History

.include "macros.inc"
.section .sdata
.balign 8
.global lbl_805A79E0
lbl_805A79E0:
# ROM: 0x3F5380
.4byte 0
.global lbl_805A79E4
lbl_805A79E4:
# ROM: 0x3F5384
.4byte 0
.global lbl_805A79E8
lbl_805A79E8:
# ROM: 0x3F5388
.float 1.0
.global lbl_805A79EC
lbl_805A79EC:
# ROM: 0x3F538C
.4byte 0
.global lbl_805A79F0
lbl_805A79F0:
# ROM: 0x3F5390
.4byte 0
.global lbl_805A79F4
lbl_805A79F4:
# ROM: 0x3F5394
.float 1.0
.global lbl_805A79F8
lbl_805A79F8:
# ROM: 0x3F5398
.4byte 0
.global lbl_805A79FC
lbl_805A79FC:
# ROM: 0x3F539C
.float 1.0
.global lbl_805A7A00
lbl_805A7A00:
# ROM: 0x3F53A0
.4byte 0
.4byte 0
.section .text, "ax"
.global GetDownloadFraction__12CScanDisplayFif
GetDownloadFraction__12CScanDisplayFif:
/* 80172A9C 0016F9FC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80172AA0 0016FA00 7C 08 02 A6 */ mflr r0
/* 80172AA4 0016FA04 90 01 00 34 */ stw r0, 0x34(r1)
/* 80172AA8 0016FA08 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 80172AAC 0016FA0C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 80172AB0 0016FA10 DB C1 00 10 */ stfd f30, 0x10(r1)
/* 80172AB4 0016FA14 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0
/* 80172AB8 0016FA18 88 03 00 9C */ lbz r0, 0x9c(r3)
/* 80172ABC 0016FA1C FF C0 08 90 */ fmr f30, f1
/* 80172AC0 0016FA20 28 00 00 00 */ cmplwi r0, 0
/* 80172AC4 0016FA24 40 82 00 0C */ bne lbl_80172AD0
/* 80172AC8 0016FA28 C0 22 A1 10 */ lfs f1, lbl_805ABE30@sda21(r2)
/* 80172ACC 0016FA2C 48 00 00 48 */ b lbl_80172B14
lbl_80172AD0:
/* 80172AD0 0016FA30 1C 04 00 1C */ mulli r0, r4, 0x1c
/* 80172AD4 0016FA34 7C A3 02 14 */ add r5, r3, r0
/* 80172AD8 0016FA38 C3 E5 00 30 */ lfs f31, 0x30(r5)
/* 80172ADC 0016FA3C 48 00 00 59 */ bl GetDownloadStartTime__12CScanDisplayFi
/* 80172AE0 0016FA40 FC 01 F8 00 */ fcmpu cr0, f1, f31
/* 80172AE4 0016FA44 40 82 00 0C */ bne lbl_80172AF0
/* 80172AE8 0016FA48 C0 22 A1 14 */ lfs f1, lbl_805ABE34@sda21(r2)
/* 80172AEC 0016FA4C 48 00 00 28 */ b lbl_80172B14
lbl_80172AF0:
/* 80172AF0 0016FA50 EC 5E 08 28 */ fsubs f2, f30, f1
/* 80172AF4 0016FA54 38 81 00 08 */ addi r4, r1, 8
/* 80172AF8 0016FA58 EC 1F 08 28 */ fsubs f0, f31, f1
/* 80172AFC 0016FA5C 38 6D 8E 38 */ addi r3, r13, lbl_805A79F8@sda21
/* 80172B00 0016FA60 38 AD 8E 3C */ addi r5, r13, lbl_805A79FC@sda21
/* 80172B04 0016FA64 EC 02 00 24 */ fdivs f0, f2, f0
/* 80172B08 0016FA68 D0 01 00 08 */ stfs f0, 8(r1)
/* 80172B0C 0016FA6C 4B E9 97 A9 */ bl "Clamp<f>__5CMathFRCfRCfRCf"
/* 80172B10 0016FA70 C0 23 00 00 */ lfs f1, 0(r3)
lbl_80172B14:
/* 80172B14 0016FA74 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 80172B18 0016FA78 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 80172B1C 0016FA7C E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0
/* 80172B20 0016FA80 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80172B24 0016FA84 CB C1 00 10 */ lfd f30, 0x10(r1)
/* 80172B28 0016FA88 7C 08 03 A6 */ mtlr r0
/* 80172B2C 0016FA8C 38 21 00 30 */ addi r1, r1, 0x30
/* 80172B30 0016FA90 4E 80 00 20 */ blr
.global GetDownloadStartTime__12CScanDisplayFi
GetDownloadStartTime__12CScanDisplayFi:
/* 80172B34 0016FA94 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80172B38 0016FA98 88 03 00 9C */ lbz r0, 0x9c(r3)
/* 80172B3C 0016FA9C 28 00 00 00 */ cmplwi r0, 0
/* 80172B40 0016FAA0 40 82 00 0C */ bne lbl_80172B4C
/* 80172B44 0016FAA4 C0 22 A1 10 */ lfs f1, lbl_805ABE30@sda21(r2)
/* 80172B48 0016FAA8 48 00 00 F0 */ b lbl_80172C38
lbl_80172B4C:
/* 80172B4C 0016FAAC 1C 84 00 1C */ mulli r4, r4, 0x1c
/* 80172B50 0016FAB0 38 A3 00 2C */ addi r5, r3, 0x2c
/* 80172B54 0016FAB4 C0 23 00 30 */ lfs f1, 0x30(r3)
/* 80172B58 0016FAB8 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 80172B5C 0016FABC 38 04 00 04 */ addi r0, r4, 4
/* 80172B60 0016FAC0 D0 21 00 08 */ stfs f1, 8(r1)
/* 80172B64 0016FAC4 7C 45 04 2E */ lfsx f2, r5, r0
/* 80172B68 0016FAC8 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 80172B6C 0016FACC FC 01 10 40 */ fcmpo cr0, f1, f2
/* 80172B70 0016FAD0 40 80 00 24 */ bge lbl_80172B94
/* 80172B74 0016FAD4 FC 00 00 18 */ frsp f0, f0
/* 80172B78 0016FAD8 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80172B7C 0016FADC 40 80 00 0C */ bge lbl_80172B88
/* 80172B80 0016FAE0 38 61 00 08 */ addi r3, r1, 8
/* 80172B84 0016FAE4 48 00 00 08 */ b lbl_80172B8C
lbl_80172B88:
/* 80172B88 0016FAE8 38 61 00 0C */ addi r3, r1, 0xc
lbl_80172B8C:
/* 80172B8C 0016FAEC C0 03 00 00 */ lfs f0, 0(r3)
/* 80172B90 0016FAF0 D0 01 00 0C */ stfs f0, 0xc(r1)
lbl_80172B94:
/* 80172B94 0016FAF4 C0 25 00 20 */ lfs f1, 0x20(r5)
/* 80172B98 0016FAF8 FC 01 10 40 */ fcmpo cr0, f1, f2
/* 80172B9C 0016FAFC D0 21 00 08 */ stfs f1, 8(r1)
/* 80172BA0 0016FB00 40 80 00 24 */ bge lbl_80172BC4
/* 80172BA4 0016FB04 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 80172BA8 0016FB08 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80172BAC 0016FB0C 40 80 00 0C */ bge lbl_80172BB8
/* 80172BB0 0016FB10 38 61 00 08 */ addi r3, r1, 8
/* 80172BB4 0016FB14 48 00 00 08 */ b lbl_80172BBC
lbl_80172BB8:
/* 80172BB8 0016FB18 38 61 00 0C */ addi r3, r1, 0xc
lbl_80172BBC:
/* 80172BBC 0016FB1C C0 03 00 00 */ lfs f0, 0(r3)
/* 80172BC0 0016FB20 D0 01 00 0C */ stfs f0, 0xc(r1)
lbl_80172BC4:
/* 80172BC4 0016FB24 C0 25 00 3C */ lfs f1, 0x3c(r5)
/* 80172BC8 0016FB28 FC 01 10 40 */ fcmpo cr0, f1, f2
/* 80172BCC 0016FB2C D0 21 00 08 */ stfs f1, 8(r1)
/* 80172BD0 0016FB30 40 80 00 24 */ bge lbl_80172BF4
/* 80172BD4 0016FB34 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 80172BD8 0016FB38 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80172BDC 0016FB3C 40 80 00 0C */ bge lbl_80172BE8
/* 80172BE0 0016FB40 38 61 00 08 */ addi r3, r1, 8
/* 80172BE4 0016FB44 48 00 00 08 */ b lbl_80172BEC
lbl_80172BE8:
/* 80172BE8 0016FB48 38 61 00 0C */ addi r3, r1, 0xc
lbl_80172BEC:
/* 80172BEC 0016FB4C C0 03 00 00 */ lfs f0, 0(r3)
/* 80172BF0 0016FB50 D0 01 00 0C */ stfs f0, 0xc(r1)
lbl_80172BF4:
/* 80172BF4 0016FB54 C0 25 00 58 */ lfs f1, 0x58(r5)
/* 80172BF8 0016FB58 FC 01 10 40 */ fcmpo cr0, f1, f2
/* 80172BFC 0016FB5C D0 21 00 08 */ stfs f1, 8(r1)
/* 80172C00 0016FB60 40 80 00 24 */ bge lbl_80172C24
/* 80172C04 0016FB64 C0 01 00 0C */ lfs f0, 0xc(r1)
/* 80172C08 0016FB68 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 80172C0C 0016FB6C 40 80 00 0C */ bge lbl_80172C18
/* 80172C10 0016FB70 38 61 00 08 */ addi r3, r1, 8
/* 80172C14 0016FB74 48 00 00 08 */ b lbl_80172C1C
lbl_80172C18:
/* 80172C18 0016FB78 38 61 00 0C */ addi r3, r1, 0xc
lbl_80172C1C:
/* 80172C1C 0016FB7C C0 03 00 00 */ lfs f0, 0(r3)
/* 80172C20 0016FB80 D0 01 00 0C */ stfs f0, 0xc(r1)
lbl_80172C24:
/* 80172C24 0016FB84 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13)
/* 80172C28 0016FB88 C0 21 00 0C */ lfs f1, 0xc(r1)
/* 80172C2C 0016FB8C C0 03 02 44 */ lfs f0, 0x244(r3)
/* 80172C30 0016FB90 EC 21 00 2A */ fadds f1, f1, f0
/* 80172C34 0016FB94 D0 21 00 0C */ stfs f1, 0xc(r1)
lbl_80172C38:
/* 80172C38 0016FB98 38 21 00 10 */ addi r1, r1, 0x10
/* 80172C3C 0016FB9C 4E 80 00 20 */ blr
.global Draw__12CScanDisplayCFv
Draw__12CScanDisplayCFv:
/* 80172C40 0016FBA0 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80172C44 0016FBA4 7C 08 02 A6 */ mflr r0
/* 80172C48 0016FBA8 90 01 00 44 */ stw r0, 0x44(r1)
/* 80172C4C 0016FBAC DB E1 00 30 */ stfd f31, 0x30(r1)
/* 80172C50 0016FBB0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 80172C54 0016FBB4 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80172C58 0016FBB8 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80172C5C 0016FBBC 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80172C60 0016FBC0 7C 7D 1B 78 */ mr r29, r3
/* 80172C64 0016FBC4 83 C3 00 08 */ lwz r30, 8(r3)
/* 80172C68 0016FBC8 28 1E 00 00 */ cmplwi r30, 0
/* 80172C6C 0016FBCC 41 82 00 B4 */ beq lbl_80172D20
/* 80172C70 0016FBD0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80172C74 0016FBD4 38 80 00 00 */ li r4, 0
/* 80172C78 0016FBD8 38 A0 00 00 */ li r5, 0
/* 80172C7C 0016FBDC 81 83 00 00 */ lwz r12, 0(r3)
/* 80172C80 0016FBE0 81 8C 00 60 */ lwz r12, 0x60(r12)
/* 80172C84 0016FBE4 7D 89 03 A6 */ mtctr r12
/* 80172C88 0016FBE8 4E 80 04 21 */ bctrl
/* 80172C8C 0016FBEC 80 8D A0 68 */ lwz r4, gpRender@sda21(r13)
/* 80172C90 0016FBF0 38 61 00 0C */ addi r3, r1, 0xc
/* 80172C94 0016FBF4 C0 22 A1 18 */ lfs f1, lbl_805ABE38@sda21(r2)
/* 80172C98 0016FBF8 38 A0 00 01 */ li r5, 1
/* 80172C9C 0016FBFC 81 84 00 00 */ lwz r12, 0(r4)
/* 80172CA0 0016FC00 C0 42 A1 1C */ lfs f2, lbl_805ABE3C@sda21(r2)
/* 80172CA4 0016FC04 81 8C 00 54 */ lwz r12, 0x54(r12)
/* 80172CA8 0016FC08 7D 89 03 A6 */ mtctr r12
/* 80172CAC 0016FC0C 4E 80 04 21 */ bctrl
/* 80172CB0 0016FC10 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80172CB4 0016FC14 81 83 00 00 */ lwz r12, 0(r3)
/* 80172CB8 0016FC18 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 80172CBC 0016FC1C 7D 89 03 A6 */ mtctr r12
/* 80172CC0 0016FC20 4E 80 04 21 */ bctrl
/* 80172CC4 0016FC24 3C 80 80 5A */ lis r4, kEnvModulate__9CGraphics@ha
/* 80172CC8 0016FC28 38 60 00 00 */ li r3, 0
/* 80172CCC 0016FC2C 38 84 5E BC */ addi r4, r4, kEnvModulate__9CGraphics@l
/* 80172CD0 0016FC30 48 19 75 E9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass
/* 80172CD4 0016FC34 7F C3 F3 78 */ mr r3, r30
/* 80172CD8 0016FC38 38 80 00 00 */ li r4, 0
/* 80172CDC 0016FC3C 38 A0 00 01 */ li r5, 1
/* 80172CE0 0016FC40 48 19 CA 5D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode
/* 80172CE4 0016FC44 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13)
/* 80172CE8 0016FC48 3B DD 00 C0 */ addi r30, r29, 0xc0
/* 80172CEC 0016FC4C 83 ED A1 3C */ lwz r31, gpTweakGuiColors@sda21(r13)
/* 80172CF0 0016FC50 3B A0 00 00 */ li r29, 0
/* 80172CF4 0016FC54 C3 E3 02 2C */ lfs f31, 0x22c(r3)
lbl_80172CF8:
/* 80172CF8 0016FC58 80 1F 01 38 */ lwz r0, 0x138(r31)
/* 80172CFC 0016FC5C FC 20 F8 90 */ fmr f1, f31
/* 80172D00 0016FC60 7F C3 F3 78 */ mr r3, r30
/* 80172D04 0016FC64 38 81 00 08 */ addi r4, r1, 8
/* 80172D08 0016FC68 90 01 00 08 */ stw r0, 8(r1)
/* 80172D0C 0016FC6C 48 00 1B E1 */ bl Draw__Q212CScanDisplay8CDataDotCF6CColorf
/* 80172D10 0016FC70 3B BD 00 01 */ addi r29, r29, 1
/* 80172D14 0016FC74 3B DE 00 2C */ addi r30, r30, 0x2c
/* 80172D18 0016FC78 2C 1D 00 04 */ cmpwi r29, 4
/* 80172D1C 0016FC7C 41 80 FF DC */ blt lbl_80172CF8
lbl_80172D20:
/* 80172D20 0016FC80 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 80172D24 0016FC84 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80172D28 0016FC88 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 80172D2C 0016FC8C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80172D30 0016FC90 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80172D34 0016FC94 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80172D38 0016FC98 7C 08 03 A6 */ mtlr r0
/* 80172D3C 0016FC9C 38 21 00 40 */ addi r1, r1, 0x40
/* 80172D40 0016FCA0 4E 80 00 20 */ blr
.global ProcessInput__12CScanDisplayFRC11CFinalInput
ProcessInput__12CScanDisplayFRC11CFinalInput:
/* 80172D44 0016FCA4 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 80172D48 0016FCA8 7C 08 02 A6 */ mflr r0
/* 80172D4C 0016FCAC 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 80172D50 0016FCB0 DB E1 00 90 */ stfd f31, 0x90(r1)
/* 80172D54 0016FCB4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0
/* 80172D58 0016FCB8 DB C1 00 80 */ stfd f30, 0x80(r1)
/* 80172D5C 0016FCBC F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0
/* 80172D60 0016FCC0 DB A1 00 70 */ stfd f29, 0x70(r1)
/* 80172D64 0016FCC4 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0
/* 80172D68 0016FCC8 DB 81 00 60 */ stfd f28, 0x60(r1)
/* 80172D6C 0016FCCC F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0
/* 80172D70 0016FCD0 DB 61 00 50 */ stfd f27, 0x50(r1)
/* 80172D74 0016FCD4 F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0
/* 80172D78 0016FCD8 DB 41 00 40 */ stfd f26, 0x40(r1)
/* 80172D7C 0016FCDC F3 41 00 48 */ psq_st f26, 72(r1), 0, qr0
/* 80172D80 0016FCE0 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 80172D84 0016FCE4 93 C1 00 38 */ stw r30, 0x38(r1)
/* 80172D88 0016FCE8 93 A1 00 34 */ stw r29, 0x34(r1)
/* 80172D8C 0016FCEC 93 81 00 30 */ stw r28, 0x30(r1)
/* 80172D90 0016FCF0 7C 7F 1B 78 */ mr r31, r3
/* 80172D94 0016FCF4 7C 9D 23 78 */ mr r29, r4
/* 80172D98 0016FCF8 80 63 00 0C */ lwz r3, 0xc(r3)
/* 80172D9C 0016FCFC 38 00 00 00 */ li r0, 0
/* 80172DA0 0016FD00 2C 03 00 00 */ cmpwi r3, 0
/* 80172DA4 0016FD04 41 82 00 0C */ beq lbl_80172DB0
/* 80172DA8 0016FD08 2C 03 00 04 */ cmpwi r3, 4
/* 80172DAC 0016FD0C 40 82 00 08 */ bne lbl_80172DB4
lbl_80172DB0:
/* 80172DB0 0016FD10 38 00 00 01 */ li r0, 1
lbl_80172DB4:
/* 80172DB4 0016FD14 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 80172DB8 0016FD18 40 82 03 4C */ bne lbl_80173104
/* 80172DBC 0016FD1C 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 80172DC0 0016FD20 2C 00 00 02 */ cmpwi r0, 2
/* 80172DC4 0016FD24 40 82 00 84 */ bne lbl_80172E48
/* 80172DC8 0016FD28 C0 22 A1 10 */ lfs f1, lbl_805ABE30@sda21(r2)
/* 80172DCC 0016FD2C C0 1F 01 A4 */ lfs f0, 0x1a4(r31)
/* 80172DD0 0016FD30 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 80172DD4 0016FD34 40 82 00 74 */ bne lbl_80172E48
/* 80172DD8 0016FD38 88 1D 00 2D */ lbz r0, 0x2d(r29)
/* 80172DDC 0016FD3C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 80172DE0 0016FD40 41 82 01 A0 */ beq lbl_80172F80
/* 80172DE4 0016FD44 80 7F 00 A8 */ lwz r3, 0xa8(r31)
/* 80172DE8 0016FD48 3B C3 00 D4 */ addi r30, r3, 0xd4
/* 80172DEC 0016FD4C C3 83 01 10 */ lfs f28, 0x110(r3)
/* 80172DF0 0016FD50 7F C3 F3 78 */ mr r3, r30
/* 80172DF4 0016FD54 48 15 52 B5 */ bl GetTotalAnimationTime__15CGuiTextSupportCFv
/* 80172DF8 0016FD58 FC 1C 08 40 */ fcmpo cr0, f28, f1
/* 80172DFC 0016FD5C 40 80 00 14 */ bge lbl_80172E10
/* 80172E00 0016FD60 7F C3 F3 78 */ mr r3, r30
/* 80172E04 0016FD64 48 15 52 A5 */ bl GetTotalAnimationTime__15CGuiTextSupportCFv
/* 80172E08 0016FD68 D0 3E 00 3C */ stfs f1, 0x3c(r30)
/* 80172E0C 0016FD6C 48 00 01 74 */ b lbl_80172F80
lbl_80172E10:
/* 80172E10 0016FD70 38 00 00 03 */ li r0, 3
/* 80172E14 0016FD74 C0 02 A1 14 */ lfs f0, lbl_805ABE34@sda21(r2)
/* 80172E18 0016FD78 90 1F 00 0C */ stw r0, 0xc(r31)
/* 80172E1C 0016FD7C 38 61 00 2C */ addi r3, r1, 0x2c
/* 80172E20 0016FD80 A9 02 C5 FA */ lha r8, kMedPriority__11CSfxManager@sda21(r2)
/* 80172E24 0016FD84 38 80 05 9F */ li r4, 0x59f
/* 80172E28 0016FD88 D0 1F 01 A4 */ stfs f0, 0x1a4(r31)
/* 80172E2C 0016FD8C 38 A0 00 7F */ li r5, 0x7f
/* 80172E30 0016FD90 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 80172E34 0016FD94 38 C0 00 40 */ li r6, 0x40
/* 80172E38 0016FD98 38 E0 00 00 */ li r7, 0
/* 80172E3C 0016FD9C 39 20 00 00 */ li r9, 0
/* 80172E40 0016FDA0 48 17 6F 35 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 80172E44 0016FDA4 48 00 01 3C */ b lbl_80172F80
lbl_80172E48:
/* 80172E48 0016FDA8 2C 00 00 03 */ cmpwi r0, 3
/* 80172E4C 0016FDAC 40 82 01 34 */ bne lbl_80172F80
/* 80172E50 0016FDB0 80 7F 00 AC */ lwz r3, 0xac(r31)
/* 80172E54 0016FDB4 83 9F 01 AC */ lwz r28, 0x1ac(r31)
/* 80172E58 0016FDB8 38 63 00 D4 */ addi r3, r3, 0xd4
/* 80172E5C 0016FDBC 48 15 4F FD */ bl GetTotalPageCount__15CGuiTextSupportFv
/* 80172E60 0016FDC0 88 1D 00 2D */ lbz r0, 0x2d(r29)
/* 80172E64 0016FDC4 7C 7E 1B 78 */ mr r30, r3
/* 80172E68 0016FDC8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
/* 80172E6C 0016FDCC 41 82 00 74 */ beq lbl_80172EE0
/* 80172E70 0016FDD0 2C 1E FF FF */ cmpwi r30, -1
/* 80172E74 0016FDD4 41 82 00 6C */ beq lbl_80172EE0
/* 80172E78 0016FDD8 2C 1C 00 00 */ cmpwi r28, 0
/* 80172E7C 0016FDDC 40 82 00 10 */ bne lbl_80172E8C
/* 80172E80 0016FDE0 80 7F 00 A8 */ lwz r3, 0xa8(r31)
/* 80172E84 0016FDE4 3B A3 00 D4 */ addi r29, r3, 0xd4
/* 80172E88 0016FDE8 48 00 00 0C */ b lbl_80172E94
lbl_80172E8C:
/* 80172E8C 0016FDEC 80 7F 00 AC */ lwz r3, 0xac(r31)
/* 80172E90 0016FDF0 3B A3 00 D4 */ addi r29, r3, 0xd4
lbl_80172E94:
/* 80172E94 0016FDF4 C3 9D 00 3C */ lfs f28, 0x3c(r29)
/* 80172E98 0016FDF8 7F A3 EB 78 */ mr r3, r29
/* 80172E9C 0016FDFC 48 15 52 0D */ bl GetTotalAnimationTime__15CGuiTextSupportCFv
/* 80172EA0 0016FE00 FC 1C 08 40 */ fcmpo cr0, f28, f1
/* 80172EA4 0016FE04 40 80 00 14 */ bge lbl_80172EB8
/* 80172EA8 0016FE08 7F A3 EB 78 */ mr r3, r29
/* 80172EAC 0016FE0C 48 15 51 FD */ bl GetTotalAnimationTime__15CGuiTextSupportCFv
/* 80172EB0 0016FE10 D0 3D 00 3C */ stfs f1, 0x3c(r29)
/* 80172EB4 0016FE14 48 00 00 2C */ b lbl_80172EE0
lbl_80172EB8:
/* 80172EB8 0016FE18 93 C1 00 24 */ stw r30, 0x24(r1)
/* 80172EBC 0016FE1C 38 61 00 28 */ addi r3, r1, 0x28
/* 80172EC0 0016FE20 80 9F 01 AC */ lwz r4, 0x1ac(r31)
/* 80172EC4 0016FE24 38 04 00 01 */ addi r0, r4, 1
/* 80172EC8 0016FE28 7C 1E 00 00 */ cmpw r30, r0
/* 80172ECC 0016FE2C 90 01 00 28 */ stw r0, 0x28(r1)
/* 80172ED0 0016FE30 40 80 00 08 */ bge lbl_80172ED8
/* 80172ED4 0016FE34 38 61 00 24 */ addi r3, r1, 0x24
lbl_80172ED8:
/* 80172ED8 0016FE38 80 03 00 00 */ lwz r0, 0(r3)
/* 80172EDC 0016FE3C 90 1F 01 AC */ stw r0, 0x1ac(r31)
lbl_80172EE0:
/* 80172EE0 0016FE40 80 1F 01 AC */ lwz r0, 0x1ac(r31)
/* 80172EE4 0016FE44 7C 00 E0 00 */ cmpw r0, r28
/* 80172EE8 0016FE48 41 82 00 98 */ beq lbl_80172F80
/* 80172EEC 0016FE4C A9 02 C5 FA */ lha r8, kMedPriority__11CSfxManager@sda21(r2)
/* 80172EF0 0016FE50 38 61 00 20 */ addi r3, r1, 0x20
/* 80172EF4 0016FE54 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 80172EF8 0016FE58 38 80 05 9F */ li r4, 0x59f
/* 80172EFC 0016FE5C 38 A0 00 7F */ li r5, 0x7f
/* 80172F00 0016FE60 38 C0 00 40 */ li r6, 0x40
/* 80172F04 0016FE64 38 E0 00 00 */ li r7, 0
/* 80172F08 0016FE68 39 20 00 00 */ li r9, 0
/* 80172F0C 0016FE6C 48 17 6E 69 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 80172F10 0016FE70 80 1F 01 AC */ lwz r0, 0x1ac(r31)
/* 80172F14 0016FE74 2C 00 00 00 */ cmpwi r0, 0
/* 80172F18 0016FE78 40 82 00 20 */ bne lbl_80172F38
/* 80172F1C 0016FE7C 80 7F 00 A8 */ lwz r3, 0xa8(r31)
/* 80172F20 0016FE80 38 80 00 01 */ li r4, 1
/* 80172F24 0016FE84 48 15 77 09 */ bl SetIsVisible__10CGuiWidgetFb
/* 80172F28 0016FE88 80 7F 00 AC */ lwz r3, 0xac(r31)
/* 80172F2C 0016FE8C 38 80 00 00 */ li r4, 0
/* 80172F30 0016FE90 48 15 76 FD */ bl SetIsVisible__10CGuiWidgetFb
/* 80172F34 0016FE94 48 00 00 4C */ b lbl_80172F80
lbl_80172F38:
/* 80172F38 0016FE98 2C 1C 00 00 */ cmpwi r28, 0
/* 80172F3C 0016FE9C 40 82 00 1C */ bne lbl_80172F58
/* 80172F40 0016FEA0 80 7F 00 A8 */ lwz r3, 0xa8(r31)
/* 80172F44 0016FEA4 38 80 00 00 */ li r4, 0
/* 80172F48 0016FEA8 48 15 76 E5 */ bl SetIsVisible__10CGuiWidgetFb
/* 80172F4C 0016FEAC 80 7F 00 AC */ lwz r3, 0xac(r31)
/* 80172F50 0016FEB0 38 80 00 01 */ li r4, 1
/* 80172F54 0016FEB4 48 15 76 D9 */ bl SetIsVisible__10CGuiWidgetFb
lbl_80172F58:
/* 80172F58 0016FEB8 80 7F 00 AC */ lwz r3, 0xac(r31)
/* 80172F5C 0016FEBC 80 9F 01 AC */ lwz r4, 0x1ac(r31)
/* 80172F60 0016FEC0 38 63 00 D4 */ addi r3, r3, 0xd4
/* 80172F64 0016FEC4 38 84 FF FF */ addi r4, r4, -1
/* 80172F68 0016FEC8 48 15 4E A1 */ bl SetPage__15CGuiTextSupportFi
/* 80172F6C 0016FECC 88 1F 01 B4 */ lbz r0, 0x1b4(r31)
/* 80172F70 0016FED0 80 7F 00 AC */ lwz r3, 0xac(r31)
/* 80172F74 0016FED4 7C 00 00 34 */ cntlzw r0, r0
/* 80172F78 0016FED8 54 04 D9 7E */ srwi r4, r0, 5
/* 80172F7C 0016FEDC 48 00 1B 45 */ bl SetScanMessageTypeEffect__12CScanDisplayFP12CGuiTextPaneb
lbl_80172F80:
/* 80172F80 0016FEE0 C3 62 A1 10 */ lfs f27, lbl_805ABE30@sda21(r2)
/* 80172F84 0016FEE4 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 80172F88 0016FEE8 FF 40 D8 90 */ fmr f26, f27
/* 80172F8C 0016FEEC FF 80 D8 90 */ fmr f28, f27
/* 80172F90 0016FEF0 2C 00 00 02 */ cmpwi r0, 2
/* 80172F94 0016FEF4 40 82 00 4C */ bne lbl_80172FE0
/* 80172F98 0016FEF8 C0 42 A1 20 */ lfs f2, lbl_805ABE40@sda21(r2)
/* 80172F9C 0016FEFC C0 3F 01 A4 */ lfs f1, 0x1a4(r31)
/* 80172FA0 0016FF00 C0 0D 8E 34 */ lfs f0, lbl_805A79F4@sda21(r13)
/* 80172FA4 0016FF04 EC 22 00 72 */ fmuls f1, f2, f1
/* 80172FA8 0016FF08 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80172FAC 0016FF0C D0 21 00 1C */ stfs f1, 0x1c(r1)
/* 80172FB0 0016FF10 40 80 00 0C */ bge lbl_80172FBC
/* 80172FB4 0016FF14 38 61 00 1C */ addi r3, r1, 0x1c
/* 80172FB8 0016FF18 48 00 00 08 */ b lbl_80172FC0
lbl_80172FBC:
/* 80172FBC 0016FF1C 38 6D 8E 34 */ addi r3, r13, lbl_805A79F4@sda21
lbl_80172FC0:
/* 80172FC0 0016FF20 C0 1F 01 B0 */ lfs f0, 0x1b0(r31)
/* 80172FC4 0016FF24 C3 63 00 00 */ lfs f27, 0(r3)
/* 80172FC8 0016FF28 FC 40 02 10 */ fabs f2, f0
/* 80172FCC 0016FF2C C0 02 A1 14 */ lfs f0, lbl_805ABE34@sda21(r2)
/* 80172FD0 0016FF30 EC 20 D8 28 */ fsubs f1, f0, f27
/* 80172FD4 0016FF34 FC 00 10 18 */ frsp f0, f2
/* 80172FD8 0016FF38 EF 41 00 32 */ fmuls f26, f1, f0
/* 80172FDC 0016FF3C 48 00 00 38 */ b lbl_80173014
lbl_80172FE0:
/* 80172FE0 0016FF40 2C 00 00 03 */ cmpwi r0, 3
/* 80172FE4 0016FF44 40 82 00 30 */ bne lbl_80173014
/* 80172FE8 0016FF48 80 7F 00 AC */ lwz r3, 0xac(r31)
/* 80172FEC 0016FF4C 38 63 00 D4 */ addi r3, r3, 0xd4
/* 80172FF0 0016FF50 48 15 4E 69 */ bl GetTotalPageCount__15CGuiTextSupportFv
/* 80172FF4 0016FF54 80 1F 01 AC */ lwz r0, 0x1ac(r31)
/* 80172FF8 0016FF58 7C 00 18 00 */ cmpw r0, r3
/* 80172FFC 0016FF5C 40 80 00 14 */ bge lbl_80173010
/* 80173000 0016FF60 C0 1F 01 B0 */ lfs f0, 0x1b0(r31)
/* 80173004 0016FF64 FC 00 02 10 */ fabs f0, f0
/* 80173008 0016FF68 FF 40 00 18 */ frsp f26, f0
/* 8017300C 0016FF6C 48 00 00 08 */ b lbl_80173014
lbl_80173010:
/* 80173010 0016FF70 C3 82 A1 14 */ lfs f28, lbl_805ABE34@sda21(r2)
lbl_80173014:
/* 80173014 0016FF74 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 80173018 0016FF78 80 7F 00 B0 */ lwz r3, 0xb0(r31)
/* 8017301C 0016FF7C FC 1B 00 40 */ fcmpo cr0, f27, f0
/* 80173020 0016FF80 7C 00 00 26 */ mfcr r0
/* 80173024 0016FF84 38 A0 00 01 */ li r5, 1
/* 80173028 0016FF88 54 04 17 FE */ rlwinm r4, r0, 2, 0x1f, 0x1f
/* 8017302C 0016FF8C 48 15 76 BD */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
/* 80173030 0016FF90 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 80173034 0016FF94 80 7F 00 B4 */ lwz r3, 0xb4(r31)
/* 80173038 0016FF98 FC 1A 00 40 */ fcmpo cr0, f26, f0
/* 8017303C 0016FF9C 7C 00 00 26 */ mfcr r0
/* 80173040 0016FFA0 38 A0 00 01 */ li r5, 1
/* 80173044 0016FFA4 54 04 17 FE */ rlwinm r4, r0, 2, 0x1f, 0x1f
/* 80173048 0016FFA8 48 15 76 A1 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
/* 8017304C 0016FFAC C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 80173050 0016FFB0 80 7F 00 B8 */ lwz r3, 0xb8(r31)
/* 80173054 0016FFB4 FC 1C 00 40 */ fcmpo cr0, f28, f0
/* 80173058 0016FFB8 7C 00 00 26 */ mfcr r0
/* 8017305C 0016FFBC 38 A0 00 01 */ li r5, 1
/* 80173060 0016FFC0 54 04 17 FE */ rlwinm r4, r0, 2, 0x1f, 0x1f
/* 80173064 0016FFC4 48 15 76 85 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
/* 80173068 0016FFC8 48 1D 6F 45 */ bl White__6CColorFv
/* 8017306C 0016FFCC C0 02 A1 24 */ lfs f0, lbl_805ABE44@sda21(r2)
/* 80173070 0016FFD0 EF E0 06 F2 */ fmuls f31, f0, f27
/* 80173074 0016FFD4 F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2
/* 80173078 0016FFD8 38 81 00 18 */ addi r4, r1, 0x18
/* 8017307C 0016FFDC 80 63 00 00 */ lwz r3, 0(r3)
/* 80173080 0016FFE0 88 01 00 0A */ lbz r0, 0xa(r1)
/* 80173084 0016FFE4 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17
/* 80173088 0016FFE8 90 01 00 18 */ stw r0, 0x18(r1)
/* 8017308C 0016FFEC 80 7F 00 B0 */ lwz r3, 0xb0(r31)
/* 80173090 0016FFF0 48 15 77 DD */ bl SetColor__10CGuiWidgetFRC6CColor
/* 80173094 0016FFF4 48 1D 6F 19 */ bl White__6CColorFv
/* 80173098 0016FFF8 C0 02 A1 24 */ lfs f0, lbl_805ABE44@sda21(r2)
/* 8017309C 0016FFFC EF C0 06 B2 */ fmuls f30, f0, f26
/* 801730A0 00170000 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2
/* 801730A4 00170004 38 81 00 14 */ addi r4, r1, 0x14
/* 801730A8 00170008 80 63 00 00 */ lwz r3, 0(r3)
/* 801730AC 0017000C 88 01 00 09 */ lbz r0, 9(r1)
/* 801730B0 00170010 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17
/* 801730B4 00170014 90 01 00 14 */ stw r0, 0x14(r1)
/* 801730B8 00170018 80 7F 00 B4 */ lwz r3, 0xb4(r31)
/* 801730BC 0017001C 48 15 77 B1 */ bl SetColor__10CGuiWidgetFRC6CColor
/* 801730C0 00170020 C0 02 A1 24 */ lfs f0, lbl_805ABE44@sda21(r2)
/* 801730C4 00170024 38 00 00 FF */ li r0, 0xff
/* 801730C8 00170028 38 80 00 89 */ li r4, 0x89
/* 801730CC 0017002C 38 60 00 D6 */ li r3, 0xd6
/* 801730D0 00170030 EF A0 07 32 */ fmuls f29, f0, f28
/* 801730D4 00170034 98 81 00 0C */ stb r4, 0xc(r1)
/* 801730D8 00170038 98 61 00 0D */ stb r3, 0xd(r1)
/* 801730DC 0017003C 98 01 00 0E */ stb r0, 0xe(r1)
/* 801730E0 00170040 98 01 00 0F */ stb r0, 0xf(r1)
/* 801730E4 00170044 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2
/* 801730E8 00170048 38 81 00 10 */ addi r4, r1, 0x10
/* 801730EC 0017004C 80 61 00 0C */ lwz r3, 0xc(r1)
/* 801730F0 00170050 88 01 00 08 */ lbz r0, 8(r1)
/* 801730F4 00170054 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17
/* 801730F8 00170058 90 01 00 10 */ stw r0, 0x10(r1)
/* 801730FC 0017005C 80 7F 00 B8 */ lwz r3, 0xb8(r31)
/* 80173100 00170060 48 15 77 6D */ bl SetColor__10CGuiWidgetFRC6CColor
lbl_80173104:
/* 80173104 00170064 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0
/* 80173108 00170068 CB E1 00 90 */ lfd f31, 0x90(r1)
/* 8017310C 0017006C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0
/* 80173110 00170070 CB C1 00 80 */ lfd f30, 0x80(r1)
/* 80173114 00170074 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0
/* 80173118 00170078 CB A1 00 70 */ lfd f29, 0x70(r1)
/* 8017311C 0017007C E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0
/* 80173120 00170080 CB 81 00 60 */ lfd f28, 0x60(r1)
/* 80173124 00170084 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0
/* 80173128 00170088 CB 61 00 50 */ lfd f27, 0x50(r1)
/* 8017312C 0017008C E3 41 00 48 */ psq_l f26, 72(r1), 0, qr0
/* 80173130 00170090 CB 41 00 40 */ lfd f26, 0x40(r1)
/* 80173134 00170094 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 80173138 00170098 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8017313C 0017009C 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 80173140 001700A0 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 80173144 001700A4 83 81 00 30 */ lwz r28, 0x30(r1)
/* 80173148 001700A8 7C 08 03 A6 */ mtlr r0
/* 8017314C 001700AC 38 21 00 A0 */ addi r1, r1, 0xa0
/* 80173150 001700B0 4E 80 00 20 */ blr
.global Update__12CScanDisplayFff
Update__12CScanDisplayFff:
/* 80173154 001700B4 94 21 FD F0 */ stwu r1, -0x210(r1)
/* 80173158 001700B8 7C 08 02 A6 */ mflr r0
/* 8017315C 001700BC 90 01 02 14 */ stw r0, 0x214(r1)
/* 80173160 001700C0 DB E1 02 00 */ stfd f31, 0x200(r1)
/* 80173164 001700C4 F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0
/* 80173168 001700C8 DB C1 01 F0 */ stfd f30, 0x1f0(r1)
/* 8017316C 001700CC F3 C1 01 F8 */ psq_st f30, 504(r1), 0, qr0
/* 80173170 001700D0 DB A1 01 E0 */ stfd f29, 0x1e0(r1)
/* 80173174 001700D4 F3 A1 01 E8 */ psq_st f29, 488(r1), 0, qr0
/* 80173178 001700D8 DB 81 01 D0 */ stfd f28, 0x1d0(r1)
/* 8017317C 001700DC F3 81 01 D8 */ psq_st f28, 472(r1), 0, qr0
/* 80173180 001700E0 DB 61 01 C0 */ stfd f27, 0x1c0(r1)
/* 80173184 001700E4 F3 61 01 C8 */ psq_st f27, 456(r1), 0, qr0
/* 80173188 001700E8 DB 41 01 B0 */ stfd f26, 0x1b0(r1)
/* 8017318C 001700EC F3 41 01 B8 */ psq_st f26, 440(r1), 0, qr0
/* 80173190 001700F0 BE E1 01 8C */ stmw r23, 0x18c(r1)
/* 80173194 001700F4 7C 7F 1B 78 */ mr r31, r3
/* 80173198 001700F8 FF 60 08 90 */ fmr f27, f1
/* 8017319C 001700FC 80 03 00 0C */ lwz r0, 0xc(r3)
/* 801731A0 00170100 FF 80 10 90 */ fmr f28, f2
/* 801731A4 00170104 2C 00 00 00 */ cmpwi r0, 0
/* 801731A8 00170108 40 82 00 14 */ bne lbl_801731BC
/* 801731AC 0017010C 38 00 00 00 */ li r0, 0
/* 801731B0 00170110 90 1F 00 08 */ stw r0, 8(r31)
/* 801731B4 00170114 48 1C DB 8D */ bl Unlock__6CTokenFv
/* 801731B8 00170118 48 00 0B 9C */ b lbl_80173D54
lbl_801731BC:
/* 801731BC 0017011C 48 1C DB C9 */ bl Lock__6CTokenFv
/* 801731C0 00170120 80 1F 00 08 */ lwz r0, 8(r31)
/* 801731C4 00170124 28 00 00 00 */ cmplwi r0, 0
/* 801731C8 00170128 40 82 00 30 */ bne lbl_801731F8
/* 801731CC 0017012C 88 1F 00 04 */ lbz r0, 4(r31)
/* 801731D0 00170130 28 00 00 00 */ cmplwi r0, 0
/* 801731D4 00170134 41 82 00 24 */ beq lbl_801731F8
/* 801731D8 00170138 80 7F 00 00 */ lwz r3, 0(r31)
/* 801731DC 0017013C 80 03 00 10 */ lwz r0, 0x10(r3)
/* 801731E0 00170140 28 00 00 00 */ cmplwi r0, 0
/* 801731E4 00170144 41 82 00 14 */ beq lbl_801731F8
/* 801731E8 00170148 7F E3 FB 78 */ mr r3, r31
/* 801731EC 0017014C 48 1C DC 21 */ bl GetObj__6CTokenFv
/* 801731F0 00170150 80 03 00 04 */ lwz r0, 4(r3)
/* 801731F4 00170154 90 1F 00 08 */ stw r0, 8(r31)
lbl_801731F8:
/* 801731F8 00170158 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 801731FC 0017015C 3B C0 00 00 */ li r30, 0
/* 80173200 00170160 2C 00 00 04 */ cmpwi r0, 4
/* 80173204 00170164 40 82 00 4C */ bne lbl_80173250
/* 80173208 00170168 C0 42 A1 20 */ lfs f2, lbl_805ABE40@sda21(r2)
/* 8017320C 0017016C C0 3F 01 A8 */ lfs f1, 0x1a8(r31)
/* 80173210 00170170 C0 0D 8E 24 */ lfs f0, lbl_805A79E4@sda21(r13)
/* 80173214 00170174 EC 22 0E FC */ fnmsubs f1, f2, f27, f1
/* 80173218 00170178 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8017321C 0017017C D0 21 00 34 */ stfs f1, 0x34(r1)
/* 80173220 00170180 40 80 00 0C */ bge lbl_8017322C
/* 80173224 00170184 38 61 00 34 */ addi r3, r1, 0x34
/* 80173228 00170188 48 00 00 08 */ b lbl_80173230
lbl_8017322C:
/* 8017322C 0017018C 38 6D 8E 24 */ addi r3, r13, lbl_805A79E4@sda21
lbl_80173230:
/* 80173230 00170190 C0 23 00 00 */ lfs f1, 0(r3)
/* 80173234 00170194 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 80173238 00170198 D0 3F 01 A8 */ stfs f1, 0x1a8(r31)
/* 8017323C 0017019C C0 3F 01 A8 */ lfs f1, 0x1a8(r31)
/* 80173240 001701A0 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80173244 001701A4 40 81 03 54 */ ble lbl_80173598
/* 80173248 001701A8 3B C0 00 01 */ li r30, 1
/* 8017324C 001701AC 48 00 03 4C */ b lbl_80173598
lbl_80173250:
/* 80173250 001701B0 C0 02 A1 20 */ lfs f0, lbl_805ABE40@sda21(r2)
/* 80173254 001701B4 3B C0 00 01 */ li r30, 1
/* 80173258 001701B8 C0 3F 01 A8 */ lfs f1, 0x1a8(r31)
/* 8017325C 001701BC EF A0 06 F2 */ fmuls f29, f0, f27
/* 80173260 001701C0 C0 0D 8E 28 */ lfs f0, lbl_805A79E8@sda21(r13)
/* 80173264 001701C4 EC 21 E8 2A */ fadds f1, f1, f29
/* 80173268 001701C8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8017326C 001701CC D0 21 00 30 */ stfs f1, 0x30(r1)
/* 80173270 001701D0 40 80 00 0C */ bge lbl_8017327C
/* 80173274 001701D4 38 61 00 30 */ addi r3, r1, 0x30
/* 80173278 001701D8 48 00 00 08 */ b lbl_80173280
lbl_8017327C:
/* 8017327C 001701DC 38 6D 8E 28 */ addi r3, r13, lbl_805A79E8@sda21
lbl_80173280:
/* 80173280 001701E0 C0 03 00 00 */ lfs f0, 0(r3)
/* 80173284 001701E4 D0 1F 01 A8 */ stfs f0, 0x1a8(r31)
/* 80173288 001701E8 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 8017328C 001701EC 2C 00 00 02 */ cmpwi r0, 2
/* 80173290 001701F0 40 82 00 80 */ bne lbl_80173310
/* 80173294 001701F4 80 7F 00 AC */ lwz r3, 0xac(r31)
/* 80173298 001701F8 38 63 00 D4 */ addi r3, r3, 0xd4
/* 8017329C 001701FC 48 15 69 C9 */ bl GetIsTextSupportFinishedLoading__15CGuiTextSupportCFv
/* 801732A0 00170200 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 801732A4 00170204 41 82 00 30 */ beq lbl_801732D4
/* 801732A8 00170208 C0 3F 01 A4 */ lfs f1, 0x1a4(r31)
/* 801732AC 0017020C C0 0D 8E 2C */ lfs f0, lbl_805A79EC@sda21(r13)
/* 801732B0 00170210 EC 21 D8 28 */ fsubs f1, f1, f27
/* 801732B4 00170214 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 801732B8 00170218 D0 21 00 2C */ stfs f1, 0x2c(r1)
/* 801732BC 0017021C 40 80 00 0C */ bge lbl_801732C8
/* 801732C0 00170220 38 61 00 2C */ addi r3, r1, 0x2c
/* 801732C4 00170224 48 00 00 08 */ b lbl_801732CC
lbl_801732C8:
/* 801732C8 00170228 38 6D 8E 2C */ addi r3, r13, lbl_805A79EC@sda21
lbl_801732CC:
/* 801732CC 0017022C C0 03 00 00 */ lfs f0, 0(r3)
/* 801732D0 00170230 D0 1F 01 A4 */ stfs f0, 0x1a4(r31)
lbl_801732D4:
/* 801732D4 00170234 C0 3F 01 A4 */ lfs f1, 0x1a4(r31)
/* 801732D8 00170238 C0 02 A1 28 */ lfs f0, lbl_805ABE48@sda21(r2)
/* 801732DC 0017023C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801732E0 00170240 40 80 02 B8 */ bge lbl_80173598
/* 801732E4 00170244 C0 3F 01 B0 */ lfs f1, 0x1b0(r31)
/* 801732E8 00170248 C0 02 A1 14 */ lfs f0, lbl_805ABE34@sda21(r2)
/* 801732EC 0017024C EC 21 E8 2A */ fadds f1, f1, f29
/* 801732F0 00170250 D0 3F 01 B0 */ stfs f1, 0x1b0(r31)
/* 801732F4 00170254 C0 3F 01 B0 */ lfs f1, 0x1b0(r31)
/* 801732F8 00170258 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 801732FC 0017025C 40 81 02 9C */ ble lbl_80173598
/* 80173300 00170260 C0 02 A1 20 */ lfs f0, lbl_805ABE40@sda21(r2)
/* 80173304 00170264 EC 01 00 28 */ fsubs f0, f1, f0
/* 80173308 00170268 D0 1F 01 B0 */ stfs f0, 0x1b0(r31)
/* 8017330C 0017026C 48 00 02 8C */ b lbl_80173598
lbl_80173310:
/* 80173310 00170270 2C 00 00 03 */ cmpwi r0, 3
/* 80173314 00170274 40 82 00 90 */ bne lbl_801733A4
/* 80173318 00170278 C0 3F 01 B0 */ lfs f1, 0x1b0(r31)
/* 8017331C 0017027C C0 02 A1 14 */ lfs f0, lbl_805ABE34@sda21(r2)
/* 80173320 00170280 EC 21 E8 2A */ fadds f1, f1, f29
/* 80173324 00170284 D0 3F 01 B0 */ stfs f1, 0x1b0(r31)
/* 80173328 00170288 C0 3F 01 B0 */ lfs f1, 0x1b0(r31)
/* 8017332C 0017028C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80173330 00170290 40 81 00 10 */ ble lbl_80173340
/* 80173334 00170294 C0 02 A1 20 */ lfs f0, lbl_805ABE40@sda21(r2)
/* 80173338 00170298 EC 01 00 28 */ fsubs f0, f1, f0
/* 8017333C 0017029C D0 1F 01 B0 */ stfs f0, 0x1b0(r31)
lbl_80173340:
/* 80173340 001702A0 C0 22 A1 14 */ lfs f1, lbl_805ABE34@sda21(r2)
/* 80173344 001702A4 C0 1F 01 A4 */ lfs f0, 0x1a4(r31)
/* 80173348 001702A8 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 8017334C 001702AC 40 82 02 4C */ bne lbl_80173598
/* 80173350 001702B0 80 7F 01 9C */ lwz r3, 0x19c(r31)
/* 80173354 001702B4 38 80 00 00 */ li r4, 0
/* 80173358 001702B8 48 1E 33 A5 */ bl GetString__12CStringTableCFi
/* 8017335C 001702BC 7C 64 1B 78 */ mr r4, r3
/* 80173360 001702C0 38 61 00 98 */ addi r3, r1, 0x98
/* 80173364 001702C4 38 C1 00 14 */ addi r6, r1, 0x14
/* 80173368 001702C8 38 A0 FF FF */ li r5, -1
/* 8017336C 001702CC 48 1C A4 51 */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator"
/* 80173370 001702D0 80 7F 00 A8 */ lwz r3, 0xa8(r31)
/* 80173374 001702D4 38 81 00 98 */ addi r4, r1, 0x98
/* 80173378 001702D8 38 A0 00 00 */ li r5, 0
/* 8017337C 001702DC 38 63 00 D4 */ addi r3, r3, 0xd4
/* 80173380 001702E0 48 15 65 05 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80173384 001702E4 38 61 00 98 */ addi r3, r1, 0x98
/* 80173388 001702E8 48 1C 9D AD */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 8017338C 001702EC 88 1F 01 B4 */ lbz r0, 0x1b4(r31)
/* 80173390 001702F0 80 7F 00 A8 */ lwz r3, 0xa8(r31)
/* 80173394 001702F4 7C 00 00 34 */ cntlzw r0, r0
/* 80173398 001702F8 54 04 D9 7E */ srwi r4, r0, 5
/* 8017339C 001702FC 48 00 17 25 */ bl SetScanMessageTypeEffect__12CScanDisplayFP12CGuiTextPaneb
/* 801733A0 00170300 48 00 01 F8 */ b lbl_80173598
lbl_801733A4:
/* 801733A4 00170304 2C 00 00 01 */ cmpwi r0, 1
/* 801733A8 00170308 40 82 01 F0 */ bne lbl_80173598
/* 801733AC 0017030C C0 1F 00 1C */ lfs f0, 0x1c(r31)
/* 801733B0 00170310 FC 1C 00 40 */ fcmpo cr0, f28, f0
/* 801733B4 00170314 4C 41 13 82 */ cror 2, 1, 2
/* 801733B8 00170318 40 82 01 E0 */ bne lbl_80173598
/* 801733BC 0017031C 88 1F 01 A0 */ lbz r0, 0x1a0(r31)
/* 801733C0 00170320 28 00 00 00 */ cmplwi r0, 0
/* 801733C4 00170324 41 82 01 D4 */ beq lbl_80173598
/* 801733C8 00170328 3A FF 01 94 */ addi r23, r31, 0x194
/* 801733CC 0017032C 80 1F 01 9C */ lwz r0, 0x19c(r31)
/* 801733D0 00170330 28 00 00 00 */ cmplwi r0, 0
/* 801733D4 00170334 41 82 00 0C */ beq lbl_801733E0
/* 801733D8 00170338 38 60 00 01 */ li r3, 1
/* 801733DC 0017033C 48 00 00 3C */ b lbl_80173418
lbl_801733E0:
/* 801733E0 00170340 88 17 00 04 */ lbz r0, 4(r23)
/* 801733E4 00170344 28 00 00 00 */ cmplwi r0, 0
/* 801733E8 00170348 41 82 00 2C */ beq lbl_80173414
/* 801733EC 0017034C 80 77 00 00 */ lwz r3, 0(r23)
/* 801733F0 00170350 80 03 00 10 */ lwz r0, 0x10(r3)
/* 801733F4 00170354 28 00 00 00 */ cmplwi r0, 0
/* 801733F8 00170358 41 82 00 1C */ beq lbl_80173414
/* 801733FC 0017035C 7E E3 BB 78 */ mr r3, r23
/* 80173400 00170360 48 1C DA 0D */ bl GetObj__6CTokenFv
/* 80173404 00170364 80 03 00 04 */ lwz r0, 4(r3)
/* 80173408 00170368 38 60 00 01 */ li r3, 1
/* 8017340C 0017036C 90 17 00 08 */ stw r0, 8(r23)
/* 80173410 00170370 48 00 00 08 */ b lbl_80173418
lbl_80173414:
/* 80173414 00170374 38 60 00 00 */ li r3, 0
lbl_80173418:
/* 80173418 00170378 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8017341C 0017037C 41 82 01 7C */ beq lbl_80173598
/* 80173420 00170380 88 1F 01 B4 */ lbz r0, 0x1b4(r31)
/* 80173424 00170384 28 00 00 00 */ cmplwi r0, 0
/* 80173428 00170388 40 82 00 10 */ bne lbl_80173438
/* 8017342C 0017038C 80 1F 00 20 */ lwz r0, 0x20(r31)
/* 80173430 00170390 2C 00 00 00 */ cmpwi r0, 0
/* 80173434 00170394 40 82 00 40 */ bne lbl_80173474
lbl_80173438:
/* 80173438 00170398 38 00 00 03 */ li r0, 3
/* 8017343C 0017039C C0 02 A1 14 */ lfs f0, lbl_805ABE34@sda21(r2)
/* 80173440 001703A0 90 1F 00 0C */ stw r0, 0xc(r31)
/* 80173444 001703A4 38 61 00 28 */ addi r3, r1, 0x28
/* 80173448 001703A8 A9 02 C5 FA */ lha r8, kMedPriority__11CSfxManager@sda21(r2)
/* 8017344C 001703AC 38 80 05 89 */ li r4, 0x589
/* 80173450 001703B0 D0 1F 01 A4 */ stfs f0, 0x1a4(r31)
/* 80173454 001703B4 38 A0 00 7F */ li r5, 0x7f
/* 80173458 001703B8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 8017345C 001703BC 38 C0 00 40 */ li r6, 0x40
/* 80173460 001703C0 D0 1F 01 B0 */ stfs f0, 0x1b0(r31)
/* 80173464 001703C4 38 E0 00 00 */ li r7, 0
/* 80173468 001703C8 39 20 00 00 */ li r9, 0
/* 8017346C 001703CC 48 17 69 09 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 80173470 001703D0 48 00 00 C0 */ b lbl_80173530
lbl_80173474:
/* 80173474 001703D4 38 00 00 02 */ li r0, 2
/* 80173478 001703D8 C0 02 A1 14 */ lfs f0, lbl_805ABE34@sda21(r2)
/* 8017347C 001703DC 90 1F 00 0C */ stw r0, 0xc(r31)
/* 80173480 001703E0 38 80 00 1D */ li r4, 0x1d
/* 80173484 001703E4 D0 1F 01 A4 */ stfs f0, 0x1a4(r31)
/* 80173488 001703E8 D0 1F 01 B0 */ stfs f0, 0x1b0(r31)
/* 8017348C 001703EC 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13)
/* 80173490 001703F0 48 1E 32 6D */ bl GetString__12CStringTableCFi
/* 80173494 001703F4 7C 64 1B 78 */ mr r4, r3
/* 80173498 001703F8 38 61 00 B4 */ addi r3, r1, 0xb4
/* 8017349C 001703FC 38 C1 00 10 */ addi r6, r1, 0x10
/* 801734A0 00170400 38 A0 FF FF */ li r5, -1
/* 801734A4 00170404 48 1C A3 19 */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator"
/* 801734A8 00170408 80 9F 00 20 */ lwz r4, 0x20(r31)
/* 801734AC 0017040C 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13)
/* 801734B0 00170410 38 84 00 1E */ addi r4, r4, 0x1e
/* 801734B4 00170414 48 1E 32 49 */ bl GetString__12CStringTableCFi
/* 801734B8 00170418 7C 64 1B 78 */ mr r4, r3
/* 801734BC 0017041C 38 61 00 B4 */ addi r3, r1, 0xb4
/* 801734C0 00170420 38 A0 FF FF */ li r5, -1
/* 801734C4 00170424 48 1C A0 21 */ bl sub_8033d4e4
/* 801734C8 00170428 80 6D A0 74 */ lwz r3, gpStringTable@sda21(r13)
/* 801734CC 0017042C 38 80 00 1E */ li r4, 0x1e
/* 801734D0 00170430 48 1E 32 2D */ bl GetString__12CStringTableCFi
/* 801734D4 00170434 7C 64 1B 78 */ mr r4, r3
/* 801734D8 00170438 38 61 00 B4 */ addi r3, r1, 0xb4
/* 801734DC 0017043C 38 A0 FF FF */ li r5, -1
/* 801734E0 00170440 48 1C A0 05 */ bl sub_8033d4e4
/* 801734E4 00170444 80 7F 00 A8 */ lwz r3, 0xa8(r31)
/* 801734E8 00170448 38 81 00 B4 */ addi r4, r1, 0xb4
/* 801734EC 0017044C 38 A0 00 00 */ li r5, 0
/* 801734F0 00170450 38 63 00 D4 */ addi r3, r3, 0xd4
/* 801734F4 00170454 48 15 63 91 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 801734F8 00170458 80 7F 00 A8 */ lwz r3, 0xa8(r31)
/* 801734FC 0017045C 38 80 00 01 */ li r4, 1
/* 80173500 00170460 48 00 15 C1 */ bl SetScanMessageTypeEffect__12CScanDisplayFP12CGuiTextPaneb
/* 80173504 00170464 A9 02 C5 FA */ lha r8, kMedPriority__11CSfxManager@sda21(r2)
/* 80173508 00170468 38 61 00 24 */ addi r3, r1, 0x24
/* 8017350C 0017046C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 80173510 00170470 38 80 05 91 */ li r4, 0x591
/* 80173514 00170474 38 A0 00 7F */ li r5, 0x7f
/* 80173518 00170478 38 C0 00 40 */ li r6, 0x40
/* 8017351C 0017047C 38 E0 00 00 */ li r7, 0
/* 80173520 00170480 39 20 00 00 */ li r9, 0
/* 80173524 00170484 48 17 68 51 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 80173528 00170488 38 61 00 B4 */ addi r3, r1, 0xb4
/* 8017352C 0017048C 48 1C 9C 09 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
lbl_80173530:
/* 80173530 00170490 80 7F 01 9C */ lwz r3, 0x19c(r31)
/* 80173534 00170494 80 03 00 00 */ lwz r0, 0(r3)
/* 80173538 00170498 2C 00 00 02 */ cmpwi r0, 2
/* 8017353C 0017049C 40 81 00 50 */ ble lbl_8017358C
/* 80173540 001704A0 38 80 00 02 */ li r4, 2
/* 80173544 001704A4 48 1E 31 B9 */ bl GetString__12CStringTableCFi
/* 80173548 001704A8 7C 64 1B 78 */ mr r4, r3
/* 8017354C 001704AC 38 61 00 88 */ addi r3, r1, 0x88
/* 80173550 001704B0 38 C1 00 0C */ addi r6, r1, 0xc
/* 80173554 001704B4 38 A0 FF FF */ li r5, -1
/* 80173558 001704B8 48 1C A2 65 */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator"
/* 8017355C 001704BC 80 7F 00 AC */ lwz r3, 0xac(r31)
/* 80173560 001704C0 38 81 00 88 */ addi r4, r1, 0x88
/* 80173564 001704C4 38 A0 00 01 */ li r5, 1
/* 80173568 001704C8 38 63 00 D4 */ addi r3, r3, 0xd4
/* 8017356C 001704CC 48 15 63 19 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80173570 001704D0 38 61 00 88 */ addi r3, r1, 0x88
/* 80173574 001704D4 48 1C 9B C1 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80173578 001704D8 88 1F 01 B4 */ lbz r0, 0x1b4(r31)
/* 8017357C 001704DC 80 7F 00 AC */ lwz r3, 0xac(r31)
/* 80173580 001704E0 7C 00 00 34 */ cntlzw r0, r0
/* 80173584 001704E4 54 04 D9 7E */ srwi r4, r0, 5
/* 80173588 001704E8 48 00 15 39 */ bl SetScanMessageTypeEffect__12CScanDisplayFP12CGuiTextPaneb
lbl_8017358C:
/* 8017358C 001704EC 80 7F 00 AC */ lwz r3, 0xac(r31)
/* 80173590 001704F0 38 80 00 00 */ li r4, 0
/* 80173594 001704F4 48 15 70 99 */ bl SetIsVisible__10CGuiWidgetFb
lbl_80173598:
/* 80173598 001704F8 3B 5F 01 74 */ addi r26, r31, 0x174
/* 8017359C 001704FC 3B 7F 00 C0 */ addi r27, r31, 0xc0
/* 801735A0 00170500 3B 20 00 00 */ li r25, 0
/* 801735A4 00170504 7F 5D D3 78 */ mr r29, r26
/* 801735A8 00170508 7F 7C DB 78 */ mr r28, r27
lbl_801735AC:
/* 801735AC 0017050C 83 1D 00 04 */ lwz r24, 4(r29)
/* 801735B0 00170510 28 18 00 00 */ cmplwi r24, 0
/* 801735B4 00170514 41 82 01 C8 */ beq lbl_8017377C
/* 801735B8 00170518 80 1F 00 0C */ lwz r0, 0xc(r31)
/* 801735BC 0017051C 2C 00 00 01 */ cmpwi r0, 1
/* 801735C0 00170520 40 82 00 18 */ bne lbl_801735D8
/* 801735C4 00170524 FC 20 E0 90 */ fmr f1, f28
/* 801735C8 00170528 7F E3 FB 78 */ mr r3, r31
/* 801735CC 0017052C 7F 24 CB 78 */ mr r4, r25
/* 801735D0 00170530 4B FF F4 CD */ bl GetDownloadFraction__12CScanDisplayFif
/* 801735D4 00170534 48 00 00 08 */ b lbl_801735DC
lbl_801735D8:
/* 801735D8 00170538 C0 22 A1 14 */ lfs f1, lbl_805ABE34@sda21(r2)
lbl_801735DC:
/* 801735DC 0017053C C0 5D 00 00 */ lfs f2, 0(r29)
/* 801735E0 00170540 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 801735E4 00170544 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 801735E8 00170548 40 81 00 70 */ ble lbl_80173658
/* 801735EC 0017054C 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13)
/* 801735F0 00170550 EC 42 D8 28 */ fsubs f2, f2, f27
/* 801735F4 00170554 C0 0D 8E 30 */ lfs f0, lbl_805A79F0@sda21(r13)
/* 801735F8 00170558 C0 63 02 4C */ lfs f3, 0x24c(r3)
/* 801735FC 0017055C C0 83 02 50 */ lfs f4, 0x250(r3)
/* 80173600 00170560 FC 00 10 40 */ fcmpo cr0, f0, f2
/* 80173604 00170564 C0 A3 02 48 */ lfs f5, 0x248(r3)
/* 80173608 00170568 D0 41 00 20 */ stfs f2, 0x20(r1)
/* 8017360C 0017056C 40 80 00 0C */ bge lbl_80173618
/* 80173610 00170570 38 61 00 20 */ addi r3, r1, 0x20
/* 80173614 00170574 48 00 00 08 */ b lbl_8017361C
lbl_80173618:
/* 80173618 00170578 38 6D 8E 30 */ addi r3, r13, lbl_805A79F0@sda21
lbl_8017361C:
/* 8017361C 0017057C C0 03 00 00 */ lfs f0, 0(r3)
/* 80173620 00170580 D0 1D 00 00 */ stfs f0, 0(r29)
/* 80173624 00170584 C0 1D 00 00 */ lfs f0, 0(r29)
/* 80173628 00170588 FC 00 20 40 */ fcmpo cr0, f0, f4
/* 8017362C 0017058C 40 81 00 18 */ ble lbl_80173644
/* 80173630 00170590 EC 00 20 28 */ fsubs f0, f0, f4
/* 80173634 00170594 C0 42 A1 14 */ lfs f2, lbl_805ABE34@sda21(r2)
/* 80173638 00170598 EC 00 18 24 */ fdivs f0, f0, f3
/* 8017363C 0017059C EC 02 00 28 */ fsubs f0, f2, f0
/* 80173640 001705A0 48 00 00 08 */ b lbl_80173648
lbl_80173644:
/* 80173644 001705A4 EC 00 20 24 */ fdivs f0, f0, f4
lbl_80173648:
/* 80173648 001705A8 EC 00 01 72 */ fmuls f0, f0, f5
/* 8017364C 001705AC C0 5F 01 A8 */ lfs f2, 0x1a8(r31)
/* 80173650 001705B0 EC 02 00 32 */ fmuls f0, f2, f0
/* 80173654 001705B4 D0 18 01 50 */ stfs f0, 0x150(r24)
lbl_80173658:
/* 80173658 001705B8 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13)
/* 8017365C 001705BC 3C 00 43 30 */ lis r0, 0x4330
/* 80173660 001705C0 C0 1F 01 A8 */ lfs f0, 0x1a8(r31)
/* 80173664 001705C4 88 64 01 77 */ lbz r3, 0x177(r4)
/* 80173668 001705C8 EF 41 00 32 */ fmuls f26, f1, f0
/* 8017366C 001705CC 90 01 01 78 */ stw r0, 0x178(r1)
/* 80173670 001705D0 C8 22 A1 30 */ lfd f1, lbl_805ABE50@sda21(r2)
/* 80173674 001705D4 90 61 01 7C */ stw r3, 0x17c(r1)
/* 80173678 001705D8 C8 01 01 78 */ lfd f0, 0x178(r1)
/* 8017367C 001705DC EC 00 08 28 */ fsubs f0, f0, f1
/* 80173680 001705E0 EF FA 00 32 */ fmuls f31, f26, f0
/* 80173684 001705E4 F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2
/* 80173688 001705E8 7F 03 C3 78 */ mr r3, r24
/* 8017368C 001705EC 80 A4 01 74 */ lwz r5, 0x174(r4)
/* 80173690 001705F0 38 81 00 1C */ addi r4, r1, 0x1c
/* 80173694 001705F4 88 01 00 09 */ lbz r0, 9(r1)
/* 80173698 001705F8 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17
/* 8017369C 001705FC 90 01 00 1C */ stw r0, 0x1c(r1)
/* 801736A0 00170600 48 15 71 CD */ bl SetColor__10CGuiWidgetFRC6CColor
/* 801736A4 00170604 C0 02 A1 14 */ lfs f0, lbl_805ABE34@sda21(r2)
/* 801736A8 00170608 7F E3 FB 78 */ mr r3, r31
/* 801736AC 0017060C 7F 24 CB 78 */ mr r4, r25
/* 801736B0 00170610 EC 00 D0 28 */ fsubs f0, f0, f26
/* 801736B4 00170614 D0 18 01 4C */ stfs f0, 0x14c(r24)
/* 801736B8 00170618 4B FF F4 7D */ bl GetDownloadStartTime__12CScanDisplayFi
/* 801736BC 0017061C 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13)
/* 801736C0 00170620 C0 03 02 44 */ lfs f0, 0x244(r3)
/* 801736C4 00170624 EC 01 00 28 */ fsubs f0, f1, f0
/* 801736C8 00170628 FC 00 E0 40 */ fcmpo cr0, f0, f28
/* 801736CC 0017062C 40 80 00 B0 */ bge lbl_8017377C
/* 801736D0 00170630 80 1C 00 00 */ lwz r0, 0(r28)
/* 801736D4 00170634 2C 00 00 03 */ cmpwi r0, 3
/* 801736D8 00170638 41 82 00 3C */ beq lbl_80173714
/* 801736DC 0017063C 40 80 00 A0 */ bge lbl_8017377C
/* 801736E0 00170640 2C 00 00 00 */ cmpwi r0, 0
/* 801736E4 00170644 41 82 00 98 */ beq lbl_8017377C
/* 801736E8 00170648 40 80 00 0C */ bge lbl_801736F4
/* 801736EC 0017064C 48 00 00 90 */ b lbl_8017377C
/* 801736F0 00170650 48 00 00 8C */ b lbl_8017377C
lbl_801736F4:
/* 801736F4 00170654 38 00 00 03 */ li r0, 3
/* 801736F8 00170658 7F 83 E3 78 */ mr r3, r28
/* 801736FC 0017065C 90 1C 00 00 */ stw r0, 0(r28)
/* 80173700 00170660 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21
/* 80173704 00170664 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13)
/* 80173708 00170668 C0 25 02 44 */ lfs f1, 0x244(r5)
/* 8017370C 0017066C 48 00 11 B5 */ bl StartTransitionTo__Q212CScanDisplay8CDataDotFRC9CVector2ff
/* 80173710 00170670 48 00 00 6C */ b lbl_8017377C
lbl_80173714:
/* 80173714 00170674 C0 5C 00 1C */ lfs f2, 0x1c(r28)
/* 80173718 00170678 C0 22 A1 10 */ lfs f1, lbl_805ABE30@sda21(r2)
/* 8017371C 0017067C FC 02 08 40 */ fcmpo cr0, f2, f1
/* 80173720 00170680 40 81 00 0C */ ble lbl_8017372C
/* 80173724 00170684 C0 1C 00 20 */ lfs f0, 0x20(r28)
/* 80173728 00170688 EC 20 10 24 */ fdivs f1, f0, f2
lbl_8017372C:
/* 8017372C 0017068C C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 80173730 00170690 FC 00 08 00 */ fcmpu cr0, f0, f1
/* 80173734 00170694 40 82 00 48 */ bne lbl_8017377C
/* 80173738 00170698 38 00 00 04 */ li r0, 4
/* 8017373C 0017069C A9 02 C5 FA */ lha r8, kMedPriority__11CSfxManager@sda21(r2)
/* 80173740 001706A0 90 1C 00 00 */ stw r0, 0(r28)
/* 80173744 001706A4 38 61 00 18 */ addi r3, r1, 0x18
/* 80173748 001706A8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2)
/* 8017374C 001706AC 38 80 05 86 */ li r4, 0x586
/* 80173750 001706B0 D0 1C 00 28 */ stfs f0, 0x28(r28)
/* 80173754 001706B4 38 A0 00 7F */ li r5, 0x7f
/* 80173758 001706B8 38 C0 00 40 */ li r6, 0x40
/* 8017375C 001706BC 38 E0 00 00 */ li r7, 0
/* 80173760 001706C0 39 20 00 00 */ li r9, 0
/* 80173764 001706C4 48 17 66 11 */ bl SfxStart__11CSfxManagerFUsssbsbi
/* 80173768 001706C8 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13)
/* 8017376C 001706CC C0 23 02 50 */ lfs f1, 0x250(r3)
/* 80173770 001706D0 C0 03 02 4C */ lfs f0, 0x24c(r3)
/* 80173774 001706D4 EC 01 00 2A */ fadds f0, f1, f0
/* 80173778 001706D8 D0 1D 00 00 */ stfs f0, 0(r29)
lbl_8017377C:
/* 8017377C 001706DC 3B 39 00 01 */ addi r25, r25, 1
/* 80173780 001706E0 3B 9C 00 2C */ addi r28, r28, 0x2c
/* 80173784 001706E4 2C 19 00 04 */ cmpwi r25, 4
/* 80173788 001706E8 3B BD 00 08 */ addi r29, r29, 8
/* 8017378C 001706EC 41 80 FE 20 */ blt lbl_801735AC
/* 80173790 001706F0 3C 60 80 3F */ lis r3, mViewport__9CGraphics@ha
/* 80173794 001706F4 7F 5C D3 78 */ mr r28, r26
/* 80173798 001706F8 3B 00 00 00 */ li r24, 0
/* 8017379C 001706FC 3B A3 D9 10 */ addi r29, r3, mViewport__9CGraphics@l
lbl_801737A0:
/* 801737A0 00170700 80 1B 00 00 */ lwz r0, 0(r27)
/* 801737A4 00170704 2C 00 00 03 */ cmpwi r0, 3
/* 801737A8 00170708 40 80 00 14 */ bge lbl_801737BC
/* 801737AC 0017070C 2C 00 00 00 */ cmpwi r0, 0
/* 801737B0 00170710 41 82 02 0C */ beq lbl_801739BC
/* 801737B4 00170714 40 80 00 14 */ bge lbl_801737C8
/* 801737B8 00170718 48 00 01 F8 */ b lbl_801739B0
lbl_801737BC:
/* 801737BC 0017071C 2C 00 00 05 */ cmpwi r0, 5
/* 801737C0 00170720 40 80 01 F0 */ bge lbl_801739B0
/* 801737C4 00170724 48 00 01 54 */ b lbl_80173918
lbl_801737C8:
/* 801737C8 00170728 C0 5B 00 1C */ lfs f2, 0x1c(r27)
/* 801737CC 0017072C C0 22 A1 10 */ lfs f1, lbl_805ABE30@sda21(r2)
/* 801737D0 00170730 FC 02 08 40 */ fcmpo cr0, f2, f1
/* 801737D4 00170734 40 81 00 0C */ ble lbl_801737E0
/* 801737D8 00170738 C0 1B 00 20 */ lfs f0, 0x20(r27)
/* 801737DC 0017073C EC 20 10 24 */ fdivs f1, f0, f2
lbl_801737E0:
/* 801737E0 00170740 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 801737E4 00170744 FC 00 08 00 */ fcmpu cr0, f0, f1
/* 801737E8 00170748 40 82 01 C8 */ bne lbl_801739B0
/* 801737EC 0017074C 20 00 00 02 */ subfic r0, r0, 2
/* 801737F0 00170750 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13)
/* 801737F4 00170754 7C 03 00 34 */ cntlzw r3, r0
/* 801737F8 00170758 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f
/* 801737FC 0017075C C3 84 02 30 */ lfs f28, 0x230(r4)
/* 80173800 00170760 54 79 D9 7E */ srwi r25, r3, 5
/* 80173804 00170764 41 82 00 0C */ beq lbl_80173810
/* 80173808 00170768 C3 E4 02 3C */ lfs f31, 0x23c(r4)
/* 8017380C 0017076C 48 00 00 08 */ b lbl_80173814
lbl_80173810:
/* 80173810 00170770 C3 E4 02 34 */ lfs f31, 0x234(r4)
lbl_80173814:
/* 80173814 00170774 57 20 06 3F */ clrlwi. r0, r25, 0x18
/* 80173818 00170778 41 82 00 0C */ beq lbl_80173824
/* 8017381C 0017077C C3 A4 02 40 */ lfs f29, 0x240(r4)
/* 80173820 00170780 48 00 00 08 */ b lbl_80173828
lbl_80173824:
/* 80173824 00170784 C3 A4 02 38 */ lfs f29, 0x238(r4)
lbl_80173828:
/* 80173828 00170788 57 20 06 3F */ clrlwi. r0, r25, 0x18
/* 8017382C 0017078C 41 82 00 0C */ beq lbl_80173838
/* 80173830 00170790 C3 5B 00 0C */ lfs f26, 0xc(r27)
/* 80173834 00170794 48 00 00 38 */ b lbl_8017386C
lbl_80173838:
/* 80173838 00170798 48 21 C6 45 */ bl rand
/* 8017383C 0017079C 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 80173840 001707A0 3C 00 43 30 */ lis r0, 0x4330
/* 80173844 001707A4 90 61 01 7C */ stw r3, 0x17c(r1)
/* 80173848 001707A8 C0 02 A1 28 */ lfs f0, lbl_805ABE48@sda21(r2)
/* 8017384C 001707AC 90 01 01 78 */ stw r0, 0x178(r1)
/* 80173850 001707B0 C8 62 A1 38 */ lfd f3, lbl_805ABE58@sda21(r2)
/* 80173854 001707B4 EC 00 07 32 */ fmuls f0, f0, f28
/* 80173858 001707B8 C8 41 01 78 */ lfd f2, 0x178(r1)
/* 8017385C 001707BC C0 22 A1 2C */ lfs f1, lbl_805ABE4C@sda21(r2)
/* 80173860 001707C0 EC 42 18 28 */ fsubs f2, f2, f3
/* 80173864 001707C4 EC 22 08 24 */ fdivs f1, f2, f1
/* 80173868 001707C8 EF 5C 00 78 */ fmsubs f26, f28, f1, f0
lbl_8017386C:
/* 8017386C 001707CC 57 20 06 3F */ clrlwi. r0, r25, 0x18
/* 80173870 001707D0 41 82 00 0C */ beq lbl_8017387C
/* 80173874 001707D4 C3 9B 00 10 */ lfs f28, 0x10(r27)
/* 80173878 001707D8 48 00 00 38 */ b lbl_801738B0
lbl_8017387C:
/* 8017387C 001707DC 48 21 C6 01 */ bl rand
/* 80173880 001707E0 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 80173884 001707E4 3C 00 43 30 */ lis r0, 0x4330
/* 80173888 001707E8 90 61 01 7C */ stw r3, 0x17c(r1)
/* 8017388C 001707EC C0 02 A1 28 */ lfs f0, lbl_805ABE48@sda21(r2)
/* 80173890 001707F0 90 01 01 78 */ stw r0, 0x178(r1)
/* 80173894 001707F4 C8 62 A1 38 */ lfd f3, lbl_805ABE58@sda21(r2)
/* 80173898 001707F8 EC 00 07 32 */ fmuls f0, f0, f28
/* 8017389C 001707FC C8 41 01 78 */ lfd f2, 0x178(r1)
/* 801738A0 00170800 C0 22 A1 2C */ lfs f1, lbl_805ABE4C@sda21(r2)
/* 801738A4 00170804 EC 42 18 28 */ fsubs f2, f2, f3
/* 801738A8 00170808 EC 22 08 24 */ fdivs f1, f2, f1
/* 801738AC 0017080C EF 9C 00 78 */ fmsubs f28, f28, f1, f0
lbl_801738B0:
/* 801738B0 00170810 48 21 C5 CD */ bl rand
/* 801738B4 00170814 FC 20 D0 90 */ fmr f1, f26
/* 801738B8 00170818 7C 77 1B 78 */ mr r23, r3
/* 801738BC 0017081C FC 40 E0 90 */ fmr f2, f28
/* 801738C0 00170820 38 61 00 3C */ addi r3, r1, 0x3c
/* 801738C4 00170824 48 1A 09 3D */ bl __ct__9CVector2fFff
/* 801738C8 00170828 6E E4 80 00 */ xoris r4, r23, 0x8000
/* 801738CC 0017082C 3C 00 43 30 */ lis r0, 0x4330
/* 801738D0 00170830 90 81 01 7C */ stw r4, 0x17c(r1)
/* 801738D4 00170834 7C 64 1B 78 */ mr r4, r3
/* 801738D8 00170838 C8 42 A1 38 */ lfd f2, lbl_805ABE58@sda21(r2)
/* 801738DC 0017083C EC 7D F8 28 */ fsubs f3, f29, f31
/* 801738E0 00170840 90 01 01 78 */ stw r0, 0x178(r1)
/* 801738E4 00170844 7F 63 DB 78 */ mr r3, r27
/* 801738E8 00170848 C0 02 A1 2C */ lfs f0, lbl_805ABE4C@sda21(r2)
/* 801738EC 0017084C C8 21 01 78 */ lfd f1, 0x178(r1)
/* 801738F0 00170850 EC 21 10 28 */ fsubs f1, f1, f2
/* 801738F4 00170854 EC 01 00 24 */ fdivs f0, f1, f0
/* 801738F8 00170858 EC 23 F8 3A */ fmadds f1, f3, f0, f31
/* 801738FC 0017085C 48 00 0F C5 */ bl StartTransitionTo__Q212CScanDisplay8CDataDotFRC9CVector2ff
/* 80173900 00170860 57 20 06 3F */ clrlwi. r0, r25, 0x18
/* 80173904 00170864 38 60 00 02 */ li r3, 2
/* 80173908 00170868 41 82 00 08 */ beq lbl_80173910
/* 8017390C 0017086C 38 60 00 01 */ li r3, 1
lbl_80173910:
/* 80173910 00170870 90 7B 00 00 */ stw r3, 0(r27)
/* 80173914 00170874 48 00 00 9C */ b lbl_801739B0
lbl_80173918:
/* 80173918 00170878 80 DC 00 04 */ lwz r6, 4(r28)
/* 8017391C 0017087C 38 61 00 7C */ addi r3, r1, 0x7c
/* 80173920 00170880 80 9F 00 A0 */ lwz r4, 0xa0(r31)
/* 80173924 00170884 38 A1 00 A8 */ addi r5, r1, 0xa8
/* 80173928 00170888 C0 46 00 60 */ lfs f2, 0x60(r6)
/* 8017392C 0017088C 80 84 00 14 */ lwz r4, 0x14(r4)
/* 80173930 00170890 C0 26 00 50 */ lfs f1, 0x50(r6)
/* 80173934 00170894 C0 06 00 40 */ lfs f0, 0x40(r6)
/* 80173938 00170898 D0 01 00 A8 */ stfs f0, 0xa8(r1)
/* 8017393C 0017089C D0 21 00 AC */ stfs f1, 0xac(r1)
/* 80173940 001708A0 D0 41 00 B0 */ stfs f2, 0xb0(r1)
/* 80173944 001708A4 48 14 DB 75 */ bl ConvertToScreenSpace__10CGuiCameraCFRC9CVector3f
/* 80173948 001708A8 80 BD 00 08 */ lwz r5, 8(r29)
/* 8017394C 001708AC 3C 80 43 30 */ lis r4, 0x4330
/* 80173950 001708B0 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 80173954 001708B4 38 61 00 44 */ addi r3, r1, 0x44
/* 80173958 001708B8 6C A5 80 00 */ xoris r5, r5, 0x8000
/* 8017395C 001708BC 90 81 01 78 */ stw r4, 0x178(r1)
/* 80173960 001708C0 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80173964 001708C4 C8 62 A1 38 */ lfd f3, lbl_805ABE58@sda21(r2)
/* 80173968 001708C8 90 A1 01 7C */ stw r5, 0x17c(r1)
/* 8017396C 001708CC C0 81 00 7C */ lfs f4, 0x7c(r1)
/* 80173970 001708D0 C8 01 01 78 */ lfd f0, 0x178(r1)
/* 80173974 001708D4 90 01 01 84 */ stw r0, 0x184(r1)
/* 80173978 001708D8 EC 20 18 28 */ fsubs f1, f0, f3
/* 8017397C 001708DC C0 41 00 80 */ lfs f2, 0x80(r1)
/* 80173980 001708E0 90 81 01 80 */ stw r4, 0x180(r1)
/* 80173984 001708E4 C0 A2 A1 28 */ lfs f5, lbl_805ABE48@sda21(r2)
/* 80173988 001708E8 C8 01 01 80 */ lfd f0, 0x180(r1)
/* 8017398C 001708EC EC 24 00 72 */ fmuls f1, f4, f1
/* 80173990 001708F0 EC 00 18 28 */ fsubs f0, f0, f3
/* 80173994 001708F4 EC 25 00 72 */ fmuls f1, f5, f1
/* 80173998 001708F8 EC 02 00 32 */ fmuls f0, f2, f0
/* 8017399C 001708FC EC 45 00 32 */ fmuls f2, f5, f0
/* 801739A0 00170900 48 1A 08 61 */ bl __ct__9CVector2fFff
/* 801739A4 00170904 7F 63 DB 78 */ mr r3, r27
/* 801739A8 00170908 38 81 00 44 */ addi r4, r1, 0x44
/* 801739AC 0017090C 48 00 0D A1 */ bl SetDestPosition__Q212CScanDisplay8CDataDotFRC9CVector2f
lbl_801739B0:
/* 801739B0 00170910 FC 20 D8 90 */ fmr f1, f27
/* 801739B4 00170914 7F 63 DB 78 */ mr r3, r27
/* 801739B8 00170918 48 00 0D CD */ bl Update__Q212CScanDisplay8CDataDotFf
lbl_801739BC:
/* 801739BC 0017091C 3B 18 00 01 */ addi r24, r24, 1
/* 801739C0 00170920 3B 9C 00 08 */ addi r28, r28, 8
/* 801739C4 00170924 2C 18 00 04 */ cmpwi r24, 4
/* 801739C8 00170928 3B 7B 00 2C */ addi r27, r27, 0x2c
/* 801739CC 0017092C 41 80 FD D4 */ blt lbl_801737A0
/* 801739D0 00170930 57 C0 06 3F */ clrlwi. r0, r30, 0x18
/* 801739D4 00170934 40 82 03 50 */ bne lbl_80173D24
/* 801739D8 00170938 38 A0 00 00 */ li r5, 0
/* 801739DC 0017093C 38 7F 00 14 */ addi r3, r31, 0x14
/* 801739E0 00170940 90 BF 00 0C */ stw r5, 0xc(r31)
/* 801739E4 00170944 38 81 00 E8 */ addi r4, r1, 0xe8
/* 801739E8 00170948 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 801739EC 0017094C B0 1F 00 10 */ sth r0, 0x10(r31)
/* 801739F0 00170950 98 A1 01 70 */ stb r5, 0x170(r1)
/* 801739F4 00170954 48 00 03 A5 */ bl sub_80173d98
/* 801739F8 00170958 88 01 01 70 */ lbz r0, 0x170(r1)
/* 801739FC 0017095C 28 00 00 00 */ cmplwi r0, 0
/* 80173A00 00170960 41 82 00 68 */ beq lbl_80173A68
/* 80173A04 00170964 34 61 00 E8 */ addic. r3, r1, 0xe8
/* 80173A08 00170968 41 82 00 60 */ beq lbl_80173A68
/* 80173A0C 0017096C 34 03 00 14 */ addic. r0, r3, 0x14
/* 80173A10 00170970 41 82 00 58 */ beq lbl_80173A68
/* 80173A14 00170974 80 C3 00 14 */ lwz r6, 0x14(r3)
/* 80173A18 00170978 38 80 00 00 */ li r4, 0
/* 80173A1C 0017097C 2C 06 00 00 */ cmpwi r6, 0
/* 80173A20 00170980 40 81 00 40 */ ble lbl_80173A60
/* 80173A24 00170984 2C 06 00 08 */ cmpwi r6, 8
/* 80173A28 00170988 38 A6 FF F8 */ addi r5, r6, -8
/* 80173A2C 0017098C 40 81 00 20 */ ble lbl_80173A4C
/* 80173A30 00170990 38 05 00 07 */ addi r0, r5, 7
/* 80173A34 00170994 54 00 E8 FE */ srwi r0, r0, 3
/* 80173A38 00170998 7C 09 03 A6 */ mtctr r0
/* 80173A3C 0017099C 2C 05 00 00 */ cmpwi r5, 0
/* 80173A40 001709A0 40 81 00 0C */ ble lbl_80173A4C
lbl_80173A44:
/* 80173A44 001709A4 38 84 00 08 */ addi r4, r4, 8
/* 80173A48 001709A8 42 00 FF FC */ bdnz lbl_80173A44
lbl_80173A4C:
/* 80173A4C 001709AC 7C 04 30 50 */ subf r0, r4, r6
/* 80173A50 001709B0 7C 09 03 A6 */ mtctr r0
/* 80173A54 001709B4 7C 04 30 00 */ cmpw r4, r6
/* 80173A58 001709B8 40 80 00 08 */ bge lbl_80173A60
lbl_80173A5C:
/* 80173A5C 001709BC 42 00 00 00 */ bdnz lbl_80173A5C
lbl_80173A60:
/* 80173A60 001709C0 38 00 00 00 */ li r0, 0
/* 80173A64 001709C4 90 03 00 14 */ stw r0, 0x14(r3)
lbl_80173A68:
/* 80173A68 001709C8 38 00 00 00 */ li r0, 0
/* 80173A6C 001709CC 38 61 00 6C */ addi r3, r1, 0x6c
/* 80173A70 001709D0 98 01 01 70 */ stb r0, 0x170(r1)
/* 80173A74 001709D4 38 8D 8E 40 */ addi r4, r13, lbl_805A7A00@sda21
/* 80173A78 001709D8 4B EA 1F 79 */ bl wstring_l__4rstlFPCw
/* 80173A7C 001709DC 80 7F 00 A8 */ lwz r3, 0xa8(r31)
/* 80173A80 001709E0 38 81 00 6C */ addi r4, r1, 0x6c
/* 80173A84 001709E4 38 A0 00 00 */ li r5, 0
/* 80173A88 001709E8 38 63 00 D4 */ addi r3, r3, 0xd4
/* 80173A8C 001709EC 48 15 5D F9 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80173A90 001709F0 38 61 00 6C */ addi r3, r1, 0x6c
/* 80173A94 001709F4 48 1C 96 A1 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80173A98 001709F8 38 61 00 5C */ addi r3, r1, 0x5c
/* 80173A9C 001709FC 38 8D 8E 40 */ addi r4, r13, lbl_805A7A00@sda21
/* 80173AA0 00170A00 4B EA 1F 51 */ bl wstring_l__4rstlFPCw
/* 80173AA4 00170A04 80 7F 00 AC */ lwz r3, 0xac(r31)
/* 80173AA8 00170A08 38 81 00 5C */ addi r4, r1, 0x5c
/* 80173AAC 00170A0C 38 A0 00 00 */ li r5, 0
/* 80173AB0 00170A10 38 63 00 D4 */ addi r3, r3, 0xd4
/* 80173AB4 00170A14 48 15 5D D1 */ bl "SetText__15CGuiTextSupportFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80173AB8 00170A18 38 61 00 5C */ addi r3, r1, 0x5c
/* 80173ABC 00170A1C 48 1C 96 79 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80173AC0 00170A20 80 7F 00 A4 */ lwz r3, 0xa4(r31)
/* 80173AC4 00170A24 38 80 00 00 */ li r4, 0
/* 80173AC8 00170A28 38 A0 00 01 */ li r5, 1
/* 80173ACC 00170A2C 48 15 6C 1D */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
/* 80173AD0 00170A30 80 7F 00 B0 */ lwz r3, 0xb0(r31)
/* 80173AD4 00170A34 38 80 00 00 */ li r4, 0
/* 80173AD8 00170A38 38 A0 00 01 */ li r5, 1
/* 80173ADC 00170A3C 48 15 6C 0D */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
/* 80173AE0 00170A40 80 7F 00 B4 */ lwz r3, 0xb4(r31)
/* 80173AE4 00170A44 38 80 00 00 */ li r4, 0
/* 80173AE8 00170A48 38 A0 00 01 */ li r5, 1
/* 80173AEC 00170A4C 48 15 6B FD */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
/* 80173AF0 00170A50 80 7F 00 B8 */ lwz r3, 0xb8(r31)
/* 80173AF4 00170A54 38 80 00 00 */ li r4, 0
/* 80173AF8 00170A58 38 A0 00 01 */ li r5, 1
/* 80173AFC 00170A5C 48 15 6B ED */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
/* 80173B00 00170A60 38 60 00 00 */ li r3, 0
/* 80173B04 00170A64 34 C1 00 C8 */ addic. r6, r1, 0xc8
/* 80173B08 00170A68 90 7F 00 A8 */ stw r3, 0xa8(r31)
/* 80173B0C 00170A6C 38 00 00 04 */ li r0, 4
/* 80173B10 00170A70 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 80173B14 00170A74 90 7F 00 AC */ stw r3, 0xac(r31)
/* 80173B18 00170A78 90 7F 00 A4 */ stw r3, 0xa4(r31)
/* 80173B1C 00170A7C 90 7F 00 B0 */ stw r3, 0xb0(r31)
/* 80173B20 00170A80 90 7F 00 B4 */ stw r3, 0xb4(r31)
/* 80173B24 00170A84 90 7F 00 B8 */ stw r3, 0xb8(r31)
/* 80173B28 00170A88 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 80173B2C 00170A8C 41 82 00 0C */ beq lbl_80173B38
/* 80173B30 00170A90 D0 01 00 C8 */ stfs f0, 0xc8(r1)
/* 80173B34 00170A94 90 61 00 CC */ stw r3, 0xcc(r1)
lbl_80173B38:
/* 80173B38 00170A98 34 86 00 08 */ addic. r4, r6, 8
/* 80173B3C 00170A9C 41 82 00 0C */ beq lbl_80173B48
/* 80173B40 00170AA0 D0 04 00 00 */ stfs f0, 0(r4)
/* 80173B44 00170AA4 90 64 00 04 */ stw r3, 4(r4)
lbl_80173B48:
/* 80173B48 00170AA8 34 84 00 08 */ addic. r4, r4, 8
/* 80173B4C 00170AAC 41 82 00 0C */ beq lbl_80173B58
/* 80173B50 00170AB0 D0 04 00 00 */ stfs f0, 0(r4)
/* 80173B54 00170AB4 90 64 00 04 */ stw r3, 4(r4)
lbl_80173B58:
/* 80173B58 00170AB8 34 84 00 08 */ addic. r4, r4, 8
/* 80173B5C 00170ABC 41 82 00 0C */ beq lbl_80173B68
/* 80173B60 00170AC0 D0 04 00 00 */ stfs f0, 0(r4)
/* 80173B64 00170AC4 90 64 00 04 */ stw r3, 4(r4)
lbl_80173B68:
/* 80173B68 00170AC8 38 7F 01 70 */ addi r3, r31, 0x170
/* 80173B6C 00170ACC 38 01 00 C4 */ addi r0, r1, 0xc4
/* 80173B70 00170AD0 7C 03 00 40 */ cmplw r3, r0
/* 80173B74 00170AD4 41 82 00 98 */ beq lbl_80173C0C
/* 80173B78 00170AD8 80 BF 01 70 */ lwz r5, 0x170(r31)
/* 80173B7C 00170ADC 38 60 00 00 */ li r3, 0
/* 80173B80 00170AE0 2C 05 00 00 */ cmpwi r5, 0
/* 80173B84 00170AE4 40 81 00 40 */ ble lbl_80173BC4
/* 80173B88 00170AE8 2C 05 00 08 */ cmpwi r5, 8
/* 80173B8C 00170AEC 38 85 FF F8 */ addi r4, r5, -8
/* 80173B90 00170AF0 40 81 00 20 */ ble lbl_80173BB0
/* 80173B94 00170AF4 38 04 00 07 */ addi r0, r4, 7
/* 80173B98 00170AF8 54 00 E8 FE */ srwi r0, r0, 3
/* 80173B9C 00170AFC 7C 09 03 A6 */ mtctr r0
/* 80173BA0 00170B00 2C 04 00 00 */ cmpwi r4, 0
/* 80173BA4 00170B04 40 81 00 0C */ ble lbl_80173BB0
lbl_80173BA8:
/* 80173BA8 00170B08 38 63 00 08 */ addi r3, r3, 8
/* 80173BAC 00170B0C 42 00 FF FC */ bdnz lbl_80173BA8
lbl_80173BB0:
/* 80173BB0 00170B10 7C 03 28 50 */ subf r0, r3, r5
/* 80173BB4 00170B14 7C 09 03 A6 */ mtctr r0
/* 80173BB8 00170B18 7C 03 28 00 */ cmpw r3, r5
/* 80173BBC 00170B1C 40 80 00 08 */ bge lbl_80173BC4
lbl_80173BC0:
/* 80173BC0 00170B20 42 00 00 00 */ bdnz lbl_80173BC0
lbl_80173BC4:
/* 80173BC4 00170B24 38 00 00 00 */ li r0, 0
/* 80173BC8 00170B28 90 1F 01 70 */ stw r0, 0x170(r31)
/* 80173BCC 00170B2C 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 80173BD0 00170B30 54 00 18 38 */ slwi r0, r0, 3
/* 80173BD4 00170B34 7C 66 02 14 */ add r3, r6, r0
/* 80173BD8 00170B38 48 00 00 24 */ b lbl_80173BFC
lbl_80173BDC:
/* 80173BDC 00170B3C 28 1A 00 00 */ cmplwi r26, 0
/* 80173BE0 00170B40 41 82 00 14 */ beq lbl_80173BF4
/* 80173BE4 00170B44 C0 06 00 00 */ lfs f0, 0(r6)
/* 80173BE8 00170B48 D0 1A 00 00 */ stfs f0, 0(r26)
/* 80173BEC 00170B4C 80 06 00 04 */ lwz r0, 4(r6)
/* 80173BF0 00170B50 90 1A 00 04 */ stw r0, 4(r26)
lbl_80173BF4:
/* 80173BF4 00170B54 3B 5A 00 08 */ addi r26, r26, 8
/* 80173BF8 00170B58 38 C6 00 08 */ addi r6, r6, 8
lbl_80173BFC:
/* 80173BFC 00170B5C 7C 06 18 40 */ cmplw r6, r3
/* 80173C00 00170B60 40 82 FF DC */ bne lbl_80173BDC
/* 80173C04 00170B64 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 80173C08 00170B68 90 1F 01 70 */ stw r0, 0x170(r31)
lbl_80173C0C:
/* 80173C0C 00170B6C 80 A1 00 C4 */ lwz r5, 0xc4(r1)
/* 80173C10 00170B70 38 60 00 00 */ li r3, 0
/* 80173C14 00170B74 2C 05 00 00 */ cmpwi r5, 0
/* 80173C18 00170B78 40 81 00 40 */ ble lbl_80173C58
/* 80173C1C 00170B7C 2C 05 00 08 */ cmpwi r5, 8
/* 80173C20 00170B80 38 85 FF F8 */ addi r4, r5, -8
/* 80173C24 00170B84 40 81 00 20 */ ble lbl_80173C44
/* 80173C28 00170B88 38 04 00 07 */ addi r0, r4, 7
/* 80173C2C 00170B8C 54 00 E8 FE */ srwi r0, r0, 3
/* 80173C30 00170B90 7C 09 03 A6 */ mtctr r0
/* 80173C34 00170B94 2C 04 00 00 */ cmpwi r4, 0
/* 80173C38 00170B98 40 81 00 0C */ ble lbl_80173C44
lbl_80173C3C:
/* 80173C3C 00170B9C 38 63 00 08 */ addi r3, r3, 8
/* 80173C40 00170BA0 42 00 FF FC */ bdnz lbl_80173C3C
lbl_80173C44:
/* 80173C44 00170BA4 7C 03 28 50 */ subf r0, r3, r5
/* 80173C48 00170BA8 7C 09 03 A6 */ mtctr r0
/* 80173C4C 00170BAC 7C 03 28 00 */ cmpw r3, r5
/* 80173C50 00170BB0 40 80 00 08 */ bge lbl_80173C58
lbl_80173C54:
/* 80173C54 00170BB4 42 00 00 00 */ bdnz lbl_80173C54
lbl_80173C58:
/* 80173C58 00170BB8 3B 1F 01 94 */ addi r24, r31, 0x194
/* 80173C5C 00170BBC 38 81 00 4C */ addi r4, r1, 0x4c
/* 80173C60 00170BC0 38 00 00 00 */ li r0, 0
/* 80173C64 00170BC4 7C 18 20 40 */ cmplw r24, r4
/* 80173C68 00170BC8 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 80173C6C 00170BCC 98 01 00 58 */ stb r0, 0x58(r1)
/* 80173C70 00170BD0 41 82 00 7C */ beq lbl_80173CEC
/* 80173C74 00170BD4 28 00 00 00 */ cmplwi r0, 0
/* 80173C78 00170BD8 41 82 00 48 */ beq lbl_80173CC0
/* 80173C7C 00170BDC 88 1F 01 A0 */ lbz r0, 0x1a0(r31)
/* 80173C80 00170BE0 28 00 00 00 */ cmplwi r0, 0
/* 80173C84 00170BE4 40 82 00 28 */ bne lbl_80173CAC
/* 80173C88 00170BE8 36 FF 01 94 */ addic. r23, r31, 0x194
/* 80173C8C 00170BEC 41 82 00 14 */ beq lbl_80173CA0
/* 80173C90 00170BF0 7E E3 BB 78 */ mr r3, r23
/* 80173C94 00170BF4 48 1C D2 15 */ bl __ct__6CTokenFRC6CToken
/* 80173C98 00170BF8 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80173C9C 00170BFC 90 17 00 08 */ stw r0, 8(r23)
lbl_80173CA0:
/* 80173CA0 00170C00 38 00 00 01 */ li r0, 1
/* 80173CA4 00170C04 98 1F 01 A0 */ stb r0, 0x1a0(r31)
/* 80173CA8 00170C08 48 00 00 44 */ b lbl_80173CEC
lbl_80173CAC:
/* 80173CAC 00170C0C 7F 03 C3 78 */ mr r3, r24
/* 80173CB0 00170C10 48 1C D0 15 */ bl __as__6CTokenFRC6CToken
/* 80173CB4 00170C14 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80173CB8 00170C18 90 18 00 08 */ stw r0, 8(r24)
/* 80173CBC 00170C1C 48 00 00 30 */ b lbl_80173CEC
lbl_80173CC0:
/* 80173CC0 00170C20 88 1F 01 A0 */ lbz r0, 0x1a0(r31)
/* 80173CC4 00170C24 28 00 00 00 */ cmplwi r0, 0
/* 80173CC8 00170C28 41 82 00 1C */ beq lbl_80173CE4
/* 80173CCC 00170C2C 34 7F 01 94 */ addic. r3, r31, 0x194
/* 80173CD0 00170C30 41 82 00 14 */ beq lbl_80173CE4
/* 80173CD4 00170C34 28 03 00 00 */ cmplwi r3, 0
/* 80173CD8 00170C38 41 82 00 0C */ beq lbl_80173CE4
/* 80173CDC 00170C3C 38 80 00 00 */ li r4, 0
/* 80173CE0 00170C40 48 1C D1 61 */ bl __dt__6CTokenFv
lbl_80173CE4:
/* 80173CE4 00170C44 38 00 00 00 */ li r0, 0
/* 80173CE8 00170C48 98 1F 01 A0 */ stb r0, 0x1a0(r31)
lbl_80173CEC:
/* 80173CEC 00170C4C 88 01 00 58 */ lbz r0, 0x58(r1)
/* 80173CF0 00170C50 28 00 00 00 */ cmplwi r0, 0
/* 80173CF4 00170C54 41 82 00 1C */ beq lbl_80173D10
/* 80173CF8 00170C58 34 61 00 4C */ addic. r3, r1, 0x4c
/* 80173CFC 00170C5C 41 82 00 14 */ beq lbl_80173D10
/* 80173D00 00170C60 28 03 00 00 */ cmplwi r3, 0
/* 80173D04 00170C64 41 82 00 0C */ beq lbl_80173D10
/* 80173D08 00170C68 38 80 00 00 */ li r4, 0
/* 80173D0C 00170C6C 48 1C D1 35 */ bl __dt__6CTokenFv
lbl_80173D10:
/* 80173D10 00170C70 38 00 00 00 */ li r0, 0
/* 80173D14 00170C74 98 01 00 58 */ stb r0, 0x58(r1)
/* 80173D18 00170C78 90 1F 01 AC */ stw r0, 0x1ac(r31)
/* 80173D1C 00170C7C 98 1F 01 B4 */ stb r0, 0x1b4(r31)
/* 80173D20 00170C80 48 00 00 34 */ b lbl_80173D54
lbl_80173D24:
/* 80173D24 00170C84 C3 7F 01 A8 */ lfs f27, 0x1a8(r31)
/* 80173D28 00170C88 48 1D 62 85 */ bl White__6CColorFv
/* 80173D2C 00170C8C C0 02 A1 24 */ lfs f0, lbl_805ABE44@sda21(r2)
/* 80173D30 00170C90 EF C0 06 F2 */ fmuls f30, f0, f27
/* 80173D34 00170C94 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2
/* 80173D38 00170C98 38 81 00 38 */ addi r4, r1, 0x38
/* 80173D3C 00170C9C 80 63 00 00 */ lwz r3, 0(r3)
/* 80173D40 00170CA0 88 01 00 08 */ lbz r0, 8(r1)
/* 80173D44 00170CA4 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17
/* 80173D48 00170CA8 90 01 00 38 */ stw r0, 0x38(r1)
/* 80173D4C 00170CAC 80 7F 00 A4 */ lwz r3, 0xa4(r31)
/* 80173D50 00170CB0 48 15 6B 1D */ bl SetColor__10CGuiWidgetFRC6CColor
lbl_80173D54:
/* 80173D54 00170CB4 E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0
/* 80173D58 00170CB8 CB E1 02 00 */ lfd f31, 0x200(r1)
/* 80173D5C 00170CBC E3 C1 01 F8 */ psq_l f30, 504(r1), 0, qr0
/* 80173D60 00170CC0 CB C1 01 F0 */ lfd f30, 0x1f0(r1)
/* 80173D64 00170CC4 E3 A1 01 E8 */ psq_l f29, 488(r1), 0, qr0
/* 80173D68 00170CC8 CB A1 01 E0 */ lfd f29, 0x1e0(r1)
/* 80173D6C 00170CCC E3 81 01 D8 */ psq_l f28, 472(r1), 0, qr0
/* 80173D70 00170CD0 CB 81 01 D0 */ lfd f28, 0x1d0(r1)
/* 80173D74 00170CD4 E3 61 01 C8 */ psq_l f27, 456(r1), 0, qr0
/* 80173D78 00170CD8 CB 61 01 C0 */ lfd f27, 0x1c0(r1)
/* 80173D7C 00170CDC E3 41 01 B8 */ psq_l f26, 440(r1), 0, qr0
/* 80173D80 00170CE0 CB 41 01 B0 */ lfd f26, 0x1b0(r1)
/* 80173D84 00170CE4 BA E1 01 8C */ lmw r23, 0x18c(r1)
/* 80173D88 00170CE8 80 01 02 14 */ lwz r0, 0x214(r1)
/* 80173D8C 00170CEC 7C 08 03 A6 */ mtlr r0
/* 80173D90 00170CF0 38 21 02 10 */ addi r1, r1, 0x210
/* 80173D94 00170CF4 4E 80 00 20 */ blr
.global sub_80173d98
sub_80173d98:
/* 80173D98 00170CF8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80173D9C 00170CFC 7C 08 02 A6 */ mflr r0
/* 80173DA0 00170D00 90 01 00 14 */ stw r0, 0x14(r1)
/* 80173DA4 00170D04 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80173DA8 00170D08 7C 7F 1B 78 */ mr r31, r3
/* 80173DAC 00170D0C 7C 1F 20 40 */ cmplw r31, r4
/* 80173DB0 00170D10 40 82 00 08 */ bne lbl_80173DB8
/* 80173DB4 00170D14 48 00 00 94 */ b lbl_80173E48
lbl_80173DB8:
/* 80173DB8 00170D18 88 04 00 88 */ lbz r0, 0x88(r4)
/* 80173DBC 00170D1C 28 00 00 00 */ cmplwi r0, 0
/* 80173DC0 00170D20 41 82 00 0C */ beq lbl_80173DCC
/* 80173DC4 00170D24 48 00 00 99 */ bl sub_80173e5c
/* 80173DC8 00170D28 48 00 00 7C */ b lbl_80173E44
lbl_80173DCC:
/* 80173DCC 00170D2C 88 1F 00 88 */ lbz r0, 0x88(r31)
/* 80173DD0 00170D30 28 00 00 00 */ cmplwi r0, 0
/* 80173DD4 00170D34 41 82 00 68 */ beq lbl_80173E3C
/* 80173DD8 00170D38 28 1F 00 00 */ cmplwi r31, 0
/* 80173DDC 00170D3C 41 82 00 60 */ beq lbl_80173E3C
/* 80173DE0 00170D40 34 1F 00 14 */ addic. r0, r31, 0x14
/* 80173DE4 00170D44 41 82 00 58 */ beq lbl_80173E3C
/* 80173DE8 00170D48 80 BF 00 14 */ lwz r5, 0x14(r31)
/* 80173DEC 00170D4C 38 60 00 00 */ li r3, 0
/* 80173DF0 00170D50 2C 05 00 00 */ cmpwi r5, 0
/* 80173DF4 00170D54 40 81 00 40 */ ble lbl_80173E34
/* 80173DF8 00170D58 2C 05 00 08 */ cmpwi r5, 8
/* 80173DFC 00170D5C 38 85 FF F8 */ addi r4, r5, -8
/* 80173E00 00170D60 40 81 00 20 */ ble lbl_80173E20
/* 80173E04 00170D64 38 04 00 07 */ addi r0, r4, 7
/* 80173E08 00170D68 54 00 E8 FE */ srwi r0, r0, 3
/* 80173E0C 00170D6C 7C 09 03 A6 */ mtctr r0
/* 80173E10 00170D70 2C 04 00 00 */ cmpwi r4, 0
/* 80173E14 00170D74 40 81 00 0C */ ble lbl_80173E20
lbl_80173E18:
/* 80173E18 00170D78 38 63 00 08 */ addi r3, r3, 8
/* 80173E1C 00170D7C 42 00 FF FC */ bdnz lbl_80173E18
lbl_80173E20:
/* 80173E20 00170D80 7C 03 28 50 */ subf r0, r3, r5
/* 80173E24 00170D84 7C 09 03 A6 */ mtctr r0
/* 80173E28 00170D88 7C 03 28 00 */ cmpw r3, r5
/* 80173E2C 00170D8C 40 80 00 08 */ bge lbl_80173E34
lbl_80173E30:
/* 80173E30 00170D90 42 00 00 00 */ bdnz lbl_80173E30
lbl_80173E34:
/* 80173E34 00170D94 38 00 00 00 */ li r0, 0
/* 80173E38 00170D98 90 1F 00 14 */ stw r0, 0x14(r31)
lbl_80173E3C:
/* 80173E3C 00170D9C 38 00 00 00 */ li r0, 0
/* 80173E40 00170DA0 98 1F 00 88 */ stb r0, 0x88(r31)
lbl_80173E44:
/* 80173E44 00170DA4 7F E3 FB 78 */ mr r3, r31
lbl_80173E48:
/* 80173E48 00170DA8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80173E4C 00170DAC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80173E50 00170DB0 7C 08 03 A6 */ mtlr r0
/* 80173E54 00170DB4 38 21 00 10 */ addi r1, r1, 0x10
/* 80173E58 00170DB8 4E 80 00 20 */ blr
.global sub_80173e5c
sub_80173e5c:
/* 80173E5C 00170DBC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80173E60 00170DC0 7C 08 02 A6 */ mflr r0
/* 80173E64 00170DC4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80173E68 00170DC8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80173E6C 00170DCC 7C 7F 1B 78 */ mr r31, r3
/* 80173E70 00170DD0 88 03 00 88 */ lbz r0, 0x88(r3)
/* 80173E74 00170DD4 28 00 00 00 */ cmplwi r0, 0
/* 80173E78 00170DD8 40 82 00 14 */ bne lbl_80173E8C
/* 80173E7C 00170DDC 48 00 01 61 */ bl sub_80173fdc
/* 80173E80 00170DE0 38 00 00 01 */ li r0, 1
/* 80173E84 00170DE4 98 1F 00 88 */ stb r0, 0x88(r31)
/* 80173E88 00170DE8 48 00 00 08 */ b lbl_80173E90
lbl_80173E8C:
/* 80173E8C 00170DEC 48 00 00 19 */ bl sub_80173ea4
lbl_80173E90:
/* 80173E90 00170DF0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80173E94 00170DF4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80173E98 00170DF8 7C 08 03 A6 */ mtlr r0
/* 80173E9C 00170DFC 38 21 00 10 */ addi r1, r1, 0x10
/* 80173EA0 00170E00 4E 80 00 20 */ blr
.global sub_80173ea4
sub_80173ea4:
/* 80173EA4 00170E04 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80173EA8 00170E08 7C 08 02 A6 */ mflr r0
/* 80173EAC 00170E0C 7C 85 23 78 */ mr r5, r4
/* 80173EB0 00170E10 90 01 00 14 */ stw r0, 0x14(r1)
/* 80173EB4 00170E14 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80173EB8 00170E18 7C 7F 1B 78 */ mr r31, r3
/* 80173EBC 00170E1C 38 7F 00 14 */ addi r3, r31, 0x14
/* 80173EC0 00170E20 80 04 00 00 */ lwz r0, 0(r4)
/* 80173EC4 00170E24 38 85 00 14 */ addi r4, r5, 0x14
/* 80173EC8 00170E28 90 1F 00 00 */ stw r0, 0(r31)
/* 80173ECC 00170E2C 80 05 00 04 */ lwz r0, 4(r5)
/* 80173ED0 00170E30 90 1F 00 04 */ stw r0, 4(r31)
/* 80173ED4 00170E34 C0 05 00 08 */ lfs f0, 8(r5)
/* 80173ED8 00170E38 D0 1F 00 08 */ stfs f0, 8(r31)
/* 80173EDC 00170E3C 80 05 00 0C */ lwz r0, 0xc(r5)
/* 80173EE0 00170E40 90 1F 00 0C */ stw r0, 0xc(r31)
/* 80173EE4 00170E44 88 05 00 10 */ lbz r0, 0x10(r5)
/* 80173EE8 00170E48 98 1F 00 10 */ stb r0, 0x10(r31)
/* 80173EEC 00170E4C 48 00 00 1D */ bl sub_80173f08
/* 80173EF0 00170E50 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80173EF4 00170E54 7F E3 FB 78 */ mr r3, r31
/* 80173EF8 00170E58 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80173EFC 00170E5C 7C 08 03 A6 */ mtlr r0
/* 80173F00 00170E60 38 21 00 10 */ addi r1, r1, 0x10
/* 80173F04 00170E64 4E 80 00 20 */ blr
.global sub_80173f08
sub_80173f08:
/* 80173F08 00170E68 7C 03 20 40 */ cmplw r3, r4
/* 80173F0C 00170E6C 4D 82 00 20 */ beqlr
/* 80173F10 00170E70 80 E3 00 00 */ lwz r7, 0(r3)
/* 80173F14 00170E74 38 A0 00 00 */ li r5, 0
/* 80173F18 00170E78 2C 07 00 00 */ cmpwi r7, 0
/* 80173F1C 00170E7C 40 81 00 40 */ ble lbl_80173F5C
/* 80173F20 00170E80 2C 07 00 08 */ cmpwi r7, 8
/* 80173F24 00170E84 38 C7 FF F8 */ addi r6, r7, -8
/* 80173F28 00170E88 40 81 00 20 */ ble lbl_80173F48
/* 80173F2C 00170E8C 38 06 00 07 */ addi r0, r6, 7
/* 80173F30 00170E90 54 00 E8 FE */ srwi r0, r0, 3
/* 80173F34 00170E94 7C 09 03 A6 */ mtctr r0
/* 80173F38 00170E98 2C 06 00 00 */ cmpwi r6, 0
/* 80173F3C 00170E9C 40 81 00 0C */ ble lbl_80173F48
lbl_80173F40:
/* 80173F40 00170EA0 38 A5 00 08 */ addi r5, r5, 8
/* 80173F44 00170EA4 42 00 FF FC */ bdnz lbl_80173F40
lbl_80173F48:
/* 80173F48 00170EA8 7C 05 38 50 */ subf r0, r5, r7
/* 80173F4C 00170EAC 7C 09 03 A6 */ mtctr r0
/* 80173F50 00170EB0 7C 05 38 00 */ cmpw r5, r7
/* 80173F54 00170EB4 40 80 00 08 */ bge lbl_80173F5C
lbl_80173F58:
/* 80173F58 00170EB8 42 00 00 00 */ bdnz lbl_80173F58
lbl_80173F5C:
/* 80173F5C 00170EBC 38 00 00 00 */ li r0, 0
/* 80173F60 00170EC0 38 C3 00 04 */ addi r6, r3, 4
/* 80173F64 00170EC4 90 03 00 00 */ stw r0, 0(r3)
/* 80173F68 00170EC8 38 A4 00 04 */ addi r5, r4, 4
/* 80173F6C 00170ECC 80 04 00 00 */ lwz r0, 0(r4)
/* 80173F70 00170ED0 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 80173F74 00170ED4 7C E4 02 14 */ add r7, r4, r0
/* 80173F78 00170ED8 38 E7 00 04 */ addi r7, r7, 4
/* 80173F7C 00170EDC 48 00 00 4C */ b lbl_80173FC8
lbl_80173F80:
/* 80173F80 00170EE0 28 06 00 00 */ cmplwi r6, 0
/* 80173F84 00170EE4 41 82 00 3C */ beq lbl_80173FC0
/* 80173F88 00170EE8 80 05 00 00 */ lwz r0, 0(r5)
/* 80173F8C 00170EEC 90 06 00 00 */ stw r0, 0(r6)
/* 80173F90 00170EF0 C0 05 00 04 */ lfs f0, 4(r5)
/* 80173F94 00170EF4 D0 06 00 04 */ stfs f0, 4(r6)
/* 80173F98 00170EF8 80 05 00 08 */ lwz r0, 8(r5)
/* 80173F9C 00170EFC 90 06 00 08 */ stw r0, 8(r6)
/* 80173FA0 00170F00 80 05 00 0C */ lwz r0, 0xc(r5)
/* 80173FA4 00170F04 90 06 00 0C */ stw r0, 0xc(r6)
/* 80173FA8 00170F08 80 05 00 10 */ lwz r0, 0x10(r5)
/* 80173FAC 00170F0C 90 06 00 10 */ stw r0, 0x10(r6)
/* 80173FB0 00170F10 C0 05 00 14 */ lfs f0, 0x14(r5)
/* 80173FB4 00170F14 D0 06 00 14 */ stfs f0, 0x14(r6)
/* 80173FB8 00170F18 C0 05 00 18 */ lfs f0, 0x18(r5)
/* 80173FBC 00170F1C D0 06 00 18 */ stfs f0, 0x18(r6)
lbl_80173FC0:
/* 80173FC0 00170F20 38 C6 00 1C */ addi r6, r6, 0x1c
/* 80173FC4 00170F24 38 A5 00 1C */ addi r5, r5, 0x1c
lbl_80173FC8:
/* 80173FC8 00170F28 7C 05 38 40 */ cmplw r5, r7
/* 80173FCC 00170F2C 40 82 FF B4 */ bne lbl_80173F80
/* 80173FD0 00170F30 80 04 00 00 */ lwz r0, 0(r4)
/* 80173FD4 00170F34 90 03 00 00 */ stw r0, 0(r3)
/* 80173FD8 00170F38 4E 80 00 20 */ blr
.global sub_80173fdc
sub_80173fdc:
/* 80173FDC 00170F3C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80173FE0 00170F40 7C 08 02 A6 */ mflr r0
/* 80173FE4 00170F44 28 03 00 00 */ cmplwi r3, 0
/* 80173FE8 00170F48 90 01 00 14 */ stw r0, 0x14(r1)
/* 80173FEC 00170F4C 41 82 00 08 */ beq lbl_80173FF4
/* 80173FF0 00170F50 48 00 00 15 */ bl sub_80174004
lbl_80173FF4:
/* 80173FF4 00170F54 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80173FF8 00170F58 7C 08 03 A6 */ mtlr r0
/* 80173FFC 00170F5C 38 21 00 10 */ addi r1, r1, 0x10
/* 80174000 00170F60 4E 80 00 20 */ blr
.global sub_80174004
sub_80174004:
/* 80174004 00170F64 80 04 00 00 */ lwz r0, 0(r4)
/* 80174008 00170F68 38 C4 00 18 */ addi r6, r4, 0x18
/* 8017400C 00170F6C 38 A3 00 18 */ addi r5, r3, 0x18
/* 80174010 00170F70 90 03 00 00 */ stw r0, 0(r3)
/* 80174014 00170F74 80 04 00 04 */ lwz r0, 4(r4)
/* 80174018 00170F78 90 03 00 04 */ stw r0, 4(r3)
/* 8017401C 00170F7C C0 04 00 08 */ lfs f0, 8(r4)
/* 80174020 00170F80 D0 03 00 08 */ stfs f0, 8(r3)
/* 80174024 00170F84 80 04 00 0C */ lwz r0, 0xc(r4)
/* 80174028 00170F88 90 03 00 0C */ stw r0, 0xc(r3)
/* 8017402C 00170F8C 88 04 00 10 */ lbz r0, 0x10(r4)
/* 80174030 00170F90 98 03 00 10 */ stb r0, 0x10(r3)
/* 80174034 00170F94 80 04 00 14 */ lwz r0, 0x14(r4)
/* 80174038 00170F98 90 03 00 14 */ stw r0, 0x14(r3)
/* 8017403C 00170F9C 80 03 00 14 */ lwz r0, 0x14(r3)
/* 80174040 00170FA0 7C 09 03 A6 */ mtctr r0
/* 80174044 00170FA4 2C 00 00 00 */ cmpwi r0, 0
/* 80174048 00170FA8 4C 81 00 20 */ blelr
lbl_8017404C:
/* 8017404C 00170FAC 28 05 00 00 */ cmplwi r5, 0
/* 80174050 00170FB0 41 82 00 3C */ beq lbl_8017408C
/* 80174054 00170FB4 80 06 00 00 */ lwz r0, 0(r6)
/* 80174058 00170FB8 90 05 00 00 */ stw r0, 0(r5)
/* 8017405C 00170FBC C0 06 00 04 */ lfs f0, 4(r6)
/* 80174060 00170FC0 D0 05 00 04 */ stfs f0, 4(r5)
/* 80174064 00170FC4 80 06 00 08 */ lwz r0, 8(r6)
/* 80174068 00170FC8 90 05 00 08 */ stw r0, 8(r5)
/* 8017406C 00170FCC 80 06 00 0C */ lwz r0, 0xc(r6)
/* 80174070 00170FD0 90 05 00 0C */ stw r0, 0xc(r5)
/* 80174074 00170FD4 80 06 00 10 */ lwz r0, 0x10(r6)
/* 80174078 00170FD8 90 05 00 10 */ stw r0, 0x10(r5)
/* 8017407C 00170FDC C0 06 00 14 */ lfs f0, 0x14(r6)
/* 80174080 00170FE0 D0 05 00 14 */ stfs f0, 0x14(r5)
/* 80174084 00170FE4 C0 06 00 18 */ lfs f0, 0x18(r6)
/* 80174088 00170FE8 D0 05 00 18 */ stfs f0, 0x18(r5)
lbl_8017408C:
/* 8017408C 00170FEC 38 A5 00 1C */ addi r5, r5, 0x1c
/* 80174090 00170FF0 38 C6 00 1C */ addi r6, r6, 0x1c
/* 80174094 00170FF4 42 00 FF B8 */ bdnz lbl_8017404C
.global sub_80174098
sub_80174098:
/* 80174098 00170FF8 4E 80 00 20 */ blr
.global StopScan__12CScanDisplayFv
StopScan__12CScanDisplayFv:
/* 8017409C 00170FFC 80 03 00 0C */ lwz r0, 0xc(r3)
/* 801740A0 00171000 2C 00 00 04 */ cmpwi r0, 4
/* 801740A4 00171004 4D 82 00 20 */ beqlr
/* 801740A8 00171008 4C 80 00 20 */ bgelr
/* 801740AC 0017100C 2C 00 00 00 */ cmpwi r0, 0
/* 801740B0 00171010 4D 82 00 20 */ beqlr
/* 801740B4 00171014 40 80 00 0C */ bge lbl_801740C0
.global sub_801740b8
sub_801740b8:
/* 801740B8 00171018 4E 80 00 20 */ blr
.global sub_801740bc
sub_801740bc:
/* 801740BC 0017101C 4E 80 00 20 */ blr
lbl_801740C0:
/* 801740C0 00171020 38 00 00 04 */ li r0, 4
/* 801740C4 00171024 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 801740C8 00171028 90 03 00 0C */ stw r0, 0xc(r3)
/* 801740CC 0017102C D0 03 00 E8 */ stfs f0, 0xe8(r3)
/* 801740D0 00171030 D0 03 01 14 */ stfs f0, 0x114(r3)
/* 801740D4 00171034 D0 03 01 40 */ stfs f0, 0x140(r3)
/* 801740D8 00171038 D0 03 01 6C */ stfs f0, 0x16c(r3)
/* 801740DC 0017103C 4E 80 00 20 */ blr
.global StartScan__12CScanDisplayF9TUniqueIdRC20CScannableObjectInfoP12CGuiTextPaneP10CGuiWidgetf
StartScan__12CScanDisplayF9TUniqueIdRC20CScannableObjectInfoP12CGuiTextPaneP10CGuiWidgetf:
/* 801740E0 00171040 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 801740E4 00171044 7C 08 02 A6 */ mflr r0
/* 801740E8 00171048 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 801740EC 0017104C DB E1 00 A0 */ stfd f31, 0xa0(r1)
/* 801740F0 00171050 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0
/* 801740F4 00171054 DB C1 00 90 */ stfd f30, 0x90(r1)
/* 801740F8 00171058 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0
/* 801740FC 0017105C DB A1 00 80 */ stfd f29, 0x80(r1)
/* 80174100 00171060 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0
/* 80174104 00171064 BF 21 00 64 */ stmw r25, 0x64(r1)
/* 80174108 00171068 FF A0 08 90 */ fmr f29, f1
/* 8017410C 0017106C C0 05 00 08 */ lfs f0, 8(r5)
/* 80174110 00171070 7C 7E 1B 78 */ mr r30, r3
/* 80174114 00171074 7C D9 33 78 */ mr r25, r6
/* 80174118 00171078 7C FF 3B 78 */ mr r31, r7
/* 8017411C 0017107C 7D 1D 43 78 */ mr r29, r8
/* 80174120 00171080 FC 1D 00 40 */ fcmpo cr0, f29, f0
/* 80174124 00171084 7D 3C 4B 78 */ mr r28, r9
/* 80174128 00171088 7D 5B 53 78 */ mr r27, r10
/* 8017412C 0017108C 83 41 00 B8 */ lwz r26, 0xb8(r1)
/* 80174130 00171090 4C 41 13 82 */ cror 2, 1, 2
/* 80174134 00171094 7C 00 00 26 */ mfcr r0
/* 80174138 00171098 38 7E 00 14 */ addi r3, r30, 0x14
/* 8017413C 0017109C 54 00 1F FE */ rlwinm r0, r0, 3, 0x1f, 0x1f
/* 80174140 001710A0 98 1E 01 B4 */ stb r0, 0x1b4(r30)
/* 80174144 001710A4 A0 04 00 00 */ lhz r0, 0(r4)
/* 80174148 001710A8 7C A4 2B 78 */ mr r4, r5
/* 8017414C 001710AC B0 1E 00 10 */ sth r0, 0x10(r30)
/* 80174150 001710B0 48 00 03 C5 */ bl sub_80174514
/* 80174154 001710B4 38 60 00 01 */ li r3, 1
/* 80174158 001710B8 38 00 00 00 */ li r0, 0
/* 8017415C 001710BC 90 7E 00 0C */ stw r3, 0xc(r30)
/* 80174160 001710C0 38 80 00 01 */ li r4, 1
/* 80174164 001710C4 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 80174168 001710C8 38 A0 00 01 */ li r5, 1
/* 8017416C 001710CC 90 1E 01 AC */ stw r0, 0x1ac(r30)
/* 80174170 001710D0 D0 1E 01 A4 */ stfs f0, 0x1a4(r30)
/* 80174174 001710D4 93 3E 00 A8 */ stw r25, 0xa8(r30)
/* 80174178 001710D8 93 FE 00 AC */ stw r31, 0xac(r30)
/* 8017417C 001710DC 93 BE 00 A4 */ stw r29, 0xa4(r30)
/* 80174180 001710E0 93 9E 00 B0 */ stw r28, 0xb0(r30)
/* 80174184 001710E4 93 7E 00 B4 */ stw r27, 0xb4(r30)
/* 80174188 001710E8 93 5E 00 B8 */ stw r26, 0xb8(r30)
/* 8017418C 001710EC 80 7E 00 A4 */ lwz r3, 0xa4(r30)
/* 80174190 001710F0 48 15 65 59 */ bl SetVisibility__10CGuiWidgetFb14ETraversalMode
/* 80174194 001710F4 48 1D 5E 19 */ bl White__6CColorFv
/* 80174198 001710F8 C3 E2 A1 10 */ lfs f31, lbl_805ABE30@sda21(r2)
/* 8017419C 001710FC F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2
/* 801741A0 00171100 38 81 00 14 */ addi r4, r1, 0x14
/* 801741A4 00171104 80 63 00 00 */ lwz r3, 0(r3)
/* 801741A8 00171108 88 01 00 09 */ lbz r0, 9(r1)
/* 801741AC 0017110C 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17
/* 801741B0 00171110 90 01 00 14 */ stw r0, 0x14(r1)
/* 801741B4 00171114 80 7E 00 A4 */ lwz r3, 0xa4(r30)
/* 801741B8 00171118 48 15 66 B5 */ bl SetColor__10CGuiWidgetFRC6CColor
/* 801741BC 0017111C 3B 80 00 00 */ li r28, 0
/* 801741C0 00171120 3B FE 01 74 */ addi r31, r30, 0x174
lbl_801741C4:
/* 801741C4 00171124 7F 83 E3 78 */ mr r3, r28
/* 801741C8 00171128 4B FF 5D A9 */ bl GetImagePaneName__16CPauseScreenBaseFUi
/* 801741CC 0017112C 7C 64 1B 78 */ mr r4, r3
/* 801741D0 00171130 38 61 00 3C */ addi r3, r1, 0x3c
/* 801741D4 00171134 38 C1 00 0C */ addi r6, r1, 0xc
/* 801741D8 00171138 38 A0 FF FF */ li r5, -1
/* 801741DC 0017113C 48 1C 9F B9 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 801741E0 00171140 80 7E 00 A0 */ lwz r3, 0xa0(r30)
/* 801741E4 00171144 38 81 00 3C */ addi r4, r1, 0x3c
/* 801741E8 00171148 48 14 DF ED */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 801741EC 0017114C C3 C2 A1 10 */ lfs f30, lbl_805ABE30@sda21(r2)
/* 801741F0 00171150 7C 7D 1B 78 */ mr r29, r3
/* 801741F4 00171154 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13)
/* 801741F8 00171158 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2
/* 801741FC 0017115C 38 81 00 10 */ addi r4, r1, 0x10
/* 80174200 00171160 80 A5 01 74 */ lwz r5, 0x174(r5)
/* 80174204 00171164 88 01 00 08 */ lbz r0, 8(r1)
/* 80174208 00171168 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17
/* 8017420C 0017116C 90 01 00 10 */ stw r0, 0x10(r1)
/* 80174210 00171170 48 15 66 5D */ bl SetColor__10CGuiWidgetFRC6CColor
/* 80174214 00171174 80 AD A0 64 */ lwz r5, gpSimplePool@sda21(r13)
/* 80174218 00171178 7F A3 EB 78 */ mr r3, r29
/* 8017421C 0017117C 38 80 FF FF */ li r4, -1
/* 80174220 00171180 48 15 7C AD */ bl SetTextureID0__13CAuiImagePaneFUib
/* 80174224 00171184 C0 22 A1 10 */ lfs f1, lbl_805ABE30@sda21(r2)
/* 80174228 00171188 7F A3 EB 78 */ mr r3, r29
/* 8017422C 0017118C 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21
/* 80174230 00171190 FC 40 08 90 */ fmr f2, f1
/* 80174234 00171194 48 15 8C 75 */ bl SetAnimationParms__13CAuiImagePaneFRC9CVector2fff
/* 80174238 00171198 80 1E 00 34 */ lwz r0, 0x34(r30)
/* 8017423C 0017119C 7C 1C 00 00 */ cmpw r28, r0
/* 80174240 001711A0 40 82 00 0C */ bne lbl_8017424C
/* 80174244 001711A4 38 00 00 00 */ li r0, 0
/* 80174248 001711A8 48 00 00 44 */ b lbl_8017428C
lbl_8017424C:
/* 8017424C 001711AC 80 1E 00 50 */ lwz r0, 0x50(r30)
/* 80174250 001711B0 7C 1C 00 00 */ cmpw r28, r0
/* 80174254 001711B4 40 82 00 0C */ bne lbl_80174260
/* 80174258 001711B8 38 00 00 01 */ li r0, 1
/* 8017425C 001711BC 48 00 00 30 */ b lbl_8017428C
lbl_80174260:
/* 80174260 001711C0 80 1E 00 6C */ lwz r0, 0x6c(r30)
/* 80174264 001711C4 7C 1C 00 00 */ cmpw r28, r0
/* 80174268 001711C8 40 82 00 0C */ bne lbl_80174274
/* 8017426C 001711CC 38 00 00 02 */ li r0, 2
/* 80174270 001711D0 48 00 00 1C */ b lbl_8017428C
lbl_80174274:
/* 80174274 001711D4 80 1E 00 88 */ lwz r0, 0x88(r30)
/* 80174278 001711D8 7C 1C 00 00 */ cmpw r28, r0
/* 8017427C 001711DC 40 82 00 0C */ bne lbl_80174288
/* 80174280 001711E0 38 00 00 03 */ li r0, 3
/* 80174284 001711E4 48 00 00 08 */ b lbl_8017428C
lbl_80174288:
/* 80174288 001711E8 38 00 FF FF */ li r0, -1
lbl_8017428C:
/* 8017428C 001711EC 2C 00 00 00 */ cmpwi r0, 0
/* 80174290 001711F0 41 80 00 10 */ blt lbl_801742A0
/* 80174294 001711F4 54 03 18 38 */ slwi r3, r0, 3
/* 80174298 001711F8 38 03 00 04 */ addi r0, r3, 4
/* 8017429C 001711FC 7F BF 01 2E */ stwx r29, r31, r0
lbl_801742A0:
/* 801742A0 00171200 38 61 00 3C */ addi r3, r1, 0x3c
/* 801742A4 00171204 48 1C 98 3D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 801742A8 00171208 3B 9C 00 01 */ addi r28, r28, 1
/* 801742AC 0017120C 2C 1C 00 14 */ cmpwi r28, 0x14
/* 801742B0 00171210 41 80 FF 14 */ blt lbl_801741C4
/* 801742B4 00171214 3B 60 00 00 */ li r27, 0
/* 801742B8 00171218 3B 80 00 00 */ li r28, 0
/* 801742BC 0017121C 48 00 00 C8 */ b lbl_80174384
lbl_801742C0:
/* 801742C0 00171220 83 5F 00 04 */ lwz r26, 4(r31)
/* 801742C4 00171224 28 1A 00 00 */ cmplwi r26, 0
/* 801742C8 00171228 41 82 00 B0 */ beq lbl_80174378
/* 801742CC 0017122C 7F BE E2 14 */ add r29, r30, r28
/* 801742D0 00171230 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 801742D4 00171234 C3 DD 00 40 */ lfs f30, 0x40(r29)
/* 801742D8 00171238 FC 1E 00 40 */ fcmpo cr0, f30, f0
/* 801742DC 0017123C 40 81 00 58 */ ble lbl_80174334
/* 801742E0 00171240 80 BD 00 38 */ lwz r5, 0x38(r29)
/* 801742E4 00171244 3C 80 43 30 */ lis r4, 0x4330
/* 801742E8 00171248 80 1D 00 3C */ lwz r0, 0x3c(r29)
/* 801742EC 0017124C 38 61 00 28 */ addi r3, r1, 0x28
/* 801742F0 00171250 6C A5 80 00 */ xoris r5, r5, 0x8000
/* 801742F4 00171254 90 81 00 50 */ stw r4, 0x50(r1)
/* 801742F8 00171258 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 801742FC 0017125C C8 42 A1 38 */ lfd f2, lbl_805ABE58@sda21(r2)
/* 80174300 00171260 90 A1 00 54 */ stw r5, 0x54(r1)
/* 80174304 00171264 C8 01 00 50 */ lfd f0, 0x50(r1)
/* 80174308 00171268 90 01 00 5C */ stw r0, 0x5c(r1)
/* 8017430C 0017126C EC 20 10 28 */ fsubs f1, f0, f2
/* 80174310 00171270 90 81 00 58 */ stw r4, 0x58(r1)
/* 80174314 00171274 C8 01 00 58 */ lfd f0, 0x58(r1)
/* 80174318 00171278 EC 40 10 28 */ fsubs f2, f0, f2
/* 8017431C 0017127C 48 19 FE E5 */ bl __ct__9CVector2fFff
/* 80174320 00171280 FC 20 F0 90 */ fmr f1, f30
/* 80174324 00171284 7C 64 1B 78 */ mr r4, r3
/* 80174328 00171288 C0 5D 00 44 */ lfs f2, 0x44(r29)
/* 8017432C 0017128C 7F 43 D3 78 */ mr r3, r26
/* 80174330 00171290 48 15 8B 79 */ bl SetAnimationParms__13CAuiImagePaneFRC9CVector2fff
lbl_80174334:
/* 80174334 00171294 80 9D 00 2C */ lwz r4, 0x2c(r29)
/* 80174338 00171298 7F 43 D3 78 */ mr r3, r26
/* 8017433C 0017129C 80 AD A0 64 */ lwz r5, gpSimplePool@sda21(r13)
/* 80174340 001712A0 48 15 7B 8D */ bl SetTextureID0__13CAuiImagePaneFUib
/* 80174344 001712A4 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 80174348 001712A8 7F C3 F3 78 */ mr r3, r30
/* 8017434C 001712AC 7F 64 DB 78 */ mr r4, r27
/* 80174350 001712B0 D0 1A 01 50 */ stfs f0, 0x150(r26)
/* 80174354 001712B4 4B FF E7 E1 */ bl GetDownloadStartTime__12CScanDisplayFi
/* 80174358 001712B8 FC 1D 08 40 */ fcmpo cr0, f29, f1
/* 8017435C 001712BC 4C 41 13 82 */ cror 2, 1, 2
/* 80174360 001712C0 40 82 00 10 */ bne lbl_80174370
/* 80174364 001712C4 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 80174368 001712C8 D0 1F 00 00 */ stfs f0, 0(r31)
/* 8017436C 001712CC 48 00 00 0C */ b lbl_80174378
lbl_80174370:
/* 80174370 001712D0 C0 02 A1 40 */ lfs f0, lbl_805ABE60@sda21(r2)
/* 80174374 001712D4 D0 1F 00 00 */ stfs f0, 0(r31)
lbl_80174378:
/* 80174378 001712D8 3B FF 00 08 */ addi r31, r31, 8
/* 8017437C 001712DC 3B 9C 00 1C */ addi r28, r28, 0x1c
/* 80174380 001712E0 3B 7B 00 01 */ addi r27, r27, 1
lbl_80174384:
/* 80174384 001712E4 80 1E 01 70 */ lwz r0, 0x170(r30)
/* 80174388 001712E8 7C 1B 00 00 */ cmpw r27, r0
/* 8017438C 001712EC 41 80 FF 34 */ blt lbl_801742C0
/* 80174390 001712F0 80 9E 00 18 */ lwz r4, 0x18(r30)
/* 80174394 001712F4 3C 04 00 01 */ addis r0, r4, 1
/* 80174398 001712F8 28 00 FF FF */ cmplwi r0, 0xffff
/* 8017439C 001712FC 41 82 00 B0 */ beq lbl_8017444C
/* 801743A0 00171300 3C 60 53 54 */ lis r3, 0x53545247@ha
/* 801743A4 00171304 90 81 00 24 */ stw r4, 0x24(r1)
/* 801743A8 00171308 38 03 52 47 */ addi r0, r3, 0x53545247@l
/* 801743AC 0017130C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 801743B0 00171310 90 01 00 20 */ stw r0, 0x20(r1)
/* 801743B4 00171314 38 61 00 18 */ addi r3, r1, 0x18
/* 801743B8 00171318 38 A1 00 20 */ addi r5, r1, 0x20
/* 801743BC 0017131C 81 84 00 00 */ lwz r12, 0(r4)
/* 801743C0 00171320 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 801743C4 00171324 7D 89 03 A6 */ mtctr r12
/* 801743C8 00171328 4E 80 04 21 */ bctrl
/* 801743CC 0017132C 38 61 00 30 */ addi r3, r1, 0x30
/* 801743D0 00171330 38 81 00 18 */ addi r4, r1, 0x18
/* 801743D4 00171334 48 1C CA D5 */ bl __ct__6CTokenFRC6CToken
/* 801743D8 00171338 38 00 00 00 */ li r0, 0
/* 801743DC 0017133C 90 01 00 38 */ stw r0, 0x38(r1)
/* 801743E0 00171340 88 1E 01 A0 */ lbz r0, 0x1a0(r30)
/* 801743E4 00171344 28 00 00 00 */ cmplwi r0, 0
/* 801743E8 00171348 40 82 00 2C */ bne lbl_80174414
/* 801743EC 0017134C 37 FE 01 94 */ addic. r31, r30, 0x194
/* 801743F0 00171350 41 82 00 18 */ beq lbl_80174408
/* 801743F4 00171354 7F E3 FB 78 */ mr r3, r31
/* 801743F8 00171358 38 81 00 30 */ addi r4, r1, 0x30
/* 801743FC 0017135C 48 1C CA AD */ bl __ct__6CTokenFRC6CToken
/* 80174400 00171360 80 01 00 38 */ lwz r0, 0x38(r1)
/* 80174404 00171364 90 1F 00 08 */ stw r0, 8(r31)
lbl_80174408:
/* 80174408 00171368 38 00 00 01 */ li r0, 1
/* 8017440C 0017136C 98 1E 01 A0 */ stb r0, 0x1a0(r30)
/* 80174410 00171370 48 00 00 1C */ b lbl_8017442C
lbl_80174414:
/* 80174414 00171374 3B BE 01 94 */ addi r29, r30, 0x194
/* 80174418 00171378 38 81 00 30 */ addi r4, r1, 0x30
/* 8017441C 0017137C 7F A3 EB 78 */ mr r3, r29
/* 80174420 00171380 48 1C C8 A5 */ bl __as__6CTokenFRC6CToken
/* 80174424 00171384 80 01 00 38 */ lwz r0, 0x38(r1)
/* 80174428 00171388 90 1D 00 08 */ stw r0, 8(r29)
lbl_8017442C:
/* 8017442C 0017138C 38 61 00 30 */ addi r3, r1, 0x30
/* 80174430 00171390 38 80 00 00 */ li r4, 0
/* 80174434 00171394 48 1C CA 0D */ bl __dt__6CTokenFv
/* 80174438 00171398 38 61 00 18 */ addi r3, r1, 0x18
/* 8017443C 0017139C 38 80 FF FF */ li r4, -1
/* 80174440 001713A0 48 1C CA 01 */ bl __dt__6CTokenFv
/* 80174444 001713A4 38 7E 01 94 */ addi r3, r30, 0x194
/* 80174448 001713A8 48 1C C9 3D */ bl Lock__6CTokenFv
lbl_8017444C:
/* 8017444C 001713AC 3B 9E 00 C0 */ addi r28, r30, 0xc0
/* 80174450 001713B0 3B 40 00 00 */ li r26, 0
/* 80174454 001713B4 3B A0 00 00 */ li r29, 0
lbl_80174458:
/* 80174458 001713B8 7C 7E EA 14 */ add r3, r30, r29
/* 8017445C 001713BC 80 03 00 34 */ lwz r0, 0x34(r3)
/* 80174460 001713C0 2C 00 FF FF */ cmpwi r0, -1
/* 80174464 001713C4 41 82 00 68 */ beq lbl_801744CC
/* 80174468 001713C8 7F C3 F3 78 */ mr r3, r30
/* 8017446C 001713CC 7F 44 D3 78 */ mr r4, r26
/* 80174470 001713D0 4B FF E6 C5 */ bl GetDownloadStartTime__12CScanDisplayFi
/* 80174474 001713D4 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13)
/* 80174478 001713D8 C0 03 02 44 */ lfs f0, 0x244(r3)
/* 8017447C 001713DC EC 01 00 28 */ fsubs f0, f1, f0
/* 80174480 001713E0 FC 00 E8 40 */ fcmpo cr0, f0, f29
/* 80174484 001713E4 40 80 00 18 */ bge lbl_8017449C
/* 80174488 001713E8 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 8017448C 001713EC 38 00 00 04 */ li r0, 4
/* 80174490 001713F0 D0 1C 00 24 */ stfs f0, 0x24(r28)
/* 80174494 001713F4 90 1C 00 00 */ stw r0, 0(r28)
/* 80174498 001713F8 48 00 00 3C */ b lbl_801744D4
lbl_8017449C:
/* 8017449C 001713FC C0 02 A1 14 */ lfs f0, lbl_805ABE34@sda21(r2)
/* 801744A0 00171400 38 00 00 01 */ li r0, 1
/* 801744A4 00171404 C0 22 A1 44 */ lfs f1, lbl_805ABE64@sda21(r2)
/* 801744A8 00171408 7F 83 E3 78 */ mr r3, r28
/* 801744AC 0017140C D0 1C 00 28 */ stfs f0, 0x28(r28)
/* 801744B0 00171410 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21
/* 801744B4 00171414 90 1C 00 00 */ stw r0, 0(r28)
/* 801744B8 00171418 48 00 04 09 */ bl StartTransitionTo__Q212CScanDisplay8CDataDotFRC9CVector2ff
/* 801744BC 0017141C C0 22 A1 44 */ lfs f1, lbl_805ABE64@sda21(r2)
/* 801744C0 00171420 7F 83 E3 78 */ mr r3, r28
/* 801744C4 00171424 48 00 02 C1 */ bl Update__Q212CScanDisplay8CDataDotFf
/* 801744C8 00171428 48 00 00 0C */ b lbl_801744D4
lbl_801744CC:
/* 801744CC 0017142C 38 00 00 00 */ li r0, 0
/* 801744D0 00171430 90 1C 00 00 */ stw r0, 0(r28)
lbl_801744D4:
/* 801744D4 00171434 3B 5A 00 01 */ addi r26, r26, 1
/* 801744D8 00171438 3B BD 00 1C */ addi r29, r29, 0x1c
/* 801744DC 0017143C 2C 1A 00 04 */ cmpwi r26, 4
/* 801744E0 00171440 3B 9C 00 2C */ addi r28, r28, 0x2c
/* 801744E4 00171444 41 80 FF 74 */ blt lbl_80174458
/* 801744E8 00171448 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0
/* 801744EC 0017144C CB E1 00 A0 */ lfd f31, 0xa0(r1)
/* 801744F0 00171450 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0
/* 801744F4 00171454 CB C1 00 90 */ lfd f30, 0x90(r1)
/* 801744F8 00171458 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0
/* 801744FC 0017145C CB A1 00 80 */ lfd f29, 0x80(r1)
/* 80174500 00171460 BB 21 00 64 */ lmw r25, 0x64(r1)
/* 80174504 00171464 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 80174508 00171468 7C 08 03 A6 */ mtlr r0
/* 8017450C 0017146C 38 21 00 B0 */ addi r1, r1, 0xb0
/* 80174510 00171470 4E 80 00 20 */ blr
.global sub_80174514
sub_80174514:
/* 80174514 00171474 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80174518 00171478 7C 08 02 A6 */ mflr r0
/* 8017451C 0017147C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80174520 00171480 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80174524 00171484 7C 7F 1B 78 */ mr r31, r3
/* 80174528 00171488 4B FF F9 35 */ bl sub_80173e5c
/* 8017452C 0017148C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80174530 00171490 7F E3 FB 78 */ mr r3, r31
/* 80174534 00171494 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80174538 00171498 7C 08 03 A6 */ mtlr r0
/* 8017453C 0017149C 38 21 00 10 */ addi r1, r1, 0x10
/* 80174540 001714A0 4E 80 00 20 */ blr
.global __ct__12CScanDisplayFv
__ct__12CScanDisplayFv:
/* 80174544 001714A4 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80174548 001714A8 7C 08 02 A6 */ mflr r0
/* 8017454C 001714AC 3C A0 80 3D */ lis r5, lbl_803D0620@ha
/* 80174550 001714B0 90 01 00 54 */ stw r0, 0x54(r1)
/* 80174554 001714B4 38 A5 06 20 */ addi r5, r5, lbl_803D0620@l
/* 80174558 001714B8 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 8017455C 001714BC 7C 9F 23 78 */ mr r31, r4
/* 80174560 001714C0 93 C1 00 48 */ stw r30, 0x48(r1)
/* 80174564 001714C4 7C 7E 1B 78 */ mr r30, r3
/* 80174568 001714C8 38 61 00 08 */ addi r3, r1, 8
/* 8017456C 001714CC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13)
/* 80174570 001714D0 81 84 00 00 */ lwz r12, 0(r4)
/* 80174574 001714D4 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80174578 001714D8 7D 89 03 A6 */ mtctr r12
/* 8017457C 001714DC 4E 80 04 21 */ bctrl
/* 80174580 001714E0 7F C3 F3 78 */ mr r3, r30
/* 80174584 001714E4 38 81 00 08 */ addi r4, r1, 8
/* 80174588 001714E8 48 1C C9 21 */ bl __ct__6CTokenFRC6CToken
/* 8017458C 001714EC 38 00 00 00 */ li r0, 0
/* 80174590 001714F0 38 61 00 08 */ addi r3, r1, 8
/* 80174594 001714F4 90 1E 00 08 */ stw r0, 8(r30)
/* 80174598 001714F8 38 80 FF FF */ li r4, -1
/* 8017459C 001714FC 48 1C C8 A5 */ bl __dt__6CTokenFv
/* 801745A0 00171500 38 80 00 00 */ li r4, 0
/* 801745A4 00171504 38 61 00 10 */ addi r3, r1, 0x10
/* 801745A8 00171508 90 9E 00 0C */ stw r4, 0xc(r30)
/* 801745AC 0017150C A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
/* 801745B0 00171510 B0 1E 00 10 */ sth r0, 0x10(r30)
/* 801745B4 00171514 98 9E 00 9C */ stb r4, 0x9c(r30)
/* 801745B8 00171518 93 FE 00 A0 */ stw r31, 0xa0(r30)
/* 801745BC 0017151C 90 9E 00 A4 */ stw r4, 0xa4(r30)
/* 801745C0 00171520 90 9E 00 A8 */ stw r4, 0xa8(r30)
/* 801745C4 00171524 90 9E 00 AC */ stw r4, 0xac(r30)
/* 801745C8 00171528 90 9E 00 B0 */ stw r4, 0xb0(r30)
/* 801745CC 0017152C 90 9E 00 B4 */ stw r4, 0xb4(r30)
/* 801745D0 00171530 90 9E 00 B8 */ stw r4, 0xb8(r30)
/* 801745D4 00171534 48 00 04 99 */ bl __ct__Q212CScanDisplay8CDataDotFv
/* 801745D8 00171538 38 60 00 04 */ li r3, 4
/* 801745DC 0017153C 38 00 00 02 */ li r0, 2
/* 801745E0 00171540 90 7E 00 BC */ stw r3, 0xbc(r30)
/* 801745E4 00171544 38 9E 00 C0 */ addi r4, r30, 0xc0
/* 801745E8 00171548 38 60 00 00 */ li r3, 0
/* 801745EC 0017154C 7C 09 03 A6 */ mtctr r0
lbl_801745F0:
/* 801745F0 00171550 28 04 00 00 */ cmplwi r4, 0
/* 801745F4 00171554 41 82 00 5C */ beq lbl_80174650
/* 801745F8 00171558 80 01 00 10 */ lwz r0, 0x10(r1)
/* 801745FC 0017155C 90 04 00 00 */ stw r0, 0(r4)
/* 80174600 00171560 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80174604 00171564 D0 04 00 04 */ stfs f0, 4(r4)
/* 80174608 00171568 C0 01 00 18 */ lfs f0, 0x18(r1)
/* 8017460C 0017156C D0 04 00 08 */ stfs f0, 8(r4)
/* 80174610 00171570 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 80174614 00171574 D0 04 00 0C */ stfs f0, 0xc(r4)
/* 80174618 00171578 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 8017461C 0017157C D0 04 00 10 */ stfs f0, 0x10(r4)
/* 80174620 00171580 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 80174624 00171584 D0 04 00 14 */ stfs f0, 0x14(r4)
/* 80174628 00171588 C0 01 00 28 */ lfs f0, 0x28(r1)
/* 8017462C 0017158C D0 04 00 18 */ stfs f0, 0x18(r4)
/* 80174630 00171590 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 80174634 00171594 D0 04 00 1C */ stfs f0, 0x1c(r4)
/* 80174638 00171598 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 8017463C 0017159C D0 04 00 20 */ stfs f0, 0x20(r4)
/* 80174640 001715A0 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 80174644 001715A4 D0 04 00 24 */ stfs f0, 0x24(r4)
/* 80174648 001715A8 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 8017464C 001715AC D0 04 00 28 */ stfs f0, 0x28(r4)
lbl_80174650:
/* 80174650 001715B0 34 84 00 2C */ addic. r4, r4, 0x2c
/* 80174654 001715B4 41 82 00 5C */ beq lbl_801746B0
/* 80174658 001715B8 80 01 00 10 */ lwz r0, 0x10(r1)
/* 8017465C 001715BC 90 04 00 00 */ stw r0, 0(r4)
/* 80174660 001715C0 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80174664 001715C4 D0 04 00 04 */ stfs f0, 4(r4)
/* 80174668 001715C8 C0 01 00 18 */ lfs f0, 0x18(r1)
/* 8017466C 001715CC D0 04 00 08 */ stfs f0, 8(r4)
/* 80174670 001715D0 C0 01 00 1C */ lfs f0, 0x1c(r1)
/* 80174674 001715D4 D0 04 00 0C */ stfs f0, 0xc(r4)
/* 80174678 001715D8 C0 01 00 20 */ lfs f0, 0x20(r1)
/* 8017467C 001715DC D0 04 00 10 */ stfs f0, 0x10(r4)
/* 80174680 001715E0 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 80174684 001715E4 D0 04 00 14 */ stfs f0, 0x14(r4)
/* 80174688 001715E8 C0 01 00 28 */ lfs f0, 0x28(r1)
/* 8017468C 001715EC D0 04 00 18 */ stfs f0, 0x18(r4)
/* 80174690 001715F0 C0 01 00 2C */ lfs f0, 0x2c(r1)
/* 80174694 001715F4 D0 04 00 1C */ stfs f0, 0x1c(r4)
/* 80174698 001715F8 C0 01 00 30 */ lfs f0, 0x30(r1)
/* 8017469C 001715FC D0 04 00 20 */ stfs f0, 0x20(r4)
/* 801746A0 00171600 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 801746A4 00171604 D0 04 00 24 */ stfs f0, 0x24(r4)
/* 801746A8 00171608 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 801746AC 0017160C D0 04 00 28 */ stfs f0, 0x28(r4)
lbl_801746B0:
/* 801746B0 00171610 38 63 00 01 */ addi r3, r3, 1
/* 801746B4 00171614 38 84 00 2C */ addi r4, r4, 0x2c
/* 801746B8 00171618 42 00 FF 38 */ bdnz lbl_801745F0
/* 801746BC 0017161C 38 00 00 04 */ li r0, 4
/* 801746C0 00171620 34 7E 01 74 */ addic. r3, r30, 0x174
/* 801746C4 00171624 90 1E 01 70 */ stw r0, 0x170(r30)
/* 801746C8 00171628 38 00 00 00 */ li r0, 0
/* 801746CC 0017162C C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 801746D0 00171630 41 82 00 0C */ beq lbl_801746DC
/* 801746D4 00171634 D0 03 00 00 */ stfs f0, 0(r3)
/* 801746D8 00171638 90 03 00 04 */ stw r0, 4(r3)
lbl_801746DC:
/* 801746DC 0017163C 34 63 00 08 */ addic. r3, r3, 8
/* 801746E0 00171640 41 82 00 0C */ beq lbl_801746EC
/* 801746E4 00171644 D0 03 00 00 */ stfs f0, 0(r3)
/* 801746E8 00171648 90 03 00 04 */ stw r0, 4(r3)
lbl_801746EC:
/* 801746EC 0017164C 34 63 00 08 */ addic. r3, r3, 8
/* 801746F0 00171650 41 82 00 0C */ beq lbl_801746FC
/* 801746F4 00171654 D0 03 00 00 */ stfs f0, 0(r3)
/* 801746F8 00171658 90 03 00 04 */ stw r0, 4(r3)
lbl_801746FC:
/* 801746FC 0017165C 34 63 00 08 */ addic. r3, r3, 8
/* 80174700 00171660 41 82 00 0C */ beq lbl_8017470C
/* 80174704 00171664 D0 03 00 00 */ stfs f0, 0(r3)
/* 80174708 00171668 90 03 00 04 */ stw r0, 4(r3)
lbl_8017470C:
/* 8017470C 0017166C 38 00 00 00 */ li r0, 0
/* 80174710 00171670 C0 22 A1 10 */ lfs f1, lbl_805ABE30@sda21(r2)
/* 80174714 00171674 98 1E 01 A0 */ stb r0, 0x1a0(r30)
/* 80174718 00171678 7F C3 F3 78 */ mr r3, r30
/* 8017471C 0017167C C0 02 A1 14 */ lfs f0, lbl_805ABE34@sda21(r2)
/* 80174720 00171680 D0 3E 01 A4 */ stfs f1, 0x1a4(r30)
/* 80174724 00171684 D0 3E 01 A8 */ stfs f1, 0x1a8(r30)
/* 80174728 00171688 90 1E 01 AC */ stw r0, 0x1ac(r30)
/* 8017472C 0017168C D0 1E 01 B0 */ stfs f0, 0x1b0(r30)
/* 80174730 00171690 98 1E 01 B4 */ stb r0, 0x1b4(r30)
/* 80174734 00171694 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 80174738 00171698 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 8017473C 0017169C 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80174740 001716A0 7C 08 03 A6 */ mtlr r0
/* 80174744 001716A4 38 21 00 50 */ addi r1, r1, 0x50
/* 80174748 001716A8 4E 80 00 20 */ blr
.global SetDestPosition__Q212CScanDisplay8CDataDotFRC9CVector2f
SetDestPosition__Q212CScanDisplay8CDataDotFRC9CVector2f:
/* 8017474C 001716AC C0 23 00 20 */ lfs f1, 0x20(r3)
/* 80174750 001716B0 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 80174754 001716B4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80174758 001716B8 40 81 00 18 */ ble lbl_80174770
/* 8017475C 001716BC C0 04 00 00 */ lfs f0, 0(r4)
/* 80174760 001716C0 D0 03 00 14 */ stfs f0, 0x14(r3)
/* 80174764 001716C4 C0 04 00 04 */ lfs f0, 4(r4)
/* 80174768 001716C8 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 8017476C 001716CC 4E 80 00 20 */ blr
lbl_80174770:
/* 80174770 001716D0 C0 04 00 00 */ lfs f0, 0(r4)
/* 80174774 001716D4 D0 03 00 0C */ stfs f0, 0xc(r3)
/* 80174778 001716D8 C0 04 00 04 */ lfs f0, 4(r4)
/* 8017477C 001716DC D0 03 00 10 */ stfs f0, 0x10(r3)
/* 80174780 001716E0 4E 80 00 20 */ blr
.global Update__Q212CScanDisplay8CDataDotFf
Update__Q212CScanDisplay8CDataDotFf:
/* 80174784 001716E4 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 80174788 001716E8 7C 08 02 A6 */ mflr r0
/* 8017478C 001716EC 90 01 00 44 */ stw r0, 0x44(r1)
/* 80174790 001716F0 DB E1 00 30 */ stfd f31, 0x30(r1)
/* 80174794 001716F4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 80174798 001716F8 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8017479C 001716FC 7C 7F 1B 78 */ mr r31, r3
/* 801747A0 00171700 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 801747A4 00171704 C0 43 00 20 */ lfs f2, 0x20(r3)
/* 801747A8 00171708 FF E0 08 90 */ fmr f31, f1
/* 801747AC 0017170C FC 02 00 40 */ fcmpo cr0, f2, f0
/* 801747B0 00171710 40 81 00 84 */ ble lbl_80174834
/* 801747B4 00171714 EC 22 F8 28 */ fsubs f1, f2, f31
/* 801747B8 00171718 C0 0D 8E 20 */ lfs f0, lbl_805A79E0@sda21(r13)
/* 801747BC 0017171C FC 00 08 40 */ fcmpo cr0, f0, f1
/* 801747C0 00171720 D0 21 00 10 */ stfs f1, 0x10(r1)
/* 801747C4 00171724 40 80 00 0C */ bge lbl_801747D0
/* 801747C8 00171728 38 61 00 10 */ addi r3, r1, 0x10
/* 801747CC 0017172C 48 00 00 08 */ b lbl_801747D4
lbl_801747D0:
/* 801747D0 00171730 38 6D 8E 20 */ addi r3, r13, lbl_805A79E0@sda21
lbl_801747D4:
/* 801747D4 00171734 C0 03 00 00 */ lfs f0, 0(r3)
/* 801747D8 00171738 C0 A2 A1 10 */ lfs f5, lbl_805ABE30@sda21(r2)
/* 801747DC 0017173C D0 1F 00 20 */ stfs f0, 0x20(r31)
/* 801747E0 00171740 C0 3F 00 1C */ lfs f1, 0x1c(r31)
/* 801747E4 00171744 FC 01 28 40 */ fcmpo cr0, f1, f5
/* 801747E8 00171748 40 81 00 0C */ ble lbl_801747F4
/* 801747EC 0017174C C0 1F 00 20 */ lfs f0, 0x20(r31)
/* 801747F0 00171750 EC A0 08 24 */ fdivs f5, f0, f1
lbl_801747F4:
/* 801747F4 00171754 C0 42 A1 14 */ lfs f2, lbl_805ABE34@sda21(r2)
/* 801747F8 00171758 38 61 00 14 */ addi r3, r1, 0x14
/* 801747FC 0017175C C0 3F 00 04 */ lfs f1, 4(r31)
/* 80174800 00171760 C0 1F 00 08 */ lfs f0, 8(r31)
/* 80174804 00171764 EC 82 28 28 */ fsubs f4, f2, f5
/* 80174808 00171768 EC 21 01 72 */ fmuls f1, f1, f5
/* 8017480C 0017176C C0 7F 00 14 */ lfs f3, 0x14(r31)
/* 80174810 00171770 EC 00 01 72 */ fmuls f0, f0, f5
/* 80174814 00171774 C0 5F 00 18 */ lfs f2, 0x18(r31)
/* 80174818 00171778 EC 23 09 3A */ fmadds f1, f3, f4, f1
/* 8017481C 0017177C EC 42 01 3A */ fmadds f2, f2, f4, f0
/* 80174820 00171780 48 19 F9 E1 */ bl __ct__9CVector2fFff
/* 80174824 00171784 C0 01 00 14 */ lfs f0, 0x14(r1)
/* 80174828 00171788 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 8017482C 0017178C C0 01 00 18 */ lfs f0, 0x18(r1)
/* 80174830 00171790 D0 1F 00 10 */ stfs f0, 0x10(r31)
lbl_80174834:
/* 80174834 00171794 C0 3F 00 24 */ lfs f1, 0x24(r31)
/* 80174838 00171798 C0 1F 00 28 */ lfs f0, 0x28(r31)
/* 8017483C 0017179C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80174840 001717A0 40 80 00 34 */ bge lbl_80174874
/* 80174844 001717A4 C0 02 A1 20 */ lfs f0, lbl_805ABE40@sda21(r2)
/* 80174848 001717A8 EC 20 0F FA */ fmadds f1, f0, f31, f1
/* 8017484C 001717AC D0 21 00 0C */ stfs f1, 0xc(r1)
/* 80174850 001717B0 C0 1F 00 28 */ lfs f0, 0x28(r31)
/* 80174854 001717B4 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 80174858 001717B8 40 80 00 0C */ bge lbl_80174864
/* 8017485C 001717BC 38 61 00 0C */ addi r3, r1, 0xc
/* 80174860 001717C0 48 00 00 08 */ b lbl_80174868
lbl_80174864:
/* 80174864 001717C4 38 7F 00 28 */ addi r3, r31, 0x28
lbl_80174868:
/* 80174868 001717C8 C0 03 00 00 */ lfs f0, 0(r3)
/* 8017486C 001717CC D0 1F 00 24 */ stfs f0, 0x24(r31)
/* 80174870 001717D0 48 00 00 34 */ b lbl_801748A4
lbl_80174874:
/* 80174874 001717D4 40 81 00 30 */ ble lbl_801748A4
/* 80174878 001717D8 C0 02 A1 20 */ lfs f0, lbl_805ABE40@sda21(r2)
/* 8017487C 001717DC EC 20 0F FC */ fnmsubs f1, f0, f31, f1
/* 80174880 001717E0 D0 21 00 08 */ stfs f1, 8(r1)
/* 80174884 001717E4 C0 1F 00 28 */ lfs f0, 0x28(r31)
/* 80174888 001717E8 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8017488C 001717EC 40 80 00 0C */ bge lbl_80174898
/* 80174890 001717F0 38 61 00 08 */ addi r3, r1, 8
/* 80174894 001717F4 48 00 00 08 */ b lbl_8017489C
lbl_80174898:
/* 80174898 001717F8 38 7F 00 28 */ addi r3, r31, 0x28
lbl_8017489C:
/* 8017489C 001717FC C0 03 00 00 */ lfs f0, 0(r3)
/* 801748A0 00171800 D0 1F 00 24 */ stfs f0, 0x24(r31)
lbl_801748A4:
/* 801748A4 00171804 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 801748A8 00171808 80 01 00 44 */ lwz r0, 0x44(r1)
/* 801748AC 0017180C CB E1 00 30 */ lfd f31, 0x30(r1)
/* 801748B0 00171810 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 801748B4 00171814 7C 08 03 A6 */ mtlr r0
/* 801748B8 00171818 38 21 00 40 */ addi r1, r1, 0x40
/* 801748BC 0017181C 4E 80 00 20 */ blr
.global StartTransitionTo__Q212CScanDisplay8CDataDotFRC9CVector2ff
StartTransitionTo__Q212CScanDisplay8CDataDotFRC9CVector2ff:
/* 801748C0 00171820 D0 23 00 20 */ stfs f1, 0x20(r3)
/* 801748C4 00171824 D0 23 00 1C */ stfs f1, 0x1c(r3)
/* 801748C8 00171828 C0 03 00 0C */ lfs f0, 0xc(r3)
/* 801748CC 0017182C D0 03 00 04 */ stfs f0, 4(r3)
/* 801748D0 00171830 C0 03 00 10 */ lfs f0, 0x10(r3)
/* 801748D4 00171834 D0 03 00 08 */ stfs f0, 8(r3)
/* 801748D8 00171838 C0 04 00 00 */ lfs f0, 0(r4)
/* 801748DC 0017183C D0 03 00 14 */ stfs f0, 0x14(r3)
/* 801748E0 00171840 C0 04 00 04 */ lfs f0, 4(r4)
/* 801748E4 00171844 D0 03 00 18 */ stfs f0, 0x18(r3)
/* 801748E8 00171848 4E 80 00 20 */ blr
.global Draw__Q212CScanDisplay8CDataDotCF6CColorf
Draw__Q212CScanDisplay8CDataDotCF6CColorf:
/* 801748EC 0017184C 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 801748F0 00171850 7C 08 02 A6 */ mflr r0
/* 801748F4 00171854 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 801748F8 00171858 DB E1 00 90 */ stfd f31, 0x90(r1)
/* 801748FC 0017185C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0
/* 80174900 00171860 DB C1 00 80 */ stfd f30, 0x80(r1)
/* 80174904 00171864 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0
/* 80174908 00171868 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 8017490C 0017186C 93 C1 00 78 */ stw r30, 0x78(r1)
/* 80174910 00171870 7C 7E 1B 78 */ mr r30, r3
/* 80174914 00171874 C0 42 A1 10 */ lfs f2, lbl_805ABE30@sda21(r2)
/* 80174918 00171878 C0 03 00 24 */ lfs f0, 0x24(r3)
/* 8017491C 0017187C FF C0 08 90 */ fmr f30, f1
/* 80174920 00171880 7C 9F 23 78 */ mr r31, r4
/* 80174924 00171884 FC 02 00 00 */ fcmpu cr0, f2, f0
/* 80174928 00171888 41 82 01 1C */ beq lbl_80174A44
/* 8017492C 0017188C 80 1E 00 00 */ lwz r0, 0(r30)
/* 80174930 00171890 2C 00 00 00 */ cmpwi r0, 0
/* 80174934 00171894 40 82 00 08 */ bne lbl_8017493C
/* 80174938 00171898 48 00 01 0C */ b lbl_80174A44
lbl_8017493C:
/* 8017493C 0017189C C0 3E 00 0C */ lfs f1, 0xc(r30)
/* 80174940 001718A0 38 61 00 40 */ addi r3, r1, 0x40
/* 80174944 001718A4 C0 7E 00 10 */ lfs f3, 0x10(r30)
/* 80174948 001718A8 48 19 E8 41 */ bl Translate__12CTransform4fFfff
/* 8017494C 001718AC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13)
/* 80174950 001718B0 38 81 00 40 */ addi r4, r1, 0x40
/* 80174954 001718B4 81 83 00 00 */ lwz r12, 0(r3)
/* 80174958 001718B8 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 8017495C 001718BC 7D 89 03 A6 */ mtctr r12
/* 80174960 001718C0 4E 80 04 21 */ bctrl
/* 80174964 001718C4 38 60 00 98 */ li r3, 0x98
/* 80174968 001718C8 48 19 6D 01 */ bl StreamBegin__9CGraphicsF13ERglPrimitive
/* 8017496C 001718CC 88 7F 00 03 */ lbz r3, 3(r31)
/* 80174970 001718D0 3C 00 43 30 */ lis r0, 0x4330
/* 80174974 001718D4 90 01 00 70 */ stw r0, 0x70(r1)
/* 80174978 001718D8 C8 22 A1 30 */ lfd f1, lbl_805ABE50@sda21(r2)
/* 8017497C 001718DC 90 61 00 74 */ stw r3, 0x74(r1)
/* 80174980 001718E0 C0 5E 00 24 */ lfs f2, 0x24(r30)
/* 80174984 001718E4 C8 01 00 70 */ lfd f0, 0x70(r1)
/* 80174988 001718E8 EC 00 08 28 */ fsubs f0, f0, f1
/* 8017498C 001718EC EF E2 00 32 */ fmuls f31, f2, f0
/* 80174990 001718F0 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2
/* 80174994 001718F4 38 61 00 0C */ addi r3, r1, 0xc
/* 80174998 001718F8 80 9F 00 00 */ lwz r4, 0(r31)
/* 8017499C 001718FC 88 01 00 08 */ lbz r0, 8(r1)
/* 801749A0 00171900 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17
/* 801749A4 00171904 90 01 00 0C */ stw r0, 0xc(r1)
/* 801749A8 00171908 48 19 6B A1 */ bl StreamColor__9CGraphicsFRC6CColor
/* 801749AC 0017190C C0 22 A1 10 */ lfs f1, lbl_805ABE30@sda21(r2)
/* 801749B0 00171910 C0 42 A1 14 */ lfs f2, lbl_805ABE34@sda21(r2)
/* 801749B4 00171914 48 19 6A B1 */ bl StreamTexcoord__9CGraphicsFff
/* 801749B8 00171918 FF E0 F0 50 */ fneg f31, f30
/* 801749BC 0017191C C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 801749C0 00171920 D3 C1 00 3C */ stfs f30, 0x3c(r1)
/* 801749C4 00171924 38 61 00 34 */ addi r3, r1, 0x34
/* 801749C8 00171928 D3 E1 00 34 */ stfs f31, 0x34(r1)
/* 801749CC 0017192C D0 01 00 38 */ stfs f0, 0x38(r1)
/* 801749D0 00171930 48 19 6B F1 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 801749D4 00171934 C0 22 A1 10 */ lfs f1, lbl_805ABE30@sda21(r2)
/* 801749D8 00171938 FC 40 08 90 */ fmr f2, f1
/* 801749DC 0017193C 48 19 6A 89 */ bl StreamTexcoord__9CGraphicsFff
/* 801749E0 00171940 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 801749E4 00171944 38 61 00 28 */ addi r3, r1, 0x28
/* 801749E8 00171948 D3 E1 00 28 */ stfs f31, 0x28(r1)
/* 801749EC 0017194C D0 01 00 2C */ stfs f0, 0x2c(r1)
/* 801749F0 00171950 D3 E1 00 30 */ stfs f31, 0x30(r1)
/* 801749F4 00171954 48 19 6B CD */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 801749F8 00171958 C0 22 A1 14 */ lfs f1, lbl_805ABE34@sda21(r2)
/* 801749FC 0017195C FC 40 08 90 */ fmr f2, f1
/* 80174A00 00171960 48 19 6A 65 */ bl StreamTexcoord__9CGraphicsFff
/* 80174A04 00171964 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 80174A08 00171968 38 61 00 1C */ addi r3, r1, 0x1c
/* 80174A0C 0017196C D3 C1 00 1C */ stfs f30, 0x1c(r1)
/* 80174A10 00171970 D0 01 00 20 */ stfs f0, 0x20(r1)
/* 80174A14 00171974 D3 C1 00 24 */ stfs f30, 0x24(r1)
/* 80174A18 00171978 48 19 6B A9 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 80174A1C 0017197C C0 22 A1 14 */ lfs f1, lbl_805ABE34@sda21(r2)
/* 80174A20 00171980 C0 42 A1 10 */ lfs f2, lbl_805ABE30@sda21(r2)
/* 80174A24 00171984 48 19 6A 41 */ bl StreamTexcoord__9CGraphicsFff
/* 80174A28 00171988 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 80174A2C 0017198C 38 61 00 10 */ addi r3, r1, 0x10
/* 80174A30 00171990 D3 C1 00 10 */ stfs f30, 0x10(r1)
/* 80174A34 00171994 D0 01 00 14 */ stfs f0, 0x14(r1)
/* 80174A38 00171998 D3 E1 00 18 */ stfs f31, 0x18(r1)
/* 80174A3C 0017199C 48 19 6B 85 */ bl StreamVertex__9CGraphicsFRC9CVector3f
/* 80174A40 001719A0 48 19 69 D1 */ bl StreamEnd__9CGraphicsFv
lbl_80174A44:
/* 80174A44 001719A4 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0
/* 80174A48 001719A8 CB E1 00 90 */ lfd f31, 0x90(r1)
/* 80174A4C 001719AC E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0
/* 80174A50 001719B0 CB C1 00 80 */ lfd f30, 0x80(r1)
/* 80174A54 001719B4 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 80174A58 001719B8 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 80174A5C 001719BC 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 80174A60 001719C0 7C 08 03 A6 */ mtlr r0
/* 80174A64 001719C4 38 21 00 A0 */ addi r1, r1, 0xa0
/* 80174A68 001719C8 4E 80 00 20 */ blr
.global __ct__Q212CScanDisplay8CDataDotFv
__ct__Q212CScanDisplay8CDataDotFv:
/* 80174A6C 001719CC 38 00 00 00 */ li r0, 0
/* 80174A70 001719D0 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21
/* 80174A74 001719D4 90 03 00 00 */ stw r0, 0(r3)
/* 80174A78 001719D8 C0 02 A1 10 */ lfs f0, lbl_805ABE30@sda21(r2)
/* 80174A7C 001719DC C0 2D A8 98 */ lfs f1, lbl_805A9458@sda21(r13)
/* 80174A80 001719E0 D0 23 00 04 */ stfs f1, 4(r3)
/* 80174A84 001719E4 C0 24 00 04 */ lfs f1, 4(r4)
/* 80174A88 001719E8 D0 23 00 08 */ stfs f1, 8(r3)
/* 80174A8C 001719EC C0 23 00 04 */ lfs f1, 4(r3)
/* 80174A90 001719F0 D0 23 00 0C */ stfs f1, 0xc(r3)
/* 80174A94 001719F4 C0 23 00 08 */ lfs f1, 8(r3)
/* 80174A98 001719F8 D0 23 00 10 */ stfs f1, 0x10(r3)
/* 80174A9C 001719FC C0 23 00 04 */ lfs f1, 4(r3)
/* 80174AA0 00171A00 D0 23 00 14 */ stfs f1, 0x14(r3)
/* 80174AA4 00171A04 C0 23 00 08 */ lfs f1, 8(r3)
/* 80174AA8 00171A08 D0 23 00 18 */ stfs f1, 0x18(r3)
/* 80174AAC 00171A0C D0 03 00 1C */ stfs f0, 0x1c(r3)
/* 80174AB0 00171A10 D0 03 00 20 */ stfs f0, 0x20(r3)
/* 80174AB4 00171A14 D0 03 00 24 */ stfs f0, 0x24(r3)
/* 80174AB8 00171A18 D0 03 00 28 */ stfs f0, 0x28(r3)
/* 80174ABC 00171A1C 4E 80 00 20 */ blr
.global SetScanMessageTypeEffect__12CScanDisplayFP12CGuiTextPaneb
SetScanMessageTypeEffect__12CScanDisplayFP12CGuiTextPaneb:
/* 80174AC0 00171A20 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80174AC4 00171A24 7C 08 02 A6 */ mflr r0
/* 80174AC8 00171A28 90 01 00 14 */ stw r0, 0x14(r1)
/* 80174ACC 00171A2C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 80174AD0 00171A30 41 82 00 1C */ beq lbl_80174AEC
/* 80174AD4 00171A34 C0 22 A1 48 */ lfs f1, lbl_805ABE68@sda21(r2)
/* 80174AD8 00171A38 38 63 00 D4 */ addi r3, r3, 0xd4
/* 80174ADC 00171A3C C0 42 A1 4C */ lfs f2, lbl_805ABE6C@sda21(r2)
/* 80174AE0 00171A40 38 80 00 01 */ li r4, 1
/* 80174AE4 00171A44 48 15 36 35 */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff
/* 80174AE8 00171A48 48 00 00 18 */ b lbl_80174B00
lbl_80174AEC:
/* 80174AEC 00171A4C C0 22 A1 10 */ lfs f1, lbl_805ABE30@sda21(r2)
/* 80174AF0 00171A50 38 63 00 D4 */ addi r3, r3, 0xd4
/* 80174AF4 00171A54 38 80 00 00 */ li r4, 0
/* 80174AF8 00171A58 FC 40 08 90 */ fmr f2, f1
/* 80174AFC 00171A5C 48 15 36 1D */ bl SetTypeWriteEffectOptions__15CGuiTextSupportFbff
lbl_80174B00:
/* 80174B00 00171A60 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80174B04 00171A64 7C 08 03 A6 */ mtlr r0
/* 80174B08 00171A68 38 21 00 10 */ addi r1, r1, 0x10
/* 80174B0C 00171A6C 4E 80 00 20 */ blr
.section .sdata2, "a"
.balign 8
.global lbl_805ABE30
lbl_805ABE30:
# ROM: 0x3F86D0
.4byte 0
.global lbl_805ABE34
lbl_805ABE34:
# ROM: 0x3F86D4
.float 1.0
.global lbl_805ABE38
lbl_805ABE38:
# ROM: 0x3F86D8
.4byte 0xC5800000
.global lbl_805ABE3C
lbl_805ABE3C:
# ROM: 0x3F86DC
.4byte 0x45800000
.global lbl_805ABE40
lbl_805ABE40:
# ROM: 0x3F86E0
.float 2.0
.global lbl_805ABE44
lbl_805ABE44:
# ROM: 0x3F86E4
.float 255.0
.global lbl_805ABE48
lbl_805ABE48:
# ROM: 0x3F86E8
.float 0.5
.global lbl_805ABE4C
lbl_805ABE4C:
# ROM: 0x3F86EC
.4byte 0x46FFFE00
.global lbl_805ABE50
lbl_805ABE50:
# ROM: 0x3F86F0
.4byte 0x43300000
.4byte 0
.global lbl_805ABE58
lbl_805ABE58:
# ROM: 0x3F86F8
.double 4.503601774854144E15
.global lbl_805ABE60
lbl_805ABE60:
# ROM: 0x3F8700
.float -1.0
.global lbl_805ABE64
lbl_805ABE64:
# ROM: 0x3F8704
.float 1.1920929E-7
.global lbl_805ABE68
lbl_805ABE68:
# ROM: 0x3F8708
.float 0.1
.global lbl_805ABE6C
lbl_805ABE6C:
# ROM: 0x3F870C
.4byte 0x42700000
.section .rodata
.balign 8
.global lbl_803D0620
lbl_803D0620:
# ROM: 0x3CD620
.asciz "TXTR_DataDot"
.balign 4