// // dtls1_process_buffered_records from 0x788134 to 0x788274 (320 bytes) // // 3 xrefs: // > dtls1_get_record @ 0x78cc7c // > dtls1_get_record @ 0x78ccf8 // > @ 0x5a74c // // 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_process_buffered_records(_DWORD *a1) { unsigned __int16 *v2; // r3 unsigned __int16 *bitmap; // r5 __int16 *v5; // r2 __int16 v6; // r3 int v7; // [sp+Ch] [bp-8h] BYREF if ( !pqueue_peek(*(_DWORD *)(a1[711] + 32)) ) { LABEL_15: v5 = (__int16 *)a1[711]; v6 = *v5; v5[18] = *v5; v5[14] = v6 + 1; return 1; } v2 = (unsigned __int16 *)a1[711]; if ( v2[14] == *v2 && (int)a1[148] <= 0 ) { while ( pqueue_peek(*((_DWORD *)v2 + 8)) ) { dtls1_retrieve_buffered_record(a1, a1[711] + 28); bitmap = dtls1_get_bitmap((int)a1, (int)(a1 + 309), &v7); if ( !bitmap ) { ERR_put_error(20, 424, 68, "ssl/record/rec_layer_d1.c", 269); return 0; } if ( dtls1_record_replay_check(a1, bitmap) && dtls1_process_record(a1, bitmap) ) { if ( dtls1_buffer_record(a1, a1[711] + 36, (int)(a1 + 319)) < 0 ) return 0; } else { a1[311] = 0; a1[694] = 0; } v2 = (unsigned __int16 *)a1[711]; } goto LABEL_15; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source