//
// ssl3_write from 0xd381e0 to 0xd38244 (100 bytes)
//
// 23 xrefs:
// > ??> @ 0x4a5f8
// > ??> @ 0x121f1f8
// > ??> @ 0x121f2d8
// > ??> @ 0x121f3b8
// > ??> @ 0x121f498
// > ??> @ 0x121f578
// > ??> @ 0x121f658
// > ??> @ 0x121f738
// > ??> @ 0x121f818
// > ??> @ 0x121f8f8
// > ??> @ 0x121f9d8
// > ??> @ 0x121fab8
// > ??> @ 0x121fb98
// > ??> @ 0x121fc78
// > ??> @ 0x121fd58
// > ??> @ 0x121fe38
// > ??> @ 0x121ff18
// > ??> @ 0x121fff8
// > ??> @ 0x12200d8
// > ??> @ 0x12201b8
// > ??> @ 0x1220298
// > ??> @ 0x1220378
// > ??> @ 0x1220458
//
// 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 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);
}