//
// sub_AD1440 from 0xad1440 to 0xad1488 (72 bytes)
//
// 12 xrefs:
// > sub_AD14F8 @ 0xad1500
// > sub_AD14F8 @ 0xad150c
// > ??> @ 0xad165c
// > sub_AD166C @ 0xad1690
// > sub_AD166C @ 0xad169c
// > ??> @ 0xad1a8c
// > sub_AD1B18 @ 0xad1b6c
// > sub_AD1B18 @ 0xad1b78
// > sub_AD1B18 @ 0xad1cf4
// > sub_AD1B18 @ 0xad1cfc
// > ??> @ 0xad26b8
// > ??> @ 0xad26d8
//
// 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:09:24 +0000
//
int sub_AD1440()
{
pthread_rwlock_t *v0; // r0
bool v1; // zf
int result; // r0
OPENSSL_init_crypto(0, 0, nullptr);
dword_D35B80 = (int)CRYPTO_THREAD_lock_new();
v0 = CRYPTO_THREAD_lock_new();
v1 = v0 == nullptr;
if ( v0 )
v1 = dword_D35B80 == 0;
dword_D35B84 = (int)v0;
result = !v1;
dword_D35B88 = result;
return result;
}