Skip to content

Commit

Permalink
v1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hiimjustin000 committed Mar 8, 2024
1 parent d014d3c commit 353cf7f
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/IDListLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 353cf7f

Please sign in to comment.