修复bug

This commit is contained in:
Perfare 2019-02-05 04:15:27 +08:00
parent 5ca3a0b0c7
commit f1c1039d1c

View file

@ -118,7 +118,7 @@ namespace Il2CppDumper
pos = MapVATR((uint)ptr) + 4 * fieldIndexInType;
else
pos = MapVATR((ulong)ptr) + 4ul * (ulong)fieldIndexInType;
if (pos <= BaseStream.Length - 4)
if ((long)pos <= BaseStream.Length - 4)
{
Position = pos;
return ReadInt32();