//
// sub_10048C890 from 0x10048c890 to 0x10048c900 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x100851670
//
// 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_10048C890(__int64 *a1)
{
__int64 v1; // x8
unsigned int v2; // w9
void *v3; // x0
v1 = *a1;
v2 = *(_DWORD *)(*a1 + 592);
if ( !v2 )
{
v2 = ((unsigned int)(float)((float)((float)(*(float *)(v1 + 536) / 1000.0)
* (float)*(int *)(*(_QWORD *)(v1 + 168) + 1744LL))
+ 0.5)
+ 7)
& 0xFFFFFFF8;
*(_DWORD *)(v1 + 592) = v2;
}
*(_DWORD *)(v1 + 600) = 0;
*(_DWORD *)(v1 + 596) = v2;
*(_DWORD *)(v1 + 608) = 0;
v3 = *(void **)(v1 + 568);
if ( v3 )
bzero(v3, *(unsigned int *)(v1 + 584));
return 0;
}