prime/asm/Kyoto/Text/CTextParser.s

1683 lines
86 KiB
ArmAsm

.include "macros.inc"
.section .data
.balign 8
.global lbl_803ED718
lbl_803ED718:
# ROM: 0x3EA718
.string16 "font="
.string16 "image="
.string16 "fg-color="
.string16 "main-color="
.string16 "geometry-color="
.string16 "outline-color="
.string16 "color"
.string16 "no"
.string16 "line-spacing="
.string16 "line-extra-space="
.string16 "just="
.string16 "left"
.string16 "center"
.string16 "right"
.string16 "full"
.string16 "nleft"
.string16 "ncenter"
.string16 "nright"
.string16 "vjust="
.string16 "top"
.string16 "bottom"
.string16 "ntop"
.string16 "nbottom"
.string16 "push"
.string16 "pop"
.balign 8
.section .text, "ax"
.global ParseColor__11CTextParserFPCwi
ParseColor__11CTextParserFPCwi:
/* 803042FC 0030125C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80304300 00301260 7C 08 02 A6 */ mflr r0
/* 80304304 00301264 90 01 00 24 */ stw r0, 0x24(r1)
/* 80304308 00301268 BF 61 00 0C */ stmw r27, 0xc(r1)
/* 8030430C 0030126C 7C BC 2B 78 */ mr r28, r5
/* 80304310 00301270 7C 7B 1B 78 */ mr r27, r3
/* 80304314 00301274 7C DF 33 78 */ mr r31, r6
/* 80304318 00301278 38 7C 00 02 */ addi r3, r28, 2
/* 8030431C 0030127C 48 00 00 5D */ bl GetColorValue__11CTextParserFPCw
/* 80304320 00301280 7C 7D 1B 78 */ mr r29, r3
/* 80304324 00301284 38 7C 00 06 */ addi r3, r28, 6
/* 80304328 00301288 48 00 00 51 */ bl GetColorValue__11CTextParserFPCw
/* 8030432C 0030128C 7C 7E 1B 78 */ mr r30, r3
/* 80304330 00301290 38 7C 00 0A */ addi r3, r28, 0xa
/* 80304334 00301294 48 00 00 45 */ bl GetColorValue__11CTextParserFPCw
/* 80304338 00301298 2C 1F 00 09 */ cmpwi r31, 9
/* 8030433C 0030129C 7C 7F 1B 78 */ mr r31, r3
/* 80304340 003012A0 40 82 00 10 */ bne lbl_80304350
/* 80304344 003012A4 38 7C 00 0E */ addi r3, r28, 0xe
/* 80304348 003012A8 48 00 00 31 */ bl GetColorValue__11CTextParserFPCw
/* 8030434C 003012AC 48 00 00 08 */ b lbl_80304354
lbl_80304350:
/* 80304350 003012B0 38 60 00 FF */ li r3, 0xff
lbl_80304354:
/* 80304354 003012B4 9B BB 00 00 */ stb r29, 0(r27)
/* 80304358 003012B8 9B DB 00 01 */ stb r30, 1(r27)
/* 8030435C 003012BC 9B FB 00 02 */ stb r31, 2(r27)
/* 80304360 003012C0 98 7B 00 03 */ stb r3, 3(r27)
/* 80304364 003012C4 BB 61 00 0C */ lmw r27, 0xc(r1)
/* 80304368 003012C8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8030436C 003012CC 7C 08 03 A6 */ mtlr r0
/* 80304370 003012D0 38 21 00 20 */ addi r1, r1, 0x20
/* 80304374 003012D4 4E 80 00 20 */ blr
.global GetColorValue__11CTextParserFPCw
GetColorValue__11CTextParserFPCw:
/* 80304378 003012D8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8030437C 003012DC 7C 08 02 A6 */ mflr r0
/* 80304380 003012E0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80304384 003012E4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80304388 003012E8 7C 7F 1B 78 */ mr r31, r3
/* 8030438C 003012EC A0 63 00 00 */ lhz r3, 0(r3)
/* 80304390 003012F0 48 00 00 2D */ bl FromHex__11CTextParserFw
/* 80304394 003012F4 A0 1F 00 02 */ lhz r0, 2(r31)
/* 80304398 003012F8 54 7F 20 36 */ slwi r31, r3, 4
/* 8030439C 003012FC 7C 03 03 78 */ mr r3, r0
/* 803043A0 00301300 48 00 00 1D */ bl FromHex__11CTextParserFw
/* 803043A4 00301304 80 01 00 14 */ lwz r0, 0x14(r1)
/* 803043A8 00301308 7C 63 FA 14 */ add r3, r3, r31
/* 803043AC 0030130C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 803043B0 00301310 7C 08 03 A6 */ mtlr r0
/* 803043B4 00301314 38 21 00 10 */ addi r1, r1, 0x10
/* 803043B8 00301318 4E 80 00 20 */ blr
.global FromHex__11CTextParserFw
FromHex__11CTextParserFw:
/* 803043BC 0030131C 54 64 04 3E */ clrlwi r4, r3, 0x10
/* 803043C0 00301320 28 04 00 30 */ cmplwi r4, 0x30
/* 803043C4 00301324 41 80 00 14 */ blt lbl_803043D8
/* 803043C8 00301328 28 04 00 39 */ cmplwi r4, 0x39
/* 803043CC 0030132C 41 81 00 0C */ bgt lbl_803043D8
/* 803043D0 00301330 38 64 FF D0 */ addi r3, r4, -48
/* 803043D4 00301334 4E 80 00 20 */ blr
lbl_803043D8:
/* 803043D8 00301338 54 64 04 3E */ clrlwi r4, r3, 0x10
/* 803043DC 0030133C 28 04 00 41 */ cmplwi r4, 0x41
/* 803043E0 00301340 41 80 00 14 */ blt lbl_803043F4
/* 803043E4 00301344 28 04 00 46 */ cmplwi r4, 0x46
/* 803043E8 00301348 41 81 00 0C */ bgt lbl_803043F4
/* 803043EC 0030134C 38 64 FF C9 */ addi r3, r4, -55
/* 803043F0 00301350 4E 80 00 20 */ blr
lbl_803043F4:
/* 803043F4 00301354 54 63 04 3E */ clrlwi r3, r3, 0x10
/* 803043F8 00301358 28 03 00 61 */ cmplwi r3, 0x61
/* 803043FC 0030135C 41 80 00 14 */ blt lbl_80304410
/* 80304400 00301360 28 03 00 66 */ cmplwi r3, 0x66
/* 80304404 00301364 41 81 00 0C */ bgt lbl_80304410
/* 80304408 00301368 38 63 FF A9 */ addi r3, r3, -87
/* 8030440C 0030136C 4E 80 00 20 */ blr
lbl_80304410:
/* 80304410 00301370 38 60 00 00 */ li r3, 0
/* 80304414 00301374 4E 80 00 20 */ blr
.global ParseInt__11CTextParserFPCwib
ParseInt__11CTextParserFPCwib:
/* 80304418 00301378 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 8030441C 0030137C 38 C0 00 00 */ li r6, 0
/* 80304420 00301380 38 E0 00 00 */ li r7, 0
/* 80304424 00301384 41 82 00 20 */ beq lbl_80304444
/* 80304428 00301388 2C 04 00 00 */ cmpwi r4, 0
/* 8030442C 0030138C 40 81 00 18 */ ble lbl_80304444
/* 80304430 00301390 A0 03 00 00 */ lhz r0, 0(r3)
/* 80304434 00301394 28 00 00 2D */ cmplwi r0, 0x2d
/* 80304438 00301398 40 82 00 0C */ bne lbl_80304444
/* 8030443C 0030139C 38 C0 00 01 */ li r6, 1
/* 80304440 003013A0 38 E0 00 01 */ li r7, 1
lbl_80304444:
/* 80304444 003013A4 7C 07 20 00 */ cmpw r7, r4
/* 80304448 003013A8 54 E0 08 3C */ slwi r0, r7, 1
/* 8030444C 003013AC 7C A3 02 14 */ add r5, r3, r0
/* 80304450 003013B0 7C 67 20 50 */ subf r3, r7, r4
/* 80304454 003013B4 38 80 00 00 */ li r4, 0
/* 80304458 003013B8 40 80 00 BC */ bge lbl_80304514
/* 8030445C 003013BC 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f
/* 80304460 003013C0 7C 09 03 A6 */ mtctr r0
/* 80304464 003013C4 41 82 00 94 */ beq lbl_803044F8
lbl_80304468:
/* 80304468 003013C8 1C 84 00 0A */ mulli r4, r4, 0xa
/* 8030446C 003013CC A0 05 00 00 */ lhz r0, 0(r5)
/* 80304470 003013D0 7C 80 22 14 */ add r4, r0, r4
/* 80304474 003013D4 A0 05 00 02 */ lhz r0, 2(r5)
/* 80304478 003013D8 38 84 FF D0 */ addi r4, r4, -48
/* 8030447C 003013DC 1C 84 00 0A */ mulli r4, r4, 0xa
/* 80304480 003013E0 7C 80 22 14 */ add r4, r0, r4
/* 80304484 003013E4 A0 05 00 04 */ lhz r0, 4(r5)
/* 80304488 003013E8 38 84 FF D0 */ addi r4, r4, -48
/* 8030448C 003013EC 1C 84 00 0A */ mulli r4, r4, 0xa
/* 80304490 003013F0 7C 80 22 14 */ add r4, r0, r4
/* 80304494 003013F4 A0 05 00 06 */ lhz r0, 6(r5)
/* 80304498 003013F8 38 84 FF D0 */ addi r4, r4, -48
/* 8030449C 003013FC 1C 84 00 0A */ mulli r4, r4, 0xa
/* 803044A0 00301400 7C 80 22 14 */ add r4, r0, r4
/* 803044A4 00301404 A0 05 00 08 */ lhz r0, 8(r5)
/* 803044A8 00301408 38 84 FF D0 */ addi r4, r4, -48
/* 803044AC 0030140C 1C 84 00 0A */ mulli r4, r4, 0xa
/* 803044B0 00301410 7C 80 22 14 */ add r4, r0, r4
/* 803044B4 00301414 A0 05 00 0A */ lhz r0, 0xa(r5)
/* 803044B8 00301418 38 84 FF D0 */ addi r4, r4, -48
/* 803044BC 0030141C 1C 84 00 0A */ mulli r4, r4, 0xa
/* 803044C0 00301420 7C 80 22 14 */ add r4, r0, r4
/* 803044C4 00301424 A0 05 00 0C */ lhz r0, 0xc(r5)
/* 803044C8 00301428 38 84 FF D0 */ addi r4, r4, -48
/* 803044CC 0030142C 1C 84 00 0A */ mulli r4, r4, 0xa
/* 803044D0 00301430 7C 80 22 14 */ add r4, r0, r4
/* 803044D4 00301434 A0 05 00 0E */ lhz r0, 0xe(r5)
/* 803044D8 00301438 38 84 FF D0 */ addi r4, r4, -48
/* 803044DC 0030143C 38 A5 00 10 */ addi r5, r5, 0x10
/* 803044E0 00301440 1C 84 00 0A */ mulli r4, r4, 0xa
/* 803044E4 00301444 7C 80 22 14 */ add r4, r0, r4
/* 803044E8 00301448 38 84 FF D0 */ addi r4, r4, -48
/* 803044EC 0030144C 42 00 FF 7C */ bdnz lbl_80304468
/* 803044F0 00301450 70 63 00 07 */ andi. r3, r3, 7
/* 803044F4 00301454 41 82 00 20 */ beq lbl_80304514
lbl_803044F8:
/* 803044F8 00301458 7C 69 03 A6 */ mtctr r3
lbl_803044FC:
/* 803044FC 0030145C 1C 84 00 0A */ mulli r4, r4, 0xa
/* 80304500 00301460 A0 05 00 00 */ lhz r0, 0(r5)
/* 80304504 00301464 38 A5 00 02 */ addi r5, r5, 2
/* 80304508 00301468 7C 80 22 14 */ add r4, r0, r4
/* 8030450C 0030146C 38 84 FF D0 */ addi r4, r4, -48
/* 80304510 00301470 42 00 FF EC */ bdnz lbl_803044FC
lbl_80304514:
/* 80304514 00301474 54 C0 06 3F */ clrlwi. r0, r6, 0x18
/* 80304518 00301478 7C 83 23 78 */ mr r3, r4
/* 8030451C 0030147C 4D 82 00 20 */ beqlr
/* 80304520 00301480 7C 64 00 D0 */ neg r3, r4
/* 80304524 00301484 4E 80 00 20 */ blr
.global Equals__11CTextParserFPCwiPCw
Equals__11CTextParserFPCwiPCw:
/* 80304528 00301488 7C A6 2B 78 */ mr r6, r5
/* 8030452C 0030148C 39 00 00 00 */ li r8, 0
/* 80304530 00301490 48 00 00 24 */ b lbl_80304554
lbl_80304534:
/* 80304534 00301494 A0 03 00 00 */ lhz r0, 0(r3)
/* 80304538 00301498 7C 00 38 40 */ cmplw r0, r7
/* 8030453C 0030149C 41 82 00 0C */ beq lbl_80304548
/* 80304540 003014A0 38 60 00 00 */ li r3, 0
/* 80304544 003014A4 4E 80 00 20 */ blr
lbl_80304548:
/* 80304548 003014A8 38 C6 00 02 */ addi r6, r6, 2
/* 8030454C 003014AC 38 63 00 02 */ addi r3, r3, 2
/* 80304550 003014B0 39 08 00 01 */ addi r8, r8, 1
lbl_80304554:
/* 80304554 003014B4 A0 E6 00 00 */ lhz r7, 0(r6)
/* 80304558 003014B8 28 07 00 00 */ cmplwi r7, 0
/* 8030455C 003014BC 41 82 00 0C */ beq lbl_80304568
/* 80304560 003014C0 7C 08 20 00 */ cmpw r8, r4
/* 80304564 003014C4 41 80 FF D0 */ blt lbl_80304534
lbl_80304568:
/* 80304568 003014C8 55 00 08 3C */ slwi r0, r8, 1
/* 8030456C 003014CC 7C 05 02 2E */ lhzx r0, r5, r0
/* 80304570 003014D0 7C 00 00 34 */ cntlzw r0, r0
/* 80304574 003014D4 54 03 D9 7E */ srwi r3, r0, 5
/* 80304578 003014D8 4E 80 00 20 */ blr
.global BeginsWith__11CTextParserFPCwiPCw
BeginsWith__11CTextParserFPCwiPCw:
/* 8030457C 003014DC 7C A6 2B 78 */ mr r6, r5
/* 80304580 003014E0 39 00 00 00 */ li r8, 0
/* 80304584 003014E4 48 00 00 24 */ b lbl_803045A8
lbl_80304588:
/* 80304588 003014E8 A0 03 00 00 */ lhz r0, 0(r3)
/* 8030458C 003014EC 7C 00 38 40 */ cmplw r0, r7
/* 80304590 003014F0 41 82 00 0C */ beq lbl_8030459C
/* 80304594 003014F4 38 60 00 00 */ li r3, 0
/* 80304598 003014F8 4E 80 00 20 */ blr
lbl_8030459C:
/* 8030459C 003014FC 38 C6 00 02 */ addi r6, r6, 2
/* 803045A0 00301500 38 63 00 02 */ addi r3, r3, 2
/* 803045A4 00301504 39 08 00 01 */ addi r8, r8, 1
lbl_803045A8:
/* 803045A8 00301508 A0 E6 00 00 */ lhz r7, 0(r6)
/* 803045AC 0030150C 28 07 00 00 */ cmplwi r7, 0
/* 803045B0 00301510 41 82 00 0C */ beq lbl_803045BC
/* 803045B4 00301514 7C 08 20 00 */ cmpw r8, r4
/* 803045B8 00301518 41 80 FF D0 */ blt lbl_80304588
lbl_803045BC:
/* 803045BC 0030151C 55 00 08 3C */ slwi r0, r8, 1
/* 803045C0 00301520 7C 05 02 2E */ lhzx r0, r5, r0
/* 803045C4 00301524 7C 00 00 34 */ cntlzw r0, r0
/* 803045C8 00301528 54 03 D9 7E */ srwi r3, r0, 5
/* 803045CC 0030152C 4E 80 00 20 */ blr
.global ParseTag__11CTextParserFR18CTextExecuteBufferPCwi
ParseTag__11CTextParserFR18CTextExecuteBufferPCwi:
/* 803045D0 00301530 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 803045D4 00301534 7C 08 02 A6 */ mflr r0
/* 803045D8 00301538 3D 00 80 3F */ lis r8, lbl_803ED718@ha
/* 803045DC 0030153C 90 01 00 94 */ stw r0, 0x94(r1)
/* 803045E0 00301540 BF 61 00 7C */ stmw r27, 0x7c(r1)
/* 803045E4 00301544 7C BE 2B 78 */ mr r30, r5
/* 803045E8 00301548 7C 7C 1B 78 */ mr r28, r3
/* 803045EC 0030154C 7C DF 33 78 */ mr r31, r6
/* 803045F0 00301550 7C 9D 23 78 */ mr r29, r4
/* 803045F4 00301554 38 A8 D7 18 */ addi r5, r8, lbl_803ED718@l
/* 803045F8 00301558 7C FB 3B 78 */ mr r27, r7
/* 803045FC 0030155C 7F C3 F3 78 */ mr r3, r30
/* 80304600 00301560 7F E4 FB 78 */ mr r4, r31
/* 80304604 00301564 4B FF FF 79 */ bl BeginsWith__11CTextParserFPCwiPCw
/* 80304608 00301568 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8030460C 0030156C 41 82 00 4C */ beq lbl_80304658
/* 80304610 00301570 7F 84 E3 78 */ mr r4, r28
/* 80304614 00301574 38 61 00 1C */ addi r3, r1, 0x1c
/* 80304618 00301578 38 BE 00 0A */ addi r5, r30, 0xa
/* 8030461C 0030157C 38 DF FF FB */ addi r6, r31, -5
/* 80304620 00301580 48 00 0F 09 */ bl GetFont__11CTextParserFPCwi
/* 80304624 00301584 38 61 00 24 */ addi r3, r1, 0x24
/* 80304628 00301588 38 81 00 1C */ addi r4, r1, 0x1c
/* 8030462C 0030158C 48 03 C8 7D */ bl __ct__6CTokenFRC6CToken
/* 80304630 00301590 38 61 00 1C */ addi r3, r1, 0x1c
/* 80304634 00301594 38 80 00 00 */ li r4, 0
/* 80304638 00301598 48 03 C8 09 */ bl __dt__6CTokenFv
/* 8030463C 0030159C 7F A3 EB 78 */ mr r3, r29
/* 80304640 003015A0 38 81 00 24 */ addi r4, r1, 0x24
/* 80304644 003015A4 4B FF F3 11 */ bl "AddFont__18CTextExecuteBufferFRC21TToken<11CRasterFont>"
/* 80304648 003015A8 38 61 00 24 */ addi r3, r1, 0x24
/* 8030464C 003015AC 38 80 00 00 */ li r4, 0
/* 80304650 003015B0 48 03 C7 F1 */ bl __dt__6CTokenFv
/* 80304654 003015B4 48 00 06 3C */ b lbl_80304C90
lbl_80304658:
/* 80304658 003015B8 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 8030465C 003015BC 7F C3 F3 78 */ mr r3, r30
/* 80304660 003015C0 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304664 003015C4 7F E4 FB 78 */ mr r4, r31
/* 80304668 003015C8 38 A5 00 0C */ addi r5, r5, 0xc
/* 8030466C 003015CC 4B FF FF 11 */ bl BeginsWith__11CTextParserFPCwiPCw
/* 80304670 003015D0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304674 003015D4 41 82 00 50 */ beq lbl_803046C4
/* 80304678 003015D8 7F 84 E3 78 */ mr r4, r28
/* 8030467C 003015DC 7F 67 DB 78 */ mr r7, r27
/* 80304680 003015E0 38 61 00 2C */ addi r3, r1, 0x2c
/* 80304684 003015E4 38 BE 00 0C */ addi r5, r30, 0xc
/* 80304688 003015E8 38 DF FF FA */ addi r6, r31, -6
/* 8030468C 003015EC 48 00 06 21 */ bl GetImage__11CTextParserFPCwi
/* 80304690 003015F0 38 61 00 48 */ addi r3, r1, 0x48
/* 80304694 003015F4 38 81 00 2C */ addi r4, r1, 0x2c
/* 80304698 003015F8 4B FC 43 4D */ bl __ct__13CFontImageDefFRC13CFontImageDef
/* 8030469C 003015FC 38 61 00 2C */ addi r3, r1, 0x2c
/* 803046A0 00301600 38 80 FF FF */ li r4, -1
/* 803046A4 00301604 4B D2 45 59 */ bl __dt__13CFontImageDefFv
/* 803046A8 00301608 7F A3 EB 78 */ mr r3, r29
/* 803046AC 0030160C 38 81 00 48 */ addi r4, r1, 0x48
/* 803046B0 00301610 4B FF EE FD */ bl AddImage__18CTextExecuteBufferFRC13CFontImageDef
/* 803046B4 00301614 38 61 00 48 */ addi r3, r1, 0x48
/* 803046B8 00301618 38 80 FF FF */ li r4, -1
/* 803046BC 0030161C 4B D2 45 41 */ bl __dt__13CFontImageDefFv
/* 803046C0 00301620 48 00 05 D0 */ b lbl_80304C90
lbl_803046C4:
/* 803046C4 00301624 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 803046C8 00301628 7F C3 F3 78 */ mr r3, r30
/* 803046CC 0030162C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 803046D0 00301630 7F E4 FB 78 */ mr r4, r31
/* 803046D4 00301634 38 A5 00 1A */ addi r5, r5, 0x1a
/* 803046D8 00301638 4B FF FE A5 */ bl BeginsWith__11CTextParserFPCwiPCw
/* 803046DC 0030163C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 803046E0 00301640 41 82 00 2C */ beq lbl_8030470C
/* 803046E4 00301644 7F 84 E3 78 */ mr r4, r28
/* 803046E8 00301648 38 61 00 18 */ addi r3, r1, 0x18
/* 803046EC 0030164C 38 BE 00 12 */ addi r5, r30, 0x12
/* 803046F0 00301650 38 DF FF F7 */ addi r6, r31, -9
/* 803046F4 00301654 4B FF FC 09 */ bl ParseColor__11CTextParserFPCwi
/* 803046F8 00301658 7F A3 EB 78 */ mr r3, r29
/* 803046FC 0030165C 38 A1 00 18 */ addi r5, r1, 0x18
/* 80304700 00301660 38 80 00 03 */ li r4, 3
/* 80304704 00301664 4B FF ED C1 */ bl AddColor__18CTextExecuteBufferF10EColorTypeRC10CTextColor
/* 80304708 00301668 48 00 05 88 */ b lbl_80304C90
lbl_8030470C:
/* 8030470C 0030166C 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304710 00301670 7F C3 F3 78 */ mr r3, r30
/* 80304714 00301674 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304718 00301678 7F E4 FB 78 */ mr r4, r31
/* 8030471C 0030167C 38 A5 00 2E */ addi r5, r5, 0x2e
/* 80304720 00301680 4B FF FE 5D */ bl BeginsWith__11CTextParserFPCwiPCw
/* 80304724 00301684 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304728 00301688 41 82 00 2C */ beq lbl_80304754
/* 8030472C 0030168C 7F 84 E3 78 */ mr r4, r28
/* 80304730 00301690 38 61 00 14 */ addi r3, r1, 0x14
/* 80304734 00301694 38 BE 00 16 */ addi r5, r30, 0x16
/* 80304738 00301698 38 DF FF F5 */ addi r6, r31, -11
/* 8030473C 0030169C 4B FF FB C1 */ bl ParseColor__11CTextParserFPCwi
/* 80304740 003016A0 7F A3 EB 78 */ mr r3, r29
/* 80304744 003016A4 38 A1 00 14 */ addi r5, r1, 0x14
/* 80304748 003016A8 38 80 00 00 */ li r4, 0
/* 8030474C 003016AC 4B FF ED 79 */ bl AddColor__18CTextExecuteBufferF10EColorTypeRC10CTextColor
/* 80304750 003016B0 48 00 05 40 */ b lbl_80304C90
lbl_80304754:
/* 80304754 003016B4 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304758 003016B8 7F C3 F3 78 */ mr r3, r30
/* 8030475C 003016BC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304760 003016C0 7F E4 FB 78 */ mr r4, r31
/* 80304764 003016C4 38 A5 00 46 */ addi r5, r5, 0x46
/* 80304768 003016C8 4B FF FE 15 */ bl BeginsWith__11CTextParserFPCwiPCw
/* 8030476C 003016CC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304770 003016D0 41 82 00 2C */ beq lbl_8030479C
/* 80304774 003016D4 7F 84 E3 78 */ mr r4, r28
/* 80304778 003016D8 38 61 00 10 */ addi r3, r1, 0x10
/* 8030477C 003016DC 38 BE 00 16 */ addi r5, r30, 0x16
/* 80304780 003016E0 38 DF FF F5 */ addi r6, r31, -11
/* 80304784 003016E4 4B FF FB 79 */ bl ParseColor__11CTextParserFPCwi
/* 80304788 003016E8 7F A3 EB 78 */ mr r3, r29
/* 8030478C 003016EC 38 A1 00 10 */ addi r5, r1, 0x10
/* 80304790 003016F0 38 80 00 02 */ li r4, 2
/* 80304794 003016F4 4B FF ED 31 */ bl AddColor__18CTextExecuteBufferF10EColorTypeRC10CTextColor
/* 80304798 003016F8 48 00 04 F8 */ b lbl_80304C90
lbl_8030479C:
/* 8030479C 003016FC 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 803047A0 00301700 7F C3 F3 78 */ mr r3, r30
/* 803047A4 00301704 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 803047A8 00301708 7F E4 FB 78 */ mr r4, r31
/* 803047AC 0030170C 38 A5 00 66 */ addi r5, r5, 0x66
/* 803047B0 00301710 4B FF FD CD */ bl BeginsWith__11CTextParserFPCwiPCw
/* 803047B4 00301714 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 803047B8 00301718 41 82 00 2C */ beq lbl_803047E4
/* 803047BC 0030171C 7F 84 E3 78 */ mr r4, r28
/* 803047C0 00301720 38 61 00 0C */ addi r3, r1, 0xc
/* 803047C4 00301724 38 BE 00 1C */ addi r5, r30, 0x1c
/* 803047C8 00301728 38 DF FF F2 */ addi r6, r31, -14
/* 803047CC 0030172C 4B FF FB 31 */ bl ParseColor__11CTextParserFPCwi
/* 803047D0 00301730 7F A3 EB 78 */ mr r3, r29
/* 803047D4 00301734 38 A1 00 0C */ addi r5, r1, 0xc
/* 803047D8 00301738 38 80 00 01 */ li r4, 1
/* 803047DC 0030173C 4B FF EC E9 */ bl AddColor__18CTextExecuteBufferF10EColorTypeRC10CTextColor
/* 803047E0 00301740 48 00 04 B0 */ b lbl_80304C90
lbl_803047E4:
/* 803047E4 00301744 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 803047E8 00301748 7F C3 F3 78 */ mr r3, r30
/* 803047EC 0030174C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 803047F0 00301750 7F E4 FB 78 */ mr r4, r31
/* 803047F4 00301754 38 A5 00 84 */ addi r5, r5, 0x84
/* 803047F8 00301758 4B FF FD 85 */ bl BeginsWith__11CTextParserFPCwiPCw
/* 803047FC 0030175C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304800 00301760 41 82 00 A4 */ beq lbl_803048A4
/* 80304804 00301764 A0 7E 00 0C */ lhz r3, 0xc(r30)
/* 80304808 00301768 37 63 FF D0 */ addic. r27, r3, -48
/* 8030480C 0030176C 41 80 04 84 */ blt lbl_80304C90
/* 80304810 00301770 2C 1B 00 09 */ cmpwi r27, 9
/* 80304814 00301774 40 81 00 08 */ ble lbl_8030481C
/* 80304818 00301778 48 00 04 78 */ b lbl_80304C90
lbl_8030481C:
/* 8030481C 0030177C 3B DE 00 0E */ addi r30, r30, 0xe
/* 80304820 00301780 3B FF FF F9 */ addi r31, r31, -7
/* 80304824 00301784 A0 7E 00 00 */ lhz r3, 0(r30)
/* 80304828 00301788 28 03 00 30 */ cmplwi r3, 0x30
/* 8030482C 0030178C 41 80 00 20 */ blt lbl_8030484C
/* 80304830 00301790 28 03 00 39 */ cmplwi r3, 0x39
/* 80304834 00301794 41 81 00 18 */ bgt lbl_8030484C
/* 80304838 00301798 1C 1B 00 0A */ mulli r0, r27, 0xa
/* 8030483C 0030179C 3B DE 00 02 */ addi r30, r30, 2
/* 80304840 003017A0 3B FF FF FF */ addi r31, r31, -1
/* 80304844 003017A4 7F 63 02 14 */ add r27, r3, r0
/* 80304848 003017A8 3B 7B FF D0 */ addi r27, r27, -48
lbl_8030484C:
/* 8030484C 003017AC 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304850 003017B0 38 7E 00 14 */ addi r3, r30, 0x14
/* 80304854 003017B4 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304858 003017B8 38 9F FF F6 */ addi r4, r31, -10
/* 8030485C 003017BC 38 A5 00 90 */ addi r5, r5, 0x90
/* 80304860 003017C0 4B FF FC C9 */ bl Equals__11CTextParserFPCwiPCw
/* 80304864 003017C4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304868 003017C8 41 82 00 14 */ beq lbl_8030487C
/* 8030486C 003017CC 7F A3 EB 78 */ mr r3, r29
/* 80304870 003017D0 7F 64 DB 78 */ mr r4, r27
/* 80304874 003017D4 4B FF EA AD */ bl AddRemoveColorOverride__18CTextExecuteBufferFi
/* 80304878 003017D8 48 00 04 18 */ b lbl_80304C90
lbl_8030487C:
/* 8030487C 003017DC 7F 84 E3 78 */ mr r4, r28
/* 80304880 003017E0 38 61 00 08 */ addi r3, r1, 8
/* 80304884 003017E4 38 BE 00 14 */ addi r5, r30, 0x14
/* 80304888 003017E8 38 DF FF F6 */ addi r6, r31, -10
/* 8030488C 003017EC 4B FF FA 71 */ bl ParseColor__11CTextParserFPCwi
/* 80304890 003017F0 7F A3 EB 78 */ mr r3, r29
/* 80304894 003017F4 7F 64 DB 78 */ mr r4, r27
/* 80304898 003017F8 38 A1 00 08 */ addi r5, r1, 8
/* 8030489C 003017FC 4B FF EB 41 */ bl AddColorOverride__18CTextExecuteBufferFiRC10CTextColor
/* 803048A0 00301800 48 00 03 F0 */ b lbl_80304C90
lbl_803048A4:
/* 803048A4 00301804 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 803048A8 00301808 7F C3 F3 78 */ mr r3, r30
/* 803048AC 0030180C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 803048B0 00301810 7F E4 FB 78 */ mr r4, r31
/* 803048B4 00301814 38 A5 00 96 */ addi r5, r5, 0x96
/* 803048B8 00301818 4B FF FC C5 */ bl BeginsWith__11CTextParserFPCwiPCw
/* 803048BC 0030181C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 803048C0 00301820 41 82 00 44 */ beq lbl_80304904
/* 803048C4 00301824 38 7E 00 1A */ addi r3, r30, 0x1a
/* 803048C8 00301828 38 9F FF F3 */ addi r4, r31, -13
/* 803048CC 0030182C 38 A0 00 01 */ li r5, 1
/* 803048D0 00301830 4B FF FB 49 */ bl ParseInt__11CTextParserFPCwib
/* 803048D4 00301834 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 803048D8 00301838 3C 00 43 30 */ lis r0, 0x4330
/* 803048DC 0030183C 90 61 00 6C */ stw r3, 0x6c(r1)
/* 803048E0 00301840 7F A3 EB 78 */ mr r3, r29
/* 803048E4 00301844 C8 42 C7 60 */ lfd f2, lbl_805AE480@sda21(r2)
/* 803048E8 00301848 90 01 00 68 */ stw r0, 0x68(r1)
/* 803048EC 0030184C C0 02 C7 58 */ lfs f0, lbl_805AE478@sda21(r2)
/* 803048F0 00301850 C8 21 00 68 */ lfd f1, 0x68(r1)
/* 803048F4 00301854 EC 21 10 28 */ fsubs f1, f1, f2
/* 803048F8 00301858 EC 21 00 24 */ fdivs f1, f1, f0
/* 803048FC 0030185C 4B FF E9 69 */ bl AddLineSpacing__18CTextExecuteBufferFf
/* 80304900 00301860 48 00 03 90 */ b lbl_80304C90
lbl_80304904:
/* 80304904 00301864 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304908 00301868 7F C3 F3 78 */ mr r3, r30
/* 8030490C 0030186C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304910 00301870 7F E4 FB 78 */ mr r4, r31
/* 80304914 00301874 38 A5 00 B2 */ addi r5, r5, 0xb2
/* 80304918 00301878 4B FF FC 65 */ bl BeginsWith__11CTextParserFPCwiPCw
/* 8030491C 0030187C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304920 00301880 41 82 00 24 */ beq lbl_80304944
/* 80304924 00301884 38 7E 00 22 */ addi r3, r30, 0x22
/* 80304928 00301888 38 9F FF EF */ addi r4, r31, -17
/* 8030492C 0030188C 38 A0 00 01 */ li r5, 1
/* 80304930 00301890 4B FF FA E9 */ bl ParseInt__11CTextParserFPCwib
/* 80304934 00301894 7C 64 1B 78 */ mr r4, r3
/* 80304938 00301898 7F A3 EB 78 */ mr r3, r29
/* 8030493C 0030189C 4B FF E8 69 */ bl AddLineExtraSpace__18CTextExecuteBufferFi
/* 80304940 003018A0 48 00 03 50 */ b lbl_80304C90
lbl_80304944:
/* 80304944 003018A4 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304948 003018A8 7F C3 F3 78 */ mr r3, r30
/* 8030494C 003018AC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304950 003018B0 7F E4 FB 78 */ mr r4, r31
/* 80304954 003018B4 38 A5 00 D6 */ addi r5, r5, 0xd6
/* 80304958 003018B8 4B FF FC 25 */ bl BeginsWith__11CTextParserFPCwiPCw
/* 8030495C 003018BC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304960 003018C0 41 82 01 54 */ beq lbl_80304AB4
/* 80304964 003018C4 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304968 003018C8 38 7E 00 0A */ addi r3, r30, 0xa
/* 8030496C 003018CC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304970 003018D0 38 9F FF FB */ addi r4, r31, -5
/* 80304974 003018D4 38 A5 00 E2 */ addi r5, r5, 0xe2
/* 80304978 003018D8 4B FF FB B1 */ bl Equals__11CTextParserFPCwiPCw
/* 8030497C 003018DC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304980 003018E0 41 82 00 14 */ beq lbl_80304994
/* 80304984 003018E4 7F A3 EB 78 */ mr r3, r29
/* 80304988 003018E8 38 80 00 00 */ li r4, 0
/* 8030498C 003018EC 4B FF E7 F5 */ bl AddJustification__18CTextExecuteBufferF14EJustification
/* 80304990 003018F0 48 00 03 00 */ b lbl_80304C90
lbl_80304994:
/* 80304994 003018F4 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304998 003018F8 38 7E 00 0A */ addi r3, r30, 0xa
/* 8030499C 003018FC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 803049A0 00301900 38 9F FF FB */ addi r4, r31, -5
/* 803049A4 00301904 38 A5 00 EC */ addi r5, r5, 0xec
/* 803049A8 00301908 4B FF FB 81 */ bl Equals__11CTextParserFPCwiPCw
/* 803049AC 0030190C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 803049B0 00301910 41 82 00 14 */ beq lbl_803049C4
/* 803049B4 00301914 7F A3 EB 78 */ mr r3, r29
/* 803049B8 00301918 38 80 00 01 */ li r4, 1
/* 803049BC 0030191C 4B FF E7 C5 */ bl AddJustification__18CTextExecuteBufferF14EJustification
/* 803049C0 00301920 48 00 02 D0 */ b lbl_80304C90
lbl_803049C4:
/* 803049C4 00301924 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 803049C8 00301928 38 7E 00 0A */ addi r3, r30, 0xa
/* 803049CC 0030192C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 803049D0 00301930 38 9F FF FB */ addi r4, r31, -5
/* 803049D4 00301934 38 A5 00 FA */ addi r5, r5, 0xfa
/* 803049D8 00301938 4B FF FB 51 */ bl Equals__11CTextParserFPCwiPCw
/* 803049DC 0030193C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 803049E0 00301940 41 82 00 14 */ beq lbl_803049F4
/* 803049E4 00301944 7F A3 EB 78 */ mr r3, r29
/* 803049E8 00301948 38 80 00 02 */ li r4, 2
/* 803049EC 0030194C 4B FF E7 95 */ bl AddJustification__18CTextExecuteBufferF14EJustification
/* 803049F0 00301950 48 00 02 A0 */ b lbl_80304C90
lbl_803049F4:
/* 803049F4 00301954 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 803049F8 00301958 38 7E 00 0A */ addi r3, r30, 0xa
/* 803049FC 0030195C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304A00 00301960 38 9F FF FB */ addi r4, r31, -5
/* 80304A04 00301964 38 A5 01 06 */ addi r5, r5, 0x106
/* 80304A08 00301968 4B FF FB 21 */ bl Equals__11CTextParserFPCwiPCw
/* 80304A0C 0030196C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304A10 00301970 41 82 00 14 */ beq lbl_80304A24
/* 80304A14 00301974 7F A3 EB 78 */ mr r3, r29
/* 80304A18 00301978 38 80 00 03 */ li r4, 3
/* 80304A1C 0030197C 4B FF E7 65 */ bl AddJustification__18CTextExecuteBufferF14EJustification
/* 80304A20 00301980 48 00 02 70 */ b lbl_80304C90
lbl_80304A24:
/* 80304A24 00301984 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304A28 00301988 38 7E 00 0A */ addi r3, r30, 0xa
/* 80304A2C 0030198C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304A30 00301990 38 9F FF FB */ addi r4, r31, -5
/* 80304A34 00301994 38 A5 01 10 */ addi r5, r5, 0x110
/* 80304A38 00301998 4B FF FA F1 */ bl Equals__11CTextParserFPCwiPCw
/* 80304A3C 0030199C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304A40 003019A0 41 82 00 14 */ beq lbl_80304A54
/* 80304A44 003019A4 7F A3 EB 78 */ mr r3, r29
/* 80304A48 003019A8 38 80 00 04 */ li r4, 4
/* 80304A4C 003019AC 4B FF E7 35 */ bl AddJustification__18CTextExecuteBufferF14EJustification
/* 80304A50 003019B0 48 00 02 40 */ b lbl_80304C90
lbl_80304A54:
/* 80304A54 003019B4 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304A58 003019B8 38 7E 00 0A */ addi r3, r30, 0xa
/* 80304A5C 003019BC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304A60 003019C0 38 9F FF FB */ addi r4, r31, -5
/* 80304A64 003019C4 38 A5 01 1C */ addi r5, r5, 0x11c
/* 80304A68 003019C8 4B FF FA C1 */ bl Equals__11CTextParserFPCwiPCw
/* 80304A6C 003019CC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304A70 003019D0 41 82 00 14 */ beq lbl_80304A84
/* 80304A74 003019D4 7F A3 EB 78 */ mr r3, r29
/* 80304A78 003019D8 38 80 00 05 */ li r4, 5
/* 80304A7C 003019DC 4B FF E7 05 */ bl AddJustification__18CTextExecuteBufferF14EJustification
/* 80304A80 003019E0 48 00 02 10 */ b lbl_80304C90
lbl_80304A84:
/* 80304A84 003019E4 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304A88 003019E8 38 7E 00 0A */ addi r3, r30, 0xa
/* 80304A8C 003019EC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304A90 003019F0 38 9F FF FB */ addi r4, r31, -5
/* 80304A94 003019F4 38 A5 01 2C */ addi r5, r5, 0x12c
/* 80304A98 003019F8 4B FF FA 91 */ bl Equals__11CTextParserFPCwiPCw
/* 80304A9C 003019FC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304AA0 00301A00 41 82 01 F0 */ beq lbl_80304C90
/* 80304AA4 00301A04 7F A3 EB 78 */ mr r3, r29
/* 80304AA8 00301A08 38 80 00 06 */ li r4, 6
/* 80304AAC 00301A0C 4B FF E6 D5 */ bl AddJustification__18CTextExecuteBufferF14EJustification
/* 80304AB0 00301A10 48 00 01 E0 */ b lbl_80304C90
lbl_80304AB4:
/* 80304AB4 00301A14 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304AB8 00301A18 7F C3 F3 78 */ mr r3, r30
/* 80304ABC 00301A1C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304AC0 00301A20 7F E4 FB 78 */ mr r4, r31
/* 80304AC4 00301A24 38 A5 01 3A */ addi r5, r5, 0x13a
/* 80304AC8 00301A28 4B FF FA B5 */ bl BeginsWith__11CTextParserFPCwiPCw
/* 80304ACC 00301A2C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304AD0 00301A30 41 82 01 54 */ beq lbl_80304C24
/* 80304AD4 00301A34 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304AD8 00301A38 38 7E 00 0C */ addi r3, r30, 0xc
/* 80304ADC 00301A3C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304AE0 00301A40 38 9F FF FA */ addi r4, r31, -6
/* 80304AE4 00301A44 38 A5 01 48 */ addi r5, r5, 0x148
/* 80304AE8 00301A48 4B FF FA 41 */ bl Equals__11CTextParserFPCwiPCw
/* 80304AEC 00301A4C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304AF0 00301A50 41 82 00 14 */ beq lbl_80304B04
/* 80304AF4 00301A54 7F A3 EB 78 */ mr r3, r29
/* 80304AF8 00301A58 38 80 00 00 */ li r4, 0
/* 80304AFC 00301A5C 4B FF E6 61 */ bl AddVerticalJustification__18CTextExecuteBufferF22EVerticalJustification
/* 80304B00 00301A60 48 00 01 90 */ b lbl_80304C90
lbl_80304B04:
/* 80304B04 00301A64 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304B08 00301A68 38 7E 00 0C */ addi r3, r30, 0xc
/* 80304B0C 00301A6C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304B10 00301A70 38 9F FF FA */ addi r4, r31, -6
/* 80304B14 00301A74 38 A5 00 EC */ addi r5, r5, 0xec
/* 80304B18 00301A78 4B FF FA 11 */ bl Equals__11CTextParserFPCwiPCw
/* 80304B1C 00301A7C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304B20 00301A80 41 82 00 14 */ beq lbl_80304B34
/* 80304B24 00301A84 7F A3 EB 78 */ mr r3, r29
/* 80304B28 00301A88 38 80 00 01 */ li r4, 1
/* 80304B2C 00301A8C 4B FF E6 31 */ bl AddVerticalJustification__18CTextExecuteBufferF22EVerticalJustification
/* 80304B30 00301A90 48 00 01 60 */ b lbl_80304C90
lbl_80304B34:
/* 80304B34 00301A94 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304B38 00301A98 38 7E 00 0C */ addi r3, r30, 0xc
/* 80304B3C 00301A9C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304B40 00301AA0 38 9F FF FA */ addi r4, r31, -6
/* 80304B44 00301AA4 38 A5 01 50 */ addi r5, r5, 0x150
/* 80304B48 00301AA8 4B FF F9 E1 */ bl Equals__11CTextParserFPCwiPCw
/* 80304B4C 00301AAC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304B50 00301AB0 41 82 00 14 */ beq lbl_80304B64
/* 80304B54 00301AB4 7F A3 EB 78 */ mr r3, r29
/* 80304B58 00301AB8 38 80 00 02 */ li r4, 2
/* 80304B5C 00301ABC 4B FF E6 01 */ bl AddVerticalJustification__18CTextExecuteBufferF22EVerticalJustification
/* 80304B60 00301AC0 48 00 01 30 */ b lbl_80304C90
lbl_80304B64:
/* 80304B64 00301AC4 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304B68 00301AC8 38 7E 00 0C */ addi r3, r30, 0xc
/* 80304B6C 00301ACC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304B70 00301AD0 38 9F FF FA */ addi r4, r31, -6
/* 80304B74 00301AD4 38 A5 01 06 */ addi r5, r5, 0x106
/* 80304B78 00301AD8 4B FF F9 B1 */ bl Equals__11CTextParserFPCwiPCw
/* 80304B7C 00301ADC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304B80 00301AE0 41 82 00 14 */ beq lbl_80304B94
/* 80304B84 00301AE4 7F A3 EB 78 */ mr r3, r29
/* 80304B88 00301AE8 38 80 00 03 */ li r4, 3
/* 80304B8C 00301AEC 4B FF E5 D1 */ bl AddVerticalJustification__18CTextExecuteBufferF22EVerticalJustification
/* 80304B90 00301AF0 48 00 01 00 */ b lbl_80304C90
lbl_80304B94:
/* 80304B94 00301AF4 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304B98 00301AF8 38 7E 00 0C */ addi r3, r30, 0xc
/* 80304B9C 00301AFC 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304BA0 00301B00 38 9F FF FA */ addi r4, r31, -6
/* 80304BA4 00301B04 38 A5 01 5E */ addi r5, r5, 0x15e
/* 80304BA8 00301B08 4B FF F9 81 */ bl Equals__11CTextParserFPCwiPCw
/* 80304BAC 00301B0C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304BB0 00301B10 41 82 00 14 */ beq lbl_80304BC4
/* 80304BB4 00301B14 7F A3 EB 78 */ mr r3, r29
/* 80304BB8 00301B18 38 80 00 04 */ li r4, 4
/* 80304BBC 00301B1C 4B FF E5 A1 */ bl AddVerticalJustification__18CTextExecuteBufferF22EVerticalJustification
/* 80304BC0 00301B20 48 00 00 D0 */ b lbl_80304C90
lbl_80304BC4:
/* 80304BC4 00301B24 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304BC8 00301B28 38 7E 00 0C */ addi r3, r30, 0xc
/* 80304BCC 00301B2C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304BD0 00301B30 38 9F FF FA */ addi r4, r31, -6
/* 80304BD4 00301B34 38 A5 01 1C */ addi r5, r5, 0x11c
/* 80304BD8 00301B38 4B FF F9 51 */ bl Equals__11CTextParserFPCwiPCw
/* 80304BDC 00301B3C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304BE0 00301B40 41 82 00 14 */ beq lbl_80304BF4
/* 80304BE4 00301B44 7F A3 EB 78 */ mr r3, r29
/* 80304BE8 00301B48 38 80 00 05 */ li r4, 5
/* 80304BEC 00301B4C 4B FF E5 71 */ bl AddVerticalJustification__18CTextExecuteBufferF22EVerticalJustification
/* 80304BF0 00301B50 48 00 00 A0 */ b lbl_80304C90
lbl_80304BF4:
/* 80304BF4 00301B54 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304BF8 00301B58 38 7E 00 0C */ addi r3, r30, 0xc
/* 80304BFC 00301B5C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304C00 00301B60 38 9F FF FA */ addi r4, r31, -6
/* 80304C04 00301B64 38 A5 01 68 */ addi r5, r5, 0x168
/* 80304C08 00301B68 4B FF F9 21 */ bl Equals__11CTextParserFPCwiPCw
/* 80304C0C 00301B6C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304C10 00301B70 41 82 00 80 */ beq lbl_80304C90
/* 80304C14 00301B74 7F A3 EB 78 */ mr r3, r29
/* 80304C18 00301B78 38 80 00 06 */ li r4, 6
/* 80304C1C 00301B7C 4B FF E5 41 */ bl AddVerticalJustification__18CTextExecuteBufferF22EVerticalJustification
/* 80304C20 00301B80 48 00 00 70 */ b lbl_80304C90
lbl_80304C24:
/* 80304C24 00301B84 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304C28 00301B88 7F C3 F3 78 */ mr r3, r30
/* 80304C2C 00301B8C 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304C30 00301B90 7F E4 FB 78 */ mr r4, r31
/* 80304C34 00301B94 38 A5 01 78 */ addi r5, r5, 0x178
/* 80304C38 00301B98 4B FF F8 F1 */ bl Equals__11CTextParserFPCwiPCw
/* 80304C3C 00301B9C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304C40 00301BA0 41 82 00 10 */ beq lbl_80304C50
/* 80304C44 00301BA4 7F A3 EB 78 */ mr r3, r29
/* 80304C48 00301BA8 4B FF E4 61 */ bl AddPushState__18CTextExecuteBufferFv
/* 80304C4C 00301BAC 48 00 00 44 */ b lbl_80304C90
lbl_80304C50:
/* 80304C50 00301BB0 3C 80 80 3F */ lis r4, lbl_803ED718@ha
/* 80304C54 00301BB4 7F C3 F3 78 */ mr r3, r30
/* 80304C58 00301BB8 38 A4 D7 18 */ addi r5, r4, lbl_803ED718@l
/* 80304C5C 00301BBC 7F E4 FB 78 */ mr r4, r31
/* 80304C60 00301BC0 38 A5 01 82 */ addi r5, r5, 0x182
/* 80304C64 00301BC4 4B FF F8 C5 */ bl Equals__11CTextParserFPCwiPCw
/* 80304C68 00301BC8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 80304C6C 00301BCC 41 82 00 10 */ beq lbl_80304C7C
/* 80304C70 00301BD0 7F A3 EB 78 */ mr r3, r29
/* 80304C74 00301BD4 4B FF E3 4D */ bl AddPopState__18CTextExecuteBufferFv
/* 80304C78 00301BD8 48 00 00 18 */ b lbl_80304C90
lbl_80304C7C:
/* 80304C7C 00301BDC 7F 83 E3 78 */ mr r3, r28
/* 80304C80 00301BE0 7F A4 EB 78 */ mr r4, r29
/* 80304C84 00301BE4 7F C5 F3 78 */ mr r5, r30
/* 80304C88 00301BE8 7F E6 FB 78 */ mr r6, r31
/* 80304C8C 00301BEC 48 00 00 19 */ bl HandleUserTag__11CTextParserFR18CTextExecuteBufferPCwi
lbl_80304C90:
/* 80304C90 00301BF0 BB 61 00 7C */ lmw r27, 0x7c(r1)
/* 80304C94 00301BF4 80 01 00 94 */ lwz r0, 0x94(r1)
/* 80304C98 00301BF8 7C 08 03 A6 */ mtlr r0
/* 80304C9C 00301BFC 38 21 00 90 */ addi r1, r1, 0x90
/* 80304CA0 00301C00 4E 80 00 20 */ blr
.global HandleUserTag__11CTextParserFR18CTextExecuteBufferPCwi
HandleUserTag__11CTextParserFR18CTextExecuteBufferPCwi:
/* 80304CA4 00301C04 38 60 00 00 */ li r3, 0
/* 80304CA8 00301C08 4E 80 00 20 */ blr
.global GetImage__11CTextParserFPCwi
GetImage__11CTextParserFPCwi:
/* 80304CAC 00301C0C 94 21 FD D0 */ stwu r1, -0x230(r1)
/* 80304CB0 00301C10 7C 08 02 A6 */ mflr r0
/* 80304CB4 00301C14 90 01 02 34 */ stw r0, 0x234(r1)
/* 80304CB8 00301C18 DB E1 02 20 */ stfd f31, 0x220(r1)
/* 80304CBC 00301C1C F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0
/* 80304CC0 00301C20 DB C1 02 10 */ stfd f30, 0x210(r1)
/* 80304CC4 00301C24 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0
/* 80304CC8 00301C28 DB A1 02 00 */ stfd f29, 0x200(r1)
/* 80304CCC 00301C2C F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0
/* 80304CD0 00301C30 BF 01 01 E0 */ stmw r24, 0x1e0(r1)
/* 80304CD4 00301C34 7C 7F 1B 78 */ mr r31, r3
/* 80304CD8 00301C38 7C 9D 23 78 */ mr r29, r4
/* 80304CDC 00301C3C 7C A4 2B 78 */ mr r4, r5
/* 80304CE0 00301C40 7C C5 33 78 */ mr r5, r6
/* 80304CE4 00301C44 7C FE 3B 78 */ mr r30, r7
/* 80304CE8 00301C48 38 61 01 88 */ addi r3, r1, 0x188
/* 80304CEC 00301C4C 38 C1 00 14 */ addi r6, r1, 0x14
/* 80304CF0 00301C50 48 03 8A CD */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator"
/* 80304CF4 00301C54 38 61 01 78 */ addi r3, r1, 0x178
/* 80304CF8 00301C58 38 81 01 88 */ addi r4, r1, 0x188
/* 80304CFC 00301C5C 48 03 9A CD */ bl "ConvertToANSI__13CStringExtrasFRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80304D00 00301C60 38 61 01 C8 */ addi r3, r1, 0x1c8
/* 80304D04 00301C64 38 81 01 78 */ addi r4, r1, 0x178
/* 80304D08 00301C68 48 03 94 59 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80304D0C 00301C6C 38 61 01 78 */ addi r3, r1, 0x178
/* 80304D10 00301C70 48 03 8D D1 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80304D14 00301C74 38 61 01 88 */ addi r3, r1, 0x188
/* 80304D18 00301C78 48 03 84 1D */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80304D1C 00301C7C 3B 20 00 00 */ li r25, 0
/* 80304D20 00301C80 38 A0 00 00 */ li r5, 0
lbl_80304D24:
/* 80304D24 00301C84 38 61 01 C8 */ addi r3, r1, 0x1c8
/* 80304D28 00301C88 38 80 00 2C */ li r4, 0x2c
/* 80304D2C 00301C8C 4B F0 74 29 */ bl "sub_8020c154__FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>ii"
/* 80304D30 00301C90 2C 03 FF FF */ cmpwi r3, -1
/* 80304D34 00301C94 41 82 00 10 */ beq lbl_80304D44
/* 80304D38 00301C98 3B 39 00 01 */ addi r25, r25, 1
/* 80304D3C 00301C9C 38 A3 00 01 */ addi r5, r3, 1
/* 80304D40 00301CA0 4B FF FF E4 */ b lbl_80304D24
lbl_80304D44:
/* 80304D44 00301CA4 2C 19 00 00 */ cmpwi r25, 0
/* 80304D48 00301CA8 40 81 07 30 */ ble lbl_80305478
/* 80304D4C 00301CAC 3C 80 80 3D */ lis r4, lbl_803D6EA0@ha
/* 80304D50 00301CB0 38 61 01 68 */ addi r3, r1, 0x168
/* 80304D54 00301CB4 38 A4 6E A0 */ addi r5, r4, lbl_803D6EA0@l
/* 80304D58 00301CB8 38 81 01 C8 */ addi r4, r1, 0x1c8
/* 80304D5C 00301CBC 38 A5 00 18 */ addi r5, r5, 0x18
/* 80304D60 00301CC0 38 D9 00 01 */ addi r6, r25, 1
/* 80304D64 00301CC4 48 03 96 CD */ bl "TokenizeString__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>PCci"
/* 80304D68 00301CC8 80 01 01 6C */ lwz r0, 0x16c(r1)
/* 80304D6C 00301CCC 80 61 01 70 */ lwz r3, 0x170(r1)
/* 80304D70 00301CD0 2C 00 00 00 */ cmpwi r0, 0
/* 80304D74 00301CD4 90 01 01 BC */ stw r0, 0x1bc(r1)
/* 80304D78 00301CD8 90 61 01 C0 */ stw r3, 0x1c0(r1)
/* 80304D7C 00301CDC 40 82 00 18 */ bne lbl_80304D94
/* 80304D80 00301CE0 2C 03 00 00 */ cmpwi r3, 0
/* 80304D84 00301CE4 40 82 00 10 */ bne lbl_80304D94
/* 80304D88 00301CE8 38 00 00 00 */ li r0, 0
/* 80304D8C 00301CEC 90 01 01 C4 */ stw r0, 0x1c4(r1)
/* 80304D90 00301CF0 48 00 00 70 */ b lbl_80304E00
lbl_80304D94:
/* 80304D94 00301CF4 80 01 01 C0 */ lwz r0, 0x1c0(r1)
/* 80304D98 00301CF8 54 03 20 37 */ rlwinm. r3, r0, 4, 0, 0x1b
/* 80304D9C 00301CFC 40 82 00 10 */ bne lbl_80304DAC
/* 80304DA0 00301D00 38 00 00 00 */ li r0, 0
/* 80304DA4 00301D04 90 01 01 C4 */ stw r0, 0x1c4(r1)
/* 80304DA8 00301D08 48 00 00 1C */ b lbl_80304DC4
lbl_80304DAC:
/* 80304DAC 00301D0C 3C 80 80 3D */ lis r4, lbl_803D6EA0@ha
/* 80304DB0 00301D10 38 A0 00 00 */ li r5, 0
/* 80304DB4 00301D14 38 84 6E A0 */ addi r4, r4, lbl_803D6EA0@l
/* 80304DB8 00301D18 38 84 00 11 */ addi r4, r4, 0x11
/* 80304DBC 00301D1C 48 01 0A 5D */ bl __nwa__FUlPCcPCc
/* 80304DC0 00301D20 90 61 01 C4 */ stw r3, 0x1c4(r1)
lbl_80304DC4:
/* 80304DC4 00301D24 83 21 01 BC */ lwz r25, 0x1bc(r1)
/* 80304DC8 00301D28 3B 40 00 00 */ li r26, 0
/* 80304DCC 00301D2C 83 81 01 74 */ lwz r28, 0x174(r1)
/* 80304DD0 00301D30 83 61 01 C4 */ lwz r27, 0x1c4(r1)
/* 80304DD4 00301D34 48 00 00 24 */ b lbl_80304DF8
lbl_80304DD8:
/* 80304DD8 00301D38 28 1B 00 00 */ cmplwi r27, 0
/* 80304DDC 00301D3C 41 82 00 10 */ beq lbl_80304DEC
/* 80304DE0 00301D40 7F 63 DB 78 */ mr r3, r27
/* 80304DE4 00301D44 7F 84 E3 78 */ mr r4, r28
/* 80304DE8 00301D48 48 03 93 79 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
lbl_80304DEC:
/* 80304DEC 00301D4C 3B 7B 00 10 */ addi r27, r27, 0x10
/* 80304DF0 00301D50 3B 5A 00 01 */ addi r26, r26, 1
/* 80304DF4 00301D54 3B 9C 00 10 */ addi r28, r28, 0x10
lbl_80304DF8:
/* 80304DF8 00301D58 7C 1A C8 00 */ cmpw r26, r25
/* 80304DFC 00301D5C 41 80 FF DC */ blt lbl_80304DD8
lbl_80304E00:
/* 80304E00 00301D60 80 01 01 6C */ lwz r0, 0x16c(r1)
/* 80304E04 00301D64 83 21 01 74 */ lwz r25, 0x174(r1)
/* 80304E08 00301D68 54 00 20 36 */ slwi r0, r0, 4
/* 80304E0C 00301D6C 7F 59 02 14 */ add r26, r25, r0
/* 80304E10 00301D70 93 21 00 7C */ stw r25, 0x7c(r1)
/* 80304E14 00301D74 93 41 00 84 */ stw r26, 0x84(r1)
/* 80304E18 00301D78 93 41 00 80 */ stw r26, 0x80(r1)
/* 80304E1C 00301D7C 93 21 00 78 */ stw r25, 0x78(r1)
/* 80304E20 00301D80 48 00 00 18 */ b lbl_80304E38
lbl_80304E24:
/* 80304E24 00301D84 28 19 00 00 */ cmplwi r25, 0
/* 80304E28 00301D88 41 82 00 0C */ beq lbl_80304E34
/* 80304E2C 00301D8C 7F 23 CB 78 */ mr r3, r25
/* 80304E30 00301D90 48 03 8C B1 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80304E34:
/* 80304E34 00301D94 3B 39 00 10 */ addi r25, r25, 0x10
lbl_80304E38:
/* 80304E38 00301D98 7C 19 D0 40 */ cmplw r25, r26
/* 80304E3C 00301D9C 40 82 FF E8 */ bne lbl_80304E24
/* 80304E40 00301DA0 80 61 01 74 */ lwz r3, 0x174(r1)
/* 80304E44 00301DA4 28 03 00 00 */ cmplwi r3, 0
/* 80304E48 00301DA8 41 82 00 08 */ beq lbl_80304E50
/* 80304E4C 00301DAC 48 01 0A E5 */ bl Free__7CMemoryFPCv
lbl_80304E50:
/* 80304E50 00301DB0 80 81 01 C4 */ lwz r4, 0x1c4(r1)
/* 80304E54 00301DB4 38 61 01 58 */ addi r3, r1, 0x158
/* 80304E58 00301DB8 38 C1 00 10 */ addi r6, r1, 0x10
/* 80304E5C 00301DBC 38 A0 FF FF */ li r5, -1
/* 80304E60 00301DC0 80 84 00 00 */ lwz r4, 0(r4)
/* 80304E64 00301DC4 48 03 7F 2D */ bl "__ct__Q24rstl83basic_string<c,Q24rstl31case_insensitive_char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 80304E68 00301DC8 3C 80 80 3D */ lis r4, lbl_803D6EA0@ha
/* 80304E6C 00301DCC 38 61 01 48 */ addi r3, r1, 0x148
/* 80304E70 00301DD0 38 84 6E A0 */ addi r4, r4, lbl_803D6EA0@l
/* 80304E74 00301DD4 38 84 00 1A */ addi r4, r4, 0x1a
/* 80304E78 00301DD8 4B F1 7D C5 */ bl sub_8021cc3c
/* 80304E7C 00301DDC 38 61 01 58 */ addi r3, r1, 0x158
/* 80304E80 00301DE0 38 81 01 48 */ addi r4, r1, 0x148
/* 80304E84 00301DE4 4B F1 7E E5 */ bl sub_8021cd68
/* 80304E88 00301DE8 7C 7A 1B 78 */ mr r26, r3
/* 80304E8C 00301DEC 38 61 01 48 */ addi r3, r1, 0x148
/* 80304E90 00301DF0 48 03 7E 3D */ bl "internal_dereference__Q24rstl83basic_string<c,Q24rstl31case_insensitive_char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80304E94 00301DF4 38 61 01 58 */ addi r3, r1, 0x158
/* 80304E98 00301DF8 48 03 7E 35 */ bl "internal_dereference__Q24rstl83basic_string<c,Q24rstl31case_insensitive_char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80304E9C 00301DFC 57 40 06 3F */ clrlwi. r0, r26, 0x18
/* 80304EA0 00301E00 41 82 01 D8 */ beq lbl_80305078
/* 80304EA4 00301E04 80 61 01 C4 */ lwz r3, 0x1c4(r1)
/* 80304EA8 00301E08 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80304EAC 00301E0C 48 08 B3 31 */ bl atof
/* 80304EB0 00301E10 38 00 00 00 */ li r0, 0
/* 80304EB4 00301E14 80 81 01 BC */ lwz r4, 0x1bc(r1)
/* 80304EB8 00301E18 FF E0 08 18 */ frsp f31, f1
/* 80304EBC 00301E1C 90 01 01 AC */ stw r0, 0x1ac(r1)
/* 80304EC0 00301E20 38 61 01 A8 */ addi r3, r1, 0x1a8
/* 80304EC4 00301E24 38 84 FF FE */ addi r4, r4, -2
/* 80304EC8 00301E28 90 01 01 B0 */ stw r0, 0x1b0(r1)
/* 80304ECC 00301E2C 90 01 01 B4 */ stw r0, 0x1b4(r1)
/* 80304ED0 00301E30 48 00 09 D9 */ bl "reserve__Q24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>Fi"
/* 80304ED4 00301E34 3C 60 54 58 */ lis r3, 0x54585452@ha
/* 80304ED8 00301E38 83 81 01 C4 */ lwz r28, 0x1c4(r1)
/* 80304EDC 00301E3C 83 41 01 BC */ lwz r26, 0x1bc(r1)
/* 80304EE0 00301E40 3B 63 54 52 */ addi r27, r3, 0x54585452@l
/* 80304EE4 00301E44 3B 00 00 02 */ li r24, 2
/* 80304EE8 00301E48 3B 20 00 20 */ li r25, 0x20
/* 80304EEC 00301E4C 48 00 00 B0 */ b lbl_80304F9C
lbl_80304EF0:
/* 80304EF0 00301E50 7F C4 F3 78 */ mr r4, r30
/* 80304EF4 00301E54 7C 7C CA 14 */ add r3, r28, r25
/* 80304EF8 00301E58 48 00 06 F5 */ bl "GetAssetIdFromString__11CTextParserFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80304EFC 00301E5C 90 61 01 04 */ stw r3, 0x104(r1)
/* 80304F00 00301E60 38 61 00 F8 */ addi r3, r1, 0xf8
/* 80304F04 00301E64 38 A1 01 00 */ addi r5, r1, 0x100
/* 80304F08 00301E68 93 61 01 00 */ stw r27, 0x100(r1)
/* 80304F0C 00301E6C 80 9D 00 00 */ lwz r4, 0(r29)
/* 80304F10 00301E70 81 84 00 00 */ lwz r12, 0(r4)
/* 80304F14 00301E74 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80304F18 00301E78 7D 89 03 A6 */ mtctr r12
/* 80304F1C 00301E7C 4E 80 04 21 */ bctrl
/* 80304F20 00301E80 38 61 00 F0 */ addi r3, r1, 0xf0
/* 80304F24 00301E84 38 81 00 F8 */ addi r4, r1, 0xf8
/* 80304F28 00301E88 48 03 BF 81 */ bl __ct__6CTokenFRC6CToken
/* 80304F2C 00301E8C 80 01 01 AC */ lwz r0, 0x1ac(r1)
/* 80304F30 00301E90 80 A1 01 B0 */ lwz r5, 0x1b0(r1)
/* 80304F34 00301E94 7C 00 28 00 */ cmpw r0, r5
/* 80304F38 00301E98 41 80 00 1C */ blt lbl_80304F54
/* 80304F3C 00301E9C 2C 05 00 00 */ cmpwi r5, 0
/* 80304F40 00301EA0 38 61 01 A8 */ addi r3, r1, 0x1a8
/* 80304F44 00301EA4 38 80 00 04 */ li r4, 4
/* 80304F48 00301EA8 41 82 00 08 */ beq lbl_80304F50
/* 80304F4C 00301EAC 54 A4 08 3C */ slwi r4, r5, 1
lbl_80304F50:
/* 80304F50 00301EB0 48 00 09 59 */ bl "reserve__Q24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>Fi"
lbl_80304F54:
/* 80304F54 00301EB4 80 01 01 AC */ lwz r0, 0x1ac(r1)
/* 80304F58 00301EB8 80 61 01 B4 */ lwz r3, 0x1b4(r1)
/* 80304F5C 00301EBC 54 00 18 38 */ slwi r0, r0, 3
/* 80304F60 00301EC0 7C 63 02 15 */ add. r3, r3, r0
/* 80304F64 00301EC4 41 82 00 0C */ beq lbl_80304F70
/* 80304F68 00301EC8 38 81 00 F0 */ addi r4, r1, 0xf0
/* 80304F6C 00301ECC 48 03 BF 3D */ bl __ct__6CTokenFRC6CToken
lbl_80304F70:
/* 80304F70 00301ED0 80 A1 01 AC */ lwz r5, 0x1ac(r1)
/* 80304F74 00301ED4 38 61 00 F0 */ addi r3, r1, 0xf0
/* 80304F78 00301ED8 38 80 00 00 */ li r4, 0
/* 80304F7C 00301EDC 38 05 00 01 */ addi r0, r5, 1
/* 80304F80 00301EE0 90 01 01 AC */ stw r0, 0x1ac(r1)
/* 80304F84 00301EE4 48 03 BE BD */ bl __dt__6CTokenFv
/* 80304F88 00301EE8 38 61 00 F8 */ addi r3, r1, 0xf8
/* 80304F8C 00301EEC 38 80 FF FF */ li r4, -1
/* 80304F90 00301EF0 48 03 BE B1 */ bl __dt__6CTokenFv
/* 80304F94 00301EF4 3B 39 00 10 */ addi r25, r25, 0x10
/* 80304F98 00301EF8 3B 18 00 01 */ addi r24, r24, 1
lbl_80304F9C:
/* 80304F9C 00301EFC 7C 18 D0 00 */ cmpw r24, r26
/* 80304FA0 00301F00 41 80 FF 50 */ blt lbl_80304EF0
/* 80304FA4 00301F04 C0 22 C7 68 */ lfs f1, lbl_805AE488@sda21(r2)
/* 80304FA8 00301F08 38 61 00 E8 */ addi r3, r1, 0xe8
/* 80304FAC 00301F0C FC 40 08 90 */ fmr f2, f1
/* 80304FB0 00301F10 48 00 F2 51 */ bl __ct__9CVector2fFff
/* 80304FB4 00301F14 FC 20 F8 90 */ fmr f1, f31
/* 80304FB8 00301F18 7C 65 1B 78 */ mr r5, r3
/* 80304FBC 00301F1C 7F E3 FB 78 */ mr r3, r31
/* 80304FC0 00301F20 38 81 01 A8 */ addi r4, r1, 0x1a8
/* 80304FC4 00301F24 48 05 45 71 */ bl "__ct__13CFontImageDefFRCQ24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>fRC9CVector2f"
/* 80304FC8 00301F28 80 01 01 AC */ lwz r0, 0x1ac(r1)
/* 80304FCC 00301F2C 83 21 01 B4 */ lwz r25, 0x1b4(r1)
/* 80304FD0 00301F30 54 00 18 38 */ slwi r0, r0, 3
/* 80304FD4 00301F34 7F 59 02 14 */ add r26, r25, r0
/* 80304FD8 00301F38 93 21 00 6C */ stw r25, 0x6c(r1)
/* 80304FDC 00301F3C 93 41 00 74 */ stw r26, 0x74(r1)
/* 80304FE0 00301F40 93 41 00 70 */ stw r26, 0x70(r1)
/* 80304FE4 00301F44 93 21 00 68 */ stw r25, 0x68(r1)
/* 80304FE8 00301F48 48 00 00 1C */ b lbl_80305004
lbl_80304FEC:
/* 80304FEC 00301F4C 28 19 00 00 */ cmplwi r25, 0
/* 80304FF0 00301F50 41 82 00 10 */ beq lbl_80305000
/* 80304FF4 00301F54 7F 23 CB 78 */ mr r3, r25
/* 80304FF8 00301F58 38 80 00 00 */ li r4, 0
/* 80304FFC 00301F5C 48 03 BE 45 */ bl __dt__6CTokenFv
lbl_80305000:
/* 80305000 00301F60 3B 39 00 08 */ addi r25, r25, 8
lbl_80305004:
/* 80305004 00301F64 7C 19 D0 40 */ cmplw r25, r26
/* 80305008 00301F68 40 82 FF E4 */ bne lbl_80304FEC
/* 8030500C 00301F6C 80 61 01 B4 */ lwz r3, 0x1b4(r1)
/* 80305010 00301F70 28 03 00 00 */ cmplwi r3, 0
/* 80305014 00301F74 41 82 00 08 */ beq lbl_8030501C
/* 80305018 00301F78 48 01 09 19 */ bl Free__7CMemoryFPCv
lbl_8030501C:
/* 8030501C 00301F7C 80 01 01 BC */ lwz r0, 0x1bc(r1)
/* 80305020 00301F80 83 21 01 C4 */ lwz r25, 0x1c4(r1)
/* 80305024 00301F84 54 00 20 36 */ slwi r0, r0, 4
/* 80305028 00301F88 7F 59 02 14 */ add r26, r25, r0
/* 8030502C 00301F8C 93 21 00 5C */ stw r25, 0x5c(r1)
/* 80305030 00301F90 93 41 00 64 */ stw r26, 0x64(r1)
/* 80305034 00301F94 93 41 00 60 */ stw r26, 0x60(r1)
/* 80305038 00301F98 93 21 00 58 */ stw r25, 0x58(r1)
/* 8030503C 00301F9C 48 00 00 18 */ b lbl_80305054
lbl_80305040:
/* 80305040 00301FA0 28 19 00 00 */ cmplwi r25, 0
/* 80305044 00301FA4 41 82 00 0C */ beq lbl_80305050
/* 80305048 00301FA8 7F 23 CB 78 */ mr r3, r25
/* 8030504C 00301FAC 48 03 8A 95 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80305050:
/* 80305050 00301FB0 3B 39 00 10 */ addi r25, r25, 0x10
lbl_80305054:
/* 80305054 00301FB4 7C 19 D0 40 */ cmplw r25, r26
/* 80305058 00301FB8 40 82 FF E8 */ bne lbl_80305040
/* 8030505C 00301FBC 80 61 01 C4 */ lwz r3, 0x1c4(r1)
/* 80305060 00301FC0 28 03 00 00 */ cmplwi r3, 0
/* 80305064 00301FC4 41 82 00 08 */ beq lbl_8030506C
/* 80305068 00301FC8 48 01 08 C9 */ bl Free__7CMemoryFPCv
lbl_8030506C:
/* 8030506C 00301FCC 38 61 01 C8 */ addi r3, r1, 0x1c8
/* 80305070 00301FD0 48 03 8A 71 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80305074 00301FD4 48 00 04 88 */ b lbl_803054FC
lbl_80305078:
/* 80305078 00301FD8 80 81 01 C4 */ lwz r4, 0x1c4(r1)
/* 8030507C 00301FDC 38 61 01 38 */ addi r3, r1, 0x138
/* 80305080 00301FE0 38 C1 00 0C */ addi r6, r1, 0xc
/* 80305084 00301FE4 38 A0 FF FF */ li r5, -1
/* 80305088 00301FE8 80 84 00 00 */ lwz r4, 0(r4)
/* 8030508C 00301FEC 48 03 7D 05 */ bl "__ct__Q24rstl83basic_string<c,Q24rstl31case_insensitive_char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 80305090 00301FF0 3C 80 80 3D */ lis r4, lbl_803D6EA0@ha
/* 80305094 00301FF4 38 61 01 28 */ addi r3, r1, 0x128
/* 80305098 00301FF8 38 84 6E A0 */ addi r4, r4, lbl_803D6EA0@l
/* 8030509C 00301FFC 38 84 00 1C */ addi r4, r4, 0x1c
/* 803050A0 00302000 4B F1 7B 9D */ bl sub_8021cc3c
/* 803050A4 00302004 38 61 01 38 */ addi r3, r1, 0x138
/* 803050A8 00302008 38 81 01 28 */ addi r4, r1, 0x128
/* 803050AC 0030200C 4B F1 7C BD */ bl sub_8021cd68
/* 803050B0 00302010 7C 7A 1B 78 */ mr r26, r3
/* 803050B4 00302014 38 61 01 28 */ addi r3, r1, 0x128
/* 803050B8 00302018 48 03 7C 15 */ bl "internal_dereference__Q24rstl83basic_string<c,Q24rstl31case_insensitive_char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 803050BC 0030201C 38 61 01 38 */ addi r3, r1, 0x138
/* 803050C0 00302020 48 03 7C 0D */ bl "internal_dereference__Q24rstl83basic_string<c,Q24rstl31case_insensitive_char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 803050C4 00302024 57 40 06 3F */ clrlwi. r0, r26, 0x18
/* 803050C8 00302028 41 82 02 04 */ beq lbl_803052CC
/* 803050CC 0030202C 80 01 01 BC */ lwz r0, 0x1bc(r1)
/* 803050D0 00302030 2C 00 00 05 */ cmpwi r0, 5
/* 803050D4 00302034 41 80 01 F8 */ blt lbl_803052CC
/* 803050D8 00302038 80 61 01 C4 */ lwz r3, 0x1c4(r1)
/* 803050DC 0030203C 80 63 00 10 */ lwz r3, 0x10(r3)
/* 803050E0 00302040 48 08 B0 FD */ bl atof
/* 803050E4 00302044 80 61 01 C4 */ lwz r3, 0x1c4(r1)
/* 803050E8 00302048 FF E0 08 18 */ frsp f31, f1
/* 803050EC 0030204C 80 63 00 20 */ lwz r3, 0x20(r3)
/* 803050F0 00302050 48 08 B0 ED */ bl atof
/* 803050F4 00302054 80 61 01 C4 */ lwz r3, 0x1c4(r1)
/* 803050F8 00302058 FF C0 08 18 */ frsp f30, f1
/* 803050FC 0030205C 80 63 00 30 */ lwz r3, 0x30(r3)
/* 80305100 00302060 48 08 B0 DD */ bl atof
/* 80305104 00302064 38 00 00 00 */ li r0, 0
/* 80305108 00302068 80 81 01 BC */ lwz r4, 0x1bc(r1)
/* 8030510C 0030206C FF A0 08 18 */ frsp f29, f1
/* 80305110 00302070 90 01 01 9C */ stw r0, 0x19c(r1)
/* 80305114 00302074 38 61 01 98 */ addi r3, r1, 0x198
/* 80305118 00302078 38 84 FF FC */ addi r4, r4, -4
/* 8030511C 0030207C 90 01 01 A0 */ stw r0, 0x1a0(r1)
/* 80305120 00302080 90 01 01 A4 */ stw r0, 0x1a4(r1)
/* 80305124 00302084 48 00 07 85 */ bl "reserve__Q24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>Fi"
/* 80305128 00302088 3C 60 54 58 */ lis r3, 0x54585452@ha
/* 8030512C 0030208C 83 41 01 C4 */ lwz r26, 0x1c4(r1)
/* 80305130 00302090 83 81 01 BC */ lwz r28, 0x1bc(r1)
/* 80305134 00302094 3B 63 54 52 */ addi r27, r3, 0x54585452@l
/* 80305138 00302098 3B 00 00 04 */ li r24, 4
/* 8030513C 0030209C 3B 20 00 40 */ li r25, 0x40
/* 80305140 003020A0 48 00 00 B0 */ b lbl_803051F0
lbl_80305144:
/* 80305144 003020A4 7F C4 F3 78 */ mr r4, r30
/* 80305148 003020A8 7C 7A CA 14 */ add r3, r26, r25
/* 8030514C 003020AC 48 00 04 A1 */ bl "GetAssetIdFromString__11CTextParserFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80305150 003020B0 90 61 00 E4 */ stw r3, 0xe4(r1)
/* 80305154 003020B4 38 61 00 D8 */ addi r3, r1, 0xd8
/* 80305158 003020B8 38 A1 00 E0 */ addi r5, r1, 0xe0
/* 8030515C 003020BC 93 61 00 E0 */ stw r27, 0xe0(r1)
/* 80305160 003020C0 80 9D 00 00 */ lwz r4, 0(r29)
/* 80305164 003020C4 81 84 00 00 */ lwz r12, 0(r4)
/* 80305168 003020C8 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8030516C 003020CC 7D 89 03 A6 */ mtctr r12
/* 80305170 003020D0 4E 80 04 21 */ bctrl
/* 80305174 003020D4 38 61 00 D0 */ addi r3, r1, 0xd0
/* 80305178 003020D8 38 81 00 D8 */ addi r4, r1, 0xd8
/* 8030517C 003020DC 48 03 BD 2D */ bl __ct__6CTokenFRC6CToken
/* 80305180 003020E0 80 01 01 9C */ lwz r0, 0x19c(r1)
/* 80305184 003020E4 80 A1 01 A0 */ lwz r5, 0x1a0(r1)
/* 80305188 003020E8 7C 00 28 00 */ cmpw r0, r5
/* 8030518C 003020EC 41 80 00 1C */ blt lbl_803051A8
/* 80305190 003020F0 2C 05 00 00 */ cmpwi r5, 0
/* 80305194 003020F4 38 61 01 98 */ addi r3, r1, 0x198
/* 80305198 003020F8 38 80 00 04 */ li r4, 4
/* 8030519C 003020FC 41 82 00 08 */ beq lbl_803051A4
/* 803051A0 00302100 54 A4 08 3C */ slwi r4, r5, 1
lbl_803051A4:
/* 803051A4 00302104 48 00 07 05 */ bl "reserve__Q24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>Fi"
lbl_803051A8:
/* 803051A8 00302108 80 01 01 9C */ lwz r0, 0x19c(r1)
/* 803051AC 0030210C 80 61 01 A4 */ lwz r3, 0x1a4(r1)
/* 803051B0 00302110 54 00 18 38 */ slwi r0, r0, 3
/* 803051B4 00302114 7C 63 02 15 */ add. r3, r3, r0
/* 803051B8 00302118 41 82 00 0C */ beq lbl_803051C4
/* 803051BC 0030211C 38 81 00 D0 */ addi r4, r1, 0xd0
/* 803051C0 00302120 48 03 BC E9 */ bl __ct__6CTokenFRC6CToken
lbl_803051C4:
/* 803051C4 00302124 80 A1 01 9C */ lwz r5, 0x19c(r1)
/* 803051C8 00302128 38 61 00 D0 */ addi r3, r1, 0xd0
/* 803051CC 0030212C 38 80 00 00 */ li r4, 0
/* 803051D0 00302130 38 05 00 01 */ addi r0, r5, 1
/* 803051D4 00302134 90 01 01 9C */ stw r0, 0x19c(r1)
/* 803051D8 00302138 48 03 BC 69 */ bl __dt__6CTokenFv
/* 803051DC 0030213C 38 61 00 D8 */ addi r3, r1, 0xd8
/* 803051E0 00302140 38 80 FF FF */ li r4, -1
/* 803051E4 00302144 48 03 BC 5D */ bl __dt__6CTokenFv
/* 803051E8 00302148 3B 39 00 10 */ addi r25, r25, 0x10
/* 803051EC 0030214C 3B 18 00 01 */ addi r24, r24, 1
lbl_803051F0:
/* 803051F0 00302150 7C 18 E0 00 */ cmpw r24, r28
/* 803051F4 00302154 41 80 FF 50 */ blt lbl_80305144
/* 803051F8 00302158 FC 20 F0 90 */ fmr f1, f30
/* 803051FC 0030215C 38 61 00 C8 */ addi r3, r1, 0xc8
/* 80305200 00302160 FC 40 E8 90 */ fmr f2, f29
/* 80305204 00302164 48 00 EF FD */ bl __ct__9CVector2fFff
/* 80305208 00302168 FC 20 F8 90 */ fmr f1, f31
/* 8030520C 0030216C 7C 65 1B 78 */ mr r5, r3
/* 80305210 00302170 7F E3 FB 78 */ mr r3, r31
/* 80305214 00302174 38 81 01 98 */ addi r4, r1, 0x198
/* 80305218 00302178 48 05 43 1D */ bl "__ct__13CFontImageDefFRCQ24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>fRC9CVector2f"
/* 8030521C 0030217C 80 01 01 9C */ lwz r0, 0x19c(r1)
/* 80305220 00302180 83 21 01 A4 */ lwz r25, 0x1a4(r1)
/* 80305224 00302184 54 00 18 38 */ slwi r0, r0, 3
/* 80305228 00302188 7F 99 02 14 */ add r28, r25, r0
/* 8030522C 0030218C 93 21 00 4C */ stw r25, 0x4c(r1)
/* 80305230 00302190 93 81 00 54 */ stw r28, 0x54(r1)
/* 80305234 00302194 93 81 00 50 */ stw r28, 0x50(r1)
/* 80305238 00302198 93 21 00 48 */ stw r25, 0x48(r1)
/* 8030523C 0030219C 48 00 00 1C */ b lbl_80305258
lbl_80305240:
/* 80305240 003021A0 28 19 00 00 */ cmplwi r25, 0
/* 80305244 003021A4 41 82 00 10 */ beq lbl_80305254
/* 80305248 003021A8 7F 23 CB 78 */ mr r3, r25
/* 8030524C 003021AC 38 80 00 00 */ li r4, 0
/* 80305250 003021B0 48 03 BB F1 */ bl __dt__6CTokenFv
lbl_80305254:
/* 80305254 003021B4 3B 39 00 08 */ addi r25, r25, 8
lbl_80305258:
/* 80305258 003021B8 7C 19 E0 40 */ cmplw r25, r28
/* 8030525C 003021BC 40 82 FF E4 */ bne lbl_80305240
/* 80305260 003021C0 80 61 01 A4 */ lwz r3, 0x1a4(r1)
/* 80305264 003021C4 28 03 00 00 */ cmplwi r3, 0
/* 80305268 003021C8 41 82 00 08 */ beq lbl_80305270
/* 8030526C 003021CC 48 01 06 C5 */ bl Free__7CMemoryFPCv
lbl_80305270:
/* 80305270 003021D0 80 01 01 BC */ lwz r0, 0x1bc(r1)
/* 80305274 003021D4 83 21 01 C4 */ lwz r25, 0x1c4(r1)
/* 80305278 003021D8 54 00 20 36 */ slwi r0, r0, 4
/* 8030527C 003021DC 7F 99 02 14 */ add r28, r25, r0
/* 80305280 003021E0 93 21 00 3C */ stw r25, 0x3c(r1)
/* 80305284 003021E4 93 81 00 44 */ stw r28, 0x44(r1)
/* 80305288 003021E8 93 81 00 40 */ stw r28, 0x40(r1)
/* 8030528C 003021EC 93 21 00 38 */ stw r25, 0x38(r1)
/* 80305290 003021F0 48 00 00 18 */ b lbl_803052A8
lbl_80305294:
/* 80305294 003021F4 28 19 00 00 */ cmplwi r25, 0
/* 80305298 003021F8 41 82 00 0C */ beq lbl_803052A4
/* 8030529C 003021FC 7F 23 CB 78 */ mr r3, r25
/* 803052A0 00302200 48 03 88 41 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_803052A4:
/* 803052A4 00302204 3B 39 00 10 */ addi r25, r25, 0x10
lbl_803052A8:
/* 803052A8 00302208 7C 19 E0 40 */ cmplw r25, r28
/* 803052AC 0030220C 40 82 FF E8 */ bne lbl_80305294
/* 803052B0 00302210 80 61 01 C4 */ lwz r3, 0x1c4(r1)
/* 803052B4 00302214 28 03 00 00 */ cmplwi r3, 0
/* 803052B8 00302218 41 82 00 08 */ beq lbl_803052C0
/* 803052BC 0030221C 48 01 06 75 */ bl Free__7CMemoryFPCv
lbl_803052C0:
/* 803052C0 00302220 38 61 01 C8 */ addi r3, r1, 0x1c8
/* 803052C4 00302224 48 03 88 1D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 803052C8 00302228 48 00 02 34 */ b lbl_803054FC
lbl_803052CC:
/* 803052CC 0030222C 80 81 01 C4 */ lwz r4, 0x1c4(r1)
/* 803052D0 00302230 38 61 01 18 */ addi r3, r1, 0x118
/* 803052D4 00302234 38 C1 00 08 */ addi r6, r1, 8
/* 803052D8 00302238 38 A0 FF FF */ li r5, -1
/* 803052DC 0030223C 80 84 00 00 */ lwz r4, 0(r4)
/* 803052E0 00302240 48 03 7A B1 */ bl "__ct__Q24rstl83basic_string<c,Q24rstl31case_insensitive_char_traits<c>,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator"
/* 803052E4 00302244 3C 80 80 3D */ lis r4, lbl_803D6EA0@ha
/* 803052E8 00302248 38 61 01 08 */ addi r3, r1, 0x108
/* 803052EC 0030224C 38 84 6E A0 */ addi r4, r4, lbl_803D6EA0@l
/* 803052F0 00302250 38 84 00 1F */ addi r4, r4, 0x1f
/* 803052F4 00302254 4B F1 79 49 */ bl sub_8021cc3c
/* 803052F8 00302258 38 61 01 18 */ addi r3, r1, 0x118
/* 803052FC 0030225C 38 81 01 08 */ addi r4, r1, 0x108
/* 80305300 00302260 4B F1 7A 69 */ bl sub_8021cd68
/* 80305304 00302264 7C 7C 1B 78 */ mr r28, r3
/* 80305308 00302268 38 61 01 08 */ addi r3, r1, 0x108
/* 8030530C 0030226C 48 03 79 C1 */ bl "internal_dereference__Q24rstl83basic_string<c,Q24rstl31case_insensitive_char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80305310 00302270 38 61 01 18 */ addi r3, r1, 0x118
/* 80305314 00302274 48 03 79 B9 */ bl "internal_dereference__Q24rstl83basic_string<c,Q24rstl31case_insensitive_char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80305318 00302278 57 80 06 3F */ clrlwi. r0, r28, 0x18
/* 8030531C 0030227C 41 82 01 0C */ beq lbl_80305428
/* 80305320 00302280 80 01 01 BC */ lwz r0, 0x1bc(r1)
/* 80305324 00302284 2C 00 00 04 */ cmpwi r0, 4
/* 80305328 00302288 40 82 01 00 */ bne lbl_80305428
/* 8030532C 0030228C 80 61 01 C4 */ lwz r3, 0x1c4(r1)
/* 80305330 00302290 80 63 00 10 */ lwz r3, 0x10(r3)
/* 80305334 00302294 48 08 AE A9 */ bl atof
/* 80305338 00302298 80 61 01 C4 */ lwz r3, 0x1c4(r1)
/* 8030533C 0030229C FF A0 08 18 */ frsp f29, f1
/* 80305340 003022A0 80 63 00 20 */ lwz r3, 0x20(r3)
/* 80305344 003022A4 48 08 AE 99 */ bl atof
/* 80305348 003022A8 80 61 01 C4 */ lwz r3, 0x1c4(r1)
/* 8030534C 003022AC FF C0 08 18 */ frsp f30, f1
/* 80305350 003022B0 7F C4 F3 78 */ mr r4, r30
/* 80305354 003022B4 38 63 00 30 */ addi r3, r3, 0x30
/* 80305358 003022B8 48 00 02 95 */ bl "GetAssetIdFromString__11CTextParserFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8030535C 003022BC 3C 80 54 58 */ lis r4, 0x54585452@ha
/* 80305360 003022C0 90 61 00 C4 */ stw r3, 0xc4(r1)
/* 80305364 003022C4 38 04 54 52 */ addi r0, r4, 0x54585452@l
/* 80305368 003022C8 38 61 00 B8 */ addi r3, r1, 0xb8
/* 8030536C 003022CC 90 01 00 C0 */ stw r0, 0xc0(r1)
/* 80305370 003022D0 38 A1 00 C0 */ addi r5, r1, 0xc0
/* 80305374 003022D4 80 9D 00 00 */ lwz r4, 0(r29)
/* 80305378 003022D8 81 84 00 00 */ lwz r12, 0(r4)
/* 8030537C 003022DC 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80305380 003022E0 7D 89 03 A6 */ mtctr r12
/* 80305384 003022E4 4E 80 04 21 */ bctrl
/* 80305388 003022E8 38 61 00 B0 */ addi r3, r1, 0xb0
/* 8030538C 003022EC 38 81 00 B8 */ addi r4, r1, 0xb8
/* 80305390 003022F0 48 03 BB 19 */ bl __ct__6CTokenFRC6CToken
/* 80305394 003022F4 FC 20 E8 90 */ fmr f1, f29
/* 80305398 003022F8 38 61 00 A8 */ addi r3, r1, 0xa8
/* 8030539C 003022FC FC 40 F0 90 */ fmr f2, f30
/* 803053A0 00302300 48 00 EE 61 */ bl __ct__9CVector2fFff
/* 803053A4 00302304 7C 65 1B 78 */ mr r5, r3
/* 803053A8 00302308 7F E3 FB 78 */ mr r3, r31
/* 803053AC 0030230C 38 81 00 B0 */ addi r4, r1, 0xb0
/* 803053B0 00302310 48 05 42 95 */ bl "__ct__13CFontImageDefFRC17TToken<8CTexture>RC9CVector2f"
/* 803053B4 00302314 38 61 00 B0 */ addi r3, r1, 0xb0
/* 803053B8 00302318 38 80 00 00 */ li r4, 0
/* 803053BC 0030231C 48 03 BA 85 */ bl __dt__6CTokenFv
/* 803053C0 00302320 38 61 00 B8 */ addi r3, r1, 0xb8
/* 803053C4 00302324 38 80 FF FF */ li r4, -1
/* 803053C8 00302328 48 03 BA 79 */ bl __dt__6CTokenFv
/* 803053CC 0030232C 80 01 01 BC */ lwz r0, 0x1bc(r1)
/* 803053D0 00302330 83 21 01 C4 */ lwz r25, 0x1c4(r1)
/* 803053D4 00302334 54 00 20 36 */ slwi r0, r0, 4
/* 803053D8 00302338 7F 99 02 14 */ add r28, r25, r0
/* 803053DC 0030233C 93 21 00 2C */ stw r25, 0x2c(r1)
/* 803053E0 00302340 93 81 00 34 */ stw r28, 0x34(r1)
/* 803053E4 00302344 93 81 00 30 */ stw r28, 0x30(r1)
/* 803053E8 00302348 93 21 00 28 */ stw r25, 0x28(r1)
/* 803053EC 0030234C 48 00 00 18 */ b lbl_80305404
lbl_803053F0:
/* 803053F0 00302350 28 19 00 00 */ cmplwi r25, 0
/* 803053F4 00302354 41 82 00 0C */ beq lbl_80305400
/* 803053F8 00302358 7F 23 CB 78 */ mr r3, r25
/* 803053FC 0030235C 48 03 86 E5 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_80305400:
/* 80305400 00302360 3B 39 00 10 */ addi r25, r25, 0x10
lbl_80305404:
/* 80305404 00302364 7C 19 E0 40 */ cmplw r25, r28
/* 80305408 00302368 40 82 FF E8 */ bne lbl_803053F0
/* 8030540C 0030236C 80 61 01 C4 */ lwz r3, 0x1c4(r1)
/* 80305410 00302370 28 03 00 00 */ cmplwi r3, 0
/* 80305414 00302374 41 82 00 08 */ beq lbl_8030541C
/* 80305418 00302378 48 01 05 19 */ bl Free__7CMemoryFPCv
lbl_8030541C:
/* 8030541C 0030237C 38 61 01 C8 */ addi r3, r1, 0x1c8
/* 80305420 00302380 48 03 86 C1 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 80305424 00302384 48 00 00 D8 */ b lbl_803054FC
lbl_80305428:
/* 80305428 00302388 80 01 01 BC */ lwz r0, 0x1bc(r1)
/* 8030542C 0030238C 83 21 01 C4 */ lwz r25, 0x1c4(r1)
/* 80305430 00302390 54 00 20 36 */ slwi r0, r0, 4
/* 80305434 00302394 7F 99 02 14 */ add r28, r25, r0
/* 80305438 00302398 93 21 00 1C */ stw r25, 0x1c(r1)
/* 8030543C 0030239C 93 81 00 24 */ stw r28, 0x24(r1)
/* 80305440 003023A0 93 81 00 20 */ stw r28, 0x20(r1)
/* 80305444 003023A4 93 21 00 18 */ stw r25, 0x18(r1)
/* 80305448 003023A8 48 00 00 18 */ b lbl_80305460
lbl_8030544C:
/* 8030544C 003023AC 28 19 00 00 */ cmplwi r25, 0
/* 80305450 003023B0 41 82 00 0C */ beq lbl_8030545C
/* 80305454 003023B4 7F 23 CB 78 */ mr r3, r25
/* 80305458 003023B8 48 03 86 89 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8030545C:
/* 8030545C 003023BC 3B 39 00 10 */ addi r25, r25, 0x10
lbl_80305460:
/* 80305460 003023C0 7C 19 E0 40 */ cmplw r25, r28
/* 80305464 003023C4 40 82 FF E8 */ bne lbl_8030544C
/* 80305468 003023C8 80 61 01 C4 */ lwz r3, 0x1c4(r1)
/* 8030546C 003023CC 28 03 00 00 */ cmplwi r3, 0
/* 80305470 003023D0 41 82 00 08 */ beq lbl_80305478
/* 80305474 003023D4 48 01 04 BD */ bl Free__7CMemoryFPCv
lbl_80305478:
/* 80305478 003023D8 7F C4 F3 78 */ mr r4, r30
/* 8030547C 003023DC 38 61 01 C8 */ addi r3, r1, 0x1c8
/* 80305480 003023E0 48 00 01 6D */ bl "GetAssetIdFromString__11CTextParserFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80305484 003023E4 3C 80 54 58 */ lis r4, 0x54585452@ha
/* 80305488 003023E8 90 61 00 A4 */ stw r3, 0xa4(r1)
/* 8030548C 003023EC 38 04 54 52 */ addi r0, r4, 0x54585452@l
/* 80305490 003023F0 38 61 00 98 */ addi r3, r1, 0x98
/* 80305494 003023F4 90 01 00 A0 */ stw r0, 0xa0(r1)
/* 80305498 003023F8 38 A1 00 A0 */ addi r5, r1, 0xa0
/* 8030549C 003023FC 80 9D 00 00 */ lwz r4, 0(r29)
/* 803054A0 00302400 81 84 00 00 */ lwz r12, 0(r4)
/* 803054A4 00302404 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 803054A8 00302408 7D 89 03 A6 */ mtctr r12
/* 803054AC 0030240C 4E 80 04 21 */ bctrl
/* 803054B0 00302410 38 61 00 90 */ addi r3, r1, 0x90
/* 803054B4 00302414 38 81 00 98 */ addi r4, r1, 0x98
/* 803054B8 00302418 48 03 B9 F1 */ bl __ct__6CTokenFRC6CToken
/* 803054BC 0030241C C0 22 C7 68 */ lfs f1, lbl_805AE488@sda21(r2)
/* 803054C0 00302420 38 61 00 88 */ addi r3, r1, 0x88
/* 803054C4 00302424 FC 40 08 90 */ fmr f2, f1
/* 803054C8 00302428 48 00 ED 39 */ bl __ct__9CVector2fFff
/* 803054CC 0030242C 7C 65 1B 78 */ mr r5, r3
/* 803054D0 00302430 7F E3 FB 78 */ mr r3, r31
/* 803054D4 00302434 38 81 00 90 */ addi r4, r1, 0x90
/* 803054D8 00302438 48 05 41 6D */ bl "__ct__13CFontImageDefFRC17TToken<8CTexture>RC9CVector2f"
/* 803054DC 0030243C 38 61 00 90 */ addi r3, r1, 0x90
/* 803054E0 00302440 38 80 00 00 */ li r4, 0
/* 803054E4 00302444 48 03 B9 5D */ bl __dt__6CTokenFv
/* 803054E8 00302448 38 61 00 98 */ addi r3, r1, 0x98
/* 803054EC 0030244C 38 80 FF FF */ li r4, -1
/* 803054F0 00302450 48 03 B9 51 */ bl __dt__6CTokenFv
/* 803054F4 00302454 38 61 01 C8 */ addi r3, r1, 0x1c8
/* 803054F8 00302458 48 03 85 E9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_803054FC:
/* 803054FC 0030245C E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0
/* 80305500 00302460 CB E1 02 20 */ lfd f31, 0x220(r1)
/* 80305504 00302464 E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0
/* 80305508 00302468 CB C1 02 10 */ lfd f30, 0x210(r1)
/* 8030550C 0030246C E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0
/* 80305510 00302470 CB A1 02 00 */ lfd f29, 0x200(r1)
/* 80305514 00302474 BB 01 01 E0 */ lmw r24, 0x1e0(r1)
/* 80305518 00302478 80 01 02 34 */ lwz r0, 0x234(r1)
/* 8030551C 0030247C 7C 08 03 A6 */ mtlr r0
/* 80305520 00302480 38 21 02 30 */ addi r1, r1, 0x230
/* 80305524 00302484 4E 80 00 20 */ blr
.global GetFont__11CTextParserFPCwi
GetFont__11CTextParserFPCwi:
/* 80305528 00302488 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8030552C 0030248C 7C 08 02 A6 */ mflr r0
/* 80305530 00302490 90 01 00 34 */ stw r0, 0x34(r1)
/* 80305534 00302494 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80305538 00302498 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8030553C 0030249C 7C BE 2B 78 */ mr r30, r5
/* 80305540 003024A0 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80305544 003024A4 7C 9D 23 78 */ mr r29, r4
/* 80305548 003024A8 93 81 00 20 */ stw r28, 0x20(r1)
/* 8030554C 003024AC 7C 7C 1B 78 */ mr r28, r3
/* 80305550 003024B0 38 7E 00 04 */ addi r3, r30, 4
/* 80305554 003024B4 4B FF EE 25 */ bl GetColorValue__11CTextParserFPCw
/* 80305558 003024B8 54 7F 80 1E */ slwi r31, r3, 0x10
/* 8030555C 003024BC 7F C3 F3 78 */ mr r3, r30
/* 80305560 003024C0 4B FF EE 19 */ bl GetColorValue__11CTextParserFPCw
/* 80305564 003024C4 54 60 C0 0E */ slwi r0, r3, 0x18
/* 80305568 003024C8 38 7E 00 08 */ addi r3, r30, 8
/* 8030556C 003024CC 7C 1F FB 78 */ or r31, r0, r31
/* 80305570 003024D0 4B FF EE 09 */ bl GetColorValue__11CTextParserFPCw
/* 80305574 003024D4 54 60 40 2E */ slwi r0, r3, 8
/* 80305578 003024D8 38 7E 00 0C */ addi r3, r30, 0xc
/* 8030557C 003024DC 7C 1F FB 78 */ or r31, r0, r31
/* 80305580 003024E0 4B FF ED F9 */ bl GetColorValue__11CTextParserFPCw
/* 80305584 003024E4 3C 80 46 4F */ lis r4, 0x464F4E54@ha
/* 80305588 003024E8 7C 63 FB 78 */ or r3, r3, r31
/* 8030558C 003024EC 38 04 4E 54 */ addi r0, r4, 0x464F4E54@l
/* 80305590 003024F0 90 61 00 14 */ stw r3, 0x14(r1)
/* 80305594 003024F4 38 61 00 08 */ addi r3, r1, 8
/* 80305598 003024F8 38 A1 00 10 */ addi r5, r1, 0x10
/* 8030559C 003024FC 90 01 00 10 */ stw r0, 0x10(r1)
/* 803055A0 00302500 80 9D 00 00 */ lwz r4, 0(r29)
/* 803055A4 00302504 81 84 00 00 */ lwz r12, 0(r4)
/* 803055A8 00302508 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 803055AC 0030250C 7D 89 03 A6 */ mtctr r12
/* 803055B0 00302510 4E 80 04 21 */ bctrl
/* 803055B4 00302514 7F 83 E3 78 */ mr r3, r28
/* 803055B8 00302518 38 81 00 08 */ addi r4, r1, 8
/* 803055BC 0030251C 48 03 B8 ED */ bl __ct__6CTokenFRC6CToken
/* 803055C0 00302520 38 61 00 08 */ addi r3, r1, 8
/* 803055C4 00302524 38 80 FF FF */ li r4, -1
/* 803055C8 00302528 48 03 B8 79 */ bl __dt__6CTokenFv
/* 803055CC 0030252C 80 01 00 34 */ lwz r0, 0x34(r1)
/* 803055D0 00302530 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 803055D4 00302534 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 803055D8 00302538 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 803055DC 0030253C 83 81 00 20 */ lwz r28, 0x20(r1)
/* 803055E0 00302540 7C 08 03 A6 */ mtlr r0
/* 803055E4 00302544 38 21 00 30 */ addi r1, r1, 0x30
/* 803055E8 00302548 4E 80 00 20 */ blr
.global "GetAssetIdFromString__11CTextParserFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
"GetAssetIdFromString__11CTextParserFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
/* 803055EC 0030254C 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 803055F0 00302550 7C 08 02 A6 */ mflr r0
/* 803055F4 00302554 90 01 00 74 */ stw r0, 0x74(r1)
/* 803055F8 00302558 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 803055FC 0030255C 93 C1 00 68 */ stw r30, 0x68(r1)
/* 80305600 00302560 7C 9E 23 78 */ mr r30, r4
/* 80305604 00302564 7C 64 1B 78 */ mr r4, r3
/* 80305608 00302568 38 61 00 34 */ addi r3, r1, 0x34
/* 8030560C 0030256C 93 A1 00 64 */ stw r29, 0x64(r1)
/* 80305610 00302570 48 03 91 11 */ bl "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 80305614 00302574 38 61 00 44 */ addi r3, r1, 0x44
/* 80305618 00302578 38 81 00 34 */ addi r4, r1, 0x34
/* 8030561C 0030257C 48 03 81 6D */ bl "__ct__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>"
/* 80305620 00302580 38 61 00 34 */ addi r3, r1, 0x34
/* 80305624 00302584 48 03 7B 11 */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 80305628 00302588 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 8030562C 0030258C 38 7D 00 04 */ addi r3, r29, 4
/* 80305630 00302590 4B FF ED 49 */ bl GetColorValue__11CTextParserFPCw
/* 80305634 00302594 54 7F 80 1E */ slwi r31, r3, 0x10
/* 80305638 00302598 7F A3 EB 78 */ mr r3, r29
/* 8030563C 0030259C 4B FF ED 3D */ bl GetColorValue__11CTextParserFPCw
/* 80305640 003025A0 54 60 C0 0E */ slwi r0, r3, 0x18
/* 80305644 003025A4 38 7D 00 08 */ addi r3, r29, 8
/* 80305648 003025A8 7C 1F FB 78 */ or r31, r0, r31
/* 8030564C 003025AC 4B FF ED 2D */ bl GetColorValue__11CTextParserFPCw
/* 80305650 003025B0 54 60 40 2E */ slwi r0, r3, 8
/* 80305654 003025B4 38 7D 00 0C */ addi r3, r29, 0xc
/* 80305658 003025B8 7C 1F FB 78 */ or r31, r0, r31
/* 8030565C 003025BC 4B FF ED 1D */ bl GetColorValue__11CTextParserFPCw
/* 80305660 003025C0 28 1E 00 00 */ cmplwi r30, 0
/* 80305664 003025C4 7C 7F FB 78 */ or r31, r3, r31
/* 80305668 003025C8 41 82 00 BC */ beq lbl_80305724
/* 8030566C 003025CC 80 1E 00 04 */ lwz r0, 4(r30)
/* 80305670 003025D0 38 61 00 18 */ addi r3, r1, 0x18
/* 80305674 003025D4 81 1E 00 0C */ lwz r8, 0xc(r30)
/* 80305678 003025D8 38 81 00 1C */ addi r4, r1, 0x1c
/* 8030567C 003025DC 89 21 00 0C */ lbz r9, 0xc(r1)
/* 80305680 003025E0 54 00 18 38 */ slwi r0, r0, 3
/* 80305684 003025E4 7C 08 02 14 */ add r0, r8, r0
/* 80305688 003025E8 93 E1 00 24 */ stw r31, 0x24(r1)
/* 8030568C 003025EC 38 A1 00 20 */ addi r5, r1, 0x20
/* 80305690 003025F0 38 C1 00 24 */ addi r6, r1, 0x24
/* 80305694 003025F4 99 21 00 10 */ stb r9, 0x10(r1)
/* 80305698 003025F8 38 E1 00 08 */ addi r7, r1, 8
/* 8030569C 003025FC 90 01 00 28 */ stw r0, 0x28(r1)
/* 803056A0 00302600 90 01 00 2C */ stw r0, 0x2c(r1)
/* 803056A4 00302604 91 01 00 30 */ stw r8, 0x30(r1)
/* 803056A8 00302608 99 21 00 08 */ stb r9, 8(r1)
/* 803056AC 0030260C 90 01 00 20 */ stw r0, 0x20(r1)
/* 803056B0 00302610 91 01 00 1C */ stw r8, 0x1c(r1)
/* 803056B4 00302614 4B F9 69 85 */ bl sub_8029c038
/* 803056B8 00302618 80 A1 00 18 */ lwz r5, 0x18(r1)
/* 803056BC 0030261C 38 80 00 00 */ li r4, 0
/* 803056C0 00302620 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 803056C4 00302624 90 A1 00 14 */ stw r5, 0x14(r1)
/* 803056C8 00302628 7C 05 00 40 */ cmplw r5, r0
/* 803056CC 0030262C 41 82 00 18 */ beq lbl_803056E4
/* 803056D0 00302630 80 61 00 24 */ lwz r3, 0x24(r1)
/* 803056D4 00302634 80 05 00 00 */ lwz r0, 0(r5)
/* 803056D8 00302638 7C 03 00 40 */ cmplw r3, r0
/* 803056DC 0030263C 41 80 00 08 */ blt lbl_803056E4
/* 803056E0 00302640 38 80 00 01 */ li r4, 1
lbl_803056E4:
/* 803056E4 00302644 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 803056E8 00302648 38 81 00 2C */ addi r4, r1, 0x2c
/* 803056EC 0030264C 41 82 00 08 */ beq lbl_803056F4
/* 803056F0 00302650 38 81 00 14 */ addi r4, r1, 0x14
lbl_803056F4:
/* 803056F4 00302654 80 1E 00 04 */ lwz r0, 4(r30)
/* 803056F8 00302658 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 803056FC 0030265C 54 00 18 38 */ slwi r0, r0, 3
/* 80305700 00302660 80 84 00 00 */ lwz r4, 0(r4)
/* 80305704 00302664 7C 03 02 14 */ add r0, r3, r0
/* 80305708 00302668 7C 04 00 40 */ cmplw r4, r0
/* 8030570C 0030266C 41 82 00 18 */ beq lbl_80305724
/* 80305710 00302670 83 C4 00 04 */ lwz r30, 4(r4)
/* 80305714 00302674 38 61 00 44 */ addi r3, r1, 0x44
/* 80305718 00302678 48 03 7A 1D */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 8030571C 0030267C 7F C3 F3 78 */ mr r3, r30
/* 80305720 00302680 48 00 00 10 */ b lbl_80305730
lbl_80305724:
/* 80305724 00302684 38 61 00 44 */ addi r3, r1, 0x44
/* 80305728 00302688 48 03 7A 0D */ bl "internal_dereference__Q24rstl66basic_string<w,Q24rstl14char_traits<w>,Q24rstl17rmemory_allocator>Fv"
/* 8030572C 0030268C 7F E3 FB 78 */ mr r3, r31
lbl_80305730:
/* 80305730 00302690 80 01 00 74 */ lwz r0, 0x74(r1)
/* 80305734 00302694 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 80305738 00302698 83 C1 00 68 */ lwz r30, 0x68(r1)
/* 8030573C 0030269C 83 A1 00 64 */ lwz r29, 0x64(r1)
/* 80305740 003026A0 7C 08 03 A6 */ mtlr r0
/* 80305744 003026A4 38 21 00 70 */ addi r1, r1, 0x70
/* 80305748 003026A8 4E 80 00 20 */ blr
.global ParseText__11CTextParserFR18CTextExecuteBufferPCwi
ParseText__11CTextParserFR18CTextExecuteBufferPCwi:
/* 8030574C 003026AC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80305750 003026B0 7C 08 02 A6 */ mflr r0
/* 80305754 003026B4 90 01 00 24 */ stw r0, 0x24(r1)
/* 80305758 003026B8 BF 41 00 08 */ stmw r26, 8(r1)
/* 8030575C 003026BC 7C BC 2B 78 */ mr r28, r5
/* 80305760 003026C0 7C 7A 1B 78 */ mr r26, r3
/* 80305764 003026C4 7C 9B 23 78 */ mr r27, r4
/* 80305768 003026C8 7C DD 33 78 */ mr r29, r6
/* 8030576C 003026CC 7C FE 3B 78 */ mr r30, r7
/* 80305770 003026D0 38 A0 00 00 */ li r5, 0
/* 80305774 003026D4 3B E0 00 00 */ li r31, 0
/* 80305778 003026D8 48 00 00 D4 */ b lbl_8030584C
lbl_8030577C:
/* 8030577C 003026DC 28 00 00 26 */ cmplwi r0, 0x26
/* 80305780 003026E0 40 82 00 C8 */ bne lbl_80305848
/* 80305784 003026E4 2C 1D FF FF */ cmpwi r29, -1
/* 80305788 003026E8 41 82 00 10 */ beq lbl_80305798
/* 8030578C 003026EC 38 1F 00 01 */ addi r0, r31, 1
/* 80305790 003026F0 7C 00 E8 00 */ cmpw r0, r29
/* 80305794 003026F4 40 80 00 90 */ bge lbl_80305824
lbl_80305798:
/* 80305798 003026F8 A0 03 00 02 */ lhz r0, 2(r3)
/* 8030579C 003026FC 28 00 00 26 */ cmplwi r0, 0x26
/* 803057A0 00302700 41 82 00 84 */ beq lbl_80305824
/* 803057A4 00302704 7C 1F 28 00 */ cmpw r31, r5
/* 803057A8 00302708 40 81 00 18 */ ble lbl_803057C0
/* 803057AC 0030270C 54 A0 08 3C */ slwi r0, r5, 1
/* 803057B0 00302710 7F 63 DB 78 */ mr r3, r27
/* 803057B4 00302714 7C 9C 02 14 */ add r4, r28, r0
/* 803057B8 00302718 7C A5 F8 50 */ subf r5, r5, r31
/* 803057BC 0030271C 4B FF CC B5 */ bl AddString__18CTextExecuteBufferFPCwi
lbl_803057C0:
/* 803057C0 00302720 3B FF 00 01 */ addi r31, r31, 1
/* 803057C4 00302724 57 E0 08 3C */ slwi r0, r31, 1
/* 803057C8 00302728 7F E6 FB 78 */ mr r6, r31
/* 803057CC 0030272C 7C 7C 02 14 */ add r3, r28, r0
/* 803057D0 00302730 48 00 00 0C */ b lbl_803057DC
lbl_803057D4:
/* 803057D4 00302734 38 63 00 02 */ addi r3, r3, 2
/* 803057D8 00302738 3B FF 00 01 */ addi r31, r31, 1
lbl_803057DC:
/* 803057DC 0030273C 2C 1D FF FF */ cmpwi r29, -1
/* 803057E0 00302740 41 82 00 0C */ beq lbl_803057EC
/* 803057E4 00302744 7C 1F E8 00 */ cmpw r31, r29
/* 803057E8 00302748 40 80 00 18 */ bge lbl_80305800
lbl_803057EC:
/* 803057EC 0030274C A0 03 00 00 */ lhz r0, 0(r3)
/* 803057F0 00302750 28 00 00 00 */ cmplwi r0, 0
/* 803057F4 00302754 41 82 00 0C */ beq lbl_80305800
/* 803057F8 00302758 28 00 00 3B */ cmplwi r0, 0x3b
/* 803057FC 0030275C 40 82 FF D8 */ bne lbl_803057D4
lbl_80305800:
/* 80305800 00302760 54 C0 08 3C */ slwi r0, r6, 1
/* 80305804 00302764 7F 43 D3 78 */ mr r3, r26
/* 80305808 00302768 7F 64 DB 78 */ mr r4, r27
/* 8030580C 0030276C 7F C7 F3 78 */ mr r7, r30
/* 80305810 00302770 7C BC 02 14 */ add r5, r28, r0
/* 80305814 00302774 7C C6 F8 50 */ subf r6, r6, r31
/* 80305818 00302778 4B FF ED B9 */ bl ParseTag__11CTextParserFR18CTextExecuteBufferPCwi
/* 8030581C 0030277C 38 BF 00 01 */ addi r5, r31, 1
/* 80305820 00302780 48 00 00 2C */ b lbl_8030584C
lbl_80305824:
/* 80305824 00302784 54 A4 08 3C */ slwi r4, r5, 1
/* 80305828 00302788 38 1F 00 01 */ addi r0, r31, 1
/* 8030582C 0030278C 7F 63 DB 78 */ mr r3, r27
/* 80305830 00302790 7C 9C 22 14 */ add r4, r28, r4
/* 80305834 00302794 7C A5 00 50 */ subf r5, r5, r0
/* 80305838 00302798 4B FF CC 39 */ bl AddString__18CTextExecuteBufferFPCwi
/* 8030583C 0030279C 3B FF 00 02 */ addi r31, r31, 2
/* 80305840 003027A0 7F E5 FB 78 */ mr r5, r31
/* 80305844 003027A4 48 00 00 08 */ b lbl_8030584C
lbl_80305848:
/* 80305848 003027A8 3B FF 00 01 */ addi r31, r31, 1
lbl_8030584C:
/* 8030584C 003027AC 57 E0 08 3C */ slwi r0, r31, 1
/* 80305850 003027B0 7C 7C 02 14 */ add r3, r28, r0
/* 80305854 003027B4 A0 03 00 00 */ lhz r0, 0(r3)
/* 80305858 003027B8 28 00 00 00 */ cmplwi r0, 0
/* 8030585C 003027BC 41 82 00 14 */ beq lbl_80305870
/* 80305860 003027C0 2C 1D FF FF */ cmpwi r29, -1
/* 80305864 003027C4 41 82 FF 18 */ beq lbl_8030577C
/* 80305868 003027C8 7C 1F E8 00 */ cmpw r31, r29
/* 8030586C 003027CC 41 80 FF 10 */ blt lbl_8030577C
lbl_80305870:
/* 80305870 003027D0 7C 1F 28 00 */ cmpw r31, r5
/* 80305874 003027D4 40 81 00 18 */ ble lbl_8030588C
/* 80305878 003027D8 54 A0 08 3C */ slwi r0, r5, 1
/* 8030587C 003027DC 7F 63 DB 78 */ mr r3, r27
/* 80305880 003027E0 7C 9C 02 14 */ add r4, r28, r0
/* 80305884 003027E4 7C A5 F8 50 */ subf r5, r5, r31
/* 80305888 003027E8 4B FF CB E9 */ bl AddString__18CTextExecuteBufferFPCwi
lbl_8030588C:
/* 8030588C 003027EC BB 41 00 08 */ lmw r26, 8(r1)
/* 80305890 003027F0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80305894 003027F4 7C 08 03 A6 */ mtlr r0
/* 80305898 003027F8 38 21 00 20 */ addi r1, r1, 0x20
/* 8030589C 003027FC 4E 80 00 20 */ blr
.global __ct__11CTextParserFR12IObjectStore
__ct__11CTextParserFR12IObjectStore:
/* 803058A0 00302800 90 83 00 00 */ stw r4, 0(r3)
/* 803058A4 00302804 4E 80 00 20 */ blr
.global "reserve__Q24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>Fi"
"reserve__Q24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>Fi":
/* 803058A8 00302808 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 803058AC 0030280C 7C 08 02 A6 */ mflr r0
/* 803058B0 00302810 90 01 00 34 */ stw r0, 0x34(r1)
/* 803058B4 00302814 BF 41 00 18 */ stmw r26, 0x18(r1)
/* 803058B8 00302818 7C 9F 23 78 */ mr r31, r4
/* 803058BC 0030281C 7C 7E 1B 78 */ mr r30, r3
/* 803058C0 00302820 80 03 00 08 */ lwz r0, 8(r3)
/* 803058C4 00302824 7C 1F 00 00 */ cmpw r31, r0
/* 803058C8 00302828 40 81 00 C4 */ ble lbl_8030598C
/* 803058CC 0030282C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c
/* 803058D0 00302830 40 82 00 0C */ bne lbl_803058DC
/* 803058D4 00302834 3B 80 00 00 */ li r28, 0
/* 803058D8 00302838 48 00 00 1C */ b lbl_803058F4
lbl_803058DC:
/* 803058DC 0030283C 3C 80 80 3D */ lis r4, lbl_803D6EA0@ha
/* 803058E0 00302840 38 A0 00 00 */ li r5, 0
/* 803058E4 00302844 38 84 6E A0 */ addi r4, r4, lbl_803D6EA0@l
/* 803058E8 00302848 38 84 00 11 */ addi r4, r4, 0x11
/* 803058EC 0030284C 48 00 FF 2D */ bl __nwa__FUlPCcPCc
/* 803058F0 00302850 7C 7C 1B 78 */ mr r28, r3
lbl_803058F4:
/* 803058F4 00302854 80 1E 00 04 */ lwz r0, 4(r30)
/* 803058F8 00302858 7F 9B E3 78 */ mr r27, r28
/* 803058FC 0030285C 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 80305900 00302860 54 00 18 38 */ slwi r0, r0, 3
/* 80305904 00302864 7F BA 02 14 */ add r29, r26, r0
/* 80305908 00302868 93 41 00 10 */ stw r26, 0x10(r1)
/* 8030590C 0030286C 93 A1 00 08 */ stw r29, 8(r1)
/* 80305910 00302870 93 A1 00 0C */ stw r29, 0xc(r1)
/* 80305914 00302874 93 41 00 14 */ stw r26, 0x14(r1)
/* 80305918 00302878 48 00 00 20 */ b lbl_80305938
lbl_8030591C:
/* 8030591C 0030287C 28 1B 00 00 */ cmplwi r27, 0
/* 80305920 00302880 41 82 00 10 */ beq lbl_80305930
/* 80305924 00302884 7F 63 DB 78 */ mr r3, r27
/* 80305928 00302888 7F 44 D3 78 */ mr r4, r26
/* 8030592C 0030288C 48 03 B5 7D */ bl __ct__6CTokenFRC6CToken
lbl_80305930:
/* 80305930 00302890 3B 7B 00 08 */ addi r27, r27, 8
/* 80305934 00302894 3B 5A 00 08 */ addi r26, r26, 8
lbl_80305938:
/* 80305938 00302898 7C 1A E8 40 */ cmplw r26, r29
/* 8030593C 0030289C 40 82 FF E0 */ bne lbl_8030591C
/* 80305940 003028A0 80 1E 00 04 */ lwz r0, 4(r30)
/* 80305944 003028A4 83 5E 00 0C */ lwz r26, 0xc(r30)
/* 80305948 003028A8 54 00 18 38 */ slwi r0, r0, 3
/* 8030594C 003028AC 7F 7A 02 14 */ add r27, r26, r0
/* 80305950 003028B0 48 00 00 1C */ b lbl_8030596C
lbl_80305954:
/* 80305954 003028B4 28 1A 00 00 */ cmplwi r26, 0
/* 80305958 003028B8 41 82 00 10 */ beq lbl_80305968
/* 8030595C 003028BC 7F 43 D3 78 */ mr r3, r26
/* 80305960 003028C0 38 80 00 00 */ li r4, 0
/* 80305964 003028C4 48 03 B4 DD */ bl __dt__6CTokenFv
lbl_80305968:
/* 80305968 003028C8 3B 5A 00 08 */ addi r26, r26, 8
lbl_8030596C:
/* 8030596C 003028CC 7C 1A D8 40 */ cmplw r26, r27
/* 80305970 003028D0 40 82 FF E4 */ bne lbl_80305954
/* 80305974 003028D4 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80305978 003028D8 28 03 00 00 */ cmplwi r3, 0
/* 8030597C 003028DC 41 82 00 08 */ beq lbl_80305984
/* 80305980 003028E0 48 00 FF B1 */ bl Free__7CMemoryFPCv
lbl_80305984:
/* 80305984 003028E4 93 9E 00 0C */ stw r28, 0xc(r30)
/* 80305988 003028E8 93 FE 00 08 */ stw r31, 8(r30)
lbl_8030598C:
/* 8030598C 003028EC BB 41 00 18 */ lmw r26, 0x18(r1)
/* 80305990 003028F0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80305994 003028F4 7C 08 03 A6 */ mtlr r0
/* 80305998 003028F8 38 21 00 30 */ addi r1, r1, 0x30
/* 8030599C 003028FC 4E 80 00 20 */ blr
.section .sdata2, "a"
.balign 8
.global lbl_805AE478
lbl_805AE478:
# ROM: 0x3FAD18
.float 100.0
.4byte 0
.global lbl_805AE480
lbl_805AE480:
# ROM: 0x3FAD20
.double 4.503601774854144E15
.global lbl_805AE488
lbl_805AE488:
# ROM: 0x3FAD28
.float 1.0
.section .rodata
.balign 8
.global lbl_803D6EA0
lbl_803D6EA0:
# ROM: 0x3D3EA0
.asciz "%02x%02x%02x%02x"
.asciz "??(??)"
.asciz ","
.asciz "A"
.asciz "SA"
.asciz "SI"