github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/networking/onc/bindings/ffi_bindings.ts (about) 1 import { importModule, Application, heap, Pointer } from "@ffi"; 2 3 importModule("plat/js/webext/networking/onc", (A: Application) => { 4 const WEBEXT = typeof globalThis.browser === "undefined" ? globalThis.chrome : globalThis.browser; 5 6 return { 7 "constof_ActivationStateType": (ref: heap.Ref<string>): number => { 8 const idx = ["Activated", "Activating", "NotActivated", "PartiallyActivated"].indexOf(A.H.get(ref)); 9 return idx < 0 ? 0 : idx + 1; 10 }, 11 "constof_CaptivePortalStatus": (ref: heap.Ref<string>): number => { 12 const idx = ["Unknown", "Offline", "Online", "Portal", "ProxyAuthRequired"].indexOf(A.H.get(ref)); 13 return idx < 0 ? 0 : idx + 1; 14 }, 15 16 "store_FoundNetworkProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 17 const x = A.H.get<any>(ref); 18 19 if (typeof x === "undefined") { 20 A.store.Bool(ptr + 20, false); 21 A.store.Ref(ptr + 0, undefined); 22 A.store.Ref(ptr + 4, undefined); 23 A.store.Ref(ptr + 8, undefined); 24 A.store.Ref(ptr + 12, undefined); 25 A.store.Ref(ptr + 16, undefined); 26 } else { 27 A.store.Bool(ptr + 20, true); 28 A.store.Ref(ptr + 0, x["Status"]); 29 A.store.Ref(ptr + 4, x["NetworkId"]); 30 A.store.Ref(ptr + 8, x["Technology"]); 31 A.store.Ref(ptr + 12, x["ShortName"]); 32 A.store.Ref(ptr + 16, x["LongName"]); 33 } 34 }, 35 "load_FoundNetworkProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 36 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 37 38 x["Status"] = A.load.Ref(ptr + 0, undefined); 39 x["NetworkId"] = A.load.Ref(ptr + 4, undefined); 40 x["Technology"] = A.load.Ref(ptr + 8, undefined); 41 x["ShortName"] = A.load.Ref(ptr + 12, undefined); 42 x["LongName"] = A.load.Ref(ptr + 16, undefined); 43 return create === A.H.TRUE ? A.H.push(x) : ref; 44 }, 45 46 "store_CellularProviderProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 47 const x = A.H.get<any>(ref); 48 49 if (typeof x === "undefined") { 50 A.store.Bool(ptr + 12, false); 51 A.store.Ref(ptr + 0, undefined); 52 A.store.Ref(ptr + 4, undefined); 53 A.store.Ref(ptr + 8, undefined); 54 } else { 55 A.store.Bool(ptr + 12, true); 56 A.store.Ref(ptr + 0, x["Name"]); 57 A.store.Ref(ptr + 4, x["Code"]); 58 A.store.Ref(ptr + 8, x["Country"]); 59 } 60 }, 61 "load_CellularProviderProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 62 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 63 64 x["Name"] = A.load.Ref(ptr + 0, undefined); 65 x["Code"] = A.load.Ref(ptr + 4, undefined); 66 x["Country"] = A.load.Ref(ptr + 8, undefined); 67 return create === A.H.TRUE ? A.H.push(x) : ref; 68 }, 69 70 "store_PaymentPortal": (ptr: Pointer, ref: heap.Ref<any>) => { 71 const x = A.H.get<any>(ref); 72 73 if (typeof x === "undefined") { 74 A.store.Bool(ptr + 12, false); 75 A.store.Ref(ptr + 0, undefined); 76 A.store.Ref(ptr + 4, undefined); 77 A.store.Ref(ptr + 8, undefined); 78 } else { 79 A.store.Bool(ptr + 12, true); 80 A.store.Ref(ptr + 0, x["Method"]); 81 A.store.Ref(ptr + 4, x["PostData"]); 82 A.store.Ref(ptr + 8, x["Url"]); 83 } 84 }, 85 "load_PaymentPortal": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 86 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 87 88 x["Method"] = A.load.Ref(ptr + 0, undefined); 89 x["PostData"] = A.load.Ref(ptr + 4, undefined); 90 x["Url"] = A.load.Ref(ptr + 8, undefined); 91 return create === A.H.TRUE ? A.H.push(x) : ref; 92 }, 93 94 "store_SIMLockStatus": (ptr: Pointer, ref: heap.Ref<any>) => { 95 const x = A.H.get<any>(ref); 96 97 if (typeof x === "undefined") { 98 A.store.Bool(ptr + 14, false); 99 A.store.Ref(ptr + 0, undefined); 100 A.store.Bool(ptr + 12, false); 101 A.store.Bool(ptr + 4, false); 102 A.store.Bool(ptr + 13, false); 103 A.store.Int32(ptr + 8, 0); 104 } else { 105 A.store.Bool(ptr + 14, true); 106 A.store.Ref(ptr + 0, x["LockType"]); 107 A.store.Bool(ptr + 12, "LockEnabled" in x ? true : false); 108 A.store.Bool(ptr + 4, x["LockEnabled"] ? true : false); 109 A.store.Bool(ptr + 13, "RetriesLeft" in x ? true : false); 110 A.store.Int32(ptr + 8, x["RetriesLeft"] === undefined ? 0 : (x["RetriesLeft"] as number)); 111 } 112 }, 113 "load_SIMLockStatus": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 114 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 115 116 x["LockType"] = A.load.Ref(ptr + 0, undefined); 117 if (A.load.Bool(ptr + 12)) { 118 x["LockEnabled"] = A.load.Bool(ptr + 4); 119 } else { 120 delete x["LockEnabled"]; 121 } 122 if (A.load.Bool(ptr + 13)) { 123 x["RetriesLeft"] = A.load.Int32(ptr + 8); 124 } else { 125 delete x["RetriesLeft"]; 126 } 127 return create === A.H.TRUE ? A.H.push(x) : ref; 128 }, 129 130 "store_CellularProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 131 const x = A.H.get<any>(ref); 132 133 if (typeof x === "undefined") { 134 A.store.Bool(ptr + 127, false); 135 A.store.Bool(ptr + 121, false); 136 A.store.Bool(ptr + 0, false); 137 A.store.Ref(ptr + 4, undefined); 138 A.store.Enum(ptr + 8, -1); 139 A.store.Bool(ptr + 122, false); 140 A.store.Bool(ptr + 12, false); 141 A.store.Ref(ptr + 16, undefined); 142 A.store.Ref(ptr + 20, undefined); 143 A.store.Ref(ptr + 24, undefined); 144 A.store.Ref(ptr + 28, undefined); 145 146 A.store.Bool(ptr + 32 + 12, false); 147 A.store.Ref(ptr + 32 + 0, undefined); 148 A.store.Ref(ptr + 32 + 4, undefined); 149 A.store.Ref(ptr + 32 + 8, undefined); 150 A.store.Ref(ptr + 48, undefined); 151 A.store.Ref(ptr + 52, undefined); 152 A.store.Ref(ptr + 56, undefined); 153 154 A.store.Bool(ptr + 60 + 12, false); 155 A.store.Ref(ptr + 60 + 0, undefined); 156 A.store.Ref(ptr + 60 + 4, undefined); 157 A.store.Ref(ptr + 60 + 8, undefined); 158 A.store.Ref(ptr + 76, undefined); 159 A.store.Bool(ptr + 123, false); 160 A.store.Bool(ptr + 80, false); 161 162 A.store.Bool(ptr + 84 + 12, false); 163 A.store.Ref(ptr + 84 + 0, undefined); 164 A.store.Ref(ptr + 84 + 4, undefined); 165 A.store.Ref(ptr + 84 + 8, undefined); 166 167 A.store.Bool(ptr + 100 + 14, false); 168 A.store.Ref(ptr + 100 + 0, undefined); 169 A.store.Bool(ptr + 100 + 12, false); 170 A.store.Bool(ptr + 100 + 4, false); 171 A.store.Bool(ptr + 100 + 13, false); 172 A.store.Int32(ptr + 100 + 8, 0); 173 A.store.Bool(ptr + 124, false); 174 A.store.Bool(ptr + 115, false); 175 A.store.Bool(ptr + 125, false); 176 A.store.Int32(ptr + 116, 0); 177 A.store.Bool(ptr + 126, false); 178 A.store.Bool(ptr + 120, false); 179 } else { 180 A.store.Bool(ptr + 127, true); 181 A.store.Bool(ptr + 121, "AutoConnect" in x ? true : false); 182 A.store.Bool(ptr + 0, x["AutoConnect"] ? true : false); 183 A.store.Ref(ptr + 4, x["ActivationType"]); 184 A.store.Enum( 185 ptr + 8, 186 ["Activated", "Activating", "NotActivated", "PartiallyActivated"].indexOf(x["ActivationState"] as string) 187 ); 188 A.store.Bool(ptr + 122, "AllowRoaming" in x ? true : false); 189 A.store.Bool(ptr + 12, x["AllowRoaming"] ? true : false); 190 A.store.Ref(ptr + 16, x["Family"]); 191 A.store.Ref(ptr + 20, x["FirmwareRevision"]); 192 A.store.Ref(ptr + 24, x["FoundNetworks"]); 193 A.store.Ref(ptr + 28, x["HardwareRevision"]); 194 195 if (typeof x["HomeProvider"] === "undefined") { 196 A.store.Bool(ptr + 32 + 12, false); 197 A.store.Ref(ptr + 32 + 0, undefined); 198 A.store.Ref(ptr + 32 + 4, undefined); 199 A.store.Ref(ptr + 32 + 8, undefined); 200 } else { 201 A.store.Bool(ptr + 32 + 12, true); 202 A.store.Ref(ptr + 32 + 0, x["HomeProvider"]["Name"]); 203 A.store.Ref(ptr + 32 + 4, x["HomeProvider"]["Code"]); 204 A.store.Ref(ptr + 32 + 8, x["HomeProvider"]["Country"]); 205 } 206 A.store.Ref(ptr + 48, x["Manufacturer"]); 207 A.store.Ref(ptr + 52, x["ModelID"]); 208 A.store.Ref(ptr + 56, x["NetworkTechnology"]); 209 210 if (typeof x["PaymentPortal"] === "undefined") { 211 A.store.Bool(ptr + 60 + 12, false); 212 A.store.Ref(ptr + 60 + 0, undefined); 213 A.store.Ref(ptr + 60 + 4, undefined); 214 A.store.Ref(ptr + 60 + 8, undefined); 215 } else { 216 A.store.Bool(ptr + 60 + 12, true); 217 A.store.Ref(ptr + 60 + 0, x["PaymentPortal"]["Method"]); 218 A.store.Ref(ptr + 60 + 4, x["PaymentPortal"]["PostData"]); 219 A.store.Ref(ptr + 60 + 8, x["PaymentPortal"]["Url"]); 220 } 221 A.store.Ref(ptr + 76, x["RoamingState"]); 222 A.store.Bool(ptr + 123, "Scanning" in x ? true : false); 223 A.store.Bool(ptr + 80, x["Scanning"] ? true : false); 224 225 if (typeof x["ServingOperator"] === "undefined") { 226 A.store.Bool(ptr + 84 + 12, false); 227 A.store.Ref(ptr + 84 + 0, undefined); 228 A.store.Ref(ptr + 84 + 4, undefined); 229 A.store.Ref(ptr + 84 + 8, undefined); 230 } else { 231 A.store.Bool(ptr + 84 + 12, true); 232 A.store.Ref(ptr + 84 + 0, x["ServingOperator"]["Name"]); 233 A.store.Ref(ptr + 84 + 4, x["ServingOperator"]["Code"]); 234 A.store.Ref(ptr + 84 + 8, x["ServingOperator"]["Country"]); 235 } 236 237 if (typeof x["SIMLockStatus"] === "undefined") { 238 A.store.Bool(ptr + 100 + 14, false); 239 A.store.Ref(ptr + 100 + 0, undefined); 240 A.store.Bool(ptr + 100 + 12, false); 241 A.store.Bool(ptr + 100 + 4, false); 242 A.store.Bool(ptr + 100 + 13, false); 243 A.store.Int32(ptr + 100 + 8, 0); 244 } else { 245 A.store.Bool(ptr + 100 + 14, true); 246 A.store.Ref(ptr + 100 + 0, x["SIMLockStatus"]["LockType"]); 247 A.store.Bool(ptr + 100 + 12, "LockEnabled" in x["SIMLockStatus"] ? true : false); 248 A.store.Bool(ptr + 100 + 4, x["SIMLockStatus"]["LockEnabled"] ? true : false); 249 A.store.Bool(ptr + 100 + 13, "RetriesLeft" in x["SIMLockStatus"] ? true : false); 250 A.store.Int32( 251 ptr + 100 + 8, 252 x["SIMLockStatus"]["RetriesLeft"] === undefined ? 0 : (x["SIMLockStatus"]["RetriesLeft"] as number) 253 ); 254 } 255 A.store.Bool(ptr + 124, "SIMPresent" in x ? true : false); 256 A.store.Bool(ptr + 115, x["SIMPresent"] ? true : false); 257 A.store.Bool(ptr + 125, "SignalStrength" in x ? true : false); 258 A.store.Int32(ptr + 116, x["SignalStrength"] === undefined ? 0 : (x["SignalStrength"] as number)); 259 A.store.Bool(ptr + 126, "SupportNetworkScan" in x ? true : false); 260 A.store.Bool(ptr + 120, x["SupportNetworkScan"] ? true : false); 261 } 262 }, 263 "load_CellularProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 264 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 265 266 if (A.load.Bool(ptr + 121)) { 267 x["AutoConnect"] = A.load.Bool(ptr + 0); 268 } else { 269 delete x["AutoConnect"]; 270 } 271 x["ActivationType"] = A.load.Ref(ptr + 4, undefined); 272 x["ActivationState"] = A.load.Enum(ptr + 8, ["Activated", "Activating", "NotActivated", "PartiallyActivated"]); 273 if (A.load.Bool(ptr + 122)) { 274 x["AllowRoaming"] = A.load.Bool(ptr + 12); 275 } else { 276 delete x["AllowRoaming"]; 277 } 278 x["Family"] = A.load.Ref(ptr + 16, undefined); 279 x["FirmwareRevision"] = A.load.Ref(ptr + 20, undefined); 280 x["FoundNetworks"] = A.load.Ref(ptr + 24, undefined); 281 x["HardwareRevision"] = A.load.Ref(ptr + 28, undefined); 282 if (A.load.Bool(ptr + 32 + 12)) { 283 x["HomeProvider"] = {}; 284 x["HomeProvider"]["Name"] = A.load.Ref(ptr + 32 + 0, undefined); 285 x["HomeProvider"]["Code"] = A.load.Ref(ptr + 32 + 4, undefined); 286 x["HomeProvider"]["Country"] = A.load.Ref(ptr + 32 + 8, undefined); 287 } else { 288 delete x["HomeProvider"]; 289 } 290 x["Manufacturer"] = A.load.Ref(ptr + 48, undefined); 291 x["ModelID"] = A.load.Ref(ptr + 52, undefined); 292 x["NetworkTechnology"] = A.load.Ref(ptr + 56, undefined); 293 if (A.load.Bool(ptr + 60 + 12)) { 294 x["PaymentPortal"] = {}; 295 x["PaymentPortal"]["Method"] = A.load.Ref(ptr + 60 + 0, undefined); 296 x["PaymentPortal"]["PostData"] = A.load.Ref(ptr + 60 + 4, undefined); 297 x["PaymentPortal"]["Url"] = A.load.Ref(ptr + 60 + 8, undefined); 298 } else { 299 delete x["PaymentPortal"]; 300 } 301 x["RoamingState"] = A.load.Ref(ptr + 76, undefined); 302 if (A.load.Bool(ptr + 123)) { 303 x["Scanning"] = A.load.Bool(ptr + 80); 304 } else { 305 delete x["Scanning"]; 306 } 307 if (A.load.Bool(ptr + 84 + 12)) { 308 x["ServingOperator"] = {}; 309 x["ServingOperator"]["Name"] = A.load.Ref(ptr + 84 + 0, undefined); 310 x["ServingOperator"]["Code"] = A.load.Ref(ptr + 84 + 4, undefined); 311 x["ServingOperator"]["Country"] = A.load.Ref(ptr + 84 + 8, undefined); 312 } else { 313 delete x["ServingOperator"]; 314 } 315 if (A.load.Bool(ptr + 100 + 14)) { 316 x["SIMLockStatus"] = {}; 317 x["SIMLockStatus"]["LockType"] = A.load.Ref(ptr + 100 + 0, undefined); 318 if (A.load.Bool(ptr + 100 + 12)) { 319 x["SIMLockStatus"]["LockEnabled"] = A.load.Bool(ptr + 100 + 4); 320 } else { 321 delete x["SIMLockStatus"]["LockEnabled"]; 322 } 323 if (A.load.Bool(ptr + 100 + 13)) { 324 x["SIMLockStatus"]["RetriesLeft"] = A.load.Int32(ptr + 100 + 8); 325 } else { 326 delete x["SIMLockStatus"]["RetriesLeft"]; 327 } 328 } else { 329 delete x["SIMLockStatus"]; 330 } 331 if (A.load.Bool(ptr + 124)) { 332 x["SIMPresent"] = A.load.Bool(ptr + 115); 333 } else { 334 delete x["SIMPresent"]; 335 } 336 if (A.load.Bool(ptr + 125)) { 337 x["SignalStrength"] = A.load.Int32(ptr + 116); 338 } else { 339 delete x["SignalStrength"]; 340 } 341 if (A.load.Bool(ptr + 126)) { 342 x["SupportNetworkScan"] = A.load.Bool(ptr + 120); 343 } else { 344 delete x["SupportNetworkScan"]; 345 } 346 return create === A.H.TRUE ? A.H.push(x) : ref; 347 }, 348 349 "store_CellularStateProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 350 const x = A.H.get<any>(ref); 351 352 if (typeof x === "undefined") { 353 A.store.Bool(ptr + 22, false); 354 A.store.Enum(ptr + 0, -1); 355 A.store.Ref(ptr + 4, undefined); 356 A.store.Ref(ptr + 8, undefined); 357 A.store.Bool(ptr + 20, false); 358 A.store.Bool(ptr + 12, false); 359 A.store.Bool(ptr + 21, false); 360 A.store.Int32(ptr + 16, 0); 361 } else { 362 A.store.Bool(ptr + 22, true); 363 A.store.Enum( 364 ptr + 0, 365 ["Activated", "Activating", "NotActivated", "PartiallyActivated"].indexOf(x["ActivationState"] as string) 366 ); 367 A.store.Ref(ptr + 4, x["NetworkTechnology"]); 368 A.store.Ref(ptr + 8, x["RoamingState"]); 369 A.store.Bool(ptr + 20, "SIMPresent" in x ? true : false); 370 A.store.Bool(ptr + 12, x["SIMPresent"] ? true : false); 371 A.store.Bool(ptr + 21, "SignalStrength" in x ? true : false); 372 A.store.Int32(ptr + 16, x["SignalStrength"] === undefined ? 0 : (x["SignalStrength"] as number)); 373 } 374 }, 375 "load_CellularStateProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 376 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 377 378 x["ActivationState"] = A.load.Enum(ptr + 0, ["Activated", "Activating", "NotActivated", "PartiallyActivated"]); 379 x["NetworkTechnology"] = A.load.Ref(ptr + 4, undefined); 380 x["RoamingState"] = A.load.Ref(ptr + 8, undefined); 381 if (A.load.Bool(ptr + 20)) { 382 x["SIMPresent"] = A.load.Bool(ptr + 12); 383 } else { 384 delete x["SIMPresent"]; 385 } 386 if (A.load.Bool(ptr + 21)) { 387 x["SignalStrength"] = A.load.Int32(ptr + 16); 388 } else { 389 delete x["SignalStrength"]; 390 } 391 return create === A.H.TRUE ? A.H.push(x) : ref; 392 }, 393 394 "store_IssuerSubjectPattern": (ptr: Pointer, ref: heap.Ref<any>) => { 395 const x = A.H.get<any>(ref); 396 397 if (typeof x === "undefined") { 398 A.store.Bool(ptr + 16, false); 399 A.store.Ref(ptr + 0, undefined); 400 A.store.Ref(ptr + 4, undefined); 401 A.store.Ref(ptr + 8, undefined); 402 A.store.Ref(ptr + 12, undefined); 403 } else { 404 A.store.Bool(ptr + 16, true); 405 A.store.Ref(ptr + 0, x["CommonName"]); 406 A.store.Ref(ptr + 4, x["Locality"]); 407 A.store.Ref(ptr + 8, x["Organization"]); 408 A.store.Ref(ptr + 12, x["OrganizationalUnit"]); 409 } 410 }, 411 "load_IssuerSubjectPattern": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 412 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 413 414 x["CommonName"] = A.load.Ref(ptr + 0, undefined); 415 x["Locality"] = A.load.Ref(ptr + 4, undefined); 416 x["Organization"] = A.load.Ref(ptr + 8, undefined); 417 x["OrganizationalUnit"] = A.load.Ref(ptr + 12, undefined); 418 return create === A.H.TRUE ? A.H.push(x) : ref; 419 }, 420 421 "store_CertificatePattern": (ptr: Pointer, ref: heap.Ref<any>) => { 422 const x = A.H.get<any>(ref); 423 424 if (typeof x === "undefined") { 425 A.store.Bool(ptr + 45, false); 426 A.store.Ref(ptr + 0, undefined); 427 428 A.store.Bool(ptr + 4 + 16, false); 429 A.store.Ref(ptr + 4 + 0, undefined); 430 A.store.Ref(ptr + 4 + 4, undefined); 431 A.store.Ref(ptr + 4 + 8, undefined); 432 A.store.Ref(ptr + 4 + 12, undefined); 433 A.store.Ref(ptr + 24, undefined); 434 435 A.store.Bool(ptr + 28 + 16, false); 436 A.store.Ref(ptr + 28 + 0, undefined); 437 A.store.Ref(ptr + 28 + 4, undefined); 438 A.store.Ref(ptr + 28 + 8, undefined); 439 A.store.Ref(ptr + 28 + 12, undefined); 440 } else { 441 A.store.Bool(ptr + 45, true); 442 A.store.Ref(ptr + 0, x["EnrollmentURI"]); 443 444 if (typeof x["Issuer"] === "undefined") { 445 A.store.Bool(ptr + 4 + 16, false); 446 A.store.Ref(ptr + 4 + 0, undefined); 447 A.store.Ref(ptr + 4 + 4, undefined); 448 A.store.Ref(ptr + 4 + 8, undefined); 449 A.store.Ref(ptr + 4 + 12, undefined); 450 } else { 451 A.store.Bool(ptr + 4 + 16, true); 452 A.store.Ref(ptr + 4 + 0, x["Issuer"]["CommonName"]); 453 A.store.Ref(ptr + 4 + 4, x["Issuer"]["Locality"]); 454 A.store.Ref(ptr + 4 + 8, x["Issuer"]["Organization"]); 455 A.store.Ref(ptr + 4 + 12, x["Issuer"]["OrganizationalUnit"]); 456 } 457 A.store.Ref(ptr + 24, x["IssuerCARef"]); 458 459 if (typeof x["Subject"] === "undefined") { 460 A.store.Bool(ptr + 28 + 16, false); 461 A.store.Ref(ptr + 28 + 0, undefined); 462 A.store.Ref(ptr + 28 + 4, undefined); 463 A.store.Ref(ptr + 28 + 8, undefined); 464 A.store.Ref(ptr + 28 + 12, undefined); 465 } else { 466 A.store.Bool(ptr + 28 + 16, true); 467 A.store.Ref(ptr + 28 + 0, x["Subject"]["CommonName"]); 468 A.store.Ref(ptr + 28 + 4, x["Subject"]["Locality"]); 469 A.store.Ref(ptr + 28 + 8, x["Subject"]["Organization"]); 470 A.store.Ref(ptr + 28 + 12, x["Subject"]["OrganizationalUnit"]); 471 } 472 } 473 }, 474 "load_CertificatePattern": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 475 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 476 477 x["EnrollmentURI"] = A.load.Ref(ptr + 0, undefined); 478 if (A.load.Bool(ptr + 4 + 16)) { 479 x["Issuer"] = {}; 480 x["Issuer"]["CommonName"] = A.load.Ref(ptr + 4 + 0, undefined); 481 x["Issuer"]["Locality"] = A.load.Ref(ptr + 4 + 4, undefined); 482 x["Issuer"]["Organization"] = A.load.Ref(ptr + 4 + 8, undefined); 483 x["Issuer"]["OrganizationalUnit"] = A.load.Ref(ptr + 4 + 12, undefined); 484 } else { 485 delete x["Issuer"]; 486 } 487 x["IssuerCARef"] = A.load.Ref(ptr + 24, undefined); 488 if (A.load.Bool(ptr + 28 + 16)) { 489 x["Subject"] = {}; 490 x["Subject"]["CommonName"] = A.load.Ref(ptr + 28 + 0, undefined); 491 x["Subject"]["Locality"] = A.load.Ref(ptr + 28 + 4, undefined); 492 x["Subject"]["Organization"] = A.load.Ref(ptr + 28 + 8, undefined); 493 x["Subject"]["OrganizationalUnit"] = A.load.Ref(ptr + 28 + 12, undefined); 494 } else { 495 delete x["Subject"]; 496 } 497 return create === A.H.TRUE ? A.H.push(x) : ref; 498 }, 499 "constof_ClientCertificateType": (ref: heap.Ref<string>): number => { 500 const idx = ["Ref", "Pattern"].indexOf(A.H.get(ref)); 501 return idx < 0 ? 0 : idx + 1; 502 }, 503 "constof_ConnectionStateType": (ref: heap.Ref<string>): number => { 504 const idx = ["Connected", "Connecting", "NotConnected"].indexOf(A.H.get(ref)); 505 return idx < 0 ? 0 : idx + 1; 506 }, 507 "constof_DeviceStateType": (ref: heap.Ref<string>): number => { 508 const idx = ["Uninitialized", "Disabled", "Enabling", "Enabled", "Prohibited"].indexOf(A.H.get(ref)); 509 return idx < 0 ? 0 : idx + 1; 510 }, 511 "constof_NetworkType": (ref: heap.Ref<string>): number => { 512 const idx = ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"].indexOf(A.H.get(ref)); 513 return idx < 0 ? 0 : idx + 1; 514 }, 515 516 "store_DeviceStateProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 517 const x = A.H.get<any>(ref); 518 519 if (typeof x === "undefined") { 520 A.store.Bool(ptr + 30, false); 521 A.store.Bool(ptr + 28, false); 522 A.store.Bool(ptr + 0, false); 523 524 A.store.Bool(ptr + 4 + 14, false); 525 A.store.Ref(ptr + 4 + 0, undefined); 526 A.store.Bool(ptr + 4 + 12, false); 527 A.store.Bool(ptr + 4 + 4, false); 528 A.store.Bool(ptr + 4 + 13, false); 529 A.store.Int32(ptr + 4 + 8, 0); 530 A.store.Bool(ptr + 29, false); 531 A.store.Bool(ptr + 19, false); 532 A.store.Enum(ptr + 20, -1); 533 A.store.Enum(ptr + 24, -1); 534 } else { 535 A.store.Bool(ptr + 30, true); 536 A.store.Bool(ptr + 28, "Scanning" in x ? true : false); 537 A.store.Bool(ptr + 0, x["Scanning"] ? true : false); 538 539 if (typeof x["SIMLockStatus"] === "undefined") { 540 A.store.Bool(ptr + 4 + 14, false); 541 A.store.Ref(ptr + 4 + 0, undefined); 542 A.store.Bool(ptr + 4 + 12, false); 543 A.store.Bool(ptr + 4 + 4, false); 544 A.store.Bool(ptr + 4 + 13, false); 545 A.store.Int32(ptr + 4 + 8, 0); 546 } else { 547 A.store.Bool(ptr + 4 + 14, true); 548 A.store.Ref(ptr + 4 + 0, x["SIMLockStatus"]["LockType"]); 549 A.store.Bool(ptr + 4 + 12, "LockEnabled" in x["SIMLockStatus"] ? true : false); 550 A.store.Bool(ptr + 4 + 4, x["SIMLockStatus"]["LockEnabled"] ? true : false); 551 A.store.Bool(ptr + 4 + 13, "RetriesLeft" in x["SIMLockStatus"] ? true : false); 552 A.store.Int32( 553 ptr + 4 + 8, 554 x["SIMLockStatus"]["RetriesLeft"] === undefined ? 0 : (x["SIMLockStatus"]["RetriesLeft"] as number) 555 ); 556 } 557 A.store.Bool(ptr + 29, "SIMPresent" in x ? true : false); 558 A.store.Bool(ptr + 19, x["SIMPresent"] ? true : false); 559 A.store.Enum( 560 ptr + 20, 561 ["Uninitialized", "Disabled", "Enabling", "Enabled", "Prohibited"].indexOf(x["State"] as string) 562 ); 563 A.store.Enum( 564 ptr + 24, 565 ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"].indexOf(x["Type"] as string) 566 ); 567 } 568 }, 569 "load_DeviceStateProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 570 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 571 572 if (A.load.Bool(ptr + 28)) { 573 x["Scanning"] = A.load.Bool(ptr + 0); 574 } else { 575 delete x["Scanning"]; 576 } 577 if (A.load.Bool(ptr + 4 + 14)) { 578 x["SIMLockStatus"] = {}; 579 x["SIMLockStatus"]["LockType"] = A.load.Ref(ptr + 4 + 0, undefined); 580 if (A.load.Bool(ptr + 4 + 12)) { 581 x["SIMLockStatus"]["LockEnabled"] = A.load.Bool(ptr + 4 + 4); 582 } else { 583 delete x["SIMLockStatus"]["LockEnabled"]; 584 } 585 if (A.load.Bool(ptr + 4 + 13)) { 586 x["SIMLockStatus"]["RetriesLeft"] = A.load.Int32(ptr + 4 + 8); 587 } else { 588 delete x["SIMLockStatus"]["RetriesLeft"]; 589 } 590 } else { 591 delete x["SIMLockStatus"]; 592 } 593 if (A.load.Bool(ptr + 29)) { 594 x["SIMPresent"] = A.load.Bool(ptr + 19); 595 } else { 596 delete x["SIMPresent"]; 597 } 598 x["State"] = A.load.Enum(ptr + 20, ["Uninitialized", "Disabled", "Enabling", "Enabled", "Prohibited"]); 599 x["Type"] = A.load.Enum(ptr + 24, ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"]); 600 return create === A.H.TRUE ? A.H.push(x) : ref; 601 }, 602 603 "store_ManagedDOMString": (ptr: Pointer, ref: heap.Ref<any>) => { 604 const x = A.H.get<any>(ref); 605 606 if (typeof x === "undefined") { 607 A.store.Bool(ptr + 28, false); 608 A.store.Ref(ptr + 0, undefined); 609 A.store.Ref(ptr + 4, undefined); 610 A.store.Ref(ptr + 8, undefined); 611 A.store.Ref(ptr + 12, undefined); 612 A.store.Ref(ptr + 16, undefined); 613 A.store.Ref(ptr + 20, undefined); 614 A.store.Bool(ptr + 26, false); 615 A.store.Bool(ptr + 24, false); 616 A.store.Bool(ptr + 27, false); 617 A.store.Bool(ptr + 25, false); 618 } else { 619 A.store.Bool(ptr + 28, true); 620 A.store.Ref(ptr + 0, x["Active"]); 621 A.store.Ref(ptr + 4, x["Effective"]); 622 A.store.Ref(ptr + 8, x["UserPolicy"]); 623 A.store.Ref(ptr + 12, x["DevicePolicy"]); 624 A.store.Ref(ptr + 16, x["UserSetting"]); 625 A.store.Ref(ptr + 20, x["SharedSetting"]); 626 A.store.Bool(ptr + 26, "UserEditable" in x ? true : false); 627 A.store.Bool(ptr + 24, x["UserEditable"] ? true : false); 628 A.store.Bool(ptr + 27, "DeviceEditable" in x ? true : false); 629 A.store.Bool(ptr + 25, x["DeviceEditable"] ? true : false); 630 } 631 }, 632 "load_ManagedDOMString": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 633 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 634 635 x["Active"] = A.load.Ref(ptr + 0, undefined); 636 x["Effective"] = A.load.Ref(ptr + 4, undefined); 637 x["UserPolicy"] = A.load.Ref(ptr + 8, undefined); 638 x["DevicePolicy"] = A.load.Ref(ptr + 12, undefined); 639 x["UserSetting"] = A.load.Ref(ptr + 16, undefined); 640 x["SharedSetting"] = A.load.Ref(ptr + 20, undefined); 641 if (A.load.Bool(ptr + 26)) { 642 x["UserEditable"] = A.load.Bool(ptr + 24); 643 } else { 644 delete x["UserEditable"]; 645 } 646 if (A.load.Bool(ptr + 27)) { 647 x["DeviceEditable"] = A.load.Bool(ptr + 25); 648 } else { 649 delete x["DeviceEditable"]; 650 } 651 return create === A.H.TRUE ? A.H.push(x) : ref; 652 }, 653 654 "store_EAPProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 655 const x = A.H.get<any>(ref); 656 657 if (typeof x === "undefined") { 658 A.store.Bool(ptr + 130, false); 659 A.store.Ref(ptr + 0, undefined); 660 661 A.store.Bool(ptr + 4 + 45, false); 662 A.store.Ref(ptr + 4 + 0, undefined); 663 664 A.store.Bool(ptr + 4 + 4 + 16, false); 665 A.store.Ref(ptr + 4 + 4 + 0, undefined); 666 A.store.Ref(ptr + 4 + 4 + 4, undefined); 667 A.store.Ref(ptr + 4 + 4 + 8, undefined); 668 A.store.Ref(ptr + 4 + 4 + 12, undefined); 669 A.store.Ref(ptr + 4 + 24, undefined); 670 671 A.store.Bool(ptr + 4 + 28 + 16, false); 672 A.store.Ref(ptr + 4 + 28 + 0, undefined); 673 A.store.Ref(ptr + 4 + 28 + 4, undefined); 674 A.store.Ref(ptr + 4 + 28 + 8, undefined); 675 A.store.Ref(ptr + 4 + 28 + 12, undefined); 676 A.store.Ref(ptr + 52, undefined); 677 A.store.Ref(ptr + 56, undefined); 678 A.store.Ref(ptr + 60, undefined); 679 A.store.Enum(ptr + 64, -1); 680 A.store.Ref(ptr + 68, undefined); 681 A.store.Ref(ptr + 72, undefined); 682 A.store.Ref(ptr + 76, undefined); 683 A.store.Ref(ptr + 80, undefined); 684 A.store.Bool(ptr + 127, false); 685 A.store.Bool(ptr + 84, false); 686 A.store.Ref(ptr + 88, undefined); 687 A.store.Ref(ptr + 92, undefined); 688 689 A.store.Bool(ptr + 96 + 28, false); 690 A.store.Ref(ptr + 96 + 0, undefined); 691 A.store.Ref(ptr + 96 + 4, undefined); 692 A.store.Ref(ptr + 96 + 8, undefined); 693 A.store.Ref(ptr + 96 + 12, undefined); 694 A.store.Ref(ptr + 96 + 16, undefined); 695 A.store.Ref(ptr + 96 + 20, undefined); 696 A.store.Bool(ptr + 96 + 26, false); 697 A.store.Bool(ptr + 96 + 24, false); 698 A.store.Bool(ptr + 96 + 27, false); 699 A.store.Bool(ptr + 96 + 25, false); 700 A.store.Bool(ptr + 128, false); 701 A.store.Bool(ptr + 125, false); 702 A.store.Bool(ptr + 129, false); 703 A.store.Bool(ptr + 126, false); 704 } else { 705 A.store.Bool(ptr + 130, true); 706 A.store.Ref(ptr + 0, x["AnonymousIdentity"]); 707 708 if (typeof x["ClientCertPattern"] === "undefined") { 709 A.store.Bool(ptr + 4 + 45, false); 710 A.store.Ref(ptr + 4 + 0, undefined); 711 712 A.store.Bool(ptr + 4 + 4 + 16, false); 713 A.store.Ref(ptr + 4 + 4 + 0, undefined); 714 A.store.Ref(ptr + 4 + 4 + 4, undefined); 715 A.store.Ref(ptr + 4 + 4 + 8, undefined); 716 A.store.Ref(ptr + 4 + 4 + 12, undefined); 717 A.store.Ref(ptr + 4 + 24, undefined); 718 719 A.store.Bool(ptr + 4 + 28 + 16, false); 720 A.store.Ref(ptr + 4 + 28 + 0, undefined); 721 A.store.Ref(ptr + 4 + 28 + 4, undefined); 722 A.store.Ref(ptr + 4 + 28 + 8, undefined); 723 A.store.Ref(ptr + 4 + 28 + 12, undefined); 724 } else { 725 A.store.Bool(ptr + 4 + 45, true); 726 A.store.Ref(ptr + 4 + 0, x["ClientCertPattern"]["EnrollmentURI"]); 727 728 if (typeof x["ClientCertPattern"]["Issuer"] === "undefined") { 729 A.store.Bool(ptr + 4 + 4 + 16, false); 730 A.store.Ref(ptr + 4 + 4 + 0, undefined); 731 A.store.Ref(ptr + 4 + 4 + 4, undefined); 732 A.store.Ref(ptr + 4 + 4 + 8, undefined); 733 A.store.Ref(ptr + 4 + 4 + 12, undefined); 734 } else { 735 A.store.Bool(ptr + 4 + 4 + 16, true); 736 A.store.Ref(ptr + 4 + 4 + 0, x["ClientCertPattern"]["Issuer"]["CommonName"]); 737 A.store.Ref(ptr + 4 + 4 + 4, x["ClientCertPattern"]["Issuer"]["Locality"]); 738 A.store.Ref(ptr + 4 + 4 + 8, x["ClientCertPattern"]["Issuer"]["Organization"]); 739 A.store.Ref(ptr + 4 + 4 + 12, x["ClientCertPattern"]["Issuer"]["OrganizationalUnit"]); 740 } 741 A.store.Ref(ptr + 4 + 24, x["ClientCertPattern"]["IssuerCARef"]); 742 743 if (typeof x["ClientCertPattern"]["Subject"] === "undefined") { 744 A.store.Bool(ptr + 4 + 28 + 16, false); 745 A.store.Ref(ptr + 4 + 28 + 0, undefined); 746 A.store.Ref(ptr + 4 + 28 + 4, undefined); 747 A.store.Ref(ptr + 4 + 28 + 8, undefined); 748 A.store.Ref(ptr + 4 + 28 + 12, undefined); 749 } else { 750 A.store.Bool(ptr + 4 + 28 + 16, true); 751 A.store.Ref(ptr + 4 + 28 + 0, x["ClientCertPattern"]["Subject"]["CommonName"]); 752 A.store.Ref(ptr + 4 + 28 + 4, x["ClientCertPattern"]["Subject"]["Locality"]); 753 A.store.Ref(ptr + 4 + 28 + 8, x["ClientCertPattern"]["Subject"]["Organization"]); 754 A.store.Ref(ptr + 4 + 28 + 12, x["ClientCertPattern"]["Subject"]["OrganizationalUnit"]); 755 } 756 } 757 A.store.Ref(ptr + 52, x["ClientCertPKCS11Id"]); 758 A.store.Ref(ptr + 56, x["ClientCertProvisioningProfileId"]); 759 A.store.Ref(ptr + 60, x["ClientCertRef"]); 760 A.store.Enum(ptr + 64, ["Ref", "Pattern"].indexOf(x["ClientCertType"] as string)); 761 A.store.Ref(ptr + 68, x["Identity"]); 762 A.store.Ref(ptr + 72, x["Inner"]); 763 A.store.Ref(ptr + 76, x["Outer"]); 764 A.store.Ref(ptr + 80, x["Password"]); 765 A.store.Bool(ptr + 127, "SaveCredentials" in x ? true : false); 766 A.store.Bool(ptr + 84, x["SaveCredentials"] ? true : false); 767 A.store.Ref(ptr + 88, x["ServerCAPEMs"]); 768 A.store.Ref(ptr + 92, x["ServerCARefs"]); 769 770 if (typeof x["SubjectMatch"] === "undefined") { 771 A.store.Bool(ptr + 96 + 28, false); 772 A.store.Ref(ptr + 96 + 0, undefined); 773 A.store.Ref(ptr + 96 + 4, undefined); 774 A.store.Ref(ptr + 96 + 8, undefined); 775 A.store.Ref(ptr + 96 + 12, undefined); 776 A.store.Ref(ptr + 96 + 16, undefined); 777 A.store.Ref(ptr + 96 + 20, undefined); 778 A.store.Bool(ptr + 96 + 26, false); 779 A.store.Bool(ptr + 96 + 24, false); 780 A.store.Bool(ptr + 96 + 27, false); 781 A.store.Bool(ptr + 96 + 25, false); 782 } else { 783 A.store.Bool(ptr + 96 + 28, true); 784 A.store.Ref(ptr + 96 + 0, x["SubjectMatch"]["Active"]); 785 A.store.Ref(ptr + 96 + 4, x["SubjectMatch"]["Effective"]); 786 A.store.Ref(ptr + 96 + 8, x["SubjectMatch"]["UserPolicy"]); 787 A.store.Ref(ptr + 96 + 12, x["SubjectMatch"]["DevicePolicy"]); 788 A.store.Ref(ptr + 96 + 16, x["SubjectMatch"]["UserSetting"]); 789 A.store.Ref(ptr + 96 + 20, x["SubjectMatch"]["SharedSetting"]); 790 A.store.Bool(ptr + 96 + 26, "UserEditable" in x["SubjectMatch"] ? true : false); 791 A.store.Bool(ptr + 96 + 24, x["SubjectMatch"]["UserEditable"] ? true : false); 792 A.store.Bool(ptr + 96 + 27, "DeviceEditable" in x["SubjectMatch"] ? true : false); 793 A.store.Bool(ptr + 96 + 25, x["SubjectMatch"]["DeviceEditable"] ? true : false); 794 } 795 A.store.Bool(ptr + 128, "UseProactiveKeyCaching" in x ? true : false); 796 A.store.Bool(ptr + 125, x["UseProactiveKeyCaching"] ? true : false); 797 A.store.Bool(ptr + 129, "UseSystemCAs" in x ? true : false); 798 A.store.Bool(ptr + 126, x["UseSystemCAs"] ? true : false); 799 } 800 }, 801 "load_EAPProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 802 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 803 804 x["AnonymousIdentity"] = A.load.Ref(ptr + 0, undefined); 805 if (A.load.Bool(ptr + 4 + 45)) { 806 x["ClientCertPattern"] = {}; 807 x["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref(ptr + 4 + 0, undefined); 808 if (A.load.Bool(ptr + 4 + 4 + 16)) { 809 x["ClientCertPattern"]["Issuer"] = {}; 810 x["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref(ptr + 4 + 4 + 0, undefined); 811 x["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref(ptr + 4 + 4 + 4, undefined); 812 x["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref(ptr + 4 + 4 + 8, undefined); 813 x["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref(ptr + 4 + 4 + 12, undefined); 814 } else { 815 delete x["ClientCertPattern"]["Issuer"]; 816 } 817 x["ClientCertPattern"]["IssuerCARef"] = A.load.Ref(ptr + 4 + 24, undefined); 818 if (A.load.Bool(ptr + 4 + 28 + 16)) { 819 x["ClientCertPattern"]["Subject"] = {}; 820 x["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref(ptr + 4 + 28 + 0, undefined); 821 x["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref(ptr + 4 + 28 + 4, undefined); 822 x["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref(ptr + 4 + 28 + 8, undefined); 823 x["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref(ptr + 4 + 28 + 12, undefined); 824 } else { 825 delete x["ClientCertPattern"]["Subject"]; 826 } 827 } else { 828 delete x["ClientCertPattern"]; 829 } 830 x["ClientCertPKCS11Id"] = A.load.Ref(ptr + 52, undefined); 831 x["ClientCertProvisioningProfileId"] = A.load.Ref(ptr + 56, undefined); 832 x["ClientCertRef"] = A.load.Ref(ptr + 60, undefined); 833 x["ClientCertType"] = A.load.Enum(ptr + 64, ["Ref", "Pattern"]); 834 x["Identity"] = A.load.Ref(ptr + 68, undefined); 835 x["Inner"] = A.load.Ref(ptr + 72, undefined); 836 x["Outer"] = A.load.Ref(ptr + 76, undefined); 837 x["Password"] = A.load.Ref(ptr + 80, undefined); 838 if (A.load.Bool(ptr + 127)) { 839 x["SaveCredentials"] = A.load.Bool(ptr + 84); 840 } else { 841 delete x["SaveCredentials"]; 842 } 843 x["ServerCAPEMs"] = A.load.Ref(ptr + 88, undefined); 844 x["ServerCARefs"] = A.load.Ref(ptr + 92, undefined); 845 if (A.load.Bool(ptr + 96 + 28)) { 846 x["SubjectMatch"] = {}; 847 x["SubjectMatch"]["Active"] = A.load.Ref(ptr + 96 + 0, undefined); 848 x["SubjectMatch"]["Effective"] = A.load.Ref(ptr + 96 + 4, undefined); 849 x["SubjectMatch"]["UserPolicy"] = A.load.Ref(ptr + 96 + 8, undefined); 850 x["SubjectMatch"]["DevicePolicy"] = A.load.Ref(ptr + 96 + 12, undefined); 851 x["SubjectMatch"]["UserSetting"] = A.load.Ref(ptr + 96 + 16, undefined); 852 x["SubjectMatch"]["SharedSetting"] = A.load.Ref(ptr + 96 + 20, undefined); 853 if (A.load.Bool(ptr + 96 + 26)) { 854 x["SubjectMatch"]["UserEditable"] = A.load.Bool(ptr + 96 + 24); 855 } else { 856 delete x["SubjectMatch"]["UserEditable"]; 857 } 858 if (A.load.Bool(ptr + 96 + 27)) { 859 x["SubjectMatch"]["DeviceEditable"] = A.load.Bool(ptr + 96 + 25); 860 } else { 861 delete x["SubjectMatch"]["DeviceEditable"]; 862 } 863 } else { 864 delete x["SubjectMatch"]; 865 } 866 if (A.load.Bool(ptr + 128)) { 867 x["UseProactiveKeyCaching"] = A.load.Bool(ptr + 125); 868 } else { 869 delete x["UseProactiveKeyCaching"]; 870 } 871 if (A.load.Bool(ptr + 129)) { 872 x["UseSystemCAs"] = A.load.Bool(ptr + 126); 873 } else { 874 delete x["UseSystemCAs"]; 875 } 876 return create === A.H.TRUE ? A.H.push(x) : ref; 877 }, 878 879 "store_EthernetProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 880 const x = A.H.get<any>(ref); 881 882 if (typeof x === "undefined") { 883 A.store.Bool(ptr + 140, false); 884 A.store.Bool(ptr + 139, false); 885 A.store.Bool(ptr + 0, false); 886 A.store.Ref(ptr + 4, undefined); 887 888 A.store.Bool(ptr + 8 + 130, false); 889 A.store.Ref(ptr + 8 + 0, undefined); 890 891 A.store.Bool(ptr + 8 + 4 + 45, false); 892 A.store.Ref(ptr + 8 + 4 + 0, undefined); 893 894 A.store.Bool(ptr + 8 + 4 + 4 + 16, false); 895 A.store.Ref(ptr + 8 + 4 + 4 + 0, undefined); 896 A.store.Ref(ptr + 8 + 4 + 4 + 4, undefined); 897 A.store.Ref(ptr + 8 + 4 + 4 + 8, undefined); 898 A.store.Ref(ptr + 8 + 4 + 4 + 12, undefined); 899 A.store.Ref(ptr + 8 + 4 + 24, undefined); 900 901 A.store.Bool(ptr + 8 + 4 + 28 + 16, false); 902 A.store.Ref(ptr + 8 + 4 + 28 + 0, undefined); 903 A.store.Ref(ptr + 8 + 4 + 28 + 4, undefined); 904 A.store.Ref(ptr + 8 + 4 + 28 + 8, undefined); 905 A.store.Ref(ptr + 8 + 4 + 28 + 12, undefined); 906 A.store.Ref(ptr + 8 + 52, undefined); 907 A.store.Ref(ptr + 8 + 56, undefined); 908 A.store.Ref(ptr + 8 + 60, undefined); 909 A.store.Enum(ptr + 8 + 64, -1); 910 A.store.Ref(ptr + 8 + 68, undefined); 911 A.store.Ref(ptr + 8 + 72, undefined); 912 A.store.Ref(ptr + 8 + 76, undefined); 913 A.store.Ref(ptr + 8 + 80, undefined); 914 A.store.Bool(ptr + 8 + 127, false); 915 A.store.Bool(ptr + 8 + 84, false); 916 A.store.Ref(ptr + 8 + 88, undefined); 917 A.store.Ref(ptr + 8 + 92, undefined); 918 919 A.store.Bool(ptr + 8 + 96 + 28, false); 920 A.store.Ref(ptr + 8 + 96 + 0, undefined); 921 A.store.Ref(ptr + 8 + 96 + 4, undefined); 922 A.store.Ref(ptr + 8 + 96 + 8, undefined); 923 A.store.Ref(ptr + 8 + 96 + 12, undefined); 924 A.store.Ref(ptr + 8 + 96 + 16, undefined); 925 A.store.Ref(ptr + 8 + 96 + 20, undefined); 926 A.store.Bool(ptr + 8 + 96 + 26, false); 927 A.store.Bool(ptr + 8 + 96 + 24, false); 928 A.store.Bool(ptr + 8 + 96 + 27, false); 929 A.store.Bool(ptr + 8 + 96 + 25, false); 930 A.store.Bool(ptr + 8 + 128, false); 931 A.store.Bool(ptr + 8 + 125, false); 932 A.store.Bool(ptr + 8 + 129, false); 933 A.store.Bool(ptr + 8 + 126, false); 934 } else { 935 A.store.Bool(ptr + 140, true); 936 A.store.Bool(ptr + 139, "AutoConnect" in x ? true : false); 937 A.store.Bool(ptr + 0, x["AutoConnect"] ? true : false); 938 A.store.Ref(ptr + 4, x["Authentication"]); 939 940 if (typeof x["EAP"] === "undefined") { 941 A.store.Bool(ptr + 8 + 130, false); 942 A.store.Ref(ptr + 8 + 0, undefined); 943 944 A.store.Bool(ptr + 8 + 4 + 45, false); 945 A.store.Ref(ptr + 8 + 4 + 0, undefined); 946 947 A.store.Bool(ptr + 8 + 4 + 4 + 16, false); 948 A.store.Ref(ptr + 8 + 4 + 4 + 0, undefined); 949 A.store.Ref(ptr + 8 + 4 + 4 + 4, undefined); 950 A.store.Ref(ptr + 8 + 4 + 4 + 8, undefined); 951 A.store.Ref(ptr + 8 + 4 + 4 + 12, undefined); 952 A.store.Ref(ptr + 8 + 4 + 24, undefined); 953 954 A.store.Bool(ptr + 8 + 4 + 28 + 16, false); 955 A.store.Ref(ptr + 8 + 4 + 28 + 0, undefined); 956 A.store.Ref(ptr + 8 + 4 + 28 + 4, undefined); 957 A.store.Ref(ptr + 8 + 4 + 28 + 8, undefined); 958 A.store.Ref(ptr + 8 + 4 + 28 + 12, undefined); 959 A.store.Ref(ptr + 8 + 52, undefined); 960 A.store.Ref(ptr + 8 + 56, undefined); 961 A.store.Ref(ptr + 8 + 60, undefined); 962 A.store.Enum(ptr + 8 + 64, -1); 963 A.store.Ref(ptr + 8 + 68, undefined); 964 A.store.Ref(ptr + 8 + 72, undefined); 965 A.store.Ref(ptr + 8 + 76, undefined); 966 A.store.Ref(ptr + 8 + 80, undefined); 967 A.store.Bool(ptr + 8 + 127, false); 968 A.store.Bool(ptr + 8 + 84, false); 969 A.store.Ref(ptr + 8 + 88, undefined); 970 A.store.Ref(ptr + 8 + 92, undefined); 971 972 A.store.Bool(ptr + 8 + 96 + 28, false); 973 A.store.Ref(ptr + 8 + 96 + 0, undefined); 974 A.store.Ref(ptr + 8 + 96 + 4, undefined); 975 A.store.Ref(ptr + 8 + 96 + 8, undefined); 976 A.store.Ref(ptr + 8 + 96 + 12, undefined); 977 A.store.Ref(ptr + 8 + 96 + 16, undefined); 978 A.store.Ref(ptr + 8 + 96 + 20, undefined); 979 A.store.Bool(ptr + 8 + 96 + 26, false); 980 A.store.Bool(ptr + 8 + 96 + 24, false); 981 A.store.Bool(ptr + 8 + 96 + 27, false); 982 A.store.Bool(ptr + 8 + 96 + 25, false); 983 A.store.Bool(ptr + 8 + 128, false); 984 A.store.Bool(ptr + 8 + 125, false); 985 A.store.Bool(ptr + 8 + 129, false); 986 A.store.Bool(ptr + 8 + 126, false); 987 } else { 988 A.store.Bool(ptr + 8 + 130, true); 989 A.store.Ref(ptr + 8 + 0, x["EAP"]["AnonymousIdentity"]); 990 991 if (typeof x["EAP"]["ClientCertPattern"] === "undefined") { 992 A.store.Bool(ptr + 8 + 4 + 45, false); 993 A.store.Ref(ptr + 8 + 4 + 0, undefined); 994 995 A.store.Bool(ptr + 8 + 4 + 4 + 16, false); 996 A.store.Ref(ptr + 8 + 4 + 4 + 0, undefined); 997 A.store.Ref(ptr + 8 + 4 + 4 + 4, undefined); 998 A.store.Ref(ptr + 8 + 4 + 4 + 8, undefined); 999 A.store.Ref(ptr + 8 + 4 + 4 + 12, undefined); 1000 A.store.Ref(ptr + 8 + 4 + 24, undefined); 1001 1002 A.store.Bool(ptr + 8 + 4 + 28 + 16, false); 1003 A.store.Ref(ptr + 8 + 4 + 28 + 0, undefined); 1004 A.store.Ref(ptr + 8 + 4 + 28 + 4, undefined); 1005 A.store.Ref(ptr + 8 + 4 + 28 + 8, undefined); 1006 A.store.Ref(ptr + 8 + 4 + 28 + 12, undefined); 1007 } else { 1008 A.store.Bool(ptr + 8 + 4 + 45, true); 1009 A.store.Ref(ptr + 8 + 4 + 0, x["EAP"]["ClientCertPattern"]["EnrollmentURI"]); 1010 1011 if (typeof x["EAP"]["ClientCertPattern"]["Issuer"] === "undefined") { 1012 A.store.Bool(ptr + 8 + 4 + 4 + 16, false); 1013 A.store.Ref(ptr + 8 + 4 + 4 + 0, undefined); 1014 A.store.Ref(ptr + 8 + 4 + 4 + 4, undefined); 1015 A.store.Ref(ptr + 8 + 4 + 4 + 8, undefined); 1016 A.store.Ref(ptr + 8 + 4 + 4 + 12, undefined); 1017 } else { 1018 A.store.Bool(ptr + 8 + 4 + 4 + 16, true); 1019 A.store.Ref(ptr + 8 + 4 + 4 + 0, x["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"]); 1020 A.store.Ref(ptr + 8 + 4 + 4 + 4, x["EAP"]["ClientCertPattern"]["Issuer"]["Locality"]); 1021 A.store.Ref(ptr + 8 + 4 + 4 + 8, x["EAP"]["ClientCertPattern"]["Issuer"]["Organization"]); 1022 A.store.Ref(ptr + 8 + 4 + 4 + 12, x["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"]); 1023 } 1024 A.store.Ref(ptr + 8 + 4 + 24, x["EAP"]["ClientCertPattern"]["IssuerCARef"]); 1025 1026 if (typeof x["EAP"]["ClientCertPattern"]["Subject"] === "undefined") { 1027 A.store.Bool(ptr + 8 + 4 + 28 + 16, false); 1028 A.store.Ref(ptr + 8 + 4 + 28 + 0, undefined); 1029 A.store.Ref(ptr + 8 + 4 + 28 + 4, undefined); 1030 A.store.Ref(ptr + 8 + 4 + 28 + 8, undefined); 1031 A.store.Ref(ptr + 8 + 4 + 28 + 12, undefined); 1032 } else { 1033 A.store.Bool(ptr + 8 + 4 + 28 + 16, true); 1034 A.store.Ref(ptr + 8 + 4 + 28 + 0, x["EAP"]["ClientCertPattern"]["Subject"]["CommonName"]); 1035 A.store.Ref(ptr + 8 + 4 + 28 + 4, x["EAP"]["ClientCertPattern"]["Subject"]["Locality"]); 1036 A.store.Ref(ptr + 8 + 4 + 28 + 8, x["EAP"]["ClientCertPattern"]["Subject"]["Organization"]); 1037 A.store.Ref(ptr + 8 + 4 + 28 + 12, x["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"]); 1038 } 1039 } 1040 A.store.Ref(ptr + 8 + 52, x["EAP"]["ClientCertPKCS11Id"]); 1041 A.store.Ref(ptr + 8 + 56, x["EAP"]["ClientCertProvisioningProfileId"]); 1042 A.store.Ref(ptr + 8 + 60, x["EAP"]["ClientCertRef"]); 1043 A.store.Enum(ptr + 8 + 64, ["Ref", "Pattern"].indexOf(x["EAP"]["ClientCertType"] as string)); 1044 A.store.Ref(ptr + 8 + 68, x["EAP"]["Identity"]); 1045 A.store.Ref(ptr + 8 + 72, x["EAP"]["Inner"]); 1046 A.store.Ref(ptr + 8 + 76, x["EAP"]["Outer"]); 1047 A.store.Ref(ptr + 8 + 80, x["EAP"]["Password"]); 1048 A.store.Bool(ptr + 8 + 127, "SaveCredentials" in x["EAP"] ? true : false); 1049 A.store.Bool(ptr + 8 + 84, x["EAP"]["SaveCredentials"] ? true : false); 1050 A.store.Ref(ptr + 8 + 88, x["EAP"]["ServerCAPEMs"]); 1051 A.store.Ref(ptr + 8 + 92, x["EAP"]["ServerCARefs"]); 1052 1053 if (typeof x["EAP"]["SubjectMatch"] === "undefined") { 1054 A.store.Bool(ptr + 8 + 96 + 28, false); 1055 A.store.Ref(ptr + 8 + 96 + 0, undefined); 1056 A.store.Ref(ptr + 8 + 96 + 4, undefined); 1057 A.store.Ref(ptr + 8 + 96 + 8, undefined); 1058 A.store.Ref(ptr + 8 + 96 + 12, undefined); 1059 A.store.Ref(ptr + 8 + 96 + 16, undefined); 1060 A.store.Ref(ptr + 8 + 96 + 20, undefined); 1061 A.store.Bool(ptr + 8 + 96 + 26, false); 1062 A.store.Bool(ptr + 8 + 96 + 24, false); 1063 A.store.Bool(ptr + 8 + 96 + 27, false); 1064 A.store.Bool(ptr + 8 + 96 + 25, false); 1065 } else { 1066 A.store.Bool(ptr + 8 + 96 + 28, true); 1067 A.store.Ref(ptr + 8 + 96 + 0, x["EAP"]["SubjectMatch"]["Active"]); 1068 A.store.Ref(ptr + 8 + 96 + 4, x["EAP"]["SubjectMatch"]["Effective"]); 1069 A.store.Ref(ptr + 8 + 96 + 8, x["EAP"]["SubjectMatch"]["UserPolicy"]); 1070 A.store.Ref(ptr + 8 + 96 + 12, x["EAP"]["SubjectMatch"]["DevicePolicy"]); 1071 A.store.Ref(ptr + 8 + 96 + 16, x["EAP"]["SubjectMatch"]["UserSetting"]); 1072 A.store.Ref(ptr + 8 + 96 + 20, x["EAP"]["SubjectMatch"]["SharedSetting"]); 1073 A.store.Bool(ptr + 8 + 96 + 26, "UserEditable" in x["EAP"]["SubjectMatch"] ? true : false); 1074 A.store.Bool(ptr + 8 + 96 + 24, x["EAP"]["SubjectMatch"]["UserEditable"] ? true : false); 1075 A.store.Bool(ptr + 8 + 96 + 27, "DeviceEditable" in x["EAP"]["SubjectMatch"] ? true : false); 1076 A.store.Bool(ptr + 8 + 96 + 25, x["EAP"]["SubjectMatch"]["DeviceEditable"] ? true : false); 1077 } 1078 A.store.Bool(ptr + 8 + 128, "UseProactiveKeyCaching" in x["EAP"] ? true : false); 1079 A.store.Bool(ptr + 8 + 125, x["EAP"]["UseProactiveKeyCaching"] ? true : false); 1080 A.store.Bool(ptr + 8 + 129, "UseSystemCAs" in x["EAP"] ? true : false); 1081 A.store.Bool(ptr + 8 + 126, x["EAP"]["UseSystemCAs"] ? true : false); 1082 } 1083 } 1084 }, 1085 "load_EthernetProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 1086 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 1087 1088 if (A.load.Bool(ptr + 139)) { 1089 x["AutoConnect"] = A.load.Bool(ptr + 0); 1090 } else { 1091 delete x["AutoConnect"]; 1092 } 1093 x["Authentication"] = A.load.Ref(ptr + 4, undefined); 1094 if (A.load.Bool(ptr + 8 + 130)) { 1095 x["EAP"] = {}; 1096 x["EAP"]["AnonymousIdentity"] = A.load.Ref(ptr + 8 + 0, undefined); 1097 if (A.load.Bool(ptr + 8 + 4 + 45)) { 1098 x["EAP"]["ClientCertPattern"] = {}; 1099 x["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref(ptr + 8 + 4 + 0, undefined); 1100 if (A.load.Bool(ptr + 8 + 4 + 4 + 16)) { 1101 x["EAP"]["ClientCertPattern"]["Issuer"] = {}; 1102 x["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref(ptr + 8 + 4 + 4 + 0, undefined); 1103 x["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref(ptr + 8 + 4 + 4 + 4, undefined); 1104 x["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref(ptr + 8 + 4 + 4 + 8, undefined); 1105 x["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref(ptr + 8 + 4 + 4 + 12, undefined); 1106 } else { 1107 delete x["EAP"]["ClientCertPattern"]["Issuer"]; 1108 } 1109 x["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref(ptr + 8 + 4 + 24, undefined); 1110 if (A.load.Bool(ptr + 8 + 4 + 28 + 16)) { 1111 x["EAP"]["ClientCertPattern"]["Subject"] = {}; 1112 x["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref(ptr + 8 + 4 + 28 + 0, undefined); 1113 x["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref(ptr + 8 + 4 + 28 + 4, undefined); 1114 x["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref(ptr + 8 + 4 + 28 + 8, undefined); 1115 x["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 1116 ptr + 8 + 4 + 28 + 12, 1117 undefined 1118 ); 1119 } else { 1120 delete x["EAP"]["ClientCertPattern"]["Subject"]; 1121 } 1122 } else { 1123 delete x["EAP"]["ClientCertPattern"]; 1124 } 1125 x["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(ptr + 8 + 52, undefined); 1126 x["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref(ptr + 8 + 56, undefined); 1127 x["EAP"]["ClientCertRef"] = A.load.Ref(ptr + 8 + 60, undefined); 1128 x["EAP"]["ClientCertType"] = A.load.Enum(ptr + 8 + 64, ["Ref", "Pattern"]); 1129 x["EAP"]["Identity"] = A.load.Ref(ptr + 8 + 68, undefined); 1130 x["EAP"]["Inner"] = A.load.Ref(ptr + 8 + 72, undefined); 1131 x["EAP"]["Outer"] = A.load.Ref(ptr + 8 + 76, undefined); 1132 x["EAP"]["Password"] = A.load.Ref(ptr + 8 + 80, undefined); 1133 if (A.load.Bool(ptr + 8 + 127)) { 1134 x["EAP"]["SaveCredentials"] = A.load.Bool(ptr + 8 + 84); 1135 } else { 1136 delete x["EAP"]["SaveCredentials"]; 1137 } 1138 x["EAP"]["ServerCAPEMs"] = A.load.Ref(ptr + 8 + 88, undefined); 1139 x["EAP"]["ServerCARefs"] = A.load.Ref(ptr + 8 + 92, undefined); 1140 if (A.load.Bool(ptr + 8 + 96 + 28)) { 1141 x["EAP"]["SubjectMatch"] = {}; 1142 x["EAP"]["SubjectMatch"]["Active"] = A.load.Ref(ptr + 8 + 96 + 0, undefined); 1143 x["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref(ptr + 8 + 96 + 4, undefined); 1144 x["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref(ptr + 8 + 96 + 8, undefined); 1145 x["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref(ptr + 8 + 96 + 12, undefined); 1146 x["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref(ptr + 8 + 96 + 16, undefined); 1147 x["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref(ptr + 8 + 96 + 20, undefined); 1148 if (A.load.Bool(ptr + 8 + 96 + 26)) { 1149 x["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool(ptr + 8 + 96 + 24); 1150 } else { 1151 delete x["EAP"]["SubjectMatch"]["UserEditable"]; 1152 } 1153 if (A.load.Bool(ptr + 8 + 96 + 27)) { 1154 x["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool(ptr + 8 + 96 + 25); 1155 } else { 1156 delete x["EAP"]["SubjectMatch"]["DeviceEditable"]; 1157 } 1158 } else { 1159 delete x["EAP"]["SubjectMatch"]; 1160 } 1161 if (A.load.Bool(ptr + 8 + 128)) { 1162 x["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(ptr + 8 + 125); 1163 } else { 1164 delete x["EAP"]["UseProactiveKeyCaching"]; 1165 } 1166 if (A.load.Bool(ptr + 8 + 129)) { 1167 x["EAP"]["UseSystemCAs"] = A.load.Bool(ptr + 8 + 126); 1168 } else { 1169 delete x["EAP"]["UseSystemCAs"]; 1170 } 1171 } else { 1172 delete x["EAP"]; 1173 } 1174 return create === A.H.TRUE ? A.H.push(x) : ref; 1175 }, 1176 1177 "store_EthernetStateProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 1178 const x = A.H.get<any>(ref); 1179 1180 if (typeof x === "undefined") { 1181 A.store.Bool(ptr + 4, false); 1182 A.store.Ref(ptr + 0, undefined); 1183 } else { 1184 A.store.Bool(ptr + 4, true); 1185 A.store.Ref(ptr + 0, x["Authentication"]); 1186 } 1187 }, 1188 "load_EthernetStateProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 1189 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 1190 1191 x["Authentication"] = A.load.Ref(ptr + 0, undefined); 1192 return create === A.H.TRUE ? A.H.push(x) : ref; 1193 }, 1194 1195 "store_GlobalPolicy": (ptr: Pointer, ref: heap.Ref<any>) => { 1196 const x = A.H.get<any>(ref); 1197 1198 if (typeof x === "undefined") { 1199 A.store.Bool(ptr + 11, false); 1200 A.store.Bool(ptr + 8, false); 1201 A.store.Bool(ptr + 0, false); 1202 A.store.Bool(ptr + 9, false); 1203 A.store.Bool(ptr + 1, false); 1204 A.store.Bool(ptr + 10, false); 1205 A.store.Bool(ptr + 2, false); 1206 A.store.Ref(ptr + 4, undefined); 1207 } else { 1208 A.store.Bool(ptr + 11, true); 1209 A.store.Bool(ptr + 8, "AllowOnlyPolicyNetworksToAutoconnect" in x ? true : false); 1210 A.store.Bool(ptr + 0, x["AllowOnlyPolicyNetworksToAutoconnect"] ? true : false); 1211 A.store.Bool(ptr + 9, "AllowOnlyPolicyNetworksToConnect" in x ? true : false); 1212 A.store.Bool(ptr + 1, x["AllowOnlyPolicyNetworksToConnect"] ? true : false); 1213 A.store.Bool(ptr + 10, "AllowOnlyPolicyNetworksToConnectIfAvailable" in x ? true : false); 1214 A.store.Bool(ptr + 2, x["AllowOnlyPolicyNetworksToConnectIfAvailable"] ? true : false); 1215 A.store.Ref(ptr + 4, x["BlockedHexSSIDs"]); 1216 } 1217 }, 1218 "load_GlobalPolicy": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 1219 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 1220 1221 if (A.load.Bool(ptr + 8)) { 1222 x["AllowOnlyPolicyNetworksToAutoconnect"] = A.load.Bool(ptr + 0); 1223 } else { 1224 delete x["AllowOnlyPolicyNetworksToAutoconnect"]; 1225 } 1226 if (A.load.Bool(ptr + 9)) { 1227 x["AllowOnlyPolicyNetworksToConnect"] = A.load.Bool(ptr + 1); 1228 } else { 1229 delete x["AllowOnlyPolicyNetworksToConnect"]; 1230 } 1231 if (A.load.Bool(ptr + 10)) { 1232 x["AllowOnlyPolicyNetworksToConnectIfAvailable"] = A.load.Bool(ptr + 2); 1233 } else { 1234 delete x["AllowOnlyPolicyNetworksToConnectIfAvailable"]; 1235 } 1236 x["BlockedHexSSIDs"] = A.load.Ref(ptr + 4, undefined); 1237 return create === A.H.TRUE ? A.H.push(x) : ref; 1238 }, 1239 1240 "store_ManagedBoolean": (ptr: Pointer, ref: heap.Ref<any>) => { 1241 const x = A.H.get<any>(ref); 1242 1243 if (typeof x === "undefined") { 1244 A.store.Bool(ptr + 21, false); 1245 A.store.Bool(ptr + 14, false); 1246 A.store.Bool(ptr + 0, false); 1247 A.store.Ref(ptr + 4, undefined); 1248 A.store.Bool(ptr + 15, false); 1249 A.store.Bool(ptr + 8, false); 1250 A.store.Bool(ptr + 16, false); 1251 A.store.Bool(ptr + 9, false); 1252 A.store.Bool(ptr + 17, false); 1253 A.store.Bool(ptr + 10, false); 1254 A.store.Bool(ptr + 18, false); 1255 A.store.Bool(ptr + 11, false); 1256 A.store.Bool(ptr + 19, false); 1257 A.store.Bool(ptr + 12, false); 1258 A.store.Bool(ptr + 20, false); 1259 A.store.Bool(ptr + 13, false); 1260 } else { 1261 A.store.Bool(ptr + 21, true); 1262 A.store.Bool(ptr + 14, "Active" in x ? true : false); 1263 A.store.Bool(ptr + 0, x["Active"] ? true : false); 1264 A.store.Ref(ptr + 4, x["Effective"]); 1265 A.store.Bool(ptr + 15, "UserPolicy" in x ? true : false); 1266 A.store.Bool(ptr + 8, x["UserPolicy"] ? true : false); 1267 A.store.Bool(ptr + 16, "DevicePolicy" in x ? true : false); 1268 A.store.Bool(ptr + 9, x["DevicePolicy"] ? true : false); 1269 A.store.Bool(ptr + 17, "UserSetting" in x ? true : false); 1270 A.store.Bool(ptr + 10, x["UserSetting"] ? true : false); 1271 A.store.Bool(ptr + 18, "SharedSetting" in x ? true : false); 1272 A.store.Bool(ptr + 11, x["SharedSetting"] ? true : false); 1273 A.store.Bool(ptr + 19, "UserEditable" in x ? true : false); 1274 A.store.Bool(ptr + 12, x["UserEditable"] ? true : false); 1275 A.store.Bool(ptr + 20, "DeviceEditable" in x ? true : false); 1276 A.store.Bool(ptr + 13, x["DeviceEditable"] ? true : false); 1277 } 1278 }, 1279 "load_ManagedBoolean": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 1280 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 1281 1282 if (A.load.Bool(ptr + 14)) { 1283 x["Active"] = A.load.Bool(ptr + 0); 1284 } else { 1285 delete x["Active"]; 1286 } 1287 x["Effective"] = A.load.Ref(ptr + 4, undefined); 1288 if (A.load.Bool(ptr + 15)) { 1289 x["UserPolicy"] = A.load.Bool(ptr + 8); 1290 } else { 1291 delete x["UserPolicy"]; 1292 } 1293 if (A.load.Bool(ptr + 16)) { 1294 x["DevicePolicy"] = A.load.Bool(ptr + 9); 1295 } else { 1296 delete x["DevicePolicy"]; 1297 } 1298 if (A.load.Bool(ptr + 17)) { 1299 x["UserSetting"] = A.load.Bool(ptr + 10); 1300 } else { 1301 delete x["UserSetting"]; 1302 } 1303 if (A.load.Bool(ptr + 18)) { 1304 x["SharedSetting"] = A.load.Bool(ptr + 11); 1305 } else { 1306 delete x["SharedSetting"]; 1307 } 1308 if (A.load.Bool(ptr + 19)) { 1309 x["UserEditable"] = A.load.Bool(ptr + 12); 1310 } else { 1311 delete x["UserEditable"]; 1312 } 1313 if (A.load.Bool(ptr + 20)) { 1314 x["DeviceEditable"] = A.load.Bool(ptr + 13); 1315 } else { 1316 delete x["DeviceEditable"]; 1317 } 1318 return create === A.H.TRUE ? A.H.push(x) : ref; 1319 }, 1320 1321 "store_ManagedCellularProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 1322 const x = A.H.get<any>(ref); 1323 1324 if (typeof x === "undefined") { 1325 A.store.Bool(ptr + 134, false); 1326 1327 A.store.Bool(ptr + 0 + 21, false); 1328 A.store.Bool(ptr + 0 + 14, false); 1329 A.store.Bool(ptr + 0 + 0, false); 1330 A.store.Ref(ptr + 0 + 4, undefined); 1331 A.store.Bool(ptr + 0 + 15, false); 1332 A.store.Bool(ptr + 0 + 8, false); 1333 A.store.Bool(ptr + 0 + 16, false); 1334 A.store.Bool(ptr + 0 + 9, false); 1335 A.store.Bool(ptr + 0 + 17, false); 1336 A.store.Bool(ptr + 0 + 10, false); 1337 A.store.Bool(ptr + 0 + 18, false); 1338 A.store.Bool(ptr + 0 + 11, false); 1339 A.store.Bool(ptr + 0 + 19, false); 1340 A.store.Bool(ptr + 0 + 12, false); 1341 A.store.Bool(ptr + 0 + 20, false); 1342 A.store.Bool(ptr + 0 + 13, false); 1343 A.store.Ref(ptr + 24, undefined); 1344 A.store.Enum(ptr + 28, -1); 1345 A.store.Bool(ptr + 129, false); 1346 A.store.Bool(ptr + 32, false); 1347 A.store.Ref(ptr + 36, undefined); 1348 A.store.Ref(ptr + 40, undefined); 1349 A.store.Ref(ptr + 44, undefined); 1350 A.store.Ref(ptr + 48, undefined); 1351 A.store.Ref(ptr + 52, undefined); 1352 A.store.Ref(ptr + 56, undefined); 1353 A.store.Ref(ptr + 60, undefined); 1354 A.store.Ref(ptr + 64, undefined); 1355 1356 A.store.Bool(ptr + 68 + 12, false); 1357 A.store.Ref(ptr + 68 + 0, undefined); 1358 A.store.Ref(ptr + 68 + 4, undefined); 1359 A.store.Ref(ptr + 68 + 8, undefined); 1360 A.store.Ref(ptr + 84, undefined); 1361 A.store.Bool(ptr + 130, false); 1362 A.store.Bool(ptr + 88, false); 1363 1364 A.store.Bool(ptr + 92 + 12, false); 1365 A.store.Ref(ptr + 92 + 0, undefined); 1366 A.store.Ref(ptr + 92 + 4, undefined); 1367 A.store.Ref(ptr + 92 + 8, undefined); 1368 1369 A.store.Bool(ptr + 108 + 14, false); 1370 A.store.Ref(ptr + 108 + 0, undefined); 1371 A.store.Bool(ptr + 108 + 12, false); 1372 A.store.Bool(ptr + 108 + 4, false); 1373 A.store.Bool(ptr + 108 + 13, false); 1374 A.store.Int32(ptr + 108 + 8, 0); 1375 A.store.Bool(ptr + 131, false); 1376 A.store.Bool(ptr + 123, false); 1377 A.store.Bool(ptr + 132, false); 1378 A.store.Int32(ptr + 124, 0); 1379 A.store.Bool(ptr + 133, false); 1380 A.store.Bool(ptr + 128, false); 1381 } else { 1382 A.store.Bool(ptr + 134, true); 1383 1384 if (typeof x["AutoConnect"] === "undefined") { 1385 A.store.Bool(ptr + 0 + 21, false); 1386 A.store.Bool(ptr + 0 + 14, false); 1387 A.store.Bool(ptr + 0 + 0, false); 1388 A.store.Ref(ptr + 0 + 4, undefined); 1389 A.store.Bool(ptr + 0 + 15, false); 1390 A.store.Bool(ptr + 0 + 8, false); 1391 A.store.Bool(ptr + 0 + 16, false); 1392 A.store.Bool(ptr + 0 + 9, false); 1393 A.store.Bool(ptr + 0 + 17, false); 1394 A.store.Bool(ptr + 0 + 10, false); 1395 A.store.Bool(ptr + 0 + 18, false); 1396 A.store.Bool(ptr + 0 + 11, false); 1397 A.store.Bool(ptr + 0 + 19, false); 1398 A.store.Bool(ptr + 0 + 12, false); 1399 A.store.Bool(ptr + 0 + 20, false); 1400 A.store.Bool(ptr + 0 + 13, false); 1401 } else { 1402 A.store.Bool(ptr + 0 + 21, true); 1403 A.store.Bool(ptr + 0 + 14, "Active" in x["AutoConnect"] ? true : false); 1404 A.store.Bool(ptr + 0 + 0, x["AutoConnect"]["Active"] ? true : false); 1405 A.store.Ref(ptr + 0 + 4, x["AutoConnect"]["Effective"]); 1406 A.store.Bool(ptr + 0 + 15, "UserPolicy" in x["AutoConnect"] ? true : false); 1407 A.store.Bool(ptr + 0 + 8, x["AutoConnect"]["UserPolicy"] ? true : false); 1408 A.store.Bool(ptr + 0 + 16, "DevicePolicy" in x["AutoConnect"] ? true : false); 1409 A.store.Bool(ptr + 0 + 9, x["AutoConnect"]["DevicePolicy"] ? true : false); 1410 A.store.Bool(ptr + 0 + 17, "UserSetting" in x["AutoConnect"] ? true : false); 1411 A.store.Bool(ptr + 0 + 10, x["AutoConnect"]["UserSetting"] ? true : false); 1412 A.store.Bool(ptr + 0 + 18, "SharedSetting" in x["AutoConnect"] ? true : false); 1413 A.store.Bool(ptr + 0 + 11, x["AutoConnect"]["SharedSetting"] ? true : false); 1414 A.store.Bool(ptr + 0 + 19, "UserEditable" in x["AutoConnect"] ? true : false); 1415 A.store.Bool(ptr + 0 + 12, x["AutoConnect"]["UserEditable"] ? true : false); 1416 A.store.Bool(ptr + 0 + 20, "DeviceEditable" in x["AutoConnect"] ? true : false); 1417 A.store.Bool(ptr + 0 + 13, x["AutoConnect"]["DeviceEditable"] ? true : false); 1418 } 1419 A.store.Ref(ptr + 24, x["ActivationType"]); 1420 A.store.Enum( 1421 ptr + 28, 1422 ["Activated", "Activating", "NotActivated", "PartiallyActivated"].indexOf(x["ActivationState"] as string) 1423 ); 1424 A.store.Bool(ptr + 129, "AllowRoaming" in x ? true : false); 1425 A.store.Bool(ptr + 32, x["AllowRoaming"] ? true : false); 1426 A.store.Ref(ptr + 36, x["Family"]); 1427 A.store.Ref(ptr + 40, x["FirmwareRevision"]); 1428 A.store.Ref(ptr + 44, x["FoundNetworks"]); 1429 A.store.Ref(ptr + 48, x["HardwareRevision"]); 1430 A.store.Ref(ptr + 52, x["HomeProvider"]); 1431 A.store.Ref(ptr + 56, x["Manufacturer"]); 1432 A.store.Ref(ptr + 60, x["ModelID"]); 1433 A.store.Ref(ptr + 64, x["NetworkTechnology"]); 1434 1435 if (typeof x["PaymentPortal"] === "undefined") { 1436 A.store.Bool(ptr + 68 + 12, false); 1437 A.store.Ref(ptr + 68 + 0, undefined); 1438 A.store.Ref(ptr + 68 + 4, undefined); 1439 A.store.Ref(ptr + 68 + 8, undefined); 1440 } else { 1441 A.store.Bool(ptr + 68 + 12, true); 1442 A.store.Ref(ptr + 68 + 0, x["PaymentPortal"]["Method"]); 1443 A.store.Ref(ptr + 68 + 4, x["PaymentPortal"]["PostData"]); 1444 A.store.Ref(ptr + 68 + 8, x["PaymentPortal"]["Url"]); 1445 } 1446 A.store.Ref(ptr + 84, x["RoamingState"]); 1447 A.store.Bool(ptr + 130, "Scanning" in x ? true : false); 1448 A.store.Bool(ptr + 88, x["Scanning"] ? true : false); 1449 1450 if (typeof x["ServingOperator"] === "undefined") { 1451 A.store.Bool(ptr + 92 + 12, false); 1452 A.store.Ref(ptr + 92 + 0, undefined); 1453 A.store.Ref(ptr + 92 + 4, undefined); 1454 A.store.Ref(ptr + 92 + 8, undefined); 1455 } else { 1456 A.store.Bool(ptr + 92 + 12, true); 1457 A.store.Ref(ptr + 92 + 0, x["ServingOperator"]["Name"]); 1458 A.store.Ref(ptr + 92 + 4, x["ServingOperator"]["Code"]); 1459 A.store.Ref(ptr + 92 + 8, x["ServingOperator"]["Country"]); 1460 } 1461 1462 if (typeof x["SIMLockStatus"] === "undefined") { 1463 A.store.Bool(ptr + 108 + 14, false); 1464 A.store.Ref(ptr + 108 + 0, undefined); 1465 A.store.Bool(ptr + 108 + 12, false); 1466 A.store.Bool(ptr + 108 + 4, false); 1467 A.store.Bool(ptr + 108 + 13, false); 1468 A.store.Int32(ptr + 108 + 8, 0); 1469 } else { 1470 A.store.Bool(ptr + 108 + 14, true); 1471 A.store.Ref(ptr + 108 + 0, x["SIMLockStatus"]["LockType"]); 1472 A.store.Bool(ptr + 108 + 12, "LockEnabled" in x["SIMLockStatus"] ? true : false); 1473 A.store.Bool(ptr + 108 + 4, x["SIMLockStatus"]["LockEnabled"] ? true : false); 1474 A.store.Bool(ptr + 108 + 13, "RetriesLeft" in x["SIMLockStatus"] ? true : false); 1475 A.store.Int32( 1476 ptr + 108 + 8, 1477 x["SIMLockStatus"]["RetriesLeft"] === undefined ? 0 : (x["SIMLockStatus"]["RetriesLeft"] as number) 1478 ); 1479 } 1480 A.store.Bool(ptr + 131, "SIMPresent" in x ? true : false); 1481 A.store.Bool(ptr + 123, x["SIMPresent"] ? true : false); 1482 A.store.Bool(ptr + 132, "SignalStrength" in x ? true : false); 1483 A.store.Int32(ptr + 124, x["SignalStrength"] === undefined ? 0 : (x["SignalStrength"] as number)); 1484 A.store.Bool(ptr + 133, "SupportNetworkScan" in x ? true : false); 1485 A.store.Bool(ptr + 128, x["SupportNetworkScan"] ? true : false); 1486 } 1487 }, 1488 "load_ManagedCellularProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 1489 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 1490 1491 if (A.load.Bool(ptr + 0 + 21)) { 1492 x["AutoConnect"] = {}; 1493 if (A.load.Bool(ptr + 0 + 14)) { 1494 x["AutoConnect"]["Active"] = A.load.Bool(ptr + 0 + 0); 1495 } else { 1496 delete x["AutoConnect"]["Active"]; 1497 } 1498 x["AutoConnect"]["Effective"] = A.load.Ref(ptr + 0 + 4, undefined); 1499 if (A.load.Bool(ptr + 0 + 15)) { 1500 x["AutoConnect"]["UserPolicy"] = A.load.Bool(ptr + 0 + 8); 1501 } else { 1502 delete x["AutoConnect"]["UserPolicy"]; 1503 } 1504 if (A.load.Bool(ptr + 0 + 16)) { 1505 x["AutoConnect"]["DevicePolicy"] = A.load.Bool(ptr + 0 + 9); 1506 } else { 1507 delete x["AutoConnect"]["DevicePolicy"]; 1508 } 1509 if (A.load.Bool(ptr + 0 + 17)) { 1510 x["AutoConnect"]["UserSetting"] = A.load.Bool(ptr + 0 + 10); 1511 } else { 1512 delete x["AutoConnect"]["UserSetting"]; 1513 } 1514 if (A.load.Bool(ptr + 0 + 18)) { 1515 x["AutoConnect"]["SharedSetting"] = A.load.Bool(ptr + 0 + 11); 1516 } else { 1517 delete x["AutoConnect"]["SharedSetting"]; 1518 } 1519 if (A.load.Bool(ptr + 0 + 19)) { 1520 x["AutoConnect"]["UserEditable"] = A.load.Bool(ptr + 0 + 12); 1521 } else { 1522 delete x["AutoConnect"]["UserEditable"]; 1523 } 1524 if (A.load.Bool(ptr + 0 + 20)) { 1525 x["AutoConnect"]["DeviceEditable"] = A.load.Bool(ptr + 0 + 13); 1526 } else { 1527 delete x["AutoConnect"]["DeviceEditable"]; 1528 } 1529 } else { 1530 delete x["AutoConnect"]; 1531 } 1532 x["ActivationType"] = A.load.Ref(ptr + 24, undefined); 1533 x["ActivationState"] = A.load.Enum(ptr + 28, ["Activated", "Activating", "NotActivated", "PartiallyActivated"]); 1534 if (A.load.Bool(ptr + 129)) { 1535 x["AllowRoaming"] = A.load.Bool(ptr + 32); 1536 } else { 1537 delete x["AllowRoaming"]; 1538 } 1539 x["Family"] = A.load.Ref(ptr + 36, undefined); 1540 x["FirmwareRevision"] = A.load.Ref(ptr + 40, undefined); 1541 x["FoundNetworks"] = A.load.Ref(ptr + 44, undefined); 1542 x["HardwareRevision"] = A.load.Ref(ptr + 48, undefined); 1543 x["HomeProvider"] = A.load.Ref(ptr + 52, undefined); 1544 x["Manufacturer"] = A.load.Ref(ptr + 56, undefined); 1545 x["ModelID"] = A.load.Ref(ptr + 60, undefined); 1546 x["NetworkTechnology"] = A.load.Ref(ptr + 64, undefined); 1547 if (A.load.Bool(ptr + 68 + 12)) { 1548 x["PaymentPortal"] = {}; 1549 x["PaymentPortal"]["Method"] = A.load.Ref(ptr + 68 + 0, undefined); 1550 x["PaymentPortal"]["PostData"] = A.load.Ref(ptr + 68 + 4, undefined); 1551 x["PaymentPortal"]["Url"] = A.load.Ref(ptr + 68 + 8, undefined); 1552 } else { 1553 delete x["PaymentPortal"]; 1554 } 1555 x["RoamingState"] = A.load.Ref(ptr + 84, undefined); 1556 if (A.load.Bool(ptr + 130)) { 1557 x["Scanning"] = A.load.Bool(ptr + 88); 1558 } else { 1559 delete x["Scanning"]; 1560 } 1561 if (A.load.Bool(ptr + 92 + 12)) { 1562 x["ServingOperator"] = {}; 1563 x["ServingOperator"]["Name"] = A.load.Ref(ptr + 92 + 0, undefined); 1564 x["ServingOperator"]["Code"] = A.load.Ref(ptr + 92 + 4, undefined); 1565 x["ServingOperator"]["Country"] = A.load.Ref(ptr + 92 + 8, undefined); 1566 } else { 1567 delete x["ServingOperator"]; 1568 } 1569 if (A.load.Bool(ptr + 108 + 14)) { 1570 x["SIMLockStatus"] = {}; 1571 x["SIMLockStatus"]["LockType"] = A.load.Ref(ptr + 108 + 0, undefined); 1572 if (A.load.Bool(ptr + 108 + 12)) { 1573 x["SIMLockStatus"]["LockEnabled"] = A.load.Bool(ptr + 108 + 4); 1574 } else { 1575 delete x["SIMLockStatus"]["LockEnabled"]; 1576 } 1577 if (A.load.Bool(ptr + 108 + 13)) { 1578 x["SIMLockStatus"]["RetriesLeft"] = A.load.Int32(ptr + 108 + 8); 1579 } else { 1580 delete x["SIMLockStatus"]["RetriesLeft"]; 1581 } 1582 } else { 1583 delete x["SIMLockStatus"]; 1584 } 1585 if (A.load.Bool(ptr + 131)) { 1586 x["SIMPresent"] = A.load.Bool(ptr + 123); 1587 } else { 1588 delete x["SIMPresent"]; 1589 } 1590 if (A.load.Bool(ptr + 132)) { 1591 x["SignalStrength"] = A.load.Int32(ptr + 124); 1592 } else { 1593 delete x["SignalStrength"]; 1594 } 1595 if (A.load.Bool(ptr + 133)) { 1596 x["SupportNetworkScan"] = A.load.Bool(ptr + 128); 1597 } else { 1598 delete x["SupportNetworkScan"]; 1599 } 1600 return create === A.H.TRUE ? A.H.push(x) : ref; 1601 }, 1602 1603 "store_ManagedEthernetProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 1604 const x = A.H.get<any>(ref); 1605 1606 if (typeof x === "undefined") { 1607 A.store.Bool(ptr + 53, false); 1608 1609 A.store.Bool(ptr + 0 + 21, false); 1610 A.store.Bool(ptr + 0 + 14, false); 1611 A.store.Bool(ptr + 0 + 0, false); 1612 A.store.Ref(ptr + 0 + 4, undefined); 1613 A.store.Bool(ptr + 0 + 15, false); 1614 A.store.Bool(ptr + 0 + 8, false); 1615 A.store.Bool(ptr + 0 + 16, false); 1616 A.store.Bool(ptr + 0 + 9, false); 1617 A.store.Bool(ptr + 0 + 17, false); 1618 A.store.Bool(ptr + 0 + 10, false); 1619 A.store.Bool(ptr + 0 + 18, false); 1620 A.store.Bool(ptr + 0 + 11, false); 1621 A.store.Bool(ptr + 0 + 19, false); 1622 A.store.Bool(ptr + 0 + 12, false); 1623 A.store.Bool(ptr + 0 + 20, false); 1624 A.store.Bool(ptr + 0 + 13, false); 1625 1626 A.store.Bool(ptr + 24 + 28, false); 1627 A.store.Ref(ptr + 24 + 0, undefined); 1628 A.store.Ref(ptr + 24 + 4, undefined); 1629 A.store.Ref(ptr + 24 + 8, undefined); 1630 A.store.Ref(ptr + 24 + 12, undefined); 1631 A.store.Ref(ptr + 24 + 16, undefined); 1632 A.store.Ref(ptr + 24 + 20, undefined); 1633 A.store.Bool(ptr + 24 + 26, false); 1634 A.store.Bool(ptr + 24 + 24, false); 1635 A.store.Bool(ptr + 24 + 27, false); 1636 A.store.Bool(ptr + 24 + 25, false); 1637 } else { 1638 A.store.Bool(ptr + 53, true); 1639 1640 if (typeof x["AutoConnect"] === "undefined") { 1641 A.store.Bool(ptr + 0 + 21, false); 1642 A.store.Bool(ptr + 0 + 14, false); 1643 A.store.Bool(ptr + 0 + 0, false); 1644 A.store.Ref(ptr + 0 + 4, undefined); 1645 A.store.Bool(ptr + 0 + 15, false); 1646 A.store.Bool(ptr + 0 + 8, false); 1647 A.store.Bool(ptr + 0 + 16, false); 1648 A.store.Bool(ptr + 0 + 9, false); 1649 A.store.Bool(ptr + 0 + 17, false); 1650 A.store.Bool(ptr + 0 + 10, false); 1651 A.store.Bool(ptr + 0 + 18, false); 1652 A.store.Bool(ptr + 0 + 11, false); 1653 A.store.Bool(ptr + 0 + 19, false); 1654 A.store.Bool(ptr + 0 + 12, false); 1655 A.store.Bool(ptr + 0 + 20, false); 1656 A.store.Bool(ptr + 0 + 13, false); 1657 } else { 1658 A.store.Bool(ptr + 0 + 21, true); 1659 A.store.Bool(ptr + 0 + 14, "Active" in x["AutoConnect"] ? true : false); 1660 A.store.Bool(ptr + 0 + 0, x["AutoConnect"]["Active"] ? true : false); 1661 A.store.Ref(ptr + 0 + 4, x["AutoConnect"]["Effective"]); 1662 A.store.Bool(ptr + 0 + 15, "UserPolicy" in x["AutoConnect"] ? true : false); 1663 A.store.Bool(ptr + 0 + 8, x["AutoConnect"]["UserPolicy"] ? true : false); 1664 A.store.Bool(ptr + 0 + 16, "DevicePolicy" in x["AutoConnect"] ? true : false); 1665 A.store.Bool(ptr + 0 + 9, x["AutoConnect"]["DevicePolicy"] ? true : false); 1666 A.store.Bool(ptr + 0 + 17, "UserSetting" in x["AutoConnect"] ? true : false); 1667 A.store.Bool(ptr + 0 + 10, x["AutoConnect"]["UserSetting"] ? true : false); 1668 A.store.Bool(ptr + 0 + 18, "SharedSetting" in x["AutoConnect"] ? true : false); 1669 A.store.Bool(ptr + 0 + 11, x["AutoConnect"]["SharedSetting"] ? true : false); 1670 A.store.Bool(ptr + 0 + 19, "UserEditable" in x["AutoConnect"] ? true : false); 1671 A.store.Bool(ptr + 0 + 12, x["AutoConnect"]["UserEditable"] ? true : false); 1672 A.store.Bool(ptr + 0 + 20, "DeviceEditable" in x["AutoConnect"] ? true : false); 1673 A.store.Bool(ptr + 0 + 13, x["AutoConnect"]["DeviceEditable"] ? true : false); 1674 } 1675 1676 if (typeof x["Authentication"] === "undefined") { 1677 A.store.Bool(ptr + 24 + 28, false); 1678 A.store.Ref(ptr + 24 + 0, undefined); 1679 A.store.Ref(ptr + 24 + 4, undefined); 1680 A.store.Ref(ptr + 24 + 8, undefined); 1681 A.store.Ref(ptr + 24 + 12, undefined); 1682 A.store.Ref(ptr + 24 + 16, undefined); 1683 A.store.Ref(ptr + 24 + 20, undefined); 1684 A.store.Bool(ptr + 24 + 26, false); 1685 A.store.Bool(ptr + 24 + 24, false); 1686 A.store.Bool(ptr + 24 + 27, false); 1687 A.store.Bool(ptr + 24 + 25, false); 1688 } else { 1689 A.store.Bool(ptr + 24 + 28, true); 1690 A.store.Ref(ptr + 24 + 0, x["Authentication"]["Active"]); 1691 A.store.Ref(ptr + 24 + 4, x["Authentication"]["Effective"]); 1692 A.store.Ref(ptr + 24 + 8, x["Authentication"]["UserPolicy"]); 1693 A.store.Ref(ptr + 24 + 12, x["Authentication"]["DevicePolicy"]); 1694 A.store.Ref(ptr + 24 + 16, x["Authentication"]["UserSetting"]); 1695 A.store.Ref(ptr + 24 + 20, x["Authentication"]["SharedSetting"]); 1696 A.store.Bool(ptr + 24 + 26, "UserEditable" in x["Authentication"] ? true : false); 1697 A.store.Bool(ptr + 24 + 24, x["Authentication"]["UserEditable"] ? true : false); 1698 A.store.Bool(ptr + 24 + 27, "DeviceEditable" in x["Authentication"] ? true : false); 1699 A.store.Bool(ptr + 24 + 25, x["Authentication"]["DeviceEditable"] ? true : false); 1700 } 1701 } 1702 }, 1703 "load_ManagedEthernetProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 1704 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 1705 1706 if (A.load.Bool(ptr + 0 + 21)) { 1707 x["AutoConnect"] = {}; 1708 if (A.load.Bool(ptr + 0 + 14)) { 1709 x["AutoConnect"]["Active"] = A.load.Bool(ptr + 0 + 0); 1710 } else { 1711 delete x["AutoConnect"]["Active"]; 1712 } 1713 x["AutoConnect"]["Effective"] = A.load.Ref(ptr + 0 + 4, undefined); 1714 if (A.load.Bool(ptr + 0 + 15)) { 1715 x["AutoConnect"]["UserPolicy"] = A.load.Bool(ptr + 0 + 8); 1716 } else { 1717 delete x["AutoConnect"]["UserPolicy"]; 1718 } 1719 if (A.load.Bool(ptr + 0 + 16)) { 1720 x["AutoConnect"]["DevicePolicy"] = A.load.Bool(ptr + 0 + 9); 1721 } else { 1722 delete x["AutoConnect"]["DevicePolicy"]; 1723 } 1724 if (A.load.Bool(ptr + 0 + 17)) { 1725 x["AutoConnect"]["UserSetting"] = A.load.Bool(ptr + 0 + 10); 1726 } else { 1727 delete x["AutoConnect"]["UserSetting"]; 1728 } 1729 if (A.load.Bool(ptr + 0 + 18)) { 1730 x["AutoConnect"]["SharedSetting"] = A.load.Bool(ptr + 0 + 11); 1731 } else { 1732 delete x["AutoConnect"]["SharedSetting"]; 1733 } 1734 if (A.load.Bool(ptr + 0 + 19)) { 1735 x["AutoConnect"]["UserEditable"] = A.load.Bool(ptr + 0 + 12); 1736 } else { 1737 delete x["AutoConnect"]["UserEditable"]; 1738 } 1739 if (A.load.Bool(ptr + 0 + 20)) { 1740 x["AutoConnect"]["DeviceEditable"] = A.load.Bool(ptr + 0 + 13); 1741 } else { 1742 delete x["AutoConnect"]["DeviceEditable"]; 1743 } 1744 } else { 1745 delete x["AutoConnect"]; 1746 } 1747 if (A.load.Bool(ptr + 24 + 28)) { 1748 x["Authentication"] = {}; 1749 x["Authentication"]["Active"] = A.load.Ref(ptr + 24 + 0, undefined); 1750 x["Authentication"]["Effective"] = A.load.Ref(ptr + 24 + 4, undefined); 1751 x["Authentication"]["UserPolicy"] = A.load.Ref(ptr + 24 + 8, undefined); 1752 x["Authentication"]["DevicePolicy"] = A.load.Ref(ptr + 24 + 12, undefined); 1753 x["Authentication"]["UserSetting"] = A.load.Ref(ptr + 24 + 16, undefined); 1754 x["Authentication"]["SharedSetting"] = A.load.Ref(ptr + 24 + 20, undefined); 1755 if (A.load.Bool(ptr + 24 + 26)) { 1756 x["Authentication"]["UserEditable"] = A.load.Bool(ptr + 24 + 24); 1757 } else { 1758 delete x["Authentication"]["UserEditable"]; 1759 } 1760 if (A.load.Bool(ptr + 24 + 27)) { 1761 x["Authentication"]["DeviceEditable"] = A.load.Bool(ptr + 24 + 25); 1762 } else { 1763 delete x["Authentication"]["DeviceEditable"]; 1764 } 1765 } else { 1766 delete x["Authentication"]; 1767 } 1768 return create === A.H.TRUE ? A.H.push(x) : ref; 1769 }, 1770 "constof_IPConfigType": (ref: heap.Ref<string>): number => { 1771 const idx = ["DHCP", "Static"].indexOf(A.H.get(ref)); 1772 return idx < 0 ? 0 : idx + 1; 1773 }, 1774 1775 "store_ManagedIPConfigType": (ptr: Pointer, ref: heap.Ref<any>) => { 1776 const x = A.H.get<any>(ref); 1777 1778 if (typeof x === "undefined") { 1779 A.store.Bool(ptr + 28, false); 1780 A.store.Enum(ptr + 0, -1); 1781 A.store.Ref(ptr + 4, undefined); 1782 A.store.Enum(ptr + 8, -1); 1783 A.store.Enum(ptr + 12, -1); 1784 A.store.Enum(ptr + 16, -1); 1785 A.store.Enum(ptr + 20, -1); 1786 A.store.Bool(ptr + 26, false); 1787 A.store.Bool(ptr + 24, false); 1788 A.store.Bool(ptr + 27, false); 1789 A.store.Bool(ptr + 25, false); 1790 } else { 1791 A.store.Bool(ptr + 28, true); 1792 A.store.Enum(ptr + 0, ["DHCP", "Static"].indexOf(x["Active"] as string)); 1793 A.store.Ref(ptr + 4, x["Effective"]); 1794 A.store.Enum(ptr + 8, ["DHCP", "Static"].indexOf(x["UserPolicy"] as string)); 1795 A.store.Enum(ptr + 12, ["DHCP", "Static"].indexOf(x["DevicePolicy"] as string)); 1796 A.store.Enum(ptr + 16, ["DHCP", "Static"].indexOf(x["UserSetting"] as string)); 1797 A.store.Enum(ptr + 20, ["DHCP", "Static"].indexOf(x["SharedSetting"] as string)); 1798 A.store.Bool(ptr + 26, "UserEditable" in x ? true : false); 1799 A.store.Bool(ptr + 24, x["UserEditable"] ? true : false); 1800 A.store.Bool(ptr + 27, "DeviceEditable" in x ? true : false); 1801 A.store.Bool(ptr + 25, x["DeviceEditable"] ? true : false); 1802 } 1803 }, 1804 "load_ManagedIPConfigType": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 1805 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 1806 1807 x["Active"] = A.load.Enum(ptr + 0, ["DHCP", "Static"]); 1808 x["Effective"] = A.load.Ref(ptr + 4, undefined); 1809 x["UserPolicy"] = A.load.Enum(ptr + 8, ["DHCP", "Static"]); 1810 x["DevicePolicy"] = A.load.Enum(ptr + 12, ["DHCP", "Static"]); 1811 x["UserSetting"] = A.load.Enum(ptr + 16, ["DHCP", "Static"]); 1812 x["SharedSetting"] = A.load.Enum(ptr + 20, ["DHCP", "Static"]); 1813 if (A.load.Bool(ptr + 26)) { 1814 x["UserEditable"] = A.load.Bool(ptr + 24); 1815 } else { 1816 delete x["UserEditable"]; 1817 } 1818 if (A.load.Bool(ptr + 27)) { 1819 x["DeviceEditable"] = A.load.Bool(ptr + 25); 1820 } else { 1821 delete x["DeviceEditable"]; 1822 } 1823 return create === A.H.TRUE ? A.H.push(x) : ref; 1824 }, 1825 1826 "store_IPConfigProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 1827 const x = A.H.get<any>(ref); 1828 1829 if (typeof x === "undefined") { 1830 A.store.Bool(ptr + 37, false); 1831 A.store.Ref(ptr + 0, undefined); 1832 A.store.Ref(ptr + 4, undefined); 1833 A.store.Ref(ptr + 8, undefined); 1834 A.store.Ref(ptr + 12, undefined); 1835 A.store.Ref(ptr + 16, undefined); 1836 A.store.Ref(ptr + 20, undefined); 1837 A.store.Bool(ptr + 36, false); 1838 A.store.Int32(ptr + 24, 0); 1839 A.store.Ref(ptr + 28, undefined); 1840 A.store.Ref(ptr + 32, undefined); 1841 } else { 1842 A.store.Bool(ptr + 37, true); 1843 A.store.Ref(ptr + 0, x["Gateway"]); 1844 A.store.Ref(ptr + 4, x["IPAddress"]); 1845 A.store.Ref(ptr + 8, x["ExcludedRoutes"]); 1846 A.store.Ref(ptr + 12, x["IncludedRoutes"]); 1847 A.store.Ref(ptr + 16, x["NameServers"]); 1848 A.store.Ref(ptr + 20, x["SearchDomains"]); 1849 A.store.Bool(ptr + 36, "RoutingPrefix" in x ? true : false); 1850 A.store.Int32(ptr + 24, x["RoutingPrefix"] === undefined ? 0 : (x["RoutingPrefix"] as number)); 1851 A.store.Ref(ptr + 28, x["Type"]); 1852 A.store.Ref(ptr + 32, x["WebProxyAutoDiscoveryUrl"]); 1853 } 1854 }, 1855 "load_IPConfigProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 1856 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 1857 1858 x["Gateway"] = A.load.Ref(ptr + 0, undefined); 1859 x["IPAddress"] = A.load.Ref(ptr + 4, undefined); 1860 x["ExcludedRoutes"] = A.load.Ref(ptr + 8, undefined); 1861 x["IncludedRoutes"] = A.load.Ref(ptr + 12, undefined); 1862 x["NameServers"] = A.load.Ref(ptr + 16, undefined); 1863 x["SearchDomains"] = A.load.Ref(ptr + 20, undefined); 1864 if (A.load.Bool(ptr + 36)) { 1865 x["RoutingPrefix"] = A.load.Int32(ptr + 24); 1866 } else { 1867 delete x["RoutingPrefix"]; 1868 } 1869 x["Type"] = A.load.Ref(ptr + 28, undefined); 1870 x["WebProxyAutoDiscoveryUrl"] = A.load.Ref(ptr + 32, undefined); 1871 return create === A.H.TRUE ? A.H.push(x) : ref; 1872 }, 1873 1874 "store_ManagedLong": (ptr: Pointer, ref: heap.Ref<any>) => { 1875 const x = A.H.get<any>(ref); 1876 1877 if (typeof x === "undefined") { 1878 A.store.Bool(ptr + 33, false); 1879 A.store.Bool(ptr + 26, false); 1880 A.store.Int32(ptr + 0, 0); 1881 A.store.Ref(ptr + 4, undefined); 1882 A.store.Bool(ptr + 27, false); 1883 A.store.Int32(ptr + 8, 0); 1884 A.store.Bool(ptr + 28, false); 1885 A.store.Int32(ptr + 12, 0); 1886 A.store.Bool(ptr + 29, false); 1887 A.store.Int32(ptr + 16, 0); 1888 A.store.Bool(ptr + 30, false); 1889 A.store.Int32(ptr + 20, 0); 1890 A.store.Bool(ptr + 31, false); 1891 A.store.Bool(ptr + 24, false); 1892 A.store.Bool(ptr + 32, false); 1893 A.store.Bool(ptr + 25, false); 1894 } else { 1895 A.store.Bool(ptr + 33, true); 1896 A.store.Bool(ptr + 26, "Active" in x ? true : false); 1897 A.store.Int32(ptr + 0, x["Active"] === undefined ? 0 : (x["Active"] as number)); 1898 A.store.Ref(ptr + 4, x["Effective"]); 1899 A.store.Bool(ptr + 27, "UserPolicy" in x ? true : false); 1900 A.store.Int32(ptr + 8, x["UserPolicy"] === undefined ? 0 : (x["UserPolicy"] as number)); 1901 A.store.Bool(ptr + 28, "DevicePolicy" in x ? true : false); 1902 A.store.Int32(ptr + 12, x["DevicePolicy"] === undefined ? 0 : (x["DevicePolicy"] as number)); 1903 A.store.Bool(ptr + 29, "UserSetting" in x ? true : false); 1904 A.store.Int32(ptr + 16, x["UserSetting"] === undefined ? 0 : (x["UserSetting"] as number)); 1905 A.store.Bool(ptr + 30, "SharedSetting" in x ? true : false); 1906 A.store.Int32(ptr + 20, x["SharedSetting"] === undefined ? 0 : (x["SharedSetting"] as number)); 1907 A.store.Bool(ptr + 31, "UserEditable" in x ? true : false); 1908 A.store.Bool(ptr + 24, x["UserEditable"] ? true : false); 1909 A.store.Bool(ptr + 32, "DeviceEditable" in x ? true : false); 1910 A.store.Bool(ptr + 25, x["DeviceEditable"] ? true : false); 1911 } 1912 }, 1913 "load_ManagedLong": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 1914 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 1915 1916 if (A.load.Bool(ptr + 26)) { 1917 x["Active"] = A.load.Int32(ptr + 0); 1918 } else { 1919 delete x["Active"]; 1920 } 1921 x["Effective"] = A.load.Ref(ptr + 4, undefined); 1922 if (A.load.Bool(ptr + 27)) { 1923 x["UserPolicy"] = A.load.Int32(ptr + 8); 1924 } else { 1925 delete x["UserPolicy"]; 1926 } 1927 if (A.load.Bool(ptr + 28)) { 1928 x["DevicePolicy"] = A.load.Int32(ptr + 12); 1929 } else { 1930 delete x["DevicePolicy"]; 1931 } 1932 if (A.load.Bool(ptr + 29)) { 1933 x["UserSetting"] = A.load.Int32(ptr + 16); 1934 } else { 1935 delete x["UserSetting"]; 1936 } 1937 if (A.load.Bool(ptr + 30)) { 1938 x["SharedSetting"] = A.load.Int32(ptr + 20); 1939 } else { 1940 delete x["SharedSetting"]; 1941 } 1942 if (A.load.Bool(ptr + 31)) { 1943 x["UserEditable"] = A.load.Bool(ptr + 24); 1944 } else { 1945 delete x["UserEditable"]; 1946 } 1947 if (A.load.Bool(ptr + 32)) { 1948 x["DeviceEditable"] = A.load.Bool(ptr + 25); 1949 } else { 1950 delete x["DeviceEditable"]; 1951 } 1952 return create === A.H.TRUE ? A.H.push(x) : ref; 1953 }, 1954 "constof_ProxySettingsType": (ref: heap.Ref<string>): number => { 1955 const idx = ["Direct", "Manual", "PAC", "WPAD"].indexOf(A.H.get(ref)); 1956 return idx < 0 ? 0 : idx + 1; 1957 }, 1958 1959 "store_ManagedProxySettingsType": (ptr: Pointer, ref: heap.Ref<any>) => { 1960 const x = A.H.get<any>(ref); 1961 1962 if (typeof x === "undefined") { 1963 A.store.Bool(ptr + 28, false); 1964 A.store.Enum(ptr + 0, -1); 1965 A.store.Ref(ptr + 4, undefined); 1966 A.store.Enum(ptr + 8, -1); 1967 A.store.Enum(ptr + 12, -1); 1968 A.store.Enum(ptr + 16, -1); 1969 A.store.Enum(ptr + 20, -1); 1970 A.store.Bool(ptr + 26, false); 1971 A.store.Bool(ptr + 24, false); 1972 A.store.Bool(ptr + 27, false); 1973 A.store.Bool(ptr + 25, false); 1974 } else { 1975 A.store.Bool(ptr + 28, true); 1976 A.store.Enum(ptr + 0, ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["Active"] as string)); 1977 A.store.Ref(ptr + 4, x["Effective"]); 1978 A.store.Enum(ptr + 8, ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["UserPolicy"] as string)); 1979 A.store.Enum(ptr + 12, ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["DevicePolicy"] as string)); 1980 A.store.Enum(ptr + 16, ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["UserSetting"] as string)); 1981 A.store.Enum(ptr + 20, ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["SharedSetting"] as string)); 1982 A.store.Bool(ptr + 26, "UserEditable" in x ? true : false); 1983 A.store.Bool(ptr + 24, x["UserEditable"] ? true : false); 1984 A.store.Bool(ptr + 27, "DeviceEditable" in x ? true : false); 1985 A.store.Bool(ptr + 25, x["DeviceEditable"] ? true : false); 1986 } 1987 }, 1988 "load_ManagedProxySettingsType": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 1989 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 1990 1991 x["Active"] = A.load.Enum(ptr + 0, ["Direct", "Manual", "PAC", "WPAD"]); 1992 x["Effective"] = A.load.Ref(ptr + 4, undefined); 1993 x["UserPolicy"] = A.load.Enum(ptr + 8, ["Direct", "Manual", "PAC", "WPAD"]); 1994 x["DevicePolicy"] = A.load.Enum(ptr + 12, ["Direct", "Manual", "PAC", "WPAD"]); 1995 x["UserSetting"] = A.load.Enum(ptr + 16, ["Direct", "Manual", "PAC", "WPAD"]); 1996 x["SharedSetting"] = A.load.Enum(ptr + 20, ["Direct", "Manual", "PAC", "WPAD"]); 1997 if (A.load.Bool(ptr + 26)) { 1998 x["UserEditable"] = A.load.Bool(ptr + 24); 1999 } else { 2000 delete x["UserEditable"]; 2001 } 2002 if (A.load.Bool(ptr + 27)) { 2003 x["DeviceEditable"] = A.load.Bool(ptr + 25); 2004 } else { 2005 delete x["DeviceEditable"]; 2006 } 2007 return create === A.H.TRUE ? A.H.push(x) : ref; 2008 }, 2009 2010 "store_ManagedProxyLocation": (ptr: Pointer, ref: heap.Ref<any>) => { 2011 const x = A.H.get<any>(ref); 2012 2013 if (typeof x === "undefined") { 2014 A.store.Bool(ptr + 66, false); 2015 2016 A.store.Bool(ptr + 0 + 28, false); 2017 A.store.Ref(ptr + 0 + 0, undefined); 2018 A.store.Ref(ptr + 0 + 4, undefined); 2019 A.store.Ref(ptr + 0 + 8, undefined); 2020 A.store.Ref(ptr + 0 + 12, undefined); 2021 A.store.Ref(ptr + 0 + 16, undefined); 2022 A.store.Ref(ptr + 0 + 20, undefined); 2023 A.store.Bool(ptr + 0 + 26, false); 2024 A.store.Bool(ptr + 0 + 24, false); 2025 A.store.Bool(ptr + 0 + 27, false); 2026 A.store.Bool(ptr + 0 + 25, false); 2027 2028 A.store.Bool(ptr + 32 + 33, false); 2029 A.store.Bool(ptr + 32 + 26, false); 2030 A.store.Int32(ptr + 32 + 0, 0); 2031 A.store.Ref(ptr + 32 + 4, undefined); 2032 A.store.Bool(ptr + 32 + 27, false); 2033 A.store.Int32(ptr + 32 + 8, 0); 2034 A.store.Bool(ptr + 32 + 28, false); 2035 A.store.Int32(ptr + 32 + 12, 0); 2036 A.store.Bool(ptr + 32 + 29, false); 2037 A.store.Int32(ptr + 32 + 16, 0); 2038 A.store.Bool(ptr + 32 + 30, false); 2039 A.store.Int32(ptr + 32 + 20, 0); 2040 A.store.Bool(ptr + 32 + 31, false); 2041 A.store.Bool(ptr + 32 + 24, false); 2042 A.store.Bool(ptr + 32 + 32, false); 2043 A.store.Bool(ptr + 32 + 25, false); 2044 } else { 2045 A.store.Bool(ptr + 66, true); 2046 2047 if (typeof x["Host"] === "undefined") { 2048 A.store.Bool(ptr + 0 + 28, false); 2049 A.store.Ref(ptr + 0 + 0, undefined); 2050 A.store.Ref(ptr + 0 + 4, undefined); 2051 A.store.Ref(ptr + 0 + 8, undefined); 2052 A.store.Ref(ptr + 0 + 12, undefined); 2053 A.store.Ref(ptr + 0 + 16, undefined); 2054 A.store.Ref(ptr + 0 + 20, undefined); 2055 A.store.Bool(ptr + 0 + 26, false); 2056 A.store.Bool(ptr + 0 + 24, false); 2057 A.store.Bool(ptr + 0 + 27, false); 2058 A.store.Bool(ptr + 0 + 25, false); 2059 } else { 2060 A.store.Bool(ptr + 0 + 28, true); 2061 A.store.Ref(ptr + 0 + 0, x["Host"]["Active"]); 2062 A.store.Ref(ptr + 0 + 4, x["Host"]["Effective"]); 2063 A.store.Ref(ptr + 0 + 8, x["Host"]["UserPolicy"]); 2064 A.store.Ref(ptr + 0 + 12, x["Host"]["DevicePolicy"]); 2065 A.store.Ref(ptr + 0 + 16, x["Host"]["UserSetting"]); 2066 A.store.Ref(ptr + 0 + 20, x["Host"]["SharedSetting"]); 2067 A.store.Bool(ptr + 0 + 26, "UserEditable" in x["Host"] ? true : false); 2068 A.store.Bool(ptr + 0 + 24, x["Host"]["UserEditable"] ? true : false); 2069 A.store.Bool(ptr + 0 + 27, "DeviceEditable" in x["Host"] ? true : false); 2070 A.store.Bool(ptr + 0 + 25, x["Host"]["DeviceEditable"] ? true : false); 2071 } 2072 2073 if (typeof x["Port"] === "undefined") { 2074 A.store.Bool(ptr + 32 + 33, false); 2075 A.store.Bool(ptr + 32 + 26, false); 2076 A.store.Int32(ptr + 32 + 0, 0); 2077 A.store.Ref(ptr + 32 + 4, undefined); 2078 A.store.Bool(ptr + 32 + 27, false); 2079 A.store.Int32(ptr + 32 + 8, 0); 2080 A.store.Bool(ptr + 32 + 28, false); 2081 A.store.Int32(ptr + 32 + 12, 0); 2082 A.store.Bool(ptr + 32 + 29, false); 2083 A.store.Int32(ptr + 32 + 16, 0); 2084 A.store.Bool(ptr + 32 + 30, false); 2085 A.store.Int32(ptr + 32 + 20, 0); 2086 A.store.Bool(ptr + 32 + 31, false); 2087 A.store.Bool(ptr + 32 + 24, false); 2088 A.store.Bool(ptr + 32 + 32, false); 2089 A.store.Bool(ptr + 32 + 25, false); 2090 } else { 2091 A.store.Bool(ptr + 32 + 33, true); 2092 A.store.Bool(ptr + 32 + 26, "Active" in x["Port"] ? true : false); 2093 A.store.Int32(ptr + 32 + 0, x["Port"]["Active"] === undefined ? 0 : (x["Port"]["Active"] as number)); 2094 A.store.Ref(ptr + 32 + 4, x["Port"]["Effective"]); 2095 A.store.Bool(ptr + 32 + 27, "UserPolicy" in x["Port"] ? true : false); 2096 A.store.Int32(ptr + 32 + 8, x["Port"]["UserPolicy"] === undefined ? 0 : (x["Port"]["UserPolicy"] as number)); 2097 A.store.Bool(ptr + 32 + 28, "DevicePolicy" in x["Port"] ? true : false); 2098 A.store.Int32( 2099 ptr + 32 + 12, 2100 x["Port"]["DevicePolicy"] === undefined ? 0 : (x["Port"]["DevicePolicy"] as number) 2101 ); 2102 A.store.Bool(ptr + 32 + 29, "UserSetting" in x["Port"] ? true : false); 2103 A.store.Int32( 2104 ptr + 32 + 16, 2105 x["Port"]["UserSetting"] === undefined ? 0 : (x["Port"]["UserSetting"] as number) 2106 ); 2107 A.store.Bool(ptr + 32 + 30, "SharedSetting" in x["Port"] ? true : false); 2108 A.store.Int32( 2109 ptr + 32 + 20, 2110 x["Port"]["SharedSetting"] === undefined ? 0 : (x["Port"]["SharedSetting"] as number) 2111 ); 2112 A.store.Bool(ptr + 32 + 31, "UserEditable" in x["Port"] ? true : false); 2113 A.store.Bool(ptr + 32 + 24, x["Port"]["UserEditable"] ? true : false); 2114 A.store.Bool(ptr + 32 + 32, "DeviceEditable" in x["Port"] ? true : false); 2115 A.store.Bool(ptr + 32 + 25, x["Port"]["DeviceEditable"] ? true : false); 2116 } 2117 } 2118 }, 2119 "load_ManagedProxyLocation": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 2120 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 2121 2122 if (A.load.Bool(ptr + 0 + 28)) { 2123 x["Host"] = {}; 2124 x["Host"]["Active"] = A.load.Ref(ptr + 0 + 0, undefined); 2125 x["Host"]["Effective"] = A.load.Ref(ptr + 0 + 4, undefined); 2126 x["Host"]["UserPolicy"] = A.load.Ref(ptr + 0 + 8, undefined); 2127 x["Host"]["DevicePolicy"] = A.load.Ref(ptr + 0 + 12, undefined); 2128 x["Host"]["UserSetting"] = A.load.Ref(ptr + 0 + 16, undefined); 2129 x["Host"]["SharedSetting"] = A.load.Ref(ptr + 0 + 20, undefined); 2130 if (A.load.Bool(ptr + 0 + 26)) { 2131 x["Host"]["UserEditable"] = A.load.Bool(ptr + 0 + 24); 2132 } else { 2133 delete x["Host"]["UserEditable"]; 2134 } 2135 if (A.load.Bool(ptr + 0 + 27)) { 2136 x["Host"]["DeviceEditable"] = A.load.Bool(ptr + 0 + 25); 2137 } else { 2138 delete x["Host"]["DeviceEditable"]; 2139 } 2140 } else { 2141 delete x["Host"]; 2142 } 2143 if (A.load.Bool(ptr + 32 + 33)) { 2144 x["Port"] = {}; 2145 if (A.load.Bool(ptr + 32 + 26)) { 2146 x["Port"]["Active"] = A.load.Int32(ptr + 32 + 0); 2147 } else { 2148 delete x["Port"]["Active"]; 2149 } 2150 x["Port"]["Effective"] = A.load.Ref(ptr + 32 + 4, undefined); 2151 if (A.load.Bool(ptr + 32 + 27)) { 2152 x["Port"]["UserPolicy"] = A.load.Int32(ptr + 32 + 8); 2153 } else { 2154 delete x["Port"]["UserPolicy"]; 2155 } 2156 if (A.load.Bool(ptr + 32 + 28)) { 2157 x["Port"]["DevicePolicy"] = A.load.Int32(ptr + 32 + 12); 2158 } else { 2159 delete x["Port"]["DevicePolicy"]; 2160 } 2161 if (A.load.Bool(ptr + 32 + 29)) { 2162 x["Port"]["UserSetting"] = A.load.Int32(ptr + 32 + 16); 2163 } else { 2164 delete x["Port"]["UserSetting"]; 2165 } 2166 if (A.load.Bool(ptr + 32 + 30)) { 2167 x["Port"]["SharedSetting"] = A.load.Int32(ptr + 32 + 20); 2168 } else { 2169 delete x["Port"]["SharedSetting"]; 2170 } 2171 if (A.load.Bool(ptr + 32 + 31)) { 2172 x["Port"]["UserEditable"] = A.load.Bool(ptr + 32 + 24); 2173 } else { 2174 delete x["Port"]["UserEditable"]; 2175 } 2176 if (A.load.Bool(ptr + 32 + 32)) { 2177 x["Port"]["DeviceEditable"] = A.load.Bool(ptr + 32 + 25); 2178 } else { 2179 delete x["Port"]["DeviceEditable"]; 2180 } 2181 } else { 2182 delete x["Port"]; 2183 } 2184 return create === A.H.TRUE ? A.H.push(x) : ref; 2185 }, 2186 2187 "store_ManagedManualProxySettings": (ptr: Pointer, ref: heap.Ref<any>) => { 2188 const x = A.H.get<any>(ref); 2189 2190 if (typeof x === "undefined") { 2191 A.store.Bool(ptr + 271, false); 2192 2193 A.store.Bool(ptr + 0 + 66, false); 2194 2195 A.store.Bool(ptr + 0 + 0 + 28, false); 2196 A.store.Ref(ptr + 0 + 0 + 0, undefined); 2197 A.store.Ref(ptr + 0 + 0 + 4, undefined); 2198 A.store.Ref(ptr + 0 + 0 + 8, undefined); 2199 A.store.Ref(ptr + 0 + 0 + 12, undefined); 2200 A.store.Ref(ptr + 0 + 0 + 16, undefined); 2201 A.store.Ref(ptr + 0 + 0 + 20, undefined); 2202 A.store.Bool(ptr + 0 + 0 + 26, false); 2203 A.store.Bool(ptr + 0 + 0 + 24, false); 2204 A.store.Bool(ptr + 0 + 0 + 27, false); 2205 A.store.Bool(ptr + 0 + 0 + 25, false); 2206 2207 A.store.Bool(ptr + 0 + 32 + 33, false); 2208 A.store.Bool(ptr + 0 + 32 + 26, false); 2209 A.store.Int32(ptr + 0 + 32 + 0, 0); 2210 A.store.Ref(ptr + 0 + 32 + 4, undefined); 2211 A.store.Bool(ptr + 0 + 32 + 27, false); 2212 A.store.Int32(ptr + 0 + 32 + 8, 0); 2213 A.store.Bool(ptr + 0 + 32 + 28, false); 2214 A.store.Int32(ptr + 0 + 32 + 12, 0); 2215 A.store.Bool(ptr + 0 + 32 + 29, false); 2216 A.store.Int32(ptr + 0 + 32 + 16, 0); 2217 A.store.Bool(ptr + 0 + 32 + 30, false); 2218 A.store.Int32(ptr + 0 + 32 + 20, 0); 2219 A.store.Bool(ptr + 0 + 32 + 31, false); 2220 A.store.Bool(ptr + 0 + 32 + 24, false); 2221 A.store.Bool(ptr + 0 + 32 + 32, false); 2222 A.store.Bool(ptr + 0 + 32 + 25, false); 2223 2224 A.store.Bool(ptr + 68 + 66, false); 2225 2226 A.store.Bool(ptr + 68 + 0 + 28, false); 2227 A.store.Ref(ptr + 68 + 0 + 0, undefined); 2228 A.store.Ref(ptr + 68 + 0 + 4, undefined); 2229 A.store.Ref(ptr + 68 + 0 + 8, undefined); 2230 A.store.Ref(ptr + 68 + 0 + 12, undefined); 2231 A.store.Ref(ptr + 68 + 0 + 16, undefined); 2232 A.store.Ref(ptr + 68 + 0 + 20, undefined); 2233 A.store.Bool(ptr + 68 + 0 + 26, false); 2234 A.store.Bool(ptr + 68 + 0 + 24, false); 2235 A.store.Bool(ptr + 68 + 0 + 27, false); 2236 A.store.Bool(ptr + 68 + 0 + 25, false); 2237 2238 A.store.Bool(ptr + 68 + 32 + 33, false); 2239 A.store.Bool(ptr + 68 + 32 + 26, false); 2240 A.store.Int32(ptr + 68 + 32 + 0, 0); 2241 A.store.Ref(ptr + 68 + 32 + 4, undefined); 2242 A.store.Bool(ptr + 68 + 32 + 27, false); 2243 A.store.Int32(ptr + 68 + 32 + 8, 0); 2244 A.store.Bool(ptr + 68 + 32 + 28, false); 2245 A.store.Int32(ptr + 68 + 32 + 12, 0); 2246 A.store.Bool(ptr + 68 + 32 + 29, false); 2247 A.store.Int32(ptr + 68 + 32 + 16, 0); 2248 A.store.Bool(ptr + 68 + 32 + 30, false); 2249 A.store.Int32(ptr + 68 + 32 + 20, 0); 2250 A.store.Bool(ptr + 68 + 32 + 31, false); 2251 A.store.Bool(ptr + 68 + 32 + 24, false); 2252 A.store.Bool(ptr + 68 + 32 + 32, false); 2253 A.store.Bool(ptr + 68 + 32 + 25, false); 2254 2255 A.store.Bool(ptr + 136 + 66, false); 2256 2257 A.store.Bool(ptr + 136 + 0 + 28, false); 2258 A.store.Ref(ptr + 136 + 0 + 0, undefined); 2259 A.store.Ref(ptr + 136 + 0 + 4, undefined); 2260 A.store.Ref(ptr + 136 + 0 + 8, undefined); 2261 A.store.Ref(ptr + 136 + 0 + 12, undefined); 2262 A.store.Ref(ptr + 136 + 0 + 16, undefined); 2263 A.store.Ref(ptr + 136 + 0 + 20, undefined); 2264 A.store.Bool(ptr + 136 + 0 + 26, false); 2265 A.store.Bool(ptr + 136 + 0 + 24, false); 2266 A.store.Bool(ptr + 136 + 0 + 27, false); 2267 A.store.Bool(ptr + 136 + 0 + 25, false); 2268 2269 A.store.Bool(ptr + 136 + 32 + 33, false); 2270 A.store.Bool(ptr + 136 + 32 + 26, false); 2271 A.store.Int32(ptr + 136 + 32 + 0, 0); 2272 A.store.Ref(ptr + 136 + 32 + 4, undefined); 2273 A.store.Bool(ptr + 136 + 32 + 27, false); 2274 A.store.Int32(ptr + 136 + 32 + 8, 0); 2275 A.store.Bool(ptr + 136 + 32 + 28, false); 2276 A.store.Int32(ptr + 136 + 32 + 12, 0); 2277 A.store.Bool(ptr + 136 + 32 + 29, false); 2278 A.store.Int32(ptr + 136 + 32 + 16, 0); 2279 A.store.Bool(ptr + 136 + 32 + 30, false); 2280 A.store.Int32(ptr + 136 + 32 + 20, 0); 2281 A.store.Bool(ptr + 136 + 32 + 31, false); 2282 A.store.Bool(ptr + 136 + 32 + 24, false); 2283 A.store.Bool(ptr + 136 + 32 + 32, false); 2284 A.store.Bool(ptr + 136 + 32 + 25, false); 2285 2286 A.store.Bool(ptr + 204 + 66, false); 2287 2288 A.store.Bool(ptr + 204 + 0 + 28, false); 2289 A.store.Ref(ptr + 204 + 0 + 0, undefined); 2290 A.store.Ref(ptr + 204 + 0 + 4, undefined); 2291 A.store.Ref(ptr + 204 + 0 + 8, undefined); 2292 A.store.Ref(ptr + 204 + 0 + 12, undefined); 2293 A.store.Ref(ptr + 204 + 0 + 16, undefined); 2294 A.store.Ref(ptr + 204 + 0 + 20, undefined); 2295 A.store.Bool(ptr + 204 + 0 + 26, false); 2296 A.store.Bool(ptr + 204 + 0 + 24, false); 2297 A.store.Bool(ptr + 204 + 0 + 27, false); 2298 A.store.Bool(ptr + 204 + 0 + 25, false); 2299 2300 A.store.Bool(ptr + 204 + 32 + 33, false); 2301 A.store.Bool(ptr + 204 + 32 + 26, false); 2302 A.store.Int32(ptr + 204 + 32 + 0, 0); 2303 A.store.Ref(ptr + 204 + 32 + 4, undefined); 2304 A.store.Bool(ptr + 204 + 32 + 27, false); 2305 A.store.Int32(ptr + 204 + 32 + 8, 0); 2306 A.store.Bool(ptr + 204 + 32 + 28, false); 2307 A.store.Int32(ptr + 204 + 32 + 12, 0); 2308 A.store.Bool(ptr + 204 + 32 + 29, false); 2309 A.store.Int32(ptr + 204 + 32 + 16, 0); 2310 A.store.Bool(ptr + 204 + 32 + 30, false); 2311 A.store.Int32(ptr + 204 + 32 + 20, 0); 2312 A.store.Bool(ptr + 204 + 32 + 31, false); 2313 A.store.Bool(ptr + 204 + 32 + 24, false); 2314 A.store.Bool(ptr + 204 + 32 + 32, false); 2315 A.store.Bool(ptr + 204 + 32 + 25, false); 2316 } else { 2317 A.store.Bool(ptr + 271, true); 2318 2319 if (typeof x["HTTPProxy"] === "undefined") { 2320 A.store.Bool(ptr + 0 + 66, false); 2321 2322 A.store.Bool(ptr + 0 + 0 + 28, false); 2323 A.store.Ref(ptr + 0 + 0 + 0, undefined); 2324 A.store.Ref(ptr + 0 + 0 + 4, undefined); 2325 A.store.Ref(ptr + 0 + 0 + 8, undefined); 2326 A.store.Ref(ptr + 0 + 0 + 12, undefined); 2327 A.store.Ref(ptr + 0 + 0 + 16, undefined); 2328 A.store.Ref(ptr + 0 + 0 + 20, undefined); 2329 A.store.Bool(ptr + 0 + 0 + 26, false); 2330 A.store.Bool(ptr + 0 + 0 + 24, false); 2331 A.store.Bool(ptr + 0 + 0 + 27, false); 2332 A.store.Bool(ptr + 0 + 0 + 25, false); 2333 2334 A.store.Bool(ptr + 0 + 32 + 33, false); 2335 A.store.Bool(ptr + 0 + 32 + 26, false); 2336 A.store.Int32(ptr + 0 + 32 + 0, 0); 2337 A.store.Ref(ptr + 0 + 32 + 4, undefined); 2338 A.store.Bool(ptr + 0 + 32 + 27, false); 2339 A.store.Int32(ptr + 0 + 32 + 8, 0); 2340 A.store.Bool(ptr + 0 + 32 + 28, false); 2341 A.store.Int32(ptr + 0 + 32 + 12, 0); 2342 A.store.Bool(ptr + 0 + 32 + 29, false); 2343 A.store.Int32(ptr + 0 + 32 + 16, 0); 2344 A.store.Bool(ptr + 0 + 32 + 30, false); 2345 A.store.Int32(ptr + 0 + 32 + 20, 0); 2346 A.store.Bool(ptr + 0 + 32 + 31, false); 2347 A.store.Bool(ptr + 0 + 32 + 24, false); 2348 A.store.Bool(ptr + 0 + 32 + 32, false); 2349 A.store.Bool(ptr + 0 + 32 + 25, false); 2350 } else { 2351 A.store.Bool(ptr + 0 + 66, true); 2352 2353 if (typeof x["HTTPProxy"]["Host"] === "undefined") { 2354 A.store.Bool(ptr + 0 + 0 + 28, false); 2355 A.store.Ref(ptr + 0 + 0 + 0, undefined); 2356 A.store.Ref(ptr + 0 + 0 + 4, undefined); 2357 A.store.Ref(ptr + 0 + 0 + 8, undefined); 2358 A.store.Ref(ptr + 0 + 0 + 12, undefined); 2359 A.store.Ref(ptr + 0 + 0 + 16, undefined); 2360 A.store.Ref(ptr + 0 + 0 + 20, undefined); 2361 A.store.Bool(ptr + 0 + 0 + 26, false); 2362 A.store.Bool(ptr + 0 + 0 + 24, false); 2363 A.store.Bool(ptr + 0 + 0 + 27, false); 2364 A.store.Bool(ptr + 0 + 0 + 25, false); 2365 } else { 2366 A.store.Bool(ptr + 0 + 0 + 28, true); 2367 A.store.Ref(ptr + 0 + 0 + 0, x["HTTPProxy"]["Host"]["Active"]); 2368 A.store.Ref(ptr + 0 + 0 + 4, x["HTTPProxy"]["Host"]["Effective"]); 2369 A.store.Ref(ptr + 0 + 0 + 8, x["HTTPProxy"]["Host"]["UserPolicy"]); 2370 A.store.Ref(ptr + 0 + 0 + 12, x["HTTPProxy"]["Host"]["DevicePolicy"]); 2371 A.store.Ref(ptr + 0 + 0 + 16, x["HTTPProxy"]["Host"]["UserSetting"]); 2372 A.store.Ref(ptr + 0 + 0 + 20, x["HTTPProxy"]["Host"]["SharedSetting"]); 2373 A.store.Bool(ptr + 0 + 0 + 26, "UserEditable" in x["HTTPProxy"]["Host"] ? true : false); 2374 A.store.Bool(ptr + 0 + 0 + 24, x["HTTPProxy"]["Host"]["UserEditable"] ? true : false); 2375 A.store.Bool(ptr + 0 + 0 + 27, "DeviceEditable" in x["HTTPProxy"]["Host"] ? true : false); 2376 A.store.Bool(ptr + 0 + 0 + 25, x["HTTPProxy"]["Host"]["DeviceEditable"] ? true : false); 2377 } 2378 2379 if (typeof x["HTTPProxy"]["Port"] === "undefined") { 2380 A.store.Bool(ptr + 0 + 32 + 33, false); 2381 A.store.Bool(ptr + 0 + 32 + 26, false); 2382 A.store.Int32(ptr + 0 + 32 + 0, 0); 2383 A.store.Ref(ptr + 0 + 32 + 4, undefined); 2384 A.store.Bool(ptr + 0 + 32 + 27, false); 2385 A.store.Int32(ptr + 0 + 32 + 8, 0); 2386 A.store.Bool(ptr + 0 + 32 + 28, false); 2387 A.store.Int32(ptr + 0 + 32 + 12, 0); 2388 A.store.Bool(ptr + 0 + 32 + 29, false); 2389 A.store.Int32(ptr + 0 + 32 + 16, 0); 2390 A.store.Bool(ptr + 0 + 32 + 30, false); 2391 A.store.Int32(ptr + 0 + 32 + 20, 0); 2392 A.store.Bool(ptr + 0 + 32 + 31, false); 2393 A.store.Bool(ptr + 0 + 32 + 24, false); 2394 A.store.Bool(ptr + 0 + 32 + 32, false); 2395 A.store.Bool(ptr + 0 + 32 + 25, false); 2396 } else { 2397 A.store.Bool(ptr + 0 + 32 + 33, true); 2398 A.store.Bool(ptr + 0 + 32 + 26, "Active" in x["HTTPProxy"]["Port"] ? true : false); 2399 A.store.Int32( 2400 ptr + 0 + 32 + 0, 2401 x["HTTPProxy"]["Port"]["Active"] === undefined ? 0 : (x["HTTPProxy"]["Port"]["Active"] as number) 2402 ); 2403 A.store.Ref(ptr + 0 + 32 + 4, x["HTTPProxy"]["Port"]["Effective"]); 2404 A.store.Bool(ptr + 0 + 32 + 27, "UserPolicy" in x["HTTPProxy"]["Port"] ? true : false); 2405 A.store.Int32( 2406 ptr + 0 + 32 + 8, 2407 x["HTTPProxy"]["Port"]["UserPolicy"] === undefined ? 0 : (x["HTTPProxy"]["Port"]["UserPolicy"] as number) 2408 ); 2409 A.store.Bool(ptr + 0 + 32 + 28, "DevicePolicy" in x["HTTPProxy"]["Port"] ? true : false); 2410 A.store.Int32( 2411 ptr + 0 + 32 + 12, 2412 x["HTTPProxy"]["Port"]["DevicePolicy"] === undefined 2413 ? 0 2414 : (x["HTTPProxy"]["Port"]["DevicePolicy"] as number) 2415 ); 2416 A.store.Bool(ptr + 0 + 32 + 29, "UserSetting" in x["HTTPProxy"]["Port"] ? true : false); 2417 A.store.Int32( 2418 ptr + 0 + 32 + 16, 2419 x["HTTPProxy"]["Port"]["UserSetting"] === undefined 2420 ? 0 2421 : (x["HTTPProxy"]["Port"]["UserSetting"] as number) 2422 ); 2423 A.store.Bool(ptr + 0 + 32 + 30, "SharedSetting" in x["HTTPProxy"]["Port"] ? true : false); 2424 A.store.Int32( 2425 ptr + 0 + 32 + 20, 2426 x["HTTPProxy"]["Port"]["SharedSetting"] === undefined 2427 ? 0 2428 : (x["HTTPProxy"]["Port"]["SharedSetting"] as number) 2429 ); 2430 A.store.Bool(ptr + 0 + 32 + 31, "UserEditable" in x["HTTPProxy"]["Port"] ? true : false); 2431 A.store.Bool(ptr + 0 + 32 + 24, x["HTTPProxy"]["Port"]["UserEditable"] ? true : false); 2432 A.store.Bool(ptr + 0 + 32 + 32, "DeviceEditable" in x["HTTPProxy"]["Port"] ? true : false); 2433 A.store.Bool(ptr + 0 + 32 + 25, x["HTTPProxy"]["Port"]["DeviceEditable"] ? true : false); 2434 } 2435 } 2436 2437 if (typeof x["SecureHTTPProxy"] === "undefined") { 2438 A.store.Bool(ptr + 68 + 66, false); 2439 2440 A.store.Bool(ptr + 68 + 0 + 28, false); 2441 A.store.Ref(ptr + 68 + 0 + 0, undefined); 2442 A.store.Ref(ptr + 68 + 0 + 4, undefined); 2443 A.store.Ref(ptr + 68 + 0 + 8, undefined); 2444 A.store.Ref(ptr + 68 + 0 + 12, undefined); 2445 A.store.Ref(ptr + 68 + 0 + 16, undefined); 2446 A.store.Ref(ptr + 68 + 0 + 20, undefined); 2447 A.store.Bool(ptr + 68 + 0 + 26, false); 2448 A.store.Bool(ptr + 68 + 0 + 24, false); 2449 A.store.Bool(ptr + 68 + 0 + 27, false); 2450 A.store.Bool(ptr + 68 + 0 + 25, false); 2451 2452 A.store.Bool(ptr + 68 + 32 + 33, false); 2453 A.store.Bool(ptr + 68 + 32 + 26, false); 2454 A.store.Int32(ptr + 68 + 32 + 0, 0); 2455 A.store.Ref(ptr + 68 + 32 + 4, undefined); 2456 A.store.Bool(ptr + 68 + 32 + 27, false); 2457 A.store.Int32(ptr + 68 + 32 + 8, 0); 2458 A.store.Bool(ptr + 68 + 32 + 28, false); 2459 A.store.Int32(ptr + 68 + 32 + 12, 0); 2460 A.store.Bool(ptr + 68 + 32 + 29, false); 2461 A.store.Int32(ptr + 68 + 32 + 16, 0); 2462 A.store.Bool(ptr + 68 + 32 + 30, false); 2463 A.store.Int32(ptr + 68 + 32 + 20, 0); 2464 A.store.Bool(ptr + 68 + 32 + 31, false); 2465 A.store.Bool(ptr + 68 + 32 + 24, false); 2466 A.store.Bool(ptr + 68 + 32 + 32, false); 2467 A.store.Bool(ptr + 68 + 32 + 25, false); 2468 } else { 2469 A.store.Bool(ptr + 68 + 66, true); 2470 2471 if (typeof x["SecureHTTPProxy"]["Host"] === "undefined") { 2472 A.store.Bool(ptr + 68 + 0 + 28, false); 2473 A.store.Ref(ptr + 68 + 0 + 0, undefined); 2474 A.store.Ref(ptr + 68 + 0 + 4, undefined); 2475 A.store.Ref(ptr + 68 + 0 + 8, undefined); 2476 A.store.Ref(ptr + 68 + 0 + 12, undefined); 2477 A.store.Ref(ptr + 68 + 0 + 16, undefined); 2478 A.store.Ref(ptr + 68 + 0 + 20, undefined); 2479 A.store.Bool(ptr + 68 + 0 + 26, false); 2480 A.store.Bool(ptr + 68 + 0 + 24, false); 2481 A.store.Bool(ptr + 68 + 0 + 27, false); 2482 A.store.Bool(ptr + 68 + 0 + 25, false); 2483 } else { 2484 A.store.Bool(ptr + 68 + 0 + 28, true); 2485 A.store.Ref(ptr + 68 + 0 + 0, x["SecureHTTPProxy"]["Host"]["Active"]); 2486 A.store.Ref(ptr + 68 + 0 + 4, x["SecureHTTPProxy"]["Host"]["Effective"]); 2487 A.store.Ref(ptr + 68 + 0 + 8, x["SecureHTTPProxy"]["Host"]["UserPolicy"]); 2488 A.store.Ref(ptr + 68 + 0 + 12, x["SecureHTTPProxy"]["Host"]["DevicePolicy"]); 2489 A.store.Ref(ptr + 68 + 0 + 16, x["SecureHTTPProxy"]["Host"]["UserSetting"]); 2490 A.store.Ref(ptr + 68 + 0 + 20, x["SecureHTTPProxy"]["Host"]["SharedSetting"]); 2491 A.store.Bool(ptr + 68 + 0 + 26, "UserEditable" in x["SecureHTTPProxy"]["Host"] ? true : false); 2492 A.store.Bool(ptr + 68 + 0 + 24, x["SecureHTTPProxy"]["Host"]["UserEditable"] ? true : false); 2493 A.store.Bool(ptr + 68 + 0 + 27, "DeviceEditable" in x["SecureHTTPProxy"]["Host"] ? true : false); 2494 A.store.Bool(ptr + 68 + 0 + 25, x["SecureHTTPProxy"]["Host"]["DeviceEditable"] ? true : false); 2495 } 2496 2497 if (typeof x["SecureHTTPProxy"]["Port"] === "undefined") { 2498 A.store.Bool(ptr + 68 + 32 + 33, false); 2499 A.store.Bool(ptr + 68 + 32 + 26, false); 2500 A.store.Int32(ptr + 68 + 32 + 0, 0); 2501 A.store.Ref(ptr + 68 + 32 + 4, undefined); 2502 A.store.Bool(ptr + 68 + 32 + 27, false); 2503 A.store.Int32(ptr + 68 + 32 + 8, 0); 2504 A.store.Bool(ptr + 68 + 32 + 28, false); 2505 A.store.Int32(ptr + 68 + 32 + 12, 0); 2506 A.store.Bool(ptr + 68 + 32 + 29, false); 2507 A.store.Int32(ptr + 68 + 32 + 16, 0); 2508 A.store.Bool(ptr + 68 + 32 + 30, false); 2509 A.store.Int32(ptr + 68 + 32 + 20, 0); 2510 A.store.Bool(ptr + 68 + 32 + 31, false); 2511 A.store.Bool(ptr + 68 + 32 + 24, false); 2512 A.store.Bool(ptr + 68 + 32 + 32, false); 2513 A.store.Bool(ptr + 68 + 32 + 25, false); 2514 } else { 2515 A.store.Bool(ptr + 68 + 32 + 33, true); 2516 A.store.Bool(ptr + 68 + 32 + 26, "Active" in x["SecureHTTPProxy"]["Port"] ? true : false); 2517 A.store.Int32( 2518 ptr + 68 + 32 + 0, 2519 x["SecureHTTPProxy"]["Port"]["Active"] === undefined 2520 ? 0 2521 : (x["SecureHTTPProxy"]["Port"]["Active"] as number) 2522 ); 2523 A.store.Ref(ptr + 68 + 32 + 4, x["SecureHTTPProxy"]["Port"]["Effective"]); 2524 A.store.Bool(ptr + 68 + 32 + 27, "UserPolicy" in x["SecureHTTPProxy"]["Port"] ? true : false); 2525 A.store.Int32( 2526 ptr + 68 + 32 + 8, 2527 x["SecureHTTPProxy"]["Port"]["UserPolicy"] === undefined 2528 ? 0 2529 : (x["SecureHTTPProxy"]["Port"]["UserPolicy"] as number) 2530 ); 2531 A.store.Bool(ptr + 68 + 32 + 28, "DevicePolicy" in x["SecureHTTPProxy"]["Port"] ? true : false); 2532 A.store.Int32( 2533 ptr + 68 + 32 + 12, 2534 x["SecureHTTPProxy"]["Port"]["DevicePolicy"] === undefined 2535 ? 0 2536 : (x["SecureHTTPProxy"]["Port"]["DevicePolicy"] as number) 2537 ); 2538 A.store.Bool(ptr + 68 + 32 + 29, "UserSetting" in x["SecureHTTPProxy"]["Port"] ? true : false); 2539 A.store.Int32( 2540 ptr + 68 + 32 + 16, 2541 x["SecureHTTPProxy"]["Port"]["UserSetting"] === undefined 2542 ? 0 2543 : (x["SecureHTTPProxy"]["Port"]["UserSetting"] as number) 2544 ); 2545 A.store.Bool(ptr + 68 + 32 + 30, "SharedSetting" in x["SecureHTTPProxy"]["Port"] ? true : false); 2546 A.store.Int32( 2547 ptr + 68 + 32 + 20, 2548 x["SecureHTTPProxy"]["Port"]["SharedSetting"] === undefined 2549 ? 0 2550 : (x["SecureHTTPProxy"]["Port"]["SharedSetting"] as number) 2551 ); 2552 A.store.Bool(ptr + 68 + 32 + 31, "UserEditable" in x["SecureHTTPProxy"]["Port"] ? true : false); 2553 A.store.Bool(ptr + 68 + 32 + 24, x["SecureHTTPProxy"]["Port"]["UserEditable"] ? true : false); 2554 A.store.Bool(ptr + 68 + 32 + 32, "DeviceEditable" in x["SecureHTTPProxy"]["Port"] ? true : false); 2555 A.store.Bool(ptr + 68 + 32 + 25, x["SecureHTTPProxy"]["Port"]["DeviceEditable"] ? true : false); 2556 } 2557 } 2558 2559 if (typeof x["FTPProxy"] === "undefined") { 2560 A.store.Bool(ptr + 136 + 66, false); 2561 2562 A.store.Bool(ptr + 136 + 0 + 28, false); 2563 A.store.Ref(ptr + 136 + 0 + 0, undefined); 2564 A.store.Ref(ptr + 136 + 0 + 4, undefined); 2565 A.store.Ref(ptr + 136 + 0 + 8, undefined); 2566 A.store.Ref(ptr + 136 + 0 + 12, undefined); 2567 A.store.Ref(ptr + 136 + 0 + 16, undefined); 2568 A.store.Ref(ptr + 136 + 0 + 20, undefined); 2569 A.store.Bool(ptr + 136 + 0 + 26, false); 2570 A.store.Bool(ptr + 136 + 0 + 24, false); 2571 A.store.Bool(ptr + 136 + 0 + 27, false); 2572 A.store.Bool(ptr + 136 + 0 + 25, false); 2573 2574 A.store.Bool(ptr + 136 + 32 + 33, false); 2575 A.store.Bool(ptr + 136 + 32 + 26, false); 2576 A.store.Int32(ptr + 136 + 32 + 0, 0); 2577 A.store.Ref(ptr + 136 + 32 + 4, undefined); 2578 A.store.Bool(ptr + 136 + 32 + 27, false); 2579 A.store.Int32(ptr + 136 + 32 + 8, 0); 2580 A.store.Bool(ptr + 136 + 32 + 28, false); 2581 A.store.Int32(ptr + 136 + 32 + 12, 0); 2582 A.store.Bool(ptr + 136 + 32 + 29, false); 2583 A.store.Int32(ptr + 136 + 32 + 16, 0); 2584 A.store.Bool(ptr + 136 + 32 + 30, false); 2585 A.store.Int32(ptr + 136 + 32 + 20, 0); 2586 A.store.Bool(ptr + 136 + 32 + 31, false); 2587 A.store.Bool(ptr + 136 + 32 + 24, false); 2588 A.store.Bool(ptr + 136 + 32 + 32, false); 2589 A.store.Bool(ptr + 136 + 32 + 25, false); 2590 } else { 2591 A.store.Bool(ptr + 136 + 66, true); 2592 2593 if (typeof x["FTPProxy"]["Host"] === "undefined") { 2594 A.store.Bool(ptr + 136 + 0 + 28, false); 2595 A.store.Ref(ptr + 136 + 0 + 0, undefined); 2596 A.store.Ref(ptr + 136 + 0 + 4, undefined); 2597 A.store.Ref(ptr + 136 + 0 + 8, undefined); 2598 A.store.Ref(ptr + 136 + 0 + 12, undefined); 2599 A.store.Ref(ptr + 136 + 0 + 16, undefined); 2600 A.store.Ref(ptr + 136 + 0 + 20, undefined); 2601 A.store.Bool(ptr + 136 + 0 + 26, false); 2602 A.store.Bool(ptr + 136 + 0 + 24, false); 2603 A.store.Bool(ptr + 136 + 0 + 27, false); 2604 A.store.Bool(ptr + 136 + 0 + 25, false); 2605 } else { 2606 A.store.Bool(ptr + 136 + 0 + 28, true); 2607 A.store.Ref(ptr + 136 + 0 + 0, x["FTPProxy"]["Host"]["Active"]); 2608 A.store.Ref(ptr + 136 + 0 + 4, x["FTPProxy"]["Host"]["Effective"]); 2609 A.store.Ref(ptr + 136 + 0 + 8, x["FTPProxy"]["Host"]["UserPolicy"]); 2610 A.store.Ref(ptr + 136 + 0 + 12, x["FTPProxy"]["Host"]["DevicePolicy"]); 2611 A.store.Ref(ptr + 136 + 0 + 16, x["FTPProxy"]["Host"]["UserSetting"]); 2612 A.store.Ref(ptr + 136 + 0 + 20, x["FTPProxy"]["Host"]["SharedSetting"]); 2613 A.store.Bool(ptr + 136 + 0 + 26, "UserEditable" in x["FTPProxy"]["Host"] ? true : false); 2614 A.store.Bool(ptr + 136 + 0 + 24, x["FTPProxy"]["Host"]["UserEditable"] ? true : false); 2615 A.store.Bool(ptr + 136 + 0 + 27, "DeviceEditable" in x["FTPProxy"]["Host"] ? true : false); 2616 A.store.Bool(ptr + 136 + 0 + 25, x["FTPProxy"]["Host"]["DeviceEditable"] ? true : false); 2617 } 2618 2619 if (typeof x["FTPProxy"]["Port"] === "undefined") { 2620 A.store.Bool(ptr + 136 + 32 + 33, false); 2621 A.store.Bool(ptr + 136 + 32 + 26, false); 2622 A.store.Int32(ptr + 136 + 32 + 0, 0); 2623 A.store.Ref(ptr + 136 + 32 + 4, undefined); 2624 A.store.Bool(ptr + 136 + 32 + 27, false); 2625 A.store.Int32(ptr + 136 + 32 + 8, 0); 2626 A.store.Bool(ptr + 136 + 32 + 28, false); 2627 A.store.Int32(ptr + 136 + 32 + 12, 0); 2628 A.store.Bool(ptr + 136 + 32 + 29, false); 2629 A.store.Int32(ptr + 136 + 32 + 16, 0); 2630 A.store.Bool(ptr + 136 + 32 + 30, false); 2631 A.store.Int32(ptr + 136 + 32 + 20, 0); 2632 A.store.Bool(ptr + 136 + 32 + 31, false); 2633 A.store.Bool(ptr + 136 + 32 + 24, false); 2634 A.store.Bool(ptr + 136 + 32 + 32, false); 2635 A.store.Bool(ptr + 136 + 32 + 25, false); 2636 } else { 2637 A.store.Bool(ptr + 136 + 32 + 33, true); 2638 A.store.Bool(ptr + 136 + 32 + 26, "Active" in x["FTPProxy"]["Port"] ? true : false); 2639 A.store.Int32( 2640 ptr + 136 + 32 + 0, 2641 x["FTPProxy"]["Port"]["Active"] === undefined ? 0 : (x["FTPProxy"]["Port"]["Active"] as number) 2642 ); 2643 A.store.Ref(ptr + 136 + 32 + 4, x["FTPProxy"]["Port"]["Effective"]); 2644 A.store.Bool(ptr + 136 + 32 + 27, "UserPolicy" in x["FTPProxy"]["Port"] ? true : false); 2645 A.store.Int32( 2646 ptr + 136 + 32 + 8, 2647 x["FTPProxy"]["Port"]["UserPolicy"] === undefined ? 0 : (x["FTPProxy"]["Port"]["UserPolicy"] as number) 2648 ); 2649 A.store.Bool(ptr + 136 + 32 + 28, "DevicePolicy" in x["FTPProxy"]["Port"] ? true : false); 2650 A.store.Int32( 2651 ptr + 136 + 32 + 12, 2652 x["FTPProxy"]["Port"]["DevicePolicy"] === undefined 2653 ? 0 2654 : (x["FTPProxy"]["Port"]["DevicePolicy"] as number) 2655 ); 2656 A.store.Bool(ptr + 136 + 32 + 29, "UserSetting" in x["FTPProxy"]["Port"] ? true : false); 2657 A.store.Int32( 2658 ptr + 136 + 32 + 16, 2659 x["FTPProxy"]["Port"]["UserSetting"] === undefined ? 0 : (x["FTPProxy"]["Port"]["UserSetting"] as number) 2660 ); 2661 A.store.Bool(ptr + 136 + 32 + 30, "SharedSetting" in x["FTPProxy"]["Port"] ? true : false); 2662 A.store.Int32( 2663 ptr + 136 + 32 + 20, 2664 x["FTPProxy"]["Port"]["SharedSetting"] === undefined 2665 ? 0 2666 : (x["FTPProxy"]["Port"]["SharedSetting"] as number) 2667 ); 2668 A.store.Bool(ptr + 136 + 32 + 31, "UserEditable" in x["FTPProxy"]["Port"] ? true : false); 2669 A.store.Bool(ptr + 136 + 32 + 24, x["FTPProxy"]["Port"]["UserEditable"] ? true : false); 2670 A.store.Bool(ptr + 136 + 32 + 32, "DeviceEditable" in x["FTPProxy"]["Port"] ? true : false); 2671 A.store.Bool(ptr + 136 + 32 + 25, x["FTPProxy"]["Port"]["DeviceEditable"] ? true : false); 2672 } 2673 } 2674 2675 if (typeof x["SOCKS"] === "undefined") { 2676 A.store.Bool(ptr + 204 + 66, false); 2677 2678 A.store.Bool(ptr + 204 + 0 + 28, false); 2679 A.store.Ref(ptr + 204 + 0 + 0, undefined); 2680 A.store.Ref(ptr + 204 + 0 + 4, undefined); 2681 A.store.Ref(ptr + 204 + 0 + 8, undefined); 2682 A.store.Ref(ptr + 204 + 0 + 12, undefined); 2683 A.store.Ref(ptr + 204 + 0 + 16, undefined); 2684 A.store.Ref(ptr + 204 + 0 + 20, undefined); 2685 A.store.Bool(ptr + 204 + 0 + 26, false); 2686 A.store.Bool(ptr + 204 + 0 + 24, false); 2687 A.store.Bool(ptr + 204 + 0 + 27, false); 2688 A.store.Bool(ptr + 204 + 0 + 25, false); 2689 2690 A.store.Bool(ptr + 204 + 32 + 33, false); 2691 A.store.Bool(ptr + 204 + 32 + 26, false); 2692 A.store.Int32(ptr + 204 + 32 + 0, 0); 2693 A.store.Ref(ptr + 204 + 32 + 4, undefined); 2694 A.store.Bool(ptr + 204 + 32 + 27, false); 2695 A.store.Int32(ptr + 204 + 32 + 8, 0); 2696 A.store.Bool(ptr + 204 + 32 + 28, false); 2697 A.store.Int32(ptr + 204 + 32 + 12, 0); 2698 A.store.Bool(ptr + 204 + 32 + 29, false); 2699 A.store.Int32(ptr + 204 + 32 + 16, 0); 2700 A.store.Bool(ptr + 204 + 32 + 30, false); 2701 A.store.Int32(ptr + 204 + 32 + 20, 0); 2702 A.store.Bool(ptr + 204 + 32 + 31, false); 2703 A.store.Bool(ptr + 204 + 32 + 24, false); 2704 A.store.Bool(ptr + 204 + 32 + 32, false); 2705 A.store.Bool(ptr + 204 + 32 + 25, false); 2706 } else { 2707 A.store.Bool(ptr + 204 + 66, true); 2708 2709 if (typeof x["SOCKS"]["Host"] === "undefined") { 2710 A.store.Bool(ptr + 204 + 0 + 28, false); 2711 A.store.Ref(ptr + 204 + 0 + 0, undefined); 2712 A.store.Ref(ptr + 204 + 0 + 4, undefined); 2713 A.store.Ref(ptr + 204 + 0 + 8, undefined); 2714 A.store.Ref(ptr + 204 + 0 + 12, undefined); 2715 A.store.Ref(ptr + 204 + 0 + 16, undefined); 2716 A.store.Ref(ptr + 204 + 0 + 20, undefined); 2717 A.store.Bool(ptr + 204 + 0 + 26, false); 2718 A.store.Bool(ptr + 204 + 0 + 24, false); 2719 A.store.Bool(ptr + 204 + 0 + 27, false); 2720 A.store.Bool(ptr + 204 + 0 + 25, false); 2721 } else { 2722 A.store.Bool(ptr + 204 + 0 + 28, true); 2723 A.store.Ref(ptr + 204 + 0 + 0, x["SOCKS"]["Host"]["Active"]); 2724 A.store.Ref(ptr + 204 + 0 + 4, x["SOCKS"]["Host"]["Effective"]); 2725 A.store.Ref(ptr + 204 + 0 + 8, x["SOCKS"]["Host"]["UserPolicy"]); 2726 A.store.Ref(ptr + 204 + 0 + 12, x["SOCKS"]["Host"]["DevicePolicy"]); 2727 A.store.Ref(ptr + 204 + 0 + 16, x["SOCKS"]["Host"]["UserSetting"]); 2728 A.store.Ref(ptr + 204 + 0 + 20, x["SOCKS"]["Host"]["SharedSetting"]); 2729 A.store.Bool(ptr + 204 + 0 + 26, "UserEditable" in x["SOCKS"]["Host"] ? true : false); 2730 A.store.Bool(ptr + 204 + 0 + 24, x["SOCKS"]["Host"]["UserEditable"] ? true : false); 2731 A.store.Bool(ptr + 204 + 0 + 27, "DeviceEditable" in x["SOCKS"]["Host"] ? true : false); 2732 A.store.Bool(ptr + 204 + 0 + 25, x["SOCKS"]["Host"]["DeviceEditable"] ? true : false); 2733 } 2734 2735 if (typeof x["SOCKS"]["Port"] === "undefined") { 2736 A.store.Bool(ptr + 204 + 32 + 33, false); 2737 A.store.Bool(ptr + 204 + 32 + 26, false); 2738 A.store.Int32(ptr + 204 + 32 + 0, 0); 2739 A.store.Ref(ptr + 204 + 32 + 4, undefined); 2740 A.store.Bool(ptr + 204 + 32 + 27, false); 2741 A.store.Int32(ptr + 204 + 32 + 8, 0); 2742 A.store.Bool(ptr + 204 + 32 + 28, false); 2743 A.store.Int32(ptr + 204 + 32 + 12, 0); 2744 A.store.Bool(ptr + 204 + 32 + 29, false); 2745 A.store.Int32(ptr + 204 + 32 + 16, 0); 2746 A.store.Bool(ptr + 204 + 32 + 30, false); 2747 A.store.Int32(ptr + 204 + 32 + 20, 0); 2748 A.store.Bool(ptr + 204 + 32 + 31, false); 2749 A.store.Bool(ptr + 204 + 32 + 24, false); 2750 A.store.Bool(ptr + 204 + 32 + 32, false); 2751 A.store.Bool(ptr + 204 + 32 + 25, false); 2752 } else { 2753 A.store.Bool(ptr + 204 + 32 + 33, true); 2754 A.store.Bool(ptr + 204 + 32 + 26, "Active" in x["SOCKS"]["Port"] ? true : false); 2755 A.store.Int32( 2756 ptr + 204 + 32 + 0, 2757 x["SOCKS"]["Port"]["Active"] === undefined ? 0 : (x["SOCKS"]["Port"]["Active"] as number) 2758 ); 2759 A.store.Ref(ptr + 204 + 32 + 4, x["SOCKS"]["Port"]["Effective"]); 2760 A.store.Bool(ptr + 204 + 32 + 27, "UserPolicy" in x["SOCKS"]["Port"] ? true : false); 2761 A.store.Int32( 2762 ptr + 204 + 32 + 8, 2763 x["SOCKS"]["Port"]["UserPolicy"] === undefined ? 0 : (x["SOCKS"]["Port"]["UserPolicy"] as number) 2764 ); 2765 A.store.Bool(ptr + 204 + 32 + 28, "DevicePolicy" in x["SOCKS"]["Port"] ? true : false); 2766 A.store.Int32( 2767 ptr + 204 + 32 + 12, 2768 x["SOCKS"]["Port"]["DevicePolicy"] === undefined ? 0 : (x["SOCKS"]["Port"]["DevicePolicy"] as number) 2769 ); 2770 A.store.Bool(ptr + 204 + 32 + 29, "UserSetting" in x["SOCKS"]["Port"] ? true : false); 2771 A.store.Int32( 2772 ptr + 204 + 32 + 16, 2773 x["SOCKS"]["Port"]["UserSetting"] === undefined ? 0 : (x["SOCKS"]["Port"]["UserSetting"] as number) 2774 ); 2775 A.store.Bool(ptr + 204 + 32 + 30, "SharedSetting" in x["SOCKS"]["Port"] ? true : false); 2776 A.store.Int32( 2777 ptr + 204 + 32 + 20, 2778 x["SOCKS"]["Port"]["SharedSetting"] === undefined ? 0 : (x["SOCKS"]["Port"]["SharedSetting"] as number) 2779 ); 2780 A.store.Bool(ptr + 204 + 32 + 31, "UserEditable" in x["SOCKS"]["Port"] ? true : false); 2781 A.store.Bool(ptr + 204 + 32 + 24, x["SOCKS"]["Port"]["UserEditable"] ? true : false); 2782 A.store.Bool(ptr + 204 + 32 + 32, "DeviceEditable" in x["SOCKS"]["Port"] ? true : false); 2783 A.store.Bool(ptr + 204 + 32 + 25, x["SOCKS"]["Port"]["DeviceEditable"] ? true : false); 2784 } 2785 } 2786 } 2787 }, 2788 "load_ManagedManualProxySettings": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 2789 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 2790 2791 if (A.load.Bool(ptr + 0 + 66)) { 2792 x["HTTPProxy"] = {}; 2793 if (A.load.Bool(ptr + 0 + 0 + 28)) { 2794 x["HTTPProxy"]["Host"] = {}; 2795 x["HTTPProxy"]["Host"]["Active"] = A.load.Ref(ptr + 0 + 0 + 0, undefined); 2796 x["HTTPProxy"]["Host"]["Effective"] = A.load.Ref(ptr + 0 + 0 + 4, undefined); 2797 x["HTTPProxy"]["Host"]["UserPolicy"] = A.load.Ref(ptr + 0 + 0 + 8, undefined); 2798 x["HTTPProxy"]["Host"]["DevicePolicy"] = A.load.Ref(ptr + 0 + 0 + 12, undefined); 2799 x["HTTPProxy"]["Host"]["UserSetting"] = A.load.Ref(ptr + 0 + 0 + 16, undefined); 2800 x["HTTPProxy"]["Host"]["SharedSetting"] = A.load.Ref(ptr + 0 + 0 + 20, undefined); 2801 if (A.load.Bool(ptr + 0 + 0 + 26)) { 2802 x["HTTPProxy"]["Host"]["UserEditable"] = A.load.Bool(ptr + 0 + 0 + 24); 2803 } else { 2804 delete x["HTTPProxy"]["Host"]["UserEditable"]; 2805 } 2806 if (A.load.Bool(ptr + 0 + 0 + 27)) { 2807 x["HTTPProxy"]["Host"]["DeviceEditable"] = A.load.Bool(ptr + 0 + 0 + 25); 2808 } else { 2809 delete x["HTTPProxy"]["Host"]["DeviceEditable"]; 2810 } 2811 } else { 2812 delete x["HTTPProxy"]["Host"]; 2813 } 2814 if (A.load.Bool(ptr + 0 + 32 + 33)) { 2815 x["HTTPProxy"]["Port"] = {}; 2816 if (A.load.Bool(ptr + 0 + 32 + 26)) { 2817 x["HTTPProxy"]["Port"]["Active"] = A.load.Int32(ptr + 0 + 32 + 0); 2818 } else { 2819 delete x["HTTPProxy"]["Port"]["Active"]; 2820 } 2821 x["HTTPProxy"]["Port"]["Effective"] = A.load.Ref(ptr + 0 + 32 + 4, undefined); 2822 if (A.load.Bool(ptr + 0 + 32 + 27)) { 2823 x["HTTPProxy"]["Port"]["UserPolicy"] = A.load.Int32(ptr + 0 + 32 + 8); 2824 } else { 2825 delete x["HTTPProxy"]["Port"]["UserPolicy"]; 2826 } 2827 if (A.load.Bool(ptr + 0 + 32 + 28)) { 2828 x["HTTPProxy"]["Port"]["DevicePolicy"] = A.load.Int32(ptr + 0 + 32 + 12); 2829 } else { 2830 delete x["HTTPProxy"]["Port"]["DevicePolicy"]; 2831 } 2832 if (A.load.Bool(ptr + 0 + 32 + 29)) { 2833 x["HTTPProxy"]["Port"]["UserSetting"] = A.load.Int32(ptr + 0 + 32 + 16); 2834 } else { 2835 delete x["HTTPProxy"]["Port"]["UserSetting"]; 2836 } 2837 if (A.load.Bool(ptr + 0 + 32 + 30)) { 2838 x["HTTPProxy"]["Port"]["SharedSetting"] = A.load.Int32(ptr + 0 + 32 + 20); 2839 } else { 2840 delete x["HTTPProxy"]["Port"]["SharedSetting"]; 2841 } 2842 if (A.load.Bool(ptr + 0 + 32 + 31)) { 2843 x["HTTPProxy"]["Port"]["UserEditable"] = A.load.Bool(ptr + 0 + 32 + 24); 2844 } else { 2845 delete x["HTTPProxy"]["Port"]["UserEditable"]; 2846 } 2847 if (A.load.Bool(ptr + 0 + 32 + 32)) { 2848 x["HTTPProxy"]["Port"]["DeviceEditable"] = A.load.Bool(ptr + 0 + 32 + 25); 2849 } else { 2850 delete x["HTTPProxy"]["Port"]["DeviceEditable"]; 2851 } 2852 } else { 2853 delete x["HTTPProxy"]["Port"]; 2854 } 2855 } else { 2856 delete x["HTTPProxy"]; 2857 } 2858 if (A.load.Bool(ptr + 68 + 66)) { 2859 x["SecureHTTPProxy"] = {}; 2860 if (A.load.Bool(ptr + 68 + 0 + 28)) { 2861 x["SecureHTTPProxy"]["Host"] = {}; 2862 x["SecureHTTPProxy"]["Host"]["Active"] = A.load.Ref(ptr + 68 + 0 + 0, undefined); 2863 x["SecureHTTPProxy"]["Host"]["Effective"] = A.load.Ref(ptr + 68 + 0 + 4, undefined); 2864 x["SecureHTTPProxy"]["Host"]["UserPolicy"] = A.load.Ref(ptr + 68 + 0 + 8, undefined); 2865 x["SecureHTTPProxy"]["Host"]["DevicePolicy"] = A.load.Ref(ptr + 68 + 0 + 12, undefined); 2866 x["SecureHTTPProxy"]["Host"]["UserSetting"] = A.load.Ref(ptr + 68 + 0 + 16, undefined); 2867 x["SecureHTTPProxy"]["Host"]["SharedSetting"] = A.load.Ref(ptr + 68 + 0 + 20, undefined); 2868 if (A.load.Bool(ptr + 68 + 0 + 26)) { 2869 x["SecureHTTPProxy"]["Host"]["UserEditable"] = A.load.Bool(ptr + 68 + 0 + 24); 2870 } else { 2871 delete x["SecureHTTPProxy"]["Host"]["UserEditable"]; 2872 } 2873 if (A.load.Bool(ptr + 68 + 0 + 27)) { 2874 x["SecureHTTPProxy"]["Host"]["DeviceEditable"] = A.load.Bool(ptr + 68 + 0 + 25); 2875 } else { 2876 delete x["SecureHTTPProxy"]["Host"]["DeviceEditable"]; 2877 } 2878 } else { 2879 delete x["SecureHTTPProxy"]["Host"]; 2880 } 2881 if (A.load.Bool(ptr + 68 + 32 + 33)) { 2882 x["SecureHTTPProxy"]["Port"] = {}; 2883 if (A.load.Bool(ptr + 68 + 32 + 26)) { 2884 x["SecureHTTPProxy"]["Port"]["Active"] = A.load.Int32(ptr + 68 + 32 + 0); 2885 } else { 2886 delete x["SecureHTTPProxy"]["Port"]["Active"]; 2887 } 2888 x["SecureHTTPProxy"]["Port"]["Effective"] = A.load.Ref(ptr + 68 + 32 + 4, undefined); 2889 if (A.load.Bool(ptr + 68 + 32 + 27)) { 2890 x["SecureHTTPProxy"]["Port"]["UserPolicy"] = A.load.Int32(ptr + 68 + 32 + 8); 2891 } else { 2892 delete x["SecureHTTPProxy"]["Port"]["UserPolicy"]; 2893 } 2894 if (A.load.Bool(ptr + 68 + 32 + 28)) { 2895 x["SecureHTTPProxy"]["Port"]["DevicePolicy"] = A.load.Int32(ptr + 68 + 32 + 12); 2896 } else { 2897 delete x["SecureHTTPProxy"]["Port"]["DevicePolicy"]; 2898 } 2899 if (A.load.Bool(ptr + 68 + 32 + 29)) { 2900 x["SecureHTTPProxy"]["Port"]["UserSetting"] = A.load.Int32(ptr + 68 + 32 + 16); 2901 } else { 2902 delete x["SecureHTTPProxy"]["Port"]["UserSetting"]; 2903 } 2904 if (A.load.Bool(ptr + 68 + 32 + 30)) { 2905 x["SecureHTTPProxy"]["Port"]["SharedSetting"] = A.load.Int32(ptr + 68 + 32 + 20); 2906 } else { 2907 delete x["SecureHTTPProxy"]["Port"]["SharedSetting"]; 2908 } 2909 if (A.load.Bool(ptr + 68 + 32 + 31)) { 2910 x["SecureHTTPProxy"]["Port"]["UserEditable"] = A.load.Bool(ptr + 68 + 32 + 24); 2911 } else { 2912 delete x["SecureHTTPProxy"]["Port"]["UserEditable"]; 2913 } 2914 if (A.load.Bool(ptr + 68 + 32 + 32)) { 2915 x["SecureHTTPProxy"]["Port"]["DeviceEditable"] = A.load.Bool(ptr + 68 + 32 + 25); 2916 } else { 2917 delete x["SecureHTTPProxy"]["Port"]["DeviceEditable"]; 2918 } 2919 } else { 2920 delete x["SecureHTTPProxy"]["Port"]; 2921 } 2922 } else { 2923 delete x["SecureHTTPProxy"]; 2924 } 2925 if (A.load.Bool(ptr + 136 + 66)) { 2926 x["FTPProxy"] = {}; 2927 if (A.load.Bool(ptr + 136 + 0 + 28)) { 2928 x["FTPProxy"]["Host"] = {}; 2929 x["FTPProxy"]["Host"]["Active"] = A.load.Ref(ptr + 136 + 0 + 0, undefined); 2930 x["FTPProxy"]["Host"]["Effective"] = A.load.Ref(ptr + 136 + 0 + 4, undefined); 2931 x["FTPProxy"]["Host"]["UserPolicy"] = A.load.Ref(ptr + 136 + 0 + 8, undefined); 2932 x["FTPProxy"]["Host"]["DevicePolicy"] = A.load.Ref(ptr + 136 + 0 + 12, undefined); 2933 x["FTPProxy"]["Host"]["UserSetting"] = A.load.Ref(ptr + 136 + 0 + 16, undefined); 2934 x["FTPProxy"]["Host"]["SharedSetting"] = A.load.Ref(ptr + 136 + 0 + 20, undefined); 2935 if (A.load.Bool(ptr + 136 + 0 + 26)) { 2936 x["FTPProxy"]["Host"]["UserEditable"] = A.load.Bool(ptr + 136 + 0 + 24); 2937 } else { 2938 delete x["FTPProxy"]["Host"]["UserEditable"]; 2939 } 2940 if (A.load.Bool(ptr + 136 + 0 + 27)) { 2941 x["FTPProxy"]["Host"]["DeviceEditable"] = A.load.Bool(ptr + 136 + 0 + 25); 2942 } else { 2943 delete x["FTPProxy"]["Host"]["DeviceEditable"]; 2944 } 2945 } else { 2946 delete x["FTPProxy"]["Host"]; 2947 } 2948 if (A.load.Bool(ptr + 136 + 32 + 33)) { 2949 x["FTPProxy"]["Port"] = {}; 2950 if (A.load.Bool(ptr + 136 + 32 + 26)) { 2951 x["FTPProxy"]["Port"]["Active"] = A.load.Int32(ptr + 136 + 32 + 0); 2952 } else { 2953 delete x["FTPProxy"]["Port"]["Active"]; 2954 } 2955 x["FTPProxy"]["Port"]["Effective"] = A.load.Ref(ptr + 136 + 32 + 4, undefined); 2956 if (A.load.Bool(ptr + 136 + 32 + 27)) { 2957 x["FTPProxy"]["Port"]["UserPolicy"] = A.load.Int32(ptr + 136 + 32 + 8); 2958 } else { 2959 delete x["FTPProxy"]["Port"]["UserPolicy"]; 2960 } 2961 if (A.load.Bool(ptr + 136 + 32 + 28)) { 2962 x["FTPProxy"]["Port"]["DevicePolicy"] = A.load.Int32(ptr + 136 + 32 + 12); 2963 } else { 2964 delete x["FTPProxy"]["Port"]["DevicePolicy"]; 2965 } 2966 if (A.load.Bool(ptr + 136 + 32 + 29)) { 2967 x["FTPProxy"]["Port"]["UserSetting"] = A.load.Int32(ptr + 136 + 32 + 16); 2968 } else { 2969 delete x["FTPProxy"]["Port"]["UserSetting"]; 2970 } 2971 if (A.load.Bool(ptr + 136 + 32 + 30)) { 2972 x["FTPProxy"]["Port"]["SharedSetting"] = A.load.Int32(ptr + 136 + 32 + 20); 2973 } else { 2974 delete x["FTPProxy"]["Port"]["SharedSetting"]; 2975 } 2976 if (A.load.Bool(ptr + 136 + 32 + 31)) { 2977 x["FTPProxy"]["Port"]["UserEditable"] = A.load.Bool(ptr + 136 + 32 + 24); 2978 } else { 2979 delete x["FTPProxy"]["Port"]["UserEditable"]; 2980 } 2981 if (A.load.Bool(ptr + 136 + 32 + 32)) { 2982 x["FTPProxy"]["Port"]["DeviceEditable"] = A.load.Bool(ptr + 136 + 32 + 25); 2983 } else { 2984 delete x["FTPProxy"]["Port"]["DeviceEditable"]; 2985 } 2986 } else { 2987 delete x["FTPProxy"]["Port"]; 2988 } 2989 } else { 2990 delete x["FTPProxy"]; 2991 } 2992 if (A.load.Bool(ptr + 204 + 66)) { 2993 x["SOCKS"] = {}; 2994 if (A.load.Bool(ptr + 204 + 0 + 28)) { 2995 x["SOCKS"]["Host"] = {}; 2996 x["SOCKS"]["Host"]["Active"] = A.load.Ref(ptr + 204 + 0 + 0, undefined); 2997 x["SOCKS"]["Host"]["Effective"] = A.load.Ref(ptr + 204 + 0 + 4, undefined); 2998 x["SOCKS"]["Host"]["UserPolicy"] = A.load.Ref(ptr + 204 + 0 + 8, undefined); 2999 x["SOCKS"]["Host"]["DevicePolicy"] = A.load.Ref(ptr + 204 + 0 + 12, undefined); 3000 x["SOCKS"]["Host"]["UserSetting"] = A.load.Ref(ptr + 204 + 0 + 16, undefined); 3001 x["SOCKS"]["Host"]["SharedSetting"] = A.load.Ref(ptr + 204 + 0 + 20, undefined); 3002 if (A.load.Bool(ptr + 204 + 0 + 26)) { 3003 x["SOCKS"]["Host"]["UserEditable"] = A.load.Bool(ptr + 204 + 0 + 24); 3004 } else { 3005 delete x["SOCKS"]["Host"]["UserEditable"]; 3006 } 3007 if (A.load.Bool(ptr + 204 + 0 + 27)) { 3008 x["SOCKS"]["Host"]["DeviceEditable"] = A.load.Bool(ptr + 204 + 0 + 25); 3009 } else { 3010 delete x["SOCKS"]["Host"]["DeviceEditable"]; 3011 } 3012 } else { 3013 delete x["SOCKS"]["Host"]; 3014 } 3015 if (A.load.Bool(ptr + 204 + 32 + 33)) { 3016 x["SOCKS"]["Port"] = {}; 3017 if (A.load.Bool(ptr + 204 + 32 + 26)) { 3018 x["SOCKS"]["Port"]["Active"] = A.load.Int32(ptr + 204 + 32 + 0); 3019 } else { 3020 delete x["SOCKS"]["Port"]["Active"]; 3021 } 3022 x["SOCKS"]["Port"]["Effective"] = A.load.Ref(ptr + 204 + 32 + 4, undefined); 3023 if (A.load.Bool(ptr + 204 + 32 + 27)) { 3024 x["SOCKS"]["Port"]["UserPolicy"] = A.load.Int32(ptr + 204 + 32 + 8); 3025 } else { 3026 delete x["SOCKS"]["Port"]["UserPolicy"]; 3027 } 3028 if (A.load.Bool(ptr + 204 + 32 + 28)) { 3029 x["SOCKS"]["Port"]["DevicePolicy"] = A.load.Int32(ptr + 204 + 32 + 12); 3030 } else { 3031 delete x["SOCKS"]["Port"]["DevicePolicy"]; 3032 } 3033 if (A.load.Bool(ptr + 204 + 32 + 29)) { 3034 x["SOCKS"]["Port"]["UserSetting"] = A.load.Int32(ptr + 204 + 32 + 16); 3035 } else { 3036 delete x["SOCKS"]["Port"]["UserSetting"]; 3037 } 3038 if (A.load.Bool(ptr + 204 + 32 + 30)) { 3039 x["SOCKS"]["Port"]["SharedSetting"] = A.load.Int32(ptr + 204 + 32 + 20); 3040 } else { 3041 delete x["SOCKS"]["Port"]["SharedSetting"]; 3042 } 3043 if (A.load.Bool(ptr + 204 + 32 + 31)) { 3044 x["SOCKS"]["Port"]["UserEditable"] = A.load.Bool(ptr + 204 + 32 + 24); 3045 } else { 3046 delete x["SOCKS"]["Port"]["UserEditable"]; 3047 } 3048 if (A.load.Bool(ptr + 204 + 32 + 32)) { 3049 x["SOCKS"]["Port"]["DeviceEditable"] = A.load.Bool(ptr + 204 + 32 + 25); 3050 } else { 3051 delete x["SOCKS"]["Port"]["DeviceEditable"]; 3052 } 3053 } else { 3054 delete x["SOCKS"]["Port"]; 3055 } 3056 } else { 3057 delete x["SOCKS"]; 3058 } 3059 return create === A.H.TRUE ? A.H.push(x) : ref; 3060 }, 3061 3062 "store_ManagedDOMStringList": (ptr: Pointer, ref: heap.Ref<any>) => { 3063 const x = A.H.get<any>(ref); 3064 3065 if (typeof x === "undefined") { 3066 A.store.Bool(ptr + 28, false); 3067 A.store.Ref(ptr + 0, undefined); 3068 A.store.Ref(ptr + 4, undefined); 3069 A.store.Ref(ptr + 8, undefined); 3070 A.store.Ref(ptr + 12, undefined); 3071 A.store.Ref(ptr + 16, undefined); 3072 A.store.Ref(ptr + 20, undefined); 3073 A.store.Bool(ptr + 26, false); 3074 A.store.Bool(ptr + 24, false); 3075 A.store.Bool(ptr + 27, false); 3076 A.store.Bool(ptr + 25, false); 3077 } else { 3078 A.store.Bool(ptr + 28, true); 3079 A.store.Ref(ptr + 0, x["Active"]); 3080 A.store.Ref(ptr + 4, x["Effective"]); 3081 A.store.Ref(ptr + 8, x["UserPolicy"]); 3082 A.store.Ref(ptr + 12, x["DevicePolicy"]); 3083 A.store.Ref(ptr + 16, x["UserSetting"]); 3084 A.store.Ref(ptr + 20, x["SharedSetting"]); 3085 A.store.Bool(ptr + 26, "UserEditable" in x ? true : false); 3086 A.store.Bool(ptr + 24, x["UserEditable"] ? true : false); 3087 A.store.Bool(ptr + 27, "DeviceEditable" in x ? true : false); 3088 A.store.Bool(ptr + 25, x["DeviceEditable"] ? true : false); 3089 } 3090 }, 3091 "load_ManagedDOMStringList": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 3092 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 3093 3094 x["Active"] = A.load.Ref(ptr + 0, undefined); 3095 x["Effective"] = A.load.Ref(ptr + 4, undefined); 3096 x["UserPolicy"] = A.load.Ref(ptr + 8, undefined); 3097 x["DevicePolicy"] = A.load.Ref(ptr + 12, undefined); 3098 x["UserSetting"] = A.load.Ref(ptr + 16, undefined); 3099 x["SharedSetting"] = A.load.Ref(ptr + 20, undefined); 3100 if (A.load.Bool(ptr + 26)) { 3101 x["UserEditable"] = A.load.Bool(ptr + 24); 3102 } else { 3103 delete x["UserEditable"]; 3104 } 3105 if (A.load.Bool(ptr + 27)) { 3106 x["DeviceEditable"] = A.load.Bool(ptr + 25); 3107 } else { 3108 delete x["DeviceEditable"]; 3109 } 3110 return create === A.H.TRUE ? A.H.push(x) : ref; 3111 }, 3112 3113 "store_ManagedProxySettings": (ptr: Pointer, ref: heap.Ref<any>) => { 3114 const x = A.H.get<any>(ref); 3115 3116 if (typeof x === "undefined") { 3117 A.store.Bool(ptr + 365, false); 3118 3119 A.store.Bool(ptr + 0 + 28, false); 3120 A.store.Enum(ptr + 0 + 0, -1); 3121 A.store.Ref(ptr + 0 + 4, undefined); 3122 A.store.Enum(ptr + 0 + 8, -1); 3123 A.store.Enum(ptr + 0 + 12, -1); 3124 A.store.Enum(ptr + 0 + 16, -1); 3125 A.store.Enum(ptr + 0 + 20, -1); 3126 A.store.Bool(ptr + 0 + 26, false); 3127 A.store.Bool(ptr + 0 + 24, false); 3128 A.store.Bool(ptr + 0 + 27, false); 3129 A.store.Bool(ptr + 0 + 25, false); 3130 3131 A.store.Bool(ptr + 32 + 271, false); 3132 3133 A.store.Bool(ptr + 32 + 0 + 66, false); 3134 3135 A.store.Bool(ptr + 32 + 0 + 0 + 28, false); 3136 A.store.Ref(ptr + 32 + 0 + 0 + 0, undefined); 3137 A.store.Ref(ptr + 32 + 0 + 0 + 4, undefined); 3138 A.store.Ref(ptr + 32 + 0 + 0 + 8, undefined); 3139 A.store.Ref(ptr + 32 + 0 + 0 + 12, undefined); 3140 A.store.Ref(ptr + 32 + 0 + 0 + 16, undefined); 3141 A.store.Ref(ptr + 32 + 0 + 0 + 20, undefined); 3142 A.store.Bool(ptr + 32 + 0 + 0 + 26, false); 3143 A.store.Bool(ptr + 32 + 0 + 0 + 24, false); 3144 A.store.Bool(ptr + 32 + 0 + 0 + 27, false); 3145 A.store.Bool(ptr + 32 + 0 + 0 + 25, false); 3146 3147 A.store.Bool(ptr + 32 + 0 + 32 + 33, false); 3148 A.store.Bool(ptr + 32 + 0 + 32 + 26, false); 3149 A.store.Int32(ptr + 32 + 0 + 32 + 0, 0); 3150 A.store.Ref(ptr + 32 + 0 + 32 + 4, undefined); 3151 A.store.Bool(ptr + 32 + 0 + 32 + 27, false); 3152 A.store.Int32(ptr + 32 + 0 + 32 + 8, 0); 3153 A.store.Bool(ptr + 32 + 0 + 32 + 28, false); 3154 A.store.Int32(ptr + 32 + 0 + 32 + 12, 0); 3155 A.store.Bool(ptr + 32 + 0 + 32 + 29, false); 3156 A.store.Int32(ptr + 32 + 0 + 32 + 16, 0); 3157 A.store.Bool(ptr + 32 + 0 + 32 + 30, false); 3158 A.store.Int32(ptr + 32 + 0 + 32 + 20, 0); 3159 A.store.Bool(ptr + 32 + 0 + 32 + 31, false); 3160 A.store.Bool(ptr + 32 + 0 + 32 + 24, false); 3161 A.store.Bool(ptr + 32 + 0 + 32 + 32, false); 3162 A.store.Bool(ptr + 32 + 0 + 32 + 25, false); 3163 3164 A.store.Bool(ptr + 32 + 68 + 66, false); 3165 3166 A.store.Bool(ptr + 32 + 68 + 0 + 28, false); 3167 A.store.Ref(ptr + 32 + 68 + 0 + 0, undefined); 3168 A.store.Ref(ptr + 32 + 68 + 0 + 4, undefined); 3169 A.store.Ref(ptr + 32 + 68 + 0 + 8, undefined); 3170 A.store.Ref(ptr + 32 + 68 + 0 + 12, undefined); 3171 A.store.Ref(ptr + 32 + 68 + 0 + 16, undefined); 3172 A.store.Ref(ptr + 32 + 68 + 0 + 20, undefined); 3173 A.store.Bool(ptr + 32 + 68 + 0 + 26, false); 3174 A.store.Bool(ptr + 32 + 68 + 0 + 24, false); 3175 A.store.Bool(ptr + 32 + 68 + 0 + 27, false); 3176 A.store.Bool(ptr + 32 + 68 + 0 + 25, false); 3177 3178 A.store.Bool(ptr + 32 + 68 + 32 + 33, false); 3179 A.store.Bool(ptr + 32 + 68 + 32 + 26, false); 3180 A.store.Int32(ptr + 32 + 68 + 32 + 0, 0); 3181 A.store.Ref(ptr + 32 + 68 + 32 + 4, undefined); 3182 A.store.Bool(ptr + 32 + 68 + 32 + 27, false); 3183 A.store.Int32(ptr + 32 + 68 + 32 + 8, 0); 3184 A.store.Bool(ptr + 32 + 68 + 32 + 28, false); 3185 A.store.Int32(ptr + 32 + 68 + 32 + 12, 0); 3186 A.store.Bool(ptr + 32 + 68 + 32 + 29, false); 3187 A.store.Int32(ptr + 32 + 68 + 32 + 16, 0); 3188 A.store.Bool(ptr + 32 + 68 + 32 + 30, false); 3189 A.store.Int32(ptr + 32 + 68 + 32 + 20, 0); 3190 A.store.Bool(ptr + 32 + 68 + 32 + 31, false); 3191 A.store.Bool(ptr + 32 + 68 + 32 + 24, false); 3192 A.store.Bool(ptr + 32 + 68 + 32 + 32, false); 3193 A.store.Bool(ptr + 32 + 68 + 32 + 25, false); 3194 3195 A.store.Bool(ptr + 32 + 136 + 66, false); 3196 3197 A.store.Bool(ptr + 32 + 136 + 0 + 28, false); 3198 A.store.Ref(ptr + 32 + 136 + 0 + 0, undefined); 3199 A.store.Ref(ptr + 32 + 136 + 0 + 4, undefined); 3200 A.store.Ref(ptr + 32 + 136 + 0 + 8, undefined); 3201 A.store.Ref(ptr + 32 + 136 + 0 + 12, undefined); 3202 A.store.Ref(ptr + 32 + 136 + 0 + 16, undefined); 3203 A.store.Ref(ptr + 32 + 136 + 0 + 20, undefined); 3204 A.store.Bool(ptr + 32 + 136 + 0 + 26, false); 3205 A.store.Bool(ptr + 32 + 136 + 0 + 24, false); 3206 A.store.Bool(ptr + 32 + 136 + 0 + 27, false); 3207 A.store.Bool(ptr + 32 + 136 + 0 + 25, false); 3208 3209 A.store.Bool(ptr + 32 + 136 + 32 + 33, false); 3210 A.store.Bool(ptr + 32 + 136 + 32 + 26, false); 3211 A.store.Int32(ptr + 32 + 136 + 32 + 0, 0); 3212 A.store.Ref(ptr + 32 + 136 + 32 + 4, undefined); 3213 A.store.Bool(ptr + 32 + 136 + 32 + 27, false); 3214 A.store.Int32(ptr + 32 + 136 + 32 + 8, 0); 3215 A.store.Bool(ptr + 32 + 136 + 32 + 28, false); 3216 A.store.Int32(ptr + 32 + 136 + 32 + 12, 0); 3217 A.store.Bool(ptr + 32 + 136 + 32 + 29, false); 3218 A.store.Int32(ptr + 32 + 136 + 32 + 16, 0); 3219 A.store.Bool(ptr + 32 + 136 + 32 + 30, false); 3220 A.store.Int32(ptr + 32 + 136 + 32 + 20, 0); 3221 A.store.Bool(ptr + 32 + 136 + 32 + 31, false); 3222 A.store.Bool(ptr + 32 + 136 + 32 + 24, false); 3223 A.store.Bool(ptr + 32 + 136 + 32 + 32, false); 3224 A.store.Bool(ptr + 32 + 136 + 32 + 25, false); 3225 3226 A.store.Bool(ptr + 32 + 204 + 66, false); 3227 3228 A.store.Bool(ptr + 32 + 204 + 0 + 28, false); 3229 A.store.Ref(ptr + 32 + 204 + 0 + 0, undefined); 3230 A.store.Ref(ptr + 32 + 204 + 0 + 4, undefined); 3231 A.store.Ref(ptr + 32 + 204 + 0 + 8, undefined); 3232 A.store.Ref(ptr + 32 + 204 + 0 + 12, undefined); 3233 A.store.Ref(ptr + 32 + 204 + 0 + 16, undefined); 3234 A.store.Ref(ptr + 32 + 204 + 0 + 20, undefined); 3235 A.store.Bool(ptr + 32 + 204 + 0 + 26, false); 3236 A.store.Bool(ptr + 32 + 204 + 0 + 24, false); 3237 A.store.Bool(ptr + 32 + 204 + 0 + 27, false); 3238 A.store.Bool(ptr + 32 + 204 + 0 + 25, false); 3239 3240 A.store.Bool(ptr + 32 + 204 + 32 + 33, false); 3241 A.store.Bool(ptr + 32 + 204 + 32 + 26, false); 3242 A.store.Int32(ptr + 32 + 204 + 32 + 0, 0); 3243 A.store.Ref(ptr + 32 + 204 + 32 + 4, undefined); 3244 A.store.Bool(ptr + 32 + 204 + 32 + 27, false); 3245 A.store.Int32(ptr + 32 + 204 + 32 + 8, 0); 3246 A.store.Bool(ptr + 32 + 204 + 32 + 28, false); 3247 A.store.Int32(ptr + 32 + 204 + 32 + 12, 0); 3248 A.store.Bool(ptr + 32 + 204 + 32 + 29, false); 3249 A.store.Int32(ptr + 32 + 204 + 32 + 16, 0); 3250 A.store.Bool(ptr + 32 + 204 + 32 + 30, false); 3251 A.store.Int32(ptr + 32 + 204 + 32 + 20, 0); 3252 A.store.Bool(ptr + 32 + 204 + 32 + 31, false); 3253 A.store.Bool(ptr + 32 + 204 + 32 + 24, false); 3254 A.store.Bool(ptr + 32 + 204 + 32 + 32, false); 3255 A.store.Bool(ptr + 32 + 204 + 32 + 25, false); 3256 3257 A.store.Bool(ptr + 304 + 28, false); 3258 A.store.Ref(ptr + 304 + 0, undefined); 3259 A.store.Ref(ptr + 304 + 4, undefined); 3260 A.store.Ref(ptr + 304 + 8, undefined); 3261 A.store.Ref(ptr + 304 + 12, undefined); 3262 A.store.Ref(ptr + 304 + 16, undefined); 3263 A.store.Ref(ptr + 304 + 20, undefined); 3264 A.store.Bool(ptr + 304 + 26, false); 3265 A.store.Bool(ptr + 304 + 24, false); 3266 A.store.Bool(ptr + 304 + 27, false); 3267 A.store.Bool(ptr + 304 + 25, false); 3268 3269 A.store.Bool(ptr + 336 + 28, false); 3270 A.store.Ref(ptr + 336 + 0, undefined); 3271 A.store.Ref(ptr + 336 + 4, undefined); 3272 A.store.Ref(ptr + 336 + 8, undefined); 3273 A.store.Ref(ptr + 336 + 12, undefined); 3274 A.store.Ref(ptr + 336 + 16, undefined); 3275 A.store.Ref(ptr + 336 + 20, undefined); 3276 A.store.Bool(ptr + 336 + 26, false); 3277 A.store.Bool(ptr + 336 + 24, false); 3278 A.store.Bool(ptr + 336 + 27, false); 3279 A.store.Bool(ptr + 336 + 25, false); 3280 } else { 3281 A.store.Bool(ptr + 365, true); 3282 3283 if (typeof x["Type"] === "undefined") { 3284 A.store.Bool(ptr + 0 + 28, false); 3285 A.store.Enum(ptr + 0 + 0, -1); 3286 A.store.Ref(ptr + 0 + 4, undefined); 3287 A.store.Enum(ptr + 0 + 8, -1); 3288 A.store.Enum(ptr + 0 + 12, -1); 3289 A.store.Enum(ptr + 0 + 16, -1); 3290 A.store.Enum(ptr + 0 + 20, -1); 3291 A.store.Bool(ptr + 0 + 26, false); 3292 A.store.Bool(ptr + 0 + 24, false); 3293 A.store.Bool(ptr + 0 + 27, false); 3294 A.store.Bool(ptr + 0 + 25, false); 3295 } else { 3296 A.store.Bool(ptr + 0 + 28, true); 3297 A.store.Enum(ptr + 0 + 0, ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["Type"]["Active"] as string)); 3298 A.store.Ref(ptr + 0 + 4, x["Type"]["Effective"]); 3299 A.store.Enum(ptr + 0 + 8, ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["Type"]["UserPolicy"] as string)); 3300 A.store.Enum(ptr + 0 + 12, ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["Type"]["DevicePolicy"] as string)); 3301 A.store.Enum(ptr + 0 + 16, ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["Type"]["UserSetting"] as string)); 3302 A.store.Enum(ptr + 0 + 20, ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["Type"]["SharedSetting"] as string)); 3303 A.store.Bool(ptr + 0 + 26, "UserEditable" in x["Type"] ? true : false); 3304 A.store.Bool(ptr + 0 + 24, x["Type"]["UserEditable"] ? true : false); 3305 A.store.Bool(ptr + 0 + 27, "DeviceEditable" in x["Type"] ? true : false); 3306 A.store.Bool(ptr + 0 + 25, x["Type"]["DeviceEditable"] ? true : false); 3307 } 3308 3309 if (typeof x["Manual"] === "undefined") { 3310 A.store.Bool(ptr + 32 + 271, false); 3311 3312 A.store.Bool(ptr + 32 + 0 + 66, false); 3313 3314 A.store.Bool(ptr + 32 + 0 + 0 + 28, false); 3315 A.store.Ref(ptr + 32 + 0 + 0 + 0, undefined); 3316 A.store.Ref(ptr + 32 + 0 + 0 + 4, undefined); 3317 A.store.Ref(ptr + 32 + 0 + 0 + 8, undefined); 3318 A.store.Ref(ptr + 32 + 0 + 0 + 12, undefined); 3319 A.store.Ref(ptr + 32 + 0 + 0 + 16, undefined); 3320 A.store.Ref(ptr + 32 + 0 + 0 + 20, undefined); 3321 A.store.Bool(ptr + 32 + 0 + 0 + 26, false); 3322 A.store.Bool(ptr + 32 + 0 + 0 + 24, false); 3323 A.store.Bool(ptr + 32 + 0 + 0 + 27, false); 3324 A.store.Bool(ptr + 32 + 0 + 0 + 25, false); 3325 3326 A.store.Bool(ptr + 32 + 0 + 32 + 33, false); 3327 A.store.Bool(ptr + 32 + 0 + 32 + 26, false); 3328 A.store.Int32(ptr + 32 + 0 + 32 + 0, 0); 3329 A.store.Ref(ptr + 32 + 0 + 32 + 4, undefined); 3330 A.store.Bool(ptr + 32 + 0 + 32 + 27, false); 3331 A.store.Int32(ptr + 32 + 0 + 32 + 8, 0); 3332 A.store.Bool(ptr + 32 + 0 + 32 + 28, false); 3333 A.store.Int32(ptr + 32 + 0 + 32 + 12, 0); 3334 A.store.Bool(ptr + 32 + 0 + 32 + 29, false); 3335 A.store.Int32(ptr + 32 + 0 + 32 + 16, 0); 3336 A.store.Bool(ptr + 32 + 0 + 32 + 30, false); 3337 A.store.Int32(ptr + 32 + 0 + 32 + 20, 0); 3338 A.store.Bool(ptr + 32 + 0 + 32 + 31, false); 3339 A.store.Bool(ptr + 32 + 0 + 32 + 24, false); 3340 A.store.Bool(ptr + 32 + 0 + 32 + 32, false); 3341 A.store.Bool(ptr + 32 + 0 + 32 + 25, false); 3342 3343 A.store.Bool(ptr + 32 + 68 + 66, false); 3344 3345 A.store.Bool(ptr + 32 + 68 + 0 + 28, false); 3346 A.store.Ref(ptr + 32 + 68 + 0 + 0, undefined); 3347 A.store.Ref(ptr + 32 + 68 + 0 + 4, undefined); 3348 A.store.Ref(ptr + 32 + 68 + 0 + 8, undefined); 3349 A.store.Ref(ptr + 32 + 68 + 0 + 12, undefined); 3350 A.store.Ref(ptr + 32 + 68 + 0 + 16, undefined); 3351 A.store.Ref(ptr + 32 + 68 + 0 + 20, undefined); 3352 A.store.Bool(ptr + 32 + 68 + 0 + 26, false); 3353 A.store.Bool(ptr + 32 + 68 + 0 + 24, false); 3354 A.store.Bool(ptr + 32 + 68 + 0 + 27, false); 3355 A.store.Bool(ptr + 32 + 68 + 0 + 25, false); 3356 3357 A.store.Bool(ptr + 32 + 68 + 32 + 33, false); 3358 A.store.Bool(ptr + 32 + 68 + 32 + 26, false); 3359 A.store.Int32(ptr + 32 + 68 + 32 + 0, 0); 3360 A.store.Ref(ptr + 32 + 68 + 32 + 4, undefined); 3361 A.store.Bool(ptr + 32 + 68 + 32 + 27, false); 3362 A.store.Int32(ptr + 32 + 68 + 32 + 8, 0); 3363 A.store.Bool(ptr + 32 + 68 + 32 + 28, false); 3364 A.store.Int32(ptr + 32 + 68 + 32 + 12, 0); 3365 A.store.Bool(ptr + 32 + 68 + 32 + 29, false); 3366 A.store.Int32(ptr + 32 + 68 + 32 + 16, 0); 3367 A.store.Bool(ptr + 32 + 68 + 32 + 30, false); 3368 A.store.Int32(ptr + 32 + 68 + 32 + 20, 0); 3369 A.store.Bool(ptr + 32 + 68 + 32 + 31, false); 3370 A.store.Bool(ptr + 32 + 68 + 32 + 24, false); 3371 A.store.Bool(ptr + 32 + 68 + 32 + 32, false); 3372 A.store.Bool(ptr + 32 + 68 + 32 + 25, false); 3373 3374 A.store.Bool(ptr + 32 + 136 + 66, false); 3375 3376 A.store.Bool(ptr + 32 + 136 + 0 + 28, false); 3377 A.store.Ref(ptr + 32 + 136 + 0 + 0, undefined); 3378 A.store.Ref(ptr + 32 + 136 + 0 + 4, undefined); 3379 A.store.Ref(ptr + 32 + 136 + 0 + 8, undefined); 3380 A.store.Ref(ptr + 32 + 136 + 0 + 12, undefined); 3381 A.store.Ref(ptr + 32 + 136 + 0 + 16, undefined); 3382 A.store.Ref(ptr + 32 + 136 + 0 + 20, undefined); 3383 A.store.Bool(ptr + 32 + 136 + 0 + 26, false); 3384 A.store.Bool(ptr + 32 + 136 + 0 + 24, false); 3385 A.store.Bool(ptr + 32 + 136 + 0 + 27, false); 3386 A.store.Bool(ptr + 32 + 136 + 0 + 25, false); 3387 3388 A.store.Bool(ptr + 32 + 136 + 32 + 33, false); 3389 A.store.Bool(ptr + 32 + 136 + 32 + 26, false); 3390 A.store.Int32(ptr + 32 + 136 + 32 + 0, 0); 3391 A.store.Ref(ptr + 32 + 136 + 32 + 4, undefined); 3392 A.store.Bool(ptr + 32 + 136 + 32 + 27, false); 3393 A.store.Int32(ptr + 32 + 136 + 32 + 8, 0); 3394 A.store.Bool(ptr + 32 + 136 + 32 + 28, false); 3395 A.store.Int32(ptr + 32 + 136 + 32 + 12, 0); 3396 A.store.Bool(ptr + 32 + 136 + 32 + 29, false); 3397 A.store.Int32(ptr + 32 + 136 + 32 + 16, 0); 3398 A.store.Bool(ptr + 32 + 136 + 32 + 30, false); 3399 A.store.Int32(ptr + 32 + 136 + 32 + 20, 0); 3400 A.store.Bool(ptr + 32 + 136 + 32 + 31, false); 3401 A.store.Bool(ptr + 32 + 136 + 32 + 24, false); 3402 A.store.Bool(ptr + 32 + 136 + 32 + 32, false); 3403 A.store.Bool(ptr + 32 + 136 + 32 + 25, false); 3404 3405 A.store.Bool(ptr + 32 + 204 + 66, false); 3406 3407 A.store.Bool(ptr + 32 + 204 + 0 + 28, false); 3408 A.store.Ref(ptr + 32 + 204 + 0 + 0, undefined); 3409 A.store.Ref(ptr + 32 + 204 + 0 + 4, undefined); 3410 A.store.Ref(ptr + 32 + 204 + 0 + 8, undefined); 3411 A.store.Ref(ptr + 32 + 204 + 0 + 12, undefined); 3412 A.store.Ref(ptr + 32 + 204 + 0 + 16, undefined); 3413 A.store.Ref(ptr + 32 + 204 + 0 + 20, undefined); 3414 A.store.Bool(ptr + 32 + 204 + 0 + 26, false); 3415 A.store.Bool(ptr + 32 + 204 + 0 + 24, false); 3416 A.store.Bool(ptr + 32 + 204 + 0 + 27, false); 3417 A.store.Bool(ptr + 32 + 204 + 0 + 25, false); 3418 3419 A.store.Bool(ptr + 32 + 204 + 32 + 33, false); 3420 A.store.Bool(ptr + 32 + 204 + 32 + 26, false); 3421 A.store.Int32(ptr + 32 + 204 + 32 + 0, 0); 3422 A.store.Ref(ptr + 32 + 204 + 32 + 4, undefined); 3423 A.store.Bool(ptr + 32 + 204 + 32 + 27, false); 3424 A.store.Int32(ptr + 32 + 204 + 32 + 8, 0); 3425 A.store.Bool(ptr + 32 + 204 + 32 + 28, false); 3426 A.store.Int32(ptr + 32 + 204 + 32 + 12, 0); 3427 A.store.Bool(ptr + 32 + 204 + 32 + 29, false); 3428 A.store.Int32(ptr + 32 + 204 + 32 + 16, 0); 3429 A.store.Bool(ptr + 32 + 204 + 32 + 30, false); 3430 A.store.Int32(ptr + 32 + 204 + 32 + 20, 0); 3431 A.store.Bool(ptr + 32 + 204 + 32 + 31, false); 3432 A.store.Bool(ptr + 32 + 204 + 32 + 24, false); 3433 A.store.Bool(ptr + 32 + 204 + 32 + 32, false); 3434 A.store.Bool(ptr + 32 + 204 + 32 + 25, false); 3435 } else { 3436 A.store.Bool(ptr + 32 + 271, true); 3437 3438 if (typeof x["Manual"]["HTTPProxy"] === "undefined") { 3439 A.store.Bool(ptr + 32 + 0 + 66, false); 3440 3441 A.store.Bool(ptr + 32 + 0 + 0 + 28, false); 3442 A.store.Ref(ptr + 32 + 0 + 0 + 0, undefined); 3443 A.store.Ref(ptr + 32 + 0 + 0 + 4, undefined); 3444 A.store.Ref(ptr + 32 + 0 + 0 + 8, undefined); 3445 A.store.Ref(ptr + 32 + 0 + 0 + 12, undefined); 3446 A.store.Ref(ptr + 32 + 0 + 0 + 16, undefined); 3447 A.store.Ref(ptr + 32 + 0 + 0 + 20, undefined); 3448 A.store.Bool(ptr + 32 + 0 + 0 + 26, false); 3449 A.store.Bool(ptr + 32 + 0 + 0 + 24, false); 3450 A.store.Bool(ptr + 32 + 0 + 0 + 27, false); 3451 A.store.Bool(ptr + 32 + 0 + 0 + 25, false); 3452 3453 A.store.Bool(ptr + 32 + 0 + 32 + 33, false); 3454 A.store.Bool(ptr + 32 + 0 + 32 + 26, false); 3455 A.store.Int32(ptr + 32 + 0 + 32 + 0, 0); 3456 A.store.Ref(ptr + 32 + 0 + 32 + 4, undefined); 3457 A.store.Bool(ptr + 32 + 0 + 32 + 27, false); 3458 A.store.Int32(ptr + 32 + 0 + 32 + 8, 0); 3459 A.store.Bool(ptr + 32 + 0 + 32 + 28, false); 3460 A.store.Int32(ptr + 32 + 0 + 32 + 12, 0); 3461 A.store.Bool(ptr + 32 + 0 + 32 + 29, false); 3462 A.store.Int32(ptr + 32 + 0 + 32 + 16, 0); 3463 A.store.Bool(ptr + 32 + 0 + 32 + 30, false); 3464 A.store.Int32(ptr + 32 + 0 + 32 + 20, 0); 3465 A.store.Bool(ptr + 32 + 0 + 32 + 31, false); 3466 A.store.Bool(ptr + 32 + 0 + 32 + 24, false); 3467 A.store.Bool(ptr + 32 + 0 + 32 + 32, false); 3468 A.store.Bool(ptr + 32 + 0 + 32 + 25, false); 3469 } else { 3470 A.store.Bool(ptr + 32 + 0 + 66, true); 3471 3472 if (typeof x["Manual"]["HTTPProxy"]["Host"] === "undefined") { 3473 A.store.Bool(ptr + 32 + 0 + 0 + 28, false); 3474 A.store.Ref(ptr + 32 + 0 + 0 + 0, undefined); 3475 A.store.Ref(ptr + 32 + 0 + 0 + 4, undefined); 3476 A.store.Ref(ptr + 32 + 0 + 0 + 8, undefined); 3477 A.store.Ref(ptr + 32 + 0 + 0 + 12, undefined); 3478 A.store.Ref(ptr + 32 + 0 + 0 + 16, undefined); 3479 A.store.Ref(ptr + 32 + 0 + 0 + 20, undefined); 3480 A.store.Bool(ptr + 32 + 0 + 0 + 26, false); 3481 A.store.Bool(ptr + 32 + 0 + 0 + 24, false); 3482 A.store.Bool(ptr + 32 + 0 + 0 + 27, false); 3483 A.store.Bool(ptr + 32 + 0 + 0 + 25, false); 3484 } else { 3485 A.store.Bool(ptr + 32 + 0 + 0 + 28, true); 3486 A.store.Ref(ptr + 32 + 0 + 0 + 0, x["Manual"]["HTTPProxy"]["Host"]["Active"]); 3487 A.store.Ref(ptr + 32 + 0 + 0 + 4, x["Manual"]["HTTPProxy"]["Host"]["Effective"]); 3488 A.store.Ref(ptr + 32 + 0 + 0 + 8, x["Manual"]["HTTPProxy"]["Host"]["UserPolicy"]); 3489 A.store.Ref(ptr + 32 + 0 + 0 + 12, x["Manual"]["HTTPProxy"]["Host"]["DevicePolicy"]); 3490 A.store.Ref(ptr + 32 + 0 + 0 + 16, x["Manual"]["HTTPProxy"]["Host"]["UserSetting"]); 3491 A.store.Ref(ptr + 32 + 0 + 0 + 20, x["Manual"]["HTTPProxy"]["Host"]["SharedSetting"]); 3492 A.store.Bool(ptr + 32 + 0 + 0 + 26, "UserEditable" in x["Manual"]["HTTPProxy"]["Host"] ? true : false); 3493 A.store.Bool(ptr + 32 + 0 + 0 + 24, x["Manual"]["HTTPProxy"]["Host"]["UserEditable"] ? true : false); 3494 A.store.Bool(ptr + 32 + 0 + 0 + 27, "DeviceEditable" in x["Manual"]["HTTPProxy"]["Host"] ? true : false); 3495 A.store.Bool(ptr + 32 + 0 + 0 + 25, x["Manual"]["HTTPProxy"]["Host"]["DeviceEditable"] ? true : false); 3496 } 3497 3498 if (typeof x["Manual"]["HTTPProxy"]["Port"] === "undefined") { 3499 A.store.Bool(ptr + 32 + 0 + 32 + 33, false); 3500 A.store.Bool(ptr + 32 + 0 + 32 + 26, false); 3501 A.store.Int32(ptr + 32 + 0 + 32 + 0, 0); 3502 A.store.Ref(ptr + 32 + 0 + 32 + 4, undefined); 3503 A.store.Bool(ptr + 32 + 0 + 32 + 27, false); 3504 A.store.Int32(ptr + 32 + 0 + 32 + 8, 0); 3505 A.store.Bool(ptr + 32 + 0 + 32 + 28, false); 3506 A.store.Int32(ptr + 32 + 0 + 32 + 12, 0); 3507 A.store.Bool(ptr + 32 + 0 + 32 + 29, false); 3508 A.store.Int32(ptr + 32 + 0 + 32 + 16, 0); 3509 A.store.Bool(ptr + 32 + 0 + 32 + 30, false); 3510 A.store.Int32(ptr + 32 + 0 + 32 + 20, 0); 3511 A.store.Bool(ptr + 32 + 0 + 32 + 31, false); 3512 A.store.Bool(ptr + 32 + 0 + 32 + 24, false); 3513 A.store.Bool(ptr + 32 + 0 + 32 + 32, false); 3514 A.store.Bool(ptr + 32 + 0 + 32 + 25, false); 3515 } else { 3516 A.store.Bool(ptr + 32 + 0 + 32 + 33, true); 3517 A.store.Bool(ptr + 32 + 0 + 32 + 26, "Active" in x["Manual"]["HTTPProxy"]["Port"] ? true : false); 3518 A.store.Int32( 3519 ptr + 32 + 0 + 32 + 0, 3520 x["Manual"]["HTTPProxy"]["Port"]["Active"] === undefined 3521 ? 0 3522 : (x["Manual"]["HTTPProxy"]["Port"]["Active"] as number) 3523 ); 3524 A.store.Ref(ptr + 32 + 0 + 32 + 4, x["Manual"]["HTTPProxy"]["Port"]["Effective"]); 3525 A.store.Bool(ptr + 32 + 0 + 32 + 27, "UserPolicy" in x["Manual"]["HTTPProxy"]["Port"] ? true : false); 3526 A.store.Int32( 3527 ptr + 32 + 0 + 32 + 8, 3528 x["Manual"]["HTTPProxy"]["Port"]["UserPolicy"] === undefined 3529 ? 0 3530 : (x["Manual"]["HTTPProxy"]["Port"]["UserPolicy"] as number) 3531 ); 3532 A.store.Bool(ptr + 32 + 0 + 32 + 28, "DevicePolicy" in x["Manual"]["HTTPProxy"]["Port"] ? true : false); 3533 A.store.Int32( 3534 ptr + 32 + 0 + 32 + 12, 3535 x["Manual"]["HTTPProxy"]["Port"]["DevicePolicy"] === undefined 3536 ? 0 3537 : (x["Manual"]["HTTPProxy"]["Port"]["DevicePolicy"] as number) 3538 ); 3539 A.store.Bool(ptr + 32 + 0 + 32 + 29, "UserSetting" in x["Manual"]["HTTPProxy"]["Port"] ? true : false); 3540 A.store.Int32( 3541 ptr + 32 + 0 + 32 + 16, 3542 x["Manual"]["HTTPProxy"]["Port"]["UserSetting"] === undefined 3543 ? 0 3544 : (x["Manual"]["HTTPProxy"]["Port"]["UserSetting"] as number) 3545 ); 3546 A.store.Bool(ptr + 32 + 0 + 32 + 30, "SharedSetting" in x["Manual"]["HTTPProxy"]["Port"] ? true : false); 3547 A.store.Int32( 3548 ptr + 32 + 0 + 32 + 20, 3549 x["Manual"]["HTTPProxy"]["Port"]["SharedSetting"] === undefined 3550 ? 0 3551 : (x["Manual"]["HTTPProxy"]["Port"]["SharedSetting"] as number) 3552 ); 3553 A.store.Bool(ptr + 32 + 0 + 32 + 31, "UserEditable" in x["Manual"]["HTTPProxy"]["Port"] ? true : false); 3554 A.store.Bool(ptr + 32 + 0 + 32 + 24, x["Manual"]["HTTPProxy"]["Port"]["UserEditable"] ? true : false); 3555 A.store.Bool(ptr + 32 + 0 + 32 + 32, "DeviceEditable" in x["Manual"]["HTTPProxy"]["Port"] ? true : false); 3556 A.store.Bool(ptr + 32 + 0 + 32 + 25, x["Manual"]["HTTPProxy"]["Port"]["DeviceEditable"] ? true : false); 3557 } 3558 } 3559 3560 if (typeof x["Manual"]["SecureHTTPProxy"] === "undefined") { 3561 A.store.Bool(ptr + 32 + 68 + 66, false); 3562 3563 A.store.Bool(ptr + 32 + 68 + 0 + 28, false); 3564 A.store.Ref(ptr + 32 + 68 + 0 + 0, undefined); 3565 A.store.Ref(ptr + 32 + 68 + 0 + 4, undefined); 3566 A.store.Ref(ptr + 32 + 68 + 0 + 8, undefined); 3567 A.store.Ref(ptr + 32 + 68 + 0 + 12, undefined); 3568 A.store.Ref(ptr + 32 + 68 + 0 + 16, undefined); 3569 A.store.Ref(ptr + 32 + 68 + 0 + 20, undefined); 3570 A.store.Bool(ptr + 32 + 68 + 0 + 26, false); 3571 A.store.Bool(ptr + 32 + 68 + 0 + 24, false); 3572 A.store.Bool(ptr + 32 + 68 + 0 + 27, false); 3573 A.store.Bool(ptr + 32 + 68 + 0 + 25, false); 3574 3575 A.store.Bool(ptr + 32 + 68 + 32 + 33, false); 3576 A.store.Bool(ptr + 32 + 68 + 32 + 26, false); 3577 A.store.Int32(ptr + 32 + 68 + 32 + 0, 0); 3578 A.store.Ref(ptr + 32 + 68 + 32 + 4, undefined); 3579 A.store.Bool(ptr + 32 + 68 + 32 + 27, false); 3580 A.store.Int32(ptr + 32 + 68 + 32 + 8, 0); 3581 A.store.Bool(ptr + 32 + 68 + 32 + 28, false); 3582 A.store.Int32(ptr + 32 + 68 + 32 + 12, 0); 3583 A.store.Bool(ptr + 32 + 68 + 32 + 29, false); 3584 A.store.Int32(ptr + 32 + 68 + 32 + 16, 0); 3585 A.store.Bool(ptr + 32 + 68 + 32 + 30, false); 3586 A.store.Int32(ptr + 32 + 68 + 32 + 20, 0); 3587 A.store.Bool(ptr + 32 + 68 + 32 + 31, false); 3588 A.store.Bool(ptr + 32 + 68 + 32 + 24, false); 3589 A.store.Bool(ptr + 32 + 68 + 32 + 32, false); 3590 A.store.Bool(ptr + 32 + 68 + 32 + 25, false); 3591 } else { 3592 A.store.Bool(ptr + 32 + 68 + 66, true); 3593 3594 if (typeof x["Manual"]["SecureHTTPProxy"]["Host"] === "undefined") { 3595 A.store.Bool(ptr + 32 + 68 + 0 + 28, false); 3596 A.store.Ref(ptr + 32 + 68 + 0 + 0, undefined); 3597 A.store.Ref(ptr + 32 + 68 + 0 + 4, undefined); 3598 A.store.Ref(ptr + 32 + 68 + 0 + 8, undefined); 3599 A.store.Ref(ptr + 32 + 68 + 0 + 12, undefined); 3600 A.store.Ref(ptr + 32 + 68 + 0 + 16, undefined); 3601 A.store.Ref(ptr + 32 + 68 + 0 + 20, undefined); 3602 A.store.Bool(ptr + 32 + 68 + 0 + 26, false); 3603 A.store.Bool(ptr + 32 + 68 + 0 + 24, false); 3604 A.store.Bool(ptr + 32 + 68 + 0 + 27, false); 3605 A.store.Bool(ptr + 32 + 68 + 0 + 25, false); 3606 } else { 3607 A.store.Bool(ptr + 32 + 68 + 0 + 28, true); 3608 A.store.Ref(ptr + 32 + 68 + 0 + 0, x["Manual"]["SecureHTTPProxy"]["Host"]["Active"]); 3609 A.store.Ref(ptr + 32 + 68 + 0 + 4, x["Manual"]["SecureHTTPProxy"]["Host"]["Effective"]); 3610 A.store.Ref(ptr + 32 + 68 + 0 + 8, x["Manual"]["SecureHTTPProxy"]["Host"]["UserPolicy"]); 3611 A.store.Ref(ptr + 32 + 68 + 0 + 12, x["Manual"]["SecureHTTPProxy"]["Host"]["DevicePolicy"]); 3612 A.store.Ref(ptr + 32 + 68 + 0 + 16, x["Manual"]["SecureHTTPProxy"]["Host"]["UserSetting"]); 3613 A.store.Ref(ptr + 32 + 68 + 0 + 20, x["Manual"]["SecureHTTPProxy"]["Host"]["SharedSetting"]); 3614 A.store.Bool( 3615 ptr + 32 + 68 + 0 + 26, 3616 "UserEditable" in x["Manual"]["SecureHTTPProxy"]["Host"] ? true : false 3617 ); 3618 A.store.Bool( 3619 ptr + 32 + 68 + 0 + 24, 3620 x["Manual"]["SecureHTTPProxy"]["Host"]["UserEditable"] ? true : false 3621 ); 3622 A.store.Bool( 3623 ptr + 32 + 68 + 0 + 27, 3624 "DeviceEditable" in x["Manual"]["SecureHTTPProxy"]["Host"] ? true : false 3625 ); 3626 A.store.Bool( 3627 ptr + 32 + 68 + 0 + 25, 3628 x["Manual"]["SecureHTTPProxy"]["Host"]["DeviceEditable"] ? true : false 3629 ); 3630 } 3631 3632 if (typeof x["Manual"]["SecureHTTPProxy"]["Port"] === "undefined") { 3633 A.store.Bool(ptr + 32 + 68 + 32 + 33, false); 3634 A.store.Bool(ptr + 32 + 68 + 32 + 26, false); 3635 A.store.Int32(ptr + 32 + 68 + 32 + 0, 0); 3636 A.store.Ref(ptr + 32 + 68 + 32 + 4, undefined); 3637 A.store.Bool(ptr + 32 + 68 + 32 + 27, false); 3638 A.store.Int32(ptr + 32 + 68 + 32 + 8, 0); 3639 A.store.Bool(ptr + 32 + 68 + 32 + 28, false); 3640 A.store.Int32(ptr + 32 + 68 + 32 + 12, 0); 3641 A.store.Bool(ptr + 32 + 68 + 32 + 29, false); 3642 A.store.Int32(ptr + 32 + 68 + 32 + 16, 0); 3643 A.store.Bool(ptr + 32 + 68 + 32 + 30, false); 3644 A.store.Int32(ptr + 32 + 68 + 32 + 20, 0); 3645 A.store.Bool(ptr + 32 + 68 + 32 + 31, false); 3646 A.store.Bool(ptr + 32 + 68 + 32 + 24, false); 3647 A.store.Bool(ptr + 32 + 68 + 32 + 32, false); 3648 A.store.Bool(ptr + 32 + 68 + 32 + 25, false); 3649 } else { 3650 A.store.Bool(ptr + 32 + 68 + 32 + 33, true); 3651 A.store.Bool(ptr + 32 + 68 + 32 + 26, "Active" in x["Manual"]["SecureHTTPProxy"]["Port"] ? true : false); 3652 A.store.Int32( 3653 ptr + 32 + 68 + 32 + 0, 3654 x["Manual"]["SecureHTTPProxy"]["Port"]["Active"] === undefined 3655 ? 0 3656 : (x["Manual"]["SecureHTTPProxy"]["Port"]["Active"] as number) 3657 ); 3658 A.store.Ref(ptr + 32 + 68 + 32 + 4, x["Manual"]["SecureHTTPProxy"]["Port"]["Effective"]); 3659 A.store.Bool( 3660 ptr + 32 + 68 + 32 + 27, 3661 "UserPolicy" in x["Manual"]["SecureHTTPProxy"]["Port"] ? true : false 3662 ); 3663 A.store.Int32( 3664 ptr + 32 + 68 + 32 + 8, 3665 x["Manual"]["SecureHTTPProxy"]["Port"]["UserPolicy"] === undefined 3666 ? 0 3667 : (x["Manual"]["SecureHTTPProxy"]["Port"]["UserPolicy"] as number) 3668 ); 3669 A.store.Bool( 3670 ptr + 32 + 68 + 32 + 28, 3671 "DevicePolicy" in x["Manual"]["SecureHTTPProxy"]["Port"] ? true : false 3672 ); 3673 A.store.Int32( 3674 ptr + 32 + 68 + 32 + 12, 3675 x["Manual"]["SecureHTTPProxy"]["Port"]["DevicePolicy"] === undefined 3676 ? 0 3677 : (x["Manual"]["SecureHTTPProxy"]["Port"]["DevicePolicy"] as number) 3678 ); 3679 A.store.Bool( 3680 ptr + 32 + 68 + 32 + 29, 3681 "UserSetting" in x["Manual"]["SecureHTTPProxy"]["Port"] ? true : false 3682 ); 3683 A.store.Int32( 3684 ptr + 32 + 68 + 32 + 16, 3685 x["Manual"]["SecureHTTPProxy"]["Port"]["UserSetting"] === undefined 3686 ? 0 3687 : (x["Manual"]["SecureHTTPProxy"]["Port"]["UserSetting"] as number) 3688 ); 3689 A.store.Bool( 3690 ptr + 32 + 68 + 32 + 30, 3691 "SharedSetting" in x["Manual"]["SecureHTTPProxy"]["Port"] ? true : false 3692 ); 3693 A.store.Int32( 3694 ptr + 32 + 68 + 32 + 20, 3695 x["Manual"]["SecureHTTPProxy"]["Port"]["SharedSetting"] === undefined 3696 ? 0 3697 : (x["Manual"]["SecureHTTPProxy"]["Port"]["SharedSetting"] as number) 3698 ); 3699 A.store.Bool( 3700 ptr + 32 + 68 + 32 + 31, 3701 "UserEditable" in x["Manual"]["SecureHTTPProxy"]["Port"] ? true : false 3702 ); 3703 A.store.Bool( 3704 ptr + 32 + 68 + 32 + 24, 3705 x["Manual"]["SecureHTTPProxy"]["Port"]["UserEditable"] ? true : false 3706 ); 3707 A.store.Bool( 3708 ptr + 32 + 68 + 32 + 32, 3709 "DeviceEditable" in x["Manual"]["SecureHTTPProxy"]["Port"] ? true : false 3710 ); 3711 A.store.Bool( 3712 ptr + 32 + 68 + 32 + 25, 3713 x["Manual"]["SecureHTTPProxy"]["Port"]["DeviceEditable"] ? true : false 3714 ); 3715 } 3716 } 3717 3718 if (typeof x["Manual"]["FTPProxy"] === "undefined") { 3719 A.store.Bool(ptr + 32 + 136 + 66, false); 3720 3721 A.store.Bool(ptr + 32 + 136 + 0 + 28, false); 3722 A.store.Ref(ptr + 32 + 136 + 0 + 0, undefined); 3723 A.store.Ref(ptr + 32 + 136 + 0 + 4, undefined); 3724 A.store.Ref(ptr + 32 + 136 + 0 + 8, undefined); 3725 A.store.Ref(ptr + 32 + 136 + 0 + 12, undefined); 3726 A.store.Ref(ptr + 32 + 136 + 0 + 16, undefined); 3727 A.store.Ref(ptr + 32 + 136 + 0 + 20, undefined); 3728 A.store.Bool(ptr + 32 + 136 + 0 + 26, false); 3729 A.store.Bool(ptr + 32 + 136 + 0 + 24, false); 3730 A.store.Bool(ptr + 32 + 136 + 0 + 27, false); 3731 A.store.Bool(ptr + 32 + 136 + 0 + 25, false); 3732 3733 A.store.Bool(ptr + 32 + 136 + 32 + 33, false); 3734 A.store.Bool(ptr + 32 + 136 + 32 + 26, false); 3735 A.store.Int32(ptr + 32 + 136 + 32 + 0, 0); 3736 A.store.Ref(ptr + 32 + 136 + 32 + 4, undefined); 3737 A.store.Bool(ptr + 32 + 136 + 32 + 27, false); 3738 A.store.Int32(ptr + 32 + 136 + 32 + 8, 0); 3739 A.store.Bool(ptr + 32 + 136 + 32 + 28, false); 3740 A.store.Int32(ptr + 32 + 136 + 32 + 12, 0); 3741 A.store.Bool(ptr + 32 + 136 + 32 + 29, false); 3742 A.store.Int32(ptr + 32 + 136 + 32 + 16, 0); 3743 A.store.Bool(ptr + 32 + 136 + 32 + 30, false); 3744 A.store.Int32(ptr + 32 + 136 + 32 + 20, 0); 3745 A.store.Bool(ptr + 32 + 136 + 32 + 31, false); 3746 A.store.Bool(ptr + 32 + 136 + 32 + 24, false); 3747 A.store.Bool(ptr + 32 + 136 + 32 + 32, false); 3748 A.store.Bool(ptr + 32 + 136 + 32 + 25, false); 3749 } else { 3750 A.store.Bool(ptr + 32 + 136 + 66, true); 3751 3752 if (typeof x["Manual"]["FTPProxy"]["Host"] === "undefined") { 3753 A.store.Bool(ptr + 32 + 136 + 0 + 28, false); 3754 A.store.Ref(ptr + 32 + 136 + 0 + 0, undefined); 3755 A.store.Ref(ptr + 32 + 136 + 0 + 4, undefined); 3756 A.store.Ref(ptr + 32 + 136 + 0 + 8, undefined); 3757 A.store.Ref(ptr + 32 + 136 + 0 + 12, undefined); 3758 A.store.Ref(ptr + 32 + 136 + 0 + 16, undefined); 3759 A.store.Ref(ptr + 32 + 136 + 0 + 20, undefined); 3760 A.store.Bool(ptr + 32 + 136 + 0 + 26, false); 3761 A.store.Bool(ptr + 32 + 136 + 0 + 24, false); 3762 A.store.Bool(ptr + 32 + 136 + 0 + 27, false); 3763 A.store.Bool(ptr + 32 + 136 + 0 + 25, false); 3764 } else { 3765 A.store.Bool(ptr + 32 + 136 + 0 + 28, true); 3766 A.store.Ref(ptr + 32 + 136 + 0 + 0, x["Manual"]["FTPProxy"]["Host"]["Active"]); 3767 A.store.Ref(ptr + 32 + 136 + 0 + 4, x["Manual"]["FTPProxy"]["Host"]["Effective"]); 3768 A.store.Ref(ptr + 32 + 136 + 0 + 8, x["Manual"]["FTPProxy"]["Host"]["UserPolicy"]); 3769 A.store.Ref(ptr + 32 + 136 + 0 + 12, x["Manual"]["FTPProxy"]["Host"]["DevicePolicy"]); 3770 A.store.Ref(ptr + 32 + 136 + 0 + 16, x["Manual"]["FTPProxy"]["Host"]["UserSetting"]); 3771 A.store.Ref(ptr + 32 + 136 + 0 + 20, x["Manual"]["FTPProxy"]["Host"]["SharedSetting"]); 3772 A.store.Bool(ptr + 32 + 136 + 0 + 26, "UserEditable" in x["Manual"]["FTPProxy"]["Host"] ? true : false); 3773 A.store.Bool(ptr + 32 + 136 + 0 + 24, x["Manual"]["FTPProxy"]["Host"]["UserEditable"] ? true : false); 3774 A.store.Bool(ptr + 32 + 136 + 0 + 27, "DeviceEditable" in x["Manual"]["FTPProxy"]["Host"] ? true : false); 3775 A.store.Bool(ptr + 32 + 136 + 0 + 25, x["Manual"]["FTPProxy"]["Host"]["DeviceEditable"] ? true : false); 3776 } 3777 3778 if (typeof x["Manual"]["FTPProxy"]["Port"] === "undefined") { 3779 A.store.Bool(ptr + 32 + 136 + 32 + 33, false); 3780 A.store.Bool(ptr + 32 + 136 + 32 + 26, false); 3781 A.store.Int32(ptr + 32 + 136 + 32 + 0, 0); 3782 A.store.Ref(ptr + 32 + 136 + 32 + 4, undefined); 3783 A.store.Bool(ptr + 32 + 136 + 32 + 27, false); 3784 A.store.Int32(ptr + 32 + 136 + 32 + 8, 0); 3785 A.store.Bool(ptr + 32 + 136 + 32 + 28, false); 3786 A.store.Int32(ptr + 32 + 136 + 32 + 12, 0); 3787 A.store.Bool(ptr + 32 + 136 + 32 + 29, false); 3788 A.store.Int32(ptr + 32 + 136 + 32 + 16, 0); 3789 A.store.Bool(ptr + 32 + 136 + 32 + 30, false); 3790 A.store.Int32(ptr + 32 + 136 + 32 + 20, 0); 3791 A.store.Bool(ptr + 32 + 136 + 32 + 31, false); 3792 A.store.Bool(ptr + 32 + 136 + 32 + 24, false); 3793 A.store.Bool(ptr + 32 + 136 + 32 + 32, false); 3794 A.store.Bool(ptr + 32 + 136 + 32 + 25, false); 3795 } else { 3796 A.store.Bool(ptr + 32 + 136 + 32 + 33, true); 3797 A.store.Bool(ptr + 32 + 136 + 32 + 26, "Active" in x["Manual"]["FTPProxy"]["Port"] ? true : false); 3798 A.store.Int32( 3799 ptr + 32 + 136 + 32 + 0, 3800 x["Manual"]["FTPProxy"]["Port"]["Active"] === undefined 3801 ? 0 3802 : (x["Manual"]["FTPProxy"]["Port"]["Active"] as number) 3803 ); 3804 A.store.Ref(ptr + 32 + 136 + 32 + 4, x["Manual"]["FTPProxy"]["Port"]["Effective"]); 3805 A.store.Bool(ptr + 32 + 136 + 32 + 27, "UserPolicy" in x["Manual"]["FTPProxy"]["Port"] ? true : false); 3806 A.store.Int32( 3807 ptr + 32 + 136 + 32 + 8, 3808 x["Manual"]["FTPProxy"]["Port"]["UserPolicy"] === undefined 3809 ? 0 3810 : (x["Manual"]["FTPProxy"]["Port"]["UserPolicy"] as number) 3811 ); 3812 A.store.Bool(ptr + 32 + 136 + 32 + 28, "DevicePolicy" in x["Manual"]["FTPProxy"]["Port"] ? true : false); 3813 A.store.Int32( 3814 ptr + 32 + 136 + 32 + 12, 3815 x["Manual"]["FTPProxy"]["Port"]["DevicePolicy"] === undefined 3816 ? 0 3817 : (x["Manual"]["FTPProxy"]["Port"]["DevicePolicy"] as number) 3818 ); 3819 A.store.Bool(ptr + 32 + 136 + 32 + 29, "UserSetting" in x["Manual"]["FTPProxy"]["Port"] ? true : false); 3820 A.store.Int32( 3821 ptr + 32 + 136 + 32 + 16, 3822 x["Manual"]["FTPProxy"]["Port"]["UserSetting"] === undefined 3823 ? 0 3824 : (x["Manual"]["FTPProxy"]["Port"]["UserSetting"] as number) 3825 ); 3826 A.store.Bool(ptr + 32 + 136 + 32 + 30, "SharedSetting" in x["Manual"]["FTPProxy"]["Port"] ? true : false); 3827 A.store.Int32( 3828 ptr + 32 + 136 + 32 + 20, 3829 x["Manual"]["FTPProxy"]["Port"]["SharedSetting"] === undefined 3830 ? 0 3831 : (x["Manual"]["FTPProxy"]["Port"]["SharedSetting"] as number) 3832 ); 3833 A.store.Bool(ptr + 32 + 136 + 32 + 31, "UserEditable" in x["Manual"]["FTPProxy"]["Port"] ? true : false); 3834 A.store.Bool(ptr + 32 + 136 + 32 + 24, x["Manual"]["FTPProxy"]["Port"]["UserEditable"] ? true : false); 3835 A.store.Bool( 3836 ptr + 32 + 136 + 32 + 32, 3837 "DeviceEditable" in x["Manual"]["FTPProxy"]["Port"] ? true : false 3838 ); 3839 A.store.Bool(ptr + 32 + 136 + 32 + 25, x["Manual"]["FTPProxy"]["Port"]["DeviceEditable"] ? true : false); 3840 } 3841 } 3842 3843 if (typeof x["Manual"]["SOCKS"] === "undefined") { 3844 A.store.Bool(ptr + 32 + 204 + 66, false); 3845 3846 A.store.Bool(ptr + 32 + 204 + 0 + 28, false); 3847 A.store.Ref(ptr + 32 + 204 + 0 + 0, undefined); 3848 A.store.Ref(ptr + 32 + 204 + 0 + 4, undefined); 3849 A.store.Ref(ptr + 32 + 204 + 0 + 8, undefined); 3850 A.store.Ref(ptr + 32 + 204 + 0 + 12, undefined); 3851 A.store.Ref(ptr + 32 + 204 + 0 + 16, undefined); 3852 A.store.Ref(ptr + 32 + 204 + 0 + 20, undefined); 3853 A.store.Bool(ptr + 32 + 204 + 0 + 26, false); 3854 A.store.Bool(ptr + 32 + 204 + 0 + 24, false); 3855 A.store.Bool(ptr + 32 + 204 + 0 + 27, false); 3856 A.store.Bool(ptr + 32 + 204 + 0 + 25, false); 3857 3858 A.store.Bool(ptr + 32 + 204 + 32 + 33, false); 3859 A.store.Bool(ptr + 32 + 204 + 32 + 26, false); 3860 A.store.Int32(ptr + 32 + 204 + 32 + 0, 0); 3861 A.store.Ref(ptr + 32 + 204 + 32 + 4, undefined); 3862 A.store.Bool(ptr + 32 + 204 + 32 + 27, false); 3863 A.store.Int32(ptr + 32 + 204 + 32 + 8, 0); 3864 A.store.Bool(ptr + 32 + 204 + 32 + 28, false); 3865 A.store.Int32(ptr + 32 + 204 + 32 + 12, 0); 3866 A.store.Bool(ptr + 32 + 204 + 32 + 29, false); 3867 A.store.Int32(ptr + 32 + 204 + 32 + 16, 0); 3868 A.store.Bool(ptr + 32 + 204 + 32 + 30, false); 3869 A.store.Int32(ptr + 32 + 204 + 32 + 20, 0); 3870 A.store.Bool(ptr + 32 + 204 + 32 + 31, false); 3871 A.store.Bool(ptr + 32 + 204 + 32 + 24, false); 3872 A.store.Bool(ptr + 32 + 204 + 32 + 32, false); 3873 A.store.Bool(ptr + 32 + 204 + 32 + 25, false); 3874 } else { 3875 A.store.Bool(ptr + 32 + 204 + 66, true); 3876 3877 if (typeof x["Manual"]["SOCKS"]["Host"] === "undefined") { 3878 A.store.Bool(ptr + 32 + 204 + 0 + 28, false); 3879 A.store.Ref(ptr + 32 + 204 + 0 + 0, undefined); 3880 A.store.Ref(ptr + 32 + 204 + 0 + 4, undefined); 3881 A.store.Ref(ptr + 32 + 204 + 0 + 8, undefined); 3882 A.store.Ref(ptr + 32 + 204 + 0 + 12, undefined); 3883 A.store.Ref(ptr + 32 + 204 + 0 + 16, undefined); 3884 A.store.Ref(ptr + 32 + 204 + 0 + 20, undefined); 3885 A.store.Bool(ptr + 32 + 204 + 0 + 26, false); 3886 A.store.Bool(ptr + 32 + 204 + 0 + 24, false); 3887 A.store.Bool(ptr + 32 + 204 + 0 + 27, false); 3888 A.store.Bool(ptr + 32 + 204 + 0 + 25, false); 3889 } else { 3890 A.store.Bool(ptr + 32 + 204 + 0 + 28, true); 3891 A.store.Ref(ptr + 32 + 204 + 0 + 0, x["Manual"]["SOCKS"]["Host"]["Active"]); 3892 A.store.Ref(ptr + 32 + 204 + 0 + 4, x["Manual"]["SOCKS"]["Host"]["Effective"]); 3893 A.store.Ref(ptr + 32 + 204 + 0 + 8, x["Manual"]["SOCKS"]["Host"]["UserPolicy"]); 3894 A.store.Ref(ptr + 32 + 204 + 0 + 12, x["Manual"]["SOCKS"]["Host"]["DevicePolicy"]); 3895 A.store.Ref(ptr + 32 + 204 + 0 + 16, x["Manual"]["SOCKS"]["Host"]["UserSetting"]); 3896 A.store.Ref(ptr + 32 + 204 + 0 + 20, x["Manual"]["SOCKS"]["Host"]["SharedSetting"]); 3897 A.store.Bool(ptr + 32 + 204 + 0 + 26, "UserEditable" in x["Manual"]["SOCKS"]["Host"] ? true : false); 3898 A.store.Bool(ptr + 32 + 204 + 0 + 24, x["Manual"]["SOCKS"]["Host"]["UserEditable"] ? true : false); 3899 A.store.Bool(ptr + 32 + 204 + 0 + 27, "DeviceEditable" in x["Manual"]["SOCKS"]["Host"] ? true : false); 3900 A.store.Bool(ptr + 32 + 204 + 0 + 25, x["Manual"]["SOCKS"]["Host"]["DeviceEditable"] ? true : false); 3901 } 3902 3903 if (typeof x["Manual"]["SOCKS"]["Port"] === "undefined") { 3904 A.store.Bool(ptr + 32 + 204 + 32 + 33, false); 3905 A.store.Bool(ptr + 32 + 204 + 32 + 26, false); 3906 A.store.Int32(ptr + 32 + 204 + 32 + 0, 0); 3907 A.store.Ref(ptr + 32 + 204 + 32 + 4, undefined); 3908 A.store.Bool(ptr + 32 + 204 + 32 + 27, false); 3909 A.store.Int32(ptr + 32 + 204 + 32 + 8, 0); 3910 A.store.Bool(ptr + 32 + 204 + 32 + 28, false); 3911 A.store.Int32(ptr + 32 + 204 + 32 + 12, 0); 3912 A.store.Bool(ptr + 32 + 204 + 32 + 29, false); 3913 A.store.Int32(ptr + 32 + 204 + 32 + 16, 0); 3914 A.store.Bool(ptr + 32 + 204 + 32 + 30, false); 3915 A.store.Int32(ptr + 32 + 204 + 32 + 20, 0); 3916 A.store.Bool(ptr + 32 + 204 + 32 + 31, false); 3917 A.store.Bool(ptr + 32 + 204 + 32 + 24, false); 3918 A.store.Bool(ptr + 32 + 204 + 32 + 32, false); 3919 A.store.Bool(ptr + 32 + 204 + 32 + 25, false); 3920 } else { 3921 A.store.Bool(ptr + 32 + 204 + 32 + 33, true); 3922 A.store.Bool(ptr + 32 + 204 + 32 + 26, "Active" in x["Manual"]["SOCKS"]["Port"] ? true : false); 3923 A.store.Int32( 3924 ptr + 32 + 204 + 32 + 0, 3925 x["Manual"]["SOCKS"]["Port"]["Active"] === undefined 3926 ? 0 3927 : (x["Manual"]["SOCKS"]["Port"]["Active"] as number) 3928 ); 3929 A.store.Ref(ptr + 32 + 204 + 32 + 4, x["Manual"]["SOCKS"]["Port"]["Effective"]); 3930 A.store.Bool(ptr + 32 + 204 + 32 + 27, "UserPolicy" in x["Manual"]["SOCKS"]["Port"] ? true : false); 3931 A.store.Int32( 3932 ptr + 32 + 204 + 32 + 8, 3933 x["Manual"]["SOCKS"]["Port"]["UserPolicy"] === undefined 3934 ? 0 3935 : (x["Manual"]["SOCKS"]["Port"]["UserPolicy"] as number) 3936 ); 3937 A.store.Bool(ptr + 32 + 204 + 32 + 28, "DevicePolicy" in x["Manual"]["SOCKS"]["Port"] ? true : false); 3938 A.store.Int32( 3939 ptr + 32 + 204 + 32 + 12, 3940 x["Manual"]["SOCKS"]["Port"]["DevicePolicy"] === undefined 3941 ? 0 3942 : (x["Manual"]["SOCKS"]["Port"]["DevicePolicy"] as number) 3943 ); 3944 A.store.Bool(ptr + 32 + 204 + 32 + 29, "UserSetting" in x["Manual"]["SOCKS"]["Port"] ? true : false); 3945 A.store.Int32( 3946 ptr + 32 + 204 + 32 + 16, 3947 x["Manual"]["SOCKS"]["Port"]["UserSetting"] === undefined 3948 ? 0 3949 : (x["Manual"]["SOCKS"]["Port"]["UserSetting"] as number) 3950 ); 3951 A.store.Bool(ptr + 32 + 204 + 32 + 30, "SharedSetting" in x["Manual"]["SOCKS"]["Port"] ? true : false); 3952 A.store.Int32( 3953 ptr + 32 + 204 + 32 + 20, 3954 x["Manual"]["SOCKS"]["Port"]["SharedSetting"] === undefined 3955 ? 0 3956 : (x["Manual"]["SOCKS"]["Port"]["SharedSetting"] as number) 3957 ); 3958 A.store.Bool(ptr + 32 + 204 + 32 + 31, "UserEditable" in x["Manual"]["SOCKS"]["Port"] ? true : false); 3959 A.store.Bool(ptr + 32 + 204 + 32 + 24, x["Manual"]["SOCKS"]["Port"]["UserEditable"] ? true : false); 3960 A.store.Bool(ptr + 32 + 204 + 32 + 32, "DeviceEditable" in x["Manual"]["SOCKS"]["Port"] ? true : false); 3961 A.store.Bool(ptr + 32 + 204 + 32 + 25, x["Manual"]["SOCKS"]["Port"]["DeviceEditable"] ? true : false); 3962 } 3963 } 3964 } 3965 3966 if (typeof x["ExcludeDomains"] === "undefined") { 3967 A.store.Bool(ptr + 304 + 28, false); 3968 A.store.Ref(ptr + 304 + 0, undefined); 3969 A.store.Ref(ptr + 304 + 4, undefined); 3970 A.store.Ref(ptr + 304 + 8, undefined); 3971 A.store.Ref(ptr + 304 + 12, undefined); 3972 A.store.Ref(ptr + 304 + 16, undefined); 3973 A.store.Ref(ptr + 304 + 20, undefined); 3974 A.store.Bool(ptr + 304 + 26, false); 3975 A.store.Bool(ptr + 304 + 24, false); 3976 A.store.Bool(ptr + 304 + 27, false); 3977 A.store.Bool(ptr + 304 + 25, false); 3978 } else { 3979 A.store.Bool(ptr + 304 + 28, true); 3980 A.store.Ref(ptr + 304 + 0, x["ExcludeDomains"]["Active"]); 3981 A.store.Ref(ptr + 304 + 4, x["ExcludeDomains"]["Effective"]); 3982 A.store.Ref(ptr + 304 + 8, x["ExcludeDomains"]["UserPolicy"]); 3983 A.store.Ref(ptr + 304 + 12, x["ExcludeDomains"]["DevicePolicy"]); 3984 A.store.Ref(ptr + 304 + 16, x["ExcludeDomains"]["UserSetting"]); 3985 A.store.Ref(ptr + 304 + 20, x["ExcludeDomains"]["SharedSetting"]); 3986 A.store.Bool(ptr + 304 + 26, "UserEditable" in x["ExcludeDomains"] ? true : false); 3987 A.store.Bool(ptr + 304 + 24, x["ExcludeDomains"]["UserEditable"] ? true : false); 3988 A.store.Bool(ptr + 304 + 27, "DeviceEditable" in x["ExcludeDomains"] ? true : false); 3989 A.store.Bool(ptr + 304 + 25, x["ExcludeDomains"]["DeviceEditable"] ? true : false); 3990 } 3991 3992 if (typeof x["PAC"] === "undefined") { 3993 A.store.Bool(ptr + 336 + 28, false); 3994 A.store.Ref(ptr + 336 + 0, undefined); 3995 A.store.Ref(ptr + 336 + 4, undefined); 3996 A.store.Ref(ptr + 336 + 8, undefined); 3997 A.store.Ref(ptr + 336 + 12, undefined); 3998 A.store.Ref(ptr + 336 + 16, undefined); 3999 A.store.Ref(ptr + 336 + 20, undefined); 4000 A.store.Bool(ptr + 336 + 26, false); 4001 A.store.Bool(ptr + 336 + 24, false); 4002 A.store.Bool(ptr + 336 + 27, false); 4003 A.store.Bool(ptr + 336 + 25, false); 4004 } else { 4005 A.store.Bool(ptr + 336 + 28, true); 4006 A.store.Ref(ptr + 336 + 0, x["PAC"]["Active"]); 4007 A.store.Ref(ptr + 336 + 4, x["PAC"]["Effective"]); 4008 A.store.Ref(ptr + 336 + 8, x["PAC"]["UserPolicy"]); 4009 A.store.Ref(ptr + 336 + 12, x["PAC"]["DevicePolicy"]); 4010 A.store.Ref(ptr + 336 + 16, x["PAC"]["UserSetting"]); 4011 A.store.Ref(ptr + 336 + 20, x["PAC"]["SharedSetting"]); 4012 A.store.Bool(ptr + 336 + 26, "UserEditable" in x["PAC"] ? true : false); 4013 A.store.Bool(ptr + 336 + 24, x["PAC"]["UserEditable"] ? true : false); 4014 A.store.Bool(ptr + 336 + 27, "DeviceEditable" in x["PAC"] ? true : false); 4015 A.store.Bool(ptr + 336 + 25, x["PAC"]["DeviceEditable"] ? true : false); 4016 } 4017 } 4018 }, 4019 "load_ManagedProxySettings": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 4020 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 4021 4022 if (A.load.Bool(ptr + 0 + 28)) { 4023 x["Type"] = {}; 4024 x["Type"]["Active"] = A.load.Enum(ptr + 0 + 0, ["Direct", "Manual", "PAC", "WPAD"]); 4025 x["Type"]["Effective"] = A.load.Ref(ptr + 0 + 4, undefined); 4026 x["Type"]["UserPolicy"] = A.load.Enum(ptr + 0 + 8, ["Direct", "Manual", "PAC", "WPAD"]); 4027 x["Type"]["DevicePolicy"] = A.load.Enum(ptr + 0 + 12, ["Direct", "Manual", "PAC", "WPAD"]); 4028 x["Type"]["UserSetting"] = A.load.Enum(ptr + 0 + 16, ["Direct", "Manual", "PAC", "WPAD"]); 4029 x["Type"]["SharedSetting"] = A.load.Enum(ptr + 0 + 20, ["Direct", "Manual", "PAC", "WPAD"]); 4030 if (A.load.Bool(ptr + 0 + 26)) { 4031 x["Type"]["UserEditable"] = A.load.Bool(ptr + 0 + 24); 4032 } else { 4033 delete x["Type"]["UserEditable"]; 4034 } 4035 if (A.load.Bool(ptr + 0 + 27)) { 4036 x["Type"]["DeviceEditable"] = A.load.Bool(ptr + 0 + 25); 4037 } else { 4038 delete x["Type"]["DeviceEditable"]; 4039 } 4040 } else { 4041 delete x["Type"]; 4042 } 4043 if (A.load.Bool(ptr + 32 + 271)) { 4044 x["Manual"] = {}; 4045 if (A.load.Bool(ptr + 32 + 0 + 66)) { 4046 x["Manual"]["HTTPProxy"] = {}; 4047 if (A.load.Bool(ptr + 32 + 0 + 0 + 28)) { 4048 x["Manual"]["HTTPProxy"]["Host"] = {}; 4049 x["Manual"]["HTTPProxy"]["Host"]["Active"] = A.load.Ref(ptr + 32 + 0 + 0 + 0, undefined); 4050 x["Manual"]["HTTPProxy"]["Host"]["Effective"] = A.load.Ref(ptr + 32 + 0 + 0 + 4, undefined); 4051 x["Manual"]["HTTPProxy"]["Host"]["UserPolicy"] = A.load.Ref(ptr + 32 + 0 + 0 + 8, undefined); 4052 x["Manual"]["HTTPProxy"]["Host"]["DevicePolicy"] = A.load.Ref(ptr + 32 + 0 + 0 + 12, undefined); 4053 x["Manual"]["HTTPProxy"]["Host"]["UserSetting"] = A.load.Ref(ptr + 32 + 0 + 0 + 16, undefined); 4054 x["Manual"]["HTTPProxy"]["Host"]["SharedSetting"] = A.load.Ref(ptr + 32 + 0 + 0 + 20, undefined); 4055 if (A.load.Bool(ptr + 32 + 0 + 0 + 26)) { 4056 x["Manual"]["HTTPProxy"]["Host"]["UserEditable"] = A.load.Bool(ptr + 32 + 0 + 0 + 24); 4057 } else { 4058 delete x["Manual"]["HTTPProxy"]["Host"]["UserEditable"]; 4059 } 4060 if (A.load.Bool(ptr + 32 + 0 + 0 + 27)) { 4061 x["Manual"]["HTTPProxy"]["Host"]["DeviceEditable"] = A.load.Bool(ptr + 32 + 0 + 0 + 25); 4062 } else { 4063 delete x["Manual"]["HTTPProxy"]["Host"]["DeviceEditable"]; 4064 } 4065 } else { 4066 delete x["Manual"]["HTTPProxy"]["Host"]; 4067 } 4068 if (A.load.Bool(ptr + 32 + 0 + 32 + 33)) { 4069 x["Manual"]["HTTPProxy"]["Port"] = {}; 4070 if (A.load.Bool(ptr + 32 + 0 + 32 + 26)) { 4071 x["Manual"]["HTTPProxy"]["Port"]["Active"] = A.load.Int32(ptr + 32 + 0 + 32 + 0); 4072 } else { 4073 delete x["Manual"]["HTTPProxy"]["Port"]["Active"]; 4074 } 4075 x["Manual"]["HTTPProxy"]["Port"]["Effective"] = A.load.Ref(ptr + 32 + 0 + 32 + 4, undefined); 4076 if (A.load.Bool(ptr + 32 + 0 + 32 + 27)) { 4077 x["Manual"]["HTTPProxy"]["Port"]["UserPolicy"] = A.load.Int32(ptr + 32 + 0 + 32 + 8); 4078 } else { 4079 delete x["Manual"]["HTTPProxy"]["Port"]["UserPolicy"]; 4080 } 4081 if (A.load.Bool(ptr + 32 + 0 + 32 + 28)) { 4082 x["Manual"]["HTTPProxy"]["Port"]["DevicePolicy"] = A.load.Int32(ptr + 32 + 0 + 32 + 12); 4083 } else { 4084 delete x["Manual"]["HTTPProxy"]["Port"]["DevicePolicy"]; 4085 } 4086 if (A.load.Bool(ptr + 32 + 0 + 32 + 29)) { 4087 x["Manual"]["HTTPProxy"]["Port"]["UserSetting"] = A.load.Int32(ptr + 32 + 0 + 32 + 16); 4088 } else { 4089 delete x["Manual"]["HTTPProxy"]["Port"]["UserSetting"]; 4090 } 4091 if (A.load.Bool(ptr + 32 + 0 + 32 + 30)) { 4092 x["Manual"]["HTTPProxy"]["Port"]["SharedSetting"] = A.load.Int32(ptr + 32 + 0 + 32 + 20); 4093 } else { 4094 delete x["Manual"]["HTTPProxy"]["Port"]["SharedSetting"]; 4095 } 4096 if (A.load.Bool(ptr + 32 + 0 + 32 + 31)) { 4097 x["Manual"]["HTTPProxy"]["Port"]["UserEditable"] = A.load.Bool(ptr + 32 + 0 + 32 + 24); 4098 } else { 4099 delete x["Manual"]["HTTPProxy"]["Port"]["UserEditable"]; 4100 } 4101 if (A.load.Bool(ptr + 32 + 0 + 32 + 32)) { 4102 x["Manual"]["HTTPProxy"]["Port"]["DeviceEditable"] = A.load.Bool(ptr + 32 + 0 + 32 + 25); 4103 } else { 4104 delete x["Manual"]["HTTPProxy"]["Port"]["DeviceEditable"]; 4105 } 4106 } else { 4107 delete x["Manual"]["HTTPProxy"]["Port"]; 4108 } 4109 } else { 4110 delete x["Manual"]["HTTPProxy"]; 4111 } 4112 if (A.load.Bool(ptr + 32 + 68 + 66)) { 4113 x["Manual"]["SecureHTTPProxy"] = {}; 4114 if (A.load.Bool(ptr + 32 + 68 + 0 + 28)) { 4115 x["Manual"]["SecureHTTPProxy"]["Host"] = {}; 4116 x["Manual"]["SecureHTTPProxy"]["Host"]["Active"] = A.load.Ref(ptr + 32 + 68 + 0 + 0, undefined); 4117 x["Manual"]["SecureHTTPProxy"]["Host"]["Effective"] = A.load.Ref(ptr + 32 + 68 + 0 + 4, undefined); 4118 x["Manual"]["SecureHTTPProxy"]["Host"]["UserPolicy"] = A.load.Ref(ptr + 32 + 68 + 0 + 8, undefined); 4119 x["Manual"]["SecureHTTPProxy"]["Host"]["DevicePolicy"] = A.load.Ref(ptr + 32 + 68 + 0 + 12, undefined); 4120 x["Manual"]["SecureHTTPProxy"]["Host"]["UserSetting"] = A.load.Ref(ptr + 32 + 68 + 0 + 16, undefined); 4121 x["Manual"]["SecureHTTPProxy"]["Host"]["SharedSetting"] = A.load.Ref(ptr + 32 + 68 + 0 + 20, undefined); 4122 if (A.load.Bool(ptr + 32 + 68 + 0 + 26)) { 4123 x["Manual"]["SecureHTTPProxy"]["Host"]["UserEditable"] = A.load.Bool(ptr + 32 + 68 + 0 + 24); 4124 } else { 4125 delete x["Manual"]["SecureHTTPProxy"]["Host"]["UserEditable"]; 4126 } 4127 if (A.load.Bool(ptr + 32 + 68 + 0 + 27)) { 4128 x["Manual"]["SecureHTTPProxy"]["Host"]["DeviceEditable"] = A.load.Bool(ptr + 32 + 68 + 0 + 25); 4129 } else { 4130 delete x["Manual"]["SecureHTTPProxy"]["Host"]["DeviceEditable"]; 4131 } 4132 } else { 4133 delete x["Manual"]["SecureHTTPProxy"]["Host"]; 4134 } 4135 if (A.load.Bool(ptr + 32 + 68 + 32 + 33)) { 4136 x["Manual"]["SecureHTTPProxy"]["Port"] = {}; 4137 if (A.load.Bool(ptr + 32 + 68 + 32 + 26)) { 4138 x["Manual"]["SecureHTTPProxy"]["Port"]["Active"] = A.load.Int32(ptr + 32 + 68 + 32 + 0); 4139 } else { 4140 delete x["Manual"]["SecureHTTPProxy"]["Port"]["Active"]; 4141 } 4142 x["Manual"]["SecureHTTPProxy"]["Port"]["Effective"] = A.load.Ref(ptr + 32 + 68 + 32 + 4, undefined); 4143 if (A.load.Bool(ptr + 32 + 68 + 32 + 27)) { 4144 x["Manual"]["SecureHTTPProxy"]["Port"]["UserPolicy"] = A.load.Int32(ptr + 32 + 68 + 32 + 8); 4145 } else { 4146 delete x["Manual"]["SecureHTTPProxy"]["Port"]["UserPolicy"]; 4147 } 4148 if (A.load.Bool(ptr + 32 + 68 + 32 + 28)) { 4149 x["Manual"]["SecureHTTPProxy"]["Port"]["DevicePolicy"] = A.load.Int32(ptr + 32 + 68 + 32 + 12); 4150 } else { 4151 delete x["Manual"]["SecureHTTPProxy"]["Port"]["DevicePolicy"]; 4152 } 4153 if (A.load.Bool(ptr + 32 + 68 + 32 + 29)) { 4154 x["Manual"]["SecureHTTPProxy"]["Port"]["UserSetting"] = A.load.Int32(ptr + 32 + 68 + 32 + 16); 4155 } else { 4156 delete x["Manual"]["SecureHTTPProxy"]["Port"]["UserSetting"]; 4157 } 4158 if (A.load.Bool(ptr + 32 + 68 + 32 + 30)) { 4159 x["Manual"]["SecureHTTPProxy"]["Port"]["SharedSetting"] = A.load.Int32(ptr + 32 + 68 + 32 + 20); 4160 } else { 4161 delete x["Manual"]["SecureHTTPProxy"]["Port"]["SharedSetting"]; 4162 } 4163 if (A.load.Bool(ptr + 32 + 68 + 32 + 31)) { 4164 x["Manual"]["SecureHTTPProxy"]["Port"]["UserEditable"] = A.load.Bool(ptr + 32 + 68 + 32 + 24); 4165 } else { 4166 delete x["Manual"]["SecureHTTPProxy"]["Port"]["UserEditable"]; 4167 } 4168 if (A.load.Bool(ptr + 32 + 68 + 32 + 32)) { 4169 x["Manual"]["SecureHTTPProxy"]["Port"]["DeviceEditable"] = A.load.Bool(ptr + 32 + 68 + 32 + 25); 4170 } else { 4171 delete x["Manual"]["SecureHTTPProxy"]["Port"]["DeviceEditable"]; 4172 } 4173 } else { 4174 delete x["Manual"]["SecureHTTPProxy"]["Port"]; 4175 } 4176 } else { 4177 delete x["Manual"]["SecureHTTPProxy"]; 4178 } 4179 if (A.load.Bool(ptr + 32 + 136 + 66)) { 4180 x["Manual"]["FTPProxy"] = {}; 4181 if (A.load.Bool(ptr + 32 + 136 + 0 + 28)) { 4182 x["Manual"]["FTPProxy"]["Host"] = {}; 4183 x["Manual"]["FTPProxy"]["Host"]["Active"] = A.load.Ref(ptr + 32 + 136 + 0 + 0, undefined); 4184 x["Manual"]["FTPProxy"]["Host"]["Effective"] = A.load.Ref(ptr + 32 + 136 + 0 + 4, undefined); 4185 x["Manual"]["FTPProxy"]["Host"]["UserPolicy"] = A.load.Ref(ptr + 32 + 136 + 0 + 8, undefined); 4186 x["Manual"]["FTPProxy"]["Host"]["DevicePolicy"] = A.load.Ref(ptr + 32 + 136 + 0 + 12, undefined); 4187 x["Manual"]["FTPProxy"]["Host"]["UserSetting"] = A.load.Ref(ptr + 32 + 136 + 0 + 16, undefined); 4188 x["Manual"]["FTPProxy"]["Host"]["SharedSetting"] = A.load.Ref(ptr + 32 + 136 + 0 + 20, undefined); 4189 if (A.load.Bool(ptr + 32 + 136 + 0 + 26)) { 4190 x["Manual"]["FTPProxy"]["Host"]["UserEditable"] = A.load.Bool(ptr + 32 + 136 + 0 + 24); 4191 } else { 4192 delete x["Manual"]["FTPProxy"]["Host"]["UserEditable"]; 4193 } 4194 if (A.load.Bool(ptr + 32 + 136 + 0 + 27)) { 4195 x["Manual"]["FTPProxy"]["Host"]["DeviceEditable"] = A.load.Bool(ptr + 32 + 136 + 0 + 25); 4196 } else { 4197 delete x["Manual"]["FTPProxy"]["Host"]["DeviceEditable"]; 4198 } 4199 } else { 4200 delete x["Manual"]["FTPProxy"]["Host"]; 4201 } 4202 if (A.load.Bool(ptr + 32 + 136 + 32 + 33)) { 4203 x["Manual"]["FTPProxy"]["Port"] = {}; 4204 if (A.load.Bool(ptr + 32 + 136 + 32 + 26)) { 4205 x["Manual"]["FTPProxy"]["Port"]["Active"] = A.load.Int32(ptr + 32 + 136 + 32 + 0); 4206 } else { 4207 delete x["Manual"]["FTPProxy"]["Port"]["Active"]; 4208 } 4209 x["Manual"]["FTPProxy"]["Port"]["Effective"] = A.load.Ref(ptr + 32 + 136 + 32 + 4, undefined); 4210 if (A.load.Bool(ptr + 32 + 136 + 32 + 27)) { 4211 x["Manual"]["FTPProxy"]["Port"]["UserPolicy"] = A.load.Int32(ptr + 32 + 136 + 32 + 8); 4212 } else { 4213 delete x["Manual"]["FTPProxy"]["Port"]["UserPolicy"]; 4214 } 4215 if (A.load.Bool(ptr + 32 + 136 + 32 + 28)) { 4216 x["Manual"]["FTPProxy"]["Port"]["DevicePolicy"] = A.load.Int32(ptr + 32 + 136 + 32 + 12); 4217 } else { 4218 delete x["Manual"]["FTPProxy"]["Port"]["DevicePolicy"]; 4219 } 4220 if (A.load.Bool(ptr + 32 + 136 + 32 + 29)) { 4221 x["Manual"]["FTPProxy"]["Port"]["UserSetting"] = A.load.Int32(ptr + 32 + 136 + 32 + 16); 4222 } else { 4223 delete x["Manual"]["FTPProxy"]["Port"]["UserSetting"]; 4224 } 4225 if (A.load.Bool(ptr + 32 + 136 + 32 + 30)) { 4226 x["Manual"]["FTPProxy"]["Port"]["SharedSetting"] = A.load.Int32(ptr + 32 + 136 + 32 + 20); 4227 } else { 4228 delete x["Manual"]["FTPProxy"]["Port"]["SharedSetting"]; 4229 } 4230 if (A.load.Bool(ptr + 32 + 136 + 32 + 31)) { 4231 x["Manual"]["FTPProxy"]["Port"]["UserEditable"] = A.load.Bool(ptr + 32 + 136 + 32 + 24); 4232 } else { 4233 delete x["Manual"]["FTPProxy"]["Port"]["UserEditable"]; 4234 } 4235 if (A.load.Bool(ptr + 32 + 136 + 32 + 32)) { 4236 x["Manual"]["FTPProxy"]["Port"]["DeviceEditable"] = A.load.Bool(ptr + 32 + 136 + 32 + 25); 4237 } else { 4238 delete x["Manual"]["FTPProxy"]["Port"]["DeviceEditable"]; 4239 } 4240 } else { 4241 delete x["Manual"]["FTPProxy"]["Port"]; 4242 } 4243 } else { 4244 delete x["Manual"]["FTPProxy"]; 4245 } 4246 if (A.load.Bool(ptr + 32 + 204 + 66)) { 4247 x["Manual"]["SOCKS"] = {}; 4248 if (A.load.Bool(ptr + 32 + 204 + 0 + 28)) { 4249 x["Manual"]["SOCKS"]["Host"] = {}; 4250 x["Manual"]["SOCKS"]["Host"]["Active"] = A.load.Ref(ptr + 32 + 204 + 0 + 0, undefined); 4251 x["Manual"]["SOCKS"]["Host"]["Effective"] = A.load.Ref(ptr + 32 + 204 + 0 + 4, undefined); 4252 x["Manual"]["SOCKS"]["Host"]["UserPolicy"] = A.load.Ref(ptr + 32 + 204 + 0 + 8, undefined); 4253 x["Manual"]["SOCKS"]["Host"]["DevicePolicy"] = A.load.Ref(ptr + 32 + 204 + 0 + 12, undefined); 4254 x["Manual"]["SOCKS"]["Host"]["UserSetting"] = A.load.Ref(ptr + 32 + 204 + 0 + 16, undefined); 4255 x["Manual"]["SOCKS"]["Host"]["SharedSetting"] = A.load.Ref(ptr + 32 + 204 + 0 + 20, undefined); 4256 if (A.load.Bool(ptr + 32 + 204 + 0 + 26)) { 4257 x["Manual"]["SOCKS"]["Host"]["UserEditable"] = A.load.Bool(ptr + 32 + 204 + 0 + 24); 4258 } else { 4259 delete x["Manual"]["SOCKS"]["Host"]["UserEditable"]; 4260 } 4261 if (A.load.Bool(ptr + 32 + 204 + 0 + 27)) { 4262 x["Manual"]["SOCKS"]["Host"]["DeviceEditable"] = A.load.Bool(ptr + 32 + 204 + 0 + 25); 4263 } else { 4264 delete x["Manual"]["SOCKS"]["Host"]["DeviceEditable"]; 4265 } 4266 } else { 4267 delete x["Manual"]["SOCKS"]["Host"]; 4268 } 4269 if (A.load.Bool(ptr + 32 + 204 + 32 + 33)) { 4270 x["Manual"]["SOCKS"]["Port"] = {}; 4271 if (A.load.Bool(ptr + 32 + 204 + 32 + 26)) { 4272 x["Manual"]["SOCKS"]["Port"]["Active"] = A.load.Int32(ptr + 32 + 204 + 32 + 0); 4273 } else { 4274 delete x["Manual"]["SOCKS"]["Port"]["Active"]; 4275 } 4276 x["Manual"]["SOCKS"]["Port"]["Effective"] = A.load.Ref(ptr + 32 + 204 + 32 + 4, undefined); 4277 if (A.load.Bool(ptr + 32 + 204 + 32 + 27)) { 4278 x["Manual"]["SOCKS"]["Port"]["UserPolicy"] = A.load.Int32(ptr + 32 + 204 + 32 + 8); 4279 } else { 4280 delete x["Manual"]["SOCKS"]["Port"]["UserPolicy"]; 4281 } 4282 if (A.load.Bool(ptr + 32 + 204 + 32 + 28)) { 4283 x["Manual"]["SOCKS"]["Port"]["DevicePolicy"] = A.load.Int32(ptr + 32 + 204 + 32 + 12); 4284 } else { 4285 delete x["Manual"]["SOCKS"]["Port"]["DevicePolicy"]; 4286 } 4287 if (A.load.Bool(ptr + 32 + 204 + 32 + 29)) { 4288 x["Manual"]["SOCKS"]["Port"]["UserSetting"] = A.load.Int32(ptr + 32 + 204 + 32 + 16); 4289 } else { 4290 delete x["Manual"]["SOCKS"]["Port"]["UserSetting"]; 4291 } 4292 if (A.load.Bool(ptr + 32 + 204 + 32 + 30)) { 4293 x["Manual"]["SOCKS"]["Port"]["SharedSetting"] = A.load.Int32(ptr + 32 + 204 + 32 + 20); 4294 } else { 4295 delete x["Manual"]["SOCKS"]["Port"]["SharedSetting"]; 4296 } 4297 if (A.load.Bool(ptr + 32 + 204 + 32 + 31)) { 4298 x["Manual"]["SOCKS"]["Port"]["UserEditable"] = A.load.Bool(ptr + 32 + 204 + 32 + 24); 4299 } else { 4300 delete x["Manual"]["SOCKS"]["Port"]["UserEditable"]; 4301 } 4302 if (A.load.Bool(ptr + 32 + 204 + 32 + 32)) { 4303 x["Manual"]["SOCKS"]["Port"]["DeviceEditable"] = A.load.Bool(ptr + 32 + 204 + 32 + 25); 4304 } else { 4305 delete x["Manual"]["SOCKS"]["Port"]["DeviceEditable"]; 4306 } 4307 } else { 4308 delete x["Manual"]["SOCKS"]["Port"]; 4309 } 4310 } else { 4311 delete x["Manual"]["SOCKS"]; 4312 } 4313 } else { 4314 delete x["Manual"]; 4315 } 4316 if (A.load.Bool(ptr + 304 + 28)) { 4317 x["ExcludeDomains"] = {}; 4318 x["ExcludeDomains"]["Active"] = A.load.Ref(ptr + 304 + 0, undefined); 4319 x["ExcludeDomains"]["Effective"] = A.load.Ref(ptr + 304 + 4, undefined); 4320 x["ExcludeDomains"]["UserPolicy"] = A.load.Ref(ptr + 304 + 8, undefined); 4321 x["ExcludeDomains"]["DevicePolicy"] = A.load.Ref(ptr + 304 + 12, undefined); 4322 x["ExcludeDomains"]["UserSetting"] = A.load.Ref(ptr + 304 + 16, undefined); 4323 x["ExcludeDomains"]["SharedSetting"] = A.load.Ref(ptr + 304 + 20, undefined); 4324 if (A.load.Bool(ptr + 304 + 26)) { 4325 x["ExcludeDomains"]["UserEditable"] = A.load.Bool(ptr + 304 + 24); 4326 } else { 4327 delete x["ExcludeDomains"]["UserEditable"]; 4328 } 4329 if (A.load.Bool(ptr + 304 + 27)) { 4330 x["ExcludeDomains"]["DeviceEditable"] = A.load.Bool(ptr + 304 + 25); 4331 } else { 4332 delete x["ExcludeDomains"]["DeviceEditable"]; 4333 } 4334 } else { 4335 delete x["ExcludeDomains"]; 4336 } 4337 if (A.load.Bool(ptr + 336 + 28)) { 4338 x["PAC"] = {}; 4339 x["PAC"]["Active"] = A.load.Ref(ptr + 336 + 0, undefined); 4340 x["PAC"]["Effective"] = A.load.Ref(ptr + 336 + 4, undefined); 4341 x["PAC"]["UserPolicy"] = A.load.Ref(ptr + 336 + 8, undefined); 4342 x["PAC"]["DevicePolicy"] = A.load.Ref(ptr + 336 + 12, undefined); 4343 x["PAC"]["UserSetting"] = A.load.Ref(ptr + 336 + 16, undefined); 4344 x["PAC"]["SharedSetting"] = A.load.Ref(ptr + 336 + 20, undefined); 4345 if (A.load.Bool(ptr + 336 + 26)) { 4346 x["PAC"]["UserEditable"] = A.load.Bool(ptr + 336 + 24); 4347 } else { 4348 delete x["PAC"]["UserEditable"]; 4349 } 4350 if (A.load.Bool(ptr + 336 + 27)) { 4351 x["PAC"]["DeviceEditable"] = A.load.Bool(ptr + 336 + 25); 4352 } else { 4353 delete x["PAC"]["DeviceEditable"]; 4354 } 4355 } else { 4356 delete x["PAC"]; 4357 } 4358 return create === A.H.TRUE ? A.H.push(x) : ref; 4359 }, 4360 4361 "store_ManagedIPConfigProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 4362 const x = A.H.get<any>(ref); 4363 4364 if (typeof x === "undefined") { 4365 A.store.Bool(ptr + 193, false); 4366 4367 A.store.Bool(ptr + 0 + 28, false); 4368 A.store.Ref(ptr + 0 + 0, undefined); 4369 A.store.Ref(ptr + 0 + 4, undefined); 4370 A.store.Ref(ptr + 0 + 8, undefined); 4371 A.store.Ref(ptr + 0 + 12, undefined); 4372 A.store.Ref(ptr + 0 + 16, undefined); 4373 A.store.Ref(ptr + 0 + 20, undefined); 4374 A.store.Bool(ptr + 0 + 26, false); 4375 A.store.Bool(ptr + 0 + 24, false); 4376 A.store.Bool(ptr + 0 + 27, false); 4377 A.store.Bool(ptr + 0 + 25, false); 4378 4379 A.store.Bool(ptr + 32 + 28, false); 4380 A.store.Ref(ptr + 32 + 0, undefined); 4381 A.store.Ref(ptr + 32 + 4, undefined); 4382 A.store.Ref(ptr + 32 + 8, undefined); 4383 A.store.Ref(ptr + 32 + 12, undefined); 4384 A.store.Ref(ptr + 32 + 16, undefined); 4385 A.store.Ref(ptr + 32 + 20, undefined); 4386 A.store.Bool(ptr + 32 + 26, false); 4387 A.store.Bool(ptr + 32 + 24, false); 4388 A.store.Bool(ptr + 32 + 27, false); 4389 A.store.Bool(ptr + 32 + 25, false); 4390 4391 A.store.Bool(ptr + 64 + 28, false); 4392 A.store.Ref(ptr + 64 + 0, undefined); 4393 A.store.Ref(ptr + 64 + 4, undefined); 4394 A.store.Ref(ptr + 64 + 8, undefined); 4395 A.store.Ref(ptr + 64 + 12, undefined); 4396 A.store.Ref(ptr + 64 + 16, undefined); 4397 A.store.Ref(ptr + 64 + 20, undefined); 4398 A.store.Bool(ptr + 64 + 26, false); 4399 A.store.Bool(ptr + 64 + 24, false); 4400 A.store.Bool(ptr + 64 + 27, false); 4401 A.store.Bool(ptr + 64 + 25, false); 4402 4403 A.store.Bool(ptr + 96 + 33, false); 4404 A.store.Bool(ptr + 96 + 26, false); 4405 A.store.Int32(ptr + 96 + 0, 0); 4406 A.store.Ref(ptr + 96 + 4, undefined); 4407 A.store.Bool(ptr + 96 + 27, false); 4408 A.store.Int32(ptr + 96 + 8, 0); 4409 A.store.Bool(ptr + 96 + 28, false); 4410 A.store.Int32(ptr + 96 + 12, 0); 4411 A.store.Bool(ptr + 96 + 29, false); 4412 A.store.Int32(ptr + 96 + 16, 0); 4413 A.store.Bool(ptr + 96 + 30, false); 4414 A.store.Int32(ptr + 96 + 20, 0); 4415 A.store.Bool(ptr + 96 + 31, false); 4416 A.store.Bool(ptr + 96 + 24, false); 4417 A.store.Bool(ptr + 96 + 32, false); 4418 A.store.Bool(ptr + 96 + 25, false); 4419 4420 A.store.Bool(ptr + 132 + 28, false); 4421 A.store.Ref(ptr + 132 + 0, undefined); 4422 A.store.Ref(ptr + 132 + 4, undefined); 4423 A.store.Ref(ptr + 132 + 8, undefined); 4424 A.store.Ref(ptr + 132 + 12, undefined); 4425 A.store.Ref(ptr + 132 + 16, undefined); 4426 A.store.Ref(ptr + 132 + 20, undefined); 4427 A.store.Bool(ptr + 132 + 26, false); 4428 A.store.Bool(ptr + 132 + 24, false); 4429 A.store.Bool(ptr + 132 + 27, false); 4430 A.store.Bool(ptr + 132 + 25, false); 4431 4432 A.store.Bool(ptr + 164 + 28, false); 4433 A.store.Ref(ptr + 164 + 0, undefined); 4434 A.store.Ref(ptr + 164 + 4, undefined); 4435 A.store.Ref(ptr + 164 + 8, undefined); 4436 A.store.Ref(ptr + 164 + 12, undefined); 4437 A.store.Ref(ptr + 164 + 16, undefined); 4438 A.store.Ref(ptr + 164 + 20, undefined); 4439 A.store.Bool(ptr + 164 + 26, false); 4440 A.store.Bool(ptr + 164 + 24, false); 4441 A.store.Bool(ptr + 164 + 27, false); 4442 A.store.Bool(ptr + 164 + 25, false); 4443 } else { 4444 A.store.Bool(ptr + 193, true); 4445 4446 if (typeof x["Gateway"] === "undefined") { 4447 A.store.Bool(ptr + 0 + 28, false); 4448 A.store.Ref(ptr + 0 + 0, undefined); 4449 A.store.Ref(ptr + 0 + 4, undefined); 4450 A.store.Ref(ptr + 0 + 8, undefined); 4451 A.store.Ref(ptr + 0 + 12, undefined); 4452 A.store.Ref(ptr + 0 + 16, undefined); 4453 A.store.Ref(ptr + 0 + 20, undefined); 4454 A.store.Bool(ptr + 0 + 26, false); 4455 A.store.Bool(ptr + 0 + 24, false); 4456 A.store.Bool(ptr + 0 + 27, false); 4457 A.store.Bool(ptr + 0 + 25, false); 4458 } else { 4459 A.store.Bool(ptr + 0 + 28, true); 4460 A.store.Ref(ptr + 0 + 0, x["Gateway"]["Active"]); 4461 A.store.Ref(ptr + 0 + 4, x["Gateway"]["Effective"]); 4462 A.store.Ref(ptr + 0 + 8, x["Gateway"]["UserPolicy"]); 4463 A.store.Ref(ptr + 0 + 12, x["Gateway"]["DevicePolicy"]); 4464 A.store.Ref(ptr + 0 + 16, x["Gateway"]["UserSetting"]); 4465 A.store.Ref(ptr + 0 + 20, x["Gateway"]["SharedSetting"]); 4466 A.store.Bool(ptr + 0 + 26, "UserEditable" in x["Gateway"] ? true : false); 4467 A.store.Bool(ptr + 0 + 24, x["Gateway"]["UserEditable"] ? true : false); 4468 A.store.Bool(ptr + 0 + 27, "DeviceEditable" in x["Gateway"] ? true : false); 4469 A.store.Bool(ptr + 0 + 25, x["Gateway"]["DeviceEditable"] ? true : false); 4470 } 4471 4472 if (typeof x["IPAddress"] === "undefined") { 4473 A.store.Bool(ptr + 32 + 28, false); 4474 A.store.Ref(ptr + 32 + 0, undefined); 4475 A.store.Ref(ptr + 32 + 4, undefined); 4476 A.store.Ref(ptr + 32 + 8, undefined); 4477 A.store.Ref(ptr + 32 + 12, undefined); 4478 A.store.Ref(ptr + 32 + 16, undefined); 4479 A.store.Ref(ptr + 32 + 20, undefined); 4480 A.store.Bool(ptr + 32 + 26, false); 4481 A.store.Bool(ptr + 32 + 24, false); 4482 A.store.Bool(ptr + 32 + 27, false); 4483 A.store.Bool(ptr + 32 + 25, false); 4484 } else { 4485 A.store.Bool(ptr + 32 + 28, true); 4486 A.store.Ref(ptr + 32 + 0, x["IPAddress"]["Active"]); 4487 A.store.Ref(ptr + 32 + 4, x["IPAddress"]["Effective"]); 4488 A.store.Ref(ptr + 32 + 8, x["IPAddress"]["UserPolicy"]); 4489 A.store.Ref(ptr + 32 + 12, x["IPAddress"]["DevicePolicy"]); 4490 A.store.Ref(ptr + 32 + 16, x["IPAddress"]["UserSetting"]); 4491 A.store.Ref(ptr + 32 + 20, x["IPAddress"]["SharedSetting"]); 4492 A.store.Bool(ptr + 32 + 26, "UserEditable" in x["IPAddress"] ? true : false); 4493 A.store.Bool(ptr + 32 + 24, x["IPAddress"]["UserEditable"] ? true : false); 4494 A.store.Bool(ptr + 32 + 27, "DeviceEditable" in x["IPAddress"] ? true : false); 4495 A.store.Bool(ptr + 32 + 25, x["IPAddress"]["DeviceEditable"] ? true : false); 4496 } 4497 4498 if (typeof x["NameServers"] === "undefined") { 4499 A.store.Bool(ptr + 64 + 28, false); 4500 A.store.Ref(ptr + 64 + 0, undefined); 4501 A.store.Ref(ptr + 64 + 4, undefined); 4502 A.store.Ref(ptr + 64 + 8, undefined); 4503 A.store.Ref(ptr + 64 + 12, undefined); 4504 A.store.Ref(ptr + 64 + 16, undefined); 4505 A.store.Ref(ptr + 64 + 20, undefined); 4506 A.store.Bool(ptr + 64 + 26, false); 4507 A.store.Bool(ptr + 64 + 24, false); 4508 A.store.Bool(ptr + 64 + 27, false); 4509 A.store.Bool(ptr + 64 + 25, false); 4510 } else { 4511 A.store.Bool(ptr + 64 + 28, true); 4512 A.store.Ref(ptr + 64 + 0, x["NameServers"]["Active"]); 4513 A.store.Ref(ptr + 64 + 4, x["NameServers"]["Effective"]); 4514 A.store.Ref(ptr + 64 + 8, x["NameServers"]["UserPolicy"]); 4515 A.store.Ref(ptr + 64 + 12, x["NameServers"]["DevicePolicy"]); 4516 A.store.Ref(ptr + 64 + 16, x["NameServers"]["UserSetting"]); 4517 A.store.Ref(ptr + 64 + 20, x["NameServers"]["SharedSetting"]); 4518 A.store.Bool(ptr + 64 + 26, "UserEditable" in x["NameServers"] ? true : false); 4519 A.store.Bool(ptr + 64 + 24, x["NameServers"]["UserEditable"] ? true : false); 4520 A.store.Bool(ptr + 64 + 27, "DeviceEditable" in x["NameServers"] ? true : false); 4521 A.store.Bool(ptr + 64 + 25, x["NameServers"]["DeviceEditable"] ? true : false); 4522 } 4523 4524 if (typeof x["RoutingPrefix"] === "undefined") { 4525 A.store.Bool(ptr + 96 + 33, false); 4526 A.store.Bool(ptr + 96 + 26, false); 4527 A.store.Int32(ptr + 96 + 0, 0); 4528 A.store.Ref(ptr + 96 + 4, undefined); 4529 A.store.Bool(ptr + 96 + 27, false); 4530 A.store.Int32(ptr + 96 + 8, 0); 4531 A.store.Bool(ptr + 96 + 28, false); 4532 A.store.Int32(ptr + 96 + 12, 0); 4533 A.store.Bool(ptr + 96 + 29, false); 4534 A.store.Int32(ptr + 96 + 16, 0); 4535 A.store.Bool(ptr + 96 + 30, false); 4536 A.store.Int32(ptr + 96 + 20, 0); 4537 A.store.Bool(ptr + 96 + 31, false); 4538 A.store.Bool(ptr + 96 + 24, false); 4539 A.store.Bool(ptr + 96 + 32, false); 4540 A.store.Bool(ptr + 96 + 25, false); 4541 } else { 4542 A.store.Bool(ptr + 96 + 33, true); 4543 A.store.Bool(ptr + 96 + 26, "Active" in x["RoutingPrefix"] ? true : false); 4544 A.store.Int32( 4545 ptr + 96 + 0, 4546 x["RoutingPrefix"]["Active"] === undefined ? 0 : (x["RoutingPrefix"]["Active"] as number) 4547 ); 4548 A.store.Ref(ptr + 96 + 4, x["RoutingPrefix"]["Effective"]); 4549 A.store.Bool(ptr + 96 + 27, "UserPolicy" in x["RoutingPrefix"] ? true : false); 4550 A.store.Int32( 4551 ptr + 96 + 8, 4552 x["RoutingPrefix"]["UserPolicy"] === undefined ? 0 : (x["RoutingPrefix"]["UserPolicy"] as number) 4553 ); 4554 A.store.Bool(ptr + 96 + 28, "DevicePolicy" in x["RoutingPrefix"] ? true : false); 4555 A.store.Int32( 4556 ptr + 96 + 12, 4557 x["RoutingPrefix"]["DevicePolicy"] === undefined ? 0 : (x["RoutingPrefix"]["DevicePolicy"] as number) 4558 ); 4559 A.store.Bool(ptr + 96 + 29, "UserSetting" in x["RoutingPrefix"] ? true : false); 4560 A.store.Int32( 4561 ptr + 96 + 16, 4562 x["RoutingPrefix"]["UserSetting"] === undefined ? 0 : (x["RoutingPrefix"]["UserSetting"] as number) 4563 ); 4564 A.store.Bool(ptr + 96 + 30, "SharedSetting" in x["RoutingPrefix"] ? true : false); 4565 A.store.Int32( 4566 ptr + 96 + 20, 4567 x["RoutingPrefix"]["SharedSetting"] === undefined ? 0 : (x["RoutingPrefix"]["SharedSetting"] as number) 4568 ); 4569 A.store.Bool(ptr + 96 + 31, "UserEditable" in x["RoutingPrefix"] ? true : false); 4570 A.store.Bool(ptr + 96 + 24, x["RoutingPrefix"]["UserEditable"] ? true : false); 4571 A.store.Bool(ptr + 96 + 32, "DeviceEditable" in x["RoutingPrefix"] ? true : false); 4572 A.store.Bool(ptr + 96 + 25, x["RoutingPrefix"]["DeviceEditable"] ? true : false); 4573 } 4574 4575 if (typeof x["Type"] === "undefined") { 4576 A.store.Bool(ptr + 132 + 28, false); 4577 A.store.Ref(ptr + 132 + 0, undefined); 4578 A.store.Ref(ptr + 132 + 4, undefined); 4579 A.store.Ref(ptr + 132 + 8, undefined); 4580 A.store.Ref(ptr + 132 + 12, undefined); 4581 A.store.Ref(ptr + 132 + 16, undefined); 4582 A.store.Ref(ptr + 132 + 20, undefined); 4583 A.store.Bool(ptr + 132 + 26, false); 4584 A.store.Bool(ptr + 132 + 24, false); 4585 A.store.Bool(ptr + 132 + 27, false); 4586 A.store.Bool(ptr + 132 + 25, false); 4587 } else { 4588 A.store.Bool(ptr + 132 + 28, true); 4589 A.store.Ref(ptr + 132 + 0, x["Type"]["Active"]); 4590 A.store.Ref(ptr + 132 + 4, x["Type"]["Effective"]); 4591 A.store.Ref(ptr + 132 + 8, x["Type"]["UserPolicy"]); 4592 A.store.Ref(ptr + 132 + 12, x["Type"]["DevicePolicy"]); 4593 A.store.Ref(ptr + 132 + 16, x["Type"]["UserSetting"]); 4594 A.store.Ref(ptr + 132 + 20, x["Type"]["SharedSetting"]); 4595 A.store.Bool(ptr + 132 + 26, "UserEditable" in x["Type"] ? true : false); 4596 A.store.Bool(ptr + 132 + 24, x["Type"]["UserEditable"] ? true : false); 4597 A.store.Bool(ptr + 132 + 27, "DeviceEditable" in x["Type"] ? true : false); 4598 A.store.Bool(ptr + 132 + 25, x["Type"]["DeviceEditable"] ? true : false); 4599 } 4600 4601 if (typeof x["WebProxyAutoDiscoveryUrl"] === "undefined") { 4602 A.store.Bool(ptr + 164 + 28, false); 4603 A.store.Ref(ptr + 164 + 0, undefined); 4604 A.store.Ref(ptr + 164 + 4, undefined); 4605 A.store.Ref(ptr + 164 + 8, undefined); 4606 A.store.Ref(ptr + 164 + 12, undefined); 4607 A.store.Ref(ptr + 164 + 16, undefined); 4608 A.store.Ref(ptr + 164 + 20, undefined); 4609 A.store.Bool(ptr + 164 + 26, false); 4610 A.store.Bool(ptr + 164 + 24, false); 4611 A.store.Bool(ptr + 164 + 27, false); 4612 A.store.Bool(ptr + 164 + 25, false); 4613 } else { 4614 A.store.Bool(ptr + 164 + 28, true); 4615 A.store.Ref(ptr + 164 + 0, x["WebProxyAutoDiscoveryUrl"]["Active"]); 4616 A.store.Ref(ptr + 164 + 4, x["WebProxyAutoDiscoveryUrl"]["Effective"]); 4617 A.store.Ref(ptr + 164 + 8, x["WebProxyAutoDiscoveryUrl"]["UserPolicy"]); 4618 A.store.Ref(ptr + 164 + 12, x["WebProxyAutoDiscoveryUrl"]["DevicePolicy"]); 4619 A.store.Ref(ptr + 164 + 16, x["WebProxyAutoDiscoveryUrl"]["UserSetting"]); 4620 A.store.Ref(ptr + 164 + 20, x["WebProxyAutoDiscoveryUrl"]["SharedSetting"]); 4621 A.store.Bool(ptr + 164 + 26, "UserEditable" in x["WebProxyAutoDiscoveryUrl"] ? true : false); 4622 A.store.Bool(ptr + 164 + 24, x["WebProxyAutoDiscoveryUrl"]["UserEditable"] ? true : false); 4623 A.store.Bool(ptr + 164 + 27, "DeviceEditable" in x["WebProxyAutoDiscoveryUrl"] ? true : false); 4624 A.store.Bool(ptr + 164 + 25, x["WebProxyAutoDiscoveryUrl"]["DeviceEditable"] ? true : false); 4625 } 4626 } 4627 }, 4628 "load_ManagedIPConfigProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 4629 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 4630 4631 if (A.load.Bool(ptr + 0 + 28)) { 4632 x["Gateway"] = {}; 4633 x["Gateway"]["Active"] = A.load.Ref(ptr + 0 + 0, undefined); 4634 x["Gateway"]["Effective"] = A.load.Ref(ptr + 0 + 4, undefined); 4635 x["Gateway"]["UserPolicy"] = A.load.Ref(ptr + 0 + 8, undefined); 4636 x["Gateway"]["DevicePolicy"] = A.load.Ref(ptr + 0 + 12, undefined); 4637 x["Gateway"]["UserSetting"] = A.load.Ref(ptr + 0 + 16, undefined); 4638 x["Gateway"]["SharedSetting"] = A.load.Ref(ptr + 0 + 20, undefined); 4639 if (A.load.Bool(ptr + 0 + 26)) { 4640 x["Gateway"]["UserEditable"] = A.load.Bool(ptr + 0 + 24); 4641 } else { 4642 delete x["Gateway"]["UserEditable"]; 4643 } 4644 if (A.load.Bool(ptr + 0 + 27)) { 4645 x["Gateway"]["DeviceEditable"] = A.load.Bool(ptr + 0 + 25); 4646 } else { 4647 delete x["Gateway"]["DeviceEditable"]; 4648 } 4649 } else { 4650 delete x["Gateway"]; 4651 } 4652 if (A.load.Bool(ptr + 32 + 28)) { 4653 x["IPAddress"] = {}; 4654 x["IPAddress"]["Active"] = A.load.Ref(ptr + 32 + 0, undefined); 4655 x["IPAddress"]["Effective"] = A.load.Ref(ptr + 32 + 4, undefined); 4656 x["IPAddress"]["UserPolicy"] = A.load.Ref(ptr + 32 + 8, undefined); 4657 x["IPAddress"]["DevicePolicy"] = A.load.Ref(ptr + 32 + 12, undefined); 4658 x["IPAddress"]["UserSetting"] = A.load.Ref(ptr + 32 + 16, undefined); 4659 x["IPAddress"]["SharedSetting"] = A.load.Ref(ptr + 32 + 20, undefined); 4660 if (A.load.Bool(ptr + 32 + 26)) { 4661 x["IPAddress"]["UserEditable"] = A.load.Bool(ptr + 32 + 24); 4662 } else { 4663 delete x["IPAddress"]["UserEditable"]; 4664 } 4665 if (A.load.Bool(ptr + 32 + 27)) { 4666 x["IPAddress"]["DeviceEditable"] = A.load.Bool(ptr + 32 + 25); 4667 } else { 4668 delete x["IPAddress"]["DeviceEditable"]; 4669 } 4670 } else { 4671 delete x["IPAddress"]; 4672 } 4673 if (A.load.Bool(ptr + 64 + 28)) { 4674 x["NameServers"] = {}; 4675 x["NameServers"]["Active"] = A.load.Ref(ptr + 64 + 0, undefined); 4676 x["NameServers"]["Effective"] = A.load.Ref(ptr + 64 + 4, undefined); 4677 x["NameServers"]["UserPolicy"] = A.load.Ref(ptr + 64 + 8, undefined); 4678 x["NameServers"]["DevicePolicy"] = A.load.Ref(ptr + 64 + 12, undefined); 4679 x["NameServers"]["UserSetting"] = A.load.Ref(ptr + 64 + 16, undefined); 4680 x["NameServers"]["SharedSetting"] = A.load.Ref(ptr + 64 + 20, undefined); 4681 if (A.load.Bool(ptr + 64 + 26)) { 4682 x["NameServers"]["UserEditable"] = A.load.Bool(ptr + 64 + 24); 4683 } else { 4684 delete x["NameServers"]["UserEditable"]; 4685 } 4686 if (A.load.Bool(ptr + 64 + 27)) { 4687 x["NameServers"]["DeviceEditable"] = A.load.Bool(ptr + 64 + 25); 4688 } else { 4689 delete x["NameServers"]["DeviceEditable"]; 4690 } 4691 } else { 4692 delete x["NameServers"]; 4693 } 4694 if (A.load.Bool(ptr + 96 + 33)) { 4695 x["RoutingPrefix"] = {}; 4696 if (A.load.Bool(ptr + 96 + 26)) { 4697 x["RoutingPrefix"]["Active"] = A.load.Int32(ptr + 96 + 0); 4698 } else { 4699 delete x["RoutingPrefix"]["Active"]; 4700 } 4701 x["RoutingPrefix"]["Effective"] = A.load.Ref(ptr + 96 + 4, undefined); 4702 if (A.load.Bool(ptr + 96 + 27)) { 4703 x["RoutingPrefix"]["UserPolicy"] = A.load.Int32(ptr + 96 + 8); 4704 } else { 4705 delete x["RoutingPrefix"]["UserPolicy"]; 4706 } 4707 if (A.load.Bool(ptr + 96 + 28)) { 4708 x["RoutingPrefix"]["DevicePolicy"] = A.load.Int32(ptr + 96 + 12); 4709 } else { 4710 delete x["RoutingPrefix"]["DevicePolicy"]; 4711 } 4712 if (A.load.Bool(ptr + 96 + 29)) { 4713 x["RoutingPrefix"]["UserSetting"] = A.load.Int32(ptr + 96 + 16); 4714 } else { 4715 delete x["RoutingPrefix"]["UserSetting"]; 4716 } 4717 if (A.load.Bool(ptr + 96 + 30)) { 4718 x["RoutingPrefix"]["SharedSetting"] = A.load.Int32(ptr + 96 + 20); 4719 } else { 4720 delete x["RoutingPrefix"]["SharedSetting"]; 4721 } 4722 if (A.load.Bool(ptr + 96 + 31)) { 4723 x["RoutingPrefix"]["UserEditable"] = A.load.Bool(ptr + 96 + 24); 4724 } else { 4725 delete x["RoutingPrefix"]["UserEditable"]; 4726 } 4727 if (A.load.Bool(ptr + 96 + 32)) { 4728 x["RoutingPrefix"]["DeviceEditable"] = A.load.Bool(ptr + 96 + 25); 4729 } else { 4730 delete x["RoutingPrefix"]["DeviceEditable"]; 4731 } 4732 } else { 4733 delete x["RoutingPrefix"]; 4734 } 4735 if (A.load.Bool(ptr + 132 + 28)) { 4736 x["Type"] = {}; 4737 x["Type"]["Active"] = A.load.Ref(ptr + 132 + 0, undefined); 4738 x["Type"]["Effective"] = A.load.Ref(ptr + 132 + 4, undefined); 4739 x["Type"]["UserPolicy"] = A.load.Ref(ptr + 132 + 8, undefined); 4740 x["Type"]["DevicePolicy"] = A.load.Ref(ptr + 132 + 12, undefined); 4741 x["Type"]["UserSetting"] = A.load.Ref(ptr + 132 + 16, undefined); 4742 x["Type"]["SharedSetting"] = A.load.Ref(ptr + 132 + 20, undefined); 4743 if (A.load.Bool(ptr + 132 + 26)) { 4744 x["Type"]["UserEditable"] = A.load.Bool(ptr + 132 + 24); 4745 } else { 4746 delete x["Type"]["UserEditable"]; 4747 } 4748 if (A.load.Bool(ptr + 132 + 27)) { 4749 x["Type"]["DeviceEditable"] = A.load.Bool(ptr + 132 + 25); 4750 } else { 4751 delete x["Type"]["DeviceEditable"]; 4752 } 4753 } else { 4754 delete x["Type"]; 4755 } 4756 if (A.load.Bool(ptr + 164 + 28)) { 4757 x["WebProxyAutoDiscoveryUrl"] = {}; 4758 x["WebProxyAutoDiscoveryUrl"]["Active"] = A.load.Ref(ptr + 164 + 0, undefined); 4759 x["WebProxyAutoDiscoveryUrl"]["Effective"] = A.load.Ref(ptr + 164 + 4, undefined); 4760 x["WebProxyAutoDiscoveryUrl"]["UserPolicy"] = A.load.Ref(ptr + 164 + 8, undefined); 4761 x["WebProxyAutoDiscoveryUrl"]["DevicePolicy"] = A.load.Ref(ptr + 164 + 12, undefined); 4762 x["WebProxyAutoDiscoveryUrl"]["UserSetting"] = A.load.Ref(ptr + 164 + 16, undefined); 4763 x["WebProxyAutoDiscoveryUrl"]["SharedSetting"] = A.load.Ref(ptr + 164 + 20, undefined); 4764 if (A.load.Bool(ptr + 164 + 26)) { 4765 x["WebProxyAutoDiscoveryUrl"]["UserEditable"] = A.load.Bool(ptr + 164 + 24); 4766 } else { 4767 delete x["WebProxyAutoDiscoveryUrl"]["UserEditable"]; 4768 } 4769 if (A.load.Bool(ptr + 164 + 27)) { 4770 x["WebProxyAutoDiscoveryUrl"]["DeviceEditable"] = A.load.Bool(ptr + 164 + 25); 4771 } else { 4772 delete x["WebProxyAutoDiscoveryUrl"]["DeviceEditable"]; 4773 } 4774 } else { 4775 delete x["WebProxyAutoDiscoveryUrl"]; 4776 } 4777 return create === A.H.TRUE ? A.H.push(x) : ref; 4778 }, 4779 4780 "store_ManagedVPNProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 4781 const x = A.H.get<any>(ref); 4782 4783 if (typeof x === "undefined") { 4784 A.store.Bool(ptr + 85, false); 4785 4786 A.store.Bool(ptr + 0 + 21, false); 4787 A.store.Bool(ptr + 0 + 14, false); 4788 A.store.Bool(ptr + 0 + 0, false); 4789 A.store.Ref(ptr + 0 + 4, undefined); 4790 A.store.Bool(ptr + 0 + 15, false); 4791 A.store.Bool(ptr + 0 + 8, false); 4792 A.store.Bool(ptr + 0 + 16, false); 4793 A.store.Bool(ptr + 0 + 9, false); 4794 A.store.Bool(ptr + 0 + 17, false); 4795 A.store.Bool(ptr + 0 + 10, false); 4796 A.store.Bool(ptr + 0 + 18, false); 4797 A.store.Bool(ptr + 0 + 11, false); 4798 A.store.Bool(ptr + 0 + 19, false); 4799 A.store.Bool(ptr + 0 + 12, false); 4800 A.store.Bool(ptr + 0 + 20, false); 4801 A.store.Bool(ptr + 0 + 13, false); 4802 4803 A.store.Bool(ptr + 24 + 28, false); 4804 A.store.Ref(ptr + 24 + 0, undefined); 4805 A.store.Ref(ptr + 24 + 4, undefined); 4806 A.store.Ref(ptr + 24 + 8, undefined); 4807 A.store.Ref(ptr + 24 + 12, undefined); 4808 A.store.Ref(ptr + 24 + 16, undefined); 4809 A.store.Ref(ptr + 24 + 20, undefined); 4810 A.store.Bool(ptr + 24 + 26, false); 4811 A.store.Bool(ptr + 24 + 24, false); 4812 A.store.Bool(ptr + 24 + 27, false); 4813 A.store.Bool(ptr + 24 + 25, false); 4814 4815 A.store.Bool(ptr + 56 + 28, false); 4816 A.store.Ref(ptr + 56 + 0, undefined); 4817 A.store.Ref(ptr + 56 + 4, undefined); 4818 A.store.Ref(ptr + 56 + 8, undefined); 4819 A.store.Ref(ptr + 56 + 12, undefined); 4820 A.store.Ref(ptr + 56 + 16, undefined); 4821 A.store.Ref(ptr + 56 + 20, undefined); 4822 A.store.Bool(ptr + 56 + 26, false); 4823 A.store.Bool(ptr + 56 + 24, false); 4824 A.store.Bool(ptr + 56 + 27, false); 4825 A.store.Bool(ptr + 56 + 25, false); 4826 } else { 4827 A.store.Bool(ptr + 85, true); 4828 4829 if (typeof x["AutoConnect"] === "undefined") { 4830 A.store.Bool(ptr + 0 + 21, false); 4831 A.store.Bool(ptr + 0 + 14, false); 4832 A.store.Bool(ptr + 0 + 0, false); 4833 A.store.Ref(ptr + 0 + 4, undefined); 4834 A.store.Bool(ptr + 0 + 15, false); 4835 A.store.Bool(ptr + 0 + 8, false); 4836 A.store.Bool(ptr + 0 + 16, false); 4837 A.store.Bool(ptr + 0 + 9, false); 4838 A.store.Bool(ptr + 0 + 17, false); 4839 A.store.Bool(ptr + 0 + 10, false); 4840 A.store.Bool(ptr + 0 + 18, false); 4841 A.store.Bool(ptr + 0 + 11, false); 4842 A.store.Bool(ptr + 0 + 19, false); 4843 A.store.Bool(ptr + 0 + 12, false); 4844 A.store.Bool(ptr + 0 + 20, false); 4845 A.store.Bool(ptr + 0 + 13, false); 4846 } else { 4847 A.store.Bool(ptr + 0 + 21, true); 4848 A.store.Bool(ptr + 0 + 14, "Active" in x["AutoConnect"] ? true : false); 4849 A.store.Bool(ptr + 0 + 0, x["AutoConnect"]["Active"] ? true : false); 4850 A.store.Ref(ptr + 0 + 4, x["AutoConnect"]["Effective"]); 4851 A.store.Bool(ptr + 0 + 15, "UserPolicy" in x["AutoConnect"] ? true : false); 4852 A.store.Bool(ptr + 0 + 8, x["AutoConnect"]["UserPolicy"] ? true : false); 4853 A.store.Bool(ptr + 0 + 16, "DevicePolicy" in x["AutoConnect"] ? true : false); 4854 A.store.Bool(ptr + 0 + 9, x["AutoConnect"]["DevicePolicy"] ? true : false); 4855 A.store.Bool(ptr + 0 + 17, "UserSetting" in x["AutoConnect"] ? true : false); 4856 A.store.Bool(ptr + 0 + 10, x["AutoConnect"]["UserSetting"] ? true : false); 4857 A.store.Bool(ptr + 0 + 18, "SharedSetting" in x["AutoConnect"] ? true : false); 4858 A.store.Bool(ptr + 0 + 11, x["AutoConnect"]["SharedSetting"] ? true : false); 4859 A.store.Bool(ptr + 0 + 19, "UserEditable" in x["AutoConnect"] ? true : false); 4860 A.store.Bool(ptr + 0 + 12, x["AutoConnect"]["UserEditable"] ? true : false); 4861 A.store.Bool(ptr + 0 + 20, "DeviceEditable" in x["AutoConnect"] ? true : false); 4862 A.store.Bool(ptr + 0 + 13, x["AutoConnect"]["DeviceEditable"] ? true : false); 4863 } 4864 4865 if (typeof x["Host"] === "undefined") { 4866 A.store.Bool(ptr + 24 + 28, false); 4867 A.store.Ref(ptr + 24 + 0, undefined); 4868 A.store.Ref(ptr + 24 + 4, undefined); 4869 A.store.Ref(ptr + 24 + 8, undefined); 4870 A.store.Ref(ptr + 24 + 12, undefined); 4871 A.store.Ref(ptr + 24 + 16, undefined); 4872 A.store.Ref(ptr + 24 + 20, undefined); 4873 A.store.Bool(ptr + 24 + 26, false); 4874 A.store.Bool(ptr + 24 + 24, false); 4875 A.store.Bool(ptr + 24 + 27, false); 4876 A.store.Bool(ptr + 24 + 25, false); 4877 } else { 4878 A.store.Bool(ptr + 24 + 28, true); 4879 A.store.Ref(ptr + 24 + 0, x["Host"]["Active"]); 4880 A.store.Ref(ptr + 24 + 4, x["Host"]["Effective"]); 4881 A.store.Ref(ptr + 24 + 8, x["Host"]["UserPolicy"]); 4882 A.store.Ref(ptr + 24 + 12, x["Host"]["DevicePolicy"]); 4883 A.store.Ref(ptr + 24 + 16, x["Host"]["UserSetting"]); 4884 A.store.Ref(ptr + 24 + 20, x["Host"]["SharedSetting"]); 4885 A.store.Bool(ptr + 24 + 26, "UserEditable" in x["Host"] ? true : false); 4886 A.store.Bool(ptr + 24 + 24, x["Host"]["UserEditable"] ? true : false); 4887 A.store.Bool(ptr + 24 + 27, "DeviceEditable" in x["Host"] ? true : false); 4888 A.store.Bool(ptr + 24 + 25, x["Host"]["DeviceEditable"] ? true : false); 4889 } 4890 4891 if (typeof x["Type"] === "undefined") { 4892 A.store.Bool(ptr + 56 + 28, false); 4893 A.store.Ref(ptr + 56 + 0, undefined); 4894 A.store.Ref(ptr + 56 + 4, undefined); 4895 A.store.Ref(ptr + 56 + 8, undefined); 4896 A.store.Ref(ptr + 56 + 12, undefined); 4897 A.store.Ref(ptr + 56 + 16, undefined); 4898 A.store.Ref(ptr + 56 + 20, undefined); 4899 A.store.Bool(ptr + 56 + 26, false); 4900 A.store.Bool(ptr + 56 + 24, false); 4901 A.store.Bool(ptr + 56 + 27, false); 4902 A.store.Bool(ptr + 56 + 25, false); 4903 } else { 4904 A.store.Bool(ptr + 56 + 28, true); 4905 A.store.Ref(ptr + 56 + 0, x["Type"]["Active"]); 4906 A.store.Ref(ptr + 56 + 4, x["Type"]["Effective"]); 4907 A.store.Ref(ptr + 56 + 8, x["Type"]["UserPolicy"]); 4908 A.store.Ref(ptr + 56 + 12, x["Type"]["DevicePolicy"]); 4909 A.store.Ref(ptr + 56 + 16, x["Type"]["UserSetting"]); 4910 A.store.Ref(ptr + 56 + 20, x["Type"]["SharedSetting"]); 4911 A.store.Bool(ptr + 56 + 26, "UserEditable" in x["Type"] ? true : false); 4912 A.store.Bool(ptr + 56 + 24, x["Type"]["UserEditable"] ? true : false); 4913 A.store.Bool(ptr + 56 + 27, "DeviceEditable" in x["Type"] ? true : false); 4914 A.store.Bool(ptr + 56 + 25, x["Type"]["DeviceEditable"] ? true : false); 4915 } 4916 } 4917 }, 4918 "load_ManagedVPNProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 4919 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 4920 4921 if (A.load.Bool(ptr + 0 + 21)) { 4922 x["AutoConnect"] = {}; 4923 if (A.load.Bool(ptr + 0 + 14)) { 4924 x["AutoConnect"]["Active"] = A.load.Bool(ptr + 0 + 0); 4925 } else { 4926 delete x["AutoConnect"]["Active"]; 4927 } 4928 x["AutoConnect"]["Effective"] = A.load.Ref(ptr + 0 + 4, undefined); 4929 if (A.load.Bool(ptr + 0 + 15)) { 4930 x["AutoConnect"]["UserPolicy"] = A.load.Bool(ptr + 0 + 8); 4931 } else { 4932 delete x["AutoConnect"]["UserPolicy"]; 4933 } 4934 if (A.load.Bool(ptr + 0 + 16)) { 4935 x["AutoConnect"]["DevicePolicy"] = A.load.Bool(ptr + 0 + 9); 4936 } else { 4937 delete x["AutoConnect"]["DevicePolicy"]; 4938 } 4939 if (A.load.Bool(ptr + 0 + 17)) { 4940 x["AutoConnect"]["UserSetting"] = A.load.Bool(ptr + 0 + 10); 4941 } else { 4942 delete x["AutoConnect"]["UserSetting"]; 4943 } 4944 if (A.load.Bool(ptr + 0 + 18)) { 4945 x["AutoConnect"]["SharedSetting"] = A.load.Bool(ptr + 0 + 11); 4946 } else { 4947 delete x["AutoConnect"]["SharedSetting"]; 4948 } 4949 if (A.load.Bool(ptr + 0 + 19)) { 4950 x["AutoConnect"]["UserEditable"] = A.load.Bool(ptr + 0 + 12); 4951 } else { 4952 delete x["AutoConnect"]["UserEditable"]; 4953 } 4954 if (A.load.Bool(ptr + 0 + 20)) { 4955 x["AutoConnect"]["DeviceEditable"] = A.load.Bool(ptr + 0 + 13); 4956 } else { 4957 delete x["AutoConnect"]["DeviceEditable"]; 4958 } 4959 } else { 4960 delete x["AutoConnect"]; 4961 } 4962 if (A.load.Bool(ptr + 24 + 28)) { 4963 x["Host"] = {}; 4964 x["Host"]["Active"] = A.load.Ref(ptr + 24 + 0, undefined); 4965 x["Host"]["Effective"] = A.load.Ref(ptr + 24 + 4, undefined); 4966 x["Host"]["UserPolicy"] = A.load.Ref(ptr + 24 + 8, undefined); 4967 x["Host"]["DevicePolicy"] = A.load.Ref(ptr + 24 + 12, undefined); 4968 x["Host"]["UserSetting"] = A.load.Ref(ptr + 24 + 16, undefined); 4969 x["Host"]["SharedSetting"] = A.load.Ref(ptr + 24 + 20, undefined); 4970 if (A.load.Bool(ptr + 24 + 26)) { 4971 x["Host"]["UserEditable"] = A.load.Bool(ptr + 24 + 24); 4972 } else { 4973 delete x["Host"]["UserEditable"]; 4974 } 4975 if (A.load.Bool(ptr + 24 + 27)) { 4976 x["Host"]["DeviceEditable"] = A.load.Bool(ptr + 24 + 25); 4977 } else { 4978 delete x["Host"]["DeviceEditable"]; 4979 } 4980 } else { 4981 delete x["Host"]; 4982 } 4983 if (A.load.Bool(ptr + 56 + 28)) { 4984 x["Type"] = {}; 4985 x["Type"]["Active"] = A.load.Ref(ptr + 56 + 0, undefined); 4986 x["Type"]["Effective"] = A.load.Ref(ptr + 56 + 4, undefined); 4987 x["Type"]["UserPolicy"] = A.load.Ref(ptr + 56 + 8, undefined); 4988 x["Type"]["DevicePolicy"] = A.load.Ref(ptr + 56 + 12, undefined); 4989 x["Type"]["UserSetting"] = A.load.Ref(ptr + 56 + 16, undefined); 4990 x["Type"]["SharedSetting"] = A.load.Ref(ptr + 56 + 20, undefined); 4991 if (A.load.Bool(ptr + 56 + 26)) { 4992 x["Type"]["UserEditable"] = A.load.Bool(ptr + 56 + 24); 4993 } else { 4994 delete x["Type"]["UserEditable"]; 4995 } 4996 if (A.load.Bool(ptr + 56 + 27)) { 4997 x["Type"]["DeviceEditable"] = A.load.Bool(ptr + 56 + 25); 4998 } else { 4999 delete x["Type"]["DeviceEditable"]; 5000 } 5001 } else { 5002 delete x["Type"]; 5003 } 5004 return create === A.H.TRUE ? A.H.push(x) : ref; 5005 }, 5006 5007 "store_ManagedWiFiProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 5008 const x = A.H.get<any>(ref); 5009 5010 if (typeof x === "undefined") { 5011 A.store.Bool(ptr + 222, false); 5012 5013 A.store.Bool(ptr + 0 + 21, false); 5014 A.store.Bool(ptr + 0 + 14, false); 5015 A.store.Bool(ptr + 0 + 0, false); 5016 A.store.Ref(ptr + 0 + 4, undefined); 5017 A.store.Bool(ptr + 0 + 15, false); 5018 A.store.Bool(ptr + 0 + 8, false); 5019 A.store.Bool(ptr + 0 + 16, false); 5020 A.store.Bool(ptr + 0 + 9, false); 5021 A.store.Bool(ptr + 0 + 17, false); 5022 A.store.Bool(ptr + 0 + 10, false); 5023 A.store.Bool(ptr + 0 + 18, false); 5024 A.store.Bool(ptr + 0 + 11, false); 5025 A.store.Bool(ptr + 0 + 19, false); 5026 A.store.Bool(ptr + 0 + 12, false); 5027 A.store.Bool(ptr + 0 + 20, false); 5028 A.store.Bool(ptr + 0 + 13, false); 5029 5030 A.store.Bool(ptr + 24 + 21, false); 5031 A.store.Bool(ptr + 24 + 14, false); 5032 A.store.Bool(ptr + 24 + 0, false); 5033 A.store.Ref(ptr + 24 + 4, undefined); 5034 A.store.Bool(ptr + 24 + 15, false); 5035 A.store.Bool(ptr + 24 + 8, false); 5036 A.store.Bool(ptr + 24 + 16, false); 5037 A.store.Bool(ptr + 24 + 9, false); 5038 A.store.Bool(ptr + 24 + 17, false); 5039 A.store.Bool(ptr + 24 + 10, false); 5040 A.store.Bool(ptr + 24 + 18, false); 5041 A.store.Bool(ptr + 24 + 11, false); 5042 A.store.Bool(ptr + 24 + 19, false); 5043 A.store.Bool(ptr + 24 + 12, false); 5044 A.store.Bool(ptr + 24 + 20, false); 5045 A.store.Bool(ptr + 24 + 13, false); 5046 A.store.Ref(ptr + 48, undefined); 5047 A.store.Bool(ptr + 220, false); 5048 A.store.Int32(ptr + 52, 0); 5049 A.store.Ref(ptr + 56, undefined); 5050 5051 A.store.Bool(ptr + 60 + 28, false); 5052 A.store.Ref(ptr + 60 + 0, undefined); 5053 A.store.Ref(ptr + 60 + 4, undefined); 5054 A.store.Ref(ptr + 60 + 8, undefined); 5055 A.store.Ref(ptr + 60 + 12, undefined); 5056 A.store.Ref(ptr + 60 + 16, undefined); 5057 A.store.Ref(ptr + 60 + 20, undefined); 5058 A.store.Bool(ptr + 60 + 26, false); 5059 A.store.Bool(ptr + 60 + 24, false); 5060 A.store.Bool(ptr + 60 + 27, false); 5061 A.store.Bool(ptr + 60 + 25, false); 5062 5063 A.store.Bool(ptr + 92 + 21, false); 5064 A.store.Bool(ptr + 92 + 14, false); 5065 A.store.Bool(ptr + 92 + 0, false); 5066 A.store.Ref(ptr + 92 + 4, undefined); 5067 A.store.Bool(ptr + 92 + 15, false); 5068 A.store.Bool(ptr + 92 + 8, false); 5069 A.store.Bool(ptr + 92 + 16, false); 5070 A.store.Bool(ptr + 92 + 9, false); 5071 A.store.Bool(ptr + 92 + 17, false); 5072 A.store.Bool(ptr + 92 + 10, false); 5073 A.store.Bool(ptr + 92 + 18, false); 5074 A.store.Bool(ptr + 92 + 11, false); 5075 A.store.Bool(ptr + 92 + 19, false); 5076 A.store.Bool(ptr + 92 + 12, false); 5077 A.store.Bool(ptr + 92 + 20, false); 5078 A.store.Bool(ptr + 92 + 13, false); 5079 5080 A.store.Bool(ptr + 116 + 33, false); 5081 A.store.Bool(ptr + 116 + 26, false); 5082 A.store.Int32(ptr + 116 + 0, 0); 5083 A.store.Ref(ptr + 116 + 4, undefined); 5084 A.store.Bool(ptr + 116 + 27, false); 5085 A.store.Int32(ptr + 116 + 8, 0); 5086 A.store.Bool(ptr + 116 + 28, false); 5087 A.store.Int32(ptr + 116 + 12, 0); 5088 A.store.Bool(ptr + 116 + 29, false); 5089 A.store.Int32(ptr + 116 + 16, 0); 5090 A.store.Bool(ptr + 116 + 30, false); 5091 A.store.Int32(ptr + 116 + 20, 0); 5092 A.store.Bool(ptr + 116 + 31, false); 5093 A.store.Bool(ptr + 116 + 24, false); 5094 A.store.Bool(ptr + 116 + 32, false); 5095 A.store.Bool(ptr + 116 + 25, false); 5096 5097 A.store.Bool(ptr + 152 + 28, false); 5098 A.store.Ref(ptr + 152 + 0, undefined); 5099 A.store.Ref(ptr + 152 + 4, undefined); 5100 A.store.Ref(ptr + 152 + 8, undefined); 5101 A.store.Ref(ptr + 152 + 12, undefined); 5102 A.store.Ref(ptr + 152 + 16, undefined); 5103 A.store.Ref(ptr + 152 + 20, undefined); 5104 A.store.Bool(ptr + 152 + 26, false); 5105 A.store.Bool(ptr + 152 + 24, false); 5106 A.store.Bool(ptr + 152 + 27, false); 5107 A.store.Bool(ptr + 152 + 25, false); 5108 5109 A.store.Bool(ptr + 184 + 28, false); 5110 A.store.Ref(ptr + 184 + 0, undefined); 5111 A.store.Ref(ptr + 184 + 4, undefined); 5112 A.store.Ref(ptr + 184 + 8, undefined); 5113 A.store.Ref(ptr + 184 + 12, undefined); 5114 A.store.Ref(ptr + 184 + 16, undefined); 5115 A.store.Ref(ptr + 184 + 20, undefined); 5116 A.store.Bool(ptr + 184 + 26, false); 5117 A.store.Bool(ptr + 184 + 24, false); 5118 A.store.Bool(ptr + 184 + 27, false); 5119 A.store.Bool(ptr + 184 + 25, false); 5120 A.store.Bool(ptr + 221, false); 5121 A.store.Int32(ptr + 216, 0); 5122 } else { 5123 A.store.Bool(ptr + 222, true); 5124 5125 if (typeof x["AllowGatewayARPPolling"] === "undefined") { 5126 A.store.Bool(ptr + 0 + 21, false); 5127 A.store.Bool(ptr + 0 + 14, false); 5128 A.store.Bool(ptr + 0 + 0, false); 5129 A.store.Ref(ptr + 0 + 4, undefined); 5130 A.store.Bool(ptr + 0 + 15, false); 5131 A.store.Bool(ptr + 0 + 8, false); 5132 A.store.Bool(ptr + 0 + 16, false); 5133 A.store.Bool(ptr + 0 + 9, false); 5134 A.store.Bool(ptr + 0 + 17, false); 5135 A.store.Bool(ptr + 0 + 10, false); 5136 A.store.Bool(ptr + 0 + 18, false); 5137 A.store.Bool(ptr + 0 + 11, false); 5138 A.store.Bool(ptr + 0 + 19, false); 5139 A.store.Bool(ptr + 0 + 12, false); 5140 A.store.Bool(ptr + 0 + 20, false); 5141 A.store.Bool(ptr + 0 + 13, false); 5142 } else { 5143 A.store.Bool(ptr + 0 + 21, true); 5144 A.store.Bool(ptr + 0 + 14, "Active" in x["AllowGatewayARPPolling"] ? true : false); 5145 A.store.Bool(ptr + 0 + 0, x["AllowGatewayARPPolling"]["Active"] ? true : false); 5146 A.store.Ref(ptr + 0 + 4, x["AllowGatewayARPPolling"]["Effective"]); 5147 A.store.Bool(ptr + 0 + 15, "UserPolicy" in x["AllowGatewayARPPolling"] ? true : false); 5148 A.store.Bool(ptr + 0 + 8, x["AllowGatewayARPPolling"]["UserPolicy"] ? true : false); 5149 A.store.Bool(ptr + 0 + 16, "DevicePolicy" in x["AllowGatewayARPPolling"] ? true : false); 5150 A.store.Bool(ptr + 0 + 9, x["AllowGatewayARPPolling"]["DevicePolicy"] ? true : false); 5151 A.store.Bool(ptr + 0 + 17, "UserSetting" in x["AllowGatewayARPPolling"] ? true : false); 5152 A.store.Bool(ptr + 0 + 10, x["AllowGatewayARPPolling"]["UserSetting"] ? true : false); 5153 A.store.Bool(ptr + 0 + 18, "SharedSetting" in x["AllowGatewayARPPolling"] ? true : false); 5154 A.store.Bool(ptr + 0 + 11, x["AllowGatewayARPPolling"]["SharedSetting"] ? true : false); 5155 A.store.Bool(ptr + 0 + 19, "UserEditable" in x["AllowGatewayARPPolling"] ? true : false); 5156 A.store.Bool(ptr + 0 + 12, x["AllowGatewayARPPolling"]["UserEditable"] ? true : false); 5157 A.store.Bool(ptr + 0 + 20, "DeviceEditable" in x["AllowGatewayARPPolling"] ? true : false); 5158 A.store.Bool(ptr + 0 + 13, x["AllowGatewayARPPolling"]["DeviceEditable"] ? true : false); 5159 } 5160 5161 if (typeof x["AutoConnect"] === "undefined") { 5162 A.store.Bool(ptr + 24 + 21, false); 5163 A.store.Bool(ptr + 24 + 14, false); 5164 A.store.Bool(ptr + 24 + 0, false); 5165 A.store.Ref(ptr + 24 + 4, undefined); 5166 A.store.Bool(ptr + 24 + 15, false); 5167 A.store.Bool(ptr + 24 + 8, false); 5168 A.store.Bool(ptr + 24 + 16, false); 5169 A.store.Bool(ptr + 24 + 9, false); 5170 A.store.Bool(ptr + 24 + 17, false); 5171 A.store.Bool(ptr + 24 + 10, false); 5172 A.store.Bool(ptr + 24 + 18, false); 5173 A.store.Bool(ptr + 24 + 11, false); 5174 A.store.Bool(ptr + 24 + 19, false); 5175 A.store.Bool(ptr + 24 + 12, false); 5176 A.store.Bool(ptr + 24 + 20, false); 5177 A.store.Bool(ptr + 24 + 13, false); 5178 } else { 5179 A.store.Bool(ptr + 24 + 21, true); 5180 A.store.Bool(ptr + 24 + 14, "Active" in x["AutoConnect"] ? true : false); 5181 A.store.Bool(ptr + 24 + 0, x["AutoConnect"]["Active"] ? true : false); 5182 A.store.Ref(ptr + 24 + 4, x["AutoConnect"]["Effective"]); 5183 A.store.Bool(ptr + 24 + 15, "UserPolicy" in x["AutoConnect"] ? true : false); 5184 A.store.Bool(ptr + 24 + 8, x["AutoConnect"]["UserPolicy"] ? true : false); 5185 A.store.Bool(ptr + 24 + 16, "DevicePolicy" in x["AutoConnect"] ? true : false); 5186 A.store.Bool(ptr + 24 + 9, x["AutoConnect"]["DevicePolicy"] ? true : false); 5187 A.store.Bool(ptr + 24 + 17, "UserSetting" in x["AutoConnect"] ? true : false); 5188 A.store.Bool(ptr + 24 + 10, x["AutoConnect"]["UserSetting"] ? true : false); 5189 A.store.Bool(ptr + 24 + 18, "SharedSetting" in x["AutoConnect"] ? true : false); 5190 A.store.Bool(ptr + 24 + 11, x["AutoConnect"]["SharedSetting"] ? true : false); 5191 A.store.Bool(ptr + 24 + 19, "UserEditable" in x["AutoConnect"] ? true : false); 5192 A.store.Bool(ptr + 24 + 12, x["AutoConnect"]["UserEditable"] ? true : false); 5193 A.store.Bool(ptr + 24 + 20, "DeviceEditable" in x["AutoConnect"] ? true : false); 5194 A.store.Bool(ptr + 24 + 13, x["AutoConnect"]["DeviceEditable"] ? true : false); 5195 } 5196 A.store.Ref(ptr + 48, x["BSSID"]); 5197 A.store.Bool(ptr + 220, "Frequency" in x ? true : false); 5198 A.store.Int32(ptr + 52, x["Frequency"] === undefined ? 0 : (x["Frequency"] as number)); 5199 A.store.Ref(ptr + 56, x["FrequencyList"]); 5200 5201 if (typeof x["HexSSID"] === "undefined") { 5202 A.store.Bool(ptr + 60 + 28, false); 5203 A.store.Ref(ptr + 60 + 0, undefined); 5204 A.store.Ref(ptr + 60 + 4, undefined); 5205 A.store.Ref(ptr + 60 + 8, undefined); 5206 A.store.Ref(ptr + 60 + 12, undefined); 5207 A.store.Ref(ptr + 60 + 16, undefined); 5208 A.store.Ref(ptr + 60 + 20, undefined); 5209 A.store.Bool(ptr + 60 + 26, false); 5210 A.store.Bool(ptr + 60 + 24, false); 5211 A.store.Bool(ptr + 60 + 27, false); 5212 A.store.Bool(ptr + 60 + 25, false); 5213 } else { 5214 A.store.Bool(ptr + 60 + 28, true); 5215 A.store.Ref(ptr + 60 + 0, x["HexSSID"]["Active"]); 5216 A.store.Ref(ptr + 60 + 4, x["HexSSID"]["Effective"]); 5217 A.store.Ref(ptr + 60 + 8, x["HexSSID"]["UserPolicy"]); 5218 A.store.Ref(ptr + 60 + 12, x["HexSSID"]["DevicePolicy"]); 5219 A.store.Ref(ptr + 60 + 16, x["HexSSID"]["UserSetting"]); 5220 A.store.Ref(ptr + 60 + 20, x["HexSSID"]["SharedSetting"]); 5221 A.store.Bool(ptr + 60 + 26, "UserEditable" in x["HexSSID"] ? true : false); 5222 A.store.Bool(ptr + 60 + 24, x["HexSSID"]["UserEditable"] ? true : false); 5223 A.store.Bool(ptr + 60 + 27, "DeviceEditable" in x["HexSSID"] ? true : false); 5224 A.store.Bool(ptr + 60 + 25, x["HexSSID"]["DeviceEditable"] ? true : false); 5225 } 5226 5227 if (typeof x["HiddenSSID"] === "undefined") { 5228 A.store.Bool(ptr + 92 + 21, false); 5229 A.store.Bool(ptr + 92 + 14, false); 5230 A.store.Bool(ptr + 92 + 0, false); 5231 A.store.Ref(ptr + 92 + 4, undefined); 5232 A.store.Bool(ptr + 92 + 15, false); 5233 A.store.Bool(ptr + 92 + 8, false); 5234 A.store.Bool(ptr + 92 + 16, false); 5235 A.store.Bool(ptr + 92 + 9, false); 5236 A.store.Bool(ptr + 92 + 17, false); 5237 A.store.Bool(ptr + 92 + 10, false); 5238 A.store.Bool(ptr + 92 + 18, false); 5239 A.store.Bool(ptr + 92 + 11, false); 5240 A.store.Bool(ptr + 92 + 19, false); 5241 A.store.Bool(ptr + 92 + 12, false); 5242 A.store.Bool(ptr + 92 + 20, false); 5243 A.store.Bool(ptr + 92 + 13, false); 5244 } else { 5245 A.store.Bool(ptr + 92 + 21, true); 5246 A.store.Bool(ptr + 92 + 14, "Active" in x["HiddenSSID"] ? true : false); 5247 A.store.Bool(ptr + 92 + 0, x["HiddenSSID"]["Active"] ? true : false); 5248 A.store.Ref(ptr + 92 + 4, x["HiddenSSID"]["Effective"]); 5249 A.store.Bool(ptr + 92 + 15, "UserPolicy" in x["HiddenSSID"] ? true : false); 5250 A.store.Bool(ptr + 92 + 8, x["HiddenSSID"]["UserPolicy"] ? true : false); 5251 A.store.Bool(ptr + 92 + 16, "DevicePolicy" in x["HiddenSSID"] ? true : false); 5252 A.store.Bool(ptr + 92 + 9, x["HiddenSSID"]["DevicePolicy"] ? true : false); 5253 A.store.Bool(ptr + 92 + 17, "UserSetting" in x["HiddenSSID"] ? true : false); 5254 A.store.Bool(ptr + 92 + 10, x["HiddenSSID"]["UserSetting"] ? true : false); 5255 A.store.Bool(ptr + 92 + 18, "SharedSetting" in x["HiddenSSID"] ? true : false); 5256 A.store.Bool(ptr + 92 + 11, x["HiddenSSID"]["SharedSetting"] ? true : false); 5257 A.store.Bool(ptr + 92 + 19, "UserEditable" in x["HiddenSSID"] ? true : false); 5258 A.store.Bool(ptr + 92 + 12, x["HiddenSSID"]["UserEditable"] ? true : false); 5259 A.store.Bool(ptr + 92 + 20, "DeviceEditable" in x["HiddenSSID"] ? true : false); 5260 A.store.Bool(ptr + 92 + 13, x["HiddenSSID"]["DeviceEditable"] ? true : false); 5261 } 5262 5263 if (typeof x["RoamThreshold"] === "undefined") { 5264 A.store.Bool(ptr + 116 + 33, false); 5265 A.store.Bool(ptr + 116 + 26, false); 5266 A.store.Int32(ptr + 116 + 0, 0); 5267 A.store.Ref(ptr + 116 + 4, undefined); 5268 A.store.Bool(ptr + 116 + 27, false); 5269 A.store.Int32(ptr + 116 + 8, 0); 5270 A.store.Bool(ptr + 116 + 28, false); 5271 A.store.Int32(ptr + 116 + 12, 0); 5272 A.store.Bool(ptr + 116 + 29, false); 5273 A.store.Int32(ptr + 116 + 16, 0); 5274 A.store.Bool(ptr + 116 + 30, false); 5275 A.store.Int32(ptr + 116 + 20, 0); 5276 A.store.Bool(ptr + 116 + 31, false); 5277 A.store.Bool(ptr + 116 + 24, false); 5278 A.store.Bool(ptr + 116 + 32, false); 5279 A.store.Bool(ptr + 116 + 25, false); 5280 } else { 5281 A.store.Bool(ptr + 116 + 33, true); 5282 A.store.Bool(ptr + 116 + 26, "Active" in x["RoamThreshold"] ? true : false); 5283 A.store.Int32( 5284 ptr + 116 + 0, 5285 x["RoamThreshold"]["Active"] === undefined ? 0 : (x["RoamThreshold"]["Active"] as number) 5286 ); 5287 A.store.Ref(ptr + 116 + 4, x["RoamThreshold"]["Effective"]); 5288 A.store.Bool(ptr + 116 + 27, "UserPolicy" in x["RoamThreshold"] ? true : false); 5289 A.store.Int32( 5290 ptr + 116 + 8, 5291 x["RoamThreshold"]["UserPolicy"] === undefined ? 0 : (x["RoamThreshold"]["UserPolicy"] as number) 5292 ); 5293 A.store.Bool(ptr + 116 + 28, "DevicePolicy" in x["RoamThreshold"] ? true : false); 5294 A.store.Int32( 5295 ptr + 116 + 12, 5296 x["RoamThreshold"]["DevicePolicy"] === undefined ? 0 : (x["RoamThreshold"]["DevicePolicy"] as number) 5297 ); 5298 A.store.Bool(ptr + 116 + 29, "UserSetting" in x["RoamThreshold"] ? true : false); 5299 A.store.Int32( 5300 ptr + 116 + 16, 5301 x["RoamThreshold"]["UserSetting"] === undefined ? 0 : (x["RoamThreshold"]["UserSetting"] as number) 5302 ); 5303 A.store.Bool(ptr + 116 + 30, "SharedSetting" in x["RoamThreshold"] ? true : false); 5304 A.store.Int32( 5305 ptr + 116 + 20, 5306 x["RoamThreshold"]["SharedSetting"] === undefined ? 0 : (x["RoamThreshold"]["SharedSetting"] as number) 5307 ); 5308 A.store.Bool(ptr + 116 + 31, "UserEditable" in x["RoamThreshold"] ? true : false); 5309 A.store.Bool(ptr + 116 + 24, x["RoamThreshold"]["UserEditable"] ? true : false); 5310 A.store.Bool(ptr + 116 + 32, "DeviceEditable" in x["RoamThreshold"] ? true : false); 5311 A.store.Bool(ptr + 116 + 25, x["RoamThreshold"]["DeviceEditable"] ? true : false); 5312 } 5313 5314 if (typeof x["SSID"] === "undefined") { 5315 A.store.Bool(ptr + 152 + 28, false); 5316 A.store.Ref(ptr + 152 + 0, undefined); 5317 A.store.Ref(ptr + 152 + 4, undefined); 5318 A.store.Ref(ptr + 152 + 8, undefined); 5319 A.store.Ref(ptr + 152 + 12, undefined); 5320 A.store.Ref(ptr + 152 + 16, undefined); 5321 A.store.Ref(ptr + 152 + 20, undefined); 5322 A.store.Bool(ptr + 152 + 26, false); 5323 A.store.Bool(ptr + 152 + 24, false); 5324 A.store.Bool(ptr + 152 + 27, false); 5325 A.store.Bool(ptr + 152 + 25, false); 5326 } else { 5327 A.store.Bool(ptr + 152 + 28, true); 5328 A.store.Ref(ptr + 152 + 0, x["SSID"]["Active"]); 5329 A.store.Ref(ptr + 152 + 4, x["SSID"]["Effective"]); 5330 A.store.Ref(ptr + 152 + 8, x["SSID"]["UserPolicy"]); 5331 A.store.Ref(ptr + 152 + 12, x["SSID"]["DevicePolicy"]); 5332 A.store.Ref(ptr + 152 + 16, x["SSID"]["UserSetting"]); 5333 A.store.Ref(ptr + 152 + 20, x["SSID"]["SharedSetting"]); 5334 A.store.Bool(ptr + 152 + 26, "UserEditable" in x["SSID"] ? true : false); 5335 A.store.Bool(ptr + 152 + 24, x["SSID"]["UserEditable"] ? true : false); 5336 A.store.Bool(ptr + 152 + 27, "DeviceEditable" in x["SSID"] ? true : false); 5337 A.store.Bool(ptr + 152 + 25, x["SSID"]["DeviceEditable"] ? true : false); 5338 } 5339 5340 if (typeof x["Security"] === "undefined") { 5341 A.store.Bool(ptr + 184 + 28, false); 5342 A.store.Ref(ptr + 184 + 0, undefined); 5343 A.store.Ref(ptr + 184 + 4, undefined); 5344 A.store.Ref(ptr + 184 + 8, undefined); 5345 A.store.Ref(ptr + 184 + 12, undefined); 5346 A.store.Ref(ptr + 184 + 16, undefined); 5347 A.store.Ref(ptr + 184 + 20, undefined); 5348 A.store.Bool(ptr + 184 + 26, false); 5349 A.store.Bool(ptr + 184 + 24, false); 5350 A.store.Bool(ptr + 184 + 27, false); 5351 A.store.Bool(ptr + 184 + 25, false); 5352 } else { 5353 A.store.Bool(ptr + 184 + 28, true); 5354 A.store.Ref(ptr + 184 + 0, x["Security"]["Active"]); 5355 A.store.Ref(ptr + 184 + 4, x["Security"]["Effective"]); 5356 A.store.Ref(ptr + 184 + 8, x["Security"]["UserPolicy"]); 5357 A.store.Ref(ptr + 184 + 12, x["Security"]["DevicePolicy"]); 5358 A.store.Ref(ptr + 184 + 16, x["Security"]["UserSetting"]); 5359 A.store.Ref(ptr + 184 + 20, x["Security"]["SharedSetting"]); 5360 A.store.Bool(ptr + 184 + 26, "UserEditable" in x["Security"] ? true : false); 5361 A.store.Bool(ptr + 184 + 24, x["Security"]["UserEditable"] ? true : false); 5362 A.store.Bool(ptr + 184 + 27, "DeviceEditable" in x["Security"] ? true : false); 5363 A.store.Bool(ptr + 184 + 25, x["Security"]["DeviceEditable"] ? true : false); 5364 } 5365 A.store.Bool(ptr + 221, "SignalStrength" in x ? true : false); 5366 A.store.Int32(ptr + 216, x["SignalStrength"] === undefined ? 0 : (x["SignalStrength"] as number)); 5367 } 5368 }, 5369 "load_ManagedWiFiProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 5370 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 5371 5372 if (A.load.Bool(ptr + 0 + 21)) { 5373 x["AllowGatewayARPPolling"] = {}; 5374 if (A.load.Bool(ptr + 0 + 14)) { 5375 x["AllowGatewayARPPolling"]["Active"] = A.load.Bool(ptr + 0 + 0); 5376 } else { 5377 delete x["AllowGatewayARPPolling"]["Active"]; 5378 } 5379 x["AllowGatewayARPPolling"]["Effective"] = A.load.Ref(ptr + 0 + 4, undefined); 5380 if (A.load.Bool(ptr + 0 + 15)) { 5381 x["AllowGatewayARPPolling"]["UserPolicy"] = A.load.Bool(ptr + 0 + 8); 5382 } else { 5383 delete x["AllowGatewayARPPolling"]["UserPolicy"]; 5384 } 5385 if (A.load.Bool(ptr + 0 + 16)) { 5386 x["AllowGatewayARPPolling"]["DevicePolicy"] = A.load.Bool(ptr + 0 + 9); 5387 } else { 5388 delete x["AllowGatewayARPPolling"]["DevicePolicy"]; 5389 } 5390 if (A.load.Bool(ptr + 0 + 17)) { 5391 x["AllowGatewayARPPolling"]["UserSetting"] = A.load.Bool(ptr + 0 + 10); 5392 } else { 5393 delete x["AllowGatewayARPPolling"]["UserSetting"]; 5394 } 5395 if (A.load.Bool(ptr + 0 + 18)) { 5396 x["AllowGatewayARPPolling"]["SharedSetting"] = A.load.Bool(ptr + 0 + 11); 5397 } else { 5398 delete x["AllowGatewayARPPolling"]["SharedSetting"]; 5399 } 5400 if (A.load.Bool(ptr + 0 + 19)) { 5401 x["AllowGatewayARPPolling"]["UserEditable"] = A.load.Bool(ptr + 0 + 12); 5402 } else { 5403 delete x["AllowGatewayARPPolling"]["UserEditable"]; 5404 } 5405 if (A.load.Bool(ptr + 0 + 20)) { 5406 x["AllowGatewayARPPolling"]["DeviceEditable"] = A.load.Bool(ptr + 0 + 13); 5407 } else { 5408 delete x["AllowGatewayARPPolling"]["DeviceEditable"]; 5409 } 5410 } else { 5411 delete x["AllowGatewayARPPolling"]; 5412 } 5413 if (A.load.Bool(ptr + 24 + 21)) { 5414 x["AutoConnect"] = {}; 5415 if (A.load.Bool(ptr + 24 + 14)) { 5416 x["AutoConnect"]["Active"] = A.load.Bool(ptr + 24 + 0); 5417 } else { 5418 delete x["AutoConnect"]["Active"]; 5419 } 5420 x["AutoConnect"]["Effective"] = A.load.Ref(ptr + 24 + 4, undefined); 5421 if (A.load.Bool(ptr + 24 + 15)) { 5422 x["AutoConnect"]["UserPolicy"] = A.load.Bool(ptr + 24 + 8); 5423 } else { 5424 delete x["AutoConnect"]["UserPolicy"]; 5425 } 5426 if (A.load.Bool(ptr + 24 + 16)) { 5427 x["AutoConnect"]["DevicePolicy"] = A.load.Bool(ptr + 24 + 9); 5428 } else { 5429 delete x["AutoConnect"]["DevicePolicy"]; 5430 } 5431 if (A.load.Bool(ptr + 24 + 17)) { 5432 x["AutoConnect"]["UserSetting"] = A.load.Bool(ptr + 24 + 10); 5433 } else { 5434 delete x["AutoConnect"]["UserSetting"]; 5435 } 5436 if (A.load.Bool(ptr + 24 + 18)) { 5437 x["AutoConnect"]["SharedSetting"] = A.load.Bool(ptr + 24 + 11); 5438 } else { 5439 delete x["AutoConnect"]["SharedSetting"]; 5440 } 5441 if (A.load.Bool(ptr + 24 + 19)) { 5442 x["AutoConnect"]["UserEditable"] = A.load.Bool(ptr + 24 + 12); 5443 } else { 5444 delete x["AutoConnect"]["UserEditable"]; 5445 } 5446 if (A.load.Bool(ptr + 24 + 20)) { 5447 x["AutoConnect"]["DeviceEditable"] = A.load.Bool(ptr + 24 + 13); 5448 } else { 5449 delete x["AutoConnect"]["DeviceEditable"]; 5450 } 5451 } else { 5452 delete x["AutoConnect"]; 5453 } 5454 x["BSSID"] = A.load.Ref(ptr + 48, undefined); 5455 if (A.load.Bool(ptr + 220)) { 5456 x["Frequency"] = A.load.Int32(ptr + 52); 5457 } else { 5458 delete x["Frequency"]; 5459 } 5460 x["FrequencyList"] = A.load.Ref(ptr + 56, undefined); 5461 if (A.load.Bool(ptr + 60 + 28)) { 5462 x["HexSSID"] = {}; 5463 x["HexSSID"]["Active"] = A.load.Ref(ptr + 60 + 0, undefined); 5464 x["HexSSID"]["Effective"] = A.load.Ref(ptr + 60 + 4, undefined); 5465 x["HexSSID"]["UserPolicy"] = A.load.Ref(ptr + 60 + 8, undefined); 5466 x["HexSSID"]["DevicePolicy"] = A.load.Ref(ptr + 60 + 12, undefined); 5467 x["HexSSID"]["UserSetting"] = A.load.Ref(ptr + 60 + 16, undefined); 5468 x["HexSSID"]["SharedSetting"] = A.load.Ref(ptr + 60 + 20, undefined); 5469 if (A.load.Bool(ptr + 60 + 26)) { 5470 x["HexSSID"]["UserEditable"] = A.load.Bool(ptr + 60 + 24); 5471 } else { 5472 delete x["HexSSID"]["UserEditable"]; 5473 } 5474 if (A.load.Bool(ptr + 60 + 27)) { 5475 x["HexSSID"]["DeviceEditable"] = A.load.Bool(ptr + 60 + 25); 5476 } else { 5477 delete x["HexSSID"]["DeviceEditable"]; 5478 } 5479 } else { 5480 delete x["HexSSID"]; 5481 } 5482 if (A.load.Bool(ptr + 92 + 21)) { 5483 x["HiddenSSID"] = {}; 5484 if (A.load.Bool(ptr + 92 + 14)) { 5485 x["HiddenSSID"]["Active"] = A.load.Bool(ptr + 92 + 0); 5486 } else { 5487 delete x["HiddenSSID"]["Active"]; 5488 } 5489 x["HiddenSSID"]["Effective"] = A.load.Ref(ptr + 92 + 4, undefined); 5490 if (A.load.Bool(ptr + 92 + 15)) { 5491 x["HiddenSSID"]["UserPolicy"] = A.load.Bool(ptr + 92 + 8); 5492 } else { 5493 delete x["HiddenSSID"]["UserPolicy"]; 5494 } 5495 if (A.load.Bool(ptr + 92 + 16)) { 5496 x["HiddenSSID"]["DevicePolicy"] = A.load.Bool(ptr + 92 + 9); 5497 } else { 5498 delete x["HiddenSSID"]["DevicePolicy"]; 5499 } 5500 if (A.load.Bool(ptr + 92 + 17)) { 5501 x["HiddenSSID"]["UserSetting"] = A.load.Bool(ptr + 92 + 10); 5502 } else { 5503 delete x["HiddenSSID"]["UserSetting"]; 5504 } 5505 if (A.load.Bool(ptr + 92 + 18)) { 5506 x["HiddenSSID"]["SharedSetting"] = A.load.Bool(ptr + 92 + 11); 5507 } else { 5508 delete x["HiddenSSID"]["SharedSetting"]; 5509 } 5510 if (A.load.Bool(ptr + 92 + 19)) { 5511 x["HiddenSSID"]["UserEditable"] = A.load.Bool(ptr + 92 + 12); 5512 } else { 5513 delete x["HiddenSSID"]["UserEditable"]; 5514 } 5515 if (A.load.Bool(ptr + 92 + 20)) { 5516 x["HiddenSSID"]["DeviceEditable"] = A.load.Bool(ptr + 92 + 13); 5517 } else { 5518 delete x["HiddenSSID"]["DeviceEditable"]; 5519 } 5520 } else { 5521 delete x["HiddenSSID"]; 5522 } 5523 if (A.load.Bool(ptr + 116 + 33)) { 5524 x["RoamThreshold"] = {}; 5525 if (A.load.Bool(ptr + 116 + 26)) { 5526 x["RoamThreshold"]["Active"] = A.load.Int32(ptr + 116 + 0); 5527 } else { 5528 delete x["RoamThreshold"]["Active"]; 5529 } 5530 x["RoamThreshold"]["Effective"] = A.load.Ref(ptr + 116 + 4, undefined); 5531 if (A.load.Bool(ptr + 116 + 27)) { 5532 x["RoamThreshold"]["UserPolicy"] = A.load.Int32(ptr + 116 + 8); 5533 } else { 5534 delete x["RoamThreshold"]["UserPolicy"]; 5535 } 5536 if (A.load.Bool(ptr + 116 + 28)) { 5537 x["RoamThreshold"]["DevicePolicy"] = A.load.Int32(ptr + 116 + 12); 5538 } else { 5539 delete x["RoamThreshold"]["DevicePolicy"]; 5540 } 5541 if (A.load.Bool(ptr + 116 + 29)) { 5542 x["RoamThreshold"]["UserSetting"] = A.load.Int32(ptr + 116 + 16); 5543 } else { 5544 delete x["RoamThreshold"]["UserSetting"]; 5545 } 5546 if (A.load.Bool(ptr + 116 + 30)) { 5547 x["RoamThreshold"]["SharedSetting"] = A.load.Int32(ptr + 116 + 20); 5548 } else { 5549 delete x["RoamThreshold"]["SharedSetting"]; 5550 } 5551 if (A.load.Bool(ptr + 116 + 31)) { 5552 x["RoamThreshold"]["UserEditable"] = A.load.Bool(ptr + 116 + 24); 5553 } else { 5554 delete x["RoamThreshold"]["UserEditable"]; 5555 } 5556 if (A.load.Bool(ptr + 116 + 32)) { 5557 x["RoamThreshold"]["DeviceEditable"] = A.load.Bool(ptr + 116 + 25); 5558 } else { 5559 delete x["RoamThreshold"]["DeviceEditable"]; 5560 } 5561 } else { 5562 delete x["RoamThreshold"]; 5563 } 5564 if (A.load.Bool(ptr + 152 + 28)) { 5565 x["SSID"] = {}; 5566 x["SSID"]["Active"] = A.load.Ref(ptr + 152 + 0, undefined); 5567 x["SSID"]["Effective"] = A.load.Ref(ptr + 152 + 4, undefined); 5568 x["SSID"]["UserPolicy"] = A.load.Ref(ptr + 152 + 8, undefined); 5569 x["SSID"]["DevicePolicy"] = A.load.Ref(ptr + 152 + 12, undefined); 5570 x["SSID"]["UserSetting"] = A.load.Ref(ptr + 152 + 16, undefined); 5571 x["SSID"]["SharedSetting"] = A.load.Ref(ptr + 152 + 20, undefined); 5572 if (A.load.Bool(ptr + 152 + 26)) { 5573 x["SSID"]["UserEditable"] = A.load.Bool(ptr + 152 + 24); 5574 } else { 5575 delete x["SSID"]["UserEditable"]; 5576 } 5577 if (A.load.Bool(ptr + 152 + 27)) { 5578 x["SSID"]["DeviceEditable"] = A.load.Bool(ptr + 152 + 25); 5579 } else { 5580 delete x["SSID"]["DeviceEditable"]; 5581 } 5582 } else { 5583 delete x["SSID"]; 5584 } 5585 if (A.load.Bool(ptr + 184 + 28)) { 5586 x["Security"] = {}; 5587 x["Security"]["Active"] = A.load.Ref(ptr + 184 + 0, undefined); 5588 x["Security"]["Effective"] = A.load.Ref(ptr + 184 + 4, undefined); 5589 x["Security"]["UserPolicy"] = A.load.Ref(ptr + 184 + 8, undefined); 5590 x["Security"]["DevicePolicy"] = A.load.Ref(ptr + 184 + 12, undefined); 5591 x["Security"]["UserSetting"] = A.load.Ref(ptr + 184 + 16, undefined); 5592 x["Security"]["SharedSetting"] = A.load.Ref(ptr + 184 + 20, undefined); 5593 if (A.load.Bool(ptr + 184 + 26)) { 5594 x["Security"]["UserEditable"] = A.load.Bool(ptr + 184 + 24); 5595 } else { 5596 delete x["Security"]["UserEditable"]; 5597 } 5598 if (A.load.Bool(ptr + 184 + 27)) { 5599 x["Security"]["DeviceEditable"] = A.load.Bool(ptr + 184 + 25); 5600 } else { 5601 delete x["Security"]["DeviceEditable"]; 5602 } 5603 } else { 5604 delete x["Security"]; 5605 } 5606 if (A.load.Bool(ptr + 221)) { 5607 x["SignalStrength"] = A.load.Int32(ptr + 216); 5608 } else { 5609 delete x["SignalStrength"]; 5610 } 5611 return create === A.H.TRUE ? A.H.push(x) : ref; 5612 }, 5613 5614 "store_ManagedProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 5615 const x = A.H.get<any>(ref); 5616 5617 if (typeof x === "undefined") { 5618 A.store.Bool(ptr + 1293, false); 5619 5620 A.store.Bool(ptr + 0 + 134, false); 5621 5622 A.store.Bool(ptr + 0 + 0 + 21, false); 5623 A.store.Bool(ptr + 0 + 0 + 14, false); 5624 A.store.Bool(ptr + 0 + 0 + 0, false); 5625 A.store.Ref(ptr + 0 + 0 + 4, undefined); 5626 A.store.Bool(ptr + 0 + 0 + 15, false); 5627 A.store.Bool(ptr + 0 + 0 + 8, false); 5628 A.store.Bool(ptr + 0 + 0 + 16, false); 5629 A.store.Bool(ptr + 0 + 0 + 9, false); 5630 A.store.Bool(ptr + 0 + 0 + 17, false); 5631 A.store.Bool(ptr + 0 + 0 + 10, false); 5632 A.store.Bool(ptr + 0 + 0 + 18, false); 5633 A.store.Bool(ptr + 0 + 0 + 11, false); 5634 A.store.Bool(ptr + 0 + 0 + 19, false); 5635 A.store.Bool(ptr + 0 + 0 + 12, false); 5636 A.store.Bool(ptr + 0 + 0 + 20, false); 5637 A.store.Bool(ptr + 0 + 0 + 13, false); 5638 A.store.Ref(ptr + 0 + 24, undefined); 5639 A.store.Enum(ptr + 0 + 28, -1); 5640 A.store.Bool(ptr + 0 + 129, false); 5641 A.store.Bool(ptr + 0 + 32, false); 5642 A.store.Ref(ptr + 0 + 36, undefined); 5643 A.store.Ref(ptr + 0 + 40, undefined); 5644 A.store.Ref(ptr + 0 + 44, undefined); 5645 A.store.Ref(ptr + 0 + 48, undefined); 5646 A.store.Ref(ptr + 0 + 52, undefined); 5647 A.store.Ref(ptr + 0 + 56, undefined); 5648 A.store.Ref(ptr + 0 + 60, undefined); 5649 A.store.Ref(ptr + 0 + 64, undefined); 5650 5651 A.store.Bool(ptr + 0 + 68 + 12, false); 5652 A.store.Ref(ptr + 0 + 68 + 0, undefined); 5653 A.store.Ref(ptr + 0 + 68 + 4, undefined); 5654 A.store.Ref(ptr + 0 + 68 + 8, undefined); 5655 A.store.Ref(ptr + 0 + 84, undefined); 5656 A.store.Bool(ptr + 0 + 130, false); 5657 A.store.Bool(ptr + 0 + 88, false); 5658 5659 A.store.Bool(ptr + 0 + 92 + 12, false); 5660 A.store.Ref(ptr + 0 + 92 + 0, undefined); 5661 A.store.Ref(ptr + 0 + 92 + 4, undefined); 5662 A.store.Ref(ptr + 0 + 92 + 8, undefined); 5663 5664 A.store.Bool(ptr + 0 + 108 + 14, false); 5665 A.store.Ref(ptr + 0 + 108 + 0, undefined); 5666 A.store.Bool(ptr + 0 + 108 + 12, false); 5667 A.store.Bool(ptr + 0 + 108 + 4, false); 5668 A.store.Bool(ptr + 0 + 108 + 13, false); 5669 A.store.Int32(ptr + 0 + 108 + 8, 0); 5670 A.store.Bool(ptr + 0 + 131, false); 5671 A.store.Bool(ptr + 0 + 123, false); 5672 A.store.Bool(ptr + 0 + 132, false); 5673 A.store.Int32(ptr + 0 + 124, 0); 5674 A.store.Bool(ptr + 0 + 133, false); 5675 A.store.Bool(ptr + 0 + 128, false); 5676 A.store.Bool(ptr + 1291, false); 5677 A.store.Bool(ptr + 135, false); 5678 A.store.Enum(ptr + 136, -1); 5679 A.store.Ref(ptr + 140, undefined); 5680 5681 A.store.Bool(ptr + 144 + 53, false); 5682 5683 A.store.Bool(ptr + 144 + 0 + 21, false); 5684 A.store.Bool(ptr + 144 + 0 + 14, false); 5685 A.store.Bool(ptr + 144 + 0 + 0, false); 5686 A.store.Ref(ptr + 144 + 0 + 4, undefined); 5687 A.store.Bool(ptr + 144 + 0 + 15, false); 5688 A.store.Bool(ptr + 144 + 0 + 8, false); 5689 A.store.Bool(ptr + 144 + 0 + 16, false); 5690 A.store.Bool(ptr + 144 + 0 + 9, false); 5691 A.store.Bool(ptr + 144 + 0 + 17, false); 5692 A.store.Bool(ptr + 144 + 0 + 10, false); 5693 A.store.Bool(ptr + 144 + 0 + 18, false); 5694 A.store.Bool(ptr + 144 + 0 + 11, false); 5695 A.store.Bool(ptr + 144 + 0 + 19, false); 5696 A.store.Bool(ptr + 144 + 0 + 12, false); 5697 A.store.Bool(ptr + 144 + 0 + 20, false); 5698 A.store.Bool(ptr + 144 + 0 + 13, false); 5699 5700 A.store.Bool(ptr + 144 + 24 + 28, false); 5701 A.store.Ref(ptr + 144 + 24 + 0, undefined); 5702 A.store.Ref(ptr + 144 + 24 + 4, undefined); 5703 A.store.Ref(ptr + 144 + 24 + 8, undefined); 5704 A.store.Ref(ptr + 144 + 24 + 12, undefined); 5705 A.store.Ref(ptr + 144 + 24 + 16, undefined); 5706 A.store.Ref(ptr + 144 + 24 + 20, undefined); 5707 A.store.Bool(ptr + 144 + 24 + 26, false); 5708 A.store.Bool(ptr + 144 + 24 + 24, false); 5709 A.store.Bool(ptr + 144 + 24 + 27, false); 5710 A.store.Bool(ptr + 144 + 24 + 25, false); 5711 A.store.Ref(ptr + 200, undefined); 5712 5713 A.store.Bool(ptr + 204 + 28, false); 5714 A.store.Enum(ptr + 204 + 0, -1); 5715 A.store.Ref(ptr + 204 + 4, undefined); 5716 A.store.Enum(ptr + 204 + 8, -1); 5717 A.store.Enum(ptr + 204 + 12, -1); 5718 A.store.Enum(ptr + 204 + 16, -1); 5719 A.store.Enum(ptr + 204 + 20, -1); 5720 A.store.Bool(ptr + 204 + 26, false); 5721 A.store.Bool(ptr + 204 + 24, false); 5722 A.store.Bool(ptr + 204 + 27, false); 5723 A.store.Bool(ptr + 204 + 25, false); 5724 A.store.Ref(ptr + 236, undefined); 5725 A.store.Ref(ptr + 240, undefined); 5726 5727 A.store.Bool(ptr + 244 + 21, false); 5728 A.store.Bool(ptr + 244 + 14, false); 5729 A.store.Bool(ptr + 244 + 0, false); 5730 A.store.Ref(ptr + 244 + 4, undefined); 5731 A.store.Bool(ptr + 244 + 15, false); 5732 A.store.Bool(ptr + 244 + 8, false); 5733 A.store.Bool(ptr + 244 + 16, false); 5734 A.store.Bool(ptr + 244 + 9, false); 5735 A.store.Bool(ptr + 244 + 17, false); 5736 A.store.Bool(ptr + 244 + 10, false); 5737 A.store.Bool(ptr + 244 + 18, false); 5738 A.store.Bool(ptr + 244 + 11, false); 5739 A.store.Bool(ptr + 244 + 19, false); 5740 A.store.Bool(ptr + 244 + 12, false); 5741 A.store.Bool(ptr + 244 + 20, false); 5742 A.store.Bool(ptr + 244 + 13, false); 5743 5744 A.store.Bool(ptr + 268 + 28, false); 5745 A.store.Ref(ptr + 268 + 0, undefined); 5746 A.store.Ref(ptr + 268 + 4, undefined); 5747 A.store.Ref(ptr + 268 + 8, undefined); 5748 A.store.Ref(ptr + 268 + 12, undefined); 5749 A.store.Ref(ptr + 268 + 16, undefined); 5750 A.store.Ref(ptr + 268 + 20, undefined); 5751 A.store.Bool(ptr + 268 + 26, false); 5752 A.store.Bool(ptr + 268 + 24, false); 5753 A.store.Bool(ptr + 268 + 27, false); 5754 A.store.Bool(ptr + 268 + 25, false); 5755 5756 A.store.Bool(ptr + 300 + 28, false); 5757 A.store.Enum(ptr + 300 + 0, -1); 5758 A.store.Ref(ptr + 300 + 4, undefined); 5759 A.store.Enum(ptr + 300 + 8, -1); 5760 A.store.Enum(ptr + 300 + 12, -1); 5761 A.store.Enum(ptr + 300 + 16, -1); 5762 A.store.Enum(ptr + 300 + 20, -1); 5763 A.store.Bool(ptr + 300 + 26, false); 5764 A.store.Bool(ptr + 300 + 24, false); 5765 A.store.Bool(ptr + 300 + 27, false); 5766 A.store.Bool(ptr + 300 + 25, false); 5767 5768 A.store.Bool(ptr + 332 + 33, false); 5769 A.store.Bool(ptr + 332 + 26, false); 5770 A.store.Int32(ptr + 332 + 0, 0); 5771 A.store.Ref(ptr + 332 + 4, undefined); 5772 A.store.Bool(ptr + 332 + 27, false); 5773 A.store.Int32(ptr + 332 + 8, 0); 5774 A.store.Bool(ptr + 332 + 28, false); 5775 A.store.Int32(ptr + 332 + 12, 0); 5776 A.store.Bool(ptr + 332 + 29, false); 5777 A.store.Int32(ptr + 332 + 16, 0); 5778 A.store.Bool(ptr + 332 + 30, false); 5779 A.store.Int32(ptr + 332 + 20, 0); 5780 A.store.Bool(ptr + 332 + 31, false); 5781 A.store.Bool(ptr + 332 + 24, false); 5782 A.store.Bool(ptr + 332 + 32, false); 5783 A.store.Bool(ptr + 332 + 25, false); 5784 5785 A.store.Bool(ptr + 368 + 365, false); 5786 5787 A.store.Bool(ptr + 368 + 0 + 28, false); 5788 A.store.Enum(ptr + 368 + 0 + 0, -1); 5789 A.store.Ref(ptr + 368 + 0 + 4, undefined); 5790 A.store.Enum(ptr + 368 + 0 + 8, -1); 5791 A.store.Enum(ptr + 368 + 0 + 12, -1); 5792 A.store.Enum(ptr + 368 + 0 + 16, -1); 5793 A.store.Enum(ptr + 368 + 0 + 20, -1); 5794 A.store.Bool(ptr + 368 + 0 + 26, false); 5795 A.store.Bool(ptr + 368 + 0 + 24, false); 5796 A.store.Bool(ptr + 368 + 0 + 27, false); 5797 A.store.Bool(ptr + 368 + 0 + 25, false); 5798 5799 A.store.Bool(ptr + 368 + 32 + 271, false); 5800 5801 A.store.Bool(ptr + 368 + 32 + 0 + 66, false); 5802 5803 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 28, false); 5804 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 0, undefined); 5805 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 4, undefined); 5806 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 8, undefined); 5807 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 12, undefined); 5808 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 16, undefined); 5809 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 20, undefined); 5810 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 26, false); 5811 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 24, false); 5812 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 27, false); 5813 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 25, false); 5814 5815 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 33, false); 5816 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 26, false); 5817 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 0, 0); 5818 A.store.Ref(ptr + 368 + 32 + 0 + 32 + 4, undefined); 5819 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 27, false); 5820 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 8, 0); 5821 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 28, false); 5822 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 12, 0); 5823 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 29, false); 5824 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 16, 0); 5825 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 30, false); 5826 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 20, 0); 5827 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 31, false); 5828 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 24, false); 5829 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 32, false); 5830 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 25, false); 5831 5832 A.store.Bool(ptr + 368 + 32 + 68 + 66, false); 5833 5834 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 28, false); 5835 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 0, undefined); 5836 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 4, undefined); 5837 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 8, undefined); 5838 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 12, undefined); 5839 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 16, undefined); 5840 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 20, undefined); 5841 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 26, false); 5842 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 24, false); 5843 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 27, false); 5844 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 25, false); 5845 5846 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 33, false); 5847 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 26, false); 5848 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 0, 0); 5849 A.store.Ref(ptr + 368 + 32 + 68 + 32 + 4, undefined); 5850 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 27, false); 5851 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 8, 0); 5852 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 28, false); 5853 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 12, 0); 5854 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 29, false); 5855 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 16, 0); 5856 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 30, false); 5857 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 20, 0); 5858 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 31, false); 5859 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 24, false); 5860 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 32, false); 5861 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 25, false); 5862 5863 A.store.Bool(ptr + 368 + 32 + 136 + 66, false); 5864 5865 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 28, false); 5866 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 0, undefined); 5867 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 4, undefined); 5868 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 8, undefined); 5869 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 12, undefined); 5870 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 16, undefined); 5871 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 20, undefined); 5872 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 26, false); 5873 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 24, false); 5874 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 27, false); 5875 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 25, false); 5876 5877 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 33, false); 5878 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 26, false); 5879 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 0, 0); 5880 A.store.Ref(ptr + 368 + 32 + 136 + 32 + 4, undefined); 5881 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 27, false); 5882 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 8, 0); 5883 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 28, false); 5884 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 12, 0); 5885 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 29, false); 5886 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 16, 0); 5887 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 30, false); 5888 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 20, 0); 5889 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 31, false); 5890 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 24, false); 5891 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 32, false); 5892 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 25, false); 5893 5894 A.store.Bool(ptr + 368 + 32 + 204 + 66, false); 5895 5896 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 28, false); 5897 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 0, undefined); 5898 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 4, undefined); 5899 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 8, undefined); 5900 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 12, undefined); 5901 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 16, undefined); 5902 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 20, undefined); 5903 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 26, false); 5904 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 24, false); 5905 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 27, false); 5906 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 25, false); 5907 5908 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 33, false); 5909 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 26, false); 5910 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 0, 0); 5911 A.store.Ref(ptr + 368 + 32 + 204 + 32 + 4, undefined); 5912 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 27, false); 5913 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 8, 0); 5914 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 28, false); 5915 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 12, 0); 5916 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 29, false); 5917 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 16, 0); 5918 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 30, false); 5919 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 20, 0); 5920 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 31, false); 5921 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 24, false); 5922 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 32, false); 5923 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 25, false); 5924 5925 A.store.Bool(ptr + 368 + 304 + 28, false); 5926 A.store.Ref(ptr + 368 + 304 + 0, undefined); 5927 A.store.Ref(ptr + 368 + 304 + 4, undefined); 5928 A.store.Ref(ptr + 368 + 304 + 8, undefined); 5929 A.store.Ref(ptr + 368 + 304 + 12, undefined); 5930 A.store.Ref(ptr + 368 + 304 + 16, undefined); 5931 A.store.Ref(ptr + 368 + 304 + 20, undefined); 5932 A.store.Bool(ptr + 368 + 304 + 26, false); 5933 A.store.Bool(ptr + 368 + 304 + 24, false); 5934 A.store.Bool(ptr + 368 + 304 + 27, false); 5935 A.store.Bool(ptr + 368 + 304 + 25, false); 5936 5937 A.store.Bool(ptr + 368 + 336 + 28, false); 5938 A.store.Ref(ptr + 368 + 336 + 0, undefined); 5939 A.store.Ref(ptr + 368 + 336 + 4, undefined); 5940 A.store.Ref(ptr + 368 + 336 + 8, undefined); 5941 A.store.Ref(ptr + 368 + 336 + 12, undefined); 5942 A.store.Ref(ptr + 368 + 336 + 16, undefined); 5943 A.store.Ref(ptr + 368 + 336 + 20, undefined); 5944 A.store.Bool(ptr + 368 + 336 + 26, false); 5945 A.store.Bool(ptr + 368 + 336 + 24, false); 5946 A.store.Bool(ptr + 368 + 336 + 27, false); 5947 A.store.Bool(ptr + 368 + 336 + 25, false); 5948 A.store.Bool(ptr + 1292, false); 5949 A.store.Bool(ptr + 734, false); 5950 5951 A.store.Bool(ptr + 736 + 193, false); 5952 5953 A.store.Bool(ptr + 736 + 0 + 28, false); 5954 A.store.Ref(ptr + 736 + 0 + 0, undefined); 5955 A.store.Ref(ptr + 736 + 0 + 4, undefined); 5956 A.store.Ref(ptr + 736 + 0 + 8, undefined); 5957 A.store.Ref(ptr + 736 + 0 + 12, undefined); 5958 A.store.Ref(ptr + 736 + 0 + 16, undefined); 5959 A.store.Ref(ptr + 736 + 0 + 20, undefined); 5960 A.store.Bool(ptr + 736 + 0 + 26, false); 5961 A.store.Bool(ptr + 736 + 0 + 24, false); 5962 A.store.Bool(ptr + 736 + 0 + 27, false); 5963 A.store.Bool(ptr + 736 + 0 + 25, false); 5964 5965 A.store.Bool(ptr + 736 + 32 + 28, false); 5966 A.store.Ref(ptr + 736 + 32 + 0, undefined); 5967 A.store.Ref(ptr + 736 + 32 + 4, undefined); 5968 A.store.Ref(ptr + 736 + 32 + 8, undefined); 5969 A.store.Ref(ptr + 736 + 32 + 12, undefined); 5970 A.store.Ref(ptr + 736 + 32 + 16, undefined); 5971 A.store.Ref(ptr + 736 + 32 + 20, undefined); 5972 A.store.Bool(ptr + 736 + 32 + 26, false); 5973 A.store.Bool(ptr + 736 + 32 + 24, false); 5974 A.store.Bool(ptr + 736 + 32 + 27, false); 5975 A.store.Bool(ptr + 736 + 32 + 25, false); 5976 5977 A.store.Bool(ptr + 736 + 64 + 28, false); 5978 A.store.Ref(ptr + 736 + 64 + 0, undefined); 5979 A.store.Ref(ptr + 736 + 64 + 4, undefined); 5980 A.store.Ref(ptr + 736 + 64 + 8, undefined); 5981 A.store.Ref(ptr + 736 + 64 + 12, undefined); 5982 A.store.Ref(ptr + 736 + 64 + 16, undefined); 5983 A.store.Ref(ptr + 736 + 64 + 20, undefined); 5984 A.store.Bool(ptr + 736 + 64 + 26, false); 5985 A.store.Bool(ptr + 736 + 64 + 24, false); 5986 A.store.Bool(ptr + 736 + 64 + 27, false); 5987 A.store.Bool(ptr + 736 + 64 + 25, false); 5988 5989 A.store.Bool(ptr + 736 + 96 + 33, false); 5990 A.store.Bool(ptr + 736 + 96 + 26, false); 5991 A.store.Int32(ptr + 736 + 96 + 0, 0); 5992 A.store.Ref(ptr + 736 + 96 + 4, undefined); 5993 A.store.Bool(ptr + 736 + 96 + 27, false); 5994 A.store.Int32(ptr + 736 + 96 + 8, 0); 5995 A.store.Bool(ptr + 736 + 96 + 28, false); 5996 A.store.Int32(ptr + 736 + 96 + 12, 0); 5997 A.store.Bool(ptr + 736 + 96 + 29, false); 5998 A.store.Int32(ptr + 736 + 96 + 16, 0); 5999 A.store.Bool(ptr + 736 + 96 + 30, false); 6000 A.store.Int32(ptr + 736 + 96 + 20, 0); 6001 A.store.Bool(ptr + 736 + 96 + 31, false); 6002 A.store.Bool(ptr + 736 + 96 + 24, false); 6003 A.store.Bool(ptr + 736 + 96 + 32, false); 6004 A.store.Bool(ptr + 736 + 96 + 25, false); 6005 6006 A.store.Bool(ptr + 736 + 132 + 28, false); 6007 A.store.Ref(ptr + 736 + 132 + 0, undefined); 6008 A.store.Ref(ptr + 736 + 132 + 4, undefined); 6009 A.store.Ref(ptr + 736 + 132 + 8, undefined); 6010 A.store.Ref(ptr + 736 + 132 + 12, undefined); 6011 A.store.Ref(ptr + 736 + 132 + 16, undefined); 6012 A.store.Ref(ptr + 736 + 132 + 20, undefined); 6013 A.store.Bool(ptr + 736 + 132 + 26, false); 6014 A.store.Bool(ptr + 736 + 132 + 24, false); 6015 A.store.Bool(ptr + 736 + 132 + 27, false); 6016 A.store.Bool(ptr + 736 + 132 + 25, false); 6017 6018 A.store.Bool(ptr + 736 + 164 + 28, false); 6019 A.store.Ref(ptr + 736 + 164 + 0, undefined); 6020 A.store.Ref(ptr + 736 + 164 + 4, undefined); 6021 A.store.Ref(ptr + 736 + 164 + 8, undefined); 6022 A.store.Ref(ptr + 736 + 164 + 12, undefined); 6023 A.store.Ref(ptr + 736 + 164 + 16, undefined); 6024 A.store.Ref(ptr + 736 + 164 + 20, undefined); 6025 A.store.Bool(ptr + 736 + 164 + 26, false); 6026 A.store.Bool(ptr + 736 + 164 + 24, false); 6027 A.store.Bool(ptr + 736 + 164 + 27, false); 6028 A.store.Bool(ptr + 736 + 164 + 25, false); 6029 6030 A.store.Bool(ptr + 932 + 37, false); 6031 A.store.Ref(ptr + 932 + 0, undefined); 6032 A.store.Ref(ptr + 932 + 4, undefined); 6033 A.store.Ref(ptr + 932 + 8, undefined); 6034 A.store.Ref(ptr + 932 + 12, undefined); 6035 A.store.Ref(ptr + 932 + 16, undefined); 6036 A.store.Ref(ptr + 932 + 20, undefined); 6037 A.store.Bool(ptr + 932 + 36, false); 6038 A.store.Int32(ptr + 932 + 24, 0); 6039 A.store.Ref(ptr + 932 + 28, undefined); 6040 A.store.Ref(ptr + 932 + 32, undefined); 6041 A.store.Ref(ptr + 972, undefined); 6042 A.store.Enum(ptr + 976, -1); 6043 6044 A.store.Bool(ptr + 980 + 85, false); 6045 6046 A.store.Bool(ptr + 980 + 0 + 21, false); 6047 A.store.Bool(ptr + 980 + 0 + 14, false); 6048 A.store.Bool(ptr + 980 + 0 + 0, false); 6049 A.store.Ref(ptr + 980 + 0 + 4, undefined); 6050 A.store.Bool(ptr + 980 + 0 + 15, false); 6051 A.store.Bool(ptr + 980 + 0 + 8, false); 6052 A.store.Bool(ptr + 980 + 0 + 16, false); 6053 A.store.Bool(ptr + 980 + 0 + 9, false); 6054 A.store.Bool(ptr + 980 + 0 + 17, false); 6055 A.store.Bool(ptr + 980 + 0 + 10, false); 6056 A.store.Bool(ptr + 980 + 0 + 18, false); 6057 A.store.Bool(ptr + 980 + 0 + 11, false); 6058 A.store.Bool(ptr + 980 + 0 + 19, false); 6059 A.store.Bool(ptr + 980 + 0 + 12, false); 6060 A.store.Bool(ptr + 980 + 0 + 20, false); 6061 A.store.Bool(ptr + 980 + 0 + 13, false); 6062 6063 A.store.Bool(ptr + 980 + 24 + 28, false); 6064 A.store.Ref(ptr + 980 + 24 + 0, undefined); 6065 A.store.Ref(ptr + 980 + 24 + 4, undefined); 6066 A.store.Ref(ptr + 980 + 24 + 8, undefined); 6067 A.store.Ref(ptr + 980 + 24 + 12, undefined); 6068 A.store.Ref(ptr + 980 + 24 + 16, undefined); 6069 A.store.Ref(ptr + 980 + 24 + 20, undefined); 6070 A.store.Bool(ptr + 980 + 24 + 26, false); 6071 A.store.Bool(ptr + 980 + 24 + 24, false); 6072 A.store.Bool(ptr + 980 + 24 + 27, false); 6073 A.store.Bool(ptr + 980 + 24 + 25, false); 6074 6075 A.store.Bool(ptr + 980 + 56 + 28, false); 6076 A.store.Ref(ptr + 980 + 56 + 0, undefined); 6077 A.store.Ref(ptr + 980 + 56 + 4, undefined); 6078 A.store.Ref(ptr + 980 + 56 + 8, undefined); 6079 A.store.Ref(ptr + 980 + 56 + 12, undefined); 6080 A.store.Ref(ptr + 980 + 56 + 16, undefined); 6081 A.store.Ref(ptr + 980 + 56 + 20, undefined); 6082 A.store.Bool(ptr + 980 + 56 + 26, false); 6083 A.store.Bool(ptr + 980 + 56 + 24, false); 6084 A.store.Bool(ptr + 980 + 56 + 27, false); 6085 A.store.Bool(ptr + 980 + 56 + 25, false); 6086 6087 A.store.Bool(ptr + 1068 + 222, false); 6088 6089 A.store.Bool(ptr + 1068 + 0 + 21, false); 6090 A.store.Bool(ptr + 1068 + 0 + 14, false); 6091 A.store.Bool(ptr + 1068 + 0 + 0, false); 6092 A.store.Ref(ptr + 1068 + 0 + 4, undefined); 6093 A.store.Bool(ptr + 1068 + 0 + 15, false); 6094 A.store.Bool(ptr + 1068 + 0 + 8, false); 6095 A.store.Bool(ptr + 1068 + 0 + 16, false); 6096 A.store.Bool(ptr + 1068 + 0 + 9, false); 6097 A.store.Bool(ptr + 1068 + 0 + 17, false); 6098 A.store.Bool(ptr + 1068 + 0 + 10, false); 6099 A.store.Bool(ptr + 1068 + 0 + 18, false); 6100 A.store.Bool(ptr + 1068 + 0 + 11, false); 6101 A.store.Bool(ptr + 1068 + 0 + 19, false); 6102 A.store.Bool(ptr + 1068 + 0 + 12, false); 6103 A.store.Bool(ptr + 1068 + 0 + 20, false); 6104 A.store.Bool(ptr + 1068 + 0 + 13, false); 6105 6106 A.store.Bool(ptr + 1068 + 24 + 21, false); 6107 A.store.Bool(ptr + 1068 + 24 + 14, false); 6108 A.store.Bool(ptr + 1068 + 24 + 0, false); 6109 A.store.Ref(ptr + 1068 + 24 + 4, undefined); 6110 A.store.Bool(ptr + 1068 + 24 + 15, false); 6111 A.store.Bool(ptr + 1068 + 24 + 8, false); 6112 A.store.Bool(ptr + 1068 + 24 + 16, false); 6113 A.store.Bool(ptr + 1068 + 24 + 9, false); 6114 A.store.Bool(ptr + 1068 + 24 + 17, false); 6115 A.store.Bool(ptr + 1068 + 24 + 10, false); 6116 A.store.Bool(ptr + 1068 + 24 + 18, false); 6117 A.store.Bool(ptr + 1068 + 24 + 11, false); 6118 A.store.Bool(ptr + 1068 + 24 + 19, false); 6119 A.store.Bool(ptr + 1068 + 24 + 12, false); 6120 A.store.Bool(ptr + 1068 + 24 + 20, false); 6121 A.store.Bool(ptr + 1068 + 24 + 13, false); 6122 A.store.Ref(ptr + 1068 + 48, undefined); 6123 A.store.Bool(ptr + 1068 + 220, false); 6124 A.store.Int32(ptr + 1068 + 52, 0); 6125 A.store.Ref(ptr + 1068 + 56, undefined); 6126 6127 A.store.Bool(ptr + 1068 + 60 + 28, false); 6128 A.store.Ref(ptr + 1068 + 60 + 0, undefined); 6129 A.store.Ref(ptr + 1068 + 60 + 4, undefined); 6130 A.store.Ref(ptr + 1068 + 60 + 8, undefined); 6131 A.store.Ref(ptr + 1068 + 60 + 12, undefined); 6132 A.store.Ref(ptr + 1068 + 60 + 16, undefined); 6133 A.store.Ref(ptr + 1068 + 60 + 20, undefined); 6134 A.store.Bool(ptr + 1068 + 60 + 26, false); 6135 A.store.Bool(ptr + 1068 + 60 + 24, false); 6136 A.store.Bool(ptr + 1068 + 60 + 27, false); 6137 A.store.Bool(ptr + 1068 + 60 + 25, false); 6138 6139 A.store.Bool(ptr + 1068 + 92 + 21, false); 6140 A.store.Bool(ptr + 1068 + 92 + 14, false); 6141 A.store.Bool(ptr + 1068 + 92 + 0, false); 6142 A.store.Ref(ptr + 1068 + 92 + 4, undefined); 6143 A.store.Bool(ptr + 1068 + 92 + 15, false); 6144 A.store.Bool(ptr + 1068 + 92 + 8, false); 6145 A.store.Bool(ptr + 1068 + 92 + 16, false); 6146 A.store.Bool(ptr + 1068 + 92 + 9, false); 6147 A.store.Bool(ptr + 1068 + 92 + 17, false); 6148 A.store.Bool(ptr + 1068 + 92 + 10, false); 6149 A.store.Bool(ptr + 1068 + 92 + 18, false); 6150 A.store.Bool(ptr + 1068 + 92 + 11, false); 6151 A.store.Bool(ptr + 1068 + 92 + 19, false); 6152 A.store.Bool(ptr + 1068 + 92 + 12, false); 6153 A.store.Bool(ptr + 1068 + 92 + 20, false); 6154 A.store.Bool(ptr + 1068 + 92 + 13, false); 6155 6156 A.store.Bool(ptr + 1068 + 116 + 33, false); 6157 A.store.Bool(ptr + 1068 + 116 + 26, false); 6158 A.store.Int32(ptr + 1068 + 116 + 0, 0); 6159 A.store.Ref(ptr + 1068 + 116 + 4, undefined); 6160 A.store.Bool(ptr + 1068 + 116 + 27, false); 6161 A.store.Int32(ptr + 1068 + 116 + 8, 0); 6162 A.store.Bool(ptr + 1068 + 116 + 28, false); 6163 A.store.Int32(ptr + 1068 + 116 + 12, 0); 6164 A.store.Bool(ptr + 1068 + 116 + 29, false); 6165 A.store.Int32(ptr + 1068 + 116 + 16, 0); 6166 A.store.Bool(ptr + 1068 + 116 + 30, false); 6167 A.store.Int32(ptr + 1068 + 116 + 20, 0); 6168 A.store.Bool(ptr + 1068 + 116 + 31, false); 6169 A.store.Bool(ptr + 1068 + 116 + 24, false); 6170 A.store.Bool(ptr + 1068 + 116 + 32, false); 6171 A.store.Bool(ptr + 1068 + 116 + 25, false); 6172 6173 A.store.Bool(ptr + 1068 + 152 + 28, false); 6174 A.store.Ref(ptr + 1068 + 152 + 0, undefined); 6175 A.store.Ref(ptr + 1068 + 152 + 4, undefined); 6176 A.store.Ref(ptr + 1068 + 152 + 8, undefined); 6177 A.store.Ref(ptr + 1068 + 152 + 12, undefined); 6178 A.store.Ref(ptr + 1068 + 152 + 16, undefined); 6179 A.store.Ref(ptr + 1068 + 152 + 20, undefined); 6180 A.store.Bool(ptr + 1068 + 152 + 26, false); 6181 A.store.Bool(ptr + 1068 + 152 + 24, false); 6182 A.store.Bool(ptr + 1068 + 152 + 27, false); 6183 A.store.Bool(ptr + 1068 + 152 + 25, false); 6184 6185 A.store.Bool(ptr + 1068 + 184 + 28, false); 6186 A.store.Ref(ptr + 1068 + 184 + 0, undefined); 6187 A.store.Ref(ptr + 1068 + 184 + 4, undefined); 6188 A.store.Ref(ptr + 1068 + 184 + 8, undefined); 6189 A.store.Ref(ptr + 1068 + 184 + 12, undefined); 6190 A.store.Ref(ptr + 1068 + 184 + 16, undefined); 6191 A.store.Ref(ptr + 1068 + 184 + 20, undefined); 6192 A.store.Bool(ptr + 1068 + 184 + 26, false); 6193 A.store.Bool(ptr + 1068 + 184 + 24, false); 6194 A.store.Bool(ptr + 1068 + 184 + 27, false); 6195 A.store.Bool(ptr + 1068 + 184 + 25, false); 6196 A.store.Bool(ptr + 1068 + 221, false); 6197 A.store.Int32(ptr + 1068 + 216, 0); 6198 } else { 6199 A.store.Bool(ptr + 1293, true); 6200 6201 if (typeof x["Cellular"] === "undefined") { 6202 A.store.Bool(ptr + 0 + 134, false); 6203 6204 A.store.Bool(ptr + 0 + 0 + 21, false); 6205 A.store.Bool(ptr + 0 + 0 + 14, false); 6206 A.store.Bool(ptr + 0 + 0 + 0, false); 6207 A.store.Ref(ptr + 0 + 0 + 4, undefined); 6208 A.store.Bool(ptr + 0 + 0 + 15, false); 6209 A.store.Bool(ptr + 0 + 0 + 8, false); 6210 A.store.Bool(ptr + 0 + 0 + 16, false); 6211 A.store.Bool(ptr + 0 + 0 + 9, false); 6212 A.store.Bool(ptr + 0 + 0 + 17, false); 6213 A.store.Bool(ptr + 0 + 0 + 10, false); 6214 A.store.Bool(ptr + 0 + 0 + 18, false); 6215 A.store.Bool(ptr + 0 + 0 + 11, false); 6216 A.store.Bool(ptr + 0 + 0 + 19, false); 6217 A.store.Bool(ptr + 0 + 0 + 12, false); 6218 A.store.Bool(ptr + 0 + 0 + 20, false); 6219 A.store.Bool(ptr + 0 + 0 + 13, false); 6220 A.store.Ref(ptr + 0 + 24, undefined); 6221 A.store.Enum(ptr + 0 + 28, -1); 6222 A.store.Bool(ptr + 0 + 129, false); 6223 A.store.Bool(ptr + 0 + 32, false); 6224 A.store.Ref(ptr + 0 + 36, undefined); 6225 A.store.Ref(ptr + 0 + 40, undefined); 6226 A.store.Ref(ptr + 0 + 44, undefined); 6227 A.store.Ref(ptr + 0 + 48, undefined); 6228 A.store.Ref(ptr + 0 + 52, undefined); 6229 A.store.Ref(ptr + 0 + 56, undefined); 6230 A.store.Ref(ptr + 0 + 60, undefined); 6231 A.store.Ref(ptr + 0 + 64, undefined); 6232 6233 A.store.Bool(ptr + 0 + 68 + 12, false); 6234 A.store.Ref(ptr + 0 + 68 + 0, undefined); 6235 A.store.Ref(ptr + 0 + 68 + 4, undefined); 6236 A.store.Ref(ptr + 0 + 68 + 8, undefined); 6237 A.store.Ref(ptr + 0 + 84, undefined); 6238 A.store.Bool(ptr + 0 + 130, false); 6239 A.store.Bool(ptr + 0 + 88, false); 6240 6241 A.store.Bool(ptr + 0 + 92 + 12, false); 6242 A.store.Ref(ptr + 0 + 92 + 0, undefined); 6243 A.store.Ref(ptr + 0 + 92 + 4, undefined); 6244 A.store.Ref(ptr + 0 + 92 + 8, undefined); 6245 6246 A.store.Bool(ptr + 0 + 108 + 14, false); 6247 A.store.Ref(ptr + 0 + 108 + 0, undefined); 6248 A.store.Bool(ptr + 0 + 108 + 12, false); 6249 A.store.Bool(ptr + 0 + 108 + 4, false); 6250 A.store.Bool(ptr + 0 + 108 + 13, false); 6251 A.store.Int32(ptr + 0 + 108 + 8, 0); 6252 A.store.Bool(ptr + 0 + 131, false); 6253 A.store.Bool(ptr + 0 + 123, false); 6254 A.store.Bool(ptr + 0 + 132, false); 6255 A.store.Int32(ptr + 0 + 124, 0); 6256 A.store.Bool(ptr + 0 + 133, false); 6257 A.store.Bool(ptr + 0 + 128, false); 6258 } else { 6259 A.store.Bool(ptr + 0 + 134, true); 6260 6261 if (typeof x["Cellular"]["AutoConnect"] === "undefined") { 6262 A.store.Bool(ptr + 0 + 0 + 21, false); 6263 A.store.Bool(ptr + 0 + 0 + 14, false); 6264 A.store.Bool(ptr + 0 + 0 + 0, false); 6265 A.store.Ref(ptr + 0 + 0 + 4, undefined); 6266 A.store.Bool(ptr + 0 + 0 + 15, false); 6267 A.store.Bool(ptr + 0 + 0 + 8, false); 6268 A.store.Bool(ptr + 0 + 0 + 16, false); 6269 A.store.Bool(ptr + 0 + 0 + 9, false); 6270 A.store.Bool(ptr + 0 + 0 + 17, false); 6271 A.store.Bool(ptr + 0 + 0 + 10, false); 6272 A.store.Bool(ptr + 0 + 0 + 18, false); 6273 A.store.Bool(ptr + 0 + 0 + 11, false); 6274 A.store.Bool(ptr + 0 + 0 + 19, false); 6275 A.store.Bool(ptr + 0 + 0 + 12, false); 6276 A.store.Bool(ptr + 0 + 0 + 20, false); 6277 A.store.Bool(ptr + 0 + 0 + 13, false); 6278 } else { 6279 A.store.Bool(ptr + 0 + 0 + 21, true); 6280 A.store.Bool(ptr + 0 + 0 + 14, "Active" in x["Cellular"]["AutoConnect"] ? true : false); 6281 A.store.Bool(ptr + 0 + 0 + 0, x["Cellular"]["AutoConnect"]["Active"] ? true : false); 6282 A.store.Ref(ptr + 0 + 0 + 4, x["Cellular"]["AutoConnect"]["Effective"]); 6283 A.store.Bool(ptr + 0 + 0 + 15, "UserPolicy" in x["Cellular"]["AutoConnect"] ? true : false); 6284 A.store.Bool(ptr + 0 + 0 + 8, x["Cellular"]["AutoConnect"]["UserPolicy"] ? true : false); 6285 A.store.Bool(ptr + 0 + 0 + 16, "DevicePolicy" in x["Cellular"]["AutoConnect"] ? true : false); 6286 A.store.Bool(ptr + 0 + 0 + 9, x["Cellular"]["AutoConnect"]["DevicePolicy"] ? true : false); 6287 A.store.Bool(ptr + 0 + 0 + 17, "UserSetting" in x["Cellular"]["AutoConnect"] ? true : false); 6288 A.store.Bool(ptr + 0 + 0 + 10, x["Cellular"]["AutoConnect"]["UserSetting"] ? true : false); 6289 A.store.Bool(ptr + 0 + 0 + 18, "SharedSetting" in x["Cellular"]["AutoConnect"] ? true : false); 6290 A.store.Bool(ptr + 0 + 0 + 11, x["Cellular"]["AutoConnect"]["SharedSetting"] ? true : false); 6291 A.store.Bool(ptr + 0 + 0 + 19, "UserEditable" in x["Cellular"]["AutoConnect"] ? true : false); 6292 A.store.Bool(ptr + 0 + 0 + 12, x["Cellular"]["AutoConnect"]["UserEditable"] ? true : false); 6293 A.store.Bool(ptr + 0 + 0 + 20, "DeviceEditable" in x["Cellular"]["AutoConnect"] ? true : false); 6294 A.store.Bool(ptr + 0 + 0 + 13, x["Cellular"]["AutoConnect"]["DeviceEditable"] ? true : false); 6295 } 6296 A.store.Ref(ptr + 0 + 24, x["Cellular"]["ActivationType"]); 6297 A.store.Enum( 6298 ptr + 0 + 28, 6299 ["Activated", "Activating", "NotActivated", "PartiallyActivated"].indexOf( 6300 x["Cellular"]["ActivationState"] as string 6301 ) 6302 ); 6303 A.store.Bool(ptr + 0 + 129, "AllowRoaming" in x["Cellular"] ? true : false); 6304 A.store.Bool(ptr + 0 + 32, x["Cellular"]["AllowRoaming"] ? true : false); 6305 A.store.Ref(ptr + 0 + 36, x["Cellular"]["Family"]); 6306 A.store.Ref(ptr + 0 + 40, x["Cellular"]["FirmwareRevision"]); 6307 A.store.Ref(ptr + 0 + 44, x["Cellular"]["FoundNetworks"]); 6308 A.store.Ref(ptr + 0 + 48, x["Cellular"]["HardwareRevision"]); 6309 A.store.Ref(ptr + 0 + 52, x["Cellular"]["HomeProvider"]); 6310 A.store.Ref(ptr + 0 + 56, x["Cellular"]["Manufacturer"]); 6311 A.store.Ref(ptr + 0 + 60, x["Cellular"]["ModelID"]); 6312 A.store.Ref(ptr + 0 + 64, x["Cellular"]["NetworkTechnology"]); 6313 6314 if (typeof x["Cellular"]["PaymentPortal"] === "undefined") { 6315 A.store.Bool(ptr + 0 + 68 + 12, false); 6316 A.store.Ref(ptr + 0 + 68 + 0, undefined); 6317 A.store.Ref(ptr + 0 + 68 + 4, undefined); 6318 A.store.Ref(ptr + 0 + 68 + 8, undefined); 6319 } else { 6320 A.store.Bool(ptr + 0 + 68 + 12, true); 6321 A.store.Ref(ptr + 0 + 68 + 0, x["Cellular"]["PaymentPortal"]["Method"]); 6322 A.store.Ref(ptr + 0 + 68 + 4, x["Cellular"]["PaymentPortal"]["PostData"]); 6323 A.store.Ref(ptr + 0 + 68 + 8, x["Cellular"]["PaymentPortal"]["Url"]); 6324 } 6325 A.store.Ref(ptr + 0 + 84, x["Cellular"]["RoamingState"]); 6326 A.store.Bool(ptr + 0 + 130, "Scanning" in x["Cellular"] ? true : false); 6327 A.store.Bool(ptr + 0 + 88, x["Cellular"]["Scanning"] ? true : false); 6328 6329 if (typeof x["Cellular"]["ServingOperator"] === "undefined") { 6330 A.store.Bool(ptr + 0 + 92 + 12, false); 6331 A.store.Ref(ptr + 0 + 92 + 0, undefined); 6332 A.store.Ref(ptr + 0 + 92 + 4, undefined); 6333 A.store.Ref(ptr + 0 + 92 + 8, undefined); 6334 } else { 6335 A.store.Bool(ptr + 0 + 92 + 12, true); 6336 A.store.Ref(ptr + 0 + 92 + 0, x["Cellular"]["ServingOperator"]["Name"]); 6337 A.store.Ref(ptr + 0 + 92 + 4, x["Cellular"]["ServingOperator"]["Code"]); 6338 A.store.Ref(ptr + 0 + 92 + 8, x["Cellular"]["ServingOperator"]["Country"]); 6339 } 6340 6341 if (typeof x["Cellular"]["SIMLockStatus"] === "undefined") { 6342 A.store.Bool(ptr + 0 + 108 + 14, false); 6343 A.store.Ref(ptr + 0 + 108 + 0, undefined); 6344 A.store.Bool(ptr + 0 + 108 + 12, false); 6345 A.store.Bool(ptr + 0 + 108 + 4, false); 6346 A.store.Bool(ptr + 0 + 108 + 13, false); 6347 A.store.Int32(ptr + 0 + 108 + 8, 0); 6348 } else { 6349 A.store.Bool(ptr + 0 + 108 + 14, true); 6350 A.store.Ref(ptr + 0 + 108 + 0, x["Cellular"]["SIMLockStatus"]["LockType"]); 6351 A.store.Bool(ptr + 0 + 108 + 12, "LockEnabled" in x["Cellular"]["SIMLockStatus"] ? true : false); 6352 A.store.Bool(ptr + 0 + 108 + 4, x["Cellular"]["SIMLockStatus"]["LockEnabled"] ? true : false); 6353 A.store.Bool(ptr + 0 + 108 + 13, "RetriesLeft" in x["Cellular"]["SIMLockStatus"] ? true : false); 6354 A.store.Int32( 6355 ptr + 0 + 108 + 8, 6356 x["Cellular"]["SIMLockStatus"]["RetriesLeft"] === undefined 6357 ? 0 6358 : (x["Cellular"]["SIMLockStatus"]["RetriesLeft"] as number) 6359 ); 6360 } 6361 A.store.Bool(ptr + 0 + 131, "SIMPresent" in x["Cellular"] ? true : false); 6362 A.store.Bool(ptr + 0 + 123, x["Cellular"]["SIMPresent"] ? true : false); 6363 A.store.Bool(ptr + 0 + 132, "SignalStrength" in x["Cellular"] ? true : false); 6364 A.store.Int32( 6365 ptr + 0 + 124, 6366 x["Cellular"]["SignalStrength"] === undefined ? 0 : (x["Cellular"]["SignalStrength"] as number) 6367 ); 6368 A.store.Bool(ptr + 0 + 133, "SupportNetworkScan" in x["Cellular"] ? true : false); 6369 A.store.Bool(ptr + 0 + 128, x["Cellular"]["SupportNetworkScan"] ? true : false); 6370 } 6371 A.store.Bool(ptr + 1291, "Connectable" in x ? true : false); 6372 A.store.Bool(ptr + 135, x["Connectable"] ? true : false); 6373 A.store.Enum(ptr + 136, ["Connected", "Connecting", "NotConnected"].indexOf(x["ConnectionState"] as string)); 6374 A.store.Ref(ptr + 140, x["ErrorState"]); 6375 6376 if (typeof x["Ethernet"] === "undefined") { 6377 A.store.Bool(ptr + 144 + 53, false); 6378 6379 A.store.Bool(ptr + 144 + 0 + 21, false); 6380 A.store.Bool(ptr + 144 + 0 + 14, false); 6381 A.store.Bool(ptr + 144 + 0 + 0, false); 6382 A.store.Ref(ptr + 144 + 0 + 4, undefined); 6383 A.store.Bool(ptr + 144 + 0 + 15, false); 6384 A.store.Bool(ptr + 144 + 0 + 8, false); 6385 A.store.Bool(ptr + 144 + 0 + 16, false); 6386 A.store.Bool(ptr + 144 + 0 + 9, false); 6387 A.store.Bool(ptr + 144 + 0 + 17, false); 6388 A.store.Bool(ptr + 144 + 0 + 10, false); 6389 A.store.Bool(ptr + 144 + 0 + 18, false); 6390 A.store.Bool(ptr + 144 + 0 + 11, false); 6391 A.store.Bool(ptr + 144 + 0 + 19, false); 6392 A.store.Bool(ptr + 144 + 0 + 12, false); 6393 A.store.Bool(ptr + 144 + 0 + 20, false); 6394 A.store.Bool(ptr + 144 + 0 + 13, false); 6395 6396 A.store.Bool(ptr + 144 + 24 + 28, false); 6397 A.store.Ref(ptr + 144 + 24 + 0, undefined); 6398 A.store.Ref(ptr + 144 + 24 + 4, undefined); 6399 A.store.Ref(ptr + 144 + 24 + 8, undefined); 6400 A.store.Ref(ptr + 144 + 24 + 12, undefined); 6401 A.store.Ref(ptr + 144 + 24 + 16, undefined); 6402 A.store.Ref(ptr + 144 + 24 + 20, undefined); 6403 A.store.Bool(ptr + 144 + 24 + 26, false); 6404 A.store.Bool(ptr + 144 + 24 + 24, false); 6405 A.store.Bool(ptr + 144 + 24 + 27, false); 6406 A.store.Bool(ptr + 144 + 24 + 25, false); 6407 } else { 6408 A.store.Bool(ptr + 144 + 53, true); 6409 6410 if (typeof x["Ethernet"]["AutoConnect"] === "undefined") { 6411 A.store.Bool(ptr + 144 + 0 + 21, false); 6412 A.store.Bool(ptr + 144 + 0 + 14, false); 6413 A.store.Bool(ptr + 144 + 0 + 0, false); 6414 A.store.Ref(ptr + 144 + 0 + 4, undefined); 6415 A.store.Bool(ptr + 144 + 0 + 15, false); 6416 A.store.Bool(ptr + 144 + 0 + 8, false); 6417 A.store.Bool(ptr + 144 + 0 + 16, false); 6418 A.store.Bool(ptr + 144 + 0 + 9, false); 6419 A.store.Bool(ptr + 144 + 0 + 17, false); 6420 A.store.Bool(ptr + 144 + 0 + 10, false); 6421 A.store.Bool(ptr + 144 + 0 + 18, false); 6422 A.store.Bool(ptr + 144 + 0 + 11, false); 6423 A.store.Bool(ptr + 144 + 0 + 19, false); 6424 A.store.Bool(ptr + 144 + 0 + 12, false); 6425 A.store.Bool(ptr + 144 + 0 + 20, false); 6426 A.store.Bool(ptr + 144 + 0 + 13, false); 6427 } else { 6428 A.store.Bool(ptr + 144 + 0 + 21, true); 6429 A.store.Bool(ptr + 144 + 0 + 14, "Active" in x["Ethernet"]["AutoConnect"] ? true : false); 6430 A.store.Bool(ptr + 144 + 0 + 0, x["Ethernet"]["AutoConnect"]["Active"] ? true : false); 6431 A.store.Ref(ptr + 144 + 0 + 4, x["Ethernet"]["AutoConnect"]["Effective"]); 6432 A.store.Bool(ptr + 144 + 0 + 15, "UserPolicy" in x["Ethernet"]["AutoConnect"] ? true : false); 6433 A.store.Bool(ptr + 144 + 0 + 8, x["Ethernet"]["AutoConnect"]["UserPolicy"] ? true : false); 6434 A.store.Bool(ptr + 144 + 0 + 16, "DevicePolicy" in x["Ethernet"]["AutoConnect"] ? true : false); 6435 A.store.Bool(ptr + 144 + 0 + 9, x["Ethernet"]["AutoConnect"]["DevicePolicy"] ? true : false); 6436 A.store.Bool(ptr + 144 + 0 + 17, "UserSetting" in x["Ethernet"]["AutoConnect"] ? true : false); 6437 A.store.Bool(ptr + 144 + 0 + 10, x["Ethernet"]["AutoConnect"]["UserSetting"] ? true : false); 6438 A.store.Bool(ptr + 144 + 0 + 18, "SharedSetting" in x["Ethernet"]["AutoConnect"] ? true : false); 6439 A.store.Bool(ptr + 144 + 0 + 11, x["Ethernet"]["AutoConnect"]["SharedSetting"] ? true : false); 6440 A.store.Bool(ptr + 144 + 0 + 19, "UserEditable" in x["Ethernet"]["AutoConnect"] ? true : false); 6441 A.store.Bool(ptr + 144 + 0 + 12, x["Ethernet"]["AutoConnect"]["UserEditable"] ? true : false); 6442 A.store.Bool(ptr + 144 + 0 + 20, "DeviceEditable" in x["Ethernet"]["AutoConnect"] ? true : false); 6443 A.store.Bool(ptr + 144 + 0 + 13, x["Ethernet"]["AutoConnect"]["DeviceEditable"] ? true : false); 6444 } 6445 6446 if (typeof x["Ethernet"]["Authentication"] === "undefined") { 6447 A.store.Bool(ptr + 144 + 24 + 28, false); 6448 A.store.Ref(ptr + 144 + 24 + 0, undefined); 6449 A.store.Ref(ptr + 144 + 24 + 4, undefined); 6450 A.store.Ref(ptr + 144 + 24 + 8, undefined); 6451 A.store.Ref(ptr + 144 + 24 + 12, undefined); 6452 A.store.Ref(ptr + 144 + 24 + 16, undefined); 6453 A.store.Ref(ptr + 144 + 24 + 20, undefined); 6454 A.store.Bool(ptr + 144 + 24 + 26, false); 6455 A.store.Bool(ptr + 144 + 24 + 24, false); 6456 A.store.Bool(ptr + 144 + 24 + 27, false); 6457 A.store.Bool(ptr + 144 + 24 + 25, false); 6458 } else { 6459 A.store.Bool(ptr + 144 + 24 + 28, true); 6460 A.store.Ref(ptr + 144 + 24 + 0, x["Ethernet"]["Authentication"]["Active"]); 6461 A.store.Ref(ptr + 144 + 24 + 4, x["Ethernet"]["Authentication"]["Effective"]); 6462 A.store.Ref(ptr + 144 + 24 + 8, x["Ethernet"]["Authentication"]["UserPolicy"]); 6463 A.store.Ref(ptr + 144 + 24 + 12, x["Ethernet"]["Authentication"]["DevicePolicy"]); 6464 A.store.Ref(ptr + 144 + 24 + 16, x["Ethernet"]["Authentication"]["UserSetting"]); 6465 A.store.Ref(ptr + 144 + 24 + 20, x["Ethernet"]["Authentication"]["SharedSetting"]); 6466 A.store.Bool(ptr + 144 + 24 + 26, "UserEditable" in x["Ethernet"]["Authentication"] ? true : false); 6467 A.store.Bool(ptr + 144 + 24 + 24, x["Ethernet"]["Authentication"]["UserEditable"] ? true : false); 6468 A.store.Bool(ptr + 144 + 24 + 27, "DeviceEditable" in x["Ethernet"]["Authentication"] ? true : false); 6469 A.store.Bool(ptr + 144 + 24 + 25, x["Ethernet"]["Authentication"]["DeviceEditable"] ? true : false); 6470 } 6471 } 6472 A.store.Ref(ptr + 200, x["GUID"]); 6473 6474 if (typeof x["IPAddressConfigType"] === "undefined") { 6475 A.store.Bool(ptr + 204 + 28, false); 6476 A.store.Enum(ptr + 204 + 0, -1); 6477 A.store.Ref(ptr + 204 + 4, undefined); 6478 A.store.Enum(ptr + 204 + 8, -1); 6479 A.store.Enum(ptr + 204 + 12, -1); 6480 A.store.Enum(ptr + 204 + 16, -1); 6481 A.store.Enum(ptr + 204 + 20, -1); 6482 A.store.Bool(ptr + 204 + 26, false); 6483 A.store.Bool(ptr + 204 + 24, false); 6484 A.store.Bool(ptr + 204 + 27, false); 6485 A.store.Bool(ptr + 204 + 25, false); 6486 } else { 6487 A.store.Bool(ptr + 204 + 28, true); 6488 A.store.Enum(ptr + 204 + 0, ["DHCP", "Static"].indexOf(x["IPAddressConfigType"]["Active"] as string)); 6489 A.store.Ref(ptr + 204 + 4, x["IPAddressConfigType"]["Effective"]); 6490 A.store.Enum(ptr + 204 + 8, ["DHCP", "Static"].indexOf(x["IPAddressConfigType"]["UserPolicy"] as string)); 6491 A.store.Enum(ptr + 204 + 12, ["DHCP", "Static"].indexOf(x["IPAddressConfigType"]["DevicePolicy"] as string)); 6492 A.store.Enum(ptr + 204 + 16, ["DHCP", "Static"].indexOf(x["IPAddressConfigType"]["UserSetting"] as string)); 6493 A.store.Enum(ptr + 204 + 20, ["DHCP", "Static"].indexOf(x["IPAddressConfigType"]["SharedSetting"] as string)); 6494 A.store.Bool(ptr + 204 + 26, "UserEditable" in x["IPAddressConfigType"] ? true : false); 6495 A.store.Bool(ptr + 204 + 24, x["IPAddressConfigType"]["UserEditable"] ? true : false); 6496 A.store.Bool(ptr + 204 + 27, "DeviceEditable" in x["IPAddressConfigType"] ? true : false); 6497 A.store.Bool(ptr + 204 + 25, x["IPAddressConfigType"]["DeviceEditable"] ? true : false); 6498 } 6499 A.store.Ref(ptr + 236, x["IPConfigs"]); 6500 A.store.Ref(ptr + 240, x["MacAddress"]); 6501 6502 if (typeof x["Metered"] === "undefined") { 6503 A.store.Bool(ptr + 244 + 21, false); 6504 A.store.Bool(ptr + 244 + 14, false); 6505 A.store.Bool(ptr + 244 + 0, false); 6506 A.store.Ref(ptr + 244 + 4, undefined); 6507 A.store.Bool(ptr + 244 + 15, false); 6508 A.store.Bool(ptr + 244 + 8, false); 6509 A.store.Bool(ptr + 244 + 16, false); 6510 A.store.Bool(ptr + 244 + 9, false); 6511 A.store.Bool(ptr + 244 + 17, false); 6512 A.store.Bool(ptr + 244 + 10, false); 6513 A.store.Bool(ptr + 244 + 18, false); 6514 A.store.Bool(ptr + 244 + 11, false); 6515 A.store.Bool(ptr + 244 + 19, false); 6516 A.store.Bool(ptr + 244 + 12, false); 6517 A.store.Bool(ptr + 244 + 20, false); 6518 A.store.Bool(ptr + 244 + 13, false); 6519 } else { 6520 A.store.Bool(ptr + 244 + 21, true); 6521 A.store.Bool(ptr + 244 + 14, "Active" in x["Metered"] ? true : false); 6522 A.store.Bool(ptr + 244 + 0, x["Metered"]["Active"] ? true : false); 6523 A.store.Ref(ptr + 244 + 4, x["Metered"]["Effective"]); 6524 A.store.Bool(ptr + 244 + 15, "UserPolicy" in x["Metered"] ? true : false); 6525 A.store.Bool(ptr + 244 + 8, x["Metered"]["UserPolicy"] ? true : false); 6526 A.store.Bool(ptr + 244 + 16, "DevicePolicy" in x["Metered"] ? true : false); 6527 A.store.Bool(ptr + 244 + 9, x["Metered"]["DevicePolicy"] ? true : false); 6528 A.store.Bool(ptr + 244 + 17, "UserSetting" in x["Metered"] ? true : false); 6529 A.store.Bool(ptr + 244 + 10, x["Metered"]["UserSetting"] ? true : false); 6530 A.store.Bool(ptr + 244 + 18, "SharedSetting" in x["Metered"] ? true : false); 6531 A.store.Bool(ptr + 244 + 11, x["Metered"]["SharedSetting"] ? true : false); 6532 A.store.Bool(ptr + 244 + 19, "UserEditable" in x["Metered"] ? true : false); 6533 A.store.Bool(ptr + 244 + 12, x["Metered"]["UserEditable"] ? true : false); 6534 A.store.Bool(ptr + 244 + 20, "DeviceEditable" in x["Metered"] ? true : false); 6535 A.store.Bool(ptr + 244 + 13, x["Metered"]["DeviceEditable"] ? true : false); 6536 } 6537 6538 if (typeof x["Name"] === "undefined") { 6539 A.store.Bool(ptr + 268 + 28, false); 6540 A.store.Ref(ptr + 268 + 0, undefined); 6541 A.store.Ref(ptr + 268 + 4, undefined); 6542 A.store.Ref(ptr + 268 + 8, undefined); 6543 A.store.Ref(ptr + 268 + 12, undefined); 6544 A.store.Ref(ptr + 268 + 16, undefined); 6545 A.store.Ref(ptr + 268 + 20, undefined); 6546 A.store.Bool(ptr + 268 + 26, false); 6547 A.store.Bool(ptr + 268 + 24, false); 6548 A.store.Bool(ptr + 268 + 27, false); 6549 A.store.Bool(ptr + 268 + 25, false); 6550 } else { 6551 A.store.Bool(ptr + 268 + 28, true); 6552 A.store.Ref(ptr + 268 + 0, x["Name"]["Active"]); 6553 A.store.Ref(ptr + 268 + 4, x["Name"]["Effective"]); 6554 A.store.Ref(ptr + 268 + 8, x["Name"]["UserPolicy"]); 6555 A.store.Ref(ptr + 268 + 12, x["Name"]["DevicePolicy"]); 6556 A.store.Ref(ptr + 268 + 16, x["Name"]["UserSetting"]); 6557 A.store.Ref(ptr + 268 + 20, x["Name"]["SharedSetting"]); 6558 A.store.Bool(ptr + 268 + 26, "UserEditable" in x["Name"] ? true : false); 6559 A.store.Bool(ptr + 268 + 24, x["Name"]["UserEditable"] ? true : false); 6560 A.store.Bool(ptr + 268 + 27, "DeviceEditable" in x["Name"] ? true : false); 6561 A.store.Bool(ptr + 268 + 25, x["Name"]["DeviceEditable"] ? true : false); 6562 } 6563 6564 if (typeof x["NameServersConfigType"] === "undefined") { 6565 A.store.Bool(ptr + 300 + 28, false); 6566 A.store.Enum(ptr + 300 + 0, -1); 6567 A.store.Ref(ptr + 300 + 4, undefined); 6568 A.store.Enum(ptr + 300 + 8, -1); 6569 A.store.Enum(ptr + 300 + 12, -1); 6570 A.store.Enum(ptr + 300 + 16, -1); 6571 A.store.Enum(ptr + 300 + 20, -1); 6572 A.store.Bool(ptr + 300 + 26, false); 6573 A.store.Bool(ptr + 300 + 24, false); 6574 A.store.Bool(ptr + 300 + 27, false); 6575 A.store.Bool(ptr + 300 + 25, false); 6576 } else { 6577 A.store.Bool(ptr + 300 + 28, true); 6578 A.store.Enum(ptr + 300 + 0, ["DHCP", "Static"].indexOf(x["NameServersConfigType"]["Active"] as string)); 6579 A.store.Ref(ptr + 300 + 4, x["NameServersConfigType"]["Effective"]); 6580 A.store.Enum(ptr + 300 + 8, ["DHCP", "Static"].indexOf(x["NameServersConfigType"]["UserPolicy"] as string)); 6581 A.store.Enum( 6582 ptr + 300 + 12, 6583 ["DHCP", "Static"].indexOf(x["NameServersConfigType"]["DevicePolicy"] as string) 6584 ); 6585 A.store.Enum(ptr + 300 + 16, ["DHCP", "Static"].indexOf(x["NameServersConfigType"]["UserSetting"] as string)); 6586 A.store.Enum( 6587 ptr + 300 + 20, 6588 ["DHCP", "Static"].indexOf(x["NameServersConfigType"]["SharedSetting"] as string) 6589 ); 6590 A.store.Bool(ptr + 300 + 26, "UserEditable" in x["NameServersConfigType"] ? true : false); 6591 A.store.Bool(ptr + 300 + 24, x["NameServersConfigType"]["UserEditable"] ? true : false); 6592 A.store.Bool(ptr + 300 + 27, "DeviceEditable" in x["NameServersConfigType"] ? true : false); 6593 A.store.Bool(ptr + 300 + 25, x["NameServersConfigType"]["DeviceEditable"] ? true : false); 6594 } 6595 6596 if (typeof x["Priority"] === "undefined") { 6597 A.store.Bool(ptr + 332 + 33, false); 6598 A.store.Bool(ptr + 332 + 26, false); 6599 A.store.Int32(ptr + 332 + 0, 0); 6600 A.store.Ref(ptr + 332 + 4, undefined); 6601 A.store.Bool(ptr + 332 + 27, false); 6602 A.store.Int32(ptr + 332 + 8, 0); 6603 A.store.Bool(ptr + 332 + 28, false); 6604 A.store.Int32(ptr + 332 + 12, 0); 6605 A.store.Bool(ptr + 332 + 29, false); 6606 A.store.Int32(ptr + 332 + 16, 0); 6607 A.store.Bool(ptr + 332 + 30, false); 6608 A.store.Int32(ptr + 332 + 20, 0); 6609 A.store.Bool(ptr + 332 + 31, false); 6610 A.store.Bool(ptr + 332 + 24, false); 6611 A.store.Bool(ptr + 332 + 32, false); 6612 A.store.Bool(ptr + 332 + 25, false); 6613 } else { 6614 A.store.Bool(ptr + 332 + 33, true); 6615 A.store.Bool(ptr + 332 + 26, "Active" in x["Priority"] ? true : false); 6616 A.store.Int32(ptr + 332 + 0, x["Priority"]["Active"] === undefined ? 0 : (x["Priority"]["Active"] as number)); 6617 A.store.Ref(ptr + 332 + 4, x["Priority"]["Effective"]); 6618 A.store.Bool(ptr + 332 + 27, "UserPolicy" in x["Priority"] ? true : false); 6619 A.store.Int32( 6620 ptr + 332 + 8, 6621 x["Priority"]["UserPolicy"] === undefined ? 0 : (x["Priority"]["UserPolicy"] as number) 6622 ); 6623 A.store.Bool(ptr + 332 + 28, "DevicePolicy" in x["Priority"] ? true : false); 6624 A.store.Int32( 6625 ptr + 332 + 12, 6626 x["Priority"]["DevicePolicy"] === undefined ? 0 : (x["Priority"]["DevicePolicy"] as number) 6627 ); 6628 A.store.Bool(ptr + 332 + 29, "UserSetting" in x["Priority"] ? true : false); 6629 A.store.Int32( 6630 ptr + 332 + 16, 6631 x["Priority"]["UserSetting"] === undefined ? 0 : (x["Priority"]["UserSetting"] as number) 6632 ); 6633 A.store.Bool(ptr + 332 + 30, "SharedSetting" in x["Priority"] ? true : false); 6634 A.store.Int32( 6635 ptr + 332 + 20, 6636 x["Priority"]["SharedSetting"] === undefined ? 0 : (x["Priority"]["SharedSetting"] as number) 6637 ); 6638 A.store.Bool(ptr + 332 + 31, "UserEditable" in x["Priority"] ? true : false); 6639 A.store.Bool(ptr + 332 + 24, x["Priority"]["UserEditable"] ? true : false); 6640 A.store.Bool(ptr + 332 + 32, "DeviceEditable" in x["Priority"] ? true : false); 6641 A.store.Bool(ptr + 332 + 25, x["Priority"]["DeviceEditable"] ? true : false); 6642 } 6643 6644 if (typeof x["ProxySettings"] === "undefined") { 6645 A.store.Bool(ptr + 368 + 365, false); 6646 6647 A.store.Bool(ptr + 368 + 0 + 28, false); 6648 A.store.Enum(ptr + 368 + 0 + 0, -1); 6649 A.store.Ref(ptr + 368 + 0 + 4, undefined); 6650 A.store.Enum(ptr + 368 + 0 + 8, -1); 6651 A.store.Enum(ptr + 368 + 0 + 12, -1); 6652 A.store.Enum(ptr + 368 + 0 + 16, -1); 6653 A.store.Enum(ptr + 368 + 0 + 20, -1); 6654 A.store.Bool(ptr + 368 + 0 + 26, false); 6655 A.store.Bool(ptr + 368 + 0 + 24, false); 6656 A.store.Bool(ptr + 368 + 0 + 27, false); 6657 A.store.Bool(ptr + 368 + 0 + 25, false); 6658 6659 A.store.Bool(ptr + 368 + 32 + 271, false); 6660 6661 A.store.Bool(ptr + 368 + 32 + 0 + 66, false); 6662 6663 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 28, false); 6664 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 0, undefined); 6665 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 4, undefined); 6666 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 8, undefined); 6667 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 12, undefined); 6668 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 16, undefined); 6669 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 20, undefined); 6670 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 26, false); 6671 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 24, false); 6672 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 27, false); 6673 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 25, false); 6674 6675 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 33, false); 6676 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 26, false); 6677 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 0, 0); 6678 A.store.Ref(ptr + 368 + 32 + 0 + 32 + 4, undefined); 6679 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 27, false); 6680 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 8, 0); 6681 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 28, false); 6682 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 12, 0); 6683 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 29, false); 6684 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 16, 0); 6685 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 30, false); 6686 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 20, 0); 6687 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 31, false); 6688 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 24, false); 6689 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 32, false); 6690 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 25, false); 6691 6692 A.store.Bool(ptr + 368 + 32 + 68 + 66, false); 6693 6694 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 28, false); 6695 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 0, undefined); 6696 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 4, undefined); 6697 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 8, undefined); 6698 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 12, undefined); 6699 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 16, undefined); 6700 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 20, undefined); 6701 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 26, false); 6702 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 24, false); 6703 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 27, false); 6704 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 25, false); 6705 6706 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 33, false); 6707 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 26, false); 6708 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 0, 0); 6709 A.store.Ref(ptr + 368 + 32 + 68 + 32 + 4, undefined); 6710 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 27, false); 6711 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 8, 0); 6712 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 28, false); 6713 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 12, 0); 6714 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 29, false); 6715 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 16, 0); 6716 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 30, false); 6717 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 20, 0); 6718 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 31, false); 6719 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 24, false); 6720 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 32, false); 6721 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 25, false); 6722 6723 A.store.Bool(ptr + 368 + 32 + 136 + 66, false); 6724 6725 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 28, false); 6726 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 0, undefined); 6727 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 4, undefined); 6728 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 8, undefined); 6729 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 12, undefined); 6730 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 16, undefined); 6731 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 20, undefined); 6732 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 26, false); 6733 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 24, false); 6734 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 27, false); 6735 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 25, false); 6736 6737 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 33, false); 6738 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 26, false); 6739 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 0, 0); 6740 A.store.Ref(ptr + 368 + 32 + 136 + 32 + 4, undefined); 6741 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 27, false); 6742 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 8, 0); 6743 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 28, false); 6744 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 12, 0); 6745 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 29, false); 6746 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 16, 0); 6747 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 30, false); 6748 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 20, 0); 6749 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 31, false); 6750 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 24, false); 6751 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 32, false); 6752 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 25, false); 6753 6754 A.store.Bool(ptr + 368 + 32 + 204 + 66, false); 6755 6756 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 28, false); 6757 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 0, undefined); 6758 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 4, undefined); 6759 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 8, undefined); 6760 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 12, undefined); 6761 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 16, undefined); 6762 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 20, undefined); 6763 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 26, false); 6764 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 24, false); 6765 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 27, false); 6766 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 25, false); 6767 6768 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 33, false); 6769 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 26, false); 6770 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 0, 0); 6771 A.store.Ref(ptr + 368 + 32 + 204 + 32 + 4, undefined); 6772 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 27, false); 6773 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 8, 0); 6774 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 28, false); 6775 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 12, 0); 6776 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 29, false); 6777 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 16, 0); 6778 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 30, false); 6779 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 20, 0); 6780 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 31, false); 6781 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 24, false); 6782 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 32, false); 6783 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 25, false); 6784 6785 A.store.Bool(ptr + 368 + 304 + 28, false); 6786 A.store.Ref(ptr + 368 + 304 + 0, undefined); 6787 A.store.Ref(ptr + 368 + 304 + 4, undefined); 6788 A.store.Ref(ptr + 368 + 304 + 8, undefined); 6789 A.store.Ref(ptr + 368 + 304 + 12, undefined); 6790 A.store.Ref(ptr + 368 + 304 + 16, undefined); 6791 A.store.Ref(ptr + 368 + 304 + 20, undefined); 6792 A.store.Bool(ptr + 368 + 304 + 26, false); 6793 A.store.Bool(ptr + 368 + 304 + 24, false); 6794 A.store.Bool(ptr + 368 + 304 + 27, false); 6795 A.store.Bool(ptr + 368 + 304 + 25, false); 6796 6797 A.store.Bool(ptr + 368 + 336 + 28, false); 6798 A.store.Ref(ptr + 368 + 336 + 0, undefined); 6799 A.store.Ref(ptr + 368 + 336 + 4, undefined); 6800 A.store.Ref(ptr + 368 + 336 + 8, undefined); 6801 A.store.Ref(ptr + 368 + 336 + 12, undefined); 6802 A.store.Ref(ptr + 368 + 336 + 16, undefined); 6803 A.store.Ref(ptr + 368 + 336 + 20, undefined); 6804 A.store.Bool(ptr + 368 + 336 + 26, false); 6805 A.store.Bool(ptr + 368 + 336 + 24, false); 6806 A.store.Bool(ptr + 368 + 336 + 27, false); 6807 A.store.Bool(ptr + 368 + 336 + 25, false); 6808 } else { 6809 A.store.Bool(ptr + 368 + 365, true); 6810 6811 if (typeof x["ProxySettings"]["Type"] === "undefined") { 6812 A.store.Bool(ptr + 368 + 0 + 28, false); 6813 A.store.Enum(ptr + 368 + 0 + 0, -1); 6814 A.store.Ref(ptr + 368 + 0 + 4, undefined); 6815 A.store.Enum(ptr + 368 + 0 + 8, -1); 6816 A.store.Enum(ptr + 368 + 0 + 12, -1); 6817 A.store.Enum(ptr + 368 + 0 + 16, -1); 6818 A.store.Enum(ptr + 368 + 0 + 20, -1); 6819 A.store.Bool(ptr + 368 + 0 + 26, false); 6820 A.store.Bool(ptr + 368 + 0 + 24, false); 6821 A.store.Bool(ptr + 368 + 0 + 27, false); 6822 A.store.Bool(ptr + 368 + 0 + 25, false); 6823 } else { 6824 A.store.Bool(ptr + 368 + 0 + 28, true); 6825 A.store.Enum( 6826 ptr + 368 + 0 + 0, 6827 ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["ProxySettings"]["Type"]["Active"] as string) 6828 ); 6829 A.store.Ref(ptr + 368 + 0 + 4, x["ProxySettings"]["Type"]["Effective"]); 6830 A.store.Enum( 6831 ptr + 368 + 0 + 8, 6832 ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["ProxySettings"]["Type"]["UserPolicy"] as string) 6833 ); 6834 A.store.Enum( 6835 ptr + 368 + 0 + 12, 6836 ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["ProxySettings"]["Type"]["DevicePolicy"] as string) 6837 ); 6838 A.store.Enum( 6839 ptr + 368 + 0 + 16, 6840 ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["ProxySettings"]["Type"]["UserSetting"] as string) 6841 ); 6842 A.store.Enum( 6843 ptr + 368 + 0 + 20, 6844 ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["ProxySettings"]["Type"]["SharedSetting"] as string) 6845 ); 6846 A.store.Bool(ptr + 368 + 0 + 26, "UserEditable" in x["ProxySettings"]["Type"] ? true : false); 6847 A.store.Bool(ptr + 368 + 0 + 24, x["ProxySettings"]["Type"]["UserEditable"] ? true : false); 6848 A.store.Bool(ptr + 368 + 0 + 27, "DeviceEditable" in x["ProxySettings"]["Type"] ? true : false); 6849 A.store.Bool(ptr + 368 + 0 + 25, x["ProxySettings"]["Type"]["DeviceEditable"] ? true : false); 6850 } 6851 6852 if (typeof x["ProxySettings"]["Manual"] === "undefined") { 6853 A.store.Bool(ptr + 368 + 32 + 271, false); 6854 6855 A.store.Bool(ptr + 368 + 32 + 0 + 66, false); 6856 6857 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 28, false); 6858 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 0, undefined); 6859 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 4, undefined); 6860 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 8, undefined); 6861 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 12, undefined); 6862 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 16, undefined); 6863 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 20, undefined); 6864 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 26, false); 6865 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 24, false); 6866 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 27, false); 6867 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 25, false); 6868 6869 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 33, false); 6870 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 26, false); 6871 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 0, 0); 6872 A.store.Ref(ptr + 368 + 32 + 0 + 32 + 4, undefined); 6873 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 27, false); 6874 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 8, 0); 6875 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 28, false); 6876 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 12, 0); 6877 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 29, false); 6878 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 16, 0); 6879 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 30, false); 6880 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 20, 0); 6881 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 31, false); 6882 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 24, false); 6883 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 32, false); 6884 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 25, false); 6885 6886 A.store.Bool(ptr + 368 + 32 + 68 + 66, false); 6887 6888 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 28, false); 6889 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 0, undefined); 6890 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 4, undefined); 6891 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 8, undefined); 6892 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 12, undefined); 6893 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 16, undefined); 6894 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 20, undefined); 6895 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 26, false); 6896 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 24, false); 6897 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 27, false); 6898 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 25, false); 6899 6900 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 33, false); 6901 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 26, false); 6902 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 0, 0); 6903 A.store.Ref(ptr + 368 + 32 + 68 + 32 + 4, undefined); 6904 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 27, false); 6905 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 8, 0); 6906 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 28, false); 6907 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 12, 0); 6908 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 29, false); 6909 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 16, 0); 6910 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 30, false); 6911 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 20, 0); 6912 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 31, false); 6913 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 24, false); 6914 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 32, false); 6915 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 25, false); 6916 6917 A.store.Bool(ptr + 368 + 32 + 136 + 66, false); 6918 6919 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 28, false); 6920 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 0, undefined); 6921 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 4, undefined); 6922 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 8, undefined); 6923 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 12, undefined); 6924 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 16, undefined); 6925 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 20, undefined); 6926 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 26, false); 6927 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 24, false); 6928 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 27, false); 6929 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 25, false); 6930 6931 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 33, false); 6932 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 26, false); 6933 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 0, 0); 6934 A.store.Ref(ptr + 368 + 32 + 136 + 32 + 4, undefined); 6935 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 27, false); 6936 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 8, 0); 6937 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 28, false); 6938 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 12, 0); 6939 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 29, false); 6940 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 16, 0); 6941 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 30, false); 6942 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 20, 0); 6943 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 31, false); 6944 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 24, false); 6945 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 32, false); 6946 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 25, false); 6947 6948 A.store.Bool(ptr + 368 + 32 + 204 + 66, false); 6949 6950 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 28, false); 6951 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 0, undefined); 6952 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 4, undefined); 6953 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 8, undefined); 6954 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 12, undefined); 6955 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 16, undefined); 6956 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 20, undefined); 6957 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 26, false); 6958 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 24, false); 6959 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 27, false); 6960 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 25, false); 6961 6962 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 33, false); 6963 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 26, false); 6964 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 0, 0); 6965 A.store.Ref(ptr + 368 + 32 + 204 + 32 + 4, undefined); 6966 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 27, false); 6967 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 8, 0); 6968 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 28, false); 6969 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 12, 0); 6970 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 29, false); 6971 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 16, 0); 6972 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 30, false); 6973 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 20, 0); 6974 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 31, false); 6975 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 24, false); 6976 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 32, false); 6977 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 25, false); 6978 } else { 6979 A.store.Bool(ptr + 368 + 32 + 271, true); 6980 6981 if (typeof x["ProxySettings"]["Manual"]["HTTPProxy"] === "undefined") { 6982 A.store.Bool(ptr + 368 + 32 + 0 + 66, false); 6983 6984 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 28, false); 6985 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 0, undefined); 6986 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 4, undefined); 6987 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 8, undefined); 6988 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 12, undefined); 6989 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 16, undefined); 6990 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 20, undefined); 6991 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 26, false); 6992 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 24, false); 6993 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 27, false); 6994 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 25, false); 6995 6996 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 33, false); 6997 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 26, false); 6998 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 0, 0); 6999 A.store.Ref(ptr + 368 + 32 + 0 + 32 + 4, undefined); 7000 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 27, false); 7001 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 8, 0); 7002 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 28, false); 7003 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 12, 0); 7004 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 29, false); 7005 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 16, 0); 7006 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 30, false); 7007 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 20, 0); 7008 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 31, false); 7009 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 24, false); 7010 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 32, false); 7011 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 25, false); 7012 } else { 7013 A.store.Bool(ptr + 368 + 32 + 0 + 66, true); 7014 7015 if (typeof x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"] === "undefined") { 7016 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 28, false); 7017 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 0, undefined); 7018 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 4, undefined); 7019 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 8, undefined); 7020 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 12, undefined); 7021 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 16, undefined); 7022 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 20, undefined); 7023 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 26, false); 7024 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 24, false); 7025 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 27, false); 7026 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 25, false); 7027 } else { 7028 A.store.Bool(ptr + 368 + 32 + 0 + 0 + 28, true); 7029 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 0, x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["Active"]); 7030 A.store.Ref(ptr + 368 + 32 + 0 + 0 + 4, x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["Effective"]); 7031 A.store.Ref( 7032 ptr + 368 + 32 + 0 + 0 + 8, 7033 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["UserPolicy"] 7034 ); 7035 A.store.Ref( 7036 ptr + 368 + 32 + 0 + 0 + 12, 7037 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["DevicePolicy"] 7038 ); 7039 A.store.Ref( 7040 ptr + 368 + 32 + 0 + 0 + 16, 7041 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["UserSetting"] 7042 ); 7043 A.store.Ref( 7044 ptr + 368 + 32 + 0 + 0 + 20, 7045 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["SharedSetting"] 7046 ); 7047 A.store.Bool( 7048 ptr + 368 + 32 + 0 + 0 + 26, 7049 "UserEditable" in x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"] ? true : false 7050 ); 7051 A.store.Bool( 7052 ptr + 368 + 32 + 0 + 0 + 24, 7053 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["UserEditable"] ? true : false 7054 ); 7055 A.store.Bool( 7056 ptr + 368 + 32 + 0 + 0 + 27, 7057 "DeviceEditable" in x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"] ? true : false 7058 ); 7059 A.store.Bool( 7060 ptr + 368 + 32 + 0 + 0 + 25, 7061 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["DeviceEditable"] ? true : false 7062 ); 7063 } 7064 7065 if (typeof x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"] === "undefined") { 7066 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 33, false); 7067 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 26, false); 7068 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 0, 0); 7069 A.store.Ref(ptr + 368 + 32 + 0 + 32 + 4, undefined); 7070 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 27, false); 7071 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 8, 0); 7072 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 28, false); 7073 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 12, 0); 7074 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 29, false); 7075 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 16, 0); 7076 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 30, false); 7077 A.store.Int32(ptr + 368 + 32 + 0 + 32 + 20, 0); 7078 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 31, false); 7079 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 24, false); 7080 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 32, false); 7081 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 25, false); 7082 } else { 7083 A.store.Bool(ptr + 368 + 32 + 0 + 32 + 33, true); 7084 A.store.Bool( 7085 ptr + 368 + 32 + 0 + 32 + 26, 7086 "Active" in x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"] ? true : false 7087 ); 7088 A.store.Int32( 7089 ptr + 368 + 32 + 0 + 32 + 0, 7090 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["Active"] === undefined 7091 ? 0 7092 : (x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["Active"] as number) 7093 ); 7094 A.store.Ref( 7095 ptr + 368 + 32 + 0 + 32 + 4, 7096 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["Effective"] 7097 ); 7098 A.store.Bool( 7099 ptr + 368 + 32 + 0 + 32 + 27, 7100 "UserPolicy" in x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"] ? true : false 7101 ); 7102 A.store.Int32( 7103 ptr + 368 + 32 + 0 + 32 + 8, 7104 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["UserPolicy"] === undefined 7105 ? 0 7106 : (x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["UserPolicy"] as number) 7107 ); 7108 A.store.Bool( 7109 ptr + 368 + 32 + 0 + 32 + 28, 7110 "DevicePolicy" in x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"] ? true : false 7111 ); 7112 A.store.Int32( 7113 ptr + 368 + 32 + 0 + 32 + 12, 7114 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["DevicePolicy"] === undefined 7115 ? 0 7116 : (x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["DevicePolicy"] as number) 7117 ); 7118 A.store.Bool( 7119 ptr + 368 + 32 + 0 + 32 + 29, 7120 "UserSetting" in x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"] ? true : false 7121 ); 7122 A.store.Int32( 7123 ptr + 368 + 32 + 0 + 32 + 16, 7124 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["UserSetting"] === undefined 7125 ? 0 7126 : (x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["UserSetting"] as number) 7127 ); 7128 A.store.Bool( 7129 ptr + 368 + 32 + 0 + 32 + 30, 7130 "SharedSetting" in x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"] ? true : false 7131 ); 7132 A.store.Int32( 7133 ptr + 368 + 32 + 0 + 32 + 20, 7134 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["SharedSetting"] === undefined 7135 ? 0 7136 : (x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["SharedSetting"] as number) 7137 ); 7138 A.store.Bool( 7139 ptr + 368 + 32 + 0 + 32 + 31, 7140 "UserEditable" in x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"] ? true : false 7141 ); 7142 A.store.Bool( 7143 ptr + 368 + 32 + 0 + 32 + 24, 7144 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["UserEditable"] ? true : false 7145 ); 7146 A.store.Bool( 7147 ptr + 368 + 32 + 0 + 32 + 32, 7148 "DeviceEditable" in x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"] ? true : false 7149 ); 7150 A.store.Bool( 7151 ptr + 368 + 32 + 0 + 32 + 25, 7152 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["DeviceEditable"] ? true : false 7153 ); 7154 } 7155 } 7156 7157 if (typeof x["ProxySettings"]["Manual"]["SecureHTTPProxy"] === "undefined") { 7158 A.store.Bool(ptr + 368 + 32 + 68 + 66, false); 7159 7160 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 28, false); 7161 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 0, undefined); 7162 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 4, undefined); 7163 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 8, undefined); 7164 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 12, undefined); 7165 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 16, undefined); 7166 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 20, undefined); 7167 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 26, false); 7168 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 24, false); 7169 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 27, false); 7170 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 25, false); 7171 7172 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 33, false); 7173 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 26, false); 7174 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 0, 0); 7175 A.store.Ref(ptr + 368 + 32 + 68 + 32 + 4, undefined); 7176 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 27, false); 7177 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 8, 0); 7178 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 28, false); 7179 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 12, 0); 7180 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 29, false); 7181 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 16, 0); 7182 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 30, false); 7183 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 20, 0); 7184 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 31, false); 7185 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 24, false); 7186 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 32, false); 7187 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 25, false); 7188 } else { 7189 A.store.Bool(ptr + 368 + 32 + 68 + 66, true); 7190 7191 if (typeof x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"] === "undefined") { 7192 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 28, false); 7193 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 0, undefined); 7194 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 4, undefined); 7195 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 8, undefined); 7196 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 12, undefined); 7197 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 16, undefined); 7198 A.store.Ref(ptr + 368 + 32 + 68 + 0 + 20, undefined); 7199 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 26, false); 7200 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 24, false); 7201 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 27, false); 7202 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 25, false); 7203 } else { 7204 A.store.Bool(ptr + 368 + 32 + 68 + 0 + 28, true); 7205 A.store.Ref( 7206 ptr + 368 + 32 + 68 + 0 + 0, 7207 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["Active"] 7208 ); 7209 A.store.Ref( 7210 ptr + 368 + 32 + 68 + 0 + 4, 7211 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["Effective"] 7212 ); 7213 A.store.Ref( 7214 ptr + 368 + 32 + 68 + 0 + 8, 7215 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["UserPolicy"] 7216 ); 7217 A.store.Ref( 7218 ptr + 368 + 32 + 68 + 0 + 12, 7219 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["DevicePolicy"] 7220 ); 7221 A.store.Ref( 7222 ptr + 368 + 32 + 68 + 0 + 16, 7223 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["UserSetting"] 7224 ); 7225 A.store.Ref( 7226 ptr + 368 + 32 + 68 + 0 + 20, 7227 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["SharedSetting"] 7228 ); 7229 A.store.Bool( 7230 ptr + 368 + 32 + 68 + 0 + 26, 7231 "UserEditable" in x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"] ? true : false 7232 ); 7233 A.store.Bool( 7234 ptr + 368 + 32 + 68 + 0 + 24, 7235 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["UserEditable"] ? true : false 7236 ); 7237 A.store.Bool( 7238 ptr + 368 + 32 + 68 + 0 + 27, 7239 "DeviceEditable" in x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"] ? true : false 7240 ); 7241 A.store.Bool( 7242 ptr + 368 + 32 + 68 + 0 + 25, 7243 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["DeviceEditable"] ? true : false 7244 ); 7245 } 7246 7247 if (typeof x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"] === "undefined") { 7248 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 33, false); 7249 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 26, false); 7250 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 0, 0); 7251 A.store.Ref(ptr + 368 + 32 + 68 + 32 + 4, undefined); 7252 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 27, false); 7253 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 8, 0); 7254 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 28, false); 7255 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 12, 0); 7256 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 29, false); 7257 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 16, 0); 7258 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 30, false); 7259 A.store.Int32(ptr + 368 + 32 + 68 + 32 + 20, 0); 7260 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 31, false); 7261 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 24, false); 7262 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 32, false); 7263 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 25, false); 7264 } else { 7265 A.store.Bool(ptr + 368 + 32 + 68 + 32 + 33, true); 7266 A.store.Bool( 7267 ptr + 368 + 32 + 68 + 32 + 26, 7268 "Active" in x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"] ? true : false 7269 ); 7270 A.store.Int32( 7271 ptr + 368 + 32 + 68 + 32 + 0, 7272 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["Active"] === undefined 7273 ? 0 7274 : (x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["Active"] as number) 7275 ); 7276 A.store.Ref( 7277 ptr + 368 + 32 + 68 + 32 + 4, 7278 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["Effective"] 7279 ); 7280 A.store.Bool( 7281 ptr + 368 + 32 + 68 + 32 + 27, 7282 "UserPolicy" in x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"] ? true : false 7283 ); 7284 A.store.Int32( 7285 ptr + 368 + 32 + 68 + 32 + 8, 7286 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["UserPolicy"] === undefined 7287 ? 0 7288 : (x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["UserPolicy"] as number) 7289 ); 7290 A.store.Bool( 7291 ptr + 368 + 32 + 68 + 32 + 28, 7292 "DevicePolicy" in x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"] ? true : false 7293 ); 7294 A.store.Int32( 7295 ptr + 368 + 32 + 68 + 32 + 12, 7296 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["DevicePolicy"] === undefined 7297 ? 0 7298 : (x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["DevicePolicy"] as number) 7299 ); 7300 A.store.Bool( 7301 ptr + 368 + 32 + 68 + 32 + 29, 7302 "UserSetting" in x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"] ? true : false 7303 ); 7304 A.store.Int32( 7305 ptr + 368 + 32 + 68 + 32 + 16, 7306 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["UserSetting"] === undefined 7307 ? 0 7308 : (x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["UserSetting"] as number) 7309 ); 7310 A.store.Bool( 7311 ptr + 368 + 32 + 68 + 32 + 30, 7312 "SharedSetting" in x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"] ? true : false 7313 ); 7314 A.store.Int32( 7315 ptr + 368 + 32 + 68 + 32 + 20, 7316 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["SharedSetting"] === undefined 7317 ? 0 7318 : (x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["SharedSetting"] as number) 7319 ); 7320 A.store.Bool( 7321 ptr + 368 + 32 + 68 + 32 + 31, 7322 "UserEditable" in x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"] ? true : false 7323 ); 7324 A.store.Bool( 7325 ptr + 368 + 32 + 68 + 32 + 24, 7326 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["UserEditable"] ? true : false 7327 ); 7328 A.store.Bool( 7329 ptr + 368 + 32 + 68 + 32 + 32, 7330 "DeviceEditable" in x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"] ? true : false 7331 ); 7332 A.store.Bool( 7333 ptr + 368 + 32 + 68 + 32 + 25, 7334 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["DeviceEditable"] ? true : false 7335 ); 7336 } 7337 } 7338 7339 if (typeof x["ProxySettings"]["Manual"]["FTPProxy"] === "undefined") { 7340 A.store.Bool(ptr + 368 + 32 + 136 + 66, false); 7341 7342 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 28, false); 7343 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 0, undefined); 7344 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 4, undefined); 7345 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 8, undefined); 7346 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 12, undefined); 7347 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 16, undefined); 7348 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 20, undefined); 7349 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 26, false); 7350 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 24, false); 7351 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 27, false); 7352 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 25, false); 7353 7354 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 33, false); 7355 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 26, false); 7356 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 0, 0); 7357 A.store.Ref(ptr + 368 + 32 + 136 + 32 + 4, undefined); 7358 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 27, false); 7359 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 8, 0); 7360 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 28, false); 7361 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 12, 0); 7362 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 29, false); 7363 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 16, 0); 7364 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 30, false); 7365 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 20, 0); 7366 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 31, false); 7367 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 24, false); 7368 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 32, false); 7369 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 25, false); 7370 } else { 7371 A.store.Bool(ptr + 368 + 32 + 136 + 66, true); 7372 7373 if (typeof x["ProxySettings"]["Manual"]["FTPProxy"]["Host"] === "undefined") { 7374 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 28, false); 7375 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 0, undefined); 7376 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 4, undefined); 7377 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 8, undefined); 7378 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 12, undefined); 7379 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 16, undefined); 7380 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 20, undefined); 7381 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 26, false); 7382 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 24, false); 7383 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 27, false); 7384 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 25, false); 7385 } else { 7386 A.store.Bool(ptr + 368 + 32 + 136 + 0 + 28, true); 7387 A.store.Ref(ptr + 368 + 32 + 136 + 0 + 0, x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["Active"]); 7388 A.store.Ref( 7389 ptr + 368 + 32 + 136 + 0 + 4, 7390 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["Effective"] 7391 ); 7392 A.store.Ref( 7393 ptr + 368 + 32 + 136 + 0 + 8, 7394 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["UserPolicy"] 7395 ); 7396 A.store.Ref( 7397 ptr + 368 + 32 + 136 + 0 + 12, 7398 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["DevicePolicy"] 7399 ); 7400 A.store.Ref( 7401 ptr + 368 + 32 + 136 + 0 + 16, 7402 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["UserSetting"] 7403 ); 7404 A.store.Ref( 7405 ptr + 368 + 32 + 136 + 0 + 20, 7406 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["SharedSetting"] 7407 ); 7408 A.store.Bool( 7409 ptr + 368 + 32 + 136 + 0 + 26, 7410 "UserEditable" in x["ProxySettings"]["Manual"]["FTPProxy"]["Host"] ? true : false 7411 ); 7412 A.store.Bool( 7413 ptr + 368 + 32 + 136 + 0 + 24, 7414 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["UserEditable"] ? true : false 7415 ); 7416 A.store.Bool( 7417 ptr + 368 + 32 + 136 + 0 + 27, 7418 "DeviceEditable" in x["ProxySettings"]["Manual"]["FTPProxy"]["Host"] ? true : false 7419 ); 7420 A.store.Bool( 7421 ptr + 368 + 32 + 136 + 0 + 25, 7422 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["DeviceEditable"] ? true : false 7423 ); 7424 } 7425 7426 if (typeof x["ProxySettings"]["Manual"]["FTPProxy"]["Port"] === "undefined") { 7427 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 33, false); 7428 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 26, false); 7429 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 0, 0); 7430 A.store.Ref(ptr + 368 + 32 + 136 + 32 + 4, undefined); 7431 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 27, false); 7432 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 8, 0); 7433 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 28, false); 7434 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 12, 0); 7435 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 29, false); 7436 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 16, 0); 7437 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 30, false); 7438 A.store.Int32(ptr + 368 + 32 + 136 + 32 + 20, 0); 7439 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 31, false); 7440 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 24, false); 7441 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 32, false); 7442 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 25, false); 7443 } else { 7444 A.store.Bool(ptr + 368 + 32 + 136 + 32 + 33, true); 7445 A.store.Bool( 7446 ptr + 368 + 32 + 136 + 32 + 26, 7447 "Active" in x["ProxySettings"]["Manual"]["FTPProxy"]["Port"] ? true : false 7448 ); 7449 A.store.Int32( 7450 ptr + 368 + 32 + 136 + 32 + 0, 7451 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["Active"] === undefined 7452 ? 0 7453 : (x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["Active"] as number) 7454 ); 7455 A.store.Ref( 7456 ptr + 368 + 32 + 136 + 32 + 4, 7457 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["Effective"] 7458 ); 7459 A.store.Bool( 7460 ptr + 368 + 32 + 136 + 32 + 27, 7461 "UserPolicy" in x["ProxySettings"]["Manual"]["FTPProxy"]["Port"] ? true : false 7462 ); 7463 A.store.Int32( 7464 ptr + 368 + 32 + 136 + 32 + 8, 7465 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["UserPolicy"] === undefined 7466 ? 0 7467 : (x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["UserPolicy"] as number) 7468 ); 7469 A.store.Bool( 7470 ptr + 368 + 32 + 136 + 32 + 28, 7471 "DevicePolicy" in x["ProxySettings"]["Manual"]["FTPProxy"]["Port"] ? true : false 7472 ); 7473 A.store.Int32( 7474 ptr + 368 + 32 + 136 + 32 + 12, 7475 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["DevicePolicy"] === undefined 7476 ? 0 7477 : (x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["DevicePolicy"] as number) 7478 ); 7479 A.store.Bool( 7480 ptr + 368 + 32 + 136 + 32 + 29, 7481 "UserSetting" in x["ProxySettings"]["Manual"]["FTPProxy"]["Port"] ? true : false 7482 ); 7483 A.store.Int32( 7484 ptr + 368 + 32 + 136 + 32 + 16, 7485 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["UserSetting"] === undefined 7486 ? 0 7487 : (x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["UserSetting"] as number) 7488 ); 7489 A.store.Bool( 7490 ptr + 368 + 32 + 136 + 32 + 30, 7491 "SharedSetting" in x["ProxySettings"]["Manual"]["FTPProxy"]["Port"] ? true : false 7492 ); 7493 A.store.Int32( 7494 ptr + 368 + 32 + 136 + 32 + 20, 7495 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["SharedSetting"] === undefined 7496 ? 0 7497 : (x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["SharedSetting"] as number) 7498 ); 7499 A.store.Bool( 7500 ptr + 368 + 32 + 136 + 32 + 31, 7501 "UserEditable" in x["ProxySettings"]["Manual"]["FTPProxy"]["Port"] ? true : false 7502 ); 7503 A.store.Bool( 7504 ptr + 368 + 32 + 136 + 32 + 24, 7505 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["UserEditable"] ? true : false 7506 ); 7507 A.store.Bool( 7508 ptr + 368 + 32 + 136 + 32 + 32, 7509 "DeviceEditable" in x["ProxySettings"]["Manual"]["FTPProxy"]["Port"] ? true : false 7510 ); 7511 A.store.Bool( 7512 ptr + 368 + 32 + 136 + 32 + 25, 7513 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["DeviceEditable"] ? true : false 7514 ); 7515 } 7516 } 7517 7518 if (typeof x["ProxySettings"]["Manual"]["SOCKS"] === "undefined") { 7519 A.store.Bool(ptr + 368 + 32 + 204 + 66, false); 7520 7521 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 28, false); 7522 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 0, undefined); 7523 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 4, undefined); 7524 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 8, undefined); 7525 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 12, undefined); 7526 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 16, undefined); 7527 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 20, undefined); 7528 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 26, false); 7529 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 24, false); 7530 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 27, false); 7531 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 25, false); 7532 7533 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 33, false); 7534 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 26, false); 7535 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 0, 0); 7536 A.store.Ref(ptr + 368 + 32 + 204 + 32 + 4, undefined); 7537 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 27, false); 7538 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 8, 0); 7539 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 28, false); 7540 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 12, 0); 7541 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 29, false); 7542 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 16, 0); 7543 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 30, false); 7544 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 20, 0); 7545 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 31, false); 7546 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 24, false); 7547 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 32, false); 7548 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 25, false); 7549 } else { 7550 A.store.Bool(ptr + 368 + 32 + 204 + 66, true); 7551 7552 if (typeof x["ProxySettings"]["Manual"]["SOCKS"]["Host"] === "undefined") { 7553 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 28, false); 7554 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 0, undefined); 7555 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 4, undefined); 7556 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 8, undefined); 7557 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 12, undefined); 7558 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 16, undefined); 7559 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 20, undefined); 7560 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 26, false); 7561 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 24, false); 7562 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 27, false); 7563 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 25, false); 7564 } else { 7565 A.store.Bool(ptr + 368 + 32 + 204 + 0 + 28, true); 7566 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 0, x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["Active"]); 7567 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 4, x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["Effective"]); 7568 A.store.Ref(ptr + 368 + 32 + 204 + 0 + 8, x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["UserPolicy"]); 7569 A.store.Ref( 7570 ptr + 368 + 32 + 204 + 0 + 12, 7571 x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["DevicePolicy"] 7572 ); 7573 A.store.Ref( 7574 ptr + 368 + 32 + 204 + 0 + 16, 7575 x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["UserSetting"] 7576 ); 7577 A.store.Ref( 7578 ptr + 368 + 32 + 204 + 0 + 20, 7579 x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["SharedSetting"] 7580 ); 7581 A.store.Bool( 7582 ptr + 368 + 32 + 204 + 0 + 26, 7583 "UserEditable" in x["ProxySettings"]["Manual"]["SOCKS"]["Host"] ? true : false 7584 ); 7585 A.store.Bool( 7586 ptr + 368 + 32 + 204 + 0 + 24, 7587 x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["UserEditable"] ? true : false 7588 ); 7589 A.store.Bool( 7590 ptr + 368 + 32 + 204 + 0 + 27, 7591 "DeviceEditable" in x["ProxySettings"]["Manual"]["SOCKS"]["Host"] ? true : false 7592 ); 7593 A.store.Bool( 7594 ptr + 368 + 32 + 204 + 0 + 25, 7595 x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["DeviceEditable"] ? true : false 7596 ); 7597 } 7598 7599 if (typeof x["ProxySettings"]["Manual"]["SOCKS"]["Port"] === "undefined") { 7600 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 33, false); 7601 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 26, false); 7602 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 0, 0); 7603 A.store.Ref(ptr + 368 + 32 + 204 + 32 + 4, undefined); 7604 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 27, false); 7605 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 8, 0); 7606 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 28, false); 7607 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 12, 0); 7608 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 29, false); 7609 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 16, 0); 7610 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 30, false); 7611 A.store.Int32(ptr + 368 + 32 + 204 + 32 + 20, 0); 7612 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 31, false); 7613 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 24, false); 7614 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 32, false); 7615 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 25, false); 7616 } else { 7617 A.store.Bool(ptr + 368 + 32 + 204 + 32 + 33, true); 7618 A.store.Bool( 7619 ptr + 368 + 32 + 204 + 32 + 26, 7620 "Active" in x["ProxySettings"]["Manual"]["SOCKS"]["Port"] ? true : false 7621 ); 7622 A.store.Int32( 7623 ptr + 368 + 32 + 204 + 32 + 0, 7624 x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["Active"] === undefined 7625 ? 0 7626 : (x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["Active"] as number) 7627 ); 7628 A.store.Ref(ptr + 368 + 32 + 204 + 32 + 4, x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["Effective"]); 7629 A.store.Bool( 7630 ptr + 368 + 32 + 204 + 32 + 27, 7631 "UserPolicy" in x["ProxySettings"]["Manual"]["SOCKS"]["Port"] ? true : false 7632 ); 7633 A.store.Int32( 7634 ptr + 368 + 32 + 204 + 32 + 8, 7635 x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["UserPolicy"] === undefined 7636 ? 0 7637 : (x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["UserPolicy"] as number) 7638 ); 7639 A.store.Bool( 7640 ptr + 368 + 32 + 204 + 32 + 28, 7641 "DevicePolicy" in x["ProxySettings"]["Manual"]["SOCKS"]["Port"] ? true : false 7642 ); 7643 A.store.Int32( 7644 ptr + 368 + 32 + 204 + 32 + 12, 7645 x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["DevicePolicy"] === undefined 7646 ? 0 7647 : (x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["DevicePolicy"] as number) 7648 ); 7649 A.store.Bool( 7650 ptr + 368 + 32 + 204 + 32 + 29, 7651 "UserSetting" in x["ProxySettings"]["Manual"]["SOCKS"]["Port"] ? true : false 7652 ); 7653 A.store.Int32( 7654 ptr + 368 + 32 + 204 + 32 + 16, 7655 x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["UserSetting"] === undefined 7656 ? 0 7657 : (x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["UserSetting"] as number) 7658 ); 7659 A.store.Bool( 7660 ptr + 368 + 32 + 204 + 32 + 30, 7661 "SharedSetting" in x["ProxySettings"]["Manual"]["SOCKS"]["Port"] ? true : false 7662 ); 7663 A.store.Int32( 7664 ptr + 368 + 32 + 204 + 32 + 20, 7665 x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["SharedSetting"] === undefined 7666 ? 0 7667 : (x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["SharedSetting"] as number) 7668 ); 7669 A.store.Bool( 7670 ptr + 368 + 32 + 204 + 32 + 31, 7671 "UserEditable" in x["ProxySettings"]["Manual"]["SOCKS"]["Port"] ? true : false 7672 ); 7673 A.store.Bool( 7674 ptr + 368 + 32 + 204 + 32 + 24, 7675 x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["UserEditable"] ? true : false 7676 ); 7677 A.store.Bool( 7678 ptr + 368 + 32 + 204 + 32 + 32, 7679 "DeviceEditable" in x["ProxySettings"]["Manual"]["SOCKS"]["Port"] ? true : false 7680 ); 7681 A.store.Bool( 7682 ptr + 368 + 32 + 204 + 32 + 25, 7683 x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["DeviceEditable"] ? true : false 7684 ); 7685 } 7686 } 7687 } 7688 7689 if (typeof x["ProxySettings"]["ExcludeDomains"] === "undefined") { 7690 A.store.Bool(ptr + 368 + 304 + 28, false); 7691 A.store.Ref(ptr + 368 + 304 + 0, undefined); 7692 A.store.Ref(ptr + 368 + 304 + 4, undefined); 7693 A.store.Ref(ptr + 368 + 304 + 8, undefined); 7694 A.store.Ref(ptr + 368 + 304 + 12, undefined); 7695 A.store.Ref(ptr + 368 + 304 + 16, undefined); 7696 A.store.Ref(ptr + 368 + 304 + 20, undefined); 7697 A.store.Bool(ptr + 368 + 304 + 26, false); 7698 A.store.Bool(ptr + 368 + 304 + 24, false); 7699 A.store.Bool(ptr + 368 + 304 + 27, false); 7700 A.store.Bool(ptr + 368 + 304 + 25, false); 7701 } else { 7702 A.store.Bool(ptr + 368 + 304 + 28, true); 7703 A.store.Ref(ptr + 368 + 304 + 0, x["ProxySettings"]["ExcludeDomains"]["Active"]); 7704 A.store.Ref(ptr + 368 + 304 + 4, x["ProxySettings"]["ExcludeDomains"]["Effective"]); 7705 A.store.Ref(ptr + 368 + 304 + 8, x["ProxySettings"]["ExcludeDomains"]["UserPolicy"]); 7706 A.store.Ref(ptr + 368 + 304 + 12, x["ProxySettings"]["ExcludeDomains"]["DevicePolicy"]); 7707 A.store.Ref(ptr + 368 + 304 + 16, x["ProxySettings"]["ExcludeDomains"]["UserSetting"]); 7708 A.store.Ref(ptr + 368 + 304 + 20, x["ProxySettings"]["ExcludeDomains"]["SharedSetting"]); 7709 A.store.Bool(ptr + 368 + 304 + 26, "UserEditable" in x["ProxySettings"]["ExcludeDomains"] ? true : false); 7710 A.store.Bool(ptr + 368 + 304 + 24, x["ProxySettings"]["ExcludeDomains"]["UserEditable"] ? true : false); 7711 A.store.Bool(ptr + 368 + 304 + 27, "DeviceEditable" in x["ProxySettings"]["ExcludeDomains"] ? true : false); 7712 A.store.Bool(ptr + 368 + 304 + 25, x["ProxySettings"]["ExcludeDomains"]["DeviceEditable"] ? true : false); 7713 } 7714 7715 if (typeof x["ProxySettings"]["PAC"] === "undefined") { 7716 A.store.Bool(ptr + 368 + 336 + 28, false); 7717 A.store.Ref(ptr + 368 + 336 + 0, undefined); 7718 A.store.Ref(ptr + 368 + 336 + 4, undefined); 7719 A.store.Ref(ptr + 368 + 336 + 8, undefined); 7720 A.store.Ref(ptr + 368 + 336 + 12, undefined); 7721 A.store.Ref(ptr + 368 + 336 + 16, undefined); 7722 A.store.Ref(ptr + 368 + 336 + 20, undefined); 7723 A.store.Bool(ptr + 368 + 336 + 26, false); 7724 A.store.Bool(ptr + 368 + 336 + 24, false); 7725 A.store.Bool(ptr + 368 + 336 + 27, false); 7726 A.store.Bool(ptr + 368 + 336 + 25, false); 7727 } else { 7728 A.store.Bool(ptr + 368 + 336 + 28, true); 7729 A.store.Ref(ptr + 368 + 336 + 0, x["ProxySettings"]["PAC"]["Active"]); 7730 A.store.Ref(ptr + 368 + 336 + 4, x["ProxySettings"]["PAC"]["Effective"]); 7731 A.store.Ref(ptr + 368 + 336 + 8, x["ProxySettings"]["PAC"]["UserPolicy"]); 7732 A.store.Ref(ptr + 368 + 336 + 12, x["ProxySettings"]["PAC"]["DevicePolicy"]); 7733 A.store.Ref(ptr + 368 + 336 + 16, x["ProxySettings"]["PAC"]["UserSetting"]); 7734 A.store.Ref(ptr + 368 + 336 + 20, x["ProxySettings"]["PAC"]["SharedSetting"]); 7735 A.store.Bool(ptr + 368 + 336 + 26, "UserEditable" in x["ProxySettings"]["PAC"] ? true : false); 7736 A.store.Bool(ptr + 368 + 336 + 24, x["ProxySettings"]["PAC"]["UserEditable"] ? true : false); 7737 A.store.Bool(ptr + 368 + 336 + 27, "DeviceEditable" in x["ProxySettings"]["PAC"] ? true : false); 7738 A.store.Bool(ptr + 368 + 336 + 25, x["ProxySettings"]["PAC"]["DeviceEditable"] ? true : false); 7739 } 7740 } 7741 A.store.Bool(ptr + 1292, "RestrictedConnectivity" in x ? true : false); 7742 A.store.Bool(ptr + 734, x["RestrictedConnectivity"] ? true : false); 7743 7744 if (typeof x["StaticIPConfig"] === "undefined") { 7745 A.store.Bool(ptr + 736 + 193, false); 7746 7747 A.store.Bool(ptr + 736 + 0 + 28, false); 7748 A.store.Ref(ptr + 736 + 0 + 0, undefined); 7749 A.store.Ref(ptr + 736 + 0 + 4, undefined); 7750 A.store.Ref(ptr + 736 + 0 + 8, undefined); 7751 A.store.Ref(ptr + 736 + 0 + 12, undefined); 7752 A.store.Ref(ptr + 736 + 0 + 16, undefined); 7753 A.store.Ref(ptr + 736 + 0 + 20, undefined); 7754 A.store.Bool(ptr + 736 + 0 + 26, false); 7755 A.store.Bool(ptr + 736 + 0 + 24, false); 7756 A.store.Bool(ptr + 736 + 0 + 27, false); 7757 A.store.Bool(ptr + 736 + 0 + 25, false); 7758 7759 A.store.Bool(ptr + 736 + 32 + 28, false); 7760 A.store.Ref(ptr + 736 + 32 + 0, undefined); 7761 A.store.Ref(ptr + 736 + 32 + 4, undefined); 7762 A.store.Ref(ptr + 736 + 32 + 8, undefined); 7763 A.store.Ref(ptr + 736 + 32 + 12, undefined); 7764 A.store.Ref(ptr + 736 + 32 + 16, undefined); 7765 A.store.Ref(ptr + 736 + 32 + 20, undefined); 7766 A.store.Bool(ptr + 736 + 32 + 26, false); 7767 A.store.Bool(ptr + 736 + 32 + 24, false); 7768 A.store.Bool(ptr + 736 + 32 + 27, false); 7769 A.store.Bool(ptr + 736 + 32 + 25, false); 7770 7771 A.store.Bool(ptr + 736 + 64 + 28, false); 7772 A.store.Ref(ptr + 736 + 64 + 0, undefined); 7773 A.store.Ref(ptr + 736 + 64 + 4, undefined); 7774 A.store.Ref(ptr + 736 + 64 + 8, undefined); 7775 A.store.Ref(ptr + 736 + 64 + 12, undefined); 7776 A.store.Ref(ptr + 736 + 64 + 16, undefined); 7777 A.store.Ref(ptr + 736 + 64 + 20, undefined); 7778 A.store.Bool(ptr + 736 + 64 + 26, false); 7779 A.store.Bool(ptr + 736 + 64 + 24, false); 7780 A.store.Bool(ptr + 736 + 64 + 27, false); 7781 A.store.Bool(ptr + 736 + 64 + 25, false); 7782 7783 A.store.Bool(ptr + 736 + 96 + 33, false); 7784 A.store.Bool(ptr + 736 + 96 + 26, false); 7785 A.store.Int32(ptr + 736 + 96 + 0, 0); 7786 A.store.Ref(ptr + 736 + 96 + 4, undefined); 7787 A.store.Bool(ptr + 736 + 96 + 27, false); 7788 A.store.Int32(ptr + 736 + 96 + 8, 0); 7789 A.store.Bool(ptr + 736 + 96 + 28, false); 7790 A.store.Int32(ptr + 736 + 96 + 12, 0); 7791 A.store.Bool(ptr + 736 + 96 + 29, false); 7792 A.store.Int32(ptr + 736 + 96 + 16, 0); 7793 A.store.Bool(ptr + 736 + 96 + 30, false); 7794 A.store.Int32(ptr + 736 + 96 + 20, 0); 7795 A.store.Bool(ptr + 736 + 96 + 31, false); 7796 A.store.Bool(ptr + 736 + 96 + 24, false); 7797 A.store.Bool(ptr + 736 + 96 + 32, false); 7798 A.store.Bool(ptr + 736 + 96 + 25, false); 7799 7800 A.store.Bool(ptr + 736 + 132 + 28, false); 7801 A.store.Ref(ptr + 736 + 132 + 0, undefined); 7802 A.store.Ref(ptr + 736 + 132 + 4, undefined); 7803 A.store.Ref(ptr + 736 + 132 + 8, undefined); 7804 A.store.Ref(ptr + 736 + 132 + 12, undefined); 7805 A.store.Ref(ptr + 736 + 132 + 16, undefined); 7806 A.store.Ref(ptr + 736 + 132 + 20, undefined); 7807 A.store.Bool(ptr + 736 + 132 + 26, false); 7808 A.store.Bool(ptr + 736 + 132 + 24, false); 7809 A.store.Bool(ptr + 736 + 132 + 27, false); 7810 A.store.Bool(ptr + 736 + 132 + 25, false); 7811 7812 A.store.Bool(ptr + 736 + 164 + 28, false); 7813 A.store.Ref(ptr + 736 + 164 + 0, undefined); 7814 A.store.Ref(ptr + 736 + 164 + 4, undefined); 7815 A.store.Ref(ptr + 736 + 164 + 8, undefined); 7816 A.store.Ref(ptr + 736 + 164 + 12, undefined); 7817 A.store.Ref(ptr + 736 + 164 + 16, undefined); 7818 A.store.Ref(ptr + 736 + 164 + 20, undefined); 7819 A.store.Bool(ptr + 736 + 164 + 26, false); 7820 A.store.Bool(ptr + 736 + 164 + 24, false); 7821 A.store.Bool(ptr + 736 + 164 + 27, false); 7822 A.store.Bool(ptr + 736 + 164 + 25, false); 7823 } else { 7824 A.store.Bool(ptr + 736 + 193, true); 7825 7826 if (typeof x["StaticIPConfig"]["Gateway"] === "undefined") { 7827 A.store.Bool(ptr + 736 + 0 + 28, false); 7828 A.store.Ref(ptr + 736 + 0 + 0, undefined); 7829 A.store.Ref(ptr + 736 + 0 + 4, undefined); 7830 A.store.Ref(ptr + 736 + 0 + 8, undefined); 7831 A.store.Ref(ptr + 736 + 0 + 12, undefined); 7832 A.store.Ref(ptr + 736 + 0 + 16, undefined); 7833 A.store.Ref(ptr + 736 + 0 + 20, undefined); 7834 A.store.Bool(ptr + 736 + 0 + 26, false); 7835 A.store.Bool(ptr + 736 + 0 + 24, false); 7836 A.store.Bool(ptr + 736 + 0 + 27, false); 7837 A.store.Bool(ptr + 736 + 0 + 25, false); 7838 } else { 7839 A.store.Bool(ptr + 736 + 0 + 28, true); 7840 A.store.Ref(ptr + 736 + 0 + 0, x["StaticIPConfig"]["Gateway"]["Active"]); 7841 A.store.Ref(ptr + 736 + 0 + 4, x["StaticIPConfig"]["Gateway"]["Effective"]); 7842 A.store.Ref(ptr + 736 + 0 + 8, x["StaticIPConfig"]["Gateway"]["UserPolicy"]); 7843 A.store.Ref(ptr + 736 + 0 + 12, x["StaticIPConfig"]["Gateway"]["DevicePolicy"]); 7844 A.store.Ref(ptr + 736 + 0 + 16, x["StaticIPConfig"]["Gateway"]["UserSetting"]); 7845 A.store.Ref(ptr + 736 + 0 + 20, x["StaticIPConfig"]["Gateway"]["SharedSetting"]); 7846 A.store.Bool(ptr + 736 + 0 + 26, "UserEditable" in x["StaticIPConfig"]["Gateway"] ? true : false); 7847 A.store.Bool(ptr + 736 + 0 + 24, x["StaticIPConfig"]["Gateway"]["UserEditable"] ? true : false); 7848 A.store.Bool(ptr + 736 + 0 + 27, "DeviceEditable" in x["StaticIPConfig"]["Gateway"] ? true : false); 7849 A.store.Bool(ptr + 736 + 0 + 25, x["StaticIPConfig"]["Gateway"]["DeviceEditable"] ? true : false); 7850 } 7851 7852 if (typeof x["StaticIPConfig"]["IPAddress"] === "undefined") { 7853 A.store.Bool(ptr + 736 + 32 + 28, false); 7854 A.store.Ref(ptr + 736 + 32 + 0, undefined); 7855 A.store.Ref(ptr + 736 + 32 + 4, undefined); 7856 A.store.Ref(ptr + 736 + 32 + 8, undefined); 7857 A.store.Ref(ptr + 736 + 32 + 12, undefined); 7858 A.store.Ref(ptr + 736 + 32 + 16, undefined); 7859 A.store.Ref(ptr + 736 + 32 + 20, undefined); 7860 A.store.Bool(ptr + 736 + 32 + 26, false); 7861 A.store.Bool(ptr + 736 + 32 + 24, false); 7862 A.store.Bool(ptr + 736 + 32 + 27, false); 7863 A.store.Bool(ptr + 736 + 32 + 25, false); 7864 } else { 7865 A.store.Bool(ptr + 736 + 32 + 28, true); 7866 A.store.Ref(ptr + 736 + 32 + 0, x["StaticIPConfig"]["IPAddress"]["Active"]); 7867 A.store.Ref(ptr + 736 + 32 + 4, x["StaticIPConfig"]["IPAddress"]["Effective"]); 7868 A.store.Ref(ptr + 736 + 32 + 8, x["StaticIPConfig"]["IPAddress"]["UserPolicy"]); 7869 A.store.Ref(ptr + 736 + 32 + 12, x["StaticIPConfig"]["IPAddress"]["DevicePolicy"]); 7870 A.store.Ref(ptr + 736 + 32 + 16, x["StaticIPConfig"]["IPAddress"]["UserSetting"]); 7871 A.store.Ref(ptr + 736 + 32 + 20, x["StaticIPConfig"]["IPAddress"]["SharedSetting"]); 7872 A.store.Bool(ptr + 736 + 32 + 26, "UserEditable" in x["StaticIPConfig"]["IPAddress"] ? true : false); 7873 A.store.Bool(ptr + 736 + 32 + 24, x["StaticIPConfig"]["IPAddress"]["UserEditable"] ? true : false); 7874 A.store.Bool(ptr + 736 + 32 + 27, "DeviceEditable" in x["StaticIPConfig"]["IPAddress"] ? true : false); 7875 A.store.Bool(ptr + 736 + 32 + 25, x["StaticIPConfig"]["IPAddress"]["DeviceEditable"] ? true : false); 7876 } 7877 7878 if (typeof x["StaticIPConfig"]["NameServers"] === "undefined") { 7879 A.store.Bool(ptr + 736 + 64 + 28, false); 7880 A.store.Ref(ptr + 736 + 64 + 0, undefined); 7881 A.store.Ref(ptr + 736 + 64 + 4, undefined); 7882 A.store.Ref(ptr + 736 + 64 + 8, undefined); 7883 A.store.Ref(ptr + 736 + 64 + 12, undefined); 7884 A.store.Ref(ptr + 736 + 64 + 16, undefined); 7885 A.store.Ref(ptr + 736 + 64 + 20, undefined); 7886 A.store.Bool(ptr + 736 + 64 + 26, false); 7887 A.store.Bool(ptr + 736 + 64 + 24, false); 7888 A.store.Bool(ptr + 736 + 64 + 27, false); 7889 A.store.Bool(ptr + 736 + 64 + 25, false); 7890 } else { 7891 A.store.Bool(ptr + 736 + 64 + 28, true); 7892 A.store.Ref(ptr + 736 + 64 + 0, x["StaticIPConfig"]["NameServers"]["Active"]); 7893 A.store.Ref(ptr + 736 + 64 + 4, x["StaticIPConfig"]["NameServers"]["Effective"]); 7894 A.store.Ref(ptr + 736 + 64 + 8, x["StaticIPConfig"]["NameServers"]["UserPolicy"]); 7895 A.store.Ref(ptr + 736 + 64 + 12, x["StaticIPConfig"]["NameServers"]["DevicePolicy"]); 7896 A.store.Ref(ptr + 736 + 64 + 16, x["StaticIPConfig"]["NameServers"]["UserSetting"]); 7897 A.store.Ref(ptr + 736 + 64 + 20, x["StaticIPConfig"]["NameServers"]["SharedSetting"]); 7898 A.store.Bool(ptr + 736 + 64 + 26, "UserEditable" in x["StaticIPConfig"]["NameServers"] ? true : false); 7899 A.store.Bool(ptr + 736 + 64 + 24, x["StaticIPConfig"]["NameServers"]["UserEditable"] ? true : false); 7900 A.store.Bool(ptr + 736 + 64 + 27, "DeviceEditable" in x["StaticIPConfig"]["NameServers"] ? true : false); 7901 A.store.Bool(ptr + 736 + 64 + 25, x["StaticIPConfig"]["NameServers"]["DeviceEditable"] ? true : false); 7902 } 7903 7904 if (typeof x["StaticIPConfig"]["RoutingPrefix"] === "undefined") { 7905 A.store.Bool(ptr + 736 + 96 + 33, false); 7906 A.store.Bool(ptr + 736 + 96 + 26, false); 7907 A.store.Int32(ptr + 736 + 96 + 0, 0); 7908 A.store.Ref(ptr + 736 + 96 + 4, undefined); 7909 A.store.Bool(ptr + 736 + 96 + 27, false); 7910 A.store.Int32(ptr + 736 + 96 + 8, 0); 7911 A.store.Bool(ptr + 736 + 96 + 28, false); 7912 A.store.Int32(ptr + 736 + 96 + 12, 0); 7913 A.store.Bool(ptr + 736 + 96 + 29, false); 7914 A.store.Int32(ptr + 736 + 96 + 16, 0); 7915 A.store.Bool(ptr + 736 + 96 + 30, false); 7916 A.store.Int32(ptr + 736 + 96 + 20, 0); 7917 A.store.Bool(ptr + 736 + 96 + 31, false); 7918 A.store.Bool(ptr + 736 + 96 + 24, false); 7919 A.store.Bool(ptr + 736 + 96 + 32, false); 7920 A.store.Bool(ptr + 736 + 96 + 25, false); 7921 } else { 7922 A.store.Bool(ptr + 736 + 96 + 33, true); 7923 A.store.Bool(ptr + 736 + 96 + 26, "Active" in x["StaticIPConfig"]["RoutingPrefix"] ? true : false); 7924 A.store.Int32( 7925 ptr + 736 + 96 + 0, 7926 x["StaticIPConfig"]["RoutingPrefix"]["Active"] === undefined 7927 ? 0 7928 : (x["StaticIPConfig"]["RoutingPrefix"]["Active"] as number) 7929 ); 7930 A.store.Ref(ptr + 736 + 96 + 4, x["StaticIPConfig"]["RoutingPrefix"]["Effective"]); 7931 A.store.Bool(ptr + 736 + 96 + 27, "UserPolicy" in x["StaticIPConfig"]["RoutingPrefix"] ? true : false); 7932 A.store.Int32( 7933 ptr + 736 + 96 + 8, 7934 x["StaticIPConfig"]["RoutingPrefix"]["UserPolicy"] === undefined 7935 ? 0 7936 : (x["StaticIPConfig"]["RoutingPrefix"]["UserPolicy"] as number) 7937 ); 7938 A.store.Bool(ptr + 736 + 96 + 28, "DevicePolicy" in x["StaticIPConfig"]["RoutingPrefix"] ? true : false); 7939 A.store.Int32( 7940 ptr + 736 + 96 + 12, 7941 x["StaticIPConfig"]["RoutingPrefix"]["DevicePolicy"] === undefined 7942 ? 0 7943 : (x["StaticIPConfig"]["RoutingPrefix"]["DevicePolicy"] as number) 7944 ); 7945 A.store.Bool(ptr + 736 + 96 + 29, "UserSetting" in x["StaticIPConfig"]["RoutingPrefix"] ? true : false); 7946 A.store.Int32( 7947 ptr + 736 + 96 + 16, 7948 x["StaticIPConfig"]["RoutingPrefix"]["UserSetting"] === undefined 7949 ? 0 7950 : (x["StaticIPConfig"]["RoutingPrefix"]["UserSetting"] as number) 7951 ); 7952 A.store.Bool(ptr + 736 + 96 + 30, "SharedSetting" in x["StaticIPConfig"]["RoutingPrefix"] ? true : false); 7953 A.store.Int32( 7954 ptr + 736 + 96 + 20, 7955 x["StaticIPConfig"]["RoutingPrefix"]["SharedSetting"] === undefined 7956 ? 0 7957 : (x["StaticIPConfig"]["RoutingPrefix"]["SharedSetting"] as number) 7958 ); 7959 A.store.Bool(ptr + 736 + 96 + 31, "UserEditable" in x["StaticIPConfig"]["RoutingPrefix"] ? true : false); 7960 A.store.Bool(ptr + 736 + 96 + 24, x["StaticIPConfig"]["RoutingPrefix"]["UserEditable"] ? true : false); 7961 A.store.Bool(ptr + 736 + 96 + 32, "DeviceEditable" in x["StaticIPConfig"]["RoutingPrefix"] ? true : false); 7962 A.store.Bool(ptr + 736 + 96 + 25, x["StaticIPConfig"]["RoutingPrefix"]["DeviceEditable"] ? true : false); 7963 } 7964 7965 if (typeof x["StaticIPConfig"]["Type"] === "undefined") { 7966 A.store.Bool(ptr + 736 + 132 + 28, false); 7967 A.store.Ref(ptr + 736 + 132 + 0, undefined); 7968 A.store.Ref(ptr + 736 + 132 + 4, undefined); 7969 A.store.Ref(ptr + 736 + 132 + 8, undefined); 7970 A.store.Ref(ptr + 736 + 132 + 12, undefined); 7971 A.store.Ref(ptr + 736 + 132 + 16, undefined); 7972 A.store.Ref(ptr + 736 + 132 + 20, undefined); 7973 A.store.Bool(ptr + 736 + 132 + 26, false); 7974 A.store.Bool(ptr + 736 + 132 + 24, false); 7975 A.store.Bool(ptr + 736 + 132 + 27, false); 7976 A.store.Bool(ptr + 736 + 132 + 25, false); 7977 } else { 7978 A.store.Bool(ptr + 736 + 132 + 28, true); 7979 A.store.Ref(ptr + 736 + 132 + 0, x["StaticIPConfig"]["Type"]["Active"]); 7980 A.store.Ref(ptr + 736 + 132 + 4, x["StaticIPConfig"]["Type"]["Effective"]); 7981 A.store.Ref(ptr + 736 + 132 + 8, x["StaticIPConfig"]["Type"]["UserPolicy"]); 7982 A.store.Ref(ptr + 736 + 132 + 12, x["StaticIPConfig"]["Type"]["DevicePolicy"]); 7983 A.store.Ref(ptr + 736 + 132 + 16, x["StaticIPConfig"]["Type"]["UserSetting"]); 7984 A.store.Ref(ptr + 736 + 132 + 20, x["StaticIPConfig"]["Type"]["SharedSetting"]); 7985 A.store.Bool(ptr + 736 + 132 + 26, "UserEditable" in x["StaticIPConfig"]["Type"] ? true : false); 7986 A.store.Bool(ptr + 736 + 132 + 24, x["StaticIPConfig"]["Type"]["UserEditable"] ? true : false); 7987 A.store.Bool(ptr + 736 + 132 + 27, "DeviceEditable" in x["StaticIPConfig"]["Type"] ? true : false); 7988 A.store.Bool(ptr + 736 + 132 + 25, x["StaticIPConfig"]["Type"]["DeviceEditable"] ? true : false); 7989 } 7990 7991 if (typeof x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"] === "undefined") { 7992 A.store.Bool(ptr + 736 + 164 + 28, false); 7993 A.store.Ref(ptr + 736 + 164 + 0, undefined); 7994 A.store.Ref(ptr + 736 + 164 + 4, undefined); 7995 A.store.Ref(ptr + 736 + 164 + 8, undefined); 7996 A.store.Ref(ptr + 736 + 164 + 12, undefined); 7997 A.store.Ref(ptr + 736 + 164 + 16, undefined); 7998 A.store.Ref(ptr + 736 + 164 + 20, undefined); 7999 A.store.Bool(ptr + 736 + 164 + 26, false); 8000 A.store.Bool(ptr + 736 + 164 + 24, false); 8001 A.store.Bool(ptr + 736 + 164 + 27, false); 8002 A.store.Bool(ptr + 736 + 164 + 25, false); 8003 } else { 8004 A.store.Bool(ptr + 736 + 164 + 28, true); 8005 A.store.Ref(ptr + 736 + 164 + 0, x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["Active"]); 8006 A.store.Ref(ptr + 736 + 164 + 4, x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["Effective"]); 8007 A.store.Ref(ptr + 736 + 164 + 8, x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["UserPolicy"]); 8008 A.store.Ref(ptr + 736 + 164 + 12, x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["DevicePolicy"]); 8009 A.store.Ref(ptr + 736 + 164 + 16, x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["UserSetting"]); 8010 A.store.Ref(ptr + 736 + 164 + 20, x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["SharedSetting"]); 8011 A.store.Bool( 8012 ptr + 736 + 164 + 26, 8013 "UserEditable" in x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"] ? true : false 8014 ); 8015 A.store.Bool( 8016 ptr + 736 + 164 + 24, 8017 x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["UserEditable"] ? true : false 8018 ); 8019 A.store.Bool( 8020 ptr + 736 + 164 + 27, 8021 "DeviceEditable" in x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"] ? true : false 8022 ); 8023 A.store.Bool( 8024 ptr + 736 + 164 + 25, 8025 x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["DeviceEditable"] ? true : false 8026 ); 8027 } 8028 } 8029 8030 if (typeof x["SavedIPConfig"] === "undefined") { 8031 A.store.Bool(ptr + 932 + 37, false); 8032 A.store.Ref(ptr + 932 + 0, undefined); 8033 A.store.Ref(ptr + 932 + 4, undefined); 8034 A.store.Ref(ptr + 932 + 8, undefined); 8035 A.store.Ref(ptr + 932 + 12, undefined); 8036 A.store.Ref(ptr + 932 + 16, undefined); 8037 A.store.Ref(ptr + 932 + 20, undefined); 8038 A.store.Bool(ptr + 932 + 36, false); 8039 A.store.Int32(ptr + 932 + 24, 0); 8040 A.store.Ref(ptr + 932 + 28, undefined); 8041 A.store.Ref(ptr + 932 + 32, undefined); 8042 } else { 8043 A.store.Bool(ptr + 932 + 37, true); 8044 A.store.Ref(ptr + 932 + 0, x["SavedIPConfig"]["Gateway"]); 8045 A.store.Ref(ptr + 932 + 4, x["SavedIPConfig"]["IPAddress"]); 8046 A.store.Ref(ptr + 932 + 8, x["SavedIPConfig"]["ExcludedRoutes"]); 8047 A.store.Ref(ptr + 932 + 12, x["SavedIPConfig"]["IncludedRoutes"]); 8048 A.store.Ref(ptr + 932 + 16, x["SavedIPConfig"]["NameServers"]); 8049 A.store.Ref(ptr + 932 + 20, x["SavedIPConfig"]["SearchDomains"]); 8050 A.store.Bool(ptr + 932 + 36, "RoutingPrefix" in x["SavedIPConfig"] ? true : false); 8051 A.store.Int32( 8052 ptr + 932 + 24, 8053 x["SavedIPConfig"]["RoutingPrefix"] === undefined ? 0 : (x["SavedIPConfig"]["RoutingPrefix"] as number) 8054 ); 8055 A.store.Ref(ptr + 932 + 28, x["SavedIPConfig"]["Type"]); 8056 A.store.Ref(ptr + 932 + 32, x["SavedIPConfig"]["WebProxyAutoDiscoveryUrl"]); 8057 } 8058 A.store.Ref(ptr + 972, x["Source"]); 8059 A.store.Enum( 8060 ptr + 976, 8061 ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"].indexOf(x["Type"] as string) 8062 ); 8063 8064 if (typeof x["VPN"] === "undefined") { 8065 A.store.Bool(ptr + 980 + 85, false); 8066 8067 A.store.Bool(ptr + 980 + 0 + 21, false); 8068 A.store.Bool(ptr + 980 + 0 + 14, false); 8069 A.store.Bool(ptr + 980 + 0 + 0, false); 8070 A.store.Ref(ptr + 980 + 0 + 4, undefined); 8071 A.store.Bool(ptr + 980 + 0 + 15, false); 8072 A.store.Bool(ptr + 980 + 0 + 8, false); 8073 A.store.Bool(ptr + 980 + 0 + 16, false); 8074 A.store.Bool(ptr + 980 + 0 + 9, false); 8075 A.store.Bool(ptr + 980 + 0 + 17, false); 8076 A.store.Bool(ptr + 980 + 0 + 10, false); 8077 A.store.Bool(ptr + 980 + 0 + 18, false); 8078 A.store.Bool(ptr + 980 + 0 + 11, false); 8079 A.store.Bool(ptr + 980 + 0 + 19, false); 8080 A.store.Bool(ptr + 980 + 0 + 12, false); 8081 A.store.Bool(ptr + 980 + 0 + 20, false); 8082 A.store.Bool(ptr + 980 + 0 + 13, false); 8083 8084 A.store.Bool(ptr + 980 + 24 + 28, false); 8085 A.store.Ref(ptr + 980 + 24 + 0, undefined); 8086 A.store.Ref(ptr + 980 + 24 + 4, undefined); 8087 A.store.Ref(ptr + 980 + 24 + 8, undefined); 8088 A.store.Ref(ptr + 980 + 24 + 12, undefined); 8089 A.store.Ref(ptr + 980 + 24 + 16, undefined); 8090 A.store.Ref(ptr + 980 + 24 + 20, undefined); 8091 A.store.Bool(ptr + 980 + 24 + 26, false); 8092 A.store.Bool(ptr + 980 + 24 + 24, false); 8093 A.store.Bool(ptr + 980 + 24 + 27, false); 8094 A.store.Bool(ptr + 980 + 24 + 25, false); 8095 8096 A.store.Bool(ptr + 980 + 56 + 28, false); 8097 A.store.Ref(ptr + 980 + 56 + 0, undefined); 8098 A.store.Ref(ptr + 980 + 56 + 4, undefined); 8099 A.store.Ref(ptr + 980 + 56 + 8, undefined); 8100 A.store.Ref(ptr + 980 + 56 + 12, undefined); 8101 A.store.Ref(ptr + 980 + 56 + 16, undefined); 8102 A.store.Ref(ptr + 980 + 56 + 20, undefined); 8103 A.store.Bool(ptr + 980 + 56 + 26, false); 8104 A.store.Bool(ptr + 980 + 56 + 24, false); 8105 A.store.Bool(ptr + 980 + 56 + 27, false); 8106 A.store.Bool(ptr + 980 + 56 + 25, false); 8107 } else { 8108 A.store.Bool(ptr + 980 + 85, true); 8109 8110 if (typeof x["VPN"]["AutoConnect"] === "undefined") { 8111 A.store.Bool(ptr + 980 + 0 + 21, false); 8112 A.store.Bool(ptr + 980 + 0 + 14, false); 8113 A.store.Bool(ptr + 980 + 0 + 0, false); 8114 A.store.Ref(ptr + 980 + 0 + 4, undefined); 8115 A.store.Bool(ptr + 980 + 0 + 15, false); 8116 A.store.Bool(ptr + 980 + 0 + 8, false); 8117 A.store.Bool(ptr + 980 + 0 + 16, false); 8118 A.store.Bool(ptr + 980 + 0 + 9, false); 8119 A.store.Bool(ptr + 980 + 0 + 17, false); 8120 A.store.Bool(ptr + 980 + 0 + 10, false); 8121 A.store.Bool(ptr + 980 + 0 + 18, false); 8122 A.store.Bool(ptr + 980 + 0 + 11, false); 8123 A.store.Bool(ptr + 980 + 0 + 19, false); 8124 A.store.Bool(ptr + 980 + 0 + 12, false); 8125 A.store.Bool(ptr + 980 + 0 + 20, false); 8126 A.store.Bool(ptr + 980 + 0 + 13, false); 8127 } else { 8128 A.store.Bool(ptr + 980 + 0 + 21, true); 8129 A.store.Bool(ptr + 980 + 0 + 14, "Active" in x["VPN"]["AutoConnect"] ? true : false); 8130 A.store.Bool(ptr + 980 + 0 + 0, x["VPN"]["AutoConnect"]["Active"] ? true : false); 8131 A.store.Ref(ptr + 980 + 0 + 4, x["VPN"]["AutoConnect"]["Effective"]); 8132 A.store.Bool(ptr + 980 + 0 + 15, "UserPolicy" in x["VPN"]["AutoConnect"] ? true : false); 8133 A.store.Bool(ptr + 980 + 0 + 8, x["VPN"]["AutoConnect"]["UserPolicy"] ? true : false); 8134 A.store.Bool(ptr + 980 + 0 + 16, "DevicePolicy" in x["VPN"]["AutoConnect"] ? true : false); 8135 A.store.Bool(ptr + 980 + 0 + 9, x["VPN"]["AutoConnect"]["DevicePolicy"] ? true : false); 8136 A.store.Bool(ptr + 980 + 0 + 17, "UserSetting" in x["VPN"]["AutoConnect"] ? true : false); 8137 A.store.Bool(ptr + 980 + 0 + 10, x["VPN"]["AutoConnect"]["UserSetting"] ? true : false); 8138 A.store.Bool(ptr + 980 + 0 + 18, "SharedSetting" in x["VPN"]["AutoConnect"] ? true : false); 8139 A.store.Bool(ptr + 980 + 0 + 11, x["VPN"]["AutoConnect"]["SharedSetting"] ? true : false); 8140 A.store.Bool(ptr + 980 + 0 + 19, "UserEditable" in x["VPN"]["AutoConnect"] ? true : false); 8141 A.store.Bool(ptr + 980 + 0 + 12, x["VPN"]["AutoConnect"]["UserEditable"] ? true : false); 8142 A.store.Bool(ptr + 980 + 0 + 20, "DeviceEditable" in x["VPN"]["AutoConnect"] ? true : false); 8143 A.store.Bool(ptr + 980 + 0 + 13, x["VPN"]["AutoConnect"]["DeviceEditable"] ? true : false); 8144 } 8145 8146 if (typeof x["VPN"]["Host"] === "undefined") { 8147 A.store.Bool(ptr + 980 + 24 + 28, false); 8148 A.store.Ref(ptr + 980 + 24 + 0, undefined); 8149 A.store.Ref(ptr + 980 + 24 + 4, undefined); 8150 A.store.Ref(ptr + 980 + 24 + 8, undefined); 8151 A.store.Ref(ptr + 980 + 24 + 12, undefined); 8152 A.store.Ref(ptr + 980 + 24 + 16, undefined); 8153 A.store.Ref(ptr + 980 + 24 + 20, undefined); 8154 A.store.Bool(ptr + 980 + 24 + 26, false); 8155 A.store.Bool(ptr + 980 + 24 + 24, false); 8156 A.store.Bool(ptr + 980 + 24 + 27, false); 8157 A.store.Bool(ptr + 980 + 24 + 25, false); 8158 } else { 8159 A.store.Bool(ptr + 980 + 24 + 28, true); 8160 A.store.Ref(ptr + 980 + 24 + 0, x["VPN"]["Host"]["Active"]); 8161 A.store.Ref(ptr + 980 + 24 + 4, x["VPN"]["Host"]["Effective"]); 8162 A.store.Ref(ptr + 980 + 24 + 8, x["VPN"]["Host"]["UserPolicy"]); 8163 A.store.Ref(ptr + 980 + 24 + 12, x["VPN"]["Host"]["DevicePolicy"]); 8164 A.store.Ref(ptr + 980 + 24 + 16, x["VPN"]["Host"]["UserSetting"]); 8165 A.store.Ref(ptr + 980 + 24 + 20, x["VPN"]["Host"]["SharedSetting"]); 8166 A.store.Bool(ptr + 980 + 24 + 26, "UserEditable" in x["VPN"]["Host"] ? true : false); 8167 A.store.Bool(ptr + 980 + 24 + 24, x["VPN"]["Host"]["UserEditable"] ? true : false); 8168 A.store.Bool(ptr + 980 + 24 + 27, "DeviceEditable" in x["VPN"]["Host"] ? true : false); 8169 A.store.Bool(ptr + 980 + 24 + 25, x["VPN"]["Host"]["DeviceEditable"] ? true : false); 8170 } 8171 8172 if (typeof x["VPN"]["Type"] === "undefined") { 8173 A.store.Bool(ptr + 980 + 56 + 28, false); 8174 A.store.Ref(ptr + 980 + 56 + 0, undefined); 8175 A.store.Ref(ptr + 980 + 56 + 4, undefined); 8176 A.store.Ref(ptr + 980 + 56 + 8, undefined); 8177 A.store.Ref(ptr + 980 + 56 + 12, undefined); 8178 A.store.Ref(ptr + 980 + 56 + 16, undefined); 8179 A.store.Ref(ptr + 980 + 56 + 20, undefined); 8180 A.store.Bool(ptr + 980 + 56 + 26, false); 8181 A.store.Bool(ptr + 980 + 56 + 24, false); 8182 A.store.Bool(ptr + 980 + 56 + 27, false); 8183 A.store.Bool(ptr + 980 + 56 + 25, false); 8184 } else { 8185 A.store.Bool(ptr + 980 + 56 + 28, true); 8186 A.store.Ref(ptr + 980 + 56 + 0, x["VPN"]["Type"]["Active"]); 8187 A.store.Ref(ptr + 980 + 56 + 4, x["VPN"]["Type"]["Effective"]); 8188 A.store.Ref(ptr + 980 + 56 + 8, x["VPN"]["Type"]["UserPolicy"]); 8189 A.store.Ref(ptr + 980 + 56 + 12, x["VPN"]["Type"]["DevicePolicy"]); 8190 A.store.Ref(ptr + 980 + 56 + 16, x["VPN"]["Type"]["UserSetting"]); 8191 A.store.Ref(ptr + 980 + 56 + 20, x["VPN"]["Type"]["SharedSetting"]); 8192 A.store.Bool(ptr + 980 + 56 + 26, "UserEditable" in x["VPN"]["Type"] ? true : false); 8193 A.store.Bool(ptr + 980 + 56 + 24, x["VPN"]["Type"]["UserEditable"] ? true : false); 8194 A.store.Bool(ptr + 980 + 56 + 27, "DeviceEditable" in x["VPN"]["Type"] ? true : false); 8195 A.store.Bool(ptr + 980 + 56 + 25, x["VPN"]["Type"]["DeviceEditable"] ? true : false); 8196 } 8197 } 8198 8199 if (typeof x["WiFi"] === "undefined") { 8200 A.store.Bool(ptr + 1068 + 222, false); 8201 8202 A.store.Bool(ptr + 1068 + 0 + 21, false); 8203 A.store.Bool(ptr + 1068 + 0 + 14, false); 8204 A.store.Bool(ptr + 1068 + 0 + 0, false); 8205 A.store.Ref(ptr + 1068 + 0 + 4, undefined); 8206 A.store.Bool(ptr + 1068 + 0 + 15, false); 8207 A.store.Bool(ptr + 1068 + 0 + 8, false); 8208 A.store.Bool(ptr + 1068 + 0 + 16, false); 8209 A.store.Bool(ptr + 1068 + 0 + 9, false); 8210 A.store.Bool(ptr + 1068 + 0 + 17, false); 8211 A.store.Bool(ptr + 1068 + 0 + 10, false); 8212 A.store.Bool(ptr + 1068 + 0 + 18, false); 8213 A.store.Bool(ptr + 1068 + 0 + 11, false); 8214 A.store.Bool(ptr + 1068 + 0 + 19, false); 8215 A.store.Bool(ptr + 1068 + 0 + 12, false); 8216 A.store.Bool(ptr + 1068 + 0 + 20, false); 8217 A.store.Bool(ptr + 1068 + 0 + 13, false); 8218 8219 A.store.Bool(ptr + 1068 + 24 + 21, false); 8220 A.store.Bool(ptr + 1068 + 24 + 14, false); 8221 A.store.Bool(ptr + 1068 + 24 + 0, false); 8222 A.store.Ref(ptr + 1068 + 24 + 4, undefined); 8223 A.store.Bool(ptr + 1068 + 24 + 15, false); 8224 A.store.Bool(ptr + 1068 + 24 + 8, false); 8225 A.store.Bool(ptr + 1068 + 24 + 16, false); 8226 A.store.Bool(ptr + 1068 + 24 + 9, false); 8227 A.store.Bool(ptr + 1068 + 24 + 17, false); 8228 A.store.Bool(ptr + 1068 + 24 + 10, false); 8229 A.store.Bool(ptr + 1068 + 24 + 18, false); 8230 A.store.Bool(ptr + 1068 + 24 + 11, false); 8231 A.store.Bool(ptr + 1068 + 24 + 19, false); 8232 A.store.Bool(ptr + 1068 + 24 + 12, false); 8233 A.store.Bool(ptr + 1068 + 24 + 20, false); 8234 A.store.Bool(ptr + 1068 + 24 + 13, false); 8235 A.store.Ref(ptr + 1068 + 48, undefined); 8236 A.store.Bool(ptr + 1068 + 220, false); 8237 A.store.Int32(ptr + 1068 + 52, 0); 8238 A.store.Ref(ptr + 1068 + 56, undefined); 8239 8240 A.store.Bool(ptr + 1068 + 60 + 28, false); 8241 A.store.Ref(ptr + 1068 + 60 + 0, undefined); 8242 A.store.Ref(ptr + 1068 + 60 + 4, undefined); 8243 A.store.Ref(ptr + 1068 + 60 + 8, undefined); 8244 A.store.Ref(ptr + 1068 + 60 + 12, undefined); 8245 A.store.Ref(ptr + 1068 + 60 + 16, undefined); 8246 A.store.Ref(ptr + 1068 + 60 + 20, undefined); 8247 A.store.Bool(ptr + 1068 + 60 + 26, false); 8248 A.store.Bool(ptr + 1068 + 60 + 24, false); 8249 A.store.Bool(ptr + 1068 + 60 + 27, false); 8250 A.store.Bool(ptr + 1068 + 60 + 25, false); 8251 8252 A.store.Bool(ptr + 1068 + 92 + 21, false); 8253 A.store.Bool(ptr + 1068 + 92 + 14, false); 8254 A.store.Bool(ptr + 1068 + 92 + 0, false); 8255 A.store.Ref(ptr + 1068 + 92 + 4, undefined); 8256 A.store.Bool(ptr + 1068 + 92 + 15, false); 8257 A.store.Bool(ptr + 1068 + 92 + 8, false); 8258 A.store.Bool(ptr + 1068 + 92 + 16, false); 8259 A.store.Bool(ptr + 1068 + 92 + 9, false); 8260 A.store.Bool(ptr + 1068 + 92 + 17, false); 8261 A.store.Bool(ptr + 1068 + 92 + 10, false); 8262 A.store.Bool(ptr + 1068 + 92 + 18, false); 8263 A.store.Bool(ptr + 1068 + 92 + 11, false); 8264 A.store.Bool(ptr + 1068 + 92 + 19, false); 8265 A.store.Bool(ptr + 1068 + 92 + 12, false); 8266 A.store.Bool(ptr + 1068 + 92 + 20, false); 8267 A.store.Bool(ptr + 1068 + 92 + 13, false); 8268 8269 A.store.Bool(ptr + 1068 + 116 + 33, false); 8270 A.store.Bool(ptr + 1068 + 116 + 26, false); 8271 A.store.Int32(ptr + 1068 + 116 + 0, 0); 8272 A.store.Ref(ptr + 1068 + 116 + 4, undefined); 8273 A.store.Bool(ptr + 1068 + 116 + 27, false); 8274 A.store.Int32(ptr + 1068 + 116 + 8, 0); 8275 A.store.Bool(ptr + 1068 + 116 + 28, false); 8276 A.store.Int32(ptr + 1068 + 116 + 12, 0); 8277 A.store.Bool(ptr + 1068 + 116 + 29, false); 8278 A.store.Int32(ptr + 1068 + 116 + 16, 0); 8279 A.store.Bool(ptr + 1068 + 116 + 30, false); 8280 A.store.Int32(ptr + 1068 + 116 + 20, 0); 8281 A.store.Bool(ptr + 1068 + 116 + 31, false); 8282 A.store.Bool(ptr + 1068 + 116 + 24, false); 8283 A.store.Bool(ptr + 1068 + 116 + 32, false); 8284 A.store.Bool(ptr + 1068 + 116 + 25, false); 8285 8286 A.store.Bool(ptr + 1068 + 152 + 28, false); 8287 A.store.Ref(ptr + 1068 + 152 + 0, undefined); 8288 A.store.Ref(ptr + 1068 + 152 + 4, undefined); 8289 A.store.Ref(ptr + 1068 + 152 + 8, undefined); 8290 A.store.Ref(ptr + 1068 + 152 + 12, undefined); 8291 A.store.Ref(ptr + 1068 + 152 + 16, undefined); 8292 A.store.Ref(ptr + 1068 + 152 + 20, undefined); 8293 A.store.Bool(ptr + 1068 + 152 + 26, false); 8294 A.store.Bool(ptr + 1068 + 152 + 24, false); 8295 A.store.Bool(ptr + 1068 + 152 + 27, false); 8296 A.store.Bool(ptr + 1068 + 152 + 25, false); 8297 8298 A.store.Bool(ptr + 1068 + 184 + 28, false); 8299 A.store.Ref(ptr + 1068 + 184 + 0, undefined); 8300 A.store.Ref(ptr + 1068 + 184 + 4, undefined); 8301 A.store.Ref(ptr + 1068 + 184 + 8, undefined); 8302 A.store.Ref(ptr + 1068 + 184 + 12, undefined); 8303 A.store.Ref(ptr + 1068 + 184 + 16, undefined); 8304 A.store.Ref(ptr + 1068 + 184 + 20, undefined); 8305 A.store.Bool(ptr + 1068 + 184 + 26, false); 8306 A.store.Bool(ptr + 1068 + 184 + 24, false); 8307 A.store.Bool(ptr + 1068 + 184 + 27, false); 8308 A.store.Bool(ptr + 1068 + 184 + 25, false); 8309 A.store.Bool(ptr + 1068 + 221, false); 8310 A.store.Int32(ptr + 1068 + 216, 0); 8311 } else { 8312 A.store.Bool(ptr + 1068 + 222, true); 8313 8314 if (typeof x["WiFi"]["AllowGatewayARPPolling"] === "undefined") { 8315 A.store.Bool(ptr + 1068 + 0 + 21, false); 8316 A.store.Bool(ptr + 1068 + 0 + 14, false); 8317 A.store.Bool(ptr + 1068 + 0 + 0, false); 8318 A.store.Ref(ptr + 1068 + 0 + 4, undefined); 8319 A.store.Bool(ptr + 1068 + 0 + 15, false); 8320 A.store.Bool(ptr + 1068 + 0 + 8, false); 8321 A.store.Bool(ptr + 1068 + 0 + 16, false); 8322 A.store.Bool(ptr + 1068 + 0 + 9, false); 8323 A.store.Bool(ptr + 1068 + 0 + 17, false); 8324 A.store.Bool(ptr + 1068 + 0 + 10, false); 8325 A.store.Bool(ptr + 1068 + 0 + 18, false); 8326 A.store.Bool(ptr + 1068 + 0 + 11, false); 8327 A.store.Bool(ptr + 1068 + 0 + 19, false); 8328 A.store.Bool(ptr + 1068 + 0 + 12, false); 8329 A.store.Bool(ptr + 1068 + 0 + 20, false); 8330 A.store.Bool(ptr + 1068 + 0 + 13, false); 8331 } else { 8332 A.store.Bool(ptr + 1068 + 0 + 21, true); 8333 A.store.Bool(ptr + 1068 + 0 + 14, "Active" in x["WiFi"]["AllowGatewayARPPolling"] ? true : false); 8334 A.store.Bool(ptr + 1068 + 0 + 0, x["WiFi"]["AllowGatewayARPPolling"]["Active"] ? true : false); 8335 A.store.Ref(ptr + 1068 + 0 + 4, x["WiFi"]["AllowGatewayARPPolling"]["Effective"]); 8336 A.store.Bool(ptr + 1068 + 0 + 15, "UserPolicy" in x["WiFi"]["AllowGatewayARPPolling"] ? true : false); 8337 A.store.Bool(ptr + 1068 + 0 + 8, x["WiFi"]["AllowGatewayARPPolling"]["UserPolicy"] ? true : false); 8338 A.store.Bool(ptr + 1068 + 0 + 16, "DevicePolicy" in x["WiFi"]["AllowGatewayARPPolling"] ? true : false); 8339 A.store.Bool(ptr + 1068 + 0 + 9, x["WiFi"]["AllowGatewayARPPolling"]["DevicePolicy"] ? true : false); 8340 A.store.Bool(ptr + 1068 + 0 + 17, "UserSetting" in x["WiFi"]["AllowGatewayARPPolling"] ? true : false); 8341 A.store.Bool(ptr + 1068 + 0 + 10, x["WiFi"]["AllowGatewayARPPolling"]["UserSetting"] ? true : false); 8342 A.store.Bool(ptr + 1068 + 0 + 18, "SharedSetting" in x["WiFi"]["AllowGatewayARPPolling"] ? true : false); 8343 A.store.Bool(ptr + 1068 + 0 + 11, x["WiFi"]["AllowGatewayARPPolling"]["SharedSetting"] ? true : false); 8344 A.store.Bool(ptr + 1068 + 0 + 19, "UserEditable" in x["WiFi"]["AllowGatewayARPPolling"] ? true : false); 8345 A.store.Bool(ptr + 1068 + 0 + 12, x["WiFi"]["AllowGatewayARPPolling"]["UserEditable"] ? true : false); 8346 A.store.Bool(ptr + 1068 + 0 + 20, "DeviceEditable" in x["WiFi"]["AllowGatewayARPPolling"] ? true : false); 8347 A.store.Bool(ptr + 1068 + 0 + 13, x["WiFi"]["AllowGatewayARPPolling"]["DeviceEditable"] ? true : false); 8348 } 8349 8350 if (typeof x["WiFi"]["AutoConnect"] === "undefined") { 8351 A.store.Bool(ptr + 1068 + 24 + 21, false); 8352 A.store.Bool(ptr + 1068 + 24 + 14, false); 8353 A.store.Bool(ptr + 1068 + 24 + 0, false); 8354 A.store.Ref(ptr + 1068 + 24 + 4, undefined); 8355 A.store.Bool(ptr + 1068 + 24 + 15, false); 8356 A.store.Bool(ptr + 1068 + 24 + 8, false); 8357 A.store.Bool(ptr + 1068 + 24 + 16, false); 8358 A.store.Bool(ptr + 1068 + 24 + 9, false); 8359 A.store.Bool(ptr + 1068 + 24 + 17, false); 8360 A.store.Bool(ptr + 1068 + 24 + 10, false); 8361 A.store.Bool(ptr + 1068 + 24 + 18, false); 8362 A.store.Bool(ptr + 1068 + 24 + 11, false); 8363 A.store.Bool(ptr + 1068 + 24 + 19, false); 8364 A.store.Bool(ptr + 1068 + 24 + 12, false); 8365 A.store.Bool(ptr + 1068 + 24 + 20, false); 8366 A.store.Bool(ptr + 1068 + 24 + 13, false); 8367 } else { 8368 A.store.Bool(ptr + 1068 + 24 + 21, true); 8369 A.store.Bool(ptr + 1068 + 24 + 14, "Active" in x["WiFi"]["AutoConnect"] ? true : false); 8370 A.store.Bool(ptr + 1068 + 24 + 0, x["WiFi"]["AutoConnect"]["Active"] ? true : false); 8371 A.store.Ref(ptr + 1068 + 24 + 4, x["WiFi"]["AutoConnect"]["Effective"]); 8372 A.store.Bool(ptr + 1068 + 24 + 15, "UserPolicy" in x["WiFi"]["AutoConnect"] ? true : false); 8373 A.store.Bool(ptr + 1068 + 24 + 8, x["WiFi"]["AutoConnect"]["UserPolicy"] ? true : false); 8374 A.store.Bool(ptr + 1068 + 24 + 16, "DevicePolicy" in x["WiFi"]["AutoConnect"] ? true : false); 8375 A.store.Bool(ptr + 1068 + 24 + 9, x["WiFi"]["AutoConnect"]["DevicePolicy"] ? true : false); 8376 A.store.Bool(ptr + 1068 + 24 + 17, "UserSetting" in x["WiFi"]["AutoConnect"] ? true : false); 8377 A.store.Bool(ptr + 1068 + 24 + 10, x["WiFi"]["AutoConnect"]["UserSetting"] ? true : false); 8378 A.store.Bool(ptr + 1068 + 24 + 18, "SharedSetting" in x["WiFi"]["AutoConnect"] ? true : false); 8379 A.store.Bool(ptr + 1068 + 24 + 11, x["WiFi"]["AutoConnect"]["SharedSetting"] ? true : false); 8380 A.store.Bool(ptr + 1068 + 24 + 19, "UserEditable" in x["WiFi"]["AutoConnect"] ? true : false); 8381 A.store.Bool(ptr + 1068 + 24 + 12, x["WiFi"]["AutoConnect"]["UserEditable"] ? true : false); 8382 A.store.Bool(ptr + 1068 + 24 + 20, "DeviceEditable" in x["WiFi"]["AutoConnect"] ? true : false); 8383 A.store.Bool(ptr + 1068 + 24 + 13, x["WiFi"]["AutoConnect"]["DeviceEditable"] ? true : false); 8384 } 8385 A.store.Ref(ptr + 1068 + 48, x["WiFi"]["BSSID"]); 8386 A.store.Bool(ptr + 1068 + 220, "Frequency" in x["WiFi"] ? true : false); 8387 A.store.Int32(ptr + 1068 + 52, x["WiFi"]["Frequency"] === undefined ? 0 : (x["WiFi"]["Frequency"] as number)); 8388 A.store.Ref(ptr + 1068 + 56, x["WiFi"]["FrequencyList"]); 8389 8390 if (typeof x["WiFi"]["HexSSID"] === "undefined") { 8391 A.store.Bool(ptr + 1068 + 60 + 28, false); 8392 A.store.Ref(ptr + 1068 + 60 + 0, undefined); 8393 A.store.Ref(ptr + 1068 + 60 + 4, undefined); 8394 A.store.Ref(ptr + 1068 + 60 + 8, undefined); 8395 A.store.Ref(ptr + 1068 + 60 + 12, undefined); 8396 A.store.Ref(ptr + 1068 + 60 + 16, undefined); 8397 A.store.Ref(ptr + 1068 + 60 + 20, undefined); 8398 A.store.Bool(ptr + 1068 + 60 + 26, false); 8399 A.store.Bool(ptr + 1068 + 60 + 24, false); 8400 A.store.Bool(ptr + 1068 + 60 + 27, false); 8401 A.store.Bool(ptr + 1068 + 60 + 25, false); 8402 } else { 8403 A.store.Bool(ptr + 1068 + 60 + 28, true); 8404 A.store.Ref(ptr + 1068 + 60 + 0, x["WiFi"]["HexSSID"]["Active"]); 8405 A.store.Ref(ptr + 1068 + 60 + 4, x["WiFi"]["HexSSID"]["Effective"]); 8406 A.store.Ref(ptr + 1068 + 60 + 8, x["WiFi"]["HexSSID"]["UserPolicy"]); 8407 A.store.Ref(ptr + 1068 + 60 + 12, x["WiFi"]["HexSSID"]["DevicePolicy"]); 8408 A.store.Ref(ptr + 1068 + 60 + 16, x["WiFi"]["HexSSID"]["UserSetting"]); 8409 A.store.Ref(ptr + 1068 + 60 + 20, x["WiFi"]["HexSSID"]["SharedSetting"]); 8410 A.store.Bool(ptr + 1068 + 60 + 26, "UserEditable" in x["WiFi"]["HexSSID"] ? true : false); 8411 A.store.Bool(ptr + 1068 + 60 + 24, x["WiFi"]["HexSSID"]["UserEditable"] ? true : false); 8412 A.store.Bool(ptr + 1068 + 60 + 27, "DeviceEditable" in x["WiFi"]["HexSSID"] ? true : false); 8413 A.store.Bool(ptr + 1068 + 60 + 25, x["WiFi"]["HexSSID"]["DeviceEditable"] ? true : false); 8414 } 8415 8416 if (typeof x["WiFi"]["HiddenSSID"] === "undefined") { 8417 A.store.Bool(ptr + 1068 + 92 + 21, false); 8418 A.store.Bool(ptr + 1068 + 92 + 14, false); 8419 A.store.Bool(ptr + 1068 + 92 + 0, false); 8420 A.store.Ref(ptr + 1068 + 92 + 4, undefined); 8421 A.store.Bool(ptr + 1068 + 92 + 15, false); 8422 A.store.Bool(ptr + 1068 + 92 + 8, false); 8423 A.store.Bool(ptr + 1068 + 92 + 16, false); 8424 A.store.Bool(ptr + 1068 + 92 + 9, false); 8425 A.store.Bool(ptr + 1068 + 92 + 17, false); 8426 A.store.Bool(ptr + 1068 + 92 + 10, false); 8427 A.store.Bool(ptr + 1068 + 92 + 18, false); 8428 A.store.Bool(ptr + 1068 + 92 + 11, false); 8429 A.store.Bool(ptr + 1068 + 92 + 19, false); 8430 A.store.Bool(ptr + 1068 + 92 + 12, false); 8431 A.store.Bool(ptr + 1068 + 92 + 20, false); 8432 A.store.Bool(ptr + 1068 + 92 + 13, false); 8433 } else { 8434 A.store.Bool(ptr + 1068 + 92 + 21, true); 8435 A.store.Bool(ptr + 1068 + 92 + 14, "Active" in x["WiFi"]["HiddenSSID"] ? true : false); 8436 A.store.Bool(ptr + 1068 + 92 + 0, x["WiFi"]["HiddenSSID"]["Active"] ? true : false); 8437 A.store.Ref(ptr + 1068 + 92 + 4, x["WiFi"]["HiddenSSID"]["Effective"]); 8438 A.store.Bool(ptr + 1068 + 92 + 15, "UserPolicy" in x["WiFi"]["HiddenSSID"] ? true : false); 8439 A.store.Bool(ptr + 1068 + 92 + 8, x["WiFi"]["HiddenSSID"]["UserPolicy"] ? true : false); 8440 A.store.Bool(ptr + 1068 + 92 + 16, "DevicePolicy" in x["WiFi"]["HiddenSSID"] ? true : false); 8441 A.store.Bool(ptr + 1068 + 92 + 9, x["WiFi"]["HiddenSSID"]["DevicePolicy"] ? true : false); 8442 A.store.Bool(ptr + 1068 + 92 + 17, "UserSetting" in x["WiFi"]["HiddenSSID"] ? true : false); 8443 A.store.Bool(ptr + 1068 + 92 + 10, x["WiFi"]["HiddenSSID"]["UserSetting"] ? true : false); 8444 A.store.Bool(ptr + 1068 + 92 + 18, "SharedSetting" in x["WiFi"]["HiddenSSID"] ? true : false); 8445 A.store.Bool(ptr + 1068 + 92 + 11, x["WiFi"]["HiddenSSID"]["SharedSetting"] ? true : false); 8446 A.store.Bool(ptr + 1068 + 92 + 19, "UserEditable" in x["WiFi"]["HiddenSSID"] ? true : false); 8447 A.store.Bool(ptr + 1068 + 92 + 12, x["WiFi"]["HiddenSSID"]["UserEditable"] ? true : false); 8448 A.store.Bool(ptr + 1068 + 92 + 20, "DeviceEditable" in x["WiFi"]["HiddenSSID"] ? true : false); 8449 A.store.Bool(ptr + 1068 + 92 + 13, x["WiFi"]["HiddenSSID"]["DeviceEditable"] ? true : false); 8450 } 8451 8452 if (typeof x["WiFi"]["RoamThreshold"] === "undefined") { 8453 A.store.Bool(ptr + 1068 + 116 + 33, false); 8454 A.store.Bool(ptr + 1068 + 116 + 26, false); 8455 A.store.Int32(ptr + 1068 + 116 + 0, 0); 8456 A.store.Ref(ptr + 1068 + 116 + 4, undefined); 8457 A.store.Bool(ptr + 1068 + 116 + 27, false); 8458 A.store.Int32(ptr + 1068 + 116 + 8, 0); 8459 A.store.Bool(ptr + 1068 + 116 + 28, false); 8460 A.store.Int32(ptr + 1068 + 116 + 12, 0); 8461 A.store.Bool(ptr + 1068 + 116 + 29, false); 8462 A.store.Int32(ptr + 1068 + 116 + 16, 0); 8463 A.store.Bool(ptr + 1068 + 116 + 30, false); 8464 A.store.Int32(ptr + 1068 + 116 + 20, 0); 8465 A.store.Bool(ptr + 1068 + 116 + 31, false); 8466 A.store.Bool(ptr + 1068 + 116 + 24, false); 8467 A.store.Bool(ptr + 1068 + 116 + 32, false); 8468 A.store.Bool(ptr + 1068 + 116 + 25, false); 8469 } else { 8470 A.store.Bool(ptr + 1068 + 116 + 33, true); 8471 A.store.Bool(ptr + 1068 + 116 + 26, "Active" in x["WiFi"]["RoamThreshold"] ? true : false); 8472 A.store.Int32( 8473 ptr + 1068 + 116 + 0, 8474 x["WiFi"]["RoamThreshold"]["Active"] === undefined ? 0 : (x["WiFi"]["RoamThreshold"]["Active"] as number) 8475 ); 8476 A.store.Ref(ptr + 1068 + 116 + 4, x["WiFi"]["RoamThreshold"]["Effective"]); 8477 A.store.Bool(ptr + 1068 + 116 + 27, "UserPolicy" in x["WiFi"]["RoamThreshold"] ? true : false); 8478 A.store.Int32( 8479 ptr + 1068 + 116 + 8, 8480 x["WiFi"]["RoamThreshold"]["UserPolicy"] === undefined 8481 ? 0 8482 : (x["WiFi"]["RoamThreshold"]["UserPolicy"] as number) 8483 ); 8484 A.store.Bool(ptr + 1068 + 116 + 28, "DevicePolicy" in x["WiFi"]["RoamThreshold"] ? true : false); 8485 A.store.Int32( 8486 ptr + 1068 + 116 + 12, 8487 x["WiFi"]["RoamThreshold"]["DevicePolicy"] === undefined 8488 ? 0 8489 : (x["WiFi"]["RoamThreshold"]["DevicePolicy"] as number) 8490 ); 8491 A.store.Bool(ptr + 1068 + 116 + 29, "UserSetting" in x["WiFi"]["RoamThreshold"] ? true : false); 8492 A.store.Int32( 8493 ptr + 1068 + 116 + 16, 8494 x["WiFi"]["RoamThreshold"]["UserSetting"] === undefined 8495 ? 0 8496 : (x["WiFi"]["RoamThreshold"]["UserSetting"] as number) 8497 ); 8498 A.store.Bool(ptr + 1068 + 116 + 30, "SharedSetting" in x["WiFi"]["RoamThreshold"] ? true : false); 8499 A.store.Int32( 8500 ptr + 1068 + 116 + 20, 8501 x["WiFi"]["RoamThreshold"]["SharedSetting"] === undefined 8502 ? 0 8503 : (x["WiFi"]["RoamThreshold"]["SharedSetting"] as number) 8504 ); 8505 A.store.Bool(ptr + 1068 + 116 + 31, "UserEditable" in x["WiFi"]["RoamThreshold"] ? true : false); 8506 A.store.Bool(ptr + 1068 + 116 + 24, x["WiFi"]["RoamThreshold"]["UserEditable"] ? true : false); 8507 A.store.Bool(ptr + 1068 + 116 + 32, "DeviceEditable" in x["WiFi"]["RoamThreshold"] ? true : false); 8508 A.store.Bool(ptr + 1068 + 116 + 25, x["WiFi"]["RoamThreshold"]["DeviceEditable"] ? true : false); 8509 } 8510 8511 if (typeof x["WiFi"]["SSID"] === "undefined") { 8512 A.store.Bool(ptr + 1068 + 152 + 28, false); 8513 A.store.Ref(ptr + 1068 + 152 + 0, undefined); 8514 A.store.Ref(ptr + 1068 + 152 + 4, undefined); 8515 A.store.Ref(ptr + 1068 + 152 + 8, undefined); 8516 A.store.Ref(ptr + 1068 + 152 + 12, undefined); 8517 A.store.Ref(ptr + 1068 + 152 + 16, undefined); 8518 A.store.Ref(ptr + 1068 + 152 + 20, undefined); 8519 A.store.Bool(ptr + 1068 + 152 + 26, false); 8520 A.store.Bool(ptr + 1068 + 152 + 24, false); 8521 A.store.Bool(ptr + 1068 + 152 + 27, false); 8522 A.store.Bool(ptr + 1068 + 152 + 25, false); 8523 } else { 8524 A.store.Bool(ptr + 1068 + 152 + 28, true); 8525 A.store.Ref(ptr + 1068 + 152 + 0, x["WiFi"]["SSID"]["Active"]); 8526 A.store.Ref(ptr + 1068 + 152 + 4, x["WiFi"]["SSID"]["Effective"]); 8527 A.store.Ref(ptr + 1068 + 152 + 8, x["WiFi"]["SSID"]["UserPolicy"]); 8528 A.store.Ref(ptr + 1068 + 152 + 12, x["WiFi"]["SSID"]["DevicePolicy"]); 8529 A.store.Ref(ptr + 1068 + 152 + 16, x["WiFi"]["SSID"]["UserSetting"]); 8530 A.store.Ref(ptr + 1068 + 152 + 20, x["WiFi"]["SSID"]["SharedSetting"]); 8531 A.store.Bool(ptr + 1068 + 152 + 26, "UserEditable" in x["WiFi"]["SSID"] ? true : false); 8532 A.store.Bool(ptr + 1068 + 152 + 24, x["WiFi"]["SSID"]["UserEditable"] ? true : false); 8533 A.store.Bool(ptr + 1068 + 152 + 27, "DeviceEditable" in x["WiFi"]["SSID"] ? true : false); 8534 A.store.Bool(ptr + 1068 + 152 + 25, x["WiFi"]["SSID"]["DeviceEditable"] ? true : false); 8535 } 8536 8537 if (typeof x["WiFi"]["Security"] === "undefined") { 8538 A.store.Bool(ptr + 1068 + 184 + 28, false); 8539 A.store.Ref(ptr + 1068 + 184 + 0, undefined); 8540 A.store.Ref(ptr + 1068 + 184 + 4, undefined); 8541 A.store.Ref(ptr + 1068 + 184 + 8, undefined); 8542 A.store.Ref(ptr + 1068 + 184 + 12, undefined); 8543 A.store.Ref(ptr + 1068 + 184 + 16, undefined); 8544 A.store.Ref(ptr + 1068 + 184 + 20, undefined); 8545 A.store.Bool(ptr + 1068 + 184 + 26, false); 8546 A.store.Bool(ptr + 1068 + 184 + 24, false); 8547 A.store.Bool(ptr + 1068 + 184 + 27, false); 8548 A.store.Bool(ptr + 1068 + 184 + 25, false); 8549 } else { 8550 A.store.Bool(ptr + 1068 + 184 + 28, true); 8551 A.store.Ref(ptr + 1068 + 184 + 0, x["WiFi"]["Security"]["Active"]); 8552 A.store.Ref(ptr + 1068 + 184 + 4, x["WiFi"]["Security"]["Effective"]); 8553 A.store.Ref(ptr + 1068 + 184 + 8, x["WiFi"]["Security"]["UserPolicy"]); 8554 A.store.Ref(ptr + 1068 + 184 + 12, x["WiFi"]["Security"]["DevicePolicy"]); 8555 A.store.Ref(ptr + 1068 + 184 + 16, x["WiFi"]["Security"]["UserSetting"]); 8556 A.store.Ref(ptr + 1068 + 184 + 20, x["WiFi"]["Security"]["SharedSetting"]); 8557 A.store.Bool(ptr + 1068 + 184 + 26, "UserEditable" in x["WiFi"]["Security"] ? true : false); 8558 A.store.Bool(ptr + 1068 + 184 + 24, x["WiFi"]["Security"]["UserEditable"] ? true : false); 8559 A.store.Bool(ptr + 1068 + 184 + 27, "DeviceEditable" in x["WiFi"]["Security"] ? true : false); 8560 A.store.Bool(ptr + 1068 + 184 + 25, x["WiFi"]["Security"]["DeviceEditable"] ? true : false); 8561 } 8562 A.store.Bool(ptr + 1068 + 221, "SignalStrength" in x["WiFi"] ? true : false); 8563 A.store.Int32( 8564 ptr + 1068 + 216, 8565 x["WiFi"]["SignalStrength"] === undefined ? 0 : (x["WiFi"]["SignalStrength"] as number) 8566 ); 8567 } 8568 } 8569 }, 8570 "load_ManagedProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 8571 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 8572 8573 if (A.load.Bool(ptr + 0 + 134)) { 8574 x["Cellular"] = {}; 8575 if (A.load.Bool(ptr + 0 + 0 + 21)) { 8576 x["Cellular"]["AutoConnect"] = {}; 8577 if (A.load.Bool(ptr + 0 + 0 + 14)) { 8578 x["Cellular"]["AutoConnect"]["Active"] = A.load.Bool(ptr + 0 + 0 + 0); 8579 } else { 8580 delete x["Cellular"]["AutoConnect"]["Active"]; 8581 } 8582 x["Cellular"]["AutoConnect"]["Effective"] = A.load.Ref(ptr + 0 + 0 + 4, undefined); 8583 if (A.load.Bool(ptr + 0 + 0 + 15)) { 8584 x["Cellular"]["AutoConnect"]["UserPolicy"] = A.load.Bool(ptr + 0 + 0 + 8); 8585 } else { 8586 delete x["Cellular"]["AutoConnect"]["UserPolicy"]; 8587 } 8588 if (A.load.Bool(ptr + 0 + 0 + 16)) { 8589 x["Cellular"]["AutoConnect"]["DevicePolicy"] = A.load.Bool(ptr + 0 + 0 + 9); 8590 } else { 8591 delete x["Cellular"]["AutoConnect"]["DevicePolicy"]; 8592 } 8593 if (A.load.Bool(ptr + 0 + 0 + 17)) { 8594 x["Cellular"]["AutoConnect"]["UserSetting"] = A.load.Bool(ptr + 0 + 0 + 10); 8595 } else { 8596 delete x["Cellular"]["AutoConnect"]["UserSetting"]; 8597 } 8598 if (A.load.Bool(ptr + 0 + 0 + 18)) { 8599 x["Cellular"]["AutoConnect"]["SharedSetting"] = A.load.Bool(ptr + 0 + 0 + 11); 8600 } else { 8601 delete x["Cellular"]["AutoConnect"]["SharedSetting"]; 8602 } 8603 if (A.load.Bool(ptr + 0 + 0 + 19)) { 8604 x["Cellular"]["AutoConnect"]["UserEditable"] = A.load.Bool(ptr + 0 + 0 + 12); 8605 } else { 8606 delete x["Cellular"]["AutoConnect"]["UserEditable"]; 8607 } 8608 if (A.load.Bool(ptr + 0 + 0 + 20)) { 8609 x["Cellular"]["AutoConnect"]["DeviceEditable"] = A.load.Bool(ptr + 0 + 0 + 13); 8610 } else { 8611 delete x["Cellular"]["AutoConnect"]["DeviceEditable"]; 8612 } 8613 } else { 8614 delete x["Cellular"]["AutoConnect"]; 8615 } 8616 x["Cellular"]["ActivationType"] = A.load.Ref(ptr + 0 + 24, undefined); 8617 x["Cellular"]["ActivationState"] = A.load.Enum(ptr + 0 + 28, [ 8618 "Activated", 8619 "Activating", 8620 "NotActivated", 8621 "PartiallyActivated", 8622 ]); 8623 if (A.load.Bool(ptr + 0 + 129)) { 8624 x["Cellular"]["AllowRoaming"] = A.load.Bool(ptr + 0 + 32); 8625 } else { 8626 delete x["Cellular"]["AllowRoaming"]; 8627 } 8628 x["Cellular"]["Family"] = A.load.Ref(ptr + 0 + 36, undefined); 8629 x["Cellular"]["FirmwareRevision"] = A.load.Ref(ptr + 0 + 40, undefined); 8630 x["Cellular"]["FoundNetworks"] = A.load.Ref(ptr + 0 + 44, undefined); 8631 x["Cellular"]["HardwareRevision"] = A.load.Ref(ptr + 0 + 48, undefined); 8632 x["Cellular"]["HomeProvider"] = A.load.Ref(ptr + 0 + 52, undefined); 8633 x["Cellular"]["Manufacturer"] = A.load.Ref(ptr + 0 + 56, undefined); 8634 x["Cellular"]["ModelID"] = A.load.Ref(ptr + 0 + 60, undefined); 8635 x["Cellular"]["NetworkTechnology"] = A.load.Ref(ptr + 0 + 64, undefined); 8636 if (A.load.Bool(ptr + 0 + 68 + 12)) { 8637 x["Cellular"]["PaymentPortal"] = {}; 8638 x["Cellular"]["PaymentPortal"]["Method"] = A.load.Ref(ptr + 0 + 68 + 0, undefined); 8639 x["Cellular"]["PaymentPortal"]["PostData"] = A.load.Ref(ptr + 0 + 68 + 4, undefined); 8640 x["Cellular"]["PaymentPortal"]["Url"] = A.load.Ref(ptr + 0 + 68 + 8, undefined); 8641 } else { 8642 delete x["Cellular"]["PaymentPortal"]; 8643 } 8644 x["Cellular"]["RoamingState"] = A.load.Ref(ptr + 0 + 84, undefined); 8645 if (A.load.Bool(ptr + 0 + 130)) { 8646 x["Cellular"]["Scanning"] = A.load.Bool(ptr + 0 + 88); 8647 } else { 8648 delete x["Cellular"]["Scanning"]; 8649 } 8650 if (A.load.Bool(ptr + 0 + 92 + 12)) { 8651 x["Cellular"]["ServingOperator"] = {}; 8652 x["Cellular"]["ServingOperator"]["Name"] = A.load.Ref(ptr + 0 + 92 + 0, undefined); 8653 x["Cellular"]["ServingOperator"]["Code"] = A.load.Ref(ptr + 0 + 92 + 4, undefined); 8654 x["Cellular"]["ServingOperator"]["Country"] = A.load.Ref(ptr + 0 + 92 + 8, undefined); 8655 } else { 8656 delete x["Cellular"]["ServingOperator"]; 8657 } 8658 if (A.load.Bool(ptr + 0 + 108 + 14)) { 8659 x["Cellular"]["SIMLockStatus"] = {}; 8660 x["Cellular"]["SIMLockStatus"]["LockType"] = A.load.Ref(ptr + 0 + 108 + 0, undefined); 8661 if (A.load.Bool(ptr + 0 + 108 + 12)) { 8662 x["Cellular"]["SIMLockStatus"]["LockEnabled"] = A.load.Bool(ptr + 0 + 108 + 4); 8663 } else { 8664 delete x["Cellular"]["SIMLockStatus"]["LockEnabled"]; 8665 } 8666 if (A.load.Bool(ptr + 0 + 108 + 13)) { 8667 x["Cellular"]["SIMLockStatus"]["RetriesLeft"] = A.load.Int32(ptr + 0 + 108 + 8); 8668 } else { 8669 delete x["Cellular"]["SIMLockStatus"]["RetriesLeft"]; 8670 } 8671 } else { 8672 delete x["Cellular"]["SIMLockStatus"]; 8673 } 8674 if (A.load.Bool(ptr + 0 + 131)) { 8675 x["Cellular"]["SIMPresent"] = A.load.Bool(ptr + 0 + 123); 8676 } else { 8677 delete x["Cellular"]["SIMPresent"]; 8678 } 8679 if (A.load.Bool(ptr + 0 + 132)) { 8680 x["Cellular"]["SignalStrength"] = A.load.Int32(ptr + 0 + 124); 8681 } else { 8682 delete x["Cellular"]["SignalStrength"]; 8683 } 8684 if (A.load.Bool(ptr + 0 + 133)) { 8685 x["Cellular"]["SupportNetworkScan"] = A.load.Bool(ptr + 0 + 128); 8686 } else { 8687 delete x["Cellular"]["SupportNetworkScan"]; 8688 } 8689 } else { 8690 delete x["Cellular"]; 8691 } 8692 if (A.load.Bool(ptr + 1291)) { 8693 x["Connectable"] = A.load.Bool(ptr + 135); 8694 } else { 8695 delete x["Connectable"]; 8696 } 8697 x["ConnectionState"] = A.load.Enum(ptr + 136, ["Connected", "Connecting", "NotConnected"]); 8698 x["ErrorState"] = A.load.Ref(ptr + 140, undefined); 8699 if (A.load.Bool(ptr + 144 + 53)) { 8700 x["Ethernet"] = {}; 8701 if (A.load.Bool(ptr + 144 + 0 + 21)) { 8702 x["Ethernet"]["AutoConnect"] = {}; 8703 if (A.load.Bool(ptr + 144 + 0 + 14)) { 8704 x["Ethernet"]["AutoConnect"]["Active"] = A.load.Bool(ptr + 144 + 0 + 0); 8705 } else { 8706 delete x["Ethernet"]["AutoConnect"]["Active"]; 8707 } 8708 x["Ethernet"]["AutoConnect"]["Effective"] = A.load.Ref(ptr + 144 + 0 + 4, undefined); 8709 if (A.load.Bool(ptr + 144 + 0 + 15)) { 8710 x["Ethernet"]["AutoConnect"]["UserPolicy"] = A.load.Bool(ptr + 144 + 0 + 8); 8711 } else { 8712 delete x["Ethernet"]["AutoConnect"]["UserPolicy"]; 8713 } 8714 if (A.load.Bool(ptr + 144 + 0 + 16)) { 8715 x["Ethernet"]["AutoConnect"]["DevicePolicy"] = A.load.Bool(ptr + 144 + 0 + 9); 8716 } else { 8717 delete x["Ethernet"]["AutoConnect"]["DevicePolicy"]; 8718 } 8719 if (A.load.Bool(ptr + 144 + 0 + 17)) { 8720 x["Ethernet"]["AutoConnect"]["UserSetting"] = A.load.Bool(ptr + 144 + 0 + 10); 8721 } else { 8722 delete x["Ethernet"]["AutoConnect"]["UserSetting"]; 8723 } 8724 if (A.load.Bool(ptr + 144 + 0 + 18)) { 8725 x["Ethernet"]["AutoConnect"]["SharedSetting"] = A.load.Bool(ptr + 144 + 0 + 11); 8726 } else { 8727 delete x["Ethernet"]["AutoConnect"]["SharedSetting"]; 8728 } 8729 if (A.load.Bool(ptr + 144 + 0 + 19)) { 8730 x["Ethernet"]["AutoConnect"]["UserEditable"] = A.load.Bool(ptr + 144 + 0 + 12); 8731 } else { 8732 delete x["Ethernet"]["AutoConnect"]["UserEditable"]; 8733 } 8734 if (A.load.Bool(ptr + 144 + 0 + 20)) { 8735 x["Ethernet"]["AutoConnect"]["DeviceEditable"] = A.load.Bool(ptr + 144 + 0 + 13); 8736 } else { 8737 delete x["Ethernet"]["AutoConnect"]["DeviceEditable"]; 8738 } 8739 } else { 8740 delete x["Ethernet"]["AutoConnect"]; 8741 } 8742 if (A.load.Bool(ptr + 144 + 24 + 28)) { 8743 x["Ethernet"]["Authentication"] = {}; 8744 x["Ethernet"]["Authentication"]["Active"] = A.load.Ref(ptr + 144 + 24 + 0, undefined); 8745 x["Ethernet"]["Authentication"]["Effective"] = A.load.Ref(ptr + 144 + 24 + 4, undefined); 8746 x["Ethernet"]["Authentication"]["UserPolicy"] = A.load.Ref(ptr + 144 + 24 + 8, undefined); 8747 x["Ethernet"]["Authentication"]["DevicePolicy"] = A.load.Ref(ptr + 144 + 24 + 12, undefined); 8748 x["Ethernet"]["Authentication"]["UserSetting"] = A.load.Ref(ptr + 144 + 24 + 16, undefined); 8749 x["Ethernet"]["Authentication"]["SharedSetting"] = A.load.Ref(ptr + 144 + 24 + 20, undefined); 8750 if (A.load.Bool(ptr + 144 + 24 + 26)) { 8751 x["Ethernet"]["Authentication"]["UserEditable"] = A.load.Bool(ptr + 144 + 24 + 24); 8752 } else { 8753 delete x["Ethernet"]["Authentication"]["UserEditable"]; 8754 } 8755 if (A.load.Bool(ptr + 144 + 24 + 27)) { 8756 x["Ethernet"]["Authentication"]["DeviceEditable"] = A.load.Bool(ptr + 144 + 24 + 25); 8757 } else { 8758 delete x["Ethernet"]["Authentication"]["DeviceEditable"]; 8759 } 8760 } else { 8761 delete x["Ethernet"]["Authentication"]; 8762 } 8763 } else { 8764 delete x["Ethernet"]; 8765 } 8766 x["GUID"] = A.load.Ref(ptr + 200, undefined); 8767 if (A.load.Bool(ptr + 204 + 28)) { 8768 x["IPAddressConfigType"] = {}; 8769 x["IPAddressConfigType"]["Active"] = A.load.Enum(ptr + 204 + 0, ["DHCP", "Static"]); 8770 x["IPAddressConfigType"]["Effective"] = A.load.Ref(ptr + 204 + 4, undefined); 8771 x["IPAddressConfigType"]["UserPolicy"] = A.load.Enum(ptr + 204 + 8, ["DHCP", "Static"]); 8772 x["IPAddressConfigType"]["DevicePolicy"] = A.load.Enum(ptr + 204 + 12, ["DHCP", "Static"]); 8773 x["IPAddressConfigType"]["UserSetting"] = A.load.Enum(ptr + 204 + 16, ["DHCP", "Static"]); 8774 x["IPAddressConfigType"]["SharedSetting"] = A.load.Enum(ptr + 204 + 20, ["DHCP", "Static"]); 8775 if (A.load.Bool(ptr + 204 + 26)) { 8776 x["IPAddressConfigType"]["UserEditable"] = A.load.Bool(ptr + 204 + 24); 8777 } else { 8778 delete x["IPAddressConfigType"]["UserEditable"]; 8779 } 8780 if (A.load.Bool(ptr + 204 + 27)) { 8781 x["IPAddressConfigType"]["DeviceEditable"] = A.load.Bool(ptr + 204 + 25); 8782 } else { 8783 delete x["IPAddressConfigType"]["DeviceEditable"]; 8784 } 8785 } else { 8786 delete x["IPAddressConfigType"]; 8787 } 8788 x["IPConfigs"] = A.load.Ref(ptr + 236, undefined); 8789 x["MacAddress"] = A.load.Ref(ptr + 240, undefined); 8790 if (A.load.Bool(ptr + 244 + 21)) { 8791 x["Metered"] = {}; 8792 if (A.load.Bool(ptr + 244 + 14)) { 8793 x["Metered"]["Active"] = A.load.Bool(ptr + 244 + 0); 8794 } else { 8795 delete x["Metered"]["Active"]; 8796 } 8797 x["Metered"]["Effective"] = A.load.Ref(ptr + 244 + 4, undefined); 8798 if (A.load.Bool(ptr + 244 + 15)) { 8799 x["Metered"]["UserPolicy"] = A.load.Bool(ptr + 244 + 8); 8800 } else { 8801 delete x["Metered"]["UserPolicy"]; 8802 } 8803 if (A.load.Bool(ptr + 244 + 16)) { 8804 x["Metered"]["DevicePolicy"] = A.load.Bool(ptr + 244 + 9); 8805 } else { 8806 delete x["Metered"]["DevicePolicy"]; 8807 } 8808 if (A.load.Bool(ptr + 244 + 17)) { 8809 x["Metered"]["UserSetting"] = A.load.Bool(ptr + 244 + 10); 8810 } else { 8811 delete x["Metered"]["UserSetting"]; 8812 } 8813 if (A.load.Bool(ptr + 244 + 18)) { 8814 x["Metered"]["SharedSetting"] = A.load.Bool(ptr + 244 + 11); 8815 } else { 8816 delete x["Metered"]["SharedSetting"]; 8817 } 8818 if (A.load.Bool(ptr + 244 + 19)) { 8819 x["Metered"]["UserEditable"] = A.load.Bool(ptr + 244 + 12); 8820 } else { 8821 delete x["Metered"]["UserEditable"]; 8822 } 8823 if (A.load.Bool(ptr + 244 + 20)) { 8824 x["Metered"]["DeviceEditable"] = A.load.Bool(ptr + 244 + 13); 8825 } else { 8826 delete x["Metered"]["DeviceEditable"]; 8827 } 8828 } else { 8829 delete x["Metered"]; 8830 } 8831 if (A.load.Bool(ptr + 268 + 28)) { 8832 x["Name"] = {}; 8833 x["Name"]["Active"] = A.load.Ref(ptr + 268 + 0, undefined); 8834 x["Name"]["Effective"] = A.load.Ref(ptr + 268 + 4, undefined); 8835 x["Name"]["UserPolicy"] = A.load.Ref(ptr + 268 + 8, undefined); 8836 x["Name"]["DevicePolicy"] = A.load.Ref(ptr + 268 + 12, undefined); 8837 x["Name"]["UserSetting"] = A.load.Ref(ptr + 268 + 16, undefined); 8838 x["Name"]["SharedSetting"] = A.load.Ref(ptr + 268 + 20, undefined); 8839 if (A.load.Bool(ptr + 268 + 26)) { 8840 x["Name"]["UserEditable"] = A.load.Bool(ptr + 268 + 24); 8841 } else { 8842 delete x["Name"]["UserEditable"]; 8843 } 8844 if (A.load.Bool(ptr + 268 + 27)) { 8845 x["Name"]["DeviceEditable"] = A.load.Bool(ptr + 268 + 25); 8846 } else { 8847 delete x["Name"]["DeviceEditable"]; 8848 } 8849 } else { 8850 delete x["Name"]; 8851 } 8852 if (A.load.Bool(ptr + 300 + 28)) { 8853 x["NameServersConfigType"] = {}; 8854 x["NameServersConfigType"]["Active"] = A.load.Enum(ptr + 300 + 0, ["DHCP", "Static"]); 8855 x["NameServersConfigType"]["Effective"] = A.load.Ref(ptr + 300 + 4, undefined); 8856 x["NameServersConfigType"]["UserPolicy"] = A.load.Enum(ptr + 300 + 8, ["DHCP", "Static"]); 8857 x["NameServersConfigType"]["DevicePolicy"] = A.load.Enum(ptr + 300 + 12, ["DHCP", "Static"]); 8858 x["NameServersConfigType"]["UserSetting"] = A.load.Enum(ptr + 300 + 16, ["DHCP", "Static"]); 8859 x["NameServersConfigType"]["SharedSetting"] = A.load.Enum(ptr + 300 + 20, ["DHCP", "Static"]); 8860 if (A.load.Bool(ptr + 300 + 26)) { 8861 x["NameServersConfigType"]["UserEditable"] = A.load.Bool(ptr + 300 + 24); 8862 } else { 8863 delete x["NameServersConfigType"]["UserEditable"]; 8864 } 8865 if (A.load.Bool(ptr + 300 + 27)) { 8866 x["NameServersConfigType"]["DeviceEditable"] = A.load.Bool(ptr + 300 + 25); 8867 } else { 8868 delete x["NameServersConfigType"]["DeviceEditable"]; 8869 } 8870 } else { 8871 delete x["NameServersConfigType"]; 8872 } 8873 if (A.load.Bool(ptr + 332 + 33)) { 8874 x["Priority"] = {}; 8875 if (A.load.Bool(ptr + 332 + 26)) { 8876 x["Priority"]["Active"] = A.load.Int32(ptr + 332 + 0); 8877 } else { 8878 delete x["Priority"]["Active"]; 8879 } 8880 x["Priority"]["Effective"] = A.load.Ref(ptr + 332 + 4, undefined); 8881 if (A.load.Bool(ptr + 332 + 27)) { 8882 x["Priority"]["UserPolicy"] = A.load.Int32(ptr + 332 + 8); 8883 } else { 8884 delete x["Priority"]["UserPolicy"]; 8885 } 8886 if (A.load.Bool(ptr + 332 + 28)) { 8887 x["Priority"]["DevicePolicy"] = A.load.Int32(ptr + 332 + 12); 8888 } else { 8889 delete x["Priority"]["DevicePolicy"]; 8890 } 8891 if (A.load.Bool(ptr + 332 + 29)) { 8892 x["Priority"]["UserSetting"] = A.load.Int32(ptr + 332 + 16); 8893 } else { 8894 delete x["Priority"]["UserSetting"]; 8895 } 8896 if (A.load.Bool(ptr + 332 + 30)) { 8897 x["Priority"]["SharedSetting"] = A.load.Int32(ptr + 332 + 20); 8898 } else { 8899 delete x["Priority"]["SharedSetting"]; 8900 } 8901 if (A.load.Bool(ptr + 332 + 31)) { 8902 x["Priority"]["UserEditable"] = A.load.Bool(ptr + 332 + 24); 8903 } else { 8904 delete x["Priority"]["UserEditable"]; 8905 } 8906 if (A.load.Bool(ptr + 332 + 32)) { 8907 x["Priority"]["DeviceEditable"] = A.load.Bool(ptr + 332 + 25); 8908 } else { 8909 delete x["Priority"]["DeviceEditable"]; 8910 } 8911 } else { 8912 delete x["Priority"]; 8913 } 8914 if (A.load.Bool(ptr + 368 + 365)) { 8915 x["ProxySettings"] = {}; 8916 if (A.load.Bool(ptr + 368 + 0 + 28)) { 8917 x["ProxySettings"]["Type"] = {}; 8918 x["ProxySettings"]["Type"]["Active"] = A.load.Enum(ptr + 368 + 0 + 0, ["Direct", "Manual", "PAC", "WPAD"]); 8919 x["ProxySettings"]["Type"]["Effective"] = A.load.Ref(ptr + 368 + 0 + 4, undefined); 8920 x["ProxySettings"]["Type"]["UserPolicy"] = A.load.Enum(ptr + 368 + 0 + 8, [ 8921 "Direct", 8922 "Manual", 8923 "PAC", 8924 "WPAD", 8925 ]); 8926 x["ProxySettings"]["Type"]["DevicePolicy"] = A.load.Enum(ptr + 368 + 0 + 12, [ 8927 "Direct", 8928 "Manual", 8929 "PAC", 8930 "WPAD", 8931 ]); 8932 x["ProxySettings"]["Type"]["UserSetting"] = A.load.Enum(ptr + 368 + 0 + 16, [ 8933 "Direct", 8934 "Manual", 8935 "PAC", 8936 "WPAD", 8937 ]); 8938 x["ProxySettings"]["Type"]["SharedSetting"] = A.load.Enum(ptr + 368 + 0 + 20, [ 8939 "Direct", 8940 "Manual", 8941 "PAC", 8942 "WPAD", 8943 ]); 8944 if (A.load.Bool(ptr + 368 + 0 + 26)) { 8945 x["ProxySettings"]["Type"]["UserEditable"] = A.load.Bool(ptr + 368 + 0 + 24); 8946 } else { 8947 delete x["ProxySettings"]["Type"]["UserEditable"]; 8948 } 8949 if (A.load.Bool(ptr + 368 + 0 + 27)) { 8950 x["ProxySettings"]["Type"]["DeviceEditable"] = A.load.Bool(ptr + 368 + 0 + 25); 8951 } else { 8952 delete x["ProxySettings"]["Type"]["DeviceEditable"]; 8953 } 8954 } else { 8955 delete x["ProxySettings"]["Type"]; 8956 } 8957 if (A.load.Bool(ptr + 368 + 32 + 271)) { 8958 x["ProxySettings"]["Manual"] = {}; 8959 if (A.load.Bool(ptr + 368 + 32 + 0 + 66)) { 8960 x["ProxySettings"]["Manual"]["HTTPProxy"] = {}; 8961 if (A.load.Bool(ptr + 368 + 32 + 0 + 0 + 28)) { 8962 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"] = {}; 8963 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["Active"] = A.load.Ref( 8964 ptr + 368 + 32 + 0 + 0 + 0, 8965 undefined 8966 ); 8967 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["Effective"] = A.load.Ref( 8968 ptr + 368 + 32 + 0 + 0 + 4, 8969 undefined 8970 ); 8971 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["UserPolicy"] = A.load.Ref( 8972 ptr + 368 + 32 + 0 + 0 + 8, 8973 undefined 8974 ); 8975 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["DevicePolicy"] = A.load.Ref( 8976 ptr + 368 + 32 + 0 + 0 + 12, 8977 undefined 8978 ); 8979 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["UserSetting"] = A.load.Ref( 8980 ptr + 368 + 32 + 0 + 0 + 16, 8981 undefined 8982 ); 8983 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["SharedSetting"] = A.load.Ref( 8984 ptr + 368 + 32 + 0 + 0 + 20, 8985 undefined 8986 ); 8987 if (A.load.Bool(ptr + 368 + 32 + 0 + 0 + 26)) { 8988 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["UserEditable"] = A.load.Bool( 8989 ptr + 368 + 32 + 0 + 0 + 24 8990 ); 8991 } else { 8992 delete x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["UserEditable"]; 8993 } 8994 if (A.load.Bool(ptr + 368 + 32 + 0 + 0 + 27)) { 8995 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["DeviceEditable"] = A.load.Bool( 8996 ptr + 368 + 32 + 0 + 0 + 25 8997 ); 8998 } else { 8999 delete x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]["DeviceEditable"]; 9000 } 9001 } else { 9002 delete x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]; 9003 } 9004 if (A.load.Bool(ptr + 368 + 32 + 0 + 32 + 33)) { 9005 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"] = {}; 9006 if (A.load.Bool(ptr + 368 + 32 + 0 + 32 + 26)) { 9007 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["Active"] = A.load.Int32(ptr + 368 + 32 + 0 + 32 + 0); 9008 } else { 9009 delete x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["Active"]; 9010 } 9011 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["Effective"] = A.load.Ref( 9012 ptr + 368 + 32 + 0 + 32 + 4, 9013 undefined 9014 ); 9015 if (A.load.Bool(ptr + 368 + 32 + 0 + 32 + 27)) { 9016 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["UserPolicy"] = A.load.Int32( 9017 ptr + 368 + 32 + 0 + 32 + 8 9018 ); 9019 } else { 9020 delete x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["UserPolicy"]; 9021 } 9022 if (A.load.Bool(ptr + 368 + 32 + 0 + 32 + 28)) { 9023 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["DevicePolicy"] = A.load.Int32( 9024 ptr + 368 + 32 + 0 + 32 + 12 9025 ); 9026 } else { 9027 delete x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["DevicePolicy"]; 9028 } 9029 if (A.load.Bool(ptr + 368 + 32 + 0 + 32 + 29)) { 9030 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["UserSetting"] = A.load.Int32( 9031 ptr + 368 + 32 + 0 + 32 + 16 9032 ); 9033 } else { 9034 delete x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["UserSetting"]; 9035 } 9036 if (A.load.Bool(ptr + 368 + 32 + 0 + 32 + 30)) { 9037 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["SharedSetting"] = A.load.Int32( 9038 ptr + 368 + 32 + 0 + 32 + 20 9039 ); 9040 } else { 9041 delete x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["SharedSetting"]; 9042 } 9043 if (A.load.Bool(ptr + 368 + 32 + 0 + 32 + 31)) { 9044 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["UserEditable"] = A.load.Bool( 9045 ptr + 368 + 32 + 0 + 32 + 24 9046 ); 9047 } else { 9048 delete x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["UserEditable"]; 9049 } 9050 if (A.load.Bool(ptr + 368 + 32 + 0 + 32 + 32)) { 9051 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["DeviceEditable"] = A.load.Bool( 9052 ptr + 368 + 32 + 0 + 32 + 25 9053 ); 9054 } else { 9055 delete x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]["DeviceEditable"]; 9056 } 9057 } else { 9058 delete x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]; 9059 } 9060 } else { 9061 delete x["ProxySettings"]["Manual"]["HTTPProxy"]; 9062 } 9063 if (A.load.Bool(ptr + 368 + 32 + 68 + 66)) { 9064 x["ProxySettings"]["Manual"]["SecureHTTPProxy"] = {}; 9065 if (A.load.Bool(ptr + 368 + 32 + 68 + 0 + 28)) { 9066 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"] = {}; 9067 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["Active"] = A.load.Ref( 9068 ptr + 368 + 32 + 68 + 0 + 0, 9069 undefined 9070 ); 9071 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["Effective"] = A.load.Ref( 9072 ptr + 368 + 32 + 68 + 0 + 4, 9073 undefined 9074 ); 9075 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["UserPolicy"] = A.load.Ref( 9076 ptr + 368 + 32 + 68 + 0 + 8, 9077 undefined 9078 ); 9079 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["DevicePolicy"] = A.load.Ref( 9080 ptr + 368 + 32 + 68 + 0 + 12, 9081 undefined 9082 ); 9083 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["UserSetting"] = A.load.Ref( 9084 ptr + 368 + 32 + 68 + 0 + 16, 9085 undefined 9086 ); 9087 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["SharedSetting"] = A.load.Ref( 9088 ptr + 368 + 32 + 68 + 0 + 20, 9089 undefined 9090 ); 9091 if (A.load.Bool(ptr + 368 + 32 + 68 + 0 + 26)) { 9092 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["UserEditable"] = A.load.Bool( 9093 ptr + 368 + 32 + 68 + 0 + 24 9094 ); 9095 } else { 9096 delete x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["UserEditable"]; 9097 } 9098 if (A.load.Bool(ptr + 368 + 32 + 68 + 0 + 27)) { 9099 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["DeviceEditable"] = A.load.Bool( 9100 ptr + 368 + 32 + 68 + 0 + 25 9101 ); 9102 } else { 9103 delete x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]["DeviceEditable"]; 9104 } 9105 } else { 9106 delete x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]; 9107 } 9108 if (A.load.Bool(ptr + 368 + 32 + 68 + 32 + 33)) { 9109 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"] = {}; 9110 if (A.load.Bool(ptr + 368 + 32 + 68 + 32 + 26)) { 9111 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["Active"] = A.load.Int32( 9112 ptr + 368 + 32 + 68 + 32 + 0 9113 ); 9114 } else { 9115 delete x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["Active"]; 9116 } 9117 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["Effective"] = A.load.Ref( 9118 ptr + 368 + 32 + 68 + 32 + 4, 9119 undefined 9120 ); 9121 if (A.load.Bool(ptr + 368 + 32 + 68 + 32 + 27)) { 9122 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["UserPolicy"] = A.load.Int32( 9123 ptr + 368 + 32 + 68 + 32 + 8 9124 ); 9125 } else { 9126 delete x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["UserPolicy"]; 9127 } 9128 if (A.load.Bool(ptr + 368 + 32 + 68 + 32 + 28)) { 9129 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["DevicePolicy"] = A.load.Int32( 9130 ptr + 368 + 32 + 68 + 32 + 12 9131 ); 9132 } else { 9133 delete x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["DevicePolicy"]; 9134 } 9135 if (A.load.Bool(ptr + 368 + 32 + 68 + 32 + 29)) { 9136 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["UserSetting"] = A.load.Int32( 9137 ptr + 368 + 32 + 68 + 32 + 16 9138 ); 9139 } else { 9140 delete x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["UserSetting"]; 9141 } 9142 if (A.load.Bool(ptr + 368 + 32 + 68 + 32 + 30)) { 9143 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["SharedSetting"] = A.load.Int32( 9144 ptr + 368 + 32 + 68 + 32 + 20 9145 ); 9146 } else { 9147 delete x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["SharedSetting"]; 9148 } 9149 if (A.load.Bool(ptr + 368 + 32 + 68 + 32 + 31)) { 9150 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["UserEditable"] = A.load.Bool( 9151 ptr + 368 + 32 + 68 + 32 + 24 9152 ); 9153 } else { 9154 delete x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["UserEditable"]; 9155 } 9156 if (A.load.Bool(ptr + 368 + 32 + 68 + 32 + 32)) { 9157 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["DeviceEditable"] = A.load.Bool( 9158 ptr + 368 + 32 + 68 + 32 + 25 9159 ); 9160 } else { 9161 delete x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]["DeviceEditable"]; 9162 } 9163 } else { 9164 delete x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]; 9165 } 9166 } else { 9167 delete x["ProxySettings"]["Manual"]["SecureHTTPProxy"]; 9168 } 9169 if (A.load.Bool(ptr + 368 + 32 + 136 + 66)) { 9170 x["ProxySettings"]["Manual"]["FTPProxy"] = {}; 9171 if (A.load.Bool(ptr + 368 + 32 + 136 + 0 + 28)) { 9172 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"] = {}; 9173 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["Active"] = A.load.Ref( 9174 ptr + 368 + 32 + 136 + 0 + 0, 9175 undefined 9176 ); 9177 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["Effective"] = A.load.Ref( 9178 ptr + 368 + 32 + 136 + 0 + 4, 9179 undefined 9180 ); 9181 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["UserPolicy"] = A.load.Ref( 9182 ptr + 368 + 32 + 136 + 0 + 8, 9183 undefined 9184 ); 9185 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["DevicePolicy"] = A.load.Ref( 9186 ptr + 368 + 32 + 136 + 0 + 12, 9187 undefined 9188 ); 9189 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["UserSetting"] = A.load.Ref( 9190 ptr + 368 + 32 + 136 + 0 + 16, 9191 undefined 9192 ); 9193 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["SharedSetting"] = A.load.Ref( 9194 ptr + 368 + 32 + 136 + 0 + 20, 9195 undefined 9196 ); 9197 if (A.load.Bool(ptr + 368 + 32 + 136 + 0 + 26)) { 9198 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["UserEditable"] = A.load.Bool( 9199 ptr + 368 + 32 + 136 + 0 + 24 9200 ); 9201 } else { 9202 delete x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["UserEditable"]; 9203 } 9204 if (A.load.Bool(ptr + 368 + 32 + 136 + 0 + 27)) { 9205 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["DeviceEditable"] = A.load.Bool( 9206 ptr + 368 + 32 + 136 + 0 + 25 9207 ); 9208 } else { 9209 delete x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]["DeviceEditable"]; 9210 } 9211 } else { 9212 delete x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]; 9213 } 9214 if (A.load.Bool(ptr + 368 + 32 + 136 + 32 + 33)) { 9215 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"] = {}; 9216 if (A.load.Bool(ptr + 368 + 32 + 136 + 32 + 26)) { 9217 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["Active"] = A.load.Int32( 9218 ptr + 368 + 32 + 136 + 32 + 0 9219 ); 9220 } else { 9221 delete x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["Active"]; 9222 } 9223 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["Effective"] = A.load.Ref( 9224 ptr + 368 + 32 + 136 + 32 + 4, 9225 undefined 9226 ); 9227 if (A.load.Bool(ptr + 368 + 32 + 136 + 32 + 27)) { 9228 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["UserPolicy"] = A.load.Int32( 9229 ptr + 368 + 32 + 136 + 32 + 8 9230 ); 9231 } else { 9232 delete x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["UserPolicy"]; 9233 } 9234 if (A.load.Bool(ptr + 368 + 32 + 136 + 32 + 28)) { 9235 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["DevicePolicy"] = A.load.Int32( 9236 ptr + 368 + 32 + 136 + 32 + 12 9237 ); 9238 } else { 9239 delete x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["DevicePolicy"]; 9240 } 9241 if (A.load.Bool(ptr + 368 + 32 + 136 + 32 + 29)) { 9242 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["UserSetting"] = A.load.Int32( 9243 ptr + 368 + 32 + 136 + 32 + 16 9244 ); 9245 } else { 9246 delete x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["UserSetting"]; 9247 } 9248 if (A.load.Bool(ptr + 368 + 32 + 136 + 32 + 30)) { 9249 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["SharedSetting"] = A.load.Int32( 9250 ptr + 368 + 32 + 136 + 32 + 20 9251 ); 9252 } else { 9253 delete x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["SharedSetting"]; 9254 } 9255 if (A.load.Bool(ptr + 368 + 32 + 136 + 32 + 31)) { 9256 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["UserEditable"] = A.load.Bool( 9257 ptr + 368 + 32 + 136 + 32 + 24 9258 ); 9259 } else { 9260 delete x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["UserEditable"]; 9261 } 9262 if (A.load.Bool(ptr + 368 + 32 + 136 + 32 + 32)) { 9263 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["DeviceEditable"] = A.load.Bool( 9264 ptr + 368 + 32 + 136 + 32 + 25 9265 ); 9266 } else { 9267 delete x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]["DeviceEditable"]; 9268 } 9269 } else { 9270 delete x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]; 9271 } 9272 } else { 9273 delete x["ProxySettings"]["Manual"]["FTPProxy"]; 9274 } 9275 if (A.load.Bool(ptr + 368 + 32 + 204 + 66)) { 9276 x["ProxySettings"]["Manual"]["SOCKS"] = {}; 9277 if (A.load.Bool(ptr + 368 + 32 + 204 + 0 + 28)) { 9278 x["ProxySettings"]["Manual"]["SOCKS"]["Host"] = {}; 9279 x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["Active"] = A.load.Ref( 9280 ptr + 368 + 32 + 204 + 0 + 0, 9281 undefined 9282 ); 9283 x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["Effective"] = A.load.Ref( 9284 ptr + 368 + 32 + 204 + 0 + 4, 9285 undefined 9286 ); 9287 x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["UserPolicy"] = A.load.Ref( 9288 ptr + 368 + 32 + 204 + 0 + 8, 9289 undefined 9290 ); 9291 x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["DevicePolicy"] = A.load.Ref( 9292 ptr + 368 + 32 + 204 + 0 + 12, 9293 undefined 9294 ); 9295 x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["UserSetting"] = A.load.Ref( 9296 ptr + 368 + 32 + 204 + 0 + 16, 9297 undefined 9298 ); 9299 x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["SharedSetting"] = A.load.Ref( 9300 ptr + 368 + 32 + 204 + 0 + 20, 9301 undefined 9302 ); 9303 if (A.load.Bool(ptr + 368 + 32 + 204 + 0 + 26)) { 9304 x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["UserEditable"] = A.load.Bool( 9305 ptr + 368 + 32 + 204 + 0 + 24 9306 ); 9307 } else { 9308 delete x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["UserEditable"]; 9309 } 9310 if (A.load.Bool(ptr + 368 + 32 + 204 + 0 + 27)) { 9311 x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["DeviceEditable"] = A.load.Bool( 9312 ptr + 368 + 32 + 204 + 0 + 25 9313 ); 9314 } else { 9315 delete x["ProxySettings"]["Manual"]["SOCKS"]["Host"]["DeviceEditable"]; 9316 } 9317 } else { 9318 delete x["ProxySettings"]["Manual"]["SOCKS"]["Host"]; 9319 } 9320 if (A.load.Bool(ptr + 368 + 32 + 204 + 32 + 33)) { 9321 x["ProxySettings"]["Manual"]["SOCKS"]["Port"] = {}; 9322 if (A.load.Bool(ptr + 368 + 32 + 204 + 32 + 26)) { 9323 x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["Active"] = A.load.Int32(ptr + 368 + 32 + 204 + 32 + 0); 9324 } else { 9325 delete x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["Active"]; 9326 } 9327 x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["Effective"] = A.load.Ref( 9328 ptr + 368 + 32 + 204 + 32 + 4, 9329 undefined 9330 ); 9331 if (A.load.Bool(ptr + 368 + 32 + 204 + 32 + 27)) { 9332 x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["UserPolicy"] = A.load.Int32( 9333 ptr + 368 + 32 + 204 + 32 + 8 9334 ); 9335 } else { 9336 delete x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["UserPolicy"]; 9337 } 9338 if (A.load.Bool(ptr + 368 + 32 + 204 + 32 + 28)) { 9339 x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["DevicePolicy"] = A.load.Int32( 9340 ptr + 368 + 32 + 204 + 32 + 12 9341 ); 9342 } else { 9343 delete x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["DevicePolicy"]; 9344 } 9345 if (A.load.Bool(ptr + 368 + 32 + 204 + 32 + 29)) { 9346 x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["UserSetting"] = A.load.Int32( 9347 ptr + 368 + 32 + 204 + 32 + 16 9348 ); 9349 } else { 9350 delete x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["UserSetting"]; 9351 } 9352 if (A.load.Bool(ptr + 368 + 32 + 204 + 32 + 30)) { 9353 x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["SharedSetting"] = A.load.Int32( 9354 ptr + 368 + 32 + 204 + 32 + 20 9355 ); 9356 } else { 9357 delete x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["SharedSetting"]; 9358 } 9359 if (A.load.Bool(ptr + 368 + 32 + 204 + 32 + 31)) { 9360 x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["UserEditable"] = A.load.Bool( 9361 ptr + 368 + 32 + 204 + 32 + 24 9362 ); 9363 } else { 9364 delete x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["UserEditable"]; 9365 } 9366 if (A.load.Bool(ptr + 368 + 32 + 204 + 32 + 32)) { 9367 x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["DeviceEditable"] = A.load.Bool( 9368 ptr + 368 + 32 + 204 + 32 + 25 9369 ); 9370 } else { 9371 delete x["ProxySettings"]["Manual"]["SOCKS"]["Port"]["DeviceEditable"]; 9372 } 9373 } else { 9374 delete x["ProxySettings"]["Manual"]["SOCKS"]["Port"]; 9375 } 9376 } else { 9377 delete x["ProxySettings"]["Manual"]["SOCKS"]; 9378 } 9379 } else { 9380 delete x["ProxySettings"]["Manual"]; 9381 } 9382 if (A.load.Bool(ptr + 368 + 304 + 28)) { 9383 x["ProxySettings"]["ExcludeDomains"] = {}; 9384 x["ProxySettings"]["ExcludeDomains"]["Active"] = A.load.Ref(ptr + 368 + 304 + 0, undefined); 9385 x["ProxySettings"]["ExcludeDomains"]["Effective"] = A.load.Ref(ptr + 368 + 304 + 4, undefined); 9386 x["ProxySettings"]["ExcludeDomains"]["UserPolicy"] = A.load.Ref(ptr + 368 + 304 + 8, undefined); 9387 x["ProxySettings"]["ExcludeDomains"]["DevicePolicy"] = A.load.Ref(ptr + 368 + 304 + 12, undefined); 9388 x["ProxySettings"]["ExcludeDomains"]["UserSetting"] = A.load.Ref(ptr + 368 + 304 + 16, undefined); 9389 x["ProxySettings"]["ExcludeDomains"]["SharedSetting"] = A.load.Ref(ptr + 368 + 304 + 20, undefined); 9390 if (A.load.Bool(ptr + 368 + 304 + 26)) { 9391 x["ProxySettings"]["ExcludeDomains"]["UserEditable"] = A.load.Bool(ptr + 368 + 304 + 24); 9392 } else { 9393 delete x["ProxySettings"]["ExcludeDomains"]["UserEditable"]; 9394 } 9395 if (A.load.Bool(ptr + 368 + 304 + 27)) { 9396 x["ProxySettings"]["ExcludeDomains"]["DeviceEditable"] = A.load.Bool(ptr + 368 + 304 + 25); 9397 } else { 9398 delete x["ProxySettings"]["ExcludeDomains"]["DeviceEditable"]; 9399 } 9400 } else { 9401 delete x["ProxySettings"]["ExcludeDomains"]; 9402 } 9403 if (A.load.Bool(ptr + 368 + 336 + 28)) { 9404 x["ProxySettings"]["PAC"] = {}; 9405 x["ProxySettings"]["PAC"]["Active"] = A.load.Ref(ptr + 368 + 336 + 0, undefined); 9406 x["ProxySettings"]["PAC"]["Effective"] = A.load.Ref(ptr + 368 + 336 + 4, undefined); 9407 x["ProxySettings"]["PAC"]["UserPolicy"] = A.load.Ref(ptr + 368 + 336 + 8, undefined); 9408 x["ProxySettings"]["PAC"]["DevicePolicy"] = A.load.Ref(ptr + 368 + 336 + 12, undefined); 9409 x["ProxySettings"]["PAC"]["UserSetting"] = A.load.Ref(ptr + 368 + 336 + 16, undefined); 9410 x["ProxySettings"]["PAC"]["SharedSetting"] = A.load.Ref(ptr + 368 + 336 + 20, undefined); 9411 if (A.load.Bool(ptr + 368 + 336 + 26)) { 9412 x["ProxySettings"]["PAC"]["UserEditable"] = A.load.Bool(ptr + 368 + 336 + 24); 9413 } else { 9414 delete x["ProxySettings"]["PAC"]["UserEditable"]; 9415 } 9416 if (A.load.Bool(ptr + 368 + 336 + 27)) { 9417 x["ProxySettings"]["PAC"]["DeviceEditable"] = A.load.Bool(ptr + 368 + 336 + 25); 9418 } else { 9419 delete x["ProxySettings"]["PAC"]["DeviceEditable"]; 9420 } 9421 } else { 9422 delete x["ProxySettings"]["PAC"]; 9423 } 9424 } else { 9425 delete x["ProxySettings"]; 9426 } 9427 if (A.load.Bool(ptr + 1292)) { 9428 x["RestrictedConnectivity"] = A.load.Bool(ptr + 734); 9429 } else { 9430 delete x["RestrictedConnectivity"]; 9431 } 9432 if (A.load.Bool(ptr + 736 + 193)) { 9433 x["StaticIPConfig"] = {}; 9434 if (A.load.Bool(ptr + 736 + 0 + 28)) { 9435 x["StaticIPConfig"]["Gateway"] = {}; 9436 x["StaticIPConfig"]["Gateway"]["Active"] = A.load.Ref(ptr + 736 + 0 + 0, undefined); 9437 x["StaticIPConfig"]["Gateway"]["Effective"] = A.load.Ref(ptr + 736 + 0 + 4, undefined); 9438 x["StaticIPConfig"]["Gateway"]["UserPolicy"] = A.load.Ref(ptr + 736 + 0 + 8, undefined); 9439 x["StaticIPConfig"]["Gateway"]["DevicePolicy"] = A.load.Ref(ptr + 736 + 0 + 12, undefined); 9440 x["StaticIPConfig"]["Gateway"]["UserSetting"] = A.load.Ref(ptr + 736 + 0 + 16, undefined); 9441 x["StaticIPConfig"]["Gateway"]["SharedSetting"] = A.load.Ref(ptr + 736 + 0 + 20, undefined); 9442 if (A.load.Bool(ptr + 736 + 0 + 26)) { 9443 x["StaticIPConfig"]["Gateway"]["UserEditable"] = A.load.Bool(ptr + 736 + 0 + 24); 9444 } else { 9445 delete x["StaticIPConfig"]["Gateway"]["UserEditable"]; 9446 } 9447 if (A.load.Bool(ptr + 736 + 0 + 27)) { 9448 x["StaticIPConfig"]["Gateway"]["DeviceEditable"] = A.load.Bool(ptr + 736 + 0 + 25); 9449 } else { 9450 delete x["StaticIPConfig"]["Gateway"]["DeviceEditable"]; 9451 } 9452 } else { 9453 delete x["StaticIPConfig"]["Gateway"]; 9454 } 9455 if (A.load.Bool(ptr + 736 + 32 + 28)) { 9456 x["StaticIPConfig"]["IPAddress"] = {}; 9457 x["StaticIPConfig"]["IPAddress"]["Active"] = A.load.Ref(ptr + 736 + 32 + 0, undefined); 9458 x["StaticIPConfig"]["IPAddress"]["Effective"] = A.load.Ref(ptr + 736 + 32 + 4, undefined); 9459 x["StaticIPConfig"]["IPAddress"]["UserPolicy"] = A.load.Ref(ptr + 736 + 32 + 8, undefined); 9460 x["StaticIPConfig"]["IPAddress"]["DevicePolicy"] = A.load.Ref(ptr + 736 + 32 + 12, undefined); 9461 x["StaticIPConfig"]["IPAddress"]["UserSetting"] = A.load.Ref(ptr + 736 + 32 + 16, undefined); 9462 x["StaticIPConfig"]["IPAddress"]["SharedSetting"] = A.load.Ref(ptr + 736 + 32 + 20, undefined); 9463 if (A.load.Bool(ptr + 736 + 32 + 26)) { 9464 x["StaticIPConfig"]["IPAddress"]["UserEditable"] = A.load.Bool(ptr + 736 + 32 + 24); 9465 } else { 9466 delete x["StaticIPConfig"]["IPAddress"]["UserEditable"]; 9467 } 9468 if (A.load.Bool(ptr + 736 + 32 + 27)) { 9469 x["StaticIPConfig"]["IPAddress"]["DeviceEditable"] = A.load.Bool(ptr + 736 + 32 + 25); 9470 } else { 9471 delete x["StaticIPConfig"]["IPAddress"]["DeviceEditable"]; 9472 } 9473 } else { 9474 delete x["StaticIPConfig"]["IPAddress"]; 9475 } 9476 if (A.load.Bool(ptr + 736 + 64 + 28)) { 9477 x["StaticIPConfig"]["NameServers"] = {}; 9478 x["StaticIPConfig"]["NameServers"]["Active"] = A.load.Ref(ptr + 736 + 64 + 0, undefined); 9479 x["StaticIPConfig"]["NameServers"]["Effective"] = A.load.Ref(ptr + 736 + 64 + 4, undefined); 9480 x["StaticIPConfig"]["NameServers"]["UserPolicy"] = A.load.Ref(ptr + 736 + 64 + 8, undefined); 9481 x["StaticIPConfig"]["NameServers"]["DevicePolicy"] = A.load.Ref(ptr + 736 + 64 + 12, undefined); 9482 x["StaticIPConfig"]["NameServers"]["UserSetting"] = A.load.Ref(ptr + 736 + 64 + 16, undefined); 9483 x["StaticIPConfig"]["NameServers"]["SharedSetting"] = A.load.Ref(ptr + 736 + 64 + 20, undefined); 9484 if (A.load.Bool(ptr + 736 + 64 + 26)) { 9485 x["StaticIPConfig"]["NameServers"]["UserEditable"] = A.load.Bool(ptr + 736 + 64 + 24); 9486 } else { 9487 delete x["StaticIPConfig"]["NameServers"]["UserEditable"]; 9488 } 9489 if (A.load.Bool(ptr + 736 + 64 + 27)) { 9490 x["StaticIPConfig"]["NameServers"]["DeviceEditable"] = A.load.Bool(ptr + 736 + 64 + 25); 9491 } else { 9492 delete x["StaticIPConfig"]["NameServers"]["DeviceEditable"]; 9493 } 9494 } else { 9495 delete x["StaticIPConfig"]["NameServers"]; 9496 } 9497 if (A.load.Bool(ptr + 736 + 96 + 33)) { 9498 x["StaticIPConfig"]["RoutingPrefix"] = {}; 9499 if (A.load.Bool(ptr + 736 + 96 + 26)) { 9500 x["StaticIPConfig"]["RoutingPrefix"]["Active"] = A.load.Int32(ptr + 736 + 96 + 0); 9501 } else { 9502 delete x["StaticIPConfig"]["RoutingPrefix"]["Active"]; 9503 } 9504 x["StaticIPConfig"]["RoutingPrefix"]["Effective"] = A.load.Ref(ptr + 736 + 96 + 4, undefined); 9505 if (A.load.Bool(ptr + 736 + 96 + 27)) { 9506 x["StaticIPConfig"]["RoutingPrefix"]["UserPolicy"] = A.load.Int32(ptr + 736 + 96 + 8); 9507 } else { 9508 delete x["StaticIPConfig"]["RoutingPrefix"]["UserPolicy"]; 9509 } 9510 if (A.load.Bool(ptr + 736 + 96 + 28)) { 9511 x["StaticIPConfig"]["RoutingPrefix"]["DevicePolicy"] = A.load.Int32(ptr + 736 + 96 + 12); 9512 } else { 9513 delete x["StaticIPConfig"]["RoutingPrefix"]["DevicePolicy"]; 9514 } 9515 if (A.load.Bool(ptr + 736 + 96 + 29)) { 9516 x["StaticIPConfig"]["RoutingPrefix"]["UserSetting"] = A.load.Int32(ptr + 736 + 96 + 16); 9517 } else { 9518 delete x["StaticIPConfig"]["RoutingPrefix"]["UserSetting"]; 9519 } 9520 if (A.load.Bool(ptr + 736 + 96 + 30)) { 9521 x["StaticIPConfig"]["RoutingPrefix"]["SharedSetting"] = A.load.Int32(ptr + 736 + 96 + 20); 9522 } else { 9523 delete x["StaticIPConfig"]["RoutingPrefix"]["SharedSetting"]; 9524 } 9525 if (A.load.Bool(ptr + 736 + 96 + 31)) { 9526 x["StaticIPConfig"]["RoutingPrefix"]["UserEditable"] = A.load.Bool(ptr + 736 + 96 + 24); 9527 } else { 9528 delete x["StaticIPConfig"]["RoutingPrefix"]["UserEditable"]; 9529 } 9530 if (A.load.Bool(ptr + 736 + 96 + 32)) { 9531 x["StaticIPConfig"]["RoutingPrefix"]["DeviceEditable"] = A.load.Bool(ptr + 736 + 96 + 25); 9532 } else { 9533 delete x["StaticIPConfig"]["RoutingPrefix"]["DeviceEditable"]; 9534 } 9535 } else { 9536 delete x["StaticIPConfig"]["RoutingPrefix"]; 9537 } 9538 if (A.load.Bool(ptr + 736 + 132 + 28)) { 9539 x["StaticIPConfig"]["Type"] = {}; 9540 x["StaticIPConfig"]["Type"]["Active"] = A.load.Ref(ptr + 736 + 132 + 0, undefined); 9541 x["StaticIPConfig"]["Type"]["Effective"] = A.load.Ref(ptr + 736 + 132 + 4, undefined); 9542 x["StaticIPConfig"]["Type"]["UserPolicy"] = A.load.Ref(ptr + 736 + 132 + 8, undefined); 9543 x["StaticIPConfig"]["Type"]["DevicePolicy"] = A.load.Ref(ptr + 736 + 132 + 12, undefined); 9544 x["StaticIPConfig"]["Type"]["UserSetting"] = A.load.Ref(ptr + 736 + 132 + 16, undefined); 9545 x["StaticIPConfig"]["Type"]["SharedSetting"] = A.load.Ref(ptr + 736 + 132 + 20, undefined); 9546 if (A.load.Bool(ptr + 736 + 132 + 26)) { 9547 x["StaticIPConfig"]["Type"]["UserEditable"] = A.load.Bool(ptr + 736 + 132 + 24); 9548 } else { 9549 delete x["StaticIPConfig"]["Type"]["UserEditable"]; 9550 } 9551 if (A.load.Bool(ptr + 736 + 132 + 27)) { 9552 x["StaticIPConfig"]["Type"]["DeviceEditable"] = A.load.Bool(ptr + 736 + 132 + 25); 9553 } else { 9554 delete x["StaticIPConfig"]["Type"]["DeviceEditable"]; 9555 } 9556 } else { 9557 delete x["StaticIPConfig"]["Type"]; 9558 } 9559 if (A.load.Bool(ptr + 736 + 164 + 28)) { 9560 x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"] = {}; 9561 x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["Active"] = A.load.Ref(ptr + 736 + 164 + 0, undefined); 9562 x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["Effective"] = A.load.Ref(ptr + 736 + 164 + 4, undefined); 9563 x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["UserPolicy"] = A.load.Ref(ptr + 736 + 164 + 8, undefined); 9564 x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["DevicePolicy"] = A.load.Ref(ptr + 736 + 164 + 12, undefined); 9565 x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["UserSetting"] = A.load.Ref(ptr + 736 + 164 + 16, undefined); 9566 x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["SharedSetting"] = A.load.Ref( 9567 ptr + 736 + 164 + 20, 9568 undefined 9569 ); 9570 if (A.load.Bool(ptr + 736 + 164 + 26)) { 9571 x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["UserEditable"] = A.load.Bool(ptr + 736 + 164 + 24); 9572 } else { 9573 delete x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["UserEditable"]; 9574 } 9575 if (A.load.Bool(ptr + 736 + 164 + 27)) { 9576 x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["DeviceEditable"] = A.load.Bool(ptr + 736 + 164 + 25); 9577 } else { 9578 delete x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]["DeviceEditable"]; 9579 } 9580 } else { 9581 delete x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]; 9582 } 9583 } else { 9584 delete x["StaticIPConfig"]; 9585 } 9586 if (A.load.Bool(ptr + 932 + 37)) { 9587 x["SavedIPConfig"] = {}; 9588 x["SavedIPConfig"]["Gateway"] = A.load.Ref(ptr + 932 + 0, undefined); 9589 x["SavedIPConfig"]["IPAddress"] = A.load.Ref(ptr + 932 + 4, undefined); 9590 x["SavedIPConfig"]["ExcludedRoutes"] = A.load.Ref(ptr + 932 + 8, undefined); 9591 x["SavedIPConfig"]["IncludedRoutes"] = A.load.Ref(ptr + 932 + 12, undefined); 9592 x["SavedIPConfig"]["NameServers"] = A.load.Ref(ptr + 932 + 16, undefined); 9593 x["SavedIPConfig"]["SearchDomains"] = A.load.Ref(ptr + 932 + 20, undefined); 9594 if (A.load.Bool(ptr + 932 + 36)) { 9595 x["SavedIPConfig"]["RoutingPrefix"] = A.load.Int32(ptr + 932 + 24); 9596 } else { 9597 delete x["SavedIPConfig"]["RoutingPrefix"]; 9598 } 9599 x["SavedIPConfig"]["Type"] = A.load.Ref(ptr + 932 + 28, undefined); 9600 x["SavedIPConfig"]["WebProxyAutoDiscoveryUrl"] = A.load.Ref(ptr + 932 + 32, undefined); 9601 } else { 9602 delete x["SavedIPConfig"]; 9603 } 9604 x["Source"] = A.load.Ref(ptr + 972, undefined); 9605 x["Type"] = A.load.Enum(ptr + 976, ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"]); 9606 if (A.load.Bool(ptr + 980 + 85)) { 9607 x["VPN"] = {}; 9608 if (A.load.Bool(ptr + 980 + 0 + 21)) { 9609 x["VPN"]["AutoConnect"] = {}; 9610 if (A.load.Bool(ptr + 980 + 0 + 14)) { 9611 x["VPN"]["AutoConnect"]["Active"] = A.load.Bool(ptr + 980 + 0 + 0); 9612 } else { 9613 delete x["VPN"]["AutoConnect"]["Active"]; 9614 } 9615 x["VPN"]["AutoConnect"]["Effective"] = A.load.Ref(ptr + 980 + 0 + 4, undefined); 9616 if (A.load.Bool(ptr + 980 + 0 + 15)) { 9617 x["VPN"]["AutoConnect"]["UserPolicy"] = A.load.Bool(ptr + 980 + 0 + 8); 9618 } else { 9619 delete x["VPN"]["AutoConnect"]["UserPolicy"]; 9620 } 9621 if (A.load.Bool(ptr + 980 + 0 + 16)) { 9622 x["VPN"]["AutoConnect"]["DevicePolicy"] = A.load.Bool(ptr + 980 + 0 + 9); 9623 } else { 9624 delete x["VPN"]["AutoConnect"]["DevicePolicy"]; 9625 } 9626 if (A.load.Bool(ptr + 980 + 0 + 17)) { 9627 x["VPN"]["AutoConnect"]["UserSetting"] = A.load.Bool(ptr + 980 + 0 + 10); 9628 } else { 9629 delete x["VPN"]["AutoConnect"]["UserSetting"]; 9630 } 9631 if (A.load.Bool(ptr + 980 + 0 + 18)) { 9632 x["VPN"]["AutoConnect"]["SharedSetting"] = A.load.Bool(ptr + 980 + 0 + 11); 9633 } else { 9634 delete x["VPN"]["AutoConnect"]["SharedSetting"]; 9635 } 9636 if (A.load.Bool(ptr + 980 + 0 + 19)) { 9637 x["VPN"]["AutoConnect"]["UserEditable"] = A.load.Bool(ptr + 980 + 0 + 12); 9638 } else { 9639 delete x["VPN"]["AutoConnect"]["UserEditable"]; 9640 } 9641 if (A.load.Bool(ptr + 980 + 0 + 20)) { 9642 x["VPN"]["AutoConnect"]["DeviceEditable"] = A.load.Bool(ptr + 980 + 0 + 13); 9643 } else { 9644 delete x["VPN"]["AutoConnect"]["DeviceEditable"]; 9645 } 9646 } else { 9647 delete x["VPN"]["AutoConnect"]; 9648 } 9649 if (A.load.Bool(ptr + 980 + 24 + 28)) { 9650 x["VPN"]["Host"] = {}; 9651 x["VPN"]["Host"]["Active"] = A.load.Ref(ptr + 980 + 24 + 0, undefined); 9652 x["VPN"]["Host"]["Effective"] = A.load.Ref(ptr + 980 + 24 + 4, undefined); 9653 x["VPN"]["Host"]["UserPolicy"] = A.load.Ref(ptr + 980 + 24 + 8, undefined); 9654 x["VPN"]["Host"]["DevicePolicy"] = A.load.Ref(ptr + 980 + 24 + 12, undefined); 9655 x["VPN"]["Host"]["UserSetting"] = A.load.Ref(ptr + 980 + 24 + 16, undefined); 9656 x["VPN"]["Host"]["SharedSetting"] = A.load.Ref(ptr + 980 + 24 + 20, undefined); 9657 if (A.load.Bool(ptr + 980 + 24 + 26)) { 9658 x["VPN"]["Host"]["UserEditable"] = A.load.Bool(ptr + 980 + 24 + 24); 9659 } else { 9660 delete x["VPN"]["Host"]["UserEditable"]; 9661 } 9662 if (A.load.Bool(ptr + 980 + 24 + 27)) { 9663 x["VPN"]["Host"]["DeviceEditable"] = A.load.Bool(ptr + 980 + 24 + 25); 9664 } else { 9665 delete x["VPN"]["Host"]["DeviceEditable"]; 9666 } 9667 } else { 9668 delete x["VPN"]["Host"]; 9669 } 9670 if (A.load.Bool(ptr + 980 + 56 + 28)) { 9671 x["VPN"]["Type"] = {}; 9672 x["VPN"]["Type"]["Active"] = A.load.Ref(ptr + 980 + 56 + 0, undefined); 9673 x["VPN"]["Type"]["Effective"] = A.load.Ref(ptr + 980 + 56 + 4, undefined); 9674 x["VPN"]["Type"]["UserPolicy"] = A.load.Ref(ptr + 980 + 56 + 8, undefined); 9675 x["VPN"]["Type"]["DevicePolicy"] = A.load.Ref(ptr + 980 + 56 + 12, undefined); 9676 x["VPN"]["Type"]["UserSetting"] = A.load.Ref(ptr + 980 + 56 + 16, undefined); 9677 x["VPN"]["Type"]["SharedSetting"] = A.load.Ref(ptr + 980 + 56 + 20, undefined); 9678 if (A.load.Bool(ptr + 980 + 56 + 26)) { 9679 x["VPN"]["Type"]["UserEditable"] = A.load.Bool(ptr + 980 + 56 + 24); 9680 } else { 9681 delete x["VPN"]["Type"]["UserEditable"]; 9682 } 9683 if (A.load.Bool(ptr + 980 + 56 + 27)) { 9684 x["VPN"]["Type"]["DeviceEditable"] = A.load.Bool(ptr + 980 + 56 + 25); 9685 } else { 9686 delete x["VPN"]["Type"]["DeviceEditable"]; 9687 } 9688 } else { 9689 delete x["VPN"]["Type"]; 9690 } 9691 } else { 9692 delete x["VPN"]; 9693 } 9694 if (A.load.Bool(ptr + 1068 + 222)) { 9695 x["WiFi"] = {}; 9696 if (A.load.Bool(ptr + 1068 + 0 + 21)) { 9697 x["WiFi"]["AllowGatewayARPPolling"] = {}; 9698 if (A.load.Bool(ptr + 1068 + 0 + 14)) { 9699 x["WiFi"]["AllowGatewayARPPolling"]["Active"] = A.load.Bool(ptr + 1068 + 0 + 0); 9700 } else { 9701 delete x["WiFi"]["AllowGatewayARPPolling"]["Active"]; 9702 } 9703 x["WiFi"]["AllowGatewayARPPolling"]["Effective"] = A.load.Ref(ptr + 1068 + 0 + 4, undefined); 9704 if (A.load.Bool(ptr + 1068 + 0 + 15)) { 9705 x["WiFi"]["AllowGatewayARPPolling"]["UserPolicy"] = A.load.Bool(ptr + 1068 + 0 + 8); 9706 } else { 9707 delete x["WiFi"]["AllowGatewayARPPolling"]["UserPolicy"]; 9708 } 9709 if (A.load.Bool(ptr + 1068 + 0 + 16)) { 9710 x["WiFi"]["AllowGatewayARPPolling"]["DevicePolicy"] = A.load.Bool(ptr + 1068 + 0 + 9); 9711 } else { 9712 delete x["WiFi"]["AllowGatewayARPPolling"]["DevicePolicy"]; 9713 } 9714 if (A.load.Bool(ptr + 1068 + 0 + 17)) { 9715 x["WiFi"]["AllowGatewayARPPolling"]["UserSetting"] = A.load.Bool(ptr + 1068 + 0 + 10); 9716 } else { 9717 delete x["WiFi"]["AllowGatewayARPPolling"]["UserSetting"]; 9718 } 9719 if (A.load.Bool(ptr + 1068 + 0 + 18)) { 9720 x["WiFi"]["AllowGatewayARPPolling"]["SharedSetting"] = A.load.Bool(ptr + 1068 + 0 + 11); 9721 } else { 9722 delete x["WiFi"]["AllowGatewayARPPolling"]["SharedSetting"]; 9723 } 9724 if (A.load.Bool(ptr + 1068 + 0 + 19)) { 9725 x["WiFi"]["AllowGatewayARPPolling"]["UserEditable"] = A.load.Bool(ptr + 1068 + 0 + 12); 9726 } else { 9727 delete x["WiFi"]["AllowGatewayARPPolling"]["UserEditable"]; 9728 } 9729 if (A.load.Bool(ptr + 1068 + 0 + 20)) { 9730 x["WiFi"]["AllowGatewayARPPolling"]["DeviceEditable"] = A.load.Bool(ptr + 1068 + 0 + 13); 9731 } else { 9732 delete x["WiFi"]["AllowGatewayARPPolling"]["DeviceEditable"]; 9733 } 9734 } else { 9735 delete x["WiFi"]["AllowGatewayARPPolling"]; 9736 } 9737 if (A.load.Bool(ptr + 1068 + 24 + 21)) { 9738 x["WiFi"]["AutoConnect"] = {}; 9739 if (A.load.Bool(ptr + 1068 + 24 + 14)) { 9740 x["WiFi"]["AutoConnect"]["Active"] = A.load.Bool(ptr + 1068 + 24 + 0); 9741 } else { 9742 delete x["WiFi"]["AutoConnect"]["Active"]; 9743 } 9744 x["WiFi"]["AutoConnect"]["Effective"] = A.load.Ref(ptr + 1068 + 24 + 4, undefined); 9745 if (A.load.Bool(ptr + 1068 + 24 + 15)) { 9746 x["WiFi"]["AutoConnect"]["UserPolicy"] = A.load.Bool(ptr + 1068 + 24 + 8); 9747 } else { 9748 delete x["WiFi"]["AutoConnect"]["UserPolicy"]; 9749 } 9750 if (A.load.Bool(ptr + 1068 + 24 + 16)) { 9751 x["WiFi"]["AutoConnect"]["DevicePolicy"] = A.load.Bool(ptr + 1068 + 24 + 9); 9752 } else { 9753 delete x["WiFi"]["AutoConnect"]["DevicePolicy"]; 9754 } 9755 if (A.load.Bool(ptr + 1068 + 24 + 17)) { 9756 x["WiFi"]["AutoConnect"]["UserSetting"] = A.load.Bool(ptr + 1068 + 24 + 10); 9757 } else { 9758 delete x["WiFi"]["AutoConnect"]["UserSetting"]; 9759 } 9760 if (A.load.Bool(ptr + 1068 + 24 + 18)) { 9761 x["WiFi"]["AutoConnect"]["SharedSetting"] = A.load.Bool(ptr + 1068 + 24 + 11); 9762 } else { 9763 delete x["WiFi"]["AutoConnect"]["SharedSetting"]; 9764 } 9765 if (A.load.Bool(ptr + 1068 + 24 + 19)) { 9766 x["WiFi"]["AutoConnect"]["UserEditable"] = A.load.Bool(ptr + 1068 + 24 + 12); 9767 } else { 9768 delete x["WiFi"]["AutoConnect"]["UserEditable"]; 9769 } 9770 if (A.load.Bool(ptr + 1068 + 24 + 20)) { 9771 x["WiFi"]["AutoConnect"]["DeviceEditable"] = A.load.Bool(ptr + 1068 + 24 + 13); 9772 } else { 9773 delete x["WiFi"]["AutoConnect"]["DeviceEditable"]; 9774 } 9775 } else { 9776 delete x["WiFi"]["AutoConnect"]; 9777 } 9778 x["WiFi"]["BSSID"] = A.load.Ref(ptr + 1068 + 48, undefined); 9779 if (A.load.Bool(ptr + 1068 + 220)) { 9780 x["WiFi"]["Frequency"] = A.load.Int32(ptr + 1068 + 52); 9781 } else { 9782 delete x["WiFi"]["Frequency"]; 9783 } 9784 x["WiFi"]["FrequencyList"] = A.load.Ref(ptr + 1068 + 56, undefined); 9785 if (A.load.Bool(ptr + 1068 + 60 + 28)) { 9786 x["WiFi"]["HexSSID"] = {}; 9787 x["WiFi"]["HexSSID"]["Active"] = A.load.Ref(ptr + 1068 + 60 + 0, undefined); 9788 x["WiFi"]["HexSSID"]["Effective"] = A.load.Ref(ptr + 1068 + 60 + 4, undefined); 9789 x["WiFi"]["HexSSID"]["UserPolicy"] = A.load.Ref(ptr + 1068 + 60 + 8, undefined); 9790 x["WiFi"]["HexSSID"]["DevicePolicy"] = A.load.Ref(ptr + 1068 + 60 + 12, undefined); 9791 x["WiFi"]["HexSSID"]["UserSetting"] = A.load.Ref(ptr + 1068 + 60 + 16, undefined); 9792 x["WiFi"]["HexSSID"]["SharedSetting"] = A.load.Ref(ptr + 1068 + 60 + 20, undefined); 9793 if (A.load.Bool(ptr + 1068 + 60 + 26)) { 9794 x["WiFi"]["HexSSID"]["UserEditable"] = A.load.Bool(ptr + 1068 + 60 + 24); 9795 } else { 9796 delete x["WiFi"]["HexSSID"]["UserEditable"]; 9797 } 9798 if (A.load.Bool(ptr + 1068 + 60 + 27)) { 9799 x["WiFi"]["HexSSID"]["DeviceEditable"] = A.load.Bool(ptr + 1068 + 60 + 25); 9800 } else { 9801 delete x["WiFi"]["HexSSID"]["DeviceEditable"]; 9802 } 9803 } else { 9804 delete x["WiFi"]["HexSSID"]; 9805 } 9806 if (A.load.Bool(ptr + 1068 + 92 + 21)) { 9807 x["WiFi"]["HiddenSSID"] = {}; 9808 if (A.load.Bool(ptr + 1068 + 92 + 14)) { 9809 x["WiFi"]["HiddenSSID"]["Active"] = A.load.Bool(ptr + 1068 + 92 + 0); 9810 } else { 9811 delete x["WiFi"]["HiddenSSID"]["Active"]; 9812 } 9813 x["WiFi"]["HiddenSSID"]["Effective"] = A.load.Ref(ptr + 1068 + 92 + 4, undefined); 9814 if (A.load.Bool(ptr + 1068 + 92 + 15)) { 9815 x["WiFi"]["HiddenSSID"]["UserPolicy"] = A.load.Bool(ptr + 1068 + 92 + 8); 9816 } else { 9817 delete x["WiFi"]["HiddenSSID"]["UserPolicy"]; 9818 } 9819 if (A.load.Bool(ptr + 1068 + 92 + 16)) { 9820 x["WiFi"]["HiddenSSID"]["DevicePolicy"] = A.load.Bool(ptr + 1068 + 92 + 9); 9821 } else { 9822 delete x["WiFi"]["HiddenSSID"]["DevicePolicy"]; 9823 } 9824 if (A.load.Bool(ptr + 1068 + 92 + 17)) { 9825 x["WiFi"]["HiddenSSID"]["UserSetting"] = A.load.Bool(ptr + 1068 + 92 + 10); 9826 } else { 9827 delete x["WiFi"]["HiddenSSID"]["UserSetting"]; 9828 } 9829 if (A.load.Bool(ptr + 1068 + 92 + 18)) { 9830 x["WiFi"]["HiddenSSID"]["SharedSetting"] = A.load.Bool(ptr + 1068 + 92 + 11); 9831 } else { 9832 delete x["WiFi"]["HiddenSSID"]["SharedSetting"]; 9833 } 9834 if (A.load.Bool(ptr + 1068 + 92 + 19)) { 9835 x["WiFi"]["HiddenSSID"]["UserEditable"] = A.load.Bool(ptr + 1068 + 92 + 12); 9836 } else { 9837 delete x["WiFi"]["HiddenSSID"]["UserEditable"]; 9838 } 9839 if (A.load.Bool(ptr + 1068 + 92 + 20)) { 9840 x["WiFi"]["HiddenSSID"]["DeviceEditable"] = A.load.Bool(ptr + 1068 + 92 + 13); 9841 } else { 9842 delete x["WiFi"]["HiddenSSID"]["DeviceEditable"]; 9843 } 9844 } else { 9845 delete x["WiFi"]["HiddenSSID"]; 9846 } 9847 if (A.load.Bool(ptr + 1068 + 116 + 33)) { 9848 x["WiFi"]["RoamThreshold"] = {}; 9849 if (A.load.Bool(ptr + 1068 + 116 + 26)) { 9850 x["WiFi"]["RoamThreshold"]["Active"] = A.load.Int32(ptr + 1068 + 116 + 0); 9851 } else { 9852 delete x["WiFi"]["RoamThreshold"]["Active"]; 9853 } 9854 x["WiFi"]["RoamThreshold"]["Effective"] = A.load.Ref(ptr + 1068 + 116 + 4, undefined); 9855 if (A.load.Bool(ptr + 1068 + 116 + 27)) { 9856 x["WiFi"]["RoamThreshold"]["UserPolicy"] = A.load.Int32(ptr + 1068 + 116 + 8); 9857 } else { 9858 delete x["WiFi"]["RoamThreshold"]["UserPolicy"]; 9859 } 9860 if (A.load.Bool(ptr + 1068 + 116 + 28)) { 9861 x["WiFi"]["RoamThreshold"]["DevicePolicy"] = A.load.Int32(ptr + 1068 + 116 + 12); 9862 } else { 9863 delete x["WiFi"]["RoamThreshold"]["DevicePolicy"]; 9864 } 9865 if (A.load.Bool(ptr + 1068 + 116 + 29)) { 9866 x["WiFi"]["RoamThreshold"]["UserSetting"] = A.load.Int32(ptr + 1068 + 116 + 16); 9867 } else { 9868 delete x["WiFi"]["RoamThreshold"]["UserSetting"]; 9869 } 9870 if (A.load.Bool(ptr + 1068 + 116 + 30)) { 9871 x["WiFi"]["RoamThreshold"]["SharedSetting"] = A.load.Int32(ptr + 1068 + 116 + 20); 9872 } else { 9873 delete x["WiFi"]["RoamThreshold"]["SharedSetting"]; 9874 } 9875 if (A.load.Bool(ptr + 1068 + 116 + 31)) { 9876 x["WiFi"]["RoamThreshold"]["UserEditable"] = A.load.Bool(ptr + 1068 + 116 + 24); 9877 } else { 9878 delete x["WiFi"]["RoamThreshold"]["UserEditable"]; 9879 } 9880 if (A.load.Bool(ptr + 1068 + 116 + 32)) { 9881 x["WiFi"]["RoamThreshold"]["DeviceEditable"] = A.load.Bool(ptr + 1068 + 116 + 25); 9882 } else { 9883 delete x["WiFi"]["RoamThreshold"]["DeviceEditable"]; 9884 } 9885 } else { 9886 delete x["WiFi"]["RoamThreshold"]; 9887 } 9888 if (A.load.Bool(ptr + 1068 + 152 + 28)) { 9889 x["WiFi"]["SSID"] = {}; 9890 x["WiFi"]["SSID"]["Active"] = A.load.Ref(ptr + 1068 + 152 + 0, undefined); 9891 x["WiFi"]["SSID"]["Effective"] = A.load.Ref(ptr + 1068 + 152 + 4, undefined); 9892 x["WiFi"]["SSID"]["UserPolicy"] = A.load.Ref(ptr + 1068 + 152 + 8, undefined); 9893 x["WiFi"]["SSID"]["DevicePolicy"] = A.load.Ref(ptr + 1068 + 152 + 12, undefined); 9894 x["WiFi"]["SSID"]["UserSetting"] = A.load.Ref(ptr + 1068 + 152 + 16, undefined); 9895 x["WiFi"]["SSID"]["SharedSetting"] = A.load.Ref(ptr + 1068 + 152 + 20, undefined); 9896 if (A.load.Bool(ptr + 1068 + 152 + 26)) { 9897 x["WiFi"]["SSID"]["UserEditable"] = A.load.Bool(ptr + 1068 + 152 + 24); 9898 } else { 9899 delete x["WiFi"]["SSID"]["UserEditable"]; 9900 } 9901 if (A.load.Bool(ptr + 1068 + 152 + 27)) { 9902 x["WiFi"]["SSID"]["DeviceEditable"] = A.load.Bool(ptr + 1068 + 152 + 25); 9903 } else { 9904 delete x["WiFi"]["SSID"]["DeviceEditable"]; 9905 } 9906 } else { 9907 delete x["WiFi"]["SSID"]; 9908 } 9909 if (A.load.Bool(ptr + 1068 + 184 + 28)) { 9910 x["WiFi"]["Security"] = {}; 9911 x["WiFi"]["Security"]["Active"] = A.load.Ref(ptr + 1068 + 184 + 0, undefined); 9912 x["WiFi"]["Security"]["Effective"] = A.load.Ref(ptr + 1068 + 184 + 4, undefined); 9913 x["WiFi"]["Security"]["UserPolicy"] = A.load.Ref(ptr + 1068 + 184 + 8, undefined); 9914 x["WiFi"]["Security"]["DevicePolicy"] = A.load.Ref(ptr + 1068 + 184 + 12, undefined); 9915 x["WiFi"]["Security"]["UserSetting"] = A.load.Ref(ptr + 1068 + 184 + 16, undefined); 9916 x["WiFi"]["Security"]["SharedSetting"] = A.load.Ref(ptr + 1068 + 184 + 20, undefined); 9917 if (A.load.Bool(ptr + 1068 + 184 + 26)) { 9918 x["WiFi"]["Security"]["UserEditable"] = A.load.Bool(ptr + 1068 + 184 + 24); 9919 } else { 9920 delete x["WiFi"]["Security"]["UserEditable"]; 9921 } 9922 if (A.load.Bool(ptr + 1068 + 184 + 27)) { 9923 x["WiFi"]["Security"]["DeviceEditable"] = A.load.Bool(ptr + 1068 + 184 + 25); 9924 } else { 9925 delete x["WiFi"]["Security"]["DeviceEditable"]; 9926 } 9927 } else { 9928 delete x["WiFi"]["Security"]; 9929 } 9930 if (A.load.Bool(ptr + 1068 + 221)) { 9931 x["WiFi"]["SignalStrength"] = A.load.Int32(ptr + 1068 + 216); 9932 } else { 9933 delete x["WiFi"]["SignalStrength"]; 9934 } 9935 } else { 9936 delete x["WiFi"]; 9937 } 9938 return create === A.H.TRUE ? A.H.push(x) : ref; 9939 }, 9940 9941 "store_VPNStateProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 9942 const x = A.H.get<any>(ref); 9943 9944 if (typeof x === "undefined") { 9945 A.store.Bool(ptr + 4, false); 9946 A.store.Ref(ptr + 0, undefined); 9947 } else { 9948 A.store.Bool(ptr + 4, true); 9949 A.store.Ref(ptr + 0, x["Type"]); 9950 } 9951 }, 9952 "load_VPNStateProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 9953 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 9954 9955 x["Type"] = A.load.Ref(ptr + 0, undefined); 9956 return create === A.H.TRUE ? A.H.push(x) : ref; 9957 }, 9958 9959 "store_WiFiStateProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 9960 const x = A.H.get<any>(ref); 9961 9962 if (typeof x === "undefined") { 9963 A.store.Bool(ptr + 26, false); 9964 A.store.Ref(ptr + 0, undefined); 9965 A.store.Bool(ptr + 24, false); 9966 A.store.Int32(ptr + 4, 0); 9967 A.store.Ref(ptr + 8, undefined); 9968 A.store.Ref(ptr + 12, undefined); 9969 A.store.Bool(ptr + 25, false); 9970 A.store.Int32(ptr + 16, 0); 9971 A.store.Ref(ptr + 20, undefined); 9972 } else { 9973 A.store.Bool(ptr + 26, true); 9974 A.store.Ref(ptr + 0, x["BSSID"]); 9975 A.store.Bool(ptr + 24, "Frequency" in x ? true : false); 9976 A.store.Int32(ptr + 4, x["Frequency"] === undefined ? 0 : (x["Frequency"] as number)); 9977 A.store.Ref(ptr + 8, x["HexSSID"]); 9978 A.store.Ref(ptr + 12, x["Security"]); 9979 A.store.Bool(ptr + 25, "SignalStrength" in x ? true : false); 9980 A.store.Int32(ptr + 16, x["SignalStrength"] === undefined ? 0 : (x["SignalStrength"] as number)); 9981 A.store.Ref(ptr + 20, x["SSID"]); 9982 } 9983 }, 9984 "load_WiFiStateProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 9985 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 9986 9987 x["BSSID"] = A.load.Ref(ptr + 0, undefined); 9988 if (A.load.Bool(ptr + 24)) { 9989 x["Frequency"] = A.load.Int32(ptr + 4); 9990 } else { 9991 delete x["Frequency"]; 9992 } 9993 x["HexSSID"] = A.load.Ref(ptr + 8, undefined); 9994 x["Security"] = A.load.Ref(ptr + 12, undefined); 9995 if (A.load.Bool(ptr + 25)) { 9996 x["SignalStrength"] = A.load.Int32(ptr + 16); 9997 } else { 9998 delete x["SignalStrength"]; 9999 } 10000 x["SSID"] = A.load.Ref(ptr + 20, undefined); 10001 return create === A.H.TRUE ? A.H.push(x) : ref; 10002 }, 10003 10004 "store_NetworkStateProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 10005 const x = A.H.get<any>(ref); 10006 10007 if (typeof x === "undefined") { 10008 A.store.Bool(ptr + 97, false); 10009 10010 A.store.Bool(ptr + 0 + 22, false); 10011 A.store.Enum(ptr + 0 + 0, -1); 10012 A.store.Ref(ptr + 0 + 4, undefined); 10013 A.store.Ref(ptr + 0 + 8, undefined); 10014 A.store.Bool(ptr + 0 + 20, false); 10015 A.store.Bool(ptr + 0 + 12, false); 10016 A.store.Bool(ptr + 0 + 21, false); 10017 A.store.Int32(ptr + 0 + 16, 0); 10018 A.store.Bool(ptr + 95, false); 10019 A.store.Bool(ptr + 23, false); 10020 A.store.Enum(ptr + 24, -1); 10021 10022 A.store.Bool(ptr + 28 + 4, false); 10023 A.store.Ref(ptr + 28 + 0, undefined); 10024 A.store.Ref(ptr + 36, undefined); 10025 A.store.Ref(ptr + 40, undefined); 10026 A.store.Ref(ptr + 44, undefined); 10027 A.store.Bool(ptr + 96, false); 10028 A.store.Int32(ptr + 48, 0); 10029 A.store.Ref(ptr + 52, undefined); 10030 A.store.Enum(ptr + 56, -1); 10031 10032 A.store.Bool(ptr + 60 + 4, false); 10033 A.store.Ref(ptr + 60 + 0, undefined); 10034 10035 A.store.Bool(ptr + 68 + 26, false); 10036 A.store.Ref(ptr + 68 + 0, undefined); 10037 A.store.Bool(ptr + 68 + 24, false); 10038 A.store.Int32(ptr + 68 + 4, 0); 10039 A.store.Ref(ptr + 68 + 8, undefined); 10040 A.store.Ref(ptr + 68 + 12, undefined); 10041 A.store.Bool(ptr + 68 + 25, false); 10042 A.store.Int32(ptr + 68 + 16, 0); 10043 A.store.Ref(ptr + 68 + 20, undefined); 10044 } else { 10045 A.store.Bool(ptr + 97, true); 10046 10047 if (typeof x["Cellular"] === "undefined") { 10048 A.store.Bool(ptr + 0 + 22, false); 10049 A.store.Enum(ptr + 0 + 0, -1); 10050 A.store.Ref(ptr + 0 + 4, undefined); 10051 A.store.Ref(ptr + 0 + 8, undefined); 10052 A.store.Bool(ptr + 0 + 20, false); 10053 A.store.Bool(ptr + 0 + 12, false); 10054 A.store.Bool(ptr + 0 + 21, false); 10055 A.store.Int32(ptr + 0 + 16, 0); 10056 } else { 10057 A.store.Bool(ptr + 0 + 22, true); 10058 A.store.Enum( 10059 ptr + 0 + 0, 10060 ["Activated", "Activating", "NotActivated", "PartiallyActivated"].indexOf( 10061 x["Cellular"]["ActivationState"] as string 10062 ) 10063 ); 10064 A.store.Ref(ptr + 0 + 4, x["Cellular"]["NetworkTechnology"]); 10065 A.store.Ref(ptr + 0 + 8, x["Cellular"]["RoamingState"]); 10066 A.store.Bool(ptr + 0 + 20, "SIMPresent" in x["Cellular"] ? true : false); 10067 A.store.Bool(ptr + 0 + 12, x["Cellular"]["SIMPresent"] ? true : false); 10068 A.store.Bool(ptr + 0 + 21, "SignalStrength" in x["Cellular"] ? true : false); 10069 A.store.Int32( 10070 ptr + 0 + 16, 10071 x["Cellular"]["SignalStrength"] === undefined ? 0 : (x["Cellular"]["SignalStrength"] as number) 10072 ); 10073 } 10074 A.store.Bool(ptr + 95, "Connectable" in x ? true : false); 10075 A.store.Bool(ptr + 23, x["Connectable"] ? true : false); 10076 A.store.Enum(ptr + 24, ["Connected", "Connecting", "NotConnected"].indexOf(x["ConnectionState"] as string)); 10077 10078 if (typeof x["Ethernet"] === "undefined") { 10079 A.store.Bool(ptr + 28 + 4, false); 10080 A.store.Ref(ptr + 28 + 0, undefined); 10081 } else { 10082 A.store.Bool(ptr + 28 + 4, true); 10083 A.store.Ref(ptr + 28 + 0, x["Ethernet"]["Authentication"]); 10084 } 10085 A.store.Ref(ptr + 36, x["ErrorState"]); 10086 A.store.Ref(ptr + 40, x["GUID"]); 10087 A.store.Ref(ptr + 44, x["Name"]); 10088 A.store.Bool(ptr + 96, "Priority" in x ? true : false); 10089 A.store.Int32(ptr + 48, x["Priority"] === undefined ? 0 : (x["Priority"] as number)); 10090 A.store.Ref(ptr + 52, x["Source"]); 10091 A.store.Enum( 10092 ptr + 56, 10093 ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"].indexOf(x["Type"] as string) 10094 ); 10095 10096 if (typeof x["VPN"] === "undefined") { 10097 A.store.Bool(ptr + 60 + 4, false); 10098 A.store.Ref(ptr + 60 + 0, undefined); 10099 } else { 10100 A.store.Bool(ptr + 60 + 4, true); 10101 A.store.Ref(ptr + 60 + 0, x["VPN"]["Type"]); 10102 } 10103 10104 if (typeof x["WiFi"] === "undefined") { 10105 A.store.Bool(ptr + 68 + 26, false); 10106 A.store.Ref(ptr + 68 + 0, undefined); 10107 A.store.Bool(ptr + 68 + 24, false); 10108 A.store.Int32(ptr + 68 + 4, 0); 10109 A.store.Ref(ptr + 68 + 8, undefined); 10110 A.store.Ref(ptr + 68 + 12, undefined); 10111 A.store.Bool(ptr + 68 + 25, false); 10112 A.store.Int32(ptr + 68 + 16, 0); 10113 A.store.Ref(ptr + 68 + 20, undefined); 10114 } else { 10115 A.store.Bool(ptr + 68 + 26, true); 10116 A.store.Ref(ptr + 68 + 0, x["WiFi"]["BSSID"]); 10117 A.store.Bool(ptr + 68 + 24, "Frequency" in x["WiFi"] ? true : false); 10118 A.store.Int32(ptr + 68 + 4, x["WiFi"]["Frequency"] === undefined ? 0 : (x["WiFi"]["Frequency"] as number)); 10119 A.store.Ref(ptr + 68 + 8, x["WiFi"]["HexSSID"]); 10120 A.store.Ref(ptr + 68 + 12, x["WiFi"]["Security"]); 10121 A.store.Bool(ptr + 68 + 25, "SignalStrength" in x["WiFi"] ? true : false); 10122 A.store.Int32( 10123 ptr + 68 + 16, 10124 x["WiFi"]["SignalStrength"] === undefined ? 0 : (x["WiFi"]["SignalStrength"] as number) 10125 ); 10126 A.store.Ref(ptr + 68 + 20, x["WiFi"]["SSID"]); 10127 } 10128 } 10129 }, 10130 "load_NetworkStateProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 10131 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 10132 10133 if (A.load.Bool(ptr + 0 + 22)) { 10134 x["Cellular"] = {}; 10135 x["Cellular"]["ActivationState"] = A.load.Enum(ptr + 0 + 0, [ 10136 "Activated", 10137 "Activating", 10138 "NotActivated", 10139 "PartiallyActivated", 10140 ]); 10141 x["Cellular"]["NetworkTechnology"] = A.load.Ref(ptr + 0 + 4, undefined); 10142 x["Cellular"]["RoamingState"] = A.load.Ref(ptr + 0 + 8, undefined); 10143 if (A.load.Bool(ptr + 0 + 20)) { 10144 x["Cellular"]["SIMPresent"] = A.load.Bool(ptr + 0 + 12); 10145 } else { 10146 delete x["Cellular"]["SIMPresent"]; 10147 } 10148 if (A.load.Bool(ptr + 0 + 21)) { 10149 x["Cellular"]["SignalStrength"] = A.load.Int32(ptr + 0 + 16); 10150 } else { 10151 delete x["Cellular"]["SignalStrength"]; 10152 } 10153 } else { 10154 delete x["Cellular"]; 10155 } 10156 if (A.load.Bool(ptr + 95)) { 10157 x["Connectable"] = A.load.Bool(ptr + 23); 10158 } else { 10159 delete x["Connectable"]; 10160 } 10161 x["ConnectionState"] = A.load.Enum(ptr + 24, ["Connected", "Connecting", "NotConnected"]); 10162 if (A.load.Bool(ptr + 28 + 4)) { 10163 x["Ethernet"] = {}; 10164 x["Ethernet"]["Authentication"] = A.load.Ref(ptr + 28 + 0, undefined); 10165 } else { 10166 delete x["Ethernet"]; 10167 } 10168 x["ErrorState"] = A.load.Ref(ptr + 36, undefined); 10169 x["GUID"] = A.load.Ref(ptr + 40, undefined); 10170 x["Name"] = A.load.Ref(ptr + 44, undefined); 10171 if (A.load.Bool(ptr + 96)) { 10172 x["Priority"] = A.load.Int32(ptr + 48); 10173 } else { 10174 delete x["Priority"]; 10175 } 10176 x["Source"] = A.load.Ref(ptr + 52, undefined); 10177 x["Type"] = A.load.Enum(ptr + 56, ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"]); 10178 if (A.load.Bool(ptr + 60 + 4)) { 10179 x["VPN"] = {}; 10180 x["VPN"]["Type"] = A.load.Ref(ptr + 60 + 0, undefined); 10181 } else { 10182 delete x["VPN"]; 10183 } 10184 if (A.load.Bool(ptr + 68 + 26)) { 10185 x["WiFi"] = {}; 10186 x["WiFi"]["BSSID"] = A.load.Ref(ptr + 68 + 0, undefined); 10187 if (A.load.Bool(ptr + 68 + 24)) { 10188 x["WiFi"]["Frequency"] = A.load.Int32(ptr + 68 + 4); 10189 } else { 10190 delete x["WiFi"]["Frequency"]; 10191 } 10192 x["WiFi"]["HexSSID"] = A.load.Ref(ptr + 68 + 8, undefined); 10193 x["WiFi"]["Security"] = A.load.Ref(ptr + 68 + 12, undefined); 10194 if (A.load.Bool(ptr + 68 + 25)) { 10195 x["WiFi"]["SignalStrength"] = A.load.Int32(ptr + 68 + 16); 10196 } else { 10197 delete x["WiFi"]["SignalStrength"]; 10198 } 10199 x["WiFi"]["SSID"] = A.load.Ref(ptr + 68 + 20, undefined); 10200 } else { 10201 delete x["WiFi"]; 10202 } 10203 return create === A.H.TRUE ? A.H.push(x) : ref; 10204 }, 10205 10206 "store_ProxyLocation": (ptr: Pointer, ref: heap.Ref<any>) => { 10207 const x = A.H.get<any>(ref); 10208 10209 if (typeof x === "undefined") { 10210 A.store.Bool(ptr + 9, false); 10211 A.store.Ref(ptr + 0, undefined); 10212 A.store.Bool(ptr + 8, false); 10213 A.store.Int32(ptr + 4, 0); 10214 } else { 10215 A.store.Bool(ptr + 9, true); 10216 A.store.Ref(ptr + 0, x["Host"]); 10217 A.store.Bool(ptr + 8, "Port" in x ? true : false); 10218 A.store.Int32(ptr + 4, x["Port"] === undefined ? 0 : (x["Port"] as number)); 10219 } 10220 }, 10221 "load_ProxyLocation": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 10222 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 10223 10224 x["Host"] = A.load.Ref(ptr + 0, undefined); 10225 if (A.load.Bool(ptr + 8)) { 10226 x["Port"] = A.load.Int32(ptr + 4); 10227 } else { 10228 delete x["Port"]; 10229 } 10230 return create === A.H.TRUE ? A.H.push(x) : ref; 10231 }, 10232 10233 "store_ManualProxySettings": (ptr: Pointer, ref: heap.Ref<any>) => { 10234 const x = A.H.get<any>(ref); 10235 10236 if (typeof x === "undefined") { 10237 A.store.Bool(ptr + 46, false); 10238 10239 A.store.Bool(ptr + 0 + 9, false); 10240 A.store.Ref(ptr + 0 + 0, undefined); 10241 A.store.Bool(ptr + 0 + 8, false); 10242 A.store.Int32(ptr + 0 + 4, 0); 10243 10244 A.store.Bool(ptr + 12 + 9, false); 10245 A.store.Ref(ptr + 12 + 0, undefined); 10246 A.store.Bool(ptr + 12 + 8, false); 10247 A.store.Int32(ptr + 12 + 4, 0); 10248 10249 A.store.Bool(ptr + 24 + 9, false); 10250 A.store.Ref(ptr + 24 + 0, undefined); 10251 A.store.Bool(ptr + 24 + 8, false); 10252 A.store.Int32(ptr + 24 + 4, 0); 10253 10254 A.store.Bool(ptr + 36 + 9, false); 10255 A.store.Ref(ptr + 36 + 0, undefined); 10256 A.store.Bool(ptr + 36 + 8, false); 10257 A.store.Int32(ptr + 36 + 4, 0); 10258 } else { 10259 A.store.Bool(ptr + 46, true); 10260 10261 if (typeof x["HTTPProxy"] === "undefined") { 10262 A.store.Bool(ptr + 0 + 9, false); 10263 A.store.Ref(ptr + 0 + 0, undefined); 10264 A.store.Bool(ptr + 0 + 8, false); 10265 A.store.Int32(ptr + 0 + 4, 0); 10266 } else { 10267 A.store.Bool(ptr + 0 + 9, true); 10268 A.store.Ref(ptr + 0 + 0, x["HTTPProxy"]["Host"]); 10269 A.store.Bool(ptr + 0 + 8, "Port" in x["HTTPProxy"] ? true : false); 10270 A.store.Int32(ptr + 0 + 4, x["HTTPProxy"]["Port"] === undefined ? 0 : (x["HTTPProxy"]["Port"] as number)); 10271 } 10272 10273 if (typeof x["SecureHTTPProxy"] === "undefined") { 10274 A.store.Bool(ptr + 12 + 9, false); 10275 A.store.Ref(ptr + 12 + 0, undefined); 10276 A.store.Bool(ptr + 12 + 8, false); 10277 A.store.Int32(ptr + 12 + 4, 0); 10278 } else { 10279 A.store.Bool(ptr + 12 + 9, true); 10280 A.store.Ref(ptr + 12 + 0, x["SecureHTTPProxy"]["Host"]); 10281 A.store.Bool(ptr + 12 + 8, "Port" in x["SecureHTTPProxy"] ? true : false); 10282 A.store.Int32( 10283 ptr + 12 + 4, 10284 x["SecureHTTPProxy"]["Port"] === undefined ? 0 : (x["SecureHTTPProxy"]["Port"] as number) 10285 ); 10286 } 10287 10288 if (typeof x["FTPProxy"] === "undefined") { 10289 A.store.Bool(ptr + 24 + 9, false); 10290 A.store.Ref(ptr + 24 + 0, undefined); 10291 A.store.Bool(ptr + 24 + 8, false); 10292 A.store.Int32(ptr + 24 + 4, 0); 10293 } else { 10294 A.store.Bool(ptr + 24 + 9, true); 10295 A.store.Ref(ptr + 24 + 0, x["FTPProxy"]["Host"]); 10296 A.store.Bool(ptr + 24 + 8, "Port" in x["FTPProxy"] ? true : false); 10297 A.store.Int32(ptr + 24 + 4, x["FTPProxy"]["Port"] === undefined ? 0 : (x["FTPProxy"]["Port"] as number)); 10298 } 10299 10300 if (typeof x["SOCKS"] === "undefined") { 10301 A.store.Bool(ptr + 36 + 9, false); 10302 A.store.Ref(ptr + 36 + 0, undefined); 10303 A.store.Bool(ptr + 36 + 8, false); 10304 A.store.Int32(ptr + 36 + 4, 0); 10305 } else { 10306 A.store.Bool(ptr + 36 + 9, true); 10307 A.store.Ref(ptr + 36 + 0, x["SOCKS"]["Host"]); 10308 A.store.Bool(ptr + 36 + 8, "Port" in x["SOCKS"] ? true : false); 10309 A.store.Int32(ptr + 36 + 4, x["SOCKS"]["Port"] === undefined ? 0 : (x["SOCKS"]["Port"] as number)); 10310 } 10311 } 10312 }, 10313 "load_ManualProxySettings": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 10314 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 10315 10316 if (A.load.Bool(ptr + 0 + 9)) { 10317 x["HTTPProxy"] = {}; 10318 x["HTTPProxy"]["Host"] = A.load.Ref(ptr + 0 + 0, undefined); 10319 if (A.load.Bool(ptr + 0 + 8)) { 10320 x["HTTPProxy"]["Port"] = A.load.Int32(ptr + 0 + 4); 10321 } else { 10322 delete x["HTTPProxy"]["Port"]; 10323 } 10324 } else { 10325 delete x["HTTPProxy"]; 10326 } 10327 if (A.load.Bool(ptr + 12 + 9)) { 10328 x["SecureHTTPProxy"] = {}; 10329 x["SecureHTTPProxy"]["Host"] = A.load.Ref(ptr + 12 + 0, undefined); 10330 if (A.load.Bool(ptr + 12 + 8)) { 10331 x["SecureHTTPProxy"]["Port"] = A.load.Int32(ptr + 12 + 4); 10332 } else { 10333 delete x["SecureHTTPProxy"]["Port"]; 10334 } 10335 } else { 10336 delete x["SecureHTTPProxy"]; 10337 } 10338 if (A.load.Bool(ptr + 24 + 9)) { 10339 x["FTPProxy"] = {}; 10340 x["FTPProxy"]["Host"] = A.load.Ref(ptr + 24 + 0, undefined); 10341 if (A.load.Bool(ptr + 24 + 8)) { 10342 x["FTPProxy"]["Port"] = A.load.Int32(ptr + 24 + 4); 10343 } else { 10344 delete x["FTPProxy"]["Port"]; 10345 } 10346 } else { 10347 delete x["FTPProxy"]; 10348 } 10349 if (A.load.Bool(ptr + 36 + 9)) { 10350 x["SOCKS"] = {}; 10351 x["SOCKS"]["Host"] = A.load.Ref(ptr + 36 + 0, undefined); 10352 if (A.load.Bool(ptr + 36 + 8)) { 10353 x["SOCKS"]["Port"] = A.load.Int32(ptr + 36 + 4); 10354 } else { 10355 delete x["SOCKS"]["Port"]; 10356 } 10357 } else { 10358 delete x["SOCKS"]; 10359 } 10360 return create === A.H.TRUE ? A.H.push(x) : ref; 10361 }, 10362 10363 "store_ProxySettings": (ptr: Pointer, ref: heap.Ref<any>) => { 10364 const x = A.H.get<any>(ref); 10365 10366 if (typeof x === "undefined") { 10367 A.store.Bool(ptr + 60, false); 10368 A.store.Enum(ptr + 0, -1); 10369 10370 A.store.Bool(ptr + 4 + 46, false); 10371 10372 A.store.Bool(ptr + 4 + 0 + 9, false); 10373 A.store.Ref(ptr + 4 + 0 + 0, undefined); 10374 A.store.Bool(ptr + 4 + 0 + 8, false); 10375 A.store.Int32(ptr + 4 + 0 + 4, 0); 10376 10377 A.store.Bool(ptr + 4 + 12 + 9, false); 10378 A.store.Ref(ptr + 4 + 12 + 0, undefined); 10379 A.store.Bool(ptr + 4 + 12 + 8, false); 10380 A.store.Int32(ptr + 4 + 12 + 4, 0); 10381 10382 A.store.Bool(ptr + 4 + 24 + 9, false); 10383 A.store.Ref(ptr + 4 + 24 + 0, undefined); 10384 A.store.Bool(ptr + 4 + 24 + 8, false); 10385 A.store.Int32(ptr + 4 + 24 + 4, 0); 10386 10387 A.store.Bool(ptr + 4 + 36 + 9, false); 10388 A.store.Ref(ptr + 4 + 36 + 0, undefined); 10389 A.store.Bool(ptr + 4 + 36 + 8, false); 10390 A.store.Int32(ptr + 4 + 36 + 4, 0); 10391 A.store.Ref(ptr + 52, undefined); 10392 A.store.Ref(ptr + 56, undefined); 10393 } else { 10394 A.store.Bool(ptr + 60, true); 10395 A.store.Enum(ptr + 0, ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["Type"] as string)); 10396 10397 if (typeof x["Manual"] === "undefined") { 10398 A.store.Bool(ptr + 4 + 46, false); 10399 10400 A.store.Bool(ptr + 4 + 0 + 9, false); 10401 A.store.Ref(ptr + 4 + 0 + 0, undefined); 10402 A.store.Bool(ptr + 4 + 0 + 8, false); 10403 A.store.Int32(ptr + 4 + 0 + 4, 0); 10404 10405 A.store.Bool(ptr + 4 + 12 + 9, false); 10406 A.store.Ref(ptr + 4 + 12 + 0, undefined); 10407 A.store.Bool(ptr + 4 + 12 + 8, false); 10408 A.store.Int32(ptr + 4 + 12 + 4, 0); 10409 10410 A.store.Bool(ptr + 4 + 24 + 9, false); 10411 A.store.Ref(ptr + 4 + 24 + 0, undefined); 10412 A.store.Bool(ptr + 4 + 24 + 8, false); 10413 A.store.Int32(ptr + 4 + 24 + 4, 0); 10414 10415 A.store.Bool(ptr + 4 + 36 + 9, false); 10416 A.store.Ref(ptr + 4 + 36 + 0, undefined); 10417 A.store.Bool(ptr + 4 + 36 + 8, false); 10418 A.store.Int32(ptr + 4 + 36 + 4, 0); 10419 } else { 10420 A.store.Bool(ptr + 4 + 46, true); 10421 10422 if (typeof x["Manual"]["HTTPProxy"] === "undefined") { 10423 A.store.Bool(ptr + 4 + 0 + 9, false); 10424 A.store.Ref(ptr + 4 + 0 + 0, undefined); 10425 A.store.Bool(ptr + 4 + 0 + 8, false); 10426 A.store.Int32(ptr + 4 + 0 + 4, 0); 10427 } else { 10428 A.store.Bool(ptr + 4 + 0 + 9, true); 10429 A.store.Ref(ptr + 4 + 0 + 0, x["Manual"]["HTTPProxy"]["Host"]); 10430 A.store.Bool(ptr + 4 + 0 + 8, "Port" in x["Manual"]["HTTPProxy"] ? true : false); 10431 A.store.Int32( 10432 ptr + 4 + 0 + 4, 10433 x["Manual"]["HTTPProxy"]["Port"] === undefined ? 0 : (x["Manual"]["HTTPProxy"]["Port"] as number) 10434 ); 10435 } 10436 10437 if (typeof x["Manual"]["SecureHTTPProxy"] === "undefined") { 10438 A.store.Bool(ptr + 4 + 12 + 9, false); 10439 A.store.Ref(ptr + 4 + 12 + 0, undefined); 10440 A.store.Bool(ptr + 4 + 12 + 8, false); 10441 A.store.Int32(ptr + 4 + 12 + 4, 0); 10442 } else { 10443 A.store.Bool(ptr + 4 + 12 + 9, true); 10444 A.store.Ref(ptr + 4 + 12 + 0, x["Manual"]["SecureHTTPProxy"]["Host"]); 10445 A.store.Bool(ptr + 4 + 12 + 8, "Port" in x["Manual"]["SecureHTTPProxy"] ? true : false); 10446 A.store.Int32( 10447 ptr + 4 + 12 + 4, 10448 x["Manual"]["SecureHTTPProxy"]["Port"] === undefined 10449 ? 0 10450 : (x["Manual"]["SecureHTTPProxy"]["Port"] as number) 10451 ); 10452 } 10453 10454 if (typeof x["Manual"]["FTPProxy"] === "undefined") { 10455 A.store.Bool(ptr + 4 + 24 + 9, false); 10456 A.store.Ref(ptr + 4 + 24 + 0, undefined); 10457 A.store.Bool(ptr + 4 + 24 + 8, false); 10458 A.store.Int32(ptr + 4 + 24 + 4, 0); 10459 } else { 10460 A.store.Bool(ptr + 4 + 24 + 9, true); 10461 A.store.Ref(ptr + 4 + 24 + 0, x["Manual"]["FTPProxy"]["Host"]); 10462 A.store.Bool(ptr + 4 + 24 + 8, "Port" in x["Manual"]["FTPProxy"] ? true : false); 10463 A.store.Int32( 10464 ptr + 4 + 24 + 4, 10465 x["Manual"]["FTPProxy"]["Port"] === undefined ? 0 : (x["Manual"]["FTPProxy"]["Port"] as number) 10466 ); 10467 } 10468 10469 if (typeof x["Manual"]["SOCKS"] === "undefined") { 10470 A.store.Bool(ptr + 4 + 36 + 9, false); 10471 A.store.Ref(ptr + 4 + 36 + 0, undefined); 10472 A.store.Bool(ptr + 4 + 36 + 8, false); 10473 A.store.Int32(ptr + 4 + 36 + 4, 0); 10474 } else { 10475 A.store.Bool(ptr + 4 + 36 + 9, true); 10476 A.store.Ref(ptr + 4 + 36 + 0, x["Manual"]["SOCKS"]["Host"]); 10477 A.store.Bool(ptr + 4 + 36 + 8, "Port" in x["Manual"]["SOCKS"] ? true : false); 10478 A.store.Int32( 10479 ptr + 4 + 36 + 4, 10480 x["Manual"]["SOCKS"]["Port"] === undefined ? 0 : (x["Manual"]["SOCKS"]["Port"] as number) 10481 ); 10482 } 10483 } 10484 A.store.Ref(ptr + 52, x["ExcludeDomains"]); 10485 A.store.Ref(ptr + 56, x["PAC"]); 10486 } 10487 }, 10488 "load_ProxySettings": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 10489 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 10490 10491 x["Type"] = A.load.Enum(ptr + 0, ["Direct", "Manual", "PAC", "WPAD"]); 10492 if (A.load.Bool(ptr + 4 + 46)) { 10493 x["Manual"] = {}; 10494 if (A.load.Bool(ptr + 4 + 0 + 9)) { 10495 x["Manual"]["HTTPProxy"] = {}; 10496 x["Manual"]["HTTPProxy"]["Host"] = A.load.Ref(ptr + 4 + 0 + 0, undefined); 10497 if (A.load.Bool(ptr + 4 + 0 + 8)) { 10498 x["Manual"]["HTTPProxy"]["Port"] = A.load.Int32(ptr + 4 + 0 + 4); 10499 } else { 10500 delete x["Manual"]["HTTPProxy"]["Port"]; 10501 } 10502 } else { 10503 delete x["Manual"]["HTTPProxy"]; 10504 } 10505 if (A.load.Bool(ptr + 4 + 12 + 9)) { 10506 x["Manual"]["SecureHTTPProxy"] = {}; 10507 x["Manual"]["SecureHTTPProxy"]["Host"] = A.load.Ref(ptr + 4 + 12 + 0, undefined); 10508 if (A.load.Bool(ptr + 4 + 12 + 8)) { 10509 x["Manual"]["SecureHTTPProxy"]["Port"] = A.load.Int32(ptr + 4 + 12 + 4); 10510 } else { 10511 delete x["Manual"]["SecureHTTPProxy"]["Port"]; 10512 } 10513 } else { 10514 delete x["Manual"]["SecureHTTPProxy"]; 10515 } 10516 if (A.load.Bool(ptr + 4 + 24 + 9)) { 10517 x["Manual"]["FTPProxy"] = {}; 10518 x["Manual"]["FTPProxy"]["Host"] = A.load.Ref(ptr + 4 + 24 + 0, undefined); 10519 if (A.load.Bool(ptr + 4 + 24 + 8)) { 10520 x["Manual"]["FTPProxy"]["Port"] = A.load.Int32(ptr + 4 + 24 + 4); 10521 } else { 10522 delete x["Manual"]["FTPProxy"]["Port"]; 10523 } 10524 } else { 10525 delete x["Manual"]["FTPProxy"]; 10526 } 10527 if (A.load.Bool(ptr + 4 + 36 + 9)) { 10528 x["Manual"]["SOCKS"] = {}; 10529 x["Manual"]["SOCKS"]["Host"] = A.load.Ref(ptr + 4 + 36 + 0, undefined); 10530 if (A.load.Bool(ptr + 4 + 36 + 8)) { 10531 x["Manual"]["SOCKS"]["Port"] = A.load.Int32(ptr + 4 + 36 + 4); 10532 } else { 10533 delete x["Manual"]["SOCKS"]["Port"]; 10534 } 10535 } else { 10536 delete x["Manual"]["SOCKS"]; 10537 } 10538 } else { 10539 delete x["Manual"]; 10540 } 10541 x["ExcludeDomains"] = A.load.Ref(ptr + 52, undefined); 10542 x["PAC"] = A.load.Ref(ptr + 56, undefined); 10543 return create === A.H.TRUE ? A.H.push(x) : ref; 10544 }, 10545 10546 "store_VPNProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 10547 const x = A.H.get<any>(ref); 10548 10549 if (typeof x === "undefined") { 10550 A.store.Bool(ptr + 13, false); 10551 A.store.Bool(ptr + 12, false); 10552 A.store.Bool(ptr + 0, false); 10553 A.store.Ref(ptr + 4, undefined); 10554 A.store.Ref(ptr + 8, undefined); 10555 } else { 10556 A.store.Bool(ptr + 13, true); 10557 A.store.Bool(ptr + 12, "AutoConnect" in x ? true : false); 10558 A.store.Bool(ptr + 0, x["AutoConnect"] ? true : false); 10559 A.store.Ref(ptr + 4, x["Host"]); 10560 A.store.Ref(ptr + 8, x["Type"]); 10561 } 10562 }, 10563 "load_VPNProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 10564 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 10565 10566 if (A.load.Bool(ptr + 12)) { 10567 x["AutoConnect"] = A.load.Bool(ptr + 0); 10568 } else { 10569 delete x["AutoConnect"]; 10570 } 10571 x["Host"] = A.load.Ref(ptr + 4, undefined); 10572 x["Type"] = A.load.Ref(ptr + 8, undefined); 10573 return create === A.H.TRUE ? A.H.push(x) : ref; 10574 }, 10575 10576 "store_WiFiProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 10577 const x = A.H.get<any>(ref); 10578 10579 if (typeof x === "undefined") { 10580 A.store.Bool(ptr + 182, false); 10581 A.store.Bool(ptr + 176, false); 10582 A.store.Bool(ptr + 0, false); 10583 A.store.Bool(ptr + 177, false); 10584 A.store.Bool(ptr + 1, false); 10585 A.store.Ref(ptr + 4, undefined); 10586 10587 A.store.Bool(ptr + 8 + 130, false); 10588 A.store.Ref(ptr + 8 + 0, undefined); 10589 10590 A.store.Bool(ptr + 8 + 4 + 45, false); 10591 A.store.Ref(ptr + 8 + 4 + 0, undefined); 10592 10593 A.store.Bool(ptr + 8 + 4 + 4 + 16, false); 10594 A.store.Ref(ptr + 8 + 4 + 4 + 0, undefined); 10595 A.store.Ref(ptr + 8 + 4 + 4 + 4, undefined); 10596 A.store.Ref(ptr + 8 + 4 + 4 + 8, undefined); 10597 A.store.Ref(ptr + 8 + 4 + 4 + 12, undefined); 10598 A.store.Ref(ptr + 8 + 4 + 24, undefined); 10599 10600 A.store.Bool(ptr + 8 + 4 + 28 + 16, false); 10601 A.store.Ref(ptr + 8 + 4 + 28 + 0, undefined); 10602 A.store.Ref(ptr + 8 + 4 + 28 + 4, undefined); 10603 A.store.Ref(ptr + 8 + 4 + 28 + 8, undefined); 10604 A.store.Ref(ptr + 8 + 4 + 28 + 12, undefined); 10605 A.store.Ref(ptr + 8 + 52, undefined); 10606 A.store.Ref(ptr + 8 + 56, undefined); 10607 A.store.Ref(ptr + 8 + 60, undefined); 10608 A.store.Enum(ptr + 8 + 64, -1); 10609 A.store.Ref(ptr + 8 + 68, undefined); 10610 A.store.Ref(ptr + 8 + 72, undefined); 10611 A.store.Ref(ptr + 8 + 76, undefined); 10612 A.store.Ref(ptr + 8 + 80, undefined); 10613 A.store.Bool(ptr + 8 + 127, false); 10614 A.store.Bool(ptr + 8 + 84, false); 10615 A.store.Ref(ptr + 8 + 88, undefined); 10616 A.store.Ref(ptr + 8 + 92, undefined); 10617 10618 A.store.Bool(ptr + 8 + 96 + 28, false); 10619 A.store.Ref(ptr + 8 + 96 + 0, undefined); 10620 A.store.Ref(ptr + 8 + 96 + 4, undefined); 10621 A.store.Ref(ptr + 8 + 96 + 8, undefined); 10622 A.store.Ref(ptr + 8 + 96 + 12, undefined); 10623 A.store.Ref(ptr + 8 + 96 + 16, undefined); 10624 A.store.Ref(ptr + 8 + 96 + 20, undefined); 10625 A.store.Bool(ptr + 8 + 96 + 26, false); 10626 A.store.Bool(ptr + 8 + 96 + 24, false); 10627 A.store.Bool(ptr + 8 + 96 + 27, false); 10628 A.store.Bool(ptr + 8 + 96 + 25, false); 10629 A.store.Bool(ptr + 8 + 128, false); 10630 A.store.Bool(ptr + 8 + 125, false); 10631 A.store.Bool(ptr + 8 + 129, false); 10632 A.store.Bool(ptr + 8 + 126, false); 10633 A.store.Bool(ptr + 178, false); 10634 A.store.Int32(ptr + 140, 0); 10635 A.store.Ref(ptr + 144, undefined); 10636 A.store.Ref(ptr + 148, undefined); 10637 A.store.Bool(ptr + 179, false); 10638 A.store.Bool(ptr + 152, false); 10639 A.store.Ref(ptr + 156, undefined); 10640 A.store.Bool(ptr + 180, false); 10641 A.store.Int32(ptr + 160, 0); 10642 A.store.Ref(ptr + 164, undefined); 10643 A.store.Ref(ptr + 168, undefined); 10644 A.store.Bool(ptr + 181, false); 10645 A.store.Int32(ptr + 172, 0); 10646 } else { 10647 A.store.Bool(ptr + 182, true); 10648 A.store.Bool(ptr + 176, "AllowGatewayARPPolling" in x ? true : false); 10649 A.store.Bool(ptr + 0, x["AllowGatewayARPPolling"] ? true : false); 10650 A.store.Bool(ptr + 177, "AutoConnect" in x ? true : false); 10651 A.store.Bool(ptr + 1, x["AutoConnect"] ? true : false); 10652 A.store.Ref(ptr + 4, x["BSSID"]); 10653 10654 if (typeof x["EAP"] === "undefined") { 10655 A.store.Bool(ptr + 8 + 130, false); 10656 A.store.Ref(ptr + 8 + 0, undefined); 10657 10658 A.store.Bool(ptr + 8 + 4 + 45, false); 10659 A.store.Ref(ptr + 8 + 4 + 0, undefined); 10660 10661 A.store.Bool(ptr + 8 + 4 + 4 + 16, false); 10662 A.store.Ref(ptr + 8 + 4 + 4 + 0, undefined); 10663 A.store.Ref(ptr + 8 + 4 + 4 + 4, undefined); 10664 A.store.Ref(ptr + 8 + 4 + 4 + 8, undefined); 10665 A.store.Ref(ptr + 8 + 4 + 4 + 12, undefined); 10666 A.store.Ref(ptr + 8 + 4 + 24, undefined); 10667 10668 A.store.Bool(ptr + 8 + 4 + 28 + 16, false); 10669 A.store.Ref(ptr + 8 + 4 + 28 + 0, undefined); 10670 A.store.Ref(ptr + 8 + 4 + 28 + 4, undefined); 10671 A.store.Ref(ptr + 8 + 4 + 28 + 8, undefined); 10672 A.store.Ref(ptr + 8 + 4 + 28 + 12, undefined); 10673 A.store.Ref(ptr + 8 + 52, undefined); 10674 A.store.Ref(ptr + 8 + 56, undefined); 10675 A.store.Ref(ptr + 8 + 60, undefined); 10676 A.store.Enum(ptr + 8 + 64, -1); 10677 A.store.Ref(ptr + 8 + 68, undefined); 10678 A.store.Ref(ptr + 8 + 72, undefined); 10679 A.store.Ref(ptr + 8 + 76, undefined); 10680 A.store.Ref(ptr + 8 + 80, undefined); 10681 A.store.Bool(ptr + 8 + 127, false); 10682 A.store.Bool(ptr + 8 + 84, false); 10683 A.store.Ref(ptr + 8 + 88, undefined); 10684 A.store.Ref(ptr + 8 + 92, undefined); 10685 10686 A.store.Bool(ptr + 8 + 96 + 28, false); 10687 A.store.Ref(ptr + 8 + 96 + 0, undefined); 10688 A.store.Ref(ptr + 8 + 96 + 4, undefined); 10689 A.store.Ref(ptr + 8 + 96 + 8, undefined); 10690 A.store.Ref(ptr + 8 + 96 + 12, undefined); 10691 A.store.Ref(ptr + 8 + 96 + 16, undefined); 10692 A.store.Ref(ptr + 8 + 96 + 20, undefined); 10693 A.store.Bool(ptr + 8 + 96 + 26, false); 10694 A.store.Bool(ptr + 8 + 96 + 24, false); 10695 A.store.Bool(ptr + 8 + 96 + 27, false); 10696 A.store.Bool(ptr + 8 + 96 + 25, false); 10697 A.store.Bool(ptr + 8 + 128, false); 10698 A.store.Bool(ptr + 8 + 125, false); 10699 A.store.Bool(ptr + 8 + 129, false); 10700 A.store.Bool(ptr + 8 + 126, false); 10701 } else { 10702 A.store.Bool(ptr + 8 + 130, true); 10703 A.store.Ref(ptr + 8 + 0, x["EAP"]["AnonymousIdentity"]); 10704 10705 if (typeof x["EAP"]["ClientCertPattern"] === "undefined") { 10706 A.store.Bool(ptr + 8 + 4 + 45, false); 10707 A.store.Ref(ptr + 8 + 4 + 0, undefined); 10708 10709 A.store.Bool(ptr + 8 + 4 + 4 + 16, false); 10710 A.store.Ref(ptr + 8 + 4 + 4 + 0, undefined); 10711 A.store.Ref(ptr + 8 + 4 + 4 + 4, undefined); 10712 A.store.Ref(ptr + 8 + 4 + 4 + 8, undefined); 10713 A.store.Ref(ptr + 8 + 4 + 4 + 12, undefined); 10714 A.store.Ref(ptr + 8 + 4 + 24, undefined); 10715 10716 A.store.Bool(ptr + 8 + 4 + 28 + 16, false); 10717 A.store.Ref(ptr + 8 + 4 + 28 + 0, undefined); 10718 A.store.Ref(ptr + 8 + 4 + 28 + 4, undefined); 10719 A.store.Ref(ptr + 8 + 4 + 28 + 8, undefined); 10720 A.store.Ref(ptr + 8 + 4 + 28 + 12, undefined); 10721 } else { 10722 A.store.Bool(ptr + 8 + 4 + 45, true); 10723 A.store.Ref(ptr + 8 + 4 + 0, x["EAP"]["ClientCertPattern"]["EnrollmentURI"]); 10724 10725 if (typeof x["EAP"]["ClientCertPattern"]["Issuer"] === "undefined") { 10726 A.store.Bool(ptr + 8 + 4 + 4 + 16, false); 10727 A.store.Ref(ptr + 8 + 4 + 4 + 0, undefined); 10728 A.store.Ref(ptr + 8 + 4 + 4 + 4, undefined); 10729 A.store.Ref(ptr + 8 + 4 + 4 + 8, undefined); 10730 A.store.Ref(ptr + 8 + 4 + 4 + 12, undefined); 10731 } else { 10732 A.store.Bool(ptr + 8 + 4 + 4 + 16, true); 10733 A.store.Ref(ptr + 8 + 4 + 4 + 0, x["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"]); 10734 A.store.Ref(ptr + 8 + 4 + 4 + 4, x["EAP"]["ClientCertPattern"]["Issuer"]["Locality"]); 10735 A.store.Ref(ptr + 8 + 4 + 4 + 8, x["EAP"]["ClientCertPattern"]["Issuer"]["Organization"]); 10736 A.store.Ref(ptr + 8 + 4 + 4 + 12, x["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"]); 10737 } 10738 A.store.Ref(ptr + 8 + 4 + 24, x["EAP"]["ClientCertPattern"]["IssuerCARef"]); 10739 10740 if (typeof x["EAP"]["ClientCertPattern"]["Subject"] === "undefined") { 10741 A.store.Bool(ptr + 8 + 4 + 28 + 16, false); 10742 A.store.Ref(ptr + 8 + 4 + 28 + 0, undefined); 10743 A.store.Ref(ptr + 8 + 4 + 28 + 4, undefined); 10744 A.store.Ref(ptr + 8 + 4 + 28 + 8, undefined); 10745 A.store.Ref(ptr + 8 + 4 + 28 + 12, undefined); 10746 } else { 10747 A.store.Bool(ptr + 8 + 4 + 28 + 16, true); 10748 A.store.Ref(ptr + 8 + 4 + 28 + 0, x["EAP"]["ClientCertPattern"]["Subject"]["CommonName"]); 10749 A.store.Ref(ptr + 8 + 4 + 28 + 4, x["EAP"]["ClientCertPattern"]["Subject"]["Locality"]); 10750 A.store.Ref(ptr + 8 + 4 + 28 + 8, x["EAP"]["ClientCertPattern"]["Subject"]["Organization"]); 10751 A.store.Ref(ptr + 8 + 4 + 28 + 12, x["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"]); 10752 } 10753 } 10754 A.store.Ref(ptr + 8 + 52, x["EAP"]["ClientCertPKCS11Id"]); 10755 A.store.Ref(ptr + 8 + 56, x["EAP"]["ClientCertProvisioningProfileId"]); 10756 A.store.Ref(ptr + 8 + 60, x["EAP"]["ClientCertRef"]); 10757 A.store.Enum(ptr + 8 + 64, ["Ref", "Pattern"].indexOf(x["EAP"]["ClientCertType"] as string)); 10758 A.store.Ref(ptr + 8 + 68, x["EAP"]["Identity"]); 10759 A.store.Ref(ptr + 8 + 72, x["EAP"]["Inner"]); 10760 A.store.Ref(ptr + 8 + 76, x["EAP"]["Outer"]); 10761 A.store.Ref(ptr + 8 + 80, x["EAP"]["Password"]); 10762 A.store.Bool(ptr + 8 + 127, "SaveCredentials" in x["EAP"] ? true : false); 10763 A.store.Bool(ptr + 8 + 84, x["EAP"]["SaveCredentials"] ? true : false); 10764 A.store.Ref(ptr + 8 + 88, x["EAP"]["ServerCAPEMs"]); 10765 A.store.Ref(ptr + 8 + 92, x["EAP"]["ServerCARefs"]); 10766 10767 if (typeof x["EAP"]["SubjectMatch"] === "undefined") { 10768 A.store.Bool(ptr + 8 + 96 + 28, false); 10769 A.store.Ref(ptr + 8 + 96 + 0, undefined); 10770 A.store.Ref(ptr + 8 + 96 + 4, undefined); 10771 A.store.Ref(ptr + 8 + 96 + 8, undefined); 10772 A.store.Ref(ptr + 8 + 96 + 12, undefined); 10773 A.store.Ref(ptr + 8 + 96 + 16, undefined); 10774 A.store.Ref(ptr + 8 + 96 + 20, undefined); 10775 A.store.Bool(ptr + 8 + 96 + 26, false); 10776 A.store.Bool(ptr + 8 + 96 + 24, false); 10777 A.store.Bool(ptr + 8 + 96 + 27, false); 10778 A.store.Bool(ptr + 8 + 96 + 25, false); 10779 } else { 10780 A.store.Bool(ptr + 8 + 96 + 28, true); 10781 A.store.Ref(ptr + 8 + 96 + 0, x["EAP"]["SubjectMatch"]["Active"]); 10782 A.store.Ref(ptr + 8 + 96 + 4, x["EAP"]["SubjectMatch"]["Effective"]); 10783 A.store.Ref(ptr + 8 + 96 + 8, x["EAP"]["SubjectMatch"]["UserPolicy"]); 10784 A.store.Ref(ptr + 8 + 96 + 12, x["EAP"]["SubjectMatch"]["DevicePolicy"]); 10785 A.store.Ref(ptr + 8 + 96 + 16, x["EAP"]["SubjectMatch"]["UserSetting"]); 10786 A.store.Ref(ptr + 8 + 96 + 20, x["EAP"]["SubjectMatch"]["SharedSetting"]); 10787 A.store.Bool(ptr + 8 + 96 + 26, "UserEditable" in x["EAP"]["SubjectMatch"] ? true : false); 10788 A.store.Bool(ptr + 8 + 96 + 24, x["EAP"]["SubjectMatch"]["UserEditable"] ? true : false); 10789 A.store.Bool(ptr + 8 + 96 + 27, "DeviceEditable" in x["EAP"]["SubjectMatch"] ? true : false); 10790 A.store.Bool(ptr + 8 + 96 + 25, x["EAP"]["SubjectMatch"]["DeviceEditable"] ? true : false); 10791 } 10792 A.store.Bool(ptr + 8 + 128, "UseProactiveKeyCaching" in x["EAP"] ? true : false); 10793 A.store.Bool(ptr + 8 + 125, x["EAP"]["UseProactiveKeyCaching"] ? true : false); 10794 A.store.Bool(ptr + 8 + 129, "UseSystemCAs" in x["EAP"] ? true : false); 10795 A.store.Bool(ptr + 8 + 126, x["EAP"]["UseSystemCAs"] ? true : false); 10796 } 10797 A.store.Bool(ptr + 178, "Frequency" in x ? true : false); 10798 A.store.Int32(ptr + 140, x["Frequency"] === undefined ? 0 : (x["Frequency"] as number)); 10799 A.store.Ref(ptr + 144, x["FrequencyList"]); 10800 A.store.Ref(ptr + 148, x["HexSSID"]); 10801 A.store.Bool(ptr + 179, "HiddenSSID" in x ? true : false); 10802 A.store.Bool(ptr + 152, x["HiddenSSID"] ? true : false); 10803 A.store.Ref(ptr + 156, x["Passphrase"]); 10804 A.store.Bool(ptr + 180, "RoamThreshold" in x ? true : false); 10805 A.store.Int32(ptr + 160, x["RoamThreshold"] === undefined ? 0 : (x["RoamThreshold"] as number)); 10806 A.store.Ref(ptr + 164, x["SSID"]); 10807 A.store.Ref(ptr + 168, x["Security"]); 10808 A.store.Bool(ptr + 181, "SignalStrength" in x ? true : false); 10809 A.store.Int32(ptr + 172, x["SignalStrength"] === undefined ? 0 : (x["SignalStrength"] as number)); 10810 } 10811 }, 10812 "load_WiFiProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 10813 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 10814 10815 if (A.load.Bool(ptr + 176)) { 10816 x["AllowGatewayARPPolling"] = A.load.Bool(ptr + 0); 10817 } else { 10818 delete x["AllowGatewayARPPolling"]; 10819 } 10820 if (A.load.Bool(ptr + 177)) { 10821 x["AutoConnect"] = A.load.Bool(ptr + 1); 10822 } else { 10823 delete x["AutoConnect"]; 10824 } 10825 x["BSSID"] = A.load.Ref(ptr + 4, undefined); 10826 if (A.load.Bool(ptr + 8 + 130)) { 10827 x["EAP"] = {}; 10828 x["EAP"]["AnonymousIdentity"] = A.load.Ref(ptr + 8 + 0, undefined); 10829 if (A.load.Bool(ptr + 8 + 4 + 45)) { 10830 x["EAP"]["ClientCertPattern"] = {}; 10831 x["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref(ptr + 8 + 4 + 0, undefined); 10832 if (A.load.Bool(ptr + 8 + 4 + 4 + 16)) { 10833 x["EAP"]["ClientCertPattern"]["Issuer"] = {}; 10834 x["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref(ptr + 8 + 4 + 4 + 0, undefined); 10835 x["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref(ptr + 8 + 4 + 4 + 4, undefined); 10836 x["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref(ptr + 8 + 4 + 4 + 8, undefined); 10837 x["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref(ptr + 8 + 4 + 4 + 12, undefined); 10838 } else { 10839 delete x["EAP"]["ClientCertPattern"]["Issuer"]; 10840 } 10841 x["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref(ptr + 8 + 4 + 24, undefined); 10842 if (A.load.Bool(ptr + 8 + 4 + 28 + 16)) { 10843 x["EAP"]["ClientCertPattern"]["Subject"] = {}; 10844 x["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref(ptr + 8 + 4 + 28 + 0, undefined); 10845 x["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref(ptr + 8 + 4 + 28 + 4, undefined); 10846 x["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref(ptr + 8 + 4 + 28 + 8, undefined); 10847 x["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 10848 ptr + 8 + 4 + 28 + 12, 10849 undefined 10850 ); 10851 } else { 10852 delete x["EAP"]["ClientCertPattern"]["Subject"]; 10853 } 10854 } else { 10855 delete x["EAP"]["ClientCertPattern"]; 10856 } 10857 x["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(ptr + 8 + 52, undefined); 10858 x["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref(ptr + 8 + 56, undefined); 10859 x["EAP"]["ClientCertRef"] = A.load.Ref(ptr + 8 + 60, undefined); 10860 x["EAP"]["ClientCertType"] = A.load.Enum(ptr + 8 + 64, ["Ref", "Pattern"]); 10861 x["EAP"]["Identity"] = A.load.Ref(ptr + 8 + 68, undefined); 10862 x["EAP"]["Inner"] = A.load.Ref(ptr + 8 + 72, undefined); 10863 x["EAP"]["Outer"] = A.load.Ref(ptr + 8 + 76, undefined); 10864 x["EAP"]["Password"] = A.load.Ref(ptr + 8 + 80, undefined); 10865 if (A.load.Bool(ptr + 8 + 127)) { 10866 x["EAP"]["SaveCredentials"] = A.load.Bool(ptr + 8 + 84); 10867 } else { 10868 delete x["EAP"]["SaveCredentials"]; 10869 } 10870 x["EAP"]["ServerCAPEMs"] = A.load.Ref(ptr + 8 + 88, undefined); 10871 x["EAP"]["ServerCARefs"] = A.load.Ref(ptr + 8 + 92, undefined); 10872 if (A.load.Bool(ptr + 8 + 96 + 28)) { 10873 x["EAP"]["SubjectMatch"] = {}; 10874 x["EAP"]["SubjectMatch"]["Active"] = A.load.Ref(ptr + 8 + 96 + 0, undefined); 10875 x["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref(ptr + 8 + 96 + 4, undefined); 10876 x["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref(ptr + 8 + 96 + 8, undefined); 10877 x["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref(ptr + 8 + 96 + 12, undefined); 10878 x["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref(ptr + 8 + 96 + 16, undefined); 10879 x["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref(ptr + 8 + 96 + 20, undefined); 10880 if (A.load.Bool(ptr + 8 + 96 + 26)) { 10881 x["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool(ptr + 8 + 96 + 24); 10882 } else { 10883 delete x["EAP"]["SubjectMatch"]["UserEditable"]; 10884 } 10885 if (A.load.Bool(ptr + 8 + 96 + 27)) { 10886 x["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool(ptr + 8 + 96 + 25); 10887 } else { 10888 delete x["EAP"]["SubjectMatch"]["DeviceEditable"]; 10889 } 10890 } else { 10891 delete x["EAP"]["SubjectMatch"]; 10892 } 10893 if (A.load.Bool(ptr + 8 + 128)) { 10894 x["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(ptr + 8 + 125); 10895 } else { 10896 delete x["EAP"]["UseProactiveKeyCaching"]; 10897 } 10898 if (A.load.Bool(ptr + 8 + 129)) { 10899 x["EAP"]["UseSystemCAs"] = A.load.Bool(ptr + 8 + 126); 10900 } else { 10901 delete x["EAP"]["UseSystemCAs"]; 10902 } 10903 } else { 10904 delete x["EAP"]; 10905 } 10906 if (A.load.Bool(ptr + 178)) { 10907 x["Frequency"] = A.load.Int32(ptr + 140); 10908 } else { 10909 delete x["Frequency"]; 10910 } 10911 x["FrequencyList"] = A.load.Ref(ptr + 144, undefined); 10912 x["HexSSID"] = A.load.Ref(ptr + 148, undefined); 10913 if (A.load.Bool(ptr + 179)) { 10914 x["HiddenSSID"] = A.load.Bool(ptr + 152); 10915 } else { 10916 delete x["HiddenSSID"]; 10917 } 10918 x["Passphrase"] = A.load.Ref(ptr + 156, undefined); 10919 if (A.load.Bool(ptr + 180)) { 10920 x["RoamThreshold"] = A.load.Int32(ptr + 160); 10921 } else { 10922 delete x["RoamThreshold"]; 10923 } 10924 x["SSID"] = A.load.Ref(ptr + 164, undefined); 10925 x["Security"] = A.load.Ref(ptr + 168, undefined); 10926 if (A.load.Bool(ptr + 181)) { 10927 x["SignalStrength"] = A.load.Int32(ptr + 172); 10928 } else { 10929 delete x["SignalStrength"]; 10930 } 10931 return create === A.H.TRUE ? A.H.push(x) : ref; 10932 }, 10933 10934 "store_NetworkProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 10935 const x = A.H.get<any>(ref); 10936 10937 if (typeof x === "undefined") { 10938 A.store.Bool(ptr + 671, false); 10939 10940 A.store.Bool(ptr + 0 + 127, false); 10941 A.store.Bool(ptr + 0 + 121, false); 10942 A.store.Bool(ptr + 0 + 0, false); 10943 A.store.Ref(ptr + 0 + 4, undefined); 10944 A.store.Enum(ptr + 0 + 8, -1); 10945 A.store.Bool(ptr + 0 + 122, false); 10946 A.store.Bool(ptr + 0 + 12, false); 10947 A.store.Ref(ptr + 0 + 16, undefined); 10948 A.store.Ref(ptr + 0 + 20, undefined); 10949 A.store.Ref(ptr + 0 + 24, undefined); 10950 A.store.Ref(ptr + 0 + 28, undefined); 10951 10952 A.store.Bool(ptr + 0 + 32 + 12, false); 10953 A.store.Ref(ptr + 0 + 32 + 0, undefined); 10954 A.store.Ref(ptr + 0 + 32 + 4, undefined); 10955 A.store.Ref(ptr + 0 + 32 + 8, undefined); 10956 A.store.Ref(ptr + 0 + 48, undefined); 10957 A.store.Ref(ptr + 0 + 52, undefined); 10958 A.store.Ref(ptr + 0 + 56, undefined); 10959 10960 A.store.Bool(ptr + 0 + 60 + 12, false); 10961 A.store.Ref(ptr + 0 + 60 + 0, undefined); 10962 A.store.Ref(ptr + 0 + 60 + 4, undefined); 10963 A.store.Ref(ptr + 0 + 60 + 8, undefined); 10964 A.store.Ref(ptr + 0 + 76, undefined); 10965 A.store.Bool(ptr + 0 + 123, false); 10966 A.store.Bool(ptr + 0 + 80, false); 10967 10968 A.store.Bool(ptr + 0 + 84 + 12, false); 10969 A.store.Ref(ptr + 0 + 84 + 0, undefined); 10970 A.store.Ref(ptr + 0 + 84 + 4, undefined); 10971 A.store.Ref(ptr + 0 + 84 + 8, undefined); 10972 10973 A.store.Bool(ptr + 0 + 100 + 14, false); 10974 A.store.Ref(ptr + 0 + 100 + 0, undefined); 10975 A.store.Bool(ptr + 0 + 100 + 12, false); 10976 A.store.Bool(ptr + 0 + 100 + 4, false); 10977 A.store.Bool(ptr + 0 + 100 + 13, false); 10978 A.store.Int32(ptr + 0 + 100 + 8, 0); 10979 A.store.Bool(ptr + 0 + 124, false); 10980 A.store.Bool(ptr + 0 + 115, false); 10981 A.store.Bool(ptr + 0 + 125, false); 10982 A.store.Int32(ptr + 0 + 116, 0); 10983 A.store.Bool(ptr + 0 + 126, false); 10984 A.store.Bool(ptr + 0 + 120, false); 10985 A.store.Bool(ptr + 667, false); 10986 A.store.Bool(ptr + 128, false); 10987 A.store.Enum(ptr + 132, -1); 10988 A.store.Ref(ptr + 136, undefined); 10989 10990 A.store.Bool(ptr + 140 + 140, false); 10991 A.store.Bool(ptr + 140 + 139, false); 10992 A.store.Bool(ptr + 140 + 0, false); 10993 A.store.Ref(ptr + 140 + 4, undefined); 10994 10995 A.store.Bool(ptr + 140 + 8 + 130, false); 10996 A.store.Ref(ptr + 140 + 8 + 0, undefined); 10997 10998 A.store.Bool(ptr + 140 + 8 + 4 + 45, false); 10999 A.store.Ref(ptr + 140 + 8 + 4 + 0, undefined); 11000 11001 A.store.Bool(ptr + 140 + 8 + 4 + 4 + 16, false); 11002 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 0, undefined); 11003 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 4, undefined); 11004 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 8, undefined); 11005 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 12, undefined); 11006 A.store.Ref(ptr + 140 + 8 + 4 + 24, undefined); 11007 11008 A.store.Bool(ptr + 140 + 8 + 4 + 28 + 16, false); 11009 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 0, undefined); 11010 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 4, undefined); 11011 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 8, undefined); 11012 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 12, undefined); 11013 A.store.Ref(ptr + 140 + 8 + 52, undefined); 11014 A.store.Ref(ptr + 140 + 8 + 56, undefined); 11015 A.store.Ref(ptr + 140 + 8 + 60, undefined); 11016 A.store.Enum(ptr + 140 + 8 + 64, -1); 11017 A.store.Ref(ptr + 140 + 8 + 68, undefined); 11018 A.store.Ref(ptr + 140 + 8 + 72, undefined); 11019 A.store.Ref(ptr + 140 + 8 + 76, undefined); 11020 A.store.Ref(ptr + 140 + 8 + 80, undefined); 11021 A.store.Bool(ptr + 140 + 8 + 127, false); 11022 A.store.Bool(ptr + 140 + 8 + 84, false); 11023 A.store.Ref(ptr + 140 + 8 + 88, undefined); 11024 A.store.Ref(ptr + 140 + 8 + 92, undefined); 11025 11026 A.store.Bool(ptr + 140 + 8 + 96 + 28, false); 11027 A.store.Ref(ptr + 140 + 8 + 96 + 0, undefined); 11028 A.store.Ref(ptr + 140 + 8 + 96 + 4, undefined); 11029 A.store.Ref(ptr + 140 + 8 + 96 + 8, undefined); 11030 A.store.Ref(ptr + 140 + 8 + 96 + 12, undefined); 11031 A.store.Ref(ptr + 140 + 8 + 96 + 16, undefined); 11032 A.store.Ref(ptr + 140 + 8 + 96 + 20, undefined); 11033 A.store.Bool(ptr + 140 + 8 + 96 + 26, false); 11034 A.store.Bool(ptr + 140 + 8 + 96 + 24, false); 11035 A.store.Bool(ptr + 140 + 8 + 96 + 27, false); 11036 A.store.Bool(ptr + 140 + 8 + 96 + 25, false); 11037 A.store.Bool(ptr + 140 + 8 + 128, false); 11038 A.store.Bool(ptr + 140 + 8 + 125, false); 11039 A.store.Bool(ptr + 140 + 8 + 129, false); 11040 A.store.Bool(ptr + 140 + 8 + 126, false); 11041 A.store.Ref(ptr + 284, undefined); 11042 A.store.Enum(ptr + 288, -1); 11043 A.store.Ref(ptr + 292, undefined); 11044 A.store.Ref(ptr + 296, undefined); 11045 A.store.Bool(ptr + 668, false); 11046 A.store.Bool(ptr + 300, false); 11047 A.store.Ref(ptr + 304, undefined); 11048 A.store.Enum(ptr + 308, -1); 11049 A.store.Bool(ptr + 669, false); 11050 A.store.Int32(ptr + 312, 0); 11051 11052 A.store.Bool(ptr + 316 + 60, false); 11053 A.store.Enum(ptr + 316 + 0, -1); 11054 11055 A.store.Bool(ptr + 316 + 4 + 46, false); 11056 11057 A.store.Bool(ptr + 316 + 4 + 0 + 9, false); 11058 A.store.Ref(ptr + 316 + 4 + 0 + 0, undefined); 11059 A.store.Bool(ptr + 316 + 4 + 0 + 8, false); 11060 A.store.Int32(ptr + 316 + 4 + 0 + 4, 0); 11061 11062 A.store.Bool(ptr + 316 + 4 + 12 + 9, false); 11063 A.store.Ref(ptr + 316 + 4 + 12 + 0, undefined); 11064 A.store.Bool(ptr + 316 + 4 + 12 + 8, false); 11065 A.store.Int32(ptr + 316 + 4 + 12 + 4, 0); 11066 11067 A.store.Bool(ptr + 316 + 4 + 24 + 9, false); 11068 A.store.Ref(ptr + 316 + 4 + 24 + 0, undefined); 11069 A.store.Bool(ptr + 316 + 4 + 24 + 8, false); 11070 A.store.Int32(ptr + 316 + 4 + 24 + 4, 0); 11071 11072 A.store.Bool(ptr + 316 + 4 + 36 + 9, false); 11073 A.store.Ref(ptr + 316 + 4 + 36 + 0, undefined); 11074 A.store.Bool(ptr + 316 + 4 + 36 + 8, false); 11075 A.store.Int32(ptr + 316 + 4 + 36 + 4, 0); 11076 A.store.Ref(ptr + 316 + 52, undefined); 11077 A.store.Ref(ptr + 316 + 56, undefined); 11078 A.store.Bool(ptr + 670, false); 11079 A.store.Bool(ptr + 377, false); 11080 11081 A.store.Bool(ptr + 380 + 37, false); 11082 A.store.Ref(ptr + 380 + 0, undefined); 11083 A.store.Ref(ptr + 380 + 4, undefined); 11084 A.store.Ref(ptr + 380 + 8, undefined); 11085 A.store.Ref(ptr + 380 + 12, undefined); 11086 A.store.Ref(ptr + 380 + 16, undefined); 11087 A.store.Ref(ptr + 380 + 20, undefined); 11088 A.store.Bool(ptr + 380 + 36, false); 11089 A.store.Int32(ptr + 380 + 24, 0); 11090 A.store.Ref(ptr + 380 + 28, undefined); 11091 A.store.Ref(ptr + 380 + 32, undefined); 11092 11093 A.store.Bool(ptr + 420 + 37, false); 11094 A.store.Ref(ptr + 420 + 0, undefined); 11095 A.store.Ref(ptr + 420 + 4, undefined); 11096 A.store.Ref(ptr + 420 + 8, undefined); 11097 A.store.Ref(ptr + 420 + 12, undefined); 11098 A.store.Ref(ptr + 420 + 16, undefined); 11099 A.store.Ref(ptr + 420 + 20, undefined); 11100 A.store.Bool(ptr + 420 + 36, false); 11101 A.store.Int32(ptr + 420 + 24, 0); 11102 A.store.Ref(ptr + 420 + 28, undefined); 11103 A.store.Ref(ptr + 420 + 32, undefined); 11104 A.store.Ref(ptr + 460, undefined); 11105 A.store.Enum(ptr + 464, -1); 11106 11107 A.store.Bool(ptr + 468 + 13, false); 11108 A.store.Bool(ptr + 468 + 12, false); 11109 A.store.Bool(ptr + 468 + 0, false); 11110 A.store.Ref(ptr + 468 + 4, undefined); 11111 A.store.Ref(ptr + 468 + 8, undefined); 11112 11113 A.store.Bool(ptr + 484 + 182, false); 11114 A.store.Bool(ptr + 484 + 176, false); 11115 A.store.Bool(ptr + 484 + 0, false); 11116 A.store.Bool(ptr + 484 + 177, false); 11117 A.store.Bool(ptr + 484 + 1, false); 11118 A.store.Ref(ptr + 484 + 4, undefined); 11119 11120 A.store.Bool(ptr + 484 + 8 + 130, false); 11121 A.store.Ref(ptr + 484 + 8 + 0, undefined); 11122 11123 A.store.Bool(ptr + 484 + 8 + 4 + 45, false); 11124 A.store.Ref(ptr + 484 + 8 + 4 + 0, undefined); 11125 11126 A.store.Bool(ptr + 484 + 8 + 4 + 4 + 16, false); 11127 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 0, undefined); 11128 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 4, undefined); 11129 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 8, undefined); 11130 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 12, undefined); 11131 A.store.Ref(ptr + 484 + 8 + 4 + 24, undefined); 11132 11133 A.store.Bool(ptr + 484 + 8 + 4 + 28 + 16, false); 11134 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 0, undefined); 11135 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 4, undefined); 11136 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 8, undefined); 11137 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 12, undefined); 11138 A.store.Ref(ptr + 484 + 8 + 52, undefined); 11139 A.store.Ref(ptr + 484 + 8 + 56, undefined); 11140 A.store.Ref(ptr + 484 + 8 + 60, undefined); 11141 A.store.Enum(ptr + 484 + 8 + 64, -1); 11142 A.store.Ref(ptr + 484 + 8 + 68, undefined); 11143 A.store.Ref(ptr + 484 + 8 + 72, undefined); 11144 A.store.Ref(ptr + 484 + 8 + 76, undefined); 11145 A.store.Ref(ptr + 484 + 8 + 80, undefined); 11146 A.store.Bool(ptr + 484 + 8 + 127, false); 11147 A.store.Bool(ptr + 484 + 8 + 84, false); 11148 A.store.Ref(ptr + 484 + 8 + 88, undefined); 11149 A.store.Ref(ptr + 484 + 8 + 92, undefined); 11150 11151 A.store.Bool(ptr + 484 + 8 + 96 + 28, false); 11152 A.store.Ref(ptr + 484 + 8 + 96 + 0, undefined); 11153 A.store.Ref(ptr + 484 + 8 + 96 + 4, undefined); 11154 A.store.Ref(ptr + 484 + 8 + 96 + 8, undefined); 11155 A.store.Ref(ptr + 484 + 8 + 96 + 12, undefined); 11156 A.store.Ref(ptr + 484 + 8 + 96 + 16, undefined); 11157 A.store.Ref(ptr + 484 + 8 + 96 + 20, undefined); 11158 A.store.Bool(ptr + 484 + 8 + 96 + 26, false); 11159 A.store.Bool(ptr + 484 + 8 + 96 + 24, false); 11160 A.store.Bool(ptr + 484 + 8 + 96 + 27, false); 11161 A.store.Bool(ptr + 484 + 8 + 96 + 25, false); 11162 A.store.Bool(ptr + 484 + 8 + 128, false); 11163 A.store.Bool(ptr + 484 + 8 + 125, false); 11164 A.store.Bool(ptr + 484 + 8 + 129, false); 11165 A.store.Bool(ptr + 484 + 8 + 126, false); 11166 A.store.Bool(ptr + 484 + 178, false); 11167 A.store.Int32(ptr + 484 + 140, 0); 11168 A.store.Ref(ptr + 484 + 144, undefined); 11169 A.store.Ref(ptr + 484 + 148, undefined); 11170 A.store.Bool(ptr + 484 + 179, false); 11171 A.store.Bool(ptr + 484 + 152, false); 11172 A.store.Ref(ptr + 484 + 156, undefined); 11173 A.store.Bool(ptr + 484 + 180, false); 11174 A.store.Int32(ptr + 484 + 160, 0); 11175 A.store.Ref(ptr + 484 + 164, undefined); 11176 A.store.Ref(ptr + 484 + 168, undefined); 11177 A.store.Bool(ptr + 484 + 181, false); 11178 A.store.Int32(ptr + 484 + 172, 0); 11179 } else { 11180 A.store.Bool(ptr + 671, true); 11181 11182 if (typeof x["Cellular"] === "undefined") { 11183 A.store.Bool(ptr + 0 + 127, false); 11184 A.store.Bool(ptr + 0 + 121, false); 11185 A.store.Bool(ptr + 0 + 0, false); 11186 A.store.Ref(ptr + 0 + 4, undefined); 11187 A.store.Enum(ptr + 0 + 8, -1); 11188 A.store.Bool(ptr + 0 + 122, false); 11189 A.store.Bool(ptr + 0 + 12, false); 11190 A.store.Ref(ptr + 0 + 16, undefined); 11191 A.store.Ref(ptr + 0 + 20, undefined); 11192 A.store.Ref(ptr + 0 + 24, undefined); 11193 A.store.Ref(ptr + 0 + 28, undefined); 11194 11195 A.store.Bool(ptr + 0 + 32 + 12, false); 11196 A.store.Ref(ptr + 0 + 32 + 0, undefined); 11197 A.store.Ref(ptr + 0 + 32 + 4, undefined); 11198 A.store.Ref(ptr + 0 + 32 + 8, undefined); 11199 A.store.Ref(ptr + 0 + 48, undefined); 11200 A.store.Ref(ptr + 0 + 52, undefined); 11201 A.store.Ref(ptr + 0 + 56, undefined); 11202 11203 A.store.Bool(ptr + 0 + 60 + 12, false); 11204 A.store.Ref(ptr + 0 + 60 + 0, undefined); 11205 A.store.Ref(ptr + 0 + 60 + 4, undefined); 11206 A.store.Ref(ptr + 0 + 60 + 8, undefined); 11207 A.store.Ref(ptr + 0 + 76, undefined); 11208 A.store.Bool(ptr + 0 + 123, false); 11209 A.store.Bool(ptr + 0 + 80, false); 11210 11211 A.store.Bool(ptr + 0 + 84 + 12, false); 11212 A.store.Ref(ptr + 0 + 84 + 0, undefined); 11213 A.store.Ref(ptr + 0 + 84 + 4, undefined); 11214 A.store.Ref(ptr + 0 + 84 + 8, undefined); 11215 11216 A.store.Bool(ptr + 0 + 100 + 14, false); 11217 A.store.Ref(ptr + 0 + 100 + 0, undefined); 11218 A.store.Bool(ptr + 0 + 100 + 12, false); 11219 A.store.Bool(ptr + 0 + 100 + 4, false); 11220 A.store.Bool(ptr + 0 + 100 + 13, false); 11221 A.store.Int32(ptr + 0 + 100 + 8, 0); 11222 A.store.Bool(ptr + 0 + 124, false); 11223 A.store.Bool(ptr + 0 + 115, false); 11224 A.store.Bool(ptr + 0 + 125, false); 11225 A.store.Int32(ptr + 0 + 116, 0); 11226 A.store.Bool(ptr + 0 + 126, false); 11227 A.store.Bool(ptr + 0 + 120, false); 11228 } else { 11229 A.store.Bool(ptr + 0 + 127, true); 11230 A.store.Bool(ptr + 0 + 121, "AutoConnect" in x["Cellular"] ? true : false); 11231 A.store.Bool(ptr + 0 + 0, x["Cellular"]["AutoConnect"] ? true : false); 11232 A.store.Ref(ptr + 0 + 4, x["Cellular"]["ActivationType"]); 11233 A.store.Enum( 11234 ptr + 0 + 8, 11235 ["Activated", "Activating", "NotActivated", "PartiallyActivated"].indexOf( 11236 x["Cellular"]["ActivationState"] as string 11237 ) 11238 ); 11239 A.store.Bool(ptr + 0 + 122, "AllowRoaming" in x["Cellular"] ? true : false); 11240 A.store.Bool(ptr + 0 + 12, x["Cellular"]["AllowRoaming"] ? true : false); 11241 A.store.Ref(ptr + 0 + 16, x["Cellular"]["Family"]); 11242 A.store.Ref(ptr + 0 + 20, x["Cellular"]["FirmwareRevision"]); 11243 A.store.Ref(ptr + 0 + 24, x["Cellular"]["FoundNetworks"]); 11244 A.store.Ref(ptr + 0 + 28, x["Cellular"]["HardwareRevision"]); 11245 11246 if (typeof x["Cellular"]["HomeProvider"] === "undefined") { 11247 A.store.Bool(ptr + 0 + 32 + 12, false); 11248 A.store.Ref(ptr + 0 + 32 + 0, undefined); 11249 A.store.Ref(ptr + 0 + 32 + 4, undefined); 11250 A.store.Ref(ptr + 0 + 32 + 8, undefined); 11251 } else { 11252 A.store.Bool(ptr + 0 + 32 + 12, true); 11253 A.store.Ref(ptr + 0 + 32 + 0, x["Cellular"]["HomeProvider"]["Name"]); 11254 A.store.Ref(ptr + 0 + 32 + 4, x["Cellular"]["HomeProvider"]["Code"]); 11255 A.store.Ref(ptr + 0 + 32 + 8, x["Cellular"]["HomeProvider"]["Country"]); 11256 } 11257 A.store.Ref(ptr + 0 + 48, x["Cellular"]["Manufacturer"]); 11258 A.store.Ref(ptr + 0 + 52, x["Cellular"]["ModelID"]); 11259 A.store.Ref(ptr + 0 + 56, x["Cellular"]["NetworkTechnology"]); 11260 11261 if (typeof x["Cellular"]["PaymentPortal"] === "undefined") { 11262 A.store.Bool(ptr + 0 + 60 + 12, false); 11263 A.store.Ref(ptr + 0 + 60 + 0, undefined); 11264 A.store.Ref(ptr + 0 + 60 + 4, undefined); 11265 A.store.Ref(ptr + 0 + 60 + 8, undefined); 11266 } else { 11267 A.store.Bool(ptr + 0 + 60 + 12, true); 11268 A.store.Ref(ptr + 0 + 60 + 0, x["Cellular"]["PaymentPortal"]["Method"]); 11269 A.store.Ref(ptr + 0 + 60 + 4, x["Cellular"]["PaymentPortal"]["PostData"]); 11270 A.store.Ref(ptr + 0 + 60 + 8, x["Cellular"]["PaymentPortal"]["Url"]); 11271 } 11272 A.store.Ref(ptr + 0 + 76, x["Cellular"]["RoamingState"]); 11273 A.store.Bool(ptr + 0 + 123, "Scanning" in x["Cellular"] ? true : false); 11274 A.store.Bool(ptr + 0 + 80, x["Cellular"]["Scanning"] ? true : false); 11275 11276 if (typeof x["Cellular"]["ServingOperator"] === "undefined") { 11277 A.store.Bool(ptr + 0 + 84 + 12, false); 11278 A.store.Ref(ptr + 0 + 84 + 0, undefined); 11279 A.store.Ref(ptr + 0 + 84 + 4, undefined); 11280 A.store.Ref(ptr + 0 + 84 + 8, undefined); 11281 } else { 11282 A.store.Bool(ptr + 0 + 84 + 12, true); 11283 A.store.Ref(ptr + 0 + 84 + 0, x["Cellular"]["ServingOperator"]["Name"]); 11284 A.store.Ref(ptr + 0 + 84 + 4, x["Cellular"]["ServingOperator"]["Code"]); 11285 A.store.Ref(ptr + 0 + 84 + 8, x["Cellular"]["ServingOperator"]["Country"]); 11286 } 11287 11288 if (typeof x["Cellular"]["SIMLockStatus"] === "undefined") { 11289 A.store.Bool(ptr + 0 + 100 + 14, false); 11290 A.store.Ref(ptr + 0 + 100 + 0, undefined); 11291 A.store.Bool(ptr + 0 + 100 + 12, false); 11292 A.store.Bool(ptr + 0 + 100 + 4, false); 11293 A.store.Bool(ptr + 0 + 100 + 13, false); 11294 A.store.Int32(ptr + 0 + 100 + 8, 0); 11295 } else { 11296 A.store.Bool(ptr + 0 + 100 + 14, true); 11297 A.store.Ref(ptr + 0 + 100 + 0, x["Cellular"]["SIMLockStatus"]["LockType"]); 11298 A.store.Bool(ptr + 0 + 100 + 12, "LockEnabled" in x["Cellular"]["SIMLockStatus"] ? true : false); 11299 A.store.Bool(ptr + 0 + 100 + 4, x["Cellular"]["SIMLockStatus"]["LockEnabled"] ? true : false); 11300 A.store.Bool(ptr + 0 + 100 + 13, "RetriesLeft" in x["Cellular"]["SIMLockStatus"] ? true : false); 11301 A.store.Int32( 11302 ptr + 0 + 100 + 8, 11303 x["Cellular"]["SIMLockStatus"]["RetriesLeft"] === undefined 11304 ? 0 11305 : (x["Cellular"]["SIMLockStatus"]["RetriesLeft"] as number) 11306 ); 11307 } 11308 A.store.Bool(ptr + 0 + 124, "SIMPresent" in x["Cellular"] ? true : false); 11309 A.store.Bool(ptr + 0 + 115, x["Cellular"]["SIMPresent"] ? true : false); 11310 A.store.Bool(ptr + 0 + 125, "SignalStrength" in x["Cellular"] ? true : false); 11311 A.store.Int32( 11312 ptr + 0 + 116, 11313 x["Cellular"]["SignalStrength"] === undefined ? 0 : (x["Cellular"]["SignalStrength"] as number) 11314 ); 11315 A.store.Bool(ptr + 0 + 126, "SupportNetworkScan" in x["Cellular"] ? true : false); 11316 A.store.Bool(ptr + 0 + 120, x["Cellular"]["SupportNetworkScan"] ? true : false); 11317 } 11318 A.store.Bool(ptr + 667, "Connectable" in x ? true : false); 11319 A.store.Bool(ptr + 128, x["Connectable"] ? true : false); 11320 A.store.Enum(ptr + 132, ["Connected", "Connecting", "NotConnected"].indexOf(x["ConnectionState"] as string)); 11321 A.store.Ref(ptr + 136, x["ErrorState"]); 11322 11323 if (typeof x["Ethernet"] === "undefined") { 11324 A.store.Bool(ptr + 140 + 140, false); 11325 A.store.Bool(ptr + 140 + 139, false); 11326 A.store.Bool(ptr + 140 + 0, false); 11327 A.store.Ref(ptr + 140 + 4, undefined); 11328 11329 A.store.Bool(ptr + 140 + 8 + 130, false); 11330 A.store.Ref(ptr + 140 + 8 + 0, undefined); 11331 11332 A.store.Bool(ptr + 140 + 8 + 4 + 45, false); 11333 A.store.Ref(ptr + 140 + 8 + 4 + 0, undefined); 11334 11335 A.store.Bool(ptr + 140 + 8 + 4 + 4 + 16, false); 11336 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 0, undefined); 11337 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 4, undefined); 11338 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 8, undefined); 11339 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 12, undefined); 11340 A.store.Ref(ptr + 140 + 8 + 4 + 24, undefined); 11341 11342 A.store.Bool(ptr + 140 + 8 + 4 + 28 + 16, false); 11343 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 0, undefined); 11344 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 4, undefined); 11345 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 8, undefined); 11346 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 12, undefined); 11347 A.store.Ref(ptr + 140 + 8 + 52, undefined); 11348 A.store.Ref(ptr + 140 + 8 + 56, undefined); 11349 A.store.Ref(ptr + 140 + 8 + 60, undefined); 11350 A.store.Enum(ptr + 140 + 8 + 64, -1); 11351 A.store.Ref(ptr + 140 + 8 + 68, undefined); 11352 A.store.Ref(ptr + 140 + 8 + 72, undefined); 11353 A.store.Ref(ptr + 140 + 8 + 76, undefined); 11354 A.store.Ref(ptr + 140 + 8 + 80, undefined); 11355 A.store.Bool(ptr + 140 + 8 + 127, false); 11356 A.store.Bool(ptr + 140 + 8 + 84, false); 11357 A.store.Ref(ptr + 140 + 8 + 88, undefined); 11358 A.store.Ref(ptr + 140 + 8 + 92, undefined); 11359 11360 A.store.Bool(ptr + 140 + 8 + 96 + 28, false); 11361 A.store.Ref(ptr + 140 + 8 + 96 + 0, undefined); 11362 A.store.Ref(ptr + 140 + 8 + 96 + 4, undefined); 11363 A.store.Ref(ptr + 140 + 8 + 96 + 8, undefined); 11364 A.store.Ref(ptr + 140 + 8 + 96 + 12, undefined); 11365 A.store.Ref(ptr + 140 + 8 + 96 + 16, undefined); 11366 A.store.Ref(ptr + 140 + 8 + 96 + 20, undefined); 11367 A.store.Bool(ptr + 140 + 8 + 96 + 26, false); 11368 A.store.Bool(ptr + 140 + 8 + 96 + 24, false); 11369 A.store.Bool(ptr + 140 + 8 + 96 + 27, false); 11370 A.store.Bool(ptr + 140 + 8 + 96 + 25, false); 11371 A.store.Bool(ptr + 140 + 8 + 128, false); 11372 A.store.Bool(ptr + 140 + 8 + 125, false); 11373 A.store.Bool(ptr + 140 + 8 + 129, false); 11374 A.store.Bool(ptr + 140 + 8 + 126, false); 11375 } else { 11376 A.store.Bool(ptr + 140 + 140, true); 11377 A.store.Bool(ptr + 140 + 139, "AutoConnect" in x["Ethernet"] ? true : false); 11378 A.store.Bool(ptr + 140 + 0, x["Ethernet"]["AutoConnect"] ? true : false); 11379 A.store.Ref(ptr + 140 + 4, x["Ethernet"]["Authentication"]); 11380 11381 if (typeof x["Ethernet"]["EAP"] === "undefined") { 11382 A.store.Bool(ptr + 140 + 8 + 130, false); 11383 A.store.Ref(ptr + 140 + 8 + 0, undefined); 11384 11385 A.store.Bool(ptr + 140 + 8 + 4 + 45, false); 11386 A.store.Ref(ptr + 140 + 8 + 4 + 0, undefined); 11387 11388 A.store.Bool(ptr + 140 + 8 + 4 + 4 + 16, false); 11389 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 0, undefined); 11390 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 4, undefined); 11391 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 8, undefined); 11392 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 12, undefined); 11393 A.store.Ref(ptr + 140 + 8 + 4 + 24, undefined); 11394 11395 A.store.Bool(ptr + 140 + 8 + 4 + 28 + 16, false); 11396 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 0, undefined); 11397 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 4, undefined); 11398 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 8, undefined); 11399 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 12, undefined); 11400 A.store.Ref(ptr + 140 + 8 + 52, undefined); 11401 A.store.Ref(ptr + 140 + 8 + 56, undefined); 11402 A.store.Ref(ptr + 140 + 8 + 60, undefined); 11403 A.store.Enum(ptr + 140 + 8 + 64, -1); 11404 A.store.Ref(ptr + 140 + 8 + 68, undefined); 11405 A.store.Ref(ptr + 140 + 8 + 72, undefined); 11406 A.store.Ref(ptr + 140 + 8 + 76, undefined); 11407 A.store.Ref(ptr + 140 + 8 + 80, undefined); 11408 A.store.Bool(ptr + 140 + 8 + 127, false); 11409 A.store.Bool(ptr + 140 + 8 + 84, false); 11410 A.store.Ref(ptr + 140 + 8 + 88, undefined); 11411 A.store.Ref(ptr + 140 + 8 + 92, undefined); 11412 11413 A.store.Bool(ptr + 140 + 8 + 96 + 28, false); 11414 A.store.Ref(ptr + 140 + 8 + 96 + 0, undefined); 11415 A.store.Ref(ptr + 140 + 8 + 96 + 4, undefined); 11416 A.store.Ref(ptr + 140 + 8 + 96 + 8, undefined); 11417 A.store.Ref(ptr + 140 + 8 + 96 + 12, undefined); 11418 A.store.Ref(ptr + 140 + 8 + 96 + 16, undefined); 11419 A.store.Ref(ptr + 140 + 8 + 96 + 20, undefined); 11420 A.store.Bool(ptr + 140 + 8 + 96 + 26, false); 11421 A.store.Bool(ptr + 140 + 8 + 96 + 24, false); 11422 A.store.Bool(ptr + 140 + 8 + 96 + 27, false); 11423 A.store.Bool(ptr + 140 + 8 + 96 + 25, false); 11424 A.store.Bool(ptr + 140 + 8 + 128, false); 11425 A.store.Bool(ptr + 140 + 8 + 125, false); 11426 A.store.Bool(ptr + 140 + 8 + 129, false); 11427 A.store.Bool(ptr + 140 + 8 + 126, false); 11428 } else { 11429 A.store.Bool(ptr + 140 + 8 + 130, true); 11430 A.store.Ref(ptr + 140 + 8 + 0, x["Ethernet"]["EAP"]["AnonymousIdentity"]); 11431 11432 if (typeof x["Ethernet"]["EAP"]["ClientCertPattern"] === "undefined") { 11433 A.store.Bool(ptr + 140 + 8 + 4 + 45, false); 11434 A.store.Ref(ptr + 140 + 8 + 4 + 0, undefined); 11435 11436 A.store.Bool(ptr + 140 + 8 + 4 + 4 + 16, false); 11437 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 0, undefined); 11438 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 4, undefined); 11439 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 8, undefined); 11440 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 12, undefined); 11441 A.store.Ref(ptr + 140 + 8 + 4 + 24, undefined); 11442 11443 A.store.Bool(ptr + 140 + 8 + 4 + 28 + 16, false); 11444 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 0, undefined); 11445 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 4, undefined); 11446 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 8, undefined); 11447 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 12, undefined); 11448 } else { 11449 A.store.Bool(ptr + 140 + 8 + 4 + 45, true); 11450 A.store.Ref(ptr + 140 + 8 + 4 + 0, x["Ethernet"]["EAP"]["ClientCertPattern"]["EnrollmentURI"]); 11451 11452 if (typeof x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"] === "undefined") { 11453 A.store.Bool(ptr + 140 + 8 + 4 + 4 + 16, false); 11454 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 0, undefined); 11455 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 4, undefined); 11456 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 8, undefined); 11457 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 12, undefined); 11458 } else { 11459 A.store.Bool(ptr + 140 + 8 + 4 + 4 + 16, true); 11460 A.store.Ref( 11461 ptr + 140 + 8 + 4 + 4 + 0, 11462 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] 11463 ); 11464 A.store.Ref(ptr + 140 + 8 + 4 + 4 + 4, x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"]); 11465 A.store.Ref( 11466 ptr + 140 + 8 + 4 + 4 + 8, 11467 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] 11468 ); 11469 A.store.Ref( 11470 ptr + 140 + 8 + 4 + 4 + 12, 11471 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] 11472 ); 11473 } 11474 A.store.Ref(ptr + 140 + 8 + 4 + 24, x["Ethernet"]["EAP"]["ClientCertPattern"]["IssuerCARef"]); 11475 11476 if (typeof x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"] === "undefined") { 11477 A.store.Bool(ptr + 140 + 8 + 4 + 28 + 16, false); 11478 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 0, undefined); 11479 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 4, undefined); 11480 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 8, undefined); 11481 A.store.Ref(ptr + 140 + 8 + 4 + 28 + 12, undefined); 11482 } else { 11483 A.store.Bool(ptr + 140 + 8 + 4 + 28 + 16, true); 11484 A.store.Ref( 11485 ptr + 140 + 8 + 4 + 28 + 0, 11486 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] 11487 ); 11488 A.store.Ref( 11489 ptr + 140 + 8 + 4 + 28 + 4, 11490 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] 11491 ); 11492 A.store.Ref( 11493 ptr + 140 + 8 + 4 + 28 + 8, 11494 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] 11495 ); 11496 A.store.Ref( 11497 ptr + 140 + 8 + 4 + 28 + 12, 11498 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] 11499 ); 11500 } 11501 } 11502 A.store.Ref(ptr + 140 + 8 + 52, x["Ethernet"]["EAP"]["ClientCertPKCS11Id"]); 11503 A.store.Ref(ptr + 140 + 8 + 56, x["Ethernet"]["EAP"]["ClientCertProvisioningProfileId"]); 11504 A.store.Ref(ptr + 140 + 8 + 60, x["Ethernet"]["EAP"]["ClientCertRef"]); 11505 A.store.Enum( 11506 ptr + 140 + 8 + 64, 11507 ["Ref", "Pattern"].indexOf(x["Ethernet"]["EAP"]["ClientCertType"] as string) 11508 ); 11509 A.store.Ref(ptr + 140 + 8 + 68, x["Ethernet"]["EAP"]["Identity"]); 11510 A.store.Ref(ptr + 140 + 8 + 72, x["Ethernet"]["EAP"]["Inner"]); 11511 A.store.Ref(ptr + 140 + 8 + 76, x["Ethernet"]["EAP"]["Outer"]); 11512 A.store.Ref(ptr + 140 + 8 + 80, x["Ethernet"]["EAP"]["Password"]); 11513 A.store.Bool(ptr + 140 + 8 + 127, "SaveCredentials" in x["Ethernet"]["EAP"] ? true : false); 11514 A.store.Bool(ptr + 140 + 8 + 84, x["Ethernet"]["EAP"]["SaveCredentials"] ? true : false); 11515 A.store.Ref(ptr + 140 + 8 + 88, x["Ethernet"]["EAP"]["ServerCAPEMs"]); 11516 A.store.Ref(ptr + 140 + 8 + 92, x["Ethernet"]["EAP"]["ServerCARefs"]); 11517 11518 if (typeof x["Ethernet"]["EAP"]["SubjectMatch"] === "undefined") { 11519 A.store.Bool(ptr + 140 + 8 + 96 + 28, false); 11520 A.store.Ref(ptr + 140 + 8 + 96 + 0, undefined); 11521 A.store.Ref(ptr + 140 + 8 + 96 + 4, undefined); 11522 A.store.Ref(ptr + 140 + 8 + 96 + 8, undefined); 11523 A.store.Ref(ptr + 140 + 8 + 96 + 12, undefined); 11524 A.store.Ref(ptr + 140 + 8 + 96 + 16, undefined); 11525 A.store.Ref(ptr + 140 + 8 + 96 + 20, undefined); 11526 A.store.Bool(ptr + 140 + 8 + 96 + 26, false); 11527 A.store.Bool(ptr + 140 + 8 + 96 + 24, false); 11528 A.store.Bool(ptr + 140 + 8 + 96 + 27, false); 11529 A.store.Bool(ptr + 140 + 8 + 96 + 25, false); 11530 } else { 11531 A.store.Bool(ptr + 140 + 8 + 96 + 28, true); 11532 A.store.Ref(ptr + 140 + 8 + 96 + 0, x["Ethernet"]["EAP"]["SubjectMatch"]["Active"]); 11533 A.store.Ref(ptr + 140 + 8 + 96 + 4, x["Ethernet"]["EAP"]["SubjectMatch"]["Effective"]); 11534 A.store.Ref(ptr + 140 + 8 + 96 + 8, x["Ethernet"]["EAP"]["SubjectMatch"]["UserPolicy"]); 11535 A.store.Ref(ptr + 140 + 8 + 96 + 12, x["Ethernet"]["EAP"]["SubjectMatch"]["DevicePolicy"]); 11536 A.store.Ref(ptr + 140 + 8 + 96 + 16, x["Ethernet"]["EAP"]["SubjectMatch"]["UserSetting"]); 11537 A.store.Ref(ptr + 140 + 8 + 96 + 20, x["Ethernet"]["EAP"]["SubjectMatch"]["SharedSetting"]); 11538 A.store.Bool( 11539 ptr + 140 + 8 + 96 + 26, 11540 "UserEditable" in x["Ethernet"]["EAP"]["SubjectMatch"] ? true : false 11541 ); 11542 A.store.Bool( 11543 ptr + 140 + 8 + 96 + 24, 11544 x["Ethernet"]["EAP"]["SubjectMatch"]["UserEditable"] ? true : false 11545 ); 11546 A.store.Bool( 11547 ptr + 140 + 8 + 96 + 27, 11548 "DeviceEditable" in x["Ethernet"]["EAP"]["SubjectMatch"] ? true : false 11549 ); 11550 A.store.Bool( 11551 ptr + 140 + 8 + 96 + 25, 11552 x["Ethernet"]["EAP"]["SubjectMatch"]["DeviceEditable"] ? true : false 11553 ); 11554 } 11555 A.store.Bool(ptr + 140 + 8 + 128, "UseProactiveKeyCaching" in x["Ethernet"]["EAP"] ? true : false); 11556 A.store.Bool(ptr + 140 + 8 + 125, x["Ethernet"]["EAP"]["UseProactiveKeyCaching"] ? true : false); 11557 A.store.Bool(ptr + 140 + 8 + 129, "UseSystemCAs" in x["Ethernet"]["EAP"] ? true : false); 11558 A.store.Bool(ptr + 140 + 8 + 126, x["Ethernet"]["EAP"]["UseSystemCAs"] ? true : false); 11559 } 11560 } 11561 A.store.Ref(ptr + 284, x["GUID"]); 11562 A.store.Enum(ptr + 288, ["DHCP", "Static"].indexOf(x["IPAddressConfigType"] as string)); 11563 A.store.Ref(ptr + 292, x["IPConfigs"]); 11564 A.store.Ref(ptr + 296, x["MacAddress"]); 11565 A.store.Bool(ptr + 668, "Metered" in x ? true : false); 11566 A.store.Bool(ptr + 300, x["Metered"] ? true : false); 11567 A.store.Ref(ptr + 304, x["Name"]); 11568 A.store.Enum(ptr + 308, ["DHCP", "Static"].indexOf(x["NameServersConfigType"] as string)); 11569 A.store.Bool(ptr + 669, "Priority" in x ? true : false); 11570 A.store.Int32(ptr + 312, x["Priority"] === undefined ? 0 : (x["Priority"] as number)); 11571 11572 if (typeof x["ProxySettings"] === "undefined") { 11573 A.store.Bool(ptr + 316 + 60, false); 11574 A.store.Enum(ptr + 316 + 0, -1); 11575 11576 A.store.Bool(ptr + 316 + 4 + 46, false); 11577 11578 A.store.Bool(ptr + 316 + 4 + 0 + 9, false); 11579 A.store.Ref(ptr + 316 + 4 + 0 + 0, undefined); 11580 A.store.Bool(ptr + 316 + 4 + 0 + 8, false); 11581 A.store.Int32(ptr + 316 + 4 + 0 + 4, 0); 11582 11583 A.store.Bool(ptr + 316 + 4 + 12 + 9, false); 11584 A.store.Ref(ptr + 316 + 4 + 12 + 0, undefined); 11585 A.store.Bool(ptr + 316 + 4 + 12 + 8, false); 11586 A.store.Int32(ptr + 316 + 4 + 12 + 4, 0); 11587 11588 A.store.Bool(ptr + 316 + 4 + 24 + 9, false); 11589 A.store.Ref(ptr + 316 + 4 + 24 + 0, undefined); 11590 A.store.Bool(ptr + 316 + 4 + 24 + 8, false); 11591 A.store.Int32(ptr + 316 + 4 + 24 + 4, 0); 11592 11593 A.store.Bool(ptr + 316 + 4 + 36 + 9, false); 11594 A.store.Ref(ptr + 316 + 4 + 36 + 0, undefined); 11595 A.store.Bool(ptr + 316 + 4 + 36 + 8, false); 11596 A.store.Int32(ptr + 316 + 4 + 36 + 4, 0); 11597 A.store.Ref(ptr + 316 + 52, undefined); 11598 A.store.Ref(ptr + 316 + 56, undefined); 11599 } else { 11600 A.store.Bool(ptr + 316 + 60, true); 11601 A.store.Enum( 11602 ptr + 316 + 0, 11603 ["Direct", "Manual", "PAC", "WPAD"].indexOf(x["ProxySettings"]["Type"] as string) 11604 ); 11605 11606 if (typeof x["ProxySettings"]["Manual"] === "undefined") { 11607 A.store.Bool(ptr + 316 + 4 + 46, false); 11608 11609 A.store.Bool(ptr + 316 + 4 + 0 + 9, false); 11610 A.store.Ref(ptr + 316 + 4 + 0 + 0, undefined); 11611 A.store.Bool(ptr + 316 + 4 + 0 + 8, false); 11612 A.store.Int32(ptr + 316 + 4 + 0 + 4, 0); 11613 11614 A.store.Bool(ptr + 316 + 4 + 12 + 9, false); 11615 A.store.Ref(ptr + 316 + 4 + 12 + 0, undefined); 11616 A.store.Bool(ptr + 316 + 4 + 12 + 8, false); 11617 A.store.Int32(ptr + 316 + 4 + 12 + 4, 0); 11618 11619 A.store.Bool(ptr + 316 + 4 + 24 + 9, false); 11620 A.store.Ref(ptr + 316 + 4 + 24 + 0, undefined); 11621 A.store.Bool(ptr + 316 + 4 + 24 + 8, false); 11622 A.store.Int32(ptr + 316 + 4 + 24 + 4, 0); 11623 11624 A.store.Bool(ptr + 316 + 4 + 36 + 9, false); 11625 A.store.Ref(ptr + 316 + 4 + 36 + 0, undefined); 11626 A.store.Bool(ptr + 316 + 4 + 36 + 8, false); 11627 A.store.Int32(ptr + 316 + 4 + 36 + 4, 0); 11628 } else { 11629 A.store.Bool(ptr + 316 + 4 + 46, true); 11630 11631 if (typeof x["ProxySettings"]["Manual"]["HTTPProxy"] === "undefined") { 11632 A.store.Bool(ptr + 316 + 4 + 0 + 9, false); 11633 A.store.Ref(ptr + 316 + 4 + 0 + 0, undefined); 11634 A.store.Bool(ptr + 316 + 4 + 0 + 8, false); 11635 A.store.Int32(ptr + 316 + 4 + 0 + 4, 0); 11636 } else { 11637 A.store.Bool(ptr + 316 + 4 + 0 + 9, true); 11638 A.store.Ref(ptr + 316 + 4 + 0 + 0, x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"]); 11639 A.store.Bool(ptr + 316 + 4 + 0 + 8, "Port" in x["ProxySettings"]["Manual"]["HTTPProxy"] ? true : false); 11640 A.store.Int32( 11641 ptr + 316 + 4 + 0 + 4, 11642 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"] === undefined 11643 ? 0 11644 : (x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"] as number) 11645 ); 11646 } 11647 11648 if (typeof x["ProxySettings"]["Manual"]["SecureHTTPProxy"] === "undefined") { 11649 A.store.Bool(ptr + 316 + 4 + 12 + 9, false); 11650 A.store.Ref(ptr + 316 + 4 + 12 + 0, undefined); 11651 A.store.Bool(ptr + 316 + 4 + 12 + 8, false); 11652 A.store.Int32(ptr + 316 + 4 + 12 + 4, 0); 11653 } else { 11654 A.store.Bool(ptr + 316 + 4 + 12 + 9, true); 11655 A.store.Ref(ptr + 316 + 4 + 12 + 0, x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"]); 11656 A.store.Bool( 11657 ptr + 316 + 4 + 12 + 8, 11658 "Port" in x["ProxySettings"]["Manual"]["SecureHTTPProxy"] ? true : false 11659 ); 11660 A.store.Int32( 11661 ptr + 316 + 4 + 12 + 4, 11662 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"] === undefined 11663 ? 0 11664 : (x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"] as number) 11665 ); 11666 } 11667 11668 if (typeof x["ProxySettings"]["Manual"]["FTPProxy"] === "undefined") { 11669 A.store.Bool(ptr + 316 + 4 + 24 + 9, false); 11670 A.store.Ref(ptr + 316 + 4 + 24 + 0, undefined); 11671 A.store.Bool(ptr + 316 + 4 + 24 + 8, false); 11672 A.store.Int32(ptr + 316 + 4 + 24 + 4, 0); 11673 } else { 11674 A.store.Bool(ptr + 316 + 4 + 24 + 9, true); 11675 A.store.Ref(ptr + 316 + 4 + 24 + 0, x["ProxySettings"]["Manual"]["FTPProxy"]["Host"]); 11676 A.store.Bool(ptr + 316 + 4 + 24 + 8, "Port" in x["ProxySettings"]["Manual"]["FTPProxy"] ? true : false); 11677 A.store.Int32( 11678 ptr + 316 + 4 + 24 + 4, 11679 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"] === undefined 11680 ? 0 11681 : (x["ProxySettings"]["Manual"]["FTPProxy"]["Port"] as number) 11682 ); 11683 } 11684 11685 if (typeof x["ProxySettings"]["Manual"]["SOCKS"] === "undefined") { 11686 A.store.Bool(ptr + 316 + 4 + 36 + 9, false); 11687 A.store.Ref(ptr + 316 + 4 + 36 + 0, undefined); 11688 A.store.Bool(ptr + 316 + 4 + 36 + 8, false); 11689 A.store.Int32(ptr + 316 + 4 + 36 + 4, 0); 11690 } else { 11691 A.store.Bool(ptr + 316 + 4 + 36 + 9, true); 11692 A.store.Ref(ptr + 316 + 4 + 36 + 0, x["ProxySettings"]["Manual"]["SOCKS"]["Host"]); 11693 A.store.Bool(ptr + 316 + 4 + 36 + 8, "Port" in x["ProxySettings"]["Manual"]["SOCKS"] ? true : false); 11694 A.store.Int32( 11695 ptr + 316 + 4 + 36 + 4, 11696 x["ProxySettings"]["Manual"]["SOCKS"]["Port"] === undefined 11697 ? 0 11698 : (x["ProxySettings"]["Manual"]["SOCKS"]["Port"] as number) 11699 ); 11700 } 11701 } 11702 A.store.Ref(ptr + 316 + 52, x["ProxySettings"]["ExcludeDomains"]); 11703 A.store.Ref(ptr + 316 + 56, x["ProxySettings"]["PAC"]); 11704 } 11705 A.store.Bool(ptr + 670, "RestrictedConnectivity" in x ? true : false); 11706 A.store.Bool(ptr + 377, x["RestrictedConnectivity"] ? true : false); 11707 11708 if (typeof x["StaticIPConfig"] === "undefined") { 11709 A.store.Bool(ptr + 380 + 37, false); 11710 A.store.Ref(ptr + 380 + 0, undefined); 11711 A.store.Ref(ptr + 380 + 4, undefined); 11712 A.store.Ref(ptr + 380 + 8, undefined); 11713 A.store.Ref(ptr + 380 + 12, undefined); 11714 A.store.Ref(ptr + 380 + 16, undefined); 11715 A.store.Ref(ptr + 380 + 20, undefined); 11716 A.store.Bool(ptr + 380 + 36, false); 11717 A.store.Int32(ptr + 380 + 24, 0); 11718 A.store.Ref(ptr + 380 + 28, undefined); 11719 A.store.Ref(ptr + 380 + 32, undefined); 11720 } else { 11721 A.store.Bool(ptr + 380 + 37, true); 11722 A.store.Ref(ptr + 380 + 0, x["StaticIPConfig"]["Gateway"]); 11723 A.store.Ref(ptr + 380 + 4, x["StaticIPConfig"]["IPAddress"]); 11724 A.store.Ref(ptr + 380 + 8, x["StaticIPConfig"]["ExcludedRoutes"]); 11725 A.store.Ref(ptr + 380 + 12, x["StaticIPConfig"]["IncludedRoutes"]); 11726 A.store.Ref(ptr + 380 + 16, x["StaticIPConfig"]["NameServers"]); 11727 A.store.Ref(ptr + 380 + 20, x["StaticIPConfig"]["SearchDomains"]); 11728 A.store.Bool(ptr + 380 + 36, "RoutingPrefix" in x["StaticIPConfig"] ? true : false); 11729 A.store.Int32( 11730 ptr + 380 + 24, 11731 x["StaticIPConfig"]["RoutingPrefix"] === undefined ? 0 : (x["StaticIPConfig"]["RoutingPrefix"] as number) 11732 ); 11733 A.store.Ref(ptr + 380 + 28, x["StaticIPConfig"]["Type"]); 11734 A.store.Ref(ptr + 380 + 32, x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"]); 11735 } 11736 11737 if (typeof x["SavedIPConfig"] === "undefined") { 11738 A.store.Bool(ptr + 420 + 37, false); 11739 A.store.Ref(ptr + 420 + 0, undefined); 11740 A.store.Ref(ptr + 420 + 4, undefined); 11741 A.store.Ref(ptr + 420 + 8, undefined); 11742 A.store.Ref(ptr + 420 + 12, undefined); 11743 A.store.Ref(ptr + 420 + 16, undefined); 11744 A.store.Ref(ptr + 420 + 20, undefined); 11745 A.store.Bool(ptr + 420 + 36, false); 11746 A.store.Int32(ptr + 420 + 24, 0); 11747 A.store.Ref(ptr + 420 + 28, undefined); 11748 A.store.Ref(ptr + 420 + 32, undefined); 11749 } else { 11750 A.store.Bool(ptr + 420 + 37, true); 11751 A.store.Ref(ptr + 420 + 0, x["SavedIPConfig"]["Gateway"]); 11752 A.store.Ref(ptr + 420 + 4, x["SavedIPConfig"]["IPAddress"]); 11753 A.store.Ref(ptr + 420 + 8, x["SavedIPConfig"]["ExcludedRoutes"]); 11754 A.store.Ref(ptr + 420 + 12, x["SavedIPConfig"]["IncludedRoutes"]); 11755 A.store.Ref(ptr + 420 + 16, x["SavedIPConfig"]["NameServers"]); 11756 A.store.Ref(ptr + 420 + 20, x["SavedIPConfig"]["SearchDomains"]); 11757 A.store.Bool(ptr + 420 + 36, "RoutingPrefix" in x["SavedIPConfig"] ? true : false); 11758 A.store.Int32( 11759 ptr + 420 + 24, 11760 x["SavedIPConfig"]["RoutingPrefix"] === undefined ? 0 : (x["SavedIPConfig"]["RoutingPrefix"] as number) 11761 ); 11762 A.store.Ref(ptr + 420 + 28, x["SavedIPConfig"]["Type"]); 11763 A.store.Ref(ptr + 420 + 32, x["SavedIPConfig"]["WebProxyAutoDiscoveryUrl"]); 11764 } 11765 A.store.Ref(ptr + 460, x["Source"]); 11766 A.store.Enum( 11767 ptr + 464, 11768 ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"].indexOf(x["Type"] as string) 11769 ); 11770 11771 if (typeof x["VPN"] === "undefined") { 11772 A.store.Bool(ptr + 468 + 13, false); 11773 A.store.Bool(ptr + 468 + 12, false); 11774 A.store.Bool(ptr + 468 + 0, false); 11775 A.store.Ref(ptr + 468 + 4, undefined); 11776 A.store.Ref(ptr + 468 + 8, undefined); 11777 } else { 11778 A.store.Bool(ptr + 468 + 13, true); 11779 A.store.Bool(ptr + 468 + 12, "AutoConnect" in x["VPN"] ? true : false); 11780 A.store.Bool(ptr + 468 + 0, x["VPN"]["AutoConnect"] ? true : false); 11781 A.store.Ref(ptr + 468 + 4, x["VPN"]["Host"]); 11782 A.store.Ref(ptr + 468 + 8, x["VPN"]["Type"]); 11783 } 11784 11785 if (typeof x["WiFi"] === "undefined") { 11786 A.store.Bool(ptr + 484 + 182, false); 11787 A.store.Bool(ptr + 484 + 176, false); 11788 A.store.Bool(ptr + 484 + 0, false); 11789 A.store.Bool(ptr + 484 + 177, false); 11790 A.store.Bool(ptr + 484 + 1, false); 11791 A.store.Ref(ptr + 484 + 4, undefined); 11792 11793 A.store.Bool(ptr + 484 + 8 + 130, false); 11794 A.store.Ref(ptr + 484 + 8 + 0, undefined); 11795 11796 A.store.Bool(ptr + 484 + 8 + 4 + 45, false); 11797 A.store.Ref(ptr + 484 + 8 + 4 + 0, undefined); 11798 11799 A.store.Bool(ptr + 484 + 8 + 4 + 4 + 16, false); 11800 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 0, undefined); 11801 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 4, undefined); 11802 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 8, undefined); 11803 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 12, undefined); 11804 A.store.Ref(ptr + 484 + 8 + 4 + 24, undefined); 11805 11806 A.store.Bool(ptr + 484 + 8 + 4 + 28 + 16, false); 11807 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 0, undefined); 11808 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 4, undefined); 11809 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 8, undefined); 11810 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 12, undefined); 11811 A.store.Ref(ptr + 484 + 8 + 52, undefined); 11812 A.store.Ref(ptr + 484 + 8 + 56, undefined); 11813 A.store.Ref(ptr + 484 + 8 + 60, undefined); 11814 A.store.Enum(ptr + 484 + 8 + 64, -1); 11815 A.store.Ref(ptr + 484 + 8 + 68, undefined); 11816 A.store.Ref(ptr + 484 + 8 + 72, undefined); 11817 A.store.Ref(ptr + 484 + 8 + 76, undefined); 11818 A.store.Ref(ptr + 484 + 8 + 80, undefined); 11819 A.store.Bool(ptr + 484 + 8 + 127, false); 11820 A.store.Bool(ptr + 484 + 8 + 84, false); 11821 A.store.Ref(ptr + 484 + 8 + 88, undefined); 11822 A.store.Ref(ptr + 484 + 8 + 92, undefined); 11823 11824 A.store.Bool(ptr + 484 + 8 + 96 + 28, false); 11825 A.store.Ref(ptr + 484 + 8 + 96 + 0, undefined); 11826 A.store.Ref(ptr + 484 + 8 + 96 + 4, undefined); 11827 A.store.Ref(ptr + 484 + 8 + 96 + 8, undefined); 11828 A.store.Ref(ptr + 484 + 8 + 96 + 12, undefined); 11829 A.store.Ref(ptr + 484 + 8 + 96 + 16, undefined); 11830 A.store.Ref(ptr + 484 + 8 + 96 + 20, undefined); 11831 A.store.Bool(ptr + 484 + 8 + 96 + 26, false); 11832 A.store.Bool(ptr + 484 + 8 + 96 + 24, false); 11833 A.store.Bool(ptr + 484 + 8 + 96 + 27, false); 11834 A.store.Bool(ptr + 484 + 8 + 96 + 25, false); 11835 A.store.Bool(ptr + 484 + 8 + 128, false); 11836 A.store.Bool(ptr + 484 + 8 + 125, false); 11837 A.store.Bool(ptr + 484 + 8 + 129, false); 11838 A.store.Bool(ptr + 484 + 8 + 126, false); 11839 A.store.Bool(ptr + 484 + 178, false); 11840 A.store.Int32(ptr + 484 + 140, 0); 11841 A.store.Ref(ptr + 484 + 144, undefined); 11842 A.store.Ref(ptr + 484 + 148, undefined); 11843 A.store.Bool(ptr + 484 + 179, false); 11844 A.store.Bool(ptr + 484 + 152, false); 11845 A.store.Ref(ptr + 484 + 156, undefined); 11846 A.store.Bool(ptr + 484 + 180, false); 11847 A.store.Int32(ptr + 484 + 160, 0); 11848 A.store.Ref(ptr + 484 + 164, undefined); 11849 A.store.Ref(ptr + 484 + 168, undefined); 11850 A.store.Bool(ptr + 484 + 181, false); 11851 A.store.Int32(ptr + 484 + 172, 0); 11852 } else { 11853 A.store.Bool(ptr + 484 + 182, true); 11854 A.store.Bool(ptr + 484 + 176, "AllowGatewayARPPolling" in x["WiFi"] ? true : false); 11855 A.store.Bool(ptr + 484 + 0, x["WiFi"]["AllowGatewayARPPolling"] ? true : false); 11856 A.store.Bool(ptr + 484 + 177, "AutoConnect" in x["WiFi"] ? true : false); 11857 A.store.Bool(ptr + 484 + 1, x["WiFi"]["AutoConnect"] ? true : false); 11858 A.store.Ref(ptr + 484 + 4, x["WiFi"]["BSSID"]); 11859 11860 if (typeof x["WiFi"]["EAP"] === "undefined") { 11861 A.store.Bool(ptr + 484 + 8 + 130, false); 11862 A.store.Ref(ptr + 484 + 8 + 0, undefined); 11863 11864 A.store.Bool(ptr + 484 + 8 + 4 + 45, false); 11865 A.store.Ref(ptr + 484 + 8 + 4 + 0, undefined); 11866 11867 A.store.Bool(ptr + 484 + 8 + 4 + 4 + 16, false); 11868 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 0, undefined); 11869 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 4, undefined); 11870 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 8, undefined); 11871 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 12, undefined); 11872 A.store.Ref(ptr + 484 + 8 + 4 + 24, undefined); 11873 11874 A.store.Bool(ptr + 484 + 8 + 4 + 28 + 16, false); 11875 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 0, undefined); 11876 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 4, undefined); 11877 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 8, undefined); 11878 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 12, undefined); 11879 A.store.Ref(ptr + 484 + 8 + 52, undefined); 11880 A.store.Ref(ptr + 484 + 8 + 56, undefined); 11881 A.store.Ref(ptr + 484 + 8 + 60, undefined); 11882 A.store.Enum(ptr + 484 + 8 + 64, -1); 11883 A.store.Ref(ptr + 484 + 8 + 68, undefined); 11884 A.store.Ref(ptr + 484 + 8 + 72, undefined); 11885 A.store.Ref(ptr + 484 + 8 + 76, undefined); 11886 A.store.Ref(ptr + 484 + 8 + 80, undefined); 11887 A.store.Bool(ptr + 484 + 8 + 127, false); 11888 A.store.Bool(ptr + 484 + 8 + 84, false); 11889 A.store.Ref(ptr + 484 + 8 + 88, undefined); 11890 A.store.Ref(ptr + 484 + 8 + 92, undefined); 11891 11892 A.store.Bool(ptr + 484 + 8 + 96 + 28, false); 11893 A.store.Ref(ptr + 484 + 8 + 96 + 0, undefined); 11894 A.store.Ref(ptr + 484 + 8 + 96 + 4, undefined); 11895 A.store.Ref(ptr + 484 + 8 + 96 + 8, undefined); 11896 A.store.Ref(ptr + 484 + 8 + 96 + 12, undefined); 11897 A.store.Ref(ptr + 484 + 8 + 96 + 16, undefined); 11898 A.store.Ref(ptr + 484 + 8 + 96 + 20, undefined); 11899 A.store.Bool(ptr + 484 + 8 + 96 + 26, false); 11900 A.store.Bool(ptr + 484 + 8 + 96 + 24, false); 11901 A.store.Bool(ptr + 484 + 8 + 96 + 27, false); 11902 A.store.Bool(ptr + 484 + 8 + 96 + 25, false); 11903 A.store.Bool(ptr + 484 + 8 + 128, false); 11904 A.store.Bool(ptr + 484 + 8 + 125, false); 11905 A.store.Bool(ptr + 484 + 8 + 129, false); 11906 A.store.Bool(ptr + 484 + 8 + 126, false); 11907 } else { 11908 A.store.Bool(ptr + 484 + 8 + 130, true); 11909 A.store.Ref(ptr + 484 + 8 + 0, x["WiFi"]["EAP"]["AnonymousIdentity"]); 11910 11911 if (typeof x["WiFi"]["EAP"]["ClientCertPattern"] === "undefined") { 11912 A.store.Bool(ptr + 484 + 8 + 4 + 45, false); 11913 A.store.Ref(ptr + 484 + 8 + 4 + 0, undefined); 11914 11915 A.store.Bool(ptr + 484 + 8 + 4 + 4 + 16, false); 11916 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 0, undefined); 11917 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 4, undefined); 11918 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 8, undefined); 11919 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 12, undefined); 11920 A.store.Ref(ptr + 484 + 8 + 4 + 24, undefined); 11921 11922 A.store.Bool(ptr + 484 + 8 + 4 + 28 + 16, false); 11923 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 0, undefined); 11924 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 4, undefined); 11925 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 8, undefined); 11926 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 12, undefined); 11927 } else { 11928 A.store.Bool(ptr + 484 + 8 + 4 + 45, true); 11929 A.store.Ref(ptr + 484 + 8 + 4 + 0, x["WiFi"]["EAP"]["ClientCertPattern"]["EnrollmentURI"]); 11930 11931 if (typeof x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"] === "undefined") { 11932 A.store.Bool(ptr + 484 + 8 + 4 + 4 + 16, false); 11933 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 0, undefined); 11934 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 4, undefined); 11935 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 8, undefined); 11936 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 12, undefined); 11937 } else { 11938 A.store.Bool(ptr + 484 + 8 + 4 + 4 + 16, true); 11939 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 0, x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"]); 11940 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 4, x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"]); 11941 A.store.Ref(ptr + 484 + 8 + 4 + 4 + 8, x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"]); 11942 A.store.Ref( 11943 ptr + 484 + 8 + 4 + 4 + 12, 11944 x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] 11945 ); 11946 } 11947 A.store.Ref(ptr + 484 + 8 + 4 + 24, x["WiFi"]["EAP"]["ClientCertPattern"]["IssuerCARef"]); 11948 11949 if (typeof x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"] === "undefined") { 11950 A.store.Bool(ptr + 484 + 8 + 4 + 28 + 16, false); 11951 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 0, undefined); 11952 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 4, undefined); 11953 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 8, undefined); 11954 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 12, undefined); 11955 } else { 11956 A.store.Bool(ptr + 484 + 8 + 4 + 28 + 16, true); 11957 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 0, x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"]); 11958 A.store.Ref(ptr + 484 + 8 + 4 + 28 + 4, x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"]); 11959 A.store.Ref( 11960 ptr + 484 + 8 + 4 + 28 + 8, 11961 x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] 11962 ); 11963 A.store.Ref( 11964 ptr + 484 + 8 + 4 + 28 + 12, 11965 x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] 11966 ); 11967 } 11968 } 11969 A.store.Ref(ptr + 484 + 8 + 52, x["WiFi"]["EAP"]["ClientCertPKCS11Id"]); 11970 A.store.Ref(ptr + 484 + 8 + 56, x["WiFi"]["EAP"]["ClientCertProvisioningProfileId"]); 11971 A.store.Ref(ptr + 484 + 8 + 60, x["WiFi"]["EAP"]["ClientCertRef"]); 11972 A.store.Enum(ptr + 484 + 8 + 64, ["Ref", "Pattern"].indexOf(x["WiFi"]["EAP"]["ClientCertType"] as string)); 11973 A.store.Ref(ptr + 484 + 8 + 68, x["WiFi"]["EAP"]["Identity"]); 11974 A.store.Ref(ptr + 484 + 8 + 72, x["WiFi"]["EAP"]["Inner"]); 11975 A.store.Ref(ptr + 484 + 8 + 76, x["WiFi"]["EAP"]["Outer"]); 11976 A.store.Ref(ptr + 484 + 8 + 80, x["WiFi"]["EAP"]["Password"]); 11977 A.store.Bool(ptr + 484 + 8 + 127, "SaveCredentials" in x["WiFi"]["EAP"] ? true : false); 11978 A.store.Bool(ptr + 484 + 8 + 84, x["WiFi"]["EAP"]["SaveCredentials"] ? true : false); 11979 A.store.Ref(ptr + 484 + 8 + 88, x["WiFi"]["EAP"]["ServerCAPEMs"]); 11980 A.store.Ref(ptr + 484 + 8 + 92, x["WiFi"]["EAP"]["ServerCARefs"]); 11981 11982 if (typeof x["WiFi"]["EAP"]["SubjectMatch"] === "undefined") { 11983 A.store.Bool(ptr + 484 + 8 + 96 + 28, false); 11984 A.store.Ref(ptr + 484 + 8 + 96 + 0, undefined); 11985 A.store.Ref(ptr + 484 + 8 + 96 + 4, undefined); 11986 A.store.Ref(ptr + 484 + 8 + 96 + 8, undefined); 11987 A.store.Ref(ptr + 484 + 8 + 96 + 12, undefined); 11988 A.store.Ref(ptr + 484 + 8 + 96 + 16, undefined); 11989 A.store.Ref(ptr + 484 + 8 + 96 + 20, undefined); 11990 A.store.Bool(ptr + 484 + 8 + 96 + 26, false); 11991 A.store.Bool(ptr + 484 + 8 + 96 + 24, false); 11992 A.store.Bool(ptr + 484 + 8 + 96 + 27, false); 11993 A.store.Bool(ptr + 484 + 8 + 96 + 25, false); 11994 } else { 11995 A.store.Bool(ptr + 484 + 8 + 96 + 28, true); 11996 A.store.Ref(ptr + 484 + 8 + 96 + 0, x["WiFi"]["EAP"]["SubjectMatch"]["Active"]); 11997 A.store.Ref(ptr + 484 + 8 + 96 + 4, x["WiFi"]["EAP"]["SubjectMatch"]["Effective"]); 11998 A.store.Ref(ptr + 484 + 8 + 96 + 8, x["WiFi"]["EAP"]["SubjectMatch"]["UserPolicy"]); 11999 A.store.Ref(ptr + 484 + 8 + 96 + 12, x["WiFi"]["EAP"]["SubjectMatch"]["DevicePolicy"]); 12000 A.store.Ref(ptr + 484 + 8 + 96 + 16, x["WiFi"]["EAP"]["SubjectMatch"]["UserSetting"]); 12001 A.store.Ref(ptr + 484 + 8 + 96 + 20, x["WiFi"]["EAP"]["SubjectMatch"]["SharedSetting"]); 12002 A.store.Bool(ptr + 484 + 8 + 96 + 26, "UserEditable" in x["WiFi"]["EAP"]["SubjectMatch"] ? true : false); 12003 A.store.Bool(ptr + 484 + 8 + 96 + 24, x["WiFi"]["EAP"]["SubjectMatch"]["UserEditable"] ? true : false); 12004 A.store.Bool( 12005 ptr + 484 + 8 + 96 + 27, 12006 "DeviceEditable" in x["WiFi"]["EAP"]["SubjectMatch"] ? true : false 12007 ); 12008 A.store.Bool(ptr + 484 + 8 + 96 + 25, x["WiFi"]["EAP"]["SubjectMatch"]["DeviceEditable"] ? true : false); 12009 } 12010 A.store.Bool(ptr + 484 + 8 + 128, "UseProactiveKeyCaching" in x["WiFi"]["EAP"] ? true : false); 12011 A.store.Bool(ptr + 484 + 8 + 125, x["WiFi"]["EAP"]["UseProactiveKeyCaching"] ? true : false); 12012 A.store.Bool(ptr + 484 + 8 + 129, "UseSystemCAs" in x["WiFi"]["EAP"] ? true : false); 12013 A.store.Bool(ptr + 484 + 8 + 126, x["WiFi"]["EAP"]["UseSystemCAs"] ? true : false); 12014 } 12015 A.store.Bool(ptr + 484 + 178, "Frequency" in x["WiFi"] ? true : false); 12016 A.store.Int32(ptr + 484 + 140, x["WiFi"]["Frequency"] === undefined ? 0 : (x["WiFi"]["Frequency"] as number)); 12017 A.store.Ref(ptr + 484 + 144, x["WiFi"]["FrequencyList"]); 12018 A.store.Ref(ptr + 484 + 148, x["WiFi"]["HexSSID"]); 12019 A.store.Bool(ptr + 484 + 179, "HiddenSSID" in x["WiFi"] ? true : false); 12020 A.store.Bool(ptr + 484 + 152, x["WiFi"]["HiddenSSID"] ? true : false); 12021 A.store.Ref(ptr + 484 + 156, x["WiFi"]["Passphrase"]); 12022 A.store.Bool(ptr + 484 + 180, "RoamThreshold" in x["WiFi"] ? true : false); 12023 A.store.Int32( 12024 ptr + 484 + 160, 12025 x["WiFi"]["RoamThreshold"] === undefined ? 0 : (x["WiFi"]["RoamThreshold"] as number) 12026 ); 12027 A.store.Ref(ptr + 484 + 164, x["WiFi"]["SSID"]); 12028 A.store.Ref(ptr + 484 + 168, x["WiFi"]["Security"]); 12029 A.store.Bool(ptr + 484 + 181, "SignalStrength" in x["WiFi"] ? true : false); 12030 A.store.Int32( 12031 ptr + 484 + 172, 12032 x["WiFi"]["SignalStrength"] === undefined ? 0 : (x["WiFi"]["SignalStrength"] as number) 12033 ); 12034 } 12035 } 12036 }, 12037 "load_NetworkProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 12038 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 12039 12040 if (A.load.Bool(ptr + 0 + 127)) { 12041 x["Cellular"] = {}; 12042 if (A.load.Bool(ptr + 0 + 121)) { 12043 x["Cellular"]["AutoConnect"] = A.load.Bool(ptr + 0 + 0); 12044 } else { 12045 delete x["Cellular"]["AutoConnect"]; 12046 } 12047 x["Cellular"]["ActivationType"] = A.load.Ref(ptr + 0 + 4, undefined); 12048 x["Cellular"]["ActivationState"] = A.load.Enum(ptr + 0 + 8, [ 12049 "Activated", 12050 "Activating", 12051 "NotActivated", 12052 "PartiallyActivated", 12053 ]); 12054 if (A.load.Bool(ptr + 0 + 122)) { 12055 x["Cellular"]["AllowRoaming"] = A.load.Bool(ptr + 0 + 12); 12056 } else { 12057 delete x["Cellular"]["AllowRoaming"]; 12058 } 12059 x["Cellular"]["Family"] = A.load.Ref(ptr + 0 + 16, undefined); 12060 x["Cellular"]["FirmwareRevision"] = A.load.Ref(ptr + 0 + 20, undefined); 12061 x["Cellular"]["FoundNetworks"] = A.load.Ref(ptr + 0 + 24, undefined); 12062 x["Cellular"]["HardwareRevision"] = A.load.Ref(ptr + 0 + 28, undefined); 12063 if (A.load.Bool(ptr + 0 + 32 + 12)) { 12064 x["Cellular"]["HomeProvider"] = {}; 12065 x["Cellular"]["HomeProvider"]["Name"] = A.load.Ref(ptr + 0 + 32 + 0, undefined); 12066 x["Cellular"]["HomeProvider"]["Code"] = A.load.Ref(ptr + 0 + 32 + 4, undefined); 12067 x["Cellular"]["HomeProvider"]["Country"] = A.load.Ref(ptr + 0 + 32 + 8, undefined); 12068 } else { 12069 delete x["Cellular"]["HomeProvider"]; 12070 } 12071 x["Cellular"]["Manufacturer"] = A.load.Ref(ptr + 0 + 48, undefined); 12072 x["Cellular"]["ModelID"] = A.load.Ref(ptr + 0 + 52, undefined); 12073 x["Cellular"]["NetworkTechnology"] = A.load.Ref(ptr + 0 + 56, undefined); 12074 if (A.load.Bool(ptr + 0 + 60 + 12)) { 12075 x["Cellular"]["PaymentPortal"] = {}; 12076 x["Cellular"]["PaymentPortal"]["Method"] = A.load.Ref(ptr + 0 + 60 + 0, undefined); 12077 x["Cellular"]["PaymentPortal"]["PostData"] = A.load.Ref(ptr + 0 + 60 + 4, undefined); 12078 x["Cellular"]["PaymentPortal"]["Url"] = A.load.Ref(ptr + 0 + 60 + 8, undefined); 12079 } else { 12080 delete x["Cellular"]["PaymentPortal"]; 12081 } 12082 x["Cellular"]["RoamingState"] = A.load.Ref(ptr + 0 + 76, undefined); 12083 if (A.load.Bool(ptr + 0 + 123)) { 12084 x["Cellular"]["Scanning"] = A.load.Bool(ptr + 0 + 80); 12085 } else { 12086 delete x["Cellular"]["Scanning"]; 12087 } 12088 if (A.load.Bool(ptr + 0 + 84 + 12)) { 12089 x["Cellular"]["ServingOperator"] = {}; 12090 x["Cellular"]["ServingOperator"]["Name"] = A.load.Ref(ptr + 0 + 84 + 0, undefined); 12091 x["Cellular"]["ServingOperator"]["Code"] = A.load.Ref(ptr + 0 + 84 + 4, undefined); 12092 x["Cellular"]["ServingOperator"]["Country"] = A.load.Ref(ptr + 0 + 84 + 8, undefined); 12093 } else { 12094 delete x["Cellular"]["ServingOperator"]; 12095 } 12096 if (A.load.Bool(ptr + 0 + 100 + 14)) { 12097 x["Cellular"]["SIMLockStatus"] = {}; 12098 x["Cellular"]["SIMLockStatus"]["LockType"] = A.load.Ref(ptr + 0 + 100 + 0, undefined); 12099 if (A.load.Bool(ptr + 0 + 100 + 12)) { 12100 x["Cellular"]["SIMLockStatus"]["LockEnabled"] = A.load.Bool(ptr + 0 + 100 + 4); 12101 } else { 12102 delete x["Cellular"]["SIMLockStatus"]["LockEnabled"]; 12103 } 12104 if (A.load.Bool(ptr + 0 + 100 + 13)) { 12105 x["Cellular"]["SIMLockStatus"]["RetriesLeft"] = A.load.Int32(ptr + 0 + 100 + 8); 12106 } else { 12107 delete x["Cellular"]["SIMLockStatus"]["RetriesLeft"]; 12108 } 12109 } else { 12110 delete x["Cellular"]["SIMLockStatus"]; 12111 } 12112 if (A.load.Bool(ptr + 0 + 124)) { 12113 x["Cellular"]["SIMPresent"] = A.load.Bool(ptr + 0 + 115); 12114 } else { 12115 delete x["Cellular"]["SIMPresent"]; 12116 } 12117 if (A.load.Bool(ptr + 0 + 125)) { 12118 x["Cellular"]["SignalStrength"] = A.load.Int32(ptr + 0 + 116); 12119 } else { 12120 delete x["Cellular"]["SignalStrength"]; 12121 } 12122 if (A.load.Bool(ptr + 0 + 126)) { 12123 x["Cellular"]["SupportNetworkScan"] = A.load.Bool(ptr + 0 + 120); 12124 } else { 12125 delete x["Cellular"]["SupportNetworkScan"]; 12126 } 12127 } else { 12128 delete x["Cellular"]; 12129 } 12130 if (A.load.Bool(ptr + 667)) { 12131 x["Connectable"] = A.load.Bool(ptr + 128); 12132 } else { 12133 delete x["Connectable"]; 12134 } 12135 x["ConnectionState"] = A.load.Enum(ptr + 132, ["Connected", "Connecting", "NotConnected"]); 12136 x["ErrorState"] = A.load.Ref(ptr + 136, undefined); 12137 if (A.load.Bool(ptr + 140 + 140)) { 12138 x["Ethernet"] = {}; 12139 if (A.load.Bool(ptr + 140 + 139)) { 12140 x["Ethernet"]["AutoConnect"] = A.load.Bool(ptr + 140 + 0); 12141 } else { 12142 delete x["Ethernet"]["AutoConnect"]; 12143 } 12144 x["Ethernet"]["Authentication"] = A.load.Ref(ptr + 140 + 4, undefined); 12145 if (A.load.Bool(ptr + 140 + 8 + 130)) { 12146 x["Ethernet"]["EAP"] = {}; 12147 x["Ethernet"]["EAP"]["AnonymousIdentity"] = A.load.Ref(ptr + 140 + 8 + 0, undefined); 12148 if (A.load.Bool(ptr + 140 + 8 + 4 + 45)) { 12149 x["Ethernet"]["EAP"]["ClientCertPattern"] = {}; 12150 x["Ethernet"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref(ptr + 140 + 8 + 4 + 0, undefined); 12151 if (A.load.Bool(ptr + 140 + 8 + 4 + 4 + 16)) { 12152 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 12153 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 12154 ptr + 140 + 8 + 4 + 4 + 0, 12155 undefined 12156 ); 12157 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 12158 ptr + 140 + 8 + 4 + 4 + 4, 12159 undefined 12160 ); 12161 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 12162 ptr + 140 + 8 + 4 + 4 + 8, 12163 undefined 12164 ); 12165 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 12166 ptr + 140 + 8 + 4 + 4 + 12, 12167 undefined 12168 ); 12169 } else { 12170 delete x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]; 12171 } 12172 x["Ethernet"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref(ptr + 140 + 8 + 4 + 24, undefined); 12173 if (A.load.Bool(ptr + 140 + 8 + 4 + 28 + 16)) { 12174 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 12175 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 12176 ptr + 140 + 8 + 4 + 28 + 0, 12177 undefined 12178 ); 12179 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 12180 ptr + 140 + 8 + 4 + 28 + 4, 12181 undefined 12182 ); 12183 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 12184 ptr + 140 + 8 + 4 + 28 + 8, 12185 undefined 12186 ); 12187 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 12188 ptr + 140 + 8 + 4 + 28 + 12, 12189 undefined 12190 ); 12191 } else { 12192 delete x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]; 12193 } 12194 } else { 12195 delete x["Ethernet"]["EAP"]["ClientCertPattern"]; 12196 } 12197 x["Ethernet"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(ptr + 140 + 8 + 52, undefined); 12198 x["Ethernet"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref(ptr + 140 + 8 + 56, undefined); 12199 x["Ethernet"]["EAP"]["ClientCertRef"] = A.load.Ref(ptr + 140 + 8 + 60, undefined); 12200 x["Ethernet"]["EAP"]["ClientCertType"] = A.load.Enum(ptr + 140 + 8 + 64, ["Ref", "Pattern"]); 12201 x["Ethernet"]["EAP"]["Identity"] = A.load.Ref(ptr + 140 + 8 + 68, undefined); 12202 x["Ethernet"]["EAP"]["Inner"] = A.load.Ref(ptr + 140 + 8 + 72, undefined); 12203 x["Ethernet"]["EAP"]["Outer"] = A.load.Ref(ptr + 140 + 8 + 76, undefined); 12204 x["Ethernet"]["EAP"]["Password"] = A.load.Ref(ptr + 140 + 8 + 80, undefined); 12205 if (A.load.Bool(ptr + 140 + 8 + 127)) { 12206 x["Ethernet"]["EAP"]["SaveCredentials"] = A.load.Bool(ptr + 140 + 8 + 84); 12207 } else { 12208 delete x["Ethernet"]["EAP"]["SaveCredentials"]; 12209 } 12210 x["Ethernet"]["EAP"]["ServerCAPEMs"] = A.load.Ref(ptr + 140 + 8 + 88, undefined); 12211 x["Ethernet"]["EAP"]["ServerCARefs"] = A.load.Ref(ptr + 140 + 8 + 92, undefined); 12212 if (A.load.Bool(ptr + 140 + 8 + 96 + 28)) { 12213 x["Ethernet"]["EAP"]["SubjectMatch"] = {}; 12214 x["Ethernet"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref(ptr + 140 + 8 + 96 + 0, undefined); 12215 x["Ethernet"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref(ptr + 140 + 8 + 96 + 4, undefined); 12216 x["Ethernet"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref(ptr + 140 + 8 + 96 + 8, undefined); 12217 x["Ethernet"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref(ptr + 140 + 8 + 96 + 12, undefined); 12218 x["Ethernet"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref(ptr + 140 + 8 + 96 + 16, undefined); 12219 x["Ethernet"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref(ptr + 140 + 8 + 96 + 20, undefined); 12220 if (A.load.Bool(ptr + 140 + 8 + 96 + 26)) { 12221 x["Ethernet"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool(ptr + 140 + 8 + 96 + 24); 12222 } else { 12223 delete x["Ethernet"]["EAP"]["SubjectMatch"]["UserEditable"]; 12224 } 12225 if (A.load.Bool(ptr + 140 + 8 + 96 + 27)) { 12226 x["Ethernet"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool(ptr + 140 + 8 + 96 + 25); 12227 } else { 12228 delete x["Ethernet"]["EAP"]["SubjectMatch"]["DeviceEditable"]; 12229 } 12230 } else { 12231 delete x["Ethernet"]["EAP"]["SubjectMatch"]; 12232 } 12233 if (A.load.Bool(ptr + 140 + 8 + 128)) { 12234 x["Ethernet"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(ptr + 140 + 8 + 125); 12235 } else { 12236 delete x["Ethernet"]["EAP"]["UseProactiveKeyCaching"]; 12237 } 12238 if (A.load.Bool(ptr + 140 + 8 + 129)) { 12239 x["Ethernet"]["EAP"]["UseSystemCAs"] = A.load.Bool(ptr + 140 + 8 + 126); 12240 } else { 12241 delete x["Ethernet"]["EAP"]["UseSystemCAs"]; 12242 } 12243 } else { 12244 delete x["Ethernet"]["EAP"]; 12245 } 12246 } else { 12247 delete x["Ethernet"]; 12248 } 12249 x["GUID"] = A.load.Ref(ptr + 284, undefined); 12250 x["IPAddressConfigType"] = A.load.Enum(ptr + 288, ["DHCP", "Static"]); 12251 x["IPConfigs"] = A.load.Ref(ptr + 292, undefined); 12252 x["MacAddress"] = A.load.Ref(ptr + 296, undefined); 12253 if (A.load.Bool(ptr + 668)) { 12254 x["Metered"] = A.load.Bool(ptr + 300); 12255 } else { 12256 delete x["Metered"]; 12257 } 12258 x["Name"] = A.load.Ref(ptr + 304, undefined); 12259 x["NameServersConfigType"] = A.load.Enum(ptr + 308, ["DHCP", "Static"]); 12260 if (A.load.Bool(ptr + 669)) { 12261 x["Priority"] = A.load.Int32(ptr + 312); 12262 } else { 12263 delete x["Priority"]; 12264 } 12265 if (A.load.Bool(ptr + 316 + 60)) { 12266 x["ProxySettings"] = {}; 12267 x["ProxySettings"]["Type"] = A.load.Enum(ptr + 316 + 0, ["Direct", "Manual", "PAC", "WPAD"]); 12268 if (A.load.Bool(ptr + 316 + 4 + 46)) { 12269 x["ProxySettings"]["Manual"] = {}; 12270 if (A.load.Bool(ptr + 316 + 4 + 0 + 9)) { 12271 x["ProxySettings"]["Manual"]["HTTPProxy"] = {}; 12272 x["ProxySettings"]["Manual"]["HTTPProxy"]["Host"] = A.load.Ref(ptr + 316 + 4 + 0 + 0, undefined); 12273 if (A.load.Bool(ptr + 316 + 4 + 0 + 8)) { 12274 x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"] = A.load.Int32(ptr + 316 + 4 + 0 + 4); 12275 } else { 12276 delete x["ProxySettings"]["Manual"]["HTTPProxy"]["Port"]; 12277 } 12278 } else { 12279 delete x["ProxySettings"]["Manual"]["HTTPProxy"]; 12280 } 12281 if (A.load.Bool(ptr + 316 + 4 + 12 + 9)) { 12282 x["ProxySettings"]["Manual"]["SecureHTTPProxy"] = {}; 12283 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Host"] = A.load.Ref(ptr + 316 + 4 + 12 + 0, undefined); 12284 if (A.load.Bool(ptr + 316 + 4 + 12 + 8)) { 12285 x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"] = A.load.Int32(ptr + 316 + 4 + 12 + 4); 12286 } else { 12287 delete x["ProxySettings"]["Manual"]["SecureHTTPProxy"]["Port"]; 12288 } 12289 } else { 12290 delete x["ProxySettings"]["Manual"]["SecureHTTPProxy"]; 12291 } 12292 if (A.load.Bool(ptr + 316 + 4 + 24 + 9)) { 12293 x["ProxySettings"]["Manual"]["FTPProxy"] = {}; 12294 x["ProxySettings"]["Manual"]["FTPProxy"]["Host"] = A.load.Ref(ptr + 316 + 4 + 24 + 0, undefined); 12295 if (A.load.Bool(ptr + 316 + 4 + 24 + 8)) { 12296 x["ProxySettings"]["Manual"]["FTPProxy"]["Port"] = A.load.Int32(ptr + 316 + 4 + 24 + 4); 12297 } else { 12298 delete x["ProxySettings"]["Manual"]["FTPProxy"]["Port"]; 12299 } 12300 } else { 12301 delete x["ProxySettings"]["Manual"]["FTPProxy"]; 12302 } 12303 if (A.load.Bool(ptr + 316 + 4 + 36 + 9)) { 12304 x["ProxySettings"]["Manual"]["SOCKS"] = {}; 12305 x["ProxySettings"]["Manual"]["SOCKS"]["Host"] = A.load.Ref(ptr + 316 + 4 + 36 + 0, undefined); 12306 if (A.load.Bool(ptr + 316 + 4 + 36 + 8)) { 12307 x["ProxySettings"]["Manual"]["SOCKS"]["Port"] = A.load.Int32(ptr + 316 + 4 + 36 + 4); 12308 } else { 12309 delete x["ProxySettings"]["Manual"]["SOCKS"]["Port"]; 12310 } 12311 } else { 12312 delete x["ProxySettings"]["Manual"]["SOCKS"]; 12313 } 12314 } else { 12315 delete x["ProxySettings"]["Manual"]; 12316 } 12317 x["ProxySettings"]["ExcludeDomains"] = A.load.Ref(ptr + 316 + 52, undefined); 12318 x["ProxySettings"]["PAC"] = A.load.Ref(ptr + 316 + 56, undefined); 12319 } else { 12320 delete x["ProxySettings"]; 12321 } 12322 if (A.load.Bool(ptr + 670)) { 12323 x["RestrictedConnectivity"] = A.load.Bool(ptr + 377); 12324 } else { 12325 delete x["RestrictedConnectivity"]; 12326 } 12327 if (A.load.Bool(ptr + 380 + 37)) { 12328 x["StaticIPConfig"] = {}; 12329 x["StaticIPConfig"]["Gateway"] = A.load.Ref(ptr + 380 + 0, undefined); 12330 x["StaticIPConfig"]["IPAddress"] = A.load.Ref(ptr + 380 + 4, undefined); 12331 x["StaticIPConfig"]["ExcludedRoutes"] = A.load.Ref(ptr + 380 + 8, undefined); 12332 x["StaticIPConfig"]["IncludedRoutes"] = A.load.Ref(ptr + 380 + 12, undefined); 12333 x["StaticIPConfig"]["NameServers"] = A.load.Ref(ptr + 380 + 16, undefined); 12334 x["StaticIPConfig"]["SearchDomains"] = A.load.Ref(ptr + 380 + 20, undefined); 12335 if (A.load.Bool(ptr + 380 + 36)) { 12336 x["StaticIPConfig"]["RoutingPrefix"] = A.load.Int32(ptr + 380 + 24); 12337 } else { 12338 delete x["StaticIPConfig"]["RoutingPrefix"]; 12339 } 12340 x["StaticIPConfig"]["Type"] = A.load.Ref(ptr + 380 + 28, undefined); 12341 x["StaticIPConfig"]["WebProxyAutoDiscoveryUrl"] = A.load.Ref(ptr + 380 + 32, undefined); 12342 } else { 12343 delete x["StaticIPConfig"]; 12344 } 12345 if (A.load.Bool(ptr + 420 + 37)) { 12346 x["SavedIPConfig"] = {}; 12347 x["SavedIPConfig"]["Gateway"] = A.load.Ref(ptr + 420 + 0, undefined); 12348 x["SavedIPConfig"]["IPAddress"] = A.load.Ref(ptr + 420 + 4, undefined); 12349 x["SavedIPConfig"]["ExcludedRoutes"] = A.load.Ref(ptr + 420 + 8, undefined); 12350 x["SavedIPConfig"]["IncludedRoutes"] = A.load.Ref(ptr + 420 + 12, undefined); 12351 x["SavedIPConfig"]["NameServers"] = A.load.Ref(ptr + 420 + 16, undefined); 12352 x["SavedIPConfig"]["SearchDomains"] = A.load.Ref(ptr + 420 + 20, undefined); 12353 if (A.load.Bool(ptr + 420 + 36)) { 12354 x["SavedIPConfig"]["RoutingPrefix"] = A.load.Int32(ptr + 420 + 24); 12355 } else { 12356 delete x["SavedIPConfig"]["RoutingPrefix"]; 12357 } 12358 x["SavedIPConfig"]["Type"] = A.load.Ref(ptr + 420 + 28, undefined); 12359 x["SavedIPConfig"]["WebProxyAutoDiscoveryUrl"] = A.load.Ref(ptr + 420 + 32, undefined); 12360 } else { 12361 delete x["SavedIPConfig"]; 12362 } 12363 x["Source"] = A.load.Ref(ptr + 460, undefined); 12364 x["Type"] = A.load.Enum(ptr + 464, ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"]); 12365 if (A.load.Bool(ptr + 468 + 13)) { 12366 x["VPN"] = {}; 12367 if (A.load.Bool(ptr + 468 + 12)) { 12368 x["VPN"]["AutoConnect"] = A.load.Bool(ptr + 468 + 0); 12369 } else { 12370 delete x["VPN"]["AutoConnect"]; 12371 } 12372 x["VPN"]["Host"] = A.load.Ref(ptr + 468 + 4, undefined); 12373 x["VPN"]["Type"] = A.load.Ref(ptr + 468 + 8, undefined); 12374 } else { 12375 delete x["VPN"]; 12376 } 12377 if (A.load.Bool(ptr + 484 + 182)) { 12378 x["WiFi"] = {}; 12379 if (A.load.Bool(ptr + 484 + 176)) { 12380 x["WiFi"]["AllowGatewayARPPolling"] = A.load.Bool(ptr + 484 + 0); 12381 } else { 12382 delete x["WiFi"]["AllowGatewayARPPolling"]; 12383 } 12384 if (A.load.Bool(ptr + 484 + 177)) { 12385 x["WiFi"]["AutoConnect"] = A.load.Bool(ptr + 484 + 1); 12386 } else { 12387 delete x["WiFi"]["AutoConnect"]; 12388 } 12389 x["WiFi"]["BSSID"] = A.load.Ref(ptr + 484 + 4, undefined); 12390 if (A.load.Bool(ptr + 484 + 8 + 130)) { 12391 x["WiFi"]["EAP"] = {}; 12392 x["WiFi"]["EAP"]["AnonymousIdentity"] = A.load.Ref(ptr + 484 + 8 + 0, undefined); 12393 if (A.load.Bool(ptr + 484 + 8 + 4 + 45)) { 12394 x["WiFi"]["EAP"]["ClientCertPattern"] = {}; 12395 x["WiFi"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref(ptr + 484 + 8 + 4 + 0, undefined); 12396 if (A.load.Bool(ptr + 484 + 8 + 4 + 4 + 16)) { 12397 x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 12398 x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 12399 ptr + 484 + 8 + 4 + 4 + 0, 12400 undefined 12401 ); 12402 x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 12403 ptr + 484 + 8 + 4 + 4 + 4, 12404 undefined 12405 ); 12406 x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 12407 ptr + 484 + 8 + 4 + 4 + 8, 12408 undefined 12409 ); 12410 x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 12411 ptr + 484 + 8 + 4 + 4 + 12, 12412 undefined 12413 ); 12414 } else { 12415 delete x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]; 12416 } 12417 x["WiFi"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref(ptr + 484 + 8 + 4 + 24, undefined); 12418 if (A.load.Bool(ptr + 484 + 8 + 4 + 28 + 16)) { 12419 x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 12420 x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 12421 ptr + 484 + 8 + 4 + 28 + 0, 12422 undefined 12423 ); 12424 x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 12425 ptr + 484 + 8 + 4 + 28 + 4, 12426 undefined 12427 ); 12428 x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 12429 ptr + 484 + 8 + 4 + 28 + 8, 12430 undefined 12431 ); 12432 x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 12433 ptr + 484 + 8 + 4 + 28 + 12, 12434 undefined 12435 ); 12436 } else { 12437 delete x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]; 12438 } 12439 } else { 12440 delete x["WiFi"]["EAP"]["ClientCertPattern"]; 12441 } 12442 x["WiFi"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(ptr + 484 + 8 + 52, undefined); 12443 x["WiFi"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref(ptr + 484 + 8 + 56, undefined); 12444 x["WiFi"]["EAP"]["ClientCertRef"] = A.load.Ref(ptr + 484 + 8 + 60, undefined); 12445 x["WiFi"]["EAP"]["ClientCertType"] = A.load.Enum(ptr + 484 + 8 + 64, ["Ref", "Pattern"]); 12446 x["WiFi"]["EAP"]["Identity"] = A.load.Ref(ptr + 484 + 8 + 68, undefined); 12447 x["WiFi"]["EAP"]["Inner"] = A.load.Ref(ptr + 484 + 8 + 72, undefined); 12448 x["WiFi"]["EAP"]["Outer"] = A.load.Ref(ptr + 484 + 8 + 76, undefined); 12449 x["WiFi"]["EAP"]["Password"] = A.load.Ref(ptr + 484 + 8 + 80, undefined); 12450 if (A.load.Bool(ptr + 484 + 8 + 127)) { 12451 x["WiFi"]["EAP"]["SaveCredentials"] = A.load.Bool(ptr + 484 + 8 + 84); 12452 } else { 12453 delete x["WiFi"]["EAP"]["SaveCredentials"]; 12454 } 12455 x["WiFi"]["EAP"]["ServerCAPEMs"] = A.load.Ref(ptr + 484 + 8 + 88, undefined); 12456 x["WiFi"]["EAP"]["ServerCARefs"] = A.load.Ref(ptr + 484 + 8 + 92, undefined); 12457 if (A.load.Bool(ptr + 484 + 8 + 96 + 28)) { 12458 x["WiFi"]["EAP"]["SubjectMatch"] = {}; 12459 x["WiFi"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref(ptr + 484 + 8 + 96 + 0, undefined); 12460 x["WiFi"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref(ptr + 484 + 8 + 96 + 4, undefined); 12461 x["WiFi"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref(ptr + 484 + 8 + 96 + 8, undefined); 12462 x["WiFi"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref(ptr + 484 + 8 + 96 + 12, undefined); 12463 x["WiFi"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref(ptr + 484 + 8 + 96 + 16, undefined); 12464 x["WiFi"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref(ptr + 484 + 8 + 96 + 20, undefined); 12465 if (A.load.Bool(ptr + 484 + 8 + 96 + 26)) { 12466 x["WiFi"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool(ptr + 484 + 8 + 96 + 24); 12467 } else { 12468 delete x["WiFi"]["EAP"]["SubjectMatch"]["UserEditable"]; 12469 } 12470 if (A.load.Bool(ptr + 484 + 8 + 96 + 27)) { 12471 x["WiFi"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool(ptr + 484 + 8 + 96 + 25); 12472 } else { 12473 delete x["WiFi"]["EAP"]["SubjectMatch"]["DeviceEditable"]; 12474 } 12475 } else { 12476 delete x["WiFi"]["EAP"]["SubjectMatch"]; 12477 } 12478 if (A.load.Bool(ptr + 484 + 8 + 128)) { 12479 x["WiFi"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(ptr + 484 + 8 + 125); 12480 } else { 12481 delete x["WiFi"]["EAP"]["UseProactiveKeyCaching"]; 12482 } 12483 if (A.load.Bool(ptr + 484 + 8 + 129)) { 12484 x["WiFi"]["EAP"]["UseSystemCAs"] = A.load.Bool(ptr + 484 + 8 + 126); 12485 } else { 12486 delete x["WiFi"]["EAP"]["UseSystemCAs"]; 12487 } 12488 } else { 12489 delete x["WiFi"]["EAP"]; 12490 } 12491 if (A.load.Bool(ptr + 484 + 178)) { 12492 x["WiFi"]["Frequency"] = A.load.Int32(ptr + 484 + 140); 12493 } else { 12494 delete x["WiFi"]["Frequency"]; 12495 } 12496 x["WiFi"]["FrequencyList"] = A.load.Ref(ptr + 484 + 144, undefined); 12497 x["WiFi"]["HexSSID"] = A.load.Ref(ptr + 484 + 148, undefined); 12498 if (A.load.Bool(ptr + 484 + 179)) { 12499 x["WiFi"]["HiddenSSID"] = A.load.Bool(ptr + 484 + 152); 12500 } else { 12501 delete x["WiFi"]["HiddenSSID"]; 12502 } 12503 x["WiFi"]["Passphrase"] = A.load.Ref(ptr + 484 + 156, undefined); 12504 if (A.load.Bool(ptr + 484 + 180)) { 12505 x["WiFi"]["RoamThreshold"] = A.load.Int32(ptr + 484 + 160); 12506 } else { 12507 delete x["WiFi"]["RoamThreshold"]; 12508 } 12509 x["WiFi"]["SSID"] = A.load.Ref(ptr + 484 + 164, undefined); 12510 x["WiFi"]["Security"] = A.load.Ref(ptr + 484 + 168, undefined); 12511 if (A.load.Bool(ptr + 484 + 181)) { 12512 x["WiFi"]["SignalStrength"] = A.load.Int32(ptr + 484 + 172); 12513 } else { 12514 delete x["WiFi"]["SignalStrength"]; 12515 } 12516 } else { 12517 delete x["WiFi"]; 12518 } 12519 return create === A.H.TRUE ? A.H.push(x) : ref; 12520 }, 12521 12522 "store_ManagedThirdPartyVPNProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 12523 const x = A.H.get<any>(ref); 12524 12525 if (typeof x === "undefined") { 12526 A.store.Bool(ptr + 36, false); 12527 12528 A.store.Bool(ptr + 0 + 28, false); 12529 A.store.Ref(ptr + 0 + 0, undefined); 12530 A.store.Ref(ptr + 0 + 4, undefined); 12531 A.store.Ref(ptr + 0 + 8, undefined); 12532 A.store.Ref(ptr + 0 + 12, undefined); 12533 A.store.Ref(ptr + 0 + 16, undefined); 12534 A.store.Ref(ptr + 0 + 20, undefined); 12535 A.store.Bool(ptr + 0 + 26, false); 12536 A.store.Bool(ptr + 0 + 24, false); 12537 A.store.Bool(ptr + 0 + 27, false); 12538 A.store.Bool(ptr + 0 + 25, false); 12539 A.store.Ref(ptr + 32, undefined); 12540 } else { 12541 A.store.Bool(ptr + 36, true); 12542 12543 if (typeof x["ExtensionID"] === "undefined") { 12544 A.store.Bool(ptr + 0 + 28, false); 12545 A.store.Ref(ptr + 0 + 0, undefined); 12546 A.store.Ref(ptr + 0 + 4, undefined); 12547 A.store.Ref(ptr + 0 + 8, undefined); 12548 A.store.Ref(ptr + 0 + 12, undefined); 12549 A.store.Ref(ptr + 0 + 16, undefined); 12550 A.store.Ref(ptr + 0 + 20, undefined); 12551 A.store.Bool(ptr + 0 + 26, false); 12552 A.store.Bool(ptr + 0 + 24, false); 12553 A.store.Bool(ptr + 0 + 27, false); 12554 A.store.Bool(ptr + 0 + 25, false); 12555 } else { 12556 A.store.Bool(ptr + 0 + 28, true); 12557 A.store.Ref(ptr + 0 + 0, x["ExtensionID"]["Active"]); 12558 A.store.Ref(ptr + 0 + 4, x["ExtensionID"]["Effective"]); 12559 A.store.Ref(ptr + 0 + 8, x["ExtensionID"]["UserPolicy"]); 12560 A.store.Ref(ptr + 0 + 12, x["ExtensionID"]["DevicePolicy"]); 12561 A.store.Ref(ptr + 0 + 16, x["ExtensionID"]["UserSetting"]); 12562 A.store.Ref(ptr + 0 + 20, x["ExtensionID"]["SharedSetting"]); 12563 A.store.Bool(ptr + 0 + 26, "UserEditable" in x["ExtensionID"] ? true : false); 12564 A.store.Bool(ptr + 0 + 24, x["ExtensionID"]["UserEditable"] ? true : false); 12565 A.store.Bool(ptr + 0 + 27, "DeviceEditable" in x["ExtensionID"] ? true : false); 12566 A.store.Bool(ptr + 0 + 25, x["ExtensionID"]["DeviceEditable"] ? true : false); 12567 } 12568 A.store.Ref(ptr + 32, x["ProviderName"]); 12569 } 12570 }, 12571 "load_ManagedThirdPartyVPNProperties": ( 12572 ptr: Pointer, 12573 create: heap.Ref<boolean>, 12574 ref: heap.Ref<any> 12575 ): heap.Ref<any> => { 12576 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 12577 12578 if (A.load.Bool(ptr + 0 + 28)) { 12579 x["ExtensionID"] = {}; 12580 x["ExtensionID"]["Active"] = A.load.Ref(ptr + 0 + 0, undefined); 12581 x["ExtensionID"]["Effective"] = A.load.Ref(ptr + 0 + 4, undefined); 12582 x["ExtensionID"]["UserPolicy"] = A.load.Ref(ptr + 0 + 8, undefined); 12583 x["ExtensionID"]["DevicePolicy"] = A.load.Ref(ptr + 0 + 12, undefined); 12584 x["ExtensionID"]["UserSetting"] = A.load.Ref(ptr + 0 + 16, undefined); 12585 x["ExtensionID"]["SharedSetting"] = A.load.Ref(ptr + 0 + 20, undefined); 12586 if (A.load.Bool(ptr + 0 + 26)) { 12587 x["ExtensionID"]["UserEditable"] = A.load.Bool(ptr + 0 + 24); 12588 } else { 12589 delete x["ExtensionID"]["UserEditable"]; 12590 } 12591 if (A.load.Bool(ptr + 0 + 27)) { 12592 x["ExtensionID"]["DeviceEditable"] = A.load.Bool(ptr + 0 + 25); 12593 } else { 12594 delete x["ExtensionID"]["DeviceEditable"]; 12595 } 12596 } else { 12597 delete x["ExtensionID"]; 12598 } 12599 x["ProviderName"] = A.load.Ref(ptr + 32, undefined); 12600 return create === A.H.TRUE ? A.H.push(x) : ref; 12601 }, 12602 12603 "store_WiMAXProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 12604 const x = A.H.get<any>(ref); 12605 12606 if (typeof x === "undefined") { 12607 A.store.Bool(ptr + 136, false); 12608 A.store.Bool(ptr + 135, false); 12609 A.store.Bool(ptr + 0, false); 12610 12611 A.store.Bool(ptr + 4 + 130, false); 12612 A.store.Ref(ptr + 4 + 0, undefined); 12613 12614 A.store.Bool(ptr + 4 + 4 + 45, false); 12615 A.store.Ref(ptr + 4 + 4 + 0, undefined); 12616 12617 A.store.Bool(ptr + 4 + 4 + 4 + 16, false); 12618 A.store.Ref(ptr + 4 + 4 + 4 + 0, undefined); 12619 A.store.Ref(ptr + 4 + 4 + 4 + 4, undefined); 12620 A.store.Ref(ptr + 4 + 4 + 4 + 8, undefined); 12621 A.store.Ref(ptr + 4 + 4 + 4 + 12, undefined); 12622 A.store.Ref(ptr + 4 + 4 + 24, undefined); 12623 12624 A.store.Bool(ptr + 4 + 4 + 28 + 16, false); 12625 A.store.Ref(ptr + 4 + 4 + 28 + 0, undefined); 12626 A.store.Ref(ptr + 4 + 4 + 28 + 4, undefined); 12627 A.store.Ref(ptr + 4 + 4 + 28 + 8, undefined); 12628 A.store.Ref(ptr + 4 + 4 + 28 + 12, undefined); 12629 A.store.Ref(ptr + 4 + 52, undefined); 12630 A.store.Ref(ptr + 4 + 56, undefined); 12631 A.store.Ref(ptr + 4 + 60, undefined); 12632 A.store.Enum(ptr + 4 + 64, -1); 12633 A.store.Ref(ptr + 4 + 68, undefined); 12634 A.store.Ref(ptr + 4 + 72, undefined); 12635 A.store.Ref(ptr + 4 + 76, undefined); 12636 A.store.Ref(ptr + 4 + 80, undefined); 12637 A.store.Bool(ptr + 4 + 127, false); 12638 A.store.Bool(ptr + 4 + 84, false); 12639 A.store.Ref(ptr + 4 + 88, undefined); 12640 A.store.Ref(ptr + 4 + 92, undefined); 12641 12642 A.store.Bool(ptr + 4 + 96 + 28, false); 12643 A.store.Ref(ptr + 4 + 96 + 0, undefined); 12644 A.store.Ref(ptr + 4 + 96 + 4, undefined); 12645 A.store.Ref(ptr + 4 + 96 + 8, undefined); 12646 A.store.Ref(ptr + 4 + 96 + 12, undefined); 12647 A.store.Ref(ptr + 4 + 96 + 16, undefined); 12648 A.store.Ref(ptr + 4 + 96 + 20, undefined); 12649 A.store.Bool(ptr + 4 + 96 + 26, false); 12650 A.store.Bool(ptr + 4 + 96 + 24, false); 12651 A.store.Bool(ptr + 4 + 96 + 27, false); 12652 A.store.Bool(ptr + 4 + 96 + 25, false); 12653 A.store.Bool(ptr + 4 + 128, false); 12654 A.store.Bool(ptr + 4 + 125, false); 12655 A.store.Bool(ptr + 4 + 129, false); 12656 A.store.Bool(ptr + 4 + 126, false); 12657 } else { 12658 A.store.Bool(ptr + 136, true); 12659 A.store.Bool(ptr + 135, "AutoConnect" in x ? true : false); 12660 A.store.Bool(ptr + 0, x["AutoConnect"] ? true : false); 12661 12662 if (typeof x["EAP"] === "undefined") { 12663 A.store.Bool(ptr + 4 + 130, false); 12664 A.store.Ref(ptr + 4 + 0, undefined); 12665 12666 A.store.Bool(ptr + 4 + 4 + 45, false); 12667 A.store.Ref(ptr + 4 + 4 + 0, undefined); 12668 12669 A.store.Bool(ptr + 4 + 4 + 4 + 16, false); 12670 A.store.Ref(ptr + 4 + 4 + 4 + 0, undefined); 12671 A.store.Ref(ptr + 4 + 4 + 4 + 4, undefined); 12672 A.store.Ref(ptr + 4 + 4 + 4 + 8, undefined); 12673 A.store.Ref(ptr + 4 + 4 + 4 + 12, undefined); 12674 A.store.Ref(ptr + 4 + 4 + 24, undefined); 12675 12676 A.store.Bool(ptr + 4 + 4 + 28 + 16, false); 12677 A.store.Ref(ptr + 4 + 4 + 28 + 0, undefined); 12678 A.store.Ref(ptr + 4 + 4 + 28 + 4, undefined); 12679 A.store.Ref(ptr + 4 + 4 + 28 + 8, undefined); 12680 A.store.Ref(ptr + 4 + 4 + 28 + 12, undefined); 12681 A.store.Ref(ptr + 4 + 52, undefined); 12682 A.store.Ref(ptr + 4 + 56, undefined); 12683 A.store.Ref(ptr + 4 + 60, undefined); 12684 A.store.Enum(ptr + 4 + 64, -1); 12685 A.store.Ref(ptr + 4 + 68, undefined); 12686 A.store.Ref(ptr + 4 + 72, undefined); 12687 A.store.Ref(ptr + 4 + 76, undefined); 12688 A.store.Ref(ptr + 4 + 80, undefined); 12689 A.store.Bool(ptr + 4 + 127, false); 12690 A.store.Bool(ptr + 4 + 84, false); 12691 A.store.Ref(ptr + 4 + 88, undefined); 12692 A.store.Ref(ptr + 4 + 92, undefined); 12693 12694 A.store.Bool(ptr + 4 + 96 + 28, false); 12695 A.store.Ref(ptr + 4 + 96 + 0, undefined); 12696 A.store.Ref(ptr + 4 + 96 + 4, undefined); 12697 A.store.Ref(ptr + 4 + 96 + 8, undefined); 12698 A.store.Ref(ptr + 4 + 96 + 12, undefined); 12699 A.store.Ref(ptr + 4 + 96 + 16, undefined); 12700 A.store.Ref(ptr + 4 + 96 + 20, undefined); 12701 A.store.Bool(ptr + 4 + 96 + 26, false); 12702 A.store.Bool(ptr + 4 + 96 + 24, false); 12703 A.store.Bool(ptr + 4 + 96 + 27, false); 12704 A.store.Bool(ptr + 4 + 96 + 25, false); 12705 A.store.Bool(ptr + 4 + 128, false); 12706 A.store.Bool(ptr + 4 + 125, false); 12707 A.store.Bool(ptr + 4 + 129, false); 12708 A.store.Bool(ptr + 4 + 126, false); 12709 } else { 12710 A.store.Bool(ptr + 4 + 130, true); 12711 A.store.Ref(ptr + 4 + 0, x["EAP"]["AnonymousIdentity"]); 12712 12713 if (typeof x["EAP"]["ClientCertPattern"] === "undefined") { 12714 A.store.Bool(ptr + 4 + 4 + 45, false); 12715 A.store.Ref(ptr + 4 + 4 + 0, undefined); 12716 12717 A.store.Bool(ptr + 4 + 4 + 4 + 16, false); 12718 A.store.Ref(ptr + 4 + 4 + 4 + 0, undefined); 12719 A.store.Ref(ptr + 4 + 4 + 4 + 4, undefined); 12720 A.store.Ref(ptr + 4 + 4 + 4 + 8, undefined); 12721 A.store.Ref(ptr + 4 + 4 + 4 + 12, undefined); 12722 A.store.Ref(ptr + 4 + 4 + 24, undefined); 12723 12724 A.store.Bool(ptr + 4 + 4 + 28 + 16, false); 12725 A.store.Ref(ptr + 4 + 4 + 28 + 0, undefined); 12726 A.store.Ref(ptr + 4 + 4 + 28 + 4, undefined); 12727 A.store.Ref(ptr + 4 + 4 + 28 + 8, undefined); 12728 A.store.Ref(ptr + 4 + 4 + 28 + 12, undefined); 12729 } else { 12730 A.store.Bool(ptr + 4 + 4 + 45, true); 12731 A.store.Ref(ptr + 4 + 4 + 0, x["EAP"]["ClientCertPattern"]["EnrollmentURI"]); 12732 12733 if (typeof x["EAP"]["ClientCertPattern"]["Issuer"] === "undefined") { 12734 A.store.Bool(ptr + 4 + 4 + 4 + 16, false); 12735 A.store.Ref(ptr + 4 + 4 + 4 + 0, undefined); 12736 A.store.Ref(ptr + 4 + 4 + 4 + 4, undefined); 12737 A.store.Ref(ptr + 4 + 4 + 4 + 8, undefined); 12738 A.store.Ref(ptr + 4 + 4 + 4 + 12, undefined); 12739 } else { 12740 A.store.Bool(ptr + 4 + 4 + 4 + 16, true); 12741 A.store.Ref(ptr + 4 + 4 + 4 + 0, x["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"]); 12742 A.store.Ref(ptr + 4 + 4 + 4 + 4, x["EAP"]["ClientCertPattern"]["Issuer"]["Locality"]); 12743 A.store.Ref(ptr + 4 + 4 + 4 + 8, x["EAP"]["ClientCertPattern"]["Issuer"]["Organization"]); 12744 A.store.Ref(ptr + 4 + 4 + 4 + 12, x["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"]); 12745 } 12746 A.store.Ref(ptr + 4 + 4 + 24, x["EAP"]["ClientCertPattern"]["IssuerCARef"]); 12747 12748 if (typeof x["EAP"]["ClientCertPattern"]["Subject"] === "undefined") { 12749 A.store.Bool(ptr + 4 + 4 + 28 + 16, false); 12750 A.store.Ref(ptr + 4 + 4 + 28 + 0, undefined); 12751 A.store.Ref(ptr + 4 + 4 + 28 + 4, undefined); 12752 A.store.Ref(ptr + 4 + 4 + 28 + 8, undefined); 12753 A.store.Ref(ptr + 4 + 4 + 28 + 12, undefined); 12754 } else { 12755 A.store.Bool(ptr + 4 + 4 + 28 + 16, true); 12756 A.store.Ref(ptr + 4 + 4 + 28 + 0, x["EAP"]["ClientCertPattern"]["Subject"]["CommonName"]); 12757 A.store.Ref(ptr + 4 + 4 + 28 + 4, x["EAP"]["ClientCertPattern"]["Subject"]["Locality"]); 12758 A.store.Ref(ptr + 4 + 4 + 28 + 8, x["EAP"]["ClientCertPattern"]["Subject"]["Organization"]); 12759 A.store.Ref(ptr + 4 + 4 + 28 + 12, x["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"]); 12760 } 12761 } 12762 A.store.Ref(ptr + 4 + 52, x["EAP"]["ClientCertPKCS11Id"]); 12763 A.store.Ref(ptr + 4 + 56, x["EAP"]["ClientCertProvisioningProfileId"]); 12764 A.store.Ref(ptr + 4 + 60, x["EAP"]["ClientCertRef"]); 12765 A.store.Enum(ptr + 4 + 64, ["Ref", "Pattern"].indexOf(x["EAP"]["ClientCertType"] as string)); 12766 A.store.Ref(ptr + 4 + 68, x["EAP"]["Identity"]); 12767 A.store.Ref(ptr + 4 + 72, x["EAP"]["Inner"]); 12768 A.store.Ref(ptr + 4 + 76, x["EAP"]["Outer"]); 12769 A.store.Ref(ptr + 4 + 80, x["EAP"]["Password"]); 12770 A.store.Bool(ptr + 4 + 127, "SaveCredentials" in x["EAP"] ? true : false); 12771 A.store.Bool(ptr + 4 + 84, x["EAP"]["SaveCredentials"] ? true : false); 12772 A.store.Ref(ptr + 4 + 88, x["EAP"]["ServerCAPEMs"]); 12773 A.store.Ref(ptr + 4 + 92, x["EAP"]["ServerCARefs"]); 12774 12775 if (typeof x["EAP"]["SubjectMatch"] === "undefined") { 12776 A.store.Bool(ptr + 4 + 96 + 28, false); 12777 A.store.Ref(ptr + 4 + 96 + 0, undefined); 12778 A.store.Ref(ptr + 4 + 96 + 4, undefined); 12779 A.store.Ref(ptr + 4 + 96 + 8, undefined); 12780 A.store.Ref(ptr + 4 + 96 + 12, undefined); 12781 A.store.Ref(ptr + 4 + 96 + 16, undefined); 12782 A.store.Ref(ptr + 4 + 96 + 20, undefined); 12783 A.store.Bool(ptr + 4 + 96 + 26, false); 12784 A.store.Bool(ptr + 4 + 96 + 24, false); 12785 A.store.Bool(ptr + 4 + 96 + 27, false); 12786 A.store.Bool(ptr + 4 + 96 + 25, false); 12787 } else { 12788 A.store.Bool(ptr + 4 + 96 + 28, true); 12789 A.store.Ref(ptr + 4 + 96 + 0, x["EAP"]["SubjectMatch"]["Active"]); 12790 A.store.Ref(ptr + 4 + 96 + 4, x["EAP"]["SubjectMatch"]["Effective"]); 12791 A.store.Ref(ptr + 4 + 96 + 8, x["EAP"]["SubjectMatch"]["UserPolicy"]); 12792 A.store.Ref(ptr + 4 + 96 + 12, x["EAP"]["SubjectMatch"]["DevicePolicy"]); 12793 A.store.Ref(ptr + 4 + 96 + 16, x["EAP"]["SubjectMatch"]["UserSetting"]); 12794 A.store.Ref(ptr + 4 + 96 + 20, x["EAP"]["SubjectMatch"]["SharedSetting"]); 12795 A.store.Bool(ptr + 4 + 96 + 26, "UserEditable" in x["EAP"]["SubjectMatch"] ? true : false); 12796 A.store.Bool(ptr + 4 + 96 + 24, x["EAP"]["SubjectMatch"]["UserEditable"] ? true : false); 12797 A.store.Bool(ptr + 4 + 96 + 27, "DeviceEditable" in x["EAP"]["SubjectMatch"] ? true : false); 12798 A.store.Bool(ptr + 4 + 96 + 25, x["EAP"]["SubjectMatch"]["DeviceEditable"] ? true : false); 12799 } 12800 A.store.Bool(ptr + 4 + 128, "UseProactiveKeyCaching" in x["EAP"] ? true : false); 12801 A.store.Bool(ptr + 4 + 125, x["EAP"]["UseProactiveKeyCaching"] ? true : false); 12802 A.store.Bool(ptr + 4 + 129, "UseSystemCAs" in x["EAP"] ? true : false); 12803 A.store.Bool(ptr + 4 + 126, x["EAP"]["UseSystemCAs"] ? true : false); 12804 } 12805 } 12806 }, 12807 "load_WiMAXProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 12808 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 12809 12810 if (A.load.Bool(ptr + 135)) { 12811 x["AutoConnect"] = A.load.Bool(ptr + 0); 12812 } else { 12813 delete x["AutoConnect"]; 12814 } 12815 if (A.load.Bool(ptr + 4 + 130)) { 12816 x["EAP"] = {}; 12817 x["EAP"]["AnonymousIdentity"] = A.load.Ref(ptr + 4 + 0, undefined); 12818 if (A.load.Bool(ptr + 4 + 4 + 45)) { 12819 x["EAP"]["ClientCertPattern"] = {}; 12820 x["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref(ptr + 4 + 4 + 0, undefined); 12821 if (A.load.Bool(ptr + 4 + 4 + 4 + 16)) { 12822 x["EAP"]["ClientCertPattern"]["Issuer"] = {}; 12823 x["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref(ptr + 4 + 4 + 4 + 0, undefined); 12824 x["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref(ptr + 4 + 4 + 4 + 4, undefined); 12825 x["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref(ptr + 4 + 4 + 4 + 8, undefined); 12826 x["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref(ptr + 4 + 4 + 4 + 12, undefined); 12827 } else { 12828 delete x["EAP"]["ClientCertPattern"]["Issuer"]; 12829 } 12830 x["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref(ptr + 4 + 4 + 24, undefined); 12831 if (A.load.Bool(ptr + 4 + 4 + 28 + 16)) { 12832 x["EAP"]["ClientCertPattern"]["Subject"] = {}; 12833 x["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref(ptr + 4 + 4 + 28 + 0, undefined); 12834 x["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref(ptr + 4 + 4 + 28 + 4, undefined); 12835 x["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref(ptr + 4 + 4 + 28 + 8, undefined); 12836 x["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 12837 ptr + 4 + 4 + 28 + 12, 12838 undefined 12839 ); 12840 } else { 12841 delete x["EAP"]["ClientCertPattern"]["Subject"]; 12842 } 12843 } else { 12844 delete x["EAP"]["ClientCertPattern"]; 12845 } 12846 x["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(ptr + 4 + 52, undefined); 12847 x["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref(ptr + 4 + 56, undefined); 12848 x["EAP"]["ClientCertRef"] = A.load.Ref(ptr + 4 + 60, undefined); 12849 x["EAP"]["ClientCertType"] = A.load.Enum(ptr + 4 + 64, ["Ref", "Pattern"]); 12850 x["EAP"]["Identity"] = A.load.Ref(ptr + 4 + 68, undefined); 12851 x["EAP"]["Inner"] = A.load.Ref(ptr + 4 + 72, undefined); 12852 x["EAP"]["Outer"] = A.load.Ref(ptr + 4 + 76, undefined); 12853 x["EAP"]["Password"] = A.load.Ref(ptr + 4 + 80, undefined); 12854 if (A.load.Bool(ptr + 4 + 127)) { 12855 x["EAP"]["SaveCredentials"] = A.load.Bool(ptr + 4 + 84); 12856 } else { 12857 delete x["EAP"]["SaveCredentials"]; 12858 } 12859 x["EAP"]["ServerCAPEMs"] = A.load.Ref(ptr + 4 + 88, undefined); 12860 x["EAP"]["ServerCARefs"] = A.load.Ref(ptr + 4 + 92, undefined); 12861 if (A.load.Bool(ptr + 4 + 96 + 28)) { 12862 x["EAP"]["SubjectMatch"] = {}; 12863 x["EAP"]["SubjectMatch"]["Active"] = A.load.Ref(ptr + 4 + 96 + 0, undefined); 12864 x["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref(ptr + 4 + 96 + 4, undefined); 12865 x["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref(ptr + 4 + 96 + 8, undefined); 12866 x["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref(ptr + 4 + 96 + 12, undefined); 12867 x["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref(ptr + 4 + 96 + 16, undefined); 12868 x["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref(ptr + 4 + 96 + 20, undefined); 12869 if (A.load.Bool(ptr + 4 + 96 + 26)) { 12870 x["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool(ptr + 4 + 96 + 24); 12871 } else { 12872 delete x["EAP"]["SubjectMatch"]["UserEditable"]; 12873 } 12874 if (A.load.Bool(ptr + 4 + 96 + 27)) { 12875 x["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool(ptr + 4 + 96 + 25); 12876 } else { 12877 delete x["EAP"]["SubjectMatch"]["DeviceEditable"]; 12878 } 12879 } else { 12880 delete x["EAP"]["SubjectMatch"]; 12881 } 12882 if (A.load.Bool(ptr + 4 + 128)) { 12883 x["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(ptr + 4 + 125); 12884 } else { 12885 delete x["EAP"]["UseProactiveKeyCaching"]; 12886 } 12887 if (A.load.Bool(ptr + 4 + 129)) { 12888 x["EAP"]["UseSystemCAs"] = A.load.Bool(ptr + 4 + 126); 12889 } else { 12890 delete x["EAP"]["UseSystemCAs"]; 12891 } 12892 } else { 12893 delete x["EAP"]; 12894 } 12895 return create === A.H.TRUE ? A.H.push(x) : ref; 12896 }, 12897 12898 "store_NetworkConfigProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 12899 const x = A.H.get<any>(ref); 12900 12901 if (typeof x === "undefined") { 12902 A.store.Bool(ptr + 634, false); 12903 12904 A.store.Bool(ptr + 0 + 127, false); 12905 A.store.Bool(ptr + 0 + 121, false); 12906 A.store.Bool(ptr + 0 + 0, false); 12907 A.store.Ref(ptr + 0 + 4, undefined); 12908 A.store.Enum(ptr + 0 + 8, -1); 12909 A.store.Bool(ptr + 0 + 122, false); 12910 A.store.Bool(ptr + 0 + 12, false); 12911 A.store.Ref(ptr + 0 + 16, undefined); 12912 A.store.Ref(ptr + 0 + 20, undefined); 12913 A.store.Ref(ptr + 0 + 24, undefined); 12914 A.store.Ref(ptr + 0 + 28, undefined); 12915 12916 A.store.Bool(ptr + 0 + 32 + 12, false); 12917 A.store.Ref(ptr + 0 + 32 + 0, undefined); 12918 A.store.Ref(ptr + 0 + 32 + 4, undefined); 12919 A.store.Ref(ptr + 0 + 32 + 8, undefined); 12920 A.store.Ref(ptr + 0 + 48, undefined); 12921 A.store.Ref(ptr + 0 + 52, undefined); 12922 A.store.Ref(ptr + 0 + 56, undefined); 12923 12924 A.store.Bool(ptr + 0 + 60 + 12, false); 12925 A.store.Ref(ptr + 0 + 60 + 0, undefined); 12926 A.store.Ref(ptr + 0 + 60 + 4, undefined); 12927 A.store.Ref(ptr + 0 + 60 + 8, undefined); 12928 A.store.Ref(ptr + 0 + 76, undefined); 12929 A.store.Bool(ptr + 0 + 123, false); 12930 A.store.Bool(ptr + 0 + 80, false); 12931 12932 A.store.Bool(ptr + 0 + 84 + 12, false); 12933 A.store.Ref(ptr + 0 + 84 + 0, undefined); 12934 A.store.Ref(ptr + 0 + 84 + 4, undefined); 12935 A.store.Ref(ptr + 0 + 84 + 8, undefined); 12936 12937 A.store.Bool(ptr + 0 + 100 + 14, false); 12938 A.store.Ref(ptr + 0 + 100 + 0, undefined); 12939 A.store.Bool(ptr + 0 + 100 + 12, false); 12940 A.store.Bool(ptr + 0 + 100 + 4, false); 12941 A.store.Bool(ptr + 0 + 100 + 13, false); 12942 A.store.Int32(ptr + 0 + 100 + 8, 0); 12943 A.store.Bool(ptr + 0 + 124, false); 12944 A.store.Bool(ptr + 0 + 115, false); 12945 A.store.Bool(ptr + 0 + 125, false); 12946 A.store.Int32(ptr + 0 + 116, 0); 12947 A.store.Bool(ptr + 0 + 126, false); 12948 A.store.Bool(ptr + 0 + 120, false); 12949 12950 A.store.Bool(ptr + 128 + 140, false); 12951 A.store.Bool(ptr + 128 + 139, false); 12952 A.store.Bool(ptr + 128 + 0, false); 12953 A.store.Ref(ptr + 128 + 4, undefined); 12954 12955 A.store.Bool(ptr + 128 + 8 + 130, false); 12956 A.store.Ref(ptr + 128 + 8 + 0, undefined); 12957 12958 A.store.Bool(ptr + 128 + 8 + 4 + 45, false); 12959 A.store.Ref(ptr + 128 + 8 + 4 + 0, undefined); 12960 12961 A.store.Bool(ptr + 128 + 8 + 4 + 4 + 16, false); 12962 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 0, undefined); 12963 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 4, undefined); 12964 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 8, undefined); 12965 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 12, undefined); 12966 A.store.Ref(ptr + 128 + 8 + 4 + 24, undefined); 12967 12968 A.store.Bool(ptr + 128 + 8 + 4 + 28 + 16, false); 12969 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 0, undefined); 12970 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 4, undefined); 12971 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 8, undefined); 12972 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 12, undefined); 12973 A.store.Ref(ptr + 128 + 8 + 52, undefined); 12974 A.store.Ref(ptr + 128 + 8 + 56, undefined); 12975 A.store.Ref(ptr + 128 + 8 + 60, undefined); 12976 A.store.Enum(ptr + 128 + 8 + 64, -1); 12977 A.store.Ref(ptr + 128 + 8 + 68, undefined); 12978 A.store.Ref(ptr + 128 + 8 + 72, undefined); 12979 A.store.Ref(ptr + 128 + 8 + 76, undefined); 12980 A.store.Ref(ptr + 128 + 8 + 80, undefined); 12981 A.store.Bool(ptr + 128 + 8 + 127, false); 12982 A.store.Bool(ptr + 128 + 8 + 84, false); 12983 A.store.Ref(ptr + 128 + 8 + 88, undefined); 12984 A.store.Ref(ptr + 128 + 8 + 92, undefined); 12985 12986 A.store.Bool(ptr + 128 + 8 + 96 + 28, false); 12987 A.store.Ref(ptr + 128 + 8 + 96 + 0, undefined); 12988 A.store.Ref(ptr + 128 + 8 + 96 + 4, undefined); 12989 A.store.Ref(ptr + 128 + 8 + 96 + 8, undefined); 12990 A.store.Ref(ptr + 128 + 8 + 96 + 12, undefined); 12991 A.store.Ref(ptr + 128 + 8 + 96 + 16, undefined); 12992 A.store.Ref(ptr + 128 + 8 + 96 + 20, undefined); 12993 A.store.Bool(ptr + 128 + 8 + 96 + 26, false); 12994 A.store.Bool(ptr + 128 + 8 + 96 + 24, false); 12995 A.store.Bool(ptr + 128 + 8 + 96 + 27, false); 12996 A.store.Bool(ptr + 128 + 8 + 96 + 25, false); 12997 A.store.Bool(ptr + 128 + 8 + 128, false); 12998 A.store.Bool(ptr + 128 + 8 + 125, false); 12999 A.store.Bool(ptr + 128 + 8 + 129, false); 13000 A.store.Bool(ptr + 128 + 8 + 126, false); 13001 A.store.Ref(ptr + 272, undefined); 13002 A.store.Enum(ptr + 276, -1); 13003 A.store.Ref(ptr + 280, undefined); 13004 A.store.Enum(ptr + 284, -1); 13005 A.store.Bool(ptr + 633, false); 13006 A.store.Int32(ptr + 288, 0); 13007 A.store.Enum(ptr + 292, -1); 13008 13009 A.store.Bool(ptr + 296 + 13, false); 13010 A.store.Bool(ptr + 296 + 12, false); 13011 A.store.Bool(ptr + 296 + 0, false); 13012 A.store.Ref(ptr + 296 + 4, undefined); 13013 A.store.Ref(ptr + 296 + 8, undefined); 13014 13015 A.store.Bool(ptr + 312 + 182, false); 13016 A.store.Bool(ptr + 312 + 176, false); 13017 A.store.Bool(ptr + 312 + 0, false); 13018 A.store.Bool(ptr + 312 + 177, false); 13019 A.store.Bool(ptr + 312 + 1, false); 13020 A.store.Ref(ptr + 312 + 4, undefined); 13021 13022 A.store.Bool(ptr + 312 + 8 + 130, false); 13023 A.store.Ref(ptr + 312 + 8 + 0, undefined); 13024 13025 A.store.Bool(ptr + 312 + 8 + 4 + 45, false); 13026 A.store.Ref(ptr + 312 + 8 + 4 + 0, undefined); 13027 13028 A.store.Bool(ptr + 312 + 8 + 4 + 4 + 16, false); 13029 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 0, undefined); 13030 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 4, undefined); 13031 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 8, undefined); 13032 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 12, undefined); 13033 A.store.Ref(ptr + 312 + 8 + 4 + 24, undefined); 13034 13035 A.store.Bool(ptr + 312 + 8 + 4 + 28 + 16, false); 13036 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 0, undefined); 13037 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 4, undefined); 13038 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 8, undefined); 13039 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 12, undefined); 13040 A.store.Ref(ptr + 312 + 8 + 52, undefined); 13041 A.store.Ref(ptr + 312 + 8 + 56, undefined); 13042 A.store.Ref(ptr + 312 + 8 + 60, undefined); 13043 A.store.Enum(ptr + 312 + 8 + 64, -1); 13044 A.store.Ref(ptr + 312 + 8 + 68, undefined); 13045 A.store.Ref(ptr + 312 + 8 + 72, undefined); 13046 A.store.Ref(ptr + 312 + 8 + 76, undefined); 13047 A.store.Ref(ptr + 312 + 8 + 80, undefined); 13048 A.store.Bool(ptr + 312 + 8 + 127, false); 13049 A.store.Bool(ptr + 312 + 8 + 84, false); 13050 A.store.Ref(ptr + 312 + 8 + 88, undefined); 13051 A.store.Ref(ptr + 312 + 8 + 92, undefined); 13052 13053 A.store.Bool(ptr + 312 + 8 + 96 + 28, false); 13054 A.store.Ref(ptr + 312 + 8 + 96 + 0, undefined); 13055 A.store.Ref(ptr + 312 + 8 + 96 + 4, undefined); 13056 A.store.Ref(ptr + 312 + 8 + 96 + 8, undefined); 13057 A.store.Ref(ptr + 312 + 8 + 96 + 12, undefined); 13058 A.store.Ref(ptr + 312 + 8 + 96 + 16, undefined); 13059 A.store.Ref(ptr + 312 + 8 + 96 + 20, undefined); 13060 A.store.Bool(ptr + 312 + 8 + 96 + 26, false); 13061 A.store.Bool(ptr + 312 + 8 + 96 + 24, false); 13062 A.store.Bool(ptr + 312 + 8 + 96 + 27, false); 13063 A.store.Bool(ptr + 312 + 8 + 96 + 25, false); 13064 A.store.Bool(ptr + 312 + 8 + 128, false); 13065 A.store.Bool(ptr + 312 + 8 + 125, false); 13066 A.store.Bool(ptr + 312 + 8 + 129, false); 13067 A.store.Bool(ptr + 312 + 8 + 126, false); 13068 A.store.Bool(ptr + 312 + 178, false); 13069 A.store.Int32(ptr + 312 + 140, 0); 13070 A.store.Ref(ptr + 312 + 144, undefined); 13071 A.store.Ref(ptr + 312 + 148, undefined); 13072 A.store.Bool(ptr + 312 + 179, false); 13073 A.store.Bool(ptr + 312 + 152, false); 13074 A.store.Ref(ptr + 312 + 156, undefined); 13075 A.store.Bool(ptr + 312 + 180, false); 13076 A.store.Int32(ptr + 312 + 160, 0); 13077 A.store.Ref(ptr + 312 + 164, undefined); 13078 A.store.Ref(ptr + 312 + 168, undefined); 13079 A.store.Bool(ptr + 312 + 181, false); 13080 A.store.Int32(ptr + 312 + 172, 0); 13081 13082 A.store.Bool(ptr + 496 + 136, false); 13083 A.store.Bool(ptr + 496 + 135, false); 13084 A.store.Bool(ptr + 496 + 0, false); 13085 13086 A.store.Bool(ptr + 496 + 4 + 130, false); 13087 A.store.Ref(ptr + 496 + 4 + 0, undefined); 13088 13089 A.store.Bool(ptr + 496 + 4 + 4 + 45, false); 13090 A.store.Ref(ptr + 496 + 4 + 4 + 0, undefined); 13091 13092 A.store.Bool(ptr + 496 + 4 + 4 + 4 + 16, false); 13093 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 0, undefined); 13094 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 4, undefined); 13095 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 8, undefined); 13096 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 12, undefined); 13097 A.store.Ref(ptr + 496 + 4 + 4 + 24, undefined); 13098 13099 A.store.Bool(ptr + 496 + 4 + 4 + 28 + 16, false); 13100 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 0, undefined); 13101 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 4, undefined); 13102 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 8, undefined); 13103 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 12, undefined); 13104 A.store.Ref(ptr + 496 + 4 + 52, undefined); 13105 A.store.Ref(ptr + 496 + 4 + 56, undefined); 13106 A.store.Ref(ptr + 496 + 4 + 60, undefined); 13107 A.store.Enum(ptr + 496 + 4 + 64, -1); 13108 A.store.Ref(ptr + 496 + 4 + 68, undefined); 13109 A.store.Ref(ptr + 496 + 4 + 72, undefined); 13110 A.store.Ref(ptr + 496 + 4 + 76, undefined); 13111 A.store.Ref(ptr + 496 + 4 + 80, undefined); 13112 A.store.Bool(ptr + 496 + 4 + 127, false); 13113 A.store.Bool(ptr + 496 + 4 + 84, false); 13114 A.store.Ref(ptr + 496 + 4 + 88, undefined); 13115 A.store.Ref(ptr + 496 + 4 + 92, undefined); 13116 13117 A.store.Bool(ptr + 496 + 4 + 96 + 28, false); 13118 A.store.Ref(ptr + 496 + 4 + 96 + 0, undefined); 13119 A.store.Ref(ptr + 496 + 4 + 96 + 4, undefined); 13120 A.store.Ref(ptr + 496 + 4 + 96 + 8, undefined); 13121 A.store.Ref(ptr + 496 + 4 + 96 + 12, undefined); 13122 A.store.Ref(ptr + 496 + 4 + 96 + 16, undefined); 13123 A.store.Ref(ptr + 496 + 4 + 96 + 20, undefined); 13124 A.store.Bool(ptr + 496 + 4 + 96 + 26, false); 13125 A.store.Bool(ptr + 496 + 4 + 96 + 24, false); 13126 A.store.Bool(ptr + 496 + 4 + 96 + 27, false); 13127 A.store.Bool(ptr + 496 + 4 + 96 + 25, false); 13128 A.store.Bool(ptr + 496 + 4 + 128, false); 13129 A.store.Bool(ptr + 496 + 4 + 125, false); 13130 A.store.Bool(ptr + 496 + 4 + 129, false); 13131 A.store.Bool(ptr + 496 + 4 + 126, false); 13132 } else { 13133 A.store.Bool(ptr + 634, true); 13134 13135 if (typeof x["Cellular"] === "undefined") { 13136 A.store.Bool(ptr + 0 + 127, false); 13137 A.store.Bool(ptr + 0 + 121, false); 13138 A.store.Bool(ptr + 0 + 0, false); 13139 A.store.Ref(ptr + 0 + 4, undefined); 13140 A.store.Enum(ptr + 0 + 8, -1); 13141 A.store.Bool(ptr + 0 + 122, false); 13142 A.store.Bool(ptr + 0 + 12, false); 13143 A.store.Ref(ptr + 0 + 16, undefined); 13144 A.store.Ref(ptr + 0 + 20, undefined); 13145 A.store.Ref(ptr + 0 + 24, undefined); 13146 A.store.Ref(ptr + 0 + 28, undefined); 13147 13148 A.store.Bool(ptr + 0 + 32 + 12, false); 13149 A.store.Ref(ptr + 0 + 32 + 0, undefined); 13150 A.store.Ref(ptr + 0 + 32 + 4, undefined); 13151 A.store.Ref(ptr + 0 + 32 + 8, undefined); 13152 A.store.Ref(ptr + 0 + 48, undefined); 13153 A.store.Ref(ptr + 0 + 52, undefined); 13154 A.store.Ref(ptr + 0 + 56, undefined); 13155 13156 A.store.Bool(ptr + 0 + 60 + 12, false); 13157 A.store.Ref(ptr + 0 + 60 + 0, undefined); 13158 A.store.Ref(ptr + 0 + 60 + 4, undefined); 13159 A.store.Ref(ptr + 0 + 60 + 8, undefined); 13160 A.store.Ref(ptr + 0 + 76, undefined); 13161 A.store.Bool(ptr + 0 + 123, false); 13162 A.store.Bool(ptr + 0 + 80, false); 13163 13164 A.store.Bool(ptr + 0 + 84 + 12, false); 13165 A.store.Ref(ptr + 0 + 84 + 0, undefined); 13166 A.store.Ref(ptr + 0 + 84 + 4, undefined); 13167 A.store.Ref(ptr + 0 + 84 + 8, undefined); 13168 13169 A.store.Bool(ptr + 0 + 100 + 14, false); 13170 A.store.Ref(ptr + 0 + 100 + 0, undefined); 13171 A.store.Bool(ptr + 0 + 100 + 12, false); 13172 A.store.Bool(ptr + 0 + 100 + 4, false); 13173 A.store.Bool(ptr + 0 + 100 + 13, false); 13174 A.store.Int32(ptr + 0 + 100 + 8, 0); 13175 A.store.Bool(ptr + 0 + 124, false); 13176 A.store.Bool(ptr + 0 + 115, false); 13177 A.store.Bool(ptr + 0 + 125, false); 13178 A.store.Int32(ptr + 0 + 116, 0); 13179 A.store.Bool(ptr + 0 + 126, false); 13180 A.store.Bool(ptr + 0 + 120, false); 13181 } else { 13182 A.store.Bool(ptr + 0 + 127, true); 13183 A.store.Bool(ptr + 0 + 121, "AutoConnect" in x["Cellular"] ? true : false); 13184 A.store.Bool(ptr + 0 + 0, x["Cellular"]["AutoConnect"] ? true : false); 13185 A.store.Ref(ptr + 0 + 4, x["Cellular"]["ActivationType"]); 13186 A.store.Enum( 13187 ptr + 0 + 8, 13188 ["Activated", "Activating", "NotActivated", "PartiallyActivated"].indexOf( 13189 x["Cellular"]["ActivationState"] as string 13190 ) 13191 ); 13192 A.store.Bool(ptr + 0 + 122, "AllowRoaming" in x["Cellular"] ? true : false); 13193 A.store.Bool(ptr + 0 + 12, x["Cellular"]["AllowRoaming"] ? true : false); 13194 A.store.Ref(ptr + 0 + 16, x["Cellular"]["Family"]); 13195 A.store.Ref(ptr + 0 + 20, x["Cellular"]["FirmwareRevision"]); 13196 A.store.Ref(ptr + 0 + 24, x["Cellular"]["FoundNetworks"]); 13197 A.store.Ref(ptr + 0 + 28, x["Cellular"]["HardwareRevision"]); 13198 13199 if (typeof x["Cellular"]["HomeProvider"] === "undefined") { 13200 A.store.Bool(ptr + 0 + 32 + 12, false); 13201 A.store.Ref(ptr + 0 + 32 + 0, undefined); 13202 A.store.Ref(ptr + 0 + 32 + 4, undefined); 13203 A.store.Ref(ptr + 0 + 32 + 8, undefined); 13204 } else { 13205 A.store.Bool(ptr + 0 + 32 + 12, true); 13206 A.store.Ref(ptr + 0 + 32 + 0, x["Cellular"]["HomeProvider"]["Name"]); 13207 A.store.Ref(ptr + 0 + 32 + 4, x["Cellular"]["HomeProvider"]["Code"]); 13208 A.store.Ref(ptr + 0 + 32 + 8, x["Cellular"]["HomeProvider"]["Country"]); 13209 } 13210 A.store.Ref(ptr + 0 + 48, x["Cellular"]["Manufacturer"]); 13211 A.store.Ref(ptr + 0 + 52, x["Cellular"]["ModelID"]); 13212 A.store.Ref(ptr + 0 + 56, x["Cellular"]["NetworkTechnology"]); 13213 13214 if (typeof x["Cellular"]["PaymentPortal"] === "undefined") { 13215 A.store.Bool(ptr + 0 + 60 + 12, false); 13216 A.store.Ref(ptr + 0 + 60 + 0, undefined); 13217 A.store.Ref(ptr + 0 + 60 + 4, undefined); 13218 A.store.Ref(ptr + 0 + 60 + 8, undefined); 13219 } else { 13220 A.store.Bool(ptr + 0 + 60 + 12, true); 13221 A.store.Ref(ptr + 0 + 60 + 0, x["Cellular"]["PaymentPortal"]["Method"]); 13222 A.store.Ref(ptr + 0 + 60 + 4, x["Cellular"]["PaymentPortal"]["PostData"]); 13223 A.store.Ref(ptr + 0 + 60 + 8, x["Cellular"]["PaymentPortal"]["Url"]); 13224 } 13225 A.store.Ref(ptr + 0 + 76, x["Cellular"]["RoamingState"]); 13226 A.store.Bool(ptr + 0 + 123, "Scanning" in x["Cellular"] ? true : false); 13227 A.store.Bool(ptr + 0 + 80, x["Cellular"]["Scanning"] ? true : false); 13228 13229 if (typeof x["Cellular"]["ServingOperator"] === "undefined") { 13230 A.store.Bool(ptr + 0 + 84 + 12, false); 13231 A.store.Ref(ptr + 0 + 84 + 0, undefined); 13232 A.store.Ref(ptr + 0 + 84 + 4, undefined); 13233 A.store.Ref(ptr + 0 + 84 + 8, undefined); 13234 } else { 13235 A.store.Bool(ptr + 0 + 84 + 12, true); 13236 A.store.Ref(ptr + 0 + 84 + 0, x["Cellular"]["ServingOperator"]["Name"]); 13237 A.store.Ref(ptr + 0 + 84 + 4, x["Cellular"]["ServingOperator"]["Code"]); 13238 A.store.Ref(ptr + 0 + 84 + 8, x["Cellular"]["ServingOperator"]["Country"]); 13239 } 13240 13241 if (typeof x["Cellular"]["SIMLockStatus"] === "undefined") { 13242 A.store.Bool(ptr + 0 + 100 + 14, false); 13243 A.store.Ref(ptr + 0 + 100 + 0, undefined); 13244 A.store.Bool(ptr + 0 + 100 + 12, false); 13245 A.store.Bool(ptr + 0 + 100 + 4, false); 13246 A.store.Bool(ptr + 0 + 100 + 13, false); 13247 A.store.Int32(ptr + 0 + 100 + 8, 0); 13248 } else { 13249 A.store.Bool(ptr + 0 + 100 + 14, true); 13250 A.store.Ref(ptr + 0 + 100 + 0, x["Cellular"]["SIMLockStatus"]["LockType"]); 13251 A.store.Bool(ptr + 0 + 100 + 12, "LockEnabled" in x["Cellular"]["SIMLockStatus"] ? true : false); 13252 A.store.Bool(ptr + 0 + 100 + 4, x["Cellular"]["SIMLockStatus"]["LockEnabled"] ? true : false); 13253 A.store.Bool(ptr + 0 + 100 + 13, "RetriesLeft" in x["Cellular"]["SIMLockStatus"] ? true : false); 13254 A.store.Int32( 13255 ptr + 0 + 100 + 8, 13256 x["Cellular"]["SIMLockStatus"]["RetriesLeft"] === undefined 13257 ? 0 13258 : (x["Cellular"]["SIMLockStatus"]["RetriesLeft"] as number) 13259 ); 13260 } 13261 A.store.Bool(ptr + 0 + 124, "SIMPresent" in x["Cellular"] ? true : false); 13262 A.store.Bool(ptr + 0 + 115, x["Cellular"]["SIMPresent"] ? true : false); 13263 A.store.Bool(ptr + 0 + 125, "SignalStrength" in x["Cellular"] ? true : false); 13264 A.store.Int32( 13265 ptr + 0 + 116, 13266 x["Cellular"]["SignalStrength"] === undefined ? 0 : (x["Cellular"]["SignalStrength"] as number) 13267 ); 13268 A.store.Bool(ptr + 0 + 126, "SupportNetworkScan" in x["Cellular"] ? true : false); 13269 A.store.Bool(ptr + 0 + 120, x["Cellular"]["SupportNetworkScan"] ? true : false); 13270 } 13271 13272 if (typeof x["Ethernet"] === "undefined") { 13273 A.store.Bool(ptr + 128 + 140, false); 13274 A.store.Bool(ptr + 128 + 139, false); 13275 A.store.Bool(ptr + 128 + 0, false); 13276 A.store.Ref(ptr + 128 + 4, undefined); 13277 13278 A.store.Bool(ptr + 128 + 8 + 130, false); 13279 A.store.Ref(ptr + 128 + 8 + 0, undefined); 13280 13281 A.store.Bool(ptr + 128 + 8 + 4 + 45, false); 13282 A.store.Ref(ptr + 128 + 8 + 4 + 0, undefined); 13283 13284 A.store.Bool(ptr + 128 + 8 + 4 + 4 + 16, false); 13285 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 0, undefined); 13286 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 4, undefined); 13287 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 8, undefined); 13288 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 12, undefined); 13289 A.store.Ref(ptr + 128 + 8 + 4 + 24, undefined); 13290 13291 A.store.Bool(ptr + 128 + 8 + 4 + 28 + 16, false); 13292 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 0, undefined); 13293 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 4, undefined); 13294 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 8, undefined); 13295 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 12, undefined); 13296 A.store.Ref(ptr + 128 + 8 + 52, undefined); 13297 A.store.Ref(ptr + 128 + 8 + 56, undefined); 13298 A.store.Ref(ptr + 128 + 8 + 60, undefined); 13299 A.store.Enum(ptr + 128 + 8 + 64, -1); 13300 A.store.Ref(ptr + 128 + 8 + 68, undefined); 13301 A.store.Ref(ptr + 128 + 8 + 72, undefined); 13302 A.store.Ref(ptr + 128 + 8 + 76, undefined); 13303 A.store.Ref(ptr + 128 + 8 + 80, undefined); 13304 A.store.Bool(ptr + 128 + 8 + 127, false); 13305 A.store.Bool(ptr + 128 + 8 + 84, false); 13306 A.store.Ref(ptr + 128 + 8 + 88, undefined); 13307 A.store.Ref(ptr + 128 + 8 + 92, undefined); 13308 13309 A.store.Bool(ptr + 128 + 8 + 96 + 28, false); 13310 A.store.Ref(ptr + 128 + 8 + 96 + 0, undefined); 13311 A.store.Ref(ptr + 128 + 8 + 96 + 4, undefined); 13312 A.store.Ref(ptr + 128 + 8 + 96 + 8, undefined); 13313 A.store.Ref(ptr + 128 + 8 + 96 + 12, undefined); 13314 A.store.Ref(ptr + 128 + 8 + 96 + 16, undefined); 13315 A.store.Ref(ptr + 128 + 8 + 96 + 20, undefined); 13316 A.store.Bool(ptr + 128 + 8 + 96 + 26, false); 13317 A.store.Bool(ptr + 128 + 8 + 96 + 24, false); 13318 A.store.Bool(ptr + 128 + 8 + 96 + 27, false); 13319 A.store.Bool(ptr + 128 + 8 + 96 + 25, false); 13320 A.store.Bool(ptr + 128 + 8 + 128, false); 13321 A.store.Bool(ptr + 128 + 8 + 125, false); 13322 A.store.Bool(ptr + 128 + 8 + 129, false); 13323 A.store.Bool(ptr + 128 + 8 + 126, false); 13324 } else { 13325 A.store.Bool(ptr + 128 + 140, true); 13326 A.store.Bool(ptr + 128 + 139, "AutoConnect" in x["Ethernet"] ? true : false); 13327 A.store.Bool(ptr + 128 + 0, x["Ethernet"]["AutoConnect"] ? true : false); 13328 A.store.Ref(ptr + 128 + 4, x["Ethernet"]["Authentication"]); 13329 13330 if (typeof x["Ethernet"]["EAP"] === "undefined") { 13331 A.store.Bool(ptr + 128 + 8 + 130, false); 13332 A.store.Ref(ptr + 128 + 8 + 0, undefined); 13333 13334 A.store.Bool(ptr + 128 + 8 + 4 + 45, false); 13335 A.store.Ref(ptr + 128 + 8 + 4 + 0, undefined); 13336 13337 A.store.Bool(ptr + 128 + 8 + 4 + 4 + 16, false); 13338 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 0, undefined); 13339 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 4, undefined); 13340 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 8, undefined); 13341 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 12, undefined); 13342 A.store.Ref(ptr + 128 + 8 + 4 + 24, undefined); 13343 13344 A.store.Bool(ptr + 128 + 8 + 4 + 28 + 16, false); 13345 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 0, undefined); 13346 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 4, undefined); 13347 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 8, undefined); 13348 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 12, undefined); 13349 A.store.Ref(ptr + 128 + 8 + 52, undefined); 13350 A.store.Ref(ptr + 128 + 8 + 56, undefined); 13351 A.store.Ref(ptr + 128 + 8 + 60, undefined); 13352 A.store.Enum(ptr + 128 + 8 + 64, -1); 13353 A.store.Ref(ptr + 128 + 8 + 68, undefined); 13354 A.store.Ref(ptr + 128 + 8 + 72, undefined); 13355 A.store.Ref(ptr + 128 + 8 + 76, undefined); 13356 A.store.Ref(ptr + 128 + 8 + 80, undefined); 13357 A.store.Bool(ptr + 128 + 8 + 127, false); 13358 A.store.Bool(ptr + 128 + 8 + 84, false); 13359 A.store.Ref(ptr + 128 + 8 + 88, undefined); 13360 A.store.Ref(ptr + 128 + 8 + 92, undefined); 13361 13362 A.store.Bool(ptr + 128 + 8 + 96 + 28, false); 13363 A.store.Ref(ptr + 128 + 8 + 96 + 0, undefined); 13364 A.store.Ref(ptr + 128 + 8 + 96 + 4, undefined); 13365 A.store.Ref(ptr + 128 + 8 + 96 + 8, undefined); 13366 A.store.Ref(ptr + 128 + 8 + 96 + 12, undefined); 13367 A.store.Ref(ptr + 128 + 8 + 96 + 16, undefined); 13368 A.store.Ref(ptr + 128 + 8 + 96 + 20, undefined); 13369 A.store.Bool(ptr + 128 + 8 + 96 + 26, false); 13370 A.store.Bool(ptr + 128 + 8 + 96 + 24, false); 13371 A.store.Bool(ptr + 128 + 8 + 96 + 27, false); 13372 A.store.Bool(ptr + 128 + 8 + 96 + 25, false); 13373 A.store.Bool(ptr + 128 + 8 + 128, false); 13374 A.store.Bool(ptr + 128 + 8 + 125, false); 13375 A.store.Bool(ptr + 128 + 8 + 129, false); 13376 A.store.Bool(ptr + 128 + 8 + 126, false); 13377 } else { 13378 A.store.Bool(ptr + 128 + 8 + 130, true); 13379 A.store.Ref(ptr + 128 + 8 + 0, x["Ethernet"]["EAP"]["AnonymousIdentity"]); 13380 13381 if (typeof x["Ethernet"]["EAP"]["ClientCertPattern"] === "undefined") { 13382 A.store.Bool(ptr + 128 + 8 + 4 + 45, false); 13383 A.store.Ref(ptr + 128 + 8 + 4 + 0, undefined); 13384 13385 A.store.Bool(ptr + 128 + 8 + 4 + 4 + 16, false); 13386 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 0, undefined); 13387 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 4, undefined); 13388 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 8, undefined); 13389 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 12, undefined); 13390 A.store.Ref(ptr + 128 + 8 + 4 + 24, undefined); 13391 13392 A.store.Bool(ptr + 128 + 8 + 4 + 28 + 16, false); 13393 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 0, undefined); 13394 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 4, undefined); 13395 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 8, undefined); 13396 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 12, undefined); 13397 } else { 13398 A.store.Bool(ptr + 128 + 8 + 4 + 45, true); 13399 A.store.Ref(ptr + 128 + 8 + 4 + 0, x["Ethernet"]["EAP"]["ClientCertPattern"]["EnrollmentURI"]); 13400 13401 if (typeof x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"] === "undefined") { 13402 A.store.Bool(ptr + 128 + 8 + 4 + 4 + 16, false); 13403 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 0, undefined); 13404 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 4, undefined); 13405 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 8, undefined); 13406 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 12, undefined); 13407 } else { 13408 A.store.Bool(ptr + 128 + 8 + 4 + 4 + 16, true); 13409 A.store.Ref( 13410 ptr + 128 + 8 + 4 + 4 + 0, 13411 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] 13412 ); 13413 A.store.Ref(ptr + 128 + 8 + 4 + 4 + 4, x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"]); 13414 A.store.Ref( 13415 ptr + 128 + 8 + 4 + 4 + 8, 13416 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] 13417 ); 13418 A.store.Ref( 13419 ptr + 128 + 8 + 4 + 4 + 12, 13420 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] 13421 ); 13422 } 13423 A.store.Ref(ptr + 128 + 8 + 4 + 24, x["Ethernet"]["EAP"]["ClientCertPattern"]["IssuerCARef"]); 13424 13425 if (typeof x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"] === "undefined") { 13426 A.store.Bool(ptr + 128 + 8 + 4 + 28 + 16, false); 13427 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 0, undefined); 13428 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 4, undefined); 13429 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 8, undefined); 13430 A.store.Ref(ptr + 128 + 8 + 4 + 28 + 12, undefined); 13431 } else { 13432 A.store.Bool(ptr + 128 + 8 + 4 + 28 + 16, true); 13433 A.store.Ref( 13434 ptr + 128 + 8 + 4 + 28 + 0, 13435 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] 13436 ); 13437 A.store.Ref( 13438 ptr + 128 + 8 + 4 + 28 + 4, 13439 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] 13440 ); 13441 A.store.Ref( 13442 ptr + 128 + 8 + 4 + 28 + 8, 13443 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] 13444 ); 13445 A.store.Ref( 13446 ptr + 128 + 8 + 4 + 28 + 12, 13447 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] 13448 ); 13449 } 13450 } 13451 A.store.Ref(ptr + 128 + 8 + 52, x["Ethernet"]["EAP"]["ClientCertPKCS11Id"]); 13452 A.store.Ref(ptr + 128 + 8 + 56, x["Ethernet"]["EAP"]["ClientCertProvisioningProfileId"]); 13453 A.store.Ref(ptr + 128 + 8 + 60, x["Ethernet"]["EAP"]["ClientCertRef"]); 13454 A.store.Enum( 13455 ptr + 128 + 8 + 64, 13456 ["Ref", "Pattern"].indexOf(x["Ethernet"]["EAP"]["ClientCertType"] as string) 13457 ); 13458 A.store.Ref(ptr + 128 + 8 + 68, x["Ethernet"]["EAP"]["Identity"]); 13459 A.store.Ref(ptr + 128 + 8 + 72, x["Ethernet"]["EAP"]["Inner"]); 13460 A.store.Ref(ptr + 128 + 8 + 76, x["Ethernet"]["EAP"]["Outer"]); 13461 A.store.Ref(ptr + 128 + 8 + 80, x["Ethernet"]["EAP"]["Password"]); 13462 A.store.Bool(ptr + 128 + 8 + 127, "SaveCredentials" in x["Ethernet"]["EAP"] ? true : false); 13463 A.store.Bool(ptr + 128 + 8 + 84, x["Ethernet"]["EAP"]["SaveCredentials"] ? true : false); 13464 A.store.Ref(ptr + 128 + 8 + 88, x["Ethernet"]["EAP"]["ServerCAPEMs"]); 13465 A.store.Ref(ptr + 128 + 8 + 92, x["Ethernet"]["EAP"]["ServerCARefs"]); 13466 13467 if (typeof x["Ethernet"]["EAP"]["SubjectMatch"] === "undefined") { 13468 A.store.Bool(ptr + 128 + 8 + 96 + 28, false); 13469 A.store.Ref(ptr + 128 + 8 + 96 + 0, undefined); 13470 A.store.Ref(ptr + 128 + 8 + 96 + 4, undefined); 13471 A.store.Ref(ptr + 128 + 8 + 96 + 8, undefined); 13472 A.store.Ref(ptr + 128 + 8 + 96 + 12, undefined); 13473 A.store.Ref(ptr + 128 + 8 + 96 + 16, undefined); 13474 A.store.Ref(ptr + 128 + 8 + 96 + 20, undefined); 13475 A.store.Bool(ptr + 128 + 8 + 96 + 26, false); 13476 A.store.Bool(ptr + 128 + 8 + 96 + 24, false); 13477 A.store.Bool(ptr + 128 + 8 + 96 + 27, false); 13478 A.store.Bool(ptr + 128 + 8 + 96 + 25, false); 13479 } else { 13480 A.store.Bool(ptr + 128 + 8 + 96 + 28, true); 13481 A.store.Ref(ptr + 128 + 8 + 96 + 0, x["Ethernet"]["EAP"]["SubjectMatch"]["Active"]); 13482 A.store.Ref(ptr + 128 + 8 + 96 + 4, x["Ethernet"]["EAP"]["SubjectMatch"]["Effective"]); 13483 A.store.Ref(ptr + 128 + 8 + 96 + 8, x["Ethernet"]["EAP"]["SubjectMatch"]["UserPolicy"]); 13484 A.store.Ref(ptr + 128 + 8 + 96 + 12, x["Ethernet"]["EAP"]["SubjectMatch"]["DevicePolicy"]); 13485 A.store.Ref(ptr + 128 + 8 + 96 + 16, x["Ethernet"]["EAP"]["SubjectMatch"]["UserSetting"]); 13486 A.store.Ref(ptr + 128 + 8 + 96 + 20, x["Ethernet"]["EAP"]["SubjectMatch"]["SharedSetting"]); 13487 A.store.Bool( 13488 ptr + 128 + 8 + 96 + 26, 13489 "UserEditable" in x["Ethernet"]["EAP"]["SubjectMatch"] ? true : false 13490 ); 13491 A.store.Bool( 13492 ptr + 128 + 8 + 96 + 24, 13493 x["Ethernet"]["EAP"]["SubjectMatch"]["UserEditable"] ? true : false 13494 ); 13495 A.store.Bool( 13496 ptr + 128 + 8 + 96 + 27, 13497 "DeviceEditable" in x["Ethernet"]["EAP"]["SubjectMatch"] ? true : false 13498 ); 13499 A.store.Bool( 13500 ptr + 128 + 8 + 96 + 25, 13501 x["Ethernet"]["EAP"]["SubjectMatch"]["DeviceEditable"] ? true : false 13502 ); 13503 } 13504 A.store.Bool(ptr + 128 + 8 + 128, "UseProactiveKeyCaching" in x["Ethernet"]["EAP"] ? true : false); 13505 A.store.Bool(ptr + 128 + 8 + 125, x["Ethernet"]["EAP"]["UseProactiveKeyCaching"] ? true : false); 13506 A.store.Bool(ptr + 128 + 8 + 129, "UseSystemCAs" in x["Ethernet"]["EAP"] ? true : false); 13507 A.store.Bool(ptr + 128 + 8 + 126, x["Ethernet"]["EAP"]["UseSystemCAs"] ? true : false); 13508 } 13509 } 13510 A.store.Ref(ptr + 272, x["GUID"]); 13511 A.store.Enum(ptr + 276, ["DHCP", "Static"].indexOf(x["IPAddressConfigType"] as string)); 13512 A.store.Ref(ptr + 280, x["Name"]); 13513 A.store.Enum(ptr + 284, ["DHCP", "Static"].indexOf(x["NameServersConfigType"] as string)); 13514 A.store.Bool(ptr + 633, "Priority" in x ? true : false); 13515 A.store.Int32(ptr + 288, x["Priority"] === undefined ? 0 : (x["Priority"] as number)); 13516 A.store.Enum( 13517 ptr + 292, 13518 ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"].indexOf(x["Type"] as string) 13519 ); 13520 13521 if (typeof x["VPN"] === "undefined") { 13522 A.store.Bool(ptr + 296 + 13, false); 13523 A.store.Bool(ptr + 296 + 12, false); 13524 A.store.Bool(ptr + 296 + 0, false); 13525 A.store.Ref(ptr + 296 + 4, undefined); 13526 A.store.Ref(ptr + 296 + 8, undefined); 13527 } else { 13528 A.store.Bool(ptr + 296 + 13, true); 13529 A.store.Bool(ptr + 296 + 12, "AutoConnect" in x["VPN"] ? true : false); 13530 A.store.Bool(ptr + 296 + 0, x["VPN"]["AutoConnect"] ? true : false); 13531 A.store.Ref(ptr + 296 + 4, x["VPN"]["Host"]); 13532 A.store.Ref(ptr + 296 + 8, x["VPN"]["Type"]); 13533 } 13534 13535 if (typeof x["WiFi"] === "undefined") { 13536 A.store.Bool(ptr + 312 + 182, false); 13537 A.store.Bool(ptr + 312 + 176, false); 13538 A.store.Bool(ptr + 312 + 0, false); 13539 A.store.Bool(ptr + 312 + 177, false); 13540 A.store.Bool(ptr + 312 + 1, false); 13541 A.store.Ref(ptr + 312 + 4, undefined); 13542 13543 A.store.Bool(ptr + 312 + 8 + 130, false); 13544 A.store.Ref(ptr + 312 + 8 + 0, undefined); 13545 13546 A.store.Bool(ptr + 312 + 8 + 4 + 45, false); 13547 A.store.Ref(ptr + 312 + 8 + 4 + 0, undefined); 13548 13549 A.store.Bool(ptr + 312 + 8 + 4 + 4 + 16, false); 13550 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 0, undefined); 13551 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 4, undefined); 13552 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 8, undefined); 13553 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 12, undefined); 13554 A.store.Ref(ptr + 312 + 8 + 4 + 24, undefined); 13555 13556 A.store.Bool(ptr + 312 + 8 + 4 + 28 + 16, false); 13557 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 0, undefined); 13558 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 4, undefined); 13559 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 8, undefined); 13560 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 12, undefined); 13561 A.store.Ref(ptr + 312 + 8 + 52, undefined); 13562 A.store.Ref(ptr + 312 + 8 + 56, undefined); 13563 A.store.Ref(ptr + 312 + 8 + 60, undefined); 13564 A.store.Enum(ptr + 312 + 8 + 64, -1); 13565 A.store.Ref(ptr + 312 + 8 + 68, undefined); 13566 A.store.Ref(ptr + 312 + 8 + 72, undefined); 13567 A.store.Ref(ptr + 312 + 8 + 76, undefined); 13568 A.store.Ref(ptr + 312 + 8 + 80, undefined); 13569 A.store.Bool(ptr + 312 + 8 + 127, false); 13570 A.store.Bool(ptr + 312 + 8 + 84, false); 13571 A.store.Ref(ptr + 312 + 8 + 88, undefined); 13572 A.store.Ref(ptr + 312 + 8 + 92, undefined); 13573 13574 A.store.Bool(ptr + 312 + 8 + 96 + 28, false); 13575 A.store.Ref(ptr + 312 + 8 + 96 + 0, undefined); 13576 A.store.Ref(ptr + 312 + 8 + 96 + 4, undefined); 13577 A.store.Ref(ptr + 312 + 8 + 96 + 8, undefined); 13578 A.store.Ref(ptr + 312 + 8 + 96 + 12, undefined); 13579 A.store.Ref(ptr + 312 + 8 + 96 + 16, undefined); 13580 A.store.Ref(ptr + 312 + 8 + 96 + 20, undefined); 13581 A.store.Bool(ptr + 312 + 8 + 96 + 26, false); 13582 A.store.Bool(ptr + 312 + 8 + 96 + 24, false); 13583 A.store.Bool(ptr + 312 + 8 + 96 + 27, false); 13584 A.store.Bool(ptr + 312 + 8 + 96 + 25, false); 13585 A.store.Bool(ptr + 312 + 8 + 128, false); 13586 A.store.Bool(ptr + 312 + 8 + 125, false); 13587 A.store.Bool(ptr + 312 + 8 + 129, false); 13588 A.store.Bool(ptr + 312 + 8 + 126, false); 13589 A.store.Bool(ptr + 312 + 178, false); 13590 A.store.Int32(ptr + 312 + 140, 0); 13591 A.store.Ref(ptr + 312 + 144, undefined); 13592 A.store.Ref(ptr + 312 + 148, undefined); 13593 A.store.Bool(ptr + 312 + 179, false); 13594 A.store.Bool(ptr + 312 + 152, false); 13595 A.store.Ref(ptr + 312 + 156, undefined); 13596 A.store.Bool(ptr + 312 + 180, false); 13597 A.store.Int32(ptr + 312 + 160, 0); 13598 A.store.Ref(ptr + 312 + 164, undefined); 13599 A.store.Ref(ptr + 312 + 168, undefined); 13600 A.store.Bool(ptr + 312 + 181, false); 13601 A.store.Int32(ptr + 312 + 172, 0); 13602 } else { 13603 A.store.Bool(ptr + 312 + 182, true); 13604 A.store.Bool(ptr + 312 + 176, "AllowGatewayARPPolling" in x["WiFi"] ? true : false); 13605 A.store.Bool(ptr + 312 + 0, x["WiFi"]["AllowGatewayARPPolling"] ? true : false); 13606 A.store.Bool(ptr + 312 + 177, "AutoConnect" in x["WiFi"] ? true : false); 13607 A.store.Bool(ptr + 312 + 1, x["WiFi"]["AutoConnect"] ? true : false); 13608 A.store.Ref(ptr + 312 + 4, x["WiFi"]["BSSID"]); 13609 13610 if (typeof x["WiFi"]["EAP"] === "undefined") { 13611 A.store.Bool(ptr + 312 + 8 + 130, false); 13612 A.store.Ref(ptr + 312 + 8 + 0, undefined); 13613 13614 A.store.Bool(ptr + 312 + 8 + 4 + 45, false); 13615 A.store.Ref(ptr + 312 + 8 + 4 + 0, undefined); 13616 13617 A.store.Bool(ptr + 312 + 8 + 4 + 4 + 16, false); 13618 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 0, undefined); 13619 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 4, undefined); 13620 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 8, undefined); 13621 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 12, undefined); 13622 A.store.Ref(ptr + 312 + 8 + 4 + 24, undefined); 13623 13624 A.store.Bool(ptr + 312 + 8 + 4 + 28 + 16, false); 13625 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 0, undefined); 13626 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 4, undefined); 13627 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 8, undefined); 13628 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 12, undefined); 13629 A.store.Ref(ptr + 312 + 8 + 52, undefined); 13630 A.store.Ref(ptr + 312 + 8 + 56, undefined); 13631 A.store.Ref(ptr + 312 + 8 + 60, undefined); 13632 A.store.Enum(ptr + 312 + 8 + 64, -1); 13633 A.store.Ref(ptr + 312 + 8 + 68, undefined); 13634 A.store.Ref(ptr + 312 + 8 + 72, undefined); 13635 A.store.Ref(ptr + 312 + 8 + 76, undefined); 13636 A.store.Ref(ptr + 312 + 8 + 80, undefined); 13637 A.store.Bool(ptr + 312 + 8 + 127, false); 13638 A.store.Bool(ptr + 312 + 8 + 84, false); 13639 A.store.Ref(ptr + 312 + 8 + 88, undefined); 13640 A.store.Ref(ptr + 312 + 8 + 92, undefined); 13641 13642 A.store.Bool(ptr + 312 + 8 + 96 + 28, false); 13643 A.store.Ref(ptr + 312 + 8 + 96 + 0, undefined); 13644 A.store.Ref(ptr + 312 + 8 + 96 + 4, undefined); 13645 A.store.Ref(ptr + 312 + 8 + 96 + 8, undefined); 13646 A.store.Ref(ptr + 312 + 8 + 96 + 12, undefined); 13647 A.store.Ref(ptr + 312 + 8 + 96 + 16, undefined); 13648 A.store.Ref(ptr + 312 + 8 + 96 + 20, undefined); 13649 A.store.Bool(ptr + 312 + 8 + 96 + 26, false); 13650 A.store.Bool(ptr + 312 + 8 + 96 + 24, false); 13651 A.store.Bool(ptr + 312 + 8 + 96 + 27, false); 13652 A.store.Bool(ptr + 312 + 8 + 96 + 25, false); 13653 A.store.Bool(ptr + 312 + 8 + 128, false); 13654 A.store.Bool(ptr + 312 + 8 + 125, false); 13655 A.store.Bool(ptr + 312 + 8 + 129, false); 13656 A.store.Bool(ptr + 312 + 8 + 126, false); 13657 } else { 13658 A.store.Bool(ptr + 312 + 8 + 130, true); 13659 A.store.Ref(ptr + 312 + 8 + 0, x["WiFi"]["EAP"]["AnonymousIdentity"]); 13660 13661 if (typeof x["WiFi"]["EAP"]["ClientCertPattern"] === "undefined") { 13662 A.store.Bool(ptr + 312 + 8 + 4 + 45, false); 13663 A.store.Ref(ptr + 312 + 8 + 4 + 0, undefined); 13664 13665 A.store.Bool(ptr + 312 + 8 + 4 + 4 + 16, false); 13666 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 0, undefined); 13667 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 4, undefined); 13668 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 8, undefined); 13669 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 12, undefined); 13670 A.store.Ref(ptr + 312 + 8 + 4 + 24, undefined); 13671 13672 A.store.Bool(ptr + 312 + 8 + 4 + 28 + 16, false); 13673 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 0, undefined); 13674 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 4, undefined); 13675 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 8, undefined); 13676 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 12, undefined); 13677 } else { 13678 A.store.Bool(ptr + 312 + 8 + 4 + 45, true); 13679 A.store.Ref(ptr + 312 + 8 + 4 + 0, x["WiFi"]["EAP"]["ClientCertPattern"]["EnrollmentURI"]); 13680 13681 if (typeof x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"] === "undefined") { 13682 A.store.Bool(ptr + 312 + 8 + 4 + 4 + 16, false); 13683 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 0, undefined); 13684 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 4, undefined); 13685 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 8, undefined); 13686 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 12, undefined); 13687 } else { 13688 A.store.Bool(ptr + 312 + 8 + 4 + 4 + 16, true); 13689 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 0, x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"]); 13690 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 4, x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"]); 13691 A.store.Ref(ptr + 312 + 8 + 4 + 4 + 8, x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"]); 13692 A.store.Ref( 13693 ptr + 312 + 8 + 4 + 4 + 12, 13694 x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] 13695 ); 13696 } 13697 A.store.Ref(ptr + 312 + 8 + 4 + 24, x["WiFi"]["EAP"]["ClientCertPattern"]["IssuerCARef"]); 13698 13699 if (typeof x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"] === "undefined") { 13700 A.store.Bool(ptr + 312 + 8 + 4 + 28 + 16, false); 13701 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 0, undefined); 13702 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 4, undefined); 13703 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 8, undefined); 13704 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 12, undefined); 13705 } else { 13706 A.store.Bool(ptr + 312 + 8 + 4 + 28 + 16, true); 13707 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 0, x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"]); 13708 A.store.Ref(ptr + 312 + 8 + 4 + 28 + 4, x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"]); 13709 A.store.Ref( 13710 ptr + 312 + 8 + 4 + 28 + 8, 13711 x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] 13712 ); 13713 A.store.Ref( 13714 ptr + 312 + 8 + 4 + 28 + 12, 13715 x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] 13716 ); 13717 } 13718 } 13719 A.store.Ref(ptr + 312 + 8 + 52, x["WiFi"]["EAP"]["ClientCertPKCS11Id"]); 13720 A.store.Ref(ptr + 312 + 8 + 56, x["WiFi"]["EAP"]["ClientCertProvisioningProfileId"]); 13721 A.store.Ref(ptr + 312 + 8 + 60, x["WiFi"]["EAP"]["ClientCertRef"]); 13722 A.store.Enum(ptr + 312 + 8 + 64, ["Ref", "Pattern"].indexOf(x["WiFi"]["EAP"]["ClientCertType"] as string)); 13723 A.store.Ref(ptr + 312 + 8 + 68, x["WiFi"]["EAP"]["Identity"]); 13724 A.store.Ref(ptr + 312 + 8 + 72, x["WiFi"]["EAP"]["Inner"]); 13725 A.store.Ref(ptr + 312 + 8 + 76, x["WiFi"]["EAP"]["Outer"]); 13726 A.store.Ref(ptr + 312 + 8 + 80, x["WiFi"]["EAP"]["Password"]); 13727 A.store.Bool(ptr + 312 + 8 + 127, "SaveCredentials" in x["WiFi"]["EAP"] ? true : false); 13728 A.store.Bool(ptr + 312 + 8 + 84, x["WiFi"]["EAP"]["SaveCredentials"] ? true : false); 13729 A.store.Ref(ptr + 312 + 8 + 88, x["WiFi"]["EAP"]["ServerCAPEMs"]); 13730 A.store.Ref(ptr + 312 + 8 + 92, x["WiFi"]["EAP"]["ServerCARefs"]); 13731 13732 if (typeof x["WiFi"]["EAP"]["SubjectMatch"] === "undefined") { 13733 A.store.Bool(ptr + 312 + 8 + 96 + 28, false); 13734 A.store.Ref(ptr + 312 + 8 + 96 + 0, undefined); 13735 A.store.Ref(ptr + 312 + 8 + 96 + 4, undefined); 13736 A.store.Ref(ptr + 312 + 8 + 96 + 8, undefined); 13737 A.store.Ref(ptr + 312 + 8 + 96 + 12, undefined); 13738 A.store.Ref(ptr + 312 + 8 + 96 + 16, undefined); 13739 A.store.Ref(ptr + 312 + 8 + 96 + 20, undefined); 13740 A.store.Bool(ptr + 312 + 8 + 96 + 26, false); 13741 A.store.Bool(ptr + 312 + 8 + 96 + 24, false); 13742 A.store.Bool(ptr + 312 + 8 + 96 + 27, false); 13743 A.store.Bool(ptr + 312 + 8 + 96 + 25, false); 13744 } else { 13745 A.store.Bool(ptr + 312 + 8 + 96 + 28, true); 13746 A.store.Ref(ptr + 312 + 8 + 96 + 0, x["WiFi"]["EAP"]["SubjectMatch"]["Active"]); 13747 A.store.Ref(ptr + 312 + 8 + 96 + 4, x["WiFi"]["EAP"]["SubjectMatch"]["Effective"]); 13748 A.store.Ref(ptr + 312 + 8 + 96 + 8, x["WiFi"]["EAP"]["SubjectMatch"]["UserPolicy"]); 13749 A.store.Ref(ptr + 312 + 8 + 96 + 12, x["WiFi"]["EAP"]["SubjectMatch"]["DevicePolicy"]); 13750 A.store.Ref(ptr + 312 + 8 + 96 + 16, x["WiFi"]["EAP"]["SubjectMatch"]["UserSetting"]); 13751 A.store.Ref(ptr + 312 + 8 + 96 + 20, x["WiFi"]["EAP"]["SubjectMatch"]["SharedSetting"]); 13752 A.store.Bool(ptr + 312 + 8 + 96 + 26, "UserEditable" in x["WiFi"]["EAP"]["SubjectMatch"] ? true : false); 13753 A.store.Bool(ptr + 312 + 8 + 96 + 24, x["WiFi"]["EAP"]["SubjectMatch"]["UserEditable"] ? true : false); 13754 A.store.Bool( 13755 ptr + 312 + 8 + 96 + 27, 13756 "DeviceEditable" in x["WiFi"]["EAP"]["SubjectMatch"] ? true : false 13757 ); 13758 A.store.Bool(ptr + 312 + 8 + 96 + 25, x["WiFi"]["EAP"]["SubjectMatch"]["DeviceEditable"] ? true : false); 13759 } 13760 A.store.Bool(ptr + 312 + 8 + 128, "UseProactiveKeyCaching" in x["WiFi"]["EAP"] ? true : false); 13761 A.store.Bool(ptr + 312 + 8 + 125, x["WiFi"]["EAP"]["UseProactiveKeyCaching"] ? true : false); 13762 A.store.Bool(ptr + 312 + 8 + 129, "UseSystemCAs" in x["WiFi"]["EAP"] ? true : false); 13763 A.store.Bool(ptr + 312 + 8 + 126, x["WiFi"]["EAP"]["UseSystemCAs"] ? true : false); 13764 } 13765 A.store.Bool(ptr + 312 + 178, "Frequency" in x["WiFi"] ? true : false); 13766 A.store.Int32(ptr + 312 + 140, x["WiFi"]["Frequency"] === undefined ? 0 : (x["WiFi"]["Frequency"] as number)); 13767 A.store.Ref(ptr + 312 + 144, x["WiFi"]["FrequencyList"]); 13768 A.store.Ref(ptr + 312 + 148, x["WiFi"]["HexSSID"]); 13769 A.store.Bool(ptr + 312 + 179, "HiddenSSID" in x["WiFi"] ? true : false); 13770 A.store.Bool(ptr + 312 + 152, x["WiFi"]["HiddenSSID"] ? true : false); 13771 A.store.Ref(ptr + 312 + 156, x["WiFi"]["Passphrase"]); 13772 A.store.Bool(ptr + 312 + 180, "RoamThreshold" in x["WiFi"] ? true : false); 13773 A.store.Int32( 13774 ptr + 312 + 160, 13775 x["WiFi"]["RoamThreshold"] === undefined ? 0 : (x["WiFi"]["RoamThreshold"] as number) 13776 ); 13777 A.store.Ref(ptr + 312 + 164, x["WiFi"]["SSID"]); 13778 A.store.Ref(ptr + 312 + 168, x["WiFi"]["Security"]); 13779 A.store.Bool(ptr + 312 + 181, "SignalStrength" in x["WiFi"] ? true : false); 13780 A.store.Int32( 13781 ptr + 312 + 172, 13782 x["WiFi"]["SignalStrength"] === undefined ? 0 : (x["WiFi"]["SignalStrength"] as number) 13783 ); 13784 } 13785 13786 if (typeof x["WiMAX"] === "undefined") { 13787 A.store.Bool(ptr + 496 + 136, false); 13788 A.store.Bool(ptr + 496 + 135, false); 13789 A.store.Bool(ptr + 496 + 0, false); 13790 13791 A.store.Bool(ptr + 496 + 4 + 130, false); 13792 A.store.Ref(ptr + 496 + 4 + 0, undefined); 13793 13794 A.store.Bool(ptr + 496 + 4 + 4 + 45, false); 13795 A.store.Ref(ptr + 496 + 4 + 4 + 0, undefined); 13796 13797 A.store.Bool(ptr + 496 + 4 + 4 + 4 + 16, false); 13798 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 0, undefined); 13799 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 4, undefined); 13800 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 8, undefined); 13801 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 12, undefined); 13802 A.store.Ref(ptr + 496 + 4 + 4 + 24, undefined); 13803 13804 A.store.Bool(ptr + 496 + 4 + 4 + 28 + 16, false); 13805 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 0, undefined); 13806 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 4, undefined); 13807 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 8, undefined); 13808 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 12, undefined); 13809 A.store.Ref(ptr + 496 + 4 + 52, undefined); 13810 A.store.Ref(ptr + 496 + 4 + 56, undefined); 13811 A.store.Ref(ptr + 496 + 4 + 60, undefined); 13812 A.store.Enum(ptr + 496 + 4 + 64, -1); 13813 A.store.Ref(ptr + 496 + 4 + 68, undefined); 13814 A.store.Ref(ptr + 496 + 4 + 72, undefined); 13815 A.store.Ref(ptr + 496 + 4 + 76, undefined); 13816 A.store.Ref(ptr + 496 + 4 + 80, undefined); 13817 A.store.Bool(ptr + 496 + 4 + 127, false); 13818 A.store.Bool(ptr + 496 + 4 + 84, false); 13819 A.store.Ref(ptr + 496 + 4 + 88, undefined); 13820 A.store.Ref(ptr + 496 + 4 + 92, undefined); 13821 13822 A.store.Bool(ptr + 496 + 4 + 96 + 28, false); 13823 A.store.Ref(ptr + 496 + 4 + 96 + 0, undefined); 13824 A.store.Ref(ptr + 496 + 4 + 96 + 4, undefined); 13825 A.store.Ref(ptr + 496 + 4 + 96 + 8, undefined); 13826 A.store.Ref(ptr + 496 + 4 + 96 + 12, undefined); 13827 A.store.Ref(ptr + 496 + 4 + 96 + 16, undefined); 13828 A.store.Ref(ptr + 496 + 4 + 96 + 20, undefined); 13829 A.store.Bool(ptr + 496 + 4 + 96 + 26, false); 13830 A.store.Bool(ptr + 496 + 4 + 96 + 24, false); 13831 A.store.Bool(ptr + 496 + 4 + 96 + 27, false); 13832 A.store.Bool(ptr + 496 + 4 + 96 + 25, false); 13833 A.store.Bool(ptr + 496 + 4 + 128, false); 13834 A.store.Bool(ptr + 496 + 4 + 125, false); 13835 A.store.Bool(ptr + 496 + 4 + 129, false); 13836 A.store.Bool(ptr + 496 + 4 + 126, false); 13837 } else { 13838 A.store.Bool(ptr + 496 + 136, true); 13839 A.store.Bool(ptr + 496 + 135, "AutoConnect" in x["WiMAX"] ? true : false); 13840 A.store.Bool(ptr + 496 + 0, x["WiMAX"]["AutoConnect"] ? true : false); 13841 13842 if (typeof x["WiMAX"]["EAP"] === "undefined") { 13843 A.store.Bool(ptr + 496 + 4 + 130, false); 13844 A.store.Ref(ptr + 496 + 4 + 0, undefined); 13845 13846 A.store.Bool(ptr + 496 + 4 + 4 + 45, false); 13847 A.store.Ref(ptr + 496 + 4 + 4 + 0, undefined); 13848 13849 A.store.Bool(ptr + 496 + 4 + 4 + 4 + 16, false); 13850 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 0, undefined); 13851 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 4, undefined); 13852 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 8, undefined); 13853 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 12, undefined); 13854 A.store.Ref(ptr + 496 + 4 + 4 + 24, undefined); 13855 13856 A.store.Bool(ptr + 496 + 4 + 4 + 28 + 16, false); 13857 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 0, undefined); 13858 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 4, undefined); 13859 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 8, undefined); 13860 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 12, undefined); 13861 A.store.Ref(ptr + 496 + 4 + 52, undefined); 13862 A.store.Ref(ptr + 496 + 4 + 56, undefined); 13863 A.store.Ref(ptr + 496 + 4 + 60, undefined); 13864 A.store.Enum(ptr + 496 + 4 + 64, -1); 13865 A.store.Ref(ptr + 496 + 4 + 68, undefined); 13866 A.store.Ref(ptr + 496 + 4 + 72, undefined); 13867 A.store.Ref(ptr + 496 + 4 + 76, undefined); 13868 A.store.Ref(ptr + 496 + 4 + 80, undefined); 13869 A.store.Bool(ptr + 496 + 4 + 127, false); 13870 A.store.Bool(ptr + 496 + 4 + 84, false); 13871 A.store.Ref(ptr + 496 + 4 + 88, undefined); 13872 A.store.Ref(ptr + 496 + 4 + 92, undefined); 13873 13874 A.store.Bool(ptr + 496 + 4 + 96 + 28, false); 13875 A.store.Ref(ptr + 496 + 4 + 96 + 0, undefined); 13876 A.store.Ref(ptr + 496 + 4 + 96 + 4, undefined); 13877 A.store.Ref(ptr + 496 + 4 + 96 + 8, undefined); 13878 A.store.Ref(ptr + 496 + 4 + 96 + 12, undefined); 13879 A.store.Ref(ptr + 496 + 4 + 96 + 16, undefined); 13880 A.store.Ref(ptr + 496 + 4 + 96 + 20, undefined); 13881 A.store.Bool(ptr + 496 + 4 + 96 + 26, false); 13882 A.store.Bool(ptr + 496 + 4 + 96 + 24, false); 13883 A.store.Bool(ptr + 496 + 4 + 96 + 27, false); 13884 A.store.Bool(ptr + 496 + 4 + 96 + 25, false); 13885 A.store.Bool(ptr + 496 + 4 + 128, false); 13886 A.store.Bool(ptr + 496 + 4 + 125, false); 13887 A.store.Bool(ptr + 496 + 4 + 129, false); 13888 A.store.Bool(ptr + 496 + 4 + 126, false); 13889 } else { 13890 A.store.Bool(ptr + 496 + 4 + 130, true); 13891 A.store.Ref(ptr + 496 + 4 + 0, x["WiMAX"]["EAP"]["AnonymousIdentity"]); 13892 13893 if (typeof x["WiMAX"]["EAP"]["ClientCertPattern"] === "undefined") { 13894 A.store.Bool(ptr + 496 + 4 + 4 + 45, false); 13895 A.store.Ref(ptr + 496 + 4 + 4 + 0, undefined); 13896 13897 A.store.Bool(ptr + 496 + 4 + 4 + 4 + 16, false); 13898 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 0, undefined); 13899 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 4, undefined); 13900 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 8, undefined); 13901 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 12, undefined); 13902 A.store.Ref(ptr + 496 + 4 + 4 + 24, undefined); 13903 13904 A.store.Bool(ptr + 496 + 4 + 4 + 28 + 16, false); 13905 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 0, undefined); 13906 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 4, undefined); 13907 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 8, undefined); 13908 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 12, undefined); 13909 } else { 13910 A.store.Bool(ptr + 496 + 4 + 4 + 45, true); 13911 A.store.Ref(ptr + 496 + 4 + 4 + 0, x["WiMAX"]["EAP"]["ClientCertPattern"]["EnrollmentURI"]); 13912 13913 if (typeof x["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"] === "undefined") { 13914 A.store.Bool(ptr + 496 + 4 + 4 + 4 + 16, false); 13915 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 0, undefined); 13916 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 4, undefined); 13917 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 8, undefined); 13918 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 12, undefined); 13919 } else { 13920 A.store.Bool(ptr + 496 + 4 + 4 + 4 + 16, true); 13921 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 0, x["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"]); 13922 A.store.Ref(ptr + 496 + 4 + 4 + 4 + 4, x["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"]); 13923 A.store.Ref( 13924 ptr + 496 + 4 + 4 + 4 + 8, 13925 x["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] 13926 ); 13927 A.store.Ref( 13928 ptr + 496 + 4 + 4 + 4 + 12, 13929 x["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] 13930 ); 13931 } 13932 A.store.Ref(ptr + 496 + 4 + 4 + 24, x["WiMAX"]["EAP"]["ClientCertPattern"]["IssuerCARef"]); 13933 13934 if (typeof x["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"] === "undefined") { 13935 A.store.Bool(ptr + 496 + 4 + 4 + 28 + 16, false); 13936 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 0, undefined); 13937 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 4, undefined); 13938 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 8, undefined); 13939 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 12, undefined); 13940 } else { 13941 A.store.Bool(ptr + 496 + 4 + 4 + 28 + 16, true); 13942 A.store.Ref( 13943 ptr + 496 + 4 + 4 + 28 + 0, 13944 x["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] 13945 ); 13946 A.store.Ref(ptr + 496 + 4 + 4 + 28 + 4, x["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"]); 13947 A.store.Ref( 13948 ptr + 496 + 4 + 4 + 28 + 8, 13949 x["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] 13950 ); 13951 A.store.Ref( 13952 ptr + 496 + 4 + 4 + 28 + 12, 13953 x["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] 13954 ); 13955 } 13956 } 13957 A.store.Ref(ptr + 496 + 4 + 52, x["WiMAX"]["EAP"]["ClientCertPKCS11Id"]); 13958 A.store.Ref(ptr + 496 + 4 + 56, x["WiMAX"]["EAP"]["ClientCertProvisioningProfileId"]); 13959 A.store.Ref(ptr + 496 + 4 + 60, x["WiMAX"]["EAP"]["ClientCertRef"]); 13960 A.store.Enum(ptr + 496 + 4 + 64, ["Ref", "Pattern"].indexOf(x["WiMAX"]["EAP"]["ClientCertType"] as string)); 13961 A.store.Ref(ptr + 496 + 4 + 68, x["WiMAX"]["EAP"]["Identity"]); 13962 A.store.Ref(ptr + 496 + 4 + 72, x["WiMAX"]["EAP"]["Inner"]); 13963 A.store.Ref(ptr + 496 + 4 + 76, x["WiMAX"]["EAP"]["Outer"]); 13964 A.store.Ref(ptr + 496 + 4 + 80, x["WiMAX"]["EAP"]["Password"]); 13965 A.store.Bool(ptr + 496 + 4 + 127, "SaveCredentials" in x["WiMAX"]["EAP"] ? true : false); 13966 A.store.Bool(ptr + 496 + 4 + 84, x["WiMAX"]["EAP"]["SaveCredentials"] ? true : false); 13967 A.store.Ref(ptr + 496 + 4 + 88, x["WiMAX"]["EAP"]["ServerCAPEMs"]); 13968 A.store.Ref(ptr + 496 + 4 + 92, x["WiMAX"]["EAP"]["ServerCARefs"]); 13969 13970 if (typeof x["WiMAX"]["EAP"]["SubjectMatch"] === "undefined") { 13971 A.store.Bool(ptr + 496 + 4 + 96 + 28, false); 13972 A.store.Ref(ptr + 496 + 4 + 96 + 0, undefined); 13973 A.store.Ref(ptr + 496 + 4 + 96 + 4, undefined); 13974 A.store.Ref(ptr + 496 + 4 + 96 + 8, undefined); 13975 A.store.Ref(ptr + 496 + 4 + 96 + 12, undefined); 13976 A.store.Ref(ptr + 496 + 4 + 96 + 16, undefined); 13977 A.store.Ref(ptr + 496 + 4 + 96 + 20, undefined); 13978 A.store.Bool(ptr + 496 + 4 + 96 + 26, false); 13979 A.store.Bool(ptr + 496 + 4 + 96 + 24, false); 13980 A.store.Bool(ptr + 496 + 4 + 96 + 27, false); 13981 A.store.Bool(ptr + 496 + 4 + 96 + 25, false); 13982 } else { 13983 A.store.Bool(ptr + 496 + 4 + 96 + 28, true); 13984 A.store.Ref(ptr + 496 + 4 + 96 + 0, x["WiMAX"]["EAP"]["SubjectMatch"]["Active"]); 13985 A.store.Ref(ptr + 496 + 4 + 96 + 4, x["WiMAX"]["EAP"]["SubjectMatch"]["Effective"]); 13986 A.store.Ref(ptr + 496 + 4 + 96 + 8, x["WiMAX"]["EAP"]["SubjectMatch"]["UserPolicy"]); 13987 A.store.Ref(ptr + 496 + 4 + 96 + 12, x["WiMAX"]["EAP"]["SubjectMatch"]["DevicePolicy"]); 13988 A.store.Ref(ptr + 496 + 4 + 96 + 16, x["WiMAX"]["EAP"]["SubjectMatch"]["UserSetting"]); 13989 A.store.Ref(ptr + 496 + 4 + 96 + 20, x["WiMAX"]["EAP"]["SubjectMatch"]["SharedSetting"]); 13990 A.store.Bool(ptr + 496 + 4 + 96 + 26, "UserEditable" in x["WiMAX"]["EAP"]["SubjectMatch"] ? true : false); 13991 A.store.Bool(ptr + 496 + 4 + 96 + 24, x["WiMAX"]["EAP"]["SubjectMatch"]["UserEditable"] ? true : false); 13992 A.store.Bool( 13993 ptr + 496 + 4 + 96 + 27, 13994 "DeviceEditable" in x["WiMAX"]["EAP"]["SubjectMatch"] ? true : false 13995 ); 13996 A.store.Bool(ptr + 496 + 4 + 96 + 25, x["WiMAX"]["EAP"]["SubjectMatch"]["DeviceEditable"] ? true : false); 13997 } 13998 A.store.Bool(ptr + 496 + 4 + 128, "UseProactiveKeyCaching" in x["WiMAX"]["EAP"] ? true : false); 13999 A.store.Bool(ptr + 496 + 4 + 125, x["WiMAX"]["EAP"]["UseProactiveKeyCaching"] ? true : false); 14000 A.store.Bool(ptr + 496 + 4 + 129, "UseSystemCAs" in x["WiMAX"]["EAP"] ? true : false); 14001 A.store.Bool(ptr + 496 + 4 + 126, x["WiMAX"]["EAP"]["UseSystemCAs"] ? true : false); 14002 } 14003 } 14004 } 14005 }, 14006 "load_NetworkConfigProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 14007 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 14008 14009 if (A.load.Bool(ptr + 0 + 127)) { 14010 x["Cellular"] = {}; 14011 if (A.load.Bool(ptr + 0 + 121)) { 14012 x["Cellular"]["AutoConnect"] = A.load.Bool(ptr + 0 + 0); 14013 } else { 14014 delete x["Cellular"]["AutoConnect"]; 14015 } 14016 x["Cellular"]["ActivationType"] = A.load.Ref(ptr + 0 + 4, undefined); 14017 x["Cellular"]["ActivationState"] = A.load.Enum(ptr + 0 + 8, [ 14018 "Activated", 14019 "Activating", 14020 "NotActivated", 14021 "PartiallyActivated", 14022 ]); 14023 if (A.load.Bool(ptr + 0 + 122)) { 14024 x["Cellular"]["AllowRoaming"] = A.load.Bool(ptr + 0 + 12); 14025 } else { 14026 delete x["Cellular"]["AllowRoaming"]; 14027 } 14028 x["Cellular"]["Family"] = A.load.Ref(ptr + 0 + 16, undefined); 14029 x["Cellular"]["FirmwareRevision"] = A.load.Ref(ptr + 0 + 20, undefined); 14030 x["Cellular"]["FoundNetworks"] = A.load.Ref(ptr + 0 + 24, undefined); 14031 x["Cellular"]["HardwareRevision"] = A.load.Ref(ptr + 0 + 28, undefined); 14032 if (A.load.Bool(ptr + 0 + 32 + 12)) { 14033 x["Cellular"]["HomeProvider"] = {}; 14034 x["Cellular"]["HomeProvider"]["Name"] = A.load.Ref(ptr + 0 + 32 + 0, undefined); 14035 x["Cellular"]["HomeProvider"]["Code"] = A.load.Ref(ptr + 0 + 32 + 4, undefined); 14036 x["Cellular"]["HomeProvider"]["Country"] = A.load.Ref(ptr + 0 + 32 + 8, undefined); 14037 } else { 14038 delete x["Cellular"]["HomeProvider"]; 14039 } 14040 x["Cellular"]["Manufacturer"] = A.load.Ref(ptr + 0 + 48, undefined); 14041 x["Cellular"]["ModelID"] = A.load.Ref(ptr + 0 + 52, undefined); 14042 x["Cellular"]["NetworkTechnology"] = A.load.Ref(ptr + 0 + 56, undefined); 14043 if (A.load.Bool(ptr + 0 + 60 + 12)) { 14044 x["Cellular"]["PaymentPortal"] = {}; 14045 x["Cellular"]["PaymentPortal"]["Method"] = A.load.Ref(ptr + 0 + 60 + 0, undefined); 14046 x["Cellular"]["PaymentPortal"]["PostData"] = A.load.Ref(ptr + 0 + 60 + 4, undefined); 14047 x["Cellular"]["PaymentPortal"]["Url"] = A.load.Ref(ptr + 0 + 60 + 8, undefined); 14048 } else { 14049 delete x["Cellular"]["PaymentPortal"]; 14050 } 14051 x["Cellular"]["RoamingState"] = A.load.Ref(ptr + 0 + 76, undefined); 14052 if (A.load.Bool(ptr + 0 + 123)) { 14053 x["Cellular"]["Scanning"] = A.load.Bool(ptr + 0 + 80); 14054 } else { 14055 delete x["Cellular"]["Scanning"]; 14056 } 14057 if (A.load.Bool(ptr + 0 + 84 + 12)) { 14058 x["Cellular"]["ServingOperator"] = {}; 14059 x["Cellular"]["ServingOperator"]["Name"] = A.load.Ref(ptr + 0 + 84 + 0, undefined); 14060 x["Cellular"]["ServingOperator"]["Code"] = A.load.Ref(ptr + 0 + 84 + 4, undefined); 14061 x["Cellular"]["ServingOperator"]["Country"] = A.load.Ref(ptr + 0 + 84 + 8, undefined); 14062 } else { 14063 delete x["Cellular"]["ServingOperator"]; 14064 } 14065 if (A.load.Bool(ptr + 0 + 100 + 14)) { 14066 x["Cellular"]["SIMLockStatus"] = {}; 14067 x["Cellular"]["SIMLockStatus"]["LockType"] = A.load.Ref(ptr + 0 + 100 + 0, undefined); 14068 if (A.load.Bool(ptr + 0 + 100 + 12)) { 14069 x["Cellular"]["SIMLockStatus"]["LockEnabled"] = A.load.Bool(ptr + 0 + 100 + 4); 14070 } else { 14071 delete x["Cellular"]["SIMLockStatus"]["LockEnabled"]; 14072 } 14073 if (A.load.Bool(ptr + 0 + 100 + 13)) { 14074 x["Cellular"]["SIMLockStatus"]["RetriesLeft"] = A.load.Int32(ptr + 0 + 100 + 8); 14075 } else { 14076 delete x["Cellular"]["SIMLockStatus"]["RetriesLeft"]; 14077 } 14078 } else { 14079 delete x["Cellular"]["SIMLockStatus"]; 14080 } 14081 if (A.load.Bool(ptr + 0 + 124)) { 14082 x["Cellular"]["SIMPresent"] = A.load.Bool(ptr + 0 + 115); 14083 } else { 14084 delete x["Cellular"]["SIMPresent"]; 14085 } 14086 if (A.load.Bool(ptr + 0 + 125)) { 14087 x["Cellular"]["SignalStrength"] = A.load.Int32(ptr + 0 + 116); 14088 } else { 14089 delete x["Cellular"]["SignalStrength"]; 14090 } 14091 if (A.load.Bool(ptr + 0 + 126)) { 14092 x["Cellular"]["SupportNetworkScan"] = A.load.Bool(ptr + 0 + 120); 14093 } else { 14094 delete x["Cellular"]["SupportNetworkScan"]; 14095 } 14096 } else { 14097 delete x["Cellular"]; 14098 } 14099 if (A.load.Bool(ptr + 128 + 140)) { 14100 x["Ethernet"] = {}; 14101 if (A.load.Bool(ptr + 128 + 139)) { 14102 x["Ethernet"]["AutoConnect"] = A.load.Bool(ptr + 128 + 0); 14103 } else { 14104 delete x["Ethernet"]["AutoConnect"]; 14105 } 14106 x["Ethernet"]["Authentication"] = A.load.Ref(ptr + 128 + 4, undefined); 14107 if (A.load.Bool(ptr + 128 + 8 + 130)) { 14108 x["Ethernet"]["EAP"] = {}; 14109 x["Ethernet"]["EAP"]["AnonymousIdentity"] = A.load.Ref(ptr + 128 + 8 + 0, undefined); 14110 if (A.load.Bool(ptr + 128 + 8 + 4 + 45)) { 14111 x["Ethernet"]["EAP"]["ClientCertPattern"] = {}; 14112 x["Ethernet"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref(ptr + 128 + 8 + 4 + 0, undefined); 14113 if (A.load.Bool(ptr + 128 + 8 + 4 + 4 + 16)) { 14114 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 14115 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 14116 ptr + 128 + 8 + 4 + 4 + 0, 14117 undefined 14118 ); 14119 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 14120 ptr + 128 + 8 + 4 + 4 + 4, 14121 undefined 14122 ); 14123 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 14124 ptr + 128 + 8 + 4 + 4 + 8, 14125 undefined 14126 ); 14127 x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 14128 ptr + 128 + 8 + 4 + 4 + 12, 14129 undefined 14130 ); 14131 } else { 14132 delete x["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]; 14133 } 14134 x["Ethernet"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref(ptr + 128 + 8 + 4 + 24, undefined); 14135 if (A.load.Bool(ptr + 128 + 8 + 4 + 28 + 16)) { 14136 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 14137 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 14138 ptr + 128 + 8 + 4 + 28 + 0, 14139 undefined 14140 ); 14141 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 14142 ptr + 128 + 8 + 4 + 28 + 4, 14143 undefined 14144 ); 14145 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 14146 ptr + 128 + 8 + 4 + 28 + 8, 14147 undefined 14148 ); 14149 x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 14150 ptr + 128 + 8 + 4 + 28 + 12, 14151 undefined 14152 ); 14153 } else { 14154 delete x["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]; 14155 } 14156 } else { 14157 delete x["Ethernet"]["EAP"]["ClientCertPattern"]; 14158 } 14159 x["Ethernet"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(ptr + 128 + 8 + 52, undefined); 14160 x["Ethernet"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref(ptr + 128 + 8 + 56, undefined); 14161 x["Ethernet"]["EAP"]["ClientCertRef"] = A.load.Ref(ptr + 128 + 8 + 60, undefined); 14162 x["Ethernet"]["EAP"]["ClientCertType"] = A.load.Enum(ptr + 128 + 8 + 64, ["Ref", "Pattern"]); 14163 x["Ethernet"]["EAP"]["Identity"] = A.load.Ref(ptr + 128 + 8 + 68, undefined); 14164 x["Ethernet"]["EAP"]["Inner"] = A.load.Ref(ptr + 128 + 8 + 72, undefined); 14165 x["Ethernet"]["EAP"]["Outer"] = A.load.Ref(ptr + 128 + 8 + 76, undefined); 14166 x["Ethernet"]["EAP"]["Password"] = A.load.Ref(ptr + 128 + 8 + 80, undefined); 14167 if (A.load.Bool(ptr + 128 + 8 + 127)) { 14168 x["Ethernet"]["EAP"]["SaveCredentials"] = A.load.Bool(ptr + 128 + 8 + 84); 14169 } else { 14170 delete x["Ethernet"]["EAP"]["SaveCredentials"]; 14171 } 14172 x["Ethernet"]["EAP"]["ServerCAPEMs"] = A.load.Ref(ptr + 128 + 8 + 88, undefined); 14173 x["Ethernet"]["EAP"]["ServerCARefs"] = A.load.Ref(ptr + 128 + 8 + 92, undefined); 14174 if (A.load.Bool(ptr + 128 + 8 + 96 + 28)) { 14175 x["Ethernet"]["EAP"]["SubjectMatch"] = {}; 14176 x["Ethernet"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref(ptr + 128 + 8 + 96 + 0, undefined); 14177 x["Ethernet"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref(ptr + 128 + 8 + 96 + 4, undefined); 14178 x["Ethernet"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref(ptr + 128 + 8 + 96 + 8, undefined); 14179 x["Ethernet"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref(ptr + 128 + 8 + 96 + 12, undefined); 14180 x["Ethernet"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref(ptr + 128 + 8 + 96 + 16, undefined); 14181 x["Ethernet"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref(ptr + 128 + 8 + 96 + 20, undefined); 14182 if (A.load.Bool(ptr + 128 + 8 + 96 + 26)) { 14183 x["Ethernet"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool(ptr + 128 + 8 + 96 + 24); 14184 } else { 14185 delete x["Ethernet"]["EAP"]["SubjectMatch"]["UserEditable"]; 14186 } 14187 if (A.load.Bool(ptr + 128 + 8 + 96 + 27)) { 14188 x["Ethernet"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool(ptr + 128 + 8 + 96 + 25); 14189 } else { 14190 delete x["Ethernet"]["EAP"]["SubjectMatch"]["DeviceEditable"]; 14191 } 14192 } else { 14193 delete x["Ethernet"]["EAP"]["SubjectMatch"]; 14194 } 14195 if (A.load.Bool(ptr + 128 + 8 + 128)) { 14196 x["Ethernet"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(ptr + 128 + 8 + 125); 14197 } else { 14198 delete x["Ethernet"]["EAP"]["UseProactiveKeyCaching"]; 14199 } 14200 if (A.load.Bool(ptr + 128 + 8 + 129)) { 14201 x["Ethernet"]["EAP"]["UseSystemCAs"] = A.load.Bool(ptr + 128 + 8 + 126); 14202 } else { 14203 delete x["Ethernet"]["EAP"]["UseSystemCAs"]; 14204 } 14205 } else { 14206 delete x["Ethernet"]["EAP"]; 14207 } 14208 } else { 14209 delete x["Ethernet"]; 14210 } 14211 x["GUID"] = A.load.Ref(ptr + 272, undefined); 14212 x["IPAddressConfigType"] = A.load.Enum(ptr + 276, ["DHCP", "Static"]); 14213 x["Name"] = A.load.Ref(ptr + 280, undefined); 14214 x["NameServersConfigType"] = A.load.Enum(ptr + 284, ["DHCP", "Static"]); 14215 if (A.load.Bool(ptr + 633)) { 14216 x["Priority"] = A.load.Int32(ptr + 288); 14217 } else { 14218 delete x["Priority"]; 14219 } 14220 x["Type"] = A.load.Enum(ptr + 292, ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"]); 14221 if (A.load.Bool(ptr + 296 + 13)) { 14222 x["VPN"] = {}; 14223 if (A.load.Bool(ptr + 296 + 12)) { 14224 x["VPN"]["AutoConnect"] = A.load.Bool(ptr + 296 + 0); 14225 } else { 14226 delete x["VPN"]["AutoConnect"]; 14227 } 14228 x["VPN"]["Host"] = A.load.Ref(ptr + 296 + 4, undefined); 14229 x["VPN"]["Type"] = A.load.Ref(ptr + 296 + 8, undefined); 14230 } else { 14231 delete x["VPN"]; 14232 } 14233 if (A.load.Bool(ptr + 312 + 182)) { 14234 x["WiFi"] = {}; 14235 if (A.load.Bool(ptr + 312 + 176)) { 14236 x["WiFi"]["AllowGatewayARPPolling"] = A.load.Bool(ptr + 312 + 0); 14237 } else { 14238 delete x["WiFi"]["AllowGatewayARPPolling"]; 14239 } 14240 if (A.load.Bool(ptr + 312 + 177)) { 14241 x["WiFi"]["AutoConnect"] = A.load.Bool(ptr + 312 + 1); 14242 } else { 14243 delete x["WiFi"]["AutoConnect"]; 14244 } 14245 x["WiFi"]["BSSID"] = A.load.Ref(ptr + 312 + 4, undefined); 14246 if (A.load.Bool(ptr + 312 + 8 + 130)) { 14247 x["WiFi"]["EAP"] = {}; 14248 x["WiFi"]["EAP"]["AnonymousIdentity"] = A.load.Ref(ptr + 312 + 8 + 0, undefined); 14249 if (A.load.Bool(ptr + 312 + 8 + 4 + 45)) { 14250 x["WiFi"]["EAP"]["ClientCertPattern"] = {}; 14251 x["WiFi"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref(ptr + 312 + 8 + 4 + 0, undefined); 14252 if (A.load.Bool(ptr + 312 + 8 + 4 + 4 + 16)) { 14253 x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 14254 x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 14255 ptr + 312 + 8 + 4 + 4 + 0, 14256 undefined 14257 ); 14258 x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 14259 ptr + 312 + 8 + 4 + 4 + 4, 14260 undefined 14261 ); 14262 x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 14263 ptr + 312 + 8 + 4 + 4 + 8, 14264 undefined 14265 ); 14266 x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 14267 ptr + 312 + 8 + 4 + 4 + 12, 14268 undefined 14269 ); 14270 } else { 14271 delete x["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]; 14272 } 14273 x["WiFi"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref(ptr + 312 + 8 + 4 + 24, undefined); 14274 if (A.load.Bool(ptr + 312 + 8 + 4 + 28 + 16)) { 14275 x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 14276 x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 14277 ptr + 312 + 8 + 4 + 28 + 0, 14278 undefined 14279 ); 14280 x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 14281 ptr + 312 + 8 + 4 + 28 + 4, 14282 undefined 14283 ); 14284 x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 14285 ptr + 312 + 8 + 4 + 28 + 8, 14286 undefined 14287 ); 14288 x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 14289 ptr + 312 + 8 + 4 + 28 + 12, 14290 undefined 14291 ); 14292 } else { 14293 delete x["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]; 14294 } 14295 } else { 14296 delete x["WiFi"]["EAP"]["ClientCertPattern"]; 14297 } 14298 x["WiFi"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(ptr + 312 + 8 + 52, undefined); 14299 x["WiFi"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref(ptr + 312 + 8 + 56, undefined); 14300 x["WiFi"]["EAP"]["ClientCertRef"] = A.load.Ref(ptr + 312 + 8 + 60, undefined); 14301 x["WiFi"]["EAP"]["ClientCertType"] = A.load.Enum(ptr + 312 + 8 + 64, ["Ref", "Pattern"]); 14302 x["WiFi"]["EAP"]["Identity"] = A.load.Ref(ptr + 312 + 8 + 68, undefined); 14303 x["WiFi"]["EAP"]["Inner"] = A.load.Ref(ptr + 312 + 8 + 72, undefined); 14304 x["WiFi"]["EAP"]["Outer"] = A.load.Ref(ptr + 312 + 8 + 76, undefined); 14305 x["WiFi"]["EAP"]["Password"] = A.load.Ref(ptr + 312 + 8 + 80, undefined); 14306 if (A.load.Bool(ptr + 312 + 8 + 127)) { 14307 x["WiFi"]["EAP"]["SaveCredentials"] = A.load.Bool(ptr + 312 + 8 + 84); 14308 } else { 14309 delete x["WiFi"]["EAP"]["SaveCredentials"]; 14310 } 14311 x["WiFi"]["EAP"]["ServerCAPEMs"] = A.load.Ref(ptr + 312 + 8 + 88, undefined); 14312 x["WiFi"]["EAP"]["ServerCARefs"] = A.load.Ref(ptr + 312 + 8 + 92, undefined); 14313 if (A.load.Bool(ptr + 312 + 8 + 96 + 28)) { 14314 x["WiFi"]["EAP"]["SubjectMatch"] = {}; 14315 x["WiFi"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref(ptr + 312 + 8 + 96 + 0, undefined); 14316 x["WiFi"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref(ptr + 312 + 8 + 96 + 4, undefined); 14317 x["WiFi"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref(ptr + 312 + 8 + 96 + 8, undefined); 14318 x["WiFi"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref(ptr + 312 + 8 + 96 + 12, undefined); 14319 x["WiFi"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref(ptr + 312 + 8 + 96 + 16, undefined); 14320 x["WiFi"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref(ptr + 312 + 8 + 96 + 20, undefined); 14321 if (A.load.Bool(ptr + 312 + 8 + 96 + 26)) { 14322 x["WiFi"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool(ptr + 312 + 8 + 96 + 24); 14323 } else { 14324 delete x["WiFi"]["EAP"]["SubjectMatch"]["UserEditable"]; 14325 } 14326 if (A.load.Bool(ptr + 312 + 8 + 96 + 27)) { 14327 x["WiFi"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool(ptr + 312 + 8 + 96 + 25); 14328 } else { 14329 delete x["WiFi"]["EAP"]["SubjectMatch"]["DeviceEditable"]; 14330 } 14331 } else { 14332 delete x["WiFi"]["EAP"]["SubjectMatch"]; 14333 } 14334 if (A.load.Bool(ptr + 312 + 8 + 128)) { 14335 x["WiFi"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(ptr + 312 + 8 + 125); 14336 } else { 14337 delete x["WiFi"]["EAP"]["UseProactiveKeyCaching"]; 14338 } 14339 if (A.load.Bool(ptr + 312 + 8 + 129)) { 14340 x["WiFi"]["EAP"]["UseSystemCAs"] = A.load.Bool(ptr + 312 + 8 + 126); 14341 } else { 14342 delete x["WiFi"]["EAP"]["UseSystemCAs"]; 14343 } 14344 } else { 14345 delete x["WiFi"]["EAP"]; 14346 } 14347 if (A.load.Bool(ptr + 312 + 178)) { 14348 x["WiFi"]["Frequency"] = A.load.Int32(ptr + 312 + 140); 14349 } else { 14350 delete x["WiFi"]["Frequency"]; 14351 } 14352 x["WiFi"]["FrequencyList"] = A.load.Ref(ptr + 312 + 144, undefined); 14353 x["WiFi"]["HexSSID"] = A.load.Ref(ptr + 312 + 148, undefined); 14354 if (A.load.Bool(ptr + 312 + 179)) { 14355 x["WiFi"]["HiddenSSID"] = A.load.Bool(ptr + 312 + 152); 14356 } else { 14357 delete x["WiFi"]["HiddenSSID"]; 14358 } 14359 x["WiFi"]["Passphrase"] = A.load.Ref(ptr + 312 + 156, undefined); 14360 if (A.load.Bool(ptr + 312 + 180)) { 14361 x["WiFi"]["RoamThreshold"] = A.load.Int32(ptr + 312 + 160); 14362 } else { 14363 delete x["WiFi"]["RoamThreshold"]; 14364 } 14365 x["WiFi"]["SSID"] = A.load.Ref(ptr + 312 + 164, undefined); 14366 x["WiFi"]["Security"] = A.load.Ref(ptr + 312 + 168, undefined); 14367 if (A.load.Bool(ptr + 312 + 181)) { 14368 x["WiFi"]["SignalStrength"] = A.load.Int32(ptr + 312 + 172); 14369 } else { 14370 delete x["WiFi"]["SignalStrength"]; 14371 } 14372 } else { 14373 delete x["WiFi"]; 14374 } 14375 if (A.load.Bool(ptr + 496 + 136)) { 14376 x["WiMAX"] = {}; 14377 if (A.load.Bool(ptr + 496 + 135)) { 14378 x["WiMAX"]["AutoConnect"] = A.load.Bool(ptr + 496 + 0); 14379 } else { 14380 delete x["WiMAX"]["AutoConnect"]; 14381 } 14382 if (A.load.Bool(ptr + 496 + 4 + 130)) { 14383 x["WiMAX"]["EAP"] = {}; 14384 x["WiMAX"]["EAP"]["AnonymousIdentity"] = A.load.Ref(ptr + 496 + 4 + 0, undefined); 14385 if (A.load.Bool(ptr + 496 + 4 + 4 + 45)) { 14386 x["WiMAX"]["EAP"]["ClientCertPattern"] = {}; 14387 x["WiMAX"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref(ptr + 496 + 4 + 4 + 0, undefined); 14388 if (A.load.Bool(ptr + 496 + 4 + 4 + 4 + 16)) { 14389 x["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 14390 x["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 14391 ptr + 496 + 4 + 4 + 4 + 0, 14392 undefined 14393 ); 14394 x["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 14395 ptr + 496 + 4 + 4 + 4 + 4, 14396 undefined 14397 ); 14398 x["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 14399 ptr + 496 + 4 + 4 + 4 + 8, 14400 undefined 14401 ); 14402 x["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 14403 ptr + 496 + 4 + 4 + 4 + 12, 14404 undefined 14405 ); 14406 } else { 14407 delete x["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]; 14408 } 14409 x["WiMAX"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref(ptr + 496 + 4 + 4 + 24, undefined); 14410 if (A.load.Bool(ptr + 496 + 4 + 4 + 28 + 16)) { 14411 x["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 14412 x["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 14413 ptr + 496 + 4 + 4 + 28 + 0, 14414 undefined 14415 ); 14416 x["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 14417 ptr + 496 + 4 + 4 + 28 + 4, 14418 undefined 14419 ); 14420 x["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 14421 ptr + 496 + 4 + 4 + 28 + 8, 14422 undefined 14423 ); 14424 x["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 14425 ptr + 496 + 4 + 4 + 28 + 12, 14426 undefined 14427 ); 14428 } else { 14429 delete x["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]; 14430 } 14431 } else { 14432 delete x["WiMAX"]["EAP"]["ClientCertPattern"]; 14433 } 14434 x["WiMAX"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(ptr + 496 + 4 + 52, undefined); 14435 x["WiMAX"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref(ptr + 496 + 4 + 56, undefined); 14436 x["WiMAX"]["EAP"]["ClientCertRef"] = A.load.Ref(ptr + 496 + 4 + 60, undefined); 14437 x["WiMAX"]["EAP"]["ClientCertType"] = A.load.Enum(ptr + 496 + 4 + 64, ["Ref", "Pattern"]); 14438 x["WiMAX"]["EAP"]["Identity"] = A.load.Ref(ptr + 496 + 4 + 68, undefined); 14439 x["WiMAX"]["EAP"]["Inner"] = A.load.Ref(ptr + 496 + 4 + 72, undefined); 14440 x["WiMAX"]["EAP"]["Outer"] = A.load.Ref(ptr + 496 + 4 + 76, undefined); 14441 x["WiMAX"]["EAP"]["Password"] = A.load.Ref(ptr + 496 + 4 + 80, undefined); 14442 if (A.load.Bool(ptr + 496 + 4 + 127)) { 14443 x["WiMAX"]["EAP"]["SaveCredentials"] = A.load.Bool(ptr + 496 + 4 + 84); 14444 } else { 14445 delete x["WiMAX"]["EAP"]["SaveCredentials"]; 14446 } 14447 x["WiMAX"]["EAP"]["ServerCAPEMs"] = A.load.Ref(ptr + 496 + 4 + 88, undefined); 14448 x["WiMAX"]["EAP"]["ServerCARefs"] = A.load.Ref(ptr + 496 + 4 + 92, undefined); 14449 if (A.load.Bool(ptr + 496 + 4 + 96 + 28)) { 14450 x["WiMAX"]["EAP"]["SubjectMatch"] = {}; 14451 x["WiMAX"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref(ptr + 496 + 4 + 96 + 0, undefined); 14452 x["WiMAX"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref(ptr + 496 + 4 + 96 + 4, undefined); 14453 x["WiMAX"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref(ptr + 496 + 4 + 96 + 8, undefined); 14454 x["WiMAX"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref(ptr + 496 + 4 + 96 + 12, undefined); 14455 x["WiMAX"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref(ptr + 496 + 4 + 96 + 16, undefined); 14456 x["WiMAX"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref(ptr + 496 + 4 + 96 + 20, undefined); 14457 if (A.load.Bool(ptr + 496 + 4 + 96 + 26)) { 14458 x["WiMAX"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool(ptr + 496 + 4 + 96 + 24); 14459 } else { 14460 delete x["WiMAX"]["EAP"]["SubjectMatch"]["UserEditable"]; 14461 } 14462 if (A.load.Bool(ptr + 496 + 4 + 96 + 27)) { 14463 x["WiMAX"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool(ptr + 496 + 4 + 96 + 25); 14464 } else { 14465 delete x["WiMAX"]["EAP"]["SubjectMatch"]["DeviceEditable"]; 14466 } 14467 } else { 14468 delete x["WiMAX"]["EAP"]["SubjectMatch"]; 14469 } 14470 if (A.load.Bool(ptr + 496 + 4 + 128)) { 14471 x["WiMAX"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(ptr + 496 + 4 + 125); 14472 } else { 14473 delete x["WiMAX"]["EAP"]["UseProactiveKeyCaching"]; 14474 } 14475 if (A.load.Bool(ptr + 496 + 4 + 129)) { 14476 x["WiMAX"]["EAP"]["UseSystemCAs"] = A.load.Bool(ptr + 496 + 4 + 126); 14477 } else { 14478 delete x["WiMAX"]["EAP"]["UseSystemCAs"]; 14479 } 14480 } else { 14481 delete x["WiMAX"]["EAP"]; 14482 } 14483 } else { 14484 delete x["WiMAX"]; 14485 } 14486 return create === A.H.TRUE ? A.H.push(x) : ref; 14487 }, 14488 14489 "store_NetworkFilter": (ptr: Pointer, ref: heap.Ref<any>) => { 14490 const x = A.H.get<any>(ref); 14491 14492 if (typeof x === "undefined") { 14493 A.store.Bool(ptr + 15, false); 14494 A.store.Enum(ptr + 0, -1); 14495 A.store.Bool(ptr + 12, false); 14496 A.store.Bool(ptr + 4, false); 14497 A.store.Bool(ptr + 13, false); 14498 A.store.Bool(ptr + 5, false); 14499 A.store.Bool(ptr + 14, false); 14500 A.store.Int32(ptr + 8, 0); 14501 } else { 14502 A.store.Bool(ptr + 15, true); 14503 A.store.Enum( 14504 ptr + 0, 14505 ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"].indexOf(x["networkType"] as string) 14506 ); 14507 A.store.Bool(ptr + 12, "visible" in x ? true : false); 14508 A.store.Bool(ptr + 4, x["visible"] ? true : false); 14509 A.store.Bool(ptr + 13, "configured" in x ? true : false); 14510 A.store.Bool(ptr + 5, x["configured"] ? true : false); 14511 A.store.Bool(ptr + 14, "limit" in x ? true : false); 14512 A.store.Int32(ptr + 8, x["limit"] === undefined ? 0 : (x["limit"] as number)); 14513 } 14514 }, 14515 "load_NetworkFilter": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 14516 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 14517 14518 x["networkType"] = A.load.Enum(ptr + 0, ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"]); 14519 if (A.load.Bool(ptr + 12)) { 14520 x["visible"] = A.load.Bool(ptr + 4); 14521 } else { 14522 delete x["visible"]; 14523 } 14524 if (A.load.Bool(ptr + 13)) { 14525 x["configured"] = A.load.Bool(ptr + 5); 14526 } else { 14527 delete x["configured"]; 14528 } 14529 if (A.load.Bool(ptr + 14)) { 14530 x["limit"] = A.load.Int32(ptr + 8); 14531 } else { 14532 delete x["limit"]; 14533 } 14534 return create === A.H.TRUE ? A.H.push(x) : ref; 14535 }, 14536 14537 "store_ThirdPartyVPNProperties": (ptr: Pointer, ref: heap.Ref<any>) => { 14538 const x = A.H.get<any>(ref); 14539 14540 if (typeof x === "undefined") { 14541 A.store.Bool(ptr + 8, false); 14542 A.store.Ref(ptr + 0, undefined); 14543 A.store.Ref(ptr + 4, undefined); 14544 } else { 14545 A.store.Bool(ptr + 8, true); 14546 A.store.Ref(ptr + 0, x["ExtensionID"]); 14547 A.store.Ref(ptr + 4, x["ProviderName"]); 14548 } 14549 }, 14550 "load_ThirdPartyVPNProperties": (ptr: Pointer, create: heap.Ref<boolean>, ref: heap.Ref<any>): heap.Ref<any> => { 14551 const x = create === A.H.TRUE ? {} : A.H.get<any>(ref); 14552 14553 x["ExtensionID"] = A.load.Ref(ptr + 0, undefined); 14554 x["ProviderName"] = A.load.Ref(ptr + 4, undefined); 14555 return create === A.H.TRUE ? A.H.push(x) : ref; 14556 }, 14557 "has_CreateNetwork": (): heap.Ref<boolean> => { 14558 if (WEBEXT?.networking?.onc && "createNetwork" in WEBEXT?.networking?.onc) { 14559 return A.H.TRUE; 14560 } 14561 return A.H.FALSE; 14562 }, 14563 "func_CreateNetwork": (fn: Pointer): void => { 14564 A.store.Ref(fn, WEBEXT.networking.onc.createNetwork); 14565 }, 14566 "call_CreateNetwork": ( 14567 retPtr: Pointer, 14568 shared: heap.Ref<boolean>, 14569 properties: Pointer, 14570 callback: heap.Ref<object> 14571 ): void => { 14572 const properties_ffi = {}; 14573 14574 if (A.load.Bool(properties + 0 + 127)) { 14575 properties_ffi["Cellular"] = {}; 14576 if (A.load.Bool(properties + 0 + 121)) { 14577 properties_ffi["Cellular"]["AutoConnect"] = A.load.Bool(properties + 0 + 0); 14578 } 14579 properties_ffi["Cellular"]["ActivationType"] = A.load.Ref(properties + 0 + 4, undefined); 14580 properties_ffi["Cellular"]["ActivationState"] = A.load.Enum(properties + 0 + 8, [ 14581 "Activated", 14582 "Activating", 14583 "NotActivated", 14584 "PartiallyActivated", 14585 ]); 14586 if (A.load.Bool(properties + 0 + 122)) { 14587 properties_ffi["Cellular"]["AllowRoaming"] = A.load.Bool(properties + 0 + 12); 14588 } 14589 properties_ffi["Cellular"]["Family"] = A.load.Ref(properties + 0 + 16, undefined); 14590 properties_ffi["Cellular"]["FirmwareRevision"] = A.load.Ref(properties + 0 + 20, undefined); 14591 properties_ffi["Cellular"]["FoundNetworks"] = A.load.Ref(properties + 0 + 24, undefined); 14592 properties_ffi["Cellular"]["HardwareRevision"] = A.load.Ref(properties + 0 + 28, undefined); 14593 if (A.load.Bool(properties + 0 + 32 + 12)) { 14594 properties_ffi["Cellular"]["HomeProvider"] = {}; 14595 properties_ffi["Cellular"]["HomeProvider"]["Name"] = A.load.Ref(properties + 0 + 32 + 0, undefined); 14596 properties_ffi["Cellular"]["HomeProvider"]["Code"] = A.load.Ref(properties + 0 + 32 + 4, undefined); 14597 properties_ffi["Cellular"]["HomeProvider"]["Country"] = A.load.Ref(properties + 0 + 32 + 8, undefined); 14598 } 14599 properties_ffi["Cellular"]["Manufacturer"] = A.load.Ref(properties + 0 + 48, undefined); 14600 properties_ffi["Cellular"]["ModelID"] = A.load.Ref(properties + 0 + 52, undefined); 14601 properties_ffi["Cellular"]["NetworkTechnology"] = A.load.Ref(properties + 0 + 56, undefined); 14602 if (A.load.Bool(properties + 0 + 60 + 12)) { 14603 properties_ffi["Cellular"]["PaymentPortal"] = {}; 14604 properties_ffi["Cellular"]["PaymentPortal"]["Method"] = A.load.Ref(properties + 0 + 60 + 0, undefined); 14605 properties_ffi["Cellular"]["PaymentPortal"]["PostData"] = A.load.Ref(properties + 0 + 60 + 4, undefined); 14606 properties_ffi["Cellular"]["PaymentPortal"]["Url"] = A.load.Ref(properties + 0 + 60 + 8, undefined); 14607 } 14608 properties_ffi["Cellular"]["RoamingState"] = A.load.Ref(properties + 0 + 76, undefined); 14609 if (A.load.Bool(properties + 0 + 123)) { 14610 properties_ffi["Cellular"]["Scanning"] = A.load.Bool(properties + 0 + 80); 14611 } 14612 if (A.load.Bool(properties + 0 + 84 + 12)) { 14613 properties_ffi["Cellular"]["ServingOperator"] = {}; 14614 properties_ffi["Cellular"]["ServingOperator"]["Name"] = A.load.Ref(properties + 0 + 84 + 0, undefined); 14615 properties_ffi["Cellular"]["ServingOperator"]["Code"] = A.load.Ref(properties + 0 + 84 + 4, undefined); 14616 properties_ffi["Cellular"]["ServingOperator"]["Country"] = A.load.Ref(properties + 0 + 84 + 8, undefined); 14617 } 14618 if (A.load.Bool(properties + 0 + 100 + 14)) { 14619 properties_ffi["Cellular"]["SIMLockStatus"] = {}; 14620 properties_ffi["Cellular"]["SIMLockStatus"]["LockType"] = A.load.Ref(properties + 0 + 100 + 0, undefined); 14621 if (A.load.Bool(properties + 0 + 100 + 12)) { 14622 properties_ffi["Cellular"]["SIMLockStatus"]["LockEnabled"] = A.load.Bool(properties + 0 + 100 + 4); 14623 } 14624 if (A.load.Bool(properties + 0 + 100 + 13)) { 14625 properties_ffi["Cellular"]["SIMLockStatus"]["RetriesLeft"] = A.load.Int32(properties + 0 + 100 + 8); 14626 } 14627 } 14628 if (A.load.Bool(properties + 0 + 124)) { 14629 properties_ffi["Cellular"]["SIMPresent"] = A.load.Bool(properties + 0 + 115); 14630 } 14631 if (A.load.Bool(properties + 0 + 125)) { 14632 properties_ffi["Cellular"]["SignalStrength"] = A.load.Int32(properties + 0 + 116); 14633 } 14634 if (A.load.Bool(properties + 0 + 126)) { 14635 properties_ffi["Cellular"]["SupportNetworkScan"] = A.load.Bool(properties + 0 + 120); 14636 } 14637 } 14638 if (A.load.Bool(properties + 128 + 140)) { 14639 properties_ffi["Ethernet"] = {}; 14640 if (A.load.Bool(properties + 128 + 139)) { 14641 properties_ffi["Ethernet"]["AutoConnect"] = A.load.Bool(properties + 128 + 0); 14642 } 14643 properties_ffi["Ethernet"]["Authentication"] = A.load.Ref(properties + 128 + 4, undefined); 14644 if (A.load.Bool(properties + 128 + 8 + 130)) { 14645 properties_ffi["Ethernet"]["EAP"] = {}; 14646 properties_ffi["Ethernet"]["EAP"]["AnonymousIdentity"] = A.load.Ref(properties + 128 + 8 + 0, undefined); 14647 if (A.load.Bool(properties + 128 + 8 + 4 + 45)) { 14648 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"] = {}; 14649 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref( 14650 properties + 128 + 8 + 4 + 0, 14651 undefined 14652 ); 14653 if (A.load.Bool(properties + 128 + 8 + 4 + 4 + 16)) { 14654 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 14655 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 14656 properties + 128 + 8 + 4 + 4 + 0, 14657 undefined 14658 ); 14659 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 14660 properties + 128 + 8 + 4 + 4 + 4, 14661 undefined 14662 ); 14663 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 14664 properties + 128 + 8 + 4 + 4 + 8, 14665 undefined 14666 ); 14667 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 14668 properties + 128 + 8 + 4 + 4 + 12, 14669 undefined 14670 ); 14671 } 14672 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref( 14673 properties + 128 + 8 + 4 + 24, 14674 undefined 14675 ); 14676 if (A.load.Bool(properties + 128 + 8 + 4 + 28 + 16)) { 14677 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 14678 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 14679 properties + 128 + 8 + 4 + 28 + 0, 14680 undefined 14681 ); 14682 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 14683 properties + 128 + 8 + 4 + 28 + 4, 14684 undefined 14685 ); 14686 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 14687 properties + 128 + 8 + 4 + 28 + 8, 14688 undefined 14689 ); 14690 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 14691 properties + 128 + 8 + 4 + 28 + 12, 14692 undefined 14693 ); 14694 } 14695 } 14696 properties_ffi["Ethernet"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(properties + 128 + 8 + 52, undefined); 14697 properties_ffi["Ethernet"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref( 14698 properties + 128 + 8 + 56, 14699 undefined 14700 ); 14701 properties_ffi["Ethernet"]["EAP"]["ClientCertRef"] = A.load.Ref(properties + 128 + 8 + 60, undefined); 14702 properties_ffi["Ethernet"]["EAP"]["ClientCertType"] = A.load.Enum(properties + 128 + 8 + 64, [ 14703 "Ref", 14704 "Pattern", 14705 ]); 14706 properties_ffi["Ethernet"]["EAP"]["Identity"] = A.load.Ref(properties + 128 + 8 + 68, undefined); 14707 properties_ffi["Ethernet"]["EAP"]["Inner"] = A.load.Ref(properties + 128 + 8 + 72, undefined); 14708 properties_ffi["Ethernet"]["EAP"]["Outer"] = A.load.Ref(properties + 128 + 8 + 76, undefined); 14709 properties_ffi["Ethernet"]["EAP"]["Password"] = A.load.Ref(properties + 128 + 8 + 80, undefined); 14710 if (A.load.Bool(properties + 128 + 8 + 127)) { 14711 properties_ffi["Ethernet"]["EAP"]["SaveCredentials"] = A.load.Bool(properties + 128 + 8 + 84); 14712 } 14713 properties_ffi["Ethernet"]["EAP"]["ServerCAPEMs"] = A.load.Ref(properties + 128 + 8 + 88, undefined); 14714 properties_ffi["Ethernet"]["EAP"]["ServerCARefs"] = A.load.Ref(properties + 128 + 8 + 92, undefined); 14715 if (A.load.Bool(properties + 128 + 8 + 96 + 28)) { 14716 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"] = {}; 14717 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref( 14718 properties + 128 + 8 + 96 + 0, 14719 undefined 14720 ); 14721 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref( 14722 properties + 128 + 8 + 96 + 4, 14723 undefined 14724 ); 14725 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref( 14726 properties + 128 + 8 + 96 + 8, 14727 undefined 14728 ); 14729 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref( 14730 properties + 128 + 8 + 96 + 12, 14731 undefined 14732 ); 14733 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref( 14734 properties + 128 + 8 + 96 + 16, 14735 undefined 14736 ); 14737 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref( 14738 properties + 128 + 8 + 96 + 20, 14739 undefined 14740 ); 14741 if (A.load.Bool(properties + 128 + 8 + 96 + 26)) { 14742 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool( 14743 properties + 128 + 8 + 96 + 24 14744 ); 14745 } 14746 if (A.load.Bool(properties + 128 + 8 + 96 + 27)) { 14747 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool( 14748 properties + 128 + 8 + 96 + 25 14749 ); 14750 } 14751 } 14752 if (A.load.Bool(properties + 128 + 8 + 128)) { 14753 properties_ffi["Ethernet"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(properties + 128 + 8 + 125); 14754 } 14755 if (A.load.Bool(properties + 128 + 8 + 129)) { 14756 properties_ffi["Ethernet"]["EAP"]["UseSystemCAs"] = A.load.Bool(properties + 128 + 8 + 126); 14757 } 14758 } 14759 } 14760 properties_ffi["GUID"] = A.load.Ref(properties + 272, undefined); 14761 properties_ffi["IPAddressConfigType"] = A.load.Enum(properties + 276, ["DHCP", "Static"]); 14762 properties_ffi["Name"] = A.load.Ref(properties + 280, undefined); 14763 properties_ffi["NameServersConfigType"] = A.load.Enum(properties + 284, ["DHCP", "Static"]); 14764 if (A.load.Bool(properties + 633)) { 14765 properties_ffi["Priority"] = A.load.Int32(properties + 288); 14766 } 14767 properties_ffi["Type"] = A.load.Enum(properties + 292, [ 14768 "All", 14769 "Cellular", 14770 "Ethernet", 14771 "Tether", 14772 "VPN", 14773 "Wireless", 14774 "WiFi", 14775 ]); 14776 if (A.load.Bool(properties + 296 + 13)) { 14777 properties_ffi["VPN"] = {}; 14778 if (A.load.Bool(properties + 296 + 12)) { 14779 properties_ffi["VPN"]["AutoConnect"] = A.load.Bool(properties + 296 + 0); 14780 } 14781 properties_ffi["VPN"]["Host"] = A.load.Ref(properties + 296 + 4, undefined); 14782 properties_ffi["VPN"]["Type"] = A.load.Ref(properties + 296 + 8, undefined); 14783 } 14784 if (A.load.Bool(properties + 312 + 182)) { 14785 properties_ffi["WiFi"] = {}; 14786 if (A.load.Bool(properties + 312 + 176)) { 14787 properties_ffi["WiFi"]["AllowGatewayARPPolling"] = A.load.Bool(properties + 312 + 0); 14788 } 14789 if (A.load.Bool(properties + 312 + 177)) { 14790 properties_ffi["WiFi"]["AutoConnect"] = A.load.Bool(properties + 312 + 1); 14791 } 14792 properties_ffi["WiFi"]["BSSID"] = A.load.Ref(properties + 312 + 4, undefined); 14793 if (A.load.Bool(properties + 312 + 8 + 130)) { 14794 properties_ffi["WiFi"]["EAP"] = {}; 14795 properties_ffi["WiFi"]["EAP"]["AnonymousIdentity"] = A.load.Ref(properties + 312 + 8 + 0, undefined); 14796 if (A.load.Bool(properties + 312 + 8 + 4 + 45)) { 14797 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"] = {}; 14798 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref( 14799 properties + 312 + 8 + 4 + 0, 14800 undefined 14801 ); 14802 if (A.load.Bool(properties + 312 + 8 + 4 + 4 + 16)) { 14803 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 14804 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 14805 properties + 312 + 8 + 4 + 4 + 0, 14806 undefined 14807 ); 14808 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 14809 properties + 312 + 8 + 4 + 4 + 4, 14810 undefined 14811 ); 14812 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 14813 properties + 312 + 8 + 4 + 4 + 8, 14814 undefined 14815 ); 14816 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 14817 properties + 312 + 8 + 4 + 4 + 12, 14818 undefined 14819 ); 14820 } 14821 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref( 14822 properties + 312 + 8 + 4 + 24, 14823 undefined 14824 ); 14825 if (A.load.Bool(properties + 312 + 8 + 4 + 28 + 16)) { 14826 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 14827 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 14828 properties + 312 + 8 + 4 + 28 + 0, 14829 undefined 14830 ); 14831 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 14832 properties + 312 + 8 + 4 + 28 + 4, 14833 undefined 14834 ); 14835 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 14836 properties + 312 + 8 + 4 + 28 + 8, 14837 undefined 14838 ); 14839 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 14840 properties + 312 + 8 + 4 + 28 + 12, 14841 undefined 14842 ); 14843 } 14844 } 14845 properties_ffi["WiFi"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(properties + 312 + 8 + 52, undefined); 14846 properties_ffi["WiFi"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref( 14847 properties + 312 + 8 + 56, 14848 undefined 14849 ); 14850 properties_ffi["WiFi"]["EAP"]["ClientCertRef"] = A.load.Ref(properties + 312 + 8 + 60, undefined); 14851 properties_ffi["WiFi"]["EAP"]["ClientCertType"] = A.load.Enum(properties + 312 + 8 + 64, ["Ref", "Pattern"]); 14852 properties_ffi["WiFi"]["EAP"]["Identity"] = A.load.Ref(properties + 312 + 8 + 68, undefined); 14853 properties_ffi["WiFi"]["EAP"]["Inner"] = A.load.Ref(properties + 312 + 8 + 72, undefined); 14854 properties_ffi["WiFi"]["EAP"]["Outer"] = A.load.Ref(properties + 312 + 8 + 76, undefined); 14855 properties_ffi["WiFi"]["EAP"]["Password"] = A.load.Ref(properties + 312 + 8 + 80, undefined); 14856 if (A.load.Bool(properties + 312 + 8 + 127)) { 14857 properties_ffi["WiFi"]["EAP"]["SaveCredentials"] = A.load.Bool(properties + 312 + 8 + 84); 14858 } 14859 properties_ffi["WiFi"]["EAP"]["ServerCAPEMs"] = A.load.Ref(properties + 312 + 8 + 88, undefined); 14860 properties_ffi["WiFi"]["EAP"]["ServerCARefs"] = A.load.Ref(properties + 312 + 8 + 92, undefined); 14861 if (A.load.Bool(properties + 312 + 8 + 96 + 28)) { 14862 properties_ffi["WiFi"]["EAP"]["SubjectMatch"] = {}; 14863 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref( 14864 properties + 312 + 8 + 96 + 0, 14865 undefined 14866 ); 14867 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref( 14868 properties + 312 + 8 + 96 + 4, 14869 undefined 14870 ); 14871 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref( 14872 properties + 312 + 8 + 96 + 8, 14873 undefined 14874 ); 14875 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref( 14876 properties + 312 + 8 + 96 + 12, 14877 undefined 14878 ); 14879 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref( 14880 properties + 312 + 8 + 96 + 16, 14881 undefined 14882 ); 14883 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref( 14884 properties + 312 + 8 + 96 + 20, 14885 undefined 14886 ); 14887 if (A.load.Bool(properties + 312 + 8 + 96 + 26)) { 14888 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool( 14889 properties + 312 + 8 + 96 + 24 14890 ); 14891 } 14892 if (A.load.Bool(properties + 312 + 8 + 96 + 27)) { 14893 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool( 14894 properties + 312 + 8 + 96 + 25 14895 ); 14896 } 14897 } 14898 if (A.load.Bool(properties + 312 + 8 + 128)) { 14899 properties_ffi["WiFi"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(properties + 312 + 8 + 125); 14900 } 14901 if (A.load.Bool(properties + 312 + 8 + 129)) { 14902 properties_ffi["WiFi"]["EAP"]["UseSystemCAs"] = A.load.Bool(properties + 312 + 8 + 126); 14903 } 14904 } 14905 if (A.load.Bool(properties + 312 + 178)) { 14906 properties_ffi["WiFi"]["Frequency"] = A.load.Int32(properties + 312 + 140); 14907 } 14908 properties_ffi["WiFi"]["FrequencyList"] = A.load.Ref(properties + 312 + 144, undefined); 14909 properties_ffi["WiFi"]["HexSSID"] = A.load.Ref(properties + 312 + 148, undefined); 14910 if (A.load.Bool(properties + 312 + 179)) { 14911 properties_ffi["WiFi"]["HiddenSSID"] = A.load.Bool(properties + 312 + 152); 14912 } 14913 properties_ffi["WiFi"]["Passphrase"] = A.load.Ref(properties + 312 + 156, undefined); 14914 if (A.load.Bool(properties + 312 + 180)) { 14915 properties_ffi["WiFi"]["RoamThreshold"] = A.load.Int32(properties + 312 + 160); 14916 } 14917 properties_ffi["WiFi"]["SSID"] = A.load.Ref(properties + 312 + 164, undefined); 14918 properties_ffi["WiFi"]["Security"] = A.load.Ref(properties + 312 + 168, undefined); 14919 if (A.load.Bool(properties + 312 + 181)) { 14920 properties_ffi["WiFi"]["SignalStrength"] = A.load.Int32(properties + 312 + 172); 14921 } 14922 } 14923 if (A.load.Bool(properties + 496 + 136)) { 14924 properties_ffi["WiMAX"] = {}; 14925 if (A.load.Bool(properties + 496 + 135)) { 14926 properties_ffi["WiMAX"]["AutoConnect"] = A.load.Bool(properties + 496 + 0); 14927 } 14928 if (A.load.Bool(properties + 496 + 4 + 130)) { 14929 properties_ffi["WiMAX"]["EAP"] = {}; 14930 properties_ffi["WiMAX"]["EAP"]["AnonymousIdentity"] = A.load.Ref(properties + 496 + 4 + 0, undefined); 14931 if (A.load.Bool(properties + 496 + 4 + 4 + 45)) { 14932 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"] = {}; 14933 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref( 14934 properties + 496 + 4 + 4 + 0, 14935 undefined 14936 ); 14937 if (A.load.Bool(properties + 496 + 4 + 4 + 4 + 16)) { 14938 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 14939 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 14940 properties + 496 + 4 + 4 + 4 + 0, 14941 undefined 14942 ); 14943 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 14944 properties + 496 + 4 + 4 + 4 + 4, 14945 undefined 14946 ); 14947 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 14948 properties + 496 + 4 + 4 + 4 + 8, 14949 undefined 14950 ); 14951 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 14952 properties + 496 + 4 + 4 + 4 + 12, 14953 undefined 14954 ); 14955 } 14956 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref( 14957 properties + 496 + 4 + 4 + 24, 14958 undefined 14959 ); 14960 if (A.load.Bool(properties + 496 + 4 + 4 + 28 + 16)) { 14961 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 14962 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 14963 properties + 496 + 4 + 4 + 28 + 0, 14964 undefined 14965 ); 14966 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 14967 properties + 496 + 4 + 4 + 28 + 4, 14968 undefined 14969 ); 14970 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 14971 properties + 496 + 4 + 4 + 28 + 8, 14972 undefined 14973 ); 14974 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 14975 properties + 496 + 4 + 4 + 28 + 12, 14976 undefined 14977 ); 14978 } 14979 } 14980 properties_ffi["WiMAX"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(properties + 496 + 4 + 52, undefined); 14981 properties_ffi["WiMAX"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref( 14982 properties + 496 + 4 + 56, 14983 undefined 14984 ); 14985 properties_ffi["WiMAX"]["EAP"]["ClientCertRef"] = A.load.Ref(properties + 496 + 4 + 60, undefined); 14986 properties_ffi["WiMAX"]["EAP"]["ClientCertType"] = A.load.Enum(properties + 496 + 4 + 64, ["Ref", "Pattern"]); 14987 properties_ffi["WiMAX"]["EAP"]["Identity"] = A.load.Ref(properties + 496 + 4 + 68, undefined); 14988 properties_ffi["WiMAX"]["EAP"]["Inner"] = A.load.Ref(properties + 496 + 4 + 72, undefined); 14989 properties_ffi["WiMAX"]["EAP"]["Outer"] = A.load.Ref(properties + 496 + 4 + 76, undefined); 14990 properties_ffi["WiMAX"]["EAP"]["Password"] = A.load.Ref(properties + 496 + 4 + 80, undefined); 14991 if (A.load.Bool(properties + 496 + 4 + 127)) { 14992 properties_ffi["WiMAX"]["EAP"]["SaveCredentials"] = A.load.Bool(properties + 496 + 4 + 84); 14993 } 14994 properties_ffi["WiMAX"]["EAP"]["ServerCAPEMs"] = A.load.Ref(properties + 496 + 4 + 88, undefined); 14995 properties_ffi["WiMAX"]["EAP"]["ServerCARefs"] = A.load.Ref(properties + 496 + 4 + 92, undefined); 14996 if (A.load.Bool(properties + 496 + 4 + 96 + 28)) { 14997 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"] = {}; 14998 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref( 14999 properties + 496 + 4 + 96 + 0, 15000 undefined 15001 ); 15002 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref( 15003 properties + 496 + 4 + 96 + 4, 15004 undefined 15005 ); 15006 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref( 15007 properties + 496 + 4 + 96 + 8, 15008 undefined 15009 ); 15010 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref( 15011 properties + 496 + 4 + 96 + 12, 15012 undefined 15013 ); 15014 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref( 15015 properties + 496 + 4 + 96 + 16, 15016 undefined 15017 ); 15018 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref( 15019 properties + 496 + 4 + 96 + 20, 15020 undefined 15021 ); 15022 if (A.load.Bool(properties + 496 + 4 + 96 + 26)) { 15023 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool( 15024 properties + 496 + 4 + 96 + 24 15025 ); 15026 } 15027 if (A.load.Bool(properties + 496 + 4 + 96 + 27)) { 15028 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool( 15029 properties + 496 + 4 + 96 + 25 15030 ); 15031 } 15032 } 15033 if (A.load.Bool(properties + 496 + 4 + 128)) { 15034 properties_ffi["WiMAX"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(properties + 496 + 4 + 125); 15035 } 15036 if (A.load.Bool(properties + 496 + 4 + 129)) { 15037 properties_ffi["WiMAX"]["EAP"]["UseSystemCAs"] = A.load.Bool(properties + 496 + 4 + 126); 15038 } 15039 } 15040 } 15041 15042 const _ret = WEBEXT.networking.onc.createNetwork(shared === A.H.TRUE, properties_ffi, A.H.get<object>(callback)); 15043 }, 15044 "try_CreateNetwork": ( 15045 retPtr: Pointer, 15046 errPtr: Pointer, 15047 shared: heap.Ref<boolean>, 15048 properties: Pointer, 15049 callback: heap.Ref<object> 15050 ): heap.Ref<boolean> => { 15051 try { 15052 const properties_ffi = {}; 15053 15054 if (A.load.Bool(properties + 0 + 127)) { 15055 properties_ffi["Cellular"] = {}; 15056 if (A.load.Bool(properties + 0 + 121)) { 15057 properties_ffi["Cellular"]["AutoConnect"] = A.load.Bool(properties + 0 + 0); 15058 } 15059 properties_ffi["Cellular"]["ActivationType"] = A.load.Ref(properties + 0 + 4, undefined); 15060 properties_ffi["Cellular"]["ActivationState"] = A.load.Enum(properties + 0 + 8, [ 15061 "Activated", 15062 "Activating", 15063 "NotActivated", 15064 "PartiallyActivated", 15065 ]); 15066 if (A.load.Bool(properties + 0 + 122)) { 15067 properties_ffi["Cellular"]["AllowRoaming"] = A.load.Bool(properties + 0 + 12); 15068 } 15069 properties_ffi["Cellular"]["Family"] = A.load.Ref(properties + 0 + 16, undefined); 15070 properties_ffi["Cellular"]["FirmwareRevision"] = A.load.Ref(properties + 0 + 20, undefined); 15071 properties_ffi["Cellular"]["FoundNetworks"] = A.load.Ref(properties + 0 + 24, undefined); 15072 properties_ffi["Cellular"]["HardwareRevision"] = A.load.Ref(properties + 0 + 28, undefined); 15073 if (A.load.Bool(properties + 0 + 32 + 12)) { 15074 properties_ffi["Cellular"]["HomeProvider"] = {}; 15075 properties_ffi["Cellular"]["HomeProvider"]["Name"] = A.load.Ref(properties + 0 + 32 + 0, undefined); 15076 properties_ffi["Cellular"]["HomeProvider"]["Code"] = A.load.Ref(properties + 0 + 32 + 4, undefined); 15077 properties_ffi["Cellular"]["HomeProvider"]["Country"] = A.load.Ref(properties + 0 + 32 + 8, undefined); 15078 } 15079 properties_ffi["Cellular"]["Manufacturer"] = A.load.Ref(properties + 0 + 48, undefined); 15080 properties_ffi["Cellular"]["ModelID"] = A.load.Ref(properties + 0 + 52, undefined); 15081 properties_ffi["Cellular"]["NetworkTechnology"] = A.load.Ref(properties + 0 + 56, undefined); 15082 if (A.load.Bool(properties + 0 + 60 + 12)) { 15083 properties_ffi["Cellular"]["PaymentPortal"] = {}; 15084 properties_ffi["Cellular"]["PaymentPortal"]["Method"] = A.load.Ref(properties + 0 + 60 + 0, undefined); 15085 properties_ffi["Cellular"]["PaymentPortal"]["PostData"] = A.load.Ref(properties + 0 + 60 + 4, undefined); 15086 properties_ffi["Cellular"]["PaymentPortal"]["Url"] = A.load.Ref(properties + 0 + 60 + 8, undefined); 15087 } 15088 properties_ffi["Cellular"]["RoamingState"] = A.load.Ref(properties + 0 + 76, undefined); 15089 if (A.load.Bool(properties + 0 + 123)) { 15090 properties_ffi["Cellular"]["Scanning"] = A.load.Bool(properties + 0 + 80); 15091 } 15092 if (A.load.Bool(properties + 0 + 84 + 12)) { 15093 properties_ffi["Cellular"]["ServingOperator"] = {}; 15094 properties_ffi["Cellular"]["ServingOperator"]["Name"] = A.load.Ref(properties + 0 + 84 + 0, undefined); 15095 properties_ffi["Cellular"]["ServingOperator"]["Code"] = A.load.Ref(properties + 0 + 84 + 4, undefined); 15096 properties_ffi["Cellular"]["ServingOperator"]["Country"] = A.load.Ref(properties + 0 + 84 + 8, undefined); 15097 } 15098 if (A.load.Bool(properties + 0 + 100 + 14)) { 15099 properties_ffi["Cellular"]["SIMLockStatus"] = {}; 15100 properties_ffi["Cellular"]["SIMLockStatus"]["LockType"] = A.load.Ref(properties + 0 + 100 + 0, undefined); 15101 if (A.load.Bool(properties + 0 + 100 + 12)) { 15102 properties_ffi["Cellular"]["SIMLockStatus"]["LockEnabled"] = A.load.Bool(properties + 0 + 100 + 4); 15103 } 15104 if (A.load.Bool(properties + 0 + 100 + 13)) { 15105 properties_ffi["Cellular"]["SIMLockStatus"]["RetriesLeft"] = A.load.Int32(properties + 0 + 100 + 8); 15106 } 15107 } 15108 if (A.load.Bool(properties + 0 + 124)) { 15109 properties_ffi["Cellular"]["SIMPresent"] = A.load.Bool(properties + 0 + 115); 15110 } 15111 if (A.load.Bool(properties + 0 + 125)) { 15112 properties_ffi["Cellular"]["SignalStrength"] = A.load.Int32(properties + 0 + 116); 15113 } 15114 if (A.load.Bool(properties + 0 + 126)) { 15115 properties_ffi["Cellular"]["SupportNetworkScan"] = A.load.Bool(properties + 0 + 120); 15116 } 15117 } 15118 if (A.load.Bool(properties + 128 + 140)) { 15119 properties_ffi["Ethernet"] = {}; 15120 if (A.load.Bool(properties + 128 + 139)) { 15121 properties_ffi["Ethernet"]["AutoConnect"] = A.load.Bool(properties + 128 + 0); 15122 } 15123 properties_ffi["Ethernet"]["Authentication"] = A.load.Ref(properties + 128 + 4, undefined); 15124 if (A.load.Bool(properties + 128 + 8 + 130)) { 15125 properties_ffi["Ethernet"]["EAP"] = {}; 15126 properties_ffi["Ethernet"]["EAP"]["AnonymousIdentity"] = A.load.Ref(properties + 128 + 8 + 0, undefined); 15127 if (A.load.Bool(properties + 128 + 8 + 4 + 45)) { 15128 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"] = {}; 15129 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref( 15130 properties + 128 + 8 + 4 + 0, 15131 undefined 15132 ); 15133 if (A.load.Bool(properties + 128 + 8 + 4 + 4 + 16)) { 15134 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 15135 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 15136 properties + 128 + 8 + 4 + 4 + 0, 15137 undefined 15138 ); 15139 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 15140 properties + 128 + 8 + 4 + 4 + 4, 15141 undefined 15142 ); 15143 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 15144 properties + 128 + 8 + 4 + 4 + 8, 15145 undefined 15146 ); 15147 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 15148 properties + 128 + 8 + 4 + 4 + 12, 15149 undefined 15150 ); 15151 } 15152 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref( 15153 properties + 128 + 8 + 4 + 24, 15154 undefined 15155 ); 15156 if (A.load.Bool(properties + 128 + 8 + 4 + 28 + 16)) { 15157 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 15158 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 15159 properties + 128 + 8 + 4 + 28 + 0, 15160 undefined 15161 ); 15162 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 15163 properties + 128 + 8 + 4 + 28 + 4, 15164 undefined 15165 ); 15166 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 15167 properties + 128 + 8 + 4 + 28 + 8, 15168 undefined 15169 ); 15170 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 15171 properties + 128 + 8 + 4 + 28 + 12, 15172 undefined 15173 ); 15174 } 15175 } 15176 properties_ffi["Ethernet"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(properties + 128 + 8 + 52, undefined); 15177 properties_ffi["Ethernet"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref( 15178 properties + 128 + 8 + 56, 15179 undefined 15180 ); 15181 properties_ffi["Ethernet"]["EAP"]["ClientCertRef"] = A.load.Ref(properties + 128 + 8 + 60, undefined); 15182 properties_ffi["Ethernet"]["EAP"]["ClientCertType"] = A.load.Enum(properties + 128 + 8 + 64, [ 15183 "Ref", 15184 "Pattern", 15185 ]); 15186 properties_ffi["Ethernet"]["EAP"]["Identity"] = A.load.Ref(properties + 128 + 8 + 68, undefined); 15187 properties_ffi["Ethernet"]["EAP"]["Inner"] = A.load.Ref(properties + 128 + 8 + 72, undefined); 15188 properties_ffi["Ethernet"]["EAP"]["Outer"] = A.load.Ref(properties + 128 + 8 + 76, undefined); 15189 properties_ffi["Ethernet"]["EAP"]["Password"] = A.load.Ref(properties + 128 + 8 + 80, undefined); 15190 if (A.load.Bool(properties + 128 + 8 + 127)) { 15191 properties_ffi["Ethernet"]["EAP"]["SaveCredentials"] = A.load.Bool(properties + 128 + 8 + 84); 15192 } 15193 properties_ffi["Ethernet"]["EAP"]["ServerCAPEMs"] = A.load.Ref(properties + 128 + 8 + 88, undefined); 15194 properties_ffi["Ethernet"]["EAP"]["ServerCARefs"] = A.load.Ref(properties + 128 + 8 + 92, undefined); 15195 if (A.load.Bool(properties + 128 + 8 + 96 + 28)) { 15196 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"] = {}; 15197 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref( 15198 properties + 128 + 8 + 96 + 0, 15199 undefined 15200 ); 15201 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref( 15202 properties + 128 + 8 + 96 + 4, 15203 undefined 15204 ); 15205 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref( 15206 properties + 128 + 8 + 96 + 8, 15207 undefined 15208 ); 15209 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref( 15210 properties + 128 + 8 + 96 + 12, 15211 undefined 15212 ); 15213 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref( 15214 properties + 128 + 8 + 96 + 16, 15215 undefined 15216 ); 15217 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref( 15218 properties + 128 + 8 + 96 + 20, 15219 undefined 15220 ); 15221 if (A.load.Bool(properties + 128 + 8 + 96 + 26)) { 15222 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool( 15223 properties + 128 + 8 + 96 + 24 15224 ); 15225 } 15226 if (A.load.Bool(properties + 128 + 8 + 96 + 27)) { 15227 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool( 15228 properties + 128 + 8 + 96 + 25 15229 ); 15230 } 15231 } 15232 if (A.load.Bool(properties + 128 + 8 + 128)) { 15233 properties_ffi["Ethernet"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(properties + 128 + 8 + 125); 15234 } 15235 if (A.load.Bool(properties + 128 + 8 + 129)) { 15236 properties_ffi["Ethernet"]["EAP"]["UseSystemCAs"] = A.load.Bool(properties + 128 + 8 + 126); 15237 } 15238 } 15239 } 15240 properties_ffi["GUID"] = A.load.Ref(properties + 272, undefined); 15241 properties_ffi["IPAddressConfigType"] = A.load.Enum(properties + 276, ["DHCP", "Static"]); 15242 properties_ffi["Name"] = A.load.Ref(properties + 280, undefined); 15243 properties_ffi["NameServersConfigType"] = A.load.Enum(properties + 284, ["DHCP", "Static"]); 15244 if (A.load.Bool(properties + 633)) { 15245 properties_ffi["Priority"] = A.load.Int32(properties + 288); 15246 } 15247 properties_ffi["Type"] = A.load.Enum(properties + 292, [ 15248 "All", 15249 "Cellular", 15250 "Ethernet", 15251 "Tether", 15252 "VPN", 15253 "Wireless", 15254 "WiFi", 15255 ]); 15256 if (A.load.Bool(properties + 296 + 13)) { 15257 properties_ffi["VPN"] = {}; 15258 if (A.load.Bool(properties + 296 + 12)) { 15259 properties_ffi["VPN"]["AutoConnect"] = A.load.Bool(properties + 296 + 0); 15260 } 15261 properties_ffi["VPN"]["Host"] = A.load.Ref(properties + 296 + 4, undefined); 15262 properties_ffi["VPN"]["Type"] = A.load.Ref(properties + 296 + 8, undefined); 15263 } 15264 if (A.load.Bool(properties + 312 + 182)) { 15265 properties_ffi["WiFi"] = {}; 15266 if (A.load.Bool(properties + 312 + 176)) { 15267 properties_ffi["WiFi"]["AllowGatewayARPPolling"] = A.load.Bool(properties + 312 + 0); 15268 } 15269 if (A.load.Bool(properties + 312 + 177)) { 15270 properties_ffi["WiFi"]["AutoConnect"] = A.load.Bool(properties + 312 + 1); 15271 } 15272 properties_ffi["WiFi"]["BSSID"] = A.load.Ref(properties + 312 + 4, undefined); 15273 if (A.load.Bool(properties + 312 + 8 + 130)) { 15274 properties_ffi["WiFi"]["EAP"] = {}; 15275 properties_ffi["WiFi"]["EAP"]["AnonymousIdentity"] = A.load.Ref(properties + 312 + 8 + 0, undefined); 15276 if (A.load.Bool(properties + 312 + 8 + 4 + 45)) { 15277 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"] = {}; 15278 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref( 15279 properties + 312 + 8 + 4 + 0, 15280 undefined 15281 ); 15282 if (A.load.Bool(properties + 312 + 8 + 4 + 4 + 16)) { 15283 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 15284 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 15285 properties + 312 + 8 + 4 + 4 + 0, 15286 undefined 15287 ); 15288 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 15289 properties + 312 + 8 + 4 + 4 + 4, 15290 undefined 15291 ); 15292 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 15293 properties + 312 + 8 + 4 + 4 + 8, 15294 undefined 15295 ); 15296 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 15297 properties + 312 + 8 + 4 + 4 + 12, 15298 undefined 15299 ); 15300 } 15301 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref( 15302 properties + 312 + 8 + 4 + 24, 15303 undefined 15304 ); 15305 if (A.load.Bool(properties + 312 + 8 + 4 + 28 + 16)) { 15306 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 15307 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 15308 properties + 312 + 8 + 4 + 28 + 0, 15309 undefined 15310 ); 15311 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 15312 properties + 312 + 8 + 4 + 28 + 4, 15313 undefined 15314 ); 15315 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 15316 properties + 312 + 8 + 4 + 28 + 8, 15317 undefined 15318 ); 15319 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 15320 properties + 312 + 8 + 4 + 28 + 12, 15321 undefined 15322 ); 15323 } 15324 } 15325 properties_ffi["WiFi"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(properties + 312 + 8 + 52, undefined); 15326 properties_ffi["WiFi"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref( 15327 properties + 312 + 8 + 56, 15328 undefined 15329 ); 15330 properties_ffi["WiFi"]["EAP"]["ClientCertRef"] = A.load.Ref(properties + 312 + 8 + 60, undefined); 15331 properties_ffi["WiFi"]["EAP"]["ClientCertType"] = A.load.Enum(properties + 312 + 8 + 64, [ 15332 "Ref", 15333 "Pattern", 15334 ]); 15335 properties_ffi["WiFi"]["EAP"]["Identity"] = A.load.Ref(properties + 312 + 8 + 68, undefined); 15336 properties_ffi["WiFi"]["EAP"]["Inner"] = A.load.Ref(properties + 312 + 8 + 72, undefined); 15337 properties_ffi["WiFi"]["EAP"]["Outer"] = A.load.Ref(properties + 312 + 8 + 76, undefined); 15338 properties_ffi["WiFi"]["EAP"]["Password"] = A.load.Ref(properties + 312 + 8 + 80, undefined); 15339 if (A.load.Bool(properties + 312 + 8 + 127)) { 15340 properties_ffi["WiFi"]["EAP"]["SaveCredentials"] = A.load.Bool(properties + 312 + 8 + 84); 15341 } 15342 properties_ffi["WiFi"]["EAP"]["ServerCAPEMs"] = A.load.Ref(properties + 312 + 8 + 88, undefined); 15343 properties_ffi["WiFi"]["EAP"]["ServerCARefs"] = A.load.Ref(properties + 312 + 8 + 92, undefined); 15344 if (A.load.Bool(properties + 312 + 8 + 96 + 28)) { 15345 properties_ffi["WiFi"]["EAP"]["SubjectMatch"] = {}; 15346 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref( 15347 properties + 312 + 8 + 96 + 0, 15348 undefined 15349 ); 15350 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref( 15351 properties + 312 + 8 + 96 + 4, 15352 undefined 15353 ); 15354 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref( 15355 properties + 312 + 8 + 96 + 8, 15356 undefined 15357 ); 15358 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref( 15359 properties + 312 + 8 + 96 + 12, 15360 undefined 15361 ); 15362 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref( 15363 properties + 312 + 8 + 96 + 16, 15364 undefined 15365 ); 15366 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref( 15367 properties + 312 + 8 + 96 + 20, 15368 undefined 15369 ); 15370 if (A.load.Bool(properties + 312 + 8 + 96 + 26)) { 15371 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool( 15372 properties + 312 + 8 + 96 + 24 15373 ); 15374 } 15375 if (A.load.Bool(properties + 312 + 8 + 96 + 27)) { 15376 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool( 15377 properties + 312 + 8 + 96 + 25 15378 ); 15379 } 15380 } 15381 if (A.load.Bool(properties + 312 + 8 + 128)) { 15382 properties_ffi["WiFi"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(properties + 312 + 8 + 125); 15383 } 15384 if (A.load.Bool(properties + 312 + 8 + 129)) { 15385 properties_ffi["WiFi"]["EAP"]["UseSystemCAs"] = A.load.Bool(properties + 312 + 8 + 126); 15386 } 15387 } 15388 if (A.load.Bool(properties + 312 + 178)) { 15389 properties_ffi["WiFi"]["Frequency"] = A.load.Int32(properties + 312 + 140); 15390 } 15391 properties_ffi["WiFi"]["FrequencyList"] = A.load.Ref(properties + 312 + 144, undefined); 15392 properties_ffi["WiFi"]["HexSSID"] = A.load.Ref(properties + 312 + 148, undefined); 15393 if (A.load.Bool(properties + 312 + 179)) { 15394 properties_ffi["WiFi"]["HiddenSSID"] = A.load.Bool(properties + 312 + 152); 15395 } 15396 properties_ffi["WiFi"]["Passphrase"] = A.load.Ref(properties + 312 + 156, undefined); 15397 if (A.load.Bool(properties + 312 + 180)) { 15398 properties_ffi["WiFi"]["RoamThreshold"] = A.load.Int32(properties + 312 + 160); 15399 } 15400 properties_ffi["WiFi"]["SSID"] = A.load.Ref(properties + 312 + 164, undefined); 15401 properties_ffi["WiFi"]["Security"] = A.load.Ref(properties + 312 + 168, undefined); 15402 if (A.load.Bool(properties + 312 + 181)) { 15403 properties_ffi["WiFi"]["SignalStrength"] = A.load.Int32(properties + 312 + 172); 15404 } 15405 } 15406 if (A.load.Bool(properties + 496 + 136)) { 15407 properties_ffi["WiMAX"] = {}; 15408 if (A.load.Bool(properties + 496 + 135)) { 15409 properties_ffi["WiMAX"]["AutoConnect"] = A.load.Bool(properties + 496 + 0); 15410 } 15411 if (A.load.Bool(properties + 496 + 4 + 130)) { 15412 properties_ffi["WiMAX"]["EAP"] = {}; 15413 properties_ffi["WiMAX"]["EAP"]["AnonymousIdentity"] = A.load.Ref(properties + 496 + 4 + 0, undefined); 15414 if (A.load.Bool(properties + 496 + 4 + 4 + 45)) { 15415 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"] = {}; 15416 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref( 15417 properties + 496 + 4 + 4 + 0, 15418 undefined 15419 ); 15420 if (A.load.Bool(properties + 496 + 4 + 4 + 4 + 16)) { 15421 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 15422 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 15423 properties + 496 + 4 + 4 + 4 + 0, 15424 undefined 15425 ); 15426 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 15427 properties + 496 + 4 + 4 + 4 + 4, 15428 undefined 15429 ); 15430 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 15431 properties + 496 + 4 + 4 + 4 + 8, 15432 undefined 15433 ); 15434 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 15435 properties + 496 + 4 + 4 + 4 + 12, 15436 undefined 15437 ); 15438 } 15439 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref( 15440 properties + 496 + 4 + 4 + 24, 15441 undefined 15442 ); 15443 if (A.load.Bool(properties + 496 + 4 + 4 + 28 + 16)) { 15444 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 15445 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 15446 properties + 496 + 4 + 4 + 28 + 0, 15447 undefined 15448 ); 15449 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 15450 properties + 496 + 4 + 4 + 28 + 4, 15451 undefined 15452 ); 15453 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 15454 properties + 496 + 4 + 4 + 28 + 8, 15455 undefined 15456 ); 15457 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 15458 properties + 496 + 4 + 4 + 28 + 12, 15459 undefined 15460 ); 15461 } 15462 } 15463 properties_ffi["WiMAX"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(properties + 496 + 4 + 52, undefined); 15464 properties_ffi["WiMAX"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref( 15465 properties + 496 + 4 + 56, 15466 undefined 15467 ); 15468 properties_ffi["WiMAX"]["EAP"]["ClientCertRef"] = A.load.Ref(properties + 496 + 4 + 60, undefined); 15469 properties_ffi["WiMAX"]["EAP"]["ClientCertType"] = A.load.Enum(properties + 496 + 4 + 64, [ 15470 "Ref", 15471 "Pattern", 15472 ]); 15473 properties_ffi["WiMAX"]["EAP"]["Identity"] = A.load.Ref(properties + 496 + 4 + 68, undefined); 15474 properties_ffi["WiMAX"]["EAP"]["Inner"] = A.load.Ref(properties + 496 + 4 + 72, undefined); 15475 properties_ffi["WiMAX"]["EAP"]["Outer"] = A.load.Ref(properties + 496 + 4 + 76, undefined); 15476 properties_ffi["WiMAX"]["EAP"]["Password"] = A.load.Ref(properties + 496 + 4 + 80, undefined); 15477 if (A.load.Bool(properties + 496 + 4 + 127)) { 15478 properties_ffi["WiMAX"]["EAP"]["SaveCredentials"] = A.load.Bool(properties + 496 + 4 + 84); 15479 } 15480 properties_ffi["WiMAX"]["EAP"]["ServerCAPEMs"] = A.load.Ref(properties + 496 + 4 + 88, undefined); 15481 properties_ffi["WiMAX"]["EAP"]["ServerCARefs"] = A.load.Ref(properties + 496 + 4 + 92, undefined); 15482 if (A.load.Bool(properties + 496 + 4 + 96 + 28)) { 15483 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"] = {}; 15484 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref( 15485 properties + 496 + 4 + 96 + 0, 15486 undefined 15487 ); 15488 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref( 15489 properties + 496 + 4 + 96 + 4, 15490 undefined 15491 ); 15492 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref( 15493 properties + 496 + 4 + 96 + 8, 15494 undefined 15495 ); 15496 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref( 15497 properties + 496 + 4 + 96 + 12, 15498 undefined 15499 ); 15500 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref( 15501 properties + 496 + 4 + 96 + 16, 15502 undefined 15503 ); 15504 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref( 15505 properties + 496 + 4 + 96 + 20, 15506 undefined 15507 ); 15508 if (A.load.Bool(properties + 496 + 4 + 96 + 26)) { 15509 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool( 15510 properties + 496 + 4 + 96 + 24 15511 ); 15512 } 15513 if (A.load.Bool(properties + 496 + 4 + 96 + 27)) { 15514 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool( 15515 properties + 496 + 4 + 96 + 25 15516 ); 15517 } 15518 } 15519 if (A.load.Bool(properties + 496 + 4 + 128)) { 15520 properties_ffi["WiMAX"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(properties + 496 + 4 + 125); 15521 } 15522 if (A.load.Bool(properties + 496 + 4 + 129)) { 15523 properties_ffi["WiMAX"]["EAP"]["UseSystemCAs"] = A.load.Bool(properties + 496 + 4 + 126); 15524 } 15525 } 15526 } 15527 15528 const _ret = WEBEXT.networking.onc.createNetwork( 15529 shared === A.H.TRUE, 15530 properties_ffi, 15531 A.H.get<object>(callback) 15532 ); 15533 return A.H.TRUE; 15534 } catch (err: any) { 15535 A.store.Ref(errPtr, err); 15536 return A.H.FALSE; 15537 } 15538 }, 15539 "has_DisableNetworkType": (): heap.Ref<boolean> => { 15540 if (WEBEXT?.networking?.onc && "disableNetworkType" in WEBEXT?.networking?.onc) { 15541 return A.H.TRUE; 15542 } 15543 return A.H.FALSE; 15544 }, 15545 "func_DisableNetworkType": (fn: Pointer): void => { 15546 A.store.Ref(fn, WEBEXT.networking.onc.disableNetworkType); 15547 }, 15548 "call_DisableNetworkType": (retPtr: Pointer, networkType: number): void => { 15549 const _ret = WEBEXT.networking.onc.disableNetworkType( 15550 networkType > 0 && networkType <= 7 15551 ? ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"][networkType - 1] 15552 : undefined 15553 ); 15554 }, 15555 "try_DisableNetworkType": (retPtr: Pointer, errPtr: Pointer, networkType: number): heap.Ref<boolean> => { 15556 try { 15557 const _ret = WEBEXT.networking.onc.disableNetworkType( 15558 networkType > 0 && networkType <= 7 15559 ? ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"][networkType - 1] 15560 : undefined 15561 ); 15562 return A.H.TRUE; 15563 } catch (err: any) { 15564 A.store.Ref(errPtr, err); 15565 return A.H.FALSE; 15566 } 15567 }, 15568 "has_EnableNetworkType": (): heap.Ref<boolean> => { 15569 if (WEBEXT?.networking?.onc && "enableNetworkType" in WEBEXT?.networking?.onc) { 15570 return A.H.TRUE; 15571 } 15572 return A.H.FALSE; 15573 }, 15574 "func_EnableNetworkType": (fn: Pointer): void => { 15575 A.store.Ref(fn, WEBEXT.networking.onc.enableNetworkType); 15576 }, 15577 "call_EnableNetworkType": (retPtr: Pointer, networkType: number): void => { 15578 const _ret = WEBEXT.networking.onc.enableNetworkType( 15579 networkType > 0 && networkType <= 7 15580 ? ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"][networkType - 1] 15581 : undefined 15582 ); 15583 }, 15584 "try_EnableNetworkType": (retPtr: Pointer, errPtr: Pointer, networkType: number): heap.Ref<boolean> => { 15585 try { 15586 const _ret = WEBEXT.networking.onc.enableNetworkType( 15587 networkType > 0 && networkType <= 7 15588 ? ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"][networkType - 1] 15589 : undefined 15590 ); 15591 return A.H.TRUE; 15592 } catch (err: any) { 15593 A.store.Ref(errPtr, err); 15594 return A.H.FALSE; 15595 } 15596 }, 15597 "has_ForgetNetwork": (): heap.Ref<boolean> => { 15598 if (WEBEXT?.networking?.onc && "forgetNetwork" in WEBEXT?.networking?.onc) { 15599 return A.H.TRUE; 15600 } 15601 return A.H.FALSE; 15602 }, 15603 "func_ForgetNetwork": (fn: Pointer): void => { 15604 A.store.Ref(fn, WEBEXT.networking.onc.forgetNetwork); 15605 }, 15606 "call_ForgetNetwork": (retPtr: Pointer, networkGuid: heap.Ref<object>, callback: heap.Ref<object>): void => { 15607 const _ret = WEBEXT.networking.onc.forgetNetwork(A.H.get<object>(networkGuid), A.H.get<object>(callback)); 15608 }, 15609 "try_ForgetNetwork": ( 15610 retPtr: Pointer, 15611 errPtr: Pointer, 15612 networkGuid: heap.Ref<object>, 15613 callback: heap.Ref<object> 15614 ): heap.Ref<boolean> => { 15615 try { 15616 const _ret = WEBEXT.networking.onc.forgetNetwork(A.H.get<object>(networkGuid), A.H.get<object>(callback)); 15617 return A.H.TRUE; 15618 } catch (err: any) { 15619 A.store.Ref(errPtr, err); 15620 return A.H.FALSE; 15621 } 15622 }, 15623 "has_GetCaptivePortalStatus": (): heap.Ref<boolean> => { 15624 if (WEBEXT?.networking?.onc && "getCaptivePortalStatus" in WEBEXT?.networking?.onc) { 15625 return A.H.TRUE; 15626 } 15627 return A.H.FALSE; 15628 }, 15629 "func_GetCaptivePortalStatus": (fn: Pointer): void => { 15630 A.store.Ref(fn, WEBEXT.networking.onc.getCaptivePortalStatus); 15631 }, 15632 "call_GetCaptivePortalStatus": ( 15633 retPtr: Pointer, 15634 networkGuid: heap.Ref<object>, 15635 callback: heap.Ref<object> 15636 ): void => { 15637 const _ret = WEBEXT.networking.onc.getCaptivePortalStatus( 15638 A.H.get<object>(networkGuid), 15639 A.H.get<object>(callback) 15640 ); 15641 }, 15642 "try_GetCaptivePortalStatus": ( 15643 retPtr: Pointer, 15644 errPtr: Pointer, 15645 networkGuid: heap.Ref<object>, 15646 callback: heap.Ref<object> 15647 ): heap.Ref<boolean> => { 15648 try { 15649 const _ret = WEBEXT.networking.onc.getCaptivePortalStatus( 15650 A.H.get<object>(networkGuid), 15651 A.H.get<object>(callback) 15652 ); 15653 return A.H.TRUE; 15654 } catch (err: any) { 15655 A.store.Ref(errPtr, err); 15656 return A.H.FALSE; 15657 } 15658 }, 15659 "has_GetDeviceStates": (): heap.Ref<boolean> => { 15660 if (WEBEXT?.networking?.onc && "getDeviceStates" in WEBEXT?.networking?.onc) { 15661 return A.H.TRUE; 15662 } 15663 return A.H.FALSE; 15664 }, 15665 "func_GetDeviceStates": (fn: Pointer): void => { 15666 A.store.Ref(fn, WEBEXT.networking.onc.getDeviceStates); 15667 }, 15668 "call_GetDeviceStates": (retPtr: Pointer, callback: heap.Ref<object>): void => { 15669 const _ret = WEBEXT.networking.onc.getDeviceStates(A.H.get<object>(callback)); 15670 }, 15671 "try_GetDeviceStates": (retPtr: Pointer, errPtr: Pointer, callback: heap.Ref<object>): heap.Ref<boolean> => { 15672 try { 15673 const _ret = WEBEXT.networking.onc.getDeviceStates(A.H.get<object>(callback)); 15674 return A.H.TRUE; 15675 } catch (err: any) { 15676 A.store.Ref(errPtr, err); 15677 return A.H.FALSE; 15678 } 15679 }, 15680 "has_GetGlobalPolicy": (): heap.Ref<boolean> => { 15681 if (WEBEXT?.networking?.onc && "getGlobalPolicy" in WEBEXT?.networking?.onc) { 15682 return A.H.TRUE; 15683 } 15684 return A.H.FALSE; 15685 }, 15686 "func_GetGlobalPolicy": (fn: Pointer): void => { 15687 A.store.Ref(fn, WEBEXT.networking.onc.getGlobalPolicy); 15688 }, 15689 "call_GetGlobalPolicy": (retPtr: Pointer, callback: heap.Ref<object>): void => { 15690 const _ret = WEBEXT.networking.onc.getGlobalPolicy(A.H.get<object>(callback)); 15691 }, 15692 "try_GetGlobalPolicy": (retPtr: Pointer, errPtr: Pointer, callback: heap.Ref<object>): heap.Ref<boolean> => { 15693 try { 15694 const _ret = WEBEXT.networking.onc.getGlobalPolicy(A.H.get<object>(callback)); 15695 return A.H.TRUE; 15696 } catch (err: any) { 15697 A.store.Ref(errPtr, err); 15698 return A.H.FALSE; 15699 } 15700 }, 15701 "has_GetManagedProperties": (): heap.Ref<boolean> => { 15702 if (WEBEXT?.networking?.onc && "getManagedProperties" in WEBEXT?.networking?.onc) { 15703 return A.H.TRUE; 15704 } 15705 return A.H.FALSE; 15706 }, 15707 "func_GetManagedProperties": (fn: Pointer): void => { 15708 A.store.Ref(fn, WEBEXT.networking.onc.getManagedProperties); 15709 }, 15710 "call_GetManagedProperties": (retPtr: Pointer, networkGuid: heap.Ref<object>, callback: heap.Ref<object>): void => { 15711 const _ret = WEBEXT.networking.onc.getManagedProperties(A.H.get<object>(networkGuid), A.H.get<object>(callback)); 15712 }, 15713 "try_GetManagedProperties": ( 15714 retPtr: Pointer, 15715 errPtr: Pointer, 15716 networkGuid: heap.Ref<object>, 15717 callback: heap.Ref<object> 15718 ): heap.Ref<boolean> => { 15719 try { 15720 const _ret = WEBEXT.networking.onc.getManagedProperties( 15721 A.H.get<object>(networkGuid), 15722 A.H.get<object>(callback) 15723 ); 15724 return A.H.TRUE; 15725 } catch (err: any) { 15726 A.store.Ref(errPtr, err); 15727 return A.H.FALSE; 15728 } 15729 }, 15730 "has_GetNetworks": (): heap.Ref<boolean> => { 15731 if (WEBEXT?.networking?.onc && "getNetworks" in WEBEXT?.networking?.onc) { 15732 return A.H.TRUE; 15733 } 15734 return A.H.FALSE; 15735 }, 15736 "func_GetNetworks": (fn: Pointer): void => { 15737 A.store.Ref(fn, WEBEXT.networking.onc.getNetworks); 15738 }, 15739 "call_GetNetworks": (retPtr: Pointer, filter: Pointer, callback: heap.Ref<object>): void => { 15740 const filter_ffi = {}; 15741 15742 filter_ffi["networkType"] = A.load.Enum(filter + 0, [ 15743 "All", 15744 "Cellular", 15745 "Ethernet", 15746 "Tether", 15747 "VPN", 15748 "Wireless", 15749 "WiFi", 15750 ]); 15751 if (A.load.Bool(filter + 12)) { 15752 filter_ffi["visible"] = A.load.Bool(filter + 4); 15753 } 15754 if (A.load.Bool(filter + 13)) { 15755 filter_ffi["configured"] = A.load.Bool(filter + 5); 15756 } 15757 if (A.load.Bool(filter + 14)) { 15758 filter_ffi["limit"] = A.load.Int32(filter + 8); 15759 } 15760 15761 const _ret = WEBEXT.networking.onc.getNetworks(filter_ffi, A.H.get<object>(callback)); 15762 }, 15763 "try_GetNetworks": ( 15764 retPtr: Pointer, 15765 errPtr: Pointer, 15766 filter: Pointer, 15767 callback: heap.Ref<object> 15768 ): heap.Ref<boolean> => { 15769 try { 15770 const filter_ffi = {}; 15771 15772 filter_ffi["networkType"] = A.load.Enum(filter + 0, [ 15773 "All", 15774 "Cellular", 15775 "Ethernet", 15776 "Tether", 15777 "VPN", 15778 "Wireless", 15779 "WiFi", 15780 ]); 15781 if (A.load.Bool(filter + 12)) { 15782 filter_ffi["visible"] = A.load.Bool(filter + 4); 15783 } 15784 if (A.load.Bool(filter + 13)) { 15785 filter_ffi["configured"] = A.load.Bool(filter + 5); 15786 } 15787 if (A.load.Bool(filter + 14)) { 15788 filter_ffi["limit"] = A.load.Int32(filter + 8); 15789 } 15790 15791 const _ret = WEBEXT.networking.onc.getNetworks(filter_ffi, A.H.get<object>(callback)); 15792 return A.H.TRUE; 15793 } catch (err: any) { 15794 A.store.Ref(errPtr, err); 15795 return A.H.FALSE; 15796 } 15797 }, 15798 "has_GetProperties": (): heap.Ref<boolean> => { 15799 if (WEBEXT?.networking?.onc && "getProperties" in WEBEXT?.networking?.onc) { 15800 return A.H.TRUE; 15801 } 15802 return A.H.FALSE; 15803 }, 15804 "func_GetProperties": (fn: Pointer): void => { 15805 A.store.Ref(fn, WEBEXT.networking.onc.getProperties); 15806 }, 15807 "call_GetProperties": (retPtr: Pointer, networkGuid: heap.Ref<object>, callback: heap.Ref<object>): void => { 15808 const _ret = WEBEXT.networking.onc.getProperties(A.H.get<object>(networkGuid), A.H.get<object>(callback)); 15809 }, 15810 "try_GetProperties": ( 15811 retPtr: Pointer, 15812 errPtr: Pointer, 15813 networkGuid: heap.Ref<object>, 15814 callback: heap.Ref<object> 15815 ): heap.Ref<boolean> => { 15816 try { 15817 const _ret = WEBEXT.networking.onc.getProperties(A.H.get<object>(networkGuid), A.H.get<object>(callback)); 15818 return A.H.TRUE; 15819 } catch (err: any) { 15820 A.store.Ref(errPtr, err); 15821 return A.H.FALSE; 15822 } 15823 }, 15824 "has_GetState": (): heap.Ref<boolean> => { 15825 if (WEBEXT?.networking?.onc && "getState" in WEBEXT?.networking?.onc) { 15826 return A.H.TRUE; 15827 } 15828 return A.H.FALSE; 15829 }, 15830 "func_GetState": (fn: Pointer): void => { 15831 A.store.Ref(fn, WEBEXT.networking.onc.getState); 15832 }, 15833 "call_GetState": (retPtr: Pointer, networkGuid: heap.Ref<object>, callback: heap.Ref<object>): void => { 15834 const _ret = WEBEXT.networking.onc.getState(A.H.get<object>(networkGuid), A.H.get<object>(callback)); 15835 }, 15836 "try_GetState": ( 15837 retPtr: Pointer, 15838 errPtr: Pointer, 15839 networkGuid: heap.Ref<object>, 15840 callback: heap.Ref<object> 15841 ): heap.Ref<boolean> => { 15842 try { 15843 const _ret = WEBEXT.networking.onc.getState(A.H.get<object>(networkGuid), A.H.get<object>(callback)); 15844 return A.H.TRUE; 15845 } catch (err: any) { 15846 A.store.Ref(errPtr, err); 15847 return A.H.FALSE; 15848 } 15849 }, 15850 "has_OnDeviceStateListChanged": (): heap.Ref<boolean> => { 15851 if ( 15852 WEBEXT?.networking?.onc?.onDeviceStateListChanged && 15853 "addListener" in WEBEXT?.networking?.onc?.onDeviceStateListChanged 15854 ) { 15855 return A.H.TRUE; 15856 } 15857 return A.H.FALSE; 15858 }, 15859 "func_OnDeviceStateListChanged": (fn: Pointer): void => { 15860 A.store.Ref(fn, WEBEXT.networking.onc.onDeviceStateListChanged.addListener); 15861 }, 15862 "call_OnDeviceStateListChanged": (retPtr: Pointer, callback: heap.Ref<object>): void => { 15863 const _ret = WEBEXT.networking.onc.onDeviceStateListChanged.addListener(A.H.get<object>(callback)); 15864 }, 15865 "try_OnDeviceStateListChanged": ( 15866 retPtr: Pointer, 15867 errPtr: Pointer, 15868 callback: heap.Ref<object> 15869 ): heap.Ref<boolean> => { 15870 try { 15871 const _ret = WEBEXT.networking.onc.onDeviceStateListChanged.addListener(A.H.get<object>(callback)); 15872 return A.H.TRUE; 15873 } catch (err: any) { 15874 A.store.Ref(errPtr, err); 15875 return A.H.FALSE; 15876 } 15877 }, 15878 "has_OffDeviceStateListChanged": (): heap.Ref<boolean> => { 15879 if ( 15880 WEBEXT?.networking?.onc?.onDeviceStateListChanged && 15881 "removeListener" in WEBEXT?.networking?.onc?.onDeviceStateListChanged 15882 ) { 15883 return A.H.TRUE; 15884 } 15885 return A.H.FALSE; 15886 }, 15887 "func_OffDeviceStateListChanged": (fn: Pointer): void => { 15888 A.store.Ref(fn, WEBEXT.networking.onc.onDeviceStateListChanged.removeListener); 15889 }, 15890 "call_OffDeviceStateListChanged": (retPtr: Pointer, callback: heap.Ref<object>): void => { 15891 const _ret = WEBEXT.networking.onc.onDeviceStateListChanged.removeListener(A.H.get<object>(callback)); 15892 }, 15893 "try_OffDeviceStateListChanged": ( 15894 retPtr: Pointer, 15895 errPtr: Pointer, 15896 callback: heap.Ref<object> 15897 ): heap.Ref<boolean> => { 15898 try { 15899 const _ret = WEBEXT.networking.onc.onDeviceStateListChanged.removeListener(A.H.get<object>(callback)); 15900 return A.H.TRUE; 15901 } catch (err: any) { 15902 A.store.Ref(errPtr, err); 15903 return A.H.FALSE; 15904 } 15905 }, 15906 "has_HasOnDeviceStateListChanged": (): heap.Ref<boolean> => { 15907 if ( 15908 WEBEXT?.networking?.onc?.onDeviceStateListChanged && 15909 "hasListener" in WEBEXT?.networking?.onc?.onDeviceStateListChanged 15910 ) { 15911 return A.H.TRUE; 15912 } 15913 return A.H.FALSE; 15914 }, 15915 "func_HasOnDeviceStateListChanged": (fn: Pointer): void => { 15916 A.store.Ref(fn, WEBEXT.networking.onc.onDeviceStateListChanged.hasListener); 15917 }, 15918 "call_HasOnDeviceStateListChanged": (retPtr: Pointer, callback: heap.Ref<object>): void => { 15919 const _ret = WEBEXT.networking.onc.onDeviceStateListChanged.hasListener(A.H.get<object>(callback)); 15920 A.store.Bool(retPtr, _ret); 15921 }, 15922 "try_HasOnDeviceStateListChanged": ( 15923 retPtr: Pointer, 15924 errPtr: Pointer, 15925 callback: heap.Ref<object> 15926 ): heap.Ref<boolean> => { 15927 try { 15928 const _ret = WEBEXT.networking.onc.onDeviceStateListChanged.hasListener(A.H.get<object>(callback)); 15929 A.store.Bool(retPtr, _ret); 15930 return A.H.TRUE; 15931 } catch (err: any) { 15932 A.store.Ref(errPtr, err); 15933 return A.H.FALSE; 15934 } 15935 }, 15936 "has_OnNetworkListChanged": (): heap.Ref<boolean> => { 15937 if ( 15938 WEBEXT?.networking?.onc?.onNetworkListChanged && 15939 "addListener" in WEBEXT?.networking?.onc?.onNetworkListChanged 15940 ) { 15941 return A.H.TRUE; 15942 } 15943 return A.H.FALSE; 15944 }, 15945 "func_OnNetworkListChanged": (fn: Pointer): void => { 15946 A.store.Ref(fn, WEBEXT.networking.onc.onNetworkListChanged.addListener); 15947 }, 15948 "call_OnNetworkListChanged": (retPtr: Pointer, callback: heap.Ref<object>): void => { 15949 const _ret = WEBEXT.networking.onc.onNetworkListChanged.addListener(A.H.get<object>(callback)); 15950 }, 15951 "try_OnNetworkListChanged": (retPtr: Pointer, errPtr: Pointer, callback: heap.Ref<object>): heap.Ref<boolean> => { 15952 try { 15953 const _ret = WEBEXT.networking.onc.onNetworkListChanged.addListener(A.H.get<object>(callback)); 15954 return A.H.TRUE; 15955 } catch (err: any) { 15956 A.store.Ref(errPtr, err); 15957 return A.H.FALSE; 15958 } 15959 }, 15960 "has_OffNetworkListChanged": (): heap.Ref<boolean> => { 15961 if ( 15962 WEBEXT?.networking?.onc?.onNetworkListChanged && 15963 "removeListener" in WEBEXT?.networking?.onc?.onNetworkListChanged 15964 ) { 15965 return A.H.TRUE; 15966 } 15967 return A.H.FALSE; 15968 }, 15969 "func_OffNetworkListChanged": (fn: Pointer): void => { 15970 A.store.Ref(fn, WEBEXT.networking.onc.onNetworkListChanged.removeListener); 15971 }, 15972 "call_OffNetworkListChanged": (retPtr: Pointer, callback: heap.Ref<object>): void => { 15973 const _ret = WEBEXT.networking.onc.onNetworkListChanged.removeListener(A.H.get<object>(callback)); 15974 }, 15975 "try_OffNetworkListChanged": (retPtr: Pointer, errPtr: Pointer, callback: heap.Ref<object>): heap.Ref<boolean> => { 15976 try { 15977 const _ret = WEBEXT.networking.onc.onNetworkListChanged.removeListener(A.H.get<object>(callback)); 15978 return A.H.TRUE; 15979 } catch (err: any) { 15980 A.store.Ref(errPtr, err); 15981 return A.H.FALSE; 15982 } 15983 }, 15984 "has_HasOnNetworkListChanged": (): heap.Ref<boolean> => { 15985 if ( 15986 WEBEXT?.networking?.onc?.onNetworkListChanged && 15987 "hasListener" in WEBEXT?.networking?.onc?.onNetworkListChanged 15988 ) { 15989 return A.H.TRUE; 15990 } 15991 return A.H.FALSE; 15992 }, 15993 "func_HasOnNetworkListChanged": (fn: Pointer): void => { 15994 A.store.Ref(fn, WEBEXT.networking.onc.onNetworkListChanged.hasListener); 15995 }, 15996 "call_HasOnNetworkListChanged": (retPtr: Pointer, callback: heap.Ref<object>): void => { 15997 const _ret = WEBEXT.networking.onc.onNetworkListChanged.hasListener(A.H.get<object>(callback)); 15998 A.store.Bool(retPtr, _ret); 15999 }, 16000 "try_HasOnNetworkListChanged": ( 16001 retPtr: Pointer, 16002 errPtr: Pointer, 16003 callback: heap.Ref<object> 16004 ): heap.Ref<boolean> => { 16005 try { 16006 const _ret = WEBEXT.networking.onc.onNetworkListChanged.hasListener(A.H.get<object>(callback)); 16007 A.store.Bool(retPtr, _ret); 16008 return A.H.TRUE; 16009 } catch (err: any) { 16010 A.store.Ref(errPtr, err); 16011 return A.H.FALSE; 16012 } 16013 }, 16014 "has_OnNetworksChanged": (): heap.Ref<boolean> => { 16015 if (WEBEXT?.networking?.onc?.onNetworksChanged && "addListener" in WEBEXT?.networking?.onc?.onNetworksChanged) { 16016 return A.H.TRUE; 16017 } 16018 return A.H.FALSE; 16019 }, 16020 "func_OnNetworksChanged": (fn: Pointer): void => { 16021 A.store.Ref(fn, WEBEXT.networking.onc.onNetworksChanged.addListener); 16022 }, 16023 "call_OnNetworksChanged": (retPtr: Pointer, callback: heap.Ref<object>): void => { 16024 const _ret = WEBEXT.networking.onc.onNetworksChanged.addListener(A.H.get<object>(callback)); 16025 }, 16026 "try_OnNetworksChanged": (retPtr: Pointer, errPtr: Pointer, callback: heap.Ref<object>): heap.Ref<boolean> => { 16027 try { 16028 const _ret = WEBEXT.networking.onc.onNetworksChanged.addListener(A.H.get<object>(callback)); 16029 return A.H.TRUE; 16030 } catch (err: any) { 16031 A.store.Ref(errPtr, err); 16032 return A.H.FALSE; 16033 } 16034 }, 16035 "has_OffNetworksChanged": (): heap.Ref<boolean> => { 16036 if ( 16037 WEBEXT?.networking?.onc?.onNetworksChanged && 16038 "removeListener" in WEBEXT?.networking?.onc?.onNetworksChanged 16039 ) { 16040 return A.H.TRUE; 16041 } 16042 return A.H.FALSE; 16043 }, 16044 "func_OffNetworksChanged": (fn: Pointer): void => { 16045 A.store.Ref(fn, WEBEXT.networking.onc.onNetworksChanged.removeListener); 16046 }, 16047 "call_OffNetworksChanged": (retPtr: Pointer, callback: heap.Ref<object>): void => { 16048 const _ret = WEBEXT.networking.onc.onNetworksChanged.removeListener(A.H.get<object>(callback)); 16049 }, 16050 "try_OffNetworksChanged": (retPtr: Pointer, errPtr: Pointer, callback: heap.Ref<object>): heap.Ref<boolean> => { 16051 try { 16052 const _ret = WEBEXT.networking.onc.onNetworksChanged.removeListener(A.H.get<object>(callback)); 16053 return A.H.TRUE; 16054 } catch (err: any) { 16055 A.store.Ref(errPtr, err); 16056 return A.H.FALSE; 16057 } 16058 }, 16059 "has_HasOnNetworksChanged": (): heap.Ref<boolean> => { 16060 if (WEBEXT?.networking?.onc?.onNetworksChanged && "hasListener" in WEBEXT?.networking?.onc?.onNetworksChanged) { 16061 return A.H.TRUE; 16062 } 16063 return A.H.FALSE; 16064 }, 16065 "func_HasOnNetworksChanged": (fn: Pointer): void => { 16066 A.store.Ref(fn, WEBEXT.networking.onc.onNetworksChanged.hasListener); 16067 }, 16068 "call_HasOnNetworksChanged": (retPtr: Pointer, callback: heap.Ref<object>): void => { 16069 const _ret = WEBEXT.networking.onc.onNetworksChanged.hasListener(A.H.get<object>(callback)); 16070 A.store.Bool(retPtr, _ret); 16071 }, 16072 "try_HasOnNetworksChanged": (retPtr: Pointer, errPtr: Pointer, callback: heap.Ref<object>): heap.Ref<boolean> => { 16073 try { 16074 const _ret = WEBEXT.networking.onc.onNetworksChanged.hasListener(A.H.get<object>(callback)); 16075 A.store.Bool(retPtr, _ret); 16076 return A.H.TRUE; 16077 } catch (err: any) { 16078 A.store.Ref(errPtr, err); 16079 return A.H.FALSE; 16080 } 16081 }, 16082 "has_OnPortalDetectionCompleted": (): heap.Ref<boolean> => { 16083 if ( 16084 WEBEXT?.networking?.onc?.onPortalDetectionCompleted && 16085 "addListener" in WEBEXT?.networking?.onc?.onPortalDetectionCompleted 16086 ) { 16087 return A.H.TRUE; 16088 } 16089 return A.H.FALSE; 16090 }, 16091 "func_OnPortalDetectionCompleted": (fn: Pointer): void => { 16092 A.store.Ref(fn, WEBEXT.networking.onc.onPortalDetectionCompleted.addListener); 16093 }, 16094 "call_OnPortalDetectionCompleted": (retPtr: Pointer, callback: heap.Ref<object>): void => { 16095 const _ret = WEBEXT.networking.onc.onPortalDetectionCompleted.addListener(A.H.get<object>(callback)); 16096 }, 16097 "try_OnPortalDetectionCompleted": ( 16098 retPtr: Pointer, 16099 errPtr: Pointer, 16100 callback: heap.Ref<object> 16101 ): heap.Ref<boolean> => { 16102 try { 16103 const _ret = WEBEXT.networking.onc.onPortalDetectionCompleted.addListener(A.H.get<object>(callback)); 16104 return A.H.TRUE; 16105 } catch (err: any) { 16106 A.store.Ref(errPtr, err); 16107 return A.H.FALSE; 16108 } 16109 }, 16110 "has_OffPortalDetectionCompleted": (): heap.Ref<boolean> => { 16111 if ( 16112 WEBEXT?.networking?.onc?.onPortalDetectionCompleted && 16113 "removeListener" in WEBEXT?.networking?.onc?.onPortalDetectionCompleted 16114 ) { 16115 return A.H.TRUE; 16116 } 16117 return A.H.FALSE; 16118 }, 16119 "func_OffPortalDetectionCompleted": (fn: Pointer): void => { 16120 A.store.Ref(fn, WEBEXT.networking.onc.onPortalDetectionCompleted.removeListener); 16121 }, 16122 "call_OffPortalDetectionCompleted": (retPtr: Pointer, callback: heap.Ref<object>): void => { 16123 const _ret = WEBEXT.networking.onc.onPortalDetectionCompleted.removeListener(A.H.get<object>(callback)); 16124 }, 16125 "try_OffPortalDetectionCompleted": ( 16126 retPtr: Pointer, 16127 errPtr: Pointer, 16128 callback: heap.Ref<object> 16129 ): heap.Ref<boolean> => { 16130 try { 16131 const _ret = WEBEXT.networking.onc.onPortalDetectionCompleted.removeListener(A.H.get<object>(callback)); 16132 return A.H.TRUE; 16133 } catch (err: any) { 16134 A.store.Ref(errPtr, err); 16135 return A.H.FALSE; 16136 } 16137 }, 16138 "has_HasOnPortalDetectionCompleted": (): heap.Ref<boolean> => { 16139 if ( 16140 WEBEXT?.networking?.onc?.onPortalDetectionCompleted && 16141 "hasListener" in WEBEXT?.networking?.onc?.onPortalDetectionCompleted 16142 ) { 16143 return A.H.TRUE; 16144 } 16145 return A.H.FALSE; 16146 }, 16147 "func_HasOnPortalDetectionCompleted": (fn: Pointer): void => { 16148 A.store.Ref(fn, WEBEXT.networking.onc.onPortalDetectionCompleted.hasListener); 16149 }, 16150 "call_HasOnPortalDetectionCompleted": (retPtr: Pointer, callback: heap.Ref<object>): void => { 16151 const _ret = WEBEXT.networking.onc.onPortalDetectionCompleted.hasListener(A.H.get<object>(callback)); 16152 A.store.Bool(retPtr, _ret); 16153 }, 16154 "try_HasOnPortalDetectionCompleted": ( 16155 retPtr: Pointer, 16156 errPtr: Pointer, 16157 callback: heap.Ref<object> 16158 ): heap.Ref<boolean> => { 16159 try { 16160 const _ret = WEBEXT.networking.onc.onPortalDetectionCompleted.hasListener(A.H.get<object>(callback)); 16161 A.store.Bool(retPtr, _ret); 16162 return A.H.TRUE; 16163 } catch (err: any) { 16164 A.store.Ref(errPtr, err); 16165 return A.H.FALSE; 16166 } 16167 }, 16168 "has_RequestNetworkScan": (): heap.Ref<boolean> => { 16169 if (WEBEXT?.networking?.onc && "requestNetworkScan" in WEBEXT?.networking?.onc) { 16170 return A.H.TRUE; 16171 } 16172 return A.H.FALSE; 16173 }, 16174 "func_RequestNetworkScan": (fn: Pointer): void => { 16175 A.store.Ref(fn, WEBEXT.networking.onc.requestNetworkScan); 16176 }, 16177 "call_RequestNetworkScan": (retPtr: Pointer, networkType: number): void => { 16178 const _ret = WEBEXT.networking.onc.requestNetworkScan( 16179 networkType > 0 && networkType <= 7 16180 ? ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"][networkType - 1] 16181 : undefined 16182 ); 16183 }, 16184 "try_RequestNetworkScan": (retPtr: Pointer, errPtr: Pointer, networkType: number): heap.Ref<boolean> => { 16185 try { 16186 const _ret = WEBEXT.networking.onc.requestNetworkScan( 16187 networkType > 0 && networkType <= 7 16188 ? ["All", "Cellular", "Ethernet", "Tether", "VPN", "Wireless", "WiFi"][networkType - 1] 16189 : undefined 16190 ); 16191 return A.H.TRUE; 16192 } catch (err: any) { 16193 A.store.Ref(errPtr, err); 16194 return A.H.FALSE; 16195 } 16196 }, 16197 "has_SetProperties": (): heap.Ref<boolean> => { 16198 if (WEBEXT?.networking?.onc && "setProperties" in WEBEXT?.networking?.onc) { 16199 return A.H.TRUE; 16200 } 16201 return A.H.FALSE; 16202 }, 16203 "func_SetProperties": (fn: Pointer): void => { 16204 A.store.Ref(fn, WEBEXT.networking.onc.setProperties); 16205 }, 16206 "call_SetProperties": ( 16207 retPtr: Pointer, 16208 networkGuid: heap.Ref<object>, 16209 properties: Pointer, 16210 callback: heap.Ref<object> 16211 ): void => { 16212 const properties_ffi = {}; 16213 16214 if (A.load.Bool(properties + 0 + 127)) { 16215 properties_ffi["Cellular"] = {}; 16216 if (A.load.Bool(properties + 0 + 121)) { 16217 properties_ffi["Cellular"]["AutoConnect"] = A.load.Bool(properties + 0 + 0); 16218 } 16219 properties_ffi["Cellular"]["ActivationType"] = A.load.Ref(properties + 0 + 4, undefined); 16220 properties_ffi["Cellular"]["ActivationState"] = A.load.Enum(properties + 0 + 8, [ 16221 "Activated", 16222 "Activating", 16223 "NotActivated", 16224 "PartiallyActivated", 16225 ]); 16226 if (A.load.Bool(properties + 0 + 122)) { 16227 properties_ffi["Cellular"]["AllowRoaming"] = A.load.Bool(properties + 0 + 12); 16228 } 16229 properties_ffi["Cellular"]["Family"] = A.load.Ref(properties + 0 + 16, undefined); 16230 properties_ffi["Cellular"]["FirmwareRevision"] = A.load.Ref(properties + 0 + 20, undefined); 16231 properties_ffi["Cellular"]["FoundNetworks"] = A.load.Ref(properties + 0 + 24, undefined); 16232 properties_ffi["Cellular"]["HardwareRevision"] = A.load.Ref(properties + 0 + 28, undefined); 16233 if (A.load.Bool(properties + 0 + 32 + 12)) { 16234 properties_ffi["Cellular"]["HomeProvider"] = {}; 16235 properties_ffi["Cellular"]["HomeProvider"]["Name"] = A.load.Ref(properties + 0 + 32 + 0, undefined); 16236 properties_ffi["Cellular"]["HomeProvider"]["Code"] = A.load.Ref(properties + 0 + 32 + 4, undefined); 16237 properties_ffi["Cellular"]["HomeProvider"]["Country"] = A.load.Ref(properties + 0 + 32 + 8, undefined); 16238 } 16239 properties_ffi["Cellular"]["Manufacturer"] = A.load.Ref(properties + 0 + 48, undefined); 16240 properties_ffi["Cellular"]["ModelID"] = A.load.Ref(properties + 0 + 52, undefined); 16241 properties_ffi["Cellular"]["NetworkTechnology"] = A.load.Ref(properties + 0 + 56, undefined); 16242 if (A.load.Bool(properties + 0 + 60 + 12)) { 16243 properties_ffi["Cellular"]["PaymentPortal"] = {}; 16244 properties_ffi["Cellular"]["PaymentPortal"]["Method"] = A.load.Ref(properties + 0 + 60 + 0, undefined); 16245 properties_ffi["Cellular"]["PaymentPortal"]["PostData"] = A.load.Ref(properties + 0 + 60 + 4, undefined); 16246 properties_ffi["Cellular"]["PaymentPortal"]["Url"] = A.load.Ref(properties + 0 + 60 + 8, undefined); 16247 } 16248 properties_ffi["Cellular"]["RoamingState"] = A.load.Ref(properties + 0 + 76, undefined); 16249 if (A.load.Bool(properties + 0 + 123)) { 16250 properties_ffi["Cellular"]["Scanning"] = A.load.Bool(properties + 0 + 80); 16251 } 16252 if (A.load.Bool(properties + 0 + 84 + 12)) { 16253 properties_ffi["Cellular"]["ServingOperator"] = {}; 16254 properties_ffi["Cellular"]["ServingOperator"]["Name"] = A.load.Ref(properties + 0 + 84 + 0, undefined); 16255 properties_ffi["Cellular"]["ServingOperator"]["Code"] = A.load.Ref(properties + 0 + 84 + 4, undefined); 16256 properties_ffi["Cellular"]["ServingOperator"]["Country"] = A.load.Ref(properties + 0 + 84 + 8, undefined); 16257 } 16258 if (A.load.Bool(properties + 0 + 100 + 14)) { 16259 properties_ffi["Cellular"]["SIMLockStatus"] = {}; 16260 properties_ffi["Cellular"]["SIMLockStatus"]["LockType"] = A.load.Ref(properties + 0 + 100 + 0, undefined); 16261 if (A.load.Bool(properties + 0 + 100 + 12)) { 16262 properties_ffi["Cellular"]["SIMLockStatus"]["LockEnabled"] = A.load.Bool(properties + 0 + 100 + 4); 16263 } 16264 if (A.load.Bool(properties + 0 + 100 + 13)) { 16265 properties_ffi["Cellular"]["SIMLockStatus"]["RetriesLeft"] = A.load.Int32(properties + 0 + 100 + 8); 16266 } 16267 } 16268 if (A.load.Bool(properties + 0 + 124)) { 16269 properties_ffi["Cellular"]["SIMPresent"] = A.load.Bool(properties + 0 + 115); 16270 } 16271 if (A.load.Bool(properties + 0 + 125)) { 16272 properties_ffi["Cellular"]["SignalStrength"] = A.load.Int32(properties + 0 + 116); 16273 } 16274 if (A.load.Bool(properties + 0 + 126)) { 16275 properties_ffi["Cellular"]["SupportNetworkScan"] = A.load.Bool(properties + 0 + 120); 16276 } 16277 } 16278 if (A.load.Bool(properties + 128 + 140)) { 16279 properties_ffi["Ethernet"] = {}; 16280 if (A.load.Bool(properties + 128 + 139)) { 16281 properties_ffi["Ethernet"]["AutoConnect"] = A.load.Bool(properties + 128 + 0); 16282 } 16283 properties_ffi["Ethernet"]["Authentication"] = A.load.Ref(properties + 128 + 4, undefined); 16284 if (A.load.Bool(properties + 128 + 8 + 130)) { 16285 properties_ffi["Ethernet"]["EAP"] = {}; 16286 properties_ffi["Ethernet"]["EAP"]["AnonymousIdentity"] = A.load.Ref(properties + 128 + 8 + 0, undefined); 16287 if (A.load.Bool(properties + 128 + 8 + 4 + 45)) { 16288 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"] = {}; 16289 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref( 16290 properties + 128 + 8 + 4 + 0, 16291 undefined 16292 ); 16293 if (A.load.Bool(properties + 128 + 8 + 4 + 4 + 16)) { 16294 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 16295 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 16296 properties + 128 + 8 + 4 + 4 + 0, 16297 undefined 16298 ); 16299 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 16300 properties + 128 + 8 + 4 + 4 + 4, 16301 undefined 16302 ); 16303 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 16304 properties + 128 + 8 + 4 + 4 + 8, 16305 undefined 16306 ); 16307 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 16308 properties + 128 + 8 + 4 + 4 + 12, 16309 undefined 16310 ); 16311 } 16312 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref( 16313 properties + 128 + 8 + 4 + 24, 16314 undefined 16315 ); 16316 if (A.load.Bool(properties + 128 + 8 + 4 + 28 + 16)) { 16317 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 16318 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 16319 properties + 128 + 8 + 4 + 28 + 0, 16320 undefined 16321 ); 16322 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 16323 properties + 128 + 8 + 4 + 28 + 4, 16324 undefined 16325 ); 16326 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 16327 properties + 128 + 8 + 4 + 28 + 8, 16328 undefined 16329 ); 16330 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 16331 properties + 128 + 8 + 4 + 28 + 12, 16332 undefined 16333 ); 16334 } 16335 } 16336 properties_ffi["Ethernet"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(properties + 128 + 8 + 52, undefined); 16337 properties_ffi["Ethernet"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref( 16338 properties + 128 + 8 + 56, 16339 undefined 16340 ); 16341 properties_ffi["Ethernet"]["EAP"]["ClientCertRef"] = A.load.Ref(properties + 128 + 8 + 60, undefined); 16342 properties_ffi["Ethernet"]["EAP"]["ClientCertType"] = A.load.Enum(properties + 128 + 8 + 64, [ 16343 "Ref", 16344 "Pattern", 16345 ]); 16346 properties_ffi["Ethernet"]["EAP"]["Identity"] = A.load.Ref(properties + 128 + 8 + 68, undefined); 16347 properties_ffi["Ethernet"]["EAP"]["Inner"] = A.load.Ref(properties + 128 + 8 + 72, undefined); 16348 properties_ffi["Ethernet"]["EAP"]["Outer"] = A.load.Ref(properties + 128 + 8 + 76, undefined); 16349 properties_ffi["Ethernet"]["EAP"]["Password"] = A.load.Ref(properties + 128 + 8 + 80, undefined); 16350 if (A.load.Bool(properties + 128 + 8 + 127)) { 16351 properties_ffi["Ethernet"]["EAP"]["SaveCredentials"] = A.load.Bool(properties + 128 + 8 + 84); 16352 } 16353 properties_ffi["Ethernet"]["EAP"]["ServerCAPEMs"] = A.load.Ref(properties + 128 + 8 + 88, undefined); 16354 properties_ffi["Ethernet"]["EAP"]["ServerCARefs"] = A.load.Ref(properties + 128 + 8 + 92, undefined); 16355 if (A.load.Bool(properties + 128 + 8 + 96 + 28)) { 16356 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"] = {}; 16357 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref( 16358 properties + 128 + 8 + 96 + 0, 16359 undefined 16360 ); 16361 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref( 16362 properties + 128 + 8 + 96 + 4, 16363 undefined 16364 ); 16365 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref( 16366 properties + 128 + 8 + 96 + 8, 16367 undefined 16368 ); 16369 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref( 16370 properties + 128 + 8 + 96 + 12, 16371 undefined 16372 ); 16373 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref( 16374 properties + 128 + 8 + 96 + 16, 16375 undefined 16376 ); 16377 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref( 16378 properties + 128 + 8 + 96 + 20, 16379 undefined 16380 ); 16381 if (A.load.Bool(properties + 128 + 8 + 96 + 26)) { 16382 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool( 16383 properties + 128 + 8 + 96 + 24 16384 ); 16385 } 16386 if (A.load.Bool(properties + 128 + 8 + 96 + 27)) { 16387 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool( 16388 properties + 128 + 8 + 96 + 25 16389 ); 16390 } 16391 } 16392 if (A.load.Bool(properties + 128 + 8 + 128)) { 16393 properties_ffi["Ethernet"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(properties + 128 + 8 + 125); 16394 } 16395 if (A.load.Bool(properties + 128 + 8 + 129)) { 16396 properties_ffi["Ethernet"]["EAP"]["UseSystemCAs"] = A.load.Bool(properties + 128 + 8 + 126); 16397 } 16398 } 16399 } 16400 properties_ffi["GUID"] = A.load.Ref(properties + 272, undefined); 16401 properties_ffi["IPAddressConfigType"] = A.load.Enum(properties + 276, ["DHCP", "Static"]); 16402 properties_ffi["Name"] = A.load.Ref(properties + 280, undefined); 16403 properties_ffi["NameServersConfigType"] = A.load.Enum(properties + 284, ["DHCP", "Static"]); 16404 if (A.load.Bool(properties + 633)) { 16405 properties_ffi["Priority"] = A.load.Int32(properties + 288); 16406 } 16407 properties_ffi["Type"] = A.load.Enum(properties + 292, [ 16408 "All", 16409 "Cellular", 16410 "Ethernet", 16411 "Tether", 16412 "VPN", 16413 "Wireless", 16414 "WiFi", 16415 ]); 16416 if (A.load.Bool(properties + 296 + 13)) { 16417 properties_ffi["VPN"] = {}; 16418 if (A.load.Bool(properties + 296 + 12)) { 16419 properties_ffi["VPN"]["AutoConnect"] = A.load.Bool(properties + 296 + 0); 16420 } 16421 properties_ffi["VPN"]["Host"] = A.load.Ref(properties + 296 + 4, undefined); 16422 properties_ffi["VPN"]["Type"] = A.load.Ref(properties + 296 + 8, undefined); 16423 } 16424 if (A.load.Bool(properties + 312 + 182)) { 16425 properties_ffi["WiFi"] = {}; 16426 if (A.load.Bool(properties + 312 + 176)) { 16427 properties_ffi["WiFi"]["AllowGatewayARPPolling"] = A.load.Bool(properties + 312 + 0); 16428 } 16429 if (A.load.Bool(properties + 312 + 177)) { 16430 properties_ffi["WiFi"]["AutoConnect"] = A.load.Bool(properties + 312 + 1); 16431 } 16432 properties_ffi["WiFi"]["BSSID"] = A.load.Ref(properties + 312 + 4, undefined); 16433 if (A.load.Bool(properties + 312 + 8 + 130)) { 16434 properties_ffi["WiFi"]["EAP"] = {}; 16435 properties_ffi["WiFi"]["EAP"]["AnonymousIdentity"] = A.load.Ref(properties + 312 + 8 + 0, undefined); 16436 if (A.load.Bool(properties + 312 + 8 + 4 + 45)) { 16437 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"] = {}; 16438 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref( 16439 properties + 312 + 8 + 4 + 0, 16440 undefined 16441 ); 16442 if (A.load.Bool(properties + 312 + 8 + 4 + 4 + 16)) { 16443 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 16444 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 16445 properties + 312 + 8 + 4 + 4 + 0, 16446 undefined 16447 ); 16448 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 16449 properties + 312 + 8 + 4 + 4 + 4, 16450 undefined 16451 ); 16452 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 16453 properties + 312 + 8 + 4 + 4 + 8, 16454 undefined 16455 ); 16456 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 16457 properties + 312 + 8 + 4 + 4 + 12, 16458 undefined 16459 ); 16460 } 16461 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref( 16462 properties + 312 + 8 + 4 + 24, 16463 undefined 16464 ); 16465 if (A.load.Bool(properties + 312 + 8 + 4 + 28 + 16)) { 16466 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 16467 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 16468 properties + 312 + 8 + 4 + 28 + 0, 16469 undefined 16470 ); 16471 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 16472 properties + 312 + 8 + 4 + 28 + 4, 16473 undefined 16474 ); 16475 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 16476 properties + 312 + 8 + 4 + 28 + 8, 16477 undefined 16478 ); 16479 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 16480 properties + 312 + 8 + 4 + 28 + 12, 16481 undefined 16482 ); 16483 } 16484 } 16485 properties_ffi["WiFi"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(properties + 312 + 8 + 52, undefined); 16486 properties_ffi["WiFi"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref( 16487 properties + 312 + 8 + 56, 16488 undefined 16489 ); 16490 properties_ffi["WiFi"]["EAP"]["ClientCertRef"] = A.load.Ref(properties + 312 + 8 + 60, undefined); 16491 properties_ffi["WiFi"]["EAP"]["ClientCertType"] = A.load.Enum(properties + 312 + 8 + 64, ["Ref", "Pattern"]); 16492 properties_ffi["WiFi"]["EAP"]["Identity"] = A.load.Ref(properties + 312 + 8 + 68, undefined); 16493 properties_ffi["WiFi"]["EAP"]["Inner"] = A.load.Ref(properties + 312 + 8 + 72, undefined); 16494 properties_ffi["WiFi"]["EAP"]["Outer"] = A.load.Ref(properties + 312 + 8 + 76, undefined); 16495 properties_ffi["WiFi"]["EAP"]["Password"] = A.load.Ref(properties + 312 + 8 + 80, undefined); 16496 if (A.load.Bool(properties + 312 + 8 + 127)) { 16497 properties_ffi["WiFi"]["EAP"]["SaveCredentials"] = A.load.Bool(properties + 312 + 8 + 84); 16498 } 16499 properties_ffi["WiFi"]["EAP"]["ServerCAPEMs"] = A.load.Ref(properties + 312 + 8 + 88, undefined); 16500 properties_ffi["WiFi"]["EAP"]["ServerCARefs"] = A.load.Ref(properties + 312 + 8 + 92, undefined); 16501 if (A.load.Bool(properties + 312 + 8 + 96 + 28)) { 16502 properties_ffi["WiFi"]["EAP"]["SubjectMatch"] = {}; 16503 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref( 16504 properties + 312 + 8 + 96 + 0, 16505 undefined 16506 ); 16507 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref( 16508 properties + 312 + 8 + 96 + 4, 16509 undefined 16510 ); 16511 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref( 16512 properties + 312 + 8 + 96 + 8, 16513 undefined 16514 ); 16515 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref( 16516 properties + 312 + 8 + 96 + 12, 16517 undefined 16518 ); 16519 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref( 16520 properties + 312 + 8 + 96 + 16, 16521 undefined 16522 ); 16523 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref( 16524 properties + 312 + 8 + 96 + 20, 16525 undefined 16526 ); 16527 if (A.load.Bool(properties + 312 + 8 + 96 + 26)) { 16528 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool( 16529 properties + 312 + 8 + 96 + 24 16530 ); 16531 } 16532 if (A.load.Bool(properties + 312 + 8 + 96 + 27)) { 16533 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool( 16534 properties + 312 + 8 + 96 + 25 16535 ); 16536 } 16537 } 16538 if (A.load.Bool(properties + 312 + 8 + 128)) { 16539 properties_ffi["WiFi"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(properties + 312 + 8 + 125); 16540 } 16541 if (A.load.Bool(properties + 312 + 8 + 129)) { 16542 properties_ffi["WiFi"]["EAP"]["UseSystemCAs"] = A.load.Bool(properties + 312 + 8 + 126); 16543 } 16544 } 16545 if (A.load.Bool(properties + 312 + 178)) { 16546 properties_ffi["WiFi"]["Frequency"] = A.load.Int32(properties + 312 + 140); 16547 } 16548 properties_ffi["WiFi"]["FrequencyList"] = A.load.Ref(properties + 312 + 144, undefined); 16549 properties_ffi["WiFi"]["HexSSID"] = A.load.Ref(properties + 312 + 148, undefined); 16550 if (A.load.Bool(properties + 312 + 179)) { 16551 properties_ffi["WiFi"]["HiddenSSID"] = A.load.Bool(properties + 312 + 152); 16552 } 16553 properties_ffi["WiFi"]["Passphrase"] = A.load.Ref(properties + 312 + 156, undefined); 16554 if (A.load.Bool(properties + 312 + 180)) { 16555 properties_ffi["WiFi"]["RoamThreshold"] = A.load.Int32(properties + 312 + 160); 16556 } 16557 properties_ffi["WiFi"]["SSID"] = A.load.Ref(properties + 312 + 164, undefined); 16558 properties_ffi["WiFi"]["Security"] = A.load.Ref(properties + 312 + 168, undefined); 16559 if (A.load.Bool(properties + 312 + 181)) { 16560 properties_ffi["WiFi"]["SignalStrength"] = A.load.Int32(properties + 312 + 172); 16561 } 16562 } 16563 if (A.load.Bool(properties + 496 + 136)) { 16564 properties_ffi["WiMAX"] = {}; 16565 if (A.load.Bool(properties + 496 + 135)) { 16566 properties_ffi["WiMAX"]["AutoConnect"] = A.load.Bool(properties + 496 + 0); 16567 } 16568 if (A.load.Bool(properties + 496 + 4 + 130)) { 16569 properties_ffi["WiMAX"]["EAP"] = {}; 16570 properties_ffi["WiMAX"]["EAP"]["AnonymousIdentity"] = A.load.Ref(properties + 496 + 4 + 0, undefined); 16571 if (A.load.Bool(properties + 496 + 4 + 4 + 45)) { 16572 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"] = {}; 16573 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref( 16574 properties + 496 + 4 + 4 + 0, 16575 undefined 16576 ); 16577 if (A.load.Bool(properties + 496 + 4 + 4 + 4 + 16)) { 16578 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 16579 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 16580 properties + 496 + 4 + 4 + 4 + 0, 16581 undefined 16582 ); 16583 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 16584 properties + 496 + 4 + 4 + 4 + 4, 16585 undefined 16586 ); 16587 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 16588 properties + 496 + 4 + 4 + 4 + 8, 16589 undefined 16590 ); 16591 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 16592 properties + 496 + 4 + 4 + 4 + 12, 16593 undefined 16594 ); 16595 } 16596 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref( 16597 properties + 496 + 4 + 4 + 24, 16598 undefined 16599 ); 16600 if (A.load.Bool(properties + 496 + 4 + 4 + 28 + 16)) { 16601 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 16602 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 16603 properties + 496 + 4 + 4 + 28 + 0, 16604 undefined 16605 ); 16606 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 16607 properties + 496 + 4 + 4 + 28 + 4, 16608 undefined 16609 ); 16610 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 16611 properties + 496 + 4 + 4 + 28 + 8, 16612 undefined 16613 ); 16614 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 16615 properties + 496 + 4 + 4 + 28 + 12, 16616 undefined 16617 ); 16618 } 16619 } 16620 properties_ffi["WiMAX"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(properties + 496 + 4 + 52, undefined); 16621 properties_ffi["WiMAX"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref( 16622 properties + 496 + 4 + 56, 16623 undefined 16624 ); 16625 properties_ffi["WiMAX"]["EAP"]["ClientCertRef"] = A.load.Ref(properties + 496 + 4 + 60, undefined); 16626 properties_ffi["WiMAX"]["EAP"]["ClientCertType"] = A.load.Enum(properties + 496 + 4 + 64, ["Ref", "Pattern"]); 16627 properties_ffi["WiMAX"]["EAP"]["Identity"] = A.load.Ref(properties + 496 + 4 + 68, undefined); 16628 properties_ffi["WiMAX"]["EAP"]["Inner"] = A.load.Ref(properties + 496 + 4 + 72, undefined); 16629 properties_ffi["WiMAX"]["EAP"]["Outer"] = A.load.Ref(properties + 496 + 4 + 76, undefined); 16630 properties_ffi["WiMAX"]["EAP"]["Password"] = A.load.Ref(properties + 496 + 4 + 80, undefined); 16631 if (A.load.Bool(properties + 496 + 4 + 127)) { 16632 properties_ffi["WiMAX"]["EAP"]["SaveCredentials"] = A.load.Bool(properties + 496 + 4 + 84); 16633 } 16634 properties_ffi["WiMAX"]["EAP"]["ServerCAPEMs"] = A.load.Ref(properties + 496 + 4 + 88, undefined); 16635 properties_ffi["WiMAX"]["EAP"]["ServerCARefs"] = A.load.Ref(properties + 496 + 4 + 92, undefined); 16636 if (A.load.Bool(properties + 496 + 4 + 96 + 28)) { 16637 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"] = {}; 16638 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref( 16639 properties + 496 + 4 + 96 + 0, 16640 undefined 16641 ); 16642 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref( 16643 properties + 496 + 4 + 96 + 4, 16644 undefined 16645 ); 16646 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref( 16647 properties + 496 + 4 + 96 + 8, 16648 undefined 16649 ); 16650 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref( 16651 properties + 496 + 4 + 96 + 12, 16652 undefined 16653 ); 16654 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref( 16655 properties + 496 + 4 + 96 + 16, 16656 undefined 16657 ); 16658 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref( 16659 properties + 496 + 4 + 96 + 20, 16660 undefined 16661 ); 16662 if (A.load.Bool(properties + 496 + 4 + 96 + 26)) { 16663 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool( 16664 properties + 496 + 4 + 96 + 24 16665 ); 16666 } 16667 if (A.load.Bool(properties + 496 + 4 + 96 + 27)) { 16668 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool( 16669 properties + 496 + 4 + 96 + 25 16670 ); 16671 } 16672 } 16673 if (A.load.Bool(properties + 496 + 4 + 128)) { 16674 properties_ffi["WiMAX"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(properties + 496 + 4 + 125); 16675 } 16676 if (A.load.Bool(properties + 496 + 4 + 129)) { 16677 properties_ffi["WiMAX"]["EAP"]["UseSystemCAs"] = A.load.Bool(properties + 496 + 4 + 126); 16678 } 16679 } 16680 } 16681 16682 const _ret = WEBEXT.networking.onc.setProperties( 16683 A.H.get<object>(networkGuid), 16684 properties_ffi, 16685 A.H.get<object>(callback) 16686 ); 16687 }, 16688 "try_SetProperties": ( 16689 retPtr: Pointer, 16690 errPtr: Pointer, 16691 networkGuid: heap.Ref<object>, 16692 properties: Pointer, 16693 callback: heap.Ref<object> 16694 ): heap.Ref<boolean> => { 16695 try { 16696 const properties_ffi = {}; 16697 16698 if (A.load.Bool(properties + 0 + 127)) { 16699 properties_ffi["Cellular"] = {}; 16700 if (A.load.Bool(properties + 0 + 121)) { 16701 properties_ffi["Cellular"]["AutoConnect"] = A.load.Bool(properties + 0 + 0); 16702 } 16703 properties_ffi["Cellular"]["ActivationType"] = A.load.Ref(properties + 0 + 4, undefined); 16704 properties_ffi["Cellular"]["ActivationState"] = A.load.Enum(properties + 0 + 8, [ 16705 "Activated", 16706 "Activating", 16707 "NotActivated", 16708 "PartiallyActivated", 16709 ]); 16710 if (A.load.Bool(properties + 0 + 122)) { 16711 properties_ffi["Cellular"]["AllowRoaming"] = A.load.Bool(properties + 0 + 12); 16712 } 16713 properties_ffi["Cellular"]["Family"] = A.load.Ref(properties + 0 + 16, undefined); 16714 properties_ffi["Cellular"]["FirmwareRevision"] = A.load.Ref(properties + 0 + 20, undefined); 16715 properties_ffi["Cellular"]["FoundNetworks"] = A.load.Ref(properties + 0 + 24, undefined); 16716 properties_ffi["Cellular"]["HardwareRevision"] = A.load.Ref(properties + 0 + 28, undefined); 16717 if (A.load.Bool(properties + 0 + 32 + 12)) { 16718 properties_ffi["Cellular"]["HomeProvider"] = {}; 16719 properties_ffi["Cellular"]["HomeProvider"]["Name"] = A.load.Ref(properties + 0 + 32 + 0, undefined); 16720 properties_ffi["Cellular"]["HomeProvider"]["Code"] = A.load.Ref(properties + 0 + 32 + 4, undefined); 16721 properties_ffi["Cellular"]["HomeProvider"]["Country"] = A.load.Ref(properties + 0 + 32 + 8, undefined); 16722 } 16723 properties_ffi["Cellular"]["Manufacturer"] = A.load.Ref(properties + 0 + 48, undefined); 16724 properties_ffi["Cellular"]["ModelID"] = A.load.Ref(properties + 0 + 52, undefined); 16725 properties_ffi["Cellular"]["NetworkTechnology"] = A.load.Ref(properties + 0 + 56, undefined); 16726 if (A.load.Bool(properties + 0 + 60 + 12)) { 16727 properties_ffi["Cellular"]["PaymentPortal"] = {}; 16728 properties_ffi["Cellular"]["PaymentPortal"]["Method"] = A.load.Ref(properties + 0 + 60 + 0, undefined); 16729 properties_ffi["Cellular"]["PaymentPortal"]["PostData"] = A.load.Ref(properties + 0 + 60 + 4, undefined); 16730 properties_ffi["Cellular"]["PaymentPortal"]["Url"] = A.load.Ref(properties + 0 + 60 + 8, undefined); 16731 } 16732 properties_ffi["Cellular"]["RoamingState"] = A.load.Ref(properties + 0 + 76, undefined); 16733 if (A.load.Bool(properties + 0 + 123)) { 16734 properties_ffi["Cellular"]["Scanning"] = A.load.Bool(properties + 0 + 80); 16735 } 16736 if (A.load.Bool(properties + 0 + 84 + 12)) { 16737 properties_ffi["Cellular"]["ServingOperator"] = {}; 16738 properties_ffi["Cellular"]["ServingOperator"]["Name"] = A.load.Ref(properties + 0 + 84 + 0, undefined); 16739 properties_ffi["Cellular"]["ServingOperator"]["Code"] = A.load.Ref(properties + 0 + 84 + 4, undefined); 16740 properties_ffi["Cellular"]["ServingOperator"]["Country"] = A.load.Ref(properties + 0 + 84 + 8, undefined); 16741 } 16742 if (A.load.Bool(properties + 0 + 100 + 14)) { 16743 properties_ffi["Cellular"]["SIMLockStatus"] = {}; 16744 properties_ffi["Cellular"]["SIMLockStatus"]["LockType"] = A.load.Ref(properties + 0 + 100 + 0, undefined); 16745 if (A.load.Bool(properties + 0 + 100 + 12)) { 16746 properties_ffi["Cellular"]["SIMLockStatus"]["LockEnabled"] = A.load.Bool(properties + 0 + 100 + 4); 16747 } 16748 if (A.load.Bool(properties + 0 + 100 + 13)) { 16749 properties_ffi["Cellular"]["SIMLockStatus"]["RetriesLeft"] = A.load.Int32(properties + 0 + 100 + 8); 16750 } 16751 } 16752 if (A.load.Bool(properties + 0 + 124)) { 16753 properties_ffi["Cellular"]["SIMPresent"] = A.load.Bool(properties + 0 + 115); 16754 } 16755 if (A.load.Bool(properties + 0 + 125)) { 16756 properties_ffi["Cellular"]["SignalStrength"] = A.load.Int32(properties + 0 + 116); 16757 } 16758 if (A.load.Bool(properties + 0 + 126)) { 16759 properties_ffi["Cellular"]["SupportNetworkScan"] = A.load.Bool(properties + 0 + 120); 16760 } 16761 } 16762 if (A.load.Bool(properties + 128 + 140)) { 16763 properties_ffi["Ethernet"] = {}; 16764 if (A.load.Bool(properties + 128 + 139)) { 16765 properties_ffi["Ethernet"]["AutoConnect"] = A.load.Bool(properties + 128 + 0); 16766 } 16767 properties_ffi["Ethernet"]["Authentication"] = A.load.Ref(properties + 128 + 4, undefined); 16768 if (A.load.Bool(properties + 128 + 8 + 130)) { 16769 properties_ffi["Ethernet"]["EAP"] = {}; 16770 properties_ffi["Ethernet"]["EAP"]["AnonymousIdentity"] = A.load.Ref(properties + 128 + 8 + 0, undefined); 16771 if (A.load.Bool(properties + 128 + 8 + 4 + 45)) { 16772 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"] = {}; 16773 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref( 16774 properties + 128 + 8 + 4 + 0, 16775 undefined 16776 ); 16777 if (A.load.Bool(properties + 128 + 8 + 4 + 4 + 16)) { 16778 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 16779 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 16780 properties + 128 + 8 + 4 + 4 + 0, 16781 undefined 16782 ); 16783 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 16784 properties + 128 + 8 + 4 + 4 + 4, 16785 undefined 16786 ); 16787 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 16788 properties + 128 + 8 + 4 + 4 + 8, 16789 undefined 16790 ); 16791 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 16792 properties + 128 + 8 + 4 + 4 + 12, 16793 undefined 16794 ); 16795 } 16796 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref( 16797 properties + 128 + 8 + 4 + 24, 16798 undefined 16799 ); 16800 if (A.load.Bool(properties + 128 + 8 + 4 + 28 + 16)) { 16801 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 16802 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 16803 properties + 128 + 8 + 4 + 28 + 0, 16804 undefined 16805 ); 16806 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 16807 properties + 128 + 8 + 4 + 28 + 4, 16808 undefined 16809 ); 16810 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 16811 properties + 128 + 8 + 4 + 28 + 8, 16812 undefined 16813 ); 16814 properties_ffi["Ethernet"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 16815 properties + 128 + 8 + 4 + 28 + 12, 16816 undefined 16817 ); 16818 } 16819 } 16820 properties_ffi["Ethernet"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(properties + 128 + 8 + 52, undefined); 16821 properties_ffi["Ethernet"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref( 16822 properties + 128 + 8 + 56, 16823 undefined 16824 ); 16825 properties_ffi["Ethernet"]["EAP"]["ClientCertRef"] = A.load.Ref(properties + 128 + 8 + 60, undefined); 16826 properties_ffi["Ethernet"]["EAP"]["ClientCertType"] = A.load.Enum(properties + 128 + 8 + 64, [ 16827 "Ref", 16828 "Pattern", 16829 ]); 16830 properties_ffi["Ethernet"]["EAP"]["Identity"] = A.load.Ref(properties + 128 + 8 + 68, undefined); 16831 properties_ffi["Ethernet"]["EAP"]["Inner"] = A.load.Ref(properties + 128 + 8 + 72, undefined); 16832 properties_ffi["Ethernet"]["EAP"]["Outer"] = A.load.Ref(properties + 128 + 8 + 76, undefined); 16833 properties_ffi["Ethernet"]["EAP"]["Password"] = A.load.Ref(properties + 128 + 8 + 80, undefined); 16834 if (A.load.Bool(properties + 128 + 8 + 127)) { 16835 properties_ffi["Ethernet"]["EAP"]["SaveCredentials"] = A.load.Bool(properties + 128 + 8 + 84); 16836 } 16837 properties_ffi["Ethernet"]["EAP"]["ServerCAPEMs"] = A.load.Ref(properties + 128 + 8 + 88, undefined); 16838 properties_ffi["Ethernet"]["EAP"]["ServerCARefs"] = A.load.Ref(properties + 128 + 8 + 92, undefined); 16839 if (A.load.Bool(properties + 128 + 8 + 96 + 28)) { 16840 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"] = {}; 16841 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref( 16842 properties + 128 + 8 + 96 + 0, 16843 undefined 16844 ); 16845 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref( 16846 properties + 128 + 8 + 96 + 4, 16847 undefined 16848 ); 16849 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref( 16850 properties + 128 + 8 + 96 + 8, 16851 undefined 16852 ); 16853 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref( 16854 properties + 128 + 8 + 96 + 12, 16855 undefined 16856 ); 16857 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref( 16858 properties + 128 + 8 + 96 + 16, 16859 undefined 16860 ); 16861 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref( 16862 properties + 128 + 8 + 96 + 20, 16863 undefined 16864 ); 16865 if (A.load.Bool(properties + 128 + 8 + 96 + 26)) { 16866 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool( 16867 properties + 128 + 8 + 96 + 24 16868 ); 16869 } 16870 if (A.load.Bool(properties + 128 + 8 + 96 + 27)) { 16871 properties_ffi["Ethernet"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool( 16872 properties + 128 + 8 + 96 + 25 16873 ); 16874 } 16875 } 16876 if (A.load.Bool(properties + 128 + 8 + 128)) { 16877 properties_ffi["Ethernet"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(properties + 128 + 8 + 125); 16878 } 16879 if (A.load.Bool(properties + 128 + 8 + 129)) { 16880 properties_ffi["Ethernet"]["EAP"]["UseSystemCAs"] = A.load.Bool(properties + 128 + 8 + 126); 16881 } 16882 } 16883 } 16884 properties_ffi["GUID"] = A.load.Ref(properties + 272, undefined); 16885 properties_ffi["IPAddressConfigType"] = A.load.Enum(properties + 276, ["DHCP", "Static"]); 16886 properties_ffi["Name"] = A.load.Ref(properties + 280, undefined); 16887 properties_ffi["NameServersConfigType"] = A.load.Enum(properties + 284, ["DHCP", "Static"]); 16888 if (A.load.Bool(properties + 633)) { 16889 properties_ffi["Priority"] = A.load.Int32(properties + 288); 16890 } 16891 properties_ffi["Type"] = A.load.Enum(properties + 292, [ 16892 "All", 16893 "Cellular", 16894 "Ethernet", 16895 "Tether", 16896 "VPN", 16897 "Wireless", 16898 "WiFi", 16899 ]); 16900 if (A.load.Bool(properties + 296 + 13)) { 16901 properties_ffi["VPN"] = {}; 16902 if (A.load.Bool(properties + 296 + 12)) { 16903 properties_ffi["VPN"]["AutoConnect"] = A.load.Bool(properties + 296 + 0); 16904 } 16905 properties_ffi["VPN"]["Host"] = A.load.Ref(properties + 296 + 4, undefined); 16906 properties_ffi["VPN"]["Type"] = A.load.Ref(properties + 296 + 8, undefined); 16907 } 16908 if (A.load.Bool(properties + 312 + 182)) { 16909 properties_ffi["WiFi"] = {}; 16910 if (A.load.Bool(properties + 312 + 176)) { 16911 properties_ffi["WiFi"]["AllowGatewayARPPolling"] = A.load.Bool(properties + 312 + 0); 16912 } 16913 if (A.load.Bool(properties + 312 + 177)) { 16914 properties_ffi["WiFi"]["AutoConnect"] = A.load.Bool(properties + 312 + 1); 16915 } 16916 properties_ffi["WiFi"]["BSSID"] = A.load.Ref(properties + 312 + 4, undefined); 16917 if (A.load.Bool(properties + 312 + 8 + 130)) { 16918 properties_ffi["WiFi"]["EAP"] = {}; 16919 properties_ffi["WiFi"]["EAP"]["AnonymousIdentity"] = A.load.Ref(properties + 312 + 8 + 0, undefined); 16920 if (A.load.Bool(properties + 312 + 8 + 4 + 45)) { 16921 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"] = {}; 16922 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref( 16923 properties + 312 + 8 + 4 + 0, 16924 undefined 16925 ); 16926 if (A.load.Bool(properties + 312 + 8 + 4 + 4 + 16)) { 16927 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 16928 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 16929 properties + 312 + 8 + 4 + 4 + 0, 16930 undefined 16931 ); 16932 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 16933 properties + 312 + 8 + 4 + 4 + 4, 16934 undefined 16935 ); 16936 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 16937 properties + 312 + 8 + 4 + 4 + 8, 16938 undefined 16939 ); 16940 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 16941 properties + 312 + 8 + 4 + 4 + 12, 16942 undefined 16943 ); 16944 } 16945 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref( 16946 properties + 312 + 8 + 4 + 24, 16947 undefined 16948 ); 16949 if (A.load.Bool(properties + 312 + 8 + 4 + 28 + 16)) { 16950 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 16951 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 16952 properties + 312 + 8 + 4 + 28 + 0, 16953 undefined 16954 ); 16955 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 16956 properties + 312 + 8 + 4 + 28 + 4, 16957 undefined 16958 ); 16959 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 16960 properties + 312 + 8 + 4 + 28 + 8, 16961 undefined 16962 ); 16963 properties_ffi["WiFi"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 16964 properties + 312 + 8 + 4 + 28 + 12, 16965 undefined 16966 ); 16967 } 16968 } 16969 properties_ffi["WiFi"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(properties + 312 + 8 + 52, undefined); 16970 properties_ffi["WiFi"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref( 16971 properties + 312 + 8 + 56, 16972 undefined 16973 ); 16974 properties_ffi["WiFi"]["EAP"]["ClientCertRef"] = A.load.Ref(properties + 312 + 8 + 60, undefined); 16975 properties_ffi["WiFi"]["EAP"]["ClientCertType"] = A.load.Enum(properties + 312 + 8 + 64, [ 16976 "Ref", 16977 "Pattern", 16978 ]); 16979 properties_ffi["WiFi"]["EAP"]["Identity"] = A.load.Ref(properties + 312 + 8 + 68, undefined); 16980 properties_ffi["WiFi"]["EAP"]["Inner"] = A.load.Ref(properties + 312 + 8 + 72, undefined); 16981 properties_ffi["WiFi"]["EAP"]["Outer"] = A.load.Ref(properties + 312 + 8 + 76, undefined); 16982 properties_ffi["WiFi"]["EAP"]["Password"] = A.load.Ref(properties + 312 + 8 + 80, undefined); 16983 if (A.load.Bool(properties + 312 + 8 + 127)) { 16984 properties_ffi["WiFi"]["EAP"]["SaveCredentials"] = A.load.Bool(properties + 312 + 8 + 84); 16985 } 16986 properties_ffi["WiFi"]["EAP"]["ServerCAPEMs"] = A.load.Ref(properties + 312 + 8 + 88, undefined); 16987 properties_ffi["WiFi"]["EAP"]["ServerCARefs"] = A.load.Ref(properties + 312 + 8 + 92, undefined); 16988 if (A.load.Bool(properties + 312 + 8 + 96 + 28)) { 16989 properties_ffi["WiFi"]["EAP"]["SubjectMatch"] = {}; 16990 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref( 16991 properties + 312 + 8 + 96 + 0, 16992 undefined 16993 ); 16994 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref( 16995 properties + 312 + 8 + 96 + 4, 16996 undefined 16997 ); 16998 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref( 16999 properties + 312 + 8 + 96 + 8, 17000 undefined 17001 ); 17002 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref( 17003 properties + 312 + 8 + 96 + 12, 17004 undefined 17005 ); 17006 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref( 17007 properties + 312 + 8 + 96 + 16, 17008 undefined 17009 ); 17010 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref( 17011 properties + 312 + 8 + 96 + 20, 17012 undefined 17013 ); 17014 if (A.load.Bool(properties + 312 + 8 + 96 + 26)) { 17015 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool( 17016 properties + 312 + 8 + 96 + 24 17017 ); 17018 } 17019 if (A.load.Bool(properties + 312 + 8 + 96 + 27)) { 17020 properties_ffi["WiFi"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool( 17021 properties + 312 + 8 + 96 + 25 17022 ); 17023 } 17024 } 17025 if (A.load.Bool(properties + 312 + 8 + 128)) { 17026 properties_ffi["WiFi"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(properties + 312 + 8 + 125); 17027 } 17028 if (A.load.Bool(properties + 312 + 8 + 129)) { 17029 properties_ffi["WiFi"]["EAP"]["UseSystemCAs"] = A.load.Bool(properties + 312 + 8 + 126); 17030 } 17031 } 17032 if (A.load.Bool(properties + 312 + 178)) { 17033 properties_ffi["WiFi"]["Frequency"] = A.load.Int32(properties + 312 + 140); 17034 } 17035 properties_ffi["WiFi"]["FrequencyList"] = A.load.Ref(properties + 312 + 144, undefined); 17036 properties_ffi["WiFi"]["HexSSID"] = A.load.Ref(properties + 312 + 148, undefined); 17037 if (A.load.Bool(properties + 312 + 179)) { 17038 properties_ffi["WiFi"]["HiddenSSID"] = A.load.Bool(properties + 312 + 152); 17039 } 17040 properties_ffi["WiFi"]["Passphrase"] = A.load.Ref(properties + 312 + 156, undefined); 17041 if (A.load.Bool(properties + 312 + 180)) { 17042 properties_ffi["WiFi"]["RoamThreshold"] = A.load.Int32(properties + 312 + 160); 17043 } 17044 properties_ffi["WiFi"]["SSID"] = A.load.Ref(properties + 312 + 164, undefined); 17045 properties_ffi["WiFi"]["Security"] = A.load.Ref(properties + 312 + 168, undefined); 17046 if (A.load.Bool(properties + 312 + 181)) { 17047 properties_ffi["WiFi"]["SignalStrength"] = A.load.Int32(properties + 312 + 172); 17048 } 17049 } 17050 if (A.load.Bool(properties + 496 + 136)) { 17051 properties_ffi["WiMAX"] = {}; 17052 if (A.load.Bool(properties + 496 + 135)) { 17053 properties_ffi["WiMAX"]["AutoConnect"] = A.load.Bool(properties + 496 + 0); 17054 } 17055 if (A.load.Bool(properties + 496 + 4 + 130)) { 17056 properties_ffi["WiMAX"]["EAP"] = {}; 17057 properties_ffi["WiMAX"]["EAP"]["AnonymousIdentity"] = A.load.Ref(properties + 496 + 4 + 0, undefined); 17058 if (A.load.Bool(properties + 496 + 4 + 4 + 45)) { 17059 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"] = {}; 17060 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["EnrollmentURI"] = A.load.Ref( 17061 properties + 496 + 4 + 4 + 0, 17062 undefined 17063 ); 17064 if (A.load.Bool(properties + 496 + 4 + 4 + 4 + 16)) { 17065 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"] = {}; 17066 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["CommonName"] = A.load.Ref( 17067 properties + 496 + 4 + 4 + 4 + 0, 17068 undefined 17069 ); 17070 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["Locality"] = A.load.Ref( 17071 properties + 496 + 4 + 4 + 4 + 4, 17072 undefined 17073 ); 17074 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["Organization"] = A.load.Ref( 17075 properties + 496 + 4 + 4 + 4 + 8, 17076 undefined 17077 ); 17078 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Issuer"]["OrganizationalUnit"] = A.load.Ref( 17079 properties + 496 + 4 + 4 + 4 + 12, 17080 undefined 17081 ); 17082 } 17083 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["IssuerCARef"] = A.load.Ref( 17084 properties + 496 + 4 + 4 + 24, 17085 undefined 17086 ); 17087 if (A.load.Bool(properties + 496 + 4 + 4 + 28 + 16)) { 17088 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"] = {}; 17089 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["CommonName"] = A.load.Ref( 17090 properties + 496 + 4 + 4 + 28 + 0, 17091 undefined 17092 ); 17093 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["Locality"] = A.load.Ref( 17094 properties + 496 + 4 + 4 + 28 + 4, 17095 undefined 17096 ); 17097 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["Organization"] = A.load.Ref( 17098 properties + 496 + 4 + 4 + 28 + 8, 17099 undefined 17100 ); 17101 properties_ffi["WiMAX"]["EAP"]["ClientCertPattern"]["Subject"]["OrganizationalUnit"] = A.load.Ref( 17102 properties + 496 + 4 + 4 + 28 + 12, 17103 undefined 17104 ); 17105 } 17106 } 17107 properties_ffi["WiMAX"]["EAP"]["ClientCertPKCS11Id"] = A.load.Ref(properties + 496 + 4 + 52, undefined); 17108 properties_ffi["WiMAX"]["EAP"]["ClientCertProvisioningProfileId"] = A.load.Ref( 17109 properties + 496 + 4 + 56, 17110 undefined 17111 ); 17112 properties_ffi["WiMAX"]["EAP"]["ClientCertRef"] = A.load.Ref(properties + 496 + 4 + 60, undefined); 17113 properties_ffi["WiMAX"]["EAP"]["ClientCertType"] = A.load.Enum(properties + 496 + 4 + 64, [ 17114 "Ref", 17115 "Pattern", 17116 ]); 17117 properties_ffi["WiMAX"]["EAP"]["Identity"] = A.load.Ref(properties + 496 + 4 + 68, undefined); 17118 properties_ffi["WiMAX"]["EAP"]["Inner"] = A.load.Ref(properties + 496 + 4 + 72, undefined); 17119 properties_ffi["WiMAX"]["EAP"]["Outer"] = A.load.Ref(properties + 496 + 4 + 76, undefined); 17120 properties_ffi["WiMAX"]["EAP"]["Password"] = A.load.Ref(properties + 496 + 4 + 80, undefined); 17121 if (A.load.Bool(properties + 496 + 4 + 127)) { 17122 properties_ffi["WiMAX"]["EAP"]["SaveCredentials"] = A.load.Bool(properties + 496 + 4 + 84); 17123 } 17124 properties_ffi["WiMAX"]["EAP"]["ServerCAPEMs"] = A.load.Ref(properties + 496 + 4 + 88, undefined); 17125 properties_ffi["WiMAX"]["EAP"]["ServerCARefs"] = A.load.Ref(properties + 496 + 4 + 92, undefined); 17126 if (A.load.Bool(properties + 496 + 4 + 96 + 28)) { 17127 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"] = {}; 17128 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["Active"] = A.load.Ref( 17129 properties + 496 + 4 + 96 + 0, 17130 undefined 17131 ); 17132 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["Effective"] = A.load.Ref( 17133 properties + 496 + 4 + 96 + 4, 17134 undefined 17135 ); 17136 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["UserPolicy"] = A.load.Ref( 17137 properties + 496 + 4 + 96 + 8, 17138 undefined 17139 ); 17140 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["DevicePolicy"] = A.load.Ref( 17141 properties + 496 + 4 + 96 + 12, 17142 undefined 17143 ); 17144 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["UserSetting"] = A.load.Ref( 17145 properties + 496 + 4 + 96 + 16, 17146 undefined 17147 ); 17148 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["SharedSetting"] = A.load.Ref( 17149 properties + 496 + 4 + 96 + 20, 17150 undefined 17151 ); 17152 if (A.load.Bool(properties + 496 + 4 + 96 + 26)) { 17153 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["UserEditable"] = A.load.Bool( 17154 properties + 496 + 4 + 96 + 24 17155 ); 17156 } 17157 if (A.load.Bool(properties + 496 + 4 + 96 + 27)) { 17158 properties_ffi["WiMAX"]["EAP"]["SubjectMatch"]["DeviceEditable"] = A.load.Bool( 17159 properties + 496 + 4 + 96 + 25 17160 ); 17161 } 17162 } 17163 if (A.load.Bool(properties + 496 + 4 + 128)) { 17164 properties_ffi["WiMAX"]["EAP"]["UseProactiveKeyCaching"] = A.load.Bool(properties + 496 + 4 + 125); 17165 } 17166 if (A.load.Bool(properties + 496 + 4 + 129)) { 17167 properties_ffi["WiMAX"]["EAP"]["UseSystemCAs"] = A.load.Bool(properties + 496 + 4 + 126); 17168 } 17169 } 17170 } 17171 17172 const _ret = WEBEXT.networking.onc.setProperties( 17173 A.H.get<object>(networkGuid), 17174 properties_ffi, 17175 A.H.get<object>(callback) 17176 ); 17177 return A.H.TRUE; 17178 } catch (err: any) { 17179 A.store.Ref(errPtr, err); 17180 return A.H.FALSE; 17181 } 17182 }, 17183 "has_StartConnect": (): heap.Ref<boolean> => { 17184 if (WEBEXT?.networking?.onc && "startConnect" in WEBEXT?.networking?.onc) { 17185 return A.H.TRUE; 17186 } 17187 return A.H.FALSE; 17188 }, 17189 "func_StartConnect": (fn: Pointer): void => { 17190 A.store.Ref(fn, WEBEXT.networking.onc.startConnect); 17191 }, 17192 "call_StartConnect": (retPtr: Pointer, networkGuid: heap.Ref<object>, callback: heap.Ref<object>): void => { 17193 const _ret = WEBEXT.networking.onc.startConnect(A.H.get<object>(networkGuid), A.H.get<object>(callback)); 17194 }, 17195 "try_StartConnect": ( 17196 retPtr: Pointer, 17197 errPtr: Pointer, 17198 networkGuid: heap.Ref<object>, 17199 callback: heap.Ref<object> 17200 ): heap.Ref<boolean> => { 17201 try { 17202 const _ret = WEBEXT.networking.onc.startConnect(A.H.get<object>(networkGuid), A.H.get<object>(callback)); 17203 return A.H.TRUE; 17204 } catch (err: any) { 17205 A.store.Ref(errPtr, err); 17206 return A.H.FALSE; 17207 } 17208 }, 17209 "has_StartDisconnect": (): heap.Ref<boolean> => { 17210 if (WEBEXT?.networking?.onc && "startDisconnect" in WEBEXT?.networking?.onc) { 17211 return A.H.TRUE; 17212 } 17213 return A.H.FALSE; 17214 }, 17215 "func_StartDisconnect": (fn: Pointer): void => { 17216 A.store.Ref(fn, WEBEXT.networking.onc.startDisconnect); 17217 }, 17218 "call_StartDisconnect": (retPtr: Pointer, networkGuid: heap.Ref<object>, callback: heap.Ref<object>): void => { 17219 const _ret = WEBEXT.networking.onc.startDisconnect(A.H.get<object>(networkGuid), A.H.get<object>(callback)); 17220 }, 17221 "try_StartDisconnect": ( 17222 retPtr: Pointer, 17223 errPtr: Pointer, 17224 networkGuid: heap.Ref<object>, 17225 callback: heap.Ref<object> 17226 ): heap.Ref<boolean> => { 17227 try { 17228 const _ret = WEBEXT.networking.onc.startDisconnect(A.H.get<object>(networkGuid), A.H.get<object>(callback)); 17229 return A.H.TRUE; 17230 } catch (err: any) { 17231 A.store.Ref(errPtr, err); 17232 return A.H.FALSE; 17233 } 17234 }, 17235 }; 17236 });