//
// GameToolbox::fast_rand from 0x2ed278 to 0x2ed2ae (54 bytes)
//
// 1 xrefs:
// > GameToolbox::fast_rand_0_1 @ 0x2ed2c2
//
// 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()
{
unsigned int v0; // r0
v0 = (unsigned int)(214013 * qword_AC5518 + 2531011) >> 16;
qword_AC5518 = 214013 * qword_AC5518 + 2531011;
return v0 & 0x7FFF;
}