papermario/ver/jp/asm/nonmatchings/main_10080/func_800352E0.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

48 lines
2.4 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800352E0
/* 106E0 800352E0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 106E4 800352E4 AFBF0018 */ sw $ra, 0x18($sp)
/* 106E8 800352E8 3C01800A */ lui $at, %hi(D_8009E741)
/* 106EC 800352EC A020E741 */ sb $zero, %lo(D_8009E741)($at)
/* 106F0 800352F0 3C01800A */ lui $at, %hi(D_8009E742)
/* 106F4 800352F4 A420E742 */ sh $zero, %lo(D_8009E742)($at)
/* 106F8 800352F8 3C01800A */ lui $at, %hi(D_8009E740)
/* 106FC 800352FC A020E740 */ sb $zero, %lo(D_8009E740)($at)
/* 10700 80035300 0C0910E5 */ jal func_80244394
/* 10704 80035304 00000000 */ nop
/* 10708 80035308 14400005 */ bnez $v0, .L80035320
/* 1070C 8003530C 00000000 */ nop
/* 10710 80035310 0C04F4D4 */ jal func_8013D350
/* 10714 80035314 24040007 */ addiu $a0, $zero, 7
/* 10718 80035318 0800D4D8 */ j .L80035360
/* 1071C 8003531C 00000000 */ nop
.L80035320:
/* 10720 80035320 0C04F4D4 */ jal func_8013D350
/* 10724 80035324 24040008 */ addiu $a0, $zero, 8
/* 10728 80035328 3C06FFFE */ lui $a2, 0xfffe
/* 1072C 8003532C 34C6FFFF */ ori $a2, $a2, 0xffff
/* 10730 80035330 0000202D */ daddu $a0, $zero, $zero
/* 10734 80035334 3C05800A */ lui $a1, %hi(D_8009A630)
/* 10738 80035338 24A5A630 */ addiu $a1, $a1, %lo(D_8009A630)
/* 1073C 8003533C 24030008 */ addiu $v1, $zero, 8
/* 10740 80035340 8CA20000 */ lw $v0, ($a1)
/* 10744 80035344 240703E8 */ addiu $a3, $zero, 0x3e8
/* 10748 80035348 AFA30010 */ sw $v1, 0x10($sp)
/* 1074C 8003534C 00461024 */ and $v0, $v0, $a2
/* 10750 80035350 ACA20000 */ sw $v0, ($a1)
/* 10754 80035354 2405FFFF */ addiu $a1, $zero, -1
/* 10758 80035358 0C053E72 */ jal func_8014F9C8
/* 1075C 8003535C 0080302D */ daddu $a2, $a0, $zero
.L80035360:
/* 10760 80035360 3C02800A */ lui $v0, %hi(D_8009A630)
/* 10764 80035364 2442A630 */ addiu $v0, $v0, %lo(D_8009A630)
/* 10768 80035368 8C430000 */ lw $v1, ($v0)
/* 1076C 8003536C 2404FFBF */ addiu $a0, $zero, -0x41
/* 10770 80035370 00641824 */ and $v1, $v1, $a0
/* 10774 80035374 AC430000 */ sw $v1, ($v0)
/* 10778 80035378 8FBF0018 */ lw $ra, 0x18($sp)
/* 1077C 8003537C 03E00008 */ jr $ra
/* 10780 80035380 27BD0020 */ addiu $sp, $sp, 0x20