I personally think hacks just change values that cause the memory to be read differently.
Such as an HP hack. The value of HP is found and changed.
Or walking through walls. Collision to objects is turned off by simply changing a value and then the objects that you couldn't regularly walk through are not registered as they were before.
Correct me if I'm wrong, since I know there is something wrong in my explanation.