//
// LevelEditorLayer::isLayerLocked from 0x46117c to 0x4611b2 (54 bytes)
//
// 1 xrefs:
// > EditorUI::updateGroupIDLabel @ 0x484346
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:53 +0000
//
bool __fastcall LevelEditorLayer::isLayerLocked(LevelEditorLayer *this, unsigned int a2)
{
int v2; // r3
if ( a2 > 0x270F )
return 0;
v2 = *((unsigned __int8 *)this + 11702);
if ( *((_BYTE *)this + 11702) )
return ((1 << (a2 & 0x1F)) & *(_DWORD *)(*((_DWORD *)this + 3000) + 4 * (a2 >> 5))) != 0;
return v2;
}