//
// sub_A8D788 from 0xa8d788 to 0xa8d7e0 (88 bytes)
//
// 2 xrefs:
// > ??> @ 0xd26474
// > ??> @ 0xd2649c
//
// 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:08:55 +0000
//
void *__fastcall sub_A8D788(int a1)
{
void *v2; // r4
v2 = CRYPTO_malloc(&byte_9[3], (int)"crypto/conf/conf_def.c", 82);
if ( v2 && !(*(int (**)(void))(a1 + 8))() )
{
CRYPTO_free(v2, (int)"crypto/conf/conf_def.c", 85);
return nullptr;
}
return v2;
}