//
// EditorUI::onLockLayer from 0x7c63c0 to 0x7c640c (76 bytes)
//
// 4 xrefs:
// > EditorUI::handleEditorAction @ 0xbd77ac
// > ??> @ 0xc1978
// > EditorUI::init @ 0x7d0cf0
// > ??> @ 0x1545a50
//
// 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:54:08 +0000
//
__int64 __fastcall EditorUI::onLockLayer(EditorUI *this, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
__int64 result; // x0
v3 = (GameManager *)GameManager::sharedState(this);
result = (unsigned __int8)GameManager::getGameVariable(v3, "0103");
if ( (_BYTE)result )
{
LevelEditorLayer::toggleLockActiveLayer(*((_QWORD *)this + 180));
return EditorUI::updateGroupIDLabel(this);
}
return result;
}