This is an example of the calling function in Game, if we know the address and the number of function parameters. This function is code in InjectDLL file, you can customize the parameters depend on the quantity and type of content being detect in the game.
Call_func_asm elephant (int func, int p1, int p2, int p3)
{
__asm {
push p3
push p2
push p1
mov eax, func
call eax
/ / add esp, 0x0c => activate this code if necessary
}
}