//
// dtls1_stop_timer from 0x9cafa4 to 0x9cb04c (168 bytes)
//
// 2 xrefs:
// > sub_9B3990 @ 0x9b41dc
// > ??> @ 0x7685c
//
// 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:07:08 +0000
//
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);
}