papermario/ver/us/asm/nonmatchings/code_DF950/func_801498C4.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

25 lines
1.1 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_801498C4
/* DFFC4 801498C4 3C038016 */ lui $v1, %hi(D_80159AD0)
/* DFFC8 801498C8 8C639AD0 */ lw $v1, %lo(D_80159AD0)($v1)
/* DFFCC 801498CC 0000282D */ daddu $a1, $zero, $zero
.L801498D0:
/* DFFD0 801498D0 8C620000 */ lw $v0, ($v1)
/* DFFD4 801498D4 30420001 */ andi $v0, $v0, 1
/* DFFD8 801498D8 10400006 */ beqz $v0, .L801498F4
/* DFFDC 801498DC 24A50001 */ addiu $a1, $a1, 1
/* DFFE0 801498E0 8C620004 */ lw $v0, 4($v1)
/* DFFE4 801498E4 14440004 */ bne $v0, $a0, .L801498F8
/* DFFE8 801498E8 28A2000A */ slti $v0, $a1, 0xa
/* DFFEC 801498EC 03E00008 */ jr $ra
/* DFFF0 801498F0 0060102D */ daddu $v0, $v1, $zero
.L801498F4:
/* DFFF4 801498F4 28A2000A */ slti $v0, $a1, 0xa
.L801498F8:
/* DFFF8 801498F8 1440FFF5 */ bnez $v0, .L801498D0
/* DFFFC 801498FC 2463001C */ addiu $v1, $v1, 0x1c
/* E0000 80149900 03E00008 */ jr $ra
/* E0004 80149904 0000102D */ daddu $v0, $zero, $zero