papermario/ver/us/asm/nonmatchings/4ac90_len_3910/func_80070EB0.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

29 lines
1.4 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80070EB0
/* 4C2B0 80070EB0 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 4C2B4 80070EB4 AFA40010 */ sw $a0, 0x10($sp)
/* 4C2B8 80070EB8 AFA50014 */ sw $a1, 0x14($sp)
/* 4C2BC 80070EBC AFA60018 */ sw $a2, 0x18($sp)
/* 4C2C0 80070EC0 AFA7001C */ sw $a3, 0x1c($sp)
/* 4C2C4 80070EC4 E7AC0020 */ swc1 $f12, 0x20($sp)
/* 4C2C8 80070EC8 E7AE0024 */ swc1 $f14, 0x24($sp)
/* 4C2CC 80070ECC E7B00028 */ swc1 $f16, 0x28($sp)
/* 4C2D0 80070ED0 AFBF002C */ sw $ra, 0x2c($sp)
/* 4C2D4 80070ED4 0C016959 */ jal load_effect
/* 4C2D8 80070ED8 2404003B */ addiu $a0, $zero, 0x3b
/* 4C2DC 80070EDC 8FA40010 */ lw $a0, 0x10($sp)
/* 4C2E0 80070EE0 8FA50014 */ lw $a1, 0x14($sp)
/* 4C2E4 80070EE4 8FA60018 */ lw $a2, 0x18($sp)
/* 4C2E8 80070EE8 8FA7001C */ lw $a3, 0x1c($sp)
/* 4C2EC 80070EEC C7AC0020 */ lwc1 $f12, 0x20($sp)
/* 4C2F0 80070EF0 C7AE0024 */ lwc1 $f14, 0x24($sp)
/* 4C2F4 80070EF4 C7B00028 */ lwc1 $f16, 0x28($sp)
/* 4C2F8 80070EF8 8FBF002C */ lw $ra, 0x2c($sp)
/* 4C2FC 80070EFC 27BD0030 */ addiu $sp, $sp, 0x30
/* 4C300 80070F00 3C018008 */ lui $at, %hi(gEffectTable+0x588)
/* 4C304 80070F04 8C21F798 */ lw $at, %lo(gEffectTable+0x588)($at)
/* 4C308 80070F08 00200008 */ jr $at
/* 4C30C 80070F0C 00000000 */ nop