From 141fc4e3a11a5cac1f5f5319cf6cbf87cf50b068 Mon Sep 17 00:00:00 2001 From: FireMario211 <17692105+FireMario211@users.noreply.github.com> Date: Fri, 19 Jan 2024 21:53:35 -0500 Subject: [PATCH] hopefully fix --- .github/workflows/build.yml | 1 + src/main.cpp | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 241a155..6945f63 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,6 +38,7 @@ jobs: with: #sdk: nightly combine: true + configure-args: '-DGEODE_DISABLE_FMT_CONSTEVAL=1' target: ${{ matrix.config.target }} package: diff --git a/src/main.cpp b/src/main.cpp index 786d8dd..da8e9da 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1010,11 +1010,13 @@ class $modify(GameObject) { #ifdef GEODE_IS_WINDOWS objectID = *reinterpret_cast(reinterpret_cast(this) + 0x384); // absolutely cursed objectType = *reinterpret_cast(reinterpret_cast(this) + 0x31c); -#elif GEODE_IS_ANDROID32 +#else + #ifdef GEODE_IS_ANDROID32 objectID = this->m_objectID; objectType = this->m_objectType; -#else // android 64 (BROKEN) + #else // android 64 (BROKEN) objectType = *reinterpret_cast(reinterpret_cast(this) + 0x904); + #endif #endif if (!Hacks::isHackEnabled("Layout Mode")) return GameObject::setVisible(v); GameObject::setVisible(v);