//
// CRYPTO_ocb128_tag from 0xa2e234 to 0xa2e27c (72 bytes)
//
// 2 xrefs:
// > sub_A12824 @ 0xa12aac
// > ??> @ 0x7c7bc
//
// 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:03 +0000
//
int __fastcall CRYPTO_ocb128_tag(int a1, void *a2, size_t a3)
{
if ( a3 - 1 > 0xF )
return -1;
CRYPTO_ocb128_finish(a1, nullptr, 0, a3 - 1);
memcpy(a2, (const void *)(a1 + 88), a3);
return 1;
}