//
// ASN1_TYPE_set_octetstring from 0xe0e970 to 0xe0ea08 (152 bytes)
//
// 2 xrefs:
// > EVP_CIPHER_set_asn1_iv @ 0xdaa628
// > ??> @ 0x7c0e0
//
// 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 ASN1_TYPE_set_octetstring(__int64 a1, char *a2, int a3)
{
__int64 v4; // x0
__int64 v5; // x20
v4 = ASN1_OCTET_STRING_new();
v5 = v4;
if ( !v4 )
return 0;
if ( (unsigned int)ASN1_OCTET_STRING_set(v4, a2, a3) )
{
ASN1_TYPE_set(a1, 4, v5);
return 1;
}
else
{
ASN1_OCTET_STRING_free(v5);
return 0;
}
}