Hey all,
I am pretty new to the hacking scene but I find it really interesting and have been doing a lot of experimenting on my own! I decided to start with a childhood game of mine, Cooking Fever, which I downloaded through the Microsoft Store and figured would be an easy place to start. Maybe I bit off a bit more than I could chew for the start, but I've done okay thus far.
Essentially, this game, for some odd reason, went to some great lengths to prevent memory modification. If I modify coins/gems while game is connected to wifi, it will simply perform a progress rollback and remove them. Only way around this is to add on a fresh reset of the game when you can still play it w/o internet access (after connecting to internet for the first time, you will always be required to be).
So, in looking for a way to hack this not on reset, I learned about code modification. I am a CS student so I understand assembly and memory addressing. I downloaded x32dbg and located the code that subtracts gems when purchasing something. I changed the instruct from sub to add, avoiding changing the size of the instruction, and patched the exe. However, this the game is stored in the WindowsApps folder, it is a nightmare to work with files there. I created a copy of the folder with all its dlls and stuff, so I could access it, replaced the patched exe there, and changed the name to what it was originally, and tried to run it. However, doing this yields "This app can't open." I can't for the life of me figure out why this happens or how to fix it. The only difference between my patched folder and the original is that single assembly instruction.
Any help would be appreciated. This is all on a VM btw and I have full control of WindowsApps folder. Thanks!!!