papermario/ver/us/asm/nonmatchings/code_EB5470/func_80240340_EB5470.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

16 lines
747 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240340_EB5470
/* EB5470 80240340 27BDFFE8 */ addiu $sp, $sp, -0x18
/* EB5474 80240344 AFBF0010 */ sw $ra, 0x10($sp)
/* EB5478 80240348 8C82000C */ lw $v0, 0xc($a0)
/* EB547C 8024034C 3C068017 */ lui $a2, %hi(D_80169B12)
/* EB5480 80240350 84C69B12 */ lh $a2, %lo(D_80169B12)($a2)
/* EB5484 80240354 0C0B551A */ jal func_802D5468
/* EB5488 80240358 8C450000 */ lw $a1, ($v0)
/* EB548C 8024035C 8FBF0010 */ lw $ra, 0x10($sp)
/* EB5490 80240360 24020002 */ addiu $v0, $zero, 2
/* EB5494 80240364 03E00008 */ jr $ra
/* EB5498 80240368 27BD0018 */ addiu $sp, $sp, 0x18