//
// LevelEditorLayer::isLayerLocked from 0x1000bc400 to 0x1000bc431 (49 bytes)
//
// 1 xrefs:
// > EditorUI::updateGroupIDLabel @ 0x10000acbf
//
// 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 12:20:32 +0000
//
unsigned __int8 __fastcall LevelEditorLayer::isLayerLocked(__int64 a1, unsigned __int64 a2)
{
__int64 v2; // rax
if ( (unsigned int)a2 > 0x270F || *(_BYTE *)(a1 + 14010) != 1 )
return 0;
v2 = *(_QWORD *)(*(_QWORD *)(a1 + 14528) + 8LL * ((unsigned int)a2 >> 6));
return _bittest64(&v2, a2);
}