// // ShareLevelSettingsLayer::onUnlisted from 0x3ba25c to 0x3ba2fe (162 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void ShareLevelSettingsLayer::onUnlisted(ShareLevelSettingsLayer *a1, cocos2d::CCObject *a2) { GameManager *v3; // r0 GameManager *v4; // r0 FLAlertLayer *v5; // r7 GJGameLevel *m_level; // r3 _BYTE v7[4]; // [sp+10h] [bp-Ch] BYREF a1->m_level->m_unlisted ^= 1u; v3 = GameManager::sharedState(); if ( !GameManager::getGameVariable(v3, "0070") ) { v4 = GameManager::sharedState(); GameManager::setGameVariable(v4, "0070", 1); sub_776584( (int)v7, "An unlisted level can only be found by entering its levelID. Once a level is unlisted, it cannot change back to listed."); v5 = FLAlertLayer::create(0, (int)"Unlisted", (int)v7, (int)"OK", 0, 320.0); sub_774008(v7); v5->show(v5); } m_level = a1->m_level; if ( !m_level->m_unlisted ) m_level->m_friendsOnly = 0; ShareLevelSettingsLayer::updateSettingsState(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source