Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JKRAram.cpp File Reference

Functions

static u8firstSrcData ()
 
static u8nextSrcData (u8 *param_0)
 
static int JKRDecompressFromAramToMainRam (u32 src, void *dst, u32 srcLength, u32 dstLength, u32 offset, u32 *resourceSize)
 
int decompSZS_subroutine (u8 *src, u8 *dest)
 

Variables

static OSMutex decompMutex
 
static u8szpBuf
 
static u8szpEnd
 
static u8refBuf
 
static u8refEnd
 
static u8refCurrent
 
static u32 srcOffset
 
static u32 transLeft
 
static u8srcLimit
 
static u32 srcAddress
 
static u32 fileOffset
 
static u32 readCount
 
static u32 maxDest
 
static bool s_is_decompress_mutex_initialized
 
static u32tsPtr
 
static u32 tsArea
 
static const charstringBase_8039D0A6 = "bad aramSync\n"
 
static const charpad_8039D0B4 = "\0\0\0"
 

Function Documentation

◆ decompSZS_subroutine()

int decompSZS_subroutine ( u8 src,
u8 dest 
)

◆ firstSrcData()

static u8 * firstSrcData ( )
static

◆ JKRDecompressFromAramToMainRam()

static int JKRDecompressFromAramToMainRam ( u32  src,
void dst,
u32  srcLength,
u32  dstLength,
u32  offset,
u32 resourceSize 
)
static

◆ nextSrcData()

static u8 * nextSrcData ( u8 param_0)
static

Variable Documentation

◆ decompMutex

OSMutex decompMutex
static

◆ fileOffset

u32 fileOffset
static

◆ maxDest

u32 maxDest
static

◆ pad_8039D0B4

const char* pad_8039D0B4 = "\0\0\0"
static

◆ readCount

u32 readCount
static

◆ refBuf

u8* refBuf
static

◆ refCurrent

u8* refCurrent
static

◆ refEnd

u8* refEnd
static

◆ s_is_decompress_mutex_initialized

bool s_is_decompress_mutex_initialized
static

◆ srcAddress

u32 srcAddress
static

◆ srcLimit

u8* srcLimit
static

◆ srcOffset

u32 srcOffset
static

◆ stringBase_8039D0A6

const char* stringBase_8039D0A6 = "bad aramSync\n"
static

◆ szpBuf

u8* szpBuf
static

◆ szpEnd

u8* szpEnd
static

◆ transLeft

u32 transLeft
static

◆ tsArea

u32 tsArea
static

◆ tsPtr

u32* tsPtr
static