Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "
- Security:
- -> Custom Checksum
- -> Offset: Size - 4
- -> Calculation Start: 0
- -> Calculation Length: 0x9A640 * 4
- "
- private int CalculateChecksum(byte[] data) {
- using (var xIO = new MasterIO(data, Endian.BIG)) {
- int sum = 0;
- for (int i = 0; i < 0x9A640; ++i)
- sum += xIO.Reader.ReadInt32();
- return sum;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement