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
1
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
讀書會-UnityReverse.pdf
Fox
October 04, 2026
Transcript
25 slides
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
More Decks by Fox
See All by Fox
社課-組合語言.pdf
nyanfox87
0
1
讀書會-CatInTheMiddle.pdf
nyanfox87
0
1
讀書會-Unicorn.pdf
nyanfox87
0
3
2026沙崙競賽決賽-1.pdf
nyanfox87
0
2
社課-HowToHackAGame_final.pdf
nyanfox87
0
7
讀書會-CVE-2025-59489.pdf
nyanfox87
0
2
Featured
See All Featured
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
530
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
3
160
Design in an AI World
tapps
1
400
Ruling the World: When Life Gets Gamed
codingconduct
0
450
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.5k
We Have a Design System, Now What?
morganepeng
55
8.4k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
It's Worth the Effort
3n
188
30k
How GitHub (no longer) Works
holman
316
150k
The untapped power of vector embeddings
frankvandijk
2
2k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k