//
// EC_KEY_oct2priv from 0x9fe4f8 to 0x9fe55c (100 bytes)
//
// 2 xrefs:
// > d2i_ECPrivateKey @ 0x9fc0e0
// > ??> @ 0x7af9c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:07:36 +0000
//
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;
}