//
// PlayLayer::showEndLayer from 0x100143dd8 to 0x100143e54 (124 bytes)
//
// 1 xrefs:
// > PlayLayer::showCompleteText @ 0x100143b7c
//
// 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 10:59:33 +0000
//
__int64 __fastcall PlayLayer::showEndLayer(__int64 a1)
{
__int64 v2; // x20
PlatformToolbox::showCursor(a1);
PlayLayer::releaseAllPlayerButtons(a1);
UILayer::resetAllButtons(*(_QWORD *)(a1 + 13288));
UILayer::toggleMenuVisibility(*(_QWORD *)(a1 + 13288), 0);
*(_BYTE *)(a1 + 14637) = 1;
v2 = EndLevelLayer::create(a1);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v2, 1001);
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 1328LL))(v2, 0);
}