{"type": "func", "start": 5372738896, "end": 5372738978, "name": "KeybindingsLayer::onAddBinding", "pseudocode": "// \n// KeybindingsLayer::onAddBinding from 0x1403d7d50 to 0x1403d7da2 (82 bytes)\n// \n// 2 xrefs:\n// > KeybindingsLayer::buildContentForTab @ 0x1403d6da1\n// > <???> @ 0x140924a70\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:37 +0000\n// \n\n__int64 __fastcall KeybindingsLayer::onAddBinding(_QWORD *a1, __int64 a2)\n{\n  unsigned int v3; // eax\n  __int64 v4; // rcx\n  unsigned int v5; // edi\n\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);\n  v4 = a1[137];\n  v5 = v3;\n  if ( v4 )\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1032LL))(v4, 0);\n  return (*(__int64 (__fastcall **)(_QWORD *, _QWORD, _QWORD))(*a1 + 1232LL))(a1, v5, 0);\n}", "assembly": "; \n; KeybindingsLayer::onAddBinding from 0x1403d7d50 to 0x1403d7da2 (82 bytes)\n; \n; 2 xrefs:\n; > KeybindingsLayer::buildContentForTab @ 0x1403d6da1\n; > <???> @ 0x140924a70\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:37 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403d7d50\npush    rdi                                                            ; +0x5, 0x1403d7d55\nsub     rsp, 20h                                                       ; +0x6, 0x1403d7d56\nmov     rax, [rdx]                                                     ; +0xa, 0x1403d7d5a\nmov     rbx, rcx                                                       ; +0xd, 0x1403d7d5d\nmov     rcx, rdx                                                       ; +0x10, 0x1403d7d60\ncall    qword ptr [rax+38h]                                            ; +0x13, 0x1403d7d63\nmov     rcx, [rbx+448h]                                                ; +0x16, 0x1403d7d66\nmov     edi, eax                                                       ; +0x1d, 0x1403d7d6d\ntest    rcx, rcx                                                       ; +0x1f, 0x1403d7d6f\njz      short loc_1403D7D83                                            ; +0x22, 0x1403d7d72\nmov     rdx, [rcx]                                                     ; +0x24, 0x1403d7d74\nmov     r8, [rdx+408h]                                                 ; +0x27, 0x1403d7d77\nxor     edx, edx                                                       ; +0x2e, 0x1403d7d7e\ncall    r8                                                             ; +0x30, 0x1403d7d80\nmov     rcx, [rbx]                                                     ; +0x33, 0x1403d7d83\nxor     r8d, r8d                                                       ; +0x36, 0x1403d7d86\nmov     edx, edi                                                       ; +0x39, 0x1403d7d89\nmov     r9, [rcx+4D0h]                                                 ; +0x3b, 0x1403d7d8b\nmov     rcx, rbx                                                       ; +0x42, 0x1403d7d92\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x45, 0x1403d7d95\nadd     rsp, 20h                                                       ; +0x4a, 0x1403d7d9a\npop     rdi                                                            ; +0x4e, 0x1403d7d9e\njmp     r9                                                             ; +0x4f, 0x1403d7d9f", "xrefs": ["KeybindingsLayer::buildContentForTab @ 0x1403d6da1", "<???> @ 0x140924a70"], "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"}