mirror of
https://github.com/Perfare/Il2CppDumper.git
synced 2025-01-10 03:27:28 -03:00
Fixed #369
This commit is contained in:
parent
2fd3624288
commit
f8b509c2d8
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,10 @@ namespace Il2CppDumper
|
|||
public override ulong MapVATR(ulong uiAddr)
|
||||
{
|
||||
var section = sections.First(x => uiAddr >= x.addr && uiAddr <= x.end);
|
||||
if (section.sectname == "__bss")
|
||||
{
|
||||
throw new Exception();
|
||||
}
|
||||
return uiAddr - (section.addr - section.offset);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue