//
// LevelLeaderboard::create from 0x1403009d0 to 0x140300b0b (315 bytes)
//
// 5 xrefs:
// > EditLevelLayer::onLevelLeaderboard @ 0x1400d69df
// > EndLevelLayer::onLevelLeaderboard @ 0x14013493a
// > LevelInfoLayer::onLevelLeaderboard @ 0x1402f9dbd
// > LevelLeaderboard::reloadLeaderboard @ 0x14030266e
// > ??> @ 0x1406d4364
//
// 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
//
// Hidden C++ exception states: #wind=1
LevelLeaderboard *LevelLeaderboard::create(GJGameLevel *a1, LevelLeaderboardType a2, LevelLeaderboardMode a3)
{
LevelLeaderboard *v6; // r14
v6 = (LevelLeaderboard *)operator new(0x2D0u);
FLAlertLayer::FLAlertLayer(v6);
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelLeaderboard_vtbl *)&LevelLeaderboard::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&LevelLeaderboard::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&LevelLeaderboard::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&LevelLeaderboard::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&LevelLeaderboard::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&LevelLeaderboard::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&LevelLeaderboard::`vftable';
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&LevelLeaderboard::`vftable';
v6->LeaderboardManagerDelegate::__vftable = (LeaderboardManagerDelegate_vtbl *)&LevelLeaderboard::`vftable';
v6->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&LevelLeaderboard::`vftable';
v6->m_level = nullptr;
v6->m_type = 0;
v6->m_scores = nullptr;
v6->m_list = nullptr;
v6->m_circle = nullptr;
v6->m_noInternet = nullptr;
v6->m_timeBtn = nullptr;
v6->m_pointsBtn = nullptr;
if ( LevelLeaderboard::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
return v6;
}
else
{
((void (__fastcall *)(LevelLeaderboard *, __int64))v6->~LevelLeaderboard)(v6, 1);
return nullptr;
}
}