papermario/ver/us/asm/nonmatchings/F5750/func_802D4434.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

29 lines
1.2 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802D4434
/* F8DE4 802D4434 27BDFFE8 */ addiu $sp, $sp, -0x18
/* F8DE8 802D4438 AFBF0010 */ sw $ra, 0x10($sp)
/* F8DEC 802D443C 0080282D */ daddu $a1, $a0, $zero
/* F8DF0 802D4440 0000202D */ daddu $a0, $zero, $zero
.L802D4444:
/* F8DF4 802D4444 3C02802E */ lui $v0, %hi(D_802DB7C0)
/* F8DF8 802D4448 8C42B7C0 */ lw $v0, %lo(D_802DB7C0)($v0)
/* F8DFC 802D444C 00041880 */ sll $v1, $a0, 2
/* F8E00 802D4450 00621821 */ addu $v1, $v1, $v0
/* F8E04 802D4454 8C620000 */ lw $v0, ($v1)
/* F8E08 802D4458 54450005 */ bnel $v0, $a1, .L802D4470
/* F8E0C 802D445C 24840001 */ addiu $a0, $a0, 1
/* F8E10 802D4460 0C0B50FD */ jal func_802D43F4
/* F8E14 802D4464 00000000 */ nop
/* F8E18 802D4468 080B511F */ j .L802D447C
/* F8E1C 802D446C 00000000 */ nop
.L802D4470:
/* F8E20 802D4470 28820040 */ slti $v0, $a0, 0x40
/* F8E24 802D4474 1440FFF3 */ bnez $v0, .L802D4444
/* F8E28 802D4478 00000000 */ nop
.L802D447C:
/* F8E2C 802D447C 8FBF0010 */ lw $ra, 0x10($sp)
/* F8E30 802D4480 03E00008 */ jr $ra
/* F8E34 802D4484 27BD0018 */ addiu $sp, $sp, 0x18