; ; BoomScrollLayer::ccTouchMoved from 0x1003a6f70 to 0x1003a7267 (759 bytes) ; ; 2 xrefs: ; > sub_1003A7270 @ 0x1003a727c ; > @ 0x100927538 ; ; 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 ; cmp [rdi+1D0h], rsi ; +0x0, 0x1003a6f70 jz short loc_1003A6F7A ; +0x7, 0x1003a6f77 retn ; +0x9, 0x1003a6f79 push rbp ; +0xa, 0x1003a6f7a mov rbp, rsp ; +0xb, 0x1003a6f7b push r15 ; +0xe, 0x1003a6f7e push r14 ; +0x10, 0x1003a6f80 push r13 ; +0x12, 0x1003a6f82 push r12 ; +0x14, 0x1003a6f84 push rbx ; +0x16, 0x1003a6f86 sub rsp, 38h ; +0x17, 0x1003a6f87 mov rbx, rdi ; +0x1b, 0x1003a6f8b cmp byte ptr [rdi+26Ch], 0 ; +0x1e, 0x1003a6f8e jnz loc_1003A7258 ; +0x25, 0x1003a6f95 mov r14, rdx ; +0x2b, 0x1003a6f9b lea r12, [rbp-58h] ; +0x2e, 0x1003a6f9e mov rdi, r12 ; +0x32, 0x1003a6fa2 mov r15, rsi ; +0x35, 0x1003a6fa5 call cocos2d__CCTouch__getLocationInView ; +0x38, 0x1003a6fa8 call cocos2d__CCDirector__sharedDirector ; +0x3d, 0x1003a6fad lea r13, [rbp-34h] ; +0x42, 0x1003a6fb2 mov rdi, r13 ; +0x46, 0x1003a6fb6 mov rsi, rax ; +0x49, 0x1003a6fb9 mov rdx, r12 ; +0x4c, 0x1003a6fbc call cocos2d__CCDirector__convertToGL ; +0x4f, 0x1003a6fbf mov rdi, r12 ; +0x54, 0x1003a6fc4 mov rsi, r13 ; +0x57, 0x1003a6fc7 call sub_10028CC90 ; +0x5a, 0x1003a6fca cmp dword ptr [rbx+1C4h], 1 ; +0x5f, 0x1003a6fcf jz loc_1003A7060 ; +0x66, 0x1003a6fd6 movss xmm0, dword ptr [rbp-58h] ; +0x6c, 0x1003a6fdc subss xmm0, dword ptr [rbx+1A4h] ; +0x71, 0x1003a6fe1 andps xmm0, cs:xmmword_100815500 ; +0x79, 0x1003a6fe9 ucomiss xmm0, dword ptr [rbx+224h] ; +0x80, 0x1003a6ff0 jb short loc_1003A7053 ; +0x87, 0x1003a6ff7 mov rdi, [rbx+1F0h] ; +0x89, 0x1003a6ff9 mov esi, 2 ; +0x90, 0x1003a7000 call cocos2d__CCNode__stopActionByTag ; +0x95, 0x1003a7005 mov byte ptr [rbx+220h], 0 ; +0x9a, 0x1003a700a mov dword ptr [rbx+1C4h], 1 ; +0xa1, 0x1003a7011 movss xmm0, dword ptr [rbp-58h] ; +0xab, 0x1003a701b movss dword ptr [rbx+1A4h], xmm0 ; +0xb0, 0x1003a7020 cmp byte ptr [rbx+230h], 1 ; +0xb8, 0x1003a7028 jnz short loc_1003A703F ; +0xbf, 0x1003a702f mov rdi, rbx ; +0xc1, 0x1003a7031 mov rsi, r15 ; +0xc4, 0x1003a7034 mov rdx, r14 ; +0xc7, 0x1003a7037 call BoomScrollLayer__cancelAndStoleTouch ; +0xca, 0x1003a703a mov rdi, [rbx+218h] ; +0xcf, 0x1003a703f test rdi, rdi ; +0xd6, 0x1003a7046 jz short loc_1003A7053 ; +0xd9, 0x1003a7049 mov rax, [rdi] ; +0xdb, 0x1003a704b mov rsi, rbx ; +0xde, 0x1003a704e call qword ptr [rax] ; +0xe1, 0x1003a7051 cmp dword ptr [rbx+1C4h], 1 ; +0xe3, 0x1003a7053 jnz loc_1003A7258 ; +0xea, 0x1003a705a xor r15d, r15d ; +0xf0, 0x1003a7060 xor eax, eax ; +0xf3, 0x1003a7063 sub eax, [rbx+244h] ; +0xf5, 0x1003a7065 xorps xmm0, xmm0 ; +0xfb, 0x1003a706b cvtsi2ss xmm0, eax ; +0xfe, 0x1003a706e movss dword ptr [rbp-2Ch], xmm0 ; +0x102, 0x1003a7072 mov rax, [rbx] ; +0x107, 0x1003a7077 mov rdi, rbx ; +0x10a, 0x1003a707a call qword ptr [rax+138h] ; +0x10d, 0x1003a707d movss xmm0, dword ptr [rax] ; +0x113, 0x1003a7083 subss xmm0, dword ptr [rbx+248h] ; +0x117, 0x1003a7087 mulss xmm0, dword ptr [rbp-2Ch] ; +0x11f, 0x1003a708f addss xmm0, dword ptr [rbp-58h] ; +0x124, 0x1003a7094 subss xmm0, dword ptr [rbx+1A4h] ; +0x129, 0x1003a7099 lea rdi, [rbp-34h] ; +0x131, 0x1003a70a1 xorps xmm1, xmm1 ; +0x135, 0x1003a70a5 movss dword ptr [rbp-2Ch], xmm0 ; +0x138, 0x1003a70a8 call sub_10028CBE0 ; +0x13d, 0x1003a70ad mov rdi, [rbx+1F0h] ; +0x142, 0x1003a70b2 mov rax, [rdi] ; +0x149, 0x1003a70b9 call qword ptr [rax+0C0h] ; +0x14c, 0x1003a70bc movss xmm0, dword ptr [rax] ; +0x152, 0x1003a70c2 xorps xmm0, cs:xmmword_1008150B0 ; +0x156, 0x1003a70c6 movaps xmmword ptr [rbp-50h], xmm0 ; +0x15d, 0x1003a70cd mov rax, [rbx] ; +0x161, 0x1003a70d1 mov rdi, rbx ; +0x164, 0x1003a70d4 call qword ptr [rax+138h] ; +0x167, 0x1003a70d7 movss xmm0, dword ptr [rax] ; +0x16d, 0x1003a70dd subss xmm0, dword ptr [rbx+248h] ; +0x171, 0x1003a70e1 movaps xmm1, xmmword ptr [rbp-50h] ; +0x179, 0x1003a70e9 divss xmm1, xmm0 ; +0x17d, 0x1003a70ed xorps xmm0, xmm0 ; +0x181, 0x1003a70f1 roundss xmm0, xmm1, 0Ah ; +0x184, 0x1003a70f4 cvttss2si r14d, xmm0 ; +0x18a, 0x1003a70fa cvttps2dq xmm0, xmm0 ; +0x18f, 0x1003a70ff cvtdq2ps xmm0, xmm0 ; +0x193, 0x1003a7103 subss xmm0, xmm1 ; +0x196, 0x1003a7106 ucomiss xmm0, cs:dword_100814FA8 ; +0x19a, 0x1003a710a adc r14d, 0FFFFFFFFh ; +0x1a1, 0x1003a7111 cmp byte ptr [rbx+1ACh], 0 ; +0x1a5, 0x1003a7115 jnz short loc_1003A7166 ; +0x1ac, 0x1003a711c test r14d, r14d ; +0x1ae, 0x1003a711e cmovle r14d, r15d ; +0x1b1, 0x1003a7121 movzx eax, byte ptr [rbx+1C0h] ; +0x1b5, 0x1003a7125 xor eax, 1 ; +0x1bc, 0x1003a712c shl eax, 5 ; +0x1bf, 0x1003a712f mov rdi, [rax+rbx+1B8h] ; +0x1c2, 0x1003a7132 call sub_100720070 ; +0x1ca, 0x1003a713a dec eax ; +0x1cf, 0x1003a713f cmp eax, r14d ; +0x1d1, 0x1003a7141 jg short loc_1003A7166 ; +0x1d4, 0x1003a7144 movzx eax, byte ptr [rbx+1C0h] ; +0x1d6, 0x1003a7146 xor eax, 1 ; +0x1dd, 0x1003a714d shl eax, 5 ; +0x1e0, 0x1003a7150 mov rdi, [rax+rbx+1B8h] ; +0x1e3, 0x1003a7153 call sub_100720070 ; +0x1eb, 0x1003a715b mov r14d, eax ; +0x1f0, 0x1003a7160 dec r14d ; +0x1f3, 0x1003a7163 mov eax, r14d ; +0x1f6, 0x1003a7166 neg eax ; +0x1f9, 0x1003a7169 xorps xmm0, xmm0 ; +0x1fb, 0x1003a716b cvtsi2ss xmm0, eax ; +0x1fe, 0x1003a716e movss dword ptr [rbp-50h], xmm0 ; +0x202, 0x1003a7172 mov rax, [rbx] ; +0x207, 0x1003a7177 mov rdi, rbx ; +0x20a, 0x1003a717a call qword ptr [rax+138h] ; +0x20d, 0x1003a717d movss xmm0, dword ptr [rax] ; +0x213, 0x1003a7183 subss xmm0, dword ptr [rbx+248h] ; +0x217, 0x1003a7187 mulss xmm0, dword ptr [rbp-50h] ; +0x21f, 0x1003a718f lea rdi, [rbp-34h] ; +0x224, 0x1003a7194 xorps xmm1, xmm1 ; +0x228, 0x1003a7198 movss dword ptr [rbp-50h], xmm1 ; +0x22b, 0x1003a719b call sub_10028CBE0 ; +0x230, 0x1003a71a0 movss xmm1, dword ptr [rbp-2Ch] ; +0x235, 0x1003a71a5 subss xmm1, dword ptr [rbp-34h] ; +0x23a, 0x1003a71aa test r14d, r14d ; +0x23f, 0x1003a71af movss dword ptr [rbp-38h], xmm1 ; +0x242, 0x1003a71b2 jnz short loc_1003A71C1 ; +0x247, 0x1003a71b7 xorps xmm0, xmm0 ; +0x249, 0x1003a71b9 ucomiss xmm1, xmm0 ; +0x24c, 0x1003a71bc ja short loc_1003A71EF ; +0x24f, 0x1003a71bf movzx eax, byte ptr [rbx+1C0h] ; +0x251, 0x1003a71c1 xor eax, 1 ; +0x258, 0x1003a71c8 shl eax, 5 ; +0x25b, 0x1003a71cb mov rdi, [rax+rbx+1B8h] ; +0x25e, 0x1003a71ce call sub_100720070 ; +0x266, 0x1003a71d6 dec eax ; +0x26b, 0x1003a71db cmp r14d, eax ; +0x26d, 0x1003a71dd jnz short loc_1003A7229 ; +0x270, 0x1003a71e0 xorps xmm0, xmm0 ; +0x272, 0x1003a71e2 movss xmm1, dword ptr [rbp-38h] ; +0x275, 0x1003a71e5 ucomiss xmm0, xmm1 ; +0x27a, 0x1003a71ea jbe short loc_1003A7229 ; +0x27d, 0x1003a71ed movss xmm0, dword ptr [rbx+22Ch] ; +0x27f, 0x1003a71ef mulss xmm0, xmm1 ; +0x287, 0x1003a71f7 movss dword ptr [rbp-50h], xmm0 ; +0x28b, 0x1003a71fb call cocos2d__CCDirector__sharedDirector ; +0x290, 0x1003a7200 lea rdi, [rbp-34h] ; +0x295, 0x1003a7205 mov rsi, rax ; +0x299, 0x1003a7209 call cocos2d__CCDirector__getWinSize ; +0x29c, 0x1003a720c movss xmm0, dword ptr [rbp-50h] ; +0x2a1, 0x1003a7211 divss xmm0, dword ptr [rbp-34h] ; +0x2a6, 0x1003a7216 movss xmm1, dword ptr [rbp-38h] ; +0x2ab, 0x1003a721b subss xmm1, xmm0 ; +0x2b0, 0x1003a7220 movss dword ptr [rbp-50h], xmm1 ; +0x2b4, 0x1003a7224 mov rbx, [rbx+1F0h] ; +0x2b9, 0x1003a7229 movss xmm0, dword ptr [rbp-2Ch] ; +0x2c0, 0x1003a7230 subss xmm0, dword ptr [rbp-50h] ; +0x2c5, 0x1003a7235 lea r14, [rbp-34h] ; +0x2ca, 0x1003a723a xorps xmm1, xmm1 ; +0x2ce, 0x1003a723e mov rdi, r14 ; +0x2d1, 0x1003a7241 call sub_10028CBE0 ; +0x2d4, 0x1003a7244 mov rax, [rbx] ; +0x2d9, 0x1003a7249 mov rdi, rbx ; +0x2dc, 0x1003a724c mov rsi, r14 ; +0x2df, 0x1003a724f call qword ptr [rax+0B8h] ; +0x2e2, 0x1003a7252 add rsp, 38h ; +0x2e8, 0x1003a7258 pop rbx ; +0x2ec, 0x1003a725c pop r12 ; +0x2ed, 0x1003a725d pop r13 ; +0x2ef, 0x1003a725f pop r14 ; +0x2f1, 0x1003a7261 pop r15 ; +0x2f3, 0x1003a7263 pop rbp ; +0x2f5, 0x1003a7265 retn ; +0x2f6, 0x1003a7266