//
// LevelEditorLayer::isLayerLocked from 0x78b7e4 to 0x78b82c (72 bytes)
//
// 2 xrefs:
// > EditorUI::updateGroupIDLabel @ 0x7c61e4
// > ??> @ 0xa8d18
//
// This function is hookable on this platform (idp: arm, 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:53:26 +0000
//
__int64 __fastcall LevelEditorLayer::isLayerLocked(LevelEditorLayer *this, unsigned int a2)
{
unsigned int v2; // w2
v2 = 0;
if ( a2 <= 0x270F )
{
v2 = *((unsigned __int8 *)this + 14010);
if ( *((_BYTE *)this + 14010) )
return ((1LL << (a2 & 0x3F)) & *(_QWORD *)(*((_QWORD *)this + 1816) + 8 * ((unsigned __int64)(int)a2 >> 6))) != 0;
}
return v2;
}