//
// SSL_set_generate_session_id from 0xd3e9a0 to 0xd3e9dc (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x86e98
//
// 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_set_generate_session_id(__int64 a1, __int64 a2)
{
__int64 v3; // x0
CRYPTO_THREAD_write_lock(*(_QWORD *)(a1 + 4432));
v3 = *(_QWORD *)(a1 + 4432);
*(_QWORD *)(a1 + 384) = a2;
CRYPTO_THREAD_unlock(v3);
return 1;
}