//
// CreatorLayer::onLeaderboards from 0x1000db7a8 to 0x1000db7f0 (72 bytes)
//
// 1 xrefs:
// > CreatorLayer::init @ 0x1000dae08
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:58:59 +0000
//
__int64 __fastcall CreatorLayer::onLeaderboards(__int64 a1)
{
__int64 v1; // x19
__int64 v2; // x20
__int64 v3; // x0
__int64 v4; // x0
__int64 v5; // x1
v1 = cocos2d::CCDirector::sharedDirector(a1);
v2 = *(unsigned int *)(GameLevelManager::sharedState() + 1208);
v3 = GameLevelManager::sharedState();
v4 = LeaderboardsLayer::scene(v2, *(unsigned int *)(v3 + 1212));
v5 = cocos2d::CCTransitionFade::create_1(v4, 0.5);
return cocos2d::CCDirector::pushScene(v1, v5);
}