{"type": "func", "start": 13476104, "end": 13476248, "name": "EditorWindowPopup::keyDown", "pseudocode": "// \n// EditorWindowPopup::keyDown from 0xcda108 to 0xcda198 (144 bytes)\n// \n// 8 xrefs:\n// > EmotePickerPopup::keyDown @ 0xcb8e68\n// > `non-virtual thunk to'EditorWindowPopup::keyDown @ 0xcda19c\n// > <???> @ 0xf3a00\n// > <???> @ 0x14eb448\n// > <???> @ 0x14fb288\n// > <???> @ 0x14fbae8\n// > <???> @ 0x1501798\n// > <???> @ 0x1502398\n// \n// This function is hookable on this platform (idp: arm, 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 13:06:32 +0000\n// \n\n__int64 __fastcall EditorWindowPopup::keyDown(__int64 a1, __int64 a2, long double a3)\n{\n  __int64 result; // x0\n\n  result = (unsigned __int8)EditorWindowPopup::fieldHoldsKeys((EditorWindowPopup *)a1);\n  if ( (_BYTE)result )\n  {\n    *(_BYTE *)(a1 + 1095) = 0;\n    if ( (_DWORD)a2 == 13 )\n    {\n      return (*(__int64 (__fastcall **)(__int64, long double))(*(_QWORD *)a1 + 1528LL))(a1, a3);\n    }\n    else if ( (_DWORD)a2 == 27 )\n    {\n      return EditorWindowPopup::blurField((EditorWindowPopup *)a1);\n    }\n  }\n  else\n  {\n    result = *(_QWORD *)(a1 + 1016);\n    if ( result )\n      return (*(__int64 (__fastcall **)(__int64, __int64, long double))(*(_QWORD *)result + 1128LL))(result, a2, a3);\n  }\n  return result;\n}", "assembly": "; \n; EditorWindowPopup::keyDown from 0xcda108 to 0xcda198 (144 bytes)\n; \n; 8 xrefs:\n; > EmotePickerPopup::keyDown @ 0xcb8e68\n; > `non-virtual thunk to'EditorWindowPopup::keyDown @ 0xcda19c\n; > <???> @ 0xf3a00\n; > <???> @ 0x14eb448\n; > <???> @ 0x14fb288\n; > <???> @ 0x14fbae8\n; > <???> @ 0x1501798\n; > <???> @ 0x1502398\n; \n; This function is hookable on this platform (idp: arm, 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 13:06:32 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0xcda108\nMOV             X29, SP                                                ; +0x4, 0xcda10c\nSTR             X19, [SP,#0x40+var_30]                                 ; +0x8, 0xcda110\nMOV             X19, X0                                                ; +0xc, 0xcda114\nSTR             Q0, [X29,#0x40+var_10]                                 ; +0x10, 0xcda118\nSTR             X1, [X29,#0x40+var_18]                                 ; +0x14, 0xcda11c\nBL              _ZN17EditorWindowPopup14fieldHoldsKeysEv; EditorWindowPopup::fieldHoldsKeys(void) ; +0x18, 0xcda120\nUXTB            W0, W0                                                 ; +0x1c, 0xcda124\nLDR             X1, [X29,#0x40+var_18]                                 ; +0x20, 0xcda128\nLDR             Q0, [X29,#0x40+var_10]                                 ; +0x24, 0xcda12c\nCBZ             W0, loc_CDA154                                         ; +0x28, 0xcda130\nSTRB            WZR, [X19,#0x447]                                      ; +0x2c, 0xcda134\nCMP             W1, #0xD                                               ; +0x30, 0xcda138\nB.EQ            loc_CDA184                                             ; +0x34, 0xcda13c\nCMP             W1, #0x1B                                              ; +0x38, 0xcda140\nB.EQ            loc_CDA174                                             ; +0x3c, 0xcda144\nLDR             X19, [SP,#0x40+var_30]                                 ; +0x40, 0xcda148\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x44, 0xcda14c\nRET                                                                    ; +0x48, 0xcda150\nLDR             X0, [X19,#0x3F8]                                       ; +0x4c, 0xcda154\nCBZ             X0, loc_CDA148                                         ; +0x50, 0xcda158\nLDR             X2, [X0]                                               ; +0x54, 0xcda15c\nLDR             X2, [X2,#0x468]                                        ; +0x58, 0xcda160\nBLR             X2                                                     ; +0x5c, 0xcda164\nLDR             X19, [SP,#0x40+var_30]                                 ; +0x60, 0xcda168\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x64, 0xcda16c\nRET                                                                    ; +0x68, 0xcda170\nMOV             X0, X19; this                                          ; +0x6c, 0xcda174\nLDR             X19, [SP,#0x40+var_30]                                 ; +0x70, 0xcda178\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x74, 0xcda17c\nB               _ZN17EditorWindowPopup9blurFieldEv; EditorWindowPopup::blurField(void) ; +0x78, 0xcda180\nLDR             X1, [X19]                                              ; +0x7c, 0xcda184\nMOV             X0, X19                                                ; +0x80, 0xcda188\nLDR             X1, [X1,#0x5F8]                                        ; +0x84, 0xcda18c\nBLR             X1                                                     ; +0x88, 0xcda190\nB               loc_CDA148                                             ; +0x8c, 0xcda194", "xrefs": ["EmotePickerPopup::keyDown @ 0xcb8e68", "`non-virtual thunk to'EditorWindowPopup::keyDown @ 0xcda19c", "<???> @ 0xf3a00", "<???> @ 0x14eb448", "<???> @ 0x14fb288", "<???> @ 0x14fbae8", "<???> @ 0x1501798", "<???> @ 0x1502398"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}