//
// sub_E2740 from 0xe2740 to 0xe2794 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x10f1e8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_E2740(_QWORD *a1, unsigned int a2)
{
__int64 (__fastcall *v4)(_QWORD, _QWORD, _QWORD); // x8
__int64 result; // x0
if ( sub_E2664(a1) )
return 0;
v4 = (__int64 (__fastcall *)(_QWORD, _QWORD, _QWORD))a1[66];
if ( !v4 )
{
sub_E28F4();
if ( !v4 )
return 0;
}
result = v4(a1[69], a2, a1[70]);
if ( !(_DWORD)result )
return 0;
return result;
}