//
// CRYPTO_secure_malloc_done from 0x80f014 to 0x80f0d8 (196 bytes)
//
// 1 xrefs:
// > ??> @ 0x6418c
//
// 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 CRYPTO_secure_malloc_done()
{
if ( dword_AD44F8 )
return 0;
CRYPTO_free((void *)dword_AD44D8, (int)"crypto/mem_sec.c", 445);
CRYPTO_free((void *)dword_AD44E4, (int)"crypto/mem_sec.c", 446);
CRYPTO_free((void *)dword_AD44E8, (int)"crypto/mem_sec.c", 447);
if ( dword_AD44C8 )
{
if ( dword_AD44CC )
munmap((void *)dword_AD44C8, dword_AD44CC);
}
dword_AD44C8 = 0;
dword_AD44CC = 0;
dword_AD44D0 = 0;
dword_AD44D4 = 0;
dword_AD44D8 = 0;
dword_AD44DC = 0;
dword_AD44E0 = 0;
dword_AD44E4 = 0;
dword_AD44E8 = 0;
dword_AD44EC = 0;
dword_AD44F0 = 0;
CRYPTO_THREAD_lock_free(dword_AD44F4);
return 1;
}