//
// EditorUI::onUngroupSticky from 0x100008c10 to 0x100008c5a (74 bytes)
//
// 2 xrefs:
// > EditorUI::handleEditorAction @ 0x10060c9ef
// > EditorUI::init @ 0x1000065a1
//
// 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::onUngroupSticky(__int64 a1)
{
__int64 result; // rax
if ( !*(_BYTE *)(a1 + 868) )
{
result = sub_1007FEF90(*(_QWORD *)(a1 + 896));
if ( (_DWORD)result )
{
GJBaseGameLayer::ungroupStickyObjects(*(_QWORD *)(a1 + 1440), *(_QWORD *)(a1 + 896));
return EditorUI::updateButtons(a1);
}
}
return result;
}