//
// sub_55B08 from 0x55b08 to 0x55b84 (124 bytes)
//
// 2 xrefs:
// > ??> @ 0x55b06
// > sub_54452 @ 0x54452
//
// 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
//
int __fastcall sub_55B08(float *a1, float a2, float a3, float a4)
{
float v4; // s0
float v5; // s0
float v6; // s0
v4 = a4;
if ( a4 < 0.0 )
v4 = 0.0;
if ( v4 > 1.0 )
v4 = 1.0;
a1[27] = v4;
v5 = a3;
if ( a3 < 0.0 )
v5 = 0.0;
if ( v5 > 360.0 )
v5 = 360.0;
a1[26] = v5;
v6 = a2;
if ( a2 < 0.0 )
v6 = 0.0;
if ( v6 > 360.0 )
v6 = 360.0;
a1[25] = v6;
return 0;
}