//
// sub_8B66F8 from 0x8b66f8 to 0x8b672c (52 bytes)
//
// 4 xrefs:
// > ??> @ 0xab5114
// > ??> @ 0xab5148
// > ??> @ 0xab517c
// > ??> @ 0xab51b0
//
// 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_8B66F8(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);
CAST_set_key(cipher_data, v5, a2);
return 1;
}