//
// PlayLayer::showRetryLayer from 0x6f716c to 0x6f71e8 (124 bytes)
//
// 3 xrefs:
// > ??> @ 0x93e38
// > PlayLayer::destroyPlayer @ 0x6ff64c
// > ??> @ 0x1543ff0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:51:51 +0000
//
__int64 __fastcall PlayLayer::showRetryLayer(UILayer **this)
{
__int64 v2; // x20
PlatformToolbox::showCursor((PlatformToolbox *)this);
PlayLayer::releaseAllPlayerButtons(this);
UILayer::resetAllButtons(*(this + 1661));
UILayer::toggleMenuVisibility(*(this + 1661), 0);
*((_BYTE *)this + 14637) = 1;
v2 = RetryLevelLayer::create((RetryLevelLayer *)(this + 1536));
(*((void (__fastcall **)(UILayer **, __int64, __int64))*this + 58))(this, v2, 100);
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 1328LL))(v2, 0);
}