Output: IDA Python script generation
IL2CPP: Implement MetadataUsages
This commit is contained in:
@@ -43,6 +43,9 @@ namespace Il2CppInspector
|
||||
// Generic method specs for vtables
|
||||
public Il2CppMethodSpec[] MethodSpecs { get; private set; }
|
||||
|
||||
// Addresses where metadata is used
|
||||
public ulong[] MetadataUsages { get; private set; }
|
||||
|
||||
// Every defined type
|
||||
public List<Il2CppType> Types { get; private set; }
|
||||
|
||||
@@ -194,6 +197,9 @@ namespace Il2CppInspector
|
||||
|
||||
// Generic method specs
|
||||
MethodSpecs = image.ReadMappedArray<Il2CppMethodSpec>(MetadataRegistration.methodSpecs, (int) MetadataRegistration.methodSpecsCount);
|
||||
|
||||
// Metadata usages (addresses)
|
||||
MetadataUsages = image.ReadMappedArray<ulong>(MetadataRegistration.metadataUsages, (int)MetadataRegistration.metadataUsagesCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user