// // CMS_set1_eContentType from 0x875404 to 0x8754f4 (240 bytes) // // 1 xrefs: // > @ 0x6a44c // // 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_set1_eContentType(int *a1, const char **a2) { char *v4; // r0 const char ***v6; // r4 const char **v7; // r5 v4 = OBJ_obj2nid(*a1); if ( v4 == (_BYTE *)&dword_18 + 1 ) goto LABEL_15; if ( (int)v4 > 25 ) { if ( v4 == (_BYTE *)&dword_CC + 1 ) { v6 = *(const char ****)(a1[1] + 20); goto LABEL_10; } if ( v4 != (_BYTE *)&stru_30C.st_value + 2 ) { if ( v4 != (_BYTE *)&dword_18 + 2 ) { LABEL_6: ERR_put_error(46, 130, 152, (int)"crypto/cms/cms_lib.c", 218); return 0; } v6 = *(const char ****)(a1[1] + 4); goto LABEL_10; } goto LABEL_9; } if ( v4 == (_BYTE *)&dword_14 + 2 ) { LABEL_15: v6 = *(const char ****)(a1[1] + 8); goto LABEL_10; } if ( v4 != (_BYTE *)&dword_14 + 3 ) goto LABEL_6; LABEL_9: v6 = *(const char ****)(a1[1] + 12); LABEL_10: if ( !v6 ) return 0; if ( !a2 ) return 1; v7 = OBJ_dup(a2); if ( !v7 ) return 0; ASN1_OBJECT_free(*v6); *v6 = v7; return 1; }