// // GJRewardItem::getRandomShardType from 0x100055da0 to 0x100055dee (78 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 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 12:19:36 +0000 // __int64 __fastcall GJRewardItem::getRandomShardType(__m128d a1) { unsigned int v1; // ecx __int64 result; // rax a1.f64[0] = (float)((float)rand() * 4.6566129e-10) * 10.0; v1 = (int)(_mm_round_sd(a1, a1, 9).f64[0] + 1.0) - 2; result = 1; if ( v1 <= 8 ) return (unsigned int)dword_100A03D3C[v1]; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source