//
// sub_1004AC14C from 0x1004ac14c to 0x1004ac1c0 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x100828338
//
// 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_1004AC14C(__int64 a1)
{
__int64 result; // x0
__int64 v3; // x1
result = *(_QWORD *)(a1 + 496);
if ( result == -1 || (result = sub_1004F5F00(result), *(_QWORD *)(a1 + 496) = -1, !(_DWORD)result) )
{
v3 = *(_QWORD *)(a1 + 520);
if ( v3 )
{
result = sub_1004B1970(
*((_QWORD *)off_1008524C8 + 54),
v3,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_file_net.cpp",
777,
1);
*(_QWORD *)(a1 + 520) = 0;
}
return sub_1004B3C10(result);
}
return result;
}