; ; cocos2d::extension::CCControlSwitch::ccTouchEnded from 0x18000cce0 to 0x18000ce0b (299 bytes) ; ; 4 xrefs: ; > @ 0x180028c78 ; > @ 0x180028c80 ; > @ 0x180032408 ; > @ 0x18004bcc0 ; ; 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 12:15:38 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x18000cce0 push rdi ; +0x5, 0x18000cce5 sub rsp, 20h ; +0x6, 0x18000cce6 mov rax, rdx ; +0xa, 0x18000ccea mov rbx, rcx ; +0xd, 0x18000cced mov rcx, rax ; +0x10, 0x18000ccf0 lea rdx, [rsp+28h+arg_0] ; +0x13, 0x18000ccf3 call cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x18, 0x18000ccf8 lea rdi, [rbx-140h] ; +0x1e, 0x18000ccfe mov rcx, rdi ; +0x25, 0x18000cd05 lea r8, [rsp+28h+arg_0] ; +0x28, 0x18000cd08 lea rdx, [rsp+28h+arg_18] ; +0x2d, 0x18000cd0d call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x32, 0x18000cd12 mov rdx, rax ; +0x38, 0x18000cd18 lea rcx, [rsp+28h+arg_0] ; +0x3b, 0x18000cd1b call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x40, 0x18000cd20 mov rax, [rbx+98h] ; +0x46, 0x18000cd26 lea rdx, unk_180025A28 ; +0x4d, 0x18000cd2d mov rcx, [rax+290h] ; +0x54, 0x18000cd34 add rcx, 140h ; +0x5b, 0x18000cd3b mov rax, [rcx] ; +0x62, 0x18000cd42 call qword ptr [rax] ; +0x65, 0x18000cd45 cmp byte ptr [rbx+0A4h], 0 ; +0x67, 0x18000cd47 jz short loc_18000CD93 ; +0x6e, 0x18000cd4e mov rcx, [rbx+98h] ; +0x70, 0x18000cd50 mov rax, [rcx] ; +0x77, 0x18000cd57 call qword ptr [rax+140h] ; +0x7a, 0x18000cd5a mov rdx, [rdi+1D8h] ; +0x80, 0x18000cd60 movss xmm0, dword ptr [rax] ; +0x87, 0x18000cd67 mulss xmm0, cs:dword_18002BBD8 ; +0x8b, 0x18000cd6b comiss xmm0, [rsp+28h+arg_0] ; +0x93, 0x18000cd73 setbe al ; +0x98, 0x18000cd78 mov [rdi+1E5h], al ; +0x9b, 0x18000cd7b movzx eax, al ; +0xa1, 0x18000cd81 xor rax, 1 ; +0xa4, 0x18000cd84 movss xmm3, dword ptr [rdx+rax*4+264h] ; +0xa8, 0x18000cd88 jmp short loc_18000CDC3 ; +0xb1, 0x18000cd91 movzx r8d, byte ptr [rbx+0A5h] ; +0xb3, 0x18000cd93 mov ecx, 268h ; +0xbb, 0x18000cd9b mov rdx, [rdi+1D8h] ; +0xc0, 0x18000cda0 test r8b, r8b ; +0xc7, 0x18000cda7 setz al ; +0xca, 0x18000cdaa test r8b, r8b ; +0xcd, 0x18000cdad mov [rdi+1E5h], al ; +0xd0, 0x18000cdb0 mov eax, 264h ; +0xd6, 0x18000cdb6 cmovnz eax, ecx ; +0xdb, 0x18000cdbb movss xmm3, dword ptr [rax+rdx] ; +0xde, 0x18000cdbe movss xmm2, dword ptr [rdx+260h] ; +0xe3, 0x18000cdc3 mov rbx, rdx ; +0xeb, 0x18000cdcb movss xmm0, cs:dword_18002BBD0 ; +0xee, 0x18000cdce lea rdx, aSliderxpositio; "sliderXPosition" ; +0xf6, 0x18000cdd6 call cs:?create@CCActionTween@cocos2d@@SAPEAV12@MPEBDMM@Z; cocos2d::CCActionTween::create(float,char const *,float,float) ; +0xfd, 0x18000cddd mov rdx, rax ; +0x103, 0x18000cde3 mov rcx, rbx ; +0x106, 0x18000cde6 call cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x109, 0x18000cde9 mov rax, [rdi] ; +0x10f, 0x18000cdef mov edx, 100h ; +0x112, 0x18000cdf2 mov rcx, rdi ; +0x117, 0x18000cdf7 call qword ptr [rax+440h] ; +0x11a, 0x18000cdfa mov rbx, [rsp+28h+arg_8] ; +0x120, 0x18000ce00 add rsp, 20h ; +0x125, 0x18000ce05 pop rdi ; +0x129, 0x18000ce09 retn ; +0x12a, 0x18000ce0a