//
// SSL_CONF_CTX_set_ssl from 0xd634d4 to 0xd63528 (84 bytes)
//
// 2 xrefs:
// > sub_D60724 @ 0xd607f4
// > ??> @ 0xc8628
//
// 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
//
_QWORD *__fastcall SSL_CONF_CTX_set_ssl(_QWORD *result, __int64 a2)
{
__int64 v2; // x2
result[3] = 0;
result[4] = a2;
if ( a2 )
{
v2 = *(_QWORD *)(a2 + 328) + 28LL;
result[5] = a2 + 484;
result[15] = a2 + 492;
result[16] = a2 + 496;
result[13] = v2;
result[14] = a2 + 392;
}
else
{
result[5] = 0;
result[15] = 0;
result[16] = 0;
result[13] = 0;
result[14] = 0;
}
return result;
}