ExampleCode:void __cdecl PTC(char*console ) { unsigned long ptcCShell = (unsigned long)GetModuleHandleA("CShell.dll"); if( ptcCShell != NULL ) { unsigned long *LTClient = ( unsigned long* )( (ptcCShell + 0x347274) ); void* CONoff = ( void* )*( unsigned long* )( *LTClient + 0x1FC ); _asm { push console; call CONoff; add esp, 4; } } }
Code:PTC("TextureModels 0")