donut-decomp/asm/homebuttonLib/ut_CharWriter.s

1827 lines
89 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global __ct__Q36nw4hbm2ut10CharWriterFv
__ct__Q36nw4hbm2ut10CharWriterFv:
/* 8013FE10 0013BC50 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8013FE14 0013BC54 3C 80 80 41 */ lis r4, "@6157"@ha
/* 8013FE18 0013BC58 38 C0 FF FF */ li r6, -0x1
/* 8013FE1C 0013BC5C C0 04 E2 B0 */ lfs f0, "@6157"@l(r4)
/* 8013FE20 0013BC60 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8013FE24 0013BC64 3C A0 80 54 */ lis r5, mLoadingTexture__Q36nw4hbm2ut10CharWriter@ha
/* 8013FE28 0013BC68 38 00 00 FF */ li r0, 0xff
/* 8013FE2C 0013BC6C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8013FE30 0013BC70 38 85 37 A0 */ addi r4, r5, mLoadingTexture__Q36nw4hbm2ut10CharWriter@l
/* 8013FE34 0013BC74 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8013FE38 0013BC78 3B A0 00 00 */ li r29, 0x0
/* 8013FE3C 0013BC7C 93 81 00 20 */ stw r28, 0x20(r1)
/* 8013FE40 0013BC80 3B 83 00 18 */ addi r28, r3, 0x18
/* 8013FE44 0013BC84 90 C3 00 00 */ stw r6, 0x0(r3)
/* 8013FE48 0013BC88 93 A1 00 08 */ stw r29, 0x8(r1)
/* 8013FE4C 0013BC8C 90 C1 00 0C */ stw r6, 0xc(r1)
/* 8013FE50 0013BC90 8B C1 00 08 */ lbz r30, 0x8(r1)
/* 8013FE54 0013BC94 90 C3 00 04 */ stw r6, 0x4(r3)
/* 8013FE58 0013BC98 8B E1 00 09 */ lbz r31, 0x9(r1)
/* 8013FE5C 0013BC9C 90 C3 00 08 */ stw r6, 0x8(r3)
/* 8013FE60 0013BCA0 89 81 00 0A */ lbz r12, 0xa(r1)
/* 8013FE64 0013BCA4 90 C3 00 0C */ stw r6, 0xc(r3)
/* 8013FE68 0013BCA8 89 61 00 0B */ lbz r11, 0xb(r1)
/* 8013FE6C 0013BCAC 90 C3 00 10 */ stw r6, 0x10(r3)
/* 8013FE70 0013BCB0 89 41 00 0C */ lbz r10, 0xc(r1)
/* 8013FE74 0013BCB4 90 C3 00 14 */ stw r6, 0x14(r3)
/* 8013FE78 0013BCB8 89 21 00 0D */ lbz r9, 0xd(r1)
/* 8013FE7C 0013BCBC 90 C3 00 18 */ stw r6, 0x18(r3)
/* 8013FE80 0013BCC0 89 01 00 0E */ lbz r8, 0xe(r1)
/* 8013FE84 0013BCC4 90 C3 00 1C */ stw r6, 0x1c(r3)
/* 8013FE88 0013BCC8 88 E1 00 0F */ lbz r7, 0xf(r1)
/* 8013FE8C 0013BCCC 98 03 00 42 */ stb r0, 0x42(r3)
/* 8013FE90 0013BCD0 9B A3 00 43 */ stb r29, 0x43(r3)
/* 8013FE94 0013BCD4 D0 03 00 44 */ stfs f0, 0x44(r3)
/* 8013FE98 0013BCD8 93 A3 00 48 */ stw r29, 0x48(r3)
/* 8013FE9C 0013BCDC 90 05 37 A0 */ stw r0, 0x37a0(r5)
/* 8013FEA0 0013BCE0 93 A4 00 04 */ stw r29, 0x4(r4)
/* 8013FEA4 0013BCE4 88 C3 00 18 */ lbz r6, 0x18(r3)
/* 8013FEA8 0013BCE8 88 A3 00 19 */ lbz r5, 0x19(r3)
/* 8013FEAC 0013BCEC 88 83 00 1A */ lbz r4, 0x1a(r3)
/* 8013FEB0 0013BCF0 88 03 00 1B */ lbz r0, 0x1b(r3)
/* 8013FEB4 0013BCF4 9B C3 00 00 */ stb r30, 0x0(r3)
/* 8013FEB8 0013BCF8 9B E3 00 01 */ stb r31, 0x1(r3)
/* 8013FEBC 0013BCFC 99 83 00 02 */ stb r12, 0x2(r3)
/* 8013FEC0 0013BD00 99 63 00 03 */ stb r11, 0x3(r3)
/* 8013FEC4 0013BD04 99 43 00 04 */ stb r10, 0x4(r3)
/* 8013FEC8 0013BD08 99 23 00 05 */ stb r9, 0x5(r3)
/* 8013FECC 0013BD0C 99 03 00 06 */ stb r8, 0x6(r3)
/* 8013FED0 0013BD10 98 E3 00 07 */ stb r7, 0x7(r3)
/* 8013FED4 0013BD14 93 A3 00 20 */ stw r29, 0x20(r3)
/* 8013FED8 0013BD18 98 C3 00 08 */ stb r6, 0x8(r3)
/* 8013FEDC 0013BD1C 98 A3 00 09 */ stb r5, 0x9(r3)
/* 8013FEE0 0013BD20 98 83 00 0A */ stb r4, 0xa(r3)
/* 8013FEE4 0013BD24 98 03 00 0B */ stb r0, 0xb(r3)
/* 8013FEE8 0013BD28 88 1C 00 00 */ lbz r0, 0x0(r28)
/* 8013FEEC 0013BD2C 98 03 00 0C */ stb r0, 0xc(r3)
/* 8013FEF0 0013BD30 80 03 00 20 */ lwz r0, 0x20(r3)
/* 8013FEF4 0013BD34 88 9C 00 01 */ lbz r4, 0x1(r28)
/* 8013FEF8 0013BD38 98 83 00 0D */ stb r4, 0xd(r3)
/* 8013FEFC 0013BD3C 2C 00 00 02 */ cmpwi r0, 0x2
/* 8013FF00 0013BD40 88 1C 00 02 */ lbz r0, 0x2(r28)
/* 8013FF04 0013BD44 98 03 00 0E */ stb r0, 0xe(r3)
/* 8013FF08 0013BD48 88 1C 00 03 */ lbz r0, 0x3(r28)
/* 8013FF0C 0013BD4C 98 03 00 0F */ stb r0, 0xf(r3)
/* 8013FF10 0013BD50 41 82 00 0C */ beq lbl_8013FF1C
/* 8013FF14 0013BD54 38 A3 00 18 */ addi r5, r3, 0x18
/* 8013FF18 0013BD58 48 00 00 08 */ b lbl_8013FF20
.global lbl_8013FF1C
lbl_8013FF1C:
/* 8013FF1C 0013BD5C 38 A3 00 1C */ addi r5, r3, 0x1c
.global lbl_8013FF20
lbl_8013FF20:
/* 8013FF20 0013BD60 88 05 00 00 */ lbz r0, 0x0(r5)
/* 8013FF24 0013BD64 98 03 00 10 */ stb r0, 0x10(r3)
/* 8013FF28 0013BD68 80 03 00 20 */ lwz r0, 0x20(r3)
/* 8013FF2C 0013BD6C 88 85 00 01 */ lbz r4, 0x1(r5)
/* 8013FF30 0013BD70 98 83 00 11 */ stb r4, 0x11(r3)
/* 8013FF34 0013BD74 2C 00 00 00 */ cmpwi r0, 0x0
/* 8013FF38 0013BD78 88 05 00 02 */ lbz r0, 0x2(r5)
/* 8013FF3C 0013BD7C 98 03 00 12 */ stb r0, 0x12(r3)
/* 8013FF40 0013BD80 88 05 00 03 */ lbz r0, 0x3(r5)
/* 8013FF44 0013BD84 98 03 00 13 */ stb r0, 0x13(r3)
/* 8013FF48 0013BD88 40 82 00 0C */ bne lbl_8013FF54
/* 8013FF4C 0013BD8C 38 C3 00 18 */ addi r6, r3, 0x18
/* 8013FF50 0013BD90 48 00 00 08 */ b lbl_8013FF58
.global lbl_8013FF54
lbl_8013FF54:
/* 8013FF54 0013BD94 38 C3 00 1C */ addi r6, r3, 0x1c
.global lbl_8013FF58
lbl_8013FF58:
/* 8013FF58 0013BD98 88 06 00 00 */ lbz r0, 0x0(r6)
/* 8013FF5C 0013BD9C 3C A0 80 81 */ lis r5, 0x80808081@ha
/* 8013FF60 0013BDA0 98 03 00 14 */ stb r0, 0x14(r3)
/* 8013FF64 0013BDA4 39 85 80 81 */ addi r12, r5, 0x80808081@l
/* 8013FF68 0013BDA8 80 03 00 20 */ lwz r0, 0x20(r3)
/* 8013FF6C 0013BDAC 38 80 FF FF */ li r4, -0x1
/* 8013FF70 0013BDB0 88 A6 00 01 */ lbz r5, 0x1(r6)
/* 8013FF74 0013BDB4 98 A3 00 15 */ stb r5, 0x15(r3)
/* 8013FF78 0013BDB8 2C 00 00 01 */ cmpwi r0, 0x1
/* 8013FF7C 0013BDBC 88 A3 00 0B */ lbz r5, 0xb(r3)
/* 8013FF80 0013BDC0 88 06 00 02 */ lbz r0, 0x2(r6)
/* 8013FF84 0013BDC4 98 03 00 16 */ stb r0, 0x16(r3)
/* 8013FF88 0013BDC8 89 63 00 42 */ lbz r11, 0x42(r3)
/* 8013FF8C 0013BDCC 88 03 00 0F */ lbz r0, 0xf(r3)
/* 8013FF90 0013BDD0 90 81 00 10 */ stw r4, 0x10(r1)
/* 8013FF94 0013BDD4 7D 45 59 D6 */ mullw r10, r5, r11
/* 8013FF98 0013BDD8 8B E6 00 03 */ lbz r31, 0x3(r6)
/* 8013FF9C 0013BDDC 88 A1 00 11 */ lbz r5, 0x11(r1)
/* 8013FFA0 0013BDE0 88 E3 00 13 */ lbz r7, 0x13(r3)
/* 8013FFA4 0013BDE4 98 A3 00 19 */ stb r5, 0x19(r3)
/* 8013FFA8 0013BDE8 7D 20 59 D6 */ mullw r9, r0, r11
/* 8013FFAC 0013BDEC 88 01 00 13 */ lbz r0, 0x13(r1)
/* 8013FFB0 0013BDF0 88 81 00 12 */ lbz r4, 0x12(r1)
/* 8013FFB4 0013BDF4 98 A3 00 09 */ stb r5, 0x9(r3)
/* 8013FFB8 0013BDF8 88 C1 00 10 */ lbz r6, 0x10(r1)
/* 8013FFBC 0013BDFC 7D 07 59 D6 */ mullw r8, r7, r11
/* 8013FFC0 0013BE00 98 03 00 1B */ stb r0, 0x1b(r3)
/* 8013FFC4 0013BE04 98 03 00 0B */ stb r0, 0xb(r3)
/* 8013FFC8 0013BE08 7C 0C 48 96 */ mulhw r0, r12, r9
/* 8013FFCC 0013BE0C 98 83 00 1A */ stb r4, 0x1a(r3)
/* 8013FFD0 0013BE10 98 83 00 0A */ stb r4, 0xa(r3)
/* 8013FFD4 0013BE14 98 C3 00 18 */ stb r6, 0x18(r3)
/* 8013FFD8 0013BE18 7C AC 50 96 */ mulhw r5, r12, r10
/* 8013FFDC 0013BE1C 7C 00 4A 14 */ add r0, r0, r9
/* 8013FFE0 0013BE20 98 C3 00 08 */ stb r6, 0x8(r3)
/* 8013FFE4 0013BE24 7C 85 52 14 */ add r4, r5, r10
/* 8013FFE8 0013BE28 7C 84 3E 70 */ srawi r4, r4, 7
/* 8013FFEC 0013BE2C 7C 8C 40 96 */ mulhw r4, r12, r8
/* 8013FFF0 0013BE30 7C 05 3E 70 */ srawi r5, r0, 7
/* 8013FFF4 0013BE34 54 A6 0F FE */ srwi r6, r5, 31
/* 8013FFF8 0013BE38 7C A5 32 14 */ add r5, r5, r6
/* 8013FFFC 0013BE3C 98 A3 00 0F */ stb r5, 0xf(r3)
/* 80140000 0013BE40 7C FF 59 D6 */ mullw r7, r31, r11
/* 80140004 0013BE44 7C 84 42 14 */ add r4, r4, r8
/* 80140008 0013BE48 7C 85 3E 70 */ srawi r5, r4, 7
/* 8014000C 0013BE4C 7C 0C 38 96 */ mulhw r0, r12, r7
/* 80140010 0013BE50 54 A6 0F FE */ srwi r6, r5, 31
/* 80140014 0013BE54 7C A5 32 14 */ add r5, r5, r6
/* 80140018 0013BE58 98 A3 00 13 */ stb r5, 0x13(r3)
/* 8014001C 0013BE5C 7C 00 3A 14 */ add r0, r0, r7
/* 80140020 0013BE60 7C 00 3E 70 */ srawi r0, r0, 7
/* 80140024 0013BE64 54 04 0F FE */ srwi r4, r0, 31
/* 80140028 0013BE68 7C 00 22 14 */ add r0, r0, r4
/* 8014002C 0013BE6C 98 03 00 17 */ stb r0, 0x17(r3)
/* 80140030 0013BE70 41 82 00 0C */ beq lbl_8014003C
/* 80140034 0013BE74 38 A3 00 18 */ addi r5, r3, 0x18
/* 80140038 0013BE78 48 00 00 08 */ b lbl_80140040
.global lbl_8014003C
lbl_8014003C:
/* 8014003C 0013BE7C 38 A3 00 1C */ addi r5, r3, 0x1c
.global lbl_80140040
lbl_80140040:
/* 80140040 0013BE80 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80140044 0013BE84 98 03 00 0C */ stb r0, 0xc(r3)
/* 80140048 0013BE88 80 03 00 20 */ lwz r0, 0x20(r3)
/* 8014004C 0013BE8C 88 85 00 01 */ lbz r4, 0x1(r5)
/* 80140050 0013BE90 98 83 00 0D */ stb r4, 0xd(r3)
/* 80140054 0013BE94 2C 00 00 02 */ cmpwi r0, 0x2
/* 80140058 0013BE98 88 05 00 02 */ lbz r0, 0x2(r5)
/* 8014005C 0013BE9C 98 03 00 0E */ stb r0, 0xe(r3)
/* 80140060 0013BEA0 88 05 00 03 */ lbz r0, 0x3(r5)
/* 80140064 0013BEA4 98 03 00 0F */ stb r0, 0xf(r3)
/* 80140068 0013BEA8 41 82 00 0C */ beq lbl_80140074
/* 8014006C 0013BEAC 38 A3 00 18 */ addi r5, r3, 0x18
/* 80140070 0013BEB0 48 00 00 08 */ b lbl_80140078
.global lbl_80140074
lbl_80140074:
/* 80140074 0013BEB4 38 A3 00 1C */ addi r5, r3, 0x1c
.global lbl_80140078
lbl_80140078:
/* 80140078 0013BEB8 88 05 00 00 */ lbz r0, 0x0(r5)
/* 8014007C 0013BEBC 98 03 00 10 */ stb r0, 0x10(r3)
/* 80140080 0013BEC0 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80140084 0013BEC4 88 85 00 01 */ lbz r4, 0x1(r5)
/* 80140088 0013BEC8 98 83 00 11 */ stb r4, 0x11(r3)
/* 8014008C 0013BECC 2C 00 00 00 */ cmpwi r0, 0x0
/* 80140090 0013BED0 88 05 00 02 */ lbz r0, 0x2(r5)
/* 80140094 0013BED4 98 03 00 12 */ stb r0, 0x12(r3)
/* 80140098 0013BED8 88 05 00 03 */ lbz r0, 0x3(r5)
/* 8014009C 0013BEDC 98 03 00 13 */ stb r0, 0x13(r3)
/* 801400A0 0013BEE0 40 82 00 0C */ bne lbl_801400AC
/* 801400A4 0013BEE4 39 63 00 18 */ addi r11, r3, 0x18
/* 801400A8 0013BEE8 48 00 00 08 */ b lbl_801400B0
.global lbl_801400AC
lbl_801400AC:
/* 801400AC 0013BEEC 39 63 00 1C */ addi r11, r3, 0x1c
.global lbl_801400B0
lbl_801400B0:
/* 801400B0 0013BEF0 88 0B 00 00 */ lbz r0, 0x0(r11)
/* 801400B4 0013BEF4 3C C0 80 81 */ lis r6, 0x80808081@ha
/* 801400B8 0013BEF8 98 03 00 14 */ stb r0, 0x14(r3)
/* 801400BC 0013BEFC 3C A0 80 41 */ lis r5, "@6158"@ha
/* 801400C0 0013BF00 88 E3 00 0B */ lbz r7, 0xb(r3)
/* 801400C4 0013BF04 3C 80 80 41 */ lis r4, "@6157"@ha
/* 801400C8 0013BF08 89 23 00 42 */ lbz r9, 0x42(r3)
/* 801400CC 0013BF0C 39 46 80 81 */ addi r10, r6, 0x80808081@l
/* 801400D0 0013BF10 88 0B 00 01 */ lbz r0, 0x1(r11)
/* 801400D4 0013BF14 98 03 00 15 */ stb r0, 0x15(r3)
/* 801400D8 0013BF18 7D 07 49 D6 */ mullw r8, r7, r9
/* 801400DC 0013BF1C 88 E3 00 0F */ lbz r7, 0xf(r3)
/* 801400E0 0013BF20 38 00 00 01 */ li r0, 0x1
/* 801400E4 0013BF24 88 CB 00 02 */ lbz r6, 0x2(r11)
/* 801400E8 0013BF28 98 C3 00 16 */ stb r6, 0x16(r3)
/* 801400EC 0013BF2C 88 C3 00 13 */ lbz r6, 0x13(r3)
/* 801400F0 0013BF30 89 6B 00 03 */ lbz r11, 0x3(r11)
/* 801400F4 0013BF34 7C E7 49 D6 */ mullw r7, r7, r9
/* 801400F8 0013BF38 C0 04 E2 B0 */ lfs f0, "@6157"@l(r4)
/* 801400FC 0013BF3C C0 25 E2 B4 */ lfs f1, "@6158"@l(r5)
/* 80140100 0013BF40 90 03 00 38 */ stw r0, 0x38(r3)
/* 80140104 0013BF44 7C A6 49 D6 */ mullw r5, r6, r9
/* 80140108 0013BF48 90 03 00 3C */ stw r0, 0x3c(r3)
/* 8014010C 0013BF4C D0 23 00 24 */ stfs f1, 0x24(r3)
/* 80140110 0013BF50 D0 23 00 28 */ stfs f1, 0x28(r3)
/* 80140114 0013BF54 7C CA 40 96 */ mulhw r6, r10, r8
/* 80140118 0013BF58 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 8014011C 0013BF5C D0 03 00 30 */ stfs f0, 0x30(r3)
/* 80140120 0013BF60 7C 0A 38 96 */ mulhw r0, r10, r7
/* 80140124 0013BF64 D0 03 00 34 */ stfs f0, 0x34(r3)
/* 80140128 0013BF68 7C C6 42 14 */ add r6, r6, r8
/* 8014012C 0013BF6C 7C C8 3E 70 */ srawi r8, r6, 7
/* 80140130 0013BF70 7C 8B 49 D6 */ mullw r4, r11, r9
/* 80140134 0013BF74 55 09 0F FE */ srwi r9, r8, 31
/* 80140138 0013BF78 7C 00 3A 14 */ add r0, r0, r7
/* 8014013C 0013BF7C 7C E8 4A 14 */ add r7, r8, r9
/* 80140140 0013BF80 98 E3 00 0B */ stb r7, 0xb(r3)
/* 80140144 0013BF84 7C 07 3E 70 */ srawi r7, r0, 7
/* 80140148 0013BF88 7C CA 28 96 */ mulhw r6, r10, r5
/* 8014014C 0013BF8C 7C A6 2A 14 */ add r5, r6, r5
/* 80140150 0013BF90 7C 0A 20 96 */ mulhw r0, r10, r4
/* 80140154 0013BF94 54 E6 0F FE */ srwi r6, r7, 31
/* 80140158 0013BF98 7C A5 3E 70 */ srawi r5, r5, 7
/* 8014015C 0013BF9C 7C C7 32 14 */ add r6, r7, r6
/* 80140160 0013BFA0 98 C3 00 0F */ stb r6, 0xf(r3)
/* 80140164 0013BFA4 54 A6 0F FE */ srwi r6, r5, 31
/* 80140168 0013BFA8 7C 00 22 14 */ add r0, r0, r4
/* 8014016C 0013BFAC 7C A5 32 14 */ add r5, r5, r6
/* 80140170 0013BFB0 7C 00 3E 70 */ srawi r0, r0, 7
/* 80140174 0013BFB4 98 A3 00 13 */ stb r5, 0x13(r3)
/* 80140178 0013BFB8 54 04 0F FE */ srwi r4, r0, 31
/* 8014017C 0013BFBC 7C 00 22 14 */ add r0, r0, r4
/* 80140180 0013BFC0 98 03 00 17 */ stb r0, 0x17(r3)
/* 80140184 0013BFC4 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80140188 0013BFC8 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8014018C 0013BFCC 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80140190 0013BFD0 83 81 00 20 */ lwz r28, 0x20(r1)
/* 80140194 0013BFD4 38 21 00 30 */ addi r1, r1, 0x30
/* 80140198 0013BFD8 4E 80 00 20 */ blr
/* 8014019C 0013BFDC 00 00 00 00 */ .4byte 0x00000000
.global SetFont__Q36nw4hbm2ut10CharWriterFRCQ36nw4hbm2ut4Font
SetFont__Q36nw4hbm2ut10CharWriterFRCQ36nw4hbm2ut4Font:
/* 801401A0 0013BFE0 90 83 00 48 */ stw r4, 0x48(r3)
/* 801401A4 0013BFE4 4E 80 00 20 */ blr
/* 801401A8 0013BFE8 00 00 00 00 */ .4byte 0x00000000
/* 801401AC 0013BFEC 00 00 00 00 */ .4byte 0x00000000
.global GetFont__Q36nw4hbm2ut10CharWriterCFv
GetFont__Q36nw4hbm2ut10CharWriterCFv:
/* 801401B0 0013BFF0 80 63 00 48 */ lwz r3, 0x48(r3)
/* 801401B4 0013BFF4 4E 80 00 20 */ blr
/* 801401B8 0013BFF8 00 00 00 00 */ .4byte 0x00000000
/* 801401BC 0013BFFC 00 00 00 00 */ .4byte 0x00000000
.global SetupGX__Q36nw4hbm2ut10CharWriterFv
SetupGX__Q36nw4hbm2ut10CharWriterFv:
/* 801401C0 0013C000 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 801401C4 0013C004 7C 08 02 A6 */ mflr r0
/* 801401C8 0013C008 90 01 00 34 */ stw r0, 0x34(r1)
/* 801401CC 0013C00C 38 00 00 FF */ li r0, 0xff
/* 801401D0 0013C010 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 801401D4 0013C014 3B E0 00 00 */ li r31, 0x0
/* 801401D8 0013C018 93 C1 00 28 */ stw r30, 0x28(r1)
/* 801401DC 0013C01C 3F C0 80 54 */ lis r30, "@GUARD@SetupGXCommon__6nw4hbmFv@fog"@ha
/* 801401E0 0013C020 3B DE 37 98 */ addi r30, r30, "@GUARD@SetupGXCommon__6nw4hbmFv@fog"@l
/* 801401E4 0013C024 38 9E 00 08 */ addi r4, r30, 0x8
/* 801401E8 0013C028 90 1E 00 08 */ stw r0, 0x8(r30)
/* 801401EC 0013C02C 93 E4 00 04 */ stw r31, 0x4(r4)
/* 801401F0 0013C030 80 03 00 00 */ lwz r0, 0x0(r3)
/* 801401F4 0013C034 2C 00 00 00 */ cmpwi r0, 0x0
/* 801401F8 0013C038 40 82 00 14 */ bne lbl_8014020C
/* 801401FC 0013C03C 80 83 00 04 */ lwz r4, 0x4(r3)
/* 80140200 0013C040 3C 04 00 01 */ addis r0, r4, 0x1
/* 80140204 0013C044 28 00 FF FF */ cmplwi r0, 0xffff
/* 80140208 0013C048 41 82 00 24 */ beq lbl_8014022C
.global lbl_8014020C
lbl_8014020C:
/* 8014020C 0013C04C 80 03 00 00 */ lwz r0, 0x0(r3)
/* 80140210 0013C050 38 81 00 1C */ addi r4, r1, 0x1c
/* 80140214 0013C054 90 01 00 20 */ stw r0, 0x20(r1)
/* 80140218 0013C058 80 03 00 04 */ lwz r0, 0x4(r3)
/* 8014021C 0013C05C 38 61 00 20 */ addi r3, r1, 0x20
/* 80140220 0013C060 90 01 00 1C */ stw r0, 0x1c(r1)
/* 80140224 0013C064 48 00 12 AD */ bl SetupGXWithColorMapping__Q36nw4hbm2ut10CharWriterFQ36nw4hbm2ut5ColorQ36nw4hbm2ut5Color
/* 80140228 0013C068 48 00 08 D0 */ b lbl_80140AF8
.global lbl_8014022C
lbl_8014022C:
/* 8014022C 0013C06C 80 63 00 48 */ lwz r3, 0x48(r3)
/* 80140230 0013C070 2C 03 00 00 */ cmpwi r3, 0x0
/* 80140234 0013C074 41 82 07 24 */ beq lbl_80140958
/* 80140238 0013C078 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8014023C 0013C07C 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 80140240 0013C080 7D 89 03 A6 */ mtctr r12
/* 80140244 0013C084 4E 80 04 21 */ bctrl
/* 80140248 0013C088 38 03 FF FC */ addi r0, r3, -0x4
/* 8014024C 0013C08C 28 00 00 02 */ cmplwi r0, 0x2
/* 80140250 0013C090 40 81 03 C0 */ ble lbl_80140610
/* 80140254 0013C094 28 03 00 01 */ cmplwi r3, 0x1
/* 80140258 0013C098 40 81 00 14 */ ble lbl_8014026C
/* 8014025C 0013C09C 38 03 FF FE */ addi r0, r3, -0x2
/* 80140260 0013C0A0 28 00 00 01 */ cmplwi r0, 0x1
/* 80140264 0013C0A4 40 81 02 08 */ ble lbl_8014046C
/* 80140268 0013C0A8 48 00 05 4C */ b lbl_801407B4
.global lbl_8014026C
lbl_8014026C:
/* 8014026C 0013C0AC 88 1E 00 00 */ lbz r0, 0x0(r30)
/* 80140270 0013C0B0 7C 00 07 75 */ extsb. r0, r0
/* 80140274 0013C0B4 40 82 00 10 */ bne lbl_80140284
/* 80140278 0013C0B8 38 00 00 01 */ li r0, 0x1
/* 8014027C 0013C0BC 93 FE 00 04 */ stw r31, 0x4(r30)
/* 80140280 0013C0C0 98 1E 00 00 */ stb r0, 0x0(r30)
.global lbl_80140284
lbl_80140284:
/* 80140284 0013C0C4 3C 60 80 41 */ lis r3, "@6157"@ha
/* 80140288 0013C0C8 80 1E 00 04 */ lwz r0, 0x4(r30)
/* 8014028C 0013C0CC C0 23 E2 B0 */ lfs f1, "@6157"@l(r3)
/* 80140290 0013C0D0 38 81 00 18 */ addi r4, r1, 0x18
/* 80140294 0013C0D4 90 01 00 18 */ stw r0, 0x18(r1)
/* 80140298 0013C0D8 38 60 00 00 */ li r3, 0x0
/* 8014029C 0013C0DC FC 40 08 90 */ fmr f2, f1
/* 801402A0 0013C0E0 FC 60 08 90 */ fmr f3, f1
/* 801402A4 0013C0E4 FC 80 08 90 */ fmr f4, f1
/* 801402A8 0013C0E8 4B EF 7F E9 */ bl GXSetFog
/* 801402AC 0013C0EC 38 60 00 00 */ li r3, 0x0
/* 801402B0 0013C0F0 38 80 00 00 */ li r4, 0x0
/* 801402B4 0013C0F4 38 A0 00 01 */ li r5, 0x1
/* 801402B8 0013C0F8 38 C0 00 02 */ li r6, 0x2
/* 801402BC 0013C0FC 38 E0 00 03 */ li r7, 0x3
/* 801402C0 0013C100 4B EF 7C F1 */ bl GXSetTevSwapModeTable
/* 801402C4 0013C104 38 60 00 00 */ li r3, 0x0
/* 801402C8 0013C108 38 80 00 11 */ li r4, 0x11
/* 801402CC 0013C10C 38 A0 00 00 */ li r5, 0x0
/* 801402D0 0013C110 4B EF 7D A1 */ bl GXSetZTexture
/* 801402D4 0013C114 38 60 00 01 */ li r3, 0x1
/* 801402D8 0013C118 4B EF 62 09 */ bl GXSetNumChans
/* 801402DC 0013C11C 38 60 00 04 */ li r3, 0x4
/* 801402E0 0013C120 38 80 00 00 */ li r4, 0x0
/* 801402E4 0013C124 38 A0 00 00 */ li r5, 0x0
/* 801402E8 0013C128 38 C0 00 01 */ li r6, 0x1
/* 801402EC 0013C12C 38 E0 00 00 */ li r7, 0x0
/* 801402F0 0013C130 39 00 00 00 */ li r8, 0x0
/* 801402F4 0013C134 39 20 00 02 */ li r9, 0x2
/* 801402F8 0013C138 4B EF 62 19 */ bl GXSetChanCtrl
/* 801402FC 0013C13C 38 60 00 05 */ li r3, 0x5
/* 80140300 0013C140 38 80 00 00 */ li r4, 0x0
/* 80140304 0013C144 38 A0 00 00 */ li r5, 0x0
/* 80140308 0013C148 38 C0 00 00 */ li r6, 0x0
/* 8014030C 0013C14C 38 E0 00 00 */ li r7, 0x0
/* 80140310 0013C150 39 00 00 00 */ li r8, 0x0
/* 80140314 0013C154 39 20 00 02 */ li r9, 0x2
/* 80140318 0013C158 4B EF 61 F9 */ bl GXSetChanCtrl
/* 8014031C 0013C15C 38 60 00 01 */ li r3, 0x1
/* 80140320 0013C160 4B EF 43 C1 */ bl GXSetNumTexGens
/* 80140324 0013C164 38 60 00 00 */ li r3, 0x0
/* 80140328 0013C168 38 80 00 01 */ li r4, 0x1
/* 8014032C 0013C16C 38 A0 00 04 */ li r5, 0x4
/* 80140330 0013C170 38 C0 00 3C */ li r6, 0x3c
/* 80140334 0013C174 38 E0 00 00 */ li r7, 0x0
/* 80140338 0013C178 39 00 00 7D */ li r8, 0x7d
/* 8014033C 0013C17C 4B EF 41 55 */ bl GXSetTexCoordGen2
/* 80140340 0013C180 38 60 00 00 */ li r3, 0x0
/* 80140344 0013C184 4B EF 77 AD */ bl GXSetNumIndStages
/* 80140348 0013C188 38 60 00 01 */ li r3, 0x1
/* 8014034C 0013C18C 38 80 00 04 */ li r4, 0x4
/* 80140350 0013C190 38 A0 00 05 */ li r5, 0x5
/* 80140354 0013C194 38 C0 00 0F */ li r6, 0xf
/* 80140358 0013C198 4B EF 83 D9 */ bl GXSetBlendMode
/* 8014035C 0013C19C 38 60 00 01 */ li r3, 0x1
/* 80140360 0013C1A0 4B EF 7F 01 */ bl GXSetNumTevStages
/* 80140364 0013C1A4 38 60 00 00 */ li r3, 0x0
/* 80140368 0013C1A8 4B EF 77 A9 */ bl GXSetTevDirect
/* 8014036C 0013C1AC 38 60 00 00 */ li r3, 0x0
/* 80140370 0013C1B0 38 80 00 00 */ li r4, 0x0
/* 80140374 0013C1B4 38 A0 00 00 */ li r5, 0x0
/* 80140378 0013C1B8 4B EF 7B F9 */ bl GXSetTevSwapMode
/* 8014037C 0013C1BC 38 60 00 00 */ li r3, 0x0
/* 80140380 0013C1C0 38 80 00 00 */ li r4, 0x0
/* 80140384 0013C1C4 38 A0 00 00 */ li r5, 0x0
/* 80140388 0013C1C8 38 C0 00 04 */ li r6, 0x4
/* 8014038C 0013C1CC 4B EF 7D 75 */ bl GXSetTevOrder
/* 80140390 0013C1D0 38 60 00 00 */ li r3, 0x0
/* 80140394 0013C1D4 38 80 00 0F */ li r4, 0xf
/* 80140398 0013C1D8 38 A0 00 0F */ li r5, 0xf
/* 8014039C 0013C1DC 38 C0 00 0F */ li r6, 0xf
/* 801403A0 0013C1E0 38 E0 00 0A */ li r7, 0xa
/* 801403A4 0013C1E4 4B EF 78 BD */ bl GXSetTevColorIn
/* 801403A8 0013C1E8 38 60 00 00 */ li r3, 0x0
/* 801403AC 0013C1EC 38 80 00 07 */ li r4, 0x7
/* 801403B0 0013C1F0 38 A0 00 04 */ li r5, 0x4
/* 801403B4 0013C1F4 38 C0 00 05 */ li r6, 0x5
/* 801403B8 0013C1F8 38 E0 00 07 */ li r7, 0x7
/* 801403BC 0013C1FC 4B EF 78 E5 */ bl GXSetTevAlphaIn
/* 801403C0 0013C200 38 60 00 00 */ li r3, 0x0
/* 801403C4 0013C204 38 80 00 00 */ li r4, 0x0
/* 801403C8 0013C208 38 A0 00 00 */ li r5, 0x0
/* 801403CC 0013C20C 38 C0 00 00 */ li r6, 0x0
/* 801403D0 0013C210 38 E0 00 01 */ li r7, 0x1
/* 801403D4 0013C214 39 00 00 00 */ li r8, 0x0
/* 801403D8 0013C218 4B EF 79 09 */ bl GXSetTevColorOp
/* 801403DC 0013C21C 38 60 00 00 */ li r3, 0x0
/* 801403E0 0013C220 38 80 00 00 */ li r4, 0x0
/* 801403E4 0013C224 38 A0 00 00 */ li r5, 0x0
/* 801403E8 0013C228 38 C0 00 00 */ li r6, 0x0
/* 801403EC 0013C22C 38 E0 00 01 */ li r7, 0x1
/* 801403F0 0013C230 39 00 00 00 */ li r8, 0x0
/* 801403F4 0013C234 4B EF 79 4D */ bl GXSetTevAlphaOp
/* 801403F8 0013C238 38 60 00 00 */ li r3, 0x0
/* 801403FC 0013C23C 38 80 00 09 */ li r4, 0x9
/* 80140400 0013C240 38 A0 00 01 */ li r5, 0x1
/* 80140404 0013C244 38 C0 00 04 */ li r6, 0x4
/* 80140408 0013C248 38 E0 00 00 */ li r7, 0x0
/* 8014040C 0013C24C 4B EF 39 E5 */ bl GXSetVtxAttrFmt
/* 80140410 0013C250 38 60 00 00 */ li r3, 0x0
/* 80140414 0013C254 38 80 00 0B */ li r4, 0xb
/* 80140418 0013C258 38 A0 00 01 */ li r5, 0x1
/* 8014041C 0013C25C 38 C0 00 05 */ li r6, 0x5
/* 80140420 0013C260 38 E0 00 00 */ li r7, 0x0
/* 80140424 0013C264 4B EF 39 CD */ bl GXSetVtxAttrFmt
/* 80140428 0013C268 38 60 00 00 */ li r3, 0x0
/* 8014042C 0013C26C 38 80 00 0D */ li r4, 0xd
/* 80140430 0013C270 38 A0 00 01 */ li r5, 0x1
/* 80140434 0013C274 38 C0 00 02 */ li r6, 0x2
/* 80140438 0013C278 38 E0 00 0F */ li r7, 0xf
/* 8014043C 0013C27C 4B EF 39 B5 */ bl GXSetVtxAttrFmt
/* 80140440 0013C280 4B EF 39 71 */ bl GXClearVtxDesc
/* 80140444 0013C284 38 60 00 09 */ li r3, 0x9
/* 80140448 0013C288 38 80 00 01 */ li r4, 0x1
/* 8014044C 0013C28C 4B EF 33 55 */ bl GXSetVtxDesc
/* 80140450 0013C290 38 60 00 0B */ li r3, 0xb
/* 80140454 0013C294 38 80 00 01 */ li r4, 0x1
/* 80140458 0013C298 4B EF 33 49 */ bl GXSetVtxDesc
/* 8014045C 0013C29C 38 60 00 0D */ li r3, 0xd
/* 80140460 0013C2A0 38 80 00 01 */ li r4, 0x1
/* 80140464 0013C2A4 4B EF 33 3D */ bl GXSetVtxDesc
/* 80140468 0013C2A8 48 00 06 90 */ b lbl_80140AF8
.global lbl_8014046C
lbl_8014046C:
/* 8014046C 0013C2AC 88 1E 00 00 */ lbz r0, 0x0(r30)
/* 80140470 0013C2B0 7C 00 07 75 */ extsb. r0, r0
/* 80140474 0013C2B4 40 82 00 10 */ bne lbl_80140484
/* 80140478 0013C2B8 38 00 00 01 */ li r0, 0x1
/* 8014047C 0013C2BC 93 FE 00 04 */ stw r31, 0x4(r30)
/* 80140480 0013C2C0 98 1E 00 00 */ stb r0, 0x0(r30)
.global lbl_80140484
lbl_80140484:
/* 80140484 0013C2C4 3C 60 80 41 */ lis r3, "@6157"@ha
/* 80140488 0013C2C8 80 1E 00 04 */ lwz r0, 0x4(r30)
/* 8014048C 0013C2CC C0 23 E2 B0 */ lfs f1, "@6157"@l(r3)
/* 80140490 0013C2D0 38 81 00 14 */ addi r4, r1, 0x14
/* 80140494 0013C2D4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80140498 0013C2D8 38 60 00 00 */ li r3, 0x0
/* 8014049C 0013C2DC FC 40 08 90 */ fmr f2, f1
/* 801404A0 0013C2E0 FC 60 08 90 */ fmr f3, f1
/* 801404A4 0013C2E4 FC 80 08 90 */ fmr f4, f1
/* 801404A8 0013C2E8 4B EF 7D E9 */ bl GXSetFog
/* 801404AC 0013C2EC 38 60 00 00 */ li r3, 0x0
/* 801404B0 0013C2F0 38 80 00 00 */ li r4, 0x0
/* 801404B4 0013C2F4 38 A0 00 01 */ li r5, 0x1
/* 801404B8 0013C2F8 38 C0 00 02 */ li r6, 0x2
/* 801404BC 0013C2FC 38 E0 00 03 */ li r7, 0x3
/* 801404C0 0013C300 4B EF 7A F1 */ bl GXSetTevSwapModeTable
/* 801404C4 0013C304 38 60 00 00 */ li r3, 0x0
/* 801404C8 0013C308 38 80 00 11 */ li r4, 0x11
/* 801404CC 0013C30C 38 A0 00 00 */ li r5, 0x0
/* 801404D0 0013C310 4B EF 7B A1 */ bl GXSetZTexture
/* 801404D4 0013C314 38 60 00 01 */ li r3, 0x1
/* 801404D8 0013C318 4B EF 60 09 */ bl GXSetNumChans
/* 801404DC 0013C31C 38 60 00 04 */ li r3, 0x4
/* 801404E0 0013C320 38 80 00 00 */ li r4, 0x0
/* 801404E4 0013C324 38 A0 00 00 */ li r5, 0x0
/* 801404E8 0013C328 38 C0 00 01 */ li r6, 0x1
/* 801404EC 0013C32C 38 E0 00 00 */ li r7, 0x0
/* 801404F0 0013C330 39 00 00 00 */ li r8, 0x0
/* 801404F4 0013C334 39 20 00 02 */ li r9, 0x2
/* 801404F8 0013C338 4B EF 60 19 */ bl GXSetChanCtrl
/* 801404FC 0013C33C 38 60 00 05 */ li r3, 0x5
/* 80140500 0013C340 38 80 00 00 */ li r4, 0x0
/* 80140504 0013C344 38 A0 00 00 */ li r5, 0x0
/* 80140508 0013C348 38 C0 00 00 */ li r6, 0x0
/* 8014050C 0013C34C 38 E0 00 00 */ li r7, 0x0
/* 80140510 0013C350 39 00 00 00 */ li r8, 0x0
/* 80140514 0013C354 39 20 00 02 */ li r9, 0x2
/* 80140518 0013C358 4B EF 5F F9 */ bl GXSetChanCtrl
/* 8014051C 0013C35C 38 60 00 01 */ li r3, 0x1
/* 80140520 0013C360 4B EF 41 C1 */ bl GXSetNumTexGens
/* 80140524 0013C364 38 60 00 00 */ li r3, 0x0
/* 80140528 0013C368 38 80 00 01 */ li r4, 0x1
/* 8014052C 0013C36C 38 A0 00 04 */ li r5, 0x4
/* 80140530 0013C370 38 C0 00 3C */ li r6, 0x3c
/* 80140534 0013C374 38 E0 00 00 */ li r7, 0x0
/* 80140538 0013C378 39 00 00 7D */ li r8, 0x7d
/* 8014053C 0013C37C 4B EF 3F 55 */ bl GXSetTexCoordGen2
/* 80140540 0013C380 38 60 00 00 */ li r3, 0x0
/* 80140544 0013C384 4B EF 75 AD */ bl GXSetNumIndStages
/* 80140548 0013C388 38 60 00 01 */ li r3, 0x1
/* 8014054C 0013C38C 38 80 00 04 */ li r4, 0x4
/* 80140550 0013C390 38 A0 00 05 */ li r5, 0x5
/* 80140554 0013C394 38 C0 00 0F */ li r6, 0xf
/* 80140558 0013C398 4B EF 81 D9 */ bl GXSetBlendMode
/* 8014055C 0013C39C 38 60 00 01 */ li r3, 0x1
/* 80140560 0013C3A0 4B EF 7D 01 */ bl GXSetNumTevStages
/* 80140564 0013C3A4 38 60 00 00 */ li r3, 0x0
/* 80140568 0013C3A8 4B EF 75 A9 */ bl GXSetTevDirect
/* 8014056C 0013C3AC 38 60 00 00 */ li r3, 0x0
/* 80140570 0013C3B0 38 80 00 00 */ li r4, 0x0
/* 80140574 0013C3B4 38 A0 00 00 */ li r5, 0x0
/* 80140578 0013C3B8 4B EF 79 F9 */ bl GXSetTevSwapMode
/* 8014057C 0013C3BC 38 60 00 00 */ li r3, 0x0
/* 80140580 0013C3C0 38 80 00 00 */ li r4, 0x0
/* 80140584 0013C3C4 38 A0 00 00 */ li r5, 0x0
/* 80140588 0013C3C8 38 C0 00 04 */ li r6, 0x4
/* 8014058C 0013C3CC 4B EF 7B 75 */ bl GXSetTevOrder
/* 80140590 0013C3D0 38 60 00 00 */ li r3, 0x0
/* 80140594 0013C3D4 38 80 00 00 */ li r4, 0x0
/* 80140598 0013C3D8 4B EF 76 29 */ bl GXSetTevOp
/* 8014059C 0013C3DC 38 60 00 00 */ li r3, 0x0
/* 801405A0 0013C3E0 38 80 00 09 */ li r4, 0x9
/* 801405A4 0013C3E4 38 A0 00 01 */ li r5, 0x1
/* 801405A8 0013C3E8 38 C0 00 04 */ li r6, 0x4
/* 801405AC 0013C3EC 38 E0 00 00 */ li r7, 0x0
/* 801405B0 0013C3F0 4B EF 38 41 */ bl GXSetVtxAttrFmt
/* 801405B4 0013C3F4 38 60 00 00 */ li r3, 0x0
/* 801405B8 0013C3F8 38 80 00 0B */ li r4, 0xb
/* 801405BC 0013C3FC 38 A0 00 01 */ li r5, 0x1
/* 801405C0 0013C400 38 C0 00 05 */ li r6, 0x5
/* 801405C4 0013C404 38 E0 00 00 */ li r7, 0x0
/* 801405C8 0013C408 4B EF 38 29 */ bl GXSetVtxAttrFmt
/* 801405CC 0013C40C 38 60 00 00 */ li r3, 0x0
/* 801405D0 0013C410 38 80 00 0D */ li r4, 0xd
/* 801405D4 0013C414 38 A0 00 01 */ li r5, 0x1
/* 801405D8 0013C418 38 C0 00 02 */ li r6, 0x2
/* 801405DC 0013C41C 38 E0 00 0F */ li r7, 0xf
/* 801405E0 0013C420 4B EF 38 11 */ bl GXSetVtxAttrFmt
/* 801405E4 0013C424 4B EF 37 CD */ bl GXClearVtxDesc
/* 801405E8 0013C428 38 60 00 09 */ li r3, 0x9
/* 801405EC 0013C42C 38 80 00 01 */ li r4, 0x1
/* 801405F0 0013C430 4B EF 31 B1 */ bl GXSetVtxDesc
/* 801405F4 0013C434 38 60 00 0B */ li r3, 0xb
/* 801405F8 0013C438 38 80 00 01 */ li r4, 0x1
/* 801405FC 0013C43C 4B EF 31 A5 */ bl GXSetVtxDesc
/* 80140600 0013C440 38 60 00 0D */ li r3, 0xd
/* 80140604 0013C444 38 80 00 01 */ li r4, 0x1
/* 80140608 0013C448 4B EF 31 99 */ bl GXSetVtxDesc
/* 8014060C 0013C44C 48 00 04 EC */ b lbl_80140AF8
.global lbl_80140610
lbl_80140610:
/* 80140610 0013C450 88 1E 00 00 */ lbz r0, 0x0(r30)
/* 80140614 0013C454 7C 00 07 75 */ extsb. r0, r0
/* 80140618 0013C458 40 82 00 10 */ bne lbl_80140628
/* 8014061C 0013C45C 38 00 00 01 */ li r0, 0x1
/* 80140620 0013C460 93 FE 00 04 */ stw r31, 0x4(r30)
/* 80140624 0013C464 98 1E 00 00 */ stb r0, 0x0(r30)
.global lbl_80140628
lbl_80140628:
/* 80140628 0013C468 3C 60 80 41 */ lis r3, "@6157"@ha
/* 8014062C 0013C46C 80 1E 00 04 */ lwz r0, 0x4(r30)
/* 80140630 0013C470 C0 23 E2 B0 */ lfs f1, "@6157"@l(r3)
/* 80140634 0013C474 38 81 00 10 */ addi r4, r1, 0x10
/* 80140638 0013C478 90 01 00 10 */ stw r0, 0x10(r1)
/* 8014063C 0013C47C 38 60 00 00 */ li r3, 0x0
/* 80140640 0013C480 FC 40 08 90 */ fmr f2, f1
/* 80140644 0013C484 FC 60 08 90 */ fmr f3, f1
/* 80140648 0013C488 FC 80 08 90 */ fmr f4, f1
/* 8014064C 0013C48C 4B EF 7C 45 */ bl GXSetFog
/* 80140650 0013C490 38 60 00 00 */ li r3, 0x0
/* 80140654 0013C494 38 80 00 00 */ li r4, 0x0
/* 80140658 0013C498 38 A0 00 01 */ li r5, 0x1
/* 8014065C 0013C49C 38 C0 00 02 */ li r6, 0x2
/* 80140660 0013C4A0 38 E0 00 03 */ li r7, 0x3
/* 80140664 0013C4A4 4B EF 79 4D */ bl GXSetTevSwapModeTable
/* 80140668 0013C4A8 38 60 00 00 */ li r3, 0x0
/* 8014066C 0013C4AC 38 80 00 11 */ li r4, 0x11
/* 80140670 0013C4B0 38 A0 00 00 */ li r5, 0x0
/* 80140674 0013C4B4 4B EF 79 FD */ bl GXSetZTexture
/* 80140678 0013C4B8 38 60 00 01 */ li r3, 0x1
/* 8014067C 0013C4BC 4B EF 5E 65 */ bl GXSetNumChans
/* 80140680 0013C4C0 38 60 00 04 */ li r3, 0x4
/* 80140684 0013C4C4 38 80 00 00 */ li r4, 0x0
/* 80140688 0013C4C8 38 A0 00 00 */ li r5, 0x0
/* 8014068C 0013C4CC 38 C0 00 01 */ li r6, 0x1
/* 80140690 0013C4D0 38 E0 00 00 */ li r7, 0x0
/* 80140694 0013C4D4 39 00 00 00 */ li r8, 0x0
/* 80140698 0013C4D8 39 20 00 02 */ li r9, 0x2
/* 8014069C 0013C4DC 4B EF 5E 75 */ bl GXSetChanCtrl
/* 801406A0 0013C4E0 38 60 00 05 */ li r3, 0x5
/* 801406A4 0013C4E4 38 80 00 00 */ li r4, 0x0
/* 801406A8 0013C4E8 38 A0 00 00 */ li r5, 0x0
/* 801406AC 0013C4EC 38 C0 00 00 */ li r6, 0x0
/* 801406B0 0013C4F0 38 E0 00 00 */ li r7, 0x0
/* 801406B4 0013C4F4 39 00 00 00 */ li r8, 0x0
/* 801406B8 0013C4F8 39 20 00 02 */ li r9, 0x2
/* 801406BC 0013C4FC 4B EF 5E 55 */ bl GXSetChanCtrl
/* 801406C0 0013C500 38 60 00 01 */ li r3, 0x1
/* 801406C4 0013C504 4B EF 40 1D */ bl GXSetNumTexGens
/* 801406C8 0013C508 38 60 00 00 */ li r3, 0x0
/* 801406CC 0013C50C 38 80 00 01 */ li r4, 0x1
/* 801406D0 0013C510 38 A0 00 04 */ li r5, 0x4
/* 801406D4 0013C514 38 C0 00 3C */ li r6, 0x3c
/* 801406D8 0013C518 38 E0 00 00 */ li r7, 0x0
/* 801406DC 0013C51C 39 00 00 7D */ li r8, 0x7d
/* 801406E0 0013C520 4B EF 3D B1 */ bl GXSetTexCoordGen2
/* 801406E4 0013C524 38 60 00 00 */ li r3, 0x0
/* 801406E8 0013C528 4B EF 74 09 */ bl GXSetNumIndStages
/* 801406EC 0013C52C 38 60 00 01 */ li r3, 0x1
/* 801406F0 0013C530 38 80 00 04 */ li r4, 0x4
/* 801406F4 0013C534 38 A0 00 05 */ li r5, 0x5
/* 801406F8 0013C538 38 C0 00 0F */ li r6, 0xf
/* 801406FC 0013C53C 4B EF 80 35 */ bl GXSetBlendMode
/* 80140700 0013C540 38 60 00 01 */ li r3, 0x1
/* 80140704 0013C544 4B EF 7B 5D */ bl GXSetNumTevStages
/* 80140708 0013C548 38 60 00 00 */ li r3, 0x0
/* 8014070C 0013C54C 4B EF 74 05 */ bl GXSetTevDirect
/* 80140710 0013C550 38 60 00 00 */ li r3, 0x0
/* 80140714 0013C554 38 80 00 00 */ li r4, 0x0
/* 80140718 0013C558 38 A0 00 00 */ li r5, 0x0
/* 8014071C 0013C55C 4B EF 78 55 */ bl GXSetTevSwapMode
/* 80140720 0013C560 38 60 00 00 */ li r3, 0x0
/* 80140724 0013C564 38 80 00 00 */ li r4, 0x0
/* 80140728 0013C568 38 A0 00 00 */ li r5, 0x0
/* 8014072C 0013C56C 38 C0 00 04 */ li r6, 0x4
/* 80140730 0013C570 4B EF 79 D1 */ bl GXSetTevOrder
/* 80140734 0013C574 38 60 00 00 */ li r3, 0x0
/* 80140738 0013C578 38 80 00 00 */ li r4, 0x0
/* 8014073C 0013C57C 4B EF 74 85 */ bl GXSetTevOp
/* 80140740 0013C580 38 60 00 00 */ li r3, 0x0
/* 80140744 0013C584 38 80 00 09 */ li r4, 0x9
/* 80140748 0013C588 38 A0 00 01 */ li r5, 0x1
/* 8014074C 0013C58C 38 C0 00 04 */ li r6, 0x4
/* 80140750 0013C590 38 E0 00 00 */ li r7, 0x0
/* 80140754 0013C594 4B EF 36 9D */ bl GXSetVtxAttrFmt
/* 80140758 0013C598 38 60 00 00 */ li r3, 0x0
/* 8014075C 0013C59C 38 80 00 0B */ li r4, 0xb
/* 80140760 0013C5A0 38 A0 00 01 */ li r5, 0x1
/* 80140764 0013C5A4 38 C0 00 05 */ li r6, 0x5
/* 80140768 0013C5A8 38 E0 00 00 */ li r7, 0x0
/* 8014076C 0013C5AC 4B EF 36 85 */ bl GXSetVtxAttrFmt
/* 80140770 0013C5B0 38 60 00 00 */ li r3, 0x0
/* 80140774 0013C5B4 38 80 00 0D */ li r4, 0xd
/* 80140778 0013C5B8 38 A0 00 01 */ li r5, 0x1
/* 8014077C 0013C5BC 38 C0 00 02 */ li r6, 0x2
/* 80140780 0013C5C0 38 E0 00 0F */ li r7, 0xf
/* 80140784 0013C5C4 4B EF 36 6D */ bl GXSetVtxAttrFmt
/* 80140788 0013C5C8 4B EF 36 29 */ bl GXClearVtxDesc
/* 8014078C 0013C5CC 38 60 00 09 */ li r3, 0x9
/* 80140790 0013C5D0 38 80 00 01 */ li r4, 0x1
/* 80140794 0013C5D4 4B EF 30 0D */ bl GXSetVtxDesc
/* 80140798 0013C5D8 38 60 00 0B */ li r3, 0xb
/* 8014079C 0013C5DC 38 80 00 01 */ li r4, 0x1
/* 801407A0 0013C5E0 4B EF 30 01 */ bl GXSetVtxDesc
/* 801407A4 0013C5E4 38 60 00 0D */ li r3, 0xd
/* 801407A8 0013C5E8 38 80 00 01 */ li r4, 0x1
/* 801407AC 0013C5EC 4B EF 2F F5 */ bl GXSetVtxDesc
/* 801407B0 0013C5F0 48 00 03 48 */ b lbl_80140AF8
.global lbl_801407B4
lbl_801407B4:
/* 801407B4 0013C5F4 88 1E 00 00 */ lbz r0, 0x0(r30)
/* 801407B8 0013C5F8 7C 00 07 75 */ extsb. r0, r0
/* 801407BC 0013C5FC 40 82 00 10 */ bne lbl_801407CC
/* 801407C0 0013C600 38 00 00 01 */ li r0, 0x1
/* 801407C4 0013C604 93 FE 00 04 */ stw r31, 0x4(r30)
/* 801407C8 0013C608 98 1E 00 00 */ stb r0, 0x0(r30)
.global lbl_801407CC
lbl_801407CC:
/* 801407CC 0013C60C 3C 60 80 41 */ lis r3, "@6157"@ha
/* 801407D0 0013C610 80 1E 00 04 */ lwz r0, 0x4(r30)
/* 801407D4 0013C614 C0 23 E2 B0 */ lfs f1, "@6157"@l(r3)
/* 801407D8 0013C618 38 81 00 0C */ addi r4, r1, 0xc
/* 801407DC 0013C61C 90 01 00 0C */ stw r0, 0xc(r1)
/* 801407E0 0013C620 38 60 00 00 */ li r3, 0x0
/* 801407E4 0013C624 FC 40 08 90 */ fmr f2, f1
/* 801407E8 0013C628 FC 60 08 90 */ fmr f3, f1
/* 801407EC 0013C62C FC 80 08 90 */ fmr f4, f1
/* 801407F0 0013C630 4B EF 7A A1 */ bl GXSetFog
/* 801407F4 0013C634 38 60 00 00 */ li r3, 0x0
/* 801407F8 0013C638 38 80 00 00 */ li r4, 0x0
/* 801407FC 0013C63C 38 A0 00 01 */ li r5, 0x1
/* 80140800 0013C640 38 C0 00 02 */ li r6, 0x2
/* 80140804 0013C644 38 E0 00 03 */ li r7, 0x3
/* 80140808 0013C648 4B EF 77 A9 */ bl GXSetTevSwapModeTable
/* 8014080C 0013C64C 38 60 00 00 */ li r3, 0x0
/* 80140810 0013C650 38 80 00 11 */ li r4, 0x11
/* 80140814 0013C654 38 A0 00 00 */ li r5, 0x0
/* 80140818 0013C658 4B EF 78 59 */ bl GXSetZTexture
/* 8014081C 0013C65C 38 60 00 01 */ li r3, 0x1
/* 80140820 0013C660 4B EF 5C C1 */ bl GXSetNumChans
/* 80140824 0013C664 38 60 00 04 */ li r3, 0x4
/* 80140828 0013C668 38 80 00 00 */ li r4, 0x0
/* 8014082C 0013C66C 38 A0 00 00 */ li r5, 0x0
/* 80140830 0013C670 38 C0 00 01 */ li r6, 0x1
/* 80140834 0013C674 38 E0 00 00 */ li r7, 0x0
/* 80140838 0013C678 39 00 00 00 */ li r8, 0x0
/* 8014083C 0013C67C 39 20 00 02 */ li r9, 0x2
/* 80140840 0013C680 4B EF 5C D1 */ bl GXSetChanCtrl
/* 80140844 0013C684 38 60 00 05 */ li r3, 0x5
/* 80140848 0013C688 38 80 00 00 */ li r4, 0x0
/* 8014084C 0013C68C 38 A0 00 00 */ li r5, 0x0
/* 80140850 0013C690 38 C0 00 00 */ li r6, 0x0
/* 80140854 0013C694 38 E0 00 00 */ li r7, 0x0
/* 80140858 0013C698 39 00 00 00 */ li r8, 0x0
/* 8014085C 0013C69C 39 20 00 02 */ li r9, 0x2
/* 80140860 0013C6A0 4B EF 5C B1 */ bl GXSetChanCtrl
/* 80140864 0013C6A4 38 60 00 01 */ li r3, 0x1
/* 80140868 0013C6A8 4B EF 3E 79 */ bl GXSetNumTexGens
/* 8014086C 0013C6AC 38 60 00 00 */ li r3, 0x0
/* 80140870 0013C6B0 38 80 00 01 */ li r4, 0x1
/* 80140874 0013C6B4 38 A0 00 04 */ li r5, 0x4
/* 80140878 0013C6B8 38 C0 00 3C */ li r6, 0x3c
/* 8014087C 0013C6BC 38 E0 00 00 */ li r7, 0x0
/* 80140880 0013C6C0 39 00 00 7D */ li r8, 0x7d
/* 80140884 0013C6C4 4B EF 3C 0D */ bl GXSetTexCoordGen2
/* 80140888 0013C6C8 38 60 00 00 */ li r3, 0x0
/* 8014088C 0013C6CC 4B EF 72 65 */ bl GXSetNumIndStages
/* 80140890 0013C6D0 38 60 00 01 */ li r3, 0x1
/* 80140894 0013C6D4 38 80 00 04 */ li r4, 0x4
/* 80140898 0013C6D8 38 A0 00 05 */ li r5, 0x5
/* 8014089C 0013C6DC 38 C0 00 0F */ li r6, 0xf
/* 801408A0 0013C6E0 4B EF 7E 91 */ bl GXSetBlendMode
/* 801408A4 0013C6E4 38 60 00 01 */ li r3, 0x1
/* 801408A8 0013C6E8 4B EF 79 B9 */ bl GXSetNumTevStages
/* 801408AC 0013C6EC 38 60 00 00 */ li r3, 0x0
/* 801408B0 0013C6F0 4B EF 72 61 */ bl GXSetTevDirect
/* 801408B4 0013C6F4 38 60 00 00 */ li r3, 0x0
/* 801408B8 0013C6F8 38 80 00 00 */ li r4, 0x0
/* 801408BC 0013C6FC 38 A0 00 00 */ li r5, 0x0
/* 801408C0 0013C700 4B EF 76 B1 */ bl GXSetTevSwapMode
/* 801408C4 0013C704 38 60 00 00 */ li r3, 0x0
/* 801408C8 0013C708 38 80 00 00 */ li r4, 0x0
/* 801408CC 0013C70C 38 A0 00 00 */ li r5, 0x0
/* 801408D0 0013C710 38 C0 00 04 */ li r6, 0x4
/* 801408D4 0013C714 4B EF 78 2D */ bl GXSetTevOrder
/* 801408D8 0013C718 38 60 00 00 */ li r3, 0x0
/* 801408DC 0013C71C 38 80 00 00 */ li r4, 0x0
/* 801408E0 0013C720 4B EF 72 E1 */ bl GXSetTevOp
/* 801408E4 0013C724 38 60 00 00 */ li r3, 0x0
/* 801408E8 0013C728 38 80 00 09 */ li r4, 0x9
/* 801408EC 0013C72C 38 A0 00 01 */ li r5, 0x1
/* 801408F0 0013C730 38 C0 00 04 */ li r6, 0x4
/* 801408F4 0013C734 38 E0 00 00 */ li r7, 0x0
/* 801408F8 0013C738 4B EF 34 F9 */ bl GXSetVtxAttrFmt
/* 801408FC 0013C73C 38 60 00 00 */ li r3, 0x0
/* 80140900 0013C740 38 80 00 0B */ li r4, 0xb
/* 80140904 0013C744 38 A0 00 01 */ li r5, 0x1
/* 80140908 0013C748 38 C0 00 05 */ li r6, 0x5
/* 8014090C 0013C74C 38 E0 00 00 */ li r7, 0x0
/* 80140910 0013C750 4B EF 34 E1 */ bl GXSetVtxAttrFmt
/* 80140914 0013C754 38 60 00 00 */ li r3, 0x0
/* 80140918 0013C758 38 80 00 0D */ li r4, 0xd
/* 8014091C 0013C75C 38 A0 00 01 */ li r5, 0x1
/* 80140920 0013C760 38 C0 00 02 */ li r6, 0x2
/* 80140924 0013C764 38 E0 00 0F */ li r7, 0xf
/* 80140928 0013C768 4B EF 34 C9 */ bl GXSetVtxAttrFmt
/* 8014092C 0013C76C 4B EF 34 85 */ bl GXClearVtxDesc
/* 80140930 0013C770 38 60 00 09 */ li r3, 0x9
/* 80140934 0013C774 38 80 00 01 */ li r4, 0x1
/* 80140938 0013C778 4B EF 2E 69 */ bl GXSetVtxDesc
/* 8014093C 0013C77C 38 60 00 0B */ li r3, 0xb
/* 80140940 0013C780 38 80 00 01 */ li r4, 0x1
/* 80140944 0013C784 4B EF 2E 5D */ bl GXSetVtxDesc
/* 80140948 0013C788 38 60 00 0D */ li r3, 0xd
/* 8014094C 0013C78C 38 80 00 01 */ li r4, 0x1
/* 80140950 0013C790 4B EF 2E 51 */ bl GXSetVtxDesc
/* 80140954 0013C794 48 00 01 A4 */ b lbl_80140AF8
.global lbl_80140958
lbl_80140958:
/* 80140958 0013C798 88 1E 00 00 */ lbz r0, 0x0(r30)
/* 8014095C 0013C79C 7C 00 07 75 */ extsb. r0, r0
/* 80140960 0013C7A0 40 82 00 10 */ bne lbl_80140970
/* 80140964 0013C7A4 38 00 00 01 */ li r0, 0x1
/* 80140968 0013C7A8 93 FE 00 04 */ stw r31, 0x4(r30)
/* 8014096C 0013C7AC 98 1E 00 00 */ stb r0, 0x0(r30)
.global lbl_80140970
lbl_80140970:
/* 80140970 0013C7B0 3C 60 80 41 */ lis r3, "@6157"@ha
/* 80140974 0013C7B4 80 1E 00 04 */ lwz r0, 0x4(r30)
/* 80140978 0013C7B8 C0 23 E2 B0 */ lfs f1, "@6157"@l(r3)
/* 8014097C 0013C7BC 38 81 00 08 */ addi r4, r1, 0x8
/* 80140980 0013C7C0 90 01 00 08 */ stw r0, 0x8(r1)
/* 80140984 0013C7C4 38 60 00 00 */ li r3, 0x0
/* 80140988 0013C7C8 FC 40 08 90 */ fmr f2, f1
/* 8014098C 0013C7CC FC 60 08 90 */ fmr f3, f1
/* 80140990 0013C7D0 FC 80 08 90 */ fmr f4, f1
/* 80140994 0013C7D4 4B EF 78 FD */ bl GXSetFog
/* 80140998 0013C7D8 38 60 00 00 */ li r3, 0x0
/* 8014099C 0013C7DC 38 80 00 00 */ li r4, 0x0
/* 801409A0 0013C7E0 38 A0 00 01 */ li r5, 0x1
/* 801409A4 0013C7E4 38 C0 00 02 */ li r6, 0x2
/* 801409A8 0013C7E8 38 E0 00 03 */ li r7, 0x3
/* 801409AC 0013C7EC 4B EF 76 05 */ bl GXSetTevSwapModeTable
/* 801409B0 0013C7F0 38 60 00 00 */ li r3, 0x0
/* 801409B4 0013C7F4 38 80 00 11 */ li r4, 0x11
/* 801409B8 0013C7F8 38 A0 00 00 */ li r5, 0x0
/* 801409BC 0013C7FC 4B EF 76 B5 */ bl GXSetZTexture
/* 801409C0 0013C800 38 60 00 01 */ li r3, 0x1
/* 801409C4 0013C804 4B EF 5B 1D */ bl GXSetNumChans
/* 801409C8 0013C808 38 60 00 04 */ li r3, 0x4
/* 801409CC 0013C80C 38 80 00 00 */ li r4, 0x0
/* 801409D0 0013C810 38 A0 00 00 */ li r5, 0x0
/* 801409D4 0013C814 38 C0 00 01 */ li r6, 0x1
/* 801409D8 0013C818 38 E0 00 00 */ li r7, 0x0
/* 801409DC 0013C81C 39 00 00 00 */ li r8, 0x0
/* 801409E0 0013C820 39 20 00 02 */ li r9, 0x2
/* 801409E4 0013C824 4B EF 5B 2D */ bl GXSetChanCtrl
/* 801409E8 0013C828 38 60 00 05 */ li r3, 0x5
/* 801409EC 0013C82C 38 80 00 00 */ li r4, 0x0
/* 801409F0 0013C830 38 A0 00 00 */ li r5, 0x0
/* 801409F4 0013C834 38 C0 00 00 */ li r6, 0x0
/* 801409F8 0013C838 38 E0 00 00 */ li r7, 0x0
/* 801409FC 0013C83C 39 00 00 00 */ li r8, 0x0
/* 80140A00 0013C840 39 20 00 02 */ li r9, 0x2
/* 80140A04 0013C844 4B EF 5B 0D */ bl GXSetChanCtrl
/* 80140A08 0013C848 38 60 00 01 */ li r3, 0x1
/* 80140A0C 0013C84C 4B EF 3C D5 */ bl GXSetNumTexGens
/* 80140A10 0013C850 38 60 00 00 */ li r3, 0x0
/* 80140A14 0013C854 38 80 00 01 */ li r4, 0x1
/* 80140A18 0013C858 38 A0 00 04 */ li r5, 0x4
/* 80140A1C 0013C85C 38 C0 00 3C */ li r6, 0x3c
/* 80140A20 0013C860 38 E0 00 00 */ li r7, 0x0
/* 80140A24 0013C864 39 00 00 7D */ li r8, 0x7d
/* 80140A28 0013C868 4B EF 3A 69 */ bl GXSetTexCoordGen2
/* 80140A2C 0013C86C 38 60 00 00 */ li r3, 0x0
/* 80140A30 0013C870 4B EF 70 C1 */ bl GXSetNumIndStages
/* 80140A34 0013C874 38 60 00 01 */ li r3, 0x1
/* 80140A38 0013C878 38 80 00 04 */ li r4, 0x4
/* 80140A3C 0013C87C 38 A0 00 05 */ li r5, 0x5
/* 80140A40 0013C880 38 C0 00 0F */ li r6, 0xf
/* 80140A44 0013C884 4B EF 7C ED */ bl GXSetBlendMode
/* 80140A48 0013C888 38 60 00 01 */ li r3, 0x1
/* 80140A4C 0013C88C 4B EF 78 15 */ bl GXSetNumTevStages
/* 80140A50 0013C890 38 60 00 00 */ li r3, 0x0
/* 80140A54 0013C894 4B EF 70 BD */ bl GXSetTevDirect
/* 80140A58 0013C898 38 60 00 00 */ li r3, 0x0
/* 80140A5C 0013C89C 38 80 00 00 */ li r4, 0x0
/* 80140A60 0013C8A0 38 A0 00 00 */ li r5, 0x0
/* 80140A64 0013C8A4 4B EF 75 0D */ bl GXSetTevSwapMode
/* 80140A68 0013C8A8 38 60 00 00 */ li r3, 0x0
/* 80140A6C 0013C8AC 38 80 00 00 */ li r4, 0x0
/* 80140A70 0013C8B0 38 A0 00 00 */ li r5, 0x0
/* 80140A74 0013C8B4 38 C0 00 04 */ li r6, 0x4
/* 80140A78 0013C8B8 4B EF 76 89 */ bl GXSetTevOrder
/* 80140A7C 0013C8BC 38 60 00 00 */ li r3, 0x0
/* 80140A80 0013C8C0 38 80 00 00 */ li r4, 0x0
/* 80140A84 0013C8C4 4B EF 71 3D */ bl GXSetTevOp
/* 80140A88 0013C8C8 38 60 00 00 */ li r3, 0x0
/* 80140A8C 0013C8CC 38 80 00 09 */ li r4, 0x9
/* 80140A90 0013C8D0 38 A0 00 01 */ li r5, 0x1
/* 80140A94 0013C8D4 38 C0 00 04 */ li r6, 0x4
/* 80140A98 0013C8D8 38 E0 00 00 */ li r7, 0x0
/* 80140A9C 0013C8DC 4B EF 33 55 */ bl GXSetVtxAttrFmt
/* 80140AA0 0013C8E0 38 60 00 00 */ li r3, 0x0
/* 80140AA4 0013C8E4 38 80 00 0B */ li r4, 0xb
/* 80140AA8 0013C8E8 38 A0 00 01 */ li r5, 0x1
/* 80140AAC 0013C8EC 38 C0 00 05 */ li r6, 0x5
/* 80140AB0 0013C8F0 38 E0 00 00 */ li r7, 0x0
/* 80140AB4 0013C8F4 4B EF 33 3D */ bl GXSetVtxAttrFmt
/* 80140AB8 0013C8F8 38 60 00 00 */ li r3, 0x0
/* 80140ABC 0013C8FC 38 80 00 0D */ li r4, 0xd
/* 80140AC0 0013C900 38 A0 00 01 */ li r5, 0x1
/* 80140AC4 0013C904 38 C0 00 02 */ li r6, 0x2
/* 80140AC8 0013C908 38 E0 00 0F */ li r7, 0xf
/* 80140ACC 0013C90C 4B EF 33 25 */ bl GXSetVtxAttrFmt
/* 80140AD0 0013C910 4B EF 32 E1 */ bl GXClearVtxDesc
/* 80140AD4 0013C914 38 60 00 09 */ li r3, 0x9
/* 80140AD8 0013C918 38 80 00 01 */ li r4, 0x1
/* 80140ADC 0013C91C 4B EF 2C C5 */ bl GXSetVtxDesc
/* 80140AE0 0013C920 38 60 00 0B */ li r3, 0xb
/* 80140AE4 0013C924 38 80 00 01 */ li r4, 0x1
/* 80140AE8 0013C928 4B EF 2C B9 */ bl GXSetVtxDesc
/* 80140AEC 0013C92C 38 60 00 0D */ li r3, 0xd
/* 80140AF0 0013C930 38 80 00 01 */ li r4, 0x1
/* 80140AF4 0013C934 4B EF 2C AD */ bl GXSetVtxDesc
.global lbl_80140AF8
lbl_80140AF8:
/* 80140AF8 0013C938 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80140AFC 0013C93C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80140B00 0013C940 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80140B04 0013C944 7C 08 03 A6 */ mtlr r0
/* 80140B08 0013C948 38 21 00 30 */ addi r1, r1, 0x30
/* 80140B0C 0013C94C 4E 80 00 20 */ blr
.global SetColorMapping__Q36nw4hbm2ut10CharWriterFQ36nw4hbm2ut5ColorQ36nw4hbm2ut5Color
SetColorMapping__Q36nw4hbm2ut10CharWriterFQ36nw4hbm2ut5ColorQ36nw4hbm2ut5Color:
/* 80140B10 0013C950 88 04 00 00 */ lbz r0, 0x0(r4)
/* 80140B14 0013C954 98 03 00 00 */ stb r0, 0x0(r3)
/* 80140B18 0013C958 88 04 00 01 */ lbz r0, 0x1(r4)
/* 80140B1C 0013C95C 98 03 00 01 */ stb r0, 0x1(r3)
/* 80140B20 0013C960 88 04 00 02 */ lbz r0, 0x2(r4)
/* 80140B24 0013C964 98 03 00 02 */ stb r0, 0x2(r3)
/* 80140B28 0013C968 88 04 00 03 */ lbz r0, 0x3(r4)
/* 80140B2C 0013C96C 98 03 00 03 */ stb r0, 0x3(r3)
/* 80140B30 0013C970 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80140B34 0013C974 98 03 00 04 */ stb r0, 0x4(r3)
/* 80140B38 0013C978 88 05 00 01 */ lbz r0, 0x1(r5)
/* 80140B3C 0013C97C 98 03 00 05 */ stb r0, 0x5(r3)
/* 80140B40 0013C980 88 05 00 02 */ lbz r0, 0x2(r5)
/* 80140B44 0013C984 98 03 00 06 */ stb r0, 0x6(r3)
/* 80140B48 0013C988 88 05 00 03 */ lbz r0, 0x3(r5)
/* 80140B4C 0013C98C 98 03 00 07 */ stb r0, 0x7(r3)
/* 80140B50 0013C990 4E 80 00 20 */ blr
/* 80140B54 0013C994 00 00 00 00 */ .4byte 0x00000000
/* 80140B58 0013C998 00 00 00 00 */ .4byte 0x00000000
/* 80140B5C 0013C99C 00 00 00 00 */ .4byte 0x00000000
.global SetGradationMode__Q36nw4hbm2ut10CharWriterFQ46nw4hbm2ut10CharWriter13GradationMode
SetGradationMode__Q36nw4hbm2ut10CharWriterFQ46nw4hbm2ut10CharWriter13GradationMode:
/* 80140B60 0013C9A0 88 E3 00 18 */ lbz r7, 0x18(r3)
/* 80140B64 0013C9A4 2C 04 00 01 */ cmpwi r4, 0x1
/* 80140B68 0013C9A8 88 C3 00 19 */ lbz r6, 0x19(r3)
/* 80140B6C 0013C9AC 88 A3 00 1A */ lbz r5, 0x1a(r3)
/* 80140B70 0013C9B0 88 03 00 1B */ lbz r0, 0x1b(r3)
/* 80140B74 0013C9B4 90 83 00 20 */ stw r4, 0x20(r3)
/* 80140B78 0013C9B8 98 E3 00 08 */ stb r7, 0x8(r3)
/* 80140B7C 0013C9BC 98 C3 00 09 */ stb r6, 0x9(r3)
/* 80140B80 0013C9C0 98 A3 00 0A */ stb r5, 0xa(r3)
/* 80140B84 0013C9C4 98 03 00 0B */ stb r0, 0xb(r3)
/* 80140B88 0013C9C8 41 82 00 0C */ beq lbl_80140B94
/* 80140B8C 0013C9CC 38 A3 00 18 */ addi r5, r3, 0x18
/* 80140B90 0013C9D0 48 00 00 08 */ b lbl_80140B98
.global lbl_80140B94
lbl_80140B94:
/* 80140B94 0013C9D4 38 A3 00 1C */ addi r5, r3, 0x1c
.global lbl_80140B98
lbl_80140B98:
/* 80140B98 0013C9D8 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80140B9C 0013C9DC 98 03 00 0C */ stb r0, 0xc(r3)
/* 80140BA0 0013C9E0 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80140BA4 0013C9E4 88 85 00 01 */ lbz r4, 0x1(r5)
/* 80140BA8 0013C9E8 98 83 00 0D */ stb r4, 0xd(r3)
/* 80140BAC 0013C9EC 2C 00 00 02 */ cmpwi r0, 0x2
/* 80140BB0 0013C9F0 88 05 00 02 */ lbz r0, 0x2(r5)
/* 80140BB4 0013C9F4 98 03 00 0E */ stb r0, 0xe(r3)
/* 80140BB8 0013C9F8 88 05 00 03 */ lbz r0, 0x3(r5)
/* 80140BBC 0013C9FC 98 03 00 0F */ stb r0, 0xf(r3)
/* 80140BC0 0013CA00 41 82 00 0C */ beq lbl_80140BCC
/* 80140BC4 0013CA04 38 A3 00 18 */ addi r5, r3, 0x18
/* 80140BC8 0013CA08 48 00 00 08 */ b lbl_80140BD0
.global lbl_80140BCC
lbl_80140BCC:
/* 80140BCC 0013CA0C 38 A3 00 1C */ addi r5, r3, 0x1c
.global lbl_80140BD0
lbl_80140BD0:
/* 80140BD0 0013CA10 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80140BD4 0013CA14 98 03 00 10 */ stb r0, 0x10(r3)
/* 80140BD8 0013CA18 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80140BDC 0013CA1C 88 85 00 01 */ lbz r4, 0x1(r5)
/* 80140BE0 0013CA20 98 83 00 11 */ stb r4, 0x11(r3)
/* 80140BE4 0013CA24 2C 00 00 00 */ cmpwi r0, 0x0
/* 80140BE8 0013CA28 88 05 00 02 */ lbz r0, 0x2(r5)
/* 80140BEC 0013CA2C 98 03 00 12 */ stb r0, 0x12(r3)
/* 80140BF0 0013CA30 88 05 00 03 */ lbz r0, 0x3(r5)
/* 80140BF4 0013CA34 98 03 00 13 */ stb r0, 0x13(r3)
/* 80140BF8 0013CA38 40 82 00 0C */ bne lbl_80140C04
/* 80140BFC 0013CA3C 38 A3 00 18 */ addi r5, r3, 0x18
/* 80140C00 0013CA40 48 00 00 08 */ b lbl_80140C08
.global lbl_80140C04
lbl_80140C04:
/* 80140C04 0013CA44 38 A3 00 1C */ addi r5, r3, 0x1c
.global lbl_80140C08
lbl_80140C08:
/* 80140C08 0013CA48 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80140C0C 0013CA4C 3C 80 80 81 */ lis r4, 0x80808081@ha
/* 80140C10 0013CA50 98 03 00 14 */ stb r0, 0x14(r3)
/* 80140C14 0013CA54 39 44 80 81 */ addi r10, r4, 0x80808081@l
/* 80140C18 0013CA58 88 03 00 0B */ lbz r0, 0xb(r3)
/* 80140C1C 0013CA5C 88 85 00 01 */ lbz r4, 0x1(r5)
/* 80140C20 0013CA60 98 83 00 15 */ stb r4, 0x15(r3)
/* 80140C24 0013CA64 88 E3 00 42 */ lbz r7, 0x42(r3)
/* 80140C28 0013CA68 88 85 00 02 */ lbz r4, 0x2(r5)
/* 80140C2C 0013CA6C 98 83 00 16 */ stb r4, 0x16(r3)
/* 80140C30 0013CA70 7C C0 39 D6 */ mullw r6, r0, r7
/* 80140C34 0013CA74 88 83 00 0F */ lbz r4, 0xf(r3)
/* 80140C38 0013CA78 88 03 00 13 */ lbz r0, 0x13(r3)
/* 80140C3C 0013CA7C 89 05 00 03 */ lbz r8, 0x3(r5)
/* 80140C40 0013CA80 7C A0 39 D6 */ mullw r5, r0, r7
/* 80140C44 0013CA84 7C 08 39 D6 */ mullw r0, r8, r7
/* 80140C48 0013CA88 7C 84 39 D6 */ mullw r4, r4, r7
/* 80140C4C 0013CA8C 7D 0A 30 96 */ mulhw r8, r10, r6
/* 80140C50 0013CA90 7C EA 20 96 */ mulhw r7, r10, r4
/* 80140C54 0013CA94 7C C8 32 14 */ add r6, r8, r6
/* 80140C58 0013CA98 7C C8 3E 70 */ srawi r8, r6, 7
/* 80140C5C 0013CA9C 7C CA 28 96 */ mulhw r6, r10, r5
/* 80140C60 0013CAA0 55 09 0F FE */ srwi r9, r8, 31
/* 80140C64 0013CAA4 7C 87 22 14 */ add r4, r7, r4
/* 80140C68 0013CAA8 7C E8 4A 14 */ add r7, r8, r9
/* 80140C6C 0013CAAC 98 E3 00 0B */ stb r7, 0xb(r3)
/* 80140C70 0013CAB0 7C 87 3E 70 */ srawi r7, r4, 7
/* 80140C74 0013CAB4 7C A6 2A 14 */ add r5, r6, r5
/* 80140C78 0013CAB8 54 E6 0F FE */ srwi r6, r7, 31
/* 80140C7C 0013CABC 7C 8A 00 96 */ mulhw r4, r10, r0
/* 80140C80 0013CAC0 7C C7 32 14 */ add r6, r7, r6
/* 80140C84 0013CAC4 98 C3 00 0F */ stb r6, 0xf(r3)
/* 80140C88 0013CAC8 7C A5 3E 70 */ srawi r5, r5, 7
/* 80140C8C 0013CACC 54 A6 0F FE */ srwi r6, r5, 31
/* 80140C90 0013CAD0 7C 04 02 14 */ add r0, r4, r0
/* 80140C94 0013CAD4 7C 00 3E 70 */ srawi r0, r0, 7
/* 80140C98 0013CAD8 7C A5 32 14 */ add r5, r5, r6
/* 80140C9C 0013CADC 54 04 0F FE */ srwi r4, r0, 31
/* 80140CA0 0013CAE0 98 A3 00 13 */ stb r5, 0x13(r3)
/* 80140CA4 0013CAE4 7C 00 22 14 */ add r0, r0, r4
/* 80140CA8 0013CAE8 98 03 00 17 */ stb r0, 0x17(r3)
/* 80140CAC 0013CAEC 4E 80 00 20 */ blr
.global SetTextColor__Q36nw4hbm2ut10CharWriterFQ36nw4hbm2ut5ColorQ36nw4hbm2ut5Color
SetTextColor__Q36nw4hbm2ut10CharWriterFQ36nw4hbm2ut5ColorQ36nw4hbm2ut5Color:
/* 80140CB0 0013CAF0 89 04 00 00 */ lbz r8, 0x0(r4)
/* 80140CB4 0013CAF4 99 03 00 18 */ stb r8, 0x18(r3)
/* 80140CB8 0013CAF8 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80140CBC 0013CAFC 88 E4 00 01 */ lbz r7, 0x1(r4)
/* 80140CC0 0013CB00 98 E3 00 19 */ stb r7, 0x19(r3)
/* 80140CC4 0013CB04 2C 00 00 01 */ cmpwi r0, 0x1
/* 80140CC8 0013CB08 88 C4 00 02 */ lbz r6, 0x2(r4)
/* 80140CCC 0013CB0C 98 C3 00 1A */ stb r6, 0x1a(r3)
/* 80140CD0 0013CB10 88 84 00 03 */ lbz r4, 0x3(r4)
/* 80140CD4 0013CB14 98 83 00 1B */ stb r4, 0x1b(r3)
/* 80140CD8 0013CB18 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80140CDC 0013CB1C 98 03 00 1C */ stb r0, 0x1c(r3)
/* 80140CE0 0013CB20 88 05 00 01 */ lbz r0, 0x1(r5)
/* 80140CE4 0013CB24 98 03 00 1D */ stb r0, 0x1d(r3)
/* 80140CE8 0013CB28 88 05 00 02 */ lbz r0, 0x2(r5)
/* 80140CEC 0013CB2C 98 03 00 1E */ stb r0, 0x1e(r3)
/* 80140CF0 0013CB30 88 05 00 03 */ lbz r0, 0x3(r5)
/* 80140CF4 0013CB34 98 03 00 1F */ stb r0, 0x1f(r3)
/* 80140CF8 0013CB38 99 03 00 08 */ stb r8, 0x8(r3)
/* 80140CFC 0013CB3C 98 E3 00 09 */ stb r7, 0x9(r3)
/* 80140D00 0013CB40 98 C3 00 0A */ stb r6, 0xa(r3)
/* 80140D04 0013CB44 98 83 00 0B */ stb r4, 0xb(r3)
/* 80140D08 0013CB48 41 82 00 0C */ beq lbl_80140D14
/* 80140D0C 0013CB4C 38 A3 00 18 */ addi r5, r3, 0x18
/* 80140D10 0013CB50 48 00 00 08 */ b lbl_80140D18
.global lbl_80140D14
lbl_80140D14:
/* 80140D14 0013CB54 38 A3 00 1C */ addi r5, r3, 0x1c
.global lbl_80140D18
lbl_80140D18:
/* 80140D18 0013CB58 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80140D1C 0013CB5C 98 03 00 0C */ stb r0, 0xc(r3)
/* 80140D20 0013CB60 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80140D24 0013CB64 88 85 00 01 */ lbz r4, 0x1(r5)
/* 80140D28 0013CB68 98 83 00 0D */ stb r4, 0xd(r3)
/* 80140D2C 0013CB6C 2C 00 00 02 */ cmpwi r0, 0x2
/* 80140D30 0013CB70 88 05 00 02 */ lbz r0, 0x2(r5)
/* 80140D34 0013CB74 98 03 00 0E */ stb r0, 0xe(r3)
/* 80140D38 0013CB78 88 05 00 03 */ lbz r0, 0x3(r5)
/* 80140D3C 0013CB7C 98 03 00 0F */ stb r0, 0xf(r3)
/* 80140D40 0013CB80 41 82 00 0C */ beq lbl_80140D4C
/* 80140D44 0013CB84 38 A3 00 18 */ addi r5, r3, 0x18
/* 80140D48 0013CB88 48 00 00 08 */ b lbl_80140D50
.global lbl_80140D4C
lbl_80140D4C:
/* 80140D4C 0013CB8C 38 A3 00 1C */ addi r5, r3, 0x1c
.global lbl_80140D50
lbl_80140D50:
/* 80140D50 0013CB90 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80140D54 0013CB94 98 03 00 10 */ stb r0, 0x10(r3)
/* 80140D58 0013CB98 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80140D5C 0013CB9C 88 85 00 01 */ lbz r4, 0x1(r5)
/* 80140D60 0013CBA0 98 83 00 11 */ stb r4, 0x11(r3)
/* 80140D64 0013CBA4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80140D68 0013CBA8 88 05 00 02 */ lbz r0, 0x2(r5)
/* 80140D6C 0013CBAC 98 03 00 12 */ stb r0, 0x12(r3)
/* 80140D70 0013CBB0 88 05 00 03 */ lbz r0, 0x3(r5)
/* 80140D74 0013CBB4 98 03 00 13 */ stb r0, 0x13(r3)
/* 80140D78 0013CBB8 40 82 00 0C */ bne lbl_80140D84
/* 80140D7C 0013CBBC 38 A3 00 18 */ addi r5, r3, 0x18
/* 80140D80 0013CBC0 48 00 00 08 */ b lbl_80140D88
.global lbl_80140D84
lbl_80140D84:
/* 80140D84 0013CBC4 38 A3 00 1C */ addi r5, r3, 0x1c
.global lbl_80140D88
lbl_80140D88:
/* 80140D88 0013CBC8 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80140D8C 0013CBCC 3C 80 80 81 */ lis r4, 0x80808081@ha
/* 80140D90 0013CBD0 98 03 00 14 */ stb r0, 0x14(r3)
/* 80140D94 0013CBD4 39 44 80 81 */ addi r10, r4, 0x80808081@l
/* 80140D98 0013CBD8 88 03 00 0B */ lbz r0, 0xb(r3)
/* 80140D9C 0013CBDC 88 85 00 01 */ lbz r4, 0x1(r5)
/* 80140DA0 0013CBE0 98 83 00 15 */ stb r4, 0x15(r3)
/* 80140DA4 0013CBE4 88 E3 00 42 */ lbz r7, 0x42(r3)
/* 80140DA8 0013CBE8 88 85 00 02 */ lbz r4, 0x2(r5)
/* 80140DAC 0013CBEC 98 83 00 16 */ stb r4, 0x16(r3)
/* 80140DB0 0013CBF0 7C C0 39 D6 */ mullw r6, r0, r7
/* 80140DB4 0013CBF4 88 83 00 0F */ lbz r4, 0xf(r3)
/* 80140DB8 0013CBF8 88 03 00 13 */ lbz r0, 0x13(r3)
/* 80140DBC 0013CBFC 89 05 00 03 */ lbz r8, 0x3(r5)
/* 80140DC0 0013CC00 7C A0 39 D6 */ mullw r5, r0, r7
/* 80140DC4 0013CC04 7C 08 39 D6 */ mullw r0, r8, r7
/* 80140DC8 0013CC08 7C 84 39 D6 */ mullw r4, r4, r7
/* 80140DCC 0013CC0C 7D 0A 30 96 */ mulhw r8, r10, r6
/* 80140DD0 0013CC10 7C EA 20 96 */ mulhw r7, r10, r4
/* 80140DD4 0013CC14 7C C8 32 14 */ add r6, r8, r6
/* 80140DD8 0013CC18 7C C8 3E 70 */ srawi r8, r6, 7
/* 80140DDC 0013CC1C 7C CA 28 96 */ mulhw r6, r10, r5
/* 80140DE0 0013CC20 55 09 0F FE */ srwi r9, r8, 31
/* 80140DE4 0013CC24 7C 87 22 14 */ add r4, r7, r4
/* 80140DE8 0013CC28 7C E8 4A 14 */ add r7, r8, r9
/* 80140DEC 0013CC2C 98 E3 00 0B */ stb r7, 0xb(r3)
/* 80140DF0 0013CC30 7C 87 3E 70 */ srawi r7, r4, 7
/* 80140DF4 0013CC34 7C A6 2A 14 */ add r5, r6, r5
/* 80140DF8 0013CC38 54 E6 0F FE */ srwi r6, r7, 31
/* 80140DFC 0013CC3C 7C 8A 00 96 */ mulhw r4, r10, r0
/* 80140E00 0013CC40 7C C7 32 14 */ add r6, r7, r6
/* 80140E04 0013CC44 98 C3 00 0F */ stb r6, 0xf(r3)
/* 80140E08 0013CC48 7C A5 3E 70 */ srawi r5, r5, 7
/* 80140E0C 0013CC4C 54 A6 0F FE */ srwi r6, r5, 31
/* 80140E10 0013CC50 7C 04 02 14 */ add r0, r4, r0
/* 80140E14 0013CC54 7C 00 3E 70 */ srawi r0, r0, 7
/* 80140E18 0013CC58 7C A5 32 14 */ add r5, r5, r6
/* 80140E1C 0013CC5C 54 04 0F FE */ srwi r4, r0, 31
/* 80140E20 0013CC60 98 A3 00 13 */ stb r5, 0x13(r3)
/* 80140E24 0013CC64 7C 00 22 14 */ add r0, r0, r4
/* 80140E28 0013CC68 98 03 00 17 */ stb r0, 0x17(r3)
/* 80140E2C 0013CC6C 4E 80 00 20 */ blr
.global GetScaleH__Q36nw4hbm2ut10CharWriterCFv
GetScaleH__Q36nw4hbm2ut10CharWriterCFv:
/* 80140E30 0013CC70 C0 23 00 24 */ lfs f1, 0x24(r3)
/* 80140E34 0013CC74 4E 80 00 20 */ blr
/* 80140E38 0013CC78 00 00 00 00 */ .4byte 0x00000000
/* 80140E3C 0013CC7C 00 00 00 00 */ .4byte 0x00000000
.global GetScaleV__Q36nw4hbm2ut10CharWriterCFv
GetScaleV__Q36nw4hbm2ut10CharWriterCFv:
/* 80140E40 0013CC80 C0 23 00 28 */ lfs f1, 0x28(r3)
/* 80140E44 0013CC84 4E 80 00 20 */ blr
/* 80140E48 0013CC88 00 00 00 00 */ .4byte 0x00000000
/* 80140E4C 0013CC8C 00 00 00 00 */ .4byte 0x00000000
.global SetFontSize__Q36nw4hbm2ut10CharWriterFff
SetFontSize__Q36nw4hbm2ut10CharWriterFff:
/* 80140E50 0013CC90 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80140E54 0013CC94 7C 08 02 A6 */ mflr r0
/* 80140E58 0013CC98 90 01 00 54 */ stw r0, 0x54(r1)
/* 80140E5C 0013CC9C DB E1 00 40 */ stfd f31, 0x40(r1)
/* 80140E60 0013CCA0 F3 E1 00 48 */ psq_st f31, 0x48(r1), 0, qr0
/* 80140E64 0013CCA4 FF E0 10 90 */ fmr f31, f2
/* 80140E68 0013CCA8 DB C1 00 30 */ stfd f30, 0x30(r1)
/* 80140E6C 0013CCAC F3 C1 00 38 */ psq_st f30, 0x38(r1), 0, qr0
/* 80140E70 0013CCB0 FF C0 08 90 */ fmr f30, f1
/* 80140E74 0013CCB4 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80140E78 0013CCB8 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80140E7C 0013CCBC 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80140E80 0013CCC0 7C 7D 1B 78 */ mr r29, r3
/* 80140E84 0013CCC4 80 63 00 48 */ lwz r3, 0x48(r3)
/* 80140E88 0013CCC8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80140E8C 0013CCCC 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80140E90 0013CCD0 7D 89 03 A6 */ mtctr r12
/* 80140E94 0013CCD4 4E 80 04 21 */ bctrl
/* 80140E98 0013CCD8 6C 60 80 00 */ xoris r0, r3, 0x8000
/* 80140E9C 0013CCDC 3F E0 43 30 */ lis r31, 0x4330
/* 80140EA0 0013CCE0 3F C0 80 41 */ lis r30, "@6464"@ha
/* 80140EA4 0013CCE4 90 01 00 0C */ stw r0, 0xc(r1)
/* 80140EA8 0013CCE8 C8 3E E2 B8 */ lfd f1, "@6464"@l(r30)
/* 80140EAC 0013CCEC 93 E1 00 08 */ stw r31, 0x8(r1)
/* 80140EB0 0013CCF0 80 7D 00 48 */ lwz r3, 0x48(r29)
/* 80140EB4 0013CCF4 C8 01 00 08 */ lfd f0, 0x8(r1)
/* 80140EB8 0013CCF8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80140EBC 0013CCFC EC 00 08 28 */ fsubs f0, f0, f1
/* 80140EC0 0013CD00 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80140EC4 0013CD04 EF FF 00 24 */ fdivs f31, f31, f0
/* 80140EC8 0013CD08 7D 89 03 A6 */ mtctr r12
/* 80140ECC 0013CD0C 4E 80 04 21 */ bctrl
/* 80140ED0 0013CD10 6C 60 80 00 */ xoris r0, r3, 0x8000
/* 80140ED4 0013CD14 90 01 00 14 */ stw r0, 0x14(r1)
/* 80140ED8 0013CD18 C8 3E E2 B8 */ lfd f1, -0x1d48(r30)
/* 80140EDC 0013CD1C 93 E1 00 10 */ stw r31, 0x10(r1)
/* 80140EE0 0013CD20 C8 01 00 10 */ lfd f0, 0x10(r1)
/* 80140EE4 0013CD24 D3 FD 00 28 */ stfs f31, 0x28(r29)
/* 80140EE8 0013CD28 EC 00 08 28 */ fsubs f0, f0, f1
/* 80140EEC 0013CD2C EC 1E 00 24 */ fdivs f0, f30, f0
/* 80140EF0 0013CD30 D0 1D 00 24 */ stfs f0, 0x24(r29)
/* 80140EF4 0013CD34 E3 E1 00 48 */ psq_l f31, 0x48(r1), 0, qr0
/* 80140EF8 0013CD38 CB E1 00 40 */ lfd f31, 0x40(r1)
/* 80140EFC 0013CD3C E3 C1 00 38 */ psq_l f30, 0x38(r1), 0, qr0
/* 80140F00 0013CD40 CB C1 00 30 */ lfd f30, 0x30(r1)
/* 80140F04 0013CD44 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 80140F08 0013CD48 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80140F0C 0013CD4C 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80140F10 0013CD50 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80140F14 0013CD54 7C 08 03 A6 */ mtlr r0
/* 80140F18 0013CD58 38 21 00 50 */ addi r1, r1, 0x50
/* 80140F1C 0013CD5C 4E 80 00 20 */ blr
.global GetFontWidth__Q36nw4hbm2ut10CharWriterCFv
GetFontWidth__Q36nw4hbm2ut10CharWriterCFv:
/* 80140F20 0013CD60 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80140F24 0013CD64 7C 08 02 A6 */ mflr r0
/* 80140F28 0013CD68 90 01 00 24 */ stw r0, 0x24(r1)
/* 80140F2C 0013CD6C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80140F30 0013CD70 7C 7F 1B 78 */ mr r31, r3
/* 80140F34 0013CD74 80 63 00 48 */ lwz r3, 0x48(r3)
/* 80140F38 0013CD78 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80140F3C 0013CD7C 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80140F40 0013CD80 7D 89 03 A6 */ mtctr r12
/* 80140F44 0013CD84 4E 80 04 21 */ bctrl
/* 80140F48 0013CD88 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 80140F4C 0013CD8C 3C 00 43 30 */ lis r0, 0x4330
/* 80140F50 0013CD90 3C 80 80 41 */ lis r4, "@6464"@ha
/* 80140F54 0013CD94 90 61 00 0C */ stw r3, 0xc(r1)
/* 80140F58 0013CD98 C8 44 E2 B8 */ lfd f2, "@6464"@l(r4)
/* 80140F5C 0013CD9C 90 01 00 08 */ stw r0, 0x8(r1)
/* 80140F60 0013CDA0 C0 1F 00 24 */ lfs f0, 0x24(r31)
/* 80140F64 0013CDA4 C8 21 00 08 */ lfd f1, 0x8(r1)
/* 80140F68 0013CDA8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80140F6C 0013CDAC EC 21 10 28 */ fsubs f1, f1, f2
/* 80140F70 0013CDB0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80140F74 0013CDB4 EC 20 00 72 */ fmuls f1, f0, f1
/* 80140F78 0013CDB8 7C 08 03 A6 */ mtlr r0
/* 80140F7C 0013CDBC 38 21 00 20 */ addi r1, r1, 0x20
/* 80140F80 0013CDC0 4E 80 00 20 */ blr
/* 80140F84 0013CDC4 00 00 00 00 */ .4byte 0x00000000
/* 80140F88 0013CDC8 00 00 00 00 */ .4byte 0x00000000
/* 80140F8C 0013CDCC 00 00 00 00 */ .4byte 0x00000000
.global GetFontHeight__Q36nw4hbm2ut10CharWriterCFv
GetFontHeight__Q36nw4hbm2ut10CharWriterCFv:
/* 80140F90 0013CDD0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80140F94 0013CDD4 7C 08 02 A6 */ mflr r0
/* 80140F98 0013CDD8 90 01 00 24 */ stw r0, 0x24(r1)
/* 80140F9C 0013CDDC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80140FA0 0013CDE0 7C 7F 1B 78 */ mr r31, r3
/* 80140FA4 0013CDE4 80 63 00 48 */ lwz r3, 0x48(r3)
/* 80140FA8 0013CDE8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80140FAC 0013CDEC 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80140FB0 0013CDF0 7D 89 03 A6 */ mtctr r12
/* 80140FB4 0013CDF4 4E 80 04 21 */ bctrl
/* 80140FB8 0013CDF8 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 80140FBC 0013CDFC 3C 00 43 30 */ lis r0, 0x4330
/* 80140FC0 0013CE00 3C 80 80 41 */ lis r4, "@6464"@ha
/* 80140FC4 0013CE04 90 61 00 0C */ stw r3, 0xc(r1)
/* 80140FC8 0013CE08 C8 44 E2 B8 */ lfd f2, "@6464"@l(r4)
/* 80140FCC 0013CE0C 90 01 00 08 */ stw r0, 0x8(r1)
/* 80140FD0 0013CE10 C0 1F 00 28 */ lfs f0, 0x28(r31)
/* 80140FD4 0013CE14 C8 21 00 08 */ lfd f1, 0x8(r1)
/* 80140FD8 0013CE18 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80140FDC 0013CE1C EC 21 10 28 */ fsubs f1, f1, f2
/* 80140FE0 0013CE20 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80140FE4 0013CE24 EC 20 00 72 */ fmuls f1, f0, f1
/* 80140FE8 0013CE28 7C 08 03 A6 */ mtlr r0
/* 80140FEC 0013CE2C 38 21 00 20 */ addi r1, r1, 0x20
/* 80140FF0 0013CE30 4E 80 00 20 */ blr
/* 80140FF4 0013CE34 00 00 00 00 */ .4byte 0x00000000
/* 80140FF8 0013CE38 00 00 00 00 */ .4byte 0x00000000
/* 80140FFC 0013CE3C 00 00 00 00 */ .4byte 0x00000000
.global GetFontAscent__Q36nw4hbm2ut10CharWriterCFv
GetFontAscent__Q36nw4hbm2ut10CharWriterCFv:
/* 80141000 0013CE40 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80141004 0013CE44 7C 08 02 A6 */ mflr r0
/* 80141008 0013CE48 90 01 00 24 */ stw r0, 0x24(r1)
/* 8014100C 0013CE4C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80141010 0013CE50 7C 7F 1B 78 */ mr r31, r3
/* 80141014 0013CE54 80 63 00 48 */ lwz r3, 0x48(r3)
/* 80141018 0013CE58 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8014101C 0013CE5C 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 80141020 0013CE60 7D 89 03 A6 */ mtctr r12
/* 80141024 0013CE64 4E 80 04 21 */ bctrl
/* 80141028 0013CE68 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8014102C 0013CE6C 3C 00 43 30 */ lis r0, 0x4330
/* 80141030 0013CE70 3C 80 80 41 */ lis r4, "@6464"@ha
/* 80141034 0013CE74 90 61 00 0C */ stw r3, 0xc(r1)
/* 80141038 0013CE78 C8 44 E2 B8 */ lfd f2, "@6464"@l(r4)
/* 8014103C 0013CE7C 90 01 00 08 */ stw r0, 0x8(r1)
/* 80141040 0013CE80 C0 1F 00 28 */ lfs f0, 0x28(r31)
/* 80141044 0013CE84 C8 21 00 08 */ lfd f1, 0x8(r1)
/* 80141048 0013CE88 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8014104C 0013CE8C EC 21 10 28 */ fsubs f1, f1, f2
/* 80141050 0013CE90 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80141054 0013CE94 EC 20 00 72 */ fmuls f1, f0, f1
/* 80141058 0013CE98 7C 08 03 A6 */ mtlr r0
/* 8014105C 0013CE9C 38 21 00 20 */ addi r1, r1, 0x20
/* 80141060 0013CEA0 4E 80 00 20 */ blr
/* 80141064 0013CEA4 00 00 00 00 */ .4byte 0x00000000
/* 80141068 0013CEA8 00 00 00 00 */ .4byte 0x00000000
/* 8014106C 0013CEAC 00 00 00 00 */ .4byte 0x00000000
.global IsWidthFixed__Q36nw4hbm2ut10CharWriterCFv
IsWidthFixed__Q36nw4hbm2ut10CharWriterCFv:
/* 80141070 0013CEB0 88 63 00 43 */ lbz r3, 0x43(r3)
/* 80141074 0013CEB4 4E 80 00 20 */ blr
/* 80141078 0013CEB8 00 00 00 00 */ .4byte 0x00000000
/* 8014107C 0013CEBC 00 00 00 00 */ .4byte 0x00000000
.global GetFixedWidth__Q36nw4hbm2ut10CharWriterCFv
GetFixedWidth__Q36nw4hbm2ut10CharWriterCFv:
/* 80141080 0013CEC0 C0 23 00 44 */ lfs f1, 0x44(r3)
/* 80141084 0013CEC4 4E 80 00 20 */ blr
/* 80141088 0013CEC8 00 00 00 00 */ .4byte 0x00000000
/* 8014108C 0013CECC 00 00 00 00 */ .4byte 0x00000000
.global Print__Q36nw4hbm2ut10CharWriterFUs
Print__Q36nw4hbm2ut10CharWriterFUs:
/* 80141090 0013CED0 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80141094 0013CED4 7C 08 02 A6 */ mflr r0
/* 80141098 0013CED8 7C 85 23 78 */ mr r5, r4
/* 8014109C 0013CEDC 90 01 00 54 */ stw r0, 0x54(r1)
/* 801410A0 0013CEE0 3C 00 43 30 */ lis r0, 0x4330
/* 801410A4 0013CEE4 38 81 00 08 */ addi r4, r1, 0x8
/* 801410A8 0013CEE8 DB E1 00 40 */ stfd f31, 0x40(r1)
/* 801410AC 0013CEEC F3 E1 00 48 */ psq_st f31, 0x48(r1), 0, qr0
/* 801410B0 0013CEF0 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 801410B4 0013CEF4 7C 7F 1B 78 */ mr r31, r3
/* 801410B8 0013CEF8 80 63 00 48 */ lwz r3, 0x48(r3)
/* 801410BC 0013CEFC 90 01 00 20 */ stw r0, 0x20(r1)
/* 801410C0 0013CF00 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801410C4 0013CF04 90 01 00 28 */ stw r0, 0x28(r1)
/* 801410C8 0013CF08 81 8C 00 50 */ lwz r12, 0x50(r12)
/* 801410CC 0013CF0C 7D 89 03 A6 */ mtctr r12
/* 801410D0 0013CF10 4E 80 04 21 */ bctrl
/* 801410D4 0013CF14 88 1F 00 43 */ lbz r0, 0x43(r31)
/* 801410D8 0013CF18 2C 00 00 00 */ cmpwi r0, 0x0
/* 801410DC 0013CF1C 41 82 00 64 */ beq lbl_80141140
/* 801410E0 0013CF20 88 81 00 0E */ lbz r4, 0xe(r1)
/* 801410E4 0013CF24 3C A0 80 41 */ lis r5, "@6464"@ha
/* 801410E8 0013CF28 88 01 00 0C */ lbz r0, 0xc(r1)
/* 801410EC 0013CF2C 3C 60 80 41 */ lis r3, "@6506"@ha
/* 801410F0 0013CF30 7C 84 07 74 */ extsb r4, r4
/* 801410F4 0013CF34 C8 85 E2 B8 */ lfd f4, "@6464"@l(r5)
/* 801410F8 0013CF38 6C 84 80 00 */ xoris r4, r4, 0x8000
/* 801410FC 0013CF3C 90 81 00 24 */ stw r4, 0x24(r1)
/* 80141100 0013CF40 7C 00 07 74 */ extsb r0, r0
/* 80141104 0013CF44 C0 7F 00 24 */ lfs f3, 0x24(r31)
/* 80141108 0013CF48 C8 01 00 20 */ lfd f0, 0x20(r1)
/* 8014110C 0013CF4C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80141110 0013CF50 90 01 00 2C */ stw r0, 0x2c(r1)
/* 80141114 0013CF54 EC 40 20 28 */ fsubs f2, f0, f4
/* 80141118 0013CF58 C3 FF 00 44 */ lfs f31, 0x44(r31)
/* 8014111C 0013CF5C C8 01 00 28 */ lfd f0, 0x28(r1)
/* 80141120 0013CF60 C0 23 E2 C0 */ lfs f1, "@6506"@l(r3)
/* 80141124 0013CF64 EC 42 00 F2 */ fmuls f2, f2, f3
/* 80141128 0013CF68 EC 00 20 28 */ fsubs f0, f0, f4
/* 8014112C 0013CF6C EC 5F 10 28 */ fsubs f2, f31, f2
/* 80141130 0013CF70 EC 00 00 F2 */ fmuls f0, f0, f3
/* 80141134 0013CF74 EC 22 00 72 */ fmuls f1, f2, f1
/* 80141138 0013CF78 EC 21 00 2A */ fadds f1, f1, f0
/* 8014113C 0013CF7C 48 00 00 48 */ b lbl_80141184
.global lbl_80141140
lbl_80141140:
/* 80141140 0013CF80 88 81 00 0E */ lbz r4, 0xe(r1)
/* 80141144 0013CF84 3C 60 80 41 */ lis r3, "@6464"@ha
/* 80141148 0013CF88 88 01 00 0C */ lbz r0, 0xc(r1)
/* 8014114C 0013CF8C 7C 84 07 74 */ extsb r4, r4
/* 80141150 0013CF90 C8 63 E2 B8 */ lfd f3, "@6464"@l(r3)
/* 80141154 0013CF94 7C 00 07 74 */ extsb r0, r0
/* 80141158 0013CF98 C0 3F 00 24 */ lfs f1, 0x24(r31)
/* 8014115C 0013CF9C 6C 83 80 00 */ xoris r3, r4, 0x8000
/* 80141160 0013CFA0 90 61 00 24 */ stw r3, 0x24(r1)
/* 80141164 0013CFA4 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80141168 0013CFA8 90 01 00 2C */ stw r0, 0x2c(r1)
/* 8014116C 0013CFAC C8 41 00 20 */ lfd f2, 0x20(r1)
/* 80141170 0013CFB0 C8 01 00 28 */ lfd f0, 0x28(r1)
/* 80141174 0013CFB4 EC 42 18 28 */ fsubs f2, f2, f3
/* 80141178 0013CFB8 EC 00 18 28 */ fsubs f0, f0, f3
/* 8014117C 0013CFBC EF E2 00 72 */ fmuls f31, f2, f1
/* 80141180 0013CFC0 EC 20 00 72 */ fmuls f1, f0, f1
.global lbl_80141184
lbl_80141184:
/* 80141184 0013CFC4 C0 1F 00 2C */ lfs f0, 0x2c(r31)
/* 80141188 0013CFC8 7F E3 FB 78 */ mr r3, r31
/* 8014118C 0013CFCC C0 5F 00 30 */ lfs f2, 0x30(r31)
/* 80141190 0013CFD0 38 81 00 08 */ addi r4, r1, 0x8
/* 80141194 0013CFD4 EC 20 08 2A */ fadds f1, f0, f1
/* 80141198 0013CFD8 C0 7F 00 34 */ lfs f3, 0x34(r31)
/* 8014119C 0013CFDC 48 00 00 A5 */ bl PrintGlyph__Q36nw4hbm2ut10CharWriterFfffRCQ36nw4hbm2ut5Glyph
/* 801411A0 0013CFE0 C0 1F 00 2C */ lfs f0, 0x2c(r31)
/* 801411A4 0013CFE4 FC 20 F8 90 */ fmr f1, f31
/* 801411A8 0013CFE8 EC 00 F8 2A */ fadds f0, f0, f31
/* 801411AC 0013CFEC D0 1F 00 2C */ stfs f0, 0x2c(r31)
/* 801411B0 0013CFF0 E3 E1 00 48 */ psq_l f31, 0x48(r1), 0, qr0
/* 801411B4 0013CFF4 CB E1 00 40 */ lfd f31, 0x40(r1)
/* 801411B8 0013CFF8 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 801411BC 0013CFFC 80 01 00 54 */ lwz r0, 0x54(r1)
/* 801411C0 0013D000 7C 08 03 A6 */ mtlr r0
/* 801411C4 0013D004 38 21 00 50 */ addi r1, r1, 0x50
/* 801411C8 0013D008 4E 80 00 20 */ blr
/* 801411CC 0013D00C 00 00 00 00 */ .4byte 0x00000000
.global SetCursor__Q36nw4hbm2ut10CharWriterFff
SetCursor__Q36nw4hbm2ut10CharWriterFff:
/* 801411D0 0013D010 D0 23 00 2C */ stfs f1, 0x2c(r3)
/* 801411D4 0013D014 D0 43 00 30 */ stfs f2, 0x30(r3)
/* 801411D8 0013D018 4E 80 00 20 */ blr
/* 801411DC 0013D01C 00 00 00 00 */ .4byte 0x00000000
.global SetCursorX__Q36nw4hbm2ut10CharWriterFf
SetCursorX__Q36nw4hbm2ut10CharWriterFf:
/* 801411E0 0013D020 D0 23 00 2C */ stfs f1, 0x2c(r3)
/* 801411E4 0013D024 4E 80 00 20 */ blr
/* 801411E8 0013D028 00 00 00 00 */ .4byte 0x00000000
/* 801411EC 0013D02C 00 00 00 00 */ .4byte 0x00000000
.global SetCursorY__Q36nw4hbm2ut10CharWriterFf
SetCursorY__Q36nw4hbm2ut10CharWriterFf:
/* 801411F0 0013D030 D0 23 00 30 */ stfs f1, 0x30(r3)
/* 801411F4 0013D034 4E 80 00 20 */ blr
/* 801411F8 0013D038 00 00 00 00 */ .4byte 0x00000000
/* 801411FC 0013D03C 00 00 00 00 */ .4byte 0x00000000
.global MoveCursorX__Q36nw4hbm2ut10CharWriterFf
MoveCursorX__Q36nw4hbm2ut10CharWriterFf:
/* 80141200 0013D040 C0 03 00 2C */ lfs f0, 0x2c(r3)
/* 80141204 0013D044 EC 00 08 2A */ fadds f0, f0, f1
/* 80141208 0013D048 D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 8014120C 0013D04C 4E 80 00 20 */ blr
.global MoveCursorY__Q36nw4hbm2ut10CharWriterFf
MoveCursorY__Q36nw4hbm2ut10CharWriterFf:
/* 80141210 0013D050 C0 03 00 30 */ lfs f0, 0x30(r3)
/* 80141214 0013D054 EC 00 08 2A */ fadds f0, f0, f1
/* 80141218 0013D058 D0 03 00 30 */ stfs f0, 0x30(r3)
/* 8014121C 0013D05C 4E 80 00 20 */ blr
.global GetCursorX__Q36nw4hbm2ut10CharWriterCFv
GetCursorX__Q36nw4hbm2ut10CharWriterCFv:
/* 80141220 0013D060 C0 23 00 2C */ lfs f1, 0x2c(r3)
/* 80141224 0013D064 4E 80 00 20 */ blr
/* 80141228 0013D068 00 00 00 00 */ .4byte 0x00000000
/* 8014122C 0013D06C 00 00 00 00 */ .4byte 0x00000000
.global GetCursorY__Q36nw4hbm2ut10CharWriterCFv
GetCursorY__Q36nw4hbm2ut10CharWriterCFv:
/* 80141230 0013D070 C0 23 00 30 */ lfs f1, 0x30(r3)
/* 80141234 0013D074 4E 80 00 20 */ blr
/* 80141238 0013D078 00 00 00 00 */ .4byte 0x00000000
/* 8014123C 0013D07C 00 00 00 00 */ .4byte 0x00000000
.global PrintGlyph__Q36nw4hbm2ut10CharWriterFfffRCQ36nw4hbm2ut5Glyph
PrintGlyph__Q36nw4hbm2ut10CharWriterFfffRCQ36nw4hbm2ut5Glyph:
/* 80141240 0013D080 94 21 FF 40 */ stwu r1, -0xc0(r1)
/* 80141244 0013D084 7C 08 02 A6 */ mflr r0
/* 80141248 0013D088 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 8014124C 0013D08C 39 61 00 70 */ addi r11, r1, 0x70
/* 80141250 0013D090 DB E1 00 B0 */ stfd f31, 0xb0(r1)
/* 80141254 0013D094 F3 E1 00 B8 */ psq_st f31, 0xb8(r1), 0, qr0
/* 80141258 0013D098 DB C1 00 A0 */ stfd f30, 0xa0(r1)
/* 8014125C 0013D09C F3 C1 00 A8 */ psq_st f30, 0xa8(r1), 0, qr0
/* 80141260 0013D0A0 DB A1 00 90 */ stfd f29, 0x90(r1)
/* 80141264 0013D0A4 F3 A1 00 98 */ psq_st f29, 0x98(r1), 0, qr0
/* 80141268 0013D0A8 DB 81 00 80 */ stfd f28, 0x80(r1)
/* 8014126C 0013D0AC F3 81 00 88 */ psq_st f28, 0x88(r1), 0, qr0
/* 80141270 0013D0B0 DB 61 00 70 */ stfd f27, 0x70(r1)
/* 80141274 0013D0B4 F3 61 00 78 */ psq_st f27, 0x78(r1), 0, qr0
/* 80141278 0013D0B8 4B EC 60 B9 */ bl lbl_80007330
/* 8014127C 0013D0BC 8B 24 00 05 */ lbz r25, 0x5(r4)
/* 80141280 0013D0C0 3F E0 43 30 */ lis r31, 0x4330
/* 80141284 0013D0C4 A0 C4 00 10 */ lhz r6, 0x10(r4)
/* 80141288 0013D0C8 39 60 00 00 */ li r11, 0x0
/* 8014128C 0013D0CC 8B 04 00 07 */ lbz r24, 0x7(r4)
/* 80141290 0013D0D0 3F 40 80 41 */ lis r26, "@6514"@ha
/* 80141294 0013D0D4 7C 06 CA 14 */ add r0, r6, r25
/* 80141298 0013D0D8 A1 04 00 12 */ lhz r8, 0x12(r4)
/* 8014129C 0013D0DC A0 A4 00 0C */ lhz r5, 0xc(r4)
/* 801412A0 0013D0E0 54 C6 78 20 */ slwi r6, r6, 15
/* 801412A4 0013D0E4 7C E8 C2 14 */ add r7, r8, r24
/* 801412A8 0013D0E8 55 08 78 20 */ slwi r8, r8, 15
/* 801412AC 0013D0EC 7F C6 2B 96 */ divwu r30, r6, r5
/* 801412B0 0013D0F0 A0 C4 00 0E */ lhz r6, 0xe(r4)
/* 801412B4 0013D0F4 54 1B 78 20 */ slwi r27, r0, 15
/* 801412B8 0013D0F8 80 04 00 00 */ lwz r0, 0x0(r4)
/* 801412BC 0013D0FC 54 EC 78 20 */ slwi r12, r7, 15
/* 801412C0 0013D100 81 43 00 38 */ lwz r10, 0x38(r3)
/* 801412C4 0013D104 7F A8 33 96 */ divwu r29, r8, r6
/* 801412C8 0013D108 3D 00 80 54 */ lis r8, mLoadingTexture__Q36nw4hbm2ut10CharWriter@ha
/* 801412CC 0013D10C 80 E8 37 A0 */ lwz r7, mLoadingTexture__Q36nw4hbm2ut10CharWriter@l(r8)
/* 801412D0 0013D110 FF A0 18 90 */ fmr f29, f3
/* 801412D4 0013D114 81 23 00 3C */ lwz r9, 0x3c(r3)
/* 801412D8 0013D118 FF 60 08 90 */ fmr f27, f1
/* 801412DC 0013D11C 7F 9B 2B 96 */ divwu r28, r27, r5
/* 801412E0 0013D120 7C 0B 38 00 */ cmpw r11, r7
/* 801412E4 0013D124 93 21 00 3C */ stw r25, 0x3c(r1)
/* 801412E8 0013D128 FF 80 10 90 */ fmr f28, f2
/* 801412EC 0013D12C C8 BA E2 C8 */ lfd f5, "@6514"@l(r26)
/* 801412F0 0013D130 7C 7B 1B 78 */ mr r27, r3
/* 801412F4 0013D134 93 E1 00 38 */ stw r31, 0x38(r1)
/* 801412F8 0013D138 7C EC 33 96 */ divwu r7, r12, r6
/* 801412FC 0013D13C C8 01 00 38 */ lfd f0, 0x38(r1)
/* 80141300 0013D140 93 E1 00 40 */ stw r31, 0x40(r1)
/* 80141304 0013D144 57 DF 04 3E */ clrlwi r31, r30, 16
/* 80141308 0013D148 EC 60 28 28 */ fsubs f3, f0, f5
/* 8014130C 0013D14C C0 03 00 24 */ lfs f0, 0x24(r3)
/* 80141310 0013D150 EC 83 00 32 */ fmuls f4, f3, f0
/* 80141314 0013D154 93 01 00 44 */ stw r24, 0x44(r1)
/* 80141318 0013D158 57 BE 04 3E */ clrlwi r30, r29, 16
/* 8014131C 0013D15C 57 9D 04 3E */ clrlwi r29, r28, 16
/* 80141320 0013D160 C8 61 00 40 */ lfd f3, 0x40(r1)
/* 80141324 0013D164 54 FC 04 3E */ clrlwi r28, r7, 16
/* 80141328 0013D168 EF E1 20 2A */ fadds f31, f1, f4
/* 8014132C 0013D16C C0 03 00 28 */ lfs f0, 0x28(r3)
/* 80141330 0013D170 EC 23 28 28 */ fsubs f1, f3, f5
/* 80141334 0013D174 91 61 00 08 */ stw r11, 0x8(r1)
/* 80141338 0013D178 90 01 00 0C */ stw r0, 0xc(r1)
/* 8014133C 0013D17C EC 01 00 32 */ fmuls f0, f1, f0
/* 80141340 0013D180 91 41 00 10 */ stw r10, 0x10(r1)
/* 80141344 0013D184 EF C2 00 2A */ fadds f30, f2, f0
/* 80141348 0013D188 91 21 00 14 */ stw r9, 0x14(r1)
/* 8014134C 0013D18C 40 82 00 2C */ bne lbl_80141378
/* 80141350 0013D190 38 E8 37 A0 */ addi r7, r8, 0x37a0
/* 80141354 0013D194 80 67 00 04 */ lwz r3, 0x4(r7)
/* 80141358 0013D198 7C 00 18 40 */ cmplw r0, r3
/* 8014135C 0013D19C 40 82 00 1C */ bne lbl_80141378
/* 80141360 0013D1A0 80 67 00 08 */ lwz r3, 0x8(r7)
/* 80141364 0013D1A4 7C 0A 18 00 */ cmpw r10, r3
/* 80141368 0013D1A8 40 82 00 10 */ bne lbl_80141378
/* 8014136C 0013D1AC 80 67 00 0C */ lwz r3, 0xc(r7)
/* 80141370 0013D1B0 7C 09 18 00 */ cmpw r9, r3
/* 80141374 0013D1B4 41 82 00 08 */ beq lbl_8014137C
.global lbl_80141378
lbl_80141378:
/* 80141378 0013D1B8 39 60 00 01 */ li r11, 0x1
.global lbl_8014137C
lbl_8014137C:
/* 8014137C 0013D1BC 2C 0B 00 00 */ cmpwi r11, 0x0
/* 80141380 0013D1C0 41 82 00 80 */ beq lbl_80141400
/* 80141384 0013D1C4 80 E4 00 08 */ lwz r7, 0x8(r4)
/* 80141388 0013D1C8 7C 04 03 78 */ mr r4, r0
/* 8014138C 0013D1CC 38 61 00 18 */ addi r3, r1, 0x18
/* 80141390 0013D1D0 39 00 00 00 */ li r8, 0x0
/* 80141394 0013D1D4 39 20 00 00 */ li r9, 0x0
/* 80141398 0013D1D8 39 40 00 00 */ li r10, 0x0
/* 8014139C 0013D1DC 4B EF 54 15 */ bl GXInitTexObj
/* 801413A0 0013D1E0 3C 60 80 41 */ lis r3, "@6157"@ha
/* 801413A4 0013D1E4 80 9B 00 38 */ lwz r4, 0x38(r27)
/* 801413A8 0013D1E8 C0 23 E2 B0 */ lfs f1, "@6157"@l(r3)
/* 801413AC 0013D1EC 38 61 00 18 */ addi r3, r1, 0x18
/* 801413B0 0013D1F0 80 BB 00 3C */ lwz r5, 0x3c(r27)
/* 801413B4 0013D1F4 38 C0 00 00 */ li r6, 0x0
/* 801413B8 0013D1F8 FC 40 08 90 */ fmr f2, f1
/* 801413BC 0013D1FC 38 E0 00 00 */ li r7, 0x0
/* 801413C0 0013D200 FC 60 08 90 */ fmr f3, f1
/* 801413C4 0013D204 39 00 00 00 */ li r8, 0x0
/* 801413C8 0013D208 4B EF 56 49 */ bl GXInitTexObjLOD
/* 801413CC 0013D20C 38 61 00 18 */ addi r3, r1, 0x18
/* 801413D0 0013D210 38 80 00 00 */ li r4, 0x0
/* 801413D4 0013D214 4B EF 5A 5D */ bl GXLoadTexObj
/* 801413D8 0013D218 3C C0 80 54 */ lis r6, mLoadingTexture__Q36nw4hbm2ut10CharWriter@ha
/* 801413DC 0013D21C 80 E1 00 08 */ lwz r7, 0x8(r1)
/* 801413E0 0013D220 38 86 37 A0 */ addi r4, r6, mLoadingTexture__Q36nw4hbm2ut10CharWriter@l
/* 801413E4 0013D224 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 801413E8 0013D228 80 61 00 10 */ lwz r3, 0x10(r1)
/* 801413EC 0013D22C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801413F0 0013D230 90 E6 37 A0 */ stw r7, 0x37a0(r6)
/* 801413F4 0013D234 90 A4 00 04 */ stw r5, 0x4(r4)
/* 801413F8 0013D238 90 64 00 08 */ stw r3, 0x8(r4)
/* 801413FC 0013D23C 90 04 00 0C */ stw r0, 0xc(r4)
.global lbl_80141400
lbl_80141400:
/* 80141400 0013D240 38 60 00 80 */ li r3, 0x80
/* 80141404 0013D244 38 80 00 00 */ li r4, 0x0
/* 80141408 0013D248 38 A0 00 04 */ li r5, 0x4
/* 8014140C 0013D24C 4B EF 3E 65 */ bl GXBegin
/* 80141410 0013D250 3C 60 CC 01 */ lis r3, 0xCC008000@ha
/* 80141414 0013D254 D3 63 80 00 */ stfs f27, 0xCC008000@l(r3)
/* 80141418 0013D258 D3 83 80 00 */ stfs f28, -0x8000(r3)
/* 8014141C 0013D25C D3 A3 80 00 */ stfs f29, -0x8000(r3)
/* 80141420 0013D260 80 1B 00 08 */ lwz r0, 0x8(r27)
/* 80141424 0013D264 90 03 80 00 */ stw r0, -0x8000(r3)
/* 80141428 0013D268 B3 E3 80 00 */ sth r31, -0x8000(r3)
/* 8014142C 0013D26C B3 C3 80 00 */ sth r30, -0x8000(r3)
/* 80141430 0013D270 D3 E3 80 00 */ stfs f31, -0x8000(r3)
/* 80141434 0013D274 D3 83 80 00 */ stfs f28, -0x8000(r3)
/* 80141438 0013D278 D3 A3 80 00 */ stfs f29, -0x8000(r3)
/* 8014143C 0013D27C 80 1B 00 0C */ lwz r0, 0xc(r27)
/* 80141440 0013D280 90 03 80 00 */ stw r0, -0x8000(r3)
/* 80141444 0013D284 B3 A3 80 00 */ sth r29, -0x8000(r3)
/* 80141448 0013D288 B3 C3 80 00 */ sth r30, -0x8000(r3)
/* 8014144C 0013D28C D3 E3 80 00 */ stfs f31, -0x8000(r3)
/* 80141450 0013D290 D3 C3 80 00 */ stfs f30, -0x8000(r3)
/* 80141454 0013D294 D3 A3 80 00 */ stfs f29, -0x8000(r3)
/* 80141458 0013D298 80 1B 00 14 */ lwz r0, 0x14(r27)
/* 8014145C 0013D29C 90 03 80 00 */ stw r0, -0x8000(r3)
/* 80141460 0013D2A0 B3 A3 80 00 */ sth r29, -0x8000(r3)
/* 80141464 0013D2A4 B3 83 80 00 */ sth r28, -0x8000(r3)
/* 80141468 0013D2A8 D3 63 80 00 */ stfs f27, -0x8000(r3)
/* 8014146C 0013D2AC D3 C3 80 00 */ stfs f30, -0x8000(r3)
/* 80141470 0013D2B0 D3 A3 80 00 */ stfs f29, -0x8000(r3)
/* 80141474 0013D2B4 80 1B 00 10 */ lwz r0, 0x10(r27)
/* 80141478 0013D2B8 90 03 80 00 */ stw r0, -0x8000(r3)
/* 8014147C 0013D2BC B3 E3 80 00 */ sth r31, -0x8000(r3)
/* 80141480 0013D2C0 B3 83 80 00 */ sth r28, -0x8000(r3)
/* 80141484 0013D2C4 39 61 00 70 */ addi r11, r1, 0x70
/* 80141488 0013D2C8 E3 E1 00 B8 */ psq_l f31, 0xb8(r1), 0, qr0
/* 8014148C 0013D2CC CB E1 00 B0 */ lfd f31, 0xb0(r1)
/* 80141490 0013D2D0 E3 C1 00 A8 */ psq_l f30, 0xa8(r1), 0, qr0
/* 80141494 0013D2D4 CB C1 00 A0 */ lfd f30, 0xa0(r1)
/* 80141498 0013D2D8 E3 A1 00 98 */ psq_l f29, 0x98(r1), 0, qr0
/* 8014149C 0013D2DC CB A1 00 90 */ lfd f29, 0x90(r1)
/* 801414A0 0013D2E0 E3 81 00 88 */ psq_l f28, 0x88(r1), 0, qr0
/* 801414A4 0013D2E4 CB 81 00 80 */ lfd f28, 0x80(r1)
/* 801414A8 0013D2E8 E3 61 00 78 */ psq_l f27, 0x78(r1), 0, qr0
/* 801414AC 0013D2EC CB 61 00 70 */ lfd f27, 0x70(r1)
/* 801414B0 0013D2F0 4B EC 5E CD */ bl lbl_8000737C
/* 801414B4 0013D2F4 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 801414B8 0013D2F8 7C 08 03 A6 */ mtlr r0
/* 801414BC 0013D2FC 38 21 00 C0 */ addi r1, r1, 0xc0
/* 801414C0 0013D300 4E 80 00 20 */ blr
/* 801414C4 0013D304 00 00 00 00 */ .4byte 0x00000000
/* 801414C8 0013D308 00 00 00 00 */ .4byte 0x00000000
/* 801414CC 0013D30C 00 00 00 00 */ .4byte 0x00000000
.global SetupGXWithColorMapping__Q36nw4hbm2ut10CharWriterFQ36nw4hbm2ut5ColorQ36nw4hbm2ut5Color
SetupGXWithColorMapping__Q36nw4hbm2ut10CharWriterFQ36nw4hbm2ut5ColorQ36nw4hbm2ut5Color:
/* 801414D0 0013D310 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801414D4 0013D314 7C 08 02 A6 */ mflr r0
/* 801414D8 0013D318 3C A0 80 54 */ lis r5, "@GUARD@SetupGXCommon__6nw4hbmFv@fog"@ha
/* 801414DC 0013D31C 90 01 00 24 */ stw r0, 0x24(r1)
/* 801414E0 0013D320 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801414E4 0013D324 7C 9F 23 78 */ mr r31, r4
/* 801414E8 0013D328 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801414EC 0013D32C 7C 7E 1B 78 */ mr r30, r3
/* 801414F0 0013D330 88 05 37 98 */ lbz r0, "@GUARD@SetupGXCommon__6nw4hbmFv@fog"@l(r5)
/* 801414F4 0013D334 7C 00 07 75 */ extsb. r0, r0
/* 801414F8 0013D338 40 82 00 18 */ bne lbl_80141510
/* 801414FC 0013D33C 3C 60 80 54 */ lis r3, "@LOCAL@SetupGXCommon__6nw4hbmFv@fog"@ha
/* 80141500 0013D340 38 80 00 00 */ li r4, 0x0
/* 80141504 0013D344 38 00 00 01 */ li r0, 0x1
/* 80141508 0013D348 90 83 37 9C */ stw r4, "@LOCAL@SetupGXCommon__6nw4hbmFv@fog"@l(r3)
/* 8014150C 0013D34C 98 05 37 98 */ stb r0, 0x3798(r5)
.global lbl_80141510
lbl_80141510:
/* 80141510 0013D350 3C 60 80 41 */ lis r3, "@6157"@ha
/* 80141514 0013D354 3C 80 80 54 */ lis r4, "@LOCAL@SetupGXCommon__6nw4hbmFv@fog"@ha
/* 80141518 0013D358 C0 23 E2 B0 */ lfs f1, "@6157"@l(r3)
/* 8014151C 0013D35C 38 60 00 00 */ li r3, 0x0
/* 80141520 0013D360 80 04 37 9C */ lwz r0, "@LOCAL@SetupGXCommon__6nw4hbmFv@fog"@l(r4)
/* 80141524 0013D364 38 81 00 08 */ addi r4, r1, 0x8
/* 80141528 0013D368 FC 40 08 90 */ fmr f2, f1
/* 8014152C 0013D36C 90 01 00 08 */ stw r0, 0x8(r1)
/* 80141530 0013D370 FC 60 08 90 */ fmr f3, f1
/* 80141534 0013D374 FC 80 08 90 */ fmr f4, f1
/* 80141538 0013D378 4B EF 6D 59 */ bl GXSetFog
/* 8014153C 0013D37C 38 60 00 00 */ li r3, 0x0
/* 80141540 0013D380 38 80 00 00 */ li r4, 0x0
/* 80141544 0013D384 38 A0 00 01 */ li r5, 0x1
/* 80141548 0013D388 38 C0 00 02 */ li r6, 0x2
/* 8014154C 0013D38C 38 E0 00 03 */ li r7, 0x3
/* 80141550 0013D390 4B EF 6A 61 */ bl GXSetTevSwapModeTable
/* 80141554 0013D394 38 60 00 00 */ li r3, 0x0
/* 80141558 0013D398 38 80 00 11 */ li r4, 0x11
/* 8014155C 0013D39C 38 A0 00 00 */ li r5, 0x0
/* 80141560 0013D3A0 4B EF 6B 11 */ bl GXSetZTexture
/* 80141564 0013D3A4 38 60 00 01 */ li r3, 0x1
/* 80141568 0013D3A8 4B EF 4F 79 */ bl GXSetNumChans
/* 8014156C 0013D3AC 38 60 00 04 */ li r3, 0x4
/* 80141570 0013D3B0 38 80 00 00 */ li r4, 0x0
/* 80141574 0013D3B4 38 A0 00 00 */ li r5, 0x0
/* 80141578 0013D3B8 38 C0 00 01 */ li r6, 0x1
/* 8014157C 0013D3BC 38 E0 00 00 */ li r7, 0x0
/* 80141580 0013D3C0 39 00 00 00 */ li r8, 0x0
/* 80141584 0013D3C4 39 20 00 02 */ li r9, 0x2
/* 80141588 0013D3C8 4B EF 4F 89 */ bl GXSetChanCtrl
/* 8014158C 0013D3CC 38 60 00 05 */ li r3, 0x5
/* 80141590 0013D3D0 38 80 00 00 */ li r4, 0x0
/* 80141594 0013D3D4 38 A0 00 00 */ li r5, 0x0
/* 80141598 0013D3D8 38 C0 00 00 */ li r6, 0x0
/* 8014159C 0013D3DC 38 E0 00 00 */ li r7, 0x0
/* 801415A0 0013D3E0 39 00 00 00 */ li r8, 0x0
/* 801415A4 0013D3E4 39 20 00 02 */ li r9, 0x2
/* 801415A8 0013D3E8 4B EF 4F 69 */ bl GXSetChanCtrl
/* 801415AC 0013D3EC 38 60 00 01 */ li r3, 0x1
/* 801415B0 0013D3F0 4B EF 31 31 */ bl GXSetNumTexGens
/* 801415B4 0013D3F4 38 60 00 00 */ li r3, 0x0
/* 801415B8 0013D3F8 38 80 00 01 */ li r4, 0x1
/* 801415BC 0013D3FC 38 A0 00 04 */ li r5, 0x4
/* 801415C0 0013D400 38 C0 00 3C */ li r6, 0x3c
/* 801415C4 0013D404 38 E0 00 00 */ li r7, 0x0
/* 801415C8 0013D408 39 00 00 7D */ li r8, 0x7d
/* 801415CC 0013D40C 4B EF 2E C5 */ bl GXSetTexCoordGen2
/* 801415D0 0013D410 38 60 00 00 */ li r3, 0x0
/* 801415D4 0013D414 4B EF 65 1D */ bl GXSetNumIndStages
/* 801415D8 0013D418 38 60 00 01 */ li r3, 0x1
/* 801415DC 0013D41C 38 80 00 04 */ li r4, 0x4
/* 801415E0 0013D420 38 A0 00 05 */ li r5, 0x5
/* 801415E4 0013D424 38 C0 00 0F */ li r6, 0xf
/* 801415E8 0013D428 4B EF 71 49 */ bl GXSetBlendMode
/* 801415EC 0013D42C 38 60 00 02 */ li r3, 0x2
/* 801415F0 0013D430 4B EF 6C 71 */ bl GXSetNumTevStages
/* 801415F4 0013D434 38 60 00 00 */ li r3, 0x0
/* 801415F8 0013D438 4B EF 65 19 */ bl GXSetTevDirect
/* 801415FC 0013D43C 38 60 00 01 */ li r3, 0x1
/* 80141600 0013D440 4B EF 65 11 */ bl GXSetTevDirect
/* 80141604 0013D444 38 60 00 00 */ li r3, 0x0
/* 80141608 0013D448 38 80 00 00 */ li r4, 0x0
/* 8014160C 0013D44C 38 A0 00 00 */ li r5, 0x0
/* 80141610 0013D450 4B EF 69 61 */ bl GXSetTevSwapMode
/* 80141614 0013D454 38 60 00 01 */ li r3, 0x1
/* 80141618 0013D458 38 80 00 00 */ li r4, 0x0
/* 8014161C 0013D45C 38 A0 00 00 */ li r5, 0x0
/* 80141620 0013D460 4B EF 69 51 */ bl GXSetTevSwapMode
/* 80141624 0013D464 38 60 00 00 */ li r3, 0x0
/* 80141628 0013D468 38 80 00 00 */ li r4, 0x0
/* 8014162C 0013D46C 38 A0 00 00 */ li r5, 0x0
/* 80141630 0013D470 38 C0 00 FF */ li r6, 0xff
/* 80141634 0013D474 4B EF 6A CD */ bl GXSetTevOrder
/* 80141638 0013D478 80 1E 00 00 */ lwz r0, 0x0(r30)
/* 8014163C 0013D47C 38 81 00 10 */ addi r4, r1, 0x10
/* 80141640 0013D480 90 01 00 10 */ stw r0, 0x10(r1)
/* 80141644 0013D484 38 60 00 01 */ li r3, 0x1
/* 80141648 0013D488 4B EF 67 59 */ bl GXSetTevColor
/* 8014164C 0013D48C 80 1F 00 00 */ lwz r0, 0x0(r31)
/* 80141650 0013D490 38 81 00 0C */ addi r4, r1, 0xc
/* 80141654 0013D494 90 01 00 0C */ stw r0, 0xc(r1)
/* 80141658 0013D498 38 60 00 02 */ li r3, 0x2
/* 8014165C 0013D49C 4B EF 67 45 */ bl GXSetTevColor
/* 80141660 0013D4A0 38 60 00 00 */ li r3, 0x0
/* 80141664 0013D4A4 38 80 00 02 */ li r4, 0x2
/* 80141668 0013D4A8 38 A0 00 04 */ li r5, 0x4
/* 8014166C 0013D4AC 38 C0 00 08 */ li r6, 0x8
/* 80141670 0013D4B0 38 E0 00 0F */ li r7, 0xf
/* 80141674 0013D4B4 4B EF 65 ED */ bl GXSetTevColorIn
/* 80141678 0013D4B8 38 60 00 00 */ li r3, 0x0
/* 8014167C 0013D4BC 38 80 00 01 */ li r4, 0x1
/* 80141680 0013D4C0 38 A0 00 02 */ li r5, 0x2
/* 80141684 0013D4C4 38 C0 00 04 */ li r6, 0x4
/* 80141688 0013D4C8 38 E0 00 07 */ li r7, 0x7
/* 8014168C 0013D4CC 4B EF 66 15 */ bl GXSetTevAlphaIn
/* 80141690 0013D4D0 38 60 00 00 */ li r3, 0x0
/* 80141694 0013D4D4 38 80 00 00 */ li r4, 0x0
/* 80141698 0013D4D8 38 A0 00 00 */ li r5, 0x0
/* 8014169C 0013D4DC 38 C0 00 00 */ li r6, 0x0
/* 801416A0 0013D4E0 38 E0 00 01 */ li r7, 0x1
/* 801416A4 0013D4E4 39 00 00 00 */ li r8, 0x0
/* 801416A8 0013D4E8 4B EF 66 39 */ bl GXSetTevColorOp
/* 801416AC 0013D4EC 38 60 00 00 */ li r3, 0x0
/* 801416B0 0013D4F0 38 80 00 00 */ li r4, 0x0
/* 801416B4 0013D4F4 38 A0 00 00 */ li r5, 0x0
/* 801416B8 0013D4F8 38 C0 00 00 */ li r6, 0x0
/* 801416BC 0013D4FC 38 E0 00 01 */ li r7, 0x1
/* 801416C0 0013D500 39 00 00 00 */ li r8, 0x0
/* 801416C4 0013D504 4B EF 66 7D */ bl GXSetTevAlphaOp
/* 801416C8 0013D508 38 60 00 01 */ li r3, 0x1
/* 801416CC 0013D50C 38 80 00 FF */ li r4, 0xff
/* 801416D0 0013D510 38 A0 00 FF */ li r5, 0xff
/* 801416D4 0013D514 38 C0 00 04 */ li r6, 0x4
/* 801416D8 0013D518 4B EF 6A 29 */ bl GXSetTevOrder
/* 801416DC 0013D51C 38 60 00 01 */ li r3, 0x1
/* 801416E0 0013D520 38 80 00 0F */ li r4, 0xf
/* 801416E4 0013D524 38 A0 00 00 */ li r5, 0x0
/* 801416E8 0013D528 38 C0 00 0A */ li r6, 0xa
/* 801416EC 0013D52C 38 E0 00 0F */ li r7, 0xf
/* 801416F0 0013D530 4B EF 65 71 */ bl GXSetTevColorIn
/* 801416F4 0013D534 38 60 00 01 */ li r3, 0x1
/* 801416F8 0013D538 38 80 00 07 */ li r4, 0x7
/* 801416FC 0013D53C 38 A0 00 00 */ li r5, 0x0
/* 80141700 0013D540 38 C0 00 05 */ li r6, 0x5
/* 80141704 0013D544 38 E0 00 07 */ li r7, 0x7
/* 80141708 0013D548 4B EF 65 99 */ bl GXSetTevAlphaIn
/* 8014170C 0013D54C 38 60 00 01 */ li r3, 0x1
/* 80141710 0013D550 38 80 00 00 */ li r4, 0x0
/* 80141714 0013D554 38 A0 00 00 */ li r5, 0x0
/* 80141718 0013D558 38 C0 00 00 */ li r6, 0x0
/* 8014171C 0013D55C 38 E0 00 01 */ li r7, 0x1
/* 80141720 0013D560 39 00 00 00 */ li r8, 0x0
/* 80141724 0013D564 4B EF 65 BD */ bl GXSetTevColorOp
/* 80141728 0013D568 38 60 00 01 */ li r3, 0x1
/* 8014172C 0013D56C 38 80 00 00 */ li r4, 0x0
/* 80141730 0013D570 38 A0 00 00 */ li r5, 0x0
/* 80141734 0013D574 38 C0 00 00 */ li r6, 0x0
/* 80141738 0013D578 38 E0 00 01 */ li r7, 0x1
/* 8014173C 0013D57C 39 00 00 00 */ li r8, 0x0
/* 80141740 0013D580 4B EF 66 01 */ bl GXSetTevAlphaOp
/* 80141744 0013D584 38 60 00 00 */ li r3, 0x0
/* 80141748 0013D588 38 80 00 09 */ li r4, 0x9
/* 8014174C 0013D58C 38 A0 00 01 */ li r5, 0x1
/* 80141750 0013D590 38 C0 00 04 */ li r6, 0x4
/* 80141754 0013D594 38 E0 00 00 */ li r7, 0x0
/* 80141758 0013D598 4B EF 26 99 */ bl GXSetVtxAttrFmt
/* 8014175C 0013D59C 38 60 00 00 */ li r3, 0x0
/* 80141760 0013D5A0 38 80 00 0B */ li r4, 0xb
/* 80141764 0013D5A4 38 A0 00 01 */ li r5, 0x1
/* 80141768 0013D5A8 38 C0 00 05 */ li r6, 0x5
/* 8014176C 0013D5AC 38 E0 00 00 */ li r7, 0x0
/* 80141770 0013D5B0 4B EF 26 81 */ bl GXSetVtxAttrFmt
/* 80141774 0013D5B4 38 60 00 00 */ li r3, 0x0
/* 80141778 0013D5B8 38 80 00 0D */ li r4, 0xd
/* 8014177C 0013D5BC 38 A0 00 01 */ li r5, 0x1
/* 80141780 0013D5C0 38 C0 00 02 */ li r6, 0x2
/* 80141784 0013D5C4 38 E0 00 0F */ li r7, 0xf
/* 80141788 0013D5C8 4B EF 26 69 */ bl GXSetVtxAttrFmt
/* 8014178C 0013D5CC 4B EF 26 25 */ bl GXClearVtxDesc
/* 80141790 0013D5D0 38 60 00 09 */ li r3, 0x9
/* 80141794 0013D5D4 38 80 00 01 */ li r4, 0x1
/* 80141798 0013D5D8 4B EF 20 09 */ bl GXSetVtxDesc
/* 8014179C 0013D5DC 38 60 00 0B */ li r3, 0xb
/* 801417A0 0013D5E0 38 80 00 01 */ li r4, 0x1
/* 801417A4 0013D5E4 4B EF 1F FD */ bl GXSetVtxDesc
/* 801417A8 0013D5E8 38 60 00 0D */ li r3, 0xd
/* 801417AC 0013D5EC 38 80 00 01 */ li r4, 0x1
/* 801417B0 0013D5F0 4B EF 1F F1 */ bl GXSetVtxDesc
/* 801417B4 0013D5F4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801417B8 0013D5F8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801417BC 0013D5FC 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 801417C0 0013D600 7C 08 03 A6 */ mtlr r0
/* 801417C4 0013D604 38 21 00 20 */ addi r1, r1, 0x20
/* 801417C8 0013D608 4E 80 00 20 */ blr
/* 801417CC 0013D60C 00 00 00 00 */ .4byte 0x00000000
.include "macros.inc"
.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0
.global "@6157"
"@6157":
.4byte 0
.global "@6158"
"@6158":
.4byte 0x3F800000
.global "@6464"
"@6464":
.4byte 0x43300000
.4byte 0x80000000
.global "@6506"
"@6506":
.4byte 0x3F000000
.4byte 0
.global "@6514"
"@6514":
.4byte 0x43300000
.4byte 0
.include "macros.inc"
.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20
.global "@GUARD@SetupGXCommon__6nw4hbmFv@fog"
"@GUARD@SetupGXCommon__6nw4hbmFv@fog":
.skip 0x4
.global "@LOCAL@SetupGXCommon__6nw4hbmFv@fog"
"@LOCAL@SetupGXCommon__6nw4hbmFv@fog":
.skip 0x4
.global mLoadingTexture__Q36nw4hbm2ut10CharWriter
mLoadingTexture__Q36nw4hbm2ut10CharWriter:
.skip 0x10