{"type": "func", "start": 5370017392, "end": 5370017804, "name": "FRequestProfilePage::setupCommentsBrowser", "pseudocode": "// \n// FRequestProfilePage::setupCommentsBrowser from 0x14013f670 to 0x14013f80c (412 bytes)\n// \n// 3 xrefs:\n// > FRequestProfilePage::loadPage @ 0x14013f5ab\n// > FRequestProfilePage::loadFRequestsFinished @ 0x14013f842\n// > <???> @ 0x1406ca254\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid FRequestProfilePage::setupCommentsBrowser(FRequestProfilePage *a1, cocos2d::CCArray *a2)\n{\n  CustomListView *v2; // rbx\n  __int64 v5; // rax\n  cocos2d::CCTouchDispatcher *v6; // rax\n  cocos2d::CCDirector *v7; // rax\n  const char *v8; // rdx\n  BoomListType v9; // eax\n  GJCommentListLayer *v10; // rax\n  cocos2d::CCLayer *m_mainLayer; // rcx\n  GJCommentListLayer_vtbl *v12; // rbx\n  const cocos2d::CCPoint *v13; // rax\n  BoomListView *m_list; // rcx\n  cocos2d::CCMenu_vtbl *v15; // rbx\n  int v16; // eax\n  int v17; // [rsp+20h] [rbp-38h]\n  float v18; // [rsp+60h] [rbp+8h]\n  float v19; // [rsp+64h] [rbp+Ch]\n  cocos2d::CCPoint v20; // [rsp+68h] [rbp+10h] BYREF\n\n  v2 = nullptr;\n  if ( a1->m_listLayer )\n  {\n    v5 = cocos2d::CCDirector::sharedDirector(a1);\n    v6 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 144LL))(v5);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, a1->m_listLayer);\n    a1->m_listLayer->removeMeAndCleanup(a1->m_listLayer);\n    a1->m_listLayer = nullptr;\n  }\n  v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(a1);\n  cocos2d::CCDirector::getWinSize(v7);\n  if ( a2 )\n  {\n    v9 = User;\n    if ( !a1->m_sent )\n      v9 = Request;\n    v2 = CustomListView::create(a2, nullptr, 196.0, 340.0, v17, v9, 0.0);\n  }\n  v10 = GJCommentListLayer::create(v2, v8, (cocos2d::ccColor4B)-12684609, 340.0, 196.0, 0);\n  m_mainLayer = a1->m_mainLayer;\n  a1->m_listLayer = v10;\n  m_mainLayer->addChild_1(m_mainLayer, v10);\n  v12 = a1->m_listLayer->__vftable;\n  cocos2d::CCPoint::CCPoint(&v20, (float)(v18 - 340.0) * 0.5, (float)((float)((float)(v19 - 196.0) * 0.5) - 10.0) + 5.0);\n  v12->setPosition_0(a1->m_listLayer, v13);\n  m_list = a1->m_listLayer->m_list;\n  if ( m_list )\n  {\n    v15 = a1->m_buttonMenu->FLAlertLayer::__vftable;\n    v16 = m_list->getTouchPriority(m_list);\n    v15->setTouchPriority(a1->m_buttonMenu, v16 - 2);\n  }\n}", "assembly": "; \n; FRequestProfilePage::setupCommentsBrowser from 0x14013f670 to 0x14013f80c (412 bytes)\n; \n; 3 xrefs:\n; > FRequestProfilePage::loadPage @ 0x14013f5ab\n; > FRequestProfilePage::loadFRequestsFinished @ 0x14013f842\n; > <???> @ 0x1406ca254\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x14013f670\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x14013f675\npush    rdi                                                            ; +0xa, 0x14013f67a\nsub     rsp, 50h                                                       ; +0xb, 0x14013f67b\nxor     ebx, ebx                                                       ; +0xf, 0x14013f67f\nmovaps  [rsp+58h+var_18], xmm7                                         ; +0x11, 0x14013f681\nmov     rsi, rdx                                                       ; +0x16, 0x14013f686\nmov     rdi, rcx                                                       ; +0x19, 0x14013f689\ncmp     [rcx+2D0h], rbx                                                ; +0x1c, 0x14013f68c\njz      short loc_14013F6CF                                            ; +0x23, 0x14013f693\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x25, 0x14013f695\nmov     rcx, rax                                                       ; +0x2b, 0x14013f69b\nmov     r8, [rax]                                                      ; +0x2e, 0x14013f69e\ncall    qword ptr [r8+90h]                                             ; +0x31, 0x14013f6a1\nmov     rdx, [rdi+2D0h]                                                ; +0x38, 0x14013f6a8\nmov     rcx, rax                                                       ; +0x3f, 0x14013f6af\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x42, 0x14013f6b2\nmov     rcx, [rdi+2D0h]                                                ; +0x48, 0x14013f6b8\nmov     rax, [rcx]                                                     ; +0x4f, 0x14013f6bf\ncall    qword ptr [rax+200h]                                           ; +0x52, 0x14013f6c2\nmov     [rdi+2D0h], rbx                                                ; +0x58, 0x14013f6c8\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x5f, 0x14013f6cf\nmov     rcx, rax                                                       ; +0x65, 0x14013f6d5\nlea     rdx, [rsp+58h+arg_0]                                           ; +0x68, 0x14013f6d8\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x6d, 0x14013f6dd\nmovss   xmm7, cs:dword_1406233CC                                       ; +0x73, 0x14013f6e3\ntest    rsi, rsi                                                       ; +0x7b, 0x14013f6eb\njz      short loc_14013F728                                            ; +0x7e, 0x14013f6ee\ncmp     [rdi+298h], bl                                                 ; +0x80, 0x14013f6f0\nmov     eax, 2                                                         ; +0x86, 0x14013f6f6\nmovss   xmm3, cs:dword_140623460                                       ; +0x8b, 0x14013f6fb\nmov     ecx, 12h                                                       ; +0x93, 0x14013f703\ncmovz   eax, ecx                                                       ; +0x98, 0x14013f708\nxorps   xmm0, xmm0                                                     ; +0x9b, 0x14013f70b\nmovss   [rsp+58h+var_28], xmm0                                         ; +0x9e, 0x14013f70e\nxor     edx, edx                                                       ; +0xa4, 0x14013f714\nmov     rcx, rsi                                                       ; +0xa6, 0x14013f716\nmov     [rsp+58h+var_30], eax                                          ; +0xa9, 0x14013f719\nmovaps  xmm2, xmm7                                                     ; +0xad, 0x14013f71d\ncall    CustomListView__create                                         ; +0xb0, 0x14013f720\nmov     rbx, rax                                                       ; +0xb5, 0x14013f725\nmovss   xmm3, cs:dword_140623460                                       ; +0xb8, 0x14013f728\nmov     r8d, 0FF3E72BFh                                                ; +0xc0, 0x14013f730\nmov     byte ptr [rsp+58h+var_30], 0                                   ; +0xc6, 0x14013f736\nmov     rcx, rbx                                                       ; +0xcb, 0x14013f73b\nmovss   [rsp+58h+var_38], xmm7                                         ; +0xce, 0x14013f73e\ncall    GJCommentListLayer__create                                     ; +0xd4, 0x14013f744\nmov     rcx, [rdi+240h]                                                ; +0xd9, 0x14013f749\nmov     rdx, rax                                                       ; +0xe0, 0x14013f750\nmov     [rdi+2D0h], rax                                                ; +0xe3, 0x14013f753\nmov     r8, [rcx]                                                      ; +0xea, 0x14013f75a\ncall    qword ptr [r8+1C0h]                                            ; +0xed, 0x14013f75d\nmovss   xmm2, [rsp+58h+arg_4]                                          ; +0xf4, 0x14013f764\nlea     rcx, [rsp+58h+arg_8]                                           ; +0xfa, 0x14013f76a\nmovss   xmm1, [rsp+58h+arg_0]                                          ; +0xff, 0x14013f76f\nsubss   xmm2, xmm7                                                     ; +0x105, 0x14013f775\nsubss   xmm1, cs:dword_140623460                                       ; +0x109, 0x14013f779\nmov     rax, [rdi+2D0h]                                                ; +0x111, 0x14013f781\nmulss   xmm2, cs:dword_140622B08                                       ; +0x118, 0x14013f788\nmov     rbx, [rax]                                                     ; +0x120, 0x14013f790\nmulss   xmm1, cs:dword_140622B08                                       ; +0x123, 0x14013f793\nsubss   xmm2, cs:flt_14062307C                                         ; +0x12b, 0x14013f79b\naddss   xmm2, cs:flt_140623010                                         ; +0x133, 0x14013f7a3\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x13b, 0x14013f7ab\nmov     rcx, [rdi+2D0h]                                                ; +0x141, 0x14013f7b1\nmov     rdx, rax                                                       ; +0x148, 0x14013f7b8\ncall    qword ptr [rbx+0B8h]                                           ; +0x14b, 0x14013f7bb\nmov     rax, [rdi+2D0h]                                                ; +0x151, 0x14013f7c1\nmov     rcx, [rax+220h]                                                ; +0x158, 0x14013f7c8\ntest    rcx, rcx                                                       ; +0x15f, 0x14013f7cf\njz      short loc_14013F7F7                                            ; +0x162, 0x14013f7d2\nmov     rax, [rdi+220h]                                                ; +0x164, 0x14013f7d4\nmov     rbx, [rax]                                                     ; +0x16b, 0x14013f7db\nmov     rax, [rcx]                                                     ; +0x16e, 0x14013f7de\ncall    qword ptr [rax+3A8h]                                           ; +0x171, 0x14013f7e1\nmov     rcx, [rdi+220h]                                                ; +0x177, 0x14013f7e7\nlea     edx, [rax-2]                                                   ; +0x17e, 0x14013f7ee\ncall    qword ptr [rbx+3A0h]                                           ; +0x181, 0x14013f7f1\nmov     rbx, [rsp+58h+arg_10]                                          ; +0x187, 0x14013f7f7\nmov     rsi, [rsp+58h+arg_18]                                          ; +0x18c, 0x14013f7fc\nmovaps  xmm7, [rsp+58h+var_18]                                         ; +0x191, 0x14013f801\nadd     rsp, 50h                                                       ; +0x196, 0x14013f806\npop     rdi                                                            ; +0x19a, 0x14013f80a\nretn                                                                   ; +0x19b, 0x14013f80b", "xrefs": ["FRequestProfilePage::loadPage @ 0x14013f5ab", "FRequestProfilePage::loadFRequestsFinished @ 0x14013f842", "<???> @ 0x1406ca254"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}