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

20 lines
943 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80144E74
/* DB574 80144E74 2402F7FF */ addiu $v0, $zero, -0x801
/* DB578 80144E78 00822024 */ and $a0, $a0, $v0
/* DB57C 80144E7C 00042080 */ sll $a0, $a0, 2
/* DB580 80144E80 3C028015 */ lui $v0, %hi(D_80157960)
/* DB584 80144E84 8C427960 */ lw $v0, %lo(D_80157960)($v0)
/* DB588 80144E88 3C03F0FF */ lui $v1, 0xf0ff
/* DB58C 80144E8C 00822021 */ addu $a0, $a0, $v0
/* DB590 80144E90 8C840000 */ lw $a0, ($a0)
/* DB594 80144E94 3463FFFF */ ori $v1, $v1, 0xffff
/* DB598 80144E98 8C820000 */ lw $v0, ($a0)
/* DB59C 80144E9C 00052E00 */ sll $a1, $a1, 0x18
/* DB5A0 80144EA0 00431024 */ and $v0, $v0, $v1
/* DB5A4 80144EA4 00451025 */ or $v0, $v0, $a1
/* DB5A8 80144EA8 03E00008 */ jr $ra
/* DB5AC 80144EAC AC820000 */ sw $v0, ($a0)