Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Having trouble finding pointers in a Unity WebGL game

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
MMMMMMMMMMMMM
How do I cheat?
Reputation: 0

Joined: 11 Apr 2020
Posts: 3

PostPosted: Sat Apr 11, 2020 7:46 am    Post subject: Having trouble finding pointers in a Unity WebGL game Reply with quote

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 Very Happy

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...
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4691

PostPosted: Sat Apr 11, 2020 10:23 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
MMMMMMMMMMMMM
How do I cheat?
Reputation: 0

Joined: 11 Apr 2020
Posts: 3

PostPosted: Sun May 03, 2020 1:47 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4691

PostPosted: Sun May 03, 2020 2:32 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
MMMMMMMMMMMMM
How do I cheat?
Reputation: 0

Joined: 11 Apr 2020
Posts: 3

PostPosted: Sun May 03, 2020 3:36 pm    Post subject: Reply with quote

Is it gonna have a certain file name or extension? How do I know which one I'm looking for?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites