//
// OptionsLayer::layerHidden from 0x8ed738 to 0x8ed7d4 (156 bytes)
//
// 2 xrefs:
// > ??> @ 0x98080
// > ??> @ 0x145f858
//
// 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 12:56:56 +0000
//
__int64 __fastcall OptionsLayer::layerHidden(OptionsLayer *this)
{
SupportLayer *v2; // x0
__int64 v3; // x0
__int64 v4; // x20
__int64 v5; // x0
v2 = (SupportLayer *)*((unsigned int *)this + 160);
switch ( (_DWORD)v2 )
{
case 2:
v3 = SupportLayer::create(v2);
goto LABEL_7;
case 3:
v3 = AccountLayer::create(v2);
goto LABEL_7;
case 1:
v3 = SongsLayer::create(v2);
LABEL_7:
v4 = v3;
v5 = (*(__int64 (__fastcall **)(OptionsLayer *))(*(_QWORD *)this + 512LL))(this);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v5 + 464LL))(v5, v4, 100);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 1328LL))(v4, 0);
return GJDropDownLayer::layerHidden(this);
}
return GJDropDownLayer::layerHidden(this);
}