//
// dtls1_write_bytes from 0x788088 to 0x7880cc (68 bytes)
//
// 3 xrefs:
// > dtls1_do_write @ 0x7a4fe4
// > dtls1_write_app_data_bytes @ 0x7b7110
// > ??> @ 0x5a72c
//
// 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 dtls1_write_bytes(_DWORD *a1, int a2, _BYTE *a3, signed int a4)
{
if ( a4 > 0x4000 )
OPENSSL_die("assertion failed: len <= SSL3_RT_MAX_PLAIN_LENGTH", "ssl/record/rec_layer_d1.c", 975);
a1[5] = 1;
return do_dtls1_write(a1, a2, a3, a4, 0);
}