//
// dtls1_stop_timer from 0xd5d224 to 0xd5d280 (92 bytes)
//
// 2 xrefs:
// > sub_D47644 @ 0xd47e68
// > ??> @ 0xa30f8
//
// 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
//
__int64 __fastcall dtls1_stop_timer(__int64 a1)
{
__int64 v1; // x1
_QWORD *v3; // x1
__int64 rbio; // x0
v1 = *(_QWORD *)(a1 + 152);
*(_QWORD *)(v1 + 472) = 0;
*(_DWORD *)(v1 + 480) = 0;
v3 = (_QWORD *)(*(_QWORD *)(a1 + 152) + 488LL);
*v3 = 0;
v3[1] = 0;
*(_WORD *)(*(_QWORD *)(a1 + 152) + 504LL) = 1;
rbio = SSL_get_rbio(a1);
BIO_ctrl(rbio, 45, 0, *(_QWORD *)(a1 + 152) + 488LL);
return dtls1_clear_sent_buffer(a1);
}