// // LeaderboardsLayer::setupLevelBrowser from 0x100458874 to 0x1004589ac (312 bytes) // // 3 xrefs: // > LeaderboardsLayer::selectLeaderboard @ 0x1004586f4 // > LeaderboardsLayer::selectLeaderboard @ 0x100458720 // > LeaderboardsLayer::loadLeaderboardFinished @ 0x100458dec // // 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 11:05:24 +0000 // __int64 __fastcall LeaderboardsLayer::setupLevelBrowser(__int64 *a1, __int64 a2) { __int64 v4; // x0 __int64 v5; // x0 __int64 v6; // x0 char *v7; // x0 _QWORD *v8; // x0 __int64 v9; // x20 float v11; // [xsp+0h] [xbp-20h] BYREF __int64 v12; // [xsp+8h] [xbp-18h] BYREF if ( a1[53] ) { v4 = cocos2d::CCDirector::sharedDirector(); v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4); cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, a1[53]); (*(void (__fastcall **)(__int64))(*(_QWORD *)a1[53] + 536LL))(a1[53]); a1[53] = 0; } v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v6, &v12); if ( a2 ) v7 = CustomListView::create(a2, 0, 0, 12, 220.0, 356.0, 0.0); else v7 = nullptr; v8 = GJListLayer::create((__int64)v7, 0, 0xFF3E72BF, 0, 356.0, 220.0); a1[53] = (__int64)v8; (*(void (__fastcall **)(__int64 *, _QWORD *))(*a1 + 456))(a1, v8); v9 = a1[53]; sub_1000262BC( &v11, (float)(*(float *)&v12 + -356.0) * 0.5, (float)((float)((float)(*((float *)&v12 + 1) + -220.0) * 0.5) + -10.0) + 5.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v9 + 184LL))(v9, &v11); return sub_1004589AC(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source