mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 04:52:34 +01:00
60 lines
2.7 KiB
ArmAsm
60 lines
2.7 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_800328A4
|
|
/* DCA4 800328A4 44857000 */ mtc1 $a1, $f14
|
|
/* DCA8 800328A8 44868000 */ mtc1 $a2, $f16
|
|
/* DCAC 800328AC 14800003 */ bnez $a0, .L800328BC
|
|
/* DCB0 800328B0 24020006 */ addiu $v0, $zero, 6
|
|
.L800328B4:
|
|
/* DCB4 800328B4 03E00008 */ jr $ra
|
|
/* DCB8 800328B8 0000102D */ daddu $v0, $zero, $zero
|
|
.L800328BC:
|
|
/* DCBC 800328BC 8C830000 */ lw $v1, ($a0)
|
|
/* DCC0 800328C0 1462FFFC */ bne $v1, $v0, .L800328B4
|
|
/* DCC4 800328C4 00000000 */ nop
|
|
/* DCC8 800328C8 C482000C */ lwc1 $f2, 0xc($a0)
|
|
/* DCCC 800328CC 46027301 */ sub.s $f12, $f14, $f2
|
|
/* DCD0 800328D0 C4880018 */ lwc1 $f8, 0x18($a0)
|
|
/* DCD4 800328D4 46024081 */ sub.s $f2, $f8, $f2
|
|
/* DCD8 800328D8 460C1282 */ mul.s $f10, $f2, $f12
|
|
/* DCDC 800328DC 00000000 */ nop
|
|
/* DCE0 800328E0 C4800014 */ lwc1 $f0, 0x14($a0)
|
|
/* DCE4 800328E4 46008301 */ sub.s $f12, $f16, $f0
|
|
/* DCE8 800328E8 C4840020 */ lwc1 $f4, 0x20($a0)
|
|
/* DCEC 800328EC 46002001 */ sub.s $f0, $f4, $f0
|
|
/* DCF0 800328F0 460C0182 */ mul.s $f6, $f0, $f12
|
|
/* DCF4 800328F4 00000000 */ nop
|
|
/* DCF8 800328F8 46087301 */ sub.s $f12, $f14, $f8
|
|
/* DCFC 800328FC 460C1082 */ mul.s $f2, $f2, $f12
|
|
/* DD00 80032900 00000000 */ nop
|
|
/* DD04 80032904 46048301 */ sub.s $f12, $f16, $f4
|
|
/* DD08 80032908 460C0002 */ mul.s $f0, $f0, $f12
|
|
/* DD0C 8003290C 00000000 */ nop
|
|
/* DD10 80032910 46065280 */ add.s $f10, $f10, $f6
|
|
/* DD14 80032914 44802000 */ mtc1 $zero, $f4
|
|
/* DD18 80032918 00000000 */ nop
|
|
/* DD1C 8003291C 4604503C */ c.lt.s $f10, $f4
|
|
/* DD20 80032920 00000000 */ nop
|
|
/* DD24 80032924 45000005 */ bc1f .L8003293C
|
|
/* DD28 80032928 46001080 */ add.s $f2, $f2, $f0
|
|
/* DD2C 8003292C 4604103C */ c.lt.s $f2, $f4
|
|
/* DD30 80032930 00000000 */ nop
|
|
/* DD34 80032934 4501000C */ bc1t .L80032968
|
|
/* DD38 80032938 2402FFFF */ addiu $v0, $zero, -1
|
|
.L8003293C:
|
|
/* DD3C 8003293C 44800000 */ mtc1 $zero, $f0
|
|
/* DD40 80032940 00000000 */ nop
|
|
/* DD44 80032944 460A003C */ c.lt.s $f0, $f10
|
|
/* DD48 80032948 00000000 */ nop
|
|
/* DD4C 8003294C 45000006 */ bc1f .L80032968
|
|
/* DD50 80032950 0000102D */ daddu $v0, $zero, $zero
|
|
/* DD54 80032954 4602003C */ c.lt.s $f0, $f2
|
|
/* DD58 80032958 00000000 */ nop
|
|
/* DD5C 8003295C 45010002 */ bc1t .L80032968
|
|
/* DD60 80032960 24020001 */ addiu $v0, $zero, 1
|
|
/* DD64 80032964 0000102D */ daddu $v0, $zero, $zero
|
|
.L80032968:
|
|
/* DD68 80032968 03E00008 */ jr $ra
|
|
/* DD6C 8003296C 00000000 */ nop
|