{"type": "func", "start": 4299157112, "end": 4299157172, "name": "LevelEditorLayer::unlockAllLayers", "pseudocode": "// \n// LevelEditorLayer::unlockAllLayers from 0x1003fee78 to 0x1003feeb4 (60 bytes)\n// \n// 2 xrefs:\n// > EditorUI::handleEditorAction @ 0x1001632c4\n// > EditorCommandsPopup::onCommand @ 0x1004c5b14\n// \n// This function is hookable on this platform (idp: arm, 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 11:04:37 +0000\n// \n\n__int64 __fastcall LevelEditorLayer::unlockAllLayers(__int64 result)\n{\n  unsigned __int64 v1; // x8\n  __int64 v2; // x9\n\n  v1 = 0;\n  v2 = *(_QWORD *)(result + 14528);\n  do\n  {\n    *(_QWORD *)(v2 + ((v1 >> 3) & 0x1FFFFFFFFFFFFFF8LL)) &= ~(1LL << v1);\n    ++v1;\n  }\n  while ( v1 != 10000 );\n  *(_DWORD *)(result + 14552) = 0;\n  return result;\n}", "assembly": "; \n; LevelEditorLayer::unlockAllLayers from 0x1003fee78 to 0x1003feeb4 (60 bytes)\n; \n; 2 xrefs:\n; > EditorUI::handleEditorAction @ 0x1001632c4\n; > EditorCommandsPopup::onCommand @ 0x1004c5b14\n; \n; This function is hookable on this platform (idp: arm, 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 11:04:37 +0000\n; \nMOV             X8, #0                                                 ; +0x0, 0x1003fee78\nLDR             X9, [X0,#0x38C0]                                       ; +0x4, 0x1003fee7c\nMOV             W10, #1                                                ; +0x8, 0x1003fee80\nMOV             W11, #0x2710                                           ; +0xc, 0x1003fee84\nLSR             X12, X8, #3                                            ; +0x10, 0x1003fee88\nAND             X12, X12, #0x1FFFFFFFFFFFFFF8                          ; +0x14, 0x1003fee8c\nLDR             X13, [X9,X12]                                          ; +0x18, 0x1003fee90\nLSL             X14, X10, X8                                           ; +0x1c, 0x1003fee94\nBIC             X13, X13, X14                                          ; +0x20, 0x1003fee98\nSTR             X13, [X9,X12]                                          ; +0x24, 0x1003fee9c\nADD             X8, X8, #1                                             ; +0x28, 0x1003feea0\nCMP             X8, X11                                                ; +0x2c, 0x1003feea4\nB.NE            loc_1003FEE88                                          ; +0x30, 0x1003feea8\nSTR             WZR, [X0,#0x38D8]                                      ; +0x34, 0x1003feeac\nRET                                                                    ; +0x38, 0x1003feeb0", "xrefs": ["EditorUI::handleEditorAction @ 0x1001632c4", "EditorCommandsPopup::onCommand @ 0x1004c5b14"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}