//
// ssl3_set_handshake_header from 0x78e00c to 0x78e04c (64 bytes)
//
// 5 xrefs:
// > ??> @ 0x5ac0c
// > ??> @ 0xab18c0
// > ??> @ 0xab1970
// > ??> @ 0xab19b4
// > ??> @ 0xab19f8
//
// 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
//
int __fastcall ssl3_set_handshake_header(_DWORD *a1, char a2, int a3)
{
_BYTE *v3; // r3
v3 = *(_BYTE **)(a1[22] + 4);
v3[2] = BYTE1(a3);
*v3 = a2;
v3[3] = a3;
v3[1] = BYTE2(a3);
a1[24] = a3 + 4;
a1[25] = 0;
return 1;
}