//
// FMOD::Sound::set3DConeSettings from 0xd88cc to 0xd89b0 (228 bytes)
//
// 4 xrefs:
// > FMOD::Sound::set3DConeSettings @ 0x1071bc
// > ??> @ 0x1930
// > FMOD::Sound::set3DConeSettings @ 0x1071b4
// > ??> @ 0x1101a0
//
// 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 __fastcall FMOD::Sound::set3DConeSettings(FMOD::Sound *this, long double a2, long double a3, long double a4)
{
unsigned int v7; // w20
__int64 v8; // x0
int v9; // w8
__int64 v10; // x0
char v11; // zf
__int64 v12; // x0
char v13; // w8
__int16 *v14; // x0
__int64 v15; // x1
__int64 v17; // [xsp+100h] [xbp-40h] BYREF
__int64 v18; // [xsp+108h] [xbp-38h] BYREF
v17 = 0;
v7 = sub_67800((__int64)this, &v18, (__int64)&v17);
if ( !v7 )
{
v8 = sub_DA3A0();
if ( !v9 || (v10 = sub_DA358(v8), v11) || (sub_DA688(v10), v11) )
{
v12 = (*(__int64 (__fastcall **)(__int64, long double, long double, long double))(*(_QWORD *)v18 + 88LL))(
v18,
a2,
a3,
a4);
v7 = v12;
if ( !(_DWORD)v12 )
goto LABEL_9;
}
else
{
v7 = 46;
}
}
v12 = sub_DA344();
if ( v13 < 0 )
{
v14 = (__int16 *)sub_DA69C(v12);
sub_D12B4(v14, v15, *(float *)&a2, *(float *)&a3, *(float *)&a4);
v12 = sub_DA398(v7, 5);
}
LABEL_9:
sub_DA66C(v12);
return v7;
}