hey guys i wanted to make a dll and inject it to a process so the dll will change some of the memory with the __asm func but i couldnt make it:
void V37Trainer() {
HMODULE WINAPI GetModuleHandle(LPCTSTR pcomdebug);
BOOL WINAPI FreeLibrary(HMODULE pcomdebug);
MessageBoxA(0, "Trainer Activated! Happy Hacking! (BY SliderMan :))", ":)",MB_ICONINFORMATION);
//while for getting the keys:
__asm {
mov eax, 0x0067D772;
jmp eax;
je 0x0067e5f8;
};
}
this is what i tried to do that code is the function running after the injection (creaethread) and in the __asm i wanted it to jmp that game addy "0x0067D772" its into eax right now. and then put after je 0x0067e5f8 (instant of jne 0x0067e5f

i have tried this too:
void V37Trainer() {
HMODULE WINAPI GetModuleHandle(LPCTSTR pcomdebug);
BOOL WINAPI FreeLibrary(HMODULE pcomdebug);
MessageBoxA(0, "Trainer Activated! Happy Hacking! (BY SliderMan :))", ":)",MB_ICONINFORMATION);
//while for getting the keys:
__asm {
0x0067D772:
je 0x0067e5f8;
};
}
but its giving me a compiling error
thanks in advance!
moshe.