papermario/asm/nonmatchings/battle/area_omo3/5573E0/func_80218038_557418.s

22 lines
926 B
ArmAsm
Raw Normal View History

2020-12-28 06:34:30 +01:00
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218038_557418
/* 557418 80218038 8C830080 */ lw $v1, 0x80($a0)
/* 55741C 8021803C 00A33023 */ subu $a2, $a1, $v1
/* 557420 80218040 28C20004 */ slti $v0, $a2, 4
/* 557424 80218044 14400003 */ bnez $v0, .L80218054
/* 557428 80218048 28C2FFFC */ slti $v0, $a2, -4
/* 55742C 8021804C 08086019 */ j .L80218064
/* 557430 80218050 24620004 */ addiu $v0, $v1, 4
.L80218054:
/* 557434 80218054 14400003 */ bnez $v0, .L80218064
/* 557438 80218058 2462FFFC */ addiu $v0, $v1, -4
/* 55743C 8021805C 0808601A */ j .L80218068
/* 557440 80218060 AC850080 */ sw $a1, 0x80($a0)
.L80218064:
/* 557444 80218064 AC820080 */ sw $v0, 0x80($a0)
.L80218068:
/* 557448 80218068 03E00008 */ jr $ra
/* 55744C 8021806C 8C820080 */ lw $v0, 0x80($a0)