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

29 lines
1.2 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8005553C
/* 03093C 8005553C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 030940 80055540 AFB10014 */ sw $s1, 0x14($sp)
/* 030944 80055544 0080882D */ daddu $s1, $a0, $zero
/* 030948 80055548 AFB20018 */ sw $s2, 0x18($sp)
/* 03094C 8005554C 00A0902D */ daddu $s2, $a1, $zero
/* 030950 80055550 AFBF001C */ sw $ra, 0x1c($sp)
/* 030954 80055554 0C01430C */ jal func_80050C30
/* 030958 80055558 AFB00010 */ sw $s0, 0x10($sp)
/* 03095C 8005555C 0040802D */ daddu $s0, $v0, $zero
/* 030960 80055560 16000005 */ bnez $s0, .L80055578
/* 030964 80055564 0200102D */ daddu $v0, $s0, $zero
/* 030968 80055568 0220202D */ daddu $a0, $s1, $zero
/* 03096C 8005556C 0C014386 */ jal func_80050E18
/* 030970 80055570 0240282D */ daddu $a1, $s2, $zero
/* 030974 80055574 0200102D */ daddu $v0, $s0, $zero
.L80055578:
/* 030978 80055578 8FBF001C */ lw $ra, 0x1c($sp)
/* 03097C 8005557C 8FB20018 */ lw $s2, 0x18($sp)
/* 030980 80055580 8FB10014 */ lw $s1, 0x14($sp)
/* 030984 80055584 8FB00010 */ lw $s0, 0x10($sp)
/* 030988 80055588 03E00008 */ jr $ra
/* 03098C 8005558C 27BD0020 */ addiu $sp, $sp, 0x20