Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
CARDUnlock.c File Reference

Classes

struct  DecodeParameters
 

Typedefs

typedef struct DecodeParameters DecodeParameters
 

Functions

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

Variables

static unsigned long int next = 1
 

Typedef Documentation

◆ DecodeParameters

Function Documentation

◆ __CARDUnlock()

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

◆ ALIGN_DECL()

static u8 CardData[] ALIGN_DECL ( 32  )
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,
s32  mode 
)
static

Variable Documentation

◆ next

unsigned long int next = 1
static