Posted: Fri Apr 05, 2019 7:27 pm Post subject: [HELP] Replace Opcode for all the same calls
Hello Cheat Engine community,
My name is Alex and lately i became very passionate with ce. I ran into some problems recently when i had to replace a certain Opcode with mov eax,01. The problem is that there are around 9000 of the same Opcode and i need to replace it all. Is there a script i could use to replace instantly instead of doing it manually?
Please let me know. All the help is appreciated. I'll attach 2 picture to explain the situation further.
In Pic 1 is how the call looks initially.
And In pic 2 is how i want all instances of this specific call to look like
Please refer to the attachment.
That instruction is a little harder to find because the instruction pointer is used to calculate the destination.
There's no easy way of accessing the assemblyscan from Lua AFAIK. Maybe use the DissectCode or RIPRelativeScanner classes (see celua.txt for documentation).
If they aren't fast enough, creating a custom type for this shouldn't be too hard. I can write one later if needed. _________________
I don't know where I'm going, but I'll figure it out when I get there.
Hi guys and thank you for your answers. As I just started using ce, I am a noob in creating scripts. I would immensely appreciate if you could write a script if that not much of a trouble. I heard a script could also be written in c to access and modify different calls and I saw 1 guy on it that created a small exe to change all the specific calls although he doesn't show how.
What I tried, was to create a small AutoIt script that replaces the calls one by one very fast but unfortunately, the program resets after some time. This Autoit method is the same as replacing the calls manually just very fast.
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