//
// ssl3_set_handshake_header from 0xfb5b74 to 0xfb5bac (56 bytes)
//
// 5 xrefs:
// > ??> @ 0xe7e38
// > ??> @ 0x15382e8
// > ??> @ 0x1538440
// > ??> @ 0x15384c0
// > ??> @ 0x1538540
//
// 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:14 +0000
//
__int64 __fastcall ssl3_set_handshake_header(__int64 a1, char a2, int a3)
{
_BYTE *v5; // x3
v5 = *(_BYTE **)(*(_QWORD *)(a1 + 120) + 8LL);
*v5 = a2;
v5[1] = BYTE2(a3);
v5[2] = BYTE1(a3);
v5[3] = a3;
*(_QWORD *)(a1 + 136) = (unsigned int)(a3 + 4);
return 1;
}