; ; BoomScrollLayer::ccTouchMoved from 0x14003e820 to 0x14003eb58 (824 bytes) ; ; 2 xrefs: ; > @ 0x14052b698 ; > @ 0x1406c40d4 ; ; 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 ; mov rax, rsp ; +0x0, 0x14003e820 mov [rax+18h], rbx ; +0x3, 0x14003e823 push rbp ; +0x7, 0x14003e827 push rsi ; +0x8, 0x14003e828 push rdi ; +0x9, 0x14003e829 sub rsp, 60h ; +0xa, 0x14003e82a movaps xmmword ptr [rax-28h], xmm6 ; +0xe, 0x14003e82e movaps xmmword ptr [rax-38h], xmm7 ; +0x12, 0x14003e832 movaps xmmword ptr [rax-48h], xmm8 ; +0x16, 0x14003e836 movaps xmmword ptr [rax-58h], xmm9 ; +0x1b, 0x14003e83b mov rbp, r8 ; +0x20, 0x14003e840 mov rsi, rdx ; +0x23, 0x14003e843 mov rdi, rcx ; +0x26, 0x14003e846 cmp [rcx+90h], rdx ; +0x29, 0x14003e849 jnz loc_14003EB32 ; +0x30, 0x14003e850 cmp byte ptr [rcx+12Ch], 0 ; +0x36, 0x14003e856 jnz loc_14003EB32 ; +0x3d, 0x14003e85d lea rdx, [rax+8] ; +0x43, 0x14003e863 mov rcx, rsi ; +0x47, 0x14003e867 call cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x4a, 0x14003e86a call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x50, 0x14003e870 mov rcx, rax ; +0x56, 0x14003e876 lea r8, [rsp+78h+arg_0] ; +0x59, 0x14003e879 lea rdx, [rsp+78h+arg_8] ; +0x61, 0x14003e881 call cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x69, 0x14003e889 mov rdx, rax ; +0x6f, 0x14003e88f lea rcx, [rsp+78h+arg_0] ; +0x72, 0x14003e892 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x7a, 0x14003e89a cmp dword ptr [rdi+84h], 1 ; +0x80, 0x14003e8a0 jz loc_14003E9EE ; +0x87, 0x14003e8a7 movss xmm0, [rsp+78h+arg_0] ; +0x8d, 0x14003e8ad subss xmm0, dword ptr [rdi+64h] ; +0x96, 0x14003e8b6 andps xmm0, cs:xmmword_1406243C0 ; +0x9b, 0x14003e8bb comiss xmm0, dword ptr [rdi+0E4h] ; +0xa2, 0x14003e8c2 jb loc_14003E9E1 ; +0xa9, 0x14003e8c9 mov edx, 2 ; +0xaf, 0x14003e8cf mov rcx, [rdi+0B0h] ; +0xb4, 0x14003e8d4 call cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0xbb, 0x14003e8db mov byte ptr [rdi+0E0h], 0 ; +0xc1, 0x14003e8e1 mov dword ptr [rdi+84h], 1 ; +0xc8, 0x14003e8e8 movss xmm0, [rsp+78h+arg_0] ; +0xd2, 0x14003e8f2 movss dword ptr [rdi+64h], xmm0 ; +0xdb, 0x14003e8fb cmp byte ptr [rdi+0F0h], 0 ; +0xe0, 0x14003e900 jz loc_14003E9C9 ; +0xe7, 0x14003e907 mov ecx, 40h ; '@'; Size ; +0xed, 0x14003e90d call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xf2, 0x14003e912 mov rbx, rax ; +0xf7, 0x14003e917 mov [rsp+78h+arg_8], rax ; +0xfa, 0x14003e91a mov rcx, rax ; +0x102, 0x14003e922 call cs:??0CCSet@cocos2d@@QEAA@XZ; cocos2d::CCSet::CCSet(void) ; +0x105, 0x14003e925 lea rax, ??_7CCSet@cocos2d@@6B@; const cocos2d::CCSet::`vftable' ; +0x10b, 0x14003e92b mov [rbx], rax ; +0x112, 0x14003e932 mov rdx, rsi ; +0x115, 0x14003e935 mov rcx, rbx ; +0x118, 0x14003e938 call cs:?addObject@CCSet@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCSet::addObject(cocos2d::CCObject *) ; +0x11b, 0x14003e93b mov rcx, rbx ; +0x121, 0x14003e941 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x124, 0x14003e944 mov byte ptr [rdi+88h], 1 ; +0x12a, 0x14003e94a call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x131, 0x14003e951 mov rdx, [rax] ; +0x137, 0x14003e957 mov rcx, rax ; +0x13a, 0x14003e95a call qword ptr [rdx+90h] ; +0x13d, 0x14003e95d lea rcx, [rax+38h] ; +0x143, 0x14003e963 mov rax, [rcx] ; +0x147, 0x14003e967 mov r8, rbp ; +0x14a, 0x14003e96a mov rdx, rbx ; +0x14d, 0x14003e96d call qword ptr [rax+18h] ; +0x150, 0x14003e970 mov byte ptr [rdi+88h], 0 ; +0x153, 0x14003e973 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x15a, 0x14003e97a mov rdx, [rax] ; +0x160, 0x14003e980 mov rcx, rax ; +0x163, 0x14003e983 call qword ptr [rdx+90h] ; +0x166, 0x14003e986 mov rcx, rax ; +0x16c, 0x14003e98c mov rdx, rdi ; +0x16f, 0x14003e98f call cs:?findHandler@CCTouchDispatcher@cocos2d@@QEAAPEAVCCTouchHandler@2@PEAVCCTouchDelegate@2@@Z; cocos2d::CCTouchDispatcher::findHandler(cocos2d::CCTouchDelegate *) ; +0x172, 0x14003e992 mov rbx, rax ; +0x178, 0x14003e998 mov rcx, rax ; +0x17b, 0x14003e99b call cs:?getClaimedTouches@CCTargetedTouchHandler@cocos2d@@QEAAPEAVCCSet@2@XZ; cocos2d::CCTargetedTouchHandler::getClaimedTouches(void) ; +0x17e, 0x14003e99e mov rcx, rax ; +0x184, 0x14003e9a4 mov rdx, rsi ; +0x187, 0x14003e9a7 call cs:?containsObject@CCSet@cocos2d@@QEAA_NPEAVCCObject@2@@Z; cocos2d::CCSet::containsObject(cocos2d::CCObject *) ; +0x18a, 0x14003e9aa test al, al ; +0x190, 0x14003e9b0 jnz short loc_14003E9C9 ; +0x192, 0x14003e9b2 mov rcx, rbx ; +0x194, 0x14003e9b4 call cs:?getClaimedTouches@CCTargetedTouchHandler@cocos2d@@QEAAPEAVCCSet@2@XZ; cocos2d::CCTargetedTouchHandler::getClaimedTouches(void) ; +0x197, 0x14003e9b7 mov rcx, rax ; +0x19d, 0x14003e9bd mov rdx, rsi ; +0x1a0, 0x14003e9c0 call cs:?addObject@CCSet@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCSet::addObject(cocos2d::CCObject *) ; +0x1a3, 0x14003e9c3 mov rcx, [rdi+0D8h] ; +0x1a9, 0x14003e9c9 test rcx, rcx ; +0x1b0, 0x14003e9d0 jz short loc_14003E9E1 ; +0x1b3, 0x14003e9d3 mov rax, [rcx] ; +0x1b5, 0x14003e9d5 lea rdx, [rdi-140h] ; +0x1b8, 0x14003e9d8 call qword ptr [rax] ; +0x1bf, 0x14003e9df cmp dword ptr [rdi+84h], 1 ; +0x1c1, 0x14003e9e1 jnz loc_14003EB32 ; +0x1c8, 0x14003e9e8 lea rbx, [rdi-140h] ; +0x1ce, 0x14003e9ee mov rax, [rbx] ; +0x1d5, 0x14003e9f5 mov rcx, rbx ; +0x1d8, 0x14003e9f8 call qword ptr [rax+130h] ; +0x1db, 0x14003e9fb movss xmm1, dword ptr [rax] ; +0x1e1, 0x14003ea01 subss xmm1, dword ptr [rdi+108h] ; +0x1e5, 0x14003ea05 movd xmm0, dword ptr [rdi+104h] ; +0x1ed, 0x14003ea0d cvtdq2ps xmm0, xmm0 ; +0x1f5, 0x14003ea15 mulss xmm1, xmm0 ; +0x1f8, 0x14003ea18 movss xmm9, [rsp+78h+arg_0] ; +0x1fc, 0x14003ea1c subss xmm9, xmm1 ; +0x206, 0x14003ea26 subss xmm9, dword ptr [rdi+64h] ; +0x20b, 0x14003ea2b xorps xmm8, xmm8 ; +0x211, 0x14003ea31 xorps xmm2, xmm2 ; +0x215, 0x14003ea35 movaps xmm1, xmm9 ; +0x218, 0x14003ea38 lea rcx, [rsp+78h+arg_8] ; +0x21c, 0x14003ea3c call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x224, 0x14003ea44 mov rcx, rbx ; +0x22a, 0x14003ea4a call BoomScrollLayer__pageNumberForPosition ; +0x22d, 0x14003ea4d mov esi, eax ; +0x232, 0x14003ea52 mov rdx, [rbx] ; +0x234, 0x14003ea54 mov rcx, rbx ; +0x237, 0x14003ea57 call qword ptr [rdx+130h] ; +0x23a, 0x14003ea5a movss xmm1, dword ptr [rax] ; +0x240, 0x14003ea60 subss xmm1, dword ptr [rbx+248h] ; +0x244, 0x14003ea64 mov ecx, esi ; +0x24c, 0x14003ea6c neg ecx ; +0x24e, 0x14003ea6e movd xmm0, ecx ; +0x250, 0x14003ea70 cvtdq2ps xmm0, xmm0 ; +0x254, 0x14003ea74 mulss xmm1, xmm0 ; +0x257, 0x14003ea77 xorps xmm2, xmm2 ; +0x25b, 0x14003ea7b lea rcx, [rsp+78h+arg_8] ; +0x25e, 0x14003ea7e call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x266, 0x14003ea86 movaps xmm7, xmm9 ; +0x26c, 0x14003ea8c subss xmm7, dword ptr [rsp+78h+arg_8] ; +0x270, 0x14003ea90 test esi, esi ; +0x279, 0x14003ea99 jnz short loc_14003EAA3 ; +0x27b, 0x14003ea9b comiss xmm7, xmm8 ; +0x27d, 0x14003ea9d ja short loc_14003EACE ; +0x281, 0x14003eaa1 cmp byte ptr [rbx+1C0h], 0 ; +0x283, 0x14003eaa3 jz short loc_14003EAB5 ; +0x28a, 0x14003eaaa mov rcx, [rbx+1B8h] ; +0x28c, 0x14003eaac jmp short loc_14003EABC ; +0x293, 0x14003eab3 mov rcx, [rbx+1D8h] ; +0x295, 0x14003eab5 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x29c, 0x14003eabc dec eax ; +0x2a2, 0x14003eac2 cmp esi, eax ; +0x2a4, 0x14003eac4 jnz short loc_14003EAFB ; +0x2a6, 0x14003eac6 comiss xmm8, xmm7 ; +0x2a8, 0x14003eac8 jbe short loc_14003EAFB ; +0x2ac, 0x14003eacc movss xmm6, dword ptr [rdi+0ECh] ; +0x2ae, 0x14003eace call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2b6, 0x14003ead6 mov rcx, rax ; +0x2bc, 0x14003eadc lea rdx, [rsp+78h+arg_8] ; +0x2bf, 0x14003eadf call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x2c7, 0x14003eae7 mulss xmm6, xmm7 ; +0x2cd, 0x14003eaed divss xmm6, dword ptr [rax] ; +0x2d1, 0x14003eaf1 subss xmm7, xmm6 ; +0x2d5, 0x14003eaf5 jmp short loc_14003EAFE ; +0x2d9, 0x14003eaf9 xorps xmm7, xmm7 ; +0x2db, 0x14003eafb mov rax, [rdi+0B0h] ; +0x2de, 0x14003eafe mov rbx, [rax] ; +0x2e5, 0x14003eb05 subss xmm9, xmm7 ; +0x2e8, 0x14003eb08 xorps xmm2, xmm2 ; +0x2ed, 0x14003eb0d movaps xmm1, xmm9 ; +0x2f0, 0x14003eb10 lea rcx, [rsp+78h+arg_8] ; +0x2f4, 0x14003eb14 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2fc, 0x14003eb1c mov rdx, rax ; +0x302, 0x14003eb22 mov rcx, [rdi+0B0h] ; +0x305, 0x14003eb25 call qword ptr [rbx+0B8h] ; +0x30c, 0x14003eb2c mov rbx, [rsp+78h+arg_10] ; +0x312, 0x14003eb32 movaps xmm6, [rsp+78h+var_28] ; +0x31a, 0x14003eb3a movaps xmm7, [rsp+78h+var_38] ; +0x31f, 0x14003eb3f movaps xmm8, [rsp+78h+var_48] ; +0x324, 0x14003eb44 movaps xmm9, [rsp+78h+var_58] ; +0x32a, 0x14003eb4a add rsp, 60h ; +0x330, 0x14003eb50 pop rdi ; +0x334, 0x14003eb54 pop rsi ; +0x335, 0x14003eb55 pop rbp ; +0x336, 0x14003eb56 retn ; +0x337, 0x14003eb57