void __cdecl PushIt( const char* cmd)
{
void* Command = (void*) LTClient;
_asm
{
PUSH cmd;
NOP;
CALL Command
NOP;
ADD ESP, 0x4;
}
}
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void __cdecl PTC(char *szCommand)
{
typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t PushToConsole = (RunConsoleCommand_t) 0x485FF0;
}
)