mirror of
https://github.com/LukeFZ/Il2CppInspectorRedux.git
synced 2025-12-24 04:09:40 +05:00
Correctly process 64-bit data structures in IL2CPP binaries
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Il2CppInspector.Reflection
|
||||
public Assembly GetAssembly(TypeInfo type) => Assemblies.FirstOrDefault(x => x.DefinedTypes.Contains(type));
|
||||
|
||||
// Get a type from its IL2CPP type index
|
||||
public TypeInfo GetTypeFromIndex(int typeIndex) => Assemblies.SelectMany(x => x.DefinedTypes).FirstOrDefault(x => x.Index == typeIndex);
|
||||
public TypeInfo GetTypeFromIndex(long typeIndex) => Assemblies.SelectMany(x => x.DefinedTypes).FirstOrDefault(x => x.Index == typeIndex);
|
||||
|
||||
// Get or generate a type from its IL2CPP binary type usage reference
|
||||
// (field, return type, generic type parameter etc.)
|
||||
|
||||
Reference in New Issue
Block a user