// // LeaderboardsLayer::setupLevelBrowser from 0x94e1c0 to 0x94e338 (376 bytes) // // 4 xrefs: // > LeaderboardsLayer::selectLeaderboard @ 0x94e720 // > LeaderboardsLayer::selectLeaderboard @ 0x94e774 // > LeaderboardsLayer::loadLeaderboardFinished @ 0x94ea7c // > @ 0x49738 // // This function is hookable on this platform (idp: arm, 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 12:57:21 +0000 // __int64 __fastcall LeaderboardsLayer::setupLevelBrowser(LeaderboardsLayer *this, cocos2d::CCArray *a2) { cocos2d::CCDirector *v4; // x0 __int64 v5; // x0 cocos2d::CCTouchDispatcher *v6; // x0 cocos2d::CCDirector *v7; // x0 cocos2d::CCObject *v8; // x0 cocos2d::CCLayerColor *v9; // x0 __int64 v10; // x2 __int64 v11; // x22 void (__fastcall *v12)(__int64, _BYTE *); // x21 __int64 v14; // [xsp+58h] [xbp+58h] BYREF _BYTE v15[8]; // [xsp+60h] [xbp+60h] BYREF v4 = *((cocos2d::CCDirector **)this + 53); if ( v4 ) { v5 = cocos2d::CCDirector::sharedDirector(v4); v6 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 160LL))(v5); cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, *((cocos2d::CCObject **)this + 53)); v4 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 53) + 536LL))(*((_QWORD *)this + 53)); *((_QWORD *)this + 53) = 0; } v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4); cocos2d::CCDirector::getWinSize(&v14, v7); if ( a2 ) v8 = (cocos2d::CCObject *)CustomListView::create(a2, 0, 0, 12, 220.0, 356.0, 0.0); else v8 = nullptr; v9 = GJListLayer::create(v8, nullptr, -12684609, 0, 356.0, 220.0); v10 = *(_QWORD *)this; *((_QWORD *)this + 53) = v9; (*(void (__fastcall **)(LeaderboardsLayer *))(v10 + 456))(this); v11 = *((_QWORD *)this + 53); v12 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v11 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v15, (float)(*(float *)&v14 - 356.0) * 0.5, (float)((float)((float)(*((float *)&v14 + 1) - 220.0) * 0.5) + -10.0) + 5.0); v12(v11, v15); LeaderboardsLayer::refreshTabs((cocos2d::CCArray **)this); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source