//
// AES_cbc_encrypt from 0xa746a0 to 0xa746e0 (64 bytes)
//
// 3 xrefs:
// > ??> @ 0x7c54c
// > sub_A10BC0 @ 0xa10c80
// > ??> @ 0xd1d5d8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:08:43 +0000
//
void *__fastcall AES_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))AES_encrypt);
else
return (void *)CRYPTO_cbc128_decrypt(
a1,
a2,
a3,
a4,
(unsigned int)a5,
(void (__fastcall *)(_DWORD *, _BYTE *, int))AES_decrypt);
}