mirror of
https://github.com/Perfare/Il2CppDumper.git
synced 2025-01-09 11:17:35 -03:00
支持29.1
This commit is contained in:
parent
2dcb36d8be
commit
826a73a2c8
3 changed files with 15 additions and 1 deletions
|
@ -55,6 +55,15 @@ namespace Il2CppDumper
|
|||
if (Version >= 24.2)
|
||||
{
|
||||
pCodeRegistration = MapVATR<Il2CppCodeRegistration>(codeRegistration);
|
||||
if (Version == 29)
|
||||
{
|
||||
if (pCodeRegistration.genericMethodPointersCount > 0x50000) //TODO
|
||||
{
|
||||
Version = 29.1;
|
||||
codeRegistration -= PointerSize * 2;
|
||||
Console.WriteLine($"Change il2cpp version to: {Version}");
|
||||
}
|
||||
}
|
||||
if (Version == 27)
|
||||
{
|
||||
if (pCodeRegistration.reversePInvokeWrapperCount > 0x50000) //TODO
|
||||
|
|
|
@ -44,9 +44,13 @@ namespace Il2CppDumper
|
|||
[Version(Min = 21, Max = 22)]
|
||||
public ulong guids; // Il2CppGuid
|
||||
[Version(Min = 22)]
|
||||
public long unresolvedVirtualCallCount;
|
||||
public long unresolvedVirtualCallCount; //29.1 unresolvedIndirectCallCount;
|
||||
[Version(Min = 22)]
|
||||
public ulong unresolvedVirtualCallPointers;
|
||||
[Version(Min = 29.1)]
|
||||
public ulong unresolvedInstanceCallPointers;
|
||||
[Version(Min = 29.1)]
|
||||
public ulong unresolvedStaticCallPointers;
|
||||
[Version(Min = 23)]
|
||||
public ulong interopDataCount;
|
||||
[Version(Min = 23)]
|
||||
|
|
|
@ -416,6 +416,7 @@ namespace Il2CppDumper
|
|||
sb.Append(HeaderConstants.HeaderV27);
|
||||
break;
|
||||
case 29:
|
||||
case 29.1:
|
||||
sb.Append(HeaderConstants.HeaderV29);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue