//
// GameToolbox::fast_rand_0_1 from 0x1004f1980 to 0x1004f19b2 (50 bytes)
//
// 10 xrefs:
// > GJBaseGameLayer::tryGetObject @ 0x1001236a9
// > GJBaseGameLayer::modifyObjectPhysics @ 0x1001486fe
// > GJBaseGameLayer::modifyObjectPhysics @ 0x10014872d
// > GJBaseGameLayer::modifyObjectPhysics @ 0x10014876c
// > GJBaseGameLayer::modifyObjectPhysics @ 0x1001487aa
// > GJBaseGameLayer::processAdvancedFollowAction @ 0x1001495c1
// > GJBaseGameLayer::processAdvancedFollowAction @ 0x100149604
// > EffectGameObject::triggerObject @ 0x1001b9f39
// > RandTriggerGameObject::getRandomGroupID @ 0x1001c3278
// > RandTriggerGameObject::triggerObject @ 0x1001c341c
//
// 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
//
float __fastcall GameToolbox::fast_rand_0_1()
{
qword_1009A2460 = 214013 * qword_1009A2460 + 2531011;
return (float)(WORD1(qword_1009A2460) & 0x7FFF) / 32767.0;
}