//
// EditorUI::onUngroupSticky from 0x1004716ec to 0x100471738 (76 bytes)
//
// 2 xrefs:
// > EditorUI::handleEditorAction @ 0x1001633f4
// > EditorUI::init @ 0x10046f730
//
// 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 11:05:38 +0000
//
__int64 __fastcall EditorUI::onUngroupSticky(__int64 result)
{
__int64 v1; // x19
if ( (*(_BYTE *)(result + 868) & 1) == 0 )
{
v1 = result;
result = sub_1002E757C(*(_QWORD *)(result + 896));
if ( (_DWORD)result )
{
GJBaseGameLayer::ungroupStickyObjects(*(_QWORD *)(v1 + 1440), *(_QWORD *)(v1 + 896));
return EditorUI::updateButtons(v1);
}
}
return result;
}