// // CMS_add_smimecap from 0x877bfc to 0x877c68 (108 bytes) // // 2 xrefs: // > CMS_add1_signer @ 0x87851c // > @ 0x6a66c // // 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 CMS_add_smimecap(int a1, size_t *a2) { int v3; // r0 int v5; // r4 void *v6; // [sp+Ch] [bp-8h] BYREF v6 = nullptr; v3 = i2d_X509_ALGORS(a2, (int *)&v6); if ( v3 <= 0 ) return 0; v5 = CMS_signed_add1_attr_by_NID(a1, 167, 16, v6, v3); CRYPTO_free(v6, (int)"crypto/cms/cms_sd.c", 860); return v5; }