//
// FMOD::Sound::getMusicChannelVolume from 0xda0ac to 0xda144 (152 bytes)
//
// 4 xrefs:
// > FMOD::Sound::getMusicChannelVolume @ 0x10739c
// > ??> @ 0x5d28
// > FMOD::Sound::getMusicChannelVolume @ 0x107394
// > ??> @ 0x110290
//
// 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::getMusicChannelVolume(FMOD::Sound *this, int a2, float *a3)
{
unsigned int v3; // w22
__int64 v4; // x0
int v5; // w8
char v6; // zf
__int64 v7; // x0
__int64 v8; // x8
__int64 v9; // x0
char v10; // w8
_BYTE *v11; // x0
__int64 v12; // x1
unsigned int v13; // w2
float *v14; // x3
v3 = sub_DA3AC(this);
if ( !v3 )
{
v4 = sub_DA368();
if ( !v5 || (v4 = sub_DA358(v4), v6) || (v4 = sub_DA410(v4), v6) )
{
v7 = sub_DA5A8(v4);
v9 = (*(__int64 (__fastcall **)(__int64))(v8 + 344))(v7);
v3 = v9;
if ( !(_DWORD)v9 )
goto LABEL_9;
}
else
{
v3 = 46;
}
}
v9 = sub_DA344();
if ( v10 < 0 )
{
v11 = (_BYTE *)sub_DA56C(v9);
sub_CFACC(v11, v12, v13, v14);
v9 = sub_DA398(v3, 5);
}
LABEL_9:
sub_DA4E8(v9);
return v3;
}