// // sub_D61FA4 from 0xd61fa4 to 0xd62058 (180 bytes) // // 1 xrefs: // > @ 0x1121880 // // 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 // bool __fastcall sub_D61FA4(__int64 a1, char *a2) { __int64 v3; // x0 char *v4; // x1 _QWORD *v5; // x20 _BOOL4 v6; // w19 __int64 v8; // x0 v3 = EC_curve_nist2nid(a2); v4 = a2; if ( !(_DWORD)v3 ) { v3 = OBJ_sn2nid(a2); if ( !(_DWORD)v3 ) return 0; } v5 = (_QWORD *)EC_KEY_new_by_curve_name(v3, v4); if ( !v5 ) return 0; if ( *(_QWORD *)(a1 + 24) ) { v6 = (int)SSL_CTX_ctrl(*(_QWORD *)(a1 + 24), 4, 0, (__int64)v5) > 0; } else { v8 = *(_QWORD *)(a1 + 32); if ( v8 ) v6 = (int)SSL_ctrl(v8, 4, 0, v5) > 0; else v6 = 1; } EC_KEY_free(v5); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source