//
// CreatorLayer::onTopLists from 0x6cba30 to 0x6cba9c (108 bytes)
//
// 3 xrefs:
// > ??> @ 0x66990
// > CreatorLayer::init @ 0x6cc3a0
// > ??> @ 0x122b510
//
// 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 CreatorLayer::onTopLists(CreatorLayer *a1, cocos2d::CCObject *a2)
{
SearchType v2; // w1
GJSearchObject *v3; // x0
GJSearchObject *v4; // x20
cocos2d::CCDirector *v5; // x21
cocos2d::CCScene *v6; // x0
cocos2d::CCTransitionFade *v7; // x0
if ( CreatorLayer::canPlayOnlineLevels(a1) )
{
v3 = (GJSearchObject *)GJSearchObject::create((GJSearchObject *)&byte_6, v2);
v3->m_searchMode = 1;
v4 = v3;
v5 = cocos2d::CCDirector::sharedDirector();
v6 = LevelBrowserLayer::scene(v4);
v7 = cocos2d::CCTransitionFade::create(0.5, v6);
cocos2d::CCDirector::pushScene(v5, v7);
GameManager::sharedState()->m_sceneEnum = 1;
}
}