//
// RAND_pseudo_bytes from 0x82a090 to 0x82a0cc (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x6609c
//
// 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
//
int __fastcall RAND_pseudo_bytes(int a1, int a2)
{
int rand_method; // r0
int (__fastcall *v5)(int, int); // r3
rand_method = RAND_get_rand_method();
if ( rand_method && (v5 = *(int (__fastcall **)(int, int))(rand_method + 16)) != nullptr )
return v5(a1, a2);
else
return -1;
}