papermario/ver/jp/asm/nonmatchings/2570/func_80027170.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

28 lines
1.3 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80027170
/* 2570 80027170 3C04800A */ lui $a0, %hi(D_8009A64C)
/* 2574 80027174 2484A64C */ addiu $a0, $a0, %lo(D_8009A64C)
/* 2578 80027178 8C830000 */ lw $v1, ($a0)
/* 257C 8002717C 3C02DB06 */ lui $v0, 0xdb06
/* 2580 80027180 0060282D */ daddu $a1, $v1, $zero
/* 2584 80027184 24630008 */ addiu $v1, $v1, 8
/* 2588 80027188 AC830000 */ sw $v1, ($a0)
/* 258C 8002718C ACA20000 */ sw $v0, ($a1)
/* 2590 80027190 24620008 */ addiu $v0, $v1, 8
/* 2594 80027194 ACA00004 */ sw $zero, 4($a1)
/* 2598 80027198 3C05DE00 */ lui $a1, 0xde00
/* 259C 8002719C AC820000 */ sw $v0, ($a0)
/* 25A0 800271A0 3C020007 */ lui $v0, 7
/* 25A4 800271A4 24424210 */ addiu $v0, $v0, 0x4210
/* 25A8 800271A8 AC620004 */ sw $v0, 4($v1)
/* 25AC 800271AC 24620010 */ addiu $v0, $v1, 0x10
/* 25B0 800271B0 AC650000 */ sw $a1, ($v1)
/* 25B4 800271B4 AC820000 */ sw $v0, ($a0)
/* 25B8 800271B8 3C020007 */ lui $v0, 7
/* 25BC 800271BC 244241F0 */ addiu $v0, $v0, 0x41f0
/* 25C0 800271C0 AC650008 */ sw $a1, 8($v1)
/* 25C4 800271C4 03E00008 */ jr $ra
/* 25C8 800271C8 AC62000C */ sw $v0, 0xc($v1)