//
// EVP_CIPHER_CTX_set_padding from 0xda9c50 to 0xda9c7c (44 bytes)
//
// 2 xrefs:
// > cms_RecipientInfo_pwri_crypt @ 0xe20de4
// > ??> @ 0x44cd0
//
// 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
//
__int64 __fastcall EVP_CIPHER_CTX_set_padding(__int64 a1, int a2)
{
unsigned __int64 v2; // x1
if ( a2 )
v2 = *(_QWORD *)(a1 + 112) & 0xFFFFFFFFFFFFFEFFLL;
else
v2 = *(_QWORD *)(a1 + 112) | 0x100LL;
*(_QWORD *)(a1 + 112) = v2;
return 1;
}