//
// SSL_set_generate_session_id from 0x795cd0 to 0x795cf8 (40 bytes)
//
// 1 xrefs:
// > ??> @ 0x5b81c
//
// 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_generate_session_id(int a1, int a2)
{
CRYPTO_THREAD_write_lock(*(_DWORD *)(a1 + 2864));
*(_DWORD *)(a1 + 244) = a2;
CRYPTO_THREAD_unlock(*(_DWORD *)(a1 + 2864));
return 1;
}