{"type": "func", "start": 9532648, "end": 9532708, "name": "DialogLayer::keyDown", "pseudocode": "// \n// DialogLayer::keyDown from 0x9174e8 to 0x917524 (60 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'DialogLayer::keyDown @ 0x917528\n// > <???> @ 0x7b2b8\n// > <???> @ 0x11abd28\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 DialogLayer::keyDown(DialogLayer *a1, cocos2d::enumKeyCodes a2, double a3)\n{\n  if ( a2 == KEY_Up )\n    goto LABEL_9;\n  if ( a2 > KEY_Up )\n  {\n    if ( a2 != CONTROLLER_RB && a2 != CONTROLLER_LB && a2 != CONTROLLER_A )\n      return;\nLABEL_9:\n    DialogLayer::handleDialogTap(a1);\n    return;\n  }\n  if ( a2 == KEY_Escape || a2 == KEY_Space )\n    goto LABEL_9;\n}", "assembly": "; \n; DialogLayer::keyDown from 0x9174e8 to 0x917524 (60 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'DialogLayer::keyDown @ 0x917528\n; > <???> @ 0x7b2b8\n; > <???> @ 0x11abd28\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, 0x9174e8\nB.EQ            loc_917520                                             ; +0x4, 0x9174ec\nB.LE            loc_917510                                             ; +0x8, 0x9174f0\nCMP             W1, #0x3F5                                             ; +0xc, 0x9174f4\nB.EQ            loc_917520                                             ; +0x10, 0x9174f8\nCMP             W1, #0x3F7                                             ; +0x14, 0x9174fc\nB.EQ            loc_917520                                             ; +0x18, 0x917500\nCMP             W1, #0x3E9                                             ; +0x1c, 0x917504\nB.EQ            loc_917520                                             ; +0x20, 0x917508\nRET                                                                    ; +0x24, 0x91750c\nCMP             W1, #0x1B                                              ; +0x28, 0x917510\nB.EQ            loc_917520                                             ; +0x2c, 0x917514\nCMP             W1, #0x20 ; ' '                                        ; +0x30, 0x917518\nB.NE            locret_91750C                                          ; +0x34, 0x91751c\nB               _ZN11DialogLayer15handleDialogTapEv; DialogLayer::handleDialogTap(void) ; +0x38, 0x917520", "xrefs": ["`non-virtual thunk to'DialogLayer::keyDown @ 0x917528", "<???> @ 0x7b2b8", "<???> @ 0x11abd28"], "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"}