Loading [MathJax]/extensions/tex2jax.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
CARDUnlock.c File Reference

Functions

static u8 CardData[352] ATTRIBUTE_ALIGN (DOLPHIN_ALIGNMENT)
 
static u32 exnor_1st (u32 data, u32 rshift)
 
static u32 exnor (u32 data, u32 lshift)
 
static u32 bitrev (u32 data)
 
static s32 ReadArrayUnlock (s32 chan, u32 data, void *rbuf, s32 rlen, int mode)
 
static u32 GetInitVal (void)
 
static s32 DummyLen (void)
 
static void InitCallback (void *_task)
 
static void DoneCallback (void *_task)
 
static int CARDRand (void)
 
static void CARDSrand (unsigned int seed)
 
s32 __CARDUnlock (s32 chan, u8 flashID[12])
 

Variables

static u32 next = 1
 

Function Documentation

◆ __CARDUnlock()

s32 __CARDUnlock ( s32 chan,
u8 flashID[12] )

◆ ATTRIBUTE_ALIGN()

static u8 CardData[352] ATTRIBUTE_ALIGN ( DOLPHIN_ALIGNMENT )
static

◆ bitrev()

static u32 bitrev ( u32 data)
static

◆ CARDRand()

static int CARDRand ( void )
static

◆ CARDSrand()

static void CARDSrand ( unsigned int seed)
static

◆ DoneCallback()

static void DoneCallback ( void * _task)
static

◆ DummyLen()

static s32 DummyLen ( void )
static

◆ exnor()

static u32 exnor ( u32 data,
u32 lshift )
static

◆ exnor_1st()

static u32 exnor_1st ( u32 data,
u32 rshift )
static

◆ GetInitVal()

static u32 GetInitVal ( void )
static

◆ InitCallback()

static void InitCallback ( void * _task)
static

◆ ReadArrayUnlock()

static s32 ReadArrayUnlock ( s32 chan,
u32 data,
void * rbuf,
s32 rlen,
int mode )
static

Variable Documentation

◆ next

u32 next = 1
static