//
// CRYPTO_secure_zalloc from 0x80f848 to 0x80f870 (40 bytes)
//
// 2 xrefs:
// > bn_expand2 @ 0x7d4c5c
// > ??> @ 0x5fc4c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
unsigned int *__fastcall CRYPTO_secure_zalloc(void *a1, int a2, int a3)
{
unsigned int *v4; // r0
unsigned int *v5; // r4
v4 = CRYPTO_secure_malloc(a1, a2, a3);
v5 = v4;
if ( v4 )
memset(v4, 0, (size_t)a1);
return v5;
}