{"type": "func", "start": 4295935120, "end": 4295935144, "name": "EditLevelLayer::keyDown", "pseudocode": "// \n// EditLevelLayer::keyDown from 0x1000ec490 to 0x1000ec4a8 (24 bytes)\n// \n// 2 xrefs:\n// > sub_1000EC4A8 @ 0x1000ec4ac\n// > <???> @ 0x100782470\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\n// local variable allocation has failed, the output may be wrong!\nvoid __fastcall EditLevelLayer::keyDown(EditLevelLayer *a1, cocos2d::enumKeyCodes a2, double a3)\n{\n  if ( a2 == CONTROLLER_Start || a2 == KEY_Space )\n    EditLevelLayer::onPlay(a1, *(cocos2d::CCObject **)&a2);\n  else\n    cocos2d::CCLayer::keyDown(a1, a2, a3);\n}", "assembly": "; \n; EditLevelLayer::keyDown from 0x1000ec490 to 0x1000ec4a8 (24 bytes)\n; \n; 2 xrefs:\n; > sub_1000EC4A8 @ 0x1000ec4ac\n; > <???> @ 0x100782470\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, #0x3F1                                             ; +0x0, 0x1000ec490\nB.EQ            loc_1000EC4A0                                          ; +0x4, 0x1000ec494\nCMP             W1, #0x20 ; ' '                                        ; +0x8, 0x1000ec498\nB.NE            loc_1000EC4A4                                          ; +0xc, 0x1000ec49c\nB               EditLevelLayer__onPlay                                 ; +0x10, 0x1000ec4a0\nB               cocos2d__CCLayer__keyDown                              ; +0x14, 0x1000ec4a4", "xrefs": ["sub_1000EC4A8 @ 0x1000ec4ac", "<???> @ 0x100782470"], "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"}