mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 13:02:41 +01:00
32 lines
1.6 KiB
ArmAsm
32 lines
1.6 KiB
ArmAsm
|
.set noat # allow manual use of $at
|
||
|
.set noreorder # don't insert nops after branches
|
||
|
|
||
|
glabel func_802A11D4_71A9C4
|
||
|
/* 71A9C4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||
|
/* 71A9C8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||
|
/* 71A9CC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||
|
/* 71A9D0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* 71A9D4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||
|
/* 71A9D8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||
|
/* 71A9DC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||
|
/* 71A9E0 802A11F0 00021140 */ sll $v0, $v0, 5
|
||
|
/* 71A9E4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||
|
/* 71A9E8 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||
|
/* 71A9EC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||
|
/* 71A9F0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||
|
/* 71A9F4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||
|
/* 71A9F8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||
|
/* 71A9FC 802A120C 00000000 */ nop
|
||
|
/* 71AA00 802A1210 1A000005 */ blez $s0, .L802A1228
|
||
|
/* 71AA04 802A1214 00000000 */ nop
|
||
|
/* 71AA08 802A1218 3C04802A */ lui $a0, %hi(D_802A19B0)
|
||
|
/* 71AA0C 802A121C 8C8419B0 */ lw $a0, %lo(D_802A19B0)($a0)
|
||
|
/* 71AA10 802A1220 0C05123D */ jal free_icon
|
||
|
/* 71AA14 802A1224 00000000 */ nop
|
||
|
.L802A1228:
|
||
|
/* 71AA18 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* 71AA1C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||
|
/* 71AA20 802A1230 24020002 */ addiu $v0, $zero, 2
|
||
|
/* 71AA24 802A1234 03E00008 */ jr $ra
|
||
|
/* 71AA28 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|