//
// GJGameLevel::setDailyID from 0x140144820 to 0x14014486f (79 bytes)
//
// 2 xrefs:
// > GJGameLevel::create @ 0x140263328
// > ??> @ 0x1409174f8
//
// 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 11:27:11 +0000
//
__int64 __fastcall GJGameLevel::setDailyID(_DWORD *a1, int a2)
{
float v4; // xmm0_4
__int64 result; // rax
a1[250] = a2;
v4 = (float)((float)rand() / 32767.0) * 1000.0;
a1[249] = (int)v4;
result = (unsigned int)(a2 + (int)v4);
a1[248] = result;
return result;
}