//
// RetryLevelLayer::keyDown from 0x435694 to 0x4356d4 (64 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'RetryLevelLayer::keyDown @ 0x4356d8
//
// 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)
{
bool v3; // zf
if ( a2 == CONTROLLER_A )
{
LABEL_9:
RetryLevelLayer::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;
}
RetryLevelLayer::onMenu(a1, nullptr);
}