; ; EditorUI::ccTouchEnded from 0x1401c0cf0 to 0x1401c19fd (3341 bytes) ; ; 2 xrefs: ; > @ 0x1407511d0 ; > @ 0x14091a6b4 ; ; 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:28:03 +0000 ; mov rax, rsp ; +0x0, 0x1401c0cf0 mov [rax+18h], rbx ; +0x3, 0x1401c0cf3 push rbp ; +0x7, 0x1401c0cf7 push rsi ; +0x8, 0x1401c0cf8 push rdi ; +0x9, 0x1401c0cf9 push r12 ; +0xa, 0x1401c0cfa push r13 ; +0xc, 0x1401c0cfc push r14 ; +0xe, 0x1401c0cfe push r15 ; +0x10, 0x1401c0d00 lea rbp, [rax-5Fh] ; +0x12, 0x1401c0d02 sub rsp, 0B0h ; +0x16, 0x1401c0d06 movaps xmmword ptr [rax-48h], xmm6 ; +0x1d, 0x1401c0d0d movaps xmmword ptr [rax-58h], xmm7 ; +0x21, 0x1401c0d11 mov r15, r8 ; +0x25, 0x1401c0d15 mov rsi, rdx ; +0x28, 0x1401c0d18 mov rdi, rcx ; +0x2b, 0x1401c0d1b cmp byte ptr [rcx+1DEh], 0 ; +0x2e, 0x1401c0d1e jz short loc_1401C0D50 ; +0x35, 0x1401c0d25 mov eax, [rdx+38h] ; +0x37, 0x1401c0d27 cmp [rcx+1B0h], eax ; +0x3a, 0x1401c0d2a jnz short loc_1401C0D50 ; +0x40, 0x1401c0d30 mov edx, 80h ; +0x42, 0x1401c0d32 add rcx, 0FFFFFFFFFFFFFEC0h ; +0x47, 0x1401c0d37 call cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x4e, 0x1401c0d3e lea rcx, [rdi-140h] ; +0x54, 0x1401c0d44 call EditorUI__finishTouchDelay ; +0x5b, 0x1401c0d4b mov byte ptr [rdi+1F8h], 0 ; +0x60, 0x1401c0d50 lea r14, [rdi-140h] ; +0x67, 0x1401c0d57 mov edx, 7Bh ; '{' ; +0x6e, 0x1401c0d5e mov rcx, r14 ; +0x73, 0x1401c0d63 call cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x76, 0x1401c0d66 mov eax, [rsi+38h] ; +0x7c, 0x1401c0d6c cmp [rdi+1A8h], eax ; +0x7f, 0x1401c0d6f jnz short loc_1401C0DA0 ; +0x85, 0x1401c0d75 mov dword ptr [rdi+1A8h], 0FFFFFFFFh ; +0x87, 0x1401c0d77 mov rcx, [rdi+1E8h] ; +0x91, 0x1401c0d81 add rcx, 140h ; +0x98, 0x1401c0d88 mov rax, [rcx] ; +0x9f, 0x1401c0d8f mov r8, r15 ; +0xa2, 0x1401c0d92 mov rdx, rsi ; +0xa5, 0x1401c0d95 call qword ptr [rax+18h] ; +0xa8, 0x1401c0d98 jmp loc_1401C19D8 ; +0xab, 0x1401c0d9b cmp [rdi+1ACh], eax ; +0xb0, 0x1401c0da0 jnz short loc_1401C0DBB ; +0xb6, 0x1401c0da6 mov dword ptr [rdi+1ACh], 0FFFFFFFFh ; +0xb8, 0x1401c0da8 mov rcx, [rdi+200h] ; +0xc2, 0x1401c0db2 jmp short loc_1401C0D88 ; +0xc9, 0x1401c0db9 cmp [rdi+1B8h], eax ; +0xcb, 0x1401c0dbb jnz short loc_1401C0DD6 ; +0xd1, 0x1401c0dc1 mov dword ptr [rdi+1B8h], 0FFFFFFFFh ; +0xd3, 0x1401c0dc3 mov rcx, [rdi+208h] ; +0xdd, 0x1401c0dcd jmp short loc_1401C0D88 ; +0xe4, 0x1401c0dd4 mov rcx, [rdi+4A8h] ; +0xe6, 0x1401c0dd6 cmp dword ptr [rcx+89Ch], 1 ; +0xed, 0x1401c0ddd jnz short loc_1401C0DEF ; +0xf4, 0x1401c0de4 mov rcx, [rcx+3640h] ; +0xf6, 0x1401c0de6 jmp short loc_1401C0D88 ; +0xfd, 0x1401c0ded cmp byte ptr [rdi+1DCh], 0 ; +0xff, 0x1401c0def jz short loc_1401C0E1F ; +0x106, 0x1401c0df6 mov dword ptr [rdi+1BCh], 0FFFFFFFFh ; +0x108, 0x1401c0df8 mov dword ptr [rdi+1B0h], 0FFFFFFFFh ; +0x112, 0x1401c0e02 mov byte ptr [rdi+1DCh], 0 ; +0x11c, 0x1401c0e0c mov byte ptr [rdi+4F0h], 0 ; +0x123, 0x1401c0e13 jmp loc_1401C19D8 ; +0x12a, 0x1401c0e1a cmp [rdi+1B0h], eax ; +0x12f, 0x1401c0e1f jnz loc_1401C19D8 ; +0x135, 0x1401c0e25 mov rcx, cs:qword_14090BFD0 ; +0x13b, 0x1401c0e2b test rcx, rcx ; +0x142, 0x1401c0e32 jnz short loc_1401C0E68 ; +0x145, 0x1401c0e35 mov ecx, 6E8h; Size ; +0x147, 0x1401c0e37 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x14c, 0x1401c0e3c mov [rbp+57h+arg_0], rax ; +0x151, 0x1401c0e41 mov rcx, rax ; +0x155, 0x1401c0e45 call GameManager__GameManager ; +0x158, 0x1401c0e48 nop ; +0x15d, 0x1401c0e4d mov cs:qword_14090BFD0, rax ; +0x15e, 0x1401c0e4e mov rcx, [rax] ; +0x165, 0x1401c0e55 mov rdx, [rcx+48h] ; +0x168, 0x1401c0e58 mov rcx, rax ; +0x16c, 0x1401c0e5c call rdx ; +0x16f, 0x1401c0e5f mov rcx, cs:qword_14090BFD0 ; +0x171, 0x1401c0e61 lea rdx, a0059; "0059" ; +0x178, 0x1401c0e68 call GameManager__getGameVariable ; +0x17f, 0x1401c0e6f movzx r15d, al ; +0x184, 0x1401c0e74 lea rdx, [rbp+57h+arg_8] ; +0x188, 0x1401c0e78 mov rcx, rsi ; +0x18c, 0x1401c0e7c call cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x18f, 0x1401c0e7f call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x195, 0x1401c0e85 mov rcx, rax ; +0x19b, 0x1401c0e8b lea r8, [rbp+57h+arg_8] ; +0x19e, 0x1401c0e8e lea rdx, [rbp+57h+arg_0] ; +0x1a2, 0x1401c0e92 call cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x1a6, 0x1401c0e96 mov rdx, rax ; +0x1ac, 0x1401c0e9c lea rcx, [rbp+57h+arg_8] ; +0x1af, 0x1401c0e9f call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x1b3, 0x1401c0ea3 lea r8, [rbp+57h+arg_8] ; +0x1b9, 0x1401c0ea9 lea rdx, [rbp+57h+arg_0] ; +0x1bd, 0x1401c0ead mov rcx, r14 ; +0x1c1, 0x1401c0eb1 call cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x1c4, 0x1401c0eb4 mov rdx, rax ; +0x1ca, 0x1401c0eba lea rcx, [rbp+57h+arg_8] ; +0x1cd, 0x1401c0ebd call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x1d1, 0x1401c0ec1 lea rdx, [rbp+57h+arg_8] ; +0x1d7, 0x1401c0ec7 lea rcx, [rdi+4B0h] ; +0x1db, 0x1401c0ecb call cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x1e2, 0x1401c0ed2 movss xmm7, cs:width ; +0x1e8, 0x1401c0ed8 test r15b, r15b ; +0x1f0, 0x1401c0ee0 jz short loc_1401C0EFF ; +0x1f3, 0x1401c0ee3 comiss xmm7, xmm0 ; +0x1f5, 0x1401c0ee5 jbe short loc_1401C0EFF ; +0x1f8, 0x1401c0ee8 mov bl, 1 ; +0x1fa, 0x1401c0eea lea rcx, [rdi+4C8h] ; +0x1fc, 0x1401c0eec lea rdx, [rbp+57h+arg_8] ; +0x203, 0x1401c0ef3 call cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x207, 0x1401c0ef7 jmp short loc_1401C0F17 ; +0x20d, 0x1401c0efd lea rcx, [rdi+4C8h] ; +0x20f, 0x1401c0eff lea rdx, [rbp+57h+arg_8] ; +0x216, 0x1401c0f06 call cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x21a, 0x1401c0f0a xor bl, bl ; +0x220, 0x1401c0f10 test r15b, r15b ; +0x222, 0x1401c0f12 jz short loc_1401C0F21 ; +0x225, 0x1401c0f15 comiss xmm7, xmm0 ; +0x227, 0x1401c0f17 jbe short loc_1401C0F21 ; +0x22a, 0x1401c0f1a mov r12b, 1 ; +0x22c, 0x1401c0f1c jmp short loc_1401C0F24 ; +0x22f, 0x1401c0f1f xor r12b, r12b ; +0x231, 0x1401c0f21 mov dword ptr [rdi+1B0h], 0FFFFFFFFh ; +0x234, 0x1401c0f24 cmp byte ptr [rdi+251h], 0 ; +0x23e, 0x1401c0f2e jz loc_1401C13DC ; +0x245, 0x1401c0f35 cmp byte ptr [rdi+24Fh], 0 ; +0x24b, 0x1401c0f3b jz loc_1401C13DC ; +0x252, 0x1401c0f42 cmp qword ptr [rdi+4E8h], 0 ; +0x258, 0x1401c0f48 jz loc_1401C13DC ; +0x260, 0x1401c0f50 lea rdx, unk_14090A708 ; +0x266, 0x1401c0f56 lea rcx, [rbp+57h+arg_18] ; +0x26d, 0x1401c0f5d call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x271, 0x1401c0f61 lea rdx, [rbp+57h+arg_0] ; +0x277, 0x1401c0f67 mov rcx, rsi ; +0x27b, 0x1401c0f6b call cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x27e, 0x1401c0f6e call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x284, 0x1401c0f74 mov rcx, rax ; +0x28a, 0x1401c0f7a lea r8, [rbp+57h+arg_0] ; +0x28d, 0x1401c0f7d lea rdx, [rbp+57h+var_A0] ; +0x291, 0x1401c0f81 call cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x295, 0x1401c0f85 mov rdx, rax ; +0x29b, 0x1401c0f8b lea rcx, [rbp+57h+arg_0] ; +0x29e, 0x1401c0f8e call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x2a2, 0x1401c0f92 lea r8, [rbp+57h+arg_0] ; +0x2a8, 0x1401c0f98 lea rdx, [rbp+57h+var_A0] ; +0x2ac, 0x1401c0f9c mov rcx, r14 ; +0x2b0, 0x1401c0fa0 call cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x2b3, 0x1401c0fa3 mov rdx, rax ; +0x2b9, 0x1401c0fa9 lea rcx, [rbp+57h+arg_0] ; +0x2bc, 0x1401c0fac call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x2c0, 0x1401c0fb0 mov rcx, [rdi+4A8h] ; +0x2c6, 0x1401c0fb6 lea r8, [rbp+57h+arg_0] ; +0x2cd, 0x1401c0fbd lea rdx, [rbp+57h+var_98] ; +0x2d1, 0x1401c0fc1 mov rcx, [rcx+10C8h] ; +0x2d5, 0x1401c0fc5 call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x2dc, 0x1401c0fcc mov rcx, cs:qword_14090BFD0 ; +0x2e2, 0x1401c0fd2 test rcx, rcx ; +0x2e9, 0x1401c0fd9 jnz short loc_1401C100F ; +0x2ec, 0x1401c0fdc mov ecx, 6E8h; Size ; +0x2ee, 0x1401c0fde call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x2f3, 0x1401c0fe3 mov [rbp+57h+var_A0], rax ; +0x2f8, 0x1401c0fe8 mov rcx, rax ; +0x2fc, 0x1401c0fec call GameManager__GameManager ; +0x2ff, 0x1401c0fef nop ; +0x304, 0x1401c0ff4 mov cs:qword_14090BFD0, rax ; +0x305, 0x1401c0ff5 mov rcx, [rax] ; +0x30c, 0x1401c0ffc mov rdx, [rcx+48h] ; +0x30f, 0x1401c0fff mov rcx, rax ; +0x313, 0x1401c1003 call rdx ; +0x316, 0x1401c1006 mov rcx, cs:qword_14090BFD0 ; +0x318, 0x1401c1008 lea rdx, a0008; "0008" ; +0x31f, 0x1401c100f call GameManager__getGameVariable ; +0x326, 0x1401c1016 test al, al ; +0x32b, 0x1401c101b jz loc_1401C12EC ; +0x32d, 0x1401c101d mov rcx, [rdi+4E8h] ; +0x333, 0x1401c1023 test rcx, rcx ; +0x33a, 0x1401c102a jz loc_1401C12EC ; +0x33d, 0x1401c102d mov rax, [rcx] ; +0x343, 0x1401c1033 call qword ptr [rax+168h] ; +0x346, 0x1401c1036 cvttss2si ecx, xmm0 ; +0x34c, 0x1401c103c mov eax, 0B60B60B7h ; +0x350, 0x1401c1040 imul ecx ; +0x355, 0x1401c1045 add edx, ecx ; +0x357, 0x1401c1047 sar edx, 6 ; +0x359, 0x1401c1049 mov eax, edx ; +0x35c, 0x1401c104c shr eax, 1Fh ; +0x35e, 0x1401c104e add edx, eax ; +0x361, 0x1401c1051 imul eax, edx, 5Ah ; 'Z' ; +0x363, 0x1401c1053 cmp ecx, eax ; +0x366, 0x1401c1056 jnz loc_1401C12EC ; +0x368, 0x1401c1058 lea rdx, [rdi+4B0h] ; +0x36e, 0x1401c105e lea rcx, [rbp+57h+arg_0] ; +0x375, 0x1401c1065 call cs:?equals@CCPoint@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCPoint::equals(cocos2d::CCPoint const &) ; +0x379, 0x1401c1069 test al, al ; +0x37f, 0x1401c106f jnz loc_1401C12EC ; +0x381, 0x1401c1071 mov r15b, 1 ; +0x387, 0x1401c1077 lea rdx, [rbp+57h+var_98] ; +0x38a, 0x1401c107a lea rcx, [rbp+57h+var_B0] ; +0x38e, 0x1401c107e call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x392, 0x1401c1082 mov r8, rax ; +0x398, 0x1401c1088 lea rdx, [rbp+57h+var_A8] ; +0x39b, 0x1401c108b mov rcx, r14 ; +0x39f, 0x1401c108f call EditorUI__getGridSnappedPos ; +0x3a2, 0x1401c1092 mov rbx, [rdi+4E8h] ; +0x3a7, 0x1401c1097 mov edx, [rbx+40Ch] ; +0x3ae, 0x1401c109e lea rcx, [rbp+57h+var_68] ; +0x3b4, 0x1401c10a4 call offsetForKey ; +0x3b8, 0x1401c10a8 mov r8, rax ; +0x3bd, 0x1401c10ad mov rdx, rbx ; +0x3c0, 0x1401c10b0 lea rcx, [rbp+57h+var_B0] ; +0x3c3, 0x1401c10b3 call GameToolbox__getRelativeOffset ; +0x3c7, 0x1401c10b7 mov rbx, [rdi+4E8h] ; +0x3cc, 0x1401c10bc lea rdx, [rbp+57h+var_A8] ; +0x3d3, 0x1401c10c3 lea rcx, [rbp+57h+var_88] ; +0x3d7, 0x1401c10c7 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x3db, 0x1401c10cb mov [rsp+0E0h+var_C0], rax ; +0x3e1, 0x1401c10d1 mov r9, rbx ; +0x3e6, 0x1401c10d6 lea r8, [rbp+57h+var_B0] ; +0x3e9, 0x1401c10d9 lea rdx, [rbp+57h+var_90] ; +0x3ed, 0x1401c10dd mov rcx, r14 ; +0x3f1, 0x1401c10e1 call EditorUI__applySpecialOffset ; +0x3f4, 0x1401c10e4 lea r8, [rbp+57h+var_90] ; +0x3f9, 0x1401c10e9 lea rdx, [rbp+57h+var_B0] ; +0x3fd, 0x1401c10ed lea rcx, [rbp+57h+var_A8] ; +0x401, 0x1401c10f1 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x405, 0x1401c10f5 lea rdx, [rbp+57h+var_B0] ; +0x40b, 0x1401c10fb lea rcx, [rbp+57h+var_A8] ; +0x40f, 0x1401c10ff call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x413, 0x1401c1103 mov rcx, [rdi+4E8h] ; +0x419, 0x1401c1109 mov rax, [rcx] ; +0x420, 0x1401c1110 call qword ptr [rax+0C8h] ; +0x423, 0x1401c1113 mov rdx, rax ; +0x429, 0x1401c1119 lea rcx, [rbp+57h+var_A0] ; +0x42c, 0x1401c111c call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x430, 0x1401c1120 mov rcx, [rdi+4E8h] ; +0x436, 0x1401c1126 mov rax, [rcx] ; +0x43d, 0x1401c112d lea rdx, [rbp+57h+var_A8] ; +0x440, 0x1401c1130 call qword ptr [rax+0B8h] ; +0x444, 0x1401c1134 lea r8, [rbp+57h+var_A0] ; +0x44a, 0x1401c113a lea rdx, [rbp+57h+var_B0] ; +0x44e, 0x1401c113e lea rcx, [rbp+57h+var_A8] ; +0x452, 0x1401c1142 call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x456, 0x1401c1146 lea rdx, [rbp+57h+var_B0] ; +0x45c, 0x1401c114c lea rcx, [rbp+57h+arg_18] ; +0x460, 0x1401c1150 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x464, 0x1401c1154 mov rcx, [rdi+270h] ; +0x46a, 0x1401c115a call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x471, 0x1401c1161 test eax, eax ; +0x477, 0x1401c1167 jz short loc_1401C11D6 ; +0x479, 0x1401c1169 xor ebx, ebx ; +0x47b, 0x1401c116b mov rcx, [rdi+270h] ; +0x47d, 0x1401c116d call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x484, 0x1401c1174 test eax, eax ; +0x48a, 0x1401c117a jz short loc_1401C11D6 ; +0x48c, 0x1401c117c xchg ax, ax ; +0x48e, 0x1401c117e mov edx, ebx ; +0x490, 0x1401c1180 mov rcx, [rdi+270h] ; +0x492, 0x1401c1182 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x499, 0x1401c1189 mov rsi, rax ; +0x49f, 0x1401c118f mov rcx, [rdi+4E8h] ; +0x4a2, 0x1401c1192 mov edx, [rcx+39Ch] ; +0x4a9, 0x1401c1199 cmp [rax+39Ch], edx ; +0x4af, 0x1401c119f jz short loc_1401C11C3 ; +0x4b5, 0x1401c11a5 lea rdx, [rbp+57h+arg_18] ; +0x4b7, 0x1401c11a7 lea rcx, [rbp+57h+var_88] ; +0x4bb, 0x1401c11ab call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x4bf, 0x1401c11af mov r8, rax ; +0x4c5, 0x1401c11b5 mov rdx, rsi ; +0x4c8, 0x1401c11b8 mov rcx, r14 ; +0x4cb, 0x1401c11bb call EditorUI__moveObject ; +0x4ce, 0x1401c11be inc ebx ; +0x4d3, 0x1401c11c3 mov rcx, [rdi+270h] ; +0x4d5, 0x1401c11c5 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4dc, 0x1401c11cc cmp ebx, eax ; +0x4e2, 0x1401c11d2 jb short loc_1401C1180 ; +0x4e4, 0x1401c11d4 lea r8, [rbp+57h+arg_18] ; +0x4e6, 0x1401c11d6 lea rdx, [rbp+57h+var_B0] ; +0x4ea, 0x1401c11da lea rcx, [rdi+1F0h] ; +0x4ee, 0x1401c11de call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x4f5, 0x1401c11e5 lea rdx, [rbp+57h+var_B0] ; +0x4fb, 0x1401c11eb lea rcx, [rdi+1F0h] ; +0x4ff, 0x1401c11ef call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x506, 0x1401c11f6 mov rcx, [rdi+1E8h] ; +0x50c, 0x1401c11fc mov rax, [rcx] ; +0x513, 0x1401c1203 call qword ptr [rax+158h] ; +0x516, 0x1401c1206 test al, al ; +0x51c, 0x1401c120c jz short loc_1401C124A ; +0x51e, 0x1401c120e mov rcx, [rdi+1E8h] ; +0x520, 0x1401c1210 mov rax, [rcx] ; +0x527, 0x1401c1217 call qword ptr [rax+0C8h] ; +0x52a, 0x1401c121a lea r8, [rbp+57h+arg_18] ; +0x530, 0x1401c1220 lea rdx, [rbp+57h+var_B0] ; +0x534, 0x1401c1224 mov rcx, rax ; +0x538, 0x1401c1228 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x53b, 0x1401c122b mov rcx, [rdi+1E8h] ; +0x541, 0x1401c1231 mov rax, [rcx] ; +0x548, 0x1401c1238 lea rdx, [rbp+57h+var_B0] ; +0x54b, 0x1401c123b call qword ptr [rax+0B8h] ; +0x54f, 0x1401c123f jmp loc_1401C12EF ; +0x555, 0x1401c1245 mov rcx, [rdi+200h] ; +0x55a, 0x1401c124a mov rax, [rcx] ; +0x561, 0x1401c1251 call qword ptr [rax+158h] ; +0x564, 0x1401c1254 test al, al ; +0x56a, 0x1401c125a jz short loc_1401C1295 ; +0x56c, 0x1401c125c mov rcx, [rdi+200h] ; +0x56e, 0x1401c125e mov rax, [rcx] ; +0x575, 0x1401c1265 call qword ptr [rax+0C8h] ; +0x578, 0x1401c1268 lea r8, [rbp+57h+arg_18] ; +0x57e, 0x1401c126e lea rdx, [rbp+57h+var_B0] ; +0x582, 0x1401c1272 mov rcx, rax ; +0x586, 0x1401c1276 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x589, 0x1401c1279 mov rcx, [rdi+200h] ; +0x58f, 0x1401c127f mov rax, [rcx] ; +0x596, 0x1401c1286 lea rdx, [rbp+57h+var_B0] ; +0x599, 0x1401c1289 call qword ptr [rax+0B8h] ; +0x59d, 0x1401c128d jmp short loc_1401C12EF ; +0x5a3, 0x1401c1293 mov rcx, [rdi+208h] ; +0x5a5, 0x1401c1295 mov rax, [rcx] ; +0x5ac, 0x1401c129c call qword ptr [rax+158h] ; +0x5af, 0x1401c129f test al, al ; +0x5b5, 0x1401c12a5 jz short loc_1401C12EF ; +0x5b7, 0x1401c12a7 mov rcx, [rdi+208h] ; +0x5b9, 0x1401c12a9 mov rax, [rcx] ; +0x5c0, 0x1401c12b0 call qword ptr [rax+0C8h] ; +0x5c3, 0x1401c12b3 lea r8, [rbp+57h+arg_18] ; +0x5c9, 0x1401c12b9 lea rdx, [rbp+57h+var_B0] ; +0x5cd, 0x1401c12bd mov rcx, rax ; +0x5d1, 0x1401c12c1 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x5d4, 0x1401c12c4 mov rcx, [rdi+208h] ; +0x5da, 0x1401c12ca mov rax, [rcx] ; +0x5e1, 0x1401c12d1 lea rdx, [rbp+57h+var_B0] ; +0x5e4, 0x1401c12d4 call qword ptr [rax+0B8h] ; +0x5e8, 0x1401c12d8 mov rcx, [rdi+208h] ; +0x5ee, 0x1401c12de call GJTransformControl__refreshControl ; +0x5f5, 0x1401c12e5 jmp short loc_1401C12EF ; +0x5fa, 0x1401c12ea xor r15b, r15b ; +0x5fc, 0x1401c12ec mov rcx, [rdi+4E8h] ; +0x5ff, 0x1401c12ef mov rax, [rcx] ; +0x606, 0x1401c12f6 call qword ptr [rax+0C8h] ; +0x609, 0x1401c12f9 mov rcx, rax ; +0x60f, 0x1401c12ff lea rdx, [rdi+268h] ; +0x612, 0x1401c1302 call cs:?equals@CCPoint@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCPoint::equals(cocos2d::CCPoint const &) ; +0x619, 0x1401c1309 test al, al ; +0x61f, 0x1401c130f jz short loc_1401C131A ; +0x621, 0x1401c1311 mov byte ptr [rdi+1A1h], 1 ; +0x623, 0x1401c1313 mov rcx, [rdi+4E8h] ; +0x62a, 0x1401c131a mov rax, [rcx] ; +0x631, 0x1401c1321 call qword ptr [rax+0C8h] ; +0x634, 0x1401c1324 lea r8, [rdi+268h] ; +0x63a, 0x1401c132a lea rdx, [rbp+57h+var_78] ; +0x641, 0x1401c1331 mov rcx, rax ; +0x645, 0x1401c1335 call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x648, 0x1401c1338 cmp byte ptr [rdi+1A1h], 0 ; +0x64e, 0x1401c133e jnz loc_1401C18B6 ; +0x655, 0x1401c1345 mov r14, [rdi+198h] ; +0x65b, 0x1401c134b test r14, r14 ; +0x662, 0x1401c1352 jz loc_1401C18B6 ; +0x665, 0x1401c1355 mov rsi, [rdi+4A8h] ; +0x66b, 0x1401c135b mov rcx, [rsi+3A48h] ; +0x672, 0x1401c1362 call cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x679, 0x1401c1369 mov ebx, 3E8h ; +0x67f, 0x1401c136f mov eax, 0C8h ; +0x684, 0x1401c1374 cmp byte ptr [rsi+3947h], 0 ; +0x689, 0x1401c1379 cmovz ebx, eax ; +0x690, 0x1401c1380 mov rcx, [rsi+3A40h] ; +0x693, 0x1401c1383 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x69a, 0x1401c138a cmp eax, ebx ; +0x6a0, 0x1401c1390 jb short loc_1401C13A6 ; +0x6a2, 0x1401c1392 mov r8b, 1 ; +0x6a4, 0x1401c1394 xor edx, edx ; +0x6a7, 0x1401c1397 mov rcx, [rsi+3A40h] ; +0x6a9, 0x1401c1399 call cs:?removeObjectAtIndex@CCArray@cocos2d@@QEAAXI_N@Z; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x6b0, 0x1401c13a0 mov rdx, r14 ; +0x6b6, 0x1401c13a6 mov rcx, [rsi+3A40h] ; +0x6b9, 0x1401c13a9 call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x6c0, 0x1401c13b0 mov rcx, [rdi+198h] ; +0x6c6, 0x1401c13b6 test rcx, rcx ; +0x6cd, 0x1401c13bd jz loc_1401C18B6 ; +0x6d0, 0x1401c13c0 call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x6d6, 0x1401c13c6 mov qword ptr [rdi+198h], 0 ; +0x6dc, 0x1401c13cc jmp loc_1401C18B6 ; +0x6e7, 0x1401c13d7 cmp byte ptr [rdi+24Dh], 0 ; +0x6ec, 0x1401c13dc jz loc_1401C1629 ; +0x6f3, 0x1401c13e3 test bl, bl ; +0x6f9, 0x1401c13e9 jnz loc_1401C1629 ; +0x6fb, 0x1401c13eb mov rax, [rdi+4A8h] ; +0x701, 0x1401c13f1 mov rbx, [rax+10C8h] ; +0x708, 0x1401c13f8 lea r8, [rdi+4B0h] ; +0x70f, 0x1401c13ff lea rdx, [rbp+57h+var_A8] ; +0x716, 0x1401c1406 mov rcx, rbx ; +0x71a, 0x1401c140a call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x71d, 0x1401c140d lea r8, [rdi+4B8h] ; +0x723, 0x1401c1413 lea rdx, [rbp+57h+arg_18] ; +0x72a, 0x1401c141a mov rcx, rbx ; +0x72e, 0x1401c141e call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x731, 0x1401c1421 movss xmm2, [rbp+57h+var_A4] ; +0x737, 0x1401c1427 movaps xmm6, xmm2 ; +0x73c, 0x1401c142c subss xmm6, [rbp+57h+arg_1C] ; +0x73f, 0x1401c142f andps xmm6, cs:xmmword_140836C90 ; +0x747, 0x1401c1437 movss xmm1, [rbp+57h+var_A8] ; +0x74e, 0x1401c143e movaps xmm3, xmm1 ; +0x753, 0x1401c1443 subss xmm3, [rbp+57h+arg_18] ; +0x756, 0x1401c1446 andps xmm3, cs:xmmword_140836C90 ; +0x75b, 0x1401c144b minss xmm2, [rbp+57h+arg_1C] ; +0x762, 0x1401c1452 minss xmm1, [rbp+57h+arg_18] ; +0x76a, 0x1401c145a movss dword ptr [rsp+0E0h+var_C0], xmm6 ; +0x76f, 0x1401c145f lea rcx, [rbp+57h+var_88] ; +0x775, 0x1401c1465 call cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x779, 0x1401c1469 lea rdx, [rbp+57h+arg_0] ; +0x77f, 0x1401c146f mov rcx, rsi ; +0x783, 0x1401c1473 call cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x786, 0x1401c1476 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x78c, 0x1401c147c mov rcx, rax ; +0x792, 0x1401c1482 lea r8, [rbp+57h+arg_0] ; +0x795, 0x1401c1485 lea rdx, [rbp+57h+var_78] ; +0x799, 0x1401c1489 call cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x79d, 0x1401c148d mov rdx, rax ; +0x7a3, 0x1401c1493 lea rcx, [rbp+57h+arg_0] ; +0x7a6, 0x1401c1496 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x7aa, 0x1401c149a lea rcx, [rdi-140h] ; +0x7b0, 0x1401c14a0 lea r8, [rbp+57h+arg_0] ; +0x7b7, 0x1401c14a7 lea rdx, [rbp+57h+var_78] ; +0x7bb, 0x1401c14ab call cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x7bf, 0x1401c14af mov rdx, rax ; +0x7c5, 0x1401c14b5 lea rcx, [rbp+57h+arg_0] ; +0x7c8, 0x1401c14b8 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x7cc, 0x1401c14bc lea rcx, [rdi+4B0h] ; +0x7d2, 0x1401c14c2 lea rdx, [rbp+57h+arg_0] ; +0x7d9, 0x1401c14c9 call cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x7dd, 0x1401c14cd comiss xmm7, xmm0 ; +0x7e3, 0x1401c14d3 jbe loc_1401C15BF ; +0x7e6, 0x1401c14d6 mov rbx, [rdi+4A8h] ; +0x7ec, 0x1401c14dc lea rdx, [rbp+57h+arg_18] ; +0x7f3, 0x1401c14e3 lea rcx, [rbp+57h+arg_0] ; +0x7f7, 0x1401c14e7 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x7fb, 0x1401c14eb mov rdx, rax ; +0x801, 0x1401c14f1 mov rcx, rbx ; +0x804, 0x1401c14f4 call LevelEditorLayer__objectsAtPosition ; +0x807, 0x1401c14f7 mov r15, rax ; +0x80c, 0x1401c14fc xor ebx, ebx ; +0x80f, 0x1401c14ff xor r14d, r14d ; +0x811, 0x1401c1501 mov rcx, rax ; +0x814, 0x1401c1504 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x817, 0x1401c1507 test eax, eax ; +0x81d, 0x1401c150d jz loc_1401C18B3 ; +0x81f, 0x1401c150f nop word ptr [rax+rax+00000000h] ; +0x825, 0x1401c1515 mov edx, r14d ; +0x830, 0x1401c1520 mov rcx, r15 ; +0x833, 0x1401c1523 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x836, 0x1401c1526 mov rsi, rax ; +0x83c, 0x1401c152c cmp byte ptr [rax+475h], 0 ; +0x83f, 0x1401c152f jnz short loc_1401C1559 ; +0x846, 0x1401c1536 test rbx, rbx ; +0x848, 0x1401c1538 jz short loc_1401C154B ; +0x84b, 0x1401c153b mov ecx, [rbx+478h] ; +0x84d, 0x1401c153d cmp [rax+478h], ecx ; +0x853, 0x1401c1543 jge short loc_1401C1559 ; +0x859, 0x1401c1549 mov rdx, rsi ; +0x85b, 0x1401c154b call EditorUI__canSelectObject ; +0x85e, 0x1401c154e test al, al ; +0x863, 0x1401c1553 cmovnz rbx, rsi ; +0x865, 0x1401c1555 inc r14d ; +0x869, 0x1401c1559 mov rcx, r15 ; +0x86c, 0x1401c155c call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x86f, 0x1401c155f cmp r14d, eax ; +0x875, 0x1401c1565 jb short loc_1401C1520 ; +0x878, 0x1401c1568 test rbx, rbx ; +0x87a, 0x1401c156a jz loc_1401C18B3 ; +0x87d, 0x1401c156d mov eax, [rdi+50Ch] ; +0x883, 0x1401c1573 mov [rbx+478h], eax ; +0x889, 0x1401c1579 lea rcx, [rdi-140h] ; +0x88f, 0x1401c157f xor edx, edx ; +0x896, 0x1401c1586 call EditorUI__createUndoSelectObject ; +0x898, 0x1401c1588 mov rcx, rbx ; +0x89d, 0x1401c158d call cs:?createWithObject@CCArray@cocos2d@@SAPEAV12@PEAVCCObject@2@@Z; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0x8a0, 0x1401c1590 mov rdx, rax ; +0x8a6, 0x1401c1596 lea rcx, [rdi-140h] ; +0x8a9, 0x1401c1599 xor r8d, r8d ; +0x8b0, 0x1401c15a0 call EditorUI__selectObjects ; +0x8b3, 0x1401c15a3 call EditorSFXManager__sharedState ; +0x8b8, 0x1401c15a8 mov rcx, rax ; +0x8bd, 0x1401c15ad mov edx, 79h ; 'y' ; +0x8c0, 0x1401c15b0 call EditorSFXManager__playAction ; +0x8c5, 0x1401c15b5 jmp loc_1401C18B3 ; +0x8ca, 0x1401c15ba lea rdx, [rbp+57h+var_88] ; +0x8cf, 0x1401c15bf lea rcx, [rbp+57h+var_78] ; +0x8d3, 0x1401c15c3 call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x8d7, 0x1401c15c7 mov rbx, [rdi+4A8h] ; +0x8dd, 0x1401c15cd mov rdx, rax ; +0x8e4, 0x1401c15d4 lea rcx, [rbp+57h+var_68] ; +0x8e7, 0x1401c15d7 call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x8eb, 0x1401c15db mov rdx, rax ; +0x8f1, 0x1401c15e1 xor r8d, r8d ; +0x8f4, 0x1401c15e4 mov rcx, rbx ; +0x8f7, 0x1401c15e7 call LevelEditorLayer__objectsInRect ; +0x8fa, 0x1401c15ea mov rbx, rax ; +0x8ff, 0x1401c15ef mov rcx, rax ; +0x902, 0x1401c15f2 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x905, 0x1401c15f5 test eax, eax ; +0x90b, 0x1401c15fb jz loc_1401C18B3 ; +0x90d, 0x1401c15fd call EditorSFXManager__sharedState ; +0x913, 0x1401c1603 mov rcx, rax ; +0x918, 0x1401c1608 mov edx, 7Ah ; 'z' ; +0x91b, 0x1401c160b call EditorSFXManager__playAction ; +0x920, 0x1401c1610 mov rdx, rbx ; +0x925, 0x1401c1615 lea rcx, [rdi-140h] ; +0x928, 0x1401c1618 call EditorUI__processSelectObjects ; +0x92f, 0x1401c161f jmp loc_1401C18B3 ; +0x934, 0x1401c1624 cmp byte ptr [rdi+4F0h], 0 ; +0x939, 0x1401c1629 jz short loc_1401C163E ; +0x940, 0x1401c1630 mov byte ptr [rdi+4F0h], 0 ; +0x942, 0x1401c1632 jmp loc_1401C18B3 ; +0x949, 0x1401c1639 lea rdx, [rbp+57h+arg_0] ; +0x94e, 0x1401c163e mov rcx, rsi ; +0x952, 0x1401c1642 call cs:?getLocationInView@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocationInView(void) ; +0x955, 0x1401c1645 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x95b, 0x1401c164b mov rcx, rax ; +0x961, 0x1401c1651 lea r8, [rbp+57h+arg_0] ; +0x964, 0x1401c1654 lea rdx, [rbp+57h+arg_18] ; +0x968, 0x1401c1658 call cs:?convertToGL@CCDirector@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const &) ; +0x96c, 0x1401c165c mov rdx, rax ; +0x972, 0x1401c1662 lea rcx, [rbp+57h+arg_0] ; +0x975, 0x1401c1665 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x979, 0x1401c1669 lea rcx, [rdi-140h] ; +0x97f, 0x1401c166f lea r8, [rbp+57h+arg_0] ; +0x986, 0x1401c1676 lea rdx, [rbp+57h+arg_18] ; +0x98a, 0x1401c167a call cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x98e, 0x1401c167e mov rdx, rax ; +0x994, 0x1401c1684 lea rcx, [rbp+57h+arg_0] ; +0x997, 0x1401c1687 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x99b, 0x1401c168b lea rcx, [rdi+4B0h] ; +0x9a1, 0x1401c1691 lea rdx, [rbp+57h+arg_0] ; +0x9a8, 0x1401c1698 call cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x9ac, 0x1401c169c cmp byte ptr [rdi+24Eh], 0 ; +0x9b2, 0x1401c16a2 jz short loc_1401C16BC ; +0x9b9, 0x1401c16a9 movss xmm1, cs:dword_1408355B4 ; +0x9bb, 0x1401c16ab comiss xmm1, xmm0 ; +0x9c3, 0x1401c16b3 jbe loc_1401C18B3 ; +0x9c6, 0x1401c16b6 cmp dword ptr [rdi+4A4h], 3 ; +0x9cc, 0x1401c16bc jnz loc_1401C188A ; +0x9d3, 0x1401c16c3 lea r8, [rdi+4B0h] ; +0x9d9, 0x1401c16c9 mov rcx, [rdi+4A8h] ; +0x9e0, 0x1401c16d0 lea rdx, [rbp+57h+arg_0] ; +0x9e7, 0x1401c16d7 mov rcx, [rcx+10C8h] ; +0x9eb, 0x1401c16db call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x9f2, 0x1401c16e2 cmp qword ptr [rdi+4E8h], 0 ; +0x9f8, 0x1401c16e8 jz short loc_1401C16FF ; +0xa00, 0x1401c16f0 cmp byte ptr [rdi+1A2h], 0 ; +0xa02, 0x1401c16f2 jnz loc_1401C18B3 ; +0xa09, 0x1401c16f9 mov rbx, [rdi+4A8h] ; +0xa0f, 0x1401c16ff lea rdx, [rbp+57h+arg_0] ; +0xa16, 0x1401c1706 lea rcx, [rbp+57h+arg_18] ; +0xa1a, 0x1401c170a call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xa1e, 0x1401c170e mov rdx, rax ; +0xa24, 0x1401c1714 mov rcx, rbx ; +0xa27, 0x1401c1717 call LevelEditorLayer__objectsAtPosition ; +0xa2a, 0x1401c171a mov r15, rax ; +0xa2f, 0x1401c171f xor ebx, ebx ; +0xa32, 0x1401c1722 xor r14d, r14d ; +0xa34, 0x1401c1724 mov rcx, rax ; +0xa37, 0x1401c1727 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xa3a, 0x1401c172a test eax, eax ; +0xa40, 0x1401c1730 jz loc_1401C18B3 ; +0xa42, 0x1401c1732 nop dword ptr [rax+rax+00000000h] ; +0xa48, 0x1401c1738 mov edx, r14d ; +0xa50, 0x1401c1740 mov rcx, r15 ; +0xa53, 0x1401c1743 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xa56, 0x1401c1746 mov rsi, rax ; +0xa5c, 0x1401c174c cmp byte ptr [rax+475h], 0 ; +0xa5f, 0x1401c174f jnz short loc_1401C1779 ; +0xa66, 0x1401c1756 test rbx, rbx ; +0xa68, 0x1401c1758 jz short loc_1401C176B ; +0xa6b, 0x1401c175b mov ecx, [rbx+478h] ; +0xa6d, 0x1401c175d cmp [rax+478h], ecx ; +0xa73, 0x1401c1763 jge short loc_1401C1779 ; +0xa79, 0x1401c1769 mov rdx, rsi ; +0xa7b, 0x1401c176b call EditorUI__canSelectObject ; +0xa7e, 0x1401c176e test al, al ; +0xa83, 0x1401c1773 cmovnz rbx, rsi ; +0xa85, 0x1401c1775 inc r14d ; +0xa89, 0x1401c1779 mov rcx, r15 ; +0xa8c, 0x1401c177c call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xa8f, 0x1401c177f cmp r14d, eax ; +0xa95, 0x1401c1785 jb short loc_1401C1740 ; +0xa98, 0x1401c1788 test rbx, rbx ; +0xa9a, 0x1401c178a jz loc_1401C18B3 ; +0xa9d, 0x1401c178d mov eax, [rdi+50Ch] ; +0xaa3, 0x1401c1793 mov [rbx+478h], eax ; +0xaa9, 0x1401c1799 lea rcx, [rdi-140h] ; +0xaaf, 0x1401c179f xor edx, edx ; +0xab6, 0x1401c17a6 call EditorUI__createUndoSelectObject ; +0xab8, 0x1401c17a8 cmp byte ptr [rdi+24Dh], 0 ; +0xabd, 0x1401c17ad jnz short loc_1401C17CD ; +0xac4, 0x1401c17b4 lea rcx, [rdi-140h] ; +0xac6, 0x1401c17b6 xor r8d, r8d ; +0xacd, 0x1401c17bd mov rdx, rbx ; +0xad0, 0x1401c17c0 call EditorUI__selectObject ; +0xad3, 0x1401c17c3 jmp loc_1401C15A8 ; +0xad8, 0x1401c17c8 test r12b, r12b ; +0xadd, 0x1401c17cd jz loc_1401C186D ; +0xae0, 0x1401c17d0 cmp qword ptr [rdi+4E0h], 0 ; +0xae6, 0x1401c17d6 jz short loc_1401C183D ; +0xaee, 0x1401c17de lea rsi, [rdi-140h] ; +0xaf0, 0x1401c17e0 mov edx, 7Ch ; '|' ; +0xaf7, 0x1401c17e7 mov rcx, rsi ; +0xafc, 0x1401c17ec call cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0xaff, 0x1401c17ef mov rcx, [rsi+620h] ; +0xb05, 0x1401c17f5 test rcx, rcx ; +0xb0c, 0x1401c17fc jz short loc_1401C180D ; +0xb0f, 0x1401c17ff mov byte ptr [rcx+475h], 0 ; +0xb11, 0x1401c1801 call GameObject__updateObjectEditorColor ; +0xb18, 0x1401c1808 mov qword ptr [rsi+620h], 0 ; +0xb1d, 0x1401c180d mov rcx, rsi ; +0xb28, 0x1401c1818 call EditorUI__toggleEditObjectButton ; +0xb2b, 0x1401c181b mov byte ptr [rsi+338h], 1 ; +0xb30, 0x1401c1820 lea rcx, [rsi+608h] ; +0xb37, 0x1401c1827 lea rdx, unk_14090A748 ; +0xb3e, 0x1401c182e call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xb45, 0x1401c1835 jmp short loc_1401C186D ; +0xb4b, 0x1401c183b mov rcx, [rdi+270h] ; +0xb4d, 0x1401c183d call cs:?lastObject@CCArray@cocos2d@@QEAAPEAVCCObject@2@XZ; cocos2d::CCArray::lastObject(void) ; +0xb54, 0x1401c1844 test rax, rax ; +0xb5a, 0x1401c184a jz short loc_1401C186D ; +0xb5d, 0x1401c184d mov byte ptr [rax+475h], 0 ; +0xb5f, 0x1401c184f mov rcx, rax ; +0xb66, 0x1401c1856 call GameObject__updateObjectEditorColor ; +0xb69, 0x1401c1859 mov dl, 1 ; +0xb6e, 0x1401c185e mov rcx, [rdi+270h] ; +0xb70, 0x1401c1860 call cs:?removeLastObject@CCArray@cocos2d@@QEAAX_N@Z; cocos2d::CCArray::removeLastObject(bool) ; +0xb77, 0x1401c1867 mov rcx, rbx ; +0xb7d, 0x1401c186d call cs:?createWithObject@CCArray@cocos2d@@SAPEAV12@PEAVCCObject@2@@Z; cocos2d::CCArray::createWithObject(cocos2d::CCObject *) ; +0xb80, 0x1401c1870 mov rdx, rax ; +0xb86, 0x1401c1876 lea rcx, [rdi-140h] ; +0xb89, 0x1401c1879 xor r8d, r8d ; +0xb90, 0x1401c1880 call EditorUI__selectObjects ; +0xb93, 0x1401c1883 jmp short loc_1401C18B3 ; +0xb98, 0x1401c1888 cmp byte ptr [rdi+528h], 0 ; +0xb9a, 0x1401c188a jnz short loc_1401C18B3 ; +0xba1, 0x1401c1891 lea rdx, [rdi+4B0h] ; +0xba3, 0x1401c1893 lea rcx, [rbp+57h+arg_0] ; +0xbaa, 0x1401c189a call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xbae, 0x1401c189e mov rdx, rax ; +0xbb4, 0x1401c18a4 lea rcx, [rdi-140h] ; +0xbb7, 0x1401c18a7 call EditorUI__clickOnPosition ; +0xbbe, 0x1401c18ae xor r15b, r15b ; +0xbc3, 0x1401c18b3 mov rcx, [rdi+4E8h] ; +0xbc6, 0x1401c18b6 test rcx, rcx ; +0xbcd, 0x1401c18bd jz short loc_1401C192C ; +0xbd0, 0x1401c18c0 cmp byte ptr [rdi+251h], 0 ; +0xbd2, 0x1401c18c2 jz short loc_1401C1921 ; +0xbd9, 0x1401c18c9 cmp byte ptr [rdi+24Fh], 0 ; +0xbdb, 0x1401c18cb jz short loc_1401C1921 ; +0xbe2, 0x1401c18d2 cmp byte ptr [rcx+475h], 0 ; +0xbe4, 0x1401c18d4 jz short loc_1401C1901 ; +0xbeb, 0x1401c18db movzx eax, cs:word_1407032A0 ; +0xbed, 0x1401c18dd mov word ptr [rbp+57h+arg_0], ax ; +0xbf4, 0x1401c18e4 movzx eax, cs:byte_1407032A2 ; +0xbf8, 0x1401c18e8 mov byte ptr [rbp+57h+arg_0+2], al ; +0xbff, 0x1401c18ef mov rax, [rcx] ; +0xc02, 0x1401c18f2 lea rdx, [rbp+57h+arg_0] ; +0xc05, 0x1401c18f5 call qword ptr [rax+560h] ; +0xc09, 0x1401c18f9 jmp short loc_1401C190D ; +0xc0f, 0x1401c18ff mov byte ptr [rcx+475h], 0 ; +0xc11, 0x1401c1901 call GameObject__updateObjectEditorColor ; +0xc18, 0x1401c1908 movzx ebx, r15b ; +0xc1d, 0x1401c190d call EditorSFXManager__sharedState ; +0xc21, 0x1401c1911 mov rcx, rax ; +0xc26, 0x1401c1916 lea edx, [rbx+69h] ; +0xc29, 0x1401c1919 call EditorSFXManager__playAction ; +0xc2c, 0x1401c191c mov qword ptr [rdi+4E8h], 0 ; +0xc31, 0x1401c1921 mov word ptr [rdi+24Dh], 0 ; +0xc3c, 0x1401c192c mov byte ptr [rdi+251h], 0 ; +0xc45, 0x1401c1935 mov byte ptr [rdi+1A1h], 0 ; +0xc4c, 0x1401c193c lea rcx, [rdi+258h] ; +0xc53, 0x1401c1943 lea rdx, unk_14090A708 ; +0xc5a, 0x1401c194a call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc61, 0x1401c1951 mov byte ptr [rdi+24Fh], 0 ; +0xc67, 0x1401c1957 mov byte ptr [rdi+1A2h], 0 ; +0xc6e, 0x1401c195e lea rdx, [rdi+4B0h] ; +0xc75, 0x1401c1965 lea rcx, [rdi+4C0h] ; +0xc7c, 0x1401c196c call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc83, 0x1401c1973 mov byte ptr [rdi+4F1h], 0 ; +0xc89, 0x1401c1979 movzx ebx, byte ptr [rdi+1F8h] ; +0xc90, 0x1401c1980 lea rcx, [rdi-140h] ; +0xc97, 0x1401c1987 call EditorUI__updateButtons ; +0xc9e, 0x1401c198e inc dword ptr [rdi+50Ch] ; +0xca3, 0x1401c1993 mov rcx, [rdi+260h] ; +0xca9, 0x1401c1999 call cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0xcb0, 0x1401c19a0 test bl, bl ; +0xcb6, 0x1401c19a6 jz short loc_1401C19C7 ; +0xcb8, 0x1401c19a8 lea rcx, [rdi-140h] ; +0xcba, 0x1401c19aa call EditorUI__updateSpecialUIElements ; +0xcc1, 0x1401c19b1 lea rcx, [rdi+78h] ; +0xcc6, 0x1401c19b6 mov rax, [rcx] ; +0xcca, 0x1401c19ba call qword ptr [rax+60h] ; +0xccd, 0x1401c19bd mov byte ptr [rdi+1F8h], 0 ; +0xcd0, 0x1401c19c0 lea rcx, [rdi+4C8h] ; +0xcd7, 0x1401c19c7 lea rdx, [rbp+57h+arg_8] ; +0xcde, 0x1401c19ce call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xce2, 0x1401c19d2 lea r11, [rsp+0E0h+var_30] ; +0xce8, 0x1401c19d8 mov rbx, [r11+50h] ; +0xcf0, 0x1401c19e0 movaps xmm6, xmmword ptr [r11-10h] ; +0xcf4, 0x1401c19e4 movaps xmm7, xmmword ptr [r11-20h] ; +0xcf9, 0x1401c19e9 mov rsp, r11 ; +0xcfe, 0x1401c19ee pop r15 ; +0xd01, 0x1401c19f1 pop r14 ; +0xd03, 0x1401c19f3 pop r13 ; +0xd05, 0x1401c19f5 pop r12 ; +0xd07, 0x1401c19f7 pop rdi ; +0xd09, 0x1401c19f9 pop rsi ; +0xd0a, 0x1401c19fa pop rbp ; +0xd0b, 0x1401c19fb retn ; +0xd0c, 0x1401c19fc