// // PKCS7_add_certificate from 0x829350 to 0x829438 (232 bytes) // // 1 xrefs: // > @ 0x65f4c // // 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_add_certificate(int a1, int a2) { char *v4; // r0 _DWORD *v5; // r6 int v6; // r4 v4 = OBJ_obj2nid(*(_DWORD *)(a1 + 16)); if ( v4 == (_BYTE *)&dword_14 + 2 || v4 == (char *)&dword_18 ) { v5 = (_DWORD *)(*(_DWORD *)(a1 + 20) + 8); if ( !*v5 ) *v5 = OPENSSL_sk_new_null(v4); v6 = *v5; if ( *v5 ) { X509_up_ref(a2); if ( !OPENSSL_sk_push(*v5, a2) ) { X509_free(a2); return 0; } return 1; } else { ERR_put_error(33, 100, 65, (int)"crypto/pkcs7/pk7_lib.c", 260); } return v6; } else { ERR_put_error(33, 100, 113, (int)"crypto/pkcs7/pk7_lib.c", 253); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source