I wanna block lalaker1.app with this codes.
Please. Thank you for your helps
void lalaker_fix()
{
POINT p;
HWND DebugerFound = 0;
for (int qy = 0; qy < 100; qy++)
{
for (int qx = 0; qx < 100; qx++)
{
p.x = qx * 20;
p.y = qy * 20;
DebugerFound = WindowFromPoint(p);
char t[255];
GetWindowTextA(DebugerFound, t, 225);
HWND title = FindWindowA(NULL, t);
RECT rect;
if (GetWindowRect(title, &rect))
{
int width = rect.right - rect.left;
int height = rect.bottom - rect.top;
if ((width <= 280 || width >= 270) && (height <= 680 && height >= 670))
{
exit(0);
}
}
}
}
}
void loop_find_lala()
{
while (true)
{
lalaker_fix();
Sleep(2000);
}
}
// if where is your hack protection. don't forget to create a thread. like example under !
void Thread_fix()
{
CreateThread(NULL, NULL, LPTHREAD_START_ROUTINE(loop_find_lala), NULL, 0, 0);
}