//
// FMOD::Sound::get3DConeSettings from 0xb4ffc to 0xb5094 (152 bytes)
//
// 1 xrefs:
// > FMOD::Sound::get3DConeSettings @ 0xe0518
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:41:42 +0000
//
int __fastcall FMOD::Sound::get3DConeSettings(FMOD::Sound *this, float *a2, float *a3, float *a4)
{
int v8; // r6
int v9; // r0
int v10; // r0
int v11; // r0
_BYTE v13[256]; // [sp+4h] [bp-11Ch] BYREF
_DWORD *v14; // [sp+104h] [bp-1Ch] BYREF
v8 = sub_54E84((int)this, &v14, 0);
if ( !v8 )
{
v9 = v14[47];
__dmb(0xBu);
if ( !v9 || (v10 = v14[47], __dmb(0xBu), v10 == 7) || (v11 = v14[47], __dmb(0xBu), v11 == 5) )
{
v8 = (*(int (__fastcall **)(_DWORD *, float *, float *, float *))(*v14 + 48))(v14, a2, a3, a4);
if ( !v8 )
return 0;
}
else
{
v8 = 46;
}
}
if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )
{
sub_AF6D4((int)v13, 256, a2, a3, a4);
sub_BAB40(v8, 5, this, "Sound::get3DConeSettings", v13);
}
return v8;
}