Created
February 21, 2025 06:26
-
-
Save matteyeux/d11e5bb230b0481f41fa6113542e56e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct FileEntry { | |
char tag[4]; | |
u32 offset; | |
u32 length; | |
u32 pad; | |
}; | |
struct FTAB_Header { | |
u32 unk[8]; | |
char magic[8]; | |
u32 num_entries; | |
u32 zero; | |
FileEntry entries[num_entries]; | |
}; | |
FTAB_Header header @ 0; | |
for (u32 i = 0, i < header.num_entries, i = i + 1) { | |
FileEntry entry @ (sizeof(header) + i * sizeof(FileEntry)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment