//
// sub_A117B4 from 0xa117b4 to 0xa11800 (76 bytes)
//
// 3 xrefs:
// > ??> @ 0xc786ec
// > ??> @ 0xc78720
// > ??> @ 0xc78754
//
// 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:46 +0000
//
int __fastcall sub_A117B4(int a1)
{
int cipher_data; // r4
int v3; // r0
int v4; // r5
cipher_data = EVP_CIPHER_CTX_get_cipher_data(a1);
OPENSSL_cleanse((_BYTE *)(cipher_data + 256), 0x178u);
v3 = a1;
v4 = *(_DWORD *)(cipher_data + 632);
if ( v4 != EVP_CIPHER_CTX_iv_noconst(v3) )
CRYPTO_free(*(_DWORD *)(cipher_data + 632), "crypto/evp/e_aes.c", 1272);
return 1;
}