//
// sub_DA2F30 from 0xda2f30 to 0xda2f94 (100 bytes)
//
// 3 xrefs:
// > ??> @ 0x1123b58
// > ??> @ 0x1123bb0
// > ??> @ 0x1123c08
//
// 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 sub_DA2F30(__int64 a1)
{
__int64 cipher_data; // x19
__int64 v3; // x20
cipher_data = EVP_CIPHER_CTX_get_cipher_data(a1);
OPENSSL_cleanse((_BYTE *)(cipher_data + 256), 0x188u);
v3 = *(_QWORD *)(cipher_data + 648);
if ( v3 != EVP_CIPHER_CTX_iv_noconst(a1) )
CRYPTO_free(*(_QWORD *)(cipher_data + 648), "crypto/evp/e_aes.c", 1272);
return 1;
}