// // ProfilePage::setupCommentsBrowser from 0x10089f0c0 to 0x10089f23c (380 bytes) // // 10 xrefs: // > ProfilePage::init @ 0x10089e618 // > ProfilePage::init @ 0x10089e663 // > ProfilePage::init @ 0x10089e683 // > ProfilePage::onUpdate @ 0x10089f084 // > ProfilePage::updateUserScoreFinished @ 0x1008a5e95 // > ProfilePage::loadPage @ 0x1008a6a05 // > ProfilePage::userInfoChanged @ 0x1008a6d0f // > sub_1008A6D50 @ 0x1008a6d89 // > ProfilePage::loadCommentsFinished @ 0x1008a6f0f // > sub_1008A6F60 @ 0x1008a6f8c // // This function is hookable on this platform (idp: pc, 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 12:37:10 +0000 // __int64 __fastcall ProfilePage::setupCommentsBrowser(__int64 a1, __int64 a2) { __int64 v3; // rax __int64 v4; // rax __int64 v5; // rax char *v6; // rdi _QWORD *v7; // rax __int64 v8; // r14 __int64 v9; // rax __int64 *v10; // rax char v11; // al __int64 v12; // rdi __int64 v14; // [rsp+8h] [rbp-28h] BYREF float v15[8]; // [rsp+10h] [rbp-20h] BYREF if ( *(_QWORD *)(a1 + 784) ) { v3 = cocos2d::CCDirector::sharedDirector(); v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 160LL))(v3); cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, *(_QWORD *)(a1 + 784)); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 784) + 536LL))(*(_QWORD *)(a1 + 784)); *(_QWORD *)(a1 + 784) = 0; } v5 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v14, v5); if ( a2 ) v6 = CustomListView::create(a2, 0, 0, 0xFu, 100.0, 340.0, 0.0); else v6 = nullptr; v7 = GJCommentListLayer::create((__int64)v6, 340.0, 100.0, (__int64)"Comments", 0xFF3E72BF, 0); *(_QWORD *)(a1 + 784) = v7; (*(void (__fastcall **)(_QWORD, _QWORD *))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v7); v8 = *(_QWORD *)(a1 + 784); sub_100278250( v15, (float)(*(float *)&v14 + -340.0) * 0.5, (float)((float)(*((float *)&v14 + 1) + -100.0) * 0.5) + -53.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v8 + 184LL))(v8, v15); v15[0] = 0.0; v9 = cocos2d::CCDirector::sharedDirector(); v10 = (__int64 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 160LL))(v9); v11 = sub_1004C74E0(v10, *(unsigned int **)(a1 + 784), v15); v12 = *(_QWORD *)(a1 + 552); if ( v11 ) return cocos2d::CCMenu::giveMenuTouchPriority(v12, LODWORD(v15[0]) - 1); else return sub_100873B40(v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source