IL2CPP: Reconstruct scrambled Il2CppGenericInst** in Il2CppMetadataRegistration

This commit is contained in:
Katy Coe
2020-12-05 22:49:16 +01:00
parent f3bde0173e
commit 3cebb0f4ab
2 changed files with 56 additions and 15 deletions

View File

@@ -154,7 +154,7 @@ namespace Il2CppInspector
StringLiterals[i] = ReadFixedLengthString(Header.stringLiteralDataOffset + stringLiteralList[i].dataIndex, stringLiteralList[i].length);
}
private int Sizeof(Type type) => Sizeof(type, Version);
internal int Sizeof(Type type) => Sizeof(type, Version);
public static int Sizeof(Type type, double metadataVersion, int longSizeBytes = 8) {