//
// CreatorLayer::onLeaderboards from 0x4935a4 to 0x4935da (54 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:49:39 +0000
//
int __fastcall CreatorLayer::onLeaderboards(CreatorLayer *this, cocos2d::CCObject *a2)
{
GameLevelManager *v2; // r4
GameLevelManager *v3; // r0
int v4; // r5
int v5; // r0
float v6; // r0
cocos2d::CCScene *v7; // r2
cocos2d::CCScene *v8; // r1
v2 = (GameLevelManager *)cocos2d::CCDirector::sharedDirector(this);
v3 = (GameLevelManager *)GameLevelManager::sharedState(v2);
v4 = *((_DWORD *)v3 + 202);
v5 = GameLevelManager::sharedState(v3);
v6 = LeaderboardsLayer::scene(v4, *(_DWORD *)(v5 + 812));
v8 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create((cocos2d::CCTransitionFade *)0x3F000000, v6, v7);
return cocos2d::CCDirector::pushScene(v2, v8);
}