//
// LevelEditorLayer::isLayerLocked from 0x10035dd84 to 0x10035ddc8 (68 bytes)
//
// 1 xrefs:
// > EditorUI::updateGroupIDLabel @ 0x1003e59f8
//
// 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
//
bool __fastcall LevelEditorLayer::isLayerLocked(LevelEditorLayer *a1, int a2)
{
_BOOL8 v2; // x0
if ( (unsigned int)a2 >> 4 <= 0x270 && a1->m_layerLockingEnabled )
return (*(_QWORD *)&a1->m_lockedLayers.__begin_[((unsigned __int64)(unsigned int)a2 >> 3) & 0x1FFFFFF8] >> a2) & 1LL;
else
LOBYTE(v2) = 0;
return v2;
}