; ; cocos2d::extension::CCScrollView::getViewRect from 0x180014090 to 0x1800141b1 (289 bytes) ; ; 5 xrefs: ; > cocos2d::extension::CCScrollView::beforeDraw @ 0x180013625 ; > cocos2d::extension::CCScrollView::ccTouchBegan @ 0x1800139b8 ; > cocos2d::extension::CCScrollView::ccTouchMoved @ 0x180013c8b ; > @ 0x18002fdf8 ; > @ 0x18004a5e4 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_8], rbx ; +0x0, 0x180014090 mov [rsp+arg_10], rsi ; +0x5, 0x180014095 push rdi ; +0xa, 0x18001409a sub rsp, 50h ; +0xb, 0x18001409b mov rsi, rdx ; +0xf, 0x18001409f movaps [rsp+58h+var_18], xmm6 ; +0x12, 0x1800140a2 lea rdx, [rsp+58h+arg_0] ; +0x17, 0x1800140a7 movaps [rsp+58h+var_28], xmm7 ; +0x1c, 0x1800140ac lea r8, unk_180048620 ; +0x21, 0x1800140b1 mov rdi, rcx ; +0x28, 0x1800140b8 call cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x2b, 0x1800140bb mov rax, [rdi] ; +0x31, 0x1800140c1 mov rcx, rdi ; +0x34, 0x1800140c4 call qword ptr [rax+80h] ; +0x37, 0x1800140c7 mov rax, [rdi] ; +0x3d, 0x1800140cd mov rcx, rdi ; +0x40, 0x1800140d0 movaps xmm7, xmm0 ; +0x43, 0x1800140d3 call qword ptr [rax+90h] ; +0x46, 0x1800140d6 mov rbx, [rdi+0D8h] ; +0x4c, 0x1800140dc movaps xmm6, xmm0 ; +0x53, 0x1800140e3 test rbx, rbx ; +0x56, 0x1800140e6 jz short loc_180014124 ; +0x59, 0x1800140e9 nop dword ptr [rax+rax+00h] ; +0x5b, 0x1800140eb mov rax, [rbx] ; +0x60, 0x1800140f0 mov rcx, rbx ; +0x63, 0x1800140f3 call qword ptr [rax+80h] ; +0x66, 0x1800140f6 mov rax, [rbx] ; +0x6c, 0x1800140fc mov rcx, rbx ; +0x6f, 0x1800140ff mulss xmm7, xmm0 ; +0x72, 0x180014102 call qword ptr [rax+90h] ; +0x76, 0x180014106 mov rax, [rbx] ; +0x7c, 0x18001410c mov rcx, rbx ; +0x7f, 0x18001410f mulss xmm6, xmm0 ; +0x82, 0x180014112 call qword ptr [rax+1E8h] ; +0x86, 0x180014116 mov rbx, rax ; +0x8c, 0x18001411c test rax, rax ; +0x8f, 0x18001411f jnz short loc_1800140F0 ; +0x92, 0x180014122 movss xmm3, dword ptr [rdi+200h] ; +0x94, 0x180014124 xorps xmm2, xmm2 ; +0x9c, 0x18001412c comiss xmm2, xmm7 ; +0x9f, 0x18001412f movss xmm4, dword ptr cs:xmmword_180029610 ; +0xa2, 0x180014132 movss xmm1, [rsp+58h+arg_0] ; +0xaa, 0x18001413a jbe short loc_180014156 ; +0xb0, 0x180014140 movaps xmm0, xmm3 ; +0xb2, 0x180014142 mulss xmm0, xmm7 ; +0xb5, 0x180014145 xorps xmm7, xmm4 ; +0xb9, 0x180014149 addss xmm1, xmm0 ; +0xbc, 0x18001414c movss [rsp+58h+arg_0], xmm1 ; +0xc0, 0x180014150 comiss xmm2, xmm6 ; +0xc6, 0x180014156 movss xmm2, [rsp+58h+arg_4] ; +0xc9, 0x180014159 jbe short loc_180014179 ; +0xcf, 0x18001415f movaps xmm0, xmm6 ; +0xd1, 0x180014161 xorps xmm6, xmm4 ; +0xd4, 0x180014164 mulss xmm0, dword ptr [rdi+204h] ; +0xd7, 0x180014167 addss xmm2, xmm0 ; +0xdf, 0x18001416f movss [rsp+58h+arg_4], xmm2 ; +0xe3, 0x180014173 mulss xmm6, dword ptr [rdi+204h] ; +0xe9, 0x180014179 mov rcx, rsi ; +0xf1, 0x180014181 mulss xmm3, xmm7 ; +0xf4, 0x180014184 movss [rsp+58h+var_38], xmm6 ; +0xf8, 0x180014188 call cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xfe, 0x18001418e mov rbx, [rsp+58h+arg_8] ; +0x104, 0x180014194 mov rax, rsi ; +0x109, 0x180014199 mov rsi, [rsp+58h+arg_10] ; +0x10c, 0x18001419c movaps xmm6, [rsp+58h+var_18] ; +0x111, 0x1800141a1 movaps xmm7, [rsp+58h+var_28] ; +0x116, 0x1800141a6 add rsp, 50h ; +0x11b, 0x1800141ab pop rdi ; +0x11f, 0x1800141af retn ; +0x120, 0x1800141b0