//
// sub_8B3CF0 from 0x8b3cf0 to 0x8b3d20 (48 bytes)
//
// 12 xrefs:
// > sub_8B3DB0 @ 0x8b3f84
// > sub_8B3DB0 @ 0x8b3f8c
// > sub_8B3DB0 @ 0x8b3fe0
// > sub_8B3DB0 @ 0x8b3fe8
// > sub_8B3DB0 @ 0x8b40c4
// > sub_8B3DB0 @ 0x8b40cc
// > sub_8B3DB0 @ 0x8b4128
// > sub_8B3DB0 @ 0x8b4130
// > ??> @ 0x8b418c
// > ??> @ 0x8b4198
// > ??> @ 0x8b41a8
// > ??> @ 0x8b41b0
//
// 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_8B3CF0(int a1, _BYTE *a2, _BYTE *a3, unsigned int a4)
{
int cipher_data; // r0
cipher_data = EVP_CIPHER_CTX_get_cipher_data(a1);
RC4((_BYTE *)(cipher_data + 16), a4, a3, a2);
return 1;
}