//
// sub_10056437C from 0x10056437c to 0x100564430 (180 bytes)
//
// 1 xrefs:
// > sub_1005F4FC0 @ 0x1005f55d4
//
// 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:09 +0000
//
__int64 __fastcall sub_10056437C(_QWORD *a1)
{
_QWORD *v1; // x21
_QWORD *v2; // x19
_QWORD *v3; // x22
_QWORD *v4; // x24
v1 = a1 + 8450;
a1[8450] = a1 + 8450;
a1[8451] = a1 + 8450;
a1[8452] = 0;
a1[8453] = -1;
v3 = a1 + 8454;
v2 = (_QWORD *)a1[8454];
if ( v2 != a1 + 8454 )
{
do
{
sub_1005D7AD8(
*((_QWORD *)off_1009DA5E8 + 54),
v2[2],
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_systemi_dsp.cpp",
255,
1);
v4 = (_QWORD *)*v2;
sub_1005D7AD8(
*((_QWORD *)off_1009DA5E8 + 54),
v2,
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_systemi_dsp.cpp",
257,
1);
v2 = v4;
}
while ( v4 != v3 );
}
v1[4] = v1 + 4;
v1[5] = v3;
v1[6] = 0;
return 0;
}