//
// FMOD::ChannelControl::set3DDopplerLevel from 0xafc98 to 0xafd0c (116 bytes)
//
// 1 xrefs:
// > FMOD::ChannelControl::set3DDopplerLevel @ 0xe0aa8
//
// 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:40 +0000
//
int __fastcall FMOD::ChannelControl::set3DDopplerLevel(FMOD::ChannelControl *this, float a2)
{
int v4; // r5
__int16 v6[128]; // [sp+8h] [bp-118h] BYREF
int v7; // [sp+108h] [bp-18h] BYREF
int v8; // [sp+10Ch] [bp-14h]
v7 = 0;
v4 = sub_47C34((int)this);
if ( v4 || (v4 = (*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)v8 + 228))(v8, LODWORD(a2))) != 0 )
{
if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )
{
sub_5C934(v6, 256, a2);
sub_BAB40(v4, 4, this, "ChannelControl::set3DDopplerLevel", v6);
}
}
else
{
v4 = 0;
}
sub_444C0(&v7);
return v4;
}