papermario/ver/us/asm/nonmatchings/sprite/func_802DDEC4.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

13 lines
547 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802DDEC4
/* 100FB4 802DDEC4 00041040 */ sll $v0, $a0, 1
/* 100FB8 802DDEC8 00441021 */ addu $v0, $v0, $a0
/* 100FBC 802DDECC 00021080 */ sll $v0, $v0, 2
/* 100FC0 802DDED0 3C01802E */ lui $at, %hi(D_802DF590)
/* 100FC4 802DDED4 00220821 */ addu $at, $at, $v0
/* 100FC8 802DDED8 8C22F590 */ lw $v0, %lo(D_802DF590)($at)
/* 100FCC 802DDEDC 03E00008 */ jr $ra
/* 100FD0 802DDEE0 00000000 */ nop