papermario/ver/us/asm/nonmatchings/code_DF950/func_80149908.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

34 lines
1.6 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80149908
/* E0008 80149908 27BDFFE8 */ addiu $sp, $sp, -0x18
/* E000C 8014990C 3C038016 */ lui $v1, %hi(D_80159AD0)
/* E0010 80149910 8C639AD0 */ lw $v1, %lo(D_80159AD0)($v1)
/* E0014 80149914 0000402D */ daddu $t0, $zero, $zero
/* E0018 80149918 AFBF0010 */ sw $ra, 0x10($sp)
.L8014991C:
/* E001C 8014991C 8C620000 */ lw $v0, ($v1)
/* E0020 80149920 30420001 */ andi $v0, $v0, 1
/* E0024 80149924 10400004 */ beqz $v0, .L80149938
/* E0028 80149928 25080001 */ addiu $t0, $t0, 1
/* E002C 8014992C 2902000A */ slti $v0, $t0, 0xa
/* E0030 80149930 1440FFFA */ bnez $v0, .L8014991C
/* E0034 80149934 2463001C */ addiu $v1, $v1, 0x1c
.L80149938:
/* E0038 80149938 A467000E */ sh $a3, 0xe($v1)
/* E003C 8014993C 00073C00 */ sll $a3, $a3, 0x10
/* E0040 80149940 A065000C */ sb $a1, 0xc($v1)
/* E0044 80149944 30A500FF */ andi $a1, $a1, 0xff
/* E0048 80149948 A066000D */ sb $a2, 0xd($v1)
/* E004C 8014994C 30C600FF */ andi $a2, $a2, 0xff
/* E0050 80149950 8C620000 */ lw $v0, ($v1)
/* E0054 80149954 00073C03 */ sra $a3, $a3, 0x10
/* E0058 80149958 AC640004 */ sw $a0, 4($v1)
/* E005C 8014995C 34420001 */ ori $v0, $v0, 1
/* E0060 80149960 0C015490 */ jal func_80055240
/* E0064 80149964 AC620000 */ sw $v0, ($v1)
/* E0068 80149968 8FBF0010 */ lw $ra, 0x10($sp)
/* E006C 8014996C 03E00008 */ jr $ra
/* E0070 80149970 27BD0018 */ addiu $sp, $sp, 0x18