//
// CreatorLayer::onLeaderboards from 0x6ca624 to 0x6ca66c (72 bytes)
//
// 3 xrefs:
// > ??> @ 0xc2490
// > CreatorLayer::init @ 0x6cc538
// > ??> @ 0x122ebc0
//
// 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::onLeaderboards(CreatorLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v2; // x19
LeaderboardType m_leaderboardType; // w20
GameLevelManager *v4; // x0
cocos2d::CCScene *v5; // x0
cocos2d::CCTransitionFade *v6; // x0
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(0.5, v5);
cocos2d::CCDirector::pushScene(v2, v6);
}