// // DTLS_RECORD_LAYER_set_saved_w_epoch from 0x786bac to 0x786c3c (144 bytes) // // 3 xrefs: // > dtls1_retransmit_message @ 0x7a5708 // > dtls1_retransmit_message @ 0x7a5744 // > @ 0x5a4fc // // 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 // char *__fastcall DTLS_RECORD_LAYER_set_saved_w_epoch(char *result, int a2) { unsigned __int16 *v2; // r5 char *v3; // r6 int v4; // r3 unsigned __int16 v5; // r4 void *v6; // r7 int v7; // r5 void *v8; // r7 v2 = *((unsigned __int16 **)result + 572); v3 = result; v4 = v2[1]; v5 = a2; if ( a2 == v4 - 1 ) { v8 = result + 2272; memcpy(v2 + 42, result + 2272, 8u); v2 = *((unsigned __int16 **)v3 + 572); result = (char *)memcpy(v8, v2 + 38, 8u); goto LABEL_3; } if ( a2 != v4 + 1 ) { LABEL_3: v2[1] = v5; return result; } v6 = result + 2272; memcpy(v2 + 38, result + 2272, 8u); v7 = *((_DWORD *)v3 + 572); result = (char *)memcpy(v6, (const void *)(v7 + 84), 8u); *(_WORD *)(v7 + 2) = v5; return result; }