//
// PKCS7_add0_attrib_signing_time from 0x10e44a0 to 0x10e4510 (112 bytes)
//
// 2 xrefs:
// > PKCS7_dataFinal @ 0x104be88
// > ??> @ 0x85af8
//
// 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:50 +0000
//
__int64 __fastcall PKCS7_add0_attrib_signing_time(__int64 a1, int *a2)
{
int *v2; // x19
v2 = a2;
if ( a2 )
return PKCS7_add_signed_attribute(a1, 0x34u, 0x17u, (__int64)v2);
v2 = X509_gmtime_adj(0, 0);
if ( v2 )
return PKCS7_add_signed_attribute(a1, 0x34u, 0x17u, (__int64)v2);
ERR_put_error(33, 135, 65, (__int64)"crypto/pkcs7/pk7_attr.c", 100);
return 0;
}