>>and that code was only shared with those who agreed with their rules.
This is the point of contention though. In EU courts have ruled over and over and over again that you cannot be bound by terms set AFTER the purchase of any software. As a result, EULAs are pretty much worthless, because they are presentented post-purchase.
If you went to a store and bought a copy of this game then that's it, you haven't agreed to anything, and you own a copy of it and you can do almost whatever you wish with it. You cannot make further copies and sell those because that's governed by copyright law, but modifying the binaries to do what you want them to do? Absolutely fine.
It's like with cars - obviously someone put a huge amount of work into making them, they contain a huge amount of software in them, yet the idea that the manufacturer tells you what you can or cannot do with it after purchase is ridiculous(and yes, I know some companies like Tesla are already trying).