//
// sub_100462878 from 0x100462878 to 0x10046291c (164 bytes)
//
// 0 xrefs:
//
// 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_100462878(__int64 a1, const void **a2)
{
size_t v4; // x21
void *v5; // x0
v4 = *(unsigned __int16 *)*a2;
*a2 = (char *)*a2 + 2;
v5 = (void *)sub_1004B11FC(
*((_QWORD *)off_1008524C8 + 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;
}