// // LevelLeaderboard::create from 0x4e5d94 to 0x4e5e90 (252 bytes) // // 4 xrefs: // > LevelInfoLayer::onLevelLeaderboard @ 0x3b1590 // > EditLevelLayer::onLevelLeaderboard @ 0x3b5f1c // > EndLevelLayer::onLevelLeaderboard @ 0x427912 // > LevelLeaderboard::reloadLeaderboard @ 0x4e5ecc // // 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 // LevelLeaderboard *LevelLeaderboard::create(GJGameLevel *a1, LevelLeaderboardType a2, LevelLeaderboardMode a3) { LevelLeaderboard *v6; // r4 LevelLeaderboard_vtbl *v7; // r3 int *v8; // r0 v6 = (LevelLeaderboard *)operator new(0x220u); cocos2d::CCLayerColor::CCLayerColor(v6); v6->m_controlConnected = -1; v6->m_joystickConnected = -1; v6->m_buttonMenu = nullptr; v6->m_alertProtocol = nullptr; v6->m_scene = nullptr; v6->m_reverseKeyBack = 0; v6->m_mainLayer = nullptr; v6->m_ZOrder = 0; v6->m_noElasticity = 0; v6->m_button1 = nullptr; v6->m_button2 = nullptr; v6->m_scrollingLayer = nullptr; v6->m_containsBorder = 0; v6->m_noAction = 0; v6->m_forcePrioRegistered = 0; v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LevelLeaderboard_vtbl *)&off_A795E8; v6->m_level = nullptr; v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A7988C; v6->m_type = 0; v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A798C4; v6->m_scores = nullptr; v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A798D0; v6->m_list = nullptr; v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A798E0; v6->m_circle = nullptr; v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A798F0; v6->m_noInternet = nullptr; v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A79904; v6->m_timeBtn = nullptr; v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A79944; v6->LeaderboardManagerDelegate::__vftable = (LeaderboardManagerDelegate_vtbl *)&off_A79954; v6->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_A7996C; v6->m_pointsBtn = nullptr; if ( LevelLeaderboard::init(v6, a1, a2, a3) ) { cocos2d::CCObject::autorelease(v6); } else { v7 = v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v8 = (int *)v6; v6 = nullptr; v7->~LevelLeaderboard_0((LevelLeaderboard *)v8); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source