papermario/ver/us/asm/nonmatchings/code_196AA0/func_8026939C.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

28 lines
1.3 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8026939C
/* 197C7C 8026939C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 197C80 802693A0 AFBF0018 */ sw $ra, 0x18($sp)
/* 197C84 802693A4 AFB10014 */ sw $s1, 0x14($sp)
/* 197C88 802693A8 AFB00010 */ sw $s0, 0x10($sp)
/* 197C8C 802693AC 8C82000C */ lw $v0, 0xc($a0)
/* 197C90 802693B0 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 197C94 802693B4 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 197C98 802693B8 8C450000 */ lw $a1, ($v0)
/* 197C9C 802693BC 0C0B1EAF */ jal get_variable
/* 197CA0 802693C0 0220802D */ daddu $s0, $s1, $zero
/* 197CA4 802693C4 10400003 */ beqz $v0, .L802693D4
/* 197CA8 802693C8 24020001 */ addiu $v0, $zero, 1
/* 197CAC 802693CC 0809A4F6 */ j .L802693D8
/* 197CB0 802693D0 A222005E */ sb $v0, 0x5e($s1)
.L802693D4:
/* 197CB4 802693D4 A200005E */ sb $zero, 0x5e($s0)
.L802693D8:
/* 197CB8 802693D8 8FBF0018 */ lw $ra, 0x18($sp)
/* 197CBC 802693DC 8FB10014 */ lw $s1, 0x14($sp)
/* 197CC0 802693E0 8FB00010 */ lw $s0, 0x10($sp)
/* 197CC4 802693E4 24020002 */ addiu $v0, $zero, 2
/* 197CC8 802693E8 03E00008 */ jr $ra
/* 197CCC 802693EC 27BD0020 */ addiu $sp, $sp, 0x20