2022-10-16 16:05:58 +00:00
|
|
|
.include "macros.inc"
|
|
|
|
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GetParent__Q34nw4r3g3d6ResMatFv
|
|
|
|
GetParent__Q34nw4r3g3d6ResMatFv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCD10 000C8B50 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CCD14 000C8B54 80 03 00 04 */ lwz r0, 0x4(r3)
|
|
|
|
/* 800CCD18 000C8B58 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CCD1C 000C8B5C 41 82 00 0C */ beq lbl_800CCD28
|
|
|
|
/* 800CCD20 000C8B60 7C 63 02 14 */ add r3, r3, r0
|
|
|
|
/* 800CCD24 000C8B64 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800CCD28
|
|
|
|
lbl_800CCD28:
|
|
|
|
/* 800CCD28 000C8B68 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 800CCD2C 000C8B6C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global DCStore__Q34nw4r3g3d9ResMatPixFb
|
|
|
|
DCStore__Q34nw4r3g3d9ResMatPixFb:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCD30 000C8B70 2C 04 00 00 */ cmpwi r4, 0x0
|
|
|
|
/* 800CCD34 000C8B74 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CCD38 000C8B78 41 82 00 0C */ beq lbl_800CCD44
|
|
|
|
/* 800CCD3C 000C8B7C 38 80 00 20 */ li r4, 0x20
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CCD40 000C8B80 4B F4 FC 70 */ b DCStoreRange
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CCD44
|
|
|
|
lbl_800CCD44:
|
|
|
|
/* 800CCD44 000C8B84 38 80 00 20 */ li r4, 0x20
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CCD48 000C8B88 4B F4 FC C8 */ b DCStoreRangeNoSync
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCD4C 000C8B8C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global DCStore__Q34nw4r3g3d14ResMatTevColorFb
|
|
|
|
DCStore__Q34nw4r3g3d14ResMatTevColorFb:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCD50 000C8B90 2C 04 00 00 */ cmpwi r4, 0x0
|
|
|
|
/* 800CCD54 000C8B94 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CCD58 000C8B98 41 82 00 0C */ beq lbl_800CCD64
|
|
|
|
/* 800CCD5C 000C8B9C 38 80 00 80 */ li r4, 0x80
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CCD60 000C8BA0 4B F4 FC 50 */ b DCStoreRange
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CCD64
|
|
|
|
lbl_800CCD64:
|
|
|
|
/* 800CCD64 000C8BA4 38 80 00 80 */ li r4, 0x80
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CCD68 000C8BA8 4B F4 FC A8 */ b DCStoreRangeNoSync
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCD6C 000C8BAC 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global DCStore__Q34nw4r3g3d20ResMatIndMtxAndScaleFb
|
|
|
|
DCStore__Q34nw4r3g3d20ResMatIndMtxAndScaleFb:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCD70 000C8BB0 2C 04 00 00 */ cmpwi r4, 0x0
|
|
|
|
/* 800CCD74 000C8BB4 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CCD78 000C8BB8 41 82 00 0C */ beq lbl_800CCD84
|
|
|
|
/* 800CCD7C 000C8BBC 38 80 00 40 */ li r4, 0x40
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CCD80 000C8BC0 4B F4 FC 30 */ b DCStoreRange
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CCD84
|
|
|
|
lbl_800CCD84:
|
|
|
|
/* 800CCD84 000C8BC4 38 80 00 40 */ li r4, 0x40
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CCD88 000C8BC8 4B F4 FC 88 */ b DCStoreRangeNoSync
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCD8C 000C8BCC 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global DCStore__Q34nw4r3g3d17ResMatTexCoordGenFb
|
|
|
|
DCStore__Q34nw4r3g3d17ResMatTexCoordGenFb:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCD90 000C8BD0 2C 04 00 00 */ cmpwi r4, 0x0
|
|
|
|
/* 800CCD94 000C8BD4 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CCD98 000C8BD8 41 82 00 0C */ beq lbl_800CCDA4
|
|
|
|
/* 800CCD9C 000C8BDC 38 80 00 A0 */ li r4, 0xa0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CCDA0 000C8BE0 4B F4 FC 10 */ b DCStoreRange
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CCDA4
|
|
|
|
lbl_800CCDA4:
|
|
|
|
/* 800CCDA4 000C8BE4 38 80 00 A0 */ li r4, 0xa0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CCDA8 000C8BE8 4B F4 FC 68 */ b DCStoreRangeNoSync
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCDAC 000C8BEC 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global CallDisplayList__Q34nw4r3g3d9ResMatPixCFb
|
|
|
|
CallDisplayList__Q34nw4r3g3d9ResMatPixCFb:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCDB0 000C8BF0 2C 04 00 00 */ cmpwi r4, 0x0
|
|
|
|
/* 800CCDB4 000C8BF4 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CCDB8 000C8BF8 41 82 00 0C */ beq lbl_800CCDC4
|
|
|
|
/* 800CCDBC 000C8BFC 38 80 00 20 */ li r4, 0x20
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CCDC0 000C8C00 4B F6 BC 90 */ b GXCallDisplayList
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CCDC4
|
|
|
|
lbl_800CCDC4:
|
|
|
|
/* 800CCDC4 000C8C04 3C 80 CC 01 */ lis r4, 0xCC008000@ha
|
|
|
|
/* 800CCDC8 000C8C08 38 00 00 40 */ li r0, 0x40
|
|
|
|
/* 800CCDCC 000C8C0C 98 04 80 00 */ stb r0, 0xCC008000@l(r4)
|
|
|
|
/* 800CCDD0 000C8C10 38 00 00 20 */ li r0, 0x20
|
|
|
|
/* 800CCDD4 000C8C14 90 64 80 00 */ stw r3, -0x8000(r4)
|
|
|
|
/* 800CCDD8 000C8C18 90 04 80 00 */ stw r0, -0x8000(r4)
|
|
|
|
/* 800CCDDC 000C8C1C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global CallDisplayList__Q34nw4r3g3d14ResMatTevColorCFb
|
|
|
|
CallDisplayList__Q34nw4r3g3d14ResMatTevColorCFb:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCDE0 000C8C20 2C 04 00 00 */ cmpwi r4, 0x0
|
|
|
|
/* 800CCDE4 000C8C24 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CCDE8 000C8C28 41 82 00 0C */ beq lbl_800CCDF4
|
|
|
|
/* 800CCDEC 000C8C2C 38 80 00 80 */ li r4, 0x80
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CCDF0 000C8C30 4B F6 BC 60 */ b GXCallDisplayList
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CCDF4
|
|
|
|
lbl_800CCDF4:
|
|
|
|
/* 800CCDF4 000C8C34 3C 80 CC 01 */ lis r4, 0xCC008000@ha
|
|
|
|
/* 800CCDF8 000C8C38 38 00 00 40 */ li r0, 0x40
|
|
|
|
/* 800CCDFC 000C8C3C 98 04 80 00 */ stb r0, 0xCC008000@l(r4)
|
|
|
|
/* 800CCE00 000C8C40 38 00 00 80 */ li r0, 0x80
|
|
|
|
/* 800CCE04 000C8C44 90 64 80 00 */ stw r3, -0x8000(r4)
|
|
|
|
/* 800CCE08 000C8C48 90 04 80 00 */ stw r0, -0x8000(r4)
|
|
|
|
/* 800CCE0C 000C8C4C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global CopyTo__Q34nw4r3g3d9ResMatPixCFPv
|
|
|
|
CopyTo__Q34nw4r3g3d9ResMatPixCFPv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCE10 000C8C50 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 800CCE14 000C8C54 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800CCE18 000C8C58 38 A0 00 20 */ li r5, 0x20
|
|
|
|
/* 800CCE1C 000C8C5C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 800CCE20 000C8C60 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 800CCE24 000C8C64 7C 9F 23 78 */ mr r31, r4
|
|
|
|
/* 800CCE28 000C8C68 80 83 00 00 */ lwz r4, 0x0(r3)
|
|
|
|
/* 800CCE2C 000C8C6C 7F E3 FB 78 */ mr r3, r31
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CCE30 000C8C70 48 00 F9 A1 */ bl Copy32ByteBlocks__Q34nw4r3g3d6detailFPvPCvUl
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCE34 000C8C74 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 800CCE38 000C8C78 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 800CCE3C 000C8C7C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 800CCE40 000C8C80 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800CCE44 000C8C84 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 800CCE48 000C8C88 4E 80 00 20 */ blr
|
|
|
|
/* 800CCE4C 000C8C8C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global CopyTo__Q34nw4r3g3d14ResMatTevColorCFPv
|
|
|
|
CopyTo__Q34nw4r3g3d14ResMatTevColorCFPv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCE50 000C8C90 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 800CCE54 000C8C94 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800CCE58 000C8C98 38 A0 00 80 */ li r5, 0x80
|
|
|
|
/* 800CCE5C 000C8C9C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 800CCE60 000C8CA0 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 800CCE64 000C8CA4 7C 9F 23 78 */ mr r31, r4
|
|
|
|
/* 800CCE68 000C8CA8 80 83 00 00 */ lwz r4, 0x0(r3)
|
|
|
|
/* 800CCE6C 000C8CAC 7F E3 FB 78 */ mr r3, r31
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CCE70 000C8CB0 48 00 F9 61 */ bl Copy32ByteBlocks__Q34nw4r3g3d6detailFPvPCvUl
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCE74 000C8CB4 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 800CCE78 000C8CB8 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 800CCE7C 000C8CBC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 800CCE80 000C8CC0 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800CCE84 000C8CC4 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 800CCE88 000C8CC8 4E 80 00 20 */ blr
|
|
|
|
/* 800CCE8C 000C8CCC 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global CopyTo__Q34nw4r3g3d20ResMatIndMtxAndScaleCFPv
|
|
|
|
CopyTo__Q34nw4r3g3d20ResMatIndMtxAndScaleCFPv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCE90 000C8CD0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 800CCE94 000C8CD4 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800CCE98 000C8CD8 38 A0 00 40 */ li r5, 0x40
|
|
|
|
/* 800CCE9C 000C8CDC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 800CCEA0 000C8CE0 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 800CCEA4 000C8CE4 7C 9F 23 78 */ mr r31, r4
|
|
|
|
/* 800CCEA8 000C8CE8 80 83 00 00 */ lwz r4, 0x0(r3)
|
|
|
|
/* 800CCEAC 000C8CEC 7F E3 FB 78 */ mr r3, r31
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CCEB0 000C8CF0 48 00 F9 21 */ bl Copy32ByteBlocks__Q34nw4r3g3d6detailFPvPCvUl
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCEB4 000C8CF4 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 800CCEB8 000C8CF8 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 800CCEBC 000C8CFC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 800CCEC0 000C8D00 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800CCEC4 000C8D04 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 800CCEC8 000C8D08 4E 80 00 20 */ blr
|
|
|
|
/* 800CCECC 000C8D0C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global CopyTo__Q34nw4r3g3d17ResMatTexCoordGenCFPv
|
|
|
|
CopyTo__Q34nw4r3g3d17ResMatTexCoordGenCFPv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCED0 000C8D10 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 800CCED4 000C8D14 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800CCED8 000C8D18 38 A0 00 A0 */ li r5, 0xa0
|
|
|
|
/* 800CCEDC 000C8D1C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 800CCEE0 000C8D20 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 800CCEE4 000C8D24 7C 9F 23 78 */ mr r31, r4
|
|
|
|
/* 800CCEE8 000C8D28 80 83 00 00 */ lwz r4, 0x0(r3)
|
|
|
|
/* 800CCEEC 000C8D2C 7F E3 FB 78 */ mr r3, r31
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CCEF0 000C8D30 48 00 F8 E1 */ bl Copy32ByteBlocks__Q34nw4r3g3d6detailFPvPCvUl
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCEF4 000C8D34 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 800CCEF8 000C8D38 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 800CCEFC 000C8D3C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 800CCF00 000C8D40 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800CCF04 000C8D44 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 800CCF08 000C8D48 4E 80 00 20 */ blr
|
|
|
|
/* 800CCF0C 000C8D4C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GetTexObj__Q34nw4r3g3d9ResTexObjCF11_GXTexMapID
|
|
|
|
GetTexObj__Q34nw4r3g3d9ResTexObjCF11_GXTexMapID:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCF10 000C8D50 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CCF14 000C8D54 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800CCF18 000C8D58 41 82 00 1C */ beq lbl_800CCF34
|
|
|
|
/* 800CCF1C 000C8D5C 28 04 00 07 */ cmplwi r4, 0x7
|
|
|
|
/* 800CCF20 000C8D60 41 81 00 14 */ bgt lbl_800CCF34
|
|
|
|
/* 800CCF24 000C8D64 54 80 28 34 */ slwi r0, r4, 5
|
|
|
|
/* 800CCF28 000C8D68 7C 63 02 14 */ add r3, r3, r0
|
|
|
|
/* 800CCF2C 000C8D6C 38 63 00 04 */ addi r3, r3, 0x4
|
|
|
|
/* 800CCF30 000C8D70 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800CCF34
|
|
|
|
lbl_800CCF34:
|
|
|
|
/* 800CCF34 000C8D74 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 800CCF38 000C8D78 4E 80 00 20 */ blr
|
|
|
|
/* 800CCF3C 000C8D7C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global IsValidTexObj__Q34nw4r3g3d9ResTexObjCF11_GXTexMapID
|
|
|
|
IsValidTexObj__Q34nw4r3g3d9ResTexObjCF11_GXTexMapID:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCF40 000C8D80 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
|
|
/* 800CCF44 000C8D84 2C 05 00 00 */ cmpwi r5, 0x0
|
|
|
|
/* 800CCF48 000C8D88 41 82 00 2C */ beq lbl_800CCF74
|
|
|
|
/* 800CCF4C 000C8D8C 28 04 00 07 */ cmplwi r4, 0x7
|
|
|
|
/* 800CCF50 000C8D90 41 81 00 24 */ bgt lbl_800CCF74
|
|
|
|
/* 800CCF54 000C8D94 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 800CCF58 000C8D98 80 05 00 00 */ lwz r0, 0x0(r5)
|
|
|
|
/* 800CCF5C 000C8D9C 7C 63 20 30 */ slw r3, r3, r4
|
|
|
|
/* 800CCF60 000C8DA0 7C 63 00 38 */ and r3, r3, r0
|
|
|
|
/* 800CCF64 000C8DA4 7C 03 00 D0 */ neg r0, r3
|
|
|
|
/* 800CCF68 000C8DA8 7C 00 1B 78 */ or r0, r0, r3
|
|
|
|
/* 800CCF6C 000C8DAC 54 03 0F FE */ srwi r3, r0, 31
|
|
|
|
/* 800CCF70 000C8DB0 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800CCF74
|
|
|
|
lbl_800CCF74:
|
|
|
|
/* 800CCF74 000C8DB4 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 800CCF78 000C8DB8 4E 80 00 20 */ blr
|
|
|
|
/* 800CCF7C 000C8DBC 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global CopyTo__Q34nw4r3g3d9ResTexObjCFPv
|
|
|
|
CopyTo__Q34nw4r3g3d9ResTexObjCFPv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CCF80 000C8DC0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 800CCF84 000C8DC4 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800CCF88 000C8DC8 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CCF8C 000C8DCC 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 800CCF90 000C8DD0 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
|
|
/* 800CCF94 000C8DD4 3B E3 00 04 */ addi r31, r3, 0x4
|
|
|
|
/* 800CCF98 000C8DD8 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
|
|
/* 800CCF9C 000C8DDC 3B C4 00 04 */ addi r30, r4, 0x4
|
|
|
|
/* 800CCFA0 000C8DE0 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
|
|
/* 800CCFA4 000C8DE4 7C 9D 23 78 */ mr r29, r4
|
|
|
|
/* 800CCFA8 000C8DE8 93 81 00 10 */ stw r28, 0x10(r1)
|
|
|
|
/* 800CCFAC 000C8DEC 83 83 00 00 */ lwz r28, 0x0(r3)
|
|
|
|
/* 800CCFB0 000C8DF0 93 84 00 00 */ stw r28, 0x0(r4)
|
|
|
|
/* 800CCFB4 000C8DF4 48 00 00 28 */ b lbl_800CCFDC
|
|
|
|
.global lbl_800CCFB8
|
|
|
|
lbl_800CCFB8:
|
|
|
|
/* 800CCFB8 000C8DF8 57 80 07 FF */ clrlwi. r0, r28, 31
|
|
|
|
/* 800CCFBC 000C8DFC 41 82 00 14 */ beq lbl_800CCFD0
|
|
|
|
/* 800CCFC0 000C8E00 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 800CCFC4 000C8E04 7F E4 FB 78 */ mr r4, r31
|
|
|
|
/* 800CCFC8 000C8E08 38 A0 00 20 */ li r5, 0x20
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CCFCC 000C8E0C 48 00 F8 05 */ bl Copy32ByteBlocks__Q34nw4r3g3d6detailFPvPCvUl
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CCFD0
|
|
|
|
lbl_800CCFD0:
|
|
|
|
/* 800CCFD0 000C8E10 57 9C F8 7E */ srwi r28, r28, 1
|
|
|
|
/* 800CCFD4 000C8E14 3B FF 00 20 */ addi r31, r31, 0x20
|
|
|
|
/* 800CCFD8 000C8E18 3B DE 00 20 */ addi r30, r30, 0x20
|
|
|
|
.global lbl_800CCFDC
|
|
|
|
lbl_800CCFDC:
|
|
|
|
/* 800CCFDC 000C8E1C 2C 1C 00 00 */ cmpwi r28, 0x0
|
|
|
|
/* 800CCFE0 000C8E20 40 82 FF D8 */ bne lbl_800CCFB8
|
|
|
|
/* 800CCFE4 000C8E24 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
|
|
/* 800CCFE8 000C8E28 7F A3 EB 78 */ mr r3, r29
|
|
|
|
/* 800CCFEC 000C8E2C 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
|
|
/* 800CCFF0 000C8E30 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
|
|
/* 800CCFF4 000C8E34 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
|
|
/* 800CCFF8 000C8E38 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 800CCFFC 000C8E3C 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800CD000 000C8E40 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 800CD004 000C8E44 4E 80 00 20 */ blr
|
|
|
|
/* 800CD008 000C8E48 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD00C 000C8E4C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GetTlut__Q34nw4r3g3d10ResTlutObjCF7_GXTlut
|
|
|
|
GetTlut__Q34nw4r3g3d10ResTlutObjCF7_GXTlut:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD010 000C8E50 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CD014 000C8E54 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800CD018 000C8E58 41 82 00 1C */ beq lbl_800CD034
|
|
|
|
/* 800CD01C 000C8E5C 28 04 00 07 */ cmplwi r4, 0x7
|
|
|
|
/* 800CD020 000C8E60 41 81 00 14 */ bgt lbl_800CD034
|
|
|
|
/* 800CD024 000C8E64 1C 04 00 0C */ mulli r0, r4, 0xc
|
|
|
|
/* 800CD028 000C8E68 7C 63 02 14 */ add r3, r3, r0
|
|
|
|
/* 800CD02C 000C8E6C 38 63 00 04 */ addi r3, r3, 0x4
|
|
|
|
/* 800CD030 000C8E70 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800CD034
|
|
|
|
lbl_800CD034:
|
|
|
|
/* 800CD034 000C8E74 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 800CD038 000C8E78 4E 80 00 20 */ blr
|
|
|
|
/* 800CD03C 000C8E7C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global CopyTo__Q34nw4r3g3d10ResTlutObjCFPv
|
|
|
|
CopyTo__Q34nw4r3g3d10ResTlutObjCFPv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD040 000C8E80 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 800CD044 000C8E84 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800CD048 000C8E88 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
|
|
/* 800CD04C 000C8E8C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 800CD050 000C8E90 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 800CD054 000C8E94 7C 9F 23 78 */ mr r31, r4
|
|
|
|
/* 800CD058 000C8E98 80 65 00 00 */ lwz r3, 0x0(r5)
|
|
|
|
/* 800CD05C 000C8E9C 90 64 00 00 */ stw r3, 0x0(r4)
|
|
|
|
/* 800CD060 000C8EA0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800CD064 000C8EA4 41 82 00 4C */ beq lbl_800CD0B0
|
|
|
|
/* 800CD068 000C8EA8 54 60 06 3B */ rlwinm. r0, r3, 0, 24, 29
|
|
|
|
/* 800CD06C 000C8EAC 40 82 00 18 */ bne lbl_800CD084
|
|
|
|
/* 800CD070 000C8EB0 38 64 00 04 */ addi r3, r4, 0x4
|
|
|
|
/* 800CD074 000C8EB4 38 85 00 04 */ addi r4, r5, 0x4
|
|
|
|
/* 800CD078 000C8EB8 38 A0 00 20 */ li r5, 0x20
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD07C 000C8EBC 48 00 F7 55 */ bl Copy32ByteBlocks__Q34nw4r3g3d6detailFPvPCvUl
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD080 000C8EC0 48 00 00 30 */ b lbl_800CD0B0
|
|
|
|
.global lbl_800CD084
|
|
|
|
lbl_800CD084:
|
|
|
|
/* 800CD084 000C8EC4 54 60 06 35 */ rlwinm. r0, r3, 0, 24, 26
|
|
|
|
/* 800CD088 000C8EC8 40 82 00 18 */ bne lbl_800CD0A0
|
|
|
|
/* 800CD08C 000C8ECC 38 64 00 04 */ addi r3, r4, 0x4
|
|
|
|
/* 800CD090 000C8ED0 38 85 00 04 */ addi r4, r5, 0x4
|
|
|
|
/* 800CD094 000C8ED4 38 A0 00 40 */ li r5, 0x40
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD098 000C8ED8 48 00 F7 39 */ bl Copy32ByteBlocks__Q34nw4r3g3d6detailFPvPCvUl
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD09C 000C8EDC 48 00 00 14 */ b lbl_800CD0B0
|
|
|
|
.global lbl_800CD0A0
|
|
|
|
lbl_800CD0A0:
|
|
|
|
/* 800CD0A0 000C8EE0 38 64 00 04 */ addi r3, r4, 0x4
|
|
|
|
/* 800CD0A4 000C8EE4 38 85 00 04 */ addi r4, r5, 0x4
|
|
|
|
/* 800CD0A8 000C8EE8 38 A0 00 60 */ li r5, 0x60
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD0AC 000C8EEC 48 00 F7 25 */ bl Copy32ByteBlocks__Q34nw4r3g3d6detailFPvPCvUl
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CD0B0
|
|
|
|
lbl_800CD0B0:
|
|
|
|
/* 800CD0B0 000C8EF0 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 800CD0B4 000C8EF4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 800CD0B8 000C8EF8 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 800CD0BC 000C8EFC 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800CD0C0 000C8F00 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 800CD0C4 000C8F04 4E 80 00 20 */ blr
|
|
|
|
/* 800CD0C8 000C8F08 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD0CC 000C8F0C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global CopyTo__Q34nw4r3g3d9ResTexSrtCFPv
|
|
|
|
CopyTo__Q34nw4r3g3d9ResTexSrtCFPv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD0D0 000C8F10 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 800CD0D4 000C8F14 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800CD0D8 000C8F18 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 800CD0DC 000C8F1C 39 61 00 20 */ addi r11, r1, 0x20
|
|
|
|
/* 800CD0E0 000C8F20 4B F3 A2 59 */ bl lbl_80007338
|
|
|
|
/* 800CD0E4 000C8F24 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CD0E8 000C8F28 7C 9B 23 78 */ mr r27, r4
|
|
|
|
/* 800CD0EC 000C8F2C 3B A4 00 08 */ addi r29, r4, 0x8
|
|
|
|
/* 800CD0F0 000C8F30 3B 84 00 A8 */ addi r28, r4, 0xa8
|
|
|
|
/* 800CD0F4 000C8F34 83 43 00 00 */ lwz r26, 0x0(r3)
|
|
|
|
/* 800CD0F8 000C8F38 3B E3 00 08 */ addi r31, r3, 0x8
|
|
|
|
/* 800CD0FC 000C8F3C 93 44 00 00 */ stw r26, 0x0(r4)
|
|
|
|
/* 800CD100 000C8F40 3B C3 00 A8 */ addi r30, r3, 0xa8
|
|
|
|
/* 800CD104 000C8F44 80 03 00 04 */ lwz r0, 0x4(r3)
|
|
|
|
/* 800CD108 000C8F48 90 04 00 04 */ stw r0, 0x4(r4)
|
|
|
|
/* 800CD10C 000C8F4C 48 00 00 74 */ b lbl_800CD180
|
|
|
|
.global lbl_800CD110
|
|
|
|
lbl_800CD110:
|
|
|
|
/* 800CD110 000C8F50 57 40 07 3F */ clrlwi. r0, r26, 28
|
|
|
|
/* 800CD114 000C8F54 41 82 00 58 */ beq lbl_800CD16C
|
|
|
|
/* 800CD118 000C8F58 C0 1F 00 00 */ lfs f0, 0x0(r31)
|
|
|
|
/* 800CD11C 000C8F5C 38 7E 00 04 */ addi r3, r30, 0x4
|
|
|
|
/* 800CD120 000C8F60 D0 1D 00 00 */ stfs f0, 0x0(r29)
|
|
|
|
/* 800CD124 000C8F64 38 9C 00 04 */ addi r4, r28, 0x4
|
|
|
|
/* 800CD128 000C8F68 C0 1F 00 04 */ lfs f0, 0x4(r31)
|
|
|
|
/* 800CD12C 000C8F6C D0 1D 00 04 */ stfs f0, 0x4(r29)
|
|
|
|
/* 800CD130 000C8F70 C0 1F 00 08 */ lfs f0, 0x8(r31)
|
|
|
|
/* 800CD134 000C8F74 D0 1D 00 08 */ stfs f0, 0x8(r29)
|
|
|
|
/* 800CD138 000C8F78 C0 1F 00 0C */ lfs f0, 0xc(r31)
|
|
|
|
/* 800CD13C 000C8F7C D0 1D 00 0C */ stfs f0, 0xc(r29)
|
|
|
|
/* 800CD140 000C8F80 C0 1F 00 10 */ lfs f0, 0x10(r31)
|
|
|
|
/* 800CD144 000C8F84 D0 1D 00 10 */ stfs f0, 0x10(r29)
|
|
|
|
/* 800CD148 000C8F88 88 1E 00 00 */ lbz r0, 0x0(r30)
|
|
|
|
/* 800CD14C 000C8F8C 98 1C 00 00 */ stb r0, 0x0(r28)
|
|
|
|
/* 800CD150 000C8F90 88 1E 00 01 */ lbz r0, 0x1(r30)
|
|
|
|
/* 800CD154 000C8F94 98 1C 00 01 */ stb r0, 0x1(r28)
|
|
|
|
/* 800CD158 000C8F98 88 1E 00 02 */ lbz r0, 0x2(r30)
|
|
|
|
/* 800CD15C 000C8F9C 98 1C 00 02 */ stb r0, 0x2(r28)
|
|
|
|
/* 800CD160 000C8FA0 88 1E 00 03 */ lbz r0, 0x3(r30)
|
|
|
|
/* 800CD164 000C8FA4 98 1C 00 03 */ stb r0, 0x3(r28)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD168 000C8FA8 4B F6 33 A9 */ bl PSMTXCopy
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CD16C
|
|
|
|
lbl_800CD16C:
|
|
|
|
/* 800CD16C 000C8FAC 57 5A E1 3E */ srwi r26, r26, 4
|
|
|
|
/* 800CD170 000C8FB0 3B FF 00 14 */ addi r31, r31, 0x14
|
|
|
|
/* 800CD174 000C8FB4 3B DE 00 34 */ addi r30, r30, 0x34
|
|
|
|
/* 800CD178 000C8FB8 3B BD 00 14 */ addi r29, r29, 0x14
|
|
|
|
/* 800CD17C 000C8FBC 3B 9C 00 34 */ addi r28, r28, 0x34
|
|
|
|
.global lbl_800CD180
|
|
|
|
lbl_800CD180:
|
|
|
|
/* 800CD180 000C8FC0 2C 1A 00 00 */ cmpwi r26, 0x0
|
|
|
|
/* 800CD184 000C8FC4 40 82 FF 8C */ bne lbl_800CD110
|
|
|
|
/* 800CD188 000C8FC8 39 61 00 20 */ addi r11, r1, 0x20
|
|
|
|
/* 800CD18C 000C8FCC 7F 63 DB 78 */ mr r3, r27
|
|
|
|
/* 800CD190 000C8FD0 4B F3 A1 F5 */ bl lbl_80007384
|
|
|
|
/* 800CD194 000C8FD4 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 800CD198 000C8FD8 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800CD19C 000C8FDC 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 800CD1A0 000C8FE0 4E 80 00 20 */ blr
|
|
|
|
/* 800CD1A4 000C8FE4 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD1A8 000C8FE8 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD1AC 000C8FEC 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GXSetNumTevStages__Q34nw4r3g3d10ResGenModeFUc
|
|
|
|
GXSetNumTevStages__Q34nw4r3g3d10ResGenModeFUc:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD1B0 000C8FF0 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CD1B4 000C8FF4 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800CD1B8 000C8FF8 4D 82 00 20 */ beqlr
|
|
|
|
/* 800CD1BC 000C8FFC 98 83 00 02 */ stb r4, 0x2(r3)
|
|
|
|
/* 800CD1C0 000C9000 4E 80 00 20 */ blr
|
|
|
|
/* 800CD1C4 000C9004 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD1C8 000C9008 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD1CC 000C900C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global CopyTo__Q34nw4r3g3d10ResGenModeCFPv
|
|
|
|
CopyTo__Q34nw4r3g3d10ResGenModeCFPv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD1D0 000C9010 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
|
|
/* 800CD1D4 000C9014 7C 83 23 78 */ mr r3, r4
|
|
|
|
/* 800CD1D8 000C9018 88 05 00 00 */ lbz r0, 0x0(r5)
|
|
|
|
/* 800CD1DC 000C901C 98 04 00 00 */ stb r0, 0x0(r4)
|
|
|
|
/* 800CD1E0 000C9020 88 05 00 01 */ lbz r0, 0x1(r5)
|
|
|
|
/* 800CD1E4 000C9024 98 04 00 01 */ stb r0, 0x1(r4)
|
|
|
|
/* 800CD1E8 000C9028 88 05 00 02 */ lbz r0, 0x2(r5)
|
|
|
|
/* 800CD1EC 000C902C 98 04 00 02 */ stb r0, 0x2(r4)
|
|
|
|
/* 800CD1F0 000C9030 88 05 00 03 */ lbz r0, 0x3(r5)
|
|
|
|
/* 800CD1F4 000C9034 98 04 00 03 */ stb r0, 0x3(r4)
|
|
|
|
/* 800CD1F8 000C9038 80 05 00 04 */ lwz r0, 0x4(r5)
|
|
|
|
/* 800CD1FC 000C903C 90 04 00 04 */ stw r0, 0x4(r4)
|
|
|
|
/* 800CD200 000C9040 4E 80 00 20 */ blr
|
|
|
|
/* 800CD204 000C9044 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD208 000C9048 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD20C 000C904C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GXGetZCompLoc__Q34nw4r3g3d10ResMatMiscCFv
|
|
|
|
GXGetZCompLoc__Q34nw4r3g3d10ResMatMiscCFv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD210 000C9050 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CD214 000C9054 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800CD218 000C9058 41 82 00 0C */ beq lbl_800CD224
|
|
|
|
/* 800CD21C 000C905C 88 63 00 00 */ lbz r3, 0x0(r3)
|
|
|
|
/* 800CD220 000C9060 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800CD224
|
|
|
|
lbl_800CD224:
|
|
|
|
/* 800CD224 000C9064 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 800CD228 000C9068 4E 80 00 20 */ blr
|
|
|
|
/* 800CD22C 000C906C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global SetLightSetIdx__Q34nw4r3g3d10ResMatMiscFi
|
|
|
|
SetLightSetIdx__Q34nw4r3g3d10ResMatMiscFi:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD230 000C9070 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CD234 000C9074 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800CD238 000C9078 4D 82 00 20 */ beqlr
|
|
|
|
/* 800CD23C 000C907C 28 04 00 7F */ cmplwi r4, 0x7f
|
|
|
|
/* 800CD240 000C9080 40 81 00 10 */ ble lbl_800CD250
|
|
|
|
/* 800CD244 000C9084 38 00 FF FF */ li r0, -0x1
|
|
|
|
/* 800CD248 000C9088 98 03 00 01 */ stb r0, 0x1(r3)
|
|
|
|
/* 800CD24C 000C908C 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800CD250
|
|
|
|
lbl_800CD250:
|
|
|
|
/* 800CD250 000C9090 98 83 00 01 */ stb r4, 0x1(r3)
|
|
|
|
/* 800CD254 000C9094 4E 80 00 20 */ blr
|
|
|
|
/* 800CD258 000C9098 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD25C 000C909C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GetLightSetIdx__Q34nw4r3g3d10ResMatMiscCFv
|
|
|
|
GetLightSetIdx__Q34nw4r3g3d10ResMatMiscCFv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD260 000C90A0 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CD264 000C90A4 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800CD268 000C90A8 41 82 00 10 */ beq lbl_800CD278
|
|
|
|
/* 800CD26C 000C90AC 88 63 00 01 */ lbz r3, 0x1(r3)
|
|
|
|
/* 800CD270 000C90B0 7C 63 07 74 */ extsb r3, r3
|
|
|
|
/* 800CD274 000C90B4 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800CD278
|
|
|
|
lbl_800CD278:
|
|
|
|
/* 800CD278 000C90B8 38 60 FF FF */ li r3, -0x1
|
|
|
|
/* 800CD27C 000C90BC 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GetFogIdx__Q34nw4r3g3d10ResMatMiscCFv
|
|
|
|
GetFogIdx__Q34nw4r3g3d10ResMatMiscCFv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD280 000C90C0 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CD284 000C90C4 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800CD288 000C90C8 41 82 00 10 */ beq lbl_800CD298
|
|
|
|
/* 800CD28C 000C90CC 88 63 00 02 */ lbz r3, 0x2(r3)
|
|
|
|
/* 800CD290 000C90D0 7C 63 07 74 */ extsb r3, r3
|
|
|
|
/* 800CD294 000C90D4 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800CD298
|
|
|
|
lbl_800CD298:
|
|
|
|
/* 800CD298 000C90D8 38 60 FF FF */ li r3, -0x1
|
|
|
|
/* 800CD29C 000C90DC 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GetIndirectTexMtxCalcMethod__Q34nw4r3g3d10ResMatMiscF14_GXIndTexMtxIDPQ44nw4r3g3d14ResMatMiscData14IndirectMethodPSc
|
|
|
|
GetIndirectTexMtxCalcMethod__Q34nw4r3g3d10ResMatMiscF14_GXIndTexMtxIDPQ44nw4r3g3d14ResMatMiscData14IndirectMethodPSc:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD2A0 000C90E0 80 E3 00 00 */ lwz r7, 0x0(r3)
|
|
|
|
/* 800CD2A4 000C90E4 2C 07 00 00 */ cmpwi r7, 0x0
|
|
|
|
/* 800CD2A8 000C90E8 4D 82 00 20 */ beqlr
|
|
|
|
/* 800CD2AC 000C90EC 38 04 FF FF */ addi r0, r4, -0x1
|
|
|
|
/* 800CD2B0 000C90F0 28 00 00 02 */ cmplwi r0, 0x2
|
|
|
|
/* 800CD2B4 000C90F4 4D 81 00 20 */ bgtlr
|
|
|
|
/* 800CD2B8 000C90F8 2C 05 00 00 */ cmpwi r5, 0x0
|
|
|
|
/* 800CD2BC 000C90FC 41 82 00 10 */ beq lbl_800CD2CC
|
|
|
|
/* 800CD2C0 000C9100 7C 64 3A 14 */ add r3, r4, r7
|
|
|
|
/* 800CD2C4 000C9104 88 03 00 03 */ lbz r0, 0x3(r3)
|
|
|
|
/* 800CD2C8 000C9108 90 05 00 00 */ stw r0, 0x0(r5)
|
|
|
|
.global lbl_800CD2CC
|
|
|
|
lbl_800CD2CC:
|
|
|
|
/* 800CD2CC 000C910C 2C 06 00 00 */ cmpwi r6, 0x0
|
|
|
|
/* 800CD2D0 000C9110 4D 82 00 20 */ beqlr
|
|
|
|
/* 800CD2D4 000C9114 7C 64 3A 14 */ add r3, r4, r7
|
|
|
|
/* 800CD2D8 000C9118 88 03 00 07 */ lbz r0, 0x7(r3)
|
|
|
|
/* 800CD2DC 000C911C 98 06 00 00 */ stb r0, 0x0(r6)
|
|
|
|
/* 800CD2E0 000C9120 4E 80 00 20 */ blr
|
|
|
|
/* 800CD2E4 000C9124 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD2E8 000C9128 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD2EC 000C912C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global CopyTo__Q34nw4r3g3d10ResMatMiscCFPv
|
|
|
|
CopyTo__Q34nw4r3g3d10ResMatMiscCFPv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD2F0 000C9130 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
|
|
/* 800CD2F4 000C9134 7C 83 23 78 */ mr r3, r4
|
|
|
|
/* 800CD2F8 000C9138 88 05 00 00 */ lbz r0, 0x0(r5)
|
|
|
|
/* 800CD2FC 000C913C 98 04 00 00 */ stb r0, 0x0(r4)
|
|
|
|
/* 800CD300 000C9140 88 05 00 01 */ lbz r0, 0x1(r5)
|
|
|
|
/* 800CD304 000C9144 98 04 00 01 */ stb r0, 0x1(r4)
|
|
|
|
/* 800CD308 000C9148 88 05 00 02 */ lbz r0, 0x2(r5)
|
|
|
|
/* 800CD30C 000C914C 98 04 00 02 */ stb r0, 0x2(r4)
|
|
|
|
/* 800CD310 000C9150 88 05 00 03 */ lbz r0, 0x3(r5)
|
|
|
|
/* 800CD314 000C9154 98 04 00 03 */ stb r0, 0x3(r4)
|
|
|
|
/* 800CD318 000C9158 80 05 00 04 */ lwz r0, 0x4(r5)
|
|
|
|
/* 800CD31C 000C915C 90 04 00 04 */ stw r0, 0x4(r4)
|
|
|
|
/* 800CD320 000C9160 80 05 00 08 */ lwz r0, 0x8(r5)
|
|
|
|
/* 800CD324 000C9164 90 04 00 08 */ stw r0, 0x8(r4)
|
|
|
|
/* 800CD328 000C9168 4E 80 00 20 */ blr
|
|
|
|
/* 800CD32C 000C916C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GetLyrRate__Q34nw4r3g3d9ResMatFurCFUl
|
|
|
|
GetLyrRate__Q34nw4r3g3d9ResMatFurCFUl:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD330 000C9170 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 800CD334 000C9174 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800CD338 000C9178 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CD33C 000C917C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
|
|
/* 800CD340 000C9180 3C 00 43 30 */ lis r0, 0x4330
|
|
|
|
/* 800CD344 000C9184 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800CD348 000C9188 90 01 00 08 */ stw r0, 0x8(r1)
|
|
|
|
/* 800CD34C 000C918C 90 01 00 10 */ stw r0, 0x10(r1)
|
|
|
|
/* 800CD350 000C9190 41 82 00 84 */ beq lbl_800CD3D4
|
|
|
|
/* 800CD354 000C9194 80 03 00 08 */ lwz r0, 0x8(r3)
|
|
|
|
/* 800CD358 000C9198 80 63 00 04 */ lwz r3, 0x4(r3)
|
|
|
|
/* 800CD35C 000C919C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CD360 000C91A0 41 82 00 10 */ beq lbl_800CD370
|
|
|
|
/* 800CD364 000C91A4 2C 00 00 01 */ cmpwi r0, 0x1
|
|
|
|
/* 800CD368 000C91A8 41 82 00 30 */ beq lbl_800CD398
|
|
|
|
/* 800CD36C 000C91AC 48 00 00 60 */ b lbl_800CD3CC
|
|
|
|
.global lbl_800CD370
|
|
|
|
lbl_800CD370:
|
|
|
|
/* 800CD370 000C91B0 90 61 00 14 */ stw r3, 0x14(r1)
|
|
|
|
/* 800CD374 000C91B4 38 04 00 01 */ addi r0, r4, 0x1
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD378 000C91B8 C8 42 8E B8 */ lfd f2, "@14094"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD37C 000C91BC 90 01 00 0C */ stw r0, 0xc(r1)
|
|
|
|
/* 800CD380 000C91C0 C8 01 00 10 */ lfd f0, 0x10(r1)
|
|
|
|
/* 800CD384 000C91C4 C8 21 00 08 */ lfd f1, 0x8(r1)
|
|
|
|
/* 800CD388 000C91C8 EC 00 10 28 */ fsubs f0, f0, f2
|
|
|
|
/* 800CD38C 000C91CC EC 21 10 28 */ fsubs f1, f1, f2
|
|
|
|
/* 800CD390 000C91D0 EC 21 00 24 */ fdivs f1, f1, f0
|
|
|
|
/* 800CD394 000C91D4 48 00 00 44 */ b lbl_800CD3D8
|
|
|
|
.global lbl_800CD398
|
|
|
|
lbl_800CD398:
|
|
|
|
/* 800CD398 000C91D8 90 61 00 14 */ stw r3, 0x14(r1)
|
|
|
|
/* 800CD39C 000C91DC 38 04 00 01 */ addi r0, r4, 0x1
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD3A0 000C91E0 C8 62 8E B8 */ lfd f3, "@14094"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD3A4 000C91E4 90 01 00 0C */ stw r0, 0xc(r1)
|
|
|
|
/* 800CD3A8 000C91E8 C8 01 00 10 */ lfd f0, 0x10(r1)
|
|
|
|
/* 800CD3AC 000C91EC C8 21 00 08 */ lfd f1, 0x8(r1)
|
|
|
|
/* 800CD3B0 000C91F0 EC 00 18 28 */ fsubs f0, f0, f3
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD3B4 000C91F4 C8 42 8E B0 */ lfd f2, "@14090"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD3B8 000C91F8 EC 21 18 28 */ fsubs f1, f1, f3
|
|
|
|
/* 800CD3BC 000C91FC EC 21 00 24 */ fdivs f1, f1, f0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD3C0 000C9200 4B F4 71 DD */ bl pow
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD3C4 000C9204 FC 20 08 18 */ frsp f1, f1
|
|
|
|
/* 800CD3C8 000C9208 48 00 00 10 */ b lbl_800CD3D8
|
|
|
|
.global lbl_800CD3CC
|
|
|
|
lbl_800CD3CC:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD3CC 000C920C C0 22 8E A8 */ lfs f1, "@13919"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD3D0 000C9210 48 00 00 08 */ b lbl_800CD3D8
|
|
|
|
.global lbl_800CD3D4
|
|
|
|
lbl_800CD3D4:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD3D4 000C9214 C0 22 8E A8 */ lfs f1, "@13919"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CD3D8
|
|
|
|
lbl_800CD3D8:
|
|
|
|
/* 800CD3D8 000C9218 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 800CD3DC 000C921C 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800CD3E0 000C9220 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 800CD3E4 000C9224 4E 80 00 20 */ blr
|
|
|
|
/* 800CD3E8 000C9228 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD3EC 000C922C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GXSetDstAlpha__Q34nw4r3g3d9ResMatPixFUcUc
|
|
|
|
GXSetDstAlpha__Q34nw4r3g3d9ResMatPixFUcUc:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD3F0 000C9230 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CD3F4 000C9234 7C 80 23 78 */ mr r0, r4
|
|
|
|
/* 800CD3F8 000C9238 64 A4 42 00 */ oris r4, r5, 0x4200
|
|
|
|
/* 800CD3FC 000C923C 38 63 00 14 */ addi r3, r3, 0x14
|
|
|
|
/* 800CD400 000C9240 50 04 44 2E */ rlwimi r4, r0, 8, 16, 23
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD404 000C9244 4B FF B7 2C */ b ResWriteBPCmd__Q34nw4r3g3d6detailFPUcUl
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD408 000C9248 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD40C 000C924C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GXGetTevColor__Q34nw4r3g3d14ResMatTevColorCF11_GXTevRegIDP8_GXColor
|
|
|
|
GXGetTevColor__Q34nw4r3g3d14ResMatTevColorCF11_GXTevRegIDP8_GXColor:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD410 000C9250 38 04 FF FF */ addi r0, r4, -0x1
|
|
|
|
/* 800CD414 000C9254 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 800CD418 000C9258 1C 00 00 14 */ mulli r0, r0, 0x14
|
|
|
|
/* 800CD41C 000C925C 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CD420 000C9260 7D 63 02 14 */ add r11, r3, r0
|
|
|
|
/* 800CD424 000C9264 7C 03 00 AE */ lbzx r0, r3, r0
|
|
|
|
/* 800CD428 000C9268 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CD42C 000C926C 40 82 00 0C */ bne lbl_800CD438
|
|
|
|
/* 800CD430 000C9270 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 800CD434 000C9274 48 00 00 90 */ b lbl_800CD4C4
|
|
|
|
.global lbl_800CD438
|
|
|
|
lbl_800CD438:
|
|
|
|
/* 800CD438 000C9278 88 0B 00 03 */ lbz r0, 0x3(r11)
|
|
|
|
/* 800CD43C 000C927C 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 800CD440 000C9280 88 CB 00 02 */ lbz r6, 0x2(r11)
|
|
|
|
/* 800CD444 000C9284 88 8B 00 07 */ lbz r4, 0x7(r11)
|
|
|
|
/* 800CD448 000C9288 54 07 40 2E */ slwi r7, r0, 8
|
|
|
|
/* 800CD44C 000C928C 89 0B 00 01 */ lbz r8, 0x1(r11)
|
|
|
|
/* 800CD450 000C9290 54 C9 80 1E */ slwi r9, r6, 16
|
|
|
|
/* 800CD454 000C9294 88 0B 00 08 */ lbz r0, 0x8(r11)
|
|
|
|
/* 800CD458 000C9298 54 8A 80 1E */ slwi r10, r4, 16
|
|
|
|
/* 800CD45C 000C929C 88 CB 00 06 */ lbz r6, 0x6(r11)
|
|
|
|
/* 800CD460 000C92A0 51 09 C0 0E */ rlwimi r9, r8, 24, 0, 7
|
|
|
|
/* 800CD464 000C92A4 54 04 40 2E */ slwi r4, r0, 8
|
|
|
|
/* 800CD468 000C92A8 88 0B 00 04 */ lbz r0, 0x4(r11)
|
|
|
|
/* 800CD46C 000C92AC 7D 29 3B 78 */ or r9, r9, r7
|
|
|
|
/* 800CD470 000C92B0 50 CA C0 0E */ rlwimi r10, r6, 24, 0, 7
|
|
|
|
/* 800CD474 000C92B4 7D 29 03 78 */ or r9, r9, r0
|
|
|
|
/* 800CD478 000C92B8 88 0B 00 09 */ lbz r0, 0x9(r11)
|
|
|
|
/* 800CD47C 000C92BC 7D 4A 23 78 */ or r10, r10, r4
|
|
|
|
/* 800CD480 000C92C0 99 21 00 08 */ stb r9, 0x8(r1)
|
|
|
|
/* 800CD484 000C92C4 7D 4A 03 78 */ or r10, r10, r0
|
|
|
|
/* 800CD488 000C92C8 55 20 A6 3E */ extrwi r0, r9, 8, 12
|
|
|
|
/* 800CD48C 000C92CC 55 44 A6 3E */ extrwi r4, r10, 8, 12
|
|
|
|
/* 800CD490 000C92D0 98 81 00 09 */ stb r4, 0x9(r1)
|
|
|
|
/* 800CD494 000C92D4 99 41 00 0A */ stb r10, 0xa(r1)
|
|
|
|
/* 800CD498 000C92D8 98 01 00 0B */ stb r0, 0xb(r1)
|
|
|
|
/* 800CD49C 000C92DC 80 01 00 08 */ lwz r0, 0x8(r1)
|
|
|
|
/* 800CD4A0 000C92E0 90 01 00 0C */ stw r0, 0xc(r1)
|
|
|
|
/* 800CD4A4 000C92E4 88 E1 00 0C */ lbz r7, 0xc(r1)
|
|
|
|
/* 800CD4A8 000C92E8 88 C1 00 0D */ lbz r6, 0xd(r1)
|
|
|
|
/* 800CD4AC 000C92EC 88 81 00 0E */ lbz r4, 0xe(r1)
|
|
|
|
/* 800CD4B0 000C92F0 88 01 00 0F */ lbz r0, 0xf(r1)
|
|
|
|
/* 800CD4B4 000C92F4 98 E5 00 00 */ stb r7, 0x0(r5)
|
|
|
|
/* 800CD4B8 000C92F8 98 C5 00 01 */ stb r6, 0x1(r5)
|
|
|
|
/* 800CD4BC 000C92FC 98 85 00 02 */ stb r4, 0x2(r5)
|
|
|
|
/* 800CD4C0 000C9300 98 05 00 03 */ stb r0, 0x3(r5)
|
|
|
|
.global lbl_800CD4C4
|
|
|
|
lbl_800CD4C4:
|
|
|
|
/* 800CD4C4 000C9304 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 800CD4C8 000C9308 4E 80 00 20 */ blr
|
|
|
|
/* 800CD4CC 000C930C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GXSetTevColor__Q34nw4r3g3d14ResMatTevColorF11_GXTevRegID8_GXColor
|
|
|
|
GXSetTevColor__Q34nw4r3g3d14ResMatTevColorF11_GXTevRegID8_GXColor:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD4D0 000C9310 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 800CD4D4 000C9314 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800CD4D8 000C9318 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 800CD4DC 000C931C 38 04 FF FF */ addi r0, r4, -0x1
|
|
|
|
/* 800CD4E0 000C9320 54 84 08 3C */ slwi r4, r4, 1
|
|
|
|
/* 800CD4E4 000C9324 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 800CD4E8 000C9328 1C E0 00 14 */ mulli r7, r0, 0x14
|
|
|
|
/* 800CD4EC 000C932C 38 04 00 E0 */ addi r0, r4, 0xe0
|
|
|
|
/* 800CD4F0 000C9330 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
|
|
/* 800CD4F4 000C9334 38 C4 00 E1 */ addi r6, r4, 0xe1
|
|
|
|
/* 800CD4F8 000C9338 81 03 00 00 */ lwz r8, 0x0(r3)
|
|
|
|
/* 800CD4FC 000C933C 88 85 00 00 */ lbz r4, 0x0(r5)
|
|
|
|
/* 800CD500 000C9340 50 04 C0 0E */ rlwimi r4, r0, 24, 0, 7
|
|
|
|
/* 800CD504 000C9344 88 65 00 01 */ lbz r3, 0x1(r5)
|
|
|
|
/* 800CD508 000C9348 7F E8 3A 14 */ add r31, r8, r7
|
|
|
|
/* 800CD50C 000C934C 8B C5 00 02 */ lbz r30, 0x2(r5)
|
|
|
|
/* 800CD510 000C9350 50 7E 63 26 */ rlwimi r30, r3, 12, 12, 19
|
|
|
|
/* 800CD514 000C9354 88 A5 00 03 */ lbz r5, 0x3(r5)
|
|
|
|
/* 800CD518 000C9358 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 800CD51C 000C935C 50 DE C0 0E */ rlwimi r30, r6, 24, 0, 7
|
|
|
|
/* 800CD520 000C9360 50 A4 63 26 */ rlwimi r4, r5, 12, 12, 19
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD524 000C9364 4B FF B6 0D */ bl ResWriteBPCmd__Q34nw4r3g3d6detailFPUcUl
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD528 000C9368 7F C4 F3 78 */ mr r4, r30
|
|
|
|
/* 800CD52C 000C936C 38 7F 00 05 */ addi r3, r31, 0x5
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD530 000C9370 4B FF B6 01 */ bl ResWriteBPCmd__Q34nw4r3g3d6detailFPUcUl
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD534 000C9374 7F C4 F3 78 */ mr r4, r30
|
|
|
|
/* 800CD538 000C9378 38 7F 00 0A */ addi r3, r31, 0xa
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD53C 000C937C 4B FF B5 F5 */ bl ResWriteBPCmd__Q34nw4r3g3d6detailFPUcUl
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD540 000C9380 7F C4 F3 78 */ mr r4, r30
|
|
|
|
/* 800CD544 000C9384 38 7F 00 0F */ addi r3, r31, 0xf
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD548 000C9388 4B FF B5 E9 */ bl ResWriteBPCmd__Q34nw4r3g3d6detailFPUcUl
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD54C 000C938C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 800CD550 000C9390 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 800CD554 000C9394 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
|
|
/* 800CD558 000C9398 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800CD55C 000C939C 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 800CD560 000C93A0 4E 80 00 20 */ blr
|
|
|
|
/* 800CD564 000C93A4 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD568 000C93A8 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD56C 000C93AC 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GXGetTevKColor__Q34nw4r3g3d14ResMatTevColorCF14_GXTevKColorIDP8_GXColor
|
|
|
|
GXGetTevKColor__Q34nw4r3g3d14ResMatTevColorCF14_GXTevKColorIDP8_GXColor:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD570 000C93B0 1C 04 00 0A */ mulli r0, r4, 0xa
|
|
|
|
/* 800CD574 000C93B4 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CD578 000C93B8 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 800CD57C 000C93BC 7D 23 02 14 */ add r9, r3, r0
|
|
|
|
/* 800CD580 000C93C0 88 09 00 40 */ lbz r0, 0x40(r9)
|
|
|
|
/* 800CD584 000C93C4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CD588 000C93C8 40 82 00 0C */ bne lbl_800CD594
|
|
|
|
/* 800CD58C 000C93CC 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 800CD590 000C93D0 48 00 00 90 */ b lbl_800CD620
|
|
|
|
.global lbl_800CD594
|
|
|
|
lbl_800CD594:
|
|
|
|
/* 800CD594 000C93D4 88 09 00 43 */ lbz r0, 0x43(r9)
|
|
|
|
/* 800CD598 000C93D8 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 800CD59C 000C93DC 88 C9 00 42 */ lbz r6, 0x42(r9)
|
|
|
|
/* 800CD5A0 000C93E0 88 89 00 47 */ lbz r4, 0x47(r9)
|
|
|
|
/* 800CD5A4 000C93E4 54 07 40 2E */ slwi r7, r0, 8
|
|
|
|
/* 800CD5A8 000C93E8 89 09 00 41 */ lbz r8, 0x41(r9)
|
|
|
|
/* 800CD5AC 000C93EC 54 CA 80 1E */ slwi r10, r6, 16
|
|
|
|
/* 800CD5B0 000C93F0 88 09 00 48 */ lbz r0, 0x48(r9)
|
|
|
|
/* 800CD5B4 000C93F4 54 8B 80 1E */ slwi r11, r4, 16
|
|
|
|
/* 800CD5B8 000C93F8 88 C9 00 46 */ lbz r6, 0x46(r9)
|
|
|
|
/* 800CD5BC 000C93FC 51 0A C0 0E */ rlwimi r10, r8, 24, 0, 7
|
|
|
|
/* 800CD5C0 000C9400 54 04 40 2E */ slwi r4, r0, 8
|
|
|
|
/* 800CD5C4 000C9404 88 09 00 44 */ lbz r0, 0x44(r9)
|
|
|
|
/* 800CD5C8 000C9408 7D 4A 3B 78 */ or r10, r10, r7
|
|
|
|
/* 800CD5CC 000C940C 50 CB C0 0E */ rlwimi r11, r6, 24, 0, 7
|
|
|
|
/* 800CD5D0 000C9410 7D 4A 03 78 */ or r10, r10, r0
|
|
|
|
/* 800CD5D4 000C9414 88 09 00 49 */ lbz r0, 0x49(r9)
|
|
|
|
/* 800CD5D8 000C9418 7D 6B 23 78 */ or r11, r11, r4
|
|
|
|
/* 800CD5DC 000C941C 99 41 00 08 */ stb r10, 0x8(r1)
|
|
|
|
/* 800CD5E0 000C9420 7D 6B 03 78 */ or r11, r11, r0
|
|
|
|
/* 800CD5E4 000C9424 55 40 A6 3E */ extrwi r0, r10, 8, 12
|
|
|
|
/* 800CD5E8 000C9428 55 64 A6 3E */ extrwi r4, r11, 8, 12
|
|
|
|
/* 800CD5EC 000C942C 98 81 00 09 */ stb r4, 0x9(r1)
|
|
|
|
/* 800CD5F0 000C9430 99 61 00 0A */ stb r11, 0xa(r1)
|
|
|
|
/* 800CD5F4 000C9434 98 01 00 0B */ stb r0, 0xb(r1)
|
|
|
|
/* 800CD5F8 000C9438 80 01 00 08 */ lwz r0, 0x8(r1)
|
|
|
|
/* 800CD5FC 000C943C 90 01 00 0C */ stw r0, 0xc(r1)
|
|
|
|
/* 800CD600 000C9440 88 E1 00 0C */ lbz r7, 0xc(r1)
|
|
|
|
/* 800CD604 000C9444 88 C1 00 0D */ lbz r6, 0xd(r1)
|
|
|
|
/* 800CD608 000C9448 88 81 00 0E */ lbz r4, 0xe(r1)
|
|
|
|
/* 800CD60C 000C944C 88 01 00 0F */ lbz r0, 0xf(r1)
|
|
|
|
/* 800CD610 000C9450 98 E5 00 00 */ stb r7, 0x0(r5)
|
|
|
|
/* 800CD614 000C9454 98 C5 00 01 */ stb r6, 0x1(r5)
|
|
|
|
/* 800CD618 000C9458 98 85 00 02 */ stb r4, 0x2(r5)
|
|
|
|
/* 800CD61C 000C945C 98 05 00 03 */ stb r0, 0x3(r5)
|
|
|
|
.global lbl_800CD620
|
|
|
|
lbl_800CD620:
|
|
|
|
/* 800CD620 000C9460 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 800CD624 000C9464 4E 80 00 20 */ blr
|
|
|
|
/* 800CD628 000C9468 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD62C 000C946C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GXSetTevKColor__Q34nw4r3g3d14ResMatTevColorF14_GXTevKColorID8_GXColor
|
|
|
|
GXSetTevKColor__Q34nw4r3g3d14ResMatTevColorF14_GXTevKColorID8_GXColor:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD630 000C9470 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
|
|
/* 800CD634 000C9474 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800CD638 000C9478 54 88 08 3C */ slwi r8, r4, 1
|
|
|
|
/* 800CD63C 000C947C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 800CD640 000C9480 1C E4 00 0A */ mulli r7, r4, 0xa
|
|
|
|
/* 800CD644 000C9484 38 C8 00 E1 */ addi r6, r8, 0xe1
|
|
|
|
/* 800CD648 000C9488 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
|
|
/* 800CD64C 000C948C 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
|
|
/* 800CD650 000C9490 80 83 00 00 */ lwz r4, 0x0(r3)
|
|
|
|
/* 800CD654 000C9494 88 65 00 02 */ lbz r3, 0x2(r5)
|
|
|
|
/* 800CD658 000C9498 7C E4 3A 14 */ add r7, r4, r7
|
|
|
|
/* 800CD65C 000C949C 88 05 00 00 */ lbz r0, 0x0(r5)
|
|
|
|
/* 800CD660 000C94A0 64 7E 00 80 */ oris r30, r3, 0x80
|
|
|
|
/* 800CD664 000C94A4 88 85 00 01 */ lbz r4, 0x1(r5)
|
|
|
|
/* 800CD668 000C94A8 88 65 00 03 */ lbz r3, 0x3(r5)
|
|
|
|
/* 800CD66C 000C94AC 3B E7 00 40 */ addi r31, r7, 0x40
|
|
|
|
/* 800CD670 000C94B0 50 9E 63 26 */ rlwimi r30, r4, 12, 12, 19
|
|
|
|
/* 800CD674 000C94B4 64 04 00 80 */ oris r4, r0, 0x80
|
|
|
|
/* 800CD678 000C94B8 50 64 63 26 */ rlwimi r4, r3, 12, 12, 19
|
|
|
|
/* 800CD67C 000C94BC 38 08 00 E0 */ addi r0, r8, 0xe0
|
|
|
|
/* 800CD680 000C94C0 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 800CD684 000C94C4 50 DE C0 0E */ rlwimi r30, r6, 24, 0, 7
|
|
|
|
/* 800CD688 000C94C8 50 04 C0 0E */ rlwimi r4, r0, 24, 0, 7
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD68C 000C94CC 4B FF B4 A5 */ bl ResWriteBPCmd__Q34nw4r3g3d6detailFPUcUl
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD690 000C94D0 7F C4 F3 78 */ mr r4, r30
|
|
|
|
/* 800CD694 000C94D4 38 7F 00 05 */ addi r3, r31, 0x5
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD698 000C94D8 4B FF B4 99 */ bl ResWriteBPCmd__Q34nw4r3g3d6detailFPUcUl
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD69C 000C94DC 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 800CD6A0 000C94E0 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
|
|
/* 800CD6A4 000C94E4 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
|
|
/* 800CD6A8 000C94E8 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800CD6AC 000C94EC 38 21 00 10 */ addi r1, r1, 0x10
|
|
|
|
/* 800CD6B0 000C94F0 4E 80 00 20 */ blr
|
|
|
|
/* 800CD6B4 000C94F4 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD6B8 000C94F8 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD6BC 000C94FC 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global CallDisplayList__Q34nw4r3g3d20ResMatIndMtxAndScaleCFUcb
|
|
|
|
CallDisplayList__Q34nw4r3g3d20ResMatIndMtxAndScaleCFUcb:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD6C0 000C9500 2C 04 00 00 */ cmpwi r4, 0x0
|
|
|
|
/* 800CD6C4 000C9504 4D 82 00 20 */ beqlr
|
|
|
|
/* 800CD6C8 000C9508 2C 05 00 00 */ cmpwi r5, 0x0
|
|
|
|
/* 800CD6CC 000C950C 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CD6D0 000C9510 41 82 00 0C */ beq lbl_800CD6DC
|
|
|
|
/* 800CD6D4 000C9514 38 80 00 40 */ li r4, 0x40
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD6D8 000C9518 4B F6 B3 78 */ b GXCallDisplayList
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CD6DC
|
|
|
|
lbl_800CD6DC:
|
|
|
|
/* 800CD6DC 000C951C 3C 80 CC 01 */ lis r4, 0xCC008000@ha
|
|
|
|
/* 800CD6E0 000C9520 38 00 00 40 */ li r0, 0x40
|
|
|
|
/* 800CD6E4 000C9524 98 04 80 00 */ stb r0, 0xCC008000@l(r4)
|
|
|
|
/* 800CD6E8 000C9528 90 64 80 00 */ stw r3, -0x8000(r4)
|
|
|
|
/* 800CD6EC 000C952C 90 04 80 00 */ stw r0, -0x8000(r4)
|
|
|
|
/* 800CD6F0 000C9530 4E 80 00 20 */ blr
|
|
|
|
/* 800CD6F4 000C9534 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD6F8 000C9538 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD6FC 000C953C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GXGetIndTexMtx__Q34nw4r3g3d20ResMatIndMtxAndScaleCF14_GXIndTexMtxIDPQ34nw4r4math5MTX34
|
|
|
|
GXGetIndTexMtx__Q34nw4r3g3d20ResMatIndMtxAndScaleCF14_GXIndTexMtxIDPQ34nw4r4math5MTX34:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD700 000C9540 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 800CD704 000C9544 3C 00 43 30 */ lis r0, 0x4330
|
|
|
|
/* 800CD708 000C9548 2C 04 00 01 */ cmpwi r4, 0x1
|
|
|
|
/* 800CD70C 000C954C 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CD710 000C9550 90 01 00 08 */ stw r0, 0x8(r1)
|
|
|
|
/* 800CD714 000C9554 90 01 00 10 */ stw r0, 0x10(r1)
|
|
|
|
/* 800CD718 000C9558 41 82 00 18 */ beq lbl_800CD730
|
|
|
|
/* 800CD71C 000C955C 2C 04 00 02 */ cmpwi r4, 0x2
|
|
|
|
/* 800CD720 000C9560 41 82 00 18 */ beq lbl_800CD738
|
|
|
|
/* 800CD724 000C9564 2C 04 00 03 */ cmpwi r4, 0x3
|
|
|
|
/* 800CD728 000C9568 41 82 00 18 */ beq lbl_800CD740
|
|
|
|
/* 800CD72C 000C956C 48 00 00 1C */ b lbl_800CD748
|
|
|
|
.global lbl_800CD730
|
|
|
|
lbl_800CD730:
|
|
|
|
/* 800CD730 000C9570 39 63 00 0A */ addi r11, r3, 0xa
|
|
|
|
/* 800CD734 000C9574 48 00 00 1C */ b lbl_800CD750
|
|
|
|
.global lbl_800CD738
|
|
|
|
lbl_800CD738:
|
|
|
|
/* 800CD738 000C9578 39 63 00 20 */ addi r11, r3, 0x20
|
|
|
|
/* 800CD73C 000C957C 48 00 00 14 */ b lbl_800CD750
|
|
|
|
.global lbl_800CD740
|
|
|
|
lbl_800CD740:
|
|
|
|
/* 800CD740 000C9580 39 63 00 2F */ addi r11, r3, 0x2f
|
|
|
|
/* 800CD744 000C9584 48 00 00 0C */ b lbl_800CD750
|
|
|
|
.global lbl_800CD748
|
|
|
|
lbl_800CD748:
|
|
|
|
/* 800CD748 000C9588 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 800CD74C 000C958C 48 00 02 64 */ b lbl_800CD9B0
|
|
|
|
.global lbl_800CD750
|
|
|
|
lbl_800CD750:
|
|
|
|
/* 800CD750 000C9590 88 0B 00 00 */ lbz r0, 0x0(r11)
|
|
|
|
/* 800CD754 000C9594 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CD758 000C9598 40 82 00 0C */ bne lbl_800CD764
|
|
|
|
/* 800CD75C 000C959C 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 800CD760 000C95A0 48 00 02 50 */ b lbl_800CD9B0
|
|
|
|
.global lbl_800CD764
|
|
|
|
lbl_800CD764:
|
|
|
|
/* 800CD764 000C95A4 88 0B 00 02 */ lbz r0, 0x2(r11)
|
|
|
|
/* 800CD768 000C95A8 88 8B 00 03 */ lbz r4, 0x3(r11)
|
|
|
|
/* 800CD76C 000C95AC 88 6B 00 07 */ lbz r3, 0x7(r11)
|
|
|
|
/* 800CD770 000C95B0 54 00 80 1E */ slwi r0, r0, 16
|
|
|
|
/* 800CD774 000C95B4 89 0B 00 01 */ lbz r8, 0x1(r11)
|
|
|
|
/* 800CD778 000C95B8 54 8A 40 2E */ slwi r10, r4, 8
|
|
|
|
/* 800CD77C 000C95BC 88 CB 00 08 */ lbz r6, 0x8(r11)
|
|
|
|
/* 800CD780 000C95C0 54 63 80 1E */ slwi r3, r3, 16
|
|
|
|
/* 800CD784 000C95C4 51 00 C0 0E */ rlwimi r0, r8, 24, 0, 7
|
|
|
|
/* 800CD788 000C95C8 88 EB 00 06 */ lbz r7, 0x6(r11)
|
|
|
|
/* 800CD78C 000C95CC 88 8B 00 0C */ lbz r4, 0xc(r11)
|
|
|
|
/* 800CD790 000C95D0 54 C9 40 2E */ slwi r9, r6, 8
|
|
|
|
/* 800CD794 000C95D4 50 E3 C0 0E */ rlwimi r3, r7, 24, 0, 7
|
|
|
|
/* 800CD798 000C95D8 88 CB 00 0D */ lbz r6, 0xd(r11)
|
|
|
|
/* 800CD79C 000C95DC 88 EB 00 0B */ lbz r7, 0xb(r11)
|
|
|
|
/* 800CD7A0 000C95E0 54 84 80 1E */ slwi r4, r4, 16
|
|
|
|
/* 800CD7A4 000C95E4 89 0B 00 04 */ lbz r8, 0x4(r11)
|
|
|
|
/* 800CD7A8 000C95E8 7C 00 53 78 */ or r0, r0, r10
|
|
|
|
/* 800CD7AC 000C95EC 50 E4 C0 0E */ rlwimi r4, r7, 24, 0, 7
|
|
|
|
/* 800CD7B0 000C95F0 54 C6 40 2E */ slwi r6, r6, 8
|
|
|
|
/* 800CD7B4 000C95F4 7C 00 43 78 */ or r0, r0, r8
|
|
|
|
/* 800CD7B8 000C95F8 89 0B 00 09 */ lbz r8, 0x9(r11)
|
|
|
|
/* 800CD7BC 000C95FC 7C 63 4B 78 */ or r3, r3, r9
|
|
|
|
/* 800CD7C0 000C9600 7C 84 33 78 */ or r4, r4, r6
|
|
|
|
/* 800CD7C4 000C9604 88 EB 00 0E */ lbz r7, 0xe(r11)
|
|
|
|
/* 800CD7C8 000C9608 7C 63 43 78 */ or r3, r3, r8
|
|
|
|
/* 800CD7CC 000C960C 54 06 57 BE */ extrwi r6, r0, 2, 8
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD7D0 000C9610 C1 42 8E AC */ lfs f10, "@13982"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD7D4 000C9614 7C 84 3B 78 */ or r4, r4, r7
|
|
|
|
/* 800CD7D8 000C9618 50 66 67 3A */ rlwimi r6, r3, 12, 28, 29
|
|
|
|
/* 800CD7DC 000C961C 50 86 76 B6 */ rlwimi r6, r4, 14, 26, 27
|
|
|
|
/* 800CD7E0 000C9620 38 C6 FF EF */ addi r6, r6, -0x11
|
|
|
|
/* 800CD7E4 000C9624 7C C8 07 75 */ extsb. r8, r6
|
|
|
|
/* 800CD7E8 000C9628 40 81 00 60 */ ble lbl_800CD848
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD7EC 000C962C C0 02 8E C0 */ lfs f0, "@14587"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD7F0 000C9630 7D 07 43 78 */ mr r7, r8
|
|
|
|
/* 800CD7F4 000C9634 41 82 00 B0 */ beq lbl_800CD8A4
|
|
|
|
/* 800CD7F8 000C9638 55 06 E8 FF */ srwi. r6, r8, 3
|
|
|
|
/* 800CD7FC 000C963C 7C C9 03 A6 */ mtctr r6
|
|
|
|
/* 800CD800 000C9640 41 82 00 34 */ beq lbl_800CD834
|
|
|
|
.global lbl_800CD804
|
|
|
|
lbl_800CD804:
|
|
|
|
/* 800CD804 000C9644 ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD808 000C9648 39 08 FF F8 */ addi r8, r8, -0x8
|
|
|
|
/* 800CD80C 000C964C ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD810 000C9650 ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD814 000C9654 ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD818 000C9658 ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD81C 000C965C ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD820 000C9660 ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD824 000C9664 ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD828 000C9668 42 00 FF DC */ bdnz lbl_800CD804
|
|
|
|
/* 800CD82C 000C966C 70 E7 00 07 */ andi. r7, r7, 0x7
|
|
|
|
/* 800CD830 000C9670 41 82 00 74 */ beq lbl_800CD8A4
|
|
|
|
.global lbl_800CD834
|
|
|
|
lbl_800CD834:
|
|
|
|
/* 800CD834 000C9674 7C E9 03 A6 */ mtctr r7
|
|
|
|
.global lbl_800CD838
|
|
|
|
lbl_800CD838:
|
|
|
|
/* 800CD838 000C9678 ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD83C 000C967C 39 08 FF FF */ addi r8, r8, -0x1
|
|
|
|
/* 800CD840 000C9680 42 00 FF F8 */ bdnz lbl_800CD838
|
|
|
|
/* 800CD844 000C9684 48 00 00 60 */ b lbl_800CD8A4
|
|
|
|
.global lbl_800CD848
|
|
|
|
lbl_800CD848:
|
|
|
|
/* 800CD848 000C9688 40 80 00 5C */ bge lbl_800CD8A4
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD84C 000C968C C0 02 8E C4 */ lfs f0, "@14588"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD850 000C9690 7C E8 00 D0 */ neg r7, r8
|
|
|
|
/* 800CD854 000C9694 41 82 00 50 */ beq lbl_800CD8A4
|
|
|
|
/* 800CD858 000C9698 54 E6 E8 FF */ srwi. r6, r7, 3
|
|
|
|
/* 800CD85C 000C969C 7C C9 03 A6 */ mtctr r6
|
|
|
|
/* 800CD860 000C96A0 41 82 00 34 */ beq lbl_800CD894
|
|
|
|
.global lbl_800CD864
|
|
|
|
lbl_800CD864:
|
|
|
|
/* 800CD864 000C96A4 ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD868 000C96A8 39 08 00 08 */ addi r8, r8, 0x8
|
|
|
|
/* 800CD86C 000C96AC ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD870 000C96B0 ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD874 000C96B4 ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD878 000C96B8 ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD87C 000C96BC ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD880 000C96C0 ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD884 000C96C4 ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD888 000C96C8 42 00 FF DC */ bdnz lbl_800CD864
|
|
|
|
/* 800CD88C 000C96CC 70 E7 00 07 */ andi. r7, r7, 0x7
|
|
|
|
/* 800CD890 000C96D0 41 82 00 14 */ beq lbl_800CD8A4
|
|
|
|
.global lbl_800CD894
|
|
|
|
lbl_800CD894:
|
|
|
|
/* 800CD894 000C96D4 7C E9 03 A6 */ mtctr r7
|
|
|
|
.global lbl_800CD898
|
|
|
|
lbl_800CD898:
|
|
|
|
/* 800CD898 000C96D8 ED 4A 00 32 */ fmuls f10, f10, f0
|
|
|
|
/* 800CD89C 000C96DC 39 08 00 01 */ addi r8, r8, 0x1
|
|
|
|
/* 800CD8A0 000C96E0 42 00 FF F8 */ bdnz lbl_800CD898
|
|
|
|
.global lbl_800CD8A4
|
|
|
|
lbl_800CD8A4:
|
|
|
|
/* 800CD8A4 000C96E4 2C 05 00 00 */ cmpwi r5, 0x0
|
|
|
|
/* 800CD8A8 000C96E8 41 82 01 04 */ beq lbl_800CD9AC
|
|
|
|
/* 800CD8AC 000C96EC 54 06 A8 14 */ slwi r6, r0, 21
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD8B0 000C96F0 C0 82 8E A8 */ lfs f4, "@13919"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD8B4 000C96F4 7C C8 AE 70 */ srawi r8, r6, 21
|
|
|
|
/* 800CD8B8 000C96F8 54 00 50 14 */ extlwi r0, r0, 11, 10
|
|
|
|
/* 800CD8BC 000C96FC 54 66 A8 14 */ slwi r6, r3, 21
|
|
|
|
/* 800CD8C0 000C9700 54 63 50 14 */ extlwi r3, r3, 11, 10
|
|
|
|
/* 800CD8C4 000C9704 7C C7 AE 70 */ srawi r7, r6, 21
|
|
|
|
/* 800CD8C8 000C9708 6D 08 80 00 */ xoris r8, r8, 0x8000
|
|
|
|
/* 800CD8CC 000C970C 91 01 00 0C */ stw r8, 0xc(r1)
|
|
|
|
/* 800CD8D0 000C9710 6C E7 80 00 */ xoris r7, r7, 0x8000
|
|
|
|
/* 800CD8D4 000C9714 54 86 A8 14 */ slwi r6, r4, 21
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD8D8 000C9718 C9 22 8E D0 */ lfd f9, "@14594"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD8DC 000C971C 7C C6 AE 70 */ srawi r6, r6, 21
|
|
|
|
/* 800CD8E0 000C9720 90 E1 00 14 */ stw r7, 0x14(r1)
|
|
|
|
/* 800CD8E4 000C9724 C8 01 00 08 */ lfd f0, 0x8(r1)
|
|
|
|
/* 800CD8E8 000C9728 7C 00 AE 70 */ srawi r0, r0, 21
|
|
|
|
/* 800CD8EC 000C972C C8 41 00 10 */ lfd f2, 0x10(r1)
|
|
|
|
/* 800CD8F0 000C9730 6C C6 80 00 */ xoris r6, r6, 0x8000
|
|
|
|
/* 800CD8F4 000C9734 90 C1 00 0C */ stw r6, 0xc(r1)
|
|
|
|
/* 800CD8F8 000C9738 6C 06 80 00 */ xoris r6, r0, 0x8000
|
|
|
|
/* 800CD8FC 000C973C 7C 63 AE 70 */ srawi r3, r3, 21
|
|
|
|
/* 800CD900 000C9740 54 80 50 14 */ extlwi r0, r4, 11, 10
|
|
|
|
/* 800CD904 000C9744 90 C1 00 14 */ stw r6, 0x14(r1)
|
|
|
|
/* 800CD908 000C9748 7C 00 AE 70 */ srawi r0, r0, 21
|
|
|
|
/* 800CD90C 000C974C C8 21 00 08 */ lfd f1, 0x8(r1)
|
|
|
|
/* 800CD910 000C9750 6C 63 80 00 */ xoris r3, r3, 0x8000
|
|
|
|
/* 800CD914 000C9754 C8 61 00 10 */ lfd f3, 0x10(r1)
|
|
|
|
/* 800CD918 000C9758 6C 00 80 00 */ xoris r0, r0, 0x8000
|
|
|
|
/* 800CD91C 000C975C EC C2 48 28 */ fsubs f6, f2, f9
|
|
|
|
/* 800CD920 000C9760 90 61 00 0C */ stw r3, 0xc(r1)
|
|
|
|
/* 800CD924 000C9764 EC E0 48 28 */ fsubs f7, f0, f9
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD928 000C9768 C0 02 8E AC */ lfs f0, "@13982"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD92C 000C976C C8 41 00 08 */ lfd f2, 0x8(r1)
|
|
|
|
/* 800CD930 000C9770 EC A1 48 28 */ fsubs f5, f1, f9
|
|
|
|
/* 800CD934 000C9774 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 800CD938 000C9778 EC 63 48 28 */ fsubs f3, f3, f9
|
|
|
|
/* 800CD93C 000C977C EC 42 48 28 */ fsubs f2, f2, f9
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CD940 000C9780 C1 02 8E C8 */ lfs f8, "@14589"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD944 000C9784 C8 21 00 10 */ lfd f1, 0x10(r1)
|
|
|
|
/* 800CD948 000C9788 EC EA 01 F2 */ fmuls f7, f10, f7
|
|
|
|
/* 800CD94C 000C978C EC CA 01 B2 */ fmuls f6, f10, f6
|
|
|
|
/* 800CD950 000C9790 EC 21 48 28 */ fsubs f1, f1, f9
|
|
|
|
/* 800CD954 000C9794 EC AA 01 72 */ fmuls f5, f10, f5
|
|
|
|
/* 800CD958 000C9798 D0 85 00 0C */ stfs f4, 0xc(r5)
|
|
|
|
/* 800CD95C 000C979C EC 6A 00 F2 */ fmuls f3, f10, f3
|
|
|
|
/* 800CD960 000C97A0 EC 4A 00 B2 */ fmuls f2, f10, f2
|
|
|
|
/* 800CD964 000C97A4 D0 85 00 1C */ stfs f4, 0x1c(r5)
|
|
|
|
/* 800CD968 000C97A8 EC 2A 00 72 */ fmuls f1, f10, f1
|
|
|
|
/* 800CD96C 000C97AC EC E8 01 F2 */ fmuls f7, f8, f7
|
|
|
|
/* 800CD970 000C97B0 D0 85 00 20 */ stfs f4, 0x20(r5)
|
|
|
|
/* 800CD974 000C97B4 EC C8 01 B2 */ fmuls f6, f8, f6
|
|
|
|
/* 800CD978 000C97B8 EC A8 01 72 */ fmuls f5, f8, f5
|
|
|
|
/* 800CD97C 000C97BC D0 85 00 24 */ stfs f4, 0x24(r5)
|
|
|
|
/* 800CD980 000C97C0 EC 68 00 F2 */ fmuls f3, f8, f3
|
|
|
|
/* 800CD984 000C97C4 EC 48 00 B2 */ fmuls f2, f8, f2
|
|
|
|
/* 800CD988 000C97C8 D0 E5 00 00 */ stfs f7, 0x0(r5)
|
|
|
|
/* 800CD98C 000C97CC EC 28 00 72 */ fmuls f1, f8, f1
|
|
|
|
/* 800CD990 000C97D0 D0 C5 00 04 */ stfs f6, 0x4(r5)
|
|
|
|
/* 800CD994 000C97D4 D0 A5 00 08 */ stfs f5, 0x8(r5)
|
|
|
|
/* 800CD998 000C97D8 D0 65 00 10 */ stfs f3, 0x10(r5)
|
|
|
|
/* 800CD99C 000C97DC D0 45 00 14 */ stfs f2, 0x14(r5)
|
|
|
|
/* 800CD9A0 000C97E0 D0 25 00 18 */ stfs f1, 0x18(r5)
|
|
|
|
/* 800CD9A4 000C97E4 D0 05 00 28 */ stfs f0, 0x28(r5)
|
|
|
|
/* 800CD9A8 000C97E8 D0 85 00 2C */ stfs f4, 0x2c(r5)
|
|
|
|
.global lbl_800CD9AC
|
|
|
|
lbl_800CD9AC:
|
|
|
|
/* 800CD9AC 000C97EC 38 60 00 01 */ li r3, 0x1
|
|
|
|
.global lbl_800CD9B0
|
|
|
|
lbl_800CD9B0:
|
|
|
|
/* 800CD9B0 000C97F0 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 800CD9B4 000C97F4 4E 80 00 20 */ blr
|
|
|
|
/* 800CD9B8 000C97F8 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CD9BC 000C97FC 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GXGetIndTexMtx__Q34nw4r3g3d20ResMatIndMtxAndScaleCF14_GXIndTexMtxIDPQ34nw4r4math5MTX34PSc
|
|
|
|
GXGetIndTexMtx__Q34nw4r3g3d20ResMatIndMtxAndScaleCF14_GXIndTexMtxIDPQ34nw4r4math5MTX34PSc:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CD9C0 000C9800 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
|
|
/* 800CD9C4 000C9804 3C 00 43 30 */ lis r0, 0x4330
|
|
|
|
/* 800CD9C8 000C9808 2C 04 00 01 */ cmpwi r4, 0x1
|
|
|
|
/* 800CD9CC 000C980C 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CD9D0 000C9810 90 01 00 08 */ stw r0, 0x8(r1)
|
|
|
|
/* 800CD9D4 000C9814 90 01 00 10 */ stw r0, 0x10(r1)
|
|
|
|
/* 800CD9D8 000C9818 41 82 00 18 */ beq lbl_800CD9F0
|
|
|
|
/* 800CD9DC 000C981C 2C 04 00 02 */ cmpwi r4, 0x2
|
|
|
|
/* 800CD9E0 000C9820 41 82 00 18 */ beq lbl_800CD9F8
|
|
|
|
/* 800CD9E4 000C9824 2C 04 00 03 */ cmpwi r4, 0x3
|
|
|
|
/* 800CD9E8 000C9828 41 82 00 18 */ beq lbl_800CDA00
|
|
|
|
/* 800CD9EC 000C982C 48 00 00 1C */ b lbl_800CDA08
|
|
|
|
.global lbl_800CD9F0
|
|
|
|
lbl_800CD9F0:
|
|
|
|
/* 800CD9F0 000C9830 39 83 00 0A */ addi r12, r3, 0xa
|
|
|
|
/* 800CD9F4 000C9834 48 00 00 1C */ b lbl_800CDA10
|
|
|
|
.global lbl_800CD9F8
|
|
|
|
lbl_800CD9F8:
|
|
|
|
/* 800CD9F8 000C9838 39 83 00 20 */ addi r12, r3, 0x20
|
|
|
|
/* 800CD9FC 000C983C 48 00 00 14 */ b lbl_800CDA10
|
|
|
|
.global lbl_800CDA00
|
|
|
|
lbl_800CDA00:
|
|
|
|
/* 800CDA00 000C9840 39 83 00 2F */ addi r12, r3, 0x2f
|
|
|
|
/* 800CDA04 000C9844 48 00 00 0C */ b lbl_800CDA10
|
|
|
|
.global lbl_800CDA08
|
|
|
|
lbl_800CDA08:
|
|
|
|
/* 800CDA08 000C9848 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 800CDA0C 000C984C 48 00 01 94 */ b lbl_800CDBA0
|
|
|
|
.global lbl_800CDA10
|
|
|
|
lbl_800CDA10:
|
|
|
|
/* 800CDA10 000C9850 88 0C 00 00 */ lbz r0, 0x0(r12)
|
|
|
|
/* 800CDA14 000C9854 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CDA18 000C9858 40 82 00 0C */ bne lbl_800CDA24
|
|
|
|
/* 800CDA1C 000C985C 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 800CDA20 000C9860 48 00 01 80 */ b lbl_800CDBA0
|
|
|
|
.global lbl_800CDA24
|
|
|
|
lbl_800CDA24:
|
|
|
|
/* 800CDA24 000C9864 88 8C 00 02 */ lbz r4, 0x2(r12)
|
|
|
|
/* 800CDA28 000C9868 2C 06 00 00 */ cmpwi r6, 0x0
|
|
|
|
/* 800CDA2C 000C986C 88 6C 00 03 */ lbz r3, 0x3(r12)
|
|
|
|
/* 800CDA30 000C9870 54 8A 80 1E */ slwi r10, r4, 16
|
|
|
|
/* 800CDA34 000C9874 88 8C 00 01 */ lbz r4, 0x1(r12)
|
|
|
|
/* 800CDA38 000C9878 54 69 40 2E */ slwi r9, r3, 8
|
|
|
|
/* 800CDA3C 000C987C 88 6C 00 08 */ lbz r3, 0x8(r12)
|
|
|
|
/* 800CDA40 000C9880 50 8A C0 0E */ rlwimi r10, r4, 24, 0, 7
|
|
|
|
/* 800CDA44 000C9884 88 0C 00 07 */ lbz r0, 0x7(r12)
|
|
|
|
/* 800CDA48 000C9888 88 8C 00 0C */ lbz r4, 0xc(r12)
|
|
|
|
/* 800CDA4C 000C988C 54 68 40 2E */ slwi r8, r3, 8
|
|
|
|
/* 800CDA50 000C9890 88 EC 00 06 */ lbz r7, 0x6(r12)
|
|
|
|
/* 800CDA54 000C9894 54 00 80 1E */ slwi r0, r0, 16
|
|
|
|
/* 800CDA58 000C9898 88 6C 00 0D */ lbz r3, 0xd(r12)
|
|
|
|
/* 800CDA5C 000C989C 54 8B 80 1E */ slwi r11, r4, 16
|
|
|
|
/* 800CDA60 000C98A0 50 E0 C0 0E */ rlwimi r0, r7, 24, 0, 7
|
|
|
|
/* 800CDA64 000C98A4 88 EC 00 0B */ lbz r7, 0xb(r12)
|
|
|
|
/* 800CDA68 000C98A8 54 64 40 2E */ slwi r4, r3, 8
|
|
|
|
/* 800CDA6C 000C98AC 88 6C 00 04 */ lbz r3, 0x4(r12)
|
|
|
|
/* 800CDA70 000C98B0 50 EB C0 0E */ rlwimi r11, r7, 24, 0, 7
|
|
|
|
/* 800CDA74 000C98B4 7D 4A 4B 78 */ or r10, r10, r9
|
|
|
|
/* 800CDA78 000C98B8 7D 4A 1B 78 */ or r10, r10, r3
|
|
|
|
/* 800CDA7C 000C98BC 88 EC 00 09 */ lbz r7, 0x9(r12)
|
|
|
|
/* 800CDA80 000C98C0 7C 00 43 78 */ or r0, r0, r8
|
|
|
|
/* 800CDA84 000C98C4 7D 6B 23 78 */ or r11, r11, r4
|
|
|
|
/* 800CDA88 000C98C8 88 6C 00 0E */ lbz r3, 0xe(r12)
|
|
|
|
/* 800CDA8C 000C98CC 7C 00 3B 78 */ or r0, r0, r7
|
|
|
|
/* 800CDA90 000C98D0 55 44 57 BE */ extrwi r4, r10, 2, 8
|
|
|
|
/* 800CDA94 000C98D4 7D 6B 1B 78 */ or r11, r11, r3
|
|
|
|
/* 800CDA98 000C98D8 50 04 67 3A */ rlwimi r4, r0, 12, 28, 29
|
|
|
|
/* 800CDA9C 000C98DC 51 64 76 B6 */ rlwimi r4, r11, 14, 26, 27
|
|
|
|
/* 800CDAA0 000C98E0 41 82 00 0C */ beq lbl_800CDAAC
|
|
|
|
/* 800CDAA4 000C98E4 38 64 FF EF */ addi r3, r4, -0x11
|
|
|
|
/* 800CDAA8 000C98E8 98 66 00 00 */ stb r3, 0x0(r6)
|
|
|
|
.global lbl_800CDAAC
|
|
|
|
lbl_800CDAAC:
|
|
|
|
/* 800CDAAC 000C98EC 2C 05 00 00 */ cmpwi r5, 0x0
|
|
|
|
/* 800CDAB0 000C98F0 41 82 00 EC */ beq lbl_800CDB9C
|
|
|
|
/* 800CDAB4 000C98F4 55 43 A8 14 */ slwi r3, r10, 21
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CDAB8 000C98F8 C0 82 8E A8 */ lfs f4, "@13919"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CDABC 000C98FC 7C 66 AE 70 */ srawi r6, r3, 21
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CDAC0 000C9900 C9 22 8E D0 */ lfd f9, "@14594"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CDAC4 000C9904 54 03 A8 14 */ slwi r3, r0, 21
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CDAC8 000C9908 C1 02 8E C8 */ lfs f8, "@14589"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CDACC 000C990C 7C 64 AE 70 */ srawi r4, r3, 21
|
|
|
|
/* 800CDAD0 000C9910 6C C6 80 00 */ xoris r6, r6, 0x8000
|
|
|
|
/* 800CDAD4 000C9914 90 C1 00 0C */ stw r6, 0xc(r1)
|
|
|
|
/* 800CDAD8 000C9918 6C 86 80 00 */ xoris r6, r4, 0x8000
|
|
|
|
/* 800CDADC 000C991C 55 63 A8 14 */ slwi r3, r11, 21
|
|
|
|
/* 800CDAE0 000C9920 7C 64 AE 70 */ srawi r4, r3, 21
|
|
|
|
/* 800CDAE4 000C9924 90 C1 00 14 */ stw r6, 0x14(r1)
|
|
|
|
/* 800CDAE8 000C9928 55 43 50 14 */ extlwi r3, r10, 11, 10
|
|
|
|
/* 800CDAEC 000C992C C8 61 00 08 */ lfd f3, 0x8(r1)
|
|
|
|
/* 800CDAF0 000C9930 C8 01 00 10 */ lfd f0, 0x10(r1)
|
|
|
|
/* 800CDAF4 000C9934 6C 84 80 00 */ xoris r4, r4, 0x8000
|
|
|
|
/* 800CDAF8 000C9938 90 81 00 0C */ stw r4, 0xc(r1)
|
|
|
|
/* 800CDAFC 000C993C 7C 63 AE 70 */ srawi r3, r3, 21
|
|
|
|
/* 800CDB00 000C9940 6C 64 80 00 */ xoris r4, r3, 0x8000
|
|
|
|
/* 800CDB04 000C9944 EC C0 48 28 */ fsubs f6, f0, f9
|
|
|
|
/* 800CDB08 000C9948 54 03 50 14 */ extlwi r3, r0, 11, 10
|
|
|
|
/* 800CDB0C 000C994C 90 81 00 14 */ stw r4, 0x14(r1)
|
|
|
|
/* 800CDB10 000C9950 7C 63 AE 70 */ srawi r3, r3, 21
|
|
|
|
/* 800CDB14 000C9954 55 60 50 14 */ extlwi r0, r11, 11, 10
|
|
|
|
/* 800CDB18 000C9958 C8 21 00 08 */ lfd f1, 0x8(r1)
|
|
|
|
/* 800CDB1C 000C995C 7C 00 AE 70 */ srawi r0, r0, 21
|
|
|
|
/* 800CDB20 000C9960 6C 63 80 00 */ xoris r3, r3, 0x8000
|
|
|
|
/* 800CDB24 000C9964 90 61 00 0C */ stw r3, 0xc(r1)
|
|
|
|
/* 800CDB28 000C9968 EC A1 48 28 */ fsubs f5, f1, f9
|
|
|
|
/* 800CDB2C 000C996C EC E3 48 28 */ fsubs f7, f3, f9
|
|
|
|
/* 800CDB30 000C9970 C8 41 00 10 */ lfd f2, 0x10(r1)
|
|
|
|
/* 800CDB34 000C9974 6C 00 80 00 */ xoris r0, r0, 0x8000
|
|
|
|
/* 800CDB38 000C9978 C8 01 00 08 */ lfd f0, 0x8(r1)
|
|
|
|
/* 800CDB3C 000C997C EC 62 48 28 */ fsubs f3, f2, f9
|
|
|
|
/* 800CDB40 000C9980 EC 40 48 28 */ fsubs f2, f0, f9
|
|
|
|
/* 800CDB44 000C9984 90 01 00 14 */ stw r0, 0x14(r1)
|
|
|
|
/* 800CDB48 000C9988 EC E8 01 F2 */ fmuls f7, f8, f7
|
|
|
|
/* 800CDB4C 000C998C EC C8 01 B2 */ fmuls f6, f8, f6
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CDB50 000C9990 C0 02 8E AC */ lfs f0, "@13982"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CDB54 000C9994 C8 21 00 10 */ lfd f1, 0x10(r1)
|
|
|
|
/* 800CDB58 000C9998 EC A8 01 72 */ fmuls f5, f8, f5
|
|
|
|
/* 800CDB5C 000C999C D0 85 00 0C */ stfs f4, 0xc(r5)
|
|
|
|
/* 800CDB60 000C99A0 EC 21 48 28 */ fsubs f1, f1, f9
|
|
|
|
/* 800CDB64 000C99A4 EC 68 00 F2 */ fmuls f3, f8, f3
|
|
|
|
/* 800CDB68 000C99A8 D0 E5 00 00 */ stfs f7, 0x0(r5)
|
|
|
|
/* 800CDB6C 000C99AC EC 48 00 B2 */ fmuls f2, f8, f2
|
|
|
|
/* 800CDB70 000C99B0 EC 28 00 72 */ fmuls f1, f8, f1
|
|
|
|
/* 800CDB74 000C99B4 D0 C5 00 04 */ stfs f6, 0x4(r5)
|
|
|
|
/* 800CDB78 000C99B8 D0 A5 00 08 */ stfs f5, 0x8(r5)
|
|
|
|
/* 800CDB7C 000C99BC D0 65 00 10 */ stfs f3, 0x10(r5)
|
|
|
|
/* 800CDB80 000C99C0 D0 45 00 14 */ stfs f2, 0x14(r5)
|
|
|
|
/* 800CDB84 000C99C4 D0 25 00 18 */ stfs f1, 0x18(r5)
|
|
|
|
/* 800CDB88 000C99C8 D0 85 00 1C */ stfs f4, 0x1c(r5)
|
|
|
|
/* 800CDB8C 000C99CC D0 85 00 20 */ stfs f4, 0x20(r5)
|
|
|
|
/* 800CDB90 000C99D0 D0 85 00 24 */ stfs f4, 0x24(r5)
|
|
|
|
/* 800CDB94 000C99D4 D0 05 00 28 */ stfs f0, 0x28(r5)
|
|
|
|
/* 800CDB98 000C99D8 D0 85 00 2C */ stfs f4, 0x2c(r5)
|
|
|
|
.global lbl_800CDB9C
|
|
|
|
lbl_800CDB9C:
|
|
|
|
/* 800CDB9C 000C99DC 38 60 00 01 */ li r3, 0x1
|
|
|
|
.global lbl_800CDBA0
|
|
|
|
lbl_800CDBA0:
|
|
|
|
/* 800CDBA0 000C99E0 38 21 00 20 */ addi r1, r1, 0x20
|
|
|
|
/* 800CDBA4 000C99E4 4E 80 00 20 */ blr
|
|
|
|
/* 800CDBA8 000C99E8 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CDBAC 000C99EC 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GXSetIndTexMtx__Q34nw4r3g3d20ResMatIndMtxAndScaleF14_GXIndTexMtxIDRCQ34nw4r4math5MTX34Sc
|
|
|
|
GXSetIndTexMtx__Q34nw4r3g3d20ResMatIndMtxAndScaleF14_GXIndTexMtxIDRCQ34nw4r4math5MTX34Sc:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CDBB0 000C99F0 94 21 FF B0 */ stwu r1, -0x50(r1)
|
|
|
|
/* 800CDBB4 000C99F4 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800CDBB8 000C99F8 2C 04 00 01 */ cmpwi r4, 0x1
|
|
|
|
/* 800CDBBC 000C99FC 90 01 00 54 */ stw r0, 0x54(r1)
|
|
|
|
/* 800CDBC0 000C9A00 93 E1 00 4C */ stw r31, 0x4c(r1)
|
|
|
|
/* 800CDBC4 000C9A04 93 C1 00 48 */ stw r30, 0x48(r1)
|
|
|
|
/* 800CDBC8 000C9A08 93 A1 00 44 */ stw r29, 0x44(r1)
|
|
|
|
/* 800CDBCC 000C9A0C 93 81 00 40 */ stw r28, 0x40(r1)
|
|
|
|
/* 800CDBD0 000C9A10 7C BC 2B 78 */ mr r28, r5
|
|
|
|
/* 800CDBD4 000C9A14 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CDBD8 000C9A18 41 82 00 18 */ beq lbl_800CDBF0
|
|
|
|
/* 800CDBDC 000C9A1C 2C 04 00 02 */ cmpwi r4, 0x2
|
|
|
|
/* 800CDBE0 000C9A20 41 82 00 1C */ beq lbl_800CDBFC
|
|
|
|
/* 800CDBE4 000C9A24 2C 04 00 03 */ cmpwi r4, 0x3
|
|
|
|
/* 800CDBE8 000C9A28 41 82 00 20 */ beq lbl_800CDC08
|
|
|
|
/* 800CDBEC 000C9A2C 48 00 01 10 */ b lbl_800CDCFC
|
|
|
|
.global lbl_800CDBF0
|
|
|
|
lbl_800CDBF0:
|
|
|
|
/* 800CDBF0 000C9A30 3B C3 00 0A */ addi r30, r3, 0xa
|
|
|
|
/* 800CDBF4 000C9A34 3B E0 00 00 */ li r31, 0x0
|
|
|
|
/* 800CDBF8 000C9A38 48 00 00 20 */ b lbl_800CDC18
|
|
|
|
.global lbl_800CDBFC
|
|
|
|
lbl_800CDBFC:
|
|
|
|
/* 800CDBFC 000C9A3C 3B C3 00 20 */ addi r30, r3, 0x20
|
|
|
|
/* 800CDC00 000C9A40 3B E0 00 03 */ li r31, 0x3
|
|
|
|
/* 800CDC04 000C9A44 48 00 00 14 */ b lbl_800CDC18
|
|
|
|
.global lbl_800CDC08
|
|
|
|
lbl_800CDC08:
|
|
|
|
/* 800CDC08 000C9A48 3B C3 00 2F */ addi r30, r3, 0x2f
|
|
|
|
/* 800CDC0C 000C9A4C 3B E0 00 06 */ li r31, 0x6
|
|
|
|
/* 800CDC10 000C9A50 48 00 00 08 */ b lbl_800CDC18
|
|
|
|
/* 800CDC14 000C9A54 48 00 00 E8 */ b lbl_800CDCFC
|
|
|
|
.global lbl_800CDC18
|
|
|
|
lbl_800CDC18:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CDC18 000C9A58 C0 42 8E D8 */ lfs f2, "@14686"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CDC1C 000C9A5C 3B A6 00 11 */ addi r29, r6, 0x11
|
|
|
|
/* 800CDC20 000C9A60 C0 25 00 00 */ lfs f1, 0x0(r5)
|
|
|
|
/* 800CDC24 000C9A64 38 DF 00 06 */ addi r6, r31, 0x6
|
|
|
|
/* 800CDC28 000C9A68 C0 05 00 10 */ lfs f0, 0x10(r5)
|
|
|
|
/* 800CDC2C 000C9A6C 7F C3 F3 78 */ mr r3, r30
|
|
|
|
/* 800CDC30 000C9A70 EC 22 00 72 */ fmuls f1, f2, f1
|
|
|
|
/* 800CDC34 000C9A74 EC 02 00 32 */ fmuls f0, f2, f0
|
|
|
|
/* 800CDC38 000C9A78 FC 20 08 1E */ fctiwz f1, f1
|
|
|
|
/* 800CDC3C 000C9A7C FC 00 00 1E */ fctiwz f0, f0
|
|
|
|
/* 800CDC40 000C9A80 D8 21 00 08 */ stfd f1, 0x8(r1)
|
|
|
|
/* 800CDC44 000C9A84 D8 01 00 10 */ stfd f0, 0x10(r1)
|
|
|
|
/* 800CDC48 000C9A88 80 81 00 0C */ lwz r4, 0xc(r1)
|
|
|
|
/* 800CDC4C 000C9A8C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
|
|
/* 800CDC50 000C9A90 54 84 05 7E */ clrlwi r4, r4, 21
|
|
|
|
/* 800CDC54 000C9A94 53 A4 B2 12 */ rlwimi r4, r29, 22, 8, 9
|
|
|
|
/* 800CDC58 000C9A98 50 04 5A A8 */ rlwimi r4, r0, 11, 10, 20
|
|
|
|
/* 800CDC5C 000C9A9C 50 C4 C0 0E */ rlwimi r4, r6, 24, 0, 7
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CDC60 000C9AA0 4B FF AE D1 */ bl ResWriteBPCmd__Q34nw4r3g3d6detailFPUcUl
|
|
|
|
/* 800CDC64 000C9AA4 C0 42 8E D8 */ lfs f2, "@14686"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CDC68 000C9AA8 38 1F 00 07 */ addi r0, r31, 0x7
|
|
|
|
/* 800CDC6C 000C9AAC C0 3C 00 04 */ lfs f1, 0x4(r28)
|
|
|
|
/* 800CDC70 000C9AB0 57 A5 A2 12 */ rlwinm r5, r29, 20, 8, 9
|
|
|
|
/* 800CDC74 000C9AB4 C0 1C 00 14 */ lfs f0, 0x14(r28)
|
|
|
|
/* 800CDC78 000C9AB8 50 05 C0 0E */ rlwimi r5, r0, 24, 0, 7
|
|
|
|
/* 800CDC7C 000C9ABC EC 22 00 72 */ fmuls f1, f2, f1
|
|
|
|
/* 800CDC80 000C9AC0 38 7E 00 05 */ addi r3, r30, 0x5
|
|
|
|
/* 800CDC84 000C9AC4 EC 02 00 32 */ fmuls f0, f2, f0
|
|
|
|
/* 800CDC88 000C9AC8 FC 20 08 1E */ fctiwz f1, f1
|
|
|
|
/* 800CDC8C 000C9ACC FC 00 00 1E */ fctiwz f0, f0
|
|
|
|
/* 800CDC90 000C9AD0 D8 21 00 18 */ stfd f1, 0x18(r1)
|
|
|
|
/* 800CDC94 000C9AD4 D8 01 00 20 */ stfd f0, 0x20(r1)
|
|
|
|
/* 800CDC98 000C9AD8 80 81 00 1C */ lwz r4, 0x1c(r1)
|
|
|
|
/* 800CDC9C 000C9ADC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
|
|
/* 800CDCA0 000C9AE0 54 00 5A A8 */ rlwinm r0, r0, 11, 10, 20
|
|
|
|
/* 800CDCA4 000C9AE4 50 80 05 7E */ rlwimi r0, r4, 0, 21, 31
|
|
|
|
/* 800CDCA8 000C9AE8 7C A4 03 78 */ or r4, r5, r0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CDCAC 000C9AEC 4B FF AE 85 */ bl ResWriteBPCmd__Q34nw4r3g3d6detailFPUcUl
|
|
|
|
/* 800CDCB0 000C9AF0 C0 42 8E D8 */ lfs f2, "@14686"@sda21(r2)
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CDCB4 000C9AF4 38 1F 00 08 */ addi r0, r31, 0x8
|
|
|
|
/* 800CDCB8 000C9AF8 C0 3C 00 08 */ lfs f1, 0x8(r28)
|
|
|
|
/* 800CDCBC 000C9AFC 57 A5 92 12 */ rlwinm r5, r29, 18, 8, 9
|
|
|
|
/* 800CDCC0 000C9B00 C0 1C 00 18 */ lfs f0, 0x18(r28)
|
|
|
|
/* 800CDCC4 000C9B04 50 05 C0 0E */ rlwimi r5, r0, 24, 0, 7
|
|
|
|
/* 800CDCC8 000C9B08 EC 22 00 72 */ fmuls f1, f2, f1
|
|
|
|
/* 800CDCCC 000C9B0C 38 7E 00 0A */ addi r3, r30, 0xa
|
|
|
|
/* 800CDCD0 000C9B10 EC 02 00 32 */ fmuls f0, f2, f0
|
|
|
|
/* 800CDCD4 000C9B14 FC 20 08 1E */ fctiwz f1, f1
|
|
|
|
/* 800CDCD8 000C9B18 FC 00 00 1E */ fctiwz f0, f0
|
|
|
|
/* 800CDCDC 000C9B1C D8 21 00 28 */ stfd f1, 0x28(r1)
|
|
|
|
/* 800CDCE0 000C9B20 D8 01 00 30 */ stfd f0, 0x30(r1)
|
|
|
|
/* 800CDCE4 000C9B24 80 81 00 2C */ lwz r4, 0x2c(r1)
|
|
|
|
/* 800CDCE8 000C9B28 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
|
|
/* 800CDCEC 000C9B2C 54 00 5A A8 */ rlwinm r0, r0, 11, 10, 20
|
|
|
|
/* 800CDCF0 000C9B30 50 80 05 7E */ rlwimi r0, r4, 0, 21, 31
|
|
|
|
/* 800CDCF4 000C9B34 7C A4 03 78 */ or r4, r5, r0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CDCF8 000C9B38 4B FF AE 39 */ bl ResWriteBPCmd__Q34nw4r3g3d6detailFPUcUl
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CDCFC
|
|
|
|
lbl_800CDCFC:
|
|
|
|
/* 800CDCFC 000C9B3C 80 01 00 54 */ lwz r0, 0x54(r1)
|
|
|
|
/* 800CDD00 000C9B40 83 E1 00 4C */ lwz r31, 0x4c(r1)
|
|
|
|
/* 800CDD04 000C9B44 83 C1 00 48 */ lwz r30, 0x48(r1)
|
|
|
|
/* 800CDD08 000C9B48 83 A1 00 44 */ lwz r29, 0x44(r1)
|
|
|
|
/* 800CDD0C 000C9B4C 83 81 00 40 */ lwz r28, 0x40(r1)
|
|
|
|
/* 800CDD10 000C9B50 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800CDD14 000C9B54 38 21 00 50 */ addi r1, r1, 0x50
|
|
|
|
/* 800CDD18 000C9B58 4E 80 00 20 */ blr
|
|
|
|
/* 800CDD1C 000C9B5C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GXGetChanMatColor__Q34nw4r3g3d10ResMatChanCF12_GXChannelIDP8_GXColor
|
|
|
|
GXGetChanMatColor__Q34nw4r3g3d10ResMatChanCF12_GXChannelIDP8_GXColor:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CDD20 000C9B60 54 80 07 FE */ clrlwi r0, r4, 31
|
|
|
|
/* 800CDD24 000C9B64 80 83 00 00 */ lwz r4, 0x0(r3)
|
|
|
|
/* 800CDD28 000C9B68 1C 00 00 14 */ mulli r0, r0, 0x14
|
|
|
|
/* 800CDD2C 000C9B6C 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 800CDD30 000C9B70 7C 84 02 14 */ add r4, r4, r0
|
|
|
|
/* 800CDD34 000C9B74 88 04 00 04 */ lbz r0, 0x4(r4)
|
|
|
|
/* 800CDD38 000C9B78 98 05 00 00 */ stb r0, 0x0(r5)
|
|
|
|
/* 800CDD3C 000C9B7C 88 04 00 05 */ lbz r0, 0x5(r4)
|
|
|
|
/* 800CDD40 000C9B80 98 05 00 01 */ stb r0, 0x1(r5)
|
|
|
|
/* 800CDD44 000C9B84 88 04 00 06 */ lbz r0, 0x6(r4)
|
|
|
|
/* 800CDD48 000C9B88 98 05 00 02 */ stb r0, 0x2(r5)
|
|
|
|
/* 800CDD4C 000C9B8C 88 04 00 07 */ lbz r0, 0x7(r4)
|
|
|
|
/* 800CDD50 000C9B90 98 05 00 03 */ stb r0, 0x3(r5)
|
|
|
|
/* 800CDD54 000C9B94 4E 80 00 20 */ blr
|
|
|
|
/* 800CDD58 000C9B98 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CDD5C 000C9B9C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GXGetChanCtrl__Q34nw4r3g3d10ResMatChanCF12_GXChannelIDPUcP11_GXColorSrcP11_GXColorSrcP10_GXLightIDP12_GXDiffuseFnP9_GXAttnFn
|
|
|
|
GXGetChanCtrl__Q34nw4r3g3d10ResMatChanCF12_GXChannelIDPUcP11_GXColorSrcP11_GXColorSrcP10_GXLightIDP12_GXDiffuseFnP9_GXAttnFn:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CDD60 000C9BA0 54 8B 07 FE */ clrlwi r11, r4, 31
|
|
|
|
/* 800CDD64 000C9BA4 54 80 07 BD */ rlwinm. r0, r4, 0, 30, 30
|
|
|
|
/* 800CDD68 000C9BA8 1C 0B 00 14 */ mulli r0, r11, 0x14
|
|
|
|
/* 800CDD6C 000C9BAC 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CDD70 000C9BB0 7C 63 02 14 */ add r3, r3, r0
|
|
|
|
/* 800CDD74 000C9BB4 40 82 00 0C */ bne lbl_800CDD80
|
|
|
|
/* 800CDD78 000C9BB8 80 63 00 0C */ lwz r3, 0xc(r3)
|
|
|
|
/* 800CDD7C 000C9BBC 48 00 00 08 */ b lbl_800CDD84
|
|
|
|
.global lbl_800CDD80
|
|
|
|
lbl_800CDD80:
|
|
|
|
/* 800CDD80 000C9BC0 80 63 00 10 */ lwz r3, 0x10(r3)
|
|
|
|
.global lbl_800CDD84
|
|
|
|
lbl_800CDD84:
|
|
|
|
/* 800CDD84 000C9BC4 2C 05 00 00 */ cmpwi r5, 0x0
|
|
|
|
/* 800CDD88 000C9BC8 41 82 00 0C */ beq lbl_800CDD94
|
|
|
|
/* 800CDD8C 000C9BCC 54 60 FF FE */ extrwi r0, r3, 1, 30
|
|
|
|
/* 800CDD90 000C9BD0 98 05 00 00 */ stb r0, 0x0(r5)
|
|
|
|
.global lbl_800CDD94
|
|
|
|
lbl_800CDD94:
|
|
|
|
/* 800CDD94 000C9BD4 2C 06 00 00 */ cmpwi r6, 0x0
|
|
|
|
/* 800CDD98 000C9BD8 41 82 00 0C */ beq lbl_800CDDA4
|
|
|
|
/* 800CDD9C 000C9BDC 54 60 D7 FE */ extrwi r0, r3, 1, 25
|
|
|
|
/* 800CDDA0 000C9BE0 90 06 00 00 */ stw r0, 0x0(r6)
|
|
|
|
.global lbl_800CDDA4
|
|
|
|
lbl_800CDDA4:
|
|
|
|
/* 800CDDA4 000C9BE4 2C 07 00 00 */ cmpwi r7, 0x0
|
|
|
|
/* 800CDDA8 000C9BE8 41 82 00 0C */ beq lbl_800CDDB4
|
|
|
|
/* 800CDDAC 000C9BEC 54 60 07 FE */ clrlwi r0, r3, 31
|
|
|
|
/* 800CDDB0 000C9BF0 90 07 00 00 */ stw r0, 0x0(r7)
|
|
|
|
.global lbl_800CDDB4
|
|
|
|
lbl_800CDDB4:
|
|
|
|
/* 800CDDB4 000C9BF4 2C 08 00 00 */ cmpwi r8, 0x0
|
|
|
|
/* 800CDDB8 000C9BF8 54 64 F7 3E */ extrwi r4, r3, 4, 26
|
|
|
|
/* 800CDDBC 000C9BFC 54 60 AF 3E */ extrwi r0, r3, 4, 17
|
|
|
|
/* 800CDDC0 000C9C00 41 82 00 10 */ beq lbl_800CDDD0
|
|
|
|
/* 800CDDC4 000C9C04 54 00 20 36 */ slwi r0, r0, 4
|
|
|
|
/* 800CDDC8 000C9C08 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 800CDDCC 000C9C0C 90 08 00 00 */ stw r0, 0x0(r8)
|
|
|
|
.global lbl_800CDDD0
|
|
|
|
lbl_800CDDD0:
|
|
|
|
/* 800CDDD0 000C9C10 54 60 B7 FF */ extrwi. r0, r3, 1, 21
|
|
|
|
/* 800CDDD4 000C9C14 40 82 00 10 */ bne lbl_800CDDE4
|
|
|
|
/* 800CDDD8 000C9C18 38 80 00 00 */ li r4, 0x0
|
|
|
|
/* 800CDDDC 000C9C1C 38 00 00 00 */ li r0, 0x0
|
|
|
|
/* 800CDDE0 000C9C20 48 00 00 20 */ b lbl_800CDE00
|
|
|
|
.global lbl_800CDDE4
|
|
|
|
lbl_800CDDE4:
|
|
|
|
/* 800CDDE4 000C9C24 54 60 BF FF */ extrwi. r0, r3, 1, 22
|
|
|
|
/* 800CDDE8 000C9C28 40 82 00 10 */ bne lbl_800CDDF8
|
|
|
|
/* 800CDDEC 000C9C2C 54 60 CF BE */ extrwi r0, r3, 2, 23
|
|
|
|
/* 800CDDF0 000C9C30 38 80 00 02 */ li r4, 0x2
|
|
|
|
/* 800CDDF4 000C9C34 48 00 00 0C */ b lbl_800CDE00
|
|
|
|
.global lbl_800CDDF8
|
|
|
|
lbl_800CDDF8:
|
|
|
|
/* 800CDDF8 000C9C38 38 80 00 01 */ li r4, 0x1
|
|
|
|
/* 800CDDFC 000C9C3C 54 60 CF BE */ extrwi r0, r3, 2, 23
|
|
|
|
.global lbl_800CDE00
|
|
|
|
lbl_800CDE00:
|
|
|
|
/* 800CDE00 000C9C40 2C 09 00 00 */ cmpwi r9, 0x0
|
|
|
|
/* 800CDE04 000C9C44 41 82 00 08 */ beq lbl_800CDE0C
|
|
|
|
/* 800CDE08 000C9C48 90 09 00 00 */ stw r0, 0x0(r9)
|
|
|
|
.global lbl_800CDE0C
|
|
|
|
lbl_800CDE0C:
|
|
|
|
/* 800CDE0C 000C9C4C 2C 0A 00 00 */ cmpwi r10, 0x0
|
|
|
|
/* 800CDE10 000C9C50 41 82 00 08 */ beq lbl_800CDE18
|
|
|
|
/* 800CDE14 000C9C54 90 8A 00 00 */ stw r4, 0x0(r10)
|
|
|
|
.global lbl_800CDE18
|
|
|
|
lbl_800CDE18:
|
|
|
|
/* 800CDE18 000C9C58 38 60 00 01 */ li r3, 0x1
|
|
|
|
/* 800CDE1C 000C9C5C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global CopyTo__Q34nw4r3g3d10ResMatChanCFPv
|
|
|
|
CopyTo__Q34nw4r3g3d10ResMatChanCFPv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CDE20 000C9C60 80 C3 00 00 */ lwz r6, 0x0(r3)
|
|
|
|
/* 800CDE24 000C9C64 7C 83 23 78 */ mr r3, r4
|
|
|
|
/* 800CDE28 000C9C68 80 A6 00 00 */ lwz r5, 0x0(r6)
|
|
|
|
/* 800CDE2C 000C9C6C 80 06 00 04 */ lwz r0, 0x4(r6)
|
|
|
|
/* 800CDE30 000C9C70 90 04 00 04 */ stw r0, 0x4(r4)
|
|
|
|
/* 800CDE34 000C9C74 90 A4 00 00 */ stw r5, 0x0(r4)
|
|
|
|
/* 800CDE38 000C9C78 80 A6 00 08 */ lwz r5, 0x8(r6)
|
|
|
|
/* 800CDE3C 000C9C7C 80 06 00 0C */ lwz r0, 0xc(r6)
|
|
|
|
/* 800CDE40 000C9C80 90 04 00 0C */ stw r0, 0xc(r4)
|
|
|
|
/* 800CDE44 000C9C84 90 A4 00 08 */ stw r5, 0x8(r4)
|
|
|
|
/* 800CDE48 000C9C88 80 A6 00 10 */ lwz r5, 0x10(r6)
|
|
|
|
/* 800CDE4C 000C9C8C 80 06 00 14 */ lwz r0, 0x14(r6)
|
|
|
|
/* 800CDE50 000C9C90 90 04 00 14 */ stw r0, 0x14(r4)
|
|
|
|
/* 800CDE54 000C9C94 90 A4 00 10 */ stw r5, 0x10(r4)
|
|
|
|
/* 800CDE58 000C9C98 80 A6 00 18 */ lwz r5, 0x18(r6)
|
|
|
|
/* 800CDE5C 000C9C9C 80 06 00 1C */ lwz r0, 0x1c(r6)
|
|
|
|
/* 800CDE60 000C9CA0 90 04 00 1C */ stw r0, 0x1c(r4)
|
|
|
|
/* 800CDE64 000C9CA4 90 A4 00 18 */ stw r5, 0x18(r4)
|
|
|
|
/* 800CDE68 000C9CA8 80 A6 00 20 */ lwz r5, 0x20(r6)
|
|
|
|
/* 800CDE6C 000C9CAC 80 06 00 24 */ lwz r0, 0x24(r6)
|
|
|
|
/* 800CDE70 000C9CB0 90 04 00 24 */ stw r0, 0x24(r4)
|
|
|
|
/* 800CDE74 000C9CB4 90 A4 00 20 */ stw r5, 0x20(r4)
|
|
|
|
/* 800CDE78 000C9CB8 4E 80 00 20 */ blr
|
|
|
|
/* 800CDE7C 000C9CBC 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global CallDisplayList__Q34nw4r3g3d17ResMatTexCoordGenCFUcb
|
|
|
|
CallDisplayList__Q34nw4r3g3d17ResMatTexCoordGenCFUcb:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CDE80 000C9CC0 2C 04 00 00 */ cmpwi r4, 0x0
|
|
|
|
/* 800CDE84 000C9CC4 4D 82 00 20 */ beqlr
|
|
|
|
/* 800CDE88 000C9CC8 2C 05 00 00 */ cmpwi r5, 0x0
|
|
|
|
/* 800CDE8C 000C9CCC 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CDE90 000C9CD0 41 82 00 3C */ beq lbl_800CDECC
|
|
|
|
/* 800CDE94 000C9CD4 28 04 00 02 */ cmplwi r4, 0x2
|
|
|
|
/* 800CDE98 000C9CD8 40 80 00 0C */ bge lbl_800CDEA4
|
|
|
|
/* 800CDE9C 000C9CDC 38 80 00 20 */ li r4, 0x20
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CDEA0 000C9CE0 4B F6 AB B0 */ b GXCallDisplayList
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CDEA4
|
|
|
|
lbl_800CDEA4:
|
|
|
|
/* 800CDEA4 000C9CE4 28 04 00 04 */ cmplwi r4, 0x4
|
|
|
|
/* 800CDEA8 000C9CE8 40 80 00 0C */ bge lbl_800CDEB4
|
|
|
|
/* 800CDEAC 000C9CEC 38 80 00 40 */ li r4, 0x40
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CDEB0 000C9CF0 4B F6 AB A0 */ b GXCallDisplayList
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CDEB4
|
|
|
|
lbl_800CDEB4:
|
|
|
|
/* 800CDEB4 000C9CF4 28 04 00 08 */ cmplwi r4, 0x8
|
|
|
|
/* 800CDEB8 000C9CF8 40 80 00 0C */ bge lbl_800CDEC4
|
|
|
|
/* 800CDEBC 000C9CFC 38 80 00 80 */ li r4, 0x80
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CDEC0 000C9D00 4B F6 AB 90 */ b GXCallDisplayList
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CDEC4
|
|
|
|
lbl_800CDEC4:
|
|
|
|
/* 800CDEC4 000C9D04 38 80 00 A0 */ li r4, 0xa0
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CDEC8 000C9D08 4B F6 AB 88 */ b GXCallDisplayList
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CDECC
|
|
|
|
lbl_800CDECC:
|
|
|
|
/* 800CDECC 000C9D0C 28 04 00 02 */ cmplwi r4, 0x2
|
|
|
|
/* 800CDED0 000C9D10 40 80 00 20 */ bge lbl_800CDEF0
|
|
|
|
/* 800CDED4 000C9D14 3C 80 CC 01 */ lis r4, 0xCC008000@ha
|
|
|
|
/* 800CDED8 000C9D18 38 00 00 40 */ li r0, 0x40
|
|
|
|
/* 800CDEDC 000C9D1C 98 04 80 00 */ stb r0, 0xCC008000@l(r4)
|
|
|
|
/* 800CDEE0 000C9D20 38 00 00 20 */ li r0, 0x20
|
|
|
|
/* 800CDEE4 000C9D24 90 64 80 00 */ stw r3, -0x8000(r4)
|
|
|
|
/* 800CDEE8 000C9D28 90 04 80 00 */ stw r0, -0x8000(r4)
|
|
|
|
/* 800CDEEC 000C9D2C 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800CDEF0
|
|
|
|
lbl_800CDEF0:
|
|
|
|
/* 800CDEF0 000C9D30 28 04 00 04 */ cmplwi r4, 0x4
|
|
|
|
/* 800CDEF4 000C9D34 40 80 00 1C */ bge lbl_800CDF10
|
|
|
|
/* 800CDEF8 000C9D38 3C 80 CC 01 */ lis r4, 0xCC008000@ha
|
|
|
|
/* 800CDEFC 000C9D3C 38 00 00 40 */ li r0, 0x40
|
|
|
|
/* 800CDF00 000C9D40 98 04 80 00 */ stb r0, 0xCC008000@l(r4)
|
|
|
|
/* 800CDF04 000C9D44 90 64 80 00 */ stw r3, -0x8000(r4)
|
|
|
|
/* 800CDF08 000C9D48 90 04 80 00 */ stw r0, -0x8000(r4)
|
|
|
|
/* 800CDF0C 000C9D4C 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800CDF10
|
|
|
|
lbl_800CDF10:
|
|
|
|
/* 800CDF10 000C9D50 28 04 00 08 */ cmplwi r4, 0x8
|
|
|
|
/* 800CDF14 000C9D54 40 80 00 20 */ bge lbl_800CDF34
|
|
|
|
/* 800CDF18 000C9D58 3C 80 CC 01 */ lis r4, 0xCC008000@ha
|
|
|
|
/* 800CDF1C 000C9D5C 38 00 00 40 */ li r0, 0x40
|
|
|
|
/* 800CDF20 000C9D60 98 04 80 00 */ stb r0, 0xCC008000@l(r4)
|
|
|
|
/* 800CDF24 000C9D64 38 00 00 80 */ li r0, 0x80
|
|
|
|
/* 800CDF28 000C9D68 90 64 80 00 */ stw r3, -0x8000(r4)
|
|
|
|
/* 800CDF2C 000C9D6C 90 04 80 00 */ stw r0, -0x8000(r4)
|
|
|
|
/* 800CDF30 000C9D70 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800CDF34
|
|
|
|
lbl_800CDF34:
|
|
|
|
/* 800CDF34 000C9D74 3C 80 CC 01 */ lis r4, 0xCC008000@ha
|
|
|
|
/* 800CDF38 000C9D78 38 00 00 40 */ li r0, 0x40
|
|
|
|
/* 800CDF3C 000C9D7C 98 04 80 00 */ stb r0, 0xCC008000@l(r4)
|
|
|
|
/* 800CDF40 000C9D80 38 00 00 A0 */ li r0, 0xa0
|
|
|
|
/* 800CDF44 000C9D84 90 64 80 00 */ stw r3, -0x8000(r4)
|
|
|
|
/* 800CDF48 000C9D88 90 04 80 00 */ stw r0, -0x8000(r4)
|
|
|
|
/* 800CDF4C 000C9D8C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global Bind__Q34nw4r3g3d6ResMatFQ34nw4r3g3d7ResFile
|
|
|
|
Bind__Q34nw4r3g3d6ResMatFQ34nw4r3g3d7ResFile:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CDF50 000C9D90 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
|
|
/* 800CDF54 000C9D94 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800CDF58 000C9D98 90 01 00 34 */ stw r0, 0x34(r1)
|
|
|
|
/* 800CDF5C 000C9D9C 39 61 00 30 */ addi r11, r1, 0x30
|
|
|
|
/* 800CDF60 000C9DA0 4B F3 93 D9 */ bl lbl_80007338
|
|
|
|
/* 800CDF64 000C9DA4 80 A3 00 00 */ lwz r5, 0x0(r3)
|
|
|
|
/* 800CDF68 000C9DA8 7C 7A 1B 78 */ mr r26, r3
|
|
|
|
/* 800CDF6C 000C9DAC 7C 9B 23 78 */ mr r27, r4
|
|
|
|
/* 800CDF70 000C9DB0 3B 80 00 00 */ li r28, 0x0
|
|
|
|
/* 800CDF74 000C9DB4 83 E5 00 2C */ lwz r31, 0x2c(r5)
|
|
|
|
/* 800CDF78 000C9DB8 3B A0 00 00 */ li r29, 0x0
|
|
|
|
/* 800CDF7C 000C9DBC 3B C0 00 00 */ li r30, 0x0
|
|
|
|
/* 800CDF80 000C9DC0 48 00 00 6C */ b lbl_800CDFEC
|
|
|
|
.global lbl_800CDF84
|
|
|
|
lbl_800CDF84:
|
|
|
|
/* 800CDF84 000C9DC4 80 9A 00 00 */ lwz r4, 0x0(r26)
|
|
|
|
/* 800CDF88 000C9DC8 80 04 00 30 */ lwz r0, 0x30(r4)
|
|
|
|
/* 800CDF8C 000C9DCC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CDF90 000C9DD0 41 82 00 0C */ beq lbl_800CDF9C
|
|
|
|
/* 800CDF94 000C9DD4 7C 64 02 14 */ add r3, r4, r0
|
|
|
|
/* 800CDF98 000C9DD8 48 00 00 08 */ b lbl_800CDFA0
|
|
|
|
.global lbl_800CDF9C
|
|
|
|
lbl_800CDF9C:
|
|
|
|
/* 800CDF9C 000C9DDC 38 60 00 00 */ li r3, 0x0
|
|
|
|
.global lbl_800CDFA0
|
|
|
|
lbl_800CDFA0:
|
|
|
|
/* 800CDFA0 000C9DE0 38 04 01 44 */ addi r0, r4, 0x144
|
|
|
|
/* 800CDFA4 000C9DE4 90 01 00 08 */ stw r0, 0x8(r1)
|
|
|
|
/* 800CDFA8 000C9DE8 7C E3 F2 14 */ add r7, r3, r30
|
|
|
|
/* 800CDFAC 000C9DEC 80 1B 00 00 */ lwz r0, 0x0(r27)
|
|
|
|
/* 800CDFB0 000C9DF0 80 DA 00 00 */ lwz r6, 0x0(r26)
|
|
|
|
/* 800CDFB4 000C9DF4 38 61 00 14 */ addi r3, r1, 0x14
|
|
|
|
/* 800CDFB8 000C9DF8 38 81 00 10 */ addi r4, r1, 0x10
|
|
|
|
/* 800CDFBC 000C9DFC 38 A1 00 0C */ addi r5, r1, 0xc
|
|
|
|
/* 800CDFC0 000C9E00 38 C6 00 40 */ addi r6, r6, 0x40
|
|
|
|
/* 800CDFC4 000C9E04 90 C1 00 0C */ stw r6, 0xc(r1)
|
|
|
|
/* 800CDFC8 000C9E08 38 C1 00 08 */ addi r6, r1, 0x8
|
|
|
|
/* 800CDFCC 000C9E0C 90 01 00 10 */ stw r0, 0x10(r1)
|
|
|
|
/* 800CDFD0 000C9E10 90 E1 00 14 */ stw r7, 0x14(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CDFD4 000C9E14 48 00 01 5D */ bl Bind__Q34nw4r3g3d14ResTexPlttInfoFQ34nw4r3g3d7ResFileQ34nw4r3g3d9ResTexObjQ34nw4r3g3d10ResTlutObj
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CDFD8 000C9E18 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800CDFDC 000C9E1C 41 82 00 08 */ beq lbl_800CDFE4
|
|
|
|
/* 800CDFE0 000C9E20 3B 9C 00 01 */ addi r28, r28, 0x1
|
|
|
|
.global lbl_800CDFE4
|
|
|
|
lbl_800CDFE4:
|
|
|
|
/* 800CDFE4 000C9E24 3B DE 00 34 */ addi r30, r30, 0x34
|
|
|
|
/* 800CDFE8 000C9E28 3B BD 00 01 */ addi r29, r29, 0x1
|
|
|
|
.global lbl_800CDFEC
|
|
|
|
lbl_800CDFEC:
|
|
|
|
/* 800CDFEC 000C9E2C 7C 1D F8 40 */ cmplw r29, r31
|
|
|
|
/* 800CDFF0 000C9E30 41 80 FF 94 */ blt lbl_800CDF84
|
|
|
|
/* 800CDFF4 000C9E34 7C 1C F8 50 */ subf r0, r28, r31
|
|
|
|
/* 800CDFF8 000C9E38 39 61 00 30 */ addi r11, r1, 0x30
|
|
|
|
/* 800CDFFC 000C9E3C 7C 00 00 34 */ cntlzw r0, r0
|
|
|
|
/* 800CE000 000C9E40 54 03 D9 7E */ srwi r3, r0, 5
|
|
|
|
/* 800CE004 000C9E44 4B F3 93 81 */ bl lbl_80007384
|
|
|
|
/* 800CE008 000C9E48 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
|
|
/* 800CE00C 000C9E4C 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800CE010 000C9E50 38 21 00 30 */ addi r1, r1, 0x30
|
|
|
|
/* 800CE014 000C9E54 4E 80 00 20 */ blr
|
|
|
|
/* 800CE018 000C9E58 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CE01C 000C9E5C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global Release__Q34nw4r3g3d6ResMatFv
|
|
|
|
Release__Q34nw4r3g3d6ResMatFv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CE020 000C9E60 80 83 00 00 */ lwz r4, 0x0(r3)
|
|
|
|
/* 800CE024 000C9E64 39 40 00 00 */ li r10, 0x0
|
|
|
|
/* 800CE028 000C9E68 38 A0 00 01 */ li r5, 0x1
|
|
|
|
/* 800CE02C 000C9E6C 38 C0 00 00 */ li r6, 0x0
|
|
|
|
/* 800CE030 000C9E70 80 04 00 2C */ lwz r0, 0x2c(r4)
|
|
|
|
/* 800CE034 000C9E74 7C 09 03 A6 */ mtctr r0
|
|
|
|
/* 800CE038 000C9E78 28 00 00 00 */ cmplwi r0, 0x0
|
|
|
|
/* 800CE03C 000C9E7C 4C 81 00 20 */ blelr
|
|
|
|
.global lbl_800CE040
|
|
|
|
lbl_800CE040:
|
|
|
|
/* 800CE040 000C9E80 80 83 00 00 */ lwz r4, 0x0(r3)
|
|
|
|
/* 800CE044 000C9E84 80 04 00 30 */ lwz r0, 0x30(r4)
|
|
|
|
/* 800CE048 000C9E88 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CE04C 000C9E8C 41 82 00 0C */ beq lbl_800CE058
|
|
|
|
/* 800CE050 000C9E90 7C 04 02 14 */ add r0, r4, r0
|
|
|
|
/* 800CE054 000C9E94 48 00 00 08 */ b lbl_800CE05C
|
|
|
|
.global lbl_800CE058
|
|
|
|
lbl_800CE058:
|
|
|
|
/* 800CE058 000C9E98 38 00 00 00 */ li r0, 0x0
|
|
|
|
.global lbl_800CE05C
|
|
|
|
lbl_800CE05C:
|
|
|
|
/* 800CE05C 000C9E9C 7D 20 52 14 */ add r9, r0, r10
|
|
|
|
/* 800CE060 000C9EA0 34 E4 00 40 */ addic. r7, r4, 0x40
|
|
|
|
/* 800CE064 000C9EA4 90 C9 00 08 */ stw r6, 0x8(r9)
|
|
|
|
/* 800CE068 000C9EA8 39 04 01 44 */ addi r8, r4, 0x144
|
|
|
|
/* 800CE06C 000C9EAC 90 C9 00 0C */ stw r6, 0xc(r9)
|
|
|
|
/* 800CE070 000C9EB0 80 09 00 10 */ lwz r0, 0x10(r9)
|
|
|
|
/* 800CE074 000C9EB4 41 82 00 1C */ beq lbl_800CE090
|
|
|
|
/* 800CE078 000C9EB8 28 00 00 07 */ cmplwi r0, 0x7
|
|
|
|
/* 800CE07C 000C9EBC 41 81 00 14 */ bgt lbl_800CE090
|
|
|
|
/* 800CE080 000C9EC0 80 87 00 00 */ lwz r4, 0x0(r7)
|
|
|
|
/* 800CE084 000C9EC4 7C A0 00 30 */ slw r0, r5, r0
|
|
|
|
/* 800CE088 000C9EC8 7C 80 00 78 */ andc r0, r4, r0
|
|
|
|
/* 800CE08C 000C9ECC 90 07 00 00 */ stw r0, 0x0(r7)
|
|
|
|
.global lbl_800CE090
|
|
|
|
lbl_800CE090:
|
|
|
|
/* 800CE090 000C9ED0 2C 08 00 00 */ cmpwi r8, 0x0
|
|
|
|
/* 800CE094 000C9ED4 80 09 00 10 */ lwz r0, 0x10(r9)
|
|
|
|
/* 800CE098 000C9ED8 41 82 00 1C */ beq lbl_800CE0B4
|
|
|
|
/* 800CE09C 000C9EDC 28 00 00 07 */ cmplwi r0, 0x7
|
|
|
|
/* 800CE0A0 000C9EE0 41 81 00 14 */ bgt lbl_800CE0B4
|
|
|
|
/* 800CE0A4 000C9EE4 80 88 00 00 */ lwz r4, 0x0(r8)
|
|
|
|
/* 800CE0A8 000C9EE8 7C A0 00 30 */ slw r0, r5, r0
|
|
|
|
/* 800CE0AC 000C9EEC 7C 80 00 78 */ andc r0, r4, r0
|
|
|
|
/* 800CE0B0 000C9EF0 90 08 00 00 */ stw r0, 0x0(r8)
|
|
|
|
.global lbl_800CE0B4
|
|
|
|
lbl_800CE0B4:
|
|
|
|
/* 800CE0B4 000C9EF4 39 4A 00 34 */ addi r10, r10, 0x34
|
|
|
|
/* 800CE0B8 000C9EF8 42 00 FF 88 */ bdnz lbl_800CE040
|
|
|
|
/* 800CE0BC 000C9EFC 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global Init__Q34nw4r3g3d6ResMatFv
|
|
|
|
Init__Q34nw4r3g3d6ResMatFv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CE0C0 000C9F00 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CE0C4 000C9F04 80 03 00 3C */ lwz r0, 0x3c(r3)
|
|
|
|
/* 800CE0C8 000C9F08 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CE0CC 000C9F0C 41 82 00 0C */ beq lbl_800CE0D8
|
|
|
|
/* 800CE0D0 000C9F10 7C 63 02 14 */ add r3, r3, r0
|
|
|
|
/* 800CE0D4 000C9F14 48 00 00 08 */ b lbl_800CE0DC
|
|
|
|
.global lbl_800CE0D8
|
|
|
|
lbl_800CE0D8:
|
|
|
|
/* 800CE0D8 000C9F18 38 60 00 00 */ li r3, 0x0
|
|
|
|
.global lbl_800CE0DC
|
|
|
|
lbl_800CE0DC:
|
|
|
|
/* 800CE0DC 000C9F1C 38 80 01 80 */ li r4, 0x180
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CE0E0 000C9F20 4B F4 E9 30 */ b DCStoreRangeNoSync
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CE0E4 000C9F24 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CE0E8 000C9F28 00 00 00 00 */ .4byte 0x00000000
|
|
|
|
/* 800CE0EC 000C9F2C 00 00 00 00 */ .4byte 0x00000000
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GetResTev__Q34nw4r3g3d6ResMatFv
|
|
|
|
GetResTev__Q34nw4r3g3d6ResMatFv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CE0F0 000C9F30 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CE0F4 000C9F34 80 03 00 28 */ lwz r0, 0x28(r3)
|
|
|
|
/* 800CE0F8 000C9F38 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CE0FC 000C9F3C 41 82 00 0C */ beq lbl_800CE108
|
|
|
|
/* 800CE100 000C9F40 7C 63 02 14 */ add r3, r3, r0
|
|
|
|
/* 800CE104 000C9F44 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800CE108
|
|
|
|
lbl_800CE108:
|
|
|
|
/* 800CE108 000C9F48 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 800CE10C 000C9F4C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global GetResMatFur__Q34nw4r3g3d6ResMatFv
|
|
|
|
GetResMatFur__Q34nw4r3g3d6ResMatFv:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CE110 000C9F50 80 63 00 00 */ lwz r3, 0x0(r3)
|
|
|
|
/* 800CE114 000C9F54 80 03 00 34 */ lwz r0, 0x34(r3)
|
|
|
|
/* 800CE118 000C9F58 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CE11C 000C9F5C 41 82 00 0C */ beq lbl_800CE128
|
|
|
|
/* 800CE120 000C9F60 7C 63 02 14 */ add r3, r3, r0
|
|
|
|
/* 800CE124 000C9F64 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800CE128
|
|
|
|
lbl_800CE128:
|
|
|
|
/* 800CE128 000C9F68 38 60 00 00 */ li r3, 0x0
|
|
|
|
/* 800CE12C 000C9F6C 4E 80 00 20 */ blr
|
2022-10-16 16:31:36 +00:00
|
|
|
.global Bind__Q34nw4r3g3d14ResTexPlttInfoFQ34nw4r3g3d7ResFileQ34nw4r3g3d9ResTexObjQ34nw4r3g3d10ResTlutObj
|
|
|
|
Bind__Q34nw4r3g3d14ResTexPlttInfoFQ34nw4r3g3d7ResFileQ34nw4r3g3d9ResTexObjQ34nw4r3g3d10ResTlutObj:
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CE130 000C9F70 94 21 FF A0 */ stwu r1, -0x60(r1)
|
|
|
|
/* 800CE134 000C9F74 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 800CE138 000C9F78 90 01 00 64 */ stw r0, 0x64(r1)
|
|
|
|
/* 800CE13C 000C9F7C 39 61 00 60 */ addi r11, r1, 0x60
|
|
|
|
/* 800CE140 000C9F80 4B F3 91 F5 */ bl lbl_80007334
|
|
|
|
/* 800CE144 000C9F84 80 E3 00 00 */ lwz r7, 0x0(r3)
|
|
|
|
/* 800CE148 000C9F88 7C 7C 1B 78 */ mr r28, r3
|
|
|
|
/* 800CE14C 000C9F8C 7C 9D 23 78 */ mr r29, r4
|
|
|
|
/* 800CE150 000C9F90 7C B9 2B 78 */ mr r25, r5
|
|
|
|
/* 800CE154 000C9F94 80 07 00 00 */ lwz r0, 0x0(r7)
|
|
|
|
/* 800CE158 000C9F98 7C DE 33 78 */ mr r30, r6
|
|
|
|
/* 800CE15C 000C9F9C 3B E0 00 01 */ li r31, 0x1
|
|
|
|
/* 800CE160 000C9FA0 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CE164 000C9FA4 41 82 00 10 */ beq lbl_800CE174
|
|
|
|
/* 800CE168 000C9FA8 7C 67 02 14 */ add r3, r7, r0
|
|
|
|
/* 800CE16C 000C9FAC 38 03 FF FC */ addi r0, r3, -0x4
|
|
|
|
/* 800CE170 000C9FB0 48 00 00 08 */ b lbl_800CE178
|
|
|
|
.global lbl_800CE174
|
|
|
|
lbl_800CE174:
|
|
|
|
/* 800CE174 000C9FB4 38 00 00 00 */ li r0, 0x0
|
|
|
|
.global lbl_800CE178
|
|
|
|
lbl_800CE178:
|
|
|
|
/* 800CE178 000C9FB8 80 67 00 08 */ lwz r3, 0x8(r7)
|
|
|
|
/* 800CE17C 000C9FBC 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800CE180 000C9FC0 40 82 01 74 */ bne lbl_800CE2F4
|
|
|
|
/* 800CE184 000C9FC4 90 01 00 34 */ stw r0, 0x34(r1)
|
|
|
|
/* 800CE188 000C9FC8 7F A3 EB 78 */ mr r3, r29
|
|
|
|
/* 800CE18C 000C9FCC 38 81 00 34 */ addi r4, r1, 0x34
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CE190 000C9FD0 4B FF AF E1 */ bl GetResTex__Q34nw4r3g3d7ResFileCFQ34nw4r3g3d7ResName
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CE194 000C9FD4 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800CE198 000C9FD8 41 82 01 58 */ beq lbl_800CE2F0
|
|
|
|
/* 800CE19C 000C9FDC 80 9C 00 00 */ lwz r4, 0x0(r28)
|
|
|
|
/* 800CE1A0 000C9FE0 80 04 00 04 */ lwz r0, 0x4(r4)
|
|
|
|
/* 800CE1A4 000C9FE4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CE1A8 000C9FE8 41 82 00 10 */ beq lbl_800CE1B8
|
|
|
|
/* 800CE1AC 000C9FEC 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
|
|
/* 800CE1B0 000C9FF0 54 00 07 FF */ clrlwi. r0, r0, 31
|
|
|
|
/* 800CE1B4 000C9FF4 41 82 01 3C */ beq lbl_800CE2F0
|
|
|
|
.global lbl_800CE1B8
|
|
|
|
lbl_800CE1B8:
|
|
|
|
/* 800CE1B8 000C9FF8 83 79 00 00 */ lwz r27, 0x0(r25)
|
|
|
|
/* 800CE1BC 000C9FFC 90 61 00 30 */ stw r3, 0x30(r1)
|
|
|
|
/* 800CE1C0 000CA000 2C 1B 00 00 */ cmpwi r27, 0x0
|
|
|
|
/* 800CE1C4 000CA004 83 3C 00 00 */ lwz r25, 0x0(r28)
|
|
|
|
/* 800CE1C8 000CA008 90 79 00 08 */ stw r3, 0x8(r25)
|
|
|
|
/* 800CE1CC 000CA00C 80 19 00 10 */ lwz r0, 0x10(r25)
|
|
|
|
/* 800CE1D0 000CA010 41 82 00 1C */ beq lbl_800CE1EC
|
|
|
|
/* 800CE1D4 000CA014 28 00 00 07 */ cmplwi r0, 0x7
|
|
|
|
/* 800CE1D8 000CA018 41 81 00 14 */ bgt lbl_800CE1EC
|
|
|
|
/* 800CE1DC 000CA01C 54 00 28 34 */ slwi r0, r0, 5
|
|
|
|
/* 800CE1E0 000CA020 7C 7B 02 14 */ add r3, r27, r0
|
|
|
|
/* 800CE1E4 000CA024 3B 43 00 04 */ addi r26, r3, 0x4
|
|
|
|
/* 800CE1E8 000CA028 48 00 00 08 */ b lbl_800CE1F0
|
|
|
|
.global lbl_800CE1EC
|
|
|
|
lbl_800CE1EC:
|
|
|
|
/* 800CE1EC 000CA02C 3B 40 00 00 */ li r26, 0x0
|
|
|
|
.global lbl_800CE1F0
|
|
|
|
lbl_800CE1F0:
|
|
|
|
/* 800CE1F0 000CA030 80 7C 00 00 */ lwz r3, 0x0(r28)
|
|
|
|
/* 800CE1F4 000CA034 80 03 00 04 */ lwz r0, 0x4(r3)
|
|
|
|
/* 800CE1F8 000CA038 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CE1FC 000CA03C 41 82 00 58 */ beq lbl_800CE254
|
|
|
|
/* 800CE200 000CA040 38 61 00 30 */ addi r3, r1, 0x30
|
|
|
|
/* 800CE204 000CA044 38 81 00 18 */ addi r4, r1, 0x18
|
|
|
|
/* 800CE208 000CA048 38 A1 00 12 */ addi r5, r1, 0x12
|
|
|
|
/* 800CE20C 000CA04C 38 C1 00 14 */ addi r6, r1, 0x14
|
|
|
|
/* 800CE210 000CA050 38 E1 00 24 */ addi r7, r1, 0x24
|
|
|
|
/* 800CE214 000CA054 39 01 00 1C */ addi r8, r1, 0x1c
|
|
|
|
/* 800CE218 000CA058 39 21 00 20 */ addi r9, r1, 0x20
|
|
|
|
/* 800CE21C 000CA05C 39 41 00 10 */ addi r10, r1, 0x10
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CE220 000CA060 48 00 05 01 */ bl GetTexObjCIParam__Q34nw4r3g3d6ResTexCFPPvPUsPUsP11_GXCITexFmtPfPfPUc
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CE224 000CA064 80 19 00 14 */ lwz r0, 0x14(r25)
|
|
|
|
/* 800CE228 000CA068 7F 43 D3 78 */ mr r3, r26
|
|
|
|
/* 800CE22C 000CA06C 90 01 00 08 */ stw r0, 0x8(r1)
|
|
|
|
/* 800CE230 000CA070 80 81 00 18 */ lwz r4, 0x18(r1)
|
|
|
|
/* 800CE234 000CA074 A0 A1 00 12 */ lhz r5, 0x12(r1)
|
|
|
|
/* 800CE238 000CA078 A0 C1 00 14 */ lhz r6, 0x14(r1)
|
|
|
|
/* 800CE23C 000CA07C 80 E1 00 24 */ lwz r7, 0x24(r1)
|
|
|
|
/* 800CE240 000CA080 81 19 00 18 */ lwz r8, 0x18(r25)
|
|
|
|
/* 800CE244 000CA084 81 39 00 1C */ lwz r9, 0x1c(r25)
|
|
|
|
/* 800CE248 000CA088 89 41 00 10 */ lbz r10, 0x10(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CE24C 000CA08C 4B F6 87 75 */ bl GXInitTexObjCI
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CE250 000CA090 48 00 00 4C */ b lbl_800CE29C
|
|
|
|
.global lbl_800CE254
|
|
|
|
lbl_800CE254:
|
|
|
|
/* 800CE254 000CA094 38 61 00 30 */ addi r3, r1, 0x30
|
|
|
|
/* 800CE258 000CA098 38 81 00 18 */ addi r4, r1, 0x18
|
|
|
|
/* 800CE25C 000CA09C 38 A1 00 12 */ addi r5, r1, 0x12
|
|
|
|
/* 800CE260 000CA0A0 38 C1 00 14 */ addi r6, r1, 0x14
|
|
|
|
/* 800CE264 000CA0A4 38 E1 00 28 */ addi r7, r1, 0x28
|
|
|
|
/* 800CE268 000CA0A8 39 01 00 1C */ addi r8, r1, 0x1c
|
|
|
|
/* 800CE26C 000CA0AC 39 21 00 20 */ addi r9, r1, 0x20
|
|
|
|
/* 800CE270 000CA0B0 39 41 00 10 */ addi r10, r1, 0x10
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CE274 000CA0B4 48 00 03 ED */ bl GetTexObjParam__Q34nw4r3g3d6ResTexCFPPvPUsPUsP9_GXTexFmtPfPfPUc
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CE278 000CA0B8 80 81 00 18 */ lwz r4, 0x18(r1)
|
|
|
|
/* 800CE27C 000CA0BC 7F 43 D3 78 */ mr r3, r26
|
|
|
|
/* 800CE280 000CA0C0 A0 A1 00 12 */ lhz r5, 0x12(r1)
|
|
|
|
/* 800CE284 000CA0C4 A0 C1 00 14 */ lhz r6, 0x14(r1)
|
|
|
|
/* 800CE288 000CA0C8 80 E1 00 28 */ lwz r7, 0x28(r1)
|
|
|
|
/* 800CE28C 000CA0CC 81 19 00 18 */ lwz r8, 0x18(r25)
|
|
|
|
/* 800CE290 000CA0D0 81 39 00 1C */ lwz r9, 0x1c(r25)
|
|
|
|
/* 800CE294 000CA0D4 89 41 00 10 */ lbz r10, 0x10(r1)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CE298 000CA0D8 4B F6 85 19 */ bl GXInitTexObj
|
2022-10-16 16:05:58 +00:00
|
|
|
.global lbl_800CE29C
|
|
|
|
lbl_800CE29C:
|
|
|
|
/* 800CE29C 000CA0DC 80 99 00 20 */ lwz r4, 0x20(r25)
|
|
|
|
/* 800CE2A0 000CA0E0 7F 43 D3 78 */ mr r3, r26
|
|
|
|
/* 800CE2A4 000CA0E4 80 B9 00 24 */ lwz r5, 0x24(r25)
|
|
|
|
/* 800CE2A8 000CA0E8 C0 21 00 1C */ lfs f1, 0x1c(r1)
|
|
|
|
/* 800CE2AC 000CA0EC C0 41 00 20 */ lfs f2, 0x20(r1)
|
|
|
|
/* 800CE2B0 000CA0F0 C0 79 00 28 */ lfs f3, 0x28(r25)
|
|
|
|
/* 800CE2B4 000CA0F4 88 D9 00 30 */ lbz r6, 0x30(r25)
|
|
|
|
/* 800CE2B8 000CA0F8 88 F9 00 31 */ lbz r7, 0x31(r25)
|
|
|
|
/* 800CE2BC 000CA0FC 81 19 00 2C */ lwz r8, 0x2c(r25)
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CE2C0 000CA100 4B F6 87 51 */ bl GXInitTexObjLOD
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CE2C4 000CA104 2C 1B 00 00 */ cmpwi r27, 0x0
|
|
|
|
/* 800CE2C8 000CA108 80 99 00 10 */ lwz r4, 0x10(r25)
|
|
|
|
/* 800CE2CC 000CA10C 41 82 00 28 */ beq lbl_800CE2F4
|
|
|
|
/* 800CE2D0 000CA110 28 04 00 07 */ cmplwi r4, 0x7
|
|
|
|
/* 800CE2D4 000CA114 41 81 00 20 */ bgt lbl_800CE2F4
|
|
|
|
/* 800CE2D8 000CA118 38 00 00 01 */ li r0, 0x1
|
|
|
|
/* 800CE2DC 000CA11C 80 7B 00 00 */ lwz r3, 0x0(r27)
|
|
|
|
/* 800CE2E0 000CA120 7C 00 20 30 */ slw r0, r0, r4
|
|
|
|
/* 800CE2E4 000CA124 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 800CE2E8 000CA128 90 1B 00 00 */ stw r0, 0x0(r27)
|
|
|
|
/* 800CE2EC 000CA12C 48 00 00 08 */ b lbl_800CE2F4
|
|
|
|
.global lbl_800CE2F0
|
|
|
|
lbl_800CE2F0:
|
|
|
|
/* 800CE2F0 000CA130 3B E0 00 00 */ li r31, 0x0
|
|
|
|
.global lbl_800CE2F4
|
|
|
|
lbl_800CE2F4:
|
|
|
|
/* 800CE2F4 000CA134 80 7C 00 00 */ lwz r3, 0x0(r28)
|
|
|
|
/* 800CE2F8 000CA138 80 03 00 0C */ lwz r0, 0xc(r3)
|
|
|
|
/* 800CE2FC 000CA13C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CE300 000CA140 40 82 00 D0 */ bne lbl_800CE3D0
|
|
|
|
/* 800CE304 000CA144 80 03 00 04 */ lwz r0, 0x4(r3)
|
|
|
|
/* 800CE308 000CA148 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CE30C 000CA14C 41 82 00 10 */ beq lbl_800CE31C
|
|
|
|
/* 800CE310 000CA150 7C 63 02 14 */ add r3, r3, r0
|
|
|
|
/* 800CE314 000CA154 38 03 FF FC */ addi r0, r3, -0x4
|
|
|
|
/* 800CE318 000CA158 48 00 00 08 */ b lbl_800CE320
|
|
|
|
.global lbl_800CE31C
|
|
|
|
lbl_800CE31C:
|
|
|
|
/* 800CE31C 000CA15C 38 00 00 00 */ li r0, 0x0
|
|
|
|
.global lbl_800CE320
|
|
|
|
lbl_800CE320:
|
|
|
|
/* 800CE320 000CA160 2C 00 00 00 */ cmpwi r0, 0x0
|
|
|
|
/* 800CE324 000CA164 41 82 00 AC */ beq lbl_800CE3D0
|
|
|
|
/* 800CE328 000CA168 90 01 00 2C */ stw r0, 0x2c(r1)
|
|
|
|
/* 800CE32C 000CA16C 7F A3 EB 78 */ mr r3, r29
|
|
|
|
/* 800CE330 000CA170 38 81 00 2C */ addi r4, r1, 0x2c
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CE334 000CA174 4B FF AD BD */ bl GetResPltt__Q34nw4r3g3d7ResFileCFQ34nw4r3g3d7ResName
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CE338 000CA178 2C 03 00 00 */ cmpwi r3, 0x0
|
|
|
|
/* 800CE33C 000CA17C 7C 67 1B 78 */ mr r7, r3
|
|
|
|
/* 800CE340 000CA180 41 82 00 8C */ beq lbl_800CE3CC
|
|
|
|
/* 800CE344 000CA184 83 BE 00 00 */ lwz r29, 0x0(r30)
|
|
|
|
/* 800CE348 000CA188 83 3C 00 00 */ lwz r25, 0x0(r28)
|
|
|
|
/* 800CE34C 000CA18C 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
|
|
/* 800CE350 000CA190 90 79 00 0C */ stw r3, 0xc(r25)
|
|
|
|
/* 800CE354 000CA194 80 19 00 10 */ lwz r0, 0x10(r25)
|
|
|
|
/* 800CE358 000CA198 41 82 00 1C */ beq lbl_800CE374
|
|
|
|
/* 800CE35C 000CA19C 28 00 00 07 */ cmplwi r0, 0x7
|
|
|
|
/* 800CE360 000CA1A0 41 81 00 14 */ bgt lbl_800CE374
|
|
|
|
/* 800CE364 000CA1A4 1C 00 00 0C */ mulli r0, r0, 0xc
|
|
|
|
/* 800CE368 000CA1A8 7C 9D 02 14 */ add r4, r29, r0
|
|
|
|
/* 800CE36C 000CA1AC 38 04 00 04 */ addi r0, r4, 0x4
|
|
|
|
/* 800CE370 000CA1B0 48 00 00 08 */ b lbl_800CE378
|
|
|
|
.global lbl_800CE374
|
|
|
|
lbl_800CE374:
|
|
|
|
/* 800CE374 000CA1B4 38 00 00 00 */ li r0, 0x0
|
|
|
|
.global lbl_800CE378
|
|
|
|
lbl_800CE378:
|
|
|
|
/* 800CE378 000CA1B8 80 83 00 10 */ lwz r4, 0x10(r3)
|
|
|
|
/* 800CE37C 000CA1BC A0 C3 00 1C */ lhz r6, 0x1c(r3)
|
|
|
|
/* 800CE380 000CA1C0 2C 04 00 00 */ cmpwi r4, 0x0
|
|
|
|
/* 800CE384 000CA1C4 80 A3 00 18 */ lwz r5, 0x18(r3)
|
|
|
|
/* 800CE388 000CA1C8 7C 03 03 78 */ mr r3, r0
|
|
|
|
/* 800CE38C 000CA1CC 41 82 00 0C */ beq lbl_800CE398
|
|
|
|
/* 800CE390 000CA1D0 7C 87 22 14 */ add r4, r7, r4
|
|
|
|
/* 800CE394 000CA1D4 48 00 00 08 */ b lbl_800CE39C
|
|
|
|
.global lbl_800CE398
|
|
|
|
lbl_800CE398:
|
|
|
|
/* 800CE398 000CA1D8 38 80 00 00 */ li r4, 0x0
|
|
|
|
.global lbl_800CE39C
|
|
|
|
lbl_800CE39C:
|
2022-10-16 16:31:36 +00:00
|
|
|
/* 800CE39C 000CA1DC 4B F6 8A F5 */ bl GXInitTlutObj
|
2022-10-16 16:05:58 +00:00
|
|
|
/* 800CE3A0 000CA1E0 2C 1D 00 00 */ cmpwi r29, 0x0
|
|
|
|
/* 800CE3A4 000CA1E4 80 99 00 10 */ lwz r4, 0x10(r25)
|
|
|
|
/* 800CE3A8 000CA1E8 41 82 00 28 */ beq lbl_800CE3D0
|
|
|
|
/* 800CE3AC 000CA1EC 28 04 00 07 */ cmplwi r4, 0x7
|
|
|
|
/* 800CE3B0 000CA1F0 41 81 00 20 */ bgt lbl_800CE3D0
|
|
|
|
/* 800CE3B4 000CA1F4 38 00 00 01 */ li r0, 0x1
|
|
|
|
/* 800CE3B8 000CA1F8 80 7D 00 00 */ lwz r3, 0x0(r29)
|
|
|
|
/* 800CE3BC 000CA1FC 7C 00 20 30 */ slw r0, r0, r4
|
|
|
|
/* 800CE3C0 000CA200 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 800CE3C4 000CA204 90 1D 00 00 */ stw r0, 0x0(r29)
|
|
|
|
/* 800CE3C8 000CA208 48 00 00 08 */ b lbl_800CE3D0
|
|
|
|
.global lbl_800CE3CC
|
|
|
|
lbl_800CE3CC:
|
|
|
|
/* 800CE3CC 000CA20C 3B E0 00 00 */ li r31, 0x0
|
|
|
|
.global lbl_800CE3D0
|
|
|
|
lbl_800CE3D0:
|
|
|
|
/* 800CE3D0 000CA210 39 61 00 60 */ addi r11, r1, 0x60
|
|
|
|
/* 800CE3D4 000CA214 7F E3 FB 78 */ mr r3, r31
|
|
|
|
/* 800CE3D8 000CA218 4B F3 8F A9 */ bl lbl_80007380
|
|
|
|
/* 800CE3DC 000CA21C 80 01 00 64 */ lwz r0, 0x64(r1)
|
|
|
|
/* 800CE3E0 000CA220 7C 08 03 A6 */ mtlr r0
|
|
|
|
/* 800CE3E4 000CA224 38 21 00 60 */ addi r1, r1, 0x60
|
|
|
|
/* 800CE3E8 000CA228 4E 80 00 20 */ blr
|
|
|
|
/* 800CE3EC 000CA22C 00 00 00 00 */ .4byte 0x00000000
|