//
// PlayLayer::showRetryLayer from 0x5c8e9c to 0x5c8f18 (124 bytes)
//
// 3 xrefs:
// > ??> @ 0x6d890
// > PlayLayer::destroyPlayer @ 0x5d1d14
// > ??> @ 0x122b9a0
//
// 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 PlayLayer::showRetryLayer(PlayLayer *a1)
{
RetryLevelLayer *v2; // x20
PlatformToolbox::showCursor();
PlayerObject::releaseAllButtons(a1->m_player1);
UILayer::resetAllButtons(a1->m_uiLayer);
UILayer::toggleMenuVisibility(a1->m_uiLayer, 0);
a1->m_hasCompletedLevel = 1;
v2 = RetryLevelLayer::create();
a1->addChild_0(a1, v2, 100);
v2->showLayer(v2, 0);
}