//
// SSL_SESSION_set1_id from 0x9b3334 to 0x9b3388 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x7651c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:06:57 +0000
//
int __fastcall SSL_SESSION_set1_id(int a1, const void *a2, size_t a3)
{
if ( a3 > 0x20 )
{
ERR_put_error(20, 423, 408, "ssl/ssl_sess.c", 804);
return 0;
}
else
{
*(_DWORD *)(a1 + 56) = a3;
memcpy((void *)(a1 + 60), a2, a3);
return 1;
}
}