papermario/ver/us/asm/nonmatchings/C50A0/item_entity_disable_shadow.s
Ethan Roseman 647db26552
Mass function rename from Star Rod + a couple funcs (#298)
* .

* yaml update

* git subrepo pull --force tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "cd690f725d"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "cd690f725d"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* separate main bss syms

* renames and one match

* SR symbol rename

* fix symbol_addrs

* git subrepo pull tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "5fa8aa24ca"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "5fa8aa24ca"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* remove old artifacts
2021-06-30 11:27:12 +09:00

21 lines
956 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel item_entity_disable_shadow
/* 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)
.L80130FA0:
/* C76A0 80130FA0 8FBF0010 */ lw $ra, 0x10($sp)
/* C76A4 80130FA4 03E00008 */ jr $ra
/* C76A8 80130FA8 27BD0018 */ addiu $sp, $sp, 0x18