//
// alignYSort from 0xbcafb0 to 0xbcb040 (144 bytes)
//
// 5 xrefs:
// > ??> @ 0x844d8
// > EditorUI::createGradientFromSelection @ 0x7ca9dc
// > EditorUI::assignNewGroups @ 0x7d20e0
// > EditorUI::alignObjects @ 0xc032f8
// > ??> @ 0x1543738
//
// 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 alignYSort(_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 + 1);
(*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v2 + 1360LL))(&v5, v2);
return (unsigned int)(int)(float)(v3 - *((float *)&v5 + 1));
}