papermario/ver/jp/asm/nonmatchings/7300/func_8002BF00.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.5 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8002BF00
/* 7300 8002BF00 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 7304 8002BF04 3402B71B */ ori $v0, $zero, 0xb71b
/* 7308 8002BF08 00820018 */ mult $a0, $v0
/* 730C 8002BF0C 0000202D */ daddu $a0, $zero, $zero
/* 7310 8002BF10 0000282D */ daddu $a1, $zero, $zero
/* 7314 8002BF14 AFBF0018 */ sw $ra, 0x18($sp)
/* 7318 8002BF18 AFB10014 */ sw $s1, 0x14($sp)
/* 731C 8002BF1C AFB00010 */ sw $s0, 0x10($sp)
/* 7320 8002BF20 00008010 */ mfhi $s0
/* 7324 8002BF24 00008812 */ mflo $s1
/* 7328 8002BF28 0C0198C0 */ jal func_80066300
/* 732C 8002BF2C 00000000 */ nop
.L8002BF30:
/* 7330 8002BF30 0C01989C */ jal func_80066270
/* 7334 8002BF34 00000000 */ nop
/* 7338 8002BF38 0040202D */ daddu $a0, $v0, $zero
/* 733C 8002BF3C 0060282D */ daddu $a1, $v1, $zero
/* 7340 8002BF40 0090102B */ sltu $v0, $a0, $s0
/* 7344 8002BF44 1440FFFA */ bnez $v0, .L8002BF30
/* 7348 8002BF48 00000000 */ nop
/* 734C 8002BF4C 16040003 */ bne $s0, $a0, .L8002BF5C
/* 7350 8002BF50 00B1102B */ sltu $v0, $a1, $s1
/* 7354 8002BF54 1440FFF6 */ bnez $v0, .L8002BF30
/* 7358 8002BF58 00000000 */ nop
.L8002BF5C:
/* 735C 8002BF5C 8FBF0018 */ lw $ra, 0x18($sp)
/* 7360 8002BF60 8FB10014 */ lw $s1, 0x14($sp)
/* 7364 8002BF64 8FB00010 */ lw $s0, 0x10($sp)
/* 7368 8002BF68 03E00008 */ jr $ra
/* 736C 8002BF6C 27BD0020 */ addiu $sp, $sp, 0x20