papermario/ver/us/asm/nonmatchings/EFEB00/func_802404D0_EFEFD0.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

33 lines
1.7 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802404D0_EFEFD0
/* EFEFD0 802404D0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* EFEFD4 802404D4 AFB00010 */ sw $s0, 0x10($sp)
/* EFEFD8 802404D8 0080802D */ daddu $s0, $a0, $zero
/* EFEFDC 802404DC AFB20018 */ sw $s2, 0x18($sp)
/* EFEFE0 802404E0 3C128011 */ lui $s2, %hi(D_80117578)
/* EFEFE4 802404E4 26527578 */ addiu $s2, $s2, %lo(D_80117578)
/* EFEFE8 802404E8 AFBF001C */ sw $ra, 0x1c($sp)
/* EFEFEC 802404EC AFB10014 */ sw $s1, 0x14($sp)
/* EFEFF0 802404F0 C64000A8 */ lwc1 $f0, 0xa8($s2)
/* EFEFF4 802404F4 8E02000C */ lw $v0, 0xc($s0)
/* EFEFF8 802404F8 4600008D */ trunc.w.s $f2, $f0
/* EFEFFC 802404FC 44061000 */ mfc1 $a2, $f2
/* EFF000 80240500 8C450000 */ lw $a1, ($v0)
/* EFF004 80240504 0C0B551A */ jal dead_set_variable
/* EFF008 80240508 8C510004 */ lw $s1, 4($v0)
/* EFF00C 8024050C 0200202D */ daddu $a0, $s0, $zero
/* EFF010 80240510 C6400080 */ lwc1 $f0, 0x80($s2)
/* EFF014 80240514 4600008D */ trunc.w.s $f2, $f0
/* EFF018 80240518 44061000 */ mfc1 $a2, $f2
/* EFF01C 8024051C 0C0B551A */ jal dead_set_variable
/* EFF020 80240520 0220282D */ daddu $a1, $s1, $zero
/* EFF024 80240524 8FBF001C */ lw $ra, 0x1c($sp)
/* EFF028 80240528 8FB20018 */ lw $s2, 0x18($sp)
/* EFF02C 8024052C 8FB10014 */ lw $s1, 0x14($sp)
/* EFF030 80240530 8FB00010 */ lw $s0, 0x10($sp)
/* EFF034 80240534 24020002 */ addiu $v0, $zero, 2
/* EFF038 80240538 03E00008 */ jr $ra
/* EFF03C 8024053C 27BD0020 */ addiu $sp, $sp, 0x20