//
// EVP_CipherUpdate from 0x802ad8 to 0x802b00 (40 bytes)
//
// 9 xrefs:
// > CMS_RecipientInfo_kari_decrypt @ 0x874974
// > CMS_RecipientInfo_kari_decrypt @ 0x8749b4
// > cms_RecipientInfo_kari_encrypt @ 0x874dfc
// > cms_RecipientInfo_kari_encrypt @ 0x874e34
// > sub_8B4BBC @ 0x8b4cd4
// > sub_8B4BBC @ 0x8b4e30
// > sub_8B4EE0 @ 0x8b4fdc
// > PKCS12_pbe_crypt @ 0x8bb7b0
// > ??> @ 0x6351c
//
// 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 EVP_CipherUpdate(_DWORD *a1, char *a2, int *a3, char *a4, size_t a5)
{
if ( a1[2] )
return EVP_EncryptUpdate(a1, a2, a3, a4, a5);
else
return EVP_DecryptUpdate(a1, a2, a3, a4, a5);
}