Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- endian big
- comtype COMP_UNZIP_DYNAMIC
- get fileCount long
- for i = 0 < fileCount
- get offsets[i] long
- next i
- xmath trueCount "fileCount - 1"
- for i = 0 < trueCount
- if i == trueCount
- math Offset = offsets[i]
- math Offset + 0x10
- get FileSize asize
- xmath FinalSize "FileSize - Offset"
- clog "" Offset FinalSize FinalSize
- endif
- math Offset = offsets[i]
- math Offset + 0x10
- math i + 1
- math Size = offsets[i]
- math Size + 0x10
- xmath TrueSize "Size - Offset"
- math i - 1
- clog "" Offset TrueSize TrueSize
- next i
Advertisement
Add Comment
Please, Sign In to add comment