//
// sub_100008B30 from 0x100008b30 to 0x100008b7e (78 bytes)
//
// 3 xrefs:
// > EditorUI::assignNewGroups @ 0x100045383
// > EditorUI::createLoop @ 0x100045849
// > EditorUI::alignObjects @ 0x10004dbd5
//
// 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 sub_100008B30(_QWORD *a1, __int64 *a2)
{
__int64 v2; // rbx
float v4[2]; // [rsp+Ch] [rbp-14h] BYREF
float v5; // [rsp+14h] [rbp-Ch]
v2 = *a2;
(*(void (__fastcall **)(float *, _QWORD))(*(_QWORD *)*a1 + 1344LL))(v4, *a1);
v5 = v4[0];
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v2 + 1344LL))(v4, v2);
return (unsigned int)(int)(float)(v5 - v4[0]);
}