; ; cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel from 0x18006d8b0 to 0x18006da4e (414 bytes) ; ; 4 xrefs: ; > cocos2d::CCEGLViewProtocol::handleTouchesCancel @ 0x18006de4c ; > cocos2d::CCEGLViewProtocol::handleTouchesEnd @ 0x18006deec ; > @ 0x18014cf68 ; > @ 0x1801be14c ; ; 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:21:55 +0000 ; mov [rsp+arg_10], rbx ; +0x0, 0x18006d8b0 mov [rsp+arg_8], rdx ; +0x5, 0x18006d8b5 mov [rsp+arg_0], rcx ; +0xa, 0x18006d8ba push rbp ; +0xf, 0x18006d8bf push rsi ; +0x10, 0x18006d8c0 push rdi ; +0x11, 0x18006d8c1 push r12 ; +0x12, 0x18006d8c2 push r13 ; +0x14, 0x18006d8c4 push r14 ; +0x16, 0x18006d8c6 push r15 ; +0x18, 0x18006d8c8 sub rsp, 60h ; +0x1a, 0x18006d8ca movaps [rsp+98h+var_48], xmm6 ; +0x1e, 0x18006d8ce mov r12, r9 ; +0x23, 0x18006d8d3 movaps [rsp+98h+var_58], xmm7 ; +0x26, 0x18006d8d6 mov rbx, rdx ; +0x2b, 0x18006d8db movaps [rsp+98h+var_68], xmm8 ; +0x2e, 0x18006d8de mov r15, rcx ; +0x34, 0x18006d8e4 test r8d, r8d ; +0x37, 0x18006d8e7 jle loc_18006DA1E ; +0x3a, 0x18006d8ea mov rdi, [rsp+98h+arg_28] ; +0x40, 0x18006d8f0 lea rbx, qword_1801B24C0 ; +0x48, 0x18006d8f8 mov r13, [rsp+98h+arg_20] ; +0x4f, 0x18006d8ff xor esi, esi ; +0x57, 0x18006d907 movsd xmm8, [rsp+98h+arg_30] ; +0x59, 0x18006d909 sub r13, rdi ; +0x63, 0x18006d913 movsxd rax, r8d ; +0x66, 0x18006d916 sub r12, rdi ; +0x69, 0x18006d919 mov [rsp+98h+var_78], rax ; +0x6c, 0x18006d91c movsxd r14, dword ptr [rdi+r12] ; +0x71, 0x18006d921 lea rcx, unk_1801B2470; this ; +0x75, 0x18006d925 movss xmm6, dword ptr [rdi+r13] ; +0x7c, 0x18006d92c mov rdx, r14; __int64 ; +0x82, 0x18006d932 movss xmm7, dword ptr [rdi] ; +0x85, 0x18006d935 call ?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x89, 0x18006d939 mov rbp, rax ; +0x8e, 0x18006d93e test rax, rax ; +0x91, 0x18006d941 jz loc_18006DA04 ; +0x94, 0x18006d944 movsxd rax, dword ptr [rax+38h] ; +0x9a, 0x18006d94a mov rbx, [rbx+rax*8] ; +0x9e, 0x18006d94e test rbx, rbx ; +0xa2, 0x18006d952 jz loc_18006DA26 ; +0xa5, 0x18006d955 subss xmm7, dword ptr [r15+24h] ; +0xab, 0x18006d95b subss xmm6, dword ptr [r15+20h] ; +0xb1, 0x18006d961 lea rcx, [rbx+50h] ; +0xb7, 0x18006d967 lea rdx, [rbx+48h] ; +0xbb, 0x18006d96b divss xmm7, dword ptr [r15+68h] ; +0xbf, 0x18006d96f divss xmm6, dword ptr [r15+64h] ; +0xc5, 0x18006d975 mov [rbx+38h], eax ; +0xcb, 0x18006d97b call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0xce, 0x18006d97e cmp byte ptr [rbx+3Ch], 0 ; +0xd3, 0x18006d983 movss dword ptr [rbx+48h], xmm6 ; +0xd7, 0x18006d987 movss dword ptr [rbx+4Ch], xmm7 ; +0xdc, 0x18006d98c jnz short loc_18006D9A4 ; +0xe1, 0x18006d991 lea rcx, [rbx+40h] ; +0xe3, 0x18006d993 lea rdx, [rbx+48h] ; +0xe7, 0x18006d997 call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0xeb, 0x18006d99b mov byte ptr [rbx+3Ch], 1 ; +0xf0, 0x18006d9a0 mov rcx, [rsp+98h+arg_8]; this ; +0xf4, 0x18006d9a4 mov rdx, rbx; struct cocos2d::CCObject * ; +0xfc, 0x18006d9ac movsd qword ptr [rbx+58h], xmm8 ; +0xff, 0x18006d9af call ?addObject@CCSet@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCSet::addObject(cocos2d::CCObject *) ; +0x105, 0x18006d9b5 mov rcx, rbx; this ; +0x10a, 0x18006d9ba call ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x10d, 0x18006d9bd movsxd rcx, dword ptr [rbp+38h] ; +0x112, 0x18006d9c2 lea rbx, qword_1801B24C0 ; +0x116, 0x18006d9c6 mov qword ptr [rbx+rcx*8], 0 ; +0x11d, 0x18006d9cd test ecx, ecx ; +0x125, 0x18006d9d5 js short loc_18006D9ED ; +0x127, 0x18006d9d7 cmp ecx, 5 ; +0x129, 0x18006d9d9 jge short loc_18006D9ED ; +0x12c, 0x18006d9dc mov eax, 1 ; +0x12e, 0x18006d9de shl eax, cl ; +0x133, 0x18006d9e3 not eax ; +0x135, 0x18006d9e5 and cs:dword_1801B24E8, eax ; +0x137, 0x18006d9e7 mov rdx, r14; __int64 ; +0x13d, 0x18006d9ed lea rcx, unk_1801B2470; this ; +0x140, 0x18006d9f0 call ?removeObjectForKey@CCDictionary@cocos2d@@QEAAX_J@Z; cocos2d::CCDictionary::removeObjectForKey(__int64) ; +0x147, 0x18006d9f7 mov r15, [rsp+98h+arg_0] ; +0x14c, 0x18006d9fc inc rsi ; +0x154, 0x18006da04 add rdi, 4 ; +0x157, 0x18006da07 cmp rsi, [rsp+98h+var_78] ; +0x15b, 0x18006da0b jl loc_18006D921 ; +0x160, 0x18006da10 mov rbx, [rsp+98h+arg_8] ; +0x166, 0x18006da16 mov rcx, rbx; this ; +0x16e, 0x18006da1e call ?count@CCSet@cocos2d@@QEAAHXZ; cocos2d::CCSet::count(void) ; +0x171, 0x18006da21 mov rbx, [rsp+98h+arg_10] ; +0x176, 0x18006da26 movaps xmm6, [rsp+98h+var_48] ; +0x17e, 0x18006da2e movaps xmm7, [rsp+98h+var_58] ; +0x183, 0x18006da33 movaps xmm8, [rsp+98h+var_68] ; +0x188, 0x18006da38 add rsp, 60h ; +0x18e, 0x18006da3e pop r15 ; +0x192, 0x18006da42 pop r14 ; +0x194, 0x18006da44 pop r13 ; +0x196, 0x18006da46 pop r12 ; +0x198, 0x18006da48 pop rdi ; +0x19a, 0x18006da4a pop rsi ; +0x19b, 0x18006da4b pop rbp ; +0x19c, 0x18006da4c retn ; +0x19d, 0x18006da4d