// // sub_D8BF28 from 0xd8bf28 to 0xd8c01c (244 bytes) // // 1 xrefs: // > @ 0x1122e98 // // 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 sub_D8BF28(__int64 a1, __int64 a2) { __int64 result; // x0 int v4; // [xsp+28h] [xbp+28h] BYREF int v5; // [xsp+2Ch] [xbp+2Ch] BYREF __int64 v6; // [xsp+30h] [xbp+30h] BYREF int *v7; // [xsp+38h] [xbp+38h] BYREF __int64 v8; // [xsp+40h] [xbp+40h] BYREF _QWORD *v9; // [xsp+48h] [xbp+48h] BYREF v6 = 0; v8 = 0; result = PKCS8_pkey_get0(nullptr, &v6, &v5, &v9, a2); if ( (_DWORD)result ) { X509_ALGOR_get0(0, &v4, (__int64 *)&v7, v9); v8 = sub_D8B3AC(v4, v7); if ( v8 ) { if ( d2i_ECPrivateKey(&v8, &v6, v5) ) { EVP_PKEY_assign(a1, 408, v8); return 1; } ERR_put_error(16, 213, 142, "crypto/ec/ec_ameth.c", 203); } else { ERR_put_error(16, 213, 16, "crypto/ec/ec_ameth.c", 211); } EC_KEY_free(v8); return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source