//
// sub_10013FBD4 from 0x10013fbd4 to 0x10013fc28 (84 bytes)
//
// 2 xrefs:
// > FMODAudioEngine::saveAudioState @ 0x1001399ac
// > FMODAudioEngine::loadAudioState @ 0x100139f0c
//
// 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
//
void __fastcall sub_10013FBD4(__int64 a1)
{
__int64 v2; // x8
__int64 i; // x9
if ( *(_QWORD *)(a1 + 24) )
{
sub_1001275D8(a1, *(void ***)(a1 + 16));
*(_QWORD *)(a1 + 16) = 0;
v2 = *(_QWORD *)(a1 + 8);
if ( v2 )
{
for ( i = 0; i != v2; ++i )
*(_QWORD *)(*(_QWORD *)a1 + 8 * i) = 0;
}
*(_QWORD *)(a1 + 24) = 0;
}
}