// // EVP_PKEY_copy_parameters from 0xdac1b0 to 0xdac2d8 (296 bytes) // // 13 xrefs: // > sub_BB78D0 @ 0xbb85d4 // > sub_D43F10 @ 0xd43f70 // > sub_D440A4 @ 0xd440f0 // > SSL_use_PrivateKey @ 0xd448cc // > SSL_CTX_use_PrivateKey @ 0xd451bc // > tls_process_client_key_exchange @ 0xd52ed0 // > tls_process_client_key_exchange @ 0xd530d0 // > X509_get_pubkey_parameters @ 0xdebd08 // > X509_get_pubkey_parameters @ 0xdebd20 // > sub_E2A364 @ 0xe2a3a4 // > sub_E2BF20 @ 0xe2bf5c // > sub_E349A4 @ 0xe349f0 // > @ 0x3d230 // // 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 EVP_PKEY_copy_parameters(_DWORD *a1, __int64 a2) { __int64 v4; // x0 __int64 (__fastcall *v5)(_DWORD *, __int64); // x2 __int64 result; // x0 if ( !*a1 ) { if ( !(unsigned int)EVP_PKEY_set_type((__int64)a1, *(_DWORD *)a2) ) return 0; if ( !(unsigned int)EVP_PKEY_missing_parameters(a2) ) goto LABEL_4; LABEL_10: ERR_put_error(6, 103, 103, (__int64)"crypto/evp/p_lib.c", 84); return 0; } if ( *a1 != *(_DWORD *)a2 ) { ERR_put_error(6, 103, 101, (__int64)"crypto/evp/p_lib.c", 79); return 0; } if ( (unsigned int)EVP_PKEY_missing_parameters(a2) ) goto LABEL_10; LABEL_4: if ( (unsigned int)EVP_PKEY_missing_parameters((__int64)a1) ) { v4 = *(_QWORD *)(a2 + 16); if ( v4 ) { v5 = *(__int64 (__fastcall **)(_DWORD *, __int64))(v4 + 136); if ( v5 ) return v5(a1, a2); } return 0; } result = EVP_PKEY_cmp_parameters((__int64)a1, (_DWORD *)a2); if ( (_DWORD)result != 1 ) { ERR_put_error(6, 103, 153, (__int64)"crypto/evp/p_lib.c", 91); return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source