//
// SSL_get_client_random from 0x799984 to 0x7999c4 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0x5c26c
//
// 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_client_random(int a1, void *a2, unsigned int a3)
{
size_t v4; // r4
if ( !a3 )
return 32;
if ( a3 >= 0x20 )
v4 = 32;
else
v4 = a3;
memcpy(a2, (const void *)(*(_DWORD *)(a1 + 104) + 172), v4);
return v4;
}