papermario/ver/jp/asm/nonmatchings/3B4A0/func_800602C8.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

30 lines
1.5 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800602C8
/* 3B6C8 800602C8 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 3B6CC 800602CC AFB00040 */ sw $s0, 0x40($sp)
/* 3B6D0 800602D0 27B00010 */ addiu $s0, $sp, 0x10
/* 3B6D4 800602D4 A7A40028 */ sh $a0, 0x28($sp)
/* 3B6D8 800602D8 0200202D */ daddu $a0, $s0, $zero
/* 3B6DC 800602DC AFA50034 */ sw $a1, 0x34($sp)
/* 3B6E0 800602E0 27A50038 */ addiu $a1, $sp, 0x38
/* 3B6E4 800602E4 24060001 */ addiu $a2, $zero, 1
/* 3B6E8 800602E8 AFBF0044 */ sw $ra, 0x44($sp)
/* 3B6EC 800602EC 0C019554 */ jal func_80065550
/* 3B6F0 800602F0 AFB0002C */ sw $s0, 0x2c($sp)
/* 3B6F4 800602F4 3C04800E */ lui $a0, %hi(D_800D91D4)
/* 3B6F8 800602F8 248491D4 */ addiu $a0, $a0, %lo(D_800D91D4)
/* 3B6FC 800602FC 27A50028 */ addiu $a1, $sp, 0x28
/* 3B700 80060300 0C0195FC */ jal func_800657F0
/* 3B704 80060304 24060001 */ addiu $a2, $zero, 1
/* 3B708 80060308 0200202D */ daddu $a0, $s0, $zero
/* 3B70C 8006030C 0000282D */ daddu $a1, $zero, $zero
/* 3B710 80060310 0C0195B0 */ jal func_800656C0
/* 3B714 80060314 24060001 */ addiu $a2, $zero, 1
/* 3B718 80060318 8FA20030 */ lw $v0, 0x30($sp)
/* 3B71C 8006031C 8FBF0044 */ lw $ra, 0x44($sp)
/* 3B720 80060320 8FB00040 */ lw $s0, 0x40($sp)
/* 3B724 80060324 03E00008 */ jr $ra
/* 3B728 80060328 27BD0048 */ addiu $sp, $sp, 0x48