Rename JUTDataBlockHeader

This commit is contained in:
LagoLunatic
2024-01-03 22:29:23 -05:00
parent 512cf5512f
commit 5c6e6213fb
8 changed files with 60 additions and 60 deletions
+26
View File
@@ -0,0 +1,26 @@
#ifndef JFILEHEADER_H
#define JFILEHEADER_H
// Note: The name of this header is fake.
#include "global.h"
struct JUTDataBlockHeader {
/* 0x0 */ u32 mType;
/* 0x4 */ u32 mNextOffset;
const JUTDataBlockHeader* getNext() const { // fake inline
return reinterpret_cast<const JUTDataBlockHeader*>(reinterpret_cast<const u8*>(this) + mNextOffset);
}
};
struct JUTDataFileHeader { // actual struct name unknown
/* 0x00 */ u32 mMagic;
/* 0x04 */ u32 mType;
/* 0x08 */ u32 mFileSize;
/* 0x0C */ u32 mBlockNum;
/* 0x10 */ u8 _10[0x20 - 0x10];
/* 0x20 */ JUTDataBlockHeader mFirstBlock;
};
#endif /* JFILEHEADER_H */