From a50ca00c54af64372afdffd6ffe2b31e800aef0b Mon Sep 17 00:00:00 2001 From: jiqiu2021 Date: Fri, 15 Nov 2024 15:31:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=9A=90=E8=97=8Fso=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/src/main/cpp/hack.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/src/main/cpp/hack.cpp b/module/src/main/cpp/hack.cpp index 66ab955..b4f86ad 100644 --- a/module/src/main/cpp/hack.cpp +++ b/module/src/main/cpp/hack.cpp @@ -77,7 +77,9 @@ void load_so(const char *game_data_dir, JavaVM *vm, const char *soname) { if (handle) { LOGI("Successfully loaded %s", new_so_path); load = true; - riru_hide({"test.so"}); + std::set sonames; + sonames.insert(soname); + riru_hide(sonames); break; } else { LOGE("Failed to load %s: %s", new_so_path, dlerror());