//
// sub_AC8CF0 from 0xac8cf0 to 0xac8d20 (48 bytes)
//
// 12 xrefs:
// > sub_AC8DB0 @ 0xac8f84
// > sub_AC8DB0 @ 0xac8f8c
// > sub_AC8DB0 @ 0xac8fe0
// > sub_AC8DB0 @ 0xac8fe8
// > sub_AC8DB0 @ 0xac90c4
// > sub_AC8DB0 @ 0xac90cc
// > sub_AC8DB0 @ 0xac9128
// > sub_AC8DB0 @ 0xac9130
// > ??> @ 0xac918c
// > ??> @ 0xac9198
// > ??> @ 0xac91a8
// > ??> @ 0xac91b0
//
// 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:09:19 +0000
//
int __fastcall sub_AC8CF0(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;
}