ASM Locations in the PMD:Explorers of Sky Games

From ProjectPokemon Wiki
Revision as of 08:33, 15 December 2016 by Psy commando (talk | contribs) (Created the base structure of the page and added a few functions to the list for now. More to do!!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Overview

This page contains list of the interesting offsets within the game's binaries.

Functions

Functions pointers and some documentation on them.

ARM9 Bin

Name Offset NA Offset EU Offset JP Parameters Return value Description
MemAlloc 0x2001170 NA NA
  • r0: alloc size
  • r1: unknown
  • r0: Pointer to allocated buffer
This function allocates a buffer on the heap of the desired size, and returns a pointer to it.
MemFree 0x2001188 NA NA
  • r0: buffer to free
none This function free a buffer that was allocated by MemAlloc.
ZeroFill 0x2003250 NA NA
  • r0: Buffer to fill
  • r1: Length to fill
none This function fills the given buffer with zeros.
DebugPrint 0x200C240 NA NA Unknown none This function would print to the debug log a printf formated string. But in the retail game it does nothing. Its interesting to note that its still called in the released games and is passed various debug strings and value which can be really useful for research!

Static Variables

Addresses of static variables and buffers.


Constants

Addresses of static constant values.