Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
讀書會-UnityReverse.pdf
Search
Fox
October 04, 2026
0
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
讀書會-UnityReverse.pdf
Fox
October 04, 2026
More Decks by Fox
See All by Fox
社課-組合語言.pdf
nyanfox87
0
0
讀書會-CatInTheMiddle.pdf
nyanfox87
0
0
讀書會-Unicorn.pdf
nyanfox87
0
0
2026沙崙競賽決賽-1.pdf
nyanfox87
0
0
社課-HowToHackAGame_final.pdf
nyanfox87
0
6
讀書會-CVE-2025-59489.pdf
nyanfox87
0
0
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
540
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Utilizing Notion as your number one productivity tool
mfonobong
4
620
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Building Applications with DynamoDB
mza
96
7.2k
Design in an AI World
tapps
1
350
Darren the Foodie - Storyboard
khoart
PRO
4
4k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
300
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
600
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
480
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
780
The Limits of Empathy - UXLibs8
cassininazir
2
720
Transcript
Unity Reverse 05/22 Fox
前情提要 • 我真的不知道到底是 il2cpp, Il2Cpp, … • Unity: IL2CPP •
Il2CppDumper: il2cpp 2
Outline • Unity Compile Method (Mono, IL2CPP) • Mono reverse
& repack • IL2CPP reverse • UnityExplorer • Cheat Engine 3
Unity • Game Engine • Mobile/PC • 2D/3D • Compile
by Mono or IL2CPP 4
Compile Method • Mono & IL2CPP • Unity Scripting Backends:
• Mono -> JIT • IL2CPP -> AOT JIT (Just-In-Time) 執行時才將 IL 轉換為 Native Binary AOT (Ahead-Of-Time) 編譯時將 IL 預先轉成 Native Binary 5
IL2CPP work https://docs.unity3d.com/2019.1/Documentation/Manual/IL2CPP-HowItWorks.html 6
Compile Method Steps Compile C# to IL Mono 產生最終 Assembly-CSharp.dll
IL2CPP 編譯為 .NET DLLs Bytecode Stripping 去除 Bytecode 中未使用的 IL code Convert to C++ 將 IL 轉換為 C++ Native Compilation 名稱不直接寫在程式中 在 metadata 中查找 再將 C++ 編譯為 Native Binary 好像 GPT 常出現的符號喔 7
Compile Method 8
Lab 9
Mono Reverse • Managed/Assembly-CSharp.dll • dnSpy 10
Mono Repack 11
Mono Hacked 12
IL2CPP Reverse Il2CppDumper: Unity il2cpp reverse engineer 13
Il2CppDumper 14
Il2CppDumper • DummyDll/Assembly-Csharp.dll 15
IDA script • File>Script File • ida_with_struct_py3.py, • script.json •
il2cpp.h 16
IDA script • 不用 Il2CppDumper 也可以逆,只是很醜。 17
Il2CppDumper • 不能像 Mono 一樣包回去。 18
UnityExplorer • Mod loader: BepInEx or Melon Loader • Mono
0.5.5 • 等等 IL2CPP 炸了 19
20
Object Explorer • 可以修改屬性 blah blah 21
Hook • Prefix, Postfix, Finalizer, Transpiler 22
Cheat Engine • 如果只是想簡單改數值而已,CE 就夠了 23
Todo • Try to solve N1CTF-baby unity3d • obfuscated metadata
• AssetStudio 24
Ref • Il2CppDumper • Unity IL2CPP • UnityExplorer 25