papermario/ver/jp/asm/nonmatchings/4A1D0/func_8006F27C.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

33 lines
1.5 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8006F27C
/* 4A67C 8006F27C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4A680 8006F280 AFBF0014 */ sw $ra, 0x14($sp)
/* 4A684 8006F284 3C04800B */ lui $a0, %hi(D_800B0C50)
/* 4A688 8006F288 24840C50 */ addiu $a0, $a0, %lo(D_800B0C50)
/* 4A68C 8006F28C 3C05800B */ lui $a1, %hi(D_800B0C5C)
/* 4A690 8006F290 8CA50C5C */ lw $a1, %lo(D_800B0C5C)($a1)
/* 4A694 8006F294 3C010001 */ lui $at, 1
/* 4A698 8006F298 00A17025 */ or $t6, $a1, $at
/* 4A69C 8006F29C 01C02825 */ or $a1, $t6, $zero
/* 4A6A0 8006F2A0 3C06D200 */ lui $a2, 0xd200
/* 4A6A4 8006F2A4 0C01834C */ jal osEPiWriteIo
/* 4A6A8 8006F2A8 00000000 */ nop
/* 4A6AC 8006F2AC 3C04800B */ lui $a0, %hi(D_800B0C50)
/* 4A6B0 8006F2B0 24840C50 */ addiu $a0, $a0, %lo(D_800B0C50)
/* 4A6B4 8006F2B4 3C05800B */ lui $a1, %hi(D_800B0C5C)
/* 4A6B8 8006F2B8 8CA50C5C */ lw $a1, %lo(D_800B0C5C)($a1)
/* 4A6BC 8006F2BC 00003025 */ or $a2, $zero, $zero
/* 4A6C0 8006F2C0 0C01834C */ jal osEPiWriteIo
/* 4A6C4 8006F2C4 00000000 */ nop
/* 4A6C8 8006F2C8 10000003 */ b .L8006F2D8
/* 4A6CC 8006F2CC 00000000 */ nop
/* 4A6D0 8006F2D0 10000001 */ b .L8006F2D8
/* 4A6D4 8006F2D4 00000000 */ nop
.L8006F2D8:
/* 4A6D8 8006F2D8 8FBF0014 */ lw $ra, 0x14($sp)
/* 4A6DC 8006F2DC 27BD0018 */ addiu $sp, $sp, 0x18
/* 4A6E0 8006F2E0 03E00008 */ jr $ra
/* 4A6E4 8006F2E4 00000000 */ nop