From 025f900f4eef6aedf7e70afef7c0cc15d9249bfb Mon Sep 17 00:00:00 2001 From: walon Date: Tue, 10 Jun 2025 13:53:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20CallObfus=E7=94=9F?= =?UTF-8?q?=E6=88=90Dispatch=E5=87=BD=E6=95=B0=E5=AF=B9=E8=A2=AB=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E6=8E=92=E5=BA=8F=E9=80=A0=E6=88=90=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E5=88=B0=E9=94=99=E8=AF=AF=E5=87=BD=E6=95=B0=E7=9A=84=E4=B8=A5?= =?UTF-8?q?=E9=87=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/ObfusPasses/CallObfus/CallProxyAllocator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/ObfusPasses/CallObfus/CallProxyAllocator.cs b/Editor/ObfusPasses/CallObfus/CallProxyAllocator.cs index 03bdfbf..f17871f 100644 --- a/Editor/ObfusPasses/CallObfus/CallProxyAllocator.cs +++ b/Editor/ObfusPasses/CallObfus/CallProxyAllocator.cs @@ -284,7 +284,7 @@ namespace Obfuz.ObfusPasses.CallObfus var ret = Instruction.Create(OpCodes.Ret); // sort methods by signature to ensure stable order - dispatchMethod.methods.Sort((a, b) => a.id.CompareTo(b.id)); + //dispatchMethod.methods.Sort((a, b) => a.id.CompareTo(b.id)); foreach (CallInfo ci in dispatchMethod.methods) { var callTargetMethod = Instruction.Create(ci.callVir ? OpCodes.Callvirt : OpCodes.Call, ci.method);