{"type": "func", "start": 4304412000, "end": 4304412196, "name": "EditorWindowPopup::keyDown", "pseudocode": "// \n// EditorWindowPopup::keyDown from 0x100901d60 to 0x100901e24 (196 bytes)\n// \n// 7 xrefs:\n// > EmotePickerPopup::keyDown @ 0x100903b69\n// > sub_100903B70 @ 0x100903bd8\n// > <???> @ 0x100bb3710\n// > <???> @ 0x100bb8a70\n// > <???> @ 0x100bbdd98\n// > <???> @ 0x100bbf570\n// > <???> @ 0x100bd5750\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:38:03 +0000\n// \n\nvoid __fastcall EditorWindowPopup::keyDown(__int64 a1, int a2, __int64 a3, unsigned int a4)\n{\n  __int64 v4; // rdi\n  __int64 v5; // rbx\n\n  if ( *(_BYTE *)(a1 + 1095) || qword_100BE7A80 && (unsigned __int8)sub_100495310(a1, qword_100BE7A80, a3, a4) )\n  {\n    *(_BYTE *)(a1 + 1095) = 0;\n    if ( a2 == 27 )\n    {\n      v5 = qword_100BE7A80;\n      if ( qword_100BE7A80 && (unsigned __int8)sub_100495310(a1, qword_100BE7A80, a3, a4) )\n        (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 1160LL))(v5, 0);\n    }\n    else if ( a2 == 13 )\n    {\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1528LL))(a1);\n    }\n  }\n  else\n  {\n    v4 = *(_QWORD *)(a1 + 1016);\n    if ( v4 )\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1128LL))(v4);\n  }\n}", "assembly": "; \n; EditorWindowPopup::keyDown from 0x100901d60 to 0x100901e24 (196 bytes)\n; \n; 7 xrefs:\n; > EmotePickerPopup::keyDown @ 0x100903b69\n; > sub_100903B70 @ 0x100903bd8\n; > <???> @ 0x100bb3710\n; > <???> @ 0x100bb8a70\n; > <???> @ 0x100bbdd98\n; > <???> @ 0x100bbf570\n; > <???> @ 0x100bd5750\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:38:03 +0000\n; \npush    rbp                                                            ; +0x0, 0x100901d60\nmov     rbp, rsp                                                       ; +0x1, 0x100901d61\npush    r14                                                            ; +0x4, 0x100901d64\npush    rbx                                                            ; +0x6, 0x100901d66\nsub     rsp, 10h                                                       ; +0x7, 0x100901d67\ncmp     byte ptr [rdi+447h], 0                                         ; +0xb, 0x100901d6b\njnz     short loc_100901DA5                                            ; +0x12, 0x100901d72\nlea     rax, qword_100BE7A80                                           ; +0x14, 0x100901d74\nmov     rax, [rax]                                                     ; +0x1b, 0x100901d7b\ntest    rax, rax                                                       ; +0x1e, 0x100901d7e\njz      short loc_100901DC7                                            ; +0x21, 0x100901d81\nmov     rbx, rdi                                                       ; +0x23, 0x100901d83\nmov     r14d, esi                                                      ; +0x26, 0x100901d86\nmov     rsi, rax                                                       ; +0x29, 0x100901d89\nmovsd   [rbp+var_18], xmm0                                             ; +0x2c, 0x100901d8c\ncall    sub_100495310                                                  ; +0x31, 0x100901d91\nmovsd   xmm0, [rbp+var_18]                                             ; +0x36, 0x100901d96\nmov     esi, r14d                                                      ; +0x3b, 0x100901d9b\nmov     rdi, rbx                                                       ; +0x3e, 0x100901d9e\ntest    al, al                                                         ; +0x41, 0x100901da1\njz      short loc_100901DC7                                            ; +0x43, 0x100901da3\nmov     byte ptr [rdi+447h], 0                                         ; +0x45, 0x100901da5\ncmp     esi, 1Bh                                                       ; +0x4c, 0x100901dac\njz      short loc_100901DE7                                            ; +0x4f, 0x100901daf\ncmp     esi, 0Dh                                                       ; +0x51, 0x100901db1\njnz     short loc_100901E1B                                            ; +0x54, 0x100901db4\nmov     rax, [rdi]                                                     ; +0x56, 0x100901db6\nadd     rsp, 10h                                                       ; +0x59, 0x100901db9\npop     rbx                                                            ; +0x5d, 0x100901dbd\npop     r14                                                            ; +0x5e, 0x100901dbe\npop     rbp                                                            ; +0x60, 0x100901dc0\njmp     qword ptr [rax+5F8h]                                           ; +0x61, 0x100901dc1\nmov     rdi, [rdi+3F8h]                                                ; +0x67, 0x100901dc7\ntest    rdi, rdi                                                       ; +0x6e, 0x100901dce\njz      short loc_100901E1B                                            ; +0x71, 0x100901dd1\nmov     rax, [rdi]                                                     ; +0x73, 0x100901dd3\nmov     rax, [rax+468h]                                                ; +0x76, 0x100901dd6\nadd     rsp, 10h                                                       ; +0x7d, 0x100901ddd\npop     rbx                                                            ; +0x81, 0x100901de1\npop     r14                                                            ; +0x82, 0x100901de2\npop     rbp                                                            ; +0x84, 0x100901de4\njmp     rax                                                            ; +0x85, 0x100901de5\nlea     rax, qword_100BE7A80                                           ; +0x87, 0x100901de7\nmov     rbx, [rax]                                                     ; +0x8e, 0x100901dee\ntest    rbx, rbx                                                       ; +0x91, 0x100901df1\njz      short loc_100901E1B                                            ; +0x94, 0x100901df4\nmov     rsi, rbx                                                       ; +0x96, 0x100901df6\ncall    sub_100495310                                                  ; +0x99, 0x100901df9\ntest    al, al                                                         ; +0x9e, 0x100901dfe\njz      short loc_100901E1B                                            ; +0xa0, 0x100901e00\nmov     rax, [rbx]                                                     ; +0xa2, 0x100901e02\nmov     rax, [rax+488h]                                                ; +0xa5, 0x100901e05\nmov     rdi, rbx                                                       ; +0xac, 0x100901e0c\nxor     esi, esi                                                       ; +0xaf, 0x100901e0f\nadd     rsp, 10h                                                       ; +0xb1, 0x100901e11\npop     rbx                                                            ; +0xb5, 0x100901e15\npop     r14                                                            ; +0xb6, 0x100901e16\npop     rbp                                                            ; +0xb8, 0x100901e18\njmp     rax                                                            ; +0xb9, 0x100901e19\nadd     rsp, 10h                                                       ; +0xbb, 0x100901e1b\npop     rbx                                                            ; +0xbf, 0x100901e1f\npop     r14                                                            ; +0xc0, 0x100901e20\npop     rbp                                                            ; +0xc2, 0x100901e22\nretn                                                                   ; +0xc3, 0x100901e23", "xrefs": ["EmotePickerPopup::keyDown @ 0x100903b69", "sub_100903B70 @ 0x100903bd8", "<???> @ 0x100bb3710", "<???> @ 0x100bb8a70", "<???> @ 0x100bbdd98", "<???> @ 0x100bbf570", "<???> @ 0x100bd5750"], "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"}