//
// sub_A1D2CC from 0xa1d2cc to 0xa1d2fc (48 bytes)
//
// 1 xrefs:
// > ??> @ 0xc79544
//
// 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:07:53 +0000
//
int __fastcall sub_A1D2CC(int a1)
{
int result; // r0
unsigned int *v2; // r4
_BYTE *v3; // r0
result = EVP_PKEY_get0(a1);
v2 = (unsigned int *)result;
if ( result )
{
v3 = *(_BYTE **)(result + 8);
if ( v3 )
OPENSSL_cleanse(v3, *v2);
return ASN1_OCTET_STRING_free((int)v2);
}
return result;
}