mirror of
https://github.com/Perfare/Il2CppDumper.git
synced 2025-01-25 02:03:02 -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)
|
if (Version >= 24.2)
|
||||||
{
|
{
|
||||||
pCodeRegistration = MapVATR<Il2CppCodeRegistration>(codeRegistration);
|
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 (Version == 27)
|
||||||
{
|
{
|
||||||
if (pCodeRegistration.reversePInvokeWrapperCount > 0x50000) //TODO
|
if (pCodeRegistration.reversePInvokeWrapperCount > 0x50000) //TODO
|
||||||
|
|
|
@ -44,9 +44,13 @@ namespace Il2CppDumper
|
||||||
[Version(Min = 21, Max = 22)]
|
[Version(Min = 21, Max = 22)]
|
||||||
public ulong guids; // Il2CppGuid
|
public ulong guids; // Il2CppGuid
|
||||||
[Version(Min = 22)]
|
[Version(Min = 22)]
|
||||||
public long unresolvedVirtualCallCount;
|
public long unresolvedVirtualCallCount; //29.1 unresolvedIndirectCallCount;
|
||||||
[Version(Min = 22)]
|
[Version(Min = 22)]
|
||||||
public ulong unresolvedVirtualCallPointers;
|
public ulong unresolvedVirtualCallPointers;
|
||||||
|
[Version(Min = 29.1)]
|
||||||
|
public ulong unresolvedInstanceCallPointers;
|
||||||
|
[Version(Min = 29.1)]
|
||||||
|
public ulong unresolvedStaticCallPointers;
|
||||||
[Version(Min = 23)]
|
[Version(Min = 23)]
|
||||||
public ulong interopDataCount;
|
public ulong interopDataCount;
|
||||||
[Version(Min = 23)]
|
[Version(Min = 23)]
|
||||||
|
|
|
@ -416,6 +416,7 @@ namespace Il2CppDumper
|
||||||
sb.Append(HeaderConstants.HeaderV27);
|
sb.Append(HeaderConstants.HeaderV27);
|
||||||
break;
|
break;
|
||||||
case 29:
|
case 29:
|
||||||
|
case 29.1:
|
||||||
sb.Append(HeaderConstants.HeaderV29);
|
sb.Append(HeaderConstants.HeaderV29);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Reference in a new issue