//
// AccountHelpLayer::layerHidden from 0x140095920 to 0x1400959ac (140 bytes)
//
// 4 xrefs:
// > ??> @ 0x140718b00
// > ??> @ 0x14088cd70
// > ??> @ 0x14088cd80
// > ??> @ 0x140912c68
//
// 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 11:26:02 +0000
//
__int64 __fastcall AccountHelpLayer::layerHidden(_BYTE *a1)
{
_QWORD *v2; // rbx
__int64 v3; // rax
__int64 result; // rax
__int64 v5; // rdx
if ( a1[656] )
{
v2 = AccountLayer::create();
v3 = (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 504LL))(a1);
(*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)v3 + 456LL))(v3, v2, 100);
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v2 + 1080LL))(v2, 0);
}
result = (*(__int64 (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 336LL))(a1, 0);
if ( a1[584] )
{
LOBYTE(v5) = 1;
return (*(__int64 (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)a1 + 520LL))(a1, v5);
}
return result;
}