From 5b0476fcc572e51e8184ef6105330e75b21f80b0 Mon Sep 17 00:00:00 2001 From: LukeFZ <17146677+LukeFZ@users.noreply.github.com> Date: Sun, 18 Aug 2024 23:23:32 +0200 Subject: [PATCH] add remaining 31.1/31.2 versioning conditions --- Il2CppInspector.Common/IL2CPP/Il2CppBinaryClasses.cs | 10 +++++++--- Il2CppInspector.Common/IL2CPP/MetadataClasses.cs | 3 ++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Il2CppInspector.Common/IL2CPP/Il2CppBinaryClasses.cs b/Il2CppInspector.Common/IL2CPP/Il2CppBinaryClasses.cs index dbfe0326..b7a3a782 100644 --- a/Il2CppInspector.Common/IL2CPP/Il2CppBinaryClasses.cs +++ b/Il2CppInspector.Common/IL2CPP/Il2CppBinaryClasses.cs @@ -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 diff --git a/Il2CppInspector.Common/IL2CPP/MetadataClasses.cs b/Il2CppInspector.Common/IL2CPP/MetadataClasses.cs index 577298df..3a0d406f 100644 --- a/Il2CppInspector.Common/IL2CPP/MetadataClasses.cs +++ b/Il2CppInspector.Common/IL2CPP/MetadataClasses.cs @@ -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; }