//
// OptionsLayer::layerHidden from 0x10087c610 to 0x10087c67f (111 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ba31f0
//
// 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:36:55 +0000
//
__int64 __fastcall OptionsLayer::layerHidden(_DWORD *a1)
{
int v1; // eax
char *v2; // rax
char *v3; // r14
__int64 v4; // rax
v1 = a1[160];
switch ( v1 )
{
case 1:
v2 = sub_100512AC0();
goto LABEL_7;
case 3:
v2 = AccountLayer::create();
goto LABEL_7;
case 2:
v2 = SupportLayer::create();
LABEL_7:
v3 = v2;
v4 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a1 + 512LL))(a1);
(*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)v4 + 464LL))(v4, v3, 100);
(*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)v3 + 1328LL))(v3, 0);
break;
}
return GJDropDownLayer::layerHidden(a1);
}