//
// LevelInfoLayer::keyDown from 0x49f2ce to 0x49f308 (58 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelInfoLayer::keyDown @ 0x49f30c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:48 +0000
//
cocos2d::CCDirector *__fastcall LevelInfoLayer::keyDown(cocos2d::CCDirector *result, int a2)
{
cocos2d::CCDirector *v2; // r4
v2 = result;
if ( !*((_BYTE *)result + 356) )
{
if ( a2 == 32 || a2 == 1009 )
{
result = (cocos2d::CCDirector *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)result + 90) + 176))(*((_DWORD *)result + 90));
if ( result )
return LevelInfoLayer::onPlay(v2, nullptr);
}
else
{
return (cocos2d::CCDirector *)cocos2d::CCLayer::keyDown(result);
}
}
return result;
}