From 19127a6649f13b2aa0bb2358b7162b685ceb4be3 Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Wed, 23 Oct 2019 14:51:38 +0200 Subject: [PATCH] Fix losing top 32 bits of MethodInfo.VirtualAddress --- Il2CppInspector/Reflection/MethodInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Il2CppInspector/Reflection/MethodInfo.cs b/Il2CppInspector/Reflection/MethodInfo.cs index e445c57..9d49358 100644 --- a/Il2CppInspector/Reflection/MethodInfo.cs +++ b/Il2CppInspector/Reflection/MethodInfo.cs @@ -58,7 +58,7 @@ namespace Il2CppInspector.Reflection } // Remove ARM Thumb marker LSB if necessary - VirtualAddress &= 0xfffffffe; + VirtualAddress &= 0xffff_ffff_ffff_fffe; HasBody = true; }