//
// GameSettingsLayer::dropDownLayerWillClose from 0x100167180 to 0x1001671b4 (52 bytes)
//
// 2 xrefs:
// > j_GameSettingsLayer::dropDownLayerWillClose @ 0x1001671b4
// > ??> @ 0x1008e3488
//
// 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:48 +0000
//
__int64 __fastcall GameSettingsLayer::dropDownLayerWillClose(__int64 a1)
{
__int64 result; // x0
__int64 v2; // x0
result = GameManager::sharedState(a1);
if ( !*(_QWORD *)(result + 544) )
{
result = GameManager::sharedState(result);
if ( !*(_QWORD *)(result + 552) )
{
v2 = GameManager::sharedState(result);
return GameManager::fadeInMenuMusic(v2);
}
}
return result;
}