papermario/ver/us/asm/nonmatchings/DF950/func_80149A6C.s

25 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_80149A6C
2020-09-24 05:16:13 +02:00
/* E016C 80149A6C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* E0170 80149A70 AFB00010 */ sw $s0, 0x10($sp)
/* E0174 80149A74 AFBF0014 */ sw $ra, 0x14($sp)
/* E0178 80149A78 0C052631 */ jal sfx_get_env_sound_instance
2020-09-24 05:16:13 +02:00
/* E017C 80149A7C 00A0802D */ daddu $s0, $a1, $zero
/* E0180 80149A80 0040202D */ daddu $a0, $v0, $zero
/* E0184 80149A84 10800008 */ beqz $a0, .L80149AA8
/* E0188 80149A88 2403FFFC */ addiu $v1, $zero, -4
/* E018C 80149A8C 8C820000 */ lw $v0, ($a0)
/* E0190 80149A90 00431024 */ and $v0, $v0, $v1
/* E0194 80149A94 16000004 */ bnez $s0, .L80149AA8
/* E0198 80149A98 AC820000 */ sw $v0, ($a0)
/* E019C 80149A9C 8C840004 */ lw $a0, 4($a0)
/* E01A0 80149AA0 0C0154F0 */ jal snd_stop_sound
2021-01-11 13:40:52 +01:00
/* E01A4 80149AA4 00000000 */ nop
2020-08-04 08:49:11 +02:00
.L80149AA8:
2020-09-24 05:16:13 +02:00
/* E01A8 80149AA8 8FBF0014 */ lw $ra, 0x14($sp)
/* E01AC 80149AAC 8FB00010 */ lw $s0, 0x10($sp)
/* E01B0 80149AB0 03E00008 */ jr $ra
/* E01B4 80149AB4 27BD0018 */ addiu $sp, $sp, 0x18