How quangbaong/il2cppdumper_gui_hok works
Il2CppDumper is a desktop tool for analyzing Unity IL2CPP binaries and metadata, then exporting readable code and related artifacts. The principal workflow runs from the GUI into DumpEngine, which loads platform-specific binaries and metadata, resolves registration data, constructs an IL2CPP model, and invokes exporters. Additional branches handle reference-dump enrichment, struct generation, and metadata-only exports. The README gives no capability details; relationships below are limited to those visible in excerpts or SOURCE INDEX references, so unsampled integrations are not expanded.
Main entry points: DumpEngine.cs Dump orchestration · Il2Cpp.cs IL2CPP model · Il2CppDecompiler.cs Code decompiler · StructGenerator.cs Struct generator
Components 22
Input and UI
- Desktop UI
Il2CppDumper/Forms/MainForm.xaml.cs - Dump orchestration
Il2CppDumper/Utils/DumpEngine.cs
Binary analysis
- Binary stream
Il2CppDumper/IO/BinaryStream.cs - Executable readers
Il2CppDumper/ExecutableFormats - ELF reader
Il2CppDumper/ExecutableFormats/Elf.cs - Mach-O reader
Il2CppDumper/ExecutableFormats/Macho64.cs - Section search
Il2CppDumper/Utils/SectionHelper.cs - Registration scanners
Il2CppDumper/Utils/RegistrationScanner.cs - Method pointer scan
Il2CppDumper/Utils/MethodPointerScanner.cs
Metadata model
- Metadata reader
Il2CppDumper/Il2Cpp/Metadata.cs - IL2CPP model
Il2CppDumper/Il2Cpp/Il2Cpp.cs - Model executor
Il2CppDumper/Utils/Il2CppExecutor.cs - Reference dump importer
Il2CppDumper/Utils/ReferenceDumpImporter.cs - Synthetic type enrichment
Il2CppDumper/Utils/SyntheticTypeEnricher.cs
Export generation
- Code decompiler
Il2CppDumper/Outputs/Il2CppDecompiler.cs - Struct generator
Il2CppDumper/Outputs/StructGenerator.cs - Export constants
Il2CppDumper/Outputs/Il2CppConstants.cs - Metadata-only exports
Il2CppDumper/Outputs/MetadataOnlyDecompiler.cs - Dummy assemblies
Il2CppDumper/Outputs/MetadataOnlyDummyExporter.cs
Analysis integrations
- Disassembler scripts
Il2CppDumper/ghidra.py - Binary Ninja support
Il2CppDumper/Il2CppBinaryNinja/__init__.py
Other components
- Analyst
Connections 29
- Analyst → Desktop UI: uses
- Desktop UI → Dump orchestration: starts dump
Il2CppDumper/Forms/MainForm.xaml.cs - Dump orchestration → Executable readers: loads executable
Il2CppDumper/Utils/DumpEngine.cs - Dump orchestration → Metadata reader: loads metadata
Il2CppDumper/Utils/DumpEngine.cs - Executable readers → Binary stream: reads bytes
Il2CppDumper/ExecutableFormats/MachoFat.cs - ELF reader → Section search: builds sections
Il2CppDumper/ExecutableFormats/Elf.cs - Mach-O reader → Section search: builds sections
Il2CppDumper/ExecutableFormats/Macho64.cs - Dump orchestration → Registration scanners: resolves registration
Il2CppDumper/Utils/DumpEngine.cs - Dump orchestration → Method pointer scan: scans pointers
Il2CppDumper/Utils/DumpEngine.cs - Dump orchestration → IL2CPP model: initializes model
Il2CppDumper/Utils/DumpEngine.cs - IL2CPP model → Section search: gets sections
Il2CppDumper/Il2Cpp/Il2Cpp.cs - IL2CPP model → Metadata reader: uses metadata
Il2CppDumper/Il2Cpp/Il2Cpp.cs - Dump orchestration → Reference dump importer: loads optional dump
Il2CppDumper/Utils/DumpEngine.cs - IL2CPP model → Reference dump importer: imports reference data
Il2CppDumper/Il2Cpp/Il2Cpp.cs - IL2CPP model → Synthetic type enrichment: enriches model
Il2CppDumper/Il2Cpp/Il2Cpp.cs - Dump orchestration → Model executor: creates executor
Il2CppDumper/Utils/DumpEngine.cs - Dump orchestration → Code decompiler: generates dump.cs
Il2CppDumper/Utils/DumpEngine.cs - Dump orchestration → Struct generator: generates structs
Il2CppDumper/Utils/DumpEngine.cs - Dump orchestration → Metadata-only exports: exports metadata
- Dump orchestration → Dummy assemblies: exports assemblies
Il2CppDumper/Utils/DumpEngine.cs - Code decompiler → Model executor: uses model services
Il2CppDumper/Outputs/Il2CppDecompiler.cs - Code decompiler → Metadata reader: reads definitions
Il2CppDumper/Outputs/Il2CppDecompiler.cs - Code decompiler → IL2CPP model: reads binary model
Il2CppDumper/Outputs/Il2CppDecompiler.cs - Code decompiler → Reference dump importer: uses imported data
Il2CppDumper/Outputs/Il2CppDecompiler.cs - Code decompiler → Synthetic type enrichment: uses enriched types
Il2CppDumper/Outputs/Il2CppDecompiler.cs - Struct generator → Model executor: uses model services
Il2CppDumper/Outputs/StructGenerator.cs - Struct generator → Metadata reader: reads definitions
Il2CppDumper/Outputs/StructGenerator.cs - Struct generator → IL2CPP model: reads binary model
Il2CppDumper/Outputs/StructGenerator.cs - Struct generator → Export constants: uses constants
Il2CppDumper/Outputs/StructGenerator.cs