//
// GJChallengeItem::init from 0x1003dee48 to 0x1003deed4 (140 bytes)
//
// 1 xrefs:
// > GJChallengeItem::create @ 0x1003ded6c
//
// This function is hookable on this platform (idp: arm, 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:04:20 +0000
//
__int64 __fastcall GJChallengeItem::init(__int64 a1, int a2, int a3, int a4, int a5, std::string *__str)
{
float v9; // s0
float v10; // s0
*(_DWORD *)(a1 + 56) = a2;
*(_DWORD *)(a1 + 96) = a5;
std::string::operator=((std::string *)(a1 + 112), __str);
*(_DWORD *)(a1 + 92) = a3;
v9 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
*(_DWORD *)(a1 + 88) = (int)v9;
*(_DWORD *)(a1 + 80) = a4;
*(_DWORD *)(a1 + 84) = (int)v9 + a3;
v10 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0;
*(_DWORD *)(a1 + 72) = (int)v10 + a4;
*(_DWORD *)(a1 + 76) = (int)v10;
return 1;
}