//
// SSL_get_server_random from 0x9ae5c8 to 0x9ae608 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0x75cfc
//
// 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:55 +0000
//
size_t __fastcall SSL_get_server_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) + 140), v4);
return v4;
}