//
// sub_801830 from 0x801830 to 0x80185c (44 bytes)
//
// 2 xrefs:
// > ??> @ 0xa31ffc
// > ??> @ 0xa32030
//
// 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_801830(int a1, int a2, int a3, int a4)
{
int cipher_data; // r0
cipher_data = EVP_CIPHER_CTX_get_cipher_data(a1);
RC4(cipher_data, a4, a3, a2);
return 1;
}