Comment on How do people make mods for games without access to the game's source code?
Azzu@leminal.space 2 weeks agoAs an extension to this, many games use interpreted languages, which makes decompilation much more easy and readable since you’re already working with a higher level programming interface.
xan1242@lemmy.dbzer0.com 2 weeks ago
True. But even in this case, the same code injection logic can apply (depending on where you make the changes). The IL itself can simply be seen as yet another platform.
A great example is Android - you can patch the .dex class files with Lucky Patcher (in cases where apktool smali changes cannot help you).
IL obfuscations may also be worked around by patching the IL code directly too, which depends on the use case again.
The gist always is - carve out a space for your own code. No matter the language, a computer program is a computer program.