I've been developing a game in unity(called Humanity Clicker, if anyone is interested) so I been doing a lot of research on how the engine works and etc.
It just so happens that there are projects, such as MelonLoader, which are capable of modding basically any Unity game, no matter if using mono or IL2CPP. And while I can understand how they mod mono projects(as its not compiled into machine code), IL2CPP converts MSIL into machine code, and thus should make it basically impossible to mod, since the game's code would be unreadable for humans.
How do tools like that work?