Hey, So I've been trying to hack Plants vs Zombies Heroes for a few days now and im getting really stuck.
I've found the offsets for the player's sun which is 0x100683328.
This offset is triggered when the player uses their sun. When I change:
SUB W9, W9, W1
Into this
ADD W9, W9, W1
It affects the player's sun value visually, however it still does not allow you to use more than what you initially had(Correct Value).
There is also another offset that is triggered on each new wave which again affects the Player's sun (it acts like a reset of sorts) which is located at 0x100683264
Once again if I change
STR W1, [X0,#0x48]
To
STR W7, [X0,#0x48]
It changes the players sun, but only visually. (Note [19,#0x48] and [X0,#0x48] both point to the same address).
Now to me it seems there is obviously some sort of check happening to make sure the values are the same and if theyre not restore them to what they were, but I cant seem to find it.
Any help would be greatly appreciated.