//
// sub_1800E7050 from 0x1800e7050 to 0x1800e70cb (123 bytes)
//
// 1 xrefs:
// > FMOD::System::set3DSettings @ 0x1800b0bfa
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 10:54:18 +0000
//
__int64 __fastcall sub_1800E7050(float *a1, float a2, float a3, float a4)
{
if ( (LODWORD(a2) & 0x7F800000) == 0x7F800000
|| (LODWORD(a3) & 0x7F800000) == 0x7F800000
|| (LODWORD(a4) & 0x7F800000) == 0x7F800000 )
{
return 29;
}
if ( a2 < 0.0 || a3 <= 0.0 || a4 < 0.0 )
return 31;
a1[17279] = a2;
a1[17277] = a3;
a1[17278] = a4;
return 0;
}