//
// GameSettingsLayer::dropDownLayerWillClose from 0x1402c7e10 to 0x1402c7e74 (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x140765d78
// > ??> @ 0x14091dc0c
//
// 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 11:29:22 +0000
//
// Hidden C++ exception states: #wind=3
void GameSettingsLayer::dropDownLayerWillClose()
{
__int64 v0; // rcx
void *v1; // [rsp+40h] [rbp+18h]
v0 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v1 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v1);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v0 = qword_14090BFD0;
}
if ( !*(_QWORD *)(v0 + 560) && !*(_QWORD *)(v0 + 568) )
GameManager::fadeInMenuMusic(v0);
}