mirror of
https://github.com/pmret/papermario.git
synced 2024-11-14 06:52:35 +01:00
32 lines
1.5 KiB
ArmAsm
32 lines
1.5 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel DisablePulseStone
|
|
/* F7458 802D2AA8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* F745C 802D2AAC AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* F7460 802D2AB0 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* F7464 802D2AB4 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* F7468 802D2AB8 8C82000C */ lw $v0, 0xc($a0)
|
|
/* F746C 802D2ABC 3C108011 */ lui $s0, %hi(gPlayerStatus)
|
|
/* F7470 802D2AC0 2610EFC8 */ addiu $s0, $s0, %lo(gPlayerStatus)
|
|
/* F7474 802D2AC4 8C450000 */ lw $a1, ($v0)
|
|
/* F7478 802D2AC8 0C0B1EAF */ jal get_variable
|
|
/* F747C 802D2ACC 0200882D */ daddu $s1, $s0, $zero
|
|
/* F7480 802D2AD0 10400005 */ beqz $v0, .L802D2AE8
|
|
/* F7484 802D2AD4 2403FF7F */ addiu $v1, $zero, -0x81
|
|
/* F7488 802D2AD8 8E020004 */ lw $v0, 4($s0)
|
|
/* F748C 802D2ADC 00431024 */ and $v0, $v0, $v1
|
|
/* F7490 802D2AE0 080B4ABD */ j .L802D2AF4
|
|
/* F7494 802D2AE4 AE020004 */ sw $v0, 4($s0)
|
|
.L802D2AE8:
|
|
/* F7498 802D2AE8 8E220004 */ lw $v0, 4($s1)
|
|
/* F749C 802D2AEC 34420080 */ ori $v0, $v0, 0x80
|
|
/* F74A0 802D2AF0 AE220004 */ sw $v0, 4($s1)
|
|
.L802D2AF4:
|
|
/* F74A4 802D2AF4 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* F74A8 802D2AF8 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* F74AC 802D2AFC 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* F74B0 802D2B00 24020002 */ addiu $v0, $zero, 2
|
|
/* F74B4 802D2B04 03E00008 */ jr $ra
|
|
/* F74B8 802D2B08 27BD0020 */ addiu $sp, $sp, 0x20
|