//
// alignXSort from 0x685674 to 0x685704 (144 bytes)
//
// 5 xrefs:
// > ??> @ 0x750c0
// > EditorUI::alignObjects @ 0x6b5e54
// > EditorUI::createLoop @ 0x6b67a4
// > EditorUI::assignNewGroups @ 0x6c3494
// > ??> @ 0x122be60
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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 + 1344LL))(&v5, *a1);
v3 = *(float *)&v5;
(*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v2 + 1344LL))(&v5, v2);
return (unsigned int)(int)(float)(v3 - *(float *)&v5);
}