//
// RAND_add from 0xdcf75c to 0xdcf7a0 (68 bytes)
//
// 16 xrefs:
// > sub_BB78D0 @ 0xbb7a28
// > sub_BB99D0 @ 0xbb9a94
// > sub_D47644 @ 0xd47694
// > EVP_PKEY2PKCS8 @ 0xdaacf8
// > PEM_ASN1_write_bio @ 0xdc7a98
// > RAND_load_file @ 0xdcf8cc
// > RAND_load_file @ 0xdcf94c
// > RSA_setup_blinding @ 0xdd3acc
// > BN_rand @ 0xe19cdc
// > BN_pseudo_rand @ 0xe19eec
// > BN_bntest_rand @ 0xe1a104
// > RAND_poll @ 0xe681a4
// > RAND_poll @ 0xe681cc
// > RAND_poll @ 0xe681e8
// > RAND_poll @ 0xe68204
// > ??> @ 0xc3378
//
// 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
//
__int64 __fastcall RAND_add(__int64 a1, __int64 a2, long double a3)
{
__int64 result; // x0
__int64 (__fastcall *v5)(__int64, __int64, long double); // x2
result = RAND_get_rand_method();
if ( result )
{
v5 = *(__int64 (__fastcall **)(__int64, __int64, long double))(result + 24);
if ( v5 )
return v5(a1, a2, a3);
}
return result;
}