{"type": "func", "start": 3788764, "end": 3788806, "name": "EditorUI::onStickyToggle", "pseudocode": "// \n// EditorUI::onStickyToggle from 0x39cfdc to 0x39d006 (42 bytes)\n// \n// 0 xrefs:\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::onStickyToggle(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n  GameManager *v4; // r0\n\n  v3 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v3, \"0180\");\n  v4 = GameManager::sharedState();\n  a1->m_linkControlsDisabled = GameManager::getGameVariable(v4, \"0180\");\n  EditorUI::updateButtons(a1);\n}", "assembly": "; \n; EditorUI::onStickyToggle from 0x39cfdc to 0x39d006 (42 bytes)\n; \n; 0 xrefs:\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            {R3-R5,LR}                                             ; +0x0, 0x39cfdc\nMOV             R4, R0                                                 ; +0x2, 0x39cfde\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x39cfe0\nLDR             R5, =(a0180 - 0x39CFEA); \"0180\"                        ; +0x8, 0x39cfe4\nADD             R5, PC; \"0180\"                                         ; +0xa, 0x39cfe6\nMOV             R1, R5; char *                                         ; +0xc, 0x39cfe8\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0xe, 0x39cfea\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x12, 0x39cfee\nMOV             R1, R5; char *                                         ; +0x16, 0x39cff2\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x18, 0x39cff4\nSTRB.W          R0, [R4,#0x248]                                        ; +0x1c, 0x39cff8\nMOV             R0, R4; this                                           ; +0x20, 0x39cffc\nPOP.W           {R3-R5,LR}                                             ; +0x22, 0x39cffe\nB.W             _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0x26, 0x39d002", "xrefs": [], "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"}