//
// tls1_clear from 0xd556e8 to 0xd55720 (56 bytes)
//
// 13 xrefs:
// > ??> @ 0xa94a0
// > ??> @ 0x121f1c8
// > ??> @ 0x121f2a8
// > ??> @ 0x121f388
// > ??> @ 0x121f468
// > ??> @ 0x121f548
// > ??> @ 0x121f628
// > ??> @ 0x121f708
// > ??> @ 0x121f7e8
// > ??> @ 0x121f8c8
// > ??> @ 0x121f9a8
// > ??> @ 0x121fa88
// > ??> @ 0x121fb68
//
// 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
//
__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;
}