//
// LevelEditorLayer::unlockAllLayers from 0x4611b2 to 0x4611ec (58 bytes)
//
// 2 xrefs:
// > EditorUI::handleEditorAction @ 0x6f20d0
// > EditorCommandsPopup::onCommand @ 0x77a846
//
// 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
//
int __fastcall LevelEditorLayer::unlockAllLayers(int this)
{
unsigned int i; // r3
unsigned int v2; // r5
char v3; // r2
for ( i = 0; i != 10000; ++i )
{
v2 = i >> 5;
v3 = i & 0x1F;
*(_DWORD *)(*(_DWORD *)(this + 12000) + 4 * v2) &= ~(1 << v3);
}
*(_DWORD *)(this + 12012) = 0;
return this;
}