; ; BoomScrollLayer::ccTouchBegan from 0x1003a6e70 to 0x1003a6f43 (211 bytes) ; ; 2 xrefs: ; > sub_1003A6F50 @ 0x1003a6f5c ; > @ 0x100927530 ; ; 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 byte ptr [rdi+26Ch], 0 ; +0x0, 0x1003a6e70 jz short loc_1003A6E7C ; +0x7, 0x1003a6e77 xor eax, eax ; +0x9, 0x1003a6e79 retn ; +0xb, 0x1003a6e7b push rbp ; +0xc, 0x1003a6e7c mov rbp, rsp ; +0xd, 0x1003a6e7d push r15 ; +0x10, 0x1003a6e80 push r14 ; +0x12, 0x1003a6e82 push r12 ; +0x14, 0x1003a6e84 push rbx ; +0x16, 0x1003a6e86 sub rsp, 20h ; +0x17, 0x1003a6e87 mov rbx, rdi ; +0x1b, 0x1003a6e8b lea r14, [rbp-38h] ; +0x1e, 0x1003a6e8e mov rdi, r14 ; +0x22, 0x1003a6e92 mov r12, rsi ; +0x25, 0x1003a6e95 call cocos2d__CCTouch__getLocationInView ; +0x28, 0x1003a6e98 call cocos2d__CCDirector__sharedDirector ; +0x2d, 0x1003a6e9d lea r15, [rbp-30h] ; +0x32, 0x1003a6ea2 mov rdi, r15 ; +0x36, 0x1003a6ea6 mov rsi, rax ; +0x39, 0x1003a6ea9 mov rdx, r14 ; +0x3c, 0x1003a6eac call cocos2d__CCDirector__convertToGL ; +0x3f, 0x1003a6eaf mov rdi, r14 ; +0x44, 0x1003a6eb4 mov rsi, r15 ; +0x47, 0x1003a6eb7 call sub_10028CC90 ; +0x4a, 0x1003a6eba lea rdi, [rbx+1F8h] ; +0x4f, 0x1003a6ebf mov rsi, r14 ; +0x56, 0x1003a6ec6 call sub_10028D2D0 ; +0x59, 0x1003a6ec9 test al, al ; +0x5e, 0x1003a6ece jz short loc_1003A6EDC ; +0x60, 0x1003a6ed0 cmp qword ptr [rbx+1D0h], 0 ; +0x62, 0x1003a6ed2 jz short loc_1003A6EEB ; +0x6a, 0x1003a6eda xor eax, eax ; +0x6c, 0x1003a6edc add rsp, 20h ; +0x6e, 0x1003a6ede pop rbx ; +0x72, 0x1003a6ee2 pop r12 ; +0x73, 0x1003a6ee3 pop r14 ; +0x75, 0x1003a6ee5 pop r15 ; +0x77, 0x1003a6ee7 pop rbp ; +0x79, 0x1003a6ee9 retn ; +0x7a, 0x1003a6eea mov [rbx+1D0h], r12 ; +0x7b, 0x1003a6eeb lea rdi, [rbp-30h]; timeb * ; +0x82, 0x1003a6ef2 call _ftime ; +0x86, 0x1003a6ef6 movzx eax, word ptr [rbp-28h] ; +0x8b, 0x1003a6efb mov rcx, [rbp-30h] ; +0x8f, 0x1003a6eff and ecx, 0FFFFFh ; +0x93, 0x1003a6f03 imul rcx, 3E8h ; +0x99, 0x1003a6f09 add rcx, rax ; +0xa0, 0x1003a6f10 cvtsi2sd xmm0, rcx ; +0xa3, 0x1003a6f13 divsd xmm0, cs:qword_100815208 ; +0xa8, 0x1003a6f18 movsd qword ptr [rbx+1E0h], xmm0 ; +0xb0, 0x1003a6f20 movss xmm0, dword ptr [rbp-38h] ; +0xb8, 0x1003a6f28 movss dword ptr [rbx+1A4h], xmm0 ; +0xbd, 0x1003a6f2d mov dword ptr [rbx+1C4h], 0 ; +0xc5, 0x1003a6f35 mov al, 1 ; +0xcf, 0x1003a6f3f jmp short loc_1003A6EDE ; +0xd1, 0x1003a6f41