//
// LevelInfoLayer::keyDown from 0x10002ae4c to 0x10002aeb4 (104 bytes)
//
// 2 xrefs:
// > sub_10002AEB4 @ 0x10002aeb8
// > ??> @ 0x1007649c8
//
// 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)
{
cocos2d::CCObject *v4; // x1
if ( !a1->m_isBusy )
{
if ( a2 == CONTROLLER_Start || a2 == KEY_Space )
{
if ( ((unsigned int (__fastcall *)(cocos2d::CCMenu *, __n128))a1->m_playBtnMenu->isVisible)(
a1->m_playBtnMenu,
*(__n128 *)&a3) )
{
LevelInfoLayer::onPlay(a1, v4);
}
}
else
{
cocos2d::CCLayer::keyDown(a1, a2, a3);
}
}
}