//
// sub_10054CD54 from 0x10054cd54 to 0x10054ce60 (268 bytes)
//
// 1 xrefs:
// > sub_1005F7390 @ 0x1005f7c8c
//
// 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_10054CD54(__int64 a1, __int64 a2, _QWORD *a3)
{
__int64 v6; // x0
_QWORD *v7; // x21
__int64 v8; // x0
__int64 result; // x0
*a3 = 0;
v6 = sub_1005D7364(
*((_QWORD *)off_1009DA5E8 + 54),
152,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_profile_dsp.cpp",
17,
0,
0,
1);
if ( !v6 )
return 38;
v7 = (_QWORD *)v6;
*(_QWORD *)(v6 + 16) = v6 + 8;
*(_QWORD *)(v6 + 24) = 0;
*(_QWORD *)v6 = off_1009AA2E0;
*(_QWORD *)(v6 + 8) = v6 + 8;
*(_OWORD *)(v6 + 96) = 0u;
*(_OWORD *)(v6 + 112) = 0u;
*(_DWORD *)(v6 + 128) = -1;
*(_QWORD *)(v6 + 140) = 0;
*(_QWORD *)(v6 + 132) = 0;
*(_DWORD *)(v6 + 148) = 0;
*(_QWORD *)(v6 + 32) = a1;
*(_QWORD *)(v6 + 40) = a2;
*(_QWORD *)(v6 + 72) = 0x12C00000000LL;
*(_DWORD *)(v6 + 80) = 0;
v8 = sub_1005D7660(
*((_QWORD *)off_1009DA5E8 + 54),
28220,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_profile_dsp.cpp",
44,
0);
v7[6] = v8;
if ( !v8 )
return 38;
v7[7] = v8;
v7[8] = v8 + 20;
v7[11] = 0;
result = (*(__int64 (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)a1 + 8LL))(a1, v7);
if ( !(_DWORD)result )
*a3 = v7;
return result;
}