//
// EditorUI::onStickyToggle from 0x100008b70 to 0x100008bb3 (67 bytes)
//
// 1 xrefs:
// > EditorUI::init @ 0x10000648a
//
// This function is hookable on this platform (idp: pc, 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:18:48 +0000
//
__int64 __fastcall EditorUI::onStickyToggle(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v4; // rdi
__int64 v5; // rdx
__int64 v6; // rax
v4 = GameManager::sharedState(a1, a2, a3);
GameManager::toggleGameVariable(v4, "0180");
v6 = GameManager::sharedState(v4, "0180", v5);
*(_BYTE *)(a1 + 868) = GameManager::getGameVariable(v6, "0180");
return EditorUI::updateButtons(a1);
}