//
// sub_DA6A3C from 0xda6a3c to 0xda6a8c (80 bytes)
//
// 7 xrefs:
// > ??> @ 0x1124a10
// > ??> @ 0x1124a68
// > ??> @ 0x1124ac0
// > ??> @ 0x1124b18
// > ??> @ 0x1124b70
// > ??> @ 0x1124bc8
// > ??> @ 0x1124c20
//
// 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_DA6A3C(__int64 a1, unsigned __int64 a2)
{
__int64 cipher_data; // x19
cipher_data = EVP_CIPHER_CTX_get_cipher_data(a1);
*(_QWORD *)(cipher_data + 384) = 0;
DES_set_key_unchecked(a2, (_DWORD *)cipher_data);
DES_set_key_unchecked(a2 + 8, (_DWORD *)(cipher_data + 128));
DES_set_key_unchecked(a2 + 16, (_DWORD *)(cipher_data + 256));
return 1;
}