papermario/ver/us/asm/nonmatchings/code_18F340/func_802620F8.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

20 lines
886 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802620F8
/* 1909D8 802620F8 8C8200BC */ lw $v0, 0xbc($a0)
/* 1909DC 802620FC 3C03802A */ lui $v1, %hi(D_8029FBB0)
/* 1909E0 80262100 2463FBB0 */ addiu $v1, $v1, %lo(D_8029FBB0)
/* 1909E4 80262104 00021080 */ sll $v0, $v0, 2
/* 1909E8 80262108 00431821 */ addu $v1, $v0, $v1
/* 1909EC 8026210C 8C620000 */ lw $v0, ($v1)
/* 1909F0 80262110 14400003 */ bnez $v0, .L80262120
/* 1909F4 80262114 2442FFFF */ addiu $v0, $v0, -1
/* 1909F8 80262118 03E00008 */ jr $ra
/* 1909FC 8026211C 24020002 */ addiu $v0, $zero, 2
.L80262120:
/* 190A00 80262120 AC620000 */ sw $v0, ($v1)
/* 190A04 80262124 03E00008 */ jr $ra
/* 190A08 80262128 0000102D */ daddu $v0, $zero, $zero
/* 190A0C 8026212C 00000000 */ nop