//
// sub_856E8 from 0x856e8 to 0x8577e (150 bytes)
//
// 1 xrefs:
// > sub_85374 @ 0x85378
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:41:20 +0000
//
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;
}