mirror of https://github.com/PrimeDecomp/prime.git
323 lines
16 KiB
ArmAsm
323 lines
16 KiB
ArmAsm
|
.include "macros.inc"
|
||
|
|
||
|
.section .text, "ax" # 0x80003640 - 0x803CB1C0
|
||
|
|
||
|
.global ToRGB5A3__6CColorCFv
|
||
|
ToRGB5A3__6CColorCFv:
|
||
|
/* 8036306C 0035FFCC 88 A3 00 02 */ lbz r5, 2(r3)
|
||
|
/* 80363070 0035FFD0 88 83 00 03 */ lbz r4, 3(r3)
|
||
|
/* 80363074 0035FFD4 54 A0 EE FE */ rlwinm r0, r5, 0x1d, 0x1b, 0x1f
|
||
|
/* 80363078 0035FFD8 88 C3 00 01 */ lbz r6, 1(r3)
|
||
|
/* 8036307C 0035FFDC 60 00 80 00 */ ori r0, r0, 0x8000
|
||
|
/* 80363080 0035FFE0 88 E3 00 00 */ lbz r7, 0(r3)
|
||
|
/* 80363084 0035FFE4 50 C0 15 B4 */ rlwimi r0, r6, 2, 0x16, 0x1a
|
||
|
/* 80363088 0035FFE8 28 04 00 FF */ cmplwi r4, 0xff
|
||
|
/* 8036308C 0035FFEC 50 E0 3C 6A */ rlwimi r0, r7, 7, 0x11, 0x15
|
||
|
/* 80363090 0035FFF0 54 03 04 3E */ clrlwi r3, r0, 0x10
|
||
|
/* 80363094 0035FFF4 4D 82 00 20 */ beqlr
|
||
|
/* 80363098 0035FFF8 54 A0 E7 3E */ rlwinm r0, r5, 0x1c, 0x1c, 0x1f
|
||
|
/* 8036309C 0035FFFC 50 80 3C 66 */ rlwimi r0, r4, 7, 0x11, 0x13
|
||
|
/* 803630A0 00360000 50 C0 06 36 */ rlwimi r0, r6, 0, 0x18, 0x1b
|
||
|
/* 803630A4 00360004 50 E0 25 2E */ rlwimi r0, r7, 4, 0x14, 0x17
|
||
|
/* 803630A8 00360008 54 03 04 3E */ clrlwi r3, r0, 0x10
|
||
|
/* 803630AC 0036000C 4E 80 00 20 */ blr
|
||
|
|
||
|
.global Add__6CColorFRC6CColorRC6CColor
|
||
|
Add__6CColorFRC6CColorRC6CColor:
|
||
|
/* 803630B0 00360010 94 21 FF E0 */ stwu r1, -0x20(r1)
|
||
|
/* 803630B4 00360014 38 ED 9E 6C */ addi r7, r13, lbl_805A8A2C@sda21
|
||
|
/* 803630B8 00360018 89 04 00 03 */ lbz r8, 3(r4)
|
||
|
/* 803630BC 0036001C 88 C5 00 03 */ lbz r6, 3(r5)
|
||
|
/* 803630C0 00360020 80 0D 9E 6C */ lwz r0, lbl_805A8A2C@sda21(r13)
|
||
|
/* 803630C4 00360024 7C C8 32 14 */ add r6, r8, r6
|
||
|
/* 803630C8 00360028 7C 06 00 40 */ cmplw r6, r0
|
||
|
/* 803630CC 0036002C 90 C1 00 08 */ stw r6, 8(r1)
|
||
|
/* 803630D0 00360030 40 80 00 08 */ bge lbl_803630D8
|
||
|
/* 803630D4 00360034 38 E1 00 08 */ addi r7, r1, 8
|
||
|
lbl_803630D8:
|
||
|
/* 803630D8 00360038 88 C4 00 02 */ lbz r6, 2(r4)
|
||
|
/* 803630DC 0036003C 39 0D 9E 68 */ addi r8, r13, lbl_805A8A28@sda21
|
||
|
/* 803630E0 00360040 88 05 00 02 */ lbz r0, 2(r5)
|
||
|
/* 803630E4 00360044 80 E7 00 00 */ lwz r7, 0(r7)
|
||
|
/* 803630E8 00360048 7C C6 02 14 */ add r6, r6, r0
|
||
|
/* 803630EC 0036004C 80 0D 9E 68 */ lwz r0, lbl_805A8A28@sda21(r13)
|
||
|
/* 803630F0 00360050 90 C1 00 0C */ stw r6, 0xc(r1)
|
||
|
/* 803630F4 00360054 54 E9 06 3E */ clrlwi r9, r7, 0x18
|
||
|
/* 803630F8 00360058 7C 06 00 40 */ cmplw r6, r0
|
||
|
/* 803630FC 0036005C 40 80 00 08 */ bge lbl_80363104
|
||
|
/* 80363100 00360060 39 01 00 0C */ addi r8, r1, 0xc
|
||
|
lbl_80363104:
|
||
|
/* 80363104 00360064 88 C4 00 01 */ lbz r6, 1(r4)
|
||
|
/* 80363108 00360068 38 ED 9E 64 */ addi r7, r13, lbl_805A8A24@sda21
|
||
|
/* 8036310C 0036006C 88 05 00 01 */ lbz r0, 1(r5)
|
||
|
/* 80363110 00360070 81 08 00 00 */ lwz r8, 0(r8)
|
||
|
/* 80363114 00360074 7C C6 02 14 */ add r6, r6, r0
|
||
|
/* 80363118 00360078 80 0D 9E 64 */ lwz r0, lbl_805A8A24@sda21(r13)
|
||
|
/* 8036311C 0036007C 90 C1 00 10 */ stw r6, 0x10(r1)
|
||
|
/* 80363120 00360080 55 08 06 3E */ clrlwi r8, r8, 0x18
|
||
|
/* 80363124 00360084 7C 06 00 40 */ cmplw r6, r0
|
||
|
/* 80363128 00360088 40 80 00 08 */ bge lbl_80363130
|
||
|
/* 8036312C 0036008C 38 E1 00 10 */ addi r7, r1, 0x10
|
||
|
lbl_80363130:
|
||
|
/* 80363130 00360090 88 C4 00 00 */ lbz r6, 0(r4)
|
||
|
/* 80363134 00360094 38 8D 9E 60 */ addi r4, r13, lbl_805A8A20@sda21
|
||
|
/* 80363138 00360098 88 05 00 00 */ lbz r0, 0(r5)
|
||
|
/* 8036313C 0036009C 80 E7 00 00 */ lwz r7, 0(r7)
|
||
|
/* 80363140 003600A0 7C A6 02 14 */ add r5, r6, r0
|
||
|
/* 80363144 003600A4 80 0D 9E 60 */ lwz r0, lbl_805A8A20@sda21(r13)
|
||
|
/* 80363148 003600A8 90 A1 00 14 */ stw r5, 0x14(r1)
|
||
|
/* 8036314C 003600AC 54 E6 06 3E */ clrlwi r6, r7, 0x18
|
||
|
/* 80363150 003600B0 7C 05 00 40 */ cmplw r5, r0
|
||
|
/* 80363154 003600B4 40 80 00 08 */ bge lbl_8036315C
|
||
|
/* 80363158 003600B8 38 81 00 14 */ addi r4, r1, 0x14
|
||
|
lbl_8036315C:
|
||
|
/* 8036315C 003600BC 80 04 00 00 */ lwz r0, 0(r4)
|
||
|
/* 80363160 003600C0 98 03 00 00 */ stb r0, 0(r3)
|
||
|
/* 80363164 003600C4 98 C3 00 01 */ stb r6, 1(r3)
|
||
|
/* 80363168 003600C8 99 03 00 02 */ stb r8, 2(r3)
|
||
|
/* 8036316C 003600CC 99 23 00 03 */ stb r9, 3(r3)
|
||
|
/* 80363170 003600D0 38 21 00 20 */ addi r1, r1, 0x20
|
||
|
/* 80363174 003600D4 4E 80 00 20 */ blr
|
||
|
|
||
|
.global Modulate__6CColorFRC6CColorRC6CColor
|
||
|
Modulate__6CColorFRC6CColorRC6CColor:
|
||
|
/* 80363178 003600D8 88 E4 00 03 */ lbz r7, 3(r4)
|
||
|
/* 8036317C 003600DC 3C C0 80 81 */ lis r6, 0x80808081@ha
|
||
|
/* 80363180 003600E0 88 05 00 03 */ lbz r0, 3(r5)
|
||
|
/* 80363184 003600E4 39 66 80 81 */ addi r11, r6, 0x80808081@l
|
||
|
/* 80363188 003600E8 89 24 00 02 */ lbz r9, 2(r4)
|
||
|
/* 8036318C 003600EC 7D 47 01 D6 */ mullw r10, r7, r0
|
||
|
/* 80363190 003600F0 89 05 00 02 */ lbz r8, 2(r5)
|
||
|
/* 80363194 003600F4 88 E4 00 01 */ lbz r7, 1(r4)
|
||
|
/* 80363198 003600F8 88 C5 00 01 */ lbz r6, 1(r5)
|
||
|
/* 8036319C 003600FC 88 05 00 00 */ lbz r0, 0(r5)
|
||
|
/* 803631A0 00360100 88 84 00 00 */ lbz r4, 0(r4)
|
||
|
/* 803631A4 00360104 7C A7 31 D6 */ mullw r5, r7, r6
|
||
|
/* 803631A8 00360108 7C CB 50 96 */ mulhw r6, r11, r10
|
||
|
/* 803631AC 0036010C 7C C6 52 14 */ add r6, r6, r10
|
||
|
/* 803631B0 00360110 7C C7 3E 70 */ srawi r7, r6, 7
|
||
|
/* 803631B4 00360114 7D 09 41 D6 */ mullw r8, r9, r8
|
||
|
/* 803631B8 00360118 54 E9 0F FE */ srwi r9, r7, 0x1f
|
||
|
/* 803631BC 0036011C 7C 04 01 D6 */ mullw r0, r4, r0
|
||
|
/* 803631C0 00360120 7C 8B 40 96 */ mulhw r4, r11, r8
|
||
|
/* 803631C4 00360124 7C CB 28 96 */ mulhw r6, r11, r5
|
||
|
/* 803631C8 00360128 7C 84 42 14 */ add r4, r4, r8
|
||
|
/* 803631CC 0036012C 7D 07 4A 14 */ add r8, r7, r9
|
||
|
/* 803631D0 00360130 7C 87 3E 70 */ srawi r7, r4, 7
|
||
|
/* 803631D4 00360134 7C A6 2A 14 */ add r5, r6, r5
|
||
|
/* 803631D8 00360138 7C 8B 00 96 */ mulhw r4, r11, r0
|
||
|
/* 803631DC 0036013C 54 E6 0F FE */ srwi r6, r7, 0x1f
|
||
|
/* 803631E0 00360140 7C A5 3E 70 */ srawi r5, r5, 7
|
||
|
/* 803631E4 00360144 7C E7 32 14 */ add r7, r7, r6
|
||
|
/* 803631E8 00360148 54 A6 0F FE */ srwi r6, r5, 0x1f
|
||
|
/* 803631EC 0036014C 7C 04 02 14 */ add r0, r4, r0
|
||
|
/* 803631F0 00360150 7C 00 3E 70 */ srawi r0, r0, 7
|
||
|
/* 803631F4 00360154 7C A5 32 14 */ add r5, r5, r6
|
||
|
/* 803631F8 00360158 54 04 0F FE */ srwi r4, r0, 0x1f
|
||
|
/* 803631FC 0036015C 7C 00 22 14 */ add r0, r0, r4
|
||
|
/* 80363200 00360160 98 03 00 00 */ stb r0, 0(r3)
|
||
|
/* 80363204 00360164 98 A3 00 01 */ stb r5, 1(r3)
|
||
|
/* 80363208 00360168 98 E3 00 02 */ stb r7, 2(r3)
|
||
|
/* 8036320C 0036016C 99 03 00 03 */ stb r8, 3(r3)
|
||
|
/* 80363210 00360170 4E 80 00 20 */ blr
|
||
|
|
||
|
.global Lerp__6CColorFUiUif
|
||
|
Lerp__6CColorFUiUif:
|
||
|
/* 80363214 00360174 94 21 FF F0 */ stwu r1, -0x10(r1)
|
||
|
/* 80363218 00360178 7C 08 02 A6 */ mflr r0
|
||
|
/* 8036321C 0036017C C0 02 CD A0 */ lfs f0, lbl_805AEAC0@sda21(r2)
|
||
|
/* 80363220 00360180 90 01 00 14 */ stw r0, 0x14(r1)
|
||
|
/* 80363224 00360184 EC 20 00 72 */ fmuls f1, f0, f1
|
||
|
/* 80363228 00360188 93 E1 00 0C */ stw r31, 0xc(r1)
|
||
|
/* 8036322C 0036018C 7C 9F 23 78 */ mr r31, r4
|
||
|
/* 80363230 00360190 93 C1 00 08 */ stw r30, 8(r1)
|
||
|
/* 80363234 00360194 7C 7E 1B 78 */ mr r30, r3
|
||
|
/* 80363238 00360198 48 02 67 1D */ bl __cvt_fp2unsigned
|
||
|
/* 8036323C 0036019C 3C A0 00 FF */ lis r5, 0x00FF00FF@ha
|
||
|
/* 80363240 003601A0 3C 80 FF 01 */ lis r4, 0xFF00FF00@ha
|
||
|
/* 80363244 003601A4 38 E5 00 FF */ addi r7, r5, 0x00FF00FF@l
|
||
|
/* 80363248 003601A8 57 C6 C2 3E */ srwi r6, r30, 8
|
||
|
/* 8036324C 003601AC 57 E5 C2 3E */ srwi r5, r31, 8
|
||
|
/* 80363250 003601B0 38 04 FF 00 */ addi r0, r4, 0xFF00FF00@l
|
||
|
/* 80363254 003601B4 7C C8 38 38 */ and r8, r6, r7
|
||
|
/* 80363258 003601B8 7F C6 38 38 */ and r6, r30, r7
|
||
|
/* 8036325C 003601BC 7C A4 38 38 */ and r4, r5, r7
|
||
|
/* 80363260 003601C0 7F E5 38 38 */ and r5, r31, r7
|
||
|
/* 80363264 003601C4 7D 28 20 50 */ subf r9, r8, r4
|
||
|
/* 80363268 003601C8 7C 86 28 50 */ subf r4, r6, r5
|
||
|
/* 8036326C 003601CC 7D 29 19 D6 */ mullw r9, r9, r3
|
||
|
/* 80363270 003601D0 7C 84 19 D6 */ mullw r4, r4, r3
|
||
|
/* 80363274 003601D4 55 23 C2 3E */ srwi r3, r9, 8
|
||
|
/* 80363278 003601D8 7C 63 42 14 */ add r3, r3, r8
|
||
|
/* 8036327C 003601DC 54 84 C2 3E */ srwi r4, r4, 8
|
||
|
/* 80363280 003601E0 54 63 40 2E */ slwi r3, r3, 8
|
||
|
/* 80363284 003601E4 7C 84 32 14 */ add r4, r4, r6
|
||
|
/* 80363288 003601E8 7C 84 38 38 */ and r4, r4, r7
|
||
|
/* 8036328C 003601EC 7C 60 00 38 */ and r0, r3, r0
|
||
|
/* 80363290 003601F0 7C 83 03 78 */ or r3, r4, r0
|
||
|
/* 80363294 003601F4 83 E1 00 0C */ lwz r31, 0xc(r1)
|
||
|
/* 80363298 003601F8 83 C1 00 08 */ lwz r30, 8(r1)
|
||
|
/* 8036329C 003601FC 80 01 00 14 */ lwz r0, 0x14(r1)
|
||
|
/* 803632A0 00360200 7C 08 03 A6 */ mtlr r0
|
||
|
/* 803632A4 00360204 38 21 00 10 */ addi r1, r1, 0x10
|
||
|
/* 803632A8 00360208 4E 80 00 20 */ blr
|
||
|
|
||
|
.global Lerp__6CColorFRC6CColorRC6CColorf
|
||
|
Lerp__6CColorFRC6CColorRC6CColorf:
|
||
|
/* 803632AC 0036020C 94 21 FF F0 */ stwu r1, -0x10(r1)
|
||
|
/* 803632B0 00360210 7C 08 02 A6 */ mflr r0
|
||
|
/* 803632B4 00360214 C0 02 CD A4 */ lfs f0, lbl_805AEAC4@sda21(r2)
|
||
|
/* 803632B8 00360218 90 01 00 14 */ stw r0, 0x14(r1)
|
||
|
/* 803632BC 0036021C ED A0 08 28 */ fsubs f13, f0, f1
|
||
|
/* 803632C0 00360220 E0 A4 A0 00 */ psq_l f5, 0(r4), 1, qr2
|
||
|
/* 803632C4 00360224 E0 05 A0 00 */ psq_l f0, 0(r5), 1, qr2
|
||
|
/* 803632C8 00360228 E0 C4 A0 01 */ psq_l f6, 1(r4), 1, qr2
|
||
|
/* 803632CC 0036022C E0 45 A0 01 */ psq_l f2, 1(r5), 1, qr2
|
||
|
/* 803632D0 00360230 E1 64 A0 02 */ psq_l f11, 2(r4), 1, qr2
|
||
|
/* 803632D4 00360234 E0 E5 A0 02 */ psq_l f7, 2(r5), 1, qr2
|
||
|
/* 803632D8 00360238 E1 84 A0 03 */ psq_l f12, 3(r4), 1, qr2
|
||
|
/* 803632DC 0036023C E1 05 A0 03 */ psq_l f8, 3(r5), 1, qr2
|
||
|
/* 803632E0 00360240 C1 42 CD A8 */ lfs f10, lbl_805AEAC8@sda21(r2)
|
||
|
/* 803632E4 00360244 EC 8A 00 32 */ fmuls f4, f10, f0
|
||
|
/* 803632E8 00360248 EC 6A 00 B2 */ fmuls f3, f10, f2
|
||
|
/* 803632EC 0036024C EC 4A 01 F2 */ fmuls f2, f10, f7
|
||
|
/* 803632F0 00360250 EC 0A 02 32 */ fmuls f0, f10, f8
|
||
|
/* 803632F4 00360254 ED 2A 01 72 */ fmuls f9, f10, f5
|
||
|
/* 803632F8 00360258 ED 01 01 32 */ fmuls f8, f1, f4
|
||
|
/* 803632FC 0036025C EC EA 01 B2 */ fmuls f7, f10, f6
|
||
|
/* 80363300 00360260 EC C1 00 F2 */ fmuls f6, f1, f3
|
||
|
/* 80363304 00360264 EC AA 02 F2 */ fmuls f5, f10, f11
|
||
|
/* 80363308 00360268 EC 61 00 B2 */ fmuls f3, f1, f2
|
||
|
/* 8036330C 0036026C EC 8A 03 32 */ fmuls f4, f10, f12
|
||
|
/* 80363310 00360270 EC 01 00 32 */ fmuls f0, f1, f0
|
||
|
/* 80363314 00360274 EC 2D 42 7A */ fmadds f1, f13, f9, f8
|
||
|
/* 80363318 00360278 EC 4D 31 FA */ fmadds f2, f13, f7, f6
|
||
|
/* 8036331C 0036027C EC 6D 19 7A */ fmadds f3, f13, f5, f3
|
||
|
/* 80363320 00360280 EC 8D 01 3A */ fmadds f4, f13, f4, f0
|
||
|
/* 80363324 00360284 48 00 00 C9 */ bl __ct__6CColorFffff
|
||
|
/* 80363328 00360288 80 01 00 14 */ lwz r0, 0x14(r1)
|
||
|
/* 8036332C 0036028C 7C 08 03 A6 */ mtlr r0
|
||
|
/* 80363330 00360290 38 21 00 10 */ addi r1, r1, 0x10
|
||
|
/* 80363334 00360294 4E 80 00 20 */ blr
|
||
|
|
||
|
.global Get__6CColorCFRfRfRf
|
||
|
Get__6CColorCFRfRfRf:
|
||
|
/* 80363338 00360298 E0 03 A0 00 */ psq_l f0, 0(r3), 1, qr2
|
||
|
/* 8036333C 0036029C C0 22 CD A8 */ lfs f1, lbl_805AEAC8@sda21(r2)
|
||
|
/* 80363340 003602A0 EC 01 00 32 */ fmuls f0, f1, f0
|
||
|
/* 80363344 003602A4 D0 04 00 00 */ stfs f0, 0(r4)
|
||
|
/* 80363348 003602A8 E0 03 A0 01 */ psq_l f0, 1(r3), 1, qr2
|
||
|
/* 8036334C 003602AC EC 01 00 32 */ fmuls f0, f1, f0
|
||
|
/* 80363350 003602B0 D0 05 00 00 */ stfs f0, 0(r5)
|
||
|
/* 80363354 003602B4 E0 03 A0 02 */ psq_l f0, 2(r3), 1, qr2
|
||
|
/* 80363358 003602B8 EC 01 00 32 */ fmuls f0, f1, f0
|
||
|
/* 8036335C 003602BC D0 06 00 00 */ stfs f0, 0(r6)
|
||
|
/* 80363360 003602C0 4E 80 00 20 */ blr
|
||
|
|
||
|
.global Get__6CColorCFRfRfRfRf
|
||
|
Get__6CColorCFRfRfRfRf:
|
||
|
/* 80363364 003602C4 E0 03 A0 00 */ psq_l f0, 0(r3), 1, qr2
|
||
|
/* 80363368 003602C8 C0 22 CD A8 */ lfs f1, lbl_805AEAC8@sda21(r2)
|
||
|
/* 8036336C 003602CC EC 01 00 32 */ fmuls f0, f1, f0
|
||
|
/* 80363370 003602D0 D0 04 00 00 */ stfs f0, 0(r4)
|
||
|
/* 80363374 003602D4 E0 03 A0 01 */ psq_l f0, 1(r3), 1, qr2
|
||
|
/* 80363378 003602D8 EC 01 00 32 */ fmuls f0, f1, f0
|
||
|
/* 8036337C 003602DC D0 05 00 00 */ stfs f0, 0(r5)
|
||
|
/* 80363380 003602E0 E0 03 A0 02 */ psq_l f0, 2(r3), 1, qr2
|
||
|
/* 80363384 003602E4 EC 01 00 32 */ fmuls f0, f1, f0
|
||
|
/* 80363388 003602E8 D0 06 00 00 */ stfs f0, 0(r6)
|
||
|
/* 8036338C 003602EC E0 03 A0 03 */ psq_l f0, 3(r3), 1, qr2
|
||
|
/* 80363390 003602F0 EC 01 00 32 */ fmuls f0, f1, f0
|
||
|
/* 80363394 003602F4 D0 07 00 00 */ stfs f0, 0(r7)
|
||
|
/* 80363398 003602F8 4E 80 00 20 */ blr
|
||
|
|
||
|
.global Set__6CColorFffff
|
||
|
Set__6CColorFffff:
|
||
|
/* 8036339C 003602FC C0 02 CD AC */ lfs f0, lbl_805AEACC@sda21(r2)
|
||
|
/* 803633A0 00360300 94 21 FF F0 */ stwu r1, -0x10(r1)
|
||
|
/* 803633A4 00360304 EC 20 00 72 */ fmuls f1, f0, f1
|
||
|
/* 803633A8 00360308 F0 21 A0 0B */ psq_st f1, 11(r1), 1, qr2
|
||
|
/* 803633AC 0036030C EC 40 00 B2 */ fmuls f2, f0, f2
|
||
|
/* 803633B0 00360310 88 01 00 0B */ lbz r0, 0xb(r1)
|
||
|
/* 803633B4 00360314 98 03 00 00 */ stb r0, 0(r3)
|
||
|
/* 803633B8 00360318 F0 41 A0 0A */ psq_st f2, 10(r1), 1, qr2
|
||
|
/* 803633BC 0036031C EC 60 00 F2 */ fmuls f3, f0, f3
|
||
|
/* 803633C0 00360320 88 01 00 0A */ lbz r0, 0xa(r1)
|
||
|
/* 803633C4 00360324 98 03 00 01 */ stb r0, 1(r3)
|
||
|
/* 803633C8 00360328 F0 61 A0 09 */ psq_st f3, 9(r1), 1, qr2
|
||
|
/* 803633CC 0036032C EC 80 01 32 */ fmuls f4, f0, f4
|
||
|
/* 803633D0 00360330 88 01 00 09 */ lbz r0, 9(r1)
|
||
|
/* 803633D4 00360334 98 03 00 02 */ stb r0, 2(r3)
|
||
|
/* 803633D8 00360338 F0 81 A0 08 */ psq_st f4, 8(r1), 1, qr2
|
||
|
/* 803633DC 0036033C 88 01 00 08 */ lbz r0, 8(r1)
|
||
|
/* 803633E0 00360340 98 03 00 03 */ stb r0, 3(r3)
|
||
|
/* 803633E4 00360344 38 21 00 10 */ addi r1, r1, 0x10
|
||
|
/* 803633E8 00360348 4E 80 00 20 */ blr
|
||
|
|
||
|
.global __ct__6CColorFffff
|
||
|
__ct__6CColorFffff:
|
||
|
/* 803633EC 0036034C C0 C2 CD AC */ lfs f6, lbl_805AEACC@sda21(r2)
|
||
|
/* 803633F0 00360350 94 21 FF D0 */ stwu r1, -0x30(r1)
|
||
|
/* 803633F4 00360354 EC A6 00 72 */ fmuls f5, f6, f1
|
||
|
/* 803633F8 00360358 EC 26 00 F2 */ fmuls f1, f6, f3
|
||
|
/* 803633FC 0036035C EC 06 00 B2 */ fmuls f0, f6, f2
|
||
|
/* 80363400 00360360 FC 60 28 1E */ fctiwz f3, f5
|
||
|
/* 80363404 00360364 FC 20 08 1E */ fctiwz f1, f1
|
||
|
/* 80363408 00360368 FC 40 00 1E */ fctiwz f2, f0
|
||
|
/* 8036340C 0036036C EC 06 01 32 */ fmuls f0, f6, f4
|
||
|
/* 80363410 00360370 D8 61 00 08 */ stfd f3, 8(r1)
|
||
|
/* 80363414 00360374 D8 41 00 10 */ stfd f2, 0x10(r1)
|
||
|
/* 80363418 00360378 80 01 00 0C */ lwz r0, 0xc(r1)
|
||
|
/* 8036341C 0036037C FC 00 00 1E */ fctiwz f0, f0
|
||
|
/* 80363420 00360380 D8 21 00 18 */ stfd f1, 0x18(r1)
|
||
|
/* 80363424 00360384 80 81 00 14 */ lwz r4, 0x14(r1)
|
||
|
/* 80363428 00360388 98 03 00 00 */ stb r0, 0(r3)
|
||
|
/* 8036342C 0036038C 80 01 00 1C */ lwz r0, 0x1c(r1)
|
||
|
/* 80363430 00360390 98 83 00 01 */ stb r4, 1(r3)
|
||
|
/* 80363434 00360394 D8 01 00 20 */ stfd f0, 0x20(r1)
|
||
|
/* 80363438 00360398 98 03 00 02 */ stb r0, 2(r3)
|
||
|
/* 8036343C 0036039C 80 01 00 24 */ lwz r0, 0x24(r1)
|
||
|
/* 80363440 003603A0 98 03 00 03 */ stb r0, 3(r3)
|
||
|
/* 80363444 003603A4 38 21 00 30 */ addi r1, r1, 0x30
|
||
|
/* 80363448 003603A8 4E 80 00 20 */ blr
|
||
|
|
||
|
.global __ct__6CColorFR12CInputStream
|
||
|
__ct__6CColorFR12CInputStream:
|
||
|
/* 8036344C 003603AC 94 21 FF D0 */ stwu r1, -0x30(r1)
|
||
|
/* 80363450 003603B0 7C 08 02 A6 */ mflr r0
|
||
|
/* 80363454 003603B4 90 01 00 34 */ stw r0, 0x34(r1)
|
||
|
/* 80363458 003603B8 DB E1 00 28 */ stfd f31, 0x28(r1)
|
||
|
/* 8036345C 003603BC DB C1 00 20 */ stfd f30, 0x20(r1)
|
||
|
/* 80363460 003603C0 DB A1 00 18 */ stfd f29, 0x18(r1)
|
||
|
/* 80363464 003603C4 93 E1 00 14 */ stw r31, 0x14(r1)
|
||
|
/* 80363468 003603C8 7C 9F 23 78 */ mr r31, r4
|
||
|
/* 8036346C 003603CC 93 C1 00 10 */ stw r30, 0x10(r1)
|
||
|
/* 80363470 003603D0 7C 7E 1B 78 */ mr r30, r3
|
||
|
/* 80363474 003603D4 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 80363478 003603D8 4B FD B7 B1 */ bl ReadFloat__12CInputStreamFv
|
||
|
/* 8036347C 003603DC FF E0 08 90 */ fmr f31, f1
|
||
|
/* 80363480 003603E0 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 80363484 003603E4 4B FD B7 A5 */ bl ReadFloat__12CInputStreamFv
|
||
|
/* 80363488 003603E8 FF C0 08 90 */ fmr f30, f1
|
||
|
/* 8036348C 003603EC 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 80363490 003603F0 4B FD B7 99 */ bl ReadFloat__12CInputStreamFv
|
||
|
/* 80363494 003603F4 FF A0 08 90 */ fmr f29, f1
|
||
|
/* 80363498 003603F8 7F E3 FB 78 */ mr r3, r31
|
||
|
/* 8036349C 003603FC 4B FD B7 8D */ bl ReadFloat__12CInputStreamFv
|
||
|
/* 803634A0 00360400 FC 80 08 90 */ fmr f4, f1
|
||
|
/* 803634A4 00360404 7F C3 F3 78 */ mr r3, r30
|
||
|
/* 803634A8 00360408 FC 20 F8 90 */ fmr f1, f31
|
||
|
/* 803634AC 0036040C FC 40 F0 90 */ fmr f2, f30
|
||
|
/* 803634B0 00360410 FC 60 E8 90 */ fmr f3, f29
|
||
|
/* 803634B4 00360414 4B FF FE E9 */ bl Set__6CColorFffff
|
||
|
/* 803634B8 00360418 80 01 00 34 */ lwz r0, 0x34(r1)
|
||
|
/* 803634BC 0036041C 7F C3 F3 78 */ mr r3, r30
|
||
|
/* 803634C0 00360420 CB E1 00 28 */ lfd f31, 0x28(r1)
|
||
|
/* 803634C4 00360424 CB C1 00 20 */ lfd f30, 0x20(r1)
|
||
|
/* 803634C8 00360428 CB A1 00 18 */ lfd f29, 0x18(r1)
|
||
|
/* 803634CC 0036042C 83 E1 00 14 */ lwz r31, 0x14(r1)
|
||
|
/* 803634D0 00360430 83 C1 00 10 */ lwz r30, 0x10(r1)
|
||
|
/* 803634D4 00360434 7C 08 03 A6 */ mtlr r0
|
||
|
/* 803634D8 00360438 38 21 00 30 */ addi r1, r1, 0x30
|
||
|
/* 803634DC 0036043C 4E 80 00 20 */ blr
|