// // CMS_set1_eContentType from 0x109e010 to 0x109e110 (256 bytes) // // 1 xrefs: // > @ 0x5bd98 // // 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_set1_eContentType(__int64 *a1, __int64 a2) { int v3; // w0 __int64 *v5; // x19 __int64 v6; // x20 v3 = OBJ_obj2nid(*a1); if ( v3 == 25 ) goto LABEL_14; if ( v3 <= 25 ) { if ( v3 != 22 ) { if ( v3 != 23 ) goto LABEL_6; goto LABEL_9; } LABEL_14: v5 = *(__int64 **)(a1[1] + 16); goto LABEL_10; } if ( v3 == 205 ) { v5 = *(__int64 **)(a1[1] + 40); goto LABEL_10; } if ( v3 == 786 ) { LABEL_9: v5 = *(__int64 **)(a1[1] + 24); goto LABEL_10; } if ( v3 != 26 ) { LABEL_6: ERR_put_error(46, 130, 152, (__int64)"crypto/cms/cms_lib.c", 218); return 0; } v5 = *(__int64 **)(a1[1] + 8); LABEL_10: if ( v5 ) { if ( !a2 ) return 1; v6 = OBJ_dup(a2); if ( v6 ) { ASN1_OBJECT_free(*v5); *v5 = v6; return 1; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source