//
// Camellia_cbc_encrypt from 0xe1b464 to 0xe1b480 (28 bytes)
//
// 3 xrefs:
// > ??> @ 0x7e7c8
// > sub_DA4D80 @ 0xda4e30
// > ??> @ 0x122c430
//
// 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 Camellia_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))Camellia_encrypt);
else
return CRYPTO_cbc128_decrypt(
(unsigned __int64)a1,
a2,
a3,
a4,
(__int64)a5,
(void (__fastcall *)(unsigned __int64, __int64 *, __int64))Camellia_decrypt);
}