// // randInt from 0x589374 to 0x5893d0 (92 bytes) // // 1 xrefs: // > @ 0x62718 // // 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 // __int64 __fastcall randInt(int a1, int a2) { __int64 result; // x0 LODWORD(result) = (int)(float)(floorf((float)((float)rand() * 4.6566e-10) * (float)(a2 + 1 - a1)) + (float)a1); if ( (int)result > a2 ) return (unsigned int)a2; else return (unsigned int)result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source