papermario/ver/us/asm/nonmatchings/40B3F0/func_E012039C.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

23 lines
1.1 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E012039C
/* 40B78C E012039C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 40B790 E01203A0 3C02E012 */ lui $v0, %hi(func_E01203E4)
/* 40B794 E01203A4 244203E4 */ addiu $v0, $v0, %lo(func_E01203E4)
/* 40B798 E01203A8 AFA2001C */ sw $v0, 0x1c($sp)
/* 40B79C E01203AC 2402000A */ addiu $v0, $zero, 0xa
/* 40B7A0 E01203B0 AFA20014 */ sw $v0, 0x14($sp)
/* 40B7A4 E01203B4 2402002D */ addiu $v0, $zero, 0x2d
/* 40B7A8 E01203B8 AFA40018 */ sw $a0, 0x18($sp)
/* 40B7AC E01203BC 27A40010 */ addiu $a0, $sp, 0x10
/* 40B7B0 E01203C0 AFBF0020 */ sw $ra, 0x20($sp)
/* 40B7B4 E01203C4 0C080120 */ jal func_E0200480
/* 40B7B8 E01203C8 AFA20010 */ sw $v0, 0x10($sp)
/* 40B7BC E01203CC 8C430000 */ lw $v1, ($v0)
/* 40B7C0 E01203D0 34630002 */ ori $v1, $v1, 2
/* 40B7C4 E01203D4 AC430000 */ sw $v1, ($v0)
/* 40B7C8 E01203D8 8FBF0020 */ lw $ra, 0x20($sp)
/* 40B7CC E01203DC 03E00008 */ jr $ra
/* 40B7D0 E01203E0 27BD0028 */ addiu $sp, $sp, 0x28