; ; cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel from 0x18006b6c0 to 0x18006b86e (430 bytes) ; ; 4 xrefs: ; > cocos2d::CCEGLViewProtocol::handleTouchesCancel @ 0x18006bbfc ; > cocos2d::CCEGLViewProtocol::handleTouchesEnd @ 0x18006bc9c ; > @ 0x1801438a8 ; > @ 0x1801b3df8 ; ; 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 [rsp+arg_10], rbx ; +0x0, 0x18006b6c0 mov [rsp+arg_8], rdx ; +0x5, 0x18006b6c5 mov [rsp+arg_0], rcx ; +0xa, 0x18006b6ca push rbp ; +0xf, 0x18006b6cf push rsi ; +0x10, 0x18006b6d0 push rdi ; +0x11, 0x18006b6d1 push r12 ; +0x12, 0x18006b6d2 push r13 ; +0x14, 0x18006b6d4 push r14 ; +0x16, 0x18006b6d6 push r15 ; +0x18, 0x18006b6d8 sub rsp, 50h ; +0x1a, 0x18006b6da movaps [rsp+88h+var_48], xmm6 ; +0x1e, 0x18006b6de mov r13, r9 ; +0x23, 0x18006b6e3 movaps [rsp+88h+var_58], xmm7 ; +0x26, 0x18006b6e6 mov rbx, rdx ; +0x2b, 0x18006b6eb movaps [rsp+88h+var_68], xmm8 ; +0x2e, 0x18006b6ee mov r15, rcx ; +0x34, 0x18006b6f4 movsxd r12, r8d ; +0x37, 0x18006b6f7 test r8d, r8d ; +0x3a, 0x18006b6fa jle loc_18006B83E ; +0x3d, 0x18006b6fd mov rdi, [rsp+88h+arg_28] ; +0x43, 0x18006b703 lea rbx, qword_1801A8480 ; +0x4b, 0x18006b70b mov rax, [rsp+88h+arg_20] ; +0x52, 0x18006b712 xor esi, esi ; +0x5a, 0x18006b71a movsd xmm8, [rsp+88h+arg_30] ; +0x5c, 0x18006b71c sub rax, rdi ; +0x66, 0x18006b726 mov [rsp+88h+arg_20], rax ; +0x69, 0x18006b729 sub r13, rdi ; +0x71, 0x18006b731 nop dword ptr [rax+00h] ; +0x74, 0x18006b734 nop dword ptr [rax+rax+00000000h] ; +0x78, 0x18006b738 movsxd r14, dword ptr [rdi+r13] ; +0x80, 0x18006b740 lea rcx, unk_1801A8430; this ; +0x84, 0x18006b744 movss xmm7, dword ptr [rax+rdi] ; +0x8b, 0x18006b74b mov rdx, r14; __int64 ; +0x90, 0x18006b750 movss xmm6, dword ptr [rdi] ; +0x93, 0x18006b753 call ?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x97, 0x18006b757 mov rbp, rax ; +0x9c, 0x18006b75c test rax, rax ; +0x9f, 0x18006b75f jz loc_18006B81E ; +0xa2, 0x18006b762 movsxd rax, dword ptr [rax+38h] ; +0xa8, 0x18006b768 mov rbx, [rbx+rax*8] ; +0xac, 0x18006b76c test rbx, rbx ; +0xb0, 0x18006b770 jz loc_18006B846 ; +0xb3, 0x18006b773 subss xmm6, dword ptr [r15+24h] ; +0xb9, 0x18006b779 subss xmm7, dword ptr [r15+20h] ; +0xbf, 0x18006b77f lea rcx, [rbx+50h] ; +0xc5, 0x18006b785 lea rdx, [rbx+48h] ; +0xc9, 0x18006b789 divss xmm6, dword ptr [r15+68h] ; +0xcd, 0x18006b78d divss xmm7, dword ptr [r15+64h] ; +0xd3, 0x18006b793 mov [rbx+38h], eax ; +0xd9, 0x18006b799 call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0xdc, 0x18006b79c cmp byte ptr [rbx+3Ch], 0 ; +0xe1, 0x18006b7a1 movss dword ptr [rbx+48h], xmm7 ; +0xe5, 0x18006b7a5 movss dword ptr [rbx+4Ch], xmm6 ; +0xea, 0x18006b7aa jnz short loc_18006B7C2 ; +0xef, 0x18006b7af lea rcx, [rbx+40h] ; +0xf1, 0x18006b7b1 lea rdx, [rbx+48h] ; +0xf5, 0x18006b7b5 call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0xf9, 0x18006b7b9 mov byte ptr [rbx+3Ch], 1 ; +0xfe, 0x18006b7be mov rcx, [rsp+88h+arg_8]; this ; +0x102, 0x18006b7c2 mov rdx, rbx; struct cocos2d::CCObject * ; +0x10a, 0x18006b7ca movsd qword ptr [rbx+58h], xmm8 ; +0x10d, 0x18006b7cd call ?addObject@CCSet@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCSet::addObject(cocos2d::CCObject *) ; +0x113, 0x18006b7d3 mov rcx, rbx; this ; +0x118, 0x18006b7d8 call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x11b, 0x18006b7db movsxd rcx, dword ptr [rbp+38h] ; +0x120, 0x18006b7e0 lea rbx, qword_1801A8480 ; +0x124, 0x18006b7e4 mov qword ptr [rbx+rcx*8], 0 ; +0x12b, 0x18006b7eb cmp ecx, 4 ; +0x133, 0x18006b7f3 ja short loc_18006B807 ; +0x136, 0x18006b7f6 mov eax, 1 ; +0x138, 0x18006b7f8 shl eax, cl ; +0x13d, 0x18006b7fd not eax ; +0x13f, 0x18006b7ff and cs:dword_1801A84A8, eax ; +0x141, 0x18006b801 mov rdx, r14; __int64 ; +0x147, 0x18006b807 lea rcx, unk_1801A8430; this ; +0x14a, 0x18006b80a call ?removeObjectForKey@CCDictionary@cocos2d@@QEAAX_J@Z; cocos2d::CCDictionary::removeObjectForKey(__int64) ; +0x151, 0x18006b811 mov r15, [rsp+88h+arg_0] ; +0x156, 0x18006b816 mov rax, [rsp+88h+arg_20] ; +0x15e, 0x18006b81e inc rsi ; +0x166, 0x18006b826 add rdi, 4 ; +0x169, 0x18006b829 cmp rsi, r12 ; +0x16d, 0x18006b82d jl loc_18006B740 ; +0x170, 0x18006b830 mov rbx, [rsp+88h+arg_8] ; +0x176, 0x18006b836 mov rcx, rbx; this ; +0x17e, 0x18006b83e call ?count@CCSet@cocos2d@@QEAAHXZ; cocos2d::CCSet::count(void) ; +0x181, 0x18006b841 mov rbx, [rsp+88h+arg_10] ; +0x186, 0x18006b846 movaps xmm6, [rsp+88h+var_48] ; +0x18e, 0x18006b84e movaps xmm7, [rsp+88h+var_58] ; +0x193, 0x18006b853 movaps xmm8, [rsp+88h+var_68] ; +0x198, 0x18006b858 add rsp, 50h ; +0x19e, 0x18006b85e pop r15 ; +0x1a2, 0x18006b862 pop r14 ; +0x1a4, 0x18006b864 pop r13 ; +0x1a6, 0x18006b866 pop r12 ; +0x1a8, 0x18006b868 pop rdi ; +0x1aa, 0x18006b86a pop rsi ; +0x1ab, 0x18006b86b pop rbp ; +0x1ac, 0x18006b86c retn ; +0x1ad, 0x18006b86d