{"type": "func", "start": 5279220, "end": 5279242, "name": "EditorPauseLayer::keyDown", "pseudocode": "// \n// EditorPauseLayer::keyDown from 0x508df4 to 0x508e0a (22 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorPauseLayer::keyDown @ 0x508e0e\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:51:26 +0000\n// \n\nint __fastcall EditorPauseLayer::keyDown(int result, int a2)\n{\n  if ( a2 == 1009 || a2 == 27 )\n    return (*(int (__fastcall **)(int))(*(_DWORD *)result + 556))(result);\n  return result;\n}", "assembly": "; \n; EditorPauseLayer::keyDown from 0x508df4 to 0x508e0a (22 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorPauseLayer::keyDown @ 0x508e0e\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:51:26 +0000\n; \nMOVW            R3, #0x3F1                                             ; +0x0, 0x508df4\nCMP             R1, R3                                                 ; +0x4, 0x508df8\nBEQ             loc_508E00                                             ; +0x6, 0x508dfa\nCMP             R1, #0x1B                                              ; +0x8, 0x508dfc\nBNE             locret_508E08                                          ; +0xa, 0x508dfe\nLDR             R3, [R0]                                               ; +0xc, 0x508e00\nLDR.W           R3, [R3,#0x22C]                                        ; +0xe, 0x508e02\nBX              R3                                                     ; +0x12, 0x508e06\nBX              LR                                                     ; +0x14, 0x508e08", "xrefs": ["`non-virtual thunk to'EditorPauseLayer::keyDown @ 0x508e0e"], "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"}