//
// OptionsLayer::layerHidden from 0x100113a80 to 0x100113b0c (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008d0988
//
// 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:09 +0000
//
__int64 __fastcall OptionsLayer::layerHidden(_DWORD *a1)
{
int v2; // w8
__int64 v3; // x0
__int64 v4; // x20
__int64 v5; // x0
v2 = a1[160];
switch ( v2 )
{
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 **)(_DWORD *))(*(_QWORD *)a1 + 512LL))(a1);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v5 + 464LL))(v5, v4, 100);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1328LL))(v4, 0);
break;
}
return GJDropDownLayer::layerHidden(a1);
}