// // PKCS7_set_signed_attributes from 0x828c88 to 0x828d10 (136 bytes) // // 1 xrefs: // > @ 0x65eac // // 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 PKCS7_set_signed_attributes(int a1, int a2) { int v4; // r0 int i; // r4 int v6; // r6 int v7; // r0 int v8; // r0 int v9; // r1 OPENSSL_sk_pop_free(*(_DWORD *)(a1 + 12), X509_ATTRIBUTE_free); v4 = OPENSSL_sk_dup(a2); *(_DWORD *)(a1 + 12) = v4; if ( !v4 ) return 0; for ( i = 0; i < OPENSSL_sk_num(a2); ++i ) { v6 = *(_DWORD *)(a1 + 12); v7 = OPENSSL_sk_value(a2, i); v8 = X509_ATTRIBUTE_dup(v7); v9 = i; if ( !OPENSSL_sk_set(v6, v9, v8) ) return 0; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source