//
// EC_KEY_priv2oct from 0x9fe3e8 to 0x9fe44c (100 bytes)
//
// 3 xrefs:
// > EC_KEY_priv2buf @ 0x9fe648
// > EC_KEY_priv2buf @ 0x9fe684
// > ??> @ 0x7b2ac
//
// 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_priv2oct(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 + 160);
if ( v3 )
return v3();
ERR_put_error(16, 256, 66, "crypto/ec/ec_key.c", 555);
return 0;
}