//
// EndLevelLayer::keyDown from 0x1004c3950 to 0x1004c3990 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0x10094f2b0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// local variable allocation has failed, the output may be wrong!
void __fastcall EndLevelLayer::keyDown(EndLevelLayer *a1, cocos2d::enumKeyCodes a2, double a3)
{
if ( a2 <= (KEY_OEM3|KEY_Down|0x300) )
{
if ( a2 != KEY_Escape )
{
if ( a2 == KEY_Space )
goto LABEL_5;
LABEL_8:
cocos2d::CCLayer::keyDown(a1, a2, a3);
return;
}
}
else
{
if ( a2 == CONTROLLER_Start )
{
LABEL_5:
EndLevelLayer::onReplay(a1, *(cocos2d::CCObject **)&a2);
return;
}
if ( a2 != CONTROLLER_B )
{
if ( a2 == CONTROLLER_A )
goto LABEL_5;
goto LABEL_8;
}
}
EndLevelLayer::onMenu(a1, *(cocos2d::CCObject **)&a2);
}