papermario/ver/us/asm/nonmatchings/code_EED1E0/func_80240DE8_EEDEE8.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

18 lines
821 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240DE8_EEDEE8
/* EEDEE8 80240DE8 3C038011 */ lui $v1, %hi(D_80117160)
/* EEDEEC 80240DEC 24637160 */ addiu $v1, $v1, %lo(D_80117160)
/* EEDEF0 80240DF0 AC800084 */ sw $zero, 0x84($a0)
/* EEDEF4 80240DF4 80620000 */ lb $v0, ($v1)
/* EEDEF8 80240DF8 10400005 */ beqz $v0, .L80240E10
/* EEDEFC 80240DFC 24020003 */ addiu $v0, $zero, 3
/* EEDF00 80240E00 80630003 */ lb $v1, 3($v1)
/* EEDF04 80240E04 14620002 */ bne $v1, $v0, .L80240E10
/* EEDF08 80240E08 24020001 */ addiu $v0, $zero, 1
/* EEDF0C 80240E0C AC820084 */ sw $v0, 0x84($a0)
.L80240E10:
/* EEDF10 80240E10 03E00008 */ jr $ra
/* EEDF14 80240E14 24020002 */ addiu $v0, $zero, 2