//
// CRYPTO_secure_malloc_done from 0xa23c14 to 0xa23cd8 (196 bytes)
//
// 1 xrefs:
// > ??> @ 0x7dc0c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:57 +0000
//
int CRYPTO_secure_malloc_done()
{
if ( dword_D35784 )
return 0;
CRYPTO_free((void *)dword_D35764, (int)"crypto/mem_sec.c", 445);
CRYPTO_free((void *)dword_D35770, (int)"crypto/mem_sec.c", 446);
CRYPTO_free((void *)dword_D35774, (int)"crypto/mem_sec.c", 447);
if ( dword_D35754 )
{
if ( dword_D35758 )
munmap((void *)dword_D35754, dword_D35758);
}
dword_D35754 = 0;
dword_D35758 = 0;
dword_D3575C = 0;
dword_D35760 = 0;
dword_D35764 = 0;
dword_D35768 = 0;
dword_D3576C = 0;
dword_D35770 = 0;
dword_D35774 = 0;
dword_D35778 = 0;
dword_D3577C = 0;
CRYPTO_THREAD_lock_free(dword_D35780);
return 1;
}