//
// randomRange from 0x54b768 to 0x54b7b8 (80 bytes)
//
// 3 xrefs:
// > ShaderLayer::preGlitchShader @ 0x54d366
// > ShaderLayer::preGlitchShader @ 0x54d3be
// > ShaderLayer::preGlitchShader @ 0x54d3d8
//
// 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 randomRange(const cocos2d::CCPoint *a1, float a2, float a3)
{
cocos2d::CCPoint v6; // [sp+4h] [bp-10h] BYREF
cocos2d::CCPoint::CCPoint(&v6, a1);
return a2 + (float)(random2d(&v6.x) * (float)(a3 - a2));
}