Created
November 27, 2023 03:43
-
-
Save madordie/936c697e143b249653092a6f3bc16a09 to your computer and use it in GitHub Desktop.
[iOS17.0][ARM64] -[NSISEngine optimize]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void *__fastcall -[NSISEngine optimize](_BYTE *a1) | |
{ | |
_BYTE *v1; // x19 | |
__int64 v2; // x0 | |
const char *v3; // x1 | |
void *v4; // x0 | |
void *v5; // x0 | |
const char *v6; // x1 | |
void *v7; // x20 | |
__CFString *v8; // x0 | |
const char *v9; // x1 | |
void *v10; // x0 | |
v1 = a1; | |
v2 = -[NSISEngine _flushPendingRemovals](); | |
if ( (unsigned int)_NSConstraintBasedLayoutAriadneTracepoints(v2) ) | |
{ | |
v4 = objc_msgSend_delegate(v1, v3); | |
kdebug_trace(724631557LL, v1, v4, 0LL, 0LL); | |
} | |
if ( v1[162] || (v5 = objc_msgSend__optimizeWithoutRebuilding(v1, v3), v1[162]) ) | |
{ | |
-[NSISEngine rebuildFromConstraints](v1); | |
v7 = objc_msgSend__optimizeWithoutRebuilding(v1, v6); | |
if ( v1[162] ) | |
{ | |
v8 = &stru_46270; | |
} | |
else | |
{ | |
v5 = (void *)_NSConstraintBasedLayoutLogEngineRebuilds(); | |
if ( !(_DWORD)v5 ) | |
goto LABEL_10; | |
v8 = &stru_46290; | |
} | |
v5 = (void *)NSLog(v8); | |
} | |
else | |
{ | |
v7 = v5; | |
} | |
LABEL_10: | |
if ( (unsigned int)_NSConstraintBasedLayoutAriadneTracepoints(v5) ) | |
{ | |
v10 = objc_msgSend_delegate(v1, v9); | |
kdebug_trace(724631558LL, v1, v10, 0LL, 0LL); | |
} | |
return v7; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment