// // ProfilePage::setupCommentsBrowser from 0xa546bc to 0xa54874 (440 bytes) // // 9 xrefs: // > ProfilePage::onUpdate @ 0xa54968 // > ProfilePage::updateUserScoreFinished @ 0xa54be0 // > ProfilePage::loadCommentsFinished @ 0xa54c40 // > ProfilePage::init @ 0xa5c408 // > ProfilePage::init @ 0xa5c480 // > ProfilePage::init @ 0xa5c620 // > ProfilePage::userInfoChanged @ 0xa5cb9c // > ProfilePage::loadPage @ 0xa5cf88 // > @ 0x4db18 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:00:07 +0000 // __int64 __fastcall ProfilePage::setupCommentsBrowser(ProfilePage *this, cocos2d::CCArray *a2) { cocos2d::CCDirector *v4; // x0 __int64 v5; // x0 cocos2d::CCTouchDispatcher *v6; // x0 cocos2d::CCDirector *v7; // x0 __int64 v8; // x0 cocos2d::CCLayerColor *v9; // x0 __int64 v10; // x22 __int64 (__fastcall *v11)(__int64, int *); // x23 cocos2d::CCDirector *v12; // x0 __int64 v13; // x0 cocos2d::CCTouchDispatcher *v14; // x0 __int64 v16; // [xsp+58h] [xbp+58h] BYREF int v17; // [xsp+60h] [xbp+60h] BYREF v4 = *((cocos2d::CCDirector **)this + 98); if ( v4 ) { v5 = cocos2d::CCDirector::sharedDirector(v4); v6 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 160LL))(v5); cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, *((cocos2d::CCObject **)this + 98)); v4 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 98) + 536LL))(*((_QWORD *)this + 98)); *((_QWORD *)this + 98) = 0; } v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4); cocos2d::CCDirector::getWinSize(&v16, v7); if ( a2 ) v8 = CustomListView::create(a2, 0, 0, 15, 100.0, 340.0, 0.0); else v8 = 0; v9 = GJCommentListLayer::create(v8, (__int64)"Comments", -12684609, 0, 340.0, 100.0); *((_QWORD *)this + 98) = v9; (*(void (__fastcall **)(_QWORD, cocos2d::CCLayerColor *))(**((_QWORD **)this + 73) + 456LL))( *((_QWORD *)this + 73), v9); v10 = *((_QWORD *)this + 98); v11 = *(__int64 (__fastcall **)(__int64, int *))(*(_QWORD *)v10 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v17, (float)(*(float *)&v16 - 340.0) * 0.5, (float)((float)(*((float *)&v16 + 1) - 100.0) * 0.5) + -53.0); v12 = (cocos2d::CCDirector *)v11(v10, &v17); v17 = 0; v13 = cocos2d::CCDirector::sharedDirector(v12); v14 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v13 + 160LL))(v13); if ( (unsigned __int8)cocos2d::CCTouchDispatcher::ownerLevelOf(v14, *((cocos2d::CCNode **)this + 98), &v17) ) cocos2d::CCMenu::giveMenuTouchPriority(*((cocos2d::CCMenu **)this + 69), v17 - 1); else cocos2d::CCMenu::giveMenuTouchPriority(*((cocos2d::CCMenu **)this + 69)); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source