// // EVP_PKEY_encrypt from 0xa1aed0 to 0xa1aff0 (288 bytes) // // 8 xrefs: // > sub_9B4874 @ 0x9b49f0 // > tls_construct_client_key_exchange @ 0x9b70f8 // > tls_construct_client_key_exchange @ 0x9b7118 // > PKCS7_dataInit @ 0xa3bafc // > PKCS7_dataInit @ 0xa3bb3c // > CMS_RecipientInfo_encrypt @ 0xa887dc // > CMS_RecipientInfo_encrypt @ 0xa88824 // > @ 0x769dc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:07:52 +0000 // int __fastcall EVP_PKEY_encrypt(int *a1, int a2, unsigned int *a3, int a4, int a5) { int v6; // r12 unsigned int v10; // r0 int (__fastcall *v12)(int *, int, unsigned int *, int, int); // r12 if ( a1 && (v6 = *a1) != 0 && *(_DWORD *)(v6 + 80) ) { if ( a1[4] == 256 ) { if ( (*(_DWORD *)(v6 + 4) & 2) == 0 ) { v12 = *(int (__fastcall **)(int *, int, unsigned int *, int, int))(v6 + 80); return v12(a1, a2, a3, a4, a5); } v10 = EVP_PKEY_size(a1[2]); if ( !a2 ) { *a3 = v10; return 1; } if ( v10 <= *a3 ) { v12 = *(int (__fastcall **)(int *, int, unsigned int *, int, int))(*a1 + 80); return v12(a1, a2, a3, a4, a5); } ERR_put_error(6, 105, 155, (int)"crypto/evp/pmeth_fn.c", 164); return 0; } else { ERR_put_error(6, 105, 151, (int)"crypto/evp/pmeth_fn.c", 161); return -1; } } else { ERR_put_error(6, 105, 150, (int)"crypto/evp/pmeth_fn.c", 157); return -2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source