// // MessagesProfilePage::setupCommentsBrowser from 0x140338030 to 0x1403381bd (397 bytes) // // 3 xrefs: // > MessagesProfilePage::loadPage @ 0x140337f6b // > MessagesProfilePage::loadMessagesFinished @ 0x1403381f6 // > @ 0x1406d52c4 // // 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) { 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 BoomListView *m_list; // rcx cocos2d::CCMenu_vtbl *v15; // rbx int v16; // eax int v17; // [rsp+20h] [rbp-38h] float v18; // [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, 196.0, 340.0, v17, Message, 0.0); v9 = GJCommentListLayer::create(v2, v8, (cocos2d::ccColor4B)-12684609, 340.0, 196.0, 0); 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)(v18 - 340.0) * 0.5); v12->setPosition_0(a1->m_listLayer, v13); m_list = a1->m_listLayer->m_list; if ( m_list ) { v15 = a1->m_buttonMenu->FLAlertLayer::__vftable; v16 = m_list->getTouchPriority(m_list); v15->setTouchPriority(a1->m_buttonMenu, v16 - 2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source