//
// EditorUI::onStickyToggle from 0x6b582c to 0x6b5870 (68 bytes)
//
// 3 xrefs:
// > ??> @ 0x9bbe0
// > EditorUI::init @ 0x6bccb4
// > ??> @ 0x122d4f0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void EditorUI::onStickyToggle(EditorUI *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
GameManager *v4; // x0
v3 = GameManager::sharedState();
GameManager::toggleGameVariable(v3, "0180");
v4 = GameManager::sharedState();
a1->m_linkControlsDisabled = GameManager::getGameVariable(v4, "0180");
EditorUI::updateButtons(a1);
}