papermario/ver/jp/asm/nonmatchings/main_13530/func_8003E1E4.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

41 lines
1.8 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8003E1E4
/* 195E4 8003E1E4 3C03800A */ lui $v1, %hi(D_8009A5E0)
/* 195E8 8003E1E8 8C63A5E0 */ lw $v1, %lo(D_8009A5E0)($v1)
/* 195EC 8003E1EC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 195F0 8003E1F0 2C620006 */ sltiu $v0, $v1, 6
/* 195F4 8003E1F4 10400019 */ beqz $v0, .L8003E25C
/* 195F8 8003E1F8 AFBF0010 */ sw $ra, 0x10($sp)
/* 195FC 8003E1FC 00031080 */ sll $v0, $v1, 2
/* 19600 8003E200 3C01800A */ lui $at, %hi(D_800985A0)
/* 19604 8003E204 00220821 */ addu $at, $at, $v0
/* 19608 8003E208 8C2285A0 */ lw $v0, %lo(D_800985A0)($at)
/* 1960C 8003E20C 00400008 */ jr $v0
/* 19610 8003E210 00000000 */ nop
/* 19614 8003E214 0C010CDC */ jal func_80043370
/* 19618 8003E218 00000000 */ nop
/* 1961C 8003E21C 0800F897 */ j .L8003E25C
/* 19620 8003E220 00000000 */ nop
/* 19624 8003E224 0C00FD23 */ jal func_8003F48C
/* 19628 8003E228 00000000 */ nop
/* 1962C 8003E22C 0800F897 */ j .L8003E25C
/* 19630 8003E230 00000000 */ nop
/* 19634 8003E234 0C010409 */ jal func_80041024
/* 19638 8003E238 00000000 */ nop
/* 1963C 8003E23C 0800F897 */ j .L8003E25C
/* 19640 8003E240 00000000 */ nop
/* 19644 8003E244 0C010B57 */ jal func_80042D5C
/* 19648 8003E248 00000000 */ nop
/* 1964C 8003E24C 0800F897 */ j .L8003E25C
/* 19650 8003E250 00000000 */ nop
/* 19654 8003E254 0C0106F4 */ jal func_80041BD0
/* 19658 8003E258 00000000 */ nop
.L8003E25C:
/* 1965C 8003E25C 0C01160A */ jal func_80045828
/* 19660 8003E260 00000000 */ nop
/* 19664 8003E264 8FBF0010 */ lw $ra, 0x10($sp)
/* 19668 8003E268 03E00008 */ jr $ra
/* 1966C 8003E26C 27BD0018 */ addiu $sp, $sp, 0x18