//
// SSL_SESSION_set1_id_context from 0xd470d0 to 0xd47124 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x85f50
//
// 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 SSL_SESSION_set1_id_context(__int64 a1, const void *a2, unsigned int a3)
{
if ( a3 > 0x20 )
{
ERR_put_error(20, 312, 273, "ssl/ssl_sess.c", 885);
return 0;
}
else
{
*(_DWORD *)(a1 + 92) = a3;
memcpy((void *)(a1 + 96), a2, a3);
return 1;
}
}