//
// tls1_clear from 0xfd3a3c to 0xfd3a74 (56 bytes)
//
// 13 xrefs:
// > ??> @ 0xddf38
// > ??> @ 0x1536f50
// > ??> @ 0x1537030
// > ??> @ 0x1537110
// > ??> @ 0x15371f0
// > ??> @ 0x15372d0
// > ??> @ 0x15373b0
// > ??> @ 0x1537490
// > ??> @ 0x1537570
// > ??> @ 0x1537650
// > ??> @ 0x1537730
// > ??> @ 0x1537810
// > ??> @ 0x15378f0
//
// 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:15:31 +0000
//
__int64 __fastcall tls1_clear(__int64 a1)
{
int v2; // w1
__int64 result; // x0
ssl3_clear(a1);
v2 = **(_DWORD **)(a1 + 8);
result = 771;
if ( v2 == 0x10000 )
v2 = 771;
*(_DWORD *)a1 = v2;
return result;
}