//
// EndLevelLayer::keyDown from 0x1402080c0 to 0x140208107 (71 bytes)
//
// 1 xrefs:
// > ??> @ 0x140753290
//
// 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:28:15 +0000
//
void __fastcall EndLevelLayer::keyDown(__int64 a1, int a2)
{
if ( a2 != 27 )
{
if ( a2 == 32 || a2 == 1001 )
{
LABEL_7:
EndLevelLayer::onReplay((cocos2d::CCNode **)(a1 - 344));
return;
}
if ( a2 != 1003 )
{
if ( a2 != 1009 )
{
cocos2d::CCLayer::keyDown();
return;
}
goto LABEL_7;
}
}
EndLevelLayer::onMenu(a1 - 344);
}