强化搜索

This commit is contained in:
Perfare 2022-02-27 13:18:57 +08:00
parent 05ee90a4e9
commit f53ee2cec1

View file

@ -339,6 +339,9 @@ namespace Il2CppDumper
{ {
var va2 = FindReference(va - (ulong)i * il2Cpp.PointerSize); var va2 = FindReference(va - (ulong)i * il2Cpp.PointerSize);
if (va2 != 0ul) if (va2 != 0ul)
{
il2Cpp.Position = il2Cpp.MapVATR(va2 - il2Cpp.PointerSize);
if (il2Cpp.ReadIntPtr() == imageCount)
{ {
if (il2Cpp.Version >= 29) if (il2Cpp.Version >= 29)
{ {
@ -348,6 +351,7 @@ namespace Il2CppDumper
} }
} }
} }
}
else else
{ {
for (int i = 0; i < imageCount; i++) for (int i = 0; i < imageCount; i++)