649 lines
28 KiB
ArmAsm
649 lines
28 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
|
.global GXInitLightAttn
|
|
GXInitLightAttn:
|
|
/* 80035E50 00031C90 D0 23 00 10 */ stfs f1, 0x10(r3)
|
|
/* 80035E54 00031C94 D0 43 00 14 */ stfs f2, 0x14(r3)
|
|
/* 80035E58 00031C98 D0 63 00 18 */ stfs f3, 0x18(r3)
|
|
/* 80035E5C 00031C9C D0 83 00 1C */ stfs f4, 0x1c(r3)
|
|
/* 80035E60 00031CA0 D0 A3 00 20 */ stfs f5, 0x20(r3)
|
|
/* 80035E64 00031CA4 D0 C3 00 24 */ stfs f6, 0x24(r3)
|
|
/* 80035E68 00031CA8 4E 80 00 20 */ blr
|
|
/* 80035E6C 00031CAC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXInitLightAttnA
|
|
GXInitLightAttnA:
|
|
/* 80035E70 00031CB0 D0 23 00 10 */ stfs f1, 0x10(r3)
|
|
/* 80035E74 00031CB4 D0 43 00 14 */ stfs f2, 0x14(r3)
|
|
/* 80035E78 00031CB8 D0 63 00 18 */ stfs f3, 0x18(r3)
|
|
/* 80035E7C 00031CBC 4E 80 00 20 */ blr
|
|
.global GXInitLightAttnK
|
|
GXInitLightAttnK:
|
|
/* 80035E80 00031CC0 D0 23 00 1C */ stfs f1, 0x1c(r3)
|
|
/* 80035E84 00031CC4 D0 43 00 20 */ stfs f2, 0x20(r3)
|
|
/* 80035E88 00031CC8 D0 63 00 24 */ stfs f3, 0x24(r3)
|
|
/* 80035E8C 00031CCC 4E 80 00 20 */ blr
|
|
.global GXInitLightSpot
|
|
GXInitLightSpot:
|
|
/* 80035E90 00031CD0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80035E94 00031CD4 7C 08 02 A6 */ mflr r0
|
|
/* 80035E98 00031CD8 C0 02 86 38 */ lfs f0, "@2975"@sda21(r2)
|
|
/* 80035E9C 00031CDC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80035EA0 00031CE0 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80035EA4 00031CE4 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80035EA8 00031CE8 7C 9F 23 78 */ mr r31, r4
|
|
/* 80035EAC 00031CEC 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 80035EB0 00031CF0 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80035EB4 00031CF4 4C 40 13 82 */ cror eq, lt, eq
|
|
/* 80035EB8 00031CF8 41 82 00 10 */ beq lbl_80035EC8
|
|
/* 80035EBC 00031CFC C0 02 86 3C */ lfs f0, "@2976"@sda21(r2)
|
|
/* 80035EC0 00031D00 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80035EC4 00031D04 40 81 00 08 */ ble lbl_80035ECC
|
|
.global lbl_80035EC8
|
|
lbl_80035EC8:
|
|
/* 80035EC8 00031D08 3B E0 00 00 */ li r31, 0x0
|
|
.global lbl_80035ECC
|
|
lbl_80035ECC:
|
|
/* 80035ECC 00031D0C C0 42 86 40 */ lfs f2, "@2977"@sda21(r2)
|
|
/* 80035ED0 00031D10 C0 02 86 44 */ lfs f0, "@2978"@sda21(r2)
|
|
/* 80035ED4 00031D14 EC 22 00 72 */ fmuls f1, f2, f1
|
|
/* 80035ED8 00031D18 EC 21 00 24 */ fdivs f1, f1, f0
|
|
/* 80035EDC 00031D1C 4B FD E0 61 */ bl cos
|
|
/* 80035EE0 00031D20 2C 1F 00 01 */ cmpwi r31, 0x1
|
|
/* 80035EE4 00031D24 FC A0 08 18 */ frsp f5, f1
|
|
/* 80035EE8 00031D28 41 82 00 30 */ beq lbl_80035F18
|
|
/* 80035EEC 00031D2C 2C 1F 00 02 */ cmpwi r31, 0x2
|
|
/* 80035EF0 00031D30 41 82 00 3C */ beq lbl_80035F2C
|
|
/* 80035EF4 00031D34 2C 1F 00 03 */ cmpwi r31, 0x3
|
|
/* 80035EF8 00031D38 41 82 00 50 */ beq lbl_80035F48
|
|
/* 80035EFC 00031D3C 2C 1F 00 04 */ cmpwi r31, 0x4
|
|
/* 80035F00 00031D40 41 82 00 64 */ beq lbl_80035F64
|
|
/* 80035F04 00031D44 2C 1F 00 05 */ cmpwi r31, 0x5
|
|
/* 80035F08 00031D48 41 82 00 88 */ beq lbl_80035F90
|
|
/* 80035F0C 00031D4C 2C 1F 00 06 */ cmpwi r31, 0x6
|
|
/* 80035F10 00031D50 41 82 00 B0 */ beq lbl_80035FC0
|
|
/* 80035F14 00031D54 48 00 00 E8 */ b lbl_80035FFC
|
|
.global lbl_80035F18
|
|
lbl_80035F18:
|
|
/* 80035F18 00031D58 C0 02 86 48 */ lfs f0, "@2979"@sda21(r2)
|
|
/* 80035F1C 00031D5C C0 22 86 4C */ lfs f1, "@2980"@sda21(r2)
|
|
/* 80035F20 00031D60 EC 60 01 72 */ fmuls f3, f0, f5
|
|
/* 80035F24 00031D64 C0 C2 86 38 */ lfs f6, "@2975"@sda21(r2)
|
|
/* 80035F28 00031D68 48 00 00 E0 */ b lbl_80036008
|
|
.global lbl_80035F2C
|
|
lbl_80035F2C:
|
|
/* 80035F2C 00031D6C C0 42 86 50 */ lfs f2, "@2981"@sda21(r2)
|
|
/* 80035F30 00031D70 FC 00 28 50 */ fneg f0, f5
|
|
/* 80035F34 00031D74 C0 C2 86 38 */ lfs f6, "@2975"@sda21(r2)
|
|
/* 80035F38 00031D78 EC 22 28 28 */ fsubs f1, f2, f5
|
|
/* 80035F3C 00031D7C EC 22 08 24 */ fdivs f1, f2, f1
|
|
/* 80035F40 00031D80 EC 60 00 72 */ fmuls f3, f0, f1
|
|
/* 80035F44 00031D84 48 00 00 C4 */ b lbl_80036008
|
|
.global lbl_80035F48
|
|
lbl_80035F48:
|
|
/* 80035F48 00031D88 C0 42 86 50 */ lfs f2, "@2981"@sda21(r2)
|
|
/* 80035F4C 00031D8C FC 00 28 50 */ fneg f0, f5
|
|
/* 80035F50 00031D90 C0 62 86 38 */ lfs f3, "@2975"@sda21(r2)
|
|
/* 80035F54 00031D94 EC 22 28 28 */ fsubs f1, f2, f5
|
|
/* 80035F58 00031D98 EC C2 08 24 */ fdivs f6, f2, f1
|
|
/* 80035F5C 00031D9C EC 20 01 B2 */ fmuls f1, f0, f6
|
|
/* 80035F60 00031DA0 48 00 00 A8 */ b lbl_80036008
|
|
.global lbl_80035F64
|
|
lbl_80035F64:
|
|
/* 80035F64 00031DA4 C0 62 86 50 */ lfs f3, "@2981"@sda21(r2)
|
|
/* 80035F68 00031DA8 C0 22 86 54 */ lfs f1, "@2982_8055E5D4"@sda21(r2)
|
|
/* 80035F6C 00031DAC EC 43 28 28 */ fsubs f2, f3, f5
|
|
/* 80035F70 00031DB0 EC 05 08 28 */ fsubs f0, f5, f1
|
|
/* 80035F74 00031DB4 EC 42 00 B2 */ fmuls f2, f2, f2
|
|
/* 80035F78 00031DB8 EC 05 00 32 */ fmuls f0, f5, f0
|
|
/* 80035F7C 00031DBC EC 43 10 24 */ fdivs f2, f3, f2
|
|
/* 80035F80 00031DC0 EC 62 00 32 */ fmuls f3, f2, f0
|
|
/* 80035F84 00031DC4 EC 21 00 B2 */ fmuls f1, f1, f2
|
|
/* 80035F88 00031DC8 FC C0 10 50 */ fneg f6, f2
|
|
/* 80035F8C 00031DCC 48 00 00 7C */ b lbl_80036008
|
|
.global lbl_80035F90
|
|
lbl_80035F90:
|
|
/* 80035F90 00031DD0 C0 82 86 50 */ lfs f4, "@2981"@sda21(r2)
|
|
/* 80035F94 00031DD4 C0 02 86 5C */ lfs f0, "@2984"@sda21(r2)
|
|
/* 80035F98 00031DD8 EC 64 28 28 */ fsubs f3, f4, f5
|
|
/* 80035F9C 00031DDC C0 42 86 58 */ lfs f2, "@2983"@sda21(r2)
|
|
/* 80035FA0 00031DE0 EC 24 28 2A */ fadds f1, f4, f5
|
|
/* 80035FA4 00031DE4 EC 63 00 F2 */ fmuls f3, f3, f3
|
|
/* 80035FA8 00031DE8 EC 00 00 72 */ fmuls f0, f0, f1
|
|
/* 80035FAC 00031DEC EC 24 18 24 */ fdivs f1, f4, f3
|
|
/* 80035FB0 00031DF0 EC C2 00 72 */ fmuls f6, f2, f1
|
|
/* 80035FB4 00031DF4 EC 20 00 72 */ fmuls f1, f0, f1
|
|
/* 80035FB8 00031DF8 EC 66 01 72 */ fmuls f3, f6, f5
|
|
/* 80035FBC 00031DFC 48 00 00 4C */ b lbl_80036008
|
|
.global lbl_80035FC0
|
|
lbl_80035FC0:
|
|
/* 80035FC0 00031E00 C0 82 86 50 */ lfs f4, "@2981"@sda21(r2)
|
|
/* 80035FC4 00031E04 C0 02 86 54 */ lfs f0, "@2982_8055E5D4"@sda21(r2)
|
|
/* 80035FC8 00031E08 EC 64 28 28 */ fsubs f3, f4, f5
|
|
/* 80035FCC 00031E0C C0 22 86 5C */ lfs f1, "@2984"@sda21(r2)
|
|
/* 80035FD0 00031E10 EC 40 01 72 */ fmuls f2, f0, f5
|
|
/* 80035FD4 00031E14 C0 02 86 60 */ lfs f0, "@2985"@sda21(r2)
|
|
/* 80035FD8 00031E18 EC 21 01 72 */ fmuls f1, f1, f5
|
|
/* 80035FDC 00031E1C EC 63 00 F2 */ fmuls f3, f3, f3
|
|
/* 80035FE0 00031E20 EC 42 01 72 */ fmuls f2, f2, f5
|
|
/* 80035FE4 00031E24 EC 64 18 24 */ fdivs f3, f4, f3
|
|
/* 80035FE8 00031E28 EC 43 00 B2 */ fmuls f2, f3, f2
|
|
/* 80035FEC 00031E2C EC 21 00 F2 */ fmuls f1, f1, f3
|
|
/* 80035FF0 00031E30 EC C0 00 F2 */ fmuls f6, f0, f3
|
|
/* 80035FF4 00031E34 EC 64 10 28 */ fsubs f3, f4, f2
|
|
/* 80035FF8 00031E38 48 00 00 10 */ b lbl_80036008
|
|
.global lbl_80035FFC
|
|
lbl_80035FFC:
|
|
/* 80035FFC 00031E3C C0 22 86 38 */ lfs f1, "@2975"@sda21(r2)
|
|
/* 80036000 00031E40 C0 62 86 50 */ lfs f3, "@2981"@sda21(r2)
|
|
/* 80036004 00031E44 FC C0 08 90 */ fmr f6, f1
|
|
.global lbl_80036008
|
|
lbl_80036008:
|
|
/* 80036008 00031E48 D0 7E 00 10 */ stfs f3, 0x10(r30)
|
|
/* 8003600C 00031E4C D0 3E 00 14 */ stfs f1, 0x14(r30)
|
|
/* 80036010 00031E50 D0 DE 00 18 */ stfs f6, 0x18(r30)
|
|
/* 80036014 00031E54 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80036018 00031E58 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 8003601C 00031E5C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80036020 00031E60 7C 08 03 A6 */ mtlr r0
|
|
/* 80036024 00031E64 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80036028 00031E68 4E 80 00 20 */ blr
|
|
/* 8003602C 00031E6C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXInitLightDistAttn
|
|
GXInitLightDistAttn:
|
|
/* 80036030 00031E70 C0 02 86 38 */ lfs f0, "@2975"@sda21(r2)
|
|
/* 80036034 00031E74 FC 01 00 40 */ fcmpo cr0, f1, f0
|
|
/* 80036038 00031E78 40 80 00 08 */ bge lbl_80036040
|
|
/* 8003603C 00031E7C 38 80 00 00 */ li r4, 0x0
|
|
.global lbl_80036040
|
|
lbl_80036040:
|
|
/* 80036040 00031E80 C0 02 86 38 */ lfs f0, "@2975"@sda21(r2)
|
|
/* 80036044 00031E84 FC 02 00 40 */ fcmpo cr0, f2, f0
|
|
/* 80036048 00031E88 4C 40 13 82 */ cror eq, lt, eq
|
|
/* 8003604C 00031E8C 41 82 00 14 */ beq lbl_80036060
|
|
/* 80036050 00031E90 C0 02 86 50 */ lfs f0, "@2981"@sda21(r2)
|
|
/* 80036054 00031E94 FC 02 00 40 */ fcmpo cr0, f2, f0
|
|
/* 80036058 00031E98 4C 41 13 82 */ cror eq, gt, eq
|
|
/* 8003605C 00031E9C 40 82 00 08 */ bne lbl_80036064
|
|
.global lbl_80036060
|
|
lbl_80036060:
|
|
/* 80036060 00031EA0 38 80 00 00 */ li r4, 0x0
|
|
.global lbl_80036064
|
|
lbl_80036064:
|
|
/* 80036064 00031EA4 2C 04 00 01 */ cmpwi r4, 0x1
|
|
/* 80036068 00031EA8 41 82 00 18 */ beq lbl_80036080
|
|
/* 8003606C 00031EAC 2C 04 00 02 */ cmpwi r4, 0x2
|
|
/* 80036070 00031EB0 41 82 00 28 */ beq lbl_80036098
|
|
/* 80036074 00031EB4 2C 04 00 03 */ cmpwi r4, 0x3
|
|
/* 80036078 00031EB8 41 82 00 44 */ beq lbl_800360BC
|
|
/* 8003607C 00031EBC 48 00 00 5C */ b lbl_800360D8
|
|
.global lbl_80036080
|
|
lbl_80036080:
|
|
/* 80036080 00031EC0 C0 A2 86 50 */ lfs f5, "@2981"@sda21(r2)
|
|
/* 80036084 00031EC4 EC 02 00 72 */ fmuls f0, f2, f1
|
|
/* 80036088 00031EC8 C0 82 86 38 */ lfs f4, "@2975"@sda21(r2)
|
|
/* 8003608C 00031ECC EC 25 10 28 */ fsubs f1, f5, f2
|
|
/* 80036090 00031ED0 EC 61 00 24 */ fdivs f3, f1, f0
|
|
/* 80036094 00031ED4 48 00 00 50 */ b lbl_800360E4
|
|
.global lbl_80036098
|
|
lbl_80036098:
|
|
/* 80036098 00031ED8 C0 A2 86 50 */ lfs f5, "@2981"@sda21(r2)
|
|
/* 8003609C 00031EDC EC 62 00 72 */ fmuls f3, f2, f1
|
|
/* 800360A0 00031EE0 C0 82 86 64 */ lfs f4, "@2997"@sda21(r2)
|
|
/* 800360A4 00031EE4 EC 45 10 28 */ fsubs f2, f5, f2
|
|
/* 800360A8 00031EE8 EC 01 00 F2 */ fmuls f0, f1, f3
|
|
/* 800360AC 00031EEC EC 24 00 B2 */ fmuls f1, f4, f2
|
|
/* 800360B0 00031EF0 EC 61 18 24 */ fdivs f3, f1, f3
|
|
/* 800360B4 00031EF4 EC 81 00 24 */ fdivs f4, f1, f0
|
|
/* 800360B8 00031EF8 48 00 00 2C */ b lbl_800360E4
|
|
.global lbl_800360BC
|
|
lbl_800360BC:
|
|
/* 800360BC 00031EFC EC 02 00 72 */ fmuls f0, f2, f1
|
|
/* 800360C0 00031F00 C0 A2 86 50 */ lfs f5, "@2981"@sda21(r2)
|
|
/* 800360C4 00031F04 C0 62 86 38 */ lfs f3, "@2975"@sda21(r2)
|
|
/* 800360C8 00031F08 EC 45 10 28 */ fsubs f2, f5, f2
|
|
/* 800360CC 00031F0C EC 01 00 32 */ fmuls f0, f1, f0
|
|
/* 800360D0 00031F10 EC 82 00 24 */ fdivs f4, f2, f0
|
|
/* 800360D4 00031F14 48 00 00 10 */ b lbl_800360E4
|
|
.global lbl_800360D8
|
|
lbl_800360D8:
|
|
/* 800360D8 00031F18 C0 62 86 38 */ lfs f3, "@2975"@sda21(r2)
|
|
/* 800360DC 00031F1C C0 A2 86 50 */ lfs f5, "@2981"@sda21(r2)
|
|
/* 800360E0 00031F20 FC 80 18 90 */ fmr f4, f3
|
|
.global lbl_800360E4
|
|
lbl_800360E4:
|
|
/* 800360E4 00031F24 D0 A3 00 1C */ stfs f5, 0x1c(r3)
|
|
/* 800360E8 00031F28 D0 63 00 20 */ stfs f3, 0x20(r3)
|
|
/* 800360EC 00031F2C D0 83 00 24 */ stfs f4, 0x24(r3)
|
|
/* 800360F0 00031F30 4E 80 00 20 */ blr
|
|
/* 800360F4 00031F34 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800360F8 00031F38 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800360FC 00031F3C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXInitLightPos
|
|
GXInitLightPos:
|
|
/* 80036100 00031F40 D0 23 00 28 */ stfs f1, 0x28(r3)
|
|
/* 80036104 00031F44 D0 43 00 2C */ stfs f2, 0x2c(r3)
|
|
/* 80036108 00031F48 D0 63 00 30 */ stfs f3, 0x30(r3)
|
|
/* 8003610C 00031F4C 4E 80 00 20 */ blr
|
|
.global GXGetLightPos
|
|
GXGetLightPos:
|
|
/* 80036110 00031F50 C0 03 00 28 */ lfs f0, 0x28(r3)
|
|
/* 80036114 00031F54 D0 04 00 00 */ stfs f0, 0x0(r4)
|
|
/* 80036118 00031F58 C0 03 00 2C */ lfs f0, 0x2c(r3)
|
|
/* 8003611C 00031F5C D0 05 00 00 */ stfs f0, 0x0(r5)
|
|
/* 80036120 00031F60 C0 03 00 30 */ lfs f0, 0x30(r3)
|
|
/* 80036124 00031F64 D0 06 00 00 */ stfs f0, 0x0(r6)
|
|
/* 80036128 00031F68 4E 80 00 20 */ blr
|
|
/* 8003612C 00031F6C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXInitLightDir
|
|
GXInitLightDir:
|
|
/* 80036130 00031F70 FC 80 08 50 */ fneg f4, f1
|
|
/* 80036134 00031F74 FC 20 10 50 */ fneg f1, f2
|
|
/* 80036138 00031F78 FC 00 18 50 */ fneg f0, f3
|
|
/* 8003613C 00031F7C D0 83 00 34 */ stfs f4, 0x34(r3)
|
|
/* 80036140 00031F80 D0 23 00 38 */ stfs f1, 0x38(r3)
|
|
/* 80036144 00031F84 D0 03 00 3C */ stfs f0, 0x3c(r3)
|
|
/* 80036148 00031F88 4E 80 00 20 */ blr
|
|
/* 8003614C 00031F8C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXGetLightDir
|
|
GXGetLightDir:
|
|
/* 80036150 00031F90 C0 03 00 34 */ lfs f0, 0x34(r3)
|
|
/* 80036154 00031F94 C0 23 00 38 */ lfs f1, 0x38(r3)
|
|
/* 80036158 00031F98 FC 40 00 50 */ fneg f2, f0
|
|
/* 8003615C 00031F9C C0 03 00 3C */ lfs f0, 0x3c(r3)
|
|
/* 80036160 00031FA0 FC 20 08 50 */ fneg f1, f1
|
|
/* 80036164 00031FA4 D0 44 00 00 */ stfs f2, 0x0(r4)
|
|
/* 80036168 00031FA8 FC 00 00 50 */ fneg f0, f0
|
|
/* 8003616C 00031FAC D0 25 00 00 */ stfs f1, 0x0(r5)
|
|
/* 80036170 00031FB0 D0 06 00 00 */ stfs f0, 0x0(r6)
|
|
/* 80036174 00031FB4 4E 80 00 20 */ blr
|
|
/* 80036178 00031FB8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8003617C 00031FBC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXInitSpecularDir
|
|
GXInitSpecularDir:
|
|
/* 80036180 00031FC0 94 21 FF 90 */ stwu r1, -0x70(r1)
|
|
/* 80036184 00031FC4 7C 08 02 A6 */ mflr r0
|
|
/* 80036188 00031FC8 FC C0 18 50 */ fneg f6, f3
|
|
/* 8003618C 00031FCC C0 82 86 50 */ lfs f4, "@2981"@sda21(r2)
|
|
/* 80036190 00031FD0 90 01 00 74 */ stw r0, 0x74(r1)
|
|
/* 80036194 00031FD4 C0 02 86 38 */ lfs f0, "@2975"@sda21(r2)
|
|
/* 80036198 00031FD8 DB E1 00 60 */ stfd f31, 0x60(r1)
|
|
/* 8003619C 00031FDC F3 E1 00 68 */ psq_st f31, 0x68(r1), 0, qr0
|
|
/* 800361A0 00031FE0 FF E0 08 50 */ fneg f31, f1
|
|
/* 800361A4 00031FE4 DB C1 00 50 */ stfd f30, 0x50(r1)
|
|
/* 800361A8 00031FE8 EC BF 07 F2 */ fmuls f5, f31, f31
|
|
/* 800361AC 00031FEC F3 C1 00 58 */ psq_st f30, 0x58(r1), 0, qr0
|
|
/* 800361B0 00031FF0 FF C0 10 50 */ fneg f30, f2
|
|
/* 800361B4 00031FF4 DB A1 00 40 */ stfd f29, 0x40(r1)
|
|
/* 800361B8 00031FF8 F3 A1 00 48 */ psq_st f29, 0x48(r1), 0, qr0
|
|
/* 800361BC 00031FFC EF A4 30 2A */ fadds f29, f4, f6
|
|
/* 800361C0 00032000 EC 9E 07 B2 */ fmuls f4, f30, f30
|
|
/* 800361C4 00032004 DB 81 00 30 */ stfd f28, 0x30(r1)
|
|
/* 800361C8 00032008 EC DD 07 72 */ fmuls f6, f29, f29
|
|
/* 800361CC 0003200C F3 81 00 38 */ psq_st f28, 0x38(r1), 0, qr0
|
|
/* 800361D0 00032010 FF 80 18 90 */ fmr f28, f3
|
|
/* 800361D4 00032014 DB 61 00 20 */ stfd f27, 0x20(r1)
|
|
/* 800361D8 00032018 F3 61 00 28 */ psq_st f27, 0x28(r1), 0, qr0
|
|
/* 800361DC 0003201C FF 60 10 90 */ fmr f27, f2
|
|
/* 800361E0 00032020 DB 41 00 10 */ stfd f26, 0x10(r1)
|
|
/* 800361E4 00032024 F3 41 00 18 */ psq_st f26, 0x18(r1), 0, qr0
|
|
/* 800361E8 00032028 FF 40 08 90 */ fmr f26, f1
|
|
/* 800361EC 0003202C EC 25 20 2A */ fadds f1, f5, f4
|
|
/* 800361F0 00032030 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 800361F4 00032034 7C 7F 1B 78 */ mr r31, r3
|
|
/* 800361F8 00032038 EC 26 08 2A */ fadds f1, f6, f1
|
|
/* 800361FC 0003203C FC 00 08 00 */ fcmpu cr0, f0, f1
|
|
/* 80036200 00032040 41 82 00 14 */ beq lbl_80036214
|
|
/* 80036204 00032044 4B FD E5 E5 */ bl sqrt
|
|
/* 80036208 00032048 FC 20 08 18 */ frsp f1, f1
|
|
/* 8003620C 0003204C C0 02 86 50 */ lfs f0, "@2981"@sda21(r2)
|
|
/* 80036210 00032050 EC 20 08 24 */ fdivs f1, f0, f1
|
|
.global lbl_80036214
|
|
lbl_80036214:
|
|
/* 80036214 00032054 EC 5F 00 72 */ fmuls f2, f31, f1
|
|
/* 80036218 00032058 C0 02 86 68 */ lfs f0, "@3017_8055E5E8"@sda21(r2)
|
|
/* 8003621C 0003205C EC 9E 00 72 */ fmuls f4, f30, f1
|
|
/* 80036220 00032060 EC 7D 00 72 */ fmuls f3, f29, f1
|
|
/* 80036224 00032064 D0 5F 00 34 */ stfs f2, 0x34(r31)
|
|
/* 80036228 00032068 EC 40 06 B2 */ fmuls f2, f0, f26
|
|
/* 8003622C 0003206C EC 20 06 F2 */ fmuls f1, f0, f27
|
|
/* 80036230 00032070 D0 9F 00 38 */ stfs f4, 0x38(r31)
|
|
/* 80036234 00032074 EC 00 07 32 */ fmuls f0, f0, f28
|
|
/* 80036238 00032078 D0 7F 00 3C */ stfs f3, 0x3c(r31)
|
|
/* 8003623C 0003207C D0 5F 00 28 */ stfs f2, 0x28(r31)
|
|
/* 80036240 00032080 D0 3F 00 2C */ stfs f1, 0x2c(r31)
|
|
/* 80036244 00032084 D0 1F 00 30 */ stfs f0, 0x30(r31)
|
|
/* 80036248 00032088 E3 E1 00 68 */ psq_l f31, 0x68(r1), 0, qr0
|
|
/* 8003624C 0003208C CB E1 00 60 */ lfd f31, 0x60(r1)
|
|
/* 80036250 00032090 E3 C1 00 58 */ psq_l f30, 0x58(r1), 0, qr0
|
|
/* 80036254 00032094 CB C1 00 50 */ lfd f30, 0x50(r1)
|
|
/* 80036258 00032098 E3 A1 00 48 */ psq_l f29, 0x48(r1), 0, qr0
|
|
/* 8003625C 0003209C CB A1 00 40 */ lfd f29, 0x40(r1)
|
|
/* 80036260 000320A0 E3 81 00 38 */ psq_l f28, 0x38(r1), 0, qr0
|
|
/* 80036264 000320A4 CB 81 00 30 */ lfd f28, 0x30(r1)
|
|
/* 80036268 000320A8 E3 61 00 28 */ psq_l f27, 0x28(r1), 0, qr0
|
|
/* 8003626C 000320AC CB 61 00 20 */ lfd f27, 0x20(r1)
|
|
/* 80036270 000320B0 E3 41 00 18 */ psq_l f26, 0x18(r1), 0, qr0
|
|
/* 80036274 000320B4 CB 41 00 10 */ lfd f26, 0x10(r1)
|
|
/* 80036278 000320B8 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8003627C 000320BC 80 01 00 74 */ lwz r0, 0x74(r1)
|
|
/* 80036280 000320C0 7C 08 03 A6 */ mtlr r0
|
|
/* 80036284 000320C4 38 21 00 70 */ addi r1, r1, 0x70
|
|
/* 80036288 000320C8 4E 80 00 20 */ blr
|
|
/* 8003628C 000320CC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXInitLightColor
|
|
GXInitLightColor:
|
|
/* 80036290 000320D0 80 04 00 00 */ lwz r0, 0x0(r4)
|
|
/* 80036294 000320D4 90 03 00 0C */ stw r0, 0xc(r3)
|
|
/* 80036298 000320D8 4E 80 00 20 */ blr
|
|
/* 8003629C 000320DC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXLoadLightObjImm
|
|
GXLoadLightObjImm:
|
|
/* 800362A0 000320E0 7C 80 00 34 */ cntlzw r0, r4
|
|
/* 800362A4 000320E4 3C 80 CC 01 */ lis r4, 0xCC008000@ha
|
|
/* 800362A8 000320E8 20 A0 00 1F */ subfic r5, r0, 0x1f
|
|
/* 800362AC 000320EC 54 A5 26 76 */ rlwinm r5, r5, 4, 25, 27
|
|
/* 800362B0 000320F0 38 00 00 10 */ li r0, 0x10
|
|
/* 800362B4 000320F4 98 04 80 00 */ stb r0, 0xCC008000@l(r4)
|
|
/* 800362B8 000320F8 38 05 06 00 */ addi r0, r5, 0x600
|
|
/* 800362BC 000320FC 64 00 00 0F */ oris r0, r0, 0xf
|
|
/* 800362C0 00032100 38 A4 80 00 */ addi r5, r4, -0x8000
|
|
/* 800362C4 00032104 90 04 80 00 */ stw r0, -0x8000(r4)
|
|
/* 800362C8 00032108 80 03 00 0C */ lwz r0, 0xc(r3)
|
|
/* 800362CC 0003210C 7C C6 32 78 */ xor r6, r6, r6
|
|
/* 800362D0 00032110 E0 A3 00 10 */ psq_l f5, 0x10(r3), 0, qr0
|
|
/* 800362D4 00032114 E0 83 00 18 */ psq_l f4, 0x18(r3), 0, qr0
|
|
/* 800362D8 00032118 E0 63 00 20 */ psq_l f3, 0x20(r3), 0, qr0
|
|
/* 800362DC 0003211C E0 43 00 28 */ psq_l f2, 0x28(r3), 0, qr0
|
|
/* 800362E0 00032120 E0 23 00 30 */ psq_l f1, 0x30(r3), 0, qr0
|
|
/* 800362E4 00032124 E0 03 00 38 */ psq_l f0, 0x38(r3), 0, qr0
|
|
/* 800362E8 00032128 90 C4 80 00 */ stw r6, -0x8000(r4)
|
|
/* 800362EC 0003212C 90 C4 80 00 */ stw r6, -0x8000(r4)
|
|
/* 800362F0 00032130 90 C4 80 00 */ stw r6, -0x8000(r4)
|
|
/* 800362F4 00032134 90 04 80 00 */ stw r0, -0x8000(r4)
|
|
/* 800362F8 00032138 F0 A5 00 00 */ psq_st f5, 0x0(r5), 0, qr0
|
|
/* 800362FC 0003213C F0 85 00 00 */ psq_st f4, 0x0(r5), 0, qr0
|
|
/* 80036300 00032140 F0 65 00 00 */ psq_st f3, 0x0(r5), 0, qr0
|
|
/* 80036304 00032144 F0 45 00 00 */ psq_st f2, 0x0(r5), 0, qr0
|
|
/* 80036308 00032148 F0 25 00 00 */ psq_st f1, 0x0(r5), 0, qr0
|
|
/* 8003630C 0003214C F0 05 00 00 */ psq_st f0, 0x0(r5), 0, qr0
|
|
/* 80036310 00032150 38 00 00 01 */ li r0, 0x1
|
|
/* 80036314 00032154 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80036318 00032158 B0 03 00 02 */ sth r0, 0x2(r3)
|
|
/* 8003631C 0003215C 4E 80 00 20 */ blr
|
|
.global GXSetChanAmbColor
|
|
GXSetChanAmbColor:
|
|
/* 80036320 00032160 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80036324 00032164 41 82 00 30 */ beq lbl_80036354
|
|
/* 80036328 00032168 2C 03 00 01 */ cmpwi r3, 0x1
|
|
/* 8003632C 0003216C 41 82 00 40 */ beq lbl_8003636C
|
|
/* 80036330 00032170 2C 03 00 02 */ cmpwi r3, 0x2
|
|
/* 80036334 00032174 41 82 00 50 */ beq lbl_80036384
|
|
/* 80036338 00032178 2C 03 00 03 */ cmpwi r3, 0x3
|
|
/* 8003633C 0003217C 41 82 00 60 */ beq lbl_8003639C
|
|
/* 80036340 00032180 2C 03 00 04 */ cmpwi r3, 0x4
|
|
/* 80036344 00032184 41 82 00 70 */ beq lbl_800363B4
|
|
/* 80036348 00032188 2C 03 00 05 */ cmpwi r3, 0x5
|
|
/* 8003634C 0003218C 41 82 00 74 */ beq lbl_800363C0
|
|
/* 80036350 00032190 4E 80 00 20 */ blr
|
|
.global lbl_80036354
|
|
lbl_80036354:
|
|
/* 80036354 00032194 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80036358 00032198 39 00 00 00 */ li r8, 0x0
|
|
/* 8003635C 0003219C 80 04 00 00 */ lwz r0, 0x0(r4)
|
|
/* 80036360 000321A0 80 E3 00 A8 */ lwz r7, 0xa8(r3)
|
|
/* 80036364 000321A4 50 07 00 2E */ rlwimi r7, r0, 0, 0, 23
|
|
/* 80036368 000321A8 48 00 00 68 */ b lbl_800363D0
|
|
.global lbl_8003636C
|
|
lbl_8003636C:
|
|
/* 8003636C 000321AC 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80036370 000321B0 39 00 00 01 */ li r8, 0x1
|
|
/* 80036374 000321B4 80 04 00 00 */ lwz r0, 0x0(r4)
|
|
/* 80036378 000321B8 80 E3 00 AC */ lwz r7, 0xac(r3)
|
|
/* 8003637C 000321BC 50 07 00 2E */ rlwimi r7, r0, 0, 0, 23
|
|
/* 80036380 000321C0 48 00 00 50 */ b lbl_800363D0
|
|
.global lbl_80036384
|
|
lbl_80036384:
|
|
/* 80036384 000321C4 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80036388 000321C8 39 00 00 00 */ li r8, 0x0
|
|
/* 8003638C 000321CC 88 04 00 03 */ lbz r0, 0x3(r4)
|
|
/* 80036390 000321D0 80 E3 00 A8 */ lwz r7, 0xa8(r3)
|
|
/* 80036394 000321D4 50 07 06 3E */ rlwimi r7, r0, 0, 24, 31
|
|
/* 80036398 000321D8 48 00 00 38 */ b lbl_800363D0
|
|
.global lbl_8003639C
|
|
lbl_8003639C:
|
|
/* 8003639C 000321DC 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 800363A0 000321E0 39 00 00 01 */ li r8, 0x1
|
|
/* 800363A4 000321E4 88 04 00 03 */ lbz r0, 0x3(r4)
|
|
/* 800363A8 000321E8 80 E3 00 AC */ lwz r7, 0xac(r3)
|
|
/* 800363AC 000321EC 50 07 06 3E */ rlwimi r7, r0, 0, 24, 31
|
|
/* 800363B0 000321F0 48 00 00 20 */ b lbl_800363D0
|
|
.global lbl_800363B4
|
|
lbl_800363B4:
|
|
/* 800363B4 000321F4 80 E4 00 00 */ lwz r7, 0x0(r4)
|
|
/* 800363B8 000321F8 39 00 00 00 */ li r8, 0x0
|
|
/* 800363BC 000321FC 48 00 00 14 */ b lbl_800363D0
|
|
.global lbl_800363C0
|
|
lbl_800363C0:
|
|
/* 800363C0 00032200 80 E4 00 00 */ lwz r7, 0x0(r4)
|
|
/* 800363C4 00032204 39 00 00 01 */ li r8, 0x1
|
|
/* 800363C8 00032208 48 00 00 08 */ b lbl_800363D0
|
|
/* 800363CC 0003220C 4E 80 00 20 */ blr
|
|
.global lbl_800363D0
|
|
lbl_800363D0:
|
|
/* 800363D0 00032210 80 C2 86 08 */ lwz r6, __GXData@sda21(r2)
|
|
/* 800363D4 00032214 38 60 01 00 */ li r3, 0x100
|
|
/* 800363D8 00032218 55 00 10 3A */ slwi r0, r8, 2
|
|
/* 800363DC 0003221C 80 A6 05 FC */ lwz r5, 0x5fc(r6)
|
|
/* 800363E0 00032220 7C 64 40 30 */ slw r4, r3, r8
|
|
/* 800363E4 00032224 7C 66 02 14 */ add r3, r6, r0
|
|
/* 800363E8 00032228 7C A0 23 78 */ or r0, r5, r4
|
|
/* 800363EC 0003222C 90 06 05 FC */ stw r0, 0x5fc(r6)
|
|
/* 800363F0 00032230 90 E3 00 A8 */ stw r7, 0xa8(r3)
|
|
/* 800363F4 00032234 4E 80 00 20 */ blr
|
|
/* 800363F8 00032238 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800363FC 0003223C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXSetChanMatColor
|
|
GXSetChanMatColor:
|
|
/* 80036400 00032240 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80036404 00032244 41 82 00 30 */ beq lbl_80036434
|
|
/* 80036408 00032248 2C 03 00 01 */ cmpwi r3, 0x1
|
|
/* 8003640C 0003224C 41 82 00 40 */ beq lbl_8003644C
|
|
/* 80036410 00032250 2C 03 00 02 */ cmpwi r3, 0x2
|
|
/* 80036414 00032254 41 82 00 50 */ beq lbl_80036464
|
|
/* 80036418 00032258 2C 03 00 03 */ cmpwi r3, 0x3
|
|
/* 8003641C 0003225C 41 82 00 60 */ beq lbl_8003647C
|
|
/* 80036420 00032260 2C 03 00 04 */ cmpwi r3, 0x4
|
|
/* 80036424 00032264 41 82 00 70 */ beq lbl_80036494
|
|
/* 80036428 00032268 2C 03 00 05 */ cmpwi r3, 0x5
|
|
/* 8003642C 0003226C 41 82 00 74 */ beq lbl_800364A0
|
|
/* 80036430 00032270 4E 80 00 20 */ blr
|
|
.global lbl_80036434
|
|
lbl_80036434:
|
|
/* 80036434 00032274 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80036438 00032278 39 00 00 00 */ li r8, 0x0
|
|
/* 8003643C 0003227C 80 04 00 00 */ lwz r0, 0x0(r4)
|
|
/* 80036440 00032280 80 E3 00 B0 */ lwz r7, 0xb0(r3)
|
|
/* 80036444 00032284 50 07 00 2E */ rlwimi r7, r0, 0, 0, 23
|
|
/* 80036448 00032288 48 00 00 68 */ b lbl_800364B0
|
|
.global lbl_8003644C
|
|
lbl_8003644C:
|
|
/* 8003644C 0003228C 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80036450 00032290 39 00 00 01 */ li r8, 0x1
|
|
/* 80036454 00032294 80 04 00 00 */ lwz r0, 0x0(r4)
|
|
/* 80036458 00032298 80 E3 00 B4 */ lwz r7, 0xb4(r3)
|
|
/* 8003645C 0003229C 50 07 00 2E */ rlwimi r7, r0, 0, 0, 23
|
|
/* 80036460 000322A0 48 00 00 50 */ b lbl_800364B0
|
|
.global lbl_80036464
|
|
lbl_80036464:
|
|
/* 80036464 000322A4 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80036468 000322A8 39 00 00 00 */ li r8, 0x0
|
|
/* 8003646C 000322AC 88 04 00 03 */ lbz r0, 0x3(r4)
|
|
/* 80036470 000322B0 80 E3 00 B0 */ lwz r7, 0xb0(r3)
|
|
/* 80036474 000322B4 50 07 06 3E */ rlwimi r7, r0, 0, 24, 31
|
|
/* 80036478 000322B8 48 00 00 38 */ b lbl_800364B0
|
|
.global lbl_8003647C
|
|
lbl_8003647C:
|
|
/* 8003647C 000322BC 80 62 86 08 */ lwz r3, __GXData@sda21(r2)
|
|
/* 80036480 000322C0 39 00 00 01 */ li r8, 0x1
|
|
/* 80036484 000322C4 88 04 00 03 */ lbz r0, 0x3(r4)
|
|
/* 80036488 000322C8 80 E3 00 B4 */ lwz r7, 0xb4(r3)
|
|
/* 8003648C 000322CC 50 07 06 3E */ rlwimi r7, r0, 0, 24, 31
|
|
/* 80036490 000322D0 48 00 00 20 */ b lbl_800364B0
|
|
.global lbl_80036494
|
|
lbl_80036494:
|
|
/* 80036494 000322D4 80 E4 00 00 */ lwz r7, 0x0(r4)
|
|
/* 80036498 000322D8 39 00 00 00 */ li r8, 0x0
|
|
/* 8003649C 000322DC 48 00 00 14 */ b lbl_800364B0
|
|
.global lbl_800364A0
|
|
lbl_800364A0:
|
|
/* 800364A0 000322E0 80 E4 00 00 */ lwz r7, 0x0(r4)
|
|
/* 800364A4 000322E4 39 00 00 01 */ li r8, 0x1
|
|
/* 800364A8 000322E8 48 00 00 08 */ b lbl_800364B0
|
|
/* 800364AC 000322EC 4E 80 00 20 */ blr
|
|
.global lbl_800364B0
|
|
lbl_800364B0:
|
|
/* 800364B0 000322F0 80 C2 86 08 */ lwz r6, __GXData@sda21(r2)
|
|
/* 800364B4 000322F4 38 60 04 00 */ li r3, 0x400
|
|
/* 800364B8 000322F8 55 00 10 3A */ slwi r0, r8, 2
|
|
/* 800364BC 000322FC 80 A6 05 FC */ lwz r5, 0x5fc(r6)
|
|
/* 800364C0 00032300 7C 64 40 30 */ slw r4, r3, r8
|
|
/* 800364C4 00032304 7C 66 02 14 */ add r3, r6, r0
|
|
/* 800364C8 00032308 7C A0 23 78 */ or r0, r5, r4
|
|
/* 800364CC 0003230C 90 06 05 FC */ stw r0, 0x5fc(r6)
|
|
/* 800364D0 00032310 90 E3 00 B0 */ stw r7, 0xb0(r3)
|
|
/* 800364D4 00032314 4E 80 00 20 */ blr
|
|
/* 800364D8 00032318 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800364DC 0003231C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXSetNumChans
|
|
GXSetNumChans:
|
|
/* 800364E0 00032320 80 82 86 08 */ lwz r4, __GXData@sda21(r2)
|
|
/* 800364E4 00032324 80 04 02 54 */ lwz r0, 0x254(r4)
|
|
/* 800364E8 00032328 50 60 26 76 */ rlwimi r0, r3, 4, 25, 27
|
|
/* 800364EC 0003232C 90 04 02 54 */ stw r0, 0x254(r4)
|
|
/* 800364F0 00032330 80 04 05 FC */ lwz r0, 0x5fc(r4)
|
|
/* 800364F4 00032334 64 00 01 00 */ oris r0, r0, 0x100
|
|
/* 800364F8 00032338 60 00 00 04 */ ori r0, r0, 0x4
|
|
/* 800364FC 0003233C 90 04 05 FC */ stw r0, 0x5fc(r4)
|
|
/* 80036500 00032340 4E 80 00 20 */ blr
|
|
/* 80036504 00032344 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80036508 00032348 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8003650C 0003234C 00 00 00 00 */ .4byte 0x00000000
|
|
.global GXSetChanCtrl
|
|
GXSetChanCtrl:
|
|
/* 80036510 00032350 2C 09 00 00 */ cmpwi r9, 0x0
|
|
/* 80036514 00032354 39 40 00 00 */ li r10, 0x0
|
|
/* 80036518 00032358 50 8A 0F BC */ rlwimi r10, r4, 1, 30, 30
|
|
/* 8003651C 0003235C 54 6B 07 BE */ clrlwi r11, r3, 30
|
|
/* 80036520 00032360 50 CA 07 FE */ rlwimi r10, r6, 0, 31, 31
|
|
/* 80036524 00032364 50 AA 36 72 */ rlwimi r10, r5, 6, 25, 25
|
|
/* 80036528 00032368 40 82 00 08 */ bne lbl_80036530
|
|
/* 8003652C 0003236C 39 00 00 00 */ li r8, 0x0
|
|
.global lbl_80036530
|
|
lbl_80036530:
|
|
/* 80036530 00032370 20 A9 00 02 */ subfic r5, r9, 0x2
|
|
/* 80036534 00032374 38 89 FF FE */ addi r4, r9, -0x2
|
|
/* 80036538 00032378 7C A4 23 78 */ or r4, r5, r4
|
|
/* 8003653C 0003237C 80 A2 86 08 */ lwz r5, __GXData@sda21(r2)
|
|
/* 80036540 00032380 7C 09 00 D0 */ neg r0, r9
|
|
/* 80036544 00032384 51 0A 3D F0 */ rlwimi r10, r8, 7, 23, 24
|
|
/* 80036548 00032388 50 8A 55 AC */ rlwimi r10, r4, 10, 22, 22
|
|
/* 8003654C 0003238C 55 64 10 3A */ slwi r4, r11, 2
|
|
/* 80036550 00032390 7C 00 4B 78 */ or r0, r0, r9
|
|
/* 80036554 00032394 2C 03 00 04 */ cmpwi r3, 0x4
|
|
/* 80036558 00032398 50 0A 5D 6A */ rlwimi r10, r0, 11, 21, 21
|
|
/* 8003655C 0003239C 7C 85 22 14 */ add r4, r5, r4
|
|
/* 80036560 000323A0 50 EA 16 BA */ rlwimi r10, r7, 2, 26, 29
|
|
/* 80036564 000323A4 38 00 10 00 */ li r0, 0x1000
|
|
/* 80036568 000323A8 50 EA 3C 68 */ rlwimi r10, r7, 7, 17, 20
|
|
/* 8003656C 000323AC 91 44 00 B8 */ stw r10, 0xb8(r4)
|
|
/* 80036570 000323B0 7C 00 58 30 */ slw r0, r0, r11
|
|
/* 80036574 000323B4 80 85 05 FC */ lwz r4, 0x5fc(r5)
|
|
/* 80036578 000323B8 7C 80 03 78 */ or r0, r4, r0
|
|
/* 8003657C 000323BC 90 05 05 FC */ stw r0, 0x5fc(r5)
|
|
/* 80036580 000323C0 40 82 00 18 */ bne lbl_80036598
|
|
/* 80036584 000323C4 91 45 00 C0 */ stw r10, 0xc0(r5)
|
|
/* 80036588 000323C8 80 05 05 FC */ lwz r0, 0x5fc(r5)
|
|
/* 8003658C 000323CC 60 00 50 00 */ ori r0, r0, 0x5000
|
|
/* 80036590 000323D0 90 05 05 FC */ stw r0, 0x5fc(r5)
|
|
/* 80036594 000323D4 4E 80 00 20 */ blr
|
|
.global lbl_80036598
|
|
lbl_80036598:
|
|
/* 80036598 000323D8 2C 03 00 05 */ cmpwi r3, 0x5
|
|
/* 8003659C 000323DC 4C 82 00 20 */ bnelr
|
|
/* 800365A0 000323E0 91 45 00 C4 */ stw r10, 0xc4(r5)
|
|
/* 800365A4 000323E4 80 05 05 FC */ lwz r0, 0x5fc(r5)
|
|
/* 800365A8 000323E8 60 00 A0 00 */ ori r0, r0, 0xa000
|
|
/* 800365AC 000323EC 90 05 05 FC */ stw r0, 0x5fc(r5)
|
|
/* 800365B0 000323F0 4E 80 00 20 */ blr
|
|
/* 800365B4 000323F4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800365B8 000323F8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 800365BC 000323FC 00 00 00 00 */ .4byte 0x00000000
|
|
.include "macros.inc"
|
|
|
|
.section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440
|
|
.global "@2975"
|
|
"@2975":
|
|
|
|
.4byte 0
|
|
|
|
.global "@2976"
|
|
"@2976":
|
|
|
|
.4byte 0x42B40000
|
|
|
|
.global "@2977"
|
|
"@2977":
|
|
|
|
.4byte 0x40490FDB
|
|
|
|
.global "@2978"
|
|
"@2978":
|
|
|
|
.4byte 0x43340000
|
|
|
|
.global "@2979"
|
|
"@2979":
|
|
|
|
.4byte 0xC47A0000
|
|
|
|
.global "@2980"
|
|
"@2980":
|
|
|
|
.4byte 0x447A0000
|
|
|
|
.global "@2981"
|
|
"@2981":
|
|
|
|
.4byte 0x3F800000
|
|
|
|
.global "@2982_8055E5D4"
|
|
"@2982_8055E5D4":
|
|
|
|
.4byte 0x40000000
|
|
|
|
.global "@2983"
|
|
"@2983":
|
|
|
|
.4byte 0xC0800000
|
|
|
|
.global "@2984"
|
|
"@2984":
|
|
|
|
.4byte 0x40800000
|
|
|
|
.global "@2985"
|
|
"@2985":
|
|
|
|
.4byte 0xC0000000
|
|
|
|
.global "@2997"
|
|
"@2997":
|
|
|
|
.4byte 0x3F000000
|
|
|
|
.global "@3017_8055E5E8"
|
|
"@3017_8055E5E8":
|
|
|
|
.4byte 0xDD5E0B6B
|
|
.4byte 0
|