mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-11 11:49:24 +00:00
71 lines
3.5 KiB
ArmAsm
71 lines
3.5 KiB
ArmAsm
|
glabel func_800C1FA4
|
||
|
/* B39144 800C1FA4 8CA30000 */ lw $v1, ($a1)
|
||
|
/* B39148 800C1FA8 3C06E700 */ lui $a2, 0xe700
|
||
|
/* B3914C 800C1FAC 3C0EF900 */ lui $t6, 0xf900
|
||
|
/* B39150 800C1FB0 AC660000 */ sw $a2, ($v1)
|
||
|
/* B39154 800C1FB4 24620008 */ addiu $v0, $v1, 8
|
||
|
/* B39158 800C1FB8 AC600004 */ sw $zero, 4($v1)
|
||
|
/* B3915C 800C1FBC 00401825 */ move $v1, $v0
|
||
|
/* B39160 800C1FC0 240FFF08 */ li $t7, -248
|
||
|
/* B39164 800C1FC4 AC6F0004 */ sw $t7, 4($v1)
|
||
|
/* B39168 800C1FC8 AC6E0000 */ sw $t6, ($v1)
|
||
|
/* B3916C 800C1FCC 24420008 */ addiu $v0, $v0, 8
|
||
|
/* B39170 800C1FD0 00401825 */ move $v1, $v0
|
||
|
/* B39174 800C1FD4 3C18EE00 */ lui $t8, 0xee00
|
||
|
/* B39178 800C1FD8 2419FFFF */ li $t9, -1
|
||
|
/* B3917C 800C1FDC AC790004 */ sw $t9, 4($v1)
|
||
|
/* B39180 800C1FE0 AC780000 */ sw $t8, ($v1)
|
||
|
/* B39184 800C1FE4 24420008 */ addiu $v0, $v0, 8
|
||
|
/* B39188 800C1FE8 00401825 */ move $v1, $v0
|
||
|
/* B3918C 800C1FEC 3C08EF00 */ lui $t0, (0xEF000CF0 >> 16) # lui $t0, 0xef00
|
||
|
/* B39190 800C1FF0 3C090FA5 */ lui $t1, (0x0FA54044 >> 16) # lui $t1, 0xfa5
|
||
|
/* B39194 800C1FF4 35294044 */ ori $t1, (0x0FA54044 & 0xFFFF) # ori $t1, $t1, 0x4044
|
||
|
/* B39198 800C1FF8 35080CF0 */ ori $t0, (0xEF000CF0 & 0xFFFF) # ori $t0, $t0, 0xcf0
|
||
|
/* B3919C 800C1FFC AC680000 */ sw $t0, ($v1)
|
||
|
/* B391A0 800C2000 AC690004 */ sw $t1, 4($v1)
|
||
|
/* B391A4 800C2004 24420008 */ addiu $v0, $v0, 8
|
||
|
/* B391A8 800C2008 00401825 */ move $v1, $v0
|
||
|
/* B391AC 800C200C 3C0AED00 */ li $t2, 0xED000000 # 0.000000
|
||
|
/* B391B0 800C2010 AC6A0000 */ sw $t2, ($v1)
|
||
|
/* B391B4 800C2014 8C8B0000 */ lw $t3, ($a0)
|
||
|
/* B391B8 800C2018 8C980004 */ lw $t8, 4($a0)
|
||
|
/* B391BC 800C201C 3C014080 */ li $at, 0x40800000 # 0.000000
|
||
|
/* B391C0 800C2020 448B2000 */ mtc1 $t3, $f4
|
||
|
/* B391C4 800C2024 44988000 */ mtc1 $t8, $f16
|
||
|
/* B391C8 800C2028 44810000 */ mtc1 $at, $f0
|
||
|
/* B391CC 800C202C 468021A0 */ cvt.s.w $f6, $f4
|
||
|
/* B391D0 800C2030 24420008 */ addiu $v0, $v0, 8
|
||
|
/* B391D4 800C2034 3C01F600 */ lui $at, 0xf600
|
||
|
/* B391D8 800C2038 468084A0 */ cvt.s.w $f18, $f16
|
||
|
/* B391DC 800C203C 46003202 */ mul.s $f8, $f6, $f0
|
||
|
/* B391E0 800C2040 00000000 */ nop
|
||
|
/* B391E4 800C2044 46009102 */ mul.s $f4, $f18, $f0
|
||
|
/* B391E8 800C2048 4600428D */ trunc.w.s $f10, $f8
|
||
|
/* B391EC 800C204C 4600218D */ trunc.w.s $f6, $f4
|
||
|
/* B391F0 800C2050 440D5000 */ mfc1 $t5, $f10
|
||
|
/* B391F4 800C2054 44083000 */ mfc1 $t0, $f6
|
||
|
/* B391F8 800C2058 31AE0FFF */ andi $t6, $t5, 0xfff
|
||
|
/* B391FC 800C205C 000E7B00 */ sll $t7, $t6, 0xc
|
||
|
/* B39200 800C2060 31090FFF */ andi $t1, $t0, 0xfff
|
||
|
/* B39204 800C2064 01E95025 */ or $t2, $t7, $t1
|
||
|
/* B39208 800C2068 AC6A0004 */ sw $t2, 4($v1)
|
||
|
/* B3920C 800C206C 8C8B0000 */ lw $t3, ($a0)
|
||
|
/* B39210 800C2070 8C980004 */ lw $t8, 4($a0)
|
||
|
/* B39214 800C2074 00401825 */ move $v1, $v0
|
||
|
/* B39218 800C2078 316C03FF */ andi $t4, $t3, 0x3ff
|
||
|
/* B3921C 800C207C 000C6B80 */ sll $t5, $t4, 0xe
|
||
|
/* B39220 800C2080 331903FF */ andi $t9, $t8, 0x3ff
|
||
|
/* B39224 800C2084 00194080 */ sll $t0, $t9, 2
|
||
|
/* B39228 800C2088 01A17025 */ or $t6, $t5, $at
|
||
|
/* B3922C 800C208C 01C87825 */ or $t7, $t6, $t0
|
||
|
/* B39230 800C2090 AC6F0000 */ sw $t7, ($v1)
|
||
|
/* B39234 800C2094 AC600004 */ sw $zero, 4($v1)
|
||
|
/* B39238 800C2098 24420008 */ addiu $v0, $v0, 8
|
||
|
/* B3923C 800C209C 00401825 */ move $v1, $v0
|
||
|
/* B39240 800C20A0 AC660000 */ sw $a2, ($v1)
|
||
|
/* B39244 800C20A4 AC600004 */ sw $zero, 4($v1)
|
||
|
/* B39248 800C20A8 24420008 */ addiu $v0, $v0, 8
|
||
|
/* B3924C 800C20AC 03E00008 */ jr $ra
|
||
|
/* B39250 800C20B0 ACA20000 */ sw $v0, ($a1)
|
||
|
|