// // TopArtistsLayer::setupLeaderboard from 0x1404cb420 to 0x1404cb56f (335 bytes) // // 4 xrefs: // > TopArtistsLayer::init @ 0x1404cb30b // > TopArtistsLayer::loadListFinished @ 0x1404cb3ec // > TopArtistsLayer::loadPage @ 0x1404cba97 // > @ 0x1406dd394 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void TopArtistsLayer::setupLeaderboard(TopArtistsLayer *a1, cocos2d::CCArray *a2) { CustomListView *v2; // rbx __int64 v5; // rax cocos2d::CCTouchDispatcher *v6; // rax cocos2d::CCDirector *v7; // rax const char *v8; // rdx GJCommentListLayer *v9; // rax cocos2d::CCLayer *m_mainLayer; // rcx float v11; // xmm0_4 GJCommentListLayer_vtbl *v12; // rbx const cocos2d::CCPoint *v13; // rax int v14; // [rsp+20h] [rbp-38h] float v15; // [rsp+60h] [rbp+8h] v2 = nullptr; if ( a1->m_listLayer ) { v5 = cocos2d::CCDirector::sharedDirector(a1); v6 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 144LL))(v5); cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, a1->m_listLayer); a1->m_listLayer->removeMeAndCleanup(a1->m_listLayer); a1->m_listLayer = nullptr; } v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(a1); cocos2d::CCDirector::getWinSize(v7); if ( a2 ) v2 = CustomListView::create(a2, nullptr, 220.0, 340.0, v14, Artist, 0.0); v9 = GJCommentListLayer::create(v2, v8, (cocos2d::ccColor4B)-12684609, 340.0, 220.0, 1); m_mainLayer = a1->m_mainLayer; a1->m_listLayer = v9; v11 = ((float (__fastcall *)(cocos2d::CCLayer *, GJCommentListLayer *))m_mainLayer->addChild_1)(m_mainLayer, v9); v12 = a1->m_listLayer->__vftable; cocos2d::CCPoint::CCPoint(v11, (float)(v15 - 340.0) * 0.5); v12->setPosition_0(a1->m_listLayer, v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source