//
// dtls1_write_bytes from 0x99cc8c to 0x99ccd0 (68 bytes)
//
// 3 xrefs:
// > dtls1_do_write @ 0x9b9be8
// > dtls1_write_app_data_bytes @ 0x9cbd14
// > ??> @ 0x741ac
//
// 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:45 +0000
//
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);
}