//
// sub_140141E10 from 0x140141e10 to 0x140141e59 (73 bytes)
//
// 2 xrefs:
// > GJGameLevel::create @ 0x14016c182
// > ??> @ 0x1406ca3d4
//
// 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_140141E10(__int64 a1, int a2)
{
float v4; // xmm0_4
__int64 result; // rax
v4 = (float)((float)rand() / 32767.0) * 1000.0;
*(_DWORD *)(a1 + 940) = (int)v4;
result = (unsigned int)(a2 + (int)v4);
*(_DWORD *)(a1 + 936) = result;
return result;
}