// // LevelLeaderboard::reloadLeaderboard from 0x1003dbd40 to 0x1003dbe13 (211 bytes) // // 2 xrefs: // > LevelLeaderboard::onChangeMode @ 0x1003db31d // > LevelLeaderboard::onChangeType @ 0x1003db563 // // 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 // void __fastcall LevelLeaderboard::reloadLeaderboard( LevelLeaderboard *a1, LevelLeaderboardType a2, LevelLeaderboardMode a3) { cocos2d::CCDirector *v4; // rax cocos2d::CCTouchDispatcher *v5; // rax cocos2d::CCDirector *v6; // rax cocos2d::CCTouchDispatcher *v7; // rax LevelLeaderboard *v8; // r14 cocos2d::CCScene *m_pRunningScene; // r15 int HighestChildZ; // eax __int64 v11; // rdx if ( a1->m_list ) { v4 = cocos2d::CCDirector::sharedDirector(); v5 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v4->getTouchDispatcher)(v4); cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, a1->m_list); } v6 = cocos2d::CCDirector::sharedDirector(); v7 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v6->getTouchDispatcher)(v6); cocos2d::CCTouchDispatcher::unregisterForcePrio(v7, a1); v8 = LevelLeaderboard::create(a1->m_level, a2, a3); m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene; HighestChildZ = cocos2d::CCScene::getHighestChildZ(m_pRunningScene); v11 = 105; if ( HighestChildZ >= 105 ) v11 = (unsigned int)(cocos2d::CCScene::getHighestChildZ(m_pRunningScene) + 1); ((void (__fastcall *)(cocos2d::CCScene *, LevelLeaderboard *, __int64))m_pRunningScene->addChild_0)( m_pRunningScene, v8, v11); ((void (__fastcall *)(LevelLeaderboard *, _QWORD))a1->setKeypadEnabled)(a1, 0); ((void (__fastcall *)(LevelLeaderboard *, __int64))a1->removeFromParentAndCleanup)(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source