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

26 lines
1.2 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802D4560
/* F8F10 802D4560 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* F8F14 802D4564 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* F8F18 802D4568 80420070 */ lb $v0, 0x70($v0)
/* F8F1C 802D456C 14400007 */ bnez $v0, .L802D458C
/* F8F20 802D4570 00000000 */ nop
/* F8F24 802D4574 3C02802E */ lui $v0, %hi(D_802DB6C0)
/* F8F28 802D4578 2442B6C0 */ addiu $v0, $v0, %lo(D_802DB6C0)
/* F8F2C 802D457C 3C01802E */ lui $at, %hi(D_802DB7C0)
/* F8F30 802D4580 AC22B7C0 */ sw $v0, %lo(D_802DB7C0)($at)
/* F8F34 802D4584 03E00008 */ jr $ra
/* F8F38 802D4588 00000000 */ nop
.L802D458C:
/* F8F3C 802D458C 3C02802E */ lui $v0, %hi(D_802DB5C0)
/* F8F40 802D4590 2442B5C0 */ addiu $v0, $v0, %lo(D_802DB5C0)
/* F8F44 802D4594 3C01802E */ lui $at, %hi(D_802DB7C0)
/* F8F48 802D4598 AC22B7C0 */ sw $v0, %lo(D_802DB7C0)($at)
/* F8F4C 802D459C 03E00008 */ jr $ra
/* F8F50 802D45A0 00000000 */ nop
/* F8F54 802D45A4 00000000 */ nop
/* F8F58 802D45A8 00000000 */ nop
/* F8F5C 802D45AC 00000000 */ nop