I usesyscall for mouse event and it locks on enemy for like 5 seconds but then it crashes. this is how i call it syscall<ULONG>(4226, 1, &input, sizeof(INPUT));