//
// CCBlockLayer::layerHidden from 0x140046380 to 0x1400463b7 (55 bytes)
//
// 4 xrefs:
// > ??> @ 0x140707c08
// > ??> @ 0x14074ac00
// > ??> @ 0x1407d2778
// > ??> @ 0x14090f920
//
// 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:25:31 +0000
//
__int64 __fastcall CCBlockLayer::layerHidden(_BYTE *a1)
{
__int64 result; // rax
__int64 v3; // rdx
result = (*(__int64 (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 336LL))(a1, 0);
if ( a1[544] )
{
LOBYTE(v3) = 1;
return (*(__int64 (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)a1 + 520LL))(a1, v3);
}
return result;
}