#include <windows.h>
//Ghosth Mod
// ativa e desativa ghost
void ghost ()
{
bool trocar = false;
while (true)
{
if (GetAsyncKeyState (VK_INSERT))
{
trocar =! trocar;
if (trocar)
{
// ativado
*(BYTE*) (*(DWORD*) 0x0099A25C + 0xbc) = 0;
}
else
{
// desativado
*(BYTE*) (*(DWORD*) 0x0099A25C + 0xbc) = 1;
}
}
Sleep (100);
}
}
BOOL WINAPI DllMain ( HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if (dwReason == DLL_PROCESS_ATTACH ) {
CreateThread (0,0, ( LPTHREAD_START_ROUTINE ) ghost, 0,0,0);
}
return 1;
}