//
// EVP_CipherUpdate from 0x1027a5c to 0x1027a6c (16 bytes)
//
// 9 xrefs:
// > CMS_RecipientInfo_kari_decrypt @ 0x109d560
// > CMS_RecipientInfo_kari_decrypt @ 0x109d598
// > cms_RecipientInfo_kari_encrypt @ 0x109da30
// > cms_RecipientInfo_kari_encrypt @ 0x109da70
// > sub_10DC9C8 @ 0x10dcaf0
// > sub_10DC9C8 @ 0x10dcc54
// > sub_10DCD0C @ 0x10dce40
// > PKCS12_pbe_crypt @ 0x10e3cd4
// > ??> @ 0xd1938
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:16:14 +0000
//
__int64 __fastcall EVP_CipherUpdate(__int64 *a1, char *a2, int *a3, char *a4, int a5)
{
if ( *((_DWORD *)a1 + 4) )
return EVP_EncryptUpdate(a1, a2, a3, a4, a5);
else
return EVP_DecryptUpdate(a1, a2, a3, a4, a5);
}