// // dtls1_reset_seq_numbers from 0x99ce80 to 0x99cf58 (216 bytes) // // 4 xrefs: // > ossl_statem_client_post_work @ 0x9b77a4 // > tls_process_change_cipher_spec @ 0x9bb17c // > ossl_statem_server_post_work @ 0x9bd254 // > @ 0x7420c // // 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:06:46 +0000 // void *__fastcall dtls1_reset_seq_numbers(int a1, char a2) { _BYTE *v3; // r4 void *result; // r0 _WORD *v5; // r1 int v6; // r4 _BYTE *v7; // r3 if ( (a2 & 1) != 0 ) { v6 = a1 + 2816; v5 = *(_WORD **)(a1 + 2844); ++*v5; memcpy(v5 + 2, v5 + 8, 0xCu); v7 = *(_BYTE **)(a1 + 2844); v7[16] = 0; v7[17] = 0; v7[18] = 0; v7[19] = 0; v7[20] = 0; v7[21] = 0; v7[22] = 0; v7[23] = 0; v7[24] = 0; v7[25] = 0; v7[26] = 0; v7[27] = 0; v3 = (_BYTE *)(v6 + 4); result = (void *)dtls1_clear_received_buffer(a1); } else { v3 = (_BYTE *)(a1 + 2828); result = memcpy((void *)(*(_DWORD *)(a1 + 2844) + 76), (const void *)(a1 + 2828), 8u); ++*(_WORD *)(*(_DWORD *)(a1 + 2844) + 2); } *v3 = 0; v3[1] = 0; v3[2] = 0; v3[3] = 0; v3[4] = 0; v3[5] = 0; v3[6] = 0; v3[7] = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source