{"type": "func", "start": 4295522152, "end": 4295522228, "name": "DialogLayer::keyDown", "pseudocode": "// \n// DialogLayer::keyDown from 0x100087768 to 0x1000877b4 (76 bytes)\n// \n// 2 xrefs:\n// > sub_1000877B4 @ 0x1000877b8\n// > <???> @ 0x10077eed0\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  if ( (unsigned int)a2 <= KEY_Up && ((1LL << a2) & 0x4108000000LL) != 0\n    || (unsigned int)(a2 - 1001) <= 0xE && ((1 << (a2 + 23)) & 0x5001) != 0 )\n  {\n    DialogLayer::handleDialogTap(a1);\n  }\n}", "assembly": "; \n; DialogLayer::keyDown from 0x100087768 to 0x1000877b4 (76 bytes)\n; \n; 2 xrefs:\n; > sub_1000877B4 @ 0x1000877b8\n; > <???> @ 0x10077eed0\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\nCMP             W1, #0x26 ; '&'                                        ; +0x0, 0x100087768\nB.LS            loc_100087794                                          ; +0x4, 0x10008776c\nSUB             W8, W1, #0x3E9                                         ; +0x8, 0x100087770\nCMP             W8, #0xE                                               ; +0xc, 0x100087774\nB.HI            locret_100087790                                       ; +0x10, 0x100087778\nMOV             W9, #1                                                 ; +0x14, 0x10008777c\nLSL             W8, W9, W8                                             ; +0x18, 0x100087780\nMOV             W9, #0x5001                                            ; +0x1c, 0x100087784\nTST             W8, W9                                                 ; +0x20, 0x100087788\nB.NE            loc_1000877B0                                          ; +0x24, 0x10008778c\nRET                                                                    ; +0x28, 0x100087790\nMOV             W8, W1                                                 ; +0x2c, 0x100087794\nMOV             W9, #1                                                 ; +0x30, 0x100087798\nLSL             X8, X9, X8                                             ; +0x34, 0x10008779c\nMOV             X9, #0x4108000000                                      ; +0x38, 0x1000877a0\nTST             X8, X9                                                 ; +0x40, 0x1000877a8\nB.EQ            loc_100087770                                          ; +0x44, 0x1000877ac\nB               DialogLayer__handleDialogTap                           ; +0x48, 0x1000877b0", "xrefs": ["sub_1000877B4 @ 0x1000877b8", "<???> @ 0x10077eed0"], "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"}