From 5b8e831cd03e328cef5f2c4f054eddca474d9ab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=8B=E9=A1=B5?= <31466456+canyie@users.noreply.github.com> Date: Sat, 12 Feb 2022 16:02:21 +0800 Subject: [PATCH] Update HookMain.cpp --- core/src/main/cpp/external/yahfa/src/HookMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/cpp/external/yahfa/src/HookMain.cpp b/core/src/main/cpp/external/yahfa/src/HookMain.cpp index 1975f1b8..0fa6d3f7 100644 --- a/core/src/main/cpp/external/yahfa/src/HookMain.cpp +++ b/core/src/main/cpp/external/yahfa/src/HookMain.cpp @@ -117,7 +117,7 @@ namespace yahfa { case __ANDROID_API_FUTURE__: // fallthrough case __ANDROID_API_T__: - case 32: // stupid Google + case 32: // stupid Google forgot to add 12L case __ANDROID_API_S__: OFFSET_entry_point_from_quick_compiled_code_in_ArtMethod = roundUpToPtrSize(4 * 3 + 2 * 2) + pointer_size;