//
// CRYPTO_gcm128_tag from 0x81744c to 0x817484 (56 bytes)
//
// 4 xrefs:
// > sub_7FCC08 @ 0x7fcd78
// > sub_7FCC08 @ 0x7fce8c
// > sub_7FCC08 @ 0x7fceec
// > ??> @ 0x62bbc
//
// 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
//
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);
}