//
// sub_140141C30 from 0x140141c30 to 0x140141c7f (79 bytes)
//
// 2 xrefs:
// > GJGameLevel::create @ 0x14016c06c
// > ??> @ 0x1406ca38c
//
// 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_140141C30(_DWORD *a1, int a2)
{
float v4; // xmm0_4
__int64 result; // rax
a1[162] = a2;
v4 = (float)((float)rand() / 32767.0) * 1000.0;
a1[161] = (int)v4;
result = (unsigned int)(a2 + (int)v4);
a1[160] = result;
return result;
}