// // LeaderboardsLayer::refreshTabs from 0x1003b19cc to 0x1003b1a70 (164 bytes) // // 2 xrefs: // > LeaderboardsLayer::setupLevelBrowser @ 0x1003b19b8 // > LeaderboardsLayer::toggleTabButtons @ 0x1003b1c44 // // 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 LeaderboardsLayer::refreshTabs(LeaderboardsLayer *a1) { unsigned int v2; // w20 __int64 v3; // x21 cocos2d::CCDirector *v4; // x0 __int64 v5; // x0 if ( (unsigned int)sub_10024A36C((__int64)a1->m_tabs) ) { v2 = 0; do { v3 = sub_10024A388((__int64)a1->m_tabs, v2); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 984LL))(v3, 0); v4 = cocos2d::CCDirector::sharedDirector(); v5 = ((__int64 (__fastcall *)(cocos2d::CCDirector *))v4->getTouchDispatcher)(v4); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1008LL))(v3, (unsigned int)(*(_DWORD *)(v5 + 124) - 1)); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 984LL))(v3, 1); ++v2; } while ( v2 < (unsigned int)sub_10024A36C((__int64)a1->m_tabs) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source