Posted: Sat Apr 11, 2020 7:46 am Post subject: Having trouble finding pointers in a Unity WebGL game
I'm very new to Cheat Engine and similar, so I don't know much about many of its features. I went through most of the tutorial. I wanted to hack a certain Unity WebGL game (it's offline, so it doesn't store stuff on the server) that runs in-browser. I'm able to find addresses and modify them just fine, but when I try to do a pointer scan, no results come up. What settings should I be using for the pointer scan? What else can I do? Help would be appreciated
Edit: I've seen conflicting results on whether pointers actually work on games in browsers. If they don't, is there a way to download the game? An internet search did not lead me anywhere in that respect...
Give up finding pointers. Unity WebGL is basically run by a virtual machine JIT compiling bytecode (i.e. wasm). You can try to backtrace an access to see pointer paths traversed by the game, but in my experience the implementation of JIT compilers have never included a system that's "easy" to find a persistent pointer in. Even if you do, it's likely to change on minor updates to anything relevant.
If the output of the JIT compiler seems consistent, you could try a basic injection copy to get the address; otherwise, change the bytecode. Search for "wasm reverse engineering" or something. Someone else said this talk is good, but I haven't watched it myself yet. _________________
I don't know where I'm going, but I'll figure it out when I get there.
Thanks for your reply and sorry for mine being a late one (gmail marked notification as spam...). How would I go about getting the wasm binary from the website/html?
In firefox you can get the source from the builtin debugger. Maybe by recording network activity you can get a url (builtin to firefox too). chromium may have something similar. _________________
I don't know where I'm going, but I'll figure it out when I get there.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum