{"type": "func", "start": 3654228, "end": 3654364, "name": "EditorUI::updateStickyControls", "pseudocode": "// \n// EditorUI::updateStickyControls from 0x37c254 to 0x37c2dc (136 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::updateOptions @ 0x365c92\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::updateStickyControls(EditorUI *a1)\n{\n  GameManager *v2; // r0\n  GameManager *v3; // r0\n  bool GameVariable; // r0\n  _BOOL4 m_stickyControlsEnabled; // r1\n\n  v2 = GameManager::sharedState();\n  a1->m_stickyControlsEnabled = GameManager::getGameVariable(v2, \"0097\");\n  v3 = GameManager::sharedState();\n  GameVariable = GameManager::getGameVariable(v3, \"0180\");\n  m_stickyControlsEnabled = a1->m_stickyControlsEnabled;\n  a1->m_linkControlsDisabled = GameVariable;\n  a1->m_enableLinkBtn->setEnabled(a1->m_enableLinkBtn, m_stickyControlsEnabled);\n  a1->m_enableLinkBtn->setVisible(a1->m_enableLinkBtn, a1->m_stickyControlsEnabled);\n  a1->m_linkBtn->setEnabled(a1->m_linkBtn, a1->m_stickyControlsEnabled);\n  a1->m_linkBtn->setVisible(a1->m_linkBtn, a1->m_stickyControlsEnabled);\n  a1->m_unlinkBtn->setEnabled(a1->m_unlinkBtn, a1->m_stickyControlsEnabled);\n  a1->m_unlinkBtn->setVisible(a1->m_unlinkBtn, a1->m_stickyControlsEnabled);\n}", "assembly": "; \n; EditorUI::updateStickyControls from 0x37c254 to 0x37c2dc (136 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::updateOptions @ 0x365c92\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\nPUSH            {R4,LR}                                                ; +0x0, 0x37c254\nMOV             R4, R0                                                 ; +0x2, 0x37c256\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x37c258\nLDR             R1, =(a0097 - 0x37C262); \"0097\"                        ; +0x8, 0x37c25c\nADD             R1, PC; \"0097\"                                         ; +0xa, 0x37c25e\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0xc, 0x37c260\nSTRB.W          R0, [R4,#0x247]                                        ; +0x10, 0x37c264\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x14, 0x37c268\nLDR             R1, =(a0180 - 0x37C272); \"0180\"                        ; +0x18, 0x37c26c\nADD             R1, PC; \"0180\"                                         ; +0x1a, 0x37c26e\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x1c, 0x37c270\nLDRB.W          R1, [R4,#0x247]                                        ; +0x20, 0x37c274\nSTRB.W          R0, [R4,#0x248]                                        ; +0x24, 0x37c278\nLDR.W           R0, [R4,#0x2A4]                                        ; +0x28, 0x37c27c\nLDR             R3, [R0]                                               ; +0x2c, 0x37c280\nLDR.W           R3, [R3,#0x208]                                        ; +0x2e, 0x37c282\nBLX             R3                                                     ; +0x32, 0x37c286\nLDR.W           R0, [R4,#0x2A4]                                        ; +0x34, 0x37c288\nLDRB.W          R1, [R4,#0x247]                                        ; +0x38, 0x37c28c\nLDR             R3, [R0]                                               ; +0x3c, 0x37c290\nLDR.W           R3, [R3,#0xA4]                                         ; +0x3e, 0x37c292\nBLX             R3                                                     ; +0x42, 0x37c296\nLDR.W           R0, [R4,#0x29C]                                        ; +0x44, 0x37c298\nLDRB.W          R1, [R4,#0x247]                                        ; +0x48, 0x37c29c\nLDR             R3, [R0]                                               ; +0x4c, 0x37c2a0\nLDR.W           R3, [R3,#0x208]                                        ; +0x4e, 0x37c2a2\nBLX             R3                                                     ; +0x52, 0x37c2a6\nLDR.W           R0, [R4,#0x29C]                                        ; +0x54, 0x37c2a8\nLDRB.W          R1, [R4,#0x247]                                        ; +0x58, 0x37c2ac\nLDR             R3, [R0]                                               ; +0x5c, 0x37c2b0\nLDR.W           R3, [R3,#0xA4]                                         ; +0x5e, 0x37c2b2\nBLX             R3                                                     ; +0x62, 0x37c2b6\nLDR.W           R0, [R4,#0x2A0]                                        ; +0x64, 0x37c2b8\nLDRB.W          R1, [R4,#0x247]                                        ; +0x68, 0x37c2bc\nLDR             R3, [R0]                                               ; +0x6c, 0x37c2c0\nLDR.W           R3, [R3,#0x208]                                        ; +0x6e, 0x37c2c2\nBLX             R3                                                     ; +0x72, 0x37c2c6\nLDR.W           R0, [R4,#0x2A0]                                        ; +0x74, 0x37c2c8\nLDRB.W          R1, [R4,#0x247]                                        ; +0x78, 0x37c2cc\nPOP.W           {R4,LR}                                                ; +0x7c, 0x37c2d0\nLDR             R3, [R0]                                               ; +0x80, 0x37c2d4\nLDR.W           R3, [R3,#0xA4]                                         ; +0x82, 0x37c2d6\nBX              R3                                                     ; +0x86, 0x37c2da", "xrefs": ["LevelEditorLayer::updateOptions @ 0x365c92"], "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"}