//
// OptionsLayer::layerHidden from 0x1000ed568 to 0x1000ed5f4 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007847c8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall OptionsLayer::layerHidden(OptionsLayer *a1)
{
int m_layerChoice; // w8
void *v3; // x0
void *v4; // x20
__int64 v5; // x0
m_layerChoice = a1->m_layerChoice;
switch ( m_layerChoice )
{
case 1:
v3 = SongsLayer::create();
goto LABEL_7;
case 3:
v3 = AccountLayer::create();
goto LABEL_7;
case 2:
v3 = SupportLayer::create();
LABEL_7:
v4 = v3;
v5 = ((__int64 (__fastcall *)(OptionsLayer *))a1->getParent)(a1);
(*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v5 + 448LL))(v5, v4, 100);
(*(void (__fastcall **)(void *, _QWORD))(*(_QWORD *)v4 + 1312LL))(v4, 0);
break;
}
GJDropDownLayer::layerHidden(a1);
}