; ; CCScrollLayerExt::ccTouchBegan from 0x14004b410 to 0x14004b55f (335 bytes) ; ; 2 xrefs: ; > @ 0x14070b130 ; > @ 0x14090fde8 ; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x14004b410 mov [rsp+arg_10], rsi ; +0x5, 0x14004b415 push rdi ; +0xa, 0x14004b41a sub rsp, 30h ; +0xb, 0x14004b41b cmp byte ptr [rcx+0ADh], 0 ; +0xf, 0x14004b41f mov rbx, rdx ; +0x16, 0x14004b426 mov rdi, rcx ; +0x19, 0x14004b429 jnz loc_14004B54D ; +0x1c, 0x14004b42c lea rdx, [rsp+38h+arg_18] ; +0x22, 0x14004b432 mov rcx, rbx ; +0x27, 0x14004b437 call cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x2a, 0x14004b43a mov rdx, rax ; +0x30, 0x14004b440 lea rcx, [rdi-140h] ; +0x33, 0x14004b443 call sub_14004A7E0 ; +0x3a, 0x14004b44a test al, al ; +0x3f, 0x14004b44f jnz loc_14004B54D ; +0x41, 0x14004b451 lea rdx, [rsp+38h+arg_0] ; +0x47, 0x14004b457 mov [rdi+60h], rbx ; +0x4c, 0x14004b45c mov rcx, rbx ; +0x50, 0x14004b460 call cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x53, 0x14004b463 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x59, 0x14004b469 mov rcx, rax ; +0x5f, 0x14004b46f lea r8, [rsp+38h+arg_0] ; +0x62, 0x14004b472 lea rdx, [rsp+38h+arg_18] ; +0x67, 0x14004b477 call cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x6c, 0x14004b47c mov rdx, rax ; +0x72, 0x14004b482 lea rcx, [rdi+68h] ; +0x75, 0x14004b485 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x79, 0x14004b489 mov rdx, rax ; +0x7f, 0x14004b48f lea rcx, [rdi+70h] ; +0x82, 0x14004b492 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x86, 0x14004b496 lea r8, [rdi+68h] ; +0x8c, 0x14004b49c lea rdx, [rsp+38h+arg_18] ; +0x90, 0x14004b4a0 lea rcx, [rdi-140h] ; +0x95, 0x14004b4a5 call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x9c, 0x14004b4ac mov rdx, rax ; +0xa2, 0x14004b4b2 lea rcx, [rsp+38h+arg_0] ; +0xa5, 0x14004b4b5 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xaa, 0x14004b4ba lea rcx, [rsp+38h+var_18] ; +0xb0, 0x14004b4c0 call cs:??0CCRect@cocos2d@@QEAA@XZ; cocos2d::CCRect::CCRect(void) ; +0xb5, 0x14004b4c5 lea rdx, unk_140909AE0 ; +0xbb, 0x14004b4cb lea rcx, [rsp+38h+var_18] ; +0xc2, 0x14004b4d2 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc7, 0x14004b4d7 mov rax, [rdi-140h] ; +0xcd, 0x14004b4dd lea rcx, [rdi-140h] ; +0xd4, 0x14004b4e4 call qword ptr [rax+140h] ; +0xdb, 0x14004b4eb mov rdx, rax ; +0xe1, 0x14004b4f1 lea rcx, [rsp+38h+var_10] ; +0xe4, 0x14004b4f4 call cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0xe9, 0x14004b4f9 lea rdx, [rsp+38h+arg_0] ; +0xef, 0x14004b4ff lea rcx, [rsp+38h+var_18] ; +0xf4, 0x14004b504 call cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0xf9, 0x14004b509 test al, al ; +0xff, 0x14004b50f jz short loc_14004B54D ; +0x101, 0x14004b511 mov rcx, [rdi+0A0h] ; +0x103, 0x14004b513 call cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x10a, 0x14004b51a lea rcx, [rdi+78h] ; +0x110, 0x14004b520 xor edx, edx ; +0x114, 0x14004b524 call cs:?gettimeofdayCocos2d@CCTime@cocos2d@@SAHPEAUcc_timeval@2@PEAX@Z; cocos2d::CCTime::gettimeofdayCocos2d(cocos2d::cc_timeval *,void *) ; +0x116, 0x14004b526 cmp byte ptr [rdi+0ADh], 0 ; +0x11c, 0x14004b52c mov byte ptr [rdi+80h], 1 ; +0x123, 0x14004b533 setz al ; +0x12a, 0x14004b53a mov rbx, [rsp+38h+arg_8] ; +0x12d, 0x14004b53d mov rsi, [rsp+38h+arg_10] ; +0x132, 0x14004b542 add rsp, 30h ; +0x137, 0x14004b547 pop rdi ; +0x13b, 0x14004b54b retn ; +0x13c, 0x14004b54c mov rbx, [rsp+38h+arg_8] ; +0x13d, 0x14004b54d xor al, al ; +0x142, 0x14004b552 mov rsi, [rsp+38h+arg_10] ; +0x144, 0x14004b554 add rsp, 30h ; +0x149, 0x14004b559 pop rdi ; +0x14d, 0x14004b55d retn ; +0x14e, 0x14004b55e