//
// ossl_ec_key_gen from 0x7e8e00 to 0x7e8e34 (52 bytes)
//
// 2 xrefs:
// > ??> @ 0x616cc
// > ??> @ 0xab2684
//
// 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 ossl_ec_key_gen(int a1)
{
int (*v1)(void); // r3
v1 = *(int (**)(void))(**(_DWORD **)(a1 + 12) + 172);
if ( !v1 )
OPENSSL_die("assertion failed: eckey->group->meth->keygen != NULL", "crypto/ec/ec_key.c", 194);
return v1();
}