From 7f755d22823ac787c337943f7e0b1fd8da465ca1 Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Thu, 24 Dec 2020 05:08:19 +0100 Subject: [PATCH] IL2CPP: Allow more reversePInvokeWrappers (#117) --- Il2CppInspector.Common/IL2CPP/Il2CppBinary.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Il2CppInspector.Common/IL2CPP/Il2CppBinary.cs b/Il2CppInspector.Common/IL2CPP/Il2CppBinary.cs index 2f22c44..cbb0008 100644 --- a/Il2CppInspector.Common/IL2CPP/Il2CppBinary.cs +++ b/Il2CppInspector.Common/IL2CPP/Il2CppBinary.cs @@ -271,7 +271,7 @@ namespace Il2CppInspector for (var pass = 0; pass <= 1; pass++) if (MetadataRegistration.typesCount < MetadataRegistration.typeDefinitionsSizesCount || MetadataRegistration.genericMethodTableCount < MetadataRegistration.genericInstsCount - || CodeRegistration.reversePInvokeWrapperCount > 0x1000 + || CodeRegistration.reversePInvokeWrapperCount > 0x4000 || CodeRegistration.unresolvedVirtualCallCount > 0x4000 // >= 22 || CodeRegistration.interopDataCount > 0x1000 // >= 23 || (Image.Version <= 24.1 && CodeRegistration.invokerPointersCount > CodeRegistration.methodPointersCount))