{"type": "func", "start": 5372530256, "end": 5372530375, "name": "GJMessagePopup::onClosePopup", "pseudocode": "// \n// GJMessagePopup::onClosePopup from 0x1403a4e50 to 0x1403a4ec7 (119 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14077c288\n// > <???> @ 0x140923720\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:31:18 +0000\n// \n\n__int64 __fastcall GJMessagePopup::onClosePopup(__int64 a1, __int64 a2)\n{\n  __int64 v4; // rdx\n  __int64 result; // rax\n  bool v6; // zf\n  __int64 v7; // rdx\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 + 64) )\n  {\n    v6 = *(_BYTE *)(a1 + 24) == 0;\n    *(_QWORD *)(a1 + 64) = 0;\n    if ( !v6 )\n    {\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 672) + 992LL))(a1 - 672, 0);\n      LOBYTE(v7) = 1;\n      return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)(a1 - 672) + 520LL))(a1 - 672, v7);\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJMessagePopup::onClosePopup from 0x1403a4e50 to 0x1403a4ec7 (119 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14077c288\n; > <???> @ 0x140923720\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:31:18 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403a4e50\npush    rdi                                                            ; +0x5, 0x1403a4e55\nsub     rsp, 20h                                                       ; +0x6, 0x1403a4e56\nmov     rax, [rdx]                                                     ; +0xa, 0x1403a4e5a\nmov     rbx, rdx                                                       ; +0xd, 0x1403a4e5d\nmov     rdi, rcx                                                       ; +0x10, 0x1403a4e60\nxor     edx, edx                                                       ; +0x13, 0x1403a4e63\nmov     rcx, rbx                                                       ; +0x15, 0x1403a4e65\ncall    qword ptr [rax+3E0h]                                           ; +0x18, 0x1403a4e68\nmov     rax, [rbx]                                                     ; +0x1e, 0x1403a4e6e\nmov     dl, 1                                                          ; +0x21, 0x1403a4e71\nmov     rcx, rbx                                                       ; +0x23, 0x1403a4e73\ncall    qword ptr [rax+208h]                                           ; +0x26, 0x1403a4e76\ncmp     rbx, [rdi+40h]                                                 ; +0x2c, 0x1403a4e7c\njnz     short loc_1403A4EBC                                            ; +0x30, 0x1403a4e80\ncmp     byte ptr [rdi+18h], 0                                          ; +0x32, 0x1403a4e82\nmov     qword ptr [rdi+40h], 0                                         ; +0x36, 0x1403a4e86\njz      short loc_1403A4EBC                                            ; +0x3e, 0x1403a4e8e\nmov     rax, [rdi-2A0h]                                                ; +0x40, 0x1403a4e90\nlea     rcx, [rdi-2A0h]                                                ; +0x47, 0x1403a4e97\nxor     edx, edx                                                       ; +0x4e, 0x1403a4e9e\ncall    qword ptr [rax+3E0h]                                           ; +0x50, 0x1403a4ea0\nmov     rax, [rdi-2A0h]                                                ; +0x56, 0x1403a4ea6\nlea     rcx, [rdi-2A0h]                                                ; +0x5d, 0x1403a4ead\nmov     dl, 1                                                          ; +0x64, 0x1403a4eb4\ncall    qword ptr [rax+208h]                                           ; +0x66, 0x1403a4eb6\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x6c, 0x1403a4ebc\nadd     rsp, 20h                                                       ; +0x71, 0x1403a4ec1\npop     rdi                                                            ; +0x75, 0x1403a4ec5\nretn                                                                   ; +0x76, 0x1403a4ec6", "xrefs": ["<???> @ 0x14077c288", "<???> @ 0x140923720"], "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"}