papermario/ver/us/asm/nonmatchings/197F40/func_8026E914.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.5 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8026E914
/* 19D1F4 8026E914 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 19D1F8 8026E918 AFB00010 */ sw $s0, 0x10($sp)
/* 19D1FC 8026E91C 0080802D */ daddu $s0, $a0, $zero
/* 19D200 8026E920 AFB20018 */ sw $s2, 0x18($sp)
/* 19D204 8026E924 3C12800E */ lui $s2, %hi(gBattleStatus)
/* 19D208 8026E928 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)
/* 19D20C 8026E92C AFBF001C */ sw $ra, 0x1c($sp)
/* 19D210 8026E930 AFB10014 */ sw $s1, 0x14($sp)
/* 19D214 8026E934 8E02000C */ lw $v0, 0xc($s0)
/* 19D218 8026E938 864601A4 */ lh $a2, 0x1a4($s2)
/* 19D21C 8026E93C 8C450000 */ lw $a1, ($v0)
/* 19D220 8026E940 0C0B2026 */ jal set_variable
/* 19D224 8026E944 8C510004 */ lw $s1, 4($v0)
/* 19D228 8026E948 0200202D */ daddu $a0, $s0, $zero
/* 19D22C 8026E94C 824601A6 */ lb $a2, 0x1a6($s2)
/* 19D230 8026E950 0C0B2026 */ jal set_variable
/* 19D234 8026E954 0220282D */ daddu $a1, $s1, $zero
/* 19D238 8026E958 8FBF001C */ lw $ra, 0x1c($sp)
/* 19D23C 8026E95C 8FB20018 */ lw $s2, 0x18($sp)
/* 19D240 8026E960 8FB10014 */ lw $s1, 0x14($sp)
/* 19D244 8026E964 8FB00010 */ lw $s0, 0x10($sp)
/* 19D248 8026E968 24020002 */ addiu $v0, $zero, 2
/* 19D24C 8026E96C 03E00008 */ jr $ra
/* 19D250 8026E970 27BD0020 */ addiu $sp, $sp, 0x20