//
// EndLevelLayer::keyDown from 0x140136d70 to 0x140136db7 (71 bytes)
//
// 1 xrefs:
// > ??> @ 0x140555010
//
// 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
//
void EndLevelLayer::keyDown(EndLevelLayer *a1, cocos2d::enumKeyCodes a2, double a3)
{
if ( a2 != KEY_Escape )
{
if ( a2 == KEY_Space || a2 == CONTROLLER_A )
{
LABEL_7:
EndLevelLayer::onReplay((EndLevelLayer *)((char *)a1 - 344), nullptr);
return;
}
if ( a2 != CONTROLLER_B )
{
if ( a2 != CONTROLLER_Start )
{
cocos2d::CCLayer::keyDown(a1, a2, a3);
return;
}
goto LABEL_7;
}
}
EndLevelLayer::onMenu((EndLevelLayer *)((char *)a1 - 344), nullptr);
}