Skip to content

Commit

Permalink
add remaining 31.1/31.2 versioning conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeFZ committed Aug 18, 2024
1 parent 4ce4d0e commit 5b0476f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 7 additions & 3 deletions Il2CppInspector.Common/IL2CPP/Il2CppBinaryClasses.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,19 @@ public class Il2CppCodeRegistration
[Version(Min = 22, Max = 29)]
public ulong unresolvedVirtualCallCount;

[Version(Min = 29.1)]
[Version(Min = 29.1, Max = 29.1)]
[Version(Min = 31.1, Max = 31.1)]
public ulong unresolvedIndirectCallCount;

[Version(Min = 22)]
public ulong unresolvedVirtualCallPointers;

[Version(Min = 29.1)]
[Version(Min = 29.1, Max = 29.1)]
[Version(Min = 31.1, Max = 31.1)]
public ulong unresolvedInstanceCallPointers;
[Version(Min = 29.1)]

[Version(Min = 29.1, Max = 29.1)]
[Version(Min = 31.1, Max = 31.1)]
public ulong unresolvedStaticCallPointers;

// Added in metadata v23
Expand Down
3 changes: 2 additions & 1 deletion Il2CppInspector.Common/IL2CPP/MetadataClasses.cs
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,8 @@ public class Il2CppMethodDefinition
public ushort slot;
public ushort parameterCount;

[Version(Min = 29.2, Max = 31)]
[Version(Min = 29.2, Max = 29.2)]
[Version(Min = 31.2, Max = 31.2)]
public byte isUnmanagedCallersOnly;
}

Expand Down

0 comments on commit 5b0476f

Please sign in to comment.