// // LeaderboardsLayer::refreshTabs from 0x81e3f4 to 0x81e490 (156 bytes) // // 3 xrefs: // > LeaderboardsLayer::setupLevelBrowser @ 0x81e5cc // > LeaderboardsLayer::toggleTabButtons @ 0x81e804 // > @ 0x9b040 // // 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 LeaderboardsLayer::refreshTabs(LeaderboardsLayer *a1) { unsigned int v1; // w20 __int64 v3; // x19 void (__fastcall *v4)(__int64, _QWORD); // x22 cocos2d::CCDirector *v5; // x0 __int64 v6; // x0 bool v7; // cf unsigned int v8; // w1 v1 = 0; while ( 1 ) { v7 = v1 >= (unsigned int)cocos2d::CCArray::count(a1->m_tabs); v8 = v1++; if ( v7 ) break; v3 = cocos2d::CCArray::objectAtIndex(a1->m_tabs, v8); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 984LL))(v3, 0); v4 = *(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1008LL); v5 = cocos2d::CCDirector::sharedDirector(); v6 = (__int64)v5->getTouchDispatcher(v5); v4(v3, (unsigned int)(*(_DWORD *)(v6 + 124) - 1)); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 984LL))(v3, 1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source