//
// LevelInfoLayer::keyDown from 0x1404265d0 to 0x140426628 (88 bytes)
//
// 2 xrefs:
// > ??> @ 0x14078c5c0
// > ??> @ 0x1409269a8
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:32:11 +0000
//
void __fastcall LevelInfoLayer::keyDown(__int64 a1, int a2)
{
__int64 v2; // rbx
v2 = a1 - 344;
if ( !*(_BYTE *)(a1 + 144) )
{
if ( a2 == 32 || a2 == 1009 )
{
if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 152) + 344LL))(*(_QWORD *)(a1 + 152)) )
LevelInfoLayer::onPlay(v2);
}
else
{
cocos2d::CCLayer::keyDown();
}
}
}