papermario/ver/jp/asm/nonmatchings/main_42B0/func_80029E10.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

39 lines
1.7 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80029E10
/* 5210 80029E10 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 5214 80029E14 AFB00010 */ sw $s0, 0x10($sp)
/* 5218 80029E18 3C108007 */ lui $s0, %hi(D_8007417C)
/* 521C 80029E1C 2610417C */ addiu $s0, $s0, %lo(D_8007417C)
/* 5220 80029E20 AFBF0014 */ sw $ra, 0x14($sp)
/* 5224 80029E24 8E020000 */ lw $v0, ($s0)
/* 5228 80029E28 C4420128 */ lwc1 $f2, 0x128($v0)
/* 522C 80029E2C 46021082 */ mul.s $f2, $f2, $f2
/* 5230 80029E30 00000000 */ nop
/* 5234 80029E34 C4400130 */ lwc1 $f0, 0x130($v0)
/* 5238 80029E38 46000002 */ mul.s $f0, $f0, $f0
/* 523C 80029E3C 00000000 */ nop
/* 5240 80029E40 46001300 */ add.s $f12, $f2, $f0
/* 5244 80029E44 46006104 */ sqrt.s $f4, $f12
/* 5248 80029E48 46042032 */ c.eq.s $f4, $f4
/* 524C 80029E4C 00000000 */ nop
/* 5250 80029E50 45010005 */ bc1t .L80029E68
/* 5254 80029E54 00000000 */ nop
/* 5258 80029E58 0C0187B0 */ jal func_80061EC0
/* 525C 80029E5C 00000000 */ nop
/* 5260 80029E60 46000106 */ mov.s $f4, $f0
/* 5264 80029E64 8E020000 */ lw $v0, ($s0)
.L80029E68:
/* 5268 80029E68 44806000 */ mtc1 $zero, $f12
/* 526C 80029E6C C440012C */ lwc1 $f0, 0x12c($v0)
/* 5270 80029E70 44062000 */ mfc1 $a2, $f4
/* 5274 80029E74 46000007 */ neg.s $f0, $f0
/* 5278 80029E78 44070000 */ mfc1 $a3, $f0
/* 527C 80029E7C 0C00A710 */ jal func_80029C40
/* 5280 80029E80 46006386 */ mov.s $f14, $f12
/* 5284 80029E84 8FBF0014 */ lw $ra, 0x14($sp)
/* 5288 80029E88 8FB00010 */ lw $s0, 0x10($sp)
/* 528C 80029E8C 03E00008 */ jr $ra
/* 5290 80029E90 27BD0018 */ addiu $sp, $sp, 0x18