//
// FMOD::Sound::deleteSyncPoint from 0xd9b78 to 0xd9bfc (132 bytes)
//
// 4 xrefs:
// > FMOD::Sound::deleteSyncPoint @ 0x10730c
// > ??> @ 0x10a8
// > FMOD::Sound::deleteSyncPoint @ 0x107304
// > ??> @ 0x110248
//
// 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::deleteSyncPoint(__int64 a1)
{
unsigned int v1; // w21
__int64 v2; // x0
char v3; // w8
__int64 v4; // x0
__int64 v6; // x0
int v7; // w8
char v8; // zf
__int64 v9; // x0
__int64 v10; // x8
__int64 v11; // [xsp+0h] [xbp-130h] BYREF
v1 = sub_DA3C4(a1);
if ( !v1 )
{
v6 = sub_DA368();
if ( !v7 || (v6 = sub_DA358(v6), v8) )
{
v9 = sub_DA478(v6);
v2 = (*(__int64 (__fastcall **)(__int64))(v10 + 272))(v9);
v1 = v2;
if ( !(_DWORD)v2 )
goto LABEL_4;
}
else
{
v1 = 46;
}
}
v2 = sub_DA344();
if ( v3 < 0 )
{
v4 = sub_DA5D8(&v11);
v2 = sub_DA388(v4);
}
LABEL_4:
sub_DA538(v2);
return v1;
}