{"type": "func", "start": 5370238672, "end": 5370238792, "name": "DialogLayer::onClose", "pseudocode": "// \n// DialogLayer::onClose from 0x1401756d0 to 0x140175748 (120 bytes)\n// \n// 3 xrefs:\n// > DialogLayer::handleDialogTap @ 0x140175646\n// > DialogLayer::keyBackClicked @ 0x1401756c7\n// > <???> @ 0x14091847c\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:27:32 +0000\n// \n\n__int64 __fastcall DialogLayer::onClose(_QWORD *a1)\n{\n  void (__fastcall ***v2)(_QWORD, _QWORD *); // rcx\n  __int64 v3; // rax\n  __int64 result; // rax\n  __int64 v5; // rdx\n\n  v2 = (void (__fastcall ***)(_QWORD, _QWORD *))a1[78];\n  if ( v2 )\n    (**v2)(v2, a1);\n  v3 = a1[72];\n  a1[78] = 0;\n  if ( v3 )\n    *(_QWORD *)(v3 + 712) = 0;\n  (*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 992LL))(a1, 0);\n  result = (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1008LL))(a1, 0);\n  if ( !*((_BYTE *)a1 + 640) )\n  {\n    LOBYTE(v5) = 1;\n    return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 520LL))(a1, v5);\n  }\n  return result;\n}", "assembly": "; \n; DialogLayer::onClose from 0x1401756d0 to 0x140175748 (120 bytes)\n; \n; 3 xrefs:\n; > DialogLayer::handleDialogTap @ 0x140175646\n; > DialogLayer::keyBackClicked @ 0x1401756c7\n; > <???> @ 0x14091847c\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:27:32 +0000\n; \npush    rbx                                                            ; +0x0, 0x1401756d0\nsub     rsp, 20h                                                       ; +0x2, 0x1401756d2\nmov     rbx, rcx                                                       ; +0x6, 0x1401756d6\nmov     rcx, [rcx+270h]                                                ; +0x9, 0x1401756d9\ntest    rcx, rcx                                                       ; +0x10, 0x1401756e0\njz      short loc_1401756ED                                            ; +0x13, 0x1401756e3\nmov     rax, [rcx]                                                     ; +0x15, 0x1401756e5\nmov     rdx, rbx                                                       ; +0x18, 0x1401756e8\ncall    qword ptr [rax]                                                ; +0x1b, 0x1401756eb\nmov     rax, [rbx+240h]                                                ; +0x1d, 0x1401756ed\nxor     ecx, ecx                                                       ; +0x24, 0x1401756f4\nmov     [rbx+270h], rcx                                                ; +0x26, 0x1401756f6\ntest    rax, rax                                                       ; +0x2d, 0x1401756fd\njz      short loc_140175709                                            ; +0x30, 0x140175700\nmov     [rax+2C8h], rcx                                                ; +0x32, 0x140175702\nmov     rax, [rbx]                                                     ; +0x39, 0x140175709\nxor     edx, edx                                                       ; +0x3c, 0x14017570c\nmov     rcx, rbx                                                       ; +0x3e, 0x14017570e\ncall    qword ptr [rax+3E0h]                                           ; +0x41, 0x140175711\nmov     rax, [rbx]                                                     ; +0x47, 0x140175717\nxor     edx, edx                                                       ; +0x4a, 0x14017571a\nmov     rcx, rbx                                                       ; +0x4c, 0x14017571c\ncall    qword ptr [rax+3F0h]                                           ; +0x4f, 0x14017571f\ncmp     byte ptr [rbx+280h], 0                                         ; +0x55, 0x140175725\njnz     short loc_140175742                                            ; +0x5c, 0x14017572c\nmov     rax, [rbx]                                                     ; +0x5e, 0x14017572e\nmov     dl, 1                                                          ; +0x61, 0x140175731\nmov     rcx, rbx                                                       ; +0x63, 0x140175733\nadd     rsp, 20h                                                       ; +0x66, 0x140175736\npop     rbx                                                            ; +0x6a, 0x14017573a\njmp     qword ptr [rax+208h]                                           ; +0x6b, 0x14017573b\nadd     rsp, 20h                                                       ; +0x72, 0x140175742\npop     rbx                                                            ; +0x76, 0x140175746\nretn                                                                   ; +0x77, 0x140175747", "xrefs": ["DialogLayer::handleDialogTap @ 0x140175646", "DialogLayer::keyBackClicked @ 0x1401756c7", "<???> @ 0x14091847c"], "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"}