It was already done with UCP and Gameguard (probably done with modules??), the thing is, making it for the software that you're using would be hard without the source code of the said software. So if your friend made something like an anti cheat I'm pretty sure he can come up with a solution to detect if the game executable is injected.