papermario/ver/us/asm/nonmatchings/165490/func_80244CEC.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

36 lines
1.8 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80244CEC
/* 16554C 80244CEC 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* 165550 80244CF0 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* 165554 80244CF4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 165558 80244CF8 AFBF0014 */ sw $ra, 0x14($sp)
/* 16555C 80244CFC AFB00010 */ sw $s0, 0x10($sp)
/* 165560 80244D00 904300AB */ lbu $v1, 0xab($v0)
/* 165564 80244D04 24020001 */ addiu $v0, $zero, 1
/* 165568 80244D08 14620009 */ bne $v1, $v0, .L80244D30
/* 16556C 80244D0C 24A50022 */ addiu $a1, $a1, 0x22
/* 165570 80244D10 3C108025 */ lui $s0, %hi(D_8024C0B0)
/* 165574 80244D14 2610C0B0 */ addiu $s0, $s0, %lo(D_8024C0B0)
/* 165578 80244D18 8E040048 */ lw $a0, 0x48($s0)
/* 16557C 80244D1C 0C051261 */ jal set_icon_render_pos
/* 165580 80244D20 24C6000A */ addiu $a2, $a2, 0xa
/* 165584 80244D24 8E040048 */ lw $a0, 0x48($s0)
/* 165588 80244D28 08091352 */ j .L80244D48
/* 16558C 80244D2C 00000000 */ nop
.L80244D30:
/* 165590 80244D30 3C108025 */ lui $s0, %hi(D_8024C0B0)
/* 165594 80244D34 2610C0B0 */ addiu $s0, $s0, %lo(D_8024C0B0)
/* 165598 80244D38 8E04004C */ lw $a0, 0x4c($s0)
/* 16559C 80244D3C 0C051261 */ jal set_icon_render_pos
/* 1655A0 80244D40 24C6000A */ addiu $a2, $a2, 0xa
/* 1655A4 80244D44 8E04004C */ lw $a0, 0x4c($s0)
.L80244D48:
/* 1655A8 80244D48 0C0511F8 */ jal draw_icon_2
/* 1655AC 80244D4C 00000000 */ nop
/* 1655B0 80244D50 8FBF0014 */ lw $ra, 0x14($sp)
/* 1655B4 80244D54 8FB00010 */ lw $s0, 0x10($sp)
/* 1655B8 80244D58 03E00008 */ jr $ra
/* 1655BC 80244D5C 27BD0018 */ addiu $sp, $sp, 0x18