//
// LevelInfoLayer::keyDown from 0x10002e72c to 0x10002e794 (104 bytes)
//
// 2 xrefs:
// > sub_10002E794 @ 0x10002e798
// > ??> @ 0x1008b0940
//
// This function is hookable on this platform (idp: arm, 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 10:57:29 +0000
//
void __fastcall LevelInfoLayer::keyDown(__int64 a1, int a2)
{
if ( (*(_BYTE *)(a1 + 488) & 1) == 0 )
{
if ( a2 == 1009 || a2 == 32 )
{
if ( (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 496) + 352LL))(*(_QWORD *)(a1 + 496)) )
LevelInfoLayer::onPlay(a1);
}
else
{
cocos2d::CCLayer::keyDown(a1);
}
}
}