{"type": "func", "start": 4736088, "end": 4736126, "name": "EditorUI::onLockLayer", "pseudocode": "// \n// EditorUI::onLockLayer from 0x484458 to 0x48447e (38 bytes)\n// \n// 1 xrefs:\n// > EditorUI::handleEditorAction @ 0x6f21ba\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:49:24 +0000\n// \n\nint __fastcall EditorUI::onLockLayer(EditorUI *this, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n  int result; // r0\n  int v5; // r1\n\n  v3 = (GameManager *)GameManager::sharedState(this);\n  result = GameManager::getGameVariable(v3, \"0103\");\n  if ( result )\n  {\n    LevelEditorLayer::toggleLockActiveLayer(*((_DWORD *)this + 236));\n    return EditorUI::updateGroupIDLabel(this, v5);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::onLockLayer from 0x484458 to 0x48447e (38 bytes)\n; \n; 1 xrefs:\n; > EditorUI::handleEditorAction @ 0x6f21ba\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:49:24 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x484458\nMOV             R4, R0                                                 ; +0x2, 0x48445a\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x48445c\nLDR             R1, =(a0103 - 0x484466); \"0103\"                        ; +0x8, 0x484460\nADD             R1, PC; \"0103\"                                         ; +0xa, 0x484462\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0xc, 0x484464\nCBZ             R0, locret_48447C                                      ; +0x10, 0x484468\nLDR.W           R0, [R4,#0x3B0]; this                                  ; +0x12, 0x48446a\nBL              _ZN16LevelEditorLayer21toggleLockActiveLayerEv; LevelEditorLayer::toggleLockActiveLayer(void) ; +0x16, 0x48446e\nMOV             R0, R4; this                                           ; +0x1a, 0x484472\nPOP.W           {R4,LR}                                                ; +0x1c, 0x484474\nB.W             _ZN8EditorUI18updateGroupIDLabelEv; EditorUI::updateGroupIDLabel(void) ; +0x20, 0x484478\nPOP             {R4,PC}                                                ; +0x24, 0x48447c", "xrefs": ["EditorUI::handleEditorAction @ 0x6f21ba"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}