; ; GJTransformControl::ccTouchBegan from 0x14012c4e0 to 0x14012c6a5 (453 bytes) ; ; 4 xrefs: ; > @ 0x140552c60 ; > @ 0x140670b6c ; > @ 0x140670b7c ; > @ 0x1406c9c00 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_10], rsi ; +0x0, 0x14012c4e0 push rdi ; +0x5, 0x14012c4e5 sub rsp, 50h ; +0x6, 0x14012c4e6 cmp dword ptr [rcx+70h], 0FFFFFFFFh ; +0xa, 0x14012c4ea mov rsi, rdx ; +0xe, 0x14012c4ee mov rdi, rcx ; +0x11, 0x14012c4f1 jnz loc_14012C698 ; +0x14, 0x14012c4f4 lea rdx, [rsp+58h+arg_0] ; +0x1a, 0x14012c4fa mov [rsp+58h+arg_8], rbx ; +0x1f, 0x14012c4ff mov rcx, rsi ; +0x24, 0x14012c504 call cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x27, 0x14012c507 mov rcx, [rdi+58h] ; +0x2d, 0x14012c50d lea r8, [rsp+58h+arg_0] ; +0x31, 0x14012c511 lea rdx, [rsp+58h+var_30] ; +0x36, 0x14012c516 call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x3b, 0x14012c51b lea rcx, [rdi-140h] ; +0x41, 0x14012c521 lea r8, [rsp+58h+arg_0] ; +0x48, 0x14012c528 lea rdx, [rsp+58h+var_28] ; +0x4d, 0x14012c52d call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x52, 0x14012c532 lea rcx, [rsp+58h+var_38] ; +0x58, 0x14012c538 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x5d, 0x14012c53d mov ebx, 1 ; +0x63, 0x14012c543 cmp ebx, 0Ch ; +0x68, 0x14012c548 jz short loc_14012C557 ; +0x6b, 0x14012c54b lea rdx, [rsp+58h+var_30] ; +0x6d, 0x14012c54d cmp ebx, 1 ; +0x72, 0x14012c552 jnz short loc_14012C55C ; +0x75, 0x14012c555 lea rdx, [rsp+58h+var_28] ; +0x77, 0x14012c557 lea rcx, [rsp+58h+arg_18] ; +0x7c, 0x14012c55c call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x81, 0x14012c561 mov rcx, [rdi+0B8h] ; +0x87, 0x14012c567 lea edx, [rbx-1] ; +0x8e, 0x14012c56e call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x91, 0x14012c571 mov rcx, rax ; +0x97, 0x14012c577 lea rdx, [rsp+58h+var_20] ; +0x9a, 0x14012c57a call cs:?boundingBox@CCNode@cocos2d@@QEAA?AVCCRect@2@XZ; cocos2d::CCNode::boundingBox(void) ; +0x9f, 0x14012c57f mov rcx, rax ; +0xa5, 0x14012c585 lea rdx, [rsp+58h+arg_18] ; +0xa8, 0x14012c588 call cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0xad, 0x14012c58d test al, al ; +0xb3, 0x14012c593 jnz short loc_14012C5A0 ; +0xb5, 0x14012c595 inc ebx ; +0xb7, 0x14012c597 cmp ebx, 0Dh ; +0xb9, 0x14012c599 jl short loc_14012C548 ; +0xbc, 0x14012c59c jmp short loc_14012C5B4 ; +0xbe, 0x14012c59e lea rdx, [rsp+58h+arg_18] ; +0xc0, 0x14012c5a0 mov [rdi+74h], bx ; +0xc5, 0x14012c5a5 lea rcx, [rsp+58h+var_38] ; +0xc9, 0x14012c5a9 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xce, 0x14012c5ae movsx ecx, word ptr [rdi+74h] ; +0xd4, 0x14012c5b4 mov rbx, [rsp+58h+arg_8] ; +0xd8, 0x14012c5b8 test cx, cx ; +0xdd, 0x14012c5bd jz loc_14012C698 ; +0xe0, 0x14012c5c0 mov eax, [rsi+38h] ; +0xe6, 0x14012c5c6 lea edx, [rcx-1] ; +0xe9, 0x14012c5c9 mov rcx, [rdi+0B8h] ; +0xec, 0x14012c5cc mov [rdi+70h], eax ; +0xf3, 0x14012c5d3 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xf6, 0x14012c5d6 mov rcx, rax ; +0xfc, 0x14012c5dc mov rdx, [rax] ; +0xff, 0x14012c5df call qword ptr [rdx+0C8h] ; +0x102, 0x14012c5e2 mov rcx, rax ; +0x108, 0x14012c5e8 lea r8, [rsp+58h+var_38] ; +0x10b, 0x14012c5eb lea rdx, [rsp+58h+arg_18] ; +0x110, 0x14012c5f0 call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x115, 0x14012c5f5 lea rcx, [rdi+80h] ; +0x11b, 0x14012c5fb lea rdx, [rsp+58h+arg_18] ; +0x122, 0x14012c602 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x127, 0x14012c607 mov rcx, [rdi+0B8h] ; +0x12d, 0x14012c60d mov edx, 6 ; +0x134, 0x14012c614 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x139, 0x14012c619 mov rcx, rax ; +0x13f, 0x14012c61f mov rdx, [rax] ; +0x142, 0x14012c622 call qword ptr [rdx+0C8h] ; +0x145, 0x14012c625 mov rdx, rax ; +0x14b, 0x14012c62b lea rcx, [rdi+98h] ; +0x14e, 0x14012c62e call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x155, 0x14012c635 mov rcx, [rdi+0B8h] ; +0x15b, 0x14012c63b mov edx, 7 ; +0x162, 0x14012c642 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x167, 0x14012c647 mov rcx, rax ; +0x16d, 0x14012c64d mov rdx, [rax] ; +0x170, 0x14012c650 call qword ptr [rdx+0C8h] ; +0x173, 0x14012c653 mov rdx, rax ; +0x179, 0x14012c659 lea rcx, [rdi+0A0h] ; +0x17c, 0x14012c65c call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x183, 0x14012c663 mov rcx, [rdi+78h] ; +0x189, 0x14012c669 test rcx, rcx ; +0x18d, 0x14012c66d jz short loc_14012C678 ; +0x190, 0x14012c670 mov rax, [rcx] ; +0x192, 0x14012c672 call qword ptr [rax+50h] ; +0x195, 0x14012c675 cmp word ptr [rdi+74h], 0Ch ; +0x198, 0x14012c678 jnz short loc_14012C68B ; +0x19d, 0x14012c67d mov eax, [rdi+0E0h] ; +0x19f, 0x14012c67f mov [rdi+0DCh], eax ; +0x1a5, 0x14012c685 mov al, 1 ; +0x1ab, 0x14012c68b mov rsi, [rsp+58h+arg_10] ; +0x1ad, 0x14012c68d add rsp, 50h ; +0x1b2, 0x14012c692 pop rdi ; +0x1b6, 0x14012c696 retn ; +0x1b7, 0x14012c697 mov rsi, [rsp+58h+arg_10] ; +0x1b8, 0x14012c698 xor al, al ; +0x1bd, 0x14012c69d add rsp, 50h ; +0x1bf, 0x14012c69f pop rdi ; +0x1c3, 0x14012c6a3 retn ; +0x1c4, 0x14012c6a4