//
// EditorPauseLayer::onUnlockAllLayers from 0x1400dcc50 to 0x1400dcc8b (59 bytes)
//
// 1 xrefs:
// > EditorPauseLayer::customSetup @ 0x1400daca7
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void EditorPauseLayer::onUnlockAllLayers(EditorPauseLayer *a1, cocos2d::CCObject *a2)
{
LevelEditorLayer *m_editorLayer; // r10
unsigned __int64 v3; // rax
__int64 v4; // r9
int *v5; // r8
int v6; // ecx
m_editorLayer = a1->m_editorLayer;
v3 = 0;
v4 = 10000;
do
{
v5 = (int *)&m_editorLayer->m_lockedLayers._Myvec._Mypair._Myval2._Myfirst[v3 >> 5];
v6 = *v5 & ~(1 << (v3++ & 0x1F));
*v5 = v6;
--v4;
}
while ( v4 );
}