// // LeaderboardsLayer::refreshTabs from 0x1403dc2e0 to 0x1403dc38e (174 bytes) // // 5 xrefs: // > LeaderboardsLayer::setupLevelBrowser @ 0x1403dc2ba // > LeaderboardsLayer::toggleTabButtons @ 0x1403dc9a7 // > @ 0x1408c40ec // > @ 0x1408c40fc // > @ 0x140924c68 // // 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:31:39 +0000 // unsigned int __fastcall LeaderboardsLayer::refreshTabs(__int64 a1) { unsigned int v2; // edi unsigned int result; // eax struct cocos2d::CCObject *v4; // rbx __int64 v5; // rcx __int64 v6; // rax __int64 v7; // rax __int64 v8; // rdx v2 = 0; result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 496)); if ( result ) { do { v4 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 496), v2); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v4 + 920LL))(v4, 0); v6 = cocos2d::CCDirector::sharedDirector(v5); v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 144LL))(v6); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v4 + 944LL))( v4, (unsigned int)(*(_DWORD *)(v7 + 128) - 1)); LOBYTE(v8) = 1; (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v4 + 920LL))(v4, v8); ++v2; result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 496)); } while ( v2 < result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source