//
// SSL_CTX_set_generate_session_id from 0x795ca8 to 0x795cd0 (40 bytes)
//
// 1 xrefs:
// > ??> @ 0x5b7ec
//
// 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_CTX_set_generate_session_id(int a1, int a2)
{
CRYPTO_THREAD_write_lock(*(_DWORD *)(a1 + 528));
*(_DWORD *)(a1 + 236) = a2;
CRYPTO_THREAD_unlock(*(_DWORD *)(a1 + 528));
return 1;
}