papermario/asm/nonmatchings/code_EE65B0/func_80240340_EE68F0.s
2021-01-13 00:42:27 +09:00

43 lines
2.0 KiB
ArmAsm
Generated

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240340_EE68F0
/* EE68F0 80240340 8C820084 */ lw $v0, 0x84($a0)
/* EE68F4 80240344 8C830090 */ lw $v1, 0x90($a0)
/* EE68F8 80240348 00431023 */ subu $v0, $v0, $v1
/* EE68FC 8024034C 44821000 */ mtc1 $v0, $f2
/* EE6900 80240350 00000000 */ nop
/* EE6904 80240354 468010A0 */ cvt.s.w $f2, $f2
/* EE6908 80240358 8C820088 */ lw $v0, 0x88($a0)
/* EE690C 8024035C 8C830094 */ lw $v1, 0x94($a0)
/* EE6910 80240360 46021082 */ mul.s $f2, $f2, $f2
/* EE6914 80240364 00000000 */ nop
/* EE6918 80240368 00431023 */ subu $v0, $v0, $v1
/* EE691C 8024036C 44822000 */ mtc1 $v0, $f4
/* EE6920 80240370 00000000 */ nop
/* EE6924 80240374 46802120 */ cvt.s.w $f4, $f4
/* EE6928 80240378 8C82008C */ lw $v0, 0x8c($a0)
/* EE692C 8024037C 46042102 */ mul.s $f4, $f4, $f4
/* EE6930 80240380 00000000 */ nop
/* EE6934 80240384 8C830098 */ lw $v1, 0x98($a0)
/* EE6938 80240388 00431023 */ subu $v0, $v0, $v1
/* EE693C 8024038C 44820000 */ mtc1 $v0, $f0
/* EE6940 80240390 00000000 */ nop
/* EE6944 80240394 46800020 */ cvt.s.w $f0, $f0
/* EE6948 80240398 46000002 */ mul.s $f0, $f0, $f0
/* EE694C 8024039C 00000000 */ nop
/* EE6950 802403A0 46041080 */ add.s $f2, $f2, $f4
/* EE6954 802403A4 46001080 */ add.s $f2, $f2, $f0
/* EE6958 802403A8 3C014561 */ lui $at, 0x4561
/* EE695C 802403AC 44810000 */ mtc1 $at, $f0
/* EE6960 802403B0 00000000 */ nop
/* EE6964 802403B4 4600103C */ c.lt.s $f2, $f0
/* EE6968 802403B8 00000000 */ nop
/* EE696C 802403BC 45010002 */ bc1t .L802403C8
/* EE6970 802403C0 24020001 */ addiu $v0, $zero, 1
/* EE6974 802403C4 0000102D */ daddu $v0, $zero, $zero
.L802403C8:
/* EE6978 802403C8 AC820084 */ sw $v0, 0x84($a0)
/* EE697C 802403CC 03E00008 */ jr $ra
/* EE6980 802403D0 24020002 */ addiu $v0, $zero, 2