; ; cocos2d::extension::CCControlPotentiometer::isTouchInside from 0x180008cf0 to 0x180008de3 (243 bytes) ; ; 3 xrefs: ; > @ 0x180027910 ; > @ 0x180032408 ; > @ 0x18004b8dc ; ; 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:37 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x180008cf0 push rdi ; +0x5, 0x180008cf5 sub rsp, 50h ; +0x6, 0x180008cf6 mov rax, [rcx] ; +0xa, 0x180008cfa mov r8, rdx ; +0xd, 0x180008cfd movaps [rsp+58h+var_18], xmm6 ; +0x10, 0x180008d00 lea rdx, [rsp+58h+arg_0] ; +0x15, 0x180008d05 movaps [rsp+58h+var_28], xmm7 ; +0x1a, 0x180008d0a mov rdi, rcx ; +0x1f, 0x180008d0f movaps [rsp+58h+var_38], xmm8 ; +0x22, 0x180008d12 call qword ptr [rax+458h] ; +0x28, 0x180008d18 lea rdx, [rsp+58h+arg_0] ; +0x2e, 0x180008d1e lea rcx, [rsp+58h+arg_10] ; +0x33, 0x180008d23 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x38, 0x180008d28 mov rcx, [rdi+1E0h] ; +0x3e, 0x180008d2e mov rbx, rax ; +0x45, 0x180008d35 mov rdx, [rcx] ; +0x48, 0x180008d38 call qword ptr [rdx+0C8h] ; +0x4b, 0x180008d3b mov rdx, rax ; +0x51, 0x180008d41 lea rcx, [rsp+58h+arg_18] ; +0x54, 0x180008d44 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x59, 0x180008d49 mov rcx, rdi ; +0x5f, 0x180008d4f movss xmm6, dword ptr [rax] ; +0x62, 0x180008d52 movss xmm7, dword ptr [rax+4] ; +0x66, 0x180008d56 mov rax, [rdi] ; +0x6b, 0x180008d5b subss xmm6, dword ptr [rbx] ; +0x6e, 0x180008d5e subss xmm7, dword ptr [rbx+4] ; +0x72, 0x180008d62 call qword ptr [rax+140h] ; +0x77, 0x180008d67 mulss xmm7, xmm7 ; +0x7d, 0x180008d6d xorps xmm0, xmm0 ; +0x81, 0x180008d71 mulss xmm6, xmm6 ; +0x84, 0x180008d74 movss xmm8, dword ptr [rax] ; +0x88, 0x180008d78 mulss xmm8, cs:dword_18002BBD8 ; +0x8d, 0x180008d7d addss xmm7, xmm6 ; +0x96, 0x180008d86 ucomiss xmm0, xmm7 ; +0x9a, 0x180008d8a ja short loc_180008D98 ; +0x9d, 0x180008d8d xorps xmm6, xmm6 ; +0x9f, 0x180008d8f sqrtss xmm6, xmm7 ; +0xa2, 0x180008d92 jmp short loc_180008DA3 ; +0xa6, 0x180008d96 movaps xmm0, xmm7; X ; +0xa8, 0x180008d98 call sqrtf ; +0xab, 0x180008d9b movaps xmm6, xmm0 ; +0xb0, 0x180008da0 mov rax, [rdi] ; +0xb3, 0x180008da3 mov rcx, rdi ; +0xb6, 0x180008da6 call qword ptr [rax+140h] ; +0xb9, 0x180008da9 mov rbx, [rsp+58h+arg_8] ; +0xbf, 0x180008daf movaps xmm7, [rsp+58h+var_28] ; +0xc4, 0x180008db4 movss xmm1, dword ptr [rax+4] ; +0xc9, 0x180008db9 mulss xmm1, cs:dword_18002BBD8 ; +0xce, 0x180008dbe minss xmm8, xmm1 ; +0xd6, 0x180008dc6 comiss xmm8, xmm6 ; +0xdb, 0x180008dcb movaps xmm6, [rsp+58h+var_18] ; +0xdf, 0x180008dcf movaps xmm8, [rsp+58h+var_38] ; +0xe4, 0x180008dd4 setnbe al ; +0xea, 0x180008dda add rsp, 50h ; +0xed, 0x180008ddd pop rdi ; +0xf1, 0x180008de1 retn ; +0xf2, 0x180008de2