papermario/ver/us/asm/nonmatchings/code_725F60/func_802A123C_72619C.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

43 lines
2.0 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A123C_72619C
/* 72619C 802A123C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7261A0 802A1240 AFB00010 */ sw $s0, 0x10($sp)
/* 7261A4 802A1244 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8)
/* 7261A8 802A1248 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0)
/* 7261AC 802A124C AFBF0014 */ sw $ra, 0x14($sp)
/* 7261B0 802A1250 82020210 */ lb $v0, 0x210($s0)
/* 7261B4 802A1254 10400005 */ beqz $v0, .L802A126C
/* 7261B8 802A1258 00000000 */ nop
/* 7261BC 802A125C 86040436 */ lh $a0, 0x436($s0)
/* 7261C0 802A1260 A2000211 */ sb $zero, 0x211($s0)
/* 7261C4 802A1264 0C011E26 */ jal func_80047898
/* 7261C8 802A1268 A2000210 */ sb $zero, 0x210($s0)
.L802A126C:
/* 7261CC 802A126C 82020212 */ lb $v0, 0x212($s0)
/* 7261D0 802A1270 10400005 */ beqz $v0, .L802A1288
/* 7261D4 802A1274 00000000 */ nop
/* 7261D8 802A1278 86040436 */ lh $a0, 0x436($s0)
/* 7261DC 802A127C A2000213 */ sb $zero, 0x213($s0)
/* 7261E0 802A1280 0C011E68 */ jal func_800479A0
/* 7261E4 802A1284 A2000212 */ sb $zero, 0x212($s0)
.L802A1288:
/* 7261E8 802A1288 82020214 */ lb $v0, 0x214($s0)
/* 7261EC 802A128C 10400003 */ beqz $v0, .L802A129C
/* 7261F0 802A1290 00000000 */ nop
/* 7261F4 802A1294 A2000215 */ sb $zero, 0x215($s0)
/* 7261F8 802A1298 A2000214 */ sb $zero, 0x214($s0)
.L802A129C:
/* 7261FC 802A129C 82020218 */ lb $v0, 0x218($s0)
/* 726200 802A12A0 10400003 */ beqz $v0, .L802A12B0
/* 726204 802A12A4 00000000 */ nop
/* 726208 802A12A8 A2000219 */ sb $zero, 0x219($s0)
/* 72620C 802A12AC A2000218 */ sb $zero, 0x218($s0)
.L802A12B0:
/* 726210 802A12B0 8FBF0014 */ lw $ra, 0x14($sp)
/* 726214 802A12B4 8FB00010 */ lw $s0, 0x10($sp)
/* 726218 802A12B8 24020002 */ addiu $v0, $zero, 2
/* 72621C 802A12BC 03E00008 */ jr $ra
/* 726220 802A12C0 27BD0018 */ addiu $sp, $sp, 0x18