//
// sub_1005E08BC from 0x1005e08bc to 0x1005e0948 (140 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:09:40 +0000
//
__int64 __fastcall sub_1005E08BC(__int64 a1, int a2, _BYTE *a3, __int64 a4, __int64 a5)
{
int v7; // w21
const char *v8; // x1
char v9; // w9
unsigned __int8 *v10; // x8
int v11; // t1
v7 = -2128831035;
if ( a2 )
v8 = "Core Audio input (Voice)";
else
v8 = "Core Audio input";
sub_1005ECD38(a3, v8, a4);
v9 = *a3;
if ( *a3 )
{
v10 = a3 + 1;
do
{
v7 = 16777619 * (v7 ^ v9);
v11 = *v10++;
v9 = v11;
}
while ( v11 );
}
*(_DWORD *)(a5 + 12) = 0;
*(_QWORD *)(a5 + 4) = 0;
*(_DWORD *)a5 = v7;
return 0;
}