Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JASSeqReader.h
Go to the documentation of this file.
1#ifndef JASSEQREADER_H
2#define JASSEQREADER_H
3
4#include "dolphin/types.h"
5
11public:
12 /* 80296108 */ void init();
13 /* 80296148 */ void init(void*);
14 /* 8029618C */ bool call(u32);
15 /* 802961CC */ bool loopStart(u32);
16 /* 80296210 */ bool loopEnd();
17 /* 8029627C */ bool ret();
18 /* 802962B0 */ int readMidiValue();
19
23
24 void jump(void* param_1) {
26 }
27
29 return (*(u32*)(field_0x00 + param_0 - 1)) & 0xffffff;
30 }
31
32 u32* getBase() { return (u32*)field_0x00; }
33 void* getAddr(u32 param_0) { return field_0x00 + param_0; }
37 u8* getCur() { return field_0x04; }
38 u32 readByte() { return *field_0x04++; }
40 u16* tmp = (u16*)field_0x04;
41 field_0x04 += 2;
42 return *tmp;
43 }
45 field_0x04--;
46 u32* tmp = (u32*)field_0x04;
47 field_0x04 += 4;
48 return *tmp & 0x00ffffff;
49 }
50 u16 getLoopCount() const { return field_0x08 == 0 ? 0 : field_0x2c[field_0x08 - 1]; }
51
52 /* 0x00 */ u8* field_0x00;
53 /* 0x04 */ u8* field_0x04;
54 /* 0x08 */ u32 field_0x08;
55 /* 0x0C */ u16* field_0x0c[8];
56 /* 0x2C */ u16 field_0x2c[8];
57};
58
59#endif /* JASSEQREADER_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JASSeqReader.h:10
u16 * field_0x0c[8]
Definition JASSeqReader.h:55
void * getAddr(u32 param_0)
Definition JASSeqReader.h:33
void jump(u32 param_1)
Definition JASSeqReader.h:20
bool call(u32)
Definition JASSeqReader.cpp:34
u32 read16()
Definition JASSeqReader.h:39
bool loopEnd()
Definition JASSeqReader.cpp:59
u32 field_0x08
Definition JASSeqReader.h:54
u8 * field_0x04
Definition JASSeqReader.h:53
u16 field_0x2c[8]
Definition JASSeqReader.h:56
int readMidiValue()
Definition JASSeqReader.cpp:92
u8 getByte(u32 param_0)
Definition JASSeqReader.h:34
u32 get32(u32 param_0)
Definition JASSeqReader.h:36
bool loopStart(u32)
Definition JASSeqReader.cpp:46
u32 readByte()
Definition JASSeqReader.h:38
u32 get24(int param_0)
Definition JASSeqReader.h:28
u32 read24()
Definition JASSeqReader.h:44
u8 * field_0x00
Definition JASSeqReader.h:52
void init()
Definition JASSeqReader.cpp:9
u16 get16(u32 param_0)
Definition JASSeqReader.h:35
u32 * getBase()
Definition JASSeqReader.h:32
void jump(void *param_1)
Definition JASSeqReader.h:24
bool ret()
Definition JASSeqReader.cpp:81
u8 * getCur()
Definition JASSeqReader.h:37
u16 getLoopCount() const
Definition JASSeqReader.h:50
static char * tmp[5]
Definition d_a_npc_ashB.cpp:231
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8