//
// EditorUI::onStickyToggle from 0x7c89c8 to 0x7c8a0c (68 bytes)
//
// 3 xrefs:
// > ??> @ 0xcd330
// > EditorUI::init @ 0x7cfcf8
// > ??> @ 0x1546058
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:54:09 +0000
//
__int64 __fastcall EditorUI::onStickyToggle(EditorUI *this, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
GameManager *v4; // x0
GameManager *v5; // x0
v3 = (GameManager *)GameManager::sharedState(this);
v4 = (GameManager *)GameManager::toggleGameVariable(v3, "0180");
v5 = (GameManager *)GameManager::sharedState(v4);
*((_BYTE *)this + 868) = GameManager::getGameVariable(v5, "0180");
return EditorUI::updateButtons(this);
}