papermario/ver/us/asm/nonmatchings/code_EDC020/func_80240330_EDC310.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

30 lines
1.5 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240330_EDC310
/* EDC310 80240330 27BDFFE0 */ addiu $sp, $sp, -0x20
/* EDC314 80240334 AFB00010 */ sw $s0, 0x10($sp)
/* EDC318 80240338 0080802D */ daddu $s0, $a0, $zero
/* EDC31C 8024033C AFBF0018 */ sw $ra, 0x18($sp)
/* EDC320 80240340 AFB10014 */ sw $s1, 0x14($sp)
/* EDC324 80240344 8E02000C */ lw $v0, 0xc($s0)
/* EDC328 80240348 8C510000 */ lw $s1, ($v0)
/* EDC32C 8024034C 0C0B53A3 */ jal func_802D4E8C
/* EDC330 80240350 0220282D */ daddu $a1, $s1, $zero
/* EDC334 80240354 3C03FFF0 */ lui $v1, 0xfff0
/* EDC338 80240358 3463FFFF */ ori $v1, $v1, 0xffff
/* EDC33C 8024035C 0200202D */ daddu $a0, $s0, $zero
/* EDC340 80240360 00431024 */ and $v0, $v0, $v1
/* EDC344 80240364 00021140 */ sll $v0, $v0, 5
/* EDC348 80240368 3C068009 */ lui $a2, %hi(D_8008D2C0)
/* EDC34C 8024036C 00C23021 */ addu $a2, $a2, $v0
/* EDC350 80240370 8CC6D2C0 */ lw $a2, %lo(D_8008D2C0)($a2)
/* EDC354 80240374 0C0B551A */ jal func_802D5468
/* EDC358 80240378 0220282D */ daddu $a1, $s1, $zero
/* EDC35C 8024037C 8FBF0018 */ lw $ra, 0x18($sp)
/* EDC360 80240380 8FB10014 */ lw $s1, 0x14($sp)
/* EDC364 80240384 8FB00010 */ lw $s0, 0x10($sp)
/* EDC368 80240388 24020002 */ addiu $v0, $zero, 2
/* EDC36C 8024038C 03E00008 */ jr $ra
/* EDC370 80240390 27BD0020 */ addiu $sp, $sp, 0x20