//
// CRYPTO_gcm128_tag from 0xa2c04c to 0xa2c084 (56 bytes)
//
// 4 xrefs:
// > sub_A11808 @ 0xa11978
// > sub_A11808 @ 0xa11a8c
// > sub_A11808 @ 0xa11aec
// > ??> @ 0x7c63c
//
// 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:01 +0000
//
void *__fastcall CRYPTO_gcm128_tag(int a1, void *a2, unsigned int a3)
{
size_t v6; // r2
CRYPTO_gcm128_finish(a1, nullptr, 0);
if ( a3 >= 0x10 )
v6 = 16;
else
v6 = a3;
return memcpy(a2, (const void *)(a1 + 64), v6);
}