lt-client 0x37731CB0 For NA Version

void __cdecl Command2Console( const char* szCommand )
{
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD *L***ient = ( DWORD* )( dwCShell + 0x696A50 );
void* CONoff = ( void* )*( DWORD* )( *L***ient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
}
void __cdecl Command2Console( const char* szCommand )
{
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD *L***ient = ( DWORD* )( dwCShell + 0x696A50 );
__asm
{
mov edx ,L***ient //Move L***ient into edx
mov eax, [edx+208h]//Move edx + 0x208 into Eax
push szCommand; //Push the command
call eax; //Call the Function (eax)
add esp, 4; //Fixes the stack
}
}
}
typedef void (__thiscall *lpSetConsoleVariable)(char *Command);
lpSetConsoleVariable SetConsoleVariable;
DWORD CShell = (DWORD)GetModuleHandle("CShell.dll");
if( CShell != NULL ){
DWORD *L***ient = ( DWORD* )(CShell + 0x631CB0; //CShell + L***ient Address - Base Of Cshell.dll
SetConsoleVariable = lpSetConsoleVariable(L***ient + 0x208);
SetConsoleVariable("Command")
}