//
// sub_E87B4 from 0xe87b4 to 0xe87f0 (60 bytes)
//
// 2 xrefs:
// > sub_E8E78 @ 0xe8eb8
// > sub_E8E78 @ 0xe8ec0
//
// 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 12:15:00 +0000
//
__int64 __fastcall sub_E87B4(__int64 a1)
{
__int64 result; // x0
int v2; // w0
if ( *(_QWORD *)a1 )
{
result = *(_QWORD *)(*(_QWORD *)a1 + 8LL);
if ( !result )
return result;
v2 = j_so_AAudioStream_requestStop();
if ( v2 && v2 != -895 )
return 28;
}
return 0;
}