1565 lines
62 KiB
ArmAsm
1565 lines
62 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
|
.global GXSetVtxDesc
|
|
GXSetVtxDesc:
|
|
/* 800337A0 0002F5E0 28 03 00 19 */ cmplwi r3, 0x19
|
|
/* 800337A4 0002F5E4 41 81 02 10 */ bgt lbl_800339B4
|
|
/* 800337A8 0002F5E8 3C A0 80 43 */ lis r5, "@3194_80430A70"@ha
|
|
/* 800337AC 0002F5EC 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 800337B0 0002F5F0 38 A5 0A 70 */ addi r5, r5, "@3194_80430A70"@l
|
|
/* 800337B4 0002F5F4 7C A5 00 2E */ lwzx r5, r5, r0
|
|
/* 800337B8 0002F5F8 7C A9 03 A6 */ mtctr r5
|
|
/* 800337BC 0002F5FC 4E 80 04 20 */ bctr
|
|
|
|
.global lbl_800337C0
|
|
lbl_800337C0:
|
|
/* 800337C0 0002F600 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 800337C4 0002F604 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 800337C8 0002F608 50 80 07 FE */ rlwimi r0, r4, 0, 31, 31
|
|
/* 800337CC 0002F60C 90 03 00 14 */ stw r0, 0x14(r3)
|
|
/* 800337D0 0002F610 48 00 01 E4 */ b lbl_800339B4
|
|
|
|
.global lbl_800337D4
|
|
lbl_800337D4:
|
|
/* 800337D4 0002F614 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 800337D8 0002F618 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 800337DC 0002F61C 50 80 0F BC */ rlwimi r0, r4, 1, 30, 30
|
|
/* 800337E0 0002F620 90 03 00 14 */ stw r0, 0x14(r3)
|
|
/* 800337E4 0002F624 48 00 01 D0 */ b lbl_800339B4
|
|
|
|
.global lbl_800337E8
|
|
lbl_800337E8:
|
|
/* 800337E8 0002F628 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 800337EC 0002F62C 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 800337F0 0002F630 50 80 17 7A */ rlwimi r0, r4, 2, 29, 29
|
|
/* 800337F4 0002F634 90 03 00 14 */ stw r0, 0x14(r3)
|
|
/* 800337F8 0002F638 48 00 01 BC */ b lbl_800339B4
|
|
|
|
.global lbl_800337FC
|
|
lbl_800337FC:
|
|
/* 800337FC 0002F63C 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033800 0002F640 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033804 0002F644 50 80 1F 38 */ rlwimi r0, r4, 3, 28, 28
|
|
/* 80033808 0002F648 90 03 00 14 */ stw r0, 0x14(r3)
|
|
/* 8003380C 0002F64C 48 00 01 A8 */ b lbl_800339B4
|
|
|
|
.global lbl_80033810
|
|
lbl_80033810:
|
|
/* 80033810 0002F650 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033814 0002F654 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033818 0002F658 50 80 26 F6 */ rlwimi r0, r4, 4, 27, 27
|
|
/* 8003381C 0002F65C 90 03 00 14 */ stw r0, 0x14(r3)
|
|
/* 80033820 0002F660 48 00 01 94 */ b lbl_800339B4
|
|
|
|
.global lbl_80033824
|
|
lbl_80033824:
|
|
/* 80033824 0002F664 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033828 0002F668 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 8003382C 0002F66C 50 80 2E B4 */ rlwimi r0, r4, 5, 26, 26
|
|
/* 80033830 0002F670 90 03 00 14 */ stw r0, 0x14(r3)
|
|
/* 80033834 0002F674 48 00 01 80 */ b lbl_800339B4
|
|
|
|
.global lbl_80033838
|
|
lbl_80033838:
|
|
/* 80033838 0002F678 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 8003383C 0002F67C 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033840 0002F680 50 80 36 72 */ rlwimi r0, r4, 6, 25, 25
|
|
/* 80033844 0002F684 90 03 00 14 */ stw r0, 0x14(r3)
|
|
/* 80033848 0002F688 48 00 01 6C */ b lbl_800339B4
|
|
|
|
.global lbl_8003384C
|
|
lbl_8003384C:
|
|
/* 8003384C 0002F68C 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033850 0002F690 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033854 0002F694 50 80 3E 30 */ rlwimi r0, r4, 7, 24, 24
|
|
/* 80033858 0002F698 90 03 00 14 */ stw r0, 0x14(r3)
|
|
/* 8003385C 0002F69C 48 00 01 58 */ b lbl_800339B4
|
|
|
|
.global lbl_80033860
|
|
lbl_80033860:
|
|
/* 80033860 0002F6A0 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033864 0002F6A4 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033868 0002F6A8 50 80 45 EE */ rlwimi r0, r4, 8, 23, 23
|
|
/* 8003386C 0002F6AC 90 03 00 14 */ stw r0, 0x14(r3)
|
|
/* 80033870 0002F6B0 48 00 01 44 */ b lbl_800339B4
|
|
|
|
.global lbl_80033874
|
|
lbl_80033874:
|
|
/* 80033874 0002F6B4 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033878 0002F6B8 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 8003387C 0002F6BC 50 80 4D 6C */ rlwimi r0, r4, 9, 21, 22
|
|
/* 80033880 0002F6C0 90 03 00 14 */ stw r0, 0x14(r3)
|
|
/* 80033884 0002F6C4 48 00 01 30 */ b lbl_800339B4
|
|
|
|
.global lbl_80033888
|
|
lbl_80033888:
|
|
/* 80033888 0002F6C8 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 8003388C 0002F6CC 41 82 00 20 */ beq lbl_800338AC
|
|
/* 80033890 0002F6D0 80 A2 86 08 */ lwz r5, __GXData@sda21(r2)
|
|
/* 80033894 0002F6D4 38 60 00 01 */ li r3, 0x1
|
|
/* 80033898 0002F6D8 38 00 00 00 */ li r0, 0x0
|
|
/* 8003389C 0002F6DC 98 65 05 24 */ stb r3, 0x524(r5)
|
|
/* 800338A0 0002F6E0 98 05 05 25 */ stb r0, 0x525(r5)
|
|
/* 800338A4 0002F6E4 90 85 05 20 */ stw r4, 0x520(r5)
|
|
/* 800338A8 0002F6E8 48 00 01 0C */ b lbl_800339B4
|
|
.global lbl_800338AC
|
|
lbl_800338AC:
|
|
/* 800338AC 0002F6EC 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 800338B0 0002F6F0 38 00 00 00 */ li r0, 0x0
|
|
/* 800338B4 0002F6F4 98 03 05 24 */ stb r0, 0x524(r3)
|
|
/* 800338B8 0002F6F8 48 00 00 FC */ b lbl_800339B4
|
|
|
|
.global lbl_800338BC
|
|
lbl_800338BC:
|
|
/* 800338BC 0002F6FC 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 800338C0 0002F700 41 82 00 20 */ beq lbl_800338E0
|
|
/* 800338C4 0002F704 80 A2 86 08 */ lwz r5, __GXData@sda21(r2)
|
|
/* 800338C8 0002F708 38 60 00 01 */ li r3, 0x1
|
|
/* 800338CC 0002F70C 38 00 00 00 */ li r0, 0x0
|
|
/* 800338D0 0002F710 98 65 05 25 */ stb r3, 0x525(r5)
|
|
/* 800338D4 0002F714 98 05 05 24 */ stb r0, 0x524(r5)
|
|
/* 800338D8 0002F718 90 85 05 20 */ stw r4, 0x520(r5)
|
|
/* 800338DC 0002F71C 48 00 00 D8 */ b lbl_800339B4
|
|
.global lbl_800338E0
|
|
lbl_800338E0:
|
|
/* 800338E0 0002F720 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 800338E4 0002F724 38 00 00 00 */ li r0, 0x0
|
|
/* 800338E8 0002F728 98 03 05 25 */ stb r0, 0x525(r3)
|
|
/* 800338EC 0002F72C 48 00 00 C8 */ b lbl_800339B4
|
|
|
|
.global lbl_800338F0
|
|
lbl_800338F0:
|
|
/* 800338F0 0002F730 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 800338F4 0002F734 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 800338F8 0002F738 50 80 6C 64 */ rlwimi r0, r4, 13, 17, 18
|
|
/* 800338FC 0002F73C 90 03 00 14 */ stw r0, 0x14(r3)
|
|
/* 80033900 0002F740 48 00 00 B4 */ b lbl_800339B4
|
|
|
|
.global lbl_80033904
|
|
lbl_80033904:
|
|
/* 80033904 0002F744 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033908 0002F748 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 8003390C 0002F74C 50 80 7B E0 */ rlwimi r0, r4, 15, 15, 16
|
|
/* 80033910 0002F750 90 03 00 14 */ stw r0, 0x14(r3)
|
|
/* 80033914 0002F754 48 00 00 A0 */ b lbl_800339B4
|
|
|
|
.global lbl_80033918
|
|
lbl_80033918:
|
|
/* 80033918 0002F758 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 8003391C 0002F75C 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80033920 0002F760 50 80 07 BE */ rlwimi r0, r4, 0, 30, 31
|
|
/* 80033924 0002F764 90 03 00 18 */ stw r0, 0x18(r3)
|
|
/* 80033928 0002F768 48 00 00 8C */ b lbl_800339B4
|
|
|
|
.global lbl_8003392C
|
|
lbl_8003392C:
|
|
/* 8003392C 0002F76C 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033930 0002F770 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80033934 0002F774 50 80 17 3A */ rlwimi r0, r4, 2, 28, 29
|
|
/* 80033938 0002F778 90 03 00 18 */ stw r0, 0x18(r3)
|
|
/* 8003393C 0002F77C 48 00 00 78 */ b lbl_800339B4
|
|
|
|
.global lbl_80033940
|
|
lbl_80033940:
|
|
/* 80033940 0002F780 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033944 0002F784 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80033948 0002F788 50 80 26 B6 */ rlwimi r0, r4, 4, 26, 27
|
|
/* 8003394C 0002F78C 90 03 00 18 */ stw r0, 0x18(r3)
|
|
/* 80033950 0002F790 48 00 00 64 */ b lbl_800339B4
|
|
|
|
.global lbl_80033954
|
|
lbl_80033954:
|
|
/* 80033954 0002F794 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033958 0002F798 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 8003395C 0002F79C 50 80 36 32 */ rlwimi r0, r4, 6, 24, 25
|
|
/* 80033960 0002F7A0 90 03 00 18 */ stw r0, 0x18(r3)
|
|
/* 80033964 0002F7A4 48 00 00 50 */ b lbl_800339B4
|
|
|
|
.global lbl_80033968
|
|
lbl_80033968:
|
|
/* 80033968 0002F7A8 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 8003396C 0002F7AC 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80033970 0002F7B0 50 80 45 AE */ rlwimi r0, r4, 8, 22, 23
|
|
/* 80033974 0002F7B4 90 03 00 18 */ stw r0, 0x18(r3)
|
|
/* 80033978 0002F7B8 48 00 00 3C */ b lbl_800339B4
|
|
|
|
.global lbl_8003397C
|
|
lbl_8003397C:
|
|
/* 8003397C 0002F7BC 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033980 0002F7C0 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80033984 0002F7C4 50 80 55 2A */ rlwimi r0, r4, 10, 20, 21
|
|
/* 80033988 0002F7C8 90 03 00 18 */ stw r0, 0x18(r3)
|
|
/* 8003398C 0002F7CC 48 00 00 28 */ b lbl_800339B4
|
|
|
|
.global lbl_80033990
|
|
lbl_80033990:
|
|
/* 80033990 0002F7D0 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033994 0002F7D4 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80033998 0002F7D8 50 80 64 A6 */ rlwimi r0, r4, 12, 18, 19
|
|
/* 8003399C 0002F7DC 90 03 00 18 */ stw r0, 0x18(r3)
|
|
/* 800339A0 0002F7E0 48 00 00 14 */ b lbl_800339B4
|
|
|
|
.global lbl_800339A4
|
|
lbl_800339A4:
|
|
/* 800339A4 0002F7E4 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 800339A8 0002F7E8 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 800339AC 0002F7EC 50 80 74 22 */ rlwimi r0, r4, 14, 16, 17
|
|
/* 800339B0 0002F7F0 90 03 00 18 */ stw r0, 0x18(r3)
|
|
|
|
.global lbl_800339B4
|
|
lbl_800339B4:
|
|
/* 800339B4 0002F7F4 80 82 86 08 */ lwz r4, __GXData@sda21(r2)
|
|
/* 800339B8 0002F7F8 88 04 05 24 */ lbz r0, 0x524(r4)
|
|
/* 800339BC 0002F7FC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800339C0 0002F800 40 82 00 10 */ bne lbl_800339D0
|
|
/* 800339C4 0002F804 88 04 05 25 */ lbz r0, 0x525(r4)
|
|
/* 800339C8 0002F808 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 800339CC 0002F80C 41 82 00 1C */ beq lbl_800339E8
|
|
.global lbl_800339D0
|
|
lbl_800339D0:
|
|
/* 800339D0 0002F810 80 A2 86 08 */ lwz r5, __GXData@sda21(r2)
|
|
/* 800339D4 0002F814 80 05 05 20 */ lwz r0, 0x520(r5)
|
|
/* 800339D8 0002F818 80 65 00 14 */ lwz r3, 0x14(r5)
|
|
/* 800339DC 0002F81C 50 03 5C E8 */ rlwimi r3, r0, 11, 19, 20
|
|
/* 800339E0 0002F820 90 65 00 14 */ stw r3, 0x14(r5)
|
|
/* 800339E4 0002F824 48 00 00 10 */ b lbl_800339F4
|
|
.global lbl_800339E8
|
|
lbl_800339E8:
|
|
/* 800339E8 0002F828 80 04 00 14 */ lwz r0, 0x14(r4)
|
|
/* 800339EC 0002F82C 54 00 05 64 */ rlwinm r0, r0, 0, 21, 18
|
|
/* 800339F0 0002F830 90 04 00 14 */ stw r0, 0x14(r4)
|
|
.global lbl_800339F4
|
|
lbl_800339F4:
|
|
/* 800339F4 0002F834 80 04 05 FC */ lwz r0, 0x5fc(r4)
|
|
/* 800339F8 0002F838 60 00 00 08 */ ori r0, r0, 0x8
|
|
/* 800339FC 0002F83C 90 04 05 FC */ stw r0, 0x5fc(r4)
|
|
/* 80033A00 0002F840 4E 80 00 20 */ blr
|
|
/* 80033A04 0002F844 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80033A08 0002F848 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80033A0C 0002F84C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __GXSetVCD
|
|
__GXSetVCD:
|
|
/* 80033A10 0002F850 3C A0 CC 01 */ lis r5, 0xCC008000@ha
|
|
/* 80033A14 0002F854 38 C0 00 08 */ li r6, 0x8
|
|
/* 80033A18 0002F858 98 C5 80 00 */ stb r6, 0xCC008000@l(r5)
|
|
/* 80033A1C 0002F85C 38 80 00 50 */ li r4, 0x50
|
|
/* 80033A20 0002F860 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033A24 0002F864 38 00 00 60 */ li r0, 0x60
|
|
/* 80033A28 0002F868 98 85 80 00 */ stb r4, -0x8000(r5)
|
|
/* 80033A2C 0002F86C 80 83 00 14 */ lwz r4, 0x14(r3)
|
|
/* 80033A30 0002F870 90 85 80 00 */ stw r4, -0x8000(r5)
|
|
/* 80033A34 0002F874 98 C5 80 00 */ stb r6, -0x8000(r5)
|
|
/* 80033A38 0002F878 98 05 80 00 */ stb r0, -0x8000(r5)
|
|
/* 80033A3C 0002F87C 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80033A40 0002F880 90 05 80 00 */ stw r0, -0x8000(r5)
|
|
/* 80033A44 0002F884 88 03 05 25 */ lbz r0, 0x525(r3)
|
|
/* 80033A48 0002F888 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80033A4C 0002F88C 41 82 00 0C */ beq lbl_80033A58
|
|
/* 80033A50 0002F890 39 00 00 02 */ li r8, 0x2
|
|
/* 80033A54 0002F894 48 00 00 14 */ b lbl_80033A68
|
|
.global lbl_80033A58
|
|
lbl_80033A58:
|
|
/* 80033A58 0002F898 88 83 05 24 */ lbz r4, 0x524(r3)
|
|
/* 80033A5C 0002F89C 7C 04 00 D0 */ neg r0, r4
|
|
/* 80033A60 0002F8A0 7C 00 23 78 */ or r0, r0, r4
|
|
/* 80033A64 0002F8A4 54 08 0F FE */ srwi r8, r0, 31
|
|
.global lbl_80033A68
|
|
lbl_80033A68:
|
|
/* 80033A68 0002F8A8 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033A6C 0002F8AC 3C C0 CC 01 */ lis r6, 0xCC008000@ha
|
|
/* 80033A70 0002F8B0 80 A3 00 18 */ lwz r5, 0x18(r3)
|
|
/* 80033A74 0002F8B4 38 80 00 10 */ li r4, 0x10
|
|
/* 80033A78 0002F8B8 54 07 9F 3E */ extrwi r7, r0, 4, 15
|
|
/* 80033A7C 0002F8BC 38 00 10 08 */ li r0, 0x1008
|
|
/* 80033A80 0002F8C0 7C E7 00 34 */ cntlzw r7, r7
|
|
/* 80033A84 0002F8C4 54 A5 04 3E */ clrlwi r5, r5, 16
|
|
/* 80033A88 0002F8C8 98 86 80 00 */ stb r4, 0xCC008000@l(r6)
|
|
/* 80033A8C 0002F8CC 20 E7 00 21 */ subfic r7, r7, 0x21
|
|
/* 80033A90 0002F8D0 7C A5 00 34 */ cntlzw r5, r5
|
|
/* 80033A94 0002F8D4 55 04 10 3A */ slwi r4, r8, 2
|
|
/* 80033A98 0002F8D8 20 A5 00 21 */ subfic r5, r5, 0x21
|
|
/* 80033A9C 0002F8DC 90 06 80 00 */ stw r0, -0x8000(r6)
|
|
/* 80033AA0 0002F8E0 54 E7 F8 7E */ srwi r7, r7, 1
|
|
/* 80033AA4 0002F8E4 38 00 00 01 */ li r0, 0x1
|
|
/* 80033AA8 0002F8E8 54 A5 18 36 */ extlwi r5, r5, 28, 3
|
|
/* 80033AAC 0002F8EC 7C A5 3B 78 */ or r5, r5, r7
|
|
/* 80033AB0 0002F8F0 7C A4 23 78 */ or r4, r5, r4
|
|
/* 80033AB4 0002F8F4 90 86 80 00 */ stw r4, -0x8000(r6)
|
|
/* 80033AB8 0002F8F8 B0 03 00 02 */ sth r0, 0x2(r3)
|
|
/* 80033ABC 0002F8FC 4E 80 00 20 */ blr
|
|
.global __GXCalculateVLim
|
|
__GXCalculateVLim:
|
|
/* 80033AC0 0002F900 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80033AC4 0002F904 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033AC8 0002F908 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80033ACC 0002F90C A0 03 00 04 */ lhz r0, 0x4(r3)
|
|
/* 80033AD0 0002F910 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80033AD4 0002F914 41 82 01 0C */ beq lbl_80033BE0
|
|
/* 80033AD8 0002F918 81 23 00 14 */ lwz r9, 0x14(r3)
|
|
/* 80033ADC 0002F91C 38 ED 81 58 */ addi r7, r13, "@LOCAL@__GXCalculateVLim__Fv@tbl3@1"@sda21
|
|
/* 80033AE0 0002F920 80 A3 00 1C */ lwz r5, 0x1c(r3)
|
|
/* 80033AE4 0002F924 55 20 07 FE */ clrlwi r0, r9, 31
|
|
/* 80033AE8 0002F928 55 24 FF FE */ extrwi r4, r9, 1, 30
|
|
/* 80033AEC 0002F92C 7C 00 22 14 */ add r0, r0, r4
|
|
/* 80033AF0 0002F930 54 A8 BF FE */ extrwi r8, r5, 1, 22
|
|
/* 80033AF4 0002F934 55 24 F7 FE */ extrwi r4, r9, 1, 29
|
|
/* 80033AF8 0002F938 55 25 AF BE */ extrwi r5, r9, 2, 19
|
|
/* 80033AFC 0002F93C 7C 00 22 14 */ add r0, r0, r4
|
|
/* 80033B00 0002F940 2C 08 00 01 */ cmpwi r8, 0x1
|
|
/* 80033B04 0002F944 55 24 EF FE */ extrwi r4, r9, 1, 28
|
|
/* 80033B08 0002F948 55 26 D7 FE */ extrwi r6, r9, 1, 25
|
|
/* 80033B0C 0002F94C 7C 00 22 14 */ add r0, r0, r4
|
|
/* 80033B10 0002F950 55 28 C7 FE */ extrwi r8, r9, 1, 23
|
|
/* 80033B14 0002F954 55 24 E7 FE */ extrwi r4, r9, 1, 27
|
|
/* 80033B18 0002F958 83 E3 00 18 */ lwz r31, 0x18(r3)
|
|
/* 80033B1C 0002F95C 7C 00 22 14 */ add r0, r0, r4
|
|
/* 80033B20 0002F960 7C A7 28 AE */ lbzx r5, r7, r5
|
|
/* 80033B24 0002F964 55 24 DF FE */ extrwi r4, r9, 1, 26
|
|
/* 80033B28 0002F968 7C 00 22 14 */ add r0, r0, r4
|
|
/* 80033B2C 0002F96C 7C 00 32 14 */ add r0, r0, r6
|
|
/* 80033B30 0002F970 55 26 CF FE */ extrwi r6, r9, 1, 24
|
|
/* 80033B34 0002F974 7C 00 32 14 */ add r0, r0, r6
|
|
/* 80033B38 0002F978 55 24 BF BE */ extrwi r4, r9, 2, 21
|
|
/* 80033B3C 0002F97C 7C C7 20 AE */ lbzx r6, r7, r4
|
|
/* 80033B40 0002F980 7C 00 42 14 */ add r0, r0, r8
|
|
/* 80033B44 0002F984 38 80 00 01 */ li r4, 0x1
|
|
/* 80033B48 0002F988 7C 00 32 14 */ add r0, r0, r6
|
|
/* 80033B4C 0002F98C 40 82 00 08 */ bne lbl_80033B54
|
|
/* 80033B50 0002F990 38 80 00 03 */ li r4, 0x3
|
|
.global lbl_80033B54
|
|
lbl_80033B54:
|
|
/* 80033B54 0002F994 7D 05 21 D6 */ mullw r8, r5, r4
|
|
/* 80033B58 0002F998 38 ED 81 50 */ addi r7, r13, "@LOCAL@__GXCalculateVLim__Fv@tbl1"@sda21
|
|
/* 80033B5C 0002F99C 55 24 9F BE */ extrwi r4, r9, 2, 17
|
|
/* 80033B60 0002F9A0 55 25 8F BE */ extrwi r5, r9, 2, 15
|
|
/* 80033B64 0002F9A4 7C C7 20 AE */ lbzx r6, r7, r4
|
|
/* 80033B68 0002F9A8 7C A7 28 AE */ lbzx r5, r7, r5
|
|
/* 80033B6C 0002F9AC 7C 00 42 14 */ add r0, r0, r8
|
|
/* 80033B70 0002F9B0 39 8D 81 54 */ addi r12, r13, "@LOCAL@__GXCalculateVLim__Fv@tbl2@0"@sda21
|
|
/* 80033B74 0002F9B4 7C 00 32 14 */ add r0, r0, r6
|
|
/* 80033B78 0002F9B8 57 E4 07 BE */ clrlwi r4, r31, 30
|
|
/* 80033B7C 0002F9BC 57 EA F7 BE */ extrwi r10, r31, 2, 28
|
|
/* 80033B80 0002F9C0 7D 6C 20 AE */ lbzx r11, r12, r4
|
|
/* 80033B84 0002F9C4 7C 00 2A 14 */ add r0, r0, r5
|
|
/* 80033B88 0002F9C8 57 E9 E7 BE */ extrwi r9, r31, 2, 26
|
|
/* 80033B8C 0002F9CC 57 E8 D7 BE */ extrwi r8, r31, 2, 24
|
|
/* 80033B90 0002F9D0 57 E7 C7 BE */ extrwi r7, r31, 2, 22
|
|
/* 80033B94 0002F9D4 57 E6 B7 BE */ extrwi r6, r31, 2, 20
|
|
/* 80033B98 0002F9D8 57 E5 A7 BE */ extrwi r5, r31, 2, 18
|
|
/* 80033B9C 0002F9DC 57 E4 97 BE */ extrwi r4, r31, 2, 16
|
|
/* 80033BA0 0002F9E0 7D 4C 50 AE */ lbzx r10, r12, r10
|
|
/* 80033BA4 0002F9E4 7C 00 5A 14 */ add r0, r0, r11
|
|
/* 80033BA8 0002F9E8 7D 2C 48 AE */ lbzx r9, r12, r9
|
|
/* 80033BAC 0002F9EC 7C 00 52 14 */ add r0, r0, r10
|
|
/* 80033BB0 0002F9F0 7D 0C 40 AE */ lbzx r8, r12, r8
|
|
/* 80033BB4 0002F9F4 7C 00 4A 14 */ add r0, r0, r9
|
|
/* 80033BB8 0002F9F8 7C EC 38 AE */ lbzx r7, r12, r7
|
|
/* 80033BBC 0002F9FC 7C 00 42 14 */ add r0, r0, r8
|
|
/* 80033BC0 0002FA00 7C CC 30 AE */ lbzx r6, r12, r6
|
|
/* 80033BC4 0002FA04 7C 00 3A 14 */ add r0, r0, r7
|
|
/* 80033BC8 0002FA08 7C AC 28 AE */ lbzx r5, r12, r5
|
|
/* 80033BCC 0002FA0C 7C 00 32 14 */ add r0, r0, r6
|
|
/* 80033BD0 0002FA10 7C 8C 20 AE */ lbzx r4, r12, r4
|
|
/* 80033BD4 0002FA14 7C 00 2A 14 */ add r0, r0, r5
|
|
/* 80033BD8 0002FA18 7C 00 22 14 */ add r0, r0, r4
|
|
/* 80033BDC 0002FA1C B0 03 00 06 */ sth r0, 0x6(r3)
|
|
.global lbl_80033BE0
|
|
lbl_80033BE0:
|
|
/* 80033BE0 0002FA20 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80033BE4 0002FA24 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80033BE8 0002FA28 4E 80 00 20 */ blr
|
|
/* 80033BEC 0002FA2C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXGetVtxDesc
|
|
GXGetVtxDesc:
|
|
/* 80033BF0 0002FA30 28 03 00 19 */ cmplwi r3, 0x19
|
|
/* 80033BF4 0002FA34 41 81 01 A4 */ bgt lbl_80033D98
|
|
/* 80033BF8 0002FA38 3C A0 80 43 */ lis r5, "@3337"@ha
|
|
/* 80033BFC 0002FA3C 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80033C00 0002FA40 38 A5 0A D8 */ addi r5, r5, "@3337"@l
|
|
/* 80033C04 0002FA44 7C A5 00 2E */ lwzx r5, r5, r0
|
|
/* 80033C08 0002FA48 7C A9 03 A6 */ mtctr r5
|
|
/* 80033C0C 0002FA4C 4E 80 04 20 */ bctr
|
|
|
|
.global lbl_80033C10
|
|
lbl_80033C10:
|
|
/* 80033C10 0002FA50 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033C14 0002FA54 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033C18 0002FA58 54 00 07 FE */ clrlwi r0, r0, 31
|
|
/* 80033C1C 0002FA5C 48 00 01 80 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033C20
|
|
lbl_80033C20:
|
|
/* 80033C20 0002FA60 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033C24 0002FA64 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033C28 0002FA68 54 00 FF FE */ extrwi r0, r0, 1, 30
|
|
/* 80033C2C 0002FA6C 48 00 01 70 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033C30
|
|
lbl_80033C30:
|
|
/* 80033C30 0002FA70 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033C34 0002FA74 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033C38 0002FA78 54 00 F7 FE */ extrwi r0, r0, 1, 29
|
|
/* 80033C3C 0002FA7C 48 00 01 60 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033C40
|
|
lbl_80033C40:
|
|
/* 80033C40 0002FA80 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033C44 0002FA84 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033C48 0002FA88 54 00 EF FE */ extrwi r0, r0, 1, 28
|
|
/* 80033C4C 0002FA8C 48 00 01 50 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033C50
|
|
lbl_80033C50:
|
|
/* 80033C50 0002FA90 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033C54 0002FA94 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033C58 0002FA98 54 00 E7 FE */ extrwi r0, r0, 1, 27
|
|
/* 80033C5C 0002FA9C 48 00 01 40 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033C60
|
|
lbl_80033C60:
|
|
/* 80033C60 0002FAA0 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033C64 0002FAA4 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033C68 0002FAA8 54 00 DF FE */ extrwi r0, r0, 1, 26
|
|
/* 80033C6C 0002FAAC 48 00 01 30 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033C70
|
|
lbl_80033C70:
|
|
/* 80033C70 0002FAB0 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033C74 0002FAB4 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033C78 0002FAB8 54 00 D7 FE */ extrwi r0, r0, 1, 25
|
|
/* 80033C7C 0002FABC 48 00 01 20 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033C80
|
|
lbl_80033C80:
|
|
/* 80033C80 0002FAC0 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033C84 0002FAC4 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033C88 0002FAC8 54 00 CF FE */ extrwi r0, r0, 1, 24
|
|
/* 80033C8C 0002FACC 48 00 01 10 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033C90
|
|
lbl_80033C90:
|
|
/* 80033C90 0002FAD0 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033C94 0002FAD4 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033C98 0002FAD8 54 00 C7 FE */ extrwi r0, r0, 1, 23
|
|
/* 80033C9C 0002FADC 48 00 01 00 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033CA0
|
|
lbl_80033CA0:
|
|
/* 80033CA0 0002FAE0 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033CA4 0002FAE4 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033CA8 0002FAE8 54 00 BF BE */ extrwi r0, r0, 2, 21
|
|
/* 80033CAC 0002FAEC 48 00 00 F0 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033CB0
|
|
lbl_80033CB0:
|
|
/* 80033CB0 0002FAF0 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033CB4 0002FAF4 88 03 05 24 */ lbz r0, 0x524(r3)
|
|
/* 80033CB8 0002FAF8 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80033CBC 0002FAFC 41 82 00 10 */ beq lbl_80033CCC
|
|
/* 80033CC0 0002FB00 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033CC4 0002FB04 54 00 AF BE */ extrwi r0, r0, 2, 19
|
|
/* 80033CC8 0002FB08 48 00 00 D4 */ b lbl_80033D9C
|
|
.global lbl_80033CCC
|
|
lbl_80033CCC:
|
|
/* 80033CCC 0002FB0C 38 00 00 00 */ li r0, 0x0
|
|
/* 80033CD0 0002FB10 48 00 00 CC */ b lbl_80033D9C
|
|
|
|
.global lbl_80033CD4
|
|
lbl_80033CD4:
|
|
/* 80033CD4 0002FB14 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033CD8 0002FB18 88 03 05 25 */ lbz r0, 0x525(r3)
|
|
/* 80033CDC 0002FB1C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80033CE0 0002FB20 41 82 00 10 */ beq lbl_80033CF0
|
|
/* 80033CE4 0002FB24 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033CE8 0002FB28 54 00 AF BE */ extrwi r0, r0, 2, 19
|
|
/* 80033CEC 0002FB2C 48 00 00 B0 */ b lbl_80033D9C
|
|
.global lbl_80033CF0
|
|
lbl_80033CF0:
|
|
/* 80033CF0 0002FB30 38 00 00 00 */ li r0, 0x0
|
|
/* 80033CF4 0002FB34 48 00 00 A8 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033CF8
|
|
lbl_80033CF8:
|
|
/* 80033CF8 0002FB38 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033CFC 0002FB3C 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033D00 0002FB40 54 00 9F BE */ extrwi r0, r0, 2, 17
|
|
/* 80033D04 0002FB44 48 00 00 98 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033D08
|
|
lbl_80033D08:
|
|
/* 80033D08 0002FB48 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033D0C 0002FB4C 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 80033D10 0002FB50 54 00 8F BE */ extrwi r0, r0, 2, 15
|
|
/* 80033D14 0002FB54 48 00 00 88 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033D18
|
|
lbl_80033D18:
|
|
/* 80033D18 0002FB58 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033D1C 0002FB5C 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80033D20 0002FB60 54 00 07 BE */ clrlwi r0, r0, 30
|
|
/* 80033D24 0002FB64 48 00 00 78 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033D28
|
|
lbl_80033D28:
|
|
/* 80033D28 0002FB68 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033D2C 0002FB6C 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80033D30 0002FB70 54 00 F7 BE */ extrwi r0, r0, 2, 28
|
|
/* 80033D34 0002FB74 48 00 00 68 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033D38
|
|
lbl_80033D38:
|
|
/* 80033D38 0002FB78 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033D3C 0002FB7C 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80033D40 0002FB80 54 00 E7 BE */ extrwi r0, r0, 2, 26
|
|
/* 80033D44 0002FB84 48 00 00 58 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033D48
|
|
lbl_80033D48:
|
|
/* 80033D48 0002FB88 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033D4C 0002FB8C 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80033D50 0002FB90 54 00 D7 BE */ extrwi r0, r0, 2, 24
|
|
/* 80033D54 0002FB94 48 00 00 48 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033D58
|
|
lbl_80033D58:
|
|
/* 80033D58 0002FB98 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033D5C 0002FB9C 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80033D60 0002FBA0 54 00 C7 BE */ extrwi r0, r0, 2, 22
|
|
/* 80033D64 0002FBA4 48 00 00 38 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033D68
|
|
lbl_80033D68:
|
|
/* 80033D68 0002FBA8 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033D6C 0002FBAC 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80033D70 0002FBB0 54 00 B7 BE */ extrwi r0, r0, 2, 20
|
|
/* 80033D74 0002FBB4 48 00 00 28 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033D78
|
|
lbl_80033D78:
|
|
/* 80033D78 0002FBB8 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033D7C 0002FBBC 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80033D80 0002FBC0 54 00 A7 BE */ extrwi r0, r0, 2, 18
|
|
/* 80033D84 0002FBC4 48 00 00 18 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033D88
|
|
lbl_80033D88:
|
|
/* 80033D88 0002FBC8 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80033D8C 0002FBCC 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80033D90 0002FBD0 54 00 97 BE */ extrwi r0, r0, 2, 16
|
|
/* 80033D94 0002FBD4 48 00 00 08 */ b lbl_80033D9C
|
|
|
|
.global lbl_80033D98
|
|
lbl_80033D98:
|
|
/* 80033D98 0002FBD8 38 00 00 00 */ li r0, 0x0
|
|
.global lbl_80033D9C
|
|
lbl_80033D9C:
|
|
/* 80033D9C 0002FBDC 90 04 00 00 */ stw r0, 0x0(r4)
|
|
/* 80033DA0 0002FBE0 4E 80 00 20 */ blr
|
|
/* 80033DA4 0002FBE4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80033DA8 0002FBE8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80033DAC 0002FBEC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXClearVtxDesc
|
|
GXClearVtxDesc:
|
|
/* 80033DB0 0002FBF0 80 A2 86 08 */ lwz r5, __GXData@sda21(r2)
|
|
/* 80033DB4 0002FBF4 38 00 00 01 */ li r0, 0x1
|
|
/* 80033DB8 0002FBF8 38 60 00 00 */ li r3, 0x0
|
|
/* 80033DBC 0002FBFC 38 80 00 00 */ li r4, 0x0
|
|
/* 80033DC0 0002FC00 50 03 4D 6C */ rlwimi r3, r0, 9, 21, 22
|
|
/* 80033DC4 0002FC04 90 65 00 14 */ stw r3, 0x14(r5)
|
|
/* 80033DC8 0002FC08 90 85 00 18 */ stw r4, 0x18(r5)
|
|
/* 80033DCC 0002FC0C 98 85 05 24 */ stb r4, 0x524(r5)
|
|
/* 80033DD0 0002FC10 98 85 05 25 */ stb r4, 0x525(r5)
|
|
/* 80033DD4 0002FC14 80 05 05 FC */ lwz r0, 0x5fc(r5)
|
|
/* 80033DD8 0002FC18 60 00 00 08 */ ori r0, r0, 0x8
|
|
/* 80033DDC 0002FC1C 90 05 05 FC */ stw r0, 0x5fc(r5)
|
|
/* 80033DE0 0002FC20 4E 80 00 20 */ blr
|
|
/* 80033DE4 0002FC24 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80033DE8 0002FC28 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80033DEC 0002FC2C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXSetVtxAttrFmt
|
|
GXSetVtxAttrFmt:
|
|
/* 80033DF0 0002FC30 38 04 FF F7 */ addi r0, r4, -0x9
|
|
/* 80033DF4 0002FC34 81 02 86 08 */ lwz r8, __GXData@sda21(r2)
|
|
/* 80033DF8 0002FC38 28 00 00 10 */ cmplwi r0, 0x10
|
|
/* 80033DFC 0002FC3C 54 64 10 3A */ slwi r4, r3, 2
|
|
/* 80033E00 0002FC40 7D 08 22 14 */ add r8, r8, r4
|
|
/* 80033E04 0002FC44 41 81 01 5C */ bgt lbl_80033F60
|
|
/* 80033E08 0002FC48 3C 80 80 43 */ lis r4, "@3383_80430B40"@ha
|
|
/* 80033E0C 0002FC4C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80033E10 0002FC50 38 84 0B 40 */ addi r4, r4, "@3383_80430B40"@l
|
|
/* 80033E14 0002FC54 7C 84 00 2E */ lwzx r4, r4, r0
|
|
/* 80033E18 0002FC58 7C 89 03 A6 */ mtctr r4
|
|
/* 80033E1C 0002FC5C 4E 80 04 20 */ bctr
|
|
|
|
.global lbl_80033E20
|
|
lbl_80033E20:
|
|
/* 80033E20 0002FC60 80 08 00 1C */ lwz r0, 0x1c(r8)
|
|
/* 80033E24 0002FC64 50 A0 07 FE */ rlwimi r0, r5, 0, 31, 31
|
|
/* 80033E28 0002FC68 50 C0 0F 3C */ rlwimi r0, r6, 1, 28, 30
|
|
/* 80033E2C 0002FC6C 50 E0 25 F6 */ rlwimi r0, r7, 4, 23, 27
|
|
/* 80033E30 0002FC70 90 08 00 1C */ stw r0, 0x1c(r8)
|
|
/* 80033E34 0002FC74 48 00 01 2C */ b lbl_80033F60
|
|
|
|
.global lbl_80033E38
|
|
lbl_80033E38:
|
|
/* 80033E38 0002FC78 80 08 00 1C */ lwz r0, 0x1c(r8)
|
|
/* 80033E3C 0002FC7C 2C 05 00 02 */ cmpwi r5, 0x2
|
|
/* 80033E40 0002FC80 50 C0 54 EA */ rlwimi r0, r6, 10, 19, 21
|
|
/* 80033E44 0002FC84 90 08 00 1C */ stw r0, 0x1c(r8)
|
|
/* 80033E48 0002FC88 40 82 00 18 */ bne lbl_80033E60
|
|
/* 80033E4C 0002FC8C 80 08 00 1C */ lwz r0, 0x1c(r8)
|
|
/* 80033E50 0002FC90 60 00 02 00 */ ori r0, r0, 0x200
|
|
/* 80033E54 0002FC94 64 00 80 00 */ oris r0, r0, 0x8000
|
|
/* 80033E58 0002FC98 90 08 00 1C */ stw r0, 0x1c(r8)
|
|
/* 80033E5C 0002FC9C 48 00 01 04 */ b lbl_80033F60
|
|
.global lbl_80033E60
|
|
lbl_80033E60:
|
|
/* 80033E60 0002FCA0 80 08 00 1C */ lwz r0, 0x1c(r8)
|
|
/* 80033E64 0002FCA4 50 A0 4D AC */ rlwimi r0, r5, 9, 22, 22
|
|
/* 80033E68 0002FCA8 54 00 00 7E */ clrlwi r0, r0, 1
|
|
/* 80033E6C 0002FCAC 90 08 00 1C */ stw r0, 0x1c(r8)
|
|
/* 80033E70 0002FCB0 48 00 00 F0 */ b lbl_80033F60
|
|
|
|
.global lbl_80033E74
|
|
lbl_80033E74:
|
|
/* 80033E74 0002FCB4 80 08 00 1C */ lwz r0, 0x1c(r8)
|
|
/* 80033E78 0002FCB8 50 A0 6C A4 */ rlwimi r0, r5, 13, 18, 18
|
|
/* 80033E7C 0002FCBC 50 C0 73 E2 */ rlwimi r0, r6, 14, 15, 17
|
|
/* 80033E80 0002FCC0 90 08 00 1C */ stw r0, 0x1c(r8)
|
|
/* 80033E84 0002FCC4 48 00 00 DC */ b lbl_80033F60
|
|
|
|
.global lbl_80033E88
|
|
lbl_80033E88:
|
|
/* 80033E88 0002FCC8 80 08 00 1C */ lwz r0, 0x1c(r8)
|
|
/* 80033E8C 0002FCCC 50 A0 8B 9C */ rlwimi r0, r5, 17, 14, 14
|
|
/* 80033E90 0002FCD0 50 C0 92 DA */ rlwimi r0, r6, 18, 11, 13
|
|
/* 80033E94 0002FCD4 90 08 00 1C */ stw r0, 0x1c(r8)
|
|
/* 80033E98 0002FCD8 48 00 00 C8 */ b lbl_80033F60
|
|
|
|
.global lbl_80033E9C
|
|
lbl_80033E9C:
|
|
/* 80033E9C 0002FCDC 80 08 00 1C */ lwz r0, 0x1c(r8)
|
|
/* 80033EA0 0002FCE0 50 A0 AA 94 */ rlwimi r0, r5, 21, 10, 10
|
|
/* 80033EA4 0002FCE4 50 C0 B1 D2 */ rlwimi r0, r6, 22, 7, 9
|
|
/* 80033EA8 0002FCE8 50 E0 C8 8C */ rlwimi r0, r7, 25, 2, 6
|
|
/* 80033EAC 0002FCEC 90 08 00 1C */ stw r0, 0x1c(r8)
|
|
/* 80033EB0 0002FCF0 48 00 00 B0 */ b lbl_80033F60
|
|
|
|
.global lbl_80033EB4
|
|
lbl_80033EB4:
|
|
/* 80033EB4 0002FCF4 80 08 00 3C */ lwz r0, 0x3c(r8)
|
|
/* 80033EB8 0002FCF8 50 A0 07 FE */ rlwimi r0, r5, 0, 31, 31
|
|
/* 80033EBC 0002FCFC 50 C0 0F 3C */ rlwimi r0, r6, 1, 28, 30
|
|
/* 80033EC0 0002FD00 50 E0 25 F6 */ rlwimi r0, r7, 4, 23, 27
|
|
/* 80033EC4 0002FD04 90 08 00 3C */ stw r0, 0x3c(r8)
|
|
/* 80033EC8 0002FD08 48 00 00 98 */ b lbl_80033F60
|
|
|
|
.global lbl_80033ECC
|
|
lbl_80033ECC:
|
|
/* 80033ECC 0002FD0C 80 08 00 3C */ lwz r0, 0x3c(r8)
|
|
/* 80033ED0 0002FD10 50 A0 4D AC */ rlwimi r0, r5, 9, 22, 22
|
|
/* 80033ED4 0002FD14 50 C0 54 EA */ rlwimi r0, r6, 10, 19, 21
|
|
/* 80033ED8 0002FD18 50 E0 6B A4 */ rlwimi r0, r7, 13, 14, 18
|
|
/* 80033EDC 0002FD1C 90 08 00 3C */ stw r0, 0x3c(r8)
|
|
/* 80033EE0 0002FD20 48 00 00 80 */ b lbl_80033F60
|
|
|
|
.global lbl_80033EE4
|
|
lbl_80033EE4:
|
|
/* 80033EE4 0002FD24 80 08 00 3C */ lwz r0, 0x3c(r8)
|
|
/* 80033EE8 0002FD28 50 A0 93 5A */ rlwimi r0, r5, 18, 13, 13
|
|
/* 80033EEC 0002FD2C 50 C0 9A 98 */ rlwimi r0, r6, 19, 10, 12
|
|
/* 80033EF0 0002FD30 50 E0 B1 52 */ rlwimi r0, r7, 22, 5, 9
|
|
/* 80033EF4 0002FD34 90 08 00 3C */ stw r0, 0x3c(r8)
|
|
/* 80033EF8 0002FD38 48 00 00 68 */ b lbl_80033F60
|
|
|
|
.global lbl_80033EFC
|
|
lbl_80033EFC:
|
|
/* 80033EFC 0002FD3C 80 08 00 3C */ lwz r0, 0x3c(r8)
|
|
/* 80033F00 0002FD40 50 A0 D9 08 */ rlwimi r0, r5, 27, 4, 4
|
|
/* 80033F04 0002FD44 50 C0 E0 46 */ rlwimi r0, r6, 28, 1, 3
|
|
/* 80033F08 0002FD48 90 08 00 3C */ stw r0, 0x3c(r8)
|
|
/* 80033F0C 0002FD4C 80 08 00 5C */ lwz r0, 0x5c(r8)
|
|
/* 80033F10 0002FD50 50 E0 06 FE */ rlwimi r0, r7, 0, 27, 31
|
|
/* 80033F14 0002FD54 90 08 00 5C */ stw r0, 0x5c(r8)
|
|
/* 80033F18 0002FD58 48 00 00 48 */ b lbl_80033F60
|
|
|
|
.global lbl_80033F1C
|
|
lbl_80033F1C:
|
|
/* 80033F1C 0002FD5C 80 08 00 5C */ lwz r0, 0x5c(r8)
|
|
/* 80033F20 0002FD60 50 A0 2E B4 */ rlwimi r0, r5, 5, 26, 26
|
|
/* 80033F24 0002FD64 50 C0 35 F2 */ rlwimi r0, r6, 6, 23, 25
|
|
/* 80033F28 0002FD68 50 E0 4C AC */ rlwimi r0, r7, 9, 18, 22
|
|
/* 80033F2C 0002FD6C 90 08 00 5C */ stw r0, 0x5c(r8)
|
|
/* 80033F30 0002FD70 48 00 00 30 */ b lbl_80033F60
|
|
|
|
.global lbl_80033F34
|
|
lbl_80033F34:
|
|
/* 80033F34 0002FD74 80 08 00 5C */ lwz r0, 0x5c(r8)
|
|
/* 80033F38 0002FD78 50 A0 74 62 */ rlwimi r0, r5, 14, 17, 17
|
|
/* 80033F3C 0002FD7C 50 C0 7B A0 */ rlwimi r0, r6, 15, 14, 16
|
|
/* 80033F40 0002FD80 50 E0 92 5A */ rlwimi r0, r7, 18, 9, 13
|
|
/* 80033F44 0002FD84 90 08 00 5C */ stw r0, 0x5c(r8)
|
|
/* 80033F48 0002FD88 48 00 00 18 */ b lbl_80033F60
|
|
|
|
.global lbl_80033F4C
|
|
lbl_80033F4C:
|
|
/* 80033F4C 0002FD8C 80 08 00 5C */ lwz r0, 0x5c(r8)
|
|
/* 80033F50 0002FD90 50 A0 BA 10 */ rlwimi r0, r5, 23, 8, 8
|
|
/* 80033F54 0002FD94 50 C0 C1 4E */ rlwimi r0, r6, 24, 5, 7
|
|
/* 80033F58 0002FD98 50 E0 D8 08 */ rlwimi r0, r7, 27, 0, 4
|
|
/* 80033F5C 0002FD9C 90 08 00 5C */ stw r0, 0x5c(r8)
|
|
|
|
.global lbl_80033F60
|
|
lbl_80033F60:
|
|
/* 80033F60 0002FDA0 80 A2 86 08 */ lwz r5, __GXData@sda21(r2)
|
|
/* 80033F64 0002FDA4 54 60 06 3E */ clrlwi r0, r3, 24
|
|
/* 80033F68 0002FDA8 38 60 00 01 */ li r3, 0x1
|
|
/* 80033F6C 0002FDAC 80 85 05 FC */ lwz r4, 0x5fc(r5)
|
|
/* 80033F70 0002FDB0 7C 60 00 30 */ slw r0, r3, r0
|
|
/* 80033F74 0002FDB4 54 00 06 3E */ clrlwi r0, r0, 24
|
|
/* 80033F78 0002FDB8 60 83 00 10 */ ori r3, r4, 0x10
|
|
/* 80033F7C 0002FDBC 90 65 05 FC */ stw r3, 0x5fc(r5)
|
|
/* 80033F80 0002FDC0 88 65 05 FB */ lbz r3, 0x5fb(r5)
|
|
/* 80033F84 0002FDC4 7C 60 03 78 */ or r0, r3, r0
|
|
/* 80033F88 0002FDC8 98 05 05 FB */ stb r0, 0x5fb(r5)
|
|
/* 80033F8C 0002FDCC 4E 80 00 20 */ blr
|
|
.global GXSetVtxAttrFmtv
|
|
GXSetVtxAttrFmtv:
|
|
/* 80033F90 0002FDD0 80 C2 86 08 */ lwz r6, __GXData@sda21(r2)
|
|
/* 80033F94 0002FDD4 54 60 10 3A */ slwi r0, r3, 2
|
|
/* 80033F98 0002FDD8 3C A0 80 43 */ lis r5, "@3413"@ha
|
|
/* 80033F9C 0002FDDC 7D 06 02 14 */ add r8, r6, r0
|
|
/* 80033FA0 0002FDE0 48 00 01 7C */ b lbl_8003411C
|
|
/* 80033FA4 0002FDE4 60 00 00 00 */ nop
|
|
.global lbl_80033FA8
|
|
lbl_80033FA8:
|
|
/* 80033FA8 0002FDE8 80 C4 00 00 */ lwz r6, 0x0(r4)
|
|
/* 80033FAC 0002FDEC 88 E4 00 0C */ lbz r7, 0xc(r4)
|
|
/* 80033FB0 0002FDF0 38 06 FF F7 */ addi r0, r6, -0x9
|
|
/* 80033FB4 0002FDF4 81 44 00 08 */ lwz r10, 0x8(r4)
|
|
/* 80033FB8 0002FDF8 28 00 00 10 */ cmplwi r0, 0x10
|
|
/* 80033FBC 0002FDFC 81 24 00 04 */ lwz r9, 0x4(r4)
|
|
/* 80033FC0 0002FE00 41 81 01 58 */ bgt lbl_80034118
|
|
/* 80033FC4 0002FE04 38 C5 0B 84 */ addi r6, r5, "@3413"@l
|
|
/* 80033FC8 0002FE08 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80033FCC 0002FE0C 7C C6 00 2E */ lwzx r6, r6, r0
|
|
/* 80033FD0 0002FE10 7C C9 03 A6 */ mtctr r6
|
|
/* 80033FD4 0002FE14 4E 80 04 20 */ bctr
|
|
|
|
.global lbl_80033FD8
|
|
lbl_80033FD8:
|
|
/* 80033FD8 0002FE18 80 08 00 1C */ lwz r0, 0x1c(r8)
|
|
/* 80033FDC 0002FE1C 51 20 07 FE */ rlwimi r0, r9, 0, 31, 31
|
|
/* 80033FE0 0002FE20 51 40 0F 3C */ rlwimi r0, r10, 1, 28, 30
|
|
/* 80033FE4 0002FE24 50 E0 25 F6 */ rlwimi r0, r7, 4, 23, 27
|
|
/* 80033FE8 0002FE28 90 08 00 1C */ stw r0, 0x1c(r8)
|
|
/* 80033FEC 0002FE2C 48 00 01 2C */ b lbl_80034118
|
|
|
|
.global lbl_80033FF0
|
|
lbl_80033FF0:
|
|
/* 80033FF0 0002FE30 80 08 00 1C */ lwz r0, 0x1c(r8)
|
|
/* 80033FF4 0002FE34 2C 09 00 02 */ cmpwi r9, 0x2
|
|
/* 80033FF8 0002FE38 51 40 54 EA */ rlwimi r0, r10, 10, 19, 21
|
|
/* 80033FFC 0002FE3C 90 08 00 1C */ stw r0, 0x1c(r8)
|
|
/* 80034000 0002FE40 40 82 00 18 */ bne lbl_80034018
|
|
/* 80034004 0002FE44 80 08 00 1C */ lwz r0, 0x1c(r8)
|
|
/* 80034008 0002FE48 60 00 02 00 */ ori r0, r0, 0x200
|
|
/* 8003400C 0002FE4C 64 00 80 00 */ oris r0, r0, 0x8000
|
|
/* 80034010 0002FE50 90 08 00 1C */ stw r0, 0x1c(r8)
|
|
/* 80034014 0002FE54 48 00 01 04 */ b lbl_80034118
|
|
.global lbl_80034018
|
|
lbl_80034018:
|
|
/* 80034018 0002FE58 80 08 00 1C */ lwz r0, 0x1c(r8)
|
|
/* 8003401C 0002FE5C 51 20 4D AC */ rlwimi r0, r9, 9, 22, 22
|
|
/* 80034020 0002FE60 54 00 00 7E */ clrlwi r0, r0, 1
|
|
/* 80034024 0002FE64 90 08 00 1C */ stw r0, 0x1c(r8)
|
|
/* 80034028 0002FE68 48 00 00 F0 */ b lbl_80034118
|
|
|
|
.global lbl_8003402C
|
|
lbl_8003402C:
|
|
/* 8003402C 0002FE6C 80 08 00 1C */ lwz r0, 0x1c(r8)
|
|
/* 80034030 0002FE70 51 20 6C A4 */ rlwimi r0, r9, 13, 18, 18
|
|
/* 80034034 0002FE74 51 40 73 E2 */ rlwimi r0, r10, 14, 15, 17
|
|
/* 80034038 0002FE78 90 08 00 1C */ stw r0, 0x1c(r8)
|
|
/* 8003403C 0002FE7C 48 00 00 DC */ b lbl_80034118
|
|
|
|
.global lbl_80034040
|
|
lbl_80034040:
|
|
/* 80034040 0002FE80 80 08 00 1C */ lwz r0, 0x1c(r8)
|
|
/* 80034044 0002FE84 51 20 8B 9C */ rlwimi r0, r9, 17, 14, 14
|
|
/* 80034048 0002FE88 51 40 92 DA */ rlwimi r0, r10, 18, 11, 13
|
|
/* 8003404C 0002FE8C 90 08 00 1C */ stw r0, 0x1c(r8)
|
|
/* 80034050 0002FE90 48 00 00 C8 */ b lbl_80034118
|
|
|
|
.global lbl_80034054
|
|
lbl_80034054:
|
|
/* 80034054 0002FE94 80 08 00 1C */ lwz r0, 0x1c(r8)
|
|
/* 80034058 0002FE98 51 20 AA 94 */ rlwimi r0, r9, 21, 10, 10
|
|
/* 8003405C 0002FE9C 51 40 B1 D2 */ rlwimi r0, r10, 22, 7, 9
|
|
/* 80034060 0002FEA0 50 E0 C8 8C */ rlwimi r0, r7, 25, 2, 6
|
|
/* 80034064 0002FEA4 90 08 00 1C */ stw r0, 0x1c(r8)
|
|
/* 80034068 0002FEA8 48 00 00 B0 */ b lbl_80034118
|
|
|
|
.global lbl_8003406C
|
|
lbl_8003406C:
|
|
/* 8003406C 0002FEAC 80 08 00 3C */ lwz r0, 0x3c(r8)
|
|
/* 80034070 0002FEB0 51 20 07 FE */ rlwimi r0, r9, 0, 31, 31
|
|
/* 80034074 0002FEB4 51 40 0F 3C */ rlwimi r0, r10, 1, 28, 30
|
|
/* 80034078 0002FEB8 50 E0 25 F6 */ rlwimi r0, r7, 4, 23, 27
|
|
/* 8003407C 0002FEBC 90 08 00 3C */ stw r0, 0x3c(r8)
|
|
/* 80034080 0002FEC0 48 00 00 98 */ b lbl_80034118
|
|
|
|
.global lbl_80034084
|
|
lbl_80034084:
|
|
/* 80034084 0002FEC4 80 08 00 3C */ lwz r0, 0x3c(r8)
|
|
/* 80034088 0002FEC8 51 20 4D AC */ rlwimi r0, r9, 9, 22, 22
|
|
/* 8003408C 0002FECC 51 40 54 EA */ rlwimi r0, r10, 10, 19, 21
|
|
/* 80034090 0002FED0 50 E0 6B A4 */ rlwimi r0, r7, 13, 14, 18
|
|
/* 80034094 0002FED4 90 08 00 3C */ stw r0, 0x3c(r8)
|
|
/* 80034098 0002FED8 48 00 00 80 */ b lbl_80034118
|
|
|
|
.global lbl_8003409C
|
|
lbl_8003409C:
|
|
/* 8003409C 0002FEDC 80 08 00 3C */ lwz r0, 0x3c(r8)
|
|
/* 800340A0 0002FEE0 51 20 93 5A */ rlwimi r0, r9, 18, 13, 13
|
|
/* 800340A4 0002FEE4 51 40 9A 98 */ rlwimi r0, r10, 19, 10, 12
|
|
/* 800340A8 0002FEE8 50 E0 B1 52 */ rlwimi r0, r7, 22, 5, 9
|
|
/* 800340AC 0002FEEC 90 08 00 3C */ stw r0, 0x3c(r8)
|
|
/* 800340B0 0002FEF0 48 00 00 68 */ b lbl_80034118
|
|
|
|
.global lbl_800340B4
|
|
lbl_800340B4:
|
|
/* 800340B4 0002FEF4 80 08 00 3C */ lwz r0, 0x3c(r8)
|
|
/* 800340B8 0002FEF8 51 20 D9 08 */ rlwimi r0, r9, 27, 4, 4
|
|
/* 800340BC 0002FEFC 51 40 E0 46 */ rlwimi r0, r10, 28, 1, 3
|
|
/* 800340C0 0002FF00 90 08 00 3C */ stw r0, 0x3c(r8)
|
|
/* 800340C4 0002FF04 80 08 00 5C */ lwz r0, 0x5c(r8)
|
|
/* 800340C8 0002FF08 50 E0 06 FE */ rlwimi r0, r7, 0, 27, 31
|
|
/* 800340CC 0002FF0C 90 08 00 5C */ stw r0, 0x5c(r8)
|
|
/* 800340D0 0002FF10 48 00 00 48 */ b lbl_80034118
|
|
|
|
.global lbl_800340D4
|
|
lbl_800340D4:
|
|
/* 800340D4 0002FF14 80 08 00 5C */ lwz r0, 0x5c(r8)
|
|
/* 800340D8 0002FF18 51 20 2E B4 */ rlwimi r0, r9, 5, 26, 26
|
|
/* 800340DC 0002FF1C 51 40 35 F2 */ rlwimi r0, r10, 6, 23, 25
|
|
/* 800340E0 0002FF20 50 E0 4C AC */ rlwimi r0, r7, 9, 18, 22
|
|
/* 800340E4 0002FF24 90 08 00 5C */ stw r0, 0x5c(r8)
|
|
/* 800340E8 0002FF28 48 00 00 30 */ b lbl_80034118
|
|
|
|
.global lbl_800340EC
|
|
lbl_800340EC:
|
|
/* 800340EC 0002FF2C 80 08 00 5C */ lwz r0, 0x5c(r8)
|
|
/* 800340F0 0002FF30 51 20 74 62 */ rlwimi r0, r9, 14, 17, 17
|
|
/* 800340F4 0002FF34 51 40 7B A0 */ rlwimi r0, r10, 15, 14, 16
|
|
/* 800340F8 0002FF38 50 E0 92 5A */ rlwimi r0, r7, 18, 9, 13
|
|
/* 800340FC 0002FF3C 90 08 00 5C */ stw r0, 0x5c(r8)
|
|
/* 80034100 0002FF40 48 00 00 18 */ b lbl_80034118
|
|
|
|
.global lbl_80034104
|
|
lbl_80034104:
|
|
/* 80034104 0002FF44 80 08 00 5C */ lwz r0, 0x5c(r8)
|
|
/* 80034108 0002FF48 51 20 BA 10 */ rlwimi r0, r9, 23, 8, 8
|
|
/* 8003410C 0002FF4C 51 40 C1 4E */ rlwimi r0, r10, 24, 5, 7
|
|
/* 80034110 0002FF50 50 E0 D8 08 */ rlwimi r0, r7, 27, 0, 4
|
|
/* 80034114 0002FF54 90 08 00 5C */ stw r0, 0x5c(r8)
|
|
|
|
.global lbl_80034118
|
|
lbl_80034118:
|
|
/* 80034118 0002FF58 38 84 00 10 */ addi r4, r4, 0x10
|
|
.global lbl_8003411C
|
|
lbl_8003411C:
|
|
/* 8003411C 0002FF5C 80 04 00 00 */ lwz r0, 0x0(r4)
|
|
/* 80034120 0002FF60 2C 00 00 FF */ cmpwi r0, 0xff
|
|
/* 80034124 0002FF64 40 82 FE 84 */ bne lbl_80033FA8
|
|
/* 80034128 0002FF68 80 A2 86 08 */ lwz r5, __GXData@sda21(r2)
|
|
/* 8003412C 0002FF6C 54 60 06 3E */ clrlwi r0, r3, 24
|
|
/* 80034130 0002FF70 38 60 00 01 */ li r3, 0x1
|
|
/* 80034134 0002FF74 80 85 05 FC */ lwz r4, 0x5fc(r5)
|
|
/* 80034138 0002FF78 7C 60 00 30 */ slw r0, r3, r0
|
|
/* 8003413C 0002FF7C 54 00 06 3E */ clrlwi r0, r0, 24
|
|
/* 80034140 0002FF80 60 83 00 10 */ ori r3, r4, 0x10
|
|
/* 80034144 0002FF84 90 65 05 FC */ stw r3, 0x5fc(r5)
|
|
/* 80034148 0002FF88 88 65 05 FB */ lbz r3, 0x5fb(r5)
|
|
/* 8003414C 0002FF8C 7C 60 03 78 */ or r0, r3, r0
|
|
/* 80034150 0002FF90 98 05 05 FB */ stb r0, 0x5fb(r5)
|
|
/* 80034154 0002FF94 4E 80 00 20 */ blr
|
|
/* 80034158 0002FF98 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8003415C 0002FF9C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __GXSetVAT
|
|
__GXSetVAT:
|
|
/* 80034160 0002FFA0 81 02 86 08 */ lwz r8, __GXData@sda21(r2)
|
|
/* 80034164 0002FFA4 39 20 00 00 */ li r9, 0x0
|
|
/* 80034168 0002FFA8 38 C0 00 08 */ li r6, 0x8
|
|
/* 8003416C 0002FFAC 3C A0 CC 01 */ lis r5, 0xCC008000@ha
|
|
/* 80034170 0002FFB0 89 48 05 FB */ lbz r10, 0x5fb(r8)
|
|
/* 80034174 0002FFB4 7D 07 43 78 */ mr r7, r8
|
|
.global lbl_80034178
|
|
lbl_80034178:
|
|
/* 80034178 0002FFB8 55 40 07 FF */ clrlwi. r0, r10, 31
|
|
/* 8003417C 0002FFBC 41 82 00 40 */ beq lbl_800341BC
|
|
/* 80034180 0002FFC0 98 C5 80 00 */ stb r6, 0xCC008000@l(r5)
|
|
/* 80034184 0002FFC4 61 24 00 70 */ ori r4, r9, 0x70
|
|
/* 80034188 0002FFC8 61 23 00 80 */ ori r3, r9, 0x80
|
|
/* 8003418C 0002FFCC 61 20 00 90 */ ori r0, r9, 0x90
|
|
/* 80034190 0002FFD0 98 85 80 00 */ stb r4, -0x8000(r5)
|
|
/* 80034194 0002FFD4 80 87 00 1C */ lwz r4, 0x1c(r7)
|
|
/* 80034198 0002FFD8 90 85 80 00 */ stw r4, -0x8000(r5)
|
|
/* 8003419C 0002FFDC 98 C5 80 00 */ stb r6, -0x8000(r5)
|
|
/* 800341A0 0002FFE0 98 65 80 00 */ stb r3, -0x8000(r5)
|
|
/* 800341A4 0002FFE4 80 67 00 3C */ lwz r3, 0x3c(r7)
|
|
/* 800341A8 0002FFE8 90 65 80 00 */ stw r3, -0x8000(r5)
|
|
/* 800341AC 0002FFEC 98 C5 80 00 */ stb r6, -0x8000(r5)
|
|
/* 800341B0 0002FFF0 98 05 80 00 */ stb r0, -0x8000(r5)
|
|
/* 800341B4 0002FFF4 80 07 00 5C */ lwz r0, 0x5c(r7)
|
|
/* 800341B8 0002FFF8 90 05 80 00 */ stw r0, -0x8000(r5)
|
|
.global lbl_800341BC
|
|
lbl_800341BC:
|
|
/* 800341BC 0002FFFC 55 4A F8 7F */ srwi. r10, r10, 1
|
|
/* 800341C0 00030000 39 29 00 01 */ addi r9, r9, 0x1
|
|
/* 800341C4 00030004 38 E7 00 04 */ addi r7, r7, 0x4
|
|
/* 800341C8 00030008 40 82 FF B0 */ bne lbl_80034178
|
|
/* 800341CC 0003000C 3C 60 CC 01 */ lis r3, 0xCC008000@ha
|
|
/* 800341D0 00030010 38 00 00 00 */ li r0, 0x0
|
|
/* 800341D4 00030014 98 03 80 00 */ stb r0, 0xCC008000@l(r3)
|
|
/* 800341D8 00030018 98 08 05 FB */ stb r0, 0x5fb(r8)
|
|
/* 800341DC 0003001C 4E 80 00 20 */ blr
|
|
.global GXGetVtxAttrFmt
|
|
GXGetVtxAttrFmt:
|
|
/* 800341E0 00030020 38 04 FF F7 */ addi r0, r4, -0x9
|
|
/* 800341E4 00030024 80 82 86 08 */ lwz r4, __GXData@sda21(r2)
|
|
/* 800341E8 00030028 28 00 00 10 */ cmplwi r0, 0x10
|
|
/* 800341EC 0003002C 54 63 10 3A */ slwi r3, r3, 2
|
|
/* 800341F0 00030030 7C 64 1A 14 */ add r3, r4, r3
|
|
/* 800341F4 00030034 41 81 02 30 */ bgt lbl_80034424
|
|
/* 800341F8 00030038 3C 80 80 43 */ lis r4, "@3456"@ha
|
|
/* 800341FC 0003003C 54 00 10 3A */ slwi r0, r0, 2
|
|
/* 80034200 00030040 38 84 0B C8 */ addi r4, r4, "@3456"@l
|
|
/* 80034204 00030044 7C 84 00 2E */ lwzx r4, r4, r0
|
|
/* 80034208 00030048 7C 89 03 A6 */ mtctr r4
|
|
/* 8003420C 0003004C 4E 80 04 20 */ bctr
|
|
|
|
.global lbl_80034210
|
|
lbl_80034210:
|
|
/* 80034210 00030050 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 80034214 00030054 54 00 07 FE */ clrlwi r0, r0, 31
|
|
/* 80034218 00030058 90 05 00 00 */ stw r0, 0x0(r5)
|
|
/* 8003421C 0003005C 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 80034220 00030060 54 00 FF 7E */ extrwi r0, r0, 3, 28
|
|
/* 80034224 00030064 90 06 00 00 */ stw r0, 0x0(r6)
|
|
/* 80034228 00030068 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 8003422C 0003006C 54 00 E6 FE */ extrwi r0, r0, 5, 23
|
|
/* 80034230 00030070 98 07 00 00 */ stb r0, 0x0(r7)
|
|
/* 80034234 00030074 4E 80 00 20 */ blr
|
|
|
|
.global lbl_80034238
|
|
lbl_80034238:
|
|
/* 80034238 00030078 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 8003423C 0003007C 54 00 BF FE */ extrwi r0, r0, 1, 22
|
|
/* 80034240 00030080 90 05 00 00 */ stw r0, 0x0(r5)
|
|
/* 80034244 00030084 2C 00 00 01 */ cmpwi r0, 0x1
|
|
/* 80034248 00030088 40 82 00 18 */ bne lbl_80034260
|
|
/* 8003424C 0003008C 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 80034250 00030090 54 00 0F FF */ srwi. r0, r0, 31
|
|
/* 80034254 00030094 41 82 00 0C */ beq lbl_80034260
|
|
/* 80034258 00030098 38 00 00 02 */ li r0, 0x2
|
|
/* 8003425C 0003009C 90 05 00 00 */ stw r0, 0x0(r5)
|
|
.global lbl_80034260
|
|
lbl_80034260:
|
|
/* 80034260 000300A0 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 80034264 000300A4 54 00 B7 7E */ extrwi r0, r0, 3, 19
|
|
/* 80034268 000300A8 90 06 00 00 */ stw r0, 0x0(r6)
|
|
/* 8003426C 000300AC 2C 00 00 01 */ cmpwi r0, 0x1
|
|
/* 80034270 000300B0 41 82 00 10 */ beq lbl_80034280
|
|
/* 80034274 000300B4 2C 00 00 03 */ cmpwi r0, 0x3
|
|
/* 80034278 000300B8 41 82 00 10 */ beq lbl_80034288
|
|
/* 8003427C 000300BC 48 00 00 14 */ b lbl_80034290
|
|
.global lbl_80034280
|
|
lbl_80034280:
|
|
/* 80034280 000300C0 38 00 00 06 */ li r0, 0x6
|
|
/* 80034284 000300C4 48 00 00 10 */ b lbl_80034294
|
|
.global lbl_80034288
|
|
lbl_80034288:
|
|
/* 80034288 000300C8 38 00 00 0E */ li r0, 0xe
|
|
/* 8003428C 000300CC 48 00 00 08 */ b lbl_80034294
|
|
.global lbl_80034290
|
|
lbl_80034290:
|
|
/* 80034290 000300D0 38 00 00 00 */ li r0, 0x0
|
|
.global lbl_80034294
|
|
lbl_80034294:
|
|
/* 80034294 000300D4 98 07 00 00 */ stb r0, 0x0(r7)
|
|
/* 80034298 000300D8 4E 80 00 20 */ blr
|
|
|
|
.global lbl_8003429C
|
|
lbl_8003429C:
|
|
/* 8003429C 000300DC 80 83 00 1C */ lwz r4, 0x1c(r3)
|
|
/* 800342A0 000300E0 38 00 00 00 */ li r0, 0x0
|
|
/* 800342A4 000300E4 54 84 9F FE */ extrwi r4, r4, 1, 18
|
|
/* 800342A8 000300E8 90 85 00 00 */ stw r4, 0x0(r5)
|
|
/* 800342AC 000300EC 80 63 00 1C */ lwz r3, 0x1c(r3)
|
|
/* 800342B0 000300F0 54 63 97 7E */ extrwi r3, r3, 3, 15
|
|
/* 800342B4 000300F4 90 66 00 00 */ stw r3, 0x0(r6)
|
|
/* 800342B8 000300F8 98 07 00 00 */ stb r0, 0x0(r7)
|
|
/* 800342BC 000300FC 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800342C0
|
|
lbl_800342C0:
|
|
/* 800342C0 00030100 80 83 00 1C */ lwz r4, 0x1c(r3)
|
|
/* 800342C4 00030104 38 00 00 00 */ li r0, 0x0
|
|
/* 800342C8 00030108 54 84 7F FE */ extrwi r4, r4, 1, 14
|
|
/* 800342CC 0003010C 90 85 00 00 */ stw r4, 0x0(r5)
|
|
/* 800342D0 00030110 80 63 00 1C */ lwz r3, 0x1c(r3)
|
|
/* 800342D4 00030114 54 63 77 7E */ extrwi r3, r3, 3, 11
|
|
/* 800342D8 00030118 90 66 00 00 */ stw r3, 0x0(r6)
|
|
/* 800342DC 0003011C 98 07 00 00 */ stb r0, 0x0(r7)
|
|
/* 800342E0 00030120 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800342E4
|
|
lbl_800342E4:
|
|
/* 800342E4 00030124 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 800342E8 00030128 54 00 5F FE */ extrwi r0, r0, 1, 10
|
|
/* 800342EC 0003012C 90 05 00 00 */ stw r0, 0x0(r5)
|
|
/* 800342F0 00030130 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 800342F4 00030134 54 00 57 7E */ extrwi r0, r0, 3, 7
|
|
/* 800342F8 00030138 90 06 00 00 */ stw r0, 0x0(r6)
|
|
/* 800342FC 0003013C 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 80034300 00030140 54 00 3E FE */ extrwi r0, r0, 5, 2
|
|
/* 80034304 00030144 98 07 00 00 */ stb r0, 0x0(r7)
|
|
/* 80034308 00030148 4E 80 00 20 */ blr
|
|
|
|
.global lbl_8003430C
|
|
lbl_8003430C:
|
|
/* 8003430C 0003014C 80 03 00 3C */ lwz r0, 0x3c(r3)
|
|
/* 80034310 00030150 54 00 07 FE */ clrlwi r0, r0, 31
|
|
/* 80034314 00030154 90 05 00 00 */ stw r0, 0x0(r5)
|
|
/* 80034318 00030158 80 03 00 3C */ lwz r0, 0x3c(r3)
|
|
/* 8003431C 0003015C 54 00 FF 7E */ extrwi r0, r0, 3, 28
|
|
/* 80034320 00030160 90 06 00 00 */ stw r0, 0x0(r6)
|
|
/* 80034324 00030164 80 03 00 3C */ lwz r0, 0x3c(r3)
|
|
/* 80034328 00030168 54 00 E6 FE */ extrwi r0, r0, 5, 23
|
|
/* 8003432C 0003016C 98 07 00 00 */ stb r0, 0x0(r7)
|
|
/* 80034330 00030170 4E 80 00 20 */ blr
|
|
|
|
.global lbl_80034334
|
|
lbl_80034334:
|
|
/* 80034334 00030174 80 03 00 3C */ lwz r0, 0x3c(r3)
|
|
/* 80034338 00030178 54 00 BF FE */ extrwi r0, r0, 1, 22
|
|
/* 8003433C 0003017C 90 05 00 00 */ stw r0, 0x0(r5)
|
|
/* 80034340 00030180 80 03 00 3C */ lwz r0, 0x3c(r3)
|
|
/* 80034344 00030184 54 00 B7 7E */ extrwi r0, r0, 3, 19
|
|
/* 80034348 00030188 90 06 00 00 */ stw r0, 0x0(r6)
|
|
/* 8003434C 0003018C 80 03 00 3C */ lwz r0, 0x3c(r3)
|
|
/* 80034350 00030190 54 00 9E FE */ extrwi r0, r0, 5, 14
|
|
/* 80034354 00030194 98 07 00 00 */ stb r0, 0x0(r7)
|
|
/* 80034358 00030198 4E 80 00 20 */ blr
|
|
|
|
.global lbl_8003435C
|
|
lbl_8003435C:
|
|
/* 8003435C 0003019C 80 03 00 3C */ lwz r0, 0x3c(r3)
|
|
/* 80034360 000301A0 54 00 77 FE */ extrwi r0, r0, 1, 13
|
|
/* 80034364 000301A4 90 05 00 00 */ stw r0, 0x0(r5)
|
|
/* 80034368 000301A8 80 03 00 3C */ lwz r0, 0x3c(r3)
|
|
/* 8003436C 000301AC 54 00 6F 7E */ extrwi r0, r0, 3, 10
|
|
/* 80034370 000301B0 90 06 00 00 */ stw r0, 0x0(r6)
|
|
/* 80034374 000301B4 80 03 00 3C */ lwz r0, 0x3c(r3)
|
|
/* 80034378 000301B8 54 00 56 FE */ extrwi r0, r0, 5, 5
|
|
/* 8003437C 000301BC 98 07 00 00 */ stb r0, 0x0(r7)
|
|
/* 80034380 000301C0 4E 80 00 20 */ blr
|
|
|
|
.global lbl_80034384
|
|
lbl_80034384:
|
|
/* 80034384 000301C4 80 03 00 3C */ lwz r0, 0x3c(r3)
|
|
/* 80034388 000301C8 54 00 2F FE */ extrwi r0, r0, 1, 4
|
|
/* 8003438C 000301CC 90 05 00 00 */ stw r0, 0x0(r5)
|
|
/* 80034390 000301D0 80 03 00 3C */ lwz r0, 0x3c(r3)
|
|
/* 80034394 000301D4 54 00 27 7E */ extrwi r0, r0, 3, 1
|
|
/* 80034398 000301D8 90 06 00 00 */ stw r0, 0x0(r6)
|
|
/* 8003439C 000301DC 80 03 00 5C */ lwz r0, 0x5c(r3)
|
|
/* 800343A0 000301E0 54 00 06 FE */ clrlwi r0, r0, 27
|
|
/* 800343A4 000301E4 98 07 00 00 */ stb r0, 0x0(r7)
|
|
/* 800343A8 000301E8 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800343AC
|
|
lbl_800343AC:
|
|
/* 800343AC 000301EC 80 03 00 5C */ lwz r0, 0x5c(r3)
|
|
/* 800343B0 000301F0 54 00 DF FE */ extrwi r0, r0, 1, 26
|
|
/* 800343B4 000301F4 90 05 00 00 */ stw r0, 0x0(r5)
|
|
/* 800343B8 000301F8 80 03 00 5C */ lwz r0, 0x5c(r3)
|
|
/* 800343BC 000301FC 54 00 D7 7E */ extrwi r0, r0, 3, 23
|
|
/* 800343C0 00030200 90 06 00 00 */ stw r0, 0x0(r6)
|
|
/* 800343C4 00030204 80 03 00 5C */ lwz r0, 0x5c(r3)
|
|
/* 800343C8 00030208 54 00 BE FE */ extrwi r0, r0, 5, 18
|
|
/* 800343CC 0003020C 98 07 00 00 */ stb r0, 0x0(r7)
|
|
/* 800343D0 00030210 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800343D4
|
|
lbl_800343D4:
|
|
/* 800343D4 00030214 80 03 00 5C */ lwz r0, 0x5c(r3)
|
|
/* 800343D8 00030218 54 00 97 FE */ extrwi r0, r0, 1, 17
|
|
/* 800343DC 0003021C 90 05 00 00 */ stw r0, 0x0(r5)
|
|
/* 800343E0 00030220 80 03 00 5C */ lwz r0, 0x5c(r3)
|
|
/* 800343E4 00030224 54 00 8F 7E */ extrwi r0, r0, 3, 14
|
|
/* 800343E8 00030228 90 06 00 00 */ stw r0, 0x0(r6)
|
|
/* 800343EC 0003022C 80 03 00 5C */ lwz r0, 0x5c(r3)
|
|
/* 800343F0 00030230 54 00 76 FE */ extrwi r0, r0, 5, 9
|
|
/* 800343F4 00030234 98 07 00 00 */ stb r0, 0x0(r7)
|
|
/* 800343F8 00030238 4E 80 00 20 */ blr
|
|
|
|
.global lbl_800343FC
|
|
lbl_800343FC:
|
|
/* 800343FC 0003023C 80 03 00 5C */ lwz r0, 0x5c(r3)
|
|
/* 80034400 00030240 54 00 4F FE */ extrwi r0, r0, 1, 8
|
|
/* 80034404 00030244 90 05 00 00 */ stw r0, 0x0(r5)
|
|
/* 80034408 00030248 80 03 00 5C */ lwz r0, 0x5c(r3)
|
|
/* 8003440C 0003024C 54 00 47 7E */ extrwi r0, r0, 3, 5
|
|
/* 80034410 00030250 90 06 00 00 */ stw r0, 0x0(r6)
|
|
/* 80034414 00030254 80 03 00 5C */ lwz r0, 0x5c(r3)
|
|
/* 80034418 00030258 54 00 2E FE */ srwi r0, r0, 27
|
|
/* 8003441C 0003025C 98 07 00 00 */ stb r0, 0x0(r7)
|
|
/* 80034420 00030260 4E 80 00 20 */ blr
|
|
|
|
.global lbl_80034424
|
|
lbl_80034424:
|
|
/* 80034424 00030264 38 00 00 01 */ li r0, 0x1
|
|
/* 80034428 00030268 90 05 00 00 */ stw r0, 0x0(r5)
|
|
/* 8003442C 0003026C 38 00 00 00 */ li r0, 0x0
|
|
/* 80034430 00030270 90 06 00 00 */ stw r0, 0x0(r6)
|
|
/* 80034434 00030274 98 07 00 00 */ stb r0, 0x0(r7)
|
|
/* 80034438 00030278 4E 80 00 20 */ blr
|
|
/* 8003443C 0003027C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXSetArray
|
|
GXSetArray:
|
|
/* 80034440 00030280 2C 03 00 19 */ cmpwi r3, 0x19
|
|
/* 80034444 00030284 40 82 00 08 */ bne lbl_8003444C
|
|
/* 80034448 00030288 38 60 00 0A */ li r3, 0xa
|
|
.global lbl_8003444C
|
|
lbl_8003444C:
|
|
/* 8003444C 0003028C 3C C0 CC 01 */ lis r6, 0xCC008000@ha
|
|
/* 80034450 00030290 39 03 FF F7 */ addi r8, r3, -0x9
|
|
/* 80034454 00030294 38 E0 00 08 */ li r7, 0x8
|
|
/* 80034458 00030298 98 E6 80 00 */ stb r7, 0xCC008000@l(r6)
|
|
/* 8003445C 0003029C 61 00 00 A0 */ ori r0, r8, 0xa0
|
|
/* 80034460 000302A0 54 83 00 BE */ clrlwi r3, r4, 2
|
|
/* 80034464 000302A4 98 06 80 00 */ stb r0, -0x8000(r6)
|
|
/* 80034468 000302A8 61 00 00 B0 */ ori r0, r8, 0xb0
|
|
/* 8003446C 000302AC 90 66 80 00 */ stw r3, -0x8000(r6)
|
|
/* 80034470 000302B0 98 E6 80 00 */ stb r7, -0x8000(r6)
|
|
/* 80034474 000302B4 98 06 80 00 */ stb r0, -0x8000(r6)
|
|
/* 80034478 000302B8 90 A6 80 00 */ stw r5, -0x8000(r6)
|
|
/* 8003447C 000302BC 4E 80 00 20 */ blr
|
|
.global GXInvalidateVtxCache
|
|
GXInvalidateVtxCache:
|
|
/* 80034480 000302C0 3C 60 CC 01 */ lis r3, 0xCC008000@ha
|
|
/* 80034484 000302C4 38 00 00 48 */ li r0, 0x48
|
|
/* 80034488 000302C8 98 03 80 00 */ stb r0, 0xCC008000@l(r3)
|
|
/* 8003448C 000302CC 4E 80 00 20 */ blr
|
|
.global GXSetTexCoordGen2
|
|
GXSetTexCoordGen2:
|
|
/* 80034490 000302D0 28 05 00 14 */ cmplwi r5, 0x14
|
|
/* 80034494 000302D4 39 40 00 00 */ li r10, 0x0
|
|
/* 80034498 000302D8 39 80 00 00 */ li r12, 0x0
|
|
/* 8003449C 000302DC 39 60 00 05 */ li r11, 0x5
|
|
/* 800344A0 000302E0 41 81 00 98 */ bgt lbl_80034538
|
|
/* 800344A4 000302E4 3D 20 80 43 */ lis r9, "@3589"@ha
|
|
/* 800344A8 000302E8 54 A0 10 3A */ slwi r0, r5, 2
|
|
/* 800344AC 000302EC 39 29 0C 0C */ addi r9, r9, "@3589"@l
|
|
/* 800344B0 000302F0 7D 29 00 2E */ lwzx r9, r9, r0
|
|
/* 800344B4 000302F4 7D 29 03 A6 */ mtctr r9
|
|
/* 800344B8 000302F8 4E 80 04 20 */ bctr
|
|
|
|
.global lbl_800344BC
|
|
lbl_800344BC:
|
|
/* 800344BC 000302FC 39 60 00 00 */ li r11, 0x0
|
|
/* 800344C0 00030300 39 80 00 01 */ li r12, 0x1
|
|
/* 800344C4 00030304 48 00 00 74 */ b lbl_80034538
|
|
|
|
.global lbl_800344C8
|
|
lbl_800344C8:
|
|
/* 800344C8 00030308 39 60 00 01 */ li r11, 0x1
|
|
/* 800344CC 0003030C 39 80 00 01 */ li r12, 0x1
|
|
/* 800344D0 00030310 48 00 00 68 */ b lbl_80034538
|
|
|
|
.global lbl_800344D4
|
|
lbl_800344D4:
|
|
/* 800344D4 00030314 39 60 00 03 */ li r11, 0x3
|
|
/* 800344D8 00030318 39 80 00 01 */ li r12, 0x1
|
|
/* 800344DC 0003031C 48 00 00 5C */ b lbl_80034538
|
|
|
|
.global lbl_800344E0
|
|
lbl_800344E0:
|
|
/* 800344E0 00030320 39 60 00 04 */ li r11, 0x4
|
|
/* 800344E4 00030324 39 80 00 01 */ li r12, 0x1
|
|
/* 800344E8 00030328 48 00 00 50 */ b lbl_80034538
|
|
|
|
.global lbl_800344EC
|
|
lbl_800344EC:
|
|
/* 800344EC 0003032C 39 60 00 02 */ li r11, 0x2
|
|
/* 800344F0 00030330 48 00 00 48 */ b lbl_80034538
|
|
|
|
.global lbl_800344F4
|
|
lbl_800344F4:
|
|
/* 800344F4 00030334 39 60 00 02 */ li r11, 0x2
|
|
/* 800344F8 00030338 48 00 00 40 */ b lbl_80034538
|
|
|
|
.global lbl_800344FC
|
|
lbl_800344FC:
|
|
/* 800344FC 0003033C 39 60 00 05 */ li r11, 0x5
|
|
/* 80034500 00030340 48 00 00 38 */ b lbl_80034538
|
|
|
|
.global lbl_80034504
|
|
lbl_80034504:
|
|
/* 80034504 00030344 39 60 00 06 */ li r11, 0x6
|
|
/* 80034508 00030348 48 00 00 30 */ b lbl_80034538
|
|
|
|
.global lbl_8003450C
|
|
lbl_8003450C:
|
|
/* 8003450C 0003034C 39 60 00 07 */ li r11, 0x7
|
|
/* 80034510 00030350 48 00 00 28 */ b lbl_80034538
|
|
|
|
.global lbl_80034514
|
|
lbl_80034514:
|
|
/* 80034514 00030354 39 60 00 08 */ li r11, 0x8
|
|
/* 80034518 00030358 48 00 00 20 */ b lbl_80034538
|
|
|
|
.global lbl_8003451C
|
|
lbl_8003451C:
|
|
/* 8003451C 0003035C 39 60 00 09 */ li r11, 0x9
|
|
/* 80034520 00030360 48 00 00 18 */ b lbl_80034538
|
|
|
|
.global lbl_80034524
|
|
lbl_80034524:
|
|
/* 80034524 00030364 39 60 00 0A */ li r11, 0xa
|
|
/* 80034528 00030368 48 00 00 10 */ b lbl_80034538
|
|
|
|
.global lbl_8003452C
|
|
lbl_8003452C:
|
|
/* 8003452C 0003036C 39 60 00 0B */ li r11, 0xb
|
|
/* 80034530 00030370 48 00 00 08 */ b lbl_80034538
|
|
|
|
.global lbl_80034534
|
|
lbl_80034534:
|
|
/* 80034534 00030374 39 60 00 0C */ li r11, 0xc
|
|
|
|
.global lbl_80034538
|
|
lbl_80034538:
|
|
/* 80034538 00030378 39 24 FF FE */ addi r9, r4, -0x2
|
|
/* 8003453C 0003037C 28 09 00 07 */ cmplwi r9, 0x7
|
|
/* 80034540 00030380 40 81 00 44 */ ble lbl_80034584
|
|
/* 80034544 00030384 2C 04 00 01 */ cmpwi r4, 0x1
|
|
/* 80034548 00030388 41 82 00 18 */ beq lbl_80034560
|
|
/* 8003454C 0003038C 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 80034550 00030390 41 82 00 20 */ beq lbl_80034570
|
|
/* 80034554 00030394 2C 04 00 0A */ cmpwi r4, 0xa
|
|
/* 80034558 00030398 41 82 00 50 */ beq lbl_800345A8
|
|
/* 8003455C 0003039C 48 00 00 78 */ b lbl_800345D4
|
|
.global lbl_80034560
|
|
lbl_80034560:
|
|
/* 80034560 000303A0 39 40 00 00 */ li r10, 0x0
|
|
/* 80034564 000303A4 51 8A 17 7A */ rlwimi r10, r12, 2, 29, 29
|
|
/* 80034568 000303A8 51 6A 3D 30 */ rlwimi r10, r11, 7, 20, 24
|
|
/* 8003456C 000303AC 48 00 00 68 */ b lbl_800345D4
|
|
.global lbl_80034570
|
|
lbl_80034570:
|
|
/* 80034570 000303B0 38 00 00 00 */ li r0, 0x0
|
|
/* 80034574 000303B4 60 0A 00 02 */ ori r10, r0, 0x2
|
|
/* 80034578 000303B8 51 8A 17 7A */ rlwimi r10, r12, 2, 29, 29
|
|
/* 8003457C 000303BC 51 6A 3D 30 */ rlwimi r10, r11, 7, 20, 24
|
|
/* 80034580 000303C0 48 00 00 54 */ b lbl_800345D4
|
|
.global lbl_80034584
|
|
lbl_80034584:
|
|
/* 80034584 000303C4 38 80 00 01 */ li r4, 0x1
|
|
/* 80034588 000303C8 38 05 FF F4 */ addi r0, r5, -0xc
|
|
/* 8003458C 000303CC 39 40 00 00 */ li r10, 0x0
|
|
/* 80034590 000303D0 51 8A 17 7A */ rlwimi r10, r12, 2, 29, 29
|
|
/* 80034594 000303D4 50 8A 26 76 */ rlwimi r10, r4, 4, 25, 27
|
|
/* 80034598 000303D8 51 6A 3D 30 */ rlwimi r10, r11, 7, 20, 24
|
|
/* 8003459C 000303DC 50 0A 64 66 */ rlwimi r10, r0, 12, 17, 19
|
|
/* 800345A0 000303E0 51 2A 7B A0 */ rlwimi r10, r9, 15, 14, 16
|
|
/* 800345A4 000303E4 48 00 00 30 */ b lbl_800345D4
|
|
.global lbl_800345A8
|
|
lbl_800345A8:
|
|
/* 800345A8 000303E8 2C 05 00 13 */ cmpwi r5, 0x13
|
|
/* 800345AC 000303EC 39 40 00 00 */ li r10, 0x0
|
|
/* 800345B0 000303F0 51 8A 17 7A */ rlwimi r10, r12, 2, 29, 29
|
|
/* 800345B4 000303F4 40 82 00 10 */ bne lbl_800345C4
|
|
/* 800345B8 000303F8 38 00 00 02 */ li r0, 0x2
|
|
/* 800345BC 000303FC 50 0A 26 76 */ rlwimi r10, r0, 4, 25, 27
|
|
/* 800345C0 00030400 48 00 00 0C */ b lbl_800345CC
|
|
.global lbl_800345C4
|
|
lbl_800345C4:
|
|
/* 800345C4 00030404 38 00 00 03 */ li r0, 0x3
|
|
/* 800345C8 00030408 50 0A 26 76 */ rlwimi r10, r0, 4, 25, 27
|
|
.global lbl_800345CC
|
|
lbl_800345CC:
|
|
/* 800345CC 0003040C 38 00 00 02 */ li r0, 0x2
|
|
/* 800345D0 00030410 50 0A 3D 30 */ rlwimi r10, r0, 7, 20, 24
|
|
.global lbl_800345D4
|
|
lbl_800345D4:
|
|
/* 800345D4 00030414 81 22 86 08 */ lwz r9, __GXData@sda21(r2)
|
|
/* 800345D8 00030418 54 64 10 3A */ slwi r4, r3, 2
|
|
/* 800345DC 0003041C 38 08 FF C0 */ addi r0, r8, -0x40
|
|
/* 800345E0 00030420 3C A0 00 01 */ lis r5, 0x1
|
|
/* 800345E4 00030424 7D 09 22 14 */ add r8, r9, r4
|
|
/* 800345E8 00030428 38 80 00 00 */ li r4, 0x0
|
|
/* 800345EC 0003042C 91 48 00 C8 */ stw r10, 0xc8(r8)
|
|
/* 800345F0 00030430 50 04 06 BE */ rlwimi r4, r0, 0, 26, 31
|
|
/* 800345F4 00030434 7C A0 18 30 */ slw r0, r5, r3
|
|
/* 800345F8 00030438 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 800345FC 0003043C 80 A9 05 FC */ lwz r5, 0x5fc(r9)
|
|
/* 80034600 00030440 50 E4 45 EE */ rlwimi r4, r7, 8, 23, 23
|
|
/* 80034604 00030444 7C A0 03 78 */ or r0, r5, r0
|
|
/* 80034608 00030448 90 09 05 FC */ stw r0, 0x5fc(r9)
|
|
/* 8003460C 0003044C 90 88 00 E8 */ stw r4, 0xe8(r8)
|
|
/* 80034610 00030450 41 82 00 38 */ beq lbl_80034648
|
|
/* 80034614 00030454 2C 03 00 01 */ cmpwi r3, 0x1
|
|
/* 80034618 00030458 41 82 00 40 */ beq lbl_80034658
|
|
/* 8003461C 0003045C 2C 03 00 02 */ cmpwi r3, 0x2
|
|
/* 80034620 00030460 41 82 00 48 */ beq lbl_80034668
|
|
/* 80034624 00030464 2C 03 00 03 */ cmpwi r3, 0x3
|
|
/* 80034628 00030468 41 82 00 50 */ beq lbl_80034678
|
|
/* 8003462C 0003046C 2C 03 00 04 */ cmpwi r3, 0x4
|
|
/* 80034630 00030470 41 82 00 58 */ beq lbl_80034688
|
|
/* 80034634 00030474 2C 03 00 05 */ cmpwi r3, 0x5
|
|
/* 80034638 00030478 41 82 00 60 */ beq lbl_80034698
|
|
/* 8003463C 0003047C 2C 03 00 06 */ cmpwi r3, 0x6
|
|
/* 80034640 00030480 41 82 00 68 */ beq lbl_800346A8
|
|
/* 80034644 00030484 48 00 00 74 */ b lbl_800346B8
|
|
.global lbl_80034648
|
|
lbl_80034648:
|
|
/* 80034648 00030488 80 09 00 80 */ lwz r0, 0x80(r9)
|
|
/* 8003464C 0003048C 50 C0 35 32 */ rlwimi r0, r6, 6, 20, 25
|
|
/* 80034650 00030490 90 09 00 80 */ stw r0, 0x80(r9)
|
|
/* 80034654 00030494 48 00 00 70 */ b lbl_800346C4
|
|
.global lbl_80034658
|
|
lbl_80034658:
|
|
/* 80034658 00030498 80 09 00 80 */ lwz r0, 0x80(r9)
|
|
/* 8003465C 0003049C 50 C0 63 A6 */ rlwimi r0, r6, 12, 14, 19
|
|
/* 80034660 000304A0 90 09 00 80 */ stw r0, 0x80(r9)
|
|
/* 80034664 000304A4 48 00 00 60 */ b lbl_800346C4
|
|
.global lbl_80034668
|
|
lbl_80034668:
|
|
/* 80034668 000304A8 80 09 00 80 */ lwz r0, 0x80(r9)
|
|
/* 8003466C 000304AC 50 C0 92 1A */ rlwimi r0, r6, 18, 8, 13
|
|
/* 80034670 000304B0 90 09 00 80 */ stw r0, 0x80(r9)
|
|
/* 80034674 000304B4 48 00 00 50 */ b lbl_800346C4
|
|
.global lbl_80034678
|
|
lbl_80034678:
|
|
/* 80034678 000304B8 80 09 00 80 */ lwz r0, 0x80(r9)
|
|
/* 8003467C 000304BC 50 C0 C0 8E */ rlwimi r0, r6, 24, 2, 7
|
|
/* 80034680 000304C0 90 09 00 80 */ stw r0, 0x80(r9)
|
|
/* 80034684 000304C4 48 00 00 40 */ b lbl_800346C4
|
|
.global lbl_80034688
|
|
lbl_80034688:
|
|
/* 80034688 000304C8 80 09 00 84 */ lwz r0, 0x84(r9)
|
|
/* 8003468C 000304CC 50 C0 06 BE */ rlwimi r0, r6, 0, 26, 31
|
|
/* 80034690 000304D0 90 09 00 84 */ stw r0, 0x84(r9)
|
|
/* 80034694 000304D4 48 00 00 30 */ b lbl_800346C4
|
|
.global lbl_80034698
|
|
lbl_80034698:
|
|
/* 80034698 000304D8 80 09 00 84 */ lwz r0, 0x84(r9)
|
|
/* 8003469C 000304DC 50 C0 35 32 */ rlwimi r0, r6, 6, 20, 25
|
|
/* 800346A0 000304E0 90 09 00 84 */ stw r0, 0x84(r9)
|
|
/* 800346A4 000304E4 48 00 00 20 */ b lbl_800346C4
|
|
.global lbl_800346A8
|
|
lbl_800346A8:
|
|
/* 800346A8 000304E8 80 09 00 84 */ lwz r0, 0x84(r9)
|
|
/* 800346AC 000304EC 50 C0 63 A6 */ rlwimi r0, r6, 12, 14, 19
|
|
/* 800346B0 000304F0 90 09 00 84 */ stw r0, 0x84(r9)
|
|
/* 800346B4 000304F4 48 00 00 10 */ b lbl_800346C4
|
|
.global lbl_800346B8
|
|
lbl_800346B8:
|
|
/* 800346B8 000304F8 80 09 00 84 */ lwz r0, 0x84(r9)
|
|
/* 800346BC 000304FC 50 C0 92 1A */ rlwimi r0, r6, 18, 8, 13
|
|
/* 800346C0 00030500 90 09 00 84 */ stw r0, 0x84(r9)
|
|
.global lbl_800346C4
|
|
lbl_800346C4:
|
|
/* 800346C4 00030504 80 09 05 FC */ lwz r0, 0x5fc(r9)
|
|
/* 800346C8 00030508 64 00 04 00 */ oris r0, r0, 0x400
|
|
/* 800346CC 0003050C 90 09 05 FC */ stw r0, 0x5fc(r9)
|
|
/* 800346D0 00030510 4E 80 00 20 */ blr
|
|
/* 800346D4 00030514 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800346D8 00030518 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800346DC 0003051C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXSetNumTexGens
|
|
GXSetNumTexGens:
|
|
/* 800346E0 00030520 80 82 86 08 */ lwz r4, __GXData@sda21(r2)
|
|
/* 800346E4 00030524 80 04 02 54 */ lwz r0, 0x254(r4)
|
|
/* 800346E8 00030528 50 60 07 3E */ rlwimi r0, r3, 0, 28, 31
|
|
/* 800346EC 0003052C 90 04 02 54 */ stw r0, 0x254(r4)
|
|
/* 800346F0 00030530 80 04 05 FC */ lwz r0, 0x5fc(r4)
|
|
/* 800346F4 00030534 64 00 02 00 */ oris r0, r0, 0x200
|
|
/* 800346F8 00030538 60 00 00 04 */ ori r0, r0, 0x4
|
|
/* 800346FC 0003053C 90 04 05 FC */ stw r0, 0x5fc(r4)
|
|
/* 80034700 00030540 4E 80 00 20 */ blr
|
|
/* 80034704 00030544 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80034708 00030548 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8003470C 0003054C 00 00 00 00 */ .4byte 0x00000000
|
|
.include "macros.inc"
|
|
|
|
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
|
|
.global "@3194_80430A70"
|
|
"@3194_80430A70":
|
|
|
|
.4byte lbl_800337C0
|
|
.4byte lbl_800337D4
|
|
.4byte lbl_800337E8
|
|
.4byte lbl_800337FC
|
|
.4byte lbl_80033810
|
|
.4byte lbl_80033824
|
|
.4byte lbl_80033838
|
|
.4byte lbl_8003384C
|
|
.4byte lbl_80033860
|
|
.4byte lbl_80033874
|
|
.4byte lbl_80033888
|
|
.4byte lbl_800338F0
|
|
.4byte lbl_80033904
|
|
.4byte lbl_80033918
|
|
.4byte lbl_8003392C
|
|
.4byte lbl_80033940
|
|
.4byte lbl_80033954
|
|
.4byte lbl_80033968
|
|
.4byte lbl_8003397C
|
|
.4byte lbl_80033990
|
|
.4byte lbl_800339A4
|
|
.4byte lbl_800339B4
|
|
.4byte lbl_800339B4
|
|
.4byte lbl_800339B4
|
|
.4byte lbl_800339B4
|
|
.4byte lbl_800338BC
|
|
|
|
.global "@3337"
|
|
"@3337":
|
|
|
|
.4byte lbl_80033C10
|
|
.4byte lbl_80033C20
|
|
.4byte lbl_80033C30
|
|
.4byte lbl_80033C40
|
|
.4byte lbl_80033C50
|
|
.4byte lbl_80033C60
|
|
.4byte lbl_80033C70
|
|
.4byte lbl_80033C80
|
|
.4byte lbl_80033C90
|
|
.4byte lbl_80033CA0
|
|
.4byte lbl_80033CB0
|
|
.4byte lbl_80033CF8
|
|
.4byte lbl_80033D08
|
|
.4byte lbl_80033D18
|
|
.4byte lbl_80033D28
|
|
.4byte lbl_80033D38
|
|
.4byte lbl_80033D48
|
|
.4byte lbl_80033D58
|
|
.4byte lbl_80033D68
|
|
.4byte lbl_80033D78
|
|
.4byte lbl_80033D88
|
|
.4byte lbl_80033D98
|
|
.4byte lbl_80033D98
|
|
.4byte lbl_80033D98
|
|
.4byte lbl_80033D98
|
|
.4byte lbl_80033CD4
|
|
|
|
.global "@3383_80430B40"
|
|
"@3383_80430B40":
|
|
|
|
.4byte lbl_80033E20
|
|
.4byte lbl_80033E38
|
|
.4byte lbl_80033E74
|
|
.4byte lbl_80033E88
|
|
.4byte lbl_80033E9C
|
|
.4byte lbl_80033EB4
|
|
.4byte lbl_80033ECC
|
|
.4byte lbl_80033EE4
|
|
.4byte lbl_80033EFC
|
|
.4byte lbl_80033F1C
|
|
.4byte lbl_80033F34
|
|
.4byte lbl_80033F4C
|
|
.4byte lbl_80033F60
|
|
.4byte lbl_80033F60
|
|
.4byte lbl_80033F60
|
|
.4byte lbl_80033F60
|
|
.4byte lbl_80033E38
|
|
|
|
.global "@3413"
|
|
"@3413":
|
|
|
|
.4byte lbl_80033FD8
|
|
.4byte lbl_80033FF0
|
|
.4byte lbl_8003402C
|
|
.4byte lbl_80034040
|
|
.4byte lbl_80034054
|
|
.4byte lbl_8003406C
|
|
.4byte lbl_80034084
|
|
.4byte lbl_8003409C
|
|
.4byte lbl_800340B4
|
|
.4byte lbl_800340D4
|
|
.4byte lbl_800340EC
|
|
.4byte lbl_80034104
|
|
.4byte lbl_80034118
|
|
.4byte lbl_80034118
|
|
.4byte lbl_80034118
|
|
.4byte lbl_80034118
|
|
.4byte lbl_80033FF0
|
|
|
|
.global "@3456"
|
|
"@3456":
|
|
|
|
.4byte lbl_80034210
|
|
.4byte lbl_80034238
|
|
.4byte lbl_8003429C
|
|
.4byte lbl_800342C0
|
|
.4byte lbl_800342E4
|
|
.4byte lbl_8003430C
|
|
.4byte lbl_80034334
|
|
.4byte lbl_8003435C
|
|
.4byte lbl_80034384
|
|
.4byte lbl_800343AC
|
|
.4byte lbl_800343D4
|
|
.4byte lbl_800343FC
|
|
.4byte lbl_80034424
|
|
.4byte lbl_80034424
|
|
.4byte lbl_80034424
|
|
.4byte lbl_80034424
|
|
.4byte lbl_80034238
|
|
|
|
.global "@3589"
|
|
"@3589":
|
|
|
|
.4byte lbl_800344BC
|
|
.4byte lbl_800344C8
|
|
.4byte lbl_800344D4
|
|
.4byte lbl_800344E0
|
|
.4byte lbl_800344FC
|
|
.4byte lbl_80034504
|
|
.4byte lbl_8003450C
|
|
.4byte lbl_80034514
|
|
.4byte lbl_8003451C
|
|
.4byte lbl_80034524
|
|
.4byte lbl_8003452C
|
|
.4byte lbl_80034534
|
|
.4byte lbl_80034538
|
|
.4byte lbl_80034538
|
|
.4byte lbl_80034538
|
|
.4byte lbl_80034538
|
|
.4byte lbl_80034538
|
|
.4byte lbl_80034538
|
|
.4byte lbl_80034538
|
|
.4byte lbl_800344EC
|
|
.4byte lbl_800344F4
|
|
.include "macros.inc"
|
|
|
|
.section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0
|
|
.global "@LOCAL@__GXCalculateVLim__Fv@tbl1"
|
|
"@LOCAL@__GXCalculateVLim__Fv@tbl1":
|
|
|
|
.4byte 0x00040102
|
|
|
|
.global "@LOCAL@__GXCalculateVLim__Fv@tbl2@0"
|
|
"@LOCAL@__GXCalculateVLim__Fv@tbl2@0":
|
|
|
|
.4byte 0x00080102
|
|
|
|
.global "@LOCAL@__GXCalculateVLim__Fv@tbl3@1"
|
|
"@LOCAL@__GXCalculateVLim__Fv@tbl3@1":
|
|
|
|
.4byte 0x000C0102
|
|
.4byte 0
|