papermario/ver/us/asm/nonmatchings/4ac90_len_3910/func_80070910.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_80070910
/* 4BD10 80070910 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 4BD14 80070914 AFA40010 */ sw $a0, 0x10($sp)
/* 4BD18 80070918 AFA50014 */ sw $a1, 0x14($sp)
/* 4BD1C 8007091C AFA60018 */ sw $a2, 0x18($sp)
/* 4BD20 80070920 AFA7001C */ sw $a3, 0x1c($sp)
/* 4BD24 80070924 E7AC0020 */ swc1 $f12, 0x20($sp)
/* 4BD28 80070928 E7AE0024 */ swc1 $f14, 0x24($sp)
/* 4BD2C 8007092C E7B00028 */ swc1 $f16, 0x28($sp)
/* 4BD30 80070930 AFBF002C */ sw $ra, 0x2c($sp)
/* 4BD34 80070934 0C016959 */ jal load_effect
/* 4BD38 80070938 2404002C */ addiu $a0, $zero, 0x2c
/* 4BD3C 8007093C 8FA40010 */ lw $a0, 0x10($sp)
/* 4BD40 80070940 8FA50014 */ lw $a1, 0x14($sp)
/* 4BD44 80070944 8FA60018 */ lw $a2, 0x18($sp)
/* 4BD48 80070948 8FA7001C */ lw $a3, 0x1c($sp)
/* 4BD4C 8007094C C7AC0020 */ lwc1 $f12, 0x20($sp)
/* 4BD50 80070950 C7AE0024 */ lwc1 $f14, 0x24($sp)
/* 4BD54 80070954 C7B00028 */ lwc1 $f16, 0x28($sp)
/* 4BD58 80070958 8FBF002C */ lw $ra, 0x2c($sp)
/* 4BD5C 8007095C 27BD0030 */ addiu $sp, $sp, 0x30
/* 4BD60 80070960 3C018008 */ lui $at, %hi(gEffectTable+0x420)
/* 4BD64 80070964 8C21F630 */ lw $at, %lo(gEffectTable+0x420)($at)
/* 4BD68 80070968 00200008 */ jr $at
/* 4BD6C 8007096C 00000000 */ nop