//
// EditorUI::onStickyToggle from 0x486574 to 0x48659e (42 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:49:25 +0000
//
int __fastcall EditorUI::onStickyToggle(EditorUI *this, cocos2d::CCObject *a2)
{
GameManager *v3; // r0
GameManager *v4; // r0
GameManager *v5; // r0
v3 = (GameManager *)GameManager::sharedState(this);
v4 = (GameManager *)GameManager::toggleGameVariable(v3, "0180");
v5 = (GameManager *)GameManager::sharedState(v4);
*((_BYTE *)this + 644) = GameManager::getGameVariable(v5, "0180");
return EditorUI::updateButtons((cocos2d::CCArray **)this);
}