{"type": "func", "start": 5370240128, "end": 5370240186, "name": "DialogLayer::keyDown", "pseudocode": "// \n// DialogLayer::keyDown from 0x140175c80 to 0x140175cba (58 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x140746bf8\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:27:33 +0000\n// \n\nint __fastcall DialogLayer::keyDown(__int64 a1, unsigned __int64 a2)\n{\n  __int64 v2; // rax\n  int v3; // edx\n\n  if ( (int)a2 <= 1001 )\n  {\n    if ( (_DWORD)a2 != 1001 )\n    {\n      if ( (unsigned int)a2 > 0x26 )\n        return v2;\n      v2 = 0x4108000000LL;\n      if ( !_bittest64(&v2, a2) )\n        return v2;\n    }\nLABEL_8:\n    LODWORD(v2) = DialogLayer::handleDialogTap(a1 - 344);\n    return v2;\n  }\n  v3 = a2 - 1013;\n  if ( !v3 || v3 == 2 )\n    goto LABEL_8;\n  return v2;\n}", "assembly": "; \n; DialogLayer::keyDown from 0x140175c80 to 0x140175cba (58 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x140746bf8\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:27:33 +0000\n; \ncmp     edx, 3E9h                                                      ; +0x0, 0x140175c80\njg      short loc_140175CA0                                            ; +0x6, 0x140175c86\njz      short loc_140175CAD                                            ; +0x8, 0x140175c88\ncmp     edx, 26h ; '&'                                                 ; +0xa, 0x140175c8a\nja      short locret_140175CB9                                         ; +0xd, 0x140175c8d\nmov     rax, 4108000000h                                               ; +0xf, 0x140175c8f\nbt      rax, rdx                                                       ; +0x19, 0x140175c99\njb      short loc_140175CAD                                            ; +0x1d, 0x140175c9d\nretn                                                                   ; +0x1f, 0x140175c9f\nsub     edx, 3F5h                                                      ; +0x20, 0x140175ca0\njz      short loc_140175CAD                                            ; +0x26, 0x140175ca6\ncmp     edx, 2                                                         ; +0x28, 0x140175ca8\njnz     short locret_140175CB9                                         ; +0x2b, 0x140175cab\nadd     rcx, 0FFFFFFFFFFFFFEA8h                                        ; +0x2d, 0x140175cad\njmp     DialogLayer__handleDialogTap                                   ; +0x34, 0x140175cb4\nretn                                                                   ; +0x39, 0x140175cb9", "xrefs": ["<???> @ 0x140746bf8"], "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"}