//
// sub_80185C from 0x80185c to 0x801890 (52 bytes)
//
// 2 xrefs:
// > ??> @ 0xa31ff8
// > ??> @ 0xa3202c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_80185C(int a1, int a2)
{
int cipher_data; // r5
int v5; // r0
cipher_data = EVP_CIPHER_CTX_get_cipher_data(a1);
v5 = EVP_CIPHER_CTX_key_length(a1);
RC4_set_key(cipher_data, v5, a2);
return 1;
}