//
// CRYPTO_secure_allocated from 0xa24470 to 0xa244d8 (104 bytes)
//
// 2 xrefs:
// > CRYPTO_secure_free @ 0xa244f8
// > ??> @ 0x7dc2c
//
// 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
//
bool __fastcall CRYPTO_secure_allocated(unsigned int a1)
{
_BOOL4 v3; // r4
if ( !dword_D3577C )
return 0;
CRYPTO_THREAD_write_lock(dword_D35780);
v3 = a1 >= dword_D3575C && a1 < dword_D3575C + dword_D35760;
CRYPTO_THREAD_unlock(dword_D35780);
return v3;
}