mirror of
https://github.com/LukeFZ/Il2CppInspectorRedux.git
synced 2026-03-22 00:18:18 +05:00
fix 2018.4.36f1 (#52)
This commit is contained in:
2224
Il2CppInspector.Common/Cpp/UnityHeaders/24.1-2018.4.34-2018.4.36.h
vendored
Normal file
2224
Il2CppInspector.Common/Cpp/UnityHeaders/24.1-2018.4.34-2018.4.36.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -247,6 +247,8 @@ namespace Il2CppInspector
|
||||
InterfaceOffsets = ReadMetadataArray<Il2CppInterfaceOffsetPair>(Header.InterfaceOffsetsOffset, Header.InterfaceOffsetsSize, Header.InterfaceOffsets);
|
||||
VTableMethodIndices = ReadMetadataPrimitiveArray<uint>(Header.VTableMethodsOffset, Header.VTableMethodsSize, Header.VtableMethods);
|
||||
|
||||
var useCompressedAssemblyPublicKeys = Version == MetadataVersions.V242 || Version >= MetadataVersions.V244;
|
||||
|
||||
if (Version >= MetadataVersions.V160)
|
||||
{
|
||||
// In v24.4 hashValueIndex was removed from Il2CppAssemblyNameDefinition, which is a field in Il2CppAssemblyDefinition
|
||||
@@ -260,6 +262,7 @@ namespace Il2CppInspector
|
||||
changedAssemblyDefStruct = true;
|
||||
|
||||
Version = MetadataVersions.V244;
|
||||
useCompressedAssemblyPublicKeys = true;
|
||||
}
|
||||
|
||||
Assemblies = ReadMetadataArray<Il2CppAssemblyDefinition>(Header.AssembliesOffset, Header.AssembliesSize, Header.Assemblies);
|
||||
@@ -356,7 +359,7 @@ namespace Il2CppInspector
|
||||
}
|
||||
|
||||
// These are stored in a special way, so we read them in advance.
|
||||
if (Version == MetadataVersions.V242 || Version >= MetadataVersions.V244)
|
||||
if (useCompressedAssemblyPublicKeys)
|
||||
{
|
||||
var stringOffset = Version >= MetadataVersions.V380
|
||||
? Header.Strings.Offset
|
||||
|
||||
Reference in New Issue
Block a user