//
// CRYPTO_ocb128_tag from 0x103d47c to 0x103d4dc (96 bytes)
//
// 2 xrefs:
// > sub_1022334 @ 0x10225dc
// > ??> @ 0x4ac50
//
// 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:16:28 +0000
//
__int64 __fastcall CRYPTO_ocb128_tag(__int64 a1, void *a2, size_t a3)
{
if ( a3 - 1 > 0xF )
return 0xFFFFFFFFLL;
CRYPTO_ocb128_finish(a1, nullptr, 0);
memcpy(a2, (const void *)(a1 + 112), a3);
return 1;
}