PTC function in x64
anyone know how to code ptc in x64? because inline assembly is not supported in x64.. 


BOOL PushToConsole_Function( DWORD ClientShell, DWORD LTClient, char * Command)
{
(*(VOID (WINAPIV **) (CHAR*) )
(*( (DWORD *) ClientShell+LTClient) + 0xLTClientOffset)) (Command);
}
//ClientShell = CShell.dll Module.
//LTClient = LTClient pointer which can be found on a string called: "FogEnable 0"
//LTClientOffset = ^^
USAGE: PushToConsole_Function(ClientShell,LTClient,"PushToConsole 0");
