// // CMS_add0_CertificateChoices from 0x109e3c8 to 0x109e498 (208 bytes) // // 2 xrefs: // > CMS_add0_cert @ 0x109e588 // > @ 0x7eee0 // // 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:30 +0000 // __int64 __fastcall CMS_add0_CertificateChoices(__int64 *a1) { int v2; // w0 int **v3; // x20 __int64 v4; // x19 __int64 v5; // x0 int *v7; // x0 v2 = OBJ_obj2nid(*a1); if ( v2 != 22 ) { if ( v2 == 23 ) { v3 = *(int ***)(a1[1] + 8); if ( v3 ) goto LABEL_4; } else { ERR_put_error(46, 128, 152, (__int64)"crypto/cms/cms_lib.c", 354); } return 0; } v3 = (int **)(a1[1] + 24); if ( a1[1] == -24 ) return 0; LABEL_4: if ( !*v3 ) { v7 = (int *)OPENSSL_sk_new_null(); *v3 = v7; if ( !v7 ) return 0; } v4 = ASN1_item_new((__int64)CMS_CertificateChoices_it); if ( !v4 ) return 0; if ( !(unsigned int)OPENSSL_sk_push(*v3, v4) ) { v5 = v4; v4 = 0; ASN1_item_free(v5, CMS_CertificateChoices_it); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source