//
// sub_1004487C4 from 0x1004487c4 to 0x100448854 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x10084d390
//
// 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_1004487C4(__int64 a1)
{
__int64 v1; // x1
__int64 result; // x0
v1 = qword_100886E60[*(int *)(a1 + 48)];
if ( v1 )
{
sub_1004B1970(
*((_QWORD *)off_1008524C8 + 54),
v1,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_dsp_transceiver.cpp",
941,
1);
qword_100886E60[*(int *)(a1 + 48)] = 0;
}
if ( --dword_100886EA8 )
{
return 0;
}
else
{
result = sub_1004B5C10(qword_100886EA0, 0);
if ( !(_DWORD)result )
qword_100886EA0 = 0;
}
return result;
}