More advanced code, such as the gps-spoof-sdr repository, utilizes Software Defined Radios (SDR) like the HackRF to broadcast fake satellite signals, technically "spoofing" not just the operating system, but the physical GPS receiver itself.
User-mode spoofers operate at the application level, within the standard user space of the operating system. They typically work by hooking into specific Windows APIs — for instance, intercepting calls to GetVolumeInformationA() (which retrieves a disk's serial number) and redirecting them to return a fake value. These spoofers are simpler to develop and easier to understand. Their source code is often straightforward C++ or Python, making them popular among beginner developers. However, because they operate at a higher level, anti-cheat systems like Easy Anti-Cheat (EAC) and BattlEye can easily detect them, leading to swift re-bans. Spoofer Source Code