// // TopArtistsLayer::setupLeaderboard from 0x1002fbac0 to 0x1002fbbf4 (308 bytes) // // 4 xrefs: // > TopArtistsLayer::init @ 0x1002fb951 // > TopArtistsLayer::loadListFinished @ 0x1002fbcfc // > sub_1002FBD20 @ 0x1002fbd5d // > TopArtistsLayer::loadPage @ 0x1002fc65b // // 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:28:30 +0000 // __int64 __fastcall TopArtistsLayer::setupLeaderboard(_QWORD *a1, __int64 a2) { __int64 v2; // r14 _QWORD *v3; // rbx __int64 v4; // rax __int64 v5; // rax __int64 v6; // rax char *v7; // rdi _QWORD *v8; // rax __int64 v9; // rbx float v11; // [rsp+0h] [rbp-20h] BYREF float v12[6]; // [rsp+8h] [rbp-18h] BYREF v2 = a2; v3 = a1; if ( a1[85] ) { v4 = cocos2d::CCDirector::sharedDirector(a1, a2); v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4); a2 = a1[85]; cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, a2); a1 = (_QWORD *)a1[85]; (*(void (__fastcall **)(_QWORD *))(*a1 + 536LL))(a1); v3[85] = 0; } v6 = cocos2d::CCDirector::sharedDirector(a1, a2); cocos2d::CCDirector::getWinSize(v12, v6); if ( v2 ) v7 = CustomListView::create(v2, 0, 0, 0x13u, 220.0, 340.0, 0.0); else v7 = nullptr; v8 = GJCommentListLayer::create((__int64)v7, 340.0, 220.0, (__int64)"", 0xFF3E72BF, 1u); v3[85] = v8; (*(void (__fastcall **)(_QWORD, _QWORD *))(*(_QWORD *)v3[73] + 456LL))(v3[73], v8); v9 = v3[85]; sub_100278250(&v11, (float)(v12[0] + -340.0) * 0.5, (float)((float)(v12[1] + -220.0) * 0.5) + -10.0); return (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v9 + 184LL))(v9, &v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source