//
// LevelInfoLayer::keyDown from 0x3b5966 to 0x3b59a0 (58 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelInfoLayer::keyDown @ 0x3b59a4
//
// 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
//
void LevelInfoLayer::keyDown(LevelInfoLayer *a1, cocos2d::enumKeyCodes a2, double a3)
{
if ( !a1->m_isBusy )
{
if ( a2 == KEY_Space || a2 == CONTROLLER_Start )
{
if ( ((int (__fastcall *)(cocos2d::CCMenu *))a1->m_playBtnMenu->isVisible)(a1->m_playBtnMenu) )
LevelInfoLayer::onPlay(a1, nullptr);
}
else
{
cocos2d::CCLayer::keyDown(a1, a2, a3);
}
}
}