mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
26 lines
1.3 KiB
ArmAsm
26 lines
1.3 KiB
ArmAsm
|
.set noat # allow manual use of $at
|
||
|
.set noreorder # don't insert nops after branches
|
||
|
|
||
|
glabel func_802A1000_74F130
|
||
|
/* 74F130 802A1000 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||
|
/* 74F134 802A1004 AFB00010 */ sw $s0, 0x10($sp)
|
||
|
/* 74F138 802A1008 0080802D */ daddu $s0, $a0, $zero
|
||
|
/* 74F13C 802A100C 2402000F */ addiu $v0, $zero, 0xf
|
||
|
/* 74F140 802A1010 3C03800E */ lui $v1, %hi(gBattleStatus+0x83)
|
||
|
/* 74F144 802A1014 8063C0F3 */ lb $v1, %lo(gBattleStatus+0x83)($v1)
|
||
|
/* 74F148 802A1018 24040015 */ addiu $a0, $zero, 0x15
|
||
|
/* 74F14C 802A101C AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* 74F150 802A1020 AE020088 */ sw $v0, 0x88($s0)
|
||
|
/* 74F154 802A1024 0C03A752 */ jal is_ability_active
|
||
|
/* 74F158 802A1028 AE030084 */ sw $v1, 0x84($s0)
|
||
|
/* 74F15C 802A102C 10400003 */ beqz $v0, .L802A103C
|
||
|
/* 74F160 802A1030 24020028 */ addiu $v0, $zero, 0x28
|
||
|
/* 74F164 802A1034 AE000084 */ sw $zero, 0x84($s0)
|
||
|
/* 74F168 802A1038 AE020088 */ sw $v0, 0x88($s0)
|
||
|
.L802A103C:
|
||
|
/* 74F16C 802A103C 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* 74F170 802A1040 8FB00010 */ lw $s0, 0x10($sp)
|
||
|
/* 74F174 802A1044 24020002 */ addiu $v0, $zero, 2
|
||
|
/* 74F178 802A1048 03E00008 */ jr $ra
|
||
|
/* 74F17C 802A104C 27BD0018 */ addiu $sp, $sp, 0x18
|