{"type": "func", "start": 6875724, "end": 6875800, "name": "EditorUI::onLockLayer", "pseudocode": "// \n// EditorUI::onLockLayer from 0x68ea4c to 0x68ea98 (76 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x92700\n// > EditorUI::init @ 0x6bdae0\n// > <???> @ 0x122cff8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditorUI::onLockLayer(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // x0\n\n  v3 = GameManager::sharedState();\n  if ( GameManager::getGameVariable(v3, \"0103\") )\n  {\n    LevelEditorLayer::toggleLockActiveLayer(a1->m_editorLayer);\n    EditorUI::updateGroupIDLabel(a1);\n  }\n}", "assembly": "; \n; EditorUI::onLockLayer from 0x68ea4c to 0x68ea98 (76 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x92700\n; > EditorUI::init @ 0x6bdae0\n; > <???> @ 0x122cff8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x68ea4c\nMOV             X29, SP                                                ; +0x4, 0x68ea50\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x68ea54\nMOV             X19, X0                                                ; +0xc, 0x68ea58\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x10, 0x68ea5c\nADRL            X1, a0103; \"0103\"                                      ; +0x14, 0x68ea60\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x1c, 0x68ea68\nUXTB            W0, W0                                                 ; +0x20, 0x68ea6c\nCBNZ            W0, loc_68EA80                                         ; +0x24, 0x68ea70\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x28, 0x68ea74\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x2c, 0x68ea78\nRET                                                                    ; +0x30, 0x68ea7c\nLDR             X0, [X19,#0x4F8]; this                                 ; +0x34, 0x68ea80\nBL              _ZN16LevelEditorLayer21toggleLockActiveLayerEv; LevelEditorLayer::toggleLockActiveLayer(void) ; +0x38, 0x68ea84\nMOV             X0, X19; this                                          ; +0x3c, 0x68ea88\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x40, 0x68ea8c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x44, 0x68ea90\nB               _ZN8EditorUI18updateGroupIDLabelEv; EditorUI::updateGroupIDLabel(void) ; +0x48, 0x68ea94", "xrefs": ["<???> @ 0x92700", "EditorUI::init @ 0x6bdae0", "<???> @ 0x122cff8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}