//
// sub_856E8 from 0x856e8 to 0x8577e (150 bytes)
//
// 1 xrefs:
// > sub_85374 @ 0x85378
//
// 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
//
int __fastcall sub_856E8(_DWORD *a1)
{
_DWORD *v1; // r1
int v3; // r1
int v4; // r1
v1 = (_DWORD *)a1[95];
if ( v1 && v1 != a1 + 85 )
{
sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), v1, "../../src/fmod_codec_wav.cpp", 440, 1);
a1[95] = 0;
}
v3 = a1[82];
if ( v3 )
{
sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), v3, "../../src/fmod_codec_wav.cpp", 445, 1);
a1[82] = 0;
}
a1[83] = 0;
v4 = a1[80];
if ( v4 )
{
sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), v4, "../../src/fmod_codec_wav.cpp", 451, 1);
a1[80] = 0;
}
a1[79] = 0;
return 0;
}