[Question] Pointers & AA in C++
//Pointers
DWORD address = 0x006AA00C; //no offset
DWORD address = 0x006AA00C + 0x41; //with an offset
How about multi pointers?
//Auto assemble in c++
Example:
[ENABLE]
alloc(newmem,1024)
label(returnhere)
label(exit)
004875DC:
jmp newmem
nop
nop
returnhere:
newmem:
add dword ptr [edi+24],10000000
mov eax,[edi+24]
exit:
jmp returnhere
[DISABLE]
dealloc(newmem)
004875DC:
add dword ptr [edi+24],01
mov eax,[edi+24]
How can i write this & make it works in c++?