//
// rand_cleanup_int from 0x104da58 to 0x104da80 (40 bytes)
//
// 2 xrefs:
// > OPENSSL_cleanup @ 0x1030114
// > ??> @ 0xed358
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:16:37 +0000
//
__int64 rand_cleanup_int()
{
__int64 rand_method; // x0
void (*v1)(void); // x0
rand_method = RAND_get_rand_method();
if ( rand_method )
{
v1 = *(void (**)(void))(rand_method + 16);
if ( v1 )
v1();
}
return RAND_set_rand_method(0);
}