Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --header
- 4b signature
- 4b limit count 1
- 4b limit count 2
- 4b limit count 3
- 4b TotalNumOfResources 4181 totalSize = (2 * 4181 + 4119) & 0xFFFFF000 = 0x3000
- 4b NumResourceBlocks 141208 total resource blocks size = 141208 * 4096 = 22798000 (offset to 2nd table)
- --first table
- 4072b resource offsets table (2b per offset)
- --resources (each resource is aligned with 0x1000 (4096) bytes
- --second table
- @22798000 additional table, size = 0x10C0
- we read first 4096 bytes in file (header + first table), then skip to this additional table and read it
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement