//
// sub_1003C4A78 from 0x1003c4a78 to 0x1003c4adc (100 bytes)
//
// 3 xrefs:
// > EditorUI::assignNewGroups @ 0x1003f33f4
// > EditorUI::createLoop @ 0x1003f3758
// > EditorUI::alignObjects @ 0x1003f7ab8
//
// 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_1003C4A78(__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 + 1344LL))(&v5);
v3 = *(float *)&v5;
(*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v2 + 1344LL))(&v5, v2);
return (unsigned int)(int)(float)(v3 - *(float *)&v5);
}