//
// LevelEditorLayer::unlockAllLayers from 0x78b82c to 0x78b868 (60 bytes)
//
// 3 xrefs:
// > EditorUI::handleEditorAction @ 0xbd75f4
// > EditorCommandsPopup::onCommand @ 0xcbc164
// > ??> @ 0x9da80
//
// 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::unlockAllLayers(__int64 this)
{
unsigned __int64 i; // x2
unsigned __int64 v2; // x4
char v3; // w1
for ( i = 0; i != 10000; ++i )
{
v2 = i >> 6;
v3 = i & 0x3F;
*(_QWORD *)(*(_QWORD *)(this + 14528) + 8 * v2) &= ~(1LL << v3);
}
*(_DWORD *)(this + 14552) = 0;
return this;
}