papermario/ver/us/asm/nonmatchings/d5a50_len_5fd0/func_80144DF4.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

27 lines
1.3 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80144DF4
/* DB4F4 80144DF4 2402F7FF */ addiu $v0, $zero, -0x801
/* DB4F8 80144DF8 00822024 */ and $a0, $a0, $v0
/* DB4FC 80144DFC 00042080 */ sll $a0, $a0, 2
/* DB500 80144E00 3C028015 */ lui $v0, %hi(D_80157960)
/* DB504 80144E04 8C427960 */ lw $v0, %lo(D_80157960)($v0)
/* DB508 80144E08 3C013F80 */ lui $at, 0x3f80
/* DB50C 80144E0C 44810000 */ mtc1 $at, $f0
/* DB510 80144E10 00822021 */ addu $a0, $a0, $v0
/* DB514 80144E14 8C840000 */ lw $a0, ($a0)
/* DB518 80144E18 24020400 */ addiu $v0, $zero, 0x400
/* DB51C 80144E1C AC820034 */ sw $v0, 0x34($a0)
/* DB520 80144E20 AC820038 */ sw $v0, 0x38($a0)
/* DB524 80144E24 8C820000 */ lw $v0, ($a0)
/* DB528 80144E28 2403FEFF */ addiu $v1, $zero, -0x101
/* DB52C 80144E2C A0850046 */ sb $a1, 0x46($a0)
/* DB530 80144E30 A0850045 */ sb $a1, 0x45($a0)
/* DB534 80144E34 E4800030 */ swc1 $f0, 0x30($a0)
/* DB538 80144E38 00431024 */ and $v0, $v0, $v1
/* DB53C 80144E3C 2403F7EF */ addiu $v1, $zero, -0x811
/* DB540 80144E40 00431024 */ and $v0, $v0, $v1
/* DB544 80144E44 03E00008 */ jr $ra
/* DB548 80144E48 AC820000 */ sw $v0, ($a0)