//
// obj_cleanup_int from 0x81c13c to 0x81c1a0 (100 bytes)
//
// 2 xrefs:
// > OPENSSL_cleanup @ 0x80ad58
// > ??> @ 0x640cc
//
// 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 *obj_cleanup_int()
{
int *result; // r0
result = (int *)dword_AD4510;
if ( dword_AD4510 )
{
OPENSSL_LH_set_down_load(dword_AD4510, 0);
OPENSSL_LH_doall(dword_AD4510, sub_81BEB4);
OPENSSL_LH_doall(dword_AD4510, sub_81BED0);
OPENSSL_LH_doall(dword_AD4510, (int (__fastcall *)(_DWORD))sub_81BEE4);
result = OPENSSL_LH_free((int *)dword_AD4510);
dword_AD4510 = 0;
}
return result;
}