//
// sub_100618EB0 from 0x100618eb0 to 0x100618ef4 (68 bytes)
//
// 1 xrefs:
// > FMOD::DSPConnection::getType @ 0x1005b0f64
//
// 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:14 +0000
//
__int64 __fastcall sub_100618EB0(__int64 a1, int *a2)
{
__int64 result; // x0
unsigned int v4; // w8
int v5; // w10
int v6; // w8
if ( !a2 )
return 31;
result = 0;
v4 = *(_DWORD *)(a1 + 124);
if ( (v4 & 1) != 0 )
v5 = 1;
else
v5 = (v4 >> 1) & 2;
if ( (~v4 & 5) != 0 )
v6 = v5;
else
v6 = 3;
*a2 = v6;
return result;
}