{"type": "func", "start": 4297684032, "end": 4297684193, "name": "GJWriteMessagePopup::onClosePopup", "pseudocode": "// \n// GJWriteMessagePopup::onClosePopup from 0x100297440 to 0x1002974e1 (161 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b02ad0\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 12:27:51 +0000\n// \n\n__int64 __fastcall GJWriteMessagePopup::onClosePopup(_BYTE *a1, __int64 a2)\n{\n  __int64 result; // rax\n\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 1072LL))(a2, 0);\n  result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a2 + 528LL))(a2, 1);\n  if ( *((_QWORD *)a1 + 98) != a2 )\n  {\n    if ( a1[792] != 1 )\n      return result;\n    goto LABEL_3;\n  }\n  *((_QWORD *)a1 + 98) = 0;\n  if ( a1[792] == 1 )\n  {\nLABEL_3:\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)a1 + 88) + 1160LL))(*((_QWORD *)a1 + 88), 0);\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)a1 + 89) + 1160LL))(*((_QWORD *)a1 + 89), 0);\n    (*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);\n    return (*(__int64 (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1);\n  }\n  return result;\n}", "assembly": "; \n; GJWriteMessagePopup::onClosePopup from 0x100297440 to 0x1002974e1 (161 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b02ad0\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 12:27:51 +0000\n; \npush    rbp                                                            ; +0x0, 0x100297440\nmov     rbp, rsp                                                       ; +0x1, 0x100297441\npush    r14                                                            ; +0x4, 0x100297444\npush    rbx                                                            ; +0x6, 0x100297446\nmov     r14, rsi                                                       ; +0x7, 0x100297447\nmov     rbx, rdi                                                       ; +0xa, 0x10029744a\nmov     rax, [rsi]                                                     ; +0xd, 0x10029744d\nmov     rdi, rsi                                                       ; +0x10, 0x100297450\nxor     esi, esi                                                       ; +0x13, 0x100297453\ncall    qword ptr [rax+430h]                                           ; +0x15, 0x100297455\nmov     rax, [r14]                                                     ; +0x1b, 0x10029745b\nmov     rdi, r14                                                       ; +0x1e, 0x10029745e\nmov     esi, 1                                                         ; +0x21, 0x100297461\ncall    qword ptr [rax+210h]                                           ; +0x26, 0x100297466\ncmp     [rbx+310h], r14                                                ; +0x2c, 0x10029746c\njz      short loc_1002974C8                                            ; +0x33, 0x100297473\ncmp     byte ptr [rbx+318h], 1                                         ; +0x35, 0x100297475\njnz     short loc_1002974DC                                            ; +0x3c, 0x10029747c\nmov     rdi, [rbx+2C0h]                                                ; +0x3e, 0x10029747e\nmov     rax, [rdi]                                                     ; +0x45, 0x100297485\nxor     esi, esi                                                       ; +0x48, 0x100297488\ncall    qword ptr [rax+488h]                                           ; +0x4a, 0x10029748a\nmov     rdi, [rbx+2C8h]                                                ; +0x50, 0x100297490\nmov     rax, [rdi]                                                     ; +0x57, 0x100297497\nxor     esi, esi                                                       ; +0x5a, 0x10029749a\ncall    qword ptr [rax+488h]                                           ; +0x5c, 0x10029749c\nmov     rax, [rbx]                                                     ; +0x62, 0x1002974a2\nmov     rdi, rbx                                                       ; +0x65, 0x1002974a5\nxor     esi, esi                                                       ; +0x68, 0x1002974a8\ncall    qword ptr [rax+430h]                                           ; +0x6a, 0x1002974aa\nmov     rax, [rbx]                                                     ; +0x70, 0x1002974b0\nmov     rax, [rax+210h]                                                ; +0x73, 0x1002974b3\nmov     rdi, rbx                                                       ; +0x7a, 0x1002974ba\nmov     esi, 1                                                         ; +0x7d, 0x1002974bd\npop     rbx                                                            ; +0x82, 0x1002974c2\npop     r14                                                            ; +0x83, 0x1002974c3\npop     rbp                                                            ; +0x85, 0x1002974c5\njmp     rax                                                            ; +0x86, 0x1002974c6\nmov     qword ptr [rbx+310h], 0                                        ; +0x88, 0x1002974c8\ncmp     byte ptr [rbx+318h], 1                                         ; +0x93, 0x1002974d3\njz      short loc_10029747E                                            ; +0x9a, 0x1002974da\npop     rbx                                                            ; +0x9c, 0x1002974dc\npop     r14                                                            ; +0x9d, 0x1002974dd\npop     rbp                                                            ; +0x9f, 0x1002974df\nretn                                                                   ; +0xa0, 0x1002974e0", "xrefs": ["<???> @ 0x100b02ad0"], "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"}