// // ProfilePage::setupCommentsBrowser from 0x1007b99f0 to 0x1007b9b3a (330 bytes) // // 10 xrefs: // > ProfilePage::init @ 0x1007b9102 // > ProfilePage::init @ 0x1007b9138 // > ProfilePage::init @ 0x1007b9158 // > ProfilePage::onUpdate @ 0x1007b99c9 // > ProfilePage::updateUserScoreFinished @ 0x1007bfa95 // > ProfilePage::loadPage @ 0x1007c0085 // > ProfilePage::userInfoChanged @ 0x1007c039f // > sub_1007C03E0 @ 0x1007c0419 // > ProfilePage::loadCommentsFinished @ 0x1007c059f // > sub_1007C05F0 @ 0x1007c061c // // 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 __fastcall ProfilePage::setupCommentsBrowser(ProfilePage *a1, cocos2d::CCArray *a2) { cocos2d::CCDirector *v3; // rax cocos2d::CCTouchDispatcher *v4; // rax CustomListView *v5; // rdi GJCommentListLayer *v6; // rax GJCommentListLayer *m_list; // r14 float v8; // [rsp+8h] [rbp-28h] BYREF float v9[8]; // [rsp+10h] [rbp-20h] BYREF if ( a1->m_list ) { v3 = cocos2d::CCDirector::sharedDirector(); v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getTouchDispatcher)(v3); cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1->m_list); ((void (__fastcall *)(GJCommentListLayer *))a1->m_list->removeMeAndCleanup)(a1->m_list); a1->m_list = nullptr; } cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v9); if ( a2 ) v5 = CustomListView::create(a2, nullptr, 100.0, 340.0, 0, Comment4, 0.0); else v5 = nullptr; v6 = GJCommentListLayer::create(v5, "Comments", (cocos2d::ccColor4B)-12684609, 340.0, 100.0, 0); a1->m_list = v6; ((void (__fastcall *)(cocos2d::CCLayer *, GJCommentListLayer *))a1->m_mainLayer->addChild)(a1->m_mainLayer, v6); m_list = a1->m_list; sub_10028CBE0(&v8, (float)(v9[0] + -340.0) * 0.5, (float)((float)(v9[1] + -100.0) * 0.5) + -53.0); ((void (__fastcall *)(GJCommentListLayer *, float *))m_list->setPosition)(m_list, &v8); if ( a1->m_ownProfile ) cocos2d::CCMenu::giveMenuTouchPriority(a1->m_buttonMenu); }
GD Web Decomp Icon

GD Web Decomp

Raw Source