// // LeaderboardsLayer::setupLevelBrowser from 0x1005147b0 to 0x1005148ec (316 bytes) // // 3 xrefs: // > LeaderboardsLayer::selectLeaderboard @ 0x100514618 // > LeaderboardsLayer::selectLeaderboard @ 0x10051464e // > LeaderboardsLayer::loadLeaderboardFinished @ 0x100514e0e // // 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 12:31:37 +0000 // __int64 __fastcall LeaderboardsLayer::setupLevelBrowser(__int64 *a1, __int64 a2) { __int64 v3; // rax __int64 v4; // rax __int64 v5; // rax char *v6; // rdi __int64 v7; // rax __int64 v8; // r14 float v10; // [rsp+8h] [rbp-28h] BYREF __int64 v11; // [rsp+10h] [rbp-20h] BYREF if ( a1[53] ) { v3 = cocos2d::CCDirector::sharedDirector(); v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 160LL))(v3); cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1[53]); (*(void (__fastcall **)(__int64))(*(_QWORD *)a1[53] + 536LL))(a1[53]); a1[53] = 0; } v5 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v11, v5); if ( a2 ) v6 = CustomListView::create(a2, 0, 0, 0xCu, 220.0, 356.0, 0.0); else v6 = nullptr; v7 = GJListLayer::create(v6, 0, 4282282687LL, 0, 356.0, 220.0); a1[53] = v7; (*(void (__fastcall **)(__int64 *, __int64))(*a1 + 456))(a1, v7); v8 = a1[53]; sub_100278250( &v10, (float)(*(float *)&v11 + -356.0) * 0.5, (float)((float)((float)(*((float *)&v11 + 1) + -220.0) * 0.5) + -10.0) + 5.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v8 + 184LL))(v8, &v10); return LeaderboardsLayer::refreshTabs(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source