// // EVP_PKEY_encrypt_init from 0x102b554 to 0x102b5e4 (144 bytes) // // 6 xrefs: // > sub_FC6790 @ 0xfc6820 // > tls_construct_client_key_exchange @ 0xfc8c18 // > PKCS7_dataInit @ 0x104ab14 // > CMS_RecipientInfo_encrypt @ 0x109c868 // > CMS_add1_recipient_cert @ 0x109cdc8 // > @ 0x1018f0 // // 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:17 +0000 // __int64 __fastcall EVP_PKEY_encrypt_init(__int64 *a1) { __int64 v2; // x1 __int64 (*v3)(void); // x1 __int64 result; // x0 if ( a1 && (v2 = *a1) != 0 && *(_QWORD *)(v2 + 152) ) { v3 = *(__int64 (**)(void))(v2 + 144); *((_DWORD *)a1 + 8) = 256; if ( v3 ) { result = v3(); if ( (int)result <= 0 ) *((_DWORD *)a1 + 8) = 0; } else { return 1; } } else { ERR_put_error(6, 139, 150, (__int64)"crypto/evp/pmeth_fn.c", 139); return 4294967294LL; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source