; ; CCScrollLayerExt::ccTouchEnded from 0x14004b560 to 0x14004b7ed (653 bytes) ; ; 5 xrefs: ; > TableView::ccTouchEnded @ 0x140088405 ; > @ 0x14070b140 ; > @ 0x140885e60 ; > @ 0x140885ec8 ; > @ 0x14090fdf4 ; ; 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, 0x14004b560 push rsi ; +0x2, 0x14004b562 push r14 ; +0x3, 0x14004b563 sub rsp, 60h ; +0x5, 0x14004b565 mov rbx, rdx ; +0x9, 0x14004b569 mov rsi, rcx ; +0xc, 0x14004b56c mov rcx, rbx ; +0xf, 0x14004b56f lea rdx, [rsp+78h+arg_8] ; +0x12, 0x14004b572 call cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x1a, 0x14004b57a call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x20, 0x14004b580 mov rcx, rax ; +0x26, 0x14004b586 lea r8, [rsp+78h+arg_8] ; +0x29, 0x14004b589 lea rdx, [rsp+78h+arg_0] ; +0x31, 0x14004b591 call cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x39, 0x14004b599 mov rdx, rax ; +0x3f, 0x14004b59f lea rcx, [rsp+78h+arg_8] ; +0x42, 0x14004b5a2 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x4a, 0x14004b5aa cmp rbx, [rsi+60h] ; +0x50, 0x14004b5b0 lea r14, [rsi-140h] ; +0x54, 0x14004b5b4 jnz loc_14004B7CC ; +0x5b, 0x14004b5bb xor edx, edx ; +0x61, 0x14004b5c1 movaps [rsp+78h+var_28], xmm6 ; +0x63, 0x14004b5c3 lea rcx, [rsp+78h+arg_18] ; +0x68, 0x14004b5c8 call cs:?gettimeofdayCocos2d@CCTime@cocos2d@@SAHPEAUcc_timeval@2@PEAX@Z; cocos2d::CCTime::gettimeofdayCocos2d(cocos2d::cc_timeval *,void *) ; +0x70, 0x14004b5d0 lea rdx, [rsi+70h] ; +0x76, 0x14004b5d6 lea rcx, [rsp+78h+arg_8] ; +0x7a, 0x14004b5da call cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x82, 0x14004b5e2 lea rcx, [rsi+78h] ; +0x88, 0x14004b5e8 movaps xmm6, xmm0 ; +0x8c, 0x14004b5ec lea rdx, [rsp+78h+arg_18] ; +0x8f, 0x14004b5ef call cs:?timersubCocos2d@CCTime@cocos2d@@SANPEAUcc_timeval@2@0@Z; cocos2d::CCTime::timersubCocos2d(cocos2d::cc_timeval *,cocos2d::cc_timeval *) ; +0x97, 0x14004b5f7 xorps xmm1, xmm1 ; +0x9d, 0x14004b5fd cvtsd2ss xmm1, xmm0 ; +0xa0, 0x14004b600 divss xmm6, xmm1 ; +0xa4, 0x14004b604 comiss xmm6, cs:dword_140834F20 ; +0xa8, 0x14004b608 jb loc_14004B7BD ; +0xaf, 0x14004b60f mov rcx, [r14+1E0h] ; +0xb5, 0x14004b615 mov [rsp+78h+arg_10], rdi ; +0xbc, 0x14004b61c movaps [rsp+78h+var_38], xmm7 ; +0xc4, 0x14004b624 movaps [rsp+78h+var_48], xmm8 ; +0xc9, 0x14004b629 call cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0xcf, 0x14004b62f lea r8, [rsi+70h] ; +0xd5, 0x14004b635 lea rdx, [rsp+78h+arg_0] ; +0xd9, 0x14004b639 lea rcx, [rsp+78h+arg_8] ; +0xe1, 0x14004b641 call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0xe9, 0x14004b649 cmp byte ptr [rsi+0ACh], 0 ; +0xef, 0x14004b64f jz short loc_14004B665 ; +0xf6, 0x14004b656 mov [rsp+78h+arg_4], 0 ; +0xf8, 0x14004b658 jmp short loc_14004B679 ; +0x103, 0x14004b663 cmp byte ptr [rsi+0ABh], 0 ; +0x105, 0x14004b665 jz short loc_14004B679 ; +0x10c, 0x14004b66c mov [rsp+78h+arg_0], 0 ; +0x10e, 0x14004b66e mov rax, [r14] ; +0x119, 0x14004b679 mov rcx, r14 ; +0x11c, 0x14004b67c movss xmm8, cs:dword_140834EA0 ; +0x11f, 0x14004b67f mov rdi, [r14+1E0h] ; +0x128, 0x14004b688 call qword ptr [rax+140h] ; +0x12f, 0x14004b68f mov rdx, [rdi] ; +0x135, 0x14004b695 mov rcx, rdi ; +0x138, 0x14004b698 mov rbx, rax ; +0x13b, 0x14004b69b call qword ptr [rdx+140h] ; +0x13e, 0x14004b69e movss xmm6, dword ptr [rbx+4] ; +0x144, 0x14004b6a4 mov rcx, [rsi+0A0h] ; +0x149, 0x14004b6a9 movss xmm7, dword ptr [rsi+0BCh] ; +0x150, 0x14004b6b0 subss xmm6, dword ptr [rax+4] ; +0x158, 0x14004b6b8 addss xmm7, dword ptr [rsi+0B4h] ; +0x15d, 0x14004b6bd mov rax, [rcx] ; +0x165, 0x14004b6c5 subss xmm6, dword ptr [r14+1F0h] ; +0x168, 0x14004b6c8 subss xmm6, dword ptr [rsi+0B8h] ; +0x171, 0x14004b6d1 call qword ptr [rax+0C8h] ; +0x179, 0x14004b6d9 mov rdx, rax ; +0x17f, 0x14004b6df lea rcx, [rsp+78h+var_58] ; +0x182, 0x14004b6e2 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x187, 0x14004b6e7 movss xmm0, [rsp+78h+var_54] ; +0x18d, 0x14004b6ed mov rdi, [rsp+78h+arg_10] ; +0x193, 0x14004b6f3 movaps xmm1, xmm0 ; +0x19b, 0x14004b6fb addss xmm1, [rsp+78h+arg_4] ; +0x19e, 0x14004b6fe comiss xmm1, xmm7 ; +0x1a7, 0x14004b707 jbe short loc_14004B71B ; +0x1aa, 0x14004b70a subss xmm7, xmm0 ; +0x1ac, 0x14004b70c movss [rsp+78h+arg_4], xmm7 ; +0x1b0, 0x14004b710 jmp short loc_14004B72D ; +0x1b9, 0x14004b719 comiss xmm6, xmm1 ; +0x1bb, 0x14004b71b jbe short loc_14004B736 ; +0x1be, 0x14004b71e subss xmm6, xmm0 ; +0x1c0, 0x14004b720 movss [rsp+78h+arg_4], xmm6 ; +0x1c4, 0x14004b724 movss xmm8, cs:dword_140834E00 ; +0x1cd, 0x14004b72d mov rcx, [rsi+98h] ; +0x1d6, 0x14004b736 movaps xmm7, [rsp+78h+var_38] ; +0x1dd, 0x14004b73d test rcx, rcx ; +0x1e2, 0x14004b742 jz short loc_14004B74F ; +0x1e5, 0x14004b745 mov rax, [rcx] ; +0x1e7, 0x14004b747 mov rdx, r14 ; +0x1ea, 0x14004b74a call qword ptr [rax] ; +0x1ed, 0x14004b74d xor edx, edx ; +0x1ef, 0x14004b74f mov rcx, r14 ; +0x1f1, 0x14004b751 call CCScrollLayerExt__doConstraintContent ; +0x1f4, 0x14004b754 lea rdx, [rsp+78h+arg_0] ; +0x1f9, 0x14004b759 movaps xmm0, xmm8 ; +0x201, 0x14004b761 call cs:?create@CCMoveBy@cocos2d@@SAPEAV12@MAEBVCCPoint@2@@Z; cocos2d::CCMoveBy::create(float,cocos2d::CCPoint const &) ; +0x205, 0x14004b765 movss xmm1, cs:width ; +0x20b, 0x14004b76b mov rcx, rax ; +0x213, 0x14004b773 call cs:?create@CCEaseOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseOut::create(cocos2d::CCActionInterval *,float) ; +0x216, 0x14004b776 lea rdx, CCScrollLayerExt__constraintContent ; +0x21c, 0x14004b77c mov rcx, r14 ; +0x223, 0x14004b783 mov rbx, rax ; +0x226, 0x14004b786 call cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x229, 0x14004b789 xor r8d, r8d ; +0x22f, 0x14004b78f mov rcx, rbx ; +0x232, 0x14004b792 mov rdx, rax ; +0x235, 0x14004b795 call cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x238, 0x14004b798 mov rcx, [rsi+0A0h] ; +0x23e, 0x14004b79e mov rdx, rax ; +0x245, 0x14004b7a5 call cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x248, 0x14004b7a8 movaps xmm8, [rsp+78h+var_48] ; +0x24e, 0x14004b7ae mov byte ptr [rsi+81h], 1 ; +0x254, 0x14004b7b4 jmp short loc_14004B7C7 ; +0x25b, 0x14004b7bb xor edx, edx ; +0x25d, 0x14004b7bd mov rcx, r14 ; +0x25f, 0x14004b7bf call CCScrollLayerExt__doConstraintContent ; +0x262, 0x14004b7c2 movaps xmm6, [rsp+78h+var_28] ; +0x267, 0x14004b7c7 lea rcx, [rsi+68h] ; +0x26c, 0x14004b7cc mov byte ptr [rsi+80h], 0 ; +0x270, 0x14004b7d0 lea rdx, unk_140909AE0 ; +0x277, 0x14004b7d7 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x27e, 0x14004b7de add rsp, 60h ; +0x284, 0x14004b7e4 pop r14 ; +0x288, 0x14004b7e8 pop rsi ; +0x28a, 0x14004b7ea pop rbx ; +0x28b, 0x14004b7eb retn ; +0x28c, 0x14004b7ec