//
// cms_DigestedData_create from 0xae4254 to 0xae42d0 (124 bytes)
//
// 1 xrefs:
// > ??> @ 0x8570c
//
// 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:09:37 +0000
//
_DWORD *__fastcall cms_DigestedData_create(int a1)
{
_DWORD *v2; // r4
_DWORD *v3; // r5
char **v4; // r0
char ***v5; // r7
v2 = CMS_ContentInfo_new();
if ( !v2 )
return nullptr;
v3 = ASN1_item_new((int)&CMS_DigestedData_it);
if ( v3 )
{
v4 = OBJ_nid2obj(0x19u);
v2[1] = v3;
v5 = (char ***)v3[2];
*v2 = v4;
*v3 = 0;
*v5 = OBJ_nid2obj(0x15u);
X509_ALGOR_set_md((_DWORD **)v3[1], a1);
return v2;
}
else
{
CMS_ContentInfo_free(v2);
return nullptr;
}
}