papermario/ver/us/asm/nonmatchings/code_C50A0/func_80130FAC.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

23 lines
1.0 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80130FAC
/* C76AC 80130FAC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C76B0 80130FB0 2403FFBF */ addiu $v1, $zero, -0x41
/* C76B4 80130FB4 AFBF0010 */ sw $ra, 0x10($sp)
/* C76B8 80130FB8 8C820000 */ lw $v0, ($a0)
/* C76BC 80130FBC 84850020 */ lh $a1, 0x20($a0)
/* C76C0 80130FC0 00431024 */ and $v0, $v0, $v1
/* C76C4 80130FC4 04A00007 */ bltz $a1, .L80130FE4
/* C76C8 80130FC8 AC820000 */ sw $v0, ($a0)
/* C76CC 80130FCC 0C044181 */ jal get_shadow_by_index
/* C76D0 80130FD0 00A0202D */ daddu $a0, $a1, $zero
/* C76D4 80130FD4 8C430000 */ lw $v1, ($v0)
/* C76D8 80130FD8 2404FFFE */ addiu $a0, $zero, -2
/* C76DC 80130FDC 00641824 */ and $v1, $v1, $a0
/* C76E0 80130FE0 AC430000 */ sw $v1, ($v0)
.L80130FE4:
/* C76E4 80130FE4 8FBF0010 */ lw $ra, 0x10($sp)
/* C76E8 80130FE8 03E00008 */ jr $ra
/* C76EC 80130FEC 27BD0018 */ addiu $sp, $sp, 0x18