{"type": "func", "start": 4295011312, "end": 4295011378, "name": "EditorUI::onLockLayer", "pseudocode": "// \n// EditorUI::onLockLayer from 0x10000abf0 to 0x10000ac32 (66 bytes)\n// \n// 2 xrefs:\n// > EditorUI::handleEditorAction @ 0x10060be63\n// > EditorUI::init @ 0x100007591\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:18:49 +0000\n// \n\n__int64 __fastcall EditorUI::onLockLayer(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v3; // rax\n  __int64 result; // rax\n\n  v3 = GameManager::sharedState(a1, a2, a3);\n  result = GameManager::getGameVariable(v3, \"0103\");\n  if ( (_BYTE)result )\n  {\n    LevelEditorLayer::toggleLockActiveLayer(*(_QWORD *)(a1 + 1440));\n    return EditorUI::updateGroupIDLabel(a1);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::onLockLayer from 0x10000abf0 to 0x10000ac32 (66 bytes)\n; \n; 2 xrefs:\n; > EditorUI::handleEditorAction @ 0x10060be63\n; > EditorUI::init @ 0x100007591\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:18:49 +0000\n; \npush    rbp                                                            ; +0x0, 0x10000abf0\nmov     rbp, rsp                                                       ; +0x1, 0x10000abf1\npush    rbx                                                            ; +0x4, 0x10000abf4\npush    rax                                                            ; +0x5, 0x10000abf5\nmov     rbx, rdi                                                       ; +0x6, 0x10000abf6\ncall    GameManager__sharedState                                       ; +0x9, 0x10000abf9\nlea     rsi, a0103; \"0103\"                                             ; +0xe, 0x10000abfe\nmov     rdi, rax                                                       ; +0x15, 0x10000ac05\ncall    GameManager__getGameVariable                                   ; +0x18, 0x10000ac08\ntest    al, al                                                         ; +0x1d, 0x10000ac0d\njz      short loc_10000AC2B                                            ; +0x1f, 0x10000ac0f\nmov     rdi, [rbx+5A0h]                                                ; +0x21, 0x10000ac11\ncall    LevelEditorLayer__toggleLockActiveLayer                        ; +0x28, 0x10000ac18\nmov     rdi, rbx                                                       ; +0x2d, 0x10000ac1d\nadd     rsp, 8                                                         ; +0x30, 0x10000ac20\npop     rbx                                                            ; +0x34, 0x10000ac24\npop     rbp                                                            ; +0x35, 0x10000ac25\njmp     EditorUI__updateGroupIDLabel                                   ; +0x36, 0x10000ac26\nadd     rsp, 8                                                         ; +0x3b, 0x10000ac2b\npop     rbx                                                            ; +0x3f, 0x10000ac2f\npop     rbp                                                            ; +0x40, 0x10000ac30\nretn                                                                   ; +0x41, 0x10000ac31", "xrefs": ["EditorUI::handleEditorAction @ 0x10060be63", "EditorUI::init @ 0x100007591"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}