papermario/asm/nonmatchings/code_20ec0_len_5040/func_8004A73C.s

24 lines
1.1 KiB
ArmAsm
Raw Normal View History

2020-09-24 05:16:13 +02:00
.set noat # allow manual use of $at
2020-08-04 08:49:11 +02:00
.set noreorder # don't insert nops after branches
glabel func_8004A73C
2020-09-24 05:16:13 +02:00
/* 25B3C 8004A73C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 25B40 8004A740 AFB10014 */ sw $s1, 0x14($sp)
/* 25B44 8004A744 0080882D */ daddu $s1, $a0, $zero
/* 25B48 8004A748 AFBF0018 */ sw $ra, 0x18($sp)
/* 25B4C 8004A74C AFB00010 */ sw $s0, 0x10($sp)
/* 25B50 8004A750 8E300148 */ lw $s0, 0x148($s1)
/* 25B54 8004A754 0C00EABB */ jal get_npc_unsafe
/* 25B58 8004A758 86040008 */ lh $a0, 8($s0)
/* 25B5C 8004A75C 820200B4 */ lb $v0, 0xb4($s0)
/* 25B60 8004A760 14400003 */ bnez $v0, .L8004A770
/* 25B64 8004A764 00000000 */ nop
/* 25B68 8004A768 8E220074 */ lw $v0, 0x74($s1)
/* 25B6C 8004A76C AE220070 */ sw $v0, 0x70($s1)
2020-08-04 08:49:11 +02:00
.L8004A770:
2020-09-24 05:16:13 +02:00
/* 25B70 8004A770 8FBF0018 */ lw $ra, 0x18($sp)
/* 25B74 8004A774 8FB10014 */ lw $s1, 0x14($sp)
/* 25B78 8004A778 8FB00010 */ lw $s0, 0x10($sp)
/* 25B7C 8004A77C 03E00008 */ jr $ra
/* 25B80 8004A780 27BD0020 */ addiu $sp, $sp, 0x20