//
// RetryLevelLayer::onMenu from 0x435618 to 0x435686 (110 bytes)
//
// 2 xrefs:
// > RetryLevelLayer::keyDown @ 0x4356c8
// > RetryLevelLayer::keyBackClicked @ 0x4357c6
//
// 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::onMenu(RetryLevelLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // r0
FMODAudioEngine *v4; // r6
_BYTE v5[4]; // [sp+10h] [bp-8h] BYREF
v3 = GameManager::sharedState();
PlayLayer::onQuit(v3->m_playLayer);
a1->exitLayer(a1, nullptr);
v4 = FMODAudioEngine::sharedEngine();
sub_776584((int)v5, "quitSound_01.ogg");
FMODAudioEngine::playEffect(v4, (int)v5, 1.0, 0, 1060320051);
sub_774008(v5);
}