// // PKCS7_set_digest from 0xdcedf4 to 0xdceec8 (212 bytes) // // 1 xrefs: // > @ 0x95f58 // // 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 // __int64 __fastcall PKCS7_set_digest(__int64 a1, unsigned int *a2) { __int64 v6; // x22 __int64 v7; // x0 __int64 v8; // x19 unsigned int v9; // w0 if ( (unsigned int)OBJ_obj2nid(*(_QWORD *)(a1 + 24)) != 25 ) { ERR_put_error(33, 126, 113, (__int64)"crypto/pkcs7/pk7_lib.c", 390); return 1; } v6 = *(_QWORD *)(*(_QWORD *)(a1 + 32) + 8LL); v7 = ASN1_TYPE_new(); *(_QWORD *)(v6 + 8) = v7; if ( !v7 ) { ERR_put_error(33, 126, 65, (__int64)"crypto/pkcs7/pk7_lib.c", 382); return 0; } v8 = *(_QWORD *)(*(_QWORD *)(a1 + 32) + 8LL); **(_DWORD **)(v8 + 8) = 5; v9 = EVP_MD_type(a2); *(_QWORD *)v8 = OBJ_nid2obj(v9); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source