//
// EVP_CipherUpdate from 0xa176d8 to 0xa17700 (40 bytes)
//
// 9 xrefs:
// > CMS_RecipientInfo_kari_decrypt @ 0xa89574
// > CMS_RecipientInfo_kari_decrypt @ 0xa895b4
// > cms_RecipientInfo_kari_encrypt @ 0xa899fc
// > cms_RecipientInfo_kari_encrypt @ 0xa89a34
// > sub_AC9BBC @ 0xac9cd4
// > sub_AC9BBC @ 0xac9e30
// > sub_AC9EE0 @ 0xac9fdc
// > PKCS12_pbe_crypt @ 0xad07b0
// > ??> @ 0x7cf9c
//
// 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:07:50 +0000
//
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);
}