//
// LevelInfoLayer::onAddToList from 0x1402f9990 to 0x1402f99d6 (70 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::init @ 0x1402f9646
// > ??> @ 0x1406d40dc
//
// 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 LevelInfoLayer::onAddToList(LevelInfoLayer *a1, cocos2d::CCObject *a2)
{
GJSearchObject *v3; // rax
LevelBrowserLayer *v4; // rax
TableViewCellDelegate *v5; // rdx
v3 = GJSearchObject::create_2(MyLists);
v3->m_searchIsOverlay = 1;
v4 = LevelBrowserLayer::create(v3);
v5 = &a1->TableViewCellDelegate;
if ( !a1 )
v5 = nullptr;
v4->m_delegate = v5;
LevelBrowserLayer::show(v4);
}