//
// ASN1_TYPE_set_octetstring from 0x866960 to 0x8669c0 (96 bytes)
//
// 2 xrefs:
// > EVP_CIPHER_set_asn1_iv @ 0x80385c
// > ??> @ 0x635fc
//
// 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 ASN1_TYPE_set_octetstring(_DWORD *a1, const char *a2, int a3)
{
signed int *v6; // r0
int v7; // r5
v6 = (signed int *)ASN1_OCTET_STRING_new();
v7 = (int)v6;
if ( !v6 )
return 0;
if ( ASN1_OCTET_STRING_set(v6, a2, a3) )
{
ASN1_TYPE_set(a1, 4, v7);
return 1;
}
ASN1_OCTET_STRING_free(v7);
return 0;
}