//
// tls1_new from 0x9c2c28 to 0x9c2c54 (44 bytes)
//
// 13 xrefs:
// > ??> @ 0x73c8c
// > ??> @ 0xd15574
// > ??> @ 0xd155e8
// > ??> @ 0xd1565c
// > ??> @ 0xd156d0
// > ??> @ 0xd15744
// > ??> @ 0xd157b8
// > ??> @ 0xd1582c
// > ??> @ 0xd158a0
// > ??> @ 0xd15914
// > ??> @ 0xd15988
// > ??> @ 0xd159fc
// > ??> @ 0xd15a70
//
// 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_new(int a1)
{
int result; // r0
result = ssl3_new(a1);
if ( result )
{
(*(void (__fastcall **)(int))(*(_DWORD *)(a1 + 4) + 16))(a1);
return 1;
}
return result;
}