//
// CreatorLayer::onLeaderboards from 0x1002830f0 to 0x10028313d (77 bytes)
//
// 1 xrefs:
// > CreatorLayer::init @ 0x1002824a3
//
// This function is hookable on this platform (idp: pc, 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 12:27:44 +0000
//
__int64 __fastcall CreatorLayer::onLeaderboards(__int64 a1, __int64 a2, double a3)
{
__int64 v3; // rbx
unsigned int v4; // r14d
__int64 v5; // rax
__int64 v6; // rax
char *v7; // rax
v3 = cocos2d::CCDirector::sharedDirector(a1, a2);
v4 = *(_DWORD *)(GameLevelManager::sharedState(a3) + 1208);
v5 = GameLevelManager::sharedState(a3);
v6 = LeaderboardsLayer::scene(v4, *(unsigned int *)(v5 + 1212));
v7 = cocos2d::CCTransitionFade::create_1(v6, 0.5);
return cocos2d::CCDirector::pushScene(v3, v7);
}