{"type": "func", "start": 4298839200, "end": 4298839333, "name": "DialogLayer::onClose", "pseudocode": "// \n// DialogLayer::onClose from 0x1003b14a0 to 0x1003b1525 (133 bytes)\n// \n// 0 xrefs:\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:29:26 +0000\n// \n\n__int64 __fastcall DialogLayer::onClose(_QWORD *a1)\n{\n  void (__fastcall ***v2)(_QWORD, _QWORD *); // rdi\n  __int64 v3; // rax\n  __int64 result; // rax\n\n  v2 = (void (__fastcall ***)(_QWORD, _QWORD *))a1[78];\n  if ( v2 )\n    (**v2)(v2, a1);\n  a1[78] = 0;\n  v3 = a1[72];\n  if ( v3 )\n    *(_QWORD *)(v3 + 696) = 0;\n  (*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1072LL))(a1, 0);\n  result = (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1088LL))(a1, 0);\n  if ( !*((_BYTE *)a1 + 640) )\n    return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 528LL))(a1, 1);\n  return result;\n}", "assembly": "; \n; DialogLayer::onClose from 0x1003b14a0 to 0x1003b1525 (133 bytes)\n; \n; 0 xrefs:\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:29:26 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003b14a0\nmov     rbp, rsp                                                       ; +0x1, 0x1003b14a1\npush    rbx                                                            ; +0x4, 0x1003b14a4\npush    rax                                                            ; +0x5, 0x1003b14a5\nmov     rbx, rdi                                                       ; +0x6, 0x1003b14a6\nmov     rdi, [rdi+270h]                                                ; +0x9, 0x1003b14a9\ntest    rdi, rdi                                                       ; +0x10, 0x1003b14b0\njz      short loc_1003B14BD                                            ; +0x13, 0x1003b14b3\nmov     rax, [rdi]                                                     ; +0x15, 0x1003b14b5\nmov     rsi, rbx                                                       ; +0x18, 0x1003b14b8\ncall    qword ptr [rax]                                                ; +0x1b, 0x1003b14bb\nmov     qword ptr [rbx+270h], 0                                        ; +0x1d, 0x1003b14bd\nmov     rax, [rbx+240h]                                                ; +0x28, 0x1003b14c8\ntest    rax, rax                                                       ; +0x2f, 0x1003b14cf\njz      short loc_1003B14DF                                            ; +0x32, 0x1003b14d2\nmov     qword ptr [rax+2B8h], 0                                        ; +0x34, 0x1003b14d4\nmov     rax, [rbx]                                                     ; +0x3f, 0x1003b14df\nmov     rdi, rbx                                                       ; +0x42, 0x1003b14e2\nxor     esi, esi                                                       ; +0x45, 0x1003b14e5\ncall    qword ptr [rax+430h]                                           ; +0x47, 0x1003b14e7\nmov     rax, [rbx]                                                     ; +0x4d, 0x1003b14ed\nmov     rdi, rbx                                                       ; +0x50, 0x1003b14f0\nxor     esi, esi                                                       ; +0x53, 0x1003b14f3\ncall    qword ptr [rax+440h]                                           ; +0x55, 0x1003b14f5\ncmp     byte ptr [rbx+280h], 0                                         ; +0x5b, 0x1003b14fb\njz      short loc_1003B150B                                            ; +0x62, 0x1003b1502\nadd     rsp, 8                                                         ; +0x64, 0x1003b1504\npop     rbx                                                            ; +0x68, 0x1003b1508\npop     rbp                                                            ; +0x69, 0x1003b1509\nretn                                                                   ; +0x6a, 0x1003b150a\nmov     rax, [rbx]                                                     ; +0x6b, 0x1003b150b\nmov     rax, [rax+210h]                                                ; +0x6e, 0x1003b150e\nmov     rdi, rbx                                                       ; +0x75, 0x1003b1515\nmov     esi, 1                                                         ; +0x78, 0x1003b1518\nadd     rsp, 8                                                         ; +0x7d, 0x1003b151d\npop     rbx                                                            ; +0x81, 0x1003b1521\npop     rbp                                                            ; +0x82, 0x1003b1522\njmp     rax                                                            ; +0x83, 0x1003b1523", "xrefs": [], "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"}