papermario/ver/us/asm/nonmatchings/code_F5750/func_802D3398.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

22 lines
998 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802D3398
/* F7D48 802D3398 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* F7D4C 802D339C 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* F7D50 802D33A0 80420070 */ lb $v0, 0x70($v0)
/* F7D54 802D33A4 14400005 */ bnez $v0, .L802D33BC
/* F7D58 802D33A8 00000000 */ nop
/* F7D5C 802D33AC 3C02802E */ lui $v0, %hi(D_802DB6C0)
/* F7D60 802D33B0 2442B6C0 */ addiu $v0, $v0, %lo(D_802DB6C0)
/* F7D64 802D33B4 080B4CF1 */ j .L802D33C4
/* F7D68 802D33B8 00000000 */ nop
.L802D33BC:
/* F7D6C 802D33BC 3C02802E */ lui $v0, %hi(D_802DB5C0)
/* F7D70 802D33C0 2442B5C0 */ addiu $v0, $v0, %lo(D_802DB5C0)
.L802D33C4:
/* F7D74 802D33C4 3C01802E */ lui $at, %hi(D_802DB7C0)
/* F7D78 802D33C8 AC22B7C0 */ sw $v0, %lo(D_802DB7C0)($at)
/* F7D7C 802D33CC 03E00008 */ jr $ra
/* F7D80 802D33D0 24020002 */ addiu $v0, $zero, 2