mirror of
https://github.com/Perfare/Il2CppDumper.git
synced 2025-01-25 02:03:02 -03:00
Fixed #451
This commit is contained in:
parent
65ad2bffa8
commit
2d70941e03
1 changed files with 6 additions and 3 deletions
|
@ -475,10 +475,13 @@ namespace Il2CppDumper
|
|||
scriptMetadataMethod.Address = il2Cpp.GetRVA(address);
|
||||
(var methodSpecTypeName, var methodSpecMethodName) = executor.GetMethodSpecName(methodSpec, true);
|
||||
scriptMetadataMethod.Name = "Method$" + methodSpecTypeName + "." + methodSpecMethodName + "()";
|
||||
var genericMethodPointer = il2Cpp.methodSpecGenericMethodPointers[methodSpec];
|
||||
if (genericMethodPointer > 0)
|
||||
if (il2Cpp.methodSpecGenericMethodPointers.ContainsKey(methodSpec))
|
||||
{
|
||||
scriptMetadataMethod.MethodAddress = il2Cpp.GetRVA(genericMethodPointer);
|
||||
var genericMethodPointer = il2Cpp.methodSpecGenericMethodPointers[methodSpec];
|
||||
if (genericMethodPointer > 0)
|
||||
{
|
||||
scriptMetadataMethod.MethodAddress = il2Cpp.GetRVA(genericMethodPointer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue