papermario/ver/jp/asm/nonmatchings/main_33E80/func_80058CB8.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

24 lines
1.0 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80058CB8
/* 340B8 80058CB8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 340BC 80058CBC 00071400 */ sll $v0, $a3, 0x10
/* 340C0 80058CC0 AFBF0010 */ sw $ra, 0x10($sp)
/* 340C4 80058CC4 A4850006 */ sh $a1, 6($a0)
/* 340C8 80058CC8 10400008 */ beqz $v0, .L80058CEC
/* 340CC 80058CCC A4860008 */ sh $a2, 8($a0)
/* 340D0 80058CD0 8C820010 */ lw $v0, 0x10($a0)
/* 340D4 80058CD4 AC82000C */ sw $v0, 0xc($a0)
/* 340D8 80058CD8 A4470000 */ sh $a3, ($v0)
/* 340DC 80058CDC 0C0162A0 */ jal func_80058A80
/* 340E0 80058CE0 8C84000C */ lw $a0, 0xc($a0)
/* 340E4 80058CE4 0801633C */ j .L80058CF0
/* 340E8 80058CE8 00000000 */ nop
.L80058CEC:
/* 340EC 80058CEC AC80000C */ sw $zero, 0xc($a0)
.L80058CF0:
/* 340F0 80058CF0 8FBF0010 */ lw $ra, 0x10($sp)
/* 340F4 80058CF4 03E00008 */ jr $ra
/* 340F8 80058CF8 27BD0018 */ addiu $sp, $sp, 0x18