; ; CCScrollLayerExt::ccTouchMoved from 0x14004b820 to 0x14004b99f (383 bytes) ; ; 4 xrefs: ; > @ 0x14070b138 ; > @ 0x140885ee8 ; > @ 0x140885f1c ; > @ 0x14090fe54 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:25:33 +0000 ; push rbx ; +0x0, 0x14004b820 push rsi ; +0x2, 0x14004b822 push r14 ; +0x3, 0x14004b823 sub rsp, 30h ; +0x5, 0x14004b825 mov rbx, rdx ; +0x9, 0x14004b829 mov byte ptr [rcx+80h], 1 ; +0xc, 0x14004b82c lea r14, [rcx-140h] ; +0x13, 0x14004b833 mov rsi, rcx ; +0x1a, 0x14004b83a mov rcx, rbx ; +0x1d, 0x14004b83d lea rdx, [rsp+48h+arg_8] ; +0x20, 0x14004b840 call cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x25, 0x14004b845 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2b, 0x14004b84b mov rcx, rax ; +0x31, 0x14004b851 lea r8, [rsp+48h+arg_8] ; +0x34, 0x14004b854 lea rdx, [rsp+48h+arg_0] ; +0x39, 0x14004b859 call cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x3e, 0x14004b85e mov rdx, rax ; +0x44, 0x14004b864 lea rcx, [rsp+48h+arg_8] ; +0x47, 0x14004b867 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x4c, 0x14004b86c cmp rbx, [rsi+60h] ; +0x52, 0x14004b872 jnz loc_14004B996 ; +0x56, 0x14004b876 mov [rsp+48h+var_20], rbp ; +0x5c, 0x14004b87c lea r8, [rsi+68h] ; +0x61, 0x14004b881 lea rdx, [rsp+48h+arg_18] ; +0x65, 0x14004b885 mov [rsp+48h+var_28], rdi ; +0x6a, 0x14004b88a lea rcx, [rsp+48h+arg_8] ; +0x6f, 0x14004b88f call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x74, 0x14004b894 cmp byte ptr [rsi+0ACh], 0 ; +0x7a, 0x14004b89a jz short loc_14004B8AD ; +0x81, 0x14004b8a1 mov [rsp+48h+arg_1C], 0 ; +0x83, 0x14004b8a3 jmp short loc_14004B8BE ; +0x8b, 0x14004b8ab cmp byte ptr [rsi+0ABh], 0 ; +0x8d, 0x14004b8ad jz short loc_14004B8BE ; +0x94, 0x14004b8b4 mov [rsp+48h+arg_18], 0 ; +0x96, 0x14004b8b6 mov rcx, [rsi+0A0h] ; +0x9e, 0x14004b8be mov rax, [rcx] ; +0xa5, 0x14004b8c5 call qword ptr [rax+0C8h] ; +0xa8, 0x14004b8c8 mov rcx, rax ; +0xae, 0x14004b8ce lea r8, [rsp+48h+arg_18] ; +0xb1, 0x14004b8d1 lea rdx, [rsp+48h+arg_0] ; +0xb6, 0x14004b8d6 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0xbb, 0x14004b8db mov rax, [r14] ; +0xc1, 0x14004b8e1 mov rcx, r14 ; +0xc4, 0x14004b8e4 mov rdi, [r14+1E0h] ; +0xc7, 0x14004b8e7 call qword ptr [rax+140h] ; +0xce, 0x14004b8ee mov rdx, [rdi] ; +0xd4, 0x14004b8f4 mov rcx, rdi ; +0xd7, 0x14004b8f7 mov rbx, rax ; +0xda, 0x14004b8fa call qword ptr [rdx+140h] ; +0xdd, 0x14004b8fd movss xmm1, dword ptr [rbx+4] ; +0xe3, 0x14004b903 movss xmm2, [rsp+48h+arg_4] ; +0xe8, 0x14004b908 movss xmm0, dword ptr [rsi+0BCh] ; +0xee, 0x14004b90e subss xmm1, dword ptr [rax+4] ; +0xf6, 0x14004b916 addss xmm0, dword ptr [rsi+0B4h] ; +0xfb, 0x14004b91b mov rdi, [rsp+48h+var_28] ; +0x103, 0x14004b923 subss xmm1, dword ptr [r14+1F0h] ; +0x108, 0x14004b928 subss xmm1, dword ptr [rsi+0B8h] ; +0x111, 0x14004b931 comiss xmm1, xmm2 ; +0x119, 0x14004b939 jbe short loc_14004B946 ; +0x11c, 0x14004b93c movss [rsp+48h+arg_4], xmm1 ; +0x11e, 0x14004b93e jmp short loc_14004B951 ; +0x124, 0x14004b944 comiss xmm2, xmm0 ; +0x126, 0x14004b946 jbe short loc_14004B951 ; +0x129, 0x14004b949 movss [rsp+48h+arg_4], xmm0 ; +0x12b, 0x14004b94b mov rcx, [rsi+0A0h] ; +0x131, 0x14004b951 lea rdx, [rsp+48h+arg_0] ; +0x138, 0x14004b958 mov rax, [rcx] ; +0x13d, 0x14004b95d call qword ptr [rax+0B8h] ; +0x140, 0x14004b960 lea rdx, [rsp+48h+arg_8] ; +0x146, 0x14004b966 mov byte ptr [rsi+81h], 1 ; +0x14b, 0x14004b96b lea rcx, [rsi+68h] ; +0x152, 0x14004b972 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x156, 0x14004b976 mov rcx, [rsi+98h] ; +0x15c, 0x14004b97c mov rbp, [rsp+48h+var_20] ; +0x163, 0x14004b983 test rcx, rcx ; +0x168, 0x14004b988 jz short loc_14004B996 ; +0x16b, 0x14004b98b mov rax, [rcx] ; +0x16d, 0x14004b98d mov rdx, r14 ; +0x170, 0x14004b990 call qword ptr [rax+10h] ; +0x173, 0x14004b993 add rsp, 30h ; +0x176, 0x14004b996 pop r14 ; +0x17a, 0x14004b99a pop rsi ; +0x17c, 0x14004b99c pop rbx ; +0x17d, 0x14004b99d retn ; +0x17e, 0x14004b99e