papermario/asm/nonmatchings/code_415D90/func_802A8180.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_802A8180
2020-11-27 07:39:15 +01:00
/* 41CF10 802A8180 3C02800E */ lui $v0, %hi(gBattleStatus+0x46C)
/* 41CF14 802A8184 8C42C4DC */ lw $v0, %lo(gBattleStatus+0x46C)($v0)
2020-09-24 05:16:13 +02:00
/* 41CF18 802A8188 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 41CF1C 802A818C 2443FFFF */ addiu $v1, $v0, -1
/* 41CF20 802A8190 2C6200CD */ sltiu $v0, $v1, 0xcd
/* 41CF24 802A8194 10400009 */ beqz $v0, .L802A81BC
/* 41CF28 802A8198 AFBF0010 */ sw $ra, 0x10($sp)
/* 41CF2C 802A819C 00031080 */ sll $v0, $v1, 2
2020-11-29 08:13:07 +01:00
/* 41CF30 802A81A0 3C01802B */ lui $at, %hi(D_802AC090)
2020-09-24 05:16:13 +02:00
/* 41CF34 802A81A4 00220821 */ addu $at, $at, $v0
2020-11-29 08:13:07 +01:00
/* 41CF38 802A81A8 8C22C090 */ lw $v0, %lo(D_802AC090)($at)
2020-09-24 05:16:13 +02:00
/* 41CF3C 802A81AC 00400008 */ jr $v0
/* 41CF40 802A81B0 00000000 */ nop
/* 41CF44 802A81B4 0C0A8715 */ jal draw_battle_wheel
/* 41CF48 802A81B8 00000000 */ nop
2020-08-04 08:49:11 +02:00
.L802A81BC:
2020-09-24 05:16:13 +02:00
/* 41CF4C 802A81BC 8FBF0010 */ lw $ra, 0x10($sp)
/* 41CF50 802A81C0 03E00008 */ jr $ra
/* 41CF54 802A81C4 27BD0018 */ addiu $sp, $sp, 0x18