//
// EndLevelLayer::keyDown from 0x427696 to 0x4276d6 (64 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EndLevelLayer::keyDown @ 0x4276da
//
// 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)
{
bool v3; // zf
if ( a2 == CONTROLLER_A )
{
LABEL_9:
EndLevelLayer::onReplay(a1, nullptr);
return;
}
if ( a2 > CONTROLLER_A )
{
if ( a2 != CONTROLLER_B )
{
v3 = a2 == CONTROLLER_Start;
LABEL_7:
if ( !v3 )
{
cocos2d::CCLayer::keyDown(a1, a2, a3);
return;
}
goto LABEL_9;
}
}
else if ( a2 != KEY_Escape )
{
v3 = a2 == KEY_Space;
goto LABEL_7;
}
EndLevelLayer::onMenu(a1, nullptr);
}