//
// FMOD::Sound::set3DCustomRolloff from 0xd8a80 to 0xd8b18 (152 bytes)
//
// 4 xrefs:
// > FMOD::Sound::set3DCustomRolloff @ 0x1071dc
// > ??> @ 0x85f0
// > FMOD::Sound::set3DCustomRolloff @ 0x1071d4
// > ??> @ 0x1101b0
//
// 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 12:14:54 +0000
//
__int64 FMOD::Sound::set3DCustomRolloff()
{
unsigned int v0; // w22
__int64 v1; // x0
int v2; // w8
char v3; // zf
__int64 v4; // x0
__int64 v5; // x8
__int64 v6; // x0
char v7; // w8
__int64 v8; // x0
__int64 v9; // x1
float *v10; // x2
unsigned int v11; // w3
v0 = sub_DA3AC();
if ( !v0 )
{
v1 = sub_DA368();
if ( !v2 || (v1 = sub_DA358(v1), v3) || (v1 = sub_DA410(v1), v3) )
{
v4 = sub_DA594(v1);
v6 = (*(__int64 (__fastcall **)(__int64))(v5 + 104))(v4);
v0 = v6;
if ( !(_DWORD)v6 )
goto LABEL_9;
}
else
{
v0 = 46;
}
}
v6 = sub_DA344();
if ( v7 < 0 )
{
v8 = sub_DA580(v6);
sub_D1560(v8, v9, v10, v11);
v6 = sub_DA398(v0, 5);
}
LABEL_9:
sub_DA4E8(v6);
return v0;
}