//
// CreatorLayer::onTopLists from 0x100298a70 to 0x100298acd (93 bytes)
//
// 1 xrefs:
// > CreatorLayer::init @ 0x100297ae7
//
// 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 CreatorLayer::onTopLists(CreatorLayer *a1, cocos2d::CCObject *a2)
{
GJSearchObject *v2; // rbx
cocos2d::CCDirector *v3; // r14
cocos2d::CCScene *v4; // rax
cocos2d::CCTransitionFade *v5; // rax
v2 = GJSearchObject::create_2(Recent|MostLiked);
v2->m_searchMode = 1;
v3 = cocos2d::CCDirector::sharedDirector();
v4 = LevelBrowserLayer::scene(v2);
v5 = cocos2d::CCTransitionFade::create_1(0.5, v4);
cocos2d::CCDirector::pushScene(v3, v5);
GameManager::sharedState()->m_sceneEnum = 1;
}