//
// CCBlockLayer::layerHidden from 0x140042720 to 0x140042757 (55 bytes)
//
// 4 xrefs:
// > ??> @ 0x14052d070
// > ??> @ 0x1405525c8
// > ??> @ 0x1405c6a78
// > ??> @ 0x1406c4410
//
// 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 CCBlockLayer::layerHidden(CCBlockLayer *a1)
{
_BOOL8 v2; // rdx
a1->setVisible(a1, 0);
if ( a1->m_closeOnHide )
{
LOBYTE(v2) = 1;
a1->removeFromParentAndCleanup(a1, v2);
}
}