Last active
April 3, 2017 15:56
-
-
Save lukele/b5ccafecb31827b016188e6eeda1098d to your computer and use it in GitHub Desktop.
First Hopper code automatically "optimized"
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 * -[MCMimePart _decodeAllowingAttachmentRepresentation: ](void * self, void * _cmd, char arg2) { | |
rsi = _cmd; | |
r14 = self; | |
r13 = _objc_msgSend; | |
r15 = 0x0; | |
var_30 = [self _isTypeCode: 0x1 subtypeCode: 0x0]; | |
rbx = [r14 _isTypeCode: 0x7 subtypeCode: 0x8f]; | |
if (arg2 == 0x0) { | |
// inserted procedure _73ca3 | |
rax = [r14 typeCode]; | |
rax = rax - 0x1; | |
if (rax > 0x6) { | |
// inserted procedure _73dbf | |
rsi = @selector(decodedData); | |
r13 = [_objc_msgSend(r14, rsi) retain]; | |
rbx = _objc_msgSend; | |
if (r13 != 0x0) { | |
// inserted procedure _73e44 | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
r12 = [ | |
[r14 decodedData] retain | |
]; | |
if (r12 == 0x0) { | |
// inserted procedure _73e11 | |
r13 = 0x0; | |
if (r15 == 0x0) { | |
// inserted procedure _73e3b | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
rbx = _objc_msgSend; | |
rax = [MCAttachment alloc]; | |
rax = [rax initWithMimePart: r14]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} else { | |
rax = [r12 retain]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} | |
} else { | |
goto * 0x74060[sign_extend_64( * (int32_t * )(0x74060 + rax * 0x4)) + 0x74060]; | |
rax = [r14 subtypeCode]; | |
rax = rax - 0x1; | |
if (rax > 0x7) { | |
// inserted procedure _73fdc | |
rsi = @selector(_decodeText); | |
r13 = [_objc_msgSend(r14, rsi) retain]; | |
rbx = _objc_msgSend; | |
if (r13 != 0x0) { | |
// inserted procedure _73e44 | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
r12 = [ | |
[r14 decodedData] retain | |
]; | |
if (r12 == 0x0) { | |
// inserted procedure _73e11 | |
r13 = 0x0; | |
if (r15 == 0x0) { | |
// inserted procedure _73e3b | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
rbx = _objc_msgSend; | |
rax = [MCAttachment alloc]; | |
rax = [rax initWithMimePart: r14]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} else { | |
rax = [r12 retain]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} | |
} else { | |
goto * 0x740e8[sign_extend_64( * (int32_t * )(0x740e8 + rax * 0x4)) + 0x740e8]; | |
rsi = @selector(_decodeTextCalendar); | |
r13 = [_objc_msgSend(r14, rsi) retain]; | |
rbx = _objc_msgSend; | |
if (r13 != 0x0) { | |
// inserted procedure _73e44 | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
r12 = [ | |
[r14 decodedData] retain | |
]; | |
if (r12 == 0x0) { | |
// inserted procedure _73e11 | |
r13 = 0x0; | |
if (r15 == 0x0) { | |
// inserted procedure _73e3b | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
rbx = _objc_msgSend; | |
rax = [MCAttachment alloc]; | |
rax = [rax initWithMimePart: r14]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} else { | |
rax = [r12 retain]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} | |
} | |
} | |
} else { | |
if ([r14 isAttachment] == 0x0) { | |
// inserted procedure _73ca0 | |
r15 = 0x0; | |
rax = [r14 typeCode]; | |
rax = rax - 0x1; | |
if (rax > 0x6) { | |
// inserted procedure _73dbf | |
rsi = @selector(decodedData); | |
r13 = [_objc_msgSend(r14, rsi) retain]; | |
rbx = _objc_msgSend; | |
if (r13 != 0x0) { | |
// inserted procedure _73e44 | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
r12 = [ | |
[r14 decodedData] retain | |
]; | |
if (r12 == 0x0) { | |
// inserted procedure _73e11 | |
r13 = 0x0; | |
if (r15 == 0x0) { | |
// inserted procedure _73e3b | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
rbx = _objc_msgSend; | |
rax = [MCAttachment alloc]; | |
rax = [rax initWithMimePart: r14]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} else { | |
rax = [r12 retain]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} | |
} else { | |
goto * 0x74060[sign_extend_64( * (int32_t * )(0x74060 + rax * 0x4)) + 0x74060]; | |
rax = [r14 subtypeCode]; | |
rax = rax - 0x1; | |
if (rax > 0x7) { | |
// inserted procedure _73fdc | |
rsi = @selector(_decodeText); | |
r13 = [_objc_msgSend(r14, rsi) retain]; | |
rbx = _objc_msgSend; | |
if (r13 != 0x0) { | |
// inserted procedure _73e44 | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
r12 = [ | |
[r14 decodedData] retain | |
]; | |
if (r12 == 0x0) { | |
// inserted procedure _73e11 | |
r13 = 0x0; | |
if (r15 == 0x0) { | |
// inserted procedure _73e3b | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
rbx = _objc_msgSend; | |
rax = [MCAttachment alloc]; | |
rax = [rax initWithMimePart: r14]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} else { | |
rax = [r12 retain]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} | |
} else { | |
goto * 0x740e8[sign_extend_64( * (int32_t * )(0x740e8 + rax * 0x4)) + 0x740e8]; | |
rsi = @selector(_decodeTextCalendar); | |
r13 = [_objc_msgSend(r14, rsi) retain]; | |
rbx = _objc_msgSend; | |
if (r13 != 0x0) { | |
// inserted procedure _73e44 | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
r12 = [ | |
[r14 decodedData] retain | |
]; | |
if (r12 == 0x0) { | |
// inserted procedure _73e11 | |
r13 = 0x0; | |
if (r15 == 0x0) { | |
// inserted procedure _73e3b | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
rbx = _objc_msgSend; | |
rax = [MCAttachment alloc]; | |
rax = [rax initWithMimePart: r14]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} else { | |
rax = [r12 retain]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} | |
} | |
} | |
} else { | |
r15 = 0x1; | |
rbx = rbx | var_30; | |
if (rbx == 0x0) { | |
// inserted procedure _73ca3 | |
rax = [r14 typeCode]; | |
rax = rax - 0x1; | |
if (rax > 0x6) { | |
// inserted procedure _73dbf | |
rsi = @selector(decodedData); | |
r13 = [_objc_msgSend(r14, rsi) retain]; | |
rbx = _objc_msgSend; | |
if (r13 != 0x0) { | |
// inserted procedure _73e44 | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
r12 = [ | |
[r14 decodedData] retain | |
]; | |
if (r12 == 0x0) { | |
// inserted procedure _73e11 | |
r13 = 0x0; | |
if (r15 == 0x0) { | |
// inserted procedure _73e3b | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
rbx = _objc_msgSend; | |
rax = [MCAttachment alloc]; | |
rax = [rax initWithMimePart: r14]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} else { | |
rax = [r12 retain]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} | |
} else { | |
goto * 0x74060[sign_extend_64( * (int32_t * )(0x74060 + rax * 0x4)) + 0x74060]; | |
rax = [r14 subtypeCode]; | |
rax = rax - 0x1; | |
if (rax > 0x7) { | |
// inserted procedure _73fdc | |
rsi = @selector(_decodeText); | |
r13 = [_objc_msgSend(r14, rsi) retain]; | |
rbx = _objc_msgSend; | |
if (r13 != 0x0) { | |
// inserted procedure _73e44 | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
r12 = [ | |
[r14 decodedData] retain | |
]; | |
if (r12 == 0x0) { | |
// inserted procedure _73e11 | |
r13 = 0x0; | |
if (r15 == 0x0) { | |
// inserted procedure _73e3b | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
rbx = _objc_msgSend; | |
rax = [MCAttachment alloc]; | |
rax = [rax initWithMimePart: r14]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} else { | |
rax = [r12 retain]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} | |
} else { | |
goto * 0x740e8[sign_extend_64( * (int32_t * )(0x740e8 + rax * 0x4)) + 0x740e8]; | |
rsi = @selector(_decodeTextCalendar); | |
r13 = [_objc_msgSend(r14, rsi) retain]; | |
rbx = _objc_msgSend; | |
if (r13 != 0x0) { | |
// inserted procedure _73e44 | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
r12 = [ | |
[r14 decodedData] retain | |
]; | |
if (r12 == 0x0) { | |
// inserted procedure _73e11 | |
r13 = 0x0; | |
if (r15 == 0x0) { | |
// inserted procedure _73e3b | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
rbx = _objc_msgSend; | |
rax = [MCAttachment alloc]; | |
rax = [rax initWithMimePart: r14]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} else { | |
rax = [r12 retain]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} | |
} | |
} | |
} else { | |
r13 = [ | |
[r14 decodedData] retain | |
]; | |
r15 = 0x1; | |
rbx = _objc_msgSend; | |
if (r13 != 0x0) { | |
// inserted procedure _73e44 | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
r12 = [ | |
[r14 decodedData] retain | |
]; | |
if (r12 == 0x0) { | |
// inserted procedure _73e11 | |
r13 = 0x0; | |
if (r15 == 0x0) { | |
// inserted procedure _73e3b | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} else { | |
rbx = _objc_msgSend; | |
rax = [MCAttachment alloc]; | |
rax = [rax initWithMimePart: r14]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} else { | |
rax = [r12 retain]; | |
r13 = rax; | |
rax = [r12 release]; | |
rbx = _objc_msgSend; | |
rdx = [NSData class]; | |
if ([r13 isKindOfClass: rdx] != 0x0) { | |
var_30 = r13; | |
rax = [MCAttachment alloc]; | |
rdx = r14; | |
r12 = r14; | |
r14 = _objc_msgSend; | |
r15 = r12; | |
r12 = [rax initWithMimePart: rdx]; | |
rbx = [ | |
[MCDataAttachmentDataSource alloc] initWithData: r13 | |
]; | |
rax = [r12 setDataSource: rbx]; | |
rax = [rbx release]; | |
rbx = [ | |
[r15 dispositionParameterForKey: @ "remote-image"] retain | |
]; | |
if (rbx != 0x0) { | |
rax = [rbx release]; | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} else { | |
r14 = [ | |
[r15 dispositionParameterForKey: @ "remote-icloud-image"] retain | |
]; | |
r13 = _objc_release; | |
rax = [r14 release]; | |
rax = [rbx release]; | |
if (r14 != 0x0) { | |
rax = [r12 setIsMailDropImageThumbnail: 0x1]; | |
} | |
} | |
rax = [var_30 release]; | |
r13 = r12; | |
} | |
rdi = r13; | |
rbx = stack[2042]; | |
r12 = stack[2043]; | |
r13 = stack[2044]; | |
r14 = stack[2045]; | |
r15 = stack[2046]; | |
rsp = rsp + 0x38; | |
rbp = stack[2047]; | |
rax = [rdi autorelease]; | |
return rax; | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment