diff --git a/Il2CppInspector/Il2CppInspector.cs b/Il2CppInspector/Il2CppInspector.cs index 0915d5a..2b4d11b 100644 --- a/Il2CppInspector/Il2CppInspector.cs +++ b/Il2CppInspector/Il2CppInspector.cs @@ -159,7 +159,7 @@ namespace Il2CppInspector // Get sorted list of method pointers var sortedMethodPointers = (Version <= 24.1)? Binary.GlobalMethodPointers.OrderBy(m => m).ToList() : - Binary.ModuleMethodPointers.SelectMany(module => module.Value).OrderBy(m => m).ToList(); + Binary.ModuleMethodPointers.SelectMany(module => module.Value).OrderBy(m => m).Distinct().ToList(); // Guestimate method end addresses methodPointers = new Dictionary(sortedMethodPointers.Count);