//
// SSL_CTX_set_generate_session_id from 0x9aa8ac to 0x9aa8d4 (40 bytes)
//
// 1 xrefs:
// > ??> @ 0x7526c
//
// 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:53 +0000
//
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;
}