//
// sub_7E4790 from 0x7e4790 to 0x7e47e0 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0xa30d7c
//
// 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
//
int __fastcall sub_7E4790(int a1, int a2)
{
int v3; // r4
int v4; // r0
bool v5; // zf
int v6; // r2
v3 = EC_KEY_get0_group(*(_DWORD *)(a1 + 20));
v4 = EC_KEY_get0_group(*(_DWORD *)(a2 + 20));
v5 = v3 == 0;
if ( v3 )
v5 = v4 == 0;
v6 = v5;
if ( v5 )
return -2;
else
return EC_GROUP_cmp(v3, v4, v6) == 0;
}