Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JKRMemArchive.h
Go to the documentation of this file.
1#ifndef JKRMEMARCHIVE_H
2#define JKRMEMARCHIVE_H
3
5
10
15class JKRMemArchive : public JKRArchive {
16public:
19 virtual ~JKRMemArchive();
20
22 bool open(void*, u32, JKRMemBreakFlag);
23
24 /* vt[09] */ void removeResourceAll(void); /* override */
25 /* vt[10] */ bool removeResource(void*); /* override */
26
27 /* vt[15] */ u32 getExpandedResSize(const void*) const; /* override */
28 /* vt[16] */ void* fetchResource(SDIFileEntry*, u32*); /* override */
29 /* vt[17] */ void* fetchResource(void*, u32, SDIFileEntry*, u32*); /* override */
30
31public:
34
35private:
36 /* 0x00 */ // vtable
37 /* 0x04 */ // JKRArchive
39 /* 0x68 */ u8* mArchiveData;
40 /* 0x6C */ bool mIsOpen;
41 /* 0x6D */ u8 field_0x6d[3];
42};
43
44#endif /* JKRMEMARCHIVE_H */
int JKRCompression
Definition JKRCompression.h:4
JKRMemBreakFlag
Definition JKRMemArchive.h:6
@ JKRMEMBREAK_FLAG_UNKNOWN1
Definition JKRMemArchive.h:8
@ JKRMEMBREAK_FLAG_UNKNOWN0
Definition JKRMemArchive.h:7
Definition JKRArchive.h:57
EMountDirection
Definition JKRArchive.h:104
Definition JKRMemArchive.h:15
u8 field_0x6d[3]
Definition JKRMemArchive.h:41
SArcHeader * mArcHeader
Definition JKRMemArchive.h:38
SArcHeader * getArcHeader()
Definition JKRMemArchive.h:33
u32 getExpandedResSize(const void *) const
Definition JKRMemArchive.cpp:232
bool open(s32, JKRArchive::EMountDirection)
Definition JKRMemArchive.cpp:57
u8 * mArchiveData
Definition JKRMemArchive.h:39
virtual ~JKRMemArchive()
Definition JKRMemArchive.cpp:43
static u32 fetchResource_subroutine(u8 *, u32, u8 *, u32, JKRCompression)
Definition JKRMemArchive.cpp:201
void * fetchResource(SDIFileEntry *, u32 *)
Definition JKRMemArchive.cpp:128
void removeResourceAll(void)
Definition JKRMemArchive.cpp:168
bool removeResource(void *)
Definition JKRMemArchive.cpp:188
bool mIsOpen
Definition JKRMemArchive.h:40
Definition JKRArchive.h:74
Definition JKRArchive.h:14
unsigned long u32
Definition types.h:10
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8