donut-decomp/asm/libnw4r_ut/ut_CharWriter.s

1609 lines
80 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global __ct__Q34nw4r2ut10CharWriterFv
__ct__Q34nw4r2ut10CharWriterFv:
/* 80122610 0011E450 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80122614 0011E454 38 C0 FF FF */ li r6, -0x1
/* 80122618 0011E458 3C A0 80 54 */ lis r5, mLoadingTexture__Q34nw4r2ut10CharWriter@ha
/* 8012261C 0011E45C C0 02 95 68 */ lfs f0, "@6180"@sda21(r2)
/* 80122620 0011E460 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 80122624 0011E464 38 00 00 FF */ li r0, 0xff
/* 80122628 0011E468 38 85 30 60 */ addi r4, r5, mLoadingTexture__Q34nw4r2ut10CharWriter@l
/* 8012262C 0011E46C 93 C1 00 28 */ stw r30, 0x28(r1)
/* 80122630 0011E470 93 A1 00 24 */ stw r29, 0x24(r1)
/* 80122634 0011E474 3B A0 00 00 */ li r29, 0x0
/* 80122638 0011E478 93 81 00 20 */ stw r28, 0x20(r1)
/* 8012263C 0011E47C 3B 83 00 18 */ addi r28, r3, 0x18
/* 80122640 0011E480 90 C3 00 00 */ stw r6, 0x0(r3)
/* 80122644 0011E484 93 A1 00 08 */ stw r29, 0x8(r1)
/* 80122648 0011E488 90 C1 00 0C */ stw r6, 0xc(r1)
/* 8012264C 0011E48C 8B C1 00 08 */ lbz r30, 0x8(r1)
/* 80122650 0011E490 90 C3 00 04 */ stw r6, 0x4(r3)
/* 80122654 0011E494 8B E1 00 09 */ lbz r31, 0x9(r1)
/* 80122658 0011E498 90 C3 00 08 */ stw r6, 0x8(r3)
/* 8012265C 0011E49C 89 81 00 0A */ lbz r12, 0xa(r1)
/* 80122660 0011E4A0 90 C3 00 0C */ stw r6, 0xc(r3)
/* 80122664 0011E4A4 89 61 00 0B */ lbz r11, 0xb(r1)
/* 80122668 0011E4A8 90 C3 00 10 */ stw r6, 0x10(r3)
/* 8012266C 0011E4AC 89 41 00 0C */ lbz r10, 0xc(r1)
/* 80122670 0011E4B0 90 C3 00 14 */ stw r6, 0x14(r3)
/* 80122674 0011E4B4 89 21 00 0D */ lbz r9, 0xd(r1)
/* 80122678 0011E4B8 90 C3 00 18 */ stw r6, 0x18(r3)
/* 8012267C 0011E4BC 89 01 00 0E */ lbz r8, 0xe(r1)
/* 80122680 0011E4C0 90 C3 00 1C */ stw r6, 0x1c(r3)
/* 80122684 0011E4C4 88 E1 00 0F */ lbz r7, 0xf(r1)
/* 80122688 0011E4C8 98 03 00 42 */ stb r0, 0x42(r3)
/* 8012268C 0011E4CC 9B A3 00 43 */ stb r29, 0x43(r3)
/* 80122690 0011E4D0 D0 03 00 44 */ stfs f0, 0x44(r3)
/* 80122694 0011E4D4 93 A3 00 48 */ stw r29, 0x48(r3)
/* 80122698 0011E4D8 90 05 30 60 */ stw r0, 0x3060(r5)
/* 8012269C 0011E4DC 93 A4 00 04 */ stw r29, 0x4(r4)
/* 801226A0 0011E4E0 88 C3 00 18 */ lbz r6, 0x18(r3)
/* 801226A4 0011E4E4 88 A3 00 19 */ lbz r5, 0x19(r3)
/* 801226A8 0011E4E8 88 83 00 1A */ lbz r4, 0x1a(r3)
/* 801226AC 0011E4EC 88 03 00 1B */ lbz r0, 0x1b(r3)
/* 801226B0 0011E4F0 9B C3 00 00 */ stb r30, 0x0(r3)
/* 801226B4 0011E4F4 9B E3 00 01 */ stb r31, 0x1(r3)
/* 801226B8 0011E4F8 99 83 00 02 */ stb r12, 0x2(r3)
/* 801226BC 0011E4FC 99 63 00 03 */ stb r11, 0x3(r3)
/* 801226C0 0011E500 99 43 00 04 */ stb r10, 0x4(r3)
/* 801226C4 0011E504 99 23 00 05 */ stb r9, 0x5(r3)
/* 801226C8 0011E508 99 03 00 06 */ stb r8, 0x6(r3)
/* 801226CC 0011E50C 98 E3 00 07 */ stb r7, 0x7(r3)
/* 801226D0 0011E510 93 A3 00 20 */ stw r29, 0x20(r3)
/* 801226D4 0011E514 98 C3 00 08 */ stb r6, 0x8(r3)
/* 801226D8 0011E518 98 A3 00 09 */ stb r5, 0x9(r3)
/* 801226DC 0011E51C 98 83 00 0A */ stb r4, 0xa(r3)
/* 801226E0 0011E520 98 03 00 0B */ stb r0, 0xb(r3)
/* 801226E4 0011E524 88 1C 00 00 */ lbz r0, 0x0(r28)
/* 801226E8 0011E528 98 03 00 0C */ stb r0, 0xc(r3)
/* 801226EC 0011E52C 80 03 00 20 */ lwz r0, 0x20(r3)
/* 801226F0 0011E530 88 9C 00 01 */ lbz r4, 0x1(r28)
/* 801226F4 0011E534 98 83 00 0D */ stb r4, 0xd(r3)
/* 801226F8 0011E538 2C 00 00 02 */ cmpwi r0, 0x2
/* 801226FC 0011E53C 88 1C 00 02 */ lbz r0, 0x2(r28)
/* 80122700 0011E540 98 03 00 0E */ stb r0, 0xe(r3)
/* 80122704 0011E544 88 1C 00 03 */ lbz r0, 0x3(r28)
/* 80122708 0011E548 98 03 00 0F */ stb r0, 0xf(r3)
/* 8012270C 0011E54C 41 82 00 0C */ beq lbl_80122718
/* 80122710 0011E550 38 A3 00 18 */ addi r5, r3, 0x18
/* 80122714 0011E554 48 00 00 08 */ b lbl_8012271C
.global lbl_80122718
lbl_80122718:
/* 80122718 0011E558 38 A3 00 1C */ addi r5, r3, 0x1c
.global lbl_8012271C
lbl_8012271C:
/* 8012271C 0011E55C 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80122720 0011E560 98 03 00 10 */ stb r0, 0x10(r3)
/* 80122724 0011E564 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80122728 0011E568 88 85 00 01 */ lbz r4, 0x1(r5)
/* 8012272C 0011E56C 98 83 00 11 */ stb r4, 0x11(r3)
/* 80122730 0011E570 2C 00 00 00 */ cmpwi r0, 0x0
/* 80122734 0011E574 88 05 00 02 */ lbz r0, 0x2(r5)
/* 80122738 0011E578 98 03 00 12 */ stb r0, 0x12(r3)
/* 8012273C 0011E57C 88 05 00 03 */ lbz r0, 0x3(r5)
/* 80122740 0011E580 98 03 00 13 */ stb r0, 0x13(r3)
/* 80122744 0011E584 40 82 00 0C */ bne lbl_80122750
/* 80122748 0011E588 38 C3 00 18 */ addi r6, r3, 0x18
/* 8012274C 0011E58C 48 00 00 08 */ b lbl_80122754
.global lbl_80122750
lbl_80122750:
/* 80122750 0011E590 38 C3 00 1C */ addi r6, r3, 0x1c
.global lbl_80122754
lbl_80122754:
/* 80122754 0011E594 88 06 00 00 */ lbz r0, 0x0(r6)
/* 80122758 0011E598 3C A0 80 81 */ lis r5, 0x80808081@ha
/* 8012275C 0011E59C 98 03 00 14 */ stb r0, 0x14(r3)
/* 80122760 0011E5A0 39 85 80 81 */ addi r12, r5, 0x80808081@l
/* 80122764 0011E5A4 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80122768 0011E5A8 38 80 FF FF */ li r4, -0x1
/* 8012276C 0011E5AC 88 A6 00 01 */ lbz r5, 0x1(r6)
/* 80122770 0011E5B0 98 A3 00 15 */ stb r5, 0x15(r3)
/* 80122774 0011E5B4 2C 00 00 01 */ cmpwi r0, 0x1
/* 80122778 0011E5B8 88 A3 00 0B */ lbz r5, 0xb(r3)
/* 8012277C 0011E5BC 88 06 00 02 */ lbz r0, 0x2(r6)
/* 80122780 0011E5C0 98 03 00 16 */ stb r0, 0x16(r3)
/* 80122784 0011E5C4 89 63 00 42 */ lbz r11, 0x42(r3)
/* 80122788 0011E5C8 88 03 00 0F */ lbz r0, 0xf(r3)
/* 8012278C 0011E5CC 90 81 00 10 */ stw r4, 0x10(r1)
/* 80122790 0011E5D0 7D 45 59 D6 */ mullw r10, r5, r11
/* 80122794 0011E5D4 8B E6 00 03 */ lbz r31, 0x3(r6)
/* 80122798 0011E5D8 88 A1 00 11 */ lbz r5, 0x11(r1)
/* 8012279C 0011E5DC 88 E3 00 13 */ lbz r7, 0x13(r3)
/* 801227A0 0011E5E0 98 A3 00 19 */ stb r5, 0x19(r3)
/* 801227A4 0011E5E4 7D 20 59 D6 */ mullw r9, r0, r11
/* 801227A8 0011E5E8 88 01 00 13 */ lbz r0, 0x13(r1)
/* 801227AC 0011E5EC 88 81 00 12 */ lbz r4, 0x12(r1)
/* 801227B0 0011E5F0 98 A3 00 09 */ stb r5, 0x9(r3)
/* 801227B4 0011E5F4 88 C1 00 10 */ lbz r6, 0x10(r1)
/* 801227B8 0011E5F8 7D 07 59 D6 */ mullw r8, r7, r11
/* 801227BC 0011E5FC 98 03 00 1B */ stb r0, 0x1b(r3)
/* 801227C0 0011E600 98 03 00 0B */ stb r0, 0xb(r3)
/* 801227C4 0011E604 7C 0C 48 96 */ mulhw r0, r12, r9
/* 801227C8 0011E608 98 83 00 1A */ stb r4, 0x1a(r3)
/* 801227CC 0011E60C 98 83 00 0A */ stb r4, 0xa(r3)
/* 801227D0 0011E610 98 C3 00 18 */ stb r6, 0x18(r3)
/* 801227D4 0011E614 7C AC 50 96 */ mulhw r5, r12, r10
/* 801227D8 0011E618 7C 00 4A 14 */ add r0, r0, r9
/* 801227DC 0011E61C 98 C3 00 08 */ stb r6, 0x8(r3)
/* 801227E0 0011E620 7C 85 52 14 */ add r4, r5, r10
/* 801227E4 0011E624 7C 84 3E 70 */ srawi r4, r4, 7
/* 801227E8 0011E628 7C 8C 40 96 */ mulhw r4, r12, r8
/* 801227EC 0011E62C 7C 05 3E 70 */ srawi r5, r0, 7
/* 801227F0 0011E630 54 A6 0F FE */ srwi r6, r5, 31
/* 801227F4 0011E634 7C A5 32 14 */ add r5, r5, r6
/* 801227F8 0011E638 98 A3 00 0F */ stb r5, 0xf(r3)
/* 801227FC 0011E63C 7C FF 59 D6 */ mullw r7, r31, r11
/* 80122800 0011E640 7C 84 42 14 */ add r4, r4, r8
/* 80122804 0011E644 7C 85 3E 70 */ srawi r5, r4, 7
/* 80122808 0011E648 7C 0C 38 96 */ mulhw r0, r12, r7
/* 8012280C 0011E64C 54 A6 0F FE */ srwi r6, r5, 31
/* 80122810 0011E650 7C A5 32 14 */ add r5, r5, r6
/* 80122814 0011E654 98 A3 00 13 */ stb r5, 0x13(r3)
/* 80122818 0011E658 7C 00 3A 14 */ add r0, r0, r7
/* 8012281C 0011E65C 7C 00 3E 70 */ srawi r0, r0, 7
/* 80122820 0011E660 54 04 0F FE */ srwi r4, r0, 31
/* 80122824 0011E664 7C 00 22 14 */ add r0, r0, r4
/* 80122828 0011E668 98 03 00 17 */ stb r0, 0x17(r3)
/* 8012282C 0011E66C 41 82 00 0C */ beq lbl_80122838
/* 80122830 0011E670 38 A3 00 18 */ addi r5, r3, 0x18
/* 80122834 0011E674 48 00 00 08 */ b lbl_8012283C
.global lbl_80122838
lbl_80122838:
/* 80122838 0011E678 38 A3 00 1C */ addi r5, r3, 0x1c
.global lbl_8012283C
lbl_8012283C:
/* 8012283C 0011E67C 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80122840 0011E680 98 03 00 0C */ stb r0, 0xc(r3)
/* 80122844 0011E684 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80122848 0011E688 88 85 00 01 */ lbz r4, 0x1(r5)
/* 8012284C 0011E68C 98 83 00 0D */ stb r4, 0xd(r3)
/* 80122850 0011E690 2C 00 00 02 */ cmpwi r0, 0x2
/* 80122854 0011E694 88 05 00 02 */ lbz r0, 0x2(r5)
/* 80122858 0011E698 98 03 00 0E */ stb r0, 0xe(r3)
/* 8012285C 0011E69C 88 05 00 03 */ lbz r0, 0x3(r5)
/* 80122860 0011E6A0 98 03 00 0F */ stb r0, 0xf(r3)
/* 80122864 0011E6A4 41 82 00 0C */ beq lbl_80122870
/* 80122868 0011E6A8 38 A3 00 18 */ addi r5, r3, 0x18
/* 8012286C 0011E6AC 48 00 00 08 */ b lbl_80122874
.global lbl_80122870
lbl_80122870:
/* 80122870 0011E6B0 38 A3 00 1C */ addi r5, r3, 0x1c
.global lbl_80122874
lbl_80122874:
/* 80122874 0011E6B4 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80122878 0011E6B8 98 03 00 10 */ stb r0, 0x10(r3)
/* 8012287C 0011E6BC 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80122880 0011E6C0 88 85 00 01 */ lbz r4, 0x1(r5)
/* 80122884 0011E6C4 98 83 00 11 */ stb r4, 0x11(r3)
/* 80122888 0011E6C8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012288C 0011E6CC 88 05 00 02 */ lbz r0, 0x2(r5)
/* 80122890 0011E6D0 98 03 00 12 */ stb r0, 0x12(r3)
/* 80122894 0011E6D4 88 05 00 03 */ lbz r0, 0x3(r5)
/* 80122898 0011E6D8 98 03 00 13 */ stb r0, 0x13(r3)
/* 8012289C 0011E6DC 40 82 00 0C */ bne lbl_801228A8
/* 801228A0 0011E6E0 38 E3 00 18 */ addi r7, r3, 0x18
/* 801228A4 0011E6E4 48 00 00 08 */ b lbl_801228AC
.global lbl_801228A8
lbl_801228A8:
/* 801228A8 0011E6E8 38 E3 00 1C */ addi r7, r3, 0x1c
.global lbl_801228AC
lbl_801228AC:
/* 801228AC 0011E6EC 88 07 00 00 */ lbz r0, 0x0(r7)
/* 801228B0 0011E6F0 3C 80 80 81 */ lis r4, 0x80808081@ha
/* 801228B4 0011E6F4 98 03 00 14 */ stb r0, 0x14(r3)
/* 801228B8 0011E6F8 39 44 80 81 */ addi r10, r4, 0x80808081@l
/* 801228BC 0011E6FC 88 83 00 0B */ lbz r4, 0xb(r3)
/* 801228C0 0011E700 38 00 00 01 */ li r0, 0x1
/* 801228C4 0011E704 88 A7 00 01 */ lbz r5, 0x1(r7)
/* 801228C8 0011E708 98 A3 00 15 */ stb r5, 0x15(r3)
/* 801228CC 0011E70C 89 03 00 42 */ lbz r8, 0x42(r3)
/* 801228D0 0011E710 88 A7 00 02 */ lbz r5, 0x2(r7)
/* 801228D4 0011E714 98 A3 00 16 */ stb r5, 0x16(r3)
/* 801228D8 0011E718 7C C4 41 D6 */ mullw r6, r4, r8
/* 801228DC 0011E71C 88 A3 00 0F */ lbz r5, 0xf(r3)
/* 801228E0 0011E720 89 27 00 03 */ lbz r9, 0x3(r7)
/* 801228E4 0011E724 88 83 00 13 */ lbz r4, 0x13(r3)
/* 801228E8 0011E728 C0 02 95 68 */ lfs f0, "@6180"@sda21(r2)
/* 801228EC 0011E72C 7C E5 41 D6 */ mullw r7, r5, r8
/* 801228F0 0011E730 C0 22 95 6C */ lfs f1, "@6181"@sda21(r2)
/* 801228F4 0011E734 90 03 00 38 */ stw r0, 0x38(r3)
/* 801228F8 0011E738 90 03 00 3C */ stw r0, 0x3c(r3)
/* 801228FC 0011E73C 7C A4 41 D6 */ mullw r5, r4, r8
/* 80122900 0011E740 D0 23 00 24 */ stfs f1, 0x24(r3)
/* 80122904 0011E744 D0 23 00 28 */ stfs f1, 0x28(r3)
/* 80122908 0011E748 7C 89 41 D6 */ mullw r4, r9, r8
/* 8012290C 0011E74C D0 03 00 2C */ stfs f0, 0x2c(r3)
/* 80122910 0011E750 D0 03 00 30 */ stfs f0, 0x30(r3)
/* 80122914 0011E754 D0 03 00 34 */ stfs f0, 0x34(r3)
/* 80122918 0011E758 7D 0A 30 96 */ mulhw r8, r10, r6
/* 8012291C 0011E75C 7C 0A 38 96 */ mulhw r0, r10, r7
/* 80122920 0011E760 7C C8 32 14 */ add r6, r8, r6
/* 80122924 0011E764 7C C8 3E 70 */ srawi r8, r6, 7
/* 80122928 0011E768 7C CA 28 96 */ mulhw r6, r10, r5
/* 8012292C 0011E76C 55 09 0F FE */ srwi r9, r8, 31
/* 80122930 0011E770 7C 00 3A 14 */ add r0, r0, r7
/* 80122934 0011E774 7C E8 4A 14 */ add r7, r8, r9
/* 80122938 0011E778 98 E3 00 0B */ stb r7, 0xb(r3)
/* 8012293C 0011E77C 7C 07 3E 70 */ srawi r7, r0, 7
/* 80122940 0011E780 7C A6 2A 14 */ add r5, r6, r5
/* 80122944 0011E784 54 E6 0F FE */ srwi r6, r7, 31
/* 80122948 0011E788 7C 0A 20 96 */ mulhw r0, r10, r4
/* 8012294C 0011E78C 7C C7 32 14 */ add r6, r7, r6
/* 80122950 0011E790 98 C3 00 0F */ stb r6, 0xf(r3)
/* 80122954 0011E794 7C A5 3E 70 */ srawi r5, r5, 7
/* 80122958 0011E798 54 A6 0F FE */ srwi r6, r5, 31
/* 8012295C 0011E79C 7C 00 22 14 */ add r0, r0, r4
/* 80122960 0011E7A0 7C 00 3E 70 */ srawi r0, r0, 7
/* 80122964 0011E7A4 7C A5 32 14 */ add r5, r5, r6
/* 80122968 0011E7A8 54 04 0F FE */ srwi r4, r0, 31
/* 8012296C 0011E7AC 98 A3 00 13 */ stb r5, 0x13(r3)
/* 80122970 0011E7B0 7C 00 22 14 */ add r0, r0, r4
/* 80122974 0011E7B4 98 03 00 17 */ stb r0, 0x17(r3)
/* 80122978 0011E7B8 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8012297C 0011E7BC 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 80122980 0011E7C0 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 80122984 0011E7C4 83 81 00 20 */ lwz r28, 0x20(r1)
/* 80122988 0011E7C8 38 21 00 30 */ addi r1, r1, 0x30
/* 8012298C 0011E7CC 4E 80 00 20 */ blr
.global SetupGX__Q34nw4r2ut10CharWriterFv
SetupGX__Q34nw4r2ut10CharWriterFv:
/* 80122990 0011E7D0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80122994 0011E7D4 7C 08 02 A6 */ mflr r0
/* 80122998 0011E7D8 3C A0 80 54 */ lis r5, mLoadingTexture__Q34nw4r2ut10CharWriter@ha
/* 8012299C 0011E7DC 90 01 00 34 */ stw r0, 0x34(r1)
/* 801229A0 0011E7E0 38 85 30 60 */ addi r4, r5, mLoadingTexture__Q34nw4r2ut10CharWriter@l
/* 801229A4 0011E7E4 38 00 00 FF */ li r0, 0xff
/* 801229A8 0011E7E8 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 801229AC 0011E7EC 3B E0 00 00 */ li r31, 0x0
/* 801229B0 0011E7F0 90 05 30 60 */ stw r0, 0x3060(r5)
/* 801229B4 0011E7F4 93 E4 00 04 */ stw r31, 0x4(r4)
/* 801229B8 0011E7F8 80 03 00 00 */ lwz r0, 0x0(r3)
/* 801229BC 0011E7FC 2C 00 00 00 */ cmpwi r0, 0x0
/* 801229C0 0011E800 40 82 00 14 */ bne lbl_801229D4
/* 801229C4 0011E804 80 83 00 04 */ lwz r4, 0x4(r3)
/* 801229C8 0011E808 3C 04 00 01 */ addis r0, r4, 0x1
/* 801229CC 0011E80C 28 00 FF FF */ cmplwi r0, 0xffff
/* 801229D0 0011E810 41 82 00 24 */ beq lbl_801229F4
.global lbl_801229D4
lbl_801229D4:
/* 801229D4 0011E814 80 03 00 00 */ lwz r0, 0x0(r3)
/* 801229D8 0011E818 38 81 00 1C */ addi r4, r1, 0x1c
/* 801229DC 0011E81C 90 01 00 20 */ stw r0, 0x20(r1)
/* 801229E0 0011E820 80 03 00 04 */ lwz r0, 0x4(r3)
/* 801229E4 0011E824 38 61 00 20 */ addi r3, r1, 0x20
/* 801229E8 0011E828 90 01 00 1C */ stw r0, 0x1c(r1)
/* 801229EC 0011E82C 48 00 10 25 */ bl SetupGXWithColorMapping__Q34nw4r2ut10CharWriterFQ34nw4r2ut5ColorQ34nw4r2ut5Color
/* 801229F0 0011E830 48 00 08 BC */ b lbl_801232AC
.global lbl_801229F4
lbl_801229F4:
/* 801229F4 0011E834 80 63 00 48 */ lwz r3, 0x48(r3)
/* 801229F8 0011E838 2C 03 00 00 */ cmpwi r3, 0x0
/* 801229FC 0011E83C 41 82 07 14 */ beq lbl_80123110
/* 80122A00 0011E840 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80122A04 0011E844 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 80122A08 0011E848 7D 89 03 A6 */ mtctr r12
/* 80122A0C 0011E84C 4E 80 04 21 */ bctrl
/* 80122A10 0011E850 38 03 FF FC */ addi r0, r3, -0x4
/* 80122A14 0011E854 28 00 00 02 */ cmplwi r0, 0x2
/* 80122A18 0011E858 40 81 03 B8 */ ble lbl_80122DD0
/* 80122A1C 0011E85C 28 03 00 01 */ cmplwi r3, 0x1
/* 80122A20 0011E860 40 81 00 14 */ ble lbl_80122A34
/* 80122A24 0011E864 38 03 FF FE */ addi r0, r3, -0x2
/* 80122A28 0011E868 28 00 00 01 */ cmplwi r0, 0x1
/* 80122A2C 0011E86C 40 81 02 04 */ ble lbl_80122C30
/* 80122A30 0011E870 48 00 05 40 */ b lbl_80122F70
.global lbl_80122A34
lbl_80122A34:
/* 80122A34 0011E874 88 0D EC 78 */ lbz r0, "@GUARD@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80122A38 0011E878 7C 00 07 75 */ extsb. r0, r0
/* 80122A3C 0011E87C 40 82 00 10 */ bne lbl_80122A4C
/* 80122A40 0011E880 38 00 00 01 */ li r0, 0x1
/* 80122A44 0011E884 93 ED EC 7C */ stw r31, "@LOCAL@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80122A48 0011E888 98 0D EC 78 */ stb r0, "@GUARD@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
.global lbl_80122A4C
lbl_80122A4C:
/* 80122A4C 0011E88C C0 22 95 68 */ lfs f1, "@6180"@sda21(r2)
/* 80122A50 0011E890 38 81 00 18 */ addi r4, r1, 0x18
/* 80122A54 0011E894 80 0D EC 7C */ lwz r0, "@LOCAL@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80122A58 0011E898 38 60 00 00 */ li r3, 0x0
/* 80122A5C 0011E89C FC 40 08 90 */ fmr f2, f1
/* 80122A60 0011E8A0 90 01 00 18 */ stw r0, 0x18(r1)
/* 80122A64 0011E8A4 FC 60 08 90 */ fmr f3, f1
/* 80122A68 0011E8A8 FC 80 08 90 */ fmr f4, f1
/* 80122A6C 0011E8AC 4B F1 58 25 */ bl GXSetFog
/* 80122A70 0011E8B0 38 60 00 00 */ li r3, 0x0
/* 80122A74 0011E8B4 38 80 00 00 */ li r4, 0x0
/* 80122A78 0011E8B8 38 A0 00 01 */ li r5, 0x1
/* 80122A7C 0011E8BC 38 C0 00 02 */ li r6, 0x2
/* 80122A80 0011E8C0 38 E0 00 03 */ li r7, 0x3
/* 80122A84 0011E8C4 4B F1 55 2D */ bl GXSetTevSwapModeTable
/* 80122A88 0011E8C8 38 60 00 00 */ li r3, 0x0
/* 80122A8C 0011E8CC 38 80 00 11 */ li r4, 0x11
/* 80122A90 0011E8D0 38 A0 00 00 */ li r5, 0x0
/* 80122A94 0011E8D4 4B F1 55 DD */ bl GXSetZTexture
/* 80122A98 0011E8D8 38 60 00 01 */ li r3, 0x1
/* 80122A9C 0011E8DC 4B F1 3A 45 */ bl GXSetNumChans
/* 80122AA0 0011E8E0 38 60 00 04 */ li r3, 0x4
/* 80122AA4 0011E8E4 38 80 00 00 */ li r4, 0x0
/* 80122AA8 0011E8E8 38 A0 00 00 */ li r5, 0x0
/* 80122AAC 0011E8EC 38 C0 00 01 */ li r6, 0x1
/* 80122AB0 0011E8F0 38 E0 00 00 */ li r7, 0x0
/* 80122AB4 0011E8F4 39 00 00 00 */ li r8, 0x0
/* 80122AB8 0011E8F8 39 20 00 02 */ li r9, 0x2
/* 80122ABC 0011E8FC 4B F1 3A 55 */ bl GXSetChanCtrl
/* 80122AC0 0011E900 38 60 00 05 */ li r3, 0x5
/* 80122AC4 0011E904 38 80 00 00 */ li r4, 0x0
/* 80122AC8 0011E908 38 A0 00 00 */ li r5, 0x0
/* 80122ACC 0011E90C 38 C0 00 00 */ li r6, 0x0
/* 80122AD0 0011E910 38 E0 00 00 */ li r7, 0x0
/* 80122AD4 0011E914 39 00 00 00 */ li r8, 0x0
/* 80122AD8 0011E918 39 20 00 02 */ li r9, 0x2
/* 80122ADC 0011E91C 4B F1 3A 35 */ bl GXSetChanCtrl
/* 80122AE0 0011E920 38 60 00 01 */ li r3, 0x1
/* 80122AE4 0011E924 4B F1 1B FD */ bl GXSetNumTexGens
/* 80122AE8 0011E928 38 60 00 00 */ li r3, 0x0
/* 80122AEC 0011E92C 38 80 00 01 */ li r4, 0x1
/* 80122AF0 0011E930 38 A0 00 04 */ li r5, 0x4
/* 80122AF4 0011E934 38 C0 00 3C */ li r6, 0x3c
/* 80122AF8 0011E938 38 E0 00 00 */ li r7, 0x0
/* 80122AFC 0011E93C 39 00 00 7D */ li r8, 0x7d
/* 80122B00 0011E940 4B F1 19 91 */ bl GXSetTexCoordGen2
/* 80122B04 0011E944 38 60 00 00 */ li r3, 0x0
/* 80122B08 0011E948 4B F1 4F E9 */ bl GXSetNumIndStages
/* 80122B0C 0011E94C 38 60 00 01 */ li r3, 0x1
/* 80122B10 0011E950 38 80 00 04 */ li r4, 0x4
/* 80122B14 0011E954 38 A0 00 05 */ li r5, 0x5
/* 80122B18 0011E958 38 C0 00 0F */ li r6, 0xf
/* 80122B1C 0011E95C 4B F1 5C 15 */ bl GXSetBlendMode
/* 80122B20 0011E960 38 60 00 01 */ li r3, 0x1
/* 80122B24 0011E964 4B F1 57 3D */ bl GXSetNumTevStages
/* 80122B28 0011E968 38 60 00 00 */ li r3, 0x0
/* 80122B2C 0011E96C 4B F1 4F E5 */ bl GXSetTevDirect
/* 80122B30 0011E970 38 60 00 00 */ li r3, 0x0
/* 80122B34 0011E974 38 80 00 00 */ li r4, 0x0
/* 80122B38 0011E978 38 A0 00 00 */ li r5, 0x0
/* 80122B3C 0011E97C 4B F1 54 35 */ bl GXSetTevSwapMode
/* 80122B40 0011E980 38 60 00 00 */ li r3, 0x0
/* 80122B44 0011E984 38 80 00 00 */ li r4, 0x0
/* 80122B48 0011E988 38 A0 00 00 */ li r5, 0x0
/* 80122B4C 0011E98C 38 C0 00 04 */ li r6, 0x4
/* 80122B50 0011E990 4B F1 55 B1 */ bl GXSetTevOrder
/* 80122B54 0011E994 38 60 00 00 */ li r3, 0x0
/* 80122B58 0011E998 38 80 00 0F */ li r4, 0xf
/* 80122B5C 0011E99C 38 A0 00 0F */ li r5, 0xf
/* 80122B60 0011E9A0 38 C0 00 0F */ li r6, 0xf
/* 80122B64 0011E9A4 38 E0 00 0A */ li r7, 0xa
/* 80122B68 0011E9A8 4B F1 50 F9 */ bl GXSetTevColorIn
/* 80122B6C 0011E9AC 38 60 00 00 */ li r3, 0x0
/* 80122B70 0011E9B0 38 80 00 07 */ li r4, 0x7
/* 80122B74 0011E9B4 38 A0 00 04 */ li r5, 0x4
/* 80122B78 0011E9B8 38 C0 00 05 */ li r6, 0x5
/* 80122B7C 0011E9BC 38 E0 00 07 */ li r7, 0x7
/* 80122B80 0011E9C0 4B F1 51 21 */ bl GXSetTevAlphaIn
/* 80122B84 0011E9C4 38 60 00 00 */ li r3, 0x0
/* 80122B88 0011E9C8 38 80 00 00 */ li r4, 0x0
/* 80122B8C 0011E9CC 38 A0 00 00 */ li r5, 0x0
/* 80122B90 0011E9D0 38 C0 00 00 */ li r6, 0x0
/* 80122B94 0011E9D4 38 E0 00 01 */ li r7, 0x1
/* 80122B98 0011E9D8 39 00 00 00 */ li r8, 0x0
/* 80122B9C 0011E9DC 4B F1 51 45 */ bl GXSetTevColorOp
/* 80122BA0 0011E9E0 38 60 00 00 */ li r3, 0x0
/* 80122BA4 0011E9E4 38 80 00 00 */ li r4, 0x0
/* 80122BA8 0011E9E8 38 A0 00 00 */ li r5, 0x0
/* 80122BAC 0011E9EC 38 C0 00 00 */ li r6, 0x0
/* 80122BB0 0011E9F0 38 E0 00 01 */ li r7, 0x1
/* 80122BB4 0011E9F4 39 00 00 00 */ li r8, 0x0
/* 80122BB8 0011E9F8 4B F1 51 89 */ bl GXSetTevAlphaOp
/* 80122BBC 0011E9FC 38 60 00 00 */ li r3, 0x0
/* 80122BC0 0011EA00 38 80 00 09 */ li r4, 0x9
/* 80122BC4 0011EA04 38 A0 00 01 */ li r5, 0x1
/* 80122BC8 0011EA08 38 C0 00 04 */ li r6, 0x4
/* 80122BCC 0011EA0C 38 E0 00 00 */ li r7, 0x0
/* 80122BD0 0011EA10 4B F1 12 21 */ bl GXSetVtxAttrFmt
/* 80122BD4 0011EA14 38 60 00 00 */ li r3, 0x0
/* 80122BD8 0011EA18 38 80 00 0B */ li r4, 0xb
/* 80122BDC 0011EA1C 38 A0 00 01 */ li r5, 0x1
/* 80122BE0 0011EA20 38 C0 00 05 */ li r6, 0x5
/* 80122BE4 0011EA24 38 E0 00 00 */ li r7, 0x0
/* 80122BE8 0011EA28 4B F1 12 09 */ bl GXSetVtxAttrFmt
/* 80122BEC 0011EA2C 38 60 00 00 */ li r3, 0x0
/* 80122BF0 0011EA30 38 80 00 0D */ li r4, 0xd
/* 80122BF4 0011EA34 38 A0 00 01 */ li r5, 0x1
/* 80122BF8 0011EA38 38 C0 00 02 */ li r6, 0x2
/* 80122BFC 0011EA3C 38 E0 00 0F */ li r7, 0xf
/* 80122C00 0011EA40 4B F1 11 F1 */ bl GXSetVtxAttrFmt
/* 80122C04 0011EA44 4B F1 11 AD */ bl GXClearVtxDesc
/* 80122C08 0011EA48 38 60 00 09 */ li r3, 0x9
/* 80122C0C 0011EA4C 38 80 00 01 */ li r4, 0x1
/* 80122C10 0011EA50 4B F1 0B 91 */ bl GXSetVtxDesc
/* 80122C14 0011EA54 38 60 00 0B */ li r3, 0xb
/* 80122C18 0011EA58 38 80 00 01 */ li r4, 0x1
/* 80122C1C 0011EA5C 4B F1 0B 85 */ bl GXSetVtxDesc
/* 80122C20 0011EA60 38 60 00 0D */ li r3, 0xd
/* 80122C24 0011EA64 38 80 00 01 */ li r4, 0x1
/* 80122C28 0011EA68 4B F1 0B 79 */ bl GXSetVtxDesc
/* 80122C2C 0011EA6C 48 00 06 80 */ b lbl_801232AC
.global lbl_80122C30
lbl_80122C30:
/* 80122C30 0011EA70 88 0D EC 78 */ lbz r0, "@GUARD@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80122C34 0011EA74 7C 00 07 75 */ extsb. r0, r0
/* 80122C38 0011EA78 40 82 00 10 */ bne lbl_80122C48
/* 80122C3C 0011EA7C 38 00 00 01 */ li r0, 0x1
/* 80122C40 0011EA80 93 ED EC 7C */ stw r31, "@LOCAL@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80122C44 0011EA84 98 0D EC 78 */ stb r0, "@GUARD@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
.global lbl_80122C48
lbl_80122C48:
/* 80122C48 0011EA88 C0 22 95 68 */ lfs f1, "@6180"@sda21(r2)
/* 80122C4C 0011EA8C 38 81 00 14 */ addi r4, r1, 0x14
/* 80122C50 0011EA90 80 0D EC 7C */ lwz r0, "@LOCAL@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80122C54 0011EA94 38 60 00 00 */ li r3, 0x0
/* 80122C58 0011EA98 FC 40 08 90 */ fmr f2, f1
/* 80122C5C 0011EA9C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80122C60 0011EAA0 FC 60 08 90 */ fmr f3, f1
/* 80122C64 0011EAA4 FC 80 08 90 */ fmr f4, f1
/* 80122C68 0011EAA8 4B F1 56 29 */ bl GXSetFog
/* 80122C6C 0011EAAC 38 60 00 00 */ li r3, 0x0
/* 80122C70 0011EAB0 38 80 00 00 */ li r4, 0x0
/* 80122C74 0011EAB4 38 A0 00 01 */ li r5, 0x1
/* 80122C78 0011EAB8 38 C0 00 02 */ li r6, 0x2
/* 80122C7C 0011EABC 38 E0 00 03 */ li r7, 0x3
/* 80122C80 0011EAC0 4B F1 53 31 */ bl GXSetTevSwapModeTable
/* 80122C84 0011EAC4 38 60 00 00 */ li r3, 0x0
/* 80122C88 0011EAC8 38 80 00 11 */ li r4, 0x11
/* 80122C8C 0011EACC 38 A0 00 00 */ li r5, 0x0
/* 80122C90 0011EAD0 4B F1 53 E1 */ bl GXSetZTexture
/* 80122C94 0011EAD4 38 60 00 01 */ li r3, 0x1
/* 80122C98 0011EAD8 4B F1 38 49 */ bl GXSetNumChans
/* 80122C9C 0011EADC 38 60 00 04 */ li r3, 0x4
/* 80122CA0 0011EAE0 38 80 00 00 */ li r4, 0x0
/* 80122CA4 0011EAE4 38 A0 00 00 */ li r5, 0x0
/* 80122CA8 0011EAE8 38 C0 00 01 */ li r6, 0x1
/* 80122CAC 0011EAEC 38 E0 00 00 */ li r7, 0x0
/* 80122CB0 0011EAF0 39 00 00 00 */ li r8, 0x0
/* 80122CB4 0011EAF4 39 20 00 02 */ li r9, 0x2
/* 80122CB8 0011EAF8 4B F1 38 59 */ bl GXSetChanCtrl
/* 80122CBC 0011EAFC 38 60 00 05 */ li r3, 0x5
/* 80122CC0 0011EB00 38 80 00 00 */ li r4, 0x0
/* 80122CC4 0011EB04 38 A0 00 00 */ li r5, 0x0
/* 80122CC8 0011EB08 38 C0 00 00 */ li r6, 0x0
/* 80122CCC 0011EB0C 38 E0 00 00 */ li r7, 0x0
/* 80122CD0 0011EB10 39 00 00 00 */ li r8, 0x0
/* 80122CD4 0011EB14 39 20 00 02 */ li r9, 0x2
/* 80122CD8 0011EB18 4B F1 38 39 */ bl GXSetChanCtrl
/* 80122CDC 0011EB1C 38 60 00 01 */ li r3, 0x1
/* 80122CE0 0011EB20 4B F1 1A 01 */ bl GXSetNumTexGens
/* 80122CE4 0011EB24 38 60 00 00 */ li r3, 0x0
/* 80122CE8 0011EB28 38 80 00 01 */ li r4, 0x1
/* 80122CEC 0011EB2C 38 A0 00 04 */ li r5, 0x4
/* 80122CF0 0011EB30 38 C0 00 3C */ li r6, 0x3c
/* 80122CF4 0011EB34 38 E0 00 00 */ li r7, 0x0
/* 80122CF8 0011EB38 39 00 00 7D */ li r8, 0x7d
/* 80122CFC 0011EB3C 4B F1 17 95 */ bl GXSetTexCoordGen2
/* 80122D00 0011EB40 38 60 00 00 */ li r3, 0x0
/* 80122D04 0011EB44 4B F1 4D ED */ bl GXSetNumIndStages
/* 80122D08 0011EB48 38 60 00 01 */ li r3, 0x1
/* 80122D0C 0011EB4C 38 80 00 04 */ li r4, 0x4
/* 80122D10 0011EB50 38 A0 00 05 */ li r5, 0x5
/* 80122D14 0011EB54 38 C0 00 0F */ li r6, 0xf
/* 80122D18 0011EB58 4B F1 5A 19 */ bl GXSetBlendMode
/* 80122D1C 0011EB5C 38 60 00 01 */ li r3, 0x1
/* 80122D20 0011EB60 4B F1 55 41 */ bl GXSetNumTevStages
/* 80122D24 0011EB64 38 60 00 00 */ li r3, 0x0
/* 80122D28 0011EB68 4B F1 4D E9 */ bl GXSetTevDirect
/* 80122D2C 0011EB6C 38 60 00 00 */ li r3, 0x0
/* 80122D30 0011EB70 38 80 00 00 */ li r4, 0x0
/* 80122D34 0011EB74 38 A0 00 00 */ li r5, 0x0
/* 80122D38 0011EB78 4B F1 52 39 */ bl GXSetTevSwapMode
/* 80122D3C 0011EB7C 38 60 00 00 */ li r3, 0x0
/* 80122D40 0011EB80 38 80 00 00 */ li r4, 0x0
/* 80122D44 0011EB84 38 A0 00 00 */ li r5, 0x0
/* 80122D48 0011EB88 38 C0 00 04 */ li r6, 0x4
/* 80122D4C 0011EB8C 4B F1 53 B5 */ bl GXSetTevOrder
/* 80122D50 0011EB90 38 60 00 00 */ li r3, 0x0
/* 80122D54 0011EB94 38 80 00 00 */ li r4, 0x0
/* 80122D58 0011EB98 4B F1 4E 69 */ bl GXSetTevOp
/* 80122D5C 0011EB9C 38 60 00 00 */ li r3, 0x0
/* 80122D60 0011EBA0 38 80 00 09 */ li r4, 0x9
/* 80122D64 0011EBA4 38 A0 00 01 */ li r5, 0x1
/* 80122D68 0011EBA8 38 C0 00 04 */ li r6, 0x4
/* 80122D6C 0011EBAC 38 E0 00 00 */ li r7, 0x0
/* 80122D70 0011EBB0 4B F1 10 81 */ bl GXSetVtxAttrFmt
/* 80122D74 0011EBB4 38 60 00 00 */ li r3, 0x0
/* 80122D78 0011EBB8 38 80 00 0B */ li r4, 0xb
/* 80122D7C 0011EBBC 38 A0 00 01 */ li r5, 0x1
/* 80122D80 0011EBC0 38 C0 00 05 */ li r6, 0x5
/* 80122D84 0011EBC4 38 E0 00 00 */ li r7, 0x0
/* 80122D88 0011EBC8 4B F1 10 69 */ bl GXSetVtxAttrFmt
/* 80122D8C 0011EBCC 38 60 00 00 */ li r3, 0x0
/* 80122D90 0011EBD0 38 80 00 0D */ li r4, 0xd
/* 80122D94 0011EBD4 38 A0 00 01 */ li r5, 0x1
/* 80122D98 0011EBD8 38 C0 00 02 */ li r6, 0x2
/* 80122D9C 0011EBDC 38 E0 00 0F */ li r7, 0xf
/* 80122DA0 0011EBE0 4B F1 10 51 */ bl GXSetVtxAttrFmt
/* 80122DA4 0011EBE4 4B F1 10 0D */ bl GXClearVtxDesc
/* 80122DA8 0011EBE8 38 60 00 09 */ li r3, 0x9
/* 80122DAC 0011EBEC 38 80 00 01 */ li r4, 0x1
/* 80122DB0 0011EBF0 4B F1 09 F1 */ bl GXSetVtxDesc
/* 80122DB4 0011EBF4 38 60 00 0B */ li r3, 0xb
/* 80122DB8 0011EBF8 38 80 00 01 */ li r4, 0x1
/* 80122DBC 0011EBFC 4B F1 09 E5 */ bl GXSetVtxDesc
/* 80122DC0 0011EC00 38 60 00 0D */ li r3, 0xd
/* 80122DC4 0011EC04 38 80 00 01 */ li r4, 0x1
/* 80122DC8 0011EC08 4B F1 09 D9 */ bl GXSetVtxDesc
/* 80122DCC 0011EC0C 48 00 04 E0 */ b lbl_801232AC
.global lbl_80122DD0
lbl_80122DD0:
/* 80122DD0 0011EC10 88 0D EC 78 */ lbz r0, "@GUARD@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80122DD4 0011EC14 7C 00 07 75 */ extsb. r0, r0
/* 80122DD8 0011EC18 40 82 00 10 */ bne lbl_80122DE8
/* 80122DDC 0011EC1C 38 00 00 01 */ li r0, 0x1
/* 80122DE0 0011EC20 93 ED EC 7C */ stw r31, "@LOCAL@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80122DE4 0011EC24 98 0D EC 78 */ stb r0, "@GUARD@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
.global lbl_80122DE8
lbl_80122DE8:
/* 80122DE8 0011EC28 C0 22 95 68 */ lfs f1, "@6180"@sda21(r2)
/* 80122DEC 0011EC2C 38 81 00 10 */ addi r4, r1, 0x10
/* 80122DF0 0011EC30 80 0D EC 7C */ lwz r0, "@LOCAL@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80122DF4 0011EC34 38 60 00 00 */ li r3, 0x0
/* 80122DF8 0011EC38 FC 40 08 90 */ fmr f2, f1
/* 80122DFC 0011EC3C 90 01 00 10 */ stw r0, 0x10(r1)
/* 80122E00 0011EC40 FC 60 08 90 */ fmr f3, f1
/* 80122E04 0011EC44 FC 80 08 90 */ fmr f4, f1
/* 80122E08 0011EC48 4B F1 54 89 */ bl GXSetFog
/* 80122E0C 0011EC4C 38 60 00 00 */ li r3, 0x0
/* 80122E10 0011EC50 38 80 00 00 */ li r4, 0x0
/* 80122E14 0011EC54 38 A0 00 01 */ li r5, 0x1
/* 80122E18 0011EC58 38 C0 00 02 */ li r6, 0x2
/* 80122E1C 0011EC5C 38 E0 00 03 */ li r7, 0x3
/* 80122E20 0011EC60 4B F1 51 91 */ bl GXSetTevSwapModeTable
/* 80122E24 0011EC64 38 60 00 00 */ li r3, 0x0
/* 80122E28 0011EC68 38 80 00 11 */ li r4, 0x11
/* 80122E2C 0011EC6C 38 A0 00 00 */ li r5, 0x0
/* 80122E30 0011EC70 4B F1 52 41 */ bl GXSetZTexture
/* 80122E34 0011EC74 38 60 00 01 */ li r3, 0x1
/* 80122E38 0011EC78 4B F1 36 A9 */ bl GXSetNumChans
/* 80122E3C 0011EC7C 38 60 00 04 */ li r3, 0x4
/* 80122E40 0011EC80 38 80 00 00 */ li r4, 0x0
/* 80122E44 0011EC84 38 A0 00 00 */ li r5, 0x0
/* 80122E48 0011EC88 38 C0 00 01 */ li r6, 0x1
/* 80122E4C 0011EC8C 38 E0 00 00 */ li r7, 0x0
/* 80122E50 0011EC90 39 00 00 00 */ li r8, 0x0
/* 80122E54 0011EC94 39 20 00 02 */ li r9, 0x2
/* 80122E58 0011EC98 4B F1 36 B9 */ bl GXSetChanCtrl
/* 80122E5C 0011EC9C 38 60 00 05 */ li r3, 0x5
/* 80122E60 0011ECA0 38 80 00 00 */ li r4, 0x0
/* 80122E64 0011ECA4 38 A0 00 00 */ li r5, 0x0
/* 80122E68 0011ECA8 38 C0 00 00 */ li r6, 0x0
/* 80122E6C 0011ECAC 38 E0 00 00 */ li r7, 0x0
/* 80122E70 0011ECB0 39 00 00 00 */ li r8, 0x0
/* 80122E74 0011ECB4 39 20 00 02 */ li r9, 0x2
/* 80122E78 0011ECB8 4B F1 36 99 */ bl GXSetChanCtrl
/* 80122E7C 0011ECBC 38 60 00 01 */ li r3, 0x1
/* 80122E80 0011ECC0 4B F1 18 61 */ bl GXSetNumTexGens
/* 80122E84 0011ECC4 38 60 00 00 */ li r3, 0x0
/* 80122E88 0011ECC8 38 80 00 01 */ li r4, 0x1
/* 80122E8C 0011ECCC 38 A0 00 04 */ li r5, 0x4
/* 80122E90 0011ECD0 38 C0 00 3C */ li r6, 0x3c
/* 80122E94 0011ECD4 38 E0 00 00 */ li r7, 0x0
/* 80122E98 0011ECD8 39 00 00 7D */ li r8, 0x7d
/* 80122E9C 0011ECDC 4B F1 15 F5 */ bl GXSetTexCoordGen2
/* 80122EA0 0011ECE0 38 60 00 00 */ li r3, 0x0
/* 80122EA4 0011ECE4 4B F1 4C 4D */ bl GXSetNumIndStages
/* 80122EA8 0011ECE8 38 60 00 01 */ li r3, 0x1
/* 80122EAC 0011ECEC 38 80 00 04 */ li r4, 0x4
/* 80122EB0 0011ECF0 38 A0 00 05 */ li r5, 0x5
/* 80122EB4 0011ECF4 38 C0 00 0F */ li r6, 0xf
/* 80122EB8 0011ECF8 4B F1 58 79 */ bl GXSetBlendMode
/* 80122EBC 0011ECFC 38 60 00 01 */ li r3, 0x1
/* 80122EC0 0011ED00 4B F1 53 A1 */ bl GXSetNumTevStages
/* 80122EC4 0011ED04 38 60 00 00 */ li r3, 0x0
/* 80122EC8 0011ED08 4B F1 4C 49 */ bl GXSetTevDirect
/* 80122ECC 0011ED0C 38 60 00 00 */ li r3, 0x0
/* 80122ED0 0011ED10 38 80 00 00 */ li r4, 0x0
/* 80122ED4 0011ED14 38 A0 00 00 */ li r5, 0x0
/* 80122ED8 0011ED18 4B F1 50 99 */ bl GXSetTevSwapMode
/* 80122EDC 0011ED1C 38 60 00 00 */ li r3, 0x0
/* 80122EE0 0011ED20 38 80 00 00 */ li r4, 0x0
/* 80122EE4 0011ED24 38 A0 00 00 */ li r5, 0x0
/* 80122EE8 0011ED28 38 C0 00 04 */ li r6, 0x4
/* 80122EEC 0011ED2C 4B F1 52 15 */ bl GXSetTevOrder
/* 80122EF0 0011ED30 38 60 00 00 */ li r3, 0x0
/* 80122EF4 0011ED34 38 80 00 00 */ li r4, 0x0
/* 80122EF8 0011ED38 4B F1 4C C9 */ bl GXSetTevOp
/* 80122EFC 0011ED3C 38 60 00 00 */ li r3, 0x0
/* 80122F00 0011ED40 38 80 00 09 */ li r4, 0x9
/* 80122F04 0011ED44 38 A0 00 01 */ li r5, 0x1
/* 80122F08 0011ED48 38 C0 00 04 */ li r6, 0x4
/* 80122F0C 0011ED4C 38 E0 00 00 */ li r7, 0x0
/* 80122F10 0011ED50 4B F1 0E E1 */ bl GXSetVtxAttrFmt
/* 80122F14 0011ED54 38 60 00 00 */ li r3, 0x0
/* 80122F18 0011ED58 38 80 00 0B */ li r4, 0xb
/* 80122F1C 0011ED5C 38 A0 00 01 */ li r5, 0x1
/* 80122F20 0011ED60 38 C0 00 05 */ li r6, 0x5
/* 80122F24 0011ED64 38 E0 00 00 */ li r7, 0x0
/* 80122F28 0011ED68 4B F1 0E C9 */ bl GXSetVtxAttrFmt
/* 80122F2C 0011ED6C 38 60 00 00 */ li r3, 0x0
/* 80122F30 0011ED70 38 80 00 0D */ li r4, 0xd
/* 80122F34 0011ED74 38 A0 00 01 */ li r5, 0x1
/* 80122F38 0011ED78 38 C0 00 02 */ li r6, 0x2
/* 80122F3C 0011ED7C 38 E0 00 0F */ li r7, 0xf
/* 80122F40 0011ED80 4B F1 0E B1 */ bl GXSetVtxAttrFmt
/* 80122F44 0011ED84 4B F1 0E 6D */ bl GXClearVtxDesc
/* 80122F48 0011ED88 38 60 00 09 */ li r3, 0x9
/* 80122F4C 0011ED8C 38 80 00 01 */ li r4, 0x1
/* 80122F50 0011ED90 4B F1 08 51 */ bl GXSetVtxDesc
/* 80122F54 0011ED94 38 60 00 0B */ li r3, 0xb
/* 80122F58 0011ED98 38 80 00 01 */ li r4, 0x1
/* 80122F5C 0011ED9C 4B F1 08 45 */ bl GXSetVtxDesc
/* 80122F60 0011EDA0 38 60 00 0D */ li r3, 0xd
/* 80122F64 0011EDA4 38 80 00 01 */ li r4, 0x1
/* 80122F68 0011EDA8 4B F1 08 39 */ bl GXSetVtxDesc
/* 80122F6C 0011EDAC 48 00 03 40 */ b lbl_801232AC
.global lbl_80122F70
lbl_80122F70:
/* 80122F70 0011EDB0 88 0D EC 78 */ lbz r0, "@GUARD@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80122F74 0011EDB4 7C 00 07 75 */ extsb. r0, r0
/* 80122F78 0011EDB8 40 82 00 10 */ bne lbl_80122F88
/* 80122F7C 0011EDBC 38 00 00 01 */ li r0, 0x1
/* 80122F80 0011EDC0 93 ED EC 7C */ stw r31, "@LOCAL@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80122F84 0011EDC4 98 0D EC 78 */ stb r0, "@GUARD@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
.global lbl_80122F88
lbl_80122F88:
/* 80122F88 0011EDC8 C0 22 95 68 */ lfs f1, "@6180"@sda21(r2)
/* 80122F8C 0011EDCC 38 81 00 0C */ addi r4, r1, 0xc
/* 80122F90 0011EDD0 80 0D EC 7C */ lwz r0, "@LOCAL@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80122F94 0011EDD4 38 60 00 00 */ li r3, 0x0
/* 80122F98 0011EDD8 FC 40 08 90 */ fmr f2, f1
/* 80122F9C 0011EDDC 90 01 00 0C */ stw r0, 0xc(r1)
/* 80122FA0 0011EDE0 FC 60 08 90 */ fmr f3, f1
/* 80122FA4 0011EDE4 FC 80 08 90 */ fmr f4, f1
/* 80122FA8 0011EDE8 4B F1 52 E9 */ bl GXSetFog
/* 80122FAC 0011EDEC 38 60 00 00 */ li r3, 0x0
/* 80122FB0 0011EDF0 38 80 00 00 */ li r4, 0x0
/* 80122FB4 0011EDF4 38 A0 00 01 */ li r5, 0x1
/* 80122FB8 0011EDF8 38 C0 00 02 */ li r6, 0x2
/* 80122FBC 0011EDFC 38 E0 00 03 */ li r7, 0x3
/* 80122FC0 0011EE00 4B F1 4F F1 */ bl GXSetTevSwapModeTable
/* 80122FC4 0011EE04 38 60 00 00 */ li r3, 0x0
/* 80122FC8 0011EE08 38 80 00 11 */ li r4, 0x11
/* 80122FCC 0011EE0C 38 A0 00 00 */ li r5, 0x0
/* 80122FD0 0011EE10 4B F1 50 A1 */ bl GXSetZTexture
/* 80122FD4 0011EE14 38 60 00 01 */ li r3, 0x1
/* 80122FD8 0011EE18 4B F1 35 09 */ bl GXSetNumChans
/* 80122FDC 0011EE1C 38 60 00 04 */ li r3, 0x4
/* 80122FE0 0011EE20 38 80 00 00 */ li r4, 0x0
/* 80122FE4 0011EE24 38 A0 00 00 */ li r5, 0x0
/* 80122FE8 0011EE28 38 C0 00 01 */ li r6, 0x1
/* 80122FEC 0011EE2C 38 E0 00 00 */ li r7, 0x0
/* 80122FF0 0011EE30 39 00 00 00 */ li r8, 0x0
/* 80122FF4 0011EE34 39 20 00 02 */ li r9, 0x2
/* 80122FF8 0011EE38 4B F1 35 19 */ bl GXSetChanCtrl
/* 80122FFC 0011EE3C 38 60 00 05 */ li r3, 0x5
/* 80123000 0011EE40 38 80 00 00 */ li r4, 0x0
/* 80123004 0011EE44 38 A0 00 00 */ li r5, 0x0
/* 80123008 0011EE48 38 C0 00 00 */ li r6, 0x0
/* 8012300C 0011EE4C 38 E0 00 00 */ li r7, 0x0
/* 80123010 0011EE50 39 00 00 00 */ li r8, 0x0
/* 80123014 0011EE54 39 20 00 02 */ li r9, 0x2
/* 80123018 0011EE58 4B F1 34 F9 */ bl GXSetChanCtrl
/* 8012301C 0011EE5C 38 60 00 01 */ li r3, 0x1
/* 80123020 0011EE60 4B F1 16 C1 */ bl GXSetNumTexGens
/* 80123024 0011EE64 38 60 00 00 */ li r3, 0x0
/* 80123028 0011EE68 38 80 00 01 */ li r4, 0x1
/* 8012302C 0011EE6C 38 A0 00 04 */ li r5, 0x4
/* 80123030 0011EE70 38 C0 00 3C */ li r6, 0x3c
/* 80123034 0011EE74 38 E0 00 00 */ li r7, 0x0
/* 80123038 0011EE78 39 00 00 7D */ li r8, 0x7d
/* 8012303C 0011EE7C 4B F1 14 55 */ bl GXSetTexCoordGen2
/* 80123040 0011EE80 38 60 00 00 */ li r3, 0x0
/* 80123044 0011EE84 4B F1 4A AD */ bl GXSetNumIndStages
/* 80123048 0011EE88 38 60 00 01 */ li r3, 0x1
/* 8012304C 0011EE8C 38 80 00 04 */ li r4, 0x4
/* 80123050 0011EE90 38 A0 00 05 */ li r5, 0x5
/* 80123054 0011EE94 38 C0 00 0F */ li r6, 0xf
/* 80123058 0011EE98 4B F1 56 D9 */ bl GXSetBlendMode
/* 8012305C 0011EE9C 38 60 00 01 */ li r3, 0x1
/* 80123060 0011EEA0 4B F1 52 01 */ bl GXSetNumTevStages
/* 80123064 0011EEA4 38 60 00 00 */ li r3, 0x0
/* 80123068 0011EEA8 4B F1 4A A9 */ bl GXSetTevDirect
/* 8012306C 0011EEAC 38 60 00 00 */ li r3, 0x0
/* 80123070 0011EEB0 38 80 00 00 */ li r4, 0x0
/* 80123074 0011EEB4 38 A0 00 00 */ li r5, 0x0
/* 80123078 0011EEB8 4B F1 4E F9 */ bl GXSetTevSwapMode
/* 8012307C 0011EEBC 38 60 00 00 */ li r3, 0x0
/* 80123080 0011EEC0 38 80 00 00 */ li r4, 0x0
/* 80123084 0011EEC4 38 A0 00 00 */ li r5, 0x0
/* 80123088 0011EEC8 38 C0 00 04 */ li r6, 0x4
/* 8012308C 0011EECC 4B F1 50 75 */ bl GXSetTevOrder
/* 80123090 0011EED0 38 60 00 00 */ li r3, 0x0
/* 80123094 0011EED4 38 80 00 00 */ li r4, 0x0
/* 80123098 0011EED8 4B F1 4B 29 */ bl GXSetTevOp
/* 8012309C 0011EEDC 38 60 00 00 */ li r3, 0x0
/* 801230A0 0011EEE0 38 80 00 09 */ li r4, 0x9
/* 801230A4 0011EEE4 38 A0 00 01 */ li r5, 0x1
/* 801230A8 0011EEE8 38 C0 00 04 */ li r6, 0x4
/* 801230AC 0011EEEC 38 E0 00 00 */ li r7, 0x0
/* 801230B0 0011EEF0 4B F1 0D 41 */ bl GXSetVtxAttrFmt
/* 801230B4 0011EEF4 38 60 00 00 */ li r3, 0x0
/* 801230B8 0011EEF8 38 80 00 0B */ li r4, 0xb
/* 801230BC 0011EEFC 38 A0 00 01 */ li r5, 0x1
/* 801230C0 0011EF00 38 C0 00 05 */ li r6, 0x5
/* 801230C4 0011EF04 38 E0 00 00 */ li r7, 0x0
/* 801230C8 0011EF08 4B F1 0D 29 */ bl GXSetVtxAttrFmt
/* 801230CC 0011EF0C 38 60 00 00 */ li r3, 0x0
/* 801230D0 0011EF10 38 80 00 0D */ li r4, 0xd
/* 801230D4 0011EF14 38 A0 00 01 */ li r5, 0x1
/* 801230D8 0011EF18 38 C0 00 02 */ li r6, 0x2
/* 801230DC 0011EF1C 38 E0 00 0F */ li r7, 0xf
/* 801230E0 0011EF20 4B F1 0D 11 */ bl GXSetVtxAttrFmt
/* 801230E4 0011EF24 4B F1 0C CD */ bl GXClearVtxDesc
/* 801230E8 0011EF28 38 60 00 09 */ li r3, 0x9
/* 801230EC 0011EF2C 38 80 00 01 */ li r4, 0x1
/* 801230F0 0011EF30 4B F1 06 B1 */ bl GXSetVtxDesc
/* 801230F4 0011EF34 38 60 00 0B */ li r3, 0xb
/* 801230F8 0011EF38 38 80 00 01 */ li r4, 0x1
/* 801230FC 0011EF3C 4B F1 06 A5 */ bl GXSetVtxDesc
/* 80123100 0011EF40 38 60 00 0D */ li r3, 0xd
/* 80123104 0011EF44 38 80 00 01 */ li r4, 0x1
/* 80123108 0011EF48 4B F1 06 99 */ bl GXSetVtxDesc
/* 8012310C 0011EF4C 48 00 01 A0 */ b lbl_801232AC
.global lbl_80123110
lbl_80123110:
/* 80123110 0011EF50 88 0D EC 78 */ lbz r0, "@GUARD@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80123114 0011EF54 7C 00 07 75 */ extsb. r0, r0
/* 80123118 0011EF58 40 82 00 10 */ bne lbl_80123128
/* 8012311C 0011EF5C 38 00 00 01 */ li r0, 0x1
/* 80123120 0011EF60 93 ED EC 7C */ stw r31, "@LOCAL@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80123124 0011EF64 98 0D EC 78 */ stb r0, "@GUARD@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
.global lbl_80123128
lbl_80123128:
/* 80123128 0011EF68 C0 22 95 68 */ lfs f1, "@6180"@sda21(r2)
/* 8012312C 0011EF6C 38 81 00 08 */ addi r4, r1, 0x8
/* 80123130 0011EF70 80 0D EC 7C */ lwz r0, "@LOCAL@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80123134 0011EF74 38 60 00 00 */ li r3, 0x0
/* 80123138 0011EF78 FC 40 08 90 */ fmr f2, f1
/* 8012313C 0011EF7C 90 01 00 08 */ stw r0, 0x8(r1)
/* 80123140 0011EF80 FC 60 08 90 */ fmr f3, f1
/* 80123144 0011EF84 FC 80 08 90 */ fmr f4, f1
/* 80123148 0011EF88 4B F1 51 49 */ bl GXSetFog
/* 8012314C 0011EF8C 38 60 00 00 */ li r3, 0x0
/* 80123150 0011EF90 38 80 00 00 */ li r4, 0x0
/* 80123154 0011EF94 38 A0 00 01 */ li r5, 0x1
/* 80123158 0011EF98 38 C0 00 02 */ li r6, 0x2
/* 8012315C 0011EF9C 38 E0 00 03 */ li r7, 0x3
/* 80123160 0011EFA0 4B F1 4E 51 */ bl GXSetTevSwapModeTable
/* 80123164 0011EFA4 38 60 00 00 */ li r3, 0x0
/* 80123168 0011EFA8 38 80 00 11 */ li r4, 0x11
/* 8012316C 0011EFAC 38 A0 00 00 */ li r5, 0x0
/* 80123170 0011EFB0 4B F1 4F 01 */ bl GXSetZTexture
/* 80123174 0011EFB4 38 60 00 01 */ li r3, 0x1
/* 80123178 0011EFB8 4B F1 33 69 */ bl GXSetNumChans
/* 8012317C 0011EFBC 38 60 00 04 */ li r3, 0x4
/* 80123180 0011EFC0 38 80 00 00 */ li r4, 0x0
/* 80123184 0011EFC4 38 A0 00 00 */ li r5, 0x0
/* 80123188 0011EFC8 38 C0 00 01 */ li r6, 0x1
/* 8012318C 0011EFCC 38 E0 00 00 */ li r7, 0x0
/* 80123190 0011EFD0 39 00 00 00 */ li r8, 0x0
/* 80123194 0011EFD4 39 20 00 02 */ li r9, 0x2
/* 80123198 0011EFD8 4B F1 33 79 */ bl GXSetChanCtrl
/* 8012319C 0011EFDC 38 60 00 05 */ li r3, 0x5
/* 801231A0 0011EFE0 38 80 00 00 */ li r4, 0x0
/* 801231A4 0011EFE4 38 A0 00 00 */ li r5, 0x0
/* 801231A8 0011EFE8 38 C0 00 00 */ li r6, 0x0
/* 801231AC 0011EFEC 38 E0 00 00 */ li r7, 0x0
/* 801231B0 0011EFF0 39 00 00 00 */ li r8, 0x0
/* 801231B4 0011EFF4 39 20 00 02 */ li r9, 0x2
/* 801231B8 0011EFF8 4B F1 33 59 */ bl GXSetChanCtrl
/* 801231BC 0011EFFC 38 60 00 01 */ li r3, 0x1
/* 801231C0 0011F000 4B F1 15 21 */ bl GXSetNumTexGens
/* 801231C4 0011F004 38 60 00 00 */ li r3, 0x0
/* 801231C8 0011F008 38 80 00 01 */ li r4, 0x1
/* 801231CC 0011F00C 38 A0 00 04 */ li r5, 0x4
/* 801231D0 0011F010 38 C0 00 3C */ li r6, 0x3c
/* 801231D4 0011F014 38 E0 00 00 */ li r7, 0x0
/* 801231D8 0011F018 39 00 00 7D */ li r8, 0x7d
/* 801231DC 0011F01C 4B F1 12 B5 */ bl GXSetTexCoordGen2
/* 801231E0 0011F020 38 60 00 00 */ li r3, 0x0
/* 801231E4 0011F024 4B F1 49 0D */ bl GXSetNumIndStages
/* 801231E8 0011F028 38 60 00 01 */ li r3, 0x1
/* 801231EC 0011F02C 38 80 00 04 */ li r4, 0x4
/* 801231F0 0011F030 38 A0 00 05 */ li r5, 0x5
/* 801231F4 0011F034 38 C0 00 0F */ li r6, 0xf
/* 801231F8 0011F038 4B F1 55 39 */ bl GXSetBlendMode
/* 801231FC 0011F03C 38 60 00 01 */ li r3, 0x1
/* 80123200 0011F040 4B F1 50 61 */ bl GXSetNumTevStages
/* 80123204 0011F044 38 60 00 00 */ li r3, 0x0
/* 80123208 0011F048 4B F1 49 09 */ bl GXSetTevDirect
/* 8012320C 0011F04C 38 60 00 00 */ li r3, 0x0
/* 80123210 0011F050 38 80 00 00 */ li r4, 0x0
/* 80123214 0011F054 38 A0 00 00 */ li r5, 0x0
/* 80123218 0011F058 4B F1 4D 59 */ bl GXSetTevSwapMode
/* 8012321C 0011F05C 38 60 00 00 */ li r3, 0x0
/* 80123220 0011F060 38 80 00 00 */ li r4, 0x0
/* 80123224 0011F064 38 A0 00 00 */ li r5, 0x0
/* 80123228 0011F068 38 C0 00 04 */ li r6, 0x4
/* 8012322C 0011F06C 4B F1 4E D5 */ bl GXSetTevOrder
/* 80123230 0011F070 38 60 00 00 */ li r3, 0x0
/* 80123234 0011F074 38 80 00 00 */ li r4, 0x0
/* 80123238 0011F078 4B F1 49 89 */ bl GXSetTevOp
/* 8012323C 0011F07C 38 60 00 00 */ li r3, 0x0
/* 80123240 0011F080 38 80 00 09 */ li r4, 0x9
/* 80123244 0011F084 38 A0 00 01 */ li r5, 0x1
/* 80123248 0011F088 38 C0 00 04 */ li r6, 0x4
/* 8012324C 0011F08C 38 E0 00 00 */ li r7, 0x0
/* 80123250 0011F090 4B F1 0B A1 */ bl GXSetVtxAttrFmt
/* 80123254 0011F094 38 60 00 00 */ li r3, 0x0
/* 80123258 0011F098 38 80 00 0B */ li r4, 0xb
/* 8012325C 0011F09C 38 A0 00 01 */ li r5, 0x1
/* 80123260 0011F0A0 38 C0 00 05 */ li r6, 0x5
/* 80123264 0011F0A4 38 E0 00 00 */ li r7, 0x0
/* 80123268 0011F0A8 4B F1 0B 89 */ bl GXSetVtxAttrFmt
/* 8012326C 0011F0AC 38 60 00 00 */ li r3, 0x0
/* 80123270 0011F0B0 38 80 00 0D */ li r4, 0xd
/* 80123274 0011F0B4 38 A0 00 01 */ li r5, 0x1
/* 80123278 0011F0B8 38 C0 00 02 */ li r6, 0x2
/* 8012327C 0011F0BC 38 E0 00 0F */ li r7, 0xf
/* 80123280 0011F0C0 4B F1 0B 71 */ bl GXSetVtxAttrFmt
/* 80123284 0011F0C4 4B F1 0B 2D */ bl GXClearVtxDesc
/* 80123288 0011F0C8 38 60 00 09 */ li r3, 0x9
/* 8012328C 0011F0CC 38 80 00 01 */ li r4, 0x1
/* 80123290 0011F0D0 4B F1 05 11 */ bl GXSetVtxDesc
/* 80123294 0011F0D4 38 60 00 0B */ li r3, 0xb
/* 80123298 0011F0D8 38 80 00 01 */ li r4, 0x1
/* 8012329C 0011F0DC 4B F1 05 05 */ bl GXSetVtxDesc
/* 801232A0 0011F0E0 38 60 00 0D */ li r3, 0xd
/* 801232A4 0011F0E4 38 80 00 01 */ li r4, 0x1
/* 801232A8 0011F0E8 4B F1 04 F9 */ bl GXSetVtxDesc
.global lbl_801232AC
lbl_801232AC:
/* 801232AC 0011F0EC 80 01 00 34 */ lwz r0, 0x34(r1)
/* 801232B0 0011F0F0 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 801232B4 0011F0F4 7C 08 03 A6 */ mtlr r0
/* 801232B8 0011F0F8 38 21 00 30 */ addi r1, r1, 0x30
/* 801232BC 0011F0FC 4E 80 00 20 */ blr
.global SetFontSize__Q34nw4r2ut10CharWriterFff
SetFontSize__Q34nw4r2ut10CharWriterFff:
/* 801232C0 0011F100 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 801232C4 0011F104 7C 08 02 A6 */ mflr r0
/* 801232C8 0011F108 90 01 00 44 */ stw r0, 0x44(r1)
/* 801232CC 0011F10C DB E1 00 30 */ stfd f31, 0x30(r1)
/* 801232D0 0011F110 F3 E1 00 38 */ psq_st f31, 0x38(r1), 0, qr0
/* 801232D4 0011F114 FF E0 10 90 */ fmr f31, f2
/* 801232D8 0011F118 DB C1 00 20 */ stfd f30, 0x20(r1)
/* 801232DC 0011F11C F3 C1 00 28 */ psq_st f30, 0x28(r1), 0, qr0
/* 801232E0 0011F120 FF C0 08 90 */ fmr f30, f1
/* 801232E4 0011F124 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801232E8 0011F128 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801232EC 0011F12C 7C 7E 1B 78 */ mr r30, r3
/* 801232F0 0011F130 80 63 00 48 */ lwz r3, 0x48(r3)
/* 801232F4 0011F134 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801232F8 0011F138 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 801232FC 0011F13C 7D 89 03 A6 */ mtctr r12
/* 80123300 0011F140 4E 80 04 21 */ bctrl
/* 80123304 0011F144 6C 60 80 00 */ xoris r0, r3, 0x8000
/* 80123308 0011F148 3F E0 43 30 */ lis r31, 0x4330
/* 8012330C 0011F14C 90 01 00 0C */ stw r0, 0xc(r1)
/* 80123310 0011F150 C8 22 95 70 */ lfd f1, "@6269"@sda21(r2)
/* 80123314 0011F154 93 E1 00 08 */ stw r31, 0x8(r1)
/* 80123318 0011F158 80 7E 00 48 */ lwz r3, 0x48(r30)
/* 8012331C 0011F15C C8 01 00 08 */ lfd f0, 0x8(r1)
/* 80123320 0011F160 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80123324 0011F164 EC 00 08 28 */ fsubs f0, f0, f1
/* 80123328 0011F168 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8012332C 0011F16C EF FF 00 24 */ fdivs f31, f31, f0
/* 80123330 0011F170 7D 89 03 A6 */ mtctr r12
/* 80123334 0011F174 4E 80 04 21 */ bctrl
/* 80123338 0011F178 6C 60 80 00 */ xoris r0, r3, 0x8000
/* 8012333C 0011F17C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80123340 0011F180 C8 22 95 70 */ lfd f1, "@6269"@sda21(r2)
/* 80123344 0011F184 93 E1 00 10 */ stw r31, 0x10(r1)
/* 80123348 0011F188 C8 01 00 10 */ lfd f0, 0x10(r1)
/* 8012334C 0011F18C D3 FE 00 28 */ stfs f31, 0x28(r30)
/* 80123350 0011F190 EC 00 08 28 */ fsubs f0, f0, f1
/* 80123354 0011F194 EC 1E 00 24 */ fdivs f0, f30, f0
/* 80123358 0011F198 D0 1E 00 24 */ stfs f0, 0x24(r30)
/* 8012335C 0011F19C E3 E1 00 38 */ psq_l f31, 0x38(r1), 0, qr0
/* 80123360 0011F1A0 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 80123364 0011F1A4 E3 C1 00 28 */ psq_l f30, 0x28(r1), 0, qr0
/* 80123368 0011F1A8 CB C1 00 20 */ lfd f30, 0x20(r1)
/* 8012336C 0011F1AC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80123370 0011F1B0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80123374 0011F1B4 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80123378 0011F1B8 7C 08 03 A6 */ mtlr r0
/* 8012337C 0011F1BC 38 21 00 40 */ addi r1, r1, 0x40
/* 80123380 0011F1C0 4E 80 00 20 */ blr
/* 80123384 0011F1C4 00 00 00 00 */ .4byte 0x00000000
/* 80123388 0011F1C8 00 00 00 00 */ .4byte 0x00000000
/* 8012338C 0011F1CC 00 00 00 00 */ .4byte 0x00000000
.global GetFontWidth__Q34nw4r2ut10CharWriterCFv
GetFontWidth__Q34nw4r2ut10CharWriterCFv:
/* 80123390 0011F1D0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80123394 0011F1D4 7C 08 02 A6 */ mflr r0
/* 80123398 0011F1D8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8012339C 0011F1DC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801233A0 0011F1E0 7C 7F 1B 78 */ mr r31, r3
/* 801233A4 0011F1E4 80 63 00 48 */ lwz r3, 0x48(r3)
/* 801233A8 0011F1E8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801233AC 0011F1EC 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 801233B0 0011F1F0 7D 89 03 A6 */ mtctr r12
/* 801233B4 0011F1F4 4E 80 04 21 */ bctrl
/* 801233B8 0011F1F8 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 801233BC 0011F1FC 3C 00 43 30 */ lis r0, 0x4330
/* 801233C0 0011F200 90 61 00 0C */ stw r3, 0xc(r1)
/* 801233C4 0011F204 C8 42 95 70 */ lfd f2, "@6269"@sda21(r2)
/* 801233C8 0011F208 90 01 00 08 */ stw r0, 0x8(r1)
/* 801233CC 0011F20C C0 1F 00 24 */ lfs f0, 0x24(r31)
/* 801233D0 0011F210 C8 21 00 08 */ lfd f1, 0x8(r1)
/* 801233D4 0011F214 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801233D8 0011F218 EC 21 10 28 */ fsubs f1, f1, f2
/* 801233DC 0011F21C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801233E0 0011F220 EC 20 00 72 */ fmuls f1, f0, f1
/* 801233E4 0011F224 7C 08 03 A6 */ mtlr r0
/* 801233E8 0011F228 38 21 00 20 */ addi r1, r1, 0x20
/* 801233EC 0011F22C 4E 80 00 20 */ blr
.global GetFontHeight__Q34nw4r2ut10CharWriterCFv
GetFontHeight__Q34nw4r2ut10CharWriterCFv:
/* 801233F0 0011F230 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801233F4 0011F234 7C 08 02 A6 */ mflr r0
/* 801233F8 0011F238 90 01 00 24 */ stw r0, 0x24(r1)
/* 801233FC 0011F23C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80123400 0011F240 7C 7F 1B 78 */ mr r31, r3
/* 80123404 0011F244 80 63 00 48 */ lwz r3, 0x48(r3)
/* 80123408 0011F248 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012340C 0011F24C 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 80123410 0011F250 7D 89 03 A6 */ mtctr r12
/* 80123414 0011F254 4E 80 04 21 */ bctrl
/* 80123418 0011F258 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8012341C 0011F25C 3C 00 43 30 */ lis r0, 0x4330
/* 80123420 0011F260 90 61 00 0C */ stw r3, 0xc(r1)
/* 80123424 0011F264 C8 42 95 70 */ lfd f2, "@6269"@sda21(r2)
/* 80123428 0011F268 90 01 00 08 */ stw r0, 0x8(r1)
/* 8012342C 0011F26C C0 1F 00 28 */ lfs f0, 0x28(r31)
/* 80123430 0011F270 C8 21 00 08 */ lfd f1, 0x8(r1)
/* 80123434 0011F274 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80123438 0011F278 EC 21 10 28 */ fsubs f1, f1, f2
/* 8012343C 0011F27C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80123440 0011F280 EC 20 00 72 */ fmuls f1, f0, f1
/* 80123444 0011F284 7C 08 03 A6 */ mtlr r0
/* 80123448 0011F288 38 21 00 20 */ addi r1, r1, 0x20
/* 8012344C 0011F28C 4E 80 00 20 */ blr
.global GetFontAscent__Q34nw4r2ut10CharWriterCFv
GetFontAscent__Q34nw4r2ut10CharWriterCFv:
/* 80123450 0011F290 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80123454 0011F294 7C 08 02 A6 */ mflr r0
/* 80123458 0011F298 90 01 00 24 */ stw r0, 0x24(r1)
/* 8012345C 0011F29C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80123460 0011F2A0 7C 7F 1B 78 */ mr r31, r3
/* 80123464 0011F2A4 80 63 00 48 */ lwz r3, 0x48(r3)
/* 80123468 0011F2A8 81 83 00 00 */ lwz r12, 0x0(r3)
/* 8012346C 0011F2AC 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 80123470 0011F2B0 7D 89 03 A6 */ mtctr r12
/* 80123474 0011F2B4 4E 80 04 21 */ bctrl
/* 80123478 0011F2B8 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 8012347C 0011F2BC 3C 00 43 30 */ lis r0, 0x4330
/* 80123480 0011F2C0 90 61 00 0C */ stw r3, 0xc(r1)
/* 80123484 0011F2C4 C8 42 95 70 */ lfd f2, "@6269"@sda21(r2)
/* 80123488 0011F2C8 90 01 00 08 */ stw r0, 0x8(r1)
/* 8012348C 0011F2CC C0 1F 00 28 */ lfs f0, 0x28(r31)
/* 80123490 0011F2D0 C8 21 00 08 */ lfd f1, 0x8(r1)
/* 80123494 0011F2D4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80123498 0011F2D8 EC 21 10 28 */ fsubs f1, f1, f2
/* 8012349C 0011F2DC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 801234A0 0011F2E0 EC 20 00 72 */ fmuls f1, f0, f1
/* 801234A4 0011F2E4 7C 08 03 A6 */ mtlr r0
/* 801234A8 0011F2E8 38 21 00 20 */ addi r1, r1, 0x20
/* 801234AC 0011F2EC 4E 80 00 20 */ blr
.global GetFontDescent__Q34nw4r2ut10CharWriterCFv
GetFontDescent__Q34nw4r2ut10CharWriterCFv:
/* 801234B0 0011F2F0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801234B4 0011F2F4 7C 08 02 A6 */ mflr r0
/* 801234B8 0011F2F8 90 01 00 24 */ stw r0, 0x24(r1)
/* 801234BC 0011F2FC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 801234C0 0011F300 7C 7F 1B 78 */ mr r31, r3
/* 801234C4 0011F304 80 63 00 48 */ lwz r3, 0x48(r3)
/* 801234C8 0011F308 81 83 00 00 */ lwz r12, 0x0(r3)
/* 801234CC 0011F30C 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 801234D0 0011F310 7D 89 03 A6 */ mtctr r12
/* 801234D4 0011F314 4E 80 04 21 */ bctrl
/* 801234D8 0011F318 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 801234DC 0011F31C 3C 00 43 30 */ lis r0, 0x4330
/* 801234E0 0011F320 90 61 00 0C */ stw r3, 0xc(r1)
/* 801234E4 0011F324 C8 42 95 70 */ lfd f2, "@6269"@sda21(r2)
/* 801234E8 0011F328 90 01 00 08 */ stw r0, 0x8(r1)
/* 801234EC 0011F32C C0 1F 00 28 */ lfs f0, 0x28(r31)
/* 801234F0 0011F330 C8 21 00 08 */ lfd f1, 0x8(r1)
/* 801234F4 0011F334 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 801234F8 0011F338 EC 21 10 28 */ fsubs f1, f1, f2
/* 801234FC 0011F33C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80123500 0011F340 EC 20 00 72 */ fmuls f1, f0, f1
/* 80123504 0011F344 7C 08 03 A6 */ mtlr r0
/* 80123508 0011F348 38 21 00 20 */ addi r1, r1, 0x20
/* 8012350C 0011F34C 4E 80 00 20 */ blr
.global Print__Q34nw4r2ut10CharWriterFUs
Print__Q34nw4r2ut10CharWriterFUs:
/* 80123510 0011F350 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 80123514 0011F354 7C 08 02 A6 */ mflr r0
/* 80123518 0011F358 7C 85 23 78 */ mr r5, r4
/* 8012351C 0011F35C 90 01 00 54 */ stw r0, 0x54(r1)
/* 80123520 0011F360 3C 00 43 30 */ lis r0, 0x4330
/* 80123524 0011F364 38 81 00 08 */ addi r4, r1, 0x8
/* 80123528 0011F368 DB E1 00 40 */ stfd f31, 0x40(r1)
/* 8012352C 0011F36C F3 E1 00 48 */ psq_st f31, 0x48(r1), 0, qr0
/* 80123530 0011F370 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 80123534 0011F374 7C 7F 1B 78 */ mr r31, r3
/* 80123538 0011F378 80 63 00 48 */ lwz r3, 0x48(r3)
/* 8012353C 0011F37C 90 01 00 20 */ stw r0, 0x20(r1)
/* 80123540 0011F380 81 83 00 00 */ lwz r12, 0x0(r3)
/* 80123544 0011F384 90 01 00 28 */ stw r0, 0x28(r1)
/* 80123548 0011F388 81 8C 00 50 */ lwz r12, 0x50(r12)
/* 8012354C 0011F38C 7D 89 03 A6 */ mtctr r12
/* 80123550 0011F390 4E 80 04 21 */ bctrl
/* 80123554 0011F394 88 1F 00 43 */ lbz r0, 0x43(r31)
/* 80123558 0011F398 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012355C 0011F39C 41 82 00 5C */ beq lbl_801235B8
/* 80123560 0011F3A0 88 61 00 0E */ lbz r3, 0xe(r1)
/* 80123564 0011F3A4 88 01 00 0C */ lbz r0, 0xc(r1)
/* 80123568 0011F3A8 7C 63 07 74 */ extsb r3, r3
/* 8012356C 0011F3AC C8 82 95 70 */ lfd f4, "@6269"@sda21(r2)
/* 80123570 0011F3B0 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 80123574 0011F3B4 90 61 00 24 */ stw r3, 0x24(r1)
/* 80123578 0011F3B8 7C 00 07 74 */ extsb r0, r0
/* 8012357C 0011F3BC C0 7F 00 24 */ lfs f3, 0x24(r31)
/* 80123580 0011F3C0 C8 01 00 20 */ lfd f0, 0x20(r1)
/* 80123584 0011F3C4 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 80123588 0011F3C8 90 01 00 2C */ stw r0, 0x2c(r1)
/* 8012358C 0011F3CC EC 40 20 28 */ fsubs f2, f0, f4
/* 80123590 0011F3D0 C3 FF 00 44 */ lfs f31, 0x44(r31)
/* 80123594 0011F3D4 C8 01 00 28 */ lfd f0, 0x28(r1)
/* 80123598 0011F3D8 C0 22 95 78 */ lfs f1, "@6299"@sda21(r2)
/* 8012359C 0011F3DC EC 42 00 F2 */ fmuls f2, f2, f3
/* 801235A0 0011F3E0 EC 00 20 28 */ fsubs f0, f0, f4
/* 801235A4 0011F3E4 EC 5F 10 28 */ fsubs f2, f31, f2
/* 801235A8 0011F3E8 EC 00 00 F2 */ fmuls f0, f0, f3
/* 801235AC 0011F3EC EC 22 00 72 */ fmuls f1, f2, f1
/* 801235B0 0011F3F0 EC 21 00 2A */ fadds f1, f1, f0
/* 801235B4 0011F3F4 48 00 00 44 */ b lbl_801235F8
.global lbl_801235B8
lbl_801235B8:
/* 801235B8 0011F3F8 88 61 00 0E */ lbz r3, 0xe(r1)
/* 801235BC 0011F3FC 88 01 00 0C */ lbz r0, 0xc(r1)
/* 801235C0 0011F400 7C 63 07 74 */ extsb r3, r3
/* 801235C4 0011F404 C8 62 95 70 */ lfd f3, "@6269"@sda21(r2)
/* 801235C8 0011F408 7C 00 07 74 */ extsb r0, r0
/* 801235CC 0011F40C C0 3F 00 24 */ lfs f1, 0x24(r31)
/* 801235D0 0011F410 6C 63 80 00 */ xoris r3, r3, 0x8000
/* 801235D4 0011F414 90 61 00 24 */ stw r3, 0x24(r1)
/* 801235D8 0011F418 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 801235DC 0011F41C 90 01 00 2C */ stw r0, 0x2c(r1)
/* 801235E0 0011F420 C8 41 00 20 */ lfd f2, 0x20(r1)
/* 801235E4 0011F424 C8 01 00 28 */ lfd f0, 0x28(r1)
/* 801235E8 0011F428 EC 42 18 28 */ fsubs f2, f2, f3
/* 801235EC 0011F42C EC 00 18 28 */ fsubs f0, f0, f3
/* 801235F0 0011F430 EF E2 00 72 */ fmuls f31, f2, f1
/* 801235F4 0011F434 EC 20 00 72 */ fmuls f1, f0, f1
.global lbl_801235F8
lbl_801235F8:
/* 801235F8 0011F438 C0 1F 00 2C */ lfs f0, 0x2c(r31)
/* 801235FC 0011F43C 7F E3 FB 78 */ mr r3, r31
/* 80123600 0011F440 C0 5F 00 30 */ lfs f2, 0x30(r31)
/* 80123604 0011F444 38 81 00 08 */ addi r4, r1, 0x8
/* 80123608 0011F448 EC 20 08 2A */ fadds f1, f0, f1
/* 8012360C 0011F44C C0 7F 00 34 */ lfs f3, 0x34(r31)
/* 80123610 0011F450 48 00 00 31 */ bl PrintGlyph__Q34nw4r2ut10CharWriterFfffRCQ34nw4r2ut5Glyph
/* 80123614 0011F454 C0 1F 00 2C */ lfs f0, 0x2c(r31)
/* 80123618 0011F458 FC 20 F8 90 */ fmr f1, f31
/* 8012361C 0011F45C EC 00 F8 2A */ fadds f0, f0, f31
/* 80123620 0011F460 D0 1F 00 2C */ stfs f0, 0x2c(r31)
/* 80123624 0011F464 E3 E1 00 48 */ psq_l f31, 0x48(r1), 0, qr0
/* 80123628 0011F468 CB E1 00 40 */ lfd f31, 0x40(r1)
/* 8012362C 0011F46C 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 80123630 0011F470 80 01 00 54 */ lwz r0, 0x54(r1)
/* 80123634 0011F474 7C 08 03 A6 */ mtlr r0
/* 80123638 0011F478 38 21 00 50 */ addi r1, r1, 0x50
/* 8012363C 0011F47C 4E 80 00 20 */ blr
.global PrintGlyph__Q34nw4r2ut10CharWriterFfffRCQ34nw4r2ut5Glyph
PrintGlyph__Q34nw4r2ut10CharWriterFfffRCQ34nw4r2ut5Glyph:
/* 80123640 0011F480 94 21 FF 50 */ stwu r1, -0xb0(r1)
/* 80123644 0011F484 7C 08 02 A6 */ mflr r0
/* 80123648 0011F488 90 01 00 B4 */ stw r0, 0xb4(r1)
/* 8012364C 0011F48C 39 61 00 60 */ addi r11, r1, 0x60
/* 80123650 0011F490 DB E1 00 A0 */ stfd f31, 0xa0(r1)
/* 80123654 0011F494 F3 E1 00 A8 */ psq_st f31, 0xa8(r1), 0, qr0
/* 80123658 0011F498 DB C1 00 90 */ stfd f30, 0x90(r1)
/* 8012365C 0011F49C F3 C1 00 98 */ psq_st f30, 0x98(r1), 0, qr0
/* 80123660 0011F4A0 DB A1 00 80 */ stfd f29, 0x80(r1)
/* 80123664 0011F4A4 F3 A1 00 88 */ psq_st f29, 0x88(r1), 0, qr0
/* 80123668 0011F4A8 DB 81 00 70 */ stfd f28, 0x70(r1)
/* 8012366C 0011F4AC F3 81 00 78 */ psq_st f28, 0x78(r1), 0, qr0
/* 80123670 0011F4B0 DB 61 00 60 */ stfd f27, 0x60(r1)
/* 80123674 0011F4B4 F3 61 00 68 */ psq_st f27, 0x68(r1), 0, qr0
/* 80123678 0011F4B8 4B EE 3C C1 */ bl lbl_80007338
/* 8012367C 0011F4BC 8B 84 00 05 */ lbz r28, 0x5(r4)
/* 80123680 0011F4C0 3F E0 43 30 */ lis r31, 0x4330
/* 80123684 0011F4C4 A0 04 00 10 */ lhz r0, 0x10(r4)
/* 80123688 0011F4C8 39 60 00 00 */ li r11, 0x0
/* 8012368C 0011F4CC 8B 44 00 07 */ lbz r26, 0x7(r4)
/* 80123690 0011F4D0 3D 00 80 54 */ lis r8, mLoadingTexture__Q34nw4r2ut10CharWriter@ha
/* 80123694 0011F4D4 7C C0 E2 14 */ add r6, r0, r28
/* 80123698 0011F4D8 A1 24 00 12 */ lhz r9, 0x12(r4)
/* 8012369C 0011F4DC 54 07 78 20 */ slwi r7, r0, 15
/* 801236A0 0011F4E0 A0 A4 00 0C */ lhz r5, 0xc(r4)
/* 801236A4 0011F4E4 7C 09 D2 14 */ add r0, r9, r26
/* 801236A8 0011F4E8 54 DB 78 20 */ slwi r27, r6, 15
/* 801236AC 0011F4EC 7F C7 2B 96 */ divwu r30, r7, r5
/* 801236B0 0011F4F0 80 E8 30 60 */ lwz r7, mLoadingTexture__Q34nw4r2ut10CharWriter@l(r8)
/* 801236B4 0011F4F4 54 0C 78 20 */ slwi r12, r0, 15
/* 801236B8 0011F4F8 93 81 00 3C */ stw r28, 0x3c(r1)
/* 801236BC 0011F4FC A0 C4 00 0E */ lhz r6, 0xe(r4)
/* 801236C0 0011F500 55 29 78 20 */ slwi r9, r9, 15
/* 801236C4 0011F504 7F A9 33 96 */ divwu r29, r9, r6
/* 801236C8 0011F508 7C 0B 38 00 */ cmpw r11, r7
/* 801236CC 0011F50C 93 E1 00 38 */ stw r31, 0x38(r1)
/* 801236D0 0011F510 FF A0 18 90 */ fmr f29, f3
/* 801236D4 0011F514 80 04 00 00 */ lwz r0, 0x0(r4)
/* 801236D8 0011F518 FF 60 08 90 */ fmr f27, f1
/* 801236DC 0011F51C 7F 9B 2B 96 */ divwu r28, r27, r5
/* 801236E0 0011F520 93 E1 00 40 */ stw r31, 0x40(r1)
/* 801236E4 0011F524 81 43 00 38 */ lwz r10, 0x38(r3)
/* 801236E8 0011F528 57 DF 04 3E */ clrlwi r31, r30, 16
/* 801236EC 0011F52C 93 41 00 44 */ stw r26, 0x44(r1)
/* 801236F0 0011F530 57 BE 04 3E */ clrlwi r30, r29, 16
/* 801236F4 0011F534 81 23 00 3C */ lwz r9, 0x3c(r3)
/* 801236F8 0011F538 7C EC 33 96 */ divwu r7, r12, r6
/* 801236FC 0011F53C 57 9D 04 3E */ clrlwi r29, r28, 16
/* 80123700 0011F540 C8 A2 95 80 */ lfd f5, "@6307"@sda21(r2)
/* 80123704 0011F544 C8 01 00 38 */ lfd f0, 0x38(r1)
/* 80123708 0011F548 FF 80 10 90 */ fmr f28, f2
/* 8012370C 0011F54C C8 61 00 40 */ lfd f3, 0x40(r1)
/* 80123710 0011F550 EC 80 28 28 */ fsubs f4, f0, f5
/* 80123714 0011F554 C0 03 00 24 */ lfs f0, 0x24(r3)
/* 80123718 0011F558 EC 63 28 28 */ fsubs f3, f3, f5
/* 8012371C 0011F55C 91 61 00 08 */ stw r11, 0x8(r1)
/* 80123720 0011F560 7C 7B 1B 78 */ mr r27, r3
/* 80123724 0011F564 54 FC 04 3E */ clrlwi r28, r7, 16
/* 80123728 0011F568 EC 84 00 32 */ fmuls f4, f4, f0
/* 8012372C 0011F56C C0 03 00 28 */ lfs f0, 0x28(r3)
/* 80123730 0011F570 90 01 00 0C */ stw r0, 0xc(r1)
/* 80123734 0011F574 EC 03 00 32 */ fmuls f0, f3, f0
/* 80123738 0011F578 EF E1 20 2A */ fadds f31, f1, f4
/* 8012373C 0011F57C 91 41 00 10 */ stw r10, 0x10(r1)
/* 80123740 0011F580 EF C2 00 2A */ fadds f30, f2, f0
/* 80123744 0011F584 91 21 00 14 */ stw r9, 0x14(r1)
/* 80123748 0011F588 40 82 00 2C */ bne lbl_80123774
/* 8012374C 0011F58C 38 E8 30 60 */ addi r7, r8, 0x3060
/* 80123750 0011F590 80 67 00 04 */ lwz r3, 0x4(r7)
/* 80123754 0011F594 7C 00 18 40 */ cmplw r0, r3
/* 80123758 0011F598 40 82 00 1C */ bne lbl_80123774
/* 8012375C 0011F59C 80 67 00 08 */ lwz r3, 0x8(r7)
/* 80123760 0011F5A0 7C 0A 18 00 */ cmpw r10, r3
/* 80123764 0011F5A4 40 82 00 10 */ bne lbl_80123774
/* 80123768 0011F5A8 80 67 00 0C */ lwz r3, 0xc(r7)
/* 8012376C 0011F5AC 7C 09 18 00 */ cmpw r9, r3
/* 80123770 0011F5B0 41 82 00 08 */ beq lbl_80123778
.global lbl_80123774
lbl_80123774:
/* 80123774 0011F5B4 39 60 00 01 */ li r11, 0x1
.global lbl_80123778
lbl_80123778:
/* 80123778 0011F5B8 2C 0B 00 00 */ cmpwi r11, 0x0
/* 8012377C 0011F5BC 41 82 00 7C */ beq lbl_801237F8
/* 80123780 0011F5C0 80 E4 00 08 */ lwz r7, 0x8(r4)
/* 80123784 0011F5C4 7C 04 03 78 */ mr r4, r0
/* 80123788 0011F5C8 38 61 00 18 */ addi r3, r1, 0x18
/* 8012378C 0011F5CC 39 00 00 00 */ li r8, 0x0
/* 80123790 0011F5D0 39 20 00 00 */ li r9, 0x0
/* 80123794 0011F5D4 39 40 00 00 */ li r10, 0x0
/* 80123798 0011F5D8 4B F1 30 19 */ bl GXInitTexObj
/* 8012379C 0011F5DC C0 22 95 68 */ lfs f1, "@6180"@sda21(r2)
/* 801237A0 0011F5E0 38 61 00 18 */ addi r3, r1, 0x18
/* 801237A4 0011F5E4 80 9B 00 38 */ lwz r4, 0x38(r27)
/* 801237A8 0011F5E8 38 C0 00 00 */ li r6, 0x0
/* 801237AC 0011F5EC FC 40 08 90 */ fmr f2, f1
/* 801237B0 0011F5F0 80 BB 00 3C */ lwz r5, 0x3c(r27)
/* 801237B4 0011F5F4 FC 60 08 90 */ fmr f3, f1
/* 801237B8 0011F5F8 38 E0 00 00 */ li r7, 0x0
/* 801237BC 0011F5FC 39 00 00 00 */ li r8, 0x0
/* 801237C0 0011F600 4B F1 32 51 */ bl GXInitTexObjLOD
/* 801237C4 0011F604 38 61 00 18 */ addi r3, r1, 0x18
/* 801237C8 0011F608 38 80 00 00 */ li r4, 0x0
/* 801237CC 0011F60C 4B F1 36 65 */ bl GXLoadTexObj
/* 801237D0 0011F610 3C C0 80 54 */ lis r6, mLoadingTexture__Q34nw4r2ut10CharWriter@ha
/* 801237D4 0011F614 80 E1 00 08 */ lwz r7, 0x8(r1)
/* 801237D8 0011F618 38 86 30 60 */ addi r4, r6, mLoadingTexture__Q34nw4r2ut10CharWriter@l
/* 801237DC 0011F61C 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 801237E0 0011F620 80 61 00 10 */ lwz r3, 0x10(r1)
/* 801237E4 0011F624 80 01 00 14 */ lwz r0, 0x14(r1)
/* 801237E8 0011F628 90 E6 30 60 */ stw r7, 0x3060(r6)
/* 801237EC 0011F62C 90 A4 00 04 */ stw r5, 0x4(r4)
/* 801237F0 0011F630 90 64 00 08 */ stw r3, 0x8(r4)
/* 801237F4 0011F634 90 04 00 0C */ stw r0, 0xc(r4)
.global lbl_801237F8
lbl_801237F8:
/* 801237F8 0011F638 38 60 00 80 */ li r3, 0x80
/* 801237FC 0011F63C 38 80 00 00 */ li r4, 0x0
/* 80123800 0011F640 38 A0 00 04 */ li r5, 0x4
/* 80123804 0011F644 4B F1 1A 6D */ bl GXBegin
/* 80123808 0011F648 3C 60 CC 01 */ lis r3, 0xCC008000@ha
/* 8012380C 0011F64C D3 63 80 00 */ stfs f27, 0xCC008000@l(r3)
/* 80123810 0011F650 D3 83 80 00 */ stfs f28, -0x8000(r3)
/* 80123814 0011F654 D3 A3 80 00 */ stfs f29, -0x8000(r3)
/* 80123818 0011F658 80 1B 00 08 */ lwz r0, 0x8(r27)
/* 8012381C 0011F65C 90 03 80 00 */ stw r0, -0x8000(r3)
/* 80123820 0011F660 B3 E3 80 00 */ sth r31, -0x8000(r3)
/* 80123824 0011F664 B3 C3 80 00 */ sth r30, -0x8000(r3)
/* 80123828 0011F668 D3 E3 80 00 */ stfs f31, -0x8000(r3)
/* 8012382C 0011F66C D3 83 80 00 */ stfs f28, -0x8000(r3)
/* 80123830 0011F670 D3 A3 80 00 */ stfs f29, -0x8000(r3)
/* 80123834 0011F674 80 1B 00 0C */ lwz r0, 0xc(r27)
/* 80123838 0011F678 90 03 80 00 */ stw r0, -0x8000(r3)
/* 8012383C 0011F67C B3 A3 80 00 */ sth r29, -0x8000(r3)
/* 80123840 0011F680 B3 C3 80 00 */ sth r30, -0x8000(r3)
/* 80123844 0011F684 D3 E3 80 00 */ stfs f31, -0x8000(r3)
/* 80123848 0011F688 D3 C3 80 00 */ stfs f30, -0x8000(r3)
/* 8012384C 0011F68C D3 A3 80 00 */ stfs f29, -0x8000(r3)
/* 80123850 0011F690 80 1B 00 14 */ lwz r0, 0x14(r27)
/* 80123854 0011F694 90 03 80 00 */ stw r0, -0x8000(r3)
/* 80123858 0011F698 B3 A3 80 00 */ sth r29, -0x8000(r3)
/* 8012385C 0011F69C B3 83 80 00 */ sth r28, -0x8000(r3)
/* 80123860 0011F6A0 D3 63 80 00 */ stfs f27, -0x8000(r3)
/* 80123864 0011F6A4 D3 C3 80 00 */ stfs f30, -0x8000(r3)
/* 80123868 0011F6A8 D3 A3 80 00 */ stfs f29, -0x8000(r3)
/* 8012386C 0011F6AC 80 1B 00 10 */ lwz r0, 0x10(r27)
/* 80123870 0011F6B0 90 03 80 00 */ stw r0, -0x8000(r3)
/* 80123874 0011F6B4 B3 E3 80 00 */ sth r31, -0x8000(r3)
/* 80123878 0011F6B8 B3 83 80 00 */ sth r28, -0x8000(r3)
/* 8012387C 0011F6BC 39 61 00 60 */ addi r11, r1, 0x60
/* 80123880 0011F6C0 E3 E1 00 A8 */ psq_l f31, 0xa8(r1), 0, qr0
/* 80123884 0011F6C4 CB E1 00 A0 */ lfd f31, 0xa0(r1)
/* 80123888 0011F6C8 E3 C1 00 98 */ psq_l f30, 0x98(r1), 0, qr0
/* 8012388C 0011F6CC CB C1 00 90 */ lfd f30, 0x90(r1)
/* 80123890 0011F6D0 E3 A1 00 88 */ psq_l f29, 0x88(r1), 0, qr0
/* 80123894 0011F6D4 CB A1 00 80 */ lfd f29, 0x80(r1)
/* 80123898 0011F6D8 E3 81 00 78 */ psq_l f28, 0x78(r1), 0, qr0
/* 8012389C 0011F6DC CB 81 00 70 */ lfd f28, 0x70(r1)
/* 801238A0 0011F6E0 E3 61 00 68 */ psq_l f27, 0x68(r1), 0, qr0
/* 801238A4 0011F6E4 CB 61 00 60 */ lfd f27, 0x60(r1)
/* 801238A8 0011F6E8 4B EE 3A DD */ bl lbl_80007384
/* 801238AC 0011F6EC 80 01 00 B4 */ lwz r0, 0xb4(r1)
/* 801238B0 0011F6F0 7C 08 03 A6 */ mtlr r0
/* 801238B4 0011F6F4 38 21 00 B0 */ addi r1, r1, 0xb0
/* 801238B8 0011F6F8 4E 80 00 20 */ blr
/* 801238BC 0011F6FC 00 00 00 00 */ .4byte 0x00000000
.global UpdateVertexColor__Q34nw4r2ut10CharWriterFv
UpdateVertexColor__Q34nw4r2ut10CharWriterFv:
/* 801238C0 0011F700 80 03 00 20 */ lwz r0, 0x20(r3)
/* 801238C4 0011F704 88 C3 00 18 */ lbz r6, 0x18(r3)
/* 801238C8 0011F708 88 A3 00 19 */ lbz r5, 0x19(r3)
/* 801238CC 0011F70C 2C 00 00 01 */ cmpwi r0, 0x1
/* 801238D0 0011F710 88 83 00 1A */ lbz r4, 0x1a(r3)
/* 801238D4 0011F714 88 03 00 1B */ lbz r0, 0x1b(r3)
/* 801238D8 0011F718 98 C3 00 08 */ stb r6, 0x8(r3)
/* 801238DC 0011F71C 98 A3 00 09 */ stb r5, 0x9(r3)
/* 801238E0 0011F720 98 83 00 0A */ stb r4, 0xa(r3)
/* 801238E4 0011F724 98 03 00 0B */ stb r0, 0xb(r3)
/* 801238E8 0011F728 41 82 00 0C */ beq lbl_801238F4
/* 801238EC 0011F72C 38 A3 00 18 */ addi r5, r3, 0x18
/* 801238F0 0011F730 48 00 00 08 */ b lbl_801238F8
.global lbl_801238F4
lbl_801238F4:
/* 801238F4 0011F734 38 A3 00 1C */ addi r5, r3, 0x1c
.global lbl_801238F8
lbl_801238F8:
/* 801238F8 0011F738 88 05 00 00 */ lbz r0, 0x0(r5)
/* 801238FC 0011F73C 98 03 00 0C */ stb r0, 0xc(r3)
/* 80123900 0011F740 80 03 00 20 */ lwz r0, 0x20(r3)
/* 80123904 0011F744 88 85 00 01 */ lbz r4, 0x1(r5)
/* 80123908 0011F748 98 83 00 0D */ stb r4, 0xd(r3)
/* 8012390C 0011F74C 2C 00 00 02 */ cmpwi r0, 0x2
/* 80123910 0011F750 88 05 00 02 */ lbz r0, 0x2(r5)
/* 80123914 0011F754 98 03 00 0E */ stb r0, 0xe(r3)
/* 80123918 0011F758 88 05 00 03 */ lbz r0, 0x3(r5)
/* 8012391C 0011F75C 98 03 00 0F */ stb r0, 0xf(r3)
/* 80123920 0011F760 41 82 00 0C */ beq lbl_8012392C
/* 80123924 0011F764 38 A3 00 18 */ addi r5, r3, 0x18
/* 80123928 0011F768 48 00 00 08 */ b lbl_80123930
.global lbl_8012392C
lbl_8012392C:
/* 8012392C 0011F76C 38 A3 00 1C */ addi r5, r3, 0x1c
.global lbl_80123930
lbl_80123930:
/* 80123930 0011F770 88 05 00 00 */ lbz r0, 0x0(r5)
/* 80123934 0011F774 98 03 00 10 */ stb r0, 0x10(r3)
/* 80123938 0011F778 80 03 00 20 */ lwz r0, 0x20(r3)
/* 8012393C 0011F77C 88 85 00 01 */ lbz r4, 0x1(r5)
/* 80123940 0011F780 98 83 00 11 */ stb r4, 0x11(r3)
/* 80123944 0011F784 2C 00 00 00 */ cmpwi r0, 0x0
/* 80123948 0011F788 88 05 00 02 */ lbz r0, 0x2(r5)
/* 8012394C 0011F78C 98 03 00 12 */ stb r0, 0x12(r3)
/* 80123950 0011F790 88 05 00 03 */ lbz r0, 0x3(r5)
/* 80123954 0011F794 98 03 00 13 */ stb r0, 0x13(r3)
/* 80123958 0011F798 40 82 00 0C */ bne lbl_80123964
/* 8012395C 0011F79C 38 A3 00 18 */ addi r5, r3, 0x18
/* 80123960 0011F7A0 48 00 00 08 */ b lbl_80123968
.global lbl_80123964
lbl_80123964:
/* 80123964 0011F7A4 38 A3 00 1C */ addi r5, r3, 0x1c
.global lbl_80123968
lbl_80123968:
/* 80123968 0011F7A8 88 05 00 00 */ lbz r0, 0x0(r5)
/* 8012396C 0011F7AC 3C 80 80 81 */ lis r4, 0x80808081@ha
/* 80123970 0011F7B0 98 03 00 14 */ stb r0, 0x14(r3)
/* 80123974 0011F7B4 39 44 80 81 */ addi r10, r4, 0x80808081@l
/* 80123978 0011F7B8 88 03 00 0B */ lbz r0, 0xb(r3)
/* 8012397C 0011F7BC 88 85 00 01 */ lbz r4, 0x1(r5)
/* 80123980 0011F7C0 98 83 00 15 */ stb r4, 0x15(r3)
/* 80123984 0011F7C4 88 E3 00 42 */ lbz r7, 0x42(r3)
/* 80123988 0011F7C8 88 85 00 02 */ lbz r4, 0x2(r5)
/* 8012398C 0011F7CC 98 83 00 16 */ stb r4, 0x16(r3)
/* 80123990 0011F7D0 7C C0 39 D6 */ mullw r6, r0, r7
/* 80123994 0011F7D4 88 83 00 0F */ lbz r4, 0xf(r3)
/* 80123998 0011F7D8 88 03 00 13 */ lbz r0, 0x13(r3)
/* 8012399C 0011F7DC 89 05 00 03 */ lbz r8, 0x3(r5)
/* 801239A0 0011F7E0 7C A0 39 D6 */ mullw r5, r0, r7
/* 801239A4 0011F7E4 7C 08 39 D6 */ mullw r0, r8, r7
/* 801239A8 0011F7E8 7C 84 39 D6 */ mullw r4, r4, r7
/* 801239AC 0011F7EC 7D 0A 30 96 */ mulhw r8, r10, r6
/* 801239B0 0011F7F0 7C EA 20 96 */ mulhw r7, r10, r4
/* 801239B4 0011F7F4 7C C8 32 14 */ add r6, r8, r6
/* 801239B8 0011F7F8 7C C8 3E 70 */ srawi r8, r6, 7
/* 801239BC 0011F7FC 7C CA 28 96 */ mulhw r6, r10, r5
/* 801239C0 0011F800 55 09 0F FE */ srwi r9, r8, 31
/* 801239C4 0011F804 7C 87 22 14 */ add r4, r7, r4
/* 801239C8 0011F808 7C E8 4A 14 */ add r7, r8, r9
/* 801239CC 0011F80C 98 E3 00 0B */ stb r7, 0xb(r3)
/* 801239D0 0011F810 7C 87 3E 70 */ srawi r7, r4, 7
/* 801239D4 0011F814 7C A6 2A 14 */ add r5, r6, r5
/* 801239D8 0011F818 54 E6 0F FE */ srwi r6, r7, 31
/* 801239DC 0011F81C 7C 8A 00 96 */ mulhw r4, r10, r0
/* 801239E0 0011F820 7C C7 32 14 */ add r6, r7, r6
/* 801239E4 0011F824 98 C3 00 0F */ stb r6, 0xf(r3)
/* 801239E8 0011F828 7C A5 3E 70 */ srawi r5, r5, 7
/* 801239EC 0011F82C 54 A6 0F FE */ srwi r6, r5, 31
/* 801239F0 0011F830 7C 04 02 14 */ add r0, r4, r0
/* 801239F4 0011F834 7C 00 3E 70 */ srawi r0, r0, 7
/* 801239F8 0011F838 7C A5 32 14 */ add r5, r5, r6
/* 801239FC 0011F83C 54 04 0F FE */ srwi r4, r0, 31
/* 80123A00 0011F840 98 A3 00 13 */ stb r5, 0x13(r3)
/* 80123A04 0011F844 7C 00 22 14 */ add r0, r0, r4
/* 80123A08 0011F848 98 03 00 17 */ stb r0, 0x17(r3)
/* 80123A0C 0011F84C 4E 80 00 20 */ blr
.global SetupGXWithColorMapping__Q34nw4r2ut10CharWriterFQ34nw4r2ut5ColorQ34nw4r2ut5Color
SetupGXWithColorMapping__Q34nw4r2ut10CharWriterFQ34nw4r2ut5ColorQ34nw4r2ut5Color:
/* 80123A10 0011F850 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80123A14 0011F854 7C 08 02 A6 */ mflr r0
/* 80123A18 0011F858 90 01 00 24 */ stw r0, 0x24(r1)
/* 80123A1C 0011F85C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80123A20 0011F860 7C 9F 23 78 */ mr r31, r4
/* 80123A24 0011F864 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80123A28 0011F868 7C 7E 1B 78 */ mr r30, r3
/* 80123A2C 0011F86C 88 0D EC 78 */ lbz r0, "@GUARD@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80123A30 0011F870 7C 00 07 75 */ extsb. r0, r0
/* 80123A34 0011F874 40 82 00 14 */ bne lbl_80123A48
/* 80123A38 0011F878 38 60 00 00 */ li r3, 0x0
/* 80123A3C 0011F87C 38 00 00 01 */ li r0, 0x1
/* 80123A40 0011F880 90 6D EC 7C */ stw r3, "@LOCAL@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80123A44 0011F884 98 0D EC 78 */ stb r0, "@GUARD@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
.global lbl_80123A48
lbl_80123A48:
/* 80123A48 0011F888 C0 22 95 68 */ lfs f1, "@6180"@sda21(r2)
/* 80123A4C 0011F88C 38 81 00 08 */ addi r4, r1, 0x8
/* 80123A50 0011F890 80 0D EC 7C */ lwz r0, "@LOCAL@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"@sda21(r13)
/* 80123A54 0011F894 38 60 00 00 */ li r3, 0x0
/* 80123A58 0011F898 FC 40 08 90 */ fmr f2, f1
/* 80123A5C 0011F89C 90 01 00 08 */ stw r0, 0x8(r1)
/* 80123A60 0011F8A0 FC 60 08 90 */ fmr f3, f1
/* 80123A64 0011F8A4 FC 80 08 90 */ fmr f4, f1
/* 80123A68 0011F8A8 4B F1 48 29 */ bl GXSetFog
/* 80123A6C 0011F8AC 38 60 00 00 */ li r3, 0x0
/* 80123A70 0011F8B0 38 80 00 00 */ li r4, 0x0
/* 80123A74 0011F8B4 38 A0 00 01 */ li r5, 0x1
/* 80123A78 0011F8B8 38 C0 00 02 */ li r6, 0x2
/* 80123A7C 0011F8BC 38 E0 00 03 */ li r7, 0x3
/* 80123A80 0011F8C0 4B F1 45 31 */ bl GXSetTevSwapModeTable
/* 80123A84 0011F8C4 38 60 00 00 */ li r3, 0x0
/* 80123A88 0011F8C8 38 80 00 11 */ li r4, 0x11
/* 80123A8C 0011F8CC 38 A0 00 00 */ li r5, 0x0
/* 80123A90 0011F8D0 4B F1 45 E1 */ bl GXSetZTexture
/* 80123A94 0011F8D4 38 60 00 01 */ li r3, 0x1
/* 80123A98 0011F8D8 4B F1 2A 49 */ bl GXSetNumChans
/* 80123A9C 0011F8DC 38 60 00 04 */ li r3, 0x4
/* 80123AA0 0011F8E0 38 80 00 00 */ li r4, 0x0
/* 80123AA4 0011F8E4 38 A0 00 00 */ li r5, 0x0
/* 80123AA8 0011F8E8 38 C0 00 01 */ li r6, 0x1
/* 80123AAC 0011F8EC 38 E0 00 00 */ li r7, 0x0
/* 80123AB0 0011F8F0 39 00 00 00 */ li r8, 0x0
/* 80123AB4 0011F8F4 39 20 00 02 */ li r9, 0x2
/* 80123AB8 0011F8F8 4B F1 2A 59 */ bl GXSetChanCtrl
/* 80123ABC 0011F8FC 38 60 00 05 */ li r3, 0x5
/* 80123AC0 0011F900 38 80 00 00 */ li r4, 0x0
/* 80123AC4 0011F904 38 A0 00 00 */ li r5, 0x0
/* 80123AC8 0011F908 38 C0 00 00 */ li r6, 0x0
/* 80123ACC 0011F90C 38 E0 00 00 */ li r7, 0x0
/* 80123AD0 0011F910 39 00 00 00 */ li r8, 0x0
/* 80123AD4 0011F914 39 20 00 02 */ li r9, 0x2
/* 80123AD8 0011F918 4B F1 2A 39 */ bl GXSetChanCtrl
/* 80123ADC 0011F91C 38 60 00 01 */ li r3, 0x1
/* 80123AE0 0011F920 4B F1 0C 01 */ bl GXSetNumTexGens
/* 80123AE4 0011F924 38 60 00 00 */ li r3, 0x0
/* 80123AE8 0011F928 38 80 00 01 */ li r4, 0x1
/* 80123AEC 0011F92C 38 A0 00 04 */ li r5, 0x4
/* 80123AF0 0011F930 38 C0 00 3C */ li r6, 0x3c
/* 80123AF4 0011F934 38 E0 00 00 */ li r7, 0x0
/* 80123AF8 0011F938 39 00 00 7D */ li r8, 0x7d
/* 80123AFC 0011F93C 4B F1 09 95 */ bl GXSetTexCoordGen2
/* 80123B00 0011F940 38 60 00 00 */ li r3, 0x0
/* 80123B04 0011F944 4B F1 3F ED */ bl GXSetNumIndStages
/* 80123B08 0011F948 38 60 00 01 */ li r3, 0x1
/* 80123B0C 0011F94C 38 80 00 04 */ li r4, 0x4
/* 80123B10 0011F950 38 A0 00 05 */ li r5, 0x5
/* 80123B14 0011F954 38 C0 00 0F */ li r6, 0xf
/* 80123B18 0011F958 4B F1 4C 19 */ bl GXSetBlendMode
/* 80123B1C 0011F95C 38 60 00 02 */ li r3, 0x2
/* 80123B20 0011F960 4B F1 47 41 */ bl GXSetNumTevStages
/* 80123B24 0011F964 38 60 00 00 */ li r3, 0x0
/* 80123B28 0011F968 4B F1 3F E9 */ bl GXSetTevDirect
/* 80123B2C 0011F96C 38 60 00 01 */ li r3, 0x1
/* 80123B30 0011F970 4B F1 3F E1 */ bl GXSetTevDirect
/* 80123B34 0011F974 38 60 00 00 */ li r3, 0x0
/* 80123B38 0011F978 38 80 00 00 */ li r4, 0x0
/* 80123B3C 0011F97C 38 A0 00 00 */ li r5, 0x0
/* 80123B40 0011F980 4B F1 44 31 */ bl GXSetTevSwapMode
/* 80123B44 0011F984 38 60 00 01 */ li r3, 0x1
/* 80123B48 0011F988 38 80 00 00 */ li r4, 0x0
/* 80123B4C 0011F98C 38 A0 00 00 */ li r5, 0x0
/* 80123B50 0011F990 4B F1 44 21 */ bl GXSetTevSwapMode
/* 80123B54 0011F994 38 60 00 00 */ li r3, 0x0
/* 80123B58 0011F998 38 80 00 00 */ li r4, 0x0
/* 80123B5C 0011F99C 38 A0 00 00 */ li r5, 0x0
/* 80123B60 0011F9A0 38 C0 00 FF */ li r6, 0xff
/* 80123B64 0011F9A4 4B F1 45 9D */ bl GXSetTevOrder
/* 80123B68 0011F9A8 80 1E 00 00 */ lwz r0, 0x0(r30)
/* 80123B6C 0011F9AC 38 81 00 10 */ addi r4, r1, 0x10
/* 80123B70 0011F9B0 90 01 00 10 */ stw r0, 0x10(r1)
/* 80123B74 0011F9B4 38 60 00 01 */ li r3, 0x1
/* 80123B78 0011F9B8 4B F1 42 29 */ bl GXSetTevColor
/* 80123B7C 0011F9BC 80 1F 00 00 */ lwz r0, 0x0(r31)
/* 80123B80 0011F9C0 38 81 00 0C */ addi r4, r1, 0xc
/* 80123B84 0011F9C4 90 01 00 0C */ stw r0, 0xc(r1)
/* 80123B88 0011F9C8 38 60 00 02 */ li r3, 0x2
/* 80123B8C 0011F9CC 4B F1 42 15 */ bl GXSetTevColor
/* 80123B90 0011F9D0 38 60 00 00 */ li r3, 0x0
/* 80123B94 0011F9D4 38 80 00 02 */ li r4, 0x2
/* 80123B98 0011F9D8 38 A0 00 04 */ li r5, 0x4
/* 80123B9C 0011F9DC 38 C0 00 08 */ li r6, 0x8
/* 80123BA0 0011F9E0 38 E0 00 0F */ li r7, 0xf
/* 80123BA4 0011F9E4 4B F1 40 BD */ bl GXSetTevColorIn
/* 80123BA8 0011F9E8 38 60 00 00 */ li r3, 0x0
/* 80123BAC 0011F9EC 38 80 00 01 */ li r4, 0x1
/* 80123BB0 0011F9F0 38 A0 00 02 */ li r5, 0x2
/* 80123BB4 0011F9F4 38 C0 00 04 */ li r6, 0x4
/* 80123BB8 0011F9F8 38 E0 00 07 */ li r7, 0x7
/* 80123BBC 0011F9FC 4B F1 40 E5 */ bl GXSetTevAlphaIn
/* 80123BC0 0011FA00 38 60 00 00 */ li r3, 0x0
/* 80123BC4 0011FA04 38 80 00 00 */ li r4, 0x0
/* 80123BC8 0011FA08 38 A0 00 00 */ li r5, 0x0
/* 80123BCC 0011FA0C 38 C0 00 00 */ li r6, 0x0
/* 80123BD0 0011FA10 38 E0 00 01 */ li r7, 0x1
/* 80123BD4 0011FA14 39 00 00 00 */ li r8, 0x0
/* 80123BD8 0011FA18 4B F1 41 09 */ bl GXSetTevColorOp
/* 80123BDC 0011FA1C 38 60 00 00 */ li r3, 0x0
/* 80123BE0 0011FA20 38 80 00 00 */ li r4, 0x0
/* 80123BE4 0011FA24 38 A0 00 00 */ li r5, 0x0
/* 80123BE8 0011FA28 38 C0 00 00 */ li r6, 0x0
/* 80123BEC 0011FA2C 38 E0 00 01 */ li r7, 0x1
/* 80123BF0 0011FA30 39 00 00 00 */ li r8, 0x0
/* 80123BF4 0011FA34 4B F1 41 4D */ bl GXSetTevAlphaOp
/* 80123BF8 0011FA38 38 60 00 01 */ li r3, 0x1
/* 80123BFC 0011FA3C 38 80 00 FF */ li r4, 0xff
/* 80123C00 0011FA40 38 A0 00 FF */ li r5, 0xff
/* 80123C04 0011FA44 38 C0 00 04 */ li r6, 0x4
/* 80123C08 0011FA48 4B F1 44 F9 */ bl GXSetTevOrder
/* 80123C0C 0011FA4C 38 60 00 01 */ li r3, 0x1
/* 80123C10 0011FA50 38 80 00 0F */ li r4, 0xf
/* 80123C14 0011FA54 38 A0 00 00 */ li r5, 0x0
/* 80123C18 0011FA58 38 C0 00 0A */ li r6, 0xa
/* 80123C1C 0011FA5C 38 E0 00 0F */ li r7, 0xf
/* 80123C20 0011FA60 4B F1 40 41 */ bl GXSetTevColorIn
/* 80123C24 0011FA64 38 60 00 01 */ li r3, 0x1
/* 80123C28 0011FA68 38 80 00 07 */ li r4, 0x7
/* 80123C2C 0011FA6C 38 A0 00 00 */ li r5, 0x0
/* 80123C30 0011FA70 38 C0 00 05 */ li r6, 0x5
/* 80123C34 0011FA74 38 E0 00 07 */ li r7, 0x7
/* 80123C38 0011FA78 4B F1 40 69 */ bl GXSetTevAlphaIn
/* 80123C3C 0011FA7C 38 60 00 01 */ li r3, 0x1
/* 80123C40 0011FA80 38 80 00 00 */ li r4, 0x0
/* 80123C44 0011FA84 38 A0 00 00 */ li r5, 0x0
/* 80123C48 0011FA88 38 C0 00 00 */ li r6, 0x0
/* 80123C4C 0011FA8C 38 E0 00 01 */ li r7, 0x1
/* 80123C50 0011FA90 39 00 00 00 */ li r8, 0x0
/* 80123C54 0011FA94 4B F1 40 8D */ bl GXSetTevColorOp
/* 80123C58 0011FA98 38 60 00 01 */ li r3, 0x1
/* 80123C5C 0011FA9C 38 80 00 00 */ li r4, 0x0
/* 80123C60 0011FAA0 38 A0 00 00 */ li r5, 0x0
/* 80123C64 0011FAA4 38 C0 00 00 */ li r6, 0x0
/* 80123C68 0011FAA8 38 E0 00 01 */ li r7, 0x1
/* 80123C6C 0011FAAC 39 00 00 00 */ li r8, 0x0
/* 80123C70 0011FAB0 4B F1 40 D1 */ bl GXSetTevAlphaOp
/* 80123C74 0011FAB4 38 60 00 00 */ li r3, 0x0
/* 80123C78 0011FAB8 38 80 00 09 */ li r4, 0x9
/* 80123C7C 0011FABC 38 A0 00 01 */ li r5, 0x1
/* 80123C80 0011FAC0 38 C0 00 04 */ li r6, 0x4
/* 80123C84 0011FAC4 38 E0 00 00 */ li r7, 0x0
/* 80123C88 0011FAC8 4B F1 01 69 */ bl GXSetVtxAttrFmt
/* 80123C8C 0011FACC 38 60 00 00 */ li r3, 0x0
/* 80123C90 0011FAD0 38 80 00 0B */ li r4, 0xb
/* 80123C94 0011FAD4 38 A0 00 01 */ li r5, 0x1
/* 80123C98 0011FAD8 38 C0 00 05 */ li r6, 0x5
/* 80123C9C 0011FADC 38 E0 00 00 */ li r7, 0x0
/* 80123CA0 0011FAE0 4B F1 01 51 */ bl GXSetVtxAttrFmt
/* 80123CA4 0011FAE4 38 60 00 00 */ li r3, 0x0
/* 80123CA8 0011FAE8 38 80 00 0D */ li r4, 0xd
/* 80123CAC 0011FAEC 38 A0 00 01 */ li r5, 0x1
/* 80123CB0 0011FAF0 38 C0 00 02 */ li r6, 0x2
/* 80123CB4 0011FAF4 38 E0 00 0F */ li r7, 0xf
/* 80123CB8 0011FAF8 4B F1 01 39 */ bl GXSetVtxAttrFmt
/* 80123CBC 0011FAFC 4B F1 00 F5 */ bl GXClearVtxDesc
/* 80123CC0 0011FB00 38 60 00 09 */ li r3, 0x9
/* 80123CC4 0011FB04 38 80 00 01 */ li r4, 0x1
/* 80123CC8 0011FB08 4B F0 FA D9 */ bl GXSetVtxDesc
/* 80123CCC 0011FB0C 38 60 00 0B */ li r3, 0xb
/* 80123CD0 0011FB10 38 80 00 01 */ li r4, 0x1
/* 80123CD4 0011FB14 4B F0 FA CD */ bl GXSetVtxDesc
/* 80123CD8 0011FB18 38 60 00 0D */ li r3, 0xd
/* 80123CDC 0011FB1C 38 80 00 01 */ li r4, 0x1
/* 80123CE0 0011FB20 4B F0 FA C1 */ bl GXSetVtxDesc
/* 80123CE4 0011FB24 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80123CE8 0011FB28 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80123CEC 0011FB2C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80123CF0 0011FB30 7C 08 03 A6 */ mtlr r0
/* 80123CF4 0011FB34 38 21 00 20 */ addi r1, r1, 0x20
/* 80123CF8 0011FB38 4E 80 00 20 */ blr
/* 80123CFC 0011FB3C 00 00 00 00 */ .4byte 0x00000000
.include "macros.inc"
.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20
.global mLoadingTexture__Q34nw4r2ut10CharWriter
mLoadingTexture__Q34nw4r2ut10CharWriter:
.skip 0x10
.include "macros.inc"
.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0
.global "@GUARD@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"
"@GUARD@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog":
.skip 0x4
.global "@LOCAL@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog"
"@LOCAL@SetupGXCommon__27@unnamed@ut_CharWriter_cpp@Fv@fog":
.skip 0x4
.include "macros.inc"
.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440
.global "@6180"
"@6180":
.4byte 0
.global "@6181"
"@6181":
.4byte 0x3F800000
.global "@6269"
"@6269":
.4byte 0x43300000
.4byte 0x80000000
.global "@6299"
"@6299":
.4byte 0x3F000000
.4byte 0
.global "@6307"
"@6307":
.4byte 0x43300000
.4byte 0