papermario/ver/jp/asm/nonmatchings/main_427B0/func_800673B0.s
Ethan Roseman 698cf99458
jp cod (Created the first segment's c files for jp) (#194)
* jp cod

* just have less code and it works

* oops

* removing splat cause subrepo is being dumb

* git subrepo clone https://github.com/ethteck/splat.git tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "d7281bae6a"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "d7281bae6a"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* move jp stuff + revert configure

* git subrepo pull tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "c56195a9c5"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "c56195a9c5"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"
2021-02-27 00:36:33 +09:00

35 lines
1.6 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800673B0
/* 427B0 800673B0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 427B4 800673B4 AFB00010 */ sw $s0, 0x10($sp)
/* 427B8 800673B8 AFBF0014 */ sw $ra, 0x14($sp)
/* 427BC 800673BC 0C01ACD0 */ jal func_8006B340
/* 427C0 800673C0 00808021 */ addu $s0, $a0, $zero
/* 427C4 800673C4 321000FF */ andi $s0, $s0, 0xff
/* 427C8 800673C8 12000006 */ beqz $s0, .L800673E4
/* 427CC 800673CC 00402021 */ addu $a0, $v0, $zero
/* 427D0 800673D0 3C038009 */ lui $v1, %hi(D_80095964)
/* 427D4 800673D4 8C635964 */ lw $v1, %lo(D_80095964)($v1)
/* 427D8 800673D8 94620000 */ lhu $v0, ($v1)
/* 427DC 800673DC 08019CFD */ j .L800673F4
/* 427E0 800673E0 34420040 */ ori $v0, $v0, 0x40
.L800673E4:
/* 427E4 800673E4 3C038009 */ lui $v1, %hi(D_80095964)
/* 427E8 800673E8 8C635964 */ lw $v1, %lo(D_80095964)($v1)
/* 427EC 800673EC 94620000 */ lhu $v0, ($v1)
/* 427F0 800673F0 3042FFBF */ andi $v0, $v0, 0xffbf
.L800673F4:
/* 427F4 800673F4 0C01ACEC */ jal func_8006B3B0
/* 427F8 800673F8 A4620000 */ sh $v0, ($v1)
/* 427FC 800673FC 8FBF0014 */ lw $ra, 0x14($sp)
/* 42800 80067400 8FB00010 */ lw $s0, 0x10($sp)
/* 42804 80067404 03E00008 */ jr $ra
/* 42808 80067408 27BD0018 */ addiu $sp, $sp, 0x18
/* 4280C 8006740C 00000000 */ nop
/* 42810 80067410 00000000 */ nop
/* 42814 80067414 00000000 */ nop
/* 42818 80067418 00000000 */ nop
/* 4281C 8006741C 00000000 */ nop