强化搜索

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

View file

@ -340,11 +340,15 @@ namespace Il2CppDumper
var va2 = FindReference(va - (ulong)i * il2Cpp.PointerSize);
if (va2 != 0ul)
{
if (il2Cpp.Version >= 29)
il2Cpp.Position = il2Cpp.MapVATR(va2 - il2Cpp.PointerSize);
if (il2Cpp.ReadIntPtr() == imageCount)
{
return va2 - il2Cpp.PointerSize * 14;
if (il2Cpp.Version >= 29)
{
return va2 - il2Cpp.PointerSize * 14;
}
return va2 - il2Cpp.PointerSize * 13;
}
return va2 - il2Cpp.PointerSize * 13;
}
}
}