From 73abd20c02646708f05db4ebcb2627db4d0703b0 Mon Sep 17 00:00:00 2001 From: Jeremy Pritts <49847914+ds5678@users.noreply.github.com> Date: Thu, 21 Nov 2024 11:59:03 -0800 Subject: [PATCH] Stripped Code Registration Fix (#381) --- .../StrippedCodeRegSupportPlugin.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Cpp2IL.Plugin.StrippedCodeRegSupport/StrippedCodeRegSupportPlugin.cs b/Cpp2IL.Plugin.StrippedCodeRegSupport/StrippedCodeRegSupportPlugin.cs index fa4b1823..6609a8c3 100644 --- a/Cpp2IL.Plugin.StrippedCodeRegSupport/StrippedCodeRegSupportPlugin.cs +++ b/Cpp2IL.Plugin.StrippedCodeRegSupport/StrippedCodeRegSupportPlugin.cs @@ -104,7 +104,6 @@ private static ulong FindCodeGenModulesListFromMscorlib(Il2CppBinary binary, ulo while (binary.ReadNUint() != 0) { endOfCodegenModulesList += pointerSize; - binary.Position += (long)pointerSize; } //We're at the end, so walk one back to get the last valid pointer.