//
// sub_A16090 from 0xa16090 to 0xa160d4 (68 bytes)
//
// 6 xrefs:
// > ??> @ 0xc79140
// > ??> @ 0xc79174
// > ??> @ 0xc791a8
// > ??> @ 0xc791dc
// > ??> @ 0xc79210
// > ??> @ 0xc79244
//
// 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:49 +0000
//
int __fastcall sub_A16090(int a1, int a2)
{
int cipher_data; // r5
int v5; // r7
_DWORD *v6; // r0
cipher_data = EVP_CIPHER_CTX_get_cipher_data(a1);
v5 = EVP_CIPHER_CTX_key_length(a1);
v6 = (_DWORD *)EVP_CIPHER_CTX_get_cipher_data(a1);
RC2_set_key(cipher_data + 4, v5, a2, *v6);
return 1;
}