//
// ssl3_set_handshake_header from 0x9a2c10 to 0x9a2c50 (64 bytes)
//
// 5 xrefs:
// > ??> @ 0x7468c
// > ??> @ 0xd15f9c
// > ??> @ 0xd1604c
// > ??> @ 0xd16090
// > ??> @ 0xd160d4
//
// 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_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;
}