// // dtls1_record_replay_check from 0xd5e9c8 to 0xd5eae4 (284 bytes) // // 3 xrefs: // > dtls1_process_buffered_records @ 0xd319e8 // > dtls1_get_record @ 0xd361ec // > @ 0x9a068 // // 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_record_replay_check(__int64 a1, _QWORD *a2) { unsigned __int64 v2; // x4 unsigned __int64 v3; // x2 __int64 v4; // x3 v2 = _byteswap_uint64(*(_QWORD *)(a1 + 4368)); v3 = _byteswap_uint64(a2[1]); v4 = v2 - v3; if ( (__int64)(v2 - v3) < 0 && v2 > v3 ) goto LABEL_3; if ( v4 <= 0 || v2 >= v3 ) { if ( v4 > 128 ) goto LABEL_3; if ( v4 >= -128 ) { if ( (int)v4 > 0 ) goto LABEL_3; if ( (int)v3 - (int)v2 <= 63 ) { if ( ((*a2 >> ((unsigned __int8)v3 - (unsigned __int8)v2)) & 1) != 0 ) return 0; LABEL_3: SSL3_RECORD_set_seq_num(a1 + 2008, (_QWORD *)(a1 + 4368)); return 1; } } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source