//
// ASN1_TYPE_set_octetstring from 0x108cc70 to 0x108cd08 (152 bytes)
//
// 2 xrefs:
// > EVP_CIPHER_set_asn1_iv @ 0x1028988
// > ??> @ 0xa59d0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:17:16 +0000
//
__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;
}
}