//
// LevelInfoLayer::keyDown from 0x1002c4e50 to 0x1002c4ea6 (86 bytes)
//
// 1 xrefs:
// > ??> @ 0x100906c80
//
// 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 LevelInfoLayer::keyDown(LevelInfoLayer *a1, cocos2d::enumKeyCodes a2, double a3)
{
if ( !a1->m_isBusy )
{
if ( a2 == CONTROLLER_Start || a2 == KEY_Space )
{
if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCMenu *, double))a1->m_playBtnMenu->isVisible)(
a1->m_playBtnMenu,
a3) )
{
LevelInfoLayer::onPlay(a1, *(cocos2d::CCObject **)&a2);
}
}
else
{
cocos2d::CCLayer::keyDown(a1, a2, a3);
}
}
}