//
// RAND_pseudo_bytes from 0xa3ec90 to 0xa3eccc (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x7fb1c
//
// 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:08:12 +0000
//
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;
}