// // LevelLeaderboard::reloadLeaderboard from 0x140302600 to 0x1403026e3 (227 bytes) // // 3 xrefs: // > LevelLeaderboard::onChangeType @ 0x140302779 // > LevelLeaderboard::onChangeMode @ 0x140302808 // > @ 0x1406d43b8 // // 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 LevelLeaderboard::reloadLeaderboard(LevelLeaderboard *a1, LevelLeaderboardType a2, LevelLeaderboardMode a3) { __int64 v6; // rax cocos2d::CCTouchDispatcher *v7; // rax __int64 v8; // rax cocos2d::CCTouchDispatcher *v9; // rax LevelLeaderboard *v10; // rsi __int64 v11; // rcx cocos2d::CCScene *v12; // rdi __int64 v13; // r8 _BOOL8 v14; // rdx if ( a1->m_list ) { v6 = cocos2d::CCDirector::sharedDirector(a1); v7 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 144LL))(v6); cocos2d::CCTouchDispatcher::unregisterForcePrio(v7, a1->m_list); } v8 = cocos2d::CCDirector::sharedDirector(a1); v9 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 144LL))(v8); cocos2d::CCTouchDispatcher::unregisterForcePrio(v9, a1); v10 = LevelLeaderboard::create(a1->m_level, a2, a3); v12 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v11) + 264); if ( cocos2d::CCScene::getHighestChildZ(v12) + 1 >= 105 ) v13 = (unsigned int)(cocos2d::CCScene::getHighestChildZ(v12) + 1); else v13 = 105; v12->addChild_0(v12, v10, v13); a1->setKeypadEnabled(a1, 0); LOBYTE(v14) = 1; a1->removeFromParentAndCleanup(a1, v14); }
GD Web Decomp Icon

GD Web Decomp

Raw Source