//
// randRange from 0x2f09e2 to 0x2f0a0e (44 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::checkpointActivated @ 0x47978a
// > GJBaseGameLayer::lightningFlash @ 0x47987c
//
// 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 randRange(float a1, float a2)
{
return a1 + (float)(vcvts_n_f32_s32(rand(), 0x1Fu) * (float)(a2 - a1));
}