//
// alignXSort from 0xbcaf20 to 0xbcafb0 (144 bytes)
//
// 5 xrefs:
// > ??> @ 0x9cfa0
// > EditorUI::createLoop @ 0x7c3f44
// > EditorUI::assignNewGroups @ 0x7d1fec
// > EditorUI::alignObjects @ 0xc030b0
// > ??> @ 0x1544558
//
// 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 13:03:34 +0000
//
__int64 __fastcall alignXSort(_QWORD *a1, __int64 *a2)
{
__int64 v2; // x21
float v3; // s8
__int64 v5; // [xsp+30h] [xbp+30h] BYREF
v2 = *a2;
(*(void (__fastcall **)(__int64 *__return_ptr, _QWORD))(*(_QWORD *)*a1 + 1360LL))(&v5, *a1);
v3 = *(float *)&v5;
(*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v2 + 1360LL))(&v5, v2);
return (unsigned int)(int)(float)(v3 - *(float *)&v5);
}