// // MessagesProfilePage::setupCommentsBrowser from 0x8f2b54 to 0x8f2d00 (428 bytes) // // 3 xrefs: // > MessagesProfilePage::loadMessagesFinished @ 0x8f2d40 // > MessagesProfilePage::loadPage @ 0x8f3098 // > @ 0x7fb00 // // 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 MessagesProfilePage::setupCommentsBrowser(MessagesProfilePage *a1, cocos2d::CCArray *a2) { cocos2d::CCDirector *v4; // x0 cocos2d::CCTouchDispatcher *v5; // x0 cocos2d::CCDirector *v6; // x0 CustomListView *v7; // x0 GJCommentListLayer *v8; // x0 cocos2d::CCLayer *m_mainLayer; // x2 GJCommentListLayer *m_listLayer; // x22 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x21 GJCommentListLayer *v12; // x0 BoomListView *m_list; // x1 cocos2d::CCMenu *m_buttonMenu; // x19 void (__fastcall *setTouchPriority)(cocos2d::CCLayer *__hidden, int); // x21 int v16; // w0 float v17; // [xsp+58h] [xbp+58h] float v18; // [xsp+5Ch] [xbp+5Ch] cocos2d::CCPoint v19; // [xsp+60h] [xbp+60h] BYREF if ( a1->m_listLayer ) { v4 = cocos2d::CCDirector::sharedDirector(); v5 = v4->getTouchDispatcher(v4); cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, a1->m_listLayer); a1->m_listLayer->removeMeAndCleanup(a1->m_listLayer); a1->m_listLayer = nullptr; } v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v6); if ( a2 ) v7 = CustomListView::create(a2, (BoomListType)0, 196.0, 340.0); else v7 = nullptr; v8 = GJCommentListLayer::create(v7, "Messages", (cocos2d::ccColor4B)-12684609, 340.0, 196.0, 0); m_mainLayer = a1->m_mainLayer; a1->m_listLayer = v8; m_mainLayer->addChild(m_mainLayer, v8); m_listLayer = a1->m_listLayer; setPosition = m_listLayer->setPosition; cocos2d::CCPoint::CCPoint( &v19, (float)(v17 - 340.0) * 0.5, (float)((float)((float)(v18 - 196.0) * 0.5) + -10.0) + 5.0); setPosition(m_listLayer, &v19); v12 = a1->m_listLayer; m_list = v12->m_list; if ( m_list ) { m_buttonMenu = a1->m_buttonMenu; setTouchPriority = m_buttonMenu->setTouchPriority; v16 = m_list->getTouchPriority(v12->m_list); setTouchPriority(m_buttonMenu, v16 - 2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source