//
// GameToolbox::fast_rand from 0x3ce128 to 0x3ce15e (54 bytes)
//
// 1 xrefs:
// > GameToolbox::fast_rand_0_1 @ 0x3ce172
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:39 +0000
//
__int64 __fastcall GameToolbox::fast_rand(GameToolbox *this)
{
unsigned int v1; // r0
v1 = (unsigned int)(214013 * qword_D2A6D0 + 2531011) >> 16;
qword_D2A6D0 = 214013 * qword_D2A6D0 + 2531011;
return v1 & 0x7FFF;
}