//
// RetryLevelLayer::keyDown from 0x7ed8f4 to 0x7ed934 (64 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'RetryLevelLayer::keyDown @ 0x7ed938
// > ??> @ 0xb2aa0
// > ??> @ 0x1185f98
//
// 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 RetryLevelLayer::keyDown(RetryLevelLayer *a1, cocos2d::enumKeyCodes a2, double a3)
{
if ( a2 == CONTROLLER_A )
goto LABEL_8;
if ( a2 > CONTROLLER_A )
{
if ( a2 == CONTROLLER_B )
goto LABEL_9;
if ( a2 != CONTROLLER_Start )
goto LABEL_5;
LABEL_8:
RetryLevelLayer::onReplay(a1, nullptr);
return;
}
if ( a2 != KEY_Escape )
{
if ( a2 != KEY_Space )
{
LABEL_5:
cocos2d::CCLayer::keyDown(a1, a2, a3);
return;
}
goto LABEL_8;
}
LABEL_9:
RetryLevelLayer::onMenu(a1, nullptr);
}