Skip to content

Instantly share code, notes, and snippets.

@bruienne
Last active January 28, 2016 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bruienne/a9a85a0f875830de01fa to your computer and use it in GitHub Desktop.
Save bruienne/a9a85a0f875830de01fa to your computer and use it in GitHub Desktop.
r12 = [rbx fileExistsAtPath:@"/var/db/.MBSkipWiFiSetupIfPossible"];
rax = [rbx release];
rbx = [[self setupStateManager] retain];
r14 = [[rbx wifiManager] retain];
r13 = [r14 airportAvailable];
rax = [r14 release];
rax = [rbx release];
if ((var_29 != 0x0) && (((var_38 == 0x0) || (r12 != 0x0)))) {
rbx = @"CloudConfigurationWelcome";
}
else {
if (r13 != 0x0) {
rbx = @"SelectWiFiNetwork";
}
else {
rbx = @"HowDoYouConnect";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment