//
// sub_10054CED8 from 0x10054ced8 to 0x10054cf90 (184 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009aa2f0
//
// 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:07:51 +0000
//
__int64 __fastcall sub_10054CED8(__int64 a1)
{
int v2; // w8
__int64 v3; // x1
__int64 v4; // x1
sub_10054CF90(a1 + 96);
v2 = *(_DWORD *)(a1 + 148);
*(_DWORD *)(a1 + 144) = 0;
if ( v2 )
{
if ( v2 >= 1 )
{
v3 = *(_QWORD *)(a1 + 136);
if ( v3 )
sub_1005D7AD8(*((_QWORD *)off_1009DA5E8 + 54), v3, "../../src/fmod_memory.h", 255, 1);
}
*(_QWORD *)(a1 + 136) = 0;
*(_DWORD *)(a1 + 148) = 0;
}
v4 = *(_QWORD *)(a1 + 48);
if ( v4 )
{
sub_1005D7AD8(
*((_QWORD *)off_1009DA5E8 + 54),
v4,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_profile_dsp.cpp",
63,
1);
*(_QWORD *)(a1 + 48) = 0;
}
sub_1005D7AD8(
*((_QWORD *)off_1009DA5E8 + 54),
a1,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_profile_dsp.cpp",
64,
1);
return 0;
}