- int ret_conv_12_len = ret.Length;
- NetAddress[] ret_conv_12_arr = new NetAddress[ret_conv_12_len];
- for (int m = 0; m < ret_conv_12_len; m++) {
- long ret_conv_12 = ret[m];
- org.ldk.structs.NetAddress ret_conv_12_hu_conv = org.ldk.structs.NetAddress.constr_from_ptr(ret_conv_12);
- if (ret_conv_12_hu_conv != null) { ret_conv_12_hu_conv.ptrs_to.AddLast(this); };
- ret_conv_12_arr[m] = ret_conv_12_hu_conv;
+ if (ret >= 0 && ret <= 4096) { return null; }
+ int ret_conv_15_len = InternalUtils.getArrayLength(ret);
+ SocketAddress[] ret_conv_15_arr = new SocketAddress[ret_conv_15_len];
+ for (int p = 0; p < ret_conv_15_len; p++) {
+ long ret_conv_15 = InternalUtils.getU64ArrayElem(ret, p);
+ org.ldk.structs.SocketAddress ret_conv_15_hu_conv = org.ldk.structs.SocketAddress.constr_from_ptr(ret_conv_15);
+ if (ret_conv_15_hu_conv != null) { ret_conv_15_hu_conv.ptrs_to.AddLast(this); };
+ ret_conv_15_arr[p] = ret_conv_15_hu_conv;