papermario/ver/jp/asm/nonmatchings/42B0/func_80029820.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

45 lines
2.3 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80029820
/* 4C20 80029820 27BDFFA0 */ addiu $sp, $sp, -0x60
/* 4C24 80029824 AFB20050 */ sw $s2, 0x50($sp)
/* 4C28 80029828 0080902D */ daddu $s2, $a0, $zero
/* 4C2C 8002982C AFB40058 */ sw $s4, 0x58($sp)
/* 4C30 80029830 00A0A02D */ daddu $s4, $a1, $zero
/* 4C34 80029834 AFB30054 */ sw $s3, 0x54($sp)
/* 4C38 80029838 00C0982D */ daddu $s3, $a2, $zero
/* 4C3C 8002983C 0260282D */ daddu $a1, $s3, $zero
/* 4C40 80029840 AFBF005C */ sw $ra, 0x5c($sp)
/* 4C44 80029844 AFB1004C */ sw $s1, 0x4c($sp)
/* 4C48 80029848 0C018608 */ jal func_80061820
/* 4C4C 8002984C AFB00048 */ sw $s0, 0x48($sp)
/* 4C50 80029850 27B00028 */ addiu $s0, $sp, 0x28
/* 4C54 80029854 0200202D */ daddu $a0, $s0, $zero
/* 4C58 80029858 27B10040 */ addiu $s1, $sp, 0x40
/* 4C5C 8002985C 0220282D */ daddu $a1, $s1, $zero
/* 4C60 80029860 0C019554 */ jal func_80065550
/* 4C64 80029864 24060001 */ addiu $a2, $zero, 1
/* 4C68 80029868 27A50010 */ addiu $a1, $sp, 0x10
/* 4C6C 8002986C 3C04800A */ lui $a0, %hi(carthandle)
/* 4C70 80029870 8C84A618 */ lw $a0, %lo(carthandle)($a0)
/* 4C74 80029874 24060001 */ addiu $a2, $zero, 1
/* 4C78 80029878 A3A00012 */ sb $zero, 0x12($sp)
/* 4C7C 8002987C AFB00014 */ sw $s0, 0x14($sp)
/* 4C80 80029880 AFB20018 */ sw $s2, 0x18($sp)
/* 4C84 80029884 AFB4001C */ sw $s4, 0x1c($sp)
/* 4C88 80029888 0C01837C */ jal func_80060DF0
/* 4C8C 8002988C AFB30020 */ sw $s3, 0x20($sp)
/* 4C90 80029890 0200202D */ daddu $a0, $s0, $zero
/* 4C94 80029894 0220282D */ daddu $a1, $s1, $zero
/* 4C98 80029898 0C0195B0 */ jal func_800656C0
/* 4C9C 8002989C 24060001 */ addiu $a2, $zero, 1
/* 4CA0 800298A0 8FBF005C */ lw $ra, 0x5c($sp)
/* 4CA4 800298A4 8FB40058 */ lw $s4, 0x58($sp)
/* 4CA8 800298A8 8FB30054 */ lw $s3, 0x54($sp)
/* 4CAC 800298AC 8FB20050 */ lw $s2, 0x50($sp)
/* 4CB0 800298B0 8FB1004C */ lw $s1, 0x4c($sp)
/* 4CB4 800298B4 8FB00048 */ lw $s0, 0x48($sp)
/* 4CB8 800298B8 03E00008 */ jr $ra
/* 4CBC 800298BC 27BD0060 */ addiu $sp, $sp, 0x60