//
// sub_8089F8 from 0x8089f8 to 0x808a78 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0xa32344
//
// 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 sub_8089F8(int 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, 6, (int)a3);
return -2;
}