//
// sub_100587C78 from 0x100587c78 to 0x100587ce8 (112 bytes)
//
// 1 xrefs:
// > sub_100587C08 @ 0x100587c40
//
// 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 11:08:33 +0000
//
__int64 __fastcall sub_100587C78(__int64 a1)
{
__int64 v2; // x1
if ( *(_QWORD *)(a1 + 376) )
{
sub_10060DB44();
sub_10060DA94(*(_QWORD *)(a1 + 376));
*(_QWORD *)(a1 + 376) = 0;
}
v2 = *(_QWORD *)(a1 + 448);
if ( v2 )
{
sub_1005D7AD8(
*((_QWORD *)off_1009DA5E8 + 54),
v2,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_codec_flac.cpp",
423,
1);
*(_QWORD *)(a1 + 440) = 0;
*(_QWORD *)(a1 + 448) = 0;
}
*(_DWORD *)(a1 + 456) = 0;
*(_QWORD *)(a1 + 8) = 0;
return 0;
}