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