//
// FMOD::ChannelControl::set3DConeSettings from 0xd1208 to 0xd12b4 (172 bytes)
//
// 4 xrefs:
// > FMOD::ChannelControl::set3DConeSettings @ 0x10760c
// > ??> @ 0x2b78
// > FMOD::ChannelControl::set3DConeSettings @ 0x107604
// > ??> @ 0x1103c8
//
// 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:51 +0000
//
__int64 __fastcall FMOD::ChannelControl::set3DConeSettings(
FMOD::ChannelControl *this,
long double a2,
long double a3,
long double a4)
{
unsigned int v7; // w20
__int64 v8; // x0
char v9; // w8
__int64 v10; // x0
__int64 v11; // x0
__int64 v13; // [xsp+108h] [xbp-38h]
v7 = sub_D1E44(this);
if ( v7
|| (v8 = (*(__int64 (__fastcall **)(__int64, long double, long double, long double))(*(_QWORD *)v13 + 352LL))(
v13,
a2,
a3,
a4),
(v7 = v8) != 0) )
{
v8 = sub_D1CCC();
if ( v9 < 0 )
{
v10 = sub_D1FB4(v8);
v11 = sub_D12B4(v10, a2, a3, a4);
v8 = sub_D1CE0(v11);
}
}
sub_D1E80(v8);
return v7;
}