//
// CRYPTO_ocb128_tag from 0x819634 to 0x81967c (72 bytes)
//
// 2 xrefs:
// > sub_7FDC24 @ 0x7fdeac
// > ??> @ 0x62d3c
//
// 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
//
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;
}