{"type": "func", "start": 5370270352, "end": 5370270386, "name": "EditLevelLayer::keyDown", "pseudocode": "// \n// EditLevelLayer::keyDown from 0x14017d290 to 0x14017d2b2 (34 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1407482e8\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:27:35 +0000\n// \n\nstruct cocos2d::CCAction *__fastcall EditLevelLayer::keyDown(__int64 a1, int a2)\n{\n  if ( a2 == 32 || a2 == 1009 )\n    return EditLevelLayer::onPlay(a1 - 344);\n  else\n    return (struct cocos2d::CCAction *)cocos2d::CCLayer::keyDown();\n}", "assembly": "; \n; EditLevelLayer::keyDown from 0x14017d290 to 0x14017d2b2 (34 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1407482e8\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:27:35 +0000\n; \ncmp     edx, 20h ; ' '                                                 ; +0x0, 0x14017d290\njz      short loc_14017D2A4                                            ; +0x3, 0x14017d293\ncmp     edx, 3F1h                                                      ; +0x5, 0x14017d295\njz      short loc_14017D2A4                                            ; +0xb, 0x14017d29b\njmp     cs:__imp_?keyDown@CCLayer@cocos2d@@UEAAXW4enumKeyCodes@2@N@Z; cocos2d::CCLayer::keyDown(cocos2d::enumKeyCodes,double) ; +0xd, 0x14017d29d\nadd     rcx, 0FFFFFFFFFFFFFEA8h                                        ; +0x14, 0x14017d2a4\nxor     edx, edx                                                       ; +0x1b, 0x14017d2ab\njmp     EditLevelLayer__onPlay                                         ; +0x1d, 0x14017d2ad", "xrefs": ["<???> @ 0x1407482e8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}