//
// SEED_cbc_encrypt from 0xddbe5c to 0xddbe78 (28 bytes)
//
// 3 xrefs:
// > sub_DA8918 @ 0xda89ac
// > sub_DA8918 @ 0xda8a20
// > ??> @ 0x5ba40
//
// 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
//
unsigned __int64 __fastcall SEED_cbc_encrypt(
_QWORD *a1,
_QWORD *a2,
unsigned __int64 a3,
__int64 a4,
_QWORD *a5,
int a6)
{
if ( a6 )
return CRYPTO_cbc128_encrypt(a1, a2, a3, a4, a5, (void (__fastcall *)(__int64 *, __int64 *, __int64))SEED_encrypt);
else
return CRYPTO_cbc128_decrypt(
(unsigned __int64)a1,
a2,
a3,
a4,
(__int64)a5,
(void (__fastcall *)(unsigned __int64, __int64 *, __int64))SEED_decrypt);
}