{"type": "func", "start": 6331088, "end": 6331132, "name": "DialogLayer::keyDown", "pseudocode": "// \n// DialogLayer::keyDown from 0x609ad0 to 0x609afc (44 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'DialogLayer::keyDown @ 0x609b00\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:54:47 +0000\n// \n\nDialogLayer *__fastcall DialogLayer::keyDown(DialogLayer *this, int a2)\n{\n  bool v2; // zf\n\n  if ( a2 == 38 )\n    return (DialogLayer *)DialogLayer::handleDialogTap(this);\n  if ( a2 > 38 )\n  {\n    if ( a2 == 1013 || a2 == 1015 )\n      return (DialogLayer *)DialogLayer::handleDialogTap(this);\n    v2 = a2 == 1001;\n  }\n  else\n  {\n    if ( a2 == 27 )\n      return (DialogLayer *)DialogLayer::handleDialogTap(this);\n    v2 = a2 == 32;\n  }\n  if ( v2 )\n    return (DialogLayer *)DialogLayer::handleDialogTap(this);\n  return this;\n}", "assembly": "; \n; DialogLayer::keyDown from 0x609ad0 to 0x609afc (44 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'DialogLayer::keyDown @ 0x609b00\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:54:47 +0000\n; \nCMP             R1, #0x26 ; '&'                                        ; +0x0, 0x609ad0\nBEQ             loc_609AF6                                             ; +0x2, 0x609ad2\nBGT             loc_609ADE                                             ; +0x4, 0x609ad4\nCMP             R1, #0x1B                                              ; +0x6, 0x609ad6\nBEQ             loc_609AF6                                             ; +0x8, 0x609ad8\nCMP             R1, #0x20 ; ' '                                        ; +0xa, 0x609ada\nB               loc_609AF4                                             ; +0xc, 0x609adc\nMOVW            R3, #0x3F5                                             ; +0xe, 0x609ade\nCMP             R1, R3                                                 ; +0x12, 0x609ae2\nBEQ             loc_609AF6                                             ; +0x14, 0x609ae4\nMOVW            R3, #0x3F7                                             ; +0x16, 0x609ae6\nCMP             R1, R3                                                 ; +0x1a, 0x609aea\nBEQ             loc_609AF6                                             ; +0x1c, 0x609aec\nMOVW            R3, #0x3E9                                             ; +0x1e, 0x609aee\nCMP             R1, R3                                                 ; +0x22, 0x609af2\nBNE             locret_609AFA                                          ; +0x24, 0x609af4\nB.W             _ZN11DialogLayer15handleDialogTapEv; DialogLayer::handleDialogTap(void) ; +0x26, 0x609af6\nBX              LR                                                     ; +0x2a, 0x609afa", "xrefs": ["`non-virtual thunk to'DialogLayer::keyDown @ 0x609b00"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}