//
// sub_A14614 from 0xa14614 to 0xa1464c (56 bytes)
//
// 6 xrefs:
// > ??> @ 0xd16fdc
// > ??> @ 0xd17010
// > ??> @ 0xd17044
// > ??> @ 0xd17078
// > ??> @ 0xd170ac
// > ??> @ 0xd170e0
//
// 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:48 +0000
//
int __fastcall sub_A14614(int a1, unsigned __int8 *a2)
{
int cipher_data; // r0
*(_DWORD *)(EVP_CIPHER_CTX_get_cipher_data(a1) + 128) = 0;
cipher_data = EVP_CIPHER_CTX_get_cipher_data(a1);
DES_set_key_unchecked(a2, cipher_data);
return 1;
}