//
// sub_10A1724 from 0x10a1724 to 0x10a1790 (108 bytes)
//
// 2 xrefs:
// > ??> @ 0x1552b68
// > ??> @ 0x1552bb8
//
// 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:17:31 +0000
//
void *__fastcall sub_10A1724(__int64 a1)
{
void *v2; // x20
void *v4; // x0
v2 = CRYPTO_malloc(&off_18, (__int64)"crypto/conf/conf_def.c", 82);
if ( v2 && !(*(unsigned int (**)(void))(a1 + 16))() )
{
v4 = v2;
v2 = nullptr;
CRYPTO_free(v4, (__int64)"crypto/conf/conf_def.c", 85);
}
return v2;
}