//
// ssl3_write from 0xfb6534 to 0xfb6598 (100 bytes)
//
// 23 xrefs:
// > ??> @ 0x68cf8
// > ??> @ 0x1536f80
// > ??> @ 0x1537060
// > ??> @ 0x1537140
// > ??> @ 0x1537220
// > ??> @ 0x1537300
// > ??> @ 0x15373e0
// > ??> @ 0x15374c0
// > ??> @ 0x15375a0
// > ??> @ 0x1537680
// > ??> @ 0x1537760
// > ??> @ 0x1537840
// > ??> @ 0x1537920
// > ??> @ 0x1537a00
// > ??> @ 0x1537ae0
// > ??> @ 0x1537bc0
// > ??> @ 0x1537ca0
// > ??> @ 0x1537d80
// > ??> @ 0x1537e60
// > ??> @ 0x1537f40
// > ??> @ 0x1538020
// > ??> @ 0x1538100
// > ??> @ 0x15381e0
//
// 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:15 +0000
//
__int64 __fastcall ssl3_write(__int64 a1, __int64 a2, unsigned int a3)
{
_DWORD *v6; // x0
__int64 v7; // x1
v6 = (_DWORD *)__errno();
v7 = *(_QWORD *)(a1 + 144);
*v6 = 0;
if ( *(_DWORD *)(v7 + 252) )
ssl3_renegotiate_check(a1);
return (*(__int64 (__fastcall **)(__int64, __int64, __int64, _QWORD))(*(_QWORD *)(a1 + 8) + 112LL))(a1, 23, a2, a3);
}