//
// dtls1_stop_timer from 0x7b63a0 to 0x7b6448 (168 bytes)
//
// 2 xrefs:
// > sub_79ED8C @ 0x79f5d8
// > ??> @ 0x5cddc
//
// 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_stop_timer(int a1)
{
_BYTE *v1; // r2
_BYTE *v2; // r2
int rbio; // r0
v1 = *(_BYTE **)(a1 + 108);
v1[376] = 0;
v1[377] = 0;
v1[378] = 0;
v1[379] = 0;
v1[380] = 0;
v1[381] = 0;
v1[382] = 0;
v1[383] = 0;
v1[384] = 0;
v1[385] = 0;
v1[386] = 0;
v1[387] = 0;
v2 = *(_BYTE **)(a1 + 108);
v2[388] = 0;
v2[389] = 0;
v2[390] = 0;
v2[391] = 0;
v2[392] = 0;
v2[393] = 0;
v2[394] = 0;
v2[395] = 0;
*(_WORD *)(*(_DWORD *)(a1 + 108) + 396) = 1;
rbio = SSL_get_rbio(a1);
BIO_ctrl(rbio, 45, 0, *(_DWORD *)(a1 + 108) + 388);
return dtls1_clear_sent_buffer(a1);
}