papermario/ver/us/asm/nonmatchings/190B20/func_80266EA8.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

22 lines
972 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80266EA8
/* 195788 80266EA8 8C820094 */ lw $v0, 0x94($a0)
/* 19578C 80266EAC 1040000C */ beqz $v0, .L80266EE0
/* 195790 80266EB0 00000000 */ nop
/* 195794 80266EB4 8C820000 */ lw $v0, ($a0)
/* 195798 80266EB8 30420002 */ andi $v0, $v0, 2
/* 19579C 80266EBC 14400008 */ bnez $v0, .L80266EE0
/* 1957A0 80266EC0 00000000 */ nop
/* 1957A4 80266EC4 8C8400C0 */ lw $a0, 0xc0($a0)
/* 1957A8 80266EC8 80820750 */ lb $v0, 0x750($a0)
/* 1957AC 80266ECC 10450004 */ beq $v0, $a1, .L80266EE0
/* 1957B0 80266ED0 24020001 */ addiu $v0, $zero, 1
/* 1957B4 80266ED4 A0850750 */ sb $a1, 0x750($a0)
/* 1957B8 80266ED8 A0800752 */ sb $zero, 0x752($a0)
/* 1957BC 80266EDC A0820751 */ sb $v0, 0x751($a0)
.L80266EE0:
/* 1957C0 80266EE0 03E00008 */ jr $ra
/* 1957C4 80266EE4 00000000 */ nop