papermario/asm/nonmatchings/code_759b0_len_61b0/func_800DFF78.s

27 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_800DFF78
2020-09-24 05:16:13 +02:00
/* 79428 800DFF78 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7942C 800DFF7C AFB00010 */ sw $s0, 0x10($sp)
2020-09-28 03:13:56 +02:00
/* 79430 800DFF80 3C108011 */ lui $s0, %hi(gPlayerStatus)
/* 79434 800DFF84 2610EFC8 */ addiu $s0, $s0, %lo(gPlayerStatus)
2020-09-24 05:16:13 +02:00
/* 79438 800DFF88 AFBF0014 */ sw $ra, 0x14($sp)
/* 7943C 800DFF8C 0C037F52 */ jal func_800DFD48
/* 79440 800DFF90 00000000 */ nop
/* 79444 800DFF94 0040182D */ daddu $v1, $v0, $zero
/* 79448 800DFF98 2402FFFF */ addiu $v0, $zero, -1
/* 7944C 800DFF9C 10620007 */ beq $v1, $v0, .L800DFFBC
/* 79450 800DFFA0 00000000 */ nop
/* 79454 800DFFA4 8E020000 */ lw $v0, ($s0)
/* 79458 800DFFA8 AE0300B8 */ sw $v1, 0xb8($s0)
/* 7945C 800DFFAC 3C031000 */ lui $v1, 0x1000
/* 79460 800DFFB0 A60000BC */ sh $zero, 0xbc($s0)
/* 79464 800DFFB4 00431025 */ or $v0, $v0, $v1
/* 79468 800DFFB8 AE020000 */ sw $v0, ($s0)
2020-08-04 08:49:11 +02:00
.L800DFFBC:
2020-09-24 05:16:13 +02:00
/* 7946C 800DFFBC 8FBF0014 */ lw $ra, 0x14($sp)
/* 79470 800DFFC0 8FB00010 */ lw $s0, 0x10($sp)
/* 79474 800DFFC4 03E00008 */ jr $ra
/* 79478 800DFFC8 27BD0018 */ addiu $sp, $sp, 0x18