//
// sub_1800D5990 from 0x1800d5990 to 0x1800d59c9 (57 bytes)
//
// 4 xrefs:
// > sub_180018CF0 @ 0x180018d6a
// > sub_180025F50 @ 0x180025fca
// > sub_1800363B0 @ 0x18003642a
// > sub_18003D900 @ 0x18003d97a
//
// 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_1800D5990(__int64 a1, int a2, float a3)
{
if ( a2 < 0 || a2 >= *(_DWORD *)(a1 + 968) || a3 < 0.0 || a3 > 1.0 )
return 31;
*(float *)(*(_QWORD *)(a1 + 8LL * a2 + 976) + 240LL) = a3;
return 0;
}