//
// Camellia_cbc_encrypt from 0x1099764 to 0x1099780 (28 bytes)
//
// 3 xrefs:
// > ??> @ 0xa8988
// > sub_10230E0 @ 0x1023190
// > ??> @ 0x1544c00
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:17:25 +0000
//
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);
}