//
// EC_KEY_oct2priv from 0x7e98f8 to 0x7e995c (100 bytes)
//
// 2 xrefs:
// > d2i_ECPrivateKey @ 0x7e74e0
// > ??> @ 0x6151c
//
// 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 EC_KEY_oct2priv(int a1)
{
int *v1; // r3
int v2; // r3
int (*v3)(void); // r3
v1 = *(int **)(a1 + 12);
if ( !v1 )
return 0;
v2 = *v1;
if ( !v2 )
return 0;
v3 = *(int (**)(void))(v2 + 164);
if ( v3 )
return v3();
ERR_put_error(16, 255, 66, "crypto/ec/ec_key.c", 590);
return 0;
}