//
// GameToolbox::fast_rand from 0x581e68 to 0x581e94 (44 bytes)
//
// 2 xrefs:
// > GameToolbox::fast_rand_0_1 @ 0x581e9c
// > ??> @ 0x57000
//
// 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
//
uint64_t GameToolbox::fast_rand()
{
qword_1241830 = 214013 * qword_1241830 + 2531011;
return ((unsigned __int64)qword_1241830 >> 16) & 0x7FFF;
}