papermario/ver/jp/asm/nonmatchings/42E50/func_80067A50.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

49 lines
2.4 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80067A50
/* 42E50 80067A50 C4820000 */ lwc1 $f2, ($a0)
/* 42E54 80067A54 44853000 */ mtc1 $a1, $f6
/* 42E58 80067A58 00000000 */ nop
/* 42E5C 80067A5C 46061082 */ mul.s $f2, $f2, $f6
/* 42E60 80067A60 C4840010 */ lwc1 $f4, 0x10($a0)
/* 42E64 80067A64 44864000 */ mtc1 $a2, $f8
/* 42E68 80067A68 00000000 */ nop
/* 42E6C 80067A6C 46082102 */ mul.s $f4, $f4, $f8
/* 42E70 80067A70 C4800020 */ lwc1 $f0, 0x20($a0)
/* 42E74 80067A74 44875000 */ mtc1 $a3, $f10
/* 42E78 80067A78 00000000 */ nop
/* 42E7C 80067A7C 460A0002 */ mul.s $f0, $f0, $f10
/* 42E80 80067A80 46041080 */ add.s $f2, $f2, $f4
/* 42E84 80067A84 46001080 */ add.s $f2, $f2, $f0
/* 42E88 80067A88 C4800030 */ lwc1 $f0, 0x30($a0)
/* 42E8C 80067A8C 8FA20010 */ lw $v0, 0x10($sp)
/* 42E90 80067A90 8FA30014 */ lw $v1, 0x14($sp)
/* 42E94 80067A94 46001080 */ add.s $f2, $f2, $f0
/* 42E98 80067A98 8FA50018 */ lw $a1, 0x18($sp)
/* 42E9C 80067A9C E4420000 */ swc1 $f2, ($v0)
/* 42EA0 80067AA0 C4800004 */ lwc1 $f0, 4($a0)
/* 42EA4 80067AA4 46060002 */ mul.s $f0, $f0, $f6
/* 42EA8 80067AA8 C4840014 */ lwc1 $f4, 0x14($a0)
/* 42EAC 80067AAC 46082102 */ mul.s $f4, $f4, $f8
/* 42EB0 80067AB0 C4820024 */ lwc1 $f2, 0x24($a0)
/* 42EB4 80067AB4 460A1082 */ mul.s $f2, $f2, $f10
/* 42EB8 80067AB8 46040000 */ add.s $f0, $f0, $f4
/* 42EBC 80067ABC 46020000 */ add.s $f0, $f0, $f2
/* 42EC0 80067AC0 C4820034 */ lwc1 $f2, 0x34($a0)
/* 42EC4 80067AC4 46020000 */ add.s $f0, $f0, $f2
/* 42EC8 80067AC8 E4600000 */ swc1 $f0, ($v1)
/* 42ECC 80067ACC C4800008 */ lwc1 $f0, 8($a0)
/* 42ED0 80067AD0 46060002 */ mul.s $f0, $f0, $f6
/* 42ED4 80067AD4 C4840018 */ lwc1 $f4, 0x18($a0)
/* 42ED8 80067AD8 46082102 */ mul.s $f4, $f4, $f8
/* 42EDC 80067ADC C4820028 */ lwc1 $f2, 0x28($a0)
/* 42EE0 80067AE0 460A1082 */ mul.s $f2, $f2, $f10
/* 42EE4 80067AE4 46040000 */ add.s $f0, $f0, $f4
/* 42EE8 80067AE8 46020000 */ add.s $f0, $f0, $f2
/* 42EEC 80067AEC C4820038 */ lwc1 $f2, 0x38($a0)
/* 42EF0 80067AF0 46020000 */ add.s $f0, $f0, $f2
/* 42EF4 80067AF4 03E00008 */ jr $ra
/* 42EF8 80067AF8 E4A00000 */ swc1 $f0, ($a1)
/* 42EFC 80067AFC 00000000 */ nop