Unless you root the device, you shouldn't be able to have one program access programs files or memory http://security.stackexchange.com/questions/46052/ios-sandbo...
If the developer codes a "cheat code" in the game, obviously it would be allowed, as it is part of the application's code.
A cheat code by any other name is just a feature.