//
// PlayLayer::showRetryLayer from 0x10011bf24 to 0x10011bf9c (120 bytes)
//
// 1 xrefs:
// > PlayLayer::destroyPlayer @ 0x10011ee6c
//
// 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 __fastcall 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();
((void (__fastcall *)(PlayLayer *, RetryLevelLayer *, __int64))a1->addChild_0)(a1, v2, 100);
((void (__fastcall *)(RetryLevelLayer *, _QWORD))v2->showLayer)(v2, 0);
}