// // EVP_PKEY_sign from 0x102b198 to 0x102b2a8 (272 bytes) // // 5 xrefs: // > EVP_DigestSignFinal @ 0x1029ba8 // > EVP_DigestSignFinal @ 0x1029c74 // > EVP_SignFinal @ 0x102af18 // > cms_SignedData_final @ 0x109fe90 // > @ 0x4a008 // // 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:16 +0000 // __int64 __fastcall EVP_PKEY_sign(__int64 *a1, __int64 a2, _QWORD *a3) { __int64 v4; // x5 __int64 (__fastcall *v5)(__int64 *); // x0 int v6; // w0 if ( a1 && (v4 = *a1) != 0 && (v5 = *(__int64 (__fastcall **)(__int64 *))(v4 + 72)) != nullptr ) { if ( *((_DWORD *)a1 + 8) == 8 ) { if ( (*(_DWORD *)(v4 + 4) & 2) != 0 ) { v6 = EVP_PKEY_size(a1[2]); if ( a2 ) { if ( (unsigned __int64)v6 > *a3 ) { ERR_put_error(6, 140, 155, (__int64)"crypto/evp/pmeth_fn.c", 63); return 0; } else { return (*(__int64 (__fastcall **)(__int64 *))(*a1 + 72))(a1); } } else { *a3 = v6; return 1; } } else { return v5(a1); } } else { ERR_put_error(6, 140, 151, (__int64)"crypto/evp/pmeth_fn.c", 60); return 0xFFFFFFFFLL; } } else { ERR_put_error(6, 140, 150, (__int64)"crypto/evp/pmeth_fn.c", 56); return 4294967294LL; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source