papermario/ver/us/asm/nonmatchings/code_C50A0/func_80130F70.s
alex a4e1c2f522
Add versioning (#187)
* fix vscode cpp extension messing with files.associations

* move stuff

* it builds!

* symlink papermario.us.z64

* ci: put baserom in right place

* add jp

* fix splat dir

* ignore starrod dump

* .s deps

* update jenkins

* add dsl back

* configure.py versions

* wups

* fine ethan

* fix paths

* configure: default to only the version(s) with existing baseroms

* fix coverage

* fix progress.py

* progress.py verisoning

* remove format.sh from CONTRIBUTING

* update CONTRIBUTING

* fix first_diff

* diff.py: use ver/current/

* update splat.yaml

* trying to fix subrepo

* git subrepo pull tools/splat

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

* configure fix

* git subrepo pull tools/splat

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

Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2021-02-22 18:21:23 +09:00

21 lines
943 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80130F70
/* 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