papermario/ver/us/asm/nonmatchings/code_E24ED0/func_802B6000_E24ED0.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

25 lines
1.1 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802B6000_E24ED0
/* E24ED0 802B6000 3C020100 */ lui $v0, 0x100
/* E24ED4 802B6004 00821024 */ and $v0, $a0, $v0
/* E24ED8 802B6008 10400003 */ beqz $v0, .L802B6018
/* E24EDC 802B600C 3C02FFF9 */ lui $v0, 0xfff9
/* E24EE0 802B6010 03E00008 */ jr $ra
/* E24EE4 802B6014 24020001 */ addiu $v0, $zero, 1
.L802B6018:
/* E24EE8 802B6018 3442FFEF */ ori $v0, $v0, 0xffef
/* E24EEC 802B601C 00822021 */ addu $a0, $a0, $v0
/* E24EF0 802B6020 2C82000B */ sltiu $v0, $a0, 0xb
/* E24EF4 802B6024 10400006 */ beqz $v0, .L802B6040
/* E24EF8 802B6028 00041080 */ sll $v0, $a0, 2
/* E24EFC 802B602C 3C01802B */ lui $at, %hi(D_802B6DC0_E25C90)
/* E24F00 802B6030 00220821 */ addu $at, $at, $v0
/* E24F04 802B6034 8C226DC0 */ lw $v0, %lo(D_802B6DC0_E25C90)($at)
/* E24F08 802B6038 00400008 */ jr $v0
/* E24F0C 802B603C 00000000 */ nop
.L802B6040:
/* E24F10 802B6040 03E00008 */ jr $ra
/* E24F14 802B6044 0000102D */ daddu $v0, $zero, $zero