donut-decomp/asm/libnw4r_db/db_directPrint.s

1157 lines
47 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global DirectPrint_IsActive__Q24nw4r2dbFv
DirectPrint_IsActive__Q24nw4r2dbFv:
/* 80126CE0 00122B20 80 0D EC 90 */ lwz r0, sInitialized__Q24nw4r2db_8055D0B0@sda21(r13)
/* 80126CE4 00122B24 38 60 00 00 */ li r3, 0x0
/* 80126CE8 00122B28 2C 00 00 00 */ cmpwi r0, 0x0
/* 80126CEC 00122B2C 4D 82 00 20 */ beqlr
/* 80126CF0 00122B30 3C 80 80 54 */ lis r4, sFrameBufferInfo__Q24nw4r2db@ha
/* 80126CF4 00122B34 80 04 30 88 */ lwz r0, sFrameBufferInfo__Q24nw4r2db@l(r4)
/* 80126CF8 00122B38 2C 00 00 00 */ cmpwi r0, 0x0
/* 80126CFC 00122B3C 4D 82 00 20 */ beqlr
/* 80126D00 00122B40 38 60 00 01 */ li r3, 0x1
/* 80126D04 00122B44 4E 80 00 20 */ blr
/* 80126D08 00122B48 00 00 00 00 */ .4byte 0x00000000
/* 80126D0C 00122B4C 00 00 00 00 */ .4byte 0x00000000
.global DirectPrint_EraseXfb__Q24nw4r2dbFiiii
DirectPrint_EraseXfb__Q24nw4r2dbFiiii:
/* 80126D10 00122B50 3C E0 80 54 */ lis r7, sFrameBufferInfo__Q24nw4r2db@ha
/* 80126D14 00122B54 80 07 30 88 */ lwz r0, sFrameBufferInfo__Q24nw4r2db@l(r7)
/* 80126D18 00122B58 2C 00 00 00 */ cmpwi r0, 0x0
/* 80126D1C 00122B5C 4D 82 00 20 */ beqlr
/* 80126D20 00122B60 39 07 30 88 */ addi r8, r7, 0x3088
/* 80126D24 00122B64 38 E0 01 90 */ li r7, 0x190
/* 80126D28 00122B68 A1 28 00 08 */ lhz r9, 0x8(r8)
/* 80126D2C 00122B6C 7C E7 48 10 */ subfc r7, r7, r9
/* 80126D30 00122B70 7C E7 39 10 */ subfe r7, r7, r7
/* 80126D34 00122B74 38 E7 00 02 */ addi r7, r7, 0x2
/* 80126D38 00122B78 2C 07 00 02 */ cmpwi r7, 0x2
/* 80126D3C 00122B7C 40 82 00 0C */ bne lbl_80126D48
/* 80126D40 00122B80 54 63 08 3C */ slwi r3, r3, 1
/* 80126D44 00122B84 54 A5 08 3C */ slwi r5, r5, 1
.global lbl_80126D48
lbl_80126D48:
/* 80126D48 00122B88 7C E3 2A 14 */ add r7, r3, r5
/* 80126D4C 00122B8C 54 65 0F FE */ srwi r5, r3, 31
/* 80126D50 00122B90 7C 07 48 00 */ cmpw r7, r9
/* 80126D54 00122B94 38 A5 FF FF */ addi r5, r5, -0x1
/* 80126D58 00122B98 7C 68 28 38 */ and r8, r3, r5
/* 80126D5C 00122B9C 41 81 00 08 */ bgt lbl_80126D64
/* 80126D60 00122BA0 7C E9 3B 78 */ mr r9, r7
.global lbl_80126D64
lbl_80126D64:
/* 80126D64 00122BA4 3C E0 80 54 */ lis r7, sFrameBufferInfo__Q24nw4r2db@ha
/* 80126D68 00122BA8 38 60 01 2C */ li r3, 0x12c
/* 80126D6C 00122BAC 38 E7 30 88 */ addi r7, r7, sFrameBufferInfo__Q24nw4r2db@l
/* 80126D70 00122BB0 7C A8 48 50 */ subf r5, r8, r9
/* 80126D74 00122BB4 A1 67 00 0A */ lhz r11, 0xa(r7)
/* 80126D78 00122BB8 7C 63 58 10 */ subfc r3, r3, r11
/* 80126D7C 00122BBC 7C 63 19 10 */ subfe r3, r3, r3
/* 80126D80 00122BC0 38 63 00 02 */ addi r3, r3, 0x2
/* 80126D84 00122BC4 2C 03 00 02 */ cmpwi r3, 0x2
/* 80126D88 00122BC8 40 82 00 0C */ bne lbl_80126D94
/* 80126D8C 00122BCC 54 84 08 3C */ slwi r4, r4, 1
/* 80126D90 00122BD0 54 C6 08 3C */ slwi r6, r6, 1
.global lbl_80126D94
lbl_80126D94:
/* 80126D94 00122BD4 7C C4 32 14 */ add r6, r4, r6
/* 80126D98 00122BD8 54 83 0F FE */ srwi r3, r4, 31
/* 80126D9C 00122BDC 7C 06 58 00 */ cmpw r6, r11
/* 80126DA0 00122BE0 38 63 FF FF */ addi r3, r3, -0x1
/* 80126DA4 00122BE4 7C 8A 18 38 */ and r10, r4, r3
/* 80126DA8 00122BE8 41 81 00 08 */ bgt lbl_80126DB0
/* 80126DAC 00122BEC 7C CB 33 78 */ mr r11, r6
.global lbl_80126DB0
lbl_80126DB0:
/* 80126DB0 00122BF0 3D 20 80 54 */ lis r9, sFrameBufferInfo__Q24nw4r2db@ha
/* 80126DB4 00122BF4 7C CA 58 50 */ subf r6, r10, r11
/* 80126DB8 00122BF8 39 29 30 88 */ addi r9, r9, sFrameBufferInfo__Q24nw4r2db@l
/* 80126DBC 00122BFC 55 07 08 3C */ slwi r7, r8, 1
/* 80126DC0 00122C00 A0 89 00 0C */ lhz r4, 0xc(r9)
/* 80126DC4 00122C04 39 60 00 00 */ li r11, 0x0
/* 80126DC8 00122C08 38 60 10 80 */ li r3, 0x1080
/* 80126DCC 00122C0C 7D 04 51 D6 */ mullw r8, r4, r10
/* 80126DD0 00122C10 3C 80 80 00 */ lis r4, 0x8000
/* 80126DD4 00122C14 55 08 08 3C */ slwi r8, r8, 1
/* 80126DD8 00122C18 7C 00 42 14 */ add r0, r0, r8
/* 80126DDC 00122C1C 7D 47 02 14 */ add r10, r7, r0
/* 80126DE0 00122C20 48 00 00 B4 */ b lbl_80126E94
/* 80126DE4 00122C24 60 00 00 00 */ nop
.global lbl_80126DE8
lbl_80126DE8:
/* 80126DE8 00122C28 2C 85 00 00 */ cmpwi cr1, r5, 0x0
/* 80126DEC 00122C2C 39 80 00 00 */ li r12, 0x0
/* 80126DF0 00122C30 40 85 00 90 */ ble cr1, lbl_80126E80
/* 80126DF4 00122C34 2C 05 00 08 */ cmpwi r5, 0x8
/* 80126DF8 00122C38 38 E5 FF F8 */ addi r7, r5, -0x8
/* 80126DFC 00122C3C 40 81 00 64 */ ble lbl_80126E60
/* 80126E00 00122C40 39 00 00 00 */ li r8, 0x0
/* 80126E04 00122C44 41 84 00 14 */ blt cr1, lbl_80126E18
/* 80126E08 00122C48 38 04 FF FE */ addi r0, r4, -0x2
/* 80126E0C 00122C4C 7C 05 00 00 */ cmpw r5, r0
/* 80126E10 00122C50 41 81 00 08 */ bgt lbl_80126E18
/* 80126E14 00122C54 39 00 00 01 */ li r8, 0x1
.global lbl_80126E18
lbl_80126E18:
/* 80126E18 00122C58 2C 08 00 00 */ cmpwi r8, 0x0
/* 80126E1C 00122C5C 41 82 00 44 */ beq lbl_80126E60
/* 80126E20 00122C60 38 07 00 07 */ addi r0, r7, 0x7
/* 80126E24 00122C64 54 00 E8 FE */ srwi r0, r0, 3
/* 80126E28 00122C68 7C 09 03 A6 */ mtctr r0
/* 80126E2C 00122C6C 2C 07 00 00 */ cmpwi r7, 0x0
/* 80126E30 00122C70 40 81 00 30 */ ble lbl_80126E60
.global lbl_80126E34
lbl_80126E34:
/* 80126E34 00122C74 B0 6A 00 00 */ sth r3, 0x0(r10)
/* 80126E38 00122C78 39 8C 00 08 */ addi r12, r12, 0x8
/* 80126E3C 00122C7C B0 6A 00 02 */ sth r3, 0x2(r10)
/* 80126E40 00122C80 B0 6A 00 04 */ sth r3, 0x4(r10)
/* 80126E44 00122C84 B0 6A 00 06 */ sth r3, 0x6(r10)
/* 80126E48 00122C88 B0 6A 00 08 */ sth r3, 0x8(r10)
/* 80126E4C 00122C8C B0 6A 00 0A */ sth r3, 0xa(r10)
/* 80126E50 00122C90 B0 6A 00 0C */ sth r3, 0xc(r10)
/* 80126E54 00122C94 B0 6A 00 0E */ sth r3, 0xe(r10)
/* 80126E58 00122C98 39 4A 00 10 */ addi r10, r10, 0x10
/* 80126E5C 00122C9C 42 00 FF D8 */ bdnz lbl_80126E34
.global lbl_80126E60
lbl_80126E60:
/* 80126E60 00122CA0 7C 0C 28 50 */ subf r0, r12, r5
/* 80126E64 00122CA4 7C 09 03 A6 */ mtctr r0
/* 80126E68 00122CA8 7C 0C 28 00 */ cmpw r12, r5
/* 80126E6C 00122CAC 40 80 00 14 */ bge lbl_80126E80
.global lbl_80126E70
lbl_80126E70:
/* 80126E70 00122CB0 B0 6A 00 00 */ sth r3, 0x0(r10)
/* 80126E74 00122CB4 39 4A 00 02 */ addi r10, r10, 0x2
/* 80126E78 00122CB8 39 8C 00 01 */ addi r12, r12, 0x1
/* 80126E7C 00122CBC 42 00 FF F4 */ bdnz lbl_80126E70
.global lbl_80126E80
lbl_80126E80:
/* 80126E80 00122CC0 A0 09 00 0C */ lhz r0, 0xc(r9)
/* 80126E84 00122CC4 39 6B 00 01 */ addi r11, r11, 0x1
/* 80126E88 00122CC8 7C 05 00 50 */ subf r0, r5, r0
/* 80126E8C 00122CCC 54 00 08 3C */ slwi r0, r0, 1
/* 80126E90 00122CD0 7D 4A 02 14 */ add r10, r10, r0
.global lbl_80126E94
lbl_80126E94:
/* 80126E94 00122CD4 7C 0B 30 00 */ cmpw r11, r6
/* 80126E98 00122CD8 41 80 FF 50 */ blt lbl_80126DE8
/* 80126E9C 00122CDC 4E 80 00 20 */ blr
.global DirectPrint_StoreCache__Q24nw4r2dbFv
DirectPrint_StoreCache__Q24nw4r2dbFv:
/* 80126EA0 00122CE0 3C 60 80 54 */ lis r3, sFrameBufferInfo__Q24nw4r2db@ha
/* 80126EA4 00122CE4 38 83 30 88 */ addi r4, r3, sFrameBufferInfo__Q24nw4r2db@l
/* 80126EA8 00122CE8 80 63 30 88 */ lwz r3, 0x3088(r3)
/* 80126EAC 00122CEC 80 84 00 04 */ lwz r4, 0x4(r4)
/* 80126EB0 00122CF0 4B EF 5B 00 */ b DCStoreRange
/* 80126EB4 00122CF4 00 00 00 00 */ .4byte 0x00000000
/* 80126EB8 00122CF8 00 00 00 00 */ .4byte 0x00000000
/* 80126EBC 00122CFC 00 00 00 00 */ .4byte 0x00000000
.global DirectPrint_DrawString__Q24nw4r2dbFiibPCce
DirectPrint_DrawString__Q24nw4r2dbFiibPCce:
/* 80126EC0 00122D00 94 21 FE 70 */ stwu r1, -0x190(r1)
/* 80126EC4 00122D04 7C 08 02 A6 */ mflr r0
/* 80126EC8 00122D08 7C CC 33 78 */ mr r12, r6
/* 80126ECC 00122D0C 90 01 01 94 */ stw r0, 0x194(r1)
/* 80126ED0 00122D10 93 E1 01 8C */ stw r31, 0x18c(r1)
/* 80126ED4 00122D14 7C BF 2B 78 */ mr r31, r5
/* 80126ED8 00122D18 93 C1 01 88 */ stw r30, 0x188(r1)
/* 80126EDC 00122D1C 7C 9E 23 78 */ mr r30, r4
/* 80126EE0 00122D20 93 A1 01 84 */ stw r29, 0x184(r1)
/* 80126EE4 00122D24 7C 7D 1B 78 */ mr r29, r3
/* 80126EE8 00122D28 40 86 00 24 */ bne cr1, lbl_80126F0C
/* 80126EEC 00122D2C D8 21 00 28 */ stfd f1, 0x28(r1)
/* 80126EF0 00122D30 D8 41 00 30 */ stfd f2, 0x30(r1)
/* 80126EF4 00122D34 D8 61 00 38 */ stfd f3, 0x38(r1)
/* 80126EF8 00122D38 D8 81 00 40 */ stfd f4, 0x40(r1)
/* 80126EFC 00122D3C D8 A1 00 48 */ stfd f5, 0x48(r1)
/* 80126F00 00122D40 D8 C1 00 50 */ stfd f6, 0x50(r1)
/* 80126F04 00122D44 D8 E1 00 58 */ stfd f7, 0x58(r1)
/* 80126F08 00122D48 D9 01 00 60 */ stfd f8, 0x60(r1)
.global lbl_80126F0C
lbl_80126F0C:
/* 80126F0C 00122D4C 3D 60 80 54 */ lis r11, sFrameBufferInfo__Q24nw4r2db@ha
/* 80126F10 00122D50 90 61 00 08 */ stw r3, 0x8(r1)
/* 80126F14 00122D54 80 0B 30 88 */ lwz r0, sFrameBufferInfo__Q24nw4r2db@l(r11)
/* 80126F18 00122D58 90 81 00 0C */ stw r4, 0xc(r1)
/* 80126F1C 00122D5C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80126F20 00122D60 90 A1 00 10 */ stw r5, 0x10(r1)
/* 80126F24 00122D64 90 C1 00 14 */ stw r6, 0x14(r1)
/* 80126F28 00122D68 90 E1 00 18 */ stw r7, 0x18(r1)
/* 80126F2C 00122D6C 91 01 00 1C */ stw r8, 0x1c(r1)
/* 80126F30 00122D70 91 21 00 20 */ stw r9, 0x20(r1)
/* 80126F34 00122D74 91 41 00 24 */ stw r10, 0x24(r1)
/* 80126F38 00122D78 41 82 00 50 */ beq lbl_80126F88
/* 80126F3C 00122D7C 38 81 01 98 */ addi r4, r1, 0x198
/* 80126F40 00122D80 38 01 00 08 */ addi r0, r1, 0x8
/* 80126F44 00122D84 3C 60 04 00 */ lis r3, 0x400
/* 80126F48 00122D88 90 61 00 68 */ stw r3, 0x68(r1)
/* 80126F4C 00122D8C 38 C1 00 68 */ addi r6, r1, 0x68
/* 80126F50 00122D90 7D 85 63 78 */ mr r5, r12
/* 80126F54 00122D94 90 81 00 6C */ stw r4, 0x6c(r1)
/* 80126F58 00122D98 38 61 00 78 */ addi r3, r1, 0x78
/* 80126F5C 00122D9C 38 80 01 00 */ li r4, 0x100
/* 80126F60 00122DA0 90 01 00 70 */ stw r0, 0x70(r1)
/* 80126F64 00122DA4 4B EE 66 59 */ bl vsnprintf
/* 80126F68 00122DA8 2C 03 00 00 */ cmpwi r3, 0x0
/* 80126F6C 00122DAC 40 81 00 1C */ ble lbl_80126F88
/* 80126F70 00122DB0 7F A3 EB 78 */ mr r3, r29
/* 80126F74 00122DB4 7F C4 F3 78 */ mr r4, r30
/* 80126F78 00122DB8 7F E6 FB 78 */ mr r6, r31
/* 80126F7C 00122DBC 38 A1 00 78 */ addi r5, r1, 0x78
/* 80126F80 00122DC0 38 E0 00 00 */ li r7, 0x0
/* 80126F84 00122DC4 48 00 01 BD */ bl DrawStringToXfb___Q24nw4r2dbFiiPCcbb
.global lbl_80126F88
lbl_80126F88:
/* 80126F88 00122DC8 80 01 01 94 */ lwz r0, 0x194(r1)
/* 80126F8C 00122DCC 83 E1 01 8C */ lwz r31, 0x18c(r1)
/* 80126F90 00122DD0 83 C1 01 88 */ lwz r30, 0x188(r1)
/* 80126F94 00122DD4 83 A1 01 84 */ lwz r29, 0x184(r1)
/* 80126F98 00122DD8 7C 08 03 A6 */ mtlr r0
/* 80126F9C 00122DDC 38 21 01 90 */ addi r1, r1, 0x190
/* 80126FA0 00122DE0 4E 80 00 20 */ blr
/* 80126FA4 00122DE4 00 00 00 00 */ .4byte 0x00000000
/* 80126FA8 00122DE8 00 00 00 00 */ .4byte 0x00000000
/* 80126FAC 00122DEC 00 00 00 00 */ .4byte 0x00000000
.global DirectPrint_SetColor__Q24nw4r2dbFUcUcUc
DirectPrint_SetColor__Q24nw4r2dbFUcUcUc:
/* 80126FB0 00122DF0 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80126FB4 00122DF4 3D 60 43 30 */ lis r11, 0x4330
/* 80126FB8 00122DF8 3C E0 80 54 */ lis r7, sFrameBufferColor__Q24nw4r2db@ha
/* 80126FBC 00122DFC 6C AA 80 00 */ xoris r10, r5, 0x8000
/* 80126FC0 00122E00 91 61 00 08 */ stw r11, 0x8(r1)
/* 80126FC4 00122E04 38 C7 30 98 */ addi r6, r7, sFrameBufferColor__Q24nw4r2db@l
/* 80126FC8 00122E08 6C 69 80 00 */ xoris r9, r3, 0x8000
/* 80126FCC 00122E0C 38 00 00 FF */ li r0, 0xff
/* 80126FD0 00122E10 91 41 00 0C */ stw r10, 0xc(r1)
/* 80126FD4 00122E14 6C 88 80 00 */ xoris r8, r4, 0x8000
/* 80126FD8 00122E18 C8 22 95 C8 */ lfd f1, "@2754_8055F548"@sda21(r2)
/* 80126FDC 00122E1C C8 01 00 08 */ lfd f0, 0x8(r1)
/* 80126FE0 00122E20 91 61 00 10 */ stw r11, 0x10(r1)
/* 80126FE4 00122E24 EC 40 08 28 */ fsubs f2, f0, f1
/* 80126FE8 00122E28 C0 02 95 A4 */ lfs f0, "@2742"@sda21(r2)
/* 80126FEC 00122E2C 91 21 00 14 */ stw r9, 0x14(r1)
/* 80126FF0 00122E30 C0 82 95 A8 */ lfs f4, "@2743"@sda21(r2)
/* 80126FF4 00122E34 C8 61 00 10 */ lfd f3, 0x10(r1)
/* 80126FF8 00122E38 EC 00 00 B2 */ fmuls f0, f0, f2
/* 80126FFC 00122E3C 91 01 00 0C */ stw r8, 0xc(r1)
/* 80127000 00122E40 EC A3 08 28 */ fsubs f5, f3, f1
/* 80127004 00122E44 C1 42 95 B4 */ lfs f10, "@2746_8055F534"@sda21(r2)
/* 80127008 00122E48 C8 61 00 08 */ lfd f3, 0x8(r1)
/* 8012700C 00122E4C 91 41 00 14 */ stw r10, 0x14(r1)
/* 80127010 00122E50 ED 63 08 28 */ fsubs f11, f3, f1
/* 80127014 00122E54 C0 C2 95 B8 */ lfs f6, "@2747_8055F538"@sda21(r2)
/* 80127018 00122E58 C8 61 00 10 */ lfd f3, 0x10(r1)
/* 8012701C 00122E5C ED 84 01 72 */ fmuls f12, f4, f5
/* 80127020 00122E60 91 21 00 0C */ stw r9, 0xc(r1)
/* 80127024 00122E64 EC A3 08 28 */ fsubs f5, f3, f1
/* 80127028 00122E68 C8 61 00 08 */ lfd f3, 0x8(r1)
/* 8012702C 00122E6C 91 01 00 14 */ stw r8, 0x14(r1)
/* 80127030 00122E70 EC E3 08 28 */ fsubs f7, f3, f1
/* 80127034 00122E74 C0 42 95 BC */ lfs f2, "@2748"@sda21(r2)
/* 80127038 00122E78 C8 61 00 10 */ lfd f3, 0x10(r1)
/* 8012703C 00122E7C ED 2A 01 72 */ fmuls f9, f10, f5
/* 80127040 00122E80 91 21 00 0C */ stw r9, 0xc(r1)
/* 80127044 00122E84 EC A3 08 28 */ fsubs f5, f3, f1
/* 80127048 00122E88 C8 61 00 08 */ lfd f3, 0x8(r1)
/* 8012704C 00122E8C ED 06 01 F2 */ fmuls f8, f6, f7
/* 80127050 00122E90 91 01 00 14 */ stw r8, 0x14(r1)
/* 80127054 00122E94 EC E2 01 72 */ fmuls f7, f2, f5
/* 80127058 00122E98 C0 A2 95 AC */ lfs f5, "@2744"@sda21(r2)
/* 8012705C 00122E9C EC C3 08 28 */ fsubs f6, f3, f1
/* 80127060 00122EA0 91 41 00 0C */ stw r10, 0xc(r1)
/* 80127064 00122EA4 ED 65 02 F2 */ fmuls f11, f5, f11
/* 80127068 00122EA8 C8 41 00 10 */ lfd f2, 0x10(r1)
/* 8012706C 00122EAC ED 08 38 28 */ fsubs f8, f8, f7
/* 80127070 00122EB0 C0 82 95 C0 */ lfs f4, "@2749"@sda21(r2)
/* 80127074 00122EB4 EC A2 08 28 */ fsubs f5, f2, f1
/* 80127078 00122EB8 C8 61 00 08 */ lfd f3, 0x8(r1)
/* 8012707C 00122EBC ED 6C 58 2A */ fadds f11, f12, f11
/* 80127080 00122EC0 C0 42 95 C4 */ lfs f2, "@2750_8055F544"@sda21(r2)
/* 80127084 00122EC4 EC 23 08 28 */ fsubs f1, f3, f1
/* 80127088 00122EC8 C0 E2 95 B0 */ lfs f7, "@2745"@sda21(r2)
/* 8012708C 00122ECC ED 09 40 2A */ fadds f8, f9, f8
/* 80127090 00122ED0 C1 22 95 A0 */ lfs f9, "@2741"@sda21(r2)
/* 80127094 00122ED4 EC 64 01 72 */ fmuls f3, f4, f5
/* 80127098 00122ED8 98 86 00 01 */ stb r4, 0x1(r6)
/* 8012709C 00122EDC EC CA 01 B2 */ fmuls f6, f10, f6
/* 801270A0 00122EE0 98 06 00 03 */ stb r0, 0x3(r6)
/* 801270A4 00122EE4 EC A0 58 2A */ fadds f5, f0, f11
/* 801270A8 00122EE8 EC 02 00 72 */ fmuls f0, f2, f1
/* 801270AC 00122EEC 98 67 30 98 */ stb r3, 0x3098(r7)
/* 801270B0 00122EF0 EC 87 40 2A */ fadds f4, f7, f8
/* 801270B4 00122EF4 EC 66 18 28 */ fsubs f3, f6, f3
/* 801270B8 00122EF8 98 A6 00 02 */ stb r5, 0x2(r6)
/* 801270BC 00122EFC EC 49 28 2A */ fadds f2, f9, f5
/* 801270C0 00122F00 FC 20 20 1E */ fctiwz f1, f4
/* 801270C4 00122F04 EC 03 00 28 */ fsubs f0, f3, f0
/* 801270C8 00122F08 D8 21 00 20 */ stfd f1, 0x20(r1)
/* 801270CC 00122F0C FC 20 10 1E */ fctiwz f1, f2
/* 801270D0 00122F10 80 81 00 24 */ lwz r4, 0x24(r1)
/* 801270D4 00122F14 EC 07 00 2A */ fadds f0, f7, f0
/* 801270D8 00122F18 D8 21 00 18 */ stfd f1, 0x18(r1)
/* 801270DC 00122F1C 54 80 0F FE */ srwi r0, r4, 31
/* 801270E0 00122F20 FC 00 00 1E */ fctiwz f0, f0
/* 801270E4 00122F24 7C 00 22 14 */ add r0, r0, r4
/* 801270E8 00122F28 7C 03 0E 70 */ srawi r3, r0, 1
/* 801270EC 00122F2C B0 86 00 06 */ sth r4, 0x6(r6)
/* 801270F0 00122F30 7C 80 16 70 */ srawi r0, r4, 2
/* 801270F4 00122F34 7C 80 01 94 */ addze r4, r0
/* 801270F8 00122F38 D8 01 00 28 */ stfd f0, 0x28(r1)
/* 801270FC 00122F3C 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 80127100 00122F40 80 A1 00 2C */ lwz r5, 0x2c(r1)
/* 80127104 00122F44 54 00 44 2E */ rlwinm r0, r0, 8, 16, 23
/* 80127108 00122F48 B0 06 00 04 */ sth r0, 0x4(r6)
/* 8012710C 00122F4C 54 A0 0F FE */ srwi r0, r5, 31
/* 80127110 00122F50 7C 00 2A 14 */ add r0, r0, r5
/* 80127114 00122F54 B0 66 00 08 */ sth r3, 0x8(r6)
/* 80127118 00122F58 7C 03 0E 70 */ srawi r3, r0, 1
/* 8012711C 00122F5C 7C A0 16 70 */ srawi r0, r5, 2
/* 80127120 00122F60 B0 86 00 0A */ sth r4, 0xa(r6)
/* 80127124 00122F64 7C 00 01 94 */ addze r0, r0
/* 80127128 00122F68 B0 A6 00 0C */ sth r5, 0xc(r6)
/* 8012712C 00122F6C B0 66 00 0E */ sth r3, 0xe(r6)
/* 80127130 00122F70 B0 06 00 10 */ sth r0, 0x10(r6)
/* 80127134 00122F74 38 21 00 30 */ addi r1, r1, 0x30
/* 80127138 00122F78 4E 80 00 20 */ blr
/* 8012713C 00122F7C 00 00 00 00 */ .4byte 0x00000000
.global DrawStringToXfb___Q24nw4r2dbFiiPCcbb
DrawStringToXfb___Q24nw4r2dbFiiPCcbb:
/* 80127140 00122F80 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80127144 00122F84 7C 08 02 A6 */ mflr r0
/* 80127148 00122F88 90 01 00 34 */ stw r0, 0x34(r1)
/* 8012714C 00122F8C 39 61 00 30 */ addi r11, r1, 0x30
/* 80127150 00122F90 4B EE 01 E1 */ bl lbl_80007330
/* 80127154 00122F94 3D 00 80 54 */ lis r8, sFrameBufferInfo__Q24nw4r2db@ha
/* 80127158 00122F98 7C 79 1B 78 */ mr r25, r3
/* 8012715C 00122F9C 39 08 30 88 */ addi r8, r8, sFrameBufferInfo__Q24nw4r2db@l
/* 80127160 00122FA0 3C 60 2A AB */ lis r3, 0x2aab
/* 80127164 00122FA4 A1 08 00 08 */ lhz r8, 0x8(r8)
/* 80127168 00122FA8 38 00 01 90 */ li r0, 0x190
/* 8012716C 00122FAC 7C 9A 23 78 */ mr r26, r4
/* 80127170 00122FB0 7C BB 2B 78 */ mr r27, r5
/* 80127174 00122FB4 7C 00 40 10 */ subfc r0, r0, r8
/* 80127178 00122FB8 7C DC 33 78 */ mr r28, r6
/* 8012717C 00122FBC 7C 80 01 10 */ subfe r4, r0, r0
/* 80127180 00122FC0 7C FD 3B 78 */ mr r29, r7
/* 80127184 00122FC4 38 04 00 02 */ addi r0, r4, 0x2
/* 80127188 00122FC8 7F 3F CB 78 */ mr r31, r25
/* 8012718C 00122FCC 7F C8 03 D6 */ divw r30, r8, r0
/* 80127190 00122FD0 3B 03 AA AB */ addi r24, r3, -0x5555
/* 80127194 00122FD4 48 00 00 DC */ b lbl_80127270
.global lbl_80127198
lbl_80127198:
/* 80127198 00122FD8 2C 1D 00 00 */ cmpwi r29, 0x0
/* 8012719C 00122FDC 41 82 00 58 */ beq lbl_801271F4
/* 801271A0 00122FE0 7F 63 DB 78 */ mr r3, r27
/* 801271A4 00122FE4 38 80 00 00 */ li r4, 0x0
.global lbl_801271A8
lbl_801271A8:
/* 801271A8 00122FE8 88 03 00 00 */ lbz r0, 0x0(r3)
/* 801271AC 00122FEC 38 63 00 01 */ addi r3, r3, 0x1
/* 801271B0 00122FF0 7C 00 07 75 */ extsb. r0, r0
/* 801271B4 00122FF4 41 82 00 28 */ beq lbl_801271DC
/* 801271B8 00122FF8 2C 00 00 0A */ cmpwi r0, 0xa
/* 801271BC 00122FFC 41 82 00 20 */ beq lbl_801271DC
/* 801271C0 00123000 2C 00 00 09 */ cmpwi r0, 0x9
/* 801271C4 00123004 40 82 00 10 */ bne lbl_801271D4
/* 801271C8 00123008 38 04 00 04 */ addi r0, r4, 0x4
/* 801271CC 0012300C 54 04 00 3A */ clrrwi r4, r0, 2
/* 801271D0 00123010 4B FF FF D8 */ b lbl_801271A8
.global lbl_801271D4
lbl_801271D4:
/* 801271D4 00123014 38 84 00 01 */ addi r4, r4, 0x1
/* 801271D8 00123018 4B FF FF D0 */ b lbl_801271A8
.global lbl_801271DC
lbl_801271DC:
/* 801271DC 0012301C 38 04 00 02 */ addi r0, r4, 0x2
/* 801271E0 00123020 38 79 FF FA */ addi r3, r25, -0x6
/* 801271E4 00123024 1C A0 00 06 */ mulli r5, r0, 0x6
/* 801271E8 00123028 38 9A FF FD */ addi r4, r26, -0x3
/* 801271EC 0012302C 38 C0 00 0D */ li r6, 0xd
/* 801271F0 00123030 4B FF FB 21 */ bl DirectPrint_EraseXfb__Q24nw4r2dbFiiii
.global lbl_801271F4
lbl_801271F4:
/* 801271F4 00123034 7C 19 F0 50 */ subf r0, r25, r30
/* 801271F8 00123038 7F 23 CB 78 */ mr r3, r25
/* 801271FC 0012303C 7C D8 00 96 */ mulhw r6, r24, r0
/* 80127200 00123040 7F 44 D3 78 */ mr r4, r26
/* 80127204 00123044 7F 65 DB 78 */ mr r5, r27
/* 80127208 00123048 54 C0 0F FE */ srwi r0, r6, 31
/* 8012720C 0012304C 7C C6 02 14 */ add r6, r6, r0
/* 80127210 00123050 48 00 00 91 */ bl DrawStringLineToXfb___Q24nw4r2dbFiiPCci
/* 80127214 00123054 88 03 00 00 */ lbz r0, 0x0(r3)
/* 80127218 00123058 7C 7B 1B 78 */ mr r27, r3
/* 8012721C 0012305C 3B 5A 00 0A */ addi r26, r26, 0xa
/* 80127220 00123060 7C 00 07 74 */ extsb r0, r0
/* 80127224 00123064 2C 00 00 0A */ cmpwi r0, 0xa
/* 80127228 00123068 40 82 00 10 */ bne lbl_80127238
/* 8012722C 0012306C 7F F9 FB 78 */ mr r25, r31
/* 80127230 00123070 3B 63 00 01 */ addi r27, r3, 0x1
/* 80127234 00123074 48 00 00 3C */ b lbl_80127270
.global lbl_80127238
lbl_80127238:
/* 80127238 00123078 2C 00 00 00 */ cmpwi r0, 0x0
/* 8012723C 0012307C 41 82 00 34 */ beq lbl_80127270
/* 80127240 00123080 2C 1C 00 00 */ cmpwi r28, 0x0
/* 80127244 00123084 3B 63 00 01 */ addi r27, r3, 0x1
/* 80127248 00123088 40 82 00 24 */ bne lbl_8012726C
/* 8012724C 0012308C 7F 63 DB 78 */ mr r3, r27
/* 80127250 00123090 38 80 00 0A */ li r4, 0xa
/* 80127254 00123094 4B EE 6A 45 */ bl strchr
/* 80127258 00123098 2C 03 00 00 */ cmpwi r3, 0x0
/* 8012725C 0012309C 41 82 00 20 */ beq lbl_8012727C
/* 80127260 001230A0 7F F9 FB 78 */ mr r25, r31
/* 80127264 001230A4 3B 63 00 01 */ addi r27, r3, 0x1
/* 80127268 001230A8 48 00 00 08 */ b lbl_80127270
.global lbl_8012726C
lbl_8012726C:
/* 8012726C 001230AC 3B 20 00 00 */ li r25, 0x0
.global lbl_80127270
lbl_80127270:
/* 80127270 001230B0 88 1B 00 00 */ lbz r0, 0x0(r27)
/* 80127274 001230B4 7C 00 07 75 */ extsb. r0, r0
/* 80127278 001230B8 40 82 FF 20 */ bne lbl_80127198
.global lbl_8012727C
lbl_8012727C:
/* 8012727C 001230BC 39 61 00 30 */ addi r11, r1, 0x30
/* 80127280 001230C0 4B EE 00 FD */ bl lbl_8000737C
/* 80127284 001230C4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80127288 001230C8 7C 08 03 A6 */ mtlr r0
/* 8012728C 001230CC 38 21 00 30 */ addi r1, r1, 0x30
/* 80127290 001230D0 4E 80 00 20 */ blr
/* 80127294 001230D4 00 00 00 00 */ .4byte 0x00000000
/* 80127298 001230D8 00 00 00 00 */ .4byte 0x00000000
/* 8012729C 001230DC 00 00 00 00 */ .4byte 0x00000000
.global DrawStringLineToXfb___Q24nw4r2dbFiiPCci
DrawStringLineToXfb___Q24nw4r2dbFiiPCci:
/* 801272A0 001230E0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 801272A4 001230E4 7C 08 02 A6 */ mflr r0
/* 801272A8 001230E8 90 01 00 24 */ stw r0, 0x24(r1)
/* 801272AC 001230EC 39 61 00 20 */ addi r11, r1, 0x20
/* 801272B0 001230F0 4B EE 00 89 */ bl lbl_80007338
/* 801272B4 001230F4 3F E0 80 41 */ lis r31, sAsciiTable__Q24nw4r2db@ha
/* 801272B8 001230F8 7C 7A 1B 78 */ mr r26, r3
/* 801272BC 001230FC 7C 9B 23 78 */ mr r27, r4
/* 801272C0 00123100 7C BC 2B 78 */ mr r28, r5
/* 801272C4 00123104 7C DD 33 78 */ mr r29, r6
/* 801272C8 00123108 3B FF DB 28 */ addi r31, r31, sAsciiTable__Q24nw4r2db@l
/* 801272CC 0012310C 3B C0 00 00 */ li r30, 0x0
/* 801272D0 00123110 48 00 00 84 */ b lbl_80127354
.global lbl_801272D4
lbl_801272D4:
/* 801272D4 00123114 2C 00 00 0A */ cmpwi r0, 0xa
/* 801272D8 00123118 41 82 00 0C */ beq lbl_801272E4
/* 801272DC 0012311C 2C 00 00 00 */ cmpwi r0, 0x0
/* 801272E0 00123120 40 82 00 0C */ bne lbl_801272EC
.global lbl_801272E4
lbl_801272E4:
/* 801272E4 00123124 7F 83 E3 78 */ mr r3, r28
/* 801272E8 00123128 48 00 00 7C */ b lbl_80127364
.global lbl_801272EC
lbl_801272EC:
/* 801272EC 0012312C 54 00 06 7E */ clrlwi r0, r0, 25
/* 801272F0 00123130 7C BF 00 AE */ lbzx r5, r31, r0
/* 801272F4 00123134 2C 05 00 FD */ cmpwi r5, 0xfd
/* 801272F8 00123138 40 82 00 1C */ bne lbl_80127314
/* 801272FC 0012313C 57 C0 07 BE */ clrlwi r0, r30, 30
/* 80127300 00123140 20 60 00 04 */ subfic r3, r0, 0x4
/* 80127304 00123144 1C 03 00 06 */ mulli r0, r3, 0x6
/* 80127308 00123148 7F DE 1A 14 */ add r30, r30, r3
/* 8012730C 0012314C 7F 5A 02 14 */ add r26, r26, r0
/* 80127310 00123150 48 00 00 20 */ b lbl_80127330
.global lbl_80127314
lbl_80127314:
/* 80127314 00123154 2C 05 00 FF */ cmpwi r5, 0xff
/* 80127318 00123158 41 82 00 10 */ beq lbl_80127328
/* 8012731C 0012315C 7F 43 D3 78 */ mr r3, r26
/* 80127320 00123160 7F 64 DB 78 */ mr r4, r27
/* 80127324 00123164 48 00 00 5D */ bl DrawCharToXfb___Q24nw4r2dbFiii
.global lbl_80127328
lbl_80127328:
/* 80127328 00123168 3B 5A 00 06 */ addi r26, r26, 0x6
/* 8012732C 0012316C 3B DE 00 01 */ addi r30, r30, 0x1
.global lbl_80127330
lbl_80127330:
/* 80127330 00123170 7C 1E E8 00 */ cmpw r30, r29
/* 80127334 00123174 41 80 00 1C */ blt lbl_80127350
/* 80127338 00123178 88 1C 00 01 */ lbz r0, 0x1(r28)
/* 8012733C 0012317C 2C 00 00 0A */ cmpwi r0, 0xa
/* 80127340 00123180 40 82 00 08 */ bne lbl_80127348
/* 80127344 00123184 3B 9C 00 01 */ addi r28, r28, 0x1
.global lbl_80127348
lbl_80127348:
/* 80127348 00123188 7F 83 E3 78 */ mr r3, r28
/* 8012734C 0012318C 48 00 00 18 */ b lbl_80127364
.global lbl_80127350
lbl_80127350:
/* 80127350 00123190 3B 9C 00 01 */ addi r28, r28, 0x1
.global lbl_80127354
lbl_80127354:
/* 80127354 00123194 88 1C 00 00 */ lbz r0, 0x0(r28)
/* 80127358 00123198 7C 00 07 75 */ extsb. r0, r0
/* 8012735C 0012319C 40 82 FF 78 */ bne lbl_801272D4
/* 80127360 001231A0 7F 83 E3 78 */ mr r3, r28
.global lbl_80127364
lbl_80127364:
/* 80127364 001231A4 39 61 00 20 */ addi r11, r1, 0x20
/* 80127368 001231A8 4B EE 00 1D */ bl lbl_80007384
/* 8012736C 001231AC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80127370 001231B0 7C 08 03 A6 */ mtlr r0
/* 80127374 001231B4 38 21 00 20 */ addi r1, r1, 0x20
/* 80127378 001231B8 4E 80 00 20 */ blr
/* 8012737C 001231BC 00 00 00 00 */ .4byte 0x00000000
.global DrawCharToXfb___Q24nw4r2dbFiii
DrawCharToXfb___Q24nw4r2dbFiii:
/* 80127380 001231C0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80127384 001231C4 7C 08 02 A6 */ mflr r0
/* 80127388 001231C8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8012738C 001231CC 39 61 00 20 */ addi r11, r1, 0x20
/* 80127390 001231D0 4B ED FF A9 */ bl lbl_80007338
/* 80127394 001231D4 2C 05 00 64 */ cmpwi r5, 0x64
/* 80127398 001231D8 7C A8 2B 78 */ mr r8, r5
/* 8012739C 001231DC 41 80 00 08 */ blt lbl_801273A4
/* 801273A0 001231E0 39 05 FF 9C */ addi r8, r5, -0x64
.global lbl_801273A4
lbl_801273A4:
/* 801273A4 001231E4 3C E0 66 66 */ lis r7, 0x6666
/* 801273A8 001231E8 3C C0 80 41 */ lis r6, sFontData2__Q24nw4r2db@ha
/* 801273AC 001231EC 38 07 66 67 */ addi r0, r7, 0x6667
/* 801273B0 001231F0 2C 05 00 64 */ cmpwi r5, 0x64
/* 801273B4 001231F4 7C 00 40 96 */ mulhw r0, r0, r8
/* 801273B8 001231F8 38 C6 DC A8 */ addi r6, r6, sFontData2__Q24nw4r2db@l
/* 801273BC 001231FC 7C 05 0E 70 */ srawi r5, r0, 1
/* 801273C0 00123200 54 A7 0F FE */ srwi r7, r5, 31
/* 801273C4 00123204 7C 00 0E 70 */ srawi r0, r0, 1
/* 801273C8 00123208 7C A5 3A 14 */ add r5, r5, r7
/* 801273CC 0012320C 1C E5 00 05 */ mulli r7, r5, 0x5
/* 801273D0 00123210 54 05 0F FE */ srwi r5, r0, 31
/* 801273D4 00123214 7C A0 2A 14 */ add r5, r0, r5
/* 801273D8 00123218 7C E7 40 50 */ subf r7, r7, r8
/* 801273DC 0012321C 54 A0 18 38 */ slwi r0, r5, 3
/* 801273E0 00123220 7C 05 00 50 */ subf r0, r5, r0
/* 801273E4 00123224 54 00 10 3A */ slwi r0, r0, 2
/* 801273E8 00123228 1D 27 00 06 */ mulli r9, r7, 0x6
/* 801273EC 0012322C 7D 46 02 14 */ add r10, r6, r0
/* 801273F0 00123230 40 80 00 10 */ bge lbl_80127400
/* 801273F4 00123234 3C A0 80 41 */ lis r5, sFontData__Q24nw4r2db@ha
/* 801273F8 00123238 38 A5 DB A8 */ addi r5, r5, sFontData__Q24nw4r2db@l
/* 801273FC 0012323C 7D 45 02 14 */ add r10, r5, r0
.global lbl_80127400
lbl_80127400:
/* 80127400 00123240 3D 80 80 54 */ lis r12, sFrameBufferInfo__Q24nw4r2db@ha
/* 80127404 00123244 38 C0 01 90 */ li r6, 0x190
/* 80127408 00123248 38 AC 30 88 */ addi r5, r12, sFrameBufferInfo__Q24nw4r2db@l
/* 8012740C 0012324C 38 00 01 2C */ li r0, 0x12c
/* 80127410 00123250 A3 85 00 08 */ lhz r28, 0x8(r5)
/* 80127414 00123254 2C 04 00 00 */ cmpwi r4, 0x0
/* 80127418 00123258 A0 E5 00 0A */ lhz r7, 0xa(r5)
/* 8012741C 0012325C 7C C6 E0 10 */ subfc r6, r6, r28
/* 80127420 00123260 A1 05 00 0C */ lhz r8, 0xc(r5)
/* 80127424 00123264 7D 66 31 10 */ subfe r11, r6, r6
/* 80127428 00123268 81 8C 30 88 */ lwz r12, 0x3088(r12)
/* 8012742C 0012326C 7C 00 38 10 */ subfc r0, r0, r7
/* 80127430 00123270 7C C0 01 10 */ subfe r6, r0, r0
/* 80127434 00123274 38 C6 00 02 */ addi r6, r6, 0x2
/* 80127438 00123278 38 0B 00 02 */ addi r0, r11, 0x2
/* 8012743C 0012327C 7D 66 21 D6 */ mullw r11, r6, r4
/* 80127440 00123280 7D 0B 41 D6 */ mullw r8, r11, r8
/* 80127444 00123284 7D 63 01 D6 */ mullw r11, r3, r0
/* 80127448 00123288 55 08 08 3C */ slwi r8, r8, 1
/* 8012744C 0012328C 7D 0C 42 14 */ add r8, r12, r8
/* 80127450 00123290 55 6B 08 3C */ slwi r11, r11, 1
/* 80127454 00123294 7D 6B 42 14 */ add r11, r11, r8
/* 80127458 00123298 41 80 01 D0 */ blt lbl_80127628
/* 8012745C 0012329C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80127460 001232A0 40 80 00 08 */ bge lbl_80127468
/* 80127464 001232A4 48 00 01 C4 */ b lbl_80127628
.global lbl_80127468
lbl_80127468:
/* 80127468 001232A8 38 63 00 06 */ addi r3, r3, 0x6
/* 8012746C 001232AC 7C 60 19 D6 */ mullw r3, r0, r3
/* 80127470 001232B0 7C 1C 18 00 */ cmpw r28, r3
/* 80127474 001232B4 40 81 01 B4 */ ble lbl_80127628
/* 80127478 001232B8 38 64 00 07 */ addi r3, r4, 0x7
/* 8012747C 001232BC 7C 66 19 D6 */ mullw r3, r6, r3
/* 80127480 001232C0 7C 07 18 00 */ cmpw r7, r3
/* 80127484 001232C4 41 81 00 08 */ bgt lbl_8012748C
/* 80127488 001232C8 48 00 01 A0 */ b lbl_80127628
.global lbl_8012748C
lbl_8012748C:
/* 8012748C 001232CC 1C E0 00 06 */ mulli r7, r0, 0x6
/* 80127490 001232D0 3C 60 80 54 */ lis r3, sFrameBufferColor__Q24nw4r2db@ha
/* 80127494 001232D4 3C 80 80 44 */ lis r4, "@LOCAL@DrawCharToXfb___Q24nw4r2dbFiii@twiceBit"@ha
/* 80127498 001232D8 38 63 30 98 */ addi r3, r3, sFrameBufferColor__Q24nw4r2db@l
/* 8012749C 001232DC 38 84 29 98 */ addi r4, r4, "@LOCAL@DrawCharToXfb___Q24nw4r2dbFiii@twiceBit"@l
/* 801274A0 001232E0 39 80 00 00 */ li r12, 0x0
/* 801274A4 001232E4 60 00 00 00 */ nop
.global lbl_801274A8
lbl_801274A8:
/* 801274A8 001232E8 81 0A 00 00 */ lwz r8, 0x0(r10)
/* 801274AC 001232EC 2C 00 00 01 */ cmpwi r0, 0x1
/* 801274B0 001232F0 39 4A 00 04 */ addi r10, r10, 0x4
/* 801274B4 001232F4 7D 1A 48 30 */ slw r26, r8, r9
/* 801274B8 001232F8 40 82 00 0C */ bne lbl_801274C4
/* 801274BC 001232FC 57 48 F8 4C */ rlwinm r8, r26, 31, 1, 6
/* 801274C0 00123300 48 00 00 30 */ b lbl_801274F0
.global lbl_801274C4
lbl_801274C4:
/* 801274C4 00123304 57 48 37 3A */ rlwinm r8, r26, 6, 28, 29
/* 801274C8 00123308 57 5F 27 3A */ rlwinm r31, r26, 4, 28, 29
/* 801274CC 0012330C 57 5E 47 3A */ rlwinm r30, r26, 8, 28, 29
/* 801274D0 00123310 7D 04 40 2E */ lwzx r8, r4, r8
/* 801274D4 00123314 7F E4 F8 2E */ lwzx r31, r4, r31
/* 801274D8 00123318 7F C4 F0 2E */ lwzx r30, r4, r30
/* 801274DC 0012331C 55 08 20 36 */ slwi r8, r8, 4
/* 801274E0 00123320 57 FF 40 2E */ slwi r31, r31, 8
/* 801274E4 00123324 7F C8 43 78 */ or r8, r30, r8
/* 801274E8 00123328 7F E8 43 78 */ or r8, r31, r8
/* 801274EC 0012332C 55 08 98 18 */ slwi r8, r8, 19
.global lbl_801274F0
lbl_801274F0:
/* 801274F0 00123330 3B E7 00 01 */ addi r31, r7, 0x1
/* 801274F4 00123334 57 FF F8 7E */ srwi r31, r31, 1
/* 801274F8 00123338 7F E9 03 A6 */ mtctr r31
/* 801274FC 0012333C 2C 07 00 00 */ cmpwi r7, 0x0
/* 80127500 00123340 40 81 01 08 */ ble lbl_80127608
/* 80127504 00123344 60 00 00 00 */ nop
.global lbl_80127508
lbl_80127508:
/* 80127508 00123348 55 1B 00 43 */ rlwinm. r27, r8, 0, 1, 1
/* 8012750C 0012334C 41 82 00 0C */ beq lbl_80127518
/* 80127510 00123350 A3 A3 00 08 */ lhz r29, 0x8(r3)
/* 80127514 00123354 48 00 00 08 */ b lbl_8012751C
.global lbl_80127518
lbl_80127518:
/* 80127518 00123358 3B A0 00 40 */ li r29, 0x40
.global lbl_8012751C
lbl_8012751C:
/* 8012751C 0012335C 55 1E 00 01 */ clrrwi. r30, r8, 31
/* 80127520 00123360 41 82 00 0C */ beq lbl_8012752C
/* 80127524 00123364 A3 C3 00 0A */ lhz r30, 0xa(r3)
/* 80127528 00123368 48 00 00 08 */ b lbl_80127530
.global lbl_8012752C
lbl_8012752C:
/* 8012752C 0012336C 3B C0 00 20 */ li r30, 0x20
.global lbl_80127530
lbl_80127530:
/* 80127530 00123370 55 1A 00 85 */ rlwinm. r26, r8, 0, 2, 2
/* 80127534 00123374 41 82 00 0C */ beq lbl_80127540
/* 80127538 00123378 A3 83 00 0A */ lhz r28, 0xa(r3)
/* 8012753C 0012337C 48 00 00 08 */ b lbl_80127544
.global lbl_80127540
lbl_80127540:
/* 80127540 00123380 3B 80 00 20 */ li r28, 0x20
.global lbl_80127544
lbl_80127544:
/* 80127544 00123384 2C 1B 00 00 */ cmpwi r27, 0x0
/* 80127548 00123388 41 82 00 0C */ beq lbl_80127554
/* 8012754C 0012338C A3 E3 00 04 */ lhz r31, 0x4(r3)
/* 80127550 00123390 48 00 00 08 */ b lbl_80127558
.global lbl_80127554
lbl_80127554:
/* 80127554 00123394 3B E0 00 00 */ li r31, 0x0
.global lbl_80127558
lbl_80127558:
/* 80127558 00123398 7F DC F2 14 */ add r30, r28, r30
/* 8012755C 0012339C 2C 06 00 01 */ cmpwi r6, 0x1
/* 80127560 001233A0 7F DD F2 14 */ add r30, r29, r30
/* 80127564 001233A4 7F FE F3 78 */ or r30, r31, r30
/* 80127568 001233A8 B3 CB 00 00 */ sth r30, 0x0(r11)
/* 8012756C 001233AC 57 DC 04 3E */ clrlwi r28, r30, 16
/* 80127570 001233B0 40 81 00 10 */ ble lbl_80127580
/* 80127574 001233B4 A3 C5 00 0C */ lhz r30, 0xc(r5)
/* 80127578 001233B8 57 DE 08 3C */ slwi r30, r30, 1
/* 8012757C 001233BC 7F 8B F3 2E */ sthx r28, r11, r30
.global lbl_80127580
lbl_80127580:
/* 80127580 001233C0 2C 1A 00 00 */ cmpwi r26, 0x0
/* 80127584 001233C4 41 82 00 0C */ beq lbl_80127590
/* 80127588 001233C8 A3 83 00 0E */ lhz r28, 0xe(r3)
/* 8012758C 001233CC 48 00 00 08 */ b lbl_80127594
.global lbl_80127590
lbl_80127590:
/* 80127590 001233D0 3B 80 00 40 */ li r28, 0x40
.global lbl_80127594
lbl_80127594:
/* 80127594 001233D4 2C 1B 00 00 */ cmpwi r27, 0x0
/* 80127598 001233D8 41 82 00 0C */ beq lbl_801275A4
/* 8012759C 001233DC A3 A3 00 10 */ lhz r29, 0x10(r3)
/* 801275A0 001233E0 48 00 00 08 */ b lbl_801275A8
.global lbl_801275A4
lbl_801275A4:
/* 801275A4 001233E4 3B A0 00 20 */ li r29, 0x20
.global lbl_801275A8
lbl_801275A8:
/* 801275A8 001233E8 55 1E 00 C7 */ rlwinm. r30, r8, 0, 3, 3
/* 801275AC 001233EC 41 82 00 0C */ beq lbl_801275B8
/* 801275B0 001233F0 A3 E3 00 10 */ lhz r31, 0x10(r3)
/* 801275B4 001233F4 48 00 00 08 */ b lbl_801275BC
.global lbl_801275B8
lbl_801275B8:
/* 801275B8 001233F8 3B E0 00 20 */ li r31, 0x20
.global lbl_801275BC
lbl_801275BC:
/* 801275BC 001233FC 2C 1A 00 00 */ cmpwi r26, 0x0
/* 801275C0 00123400 41 82 00 0C */ beq lbl_801275CC
/* 801275C4 00123404 A3 C3 00 04 */ lhz r30, 0x4(r3)
/* 801275C8 00123408 48 00 00 08 */ b lbl_801275D0
.global lbl_801275CC
lbl_801275CC:
/* 801275CC 0012340C 3B C0 00 00 */ li r30, 0x0
.global lbl_801275D0
lbl_801275D0:
/* 801275D0 00123410 7F FF EA 14 */ add r31, r31, r29
/* 801275D4 00123414 2C 06 00 01 */ cmpwi r6, 0x1
/* 801275D8 00123418 7F FC FA 14 */ add r31, r28, r31
/* 801275DC 0012341C 7F DF FB 78 */ or r31, r30, r31
/* 801275E0 00123420 B3 EB 00 02 */ sth r31, 0x2(r11)
/* 801275E4 00123424 57 FA 04 3E */ clrlwi r26, r31, 16
/* 801275E8 00123428 40 81 00 14 */ ble lbl_801275FC
/* 801275EC 0012342C A3 E5 00 0C */ lhz r31, 0xc(r5)
/* 801275F0 00123430 57 FF 08 3C */ slwi r31, r31, 1
/* 801275F4 00123434 7F EB FA 14 */ add r31, r11, r31
/* 801275F8 00123438 B3 5F 00 02 */ sth r26, 0x2(r31)
.global lbl_801275FC
lbl_801275FC:
/* 801275FC 0012343C 55 08 10 3A */ slwi r8, r8, 2
/* 80127600 00123440 39 6B 00 04 */ addi r11, r11, 0x4
/* 80127604 00123444 42 00 FF 04 */ bdnz lbl_80127508
.global lbl_80127608
lbl_80127608:
/* 80127608 00123448 A1 05 00 0C */ lhz r8, 0xc(r5)
/* 8012760C 0012344C 39 8C 00 01 */ addi r12, r12, 0x1
/* 80127610 00123450 2C 0C 00 07 */ cmpwi r12, 0x7
/* 80127614 00123454 7D 08 31 D6 */ mullw r8, r8, r6
/* 80127618 00123458 7D 07 40 50 */ subf r8, r7, r8
/* 8012761C 0012345C 55 08 08 3C */ slwi r8, r8, 1
/* 80127620 00123460 7D 6B 42 14 */ add r11, r11, r8
/* 80127624 00123464 41 80 FE 84 */ blt lbl_801274A8
.global lbl_80127628
lbl_80127628:
/* 80127628 00123468 39 61 00 20 */ addi r11, r1, 0x20
/* 8012762C 0012346C 4B ED FD 59 */ bl lbl_80007384
/* 80127630 00123470 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80127634 00123474 7C 08 03 A6 */ mtlr r0
/* 80127638 00123478 38 21 00 20 */ addi r1, r1, 0x20
/* 8012763C 0012347C 4E 80 00 20 */ blr
.global DirectPrint_SetupFB__Q34nw4r2db6detailFPC16_GXRenderModeObj
DirectPrint_SetupFB__Q34nw4r2db6detailFPC16_GXRenderModeObj:
/* 80127640 00123480 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80127644 00123484 7C 08 02 A6 */ mflr r0
/* 80127648 00123488 90 01 00 24 */ stw r0, 0x24(r1)
/* 8012764C 0012348C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80127650 00123490 7C 7F 1B 78 */ mr r31, r3
/* 80127654 00123494 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80127658 00123498 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8012765C 0012349C 93 81 00 10 */ stw r28, 0x10(r1)
/* 80127660 001234A0 80 0D EC 90 */ lwz r0, sInitialized__Q24nw4r2db_8055D0B0@sda21(r13)
/* 80127664 001234A4 2C 00 00 00 */ cmpwi r0, 0x0
/* 80127668 001234A8 40 82 00 88 */ bne lbl_801276F0
/* 8012766C 001234AC 3B C0 02 80 */ li r30, 0x280
/* 80127670 001234B0 39 60 01 E0 */ li r11, 0x1e0
/* 80127674 001234B4 7C 1E 59 D6 */ mullw r0, r30, r11
/* 80127678 001234B8 3F A0 80 54 */ lis r29, sFrameBufferInfo__Q24nw4r2db@ha
/* 8012767C 001234BC 3D 00 80 54 */ lis r8, sFrameBufferColor__Q24nw4r2db@ha
/* 80127680 001234C0 39 9D 30 88 */ addi r12, r29, sFrameBufferInfo__Q24nw4r2db@l
/* 80127684 001234C4 3C C0 00 01 */ lis r6, 0x1
/* 80127688 001234C8 B3 CC 00 08 */ sth r30, 0x8(r12)
/* 8012768C 001234CC 54 0A 08 3C */ slwi r10, r0, 1
/* 80127690 001234D0 3B 80 00 00 */ li r28, 0x0
/* 80127694 001234D4 39 20 00 FF */ li r9, 0xff
/* 80127698 001234D8 38 E8 30 98 */ addi r7, r8, sFrameBufferColor__Q24nw4r2db@l
/* 8012769C 001234DC 38 A0 00 7F */ li r5, 0x7f
/* 801276A0 001234E0 38 80 00 3F */ li r4, 0x3f
/* 801276A4 001234E4 38 60 00 1F */ li r3, 0x1f
/* 801276A8 001234E8 38 C6 EB 00 */ addi r6, r6, -0x1500
/* 801276AC 001234EC 38 00 00 01 */ li r0, 0x1
/* 801276B0 001234F0 93 9D 30 88 */ stw r28, 0x3088(r29)
/* 801276B4 001234F4 B1 6C 00 0A */ sth r11, 0xa(r12)
/* 801276B8 001234F8 B3 CC 00 0C */ sth r30, 0xc(r12)
/* 801276BC 001234FC 91 4C 00 04 */ stw r10, 0x4(r12)
/* 801276C0 00123500 99 28 30 98 */ stb r9, 0x3098(r8)
/* 801276C4 00123504 99 27 00 01 */ stb r9, 0x1(r7)
/* 801276C8 00123508 99 27 00 02 */ stb r9, 0x2(r7)
/* 801276CC 0012350C 99 27 00 03 */ stb r9, 0x3(r7)
/* 801276D0 00123510 B0 C7 00 04 */ sth r6, 0x4(r7)
/* 801276D4 00123514 B0 A7 00 06 */ sth r5, 0x6(r7)
/* 801276D8 00123518 B0 87 00 08 */ sth r4, 0x8(r7)
/* 801276DC 0012351C B0 67 00 0A */ sth r3, 0xa(r7)
/* 801276E0 00123520 B0 A7 00 0C */ sth r5, 0xc(r7)
/* 801276E4 00123524 B0 87 00 0E */ sth r4, 0xe(r7)
/* 801276E8 00123528 B0 67 00 10 */ sth r3, 0x10(r7)
/* 801276EC 0012352C 90 0D EC 90 */ stw r0, sInitialized__Q24nw4r2db_8055D0B0@sda21(r13)
.global lbl_801276F0
lbl_801276F0:
/* 801276F0 00123530 4B F0 67 F1 */ bl VIGetCurrentFrameBuffer
/* 801276F4 00123534 2C 03 00 00 */ cmpwi r3, 0x0
/* 801276F8 00123538 7C 7D 1B 78 */ mr r29, r3
/* 801276FC 0012353C 40 82 00 94 */ bne lbl_80127790
/* 80127700 00123540 2C 1F 00 00 */ cmpwi r31, 0x0
/* 80127704 00123544 40 82 00 58 */ bne lbl_8012775C
/* 80127708 00123548 4B F0 69 09 */ bl VIGetTvFormat
/* 8012770C 0012354C 2C 03 00 00 */ cmpwi r3, 0x0
/* 80127710 00123550 41 82 00 20 */ beq lbl_80127730
/* 80127714 00123554 28 03 00 01 */ cmplwi r3, 0x1
/* 80127718 00123558 41 82 00 24 */ beq lbl_8012773C
/* 8012771C 0012355C 28 03 00 05 */ cmplwi r3, 0x5
/* 80127720 00123560 41 82 00 28 */ beq lbl_80127748
/* 80127724 00123564 28 03 00 02 */ cmplwi r3, 0x2
/* 80127728 00123568 41 82 00 2C */ beq lbl_80127754
/* 8012772C 0012356C 48 00 00 30 */ b lbl_8012775C
.global lbl_80127730
lbl_80127730:
/* 80127730 00123570 3F E0 80 43 */ lis r31, GXNtsc480IntDf@ha
/* 80127734 00123574 3B FF 0C 60 */ addi r31, r31, GXNtsc480IntDf@l
/* 80127738 00123578 48 00 00 24 */ b lbl_8012775C
.global lbl_8012773C
lbl_8012773C:
/* 8012773C 0012357C 3F E0 80 43 */ lis r31, GXPal528IntDf@ha
/* 80127740 00123580 3B FF 0C D8 */ addi r31, r31, GXPal528IntDf@l
/* 80127744 00123584 48 00 00 18 */ b lbl_8012775C
.global lbl_80127748
lbl_80127748:
/* 80127748 00123588 3F E0 80 43 */ lis r31, GXEurgb60Hz480IntDf@ha
/* 8012774C 0012358C 3B FF 0D 14 */ addi r31, r31, GXEurgb60Hz480IntDf@l
/* 80127750 00123590 48 00 00 0C */ b lbl_8012775C
.global lbl_80127754
lbl_80127754:
/* 80127754 00123594 3F E0 80 43 */ lis r31, GXMpal480IntDf@ha
/* 80127758 00123598 3B FF 0C 9C */ addi r31, r31, GXMpal480IntDf@l
.global lbl_8012775C
lbl_8012775C:
/* 8012775C 0012359C 4B EF 4C 15 */ bl OSGetMEM1ArenaHi
/* 80127760 001235A0 A0 9F 00 04 */ lhz r4, 0x4(r31)
/* 80127764 001235A4 A0 1F 00 08 */ lhz r0, 0x8(r31)
/* 80127768 001235A8 38 84 00 0F */ addi r4, r4, 0xf
/* 8012776C 001235AC 54 84 04 36 */ rlwinm r4, r4, 0, 16, 27
/* 80127770 001235B0 7C 04 01 D6 */ mullw r0, r4, r0
/* 80127774 001235B4 54 00 08 3C */ slwi r0, r0, 1
/* 80127778 001235B8 7C 00 18 50 */ subf r0, r0, r3
/* 8012777C 001235BC 7F E3 FB 78 */ mr r3, r31
/* 80127780 001235C0 54 1D 00 34 */ clrrwi r29, r0, 5
/* 80127784 001235C4 4B F0 5B 9D */ bl VIConfigure
/* 80127788 001235C8 7F A3 EB 78 */ mr r3, r29
/* 8012778C 001235CC 4B F0 66 E5 */ bl VISetNextFrameBuffer
.global lbl_80127790
lbl_80127790:
/* 80127790 001235D0 38 60 00 00 */ li r3, 0x0
/* 80127794 001235D4 4B F0 67 5D */ bl VISetBlack
/* 80127798 001235D8 4B F0 65 B9 */ bl VIFlush
/* 8012779C 001235DC 4B EF A0 A5 */ bl OSEnableInterrupts
/* 801277A0 001235E0 7C 7C 1B 78 */ mr r28, r3
/* 801277A4 001235E4 4B F0 67 CD */ bl VIGetRetraceCount
/* 801277A8 001235E8 7C 7E 1B 78 */ mr r30, r3
.global lbl_801277AC
lbl_801277AC:
/* 801277AC 001235EC 4B F0 67 C5 */ bl VIGetRetraceCount
/* 801277B0 001235F0 7C 1E 18 40 */ cmplw r30, r3
/* 801277B4 001235F4 41 82 FF F8 */ beq lbl_801277AC
/* 801277B8 001235F8 7F 83 E3 78 */ mr r3, r28
/* 801277BC 001235FC 4B EF A0 A5 */ bl OSRestoreInterrupts
/* 801277C0 00123600 2C 1F 00 00 */ cmpwi r31, 0x0
/* 801277C4 00123604 41 82 00 3C */ beq lbl_80127800
/* 801277C8 00123608 A0 DF 00 04 */ lhz r6, 0x4(r31)
/* 801277CC 0012360C 3C A0 80 54 */ lis r5, sFrameBufferInfo__Q24nw4r2db@ha
/* 801277D0 00123610 A0 FF 00 08 */ lhz r7, 0x8(r31)
/* 801277D4 00123614 38 85 30 88 */ addi r4, r5, sFrameBufferInfo__Q24nw4r2db@l
/* 801277D8 00123618 38 06 00 0F */ addi r0, r6, 0xf
/* 801277DC 0012361C B0 E4 00 0A */ sth r7, 0xa(r4)
/* 801277E0 00123620 54 03 04 36 */ rlwinm r3, r0, 0, 16, 27
/* 801277E4 00123624 7C 03 39 D6 */ mullw r0, r3, r7
/* 801277E8 00123628 93 A5 30 88 */ stw r29, 0x3088(r5)
/* 801277EC 0012362C B0 C4 00 08 */ sth r6, 0x8(r4)
/* 801277F0 00123630 B0 64 00 0C */ sth r3, 0xc(r4)
/* 801277F4 00123634 54 00 08 3C */ slwi r0, r0, 1
/* 801277F8 00123638 90 04 00 04 */ stw r0, 0x4(r4)
/* 801277FC 0012363C 48 00 00 0C */ b lbl_80127808
.global lbl_80127800
lbl_80127800:
/* 80127800 00123640 3C 60 80 54 */ lis r3, sFrameBufferInfo__Q24nw4r2db@ha
/* 80127804 00123644 93 A3 30 88 */ stw r29, sFrameBufferInfo__Q24nw4r2db@l(r3)
.global lbl_80127808
lbl_80127808:
/* 80127808 00123648 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8012780C 0012364C 7F A3 EB 78 */ mr r3, r29
/* 80127810 00123650 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80127814 00123654 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80127818 00123658 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8012781C 0012365C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80127820 00123660 7C 08 03 A6 */ mtlr r0
/* 80127824 00123664 38 21 00 20 */ addi r1, r1, 0x20
/* 80127828 00123668 4E 80 00 20 */ blr
/* 8012782C 0012366C 00 00 00 00 */ .4byte 0x00000000
.include "macros.inc"
.section .rodata, "wa" # 0x80406560 - 0x80421040 ; 0x0001AAE0
.global sAsciiTable__Q24nw4r2db
sAsciiTable__Q24nw4r2db:
.4byte 0x7A7A7A7A
.4byte 0x7A7A7A7A
.4byte 0x7AFDFE7A
.4byte 0x7A7A7A7A
.4byte 0xFFFFFFFF
.4byte 0xFFFFFFFF
.4byte 0xFFFFFFFF
.4byte 0xFFFFFFFF
.4byte 0xFF296465
.4byte 0x662B6768
.4byte 0x2526692A
.4byte 0x6A272C6B
.4byte 0x00010203
.4byte 0x04050607
.4byte 0x0809246C
.4byte 0x6D6E6F28
.4byte 0x700A0B0C
.4byte 0x0D0E0F10
.4byte 0x11121314
.4byte 0x15161718
.4byte 0x191A1B1C
.4byte 0x1D1E1F20
.4byte 0x21222371
.4byte 0x72737475
.4byte 0xFF7D7E7F
.4byte 0x80818283
.4byte 0x84858687
.4byte 0x88898A8B
.4byte 0x8C8D8E8F
.4byte 0x90919293
.4byte 0x94959676
.4byte 0x7778797A
.global sFontData__Q24nw4r2db
sFontData__Q24nw4r2db:
.4byte 0x70871C30
.4byte 0x8988A250
.4byte 0x88808290
.4byte 0x88830C90
.4byte 0x888402F8
.4byte 0x88882210
.4byte 0x71CF9C10
.4byte 0xF9CF9C70
.4byte 0x8208A288
.4byte 0xF200A288
.4byte 0x0BC11C78
.4byte 0x0A222208
.4byte 0x8A222208
.4byte 0x71C21C70
.4byte 0x23C738F8
.4byte 0x5228A480
.4byte 0x8A282280
.4byte 0x8BC822F0
.4byte 0xFA282280
.4byte 0x8A28A480
.4byte 0x8BC738F8
.4byte 0xF9C89C08
.4byte 0x82288808
.4byte 0x82088808
.4byte 0xF2EF8808
.4byte 0x82288888
.4byte 0x82288888
.4byte 0x81C89C70
.4byte 0x8A08A270
.4byte 0x920DA288
.4byte 0xA20AB288
.4byte 0xC20AAA88
.4byte 0xA208A688
.4byte 0x9208A288
.4byte 0x8BE8A270
.4byte 0xF1CF1CF8
.4byte 0x8A28A220
.4byte 0x8A28A020
.4byte 0xF22F1C20
.4byte 0x82AA0220
.4byte 0x82492220
.4byte 0x81A89C20
.4byte 0x8A28A288
.4byte 0x8A28A288
.4byte 0x8A289488
.4byte 0x8A2A8850
.4byte 0x894A9420
.4byte 0x894AA220
.4byte 0x70852220
.4byte 0xF8011000
.4byte 0x08020800
.4byte 0x10840400
.4byte 0x20040470
.4byte 0x40840400
.4byte lbl_80020800
.4byte 0xF8011000
.4byte 0x70800000
.4byte 0x88822200
.4byte 0x08820400
.4byte 0x108F8800
.4byte 0x20821000
.4byte 0x00022200
.4byte 0x20800020
.4byte 0
.global sFontData2__Q24nw4r2db
sFontData2__Q24nw4r2db:
.4byte 0x51421820
.4byte 0x53E7A420
.4byte 0x014A2C40
.4byte 0x01471000
.4byte 0x0142AA00
.4byte 0x03EAA400
.4byte 0x01471A78
.4byte 0
.4byte 0x50008010
.4byte 0x20010820
.4byte 0xF8020040
.4byte 0x20420820
.4byte 0x50441010
.4byte 0x00880000
.4byte 0x00070E00
.4byte 0x01088840
.4byte 0x78898820
.4byte 0x004A8810
.4byte 0x788A8810
.4byte 0x01098808
.4byte 0x00040E04
.4byte 0x70800620
.4byte 0x11400820
.4byte 0x12200820
.4byte 0x10001020
.4byte 0x10000820
.4byte 0x100F8820
.4byte 0x70000620
.4byte 0x60070000
.4byte 0x110F82A0
.4byte 0x12AA8AE0
.4byte 0x084F92A0
.4byte 0x100FBE1C
.4byte 0x10089008
.4byte 0x60070808
.4byte 0
.4byte 0x02000200
.4byte 0x7A078270
.4byte 0x8BC81E88
.4byte 0x8A2822F8
.4byte 0x9A282280
.4byte 0x6BC79E78
.4byte 0x30000000
.4byte 0x48080810
.4byte 0x41E80000
.4byte 0x422F1830
.4byte 0xFBE88810
.4byte 0x40288890
.4byte 0x43C89C60
.4byte 0x81000000
.4byte 0x81000000
.4byte 0x990F3C70
.4byte 0xA10AA288
.4byte 0xE10AA288
.4byte 0xA10AA288
.4byte 0x98CAA270
.4byte 0
.4byte 0x00000020
.4byte 0xF1EF1E20
.4byte 0x8A28A0F8
.4byte 0x8A281C20
.4byte 0xF1E80220
.4byte lbl_80283C38
.4byte 0
.4byte 0
.4byte 0x8A28B688
.4byte 0x8A2A8888
.4byte 0x8A2A8878
.4byte 0x894A8808
.4byte 0x788536F0
.4byte 0
.4byte 0
.4byte 0xF8000000
.4byte 0x10000000
.4byte 0x20000000
.4byte 0x40000000
.4byte 0xF8000000
.4byte 0
.include "macros.inc"
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
.global "@LOCAL@DrawCharToXfb___Q24nw4r2dbFiii@twiceBit"
"@LOCAL@DrawCharToXfb___Q24nw4r2dbFiii@twiceBit":
.4byte 0
.4byte 0x00000003
.4byte 0x0000000C
.4byte 0x0000000F
.include "macros.inc"
.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20
.global sFrameBufferInfo__Q24nw4r2db
sFrameBufferInfo__Q24nw4r2db:
.skip 0x10
.global sFrameBufferColor__Q24nw4r2db
sFrameBufferColor__Q24nw4r2db:
.skip 0x18
.include "macros.inc"
.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0
.global sInitialized__Q24nw4r2db_8055D0B0
sInitialized__Q24nw4r2db_8055D0B0:
.skip 0x8
.include "macros.inc"
.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440
.global "@2741"
"@2741":
.4byte 0x41800000
.global "@2742"
"@2742":
.4byte 0x3DC8B439
.global "@2743"
"@2743":
.4byte 0x3E839581
.global "@2744"
"@2744":
.4byte 0x3F010625
.global "@2745"
"@2745":
.4byte 0x43000000
.global "@2746_8055F534"
"@2746_8055F534":
.4byte 0x3EE0C49C
.global "@2747_8055F538"
"@2747_8055F538":
.4byte 0xBE178D50
.global "@2748"
"@2748":
.4byte 0x3E94FDF4
.global "@2749"
"@2749":
.4byte 0x3EBC6A7F
.global "@2750_8055F544"
"@2750_8055F544":
.4byte 0x3D916873
.global "@2754_8055F548"
"@2754_8055F548":
.4byte 0x43300000
.4byte 0x80000000