; ; CCScrollLayerExt::ccTouchMoved from 0x1400479c0 to 0x140047b36 (374 bytes) ; ; 5 xrefs: ; > @ 0x1405304b0 ; > @ 0x140662e58 ; > @ 0x140662e6c ; > @ 0x140662e7c ; > @ 0x1406c4968 ; ; 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 ; push rbx ; +0x0, 0x1400479c0 push rdi ; +0x2, 0x1400479c2 sub rsp, 28h ; +0x3, 0x1400479c3 mov rbx, rdx ; +0x7, 0x1400479c7 mov byte ptr [rcx+78h], 1 ; +0xa, 0x1400479ca mov rdi, rcx ; +0xe, 0x1400479ce lea rdx, [rsp+38h+arg_8] ; +0x11, 0x1400479d1 mov rcx, rbx ; +0x16, 0x1400479d6 call cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x19, 0x1400479d9 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1f, 0x1400479df mov rcx, rax ; +0x25, 0x1400479e5 lea r8, [rsp+38h+arg_8] ; +0x28, 0x1400479e8 lea rdx, [rsp+38h+arg_0] ; +0x2d, 0x1400479ed call cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x32, 0x1400479f2 mov rdx, rax ; +0x38, 0x1400479f8 lea rcx, [rsp+38h+arg_8] ; +0x3b, 0x1400479fb call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x40, 0x140047a00 cmp rbx, [rdi+58h] ; +0x46, 0x140047a06 jnz loc_140047B2F ; +0x4a, 0x140047a0a mov [rsp+38h+arg_10], rsi ; +0x50, 0x140047a10 lea r8, [rdi+60h] ; +0x55, 0x140047a15 lea rdx, [rsp+38h+arg_18] ; +0x59, 0x140047a19 mov [rsp+38h+var_18], r14 ; +0x5e, 0x140047a1e lea rcx, [rsp+38h+arg_8] ; +0x63, 0x140047a23 call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x68, 0x140047a28 cmp byte ptr [rdi+0A4h], 0 ; +0x6e, 0x140047a2e jz short loc_140047A41 ; +0x75, 0x140047a35 mov [rsp+38h+arg_1C], 0 ; +0x77, 0x140047a37 jmp short loc_140047A52 ; +0x7f, 0x140047a3f cmp byte ptr [rdi+0A3h], 0 ; +0x81, 0x140047a41 jz short loc_140047A52 ; +0x88, 0x140047a48 mov [rsp+38h+arg_18], 0 ; +0x8a, 0x140047a4a mov rcx, [rdi+98h] ; +0x92, 0x140047a52 mov rax, [rcx] ; +0x99, 0x140047a59 call qword ptr [rax+0C8h] ; +0x9c, 0x140047a5c mov rcx, rax ; +0xa2, 0x140047a62 lea r8, [rsp+38h+arg_18] ; +0xa5, 0x140047a65 lea rdx, [rsp+38h+arg_0] ; +0xaa, 0x140047a6a call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0xaf, 0x140047a6f mov rax, [rdi-140h] ; +0xb5, 0x140047a75 lea rcx, [rdi-140h] ; +0xbc, 0x140047a7c call qword ptr [rax+130h] ; +0xc3, 0x140047a83 mov rcx, [rdi+98h] ; +0xc9, 0x140047a89 mov rbx, rax ; +0xd0, 0x140047a90 mov rdx, [rcx] ; +0xd3, 0x140047a93 call qword ptr [rdx+130h] ; +0xd6, 0x140047a96 movss xmm1, dword ptr [rbx+4] ; +0xdc, 0x140047a9c movss xmm2, [rsp+38h+arg_4] ; +0xe1, 0x140047aa1 movss xmm0, dword ptr [rdi+0B4h] ; +0xe7, 0x140047aa7 subss xmm1, dword ptr [rax+4] ; +0xef, 0x140047aaf addss xmm0, dword ptr [rdi+0ACh] ; +0xf4, 0x140047ab4 subss xmm1, dword ptr [rdi+0A8h] ; +0xfc, 0x140047abc subss xmm1, dword ptr [rdi+0B0h] ; +0x104, 0x140047ac4 comiss xmm1, xmm2 ; +0x10c, 0x140047acc jbe short loc_140047AD9 ; +0x10f, 0x140047acf movss [rsp+38h+arg_4], xmm1 ; +0x111, 0x140047ad1 jmp short loc_140047AE4 ; +0x117, 0x140047ad7 comiss xmm2, xmm0 ; +0x119, 0x140047ad9 jbe short loc_140047AE4 ; +0x11c, 0x140047adc movss [rsp+38h+arg_4], xmm0 ; +0x11e, 0x140047ade mov rcx, [rdi+98h] ; +0x124, 0x140047ae4 lea rdx, [rsp+38h+arg_0] ; +0x12b, 0x140047aeb mov rax, [rcx] ; +0x130, 0x140047af0 call qword ptr [rax+0B8h] ; +0x133, 0x140047af3 lea rdx, [rsp+38h+arg_8] ; +0x139, 0x140047af9 mov byte ptr [rdi+79h], 1 ; +0x13e, 0x140047afe lea rcx, [rdi+60h] ; +0x142, 0x140047b02 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x146, 0x140047b06 mov rcx, [rdi+90h] ; +0x14c, 0x140047b0c mov rsi, [rsp+38h+arg_10] ; +0x153, 0x140047b13 test rcx, rcx ; +0x158, 0x140047b18 jz short loc_140047B2A ; +0x15b, 0x140047b1b mov rax, [rcx] ; +0x15d, 0x140047b1d lea rdx, [rdi-140h] ; +0x160, 0x140047b20 call qword ptr [rax+10h] ; +0x167, 0x140047b27 mov r14, [rsp+38h+var_18] ; +0x16a, 0x140047b2a add rsp, 28h ; +0x16f, 0x140047b2f pop rdi ; +0x173, 0x140047b33 pop rbx ; +0x174, 0x140047b34 retn ; +0x175, 0x140047b35