// // GJRewardItem::getRandomShardType from 0x10008f280 to 0x10008f2ce (78 bytes) // // 0 xrefs: // // 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() { __m128d v0; // xmm0 unsigned int v1; // ecx SpecialRewardItem result; // eax v0.f64[0] = (float)((float)rand() * 4.6566129e-10) * 10.0; v1 = (int)(_mm_round_sd(v0, v0, 9).f64[0] + 1.0) - 2; result = FireShard; if ( v1 <= 8 ) return dword_1008159D4[v1]; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source