//
// SSL_set_session_id_context from 0x795c48 to 0x795c9c (84 bytes)
//
// 3 xrefs:
// > SSL_copy_session_id @ 0x796cfc
// > SSL_dup @ 0x79b194
// > ??> @ 0x5b7dc
//
// 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_set_session_id_context(int a1, const void *a2, size_t a3)
{
if ( a3 > 0x20 )
{
ERR_put_error(20, 218, 273, "ssl/ssl_lib.c", 713);
return 0;
}
else
{
*(_DWORD *)(a1 + 204) = a3;
memcpy((void *)(a1 + 208), a2, a3);
return 1;
}
}