//
// sub_E8B0E4 from 0xe8b0e4 to 0xe8b170 (140 bytes)
//
// 2 xrefs:
// > sub_E8AFCC @ 0xe8b020
// > sub_E8AFCC @ 0xe8b028
//
// 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 13:10:52 +0000
//
__int64 __fastcall sub_E8B0E4(_QWORD *a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, _DWORD *a6)
{
__int64 v7; // x21
__int64 result; // x0
v7 = a1[75];
(*(void (**)(void))(a1[80] + 8LL))();
(*(void (__fastcall **)(_QWORD *, _QWORD, __int64, _QWORD))(a1[82] + 8LL))(
a1,
*(_QWORD *)(v7 + 24),
a5 + 8LL * (unsigned int)*a6,
0);
result = (unsigned int)*a6;
*a6 = result;
return result;
}