// // CMS_add_smimecap from 0xa8c7fc to 0xa8c868 (108 bytes) // // 2 xrefs: // > CMS_add1_signer @ 0xa8d11c // > @ 0x840ec // // 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:08:55 +0000 // 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; }