// // TopArtistsLayer::setupLeaderboard from 0x14066e820 to 0x14066e96e (334 bytes) // // 4 xrefs: // > TopArtistsLayer::init @ 0x14066e6eb // > TopArtistsLayer::loadListFinished @ 0x14066e7de // > TopArtistsLayer::loadPage @ 0x14066eebc // > @ 0x14093221c // // 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:35:53 +0000 // __int64 __fastcall TopArtistsLayer::setupLeaderboard(__int64 a1, cocos2d::CCObject *a2) { int v2; // ebp __int64 v5; // rax struct cocos2d::CCObject *v6; // rbx cocos2d::CCTouchDispatcher *v7; // rax __int64 v8; // rax int v9; // edx cocos2d::CCLayerColor *v10; // rax __int64 v11; // rcx __int64 *v12; // rdi __int64 v13; // rbx __int64 v14; // rax __int64 v16; // [rsp+20h] [rbp-48h] int v17; // [rsp+30h] [rbp-38h] float v18; // [rsp+70h] [rbp+8h] BYREF float v19; // [rsp+74h] [rbp+Ch] char v20; // [rsp+78h] [rbp+10h] BYREF v2 = 0; if ( *(_QWORD *)(a1 + 680) ) { v5 = cocos2d::CCDirector::sharedDirector(a1); v6 = *(struct cocos2d::CCObject **)(a1 + 680); v7 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 144LL))(v5); cocos2d::CCTouchDispatcher::unregisterForcePrio(v7, v6); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 680) + 528LL))(*(_QWORD *)(a1 + 680)); *(_QWORD *)(a1 + 680) = 0; } v8 = cocos2d::CCDirector::sharedDirector(a1); cocos2d::CCDirector::getWinSize(v8, &v18); if ( a2 ) { v17 = 0; v2 = (unsigned int)CustomListView::create(a2, 0, 220.0, 340.0, v16, 19); } v10 = GJCommentListLayer::create(v2, v9, -12684609, 340.0, 1130102784, 1, v17); v11 = *(_QWORD *)(a1 + 584); *(_QWORD *)(a1 + 680) = v10; (*(void (__fastcall **)(__int64, cocos2d::CCLayerColor *))(*(_QWORD *)v11 + 464LL))(v11, v10); v12 = *(__int64 **)(a1 + 680); v13 = *v12; cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v20, (float)(v18 - 340.0) * 0.5, (float)((float)(v19 - 220.0) * 0.5) - 10.0); return (*(__int64 (__fastcall **)(__int64 *, __int64))(v13 + 184))(v12, v14); }
GD Web Decomp Icon

GD Web Decomp

Raw Source