-
[ViewController clickSelect:]:
00000001000057d0
sub sp, sp,
00000001000057d4
stp x22, x21, [sp,
00000001000057d8
stp x20, x19, [sp,
00000001000057dc
stp x29, x30, [sp,
00000001000057e0
add x29, sp,
00000001000057e4
mov x19, x0
00000001000057e8
nop
:执行NSString
*
host
=
@
"http://tb.******.cn"
;
NSString
*
url
=
[NSString stringWithFormat:@
"%@/soft.php?method=getBuffInfo&buffId=%@"
,host,textField.text];
00000001000057ec
ldr x20,
=
_OBJC_CLASS_$_NSString ; _OBJC_CLASS_$_NSString
00000001000057f0
nop
00000001000057f4
ldr x0,
=
0x0
00000001000057f8
nop
00000001000057fc
ldr x1,
=
aText ;
"text"
,@selector(text)
0000000100005800
bl imp___stubs__objc_msgSend ; objc_msgSend
0000000100005804
mov x29, x29
0000000100005808
bl imp___stubs__objc_retainAutoreleasedReturnValue ; objc_retainAutoreleasedReturnValue
000000010000580c
mov x21, x0
0000000100005810
nop
0000000100005814
ldr x1,
=
aStringwithform ; 对象属性名,
"stringWithFormat:"
,@selector(stringWithFormat:)
0000000100005818
adr x8,
000000010000581c
nop
0000000100005820
stp x8, x0, [sp] ; 入堆栈?
urlRaw:
0000000100005824
adr x2,
0000000100005828
nop
000000010000582c
mov x0, x20 ; X20
=
对象
class
(nsstring)
0000000100005830
bl imp___stubs__objc_msgSend ; [??? aStringwithform:], objc_msgSend
0000000100005834
mov x29, x29
0000000100005838
bl imp___stubs__objc_retainAutoreleasedReturnValue ; objc_retainAutoreleasedReturnValue
000000010000583c
mov x20, x0 ; 暂且认为x20是存放 nsstring 后的返回值
0000000100005840
mov x0, x21
0000000100005844
bl imp___stubs__objc_release ; objc_release
·: 执行NSString
*
retString
=
[
self
httpGet:url];
0000000100005848
nop
000000010000584c
ldr x1,
=
aHttpget ;
"httpGet:"
,@selector(httpGet:)
0000000100005850
mov x0, x19 ; X19
=
self
0000000100005854
mov x2, x20 ; 将nsstring返回值(x20),存入参数
2
0000000100005858
bl imp___stubs__objc_msgSend ; objc_msgSend
000000010000585c
mov x29, x29
0000000100005860
bl imp___stubs__objc_retainAutoreleasedReturnValue ; objc_retainAutoreleasedReturnValue
0000000100005864
mov x21, x0 ; 获得httpget后的返回值
0000000100005868
nop
~:执行[
self
.view Endediting:YES]
000000010000586c
ldr x1,
=
aView ;
"view"
,@selector(view)
0000000100005870
mov x0, x19 ; Self
0000000100005874
bl imp___stubs__objc_msgSend ; objc_msgSend
0000000100005878
mov x29, x29
000000010000587c
bl imp___stubs__objc_retainAutoreleasedReturnValue ; objc_retainAutoreleasedReturnValue
0000000100005880
mov x19, x0
0000000100005884
nop
0000000100005888
ldr x1,
=
aEndediting ;
"endEditing:"
,@selector(endEditing:)
000000010000588c
movz w2,
0000000100005890
bl imp___stubs__objc_msgSend ; objc_msgSend
0000000100005894
mov x0, x19 ; 释放
self
0000000100005898
bl imp___stubs__objc_release ; objc_release
000000010000589c
mov x0, x21 ; 释放httpget
00000001000058a0
bl imp___stubs__objc_release ; objc_release
00000001000058a4
mov x0, x20
00000001000058a8
ldp x29, x30, [sp,
00000001000058ac
ldp x20, x19, [sp,
00000001000058b0
ldp x22, x21, [sp,
00000001000058b4
add sp, sp,
00000001000058b8
b imp___stubs__objc_release ; objc_release
; endp