{"type": "func", "start": 4297057840, "end": 4297057869, "name": "EditLevelLayer::keyDown", "pseudocode": "// \n// EditLevelLayer::keyDown from 0x1001fe630 to 0x1001fe64d (29 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008da7d8\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 0x1001fe630 to 0x1001fe64d (29 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008da7d8\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\npush    rbp                                                            ; +0x0, 0x1001fe630\nmov     rbp, rsp                                                       ; +0x1, 0x1001fe631\ncmp     esi, 3F1h                                                      ; +0x4, 0x1001fe634\njz      short loc_1001FE641                                            ; +0xa, 0x1001fe63a\ncmp     esi, 20h ; ' '                                                 ; +0xc, 0x1001fe63c\njnz     short loc_1001FE647                                            ; +0xf, 0x1001fe63f\npop     rbp                                                            ; +0x11, 0x1001fe641\njmp     EditLevelLayer__onPlay                                         ; +0x12, 0x1001fe642\npop     rbp                                                            ; +0x17, 0x1001fe647\njmp     cocos2d__CCLayer__keyDown                                      ; +0x18, 0x1001fe648", "xrefs": ["<???> @ 0x1008da7d8"], "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"}