exactly, first decrypt it and then parse it with that function.
if you search "enctypex_decoder_convert_to_ipport" on google you will find other 3 threads on this forum with some examples and explanations (one in italian), anyway the quick usage example is the following (posted in the italian thread):
Code:
len = enctypex_wrapper(gamekey, validate, buff, len);
unsigned char *lista, *limit;
lista = malloc((len / 5) * 6);
len = enctypex_decoder_convert_to_ipport(buff, len, lista, NULL, 0);
limit = lista + len;
for(p = lista; p < limit; p += 6) {
printf("%hhu.%hhu.%hhu.%hhu %hu\n", p[0], p[1], p[2], p[3], (p[4] << 8) | p[5]);
}
the topic about I refer is the following, which contains also an example with decryption in real-time during the receiving:
enctypex-t578.html