// // LevelBrowserLayer::cellPerformedAction from 0x3bdd1c to 0x3bdd6e (82 bytes) // // 2 xrefs: // > `non-virtual thunk to'LevelBrowserLayer::cellPerformedAction @ 0x3bdd72 // > LevelListLayer::cellPerformedAction @ 0x5923e8 // // 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 // bool LevelBrowserLayer::cellPerformedAction( LevelBrowserLayer *a1, TableViewCell *a2, int a3, CellAction a4, cocos2d::CCNode *a5) { GJSmartTemplate *v6; // r0 SetupSmartTemplateLayer *v7; // r0 TableViewCellDelegate *m_delegate; // r0 if ( a3 == 22 ) { if ( a4 == Click ) { LevelBrowserLayer::reloadAllObjects(a1); LABEL_8: LOBYTE(m_delegate) = 0; return (char)m_delegate; } if ( a4 != Edit ) goto LABEL_8; a1->onBack(a1, nullptr); v6 = (GJSmartTemplate *)a2[1].cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v6->m_prefabIndex = 0; v7 = SetupSmartTemplateLayer::create(v6); v7->show(v7); LOBYTE(m_delegate) = 1; } else { m_delegate = a1->m_delegate; if ( m_delegate ) LOBYTE(m_delegate) = ((bool (__fastcall *)(TableViewCellDelegate *))m_delegate->cellPerformedAction)(m_delegate); } return (char)m_delegate; }
GD Web Decomp Icon

GD Web Decomp

Raw Source