//
// sub_A14E00 from 0xa14e00 to 0xa14e44 (68 bytes)
//
// 7 xrefs:
// > ??> @ 0xc78fa0
// > ??> @ 0xc78fd4
// > ??> @ 0xc79008
// > ??> @ 0xc7903c
// > ??> @ 0xc79070
// > ??> @ 0xc790a4
// > ??> @ 0xc790d8
//
// 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_A14E00(int a1, unsigned __int8 *a2)
{
int cipher_data; // r4
cipher_data = EVP_CIPHER_CTX_get_cipher_data(a1);
*(_DWORD *)(cipher_data + 384) = 0;
DES_set_key_unchecked(a2, cipher_data);
DES_set_key_unchecked(a2 + 8, cipher_data + 128);
DES_set_key_unchecked(a2 + 16, cipher_data + 256);
return 1;
}