// // LevelListCell::onClick from 0x60ad38 to 0x60adf8 (192 bytes) // // 3 xrefs: // > @ 0x89d30 // > LevelListCell::loadFromList @ 0x61e888 // > @ 0x122caf8 // // 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 LevelListCell::onClick(LevelListCell *a1, cocos2d::CCObject *a2) { TableViewCellDelegate *m_cellDelegate; // x0 GameLevelManager *v4; // x0 cocos2d::CCDirector *v5; // x20 cocos2d::CCScene *v6; // x0 cocos2d::CCTransitionFade *v7; // x0 cocos2d::CCDirector *v8; // x20 cocos2d::CCScene *v9; // x0 cocos2d::CCTransitionFade *v10; // x0 if ( a1->m_addingLevel ) { m_cellDelegate = a1->m_tableView->m_cellDelegate; if ( m_cellDelegate ) m_cellDelegate->cellPerformedAction(m_cellDelegate, a1, 30, Click, nullptr); } else if ( a1->m_levelList->m_listType == Editor ) { v8 = cocos2d::CCDirector::sharedDirector(); v9 = LevelListLayer::scene(a1->m_levelList); v10 = cocos2d::CCTransitionFade::create(0.5, v9); cocos2d::CCDirector::replaceScene(v8, v10); } else { v4 = GameLevelManager::sharedState(); GameLevelManager::updateSavedLevelList(v4, a1->m_levelList); v5 = cocos2d::CCDirector::sharedDirector(); v6 = LevelListLayer::scene(a1->m_levelList); v7 = cocos2d::CCTransitionFade::create(0.5, v6); cocos2d::CCDirector::pushScene(v5, v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source