This sounds just like a little endian/big endian problem. All the decryption code is handled in Cheats.cpp.