//
// EVP_CipherFinal_ex from 0x1027f8c to 0x1027f9c (16 bytes)
//
// 4 xrefs:
// > sub_10DC9C8 @ 0x10dcb98
// > sub_10DCF10 @ 0x10dd000
// > PKCS12_pbe_crypt @ 0x10e3cec
// > ??> @ 0x83380
//
// 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_CipherFinal_ex(__int64 *a1, _BYTE *a2, _DWORD *a3)
{
if ( *((_DWORD *)a1 + 4) )
return EVP_EncryptFinal_ex(a1, (__int64)a2, a3);
else
return EVP_DecryptFinal_ex(a1, a2, a3);
}