; ; BoomScrollLayer::ccTouchBegan from 0x1400420b0 to 0x1400421a1 (241 bytes) ; ; 2 xrefs: ; > @ 0x1407061b0 ; > @ 0x14090f5c0 ; ; 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:29 +0000 ; mov [rsp+arg_10], rbx ; +0x0, 0x1400420b0 push rdi ; +0x5, 0x1400420b5 sub rsp, 40h ; +0x6, 0x1400420b6 mov rax, cs:__security_cookie ; +0xa, 0x1400420ba xor rax, rsp ; +0x11, 0x1400420c1 mov [rsp+48h+var_10], rax ; +0x14, 0x1400420c4 cmp byte ptr [rcx+134h], 0 ; +0x19, 0x1400420c9 mov rdi, rdx ; +0x20, 0x1400420d0 mov rbx, rcx ; +0x23, 0x1400420d3 jnz loc_140042187 ; +0x26, 0x1400420d6 lea rdx, [rsp+48h+var_28] ; +0x2c, 0x1400420dc mov rcx, rdi ; +0x31, 0x1400420e1 call cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x34, 0x1400420e4 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x3a, 0x1400420ea mov rcx, rax ; +0x40, 0x1400420f0 lea r8, [rsp+48h+var_28] ; +0x43, 0x1400420f3 lea rdx, [rsp+48h+Time] ; +0x48, 0x1400420f8 call cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x4d, 0x1400420fd mov rdx, rax ; +0x53, 0x140042103 lea rcx, [rsp+48h+var_28] ; +0x56, 0x140042106 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x5b, 0x14004210b lea rcx, [rbx+0C0h] ; +0x61, 0x140042111 lea rdx, [rsp+48h+var_28] ; +0x68, 0x140042118 call cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0x6d, 0x14004211d test al, al ; +0x73, 0x140042123 jz short loc_140042187 ; +0x75, 0x140042125 cmp qword ptr [rbx+98h], 0 ; +0x77, 0x140042127 jnz short loc_140042187 ; +0x7f, 0x14004212f lea rcx, [rsp+48h+Time]; Time ; +0x81, 0x140042131 mov [rbx+98h], rdi ; +0x86, 0x140042136 call cs:_ftime64 ; +0x8d, 0x14004213d movzx eax, [rsp+48h+Time.millitm] ; +0x93, 0x140042143 xorps xmm0, xmm0 ; +0x98, 0x140042148 cvtsi2sd xmm0, [rsp+48h+Time.time] ; +0x9b, 0x14004214b mov dword ptr [rbx+8Ch], 0 ; +0xa2, 0x140042152 movd xmm1, eax ; +0xac, 0x14004215c mov al, 1 ; +0xb0, 0x140042160 cvtdq2pd xmm1, xmm1 ; +0xb2, 0x140042162 divsd xmm1, cs:qword_140835460 ; +0xb6, 0x140042166 addsd xmm1, xmm0 ; +0xbe, 0x14004216e movss xmm0, [rsp+48h+var_28] ; +0xc2, 0x140042172 movss dword ptr [rbx+6Ch], xmm0 ; +0xc8, 0x140042178 movsd qword ptr [rbx+0A8h], xmm1 ; +0xcd, 0x14004217d jmp short loc_140042189 ; +0xd5, 0x140042185 xor al, al ; +0xd7, 0x140042187 mov rcx, [rsp+48h+var_10] ; +0xd9, 0x140042189 xor rcx, rsp; StackCookie ; +0xde, 0x14004218e call __security_check_cookie ; +0xe1, 0x140042191 mov rbx, [rsp+48h+arg_10] ; +0xe6, 0x140042196 add rsp, 40h ; +0xeb, 0x14004219b pop rdi ; +0xef, 0x14004219f retn ; +0xf0, 0x1400421a0