//
// EVP_CIPHER_CTX_set_padding from 0x1027fb0 to 0x1027fdc (44 bytes)
//
// 2 xrefs:
// > cms_RecipientInfo_pwri_crypt @ 0x109f0e4
// > ??> @ 0x61de0
//
// 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_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;
}