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

33 lines
1.6 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240590_EF8010
/* EF8010 80240590 27BDFFD0 */ addiu $sp, $sp, -0x30
/* EF8014 80240594 F7B40018 */ sdc1 $f20, 0x18($sp)
/* EF8018 80240598 4485A000 */ mtc1 $a1, $f20
/* EF801C 8024059C F7B60020 */ sdc1 $f22, 0x20($sp)
/* EF8020 802405A0 4486B000 */ mtc1 $a2, $f22
/* EF8024 802405A4 AFB00010 */ sw $s0, 0x10($sp)
/* EF8028 802405A8 F7B80028 */ sdc1 $f24, 0x28($sp)
/* EF802C 802405AC 4487C000 */ mtc1 $a3, $f24
/* EF8030 802405B0 AFBF0014 */ sw $ra, 0x14($sp)
/* EF8034 802405B4 0C01B198 */ jal osGetCause
/* EF8038 802405B8 0080802D */ daddu $s0, $a0, $zero
/* EF803C 802405BC 4616A582 */ mul.s $f22, $f20, $f22
/* EF8040 802405C0 00000000 */ nop
/* EF8044 802405C4 4618A502 */ mul.s $f20, $f20, $f24
/* EF8048 802405C8 00000000 */ nop
/* EF804C 802405CC 3C013F80 */ lui $at, 0x3f80
/* EF8050 802405D0 44810000 */ mtc1 $at, $f0
/* EF8054 802405D4 00000000 */ nop
/* EF8058 802405D8 E6000014 */ swc1 $f0, 0x14($s0)
/* EF805C 802405DC E6160010 */ swc1 $f22, 0x10($s0)
/* EF8060 802405E0 E6140018 */ swc1 $f20, 0x18($s0)
/* EF8064 802405E4 8FBF0014 */ lw $ra, 0x14($sp)
/* EF8068 802405E8 8FB00010 */ lw $s0, 0x10($sp)
/* EF806C 802405EC D7B80028 */ ldc1 $f24, 0x28($sp)
/* EF8070 802405F0 D7B60020 */ ldc1 $f22, 0x20($sp)
/* EF8074 802405F4 D7B40018 */ ldc1 $f20, 0x18($sp)
/* EF8078 802405F8 03E00008 */ jr $ra
/* EF807C 802405FC 27BD0030 */ addiu $sp, $sp, 0x30