{"type": "func", "start": 4858608, "end": 4858644, "name": "EditLevelLayer::keyDown", "pseudocode": "// \n// EditLevelLayer::keyDown from 0x4a22f0 to 0x4a2314 (36 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditLevelLayer::keyDown @ 0x4a2318\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:49:51 +0000\n// \n\nint __fastcall EditLevelLayer::keyDown(EditLevelLayer *this, int a2)\n{\n  if ( a2 == 32 || a2 == 1009 )\n    return EditLevelLayer::onPlay(this, nullptr);\n  else\n    return cocos2d::CCLayer::keyDown(this);\n}", "assembly": "; \n; EditLevelLayer::keyDown from 0x4a22f0 to 0x4a2314 (36 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditLevelLayer::keyDown @ 0x4a2318\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:49:51 +0000\n; \nCMP             R1, #0x20 ; ' '                                        ; +0x0, 0x4a22f0\nPUSH            {R4-R6,LR}                                             ; +0x2, 0x4a22f2\nMOV             R5, R0                                                 ; +0x4, 0x4a22f4\nBEQ             loc_4A2300                                             ; +0x6, 0x4a22f6\nMOVW            R6, #0x3F1                                             ; +0x8, 0x4a22f8\nCMP             R1, R6                                                 ; +0xc, 0x4a22fc\nBNE             loc_4A230C                                             ; +0xe, 0x4a22fe\nMOV             R0, R5; this                                           ; +0x10, 0x4a2300\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x12, 0x4a2302\nPOP.W           {R4-R6,LR}                                             ; +0x14, 0x4a2304\nB.W             _ZN14EditLevelLayer6onPlayEPN7cocos2d8CCObjectE; EditLevelLayer::onPlay(cocos2d::CCObject *) ; +0x18, 0x4a2308\nPOP.W           {R4-R6,LR}                                             ; +0x1c, 0x4a230c\nB.W             _ZN7cocos2d7CCLayer7keyDownENS_12enumKeyCodesEd; cocos2d::CCLayer::keyDown(cocos2d::enumKeyCodes,double) ; +0x20, 0x4a2310", "xrefs": ["`non-virtual thunk to'EditLevelLayer::keyDown @ 0x4a2318"], "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"}