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

26 lines
1.2 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802D4560
/* F8F10 802D4560 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* F8F14 802D4564 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* F8F18 802D4568 80420070 */ lb $v0, 0x70($v0)
/* F8F1C 802D456C 14400007 */ bnez $v0, .L802D458C
/* F8F20 802D4570 00000000 */ nop
/* F8F24 802D4574 3C02802E */ lui $v0, %hi(D_802DB6C0)
/* F8F28 802D4578 2442B6C0 */ addiu $v0, $v0, %lo(D_802DB6C0)
/* F8F2C 802D457C 3C01802E */ lui $at, %hi(D_802DB7C0)
/* F8F30 802D4580 AC22B7C0 */ sw $v0, %lo(D_802DB7C0)($at)
/* F8F34 802D4584 03E00008 */ jr $ra
/* F8F38 802D4588 00000000 */ nop
.L802D458C:
/* F8F3C 802D458C 3C02802E */ lui $v0, %hi(D_802DB5C0)
/* F8F40 802D4590 2442B5C0 */ addiu $v0, $v0, %lo(D_802DB5C0)
/* F8F44 802D4594 3C01802E */ lui $at, %hi(D_802DB7C0)
/* F8F48 802D4598 AC22B7C0 */ sw $v0, %lo(D_802DB7C0)($at)
/* F8F4C 802D459C 03E00008 */ jr $ra
/* F8F50 802D45A0 00000000 */ nop
/* F8F54 802D45A4 00000000 */ nop
/* F8F58 802D45A8 00000000 */ nop
/* F8F5C 802D45AC 00000000 */ nop