//
// tls1_clear from 0x9c2c80 to 0x9c2ca8 (40 bytes)
//
// 13 xrefs:
// > ??> @ 0x73c9c
// > ??> @ 0xd15578
// > ??> @ 0xd155ec
// > ??> @ 0xd15660
// > ??> @ 0xd156d4
// > ??> @ 0xd15748
// > ??> @ 0xd157bc
// > ??> @ 0xd15830
// > ??> @ 0xd158a4
// > ??> @ 0xd15918
// > ??> @ 0xd1598c
// > ??> @ 0xd15a00
// > ??> @ 0xd15a74
//
// 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:07:05 +0000
//
int __fastcall tls1_clear(int a1)
{
int result; // r0
int v3; // r3
result = ssl3_clear(a1);
v3 = **(_DWORD **)(a1 + 4);
if ( v3 == 0x10000 )
v3 = 771;
*(_DWORD *)a1 = v3;
return result;
}