//
// sub_100084250 from 0x100084250 to 0x1000842ce (126 bytes)
//
// 1 xrefs:
// > PlayLayer::destroyPlayer @ 0x1000880dd
//
// This function is hookable on this platform (idp: pc, 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:20:03 +0000
//
__int64 __fastcall sub_100084250(__int64 a1)
{
__int64 v2; // rdi
__int64 v3; // r14
PlatformToolbox::showCursor(a1);
PlayerObject::releaseAllButtons(*(_QWORD *)(a1 + 3256));
v2 = *(_QWORD *)(a1 + 3264);
if ( v2 )
PlayerObject::releaseAllButtons(v2);
UILayer::resetAllButtons(*(_QWORD *)(a1 + 13288));
UILayer::toggleMenuVisibility(*(_QWORD *)(a1 + 13288), 0);
*(_BYTE *)(a1 + 14637) = 1;
v3 = sub_1004F7070();
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v3, 100);
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1328LL))(v3, 0);
}