Il2Cpp Recovery in 1.1.9
Added 2024-12-25 18:00:12 +0000 UTCIn the 1.1.9 release of AssetRipper Premium, I implemented a traditional decompiler for recovering code compiled with Il2Cpp. It can be enabled on the settings page by setting the script content level to 3.
Excluded Assemblies
For performance, mscorlib and any assemblies whose names start with System or Unity have been excluded from analysis. The source code for those assemblies should be publicly available, in one form or another.
Why not AI?
While I firmly believe in my AI decompiler, I felt that releasing a traditional decompiler first would be best. The traditional decompiler:
- Is at least 1 order of magnitude faster.
- Does not require downloading machine learning libraries, which are often multiple gigabytes.
- Gives a benchmark from which to compare (and justify) the AI decompiler.
- Provides recovery functionality to users while I continue to improve the AI decompiler.
Given the above benefits, I do not foresee myself abandoning the traditional decompiler even after releasing the AI decompiler.
Output Quality
As I noted above, improvements are ongoing. This is only the first iteration. I didn't take any statistics, but from a quick glance, it appears that the success rate is currently between 10 and 20 percent of methods on x86 games. Other platforms have lower rates of recovery.
Comments
Support for arm v7 in the traditional decompiler is currently limited. Development has primarily focused on x86 with a secondary focus on arm v8. The AI decompiler should be more versatile, due to its design.
ds5678
2025-01-01 22:38:34 +0000 UTCis arm for 32 bits supported with the decompiler?
Matheus
2025-01-01 22:02:37 +0000 UTCThe initial release disportionately focused on x86. I promise I'll give some attention to Arm before the next update, which is currently planned for the second Sunday in January.
ds5678
2024-12-31 19:29:14 +0000 UTCNot working on this game ==> https://play.google.com/store/apps/details?id=air.defence.arcade
Youness El Bouziani
2024-12-31 19:13:13 +0000 UTCIt is indeed quite complicated. π
ds5678
2024-12-31 14:09:58 +0000 UTCyo, i had 0 clue you were working on a AI decompiler, isnt that stupidly complicated or something?
snake
2024-12-31 11:41:36 +0000 UTCI'm sorry you had a less-than-satisfactory experience. Progress is ongoing. If you share the name of your game, I will see what issues are preventing the decompiler from emitting IL.
ds5678
2024-12-30 14:23:17 +0000 UTCI checked it, there is no il2cpp recovery, it is useless
SK Gowrob
2024-12-30 12:20:48 +0000 UTC