//
// sub_100489580 from 0x100489580 to 0x100489601 (129 bytes)
//
// 0 xrefs:
//
// 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_100489580(__int64 a1, __int64 *a2)
{
__int64 v3; // [rsp+8h] [rbp-28h] BYREF
int v4; // [rsp+10h] [rbp-20h]
float v5; // [rsp+14h] [rbp-1Ch]
v3 = *a2;
v4 = *((_DWORD *)a2 + 2);
v5 = 1.0 / sub_100609000(&v3);
sub_1006090A0(&v3, &v3);
*(_QWORD *)a1 = v3;
*(_DWORD *)(a1 + 8) = v4;
*(float *)(a1 + 12) = v5 * *((float *)a2 + 3);
return a1;
}