//
// rand_cleanup_int from 0x829fb0 to 0x829fdc (44 bytes)
//
// 2 xrefs:
// > OPENSSL_cleanup @ 0x80ad40
// > ??> @ 0x640bc
//
// 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_cleanup_int()
{
int rand_method; // r0
void (*v1)(void); // r3
rand_method = RAND_get_rand_method();
if ( rand_method )
{
v1 = *(void (**)(void))(rand_method + 8);
if ( v1 )
v1();
}
return RAND_set_rand_method(0);
}