{"type": "func", "start": 5369907984, "end": 5369908092, "name": "EmotePickerPopup::onClose", "pseudocode": "// \n// EmotePickerPopup::onClose from 0x140124b10 to 0x140124b7c (108 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140732c58\n// > <???> @ 0x140916934\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:26:57 +0000\n// \n\n__int64 __fastcall EmotePickerPopup::onClose(__int64 a1, __int64 a2)\n{\n  __int64 v4; // rcx\n  __int64 v5; // rax\n  void (__fastcall ***v6)(_QWORD, __int64); // rcx\n\n  v4 = *(_QWORD *)(a1 + 1152);\n  if ( v4 )\n  {\n    v5 = a1 + 544;\n    if ( !a1 )\n      v5 = 0;\n    if ( *(_QWORD *)(v4 + 512) == v5 )\n      *(_QWORD *)(v4 + 512) = 0;\n  }\n  v6 = *(void (__fastcall ****)(_QWORD, __int64))(a1 + 1168);\n  if ( v6 )\n  {\n    *(_QWORD *)(a1 + 1168) = 0;\n    (**v6)(v6, a1);\n  }\n  return EditorWindowPopup::onClose(a1, a2);\n}", "assembly": "; \n; EmotePickerPopup::onClose from 0x140124b10 to 0x140124b7c (108 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140732c58\n; > <???> @ 0x140916934\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:26:57 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140124b10\npush    rdi                                                            ; +0x5, 0x140124b15\nsub     rsp, 20h                                                       ; +0x6, 0x140124b16\nmov     rdi, rdx                                                       ; +0xa, 0x140124b1a\nmov     rbx, rcx                                                       ; +0xd, 0x140124b1d\nmov     rcx, [rcx+480h]                                                ; +0x10, 0x140124b20\nxor     edx, edx                                                       ; +0x17, 0x140124b27\ntest    rcx, rcx                                                       ; +0x19, 0x140124b29\njz      short loc_140124B4C                                            ; +0x1c, 0x140124b2c\ntest    rbx, rbx                                                       ; +0x1e, 0x140124b2e\nlea     rax, [rbx+220h]                                                ; +0x21, 0x140124b31\ncmovz   rax, rdx                                                       ; +0x28, 0x140124b38\ncmp     [rcx+200h], rax                                                ; +0x2c, 0x140124b3c\njnz     short loc_140124B4C                                            ; +0x33, 0x140124b43\nmov     [rcx+200h], rdx                                                ; +0x35, 0x140124b45\nmov     rcx, [rbx+490h]                                                ; +0x3c, 0x140124b4c\ntest    rcx, rcx                                                       ; +0x43, 0x140124b53\njz      short loc_140124B67                                            ; +0x46, 0x140124b56\nmov     [rbx+490h], rdx                                                ; +0x48, 0x140124b58\nmov     rdx, rbx                                                       ; +0x4f, 0x140124b5f\nmov     rax, [rcx]                                                     ; +0x52, 0x140124b62\ncall    qword ptr [rax]                                                ; +0x55, 0x140124b65\nmov     rdx, rdi                                                       ; +0x57, 0x140124b67\nmov     rcx, rbx                                                       ; +0x5a, 0x140124b6a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5d, 0x140124b6d\nadd     rsp, 20h                                                       ; +0x62, 0x140124b72\npop     rdi                                                            ; +0x66, 0x140124b76\njmp     EditorWindowPopup__onClose                                     ; +0x67, 0x140124b77", "xrefs": ["<???> @ 0x140732c58", "<???> @ 0x140916934"], "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"}