//
// CreatorLayer::onLeaderboards from 0x7db728 to 0x7db770 (72 bytes)
//
// 3 xrefs:
// > ??> @ 0xfd030
// > CreatorLayer::init @ 0x7dd57c
// > ??> @ 0x1547b40
//
// 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 12:54:23 +0000
//
__int64 __fastcall CreatorLayer::onLeaderboards(CreatorLayer *this, cocos2d::CCObject *a2)
{
GameLevelManager *v2; // x19
GameLevelManager *v3; // x0
unsigned int v4; // w20
__int64 v5; // x0
cocos2d::CCTransitionFade *v6; // x0
cocos2d::CCScene *v7; // x1
cocos2d::CCScene *v8; // x0
v2 = (GameLevelManager *)cocos2d::CCDirector::sharedDirector(this);
v3 = (GameLevelManager *)GameLevelManager::sharedState(v2);
v4 = *((_DWORD *)v3 + 302);
v5 = GameLevelManager::sharedState(v3);
v6 = (cocos2d::CCTransitionFade *)LeaderboardsLayer::scene(v4, *(unsigned int *)(v5 + 1212));
v8 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v6, 0.5, v7);
return cocos2d::CCDirector::pushScene(v2, v8);
}