papermario/ver/us/asm/nonmatchings/code_18F340/func_802610CC.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

44 lines
2.3 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802610CC
/* 18F9AC 802610CC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 18F9B0 802610D0 AFB00010 */ sw $s0, 0x10($sp)
/* 18F9B4 802610D4 0080802D */ daddu $s0, $a0, $zero
/* 18F9B8 802610D8 10A0000E */ beqz $a1, .L80261114
/* 18F9BC 802610DC AFBF0014 */ sw $ra, 0x14($sp)
/* 18F9C0 802610E0 0C04760B */ jal func_8011D82C
/* 18F9C4 802610E4 24040001 */ addiu $a0, $zero, 1
/* 18F9C8 802610E8 0000202D */ daddu $a0, $zero, $zero
/* 18F9CC 802610EC 0080282D */ daddu $a1, $a0, $zero
/* 18F9D0 802610F0 0080302D */ daddu $a2, $a0, $zero
/* 18F9D4 802610F4 0080382D */ daddu $a3, $a0, $zero
/* 18F9D8 802610F8 3C028015 */ lui $v0, %hi(D_801512F0)
/* 18F9DC 802610FC 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 18F9E0 80261100 24030001 */ addiu $v1, $zero, 1
/* 18F9E4 80261104 0C046F97 */ jal set_background_color_blend
/* 18F9E8 80261108 A0430000 */ sb $v1, ($v0)
/* 18F9EC 8026110C 24020014 */ addiu $v0, $zero, 0x14
/* 18F9F0 80261110 AE020070 */ sw $v0, 0x70($s0)
.L80261114:
/* 18F9F4 80261114 0000202D */ daddu $a0, $zero, $zero
/* 18F9F8 80261118 0080282D */ daddu $a1, $a0, $zero
/* 18F9FC 8026111C 0080302D */ daddu $a2, $a0, $zero
/* 18FA00 80261120 8E030070 */ lw $v1, 0x70($s0)
/* 18FA04 80261124 24020014 */ addiu $v0, $zero, 0x14
/* 18FA08 80261128 00431023 */ subu $v0, $v0, $v1
/* 18FA0C 8026112C 00023840 */ sll $a3, $v0, 1
/* 18FA10 80261130 00E23821 */ addu $a3, $a3, $v0
/* 18FA14 80261134 00073880 */ sll $a3, $a3, 2
/* 18FA18 80261138 0C046F97 */ jal set_background_color_blend
/* 18FA1C 8026113C 30E700FC */ andi $a3, $a3, 0xfc
/* 18FA20 80261140 8E020070 */ lw $v0, 0x70($s0)
/* 18FA24 80261144 2442FFFF */ addiu $v0, $v0, -1
/* 18FA28 80261148 AE020070 */ sw $v0, 0x70($s0)
/* 18FA2C 8026114C 2C420001 */ sltiu $v0, $v0, 1
/* 18FA30 80261150 8FBF0014 */ lw $ra, 0x14($sp)
/* 18FA34 80261154 8FB00010 */ lw $s0, 0x10($sp)
/* 18FA38 80261158 00021040 */ sll $v0, $v0, 1
/* 18FA3C 8026115C 03E00008 */ jr $ra
/* 18FA40 80261160 27BD0018 */ addiu $sp, $sp, 0x18