//
// SSL_set_generate_session_id from 0xfbccf4 to 0xfbcd30 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0xb3038
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:15:18 +0000
//
__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;
}