//
// PKCS7_content_new from 0x829178 to 0x8291cc (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x65f1c
//
// 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 PKCS7_content_new(int a1, unsigned int a2)
{
_DWORD *v4; // r0
_DWORD *v5; // r4
v4 = PKCS7_new();
v5 = v4;
if ( v4 && PKCS7_set_type((int)v4, a2) && PKCS7_set_content(a1, (int)v5) )
return 1;
PKCS7_free(v5);
return 0;
}