// // ProfilePage::setupCommentsBrowser from 0x4c70cc to 0x4c71e4 (280 bytes) // // 8 xrefs: // > ProfilePage::onUpdate @ 0x4c73c0 // > ProfilePage::updateUserScoreFinished @ 0x4c7440 // > ProfilePage::init @ 0x4c7b32 // > ProfilePage::init @ 0x4c7c32 // > ProfilePage::init @ 0x4c7c48 // > ProfilePage::loadCommentsFinished @ 0x4c7da2 // > ProfilePage::loadPage @ 0x4c7eae // > ProfilePage::userInfoChanged @ 0x4c80a6 // // 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 ProfilePage::setupCommentsBrowser(ProfilePage *a1, cocos2d::CCArray *a2) { cocos2d::CCDirector *v4; // r0 cocos2d::CCTouchDispatcher *v5; // r0 cocos2d::CCDirector *v6; // r0 CustomListView *v7; // r0 GJCommentListLayer *v8; // r0 GJCommentListLayer *m_list; // r7 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8 cocos2d::CCSize v11; // [sp+14h] [bp-14h] BYREF cocos2d::CCPoint v12; // [sp+1Ch] [bp-Ch] BYREF if ( a1->m_list ) { v4 = cocos2d::CCDirector::sharedDirector(); v5 = v4->getTouchDispatcher(v4); cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, a1->m_list); a1->m_list->removeMeAndCleanup(a1->m_list); a1->m_list = nullptr; } v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v11, v6); if ( a2 ) v7 = CustomListView::create(a2, (BoomListType)0, 100.0, 340.0); else v7 = nullptr; v8 = GJCommentListLayer::create(v7, "Comments", (cocos2d::ccColor4B)-12684609, 340.0, 100.0, 0); a1->m_list = v8; a1->m_mainLayer->addChild(a1->m_mainLayer, v8); m_list = a1->m_list; setPosition = m_list->setPosition; cocos2d::CCPoint::CCPoint(&v12, (float)(v11.width - 340.0) * 0.5, (float)((float)(v11.height - 100.0) * 0.5) - 53.0); setPosition(m_list, &v12); if ( a1->m_ownProfile ) cocos2d::CCMenu::giveMenuTouchPriority(a1->m_buttonMenu); }
GD Web Decomp Icon

GD Web Decomp

Raw Source