Change Command?

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Vultrax

Newbie
Full Member
Jun 5, 2013
23
292
0
I have a Command: "CMP BYTE PTR DS:[ESI+16C],0" and i would like change it to "CMP BYTE PTR DS:[ESI+16C],1".

How can i do it this with Visual Basic?
 

Szaka

Coder
Full Member
Nobleman
Mar 14, 2013
161
718
3
you want to change every command? Or just one on specifica address?
 

Szaka

Coder
Full Member
Nobleman
Mar 14, 2013
161
718
3
Normal loop with changing bytes wont work because u can cut end of one instruction and beginning of second (the bytes may fit not only the MOV instruction), you need something that will have built in disasm
 

Vultrax

Newbie
Full Member
Jun 5, 2013
23
292
0
How dou you mean that?
(My English ist not the best :O)

I have a Module for Visual Basic that is "ReadWriteProcessMemory".
 

Szaka

Coder
Full Member
Nobleman
Mar 14, 2013
161
718
3
i mean thats some bytes may be your instruction, lets say 5, but its also possible that 3 bytes are end of one instruction and 2 are beginning of next, and than patching it will crash the app. You need something with disasm, what can recognize the instructions. By the way it looks like specific command, how many times it appears? Maybe better idea is to simply copy few addresses?
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,091
78,998
2,372
[ESI+16C]

Another way is to find a way to get what ESI holds and store it. Then do your magic once ready. :)
 
Last edited by a moderator:
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods