// // PKCS7_set_digest from 0x104d154 to 0x104d228 (212 bytes) // // 1 xrefs: // > @ 0xc61a8 // // 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:16:37 +0000 // __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