//
// SSL_get_server_random from 0xfc0804 to 0xfc0858 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0xa8820
//
// 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:21 +0000
//
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;
}