donut-decomp/asm/homebuttonLib/lyt_textBox.s

1608 lines
77 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global __ct__Q36nw4hbm3lyt7TextBoxFPCQ46nw4hbm3lyt3res7TextBoxRCQ36nw4hbm3lyt11ResBlockSet
__ct__Q36nw4hbm3lyt7TextBoxFPCQ46nw4hbm3lyt3res7TextBoxRCQ36nw4hbm3lyt11ResBlockSet:
/* 8013C0D0 00137F10 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8013C0D4 00137F14 7C 08 02 A6 */ mflr r0
/* 8013C0D8 00137F18 90 01 00 34 */ stw r0, 0x34(r1)
/* 8013C0DC 00137F1C 39 61 00 30 */ addi r11, r1, 0x30
/* 8013C0E0 00137F20 4B EC B2 5D */ bl lbl_8000733C
/* 8013C0E4 00137F24 7C 7C 1B 78 */ mr r28, r3
/* 8013C0E8 00137F28 7C 9D 23 78 */ mr r29, r4
/* 8013C0EC 00137F2C 7C BE 2B 78 */ mr r30, r5
/* 8013C0F0 00137F30 4B FF E9 91 */ bl __ct__Q36nw4hbm3lyt4PaneFPCQ46nw4hbm3lyt3res4Pane
/* 8013C0F4 00137F34 3C 60 80 44 */ lis r3, __vt__Q36nw4hbm3lyt7TextBox@ha
/* 8013C0F8 00137F38 3C 80 80 13 */ lis r4, __ct__Q36nw4hbm2ut5ColorFv@ha
/* 8013C0FC 00137F3C 38 63 41 BC */ addi r3, r3, __vt__Q36nw4hbm3lyt7TextBox@l
/* 8013C100 00137F40 3C A0 80 13 */ lis r5, __dt__Q36nw4hbm2ut5ColorFv@ha
/* 8013C104 00137F44 90 7C 00 00 */ stw r3, 0x0(r28)
/* 8013C108 00137F48 38 7C 00 D8 */ addi r3, r28, 0xd8
/* 8013C10C 00137F4C 38 84 7B A0 */ addi r4, r4, __ct__Q36nw4hbm2ut5ColorFv@l
/* 8013C110 00137F50 38 A5 5C 40 */ addi r5, r5, __dt__Q36nw4hbm2ut5ColorFv@l
/* 8013C114 00137F54 38 C0 00 04 */ li r6, 0x4
/* 8013C118 00137F58 38 E0 00 02 */ li r7, 0x2
/* 8013C11C 00137F5C 4B EC AF 09 */ bl __construct_array
/* 8013C120 00137F60 3C 60 80 41 */ lis r3, "@9376"@ha
/* 8013C124 00137F64 C0 03 E2 58 */ lfs f0, "@9376"@l(r3)
/* 8013C128 00137F68 D0 1C 00 E4 */ stfs f0, 0xe4(r28)
/* 8013C12C 00137F6C D0 1C 00 E8 */ stfs f0, 0xe8(r28)
/* 8013C130 00137F70 A0 1D 00 4C */ lhz r0, 0x4c(r29)
/* 8013C134 00137F74 54 1F FC 3F */ extrwi. r31, r0, 16, 15
/* 8013C138 00137F78 41 82 00 0C */ beq lbl_8013C144
/* 8013C13C 00137F7C 38 1F FF FF */ addi r0, r31, -0x1
/* 8013C140 00137F80 54 1F 04 3E */ clrlwi r31, r0, 16
.global lbl_8013C144
lbl_8013C144:
/* 8013C144 00137F84 3C 60 55 55 */ lis r3, 0x5555
/* 8013C148 00137F88 88 1C 00 FC */ lbz r0, 0xfc(r28)
/* 8013C14C 00137F8C 39 03 55 56 */ addi r8, r3, 0x5556
/* 8013C150 00137F90 39 20 00 00 */ li r9, 0x0
/* 8013C154 00137F94 7C A8 00 96 */ mulhw r5, r8, r0
/* 8013C158 00137F98 3C 60 80 41 */ lis r3, "@9376"@ha
/* 8013C15C 00137F9C C0 03 E2 58 */ lfs f0, "@9376"@l(r3)
/* 8013C160 00137FA0 38 80 00 00 */ li r4, 0x0
/* 8013C164 00137FA4 91 3C 00 D4 */ stw r9, 0xd4(r28)
/* 8013C168 00137FA8 38 7C 00 FD */ addi r3, r28, 0xfd
/* 8013C16C 00137FAC 54 A0 0F FE */ srwi r0, r5, 31
/* 8013C170 00137FB0 B1 3C 00 F8 */ sth r9, 0xf8(r28)
/* 8013C174 00137FB4 7C 05 02 14 */ add r0, r5, r0
/* 8013C178 00137FB8 38 A0 00 01 */ li r5, 0x1
/* 8013C17C 00137FBC 54 06 06 3E */ clrlwi r6, r0, 24
/* 8013C180 00137FC0 B1 3C 00 FA */ sth r9, 0xfa(r28)
/* 8013C184 00137FC4 54 00 15 BA */ rlwinm r0, r0, 2, 22, 29
/* 8013C188 00137FC8 7C C6 00 50 */ subf r6, r6, r0
/* 8013C18C 00137FCC 91 3C 00 E0 */ stw r9, 0xe0(r28)
/* 8013C190 00137FD0 38 06 00 01 */ addi r0, r6, 0x1
/* 8013C194 00137FD4 54 07 06 3E */ clrlwi r7, r0, 24
/* 8013C198 00137FD8 D0 01 00 08 */ stfs f0, 0x8(r1)
/* 8013C19C 00137FDC 7C C8 38 96 */ mulhw r6, r8, r7
/* 8013C1A0 00137FE0 D0 01 00 0C */ stfs f0, 0xc(r1)
/* 8013C1A4 00137FE4 D0 1C 00 E4 */ stfs f0, 0xe4(r28)
/* 8013C1A8 00137FE8 54 C0 0F FE */ srwi r0, r6, 31
/* 8013C1AC 00137FEC D0 1C 00 E8 */ stfs f0, 0xe8(r28)
/* 8013C1B0 00137FF0 7C 06 02 14 */ add r0, r6, r0
/* 8013C1B4 00137FF4 1C 00 00 03 */ mulli r0, r0, 0x3
/* 8013C1B8 00137FF8 D0 1C 00 EC */ stfs f0, 0xec(r28)
/* 8013C1BC 00137FFC D0 1C 00 F0 */ stfs f0, 0xf0(r28)
/* 8013C1C0 00138000 7C 00 38 50 */ subf r0, r0, r7
/* 8013C1C4 00138004 54 06 06 3E */ clrlwi r6, r0, 24
/* 8013C1C8 00138008 91 3C 00 F4 */ stw r9, 0xf4(r28)
/* 8013C1CC 0013800C 38 06 00 03 */ addi r0, r6, 0x3
/* 8013C1D0 00138010 98 1C 00 FC */ stb r0, 0xfc(r28)
/* 8013C1D4 00138014 4B EC 81 7D */ bl memset
/* 8013C1D8 00138018 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8013C1DC 0013801C 41 82 00 1C */ beq lbl_8013C1F8
/* 8013C1E0 00138020 81 9C 00 00 */ lwz r12, 0x0(r28)
/* 8013C1E4 00138024 7F 83 E3 78 */ mr r3, r28
/* 8013C1E8 00138028 7F E4 FB 78 */ mr r4, r31
/* 8013C1EC 0013802C 81 8C 00 64 */ lwz r12, 0x64(r12)
/* 8013C1F0 00138030 7D 89 03 A6 */ mtctr r12
/* 8013C1F4 00138034 4E 80 04 21 */ bctrl
.global lbl_8013C1F8
lbl_8013C1F8:
/* 8013C1F8 00138038 A0 9D 00 4E */ lhz r4, 0x4e(r29)
/* 8013C1FC 0013803C 28 04 00 02 */ cmplwi r4, 0x2
/* 8013C200 00138040 41 80 00 3C */ blt lbl_8013C23C
/* 8013C204 00138044 80 1C 00 D4 */ lwz r0, 0xd4(r28)
/* 8013C208 00138048 2C 00 00 00 */ cmpwi r0, 0x0
/* 8013C20C 0013804C 41 82 00 30 */ beq lbl_8013C23C
/* 8013C210 00138050 81 9C 00 00 */ lwz r12, 0x0(r28)
/* 8013C214 00138054 54 84 FC 7E */ extrwi r4, r4, 15, 16
/* 8013C218 00138058 38 04 FF FF */ addi r0, r4, -0x1
/* 8013C21C 0013805C 80 9D 00 58 */ lwz r4, 0x58(r29)
/* 8013C220 00138060 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 8013C224 00138064 7F 83 E3 78 */ mr r3, r28
/* 8013C228 00138068 54 06 04 3E */ clrlwi r6, r0, 16
/* 8013C22C 0013806C 38 A0 00 00 */ li r5, 0x0
/* 8013C230 00138070 7C 9D 22 14 */ add r4, r29, r4
/* 8013C234 00138074 7D 89 03 A6 */ mtctr r12
/* 8013C238 00138078 4E 80 04 21 */ bctrl
.global lbl_8013C23C
lbl_8013C23C:
/* 8013C23C 0013807C 80 1D 00 5C */ lwz r0, 0x5c(r29)
/* 8013C240 00138080 90 1C 00 D8 */ stw r0, 0xd8(r28)
/* 8013C244 00138084 80 7E 00 04 */ lwz r3, 0x4(r30)
/* 8013C248 00138088 80 1D 00 60 */ lwz r0, 0x60(r29)
/* 8013C24C 0013808C 90 1C 00 DC */ stw r0, 0xdc(r28)
/* 8013C250 00138090 38 83 00 0C */ addi r4, r3, 0xc
/* 8013C254 00138094 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8013C258 00138098 C0 1D 00 64 */ lfs f0, 0x64(r29)
/* 8013C25C 0013809C D0 1C 00 E4 */ stfs f0, 0xe4(r28)
/* 8013C260 001380A0 C0 1D 00 68 */ lfs f0, 0x68(r29)
/* 8013C264 001380A4 D0 1C 00 E8 */ stfs f0, 0xe8(r28)
/* 8013C268 001380A8 88 1D 00 54 */ lbz r0, 0x54(r29)
/* 8013C26C 001380AC 98 1C 00 FC */ stb r0, 0xfc(r28)
/* 8013C270 001380B0 C0 1D 00 6C */ lfs f0, 0x6c(r29)
/* 8013C274 001380B4 D0 1C 00 F0 */ stfs f0, 0xf0(r28)
/* 8013C278 001380B8 C0 1D 00 70 */ lfs f0, 0x70(r29)
/* 8013C27C 001380BC D0 1C 00 EC */ stfs f0, 0xec(r28)
/* 8013C280 001380C0 A0 1D 00 52 */ lhz r0, 0x52(r29)
/* 8013C284 001380C4 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013C288 001380C8 54 00 18 38 */ slwi r0, r0, 3
/* 8013C28C 001380CC 7C 04 00 2E */ lwzx r0, r4, r0
/* 8013C290 001380D0 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8013C294 001380D4 7F E4 02 14 */ add r31, r4, r0
/* 8013C298 001380D8 7F E4 FB 78 */ mr r4, r31
/* 8013C29C 001380DC 7D 89 03 A6 */ mtctr r12
/* 8013C2A0 001380E0 4E 80 04 21 */ bctrl
/* 8013C2A4 001380E4 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013C2A8 001380E8 41 82 00 0C */ beq lbl_8013C2B4
/* 8013C2AC 001380EC 90 7C 00 E0 */ stw r3, 0xe0(r28)
/* 8013C2B0 001380F0 48 00 00 78 */ b lbl_8013C328
.global lbl_8013C2B4
lbl_8013C2B4:
/* 8013C2B4 001380F4 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 8013C2B8 001380F8 3C 80 66 6F */ lis r4, 0x666f
/* 8013C2BC 001380FC 7F E5 FB 78 */ mr r5, r31
/* 8013C2C0 00138100 38 C0 00 00 */ li r6, 0x0
/* 8013C2C4 00138104 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013C2C8 00138108 38 84 6E 74 */ addi r4, r4, 0x6e74
/* 8013C2CC 0013810C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013C2D0 00138110 7D 89 03 A6 */ mtctr r12
/* 8013C2D4 00138114 4E 80 04 21 */ bctrl
/* 8013C2D8 00138118 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013C2DC 0013811C 7C 7B 1B 78 */ mr r27, r3
/* 8013C2E0 00138120 41 82 00 48 */ beq lbl_8013C328
/* 8013C2E4 00138124 3C 60 80 54 */ lis r3, mspAllocator__Q36nw4hbm3lyt6Layout@ha
/* 8013C2E8 00138128 38 80 00 18 */ li r4, 0x18
/* 8013C2EC 0013812C 80 63 37 70 */ lwz r3, mspAllocator__Q36nw4hbm3lyt6Layout@l(r3)
/* 8013C2F0 00138130 4B F6 75 01 */ bl MEMAllocFromAllocator
/* 8013C2F4 00138134 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013C2F8 00138138 41 82 00 30 */ beq lbl_8013C328
/* 8013C2FC 0013813C 7C 7F 1B 78 */ mr r31, r3
/* 8013C300 00138140 41 82 00 0C */ beq lbl_8013C30C
/* 8013C304 00138144 48 00 55 CD */ bl __ct__Q36nw4hbm2ut7ResFontFv
/* 8013C308 00138148 7C 7F 1B 78 */ mr r31, r3
.global lbl_8013C30C
lbl_8013C30C:
/* 8013C30C 0013814C 7F E3 FB 78 */ mr r3, r31
/* 8013C310 00138150 7F 64 DB 78 */ mr r4, r27
/* 8013C314 00138154 48 00 56 5D */ bl SetResource__Q36nw4hbm2ut7ResFontFPv
/* 8013C318 00138158 88 1C 00 FD */ lbz r0, 0xfd(r28)
/* 8013C31C 0013815C 93 FC 00 E0 */ stw r31, 0xe0(r28)
/* 8013C320 00138160 60 00 00 80 */ ori r0, r0, 0x80
/* 8013C324 00138164 98 1C 00 FD */ stb r0, 0xfd(r28)
.global lbl_8013C328
lbl_8013C328:
/* 8013C328 00138168 3C 60 80 54 */ lis r3, mspAllocator__Q36nw4hbm3lyt6Layout@ha
/* 8013C32C 0013816C 38 80 00 5C */ li r4, 0x5c
/* 8013C330 00138170 80 63 37 70 */ lwz r3, mspAllocator__Q36nw4hbm3lyt6Layout@l(r3)
/* 8013C334 00138174 4B F6 74 BD */ bl MEMAllocFromAllocator
/* 8013C338 00138178 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013C33C 0013817C 41 82 00 2C */ beq lbl_8013C368
/* 8013C340 00138180 A0 1D 00 50 */ lhz r0, 0x50(r29)
/* 8013C344 00138184 80 BE 00 08 */ lwz r5, 0x8(r30)
/* 8013C348 00138188 54 00 10 3A */ slwi r0, r0, 2
/* 8013C34C 0013818C 7C 85 02 14 */ add r4, r5, r0
/* 8013C350 00138190 80 04 00 0C */ lwz r0, 0xc(r4)
/* 8013C354 00138194 7C 85 02 14 */ add r4, r5, r0
/* 8013C358 00138198 41 82 00 0C */ beq lbl_8013C364
/* 8013C35C 0013819C 7F C5 F3 78 */ mr r5, r30
/* 8013C360 001381A0 4B FF B8 51 */ bl __ct__Q36nw4hbm3lyt8MaterialFPCQ46nw4hbm3lyt3res8MaterialRCQ36nw4hbm3lyt11ResBlockSet
.global lbl_8013C364
lbl_8013C364:
/* 8013C364 001381A4 90 7C 00 28 */ stw r3, 0x28(r28)
.global lbl_8013C368
lbl_8013C368:
/* 8013C368 001381A8 39 61 00 30 */ addi r11, r1, 0x30
/* 8013C36C 001381AC 7F 83 E3 78 */ mr r3, r28
/* 8013C370 001381B0 4B EC B0 19 */ bl lbl_80007388
/* 8013C374 001381B4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8013C378 001381B8 7C 08 03 A6 */ mtlr r0
/* 8013C37C 001381BC 38 21 00 30 */ addi r1, r1, 0x30
/* 8013C380 001381C0 4E 80 00 20 */ blr
/* 8013C384 001381C4 00 00 00 00 */ .4byte 0x00000000
/* 8013C388 001381C8 00 00 00 00 */ .4byte 0x00000000
/* 8013C38C 001381CC 00 00 00 00 */ .4byte 0x00000000
.global __dt__Q36nw4hbm3lyt7TextBoxFv
__dt__Q36nw4hbm3lyt7TextBoxFv:
/* 8013C390 001381D0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8013C394 001381D4 7C 08 02 A6 */ mflr r0
/* 8013C398 001381D8 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013C39C 001381DC 90 01 00 34 */ stw r0, 0x34(r1)
/* 8013C3A0 001381E0 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8013C3A4 001381E4 7C 9F 23 78 */ mr r31, r4
/* 8013C3A8 001381E8 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8013C3AC 001381EC 7C 7E 1B 78 */ mr r30, r3
/* 8013C3B0 001381F0 41 82 01 54 */ beq lbl_8013C504
/* 8013C3B4 001381F4 88 03 00 FD */ lbz r0, 0xfd(r3)
/* 8013C3B8 001381F8 3C 80 80 44 */ lis r4, __vt__Q36nw4hbm3lyt7TextBox@ha
/* 8013C3BC 001381FC 38 84 41 BC */ addi r4, r4, __vt__Q36nw4hbm3lyt7TextBox@l
/* 8013C3C0 00138200 90 83 00 00 */ stw r4, 0x0(r3)
/* 8013C3C4 00138204 54 00 CF FF */ extrwi. r0, r0, 1, 24
/* 8013C3C8 00138208 41 82 00 38 */ beq lbl_8013C400
/* 8013C3CC 0013820C 80 63 00 E0 */ lwz r3, 0xe0(r3)
/* 8013C3D0 00138210 38 80 FF FF */ li r4, -0x1
/* 8013C3D4 00138214 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013C3D8 00138218 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 8013C3DC 0013821C 7D 89 03 A6 */ mtctr r12
/* 8013C3E0 00138220 4E 80 04 21 */ bctrl
/* 8013C3E4 00138224 3C 60 80 54 */ lis r3, mspAllocator__Q36nw4hbm3lyt6Layout@ha
/* 8013C3E8 00138228 80 9E 00 E0 */ lwz r4, 0xe0(r30)
/* 8013C3EC 0013822C 80 63 37 70 */ lwz r3, mspAllocator__Q36nw4hbm3lyt6Layout@l(r3)
/* 8013C3F0 00138230 4B F6 74 11 */ bl MEMFreeToAllocator
/* 8013C3F4 00138234 88 1E 00 FD */ lbz r0, 0xfd(r30)
/* 8013C3F8 00138238 54 00 06 6E */ rlwinm r0, r0, 0, 25, 23
/* 8013C3FC 0013823C 98 1E 00 FD */ stb r0, 0xfd(r30)
.global lbl_8013C400
lbl_8013C400:
/* 8013C400 00138240 38 00 00 00 */ li r0, 0x0
/* 8013C404 00138244 90 1E 00 E0 */ stw r0, 0xe0(r30)
/* 8013C408 00138248 48 00 00 58 */ b lbl_8013C460
/* 8013C40C 0013824C 4E 80 04 21 */ bctrl
/* 8013C410 00138250 6C 60 80 00 */ xoris r0, r3, 0x8000
/* 8013C414 00138254 80 7E 00 E0 */ lwz r3, 0xe0(r30)
/* 8013C418 00138258 3C 80 43 30 */ lis r4, 0x4330
/* 8013C41C 0013825C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8013C420 00138260 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013C424 00138264 90 81 00 18 */ stw r4, 0x18(r1)
/* 8013C428 00138268 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8013C42C 0013826C 7D 89 03 A6 */ mtctr r12
/* 8013C430 00138270 4E 80 04 21 */ bctrl
/* 8013C434 00138274 6C 60 80 00 */ xoris r0, r3, 0x8000
/* 8013C438 00138278 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013C43C 0013827C C8 23 E2 60 */ lfd f1, -0x1da0(r3)
/* 8013C440 00138280 90 81 00 20 */ stw r4, 0x20(r1)
/* 8013C444 00138284 C8 01 00 20 */ lfd f0, 0x20(r1)
/* 8013C448 00138288 D0 41 00 0C */ stfs f2, 0xc(r1)
/* 8013C44C 0013828C EC 00 08 28 */ fsubs f0, f0, f1
/* 8013C450 00138290 D0 5E 00 E8 */ stfs f2, 0xe8(r30)
/* 8013C454 00138294 D0 01 00 08 */ stfs f0, 0x8(r1)
/* 8013C458 00138298 D0 1E 00 E4 */ stfs f0, 0xe4(r30)
/* 8013C45C 0013829C 48 00 00 1C */ b lbl_8013C478
.global lbl_8013C460
lbl_8013C460:
/* 8013C460 001382A0 3C 60 80 41 */ lis r3, "@9376"@ha
/* 8013C464 001382A4 C0 03 E2 58 */ lfs f0, "@9376"@l(r3)
/* 8013C468 001382A8 D0 01 00 10 */ stfs f0, 0x10(r1)
/* 8013C46C 001382AC D0 01 00 14 */ stfs f0, 0x14(r1)
/* 8013C470 001382B0 D0 1E 00 E4 */ stfs f0, 0xe4(r30)
/* 8013C474 001382B4 D0 1E 00 E8 */ stfs f0, 0xe8(r30)
.global lbl_8013C478
lbl_8013C478:
/* 8013C478 001382B8 80 7E 00 28 */ lwz r3, 0x28(r30)
/* 8013C47C 001382BC 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013C480 001382C0 41 82 00 3C */ beq lbl_8013C4BC
/* 8013C484 001382C4 88 03 00 54 */ lbz r0, 0x54(r3)
/* 8013C488 001382C8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8013C48C 001382CC 40 82 00 30 */ bne lbl_8013C4BC
/* 8013C490 001382D0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013C494 001382D4 38 80 FF FF */ li r4, -0x1
/* 8013C498 001382D8 81 8C 00 08 */ lwz r12, 0x8(r12)
/* 8013C49C 001382DC 7D 89 03 A6 */ mtctr r12
/* 8013C4A0 001382E0 4E 80 04 21 */ bctrl
/* 8013C4A4 001382E4 3C 60 80 54 */ lis r3, mspAllocator__Q36nw4hbm3lyt6Layout@ha
/* 8013C4A8 001382E8 80 9E 00 28 */ lwz r4, 0x28(r30)
/* 8013C4AC 001382EC 80 63 37 70 */ lwz r3, mspAllocator__Q36nw4hbm3lyt6Layout@l(r3)
/* 8013C4B0 001382F0 4B F6 73 51 */ bl MEMFreeToAllocator
/* 8013C4B4 001382F4 38 00 00 00 */ li r0, 0x0
/* 8013C4B8 001382F8 90 1E 00 28 */ stw r0, 0x28(r30)
.global lbl_8013C4BC
lbl_8013C4BC:
/* 8013C4BC 001382FC 81 9E 00 00 */ lwz r12, 0x0(r30)
/* 8013C4C0 00138300 7F C3 F3 78 */ mr r3, r30
/* 8013C4C4 00138304 81 8C 00 68 */ lwz r12, 0x68(r12)
/* 8013C4C8 00138308 7D 89 03 A6 */ mtctr r12
/* 8013C4CC 0013830C 4E 80 04 21 */ bctrl
/* 8013C4D0 00138310 3C 80 80 13 */ lis r4, __dt__Q36nw4hbm2ut5ColorFv@ha
/* 8013C4D4 00138314 38 7E 00 D8 */ addi r3, r30, 0xd8
/* 8013C4D8 00138318 38 84 5C 40 */ addi r4, r4, __dt__Q36nw4hbm2ut5ColorFv@l
/* 8013C4DC 0013831C 38 A0 00 04 */ li r5, 0x4
/* 8013C4E0 00138320 38 C0 00 02 */ li r6, 0x2
/* 8013C4E4 00138324 4B EC AC 39 */ bl __destroy_arr
/* 8013C4E8 00138328 7F C3 F3 78 */ mr r3, r30
/* 8013C4EC 0013832C 38 80 00 00 */ li r4, 0x0
/* 8013C4F0 00138330 4B FF E6 B1 */ bl __dt__Q36nw4hbm3lyt4PaneFv
/* 8013C4F4 00138334 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8013C4F8 00138338 40 81 00 0C */ ble lbl_8013C504
/* 8013C4FC 0013833C 7F C3 F3 78 */ mr r3, r30
/* 8013C500 00138340 48 08 32 15 */ bl __dl__FPv
.global lbl_8013C504
lbl_8013C504:
/* 8013C504 00138344 7F C3 F3 78 */ mr r3, r30
/* 8013C508 00138348 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8013C50C 0013834C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8013C510 00138350 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8013C514 00138354 7C 08 03 A6 */ mtlr r0
/* 8013C518 00138358 38 21 00 30 */ addi r1, r1, 0x30
/* 8013C51C 0013835C 4E 80 00 20 */ blr
.global GetVtxColor__Q36nw4hbm3lyt7TextBoxCFUl
GetVtxColor__Q36nw4hbm3lyt7TextBoxCFUl:
/* 8013C520 00138360 54 A0 08 3A */ extlwi r0, r5, 30, 1
/* 8013C524 00138364 7C 84 02 14 */ add r4, r4, r0
/* 8013C528 00138368 80 04 00 D8 */ lwz r0, 0xd8(r4)
/* 8013C52C 0013836C 90 03 00 00 */ stw r0, 0x0(r3)
/* 8013C530 00138370 4E 80 00 20 */ blr
/* 8013C534 00138374 00 00 00 00 */ .4byte 0x00000000
/* 8013C538 00138378 00 00 00 00 */ .4byte 0x00000000
/* 8013C53C 0013837C 00 00 00 00 */ .4byte 0x00000000
.global SetVtxColor__Q36nw4hbm3lyt7TextBoxFUlQ36nw4hbm2ut5Color
SetVtxColor__Q36nw4hbm3lyt7TextBoxFUlQ36nw4hbm2ut5Color:
/* 8013C540 00138380 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8013C544 00138384 54 84 08 3A */ extlwi r4, r4, 30, 1
/* 8013C548 00138388 7C 63 22 14 */ add r3, r3, r4
/* 8013C54C 0013838C 80 05 00 00 */ lwz r0, 0x0(r5)
/* 8013C550 00138390 90 01 00 08 */ stw r0, 0x8(r1)
/* 8013C554 00138394 88 01 00 08 */ lbz r0, 0x8(r1)
/* 8013C558 00138398 98 03 00 D8 */ stb r0, 0xd8(r3)
/* 8013C55C 0013839C 88 01 00 09 */ lbz r0, 0x9(r1)
/* 8013C560 001383A0 98 03 00 D9 */ stb r0, 0xd9(r3)
/* 8013C564 001383A4 88 01 00 0A */ lbz r0, 0xa(r1)
/* 8013C568 001383A8 98 03 00 DA */ stb r0, 0xda(r3)
/* 8013C56C 001383AC 88 01 00 0B */ lbz r0, 0xb(r1)
/* 8013C570 001383B0 98 03 00 DB */ stb r0, 0xdb(r3)
/* 8013C574 001383B4 38 21 00 10 */ addi r1, r1, 0x10
/* 8013C578 001383B8 4E 80 00 20 */ blr
/* 8013C57C 001383BC 00 00 00 00 */ .4byte 0x00000000
.global GetVtxColorElement__Q36nw4hbm3lyt7TextBoxCFUl
GetVtxColorElement__Q36nw4hbm3lyt7TextBoxCFUl:
/* 8013C580 001383C0 54 85 F8 7A */ rlwinm r5, r4, 31, 1, 29
/* 8013C584 001383C4 54 80 07 BE */ clrlwi r0, r4, 30
/* 8013C588 001383C8 7C 63 2A 14 */ add r3, r3, r5
/* 8013C58C 001383CC 7C 63 02 14 */ add r3, r3, r0
/* 8013C590 001383D0 88 63 00 D8 */ lbz r3, 0xd8(r3)
/* 8013C594 001383D4 4E 80 00 20 */ blr
/* 8013C598 001383D8 00 00 00 00 */ .4byte 0x00000000
/* 8013C59C 001383DC 00 00 00 00 */ .4byte 0x00000000
.global SetVtxColorElement__Q36nw4hbm3lyt7TextBoxFUlUc
SetVtxColorElement__Q36nw4hbm3lyt7TextBoxFUlUc:
/* 8013C5A0 001383E0 54 86 F8 7A */ rlwinm r6, r4, 31, 1, 29
/* 8013C5A4 001383E4 54 80 07 BE */ clrlwi r0, r4, 30
/* 8013C5A8 001383E8 7C 63 32 14 */ add r3, r3, r6
/* 8013C5AC 001383EC 7C 63 02 14 */ add r3, r3, r0
/* 8013C5B0 001383F0 98 A3 00 D8 */ stb r5, 0xd8(r3)
/* 8013C5B4 001383F4 4E 80 00 20 */ blr
/* 8013C5B8 001383F8 00 00 00 00 */ .4byte 0x00000000
/* 8013C5BC 001383FC 00 00 00 00 */ .4byte 0x00000000
.global DrawSelf__Q36nw4hbm3lyt7TextBoxFRCQ36nw4hbm3lyt8DrawInfo
DrawSelf__Q36nw4hbm3lyt7TextBoxFRCQ36nw4hbm3lyt8DrawInfo:
/* 8013C5C0 00138400 94 21 FD E0 */ stwu r1, -0x220(r1)
/* 8013C5C4 00138404 7C 08 02 A6 */ mflr r0
/* 8013C5C8 00138408 90 01 02 24 */ stw r0, 0x224(r1)
/* 8013C5CC 0013840C 39 61 01 E0 */ addi r11, r1, 0x1e0
/* 8013C5D0 00138410 DB E1 02 10 */ stfd f31, 0x210(r1)
/* 8013C5D4 00138414 F3 E1 02 18 */ psq_st f31, 0x218(r1), 0, qr0
/* 8013C5D8 00138418 DB C1 02 00 */ stfd f30, 0x200(r1)
/* 8013C5DC 0013841C F3 C1 02 08 */ psq_st f30, 0x208(r1), 0, qr0
/* 8013C5E0 00138420 DB A1 01 F0 */ stfd f29, 0x1f0(r1)
/* 8013C5E4 00138424 F3 A1 01 F8 */ psq_st f29, 0x1f8(r1), 0, qr0
/* 8013C5E8 00138428 DB 81 01 E0 */ stfd f28, 0x1e0(r1)
/* 8013C5EC 0013842C F3 81 01 E8 */ psq_st f28, 0x1e8(r1), 0, qr0
/* 8013C5F0 00138430 4B EC AD 19 */ bl __save_gpr
/* 8013C5F4 00138434 80 03 00 D4 */ lwz r0, 0xd4(r3)
/* 8013C5F8 00138438 3F E0 80 41 */ lis r31, "@9376"@ha
/* 8013C5FC 0013843C 7C 7E 1B 78 */ mr r30, r3
/* 8013C600 00138440 2C 00 00 00 */ cmpwi r0, 0x0
/* 8013C604 00138444 3B FF E2 58 */ addi r31, r31, "@9376"@l
/* 8013C608 00138448 41 82 06 94 */ beq lbl_8013CC9C
/* 8013C60C 0013844C 80 03 00 E0 */ lwz r0, 0xe0(r3)
/* 8013C610 00138450 2C 00 00 00 */ cmpwi r0, 0x0
/* 8013C614 00138454 41 82 06 88 */ beq lbl_8013CC9C
/* 8013C618 00138458 80 03 00 28 */ lwz r0, 0x28(r3)
/* 8013C61C 0013845C 2C 00 00 00 */ cmpwi r0, 0x0
/* 8013C620 00138460 40 82 00 08 */ bne lbl_8013C628
/* 8013C624 00138464 48 00 06 78 */ b lbl_8013CC9C
.global lbl_8013C628
lbl_8013C628:
/* 8013C628 00138468 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013C62C 0013846C 81 8C 00 60 */ lwz r12, 0x60(r12)
/* 8013C630 00138470 7D 89 03 A6 */ mtctr r12
/* 8013C634 00138474 4E 80 04 21 */ bctrl
/* 8013C638 00138478 38 61 01 38 */ addi r3, r1, 0x138
/* 8013C63C 0013847C 48 00 8D C5 */ bl "__ct__Q36nw4hbm2ut17TextWriterBase<w>Fv"
/* 8013C640 00138480 80 9E 00 E0 */ lwz r4, 0xe0(r30)
/* 8013C644 00138484 38 61 01 38 */ addi r3, r1, 0x138
/* 8013C648 00138488 48 00 3B 59 */ bl SetFont__Q36nw4hbm2ut10CharWriterFRCQ36nw4hbm2ut4Font
/* 8013C64C 0013848C C0 3E 00 E4 */ lfs f1, 0xe4(r30)
/* 8013C650 00138490 38 61 01 38 */ addi r3, r1, 0x138
/* 8013C654 00138494 C0 5E 00 E8 */ lfs f2, 0xe8(r30)
/* 8013C658 00138498 48 00 47 F9 */ bl SetFontSize__Q36nw4hbm2ut10CharWriterFff
/* 8013C65C 0013849C C0 3E 00 EC */ lfs f1, 0xec(r30)
/* 8013C660 001384A0 38 61 01 38 */ addi r3, r1, 0x138
/* 8013C664 001384A4 48 00 8F 8D */ bl "SetLineSpace__Q36nw4hbm2ut17TextWriterBase<w>Ff"
/* 8013C668 001384A8 C0 3E 00 F0 */ lfs f1, 0xf0(r30)
/* 8013C66C 001384AC 38 61 01 38 */ addi r3, r1, 0x138
/* 8013C670 001384B0 48 00 8F 91 */ bl "SetCharSpace__Q36nw4hbm2ut17TextWriterBase<w>Ff"
/* 8013C674 001384B4 80 1E 00 D8 */ lwz r0, 0xd8(r30)
/* 8013C678 001384B8 38 61 00 30 */ addi r3, r1, 0x30
/* 8013C67C 001384BC 90 01 00 28 */ stw r0, 0x28(r1)
/* 8013C680 001384C0 38 81 00 28 */ addi r4, r1, 0x28
/* 8013C684 001384C4 88 BE 00 CE */ lbz r5, 0xce(r30)
/* 8013C688 001384C8 4B FC 1A 59 */ bl MultipleAlpha__Q34nw4r3lyt6detailFQ34nw4r2ut5ColorUc
/* 8013C68C 001384CC 80 1E 00 DC */ lwz r0, 0xdc(r30)
/* 8013C690 001384D0 38 61 00 2C */ addi r3, r1, 0x2c
/* 8013C694 001384D4 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013C698 001384D8 38 81 00 24 */ addi r4, r1, 0x24
/* 8013C69C 001384DC 88 BE 00 CE */ lbz r5, 0xce(r30)
/* 8013C6A0 001384E0 4B FC 1A 41 */ bl MultipleAlpha__Q34nw4r3lyt6detailFQ34nw4r2ut5ColorUc
/* 8013C6A4 001384E4 80 A1 00 30 */ lwz r5, 0x30(r1)
/* 8013C6A8 001384E8 38 61 01 38 */ addi r3, r1, 0x138
/* 8013C6AC 001384EC 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8013C6B0 001384F0 38 80 00 00 */ li r4, 0x0
/* 8013C6B4 001384F4 7C 05 00 40 */ cmplw r5, r0
/* 8013C6B8 001384F8 41 82 00 08 */ beq lbl_8013C6C0
/* 8013C6BC 001384FC 38 80 00 02 */ li r4, 0x2
.global lbl_8013C6C0
lbl_8013C6C0:
/* 8013C6C0 00138500 48 00 44 A1 */ bl SetGradationMode__Q36nw4hbm2ut10CharWriterFQ46nw4hbm2ut10CharWriter13GradationMode
/* 8013C6C4 00138504 80 A1 00 30 */ lwz r5, 0x30(r1)
/* 8013C6C8 00138508 38 61 01 38 */ addi r3, r1, 0x138
/* 8013C6CC 0013850C 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 8013C6D0 00138510 38 81 00 20 */ addi r4, r1, 0x20
/* 8013C6D4 00138514 90 A1 00 20 */ stw r5, 0x20(r1)
/* 8013C6D8 00138518 38 A1 00 1C */ addi r5, r1, 0x1c
/* 8013C6DC 0013851C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8013C6E0 00138520 48 00 45 D1 */ bl SetTextColor__Q36nw4hbm2ut10CharWriterFQ36nw4hbm2ut5ColorQ36nw4hbm2ut5Color
/* 8013C6E4 00138524 80 7E 00 28 */ lwz r3, 0x28(r30)
/* 8013C6E8 00138528 80 03 00 24 */ lwz r0, 0x24(r3)
/* 8013C6EC 0013852C 90 01 00 50 */ stw r0, 0x50(r1)
/* 8013C6F0 00138530 80 03 00 28 */ lwz r0, 0x28(r3)
/* 8013C6F4 00138534 A8 61 00 50 */ lha r3, 0x50(r1)
/* 8013C6F8 00138538 90 01 00 54 */ stw r0, 0x54(r1)
/* 8013C6FC 0013853C 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013C700 00138540 40 80 00 0C */ bge lbl_8013C70C
/* 8013C704 00138544 38 00 00 00 */ li r0, 0x0
/* 8013C708 00138548 48 00 00 14 */ b lbl_8013C71C
.global lbl_8013C70C
lbl_8013C70C:
/* 8013C70C 0013854C 2C 03 00 FF */ cmpwi r3, 0xff
/* 8013C710 00138550 38 00 00 FF */ li r0, 0xff
/* 8013C714 00138554 41 81 00 08 */ bgt lbl_8013C71C
/* 8013C718 00138558 7C 60 1B 78 */ mr r0, r3
.global lbl_8013C71C
lbl_8013C71C:
/* 8013C71C 0013855C A8 61 00 52 */ lha r3, 0x52(r1)
/* 8013C720 00138560 98 01 00 10 */ stb r0, 0x10(r1)
/* 8013C724 00138564 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013C728 00138568 40 80 00 0C */ bge lbl_8013C734
/* 8013C72C 0013856C 38 00 00 00 */ li r0, 0x0
/* 8013C730 00138570 48 00 00 14 */ b lbl_8013C744
.global lbl_8013C734
lbl_8013C734:
/* 8013C734 00138574 2C 03 00 FF */ cmpwi r3, 0xff
/* 8013C738 00138578 38 00 00 FF */ li r0, 0xff
/* 8013C73C 0013857C 41 81 00 08 */ bgt lbl_8013C744
/* 8013C740 00138580 7C 60 1B 78 */ mr r0, r3
.global lbl_8013C744
lbl_8013C744:
/* 8013C744 00138584 A8 61 00 54 */ lha r3, 0x54(r1)
/* 8013C748 00138588 98 01 00 11 */ stb r0, 0x11(r1)
/* 8013C74C 0013858C 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013C750 00138590 40 80 00 0C */ bge lbl_8013C75C
/* 8013C754 00138594 38 00 00 00 */ li r0, 0x0
/* 8013C758 00138598 48 00 00 14 */ b lbl_8013C76C
.global lbl_8013C75C
lbl_8013C75C:
/* 8013C75C 0013859C 2C 03 00 FF */ cmpwi r3, 0xff
/* 8013C760 001385A0 38 00 00 FF */ li r0, 0xff
/* 8013C764 001385A4 41 81 00 08 */ bgt lbl_8013C76C
/* 8013C768 001385A8 7C 60 1B 78 */ mr r0, r3
.global lbl_8013C76C
lbl_8013C76C:
/* 8013C76C 001385AC A8 61 00 56 */ lha r3, 0x56(r1)
/* 8013C770 001385B0 98 01 00 12 */ stb r0, 0x12(r1)
/* 8013C774 001385B4 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013C778 001385B8 40 80 00 0C */ bge lbl_8013C784
/* 8013C77C 001385BC 38 00 00 00 */ li r0, 0x0
/* 8013C780 001385C0 48 00 00 14 */ b lbl_8013C794
.global lbl_8013C784
lbl_8013C784:
/* 8013C784 001385C4 2C 03 00 FF */ cmpwi r3, 0xff
/* 8013C788 001385C8 38 00 00 FF */ li r0, 0xff
/* 8013C78C 001385CC 41 81 00 08 */ bgt lbl_8013C794
/* 8013C790 001385D0 7C 60 1B 78 */ mr r0, r3
.global lbl_8013C794
lbl_8013C794:
/* 8013C794 001385D4 80 7E 00 28 */ lwz r3, 0x28(r30)
/* 8013C798 001385D8 98 01 00 13 */ stb r0, 0x13(r1)
/* 8013C79C 001385DC 80 03 00 2C */ lwz r0, 0x2c(r3)
/* 8013C7A0 001385E0 90 01 00 48 */ stw r0, 0x48(r1)
/* 8013C7A4 001385E4 80 03 00 30 */ lwz r0, 0x30(r3)
/* 8013C7A8 001385E8 A8 81 00 48 */ lha r4, 0x48(r1)
/* 8013C7AC 001385EC 90 01 00 4C */ stw r0, 0x4c(r1)
/* 8013C7B0 001385F0 2C 04 00 00 */ cmpwi r4, 0x0
/* 8013C7B4 001385F4 80 01 00 10 */ lwz r0, 0x10(r1)
/* 8013C7B8 001385F8 40 80 00 0C */ bge lbl_8013C7C4
/* 8013C7BC 001385FC 38 60 00 00 */ li r3, 0x0
/* 8013C7C0 00138600 48 00 00 14 */ b lbl_8013C7D4
.global lbl_8013C7C4
lbl_8013C7C4:
/* 8013C7C4 00138604 2C 04 00 FF */ cmpwi r4, 0xff
/* 8013C7C8 00138608 38 60 00 FF */ li r3, 0xff
/* 8013C7CC 0013860C 41 81 00 08 */ bgt lbl_8013C7D4
/* 8013C7D0 00138610 7C 83 23 78 */ mr r3, r4
.global lbl_8013C7D4
lbl_8013C7D4:
/* 8013C7D4 00138614 A8 81 00 4A */ lha r4, 0x4a(r1)
/* 8013C7D8 00138618 98 61 00 0C */ stb r3, 0xc(r1)
/* 8013C7DC 0013861C 2C 04 00 00 */ cmpwi r4, 0x0
/* 8013C7E0 00138620 40 80 00 0C */ bge lbl_8013C7EC
/* 8013C7E4 00138624 38 60 00 00 */ li r3, 0x0
/* 8013C7E8 00138628 48 00 00 14 */ b lbl_8013C7FC
.global lbl_8013C7EC
lbl_8013C7EC:
/* 8013C7EC 0013862C 2C 04 00 FF */ cmpwi r4, 0xff
/* 8013C7F0 00138630 38 60 00 FF */ li r3, 0xff
/* 8013C7F4 00138634 41 81 00 08 */ bgt lbl_8013C7FC
/* 8013C7F8 00138638 7C 83 23 78 */ mr r3, r4
.global lbl_8013C7FC
lbl_8013C7FC:
/* 8013C7FC 0013863C A8 81 00 4C */ lha r4, 0x4c(r1)
/* 8013C800 00138640 98 61 00 0D */ stb r3, 0xd(r1)
/* 8013C804 00138644 2C 04 00 00 */ cmpwi r4, 0x0
/* 8013C808 00138648 40 80 00 0C */ bge lbl_8013C814
/* 8013C80C 0013864C 38 60 00 00 */ li r3, 0x0
/* 8013C810 00138650 48 00 00 14 */ b lbl_8013C824
.global lbl_8013C814
lbl_8013C814:
/* 8013C814 00138654 2C 04 00 FF */ cmpwi r4, 0xff
/* 8013C818 00138658 38 60 00 FF */ li r3, 0xff
/* 8013C81C 0013865C 41 81 00 08 */ bgt lbl_8013C824
/* 8013C820 00138660 7C 83 23 78 */ mr r3, r4
.global lbl_8013C824
lbl_8013C824:
/* 8013C824 00138664 A8 81 00 4E */ lha r4, 0x4e(r1)
/* 8013C828 00138668 98 61 00 0E */ stb r3, 0xe(r1)
/* 8013C82C 0013866C 2C 04 00 00 */ cmpwi r4, 0x0
/* 8013C830 00138670 40 80 00 0C */ bge lbl_8013C83C
/* 8013C834 00138674 38 60 00 00 */ li r3, 0x0
/* 8013C838 00138678 48 00 00 14 */ b lbl_8013C84C
.global lbl_8013C83C
lbl_8013C83C:
/* 8013C83C 0013867C 2C 04 00 FF */ cmpwi r4, 0xff
/* 8013C840 00138680 38 60 00 FF */ li r3, 0xff
/* 8013C844 00138684 41 81 00 08 */ bgt lbl_8013C84C
/* 8013C848 00138688 7C 83 23 78 */ mr r3, r4
.global lbl_8013C84C
lbl_8013C84C:
/* 8013C84C 0013868C 98 61 00 0F */ stb r3, 0xf(r1)
/* 8013C850 00138690 38 61 01 38 */ addi r3, r1, 0x138
/* 8013C854 00138694 38 81 00 18 */ addi r4, r1, 0x18
/* 8013C858 00138698 38 A1 00 14 */ addi r5, r1, 0x14
/* 8013C85C 0013869C 80 C1 00 0C */ lwz r6, 0xc(r1)
/* 8013C860 001386A0 90 01 00 18 */ stw r0, 0x18(r1)
/* 8013C864 001386A4 90 C1 00 14 */ stw r6, 0x14(r1)
/* 8013C868 001386A8 48 00 42 A9 */ bl SetColorMapping__Q36nw4hbm2ut10CharWriterFQ36nw4hbm2ut5ColorQ36nw4hbm2ut5Color
/* 8013C86C 001386AC 80 9E 00 F4 */ lwz r4, 0xf4(r30)
/* 8013C870 001386B0 2C 04 00 00 */ cmpwi r4, 0x0
/* 8013C874 001386B4 41 82 00 0C */ beq lbl_8013C880
/* 8013C878 001386B8 38 61 01 38 */ addi r3, r1, 0x138
/* 8013C87C 001386BC 48 00 8D F5 */ bl "SetTagProcessor__Q36nw4hbm2ut17TextWriterBase<w>FPQ36nw4hbm2ut19TagProcessorBase<w>"
.global lbl_8013C880
lbl_8013C880:
/* 8013C880 001386C0 38 61 01 38 */ addi r3, r1, 0x138
/* 8013C884 001386C4 48 00 39 3D */ bl SetupGX__Q36nw4hbm2ut10CharWriterFv
/* 8013C888 001386C8 C0 3F 00 00 */ lfs f1, 0x0(r31)
/* 8013C88C 001386CC 38 61 01 38 */ addi r3, r1, 0x138
/* 8013C890 001386D0 D0 21 00 68 */ stfs f1, 0x68(r1)
/* 8013C894 001386D4 FC 40 08 90 */ fmr f2, f1
/* 8013C898 001386D8 D0 21 00 6C */ stfs f1, 0x6c(r1)
/* 8013C89C 001386DC D0 21 00 70 */ stfs f1, 0x70(r1)
/* 8013C8A0 001386E0 D0 21 00 74 */ stfs f1, 0x74(r1)
/* 8013C8A4 001386E4 48 00 49 2D */ bl SetCursor__Q36nw4hbm2ut10CharWriterFff
/* 8013C8A8 001386E8 C0 3E 00 4C */ lfs f1, 0x4c(r30)
/* 8013C8AC 001386EC 38 61 00 68 */ addi r3, r1, 0x68
/* 8013C8B0 001386F0 A0 DE 00 FA */ lhz r6, 0xfa(r30)
/* 8013C8B4 001386F4 38 81 00 D8 */ addi r4, r1, 0xd8
/* 8013C8B8 001386F8 80 BE 00 D4 */ lwz r5, 0xd4(r30)
/* 8013C8BC 001386FC 81 E1 01 38 */ lwz r15, 0x138(r1)
/* 8013C8C0 00138700 82 01 01 3C */ lwz r16, 0x13c(r1)
/* 8013C8C4 00138704 82 21 01 40 */ lwz r17, 0x140(r1)
/* 8013C8C8 00138708 82 41 01 44 */ lwz r18, 0x144(r1)
/* 8013C8CC 0013870C 82 61 01 48 */ lwz r19, 0x148(r1)
/* 8013C8D0 00138710 82 81 01 4C */ lwz r20, 0x14c(r1)
/* 8013C8D4 00138714 82 A1 01 50 */ lwz r21, 0x150(r1)
/* 8013C8D8 00138718 82 C1 01 54 */ lwz r22, 0x154(r1)
/* 8013C8DC 0013871C 82 E1 01 58 */ lwz r23, 0x158(r1)
/* 8013C8E0 00138720 83 01 01 5C */ lwz r24, 0x15c(r1)
/* 8013C8E4 00138724 83 21 01 60 */ lwz r25, 0x160(r1)
/* 8013C8E8 00138728 83 41 01 64 */ lwz r26, 0x164(r1)
/* 8013C8EC 0013872C 83 61 01 68 */ lwz r27, 0x168(r1)
/* 8013C8F0 00138730 83 81 01 6C */ lwz r28, 0x16c(r1)
/* 8013C8F4 00138734 83 A1 01 70 */ lwz r29, 0x170(r1)
/* 8013C8F8 00138738 81 81 01 74 */ lwz r12, 0x174(r1)
/* 8013C8FC 0013873C A1 61 01 78 */ lhz r11, 0x178(r1)
/* 8013C900 00138740 89 41 01 7A */ lbz r10, 0x17a(r1)
/* 8013C904 00138744 89 21 01 7B */ lbz r9, 0x17b(r1)
/* 8013C908 00138748 C0 61 01 7C */ lfs f3, 0x17c(r1)
/* 8013C90C 0013874C 81 01 01 80 */ lwz r8, 0x180(r1)
/* 8013C910 00138750 C0 41 01 84 */ lfs f2, 0x184(r1)
/* 8013C914 00138754 C0 01 01 88 */ lfs f0, 0x188(r1)
/* 8013C918 00138758 80 E1 01 8C */ lwz r7, 0x18c(r1)
/* 8013C91C 0013875C 80 01 01 90 */ lwz r0, 0x190(r1)
/* 8013C920 00138760 81 C1 01 94 */ lwz r14, 0x194(r1)
/* 8013C924 00138764 91 E1 00 D8 */ stw r15, 0xd8(r1)
/* 8013C928 00138768 92 01 00 DC */ stw r16, 0xdc(r1)
/* 8013C92C 0013876C 92 21 00 E0 */ stw r17, 0xe0(r1)
/* 8013C930 00138770 92 41 00 E4 */ stw r18, 0xe4(r1)
/* 8013C934 00138774 92 61 00 E8 */ stw r19, 0xe8(r1)
/* 8013C938 00138778 92 81 00 EC */ stw r20, 0xec(r1)
/* 8013C93C 0013877C 92 A1 00 F0 */ stw r21, 0xf0(r1)
/* 8013C940 00138780 92 C1 00 F4 */ stw r22, 0xf4(r1)
/* 8013C944 00138784 92 E1 00 F8 */ stw r23, 0xf8(r1)
/* 8013C948 00138788 93 01 00 FC */ stw r24, 0xfc(r1)
/* 8013C94C 0013878C 93 21 01 00 */ stw r25, 0x100(r1)
/* 8013C950 00138790 93 41 01 04 */ stw r26, 0x104(r1)
/* 8013C954 00138794 93 61 01 08 */ stw r27, 0x108(r1)
/* 8013C958 00138798 93 81 01 0C */ stw r28, 0x10c(r1)
/* 8013C95C 0013879C 93 A1 01 10 */ stw r29, 0x110(r1)
/* 8013C960 001387A0 91 81 01 14 */ stw r12, 0x114(r1)
/* 8013C964 001387A4 B1 61 01 18 */ sth r11, 0x118(r1)
/* 8013C968 001387A8 99 41 01 1A */ stb r10, 0x11a(r1)
/* 8013C96C 001387AC 99 21 01 1B */ stb r9, 0x11b(r1)
/* 8013C970 001387B0 D0 61 01 1C */ stfs f3, 0x11c(r1)
/* 8013C974 001387B4 91 01 01 20 */ stw r8, 0x120(r1)
/* 8013C978 001387B8 D0 41 01 24 */ stfs f2, 0x124(r1)
/* 8013C97C 001387BC D0 01 01 28 */ stfs f0, 0x128(r1)
/* 8013C980 001387C0 90 E1 01 2C */ stw r7, 0x12c(r1)
/* 8013C984 001387C4 90 01 01 30 */ stw r0, 0x130(r1)
/* 8013C988 001387C8 91 C1 01 34 */ stw r14, 0x134(r1)
/* 8013C98C 001387CC 48 00 09 C5 */ bl "CalcStringRectImpl<w>__25@unnamed@lyt_textBox_cpp@FPQ36nw4hbm2ut4RectPQ36nw4hbm2ut17TextWriterBase<w>PCwif_v"
/* 8013C990 001387D0 38 61 00 D8 */ addi r3, r1, 0xd8
/* 8013C994 001387D4 38 80 FF FF */ li r4, -0x1
/* 8013C998 001387D8 48 00 8A C9 */ bl "__dt__Q36nw4hbm2ut17TextWriterBase<w>Fv"
/* 8013C99C 001387DC 7F C3 F3 78 */ mr r3, r30
/* 8013C9A0 001387E0 4B FF F0 A1 */ bl GetVtxPos__Q36nw4hbm3lyt4PaneCFv
/* 8013C9A4 001387E4 3C A0 55 55 */ lis r5, 0x5555
/* 8013C9A8 001387E8 88 DE 00 FC */ lbz r6, 0xfc(r30)
/* 8013C9AC 001387EC 38 05 55 56 */ addi r0, r5, 0x5556
/* 8013C9B0 001387F0 90 81 00 44 */ stw r4, 0x44(r1)
/* 8013C9B4 001387F4 7C A0 30 96 */ mulhw r5, r0, r6
/* 8013C9B8 001387F8 90 61 00 40 */ stw r3, 0x40(r1)
/* 8013C9BC 001387FC 90 61 00 38 */ stw r3, 0x38(r1)
/* 8013C9C0 00138800 54 A0 0F FE */ srwi r0, r5, 31
/* 8013C9C4 00138804 90 81 00 3C */ stw r4, 0x3c(r1)
/* 8013C9C8 00138808 7C 05 02 14 */ add r0, r5, r0
/* 8013C9CC 0013880C 1C 00 00 03 */ mulli r0, r0, 0x3
/* 8013C9D0 00138810 7C 00 30 50 */ subf r0, r0, r6
/* 8013C9D4 00138814 54 00 06 3E */ clrlwi r0, r0, 24
/* 8013C9D8 00138818 2C 00 00 01 */ cmpwi r0, 0x1
/* 8013C9DC 0013881C 41 82 00 14 */ beq lbl_8013C9F0
/* 8013C9E0 00138820 2C 00 00 02 */ cmpwi r0, 0x2
/* 8013C9E4 00138824 41 82 00 14 */ beq lbl_8013C9F8
/* 8013C9E8 00138828 C0 DF 00 00 */ lfs f6, 0x0(r31)
/* 8013C9EC 0013882C 48 00 00 10 */ b lbl_8013C9FC
.global lbl_8013C9F0
lbl_8013C9F0:
/* 8013C9F0 00138830 C0 DF 00 10 */ lfs f6, 0x10(r31)
/* 8013C9F4 00138834 48 00 00 08 */ b lbl_8013C9FC
.global lbl_8013C9F8
lbl_8013C9F8:
/* 8013C9F8 00138838 C0 DF 00 14 */ lfs f6, 0x14(r31)
.global lbl_8013C9FC
lbl_8013C9FC:
/* 8013C9FC 0013883C 3C 60 55 55 */ lis r3, 0x5555
/* 8013CA00 00138840 38 03 55 56 */ addi r0, r3, 0x5556
/* 8013CA04 00138844 7C 60 30 96 */ mulhw r3, r0, r6
/* 8013CA08 00138848 54 60 0F FE */ srwi r0, r3, 31
/* 8013CA0C 0013884C 7C 03 02 14 */ add r0, r3, r0
/* 8013CA10 00138850 54 00 06 3E */ clrlwi r0, r0, 24
/* 8013CA14 00138854 2C 00 00 01 */ cmpwi r0, 0x1
/* 8013CA18 00138858 41 82 00 14 */ beq lbl_8013CA2C
/* 8013CA1C 0013885C 2C 00 00 02 */ cmpwi r0, 0x2
/* 8013CA20 00138860 41 82 00 14 */ beq lbl_8013CA34
/* 8013CA24 00138864 C0 FF 00 00 */ lfs f7, 0x0(r31)
/* 8013CA28 00138868 48 00 00 10 */ b lbl_8013CA38
.global lbl_8013CA2C
lbl_8013CA2C:
/* 8013CA2C 0013886C C0 FF 00 10 */ lfs f7, 0x10(r31)
/* 8013CA30 00138870 48 00 00 08 */ b lbl_8013CA38
.global lbl_8013CA34
lbl_8013CA34:
/* 8013CA34 00138874 C0 FF 00 14 */ lfs f7, 0x14(r31)
.global lbl_8013CA38
lbl_8013CA38:
/* 8013CA38 00138878 C0 61 00 74 */ lfs f3, 0x74(r1)
/* 8013CA3C 0013887C 3C 60 55 55 */ lis r3, 0x5555
/* 8013CA40 00138880 C0 41 00 6C */ lfs f2, 0x6c(r1)
/* 8013CA44 00138884 38 03 55 56 */ addi r0, r3, 0x5556
/* 8013CA48 00138888 C0 21 00 70 */ lfs f1, 0x70(r1)
/* 8013CA4C 0013888C C0 01 00 68 */ lfs f0, 0x68(r1)
/* 8013CA50 00138890 EC 83 10 28 */ fsubs f4, f3, f2
/* 8013CA54 00138894 C0 5E 00 50 */ lfs f2, 0x50(r30)
/* 8013CA58 00138898 EC A1 00 28 */ fsubs f5, f1, f0
/* 8013CA5C 0013889C C0 3E 00 4C */ lfs f1, 0x4c(r30)
/* 8013CA60 001388A0 EC 62 20 28 */ fsubs f3, f2, f4
/* 8013CA64 001388A4 C0 41 00 3C */ lfs f2, 0x3c(r1)
/* 8013CA68 001388A8 C0 01 00 38 */ lfs f0, 0x38(r1)
/* 8013CA6C 001388AC EC 21 28 28 */ fsubs f1, f1, f5
/* 8013CA70 001388B0 EC 63 01 F2 */ fmuls f3, f3, f7
/* 8013CA74 001388B4 EC 21 01 B2 */ fmuls f1, f1, f6
/* 8013CA78 001388B8 EC 42 18 2A */ fadds f2, f2, f3
/* 8013CA7C 001388BC EC 20 08 2A */ fadds f1, f0, f1
/* 8013CA80 001388C0 D0 41 00 6C */ stfs f2, 0x6c(r1)
/* 8013CA84 001388C4 EC 02 20 2A */ fadds f0, f2, f4
/* 8013CA88 001388C8 D0 21 00 68 */ stfs f1, 0x68(r1)
/* 8013CA8C 001388CC EC 21 28 2A */ fadds f1, f1, f5
/* 8013CA90 001388D0 D0 01 00 74 */ stfs f0, 0x74(r1)
/* 8013CA94 001388D4 D0 21 00 70 */ stfs f1, 0x70(r1)
/* 8013CA98 001388D8 88 9E 00 FC */ lbz r4, 0xfc(r30)
/* 8013CA9C 001388DC 7C 60 20 96 */ mulhw r3, r0, r4
/* 8013CAA0 001388E0 54 60 0F FE */ srwi r0, r3, 31
/* 8013CAA4 001388E4 7C 03 02 14 */ add r0, r3, r0
/* 8013CAA8 001388E8 1C 00 00 03 */ mulli r0, r0, 0x3
/* 8013CAAC 001388EC 7C 00 20 50 */ subf r0, r0, r4
/* 8013CAB0 001388F0 54 00 06 3E */ clrlwi r0, r0, 24
/* 8013CAB4 001388F4 2C 00 00 01 */ cmpwi r0, 0x1
/* 8013CAB8 001388F8 41 82 00 14 */ beq lbl_8013CACC
/* 8013CABC 001388FC 2C 00 00 02 */ cmpwi r0, 0x2
/* 8013CAC0 00138900 41 82 00 14 */ beq lbl_8013CAD4
/* 8013CAC4 00138904 C3 9F 00 00 */ lfs f28, 0x0(r31)
/* 8013CAC8 00138908 48 00 00 10 */ b lbl_8013CAD8
.global lbl_8013CACC
lbl_8013CACC:
/* 8013CACC 0013890C C3 9F 00 10 */ lfs f28, 0x10(r31)
/* 8013CAD0 00138910 48 00 00 08 */ b lbl_8013CAD8
.global lbl_8013CAD4
lbl_8013CAD4:
/* 8013CAD4 00138914 C3 9F 00 14 */ lfs f28, 0x14(r31)
.global lbl_8013CAD8
lbl_8013CAD8:
/* 8013CAD8 00138918 C0 21 00 70 */ lfs f1, 0x70(r1)
/* 8013CADC 0013891C 38 61 01 38 */ addi r3, r1, 0x138
/* 8013CAE0 00138920 C0 01 00 68 */ lfs f0, 0x68(r1)
/* 8013CAE4 00138924 81 DE 00 D4 */ lwz r14, 0xd4(r30)
/* 8013CAE8 00138928 EF A1 00 28 */ fsubs f29, f1, f0
/* 8013CAEC 0013892C C0 21 00 68 */ lfs f1, 0x68(r1)
/* 8013CAF0 00138930 C0 41 00 6C */ lfs f2, 0x6c(r1)
/* 8013CAF4 00138934 48 00 46 DD */ bl SetCursor__Q36nw4hbm2ut10CharWriterFff
/* 8013CAF8 00138938 A1 FE 00 FA */ lhz r15, 0xfa(r30)
/* 8013CAFC 0013893C 2C 0F 00 00 */ cmpwi r15, 0x0
/* 8013CB00 00138940 40 81 01 90 */ ble lbl_8013CC90
/* 8013CB04 00138944 C3 FF 00 00 */ lfs f31, 0x0(r31)
/* 8013CB08 00138948 3E 00 80 44 */ lis r16, "@9987"@ha
/* 8013CB0C 0013894C 48 00 01 7C */ b lbl_8013CC88
.global lbl_8013CB10
lbl_8013CB10:
/* 8013CB10 00138950 C3 DE 00 4C */ lfs f30, 0x4c(r30)
/* 8013CB14 00138954 FC 20 F8 90 */ fmr f1, f31
/* 8013CB18 00138958 83 A1 01 38 */ lwz r29, 0x138(r1)
/* 8013CB1C 0013895C FC 40 F8 90 */ fmr f2, f31
/* 8013CB20 00138960 83 81 01 3C */ lwz r28, 0x13c(r1)
/* 8013CB24 00138964 38 61 00 78 */ addi r3, r1, 0x78
/* 8013CB28 00138968 83 61 01 40 */ lwz r27, 0x140(r1)
/* 8013CB2C 0013896C 83 41 01 44 */ lwz r26, 0x144(r1)
/* 8013CB30 00138970 83 21 01 48 */ lwz r25, 0x148(r1)
/* 8013CB34 00138974 83 01 01 4C */ lwz r24, 0x14c(r1)
/* 8013CB38 00138978 82 E1 01 50 */ lwz r23, 0x150(r1)
/* 8013CB3C 0013897C 82 C1 01 54 */ lwz r22, 0x154(r1)
/* 8013CB40 00138980 82 A1 01 58 */ lwz r21, 0x158(r1)
/* 8013CB44 00138984 82 81 01 5C */ lwz r20, 0x15c(r1)
/* 8013CB48 00138988 82 61 01 60 */ lwz r19, 0x160(r1)
/* 8013CB4C 0013898C 82 41 01 64 */ lwz r18, 0x164(r1)
/* 8013CB50 00138990 82 21 01 68 */ lwz r17, 0x168(r1)
/* 8013CB54 00138994 81 81 01 6C */ lwz r12, 0x16c(r1)
/* 8013CB58 00138998 81 61 01 70 */ lwz r11, 0x170(r1)
/* 8013CB5C 0013899C 81 41 01 74 */ lwz r10, 0x174(r1)
/* 8013CB60 001389A0 A1 21 01 78 */ lhz r9, 0x178(r1)
/* 8013CB64 001389A4 89 01 01 7A */ lbz r8, 0x17a(r1)
/* 8013CB68 001389A8 88 E1 01 7B */ lbz r7, 0x17b(r1)
/* 8013CB6C 001389AC C0 81 01 7C */ lfs f4, 0x17c(r1)
/* 8013CB70 001389B0 80 C1 01 80 */ lwz r6, 0x180(r1)
/* 8013CB74 001389B4 C0 61 01 84 */ lfs f3, 0x184(r1)
/* 8013CB78 001389B8 C0 01 01 88 */ lfs f0, 0x188(r1)
/* 8013CB7C 001389BC 80 A1 01 8C */ lwz r5, 0x18c(r1)
/* 8013CB80 001389C0 80 81 01 90 */ lwz r4, 0x190(r1)
/* 8013CB84 001389C4 80 01 01 94 */ lwz r0, 0x194(r1)
/* 8013CB88 001389C8 D3 E1 00 58 */ stfs f31, 0x58(r1)
/* 8013CB8C 001389CC D3 E1 00 5C */ stfs f31, 0x5c(r1)
/* 8013CB90 001389D0 D3 E1 00 60 */ stfs f31, 0x60(r1)
/* 8013CB94 001389D4 D3 E1 00 64 */ stfs f31, 0x64(r1)
/* 8013CB98 001389D8 93 A1 00 78 */ stw r29, 0x78(r1)
/* 8013CB9C 001389DC 93 81 00 7C */ stw r28, 0x7c(r1)
/* 8013CBA0 001389E0 93 61 00 80 */ stw r27, 0x80(r1)
/* 8013CBA4 001389E4 93 41 00 84 */ stw r26, 0x84(r1)
/* 8013CBA8 001389E8 93 21 00 88 */ stw r25, 0x88(r1)
/* 8013CBAC 001389EC 93 01 00 8C */ stw r24, 0x8c(r1)
/* 8013CBB0 001389F0 92 E1 00 90 */ stw r23, 0x90(r1)
/* 8013CBB4 001389F4 92 C1 00 94 */ stw r22, 0x94(r1)
/* 8013CBB8 001389F8 92 A1 00 98 */ stw r21, 0x98(r1)
/* 8013CBBC 001389FC 92 81 00 9C */ stw r20, 0x9c(r1)
/* 8013CBC0 00138A00 92 61 00 A0 */ stw r19, 0xa0(r1)
/* 8013CBC4 00138A04 92 41 00 A4 */ stw r18, 0xa4(r1)
/* 8013CBC8 00138A08 92 21 00 A8 */ stw r17, 0xa8(r1)
/* 8013CBCC 00138A0C 91 81 00 AC */ stw r12, 0xac(r1)
/* 8013CBD0 00138A10 91 61 00 B0 */ stw r11, 0xb0(r1)
/* 8013CBD4 00138A14 91 41 00 B4 */ stw r10, 0xb4(r1)
/* 8013CBD8 00138A18 B1 21 00 B8 */ sth r9, 0xb8(r1)
/* 8013CBDC 00138A1C 99 01 00 BA */ stb r8, 0xba(r1)
/* 8013CBE0 00138A20 98 E1 00 BB */ stb r7, 0xbb(r1)
/* 8013CBE4 00138A24 D0 81 00 BC */ stfs f4, 0xbc(r1)
/* 8013CBE8 00138A28 90 C1 00 C0 */ stw r6, 0xc0(r1)
/* 8013CBEC 00138A2C D0 61 00 C4 */ stfs f3, 0xc4(r1)
/* 8013CBF0 00138A30 D0 01 00 C8 */ stfs f0, 0xc8(r1)
/* 8013CBF4 00138A34 90 A1 00 CC */ stw r5, 0xcc(r1)
/* 8013CBF8 00138A38 90 81 00 D0 */ stw r4, 0xd0(r1)
/* 8013CBFC 00138A3C 90 01 00 D4 */ stw r0, 0xd4(r1)
/* 8013CC00 00138A40 48 00 45 D1 */ bl SetCursor__Q36nw4hbm2ut10CharWriterFff
/* 8013CC04 00138A44 FC 20 F0 90 */ fmr f1, f30
/* 8013CC08 00138A48 7D C5 73 78 */ mr r5, r14
/* 8013CC0C 00138A4C 7D E6 7B 78 */ mr r6, r15
/* 8013CC10 00138A50 38 61 00 58 */ addi r3, r1, 0x58
/* 8013CC14 00138A54 38 81 00 78 */ addi r4, r1, 0x78
/* 8013CC18 00138A58 38 E1 00 08 */ addi r7, r1, 0x8
/* 8013CC1C 00138A5C 48 00 00 C5 */ bl "CalcLineRectImpl<w>__25@unnamed@lyt_textBox_cpp@FPQ36nw4hbm2ut4RectPQ36nw4hbm2ut17TextWriterBase<w>PCwifPb_i"
/* 8013CC20 00138A60 C0 21 00 60 */ lfs f1, 0x60(r1)
/* 8013CC24 00138A64 7C 71 1B 78 */ mr r17, r3
/* 8013CC28 00138A68 C0 01 00 58 */ lfs f0, 0x58(r1)
/* 8013CC2C 00138A6C 38 61 00 78 */ addi r3, r1, 0x78
/* 8013CC30 00138A70 38 80 FF FF */ li r4, -0x1
/* 8013CC34 00138A74 EF C1 00 28 */ fsubs f30, f1, f0
/* 8013CC38 00138A78 48 00 88 29 */ bl "__dt__Q36nw4hbm2ut17TextWriterBase<w>Fv"
/* 8013CC3C 00138A7C EC 3D F0 28 */ fsubs f1, f29, f30
/* 8013CC40 00138A80 C0 01 00 68 */ lfs f0, 0x68(r1)
/* 8013CC44 00138A84 38 61 01 38 */ addi r3, r1, 0x138
/* 8013CC48 00138A88 EC 3C 00 72 */ fmuls f1, f28, f1
/* 8013CC4C 00138A8C EC 20 08 2A */ fadds f1, f0, f1
/* 8013CC50 00138A90 48 00 45 91 */ bl SetCursorX__Q36nw4hbm2ut10CharWriterFf
/* 8013CC54 00138A94 7D C4 73 78 */ mr r4, r14
/* 8013CC58 00138A98 7E 25 8B 78 */ mr r5, r17
/* 8013CC5C 00138A9C 38 61 01 38 */ addi r3, r1, 0x138
/* 8013CC60 00138AA0 48 00 9C E1 */ bl "Print__Q36nw4hbm2ut17TextWriterBase<w>FPCwi"
/* 8013CC64 00138AA4 88 01 00 08 */ lbz r0, 0x8(r1)
/* 8013CC68 00138AA8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8013CC6C 00138AAC 41 82 00 10 */ beq lbl_8013CC7C
/* 8013CC70 00138AB0 38 61 01 38 */ addi r3, r1, 0x138
/* 8013CC74 00138AB4 38 90 41 B8 */ addi r4, r16, "@9987"@l
/* 8013CC78 00138AB8 48 00 9E 29 */ bl "Print__Q36nw4hbm2ut17TextWriterBase<w>FPCw"
.global lbl_8013CC7C
lbl_8013CC7C:
/* 8013CC7C 00138ABC 56 20 08 3C */ slwi r0, r17, 1
/* 8013CC80 00138AC0 7D F1 78 50 */ subf r15, r17, r15
/* 8013CC84 00138AC4 7D CE 02 14 */ add r14, r14, r0
.global lbl_8013CC88
lbl_8013CC88:
/* 8013CC88 00138AC8 2C 0F 00 00 */ cmpwi r15, 0x0
/* 8013CC8C 00138ACC 41 81 FE 84 */ bgt lbl_8013CB10
.global lbl_8013CC90
lbl_8013CC90:
/* 8013CC90 00138AD0 38 61 01 38 */ addi r3, r1, 0x138
/* 8013CC94 00138AD4 38 80 FF FF */ li r4, -0x1
/* 8013CC98 00138AD8 48 00 87 C9 */ bl "__dt__Q36nw4hbm2ut17TextWriterBase<w>Fv"
.global lbl_8013CC9C
lbl_8013CC9C:
/* 8013CC9C 00138ADC 39 61 01 E0 */ addi r11, r1, 0x1e0
/* 8013CCA0 00138AE0 E3 E1 02 18 */ psq_l f31, 0x218(r1), 0, qr0
/* 8013CCA4 00138AE4 CB E1 02 10 */ lfd f31, 0x210(r1)
/* 8013CCA8 00138AE8 E3 C1 02 08 */ psq_l f30, 0x208(r1), 0, qr0
/* 8013CCAC 00138AEC CB C1 02 00 */ lfd f30, 0x200(r1)
/* 8013CCB0 00138AF0 E3 A1 01 F8 */ psq_l f29, 0x1f8(r1), 0, qr0
/* 8013CCB4 00138AF4 CB A1 01 F0 */ lfd f29, 0x1f0(r1)
/* 8013CCB8 00138AF8 E3 81 01 E8 */ psq_l f28, 0x1e8(r1), 0, qr0
/* 8013CCBC 00138AFC CB 81 01 E0 */ lfd f28, 0x1e0(r1)
/* 8013CCC0 00138B00 4B EC A6 95 */ bl __restore_gpr
/* 8013CCC4 00138B04 80 01 02 24 */ lwz r0, 0x224(r1)
/* 8013CCC8 00138B08 7C 08 03 A6 */ mtlr r0
/* 8013CCCC 00138B0C 38 21 02 20 */ addi r1, r1, 0x220
/* 8013CCD0 00138B10 4E 80 00 20 */ blr
/* 8013CCD4 00138B14 00 00 00 00 */ .4byte 0x00000000
/* 8013CCD8 00138B18 00 00 00 00 */ .4byte 0x00000000
/* 8013CCDC 00138B1C 00 00 00 00 */ .4byte 0x00000000
.global "CalcLineRectImpl<w>__25@unnamed@lyt_textBox_cpp@FPQ36nw4hbm2ut4RectPQ36nw4hbm2ut17TextWriterBase<w>PCwifPb_i"
"CalcLineRectImpl<w>__25@unnamed@lyt_textBox_cpp@FPQ36nw4hbm2ut4RectPQ36nw4hbm2ut17TextWriterBase<w>PCwifPb_i":
/* 8013CCE0 00138B20 94 21 FF 20 */ stwu r1, -0xe0(r1)
/* 8013CCE4 00138B24 7C 08 02 A6 */ mflr r0
/* 8013CCE8 00138B28 90 01 00 E4 */ stw r0, 0xe4(r1)
/* 8013CCEC 00138B2C 39 61 00 90 */ addi r11, r1, 0x90
/* 8013CCF0 00138B30 DB E1 00 D0 */ stfd f31, 0xd0(r1)
/* 8013CCF4 00138B34 F3 E1 00 D8 */ psq_st f31, 0xd8(r1), 0, qr0
/* 8013CCF8 00138B38 DB C1 00 C0 */ stfd f30, 0xc0(r1)
/* 8013CCFC 00138B3C F3 C1 00 C8 */ psq_st f30, 0xc8(r1), 0, qr0
/* 8013CD00 00138B40 DB A1 00 B0 */ stfd f29, 0xb0(r1)
/* 8013CD04 00138B44 F3 A1 00 B8 */ psq_st f29, 0xb8(r1), 0, qr0
/* 8013CD08 00138B48 DB 81 00 A0 */ stfd f28, 0xa0(r1)
/* 8013CD0C 00138B4C F3 81 00 A8 */ psq_st f28, 0xa8(r1), 0, qr0
/* 8013CD10 00138B50 DB 61 00 90 */ stfd f27, 0x90(r1)
/* 8013CD14 00138B54 F3 61 00 98 */ psq_st f27, 0x98(r1), 0, qr0
/* 8013CD18 00138B58 4B EC A6 15 */ bl lbl_8000732C
/* 8013CD1C 00138B5C FF C0 08 90 */ fmr f30, f1
/* 8013CD20 00138B60 38 00 00 00 */ li r0, 0x0
/* 8013CD24 00138B64 7C 99 23 78 */ mr r25, r4
/* 8013CD28 00138B68 90 01 00 50 */ stw r0, 0x50(r1)
/* 8013CD2C 00138B6C 7C 78 1B 78 */ mr r24, r3
/* 8013CD30 00138B70 7C BA 2B 78 */ mr r26, r5
/* 8013CD34 00138B74 90 01 00 54 */ stw r0, 0x54(r1)
/* 8013CD38 00138B78 7C DB 33 78 */ mr r27, r6
/* 8013CD3C 00138B7C 7C FC 3B 78 */ mr r28, r7
/* 8013CD40 00138B80 7F 23 CB 78 */ mr r3, r25
/* 8013CD44 00138B84 90 01 00 58 */ stw r0, 0x58(r1)
/* 8013CD48 00138B88 90 81 00 48 */ stw r4, 0x48(r1)
/* 8013CD4C 00138B8C 90 A1 00 4C */ stw r5, 0x4c(r1)
/* 8013CD50 00138B90 48 00 34 61 */ bl GetFont__Q36nw4hbm2ut10CharWriterCFv
/* 8013CD54 00138B94 80 A3 00 04 */ lwz r5, 0x4(r3)
/* 8013CD58 00138B98 3E E0 80 41 */ lis r23, "@9376"@ha
/* 8013CD5C 00138B9C 80 83 00 08 */ lwz r4, 0x8(r3)
/* 8013CD60 00138BA0 3B E0 00 00 */ li r31, 0x0
/* 8013CD64 00138BA4 80 03 00 0C */ lwz r0, 0xc(r3)
/* 8013CD68 00138BA8 7F 23 CB 78 */ mr r3, r25
/* 8013CD6C 00138BAC 90 01 00 44 */ stw r0, 0x44(r1)
/* 8013CD70 00138BB0 3B C0 00 00 */ li r30, 0x0
/* 8013CD74 00138BB4 C3 F7 E2 58 */ lfs f31, "@9376"@l(r23)
/* 8013CD78 00138BB8 93 E1 00 38 */ stw r31, 0x38(r1)
/* 8013CD7C 00138BBC 90 A1 00 3C */ stw r5, 0x3c(r1)
/* 8013CD80 00138BC0 90 81 00 40 */ stw r4, 0x40(r1)
/* 8013CD84 00138BC4 90 A1 00 08 */ stw r5, 0x8(r1)
/* 8013CD88 00138BC8 90 81 00 0C */ stw r4, 0xc(r1)
/* 8013CD8C 00138BCC 90 01 00 10 */ stw r0, 0x10(r1)
/* 8013CD90 00138BD0 D3 F8 00 00 */ stfs f31, 0x0(r24)
/* 8013CD94 00138BD4 D3 F8 00 08 */ stfs f31, 0x8(r24)
/* 8013CD98 00138BD8 48 00 87 C9 */ bl "GetLineHeight__Q36nw4hbm2ut17TextWriterBase<w>CFv"
/* 8013CD9C 00138BDC FC 00 F8 90 */ fmr f0, f31
/* 8013CDA0 00138BE0 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8013CDA4 00138BE4 40 81 00 08 */ ble lbl_8013CDAC
/* 8013CDA8 00138BE8 48 00 00 08 */ b lbl_8013CDB0
.global lbl_8013CDAC
lbl_8013CDAC:
/* 8013CDAC 00138BEC FC 20 00 90 */ fmr f1, f0
.global lbl_8013CDB0
lbl_8013CDB0:
/* 8013CDB0 00138BF0 D0 38 00 04 */ stfs f1, 0x4(r24)
/* 8013CDB4 00138BF4 7F 23 CB 78 */ mr r3, r25
/* 8013CDB8 00138BF8 48 00 87 A9 */ bl "GetLineHeight__Q36nw4hbm2ut17TextWriterBase<w>CFv"
/* 8013CDBC 00138BFC 3C 60 80 41 */ lis r3, "@9376"@ha
/* 8013CDC0 00138C00 C0 03 E2 58 */ lfs f0, "@9376"@l(r3)
/* 8013CDC4 00138C04 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8013CDC8 00138C08 40 80 00 08 */ bge lbl_8013CDD0
/* 8013CDCC 00138C0C 48 00 00 08 */ b lbl_8013CDD4
.global lbl_8013CDD0
lbl_8013CDD0:
/* 8013CDD0 00138C10 FC 20 00 90 */ fmr f1, f0
.global lbl_8013CDD4
lbl_8013CDD4:
/* 8013CDD4 00138C14 D0 38 00 0C */ stfs f1, 0xc(r24)
/* 8013CDD8 00138C18 38 00 00 00 */ li r0, 0x0
/* 8013CDDC 00138C1C 38 61 00 38 */ addi r3, r1, 0x38
/* 8013CDE0 00138C20 39 81 00 3C */ addi r12, r1, 0x3c
/* 8013CDE4 00138C24 98 1C 00 00 */ stb r0, 0x0(r28)
/* 8013CDE8 00138C28 93 41 00 38 */ stw r26, 0x38(r1)
/* 8013CDEC 00138C2C C0 78 00 00 */ lfs f3, 0x0(r24)
/* 8013CDF0 00138C30 C0 58 00 04 */ lfs f2, 0x4(r24)
/* 8013CDF4 00138C34 C0 38 00 08 */ lfs f1, 0x8(r24)
/* 8013CDF8 00138C38 C0 18 00 0C */ lfs f0, 0xc(r24)
/* 8013CDFC 00138C3C D0 61 00 28 */ stfs f3, 0x28(r1)
/* 8013CE00 00138C40 D0 41 00 2C */ stfs f2, 0x2c(r1)
/* 8013CE04 00138C44 D0 21 00 30 */ stfs f1, 0x30(r1)
/* 8013CE08 00138C48 D0 01 00 34 */ stfs f0, 0x34(r1)
/* 8013CE0C 00138C4C 4B EC A3 B9 */ bl __ptmf_scall
/* 8013CE10 00138C50 60 00 00 00 */ nop
/* 8013CE14 00138C54 3C A0 80 41 */ lis r5, "@9376"@ha
/* 8013CE18 00138C58 3C 80 80 41 */ lis r4, "@9414"@ha
/* 8013CE1C 00138C5C C3 65 E2 58 */ lfs f27, "@9376"@l(r5)
/* 8013CE20 00138C60 7C 7D 1B 78 */ mr r29, r3
/* 8013CE24 00138C64 CB A4 E2 60 */ lfd f29, "@9414"@l(r4)
/* 8013CE28 00138C68 3E E0 43 30 */ lis r23, 0x4330
/* 8013CE2C 00138C6C 48 00 02 40 */ b lbl_8013D06C
.global lbl_8013CE30
lbl_8013CE30:
/* 8013CE30 00138C70 57 A0 04 3E */ clrlwi r0, r29, 16
/* 8013CE34 00138C74 2C 00 00 20 */ cmpwi r0, 0x20
/* 8013CE38 00138C78 40 80 01 38 */ bge lbl_8013CF70
/* 8013CE3C 00138C7C 7F E0 00 34 */ cntlzw r0, r31
/* 8013CE40 00138C80 FC 20 F8 90 */ fmr f1, f31
/* 8013CE44 00138C84 54 00 D9 7E */ srwi r0, r0, 5
/* 8013CE48 00138C88 D3 E1 00 18 */ stfs f31, 0x18(r1)
/* 8013CE4C 00138C8C 7F 23 CB 78 */ mr r3, r25
/* 8013CE50 00138C90 D3 61 00 1C */ stfs f27, 0x1c(r1)
/* 8013CE54 00138C94 D3 61 00 20 */ stfs f27, 0x20(r1)
/* 8013CE58 00138C98 D3 61 00 24 */ stfs f27, 0x24(r1)
/* 8013CE5C 00138C9C 90 81 00 4C */ stw r4, 0x4c(r1)
/* 8013CE60 00138CA0 90 01 00 58 */ stw r0, 0x58(r1)
/* 8013CE64 00138CA4 48 00 43 7D */ bl SetCursorX__Q36nw4hbm2ut10CharWriterFf
/* 8013CE68 00138CA8 7F 23 CB 78 */ mr r3, r25
/* 8013CE6C 00138CAC 48 00 88 25 */ bl "GetTagProcessor__Q36nw4hbm2ut17TextWriterBase<w>CFv"
/* 8013CE70 00138CB0 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013CE74 00138CB4 38 81 00 18 */ addi r4, r1, 0x18
/* 8013CE78 00138CB8 57 A5 04 3E */ clrlwi r5, r29, 16
/* 8013CE7C 00138CBC 38 C1 00 48 */ addi r6, r1, 0x48
/* 8013CE80 00138CC0 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8013CE84 00138CC4 7D 89 03 A6 */ mtctr r12
/* 8013CE88 00138CC8 4E 80 04 21 */ bctrl
/* 8013CE8C 00138CCC 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 8013CE90 00138CD0 7C 7D 1B 78 */ mr r29, r3
/* 8013CE94 00138CD4 90 01 00 38 */ stw r0, 0x38(r1)
/* 8013CE98 00138CD8 C0 21 00 18 */ lfs f1, 0x18(r1)
/* 8013CE9C 00138CDC C0 18 00 00 */ lfs f0, 0x0(r24)
/* 8013CEA0 00138CE0 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8013CEA4 00138CE4 40 81 00 08 */ ble lbl_8013CEAC
/* 8013CEA8 00138CE8 48 00 00 08 */ b lbl_8013CEB0
.global lbl_8013CEAC
lbl_8013CEAC:
/* 8013CEAC 00138CEC FC 20 00 90 */ fmr f1, f0
.global lbl_8013CEB0
lbl_8013CEB0:
/* 8013CEB0 00138CF0 D0 38 00 00 */ stfs f1, 0x0(r24)
/* 8013CEB4 00138CF4 C0 18 00 04 */ lfs f0, 0x4(r24)
/* 8013CEB8 00138CF8 C0 21 00 1C */ lfs f1, 0x1c(r1)
/* 8013CEBC 00138CFC FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8013CEC0 00138D00 40 81 00 08 */ ble lbl_8013CEC8
/* 8013CEC4 00138D04 48 00 00 08 */ b lbl_8013CECC
.global lbl_8013CEC8
lbl_8013CEC8:
/* 8013CEC8 00138D08 FC 20 00 90 */ fmr f1, f0
.global lbl_8013CECC
lbl_8013CECC:
/* 8013CECC 00138D0C D0 38 00 04 */ stfs f1, 0x4(r24)
/* 8013CED0 00138D10 C0 18 00 08 */ lfs f0, 0x8(r24)
/* 8013CED4 00138D14 C0 21 00 20 */ lfs f1, 0x20(r1)
/* 8013CED8 00138D18 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8013CEDC 00138D1C 40 80 00 08 */ bge lbl_8013CEE4
/* 8013CEE0 00138D20 48 00 00 08 */ b lbl_8013CEE8
.global lbl_8013CEE4
lbl_8013CEE4:
/* 8013CEE4 00138D24 FC 20 00 90 */ fmr f1, f0
.global lbl_8013CEE8
lbl_8013CEE8:
/* 8013CEE8 00138D28 D0 38 00 08 */ stfs f1, 0x8(r24)
/* 8013CEEC 00138D2C C0 18 00 0C */ lfs f0, 0xc(r24)
/* 8013CEF0 00138D30 C0 21 00 24 */ lfs f1, 0x24(r1)
/* 8013CEF4 00138D34 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8013CEF8 00138D38 40 80 00 08 */ bge lbl_8013CF00
/* 8013CEFC 00138D3C 48 00 00 08 */ b lbl_8013CF04
.global lbl_8013CF00
lbl_8013CF00:
/* 8013CF00 00138D40 FC 20 00 90 */ fmr f1, f0
.global lbl_8013CF04
lbl_8013CF04:
/* 8013CF04 00138D44 D0 38 00 0C */ stfs f1, 0xc(r24)
/* 8013CF08 00138D48 7F 23 CB 78 */ mr r3, r25
/* 8013CF0C 00138D4C 48 00 43 15 */ bl GetCursorX__Q36nw4hbm2ut10CharWriterCFv
/* 8013CF10 00138D50 C0 58 00 08 */ lfs f2, 0x8(r24)
/* 8013CF14 00138D54 FF E0 08 90 */ fmr f31, f1
/* 8013CF18 00138D58 C0 18 00 00 */ lfs f0, 0x0(r24)
/* 8013CF1C 00138D5C EC 02 00 28 */ fsubs f0, f2, f0
/* 8013CF20 00138D60 FC 00 F0 40 */ fcmpo cr0, f0, f30
/* 8013CF24 00138D64 40 81 00 10 */ ble lbl_8013CF34
/* 8013CF28 00138D68 38 00 00 01 */ li r0, 0x1
/* 8013CF2C 00138D6C 98 1C 00 00 */ stb r0, 0x0(r28)
/* 8013CF30 00138D70 48 00 01 58 */ b lbl_8013D088
.global lbl_8013CF34
lbl_8013CF34:
/* 8013CF34 00138D74 2C 1D 00 04 */ cmpwi r29, 0x4
/* 8013CF38 00138D78 40 82 00 0C */ bne lbl_8013CF44
/* 8013CF3C 00138D7C 7F 63 DB 78 */ mr r3, r27
/* 8013CF40 00138D80 48 00 01 A4 */ b lbl_8013D0E4
.global lbl_8013CF44
lbl_8013CF44:
/* 8013CF44 00138D84 2C 1D 00 01 */ cmpwi r29, 0x1
/* 8013CF48 00138D88 40 82 00 0C */ bne lbl_8013CF54
/* 8013CF4C 00138D8C 3B E0 00 00 */ li r31, 0x0
/* 8013CF50 00138D90 48 00 00 E4 */ b lbl_8013D034
.global lbl_8013CF54
lbl_8013CF54:
/* 8013CF54 00138D94 2C 1D 00 02 */ cmpwi r29, 0x2
/* 8013CF58 00138D98 40 82 00 0C */ bne lbl_8013CF64
/* 8013CF5C 00138D9C 3B E0 00 01 */ li r31, 0x1
/* 8013CF60 00138DA0 48 00 00 D4 */ b lbl_8013D034
.global lbl_8013CF64
lbl_8013CF64:
/* 8013CF64 00138DA4 2C 1D 00 03 */ cmpwi r29, 0x3
/* 8013CF68 00138DA8 41 82 01 20 */ beq lbl_8013D088
/* 8013CF6C 00138DAC 48 00 00 C8 */ b lbl_8013D034
.global lbl_8013CF70
lbl_8013CF70:
/* 8013CF70 00138DB0 2C 1F 00 00 */ cmpwi r31, 0x0
/* 8013CF74 00138DB4 41 82 00 10 */ beq lbl_8013CF84
/* 8013CF78 00138DB8 7F 23 CB 78 */ mr r3, r25
/* 8013CF7C 00138DBC 48 00 86 A5 */ bl "GetCharSpace__Q36nw4hbm2ut17TextWriterBase<w>CFv"
/* 8013CF80 00138DC0 EF FF 08 2A */ fadds f31, f31, f1
.global lbl_8013CF84
lbl_8013CF84:
/* 8013CF84 00138DC4 7F 23 CB 78 */ mr r3, r25
/* 8013CF88 00138DC8 3B E0 00 01 */ li r31, 0x1
/* 8013CF8C 00138DCC 48 00 40 E5 */ bl IsWidthFixed__Q36nw4hbm2ut10CharWriterCFv
/* 8013CF90 00138DD0 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013CF94 00138DD4 41 82 00 14 */ beq lbl_8013CFA8
/* 8013CF98 00138DD8 7F 23 CB 78 */ mr r3, r25
/* 8013CF9C 00138DDC 48 00 40 E5 */ bl GetFixedWidth__Q36nw4hbm2ut10CharWriterCFv
/* 8013CFA0 00138DE0 EF FF 08 2A */ fadds f31, f31, f1
/* 8013CFA4 00138DE4 48 00 00 48 */ b lbl_8013CFEC
.global lbl_8013CFA8
lbl_8013CFA8:
/* 8013CFA8 00138DE8 7F 23 CB 78 */ mr r3, r25
/* 8013CFAC 00138DEC 48 00 3E 85 */ bl GetScaleH__Q36nw4hbm2ut10CharWriterCFv
/* 8013CFB0 00138DF0 FF 80 08 90 */ fmr f28, f1
/* 8013CFB4 00138DF4 7F 23 CB 78 */ mr r3, r25
/* 8013CFB8 00138DF8 48 00 31 F9 */ bl GetFont__Q36nw4hbm2ut10CharWriterCFv
/* 8013CFBC 00138DFC 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013CFC0 00138E00 57 A4 04 3E */ clrlwi r4, r29, 16
/* 8013CFC4 00138E04 81 8C 00 48 */ lwz r12, 0x48(r12)
/* 8013CFC8 00138E08 7D 89 03 A6 */ mtctr r12
/* 8013CFCC 00138E0C 4E 80 04 21 */ bctrl
/* 8013CFD0 00138E10 6C 60 80 00 */ xoris r0, r3, 0x8000
/* 8013CFD4 00138E14 90 01 00 64 */ stw r0, 0x64(r1)
/* 8013CFD8 00138E18 92 E1 00 60 */ stw r23, 0x60(r1)
/* 8013CFDC 00138E1C C8 01 00 60 */ lfd f0, 0x60(r1)
/* 8013CFE0 00138E20 EC 00 E8 28 */ fsubs f0, f0, f29
/* 8013CFE4 00138E24 EC 00 07 32 */ fmuls f0, f0, f28
/* 8013CFE8 00138E28 EF FF 00 2A */ fadds f31, f31, f0
.global lbl_8013CFEC
lbl_8013CFEC:
/* 8013CFEC 00138E2C C0 18 00 00 */ lfs f0, 0x0(r24)
/* 8013CFF0 00138E30 FC 00 F8 40 */ fcmpo cr0, f0, f31
/* 8013CFF4 00138E34 40 81 00 08 */ ble lbl_8013CFFC
/* 8013CFF8 00138E38 FC 00 F8 90 */ fmr f0, f31
.global lbl_8013CFFC
lbl_8013CFFC:
/* 8013CFFC 00138E3C C0 58 00 08 */ lfs f2, 0x8(r24)
/* 8013D000 00138E40 D0 18 00 00 */ stfs f0, 0x0(r24)
/* 8013D004 00138E44 FC 02 F8 40 */ fcmpo cr0, f2, f31
/* 8013D008 00138E48 40 80 00 08 */ bge lbl_8013D010
/* 8013D00C 00138E4C FC 40 F8 90 */ fmr f2, f31
.global lbl_8013D010
lbl_8013D010:
/* 8013D010 00138E50 FC 20 10 18 */ frsp f1, f2
/* 8013D014 00138E54 C0 18 00 00 */ lfs f0, 0x0(r24)
/* 8013D018 00138E58 D0 58 00 08 */ stfs f2, 0x8(r24)
/* 8013D01C 00138E5C EC 01 00 28 */ fsubs f0, f1, f0
/* 8013D020 00138E60 FC 00 F0 40 */ fcmpo cr0, f0, f30
/* 8013D024 00138E64 40 81 00 10 */ ble lbl_8013D034
/* 8013D028 00138E68 38 00 00 01 */ li r0, 0x1
/* 8013D02C 00138E6C 98 1C 00 00 */ stb r0, 0x0(r28)
/* 8013D030 00138E70 48 00 00 58 */ b lbl_8013D088
.global lbl_8013D034
lbl_8013D034:
/* 8013D034 00138E74 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8013D038 00138E78 38 61 00 38 */ addi r3, r1, 0x38
/* 8013D03C 00138E7C 39 81 00 3C */ addi r12, r1, 0x3c
/* 8013D040 00138E80 4B EC A1 85 */ bl __ptmf_scall
/* 8013D044 00138E84 60 00 00 00 */ nop
/* 8013D048 00138E88 C0 78 00 00 */ lfs f3, 0x0(r24)
/* 8013D04C 00138E8C 7C 7D 1B 78 */ mr r29, r3
/* 8013D050 00138E90 C0 58 00 04 */ lfs f2, 0x4(r24)
/* 8013D054 00138E94 C0 38 00 08 */ lfs f1, 0x8(r24)
/* 8013D058 00138E98 C0 18 00 0C */ lfs f0, 0xc(r24)
/* 8013D05C 00138E9C D0 61 00 28 */ stfs f3, 0x28(r1)
/* 8013D060 00138EA0 D0 41 00 2C */ stfs f2, 0x2c(r1)
/* 8013D064 00138EA4 D0 21 00 30 */ stfs f1, 0x30(r1)
/* 8013D068 00138EA8 D0 01 00 34 */ stfs f0, 0x34(r1)
.global lbl_8013D06C
lbl_8013D06C:
/* 8013D06C 00138EAC 80 81 00 38 */ lwz r4, 0x38(r1)
/* 8013D070 00138EB0 7C 7A 20 50 */ subf r3, r26, r4
/* 8013D074 00138EB4 54 60 0F FE */ srwi r0, r3, 31
/* 8013D078 00138EB8 7C 00 1A 14 */ add r0, r0, r3
/* 8013D07C 00138EBC 7C 00 0E 70 */ srawi r0, r0, 1
/* 8013D080 00138EC0 7C 00 D8 00 */ cmpw r0, r27
/* 8013D084 00138EC4 40 81 FD AC */ ble lbl_8013CE30
.global lbl_8013D088
lbl_8013D088:
/* 8013D088 00138EC8 88 1C 00 00 */ lbz r0, 0x0(r28)
/* 8013D08C 00138ECC 2C 00 00 00 */ cmpwi r0, 0x0
/* 8013D090 00138ED0 41 82 00 40 */ beq lbl_8013D0D0
/* 8013D094 00138ED4 2C 1E 00 00 */ cmpwi r30, 0x0
/* 8013D098 00138ED8 41 82 00 38 */ beq lbl_8013D0D0
/* 8013D09C 00138EDC 7C 7A F0 50 */ subf r3, r26, r30
/* 8013D0A0 00138EE0 C0 61 00 28 */ lfs f3, 0x28(r1)
/* 8013D0A4 00138EE4 54 60 0F FE */ srwi r0, r3, 31
/* 8013D0A8 00138EE8 C0 41 00 2C */ lfs f2, 0x2c(r1)
/* 8013D0AC 00138EEC C0 21 00 30 */ lfs f1, 0x30(r1)
/* 8013D0B0 00138EF0 7C 00 1A 14 */ add r0, r0, r3
/* 8013D0B4 00138EF4 C0 01 00 34 */ lfs f0, 0x34(r1)
/* 8013D0B8 00138EF8 7C 03 0E 70 */ srawi r3, r0, 1
/* 8013D0BC 00138EFC D0 78 00 00 */ stfs f3, 0x0(r24)
/* 8013D0C0 00138F00 D0 58 00 04 */ stfs f2, 0x4(r24)
/* 8013D0C4 00138F04 D0 38 00 08 */ stfs f1, 0x8(r24)
/* 8013D0C8 00138F08 D0 18 00 0C */ stfs f0, 0xc(r24)
/* 8013D0CC 00138F0C 48 00 00 18 */ b lbl_8013D0E4
.global lbl_8013D0D0
lbl_8013D0D0:
/* 8013D0D0 00138F10 80 01 00 38 */ lwz r0, 0x38(r1)
/* 8013D0D4 00138F14 7C 7A 00 50 */ subf r3, r26, r0
/* 8013D0D8 00138F18 54 60 0F FE */ srwi r0, r3, 31
/* 8013D0DC 00138F1C 7C 00 1A 14 */ add r0, r0, r3
/* 8013D0E0 00138F20 7C 03 0E 70 */ srawi r3, r0, 1
.global lbl_8013D0E4
lbl_8013D0E4:
/* 8013D0E4 00138F24 39 61 00 90 */ addi r11, r1, 0x90
/* 8013D0E8 00138F28 E3 E1 00 D8 */ psq_l f31, 0xd8(r1), 0, qr0
/* 8013D0EC 00138F2C CB E1 00 D0 */ lfd f31, 0xd0(r1)
/* 8013D0F0 00138F30 E3 C1 00 C8 */ psq_l f30, 0xc8(r1), 0, qr0
/* 8013D0F4 00138F34 CB C1 00 C0 */ lfd f30, 0xc0(r1)
/* 8013D0F8 00138F38 E3 A1 00 B8 */ psq_l f29, 0xb8(r1), 0, qr0
/* 8013D0FC 00138F3C CB A1 00 B0 */ lfd f29, 0xb0(r1)
/* 8013D100 00138F40 E3 81 00 A8 */ psq_l f28, 0xa8(r1), 0, qr0
/* 8013D104 00138F44 CB 81 00 A0 */ lfd f28, 0xa0(r1)
/* 8013D108 00138F48 E3 61 00 98 */ psq_l f27, 0x98(r1), 0, qr0
/* 8013D10C 00138F4C CB 61 00 90 */ lfd f27, 0x90(r1)
/* 8013D110 00138F50 4B EC A2 69 */ bl lbl_80007378
/* 8013D114 00138F54 80 01 00 E4 */ lwz r0, 0xe4(r1)
/* 8013D118 00138F58 7C 08 03 A6 */ mtlr r0
/* 8013D11C 00138F5C 38 21 00 E0 */ addi r1, r1, 0xe0
/* 8013D120 00138F60 4E 80 00 20 */ blr
/* 8013D124 00138F64 00 00 00 00 */ .4byte 0x00000000
/* 8013D128 00138F68 00 00 00 00 */ .4byte 0x00000000
/* 8013D12C 00138F6C 00 00 00 00 */ .4byte 0x00000000
.global AllocStringBuffer__Q36nw4hbm3lyt7TextBoxFUs
AllocStringBuffer__Q36nw4hbm3lyt7TextBoxFUs:
/* 8013D130 00138F70 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8013D134 00138F74 7C 08 02 A6 */ mflr r0
/* 8013D138 00138F78 2C 04 00 00 */ cmpwi r4, 0x0
/* 8013D13C 00138F7C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8013D140 00138F80 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8013D144 00138F84 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8013D148 00138F88 7C 7E 1B 78 */ mr r30, r3
/* 8013D14C 00138F8C 41 82 00 48 */ beq lbl_8013D194
/* 8013D150 00138F90 38 84 00 01 */ addi r4, r4, 0x1
/* 8013D154 00138F94 A0 03 00 F8 */ lhz r0, 0xf8(r3)
/* 8013D158 00138F98 54 9F 0C 3C */ rlwinm r31, r4, 1, 16, 30
/* 8013D15C 00138F9C 7C 1F 00 40 */ cmplw r31, r0
/* 8013D160 00138FA0 40 81 00 34 */ ble lbl_8013D194
/* 8013D164 00138FA4 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8013D168 00138FA8 81 8C 00 68 */ lwz r12, 0x68(r12)
/* 8013D16C 00138FAC 7D 89 03 A6 */ mtctr r12
/* 8013D170 00138FB0 4E 80 04 21 */ bctrl
/* 8013D174 00138FB4 3C 60 80 54 */ lis r3, mspAllocator__Q36nw4hbm3lyt6Layout@ha
/* 8013D178 00138FB8 7F E4 FB 78 */ mr r4, r31
/* 8013D17C 00138FBC 80 63 37 70 */ lwz r3, mspAllocator__Q36nw4hbm3lyt6Layout@l(r3)
/* 8013D180 00138FC0 4B F6 66 71 */ bl MEMAllocFromAllocator
/* 8013D184 00138FC4 2C 03 00 00 */ cmpwi r3, 0x0
/* 8013D188 00138FC8 90 7E 00 D4 */ stw r3, 0xd4(r30)
/* 8013D18C 00138FCC 41 82 00 08 */ beq lbl_8013D194
/* 8013D190 00138FD0 B3 FE 00 F8 */ sth r31, 0xf8(r30)
.global lbl_8013D194
lbl_8013D194:
/* 8013D194 00138FD4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8013D198 00138FD8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8013D19C 00138FDC 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 8013D1A0 00138FE0 7C 08 03 A6 */ mtlr r0
/* 8013D1A4 00138FE4 38 21 00 10 */ addi r1, r1, 0x10
/* 8013D1A8 00138FE8 4E 80 00 20 */ blr
/* 8013D1AC 00138FEC 00 00 00 00 */ .4byte 0x00000000
.global FreeStringBuffer__Q36nw4hbm3lyt7TextBoxFv
FreeStringBuffer__Q36nw4hbm3lyt7TextBoxFv:
/* 8013D1B0 00138FF0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8013D1B4 00138FF4 7C 08 02 A6 */ mflr r0
/* 8013D1B8 00138FF8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8013D1BC 00138FFC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8013D1C0 00139000 7C 7F 1B 78 */ mr r31, r3
/* 8013D1C4 00139004 80 83 00 D4 */ lwz r4, 0xd4(r3)
/* 8013D1C8 00139008 2C 04 00 00 */ cmpwi r4, 0x0
/* 8013D1CC 0013900C 41 82 00 1C */ beq lbl_8013D1E8
/* 8013D1D0 00139010 3C 60 80 54 */ lis r3, mspAllocator__Q36nw4hbm3lyt6Layout@ha
/* 8013D1D4 00139014 80 63 37 70 */ lwz r3, mspAllocator__Q36nw4hbm3lyt6Layout@l(r3)
/* 8013D1D8 00139018 4B F6 66 29 */ bl MEMFreeToAllocator
/* 8013D1DC 0013901C 38 00 00 00 */ li r0, 0x0
/* 8013D1E0 00139020 90 1F 00 D4 */ stw r0, 0xd4(r31)
/* 8013D1E4 00139024 B0 1F 00 F8 */ sth r0, 0xf8(r31)
.global lbl_8013D1E8
lbl_8013D1E8:
/* 8013D1E8 00139028 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8013D1EC 0013902C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8013D1F0 00139030 7C 08 03 A6 */ mtlr r0
/* 8013D1F4 00139034 38 21 00 10 */ addi r1, r1, 0x10
/* 8013D1F8 00139038 4E 80 00 20 */ blr
/* 8013D1FC 0013903C 00 00 00 00 */ .4byte 0x00000000
.global SetString__Q36nw4hbm3lyt7TextBoxFPCwUs
SetString__Q36nw4hbm3lyt7TextBoxFPCwUs:
/* 8013D200 00139040 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8013D204 00139044 7C 08 02 A6 */ mflr r0
/* 8013D208 00139048 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013D20C 0013904C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8013D210 00139050 7C BF 2B 78 */ mr r31, r5
/* 8013D214 00139054 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8013D218 00139058 7C 9E 23 78 */ mr r30, r4
/* 8013D21C 0013905C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8013D220 00139060 7C 7D 1B 78 */ mr r29, r3
/* 8013D224 00139064 7F C3 F3 78 */ mr r3, r30
/* 8013D228 00139068 4B ED 31 0D */ bl wcslen
/* 8013D22C 0013906C 81 9D 00 00 */ lwz r12, 0x0(r29)
/* 8013D230 00139070 54 66 04 3E */ clrlwi r6, r3, 16
/* 8013D234 00139074 7F A3 EB 78 */ mr r3, r29
/* 8013D238 00139078 7F C4 F3 78 */ mr r4, r30
/* 8013D23C 0013907C 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 8013D240 00139080 7F E5 FB 78 */ mr r5, r31
/* 8013D244 00139084 7D 89 03 A6 */ mtctr r12
/* 8013D248 00139088 4E 80 04 21 */ bctrl
/* 8013D24C 0013908C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8013D250 00139090 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8013D254 00139094 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8013D258 00139098 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8013D25C 0013909C 7C 08 03 A6 */ mtlr r0
/* 8013D260 001390A0 38 21 00 20 */ addi r1, r1, 0x20
/* 8013D264 001390A4 4E 80 00 20 */ blr
/* 8013D268 001390A8 00 00 00 00 */ .4byte 0x00000000
/* 8013D26C 001390AC 00 00 00 00 */ .4byte 0x00000000
.global SetString__Q36nw4hbm3lyt7TextBoxFPCwUsUs
SetString__Q36nw4hbm3lyt7TextBoxFPCwUsUs:
/* 8013D270 001390B0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8013D274 001390B4 7C 08 02 A6 */ mflr r0
/* 8013D278 001390B8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8013D27C 001390BC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8013D280 001390C0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8013D284 001390C4 7C BE 2B 78 */ mr r30, r5
/* 8013D288 001390C8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8013D28C 001390CC 7C 7D 1B 78 */ mr r29, r3
/* 8013D290 001390D0 81 03 00 D4 */ lwz r8, 0xd4(r3)
/* 8013D294 001390D4 2C 08 00 00 */ cmpwi r8, 0x0
/* 8013D298 001390D8 40 82 00 0C */ bne lbl_8013D2A4
/* 8013D29C 001390DC 38 60 00 00 */ li r3, 0x0
/* 8013D2A0 001390E0 48 00 00 7C */ b lbl_8013D31C
.global lbl_8013D2A4
lbl_8013D2A4:
/* 8013D2A4 001390E4 A0 63 00 F8 */ lhz r3, 0xf8(r3)
/* 8013D2A8 001390E8 7C 60 00 34 */ cntlzw r0, r3
/* 8013D2AC 001390EC 54 63 F8 7E */ srwi r3, r3, 1
/* 8013D2B0 001390F0 54 07 DF FE */ extrwi r7, r0, 1, 26
/* 8013D2B4 001390F4 38 03 FF FF */ addi r0, r3, -0x1
/* 8013D2B8 001390F8 7C 67 00 D0 */ neg r3, r7
/* 8013D2BC 001390FC 54 00 04 3E */ clrlwi r0, r0, 16
/* 8013D2C0 00139100 7C 00 18 78 */ andc r0, r0, r3
/* 8013D2C4 00139104 54 00 04 3E */ clrlwi r0, r0, 16
/* 8013D2C8 00139108 7C 05 00 40 */ cmplw r5, r0
/* 8013D2CC 0013910C 41 80 00 0C */ blt lbl_8013D2D8
/* 8013D2D0 00139110 38 60 00 00 */ li r3, 0x0
/* 8013D2D4 00139114 48 00 00 48 */ b lbl_8013D31C
.global lbl_8013D2D8
lbl_8013D2D8:
/* 8013D2D8 00139118 7C 05 00 50 */ subf r0, r5, r0
/* 8013D2DC 0013911C 7C DF 33 78 */ mr r31, r6
/* 8013D2E0 00139120 54 00 04 3E */ clrlwi r0, r0, 16
/* 8013D2E4 00139124 7C 06 00 40 */ cmplw r6, r0
/* 8013D2E8 00139128 40 81 00 08 */ ble lbl_8013D2F0
/* 8013D2EC 0013912C 7C 1F 03 78 */ mr r31, r0
.global lbl_8013D2F0
lbl_8013D2F0:
/* 8013D2F0 00139130 54 A0 0B FC */ rlwinm r0, r5, 1, 15, 30
/* 8013D2F4 00139134 57 E5 0B FC */ rlwinm r5, r31, 1, 15, 30
/* 8013D2F8 00139138 7C 68 02 14 */ add r3, r8, r0
/* 8013D2FC 0013913C 4B EC 6D 05 */ bl memcpy
/* 8013D300 00139140 7C 1E FA 14 */ add r0, r30, r31
/* 8013D304 00139144 B0 1D 00 FA */ sth r0, 0xfa(r29)
/* 8013D308 00139148 80 9D 00 D4 */ lwz r4, 0xd4(r29)
/* 8013D30C 0013914C 54 00 0B FC */ rlwinm r0, r0, 1, 15, 30
/* 8013D310 00139150 38 A0 00 00 */ li r5, 0x0
/* 8013D314 00139154 57 E3 04 3E */ clrlwi r3, r31, 16
/* 8013D318 00139158 7C A4 03 2E */ sthx r5, r4, r0
.global lbl_8013D31C
lbl_8013D31C:
/* 8013D31C 0013915C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8013D320 00139160 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8013D324 00139164 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8013D328 00139168 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8013D32C 0013916C 7C 08 03 A6 */ mtlr r0
/* 8013D330 00139170 38 21 00 20 */ addi r1, r1, 0x20
/* 8013D334 00139174 4E 80 00 20 */ blr
/* 8013D338 00139178 00 00 00 00 */ .4byte 0x00000000
/* 8013D33C 0013917C 00 00 00 00 */ .4byte 0x00000000
.global __dt__Q36nw4hbm2ut4FontFv
__dt__Q36nw4hbm2ut4FontFv:
/* 8013D340 00139180 4B F6 7A 70 */ b __dt__Q34nw4r2ef7EmitterFv
/* 8013D344 00139184 00 00 00 00 */ .4byte 0x00000000
/* 8013D348 00139188 00 00 00 00 */ .4byte 0x00000000
/* 8013D34C 0013918C 00 00 00 00 */ .4byte 0x00000000
.global "CalcStringRectImpl<w>__25@unnamed@lyt_textBox_cpp@FPQ36nw4hbm2ut4RectPQ36nw4hbm2ut17TextWriterBase<w>PCwif_v"
"CalcStringRectImpl<w>__25@unnamed@lyt_textBox_cpp@FPQ36nw4hbm2ut4RectPQ36nw4hbm2ut17TextWriterBase<w>PCwif_v":
/* 8013D350 00139190 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 8013D354 00139194 7C 08 02 A6 */ mflr r0
/* 8013D358 00139198 90 01 00 64 */ stw r0, 0x64(r1)
/* 8013D35C 0013919C 39 61 00 40 */ addi r11, r1, 0x40
/* 8013D360 001391A0 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 8013D364 001391A4 F3 E1 00 58 */ psq_st f31, 0x58(r1), 0, qr0
/* 8013D368 001391A8 DB C1 00 40 */ stfd f30, 0x40(r1)
/* 8013D36C 001391AC F3 C1 00 48 */ psq_st f30, 0x48(r1), 0, qr0
/* 8013D370 001391B0 4B EC 9F C9 */ bl lbl_80007338
/* 8013D374 001391B4 3F C0 80 41 */ lis r30, "@9376"@ha
/* 8013D378 001391B8 FF C0 08 90 */ fmr f30, f1
/* 8013D37C 001391BC C0 3E E2 58 */ lfs f1, "@9376"@l(r30)
/* 8013D380 001391C0 7C 9B 23 78 */ mr r27, r4
/* 8013D384 001391C4 D0 23 00 00 */ stfs f1, 0x0(r3)
/* 8013D388 001391C8 7C 7A 1B 78 */ mr r26, r3
/* 8013D38C 001391CC FC 40 08 90 */ fmr f2, f1
/* 8013D390 001391D0 D0 23 00 08 */ stfs f1, 0x8(r3)
/* 8013D394 001391D4 7C BC 2B 78 */ mr r28, r5
/* 8013D398 001391D8 7C DD 33 78 */ mr r29, r6
/* 8013D39C 001391DC D0 23 00 04 */ stfs f1, 0x4(r3)
/* 8013D3A0 001391E0 D0 23 00 0C */ stfs f1, 0xc(r3)
/* 8013D3A4 001391E4 7F 63 DB 78 */ mr r3, r27
/* 8013D3A8 001391E8 48 00 3E 29 */ bl SetCursor__Q36nw4hbm2ut10CharWriterFff
/* 8013D3AC 001391EC C3 FE E2 58 */ lfs f31, -0x1da8(r30)
/* 8013D3B0 001391F0 3F E0 80 44 */ lis r31, "@9987"@ha
.global lbl_8013D3B4
lbl_8013D3B4:
/* 8013D3B4 001391F4 FC 20 F0 90 */ fmr f1, f30
/* 8013D3B8 001391F8 D3 E1 00 10 */ stfs f31, 0x10(r1)
/* 8013D3BC 001391FC 7F 64 DB 78 */ mr r4, r27
/* 8013D3C0 00139200 7F 85 E3 78 */ mr r5, r28
/* 8013D3C4 00139204 D3 E1 00 14 */ stfs f31, 0x14(r1)
/* 8013D3C8 00139208 7F A6 EB 78 */ mr r6, r29
/* 8013D3CC 0013920C D3 E1 00 18 */ stfs f31, 0x18(r1)
/* 8013D3D0 00139210 38 61 00 10 */ addi r3, r1, 0x10
/* 8013D3D4 00139214 38 E1 00 08 */ addi r7, r1, 0x8
/* 8013D3D8 00139218 D3 E1 00 1C */ stfs f31, 0x1c(r1)
/* 8013D3DC 0013921C 4B FF F9 05 */ bl "CalcLineRectImpl<w>__25@unnamed@lyt_textBox_cpp@FPQ36nw4hbm2ut4RectPQ36nw4hbm2ut17TextWriterBase<w>PCwifPb_i"
/* 8013D3E0 00139220 88 01 00 08 */ lbz r0, 0x8(r1)
/* 8013D3E4 00139224 7C 7E 1B 78 */ mr r30, r3
/* 8013D3E8 00139228 2C 00 00 00 */ cmpwi r0, 0x0
/* 8013D3EC 0013922C 41 82 00 20 */ beq lbl_8013D40C
/* 8013D3F0 00139230 FC 20 F0 90 */ fmr f1, f30
/* 8013D3F4 00139234 7F 64 DB 78 */ mr r4, r27
/* 8013D3F8 00139238 38 61 00 10 */ addi r3, r1, 0x10
/* 8013D3FC 0013923C 38 BF 41 B8 */ addi r5, r31, "@9987"@l
/* 8013D400 00139240 38 E1 00 08 */ addi r7, r1, 0x8
/* 8013D404 00139244 38 C0 00 01 */ li r6, 0x1
/* 8013D408 00139248 4B FF F8 D9 */ bl "CalcLineRectImpl<w>__25@unnamed@lyt_textBox_cpp@FPQ36nw4hbm2ut4RectPQ36nw4hbm2ut17TextWriterBase<w>PCwifPb_i"
.global lbl_8013D40C
lbl_8013D40C:
/* 8013D40C 0013924C C0 21 00 10 */ lfs f1, 0x10(r1)
/* 8013D410 00139250 57 C0 08 3C */ slwi r0, r30, 1
/* 8013D414 00139254 C0 1A 00 00 */ lfs f0, 0x0(r26)
/* 8013D418 00139258 7F 9C 02 14 */ add r28, r28, r0
/* 8013D41C 0013925C 7F BE E8 50 */ subf r29, r30, r29
/* 8013D420 00139260 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8013D424 00139264 40 81 00 08 */ ble lbl_8013D42C
/* 8013D428 00139268 48 00 00 08 */ b lbl_8013D430
.global lbl_8013D42C
lbl_8013D42C:
/* 8013D42C 0013926C FC 20 00 90 */ fmr f1, f0
.global lbl_8013D430
lbl_8013D430:
/* 8013D430 00139270 D0 3A 00 00 */ stfs f1, 0x0(r26)
/* 8013D434 00139274 C0 1A 00 04 */ lfs f0, 0x4(r26)
/* 8013D438 00139278 C0 21 00 14 */ lfs f1, 0x14(r1)
/* 8013D43C 0013927C FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8013D440 00139280 40 81 00 08 */ ble lbl_8013D448
/* 8013D444 00139284 48 00 00 08 */ b lbl_8013D44C
.global lbl_8013D448
lbl_8013D448:
/* 8013D448 00139288 FC 20 00 90 */ fmr f1, f0
.global lbl_8013D44C
lbl_8013D44C:
/* 8013D44C 0013928C D0 3A 00 04 */ stfs f1, 0x4(r26)
/* 8013D450 00139290 C0 1A 00 08 */ lfs f0, 0x8(r26)
/* 8013D454 00139294 C0 21 00 18 */ lfs f1, 0x18(r1)
/* 8013D458 00139298 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8013D45C 0013929C 40 80 00 08 */ bge lbl_8013D464
/* 8013D460 001392A0 48 00 00 08 */ b lbl_8013D468
.global lbl_8013D464
lbl_8013D464:
/* 8013D464 001392A4 FC 20 00 90 */ fmr f1, f0
.global lbl_8013D468
lbl_8013D468:
/* 8013D468 001392A8 D0 3A 00 08 */ stfs f1, 0x8(r26)
/* 8013D46C 001392AC C0 1A 00 0C */ lfs f0, 0xc(r26)
/* 8013D470 001392B0 C0 21 00 1C */ lfs f1, 0x1c(r1)
/* 8013D474 001392B4 FC 00 08 40 */ fcmpo cr0, f0, f1
/* 8013D478 001392B8 40 80 00 08 */ bge lbl_8013D480
/* 8013D47C 001392BC 48 00 00 08 */ b lbl_8013D484
.global lbl_8013D480
lbl_8013D480:
/* 8013D480 001392C0 FC 20 00 90 */ fmr f1, f0
.global lbl_8013D484
lbl_8013D484:
/* 8013D484 001392C4 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8013D488 001392C8 D0 3A 00 0C */ stfs f1, 0xc(r26)
/* 8013D48C 001392CC 41 81 FF 28 */ bgt lbl_8013D3B4
/* 8013D490 001392D0 39 61 00 40 */ addi r11, r1, 0x40
/* 8013D494 001392D4 E3 E1 00 58 */ psq_l f31, 0x58(r1), 0, qr0
/* 8013D498 001392D8 CB E1 00 50 */ lfd f31, 0x50(r1)
/* 8013D49C 001392DC E3 C1 00 48 */ psq_l f30, 0x48(r1), 0, qr0
/* 8013D4A0 001392E0 CB C1 00 40 */ lfd f30, 0x40(r1)
/* 8013D4A4 001392E4 4B EC 9E E1 */ bl lbl_80007384
/* 8013D4A8 001392E8 80 01 00 64 */ lwz r0, 0x64(r1)
/* 8013D4AC 001392EC 7C 08 03 A6 */ mtlr r0
/* 8013D4B0 001392F0 38 21 00 60 */ addi r1, r1, 0x60
/* 8013D4B4 001392F4 4E 80 00 20 */ blr
/* 8013D4B8 001392F8 00 00 00 00 */ .4byte 0x00000000
/* 8013D4BC 001392FC 00 00 00 00 */ .4byte 0x00000000
.global GetRuntimeTypeInfo__Q36nw4hbm3lyt7TextBoxCFv
GetRuntimeTypeInfo__Q36nw4hbm3lyt7TextBoxCFv:
/* 8013D4C0 00139300 3C 60 80 54 */ lis r3, typeInfo__Q36nw4hbm3lyt7TextBox@ha
/* 8013D4C4 00139304 38 63 37 88 */ addi r3, r3, typeInfo__Q36nw4hbm3lyt7TextBox@l
/* 8013D4C8 00139308 4E 80 00 20 */ blr
/* 8013D4CC 0013930C 00 00 00 00 */ .4byte 0x00000000
.global "__sinit_@@1lyt_textBox_cpp_8013D4D0"
"__sinit_@@1lyt_textBox_cpp_8013D4D0":
/* 8013D4D0 00139310 3C 80 80 54 */ lis r4, typeInfo__Q36nw4hbm3lyt4Pane@ha
/* 8013D4D4 00139314 3C 60 80 54 */ lis r3, typeInfo__Q36nw4hbm3lyt7TextBox@ha
/* 8013D4D8 00139318 38 84 37 78 */ addi r4, r4, typeInfo__Q36nw4hbm3lyt4Pane@l
/* 8013D4DC 0013931C 90 83 37 88 */ stw r4, typeInfo__Q36nw4hbm3lyt7TextBox@l(r3)
/* 8013D4E0 00139320 4E 80 00 20 */ blr
/* 8013D4E4 00139324 00 00 00 00 */ .4byte 0x00000000
/* 8013D4E8 00139328 00 00 00 00 */ .4byte 0x00000000
/* 8013D4EC 0013932C 00 00 00 00 */ .4byte 0x00000000
.include "macros.inc"
.section .ctors, "wa" # 0x80406260 - 0x80406540 ; 0x000002E0
.4byte "__sinit_@@1lyt_textBox_cpp_8013D4D0"
.include "macros.inc"
.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0
.global "@9376"
"@9376":
.4byte 0
.4byte 0
.global "@9414"
"@9414":
.4byte 0x43300000
.4byte 0x80000000
.4byte 0x3F000000
.4byte 0x3F800000
.include "macros.inc"
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
.global "@9987"
"@9987":
.4byte 0x000A0000
.global __vt__Q36nw4hbm3lyt7TextBox
__vt__Q36nw4hbm3lyt7TextBox:
.4byte __RTTI__Q36nw4hbm3lyt7TextBox
.4byte 0
.4byte __dt__Q36nw4hbm3lyt7TextBoxFv
.4byte GetRuntimeTypeInfo__Q36nw4hbm3lyt7TextBoxCFv
.4byte CalculateMtx__Q36nw4hbm3lyt4PaneFRCQ36nw4hbm3lyt8DrawInfo
.4byte Draw__Q36nw4hbm3lyt4PaneFRCQ36nw4hbm3lyt8DrawInfo
.4byte DrawSelf__Q36nw4hbm3lyt7TextBoxFRCQ36nw4hbm3lyt8DrawInfo
.4byte Animate__Q36nw4hbm3lyt4PaneFUl
.4byte AnimateSelf__Q36nw4hbm3lyt4PaneFUl
.4byte GetVtxColor__Q36nw4hbm3lyt7TextBoxCFUl
.4byte SetVtxColor__Q36nw4hbm3lyt7TextBoxFUlQ36nw4hbm2ut5Color
.4byte GetColorElement__Q36nw4hbm3lyt4PaneCFUl
.4byte SetColorElement__Q36nw4hbm3lyt4PaneFUlUc
.4byte GetVtxColorElement__Q36nw4hbm3lyt7TextBoxCFUl
.4byte SetVtxColorElement__Q36nw4hbm3lyt7TextBoxFUlUc
.4byte FindPaneByName__Q36nw4hbm3lyt4PaneFPCcb
.4byte FindMaterialByName__Q36nw4hbm3lyt4PaneFPCcb
.4byte BindAnimation__Q36nw4hbm3lyt4PaneFPQ36nw4hbm3lyt13AnimTransformb
.4byte UnbindAnimation__Q36nw4hbm3lyt4PaneFPQ36nw4hbm3lyt13AnimTransformb
.4byte UnbindAllAnimation__Q36nw4hbm3lyt4PaneFb
.4byte UnbindAnimationSelf__Q36nw4hbm3lyt4PaneFPQ36nw4hbm3lyt13AnimTransform
.4byte FindAnimationLink__Q36nw4hbm3lyt4PaneFPQ36nw4hbm3lyt13AnimTransform
.4byte SetAnimationEnable__Q36nw4hbm3lyt4PaneFPQ36nw4hbm3lyt13AnimTransformbb
.4byte GetMaterial__Q36nw4hbm3lyt4PaneCFv
.4byte LoadMtx__Q36nw4hbm3lyt4PaneFRCQ36nw4hbm3lyt8DrawInfo
.4byte AllocStringBuffer__Q36nw4hbm3lyt7TextBoxFUs
.4byte FreeStringBuffer__Q36nw4hbm3lyt7TextBoxFv
.4byte SetString__Q36nw4hbm3lyt7TextBoxFPCwUs
.4byte SetString__Q36nw4hbm3lyt7TextBoxFPCwUsUs
.global "@8641"
"@8641":
.4byte 0x6E773468
.4byte 0x626D3A3A
.4byte 0x6C79743A
.4byte 0x3A546578
.4byte 0x74426F78
.4byte 0
.global "@8642"
"@8642":
.4byte __RTTI__Q46nw4hbm3lyt6detail8PaneBase
.4byte 0
.4byte __RTTI__Q36nw4hbm3lyt4Pane
.4byte 0
.4byte 0
.4byte 0
.global __RTTI__Q36nw4hbm3lyt7TextBox
__RTTI__Q36nw4hbm3lyt7TextBox:
.4byte "@8641"
.4byte "@8642"
.include "macros.inc"
.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20
.global typeInfo__Q36nw4hbm3lyt7TextBox
typeInfo__Q36nw4hbm3lyt7TextBox:
.skip 0x8