{"type": "func", "start": 5373397168, "end": 5373397560, "name": "NotificationsPage::setupBrowser", "pseudocode": "// \n// NotificationsPage::setupBrowser from 0x1404788b0 to 0x140478a38 (392 bytes)\n// \n// 4 xrefs:\n// > NotificationsPage::loadPage @ 0x140478839\n// > NotificationsPage::loadNotificationsFinished @ 0x140478acc\n// > NotificationsPage::loadNotificationsFinished @ 0x140478ad7\n// > <???> @ 0x140928514\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:32:41 +0000\n// \n\n__int64 __fastcall NotificationsPage::setupBrowser(_QWORD *a1, cocos2d::CCObject *a2)\n{\n  int v2; // ebp\n  __int64 v5; // rax\n  struct cocos2d::CCObject *v6; // rbx\n  cocos2d::CCTouchDispatcher *v7; // rax\n  __int64 v8; // rax\n  int v9; // edx\n  cocos2d::CCLayerColor *v10; // rax\n  __int64 v11; // rcx\n  __int64 *v12; // rdi\n  __int64 v13; // rbx\n  __int64 v14; // rax\n  __int64 result; // rax\n  __int64 v16; // rcx\n  __int64 *v17; // rdi\n  __int64 v18; // rbx\n  int v19; // eax\n  __int64 v20; // [rsp+20h] [rbp-48h]\n  int v21; // [rsp+30h] [rbp-38h]\n  float v22; // [rsp+70h] [rbp+8h] BYREF\n  float v23; // [rsp+74h] [rbp+Ch]\n  char v24; // [rsp+78h] [rbp+10h] BYREF\n\n  v2 = 0;\n  if ( a1[86] )\n  {\n    v5 = cocos2d::CCDirector::sharedDirector(a1);\n    v6 = (struct cocos2d::CCObject *)a1[86];\n    v7 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 144LL))(v5);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v7, v6);\n    (*(void (__fastcall **)(_QWORD))(*(_QWORD *)a1[86] + 528LL))(a1[86]);\n    a1[86] = 0;\n  }\n  v8 = cocos2d::CCDirector::sharedDirector(a1);\n  cocos2d::CCDirector::getWinSize(v8, &v22);\n  if ( a2 )\n  {\n    v21 = 0;\n    v2 = (unsigned int)CustomListView::create(a2, 0, 196.0, 340.0, v20, 40);\n  }\n  v10 = GJCommentListLayer::create(v2, v9, -12684609, 340.0, 1128529920, 0, v21);\n  v11 = a1[73];\n  a1[86] = v10;\n  (*(void (__fastcall **)(__int64, cocos2d::CCLayerColor *))(*(_QWORD *)v11 + 464LL))(v11, v10);\n  v12 = (__int64 *)a1[86];\n  v13 = *v12;\n  cocos2d::CCPoint::CCPoint(\n    (cocos2d::CCPoint *)&v24,\n    (float)(v22 - 340.0) * 0.5,\n    (float)((float)((float)(v23 - 196.0) * 0.5) - 10.0) + 5.0);\n  (*(void (__fastcall **)(__int64 *, __int64))(v13 + 184))(v12, v14);\n  result = a1[86];\n  v16 = *(_QWORD *)(result + 544);\n  if ( v16 )\n  {\n    v17 = (__int64 *)a1[69];\n    v18 = *v17;\n    v19 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v16 + 952LL))(v16);\n    return (*(__int64 (__fastcall **)(__int64 *, _QWORD))(v18 + 944))(v17, (unsigned int)(v19 - 2));\n  }\n  return result;\n}", "assembly": "; \n; NotificationsPage::setupBrowser from 0x1404788b0 to 0x140478a38 (392 bytes)\n; \n; 4 xrefs:\n; > NotificationsPage::loadPage @ 0x140478839\n; > NotificationsPage::loadNotificationsFinished @ 0x140478acc\n; > NotificationsPage::loadNotificationsFinished @ 0x140478ad7\n; > <???> @ 0x140928514\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:32:41 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1404788b0\npush    rbp                                                            ; +0x5, 0x1404788b5\npush    rsi                                                            ; +0x6, 0x1404788b6\npush    rdi                                                            ; +0x7, 0x1404788b7\nsub     rsp, 50h                                                       ; +0x8, 0x1404788b8\nxor     ebp, ebp                                                       ; +0xc, 0x1404788bc\nmovaps  [rsp+68h+var_28], xmm7                                         ; +0xe, 0x1404788be\nmov     rdi, rdx                                                       ; +0x13, 0x1404788c3\nmov     rsi, rcx                                                       ; +0x16, 0x1404788c6\ncmp     [rcx+2B0h], rbp                                                ; +0x19, 0x1404788c9\njz      short loc_14047890F                                            ; +0x20, 0x1404788d0\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x22, 0x1404788d2\nmov     rbx, [rsi+2B0h]                                                ; +0x28, 0x1404788d8\nmov     rcx, rax                                                       ; +0x2f, 0x1404788df\nmov     r8, [rax]                                                      ; +0x32, 0x1404788e2\ncall    qword ptr [r8+90h]                                             ; +0x35, 0x1404788e5\nmov     rcx, rax                                                       ; +0x3c, 0x1404788ec\nmov     rdx, rbx                                                       ; +0x3f, 0x1404788ef\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x42, 0x1404788f2\nmov     rcx, [rsi+2B0h]                                                ; +0x48, 0x1404788f8\nmov     rax, [rcx]                                                     ; +0x4f, 0x1404788ff\ncall    qword ptr [rax+210h]                                           ; +0x52, 0x140478902\nmov     [rsi+2B0h], rbp                                                ; +0x58, 0x140478908\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x5f, 0x14047890f\nmov     rcx, rax                                                       ; +0x65, 0x140478915\nlea     rdx, [rsp+68h+arg_0]                                           ; +0x68, 0x140478918\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x6d, 0x14047891d\nmovss   xmm7, cs:dword_1408358EC                                       ; +0x73, 0x140478923\ntest    rdi, rdi                                                       ; +0x7b, 0x14047892b\njz      short loc_140478959                                            ; +0x7e, 0x14047892e\nmovss   xmm3, cs:dword_1408359D4                                       ; +0x80, 0x140478930\nxorps   xmm0, xmm0                                                     ; +0x88, 0x140478938\nmovss   [rsp+68h+var_38], xmm0                                         ; +0x8b, 0x14047893b\nmovaps  xmm2, xmm7                                                     ; +0x91, 0x140478941\nxor     edx, edx                                                       ; +0x94, 0x140478944\nmov     [rsp+68h+var_40], 28h ; '('                                    ; +0x96, 0x140478946\nmov     rcx, rdi                                                       ; +0x9e, 0x14047894e\ncall    CustomListView__create                                         ; +0xa1, 0x140478951\nmov     rbp, rax                                                       ; +0xa6, 0x140478956\nmovss   xmm3, cs:dword_1408359D4                                       ; +0xa9, 0x140478959\nmov     r8d, 0FF3E72BFh                                                ; +0xb1, 0x140478961\nmov     byte ptr [rsp+68h+var_40], 0                                   ; +0xb7, 0x140478967\nmov     rcx, rbp                                                       ; +0xbc, 0x14047896c\nmovss   dword ptr [rsp+68h+var_48], xmm7                               ; +0xbf, 0x14047896f\ncall    GJCommentListLayer__create                                     ; +0xc5, 0x140478975\nmov     rcx, [rsi+248h]                                                ; +0xca, 0x14047897a\nmov     [rsi+2B0h], rax                                                ; +0xd1, 0x140478981\nmov     rdx, [rcx]                                                     ; +0xd8, 0x140478988\nmov     r8, [rdx+1D0h]                                                 ; +0xdb, 0x14047898b\nmov     rdx, rax                                                       ; +0xe2, 0x140478992\ncall    r8                                                             ; +0xe5, 0x140478995\nmovss   xmm2, [rsp+68h+arg_4]                                          ; +0xe8, 0x140478998\nlea     rcx, [rsp+68h+arg_8]                                           ; +0xee, 0x14047899e\nmovss   xmm1, [rsp+68h+arg_0]                                          ; +0xf3, 0x1404789a3\nsubss   xmm2, xmm7                                                     ; +0xf9, 0x1404789a9\nsubss   xmm1, cs:dword_1408359D4                                       ; +0xfd, 0x1404789ad\nmov     rdi, [rsi+2B0h]                                                ; +0x105, 0x1404789b5\nmulss   xmm2, cs:dword_140834F20                                       ; +0x10c, 0x1404789bc\nmov     rbx, [rdi]                                                     ; +0x114, 0x1404789c4\nmulss   xmm1, cs:dword_140834F20                                       ; +0x117, 0x1404789c7\nsubss   xmm2, cs:flt_1408354EC                                         ; +0x11f, 0x1404789cf\naddss   xmm2, cs:flt_140835470                                         ; +0x127, 0x1404789d7\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x12f, 0x1404789df\nmov     rdx, rax                                                       ; +0x135, 0x1404789e5\nmov     rcx, rdi                                                       ; +0x138, 0x1404789e8\ncall    qword ptr [rbx+0B8h]                                           ; +0x13b, 0x1404789eb\nmov     rax, [rsi+2B0h]                                                ; +0x141, 0x1404789f1\nmov     rcx, [rax+220h]                                                ; +0x148, 0x1404789f8\ntest    rcx, rcx                                                       ; +0x14f, 0x1404789ff\njz      short loc_140478A23                                            ; +0x152, 0x140478a02\nmov     rdi, [rsi+228h]                                                ; +0x154, 0x140478a04\nmov     rax, [rcx]                                                     ; +0x15b, 0x140478a0b\nmov     rbx, [rdi]                                                     ; +0x15e, 0x140478a0e\ncall    qword ptr [rax+3B8h]                                           ; +0x161, 0x140478a11\nmov     rcx, rdi                                                       ; +0x167, 0x140478a17\nlea     edx, [rax-2]                                                   ; +0x16a, 0x140478a1a\ncall    qword ptr [rbx+3B0h]                                           ; +0x16d, 0x140478a1d\nmov     rbx, [rsp+68h+arg_10]                                          ; +0x173, 0x140478a23\nmovaps  xmm7, [rsp+68h+var_28]                                         ; +0x17b, 0x140478a2b\nadd     rsp, 50h                                                       ; +0x180, 0x140478a30\npop     rdi                                                            ; +0x184, 0x140478a34\npop     rsi                                                            ; +0x185, 0x140478a35\npop     rbp                                                            ; +0x186, 0x140478a36\nretn                                                                   ; +0x187, 0x140478a37", "xrefs": ["NotificationsPage::loadPage @ 0x140478839", "NotificationsPage::loadNotificationsFinished @ 0x140478acc", "NotificationsPage::loadNotificationsFinished @ 0x140478ad7", "<???> @ 0x140928514"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}