papermario/ver/jp/asm/nonmatchings/6200/func_8002AF98.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

35 lines
1.7 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8002AF98
/* 6398 8002AF98 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 639C 8002AF9C 24040006 */ addiu $a0, $zero, 6
/* 63A0 8002AFA0 AFB00010 */ sw $s0, 0x10($sp)
/* 63A4 8002AFA4 3C10800E */ lui $s0, %hi(D_800D95C8)
/* 63A8 8002AFA8 261095C8 */ addiu $s0, $s0, %lo(D_800D95C8)
/* 63AC 8002AFAC 0200282D */ daddu $a1, $s0, $zero
/* 63B0 8002AFB0 AFBF0014 */ sw $ra, 0x14($sp)
/* 63B4 8002AFB4 0C00AE0A */ jal func_8002B828
/* 63B8 8002AFB8 24060080 */ addiu $a2, $zero, 0x80
/* 63BC 8002AFBC 0C00ABCC */ jal func_8002AF30
/* 63C0 8002AFC0 00000000 */ nop
/* 63C4 8002AFC4 1440000D */ bnez $v0, .L8002AFFC
/* 63C8 8002AFC8 24020001 */ addiu $v0, $zero, 1
/* 63CC 8002AFCC 24040007 */ addiu $a0, $zero, 7
/* 63D0 8002AFD0 0200282D */ daddu $a1, $s0, $zero
/* 63D4 8002AFD4 0C00AE0A */ jal func_8002B828
/* 63D8 8002AFD8 24060080 */ addiu $a2, $zero, 0x80
/* 63DC 8002AFDC 0C00ABCC */ jal func_8002AF30
/* 63E0 8002AFE0 00000000 */ nop
/* 63E4 8002AFE4 14400005 */ bnez $v0, .L8002AFFC
/* 63E8 8002AFE8 24020001 */ addiu $v0, $zero, 1
/* 63EC 8002AFEC 0200202D */ daddu $a0, $s0, $zero
/* 63F0 8002AFF0 0C019250 */ jal func_80064940
/* 63F4 8002AFF4 24050080 */ addiu $a1, $zero, 0x80
/* 63F8 8002AFF8 0000102D */ daddu $v0, $zero, $zero
.L8002AFFC:
/* 63FC 8002AFFC 8FBF0014 */ lw $ra, 0x14($sp)
/* 6400 8002B000 8FB00010 */ lw $s0, 0x10($sp)
/* 6404 8002B004 03E00008 */ jr $ra
/* 6408 8002B008 27BD0018 */ addiu $sp, $sp, 0x18