//
// EditorUI::onToggleSelectedOrder from 0x7c18bc to 0x7c18e0 (36 bytes)
//
// 2 xrefs:
// > SetGroupIDLayer::onToggleSelectedOrder @ 0xab8d80
// > ??> @ 0xd5b80
//
// 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:06 +0000
//
__int64 __fastcall EditorUI::onToggleSelectedOrder(__int64 a1, __int64 a2)
{
__int64 result; // x0
__int64 v3; // x2
result = *(_QWORD *)(a1 + 1440);
v3 = *(_QWORD *)(result + 14816);
if ( v3 && *(_DWORD *)(v3 + 916) == *(_DWORD *)(a2 + 916) )
a2 = 0;
*(_QWORD *)(result + 14816) = a2;
return result;
}