// // GJRewardItem::getRandomShardType from 0x412978 to 0x4129c4 (76 bytes) // // 1 xrefs: // > GJRewardItem::getRandomNonMaxShardType @ 0x418cce // // 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 GJRewardItem::getRandomShardType() { unsigned int v0; // r0 unsigned int v1; // r3 v0 = rand(); v1 = (int)(floor(vcvts_n_f32_s32(v0, 0x1Fu) * 10.0) + 1.0) - 2; if ( v1 > 8 ) return FireShard; else return aD_1[v1 + 36]; }
GD Web Decomp Icon

GD Web Decomp

Raw Source