papermario/asm/nonmatchings/code_759b0_len_61b0/func_800E0208.s

28 lines
1.3 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_800E0208
2020-09-28 03:13:56 +02:00
/* 796B8 800E0208 3C038007 */ lui $v1, %hi(gGameStatusPtr)
/* 796BC 800E020C 8C63419C */ lw $v1, %lo(gGameStatusPtr)($v1)
2020-09-24 05:16:13 +02:00
/* 796C0 800E0210 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 796C4 800E0214 AFBF0010 */ sw $ra, 0x10($sp)
/* 796C8 800E0218 80620078 */ lb $v0, 0x78($v1)
/* 796CC 800E021C 1040000C */ beqz $v0, .L800E0250
/* 796D0 800E0220 0000202D */ daddu $a0, $zero, $zero
/* 796D4 800E0224 8C620000 */ lw $v0, ($v1)
/* 796D8 800E0228 30420010 */ andi $v0, $v0, 0x10
/* 796DC 800E022C 10400008 */ beqz $v0, .L800E0250
/* 796E0 800E0230 00000000 */ nop
2020-09-28 03:13:56 +02:00
/* 796E4 800E0234 3C028011 */ lui $v0, %hi(D_8010EBB0)
/* 796E8 800E0238 8042EBB0 */ lb $v0, %lo(D_8010EBB0)($v0)
2020-09-24 05:16:13 +02:00
/* 796EC 800E023C 54400004 */ bnel $v0, $zero, .L800E0250
/* 796F0 800E0240 24040001 */ addiu $a0, $zero, 1
/* 796F4 800E0244 0C039769 */ jal set_action_state
/* 796F8 800E0248 00000000 */ nop
/* 796FC 800E024C 24040001 */ addiu $a0, $zero, 1
2020-08-04 08:49:11 +02:00
.L800E0250:
2020-09-24 05:16:13 +02:00
/* 79700 800E0250 8FBF0010 */ lw $ra, 0x10($sp)
/* 79704 800E0254 0080102D */ daddu $v0, $a0, $zero
/* 79708 800E0258 03E00008 */ jr $ra
/* 7970C 800E025C 27BD0018 */ addiu $sp, $sp, 0x18