//
// RAND_status from 0x82a0cc to 0x82a0f8 (44 bytes)
//
// 11 xrefs:
// > sub_643938 @ 0x6439b0
// > sub_643938 @ 0x6439ce
// > sub_643938 @ 0x6439e2
// > sub_643938 @ 0x643d64
// > sub_64518C @ 0x6451ba
// > sub_64518C @ 0x6451d4
// > sub_64518C @ 0x6451e4
// > sub_64518C @ 0x64523a
// > sub_64518C @ 0x64525a
// > RSA_setup_blinding @ 0x82d47c
// > ??> @ 0x550dc
//
// 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 RAND_status()
{
int rand_method; // r0
int (*v1)(void); // r3
rand_method = RAND_get_rand_method();
if ( rand_method && (v1 = *(int (**)(void))(rand_method + 20)) != nullptr )
return v1();
else
return 0;
}