2022-04-16 07:50:32 +00:00
|
|
|
.include "macros.inc"
|
|
|
|
|
2022-04-23 07:19:32 +00:00
|
|
|
.section .sdata
|
2022-08-10 23:08:58 +00:00
|
|
|
.balign 8
|
2022-04-23 07:19:32 +00:00
|
|
|
|
|
|
|
.global lbl_805A89E0
|
|
|
|
lbl_805A89E0:
|
|
|
|
# ROM: 0x3F6380
|
|
|
|
.4byte 0
|
|
|
|
.4byte 0
|
|
|
|
|
2022-07-14 05:36:41 +00:00
|
|
|
.section .text, "ax"
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global AccumulateTextBounds__17CTextRenderBufferFv
|
|
|
|
AccumulateTextBounds__17CTextRenderBufferFv:
|
|
|
|
/* 80359AEC 00356A4C 94 21 FF 40 */ stwu r1, -0xc0(r1)
|
|
|
|
/* 80359AF0 00356A50 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80359AF4 00356A54 3C A0 80 00 */ lis r5, 0x7FFFFFFF@ha
|
|
|
|
/* 80359AF8 00356A58 90 01 00 C4 */ stw r0, 0xc4(r1)
|
|
|
|
/* 80359AFC 00356A5C BE E1 00 9C */ stmw r23, 0x9c(r1)
|
|
|
|
/* 80359B00 00356A60 7C 9B 23 78 */ mr r27, r4
|
|
|
|
/* 80359B04 00356A64 38 85 FF FF */ addi r4, r5, 0x7FFFFFFF@l
|
|
|
|
/* 80359B08 00356A68 7C 7A 1B 78 */ mr r26, r3
|
|
|
|
/* 80359B0C 00356A6C 7C 85 23 78 */ mr r5, r4
|
|
|
|
/* 80359B10 00356A70 38 61 00 48 */ addi r3, r1, 0x48
|
|
|
|
/* 80359B14 00356A74 4B FB A8 39 */ bl __ct__9CVector2iFii
|
|
|
|
/* 80359B18 00356A78 38 61 00 40 */ addi r3, r1, 0x40
|
|
|
|
/* 80359B1C 00356A7C 3C 80 80 00 */ lis r4, 0x8000
|
|
|
|
/* 80359B20 00356A80 3C A0 80 00 */ lis r5, 0x8000
|
|
|
|
/* 80359B24 00356A84 4B FB A8 29 */ bl __ct__9CVector2iFii
|
|
|
|
/* 80359B28 00356A88 80 9B 00 40 */ lwz r4, 0x40(r27)
|
|
|
|
/* 80359B2C 00356A8C 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 80359B30 00356A90 80 BB 00 44 */ lwz r5, 0x44(r27)
|
|
|
|
/* 80359B34 00356A94 38 C0 00 01 */ li r6, 1
|
2022-07-20 06:19:07 +00:00
|
|
|
/* 80359B38 00356A98 4B FE 56 D5 */ bl __ct__15CMemoryInStreamFPCvUlQ215CMemoryInStream10EOwnerShip
|
2022-04-16 07:50:32 +00:00
|
|
|
/* 80359B3C 00356A9C 3B A1 00 44 */ addi r29, r1, 0x44
|
|
|
|
/* 80359B40 00356AA0 3B 81 00 4C */ addi r28, r1, 0x4c
|
|
|
|
/* 80359B44 00356AA4 48 00 03 18 */ b lbl_80359E5C
|
|
|
|
lbl_80359B48:
|
|
|
|
/* 80359B48 00356AA8 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 80359B4C 00356AAC 4B FE 51 C1 */ bl ReadChar__12CInputStreamFv
|
|
|
|
/* 80359B50 00356AB0 54 60 06 3E */ clrlwi r0, r3, 0x18
|
|
|
|
/* 80359B54 00356AB4 2C 00 00 02 */ cmpwi r0, 2
|
|
|
|
/* 80359B58 00356AB8 41 82 02 EC */ beq lbl_80359E44
|
|
|
|
/* 80359B5C 00356ABC 40 80 00 14 */ bge lbl_80359B70
|
|
|
|
/* 80359B60 00356AC0 2C 00 00 00 */ cmpwi r0, 0
|
|
|
|
/* 80359B64 00356AC4 41 82 00 18 */ beq lbl_80359B7C
|
|
|
|
/* 80359B68 00356AC8 40 80 01 58 */ bge lbl_80359CC0
|
|
|
|
/* 80359B6C 00356ACC 48 00 02 F0 */ b lbl_80359E5C
|
|
|
|
lbl_80359B70:
|
|
|
|
/* 80359B70 00356AD0 2C 00 00 04 */ cmpwi r0, 4
|
|
|
|
/* 80359B74 00356AD4 40 80 02 E8 */ bge lbl_80359E5C
|
|
|
|
/* 80359B78 00356AD8 48 00 02 DC */ b lbl_80359E54
|
|
|
|
lbl_80359B7C:
|
|
|
|
/* 80359B7C 00356ADC 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 80359B80 00356AE0 4B FE 51 31 */ bl ReadShort__12CInputStreamFv
|
|
|
|
/* 80359B84 00356AE4 7C 7F 07 34 */ extsh r31, r3
|
|
|
|
/* 80359B88 00356AE8 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 80359B8C 00356AEC 4B FE 51 25 */ bl ReadShort__12CInputStreamFv
|
|
|
|
/* 80359B90 00356AF0 7C 7E 07 34 */ extsh r30, r3
|
|
|
|
/* 80359B94 00356AF4 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 80359B98 00356AF8 4B FE 51 19 */ bl ReadShort__12CInputStreamFv
|
|
|
|
/* 80359B9C 00356AFC 7C 79 07 34 */ extsh r25, r3
|
|
|
|
/* 80359BA0 00356B00 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 80359BA4 00356B04 4B FE 50 E1 */ bl ReadLong__12CInputStreamFv
|
|
|
|
/* 80359BA8 00356B08 88 1B 00 4C */ lbz r0, 0x4c(r27)
|
|
|
|
/* 80359BAC 00356B0C 7C 00 07 74 */ extsb r0, r0
|
|
|
|
/* 80359BB0 00356B10 2C 00 FF FF */ cmpwi r0, -1
|
|
|
|
/* 80359BB4 00356B14 41 82 02 A8 */ beq lbl_80359E5C
|
|
|
|
/* 80359BB8 00356B18 80 9B 00 10 */ lwz r4, 0x10(r27)
|
|
|
|
/* 80359BBC 00356B1C 54 00 18 38 */ slwi r0, r0, 3
|
|
|
|
/* 80359BC0 00356B20 38 61 00 38 */ addi r3, r1, 0x38
|
|
|
|
/* 80359BC4 00356B24 7C 84 02 14 */ add r4, r4, r0
|
|
|
|
/* 80359BC8 00356B28 4B FE 72 E1 */ bl __ct__6CTokenFRC6CToken
|
|
|
|
/* 80359BCC 00356B2C 80 61 00 38 */ lwz r3, 0x38(r1)
|
|
|
|
/* 80359BD0 00356B30 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
|
|
/* 80359BD4 00356B34 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 80359BD8 00356B38 41 82 00 D8 */ beq lbl_80359CB0
|
|
|
|
/* 80359BDC 00356B3C 38 61 00 38 */ addi r3, r1, 0x38
|
|
|
|
/* 80359BE0 00356B40 4B FE 72 2D */ bl GetObj__6CTokenFv
|
|
|
|
/* 80359BE4 00356B44 57 38 04 3E */ clrlwi r24, r25, 0x10
|
|
|
|
/* 80359BE8 00356B48 80 63 00 04 */ lwz r3, 4(r3)
|
|
|
|
/* 80359BEC 00356B4C 7F 04 C3 78 */ mr r4, r24
|
|
|
|
/* 80359BF0 00356B50 4B FA 6A A9 */ bl GetGlyph__11CRasterFontCFw
|
|
|
|
/* 80359BF4 00356B54 28 03 00 00 */ cmplwi r3, 0
|
|
|
|
/* 80359BF8 00356B58 41 82 00 B8 */ beq lbl_80359CB0
|
|
|
|
/* 80359BFC 00356B5C 38 61 00 38 */ addi r3, r1, 0x38
|
|
|
|
/* 80359C00 00356B60 4B FE 72 0D */ bl GetObj__6CTokenFv
|
|
|
|
/* 80359C04 00356B64 80 63 00 04 */ lwz r3, 4(r3)
|
|
|
|
/* 80359C08 00356B68 7F 04 C3 78 */ mr r4, r24
|
|
|
|
/* 80359C0C 00356B6C 4B FA 6A 8D */ bl GetGlyph__11CRasterFontCFw
|
|
|
|
/* 80359C10 00356B70 A8 03 00 18 */ lha r0, 0x18(r3)
|
|
|
|
/* 80359C14 00356B74 38 81 00 40 */ addi r4, r1, 0x40
|
|
|
|
/* 80359C18 00356B78 A8 A3 00 1A */ lha r5, 0x1a(r3)
|
|
|
|
/* 80359C1C 00356B7C 7C 7F 02 14 */ add r3, r31, r0
|
|
|
|
/* 80359C20 00356B80 80 01 00 40 */ lwz r0, 0x40(r1)
|
|
|
|
/* 80359C24 00356B84 7C 63 07 34 */ extsh r3, r3
|
|
|
|
/* 80359C28 00356B88 7C BE 2A 14 */ add r5, r30, r5
|
|
|
|
/* 80359C2C 00356B8C 7C 00 18 00 */ cmpw r0, r3
|
|
|
|
/* 80359C30 00356B90 90 61 00 24 */ stw r3, 0x24(r1)
|
|
|
|
/* 80359C34 00356B94 7C A5 07 34 */ extsh r5, r5
|
|
|
|
/* 80359C38 00356B98 40 80 00 08 */ bge lbl_80359C40
|
|
|
|
/* 80359C3C 00356B9C 38 81 00 24 */ addi r4, r1, 0x24
|
|
|
|
lbl_80359C40:
|
|
|
|
/* 80359C40 00356BA0 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
|
|
/* 80359C44 00356BA4 80 64 00 00 */ lwz r3, 0(r4)
|
|
|
|
/* 80359C48 00356BA8 7C 00 28 00 */ cmpw r0, r5
|
|
|
|
/* 80359C4C 00356BAC 90 61 00 40 */ stw r3, 0x40(r1)
|
|
|
|
/* 80359C50 00356BB0 90 A1 00 20 */ stw r5, 0x20(r1)
|
|
|
|
/* 80359C54 00356BB4 40 80 00 0C */ bge lbl_80359C60
|
|
|
|
/* 80359C58 00356BB8 38 81 00 20 */ addi r4, r1, 0x20
|
|
|
|
/* 80359C5C 00356BBC 48 00 00 08 */ b lbl_80359C64
|
|
|
|
lbl_80359C60:
|
|
|
|
/* 80359C60 00356BC0 7F A4 EB 78 */ mr r4, r29
|
|
|
|
lbl_80359C64:
|
|
|
|
/* 80359C64 00356BC4 80 01 00 48 */ lwz r0, 0x48(r1)
|
|
|
|
/* 80359C68 00356BC8 38 61 00 48 */ addi r3, r1, 0x48
|
|
|
|
/* 80359C6C 00356BCC 80 84 00 00 */ lwz r4, 0(r4)
|
|
|
|
/* 80359C70 00356BD0 7C 1F 00 00 */ cmpw r31, r0
|
|
|
|
/* 80359C74 00356BD4 90 81 00 44 */ stw r4, 0x44(r1)
|
|
|
|
/* 80359C78 00356BD8 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
|
|
/* 80359C7C 00356BDC 40 80 00 08 */ bge lbl_80359C84
|
|
|
|
/* 80359C80 00356BE0 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
lbl_80359C84:
|
|
|
|
/* 80359C84 00356BE4 80 01 00 4C */ lwz r0, 0x4c(r1)
|
|
|
|
/* 80359C88 00356BE8 80 63 00 00 */ lwz r3, 0(r3)
|
|
|
|
/* 80359C8C 00356BEC 7C 1E 00 00 */ cmpw r30, r0
|
|
|
|
/* 80359C90 00356BF0 90 61 00 48 */ stw r3, 0x48(r1)
|
|
|
|
/* 80359C94 00356BF4 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
|
|
/* 80359C98 00356BF8 40 80 00 0C */ bge lbl_80359CA4
|
|
|
|
/* 80359C9C 00356BFC 38 61 00 18 */ addi r3, r1, 0x18
|
|
|
|
/* 80359CA0 00356C00 48 00 00 08 */ b lbl_80359CA8
|
|
|
|
lbl_80359CA4:
|
|
|
|
/* 80359CA4 00356C04 7F 83 E3 78 */ mr r3, r28
|
|
|
|
lbl_80359CA8:
|
|
|
|
/* 80359CA8 00356C08 80 03 00 00 */ lwz r0, 0(r3)
|
|
|
|
/* 80359CAC 00356C0C 90 01 00 4C */ stw r0, 0x4c(r1)
|
|
|
|
lbl_80359CB0:
|
|
|
|
/* 80359CB0 00356C10 38 61 00 38 */ addi r3, r1, 0x38
|
|
|
|
/* 80359CB4 00356C14 38 80 00 00 */ li r4, 0
|
|
|
|
/* 80359CB8 00356C18 4B FE 71 89 */ bl __dt__6CTokenFv
|
|
|
|
/* 80359CBC 00356C1C 48 00 01 A0 */ b lbl_80359E5C
|
|
|
|
lbl_80359CC0:
|
|
|
|
/* 80359CC0 00356C20 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 80359CC4 00356C24 4B FE 4F ED */ bl ReadShort__12CInputStreamFv
|
|
|
|
/* 80359CC8 00356C28 7C 7E 07 34 */ extsh r30, r3
|
|
|
|
/* 80359CCC 00356C2C 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 80359CD0 00356C30 4B FE 4F E1 */ bl ReadShort__12CInputStreamFv
|
|
|
|
/* 80359CD4 00356C34 7C 7F 07 34 */ extsh r31, r3
|
|
|
|
/* 80359CD8 00356C38 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 80359CDC 00356C3C 4B FE 50 31 */ bl ReadChar__12CInputStreamFv
|
|
|
|
/* 80359CE0 00356C40 7C 79 07 74 */ extsb r25, r3
|
|
|
|
/* 80359CE4 00356C44 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 80359CE8 00356C48 4B FE 4F 9D */ bl ReadLong__12CInputStreamFv
|
|
|
|
/* 80359CEC 00356C4C 1C 19 00 1C */ mulli r0, r25, 0x1c
|
|
|
|
/* 80359CF0 00356C50 80 9B 00 20 */ lwz r4, 0x20(r27)
|
|
|
|
/* 80359CF4 00356C54 38 61 00 30 */ addi r3, r1, 0x30
|
|
|
|
/* 80359CF8 00356C58 7F 04 02 14 */ add r24, r4, r0
|
|
|
|
/* 80359CFC 00356C5C 80 98 00 10 */ lwz r4, 0x10(r24)
|
|
|
|
/* 80359D00 00356C60 4B FE 71 A9 */ bl __ct__6CTokenFRC6CToken
|
|
|
|
/* 80359D04 00356C64 38 61 00 30 */ addi r3, r1, 0x30
|
|
|
|
/* 80359D08 00356C68 4B FE 71 05 */ bl GetObj__6CTokenFv
|
|
|
|
/* 80359D0C 00356C6C 80 83 00 04 */ lwz r4, 4(r3)
|
|
|
|
/* 80359D10 00356C70 3C 00 43 30 */ lis r0, 0x4330
|
|
|
|
/* 80359D14 00356C74 90 01 00 78 */ stw r0, 0x78(r1)
|
|
|
|
/* 80359D18 00356C78 38 61 00 30 */ addi r3, r1, 0x30
|
|
|
|
/* 80359D1C 00356C7C A8 04 00 04 */ lha r0, 4(r4)
|
|
|
|
/* 80359D20 00356C80 38 80 00 00 */ li r4, 0
|
|
|
|
/* 80359D24 00356C84 C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2)
|
|
|
|
/* 80359D28 00356C88 6C 00 80 00 */ xoris r0, r0, 0x8000
|
|
|
|
/* 80359D2C 00356C8C C0 18 00 14 */ lfs f0, 0x14(r24)
|
|
|
|
/* 80359D30 00356C90 90 01 00 7C */ stw r0, 0x7c(r1)
|
|
|
|
/* 80359D34 00356C94 C8 21 00 78 */ lfd f1, 0x78(r1)
|
|
|
|
/* 80359D38 00356C98 EC 21 10 28 */ fsubs f1, f1, f2
|
|
|
|
/* 80359D3C 00356C9C EC 01 00 32 */ fmuls f0, f1, f0
|
|
|
|
/* 80359D40 00356CA0 FC 00 00 1E */ fctiwz f0, f0
|
|
|
|
/* 80359D44 00356CA4 D8 01 00 80 */ stfd f0, 0x80(r1)
|
|
|
|
/* 80359D48 00356CA8 83 21 00 84 */ lwz r25, 0x84(r1)
|
|
|
|
/* 80359D4C 00356CAC 4B FE 70 F5 */ bl __dt__6CTokenFv
|
|
|
|
/* 80359D50 00356CB0 7C 1E CA 14 */ add r0, r30, r25
|
|
|
|
/* 80359D54 00356CB4 80 98 00 10 */ lwz r4, 0x10(r24)
|
|
|
|
/* 80359D58 00356CB8 7C 17 07 34 */ extsh r23, r0
|
|
|
|
/* 80359D5C 00356CBC 38 61 00 28 */ addi r3, r1, 0x28
|
|
|
|
/* 80359D60 00356CC0 4B FE 71 49 */ bl __ct__6CTokenFRC6CToken
|
|
|
|
/* 80359D64 00356CC4 38 61 00 28 */ addi r3, r1, 0x28
|
|
|
|
/* 80359D68 00356CC8 4B FE 70 A5 */ bl GetObj__6CTokenFv
|
|
|
|
/* 80359D6C 00356CCC 80 83 00 04 */ lwz r4, 4(r3)
|
|
|
|
/* 80359D70 00356CD0 3C 00 43 30 */ lis r0, 0x4330
|
|
|
|
/* 80359D74 00356CD4 90 01 00 88 */ stw r0, 0x88(r1)
|
|
|
|
/* 80359D78 00356CD8 38 61 00 28 */ addi r3, r1, 0x28
|
|
|
|
/* 80359D7C 00356CDC A8 04 00 06 */ lha r0, 6(r4)
|
|
|
|
/* 80359D80 00356CE0 38 80 00 00 */ li r4, 0
|
|
|
|
/* 80359D84 00356CE4 C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2)
|
|
|
|
/* 80359D88 00356CE8 6C 00 80 00 */ xoris r0, r0, 0x8000
|
|
|
|
/* 80359D8C 00356CEC C0 18 00 18 */ lfs f0, 0x18(r24)
|
|
|
|
/* 80359D90 00356CF0 90 01 00 8C */ stw r0, 0x8c(r1)
|
|
|
|
/* 80359D94 00356CF4 C8 21 00 88 */ lfd f1, 0x88(r1)
|
|
|
|
/* 80359D98 00356CF8 EC 21 10 28 */ fsubs f1, f1, f2
|
|
|
|
/* 80359D9C 00356CFC EC 01 00 32 */ fmuls f0, f1, f0
|
|
|
|
/* 80359DA0 00356D00 FC 00 00 1E */ fctiwz f0, f0
|
|
|
|
/* 80359DA4 00356D04 D8 01 00 90 */ stfd f0, 0x90(r1)
|
|
|
|
/* 80359DA8 00356D08 83 21 00 94 */ lwz r25, 0x94(r1)
|
|
|
|
/* 80359DAC 00356D0C 4B FE 70 95 */ bl __dt__6CTokenFv
|
|
|
|
/* 80359DB0 00356D10 80 01 00 40 */ lwz r0, 0x40(r1)
|
|
|
|
/* 80359DB4 00356D14 7C 7F CA 14 */ add r3, r31, r25
|
|
|
|
/* 80359DB8 00356D18 92 E1 00 14 */ stw r23, 0x14(r1)
|
|
|
|
/* 80359DBC 00356D1C 7C 64 07 34 */ extsh r4, r3
|
|
|
|
/* 80359DC0 00356D20 7C 00 B8 00 */ cmpw r0, r23
|
|
|
|
/* 80359DC4 00356D24 38 61 00 40 */ addi r3, r1, 0x40
|
|
|
|
/* 80359DC8 00356D28 40 80 00 08 */ bge lbl_80359DD0
|
|
|
|
/* 80359DCC 00356D2C 38 61 00 14 */ addi r3, r1, 0x14
|
|
|
|
lbl_80359DD0:
|
|
|
|
/* 80359DD0 00356D30 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
|
|
/* 80359DD4 00356D34 80 63 00 00 */ lwz r3, 0(r3)
|
|
|
|
/* 80359DD8 00356D38 7C 00 20 00 */ cmpw r0, r4
|
|
|
|
/* 80359DDC 00356D3C 90 61 00 40 */ stw r3, 0x40(r1)
|
|
|
|
/* 80359DE0 00356D40 90 81 00 10 */ stw r4, 0x10(r1)
|
|
|
|
/* 80359DE4 00356D44 40 80 00 0C */ bge lbl_80359DF0
|
|
|
|
/* 80359DE8 00356D48 38 81 00 10 */ addi r4, r1, 0x10
|
|
|
|
/* 80359DEC 00356D4C 48 00 00 08 */ b lbl_80359DF4
|
|
|
|
lbl_80359DF0:
|
|
|
|
/* 80359DF0 00356D50 7F A4 EB 78 */ mr r4, r29
|
|
|
|
lbl_80359DF4:
|
|
|
|
/* 80359DF4 00356D54 80 01 00 48 */ lwz r0, 0x48(r1)
|
|
|
|
/* 80359DF8 00356D58 38 61 00 48 */ addi r3, r1, 0x48
|
|
|
|
/* 80359DFC 00356D5C 80 84 00 00 */ lwz r4, 0(r4)
|
|
|
|
/* 80359E00 00356D60 7C 1E 00 00 */ cmpw r30, r0
|
|
|
|
/* 80359E04 00356D64 90 81 00 44 */ stw r4, 0x44(r1)
|
|
|
|
/* 80359E08 00356D68 93 C1 00 0C */ stw r30, 0xc(r1)
|
|
|
|
/* 80359E0C 00356D6C 40 80 00 08 */ bge lbl_80359E14
|
|
|
|
/* 80359E10 00356D70 38 61 00 0C */ addi r3, r1, 0xc
|
|
|
|
lbl_80359E14:
|
|
|
|
/* 80359E14 00356D74 80 01 00 4C */ lwz r0, 0x4c(r1)
|
|
|
|
/* 80359E18 00356D78 80 63 00 00 */ lwz r3, 0(r3)
|
|
|
|
/* 80359E1C 00356D7C 7C 1F 00 00 */ cmpw r31, r0
|
|
|
|
/* 80359E20 00356D80 90 61 00 48 */ stw r3, 0x48(r1)
|
|
|
|
/* 80359E24 00356D84 93 E1 00 08 */ stw r31, 8(r1)
|
|
|
|
/* 80359E28 00356D88 40 80 00 0C */ bge lbl_80359E34
|
|
|
|
/* 80359E2C 00356D8C 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 80359E30 00356D90 48 00 00 08 */ b lbl_80359E38
|
|
|
|
lbl_80359E34:
|
|
|
|
/* 80359E34 00356D94 7F 83 E3 78 */ mr r3, r28
|
|
|
|
lbl_80359E38:
|
|
|
|
/* 80359E38 00356D98 80 03 00 00 */ lwz r0, 0(r3)
|
|
|
|
/* 80359E3C 00356D9C 90 01 00 4C */ stw r0, 0x4c(r1)
|
|
|
|
/* 80359E40 00356DA0 48 00 00 1C */ b lbl_80359E5C
|
|
|
|
lbl_80359E44:
|
|
|
|
/* 80359E44 00356DA4 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 80359E48 00356DA8 4B FE 4E C5 */ bl ReadChar__12CInputStreamFv
|
|
|
|
/* 80359E4C 00356DAC 98 7B 00 4C */ stb r3, 0x4c(r27)
|
|
|
|
/* 80359E50 00356DB0 48 00 00 0C */ b lbl_80359E5C
|
|
|
|
lbl_80359E54:
|
|
|
|
/* 80359E54 00356DB4 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 80359E58 00356DB8 4B FE 4E B5 */ bl ReadChar__12CInputStreamFv
|
|
|
|
lbl_80359E5C:
|
|
|
|
/* 80359E5C 00356DBC 80 61 00 68 */ lwz r3, 0x68(r1)
|
|
|
|
/* 80359E60 00356DC0 80 1B 00 48 */ lwz r0, 0x48(r27)
|
|
|
|
/* 80359E64 00356DC4 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 80359E68 00356DC8 41 80 FC E0 */ blt lbl_80359B48
|
|
|
|
/* 80359E6C 00356DCC 80 81 00 48 */ lwz r4, 0x48(r1)
|
|
|
|
/* 80359E70 00356DD0 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha
|
|
|
|
/* 80359E74 00356DD4 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l
|
|
|
|
/* 80359E78 00356DD8 38 61 00 50 */ addi r3, r1, 0x50
|
|
|
|
/* 80359E7C 00356DDC 90 9A 00 00 */ stw r4, 0(r26)
|
|
|
|
/* 80359E80 00356DE0 38 80 00 00 */ li r4, 0
|
|
|
|
/* 80359E84 00356DE4 80 A1 00 4C */ lwz r5, 0x4c(r1)
|
|
|
|
/* 80359E88 00356DE8 90 BA 00 04 */ stw r5, 4(r26)
|
|
|
|
/* 80359E8C 00356DEC 80 A1 00 40 */ lwz r5, 0x40(r1)
|
|
|
|
/* 80359E90 00356DF0 90 BA 00 08 */ stw r5, 8(r26)
|
|
|
|
/* 80359E94 00356DF4 80 A1 00 44 */ lwz r5, 0x44(r1)
|
|
|
|
/* 80359E98 00356DF8 90 BA 00 0C */ stw r5, 0xc(r26)
|
|
|
|
/* 80359E9C 00356DFC 90 01 00 50 */ stw r0, 0x50(r1)
|
|
|
|
/* 80359EA0 00356E00 4B FE 52 0D */ bl __dt__12CInputStreamFv
|
|
|
|
/* 80359EA4 00356E04 BA E1 00 9C */ lmw r23, 0x9c(r1)
|
|
|
|
/* 80359EA8 00356E08 80 01 00 C4 */ lwz r0, 0xc4(r1)
|
|
|
|
/* 80359EAC 00356E0C 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80359EB0 00356E10 38 21 00 C0 */ addi r1, r1, 0xc0
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80359EB4 00356E14 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global HasSpaceAvailable__17CTextRenderBufferFRC9CVector2iRC9CVector2i
|
|
|
|
HasSpaceAvailable__17CTextRenderBufferFRC9CVector2iRC9CVector2i:
|
|
|
|
/* 80359EB8 00356E18 94 21 FF B0 */ stwu r1, -0x50(r1)
|
|
|
|
/* 80359EBC 00356E1C 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80359EC0 00356E20 90 01 00 54 */ stw r0, 0x54(r1)
|
|
|
|
/* 80359EC4 00356E24 7C 60 1B 78 */ mr r0, r3
|
|
|
|
/* 80359EC8 00356E28 38 61 00 18 */ addi r3, r1, 0x18
|
|
|
|
/* 80359ECC 00356E2C 93 E1 00 4C */ stw r31, 0x4c(r1)
|
|
|
|
/* 80359ED0 00356E30 93 C1 00 48 */ stw r30, 0x48(r1)
|
|
|
|
/* 80359ED4 00356E34 7C BE 2B 78 */ mr r30, r5
|
|
|
|
/* 80359ED8 00356E38 93 A1 00 44 */ stw r29, 0x44(r1)
|
|
|
|
/* 80359EDC 00356E3C 7C 9D 23 78 */ mr r29, r4
|
|
|
|
/* 80359EE0 00356E40 7C 04 03 78 */ mr r4, r0
|
|
|
|
/* 80359EE4 00356E44 4B FF FC 09 */ bl AccumulateTextBounds__17CTextRenderBufferFv
|
|
|
|
/* 80359EE8 00356E48 80 A1 00 18 */ lwz r5, 0x18(r1)
|
|
|
|
/* 80359EEC 00356E4C 3B E1 00 30 */ addi r31, r1, 0x30
|
|
|
|
/* 80359EF0 00356E50 80 61 00 20 */ lwz r3, 0x20(r1)
|
|
|
|
/* 80359EF4 00356E54 80 81 00 1C */ lwz r4, 0x1c(r1)
|
|
|
|
/* 80359EF8 00356E58 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 80359EFC 00356E5C 7C 05 18 00 */ cmpw r5, r3
|
|
|
|
/* 80359F00 00356E60 90 A1 00 28 */ stw r5, 0x28(r1)
|
|
|
|
/* 80359F04 00356E64 90 81 00 2C */ stw r4, 0x2c(r1)
|
|
|
|
/* 80359F08 00356E68 90 61 00 30 */ stw r3, 0x30(r1)
|
|
|
|
/* 80359F0C 00356E6C 90 01 00 34 */ stw r0, 0x34(r1)
|
|
|
|
/* 80359F10 00356E70 40 81 00 0C */ ble lbl_80359F1C
|
|
|
|
/* 80359F14 00356E74 38 60 00 01 */ li r3, 1
|
|
|
|
/* 80359F18 00356E78 48 00 00 54 */ b lbl_80359F6C
|
|
|
|
lbl_80359F1C:
|
|
|
|
/* 80359F1C 00356E7C 38 61 00 10 */ addi r3, r1, 0x10
|
|
|
|
/* 80359F20 00356E80 38 80 00 00 */ li r4, 0
|
|
|
|
/* 80359F24 00356E84 38 A0 00 00 */ li r5, 0
|
|
|
|
/* 80359F28 00356E88 4B FB A4 25 */ bl __ct__9CVector2iFii
|
|
|
|
/* 80359F2C 00356E8C 7F E4 FB 78 */ mr r4, r31
|
|
|
|
/* 80359F30 00356E90 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 80359F34 00356E94 38 A1 00 28 */ addi r5, r1, 0x28
|
|
|
|
/* 80359F38 00356E98 4B FB A3 A5 */ bl __mi__FRC9CVector2iRC9CVector2i
|
|
|
|
/* 80359F3C 00356E9C 80 61 00 14 */ lwz r3, 0x14(r1)
|
|
|
|
/* 80359F40 00356EA0 80 1D 00 04 */ lwz r0, 4(r29)
|
|
|
|
/* 80359F44 00356EA4 80 A1 00 0C */ lwz r5, 0xc(r1)
|
|
|
|
/* 80359F48 00356EA8 7C 03 00 00 */ cmpw r3, r0
|
|
|
|
/* 80359F4C 00356EAC 40 80 00 0C */ bge lbl_80359F58
|
|
|
|
/* 80359F50 00356EB0 38 60 00 00 */ li r3, 0
|
|
|
|
/* 80359F54 00356EB4 48 00 00 18 */ b lbl_80359F6C
|
|
|
|
lbl_80359F58:
|
|
|
|
/* 80359F58 00356EB8 80 1E 00 04 */ lwz r0, 4(r30)
|
|
|
|
/* 80359F5C 00356EBC 54 A3 0F FE */ srwi r3, r5, 0x1f
|
|
|
|
/* 80359F60 00356EC0 7C 04 FE 70 */ srawi r4, r0, 0x1f
|
|
|
|
/* 80359F64 00356EC4 7C 05 00 10 */ subfc r0, r5, r0
|
|
|
|
/* 80359F68 00356EC8 7C 64 19 14 */ adde r3, r4, r3
|
|
|
|
lbl_80359F6C:
|
|
|
|
/* 80359F6C 00356ECC 80 01 00 54 */ lwz r0, 0x54(r1)
|
|
|
|
/* 80359F70 00356ED0 83 E1 00 4C */ lwz r31, 0x4c(r1)
|
|
|
|
/* 80359F74 00356ED4 83 C1 00 48 */ lwz r30, 0x48(r1)
|
|
|
|
/* 80359F78 00356ED8 83 A1 00 44 */ lwz r29, 0x44(r1)
|
|
|
|
/* 80359F7C 00356EDC 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 80359F80 00356EE0 38 21 00 50 */ addi r1, r1, 0x50
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80359F84 00356EE4 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global SetPrimitive__17CTextRenderBufferFRCQ217CTextRenderBuffer9Primitivei
|
|
|
|
SetPrimitive__17CTextRenderBufferFRCQ217CTextRenderBuffer9Primitivei:
|
|
|
|
/* 80359F88 00356EE8 94 21 FF 50 */ stwu r1, -0xb0(r1)
|
|
|
|
/* 80359F8C 00356EEC 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80359F90 00356EF0 7C 67 1B 78 */ mr r7, r3
|
|
|
|
/* 80359F94 00356EF4 38 C0 00 01 */ li r6, 1
|
|
|
|
/* 80359F98 00356EF8 90 01 00 B4 */ stw r0, 0xb4(r1)
|
|
|
|
/* 80359F9C 00356EFC 54 A0 10 3A */ slwi r0, r5, 2
|
|
|
|
/* 80359FA0 00356F00 93 E1 00 AC */ stw r31, 0xac(r1)
|
|
|
|
/* 80359FA4 00356F04 7C 9F 23 78 */ mr r31, r4
|
|
|
|
/* 80359FA8 00356F08 93 C1 00 A8 */ stw r30, 0xa8(r1)
|
|
|
|
/* 80359FAC 00356F0C 80 A3 00 30 */ lwz r5, 0x30(r3)
|
|
|
|
/* 80359FB0 00356F10 80 83 00 40 */ lwz r4, 0x40(r3)
|
|
|
|
/* 80359FB4 00356F14 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 80359FB8 00356F18 7C A5 00 2E */ lwzx r5, r5, r0
|
|
|
|
/* 80359FBC 00356F1C 80 07 00 44 */ lwz r0, 0x44(r7)
|
|
|
|
/* 80359FC0 00356F20 38 E0 00 40 */ li r7, 0x40
|
|
|
|
/* 80359FC4 00356F24 7C 84 2A 14 */ add r4, r4, r5
|
|
|
|
/* 80359FC8 00356F28 7C A5 00 50 */ subf r5, r5, r0
|
|
|
|
/* 80359FCC 00356F2C 4B FE 53 71 */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi
|
|
|
|
/* 80359FD0 00356F30 80 1F 00 04 */ lwz r0, 4(r31)
|
|
|
|
/* 80359FD4 00356F34 2C 00 00 01 */ cmpwi r0, 1
|
|
|
|
/* 80359FD8 00356F38 41 82 00 DC */ beq lbl_8035A0B4
|
|
|
|
/* 80359FDC 00356F3C 40 80 01 C0 */ bge lbl_8035A19C
|
|
|
|
/* 80359FE0 00356F40 2C 00 00 00 */ cmpwi r0, 0
|
|
|
|
/* 80359FE4 00356F44 40 80 00 08 */ bge lbl_80359FEC
|
|
|
|
/* 80359FE8 00356F48 48 00 01 B4 */ b lbl_8035A19C
|
|
|
|
lbl_80359FEC:
|
|
|
|
/* 80359FEC 00356F4C 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 80359FF0 00356F50 4B FE 54 C9 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 80359FF4 00356F54 80 61 00 20 */ lwz r3, 0x20(r1)
|
|
|
|
/* 80359FF8 00356F58 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 80359FFC 00356F5C 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8035A000 00356F60 41 80 00 0C */ blt lbl_8035A00C
|
|
|
|
/* 8035A004 00356F64 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A008 00356F68 4B FE 55 1D */ bl DoFlush__13COutputStreamFv
|
|
|
|
lbl_8035A00C:
|
|
|
|
/* 8035A00C 00356F6C 80 A1 00 2C */ lwz r5, 0x2c(r1)
|
|
|
|
/* 8035A010 00356F70 38 C0 00 00 */ li r6, 0
|
|
|
|
/* 8035A014 00356F74 80 81 00 20 */ lwz r4, 0x20(r1)
|
|
|
|
/* 8035A018 00356F78 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A01C 00356F7C 38 E5 00 01 */ addi r7, r5, 1
|
|
|
|
/* 8035A020 00356F80 80 A1 00 28 */ lwz r5, 0x28(r1)
|
|
|
|
/* 8035A024 00356F84 38 04 00 01 */ addi r0, r4, 1
|
|
|
|
/* 8035A028 00356F88 90 E1 00 2C */ stw r7, 0x2c(r1)
|
|
|
|
/* 8035A02C 00356F8C 90 01 00 20 */ stw r0, 0x20(r1)
|
|
|
|
/* 8035A030 00356F90 7C C5 21 AE */ stbx r6, r5, r4
|
|
|
|
/* 8035A034 00356F94 A8 1F 00 08 */ lha r0, 8(r31)
|
|
|
|
/* 8035A038 00356F98 B0 01 00 10 */ sth r0, 0x10(r1)
|
|
|
|
/* 8035A03C 00356F9C 4B FE 54 7D */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035A040 00356FA0 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A044 00356FA4 38 81 00 10 */ addi r4, r1, 0x10
|
|
|
|
/* 8035A048 00356FA8 38 A0 00 02 */ li r5, 2
|
|
|
|
/* 8035A04C 00356FAC 4B FE 55 5D */ bl DoPut__13COutputStreamFPCvUl
|
|
|
|
/* 8035A050 00356FB0 A8 1F 00 0A */ lha r0, 0xa(r31)
|
|
|
|
/* 8035A054 00356FB4 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A058 00356FB8 B0 01 00 0E */ sth r0, 0xe(r1)
|
|
|
|
/* 8035A05C 00356FBC 4B FE 54 5D */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035A060 00356FC0 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A064 00356FC4 38 81 00 0E */ addi r4, r1, 0xe
|
|
|
|
/* 8035A068 00356FC8 38 A0 00 02 */ li r5, 2
|
|
|
|
/* 8035A06C 00356FCC 4B FE 55 3D */ bl DoPut__13COutputStreamFPCvUl
|
|
|
|
/* 8035A070 00356FD0 A8 1F 00 0C */ lha r0, 0xc(r31)
|
|
|
|
/* 8035A074 00356FD4 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A078 00356FD8 B0 01 00 0C */ sth r0, 0xc(r1)
|
|
|
|
/* 8035A07C 00356FDC 4B FE 54 3D */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035A080 00356FE0 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A084 00356FE4 38 81 00 0C */ addi r4, r1, 0xc
|
|
|
|
/* 8035A088 00356FE8 38 A0 00 02 */ li r5, 2
|
|
|
|
/* 8035A08C 00356FEC 4B FE 55 1D */ bl DoPut__13COutputStreamFPCvUl
|
|
|
|
/* 8035A090 00356FF0 80 1F 00 00 */ lwz r0, 0(r31)
|
|
|
|
/* 8035A094 00356FF4 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A098 00356FF8 90 01 00 18 */ stw r0, 0x18(r1)
|
|
|
|
/* 8035A09C 00356FFC 4B FE 54 1D */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035A0A0 00357000 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A0A4 00357004 38 81 00 18 */ addi r4, r1, 0x18
|
|
|
|
/* 8035A0A8 00357008 38 A0 00 04 */ li r5, 4
|
|
|
|
/* 8035A0AC 0035700C 4B FE 54 FD */ bl DoPut__13COutputStreamFPCvUl
|
|
|
|
/* 8035A0B0 00357010 48 00 00 EC */ b lbl_8035A19C
|
|
|
|
lbl_8035A0B4:
|
|
|
|
/* 8035A0B4 00357014 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A0B8 00357018 4B FE 54 01 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035A0BC 0035701C 80 61 00 20 */ lwz r3, 0x20(r1)
|
|
|
|
/* 8035A0C0 00357020 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 8035A0C4 00357024 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8035A0C8 00357028 41 80 00 0C */ blt lbl_8035A0D4
|
|
|
|
/* 8035A0CC 0035702C 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A0D0 00357030 4B FE 54 55 */ bl DoFlush__13COutputStreamFv
|
|
|
|
lbl_8035A0D4:
|
|
|
|
/* 8035A0D4 00357034 80 A1 00 2C */ lwz r5, 0x2c(r1)
|
|
|
|
/* 8035A0D8 00357038 38 C0 00 01 */ li r6, 1
|
|
|
|
/* 8035A0DC 0035703C 80 81 00 20 */ lwz r4, 0x20(r1)
|
|
|
|
/* 8035A0E0 00357040 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A0E4 00357044 38 E5 00 01 */ addi r7, r5, 1
|
|
|
|
/* 8035A0E8 00357048 80 A1 00 28 */ lwz r5, 0x28(r1)
|
|
|
|
/* 8035A0EC 0035704C 38 04 00 01 */ addi r0, r4, 1
|
|
|
|
/* 8035A0F0 00357050 90 E1 00 2C */ stw r7, 0x2c(r1)
|
|
|
|
/* 8035A0F4 00357054 90 01 00 20 */ stw r0, 0x20(r1)
|
|
|
|
/* 8035A0F8 00357058 7C C5 21 AE */ stbx r6, r5, r4
|
|
|
|
/* 8035A0FC 0035705C A8 1F 00 08 */ lha r0, 8(r31)
|
|
|
|
/* 8035A100 00357060 B0 01 00 0A */ sth r0, 0xa(r1)
|
|
|
|
/* 8035A104 00357064 4B FE 53 B5 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035A108 00357068 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A10C 0035706C 38 81 00 0A */ addi r4, r1, 0xa
|
|
|
|
/* 8035A110 00357070 38 A0 00 02 */ li r5, 2
|
|
|
|
/* 8035A114 00357074 4B FE 54 95 */ bl DoPut__13COutputStreamFPCvUl
|
|
|
|
/* 8035A118 00357078 A8 1F 00 0A */ lha r0, 0xa(r31)
|
|
|
|
/* 8035A11C 0035707C 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A120 00357080 B0 01 00 08 */ sth r0, 8(r1)
|
|
|
|
/* 8035A124 00357084 4B FE 53 95 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035A128 00357088 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A12C 0035708C 38 81 00 08 */ addi r4, r1, 8
|
|
|
|
/* 8035A130 00357090 38 A0 00 02 */ li r5, 2
|
|
|
|
/* 8035A134 00357094 4B FE 54 75 */ bl DoPut__13COutputStreamFPCvUl
|
|
|
|
/* 8035A138 00357098 8B DF 00 0E */ lbz r30, 0xe(r31)
|
|
|
|
/* 8035A13C 0035709C 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A140 003570A0 4B FE 53 79 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035A144 003570A4 80 61 00 20 */ lwz r3, 0x20(r1)
|
|
|
|
/* 8035A148 003570A8 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 8035A14C 003570AC 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8035A150 003570B0 41 80 00 0C */ blt lbl_8035A15C
|
|
|
|
/* 8035A154 003570B4 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A158 003570B8 4B FE 53 CD */ bl DoFlush__13COutputStreamFv
|
|
|
|
lbl_8035A15C:
|
|
|
|
/* 8035A15C 003570BC 80 A1 00 2C */ lwz r5, 0x2c(r1)
|
|
|
|
/* 8035A160 003570C0 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A164 003570C4 80 81 00 20 */ lwz r4, 0x20(r1)
|
|
|
|
/* 8035A168 003570C8 38 C5 00 01 */ addi r6, r5, 1
|
|
|
|
/* 8035A16C 003570CC 80 A1 00 28 */ lwz r5, 0x28(r1)
|
|
|
|
/* 8035A170 003570D0 38 04 00 01 */ addi r0, r4, 1
|
|
|
|
/* 8035A174 003570D4 90 C1 00 2C */ stw r6, 0x2c(r1)
|
|
|
|
/* 8035A178 003570D8 90 01 00 20 */ stw r0, 0x20(r1)
|
|
|
|
/* 8035A17C 003570DC 7F C5 21 AE */ stbx r30, r5, r4
|
|
|
|
/* 8035A180 003570E0 80 1F 00 00 */ lwz r0, 0(r31)
|
|
|
|
/* 8035A184 003570E4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8035A188 003570E8 4B FE 53 31 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035A18C 003570EC 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A190 003570F0 38 81 00 14 */ addi r4, r1, 0x14
|
|
|
|
/* 8035A194 003570F4 38 A0 00 04 */ li r5, 4
|
|
|
|
/* 8035A198 003570F8 4B FE 54 11 */ bl DoPut__13COutputStreamFPCvUl
|
|
|
|
lbl_8035A19C:
|
|
|
|
/* 8035A19C 003570FC 38 61 00 1C */ addi r3, r1, 0x1c
|
|
|
|
/* 8035A1A0 00357100 38 80 FF FF */ li r4, -1
|
|
|
|
/* 8035A1A4 00357104 4B FE 51 1D */ bl __dt__16CMemoryStreamOutFv
|
|
|
|
/* 8035A1A8 00357108 80 01 00 B4 */ lwz r0, 0xb4(r1)
|
|
|
|
/* 8035A1AC 0035710C 83 E1 00 AC */ lwz r31, 0xac(r1)
|
|
|
|
/* 8035A1B0 00357110 83 C1 00 A8 */ lwz r30, 0xa8(r1)
|
|
|
|
/* 8035A1B4 00357114 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8035A1B8 00357118 38 21 00 B0 */ addi r1, r1, 0xb0
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035A1BC 0035711C 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global GetPrimitive__17CTextRenderBufferCFi
|
|
|
|
GetPrimitive__17CTextRenderBufferCFi:
|
|
|
|
/* 8035A1C0 00357120 94 21 FF C0 */ stwu r1, -0x40(r1)
|
|
|
|
/* 8035A1C4 00357124 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8035A1C8 00357128 90 01 00 44 */ stw r0, 0x44(r1)
|
|
|
|
/* 8035A1CC 0035712C 54 A0 10 3A */ slwi r0, r5, 2
|
|
|
|
/* 8035A1D0 00357130 93 E1 00 3C */ stw r31, 0x3c(r1)
|
|
|
|
/* 8035A1D4 00357134 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8035A1D8 00357138 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035A1DC 0035713C 93 C1 00 38 */ stw r30, 0x38(r1)
|
|
|
|
/* 8035A1E0 00357140 93 A1 00 34 */ stw r29, 0x34(r1)
|
|
|
|
/* 8035A1E4 00357144 93 81 00 30 */ stw r28, 0x30(r1)
|
|
|
|
/* 8035A1E8 00357148 80 C4 00 30 */ lwz r6, 0x30(r4)
|
|
|
|
/* 8035A1EC 0035714C 80 A4 00 40 */ lwz r5, 0x40(r4)
|
|
|
|
/* 8035A1F0 00357150 7C C6 00 2E */ lwzx r6, r6, r0
|
|
|
|
/* 8035A1F4 00357154 80 04 00 44 */ lwz r0, 0x44(r4)
|
|
|
|
/* 8035A1F8 00357158 7C 85 32 14 */ add r4, r5, r6
|
|
|
|
/* 8035A1FC 0035715C 7C A6 00 50 */ subf r5, r6, r0
|
|
|
|
/* 8035A200 00357160 4B FE 4F CD */ bl __ct__15CMemoryInStreamFPCvUl
|
|
|
|
/* 8035A204 00357164 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035A208 00357168 4B FE 4B 05 */ bl ReadChar__12CInputStreamFv
|
|
|
|
/* 8035A20C 0035716C 54 60 06 3E */ clrlwi r0, r3, 0x18
|
|
|
|
/* 8035A210 00357170 2C 00 00 01 */ cmpwi r0, 1
|
|
|
|
/* 8035A214 00357174 41 82 00 78 */ beq lbl_8035A28C
|
|
|
|
/* 8035A218 00357178 40 80 00 DC */ bge lbl_8035A2F4
|
|
|
|
/* 8035A21C 0035717C 2C 00 00 00 */ cmpwi r0, 0
|
|
|
|
/* 8035A220 00357180 40 80 00 08 */ bge lbl_8035A228
|
|
|
|
/* 8035A224 00357184 48 00 00 D0 */ b lbl_8035A2F4
|
|
|
|
lbl_8035A228:
|
|
|
|
/* 8035A228 00357188 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035A22C 0035718C 4B FE 4A 85 */ bl ReadShort__12CInputStreamFv
|
|
|
|
/* 8035A230 00357190 7C 7E 07 34 */ extsh r30, r3
|
|
|
|
/* 8035A234 00357194 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035A238 00357198 4B FE 4A 79 */ bl ReadShort__12CInputStreamFv
|
|
|
|
/* 8035A23C 0035719C 7C 7D 07 34 */ extsh r29, r3
|
|
|
|
/* 8035A240 003571A0 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035A244 003571A4 4B FE 4A 6D */ bl ReadShort__12CInputStreamFv
|
|
|
|
/* 8035A248 003571A8 7C 7C 07 34 */ extsh r28, r3
|
|
|
|
/* 8035A24C 003571AC 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035A250 003571B0 4B FE 4A 35 */ bl ReadLong__12CInputStreamFv
|
|
|
|
/* 8035A254 003571B4 90 7F 00 00 */ stw r3, 0(r31)
|
|
|
|
/* 8035A258 003571B8 38 A0 00 00 */ li r5, 0
|
|
|
|
/* 8035A25C 003571BC 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha
|
|
|
|
/* 8035A260 003571C0 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035A264 003571C4 90 BF 00 04 */ stw r5, 4(r31)
|
|
|
|
/* 8035A268 003571C8 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l
|
|
|
|
/* 8035A26C 003571CC 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8035A270 003571D0 B3 DF 00 08 */ sth r30, 8(r31)
|
|
|
|
/* 8035A274 003571D4 B3 BF 00 0A */ sth r29, 0xa(r31)
|
|
|
|
/* 8035A278 003571D8 B3 9F 00 0C */ sth r28, 0xc(r31)
|
|
|
|
/* 8035A27C 003571DC 98 BF 00 0E */ stb r5, 0xe(r31)
|
|
|
|
/* 8035A280 003571E0 90 01 00 08 */ stw r0, 8(r1)
|
|
|
|
/* 8035A284 003571E4 4B FE 4E 29 */ bl __dt__12CInputStreamFv
|
|
|
|
/* 8035A288 003571E8 48 00 00 A4 */ b lbl_8035A32C
|
|
|
|
lbl_8035A28C:
|
|
|
|
/* 8035A28C 003571EC 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035A290 003571F0 4B FE 4A 21 */ bl ReadShort__12CInputStreamFv
|
|
|
|
/* 8035A294 003571F4 7C 7C 07 34 */ extsh r28, r3
|
|
|
|
/* 8035A298 003571F8 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035A29C 003571FC 4B FE 4A 15 */ bl ReadShort__12CInputStreamFv
|
|
|
|
/* 8035A2A0 00357200 7C 7D 07 34 */ extsh r29, r3
|
|
|
|
/* 8035A2A4 00357204 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035A2A8 00357208 4B FE 4A 65 */ bl ReadChar__12CInputStreamFv
|
|
|
|
/* 8035A2AC 0035720C 7C 7E 07 74 */ extsb r30, r3
|
|
|
|
/* 8035A2B0 00357210 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035A2B4 00357214 4B FE 49 D1 */ bl ReadLong__12CInputStreamFv
|
|
|
|
/* 8035A2B8 00357218 90 7F 00 00 */ stw r3, 0(r31)
|
|
|
|
/* 8035A2BC 0035721C 38 00 00 01 */ li r0, 1
|
|
|
|
/* 8035A2C0 00357220 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha
|
|
|
|
/* 8035A2C4 00357224 38 A0 00 00 */ li r5, 0
|
|
|
|
/* 8035A2C8 00357228 90 1F 00 04 */ stw r0, 4(r31)
|
|
|
|
/* 8035A2CC 0035722C 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l
|
|
|
|
/* 8035A2D0 00357230 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035A2D4 00357234 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8035A2D8 00357238 B3 9F 00 08 */ sth r28, 8(r31)
|
|
|
|
/* 8035A2DC 0035723C B3 BF 00 0A */ sth r29, 0xa(r31)
|
|
|
|
/* 8035A2E0 00357240 B0 BF 00 0C */ sth r5, 0xc(r31)
|
|
|
|
/* 8035A2E4 00357244 9B DF 00 0E */ stb r30, 0xe(r31)
|
|
|
|
/* 8035A2E8 00357248 90 01 00 08 */ stw r0, 8(r1)
|
|
|
|
/* 8035A2EC 0035724C 4B FE 4D C1 */ bl __dt__12CInputStreamFv
|
|
|
|
/* 8035A2F0 00357250 48 00 00 3C */ b lbl_8035A32C
|
|
|
|
lbl_8035A2F4:
|
|
|
|
/* 8035A2F4 00357254 38 A0 00 00 */ li r5, 0
|
|
|
|
/* 8035A2F8 00357258 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha
|
|
|
|
/* 8035A2FC 0035725C 90 BF 00 00 */ stw r5, 0(r31)
|
|
|
|
/* 8035A300 00357260 38 80 FF FF */ li r4, -1
|
|
|
|
/* 8035A304 00357264 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l
|
|
|
|
/* 8035A308 00357268 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035A30C 0035726C 90 9F 00 04 */ stw r4, 4(r31)
|
|
|
|
/* 8035A310 00357270 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8035A314 00357274 B0 BF 00 08 */ sth r5, 8(r31)
|
|
|
|
/* 8035A318 00357278 B0 BF 00 0A */ sth r5, 0xa(r31)
|
|
|
|
/* 8035A31C 0035727C B0 BF 00 0C */ sth r5, 0xc(r31)
|
|
|
|
/* 8035A320 00357280 98 BF 00 0E */ stb r5, 0xe(r31)
|
|
|
|
/* 8035A324 00357284 90 01 00 08 */ stw r0, 8(r1)
|
|
|
|
/* 8035A328 00357288 4B FE 4D 85 */ bl __dt__12CInputStreamFv
|
|
|
|
lbl_8035A32C:
|
|
|
|
/* 8035A32C 0035728C 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
|
|
/* 8035A330 00357290 83 E1 00 3C */ lwz r31, 0x3c(r1)
|
|
|
|
/* 8035A334 00357294 83 C1 00 38 */ lwz r30, 0x38(r1)
|
|
|
|
/* 8035A338 00357298 83 A1 00 34 */ lwz r29, 0x34(r1)
|
|
|
|
/* 8035A33C 0035729C 83 81 00 30 */ lwz r28, 0x30(r1)
|
|
|
|
/* 8035A340 003572A0 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8035A344 003572A4 38 21 00 40 */ addi r1, r1, 0x40
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035A348 003572A8 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global sub_8035a34c
|
|
|
|
sub_8035a34c:
|
|
|
|
/* 8035A34C 003572AC 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8035A350 003572B0 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8035A354 003572B4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8035A358 003572B8 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 8035A35C 003572BC 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8035A360 003572C0 48 00 00 65 */ bl sub_8035a3c4
|
|
|
|
/* 8035A364 003572C4 80 7F 00 48 */ lwz r3, 0x48(r31)
|
|
|
|
/* 8035A368 003572C8 80 1F 00 44 */ lwz r0, 0x44(r31)
|
|
|
|
/* 8035A36C 003572CC 7C 63 00 50 */ subf r3, r3, r0
|
|
|
|
/* 8035A370 003572D0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8035A374 003572D4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8035A378 003572D8 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8035A37C 003572DC 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035A380 003572E0 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global GetOutStream__17CTextRenderBufferFv
|
|
|
|
GetOutStream__17CTextRenderBufferFv:
|
|
|
|
/* 8035A384 003572E4 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8035A388 003572E8 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8035A38C 003572EC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8035A390 003572F0 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 8035A394 003572F4 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8035A398 003572F8 48 00 00 2D */ bl sub_8035a3c4
|
|
|
|
/* 8035A39C 003572FC 80 7F 00 40 */ lwz r3, 0x40(r31)
|
|
|
|
/* 8035A3A0 00357300 80 1F 00 48 */ lwz r0, 0x48(r31)
|
|
|
|
/* 8035A3A4 00357304 7C 63 02 14 */ add r3, r3, r0
|
|
|
|
/* 8035A3A8 00357308 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8035A3AC 0035730C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8035A3B0 00357310 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8035A3B4 00357314 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035A3B8 00357318 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global SetMode__17CTextRenderBufferFQ217CTextRenderBuffer5EMode
|
|
|
|
SetMode__17CTextRenderBufferFQ217CTextRenderBuffer5EMode:
|
|
|
|
/* 8035A3BC 0035731C 90 83 00 00 */ stw r4, 0(r3)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035A3C0 00357320 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global sub_8035a3c4
|
|
|
|
sub_8035a3c4:
|
|
|
|
/* 8035A3C4 00357324 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8035A3C8 00357328 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8035A3CC 0035732C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8035A3D0 00357330 80 03 00 38 */ lwz r0, 0x38(r3)
|
|
|
|
/* 8035A3D4 00357334 2C 00 00 00 */ cmpwi r0, 0
|
|
|
|
/* 8035A3D8 00357338 40 82 00 14 */ bne lbl_8035A3EC
|
|
|
|
/* 8035A3DC 0035733C 80 83 00 44 */ lwz r4, 0x44(r3)
|
|
|
|
/* 8035A3E0 00357340 38 63 00 34 */ addi r3, r3, 0x34
|
|
|
|
/* 8035A3E4 00357344 38 AD 9E 20 */ addi r5, r13, lbl_805A89E0@sda21
|
|
|
|
/* 8035A3E8 00357348 48 00 00 15 */ bl VerifyBuffer__17CTextRenderBufferFv
|
|
|
|
lbl_8035A3EC:
|
|
|
|
/* 8035A3EC 0035734C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8035A3F0 00357350 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8035A3F4 00357354 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035A3F8 00357358 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global VerifyBuffer__17CTextRenderBufferFv
|
|
|
|
VerifyBuffer__17CTextRenderBufferFv:
|
|
|
|
/* 8035A3FC 0035735C 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
|
|
/* 8035A400 00357360 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8035A404 00357364 90 01 00 34 */ stw r0, 0x34(r1)
|
|
|
|
/* 8035A408 00357368 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
|
|
/* 8035A40C 0035736C 7C BF 2B 78 */ mr r31, r5
|
|
|
|
/* 8035A410 00357370 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
|
|
/* 8035A414 00357374 7C 9E 23 78 */ mr r30, r4
|
|
|
|
/* 8035A418 00357378 93 A1 00 24 */ stw r29, 0x24(r1)
|
|
|
|
/* 8035A41C 0035737C 7C 7D 1B 78 */ mr r29, r3
|
|
|
|
/* 8035A420 00357380 80 03 00 04 */ lwz r0, 4(r3)
|
|
|
|
/* 8035A424 00357384 7C 00 F0 00 */ cmpw r0, r30
|
|
|
|
/* 8035A428 00357388 41 82 00 78 */ beq lbl_8035A4A0
|
|
|
|
/* 8035A42C 0035738C 7C 1E 00 00 */ cmpw r30, r0
|
|
|
|
/* 8035A430 00357390 40 81 00 3C */ ble lbl_8035A46C
|
|
|
|
/* 8035A434 00357394 4B F6 FF C9 */ bl "reserve__Q24rstl37vector<Sc,Q24rstl17rmemory_allocator>Fi"
|
|
|
|
/* 8035A438 00357398 80 7D 00 04 */ lwz r3, 4(r29)
|
|
|
|
/* 8035A43C 0035739C 80 1D 00 0C */ lwz r0, 0xc(r29)
|
|
|
|
/* 8035A440 003573A0 7C 83 F0 51 */ subf. r4, r3, r30
|
|
|
|
/* 8035A444 003573A4 7C 60 1A 14 */ add r3, r0, r3
|
|
|
|
/* 8035A448 003573A8 7C 89 03 A6 */ mtctr r4
|
|
|
|
/* 8035A44C 003573AC 40 81 00 50 */ ble lbl_8035A49C
|
|
|
|
lbl_8035A450:
|
|
|
|
/* 8035A450 003573B0 28 03 00 00 */ cmplwi r3, 0
|
|
|
|
/* 8035A454 003573B4 41 82 00 0C */ beq lbl_8035A460
|
|
|
|
/* 8035A458 003573B8 88 1F 00 00 */ lbz r0, 0(r31)
|
|
|
|
/* 8035A45C 003573BC 98 03 00 00 */ stb r0, 0(r3)
|
|
|
|
lbl_8035A460:
|
|
|
|
/* 8035A460 003573C0 38 63 00 01 */ addi r3, r3, 1
|
|
|
|
/* 8035A464 003573C4 42 00 FF EC */ bdnz lbl_8035A450
|
|
|
|
/* 8035A468 003573C8 48 00 00 34 */ b lbl_8035A49C
|
|
|
|
lbl_8035A46C:
|
|
|
|
/* 8035A46C 003573CC 80 9D 00 0C */ lwz r4, 0xc(r29)
|
|
|
|
/* 8035A470 003573D0 7C 64 02 14 */ add r3, r4, r0
|
|
|
|
/* 8035A474 003573D4 7C 84 F2 14 */ add r4, r4, r30
|
|
|
|
/* 8035A478 003573D8 7C 04 18 50 */ subf r0, r4, r3
|
|
|
|
/* 8035A47C 003573DC 90 61 00 08 */ stw r3, 8(r1)
|
|
|
|
/* 8035A480 003573E0 90 61 00 0C */ stw r3, 0xc(r1)
|
|
|
|
/* 8035A484 003573E4 90 81 00 10 */ stw r4, 0x10(r1)
|
|
|
|
/* 8035A488 003573E8 90 81 00 14 */ stw r4, 0x14(r1)
|
|
|
|
/* 8035A48C 003573EC 7C 09 03 A6 */ mtctr r0
|
|
|
|
/* 8035A490 003573F0 7C 04 18 40 */ cmplw r4, r3
|
|
|
|
/* 8035A494 003573F4 41 82 00 08 */ beq lbl_8035A49C
|
|
|
|
lbl_8035A498:
|
|
|
|
/* 8035A498 003573F8 42 00 00 00 */ bdnz lbl_8035A498
|
|
|
|
lbl_8035A49C:
|
|
|
|
/* 8035A49C 003573FC 93 DD 00 04 */ stw r30, 4(r29)
|
|
|
|
lbl_8035A4A0:
|
|
|
|
/* 8035A4A0 00357400 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
|
|
/* 8035A4A4 00357404 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
|
|
/* 8035A4A8 00357408 83 C1 00 28 */ lwz r30, 0x28(r1)
|
|
|
|
/* 8035A4AC 0035740C 83 A1 00 24 */ lwz r29, 0x24(r1)
|
|
|
|
/* 8035A4B0 00357410 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8035A4B4 00357414 38 21 00 30 */ addi r1, r1, 0x30
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035A4B8 00357418 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global Render__17CTextRenderBufferCFRC6CColorf
|
|
|
|
Render__17CTextRenderBufferCFRC6CColorf:
|
|
|
|
/* 8035A4BC 0035741C 94 21 FE E0 */ stwu r1, -0x120(r1)
|
|
|
|
/* 8035A4C0 00357420 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8035A4C4 00357424 90 01 01 24 */ stw r0, 0x124(r1)
|
|
|
|
/* 8035A4C8 00357428 DB E1 01 10 */ stfd f31, 0x110(r1)
|
|
|
|
/* 8035A4CC 0035742C F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0
|
|
|
|
/* 8035A4D0 00357430 DB C1 01 00 */ stfd f30, 0x100(r1)
|
|
|
|
/* 8035A4D4 00357434 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0
|
|
|
|
/* 8035A4D8 00357438 DB A1 00 F0 */ stfd f29, 0xf0(r1)
|
|
|
|
/* 8035A4DC 0035743C F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0
|
|
|
|
/* 8035A4E0 00357440 BE E1 00 CC */ stmw r23, 0xcc(r1)
|
|
|
|
/* 8035A4E4 00357444 7C 78 1B 78 */ mr r24, r3
|
|
|
|
/* 8035A4E8 00357448 38 00 FF FF */ li r0, -1
|
|
|
|
/* 8035A4EC 0035744C 98 03 00 4C */ stb r0, 0x4c(r3)
|
|
|
|
/* 8035A4F0 00357450 FF E0 08 90 */ fmr f31, f1
|
|
|
|
/* 8035A4F4 00357454 7C 99 23 78 */ mr r25, r4
|
|
|
|
/* 8035A4F8 00357458 38 61 00 40 */ addi r3, r1, 0x40
|
|
|
|
/* 8035A4FC 0035745C 98 18 00 4D */ stb r0, 0x4d(r24)
|
|
|
|
/* 8035A500 00357460 38 C0 00 01 */ li r6, 1
|
|
|
|
/* 8035A504 00357464 80 98 00 40 */ lwz r4, 0x40(r24)
|
|
|
|
/* 8035A508 00357468 80 B8 00 44 */ lwz r5, 0x44(r24)
|
2022-07-20 06:19:07 +00:00
|
|
|
/* 8035A50C 0035746C 4B FE 4D 01 */ bl __ct__15CMemoryInStreamFPCvUlQ215CMemoryInStream10EOwnerShip
|
2022-04-16 07:50:32 +00:00
|
|
|
/* 8035A510 00357470 3B 78 00 54 */ addi r27, r24, 0x54
|
|
|
|
/* 8035A514 00357474 48 00 06 60 */ b lbl_8035AB74
|
|
|
|
lbl_8035A518:
|
|
|
|
/* 8035A518 00357478 38 61 00 40 */ addi r3, r1, 0x40
|
|
|
|
/* 8035A51C 0035747C 4B FE 47 F1 */ bl ReadChar__12CInputStreamFv
|
|
|
|
/* 8035A520 00357480 54 60 06 3E */ clrlwi r0, r3, 0x18
|
|
|
|
/* 8035A524 00357484 2C 00 00 02 */ cmpwi r0, 2
|
|
|
|
/* 8035A528 00357488 41 82 06 28 */ beq lbl_8035AB50
|
|
|
|
/* 8035A52C 0035748C 40 80 00 14 */ bge lbl_8035A540
|
|
|
|
/* 8035A530 00357490 2C 00 00 00 */ cmpwi r0, 0
|
|
|
|
/* 8035A534 00357494 41 82 00 18 */ beq lbl_8035A54C
|
|
|
|
/* 8035A538 00357498 40 80 02 AC */ bge lbl_8035A7E4
|
|
|
|
/* 8035A53C 0035749C 48 00 06 38 */ b lbl_8035AB74
|
|
|
|
lbl_8035A540:
|
|
|
|
/* 8035A540 003574A0 2C 00 00 04 */ cmpwi r0, 4
|
|
|
|
/* 8035A544 003574A4 40 80 06 30 */ bge lbl_8035AB74
|
|
|
|
/* 8035A548 003574A8 48 00 06 1C */ b lbl_8035AB64
|
|
|
|
lbl_8035A54C:
|
|
|
|
/* 8035A54C 003574AC 88 18 00 4E */ lbz r0, 0x4e(r24)
|
|
|
|
/* 8035A550 003574B0 7C 00 07 74 */ extsb r0, r0
|
|
|
|
/* 8035A554 003574B4 2C 00 FF FF */ cmpwi r0, -1
|
|
|
|
/* 8035A558 003574B8 41 82 00 4C */ beq lbl_8035A5A4
|
|
|
|
/* 8035A55C 003574BC 80 98 00 10 */ lwz r4, 0x10(r24)
|
|
|
|
/* 8035A560 003574C0 54 00 18 38 */ slwi r0, r0, 3
|
|
|
|
/* 8035A564 003574C4 38 61 00 38 */ addi r3, r1, 0x38
|
|
|
|
/* 8035A568 003574C8 7C 84 02 14 */ add r4, r4, r0
|
|
|
|
/* 8035A56C 003574CC 4B FE 69 3D */ bl __ct__6CTokenFRC6CToken
|
|
|
|
/* 8035A570 003574D0 80 61 00 38 */ lwz r3, 0x38(r1)
|
|
|
|
/* 8035A574 003574D4 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
|
|
/* 8035A578 003574D8 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8035A57C 003574DC 41 82 00 1C */ beq lbl_8035A598
|
|
|
|
/* 8035A580 003574E0 38 61 00 38 */ addi r3, r1, 0x38
|
|
|
|
/* 8035A584 003574E4 4B FE 68 89 */ bl GetObj__6CTokenFv
|
|
|
|
/* 8035A588 003574E8 80 63 00 04 */ lwz r3, 4(r3)
|
|
|
|
/* 8035A58C 003574EC 4B FA 59 E1 */ bl SetupRenderState__11CRasterFontFv
|
|
|
|
/* 8035A590 003574F0 38 00 FF FF */ li r0, -1
|
|
|
|
/* 8035A594 003574F4 98 18 00 4E */ stb r0, 0x4e(r24)
|
|
|
|
lbl_8035A598:
|
|
|
|
/* 8035A598 003574F8 38 61 00 38 */ addi r3, r1, 0x38
|
|
|
|
/* 8035A59C 003574FC 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8035A5A0 00357500 4B FE 68 A1 */ bl __dt__6CTokenFv
|
|
|
|
lbl_8035A5A4:
|
|
|
|
/* 8035A5A4 00357504 88 18 00 4F */ lbz r0, 0x4f(r24)
|
|
|
|
/* 8035A5A8 00357508 7C 00 07 74 */ extsb r0, r0
|
|
|
|
/* 8035A5AC 0035750C 2C 00 FF FF */ cmpwi r0, -1
|
|
|
|
/* 8035A5B0 00357510 41 82 00 1C */ beq lbl_8035A5CC
|
|
|
|
/* 8035A5B4 00357514 54 03 18 38 */ slwi r3, r0, 3
|
|
|
|
/* 8035A5B8 00357518 38 03 00 04 */ addi r0, r3, 4
|
|
|
|
/* 8035A5BC 0035751C 7C 7B 00 2E */ lwzx r3, r27, r0
|
|
|
|
/* 8035A5C0 00357520 4B FB 39 05 */ bl Load__16CGraphicsPaletteCFv
|
|
|
|
/* 8035A5C4 00357524 38 00 FF FF */ li r0, -1
|
|
|
|
/* 8035A5C8 00357528 98 18 00 4F */ stb r0, 0x4f(r24)
|
|
|
|
lbl_8035A5CC:
|
|
|
|
/* 8035A5CC 0035752C 38 61 00 40 */ addi r3, r1, 0x40
|
|
|
|
/* 8035A5D0 00357530 4B FE 46 E1 */ bl ReadShort__12CInputStreamFv
|
|
|
|
/* 8035A5D4 00357534 7C 7E 07 34 */ extsh r30, r3
|
|
|
|
/* 8035A5D8 00357538 38 61 00 40 */ addi r3, r1, 0x40
|
|
|
|
/* 8035A5DC 0035753C 4B FE 46 D5 */ bl ReadShort__12CInputStreamFv
|
|
|
|
/* 8035A5E0 00357540 7C 7D 07 34 */ extsh r29, r3
|
|
|
|
/* 8035A5E4 00357544 38 61 00 40 */ addi r3, r1, 0x40
|
|
|
|
/* 8035A5E8 00357548 4B FE 46 C9 */ bl ReadShort__12CInputStreamFv
|
|
|
|
/* 8035A5EC 0035754C 7C 77 07 34 */ extsh r23, r3
|
|
|
|
/* 8035A5F0 00357550 38 61 00 40 */ addi r3, r1, 0x40
|
|
|
|
/* 8035A5F4 00357554 4B FE 46 91 */ bl ReadLong__12CInputStreamFv
|
|
|
|
/* 8035A5F8 00357558 88 18 00 4C */ lbz r0, 0x4c(r24)
|
|
|
|
/* 8035A5FC 0035755C 7C 7A 1B 78 */ mr r26, r3
|
|
|
|
/* 8035A600 00357560 7C 00 07 74 */ extsb r0, r0
|
|
|
|
/* 8035A604 00357564 2C 00 FF FF */ cmpwi r0, -1
|
|
|
|
/* 8035A608 00357568 41 82 05 6C */ beq lbl_8035AB74
|
|
|
|
/* 8035A60C 0035756C 80 98 00 10 */ lwz r4, 0x10(r24)
|
|
|
|
/* 8035A610 00357570 54 00 18 38 */ slwi r0, r0, 3
|
|
|
|
/* 8035A614 00357574 38 61 00 30 */ addi r3, r1, 0x30
|
|
|
|
/* 8035A618 00357578 7C 84 02 14 */ add r4, r4, r0
|
|
|
|
/* 8035A61C 0035757C 4B FE 68 8D */ bl __ct__6CTokenFRC6CToken
|
|
|
|
/* 8035A620 00357580 80 61 00 30 */ lwz r3, 0x30(r1)
|
|
|
|
/* 8035A624 00357584 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
|
|
/* 8035A628 00357588 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8035A62C 0035758C 41 82 01 A8 */ beq lbl_8035A7D4
|
|
|
|
/* 8035A630 00357590 38 61 00 30 */ addi r3, r1, 0x30
|
|
|
|
/* 8035A634 00357594 4B FE 67 D9 */ bl GetObj__6CTokenFv
|
|
|
|
/* 8035A638 00357598 56 F7 04 3E */ clrlwi r23, r23, 0x10
|
|
|
|
/* 8035A63C 0035759C 80 63 00 04 */ lwz r3, 4(r3)
|
|
|
|
/* 8035A640 003575A0 7E E4 BB 78 */ mr r4, r23
|
|
|
|
/* 8035A644 003575A4 4B FA 60 55 */ bl GetGlyph__11CRasterFontCFw
|
|
|
|
/* 8035A648 003575A8 28 03 00 00 */ cmplwi r3, 0
|
|
|
|
/* 8035A64C 003575AC 41 82 01 88 */ beq lbl_8035A7D4
|
|
|
|
/* 8035A650 003575B0 38 61 00 30 */ addi r3, r1, 0x30
|
|
|
|
/* 8035A654 003575B4 4B FE 67 B9 */ bl GetObj__6CTokenFv
|
|
|
|
/* 8035A658 003575B8 80 63 00 04 */ lwz r3, 4(r3)
|
|
|
|
/* 8035A65C 003575BC 7E E4 BB 78 */ mr r4, r23
|
|
|
|
/* 8035A660 003575C0 4B FA 60 39 */ bl GetGlyph__11CRasterFontCFw
|
|
|
|
/* 8035A664 003575C4 93 41 00 10 */ stw r26, 0x10(r1)
|
|
|
|
/* 8035A668 003575C8 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8035A66C 003575CC 7F 25 CB 78 */ mr r5, r25
|
|
|
|
/* 8035A670 003575D0 38 61 00 14 */ addi r3, r1, 0x14
|
|
|
|
/* 8035A674 003575D4 38 81 00 10 */ addi r4, r1, 0x10
|
|
|
|
/* 8035A678 003575D8 48 00 8B 01 */ bl Modulate__6CColorFRC6CColorRC6CColor
|
|
|
|
/* 8035A67C 003575DC 38 81 00 14 */ addi r4, r1, 0x14
|
|
|
|
/* 8035A680 003575E0 38 60 00 00 */ li r3, 0
|
|
|
|
/* 8035A684 003575E4 4B FA E5 C1 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor
|
|
|
|
/* 8035A688 003575E8 38 60 00 98 */ li r3, 0x98
|
|
|
|
/* 8035A68C 003575EC 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8035A690 003575F0 38 A0 00 04 */ li r5, 4
|
|
|
|
/* 8035A694 003575F4 4B FA DE F1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs
|
|
|
|
/* 8035A698 003575F8 3C A0 43 30 */ lis r5, 0x4330
|
|
|
|
/* 8035A69C 003575FC 6F C6 80 00 */ xoris r6, r30, 0x8000
|
|
|
|
/* 8035A6A0 00357600 90 C1 00 6C */ stw r6, 0x6c(r1)
|
|
|
|
/* 8035A6A4 00357604 6F A3 80 00 */ xoris r3, r29, 0x8000
|
|
|
|
/* 8035A6A8 00357608 C8 82 CD 00 */ lfd f4, lbl_805AEA20@sda21(r2)
|
|
|
|
/* 8035A6AC 0035760C 3C 80 CC 01 */ lis r4, 0xCC008000@ha
|
|
|
|
/* 8035A6B0 00357610 90 A1 00 68 */ stw r5, 0x68(r1)
|
|
|
|
/* 8035A6B4 00357614 C0 62 CD 08 */ lfs f3, lbl_805AEA28@sda21(r2)
|
|
|
|
/* 8035A6B8 00357618 C8 01 00 68 */ lfd f0, 0x68(r1)
|
|
|
|
/* 8035A6BC 0035761C 90 61 00 74 */ stw r3, 0x74(r1)
|
|
|
|
/* 8035A6C0 00357620 EC 20 20 28 */ fsubs f1, f0, f4
|
|
|
|
/* 8035A6C4 00357624 90 A1 00 70 */ stw r5, 0x70(r1)
|
|
|
|
/* 8035A6C8 00357628 C8 01 00 70 */ lfd f0, 0x70(r1)
|
|
|
|
/* 8035A6CC 0035762C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4)
|
|
|
|
/* 8035A6D0 00357630 EC 00 20 28 */ fsubs f0, f0, f4
|
|
|
|
/* 8035A6D4 00357634 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4)
|
|
|
|
/* 8035A6D8 00357638 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4)
|
|
|
|
/* 8035A6DC 0035763C C0 3F 00 0C */ lfs f1, 0xc(r31)
|
|
|
|
/* 8035A6E0 00357640 C0 1F 00 08 */ lfs f0, 8(r31)
|
|
|
|
/* 8035A6E4 00357644 90 A1 00 78 */ stw r5, 0x78(r1)
|
|
|
|
/* 8035A6E8 00357648 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4)
|
|
|
|
/* 8035A6EC 0035764C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4)
|
|
|
|
/* 8035A6F0 00357650 A8 1F 00 18 */ lha r0, 0x18(r31)
|
|
|
|
/* 8035A6F4 00357654 90 61 00 84 */ stw r3, 0x84(r1)
|
|
|
|
/* 8035A6F8 00357658 7C 1E 02 14 */ add r0, r30, r0
|
|
|
|
/* 8035A6FC 0035765C 6C 00 80 00 */ xoris r0, r0, 0x8000
|
|
|
|
/* 8035A700 00357660 90 A1 00 80 */ stw r5, 0x80(r1)
|
|
|
|
/* 8035A704 00357664 90 01 00 7C */ stw r0, 0x7c(r1)
|
|
|
|
/* 8035A708 00357668 C8 01 00 80 */ lfd f0, 0x80(r1)
|
|
|
|
/* 8035A70C 0035766C C8 41 00 78 */ lfd f2, 0x78(r1)
|
|
|
|
/* 8035A710 00357670 EC 20 20 28 */ fsubs f1, f0, f4
|
|
|
|
/* 8035A714 00357674 90 C1 00 94 */ stw r6, 0x94(r1)
|
|
|
|
/* 8035A718 00357678 EC 02 20 28 */ fsubs f0, f2, f4
|
|
|
|
/* 8035A71C 0035767C 90 A1 00 90 */ stw r5, 0x90(r1)
|
|
|
|
/* 8035A720 00357680 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4)
|
|
|
|
/* 8035A724 00357684 C8 01 00 90 */ lfd f0, 0x90(r1)
|
|
|
|
/* 8035A728 00357688 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4)
|
|
|
|
/* 8035A72C 0035768C EC 00 20 28 */ fsubs f0, f0, f4
|
|
|
|
/* 8035A730 00357690 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4)
|
|
|
|
/* 8035A734 00357694 C0 5F 00 0C */ lfs f2, 0xc(r31)
|
|
|
|
/* 8035A738 00357698 C0 3F 00 10 */ lfs f1, 0x10(r31)
|
|
|
|
/* 8035A73C 0035769C 90 A1 00 88 */ stw r5, 0x88(r1)
|
|
|
|
/* 8035A740 003576A0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4)
|
|
|
|
/* 8035A744 003576A4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4)
|
|
|
|
/* 8035A748 003576A8 A8 1F 00 1A */ lha r0, 0x1a(r31)
|
|
|
|
/* 8035A74C 003576AC 90 A1 00 A0 */ stw r5, 0xa0(r1)
|
|
|
|
/* 8035A750 003576B0 7C 1D 02 14 */ add r0, r29, r0
|
|
|
|
/* 8035A754 003576B4 6C 00 80 00 */ xoris r0, r0, 0x8000
|
|
|
|
/* 8035A758 003576B8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4)
|
|
|
|
/* 8035A75C 003576BC 90 01 00 8C */ stw r0, 0x8c(r1)
|
|
|
|
/* 8035A760 003576C0 C8 01 00 88 */ lfd f0, 0x88(r1)
|
|
|
|
/* 8035A764 003576C4 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4)
|
|
|
|
/* 8035A768 003576C8 EC 00 20 28 */ fsubs f0, f0, f4
|
|
|
|
/* 8035A76C 003576CC 90 A1 00 98 */ stw r5, 0x98(r1)
|
|
|
|
/* 8035A770 003576D0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4)
|
|
|
|
/* 8035A774 003576D4 C0 3F 00 14 */ lfs f1, 0x14(r31)
|
|
|
|
/* 8035A778 003576D8 C0 1F 00 08 */ lfs f0, 8(r31)
|
|
|
|
/* 8035A77C 003576DC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4)
|
|
|
|
/* 8035A780 003576E0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4)
|
|
|
|
/* 8035A784 003576E4 A8 1F 00 18 */ lha r0, 0x18(r31)
|
|
|
|
/* 8035A788 003576E8 A8 7F 00 1A */ lha r3, 0x1a(r31)
|
|
|
|
/* 8035A78C 003576EC 7C 1E 02 14 */ add r0, r30, r0
|
|
|
|
/* 8035A790 003576F0 6C 00 80 00 */ xoris r0, r0, 0x8000
|
|
|
|
/* 8035A794 003576F4 7C 7D 1A 14 */ add r3, r29, r3
|
|
|
|
/* 8035A798 003576F8 90 01 00 A4 */ stw r0, 0xa4(r1)
|
|
|
|
/* 8035A79C 003576FC 6C 60 80 00 */ xoris r0, r3, 0x8000
|
|
|
|
/* 8035A7A0 00357700 C8 01 00 A0 */ lfd f0, 0xa0(r1)
|
|
|
|
/* 8035A7A4 00357704 90 01 00 9C */ stw r0, 0x9c(r1)
|
|
|
|
/* 8035A7A8 00357708 EC 00 20 28 */ fsubs f0, f0, f4
|
|
|
|
/* 8035A7AC 0035770C C8 21 00 98 */ lfd f1, 0x98(r1)
|
|
|
|
/* 8035A7B0 00357710 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4)
|
|
|
|
/* 8035A7B4 00357714 EC 01 20 28 */ fsubs f0, f1, f4
|
|
|
|
/* 8035A7B8 00357718 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4)
|
|
|
|
/* 8035A7BC 0035771C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4)
|
|
|
|
/* 8035A7C0 00357720 C0 3F 00 14 */ lfs f1, 0x14(r31)
|
|
|
|
/* 8035A7C4 00357724 C0 1F 00 10 */ lfs f0, 0x10(r31)
|
|
|
|
/* 8035A7C8 00357728 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4)
|
|
|
|
/* 8035A7CC 0035772C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4)
|
|
|
|
/* 8035A7D0 00357730 4B FA DD B1 */ bl End__3CGXFv
|
|
|
|
lbl_8035A7D4:
|
|
|
|
/* 8035A7D4 00357734 38 61 00 30 */ addi r3, r1, 0x30
|
|
|
|
/* 8035A7D8 00357738 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8035A7DC 0035773C 4B FE 66 65 */ bl __dt__6CTokenFv
|
|
|
|
/* 8035A7E0 00357740 48 00 03 94 */ b lbl_8035AB74
|
|
|
|
lbl_8035A7E4:
|
|
|
|
/* 8035A7E4 00357744 38 61 00 40 */ addi r3, r1, 0x40
|
|
|
|
/* 8035A7E8 00357748 4B FE 44 C9 */ bl ReadShort__12CInputStreamFv
|
|
|
|
/* 8035A7EC 0035774C 7C 7D 07 34 */ extsh r29, r3
|
|
|
|
/* 8035A7F0 00357750 38 61 00 40 */ addi r3, r1, 0x40
|
|
|
|
/* 8035A7F4 00357754 4B FE 44 BD */ bl ReadShort__12CInputStreamFv
|
|
|
|
/* 8035A7F8 00357758 7C 7E 07 34 */ extsh r30, r3
|
|
|
|
/* 8035A7FC 0035775C 38 61 00 40 */ addi r3, r1, 0x40
|
|
|
|
/* 8035A800 00357760 4B FE 45 0D */ bl ReadChar__12CInputStreamFv
|
|
|
|
/* 8035A804 00357764 7C 77 07 74 */ extsb r23, r3
|
|
|
|
/* 8035A808 00357768 38 61 00 40 */ addi r3, r1, 0x40
|
|
|
|
/* 8035A80C 0035776C 4B FE 44 79 */ bl ReadLong__12CInputStreamFv
|
|
|
|
/* 8035A810 00357770 1C 17 00 1C */ mulli r0, r23, 0x1c
|
|
|
|
/* 8035A814 00357774 80 98 00 20 */ lwz r4, 0x20(r24)
|
|
|
|
/* 8035A818 00357778 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8035A81C 0035777C 38 61 00 28 */ addi r3, r1, 0x28
|
|
|
|
/* 8035A820 00357780 7F 84 02 14 */ add r28, r4, r0
|
|
|
|
/* 8035A824 00357784 C0 1C 00 00 */ lfs f0, 0(r28)
|
|
|
|
/* 8035A828 00357788 80 9C 00 08 */ lwz r4, 8(r28)
|
|
|
|
/* 8035A82C 0035778C EC 1F 00 32 */ fmuls f0, f31, f0
|
|
|
|
/* 8035A830 00357790 80 DC 00 10 */ lwz r6, 0x10(r28)
|
|
|
|
/* 8035A834 00357794 FC 00 00 1E */ fctiwz f0, f0
|
|
|
|
/* 8035A838 00357798 D8 01 00 A0 */ stfd f0, 0xa0(r1)
|
|
|
|
/* 8035A83C 0035779C 80 A1 00 A4 */ lwz r5, 0xa4(r1)
|
|
|
|
/* 8035A840 003577A0 7C 05 23 D6 */ divw r0, r5, r4
|
|
|
|
/* 8035A844 003577A4 7C 00 21 D6 */ mullw r0, r0, r4
|
|
|
|
/* 8035A848 003577A8 7C 00 28 50 */ subf r0, r0, r5
|
|
|
|
/* 8035A84C 003577AC 54 00 18 38 */ slwi r0, r0, 3
|
|
|
|
/* 8035A850 003577B0 7C 86 02 14 */ add r4, r6, r0
|
|
|
|
/* 8035A854 003577B4 4B FE 66 55 */ bl __ct__6CTokenFRC6CToken
|
|
|
|
/* 8035A858 003577B8 80 61 00 28 */ lwz r3, 0x28(r1)
|
|
|
|
/* 8035A85C 003577BC 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
|
|
/* 8035A860 003577C0 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8035A864 003577C4 41 82 02 DC */ beq lbl_8035AB40
|
|
|
|
/* 8035A868 003577C8 38 61 00 28 */ addi r3, r1, 0x28
|
|
|
|
/* 8035A86C 003577CC 4B FE 65 A1 */ bl GetObj__6CTokenFv
|
|
|
|
/* 8035A870 003577D0 80 63 00 04 */ lwz r3, 4(r3)
|
|
|
|
/* 8035A874 003577D4 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8035A878 003577D8 38 A0 00 00 */ li r5, 0
|
|
|
|
/* 8035A87C 003577DC 4B FB 4E C1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode
|
|
|
|
/* 8035A880 003577E0 80 9C 00 10 */ lwz r4, 0x10(r28)
|
|
|
|
/* 8035A884 003577E4 38 61 00 20 */ addi r3, r1, 0x20
|
|
|
|
/* 8035A888 003577E8 4B FE 66 21 */ bl __ct__6CTokenFRC6CToken
|
|
|
|
/* 8035A88C 003577EC 38 61 00 20 */ addi r3, r1, 0x20
|
|
|
|
/* 8035A890 003577F0 4B FE 65 7D */ bl GetObj__6CTokenFv
|
|
|
|
/* 8035A894 003577F4 80 83 00 04 */ lwz r4, 4(r3)
|
|
|
|
/* 8035A898 003577F8 3C 00 43 30 */ lis r0, 0x4330
|
|
|
|
/* 8035A89C 003577FC 90 01 00 A0 */ stw r0, 0xa0(r1)
|
|
|
|
/* 8035A8A0 00357800 38 61 00 20 */ addi r3, r1, 0x20
|
|
|
|
/* 8035A8A4 00357804 A8 04 00 04 */ lha r0, 4(r4)
|
|
|
|
/* 8035A8A8 00357808 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8035A8AC 0035780C C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2)
|
|
|
|
/* 8035A8B0 00357810 6C 00 80 00 */ xoris r0, r0, 0x8000
|
|
|
|
/* 8035A8B4 00357814 C0 1C 00 14 */ lfs f0, 0x14(r28)
|
|
|
|
/* 8035A8B8 00357818 90 01 00 A4 */ stw r0, 0xa4(r1)
|
|
|
|
/* 8035A8BC 0035781C C8 21 00 A0 */ lfd f1, 0xa0(r1)
|
|
|
|
/* 8035A8C0 00357820 EC 21 10 28 */ fsubs f1, f1, f2
|
|
|
|
/* 8035A8C4 00357824 EC 01 00 32 */ fmuls f0, f1, f0
|
|
|
|
/* 8035A8C8 00357828 FC 00 00 1E */ fctiwz f0, f0
|
|
|
|
/* 8035A8CC 0035782C D8 01 00 98 */ stfd f0, 0x98(r1)
|
|
|
|
/* 8035A8D0 00357830 83 41 00 9C */ lwz r26, 0x9c(r1)
|
|
|
|
/* 8035A8D4 00357834 4B FE 65 6D */ bl __dt__6CTokenFv
|
|
|
|
/* 8035A8D8 00357838 80 9C 00 10 */ lwz r4, 0x10(r28)
|
|
|
|
/* 8035A8DC 0035783C 7F 5A 07 34 */ extsh r26, r26
|
|
|
|
/* 8035A8E0 00357840 38 61 00 18 */ addi r3, r1, 0x18
|
|
|
|
/* 8035A8E4 00357844 4B FE 65 C5 */ bl __ct__6CTokenFRC6CToken
|
|
|
|
/* 8035A8E8 00357848 38 61 00 18 */ addi r3, r1, 0x18
|
|
|
|
/* 8035A8EC 0035784C 4B FE 65 21 */ bl GetObj__6CTokenFv
|
|
|
|
/* 8035A8F0 00357850 80 83 00 04 */ lwz r4, 4(r3)
|
|
|
|
/* 8035A8F4 00357854 3C 00 43 30 */ lis r0, 0x4330
|
|
|
|
/* 8035A8F8 00357858 90 01 00 90 */ stw r0, 0x90(r1)
|
|
|
|
/* 8035A8FC 0035785C 38 61 00 18 */ addi r3, r1, 0x18
|
|
|
|
/* 8035A900 00357860 A8 04 00 06 */ lha r0, 6(r4)
|
|
|
|
/* 8035A904 00357864 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8035A908 00357868 C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2)
|
|
|
|
/* 8035A90C 0035786C 6C 00 80 00 */ xoris r0, r0, 0x8000
|
|
|
|
/* 8035A910 00357870 C0 1C 00 18 */ lfs f0, 0x18(r28)
|
|
|
|
/* 8035A914 00357874 90 01 00 94 */ stw r0, 0x94(r1)
|
|
|
|
/* 8035A918 00357878 C8 21 00 90 */ lfd f1, 0x90(r1)
|
|
|
|
/* 8035A91C 0035787C EC 21 10 28 */ fsubs f1, f1, f2
|
|
|
|
/* 8035A920 00357880 EC 01 00 32 */ fmuls f0, f1, f0
|
|
|
|
/* 8035A924 00357884 FC 00 00 1E */ fctiwz f0, f0
|
|
|
|
/* 8035A928 00357888 D8 01 00 88 */ stfd f0, 0x88(r1)
|
|
|
|
/* 8035A92C 0035788C 82 E1 00 8C */ lwz r23, 0x8c(r1)
|
|
|
|
/* 8035A930 00357890 4B FE 65 11 */ bl __dt__6CTokenFv
|
|
|
|
/* 8035A934 00357894 C0 5C 00 14 */ lfs f2, 0x14(r28)
|
|
|
|
/* 8035A938 00357898 38 60 00 00 */ li r3, 0
|
|
|
|
/* 8035A93C 0035789C C0 22 CD 0C */ lfs f1, lbl_805AEA2C@sda21(r2)
|
|
|
|
/* 8035A940 003578A0 38 80 00 1C */ li r4, 0x1c
|
|
|
|
/* 8035A944 003578A4 C0 1C 00 18 */ lfs f0, 0x18(r28)
|
|
|
|
/* 8035A948 003578A8 EF C2 00 72 */ fmuls f30, f2, f1
|
|
|
|
/* 8035A94C 003578AC EF A0 00 72 */ fmuls f29, f0, f1
|
|
|
|
/* 8035A950 003578B0 4B FA E0 4D */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel
|
|
|
|
/* 8035A954 003578B4 38 60 00 00 */ li r3, 0
|
|
|
|
/* 8035A958 003578B8 38 80 00 0C */ li r4, 0xc
|
|
|
|
/* 8035A95C 003578BC 4B FA E0 85 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel
|
|
|
|
/* 8035A960 003578C0 38 60 00 00 */ li r3, 0
|
|
|
|
/* 8035A964 003578C4 38 80 00 0F */ li r4, 0xf
|
|
|
|
/* 8035A968 003578C8 38 A0 00 08 */ li r5, 8
|
|
|
|
/* 8035A96C 003578CC 38 C0 00 0E */ li r6, 0xe
|
|
|
|
/* 8035A970 003578D0 38 E0 00 0F */ li r7, 0xf
|
|
|
|
/* 8035A974 003578D4 4B FA E2 79 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg
|
|
|
|
/* 8035A978 003578D8 38 60 00 00 */ li r3, 0
|
|
|
|
/* 8035A97C 003578DC 38 80 00 07 */ li r4, 7
|
|
|
|
/* 8035A980 003578E0 38 A0 00 04 */ li r5, 4
|
|
|
|
/* 8035A984 003578E4 38 C0 00 06 */ li r6, 6
|
|
|
|
/* 8035A988 003578E8 38 E0 00 07 */ li r7, 7
|
|
|
|
/* 8035A98C 003578EC 4B FA E2 09 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg
|
|
|
|
/* 8035A990 003578F0 38 60 00 00 */ li r3, 0
|
|
|
|
/* 8035A994 003578F4 4B FA D2 BD */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID
|
|
|
|
/* 8035A998 003578F8 3C 60 80 3E */ lis r3, lbl_803D8350@ha
|
|
|
|
/* 8035A99C 003578FC 38 63 83 50 */ addi r3, r3, lbl_803D8350@l
|
|
|
|
/* 8035A9A0 00357900 4B FA D4 89 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList
|
|
|
|
/* 8035A9A4 00357904 38 60 00 00 */ li r3, 0
|
|
|
|
/* 8035A9A8 00357908 4B FA E4 A9 */ bl SetNumChans__3CGXFUc
|
|
|
|
/* 8035A9AC 0035790C 38 60 00 01 */ li r3, 1
|
|
|
|
/* 8035A9B0 00357910 4B FA E4 65 */ bl SetNumTexGens__3CGXFUc
|
|
|
|
/* 8035A9B4 00357914 38 60 00 01 */ li r3, 1
|
|
|
|
/* 8035A9B8 00357918 4B FA E2 D9 */ bl SetNumTevStages__3CGXFUc
|
|
|
|
/* 8035A9BC 0035791C 38 60 00 00 */ li r3, 0
|
|
|
|
/* 8035A9C0 00357920 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8035A9C4 00357924 38 A0 00 00 */ li r5, 0
|
|
|
|
/* 8035A9C8 00357928 38 C0 00 FF */ li r6, 0xff
|
|
|
|
/* 8035A9CC 0035792C 4B FA DF 81 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID
|
|
|
|
/* 8035A9D0 00357930 38 60 00 00 */ li r3, 0
|
|
|
|
/* 8035A9D4 00357934 38 80 00 01 */ li r4, 1
|
|
|
|
/* 8035A9D8 00357938 38 A0 00 04 */ li r5, 4
|
|
|
|
/* 8035A9DC 0035793C 38 C0 00 3C */ li r6, 0x3c
|
|
|
|
/* 8035A9E0 00357940 38 E0 00 00 */ li r7, 0
|
|
|
|
/* 8035A9E4 00357944 39 00 00 7D */ li r8, 0x7d
|
|
|
|
/* 8035A9E8 00357948 4B FA DC E5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx
|
|
|
|
/* 8035A9EC 0035794C 93 E1 00 08 */ stw r31, 8(r1)
|
|
|
|
/* 8035A9F0 00357950 7F 25 CB 78 */ mr r5, r25
|
|
|
|
/* 8035A9F4 00357954 38 61 00 0C */ addi r3, r1, 0xc
|
|
|
|
/* 8035A9F8 00357958 38 81 00 08 */ addi r4, r1, 8
|
|
|
|
/* 8035A9FC 0035795C 48 00 87 7D */ bl Modulate__6CColorFRC6CColorRC6CColor
|
|
|
|
/* 8035AA00 00357960 38 81 00 0C */ addi r4, r1, 0xc
|
|
|
|
/* 8035AA04 00357964 38 60 00 00 */ li r3, 0
|
|
|
|
/* 8035AA08 00357968 4B FA E2 3D */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor
|
|
|
|
/* 8035AA0C 0035796C 38 60 00 98 */ li r3, 0x98
|
|
|
|
/* 8035AA10 00357970 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8035AA14 00357974 38 A0 00 04 */ li r5, 4
|
|
|
|
/* 8035AA18 00357978 4B FA DB 6D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs
|
|
|
|
/* 8035AA1C 0035797C 3C C0 43 30 */ lis r6, 0x4330
|
|
|
|
/* 8035AA20 00357980 6F A7 80 00 */ xoris r7, r29, 0x8000
|
|
|
|
/* 8035AA24 00357984 90 E1 00 84 */ stw r7, 0x84(r1)
|
|
|
|
/* 8035AA28 00357988 6F C4 80 00 */ xoris r4, r30, 0x8000
|
|
|
|
/* 8035AA2C 0035798C C0 02 CD 0C */ lfs f0, lbl_805AEA2C@sda21(r2)
|
|
|
|
/* 8035AA30 00357990 7C 1D D2 14 */ add r0, r29, r26
|
|
|
|
/* 8035AA34 00357994 90 C1 00 80 */ stw r6, 0x80(r1)
|
|
|
|
/* 8035AA38 00357998 6C 03 80 00 */ xoris r3, r0, 0x8000
|
|
|
|
/* 8035AA3C 0035799C C8 82 CD 00 */ lfd f4, lbl_805AEA20@sda21(r2)
|
|
|
|
/* 8035AA40 003579A0 7E E0 07 34 */ extsh r0, r23
|
|
|
|
/* 8035AA44 003579A4 C8 21 00 80 */ lfd f1, 0x80(r1)
|
|
|
|
/* 8035AA48 003579A8 7C 1E 02 14 */ add r0, r30, r0
|
|
|
|
/* 8035AA4C 003579AC 90 81 00 7C */ stw r4, 0x7c(r1)
|
|
|
|
/* 8035AA50 003579B0 6C 00 80 00 */ xoris r0, r0, 0x8000
|
|
|
|
/* 8035AA54 003579B4 EC 61 20 28 */ fsubs f3, f1, f4
|
|
|
|
/* 8035AA58 003579B8 3C A0 CC 01 */ lis r5, 0xCC008000@ha
|
|
|
|
/* 8035AA5C 003579BC 90 C1 00 78 */ stw r6, 0x78(r1)
|
|
|
|
/* 8035AA60 003579C0 EC C0 F0 28 */ fsubs f6, f0, f30
|
|
|
|
/* 8035AA64 003579C4 C0 42 CD 08 */ lfs f2, lbl_805AEA28@sda21(r2)
|
|
|
|
/* 8035AA68 003579C8 EC A0 E8 2A */ fadds f5, f0, f29
|
|
|
|
/* 8035AA6C 003579CC C8 21 00 78 */ lfd f1, 0x78(r1)
|
|
|
|
/* 8035AA70 003579D0 EC E0 F0 2A */ fadds f7, f0, f30
|
|
|
|
/* 8035AA74 003579D4 D0 65 80 00 */ stfs f3, 0xCC008000@l(r5)
|
|
|
|
/* 8035AA78 003579D8 EC 60 E8 28 */ fsubs f3, f0, f29
|
|
|
|
/* 8035AA7C 003579DC EC 01 20 28 */ fsubs f0, f1, f4
|
|
|
|
/* 8035AA80 003579E0 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5)
|
|
|
|
/* 8035AA84 003579E4 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5)
|
|
|
|
/* 8035AA88 003579E8 D0 C5 80 00 */ stfs f6, 0xCC008000@l(r5)
|
|
|
|
/* 8035AA8C 003579EC 90 61 00 74 */ stw r3, 0x74(r1)
|
|
|
|
/* 8035AA90 003579F0 90 C1 00 70 */ stw r6, 0x70(r1)
|
|
|
|
/* 8035AA94 003579F4 C8 01 00 70 */ lfd f0, 0x70(r1)
|
|
|
|
/* 8035AA98 003579F8 90 81 00 6C */ stw r4, 0x6c(r1)
|
|
|
|
/* 8035AA9C 003579FC EC 20 20 28 */ fsubs f1, f0, f4
|
|
|
|
/* 8035AAA0 00357A00 90 C1 00 68 */ stw r6, 0x68(r1)
|
|
|
|
/* 8035AAA4 00357A04 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5)
|
|
|
|
/* 8035AAA8 00357A08 C8 01 00 68 */ lfd f0, 0x68(r1)
|
|
|
|
/* 8035AAAC 00357A0C D0 25 80 00 */ stfs f1, 0xCC008000@l(r5)
|
|
|
|
/* 8035AAB0 00357A10 EC 00 20 28 */ fsubs f0, f0, f4
|
|
|
|
/* 8035AAB4 00357A14 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5)
|
|
|
|
/* 8035AAB8 00357A18 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5)
|
|
|
|
/* 8035AABC 00357A1C D0 E5 80 00 */ stfs f7, 0xCC008000@l(r5)
|
|
|
|
/* 8035AAC0 00357A20 90 E1 00 AC */ stw r7, 0xac(r1)
|
|
|
|
/* 8035AAC4 00357A24 90 C1 00 A8 */ stw r6, 0xa8(r1)
|
|
|
|
/* 8035AAC8 00357A28 C8 01 00 A8 */ lfd f0, 0xa8(r1)
|
|
|
|
/* 8035AACC 00357A2C 90 01 00 B4 */ stw r0, 0xb4(r1)
|
|
|
|
/* 8035AAD0 00357A30 EC 20 20 28 */ fsubs f1, f0, f4
|
|
|
|
/* 8035AAD4 00357A34 90 C1 00 B0 */ stw r6, 0xb0(r1)
|
|
|
|
/* 8035AAD8 00357A38 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5)
|
|
|
|
/* 8035AADC 00357A3C C8 01 00 B0 */ lfd f0, 0xb0(r1)
|
|
|
|
/* 8035AAE0 00357A40 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5)
|
|
|
|
/* 8035AAE4 00357A44 EC 00 20 28 */ fsubs f0, f0, f4
|
|
|
|
/* 8035AAE8 00357A48 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5)
|
|
|
|
/* 8035AAEC 00357A4C D0 05 80 00 */ stfs f0, 0xCC008000@l(r5)
|
|
|
|
/* 8035AAF0 00357A50 D0 C5 80 00 */ stfs f6, 0xCC008000@l(r5)
|
|
|
|
/* 8035AAF4 00357A54 90 61 00 BC */ stw r3, 0xbc(r1)
|
|
|
|
/* 8035AAF8 00357A58 90 C1 00 B8 */ stw r6, 0xb8(r1)
|
|
|
|
/* 8035AAFC 00357A5C C8 01 00 B8 */ lfd f0, 0xb8(r1)
|
|
|
|
/* 8035AB00 00357A60 90 01 00 C4 */ stw r0, 0xc4(r1)
|
|
|
|
/* 8035AB04 00357A64 EC 20 20 28 */ fsubs f1, f0, f4
|
|
|
|
/* 8035AB08 00357A68 90 C1 00 C0 */ stw r6, 0xc0(r1)
|
|
|
|
/* 8035AB0C 00357A6C D0 65 80 00 */ stfs f3, 0xCC008000@l(r5)
|
|
|
|
/* 8035AB10 00357A70 C8 01 00 C0 */ lfd f0, 0xc0(r1)
|
|
|
|
/* 8035AB14 00357A74 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5)
|
|
|
|
/* 8035AB18 00357A78 EC 00 20 28 */ fsubs f0, f0, f4
|
|
|
|
/* 8035AB1C 00357A7C D0 45 80 00 */ stfs f2, 0xCC008000@l(r5)
|
|
|
|
/* 8035AB20 00357A80 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5)
|
|
|
|
/* 8035AB24 00357A84 D0 E5 80 00 */ stfs f7, 0xCC008000@l(r5)
|
|
|
|
/* 8035AB28 00357A88 D0 65 80 00 */ stfs f3, 0xCC008000@l(r5)
|
|
|
|
/* 8035AB2C 00357A8C 4B FA DA 55 */ bl End__3CGXFv
|
|
|
|
/* 8035AB30 00357A90 88 18 00 4C */ lbz r0, 0x4c(r24)
|
|
|
|
/* 8035AB34 00357A94 98 18 00 4E */ stb r0, 0x4e(r24)
|
|
|
|
/* 8035AB38 00357A98 88 18 00 4D */ lbz r0, 0x4d(r24)
|
|
|
|
/* 8035AB3C 00357A9C 98 18 00 4F */ stb r0, 0x4f(r24)
|
|
|
|
lbl_8035AB40:
|
|
|
|
/* 8035AB40 00357AA0 38 61 00 28 */ addi r3, r1, 0x28
|
|
|
|
/* 8035AB44 00357AA4 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8035AB48 00357AA8 4B FE 62 F9 */ bl __dt__6CTokenFv
|
|
|
|
/* 8035AB4C 00357AAC 48 00 00 28 */ b lbl_8035AB74
|
|
|
|
lbl_8035AB50:
|
|
|
|
/* 8035AB50 00357AB0 38 61 00 40 */ addi r3, r1, 0x40
|
|
|
|
/* 8035AB54 00357AB4 4B FE 41 B9 */ bl ReadChar__12CInputStreamFv
|
|
|
|
/* 8035AB58 00357AB8 98 78 00 4E */ stb r3, 0x4e(r24)
|
|
|
|
/* 8035AB5C 00357ABC 98 78 00 4C */ stb r3, 0x4c(r24)
|
|
|
|
/* 8035AB60 00357AC0 48 00 00 14 */ b lbl_8035AB74
|
|
|
|
lbl_8035AB64:
|
|
|
|
/* 8035AB64 00357AC4 38 61 00 40 */ addi r3, r1, 0x40
|
|
|
|
/* 8035AB68 00357AC8 4B FE 41 A5 */ bl ReadChar__12CInputStreamFv
|
|
|
|
/* 8035AB6C 00357ACC 98 78 00 4F */ stb r3, 0x4f(r24)
|
|
|
|
/* 8035AB70 00357AD0 98 78 00 4D */ stb r3, 0x4d(r24)
|
|
|
|
lbl_8035AB74:
|
|
|
|
/* 8035AB74 00357AD4 80 61 00 58 */ lwz r3, 0x58(r1)
|
|
|
|
/* 8035AB78 00357AD8 80 18 00 44 */ lwz r0, 0x44(r24)
|
|
|
|
/* 8035AB7C 00357ADC 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8035AB80 00357AE0 41 80 F9 98 */ blt lbl_8035A518
|
|
|
|
/* 8035AB84 00357AE4 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha
|
|
|
|
/* 8035AB88 00357AE8 38 61 00 40 */ addi r3, r1, 0x40
|
|
|
|
/* 8035AB8C 00357AEC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l
|
|
|
|
/* 8035AB90 00357AF0 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8035AB94 00357AF4 90 01 00 40 */ stw r0, 0x40(r1)
|
|
|
|
/* 8035AB98 00357AF8 4B FE 45 15 */ bl __dt__12CInputStreamFv
|
|
|
|
/* 8035AB9C 00357AFC E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0
|
|
|
|
/* 8035ABA0 00357B00 CB E1 01 10 */ lfd f31, 0x110(r1)
|
|
|
|
/* 8035ABA4 00357B04 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0
|
|
|
|
/* 8035ABA8 00357B08 CB C1 01 00 */ lfd f30, 0x100(r1)
|
|
|
|
/* 8035ABAC 00357B0C E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0
|
|
|
|
/* 8035ABB0 00357B10 CB A1 00 F0 */ lfd f29, 0xf0(r1)
|
|
|
|
/* 8035ABB4 00357B14 BA E1 00 CC */ lmw r23, 0xcc(r1)
|
|
|
|
/* 8035ABB8 00357B18 80 01 01 24 */ lwz r0, 0x124(r1)
|
|
|
|
/* 8035ABBC 00357B1C 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8035ABC0 00357B20 38 21 01 20 */ addi r1, r1, 0x120
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035ABC4 00357B24 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global AddImage__17CTextRenderBufferFRC9CVector2iRC13CFontImageDef
|
|
|
|
AddImage__17CTextRenderBufferFRC9CVector2iRC13CFontImageDef:
|
|
|
|
/* 8035ABC8 00357B28 94 21 FF 50 */ stwu r1, -0xb0(r1)
|
|
|
|
/* 8035ABCC 00357B2C 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8035ABD0 00357B30 90 01 00 B4 */ stw r0, 0xb4(r1)
|
|
|
|
/* 8035ABD4 00357B34 93 E1 00 AC */ stw r31, 0xac(r1)
|
|
|
|
/* 8035ABD8 00357B38 7C BF 2B 78 */ mr r31, r5
|
|
|
|
/* 8035ABDC 00357B3C 93 C1 00 A8 */ stw r30, 0xa8(r1)
|
|
|
|
/* 8035ABE0 00357B40 7C 9E 23 78 */ mr r30, r4
|
|
|
|
/* 8035ABE4 00357B44 93 A1 00 A4 */ stw r29, 0xa4(r1)
|
|
|
|
/* 8035ABE8 00357B48 7C 7D 1B 78 */ mr r29, r3
|
|
|
|
/* 8035ABEC 00357B4C 93 81 00 A0 */ stw r28, 0xa0(r1)
|
|
|
|
/* 8035ABF0 00357B50 80 03 00 00 */ lwz r0, 0(r3)
|
|
|
|
/* 8035ABF4 00357B54 2C 00 00 01 */ cmpwi r0, 1
|
|
|
|
/* 8035ABF8 00357B58 40 82 01 B8 */ bne lbl_8035ADB0
|
|
|
|
/* 8035ABFC 00357B5C 4B FF F7 51 */ bl sub_8035a34c
|
2022-04-18 04:19:18 +00:00
|
|
|
.global lbl_8035AC00
|
|
|
|
lbl_8035AC00:
|
2022-04-16 07:50:32 +00:00
|
|
|
/* 8035AC00 00357B60 7C 7C 1B 78 */ mr r28, r3
|
|
|
|
/* 8035AC04 00357B64 7F A3 EB 78 */ mr r3, r29
|
|
|
|
/* 8035AC08 00357B68 4B FF F7 7D */ bl GetOutStream__17CTextRenderBufferFv
|
|
|
|
/* 8035AC0C 00357B6C 7C 64 1B 78 */ mr r4, r3
|
|
|
|
/* 8035AC10 00357B70 7F 85 E3 78 */ mr r5, r28
|
|
|
|
/* 8035AC14 00357B74 38 61 00 10 */ addi r3, r1, 0x10
|
|
|
|
/* 8035AC18 00357B78 38 C0 00 01 */ li r6, 1
|
|
|
|
/* 8035AC1C 00357B7C 38 E0 00 40 */ li r7, 0x40
|
|
|
|
/* 8035AC20 00357B80 4B FE 47 1D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi
|
|
|
|
/* 8035AC24 00357B84 80 9D 00 28 */ lwz r4, 0x28(r29)
|
|
|
|
/* 8035AC28 00357B88 38 7D 00 24 */ addi r3, r29, 0x24
|
|
|
|
/* 8035AC2C 00357B8C 83 9D 00 48 */ lwz r28, 0x48(r29)
|
|
|
|
/* 8035AC30 00357B90 38 84 00 01 */ addi r4, r4, 1
|
|
|
|
/* 8035AC34 00357B94 4B CF F0 75 */ bl "reserve__Q24rstl36vector<i,Q24rstl17rmemory_allocator>Fi"
|
|
|
|
/* 8035AC38 00357B98 80 1D 00 28 */ lwz r0, 0x28(r29)
|
|
|
|
/* 8035AC3C 00357B9C 80 BD 00 2C */ lwz r5, 0x2c(r29)
|
|
|
|
/* 8035AC40 00357BA0 7C 00 28 00 */ cmpw r0, r5
|
|
|
|
/* 8035AC44 00357BA4 41 80 00 1C */ blt lbl_8035AC60
|
|
|
|
/* 8035AC48 00357BA8 2C 05 00 00 */ cmpwi r5, 0
|
|
|
|
/* 8035AC4C 00357BAC 38 7D 00 24 */ addi r3, r29, 0x24
|
|
|
|
/* 8035AC50 00357BB0 38 80 00 04 */ li r4, 4
|
|
|
|
/* 8035AC54 00357BB4 41 82 00 08 */ beq lbl_8035AC5C
|
|
|
|
/* 8035AC58 00357BB8 54 A4 08 3C */ slwi r4, r5, 1
|
|
|
|
lbl_8035AC5C:
|
|
|
|
/* 8035AC5C 00357BBC 4B CF F0 4D */ bl "reserve__Q24rstl36vector<i,Q24rstl17rmemory_allocator>Fi"
|
|
|
|
lbl_8035AC60:
|
|
|
|
/* 8035AC60 00357BC0 80 1D 00 28 */ lwz r0, 0x28(r29)
|
|
|
|
/* 8035AC64 00357BC4 80 7D 00 30 */ lwz r3, 0x30(r29)
|
|
|
|
/* 8035AC68 00357BC8 54 00 10 3A */ slwi r0, r0, 2
|
|
|
|
/* 8035AC6C 00357BCC 7C 63 02 15 */ add. r3, r3, r0
|
|
|
|
/* 8035AC70 00357BD0 41 82 00 08 */ beq lbl_8035AC78
|
|
|
|
/* 8035AC74 00357BD4 93 83 00 00 */ stw r28, 0(r3)
|
|
|
|
lbl_8035AC78:
|
|
|
|
/* 8035AC78 00357BD8 80 9D 00 28 */ lwz r4, 0x28(r29)
|
|
|
|
/* 8035AC7C 00357BDC 38 7D 00 14 */ addi r3, r29, 0x14
|
|
|
|
/* 8035AC80 00357BE0 38 04 00 01 */ addi r0, r4, 1
|
|
|
|
/* 8035AC84 00357BE4 90 1D 00 28 */ stw r0, 0x28(r29)
|
|
|
|
/* 8035AC88 00357BE8 80 9D 00 18 */ lwz r4, 0x18(r29)
|
|
|
|
/* 8035AC8C 00357BEC 38 84 00 01 */ addi r4, r4, 1
|
|
|
|
/* 8035AC90 00357BF0 4B F6 F5 E9 */ bl sub_802ca278
|
|
|
|
/* 8035AC94 00357BF4 83 9D 00 18 */ lwz r28, 0x18(r29)
|
|
|
|
/* 8035AC98 00357BF8 7F E4 FB 78 */ mr r4, r31
|
|
|
|
/* 8035AC9C 00357BFC 38 7D 00 14 */ addi r3, r29, 0x14
|
|
|
|
/* 8035ACA0 00357C00 48 00 01 3D */ bl sub_8035addc
|
|
|
|
/* 8035ACA4 00357C04 38 61 00 10 */ addi r3, r1, 0x10
|
|
|
|
/* 8035ACA8 00357C08 4B FE 48 11 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035ACAC 00357C0C 80 61 00 14 */ lwz r3, 0x14(r1)
|
|
|
|
/* 8035ACB0 00357C10 80 01 00 18 */ lwz r0, 0x18(r1)
|
|
|
|
/* 8035ACB4 00357C14 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8035ACB8 00357C18 41 80 00 0C */ blt lbl_8035ACC4
|
|
|
|
/* 8035ACBC 00357C1C 38 61 00 10 */ addi r3, r1, 0x10
|
|
|
|
/* 8035ACC0 00357C20 4B FE 48 65 */ bl DoFlush__13COutputStreamFv
|
|
|
|
lbl_8035ACC4:
|
|
|
|
/* 8035ACC4 00357C24 80 A1 00 20 */ lwz r5, 0x20(r1)
|
|
|
|
/* 8035ACC8 00357C28 38 C0 00 01 */ li r6, 1
|
|
|
|
/* 8035ACCC 00357C2C 80 81 00 14 */ lwz r4, 0x14(r1)
|
|
|
|
/* 8035ACD0 00357C30 38 61 00 10 */ addi r3, r1, 0x10
|
|
|
|
/* 8035ACD4 00357C34 38 E5 00 01 */ addi r7, r5, 1
|
|
|
|
/* 8035ACD8 00357C38 80 A1 00 1C */ lwz r5, 0x1c(r1)
|
|
|
|
/* 8035ACDC 00357C3C 38 04 00 01 */ addi r0, r4, 1
|
|
|
|
/* 8035ACE0 00357C40 90 E1 00 20 */ stw r7, 0x20(r1)
|
|
|
|
/* 8035ACE4 00357C44 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8035ACE8 00357C48 7C C5 21 AE */ stbx r6, r5, r4
|
|
|
|
/* 8035ACEC 00357C4C 80 1E 00 00 */ lwz r0, 0(r30)
|
|
|
|
/* 8035ACF0 00357C50 B0 01 00 0A */ sth r0, 0xa(r1)
|
|
|
|
/* 8035ACF4 00357C54 4B FE 47 C5 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035ACF8 00357C58 38 61 00 10 */ addi r3, r1, 0x10
|
|
|
|
/* 8035ACFC 00357C5C 38 81 00 0A */ addi r4, r1, 0xa
|
|
|
|
/* 8035AD00 00357C60 38 A0 00 02 */ li r5, 2
|
|
|
|
/* 8035AD04 00357C64 4B FE 48 A5 */ bl DoPut__13COutputStreamFPCvUl
|
|
|
|
/* 8035AD08 00357C68 80 1E 00 04 */ lwz r0, 4(r30)
|
|
|
|
/* 8035AD0C 00357C6C 38 61 00 10 */ addi r3, r1, 0x10
|
|
|
|
/* 8035AD10 00357C70 B0 01 00 08 */ sth r0, 8(r1)
|
|
|
|
/* 8035AD14 00357C74 4B FE 47 A5 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035AD18 00357C78 38 61 00 10 */ addi r3, r1, 0x10
|
|
|
|
/* 8035AD1C 00357C7C 38 81 00 08 */ addi r4, r1, 8
|
|
|
|
/* 8035AD20 00357C80 38 A0 00 02 */ li r5, 2
|
|
|
|
/* 8035AD24 00357C84 4B FE 48 85 */ bl DoPut__13COutputStreamFPCvUl
|
|
|
|
/* 8035AD28 00357C88 7F 9C 07 74 */ extsb r28, r28
|
|
|
|
/* 8035AD2C 00357C8C 38 61 00 10 */ addi r3, r1, 0x10
|
|
|
|
/* 8035AD30 00357C90 4B FE 47 89 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035AD34 00357C94 80 61 00 14 */ lwz r3, 0x14(r1)
|
|
|
|
/* 8035AD38 00357C98 80 01 00 18 */ lwz r0, 0x18(r1)
|
|
|
|
/* 8035AD3C 00357C9C 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8035AD40 00357CA0 41 80 00 0C */ blt lbl_8035AD4C
|
|
|
|
/* 8035AD44 00357CA4 38 61 00 10 */ addi r3, r1, 0x10
|
|
|
|
/* 8035AD48 00357CA8 4B FE 47 DD */ bl DoFlush__13COutputStreamFv
|
|
|
|
lbl_8035AD4C:
|
|
|
|
/* 8035AD4C 00357CAC 80 81 00 20 */ lwz r4, 0x20(r1)
|
|
|
|
/* 8035AD50 00357CB0 80 61 00 14 */ lwz r3, 0x14(r1)
|
|
|
|
/* 8035AD54 00357CB4 38 A4 00 01 */ addi r5, r4, 1
|
|
|
|
/* 8035AD58 00357CB8 80 81 00 1C */ lwz r4, 0x1c(r1)
|
|
|
|
/* 8035AD5C 00357CBC 38 03 00 01 */ addi r0, r3, 1
|
|
|
|
/* 8035AD60 00357CC0 90 A1 00 20 */ stw r5, 0x20(r1)
|
|
|
|
/* 8035AD64 00357CC4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8035AD68 00357CC8 7F 84 19 AE */ stbx r28, r4, r3
|
|
|
|
/* 8035AD6C 00357CCC 4B FE F2 41 */ bl White__6CColorFv
|
|
|
|
/* 8035AD70 00357CD0 80 03 00 00 */ lwz r0, 0(r3)
|
|
|
|
/* 8035AD74 00357CD4 38 61 00 10 */ addi r3, r1, 0x10
|
|
|
|
/* 8035AD78 00357CD8 90 01 00 0C */ stw r0, 0xc(r1)
|
|
|
|
/* 8035AD7C 00357CDC 4B FE 47 3D */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035AD80 00357CE0 38 61 00 10 */ addi r3, r1, 0x10
|
|
|
|
/* 8035AD84 00357CE4 38 81 00 0C */ addi r4, r1, 0xc
|
|
|
|
/* 8035AD88 00357CE8 38 A0 00 04 */ li r5, 4
|
|
|
|
/* 8035AD8C 00357CEC 4B FE 48 1D */ bl DoPut__13COutputStreamFPCvUl
|
|
|
|
/* 8035AD90 00357CF0 80 BD 00 48 */ lwz r5, 0x48(r29)
|
|
|
|
/* 8035AD94 00357CF4 38 61 00 10 */ addi r3, r1, 0x10
|
|
|
|
/* 8035AD98 00357CF8 80 01 00 20 */ lwz r0, 0x20(r1)
|
|
|
|
/* 8035AD9C 00357CFC 38 80 FF FF */ li r4, -1
|
|
|
|
/* 8035ADA0 00357D00 7C 05 02 14 */ add r0, r5, r0
|
|
|
|
/* 8035ADA4 00357D04 90 1D 00 48 */ stw r0, 0x48(r29)
|
|
|
|
/* 8035ADA8 00357D08 4B FE 45 19 */ bl __dt__16CMemoryStreamOutFv
|
|
|
|
/* 8035ADAC 00357D0C 48 00 00 10 */ b lbl_8035ADBC
|
|
|
|
lbl_8035ADB0:
|
|
|
|
/* 8035ADB0 00357D10 80 7D 00 44 */ lwz r3, 0x44(r29)
|
|
|
|
/* 8035ADB4 00357D14 38 03 00 0A */ addi r0, r3, 0xa
|
|
|
|
/* 8035ADB8 00357D18 90 1D 00 44 */ stw r0, 0x44(r29)
|
|
|
|
lbl_8035ADBC:
|
|
|
|
/* 8035ADBC 00357D1C 80 01 00 B4 */ lwz r0, 0xb4(r1)
|
|
|
|
/* 8035ADC0 00357D20 83 E1 00 AC */ lwz r31, 0xac(r1)
|
|
|
|
/* 8035ADC4 00357D24 83 C1 00 A8 */ lwz r30, 0xa8(r1)
|
|
|
|
/* 8035ADC8 00357D28 83 A1 00 A4 */ lwz r29, 0xa4(r1)
|
|
|
|
/* 8035ADCC 00357D2C 83 81 00 A0 */ lwz r28, 0xa0(r1)
|
|
|
|
/* 8035ADD0 00357D30 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8035ADD4 00357D34 38 21 00 B0 */ addi r1, r1, 0xb0
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035ADD8 00357D38 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global sub_8035addc
|
|
|
|
sub_8035addc:
|
|
|
|
/* 8035ADDC 00357D3C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8035ADE0 00357D40 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8035ADE4 00357D44 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8035ADE8 00357D48 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 8035ADEC 00357D4C 7C 9F 23 78 */ mr r31, r4
|
|
|
|
/* 8035ADF0 00357D50 93 C1 00 08 */ stw r30, 8(r1)
|
|
|
|
/* 8035ADF4 00357D54 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 8035ADF8 00357D58 80 03 00 04 */ lwz r0, 4(r3)
|
|
|
|
/* 8035ADFC 00357D5C 80 A3 00 08 */ lwz r5, 8(r3)
|
|
|
|
/* 8035AE00 00357D60 7C 00 28 00 */ cmpw r0, r5
|
|
|
|
/* 8035AE04 00357D64 41 80 00 18 */ blt lbl_8035AE1C
|
|
|
|
/* 8035AE08 00357D68 2C 05 00 00 */ cmpwi r5, 0
|
|
|
|
/* 8035AE0C 00357D6C 38 80 00 04 */ li r4, 4
|
|
|
|
/* 8035AE10 00357D70 41 82 00 08 */ beq lbl_8035AE18
|
|
|
|
/* 8035AE14 00357D74 54 A4 08 3C */ slwi r4, r5, 1
|
|
|
|
lbl_8035AE18:
|
|
|
|
/* 8035AE18 00357D78 4B F6 F4 61 */ bl sub_802ca278
|
|
|
|
lbl_8035AE1C:
|
|
|
|
/* 8035AE1C 00357D7C 80 1E 00 04 */ lwz r0, 4(r30)
|
|
|
|
/* 8035AE20 00357D80 7F E4 FB 78 */ mr r4, r31
|
|
|
|
/* 8035AE24 00357D84 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
|
|
/* 8035AE28 00357D88 1C 00 00 1C */ mulli r0, r0, 0x1c
|
|
|
|
/* 8035AE2C 00357D8C 7C 63 02 14 */ add r3, r3, r0
|
|
|
|
/* 8035AE30 00357D90 48 00 00 29 */ bl sub_8035ae58
|
|
|
|
/* 8035AE34 00357D94 80 7E 00 04 */ lwz r3, 4(r30)
|
|
|
|
/* 8035AE38 00357D98 38 03 00 01 */ addi r0, r3, 1
|
|
|
|
/* 8035AE3C 00357D9C 90 1E 00 04 */ stw r0, 4(r30)
|
|
|
|
/* 8035AE40 00357DA0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 8035AE44 00357DA4 83 C1 00 08 */ lwz r30, 8(r1)
|
|
|
|
/* 8035AE48 00357DA8 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8035AE4C 00357DAC 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8035AE50 00357DB0 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035AE54 00357DB4 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global sub_8035ae58
|
|
|
|
sub_8035ae58:
|
|
|
|
/* 8035AE58 00357DB8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 8035AE5C 00357DBC 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8035AE60 00357DC0 28 03 00 00 */ cmplwi r3, 0
|
|
|
|
/* 8035AE64 00357DC4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 8035AE68 00357DC8 41 82 00 08 */ beq lbl_8035AE70
|
2023-01-12 22:46:08 +00:00
|
|
|
/* 8035AE6C 00357DCC 4B F6 DB 79 */ bl __ct__13CFontImageDefFRC13CFontImageDef
|
2022-04-16 07:50:32 +00:00
|
|
|
lbl_8035AE70:
|
|
|
|
/* 8035AE70 00357DD0 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 8035AE74 00357DD4 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8035AE78 00357DD8 38 21 00 10 */ addi r1, r1, 0x10
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035AE7C 00357DDC 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global AddCharacter__17CTextRenderBufferFRC9CVector2isUi
|
|
|
|
AddCharacter__17CTextRenderBufferFRC9CVector2isUi:
|
|
|
|
/* 8035AE80 00357DE0 94 21 FF 40 */ stwu r1, -0xc0(r1)
|
|
|
|
/* 8035AE84 00357DE4 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8035AE88 00357DE8 90 01 00 C4 */ stw r0, 0xc4(r1)
|
|
|
|
/* 8035AE8C 00357DEC BF 61 00 AC */ stmw r27, 0xac(r1)
|
|
|
|
/* 8035AE90 00357DF0 7C 7C 1B 78 */ mr r28, r3
|
|
|
|
/* 8035AE94 00357DF4 7C 9D 23 78 */ mr r29, r4
|
|
|
|
/* 8035AE98 00357DF8 7C BE 2B 78 */ mr r30, r5
|
|
|
|
/* 8035AE9C 00357DFC 7C DF 33 78 */ mr r31, r6
|
|
|
|
/* 8035AEA0 00357E00 80 03 00 00 */ lwz r0, 0(r3)
|
|
|
|
/* 8035AEA4 00357E04 2C 00 00 01 */ cmpwi r0, 1
|
|
|
|
/* 8035AEA8 00357E08 40 82 01 68 */ bne lbl_8035B010
|
|
|
|
/* 8035AEAC 00357E0C 4B FF F4 A1 */ bl sub_8035a34c
|
|
|
|
/* 8035AEB0 00357E10 7C 7B 1B 78 */ mr r27, r3
|
|
|
|
/* 8035AEB4 00357E14 7F 83 E3 78 */ mr r3, r28
|
|
|
|
/* 8035AEB8 00357E18 4B FF F4 CD */ bl GetOutStream__17CTextRenderBufferFv
|
|
|
|
/* 8035AEBC 00357E1C 7C 64 1B 78 */ mr r4, r3
|
|
|
|
/* 8035AEC0 00357E20 7F 65 DB 78 */ mr r5, r27
|
|
|
|
/* 8035AEC4 00357E24 38 61 00 14 */ addi r3, r1, 0x14
|
|
|
|
/* 8035AEC8 00357E28 38 C0 00 01 */ li r6, 1
|
|
|
|
/* 8035AECC 00357E2C 38 E0 00 40 */ li r7, 0x40
|
|
|
|
/* 8035AED0 00357E30 4B FE 44 6D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi
|
|
|
|
/* 8035AED4 00357E34 80 9C 00 28 */ lwz r4, 0x28(r28)
|
|
|
|
/* 8035AED8 00357E38 38 7C 00 24 */ addi r3, r28, 0x24
|
|
|
|
/* 8035AEDC 00357E3C 83 7C 00 48 */ lwz r27, 0x48(r28)
|
|
|
|
/* 8035AEE0 00357E40 38 84 00 01 */ addi r4, r4, 1
|
|
|
|
/* 8035AEE4 00357E44 4B CF ED C5 */ bl "reserve__Q24rstl36vector<i,Q24rstl17rmemory_allocator>Fi"
|
|
|
|
/* 8035AEE8 00357E48 80 1C 00 28 */ lwz r0, 0x28(r28)
|
|
|
|
/* 8035AEEC 00357E4C 80 BC 00 2C */ lwz r5, 0x2c(r28)
|
|
|
|
/* 8035AEF0 00357E50 7C 00 28 00 */ cmpw r0, r5
|
|
|
|
/* 8035AEF4 00357E54 41 80 00 1C */ blt lbl_8035AF10
|
|
|
|
/* 8035AEF8 00357E58 2C 05 00 00 */ cmpwi r5, 0
|
|
|
|
/* 8035AEFC 00357E5C 38 7C 00 24 */ addi r3, r28, 0x24
|
|
|
|
/* 8035AF00 00357E60 38 80 00 04 */ li r4, 4
|
|
|
|
/* 8035AF04 00357E64 41 82 00 08 */ beq lbl_8035AF0C
|
|
|
|
/* 8035AF08 00357E68 54 A4 08 3C */ slwi r4, r5, 1
|
|
|
|
lbl_8035AF0C:
|
|
|
|
/* 8035AF0C 00357E6C 4B CF ED 9D */ bl "reserve__Q24rstl36vector<i,Q24rstl17rmemory_allocator>Fi"
|
|
|
|
lbl_8035AF10:
|
|
|
|
/* 8035AF10 00357E70 80 1C 00 28 */ lwz r0, 0x28(r28)
|
|
|
|
/* 8035AF14 00357E74 80 7C 00 30 */ lwz r3, 0x30(r28)
|
|
|
|
/* 8035AF18 00357E78 54 00 10 3A */ slwi r0, r0, 2
|
|
|
|
/* 8035AF1C 00357E7C 7C 63 02 15 */ add. r3, r3, r0
|
|
|
|
/* 8035AF20 00357E80 41 82 00 08 */ beq lbl_8035AF28
|
|
|
|
/* 8035AF24 00357E84 93 63 00 00 */ stw r27, 0(r3)
|
|
|
|
lbl_8035AF28:
|
|
|
|
/* 8035AF28 00357E88 80 9C 00 28 */ lwz r4, 0x28(r28)
|
|
|
|
/* 8035AF2C 00357E8C 38 61 00 14 */ addi r3, r1, 0x14
|
|
|
|
/* 8035AF30 00357E90 38 04 00 01 */ addi r0, r4, 1
|
|
|
|
/* 8035AF34 00357E94 90 1C 00 28 */ stw r0, 0x28(r28)
|
|
|
|
/* 8035AF38 00357E98 4B FE 45 81 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035AF3C 00357E9C 80 61 00 18 */ lwz r3, 0x18(r1)
|
|
|
|
/* 8035AF40 00357EA0 80 01 00 1C */ lwz r0, 0x1c(r1)
|
|
|
|
/* 8035AF44 00357EA4 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8035AF48 00357EA8 41 80 00 0C */ blt lbl_8035AF54
|
|
|
|
/* 8035AF4C 00357EAC 38 61 00 14 */ addi r3, r1, 0x14
|
|
|
|
/* 8035AF50 00357EB0 4B FE 45 D5 */ bl DoFlush__13COutputStreamFv
|
|
|
|
lbl_8035AF54:
|
|
|
|
/* 8035AF54 00357EB4 80 A1 00 24 */ lwz r5, 0x24(r1)
|
|
|
|
/* 8035AF58 00357EB8 38 C0 00 00 */ li r6, 0
|
|
|
|
/* 8035AF5C 00357EBC 80 81 00 18 */ lwz r4, 0x18(r1)
|
|
|
|
/* 8035AF60 00357EC0 38 61 00 14 */ addi r3, r1, 0x14
|
|
|
|
/* 8035AF64 00357EC4 38 E5 00 01 */ addi r7, r5, 1
|
|
|
|
/* 8035AF68 00357EC8 80 A1 00 20 */ lwz r5, 0x20(r1)
|
|
|
|
/* 8035AF6C 00357ECC 38 04 00 01 */ addi r0, r4, 1
|
|
|
|
/* 8035AF70 00357ED0 90 E1 00 24 */ stw r7, 0x24(r1)
|
|
|
|
/* 8035AF74 00357ED4 90 01 00 18 */ stw r0, 0x18(r1)
|
|
|
|
/* 8035AF78 00357ED8 7C C5 21 AE */ stbx r6, r5, r4
|
|
|
|
/* 8035AF7C 00357EDC 80 1D 00 00 */ lwz r0, 0(r29)
|
|
|
|
/* 8035AF80 00357EE0 B0 01 00 0C */ sth r0, 0xc(r1)
|
|
|
|
/* 8035AF84 00357EE4 4B FE 45 35 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035AF88 00357EE8 38 61 00 14 */ addi r3, r1, 0x14
|
|
|
|
/* 8035AF8C 00357EEC 38 81 00 0C */ addi r4, r1, 0xc
|
|
|
|
/* 8035AF90 00357EF0 38 A0 00 02 */ li r5, 2
|
|
|
|
/* 8035AF94 00357EF4 4B FE 46 15 */ bl DoPut__13COutputStreamFPCvUl
|
|
|
|
/* 8035AF98 00357EF8 80 1D 00 04 */ lwz r0, 4(r29)
|
|
|
|
/* 8035AF9C 00357EFC 38 61 00 14 */ addi r3, r1, 0x14
|
|
|
|
/* 8035AFA0 00357F00 B0 01 00 0A */ sth r0, 0xa(r1)
|
|
|
|
/* 8035AFA4 00357F04 4B FE 45 15 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035AFA8 00357F08 38 61 00 14 */ addi r3, r1, 0x14
|
|
|
|
/* 8035AFAC 00357F0C 38 81 00 0A */ addi r4, r1, 0xa
|
|
|
|
/* 8035AFB0 00357F10 38 A0 00 02 */ li r5, 2
|
|
|
|
/* 8035AFB4 00357F14 4B FE 45 F5 */ bl DoPut__13COutputStreamFPCvUl
|
|
|
|
/* 8035AFB8 00357F18 B3 C1 00 08 */ sth r30, 8(r1)
|
|
|
|
/* 8035AFBC 00357F1C 38 61 00 14 */ addi r3, r1, 0x14
|
|
|
|
/* 8035AFC0 00357F20 4B FE 44 F9 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035AFC4 00357F24 38 61 00 14 */ addi r3, r1, 0x14
|
|
|
|
/* 8035AFC8 00357F28 38 81 00 08 */ addi r4, r1, 8
|
|
|
|
/* 8035AFCC 00357F2C 38 A0 00 02 */ li r5, 2
|
|
|
|
/* 8035AFD0 00357F30 4B FE 45 D9 */ bl DoPut__13COutputStreamFPCvUl
|
|
|
|
/* 8035AFD4 00357F34 93 E1 00 10 */ stw r31, 0x10(r1)
|
|
|
|
/* 8035AFD8 00357F38 38 61 00 14 */ addi r3, r1, 0x14
|
|
|
|
/* 8035AFDC 00357F3C 4B FE 44 DD */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035AFE0 00357F40 38 61 00 14 */ addi r3, r1, 0x14
|
|
|
|
/* 8035AFE4 00357F44 38 81 00 10 */ addi r4, r1, 0x10
|
|
|
|
/* 8035AFE8 00357F48 38 A0 00 04 */ li r5, 4
|
|
|
|
/* 8035AFEC 00357F4C 4B FE 45 BD */ bl DoPut__13COutputStreamFPCvUl
|
|
|
|
/* 8035AFF0 00357F50 80 BC 00 48 */ lwz r5, 0x48(r28)
|
|
|
|
/* 8035AFF4 00357F54 38 61 00 14 */ addi r3, r1, 0x14
|
|
|
|
/* 8035AFF8 00357F58 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 8035AFFC 00357F5C 38 80 FF FF */ li r4, -1
|
|
|
|
/* 8035B000 00357F60 7C 05 02 14 */ add r0, r5, r0
|
|
|
|
/* 8035B004 00357F64 90 1C 00 48 */ stw r0, 0x48(r28)
|
|
|
|
/* 8035B008 00357F68 4B FE 42 B9 */ bl __dt__16CMemoryStreamOutFv
|
|
|
|
/* 8035B00C 00357F6C 48 00 00 10 */ b lbl_8035B01C
|
|
|
|
lbl_8035B010:
|
|
|
|
/* 8035B010 00357F70 80 7C 00 44 */ lwz r3, 0x44(r28)
|
|
|
|
/* 8035B014 00357F74 38 03 00 0B */ addi r0, r3, 0xb
|
|
|
|
/* 8035B018 00357F78 90 1C 00 44 */ stw r0, 0x44(r28)
|
|
|
|
lbl_8035B01C:
|
|
|
|
/* 8035B01C 00357F7C BB 61 00 AC */ lmw r27, 0xac(r1)
|
|
|
|
/* 8035B020 00357F80 80 01 00 C4 */ lwz r0, 0xc4(r1)
|
|
|
|
/* 8035B024 00357F84 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8035B028 00357F88 38 21 00 C0 */ addi r1, r1, 0xc0
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035B02C 00357F8C 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global AddPaletteChange__17CTextRenderBufferFRC16CGraphicsPalette
|
|
|
|
AddPaletteChange__17CTextRenderBufferFRC16CGraphicsPalette:
|
|
|
|
/* 8035B030 00357F90 94 21 FF 50 */ stwu r1, -0xb0(r1)
|
|
|
|
/* 8035B034 00357F94 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8035B038 00357F98 90 01 00 B4 */ stw r0, 0xb4(r1)
|
|
|
|
/* 8035B03C 00357F9C 93 E1 00 AC */ stw r31, 0xac(r1)
|
|
|
|
/* 8035B040 00357FA0 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8035B044 00357FA4 93 C1 00 A8 */ stw r30, 0xa8(r1)
|
|
|
|
/* 8035B048 00357FA8 93 A1 00 A4 */ stw r29, 0xa4(r1)
|
|
|
|
/* 8035B04C 00357FAC 93 81 00 A0 */ stw r28, 0xa0(r1)
|
|
|
|
/* 8035B050 00357FB0 7C 9C 23 78 */ mr r28, r4
|
|
|
|
/* 8035B054 00357FB4 80 03 00 00 */ lwz r0, 0(r3)
|
|
|
|
/* 8035B058 00357FB8 2C 00 00 01 */ cmpwi r0, 1
|
|
|
|
/* 8035B05C 00357FBC 40 82 01 28 */ bne lbl_8035B184
|
|
|
|
/* 8035B060 00357FC0 4B FF F2 ED */ bl sub_8035a34c
|
|
|
|
/* 8035B064 00357FC4 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 8035B068 00357FC8 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8035B06C 00357FCC 4B FF F3 19 */ bl GetOutStream__17CTextRenderBufferFv
|
|
|
|
/* 8035B070 00357FD0 7C 64 1B 78 */ mr r4, r3
|
|
|
|
/* 8035B074 00357FD4 7F C5 F3 78 */ mr r5, r30
|
|
|
|
/* 8035B078 00357FD8 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B07C 00357FDC 38 C0 00 01 */ li r6, 1
|
|
|
|
/* 8035B080 00357FE0 38 E0 00 40 */ li r7, 0x40
|
|
|
|
/* 8035B084 00357FE4 4B FE 42 B9 */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi
|
|
|
|
/* 8035B088 00357FE8 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8035B08C 00357FEC 7F 84 E3 78 */ mr r4, r28
|
|
|
|
/* 8035B090 00357FF0 48 00 03 79 */ bl GetMatchingPaletteIndex__17CTextRenderBufferCFRC16CGraphicsPalette
|
|
|
|
/* 8035B094 00357FF4 7C 7D 1B 78 */ mr r29, r3
|
|
|
|
/* 8035B098 00357FF8 2C 1D FF FF */ cmpwi r29, -1
|
|
|
|
/* 8035B09C 00357FFC 40 82 00 40 */ bne lbl_8035B0DC
|
|
|
|
/* 8035B0A0 00358000 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 8035B0A4 00358004 48 00 03 F1 */ bl GetNextAvailablePalette__17CTextRenderBufferCFv
|
|
|
|
/* 8035B0A8 00358008 80 7F 02 54 */ lwz r3, 0x254(r31)
|
|
|
|
/* 8035B0AC 0035800C 38 00 00 01 */ li r0, 1
|
|
|
|
/* 8035B0B0 00358010 38 A0 00 08 */ li r5, 8
|
|
|
|
/* 8035B0B4 00358014 3B A3 FF FF */ addi r29, r3, -1
|
|
|
|
/* 8035B0B8 00358018 57 A3 18 38 */ slwi r3, r29, 3
|
|
|
|
/* 8035B0BC 0035801C 7C 7F 1A 14 */ add r3, r31, r3
|
|
|
|
/* 8035B0C0 00358020 83 C3 00 58 */ lwz r30, 0x58(r3)
|
|
|
|
/* 8035B0C4 00358024 98 1E 00 1C */ stb r0, 0x1c(r30)
|
|
|
|
/* 8035B0C8 00358028 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
|
|
/* 8035B0CC 0035802C 80 9C 00 0C */ lwz r4, 0xc(r28)
|
|
|
|
/* 8035B0D0 00358030 4B CA 83 C1 */ bl memcpy
|
|
|
|
/* 8035B0D4 00358034 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 8035B0D8 00358038 4B FB 2D 85 */ bl UnLock__16CGraphicsPaletteFv
|
|
|
|
lbl_8035B0DC:
|
|
|
|
/* 8035B0DC 0035803C 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B0E0 00358040 4B FE 43 D9 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035B0E4 00358044 80 61 00 0C */ lwz r3, 0xc(r1)
|
|
|
|
/* 8035B0E8 00358048 80 01 00 10 */ lwz r0, 0x10(r1)
|
|
|
|
/* 8035B0EC 0035804C 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8035B0F0 00358050 41 80 00 0C */ blt lbl_8035B0FC
|
|
|
|
/* 8035B0F4 00358054 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B0F8 00358058 4B FE 44 2D */ bl DoFlush__13COutputStreamFv
|
|
|
|
lbl_8035B0FC:
|
|
|
|
/* 8035B0FC 0035805C 80 61 00 18 */ lwz r3, 0x18(r1)
|
|
|
|
/* 8035B100 00358060 38 C0 00 03 */ li r6, 3
|
|
|
|
/* 8035B104 00358064 80 81 00 0C */ lwz r4, 0xc(r1)
|
|
|
|
/* 8035B108 00358068 7F BE 07 74 */ extsb r30, r29
|
|
|
|
/* 8035B10C 0035806C 38 63 00 01 */ addi r3, r3, 1
|
|
|
|
/* 8035B110 00358070 80 A1 00 14 */ lwz r5, 0x14(r1)
|
|
|
|
/* 8035B114 00358074 38 04 00 01 */ addi r0, r4, 1
|
|
|
|
/* 8035B118 00358078 90 61 00 18 */ stw r3, 0x18(r1)
|
|
|
|
/* 8035B11C 0035807C 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B120 00358080 90 01 00 0C */ stw r0, 0xc(r1)
|
|
|
|
/* 8035B124 00358084 7C C5 21 AE */ stbx r6, r5, r4
|
|
|
|
/* 8035B128 00358088 4B FE 43 91 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035B12C 0035808C 80 61 00 0C */ lwz r3, 0xc(r1)
|
|
|
|
/* 8035B130 00358090 80 01 00 10 */ lwz r0, 0x10(r1)
|
|
|
|
/* 8035B134 00358094 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8035B138 00358098 41 80 00 0C */ blt lbl_8035B144
|
|
|
|
/* 8035B13C 0035809C 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B140 003580A0 4B FE 43 E5 */ bl DoFlush__13COutputStreamFv
|
|
|
|
lbl_8035B144:
|
|
|
|
/* 8035B144 003580A4 80 81 00 18 */ lwz r4, 0x18(r1)
|
|
|
|
/* 8035B148 003580A8 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B14C 003580AC 80 A1 00 0C */ lwz r5, 0xc(r1)
|
|
|
|
/* 8035B150 003580B0 38 84 00 01 */ addi r4, r4, 1
|
|
|
|
/* 8035B154 003580B4 80 C1 00 14 */ lwz r6, 0x14(r1)
|
|
|
|
/* 8035B158 003580B8 38 05 00 01 */ addi r0, r5, 1
|
|
|
|
/* 8035B15C 003580BC 90 81 00 18 */ stw r4, 0x18(r1)
|
|
|
|
/* 8035B160 003580C0 38 80 FF FF */ li r4, -1
|
|
|
|
/* 8035B164 003580C4 90 01 00 0C */ stw r0, 0xc(r1)
|
|
|
|
/* 8035B168 003580C8 7F C6 29 AE */ stbx r30, r6, r5
|
|
|
|
/* 8035B16C 003580CC 80 BF 00 48 */ lwz r5, 0x48(r31)
|
|
|
|
/* 8035B170 003580D0 80 01 00 18 */ lwz r0, 0x18(r1)
|
|
|
|
/* 8035B174 003580D4 7C 05 02 14 */ add r0, r5, r0
|
|
|
|
/* 8035B178 003580D8 90 1F 00 48 */ stw r0, 0x48(r31)
|
|
|
|
/* 8035B17C 003580DC 4B FE 41 45 */ bl __dt__16CMemoryStreamOutFv
|
|
|
|
/* 8035B180 003580E0 48 00 00 10 */ b lbl_8035B190
|
|
|
|
lbl_8035B184:
|
|
|
|
/* 8035B184 003580E4 80 7F 00 44 */ lwz r3, 0x44(r31)
|
|
|
|
/* 8035B188 003580E8 38 03 00 02 */ addi r0, r3, 2
|
|
|
|
/* 8035B18C 003580EC 90 1F 00 44 */ stw r0, 0x44(r31)
|
|
|
|
lbl_8035B190:
|
|
|
|
/* 8035B190 003580F0 80 01 00 B4 */ lwz r0, 0xb4(r1)
|
|
|
|
/* 8035B194 003580F4 83 E1 00 AC */ lwz r31, 0xac(r1)
|
|
|
|
/* 8035B198 003580F8 83 C1 00 A8 */ lwz r30, 0xa8(r1)
|
|
|
|
/* 8035B19C 003580FC 83 A1 00 A4 */ lwz r29, 0xa4(r1)
|
|
|
|
/* 8035B1A0 00358100 83 81 00 A0 */ lwz r28, 0xa0(r1)
|
|
|
|
/* 8035B1A4 00358104 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8035B1A8 00358108 38 21 00 B0 */ addi r1, r1, 0xb0
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035B1AC 0035810C 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global "AddFontChange__17CTextRenderBufferFRC21TToken<11CRasterFont>"
|
|
|
|
"AddFontChange__17CTextRenderBufferFRC21TToken<11CRasterFont>":
|
|
|
|
/* 8035B1B0 00358110 94 21 FF 50 */ stwu r1, -0xb0(r1)
|
|
|
|
/* 8035B1B4 00358114 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8035B1B8 00358118 90 01 00 B4 */ stw r0, 0xb4(r1)
|
|
|
|
/* 8035B1BC 0035811C 93 E1 00 AC */ stw r31, 0xac(r1)
|
|
|
|
/* 8035B1C0 00358120 7C 9F 23 78 */ mr r31, r4
|
|
|
|
/* 8035B1C4 00358124 93 C1 00 A8 */ stw r30, 0xa8(r1)
|
|
|
|
/* 8035B1C8 00358128 7C 7E 1B 78 */ mr r30, r3
|
|
|
|
/* 8035B1CC 0035812C 93 A1 00 A4 */ stw r29, 0xa4(r1)
|
|
|
|
/* 8035B1D0 00358130 80 03 00 00 */ lwz r0, 0(r3)
|
|
|
|
/* 8035B1D4 00358134 2C 00 00 01 */ cmpwi r0, 1
|
|
|
|
/* 8035B1D8 00358138 40 82 02 08 */ bne lbl_8035B3E0
|
|
|
|
/* 8035B1DC 0035813C 4B FF F1 71 */ bl sub_8035a34c
|
|
|
|
/* 8035B1E0 00358140 7C 7D 1B 78 */ mr r29, r3
|
|
|
|
/* 8035B1E4 00358144 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 8035B1E8 00358148 4B FF F1 9D */ bl GetOutStream__17CTextRenderBufferFv
|
|
|
|
/* 8035B1EC 0035814C 7C 64 1B 78 */ mr r4, r3
|
|
|
|
/* 8035B1F0 00358150 7F A5 EB 78 */ mr r5, r29
|
|
|
|
/* 8035B1F4 00358154 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B1F8 00358158 38 C0 00 01 */ li r6, 1
|
|
|
|
/* 8035B1FC 0035815C 38 E0 00 40 */ li r7, 0x40
|
|
|
|
/* 8035B200 00358160 4B FE 41 3D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi
|
|
|
|
/* 8035B204 00358164 80 1E 00 08 */ lwz r0, 8(r30)
|
|
|
|
/* 8035B208 00358168 38 C0 00 00 */ li r6, 0
|
|
|
|
/* 8035B20C 0035816C 3B A0 00 00 */ li r29, 0
|
|
|
|
/* 8035B210 00358170 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8035B214 00358174 7C 09 03 A6 */ mtctr r0
|
|
|
|
/* 8035B218 00358178 2C 00 00 00 */ cmpwi r0, 0
|
|
|
|
/* 8035B21C 0035817C 40 81 00 B4 */ ble lbl_8035B2D0
|
|
|
|
lbl_8035B220:
|
|
|
|
/* 8035B220 00358180 80 7E 00 10 */ lwz r3, 0x10(r30)
|
|
|
|
/* 8035B224 00358184 80 1F 00 00 */ lwz r0, 0(r31)
|
|
|
|
/* 8035B228 00358188 7C 63 20 2E */ lwzx r3, r3, r4
|
|
|
|
/* 8035B22C 0035818C 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8035B230 00358190 40 82 00 94 */ bne lbl_8035B2C4
|
|
|
|
/* 8035B234 00358194 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B238 00358198 4B FE 42 81 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035B23C 0035819C 80 61 00 0C */ lwz r3, 0xc(r1)
|
|
|
|
/* 8035B240 003581A0 80 01 00 10 */ lwz r0, 0x10(r1)
|
|
|
|
/* 8035B244 003581A4 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8035B248 003581A8 41 80 00 0C */ blt lbl_8035B254
|
|
|
|
/* 8035B24C 003581AC 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B250 003581B0 4B FE 42 D5 */ bl DoFlush__13COutputStreamFv
|
|
|
|
lbl_8035B254:
|
|
|
|
/* 8035B254 003581B4 80 61 00 18 */ lwz r3, 0x18(r1)
|
|
|
|
/* 8035B258 003581B8 38 C0 00 02 */ li r6, 2
|
|
|
|
/* 8035B25C 003581BC 80 81 00 0C */ lwz r4, 0xc(r1)
|
|
|
|
/* 8035B260 003581C0 7F BD 07 74 */ extsb r29, r29
|
|
|
|
/* 8035B264 003581C4 38 63 00 01 */ addi r3, r3, 1
|
|
|
|
/* 8035B268 003581C8 80 A1 00 14 */ lwz r5, 0x14(r1)
|
|
|
|
/* 8035B26C 003581CC 38 04 00 01 */ addi r0, r4, 1
|
|
|
|
/* 8035B270 003581D0 90 61 00 18 */ stw r3, 0x18(r1)
|
|
|
|
/* 8035B274 003581D4 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B278 003581D8 90 01 00 0C */ stw r0, 0xc(r1)
|
|
|
|
/* 8035B27C 003581DC 7C C5 21 AE */ stbx r6, r5, r4
|
|
|
|
/* 8035B280 003581E0 4B FE 42 39 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035B284 003581E4 80 61 00 0C */ lwz r3, 0xc(r1)
|
|
|
|
/* 8035B288 003581E8 80 01 00 10 */ lwz r0, 0x10(r1)
|
|
|
|
/* 8035B28C 003581EC 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8035B290 003581F0 41 80 00 0C */ blt lbl_8035B29C
|
|
|
|
/* 8035B294 003581F4 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B298 003581F8 4B FE 42 8D */ bl DoFlush__13COutputStreamFv
|
|
|
|
lbl_8035B29C:
|
|
|
|
/* 8035B29C 003581FC 80 81 00 18 */ lwz r4, 0x18(r1)
|
|
|
|
/* 8035B2A0 00358200 38 C0 00 01 */ li r6, 1
|
|
|
|
/* 8035B2A4 00358204 80 61 00 0C */ lwz r3, 0xc(r1)
|
|
|
|
/* 8035B2A8 00358208 38 A4 00 01 */ addi r5, r4, 1
|
|
|
|
/* 8035B2AC 0035820C 80 81 00 14 */ lwz r4, 0x14(r1)
|
|
|
|
/* 8035B2B0 00358210 38 03 00 01 */ addi r0, r3, 1
|
|
|
|
/* 8035B2B4 00358214 90 A1 00 18 */ stw r5, 0x18(r1)
|
|
|
|
/* 8035B2B8 00358218 90 01 00 0C */ stw r0, 0xc(r1)
|
|
|
|
/* 8035B2BC 0035821C 7F A4 19 AE */ stbx r29, r4, r3
|
|
|
|
/* 8035B2C0 00358220 48 00 00 10 */ b lbl_8035B2D0
|
|
|
|
lbl_8035B2C4:
|
|
|
|
/* 8035B2C4 00358224 38 84 00 08 */ addi r4, r4, 8
|
|
|
|
/* 8035B2C8 00358228 3B BD 00 01 */ addi r29, r29, 1
|
|
|
|
/* 8035B2CC 0035822C 42 00 FF 54 */ bdnz lbl_8035B220
|
|
|
|
lbl_8035B2D0:
|
|
|
|
/* 8035B2D0 00358230 54 C0 06 3F */ clrlwi. r0, r6, 0x18
|
|
|
|
/* 8035B2D4 00358234 40 82 00 EC */ bne lbl_8035B3C0
|
|
|
|
/* 8035B2D8 00358238 80 9E 00 08 */ lwz r4, 8(r30)
|
|
|
|
/* 8035B2DC 0035823C 38 7E 00 04 */ addi r3, r30, 4
|
|
|
|
/* 8035B2E0 00358240 38 84 00 01 */ addi r4, r4, 1
|
|
|
|
/* 8035B2E4 00358244 4B F6 EE A1 */ bl sub_802ca184
|
|
|
|
/* 8035B2E8 00358248 83 BE 00 08 */ lwz r29, 8(r30)
|
|
|
|
/* 8035B2EC 0035824C 80 1E 00 0C */ lwz r0, 0xc(r30)
|
|
|
|
/* 8035B2F0 00358250 7C 1D 00 00 */ cmpw r29, r0
|
|
|
|
/* 8035B2F4 00358254 41 80 00 1C */ blt lbl_8035B310
|
|
|
|
/* 8035B2F8 00358258 2C 00 00 00 */ cmpwi r0, 0
|
|
|
|
/* 8035B2FC 0035825C 38 7E 00 04 */ addi r3, r30, 4
|
|
|
|
/* 8035B300 00358260 38 80 00 04 */ li r4, 4
|
|
|
|
/* 8035B304 00358264 41 82 00 08 */ beq lbl_8035B30C
|
|
|
|
/* 8035B308 00358268 54 04 08 3C */ slwi r4, r0, 1
|
|
|
|
lbl_8035B30C:
|
|
|
|
/* 8035B30C 0035826C 4B F6 EE 79 */ bl sub_802ca184
|
|
|
|
lbl_8035B310:
|
|
|
|
/* 8035B310 00358270 80 1E 00 08 */ lwz r0, 8(r30)
|
|
|
|
/* 8035B314 00358274 80 7E 00 10 */ lwz r3, 0x10(r30)
|
|
|
|
/* 8035B318 00358278 54 00 18 38 */ slwi r0, r0, 3
|
|
|
|
/* 8035B31C 0035827C 7C 63 02 15 */ add. r3, r3, r0
|
|
|
|
/* 8035B320 00358280 41 82 00 0C */ beq lbl_8035B32C
|
|
|
|
/* 8035B324 00358284 7F E4 FB 78 */ mr r4, r31
|
|
|
|
/* 8035B328 00358288 4B FE 5B 81 */ bl __ct__6CTokenFRC6CToken
|
|
|
|
lbl_8035B32C:
|
|
|
|
/* 8035B32C 0035828C 80 9E 00 08 */ lwz r4, 8(r30)
|
|
|
|
/* 8035B330 00358290 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B334 00358294 38 04 00 01 */ addi r0, r4, 1
|
|
|
|
/* 8035B338 00358298 90 1E 00 08 */ stw r0, 8(r30)
|
|
|
|
/* 8035B33C 0035829C 4B FE 41 7D */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035B340 003582A0 80 61 00 0C */ lwz r3, 0xc(r1)
|
|
|
|
/* 8035B344 003582A4 80 01 00 10 */ lwz r0, 0x10(r1)
|
|
|
|
/* 8035B348 003582A8 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8035B34C 003582AC 41 80 00 0C */ blt lbl_8035B358
|
|
|
|
/* 8035B350 003582B0 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B354 003582B4 4B FE 41 D1 */ bl DoFlush__13COutputStreamFv
|
|
|
|
lbl_8035B358:
|
|
|
|
/* 8035B358 003582B8 80 61 00 18 */ lwz r3, 0x18(r1)
|
|
|
|
/* 8035B35C 003582BC 38 C0 00 02 */ li r6, 2
|
|
|
|
/* 8035B360 003582C0 80 81 00 0C */ lwz r4, 0xc(r1)
|
|
|
|
/* 8035B364 003582C4 7F BD 07 74 */ extsb r29, r29
|
|
|
|
/* 8035B368 003582C8 38 63 00 01 */ addi r3, r3, 1
|
|
|
|
/* 8035B36C 003582CC 80 A1 00 14 */ lwz r5, 0x14(r1)
|
|
|
|
/* 8035B370 003582D0 38 04 00 01 */ addi r0, r4, 1
|
|
|
|
/* 8035B374 003582D4 90 61 00 18 */ stw r3, 0x18(r1)
|
|
|
|
/* 8035B378 003582D8 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B37C 003582DC 90 01 00 0C */ stw r0, 0xc(r1)
|
|
|
|
/* 8035B380 003582E0 7C C5 21 AE */ stbx r6, r5, r4
|
|
|
|
/* 8035B384 003582E4 4B FE 41 35 */ bl FlushShiftRegister__13COutputStreamFv
|
|
|
|
/* 8035B388 003582E8 80 61 00 0C */ lwz r3, 0xc(r1)
|
|
|
|
/* 8035B38C 003582EC 80 01 00 10 */ lwz r0, 0x10(r1)
|
|
|
|
/* 8035B390 003582F0 7C 03 00 40 */ cmplw r3, r0
|
|
|
|
/* 8035B394 003582F4 41 80 00 0C */ blt lbl_8035B3A0
|
|
|
|
/* 8035B398 003582F8 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B39C 003582FC 4B FE 41 89 */ bl DoFlush__13COutputStreamFv
|
|
|
|
lbl_8035B3A0:
|
|
|
|
/* 8035B3A0 00358300 80 81 00 18 */ lwz r4, 0x18(r1)
|
|
|
|
/* 8035B3A4 00358304 80 61 00 0C */ lwz r3, 0xc(r1)
|
|
|
|
/* 8035B3A8 00358308 38 A4 00 01 */ addi r5, r4, 1
|
|
|
|
/* 8035B3AC 0035830C 80 81 00 14 */ lwz r4, 0x14(r1)
|
|
|
|
/* 8035B3B0 00358310 38 03 00 01 */ addi r0, r3, 1
|
|
|
|
/* 8035B3B4 00358314 90 A1 00 18 */ stw r5, 0x18(r1)
|
|
|
|
/* 8035B3B8 00358318 90 01 00 0C */ stw r0, 0xc(r1)
|
|
|
|
/* 8035B3BC 0035831C 7F A4 19 AE */ stbx r29, r4, r3
|
|
|
|
lbl_8035B3C0:
|
|
|
|
/* 8035B3C0 00358320 80 BE 00 48 */ lwz r5, 0x48(r30)
|
|
|
|
/* 8035B3C4 00358324 38 61 00 08 */ addi r3, r1, 8
|
|
|
|
/* 8035B3C8 00358328 80 01 00 18 */ lwz r0, 0x18(r1)
|
|
|
|
/* 8035B3CC 0035832C 38 80 FF FF */ li r4, -1
|
|
|
|
/* 8035B3D0 00358330 7C 05 02 14 */ add r0, r5, r0
|
|
|
|
/* 8035B3D4 00358334 90 1E 00 48 */ stw r0, 0x48(r30)
|
|
|
|
/* 8035B3D8 00358338 4B FE 3E E9 */ bl __dt__16CMemoryStreamOutFv
|
|
|
|
/* 8035B3DC 0035833C 48 00 00 10 */ b lbl_8035B3EC
|
|
|
|
lbl_8035B3E0:
|
|
|
|
/* 8035B3E0 00358340 80 7E 00 44 */ lwz r3, 0x44(r30)
|
|
|
|
/* 8035B3E4 00358344 38 03 00 02 */ addi r0, r3, 2
|
|
|
|
/* 8035B3E8 00358348 90 1E 00 44 */ stw r0, 0x44(r30)
|
|
|
|
lbl_8035B3EC:
|
|
|
|
/* 8035B3EC 0035834C 80 01 00 B4 */ lwz r0, 0xb4(r1)
|
|
|
|
/* 8035B3F0 00358350 83 E1 00 AC */ lwz r31, 0xac(r1)
|
|
|
|
/* 8035B3F4 00358354 83 C1 00 A8 */ lwz r30, 0xa8(r1)
|
|
|
|
/* 8035B3F8 00358358 83 A1 00 A4 */ lwz r29, 0xa4(r1)
|
|
|
|
/* 8035B3FC 0035835C 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8035B400 00358360 38 21 00 B0 */ addi r1, r1, 0xb0
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035B404 00358364 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global GetMatchingPaletteIndex__17CTextRenderBufferCFRC16CGraphicsPalette
|
|
|
|
GetMatchingPaletteIndex__17CTextRenderBufferCFRC16CGraphicsPalette:
|
|
|
|
/* 8035B408 00358368 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 8035B40C 0035836C 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8035B410 00358370 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 8035B414 00358374 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
|
|
/* 8035B418 00358378 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
|
|
/* 8035B41C 0035837C 3B C0 00 00 */ li r30, 0
|
|
|
|
/* 8035B420 00358380 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
|
|
/* 8035B424 00358384 7C 9D 23 78 */ mr r29, r4
|
|
|
|
/* 8035B428 00358388 93 81 00 10 */ stw r28, 0x10(r1)
|
|
|
|
/* 8035B42C 0035838C 7C 7C 1B 78 */ mr r28, r3
|
|
|
|
/* 8035B430 00358390 3B FC 00 54 */ addi r31, r28, 0x54
|
|
|
|
/* 8035B434 00358394 48 00 00 30 */ b lbl_8035B464
|
|
|
|
lbl_8035B438:
|
|
|
|
/* 8035B438 00358398 80 7F 00 04 */ lwz r3, 4(r31)
|
|
|
|
/* 8035B43C 0035839C 38 A0 00 08 */ li r5, 8
|
|
|
|
/* 8035B440 003583A0 80 9D 00 0C */ lwz r4, 0xc(r29)
|
|
|
|
/* 8035B444 003583A4 80 63 00 0C */ lwz r3, 0xc(r3)
|
|
|
|
/* 8035B448 003583A8 48 03 24 35 */ bl memcmp
|
|
|
|
/* 8035B44C 003583AC 2C 03 00 00 */ cmpwi r3, 0
|
|
|
|
/* 8035B450 003583B0 40 82 00 0C */ bne lbl_8035B45C
|
|
|
|
/* 8035B454 003583B4 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 8035B458 003583B8 48 00 00 1C */ b lbl_8035B474
|
|
|
|
lbl_8035B45C:
|
|
|
|
/* 8035B45C 003583BC 3B FF 00 08 */ addi r31, r31, 8
|
|
|
|
/* 8035B460 003583C0 3B DE 00 01 */ addi r30, r30, 1
|
|
|
|
lbl_8035B464:
|
|
|
|
/* 8035B464 003583C4 80 1C 00 50 */ lwz r0, 0x50(r28)
|
|
|
|
/* 8035B468 003583C8 7C 1E 00 00 */ cmpw r30, r0
|
|
|
|
/* 8035B46C 003583CC 41 80 FF CC */ blt lbl_8035B438
|
|
|
|
/* 8035B470 003583D0 38 60 FF FF */ li r3, -1
|
|
|
|
lbl_8035B474:
|
|
|
|
/* 8035B474 003583D4 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 8035B478 003583D8 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
|
|
/* 8035B47C 003583DC 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
|
|
/* 8035B480 003583E0 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
|
|
/* 8035B484 003583E4 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
|
|
/* 8035B488 003583E8 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8035B48C 003583EC 38 21 00 20 */ addi r1, r1, 0x20
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035B490 003583F0 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global GetNextAvailablePalette__17CTextRenderBufferCFv
|
|
|
|
GetNextAvailablePalette__17CTextRenderBufferCFv:
|
|
|
|
/* 8035B494 003583F4 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 8035B498 003583F8 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 8035B49C 003583FC 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 8035B4A0 00358400 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
|
|
/* 8035B4A4 00358404 7C 7F 1B 78 */ mr r31, r3
|
|
|
|
/* 8035B4A8 00358408 80 03 02 54 */ lwz r0, 0x254(r3)
|
|
|
|
/* 8035B4AC 0035840C 2C 00 00 40 */ cmpwi r0, 0x40
|
|
|
|
/* 8035B4B0 00358410 41 80 00 10 */ blt lbl_8035B4C0
|
|
|
|
/* 8035B4B4 00358414 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8035B4B8 00358418 90 1F 02 54 */ stw r0, 0x254(r31)
|
|
|
|
/* 8035B4BC 0035841C 48 00 00 8C */ b lbl_8035B548
|
|
|
|
lbl_8035B4C0:
|
|
|
|
/* 8035B4C0 00358420 3C 80 80 3E */ lis r4, lbl_803D8368@ha
|
|
|
|
/* 8035B4C4 00358424 38 60 00 20 */ li r3, 0x20
|
|
|
|
/* 8035B4C8 00358428 38 84 83 68 */ addi r4, r4, lbl_803D8368@l
|
|
|
|
/* 8035B4CC 0035842C 38 A0 00 00 */ li r5, 0
|
|
|
|
/* 8035B4D0 00358430 4B FB A3 9D */ bl __nw__FUlPCcPCc
|
|
|
|
/* 8035B4D4 00358434 7C 65 1B 79 */ or. r5, r3, r3
|
|
|
|
/* 8035B4D8 00358438 41 82 00 14 */ beq lbl_8035B4EC
|
|
|
|
/* 8035B4DC 0035843C 38 80 00 02 */ li r4, 2
|
|
|
|
/* 8035B4E0 00358440 38 A0 00 04 */ li r5, 4
|
|
|
|
/* 8035B4E4 00358444 4B FB 2B 91 */ bl __ct__16CGraphicsPaletteF14EPaletteFormati
|
|
|
|
/* 8035B4E8 00358448 7C 65 1B 78 */ mr r5, r3
|
|
|
|
lbl_8035B4EC:
|
|
|
|
/* 8035B4EC 0035844C 80 1F 00 50 */ lwz r0, 0x50(r31)
|
|
|
|
/* 8035B4F0 00358450 7C 65 00 D0 */ neg r3, r5
|
|
|
|
/* 8035B4F4 00358454 7C 63 2B 78 */ or r3, r3, r5
|
|
|
|
/* 8035B4F8 00358458 90 A1 00 0C */ stw r5, 0xc(r1)
|
|
|
|
/* 8035B4FC 0035845C 54 00 18 38 */ slwi r0, r0, 3
|
|
|
|
/* 8035B500 00358460 7C 9F 02 14 */ add r4, r31, r0
|
|
|
|
/* 8035B504 00358464 54 60 0F FE */ srwi r0, r3, 0x1f
|
|
|
|
/* 8035B508 00358468 34 84 00 54 */ addic. r4, r4, 0x54
|
|
|
|
/* 8035B50C 0035846C 98 01 00 08 */ stb r0, 8(r1)
|
|
|
|
/* 8035B510 00358470 41 82 00 14 */ beq lbl_8035B524
|
|
|
|
/* 8035B514 00358474 98 04 00 00 */ stb r0, 0(r4)
|
|
|
|
/* 8035B518 00358478 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8035B51C 0035847C 90 A4 00 04 */ stw r5, 4(r4)
|
|
|
|
/* 8035B520 00358480 98 01 00 08 */ stb r0, 8(r1)
|
|
|
|
lbl_8035B524:
|
|
|
|
/* 8035B524 00358484 80 7F 00 50 */ lwz r3, 0x50(r31)
|
|
|
|
/* 8035B528 00358488 88 01 00 08 */ lbz r0, 8(r1)
|
|
|
|
/* 8035B52C 0035848C 38 63 00 01 */ addi r3, r3, 1
|
|
|
|
/* 8035B530 00358490 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8035B534 00358494 90 7F 00 50 */ stw r3, 0x50(r31)
|
|
|
|
/* 8035B538 00358498 41 82 00 10 */ beq lbl_8035B548
|
|
|
|
/* 8035B53C 0035849C 80 61 00 0C */ lwz r3, 0xc(r1)
|
|
|
|
/* 8035B540 003584A0 38 80 00 01 */ li r4, 1
|
|
|
|
/* 8035B544 003584A4 4B FB 29 BD */ bl __dt__16CGraphicsPaletteFv
|
|
|
|
lbl_8035B548:
|
|
|
|
/* 8035B548 003584A8 80 7F 02 54 */ lwz r3, 0x254(r31)
|
|
|
|
/* 8035B54C 003584AC 38 03 00 01 */ addi r0, r3, 1
|
|
|
|
/* 8035B550 003584B0 90 1F 02 54 */ stw r0, 0x254(r31)
|
|
|
|
/* 8035B554 003584B4 80 7F 02 54 */ lwz r3, 0x254(r31)
|
|
|
|
/* 8035B558 003584B8 38 03 FF FF */ addi r0, r3, -1
|
|
|
|
/* 8035B55C 003584BC 54 00 18 38 */ slwi r0, r0, 3
|
|
|
|
/* 8035B560 003584C0 7C 7F 02 14 */ add r3, r31, r0
|
|
|
|
/* 8035B564 003584C4 80 63 00 58 */ lwz r3, 0x58(r3)
|
|
|
|
/* 8035B568 003584C8 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
|
|
/* 8035B56C 003584CC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 8035B570 003584D0 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 8035B574 003584D4 38 21 00 20 */ addi r1, r1, 0x20
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8035B578 003584D8 4E 80 00 20 */ blr
|
2022-04-16 07:50:32 +00:00
|
|
|
|
|
|
|
.global __ct__17CTextRenderBufferFQ217CTextRenderBuffer5EMode
|
|
|
|
__ct__17CTextRenderBufferFQ217CTextRenderBuffer5EMode:
|
|
|
|
/* 8035B57C 003584DC 90 83 00 00 */ stw r4, 0(r3)
|
|
|
|
/* 8035B580 003584E0 38 A0 00 00 */ li r5, 0
|
|
|
|
/* 8035B584 003584E4 38 00 FF FF */ li r0, -1
|
|
|
|
/* 8035B588 003584E8 90 A3 00 08 */ stw r5, 8(r3)
|
|
|
|
/* 8035B58C 003584EC 90 A3 00 0C */ stw r5, 0xc(r3)
|
|
|
|
/* 8035B590 003584F0 90 A3 00 10 */ stw r5, 0x10(r3)
|
|
|
|
/* 8035B594 003584F4 90 A3 00 18 */ stw r5, 0x18(r3)
|
|
|
|
/* 8035B598 003584F8 90 A3 00 1C */ stw r5, 0x1c(r3)
|
|
|
|
/* 8035B59C 003584FC 90 A3 00 20 */ stw r5, 0x20(r3)
|
|
|
|
/* 8035B5A0 00358500 90 A3 00 28 */ stw r5, 0x28(r3)
|
|
|
|
/* 8035B5A4 00358504 90 A3 00 2C */ stw r5, 0x2c(r3)
|
|
|
|
/* 8035B5A8 00358508 90 A3 00 30 */ stw r5, 0x30(r3)
|
|
|
|
/* 8035B5AC 0035850C 90 A3 00 38 */ stw r5, 0x38(r3)
|
|
|
|
/* 8035B5B0 00358510 90 A3 00 3C */ stw r5, 0x3c(r3)
|
|
|
|
/* 8035B5B4 00358514 90 A3 00 40 */ stw r5, 0x40(r3)
|
|
|
|
/* 8035B5B8 00358518 90 A3 00 44 */ stw r5, 0x44(r3)
|
|
|
|
/* 8035B5BC 0035851C 90 A3 00 48 */ stw r5, 0x48(r3)
|
|
|
|
/* 8035B5C0 00358520 98 03 00 4C */ stb r0, 0x4c(r3)
|
|
|
|
/* 8035B5C4 00358524 98 03 00 4D */ stb r0, 0x4d(r3)
|
|
|
|
/* 8035B5C8 00358528 98 03 00 4E */ stb r0, 0x4e(r3)
|
|
|
|
/* 8035B5CC 0035852C 98 03 00 4F */ stb r0, 0x4f(r3)
|
|
|
|
/* 8035B5D0 00358530 90 A3 00 50 */ stw r5, 0x50(r3)
|
|
|
|
/* 8035B5D4 00358534 90 A3 02 54 */ stw r5, 0x254(r3)
|
|
|
|
/* 8035B5D8 00358538 4E 80 00 20 */ blr
|
2022-07-18 05:20:04 +00:00
|
|
|
|
|
|
|
.section .sdata2, "a"
|
2022-08-10 23:08:58 +00:00
|
|
|
.balign 8
|
2022-07-18 05:20:04 +00:00
|
|
|
.global lbl_805AEA20
|
|
|
|
lbl_805AEA20:
|
|
|
|
# ROM: 0x3FB2C0
|
|
|
|
.double 4.503601774854144E15
|
|
|
|
|
|
|
|
.global lbl_805AEA28
|
|
|
|
lbl_805AEA28:
|
|
|
|
# ROM: 0x3FB2C8
|
|
|
|
.4byte 0
|
|
|
|
|
|
|
|
.global lbl_805AEA2C
|
|
|
|
lbl_805AEA2C:
|
|
|
|
# ROM: 0x3FB2CC
|
|
|
|
.float 0.5
|
|
|
|
|
2022-07-18 05:21:27 +00:00
|
|
|
|
|
|
|
.section .rodata
|
2022-08-10 23:08:58 +00:00
|
|
|
.balign 8
|
2022-07-18 05:21:27 +00:00
|
|
|
.global lbl_803D8350
|
|
|
|
lbl_803D8350:
|
|
|
|
# ROM: 0x3D5350
|
|
|
|
.4byte 0x00000009
|
|
|
|
.4byte 0x00000001
|
|
|
|
.4byte 0x0000000D
|
|
|
|
.4byte 0x00000001
|
|
|
|
.4byte 0x000000FF
|
|
|
|
.4byte 0
|
|
|
|
|
|
|
|
.global lbl_803D8368
|
|
|
|
lbl_803D8368:
|
|
|
|
# ROM: 0x3D5368
|
|
|
|
.asciz "??(??)"
|
|
|
|
.balign 4
|
2022-08-26 03:46:24 +00:00
|
|
|
|
|
|
|
# what's going on here?
|
2022-08-23 03:54:30 +00:00
|
|
|
.if version < 2
|
2022-07-18 05:21:27 +00:00
|
|
|
.4byte 0
|
|
|
|
.4byte 0
|
|
|
|
.4byte 0
|
|
|
|
.4byte 0
|
2022-08-23 03:54:30 +00:00
|
|
|
.endif
|