i've got a lil question, is it possible to add a call to a function from my project into a game?
and if yes, how?
something like this? :
Code:
void Functionname()
{
MessageBoxA(0,"Wuii! :>","Adding Function Succeeded.",0);
}
__cdeclspec(naked) void AddFunction()
{
__asm
{
call Functionname;
call orig_Code;
}
}
DetourFunc((BYTE*)0x0 /*address where i want to add my call @game*/, (BYTE*)AddFunction,7);
meeeeeeeh






