//
// EndLevelLayer::keyDown from 0x1004bc990 to 0x1004bc9d0 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b5a370
//
// 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 12:31:03 +0000
//
void __fastcall EndLevelLayer::keyDown(_BYTE *a1, double a2, __int64 a3)
{
if ( (int)a3 <= 1000 )
{
if ( (_DWORD)a3 != 27 )
{
if ( (_DWORD)a3 == 32 )
goto LABEL_5;
LABEL_8:
cocos2d::CCLayer::keyDown((__int64)a1, a3);
return;
}
}
else
{
if ( (_DWORD)a3 == 1009 )
{
LABEL_5:
EndLevelLayer::onReplay(a1, a2);
return;
}
if ( (_DWORD)a3 != 1003 )
{
if ( (_DWORD)a3 == 1001 )
goto LABEL_5;
goto LABEL_8;
}
}
EndLevelLayer::onMenu((__int64)a1, a3);
}