//
// sub_1001A89D8 from 0x1001a89d8 to 0x1001a8a3c (100 bytes)
//
// 3 xrefs:
// > EditorUI::alignObjects @ 0x10015f5d8
// > EditorUI::assignNewGroups @ 0x10047a93c
// > EditorUI::createLoop @ 0x10047aca0
//
// 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:00:04 +0000
//
__int64 __fastcall sub_1001A89D8(__int64 a1, __int64 *a2)
{
__int64 v2; // x19
float v3; // s8
__int64 v5; // [xsp+8h] [xbp-28h] BYREF
v2 = *a2;
(*(void (__fastcall **)(__int64 *__return_ptr))(**(_QWORD **)a1 + 1360LL))(&v5);
v3 = *(float *)&v5;
(*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v2 + 1360LL))(&v5, v2);
return (unsigned int)(int)(float)(v3 - *(float *)&v5);
}