//
// sub_E2890 from 0xe2890 to 0xe28f0 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x10f1f0
//
// 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:14:58 +0000
//
__int64 __fastcall sub_E2890(_QWORD *a1, __int64 a2)
{
__int64 (__fastcall *v4)(__int64, _QWORD); // x2
if ( sub_E2664(a1)
&& *(_QWORD *)(a2 + 48)
&& ((v4 = (__int64 (__fastcall *)(__int64, _QWORD))a1[68]) != nullptr
|| (v4 = *(__int64 (__fastcall **)(__int64, _QWORD))(a1[51] + 70160LL)) != nullptr) )
{
return v4(a2, a1[70]);
}
else
{
return 0;
}
}