//
// FMOD::ChannelControl::set3DOcclusion from 0xaf9a0 to 0xafa1a (122 bytes)
//
// 1 xrefs:
// > FMOD::ChannelControl::set3DOcclusion @ 0xe0a48
//
// 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::set3DOcclusion(FMOD::ChannelControl *this, float a2, float a3)
{
int v6; // r5
__int16 v8[128]; // [sp+8h] [bp-120h] BYREF
int v9; // [sp+108h] [bp-20h] BYREF
int v10; // [sp+10Ch] [bp-1Ch]
v9 = 0;
v6 = sub_47C34((int)this);
if ( v6
|| (v6 = (*(int (__fastcall **)(int, _DWORD, _DWORD))(*(_DWORD *)v10 + 200))(v10, LODWORD(a2), LODWORD(a3))) != 0 )
{
if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )
{
sub_AF46C(v8, 256, a2, a3);
sub_BAB40(v6, 4, this, "ChannelControl::set3DOcclusion", v8);
}
}
else
{
v6 = 0;
}
sub_444C0(&v9);
return v6;
}