//
// EditLevelLayer::keyDown from 0x1000ec490 to 0x1000ec4a8 (24 bytes)
//
// 2 xrefs:
// > sub_1000EC4A8 @ 0x1000ec4ac
// > ??> @ 0x100782470
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// local variable allocation has failed, the output may be wrong!
void __fastcall EditLevelLayer::keyDown(EditLevelLayer *a1, cocos2d::enumKeyCodes a2, double a3)
{
if ( a2 == CONTROLLER_Start || a2 == KEY_Space )
EditLevelLayer::onPlay(a1, *(cocos2d::CCObject **)&a2);
else
cocos2d::CCLayer::keyDown(a1, a2, a3);
}