papermario/asm/nonmatchings/code_759b0_len_61b0/disable_player_shadow.s
2020-08-12 22:37:16 -04:00

19 lines
725 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel disable_player_shadow
/* 079594 800E00E4 3C048011 */ lui $a0, 0x8011
/* 079598 800E00E8 8C84F094 */ lw $a0, -0xf6c($a0)
/* 07959C 800E00EC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 0795A0 800E00F0 AFBF0010 */ sw $ra, 0x10($sp)
/* 0795A4 800E00F4 0C044181 */ jal get_shadow_by_index
/* 0795A8 800E00F8 00000000 */ nop
/* 0795AC 800E00FC 8C430000 */ lw $v1, ($v0)
/* 0795B0 800E0100 34630001 */ ori $v1, $v1, 1
/* 0795B4 800E0104 AC430000 */ sw $v1, ($v0)
/* 0795B8 800E0108 8FBF0010 */ lw $ra, 0x10($sp)
/* 0795BC 800E010C 03E00008 */ jr $ra
/* 0795C0 800E0110 27BD0018 */ addiu $sp, $sp, 0x18