//
// sub_DFAA0 from 0xdfaa0 to 0xdfb10 (112 bytes)
//
// 2 xrefs:
// > sub_DFCBC @ 0xdfcdc
// > sub_DFF28 @ 0xdffc0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_DFAA0(__int64 a1)
{
_QWORD *v1; // x9
__int64 v3; // x0
__int64 v4; // x0
v1 = *(_QWORD **)(a1 + 8);
*v1 = *(_QWORD *)a1;
*(_QWORD *)(*(_QWORD *)a1 + 8LL) = v1;
*(_QWORD *)a1 = a1;
*(_QWORD *)(a1 + 8) = a1;
*(_BYTE *)(a1 + 360) = 0;
sub_E4458(a1 + 24);
if ( !*(_BYTE *)(a1 + 420) )
*(int **)((char *)off_50 + (_QWORD)off_114000) = nullptr;
v3 = *(_QWORD *)(a1 + 408);
if ( v3 )
v3 = FMOD_OS_CriticalSection_Free(v3, 0);
v4 = sub_E0C64(v3);
sub_E0CBC(v4);
return 0;
}