//
// sub_DA844C from 0xda844c to 0xda8490 (68 bytes)
//
// 2 xrefs:
// > ??> @ 0x1124ee0
// > ??> @ 0x1124f38
//
// 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
//
__int64 __fastcall sub_DA844C(__int64 a1, __int64 a2)
{
__int64 cipher_data; // x19
unsigned int v4; // w0
cipher_data = EVP_CIPHER_CTX_get_cipher_data(a1);
v4 = EVP_CIPHER_CTX_key_length(a1);
RC4_set_key(cipher_data, v4, a2);
return 1;
}