//
// LevelInfoLayer::keyDown from 0x140300830 to 0x140300888 (88 bytes)
//
// 2 xrefs:
// > ??> @ 0x140586ce8
// > ??> @ 0x1406d434c
//
// 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 ( !LOBYTE(a1->m_sAdditionalTransform.ty) )
{
if ( a2 == KEY_Space || a2 == CONTROLLER_Start )
{
if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)&a1->m_sTransform.b + 328LL))(*(_QWORD *)&a1->m_sTransform.b) )
LevelInfoLayer::onPlay((LevelInfoLayer *)((char *)a1 - 344), nullptr);
}
else
{
cocos2d::CCLayer::keyDown(a1, a2, a3);
}
}
}