//
// LevelEditorLayer::isLayerLocked from 0x1000e9cf0 to 0x1000e9d21 (49 bytes)
//
// 1 xrefs:
// > EditorUI::updateGroupIDLabel @ 0x10002c6ff
//
// 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
//
// local variable allocation has failed, the output may be wrong!
bool __fastcall LevelEditorLayer::isLayerLocked(LevelEditorLayer *a1, int a2)
{
__int64 v2; // rax
if ( (unsigned int)a2 > 0x270F || !a1->m_layerLockingEnabled )
return 0;
v2 = *(_QWORD *)&a1->m_lockedLayers.__begin_[8 * ((unsigned int)a2 >> 6)];
return _bittest64(&v2, *(unsigned __int64 *)&a2);
}