//
// SSL_get_server_random from 0xd424b0 to 0xd42504 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x7e6f0
//
// 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
//
size_t __fastcall SSL_get_server_random(__int64 a1, void *a2, unsigned __int64 a3)
{
size_t v4; // x19
if ( !a3 )
return 32;
if ( a3 > 0x20 )
v4 = 32;
else
v4 = a3;
memcpy(a2, (const void *)(*(_QWORD *)(a1 + 144) + 144LL), v4);
return v4;
}