//
// sub_55B08 from 0x55b08 to 0x55b84 (124 bytes)
//
// 2 xrefs:
// > ??> @ 0x55b06
// > sub_54452 @ 0x54452
//
// 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:40:45 +0000
//
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;
}