{"type": "func", "start": 4298933920, "end": 4298933976, "name": "DialogLayer::keyDown", "pseudocode": "// \n// DialogLayer::keyDown from 0x1003c86a0 to 0x1003c86d8 (56 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10092e7c8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall DialogLayer::keyDown(DialogLayer *a1, cocos2d::enumKeyCodes a2, double a3)\n{\n  unsigned int v3; // esi\n  int v4; // eax\n  __int64 v5; // rcx\n\n  if ( (unsigned int)a2 <= KEY_Up && (v5 = 0x4108000000LL, _bittest64(&v5, (unsigned int)a2))\n    || (v3 = a2 - 1001, v3 <= 0xE) && (v4 = 20481, _bittest(&v4, v3)) )\n  {\n    DialogLayer::handleDialogTap(a1);\n  }\n}", "assembly": "; \n; DialogLayer::keyDown from 0x1003c86a0 to 0x1003c86d8 (56 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10092e7c8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1003c86a0\nmov     rbp, rsp                                                       ; +0x1, 0x1003c86a1\ncmp     esi, 26h ; '&'                                                 ; +0x4, 0x1003c86a4\njbe     short loc_1003C86C0                                            ; +0x7, 0x1003c86a7\nadd     esi, 0FFFFFC17h                                                ; +0x9, 0x1003c86a9\ncmp     esi, 0Eh                                                       ; +0xf, 0x1003c86af\nja      short loc_1003C86BE                                            ; +0x12, 0x1003c86b2\nmov     eax, 5001h                                                     ; +0x14, 0x1003c86b4\nbt      eax, esi                                                       ; +0x19, 0x1003c86b9\njb      short loc_1003C86D2                                            ; +0x1c, 0x1003c86bc\npop     rbp                                                            ; +0x1e, 0x1003c86be\nretn                                                                   ; +0x1f, 0x1003c86bf\nmov     eax, esi                                                       ; +0x20, 0x1003c86c0\nmov     rcx, 4108000000h                                               ; +0x22, 0x1003c86c2\nbt      rcx, rax                                                       ; +0x2c, 0x1003c86cc\njnb     short loc_1003C86A9                                            ; +0x30, 0x1003c86d0\npop     rbp                                                            ; +0x32, 0x1003c86d2\njmp     DialogLayer__handleDialogTap                                   ; +0x33, 0x1003c86d3", "xrefs": ["<???> @ 0x10092e7c8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}