#define igc 0x00000000 << just an example
bool run = true;
bool ingame = false;
DWORD WINAPI Start(LPVOID)
{
while (1)
{
if (run== true)
{
if *(DWORD*)igc == 1;
ingame = TRUE;
else
ingame = FALSE;
}
//Hack stuff here
if (ingame = true)
{
}
}
}