//
// GJRewardItem::getRandomShardType from 0x1003dea10 to 0x1003dea64 (84 bytes)
//
// 1 xrefs:
// > GJRewardItem::getRandomNonMaxShardType @ 0x1003d2938
//
// 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 GJRewardItem::getRandomShardType()
{
unsigned int v0; // w8
v0 = (int)(floor(vcvts_n_f32_s32(rand(), 0x1Fu) * 10.0) + 1.0) - 2;
if ( v0 > 8 )
return 1;
else
return dword_10076E400[v0];
}