//
// sub_6D254 from 0x6d254 to 0x6d2c8 (116 bytes)
//
// 1 xrefs:
// > FMOD::System::set3DSettings @ 0xdcd64
//
// 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
//
__int64 __fastcall sub_6D254(__int64 a1, float a2, float a3, float a4)
{
__int64 result; // x0
float *v6; // x8
if ( (~LODWORD(a2) & 0x7F800000) == 0 || (~LODWORD(a3) & 0x7F800000) == 0 || (~LODWORD(a4) & 0x7F800000) == 0 )
return 29;
result = 31;
if ( a2 >= 0.0 && a3 > 0.0 && a4 >= 0.0 )
{
v6 = (float *)(a1 + 69108);
v6[1] = a4;
v6[2] = a2;
*v6 = a3;
return 0;
}
return result;
}