//
// OptionsLayer::layerHidden from 0x52c342 to 0x52c394 (82 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:52:01 +0000
//
int __fastcall OptionsLayer::layerHidden(OptionsLayer *this)
{
int v2; // r3
int v3; // r0
int v4; // r5
int v5; // r0
v2 = *((_DWORD *)this + 124);
switch ( v2 )
{
case 2:
v3 = SupportLayer::create(this);
goto LABEL_7;
case 3:
v3 = AccountLayer::create(this);
goto LABEL_7;
case 1:
v3 = SongsLayer::create(this);
LABEL_7:
v4 = v3;
v5 = (*(int (__fastcall **)(OptionsLayer *))(*(_DWORD *)this + 256))(this);
(*(void (__fastcall **)(int, int, int))(*(_DWORD *)v5 + 232))(v5, v4, 100);
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v4 + 664))(v4, 0);
break;
}
return GJDropDownLayer::layerHidden(this);
}