//
// LevelInfoLayer::keyDown from 0x6ddd70 to 0x6ddde4 (116 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'LevelInfoLayer::keyDown @ 0x6ddde8
// > ??> @ 0x92a90
// > ??> @ 0x115b688
//
// 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 LevelInfoLayer::keyDown(LevelInfoLayer *a1, cocos2d::enumKeyCodes a2, double a3)
{
if ( !a1->m_isBusy )
{
if ( a2 == KEY_Space || a2 == CONTROLLER_Start )
{
if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCMenu *, long double))a1->m_playBtnMenu->isVisible)(
a1->m_playBtnMenu,
*(long double *)&a3) )
{
LevelInfoLayer::onPlay(a1, nullptr);
}
}
else
{
cocos2d::CCLayer::keyDown(a1, a2, a3);
}
}
}