//
// GJChallengeItem::init from 0x100056310 to 0x10005639c (140 bytes)
//
// 0 xrefs:
//
// 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:19:36 +0000
//
char __fastcall GJChallengeItem::init(__int64 a1, int a2, int a3, int a4, int a5, const std::string *a6)
{
float v8; // xmm0_4
float v9; // xmm0_4
*(_DWORD *)(a1 + 56) = a2;
*(_DWORD *)(a1 + 96) = a5;
std::string::operator=((std::string *)(a1 + 112), a6);
*(_DWORD *)(a1 + 92) = a3;
v8 = (float)((float)rand() * 4.6566129e-10) * 1000.0;
*(_DWORD *)(a1 + 88) = (int)v8;
*(_DWORD *)(a1 + 84) = a3 + (int)v8;
*(_DWORD *)(a1 + 80) = a4;
v9 = (float)((float)rand() * 4.6566129e-10) * 1000.0;
*(_DWORD *)(a1 + 76) = (int)v9;
*(_DWORD *)(a1 + 72) = a4 + (int)v9;
return 1;
}