papermario/ver/us/asm/nonmatchings/code_C50A0/func_80130F70.s

21 lines
943 B
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_80130F70
2020-09-24 05:16:13 +02:00
/* C7670 80130F70 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C7674 80130F74 AFBF0010 */ sw $ra, 0x10($sp)
/* C7678 80130F78 8C820000 */ lw $v0, ($a0)
/* C767C 80130F7C 84830020 */ lh $v1, 0x20($a0)
/* C7680 80130F80 34420040 */ ori $v0, $v0, 0x40
/* C7684 80130F84 04600006 */ bltz $v1, .L80130FA0
/* C7688 80130F88 AC820000 */ sw $v0, ($a0)
/* C768C 80130F8C 0C044181 */ jal get_shadow_by_index
/* C7690 80130F90 0060202D */ daddu $a0, $v1, $zero
/* C7694 80130F94 8C430000 */ lw $v1, ($v0)
/* C7698 80130F98 34630001 */ ori $v1, $v1, 1
/* C769C 80130F9C AC430000 */ sw $v1, ($v0)
2020-08-04 08:49:11 +02:00
.L80130FA0:
2020-09-24 05:16:13 +02:00
/* C76A0 80130FA0 8FBF0010 */ lw $ra, 0x10($sp)
/* C76A4 80130FA4 03E00008 */ jr $ra
/* C76A8 80130FA8 27BD0018 */ addiu $sp, $sp, 0x18