//
// SSL_CTX_set_session_id_context from 0x795be8 to 0x795c3c (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x5b7cc
//
// 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
//
int __fastcall SSL_CTX_set_session_id_context(int a1, const void *a2, size_t a3)
{
if ( a3 > 0x20 )
{
ERR_put_error(20, 219, 273, "ssl/ssl_lib.c", 699);
return 0;
}
else
{
*(_DWORD *)(a1 + 196) = a3;
memcpy((void *)(a1 + 200), a2, a3);
return 1;
}
}