//
// Camellia_cbc_encrypt from 0x871e68 to 0x871ea8 (64 bytes)
//
// 4 xrefs:
// > ??> @ 0x62f8c
// > sub_7FE868 @ 0x7fe928
// > sub_7FE868 @ 0x7fe960
// > ??> @ 0xab8620
//
// 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
//
void *__fastcall Camellia_cbc_encrypt(int a1, unsigned int a2, unsigned int a3, int a4, int *a5, int a6)
{
if ( a6 )
return CRYPTO_cbc128_encrypt(a1, a2, a3, a4, a5, (void (__fastcall *)(int *, int *, int))Camellia_encrypt);
else
return (void *)CRYPTO_cbc128_decrypt(
a1,
a2,
a3,
a4,
(unsigned int)a5,
(void (__fastcall *)(_DWORD *, _BYTE *, int))Camellia_decrypt);
}