//
// sub_100616790 from 0x100616790 to 0x1006167f8 (104 bytes)
//
// 9 xrefs:
// > FMOD::DSPConnection::getInput @ 0x1005b08ac
// > FMOD::DSPConnection::getOutput @ 0x1005b0984
// > FMOD::DSPConnection::setMix @ 0x1005b0a60
// > FMOD::DSPConnection::getMix @ 0x1005b0b48
// > FMOD::DSPConnection::setMixMatrix @ 0x1005b0c38
// > FMOD::DSPConnection::getMixMatrix @ 0x1005b0dd4
// > FMOD::DSPConnection::getType @ 0x1005b0f50
// > FMOD::DSPConnection::setUserData @ 0x1005b1028
// > FMOD::DSPConnection::getUserData @ 0x1005b1100
//
// This function is hookable on this platform (idp: arm, 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 11:10:12 +0000
//
__int64 __fastcall sub_100616790(__int64 *a1, __int64 **a2, __int64 *a3)
{
__int64 v4; // x20
__int64 result; // x0
if ( !a2 )
return 31;
if ( !a1 )
return 30;
*a2 = a1;
if ( !a3 )
return 0;
v4 = *a1;
result = 28;
if ( v4 && !*a3 )
{
result = sub_100568E64(v4);
if ( !(_DWORD)result )
*a3 = v4;
}
return result;
}