//
// cms_DigestedData_create from 0x10f8ee8 to 0x10f8f70 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0xf6268
//
// 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:18:13 +0000
//
__int64 __fastcall cms_DigestedData_create(__int64 a1)
{
__int64 result; // x0
_QWORD *v3; // x19
__int64 v4; // x20
char **v5; // x0
char ***v6; // x22
result = CMS_ContentInfo_new();
v3 = (_QWORD *)result;
if ( result )
{
v4 = ASN1_item_new((__int64)&CMS_DigestedData_it);
if ( v4 )
{
v5 = OBJ_nid2obj(0x19u);
v3[1] = v4;
*v3 = v5;
v6 = *(char ****)(v4 + 16);
*(_QWORD *)v4 = 0;
*v6 = OBJ_nid2obj(0x15u);
X509_ALGOR_set_md(*(__int64 **)(v4 + 8), a1);
return (__int64)v3;
}
else
{
CMS_ContentInfo_free((__int64)v3);
return 0;
}
}
return result;
}