Darkenus How do I cheat?
Reputation: 0
Joined: 01 May 2016 Posts: 1
|
Posted: Sun May 01, 2016 11:40 am Post subject: Converting Auto Assembly Script to C++ |
|
|
Hello!
I've looked through a lot of different tutorials to find out how to convert an auto assembly script to c++, but I haven't had much luck.
Here is the code:
| Code: |
aobscan(addressAOB, 55 8B EC 83 EC 1C 53 56 57 8B D9 6A 00 89 5D E8)
alloc(newMem, 2048)
label(returnhere)
label(originalcode)
label(exit)
newMem:
retn
originalcode:
push ebp
mov ebp,esp
sub esp,1C
exit:
jmp 0
addressAOB:
jmp newMem
nop
returnhere:
|
What I have/know:
-A sig-scanning function to get the AOB
-A start
Here's how far I've gotten. (It isn't that much)
| Code: |
__declspec(naked) void newMem() {
DWORD Address = SigScan("\x55\x8B\xEC\x83\xEC\x1C\x53\x56\x57\x8B\xD9\x6A\x00\x89\x5D\xE8","xxxxxxxxxxxxxxxx");
__asm {
}
}
|
What would be my next approach? I know that Assembly and Auto Assembly are different, which makes it confusing. Any help is appreciated!
|
|