//
// sub_1800E43E0 from 0x1800e43e0 to 0x1800e441a (58 bytes)
//
// 1 xrefs:
// > FMOD::ChannelI::validate @ 0x1800d0aa7
//
// 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_1800E43E0(unsigned int a1, _QWORD *a2)
{
__int64 v3; // rdx
if ( a2 && (*a2 = 0, a1 < 8) && (v3 = *((_QWORD *)off_1801AED20 + a1 + 44), (*a2 = v3) != 0) )
return 0;
else
return 31;
}