{"type": "func", "start": 4298840944, "end": 4298841000, "name": "DialogLayer::keyDown", "pseudocode": "// \n// DialogLayer::keyDown from 0x1003b1b70 to 0x1003b1ba8 (56 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b370c8\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:29:26 +0000\n// \n\nint __fastcall DialogLayer::keyDown(double *a1, unsigned int a2)\n{\n  unsigned int v2; // esi\n  int result; // eax\n  __int64 v4; // rcx\n\n  if ( a2 <= 0x26 )\n  {\n    result = a2;\n    v4 = 0x4108000000LL;\n    if ( _bittest64(&v4, a2) )\n      return DialogLayer::handleDialogTap(a1);\n  }\n  v2 = a2 - 1001;\n  if ( v2 <= 0xE )\n  {\n    result = 20481;\n    if ( _bittest(&result, v2) )\n      return DialogLayer::handleDialogTap(a1);\n  }\n  return result;\n}", "assembly": "; \n; DialogLayer::keyDown from 0x1003b1b70 to 0x1003b1ba8 (56 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b370c8\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:29:26 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003b1b70\nmov     rbp, rsp                                                       ; +0x1, 0x1003b1b71\ncmp     esi, 26h ; '&'                                                 ; +0x4, 0x1003b1b74\njbe     short loc_1003B1B90                                            ; +0x7, 0x1003b1b77\nadd     esi, 0FFFFFC17h                                                ; +0x9, 0x1003b1b79\ncmp     esi, 0Eh                                                       ; +0xf, 0x1003b1b7f\nja      short loc_1003B1B8E                                            ; +0x12, 0x1003b1b82\nmov     eax, 5001h                                                     ; +0x14, 0x1003b1b84\nbt      eax, esi                                                       ; +0x19, 0x1003b1b89\njb      short loc_1003B1BA2                                            ; +0x1c, 0x1003b1b8c\npop     rbp                                                            ; +0x1e, 0x1003b1b8e\nretn                                                                   ; +0x1f, 0x1003b1b8f\nmov     eax, esi                                                       ; +0x20, 0x1003b1b90\nmov     rcx, 4108000000h                                               ; +0x22, 0x1003b1b92\nbt      rcx, rax                                                       ; +0x2c, 0x1003b1b9c\njnb     short loc_1003B1B79                                            ; +0x30, 0x1003b1ba0\npop     rbp                                                            ; +0x32, 0x1003b1ba2\njmp     DialogLayer__handleDialogTap                                   ; +0x33, 0x1003b1ba3", "xrefs": ["<???> @ 0x100b370c8"], "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"}