// // CMS_SignedData_init from 0x876930 to 0x876a10 (224 bytes) // // 1 xrefs: // > @ 0x6a56c // // 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_SignedData_init(int *a1) { int v2; // r3 int result; // r0 _DWORD *v4; // r0 char ***v5; // r6 _DWORD *v6; // r0 char **v7; // r0 if ( a1[1] ) { if ( OBJ_obj2nid(*a1) == (_BYTE *)&dword_14 + 2 ) { v2 = a1[1]; goto LABEL_5; } ERR_put_error(46, 133, 108, (int)"crypto/cms/cms_sd.c", 26); return 0; } v4 = ASN1_item_new((int)&CMS_SignedData_it); a1[1] = (int)v4; if ( !v4 ) { ERR_put_error(46, 149, 65, (int)"crypto/cms/cms_sd.c", 37); return 0; } *v4 = 1; v5 = (char ***)v4[2]; *v5 = OBJ_nid2obj(0x15u); v6 = (_DWORD *)*a1; *(_DWORD *)(*(_DWORD *)(a1[1] + 8) + 8) = 1; ASN1_OBJECT_free(v6); v7 = OBJ_nid2obj(0x16u); v2 = a1[1]; *a1 = (int)v7; LABEL_5: result = v2; if ( v2 ) return 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source