//
// CRYPTO_secure_allocated from 0x1034d80 to 0x1034e00 (128 bytes)
//
// 2 xrefs:
// > CRYPTO_secure_free @ 0x1034e2c
// > ??> @ 0xd1758
//
// 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:23 +0000
//
bool __fastcall CRYPTO_secure_allocated(unsigned __int64 a1)
{
_BOOL4 v3; // w19
if ( !dword_1567F58 )
return 0;
v3 = 0;
CRYPTO_THREAD_write_lock(qword_1567F60);
if ( a1 >= qword_1567F18 )
v3 = a1 < qword_1567F18 + qword_1567F20;
CRYPTO_THREAD_unlock(qword_1567F60);
return v3;
}