//
// sub_E618EC from 0xe618ec to 0xe61914 (40 bytes)
//
// 1 xrefs:
// > EVP_PBE_alg_add_type @ 0xe61a20
//
// 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_E618EC(_QWORD *a1, __int64 a2)
{
_DWORD *v2; // x3
__int64 result; // x0
v2 = (_DWORD *)*a1;
result = (unsigned int)(*(_DWORD *)*a1 - **(_DWORD **)a2);
if ( !(_DWORD)result )
return (unsigned int)(v2[1] - *(_DWORD *)(*(_QWORD *)a2 + 4LL));
return result;
}