papermario/ver/us/asm/nonmatchings/sprite/func_802DEA40.s
alex a3e4140101
Sprite stuff (#270)
* root-level configure script

* fix configure on macos?

* fix macos again maybe

* fix messages, add asset stack

* generate map headers from xml maps

* fix sprite_dir asset

* git subrepo pull (merge) --force tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "5e36c45558"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "5e36c45558"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"

* name sprite.c

* almost match func_802DD8F8

* match func_802DD8F8

* crusade against unsigned integers

* name some sprite data

* add pylibyaml to requirements.txt
2021-04-19 00:01:59 -04:00

17 lines
712 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802DEA40
/* 101B30 802DEA40 00042080 */ sll $a0, $a0, 2
/* 101B34 802DEA44 3C02802E */ lui $v0, %hi(spr_npcSprites)
/* 101B38 802DEA48 00441021 */ addu $v0, $v0, $a0
/* 101B3C 802DEA4C 8C42F5B0 */ lw $v0, %lo(spr_npcSprites)($v0)
/* 101B40 802DEA50 14400003 */ bnez $v0, .L802DEA60
/* 101B44 802DEA54 00000000 */ nop
/* 101B48 802DEA58 03E00008 */ jr $ra
/* 101B4C 802DEA5C 0000102D */ daddu $v0, $zero, $zero
.L802DEA60:
/* 101B50 802DEA60 8C420004 */ lw $v0, 4($v0)
/* 101B54 802DEA64 03E00008 */ jr $ra
/* 101B58 802DEA68 00000000 */ nop