//
// CreatorLayer::onLeaderboards from 0x1002984e0 to 0x10029852d (77 bytes)
//
// 1 xrefs:
// > CreatorLayer::init @ 0x100297a32
//
// 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::onLeaderboards(CreatorLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v2; // rbx
LeaderboardType m_leaderboardType; // r14d
GameLevelManager *v4; // rax
cocos2d::CCScene *v5; // rax
cocos2d::CCTransitionFade *v6; // rax
v2 = cocos2d::CCDirector::sharedDirector();
m_leaderboardType = GameLevelManager::sharedState()->m_leaderboardType;
v4 = GameLevelManager::sharedState();
v5 = LeaderboardsLayer::scene(m_leaderboardType, v4->m_leaderboardStat);
v6 = cocos2d::CCTransitionFade::create_1(0.5, v5);
cocos2d::CCDirector::pushScene(v2, v6);
}