{"type": "func", "start": 5372742016, "end": 5372742131, "name": "KeybindingsLayer::onClose", "pseudocode": "// \n// KeybindingsLayer::onClose from 0x1403d8980 to 0x1403d89f3 (115 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407865e0\n// > <???> @ 0x140924b0c\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:38 +0000\n// \n\n__int64 __fastcall KeybindingsLayer::onClose(__int64 a1, __int64 a2)\n{\n  __int64 v4; // rcx\n  __int64 result; // rax\n  __int64 v6; // rdx\n  __int64 v7; // rbx\n  __int64 v8; // rdx\n  __int64 v9; // rdx\n\n  v4 = *(_QWORD *)(a1 + 1096);\n  if ( v4 )\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1032LL))(v4, 0);\n  result = SetupTriggerPopup::onClose(a1, a2);\n  v7 = *(_QWORD *)(a1 + 1072);\n  if ( v7 )\n  {\n    LOBYTE(v6) = 1;\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 336LL))(v7, v6);\n    LOBYTE(v8) = 1;\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 920LL))(v7, v8);\n    LOBYTE(v9) = 1;\n    return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 992LL))(v7, v9);\n  }\n  return result;\n}", "assembly": "; \n; KeybindingsLayer::onClose from 0x1403d8980 to 0x1403d89f3 (115 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407865e0\n; > <???> @ 0x140924b0c\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:38 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403d8980\npush    rdi                                                            ; +0x5, 0x1403d8985\nsub     rsp, 20h                                                       ; +0x6, 0x1403d8986\nmov     rbx, rcx                                                       ; +0xa, 0x1403d898a\nmov     rdi, rdx                                                       ; +0xd, 0x1403d898d\nmov     rcx, [rcx+448h]                                                ; +0x10, 0x1403d8990\ntest    rcx, rcx                                                       ; +0x17, 0x1403d8997\njz      short loc_1403D89A7                                            ; +0x1a, 0x1403d899a\nmov     rax, [rcx]                                                     ; +0x1c, 0x1403d899c\nxor     edx, edx                                                       ; +0x1f, 0x1403d899f\ncall    qword ptr [rax+408h]                                           ; +0x21, 0x1403d89a1\nmov     rdx, rdi                                                       ; +0x27, 0x1403d89a7\nmov     rcx, rbx                                                       ; +0x2a, 0x1403d89aa\ncall    SetupTriggerPopup__onClose                                     ; +0x2d, 0x1403d89ad\nmov     rbx, [rbx+430h]                                                ; +0x32, 0x1403d89b2\ntest    rbx, rbx                                                       ; +0x39, 0x1403d89b9\njz      short loc_1403D89E8                                            ; +0x3c, 0x1403d89bc\nmov     rax, [rbx]                                                     ; +0x3e, 0x1403d89be\nmov     dl, 1                                                          ; +0x41, 0x1403d89c1\nmov     rcx, rbx                                                       ; +0x43, 0x1403d89c3\ncall    qword ptr [rax+150h]                                           ; +0x46, 0x1403d89c6\nmov     rax, [rbx]                                                     ; +0x4c, 0x1403d89cc\nmov     dl, 1                                                          ; +0x4f, 0x1403d89cf\nmov     rcx, rbx                                                       ; +0x51, 0x1403d89d1\ncall    qword ptr [rax+398h]                                           ; +0x54, 0x1403d89d4\nmov     rax, [rbx]                                                     ; +0x5a, 0x1403d89da\nmov     dl, 1                                                          ; +0x5d, 0x1403d89dd\nmov     rcx, rbx                                                       ; +0x5f, 0x1403d89df\ncall    qword ptr [rax+3E0h]                                           ; +0x62, 0x1403d89e2\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x68, 0x1403d89e8\nadd     rsp, 20h                                                       ; +0x6d, 0x1403d89ed\npop     rdi                                                            ; +0x71, 0x1403d89f1\nretn                                                                   ; +0x72, 0x1403d89f2", "xrefs": ["<???> @ 0x1407865e0", "<???> @ 0x140924b0c"], "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"}