//
// ssl3_write from 0x9a36c4 to 0x9a3718 (84 bytes)
//
// 23 xrefs:
// > ??> @ 0x73cfc
// > ??> @ 0xd15590
// > ??> @ 0xd15604
// > ??> @ 0xd15678
// > ??> @ 0xd156ec
// > ??> @ 0xd15760
// > ??> @ 0xd157d4
// > ??> @ 0xd15848
// > ??> @ 0xd158bc
// > ??> @ 0xd15930
// > ??> @ 0xd159a4
// > ??> @ 0xd15a18
// > ??> @ 0xd15a8c
// > ??> @ 0xd15b00
// > ??> @ 0xd15b74
// > ??> @ 0xd15be8
// > ??> @ 0xd15c5c
// > ??> @ 0xd15cd0
// > ??> @ 0xd15d44
// > ??> @ 0xd15db8
// > ??> @ 0xd15e2c
// > ??> @ 0xd15ea0
// > ??> @ 0xd15f14
//
// 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:06:49 +0000
//
int __fastcall ssl3_write(int a1, int a2, int a3)
{
_DWORD *v6; // r0
int v7; // r3
v6 = (_DWORD *)_errno();
v7 = *(_DWORD *)(a1 + 104);
*v6 = 0;
if ( *(_DWORD *)(v7 + 240) )
ssl3_renegotiate_check(a1);
return (*(int (__fastcall **)(int, int, int, int))(*(_DWORD *)(a1 + 4) + 60))(a1, 23, a2, a3);
}