// // EC_KEY_priv2buf from 0xd90974 to 0xd90a20 (172 bytes) // // 4 xrefs: // > sub_D8CA44 @ 0xd8cb2c // > EC_KEY_print @ 0xd8cd8c // > i2d_ECPrivateKey @ 0xd8e900 // > @ 0x86a78 // // 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 // __int64 __fastcall EC_KEY_priv2buf(__int64 a1, __int64 *a2) { __int64 v4; // x0 __int64 result; // x0 __int64 v6; // x21 v4 = EC_KEY_priv2oct(a1); if ( !v4 ) return 0; v6 = CRYPTO_malloc(v4, "crypto/ec/ec_key.c", 619); if ( !v6 ) return 0; result = EC_KEY_priv2oct(a1); if ( result ) { *a2 = v6; } else { CRYPTO_free(v6, "crypto/ec/ec_key.c", 624); return 0; } return result; }