//
// EditorUI::onGroupSticky from 0x100008bc0 to 0x100008c0a (74 bytes)
//
// 2 xrefs:
// > EditorUI::handleEditorAction @ 0x10060c949
// > EditorUI::init @ 0x10000651e
//
// 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::onGroupSticky(__int64 a1)
{
__int64 result; // rax
if ( !*(_BYTE *)(a1 + 868) )
{
result = sub_1007FEF90(*(_QWORD *)(a1 + 896));
if ( (_DWORD)result )
{
GJBaseGameLayer::groupStickyObjects(*(_QWORD *)(a1 + 1440), *(_QWORD *)(a1 + 896));
return EditorUI::updateButtons(a1);
}
}
return result;
}