IL2CPP: Merge attribute and method pointers, improve attribute function end addresses

This commit is contained in:
Katy Coe
2020-01-18 20:28:53 +01:00
parent ab15730e8e
commit 64b263bafb
26 changed files with 454 additions and 450 deletions

View File

@@ -23,7 +23,7 @@ namespace Il2CppInspector.Reflection
public (ulong Start, ulong End)? VirtualAddress =>
// The last one will be wrong but there is no way to calculate it
(Model.Package.CustomAttributeGenerators[Index], Model.Package.CustomAttributeGenerators[Math.Min(Index + 1, Model.Package.CustomAttributeGenerators.Length - 1)]);
(Model.Package.CustomAttributeGenerators[Index], Model.Package.FunctionAddresses[Model.Package.CustomAttributeGenerators[Index]]);
public override string ToString() => "[" + AttributeType.FullName + "]";