From 353cf7f7fb9671da6981ad891aca67b214c65cd9 Mon Sep 17 00:00:00 2001 From: Justin Pridgen Date: Thu, 7 Mar 2024 19:32:02 -0500 Subject: [PATCH] v1.4.1 --- src/IDListLayer.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/IDListLayer.cpp b/src/IDListLayer.cpp index e846981..b6dd266 100644 --- a/src/IDListLayer.cpp +++ b/src/IDListLayer.cpp @@ -329,20 +329,7 @@ void IDListLayer::loadLevelsFailed(const char*) { void IDListLayer::onExit(CCObject*) { auto scene = CCScene::create(); - auto gm = GameManager::sharedState(); -#ifdef GEODE_IS_WINDOWS - auto onlineType = *(int*)((uintptr_t)gm + 0x3d4); -#elif defined(GEODE_IS_MACOS) - auto onlineType = *(int*)((uintptr_t)gm + 0x4b8); -#elif defined(GEODE_IS_ANDROID32) - auto onlineType = *(int*)((uintptr_t)gm + 0x3bc); -#elif defined(GEODE_IS_ANDROID64) - auto onlineType = *(int*)((uintptr_t)gm + 0x4d8); -#else - auto onlineType = 0; -#endif - - scene->addChild(LevelSearchLayer::create(onlineType)); + scene->addChild(LevelSearchLayer::create(GameManager::sharedState()->m_unkSize4_17)); CCDirector::sharedDirector()->replaceScene(CCTransitionFade::create(0.5f, scene)); }