; ; EditorWindowPopup::ccTouchBegan from 0x14017eca0 to 0x14017edc5 (293 bytes) ; ; 8 xrefs: ; > @ 0x140732798 ; > @ 0x140748d60 ; > @ 0x140749548 ; > @ 0x1407663d0 ; > @ 0x140766ae0 ; > @ 0x14089df90 ; > @ 0x14089dfa0 ; > @ 0x140918a64 ; ; 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:27:36 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x14017eca0 mov [rsp+arg_10], rbp ; +0x5, 0x14017eca5 mov [rsp+arg_18], rsi ; +0xa, 0x14017ecaa push rdi ; +0xf, 0x14017ecaf sub rsp, 50h ; +0x10, 0x14017ecb0 lea rbx, [rcx-140h] ; +0x14, 0x14017ecb4 mov rdi, rcx ; +0x1b, 0x14017ecbb mov rax, [rbx] ; +0x1e, 0x14017ecbe mov rcx, rbx ; +0x21, 0x14017ecc1 mov rbp, r8 ; +0x24, 0x14017ecc4 mov rsi, rdx ; +0x27, 0x14017ecc7 call qword ptr [rax+158h] ; +0x2a, 0x14017ecca test al, al ; +0x30, 0x14017ecd0 jz loc_14017EDAE ; +0x32, 0x14017ecd2 mov rcx, rbx ; +0x38, 0x14017ecd8 call EditorWindowPopup__syncWindowCenter ; +0x3b, 0x14017ecdb cmp dword ptr [rdi+2E4h], 0FFFFFFFFh ; +0x40, 0x14017ece0 jz loc_14017ED8F ; +0x47, 0x14017ece7 movss xmm4, dword ptr [rbx+418h] ; +0x4d, 0x14017eced lea rcx, [rsp+58h+var_28] ; +0x55, 0x14017ecf5 movss xmm2, dword ptr [rbx+420h] ; +0x5a, 0x14017ecfa movss xmm1, dword ptr [rbx+41Ch] ; +0x62, 0x14017ed02 movaps [rsp+58h+var_18], xmm6 ; +0x6a, 0x14017ed0a movaps xmm6, xmm4 ; +0x6f, 0x14017ed0f mulss xmm6, dword ptr [rbx+410h] ; +0x72, 0x14017ed12 mulss xmm4, dword ptr [rbx+414h] ; +0x7a, 0x14017ed1a movaps xmm3, xmm6 ; +0x82, 0x14017ed22 mulss xmm6, cs:dword_140834F20 ; +0x85, 0x14017ed25 addss xmm3, cs:dword_140835508 ; +0x8d, 0x14017ed2d movaps xmm5, xmm4 ; +0x95, 0x14017ed35 mulss xmm4, cs:dword_140834F20 ; +0x98, 0x14017ed38 addss xmm5, cs:dword_140835508 ; +0xa0, 0x14017ed40 subss xmm1, xmm6 ; +0xa8, 0x14017ed48 subss xmm2, xmm4 ; +0xac, 0x14017ed4c movss [rsp+58h+var_38], xmm5 ; +0xb0, 0x14017ed50 subss xmm1, cs:flt_140835490 ; +0xb6, 0x14017ed56 subss xmm2, cs:flt_140835490 ; +0xbe, 0x14017ed5e call cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xc6, 0x14017ed66 lea rdx, [rsp+58h+arg_0] ; +0xcc, 0x14017ed6c mov rcx, rsi ; +0xd1, 0x14017ed71 call cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0xd4, 0x14017ed74 mov rdx, rax ; +0xda, 0x14017ed7a lea rcx, [rsp+58h+var_28] ; +0xdd, 0x14017ed7d call cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0xe2, 0x14017ed82 movaps xmm6, [rsp+58h+var_18] ; +0xe8, 0x14017ed88 jmp short loc_14017EDB0 ; +0xed, 0x14017ed8d mov r8, rbp ; +0xef, 0x14017ed8f mov rdx, rsi ; +0xf2, 0x14017ed92 mov rcx, rbx ; +0xf5, 0x14017ed95 call EditorWindowPopup__beginTouch ; +0xf8, 0x14017ed98 test al, al ; +0xfd, 0x14017ed9d jz short loc_14017EDAE ; +0xff, 0x14017ed9f mov eax, [rsi+38h] ; +0x101, 0x14017eda1 mov [rdi+2E4h], eax ; +0x104, 0x14017eda4 mov al, 1 ; +0x10a, 0x14017edaa jmp short loc_14017EDB0 ; +0x10c, 0x14017edac xor al, al ; +0x10e, 0x14017edae mov rbx, [rsp+58h+arg_8] ; +0x110, 0x14017edb0 mov rbp, [rsp+58h+arg_10] ; +0x115, 0x14017edb5 mov rsi, [rsp+58h+arg_18] ; +0x11a, 0x14017edba add rsp, 50h ; +0x11f, 0x14017edbf pop rdi ; +0x123, 0x14017edc3 retn ; +0x124, 0x14017edc4