; ; CCScrollLayerExt::ccTouchBegan from 0x1400475f0 to 0x14004770e (286 bytes) ; ; 4 xrefs: ; > @ 0x1405304a8 ; > @ 0x140662da4 ; > @ 0x140662db4 ; > @ 0x1406c48e4 ; ; 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 rsi ; +0x0, 0x1400475f0 sub rsp, 30h ; +0x2, 0x1400475f2 cmp byte ptr [rcx+0A5h], 0 ; +0x6, 0x1400475f6 mov rax, rdx ; +0xd, 0x1400475fd mov rsi, rcx ; +0x10, 0x140047600 jnz loc_140047706 ; +0x13, 0x140047603 mov [rcx+58h], rdx ; +0x19, 0x140047609 lea rdx, [rsp+38h+arg_0] ; +0x1d, 0x14004760d mov rcx, rax ; +0x22, 0x140047612 mov [rsp+38h+arg_8], rbx ; +0x25, 0x140047615 mov [rsp+38h+arg_10], rdi ; +0x2a, 0x14004761a call cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x2f, 0x14004761f call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x35, 0x140047625 mov rcx, rax ; +0x3b, 0x14004762b lea r8, [rsp+38h+arg_0] ; +0x3e, 0x14004762e lea rdx, [rsp+38h+arg_18] ; +0x43, 0x140047633 call cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x48, 0x140047638 mov rdx, rax ; +0x4e, 0x14004763e lea rcx, [rsi+60h] ; +0x51, 0x140047641 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x55, 0x140047645 mov rdx, rax ; +0x5b, 0x14004764b lea rcx, [rsi+68h] ; +0x5e, 0x14004764e call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x62, 0x140047652 lea r8, [rsi+60h] ; +0x68, 0x140047658 lea rdx, [rsp+38h+arg_18] ; +0x6c, 0x14004765c lea rcx, [rsi-140h] ; +0x71, 0x140047661 call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x78, 0x140047668 mov rdx, rax ; +0x7e, 0x14004766e lea rcx, [rsp+38h+arg_0] ; +0x81, 0x140047671 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x86, 0x140047676 lea rcx, [rsp+38h+var_18] ; +0x8c, 0x14004767c call cs:??0CCRect@cocos2d@@QEAA@XZ; cocos2d::CCRect::CCRect(void) ; +0x91, 0x140047681 lea rdx, stru_1406C13A8 ; +0x97, 0x140047687 lea rcx, [rsp+38h+var_18] ; +0x9e, 0x14004768e call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xa3, 0x140047693 mov rax, [rsi-140h] ; +0xa9, 0x140047699 lea rcx, [rsi-140h] ; +0xb0, 0x1400476a0 call qword ptr [rax+130h] ; +0xb7, 0x1400476a7 mov rdx, rax ; +0xbd, 0x1400476ad lea rcx, [rsp+38h+var_10] ; +0xc0, 0x1400476b0 call cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0xc5, 0x1400476b5 lea rdx, [rsp+38h+arg_0] ; +0xcb, 0x1400476bb lea rcx, [rsp+38h+var_18] ; +0xd0, 0x1400476c0 call cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0xd5, 0x1400476c5 mov rdi, [rsp+38h+arg_10] ; +0xdb, 0x1400476cb mov rbx, [rsp+38h+arg_8] ; +0xe0, 0x1400476d0 test al, al ; +0xe5, 0x1400476d5 jz short loc_140047706 ; +0xe7, 0x1400476d7 mov rcx, [rsi+98h] ; +0xe9, 0x1400476d9 call cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0xf0, 0x1400476e0 lea rcx, [rsi+70h] ; +0xf6, 0x1400476e6 xor edx, edx ; +0xfa, 0x1400476ea call cs:?gettimeofdayCocos2d@CCTime@cocos2d@@SAHPEAUcc_timeval@2@PEAX@Z; cocos2d::CCTime::gettimeofdayCocos2d(cocos2d::cc_timeval *,void *) ; +0xfc, 0x1400476ec cmp byte ptr [rsi+0A5h], 0 ; +0x102, 0x1400476f2 mov byte ptr [rsi+78h], 1 ; +0x109, 0x1400476f9 setz al ; +0x10d, 0x1400476fd add rsp, 30h ; +0x110, 0x140047700 pop rsi ; +0x114, 0x140047704 retn ; +0x115, 0x140047705 xor al, al ; +0x116, 0x140047706 add rsp, 30h ; +0x118, 0x140047708 pop rsi ; +0x11c, 0x14004770c retn ; +0x11d, 0x14004770d