//
// GameToolbox::fast_rand_minus1_1 from 0x1004ef280 to 0x1004ef2be (62 bytes)
//
// 1 xrefs:
// > SpawnTriggerGameObject::triggerObject @ 0x1001b3e19
//
// 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:31:23 +0000
//
float GameToolbox::fast_rand_minus1_1()
{
qword_100BE50F0 = 214013 * qword_100BE50F0 + 2531011;
return (float)((float)((float)(WORD1(qword_100BE50F0) & 0x7FFF) / 32767.0)
+ (float)((float)(WORD1(qword_100BE50F0) & 0x7FFF) / 32767.0))
+ -1.0;
}