papermario/ver/jp/asm/nonmatchings/13530/func_8003E1E4.s
Ethan Roseman 3315d6010f
Splat refactor (#257)
* all non-world rodata migrated

* data disasm

* kinda working

* updated yaml

* bloop

* linker header

* configure 2.0

* bin

* mass rename to remove code_

* pause rename

* battle partner stuff

* whew

* more renames

* more renames

* more renaming

* it builds!

* updates

* remove main prefix

* one more thing

* crc, yay0

* .data, .rodata, .bss

* img

* dead_atan2

* it buildsgit add -A

* split battle/partner/6FAD10

* rm &s on sleepy_sheep syms

* sha1sum ninja rule description

* OK but commented out PaperMarioMapFS and PaperMarioNpcSprites

* uncomment

* fix mapfs

* match func_8003CFB4

* .

* clean up and name npc_iter_no_op

* npc.c

* enable cc warnings

* name npc_find_near

* use singular options.asset_path

* smores

* cc_dsl only when needed

* kinda fix configure for splat refactor2

* ok!

* new msg format

* remove old msg format docs

* slight bug fixes, splat adjustment

* git subrepo pull (merge) --force tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "cfc140bb76"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "cfc140bb76"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* git subrepo pull (merge) --force tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "85349befcd"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "85349befcd"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* Update symbol addrs

* git subrepo pull tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "a44631e194"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "a44631e194"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

Co-authored-by: Alex Bates <hi@imalex.xyz>
2021-04-13 16:47:52 +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