{"type": "func", "start": 4299055304, "end": 4299055488, "name": "EditorUI::updateStickyControls", "pseudocode": "// \n// EditorUI::updateStickyControls from 0x1003e60c8 to 0x1003e6180 (184 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::updateOptions @ 0x1003579e8\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 __fastcall EditorUI::updateStickyControls(EditorUI *a1)\n{\n  GameManager *v2; // x0\n  GameManager *v3; // x0\n\n  v2 = GameManager::sharedState();\n  a1->m_stickyControlsEnabled = GameManager::getGameVariable(v2, \"0097\");\n  v3 = GameManager::sharedState();\n  a1->m_linkControlsDisabled = GameManager::getGameVariable(v3, \"0180\");\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_enableLinkBtn->setEnabled)(\n    a1->m_enableLinkBtn,\n    a1->m_stickyControlsEnabled);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_enableLinkBtn->setVisible)(\n    a1->m_enableLinkBtn,\n    a1->m_stickyControlsEnabled);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_linkBtn->setEnabled)(\n    a1->m_linkBtn,\n    a1->m_stickyControlsEnabled);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_linkBtn->setVisible)(\n    a1->m_linkBtn,\n    a1->m_stickyControlsEnabled);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_unlinkBtn->setEnabled)(\n    a1->m_unlinkBtn,\n    a1->m_stickyControlsEnabled);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_unlinkBtn->setVisible)(\n    a1->m_unlinkBtn,\n    a1->m_stickyControlsEnabled);\n}", "assembly": "; \n; EditorUI::updateStickyControls from 0x1003e60c8 to 0x1003e6180 (184 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::updateOptions @ 0x1003579e8\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003e60c8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003e60cc\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003e60d0\nMOV             X19, X0                                                ; +0xc, 0x1003e60d4\nBL              GameManager__sharedState                               ; +0x10, 0x1003e60d8\nADRL            X1, a0097; \"0097\"                                      ; +0x14, 0x1003e60dc\nBL              GameManager__getGameVariable                           ; +0x1c, 0x1003e60e4\nSTRB            W0, [X19,#0x30B]                                       ; +0x20, 0x1003e60e8\nBL              GameManager__sharedState                               ; +0x24, 0x1003e60ec\nADRL            X1, a0180; \"0180\"                                      ; +0x28, 0x1003e60f0\nBL              GameManager__getGameVariable                           ; +0x30, 0x1003e60f8\nSTRB            W0, [X19,#0x30C]                                       ; +0x34, 0x1003e60fc\nLDR             X0, [X19,#0x3B0]                                       ; +0x38, 0x1003e6100\nLDRB            W1, [X19,#0x30B]                                       ; +0x3c, 0x1003e6104\nLDR             X8, [X0]                                               ; +0x40, 0x1003e6108\nLDR             X8, [X8,#0x410]                                        ; +0x44, 0x1003e610c\nBLR             X8                                                     ; +0x48, 0x1003e6110\nLDR             X0, [X19,#0x3B0]                                       ; +0x4c, 0x1003e6114\nLDRB            W1, [X19,#0x30B]                                       ; +0x50, 0x1003e6118\nLDR             X8, [X0]                                               ; +0x54, 0x1003e611c\nLDR             X8, [X8,#0x148]                                        ; +0x58, 0x1003e6120\nBLR             X8                                                     ; +0x5c, 0x1003e6124\nLDR             X0, [X19,#0x3A0]                                       ; +0x60, 0x1003e6128\nLDRB            W1, [X19,#0x30B]                                       ; +0x64, 0x1003e612c\nLDR             X8, [X0]                                               ; +0x68, 0x1003e6130\nLDR             X8, [X8,#0x410]                                        ; +0x6c, 0x1003e6134\nBLR             X8                                                     ; +0x70, 0x1003e6138\nLDR             X0, [X19,#0x3A0]                                       ; +0x74, 0x1003e613c\nLDRB            W1, [X19,#0x30B]                                       ; +0x78, 0x1003e6140\nLDR             X8, [X0]                                               ; +0x7c, 0x1003e6144\nLDR             X8, [X8,#0x148]                                        ; +0x80, 0x1003e6148\nBLR             X8                                                     ; +0x84, 0x1003e614c\nLDR             X0, [X19,#0x3A8]                                       ; +0x88, 0x1003e6150\nLDRB            W1, [X19,#0x30B]                                       ; +0x8c, 0x1003e6154\nLDR             X8, [X0]                                               ; +0x90, 0x1003e6158\nLDR             X8, [X8,#0x410]                                        ; +0x94, 0x1003e615c\nBLR             X8                                                     ; +0x98, 0x1003e6160\nLDR             X0, [X19,#0x3A8]                                       ; +0x9c, 0x1003e6164\nLDRB            W1, [X19,#0x30B]                                       ; +0xa0, 0x1003e6168\nLDR             X8, [X0]                                               ; +0xa4, 0x1003e616c\nLDR             X2, [X8,#0x148]                                        ; +0xa8, 0x1003e6170\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xac, 0x1003e6174\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xb0, 0x1003e6178\nBR              X2                                                     ; +0xb4, 0x1003e617c", "xrefs": ["LevelEditorLayer::updateOptions @ 0x1003579e8"], "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"}