Hey guys! I have made some memory edits for C++, but I have a problem:
1: The pointer for this game is NOT static, so it keeps changing on game restart.
2: How do I change opcodes and preform functions such as mov eax, [1000]
3: So, this is basically like question number one, I read somewhere that you can make C++ scan for bytes in a process (I know how to open a process). So basically, my bytes are:
29 83 14 03 00 00
and the opcode is
sub [ebx+00000314],eax
My question is, how do I find this and get the memory address, so that I can edit its value or change the opcode?
What function do I use? for sure it can't be ReadProcessMemory, what would it be?
Tyvm for your time, hopefully somebody can help me ou on this
I want to do this in a C++ trainer, so which function should I use to find the pointer?