// // LevelListCell::onClick from 0x100259480 to 0x100259555 (213 bytes) // // 1 xrefs: // > LevelListCell::loadFromList @ 0x100245b23 // // 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 __fastcall LevelListCell::onClick(LevelListCell *a1, cocos2d::CCObject *a2) { TableViewCellDelegate *m_cellDelegate; // rdi cocos2d::CCDirector *v4; // r14 cocos2d::CCScene *v5; // rax cocos2d::CCTransitionFade *v6; // rax GameLevelManager *v7; // rax cocos2d::CCDirector *v8; // r14 cocos2d::CCScene *v9; // rax cocos2d::CCTransitionFade *v10; // rax if ( a1->m_addingLevel ) { m_cellDelegate = a1->m_tableView->m_cellDelegate; if ( m_cellDelegate ) ((void (__fastcall *)(TableViewCellDelegate *, LevelListCell *, __int64, __int64, _QWORD))m_cellDelegate->cellPerformedAction)( m_cellDelegate, a1, 30, 1, 0); } else if ( a1->m_levelList->m_listType == Editor ) { v4 = cocos2d::CCDirector::sharedDirector(); v5 = LevelListLayer::scene(a1->m_levelList); v6 = cocos2d::CCTransitionFade::create_1(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_1(0.5, v9); cocos2d::CCDirector::pushScene(v8, v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source