// // LevelLeaderboard::reloadLeaderboard from 0x14042a010 to 0x14042a103 (243 bytes) // // 3 xrefs: // > LevelLeaderboard::onChangeType @ 0x14042a269 // > LevelLeaderboard::onChangeMode @ 0x14042a3cd // > @ 0x140926a74 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:32:12 +0000 // __int64 __fastcall LevelLeaderboard::reloadLeaderboard(__int64 *a1, unsigned int a2, unsigned int a3) { __int64 v6; // rax struct cocos2d::CCObject *v7; // rbx cocos2d::CCTouchDispatcher *v8; // rax __int64 v9; // rax cocos2d::CCTouchDispatcher *v10; // rax _QWORD *v11; // rsi __int64 v12; // rcx cocos2d::CCScene *v13; // rbx __int64 v14; // r8 __int64 v15; // rdx if ( a1[88] ) { v6 = cocos2d::CCDirector::sharedDirector(a1); v7 = (struct cocos2d::CCObject *)a1[88]; v8 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 144LL))(v6); cocos2d::CCTouchDispatcher::unregisterForcePrio(v8, v7); } v9 = cocos2d::CCDirector::sharedDirector(a1); v10 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 144LL))(v9); cocos2d::CCTouchDispatcher::unregisterForcePrio(v10, (struct cocos2d::CCObject *)a1); v11 = LevelLeaderboard::create(a1[85], a2, a3); v13 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v12) + 272); if ( cocos2d::CCScene::getHighestChildZ(v13) + 1 >= 105 ) v14 = (unsigned int)(cocos2d::CCScene::getHighestChildZ(v13) + 1); else v14 = 105; (*(void (__fastcall **)(cocos2d::CCScene *, _QWORD *, __int64))(*(_QWORD *)v13 + 456LL))(v13, v11, v14); (*(void (__fastcall **)(__int64 *, _QWORD))(*a1 + 992))(a1, 0); LOBYTE(v15) = 1; return (*(__int64 (__fastcall **)(__int64 *, __int64))(*a1 + 520))(a1, v15); }
GD Web Decomp Icon

GD Web Decomp

Raw Source