//
// LevelBrowserLayer::cellPerformedAction from 0x6ed878 to 0x6ed924 (172 bytes)
//
// 4 xrefs:
// > `non-virtual thunk to'LevelBrowserLayer::cellPerformedAction @ 0x6ed928
// > LevelListLayer::cellPerformedAction @ 0xa78af0
// > ??> @ 0x61980
// > ??> @ 0x115dba0
//
// 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)
{
TableViewCellDelegate *m_delegate; // x0
bool v7; // w1
GJSmartTemplate *v9; // x0
SetupSmartTemplateLayer *v10; // x0
if ( a3 == 22 )
{
if ( a4 == Click )
{
LevelBrowserLayer::reloadAllObjects(a1);
return 0;
}
else
{
v7 = 0;
if ( a4 == Edit )
{
a1->onBack(a1, nullptr);
v9 = (GJSmartTemplate *)a2[1].cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v9->m_prefabIndex = 0;
v10 = SetupSmartTemplateLayer::create(v9);
v10->show(v10);
return 1;
}
}
return v7;
}
m_delegate = a1->m_delegate;
if ( m_delegate )
return ((__int64 (__fastcall *)(TableViewCellDelegate *))m_delegate->cellPerformedAction)(m_delegate);
return 0;
}