papermario/asm/nonmatchings/code_2e230_len_2190/func_80053BA8.s
2020-08-12 22:37:16 -04:00

25 lines
938 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80053BA8
/* 02EFA8 80053BA8 9482001A */ lhu $v0, 0x1a($a0)
/* 02EFAC 80053BAC 2442FFFF */ addiu $v0, $v0, -1
/* 02EFB0 80053BB0 A482001A */ sh $v0, 0x1a($a0)
/* 02EFB4 80053BB4 00021400 */ sll $v0, $v0, 0x10
/* 02EFB8 80053BB8 10400006 */ beqz $v0, .L80053BD4
/* 02EFBC 80053BBC 00000000 */ nop
/* 02EFC0 80053BC0 8C820010 */ lw $v0, 0x10($a0)
/* 02EFC4 80053BC4 8C830014 */ lw $v1, 0x14($a0)
/* 02EFC8 80053BC8 00431021 */ addu $v0, $v0, $v1
/* 02EFCC 80053BCC 03E00008 */ jr $ra
/* 02EFD0 80053BD0 AC820010 */ sw $v0, 0x10($a0)
.L80053BD4:
/* 02EFD4 80053BD4 84820018 */ lh $v0, 0x18($a0)
/* 02EFD8 80053BD8 AC800014 */ sw $zero, 0x14($a0)
/* 02EFDC 80053BDC 00021400 */ sll $v0, $v0, 0x10
/* 02EFE0 80053BE0 03E00008 */ jr $ra
/* 02EFE4 80053BE4 AC820010 */ sw $v0, 0x10($a0)