//
// sub_140141C80 from 0x140141c80 to 0x140141ccf (79 bytes)
//
// 2 xrefs:
// > GJGameLevel::create @ 0x14016c092
// > ??> @ 0x1406ca398
//
// 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_140141C80(_DWORD *a1, int a2)
{
float v4; // xmm0_4
__int64 result; // rax
a1[165] = a2;
v4 = (float)((float)rand() / 32767.0) * 1000.0;
a1[164] = (int)v4;
result = (unsigned int)(a2 + (int)v4);
a1[163] = result;
return result;
}