{"type": "func", "start": 5373390016, "end": 5373390085, "name": "MessagesProfilePage::onClosePopup", "pseudocode": "// \n// MessagesProfilePage::onClosePopup from 0x140476cc0 to 0x140476d05 (69 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407b4fc0\n// > <???> @ 0x140928418\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 MessagesProfilePage::onClosePopup(__int64 a1, __int64 a2)\n{\n  __int64 v4; // rdx\n  __int64 result; // rax\n\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 992LL))(a2, 0);\n  LOBYTE(v4) = 1;\n  result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a2 + 520LL))(a2, v4);\n  if ( a2 == *(_QWORD *)(a1 + 88) )\n    *(_QWORD *)(a1 + 88) = 0;\n  return result;\n}", "assembly": "; \n; MessagesProfilePage::onClosePopup from 0x140476cc0 to 0x140476d05 (69 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407b4fc0\n; > <???> @ 0x140928418\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_0], rbx                                               ; +0x0, 0x140476cc0\npush    rdi                                                            ; +0x5, 0x140476cc5\nsub     rsp, 20h                                                       ; +0x6, 0x140476cc6\nmov     rax, [rdx]                                                     ; +0xa, 0x140476cca\nmov     rbx, rdx                                                       ; +0xd, 0x140476ccd\nmov     rdi, rcx                                                       ; +0x10, 0x140476cd0\nxor     edx, edx                                                       ; +0x13, 0x140476cd3\nmov     rcx, rbx                                                       ; +0x15, 0x140476cd5\ncall    qword ptr [rax+3E0h]                                           ; +0x18, 0x140476cd8\nmov     rax, [rbx]                                                     ; +0x1e, 0x140476cde\nmov     dl, 1                                                          ; +0x21, 0x140476ce1\nmov     rcx, rbx                                                       ; +0x23, 0x140476ce3\ncall    qword ptr [rax+208h]                                           ; +0x26, 0x140476ce6\ncmp     rbx, [rdi+58h]                                                 ; +0x2c, 0x140476cec\njnz     short loc_140476CFA                                            ; +0x30, 0x140476cf0\nmov     qword ptr [rdi+58h], 0                                         ; +0x32, 0x140476cf2\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3a, 0x140476cfa\nadd     rsp, 20h                                                       ; +0x3f, 0x140476cff\npop     rdi                                                            ; +0x43, 0x140476d03\nretn                                                                   ; +0x44, 0x140476d04", "xrefs": ["<???> @ 0x1407b4fc0", "<???> @ 0x140928418"], "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"}