//
// sub_A1D520 from 0xa1d520 to 0xa1d578 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0xc7956c
//
// 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_A1D520(int a1)
{
int result; // r0
int v3; // r4
result = EVP_PKEY_CTX_get_data(a1);
v3 = result;
if ( result )
{
HMAC_CTX_free(*(_DWORD *)(result + 20));
CRYPTO_clear_free(*(_DWORD *)(v3 + 12), *(_DWORD *)(v3 + 4), "crypto/hmac/hm_pmeth.c", 78);
CRYPTO_free(v3, "crypto/hmac/hm_pmeth.c", 79);
return EVP_PKEY_CTX_set_data(a1, 0);
}
return result;
}