//
// FMOD::Sound::getUserData from 0xda2ec to 0xda344 (88 bytes)
//
// 4 xrefs:
// > FMOD::Sound::getUserData @ 0x1073dc
// > ??> @ 0x7eb8
// > FMOD::Sound::getUserData @ 0x1073d4
// > ??> @ 0x1102b0
//
// 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::getUserData(FMOD::Sound *this, void **a2)
{
unsigned int v2; // w20
__int64 v3; // x0
__int64 v4; // x8
__int64 v5; // x0
char v6; // w8
v2 = sub_DA490(this, a2);
if ( v2 || (v3 = sub_DA5F8(), (v2 = (*(__int64 (__fastcall **)(__int64))(v4 + 376))(v3)) != 0) )
{
v5 = sub_DA344();
if ( v6 < 0 )
{
sub_DA54C(v5);
sub_DA398(v2, 5);
}
}
return v2;
}