//
// SSL_set_session_id_context from 0xfbcc64 to 0xfbccb8 (84 bytes)
//
// 3 xrefs:
// > SSL_copy_session_id @ 0xfbe024
// > SSL_dup @ 0xfc1eec
// > ??> @ 0x9c928
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:15:18 +0000
//
__int64 __fastcall SSL_set_session_id_context(__int64 a1, const void *a2, unsigned int a3)
{
if ( a3 > 0x20 )
{
ERR_put_error(20, 218, 273, "ssl/ssl_lib.c", 713);
return 0;
}
else
{
*(_DWORD *)(a1 + 336) = a3;
memcpy((void *)(a1 + 340), a2, a3);
return 1;
}
}