//
// sub_1005889E0 from 0x1005889e0 to 0x100588a84 (164 bytes)
//
// 0 xrefs:
//
// 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:33 +0000
//
__int64 __fastcall sub_1005889E0(__int64 a1, const void **a2)
{
size_t v4; // x21
void *v5; // x0
v4 = *(unsigned __int16 *)*a2;
*a2 = (char *)*a2 + 2;
v5 = (void *)sub_1005D7364(
*((_QWORD *)off_1009DA5E8 + 54),
(unsigned int)(2 * v4),
"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_codec_it.cpp",
192,
0,
0,
1);
*(_QWORD *)(a1 + 17448) = v5;
if ( !v5 )
return 38;
memcpy(v5, *a2, v4);
*a2 = (char *)*a2 + v4;
*(_QWORD *)(a1 + 17456) = *(_QWORD *)(a1 + 17448);
*(_BYTE *)(a1 + 17464) = 32;
return 0;
}