{"type": "func", "start": 5370894272, "end": 5370894386, "name": "FriendsProfilePage::onSendMessage", "pseudocode": "// \n// FriendsProfilePage::onSendMessage from 0x1402157c0 to 0x140215832 (114 bytes)\n// \n// 2 xrefs:\n// > FriendsProfilePage::mountVirtualRow @ 0x140214a6d\n// > <???> @ 0x14091b6d4\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:28:20 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall FriendsProfilePage::onSendMessage(__int64 a1, __int64 a2)\n{\n  __int64 v2; // rax\n  __int64 v3; // rbx\n  _BYTE v4[32]; // [rsp+28h] [rbp-30h] BYREF\n\n  v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 632LL))(a2);\n  v3 = v2;\n  if ( v2 )\n  {\n    if ( *(int *)(v2 + 392) > 0 )\n    {\n      sub_14003F4F0((__int64)v4, v2 + 320);\n      ThreadOpenHelper::check(*(_DWORD *)(v3 + 392), (__int64)v4);\n      sub_14003D310((__int64)v4);\n    }\n  }\n}", "assembly": "; \n; FriendsProfilePage::onSendMessage from 0x1402157c0 to 0x140215832 (114 bytes)\n; \n; 2 xrefs:\n; > FriendsProfilePage::mountVirtualRow @ 0x140214a6d\n; > <???> @ 0x14091b6d4\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:28:20 +0000\n; \npush    rbx                                                            ; +0x0, 0x1402157c0\nsub     rsp, 50h                                                       ; +0x2, 0x1402157c2\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x1402157c6\nxor     rax, rsp                                                       ; +0xd, 0x1402157cd\nmov     [rsp+58h+var_10], rax                                          ; +0x10, 0x1402157d0\nmov     rax, [rdx]                                                     ; +0x15, 0x1402157d5\nmov     rcx, rdx                                                       ; +0x18, 0x1402157d8\ncall    qword ptr [rax+278h]                                           ; +0x1b, 0x1402157db\nmov     rbx, rax                                                       ; +0x21, 0x1402157e1\ntest    rax, rax                                                       ; +0x24, 0x1402157e4\njz      short loc_14021581F                                            ; +0x27, 0x1402157e7\ncmp     dword ptr [rax+188h], 0                                        ; +0x29, 0x1402157e9\njle     short loc_14021581F                                            ; +0x30, 0x1402157f0\nlea     rdx, [rax+140h]                                                ; +0x32, 0x1402157f2\nlea     rcx, [rsp+58h+var_30]                                          ; +0x39, 0x1402157f9\ncall    sub_14003F4F0                                                  ; +0x3e, 0x1402157fe\nnop                                                                    ; +0x43, 0x140215803\nlea     rdx, [rsp+58h+var_30]                                          ; +0x44, 0x140215804\nmov     ecx, [rbx+188h]                                                ; +0x49, 0x140215809\ncall    ThreadOpenHelper__check                                        ; +0x4f, 0x14021580f\nnop                                                                    ; +0x54, 0x140215814\nlea     rcx, [rsp+58h+var_30]                                          ; +0x55, 0x140215815\ncall    sub_14003D310                                                  ; +0x5a, 0x14021581a\nmov     rcx, [rsp+58h+var_10]                                          ; +0x5f, 0x14021581f\nxor     rcx, rsp; StackCookie                                          ; +0x64, 0x140215824\ncall    __security_check_cookie                                        ; +0x67, 0x140215827\nadd     rsp, 50h                                                       ; +0x6c, 0x14021582c\npop     rbx                                                            ; +0x70, 0x140215830\nretn                                                                   ; +0x71, 0x140215831", "xrefs": ["FriendsProfilePage::mountVirtualRow @ 0x140214a6d", "<???> @ 0x14091b6d4"], "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"}