{"type": "func", "start": 4301305280, "end": 4301305533, "name": "EditorUI::keyDown", "pseudocode": "// \n// EditorUI::keyDown from 0x10060b5c0 to 0x10060b6bd (253 bytes)\n// \n// 2 xrefs:\n// > sub_10060B6C0 @ 0x10060b6cc\n// > <???> @ 0x100ab5088\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:34:32 +0000\n// \n\n__int64 __fastcall EditorUI::keyDown(_QWORD **a1, int a2, double a3)\n{\n  __int64 result; // rax\n\n  if ( a2 == 13 )\n  {\n    if ( !(*(unsigned __int8 (__fastcall **)(_QWORD *))(*a1[98] + 352LL))(a1[98])\n      || (result = sub_100643A20(a1[98]), !(_BYTE)result) )\n    {\n      result = (*(__int64 (__fastcall **)(_QWORD *))(*a1[95] + 352LL))(a1[95]);\n      if ( (_BYTE)result )\n        return sub_100641110(a1[95]);\n    }\n  }\n  else if ( a2 == 27 )\n  {\n    if ( (*(unsigned __int8 (__fastcall **)(_QWORD *))(*a1[98] + 352LL))(a1[98])\n      && (unsigned __int8)sub_1006439D0(a1[98]) )\n    {\n      return sub_100643040(a1[98]);\n    }\n    else if ( (*(unsigned __int8 (__fastcall **)(_QWORD *))(*a1[95] + 352LL))(a1[95])\n           && (unsigned __int8)sub_1006410F0(a1[95]) )\n    {\n      return GJRotationControl::releaseInputFocus(a1[95]);\n    }\n    else\n    {\n      return ((__int64 (__fastcall *)(_QWORD **, __int64, __int64, double))(*a1)[164])(a1, 20067, 1, a3);\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::keyDown from 0x10060b5c0 to 0x10060b6bd (253 bytes)\n; \n; 2 xrefs:\n; > sub_10060B6C0 @ 0x10060b6cc\n; > <???> @ 0x100ab5088\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:34:32 +0000\n; \npush    rbp                                                            ; +0x0, 0x10060b5c0\nmov     rbp, rsp                                                       ; +0x1, 0x10060b5c1\npush    rbx                                                            ; +0x4, 0x10060b5c4\npush    rax                                                            ; +0x5, 0x10060b5c5\nmov     rbx, rdi                                                       ; +0x6, 0x10060b5c6\ncmp     esi, 0Dh                                                       ; +0x9, 0x10060b5c9\njz      short loc_10060B612                                            ; +0xc, 0x10060b5cc\ncmp     esi, 1Bh                                                       ; +0xe, 0x10060b5ce\njnz     loc_10060B65C                                                  ; +0x11, 0x10060b5d1\nmovsd   [rbp+var_10], xmm0                                             ; +0x17, 0x10060b5d7\nmov     rdi, [rbx+310h]                                                ; +0x1c, 0x10060b5dc\nmov     rax, [rdi]                                                     ; +0x23, 0x10060b5e3\ncall    qword ptr [rax+160h]                                           ; +0x26, 0x10060b5e6\ntest    al, al                                                         ; +0x2c, 0x10060b5ec\njz      short loc_10060B663                                            ; +0x2e, 0x10060b5ee\nmov     rdi, [rbx+310h]                                                ; +0x30, 0x10060b5f0\ncall    sub_1006439D0                                                  ; +0x37, 0x10060b5f7\ntest    al, al                                                         ; +0x3c, 0x10060b5fc\njz      short loc_10060B663                                            ; +0x3e, 0x10060b5fe\nmov     rdi, [rbx+310h]                                                ; +0x40, 0x10060b600\nadd     rsp, 8                                                         ; +0x47, 0x10060b607\npop     rbx                                                            ; +0x4b, 0x10060b60b\npop     rbp                                                            ; +0x4c, 0x10060b60c\njmp     sub_100643040                                                  ; +0x4d, 0x10060b60d\nmov     rdi, [rbx+310h]                                                ; +0x52, 0x10060b612\nmov     rax, [rdi]                                                     ; +0x59, 0x10060b619\ncall    qword ptr [rax+160h]                                           ; +0x5c, 0x10060b61c\ntest    al, al                                                         ; +0x62, 0x10060b622\njz      short loc_10060B636                                            ; +0x64, 0x10060b624\nmov     rdi, [rbx+310h]                                                ; +0x66, 0x10060b626\ncall    sub_100643A20                                                  ; +0x6d, 0x10060b62d\ntest    al, al                                                         ; +0x72, 0x10060b632\njnz     short loc_10060B65C                                            ; +0x74, 0x10060b634\nmov     rdi, [rbx+2F8h]                                                ; +0x76, 0x10060b636\nmov     rax, [rdi]                                                     ; +0x7d, 0x10060b63d\ncall    qword ptr [rax+160h]                                           ; +0x80, 0x10060b640\ntest    al, al                                                         ; +0x86, 0x10060b646\njz      short loc_10060B65C                                            ; +0x88, 0x10060b648\nmov     rdi, [rbx+2F8h]                                                ; +0x8a, 0x10060b64a\nadd     rsp, 8                                                         ; +0x91, 0x10060b651\npop     rbx                                                            ; +0x95, 0x10060b655\npop     rbp                                                            ; +0x96, 0x10060b656\njmp     sub_100641110                                                  ; +0x97, 0x10060b657\nadd     rsp, 8                                                         ; +0x9c, 0x10060b65c\npop     rbx                                                            ; +0xa0, 0x10060b660\npop     rbp                                                            ; +0xa1, 0x10060b661\nretn                                                                   ; +0xa2, 0x10060b662\nmov     rdi, [rbx+2F8h]                                                ; +0xa3, 0x10060b663\nmov     rax, [rdi]                                                     ; +0xaa, 0x10060b66a\ncall    qword ptr [rax+160h]                                           ; +0xad, 0x10060b66d\ntest    al, al                                                         ; +0xb3, 0x10060b673\njz      short loc_10060B699                                            ; +0xb5, 0x10060b675\nmov     rdi, [rbx+2F8h]                                                ; +0xb7, 0x10060b677\ncall    sub_1006410F0                                                  ; +0xbe, 0x10060b67e\ntest    al, al                                                         ; +0xc3, 0x10060b683\njz      short loc_10060B699                                            ; +0xc5, 0x10060b685\nmov     rdi, [rbx+2F8h]                                                ; +0xc7, 0x10060b687\nadd     rsp, 8                                                         ; +0xce, 0x10060b68e\npop     rbx                                                            ; +0xd2, 0x10060b692\npop     rbp                                                            ; +0xd3, 0x10060b693\njmp     GJRotationControl__releaseInputFocus                           ; +0xd4, 0x10060b694\nmov     rax, [rbx]                                                     ; +0xd9, 0x10060b699\nmov     rax, [rax+520h]                                                ; +0xdc, 0x10060b69c\nmov     rdi, rbx                                                       ; +0xe3, 0x10060b6a3\nmov     esi, 4E63h                                                     ; +0xe6, 0x10060b6a6\nmov     edx, 1                                                         ; +0xeb, 0x10060b6ab\nmovsd   xmm0, [rbp+var_10]                                             ; +0xf0, 0x10060b6b0\nadd     rsp, 8                                                         ; +0xf5, 0x10060b6b5\npop     rbx                                                            ; +0xf9, 0x10060b6b9\npop     rbp                                                            ; +0xfa, 0x10060b6ba\njmp     rax                                                            ; +0xfb, 0x10060b6bb", "xrefs": ["sub_10060B6C0 @ 0x10060b6cc", "<???> @ 0x100ab5088"], "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"}