.include "macros.inc" .section .data .global lbl_803ED630 lbl_803ED630: # ROM: 0x3EA630 .4byte 0 .4byte 0 .4byte __dt__16CLineInstructionFv .4byte Invoke__16CLineInstructionCFR16CFontRenderStateP17CTextRenderBuffer .4byte PageInvoke__16CLineInstructionCFR16CFontRenderStateP17CTextRenderBuffer .4byte "GetAssets__12CInstructionCFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" .4byte GetAssetCount__12CInstructionCFv .global lbl_803ED64C lbl_803ED64C: # ROM: 0x3EA64C .4byte lbl_802FFA04 .4byte lbl_802FFA14 .4byte lbl_802FFAC8 .4byte lbl_802FFA04 .4byte lbl_802FFA04 .4byte lbl_802FFA4C .4byte lbl_802FFAE8 .4byte lbl_802FFA04 .4byte lbl_802FFA14 .4byte lbl_802FFAC8 .4byte 0 .section .text, "ax" # 0x80003640 - 0x803CB1C0 .global __dt__16CLineInstructionFv __dt__16CLineInstructionFv: /* 802FF8A0 002FC800 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802FF8A4 002FC804 7C 08 02 A6 */ mflr r0 /* 802FF8A8 002FC808 90 01 00 14 */ stw r0, 0x14(r1) /* 802FF8AC 002FC80C 93 E1 00 0C */ stw r31, 0xc(r1) /* 802FF8B0 002FC810 7C 7F 1B 79 */ or. r31, r3, r3 /* 802FF8B4 002FC814 41 82 00 30 */ beq lbl_802FF8E4 /* 802FF8B8 002FC818 3C 60 80 3F */ lis r3, lbl_803ED630@ha /* 802FF8BC 002FC81C 38 03 D6 30 */ addi r0, r3, lbl_803ED630@l /* 802FF8C0 002FC820 90 1F 00 00 */ stw r0, 0(r31) /* 802FF8C4 002FC824 41 82 00 10 */ beq lbl_802FF8D4 /* 802FF8C8 002FC828 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha /* 802FF8CC 002FC82C 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l /* 802FF8D0 002FC830 90 1F 00 00 */ stw r0, 0(r31) lbl_802FF8D4: /* 802FF8D4 002FC834 7C 80 07 35 */ extsh. r0, r4 /* 802FF8D8 002FC838 40 81 00 0C */ ble lbl_802FF8E4 /* 802FF8DC 002FC83C 7F E3 FB 78 */ mr r3, r31 /* 802FF8E0 002FC840 48 01 60 51 */ bl Free__7CMemoryFPCv lbl_802FF8E4: /* 802FF8E4 002FC844 80 01 00 14 */ lwz r0, 0x14(r1) /* 802FF8E8 002FC848 7F E3 FB 78 */ mr r3, r31 /* 802FF8EC 002FC84C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 802FF8F0 002FC850 7C 08 03 A6 */ mtlr r0 /* 802FF8F4 002FC854 38 21 00 10 */ addi r1, r1, 0x10 /* 802FF8F8 002FC858 4E 80 00 20 */ blr .global GetBaseline__16CLineInstructionFv GetBaseline__16CLineInstructionFv: /* 802FF8FC 002FC85C 80 03 00 10 */ lwz r0, 0x10(r3) /* 802FF900 002FC860 38 80 00 00 */ li r4, 0 /* 802FF904 002FC864 2C 00 00 00 */ cmpwi r0, 0 /* 802FF908 002FC868 41 82 00 14 */ beq lbl_802FF91C /* 802FF90C 002FC86C 88 03 00 30 */ lbz r0, 0x30(r3) /* 802FF910 002FC870 28 00 00 00 */ cmplwi r0, 0 /* 802FF914 002FC874 40 82 00 08 */ bne lbl_802FF91C /* 802FF918 002FC878 38 80 00 01 */ li r4, 1 lbl_802FF91C: /* 802FF91C 002FC87C 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 802FF920 002FC880 41 82 00 0C */ beq lbl_802FF92C /* 802FF924 002FC884 80 63 00 18 */ lwz r3, 0x18(r3) /* 802FF928 002FC888 4E 80 00 20 */ blr lbl_802FF92C: /* 802FF92C 002FC88C 80 63 00 24 */ lwz r3, 0x24(r3) /* 802FF930 002FC890 4E 80 00 20 */ blr .global GetHeight__16CLineInstructionFv GetHeight__16CLineInstructionFv: /* 802FF934 002FC894 80 A3 00 10 */ lwz r5, 0x10(r3) /* 802FF938 002FC898 38 80 00 00 */ li r4, 0 /* 802FF93C 002FC89C 2C 05 00 00 */ cmpwi r5, 0 /* 802FF940 002FC8A0 41 82 00 14 */ beq lbl_802FF954 /* 802FF944 002FC8A4 88 03 00 30 */ lbz r0, 0x30(r3) /* 802FF948 002FC8A8 28 00 00 00 */ cmplwi r0, 0 /* 802FF94C 002FC8AC 40 82 00 08 */ bne lbl_802FF954 /* 802FF950 002FC8B0 38 80 00 01 */ li r4, 1 lbl_802FF954: /* 802FF954 002FC8B4 54 80 06 3F */ clrlwi. r0, r4, 0x18 /* 802FF958 002FC8B8 41 82 00 08 */ beq lbl_802FF960 /* 802FF95C 002FC8BC 48 00 00 08 */ b lbl_802FF964 lbl_802FF960: /* 802FF960 002FC8C0 80 A3 00 1C */ lwz r5, 0x1c(r3) lbl_802FF964: /* 802FF964 002FC8C4 7C A3 2B 78 */ mr r3, r5 /* 802FF968 002FC8C8 4E 80 00 20 */ blr .global TestLargestImage__16CLineInstructionFiii TestLargestImage__16CLineInstructionFiii: /* 802FF96C 002FC8CC 80 03 00 24 */ lwz r0, 0x24(r3) /* 802FF970 002FC8D0 2C 00 00 00 */ cmpwi r0, 0 /* 802FF974 002FC8D4 40 82 00 08 */ bne lbl_802FF97C /* 802FF978 002FC8D8 90 C3 00 24 */ stw r6, 0x24(r3) lbl_802FF97C: /* 802FF97C 002FC8DC 80 03 00 20 */ lwz r0, 0x20(r3) /* 802FF980 002FC8E0 7C 00 20 00 */ cmpw r0, r4 /* 802FF984 002FC8E4 40 80 00 08 */ bge lbl_802FF98C /* 802FF988 002FC8E8 90 83 00 20 */ stw r4, 0x20(r3) lbl_802FF98C: /* 802FF98C 002FC8EC 80 03 00 1C */ lwz r0, 0x1c(r3) /* 802FF990 002FC8F0 7C 00 28 00 */ cmpw r0, r5 /* 802FF994 002FC8F4 4C 80 00 20 */ bgelr /* 802FF998 002FC8F8 90 A3 00 1C */ stw r5, 0x1c(r3) /* 802FF99C 002FC8FC 90 C3 00 24 */ stw r6, 0x24(r3) /* 802FF9A0 002FC900 4E 80 00 20 */ blr .global TestLargestFont__16CLineInstructionFiii TestLargestFont__16CLineInstructionFiii: /* 802FF9A4 002FC904 80 03 00 18 */ lwz r0, 0x18(r3) /* 802FF9A8 002FC908 2C 00 00 00 */ cmpwi r0, 0 /* 802FF9AC 002FC90C 40 82 00 08 */ bne lbl_802FF9B4 /* 802FF9B0 002FC910 90 C3 00 18 */ stw r6, 0x18(r3) lbl_802FF9B4: /* 802FF9B4 002FC914 80 03 00 14 */ lwz r0, 0x14(r3) /* 802FF9B8 002FC918 7C 00 20 00 */ cmpw r0, r4 /* 802FF9BC 002FC91C 40 80 00 08 */ bge lbl_802FF9C4 /* 802FF9C0 002FC920 90 83 00 14 */ stw r4, 0x14(r3) lbl_802FF9C4: /* 802FF9C4 002FC924 80 03 00 10 */ lwz r0, 0x10(r3) /* 802FF9C8 002FC928 7C 00 28 00 */ cmpw r0, r5 /* 802FF9CC 002FC92C 4C 80 00 20 */ bgelr /* 802FF9D0 002FC930 90 A3 00 10 */ stw r5, 0x10(r3) /* 802FF9D4 002FC934 90 C3 00 18 */ stw r6, 0x18(r3) /* 802FF9D8 002FC938 4E 80 00 20 */ blr .global SetLineSpacing__16CFontRenderStateFf SetLineSpacing__16CFontRenderStateFf: /* 802FF9DC 002FC93C 94 21 FF E0 */ stwu r1, -0x20(r1) /* 802FF9E0 002FC940 80 03 00 28 */ lwz r0, 0x28(r3) /* 802FF9E4 002FC944 28 00 00 09 */ cmplwi r0, 9 /* 802FF9E8 002FC948 41 81 01 1C */ bgt lbl_802FFB04 /* 802FF9EC 002FC94C 3C A0 80 3F */ lis r5, lbl_803ED64C@ha /* 802FF9F0 002FC950 54 00 10 3A */ slwi r0, r0, 2 /* 802FF9F4 002FC954 38 A5 D6 4C */ addi r5, r5, lbl_803ED64C@l /* 802FF9F8 002FC958 7C 05 00 2E */ lwzx r0, r5, r0 /* 802FF9FC 002FC95C 7C 09 03 A6 */ mtctr r0 /* 802FFA00 002FC960 4E 80 04 20 */ bctr .global lbl_802FFA04 lbl_802FFA04: /* 802FFA04 002FC964 80 64 00 88 */ lwz r3, 0x88(r4) /* 802FFA08 002FC968 80 03 00 04 */ lwz r0, 4(r3) /* 802FFA0C 002FC96C 90 04 00 D4 */ stw r0, 0xd4(r4) /* 802FFA10 002FC970 48 00 00 F4 */ b lbl_802FFB04 .global lbl_802FFA14 lbl_802FFA14: /* 802FFA14 002FC974 80 A4 00 88 */ lwz r5, 0x88(r4) /* 802FFA18 002FC978 80 C3 00 08 */ lwz r6, 8(r3) /* 802FFA1C 002FC97C 80 65 00 0C */ lwz r3, 0xc(r5) /* 802FFA20 002FC980 54 C0 0F FE */ srwi r0, r6, 0x1f /* 802FFA24 002FC984 80 A5 00 04 */ lwz r5, 4(r5) /* 802FFA28 002FC988 7C C0 32 14 */ add r6, r0, r6 /* 802FFA2C 002FC98C 54 60 0F FE */ srwi r0, r3, 0x1f /* 802FFA30 002FC990 7C C6 0E 70 */ srawi r6, r6, 1 /* 802FFA34 002FC994 7C 00 1A 14 */ add r0, r0, r3 /* 802FFA38 002FC998 7C 00 0E 70 */ srawi r0, r0, 1 /* 802FFA3C 002FC99C 7C 05 02 14 */ add r0, r5, r0 /* 802FFA40 002FC9A0 7C 06 00 50 */ subf r0, r6, r0 /* 802FFA44 002FC9A4 90 04 00 D4 */ stw r0, 0xd4(r4) /* 802FFA48 002FC9A8 48 00 00 BC */ b lbl_802FFB04 .global lbl_802FFA4C lbl_802FFA4C: /* 802FFA4C 002FC9AC 80 03 00 04 */ lwz r0, 4(r3) /* 802FFA50 002FC9B0 2C 00 00 01 */ cmpwi r0, 1 /* 802FFA54 002FC9B4 40 82 00 3C */ bne lbl_802FFA90 /* 802FFA58 002FC9B8 80 A4 00 88 */ lwz r5, 0x88(r4) /* 802FFA5C 002FC9BC 80 C3 00 08 */ lwz r6, 8(r3) /* 802FFA60 002FC9C0 80 65 00 0C */ lwz r3, 0xc(r5) /* 802FFA64 002FC9C4 54 C0 0F FE */ srwi r0, r6, 0x1f /* 802FFA68 002FC9C8 80 A5 00 04 */ lwz r5, 4(r5) /* 802FFA6C 002FC9CC 7C C0 32 14 */ add r6, r0, r6 /* 802FFA70 002FC9D0 54 60 0F FE */ srwi r0, r3, 0x1f /* 802FFA74 002FC9D4 7C C6 0E 70 */ srawi r6, r6, 1 /* 802FFA78 002FC9D8 7C 00 1A 14 */ add r0, r0, r3 /* 802FFA7C 002FC9DC 7C 00 0E 70 */ srawi r0, r0, 1 /* 802FFA80 002FC9E0 7C 05 02 14 */ add r0, r5, r0 /* 802FFA84 002FC9E4 7C 06 00 50 */ subf r0, r6, r0 /* 802FFA88 002FC9E8 90 04 00 D4 */ stw r0, 0xd4(r4) /* 802FFA8C 002FC9EC 48 00 00 78 */ b lbl_802FFB04 lbl_802FFA90: /* 802FFA90 002FC9F0 80 A4 00 88 */ lwz r5, 0x88(r4) /* 802FFA94 002FC9F4 80 C5 00 2C */ lwz r6, 0x2c(r5) /* 802FFA98 002FC9F8 80 65 00 0C */ lwz r3, 0xc(r5) /* 802FFA9C 002FC9FC 54 C0 0F FE */ srwi r0, r6, 0x1f /* 802FFAA0 002FCA00 80 A5 00 04 */ lwz r5, 4(r5) /* 802FFAA4 002FCA04 7C C0 32 14 */ add r6, r0, r6 /* 802FFAA8 002FCA08 54 60 0F FE */ srwi r0, r3, 0x1f /* 802FFAAC 002FCA0C 7C C6 0E 70 */ srawi r6, r6, 1 /* 802FFAB0 002FCA10 7C 00 1A 14 */ add r0, r0, r3 /* 802FFAB4 002FCA14 7C 00 0E 70 */ srawi r0, r0, 1 /* 802FFAB8 002FCA18 7C 05 02 14 */ add r0, r5, r0 /* 802FFABC 002FCA1C 7C 06 00 50 */ subf r0, r6, r0 /* 802FFAC0 002FCA20 90 04 00 D4 */ stw r0, 0xd4(r4) /* 802FFAC4 002FCA24 48 00 00 40 */ b lbl_802FFB04 .global lbl_802FFAC8 lbl_802FFAC8: /* 802FFAC8 002FCA28 80 C4 00 88 */ lwz r6, 0x88(r4) /* 802FFACC 002FCA2C 80 A3 00 08 */ lwz r5, 8(r3) /* 802FFAD0 002FCA30 80 66 00 04 */ lwz r3, 4(r6) /* 802FFAD4 002FCA34 80 06 00 0C */ lwz r0, 0xc(r6) /* 802FFAD8 002FCA38 7C 03 02 14 */ add r0, r3, r0 /* 802FFADC 002FCA3C 7C 05 00 50 */ subf r0, r5, r0 /* 802FFAE0 002FCA40 90 04 00 D4 */ stw r0, 0xd4(r4) /* 802FFAE4 002FCA44 48 00 00 20 */ b lbl_802FFB04 .global lbl_802FFAE8 lbl_802FFAE8: /* 802FFAE8 002FCA48 80 A4 00 88 */ lwz r5, 0x88(r4) /* 802FFAEC 002FCA4C 80 65 00 04 */ lwz r3, 4(r5) /* 802FFAF0 002FCA50 80 05 00 0C */ lwz r0, 0xc(r5) /* 802FFAF4 002FCA54 80 A5 00 2C */ lwz r5, 0x2c(r5) /* 802FFAF8 002FCA58 7C 03 02 14 */ add r0, r3, r0 /* 802FFAFC 002FCA5C 7C 05 00 50 */ subf r0, r5, r0 /* 802FFB00 002FCA60 90 04 00 D4 */ stw r0, 0xd4(r4) lbl_802FFB04: /* 802FFB04 002FCA64 80 A4 00 DC */ lwz r5, 0xdc(r4) /* 802FFB08 002FCA68 28 05 00 00 */ cmplwi r5, 0 /* 802FFB0C 002FCA6C 41 82 01 0C */ beq lbl_802FFC18 /* 802FFB10 002FCA70 80 C4 00 88 */ lwz r6, 0x88(r4) /* 802FFB14 002FCA74 38 60 00 00 */ li r3, 0 /* 802FFB18 002FCA78 80 06 00 1C */ lwz r0, 0x1c(r6) /* 802FFB1C 002FCA7C 2C 00 00 07 */ cmpwi r0, 7 /* 802FFB20 002FCA80 41 82 00 6C */ beq lbl_802FFB8C /* 802FFB24 002FCA84 40 80 00 1C */ bge lbl_802FFB40 /* 802FFB28 002FCA88 2C 00 00 03 */ cmpwi r0, 3 /* 802FFB2C 002FCA8C 41 82 00 2C */ beq lbl_802FFB58 /* 802FFB30 002FCA90 40 80 00 20 */ bge lbl_802FFB50 /* 802FFB34 002FCA94 2C 00 00 00 */ cmpwi r0, 0 /* 802FFB38 002FCA98 40 80 00 18 */ bge lbl_802FFB50 /* 802FFB3C 002FCA9C 48 00 00 88 */ b lbl_802FFBC4 lbl_802FFB40: /* 802FFB40 002FCAA0 2C 00 00 09 */ cmpwi r0, 9 /* 802FFB44 002FCAA4 41 82 00 70 */ beq lbl_802FFBB4 /* 802FFB48 002FCAA8 40 80 00 7C */ bge lbl_802FFBC4 /* 802FFB4C 002FCAAC 48 00 00 48 */ b lbl_802FFB94 lbl_802FFB50: /* 802FFB50 002FCAB0 80 65 00 0C */ lwz r3, 0xc(r5) /* 802FFB54 002FCAB4 48 00 00 70 */ b lbl_802FFBC4 lbl_802FFB58: /* 802FFB58 002FCAB8 80 E6 00 34 */ lwz r7, 0x34(r6) /* 802FFB5C 002FCABC 80 66 00 30 */ lwz r3, 0x30(r6) /* 802FFB60 002FCAC0 80 06 00 10 */ lwz r0, 0x10(r6) /* 802FFB64 002FCAC4 2C 07 00 01 */ cmpwi r7, 1 /* 802FFB68 002FCAC8 7C 63 00 50 */ subf r3, r3, r0 /* 802FFB6C 002FCACC 40 81 00 10 */ ble lbl_802FFB7C /* 802FFB70 002FCAD0 38 07 FF FF */ addi r0, r7, -1 /* 802FFB74 002FCAD4 7C 63 03 D6 */ divw r3, r3, r0 /* 802FFB78 002FCAD8 48 00 00 08 */ b lbl_802FFB80 lbl_802FFB7C: /* 802FFB7C 002FCADC 38 60 00 00 */ li r3, 0 lbl_802FFB80: /* 802FFB80 002FCAE0 80 05 00 0C */ lwz r0, 0xc(r5) /* 802FFB84 002FCAE4 7C 60 1A 14 */ add r3, r0, r3 /* 802FFB88 002FCAE8 48 00 00 3C */ b lbl_802FFBC4 lbl_802FFB8C: /* 802FFB8C 002FCAEC 80 66 00 24 */ lwz r3, 0x24(r6) /* 802FFB90 002FCAF0 48 00 00 34 */ b lbl_802FFBC4 lbl_802FFB94: /* 802FFB94 002FCAF4 80 E6 00 24 */ lwz r7, 0x24(r6) /* 802FFB98 002FCAF8 80 05 00 0C */ lwz r0, 0xc(r5) /* 802FFB9C 002FCAFC 7C 67 00 50 */ subf r3, r7, r0 /* 802FFBA0 002FCB00 54 60 0F FE */ srwi r0, r3, 0x1f /* 802FFBA4 002FCB04 7C 00 1A 14 */ add r0, r0, r3 /* 802FFBA8 002FCB08 7C 00 0E 70 */ srawi r0, r0, 1 /* 802FFBAC 002FCB0C 7C 67 02 14 */ add r3, r7, r0 /* 802FFBB0 002FCB10 48 00 00 14 */ b lbl_802FFBC4 lbl_802FFBB4: /* 802FFBB4 002FCB14 80 06 00 24 */ lwz r0, 0x24(r6) /* 802FFBB8 002FCB18 80 65 00 0C */ lwz r3, 0xc(r5) /* 802FFBBC 002FCB1C 54 00 08 3C */ slwi r0, r0, 1 /* 802FFBC0 002FCB20 7C 63 00 50 */ subf r3, r3, r0 lbl_802FFBC4: /* 802FFBC4 002FCB24 80 06 00 1C */ lwz r0, 0x1c(r6) /* 802FFBC8 002FCB28 2C 00 00 03 */ cmpwi r0, 3 /* 802FFBCC 002FCB2C 40 82 00 08 */ bne lbl_802FFBD4 /* 802FFBD0 002FCB30 48 00 00 3C */ b lbl_802FFC0C lbl_802FFBD4: /* 802FFBD4 002FCB34 6C 63 80 00 */ xoris r3, r3, 0x8000 /* 802FFBD8 002FCB38 3C 00 43 30 */ lis r0, 0x4330 /* 802FFBDC 002FCB3C 90 61 00 0C */ stw r3, 0xc(r1) /* 802FFBE0 002FCB40 C8 42 C7 38 */ lfd f2, lbl_805AE458@sda21(r2) /* 802FFBE4 002FCB44 90 01 00 08 */ stw r0, 8(r1) /* 802FFBE8 002FCB48 C0 04 00 74 */ lfs f0, 0x74(r4) /* 802FFBEC 002FCB4C C8 21 00 08 */ lfd f1, 8(r1) /* 802FFBF0 002FCB50 80 04 00 78 */ lwz r0, 0x78(r4) /* 802FFBF4 002FCB54 EC 21 10 28 */ fsubs f1, f1, f2 /* 802FFBF8 002FCB58 EC 01 00 32 */ fmuls f0, f1, f0 /* 802FFBFC 002FCB5C FC 00 00 1E */ fctiwz f0, f0 /* 802FFC00 002FCB60 D8 01 00 10 */ stfd f0, 0x10(r1) /* 802FFC04 002FCB64 80 61 00 14 */ lwz r3, 0x14(r1) /* 802FFC08 002FCB68 7C 63 02 14 */ add r3, r3, r0 lbl_802FFC0C: /* 802FFC0C 002FCB6C 80 04 00 D8 */ lwz r0, 0xd8(r4) /* 802FFC10 002FCB70 7C 00 1A 14 */ add r0, r0, r3 /* 802FFC14 002FCB74 90 04 00 D8 */ stw r0, 0xd8(r4) lbl_802FFC18: /* 802FFC18 002FCB78 38 21 00 20 */ addi r1, r1, 0x20 /* 802FFC1C 002FCB7C 4E 80 00 20 */ blr .global PageInvoke__16CLineInstructionCFR16CFontRenderStateP17CTextRenderBuffer PageInvoke__16CLineInstructionCFR16CFontRenderStateP17CTextRenderBuffer: /* 802FFC20 002FCB80 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802FFC24 002FCB84 7C 08 02 A6 */ mflr r0 /* 802FFC28 002FCB88 90 01 00 14 */ stw r0, 0x14(r1) /* 802FFC2C 002FCB8C 80 04 00 DC */ lwz r0, 0xdc(r4) /* 802FFC30 002FCB90 28 00 00 00 */ cmplwi r0, 0 /* 802FFC34 002FCB94 40 82 00 14 */ bne lbl_802FFC48 /* 802FFC38 002FCB98 81 83 00 00 */ lwz r12, 0(r3) /* 802FFC3C 002FCB9C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 802FFC40 002FCBA0 7D 89 03 A6 */ mtctr r12 /* 802FFC44 002FCBA4 4E 80 04 21 */ bctrl lbl_802FFC48: /* 802FFC48 002FCBA8 80 01 00 14 */ lwz r0, 0x14(r1) /* 802FFC4C 002FCBAC 7C 08 03 A6 */ mtlr r0 /* 802FFC50 002FCBB0 38 21 00 10 */ addi r1, r1, 0x10 /* 802FFC54 002FCBB4 4E 80 00 20 */ blr .global Invoke__16CLineInstructionCFR16CFontRenderStateP17CTextRenderBuffer Invoke__16CLineInstructionCFR16CFontRenderStateP17CTextRenderBuffer: /* 802FFC58 002FCBB8 94 21 FF F0 */ stwu r1, -0x10(r1) /* 802FFC5C 002FCBBC 7C 08 02 A6 */ mflr r0 /* 802FFC60 002FCBC0 90 01 00 14 */ stw r0, 0x14(r1) /* 802FFC64 002FCBC4 93 E1 00 0C */ stw r31, 0xc(r1) /* 802FFC68 002FCBC8 7C 9F 23 78 */ mr r31, r4 /* 802FFC6C 002FCBCC 93 C1 00 08 */ stw r30, 8(r1) /* 802FFC70 002FCBD0 7C 7E 1B 78 */ mr r30, r3 /* 802FFC74 002FCBD4 80 A4 00 88 */ lwz r5, 0x88(r4) /* 802FFC78 002FCBD8 80 05 00 14 */ lwz r0, 0x14(r5) /* 802FFC7C 002FCBDC 2C 00 00 00 */ cmpwi r0, 0 /* 802FFC80 002FCBE0 40 82 00 08 */ bne lbl_802FFC88 /* 802FFC84 002FCBE4 4B FF FD 59 */ bl SetLineSpacing__16CFontRenderStateFf lbl_802FFC88: /* 802FFC88 002FCBE8 38 00 00 01 */ li r0, 1 /* 802FFC8C 002FCBEC 98 1F 01 08 */ stb r0, 0x108(r31) /* 802FFC90 002FCBF0 93 DF 00 DC */ stw r30, 0xdc(r31) /* 802FFC94 002FCBF4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 802FFC98 002FCBF8 83 C1 00 08 */ lwz r30, 8(r1) /* 802FFC9C 002FCBFC 80 01 00 14 */ lwz r0, 0x14(r1) /* 802FFCA0 002FCC00 7C 08 03 A6 */ mtlr r0 /* 802FFCA4 002FCC04 38 21 00 10 */ addi r1, r1, 0x10 /* 802FFCA8 002FCC08 4E 80 00 20 */ blr