papermario/ver/jp/asm/nonmatchings/main_13530/func_8003879C.s
Ethan Roseman 698cf99458
jp cod (Created the first segment's c files for jp) (#194)
* jp cod

* just have less code and it works

* oops

* removing splat cause subrepo is being dumb

* git subrepo clone https://github.com/ethteck/splat.git tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "d7281bae6a"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "d7281bae6a"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* move jp stuff + revert configure

* git subrepo pull tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "c56195a9c5"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "c56195a9c5"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"
2021-02-27 00:36:33 +09:00

13 lines
562 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8003879C
/* 13B9C 8003879C 2402F7FF */ addiu $v0, $zero, -0x801
/* 13BA0 800387A0 00822024 */ and $a0, $a0, $v0
/* 13BA4 800387A4 3C02800A */ lui $v0, %hi(D_8009E9A0)
/* 13BA8 800387A8 8C42E9A0 */ lw $v0, %lo(D_8009E9A0)($v0)
/* 13BAC 800387AC 00042080 */ sll $a0, $a0, 2
/* 13BB0 800387B0 00822021 */ addu $a0, $a0, $v0
/* 13BB4 800387B4 03E00008 */ jr $ra
/* 13BB8 800387B8 8C820000 */ lw $v0, ($a0)