//
// sub_A14E44 from 0xa14e44 to 0xa14e8c (72 bytes)
//
// 4 xrefs:
// > ??> @ 0xc78ed0
// > ??> @ 0xc78f04
// > ??> @ 0xc78f38
// > ??> @ 0xc78f6c
//
// 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_A14E44(int a1, unsigned __int8 *a2)
{
_DWORD *cipher_data; // r4
cipher_data = (_DWORD *)EVP_CIPHER_CTX_get_cipher_data(a1);
cipher_data[96] = 0;
DES_set_key_unchecked(a2, (int)cipher_data);
DES_set_key_unchecked(a2 + 8, (int)(cipher_data + 32));
memcpy(cipher_data + 64, cipher_data, 0x80u);
return 1;
}