saik Newbie cheater
Reputation: 0
Joined: 06 Apr 2016 Posts: 17
|
Posted: Wed May 18, 2016 11:10 am Post subject: C++ ASM |
|
|
i still learning how to code asm in c++ so can help me if can
here my script of CE
| Code: |
define(address,"game.exe"+CE7FA9)
define(bytes,8B 45 0C 50 8B 4D 08)
[ENABLE]
assert(address,bytes)
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
mov [edx+0C],00D03A8B
mov esp,ebp
jmp return
address:
jmp code
return:
[DISABLE]
address:
db bytes
dealloc(newmem)
|
C++ code
| Code: |
void Assembler()
{
DWORD addy = 0xCE7FA9;
_asm
{
mov[edx + 0x0C], 0x00D03A8B
mov esp, ebp
jmp return
}
}
|
1- how to use jmp return in c++
2- did this code look correct ?
Thanks for helping.
|
|