IL2CPP: Add registration structs search via data heuristics

This commit is contained in:
Katy Coe
2020-07-27 21:16:44 +02:00
parent a621e20b62
commit 2459bcb4a6
4 changed files with 242 additions and 49 deletions

View File

@@ -90,7 +90,7 @@ namespace Il2CppInspectorGUI
// Architecture-agnostic load attempt
try {
// If we can't load the IL2CPP data here, it's probably packed or obfuscated; ignore it
if (Il2CppBinary.Load(image, metadata.Version) is Il2CppBinary binary) {
if (Il2CppBinary.Load(image, metadata) is Il2CppBinary binary) {
var inspector = new Inspector(binary, metadata);
// Build type model