//
// EVP_PKEY_CTX_hex2ctrl from 0x80770c to 0x807774 (104 bytes)
//
// 7 xrefs:
// > sub_8089F8 @ 0x808a50
// > sub_80B800 @ 0x80b8d0
// > sub_80B800 @ 0x80b914
// > sub_80BE54 @ 0x80bef8
// > sub_80BE54 @ 0x80bf38
// > sub_87296C @ 0x8729e4
// > ??> @ 0x63c8c
//
// 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 EVP_PKEY_CTX_hex2ctrl(int a1, int a2, int a3)
{
int v5; // r5
int v7; // r4
int v8; // [sp+4h] [bp-4h] BYREF
v5 = OPENSSL_hexstr2buf(a3, &v8);
if ( !v5 )
return 0;
v7 = (*(int (__fastcall **)(int, int, int, int))(*(_DWORD *)a1 + 100))(a1, a2, v8, v5);
CRYPTO_free(v5, "crypto/evp/pmeth_lib.c", 364);
return v7;
}