//
// sub_DAF8D0 from 0xdaf8d0 to 0xdaf960 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x11254a8
//
// 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 sub_DAF8D0(__int64 a1, char *a2, char *a3)
{
if ( !a3 )
return 0;
if ( !strcmp(a2, "key") )
return EVP_PKEY_CTX_str2ctrl(a1, 6, a3);
if ( !strcmp(a2, "hexkey") )
return EVP_PKEY_CTX_hex2ctrl(a1, 6u, (__int64)a3);
return 4294967294LL;
}