我正在尝试获取方法 CGShadingGetBounds() 的签名?
我试过了,CG_EXTERN CGRect CGShadingGetBounds(CGShadingRef);
但似乎不是这样。
有人可以帮忙找出签名吗?下面是拆解。
__text:000000000016BB76 public _CGShadingGetBounds
__text:000000000016BB76 _CGShadingGetBounds proc near ; CODE XREF: _log_LogShading+1B8p
__text:000000000016BB76 ; _dlr_DrawShading+1FEp ...
__text:000000000016BB76 push rbp
__text:000000000016BB77 mov rbp, rsp
__text:000000000016BB7A mov rax, rdi
__text:000000000016BB7D cmp byte ptr [rsi+28h], 0
__text:000000000016BB81 jz short loc_16BBAC
__text:000000000016BB83 movsd xmm0, qword ptr [rsi+30h]
__text:000000000016BB88 movsd qword ptr [rdi], xmm0
__text:000000000016BB8C movsd xmm0, qword ptr [rsi+38h]
__text:000000000016BB91 movsd qword ptr [rdi+8], xmm0
__text:000000000016BB96 movsd xmm0, qword ptr [rsi+40h]
__text:000000000016BB9B movsd qword ptr [rdi+10h], xmm0
__text:000000000016BBA0 movsd xmm0, qword ptr [rsi+48h]
__text:000000000016BBA5
__text:000000000016BBA5 loc_16BBA5: ; CODE XREF: _CGShadingGetBounds+5Ej
__text:000000000016BBA5 movsd qword ptr [rdi+18h], xmm0
__text:000000000016BBAA pop rbp
__text:000000000016BBAB retn
__text:000000000016BBAC ; ---------------------------------------------------------------------------
__text:000000000016BBAC
__text:000000000016BBAC loc_16BBAC: ; CODE XREF: _CGShadingGetBounds+Bj
__text:000000000016BBAC lea rcx, _CGRectInfinite
__text:000000000016BBB3 movsd xmm0, qword ptr [rcx]
__text:000000000016BBB7 movsd xmm1, qword ptr [rcx+8]
__text:000000000016BBBC movsd qword ptr [rdi], xmm0
__text:000000000016BBC0 movsd qword ptr [rdi+8], xmm1
__text:000000000016BBC5 movsd xmm0, qword ptr [rcx+10h]
__text:000000000016BBCA movsd qword ptr [rdi+10h], xmm0
__text:000000000016BBCF movsd xmm0, qword ptr [rcx+18h]
__text:000000000016BBD4 jmp short loc_16BBA5
__text:000000000016BBD4 _CGShadingGetBounds endp
我的目标是确定阴影发生的范围。