IL2CPP: Prepare Code/Metadata struct data for de-obfuscation

This commit is contained in:
Katy Coe
2020-12-04 14:38:06 +01:00
parent e153d5a451
commit 72ddaef7b1
2 changed files with 65 additions and 0 deletions

View File

@@ -208,6 +208,8 @@ namespace Il2CppInspector
CodeRegistration = Image.ReadMappedObject<Il2CppCodeRegistration>(codeRegistration);
MetadataRegistration = Image.ReadMappedObject<Il2CppMetadataRegistration>(metadataRegistration);
Arrange();
// Do basic validatation that MetadataRegistration and CodeRegistration are sane
/*
* TODO: Validation can be greatly expanded upon later, eg. pointers in these two structs should actually be pointers