I am attempting to find a function in a specific game. Is there anyway that , using the assembly code I get from decompiling the game in either Ida or x64dbg , I can locate a function I am specifically looking for?
Reverse Engineering Stack Exchange is a question and answer site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation. It only takes a minute to sign up.Sign up to join this community
I'm kinda new to reverse engineering, but I'll tell you what I know.
The code is not decompiled, it is just a machine code, but a readable one.
If you have an older version of that function, you can scan for it to get the updated version.
So to get a function, you need to get the closest thing from it, for example, if you want to get the function that kills your player, you should start to search for a dead state/health/etc. in your player object, get what writes to it, and that should be connected to the kill function somehow, and you go from that function.
Now let's say you want to find a GUI or something close, use strings they are the best you can use, by finding a string, for example “Health:”, you could find a reference from it to what draws the GUI.
Remember, strings may be obfuscated and/or their references may be obfuscated, too.
I recommend you learn more about reverse engineering before posting, there are tons of articles and videos about it.
Hopefully, this helps you.