//
// RetryLevelLayer::keyDown from 0x1001b3c34 to 0x1001b3c70 (60 bytes)
//
// 2 xrefs:
// > sub_1001B3C70 @ 0x1001b3c74
// > ??> @ 0x1007b1488
//
// 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 RetryLevelLayer::keyDown(RetryLevelLayer *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:
RetryLevelLayer::onReplay(a1, *(cocos2d::CCObject **)&a2);
return;
}
if ( a2 != CONTROLLER_B )
{
if ( a2 == CONTROLLER_A )
goto LABEL_5;
goto LABEL_8;
}
}
RetryLevelLayer::onMenu(a1, *(cocos2d::CCObject **)&a2);
}