//
// PlayLayer::showEndLayer from 0x402514 to 0x402564 (80 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:25 +0000
//
int __fastcall PlayLayer::showEndLayer(GJUINode **this)
{
PlayLayer *v2; // r1
int v3; // r5
PlatformToolbox::showCursor((PlatformToolbox *)this);
PlayLayer::releaseAllPlayerButtons(this);
UILayer::resetAllButtons(*(this + 2810));
UILayer::toggleMenuVisibility(*(this + 2810), 0);
*((_BYTE *)this + 12097) = 1;
v3 = EndLevelLayer::create((EndLevelLayer *)this, v2);
(*((void (__fastcall **)(GJUINode **, int, int))*this + 58))(this, v3, 1001);
return (*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)v3 + 664))(v3, 0);
}