From 7599a58f56ef9e261f3c14b77d4393de47d76888 Mon Sep 17 00:00:00 2001 From: altalk23 <45172705+altalk23@users.noreply.github.com> Date: Wed, 20 Dec 2023 20:01:10 +0300 Subject: [PATCH] zmx please fix the android base get --- loader/src/platform/android/gdstdlib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/src/platform/android/gdstdlib.cpp b/loader/src/platform/android/gdstdlib.cpp index 2f3484e4..002643f0 100644 --- a/loader/src/platform/android/gdstdlib.cpp +++ b/loader/src/platform/android/gdstdlib.cpp @@ -7,7 +7,7 @@ namespace geode::base { uintptr_t get() { - static uintptr_t base = (reinterpret_cast(&MenuLayer::onQuit) - 0x2f9500) & (~0x1); + static uintptr_t base = (reinterpret_cast(&MenuLayer::scene) - 0x2f9068) & (~0x1); // static uintptr_t base = reinterpret_cast(dlopen("libcocos2dcpp.so", RTLD_NOW)); return base; }