2022-04-02 21:03:04 +00:00
|
|
|
.include "macros.inc"
|
|
|
|
|
2022-04-08 06:24:37 +00:00
|
|
|
.section .sdata
|
2022-08-10 23:08:58 +00:00
|
|
|
.balign 8
|
2022-04-08 06:24:37 +00:00
|
|
|
.global lbl_805A8AD0
|
|
|
|
lbl_805A8AD0:
|
2022-07-14 05:48:03 +00:00
|
|
|
# ROM: 0x3F6470
|
|
|
|
.4byte 0x00040102
|
|
|
|
|
2022-04-08 06:24:37 +00:00
|
|
|
.global lbl_805A8AD4
|
|
|
|
lbl_805A8AD4:
|
2022-07-14 05:48:03 +00:00
|
|
|
# ROM: 0x3F6474
|
|
|
|
.4byte 0x00080102
|
|
|
|
|
2022-04-08 06:24:37 +00:00
|
|
|
.global lbl_805A8AD8
|
|
|
|
lbl_805A8AD8:
|
2022-07-14 05:48:03 +00:00
|
|
|
# ROM: 0x3F6478
|
|
|
|
.4byte 0x000C0102
|
|
|
|
.4byte 0
|
|
|
|
|
|
|
|
|
2022-04-02 21:03:04 +00:00
|
|
|
.section .text, "ax"
|
|
|
|
|
|
|
|
.global __GXXfVtxSpecs
|
|
|
|
__GXXfVtxSpecs:
|
|
|
|
/* 80376DC0 00373D20 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80376DC4 00373D24 80 85 00 14 */ lwz r4, 0x14(r5)
|
|
|
|
/* 80376DC8 00373D28 54 80 9F BF */ rlwinm. r0, r4, 0x13, 0x1e, 0x1f
|
|
|
|
/* 80376DCC 00373D2C 41 82 00 0C */ beq lbl_80376DD8
|
|
|
|
/* 80376DD0 00373D30 38 60 00 01 */ li r3, 1
|
|
|
|
/* 80376DD4 00373D34 48 00 00 08 */ b lbl_80376DDC
|
|
|
|
lbl_80376DD8:
|
|
|
|
/* 80376DD8 00373D38 38 60 00 00 */ li r3, 0
|
|
|
|
lbl_80376DDC:
|
|
|
|
/* 80376DDC 00373D3C 54 80 8F BF */ rlwinm. r0, r4, 0x11, 0x1e, 0x1f
|
|
|
|
/* 80376DE0 00373D40 41 82 00 0C */ beq lbl_80376DEC
|
|
|
|
/* 80376DE4 00373D44 38 80 00 01 */ li r4, 1
|
|
|
|
/* 80376DE8 00373D48 48 00 00 08 */ b lbl_80376DF0
|
|
|
|
lbl_80376DEC:
|
|
|
|
/* 80376DEC 00373D4C 38 80 00 00 */ li r4, 0
|
|
|
|
lbl_80376DF0:
|
|
|
|
/* 80376DF0 00373D50 88 05 04 1D */ lbz r0, 0x41d(r5)
|
|
|
|
/* 80376DF4 00373D54 7C E3 22 14 */ add r7, r3, r4
|
|
|
|
/* 80376DF8 00373D58 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 80376DFC 00373D5C 41 82 00 0C */ beq lbl_80376E08
|
|
|
|
/* 80376E00 00373D60 38 80 00 02 */ li r4, 2
|
|
|
|
/* 80376E04 00373D64 48 00 00 1C */ b lbl_80376E20
|
|
|
|
lbl_80376E08:
|
|
|
|
/* 80376E08 00373D68 88 05 04 1C */ lbz r0, 0x41c(r5)
|
|
|
|
/* 80376E0C 00373D6C 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 80376E10 00373D70 41 82 00 0C */ beq lbl_80376E1C
|
|
|
|
/* 80376E14 00373D74 38 80 00 01 */ li r4, 1
|
|
|
|
/* 80376E18 00373D78 48 00 00 08 */ b lbl_80376E20
|
|
|
|
lbl_80376E1C:
|
|
|
|
/* 80376E1C 00373D7C 38 80 00 00 */ li r4, 0
|
|
|
|
lbl_80376E20:
|
|
|
|
/* 80376E20 00373D80 80 C5 00 18 */ lwz r6, 0x18(r5)
|
|
|
|
/* 80376E24 00373D84 54 C0 07 BF */ clrlwi. r0, r6, 0x1e
|
|
|
|
/* 80376E28 00373D88 41 82 00 0C */ beq lbl_80376E34
|
|
|
|
/* 80376E2C 00373D8C 38 60 00 01 */ li r3, 1
|
|
|
|
/* 80376E30 00373D90 48 00 00 08 */ b lbl_80376E38
|
|
|
|
lbl_80376E34:
|
|
|
|
/* 80376E34 00373D94 38 60 00 00 */ li r3, 0
|
|
|
|
lbl_80376E38:
|
|
|
|
/* 80376E38 00373D98 54 C0 F7 BF */ rlwinm. r0, r6, 0x1e, 0x1e, 0x1f
|
|
|
|
/* 80376E3C 00373D9C 41 82 00 0C */ beq lbl_80376E48
|
|
|
|
/* 80376E40 00373DA0 38 A0 00 01 */ li r5, 1
|
|
|
|
/* 80376E44 00373DA4 48 00 00 08 */ b lbl_80376E4C
|
|
|
|
lbl_80376E48:
|
|
|
|
/* 80376E48 00373DA8 38 A0 00 00 */ li r5, 0
|
|
|
|
lbl_80376E4C:
|
|
|
|
/* 80376E4C 00373DAC 54 C0 E7 BF */ rlwinm. r0, r6, 0x1c, 0x1e, 0x1f
|
|
|
|
/* 80376E50 00373DB0 7D 03 2A 14 */ add r8, r3, r5
|
|
|
|
/* 80376E54 00373DB4 41 82 00 0C */ beq lbl_80376E60
|
|
|
|
/* 80376E58 00373DB8 38 60 00 01 */ li r3, 1
|
|
|
|
/* 80376E5C 00373DBC 48 00 00 08 */ b lbl_80376E64
|
|
|
|
lbl_80376E60:
|
|
|
|
/* 80376E60 00373DC0 38 60 00 00 */ li r3, 0
|
|
|
|
lbl_80376E64:
|
|
|
|
/* 80376E64 00373DC4 54 C0 D7 BF */ rlwinm. r0, r6, 0x1a, 0x1e, 0x1f
|
|
|
|
/* 80376E68 00373DC8 7D 08 1A 14 */ add r8, r8, r3
|
|
|
|
/* 80376E6C 00373DCC 41 82 00 0C */ beq lbl_80376E78
|
|
|
|
/* 80376E70 00373DD0 38 60 00 01 */ li r3, 1
|
|
|
|
/* 80376E74 00373DD4 48 00 00 08 */ b lbl_80376E7C
|
|
|
|
lbl_80376E78:
|
|
|
|
/* 80376E78 00373DD8 38 60 00 00 */ li r3, 0
|
|
|
|
lbl_80376E7C:
|
|
|
|
/* 80376E7C 00373DDC 54 C0 C7 BF */ rlwinm. r0, r6, 0x18, 0x1e, 0x1f
|
|
|
|
/* 80376E80 00373DE0 7D 08 1A 14 */ add r8, r8, r3
|
|
|
|
/* 80376E84 00373DE4 41 82 00 0C */ beq lbl_80376E90
|
|
|
|
/* 80376E88 00373DE8 38 60 00 01 */ li r3, 1
|
|
|
|
/* 80376E8C 00373DEC 48 00 00 08 */ b lbl_80376E94
|
|
|
|
lbl_80376E90:
|
|
|
|
/* 80376E90 00373DF0 38 60 00 00 */ li r3, 0
|
|
|
|
lbl_80376E94:
|
|
|
|
/* 80376E94 00373DF4 54 C0 B7 BF */ rlwinm. r0, r6, 0x16, 0x1e, 0x1f
|
|
|
|
/* 80376E98 00373DF8 7D 08 1A 14 */ add r8, r8, r3
|
|
|
|
/* 80376E9C 00373DFC 41 82 00 0C */ beq lbl_80376EA8
|
|
|
|
/* 80376EA0 00373E00 38 60 00 01 */ li r3, 1
|
|
|
|
/* 80376EA4 00373E04 48 00 00 08 */ b lbl_80376EAC
|
|
|
|
lbl_80376EA8:
|
|
|
|
/* 80376EA8 00373E08 38 60 00 00 */ li r3, 0
|
|
|
|
lbl_80376EAC:
|
|
|
|
/* 80376EAC 00373E0C 54 C0 A7 BF */ rlwinm. r0, r6, 0x14, 0x1e, 0x1f
|
|
|
|
/* 80376EB0 00373E10 7D 08 1A 14 */ add r8, r8, r3
|
|
|
|
/* 80376EB4 00373E14 41 82 00 0C */ beq lbl_80376EC0
|
|
|
|
/* 80376EB8 00373E18 38 60 00 01 */ li r3, 1
|
|
|
|
/* 80376EBC 00373E1C 48 00 00 08 */ b lbl_80376EC4
|
|
|
|
lbl_80376EC0:
|
|
|
|
/* 80376EC0 00373E20 38 60 00 00 */ li r3, 0
|
|
|
|
lbl_80376EC4:
|
|
|
|
/* 80376EC4 00373E24 54 C0 97 BF */ rlwinm. r0, r6, 0x12, 0x1e, 0x1f
|
|
|
|
/* 80376EC8 00373E28 7D 08 1A 14 */ add r8, r8, r3
|
|
|
|
/* 80376ECC 00373E2C 41 82 00 0C */ beq lbl_80376ED8
|
|
|
|
/* 80376ED0 00373E30 38 C0 00 01 */ li r6, 1
|
|
|
|
/* 80376ED4 00373E34 48 00 00 08 */ b lbl_80376EDC
|
|
|
|
lbl_80376ED8:
|
|
|
|
/* 80376ED8 00373E38 38 C0 00 00 */ li r6, 0
|
|
|
|
lbl_80376EDC:
|
|
|
|
/* 80376EDC 00373E3C 38 00 00 10 */ li r0, 0x10
|
|
|
|
/* 80376EE0 00373E40 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80376EE4 00373E44 3C A0 CC 01 */ lis r5, 0xCC008000@ha
|
|
|
|
/* 80376EE8 00373E48 7D 08 32 14 */ add r8, r8, r6
|
|
|
|
/* 80376EEC 00373E4C 98 05 80 00 */ stb r0, 0xCC008000@l(r5)
|
|
|
|
/* 80376EF0 00373E50 54 80 10 3A */ slwi r0, r4, 2
|
|
|
|
/* 80376EF4 00373E54 38 80 10 08 */ li r4, 0x1008
|
|
|
|
/* 80376EF8 00373E58 90 85 80 00 */ stw r4, 0xCC008000@l(r5)
|
|
|
|
/* 80376EFC 00373E5C 55 04 20 36 */ slwi r4, r8, 4
|
|
|
|
/* 80376F00 00373E60 7C E0 03 78 */ or r0, r7, r0
|
|
|
|
/* 80376F04 00373E64 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 80376F08 00373E68 90 05 80 00 */ stw r0, 0xCC008000@l(r5)
|
|
|
|
/* 80376F0C 00373E6C 38 00 00 01 */ li r0, 1
|
|
|
|
/* 80376F10 00373E70 B0 03 00 02 */ sth r0, 2(r3)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80376F14 00373E74 4E 80 00 20 */ blr
|
2022-04-02 21:03:04 +00:00
|
|
|
|
|
|
|
.global GXSetVtxDesc
|
|
|
|
GXSetVtxDesc:
|
|
|
|
/* 80376F18 00373E78 28 03 00 19 */ cmplwi r3, 0x19
|
|
|
|
/* 80376F1C 00373E7C 41 81 02 F0 */ bgt lbl_8037720C
|
|
|
|
/* 80376F20 00373E80 3C A0 80 3F */ lis r5, lbl_803F0718@ha
|
|
|
|
/* 80376F24 00373E84 38 A5 07 18 */ addi r5, r5, lbl_803F0718@l
|
|
|
|
/* 80376F28 00373E88 54 60 10 3A */ slwi r0, r3, 2
|
|
|
|
/* 80376F2C 00373E8C 7C 05 00 2E */ lwzx r0, r5, r0
|
|
|
|
/* 80376F30 00373E90 7C 09 03 A6 */ mtctr r0
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80376F34 00373E94 4E 80 04 20 */ bctr
|
2022-04-02 21:03:04 +00:00
|
|
|
/* 80376F38 00373E98 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80376F3C 00373E9C 84 03 00 14 */ lwzu r0, 0x14(r3)
|
|
|
|
/* 80376F40 00373EA0 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e
|
|
|
|
/* 80376F44 00373EA4 7C 00 23 78 */ or r0, r0, r4
|
|
|
|
/* 80376F48 00373EA8 90 03 00 00 */ stw r0, 0(r3)
|
|
|
|
/* 80376F4C 00373EAC 48 00 02 C0 */ b lbl_8037720C
|
|
|
|
/* 80376F50 00373EB0 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80376F54 00373EB4 54 80 08 3C */ slwi r0, r4, 1
|
|
|
|
/* 80376F58 00373EB8 38 83 00 14 */ addi r4, r3, 0x14
|
|
|
|
/* 80376F5C 00373EBC 80 63 00 14 */ lwz r3, 0x14(r3)
|
|
|
|
/* 80376F60 00373EC0 54 63 07 FA */ rlwinm r3, r3, 0, 0x1f, 0x1d
|
|
|
|
/* 80376F64 00373EC4 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80376F68 00373EC8 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 80376F6C 00373ECC 48 00 02 A0 */ b lbl_8037720C
|
|
|
|
/* 80376F70 00373ED0 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80376F74 00373ED4 54 80 10 3A */ slwi r0, r4, 2
|
|
|
|
/* 80376F78 00373ED8 38 83 00 14 */ addi r4, r3, 0x14
|
|
|
|
/* 80376F7C 00373EDC 80 63 00 14 */ lwz r3, 0x14(r3)
|
|
|
|
/* 80376F80 00373EE0 54 63 07 B8 */ rlwinm r3, r3, 0, 0x1e, 0x1c
|
|
|
|
/* 80376F84 00373EE4 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80376F88 00373EE8 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 80376F8C 00373EEC 48 00 02 80 */ b lbl_8037720C
|
|
|
|
/* 80376F90 00373EF0 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80376F94 00373EF4 54 80 18 38 */ slwi r0, r4, 3
|
|
|
|
/* 80376F98 00373EF8 38 83 00 14 */ addi r4, r3, 0x14
|
|
|
|
/* 80376F9C 00373EFC 80 63 00 14 */ lwz r3, 0x14(r3)
|
|
|
|
/* 80376FA0 00373F00 54 63 07 76 */ rlwinm r3, r3, 0, 0x1d, 0x1b
|
|
|
|
/* 80376FA4 00373F04 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80376FA8 00373F08 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 80376FAC 00373F0C 48 00 02 60 */ b lbl_8037720C
|
|
|
|
/* 80376FB0 00373F10 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80376FB4 00373F14 54 80 20 36 */ slwi r0, r4, 4
|
|
|
|
/* 80376FB8 00373F18 38 83 00 14 */ addi r4, r3, 0x14
|
|
|
|
/* 80376FBC 00373F1C 80 63 00 14 */ lwz r3, 0x14(r3)
|
|
|
|
/* 80376FC0 00373F20 54 63 07 34 */ rlwinm r3, r3, 0, 0x1c, 0x1a
|
|
|
|
/* 80376FC4 00373F24 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80376FC8 00373F28 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 80376FCC 00373F2C 48 00 02 40 */ b lbl_8037720C
|
|
|
|
/* 80376FD0 00373F30 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80376FD4 00373F34 54 80 28 34 */ slwi r0, r4, 5
|
|
|
|
/* 80376FD8 00373F38 38 83 00 14 */ addi r4, r3, 0x14
|
|
|
|
/* 80376FDC 00373F3C 80 63 00 14 */ lwz r3, 0x14(r3)
|
|
|
|
/* 80376FE0 00373F40 54 63 06 F2 */ rlwinm r3, r3, 0, 0x1b, 0x19
|
|
|
|
/* 80376FE4 00373F44 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80376FE8 00373F48 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 80376FEC 00373F4C 48 00 02 20 */ b lbl_8037720C
|
|
|
|
/* 80376FF0 00373F50 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80376FF4 00373F54 54 80 30 32 */ slwi r0, r4, 6
|
|
|
|
/* 80376FF8 00373F58 38 83 00 14 */ addi r4, r3, 0x14
|
|
|
|
/* 80376FFC 00373F5C 80 63 00 14 */ lwz r3, 0x14(r3)
|
|
|
|
/* 80377000 00373F60 54 63 06 B0 */ rlwinm r3, r3, 0, 0x1a, 0x18
|
|
|
|
/* 80377004 00373F64 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80377008 00373F68 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 8037700C 00373F6C 48 00 02 00 */ b lbl_8037720C
|
|
|
|
/* 80377010 00373F70 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377014 00373F74 54 80 38 30 */ slwi r0, r4, 7
|
|
|
|
/* 80377018 00373F78 38 83 00 14 */ addi r4, r3, 0x14
|
|
|
|
/* 8037701C 00373F7C 80 63 00 14 */ lwz r3, 0x14(r3)
|
|
|
|
/* 80377020 00373F80 54 63 06 6E */ rlwinm r3, r3, 0, 0x19, 0x17
|
|
|
|
/* 80377024 00373F84 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80377028 00373F88 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 8037702C 00373F8C 48 00 01 E0 */ b lbl_8037720C
|
|
|
|
/* 80377030 00373F90 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377034 00373F94 54 80 40 2E */ slwi r0, r4, 8
|
|
|
|
/* 80377038 00373F98 38 83 00 14 */ addi r4, r3, 0x14
|
|
|
|
/* 8037703C 00373F9C 80 63 00 14 */ lwz r3, 0x14(r3)
|
|
|
|
/* 80377040 00373FA0 54 63 06 2C */ rlwinm r3, r3, 0, 0x18, 0x16
|
|
|
|
/* 80377044 00373FA4 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80377048 00373FA8 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 8037704C 00373FAC 48 00 01 C0 */ b lbl_8037720C
|
|
|
|
/* 80377050 00373FB0 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377054 00373FB4 54 80 48 2C */ slwi r0, r4, 9
|
|
|
|
/* 80377058 00373FB8 38 83 00 14 */ addi r4, r3, 0x14
|
|
|
|
/* 8037705C 00373FBC 80 63 00 14 */ lwz r3, 0x14(r3)
|
|
|
|
/* 80377060 00373FC0 54 63 05 E8 */ rlwinm r3, r3, 0, 0x17, 0x14
|
|
|
|
/* 80377064 00373FC4 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80377068 00373FC8 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 8037706C 00373FCC 48 00 01 A0 */ b lbl_8037720C
|
|
|
|
/* 80377070 00373FD0 2C 04 00 00 */ cmpwi r4, 0
|
|
|
|
/* 80377074 00373FD4 41 82 00 20 */ beq lbl_80377094
|
|
|
|
/* 80377078 00373FD8 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 8037707C 00373FDC 38 A0 00 01 */ li r5, 1
|
|
|
|
/* 80377080 00373FE0 38 00 00 00 */ li r0, 0
|
|
|
|
/* 80377084 00373FE4 98 A3 04 1C */ stb r5, 0x41c(r3)
|
|
|
|
/* 80377088 00373FE8 98 03 04 1D */ stb r0, 0x41d(r3)
|
|
|
|
/* 8037708C 00373FEC 90 83 04 18 */ stw r4, 0x418(r3)
|
|
|
|
/* 80377090 00373FF0 48 00 01 7C */ b lbl_8037720C
|
|
|
|
lbl_80377094:
|
|
|
|
/* 80377094 00373FF4 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377098 00373FF8 38 00 00 00 */ li r0, 0
|
|
|
|
/* 8037709C 00373FFC 98 03 04 1C */ stb r0, 0x41c(r3)
|
|
|
|
/* 803770A0 00374000 48 00 01 6C */ b lbl_8037720C
|
|
|
|
/* 803770A4 00374004 2C 04 00 00 */ cmpwi r4, 0
|
|
|
|
/* 803770A8 00374008 41 82 00 20 */ beq lbl_803770C8
|
|
|
|
/* 803770AC 0037400C 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803770B0 00374010 38 A0 00 01 */ li r5, 1
|
|
|
|
/* 803770B4 00374014 38 00 00 00 */ li r0, 0
|
|
|
|
/* 803770B8 00374018 98 A3 04 1D */ stb r5, 0x41d(r3)
|
|
|
|
/* 803770BC 0037401C 98 03 04 1C */ stb r0, 0x41c(r3)
|
|
|
|
/* 803770C0 00374020 90 83 04 18 */ stw r4, 0x418(r3)
|
|
|
|
/* 803770C4 00374024 48 00 01 48 */ b lbl_8037720C
|
|
|
|
lbl_803770C8:
|
|
|
|
/* 803770C8 00374028 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803770CC 0037402C 38 00 00 00 */ li r0, 0
|
|
|
|
/* 803770D0 00374030 98 03 04 1D */ stb r0, 0x41d(r3)
|
|
|
|
/* 803770D4 00374034 48 00 01 38 */ b lbl_8037720C
|
|
|
|
/* 803770D8 00374038 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803770DC 0037403C 54 80 68 24 */ slwi r0, r4, 0xd
|
|
|
|
/* 803770E0 00374040 38 83 00 14 */ addi r4, r3, 0x14
|
|
|
|
/* 803770E4 00374044 80 63 00 14 */ lwz r3, 0x14(r3)
|
|
|
|
/* 803770E8 00374048 54 63 04 E0 */ rlwinm r3, r3, 0, 0x13, 0x10
|
|
|
|
/* 803770EC 0037404C 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 803770F0 00374050 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 803770F4 00374054 48 00 01 18 */ b lbl_8037720C
|
|
|
|
/* 803770F8 00374058 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803770FC 0037405C 54 80 78 20 */ slwi r0, r4, 0xf
|
|
|
|
/* 80377100 00374060 38 83 00 14 */ addi r4, r3, 0x14
|
|
|
|
/* 80377104 00374064 80 63 00 14 */ lwz r3, 0x14(r3)
|
|
|
|
/* 80377108 00374068 54 63 04 5C */ rlwinm r3, r3, 0, 0x11, 0xe
|
|
|
|
/* 8037710C 0037406C 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80377110 00374070 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 80377114 00374074 48 00 00 F8 */ b lbl_8037720C
|
|
|
|
/* 80377118 00374078 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 8037711C 0037407C 84 03 00 18 */ lwzu r0, 0x18(r3)
|
|
|
|
/* 80377120 00374080 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d
|
|
|
|
/* 80377124 00374084 7C 00 23 78 */ or r0, r0, r4
|
|
|
|
/* 80377128 00374088 90 03 00 00 */ stw r0, 0(r3)
|
|
|
|
/* 8037712C 0037408C 48 00 00 E0 */ b lbl_8037720C
|
|
|
|
/* 80377130 00374090 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377134 00374094 54 80 10 3A */ slwi r0, r4, 2
|
|
|
|
/* 80377138 00374098 38 83 00 18 */ addi r4, r3, 0x18
|
|
|
|
/* 8037713C 0037409C 80 63 00 18 */ lwz r3, 0x18(r3)
|
|
|
|
/* 80377140 003740A0 54 63 07 B6 */ rlwinm r3, r3, 0, 0x1e, 0x1b
|
|
|
|
/* 80377144 003740A4 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80377148 003740A8 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 8037714C 003740AC 48 00 00 C0 */ b lbl_8037720C
|
|
|
|
/* 80377150 003740B0 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377154 003740B4 54 80 20 36 */ slwi r0, r4, 4
|
|
|
|
/* 80377158 003740B8 38 83 00 18 */ addi r4, r3, 0x18
|
|
|
|
/* 8037715C 003740BC 80 63 00 18 */ lwz r3, 0x18(r3)
|
|
|
|
/* 80377160 003740C0 54 63 07 32 */ rlwinm r3, r3, 0, 0x1c, 0x19
|
|
|
|
/* 80377164 003740C4 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80377168 003740C8 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 8037716C 003740CC 48 00 00 A0 */ b lbl_8037720C
|
|
|
|
/* 80377170 003740D0 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377174 003740D4 54 80 30 32 */ slwi r0, r4, 6
|
|
|
|
/* 80377178 003740D8 38 83 00 18 */ addi r4, r3, 0x18
|
|
|
|
/* 8037717C 003740DC 80 63 00 18 */ lwz r3, 0x18(r3)
|
|
|
|
/* 80377180 003740E0 54 63 06 AE */ rlwinm r3, r3, 0, 0x1a, 0x17
|
|
|
|
/* 80377184 003740E4 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80377188 003740E8 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 8037718C 003740EC 48 00 00 80 */ b lbl_8037720C
|
|
|
|
/* 80377190 003740F0 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377194 003740F4 54 80 40 2E */ slwi r0, r4, 8
|
|
|
|
/* 80377198 003740F8 38 83 00 18 */ addi r4, r3, 0x18
|
|
|
|
/* 8037719C 003740FC 80 63 00 18 */ lwz r3, 0x18(r3)
|
|
|
|
/* 803771A0 00374100 54 63 06 2A */ rlwinm r3, r3, 0, 0x18, 0x15
|
|
|
|
/* 803771A4 00374104 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 803771A8 00374108 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 803771AC 0037410C 48 00 00 60 */ b lbl_8037720C
|
|
|
|
/* 803771B0 00374110 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803771B4 00374114 54 80 50 2A */ slwi r0, r4, 0xa
|
|
|
|
/* 803771B8 00374118 38 83 00 18 */ addi r4, r3, 0x18
|
|
|
|
/* 803771BC 0037411C 80 63 00 18 */ lwz r3, 0x18(r3)
|
|
|
|
/* 803771C0 00374120 54 63 05 A6 */ rlwinm r3, r3, 0, 0x16, 0x13
|
|
|
|
/* 803771C4 00374124 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 803771C8 00374128 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 803771CC 0037412C 48 00 00 40 */ b lbl_8037720C
|
|
|
|
/* 803771D0 00374130 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803771D4 00374134 54 80 60 26 */ slwi r0, r4, 0xc
|
|
|
|
/* 803771D8 00374138 38 83 00 18 */ addi r4, r3, 0x18
|
|
|
|
/* 803771DC 0037413C 80 63 00 18 */ lwz r3, 0x18(r3)
|
|
|
|
/* 803771E0 00374140 54 63 05 22 */ rlwinm r3, r3, 0, 0x14, 0x11
|
|
|
|
/* 803771E4 00374144 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 803771E8 00374148 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 803771EC 0037414C 48 00 00 20 */ b lbl_8037720C
|
|
|
|
/* 803771F0 00374150 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803771F4 00374154 54 80 70 22 */ slwi r0, r4, 0xe
|
|
|
|
/* 803771F8 00374158 38 83 00 18 */ addi r4, r3, 0x18
|
|
|
|
/* 803771FC 0037415C 80 63 00 18 */ lwz r3, 0x18(r3)
|
|
|
|
/* 80377200 00374160 54 63 04 9E */ rlwinm r3, r3, 0, 0x12, 0xf
|
|
|
|
/* 80377204 00374164 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80377208 00374168 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
lbl_8037720C:
|
|
|
|
/* 8037720C 0037416C 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377210 00374170 88 03 04 1C */ lbz r0, 0x41c(r3)
|
|
|
|
/* 80377214 00374174 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 80377218 00374178 40 82 00 10 */ bne lbl_80377228
|
|
|
|
/* 8037721C 0037417C 88 03 04 1D */ lbz r0, 0x41d(r3)
|
|
|
|
/* 80377220 00374180 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 80377224 00374184 41 82 00 24 */ beq lbl_80377248
|
|
|
|
lbl_80377228:
|
|
|
|
/* 80377228 00374188 38 83 00 14 */ addi r4, r3, 0x14
|
|
|
|
/* 8037722C 0037418C 80 03 04 18 */ lwz r0, 0x418(r3)
|
|
|
|
/* 80377230 00374190 80 63 00 14 */ lwz r3, 0x14(r3)
|
|
|
|
/* 80377234 00374194 54 00 58 28 */ slwi r0, r0, 0xb
|
|
|
|
/* 80377238 00374198 54 63 05 64 */ rlwinm r3, r3, 0, 0x15, 0x12
|
|
|
|
/* 8037723C 0037419C 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80377240 003741A0 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 80377244 003741A4 48 00 00 10 */ b lbl_80377254
|
|
|
|
lbl_80377248:
|
|
|
|
/* 80377248 003741A8 84 03 00 14 */ lwzu r0, 0x14(r3)
|
|
|
|
/* 8037724C 003741AC 54 00 05 64 */ rlwinm r0, r0, 0, 0x15, 0x12
|
|
|
|
/* 80377250 003741B0 90 03 00 00 */ stw r0, 0(r3)
|
|
|
|
lbl_80377254:
|
|
|
|
/* 80377254 003741B4 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377258 003741B8 80 03 04 F4 */ lwz r0, 0x4f4(r3)
|
|
|
|
/* 8037725C 003741BC 60 00 00 08 */ ori r0, r0, 8
|
|
|
|
/* 80377260 003741C0 90 03 04 F4 */ stw r0, 0x4f4(r3)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80377264 003741C4 4E 80 00 20 */ blr
|
2022-04-02 21:03:04 +00:00
|
|
|
|
|
|
|
.global GXSetVtxDescv
|
|
|
|
GXSetVtxDescv:
|
|
|
|
/* 80377268 003741C8 3C 80 80 3F */ lis r4, lbl_803F0780@ha
|
|
|
|
/* 8037726C 003741CC 38 84 07 80 */ addi r4, r4, lbl_803F0780@l
|
|
|
|
/* 80377270 003741D0 48 00 03 04 */ b lbl_80377574
|
|
|
|
lbl_80377274:
|
|
|
|
/* 80377274 003741D4 80 A3 00 00 */ lwz r5, 0(r3)
|
|
|
|
/* 80377278 003741D8 80 03 00 04 */ lwz r0, 4(r3)
|
|
|
|
/* 8037727C 003741DC 28 05 00 19 */ cmplwi r5, 0x19
|
|
|
|
/* 80377280 003741E0 41 81 02 F0 */ bgt lbl_80377570
|
|
|
|
/* 80377284 003741E4 54 A5 10 3A */ slwi r5, r5, 2
|
|
|
|
/* 80377288 003741E8 7C A4 28 2E */ lwzx r5, r4, r5
|
|
|
|
/* 8037728C 003741EC 7C A9 03 A6 */ mtctr r5
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80377290 003741F0 4E 80 04 20 */ bctr
|
2022-04-02 21:03:04 +00:00
|
|
|
/* 80377294 003741F4 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377298 003741F8 38 C5 00 14 */ addi r6, r5, 0x14
|
|
|
|
/* 8037729C 003741FC 80 A5 00 14 */ lwz r5, 0x14(r5)
|
|
|
|
/* 803772A0 00374200 54 A5 00 3C */ rlwinm r5, r5, 0, 0, 0x1e
|
|
|
|
/* 803772A4 00374204 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 803772A8 00374208 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 803772AC 0037420C 48 00 02 C4 */ b lbl_80377570
|
|
|
|
/* 803772B0 00374210 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803772B4 00374214 54 00 08 3C */ slwi r0, r0, 1
|
|
|
|
/* 803772B8 00374218 38 C5 00 14 */ addi r6, r5, 0x14
|
|
|
|
/* 803772BC 0037421C 80 A5 00 14 */ lwz r5, 0x14(r5)
|
|
|
|
/* 803772C0 00374220 54 A5 07 FA */ rlwinm r5, r5, 0, 0x1f, 0x1d
|
|
|
|
/* 803772C4 00374224 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 803772C8 00374228 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 803772CC 0037422C 48 00 02 A4 */ b lbl_80377570
|
|
|
|
/* 803772D0 00374230 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803772D4 00374234 54 00 10 3A */ slwi r0, r0, 2
|
|
|
|
/* 803772D8 00374238 38 C5 00 14 */ addi r6, r5, 0x14
|
|
|
|
/* 803772DC 0037423C 80 A5 00 14 */ lwz r5, 0x14(r5)
|
|
|
|
/* 803772E0 00374240 54 A5 07 B8 */ rlwinm r5, r5, 0, 0x1e, 0x1c
|
|
|
|
/* 803772E4 00374244 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 803772E8 00374248 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 803772EC 0037424C 48 00 02 84 */ b lbl_80377570
|
|
|
|
/* 803772F0 00374250 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803772F4 00374254 54 00 18 38 */ slwi r0, r0, 3
|
|
|
|
/* 803772F8 00374258 38 C5 00 14 */ addi r6, r5, 0x14
|
|
|
|
/* 803772FC 0037425C 80 A5 00 14 */ lwz r5, 0x14(r5)
|
|
|
|
/* 80377300 00374260 54 A5 07 76 */ rlwinm r5, r5, 0, 0x1d, 0x1b
|
|
|
|
/* 80377304 00374264 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 80377308 00374268 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 8037730C 0037426C 48 00 02 64 */ b lbl_80377570
|
|
|
|
/* 80377310 00374270 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377314 00374274 54 00 20 36 */ slwi r0, r0, 4
|
|
|
|
/* 80377318 00374278 38 C5 00 14 */ addi r6, r5, 0x14
|
|
|
|
/* 8037731C 0037427C 80 A5 00 14 */ lwz r5, 0x14(r5)
|
|
|
|
/* 80377320 00374280 54 A5 07 34 */ rlwinm r5, r5, 0, 0x1c, 0x1a
|
|
|
|
/* 80377324 00374284 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 80377328 00374288 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 8037732C 0037428C 48 00 02 44 */ b lbl_80377570
|
|
|
|
/* 80377330 00374290 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377334 00374294 54 00 28 34 */ slwi r0, r0, 5
|
|
|
|
/* 80377338 00374298 38 C5 00 14 */ addi r6, r5, 0x14
|
|
|
|
/* 8037733C 0037429C 80 A5 00 14 */ lwz r5, 0x14(r5)
|
|
|
|
/* 80377340 003742A0 54 A5 06 F2 */ rlwinm r5, r5, 0, 0x1b, 0x19
|
|
|
|
/* 80377344 003742A4 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 80377348 003742A8 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 8037734C 003742AC 48 00 02 24 */ b lbl_80377570
|
|
|
|
/* 80377350 003742B0 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377354 003742B4 54 00 30 32 */ slwi r0, r0, 6
|
|
|
|
/* 80377358 003742B8 38 C5 00 14 */ addi r6, r5, 0x14
|
|
|
|
/* 8037735C 003742BC 80 A5 00 14 */ lwz r5, 0x14(r5)
|
|
|
|
/* 80377360 003742C0 54 A5 06 B0 */ rlwinm r5, r5, 0, 0x1a, 0x18
|
|
|
|
/* 80377364 003742C4 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 80377368 003742C8 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 8037736C 003742CC 48 00 02 04 */ b lbl_80377570
|
|
|
|
/* 80377370 003742D0 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377374 003742D4 54 00 38 30 */ slwi r0, r0, 7
|
|
|
|
/* 80377378 003742D8 38 C5 00 14 */ addi r6, r5, 0x14
|
|
|
|
/* 8037737C 003742DC 80 A5 00 14 */ lwz r5, 0x14(r5)
|
|
|
|
/* 80377380 003742E0 54 A5 06 6E */ rlwinm r5, r5, 0, 0x19, 0x17
|
|
|
|
/* 80377384 003742E4 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 80377388 003742E8 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 8037738C 003742EC 48 00 01 E4 */ b lbl_80377570
|
|
|
|
/* 80377390 003742F0 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377394 003742F4 54 00 40 2E */ slwi r0, r0, 8
|
|
|
|
/* 80377398 003742F8 38 C5 00 14 */ addi r6, r5, 0x14
|
|
|
|
/* 8037739C 003742FC 80 A5 00 14 */ lwz r5, 0x14(r5)
|
|
|
|
/* 803773A0 00374300 54 A5 06 2C */ rlwinm r5, r5, 0, 0x18, 0x16
|
|
|
|
/* 803773A4 00374304 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 803773A8 00374308 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 803773AC 0037430C 48 00 01 C4 */ b lbl_80377570
|
|
|
|
/* 803773B0 00374310 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803773B4 00374314 54 00 48 2C */ slwi r0, r0, 9
|
|
|
|
/* 803773B8 00374318 38 C5 00 14 */ addi r6, r5, 0x14
|
|
|
|
/* 803773BC 0037431C 80 A5 00 14 */ lwz r5, 0x14(r5)
|
|
|
|
/* 803773C0 00374320 54 A5 05 E8 */ rlwinm r5, r5, 0, 0x17, 0x14
|
|
|
|
/* 803773C4 00374324 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 803773C8 00374328 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 803773CC 0037432C 48 00 01 A4 */ b lbl_80377570
|
|
|
|
/* 803773D0 00374330 2C 00 00 00 */ cmpwi r0, 0
|
|
|
|
/* 803773D4 00374334 41 82 00 20 */ beq lbl_803773F4
|
|
|
|
/* 803773D8 00374338 80 C2 CE 08 */ lwz r6, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803773DC 0037433C 38 E0 00 01 */ li r7, 1
|
|
|
|
/* 803773E0 00374340 38 A0 00 00 */ li r5, 0
|
|
|
|
/* 803773E4 00374344 98 E6 04 1C */ stb r7, 0x41c(r6)
|
|
|
|
/* 803773E8 00374348 98 A6 04 1D */ stb r5, 0x41d(r6)
|
|
|
|
/* 803773EC 0037434C 90 06 04 18 */ stw r0, 0x418(r6)
|
|
|
|
/* 803773F0 00374350 48 00 01 80 */ b lbl_80377570
|
|
|
|
lbl_803773F4:
|
|
|
|
/* 803773F4 00374354 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803773F8 00374358 38 00 00 00 */ li r0, 0
|
|
|
|
/* 803773FC 0037435C 98 05 04 1C */ stb r0, 0x41c(r5)
|
|
|
|
/* 80377400 00374360 48 00 01 70 */ b lbl_80377570
|
|
|
|
/* 80377404 00374364 2C 00 00 00 */ cmpwi r0, 0
|
|
|
|
/* 80377408 00374368 41 82 00 20 */ beq lbl_80377428
|
|
|
|
/* 8037740C 0037436C 80 C2 CE 08 */ lwz r6, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377410 00374370 38 E0 00 01 */ li r7, 1
|
|
|
|
/* 80377414 00374374 38 A0 00 00 */ li r5, 0
|
|
|
|
/* 80377418 00374378 98 E6 04 1D */ stb r7, 0x41d(r6)
|
|
|
|
/* 8037741C 0037437C 98 A6 04 1C */ stb r5, 0x41c(r6)
|
|
|
|
/* 80377420 00374380 90 06 04 18 */ stw r0, 0x418(r6)
|
|
|
|
/* 80377424 00374384 48 00 01 4C */ b lbl_80377570
|
|
|
|
lbl_80377428:
|
|
|
|
/* 80377428 00374388 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 8037742C 0037438C 38 00 00 00 */ li r0, 0
|
|
|
|
/* 80377430 00374390 98 05 04 1D */ stb r0, 0x41d(r5)
|
|
|
|
/* 80377434 00374394 48 00 01 3C */ b lbl_80377570
|
|
|
|
/* 80377438 00374398 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 8037743C 0037439C 54 00 68 24 */ slwi r0, r0, 0xd
|
|
|
|
/* 80377440 003743A0 38 C5 00 14 */ addi r6, r5, 0x14
|
|
|
|
/* 80377444 003743A4 80 A5 00 14 */ lwz r5, 0x14(r5)
|
|
|
|
/* 80377448 003743A8 54 A5 04 E0 */ rlwinm r5, r5, 0, 0x13, 0x10
|
|
|
|
/* 8037744C 003743AC 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 80377450 003743B0 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 80377454 003743B4 48 00 01 1C */ b lbl_80377570
|
|
|
|
/* 80377458 003743B8 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 8037745C 003743BC 54 00 78 20 */ slwi r0, r0, 0xf
|
|
|
|
/* 80377460 003743C0 38 C5 00 14 */ addi r6, r5, 0x14
|
|
|
|
/* 80377464 003743C4 80 A5 00 14 */ lwz r5, 0x14(r5)
|
|
|
|
/* 80377468 003743C8 54 A5 04 5C */ rlwinm r5, r5, 0, 0x11, 0xe
|
|
|
|
/* 8037746C 003743CC 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 80377470 003743D0 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 80377474 003743D4 48 00 00 FC */ b lbl_80377570
|
|
|
|
/* 80377478 003743D8 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 8037747C 003743DC 38 C5 00 18 */ addi r6, r5, 0x18
|
|
|
|
/* 80377480 003743E0 80 A5 00 18 */ lwz r5, 0x18(r5)
|
|
|
|
/* 80377484 003743E4 54 A5 00 3A */ rlwinm r5, r5, 0, 0, 0x1d
|
|
|
|
/* 80377488 003743E8 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 8037748C 003743EC 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 80377490 003743F0 48 00 00 E0 */ b lbl_80377570
|
|
|
|
/* 80377494 003743F4 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377498 003743F8 54 00 10 3A */ slwi r0, r0, 2
|
|
|
|
/* 8037749C 003743FC 38 C5 00 18 */ addi r6, r5, 0x18
|
|
|
|
/* 803774A0 00374400 80 A5 00 18 */ lwz r5, 0x18(r5)
|
|
|
|
/* 803774A4 00374404 54 A5 07 B6 */ rlwinm r5, r5, 0, 0x1e, 0x1b
|
|
|
|
/* 803774A8 00374408 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 803774AC 0037440C 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 803774B0 00374410 48 00 00 C0 */ b lbl_80377570
|
|
|
|
/* 803774B4 00374414 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803774B8 00374418 54 00 20 36 */ slwi r0, r0, 4
|
|
|
|
/* 803774BC 0037441C 38 C5 00 18 */ addi r6, r5, 0x18
|
|
|
|
/* 803774C0 00374420 80 A5 00 18 */ lwz r5, 0x18(r5)
|
|
|
|
/* 803774C4 00374424 54 A5 07 32 */ rlwinm r5, r5, 0, 0x1c, 0x19
|
|
|
|
/* 803774C8 00374428 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 803774CC 0037442C 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 803774D0 00374430 48 00 00 A0 */ b lbl_80377570
|
|
|
|
/* 803774D4 00374434 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803774D8 00374438 54 00 30 32 */ slwi r0, r0, 6
|
|
|
|
/* 803774DC 0037443C 38 C5 00 18 */ addi r6, r5, 0x18
|
|
|
|
/* 803774E0 00374440 80 A5 00 18 */ lwz r5, 0x18(r5)
|
|
|
|
/* 803774E4 00374444 54 A5 06 AE */ rlwinm r5, r5, 0, 0x1a, 0x17
|
|
|
|
/* 803774E8 00374448 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 803774EC 0037444C 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 803774F0 00374450 48 00 00 80 */ b lbl_80377570
|
|
|
|
/* 803774F4 00374454 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803774F8 00374458 54 00 40 2E */ slwi r0, r0, 8
|
|
|
|
/* 803774FC 0037445C 38 C5 00 18 */ addi r6, r5, 0x18
|
|
|
|
/* 80377500 00374460 80 A5 00 18 */ lwz r5, 0x18(r5)
|
|
|
|
/* 80377504 00374464 54 A5 06 2A */ rlwinm r5, r5, 0, 0x18, 0x15
|
|
|
|
/* 80377508 00374468 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 8037750C 0037446C 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 80377510 00374470 48 00 00 60 */ b lbl_80377570
|
|
|
|
/* 80377514 00374474 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377518 00374478 54 00 50 2A */ slwi r0, r0, 0xa
|
|
|
|
/* 8037751C 0037447C 38 C5 00 18 */ addi r6, r5, 0x18
|
|
|
|
/* 80377520 00374480 80 A5 00 18 */ lwz r5, 0x18(r5)
|
|
|
|
/* 80377524 00374484 54 A5 05 A6 */ rlwinm r5, r5, 0, 0x16, 0x13
|
|
|
|
/* 80377528 00374488 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 8037752C 0037448C 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 80377530 00374490 48 00 00 40 */ b lbl_80377570
|
|
|
|
/* 80377534 00374494 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377538 00374498 54 00 60 26 */ slwi r0, r0, 0xc
|
|
|
|
/* 8037753C 0037449C 38 C5 00 18 */ addi r6, r5, 0x18
|
|
|
|
/* 80377540 003744A0 80 A5 00 18 */ lwz r5, 0x18(r5)
|
|
|
|
/* 80377544 003744A4 54 A5 05 22 */ rlwinm r5, r5, 0, 0x14, 0x11
|
|
|
|
/* 80377548 003744A8 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 8037754C 003744AC 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
/* 80377550 003744B0 48 00 00 20 */ b lbl_80377570
|
|
|
|
/* 80377554 003744B4 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377558 003744B8 54 00 70 22 */ slwi r0, r0, 0xe
|
|
|
|
/* 8037755C 003744BC 38 C5 00 18 */ addi r6, r5, 0x18
|
|
|
|
/* 80377560 003744C0 80 A5 00 18 */ lwz r5, 0x18(r5)
|
|
|
|
/* 80377564 003744C4 54 A5 04 9E */ rlwinm r5, r5, 0, 0x12, 0xf
|
|
|
|
/* 80377568 003744C8 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 8037756C 003744CC 90 06 00 00 */ stw r0, 0(r6)
|
|
|
|
lbl_80377570:
|
|
|
|
/* 80377570 003744D0 38 63 00 08 */ addi r3, r3, 8
|
|
|
|
lbl_80377574:
|
|
|
|
/* 80377574 003744D4 80 03 00 00 */ lwz r0, 0(r3)
|
|
|
|
/* 80377578 003744D8 2C 00 00 FF */ cmpwi r0, 0xff
|
|
|
|
/* 8037757C 003744DC 40 82 FC F8 */ bne lbl_80377274
|
|
|
|
/* 80377580 003744E0 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377584 003744E4 88 03 04 1C */ lbz r0, 0x41c(r3)
|
|
|
|
/* 80377588 003744E8 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 8037758C 003744EC 40 82 00 10 */ bne lbl_8037759C
|
|
|
|
/* 80377590 003744F0 88 03 04 1D */ lbz r0, 0x41d(r3)
|
|
|
|
/* 80377594 003744F4 28 00 00 00 */ cmplwi r0, 0
|
|
|
|
/* 80377598 003744F8 41 82 00 24 */ beq lbl_803775BC
|
|
|
|
lbl_8037759C:
|
|
|
|
/* 8037759C 003744FC 38 83 00 14 */ addi r4, r3, 0x14
|
|
|
|
/* 803775A0 00374500 80 03 04 18 */ lwz r0, 0x418(r3)
|
|
|
|
/* 803775A4 00374504 80 63 00 14 */ lwz r3, 0x14(r3)
|
|
|
|
/* 803775A8 00374508 54 00 58 28 */ slwi r0, r0, 0xb
|
|
|
|
/* 803775AC 0037450C 54 63 05 64 */ rlwinm r3, r3, 0, 0x15, 0x12
|
|
|
|
/* 803775B0 00374510 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 803775B4 00374514 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 803775B8 00374518 48 00 00 10 */ b lbl_803775C8
|
|
|
|
lbl_803775BC:
|
|
|
|
/* 803775BC 0037451C 84 03 00 14 */ lwzu r0, 0x14(r3)
|
|
|
|
/* 803775C0 00374520 54 00 05 64 */ rlwinm r0, r0, 0, 0x15, 0x12
|
|
|
|
/* 803775C4 00374524 90 03 00 00 */ stw r0, 0(r3)
|
|
|
|
lbl_803775C8:
|
|
|
|
/* 803775C8 00374528 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803775CC 0037452C 80 03 04 F4 */ lwz r0, 0x4f4(r3)
|
|
|
|
/* 803775D0 00374530 60 00 00 08 */ ori r0, r0, 8
|
|
|
|
/* 803775D4 00374534 90 03 04 F4 */ stw r0, 0x4f4(r3)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 803775D8 00374538 4E 80 00 20 */ blr
|
2022-04-02 21:03:04 +00:00
|
|
|
|
|
|
|
.global __GXSetVCD
|
|
|
|
__GXSetVCD:
|
|
|
|
/* 803775DC 0037453C 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 803775E0 00374540 38 C0 00 08 */ li r6, 8
|
|
|
|
/* 803775E4 00374544 90 01 00 04 */ stw r0, 4(r1)
|
|
|
|
/* 803775E8 00374548 3C A0 CC 01 */ lis r5, 0xCC008000@ha
|
|
|
|
/* 803775EC 0037454C 38 60 00 50 */ li r3, 0x50
|
|
|
|
/* 803775F0 00374550 94 21 FF F8 */ stwu r1, -8(r1)
|
|
|
|
/* 803775F4 00374554 38 00 00 60 */ li r0, 0x60
|
|
|
|
/* 803775F8 00374558 98 C5 80 00 */ stb r6, 0xCC008000@l(r5)
|
|
|
|
/* 803775FC 0037455C 80 82 CE 08 */ lwz r4, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377600 00374560 98 65 80 00 */ stb r3, 0xCC008000@l(r5)
|
|
|
|
/* 80377604 00374564 80 64 00 14 */ lwz r3, 0x14(r4)
|
|
|
|
/* 80377608 00374568 90 65 80 00 */ stw r3, 0xCC008000@l(r5)
|
|
|
|
/* 8037760C 0037456C 98 C5 80 00 */ stb r6, 0xCC008000@l(r5)
|
|
|
|
/* 80377610 00374570 98 05 80 00 */ stb r0, 0xCC008000@l(r5)
|
|
|
|
/* 80377614 00374574 80 04 00 18 */ lwz r0, 0x18(r4)
|
|
|
|
/* 80377618 00374578 90 05 80 00 */ stw r0, 0xCC008000@l(r5)
|
|
|
|
/* 8037761C 0037457C 4B FF F7 A5 */ bl __GXXfVtxSpecs
|
|
|
|
/* 80377620 00374580 80 01 00 0C */ lwz r0, 0xc(r1)
|
|
|
|
/* 80377624 00374584 38 21 00 08 */ addi r1, r1, 8
|
|
|
|
/* 80377628 00374588 7C 08 03 A6 */ mtlr r0
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8037762C 0037458C 4E 80 00 20 */ blr
|
2022-04-02 21:03:04 +00:00
|
|
|
|
|
|
|
.global __GXCalculateVLim
|
|
|
|
__GXCalculateVLim:
|
|
|
|
/* 80377630 00374590 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377634 00374594 A0 03 00 04 */ lhz r0, 4(r3)
|
|
|
|
/* 80377638 00374598 28 00 00 00 */ cmplwi r0, 0
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 8037763C 0037459C 4D 82 00 20 */ beqlr
|
2022-04-02 21:03:04 +00:00
|
|
|
/* 80377640 003745A0 81 23 00 14 */ lwz r9, 0x14(r3)
|
|
|
|
/* 80377644 003745A4 38 AD 9F 18 */ addi r5, r13, lbl_805A8AD8@sda21
|
|
|
|
/* 80377648 003745A8 81 03 00 1C */ lwz r8, 0x1c(r3)
|
|
|
|
/* 8037764C 003745AC 55 20 07 FE */ clrlwi r0, r9, 0x1f
|
|
|
|
/* 80377650 003745B0 80 83 00 18 */ lwz r4, 0x18(r3)
|
|
|
|
/* 80377654 003745B4 55 26 FF FE */ rlwinm r6, r9, 0x1f, 0x1f, 0x1f
|
|
|
|
/* 80377658 003745B8 7C 00 32 14 */ add r0, r0, r6
|
|
|
|
/* 8037765C 003745BC 55 26 F7 FE */ rlwinm r6, r9, 0x1e, 0x1f, 0x1f
|
|
|
|
/* 80377660 003745C0 7C 00 32 14 */ add r0, r0, r6
|
|
|
|
/* 80377664 003745C4 55 27 EF FE */ rlwinm r7, r9, 0x1d, 0x1f, 0x1f
|
|
|
|
/* 80377668 003745C8 55 26 BF BE */ rlwinm r6, r9, 0x17, 0x1e, 0x1f
|
|
|
|
/* 8037766C 003745CC 7C A5 30 AE */ lbzx r5, r5, r6
|
|
|
|
/* 80377670 003745D0 55 08 BF FE */ rlwinm r8, r8, 0x17, 0x1f, 0x1f
|
|
|
|
/* 80377674 003745D4 7C 00 3A 14 */ add r0, r0, r7
|
|
|
|
/* 80377678 003745D8 55 26 E7 FE */ rlwinm r6, r9, 0x1c, 0x1f, 0x1f
|
|
|
|
/* 8037767C 003745DC 7C 00 32 14 */ add r0, r0, r6
|
|
|
|
/* 80377680 003745E0 55 26 DF FE */ rlwinm r6, r9, 0x1b, 0x1f, 0x1f
|
|
|
|
/* 80377684 003745E4 7C 00 32 14 */ add r0, r0, r6
|
|
|
|
/* 80377688 003745E8 55 26 D7 FE */ rlwinm r6, r9, 0x1a, 0x1f, 0x1f
|
|
|
|
/* 8037768C 003745EC 7C 00 32 14 */ add r0, r0, r6
|
|
|
|
/* 80377690 003745F0 55 26 CF FE */ rlwinm r6, r9, 0x19, 0x1f, 0x1f
|
|
|
|
/* 80377694 003745F4 7C 00 32 14 */ add r0, r0, r6
|
|
|
|
/* 80377698 003745F8 55 26 C7 FE */ rlwinm r6, r9, 0x18, 0x1f, 0x1f
|
|
|
|
/* 8037769C 003745FC 7C 00 32 14 */ add r0, r0, r6
|
|
|
|
/* 803776A0 00374600 2C 08 00 01 */ cmpwi r8, 1
|
|
|
|
/* 803776A4 00374604 7C 00 2A 14 */ add r0, r0, r5
|
|
|
|
/* 803776A8 00374608 40 82 00 0C */ bne lbl_803776B4
|
|
|
|
/* 803776AC 0037460C 39 00 00 03 */ li r8, 3
|
|
|
|
/* 803776B0 00374610 48 00 00 08 */ b lbl_803776B8
|
|
|
|
lbl_803776B4:
|
|
|
|
/* 803776B4 00374614 39 00 00 01 */ li r8, 1
|
|
|
|
lbl_803776B8:
|
|
|
|
/* 803776B8 00374618 55 26 AF BE */ rlwinm r6, r9, 0x15, 0x1e, 0x1f
|
|
|
|
/* 803776BC 0037461C 38 AD 9F 18 */ addi r5, r13, lbl_805A8AD8@sda21
|
|
|
|
/* 803776C0 00374620 7C C5 30 AE */ lbzx r6, r5, r6
|
|
|
|
/* 803776C4 00374624 55 25 9F BE */ rlwinm r5, r9, 0x13, 0x1e, 0x1f
|
|
|
|
/* 803776C8 00374628 38 ED 9F 10 */ addi r7, r13, lbl_805A8AD0@sda21
|
|
|
|
/* 803776CC 0037462C 7D 06 41 D6 */ mullw r8, r6, r8
|
|
|
|
/* 803776D0 00374630 7C C7 28 AE */ lbzx r6, r7, r5
|
|
|
|
/* 803776D4 00374634 7C 00 42 14 */ add r0, r0, r8
|
|
|
|
/* 803776D8 00374638 55 25 8F BE */ rlwinm r5, r9, 0x11, 0x1e, 0x1f
|
|
|
|
/* 803776DC 0037463C 7D 27 28 AE */ lbzx r9, r7, r5
|
|
|
|
/* 803776E0 00374640 7C 00 32 14 */ add r0, r0, r6
|
|
|
|
/* 803776E4 00374644 54 86 07 BE */ clrlwi r6, r4, 0x1e
|
|
|
|
/* 803776E8 00374648 39 0D 9F 14 */ addi r8, r13, lbl_805A8AD4@sda21
|
|
|
|
/* 803776EC 0037464C 54 85 F7 BE */ rlwinm r5, r4, 0x1e, 0x1e, 0x1f
|
|
|
|
/* 803776F0 00374650 7C E8 30 AE */ lbzx r7, r8, r6
|
|
|
|
/* 803776F4 00374654 7C 00 4A 14 */ add r0, r0, r9
|
|
|
|
/* 803776F8 00374658 7C C8 28 AE */ lbzx r6, r8, r5
|
|
|
|
/* 803776FC 0037465C 7C 00 3A 14 */ add r0, r0, r7
|
|
|
|
/* 80377700 00374660 54 85 E7 BE */ rlwinm r5, r4, 0x1c, 0x1e, 0x1f
|
|
|
|
/* 80377704 00374664 7C E8 28 AE */ lbzx r7, r8, r5
|
|
|
|
/* 80377708 00374668 7C 00 32 14 */ add r0, r0, r6
|
|
|
|
/* 8037770C 0037466C 54 85 D7 BE */ rlwinm r5, r4, 0x1a, 0x1e, 0x1f
|
|
|
|
/* 80377710 00374670 7C C8 28 AE */ lbzx r6, r8, r5
|
|
|
|
/* 80377714 00374674 7C 00 3A 14 */ add r0, r0, r7
|
|
|
|
/* 80377718 00374678 54 85 C7 BE */ rlwinm r5, r4, 0x18, 0x1e, 0x1f
|
|
|
|
/* 8037771C 0037467C 7C E8 28 AE */ lbzx r7, r8, r5
|
|
|
|
/* 80377720 00374680 7C 00 32 14 */ add r0, r0, r6
|
|
|
|
/* 80377724 00374684 54 85 B7 BE */ rlwinm r5, r4, 0x16, 0x1e, 0x1f
|
|
|
|
/* 80377728 00374688 7C C8 28 AE */ lbzx r6, r8, r5
|
|
|
|
/* 8037772C 0037468C 54 85 A7 BE */ rlwinm r5, r4, 0x14, 0x1e, 0x1f
|
|
|
|
/* 80377730 00374690 7C 00 3A 14 */ add r0, r0, r7
|
|
|
|
/* 80377734 00374694 7C A8 28 AE */ lbzx r5, r8, r5
|
|
|
|
/* 80377738 00374698 54 84 97 BE */ rlwinm r4, r4, 0x12, 0x1e, 0x1f
|
|
|
|
/* 8037773C 0037469C 7C 00 32 14 */ add r0, r0, r6
|
|
|
|
/* 80377740 003746A0 7C 88 20 AE */ lbzx r4, r8, r4
|
|
|
|
/* 80377744 003746A4 7C 00 2A 14 */ add r0, r0, r5
|
|
|
|
/* 80377748 003746A8 7C 00 22 14 */ add r0, r0, r4
|
|
|
|
/* 8037774C 003746AC B0 03 00 06 */ sth r0, 6(r3)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80377750 003746B0 4E 80 00 20 */ blr
|
2022-04-02 21:03:04 +00:00
|
|
|
|
|
|
|
.global GXClearVtxDesc
|
|
|
|
GXClearVtxDesc:
|
|
|
|
/* 80377754 003746B4 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377758 003746B8 38 80 00 00 */ li r4, 0
|
|
|
|
/* 8037775C 003746BC 90 83 00 14 */ stw r4, 0x14(r3)
|
|
|
|
/* 80377760 003746C0 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
|
|
/* 80377764 003746C4 54 00 05 E8 */ rlwinm r0, r0, 0, 0x17, 0x14
|
|
|
|
/* 80377768 003746C8 60 00 02 00 */ ori r0, r0, 0x200
|
|
|
|
/* 8037776C 003746CC 90 03 00 14 */ stw r0, 0x14(r3)
|
|
|
|
/* 80377770 003746D0 90 83 00 18 */ stw r4, 0x18(r3)
|
|
|
|
/* 80377774 003746D4 98 83 04 1C */ stb r4, 0x41c(r3)
|
|
|
|
/* 80377778 003746D8 98 83 04 1D */ stb r4, 0x41d(r3)
|
|
|
|
/* 8037777C 003746DC 80 03 04 F4 */ lwz r0, 0x4f4(r3)
|
|
|
|
/* 80377780 003746E0 60 00 00 08 */ ori r0, r0, 8
|
|
|
|
/* 80377784 003746E4 90 03 04 F4 */ stw r0, 0x4f4(r3)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80377788 003746E8 4E 80 00 20 */ blr
|
2022-04-02 21:03:04 +00:00
|
|
|
|
|
|
|
.global GXSetVtxAttrFmt
|
|
|
|
GXSetVtxAttrFmt:
|
|
|
|
/* 8037778C 003746EC 38 04 FF F7 */ addi r0, r4, -9
|
|
|
|
/* 80377790 003746F0 81 02 CE 08 */ lwz r8, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377794 003746F4 54 64 10 3A */ slwi r4, r3, 2
|
|
|
|
/* 80377798 003746F8 7D 28 22 14 */ add r9, r8, r4
|
|
|
|
/* 8037779C 003746FC 28 00 00 10 */ cmplwi r0, 0x10
|
|
|
|
/* 803777A0 00374700 38 89 00 1C */ addi r4, r9, 0x1c
|
|
|
|
/* 803777A4 00374704 39 09 00 3C */ addi r8, r9, 0x3c
|
|
|
|
/* 803777A8 00374708 39 29 00 5C */ addi r9, r9, 0x5c
|
|
|
|
/* 803777AC 0037470C 41 81 03 08 */ bgt lbl_80377AB4
|
|
|
|
/* 803777B0 00374710 3D 40 80 3F */ lis r10, lbl_803F07E8@ha
|
|
|
|
/* 803777B4 00374714 39 4A 07 E8 */ addi r10, r10, lbl_803F07E8@l
|
|
|
|
/* 803777B8 00374718 54 00 10 3A */ slwi r0, r0, 2
|
|
|
|
/* 803777BC 0037471C 7C 0A 00 2E */ lwzx r0, r10, r0
|
|
|
|
/* 803777C0 00374720 7C 09 03 A6 */ mtctr r0
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 803777C4 00374724 4E 80 04 20 */ bctr
|
2022-04-02 21:03:04 +00:00
|
|
|
/* 803777C8 00374728 80 04 00 00 */ lwz r0, 0(r4)
|
|
|
|
/* 803777CC 0037472C 54 C6 08 3C */ slwi r6, r6, 1
|
|
|
|
/* 803777D0 00374730 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e
|
|
|
|
/* 803777D4 00374734 7C 00 2B 78 */ or r0, r0, r5
|
|
|
|
/* 803777D8 00374738 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 803777DC 0037473C 54 E0 25 36 */ rlwinm r0, r7, 4, 0x14, 0x1b
|
|
|
|
/* 803777E0 00374740 80 A4 00 00 */ lwz r5, 0(r4)
|
|
|
|
/* 803777E4 00374744 54 A5 07 F6 */ rlwinm r5, r5, 0, 0x1f, 0x1b
|
|
|
|
/* 803777E8 00374748 7C A5 33 78 */ or r5, r5, r6
|
|
|
|
/* 803777EC 0037474C 90 A4 00 00 */ stw r5, 0(r4)
|
|
|
|
/* 803777F0 00374750 80 A4 00 00 */ lwz r5, 0(r4)
|
|
|
|
/* 803777F4 00374754 54 A5 07 2C */ rlwinm r5, r5, 0, 0x1c, 0x16
|
|
|
|
/* 803777F8 00374758 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 803777FC 0037475C 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 80377800 00374760 48 00 02 B4 */ b lbl_80377AB4
|
|
|
|
/* 80377804 00374764 80 E4 00 00 */ lwz r7, 0(r4)
|
|
|
|
/* 80377808 00374768 54 C0 50 2A */ slwi r0, r6, 0xa
|
|
|
|
/* 8037780C 0037476C 2C 05 00 02 */ cmpwi r5, 2
|
|
|
|
/* 80377810 00374770 54 E6 05 A4 */ rlwinm r6, r7, 0, 0x16, 0x12
|
|
|
|
/* 80377814 00374774 7C C0 03 78 */ or r0, r6, r0
|
|
|
|
/* 80377818 00374778 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 8037781C 0037477C 40 82 00 28 */ bne lbl_80377844
|
|
|
|
/* 80377820 00374780 80 04 00 00 */ lwz r0, 0(r4)
|
|
|
|
/* 80377824 00374784 54 00 05 EA */ rlwinm r0, r0, 0, 0x17, 0x15
|
|
|
|
/* 80377828 00374788 60 00 02 00 */ ori r0, r0, 0x200
|
|
|
|
/* 8037782C 0037478C 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 80377830 00374790 80 04 00 00 */ lwz r0, 0(r4)
|
|
|
|
/* 80377834 00374794 54 00 00 7E */ clrlwi r0, r0, 1
|
|
|
|
/* 80377838 00374798 64 00 80 00 */ oris r0, r0, 0x8000
|
|
|
|
/* 8037783C 0037479C 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 80377840 003747A0 48 00 02 74 */ b lbl_80377AB4
|
|
|
|
lbl_80377844:
|
|
|
|
/* 80377844 003747A4 80 C4 00 00 */ lwz r6, 0(r4)
|
|
|
|
/* 80377848 003747A8 54 A0 48 2C */ slwi r0, r5, 9
|
|
|
|
/* 8037784C 003747AC 54 C5 05 EA */ rlwinm r5, r6, 0, 0x17, 0x15
|
|
|
|
/* 80377850 003747B0 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 80377854 003747B4 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 80377858 003747B8 80 04 00 00 */ lwz r0, 0(r4)
|
|
|
|
/* 8037785C 003747BC 54 00 00 7E */ clrlwi r0, r0, 1
|
|
|
|
/* 80377860 003747C0 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 80377864 003747C4 48 00 02 50 */ b lbl_80377AB4
|
|
|
|
/* 80377868 003747C8 80 E4 00 00 */ lwz r7, 0(r4)
|
|
|
|
/* 8037786C 003747CC 54 A5 68 24 */ slwi r5, r5, 0xd
|
|
|
|
/* 80377870 003747D0 54 C0 70 22 */ slwi r0, r6, 0xe
|
|
|
|
/* 80377874 003747D4 54 E6 04 E2 */ rlwinm r6, r7, 0, 0x13, 0x11
|
|
|
|
/* 80377878 003747D8 7C C5 2B 78 */ or r5, r6, r5
|
|
|
|
/* 8037787C 003747DC 90 A4 00 00 */ stw r5, 0(r4)
|
|
|
|
/* 80377880 003747E0 80 A4 00 00 */ lwz r5, 0(r4)
|
|
|
|
/* 80377884 003747E4 54 A5 04 9C */ rlwinm r5, r5, 0, 0x12, 0xe
|
|
|
|
/* 80377888 003747E8 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 8037788C 003747EC 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 80377890 003747F0 48 00 02 24 */ b lbl_80377AB4
|
|
|
|
/* 80377894 003747F4 80 E4 00 00 */ lwz r7, 0(r4)
|
|
|
|
/* 80377898 003747F8 54 A5 88 1C */ slwi r5, r5, 0x11
|
|
|
|
/* 8037789C 003747FC 54 C0 90 1A */ slwi r0, r6, 0x12
|
|
|
|
/* 803778A0 00374800 54 E6 03 DA */ rlwinm r6, r7, 0, 0xf, 0xd
|
|
|
|
/* 803778A4 00374804 7C C5 2B 78 */ or r5, r6, r5
|
|
|
|
/* 803778A8 00374808 90 A4 00 00 */ stw r5, 0(r4)
|
|
|
|
/* 803778AC 0037480C 80 A4 00 00 */ lwz r5, 0(r4)
|
|
|
|
/* 803778B0 00374810 54 A5 03 94 */ rlwinm r5, r5, 0, 0xe, 0xa
|
|
|
|
/* 803778B4 00374814 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 803778B8 00374818 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 803778BC 0037481C 48 00 01 F8 */ b lbl_80377AB4
|
|
|
|
/* 803778C0 00374820 81 04 00 00 */ lwz r8, 0(r4)
|
|
|
|
/* 803778C4 00374824 54 A0 A8 14 */ slwi r0, r5, 0x15
|
|
|
|
/* 803778C8 00374828 55 05 02 D2 */ rlwinm r5, r8, 0, 0xb, 9
|
|
|
|
/* 803778CC 0037482C 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 803778D0 00374830 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 803778D4 00374834 54 C5 B0 12 */ slwi r5, r6, 0x16
|
|
|
|
/* 803778D8 00374838 54 E0 C8 0C */ slwi r0, r7, 0x19
|
|
|
|
/* 803778DC 0037483C 80 C4 00 00 */ lwz r6, 0(r4)
|
|
|
|
/* 803778E0 00374840 54 C6 02 8C */ rlwinm r6, r6, 0, 0xa, 6
|
|
|
|
/* 803778E4 00374844 7C C5 2B 78 */ or r5, r6, r5
|
|
|
|
/* 803778E8 00374848 90 A4 00 00 */ stw r5, 0(r4)
|
|
|
|
/* 803778EC 0037484C 80 A4 00 00 */ lwz r5, 0(r4)
|
|
|
|
/* 803778F0 00374850 54 A5 01 C2 */ rlwinm r5, r5, 0, 7, 1
|
|
|
|
/* 803778F4 00374854 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 803778F8 00374858 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 803778FC 0037485C 48 00 01 B8 */ b lbl_80377AB4
|
|
|
|
/* 80377900 00374860 80 08 00 00 */ lwz r0, 0(r8)
|
|
|
|
/* 80377904 00374864 54 C4 08 3C */ slwi r4, r6, 1
|
|
|
|
/* 80377908 00374868 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e
|
|
|
|
/* 8037790C 0037486C 7C 00 2B 78 */ or r0, r0, r5
|
|
|
|
/* 80377910 00374870 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377914 00374874 54 E0 25 36 */ rlwinm r0, r7, 4, 0x14, 0x1b
|
|
|
|
/* 80377918 00374878 80 A8 00 00 */ lwz r5, 0(r8)
|
|
|
|
/* 8037791C 0037487C 54 A5 07 F6 */ rlwinm r5, r5, 0, 0x1f, 0x1b
|
|
|
|
/* 80377920 00374880 7C A4 23 78 */ or r4, r5, r4
|
|
|
|
/* 80377924 00374884 90 88 00 00 */ stw r4, 0(r8)
|
|
|
|
/* 80377928 00374888 80 88 00 00 */ lwz r4, 0(r8)
|
|
|
|
/* 8037792C 0037488C 54 84 07 2C */ rlwinm r4, r4, 0, 0x1c, 0x16
|
|
|
|
/* 80377930 00374890 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 80377934 00374894 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377938 00374898 48 00 01 7C */ b lbl_80377AB4
|
|
|
|
/* 8037793C 0037489C 80 88 00 00 */ lwz r4, 0(r8)
|
|
|
|
/* 80377940 003748A0 54 A0 48 2C */ slwi r0, r5, 9
|
|
|
|
/* 80377944 003748A4 54 84 05 EA */ rlwinm r4, r4, 0, 0x17, 0x15
|
|
|
|
/* 80377948 003748A8 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 8037794C 003748AC 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377950 003748B0 54 C4 50 2A */ slwi r4, r6, 0xa
|
|
|
|
/* 80377954 003748B4 54 E0 6A E4 */ rlwinm r0, r7, 0xd, 0xb, 0x12
|
|
|
|
/* 80377958 003748B8 80 A8 00 00 */ lwz r5, 0(r8)
|
|
|
|
/* 8037795C 003748BC 54 A5 05 A4 */ rlwinm r5, r5, 0, 0x16, 0x12
|
|
|
|
/* 80377960 003748C0 7C A4 23 78 */ or r4, r5, r4
|
|
|
|
/* 80377964 003748C4 90 88 00 00 */ stw r4, 0(r8)
|
|
|
|
/* 80377968 003748C8 80 88 00 00 */ lwz r4, 0(r8)
|
|
|
|
/* 8037796C 003748CC 54 84 04 DA */ rlwinm r4, r4, 0, 0x13, 0xd
|
|
|
|
/* 80377970 003748D0 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 80377974 003748D4 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377978 003748D8 48 00 01 3C */ b lbl_80377AB4
|
|
|
|
/* 8037797C 003748DC 80 88 00 00 */ lwz r4, 0(r8)
|
|
|
|
/* 80377980 003748E0 54 A0 90 1A */ slwi r0, r5, 0x12
|
|
|
|
/* 80377984 003748E4 54 84 03 98 */ rlwinm r4, r4, 0, 0xe, 0xc
|
|
|
|
/* 80377988 003748E8 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 8037798C 003748EC 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377990 003748F0 54 C4 98 18 */ slwi r4, r6, 0x13
|
|
|
|
/* 80377994 003748F4 54 E0 B0 92 */ rlwinm r0, r7, 0x16, 2, 9
|
|
|
|
/* 80377998 003748F8 80 A8 00 00 */ lwz r5, 0(r8)
|
|
|
|
/* 8037799C 003748FC 54 A5 03 52 */ rlwinm r5, r5, 0, 0xd, 9
|
|
|
|
/* 803779A0 00374900 7C A4 23 78 */ or r4, r5, r4
|
|
|
|
/* 803779A4 00374904 90 88 00 00 */ stw r4, 0(r8)
|
|
|
|
/* 803779A8 00374908 80 88 00 00 */ lwz r4, 0(r8)
|
|
|
|
/* 803779AC 0037490C 54 84 02 88 */ rlwinm r4, r4, 0, 0xa, 4
|
|
|
|
/* 803779B0 00374910 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 803779B4 00374914 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 803779B8 00374918 48 00 00 FC */ b lbl_80377AB4
|
|
|
|
/* 803779BC 0037491C 81 48 00 00 */ lwz r10, 0(r8)
|
|
|
|
/* 803779C0 00374920 54 A0 D8 08 */ slwi r0, r5, 0x1b
|
|
|
|
/* 803779C4 00374924 54 C4 E0 06 */ slwi r4, r6, 0x1c
|
|
|
|
/* 803779C8 00374928 55 45 01 46 */ rlwinm r5, r10, 0, 5, 3
|
|
|
|
/* 803779CC 0037492C 7C A0 03 78 */ or r0, r5, r0
|
|
|
|
/* 803779D0 00374930 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 803779D4 00374934 54 E0 06 3E */ clrlwi r0, r7, 0x18
|
|
|
|
/* 803779D8 00374938 80 A8 00 00 */ lwz r5, 0(r8)
|
|
|
|
/* 803779DC 0037493C 54 A5 01 00 */ rlwinm r5, r5, 0, 4, 0
|
|
|
|
/* 803779E0 00374940 7C A4 23 78 */ or r4, r5, r4
|
|
|
|
/* 803779E4 00374944 90 88 00 00 */ stw r4, 0(r8)
|
|
|
|
/* 803779E8 00374948 80 89 00 00 */ lwz r4, 0(r9)
|
|
|
|
/* 803779EC 0037494C 54 84 00 34 */ rlwinm r4, r4, 0, 0, 0x1a
|
|
|
|
/* 803779F0 00374950 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 803779F4 00374954 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
/* 803779F8 00374958 48 00 00 BC */ b lbl_80377AB4
|
|
|
|
/* 803779FC 0037495C 80 89 00 00 */ lwz r4, 0(r9)
|
|
|
|
/* 80377A00 00374960 54 A0 28 34 */ slwi r0, r5, 5
|
|
|
|
/* 80377A04 00374964 54 84 06 F2 */ rlwinm r4, r4, 0, 0x1b, 0x19
|
|
|
|
/* 80377A08 00374968 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 80377A0C 0037496C 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
/* 80377A10 00374970 54 C4 30 32 */ slwi r4, r6, 6
|
|
|
|
/* 80377A14 00374974 54 E0 4B EC */ rlwinm r0, r7, 9, 0xf, 0x16
|
|
|
|
/* 80377A18 00374978 80 A9 00 00 */ lwz r5, 0(r9)
|
|
|
|
/* 80377A1C 0037497C 54 A5 06 AC */ rlwinm r5, r5, 0, 0x1a, 0x16
|
|
|
|
/* 80377A20 00374980 7C A4 23 78 */ or r4, r5, r4
|
|
|
|
/* 80377A24 00374984 90 89 00 00 */ stw r4, 0(r9)
|
|
|
|
/* 80377A28 00374988 80 89 00 00 */ lwz r4, 0(r9)
|
|
|
|
/* 80377A2C 0037498C 54 84 05 E2 */ rlwinm r4, r4, 0, 0x17, 0x11
|
|
|
|
/* 80377A30 00374990 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 80377A34 00374994 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
/* 80377A38 00374998 48 00 00 7C */ b lbl_80377AB4
|
|
|
|
/* 80377A3C 0037499C 80 89 00 00 */ lwz r4, 0(r9)
|
|
|
|
/* 80377A40 003749A0 54 A0 70 22 */ slwi r0, r5, 0xe
|
|
|
|
/* 80377A44 003749A4 54 84 04 A0 */ rlwinm r4, r4, 0, 0x12, 0x10
|
|
|
|
/* 80377A48 003749A8 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 80377A4C 003749AC 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
/* 80377A50 003749B0 54 C4 78 20 */ slwi r4, r6, 0xf
|
|
|
|
/* 80377A54 003749B4 54 E0 91 9A */ rlwinm r0, r7, 0x12, 6, 0xd
|
|
|
|
/* 80377A58 003749B8 80 A9 00 00 */ lwz r5, 0(r9)
|
|
|
|
/* 80377A5C 003749BC 54 A5 04 5A */ rlwinm r5, r5, 0, 0x11, 0xd
|
|
|
|
/* 80377A60 003749C0 7C A4 23 78 */ or r4, r5, r4
|
|
|
|
/* 80377A64 003749C4 90 89 00 00 */ stw r4, 0(r9)
|
|
|
|
/* 80377A68 003749C8 80 89 00 00 */ lwz r4, 0(r9)
|
|
|
|
/* 80377A6C 003749CC 54 84 03 90 */ rlwinm r4, r4, 0, 0xe, 8
|
|
|
|
/* 80377A70 003749D0 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 80377A74 003749D4 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
/* 80377A78 003749D8 48 00 00 3C */ b lbl_80377AB4
|
|
|
|
/* 80377A7C 003749DC 80 89 00 00 */ lwz r4, 0(r9)
|
|
|
|
/* 80377A80 003749E0 54 A0 B8 10 */ slwi r0, r5, 0x17
|
|
|
|
/* 80377A84 003749E4 54 84 02 4E */ rlwinm r4, r4, 0, 9, 7
|
|
|
|
/* 80377A88 003749E8 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 80377A8C 003749EC 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
/* 80377A90 003749F0 54 C0 C0 0E */ slwi r0, r6, 0x18
|
|
|
|
/* 80377A94 003749F4 80 89 00 00 */ lwz r4, 0(r9)
|
|
|
|
/* 80377A98 003749F8 54 84 02 08 */ rlwinm r4, r4, 0, 8, 4
|
|
|
|
/* 80377A9C 003749FC 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 80377AA0 00374A00 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
/* 80377AA4 00374A04 80 09 00 00 */ lwz r0, 0(r9)
|
|
|
|
/* 80377AA8 00374A08 54 00 01 7E */ clrlwi r0, r0, 5
|
|
|
|
/* 80377AAC 00374A0C 50 E0 D8 08 */ rlwimi r0, r7, 0x1b, 0, 4
|
|
|
|
/* 80377AB0 00374A10 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
lbl_80377AB4:
|
|
|
|
/* 80377AB4 00374A14 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377AB8 00374A18 54 60 06 3E */ clrlwi r0, r3, 0x18
|
|
|
|
/* 80377ABC 00374A1C 38 60 00 01 */ li r3, 1
|
|
|
|
/* 80377AC0 00374A20 80 85 04 F4 */ lwz r4, 0x4f4(r5)
|
|
|
|
/* 80377AC4 00374A24 7C 60 00 30 */ slw r0, r3, r0
|
|
|
|
/* 80377AC8 00374A28 54 00 06 3E */ clrlwi r0, r0, 0x18
|
|
|
|
/* 80377ACC 00374A2C 60 83 00 10 */ ori r3, r4, 0x10
|
|
|
|
/* 80377AD0 00374A30 90 65 04 F4 */ stw r3, 0x4f4(r5)
|
|
|
|
/* 80377AD4 00374A34 88 65 04 F2 */ lbz r3, 0x4f2(r5)
|
|
|
|
/* 80377AD8 00374A38 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80377ADC 00374A3C 98 05 04 F2 */ stb r0, 0x4f2(r5)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80377AE0 00374A40 4E 80 00 20 */ blr
|
2022-04-02 21:03:04 +00:00
|
|
|
|
|
|
|
.global GXSetVtxAttrFmtv
|
|
|
|
GXSetVtxAttrFmtv:
|
|
|
|
/* 80377AE4 00374A44 80 C2 CE 08 */ lwz r6, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377AE8 00374A48 54 60 10 3A */ slwi r0, r3, 2
|
|
|
|
/* 80377AEC 00374A4C 3C A0 80 3F */ lis r5, lbl_803F082C@ha
|
|
|
|
/* 80377AF0 00374A50 7C C6 02 14 */ add r6, r6, r0
|
|
|
|
/* 80377AF4 00374A54 39 06 00 1C */ addi r8, r6, 0x1c
|
|
|
|
/* 80377AF8 00374A58 39 26 00 3C */ addi r9, r6, 0x3c
|
|
|
|
/* 80377AFC 00374A5C 39 46 00 5C */ addi r10, r6, 0x5c
|
|
|
|
/* 80377B00 00374A60 38 A5 08 2C */ addi r5, r5, lbl_803F082C@l
|
|
|
|
/* 80377B04 00374A64 48 00 03 1C */ b lbl_80377E20
|
|
|
|
lbl_80377B08:
|
|
|
|
/* 80377B08 00374A68 80 C4 00 00 */ lwz r6, 0(r4)
|
|
|
|
/* 80377B0C 00374A6C 88 E4 00 0C */ lbz r7, 0xc(r4)
|
|
|
|
/* 80377B10 00374A70 39 66 FF F7 */ addi r11, r6, -9
|
|
|
|
/* 80377B14 00374A74 80 C4 00 08 */ lwz r6, 8(r4)
|
|
|
|
/* 80377B18 00374A78 28 0B 00 10 */ cmplwi r11, 0x10
|
|
|
|
/* 80377B1C 00374A7C 80 04 00 04 */ lwz r0, 4(r4)
|
|
|
|
/* 80377B20 00374A80 41 81 02 FC */ bgt lbl_80377E1C
|
|
|
|
/* 80377B24 00374A84 55 6B 10 3A */ slwi r11, r11, 2
|
|
|
|
/* 80377B28 00374A88 7D 65 58 2E */ lwzx r11, r5, r11
|
|
|
|
/* 80377B2C 00374A8C 7D 69 03 A6 */ mtctr r11
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80377B30 00374A90 4E 80 04 20 */ bctr
|
2022-04-02 21:03:04 +00:00
|
|
|
/* 80377B34 00374A94 81 88 00 00 */ lwz r12, 0(r8)
|
|
|
|
/* 80377B38 00374A98 54 CB 08 3C */ slwi r11, r6, 1
|
|
|
|
/* 80377B3C 00374A9C 54 E6 20 36 */ slwi r6, r7, 4
|
|
|
|
/* 80377B40 00374AA0 55 87 00 3C */ rlwinm r7, r12, 0, 0, 0x1e
|
|
|
|
/* 80377B44 00374AA4 7C E0 03 78 */ or r0, r7, r0
|
|
|
|
/* 80377B48 00374AA8 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377B4C 00374AAC 80 08 00 00 */ lwz r0, 0(r8)
|
|
|
|
/* 80377B50 00374AB0 54 00 07 F6 */ rlwinm r0, r0, 0, 0x1f, 0x1b
|
|
|
|
/* 80377B54 00374AB4 7C 00 5B 78 */ or r0, r0, r11
|
|
|
|
/* 80377B58 00374AB8 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377B5C 00374ABC 80 08 00 00 */ lwz r0, 0(r8)
|
|
|
|
/* 80377B60 00374AC0 54 00 07 2C */ rlwinm r0, r0, 0, 0x1c, 0x16
|
|
|
|
/* 80377B64 00374AC4 7C 00 33 78 */ or r0, r0, r6
|
|
|
|
/* 80377B68 00374AC8 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377B6C 00374ACC 48 00 02 B0 */ b lbl_80377E1C
|
|
|
|
/* 80377B70 00374AD0 80 E8 00 00 */ lwz r7, 0(r8)
|
|
|
|
/* 80377B74 00374AD4 54 C6 50 2A */ slwi r6, r6, 0xa
|
|
|
|
/* 80377B78 00374AD8 2C 00 00 02 */ cmpwi r0, 2
|
|
|
|
/* 80377B7C 00374ADC 54 E7 05 A4 */ rlwinm r7, r7, 0, 0x16, 0x12
|
|
|
|
/* 80377B80 00374AE0 7C E6 33 78 */ or r6, r7, r6
|
|
|
|
/* 80377B84 00374AE4 90 C8 00 00 */ stw r6, 0(r8)
|
|
|
|
/* 80377B88 00374AE8 40 82 00 28 */ bne lbl_80377BB0
|
|
|
|
/* 80377B8C 00374AEC 80 08 00 00 */ lwz r0, 0(r8)
|
|
|
|
/* 80377B90 00374AF0 54 00 05 EA */ rlwinm r0, r0, 0, 0x17, 0x15
|
|
|
|
/* 80377B94 00374AF4 60 00 02 00 */ ori r0, r0, 0x200
|
|
|
|
/* 80377B98 00374AF8 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377B9C 00374AFC 80 08 00 00 */ lwz r0, 0(r8)
|
|
|
|
/* 80377BA0 00374B00 54 00 00 7E */ clrlwi r0, r0, 1
|
|
|
|
/* 80377BA4 00374B04 64 00 80 00 */ oris r0, r0, 0x8000
|
|
|
|
/* 80377BA8 00374B08 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377BAC 00374B0C 48 00 02 70 */ b lbl_80377E1C
|
|
|
|
lbl_80377BB0:
|
|
|
|
/* 80377BB0 00374B10 80 C8 00 00 */ lwz r6, 0(r8)
|
|
|
|
/* 80377BB4 00374B14 54 00 48 2C */ slwi r0, r0, 9
|
|
|
|
/* 80377BB8 00374B18 54 C6 05 EA */ rlwinm r6, r6, 0, 0x17, 0x15
|
|
|
|
/* 80377BBC 00374B1C 7C C0 03 78 */ or r0, r6, r0
|
|
|
|
/* 80377BC0 00374B20 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377BC4 00374B24 80 08 00 00 */ lwz r0, 0(r8)
|
|
|
|
/* 80377BC8 00374B28 54 00 00 7E */ clrlwi r0, r0, 1
|
|
|
|
/* 80377BCC 00374B2C 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377BD0 00374B30 48 00 02 4C */ b lbl_80377E1C
|
|
|
|
/* 80377BD4 00374B34 81 68 00 00 */ lwz r11, 0(r8)
|
|
|
|
/* 80377BD8 00374B38 54 07 68 24 */ slwi r7, r0, 0xd
|
|
|
|
/* 80377BDC 00374B3C 54 C0 70 22 */ slwi r0, r6, 0xe
|
|
|
|
/* 80377BE0 00374B40 55 66 04 E2 */ rlwinm r6, r11, 0, 0x13, 0x11
|
|
|
|
/* 80377BE4 00374B44 7C C6 3B 78 */ or r6, r6, r7
|
|
|
|
/* 80377BE8 00374B48 90 C8 00 00 */ stw r6, 0(r8)
|
|
|
|
/* 80377BEC 00374B4C 80 C8 00 00 */ lwz r6, 0(r8)
|
|
|
|
/* 80377BF0 00374B50 54 C6 04 9C */ rlwinm r6, r6, 0, 0x12, 0xe
|
|
|
|
/* 80377BF4 00374B54 7C C0 03 78 */ or r0, r6, r0
|
|
|
|
/* 80377BF8 00374B58 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377BFC 00374B5C 48 00 02 20 */ b lbl_80377E1C
|
|
|
|
/* 80377C00 00374B60 81 68 00 00 */ lwz r11, 0(r8)
|
|
|
|
/* 80377C04 00374B64 54 07 88 1C */ slwi r7, r0, 0x11
|
|
|
|
/* 80377C08 00374B68 54 C0 90 1A */ slwi r0, r6, 0x12
|
|
|
|
/* 80377C0C 00374B6C 55 66 03 DA */ rlwinm r6, r11, 0, 0xf, 0xd
|
|
|
|
/* 80377C10 00374B70 7C C6 3B 78 */ or r6, r6, r7
|
|
|
|
/* 80377C14 00374B74 90 C8 00 00 */ stw r6, 0(r8)
|
|
|
|
/* 80377C18 00374B78 80 C8 00 00 */ lwz r6, 0(r8)
|
|
|
|
/* 80377C1C 00374B7C 54 C6 03 94 */ rlwinm r6, r6, 0, 0xe, 0xa
|
|
|
|
/* 80377C20 00374B80 7C C0 03 78 */ or r0, r6, r0
|
|
|
|
/* 80377C24 00374B84 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377C28 00374B88 48 00 01 F4 */ b lbl_80377E1C
|
|
|
|
/* 80377C2C 00374B8C 81 68 00 00 */ lwz r11, 0(r8)
|
|
|
|
/* 80377C30 00374B90 54 00 A8 14 */ slwi r0, r0, 0x15
|
|
|
|
/* 80377C34 00374B94 54 C6 B0 12 */ slwi r6, r6, 0x16
|
|
|
|
/* 80377C38 00374B98 55 6B 02 D2 */ rlwinm r11, r11, 0, 0xb, 9
|
|
|
|
/* 80377C3C 00374B9C 7D 60 03 78 */ or r0, r11, r0
|
|
|
|
/* 80377C40 00374BA0 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377C44 00374BA4 54 E0 C8 0C */ slwi r0, r7, 0x19
|
|
|
|
/* 80377C48 00374BA8 80 E8 00 00 */ lwz r7, 0(r8)
|
|
|
|
/* 80377C4C 00374BAC 54 E7 02 8C */ rlwinm r7, r7, 0, 0xa, 6
|
|
|
|
/* 80377C50 00374BB0 7C E6 33 78 */ or r6, r7, r6
|
|
|
|
/* 80377C54 00374BB4 90 C8 00 00 */ stw r6, 0(r8)
|
|
|
|
/* 80377C58 00374BB8 80 C8 00 00 */ lwz r6, 0(r8)
|
|
|
|
/* 80377C5C 00374BBC 54 C6 01 C2 */ rlwinm r6, r6, 0, 7, 1
|
|
|
|
/* 80377C60 00374BC0 7C C0 03 78 */ or r0, r6, r0
|
|
|
|
/* 80377C64 00374BC4 90 08 00 00 */ stw r0, 0(r8)
|
|
|
|
/* 80377C68 00374BC8 48 00 01 B4 */ b lbl_80377E1C
|
|
|
|
/* 80377C6C 00374BCC 81 89 00 00 */ lwz r12, 0(r9)
|
|
|
|
/* 80377C70 00374BD0 54 CB 08 3C */ slwi r11, r6, 1
|
|
|
|
/* 80377C74 00374BD4 54 E6 20 36 */ slwi r6, r7, 4
|
|
|
|
/* 80377C78 00374BD8 55 87 00 3C */ rlwinm r7, r12, 0, 0, 0x1e
|
|
|
|
/* 80377C7C 00374BDC 7C E0 03 78 */ or r0, r7, r0
|
|
|
|
/* 80377C80 00374BE0 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
/* 80377C84 00374BE4 80 09 00 00 */ lwz r0, 0(r9)
|
|
|
|
/* 80377C88 00374BE8 54 00 07 F6 */ rlwinm r0, r0, 0, 0x1f, 0x1b
|
|
|
|
/* 80377C8C 00374BEC 7C 00 5B 78 */ or r0, r0, r11
|
|
|
|
/* 80377C90 00374BF0 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
/* 80377C94 00374BF4 80 09 00 00 */ lwz r0, 0(r9)
|
|
|
|
/* 80377C98 00374BF8 54 00 07 2C */ rlwinm r0, r0, 0, 0x1c, 0x16
|
|
|
|
/* 80377C9C 00374BFC 7C 00 33 78 */ or r0, r0, r6
|
|
|
|
/* 80377CA0 00374C00 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
/* 80377CA4 00374C04 48 00 01 78 */ b lbl_80377E1C
|
|
|
|
/* 80377CA8 00374C08 81 69 00 00 */ lwz r11, 0(r9)
|
|
|
|
/* 80377CAC 00374C0C 54 00 48 2C */ slwi r0, r0, 9
|
|
|
|
/* 80377CB0 00374C10 54 C6 50 2A */ slwi r6, r6, 0xa
|
|
|
|
/* 80377CB4 00374C14 55 6B 05 EA */ rlwinm r11, r11, 0, 0x17, 0x15
|
|
|
|
/* 80377CB8 00374C18 7D 60 03 78 */ or r0, r11, r0
|
|
|
|
/* 80377CBC 00374C1C 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
/* 80377CC0 00374C20 54 E0 68 24 */ slwi r0, r7, 0xd
|
|
|
|
/* 80377CC4 00374C24 80 E9 00 00 */ lwz r7, 0(r9)
|
|
|
|
/* 80377CC8 00374C28 54 E7 05 A4 */ rlwinm r7, r7, 0, 0x16, 0x12
|
|
|
|
/* 80377CCC 00374C2C 7C E6 33 78 */ or r6, r7, r6
|
|
|
|
/* 80377CD0 00374C30 90 C9 00 00 */ stw r6, 0(r9)
|
|
|
|
/* 80377CD4 00374C34 80 C9 00 00 */ lwz r6, 0(r9)
|
|
|
|
/* 80377CD8 00374C38 54 C6 04 DA */ rlwinm r6, r6, 0, 0x13, 0xd
|
|
|
|
/* 80377CDC 00374C3C 7C C0 03 78 */ or r0, r6, r0
|
|
|
|
/* 80377CE0 00374C40 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
/* 80377CE4 00374C44 48 00 01 38 */ b lbl_80377E1C
|
|
|
|
/* 80377CE8 00374C48 81 69 00 00 */ lwz r11, 0(r9)
|
|
|
|
/* 80377CEC 00374C4C 54 00 90 1A */ slwi r0, r0, 0x12
|
|
|
|
/* 80377CF0 00374C50 54 C6 98 18 */ slwi r6, r6, 0x13
|
|
|
|
/* 80377CF4 00374C54 55 6B 03 98 */ rlwinm r11, r11, 0, 0xe, 0xc
|
|
|
|
/* 80377CF8 00374C58 7D 60 03 78 */ or r0, r11, r0
|
|
|
|
/* 80377CFC 00374C5C 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
/* 80377D00 00374C60 54 E0 B0 12 */ slwi r0, r7, 0x16
|
|
|
|
/* 80377D04 00374C64 80 E9 00 00 */ lwz r7, 0(r9)
|
|
|
|
/* 80377D08 00374C68 54 E7 03 52 */ rlwinm r7, r7, 0, 0xd, 9
|
|
|
|
/* 80377D0C 00374C6C 7C E6 33 78 */ or r6, r7, r6
|
|
|
|
/* 80377D10 00374C70 90 C9 00 00 */ stw r6, 0(r9)
|
|
|
|
/* 80377D14 00374C74 80 C9 00 00 */ lwz r6, 0(r9)
|
|
|
|
/* 80377D18 00374C78 54 C6 02 88 */ rlwinm r6, r6, 0, 0xa, 4
|
|
|
|
/* 80377D1C 00374C7C 7C C0 03 78 */ or r0, r6, r0
|
|
|
|
/* 80377D20 00374C80 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
/* 80377D24 00374C84 48 00 00 F8 */ b lbl_80377E1C
|
|
|
|
/* 80377D28 00374C88 81 89 00 00 */ lwz r12, 0(r9)
|
|
|
|
/* 80377D2C 00374C8C 54 0B D8 08 */ slwi r11, r0, 0x1b
|
|
|
|
/* 80377D30 00374C90 54 C0 E0 06 */ slwi r0, r6, 0x1c
|
|
|
|
/* 80377D34 00374C94 55 86 01 46 */ rlwinm r6, r12, 0, 5, 3
|
|
|
|
/* 80377D38 00374C98 7C C6 5B 78 */ or r6, r6, r11
|
|
|
|
/* 80377D3C 00374C9C 90 C9 00 00 */ stw r6, 0(r9)
|
|
|
|
/* 80377D40 00374CA0 80 C9 00 00 */ lwz r6, 0(r9)
|
|
|
|
/* 80377D44 00374CA4 54 C6 01 00 */ rlwinm r6, r6, 0, 4, 0
|
|
|
|
/* 80377D48 00374CA8 7C C0 03 78 */ or r0, r6, r0
|
|
|
|
/* 80377D4C 00374CAC 90 09 00 00 */ stw r0, 0(r9)
|
|
|
|
/* 80377D50 00374CB0 80 0A 00 00 */ lwz r0, 0(r10)
|
|
|
|
/* 80377D54 00374CB4 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a
|
|
|
|
/* 80377D58 00374CB8 7C 00 3B 78 */ or r0, r0, r7
|
|
|
|
/* 80377D5C 00374CBC 90 0A 00 00 */ stw r0, 0(r10)
|
|
|
|
/* 80377D60 00374CC0 48 00 00 BC */ b lbl_80377E1C
|
|
|
|
/* 80377D64 00374CC4 81 6A 00 00 */ lwz r11, 0(r10)
|
|
|
|
/* 80377D68 00374CC8 54 00 28 34 */ slwi r0, r0, 5
|
|
|
|
/* 80377D6C 00374CCC 54 C6 30 32 */ slwi r6, r6, 6
|
|
|
|
/* 80377D70 00374CD0 55 6B 06 F2 */ rlwinm r11, r11, 0, 0x1b, 0x19
|
|
|
|
/* 80377D74 00374CD4 7D 60 03 78 */ or r0, r11, r0
|
|
|
|
/* 80377D78 00374CD8 90 0A 00 00 */ stw r0, 0(r10)
|
|
|
|
/* 80377D7C 00374CDC 54 E0 48 2C */ slwi r0, r7, 9
|
|
|
|
/* 80377D80 00374CE0 80 EA 00 00 */ lwz r7, 0(r10)
|
|
|
|
/* 80377D84 00374CE4 54 E7 06 AC */ rlwinm r7, r7, 0, 0x1a, 0x16
|
|
|
|
/* 80377D88 00374CE8 7C E6 33 78 */ or r6, r7, r6
|
|
|
|
/* 80377D8C 00374CEC 90 CA 00 00 */ stw r6, 0(r10)
|
|
|
|
/* 80377D90 00374CF0 80 CA 00 00 */ lwz r6, 0(r10)
|
|
|
|
/* 80377D94 00374CF4 54 C6 05 E2 */ rlwinm r6, r6, 0, 0x17, 0x11
|
|
|
|
/* 80377D98 00374CF8 7C C0 03 78 */ or r0, r6, r0
|
|
|
|
/* 80377D9C 00374CFC 90 0A 00 00 */ stw r0, 0(r10)
|
|
|
|
/* 80377DA0 00374D00 48 00 00 7C */ b lbl_80377E1C
|
|
|
|
/* 80377DA4 00374D04 81 6A 00 00 */ lwz r11, 0(r10)
|
|
|
|
/* 80377DA8 00374D08 54 00 70 22 */ slwi r0, r0, 0xe
|
|
|
|
/* 80377DAC 00374D0C 54 C6 78 20 */ slwi r6, r6, 0xf
|
|
|
|
/* 80377DB0 00374D10 55 6B 04 A0 */ rlwinm r11, r11, 0, 0x12, 0x10
|
|
|
|
/* 80377DB4 00374D14 7D 60 03 78 */ or r0, r11, r0
|
|
|
|
/* 80377DB8 00374D18 90 0A 00 00 */ stw r0, 0(r10)
|
|
|
|
/* 80377DBC 00374D1C 54 E0 90 1A */ slwi r0, r7, 0x12
|
|
|
|
/* 80377DC0 00374D20 80 EA 00 00 */ lwz r7, 0(r10)
|
|
|
|
/* 80377DC4 00374D24 54 E7 04 5A */ rlwinm r7, r7, 0, 0x11, 0xd
|
|
|
|
/* 80377DC8 00374D28 7C E6 33 78 */ or r6, r7, r6
|
|
|
|
/* 80377DCC 00374D2C 90 CA 00 00 */ stw r6, 0(r10)
|
|
|
|
/* 80377DD0 00374D30 80 CA 00 00 */ lwz r6, 0(r10)
|
|
|
|
/* 80377DD4 00374D34 54 C6 03 90 */ rlwinm r6, r6, 0, 0xe, 8
|
|
|
|
/* 80377DD8 00374D38 7C C0 03 78 */ or r0, r6, r0
|
|
|
|
/* 80377DDC 00374D3C 90 0A 00 00 */ stw r0, 0(r10)
|
|
|
|
/* 80377DE0 00374D40 48 00 00 3C */ b lbl_80377E1C
|
|
|
|
/* 80377DE4 00374D44 81 8A 00 00 */ lwz r12, 0(r10)
|
|
|
|
/* 80377DE8 00374D48 54 0B B8 10 */ slwi r11, r0, 0x17
|
|
|
|
/* 80377DEC 00374D4C 54 C0 C0 0E */ slwi r0, r6, 0x18
|
|
|
|
/* 80377DF0 00374D50 55 86 02 4E */ rlwinm r6, r12, 0, 9, 7
|
|
|
|
/* 80377DF4 00374D54 7C C6 5B 78 */ or r6, r6, r11
|
|
|
|
/* 80377DF8 00374D58 90 CA 00 00 */ stw r6, 0(r10)
|
|
|
|
/* 80377DFC 00374D5C 80 CA 00 00 */ lwz r6, 0(r10)
|
|
|
|
/* 80377E00 00374D60 54 C6 02 08 */ rlwinm r6, r6, 0, 8, 4
|
|
|
|
/* 80377E04 00374D64 7C C0 03 78 */ or r0, r6, r0
|
|
|
|
/* 80377E08 00374D68 90 0A 00 00 */ stw r0, 0(r10)
|
|
|
|
/* 80377E0C 00374D6C 80 0A 00 00 */ lwz r0, 0(r10)
|
|
|
|
/* 80377E10 00374D70 54 00 01 7E */ clrlwi r0, r0, 5
|
|
|
|
/* 80377E14 00374D74 50 E0 D8 08 */ rlwimi r0, r7, 0x1b, 0, 4
|
|
|
|
/* 80377E18 00374D78 90 0A 00 00 */ stw r0, 0(r10)
|
|
|
|
lbl_80377E1C:
|
|
|
|
/* 80377E1C 00374D7C 38 84 00 10 */ addi r4, r4, 0x10
|
|
|
|
lbl_80377E20:
|
|
|
|
/* 80377E20 00374D80 80 04 00 00 */ lwz r0, 0(r4)
|
|
|
|
/* 80377E24 00374D84 2C 00 00 FF */ cmpwi r0, 0xff
|
|
|
|
/* 80377E28 00374D88 40 82 FC E0 */ bne lbl_80377B08
|
|
|
|
/* 80377E2C 00374D8C 80 A2 CE 08 */ lwz r5, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377E30 00374D90 54 60 06 3E */ clrlwi r0, r3, 0x18
|
|
|
|
/* 80377E34 00374D94 38 60 00 01 */ li r3, 1
|
|
|
|
/* 80377E38 00374D98 80 85 04 F4 */ lwz r4, 0x4f4(r5)
|
|
|
|
/* 80377E3C 00374D9C 7C 60 00 30 */ slw r0, r3, r0
|
|
|
|
/* 80377E40 00374DA0 54 00 06 3E */ clrlwi r0, r0, 0x18
|
|
|
|
/* 80377E44 00374DA4 60 83 00 10 */ ori r3, r4, 0x10
|
|
|
|
/* 80377E48 00374DA8 90 65 04 F4 */ stw r3, 0x4f4(r5)
|
|
|
|
/* 80377E4C 00374DAC 88 65 04 F2 */ lbz r3, 0x4f2(r5)
|
|
|
|
/* 80377E50 00374DB0 7C 60 03 78 */ or r0, r3, r0
|
|
|
|
/* 80377E54 00374DB4 98 05 04 F2 */ stb r0, 0x4f2(r5)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80377E58 00374DB8 4E 80 00 20 */ blr
|
2022-04-02 21:03:04 +00:00
|
|
|
|
|
|
|
.global __GXSetVAT
|
|
|
|
__GXSetVAT:
|
|
|
|
/* 80377E5C 00374DBC 81 42 CE 08 */ lwz r10, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377E60 00374DC0 39 80 00 00 */ li r12, 0
|
|
|
|
/* 80377E64 00374DC4 39 60 00 00 */ li r11, 0
|
|
|
|
/* 80377E68 00374DC8 3C E0 CC 01 */ lis r7, 0xcc01
|
|
|
|
/* 80377E6C 00374DCC 48 00 00 70 */ b lbl_80377EDC
|
|
|
|
lbl_80377E70:
|
|
|
|
/* 80377E70 00374DD0 55 89 06 3E */ clrlwi r9, r12, 0x18
|
|
|
|
/* 80377E74 00374DD4 88 6A 04 F2 */ lbz r3, 0x4f2(r10)
|
|
|
|
/* 80377E78 00374DD8 38 00 00 01 */ li r0, 1
|
|
|
|
/* 80377E7C 00374DDC 7C 00 48 30 */ slw r0, r0, r9
|
|
|
|
/* 80377E80 00374DE0 7C 60 00 39 */ and. r0, r3, r0
|
|
|
|
/* 80377E84 00374DE4 41 82 00 50 */ beq lbl_80377ED4
|
|
|
|
/* 80377E88 00374DE8 39 00 00 08 */ li r8, 8
|
|
|
|
/* 80377E8C 00374DEC 99 07 80 00 */ stb r8, 0xCC008000@l(r7)
|
|
|
|
/* 80377E90 00374DF0 61 23 00 70 */ ori r3, r9, 0x70
|
|
|
|
/* 80377E94 00374DF4 38 0B 00 1C */ addi r0, r11, 0x1c
|
|
|
|
/* 80377E98 00374DF8 98 67 80 00 */ stb r3, 0xCC008000@l(r7)
|
|
|
|
/* 80377E9C 00374DFC 61 25 00 80 */ ori r5, r9, 0x80
|
|
|
|
/* 80377EA0 00374E00 38 8B 00 3C */ addi r4, r11, 0x3c
|
|
|
|
/* 80377EA4 00374E04 7C CA 00 2E */ lwzx r6, r10, r0
|
|
|
|
/* 80377EA8 00374E08 61 23 00 90 */ ori r3, r9, 0x90
|
|
|
|
/* 80377EAC 00374E0C 38 0B 00 5C */ addi r0, r11, 0x5c
|
|
|
|
/* 80377EB0 00374E10 90 C7 80 00 */ stw r6, 0xCC008000@l(r7)
|
|
|
|
/* 80377EB4 00374E14 99 07 80 00 */ stb r8, 0xCC008000@l(r7)
|
|
|
|
/* 80377EB8 00374E18 98 A7 80 00 */ stb r5, 0xCC008000@l(r7)
|
|
|
|
/* 80377EBC 00374E1C 7C 8A 20 2E */ lwzx r4, r10, r4
|
|
|
|
/* 80377EC0 00374E20 90 87 80 00 */ stw r4, 0xCC008000@l(r7)
|
|
|
|
/* 80377EC4 00374E24 99 07 80 00 */ stb r8, 0xCC008000@l(r7)
|
|
|
|
/* 80377EC8 00374E28 98 67 80 00 */ stb r3, 0xCC008000@l(r7)
|
|
|
|
/* 80377ECC 00374E2C 7C 0A 00 2E */ lwzx r0, r10, r0
|
|
|
|
/* 80377ED0 00374E30 90 07 80 00 */ stw r0, 0xCC008000@l(r7)
|
|
|
|
lbl_80377ED4:
|
|
|
|
/* 80377ED4 00374E34 39 6B 00 04 */ addi r11, r11, 4
|
|
|
|
/* 80377ED8 00374E38 39 8C 00 01 */ addi r12, r12, 1
|
|
|
|
lbl_80377EDC:
|
|
|
|
/* 80377EDC 00374E3C 55 80 06 3E */ clrlwi r0, r12, 0x18
|
|
|
|
/* 80377EE0 00374E40 28 00 00 08 */ cmplwi r0, 8
|
|
|
|
/* 80377EE4 00374E44 41 80 FF 8C */ blt lbl_80377E70
|
|
|
|
/* 80377EE8 00374E48 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377EEC 00374E4C 38 00 00 00 */ li r0, 0
|
|
|
|
/* 80377EF0 00374E50 98 03 04 F2 */ stb r0, 0x4f2(r3)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80377EF4 00374E54 4E 80 00 20 */ blr
|
2022-04-02 21:03:04 +00:00
|
|
|
|
|
|
|
.global GXSetArray
|
|
|
|
GXSetArray:
|
|
|
|
/* 80377EF8 00374E58 2C 03 00 19 */ cmpwi r3, 0x19
|
|
|
|
/* 80377EFC 00374E5C 40 82 00 08 */ bne lbl_80377F04
|
|
|
|
/* 80377F00 00374E60 38 60 00 0A */ li r3, 0xa
|
|
|
|
lbl_80377F04:
|
|
|
|
/* 80377F04 00374E64 38 00 00 08 */ li r0, 8
|
|
|
|
/* 80377F08 00374E68 38 C3 FF F7 */ addi r6, r3, -9
|
|
|
|
/* 80377F0C 00374E6C 3C 60 CC 01 */ lis r3, 0xCC008000@ha
|
|
|
|
/* 80377F10 00374E70 98 03 80 00 */ stb r0, 0xCC008000@l(r3)
|
|
|
|
/* 80377F14 00374E74 60 C0 00 A0 */ ori r0, r6, 0xa0
|
|
|
|
/* 80377F18 00374E78 54 84 00 BE */ clrlwi r4, r4, 2
|
|
|
|
/* 80377F1C 00374E7C 98 03 80 00 */ stb r0, 0xCC008000@l(r3)
|
|
|
|
/* 80377F20 00374E80 34 06 FF F4 */ addic. r0, r6, -12
|
|
|
|
/* 80377F24 00374E84 90 83 80 00 */ stw r4, 0xCC008000@l(r3)
|
|
|
|
/* 80377F28 00374E88 41 80 00 1C */ blt lbl_80377F44
|
|
|
|
/* 80377F2C 00374E8C 2C 00 00 04 */ cmpwi r0, 4
|
|
|
|
/* 80377F30 00374E90 40 80 00 14 */ bge lbl_80377F44
|
|
|
|
/* 80377F34 00374E94 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377F38 00374E98 54 00 10 3A */ slwi r0, r0, 2
|
|
|
|
/* 80377F3C 00374E9C 7C 63 02 14 */ add r3, r3, r0
|
|
|
|
/* 80377F40 00374EA0 90 83 00 88 */ stw r4, 0x88(r3)
|
|
|
|
lbl_80377F44:
|
|
|
|
/* 80377F44 00374EA4 38 00 00 08 */ li r0, 8
|
|
|
|
/* 80377F48 00374EA8 3C 60 CC 01 */ lis r3, 0xCC008000@ha
|
|
|
|
/* 80377F4C 00374EAC 98 03 80 00 */ stb r0, 0xCC008000@l(r3)
|
|
|
|
/* 80377F50 00374EB0 60 C0 00 B0 */ ori r0, r6, 0xb0
|
|
|
|
/* 80377F54 00374EB4 54 A4 06 3E */ clrlwi r4, r5, 0x18
|
|
|
|
/* 80377F58 00374EB8 98 03 80 00 */ stb r0, 0xCC008000@l(r3)
|
|
|
|
/* 80377F5C 00374EBC 34 06 FF F4 */ addic. r0, r6, -12
|
|
|
|
/* 80377F60 00374EC0 90 83 80 00 */ stw r4, 0xCC008000@l(r3)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80377F64 00374EC4 4D 80 00 20 */ bltlr
|
2022-04-02 21:03:04 +00:00
|
|
|
/* 80377F68 00374EC8 2C 00 00 04 */ cmpwi r0, 4
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80377F6C 00374ECC 4C 80 00 20 */ bgelr
|
2022-04-02 21:03:04 +00:00
|
|
|
/* 80377F70 00374ED0 80 62 CE 08 */ lwz r3, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80377F74 00374ED4 54 00 10 3A */ slwi r0, r0, 2
|
|
|
|
/* 80377F78 00374ED8 7C 63 02 14 */ add r3, r3, r0
|
|
|
|
/* 80377F7C 00374EDC 90 83 00 98 */ stw r4, 0x98(r3)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80377F80 00374EE0 4E 80 00 20 */ blr
|
2022-04-02 21:03:04 +00:00
|
|
|
|
|
|
|
.global GXInvalidateVtxCache
|
|
|
|
GXInvalidateVtxCache:
|
|
|
|
/* 80377F84 00374EE4 38 00 00 48 */ li r0, 0x48
|
|
|
|
/* 80377F88 00374EE8 3C 60 CC 01 */ lis r3, 0xCC008000@ha
|
|
|
|
/* 80377F8C 00374EEC 98 03 80 00 */ stb r0, 0xCC008000@l(r3)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80377F90 00374EF0 4E 80 00 20 */ blr
|
2022-04-02 21:03:04 +00:00
|
|
|
|
|
|
|
.global GXSetTexCoordGen2
|
|
|
|
GXSetTexCoordGen2:
|
|
|
|
/* 80377F94 00374EF4 7C 08 02 A6 */ mflr r0
|
|
|
|
/* 80377F98 00374EF8 28 05 00 14 */ cmplwi r5, 0x14
|
|
|
|
/* 80377F9C 00374EFC 90 01 00 04 */ stw r0, 4(r1)
|
|
|
|
/* 80377FA0 00374F00 39 60 00 00 */ li r11, 0
|
|
|
|
/* 80377FA4 00374F04 39 80 00 00 */ li r12, 0
|
|
|
|
/* 80377FA8 00374F08 94 21 FF F8 */ stwu r1, -8(r1)
|
|
|
|
/* 80377FAC 00374F0C 39 40 00 05 */ li r10, 5
|
|
|
|
/* 80377FB0 00374F10 41 81 00 98 */ bgt lbl_80378048
|
|
|
|
/* 80377FB4 00374F14 3D 20 80 3F */ lis r9, lbl_803F088C@ha
|
|
|
|
/* 80377FB8 00374F18 39 29 08 8C */ addi r9, r9, lbl_803F088C@l
|
|
|
|
/* 80377FBC 00374F1C 54 A0 10 3A */ slwi r0, r5, 2
|
|
|
|
/* 80377FC0 00374F20 7C 09 00 2E */ lwzx r0, r9, r0
|
|
|
|
/* 80377FC4 00374F24 7C 09 03 A6 */ mtctr r0
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80377FC8 00374F28 4E 80 04 20 */ bctr
|
2022-04-02 21:03:04 +00:00
|
|
|
/* 80377FCC 00374F2C 39 40 00 00 */ li r10, 0
|
|
|
|
/* 80377FD0 00374F30 39 80 00 01 */ li r12, 1
|
|
|
|
/* 80377FD4 00374F34 48 00 00 74 */ b lbl_80378048
|
|
|
|
/* 80377FD8 00374F38 39 40 00 01 */ li r10, 1
|
|
|
|
/* 80377FDC 00374F3C 39 80 00 01 */ li r12, 1
|
|
|
|
/* 80377FE0 00374F40 48 00 00 68 */ b lbl_80378048
|
|
|
|
/* 80377FE4 00374F44 39 40 00 03 */ li r10, 3
|
|
|
|
/* 80377FE8 00374F48 39 80 00 01 */ li r12, 1
|
|
|
|
/* 80377FEC 00374F4C 48 00 00 5C */ b lbl_80378048
|
|
|
|
/* 80377FF0 00374F50 39 40 00 04 */ li r10, 4
|
|
|
|
/* 80377FF4 00374F54 39 80 00 01 */ li r12, 1
|
|
|
|
/* 80377FF8 00374F58 48 00 00 50 */ b lbl_80378048
|
|
|
|
/* 80377FFC 00374F5C 39 40 00 02 */ li r10, 2
|
|
|
|
/* 80378000 00374F60 48 00 00 48 */ b lbl_80378048
|
|
|
|
/* 80378004 00374F64 39 40 00 02 */ li r10, 2
|
|
|
|
/* 80378008 00374F68 48 00 00 40 */ b lbl_80378048
|
|
|
|
/* 8037800C 00374F6C 39 40 00 05 */ li r10, 5
|
|
|
|
/* 80378010 00374F70 48 00 00 38 */ b lbl_80378048
|
|
|
|
/* 80378014 00374F74 39 40 00 06 */ li r10, 6
|
|
|
|
/* 80378018 00374F78 48 00 00 30 */ b lbl_80378048
|
|
|
|
/* 8037801C 00374F7C 39 40 00 07 */ li r10, 7
|
|
|
|
/* 80378020 00374F80 48 00 00 28 */ b lbl_80378048
|
|
|
|
/* 80378024 00374F84 39 40 00 08 */ li r10, 8
|
|
|
|
/* 80378028 00374F88 48 00 00 20 */ b lbl_80378048
|
|
|
|
/* 8037802C 00374F8C 39 40 00 09 */ li r10, 9
|
|
|
|
/* 80378030 00374F90 48 00 00 18 */ b lbl_80378048
|
|
|
|
/* 80378034 00374F94 39 40 00 0A */ li r10, 0xa
|
|
|
|
/* 80378038 00374F98 48 00 00 10 */ b lbl_80378048
|
|
|
|
/* 8037803C 00374F9C 39 40 00 0B */ li r10, 0xb
|
|
|
|
/* 80378040 00374FA0 48 00 00 08 */ b lbl_80378048
|
|
|
|
/* 80378044 00374FA4 39 40 00 0C */ li r10, 0xc
|
|
|
|
lbl_80378048:
|
|
|
|
/* 80378048 00374FA8 2C 04 00 01 */ cmpwi r4, 1
|
|
|
|
/* 8037804C 00374FAC 41 82 00 24 */ beq lbl_80378070
|
|
|
|
/* 80378050 00374FB0 40 80 00 10 */ bge lbl_80378060
|
|
|
|
/* 80378054 00374FB4 2C 04 00 00 */ cmpwi r4, 0
|
|
|
|
/* 80378058 00374FB8 40 80 00 2C */ bge lbl_80378084
|
|
|
|
/* 8037805C 00374FBC 48 00 00 A4 */ b lbl_80378100
|
|
|
|
lbl_80378060:
|
|
|
|
/* 80378060 00374FC0 2C 04 00 0A */ cmpwi r4, 0xa
|
|
|
|
/* 80378064 00374FC4 41 82 00 74 */ beq lbl_803780D8
|
|
|
|
/* 80378068 00374FC8 40 80 00 98 */ bge lbl_80378100
|
|
|
|
/* 8037806C 00374FCC 48 00 00 30 */ b lbl_8037809C
|
|
|
|
lbl_80378070:
|
|
|
|
/* 80378070 00374FD0 55 80 10 3A */ slwi r0, r12, 2
|
|
|
|
/* 80378074 00374FD4 54 04 07 26 */ rlwinm r4, r0, 0, 0x1c, 0x13
|
|
|
|
/* 80378078 00374FD8 55 40 38 30 */ slwi r0, r10, 7
|
|
|
|
/* 8037807C 00374FDC 7C 8B 03 78 */ or r11, r4, r0
|
|
|
|
/* 80378080 00374FE0 48 00 00 80 */ b lbl_80378100
|
|
|
|
lbl_80378084:
|
|
|
|
/* 80378084 00374FE4 55 80 10 3A */ slwi r0, r12, 2
|
|
|
|
/* 80378088 00374FE8 60 00 00 02 */ ori r0, r0, 2
|
|
|
|
/* 8037808C 00374FEC 54 04 07 26 */ rlwinm r4, r0, 0, 0x1c, 0x13
|
|
|
|
/* 80378090 00374FF0 55 40 38 30 */ slwi r0, r10, 7
|
|
|
|
/* 80378094 00374FF4 7C 8B 03 78 */ or r11, r4, r0
|
|
|
|
/* 80378098 00374FF8 48 00 00 68 */ b lbl_80378100
|
|
|
|
lbl_8037809C:
|
|
|
|
/* 8037809C 00374FFC 55 80 10 3A */ slwi r0, r12, 2
|
|
|
|
/* 803780A0 00375000 54 00 07 30 */ rlwinm r0, r0, 0, 0x1c, 0x18
|
|
|
|
/* 803780A4 00375004 60 00 00 10 */ ori r0, r0, 0x10
|
|
|
|
/* 803780A8 00375008 54 09 06 66 */ rlwinm r9, r0, 0, 0x19, 0x13
|
|
|
|
/* 803780AC 0037500C 55 40 38 30 */ slwi r0, r10, 7
|
|
|
|
/* 803780B0 00375010 7D 29 03 78 */ or r9, r9, r0
|
|
|
|
/* 803780B4 00375014 38 A5 FF F4 */ addi r5, r5, -12
|
|
|
|
/* 803780B8 00375018 38 04 FF FE */ addi r0, r4, -2
|
|
|
|
/* 803780BC 0037501C 55 29 05 20 */ rlwinm r9, r9, 0, 0x14, 0x10
|
|
|
|
/* 803780C0 00375020 54 A4 60 26 */ slwi r4, r5, 0xc
|
|
|
|
/* 803780C4 00375024 7D 24 23 78 */ or r4, r9, r4
|
|
|
|
/* 803780C8 00375028 54 84 04 5A */ rlwinm r4, r4, 0, 0x11, 0xd
|
|
|
|
/* 803780CC 0037502C 54 00 78 20 */ slwi r0, r0, 0xf
|
|
|
|
/* 803780D0 00375030 7C 8B 03 78 */ or r11, r4, r0
|
|
|
|
/* 803780D4 00375034 48 00 00 2C */ b lbl_80378100
|
|
|
|
lbl_803780D8:
|
|
|
|
/* 803780D8 00375038 2C 05 00 13 */ cmpwi r5, 0x13
|
|
|
|
/* 803780DC 0037503C 55 80 10 3A */ slwi r0, r12, 2
|
|
|
|
/* 803780E0 00375040 40 82 00 10 */ bne lbl_803780F0
|
|
|
|
/* 803780E4 00375044 54 00 07 30 */ rlwinm r0, r0, 0, 0x1c, 0x18
|
|
|
|
/* 803780E8 00375048 60 00 00 20 */ ori r0, r0, 0x20
|
|
|
|
/* 803780EC 0037504C 48 00 00 0C */ b lbl_803780F8
|
|
|
|
lbl_803780F0:
|
|
|
|
/* 803780F0 00375050 54 00 07 30 */ rlwinm r0, r0, 0, 0x1c, 0x18
|
|
|
|
/* 803780F4 00375054 60 00 00 30 */ ori r0, r0, 0x30
|
|
|
|
lbl_803780F8:
|
|
|
|
/* 803780F8 00375058 54 00 06 66 */ rlwinm r0, r0, 0, 0x19, 0x13
|
|
|
|
/* 803780FC 0037505C 60 0B 01 00 */ ori r11, r0, 0x100
|
|
|
|
lbl_80378100:
|
|
|
|
/* 80378100 00375060 39 40 00 10 */ li r10, 0x10
|
|
|
|
/* 80378104 00375064 3D 20 CC 01 */ lis r9, 0xCC008000@ha
|
|
|
|
/* 80378108 00375068 99 49 80 00 */ stb r10, 0xCC008000@l(r9)
|
|
|
|
/* 8037810C 0037506C 38 03 10 40 */ addi r0, r3, 0x1040
|
|
|
|
/* 80378110 00375070 38 88 FF C0 */ addi r4, r8, -64
|
|
|
|
/* 80378114 00375074 90 09 80 00 */ stw r0, 0xCC008000@l(r9)
|
|
|
|
/* 80378118 00375078 54 85 06 2C */ rlwinm r5, r4, 0, 0x18, 0x16
|
|
|
|
/* 8037811C 0037507C 54 E4 44 2E */ rlwinm r4, r7, 8, 0x10, 0x17
|
|
|
|
/* 80378120 00375080 91 69 80 00 */ stw r11, 0xCC008000@l(r9)
|
|
|
|
/* 80378124 00375084 38 03 10 50 */ addi r0, r3, 0x1050
|
|
|
|
/* 80378128 00375088 28 03 00 06 */ cmplwi r3, 6
|
|
|
|
/* 8037812C 0037508C 99 49 80 00 */ stb r10, 0xCC008000@l(r9)
|
|
|
|
/* 80378130 00375090 7C A4 23 78 */ or r4, r5, r4
|
|
|
|
/* 80378134 00375094 90 09 80 00 */ stw r0, 0xCC008000@l(r9)
|
|
|
|
/* 80378138 00375098 90 89 80 00 */ stw r4, 0xCC008000@l(r9)
|
|
|
|
/* 8037813C 0037509C 41 81 00 F4 */ bgt lbl_80378230
|
|
|
|
/* 80378140 003750A0 3C 80 80 3F */ lis r4, lbl_803F0870@ha
|
|
|
|
/* 80378144 003750A4 38 84 08 70 */ addi r4, r4, lbl_803F0870@l
|
|
|
|
/* 80378148 003750A8 54 60 10 3A */ slwi r0, r3, 2
|
|
|
|
/* 8037814C 003750AC 7C 04 00 2E */ lwzx r0, r4, r0
|
|
|
|
/* 80378150 003750B0 7C 09 03 A6 */ mtctr r0
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80378154 003750B4 4E 80 04 20 */ bctr
|
2022-04-02 21:03:04 +00:00
|
|
|
/* 80378158 003750B8 80 82 CE 08 */ lwz r4, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 8037815C 003750BC 54 C0 30 32 */ slwi r0, r6, 6
|
|
|
|
/* 80378160 003750C0 38 A4 00 80 */ addi r5, r4, 0x80
|
|
|
|
/* 80378164 003750C4 80 84 00 80 */ lwz r4, 0x80(r4)
|
|
|
|
/* 80378168 003750C8 54 84 06 A6 */ rlwinm r4, r4, 0, 0x1a, 0x13
|
|
|
|
/* 8037816C 003750CC 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 80378170 003750D0 90 05 00 00 */ stw r0, 0(r5)
|
|
|
|
/* 80378174 003750D4 48 00 00 D8 */ b lbl_8037824C
|
|
|
|
/* 80378178 003750D8 80 82 CE 08 */ lwz r4, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 8037817C 003750DC 54 C0 60 26 */ slwi r0, r6, 0xc
|
|
|
|
/* 80378180 003750E0 38 A4 00 80 */ addi r5, r4, 0x80
|
|
|
|
/* 80378184 003750E4 80 84 00 80 */ lwz r4, 0x80(r4)
|
|
|
|
/* 80378188 003750E8 54 84 05 1A */ rlwinm r4, r4, 0, 0x14, 0xd
|
|
|
|
/* 8037818C 003750EC 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 80378190 003750F0 90 05 00 00 */ stw r0, 0(r5)
|
|
|
|
/* 80378194 003750F4 48 00 00 B8 */ b lbl_8037824C
|
|
|
|
/* 80378198 003750F8 80 82 CE 08 */ lwz r4, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 8037819C 003750FC 54 C0 90 1A */ slwi r0, r6, 0x12
|
|
|
|
/* 803781A0 00375100 38 A4 00 80 */ addi r5, r4, 0x80
|
|
|
|
/* 803781A4 00375104 80 84 00 80 */ lwz r4, 0x80(r4)
|
|
|
|
/* 803781A8 00375108 54 84 03 8E */ rlwinm r4, r4, 0, 0xe, 7
|
|
|
|
/* 803781AC 0037510C 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 803781B0 00375110 90 05 00 00 */ stw r0, 0(r5)
|
|
|
|
/* 803781B4 00375114 48 00 00 98 */ b lbl_8037824C
|
|
|
|
/* 803781B8 00375118 80 82 CE 08 */ lwz r4, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803781BC 0037511C 54 C0 C0 0E */ slwi r0, r6, 0x18
|
|
|
|
/* 803781C0 00375120 38 A4 00 80 */ addi r5, r4, 0x80
|
|
|
|
/* 803781C4 00375124 80 84 00 80 */ lwz r4, 0x80(r4)
|
|
|
|
/* 803781C8 00375128 54 84 02 02 */ rlwinm r4, r4, 0, 8, 1
|
|
|
|
/* 803781CC 0037512C 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 803781D0 00375130 90 05 00 00 */ stw r0, 0(r5)
|
|
|
|
/* 803781D4 00375134 48 00 00 78 */ b lbl_8037824C
|
|
|
|
/* 803781D8 00375138 80 82 CE 08 */ lwz r4, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803781DC 0037513C 84 04 00 84 */ lwzu r0, 0x84(r4)
|
|
|
|
/* 803781E0 00375140 54 00 00 32 */ rlwinm r0, r0, 0, 0, 0x19
|
|
|
|
/* 803781E4 00375144 7C 00 33 78 */ or r0, r0, r6
|
|
|
|
/* 803781E8 00375148 90 04 00 00 */ stw r0, 0(r4)
|
|
|
|
/* 803781EC 0037514C 48 00 00 60 */ b lbl_8037824C
|
|
|
|
/* 803781F0 00375150 80 82 CE 08 */ lwz r4, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 803781F4 00375154 54 C0 30 32 */ slwi r0, r6, 6
|
|
|
|
/* 803781F8 00375158 38 A4 00 84 */ addi r5, r4, 0x84
|
|
|
|
/* 803781FC 0037515C 80 84 00 84 */ lwz r4, 0x84(r4)
|
|
|
|
/* 80378200 00375160 54 84 06 A6 */ rlwinm r4, r4, 0, 0x1a, 0x13
|
|
|
|
/* 80378204 00375164 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 80378208 00375168 90 05 00 00 */ stw r0, 0(r5)
|
|
|
|
/* 8037820C 0037516C 48 00 00 40 */ b lbl_8037824C
|
|
|
|
/* 80378210 00375170 80 82 CE 08 */ lwz r4, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80378214 00375174 54 C0 60 26 */ slwi r0, r6, 0xc
|
|
|
|
/* 80378218 00375178 38 A4 00 84 */ addi r5, r4, 0x84
|
|
|
|
/* 8037821C 0037517C 80 84 00 84 */ lwz r4, 0x84(r4)
|
|
|
|
/* 80378220 00375180 54 84 05 1A */ rlwinm r4, r4, 0, 0x14, 0xd
|
|
|
|
/* 80378224 00375184 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 80378228 00375188 90 05 00 00 */ stw r0, 0(r5)
|
|
|
|
/* 8037822C 0037518C 48 00 00 20 */ b lbl_8037824C
|
|
|
|
lbl_80378230:
|
|
|
|
/* 80378230 00375190 80 82 CE 08 */ lwz r4, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80378234 00375194 54 C0 90 1A */ slwi r0, r6, 0x12
|
|
|
|
/* 80378238 00375198 38 A4 00 84 */ addi r5, r4, 0x84
|
|
|
|
/* 8037823C 0037519C 80 84 00 84 */ lwz r4, 0x84(r4)
|
|
|
|
/* 80378240 003751A0 54 84 03 8E */ rlwinm r4, r4, 0, 0xe, 7
|
|
|
|
/* 80378244 003751A4 7C 80 03 78 */ or r0, r4, r0
|
|
|
|
/* 80378248 003751A8 90 05 00 00 */ stw r0, 0(r5)
|
|
|
|
lbl_8037824C:
|
|
|
|
/* 8037824C 003751AC 38 63 00 01 */ addi r3, r3, 1
|
|
|
|
/* 80378250 003751B0 48 00 45 15 */ bl __GXSetMatrixIndex
|
|
|
|
/* 80378254 003751B4 80 01 00 0C */ lwz r0, 0xc(r1)
|
|
|
|
/* 80378258 003751B8 38 21 00 08 */ addi r1, r1, 8
|
|
|
|
/* 8037825C 003751BC 7C 08 03 A6 */ mtlr r0
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 80378260 003751C0 4E 80 00 20 */ blr
|
2022-04-02 21:03:04 +00:00
|
|
|
|
|
|
|
.global GXSetNumTexGens
|
|
|
|
GXSetNumTexGens:
|
|
|
|
/* 80378264 003751C4 80 C2 CE 08 */ lwz r6, lbl_805AEB28@sda21(r2)
|
|
|
|
/* 80378268 003751C8 54 68 06 3E */ clrlwi r8, r3, 0x18
|
|
|
|
/* 8037826C 003751CC 38 80 00 10 */ li r4, 0x10
|
|
|
|
/* 80378270 003751D0 80 A6 02 04 */ lwz r5, 0x204(r6)
|
|
|
|
/* 80378274 003751D4 3C 60 CC 01 */ lis r3, 0xCC008000@ha
|
|
|
|
/* 80378278 003751D8 38 00 10 3F */ li r0, 0x103f
|
|
|
|
/* 8037827C 003751DC 54 A5 00 36 */ rlwinm r5, r5, 0, 0, 0x1b
|
|
|
|
/* 80378280 003751E0 7C A5 43 78 */ or r5, r5, r8
|
|
|
|
/* 80378284 003751E4 90 A6 02 04 */ stw r5, 0x204(r6)
|
|
|
|
/* 80378288 003751E8 98 83 80 00 */ stb r4, 0xCC008000@l(r3)
|
|
|
|
/* 8037828C 003751EC 90 03 80 00 */ stw r0, 0xCC008000@l(r3)
|
|
|
|
/* 80378290 003751F0 91 03 80 00 */ stw r8, 0xCC008000@l(r3)
|
|
|
|
/* 80378294 003751F4 80 06 04 F4 */ lwz r0, 0x4f4(r6)
|
|
|
|
/* 80378298 003751F8 60 00 00 04 */ ori r0, r0, 4
|
|
|
|
/* 8037829C 003751FC 90 06 04 F4 */ stw r0, 0x4f4(r6)
|
2022-07-14 05:48:03 +00:00
|
|
|
/* 803782A0 00375200 4E 80 00 20 */ blr
|
2022-04-02 21:03:04 +00:00
|
|
|
|