papermario/ver/jp/asm/nonmatchings/main_3CCD0/func_80061970.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

40 lines
2.0 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80061970
/* 3CD70 80061970 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 3CD74 80061974 AFB00010 */ sw $s0, 0x10($sp)
/* 3CD78 80061978 AFBF0014 */ sw $ra, 0x14($sp)
/* 3CD7C 8006197C 0C019765 */ jal func_80065D94
/* 3CD80 80061980 00808021 */ addu $s0, $a0, $zero
/* 3CD84 80061984 3C03800A */ lui $v1, %hi(D_8009A5FC)
/* 3CD88 80061988 9063A5FC */ lbu $v1, %lo(D_8009A5FC)($v1)
/* 3CD8C 8006198C 24020001 */ addiu $v0, $zero, 1
/* 3CD90 80061990 1062000B */ beq $v1, $v0, .L800619C0
/* 3CD94 80061994 00000000 */ nop
/* 3CD98 80061998 0C0186A5 */ jal func_80061A94
/* 3CD9C 8006199C 00000000 */ nop
/* 3CDA0 800619A0 3C05800B */ lui $a1, %hi(D_800B0EB0)
/* 3CDA4 800619A4 24A50EB0 */ addiu $a1, $a1, %lo(D_800B0EB0)
/* 3CDA8 800619A8 0C019724 */ jal func_80065C90
/* 3CDAC 800619AC 24040001 */ addiu $a0, $zero, 1
/* 3CDB0 800619B0 02002021 */ addu $a0, $s0, $zero
/* 3CDB4 800619B4 00002821 */ addu $a1, $zero, $zero
/* 3CDB8 800619B8 0C0195B0 */ jal func_800656C0
/* 3CDBC 800619BC 24060001 */ addiu $a2, $zero, 1
.L800619C0:
/* 3CDC0 800619C0 3C05800B */ lui $a1, %hi(D_800B0EB0)
/* 3CDC4 800619C4 24A50EB0 */ addiu $a1, $a1, %lo(D_800B0EB0)
/* 3CDC8 800619C8 0C019724 */ jal func_80065C90
/* 3CDCC 800619CC 00002021 */ addu $a0, $zero, $zero
/* 3CDD0 800619D0 24030001 */ addiu $v1, $zero, 1
/* 3CDD4 800619D4 3C01800A */ lui $at, %hi(D_8009A5FC)
/* 3CDD8 800619D8 A023A5FC */ sb $v1, %lo(D_8009A5FC)($at)
/* 3CDDC 800619DC 0C019780 */ jal func_80065E00
/* 3CDE0 800619E0 00408021 */ addu $s0, $v0, $zero
/* 3CDE4 800619E4 02001021 */ addu $v0, $s0, $zero
/* 3CDE8 800619E8 8FBF0014 */ lw $ra, 0x14($sp)
/* 3CDEC 800619EC 8FB00010 */ lw $s0, 0x10($sp)
/* 3CDF0 800619F0 03E00008 */ jr $ra
/* 3CDF4 800619F4 27BD0018 */ addiu $sp, $sp, 0x18