//
// sub_100251590 from 0x100251590 to 0x1002515ff (111 bytes)
//
// 1 xrefs:
// > GJMapObject::moveMonster @ 0x10025153d
//
// This function is hookable on this platform (idp: pc, 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 12:27:24 +0000
//
int __fastcall sub_100251590(__int64 a1)
{
int result; // eax
timeb v2; // [rsp+0h] [rbp-20h] BYREF
double v3; // [rsp+10h] [rbp-10h]
*(_BYTE *)(a1 + 357) = 0;
ftime(&v2);
v3 = (double)v2.millitm / 1000.0 + (double)SLODWORD(v2.time);
result = rand();
*(double *)(a1 + 360) = (float)((float)((float)result * 4.6566129e-10) * 5.0) + v3;
return result;
}