mirror of
https://github.com/Perfare/Il2CppDumper.git
synced 2025-01-24 09:57:44 -03:00
修复bug
This commit is contained in:
parent
2fe04c6e41
commit
6327879c05
1 changed files with 2 additions and 1 deletions
|
@ -256,7 +256,8 @@ namespace Il2CppDumper
|
|||
foreach (var section in data)
|
||||
{
|
||||
il2Cpp.Position = section.offset;
|
||||
while (il2Cpp.Position < section.offsetEnd - il2Cpp.PointerSize)
|
||||
var end = Math.Min(section.offsetEnd, il2Cpp.Length) - il2Cpp.PointerSize;
|
||||
while (il2Cpp.Position < end)
|
||||
{
|
||||
var addr = il2Cpp.Position;
|
||||
if (il2Cpp.ReadIntPtr() == typeDefinitionsCount)
|
||||
|
|
Loading…
Add table
Reference in a new issue