//
// ASN1_TYPE_set_octetstring from 0xa7b560 to 0xa7b5c0 (96 bytes)
//
// 2 xrefs:
// > EVP_CIPHER_set_asn1_iv @ 0xa1845c
// > ??> @ 0x7d07c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:46 +0000
//
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;
}