In some cases, the PID obtained using robotgo.FindIds(procName)is correct, but the HWND retrieved via the PID with robotgo.GetHWNDByPid(pid)is incorrect. It does not match the HWND obtained through Spy++.
For example, performing this operation on a game called "Wuthering Waves"