// // LevelListCell::onClick from 0x330320 to 0x3303b0 (144 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 LevelListCell::onClick(LevelListCell *a1, cocos2d::CCObject *a2) { TableViewCellDelegate *m_cellDelegate; // r0 cocos2d::CCDirector *v4; // r5 cocos2d::CCScene *v5; // r0 cocos2d::CCTransitionFade *v6; // r1 GameLevelManager *v7; // r0 cocos2d::CCDirector *v8; // r5 cocos2d::CCScene *v9; // r0 cocos2d::CCTransitionFade *v10; // r1 if ( a1->m_addingLevel ) { m_cellDelegate = a1->m_tableView->m_cellDelegate; if ( m_cellDelegate ) ((void (__fastcall *)(TableViewCellDelegate *, LevelListCell *, int, int, _DWORD, cocos2d::CCObject *))m_cellDelegate->cellPerformedAction)( m_cellDelegate, a1, 30, 1, 0, a2); } else if ( a1->m_levelList->m_listType == Editor ) { v4 = cocos2d::CCDirector::sharedDirector(); v5 = LevelListLayer::scene(a1->m_levelList); v6 = cocos2d::CCTransitionFade::create(0.5, v5); cocos2d::CCDirector::replaceScene(v4, v6); } else { v7 = GameLevelManager::sharedState(); GameLevelManager::updateSavedLevelList(v7, a1->m_levelList); v8 = cocos2d::CCDirector::sharedDirector(); v9 = LevelListLayer::scene(a1->m_levelList); v10 = cocos2d::CCTransitionFade::create(0.5, v9); cocos2d::CCDirector::pushScene(v8, v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source