//
// LeaderboardsLayer::scene from 0x1003b0450 to 0x1003b04ac (92 bytes)
//
// 1 xrefs:
// > CreatorLayer::onLeaderboards @ 0x1000b5d60
//
// 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
//
cocos2d::CCScene *__fastcall LeaderboardsLayer::scene(LeaderboardType a1, LeaderboardStat a2)
{
char *v4; // x21
LeaderboardsLayer *v5; // x0
v4 = (char *)cocos2d::CCScene::create();
AppDelegate::get()->m_resourceRootPath.m_data.m_long.longStorage = v4;
v5 = LeaderboardsLayer::create(a1, a2);
(*(void (__fastcall **)(char *, LeaderboardsLayer *))(*(_QWORD *)v4 + 440LL))(v4, v5);
return (cocos2d::CCScene *)v4;
}