//
// sub_1001A8A3C from 0x1001a8a3c to 0x1001a8aa0 (100 bytes)
//
// 3 xrefs:
// > EditorUI::alignObjects @ 0x10015f5e0
// > EditorUI::assignNewGroups @ 0x10047a944
// > EditorUI::createGradientFromSelection @ 0x10047b1cc
//
// 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_1001A8A3C(__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 + 1);
(*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v2 + 1360LL))(&v5, v2);
return (unsigned int)(int)(float)(v3 - *((float *)&v5 + 1));
}