//
// CCBlockLayer::layerHidden from 0x100518080 to 0x1005180be (62 bytes)
//
// 3 xrefs:
// > ??> @ 0x1008f7590
// > ??> @ 0x1009301b8
// > ??> @ 0x1009601f8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall CCBlockLayer::layerHidden(CCBlockLayer *a1)
{
((void (__fastcall *)(CCBlockLayer *, _QWORD))a1->setVisible)(a1, 0);
if ( a1->m_closeOnHide )
((void (__fastcall *)(CCBlockLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}