; ; CCScrollLayerExt::ccTouchEnded from 0x140047710 to 0x14004798d (637 bytes) ; ; 5 xrefs: ; > TableView::ccTouchEnded @ 0x140075445 ; > @ 0x1405304b8 ; > @ 0x140662dd4 ; > @ 0x140662e34 ; > @ 0x1406c4908 ; ; 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, 0x140047710 push rdi ; +0x2, 0x140047712 sub rsp, 68h ; +0x3, 0x140047713 mov rbx, rdx ; +0x7, 0x140047717 mov rdi, rcx ; +0xa, 0x14004771a mov rcx, rbx ; +0xd, 0x14004771d lea rdx, [rsp+78h+arg_8] ; +0x10, 0x140047720 call cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x18, 0x140047728 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1e, 0x14004772e mov rcx, rax ; +0x24, 0x140047734 lea r8, [rsp+78h+arg_8] ; +0x27, 0x140047737 lea rdx, [rsp+78h+arg_0] ; +0x2f, 0x14004773f call cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x37, 0x140047747 mov rdx, rax ; +0x3d, 0x14004774d lea rcx, [rsp+78h+arg_8] ; +0x40, 0x140047750 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x48, 0x140047758 cmp rbx, [rdi+58h] ; +0x4e, 0x14004775e jnz loc_140047971 ; +0x52, 0x140047762 xor edx, edx ; +0x58, 0x140047768 movaps [rsp+78h+var_28], xmm6 ; +0x5a, 0x14004776a lea rcx, [rsp+78h+arg_18] ; +0x5f, 0x14004776f call cs:?gettimeofdayCocos2d@CCTime@cocos2d@@SAHPEAUcc_timeval@2@PEAX@Z; cocos2d::CCTime::gettimeofdayCocos2d(cocos2d::cc_timeval *,void *) ; +0x67, 0x140047777 lea rdx, [rdi+68h] ; +0x6d, 0x14004777d lea rcx, [rsp+78h+arg_8] ; +0x71, 0x140047781 call cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x79, 0x140047789 lea rcx, [rdi+70h] ; +0x7f, 0x14004778f movaps xmm6, xmm0 ; +0x83, 0x140047793 lea rdx, [rsp+78h+arg_18] ; +0x86, 0x140047796 call cs:?timersubCocos2d@CCTime@cocos2d@@SANPEAUcc_timeval@2@0@Z; cocos2d::CCTime::timersubCocos2d(cocos2d::cc_timeval *,cocos2d::cc_timeval *) ; +0x8e, 0x14004779e xorps xmm1, xmm1 ; +0x94, 0x1400477a4 cvtsd2ss xmm1, xmm0 ; +0x97, 0x1400477a7 divss xmm6, xmm1 ; +0x9b, 0x1400477ab comiss xmm6, cs:dword_140622B08 ; +0x9f, 0x1400477af jb loc_14004795E ; +0xa6, 0x1400477b6 mov rcx, [rdi+98h] ; +0xac, 0x1400477bc mov [rsp+78h+var_18], rsi ; +0xb3, 0x1400477c3 movaps [rsp+78h+var_38], xmm7 ; +0xb8, 0x1400477c8 movaps [rsp+78h+var_48], xmm8 ; +0xbd, 0x1400477cd call cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0xc3, 0x1400477d3 lea r8, [rdi+68h] ; +0xc9, 0x1400477d9 lea rdx, [rsp+78h+arg_0] ; +0xcd, 0x1400477dd lea rcx, [rsp+78h+arg_8] ; +0xd5, 0x1400477e5 call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0xdd, 0x1400477ed cmp byte ptr [rdi+0A4h], 0 ; +0xe3, 0x1400477f3 jz short loc_140047809 ; +0xea, 0x1400477fa mov [rsp+78h+arg_4], 0 ; +0xec, 0x1400477fc jmp short loc_14004781D ; +0xf7, 0x140047807 cmp byte ptr [rdi+0A3h], 0 ; +0xf9, 0x140047809 jz short loc_14004781D ; +0x100, 0x140047810 mov [rsp+78h+arg_0], 0 ; +0x102, 0x140047812 movss xmm8, cs:dword_140622AA0 ; +0x10d, 0x14004781d lea rsi, [rdi-140h] ; +0x116, 0x140047826 mov rax, [rsi] ; +0x11d, 0x14004782d mov rcx, rsi ; +0x120, 0x140047830 call qword ptr [rax+130h] ; +0x123, 0x140047833 mov rcx, [rsi+1D8h] ; +0x129, 0x140047839 mov rbx, rax ; +0x130, 0x140047840 mov rdx, [rcx] ; +0x133, 0x140047843 call qword ptr [rdx+130h] ; +0x136, 0x140047846 movss xmm6, dword ptr [rbx+4] ; +0x13c, 0x14004784c mov rcx, [rdi+98h] ; +0x141, 0x140047851 movss xmm7, dword ptr [rdi+0B4h] ; +0x148, 0x140047858 subss xmm6, dword ptr [rax+4] ; +0x150, 0x140047860 addss xmm7, dword ptr [rdi+0ACh] ; +0x155, 0x140047865 mov rax, [rcx] ; +0x15d, 0x14004786d subss xmm6, dword ptr [rsi+1E8h] ; +0x160, 0x140047870 subss xmm6, dword ptr [rdi+0B0h] ; +0x168, 0x140047878 call qword ptr [rax+0C8h] ; +0x170, 0x140047880 mov rdx, rax ; +0x176, 0x140047886 lea rcx, [rsp+78h+var_58] ; +0x179, 0x140047889 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x17e, 0x14004788e movss xmm0, [rsp+78h+var_54] ; +0x184, 0x140047894 movaps xmm1, xmm0 ; +0x18a, 0x14004789a addss xmm1, [rsp+78h+arg_4] ; +0x18d, 0x14004789d comiss xmm1, xmm7 ; +0x196, 0x1400478a6 jbe short loc_1400478BA ; +0x199, 0x1400478a9 subss xmm7, xmm0 ; +0x19b, 0x1400478ab movss [rsp+78h+arg_4], xmm7 ; +0x19f, 0x1400478af jmp short loc_1400478CC ; +0x1a8, 0x1400478b8 comiss xmm6, xmm1 ; +0x1aa, 0x1400478ba jbe short loc_1400478D5 ; +0x1ad, 0x1400478bd subss xmm6, xmm0 ; +0x1af, 0x1400478bf movss [rsp+78h+arg_4], xmm6 ; +0x1b3, 0x1400478c3 movss xmm8, cs:dword_140622A10 ; +0x1bc, 0x1400478cc mov rcx, [rdi+90h] ; +0x1c5, 0x1400478d5 movaps xmm7, [rsp+78h+var_38] ; +0x1cc, 0x1400478dc test rcx, rcx ; +0x1d1, 0x1400478e1 jz short loc_1400478EE ; +0x1d4, 0x1400478e4 mov rax, [rcx] ; +0x1d6, 0x1400478e6 mov rdx, rsi ; +0x1d9, 0x1400478e9 call qword ptr [rax] ; +0x1dc, 0x1400478ec xor edx, edx ; +0x1de, 0x1400478ee mov rcx, rsi ; +0x1e0, 0x1400478f0 call CCScrollLayerExt__doConstraintContent ; +0x1e3, 0x1400478f3 lea rdx, [rsp+78h+arg_0] ; +0x1e8, 0x1400478f8 movaps xmm0, xmm8 ; +0x1f0, 0x140047900 call cs:?create@CCMoveBy@cocos2d@@SAPEAV12@MAEBVCCPoint@2@@Z; cocos2d::CCMoveBy::create(float,cocos2d::CCPoint const &) ; +0x1f4, 0x140047904 movss xmm1, cs:width ; +0x1fa, 0x14004790a mov rcx, rax ; +0x202, 0x140047912 call cs:?create@CCEaseOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseOut::create(cocos2d::CCActionInterval *,float) ; +0x205, 0x140047915 lea rdx, CCScrollLayerExt__constraintContent ; +0x20b, 0x14004791b mov rcx, rsi ; +0x212, 0x140047922 mov rbx, rax ; +0x215, 0x140047925 call cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x218, 0x140047928 xor r8d, r8d ; +0x21e, 0x14004792e mov rcx, rbx ; +0x221, 0x140047931 mov rdx, rax ; +0x224, 0x140047934 call cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x227, 0x140047937 mov rcx, [rdi+98h] ; +0x22d, 0x14004793d mov rdx, rax ; +0x234, 0x140047944 call cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x237, 0x140047947 movaps xmm8, [rsp+78h+var_48] ; +0x23d, 0x14004794d mov rsi, [rsp+78h+var_18] ; +0x243, 0x140047953 mov byte ptr [rdi+79h], 1 ; +0x248, 0x140047958 jmp short loc_14004796C ; +0x24c, 0x14004795c lea rcx, [rdi-140h] ; +0x24e, 0x14004795e xor edx, edx ; +0x255, 0x140047965 call CCScrollLayerExt__doConstraintContent ; +0x257, 0x140047967 movaps xmm6, [rsp+78h+var_28] ; +0x25c, 0x14004796c lea rcx, [rdi+60h] ; +0x261, 0x140047971 mov byte ptr [rdi+78h], 0 ; +0x265, 0x140047975 lea rdx, stru_1406C13A8 ; +0x269, 0x140047979 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x270, 0x140047980 add rsp, 68h ; +0x276, 0x140047986 pop rdi ; +0x27a, 0x14004798a pop rbx ; +0x27b, 0x14004798b retn ; +0x27c, 0x14004798c