Skip to content

Instantly share code, notes, and snippets.

@eightbit-io
Created July 17, 2019 12:33
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 eightbit-io/84274dadf0cb35d8f05d7753b8bbf8be to your computer and use it in GitHub Desktop.
Save eightbit-io/84274dadf0cb35d8f05d7753b8bbf8be to your computer and use it in GitHub Desktop.
Checks for downloaded installer.
if ( self->_packageFilePath )
{
v7 = objc_msgSend(&OBJC_CLASS___NSFileManager, "defaultManager");
v8 = (void *)objc_retainAutoreleasedReturnValue(v7);
v3 = (unsigned int)objc_msgSend(v8, "fileExistsAtPath:", self->_packageFilePath);
objc_release(v8);
if ( (_BYTE)v3 )
{
v9 = -[ZMLauncherMgr installPkg:](self, "installPkg:", self->_packageFilePath);
goto LABEL_21;
}
-[ZMLauncherMgr setPackageFilePath:](self, "setPackageFilePath:", 0LL);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment