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

34 lines
1.5 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80266DAC
/* 19568C 80266DAC 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 195690 80266DB0 AFBF0018 */ sw $ra, 0x18($sp)
/* 195694 80266DB4 AFB10014 */ sw $s1, 0x14($sp)
/* 195698 80266DB8 AFB00010 */ sw $s0, 0x10($sp)
/* 19569C 80266DBC 8C9001F4 */ lw $s0, 0x1f4($a0)
/* 1956A0 80266DC0 1200000F */ beqz $s0, .L80266E00
/* 1956A4 80266DC4 00A0882D */ daddu $s1, $a1, $zero
.L80266DC8:
/* 1956A8 80266DC8 8E030000 */ lw $v1, ($s0)
/* 1956AC 80266DCC 30620001 */ andi $v0, $v1, 1
/* 1956B0 80266DD0 14400008 */ bnez $v0, .L80266DF4
/* 1956B4 80266DD4 00000000 */ nop
/* 1956B8 80266DD8 8E020094 */ lw $v0, 0x94($s0)
/* 1956BC 80266DDC 10400005 */ beqz $v0, .L80266DF4
/* 1956C0 80266DE0 30620002 */ andi $v0, $v1, 2
/* 1956C4 80266DE4 14400003 */ bnez $v0, .L80266DF4
/* 1956C8 80266DE8 0200202D */ daddu $a0, $s0, $zero
/* 1956CC 80266DEC 0C099B5B */ jal func_80266D6C
/* 1956D0 80266DF0 0220282D */ daddu $a1, $s1, $zero
.L80266DF4:
/* 1956D4 80266DF4 8E10000C */ lw $s0, 0xc($s0)
/* 1956D8 80266DF8 1600FFF3 */ bnez $s0, .L80266DC8
/* 1956DC 80266DFC 00000000 */ nop
.L80266E00:
/* 1956E0 80266E00 8FBF0018 */ lw $ra, 0x18($sp)
/* 1956E4 80266E04 8FB10014 */ lw $s1, 0x14($sp)
/* 1956E8 80266E08 8FB00010 */ lw $s0, 0x10($sp)
/* 1956EC 80266E0C 03E00008 */ jr $ra
/* 1956F0 80266E10 27BD0020 */ addiu $sp, $sp, 0x20